handsontable 17.0.0-rc13 → 17.0.0-rc15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/CHANGELOG.md +10 -9
  2. package/base.js +2 -2
  3. package/base.mjs +2 -2
  4. package/core.js +1 -1
  5. package/core.mjs +1 -1
  6. package/dist/handsontable.full.js +7 -7
  7. package/dist/handsontable.full.min.js +5 -5
  8. package/dist/handsontable.js +7 -7
  9. package/dist/handsontable.min.js +5 -5
  10. package/dist/themes/classic.js +2 -2
  11. package/dist/themes/classic.min.js +2 -2
  12. package/dist/themes/horizon.js +2 -2
  13. package/dist/themes/horizon.min.js +2 -2
  14. package/dist/themes/main.js +2 -2
  15. package/dist/themes/main.min.js +2 -2
  16. package/dist/themes/static/variables/colors/ant.js +2 -2
  17. package/dist/themes/static/variables/colors/ant.min.js +2 -2
  18. package/dist/themes/static/variables/colors/classic.js +2 -2
  19. package/dist/themes/static/variables/colors/classic.min.js +2 -2
  20. package/dist/themes/static/variables/colors/horizon.js +2 -2
  21. package/dist/themes/static/variables/colors/horizon.min.js +2 -2
  22. package/dist/themes/static/variables/colors/main.js +2 -2
  23. package/dist/themes/static/variables/colors/main.min.js +2 -2
  24. package/dist/themes/static/variables/colors/material.js +2 -2
  25. package/dist/themes/static/variables/colors/material.min.js +2 -2
  26. package/dist/themes/static/variables/colors/shadcn.js +2 -2
  27. package/dist/themes/static/variables/colors/shadcn.min.js +2 -2
  28. package/dist/themes/static/variables/density.js +2 -2
  29. package/dist/themes/static/variables/density.min.js +2 -2
  30. package/dist/themes/static/variables/helpers/iconsMap.js +2 -2
  31. package/dist/themes/static/variables/helpers/iconsMap.min.js +2 -2
  32. package/dist/themes/static/variables/icons/horizon.js +2 -2
  33. package/dist/themes/static/variables/icons/horizon.min.js +2 -2
  34. package/dist/themes/static/variables/icons/main.js +2 -2
  35. package/dist/themes/static/variables/icons/main.min.js +2 -2
  36. package/dist/themes/static/variables/sizing.js +2 -2
  37. package/dist/themes/static/variables/sizing.min.js +2 -2
  38. package/dist/themes/static/variables/tokens/classic.js +2 -2
  39. package/dist/themes/static/variables/tokens/classic.min.js +2 -2
  40. package/dist/themes/static/variables/tokens/horizon.js +2 -2
  41. package/dist/themes/static/variables/tokens/horizon.min.js +2 -2
  42. package/dist/themes/static/variables/tokens/main.js +2 -2
  43. package/dist/themes/static/variables/tokens/main.min.js +2 -2
  44. package/helpers/mixed.js +1 -1
  45. package/helpers/mixed.mjs +1 -1
  46. package/package.json +1 -1
  47. package/styles/handsontable.css +2 -2
  48. package/styles/handsontable.min.css +2 -2
  49. package/styles/handsontableStyles.js +1 -1
  50. package/styles/handsontableStyles.mjs +1 -1
  51. package/styles/ht-icons-horizon.min.css +2 -2
  52. package/styles/ht-icons-main.min.css +2 -2
  53. package/styles/ht-theme-classic-no-icons.min.css +2 -2
  54. package/styles/ht-theme-classic.min.css +2 -2
  55. package/styles/ht-theme-horizon-no-icons.min.css +2 -2
  56. package/styles/ht-theme-horizon.min.css +2 -2
  57. package/styles/ht-theme-main-no-icons.min.css +2 -2
  58. package/styles/ht-theme-main.min.css +2 -2
@@ -25,18 +25,18 @@
25
25
  * INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM
26
26
  * USE OR INABILITY TO USE THIS SOFTWARE.
27
27
  *
28
- * Version: 17.0.0-rc13
29
- * Release date: 04/03/2026 (built at 04/03/2026 12:06:21)
28
+ * Version: 17.0.0-rc15
29
+ * Release date: 05/03/2026 (built at 05/03/2026 11:36:23)
30
30
  */
31
31
  !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("dompurify"),require("@handsontable/pikaday"),require("moment"),require("numbro")):"function"==typeof define&&define.amd?define("Handsontable",["dompurify","@handsontable/pikaday","moment","numbro"],t):"object"==typeof exports?exports.Handsontable=t(require("dompurify"),require("@handsontable/pikaday"),require("moment"),require("numbro")):e.Handsontable=t(e.DOMPurify,e.Pikaday,e.moment,e.numbro)}(Object("undefined"!=typeof self?self:this),(e,t,o,r)=>(()=>{var n={36624(e,t){"use strict";t.__esModule=!0,t.parse=function(e){const t=[[""]];if(0===e.length)return t;let i,s=0,a=0;for(;e.length>0&&i!==e.length;)if(i=e.length,e.match(n))e=e.replace(n,""),s+=1,t[a][s]="";else if(e.match(o))e=e.replace(o,""),s=0,a+=1,t[a]=[""];else{let o="";if(e.startsWith('"')){let t=0,r=!0;for(;r;){const n=e.slice(0,1);'"'===n&&(t+=1),o+=n,(0===(e=e.slice(1)).length||e.match(/^[\t\r\n]/)&&t%2==0)&&(r=!1)}o=o.replace(/^"/,"").replace(/"$/,"").replace(/["]*/g,e=>new Array(Math.floor(e.length/2)).fill('"').join(""))}else{const t=e.match(r);o=t?t[0]:"",e=e.slice(o.length)}t[a][s]=o}return t},t.stringify=function(e){let t,o,r,n,i,s="";for(t=0,o=e.length;t<o;t+=1){for(n=e[t].length,r=0;r<n;r+=1)r>0&&(s+="\t"),i=e[t][r],"string"==typeof i?i.indexOf("\n")>-1?s+=`"${i.replace(/"/g,'""')}"`:s+=i:s+=null==i?"":i;t!==o-1&&(s+="\n")}return s};const o=/^(\r\n|\n\r|\r|\n)/,r=/^[^\t\r\n]+/,n=/^\t/},5969(e,t,o){"use strict";t.__esModule=!0;var r=o(36624);t.parse=r.parse,t.stringify=r.stringify},56073(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.FullyVisibleColumnsCalculationType=class{constructor(){(0,n.default)(this,"count",0),(0,n.default)(this,"startColumn",null),(0,n.default)(this,"endColumn",null),(0,n.default)(this,"startPosition",null),(0,n.default)(this,"isVisibleInTrimmingContainer",!1)}initialize(){}process(e,t){const{totalCalculatedWidth:o,zeroBasedScrollOffset:r,viewportWidth:n,columnWidth:i}=t;o>=r&&o+i<=r+(r>0?n+1:n)&&(null!==this.startColumn&&void 0!==this.startColumn||(this.startColumn=e),this.endColumn=e)}finalize(e){var t;const{scrollOffset:o,viewportWidth:r,inlineStartOffset:n,zeroBasedScrollOffset:i,totalColumns:s,needReverse:a,startPositions:l,columnWidth:h}=e;if(this.endColumn===s-1&&a)for(this.startColumn=this.endColumn;this.startColumn>0;){const e=l[this.endColumn]+h-l[this.startColumn-1];if(e<=r&&(this.startColumn-=1),e>=r)break}this.startPosition=null!==(t=l[this.startColumn])&&void 0!==t?t:null;const d=o+r-(i>0?r+1:r),c=null===this.startColumn?0:e.getColumnWidth(this.startColumn);d<-1*n||o>l.at(-1)||-1*o-r>-1*c?this.isVisibleInTrimmingContainer=!1:this.isVisibleInTrimmingContainer=!0,s<this.endColumn&&(this.endColumn=s-1),null!==this.startColumn&&(this.count=this.endColumn-this.startColumn+1)}}},61769(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.FullyVisibleRowsCalculationType=class{constructor(){(0,n.default)(this,"count",0),(0,n.default)(this,"startRow",null),(0,n.default)(this,"endRow",null),(0,n.default)(this,"startPosition",null),(0,n.default)(this,"isVisibleInTrimmingContainer",!1)}initialize(){}process(e,t){const{totalCalculatedHeight:o,zeroBasedScrollOffset:r,innerViewportHeight:n,rowHeight:i}=t;o>=r&&o+i<=n&&(null===this.startRow&&(this.startRow=e),this.endRow=e)}finalize(e){var t;const{scrollOffset:o,viewportHeight:r,horizontalScrollbarHeight:n,totalRows:i,needReverse:s,startPositions:a,rowHeight:l}=e;if(this.endRow===i-1&&s)for(this.startRow=this.endRow;this.startRow>0;){const e=a[this.endRow]+l-a[this.startRow-1];if(e<=r-n&&(this.startRow-=1),e>=r-n)break}this.startPosition=null!==(t=a[this.startRow])&&void 0!==t?t:null;o+r-n<(null===this.startRow?0:e.getRowHeight(this.startRow))||o>a.at(-1)?this.isVisibleInTrimmingContainer=!1:this.isVisibleInTrimmingContainer=!0,i<this.endRow&&(this.endRow=i-1),null!==this.startRow&&(this.count=this.endRow-this.startRow+1)}}},93955(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.PartiallyVisibleColumnsCalculationType=class{constructor(){(0,n.default)(this,"count",0),(0,n.default)(this,"startColumn",null),(0,n.default)(this,"endColumn",null),(0,n.default)(this,"startPosition",null),(0,n.default)(this,"isVisibleInTrimmingContainer",!1)}initialize(){}process(e,t){const{totalCalculatedWidth:o,zeroBasedScrollOffset:r,viewportWidth:n}=t;o<=r&&(this.startColumn=e);o>=r&&o<=r+(r>0?n+1:n)&&(null!==this.startColumn&&void 0!==this.startColumn||(this.startColumn=e)),this.endColumn=e}finalize(e){var t;const{scrollOffset:o,viewportWidth:r,inlineStartOffset:n,zeroBasedScrollOffset:i,totalColumns:s,needReverse:a,startPositions:l,columnWidth:h}=e;if(this.endColumn===s-1&&a)for(this.startColumn=this.endColumn;this.startColumn>0;){const e=l[this.endColumn]+h-l[this.startColumn-1];if(this.startColumn-=1,e>r)break}this.startPosition=null!==(t=l[this.startColumn])&&void 0!==t?t:null;o+r-(i>0?r+1:r)<-1*n||o>l.at(-1)+h||-1*o-r>0?this.isVisibleInTrimmingContainer=!1:this.isVisibleInTrimmingContainer=!0,s<this.endColumn&&(this.endColumn=s-1),null!==this.startColumn&&(this.count=this.endColumn-this.startColumn+1)}}},90679(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.PartiallyVisibleRowsCalculationType=class{constructor(){(0,n.default)(this,"count",0),(0,n.default)(this,"startRow",null),(0,n.default)(this,"endRow",null),(0,n.default)(this,"startPosition",null),(0,n.default)(this,"isVisibleInTrimmingContainer",!1)}initialize(){}process(e,t){const{totalCalculatedHeight:o,zeroBasedScrollOffset:r,innerViewportHeight:n}=t;o<=r&&(this.startRow=e),o>=r&&o<=n&&null===this.startRow&&(this.startRow=e),this.endRow=e}finalize(e){var t;const{scrollOffset:o,viewportHeight:r,horizontalScrollbarHeight:n,totalRows:i,needReverse:s,startPositions:a,rowHeight:l}=e;if(this.endRow===i-1&&s)for(this.startRow=this.endRow;this.startRow>0;){const e=a[this.endRow]+l-a[this.startRow-1];if(this.startRow-=1,e>=r-n)break}this.startPosition=null!==(t=a[this.startRow])&&void 0!==t?t:null;o+r-n<0||o>a.at(-1)+l?this.isVisibleInTrimmingContainer=!1:this.isVisibleInTrimmingContainer=!0,i<this.endRow&&(this.endRow=i-1),null!==this.startRow&&(this.count=this.endRow-this.startRow+1)}}},24077(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.RenderedAllColumnsCalculationType=class{constructor(){(0,n.default)(this,"count",0),(0,n.default)(this,"startColumn",0),(0,n.default)(this,"endColumn",0),(0,n.default)(this,"startPosition",0),(0,n.default)(this,"isVisibleInTrimmingContainer",!0)}initialize(e){let{totalColumns:t}=e;this.count=t,this.endColumn=this.count-1}process(){}finalize(){}}},41613(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.RenderedAllRowsCalculationType=class{constructor(){(0,n.default)(this,"count",0),(0,n.default)(this,"startRow",0),(0,n.default)(this,"endRow",0),(0,n.default)(this,"startPosition",0),(0,n.default)(this,"isVisibleInTrimmingContainer",!0)}initialize(e){let{totalRows:t}=e;this.count=t,this.endRow=this.count-1}process(){}finalize(){}}},99172(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(93955);class s extends i.PartiallyVisibleColumnsCalculationType{constructor(){super(...arguments),(0,n.default)(this,"columnStartOffset",0),(0,n.default)(this,"columnEndOffset",0)}finalize(e){var t;super.finalize(e);const{overrideFn:o,totalColumns:r,startPositions:n}=e;if(null!==this.startColumn&&"function"==typeof o){const e=this.startColumn,t=this.endColumn;o(this),this.columnStartOffset=e-this.startColumn,this.columnEndOffset=this.endColumn-t}this.startColumn<0&&(this.startColumn=0),this.startPosition=null!==(t=n[this.startColumn])&&void 0!==t?t:null,r<this.endColumn&&(this.endColumn=r-1),null!==this.startColumn&&(this.count=this.endColumn-this.startColumn+1)}}t.RenderedColumnsCalculationType=s},93002(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(90679);class s extends i.PartiallyVisibleRowsCalculationType{constructor(){super(...arguments),(0,n.default)(this,"rowStartOffset",0),(0,n.default)(this,"rowEndOffset",0)}finalize(e){var t;super.finalize(e);const{overrideFn:o,totalRows:r,startPositions:n}=e;if(null!==this.startRow&&"function"==typeof o){const e=this.startRow,t=this.endRow;o(this),this.rowStartOffset=e-this.startRow,this.rowEndOffset=this.endRow-t}this.startRow<0&&(this.startRow=0),this.startPosition=null!==(t=n[this.startRow])&&void 0!==t?t:null,r<this.endRow&&(this.endRow=r-1),null!==this.startRow&&(this.count=this.endRow-this.startRow+1)}}t.RenderedRowsCalculationType=s},1722(e,t,o){"use strict";t.__esModule=!0;var r=o(56073);t.FullyVisibleColumnsCalculationType=r.FullyVisibleColumnsCalculationType;var n=o(61769);t.FullyVisibleRowsCalculationType=n.FullyVisibleRowsCalculationType;var i=o(93955);t.PartiallyVisibleColumnsCalculationType=i.PartiallyVisibleColumnsCalculationType;var s=o(90679);t.PartiallyVisibleRowsCalculationType=s.PartiallyVisibleRowsCalculationType;var a=o(24077);t.RenderedAllColumnsCalculationType=a.RenderedAllColumnsCalculationType;var l=o(41613);t.RenderedAllRowsCalculationType=l.RenderedAllRowsCalculationType;var h=o(99172);t.RenderedColumnsCalculationType=h.RenderedColumnsCalculationType;var d=o(93002);t.RenderedRowsCalculationType=d.RenderedRowsCalculationType;var c=o(12135);t.ViewportColumnsCalculator=c.ViewportColumnsCalculator,t.DEFAULT_COLUMN_WIDTH=c.DEFAULT_WIDTH;var u=o(42027);t.ViewportRowsCalculator=u.ViewportRowsCalculator},37979(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.ViewportBaseCalculator=class{constructor(e){(0,n.default)(this,"calculationTypes",[]),(0,n.default)(this,"calculationResults",new Map),this.calculationTypes=e}_initialize(e){this.calculationTypes.forEach(t=>{let[o,r]=t;this.calculationResults.set(o,r),r.initialize(e)})}_process(e,t){this.calculationTypes.forEach(o=>{let[,r]=o;return r.process(e,t)})}_finalize(e){this.calculationTypes.forEach(t=>{let[,o]=t;return o.finalize(e)})}getResultsFor(e){return this.calculationResults.get(e)}}},12135(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(37979);const s=t.DEFAULT_WIDTH=50;class a extends i.ViewportBaseCalculator{constructor(e){let{calculationTypes:t,viewportWidth:o,scrollOffset:r,totalColumns:i,columnWidthFn:s,overrideFn:a,inlineStartOffset:l}=e;super(t),(0,n.default)(this,"viewportWidth",0),(0,n.default)(this,"scrollOffset",0),(0,n.default)(this,"zeroBasedScrollOffset",0),(0,n.default)(this,"totalColumns",0),(0,n.default)(this,"columnWidthFn",null),(0,n.default)(this,"columnWidth",0),(0,n.default)(this,"overrideFn",null),(0,n.default)(this,"inlineStartOffset",0),(0,n.default)(this,"totalCalculatedWidth",0),(0,n.default)(this,"startPositions",[]),(0,n.default)(this,"needReverse",!0),this.viewportWidth=o,this.scrollOffset=r,this.zeroBasedScrollOffset=Math.max(r,0),this.totalColumns=i,this.columnWidthFn=s,this.overrideFn=a,this.inlineStartOffset=l,this.calculate()}calculate(){this._initialize(this);for(let e=0;e<this.totalColumns;e++)if(this.columnWidth=this.getColumnWidth(e),this._process(e,this),this.startPositions.push(this.totalCalculatedWidth),this.totalCalculatedWidth+=this.columnWidth,this.totalCalculatedWidth>=this.zeroBasedScrollOffset+this.viewportWidth){this.needReverse=!1;break}this._finalize(this)}getColumnWidth(e){const t=this.columnWidthFn(e);return isNaN(t)?s:t}}t.ViewportColumnsCalculator=a},42027(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(37979);class s extends i.ViewportBaseCalculator{constructor(e){let{calculationTypes:t,viewportHeight:o,scrollOffset:r,totalRows:i,defaultRowHeight:s,rowHeightFn:a,overrideFn:l,horizontalScrollbarHeight:h}=e;super(t),(0,n.default)(this,"viewportHeight",0),(0,n.default)(this,"scrollOffset",0),(0,n.default)(this,"zeroBasedScrollOffset",0),(0,n.default)(this,"totalRows",0),(0,n.default)(this,"rowHeightFn",null),(0,n.default)(this,"rowHeight",0),(0,n.default)(this,"overrideFn",null),(0,n.default)(this,"horizontalScrollbarHeight",0),(0,n.default)(this,"innerViewportHeight",0),(0,n.default)(this,"totalCalculatedHeight",0),(0,n.default)(this,"startPositions",[]),(0,n.default)(this,"needReverse",!0),this.defaultHeight=s,this.viewportHeight=o,this.scrollOffset=r,this.zeroBasedScrollOffset=Math.max(r,0),this.totalRows=i,this.rowHeightFn=a,this.overrideFn=l,this.horizontalScrollbarHeight=null!=h?h:0,this.innerViewportHeight=this.zeroBasedScrollOffset+this.viewportHeight-this.horizontalScrollbarHeight,this.calculate()}calculate(){this._initialize(this);for(let e=0;e<this.totalRows;e++)if(this.rowHeight=this.getRowHeight(e),this._process(e,this),this.startPositions.push(this.totalCalculatedHeight),this.totalCalculatedHeight+=this.rowHeight,this.totalCalculatedHeight>=this.innerViewportHeight){this.needReverse=!1;break}this._finalize(this)}getRowHeight(e){const t=this.rowHeightFn(e);return isNaN(t)?this.defaultHeight:t}}t.ViewportRowsCalculator=s},14274(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));function i(e,t,o){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,o)}function s(e,t){return e.get(l(e,t))}function a(e,t,o){return e.set(l(e,t),o),o}function l(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var h=new WeakMap;class d{constructor(e,t){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(0,n.default)(this,"row",null),(0,n.default)(this,"col",null),i(this,h,!1),a(h,this,o),void 0!==e&&void 0!==t&&(this.row=e,this.col=t)}isValid(e){const{countRows:t,countCols:o,countRowHeaders:r,countColHeaders:n}={countRows:0,countCols:0,countRowHeaders:0,countColHeaders:0,...e};return!(!Number.isInteger(this.row)||!Number.isInteger(this.col))&&(!(this.row<-n||this.col<-r)&&!(this.row>=t||this.col>=o))}isEqual(e){return e===this||this.row===e.row&&this.col===e.col}isHeader(){return!this.isCell()}isCell(){return this.row>=0&&this.col>=0}isRtl(){return s(h,this)}isSouthEastOf(e){return this.row>=e.row&&(s(h,this)?this.col<=e.col:this.col>=e.col)}isNorthWestOf(e){return this.row<=e.row&&(s(h,this)?this.col>=e.col:this.col<=e.col)}isSouthWestOf(e){return this.row>=e.row&&(s(h,this)?this.col>=e.col:this.col<=e.col)}isNorthEastOf(e){return this.row<=e.row&&(s(h,this)?this.col<=e.col:this.col>=e.col)}normalize(){return this.row=null===this.row?this.row:Math.max(this.row,0),this.col=null===this.col?this.col:Math.max(this.col,0),this}assign(e){return Number.isInteger(null==e?void 0:e.row)&&(this.row=e.row),Number.isInteger(null==e?void 0:e.col)&&(this.col=e.col),e instanceof d&&a(h,this,e.isRtl()),this}clone(){return new d(this.row,this.col,s(h,this))}toObject(){return{row:this.row,col:this.col}}}t.default=d},35783(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=r(o(14274));function s(e,t,o){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,o)}function a(e,t){return e.get(l(e,t))}function l(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var h=new WeakMap;class d{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];var i,a,d;(0,n.default)(this,"highlight",null),(0,n.default)(this,"from",null),(0,n.default)(this,"to",null),s(this,h,!1),this.highlight=e.clone(),this.from=t.clone(),this.to=o.clone(),a=this,d=r,(i=h).set(l(i,a),d)}setHighlight(e){return this.highlight=e.clone(),this}setFrom(e){return this.from=e.clone(),this}setTo(e){return this.to=e.clone(),this}normalize(){return this.highlight.normalize(),this.from.normalize(),this.to.normalize(),this}isValid(e){return this.from.isValid(e)&&this.to.isValid(e)}isSingle(){return this.isSingleCell()||this.isSingleHeader()}isSingleCell(){return this.from.row>=0&&this.from.row===this.to.row&&this.from.col>=0&&this.from.col===this.to.col}isSingleHeader(){return(this.from.row<0||this.from.col<0)&&this.from.row===this.to.row&&this.from.col===this.to.col}isHeader(){return!(!this.from.isHeader()||!this.to.isHeader())||(this.from.col<0&&this.to.col<0||this.from.row<0&&this.to.row<0)}containsHeaders(){return this.from.isHeader()||this.to.isHeader()}getOuterHeight(){return Math.max(this.from.row,this.to.row)-Math.min(this.from.row,this.to.row)+1}getOuterWidth(){return Math.max(this.from.col,this.to.col)-Math.min(this.from.col,this.to.col)+1}getHeight(){if(this.from.row<0&&this.to.row<0)return 0;const e=Math.max(this.from.row,0),t=Math.max(this.to.row,0);return Math.max(e,t)-Math.min(e,t)+1}getWidth(){if(this.from.col<0&&this.to.col<0)return 0;const e=Math.max(this.from.col,0),t=Math.max(this.to.col,0);return Math.max(e,t)-Math.min(e,t)+1}getCellsCount(){return this.getWidth()*this.getHeight()}includes(e){const{row:t,col:o}=e,r=this.getOuterTopStartCorner(),n=this.getOuterBottomEndCorner();return r.row<=t&&n.row>=t&&r.col<=o&&n.col>=o}includesRange(e){return this.includes(e.getOuterTopStartCorner())&&this.includes(e.getOuterBottomEndCorner())}isEqual(e){return Math.min(this.from.row,this.to.row)===Math.min(e.from.row,e.to.row)&&Math.max(this.from.row,this.to.row)===Math.max(e.from.row,e.to.row)&&Math.min(this.from.col,this.to.col)===Math.min(e.from.col,e.to.col)&&Math.max(this.from.col,this.to.col)===Math.max(e.from.col,e.to.col)}overlaps(e){return e.isSouthEastOf(this.getOuterTopLeftCorner())&&e.isNorthWestOf(this.getOuterBottomRightCorner())}isSouthEastOf(e){return this.getOuterTopLeftCorner().isSouthEastOf(e)||this.getOuterBottomRightCorner().isSouthEastOf(e)}isNorthWestOf(e){return this.getOuterTopLeftCorner().isNorthWestOf(e)||this.getOuterBottomRightCorner().isNorthWestOf(e)}isOverlappingHorizontally(e){return this.getOuterTopEndCorner().col>=e.getOuterTopStartCorner().col&&this.getOuterTopEndCorner().col<=e.getOuterTopEndCorner().col||this.getOuterTopStartCorner().col<=e.getOuterTopEndCorner().col&&this.getOuterTopStartCorner().col>=e.getOuterTopStartCorner().col}isOverlappingVertically(e){return this.getOuterBottomStartCorner().row>=e.getOuterTopRightCorner().row&&this.getOuterBottomStartCorner().row<=e.getOuterBottomStartCorner().row||this.getOuterTopEndCorner().row<=e.getOuterBottomStartCorner().row&&this.getOuterTopEndCorner().row>=e.getOuterTopRightCorner().row}expand(e){const t=this.getOuterTopStartCorner(),o=this.getOuterBottomEndCorner();return(e.row<t.row||e.col<t.col||e.row>o.row||e.col>o.col)&&(this.from=this._createCellCoords(Math.min(t.row,e.row),Math.min(t.col,e.col)),this.to=this._createCellCoords(Math.max(o.row,e.row),Math.max(o.col,e.col)),!0)}expandByRange(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.includesRange(e)||!this.overlaps(e))return!1;const o=this.getOuterTopStartCorner(),r=this.getOuterBottomEndCorner(),n=this.getDirection(),i=e.getOuterTopStartCorner(),s=e.getOuterBottomEndCorner(),a=Math.min(o.row,i.row),l=Math.min(o.col,i.col),h=Math.max(r.row,s.row),d=Math.max(r.col,s.col),c=this._createCellCoords(a,l),u=this._createCellCoords(h,d);return this.from=c,this.to=u,this.setDirection(n),t&&(this.highlight.row===this.getOuterBottomRightCorner().row&&"N-S"===this.getVerticalDirection()&&this.flipDirectionVertically(),this.highlight.col===this.getOuterTopRightCorner().col&&"W-E"===this.getHorizontalDirection()&&this.flipDirectionHorizontally()),!0}getDirection(){return this.from.isNorthWestOf(this.to)?"NW-SE":this.from.isNorthEastOf(this.to)?"NE-SW":this.from.isSouthEastOf(this.to)?"SE-NW":this.from.isSouthWestOf(this.to)?"SW-NE":void 0}setDirection(e){switch(e){case"NW-SE":[this.from,this.to]=[this.getOuterTopLeftCorner(),this.getOuterBottomRightCorner()];break;case"NE-SW":[this.from,this.to]=[this.getOuterTopRightCorner(),this.getOuterBottomLeftCorner()];break;case"SE-NW":[this.from,this.to]=[this.getOuterBottomRightCorner(),this.getOuterTopLeftCorner()];break;case"SW-NE":[this.from,this.to]=[this.getOuterBottomLeftCorner(),this.getOuterTopRightCorner()]}}getVerticalDirection(){return["NE-SW","NW-SE"].indexOf(this.getDirection())>-1?"N-S":"S-N"}getHorizontalDirection(){return["NW-SE","SW-NE"].indexOf(this.getDirection())>-1?"W-E":"E-W"}flipDirectionVertically(){switch(this.getDirection()){case"NW-SE":this.setDirection("SW-NE");break;case"NE-SW":this.setDirection("SE-NW");break;case"SE-NW":this.setDirection("NE-SW");break;case"SW-NE":this.setDirection("NW-SE")}}flipDirectionHorizontally(){switch(this.getDirection()){case"NW-SE":this.setDirection("NE-SW");break;case"NE-SW":this.setDirection("NW-SE");break;case"SE-NW":this.setDirection("SW-NE");break;case"SW-NE":this.setDirection("SE-NW")}}getTopStartCorner(){return this._createCellCoords(Math.min(this.from.row,this.to.row),Math.min(this.from.col,this.to.col)).normalize()}getTopLeftCorner(){return a(h,this)?this.getTopEndCorner():this.getTopStartCorner()}getBottomEndCorner(){return this._createCellCoords(Math.max(this.from.row,this.to.row),Math.max(this.from.col,this.to.col)).normalize()}getBottomRightCorner(){return a(h,this)?this.getBottomStartCorner():this.getBottomEndCorner()}getTopEndCorner(){return this._createCellCoords(Math.min(this.from.row,this.to.row),Math.max(this.from.col,this.to.col)).normalize()}getTopRightCorner(){return a(h,this)?this.getTopStartCorner():this.getTopEndCorner()}getBottomStartCorner(){return this._createCellCoords(Math.max(this.from.row,this.to.row),Math.min(this.from.col,this.to.col)).normalize()}getBottomLeftCorner(){return a(h,this)?this.getBottomEndCorner():this.getBottomStartCorner()}getOuterTopStartCorner(){return this._createCellCoords(Math.min(this.from.row,this.to.row),Math.min(this.from.col,this.to.col))}getOuterTopLeftCorner(){return a(h,this)?this.getOuterTopEndCorner():this.getOuterTopStartCorner()}getOuterBottomEndCorner(){return this._createCellCoords(Math.max(this.from.row,this.to.row),Math.max(this.from.col,this.to.col))}getOuterBottomRightCorner(){return a(h,this)?this.getOuterBottomStartCorner():this.getOuterBottomEndCorner()}getOuterTopEndCorner(){return this._createCellCoords(Math.min(this.from.row,this.to.row),Math.max(this.from.col,this.to.col))}getOuterTopRightCorner(){return a(h,this)?this.getOuterTopStartCorner():this.getOuterTopEndCorner()}getOuterBottomStartCorner(){return this._createCellCoords(Math.max(this.from.row,this.to.row),Math.min(this.from.col,this.to.col))}getOuterBottomLeftCorner(){return a(h,this)?this.getOuterBottomEndCorner():this.getOuterBottomStartCorner()}isCorner(e){return e.isEqual(this.getOuterTopLeftCorner())||e.isEqual(this.getOuterTopRightCorner())||e.isEqual(this.getOuterBottomLeftCorner())||e.isEqual(this.getOuterBottomRightCorner())}getOppositeCorner(e){return e instanceof i.default&&(e.isEqual(this.getOuterBottomEndCorner())?this.getOuterTopStartCorner():e.isEqual(this.getOuterTopStartCorner())?this.getOuterBottomEndCorner():e.isEqual(this.getOuterTopEndCorner())?this.getOuterBottomStartCorner():e.isEqual(this.getOuterBottomStartCorner())?this.getOuterTopEndCorner():void 0)}getBordersSharedWith(e){if(!this.includesRange(e))return[];const t=Math.min(this.from.row,this.to.row),o=Math.max(this.from.row,this.to.row),r=Math.min(this.from.col,this.to.col),n=Math.max(this.from.col,this.to.col),i=Math.min(e.from.row,e.to.row),s=Math.max(e.from.row,e.to.row),l=Math.min(e.from.col,e.to.col),d=Math.max(e.from.col,e.to.col),c=[];return t===i&&c.push("top"),n===d&&c.push(a(h,this)?"left":"right"),o===s&&c.push("bottom"),r===l&&c.push(a(h,this)?"right":"left"),c}getInner(){const e=this.getOuterTopStartCorner(),t=this.getOuterBottomEndCorner(),o=[];for(let r=e.row;r<=t.row;r++)for(let n=e.col;n<=t.col;n++)this.from.row===r&&this.from.col===n||this.to.row===r&&this.to.col===n||o.push(this._createCellCoords(r,n));return o}getAll(){const e=this.getOuterTopStartCorner(),t=this.getOuterBottomEndCorner(),o=[];for(let r=e.row;r<=t.row;r++)for(let n=e.col;n<=t.col;n++)e.row===r&&e.col===n?o.push(e):t.row===r&&t.col===n?o.push(t):o.push(this._createCellCoords(r,n));return o}forAll(e){const t=this.getOuterTopStartCorner(),o=this.getOuterBottomEndCorner();for(let r=t.row;r<=o.row;r++)for(let n=t.col;n<=o.col;n++){if(!1===e(r,n))return}}clone(){return new d(this.highlight,this.from,this.to,a(h,this))}toObject(){return{from:this.from.toObject(),to:this.to.toObject()}}_createCellCoords(e,t){return new i.default(e,t,a(h,this))}}t.default=d},95821(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(23876),s=o(23862),a=r(o(34354)),l=r(o(34660)),h=r(o(14274)),d=r(o(35783));t.default=class{get eventManager(){return new a.default(this)}constructor(e,t){(0,n.default)(this,"wtTable",void 0),(0,n.default)(this,"wtScroll",void 0),(0,n.default)(this,"wtViewport",void 0),(0,n.default)(this,"wtOverlays",void 0),(0,n.default)(this,"selectionManager",void 0),(0,n.default)(this,"wtEvent",void 0),(0,n.default)(this,"guid",`wt_${(0,s.randomString)()}`),(0,n.default)(this,"drawInterrupted",!1),(0,n.default)(this,"drawn",!1),(0,n.default)(this,"activeOverlayName","master"),(0,n.default)(this,"domBindings",void 0),(0,n.default)(this,"wtSettings",void 0),this.domBindings={rootTable:e,rootDocument:e.ownerDocument,rootWindow:e.ownerDocument.defaultView},this.wtSettings=t,this.wtScroll=new l.default(this.createScrollDao())}findOriginalHeaders(){const e=[];if(this.wtTable.THEAD.childNodes.length&&this.wtTable.THEAD.childNodes[0].childNodes.length){for(let t=0,o=this.wtTable.THEAD.childNodes[0].childNodes.length;t<o;t++)e.push(this.wtTable.THEAD.childNodes[0].childNodes[t].innerHTML);this.wtSettings.getSetting("columnHeaders").length||this.wtSettings.update("columnHeaders",[function(t,o){(0,i.fastInnerText)(o,e[t])}])}}createCellCoords(e,t){return new h.default(e,t,this.wtSettings.getSetting("rtlMode"))}createCellRange(e,t,o){return new d.default(e,t,o,this.wtSettings.getSetting("rtlMode"))}draw(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.drawInterrupted=!1,!this.wtTable.isVisible()||(0,i.hasZeroHeight)(this.wtTable.wtRootElement.parentNode)?this.drawInterrupted=!0:this.wtTable.draw(e),this}getCell(e){if(!(arguments.length>1&&void 0!==arguments[1]&&arguments[1]))return this.wtTable.getCell(e);const t=this.wtSettings.getSetting("totalRows"),o=this.wtSettings.getSetting("fixedRowsTop"),r=this.wtSettings.getSetting("fixedRowsBottom"),n=this.wtSettings.getSetting("fixedColumnsStart");if(e.row<o&&e.col<n)return this.wtOverlays.topInlineStartCornerOverlay.clone.wtTable.getCell(e);if(e.row<o)return this.wtOverlays.topOverlay.clone.wtTable.getCell(e);if(e.col<n&&e.row>=t-r){if(this.wtOverlays.bottomInlineStartCornerOverlay&&this.wtOverlays.bottomInlineStartCornerOverlay.clone)return this.wtOverlays.bottomInlineStartCornerOverlay.clone.wtTable.getCell(e)}else{if(e.col<n)return this.wtOverlays.inlineStartOverlay.clone.wtTable.getCell(e);if(e.row<t&&e.row>=t-r&&this.wtOverlays.bottomOverlay&&this.wtOverlays.bottomOverlay.clone)return this.wtOverlays.bottomOverlay.clone.wtTable.getCell(e)}return this.wtTable.getCell(e)}scrollViewport(e,t,o){return this.wtScroll.scrollViewport(e,t,o)}scrollViewportHorizontally(e,t){return this.wtScroll.scrollViewportHorizontally(e,t)}scrollViewportVertically(e,t){return this.wtScroll.scrollViewportVertically(e,t)}getViewport(){return[this.wtTable.getFirstVisibleRow(),this.wtTable.getFirstVisibleColumn(),this.wtTable.getLastVisibleRow(),this.wtTable.getLastVisibleColumn()]}destroy(){this.wtOverlays.destroy(),this.wtEvent.destroy()}createScrollDao(){const e=this;return{get drawn(){return e.drawn},get topOverlay(){return e.wtOverlays.topOverlay},get inlineStartOverlay(){return e.wtOverlays.inlineStartOverlay},get wtTable(){return e.wtTable},get wtViewport(){return e.wtViewport},get wtSettings(){return e.wtSettings},get rootWindow(){return e.domBindings.rootWindow},get totalRows(){return e.wtSettings.getSetting("totalRows")},get totalColumns(){return e.wtSettings.getSetting("totalColumns")},get fixedRowsTop(){return e.wtSettings.getSetting("fixedRowsTop")},get fixedRowsBottom(){return e.wtSettings.getSetting("fixedRowsBottom")},get fixedColumnsStart(){return e.wtSettings.getSetting("fixedColumnsStart")}}}getTableDao(){const e=this;return{get wot(){return e},get parentTableOffset(){return e.cloneSource.wtTable.tableOffset},get cloneSource(){return e.cloneSource},get workspaceWidth(){return e.wtViewport.getWorkspaceWidth()},get wtViewport(){return e.wtViewport},get wtOverlays(){return e.wtOverlays},get selectionManager(){return e.selectionManager},get drawn(){return e.drawn},set drawn(t){e.drawn=t},get wtTable(){return e.wtTable},get startColumnRendered(){return e.wtViewport.columnsRenderCalculator.startColumn},get startColumnVisible(){return e.wtViewport.columnsVisibleCalculator.startColumn},get startColumnPartiallyVisible(){return e.wtViewport.columnsPartiallyVisibleCalculator.startColumn},get endColumnRendered(){return e.wtViewport.columnsRenderCalculator.endColumn},get endColumnVisible(){return e.wtViewport.columnsVisibleCalculator.endColumn},get endColumnPartiallyVisible(){return e.wtViewport.columnsPartiallyVisibleCalculator.endColumn},get countColumnsRendered(){return e.wtViewport.columnsRenderCalculator.count},get countColumnsVisible(){return e.wtViewport.columnsVisibleCalculator.count},get startRowRendered(){return e.wtViewport.rowsRenderCalculator.startRow},get startRowVisible(){return e.wtViewport.rowsVisibleCalculator.startRow},get startRowPartiallyVisible(){return e.wtViewport.rowsPartiallyVisibleCalculator.startRow},get endRowRendered(){return e.wtViewport.rowsRenderCalculator.endRow},get endRowVisible(){return e.wtViewport.rowsVisibleCalculator.endRow},get endRowPartiallyVisible(){return e.wtViewport.rowsPartiallyVisibleCalculator.endRow},get countRowsRendered(){return e.wtViewport.rowsRenderCalculator.count},get countRowsVisible(){return e.wtViewport.rowsVisibleCalculator.count},get columnHeaders(){return e.wtSettings.getSetting("columnHeaders")},get rowHeaders(){return e.wtSettings.getSetting("rowHeaders")}}}}},54900(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=r(o(80269)),s=r(o(95821));class a extends s.default{constructor(e,t,o){super(e,t),(0,n.default)(this,"cloneSource",void 0),(0,n.default)(this,"cloneOverlay",void 0);const r=this.wtSettings.getSetting("facade",this);this.cloneSource=o.source,this.cloneOverlay=o.overlay,this.wtTable=this.cloneOverlay.createTable(this.getTableDao(),r,this.domBindings,this.wtSettings),this.wtViewport=o.viewport,this.selectionManager=o.selectionManager,this.wtEvent=new i.default(r,this.domBindings,this.wtSettings,this.eventManager,this.wtTable,this.selectionManager,o.event),this.findOriginalHeaders()}}t.default=a},69358(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(80269)),i=r(o(38956)),s=o(99170),a=r(o(85896)),l=r(o(3478)),h=r(o(96063)),d=r(o(95821)),c=o(14083),u=o(38888),g=o(23876);class p extends d.default{constructor(e,t){super(e,new a.default(t));const o=this.wtSettings.getSetting("facade",this);this.wtTable=new l.default(this.getTableDao(),o,this.domBindings,this.wtSettings),this.wtViewport=new h.default(this.getViewportDao(),this.domBindings,this.wtSettings,this.eventManager,this.wtTable),this.selectionManager=new c.SelectionManager(this.wtSettings.getSetting("selections")),this.wtEvent=new n.default(o,this.domBindings,this.wtSettings,this.eventManager,this.wtTable,this.selectionManager),this.wtOverlays=new i.default(this,o,this.domBindings,this.wtSettings,this.eventManager,this.wtTable),this.exportSettingsAsClassNames(),this.findOriginalHeaders()}exportSettingsAsClassNames(){const e=[],t=[];(0,u.objectEach)({rowHeaders:"htRowHeaders",columnHeaders:"htColumnHeaders"},(o,r)=>{this.wtSettings.getSetting(r).length&&t.push(o),e.push(o)}),(0,g.removeClass)(this.wtTable.wtRootElement.parentNode,e),(0,g.addClass)(this.wtTable.wtRootElement.parentNode,t)}getOverlayByName(e){var t;if(!s.CLONE_TYPES.includes(e))return null;const o=e.replace(/_([a-z])/g,e=>e[1].toUpperCase());return null!==(t=this.wtOverlays[`${o}Overlay`])&&void 0!==t?t:null}getViewportDao(){const e=this;return{get wot(){return e},get topOverlayTrimmingContainer(){return e.wtOverlays.topOverlay.trimmingContainer},get inlineStartOverlayTrimmingContainer(){return e.wtOverlays.inlineStartOverlay.trimmingContainer},get topScrollPosition(){return e.wtOverlays.topOverlay.getScrollPosition()},get topParentOffset(){return e.wtOverlays.topOverlay.getTableParentOffset()},get inlineStartScrollPosition(){return e.wtOverlays.inlineStartOverlay.getScrollPosition()},get inlineStartParentOffset(){return e.wtOverlays.inlineStartOverlay.getTableParentOffset()},get topOverlay(){return e.wtOverlays.topOverlay},get inlineStartOverlay(){return e.wtOverlays.inlineStartOverlay},get bottomOverlay(){return e.wtOverlays.bottomOverlay}}}}t.default=p},80269(e,t,o){"use strict";t.__esModule=!0;var r=o(23876),n=o(3179),i=o(24605),s=o(46027),a=o(79416);function l(e,t,o){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,o)}function h(e,t){return e.get(c(e,t))}function d(e,t,o){return e.set(c(e,t),o),o}function c(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var u=new WeakMap,g=new WeakMap,p=new WeakMap,f=new WeakMap,m=new WeakMap,C=new WeakMap,w=new WeakMap,b=new WeakMap,v=new WeakMap,y=new WeakMap;t.default=class{constructor(e,t,o,r,n,i){let s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null;l(this,u,void 0),l(this,g,void 0),l(this,p,void 0),l(this,f,void 0),l(this,m,void 0),l(this,C,void 0),l(this,w,void 0),l(this,b,void 0),l(this,v,[null,null]),l(this,y,[null,null]),d(u,this,o),d(g,this,t),d(p,this,n),d(f,this,i),d(m,this,s),d(C,this,r),d(w,this,e),this.registerEvents()}registerEvents(){h(C,this).addEventListener(h(p,this).holder,"contextmenu",e=>this.onContextMenu(e)),h(C,this).addEventListener(h(p,this).TABLE,"mouseover",e=>this.onMouseOver(e)),h(C,this).addEventListener(h(p,this).TABLE,"mouseout",e=>this.onMouseOut(e));const e=()=>{h(C,this).addEventListener(h(p,this).holder,"touchstart",e=>this.onTouchStart(e)),h(C,this).addEventListener(h(p,this).holder,"touchend",e=>this.onTouchEnd(e)),this.momentumScrolling||(this.momentumScrolling={}),h(C,this).addEventListener(h(p,this).holder,"scroll",()=>{clearTimeout(this.momentumScrolling._timeout),this.momentumScrolling.ongoing||h(u,this).getSetting("onBeforeTouchScroll"),this.momentumScrolling.ongoing=!0,this.momentumScrolling._timeout=setTimeout(()=>{this.touchApplied||(this.momentumScrolling.ongoing=!1,h(u,this).getSetting("onAfterMomentumScroll"))},200)})},t=()=>{h(C,this).addEventListener(h(p,this).holder,"mouseup",e=>this.onMouseUp(e)),h(C,this).addEventListener(h(p,this).holder,"mousedown",e=>this.onMouseDown(e))};(0,s.isMobileBrowser)()?e():((0,i.isTouchSupported)()&&e(),t())}selectedCellWasTouched(e){const t=this.parentCell(e).coords;if(h(b,this)&&t){const[e,o]=[t.row,h(b,this).from.row],[r,n]=[t.col,h(b,this).from.col];return e===o&&r===n}return!1}parentCell(e){const t={},o=h(p,this).TABLE,n=(0,r.closestDown)(e,["TD","TH"],o);return n?(t.coords=h(p,this).getCoords(n),t.TD=n):(0,r.hasClass)(e,"wtBorder")&&(0,r.hasClass)(e,"current")?(t.coords=h(f,this).getFocusSelection().cellRange.highlight,t.TD=h(p,this).getCell(t.coords)):(0,r.hasClass)(e,"wtBorder")&&(0,r.hasClass)(e,"area")&&h(f,this).getAreaSelection().cellRange&&(t.coords=h(f,this).getAreaSelection().cellRange.to,t.TD=h(p,this).getCell(t.coords)),t}onMouseDown(e){const t=h(g,this).rootDocument.activeElement,o=(0,n.partial)(r.getParent,e.target),i=e.target;if(!["TD","TH"].includes(t.nodeName)&&(i===t||o(0)===t||o(1)===t))return;const s=this.parentCell(i);(0,r.hasClass)(i,"corner")?h(u,this).getSetting("onCellCornerMouseDown",e,i):s.TD&&h(u,this).has("onCellMouseDown")&&this.callListener("onCellMouseDown",e,s.coords,s.TD),(0===e.button||this.touchApplied)&&s.TD&&(h(y,this)[0]=s.TD,clearTimeout(h(v,this)[0]),h(v,this)[0]=setTimeout(()=>{h(y,this)[0]=null},1e3))}onContextMenu(e){if(h(u,this).has("onCellContextMenu")){const t=this.parentCell(e.target);t.TD&&this.callListener("onCellContextMenu",e,t.coords,t.TD)}}onMouseOver(e){if(!h(u,this).has("onCellMouseOver"))return;const t=h(p,this).TABLE,o=(0,r.closestDown)(e.target,["TD","TH"],t),n=h(m,this)||this;o&&o!==n.lastMouseOver&&(0,r.isChildOf)(o,t)&&(n.lastMouseOver=o,this.callListener("onCellMouseOver",e,h(p,this).getCoords(o),o))}onMouseOut(e){if(!h(u,this).has("onCellMouseOut"))return;const t=h(p,this).TABLE,o=(0,r.closestDown)(e.target,["TD","TH"],t),n=(0,r.closestDown)(e.relatedTarget,["TD","TH"],t),i=h(m,this)||this;o&&o!==n&&(0,r.isChildOf)(o,t)&&(this.callListener("onCellMouseOut",e,h(p,this).getCoords(o),o),null===n&&(i.lastMouseOver=null))}onMouseUp(e){const t=this.parentCell(e.target);t.TD&&h(u,this).has("onCellMouseUp")&&this.callListener("onCellMouseUp",e,t.coords,t.TD),(0===e.button||this.touchApplied)&&(t.TD===h(y,this)[0]&&t.TD===h(y,this)[1]?((0,r.hasClass)(e.target,"corner")?this.callListener("onCellCornerDblClick",e,t.coords,t.TD):this.callListener("onCellDblClick",e,t.coords,t.TD),h(y,this)[0]=null,h(y,this)[1]=null):t.TD===h(y,this)[0]&&(h(y,this)[1]=t.TD,clearTimeout(h(v,this)[1]),h(v,this)[1]=setTimeout(()=>{h(y,this)[1]=null},500)))}onTouchStart(e){d(b,this,h(f,this).getFocusSelection().cellRange),this.touchApplied=!0,this.onMouseDown(e)}onTouchEnd(e){var t;const o=e.target,r=null===(t=this.parentCell(o))||void 0===t?void 0:t.coords,n=(0,a.isDefined)(r)&&r.row>=0&&r.col>=0;if(e.cancelable&&n&&h(u,this).getSetting("isDataViewInstance")){const t=["A","BUTTON","INPUT"];(0,s.isIOS)()&&((0,s.isChromeWebKit)()||(0,s.isFirefoxWebKit)())&&this.selectedCellWasTouched(o)&&!t.includes(o.tagName)?e.preventDefault():this.selectedCellWasTouched(o)||e.preventDefault()}this.onMouseUp(e),this.touchApplied=!1}callListener(e,t,o,r){const n=h(u,this).getSettingPure(e);n&&n(t,o,r,h(w,this).call(this))}destroy(){clearTimeout(h(v,this)[0]),clearTimeout(h(v,this)[1]),h(C,this).destroy()}}},2257(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(69358)),i=r(o(95821));class s{constructor(e){e instanceof i.default?this._wot=e:this._initFromSettings(e)}_initFromSettings(e){e.facade=e=>{const t=new s(e);return()=>t},this._wot=new n.default(e.table,e)}get guid(){return this._wot.guid}get rootDocument(){return this._wot.domBindings.rootDocument}get rootWindow(){return this._wot.domBindings.rootWindow}get wtSettings(){return this._wot.wtSettings}get cloneSource(){return this._wot.cloneSource}get cloneOverlay(){return this._wot.cloneOverlay}get selectionManager(){return this._wot.selectionManager}get wtViewport(){return this._wot.wtViewport}get wtOverlays(){return this._wot.wtOverlays}get wtTable(){return this._wot.wtTable}get wtEvent(){return this._wot.wtEvent}get wtScroll(){return this._wot.wtScroll}get drawn(){return this._wot.drawn}set drawn(e){this._wot.drawn=e}get activeOverlayName(){return this._wot.activeOverlayName}get drawInterrupted(){return this._wot.drawInterrupted}set drawInterrupted(e){this._wot.drawInterrupted=e}get lastMouseOver(){return this._wot.lastMouseOver}set lastMouseOver(e){this._wot.lastMouseOver=e}get momentumScrolling(){return this._wot.momentumScrolling}set momentumScrolling(e){this._wot.momentumScrolling=e}get touchApplied(){return this._wot.touchApplied}set touchApplied(e){this._wot.touchApplied=e}get domBindings(){return this._wot.domBindings}get eventListeners(){return this._wot.eventListeners}set eventListeners(e){this._wot.eventListeners=e}get eventManager(){return this._wot.eventManager}createCellCoords(e,t){return this._wot.createCellCoords(e,t)}createCellRange(e,t,o){return this._wot.createCellRange(e,t,o)}draw(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._wot.draw(e),this}getCell(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this._wot.getCell(e,t)}scrollViewport(e,t,o){return this._wot.scrollViewport(e,t,o)}scrollViewportHorizontally(e,t){return this._wot.scrollViewportHorizontally(e,t)}scrollViewportVertically(e,t){return this._wot.scrollViewportVertically(e,t)}getViewport(){return this._wot.getViewport()}getOverlayName(){return this._wot.cloneOverlay?this._wot.cloneOverlay.type:"master"}getOverlayByName(e){return this._wot.getOverlayByName(e)}exportSettingsAsClassNames(){return this._wot.exportSettingsAsClassNames()}update(e,t){return this._wot.wtSettings.update(e,t),this}getSetting(e,t,o,r,n){return this._wot.wtSettings.getSetting(e,t,o,r,n)}hasSetting(e){return this._wot.wtSettings.hasSetting(e)}destroy(){this._wot.destroy()}}t.default=s},52300(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.default=class{constructor(e,t,o){(0,n.default)(this,"offset",void 0),(0,n.default)(this,"total",void 0),(0,n.default)(this,"countTH",void 0),this.offset=e,this.total=t,this.countTH=o}offsetted(e){return e+this.offset}unOffsetted(e){return e-this.offset}renderedToSource(e){return this.offsetted(e)}sourceToRendered(e){return this.unOffsetted(e)}offsettedTH(e){return e-this.countTH}unOffsettedTH(e){return e+this.countTH}visibleRowHeadedColumnToSourceColumn(e){return this.renderedToSource(this.offsettedTH(e))}sourceColumnToVisibleRowHeadedColumn(e){return this.unOffsettedTH(this.sourceToRendered(e))}}},87176(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.default=class{constructor(e,t,o){(0,n.default)(this,"offset",void 0),(0,n.default)(this,"total",void 0),(0,n.default)(this,"countTH",void 0),this.offset=e,this.total=t,this.countTH=o}offsetted(e){return e+this.offset}unOffsetted(e){return e-this.offset}renderedToSource(e){return this.offsetted(e)}sourceToRendered(e){return this.unOffsetted(e)}offsettedTH(e){return e-this.countTH}unOffsettedTH(e){return e+this.countTH}visibleColHeadedRowToSourceRow(e){return this.renderedToSource(this.offsettedTH(e))}sourceRowToVisibleColHeadedRow(e){return this.unOffsettedTH(this.sourceToRendered(e))}}},75269(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=o(1722);t.ViewportColumnsCalculator=n.ViewportColumnsCalculator,t.ViewportRowsCalculator=n.ViewportRowsCalculator,t.DEFAULT_COLUMN_WIDTH=n.DEFAULT_COLUMN_WIDTH;var i=r(o(14274));t.CellCoords=i.default;var s=r(o(35783));t.CellRange=s.default;var a=r(o(2257));t.default=a.default,t.Core=a.default;var l=o(55368);t.Selection=l.Selection,t.HIGHLIGHT_ACTIVE_HEADER_TYPE=l.ACTIVE_HEADER_TYPE,t.HIGHLIGHT_AREA_TYPE=l.AREA_TYPE,t.HIGHLIGHT_FOCUS_TYPE=l.FOCUS_TYPE,t.HIGHLIGHT_FILL_TYPE=l.FILL_TYPE,t.HIGHLIGHT_HEADER_TYPE=l.HEADER_TYPE,t.HIGHLIGHT_ROW_TYPE=l.ROW_TYPE,t.HIGHLIGHT_COLUMN_TYPE=l.COLUMN_TYPE,t.HIGHLIGHT_CUSTOM_SELECTION_TYPE=l.CUSTOM_SELECTION_TYPE;var h=function(e,t){if("function"==typeof WeakMap)var o=new WeakMap,r=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(n=t?r:o){if(n.has(e))return n.get(e);n.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(s,t,i):s[t]=e[t]);return s}(e,t)}(o(58189));t.Renderer=h;var d=o(35109);t.OrderView=d.OrderView,t.SharedOrderView=d.SharedOrderView;var c=o(3076);t.NodesPool=c.NodesPool;var u=o(34354);t.getListenersCounter=u.getListenersCounter},25410(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(23876),s=o(38888),a=o(26070),l=o(38643),h=r(o(54900)),d=o(12175),c=o(26032);t.Overlay=class{constructor(e,t,o,r,a){(0,n.default)(this,"wtSettings",null),(0,s.defineGetter)(this,"wot",e,{writable:!1}),this.domBindings=a,this.facadeGetter=t,this.wtSettings=r;const{TABLE:l,hider:h,spreader:d,holder:c,wtRootElement:u}=this.wot.wtTable;this.instance=this.wot,this.type=o,this.mainTableScrollableElement=null,this.TABLE=l,this.hider=h,this.spreader=d,this.holder=c,this.wtRootElement=u,this.trimmingContainer=(0,i.getTrimmingContainer)(this.hider.parentNode.parentNode),this.needFullRender=this.shouldBeRendered(),this.clone=this.makeClone()}hasRenderingStateChanged(){return this.needFullRender!==this.shouldBeRendered()}updateStateOfRendering(e){"before"===e&&this.shouldBeRendered()?this.needFullRender=!0:"after"!==e||this.shouldBeRendered()||(this.needFullRender=!1)}shouldBeRendered(){return!0}updateTrimmingContainer(){this.trimmingContainer=(0,i.getTrimmingContainer)(this.hider.parentNode.parentNode)}updateMainScrollableElement(){const{wtTable:e}=this.wot,{rootWindow:t}=this.domBindings,o=t.getComputedStyle(e.wtRootElement.parentNode).getPropertyValue("overflow");this.mainTableScrollableElement="hidden"===o||"clip"===o?this.wot.wtTable.holder:(0,i.getScrollableElement)(e.TABLE)}getRelativeCellPosition(e,t,o){if(!1===this.clone.wtTable.holder.contains(e))return void(0,a.warn)(`The provided element is not a child of the ${this.type} overlay`);const r=this.mainTableScrollableElement===this.domBindings.rootWindow,n=o<this.wtSettings.getSetting("fixedColumnsStart"),i=t<this.wtSettings.getSetting("fixedRowsTop"),s=t>=this.wtSettings.getSetting("totalRows")-this.wtSettings.getSetting("fixedRowsBottom"),l=this.clone.wtTable.spreader,h={start:this.getRelativeStartPosition(l),top:l.offsetTop},d={start:this.getRelativeStartPosition(e),top:e.offsetTop};let c=null;return c=r?this.getRelativeCellPositionWithinWindow(i,n,d,h):this.getRelativeCellPositionWithinHolder(i,s,n,d,h),c}getRelativeStartPosition(e){return this.isRtl()?e.offsetParent.offsetWidth-e.offsetLeft-e.offsetWidth:e.offsetLeft}getRelativeCellPositionWithinWindow(e,t,o,r){const n=this.wot.wtTable.wtRootElement.getBoundingClientRect();let s=0,a=0;if(t){let e=n.left;this.isRtl()&&(e=this.domBindings.rootWindow.innerWidth-(n.left+n.width+(0,i.getScrollbarWidth)())),s=e<=0?-1*e:0}else s=r.start;if(e){a=this.clone.wtTable.TABLE.getBoundingClientRect().top-n.top}else a=r.top;return{start:o.start+s,top:o.top+a}}getRelativeCellPositionWithinHolder(e,t,o,r,n){const i=this.wot.wtOverlays.inlineStartOverlay.getScrollPosition(),s=this.wot.wtOverlays.topOverlay.getScrollPosition();let a=0,l=0;if(o||(a=i-n.start),t){const e=this.wot.wtTable.wtRootElement.getBoundingClientRect();l=-1*this.clone.wtTable.TABLE.getBoundingClientRect().top+e.top}else e||(l=s-n.top);return{start:r.start-a,top:r.top-l}}makeClone(){-1===l.CLONE_TYPES.indexOf(this.type)&&(0,c.throwWithCause)(`Clone type "${this.type}" is not supported.`);const{wtTable:e,wtSettings:t}=this.wot,{rootDocument:o,rootWindow:r}=this.domBindings,n=o.createElement("div"),s=o.createElement("table"),a=e.wtRootElement.parentNode;n.className=`${l.CLONE_CLASS_NAMES.get(this.type)} handsontable`,n.setAttribute("dir",this.isRtl()?"rtl":"ltr"),n.style.position="absolute",n.style.top=0,n.style.overflow="visible",this.isRtl()?n.style.right=0:n.style.left=0,t.getSetting("ariaTags")&&(0,i.setAttribute)(n,[(0,d.A11Y_PRESENTATION)()]),s.className=e.TABLE.className;e.TABLE.getAttribute("role")&&s.setAttribute("role",e.TABLE.getAttribute("role")),n.appendChild(s),a.appendChild(n);const u=this.wtSettings.getSetting("preventOverflow"),g=r.getComputedStyle(a).getPropertyValue("overflow");return!0===u||"horizontal"===u&&this.type===l.CLONE_TOP||"vertical"===u&&this.type===l.CLONE_INLINE_START?this.mainTableScrollableElement=r:this.mainTableScrollableElement="hidden"===g||"clip"===g?e.holder:(0,i.getScrollableElement)(e.TABLE),new h.default(s,this.wtSettings,{source:this.wot,overlay:this,viewport:this.wot.wtViewport,event:this.wot.wtEvent,selectionManager:this.wot.selectionManager})}refresh(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.needFullRender){const t=this.clone.cloneSource;t.activeOverlayName=this.clone.wtTable.name,this.clone.draw(e),t.activeOverlayName="master"}}reset(){const e=this.clone.wtTable.holder,t=this.clone.wtTable.hider;[e.style,t.style,e.parentNode.style].forEach(e=>{e.width="",e.height=""})}isRtl(){return this.wtSettings.getSetting("rtlMode")}destroy(){this.clone.eventManager.destroy()}}},80811(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(23876),s=r(o(12143)),a=o(25410),l=o(38643),h=o(26032);class d extends a.Overlay{constructor(e,t,o,r){super(e,t,l.CLONE_BOTTOM,o,r),(0,n.default)(this,"cachedFixedRowsBottom",-1),this.cachedFixedRowsBottom=this.wtSettings.getSetting("fixedRowsBottom")}createTable(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return new s.default(...t)}shouldBeRendered(){return this.wtSettings.getSetting("shouldRenderBottomOverlay")}resetFixedPosition(){if(!this.needFullRender||!this.shouldBeRendered()||!this.wot.wtTable.holder.parentNode)return!1;const{rootWindow:e}=this.domBindings,t=this.clone.wtTable.holder.parentNode;t.style.top="";let o=0;const r=this.wtSettings.getSetting("preventOverflow");this.trimmingContainer!==e||r&&"vertical"===r?(o=this.getScrollPosition(),this.repositionOverlay()):(o=this.getOverlayOffset(),t.style.bottom=`${o}px`);const n=this.adjustHeaderBordersPosition(o);return this.adjustElementsSize(),n}repositionOverlay(){const{wtTable:e,wtViewport:t}=this.wot,{rootDocument:o}=this.domBindings,r=this.clone.wtTable.holder.parentNode;let n=0;t.hasVerticalScroll()||(n+=t.getWorkspaceHeight()-e.getTotalHeight()),t.hasVerticalScroll()&&t.hasHorizontalScroll()&&(n+=(0,i.getScrollbarWidth)(o)),r.style.bottom=`${n}px`}setScrollPosition(e){const{rootWindow:t}=this.domBindings,o=this.mainTableScrollableElement;let r=!1;if(o===t&&e!==t.scrollY){const e=t.scrollY;t.scrollTo((0,i.getWindowScrollLeft)(t),top),r=e!==t.scrollY}else if(e!==o.scrollTop){const t=o.scrollTop;o.scrollTop=e,r=t!==o.scrollTop}return r}onScroll(){this.wtSettings.getSetting("onScrollHorizontally")}sumCellSizes(e,t){const{wtTable:o,wtSettings:r}=this.wot,n=r.getSetting("stylesHandler").getDefaultRowHeight();let i=e,s=0;for(;i<t;){const e=o.getRowHeight(i);s+=void 0===e?n:e,i+=1}return s}adjustElementsSize(){this.updateTrimmingContainer(),this.needFullRender&&(this.adjustRootElementSize(),this.adjustRootChildrenSize())}adjustRootElementSize(){const{wtTable:e,wtViewport:t}=this.wot,{rootDocument:o,rootWindow:r}=this.domBindings,n=this.clone.wtTable.holder.parentNode.style,s=this.wtSettings.getSetting("preventOverflow");if(this.trimmingContainer!==r||"horizontal"===s){let r=t.getWorkspaceWidth();t.hasVerticalScroll()&&(r-=(0,i.getScrollbarWidth)(o)),r=Math.min(r,e.wtRootElement.scrollWidth),n.width=`${r}px`}else n.width="";this.clone.wtTable.holder.style.width=n.width;let a=(0,i.outerHeight)(this.clone.wtTable.TABLE);e.hasDefinedSize()||(a=0),n.height=`${a}px`}adjustRootChildrenSize(){const{holder:e}=this.clone.wtTable;this.clone.wtTable.hider.style.width=this.hider.style.width,e.style.width=e.parentNode.style.width,e.style.height=e.parentNode.style.height}applyToDOM(){const e=this.wtSettings.getSetting("totalRows");"number"==typeof this.wot.wtViewport.rowsRenderCalculator.startPosition?this.spreader.style.top=`${this.wot.wtViewport.rowsRenderCalculator.startPosition}px`:0===e?this.spreader.style.top="0":(0,h.throwWithCause)("Incorrect value of the rowsRenderCalculator"),this.spreader.style.bottom="",this.needFullRender&&this.syncOverlayOffset()}syncOverlayOffset(){const e=this.isRtl()?"right":"left",{spreader:t}=this.clone.wtTable;"number"==typeof this.wot.wtViewport.columnsRenderCalculator.startPosition?t.style[e]=`${this.wot.wtViewport.columnsRenderCalculator.startPosition}px`:t.style[e]=""}scrollTo(e,t){let o=this.getTableParentOffset();const r=(this.wot.cloneSource?this.wot.cloneSource:this.wot).wtTable.holder;let n=0;t&&r.offsetHeight!==r.clientHeight&&(n=(0,i.getScrollbarWidth)(this.domBindings.rootDocument)),t?(o+=this.sumCellSizes(0,e+1),o-=this.wot.wtViewport.getViewportHeight(),o+=1):o+=this.sumCellSizes(this.wtSettings.getSetting("fixedRowsBottom"),e),o+=n,this.setScrollPosition(o)}getTableParentOffset(){return this.mainTableScrollableElement===this.domBindings.rootWindow?this.wot.wtTable.holderOffset.top:0}getScrollPosition(){return(0,i.getScrollTop)(this.mainTableScrollableElement,this.domBindings.rootWindow)}getOverlayOffset(){const{rootWindow:e}=this.domBindings,t=this.wtSettings.getSetting("preventOverflow");let o=0;if(this.trimmingContainer===e&&(!t||"vertical"!==t)){const e=this.wot.wtTable.getTotalHeight(),t=e-this.clone.wtTable.getTotalHeight(),r=this.domBindings.rootDocument.documentElement.clientHeight;o=Math.max(this.getTableParentOffset()-this.getScrollPosition()-r+e,0),o>t&&(o=0)}return o}adjustHeaderBordersPosition(e){const t=this.wtSettings.getSetting("fixedRowsBottom"),o=this.cachedFixedRowsBottom!==t,r=this.wtSettings.getSetting("columnHeaders");let n=!1;if((o||0===t)&&r.length>0){const t=this.wot.wtTable.holder.parentNode,o=(0,i.hasClass)(t,"innerBorderBottom");this.cachedFixedRowsBottom=this.wtSettings.getSetting("fixedRowsBottom"),e||0===this.wtSettings.getSetting("totalRows")?((0,i.addClass)(t,"innerBorderBottom"),n=!o):((0,i.removeClass)(t,"innerBorderBottom"),n=o)}return n}}t.BottomOverlay=d},14917(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=o(23876),i=r(o(64617)),s=o(25410),a=o(38643);class l extends s.Overlay{constructor(e,t,o,r,n,i){super(e,t,a.CLONE_BOTTOM_INLINE_START_CORNER,o,r),this.bottomOverlay=n,this.inlineStartOverlay=i}createTable(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return new i.default(...t)}shouldBeRendered(){return this.wtSettings.getSetting("shouldRenderBottomOverlay")&&this.wtSettings.getSetting("shouldRenderInlineStartOverlay")}resetFixedPosition(){const{wot:e}=this;if(this.updateTrimmingContainer(),!e.wtTable.holder.parentNode)return!1;const t=this.clone.wtTable.holder.parentNode;if(t.style.top="",this.trimmingContainer===this.domBindings.rootWindow){const e=this.inlineStartOverlay.getOverlayOffset(),o=this.bottomOverlay.getOverlayOffset();t.style[this.isRtl()?"right":"left"]=`${e}px`,t.style.bottom=`${o}px`}else(0,n.resetCssTransform)(t),this.repositionOverlay();let o=(0,n.outerHeight)(this.clone.wtTable.TABLE);const r=(0,n.outerWidth)(this.clone.wtTable.TABLE);return this.wot.wtTable.hasDefinedSize()||(o=0),t.style.height=`${o}px`,t.style.width=`${r}px`,!1}repositionOverlay(){const{wtTable:e,wtViewport:t}=this.wot,{rootDocument:o}=this.domBindings,r=this.clone.wtTable.holder.parentNode;let i=0;t.hasVerticalScroll()||(i+=t.getWorkspaceHeight()-e.getTotalHeight()),t.hasVerticalScroll()&&t.hasHorizontalScroll()&&(i+=(0,n.getScrollbarWidth)(o)),r.style.bottom=`${i}px`}}t.BottomInlineStartCornerOverlay=l},38643(e,t){"use strict";t.__esModule=!0;const o=t.CLONE_TOP="top",r=t.CLONE_BOTTOM="bottom",n=t.CLONE_INLINE_START="inline_start",i=t.CLONE_TOP_INLINE_START_CORNER="top_inline_start_corner",s=t.CLONE_BOTTOM_INLINE_START_CORNER="bottom_inline_start_corner";t.CLONE_TYPES=[o,r,n,i,s],t.CLONE_CLASS_NAMES=new Map([[o,`ht_clone_${o}`],[r,`ht_clone_${r}`],[n,`ht_clone_${n} ht_clone_left`],[i,`ht_clone_${i} ht_clone_top_left_corner`],[s,`ht_clone_${s} ht_clone_bottom_left_corner`]])},99170(e,t,o){"use strict";t.__esModule=!0;var r={BottomInlineStartCornerOverlay:!0,BottomOverlay:!0,InlineStartOverlay:!0,Overlay:!0,TopInlineStartCornerOverlay:!0,TopOverlay:!0},n=o(14917);t.BottomInlineStartCornerOverlay=n.BottomInlineStartCornerOverlay;var i=o(80811);t.BottomOverlay=i.BottomOverlay;var s=o(94045);t.InlineStartOverlay=s.InlineStartOverlay;var a=o(25410);t.Overlay=a.Overlay;var l=o(93471);t.TopInlineStartCornerOverlay=l.TopInlineStartCornerOverlay;var h=o(19909);t.TopOverlay=h.TopOverlay;var d=o(38643);Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===d[e]||(t[e]=d[e]))})},94045(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=o(23876),i=r(o(44401)),s=o(25410),a=o(55368),l=o(38643),h=o(26032);class d extends s.Overlay{constructor(e,t,o,r){super(e,t,l.CLONE_INLINE_START,o,r)}createTable(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return new i.default(...t)}shouldBeRendered(){return this.wtSettings.getSetting("shouldRenderInlineStartOverlay")}resetFixedPosition(){const{wtTable:e}=this.wot;if(!this.needFullRender||!this.shouldBeRendered()||!e.holder.parentNode)return!1;const{rootWindow:t}=this.domBindings,o=this.clone.wtTable.holder.parentNode,r=this.wtSettings.getSetting("preventOverflow");let i=0;this.trimmingContainer!==t||r&&"horizontal"===r?(i=this.getScrollPosition(),(0,n.resetCssTransform)(o)):(i=this.getOverlayOffset()*(this.isRtl()?-1:1),(0,n.setOverlayPosition)(o,`${i}px`,"0px"));const s=this.adjustHeaderBordersPosition(i);return this.adjustElementsSize(),s}setScrollPosition(e){const{rootWindow:t}=this.domBindings;let o=!1;this.isRtl()&&(e=-e);const r=this.mainTableScrollableElement;if(r===t&&e!==t.scrollX){const r=t.scrollX;t.scrollTo(e,(0,n.getWindowScrollTop)(t)),o=r!==t.scrollX}else if(e!==r.scrollLeft){const t=r.scrollLeft;r.scrollLeft=e,o=t!==r.scrollLeft}return o}onScroll(){this.wtSettings.getSetting("onScrollVertically")}sumCellSizes(e,t){const o=this.wtSettings.getSetting("defaultColumnWidth");let r=e,n=0;for(;r<t;)n+=this.wot.wtTable.getColumnWidth(r)||o,r+=1;return n}adjustElementsSize(){this.updateTrimmingContainer(),this.needFullRender&&(this.adjustRootElementSize(),this.adjustRootChildrenSize())}adjustRootElementSize(){const{wtTable:e,wtViewport:t}=this.wot,{rootDocument:o,rootWindow:r}=this.domBindings,i=this.clone.wtTable.holder.parentNode.style,s=this.wtSettings.getSetting("preventOverflow");if(this.trimmingContainer!==r||"vertical"===s){let r=t.getWorkspaceHeight();t.hasHorizontalScroll()&&(r-=(0,n.getScrollbarWidth)(o)),r=Math.min(r,e.wtRootElement.scrollHeight),i.height=`${r}px`}else i.height="";this.clone.wtTable.holder.style.height=i.height;const a=(0,n.outerWidth)(this.clone.wtTable.TABLE);i.width=`${a}px`}adjustRootChildrenSize(){const{holder:e}=this.clone.wtTable,t=(0,a.getCornerStyle)(this.wot),o=this.wot.selectionManager.getFocusSelection()?parseInt(t.width,10)/2:0;this.clone.wtTable.hider.style.height=this.hider.style.height,e.style.height=e.parentNode.style.height,e.style.width=`${parseInt(e.parentNode.style.width,10)+o}px`}applyToDOM(){const e=this.wtSettings.getSetting("totalColumns"),t=this.isRtl()?"right":"left";"number"==typeof this.wot.wtViewport.columnsRenderCalculator.startPosition?this.spreader.style[t]=`${this.wot.wtViewport.columnsRenderCalculator.startPosition}px`:0===e?this.spreader.style[t]="0":(0,h.throwWithCause)("Incorrect value of the columnsRenderCalculator"),this.isRtl()?this.spreader.style.left="":this.spreader.style.right="",this.needFullRender&&this.syncOverlayOffset()}syncOverlayOffset(){"number"==typeof this.wot.wtViewport.rowsRenderCalculator.startPosition?this.clone.wtTable.spreader.style.top=`${this.wot.wtViewport.rowsRenderCalculator.startPosition}px`:this.clone.wtTable.spreader.style.top=""}scrollTo(e,t){const{wtSettings:o}=this,r=o.getSetting("rowHeaders"),i=o.getSetting("fixedColumnsStart"),s=(this.wot.cloneSource?this.wot.cloneSource:this.wot).wtTable.holder,a=0===i&&r.length>0&&!(0,n.hasClass)(s.parentNode,"innerBorderInlineStart")?1:0;let l=this.getTableParentOffset(),h=0;if(t){this.wot.wtTable.getColumnWidth(e)>this.wot.wtViewport.getViewportWidth()&&(t=!1)}return t&&s.offsetWidth!==s.clientWidth&&(h=(0,n.getScrollbarWidth)(this.domBindings.rootDocument)),t?(l+=this.sumCellSizes(0,e+1),l-=this.wot.wtViewport.getViewportWidth(),l+=a):l+=this.sumCellSizes(this.wtSettings.getSetting("fixedColumnsStart"),e),l+=h,(0,n.getMaximumScrollLeft)(this.mainTableScrollableElement)===l-a&&a>0&&this.wot.wtOverlays.expandHiderHorizontallyBy(a),this.setScrollPosition(l)}getTableParentOffset(){let e=0;return this.wtSettings.getSetting("preventOverflow")||this.trimmingContainer!==this.domBindings.rootWindow||(e=this.wot.wtTable.holderOffset.left),e}getScrollPosition(){return Math.abs((0,n.getScrollLeft)(this.mainTableScrollableElement,this.domBindings.rootWindow))}getOverlayOffset(){const{rootWindow:e}=this.domBindings,t=this.wtSettings.getSetting("preventOverflow");let o=0;if(this.trimmingContainer===e&&(!t||"horizontal"!==t)){o=this.isRtl()?Math.abs(Math.min(this.getTableParentOffset()-this.getScrollPosition(),0)):Math.max(this.getScrollPosition()-this.getTableParentOffset(),0);o>this.wot.wtTable.getTotalWidth()-this.clone.wtTable.getTotalWidth()&&(o=0)}return o}adjustHeaderBordersPosition(e){const{wtSettings:t}=this,o=this.wot.wtTable.holder.parentNode,r=t.getSetting("rowHeaders"),i=t.getSetting("fixedColumnsStart"),s=t.getSetting("totalRows"),a="vertical"===t.getSetting("preventOverflow");s?(0,n.removeClass)(o,"emptyRows"):(0,n.addClass)(o,"emptyRows");let l=!1;if(!a)if(i&&!r.length)(0,n.addClass)(o,"innerBorderLeft innerBorderInlineStart");else if(!i&&r.length){const t=(0,n.hasClass)(o,"innerBorderInlineStart");e?((0,n.addClass)(o,"innerBorderLeft innerBorderInlineStart"),l=!t):((0,n.removeClass)(o,"innerBorderLeft innerBorderInlineStart"),l=t)}return l}}t.InlineStartOverlay=d},19909(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(23876),s=r(o(10297)),a=o(25410),l=o(55368),h=o(38643),d=o(26032);class c extends a.Overlay{constructor(e,t,o,r){super(e,t,h.CLONE_TOP,o,r),(0,n.default)(this,"cachedFixedRowsTop",-1),this.cachedFixedRowsTop=this.wtSettings.getSetting("fixedRowsTop")}createTable(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return new s.default(...t)}shouldBeRendered(){return this.wtSettings.getSetting("shouldRenderTopOverlay")}resetFixedPosition(){if(!this.needFullRender||!this.shouldBeRendered()||!this.wot.wtTable.holder.parentNode)return!1;const e=this.clone.wtTable.holder.parentNode,{rootWindow:t}=this.domBindings,o=this.wtSettings.getSetting("preventOverflow");let r=0,n=!1;if(this.trimmingContainer!==t||o&&"vertical"===o)r=this.getScrollPosition(),(0,i.resetCssTransform)(e);else{const{wtTable:t}=this.wot,o=t.hider.getBoundingClientRect();n=Math.ceil(o.bottom)===e.offsetHeight,r=this.getOverlayOffset(),(0,i.setOverlayPosition)(e,"0px",`${r}px`)}const s=this.adjustHeaderBordersPosition(r,n);return this.adjustElementsSize(),s}setScrollPosition(e){const{rootWindow:t}=this.domBindings,o=this.mainTableScrollableElement;let r=!1;if(o===t&&e!==t.scrollY){const o=t.scrollY;t.scrollTo((0,i.getWindowScrollLeft)(t),e),r=o!==t.scrollY}else if(e!==o.scrollTop){const t=o.scrollTop;o.scrollTop=e,r=t!==o.scrollTop}return r}onScroll(){this.wtSettings.getSetting("onScrollHorizontally")}sumCellSizes(e,t){const o=this.wtSettings.getSetting("stylesHandler").getDefaultRowHeight();let r=e,n=0;for(;r<t;){const e=this.wot.wtTable.getRowHeight(r);n+=void 0===e?o:e,r+=1}return n}adjustElementsSize(){this.updateTrimmingContainer(),this.needFullRender&&(this.adjustRootElementSize(),this.adjustRootChildrenSize())}adjustRootElementSize(){const{wtTable:e,wtViewport:t}=this.wot,{rootDocument:o,rootWindow:r}=this.domBindings,n=this.clone.wtTable.holder.parentNode.style,s=this.wtSettings.getSetting("preventOverflow");if(this.trimmingContainer!==r||"horizontal"===s){let r=t.getWorkspaceWidth();t.hasVerticalScroll()&&(r-=(0,i.getScrollbarWidth)(o)),r=Math.min(r,e.wtRootElement.scrollWidth),n.width=`${r}px`}else n.width="";this.clone.wtTable.holder.style.width=n.width;let a=(0,i.outerHeight)(this.clone.wtTable.TABLE);e.hasDefinedSize()||(a=0),n.height=`${a}px`}adjustRootChildrenSize(){const{holder:e}=this.clone.wtTable,t=(0,l.getCornerStyle)(this.wot),o=this.wot.selectionManager.getFocusSelection()?parseInt(t.height,10)/2:0;this.clone.wtTable.hider.style.width=this.hider.style.width,e.style.width=e.parentNode.style.width,e.style.height=`${parseInt(e.parentNode.style.height,10)+o}px`}applyToDOM(){const e=this.wtSettings.getSetting("totalRows");"number"==typeof this.wot.wtViewport.rowsRenderCalculator.startPosition?this.spreader.style.top=`${this.wot.wtViewport.rowsRenderCalculator.startPosition}px`:0===e?this.spreader.style.top="0":(0,d.throwWithCause)("Incorrect value of the rowsRenderCalculator"),this.spreader.style.bottom="",this.needFullRender&&this.syncOverlayOffset()}syncOverlayOffset(){const e=this.isRtl()?"right":"left",{spreader:t}=this.clone.wtTable;"number"==typeof this.wot.wtViewport.columnsRenderCalculator.startPosition?t.style[e]=`${this.wot.wtViewport.columnsRenderCalculator.startPosition}px`:t.style[e]=""}scrollTo(e,t){const{wot:o,wtSettings:r}=this,n=(o.cloneSource?o.cloneSource:o).wtTable.holder,s=r.getSetting("columnHeaders"),a=0===r.getSetting("fixedRowsTop")&&s.length>0&&!(0,i.hasClass)(n.parentNode,"innerBorderTop")?1:0;let l=this.getTableParentOffset(),h=0;if(t){this.wot.wtTable.getRowHeight(e)>this.wot.wtViewport.getViewportHeight()&&(t=!1)}if(t&&n.offsetHeight!==n.clientHeight&&(h=(0,i.getScrollbarWidth)(this.domBindings.rootDocument)),t){const t=r.getSetting("fixedRowsBottom"),n=r.getSetting("totalRows");l+=this.sumCellSizes(0,e+1),l-=o.wtViewport.getViewportHeight()-this.sumCellSizes(n-t,n),l+=1,l+=a}else l+=this.sumCellSizes(r.getSetting("fixedRowsTop"),e);return l+=h,(0,i.getMaximumScrollTop)(this.mainTableScrollableElement)===l-a&&a>0&&this.wot.wtOverlays.expandHiderVerticallyBy(a),this.setScrollPosition(l)}getTableParentOffset(){return this.mainTableScrollableElement===this.domBindings.rootWindow?this.wot.wtTable.holderOffset.top:0}getScrollPosition(){return(0,i.getScrollTop)(this.mainTableScrollableElement,this.domBindings.rootWindow)}getOverlayOffset(){const{rootWindow:e}=this.domBindings,t=this.wtSettings.getSetting("preventOverflow");let o=0;if(this.trimmingContainer===e&&(!t||"vertical"!==t)){const e=this.wot.wtTable.getTotalHeight()-this.clone.wtTable.getTotalHeight();o=Math.max(this.getScrollPosition()-this.getTableParentOffset(),0),o>e&&(o=0)}return o}adjustHeaderBordersPosition(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{wtSettings:o}=this,r=this.wot.wtTable.holder.parentNode,n=o.getSetting("totalColumns"),s="horizontal"===o.getSetting("preventOverflow");n?(0,i.removeClass)(r,"emptyColumns"):(0,i.addClass)(r,"emptyColumns");let a=!1;if(!t&&!s){const t=o.getSetting("fixedRowsTop"),n=this.cachedFixedRowsTop!==t,s=o.getSetting("columnHeaders");if((n||0===t)&&s.length>0){const t=(0,i.hasClass)(r,"innerBorderTop");this.cachedFixedRowsTop=o.getSetting("fixedRowsTop"),e||0===o.getSetting("totalRows")?((0,i.addClass)(r,"innerBorderTop"),a=!t):((0,i.removeClass)(r,"innerBorderTop"),a=t)}}return a}}t.TopOverlay=c},93471(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(23876),s=r(o(68643)),a=o(25410),l=o(38643);class h extends a.Overlay{constructor(e,t,o,r,i,s){super(e,t,l.CLONE_TOP_INLINE_START_CORNER,o,r),(0,n.default)(this,"topOverlay",void 0),(0,n.default)(this,"inlineStartOverlay",void 0),this.topOverlay=i,this.inlineStartOverlay=s}createTable(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return new s.default(...t)}shouldBeRendered(){return this.wtSettings.getSetting("shouldRenderTopOverlay")&&this.wtSettings.getSetting("shouldRenderInlineStartOverlay")}resetFixedPosition(){if(this.updateTrimmingContainer(),!this.wot.wtTable.holder.parentNode)return!1;const e=this.clone.wtTable.holder.parentNode;if(this.trimmingContainer===this.domBindings.rootWindow){const t=this.inlineStartOverlay.getOverlayOffset()*(this.isRtl()?-1:1),o=this.topOverlay.getOverlayOffset();(0,i.setOverlayPosition)(e,`${t}px`,`${o}px`)}else(0,i.resetCssTransform)(e);let t=(0,i.outerHeight)(this.clone.wtTable.TABLE);const o=(0,i.outerWidth)(this.clone.wtTable.TABLE);return this.wot.wtTable.hasDefinedSize()||(t=0),e.style.height=`${t}px`,e.style.width=`${o}px`,!1}}t.TopInlineStartCornerOverlay=h},38956(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(23876),s=o(24605),a=o(6578),l=o(82268),h=o(46027),d=o(26070),c=o(99170);function u(e,t,o){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,o)}function g(e,t,o){return e.set(f(e,t),o),o}function p(e,t){return e.get(f(e,t))}function f(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var m=new WeakMap,C=new WeakMap,w=new WeakMap,b=new WeakMap;t.default=class{constructor(e,t,o,r,a,l){(0,n.default)(this,"wot",null),u(this,m,[]),(0,n.default)(this,"topOverlay",null),(0,n.default)(this,"bottomOverlay",null),(0,n.default)(this,"inlineStartOverlay",null),(0,n.default)(this,"topInlineStartCornerOverlay",null),(0,n.default)(this,"bottomInlineStartCornerOverlay",null),(0,n.default)(this,"browserLineHeight",void 0),(0,n.default)(this,"wtSettings",null),u(this,C,!1),u(this,w,0),u(this,b,null),(0,n.default)(this,"resizeObserver",new ResizeObserver(e=>{(0,s.requestAnimationFrame)(()=>{Array.isArray(e)&&e.length&&(g(w,this,p(w,this)+1),300===p(w,this)&&((0,d.warn)("The ResizeObserver callback was fired too many times in direct succession.\nThis may be due to an infinite loop caused by setting a dynamic height/width (for example, with the `dvh` units) to a Handsontable container's parent. \nThe observer will be disconnected."),this.resizeObserver.disconnect()),null!==p(b,this)&&clearTimeout(p(b,this)),g(b,this,setTimeout(()=>{g(w,this,0)},100)),this.wtSettings.getSetting("onContainerElementResize"))})})),this.wot=e,this.wtSettings=r,this.domBindings=o,this.facadeGetter=t,this.wtTable=l;const{rootDocument:h,rootWindow:c}=this.domBindings;this.instance=this.wot,this.eventManager=a,this.scrollbarSize=(0,i.getScrollbarWidth)(h);const f=c.getComputedStyle(l.wtRootElement.parentNode).getPropertyValue("overflow"),v="hidden"===f||"clip"===f;this.scrollableElement=v?l.holder:(0,i.getScrollableElement)(l.TABLE),this.initOverlays(),this.destroyed=!1,this.keyPressed=!1,this.spreaderLastSize={width:null,height:null},this.verticalScrolling=!1,this.horizontalScrolling=!1,this.initBrowserLineHeight(),this.registerListeners(),this.lastScrollX=c.scrollX,this.lastScrollY=c.scrollY}getOverlays(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=[...p(m,this)];return e&&t.push(this.wtTable),t}initBrowserLineHeight(){const{rootWindow:e,rootDocument:t}=this.domBindings,o=e.getComputedStyle(t.body),r=parseInt(o.lineHeight,10),n=1.2*parseInt(o.fontSize,10);this.browserLineHeight=r||n}initOverlays(){const e=[this.wot,this.facadeGetter,this.wtSettings,this.domBindings];this.topOverlay=new c.TopOverlay(...e),this.bottomOverlay=new c.BottomOverlay(...e),this.inlineStartOverlay=new c.InlineStartOverlay(...e),this.topInlineStartCornerOverlay=new c.TopInlineStartCornerOverlay(...e,this.topOverlay,this.inlineStartOverlay),this.bottomInlineStartCornerOverlay=new c.BottomInlineStartCornerOverlay(...e,this.bottomOverlay,this.inlineStartOverlay),g(m,this,[this.topOverlay,this.bottomOverlay,this.inlineStartOverlay,this.topInlineStartCornerOverlay,this.bottomInlineStartCornerOverlay])}beforeDraw(){g(C,this,p(m,this).reduce((e,t)=>t.hasRenderingStateChanged()||e,!1)),p(m,this).forEach(e=>e.updateStateOfRendering("before"))}afterDraw(){this.syncScrollWithMaster(),p(m,this).forEach(e=>{const t=e.hasRenderingStateChanged();e.updateStateOfRendering("after"),t&&!e.needFullRender&&e.reset()})}refreshAll(){this.wot.drawn&&(this.wtTable.holder.parentNode?(this.wot.draw(!0),this.verticalScrolling&&this.inlineStartOverlay.onScroll(),this.horizontalScrolling&&this.topOverlay.onScroll(),this.verticalScrolling=!1,this.horizontalScrolling=!1):this.destroy())}registerListeners(){const{rootDocument:e,rootWindow:t}=this.domBindings,{mainTableScrollableElement:o}=this.topOverlay,{mainTableScrollableElement:r}=this.inlineStartOverlay;this.eventManager.addEventListener(e.documentElement,"keydown",e=>this.onKeyDown(e)),this.eventManager.addEventListener(e.documentElement,"keyup",()=>this.onKeyUp()),this.eventManager.addEventListener(e,"visibilitychange",()=>this.onKeyUp()),this.eventManager.addEventListener(o,"scroll",e=>this.onTableScroll(e),{passive:!0}),o!==r&&this.eventManager.addEventListener(r,"scroll",e=>this.onTableScroll(e),{passive:!0});const n=t.devicePixelRatio&&t.devicePixelRatio>1,i=this.scrollableElement===t,a=this.wtSettings.getSetting("preventWheel"),l={passive:i};(a||n||!(0,h.isChrome)())&&this.eventManager.addEventListener(this.wtTable.wtRootElement,"wheel",e=>this.onCloneWheel(e,a),l);let d;[this.topOverlay,this.bottomOverlay,this.inlineStartOverlay,this.topInlineStartCornerOverlay,this.bottomInlineStartCornerOverlay].forEach(e=>{this.eventManager.addEventListener(e.clone.wtTable.holder,"wheel",e=>this.onCloneWheel(e,a),l)}),this.eventManager.addEventListener(t,"resize",()=>{(0,s.requestAnimationFrame)(()=>{clearTimeout(d),this.wtSettings.getSetting("onWindowResize"),d=setTimeout(()=>{g(w,this,0)},200)})}),i||this.resizeObserver.observe(this.wtTable.wtRootElement.parentElement)}onTableScroll(e){const t=this.domBindings.rootWindow,o=this.inlineStartOverlay.mainTableScrollableElement,r=this.topOverlay.mainTableScrollableElement,n=e.target;this.keyPressed&&(r!==t&&n!==t&&!e.target.contains(r)||o!==t&&n!==t&&!e.target.contains(o))||this.syncScrollPositions(e)}onCloneWheel(e,t){if(e.ctrlKey)return;const{rootWindow:o}=this.domBindings,r=this.inlineStartOverlay.mainTableScrollableElement,n=this.topOverlay.mainTableScrollableElement,i=e.target,s=n!==o&&i!==o&&!i.contains(n),a=r!==o&&i!==o&&!i.contains(r);if(this.keyPressed&&(s||a)||this.scrollableElement===o)return;const l=this.translateMouseWheelToScroll(e);(t||this.scrollableElement!==o&&l)&&e.preventDefault()}onKeyDown(e){this.keyPressed=(0,l.isKey)(e.keyCode,"ARROW_UP|ARROW_RIGHT|ARROW_DOWN|ARROW_LEFT")}onKeyUp(){this.keyPressed=!1}translateMouseWheelToScroll(e){let t=isNaN(e.deltaY)?-1*e.wheelDeltaY:e.deltaY,o=isNaN(e.deltaX)?-1*e.wheelDeltaX:e.deltaX;1===e.deltaMode&&(o+=o*this.browserLineHeight,t+=t*this.browserLineHeight);const r=this.scrollVertically(t),n=this.scrollHorizontally(o);return r||n}scrollVertically(e){const t=this.scrollableElement.scrollTop;return this.scrollableElement.scrollTop+=e,t!==this.scrollableElement.scrollTop}scrollHorizontally(e){const t=this.scrollableElement.scrollLeft;return this.scrollableElement.scrollLeft+=e,t!==this.scrollableElement.scrollLeft}syncScrollPositions(){if(this.destroyed)return;const e=this.topOverlay.clone.wtTable.holder,t=this.inlineStartOverlay.clone.wtTable.holder;let o=this.scrollableElement.scrollLeft,r=this.scrollableElement.scrollTop;if(this.wot.wtViewport.isHorizontallyScrollableByWindow()&&(o=this.scrollableElement.scrollX),this.wot.wtViewport.isVerticallyScrollableByWindow()&&(r=this.scrollableElement.scrollY),this.horizontalScrolling=this.lastScrollX!==o,this.verticalScrolling=this.lastScrollY!==r,this.lastScrollX=o,this.lastScrollY=r,this.horizontalScrolling){e.scrollLeft=o;const t=this.bottomOverlay.needFullRender?this.bottomOverlay.clone.wtTable.holder:null;t&&(t.scrollLeft=o)}this.verticalScrolling&&(t.scrollTop=r),this.refreshAll()}syncScrollWithMaster(){if(!p(C,this))return;const e=this.topOverlay.mainTableScrollableElement,{scrollLeft:t,scrollTop:o}=e;this.topOverlay.needFullRender&&(this.topOverlay.clone.wtTable.holder.scrollLeft=t),this.bottomOverlay.needFullRender&&(this.bottomOverlay.clone.wtTable.holder.scrollLeft=t),this.inlineStartOverlay.needFullRender&&(this.inlineStartOverlay.clone.wtTable.holder.scrollTop=o),g(C,this,!1)}updateMainScrollableElements(){this.eventManager.clearEvents(!0),this.inlineStartOverlay.updateMainScrollableElement(),this.topOverlay.updateMainScrollableElement(),this.bottomOverlay.needFullRender&&this.bottomOverlay.updateMainScrollableElement();const{wtTable:e}=this,{rootWindow:t}=this.domBindings,o=t.getComputedStyle(e.wtRootElement.parentNode).getPropertyValue("overflow");this.scrollableElement="hidden"===o||"clip"===o?e.holder:(0,i.getScrollableElement)(e.TABLE),this.registerListeners()}destroy(){this.resizeObserver.disconnect(),this.eventManager.destroy(),this.topOverlay.destroy(),this.bottomOverlay.clone&&this.bottomOverlay.destroy(),this.inlineStartOverlay.destroy(),this.topInlineStartCornerOverlay&&this.topInlineStartCornerOverlay.destroy(),this.bottomInlineStartCornerOverlay&&this.bottomInlineStartCornerOverlay.clone&&this.bottomInlineStartCornerOverlay.destroy(),this.destroyed=!0}refresh(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.updateLastSpreaderSize()&&this.adjustElementsSize(),this.bottomOverlay.clone&&this.bottomOverlay.refresh(e),this.inlineStartOverlay.refresh(e),this.topOverlay.refresh(e),this.topInlineStartCornerOverlay&&this.topInlineStartCornerOverlay.refresh(e),this.bottomInlineStartCornerOverlay&&this.bottomInlineStartCornerOverlay.clone&&this.bottomInlineStartCornerOverlay.refresh(e)}updateLastSpreaderSize(){const e=this.wtTable.spreader,t=e.clientWidth,o=e.clientHeight,r=t!==this.spreaderLastSize.width||o!==this.spreaderLastSize.height;return r&&(this.spreaderLastSize.width=t,this.spreaderLastSize.height=o),r}adjustElementsSize(){const{wtViewport:e}=this.wot,{wtTable:t}=this,{rootWindow:o}=this.domBindings,r=this.scrollableElement===o,n=this.wtSettings.getSetting("totalColumns"),i=this.wtSettings.getSetting("totalRows"),s=e.getRowHeaderWidth(),a=e.getColumnHeaderHeight(),l=this.wtSettings.getSetting("externalRowCalculator")?0:1,h=a+this.topOverlay.sumCellSizes(0,i)+l,d=s+this.inlineStartOverlay.sumCellSizes(0,n),c=t.hider.style,u=(()=>!r&&this.scrollableElement.scrollTop>Math.max(0,h-t.holder.clientHeight))()?1:0,g=(()=>!r&&this.scrollableElement.scrollLeft>Math.max(0,d-t.holder.clientWidth))()?1:0;c.width=`${d+g}px`,c.height=`${h+u}px`,this.topOverlay.adjustElementsSize(),this.inlineStartOverlay.adjustElementsSize(),this.bottomOverlay.adjustElementsSize()}expandHiderVerticallyBy(e){const{wtTable:t}=this;t.hider.style.height=`${parseInt(t.hider.style.height,10)+e}px`}expandHiderHorizontallyBy(e){const{wtTable:t}=this;t.hider.style.width=`${parseInt(t.hider.style.width,10)+e}px`}applyToDOM(){this.wtTable.isVisible()&&(this.topOverlay.applyToDOM(),this.bottomOverlay.clone&&this.bottomOverlay.applyToDOM(),this.inlineStartOverlay.applyToDOM())}getParentOverlay(e){if(!e)return null;const t=[this.topOverlay,this.inlineStartOverlay,this.bottomOverlay,this.topInlineStartCornerOverlay,this.bottomInlineStartCornerOverlay];let o=null;return(0,a.arrayEach)(t,t=>{t&&t.clone&&t.clone.wtTable.TABLE.contains(e)&&(o=t.clone)}),o}syncOverlayTableClassNames(){const e=this.wtTable.TABLE,t=[this.topOverlay,this.inlineStartOverlay,this.bottomOverlay,this.topInlineStartCornerOverlay,this.bottomInlineStartCornerOverlay];(0,a.arrayEach)(t,t=>{t&&(t.clone.wtTable.TABLE.className=e.className)})}}},93241(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(3076);t.BaseRenderer=class{constructor(e,t){(0,n.default)(this,"nodesPool",null),(0,n.default)(this,"nodeType",void 0),(0,n.default)(this,"rootNode",void 0),(0,n.default)(this,"table",null),(0,n.default)(this,"renderedNodes",0),this.nodesPool="string"==typeof e?new i.NodesPool(e):null,this.nodeType=e,this.rootNode=t}setTable(e){this.nodesPool&&this.nodesPool.setRootDocument(e.rootDocument),this.table=e}adjust(){}render(){}}},21556(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(23876),s=o(35109),a=o(93241),l=o(12175);class h extends a.BaseRenderer{constructor(){super("TD"),(0,n.default)(this,"orderViews",new WeakMap),(0,n.default)(this,"sourceRowIndex",0)}obtainOrderView(e){let t;return this.orderViews.has(e)?t=this.orderViews.get(e):(t=new s.SharedOrderView(e,e=>this.nodesPool.obtain(this.sourceRowIndex,e),this.nodeType),this.orderViews.set(e,t)),t}render(){const{rowsToRender:e,columnsToRender:t,rows:o,rowHeaders:r}=this.table;for(let a=0;a<e;a++){const e=this.table.renderedRowToSource(a),h=o.getRenderedNode(a);this.sourceRowIndex=e;const d=this.obtainOrderView(h),c=r.obtainOrderView(h);d.prependView(c).setSize(t).setOffset(0).start();for(let o=0;o<t;o++){d.render();const t=this.table.renderedColumnToSource(o),r=d.getCurrentNode();var n,s;if((0,i.hasClass)(r,"hide")||(r.className=""),r.removeAttribute("style"),r.removeAttribute("dir"),(0,i.removeAttribute)(r,[new RegExp("aria-(.*)"),new RegExp("role")]),this.table.cellRenderer(e,t,r),this.table.isAriaEnabled())(0,i.setAttribute)(r,[...r.hasAttribute("role")?[]:[(0,l.A11Y_GRIDCELL)()],(0,l.A11Y_TABINDEX)(-1),(0,l.A11Y_COLINDEX)(t+(null!==(n=null===(s=this.table.rowUtils)||void 0===s||null===(s=s.dataAccessObject)||void 0===s?void 0:s.rowHeaders.length)&&void 0!==n?n:0)+1)])}d.end()}}}t.CellsRenderer=h},57580(e,t,o){"use strict";t.__esModule=!0;var r=o(93241),n=o(26070),i=o(26192),s=o(23876);let a=!1;class l extends r.BaseRenderer{constructor(e){super(null,e)}adjust(){const{columnsToRender:e,rowHeadersCount:t}=this.table,o=e+t;for(;this.renderedNodes<o;)this.rootNode.appendChild(this.table.rootDocument.createElement("col")),this.renderedNodes+=1;for(;this.renderedNodes>o;)this.rootNode.removeChild(this.rootNode.lastChild),this.renderedNodes-=1}render(){this.adjust();const{columnsToRender:e,rowHeadersCount:t}=this.table;!a&&e>1e3&&(a=!0,(0,n.warn)(i.toSingleLine`Performance tip: Handsontable rendered more than 1000 visible columns.\x20
32
32
  Consider limiting the number of rendered columns by specifying the table width and/or\x20
33
33
  turning off the "renderAllColumns" option.`));for(let e=0;e<t;e++){const t=this.table.renderedColumnToSource(e),o=this.table.columnUtils.getHeaderWidth(t);this.rootNode.childNodes[e].style.width=`${o}px`}for(let o=0;o<e;o++){const e=this.table.renderedColumnToSource(o),r=this.table.columnUtils.getWidth(e);this.rootNode.childNodes[o+t].style.width=`${r}px`}const o=this.rootNode.firstChild;o&&(0,s.addClass)(o,"rowHeader")}}t.ColGroupRenderer=l},65809(e,t,o){"use strict";t.__esModule=!0;var r=o(23876),n=o(93241),i=o(12175);class s extends n.BaseRenderer{constructor(e){super(null,e)}adjust(){const{columnHeadersCount:e,rowHeadersCount:t}=this.table;let o=this.rootNode.firstChild;if(e){const{columnsToRender:r}=this.table,n=r+t;for(let t=0,r=e;t<r;t++){for(o=this.rootNode.childNodes[t],o||(o=this.table.rootDocument.createElement("tr"),this.rootNode.appendChild(o)),this.renderedNodes=o.childNodes.length;this.renderedNodes<n;)o.appendChild(this.table.rootDocument.createElement("th")),this.renderedNodes+=1;for(;this.renderedNodes>n;)o.removeChild(o.lastChild),this.renderedNodes-=1}const i=this.rootNode.childNodes.length;if(i>e)for(let t=e;t<i;t++)this.rootNode.removeChild(this.rootNode.lastChild)}else o&&(0,r.empty)(o)}render(){const{columnHeadersCount:e}=this.table;this.table.isAriaEnabled()&&(0,r.setAttribute)(this.rootNode,[(0,i.A11Y_ROWGROUP)()]);for(let t=0;t<e;t+=1){const{columnHeaderFunctions:e,columnsToRender:o,rowHeadersCount:n}=this.table,s=this.rootNode.childNodes[t];this.table.isAriaEnabled()&&(0,r.setAttribute)(s,[(0,i.A11Y_ROW)(),(0,i.A11Y_ROWINDEX)(t+1)]);for(let a=-1*n;a<o;a+=1){const o=this.table.renderedColumnToSource(a),l=s.childNodes[a+n];l.className="",l.removeAttribute("style"),(0,r.removeAttribute)(l,[new RegExp("aria-(.*)"),new RegExp("role")]),this.table.isAriaEnabled()&&(0,r.setAttribute)(l,[(0,i.A11Y_COLINDEX)(a+1+this.table.rowHeadersCount),(0,i.A11Y_TABINDEX)(-1),(0,i.A11Y_COLUMNHEADER)(),...a>=0?[(0,i.A11Y_SCOPE_COL)()]:[(0,i.A11Y_GRIDCELL_BUTTON)(),(0,i.A11Y_LABEL)("Select whole grid")]]),e[t](o,l,t)}}}}t.ColumnHeadersRenderer=s},58189(e,t,o){"use strict";t.__esModule=!0;var r=o(45719);t.RowHeadersRenderer=r.RowHeadersRenderer;var n=o(65809);t.ColumnHeadersRenderer=n.ColumnHeadersRenderer;var i=o(57580);t.ColGroupRenderer=i.ColGroupRenderer;var s=o(72656);t.RowsRenderer=s.RowsRenderer;var a=o(21556);t.CellsRenderer=a.CellsRenderer;var l=o(34893);t.TableRenderer=l.TableRenderer;t.Renderer=class{constructor(){let{TABLE:e,THEAD:t,COLGROUP:o,TBODY:h,rowUtils:d,columnUtils:c,cellRenderer:u,stylesHandler:g}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.renderer=new l.TableRenderer(e,{cellRenderer:u,stylesHandler:g}),this.renderer.setRenderers({rowHeaders:new r.RowHeadersRenderer,columnHeaders:new n.ColumnHeadersRenderer(t),colGroup:new i.ColGroupRenderer(o),rows:new s.RowsRenderer(h),cells:new a.CellsRenderer}),this.renderer.setAxisUtils(d,c)}setActiveOverlayName(e){return this.renderer.setActiveOverlayName(e),this}setFilters(e,t){return this.renderer.setFilters(e,t),this}setViewportSize(e,t){return this.renderer.setViewportSize(e,t),this}setHeaderContentRenderers(e,t){return this.renderer.setHeaderContentRenderers(e,t),this}adjust(){this.renderer.adjust()}render(){this.renderer.render()}}},45719(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(35109),s=o(93241),a=o(23876),l=o(12175);class h extends s.BaseRenderer{constructor(){super("TH"),(0,n.default)(this,"orderViews",new WeakMap),(0,n.default)(this,"sourceRowIndex",0)}obtainOrderView(e){let t;return this.orderViews.has(e)?t=this.orderViews.get(e):(t=new i.SharedOrderView(e,e=>this.nodesPool.obtain(this.sourceRowIndex,e),this.nodeType),this.orderViews.set(e,t)),t}render(){const{rowsToRender:e,rowHeaderFunctions:t,rowHeadersCount:o,rows:r,cells:n}=this.table;for(let i=0;i<e;i++){const e=this.table.renderedRowToSource(i),s=r.getRenderedNode(i);this.sourceRowIndex=e;const h=this.obtainOrderView(s),d=n.obtainOrderView(s);h.appendView(d).setSize(o).setOffset(0).start();for(let r=o-1;r>=0;r--){h.render();const o=h.getCurrentNode();o.className="",o.removeAttribute("style"),(0,a.removeAttribute)(o,[new RegExp("aria-(.*)"),new RegExp("role")]),this.table.isAriaEnabled()&&(0,a.setAttribute)(o,[(0,l.A11Y_ROWHEADER)(),(0,l.A11Y_SCOPE_ROW)(),(0,l.A11Y_COLINDEX)(r+1),(0,l.A11Y_TABINDEX)(-1)]),t[r](e,o,r)}h.end()}}}t.RowHeadersRenderer=h},72656(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(93241),s=o(26070),a=o(26192),l=o(35109),h=o(23876),d=o(12175);const c="ht__row_even",u="ht__row_odd";let g=!1;class p extends i.BaseRenderer{constructor(e){super("TR",e),(0,n.default)(this,"orderView",void 0),this.orderView=new l.OrderView(e,e=>this.nodesPool.obtain(e),this.nodeType)}getRenderedNode(e){return this.orderView.getNode(e)}render(){const{rowsToRender:e}=this.table;!g&&e>1e3&&(g=!0,(0,s.warn)(a.toSingleLine`Performance tip: Handsontable rendered more than 1000 visible rows.\x20
34
34
  Consider limiting the number of rendered rows by specifying the table height and/or\x20
35
- turning off the "renderAllRows" option.`)),this.table.isAriaEnabled()&&(0,h.setAttribute)(this.rootNode,[(0,d.A11Y_ROWGROUP)()]),this.orderView.setSize(e).setOffset(this.table.renderedRowToSource(0)).start();for(let r=0;r<e;r++){this.orderView.render();const e=this.orderView.getCurrentNode(),n=this.table.renderedRowToSource(r);var t,o;if(this.table.isAriaEnabled())(0,h.setAttribute)(e,[(0,d.A11Y_ROW)(),(0,d.A11Y_ROWINDEX)(n+(null!==(t=null===(o=this.table.rowUtils)||void 0===o||null===(o=o.dataAccessObject)||void 0===o?void 0:o.columnHeaders.length)&&void 0!==t?t:0)+1)]);(n+1)%2==0?(0,h.hasClass)(e,c)||((0,h.removeClass)(e,u),(0,h.addClass)(e,c)):(0,h.hasClass)(e,u)||((0,h.removeClass)(e,c),(0,h.addClass)(e,u))}this.orderView.end()}}t.RowsRenderer=p},34893(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.TableRenderer=class{constructor(e){let{cellRenderer:t,stylesHandler:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,n.default)(this,"rootNode",void 0),(0,n.default)(this,"rootDocument",void 0),(0,n.default)(this,"rowHeaders",null),(0,n.default)(this,"columnHeaders",null),(0,n.default)(this,"colGroup",null),(0,n.default)(this,"rows",null),(0,n.default)(this,"cells",null),(0,n.default)(this,"rowFilter",null),(0,n.default)(this,"columnFilter",null),(0,n.default)(this,"rowUtils",null),(0,n.default)(this,"columnUtils",null),(0,n.default)(this,"rowsToRender",0),(0,n.default)(this,"columnsToRender",0),(0,n.default)(this,"rowHeaderFunctions",[]),(0,n.default)(this,"rowHeadersCount",0),(0,n.default)(this,"columnHeaderFunctions",[]),(0,n.default)(this,"columnHeadersCount",0),(0,n.default)(this,"cellRenderer",void 0),(0,n.default)(this,"activeOverlayName",void 0),(0,n.default)(this,"stylesHandler",void 0),this.rootNode=e,this.rootDocument=this.rootNode.ownerDocument,this.cellRenderer=t,this.stylesHandler=o}setActiveOverlayName(e){this.activeOverlayName=e}setAxisUtils(e,t){this.rowUtils=e,this.columnUtils=t}setViewportSize(e,t){this.rowsToRender=e,this.columnsToRender=t}setFilters(e,t){this.rowFilter=e,this.columnFilter=t}setHeaderContentRenderers(e,t){this.rowHeaderFunctions=e,this.rowHeadersCount=e.length,this.columnHeaderFunctions=t,this.columnHeadersCount=t.length}setRenderers(){let{rowHeaders:e,columnHeaders:t,colGroup:o,rows:r,cells:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.setTable(this),t.setTable(this),o.setTable(this),r.setTable(this),n.setTable(this),this.rowHeaders=e,this.columnHeaders=t,this.colGroup=o,this.rows=r,this.cells=n}renderedRowToSource(e){return this.rowFilter.renderedToSource(e)}renderedColumnToSource(e){return this.columnFilter.renderedToSource(e)}isAriaEnabled(){return this.rowUtils.wtSettings.getSetting("ariaTags")}render(){this.colGroup.adjust(),this.columnHeaders.adjust(),this.rows.adjust(),this.rowHeaders.adjust(),this.columnHeaders.render(),this.rows.render(),this.rowHeaders.render(),this.cells.render(),this.columnUtils.calculateWidths(),this.colGroup.render();const{rowsToRender:e,rows:t}=this;for(let o=0;o<e;o++){const e=t.getRenderedNode(o),r=this.rowUtils;if(e.firstChild){const t=this.renderedRowToSource(o),n=r.getHeightByOverlayName(t,this.activeOverlayName),i=this.stylesHandler.areCellsBorderBox()?0:1;e.firstChild.style.height=n?n-i+"px":""}}}}},34660(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(23876),s=o(38888);function a(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function l(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var h=new WeakSet;function d(e){const{wtSettings:t,inlineStartOverlay:o,wtTable:r,wtViewport:n,totalColumns:s,rootWindow:a}=this.dataAccessObject;if(o.mainTableScrollableElement===a){let l=null;if(t.getSetting("rtlMode")){const e=r.TABLE.getBoundingClientRect(),t=this.dataAccessObject.rootWindow.document.documentElement.offsetWidth;l=Math.abs(e.right-t)}else{l=(0,i.offset)(r.wtRootElement).left}const h=Math.abs((0,i.getScrollLeft)(a,a));if(l>h){const t=(0,i.innerWidth)(a);let r=n.getRowHeaderWidth();for(let n=1;n<=s;n++)if(r+=o.sumCellSizes(n-1,n),l+r-h>=t){e=n-2;break}}}return e}function c(e){const{topOverlay:t,wtTable:o,wtViewport:r,totalRows:n,rootWindow:s}=this.dataAccessObject;if(t.mainTableScrollableElement===s){const a=(0,i.offset)(o.wtRootElement),l=(0,i.getScrollTop)(s,s);if(a.top>l){const o=(0,i.innerHeight)(s);let h=r.getColumnHeaderHeight();for(let r=1;r<=n;r++)if(h+=t.sumCellSizes(r-1,r),a.top+h-l>=o){e=r-2;break}}}return e}t.default=class{constructor(e){a(this,h),(0,n.default)(this,"dataAccessObject",void 0),this.dataAccessObject=e}scrollViewport(e,t,o){if(e.col<0||e.row<0)return!1;const r=this.scrollViewportHorizontally(e.col,t),n=this.scrollViewportVertically(e.row,o);return r||n}scrollViewportHorizontally(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto";const{drawn:o,totalColumns:r}=this.dataAccessObject;if(!o)return!1;const n=(0,s.createObjectPropListener)(t);if(e=this.dataAccessObject.wtSettings.getSetting("onBeforeViewportScrollHorizontally",e,n),!Number.isInteger(e)||e<0||e>r)return!1;t=n.value;const{fixedColumnsStart:i,inlineStartOverlay:a}=this.dataAccessObject,l="auto"===t;if(l&&e<i)return!1;const h=this.getFirstVisibleColumn(),d=this.getLastVisibleColumn();let c=!1;return(l&&(e<h||e>d)||!l)&&(c=a.scrollTo(e,l?e>=this.getLastPartiallyVisibleColumn():"end"===t)),c}scrollViewportVertically(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto";const{drawn:o,totalRows:r}=this.dataAccessObject;if(!o)return!1;const n=(0,s.createObjectPropListener)(t);if(e=this.dataAccessObject.wtSettings.getSetting("onBeforeViewportScrollVertically",e,n),!Number.isInteger(e)||e<0||e>r)return!1;t=n.value;const{fixedRowsBottom:i,fixedRowsTop:a,topOverlay:l}=this.dataAccessObject,h="auto"===t;if(h&&(e<a||e>r-i-1))return!1;const d=this.getFirstVisibleRow(),c=this.getLastVisibleRow();let u=!1;return(h&&(e<d||e>c)||!h)&&(u=l.scrollTo(e,h?e>=this.getLastPartiallyVisibleRow():"bottom"===t)),u}getFirstVisibleRow(){return this.dataAccessObject.wtTable.getFirstVisibleRow()}getLastVisibleRow(){return l(h,this,c).call(this,this.dataAccessObject.wtTable.getLastVisibleRow())}getFirstPartiallyVisibleRow(){return this.dataAccessObject.wtTable.getFirstPartiallyVisibleRow()}getLastPartiallyVisibleRow(){return l(h,this,c).call(this,this.dataAccessObject.wtTable.getLastPartiallyVisibleRow())}getFirstVisibleColumn(){return this.dataAccessObject.wtTable.getFirstVisibleColumn()}getLastVisibleColumn(){return l(h,this,d).call(this,this.dataAccessObject.wtTable.getLastVisibleColumn())}getFirstPartiallyVisibleColumn(){return this.dataAccessObject.wtTable.getFirstPartiallyVisibleColumn()}getLastPartiallyVisibleColumn(){return l(h,this,d).call(this,this.dataAccessObject.wtTable.getLastPartiallyVisibleColumn())}}},78713(e,t,o){"use strict";t.__esModule=!0;var r=o(23876),n=o(31100),i=o(38888),s=o(46027),a=o(55494);const l="ht-border-style-";t.default=class{constructor(e,t){t&&(this.eventManager=e.eventManager,this.instance=e,this.wot=e,this.settings=t,this.mouseDown=!1,this.main=null,this.top=null,this.bottom=null,this.start=null,this.end=null,this.topStyle=null,this.bottomStyle=null,this.startStyle=null,this.endStyle=null,this.cornerDefaultStyle=(0,a.getCornerStyle)(this.instance),this.cornerCenterPointOffset=-Math.ceil(parseInt(this.cornerDefaultStyle.width,10)/2),this.corner=null,this.cornerStyle=null,this.createBorders(t),this.registerListeners())}registerListeners(){const e=this.wot.rootDocument.body;this.eventManager.addEventListener(e,"mousedown",()=>this.onMouseDown()),this.eventManager.addEventListener(e,"mouseup",()=>this.onMouseUp());for(let e=0,t=this.main.childNodes.length;e<t;e++){const t=this.main.childNodes[e];this.eventManager.addEventListener(t,"mouseenter",t=>this.onMouseEnter(t,this.main.childNodes[e]))}}onMouseDown(){this.mouseDown=!0}onMouseUp(){this.mouseDown=!1}onMouseEnter(e,t){if(!this.mouseDown||!this.wot.getSetting("hideBorderOnMouseDownOver"))return;e.preventDefault(),(0,n.stopImmediatePropagation)(e);const o=this,r=this.wot.rootDocument.body,i=t.getBoundingClientRect();t.style.display="none",this.eventManager.addEventListener(r,"mousemove",function e(n){var s;((s=n).clientY<Math.floor(i.top)||s.clientY>Math.ceil(i.top+i.height)||s.clientX<Math.floor(i.left)||s.clientX>Math.ceil(i.left+i.width))&&(o.eventManager.removeEventListener(r,"mousemove",e),t.style.display="block")})}createBorders(e){const{rootDocument:t}=this.wot;this.main=t.createElement("div");const o=["top","start","bottom","end","corner"];let r=this.main.style;r.position="absolute",r.top=0,r.left=0;for(let n=0;n<5;n++){const i=o[n],s=t.createElement("div"),a=t=>this.settings[i]&&this.settings[i][t]?this.settings[i][t]:e.border[t];s.className=`wtBorder ${this.settings.className||""}`,this.settings[i]&&this.settings[i].hide&&(s.className+=" hidden"),r=s.style;const h=a("style");h?(["start","end"].includes(i)?s.className+=` ${l}${h}-vertical`:s.className+=` ${l}${h}-horizontal`,r.setProperty("--ht-custom-border-size",`${a("width")}px`),r.setProperty("--ht-custom-border-color",a("color"))):r.backgroundColor=a("color"),r.height=`${a("width")}px`,r.width=`${a("width")}px`,this.main.appendChild(s)}this.top=this.main.childNodes[0],this.start=this.main.childNodes[1],this.bottom=this.main.childNodes[2],this.end=this.main.childNodes[3],this.topStyle=this.top.style,this.startStyle=this.start.style,this.bottomStyle=this.bottom.style,this.endStyle=this.end.style,this.corner=this.main.childNodes[4],this.corner.className+=" corner",this.cornerStyle=this.corner.style,this.cornerStyle.width=`${this.cornerDefaultStyle.width}px`,this.cornerStyle.height=`${this.cornerDefaultStyle.height}px`,this.cornerStyle.border=[`${this.cornerDefaultStyle.borderWidth}px`,this.cornerDefaultStyle.borderStyle,this.cornerDefaultStyle.borderColor].join(" "),(0,s.isMobileBrowser)()&&this.instance.getSetting("isDataViewInstance")&&this.createMultipleSelectorHandles(),this.disappear();const{wtTable:n}=this.wot;let i=n.bordersHolder;i||(i=t.createElement("div"),i.className="htBorders",n.bordersHolder=i,n.spreader.appendChild(i)),i.appendChild(this.main)}createMultipleSelectorHandles(){const{rootDocument:e,wtSettings:t}=this.wot,o=t.getSetting("stylesHandler"),r=o.getCSSVariableValue("cell-mobile-handle-size"),n=o.getCSSVariableValue("cell-mobile-handle-border-radius"),s=o.getCSSVariableValue("cell-mobile-handle-background-color"),a=o.getCSSVariableValue("cell-mobile-handle-background-opacity"),l=o.getCSSVariableValue("cell-mobile-handle-border-width"),h=o.getCSSVariableValue("cell-mobile-handle-border-color");this.selectionHandles={top:e.createElement("DIV"),topHitArea:e.createElement("DIV"),bottom:e.createElement("DIV"),bottomHitArea:e.createElement("DIV")};this.selectionHandles.top.className="topSelectionHandle topLeftSelectionHandle",this.selectionHandles.topHitArea.className="topSelectionHandle-HitArea topLeftSelectionHandle-HitArea",this.selectionHandles.bottom.className="bottomSelectionHandle bottomRightSelectionHandle",this.selectionHandles.bottomHitArea.className="bottomSelectionHandle-HitArea bottomRightSelectionHandle-HitArea",this.selectionHandles.styles={top:this.selectionHandles.top.style,topHitArea:this.selectionHandles.topHitArea.style,bottom:this.selectionHandles.bottom.style,bottomHitArea:this.selectionHandles.bottomHitArea.style};const d={position:"absolute",height:"40px",width:"40px","border-radius":`${parseInt(40/1.5,10)}px`};(0,i.objectEach)(d,(e,t)=>{this.selectionHandles.styles.bottomHitArea[t]=e,this.selectionHandles.styles.topHitArea[t]=e});const c={position:"absolute",height:`${r}px`,width:`${r}px`,"border-radius":`${n}px`,background:`color-mix(in srgb, ${s} ${a}, transparent)`,border:`${l}px solid ${h}`};(0,i.objectEach)(c,(e,t)=>{this.selectionHandles.styles.bottom[t]=e,this.selectionHandles.styles.top[t]=e}),this.main.appendChild(this.selectionHandles.top),this.main.appendChild(this.selectionHandles.bottom),this.main.appendChild(this.selectionHandles.topHitArea),this.main.appendChild(this.selectionHandles.bottomHitArea)}isPartRange(e,t){const o=this.wot.selectionManager.getAreaSelection();return!(!o.cellRange||e===o.cellRange.to.row&&t===o.cellRange.to.col)}updateMultipleSelectionHandlesPosition(e,t,o,r,n,i){const s=this.wot.wtSettings.getSetting("rtlMode")?"right":"left",{top:a,topHitArea:l,bottom:h,bottomHitArea:d}=this.selectionHandles.styles,c=parseInt(a.borderWidth,10),u=parseInt(a.width,10),g=parseInt(l.width,10),p=this.wot.wtTable.getWidth(),f=this.wot.wtTable.getHeight();a.top=`${parseInt(o-u-1,10)}px`,a[s]=`${parseInt(r-u-1,10)}px`,l.top=`${parseInt(o-g/4*3,10)}px`,l[s]=`${parseInt(r-g/4*3,10)}px`;const m=Math.min(parseInt(r+n,10),p-u-2*c),C=Math.min(parseInt(r+n-g/4,10),p-g-2*c);h[s]=`${m}px`,d[s]=`${C}px`;const w=Math.min(parseInt(o+i,10),f-u-2*c),b=Math.min(parseInt(o+i-g/4,10),f-g-2*c);h.top=`${w}px`,d.top=`${b}px`,this.settings.border.cornerVisible&&this.settings.border.cornerVisible()?(a.display="block",l.display="block",this.isPartRange(e,t)?(h.display="none",d.display="none"):(h.display="block",d.display="block")):(a.display="none",h.display="none",l.display="none",d.display="none"),e===this.wot.wtSettings.getSetting("fixedRowsTop")||t===this.wot.wtSettings.getSetting("fixedColumnsStart")?(a.zIndex="9999",l.zIndex="9999"):(a.zIndex="",l.zIndex="")}appear(e){if(this.disabled)return;let[t,o,n,i]=e;if(t<0&&n<0||o<0&&i<0)return void this.disappear();const{wtTable:a,rootDocument:l,rootWindow:h}=this.wot,d=t!==n||o!==i,c=a.getFirstRenderedRow(),u=a.getLastRenderedRow(),g=a.getFirstRenderedColumn(),p=a.getLastRenderedColumn();if(g<0&&p<0||c<0&&u<0)return void this.disappear();let f;if(d){if(o=Math.max(o,g),i=Math.min(i,p),t=Math.max(t,c),n=Math.min(n,u),i<o||n<t)return void this.disappear();f=a.getCell(this.wot.createCellCoords(t,o))}else if(f=a.getCell(this.wot.createCellCoords(t,o)),!(0,r.isHTMLElement)(f))return void this.disappear();const m=d?a.getCell(this.wot.createCellCoords(n,i)):f,C=(0,r.offset)(f),w=d?(0,r.offset)(m):C,b=(0,r.offset)(a.TABLE),v=C.top,y=C.left,S=this.wot.wtSettings.getSetting("rtlMode");let E=0,_=0;if(S){const e=(0,r.outerWidth)(a.TABLE),t=(0,r.outerWidth)(f),o=h.innerWidth-b.left-e;_=y+t-w.left,E=h.innerWidth-y-t-o-1}else _=w.left+(0,r.outerWidth)(m)-y,E=y-b.left-1;if(this.isEntireColumnSelected(t,n)){const e=t,r=this.getDimensionsFromHeader("columns",o,i,e,b);let n=null;r&&([n,E,_]=r),n&&(f=n)}let R=v-b.top-1,T=w.top+(0,r.outerHeight)(m)-v;if(this.isEntireRowSelected(o,i)){const e=o,r=this.getDimensionsFromHeader("rows",t,n,e,b);let i=null;r&&([i,R,T]=r),i&&(f=i)}const M=h.getComputedStyle(f);parseInt(M.borderTopWidth,10)>0&&(R+=1,T=T>0?T-1:0),parseInt(M[S?"borderRightWidth":"borderLeftWidth"],10)>0&&(E+=1,_=_>0?_-1:0);const I=S?"right":"left",k=Math.ceil(this.settings.border.width/2);this.topStyle.top=`${R}px`,this.topStyle[I]=`${E}px`,this.topStyle.width=`${_+k}px`,this.topStyle.display="block",this.startStyle.top=`${R}px`,this.startStyle[I]=`${E}px`,this.startStyle.height=`${T+k}px`,this.startStyle.display="block",this.bottomStyle.top=`${R+T-parseInt(this.bottomStyle.height,10)+k}px`,this.bottomStyle[I]=`${E}px`,this.bottomStyle.width=`${_+k}px`,this.bottomStyle.display="block",this.endStyle.top=`${R}px`,this.endStyle[I]=`${E+_-parseInt(this.endStyle.width,10)+k}px`,this.endStyle.height=`${T+k}px`,this.endStyle.display="block";let O=this.settings.border.cornerVisible;O="function"==typeof O?O(this.settings.layerLevel):O;const A=this.wot.getSetting("onModifyGetCellCoords",n,i,!1,"render");let[x,N]=[n,i];if(A&&Array.isArray(A)&&([,,x,N]=A),(0,s.isMobileBrowser)()||!O||this.isPartRange(x,N))this.cornerStyle.display="none";else{this.cornerStyle.top=R+T+this.cornerCenterPointOffset-this.cornerDefaultStyle.borderWidth+"px",this.cornerStyle[I]=E+_+this.cornerCenterPointOffset-this.cornerDefaultStyle.borderWidth+"px",this.cornerStyle.borderRightWidth=`${this.cornerDefaultStyle.borderWidth}px`,this.cornerStyle.borderLeftWidth=`${this.cornerDefaultStyle.borderWidth}px`,this.cornerStyle.borderBottomWidth=`${this.cornerDefaultStyle.borderWidth}px`,this.cornerStyle.width=this.cornerDefaultStyle.width,this.cornerStyle.display="none";let e=(0,r.getTrimmingContainer)(a.TABLE);const t=e===h;t&&(e=l.documentElement);const o=parseInt(this.cornerDefaultStyle.borderWidth,10)-1,s=Math.ceil(parseInt(this.cornerDefaultStyle.width,10)/2),d=Math.ceil(parseInt(this.cornerDefaultStyle.height,10)/2);if(i===this.wot.getSetting("totalColumns")-1){const n=t?m.getBoundingClientRect().left:m.offsetLeft;let i=!1,a=0;if(S?(a=n-parseInt(this.cornerDefaultStyle.width,10)/2,i=a<0):(a=n+(0,r.outerWidth)(m)+parseInt(this.cornerDefaultStyle.width,10)/2,i=a>=(0,r.innerWidth)(e)),i){const e=Math.floor(E+_+this.cornerCenterPointOffset-s-o);(0,r.addClass)(this.corner,"wtCornerInlineEndEdge"),this.cornerStyle[I]=e-1+"px"}}else(0,r.removeClass)(this.corner,"wtCornerInlineEndEdge");if(n===this.wot.getSetting("totalRows")-1){if((t?m.getBoundingClientRect().top:m.offsetTop)+(0,r.outerHeight)(m)+parseInt(this.cornerDefaultStyle.height,10)/2>=(0,r.innerHeight)(e)){const e=Math.floor(R+T+this.cornerCenterPointOffset-d-o);(0,r.addClass)(this.corner,"wtCornerBlockEndEdge"),this.cornerStyle.top=e-1+"px"}}else(0,r.removeClass)(this.corner,"wtCornerBlockEndEdge");this.cornerStyle.display="block"}(0,s.isMobileBrowser)()&&this.instance.getSetting("isDataViewInstance")&&this.updateMultipleSelectionHandlesPosition(n,i,R,E,_,T)}isEntireColumnSelected(e,t){return e===this.wot.wtTable.getFirstRenderedRow()&&t===this.wot.wtTable.getLastRenderedRow()}isEntireRowSelected(e,t){return e===this.wot.wtTable.getFirstRenderedColumn()&&t===this.wot.wtTable.getLastRenderedColumn()}getDimensionsFromHeader(e,t,o,n,i){const{wtTable:s}=this.wot,a=s.wtRootElement.parentNode;let l=null,h=null,d=null,c=null,u=null,g=null,p=null,f=null;switch(e){case"rows":l=function(){return s.getRowHeader(...arguments)},h=function(){return(0,r.outerHeight)(...arguments)},d="ht__selection--rows",g="top";break;case"columns":l=function(){return s.getColumnHeader(...arguments)},h=function(){return(0,r.outerWidth)(...arguments)},d="ht__selection--columns",g="left"}if(a.classList.contains(d)){const e=this.wot.getSetting("columnHeaders").length;if(p=l(t,e-n),f=l(o,e-n),!p||!f)return!1;const s=(0,r.offset)(p),a=(0,r.offset)(f);return p&&f&&(c=s[g]-i[g]-1,u=a[g]+h(f)-s[g]),[p,c,u]}return!1}changeBorderStyle(e,t){const o=this[e].style,n=t[e];!n||n.hide?(0,r.addClass)(this[e],"hidden"):((0,r.hasClass)(this[e],"hidden")&&(0,r.removeClass)(this[e],"hidden"),o.backgroundColor=n.color,"top"!==e&&"bottom"!==e||(o.height=`${n.width}px`),"start"!==e&&"end"!==e||(o.width=`${n.width}px`))}changeBorderToDefaultStyle(e){const t=1,o="#000",r=this[e].style;r.backgroundColor=o,r.width=`${t}px`,r.height=`${t}px`}toggleHiddenClass(e,t){this.changeBorderToDefaultStyle(e),t?(0,r.addClass)(this[e],"hidden"):(0,r.removeClass)(this[e],"hidden")}disappear(){this.topStyle.display="none",this.bottomStyle.display="none",this.startStyle.display="none",this.endStyle.display="none",this.cornerStyle.display="none",(0,s.isMobileBrowser)()&&this.instance.getSetting("isDataViewInstance")&&(this.selectionHandles.styles.top.display="none",this.selectionHandles.styles.topHitArea.display="none",this.selectionHandles.styles.bottom.display="none",this.selectionHandles.styles.bottomHitArea.display="none")}destroy(){this.eventManager.destroyWithOwnEventsOnly(),this.main.parentNode.removeChild(this.main)}}},55494(e,t){"use strict";t.__esModule=!0;t.getCornerStyle=e=>{const t=e.wtSettings.getSetting("stylesHandler"),o=t.getCSSVariableValue("cell-autofill-size"),r=t.getCSSVariableValue("cell-autofill-border-width"),n=t.getCSSVariableValue("cell-autofill-border-color");return Object.freeze({width:o,height:o,borderWidth:r,borderStyle:"solid",borderColor:n})}},78397(e,t){"use strict";t.__esModule=!0;t.ACTIVE_HEADER_TYPE="active-header",t.HEADER_TYPE="header",t.AREA_TYPE="area",t.FOCUS_TYPE="focus",t.FILL_TYPE="fill",t.ROW_TYPE="row",t.COLUMN_TYPE="column",t.CUSTOM_SELECTION_TYPE="custom-selection"},55368(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n={SelectionManager:!0,Selection:!0},i=r(o(66966));t.Selection=i.default;var s=o(78397);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===s[e]||(t[e]=s[e]))});var a=o(55494);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===a[e]||(t[e]=a[e]))});var l=o(14083);t.SelectionManager=l.SelectionManager},14083(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=o(23876),i=o(45518),s=r(o(78713));function a(e,t,o){l(e,t),t.set(e,o)}function l(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function h(e,t){return e.get(c(e,t))}function d(e,t,o){return e.set(c(e,t),o),o}function c(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var u=new WeakMap,g=new WeakMap,p=new WeakMap,f=new WeakMap,m=new WeakMap,C=new WeakMap,w=new WeakSet;function b(){const e=h(f,this).get(h(u,this)),t=h(u,this).wtSettings.getSetting("onBeforeRemoveCellClassNames");if(Array.isArray(t))for(let o=0;o<t.length;o++)e.add(t[o]);e.forEach(e=>{var t,o;const r=h(u,this).wtTable.TABLE.querySelectorAll(`.${e}`);let i=[];Array.isArray(null===(t=h(g,this).options)||void 0===t?void 0:t.cellAttributes)&&(i=h(g,this).options.cellAttributes.map(e=>e[0])),Array.isArray(null===(o=h(g,this).options)||void 0===o?void 0:o.headerAttributes)&&(i=[...i,...h(g,this).options.headerAttributes.map(e=>e[0])]);for(let t=0,o=r.length;t<o;t++)(0,n.removeClass)(r[t],e),(0,n.removeAttribute)(r[t],i)}),e.clear()}t.SelectionManager=class{constructor(e){var t,o;l(t=this,o=w),o.add(t),a(this,u,void 0),a(this,g,void 0),a(this,p,new i.SelectionScanner),a(this,f,new WeakMap),a(this,m,new WeakSet),a(this,C,new Map),d(g,this,e)}setActiveOverlay(e){return d(u,this,e),h(p,this).setActiveOverlay(h(u,this)),h(f,this).has(h(u,this))||h(f,this).set(h(u,this),new Set),this}getFocusSelection(){return null!==h(g,this)?h(g,this).getFocus():null}getAreaSelection(){return null!==h(g,this)?h(g,this).createLayeredArea():null}getBorderInstance(e){if(!e.settings.border)return null;if(h(C,this).has(e)){const t=h(C,this).get(e);if(t.has(h(u,this)))return t.get(h(u,this));const o=new s.default(h(u,this),e.settings);return t.set(h(u,this),o),o}const t=new s.default(h(u,this),e.settings);return h(C,this).set(e,new Map([[h(u,this),t]])),t}getBorderInstances(e){var t,o;return Array.from(null!==(t=null===(o=h(C,this).get(e))||void 0===o?void 0:o.values())&&void 0!==t?t:[])}destroyBorders(e){h(C,this).get(e).forEach(e=>e.destroy()),h(C,this).delete(e)}render(e){if(null===h(g,this))return;e&&c(w,this,b).call(this);const t=Array.from(h(g,this)),o=new Map,r=new Map;for(let e=0;e<t.length;e++){const n=t[e],{className:i,headerAttributes:s,createLayers:a,selectionType:l}=n.settings;h(m,this).has(n)||(h(m,this).add(n),n.addLocalHook("destroy",()=>this.destroyBorders(n)));const d=this.getBorderInstance(n);if(n.isEmpty()){null==d||d.disappear();continue}if(i){h(p,this).setActiveSelection(n).scan().forEach(e=>{if(o.has(e)){const t=o.get(e);t.has(i)&&!0===a?t.set(i,t.get(i)+1):t.set(i,1)}else o.set(e,new Map([[i,1]]));s&&(r.has(e)||r.set(e,[]),"TH"===e.nodeName&&r.get(e).push(...s))})}const c=n.getCorners();h(u,this).getSetting("onBeforeDrawBorders",c,l),null==d||d.appear(c)}o.forEach((e,t)=>{var o;const r=Array.from(e).map(e=>{let[t,o]=e;return 1===o?t:[t,...Array.from({length:o-1},(e,o)=>`${t}-${o+1}`)]}).flat();r.forEach(e=>h(f,this).get(h(u,this)).add(e)),(0,n.addClass)(t,r),"TD"===t.nodeName&&Array.isArray(null===(o=h(g,this).options)||void 0===o?void 0:o.cellAttributes)&&(0,n.setAttribute)(t,h(g,this).options.cellAttributes)}),Array.from(r.keys()).forEach(e=>{(0,n.setAttribute)(e,[...r.get(e)])})}}},45518(e,t,o){"use strict";t.__esModule=!0;var r=o(23876);function n(e,t,o){i(e,t),t.set(e,o)}function i(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function s(e,t){return e.get(l(e,t))}function a(e,t,o){return e.set(l(e,t),o),o}function l(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var h=new WeakMap,d=new WeakMap,c=new WeakSet;function u(e){let[t,o,n,i]=s(h,this).getCorners();if(t<0&&n<0||o<0&&i<0)return;const{wtTable:a}=s(d,this),l=t!==n||o!==i;if(o=Math.max(o,0),i=Math.max(i,0),t=Math.max(t,0),n=Math.max(n,0),l){if(o=Math.max(o,a.getFirstRenderedColumn()),i=Math.min(i,a.getLastRenderedColumn()),t=Math.max(t,a.getFirstRenderedRow()),n=Math.min(n,a.getLastRenderedRow()),i<o||n<t)return}else{const e=a.getCell(s(d,this).createCellCoords(t,o));if(!(0,r.isHTMLElement)(e))return}for(let r=t;r<=n;r+=1)for(let t=o;t<=i;t+=1)e(r,t)}function g(e){const{wtTable:t}=s(d,this),o=t.getRenderedRowsCount(),r=t.getRenderedColumnsCount();for(let n=0;n<o;n+=1){const o=t.rowFilter.renderedToSource(n);for(let n=0;n<r;n+=1)e(o,t.columnFilter.renderedToSource(n))}}t.SelectionScanner=class{constructor(){var e,t;i(e=this,t=c),t.add(e),n(this,h,void 0),n(this,d,void 0)}setActiveOverlay(e){return a(d,this,e),this}setActiveSelection(e){return a(h,this,e),this}scan(){const e=s(h,this).settings.selectionType,t=new Set;return"active-header"===e?(this.scanColumnsInHeadersRange(e=>t.add(e)),this.scanRowsInHeadersRange(e=>t.add(e))):"area"===e?this.scanCellsRange(e=>t.add(e)):"focus"===e?(this.scanColumnsInHeadersRange(e=>t.add(e)),this.scanRowsInHeadersRange(e=>t.add(e)),this.scanCellsRange(e=>t.add(e))):"fill"===e?this.scanCellsRange(e=>t.add(e)):"header"===e?(this.scanColumnsInHeadersRange(e=>t.add(e)),this.scanRowsInHeadersRange(e=>t.add(e))):"row"===e?(this.scanRowsInHeadersRange(e=>t.add(e)),this.scanRowsInCellsRange(e=>t.add(e))):"column"===e&&(this.scanColumnsInHeadersRange(e=>t.add(e)),this.scanColumnsInCellsRange(e=>t.add(e))),t}scanColumnsInHeadersRange(e){const[t,o,r,n]=s(h,this).getCorners(),{wtTable:i}=s(d,this),a=i.getRenderedColumnsCount(),l=i.getColumnHeadersCount();let c=0;for(let u=-i.getRowHeadersCount();u<a;u++){const a=i.columnFilter.renderedToSource(u);if(!(a<o||a>n)){for(let u=-l;u<0;u++){if(u<t||u>r)continue;const g=u+l;let p=i.getColumnHeader(a,g);const f=s(d,this).getSetting("onBeforeHighlightingColumnHeader",a,g,{selectionType:s(h,this).settings.selectionType,columnCursor:c,selectionWidth:n-o+1});null!==f&&(f!==a&&(p=i.getColumnHeader(f,g)),e(p))}c+=1}}}scanRowsInHeadersRange(e){const[t,o,r,n]=s(h,this).getCorners(),{wtTable:i}=s(d,this),a=i.getRenderedRowsCount(),l=i.getRowHeadersCount();let c=0;for(let u=-i.getColumnHeadersCount();u<a;u++){const a=i.rowFilter.renderedToSource(u);if(!(a<t||a>r)){for(let u=-l;u<0;u++){if(u<o||u>n)continue;const g=u+l;let p=i.getRowHeader(a,g);const f=s(d,this).getSetting("onBeforeHighlightingRowHeader",a,g,{selectionType:s(h,this).settings.selectionType,rowCursor:c,selectionHeight:r-t+1});null!==f&&(f!==a&&(p=i.getRowHeader(f,g)),e(p))}c+=1}}}scanCellsRange(e){const{wtTable:t}=s(d,this);l(c,this,u).call(this,(o,n)=>{const i=t.getCell(s(d,this).createCellCoords(o,n)),a=s(d,this).getSetting("onAfterDrawSelection",o,n,s(h,this).settings.layerLevel);"string"==typeof a&&(0,r.addClass)(i,a),e(i)})}scanRowsInCellsRange(e){const[t,,o]=s(h,this).getCorners(),{wtTable:r}=s(d,this);l(c,this,g).call(this,(n,i)=>{if(n>=t&&n<=o){const t=r.getCell(s(d,this).createCellCoords(n,i));e(t)}})}scanColumnsInCellsRange(e){const[,t,,o]=s(h,this).getCorners(),{wtTable:r}=s(d,this);l(c,this,g).call(this,(n,i)=>{if(i>=t&&i<=o){const t=r.getCell(s(d,this).createCellCoords(n,i));e(t)}})}}},66966(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=o(38888),i=r(o(81551));class s{constructor(e,t){this.settings=e,this.cellRange=t||null}isEmpty(){return null===this.cellRange}add(e){return this.isEmpty()?this.cellRange=this.settings.createCellRange(e):this.cellRange.expand(e),this}replace(e,t){if(!this.isEmpty()){if(this.cellRange.from.isEqual(e))return this.cellRange.from=t,!0;if(this.cellRange.to.isEqual(e))return this.cellRange.to=t,!0}return!1}clear(){return this.cellRange=null,this}getCorners(){const e=this.cellRange.getOuterTopStartCorner(),t=this.cellRange.getOuterBottomEndCorner();return[e.row,e.col,t.row,t.col]}destroy(){this.runLocalHooks("destroy")}}(0,n.mixin)(s,i.default);t.default=s},85896(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(23876),s=o(38888),a=o(26032);t.default=class{constructor(e){(0,n.default)(this,"settings",{}),(0,n.default)(this,"defaults",Object.freeze(this.getDefaults())),(0,s.objectEach)(this.defaults,(t,o)=>{void 0!==e[o]?this.settings[o]=e[o]:void 0===t?(0,a.throwWithCause)(`A required setting "${o}" was not provided`):this.settings[o]=t})}getDefaults(){return{facade:void 0,table:void 0,isDataViewInstance:!0,externalRowCalculator:!1,currentRowClassName:null,currentColumnClassName:null,preventOverflow:()=>!1,preventWheel:!1,data:void 0,fixedColumnsStart:0,fixedRowsTop:0,fixedRowsBottom:0,shouldRenderInlineStartOverlay:()=>this.getSetting("fixedColumnsStart")>0||this.getSetting("rowHeaders").length>0,shouldRenderTopOverlay:()=>this.getSetting("fixedRowsTop")>0||this.getSetting("columnHeaders").length>0,shouldRenderBottomOverlay:()=>this.getSetting("fixedRowsBottom")>0,minSpareRows:0,rowHeaders:()=>[],columnHeaders:()=>[],totalRows:void 0,totalColumns:void 0,cellRenderer:(e,t,o)=>{const r=this.getSetting("data",e,t);(0,i.fastInnerText)(o,null==r?"":r)},columnWidth(){},rowHeight(){},rowHeightByOverlayName(){},defaultColumnWidth:50,selections:null,hideBorderOnMouseDownOver:!1,viewportRowCalculatorOverride:null,viewportColumnCalculatorOverride:null,viewportRowRenderingThreshold:null,viewportColumnRenderingThreshold:null,onCellMouseDown:null,onCellContextMenu:null,onCellMouseOver:null,onCellMouseOut:null,onCellMouseUp:null,onCellDblClick:null,onCellCornerMouseDown:null,onCellCornerDblClick:null,beforeDraw:null,onDraw:null,onBeforeRemoveCellClassNames:null,onAfterDrawSelection:null,onBeforeDrawBorders:null,onBeforeViewportScrollHorizontally:e=>e,onBeforeViewportScrollVertically:e=>e,onScrollHorizontally:null,onScrollVertically:null,onBeforeTouchScroll:null,onAfterMomentumScroll:null,onModifyRowHeaderWidth:null,onModifyGetCellCoords:null,onModifyGetCoordsElement:null,onModifyGetCoords:null,onBeforeHighlightingRowHeader:e=>e,onBeforeHighlightingColumnHeader:e=>e,onWindowResize:null,onContainerElementResize:null,renderAllColumns:!1,renderAllRows:!1,groups:!1,rowHeaderWidth:null,columnHeaderHeight:null,headerClassName:null,rtlMode:!1,ariaTags:!0,stylesHandler:null}}update(e,t){return void 0===t?(0,s.objectEach)(e,(e,t)=>{this.settings[t]=e}):this.settings[e]=t,this}getSetting(e,t,o,r,n){return"function"==typeof this.settings[e]?this.settings[e](t,o,r,n):void 0!==t&&Array.isArray(this.settings[e])?this.settings[e][t]:this.settings[e]}getSettingPure(e){return this.settings[e]}has(e){return!!this.settings[e]}}},60293(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(23876),s=o(3179),a=r(o(52300)),l=r(o(87176)),h=o(58189),d=r(o(97537)),c=r(o(74783)),u=o(99170),g=o(12175),p=o(26032);t.default=class{constructor(e,t,o,r,s){(0,n.default)(this,"wtSettings",null),(0,n.default)(this,"domBindings",void 0),(0,n.default)(this,"TBODY",null),(0,n.default)(this,"THEAD",null),(0,n.default)(this,"COLGROUP",null),(0,n.default)(this,"hasTableHeight",!0),(0,n.default)(this,"hasTableWidth",!0),(0,n.default)(this,"isTableVisible",!1),(0,n.default)(this,"tableOffset",0),(0,n.default)(this,"holderOffset",0),this.domBindings=o,this.isMaster="master"===s,this.name=s,this.dataAccessObject=e,this.facadeGetter=t,this.wtSettings=r,this.instance=this.dataAccessObject.wot,this.wot=this.dataAccessObject.wot,this.TABLE=o.rootTable,(0,i.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;const a=this.wtSettings.getSettingPure("rowHeaderWidth");this.wtSettings.update("rowHeaderWidth",()=>this._modifyRowHeaderWidth(a)),this.rowUtils=new c.default(this.dataAccessObject,this.wtSettings),this.columnUtils=new d.default(this.dataAccessObject,this.wtSettings),this.tableRenderer=new h.Renderer({TABLE:this.TABLE,THEAD:this.THEAD,COLGROUP:this.COLGROUP,TBODY:this.TBODY,rowUtils:this.rowUtils,columnUtils:this.columnUtils,cellRenderer:this.wtSettings.getSettingPure("cellRenderer"),stylesHandler:this.wtSettings.getSetting("stylesHandler")})}is(e){return this.name===e}fixTableDomTree(){const e=this.domBindings.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))}createSpreader(e){const t=e.parentNode;let o;return t&&t.nodeType===Node.ELEMENT_NODE&&(0,i.hasClass)(t,"wtHolder")||(o=this.domBindings.rootDocument.createElement("div"),o.className="wtSpreader",t&&t.insertBefore(o,e),o.appendChild(e)),o.style.position="relative",this.wtSettings.getSetting("ariaTags")&&(0,i.setAttribute)(o,[(0,g.A11Y_PRESENTATION)()]),o}createHider(e){const t=e.parentNode;let o;return t&&t.nodeType===Node.ELEMENT_NODE&&(0,i.hasClass)(t,"wtHolder")||(o=this.domBindings.rootDocument.createElement("div"),o.className="wtHider",t&&t.insertBefore(o,e),o.appendChild(e)),this.wtSettings.getSetting("ariaTags")&&(0,i.setAttribute)(o,[(0,g.A11Y_PRESENTATION)()]),o}createHolder(e){const t=e.parentNode;let o;return t&&t.nodeType===Node.ELEMENT_NODE&&(0,i.hasClass)(t,"wtHolder")||(o=this.domBindings.rootDocument.createElement("div"),o.style.position="relative",o.className="wtHolder",this.isMaster&&(0,i.setAttribute)(o,[(0,g.A11Y_TABINDEX)(-1)]),t&&t.insertBefore(o,e),this.isMaster&&(o.parentNode.className+="ht_master handsontable",o.parentNode.setAttribute("dir",this.wtSettings.getSettingPure("rtlMode")?"rtl":"ltr"),this.wtSettings.getSetting("ariaTags")&&(0,i.setAttribute)(o.parentNode,[(0,g.A11Y_PRESENTATION)()])),o.appendChild(e)),this.wtSettings.getSetting("ariaTags")&&(0,i.setAttribute)(o,[(0,g.A11Y_PRESENTATION)()]),o}draw(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{wtSettings:t}=this,{wtOverlays:o,wtViewport:r}=this.dataAccessObject,n=t.getSetting("totalRows"),s=t.getSetting("totalColumns"),h=t.getSetting("rowHeaders"),d=h.length,c=t.getSetting("columnHeaders"),g=c.length;let p=e;if(this.isMaster&&(o.beforeDraw(),this.holderOffset=(0,i.offset)(this.holder),p=r.createCalculators(p),d&&!t.getSetting("fixedColumnsStart"))){const e=o.inlineStartOverlay.getScrollPosition(),t=this.correctHeaderWidth;this.correctHeaderWidth=0!==e,t!==this.correctHeaderWidth&&(p=!1)}if(p)this.isMaster&&o.refresh(!0);else{this.isMaster?this.tableOffset=(0,i.offset)(this.TABLE):this.tableOffset=this.dataAccessObject.parentTableOffset;const e=Math.max(this.getFirstRenderedRow(),0),t=Math.max(this.getFirstRenderedColumn(),0);this.rowFilter=new l.default(e,n,g),this.columnFilter=new a.default(t,s,d);let p=!0;if(this.isMaster){this.alignOverlaysWithTrimmingContainer();const e={};this.wtSettings.getSetting("beforeDraw",!0,e),p=!0!==e.skipRender}p&&(this.tableRenderer.setHeaderContentRenderers(h,c),(this.is(u.CLONE_BOTTOM)||this.is(u.CLONE_BOTTOM_INLINE_START_CORNER))&&this.tableRenderer.setHeaderContentRenderers(h,[]),this.resetOversizedRows(),this.tableRenderer.setActiveOverlayName(this.name).setViewportSize(this.getRenderedRowsCount(),this.getRenderedColumnsCount()).setFilters(this.rowFilter,this.columnFilter).render(),this.isMaster&&this.markOversizedColumnHeaders(),this.adjustColumnHeaderHeights(),(this.isMaster||this.is(u.CLONE_BOTTOM))&&this.markOversizedRows(),this.isMaster?(this.wtSettings.getSetting("externalRowCalculator")||r.createVisibleCalculators(),o.refresh(!1),o.applyToDOM(),this.wtSettings.getSetting("onDraw",!0)):this.is(u.CLONE_BOTTOM)&&this.dataAccessObject.cloneSource.wtOverlays.adjustElementsSize())}let f=!1;return this.isMaster&&(f=o.topOverlay.resetFixedPosition(),o.bottomOverlay.clone&&(f=o.bottomOverlay.resetFixedPosition()||f),f=o.inlineStartOverlay.resetFixedPosition()||f,o.topInlineStartCornerOverlay&&o.topInlineStartCornerOverlay.resetFixedPosition(),o.bottomInlineStartCornerOverlay&&o.bottomInlineStartCornerOverlay.clone&&o.bottomInlineStartCornerOverlay.resetFixedPosition()),f?(o.refreshAll(),o.adjustElementsSize()):this.dataAccessObject.selectionManager.setActiveOverlay(this.facadeGetter()).render(p),this.isMaster&&o.afterDraw(),this.dataAccessObject.drawn=!0,this}markIfOversizedColumnHeader(e){const t=this.columnFilter.renderedToSource(e);let o=this.wtSettings.getSetting("columnHeaders").length;const r=this.wtSettings.getSetting("stylesHandler").getDefaultRowHeight();let n,s,a;const l=this.wtSettings.getSetting("columnHeaderHeight")||[];for(;o;)o-=1,n=this.getColumnHeaderHeight(o),s=this.getColumnHeader(t,o),s&&(a=(0,i.innerHeight)(s),(!n&&r<a||n<a)&&(this.dataAccessObject.wtViewport.oversizedColumnHeaders[o]=a),Array.isArray(l)?null!==l[o]&&void 0!==l[o]&&(this.dataAccessObject.wtViewport.oversizedColumnHeaders[o]=l[o]):isNaN(l)||(this.dataAccessObject.wtViewport.oversizedColumnHeaders[o]=l),this.dataAccessObject.wtViewport.oversizedColumnHeaders[o]<(l[o]||l)&&(this.dataAccessObject.wtViewport.oversizedColumnHeaders[o]=l[o]||l))}adjustColumnHeaderHeights(){const{wtSettings:e}=this,t=this.THEAD.childNodes,o=this.dataAccessObject.wtViewport.oversizedColumnHeaders;for(let r=0,n=e.getSetting("columnHeaders").length;r<n;r++)if(o[r]){if(!t[r]||0===t[r].childNodes.length)return;t[r].childNodes[0].style.height=`${o[r]}px`}}resetOversizedRows(){const{wtSettings:e}=this,{wtViewport:t}=this.dataAccessObject;if((this.isMaster||this.is(u.CLONE_BOTTOM))&&!e.getSetting("externalRowCalculator")){const e=this.getRenderedRowsCount();for(let o=0;o<e;o++){const e=this.rowFilter.renderedToSource(o);t.oversizedRows&&t.oversizedRows[e]&&(t.oversizedRows[e]=void 0)}}}getCell(e){let t=e.row,o=e.col;const r=this.wtSettings.getSetting("onModifyGetCellCoords",t,o,!this.isMaster,"render");if(r&&Array.isArray(r)&&([t,o]=r),this.isRowBeforeRenderedRows(t))return-1;if(this.isRowAfterRenderedRows(t))return-2;if(this.isColumnBeforeRenderedColumns(o))return-3;if(this.isColumnAfterRenderedColumns(o))return-4;const n=this.getRow(t);!n&&t>=0&&(0,p.throwWithCause)("TR was expected to be rendered but is not");const i=n.childNodes[this.columnFilter.sourceColumnToVisibleRowHeadedColumn(o)];return!i&&o>=0&&(0,p.throwWithCause)("TD or TH was expected to be rendered but is not"),i}getRow(e){let t=null,o=null;var r,n;e<0?(t=null===(r=this.rowFilter)||void 0===r?void 0:r.sourceRowToVisibleColHeadedRow(e),o=this.THEAD):(t=null===(n=this.rowFilter)||void 0===n?void 0:n.sourceToRendered(e),o=this.TBODY);return void 0!==t&&void 0!==o&&(!(o.childNodes.length<t+1)&&o.childNodes[t])}getColumnHeader(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const o=this.THEAD.childNodes[t];return null==o?void 0:o.childNodes[this.columnFilter.sourceColumnToVisibleRowHeadedColumn(e)]}getColumnHeaders(e){const t=[],o=this.columnFilter.sourceColumnToVisibleRowHeadedColumn(e);return this.THEAD.childNodes.forEach(e=>{const r=e.childNodes[o];r&&t.push(r)}),t}getRowHeader(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(t>=this.wtSettings.getSetting("rowHeaders").length)return;const o=this.rowFilter.sourceToRendered(e),r=o<0?this.rowFilter.sourceRowToVisibleColHeadedRow(e):o,n=(o<0?this.THEAD:this.TBODY).childNodes[r];return null==n?void 0:n.childNodes[t]}getRowHeaders(e){const t=[],o=this.wtSettings.getSetting("rowHeaders").length;for(let r=0;r<o;r++){const o=this.TBODY.childNodes[this.rowFilter.sourceToRendered(e)],n=null==o?void 0:o.childNodes[r];n&&t.push(n)}return t}getCoords(e){let t=e;if("TD"!==t.nodeName&&"TH"!==t.nodeName&&(t=(0,i.closest)(t,["TD","TH"])),null===t)return null;const o=t.parentNode;if(!o)return null;const r=o.parentNode;let n=(0,i.index)(o),s=t.cellIndex;if((0,i.overlayContainsElement)(u.CLONE_TOP_INLINE_START_CORNER,t,this.wtRootElement)||(0,i.overlayContainsElement)(u.CLONE_TOP,t,this.wtRootElement))"THEAD"===r.nodeName&&(n-=r.childNodes.length);else if((0,i.overlayContainsElement)(u.CLONE_BOTTOM_INLINE_START_CORNER,t,this.wtRootElement)||(0,i.overlayContainsElement)(u.CLONE_BOTTOM,t,this.wtRootElement)){n=this.wtSettings.getSetting("totalRows")-r.childNodes.length+n}else r===this.THEAD?n=this.rowFilter.visibleColHeadedRowToSourceRow(n):this.rowFilter&&(n=this.rowFilter.renderedToSource(n));(0,i.overlayContainsElement)(u.CLONE_TOP_INLINE_START_CORNER,t,this.wtRootElement)||(0,i.overlayContainsElement)(u.CLONE_INLINE_START,t,this.wtRootElement)||(0,i.overlayContainsElement)(u.CLONE_BOTTOM_INLINE_START_CORNER,t,this.wtRootElement)?s=this.columnFilter.offsettedTH(s):this.columnFilter&&(s=this.columnFilter.visibleRowHeadedColumnToSourceColumn(s));const a=this.wtSettings.getSetting("onModifyGetCoordsElement",n,s);return a&&Array.isArray(a)&&([n,s]=a),this.wot.createCellCoords(n,s)}markOversizedRows(){if(this.wtSettings.getSetting("externalRowCalculator"))return;let e=this.TBODY.childNodes.length;const t=this.wtSettings.getSetting("stylesHandler"),o=e*t.getDefaultRowHeight(),r=(0,i.innerHeight)(this.TBODY)-1,n=t.areCellsBorderBox(),s=n?i.outerHeight:i.innerHeight,a=n?0:1,l=n?1:0;let h,d,c,u,g;if(o!==r||this.wtSettings.getSetting("fixedRowsBottom"))for(;e;){e-=1,c=this.rowFilter.renderedToSource(e),h=this.getRowHeight(c),u=this.getTrForRow(c),g=u.querySelector("th");const o=0===c?l:0;d=g?s(g):s(u)-a,(!h&&t.getDefaultRowHeight()<d-o||h<d)&&(n||(d+=1),this.dataAccessObject.wtViewport.oversizedRows[c]=d)}}getTrForRow(e){return this.TBODY.childNodes[this.rowFilter.sourceToRendered(e)]}isColumnHeaderRendered(e){if(e>=0)return!1;const t=this.wtSettings.getSetting("rowHeaders").length;return Math.abs(e)<=t}isRowHeaderRendered(e){if(e>=0)return!1;const t=this.wtSettings.getSetting("columnHeaders").length;return Math.abs(e)<=t}isRowBeforeRenderedRows(e){const t=this.getFirstRenderedRow();return e<0&&t<=0?!this.isRowHeaderRendered(e):e<t}isRowAfterRenderedRows(e){return e>this.getLastRenderedRow()}isColumnBeforeRenderedColumns(e){const t=this.getFirstRenderedColumn();return e<0&&t<=0?!this.isColumnHeaderRendered(e):e<t}isColumnAfterRenderedColumns(e){return this.columnFilter&&e>this.getLastRenderedColumn()}isColumnAfterViewport(e){return this.columnFilter&&e>this.getLastVisibleColumn()}isRowAfterViewport(e){return this.rowFilter&&e>this.getLastVisibleRow()}isColumnBeforeViewport(e){return this.columnFilter&&this.columnFilter.sourceToRendered(e)<0&&e>=0}isLastRowFullyVisible(){return this.getLastVisibleRow()===this.getLastRenderedRow()}isLastColumnFullyVisible(){return this.getLastVisibleColumn()===this.getLastRenderedColumn()}allRowsInViewport(){return this.wtSettings.getSetting("totalRows")===this.getVisibleRowsCount()}allColumnsInViewport(){return this.wtSettings.getSetting("totalColumns")===this.getVisibleColumnsCount()}getRowHeight(e){return this.rowUtils.getHeight(e)}getColumnHeaderHeight(e){return this.columnUtils.getHeaderHeight(e)}getColumnWidth(e){return this.columnUtils.getWidth(e)}hasDefinedSize(){return this.hasTableHeight&&this.hasTableWidth}getWidth(){return(0,i.outerWidth)(this.TABLE)}getHeight(){return(0,i.outerHeight)(this.TABLE)}getTotalWidth(){const e=(0,i.outerWidth)(this.hider);return 0!==e?e:this.getWidth()}getTotalHeight(){const e=(0,i.outerHeight)(this.hider);return 0!==e?e:this.getHeight()}isVisible(){return(0,i.isVisible)(this.TABLE)}_modifyRowHeaderWidth(e){let t=(0,s.isFunction)(e)?e():null;return Array.isArray(t)?(t=[...t],t[t.length-1]=this._correctRowHeaderWidth(t[t.length-1])):t=this._correctRowHeaderWidth(t),t}_correctRowHeaderWidth(e){let t=e;return"number"!=typeof e&&(t=this.wtSettings.getSetting("defaultColumnWidth")),this.correctHeaderWidth&&(t+=1),t}}},12143(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(60293)),i=r(o(63875)),s=r(o(48555)),a=o(38888),l=o(99170);class h extends n.default{constructor(e,t,o,r){super(e,t,o,r,l.CLONE_BOTTOM)}}(0,a.mixin)(h,i.default),(0,a.mixin)(h,s.default);t.default=h},64617(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(60293)),i=r(o(63875)),s=r(o(27308)),a=o(38888),l=o(99170);class h extends n.default{constructor(e,t,o,r){super(e,t,o,r,l.CLONE_BOTTOM_INLINE_START_CORNER)}}(0,a.mixin)(h,i.default),(0,a.mixin)(h,s.default);t.default=h},44401(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(60293)),i=r(o(6559)),s=r(o(27308)),a=o(38888),l=o(99170);class h extends n.default{constructor(e,t,o,r){super(e,t,o,r,l.CLONE_INLINE_START)}}(0,a.mixin)(h,i.default),(0,a.mixin)(h,s.default);t.default=h},3478(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=o(23876),i=r(o(60293)),s=r(o(6559)),a=r(o(48555)),l=o(38888);class h extends i.default{constructor(e,t,o,r){super(e,t,o,r,"master")}alignOverlaysWithTrimmingContainer(){const e=(0,n.getTrimmingContainer)(this.wtRootElement),{rootWindow:t}=this.domBindings;if(e===t){this.wtSettings.getSetting("preventOverflow")||(this.holder.style.overflow="visible",this.wtRootElement.style.overflow="visible")}else{const o=e.parentElement,r=(0,n.getStyle)(e,"height",t),i=(0,n.getStyle)(e,"overflow",t),s=this.holder.style,{scrollWidth:a,scrollHeight:l}=e;let h=e.offsetWidth,d=e.offsetHeight;if(o&&["auto","hidden","scroll","clip"].includes(i)){const r=e.cloneNode(!1);r.style.overflow="auto",r.style.position="absolute",e.nextElementSibling?o.insertBefore(r,e.nextElementSibling):o.appendChild(r);const n=parseInt(t.getComputedStyle(r).height,10);o.removeChild(r),0===n&&(d=0)}d=Math.min(d,l),s.height="auto"===r?"auto":`${d}px`,h=Math.min(h,a),s.width=`${h}px`,s.overflow="",this.hasTableHeight="auto"===s.height||d>0,this.hasTableWidth=h>0}this.isTableVisible=(0,n.isVisible)(this.TABLE)}markOversizedColumnHeaders(){const{wtSettings:e}=this,{wtViewport:t}=this.dataAccessObject,o="master",r=e.getSetting("columnHeaders").length;if(r&&!t.hasOversizedColumnHeadersMarked[o]){const n=e.getSetting("rowHeaders").length,i=this.getRenderedColumnsCount();for(let e=0;e<r;e++)for(let e=-1*n;e<i;e++)this.markIfOversizedColumnHeader(e);t.hasOversizedColumnHeadersMarked[o]=!0}}}(0,l.mixin)(h,s.default),(0,l.mixin)(h,a.default);t.default=h},48555(e,t,o){"use strict";t.__esModule=!0;var r=o(38888);const n={getFirstRenderedColumn(){const e=this.dataAccessObject.startColumnRendered;return null===e?-1:e},getFirstVisibleColumn(){const e=this.dataAccessObject.startColumnVisible;return null===e?-1:e},getFirstPartiallyVisibleColumn(){const e=this.dataAccessObject.startColumnPartiallyVisible;return null===e?-1:e},getLastRenderedColumn(){const e=this.dataAccessObject.endColumnRendered;return null===e?-1:e},getLastVisibleColumn(){const e=this.dataAccessObject.endColumnVisible;return null===e?-1:e},getLastPartiallyVisibleColumn(){const e=this.dataAccessObject.endColumnPartiallyVisible;return null===e?-1:e},getRenderedColumnsCount(){return this.dataAccessObject.countColumnsRendered},getVisibleColumnsCount(){return this.dataAccessObject.countColumnsVisible},getRowHeadersCount(){return this.dataAccessObject.rowHeaders.length}};(0,r.defineGetter)(n,"MIXIN_NAME","calculatedColumns",{writable:!1,enumerable:!1});t.default=n},6559(e,t,o){"use strict";t.__esModule=!0;var r=o(38888);const n={getFirstRenderedRow(){const e=this.dataAccessObject.startRowRendered;return null===e?-1:e},getFirstVisibleRow(){const e=this.dataAccessObject.startRowVisible;return null===e?-1:e},getFirstPartiallyVisibleRow(){const e=this.dataAccessObject.startRowPartiallyVisible;return null===e?-1:e},getLastRenderedRow(){const e=this.dataAccessObject.endRowRendered;return null===e?-1:e},getLastVisibleRow(){const e=this.dataAccessObject.endRowVisible;return null===e?-1:e},getLastPartiallyVisibleRow(){const e=this.dataAccessObject.endRowPartiallyVisible;return null===e?-1:e},getRenderedRowsCount(){return this.dataAccessObject.countRowsRendered},getVisibleRowsCount(){return this.dataAccessObject.countRowsVisible},getColumnHeadersCount(){return this.dataAccessObject.columnHeaders.length}};(0,r.defineGetter)(n,"MIXIN_NAME","calculatedRows",{writable:!1,enumerable:!1});t.default=n},27308(e,t,o){"use strict";t.__esModule=!0;var r=o(38888);const n={getFirstRenderedColumn(){return 0===this.getRenderedColumnsCount()?-1:0},getFirstVisibleColumn(){return this.getFirstRenderedColumn()},getFirstPartiallyVisibleColumn(){return this.getFirstRenderedColumn()},getLastRenderedColumn(){return this.getRenderedColumnsCount()-1},getLastVisibleColumn(){return this.getLastRenderedColumn()},getLastPartiallyVisibleColumn(){return this.getLastRenderedColumn()},getRenderedColumnsCount(){return Math.min(this.wtSettings.getSetting("totalColumns"),this.wtSettings.getSetting("fixedColumnsStart"))},getVisibleColumnsCount(){return this.getRenderedColumnsCount()},getRowHeadersCount(){return this.dataAccessObject.rowHeaders.length}};(0,r.defineGetter)(n,"MIXIN_NAME","stickyColumnsStart",{writable:!1,enumerable:!1});t.default=n},63875(e,t,o){"use strict";t.__esModule=!0;var r=o(38888);const n={getFirstRenderedRow(){const e=this.getRenderedRowsCount();return 0===e?-1:this.wtSettings.getSetting("totalRows")-e},getFirstVisibleRow(){return this.getFirstRenderedRow()},getFirstPartiallyVisibleRow(){return this.getFirstRenderedRow()},getLastRenderedRow(){return 0===this.getRenderedRowsCount()?-1:this.wtSettings.getSetting("totalRows")-1},getLastVisibleRow(){return this.getLastRenderedRow()},getLastPartiallyVisibleRow(){return this.getLastRenderedRow()},getRenderedRowsCount(){return Math.min(this.wtSettings.getSetting("totalRows"),this.wtSettings.getSetting("fixedRowsBottom"))},getVisibleRowsCount(){return this.getRenderedRowsCount()},getColumnHeadersCount:()=>0};(0,r.defineGetter)(n,"MIXIN_NAME","stickyRowsBottom",{writable:!1,enumerable:!1});t.default=n},47213(e,t,o){"use strict";t.__esModule=!0;var r=o(38888);const n={getFirstRenderedRow(){return 0===this.getRenderedRowsCount()?-1:0},getFirstVisibleRow(){return this.getFirstRenderedRow()},getFirstPartiallyVisibleRow(){return this.getFirstRenderedRow()},getLastRenderedRow(){return this.getRenderedRowsCount()-1},getLastVisibleRow(){return this.getLastRenderedRow()},getLastPartiallyVisibleRow(){return this.getLastRenderedRow()},getRenderedRowsCount(){return Math.min(this.wtSettings.getSetting("totalRows"),this.wtSettings.getSetting("fixedRowsTop"))},getVisibleRowsCount(){return this.getRenderedRowsCount()},getColumnHeadersCount(){return this.dataAccessObject.columnHeaders.length}};(0,r.defineGetter)(n,"MIXIN_NAME","stickyRowsTop",{writable:!1,enumerable:!1});t.default=n},10297(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(60293)),i=r(o(47213)),s=r(o(48555)),a=o(38888),l=o(99170);class h extends n.default{constructor(e,t,o,r){super(e,t,o,r,l.CLONE_TOP)}}(0,a.mixin)(h,i.default),(0,a.mixin)(h,s.default);t.default=h},68643(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(60293)),i=r(o(47213)),s=r(o(27308)),a=o(38888),l=o(99170);class h extends n.default{constructor(e,t,o,r){super(e,t,o,r,l.CLONE_TOP_INLINE_START_CORNER)}}(0,a.mixin)(h,i.default),(0,a.mixin)(h,s.default);t.default=h},97537(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.default=class{constructor(e,t){(0,n.default)(this,"dataAccessObject",void 0),(0,n.default)(this,"wtSettings",void 0),(0,n.default)(this,"headerWidths",new Map),this.dataAccessObject=e,this.wtSettings=t}getWidth(e){return this.wtSettings.getSetting("columnWidth",e)||this.wtSettings.getSetting("defaultColumnWidth")}getHeaderHeight(e){let t=this.wtSettings.getSetting("stylesHandler").getDefaultRowHeight();const o=this.dataAccessObject.wtViewport.oversizedColumnHeaders[e];return void 0!==o&&(t=t?Math.max(t,o):o),t}getHeaderWidth(e){return this.headerWidths.get(this.dataAccessObject.wtTable.columnFilter.sourceToRendered(e))}calculateWidths(){const{wtSettings:e}=this;let t=e.getSetting("rowHeaderWidth");if(t=e.getSetting("onModifyRowHeaderWidth",t),null!=t){const o=e.getSetting("rowHeaders").length,r=e.getSetting("defaultColumnWidth");for(let e=0;e<o;e++){let o=Array.isArray(t)?t[e]:t;o=null==o?r:o,this.headerWidths.set(e,o)}}}}},3076(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(46027);t.NodesPool=class{constructor(e){(0,n.default)(this,"nodeType",void 0),(0,n.default)(this,"pool",new Map),this.nodeType=e.toUpperCase()}setRootDocument(e){this.rootDocument=e}obtain(e,t){if((0,i.isFirefox)())return this.rootDocument.createElement(this.nodeType);const o="number"==typeof t?`${e}x${t}`:e.toString();if(this.pool.has(o))return this.pool.get(o);const r=this.rootDocument.createElement(this.nodeType);return this.pool.set(o,r),r}}},74652(e,t){"use strict";t.__esModule=!0;t.WORKING_SPACE_ALL=0,t.WORKING_SPACE_TOP=1,t.WORKING_SPACE_BOTTOM=2},35109(e,t,o){"use strict";t.__esModule=!0;var r=o(87444);t.OrderView=r.OrderView;var n=o(66985);t.SharedOrderView=n.SharedOrderView},45281(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.DifferBasedRendererAdapter=class{constructor(e){(0,n.default)(this,"leads",[]),this.orderView=e}applyCommand(e){const{rootNode:t}=this.orderView,[o,r,n,i]=e,s=this.orderView.nodesPool(r);switch(this.orderView.collectedNodes.push(s),o){case"prepend":t.insertBefore(s,t.firstChild);break;case"append":t.appendChild(s);break;case"insert_before":t.insertBefore(s,this.orderView.nodesPool(n)),t.removeChild(this.orderView.nodesPool(i));break;case"replace":t.replaceChild(s,this.orderView.nodesPool(n));break;case"remove":t.removeChild(s)}}start(){this.orderView.collectedNodes.length=0,this.leads=this.orderView.viewDiffer.diff()}render(){this.leads.length>0&&this.applyCommand(this.leads.shift())}end(){for(;this.leads.length>0;)this.applyCommand(this.leads.shift())}}},67725(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(74652);t.DirectDomRendererAdapter=class{constructor(e){(0,n.default)(this,"visualIndex",0),this.orderView=e}getRenderedChildCount(){const{rootNode:e,sizeSet:t}=this.orderView;let o=0;if(this.orderView.isSharedViewSet()){let r=e.firstElementChild;for(;r;){if(r.tagName===this.orderView.childNodeType)o+=1;else if(t.isPlaceOn(i.WORKING_SPACE_TOP))break;r=r.nextElementSibling}}else o=e.childElementCount;return o}start(){this.orderView.collectedNodes.length=0,this.visualIndex=0;const{rootNode:e,sizeSet:t}=this.orderView,o=this.orderView.isSharedViewSet(),{nextSize:r}=t.getViewSize();let n=this.getRenderedChildCount();for(;n<r;){const r=this.orderView.nodesPool();!o||o&&t.isPlaceOn(i.WORKING_SPACE_BOTTOM)?e.appendChild(r):e.insertBefore(r,e.firstChild),n+=1}const s=o&&t.isPlaceOn(i.WORKING_SPACE_TOP);for(;n>r;)e.removeChild(s?e.firstChild:e.lastChild),n-=1}render(){const{rootNode:e,sizeSet:t}=this.orderView;let o=this.visualIndex;this.orderView.isSharedViewSet()&&t.isPlaceOn(i.WORKING_SPACE_BOTTOM)&&(o+=t.sharedSize.nextSize);let r=e.childNodes[o];if(r.tagName!==this.orderView.childNodeType){const t=this.orderView.nodesPool();e.replaceChild(t,r),r=t}this.orderView.collectedNodes.push(r),this.visualIndex+=1}end(){}}},4332(e,t,o){"use strict";t.__esModule=!0,t.createRendererAdapter=function(e){if((0,r.isFirefox)())return new i.DirectDomRendererAdapter(e);return new n.DifferBasedRendererAdapter(e)};var r=o(46027),n=o(45281),i=o(67725)},66985(e,t,o){"use strict";t.__esModule=!0;var r=o(87444);class n extends r.OrderView{prependView(e){return this.sizeSet.prepend(e.sizeSet),e.sizeSet.append(this.sizeSet),this}appendView(e){return this.sizeSet.append(e.sizeSet),e.sizeSet.prepend(this.sizeSet),this}}t.SharedOrderView=n},87444(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(98129),s=o(6631),a=o(4332);t.OrderView=class{constructor(e,t,o){(0,n.default)(this,"rootNode",void 0),(0,n.default)(this,"nodesPool",void 0),(0,n.default)(this,"sizeSet",new i.ViewSizeSet),(0,n.default)(this,"collectedNodes",[]),(0,n.default)(this,"viewDiffer",new s.ViewDiffer(this.sizeSet)),(0,n.default)(this,"childNodeType",void 0),(0,n.default)(this,"rendererAdapter",void 0),this.rootNode=e,this.nodesPool=t,this.childNodeType=o,this.rendererAdapter=(0,a.createRendererAdapter)(this)}setSize(e){return this.sizeSet.setSize(e),this}setOffset(e){return this.sizeSet.setOffset(e),this}isSharedViewSet(){return this.sizeSet.isShared()}getNode(e){return e<this.collectedNodes.length?this.collectedNodes[e]:null}getCurrentNode(){const e=this.collectedNodes.length;return e>0?this.collectedNodes[e-1]:null}start(){this.rendererAdapter.start()}render(){this.rendererAdapter.render()}end(){this.rendererAdapter.end()}}},6631(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(74652),s=o(20492);t.ViewDiffer=class{constructor(e){(0,n.default)(this,"sizeSet",void 0),this.sizeSet=e}diff(){const{sizeSet:e}=this,{currentSize:t,nextSize:o}=e.getViewSize();let r=Math.max(o,t);if(0===r)return[];const{currentOffset:n,nextOffset:a}=e.getViewSize(),l=new s.ViewOrder(n,t),h=new s.ViewOrder(a,o),d=[];for(let t=0;t<r;t++){const n=l.get(t),s=h.get(t);if(-1===s)d.push(["remove",n]);else if(-1===n)!e.isShared()||e.isShared()&&e.isPlaceOn(i.WORKING_SPACE_BOTTOM)?d.push(["append",s]):d.push(["prepend",s]);else if(s>n)l.has(s)&&(l.remove(s),o<=l.length&&(r-=1)),d.push(["replace",s,n]);else if(s<n){const e=l.prepend(s);d.push(["insert_before",s,n,e])}else d.push(["none",s])}return d}}},20492(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.ViewOrder=class{constructor(e,t){(0,n.default)(this,"order",[]),this.order=[...Array(t).keys()].map(t=>e+t)}get length(){return this.order.length}has(e){return this.order.indexOf(e)>-1}get(e){return e<this.order.length?this.order[e]:-1}remove(e){this.order.splice(this.order.indexOf(e),1)}prepend(e){return this.order.unshift(e),this.order.pop()}}},97089(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.ViewSize=class{constructor(){(0,n.default)(this,"currentSize",0),(0,n.default)(this,"nextSize",0),(0,n.default)(this,"currentOffset",0),(0,n.default)(this,"nextOffset",0)}setSize(e){this.currentSize=this.nextSize,this.nextSize=e}setOffset(e){this.currentOffset=this.nextOffset,this.nextOffset=e}}},98129(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(97089),s=o(74652);t.ViewSizeSet=class{constructor(){(0,n.default)(this,"size",new i.ViewSize),(0,n.default)(this,"workingSpace",s.WORKING_SPACE_ALL),(0,n.default)(this,"sharedSize",null)}setSize(e){this.size.setSize(e)}setOffset(e){this.size.setOffset(e)}getViewSize(){return this.size}isShared(){return null!==this.sharedSize}isPlaceOn(e){return this.workingSpace===e}append(e){this.workingSpace=s.WORKING_SPACE_TOP,e.workingSpace=s.WORKING_SPACE_BOTTOM,this.sharedSize=e.getViewSize()}prepend(e){this.workingSpace=s.WORKING_SPACE_BOTTOM,e.workingSpace=s.WORKING_SPACE_TOP,this.sharedSize=e.getViewSize()}}},74783(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.default=class{constructor(e,t){(0,n.default)(this,"dataAccessObject",void 0),(0,n.default)(this,"wtSettings",void 0),this.dataAccessObject=e,this.wtSettings=t}getHeight(e){let t=this.wtSettings.getSetting("rowHeight",e);const o=this.dataAccessObject.wtViewport.oversizedRows[e];return void 0!==o&&(t=void 0===t?o:Math.max(t,o)),t}getHeightByOverlayName(e,t){let o=this.wtSettings.getSetting("rowHeightByOverlayName",e,t);const r=this.dataAccessObject.wtViewport.oversizedRows[e];return void 0!==r&&(o=void 0===o?r:Math.max(o,r)),o}}},96063(e,t,o){"use strict";t.__esModule=!0;var r=o(23876),n=o(38888),i=o(1722);t.default=class{constructor(e,t,o,r,n){this.dataAccessObject=e,this.wot=e.wot,this.instance=this.wot,this.domBindings=t,this.wtSettings=o,this.wtTable=n,this.oversizedRows=[],this.oversizedColumnHeaders=[],this.hasOversizedColumnHeadersMarked={},this.clientHeight=0,this.rowHeaderWidth=NaN,this.rowsVisibleCalculator=null,this.columnsVisibleCalculator=null,this.rowsCalculatorTypes=new Map([["rendered",()=>this.wtSettings.getSetting("renderAllRows")?new i.RenderedAllRowsCalculationType:new i.RenderedRowsCalculationType],["fullyVisible",()=>new i.FullyVisibleRowsCalculationType],["partiallyVisible",()=>new i.PartiallyVisibleRowsCalculationType]]),this.columnsCalculatorTypes=new Map([["rendered",()=>this.wtSettings.getSetting("renderAllColumns")?new i.RenderedAllColumnsCalculationType:new i.RenderedColumnsCalculationType],["fullyVisible",()=>new i.FullyVisibleColumnsCalculationType],["partiallyVisible",()=>new i.PartiallyVisibleColumnsCalculationType]]),this.eventManager=r,this.eventManager.addEventListener(this.domBindings.rootWindow,"resize",()=>{this.clientHeight=this.getWorkspaceHeight()})}getWorkspaceHeight(){const e=this.domBindings.rootDocument,t=this.dataAccessObject.topOverlayTrimmingContainer;let o=0;if(t===this.domBindings.rootWindow)o=e.documentElement.clientHeight;else{o=(0,r.outerHeight)(t)>0&&t.clientHeight>0?t.clientHeight:1/0}return o}getViewportHeight(){let e=this.getWorkspaceHeight();if(e===1/0)return e;const t=this.getColumnHeaderHeight();return t>0&&(e-=t),e}getWorkspaceWidth(){const{rootDocument:e,rootWindow:t}=this.domBindings,o=this.dataAccessObject.inlineStartOverlayTrimmingContainer;let r;if(o===t){const t=this.wtSettings.getSetting("totalColumns");r=this.wtTable.holder.offsetWidth,this.getRowHeaderWidth()+this.sumColumnWidths(0,t)>r&&(r=e.documentElement.clientWidth)}else r=o.clientWidth;return r}getViewportWidth(){const e=this.getWorkspaceWidth();if(e===1/0)return e;const t=this.getRowHeaderWidth();return t>0?e-t:e}hasVerticalScroll(){if(this.isVerticallyScrollableByWindow()){const e=this.domBindings.rootDocument.documentElement;return e.scrollHeight>e.clientHeight}const{holder:e,hider:t}=this.wtTable,o=e.clientHeight,r=t.offsetHeight;return o<r||r>this.getWorkspaceHeight()}hasHorizontalScroll(){if(this.isVerticallyScrollableByWindow()){const e=this.domBindings.rootDocument.documentElement;return e.scrollWidth>e.clientWidth}const{hider:e}=this.wtTable,t=e.offsetWidth,o=this.hasVerticalScroll()?(0,r.getScrollbarWidth)():0;return t>this.getWorkspaceWidth()-o}isVerticallyScrollableByWindow(){return this.dataAccessObject.topOverlayTrimmingContainer===this.domBindings.rootWindow}isHorizontallyScrollableByWindow(){return this.dataAccessObject.inlineStartOverlayTrimmingContainer===this.domBindings.rootWindow}sumColumnWidths(e,t){let o=0,r=e;for(;r<t;)o+=this.wtTable.getColumnWidth(r),r+=1;return o}getWorkspaceOffset(){return(0,r.offset)(this.wtTable.holder)}getColumnHeaderHeight(){return this.wtSettings.getSetting("columnHeaders").length?isNaN(this.columnHeaderHeight)&&(this.columnHeaderHeight=(0,r.outerHeight)(this.wtTable.THEAD)):this.columnHeaderHeight=0,this.columnHeaderHeight}getRowHeaderWidth(){const e=this.wtSettings.getSetting("rowHeaderWidth"),t=this.wtSettings.getSetting("rowHeaders");if(e){this.rowHeaderWidth=0;for(let o=0,r=t.length;o<r;o++)this.rowHeaderWidth+=e[o]||e}if(isNaN(this.rowHeaderWidth))if(t.length){let e=this.wtTable.TABLE.querySelector("TH");this.rowHeaderWidth=0;for(let o=0,n=t.length;o<n;o++)e?(this.rowHeaderWidth+=(0,r.outerWidth)(e),e=e.nextSibling):this.rowHeaderWidth+=50}else this.rowHeaderWidth=0;return this.rowHeaderWidth=this.wtSettings.getSetting("onModifyRowHeaderWidth",this.rowHeaderWidth)||this.rowHeaderWidth,this.rowHeaderWidth}createRowsCalculator(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["rendered","fullyVisible","partiallyVisible"];const{wtSettings:t,wtTable:o}=this;let n,s,a=this.getViewportHeight();this.rowHeaderWidth=NaN;let l=this.dataAccessObject.topScrollPosition-this.dataAccessObject.topParentOffset;const h=t.getSetting("fixedRowsTop"),d=t.getSetting("fixedRowsBottom"),c=t.getSetting("totalRows");return h&&l>=0&&(s=this.dataAccessObject.topOverlay.sumCellSizes(0,h),l+=s,a-=s),d&&this.dataAccessObject.bottomOverlay.clone&&(s=this.dataAccessObject.bottomOverlay.sumCellSizes(c-d,c),a-=s),n=o.holder.clientHeight===o.holder.offsetHeight?0:(0,r.getScrollbarWidth)(this.domBindings.rootDocument),new i.ViewportRowsCalculator({calculationTypes:e.map(e=>[e,this.rowsCalculatorTypes.get(e)()]),viewportHeight:a,scrollOffset:l,totalRows:t.getSetting("totalRows"),defaultRowHeight:t.getSetting("stylesHandler").getDefaultRowHeight(),rowHeightFn:e=>o.getRowHeight(e),overrideFn:t.getSettingPure("viewportRowCalculatorOverride"),horizontalScrollbarHeight:n})}createColumnsCalculator(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["rendered","fullyVisible","partiallyVisible"];const{wtSettings:t,wtTable:o}=this;let n=this.getViewportWidth(),s=Math.abs(this.dataAccessObject.inlineStartScrollPosition)-this.dataAccessObject.inlineStartParentOffset;this.columnHeaderHeight=NaN;const a=t.getSetting("fixedColumnsStart");if(a&&s>=0){const e=this.dataAccessObject.inlineStartOverlay.sumCellSizes(0,a);s+=e,n-=e}return o.holder.clientWidth!==o.holder.offsetWidth&&(n-=(0,r.getScrollbarWidth)(this.domBindings.rootDocument)),new i.ViewportColumnsCalculator({calculationTypes:e.map(e=>[e,this.columnsCalculatorTypes.get(e)()]),viewportWidth:n,scrollOffset:s,totalColumns:t.getSetting("totalColumns"),columnWidthFn:e=>o.getColumnWidth(e),overrideFn:t.getSettingPure("viewportColumnCalculatorOverride"),inlineStartOffset:this.dataAccessObject.inlineStartParentOffset})}createCalculators(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{wtSettings:t}=this,o=this.createRowsCalculator(),r=this.createColumnsCalculator();if(e&&!t.getSetting("renderAllRows")){const t=o.getResultsFor("fullyVisible"),r=o.getResultsFor("partiallyVisible");e=this.areAllProposedVisibleRowsAlreadyRendered(t,r)}if(e&&!t.getSetting("renderAllColumns")){const t=r.getResultsFor("fullyVisible"),o=r.getResultsFor("partiallyVisible");e=this.areAllProposedVisibleColumnsAlreadyRendered(t,o)}return e||(this.rowsRenderCalculator=o.getResultsFor("rendered"),this.columnsRenderCalculator=r.getResultsFor("rendered")),this.rowsVisibleCalculator=o.getResultsFor("fullyVisible"),this.columnsVisibleCalculator=r.getResultsFor("fullyVisible"),this.rowsPartiallyVisibleCalculator=o.getResultsFor("partiallyVisible"),this.columnsPartiallyVisibleCalculator=r.getResultsFor("partiallyVisible"),e}createVisibleCalculators(){const e=this.createRowsCalculator(["fullyVisible","partiallyVisible"]),t=this.createColumnsCalculator(["fullyVisible","partiallyVisible"]);this.rowsVisibleCalculator=e.getResultsFor("fullyVisible"),this.columnsVisibleCalculator=t.getResultsFor("fullyVisible"),this.rowsPartiallyVisibleCalculator=e.getResultsFor("partiallyVisible"),this.columnsPartiallyVisibleCalculator=t.getResultsFor("partiallyVisible")}areAllProposedVisibleRowsAlreadyRendered(e,t){if(!this.rowsVisibleCalculator)return!1;let{startRow:o,endRow:r}=e;const{startRow:n,endRow:i}=t;if(null===o&&null===r){if(!e.isVisibleInTrimmingContainer&&!this.wtTable.isRowBeforeRenderedRows(n)&&!this.wtTable.isRowAfterRenderedRows(i))return!0;o=n,r=i}const{startRow:s,endRow:a,rowStartOffset:l,rowEndOffset:h}=this.rowsRenderCalculator,d=this.wtSettings.getSetting("totalRows")-1,c=this.wtSettings.getSetting("viewportRowRenderingThreshold");return Number.isInteger(c)&&c>0?(o=Math.max(0,o-Math.min(l,c)),r=Math.min(d,r+Math.min(h,c))):"auto"===c&&(o=Math.max(0,o-Math.ceil(l/2)),r=Math.min(d,r+Math.ceil(h/2))),!(o<s||o===s&&o>0)&&!(r>a||r===a&&r<d)}areAllProposedVisibleColumnsAlreadyRendered(e,t){if(!this.columnsVisibleCalculator)return!1;let{startColumn:o,endColumn:r}=e;const{startColumn:n,endColumn:i}=t;if(null===o&&null===r){if(!e.isVisibleInTrimmingContainer&&!this.wtTable.isColumnBeforeRenderedColumns(n)&&!this.wtTable.isColumnAfterRenderedColumns(i))return!0;o=n,r=i}const{startColumn:s,endColumn:a,columnStartOffset:l,columnEndOffset:h}=this.columnsRenderCalculator,d=this.wtSettings.getSetting("totalColumns")-1,c=this.wtSettings.getSetting("viewportColumnRenderingThreshold");return Number.isInteger(c)&&c>0?(o=Math.max(0,o-Math.min(l,c)),r=Math.min(d,r+Math.min(h,c))):"auto"===c&&(o=Math.max(0,o-Math.ceil(l/2)),r=Math.min(d,r+Math.ceil(h/2))),!(o<s||o===s&&o>0)&&!(r>a||r===a&&r<d)}resetHasOversizedColumnHeadersMarked(){(0,n.objectEach)(this.hasOversizedColumnHeadersMarked,(e,t,o)=>{o[t]=void 0})}}},59824(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(67610)),i=o(64428),s=o(25136),a=o(30326),l=o(67795),h=o(3868),d=o(40647),c=o(18225),u=o(83947),g=o(68597),p=o(75269);t.CellCoords=p.CellCoords,t.CellRange=p.CellRange;var f=o(54917);function m(e,t){const o=new n.default(e,t||{},i.rootInstanceSymbol);return o.init(),o}(0,h.registerCellType)(u.TextCellType),(0,d.registerRenderer)(c.baseRenderer),m.editors={BaseEditor:g.BaseEditor},m.Core=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new n.default(e,t,i.rootInstanceSymbol)},m.DefaultSettings=(0,s.metaSchemaFactory)(),m.hooks=a.Hooks.getSingleton(),m.CellCoords=p.CellCoords,m.CellRange=p.CellRange,m.packageName="handsontable",m.buildDate="04/03/2026 12:06:21",m.version="17.0.0-rc13",m.languages={dictionaryKeys:l.dictionaryKeys,getLanguageDictionary:l.getLanguageDictionary,getLanguagesDictionaries:l.getLanguagesDictionaries,registerLanguageDictionary:l.registerLanguageDictionary,getTranslatedPhrase:l.getTranslatedPhrase},m.themes={hasTheme:f.hasTheme,getTheme:f.getTheme,getThemeNames:f.getThemeNames,getThemes:f.getThemes,registerTheme:f.registerTheme};t.default=m},58971(e,t,o){"use strict";t.__esModule=!0;var r=o(27641);t.valueGetter=r.valueGetter;var n=o(60309);t.valueSetter=n.valueSetter},27641(e,t,o){"use strict";t.__esModule=!0,t.valueGetter=function(e){return(0,r.isObject)(e)&&void 0!==e.value?e.value:e};var r=o(38888)},60309(e,t,o){"use strict";t.__esModule=!0,t.valueSetter=function(e,t,o){const n=this.getSourceDataAtCell(this.toPhysicalRow(t),this.toPhysicalColumn(o));if((0,r.isKeyValueObject)(n))return(0,r.isKeyValueObject)(e)?e:{key:e,value:e};return e};var r=o(38888)},35578(e,t,o){"use strict";t.__esModule=!0;var r=o(31956),n=o(21828),i=o(96068),s=o(58971);const a=t.CELL_TYPE="autocomplete";t.AutocompleteCellType={CELL_TYPE:a,editor:r.AutocompleteEditor,renderer:n.autocompleteRenderer,validator:i.autocompleteValidator,valueGetter:s.valueGetter,valueSetter:s.valueSetter,parsePastedValue:!0}},46980(e,t,o){"use strict";t.__esModule=!0;var r=o(35578);t.AutocompleteCellType=r.AutocompleteCellType,t.CELL_TYPE=r.CELL_TYPE},15082(e,t,o){"use strict";t.__esModule=!0;var r=o(67920);t.valueSetter=r.valueSetter},67920(e,t,o){"use strict";t.__esModule=!0,t.valueSetter=function(e,t,o){const{checkedTemplate:n,uncheckedTemplate:i}=this.getCellMeta(t,o),s=(0,r.stringify)(e),a=s===(0,r.stringify)(n),l=s===(0,r.stringify)(i);if(a||l)return a?n:i;return e};var r=o(79416)},77108(e,t,o){"use strict";t.__esModule=!0;var r=o(88693),n=o(91013),i=o(15082);const s=t.CELL_TYPE="checkbox";t.CheckboxCellType={CELL_TYPE:s,editor:r.CheckboxEditor,renderer:n.checkboxRenderer,valueSetter:i.valueSetter}},22033(e,t,o){"use strict";t.__esModule=!0;var r=o(77108);t.CELL_TYPE=r.CELL_TYPE,t.CheckboxCellType=r.CheckboxCellType},10750(e,t,o){"use strict";t.__esModule=!0;var r=o(96360),n=o(89900),i=o(88216);const s=t.CELL_TYPE="date";t.DateCellType={CELL_TYPE:s,editor:r.DateEditor,renderer:n.dateRenderer,validator:i.dateValidator}},12004(e,t,o){"use strict";t.__esModule=!0;var r=o(10750);t.CELL_TYPE=r.CELL_TYPE,t.DateCellType=r.DateCellType},68310(e,t,o){"use strict";t.__esModule=!0;var r=o(32272);t.valueGetter=r.valueGetter;var n=o(68340);t.valueSetter=n.valueSetter},32272(e,t,o){"use strict";t.__esModule=!0,t.valueGetter=function(e){return r.valueGetter.call(this,e)};var r=o(58971)},68340(e,t,o){"use strict";t.__esModule=!0,t.valueSetter=function(e,t,o,n){return r.valueSetter.call(this,e,t,o,n)};var r=o(58971)},17236(e,t,o){"use strict";t.__esModule=!0;var r=o(64661),n=o(69797),i=o(6567),s=o(68310);const a=t.CELL_TYPE="dropdown";t.DropdownCellType={CELL_TYPE:a,editor:r.DropdownEditor,renderer:n.dropdownRenderer,validator:i.dropdownValidator,filter:!1,strict:!0,valueGetter:s.valueGetter,valueSetter:s.valueSetter,parsePastedValue:!0}},51493(e,t,o){"use strict";t.__esModule=!0;var r=o(17236);t.CELL_TYPE=r.CELL_TYPE,t.DropdownCellType=r.DropdownCellType},69188(e,t,o){"use strict";t.__esModule=!0;var r=o(20101),n=o(72093);const i=t.CELL_TYPE="handsontable";t.HandsontableCellType={CELL_TYPE:i,editor:r.HandsontableEditor,renderer:n.handsontableRenderer}},49129(e,t,o){"use strict";t.__esModule=!0;var r=o(69188);t.CELL_TYPE=r.CELL_TYPE,t.HandsontableCellType=r.HandsontableCellType},42435(e,t,o){"use strict";t.__esModule=!0,t.registerAllCellTypes=function(){(0,m.registerCellType)(r.AutocompleteCellType),(0,m.registerCellType)(n.CheckboxCellType),(0,m.registerCellType)(i.DateCellType),(0,m.registerCellType)(s.DropdownCellType),(0,m.registerCellType)(a.HandsontableCellType),(0,m.registerCellType)(l.IntlDateCellType),(0,m.registerCellType)(h.IntlTimeCellType),(0,m.registerCellType)(d.MultiSelectCellType),(0,m.registerCellType)(c.NumericCellType),(0,m.registerCellType)(u.PasswordCellType),(0,m.registerCellType)(g.SelectCellType),(0,m.registerCellType)(p.TextCellType),(0,m.registerCellType)(f.TimeCellType)};var r=o(46980);t.AutocompleteCellType=r.AutocompleteCellType,t.AUTOCOMPLETE_TYPE=r.CELL_TYPE;var n=o(22033);t.CheckboxCellType=n.CheckboxCellType,t.CHECKBOX_TYPE=n.CELL_TYPE;var i=o(12004);t.DateCellType=i.DateCellType,t.DATE_TYPE=i.CELL_TYPE;var s=o(51493);t.DropdownCellType=s.DropdownCellType,t.DROPDOWN_TYPE=s.CELL_TYPE;var a=o(49129);t.HandsontableCellType=a.HandsontableCellType,t.HANDSONTABLE_TYPE=a.CELL_TYPE;var l=o(91319);t.IntlDateCellType=l.IntlDateCellType,t.INTL_DATE_TYPE=l.CELL_TYPE;var h=o(97930);t.IntlTimeCellType=h.IntlTimeCellType,t.INTL_TIME_TYPE=h.CELL_TYPE;var d=o(68285);t.MultiSelectCellType=d.MultiSelectCellType,t.MULTISELECT_TYPE=d.CELL_TYPE;var c=o(51575);t.NumericCellType=c.NumericCellType,t.NUMERIC_TYPE=c.CELL_TYPE;var u=o(94913);t.PasswordCellType=u.PasswordCellType,t.PASSWORD_TYPE=u.CELL_TYPE;var g=o(73096);t.SelectCellType=g.SelectCellType,t.SELECT_TYPE=g.CELL_TYPE;var p=o(83947);t.TextCellType=p.TextCellType,t.TEXT_TYPE=p.CELL_TYPE;var f=o(4497);t.TimeCellType=f.TimeCellType,t.TIME_TYPE=f.CELL_TYPE;var m=o(3868);t.registerCellType=m.registerCellType,t.getCellType=m.getCellType,t.getRegisteredCellTypeNames=m.getRegisteredCellTypeNames,t.getRegisteredCellTypes=m.getRegisteredCellTypes,t.hasCellType=m.hasCellType},91319(e,t,o){"use strict";t.__esModule=!0;var r=o(52420);t.CELL_TYPE=r.CELL_TYPE,t.IntlDateCellType=r.IntlDateCellType},52420(e,t,o){"use strict";t.__esModule=!0;var r=o(55227),n=o(7339),i=o(94961);const s=t.CELL_TYPE="intl-date";t.IntlDateCellType={CELL_TYPE:s,editor:r.IntlDateEditor,renderer:n.intlDateRenderer,validator:i.intlDateValidator,sourceDataValidator:i.sourceDataValidator,sourceDataWarningMessage:i.SOURCE_DATA_WARNING_MESSAGE,valueFormatter:n.valueFormatter}},97930(e,t,o){"use strict";t.__esModule=!0;var r=o(25602);t.CELL_TYPE=r.CELL_TYPE,t.IntlTimeCellType=r.IntlTimeCellType},25602(e,t,o){"use strict";t.__esModule=!0;var r=o(71450),n=o(35154),i=o(83418);const s=t.CELL_TYPE="intl-time";t.IntlTimeCellType={CELL_TYPE:s,editor:r.IntlTimeEditor,renderer:n.intlTimeRenderer,validator:i.intlTimeValidator,sourceDataValidator:i.sourceDataValidator,sourceDataWarningMessage:i.SOURCE_DATA_WARNING_MESSAGE,valueFormatter:n.valueFormatter}},25198(e,t,o){"use strict";t.__esModule=!0;var r=o(98824);t.valueGetter=r.valueGetter;var n=o(5324);t.valueSetter=n.valueSetter},98824(e,t,o){"use strict";t.__esModule=!0,t.valueGetter=function(e){if(Array.isArray(e))return(0,n.arrayToString)(e.map(e=>(0,r.isKeyValueObject)(e)?e.value:e),", ");return e};var r=o(38888),n=o(6578)},5324(e,t,o){"use strict";t.__esModule=!0,t.valueSetter=function(e,t,o){if(Array.isArray(e)){const n=this.getSourceDataAtCell(this.toPhysicalRow(t),o);if(Array.isArray(n)&&n.length>0&&(0,r.isKeyValueObject)(n[0]))return e.map(e=>(0,r.isKeyValueObject)(e)?e:{key:e,value:e})}return e};var r=o(38888)},68285(e,t,o){"use strict";t.__esModule=!0;var r=o(6972);t.CELL_TYPE=r.CELL_TYPE,t.MultiSelectCellType=r.MultiSelectCellType},6972(e,t,o){"use strict";t.__esModule=!0;var r=o(55907),n=o(3299),i=o(21975),s=o(25198);const a=t.CELL_TYPE="multiselect";t.MultiSelectCellType={CELL_TYPE:a,_complexDataFormat:!0,editor:r.MultiSelectEditor,renderer:n.multiSelectRenderer,validator:i.multiSelectValidator,valueGetter:s.valueGetter,valueSetter:s.valueSetter,parsePastedValue:!0}},18984(e,t,o){"use strict";t.__esModule=!0;var r=o(65822);t.valueSetter=r.valueSetter},65822(e,t,o){"use strict";t.__esModule=!0,t.valueSetter=function(e){if("string"==typeof e&&(0,r.isNumericLike)(e)){const t=(0,r.getParsedNumber)(e);return(0,n.isNullish)(t)?e:t}return e};var r=o(94366),n=o(61574)},51575(e,t,o){"use strict";t.__esModule=!0;var r=o(65404);t.CELL_TYPE=r.CELL_TYPE,t.NumericCellType=r.NumericCellType},65404(e,t,o){"use strict";t.__esModule=!0;var r=o(7269),n=o(49937),i=o(28253),s=o(18984);const a=t.CELL_TYPE="numeric";t.NumericCellType={CELL_TYPE:a,editor:r.NumericEditor,renderer:n.numericRenderer,validator:i.numericValidator,dataType:"number",valueSetter:s.valueSetter,valueFormatter:n.valueFormatter}},94913(e,t,o){"use strict";t.__esModule=!0;var r=o(72140);t.CELL_TYPE=r.CELL_TYPE,t.PasswordCellType=r.PasswordCellType},72140(e,t,o){"use strict";t.__esModule=!0;var r=o(7701),n=o(14501);const i=t.CELL_TYPE="password";t.PasswordCellType={CELL_TYPE:i,editor:r.PasswordEditor,renderer:n.passwordRenderer,copyable:!1}},3868(e,t,o){"use strict";t.__esModule=!0,t.getCellType=function(e){d(e)||(0,n.throwWithCause)(`You declared cell type "${e}" as a string that is not mapped to a known object.\n Cell type must be an object or a string mapped to an object registered by\n "Handsontable.cellTypes.registerCellType" method`);return h(e)},t.registerCellType=function(e,t){"string"!=typeof e&&(e=(t=e).CELL_TYPE);const{editor:o,renderer:r,validator:n}=t;o&&(0,i.registerEditor)(e,o);r&&(0,s.registerRenderer)(e,r);n&&(0,a.registerValidator)(e,n);l(e,t)};var r=o(36016),n=o(26032),i=o(95669),s=o(40647),a=o(7182);const{register:l,getItem:h,hasItem:d,getNames:c,getValues:u}=(0,r.staticRegister)("cellTypes");t.getRegisteredCellTypes=u,t.getRegisteredCellTypeNames=c,t.hasCellType=d},73096(e,t,o){"use strict";t.__esModule=!0;var r=o(44126);t.CELL_TYPE=r.CELL_TYPE,t.SelectCellType=r.SelectCellType},44126(e,t,o){"use strict";t.__esModule=!0;var r=o(60980),n=o(62280);const i=t.CELL_TYPE="select";t.SelectCellType={CELL_TYPE:i,editor:r.SelectEditor,renderer:n.selectRenderer}},83947(e,t,o){"use strict";t.__esModule=!0;var r=o(92);t.CELL_TYPE=r.CELL_TYPE,t.TextCellType=r.TextCellType},92(e,t,o){"use strict";t.__esModule=!0;var r=o(27567),n=o(90523);const i=t.CELL_TYPE="text";t.TextCellType={CELL_TYPE:i,editor:r.TextEditor,renderer:n.textRenderer}},4497(e,t,o){"use strict";t.__esModule=!0;var r=o(6968);t.CELL_TYPE=r.CELL_TYPE,t.TimeCellType=r.TimeCellType},6968(e,t,o){"use strict";t.__esModule=!0;var r=o(12313),n=o(2205),i=o(96775);const s=t.CELL_TYPE="time";t.TimeCellType={CELL_TYPE:s,editor:r.TimeEditor,renderer:n.timeRenderer,validator:i.timeValidator}},67610(e,t,o){"use strict";var r=o(62682);t.__esModule=!0,t.default=function(e,t){var o,r,Y=this;let j=arguments.length>2&&void 0!==arguments[2]&&arguments[2],G=this;const $=new h.default(G);let K,X,q,Z,Q,J,ee=!0;const te={...t.initialState,...t};(0,E.hasValidParameter)(j)&&(0,E.registerAsRootInstance)(this);this.rootContainer=e,this.rootWrapperElement=void 0,this.rootGridElement=void 0,this.rootPortalElement=void 0,this.rootElement=(0,E.isRootInstance)(this)?e.ownerDocument.createElement("div"):e,this.rootDocument=e.ownerDocument,this.rootWindow=this.rootDocument.defaultView,(0,E.isRootInstance)(this)&&(this.rootWrapperElement=this.rootDocument.createElement("div"),this.rootGridElement=this.rootDocument.createElement("div"),this.rootPortalElement=this.rootDocument.createElement("div"),(0,n.addClass)(this.rootElement,["ht-wrapper","handsontable"]),(0,n.addClass)(this.rootWrapperElement,"ht-root-wrapper"),(0,n.addClass)(this.rootGridElement,"ht-grid"),this.rootGridElement.appendChild(this.rootElement),this.rootWrapperElement.appendChild(this.rootGridElement),this.rootContainer.appendChild(this.rootWrapperElement),(0,n.addClass)(this.rootPortalElement,"ht-portal"),this.rootDocument.body.appendChild(this.rootPortalElement));this.isDestroyed=!1,this.renderSuspendedCounter=0,this.executionSuspendedCounter=0;const oe=null!==(o=null==te?void 0:te.layoutDirection)&&void 0!==o?o:"inherit",re=["rtl","ltr"].includes(oe)?oe:this.rootWindow.getComputedStyle(this.rootElement).direction;this.rootElement.setAttribute("dir",re),null===(r=this.rootWrapperElement)||void 0===r||r.setAttribute("dir",re),this.isRtl=function(){return"rtl"===re},this.isLtr=function(){return!G.isRtl()},this.getDirectionFactor=function(){return G.isLtr()?1:-1},this.stylesHandler=new P.StylesHandler({hot:G,rootElement:G.rootElement,rootDocument:G.rootDocument,onThemeChange:e=>{(0,E.isRootInstance)(this)&&((0,n.removeClass)(this.rootWrapperElement,/ht-theme-.*/g),(0,n.removeClass)(this.rootPortalElement,/ht-theme-.*/g),e&&((0,n.addClass)(this.rootWrapperElement,e),(0,n.addClass)(this.rootPortalElement,e),getComputedStyle(this.rootWrapperElement).getPropertyValue("--ht-line-height")||(0,D.warn)(`The "${e}" theme is enabled, but its stylesheets are missing or not imported correctly. Import the correct CSS files in order to use that theme.`)))},injectCoreCss:"boolean"!=typeof(null==t?void 0:t.injectCoreCss)||t.injectCoreCss}),this.themeManager=null,te.language=(0,R.getValidLanguageCode)(te.language);const ne=Object.fromEntries(Object.entries(te).filter(e=>{let[t]=e;return!(k.Hooks.getSingleton().isRegistered(t)||k.Hooks.getSingleton().isDeprecated(t))})),ie=new I.MetaManager(G,ne,[I.DynamicCellMetaMod,I.ExtendMetaPropertiesMod]),se=ie.getTableMeta(),ae=ie.getGlobalMeta(),le=(0,A.createUniqueMap)();this.container=this.rootDocument.createElement("div"),this.rootElement.insertBefore(this.container,this.rootElement.firstChild),this.guid=`ht_${(0,w.randomString)()}`,U.set(this.guid,this),this.columnIndexMapper=new S.IndexMapper,this.rowIndexMapper=new S.IndexMapper,this.columnIndexMapper.addLocalHook("indexesSequenceChange",e=>{G.runHooks("afterColumnSequenceChange",e)}),this.rowIndexMapper.addLocalHook("indexesSequenceChange",e=>{G.runHooks("afterRowSequenceChange",e)}),$.addEventListener(this.rootDocument.documentElement,"compositionstart",e=>{G.runHooks("beforeCompositionStart",e)}),X=new I.DataSource(G);const he=(0,g.staticRegister)(this.guid);he.register("cellRangeMapper",new k.CellRangeToRenderableMapper({rowIndexMapper:this.rowIndexMapper,columnIndexMapper:this.columnIndexMapper})),this.rootElement.id&&"ht_"!==this.rootElement.id.substring(0,3)||(this.rootElement.id=this.guid);let de=new M.Selection(se,{rowIndexMapper:G.rowIndexMapper,columnIndexMapper:G.columnIndexMapper,countCols:()=>G.countCols(),countRows:()=>G.countRows(),propToCol:e=>K.propToCol(e),isEditorOpened:()=>!!G.getActiveEditor()&&G.getActiveEditor().isOpened(),countRenderableColumns:()=>this.view.countRenderableColumns(),countRenderableRows:()=>this.view.countRenderableRows(),countRowHeaders:()=>this.countRowHeaders(),countColHeaders:()=>this.countColHeaders(),countRenderableRowsInRange:function(){return Y.view.countRenderableRowsInRange(...arguments)},countRenderableColumnsInRange:function(){return Y.view.countRenderableColumnsInRange(...arguments)},getShortcutManager:()=>G.getShortcutManager(),createCellCoords:(e,t)=>G._createCellCoords(e,t),createCellRange:(e,t,o)=>G._createCellRange(e,t,o),visualToRenderableCoords:e=>{const{row:t,col:o}=e;return G._createCellCoords(t>=0?G.rowIndexMapper.getRenderableFromVisualIndex(t):t,o>=0?G.columnIndexMapper.getRenderableFromVisualIndex(o):o)},renderableToVisualCoords:e=>{const{row:t,col:o}=e;return G._createCellCoords(t>=0?G.rowIndexMapper.getVisualFromRenderableIndex(t):t,o>=0?G.columnIndexMapper.getVisualFromRenderableIndex(o):o)},findFirstNonHiddenRenderableRow:(e,t)=>{const o=t>e?1:-1,r=Math.min(e,t),n=Math.max(e,t),i=G.rowIndexMapper.getNearestNotHiddenIndex(e,o);return null===i||1===o&&i>n||-1===o&&i<r?null:i>=0?G.rowIndexMapper.getRenderableFromVisualIndex(i):i},findFirstNonHiddenRenderableColumn:(e,t)=>{const o=t>e?1:-1,r=Math.min(e,t),n=Math.max(e,t),i=G.columnIndexMapper.getNearestNotHiddenIndex(e,o);return null===i||1===o&&i>n||-1===o&&i<r?null:i>=0?G.columnIndexMapper.getRenderableFromVisualIndex(i):i},isDisabledCellSelection:(e,t)=>e<0||t<0?G.getSettings().disableVisualSelection:G.getCellMeta(e,t).disableVisualSelection});this.selection=de;const ce=e=>{let{hiddenIndexesChanged:t}=e;this.forceFullRender=!0,t&&this.selection.commit()};function ue(e,t){const o="className"===e?G.rootElement:G.table;if(ee)(0,n.addClass)(o,t);else{let r=[],i=[];ae[e]&&(r=Array.isArray(ae[e])?ae[e]:(0,c.stringToArray)(ae[e])),t&&(i=Array.isArray(t)?t:(0,c.stringToArray)(t));const s=(0,c.getDifferenceOfArrays)(r,i),a=(0,c.getDifferenceOfArrays)(i,r);s.length&&(0,n.removeClass)(o,s),a.length&&(0,n.addClass)(o,a)}ae[e]=t}function ge(e){let t;void 0===e?(t=(0,W.hasTheme)("main")?(0,W.getTheme)("main"):(0,W.registerTheme)(W.mainTheme),t=(0,W.getTheme)("main")):t="function"!=typeof e.getThemeConfig?(0,W.registerTheme)(e):e,G.themeManager=(0,V.createThemeManager)({hot:G,themeObject:t})}function pe(){let e=!1;return{validatorsInQueue:0,valid:!0,addValidatorToQueue(){this.validatorsInQueue+=1,e=!1},removeValidatorFormQueue(){this.validatorsInQueue=this.validatorsInQueue-1<0?0:this.validatorsInQueue-1,this.checkIfQueueIsEmpty()},onQueueEmpty(){},checkIfQueueIsEmpty(){0===this.validatorsInQueue&&!1===e&&(e=!0,this.onQueueEmpty(this.valid))}}}function fe(e,t,o){if(!e.length)return void o();const r=G.getActiveEditor(),n=new pe;let i=!0;n.onQueueEmpty=()=>{r&&i&&r._closeAfterDataChange&&r.cancelChanges(),o()};for(let o=e.length-1;o>=0;o--){const[r,s,,a]=e[o],l=K.propToCol(s);let h;h=Number.isInteger(l)?G.getCellMeta(r,l):{...Object.getPrototypeOf(se),...se},G.getCellValidator(h)&&(n.addValidatorToQueue(),G.validateCell(a,h,function(t,o){return function(r){"boolean"!=typeof r&&(0,L.throwWithCause)("Validation error: result is not boolean"),!1===r&&!1===o.allowInvalid&&(i=!1,e.splice(t,1),o.valid=!0),n.removeValidatorFormQueue()}}(o,h),t))}n.checkIfQueueIsEmpty()}function me(e,t){for(let t=e.length-1;t>=0;t--){let o=!1;if(null!==e[t]){if(null!==e[t][2]&&void 0!==e[t][2]||null!==e[t][3]&&void 0!==e[t][3]){if(se.allowInsertRow)for(;e[t][0]>G.countRows()-1;){const{delta:e}=K.createRow(void 0,void 0,{source:"auto"});if(0===e){o=!0;break}}if("array"===G.dataType&&(!se.columns||0===se.columns.length)&&se.allowInsertColumn)for(;K.propToCol(e[t][1])>G.countCols()-1;){const{delta:e}=K.createCol(void 0,void 0,{source:"auto"});if(0===e){o=!0;break}}o||K.set(e[t][0],e[t][1],e[t][3])}}else e.splice(t,1)}const o=e.length>0,r=Z.getActiveEditor(),n=null==r?void 0:r._closeAfterDataChange;o?(q.adjustRowsAndCols(),G.runHooks("beforeChangeRender",e,t),null!=r&&r.isOpened()&&n&&Z.closeEditor(),G.view.adjustElementsSize(),G.render(),(null!=r&&r.isOpened()&&n||null==r||!r.isOpened())&&Z.prepareEditor(),G.runHooks("afterChange",e,t||"edit"),r&&(0,s.isDefined)(r.refreshValue)&&r.refreshValue()):G.render()}function Ce(e,t,o){return Array.isArray(e)?e:[[e,t,o]]}function we(e,t){const o=G.runHooks("beforeChange",e,t||"edit"),r=e.filter(e=>null!==e);var n;if(!1===o||0===r.length)return null===(n=G.getActiveEditor())||void 0===n||n.cancelChanges(),[];for(let e=r.length-1;e>=0;e--){const[t,o,,n]=r[e],i=K.propToCol(o);let s;s=Number.isInteger(i)?G.getCellMeta(t,i):{...Object.getPrototypeOf(se),...se},r[e][3]=(0,F.getValueSetterValue)(n,s)}return r}this.columnIndexMapper.addLocalHook("cacheUpdated",e=>{ce(e),this.runHooks("afterColumnSequenceCacheUpdate",e)}),this.rowIndexMapper.addLocalHook("cacheUpdated",e=>{ce(e),this.runHooks("afterRowSequenceCacheUpdate",e)}),this.selection.addLocalHook("afterSetRangeEnd",(e,t)=>{const o=(0,d.createObjectPropListener)(!1),r=this.selection.getSelectedRange(),{from:i,to:s}=r.current(),a=r.size()-1;this.runHooks("afterSelection",i.row,i.col,s.row,s.col,o,a),this.runHooks("afterSelectionByProp",i.row,G.colToProp(i.col),s.row,G.colToProp(s.col),o,a);const l=de.getSelectionSource();!t||["loadData","updateData"].includes(l)||o.isTouched()&&(!o.isTouched()||o.value)||J.scrollTo(e);const h=de.isSelectedByRowHeader(),c=de.isSelectedByColumnHeader();h&&c?(0,n.addClass)(this.rootElement,["ht__selection--rows","ht__selection--columns"]):h?((0,n.removeClass)(this.rootElement,"ht__selection--columns"),(0,n.addClass)(this.rootElement,"ht__selection--rows")):c?((0,n.removeClass)(this.rootElement,"ht__selection--rows"),(0,n.addClass)(this.rootElement,"ht__selection--columns")):(0,n.removeClass)(this.rootElement,["ht__selection--rows","ht__selection--columns"]),["shift","refresh","loadData","updateData"].includes(l)||Z.closeEditor(null),["refresh","loadData","updateData"].includes(l)||(G.view.render(),Z.prepareEditor())}),this.selection.addLocalHook("beforeSetFocus",e=>{this.runHooks("beforeSelectionFocusSet",e.row,e.col)}),this.selection.addLocalHook("afterSetFocus",e=>{const t=(0,d.createObjectPropListener)(!1);this.runHooks("afterSelectionFocusSet",e.row,e.col,t),(!t.isTouched()||t.isTouched()&&!t.value)&&J.scrollTo(e),Z.closeEditor(),G.view.render(),Z.prepareEditor()}),this.selection.addLocalHook("afterSelectionFinished",e=>{const t=e.length-1,{from:o,to:r}=e[t];this.runHooks("afterSelectionEnd",o.row,o.col,r.row,r.col,t),this.runHooks("afterSelectionEndByProp",o.row,G.colToProp(o.col),r.row,G.colToProp(r.col),t),"refresh"===de.getSelectionSource()&&(G.view.render(),Z.prepareEditor())}),this.selection.addLocalHook("afterIsMultipleSelection",e=>{const t=this.runHooks("afterIsMultipleSelection",e.value);e.value&&(e.value=t)}),this.selection.addLocalHook("afterDeselect",()=>{Z.closeEditor(),G.view.render(),(0,n.removeClass)(this.rootElement,["ht__selection--rows","ht__selection--columns"]),this.runHooks("afterDeselect")}),this.selection.addLocalHook("beforeHighlightSet",()=>this.runHooks("beforeSelectionHighlightSet")).addLocalHook("beforeSetRangeStart",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("beforeSetRangeStart",...t)}).addLocalHook("beforeSetRangeStartOnly",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("beforeSetRangeStartOnly",...t)}).addLocalHook("beforeSetRangeEnd",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("beforeSetRangeEnd",...t)}).addLocalHook("beforeSelectColumns",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("beforeSelectColumns",...t)}).addLocalHook("afterSelectColumns",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("afterSelectColumns",...t)}).addLocalHook("beforeSelectRows",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("beforeSelectRows",...t)}).addLocalHook("afterSelectRows",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("afterSelectRows",...t)}).addLocalHook("beforeSelectAll",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("beforeSelectAll",...t)}).addLocalHook("afterSelectAll",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("afterSelectAll",...t)}).addLocalHook("beforeModifyTransformStart",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("modifyTransformStart",...t)}).addLocalHook("afterModifyTransformStart",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("afterModifyTransformStart",...t)}).addLocalHook("beforeModifyTransformFocus",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("modifyTransformFocus",...t)}).addLocalHook("afterModifyTransformFocus",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("afterModifyTransformFocus",...t)}).addLocalHook("beforeModifyTransformEnd",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("modifyTransformEnd",...t)}).addLocalHook("afterModifyTransformEnd",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("afterModifyTransformEnd",...t)}).addLocalHook("beforeRowWrap",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("beforeRowWrap",...t)}).addLocalHook("beforeColumnWrap",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("beforeColumnWrap",...t)}).addLocalHook("insertRowRequire",e=>this.alter("insert_row_above",e,1,"auto")).addLocalHook("insertColRequire",e=>this.alter("insert_col_start",e,1,"auto")),q={alter(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3?arguments[3]:void 0,n=arguments.length>4?arguments[4]:void 0;const i=e=>{if(0===e.length)return[];const t=[...e];t.sort((e,t)=>{let[o]=e,[r]=t;return o===r?0:o>r?1:-1});return(0,c.arrayReduce)(t,(e,t)=>{let[o,r]=t;const n=e[e.length-1],[i,s]=n,a=i+s;if(o<=a){const e=Math.max(r-(a-o),0);n[1]+=e}else e.push([o,r]);return e},[t[0]])};switch(e){case"insert_row_below":case"insert_row_above":const n=G.countSourceRows();if(se.maxRows===n)return;const a="insert_row_below"===e?"below":"above";t=null!=t?t:"below"===a?n:0;const{delta:l,startPhysicalIndex:h}=K.createRow(t,o,{source:r,mode:a});de.shiftRows(G.toVisualRow(h),l);break;case"insert_col_start":case"insert_col_end":const d="insert_col_end"===e?"end":"start";t=null!=t?t:"end"===d?G.countSourceCols():0;const{delta:u,startPhysicalIndex:g}=K.createCol(t,o,{source:r,mode:d});if(u){if(Array.isArray(se.colHeaders)){const e=[G.toVisualColumn(g),0];e.length+=u,Array.prototype.splice.apply(se.colHeaders,e)}de.shiftColumns(G.toVisualColumn(g),u)}break;case"remove_row":const p=e=>{let t=0;(0,c.arrayEach)(e,e=>{let[o,n]=e;const i=(0,s.isEmpty)(o)?G.countRows()-1:Math.max(o-t,0);Number.isInteger(o)&&(o=Math.max(o-t,0));if(!K.removeRow(o,n,r))return;if(de.isSelected()){const{row:e}=G.getSelectedRangeActive().highlight;e>=o&&e<=o+n-1&&Z.closeEditor(!0)}const a=G.countRows(),l=se.fixedRowsTop;l>=i+1&&(se.fixedRowsTop-=Math.min(n,l-i));const h=se.fixedRowsBottom;if(h&&i>=a-h&&(se.fixedRowsBottom-=Math.min(n,h)),0===a)de.deselect();else if("ContextMenu.removeRow"===r){const e=de.getSelectedRange(),t=e.pop();e.clear().set(t.from).current().setTo(t.to),de.refresh()}else de.shiftRows(o,-n);t+=n})};Array.isArray(t)?p(i(t)):p([[t,o]]);break;case"remove_col":const f=e=>{let t=0;(0,c.arrayEach)(e,e=>{let[o,n]=e;const i=(0,s.isEmpty)(o)?G.countCols()-1:Math.max(o-t,0);let a=G.toPhysicalColumn(i);Number.isInteger(o)&&(o=Math.max(o-t,0));if(!K.removeCol(o,n,r))return;if(de.isSelected()){const{col:e}=G.getSelectedRangeActive().highlight;e>=o&&e<=o+n-1&&Z.closeEditor(!0)}if(0===G.countCols())de.deselect();else if("ContextMenu.removeColumn"===r){const e=de.getSelectedRange(),t=e.pop();e.clear().set(t.from).current().setTo(t.to),de.refresh()}else de.shiftColumns(o,-n);const l=se.fixedColumnsStart;l>=i+1&&(se.fixedColumnsStart-=Math.min(n,l-i)),Array.isArray(se.colHeaders)&&(void 0===a&&(a=-1),se.colHeaders.splice(a,n)),t+=n})};Array.isArray(t)?f(i(t)):f([[t,o]]);break;default:(0,L.throwWithCause)(`There is no such action "${e}"`)}n||q.adjustRowsAndCols(),G.view.adjustElementsSize(),G.view.render()},adjustRowsAndCols(){const e=se.minRows,t=se.minSpareRows,o=se.minCols,r=se.minSpareCols;if(e){const t=G.countRows();t<e&&K.createRow(t,e-t,{source:"auto"})}if(t){const e=G.countEmptyRows(!0);if(e<t){const o=t-e,r=Math.min(o,se.maxRows-G.countSourceRows());K.createRow(G.countRows(),r,{source:"auto"})}}{let e;(o||r)&&(e=G.countEmptyCols(!0));let t=G.countCols();if(o&&!se.columns&&t<o){const r=o-t;e+=r,K.createCol(t,r,{source:"auto"})}if(r&&!se.columns&&"array"===G.dataType&&e<r){t=G.countCols();const o=r-e,n=Math.min(o,se.maxCols-t);K.createCol(t,n,{source:"auto"})}}},populateFromArray(e,t,o,r,n){let i,s,a,l;const h=[],u={},g=[],p=e.row,f=e.col;if(s=t.length,0===s)return!1;let m=0,C=0;switch((0,d.isObject)(o)&&(m=o.col-f+1,C=o.row-p+1),n){case"shift_down":const n=(0,c.pivot)(t),b=n.length,v=Math.max(b,m),y=G.getData().slice(p),S=(0,c.pivot)(y).slice(f,f+v);for(a=0;a<v;a+=1)if(a<b){for(i=0,s=n[a].length;i<C-s;i+=1)n[a].push(n[a][i%s]);a<S.length?g.push(n[a].concat(S[a])):g.push(n[a].concat(new Array(y.length).fill(null)))}else g.push(n[a%b].concat(S[a]));G.populateFromArray(p,f,(0,c.pivot)(g));break;case"shift_right":const E=t.length,_=Math.max(E,C),R=G.getData().slice(p).map(e=>e.slice(f));for(i=0;i<_;i+=1)if(i<E){for(a=0,l=t[i].length;a<m-l;a+=1)t[i].push(t[i][a%l]);if(i<R.length)for(let e=0;e<R[i].length;e+=1)t[i].push(R[i][e]);else t[i].push(...new Array(R[0].length).fill(null))}else t.push(t[i%s].slice(0,_).concat(R[i]));G.populateFromArray(p,f,t);break;default:u.row=e.row,u.col=e.col;let T,M=0,I=0,k=!0;const O=function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const r=t[e%t.length];return null!==o?r[o%r.length]:r},A=t.length,x=o?o.row-e.row+1:0;for(s=o?x:Math.max(A,x),i=0;i<s&&!(o&&u.row>o.row&&x>A||!se.allowInsertRow&&u.row>G.countRows()-1||u.row>=se.maxRows);i++){const t=i-M,n=O(t).length,c=o?o.col-e.col+1:0;if(l=o?c:Math.max(n,c),u.col=e.col,T=G.getCellMeta(u.row,u.col),"CopyPaste.paste"!==r&&"Autofill.fill"!==r||!T.skipRowOnPaste){for(I=0,a=0;a<l;a++){var w;if(o&&u.col>o.col&&c>n||!se.allowInsertColumn&&u.col>G.countCols()-1||u.col>=se.maxCols)break;if(T=G.getCellMeta(u.row,u.col),("CopyPaste.paste"===r||"Autofill.fill"===r)&&T.skipColumnOnPaste){I+=1,u.col+=1,l+=1;continue}if(T.readOnly&&"UndoRedo.undo"!==r){u.col+=1;continue}const e=a-I,i=!!T.valueSetter;let s=O(t,e),g=null!==(w=G.getSourceDataAtCell(u.row,u.col))&&void 0!==w?w:null;if(null!==s&&"object"==typeof s)if(Array.isArray(s)&&null===g&&(g=[]),i||"object"==typeof g&&null!==g){if(null!==g){const e=(0,d.duckSchema)(Array.isArray(g)?g:g[0]||g),t=(0,d.duckSchema)(Array.isArray(s)?s:s[0]||s);i||(0,d.isObjectEqual)(e,t)||Array.isArray(e)&&Array.isArray(t)?s=(0,d.deepClone)(s):k=!1}}else k=!1,T.parsePastedValue&&"CopyPaste.paste"===r&&(k=!0);else i||null===g||"object"!=typeof g||(k=!1);k&&h.push([u.row,u.col,s]),k=!0,u.col+=1}u.row+=1}else M+=1,u.row+=1,s+=1}G.setDataAtCell(h,null,null,r||"populateFromArray")}}},this.init=function(){X.setData(se.data),G.runHooks("beforeInit"),((0,a.isMobileBrowser)()||(0,a.isIpadOS)())&&(0,n.addClass)(G.rootElement,"mobile"),this.updateSettings(te,!0),this.view=new v.default(this),Z=l.default.getInstance(G,se,de),J=(0,k.createViewportScroller)(G),Q.init(),(0,E.isRootInstance)(this)&&((0,B.install)(G.rootPortalElement),(0,s._injectProductInfo)(te.licenseKey,this.rootWrapperElement,"04/03/2026")),G.runHooks("init"),this.render(),ee&&null===G.rootElement.offsetParent&&(0,n.observeVisibilityChangeOnce)(G.rootElement,()=>{G.view._wt.wtOverlays.updateLastSpreaderSize(),G.view.adjustElementsSize(),G.render()}),"object"==typeof ee&&(G.runHooks("afterChange",ee[0],ee[1]),ee=!1),G.runHooks("afterInit")},this._createCellCoords=function(e,t){return G.view._wt.createCellCoords(e,t)},this._createCellRange=function(e,t,o){return G.view._wt.createCellRange(e,t,o)},this.validateCell=function(e,t,o,r){let n=G.getCellValidator(t);function a(e){if(!(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])||!0===t.hidden)return void o(e);const r=t.visualCol,n=t.visualRow,i=G.getCell(n,r,!0);if(i&&"TH"!==i.nodeName){const e=G.rowIndexMapper.getRenderableFromVisualIndex(n),t=G.columnIndexMapper.getRenderableFromVisualIndex(r);G.view._wt.getSetting("cellRenderer",e,t,i)}o(e)}var l;(0,s.isRegExp)(n)&&(l=n,n=function(e,t){t(l.test(e))}),(0,i.isFunction)(n)?(e=G.runHooks("beforeValidate",e,t.visualRow,t.prop,r),G._registerMicrotask(()=>{n.call(t,e,o=>{G&&(o=G.runHooks("afterValidate",o,e,t.visualRow,t.prop,r),t.valid=o,a(o),G.runHooks("postAfterValidate",o,e,t.visualRow,t.prop,r))})})):G._registerMicrotask(()=>{t.valid=!0,a(t.valid,!1)})},this.setDataAtCell=function(e,t,o,r){const n=Ce(e,t,o),i=[];let s,a,l,h=r;for(s=0,a=n.length;s<a;s++){const[e,t,o]=n[s];"object"!=typeof n[s]&&(0,L.throwWithCause)("Method `setDataAtCell` accepts row number or changes array of arrays as its first parameter"),"number"!=typeof n[s][1]&&(0,L.throwWithCause)("Method `setDataAtCell` accepts row and column number as its parameters. If you want to use object property name, use method `setDataAtRowProp`"),l=t>=this.countCols()?t:K.colToProp(t),i.push([e,l,X.getAtCell(this.toPhysicalRow(e),t),o])}h||"object"!=typeof e||(h=t);const d=we(i,h);G.runHooks("afterSetDataAtCell",d,h),fe(d,h,()=>{me(d,h)})},this.setDataAtRowProp=function(e,t,o,r){const n=Ce(e,t,o),i=[];let s,a,l=r;for(s=0,a=n.length;s<a;s++){const[e,t,o]=n[s];i.push([e,t,X.getAtCell(this.toPhysicalRow(e),t),o])}l||"object"!=typeof e||(l=t);const h=we(i,r);G.runHooks("afterSetDataAtRowProp",h,l),fe(h,l,()=>{me(h,l)})},this.listen=function(){G&&!G.isListening()&&(U.forEach(e=>{G!==e&&e.unlisten()}),z=G.guid,G.runHooks("afterListen"))},this.unlisten=function(){this.isListening()&&(z=null,G.runHooks("afterUnlisten"))},this.isListening=function(){return z===G.guid},this.destroyEditor=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Z.closeEditor(e),G.view.render(),t&&de.isSelected()&&Z.prepareEditor()},this.populateFromArray=function(e,t,o,r,n,i,s){"object"==typeof o&&"object"==typeof o[0]||(0,L.throwWithCause)("populateFromArray parameter `input` must be an array of arrays");const a="number"==typeof r?G._createCellCoords(r,n):null;return q.populateFromArray(G._createCellCoords(e,t),o,a,i,s)},this.spliceCol=function(e,t,o){for(var r=arguments.length,n=new Array(r>3?r-3:0),i=3;i<r;i++)n[i-3]=arguments[i];return K.spliceCol(e,t,o,...n)},this.spliceRow=function(e,t,o){for(var r=arguments.length,n=new Array(r>3?r-3:0),i=3;i<r;i++)n[i-3]=arguments[i];return K.spliceRow(e,t,o,...n)},this.getSelected=function(){if(de.isSelected())return(0,c.arrayMap)(de.getSelectedRange(),e=>{let{from:t,to:o}=e;return[t.row,t.col,o.row,o.col]})},this.getSelectedLast=function(){const e=this.getSelected();let t;return e&&e.length>0&&(t=e[e.length-1]),t},this.getSelectedActive=function(){const e=this.getSelectedRangeActive();if(!e)return;const{from:t,to:o}=e;return[t.row,t.col,o.row,o.col]},this.getSelectedRange=function(){if(de.isSelected())return Array.from(de.getSelectedRange())},this.getSelectedRangeLast=function(){const e=this.getSelectedRange();let t;return e&&e.length>0&&(t=e[e.length-1]),t},this.getSelectedRangeActive=function(){return de.getActiveSelectedRange()},this.getActiveSelectionLayerIndex=function(){return de.getActiveSelectionLayerIndex()},this.emptySelectedCells=function(e){if(!de.isSelected()||0===this.countRows()||0===this.countCols())return;const t=[];(0,c.arrayEach)(de.getSelectedRange(),e=>{if(e.isSingleHeader())return;const o=e.getTopStartCorner(),r=e.getBottomEndCorner();(0,b.rangeEach)(o.row,r.row,e=>{(0,b.rangeEach)(o.col,r.col,o=>{this.getCellMeta(e,o).readOnly||t.push([e,o,null])})})}),t.length>0&&this.setDataAtCell(t,e)},this.isRenderSuspended=function(){return this.renderSuspendedCounter>0},this.suspendRender=function(){this.renderSuspendedCounter+=1},this.resumeRender=function(){const e=this.renderSuspendedCounter-1;this.renderSuspendedCounter=Math.max(e,0),this.isRenderSuspended()||e!==this.renderSuspendedCounter||G.view.render()},this.render=function(){this.view&&(this.forceFullRender=!0,this.isRenderSuspended()||G.view.render())},this.batchRender=function(e){this.suspendRender();const t=e();return this.resumeRender(),t},this.isExecutionSuspended=function(){return this.executionSuspendedCounter>0},this.suspendExecution=function(){this.executionSuspendedCounter+=1,this.columnIndexMapper.suspendOperations(),this.rowIndexMapper.suspendOperations()},this.resumeExecution=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.executionSuspendedCounter-1;this.executionSuspendedCounter=Math.max(t,0),(!this.isExecutionSuspended()&&t===this.executionSuspendedCounter||e)&&(this.columnIndexMapper.resumeOperations(),this.rowIndexMapper.resumeOperations())},this.batchExecution=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.suspendExecution();const o=e();return this.resumeExecution(t),o},this.batch=function(e){this.suspendRender(),this.suspendExecution();const t=e();return this.resumeExecution(),this.resumeRender(),t},this.refreshDimensions=function(){if(!G.view)return;const e=G.view,{width:t,height:o}=e.getLastSize(),{width:r,height:n}=G.rootElement.getBoundingClientRect(),i=r!==t||n!==o;!1===G.runHooks("beforeRefreshDimensions",{width:t,height:o},{width:r,height:n},i)||((i||e._wt.wtOverlays.scrollableElement===G.rootWindow)&&(e.setLastSize(r,n),e.adjustElementsSize(),G.render()),G.runHooks("afterRefreshDimensions",{width:t,height:o},{width:r,height:n},i))},this.updateData=function(e,t){(0,I.replaceData)(e,e=>{K=e},e=>{K=e,G.columnIndexMapper.fitToLength(this.getInitialColumnCount()),G.rowIndexMapper.fitToLength(this.countSourceRows()),q.adjustRowsAndCols(),de.markSource("updateData"),de.refresh(),de.markEndSource()},{hotInstance:G,dataMap:K,dataSource:X,internalSource:"updateData",source:t,metaManager:ie,firstRun:ee})},this.loadData=function(e,t){(0,I.replaceData)(e,e=>{K=e},()=>{ie.clearCellsCache(),G.initIndexMappers(),q.adjustRowsAndCols(),de.markSource("loadData"),de.refresh(),de.markEndSource(),ee&&(ee=[null,"loadData"])},{hotInstance:G,dataMap:K,dataSource:X,internalSource:"loadData",source:t,metaManager:ie,firstRun:ee})},this.getInitialColumnCount=function(){const e=se.columns;let t=0;if(Array.isArray(e))t=e.length;else if((0,i.isFunction)(e))if("array"===G.dataType){const o=this.countSourceCols();for(let r=0;r<o;r+=1)e(r)&&(t+=1)}else"object"!==G.dataType&&"function"!==G.dataType||(t=K.colToPropCache.length);else if((0,s.isDefined)(se.dataSchema)){const e=K.getSchema();t=Array.isArray(e)?e.length:(0,d.deepObjectSize)(e)}else t=this.countSourceCols();return t},this.initIndexMappers=function(){this.columnIndexMapper.initToLength(this.getInitialColumnCount()),this.rowIndexMapper.initToLength(this.countSourceRows())},this.getData=function(e,t,o,r){return(0,s.isUndefined)(e)?K.getAll():K.getRange(G._createCellCoords(e,t),G._createCellCoords(o,r),K.DESTINATION_RENDERER)},this.getCopyableText=function(e,t,o,r){return K.getCopyableText(G._createCellCoords(e,t),G._createCellCoords(o,r))},this.getCopyableData=function(e,t){return K.getCopyable(e,K.colToProp(t))},this.getCopyableSourceData=function(e,t){return X.getCopyable(e,K.colToProp(t))},this.getSchema=function(){return K.getSchema()},this.updateSettings=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const o=(ee?G.loadData:G.updateData).bind(this);let r,n,a=!1;for(r in(0,s.isDefined)(e.rows)&&(0,L.throwWithCause)('The "rows" setting is no longer supported. Do you mean startRows, minRows or maxRows?'),(0,s.isDefined)(e.cols)&&(0,L.throwWithCause)('The "cols" setting is no longer supported. Do you mean startCols, minCols or maxCols?'),(0,s.isDefined)(e.ganttChart)&&(0,L.throwWithCause)('Since 8.0.0 the "ganttChart" setting is no longer supported.'),(0,s.isDefined)(e.rowHeights)&&(0,s.isDefined)(e.minRowHeights)&&(0,D.warn)("Both `rowHeights` and `minRowHeights` are defined in your configuration. As one is the alias of the other, only one of them can be used at a time. `rowHeights` will be used as the row height configuration."),e)if("data"===r||"language"===r);else if("className"===r)ue("className",e.className);else if("tableClassName"===r&&G.table)ue("tableClassName",e.tableClassName),G.view._wt.wtOverlays.syncOverlayTableClassNames();else if(k.Hooks.getSingleton().isRegistered(r)||k.Hooks.getSingleton().isDeprecated(r)){const t=e[r];(0,i.isFunction)(t)?(k.Hooks.getSingleton().addAsFixed(r,t,G),se[r]=t):Array.isArray(t)&&(k.Hooks.getSingleton().add(r,t,G),se[r]=t)}else!t&&(0,d.hasOwnProperty)(e,r)&&(ae[r]=e[r]);const l=(0,H.getThemeClassName)(G.rootContainer),h=(0,d.hasOwnProperty)(e,"themeName"),c=(0,d.hasOwnProperty)(e,"theme");if(h&&c&&(0,D.warn)("Both `theme` and `themeName` are defined in your configuration. These options are aliases and cannot be used together. The `themeName` option will be ignored."),t){let t;c&&"string"==typeof e.theme?t=e.theme:h&&"string"==typeof e.themeName&&e.themeName&&!c?(t=e.themeName,se.theme=e.themeName,se.themeName=void 0):l?t=l:G.themeManager&&(t=G.themeManager.getClassName()),G.useTheme(t)}else{const t=G.getCurrentThemeName();var u;if(c&&"string"==typeof e.theme&&t!==e.theme)G.useTheme(e.theme),null===(u=G.themeManager)||void 0===u||u.unmount();else if(h&&!c&&t!==e.themeName){var g;se.theme=e.themeName,se.themeName=void 0,G.useTheme(e.themeName),null===(g=G.themeManager)||void 0===g||g.unmount()}else(0,E.isRootInstance)(G)&&!l&&(0,d.isObject)(e.theme)&&(null===G.themeManager?(ge(e.theme),G.useTheme(G.themeManager.getClassName())):(G.themeManager.update(e.theme),G.useTheme(G.themeManager.getClassName())))}void 0===e.data&&void 0===se.data?o(null,"updateSettings"):void 0!==e.data?o(e.data,"updateSettings"):void 0!==e.columns&&(K.createMap(),G.initIndexMappers()),!ee&&e.language&&function(e){const t=(0,T.normalizeLanguageCode)(e);(0,R.hasLanguageDictionary)(t)?(G.runHooks("beforeLanguageChange",t),ae.language=t,G.runHooks("afterLanguageChange",t)):(0,T.warnUserAboutLanguageRegistration)(e)}(e.language);const p=G.countCols(),f=se.columns;if(f&&(0,i.isFunction)(f)&&(a=!0),void 0===e.cell&&void 0===e.cells&&void 0===e.columns||ie.clearCache(),p>0)for(r=0,n=0;r<p;r++){if(f){const e=a?f(r):f[n];e&&ie.updateColumnMeta(n,e)}n+=1}(0,s.isDefined)(e.cell)&&(0,d.objectEach)(e.cell,e=>{G.setCellMetaObject(e.row,e.col,e)}),G.runHooks("afterCellMetaReset"),ee&&(0,I.runSourceDataValidators)(G,"init");let m=G.rootElement.style.height;if(""!==m&&(m=parseInt(G.rootElement.style.height,10)),t){G.rootElement.getAttribute("style")&&G.rootElement.setAttribute("data-initialstyle",G.rootElement.getAttribute("style"))}let C=e.height;if(void 0!==e.height)if((0,i.isFunction)(C)&&(C=C()),C=G.runHooks("beforeHeightChange",C),null===C){const e=G.rootElement.getAttribute("data-initialstyle");e&&(e.indexOf("height")>-1||e.indexOf("overflow")>-1)?G.rootElement.setAttribute("style",e):(G.rootElement.style.height="",G.rootElement.style.overflow="")}else void 0!==C&&(G.rootElement.style.height=isNaN(C)?`${C}`:`${C}px`,G.rootElement.style.overflow="clip");if(void 0!==e.width){let t=e.width;(0,i.isFunction)(t)&&(t=t()),t=G.runHooks("beforeWidthChange",t),G.rootElement.style.width=isNaN(t)?`${t}`:`${t}px`}t||(G.view&&(G.view._wt.wtViewport.resetHasOversizedColumnHeadersMarked(),G.view._wt.exportSettingsAsClassNames()),G.runHooks("afterUpdateSettings",e)),q.adjustRowsAndCols(),G.view&&!ee&&(G.render(),G.view._wt.wtOverlays.adjustElementsSize()),t||!G.view||""!==m&&""!==C&&void 0!==C||m===C||G.view._wt.wtOverlays.updateMainScrollableElements()},this.getValue=function(){const e=G.getSelectedRangeActive();if(se.getValue){if((0,i.isFunction)(se.getValue))return se.getValue.call(G);if(e)return G.getData()[e.highlight.row][se.getValue]}else if(e)return G.getDataAtCell(e.highlight.row,e.highlight.col);return null},this.getSettings=function(){return se},this.clear=function(){this.selectAll(),this.emptySelectedCells()},this.alter=function(e,t,o,r,n){q.alter(e,t,o,r,n)},this.getCell=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t,n=e;if(t>=0){if(this.columnIndexMapper.isHidden(this.toPhysicalColumn(t)))return null;r=this.columnIndexMapper.getRenderableFromVisualIndex(t)}if(e>=0){if(this.rowIndexMapper.isHidden(this.toPhysicalRow(e)))return null;n=this.rowIndexMapper.getRenderableFromVisualIndex(e)}return null===n||null===r||void 0===n||void 0===r?null:G.view.getCellAtCoords(G._createCellCoords(n,r),o)},this.getCoords=function(e){const t=this.view._wt.wtTable.getCoords(e);if(null===t)return null;const{row:o,col:r}=t;let n=o,i=r;return o>=0&&(n=this.rowIndexMapper.getVisualFromRenderableIndex(o)),r>=0&&(i=this.columnIndexMapper.getVisualFromRenderableIndex(r)),G._createCellCoords(n,i)},this.colToProp=function(e){return K.colToProp(e)},this.propToCol=function(e){return K.propToCol(e)},this.toVisualRow=e=>this.rowIndexMapper.getVisualFromPhysicalIndex(e),this.toVisualColumn=e=>this.columnIndexMapper.getVisualFromPhysicalIndex(e),this.toPhysicalRow=e=>this.rowIndexMapper.getPhysicalFromVisualIndex(e),this.toPhysicalColumn=e=>this.columnIndexMapper.getPhysicalFromVisualIndex(e),this.getDataAtCell=function(e,t){return K.get(e,K.colToProp(t))},this.getDataAtRowProp=function(e,t){return K.get(e,t)},this.getDataAtCol=function(e){const t=[],o=K.getRange(G._createCellCoords(0,e),G._createCellCoords(se.data.length-1,e),K.DESTINATION_RENDERER);for(let e=0;e<o.length;e+=1)for(let r=0;r<o[e].length;r+=1)t.push(o[e][r]);return t},this.getDataAtProp=function(e){const t=[],o=K.getRange(G._createCellCoords(0,K.propToCol(e)),G._createCellCoords(se.data.length-1,K.propToCol(e)),K.DESTINATION_RENDERER);for(let e=0;e<o.length;e+=1)for(let r=0;r<o[e].length;r+=1)t.push(o[e][r]);return t},this.getSourceData=function(e,t,o,r){let n;return n=void 0===e?X.getData():X.getByRange(G._createCellCoords(e,t),G._createCellCoords(o,r)),n},this.getSourceDataArray=function(e,t,o,r){let n;return n=void 0===e?X.getData(!0):X.getByRange(G._createCellCoords(e,t),G._createCellCoords(o,r),!0),n},this.getSourceDataAtCol=function(e){return X.getAtColumn(e)},this.setSourceDataAtCell=function(e,t,o,r){const n=Ce(e,t,o),i=this.hasHook("afterSetSourceDataAtCell"),a=[],l=(e,t)=>{const o=this.toVisualRow(e),r=this.toVisualColumn(t);return Number.isInteger(r)?this.getCellMeta(o,r):{...Object.getPrototypeOf(se),...se}};i&&(0,c.arrayEach)(n,e=>{let[t,o,r]=e;const n=(0,F.getValueSetterValue)(r,l(t,o));a.push([t,o,X.getAtCell(t,o),n])}),(0,c.arrayEach)(n,e=>{let[t,o,n]=e;const i=l(t,o),s=(0,F.getValueSetterValue)(n,i);(0,I.runSourceDataValidator)(s,i,null!=r?r:"setSourceDataAtCell")&&X.setAtCell(t,o,s)}),i&&this.runHooks("afterSetSourceDataAtCell",a,r),this.render();const h=G.getActiveEditor();h&&(0,s.isDefined)(h.refreshValue)&&h.refreshValue()},this.getSourceDataAtRow=function(e){return X.getAtRow(e)},this.getSourceDataAtCell=function(e,t){return X.getAtCell(e,t)},this.getDataAtRow=function(e){return K.getRange(G._createCellCoords(e,0),G._createCellCoords(e,this.countCols()-1),K.DESTINATION_RENDERER)[0]||[]},this.getDataType=function(e,t,o,r){const n=void 0===e?[0,0,this.countRows(),this.countCols()]:[e,t,o,r],[i,s]=n;let[,,a,l]=n,h=null,d=null;void 0===a&&(a=i),void 0===l&&(l=s);let c="mixed";return(0,b.rangeEach)(Math.max(Math.min(i,a),0),Math.max(i,a),e=>{let t=!0;return(0,b.rangeEach)(Math.max(Math.min(s,l),0),Math.max(s,l),o=>{const r=this.getCellMeta(e,o);return d=r.type,h?t=h===d:h=d,t}),c=t?d:"mixed",t}),c},this.removeCellMeta=function(e,t,o){const[r,n]=[this.toPhysicalRow(e),this.toPhysicalColumn(t)];let i=ie.getCellMetaKeyValue(r,n,o);!1!==G.runHooks("beforeRemoveCellMeta",e,t,o,i)&&(ie.removeCellMeta(r,n,o),G.runHooks("afterRemoveCellMeta",e,t,o,i)),i=null},this.spliceCellsMeta=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;for(var o=arguments.length,r=new Array(o>2?o-2:0),n=2;n<o;n++)r[n-2]=arguments[n];r.length>0&&!Array.isArray(r[0])&&(0,L.throwWithCause)("The 3rd argument (cellMetaRows) has to be passed as an array of cell meta objects array."),t>0&&ie.removeRow(this.toPhysicalRow(e),t),r.length>0&&(0,c.arrayEach)(r.reverse(),t=>{ie.createRow(this.toPhysicalRow(e)),(0,c.arrayEach)(t,(t,o)=>this.setCellMetaObject(e,o,t))}),G.render()},this.setCellMetaObject=function(e,t,o){"object"==typeof o&&(0,d.objectEach)(o,(o,r)=>{this.setCellMeta(e,t,r,o)})},this.setCellMeta=function(e,t,o,r){if(!1===G.runHooks("beforeSetCellMeta",e,t,o,r))return;let n=e,i=t;e<this.countRows()&&(n=this.toPhysicalRow(e)),t<this.countCols()&&(i=this.toPhysicalColumn(t)),ie.setCellMeta(n,i,o,r),G.runHooks("afterSetCellMeta",e,t,o,r)},this.getCellsMeta=function(){return ie.getCellsMeta()},this.getCellMeta=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{skipMetaExtension:!1},r=this.toPhysicalRow(e),n=this.toPhysicalColumn(t);return null===r&&(r=e),null===n&&(n=t),ie.getCellMeta(r,n,{visualRow:e,visualColumn:t,...o})},this.getColumnMeta=function(e){return ie.getColumnMeta(this.toPhysicalColumn(e))},this.getCellMetaAtRow=function(e){return ie.getCellsMetaAtRow(e)},this.isColumnModificationAllowed=function(){return!("object"===G.dataType||se.columns)},this.getCellRenderer=function(e,t){const o="number"==typeof e?G.getCellMeta(e,t).renderer:e.renderer;return"string"==typeof o?(0,f.getRenderer)(o):(0,s.isUndefined)(o)?(0,f.getRenderer)("text"):o},this.getCellEditor=function(e,t){const o="number"==typeof e?G.getCellMeta(e,t).editor:e.editor;return"string"==typeof o?(0,m.getEditor)(o):(0,s.isUndefined)(o)?(0,m.getEditor)("text"):o},this.getCellValidator=function(e,t){const o="number"==typeof e?G.getCellMeta(e,t).validator:e.validator;return"string"==typeof o?(0,C.getValidator)(o):o},this.validateCells=function(e){this._validateCells(e)},this.validateRows=function(e,t){Array.isArray(e)||(0,L.throwWithCause)("validateRows parameter `rows` must be an array"),this._validateCells(t,e)},this.validateColumns=function(e,t){Array.isArray(e)||(0,L.throwWithCause)("validateColumns parameter `columns` must be an array"),this._validateCells(t,void 0,e)},this._validateCells=function(e,t,o){const r=new pe;e&&(r.onQueueEmpty=e);let n=G.countRows()-1;for(;n>=0;){if(void 0!==t&&-1===t.indexOf(n)){n-=1;continue}let e=G.countCols()-1;for(;e>=0;)void 0===o||-1!==o.indexOf(e)?(r.addValidatorToQueue(),G.validateCell(G.getDataAtCell(n,e),G.getCellMeta(n,e),e=>{"boolean"!=typeof e&&(0,L.throwWithCause)("Validation error: result is not boolean"),!1===e&&(r.valid=!1),r.removeValidatorFormQueue()},"validateCells"),e-=1):e-=1;n-=1}r.checkIfQueueIsEmpty()},this.getRowHeader=function(e){let t=se.rowHeaders,o=e;return void 0!==o&&(o=G.runHooks("modifyRowHeader",o)),void 0===o?(t=[],(0,b.rangeEach)(G.countRows()-1,e=>{t.push(G.getRowHeader(e))})):Array.isArray(t)&&void 0!==t[o]?t=t[o]:(0,i.isFunction)(t)?t=t(o):t&&"string"!=typeof t&&"number"!=typeof t&&(t=o+1),t},this.hasRowHeaders=function(){return!!se.rowHeaders},this.hasColHeaders=function(){if(void 0!==se.colHeaders&&null!==se.colHeaders)return!!se.colHeaders;for(let e=0,t=G.countCols();e<t;e++)if(G.getColHeader(e))return!0;return!1},this.getColHeader=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;const o=G.runHooks("modifyColHeader",e);if(void 0===o){const e=[],t=G.countCols();for(let o=0;o<t;o++)e.push(G.getColHeader(o));return e}let r=se.colHeaders;const n=G.toPhysicalColumn(o),s=function(e){const t=[],o=G.countCols();let r=0;for(;r<o;r++)(0,i.isFunction)(se.columns)&&se.columns(r)&&t.push(r);return t[e]}(n);return!1===se.colHeaders?r=null:se.columns&&(0,i.isFunction)(se.columns)&&se.columns(s)&&se.columns(s).title?r=se.columns(s).title:se.columns&&se.columns[n]&&se.columns[n].title?r=se.columns[n].title:Array.isArray(se.colHeaders)&&void 0!==se.colHeaders[n]?r=se.colHeaders[n]:(0,i.isFunction)(se.colHeaders)?r=se.colHeaders(n):se.colHeaders&&"string"!=typeof se.colHeaders&&"number"!=typeof se.colHeaders&&(r=(0,y.spreadsheetColumnLabel)(o)),r=G.runHooks("modifyColumnHeaderValue",r,e,t),r},this._getColWidthFromSettings=function(e){let t;if(e>=0){t=G.getCellMeta(0,e).width}if(void 0!==t&&t!==se.width||(t=se.colWidths),null!=t){switch(typeof t){case"object":t=t[e];break;case"function":t=t(e)}"string"==typeof t&&(t=Number.parseInt(t,10))}return t},this.getColWidth=function(e,t){let o=G._getColWidthFromSettings(e);return o=G.runHooks("modifyColWidth",o,e,t),void 0===o&&(o=_.DEFAULT_COLUMN_WIDTH),o},this._getRowHeightFromSettings=function(e){var t;const o=G.stylesHandler.getDefaultRowHeight(e);let r=null!==(t=se.rowHeights)&&void 0!==t?t:se.minRowHeights;if(null!=r){switch(typeof r){case"object":r=r[e];break;case"function":r=r(e)}"string"==typeof r&&(r=Number.parseInt(r,10))}return null!=r&&r<o?o:r},this.getRowHeight=function(e,t){let o=G._getRowHeightFromSettings(e);return o=G.runHooks("modifyRowHeight",o,e,t),o},this.countSourceRows=function(){return X.countRows()},this.countSourceCols=function(){return X.countFirstRowKeys()},this.countRows=function(){return K.getLength()},this.countCols=function(){const e=se.maxCols,t=this.columnIndexMapper.getNotTrimmedIndexesLength();return Math.min(e,t)},this.countRenderedRows=function(){return G.view._wt.drawn?G.view._wt.wtTable.getRenderedRowsCount():-1},this.countVisibleRows=function(){return G.view._wt.drawn?G.view._wt.wtTable.getVisibleRowsCount():-1},this.countRenderedCols=function(){return G.view._wt.drawn?G.view._wt.wtTable.getRenderedColumnsCount():-1},this.countVisibleCols=function(){return G.view._wt.drawn?G.view._wt.wtTable.getVisibleColumnsCount():-1},this.countRowHeaders=function(){return this.view.getRowHeadersCount()},this.countColHeaders=function(){return this.view.getColumnHeadersCount()},this.countEmptyRows=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=0;return(0,b.rangeEachReverse)(G.countRows()-1,o=>{if(G.isEmptyRow(o))t+=1;else if(!0===e)return!1}),t},this.countEmptyCols=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=0;return(0,b.rangeEachReverse)(G.countCols()-1,o=>{if(G.isEmptyCol(o))t+=1;else if(!0===e)return!1}),t},this.isEmptyRow=function(e){return se.isEmptyRow.call(G,e)},this.isEmptyCol=function(e){return se.isEmptyCol.call(G,e)},this.selectCell=function(e,t,o,r){let n=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];return!(0,s.isUndefined)(e)&&!(0,s.isUndefined)(t)&&this.selectCells([[e,t,o,r]],n,i)},this.selectCells=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[[]],t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&J.suspend();const o=de.selectCells(e);return o&&t&&G.listen(),J.resume(),o},this.selectColumns=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=arguments.length>2?arguments[2]:void 0;return de.selectColumns(e,t,o)},this.selectRows=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=arguments.length>2?arguments[2]:void 0;return de.selectRows(e,t,o)},this.deselectCell=function(){de.deselect()},this.selectAll=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=arguments.length>2?arguments[2]:void 0;J.skipNextScrollCycle(),de.selectAll(e,t,o)};const be=(e,t)=>e.getNearestNotHiddenIndex(t,1,!0);this.scrollViewportTo=function(e,t){var o;"number"==typeof e&&(e={row:arguments[0],col:arguments[1],verticalSnap:arguments[2]?"bottom":"top",horizontalSnap:arguments[3]?"end":"start",considerHiddenIndexes:null===(o=arguments[4])||void 0===o||o});const{row:r,col:n,considerHiddenIndexes:s}=null!=e?e:{};let a=r,l=n;if((0,i.isFunction)(t)&&this.addHookOnce("afterScroll",t),void 0===s||s){const e=Number.isInteger(r)&&r>=0,t=Number.isInteger(n)&&n>=0,o=e?be(this.rowIndexMapper,r):void 0,i=t?be(this.columnIndexMapper,n):void 0;if(null===o||null===i)return!1;a=e?G.rowIndexMapper.getRenderableFromVisualIndex(o):r,l=t?G.columnIndexMapper.getRenderableFromVisualIndex(i):n}const h=Number.isInteger(a),d=Number.isInteger(l);let c=!1;return h&&a>=0&&d&&l>=0?c=G.view.scrollViewport(G._createCellCoords(a,l),e.horizontalSnap,e.verticalSnap):h&&a>=0&&(d&&l<0||!d)?c=G.view.scrollViewportVertically(a,e.verticalSnap):d&&l>=0&&(h&&a<0||!h)&&(c=G.view.scrollViewportHorizontally(l,e.horizontalSnap)),(0,i.isFunction)(t)&&(c?this.view.render():(this.removeHook("afterScroll",t),this._registerMicrotask(()=>t()))),c},this.scrollToFocusedCell=function(e){if(!this.selection.isSelected())return!1;(0,i.isFunction)(e)&&this.addHookOnce("afterScroll",e);const{highlight:t}=this.getSelectedRangeActive(),o=this.scrollViewportTo(t.toObject());return o?this.view.render():(0,i.isFunction)(e)&&(this.removeHook("afterScroll",e),this._registerMicrotask(()=>e())),o},this.destroy=function(){var e;(G._clearTimeouts(),G._clearMicrotasks(),G.view&&G.view.destroy(),X&&X.destroy(),X=null,(0,E.isRootInstance)(this))&&((0,B.uninstall)(),this.getFocusScopeManager().destroy(),null===(e=G.themeManager)||void 0===e||e.destroy());this.getShortcutManager().destroy(),he.clear(),ie.clearCache(),U.delete(this.guid),$.destroy(),Z&&Z.destroy(),G.rootContainer&&(0,n.empty)(G.rootContainer),G.rootPortalElement&&G.rootPortalElement.remove(),G.batchExecution(()=>{G.rowIndexMapper.unregisterAll(),G.columnIndexMapper.unregisterAll(),le.getItems().forEach(e=>{let[,t]=e;t.destroy()}),le.clear(),G.runHooks("afterDestroy")},!0),k.Hooks.getSingleton().destroy(G),(0,d.objectEach)(G,(e,t,o)=>{var r;(0,i.isFunction)(e)?o[t]=(r=t,()=>{(0,L.throwWithCause)(`The "${r}" method cannot be called because this Handsontable instance has been destroyed`)}):"guid"!==t&&(o[t]=null)}),G.isDestroyed=!0,K&&K.destroy(),K=null,q=null,de=null,Z=null,G=null},this.getActiveEditor=function(){return Z.getActiveEditor()},this.getFirstRenderedVisibleRow=function(){return G.view.getFirstRenderedVisibleRow()},this.getLastRenderedVisibleRow=function(){return G.view.getLastRenderedVisibleRow()},this.getFirstRenderedVisibleColumn=function(){return G.view.getFirstRenderedVisibleColumn()},this.getLastRenderedVisibleColumn=function(){return G.view.getLastRenderedVisibleColumn()},this.getFirstFullyVisibleRow=function(){return G.view.getFirstFullyVisibleRow()},this.getLastFullyVisibleRow=function(){return G.view.getLastFullyVisibleRow()},this.getFirstFullyVisibleColumn=function(){return G.view.getFirstFullyVisibleColumn()},this.getLastFullyVisibleColumn=function(){return G.view.getLastFullyVisibleColumn()},this.getFirstPartiallyVisibleRow=function(){return G.view.getFirstPartiallyVisibleRow()},this.getLastPartiallyVisibleRow=function(){return G.view.getLastPartiallyVisibleRow()},this.getFirstPartiallyVisibleColumn=function(){return G.view.getFirstPartiallyVisibleColumn()},this.getLastPartiallyVisibleColumn=function(){return G.view.getLastPartiallyVisibleColumn()},this.getPlugin=function(e){return le.getItem((0,w.toUpperCaseFirst)(e))},this.getPluginName=function(e){return le.getId(e)},this.getInstance=function(){return G},this.addHook=function(e,t,o){k.Hooks.getSingleton().add(e,t,G,o)},this.hasHook=function(e){return k.Hooks.getSingleton().has(e,G)||k.Hooks.getSingleton().has(e)},this.addHookOnce=function(e,t,o){k.Hooks.getSingleton().once(e,t,G,o)},this.removeHook=function(e,t){k.Hooks.getSingleton().remove(e,t,G)},this.runHooks=function(e,t,o,r,n,i,s){return k.Hooks.getSingleton().run(G,e,t,o,r,n,i,s)},this.getTranslatedPhrase=function(e,t){return(0,R.getTranslatedPhrase)(se.language,e,t)},this.toHTML=()=>(0,u.instanceToHTML)(this),this.toTableElement=()=>{const e=this.rootDocument.createElement("div");return e.insertAdjacentHTML("afterbegin",(0,u.instanceToHTML)(this)),e.firstElementChild},this.timeouts=[],this.useTheme=e=>{const t=!!ee;this.stylesHandler.useTheme(e);const o=this.stylesHandler.getThemeName();!t&&o&&((0,H.getThemeClassName)(this.rootContainer)&&((0,n.removeClass)(this.rootContainer,/ht-theme-.*/g),(0,n.addClass)(this.rootContainer,o)),G.render(),G.scrollViewportTo(0,0)),this.runHooks("afterSetTheme",o,t)},this.getCurrentThemeName=()=>this.stylesHandler.getThemeName(),this.getTableHeight=()=>this.rootElement.offsetHeight,this.getTableWidth=()=>this.rootElement.offsetWidth,this._registerTimeout=function(e){let t=e;"function"==typeof t&&(t=setTimeout(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)),this.timeouts.push(t)},this._clearTimeouts=function(){(0,c.arrayEach)(this.timeouts,e=>{clearTimeout(e)})},this.microtasks=[],this._registerMicrotask=function(e){const t={cancelled:!1};this.microtasks.push(t),this.rootWindow.queueMicrotask(()=>{t.cancelled||e()})},this._clearMicrotasks=function(){(0,c.arrayEach)(this.microtasks,e=>{e.cancelled=!0}),this.microtasks.length=0},this._getEditorManager=function(){return Z},this._getDataSource=function(){return X},this._getMetaManager=function(){return ie};const ve=(0,x.createShortcutManager)({handleEvent:()=>G.isListening(),beforeKeyDown:e=>this.runHooks("beforeKeyDown",e),afterKeyDown:e=>{this.isDestroyed||G.runHooks("afterDocumentKeyDown",e)},ownerWindow:this.rootWindow});this.addHook("beforeOnCellMouseDown",e=>{!1===e.ctrlKey&&!1===e.metaKey&&ve.releasePressedKeys()}),this.getShortcutManager=function(){return ve},Q=new O.FocusGridManager(G);const ye=(0,E.isRootInstance)(this)?(0,O.createFocusScopeManager)(G):null;this.getFocusManager=function(){return Q},this.getFocusScopeManager=function(){return(0,E.isRootInstance)(G)||(0,L.throwWithCause)("The FocusScopeManager is only available for the main Handsontable instance."),ye};const Se=te.theme,Ee=te.themeName,_e=(0,H.getThemeClassName)(G.rootContainer);!(0,E.isRootInstance)(G)||_e||!(0,d.isObject)(Se)&&(Se||Ee)||ge(Se);(0,p.getPluginsNames)().forEach(e=>{const t=(0,p.getPlugin)(e);le.addItem(e,new t(this))}),(0,N.registerAllShortcutContexts)(G),(0,E.isRootInstance)(this)&&(0,O.registerAllFocusScopes)(G);ve.setActiveContextName("grid"),k.Hooks.getSingleton().run(G,"construct")};var n=o(23876),i=o(3179),s=o(79416),a=o(46027),l=r(o(39913)),h=r(o(34354)),d=o(38888),c=o(6578),u=o(23470),g=o(36016),p=o(17627),f=o(40647),m=o(95669),C=o(7182),w=o(23862),b=o(94366),v=r(o(67304)),y=o(26891),S=o(45978),E=o(64428),_=o(75269),R=o(67795),T=o(40947),M=o(74904),I=o(25136),k=o(39481),O=o(6297),A=o(265),x=o(7249),N=o(17304),H=o(91321),P=o(13361),D=o(26070),L=o(26032),B=o(5584),F=o(4400),V=o(38579),W=o(97324);let z=null;const U=new Map;new Set},41289(e,t,o){"use strict";t.__esModule=!0;var r=o(30880);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||(t[e]=r[e]))})},30880(e,t){"use strict";function o(e,t,o){r(e,t),t.set(e,o)}function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function n(e,t){return e.get(s(e,t))}function i(e,t,o){return e.set(s(e,t),o),o}function s(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}t.__esModule=!0;var a=new WeakMap,l=new WeakMap,h=new WeakSet;function d(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;const r=s(h,this,c).call(this,n(a,this),e.row,t);if(null===r)return null;const i=s(h,this,c).call(this,n(l,this),e.col,o);return null===i?null:e.clone().assign({row:r,col:i})}function c(e,t,o){return t<0?t:e.getNearestNotHiddenIndex(t,o)}t.CellRangeToRenderableMapper=class{constructor(e){let{rowIndexMapper:t,columnIndexMapper:n}=e;var s,d;r(s=this,d=h),d.add(s),o(this,a,void 0),o(this,l,void 0),i(a,this,t),i(l,this,n)}toRenderable(e){const t="N-S"===e.getVerticalDirection()?1:-1,o="W-E"===e.getHorizontalDirection()?1:-1,r=s(h,this,d).call(this,e.from,t,o);if(null===r)return null;const n=s(h,this,d).call(this,e.to,-t,-o);if(null===n)return null;const i=e.clone();return i.from=r,i.to=n,i.includes(e.highlight)||(i.highlight=r),i}}},76534(e,t,o){"use strict";t.__esModule=!0;var r=o(74023);function n(e,t,o){i(e,t),t.set(e,o)}function i(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function s(e,t,o){return e.set(l(e,t),o),o}function a(e,t){return e.get(l(e,t))}function l(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var h=new WeakMap,d=new WeakMap,c=new WeakMap,u=new WeakSet;function g(e){a(h,this).set(e,[]),a(d,this).set(e,0)}t.HooksBucket=class{constructor(){var e,t;i(e=this,t=u),t.add(e),n(this,h,new Map),n(this,d,new Map),n(this,c,new Set),r.REGISTERED_HOOKS.forEach(e=>l(u,this,g).call(this,e))}getHooks(e){var t;return null!==(t=a(h,this).get(e))&&void 0!==t?t:[]}add(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};a(h,this).has(e)||(l(u,this,g).call(this,e),r.REGISTERED_HOOKS.push(e));const n=a(h,this).get(e),i=n.find(e=>e.callback===t);if(i)return void(!0===i.skip&&(i.skip=!1));const s=Number.isInteger(o.orderIndex)?o.orderIndex:0,d=!!o.runOnce,p=!!o.initialHook;let f=!1;if(p){const e=n.find(e=>e.initialHook);e&&(e.callback=t,f=!0)}if(!f){n.push({callback:t,orderIndex:s,runOnce:d,initialHook:p,skip:!1});let o=a(c,this).has(e);o||0===s||(o=!0,a(c,this).add(e)),o&&n.length>1&&a(h,this).set(e,n.toSorted((e,t)=>e.orderIndex-t.orderIndex))}}has(e){return a(h,this).has(e)&&a(h,this).get(e).length>0}remove(e,t){if(!a(h,this).has(e))return!1;const o=a(h,this).get(e),r=o.find(e=>e.callback===t);if(r){let t=a(d,this).get(e);return r.skip=!0,t+=1,t>100&&(a(h,this).set(e,o.filter(e=>!e.skip)),t=0),a(d,this).set(e,t),!0}return!1}destroy(){a(h,this).clear(),a(d,this).clear(),s(h,this,null),s(d,this,null)}}},74023(e,t){"use strict";t.__esModule=!0;t.REGISTERED_HOOKS=["afterCellMetaReset","afterChange","afterContextMenuDefaultOptions","beforeContextMenuSetItems","afterDropdownMenuDefaultOptions","beforeDropdownMenuSetItems","afterContextMenuHide","beforeContextMenuShow","afterContextMenuShow","afterCopyLimit","beforeCreateCol","afterColumnSequenceCacheUpdate","afterColumnSequenceChange","afterCreateCol","beforeCreateRow","afterCreateRow","afterDeselect","afterDestroy","afterDocumentKeyDown","afterDrawSelection","beforeRemoveCellClassNames","beforeCompositionStart","afterGetCellMeta","afterGetColHeader","afterGetRowHeader","afterInit","afterLoadData","afterUpdateData","afterMomentumScroll","afterOnCellCornerMouseDown","afterOnCellCornerDblClick","afterOnCellMouseDown","afterOnCellMouseUp","afterOnCellContextMenu","afterOnCellMouseOver","afterOnCellMouseOut","afterRemoveCol","afterRemoveRow","beforeRenderer","afterRenderer","afterRowSequenceCacheUpdate","afterRowSequenceChange","beforeViewportScrollVertically","beforeViewportScrollHorizontally","beforeViewportScroll","afterScrollHorizontally","afterScrollVertically","afterScroll","afterSelection","afterSelectionByProp","afterSelectionEnd","afterSelectionEndByProp","afterSelectionFocusSet","beforeSelectColumns","afterSelectColumns","beforeSelectRows","afterSelectRows","beforeSelectAll","afterSelectAll","afterSetCellMeta","afterRemoveCellMeta","afterSetDataAtCell","afterSetDataAtRowProp","afterSetSourceDataAtCell","afterSetTheme","afterUpdateSettings","afterValidate","beforeLanguageChange","afterLanguageChange","beforeAutofill","afterAutofill","beforeCellAlignment","beforeChange","beforeChangeRender","beforeHeightChange","beforeWidthChange","beforeDrawBorders","beforeGetCellMeta","beforeRemoveCellMeta","beforeInit","beforeInitWalkontable","beforeLoadData","beforeUpdateData","beforeKeyDown","beforeOnCellMouseDown","beforeOnCellMouseUp","beforeOnCellContextMenu","beforeOnCellMouseOver","beforeOnCellMouseOut","beforeRemoveCol","beforeRemoveRow","beforeViewRender","afterViewRender","beforeRender","afterRender","beforeRowWrap","beforeColumnWrap","beforeSetCellMeta","beforeSelectionFocusSet","beforeSetRangeStartOnly","beforeSetRangeStart","beforeSetRangeEnd","beforeSelectionHighlightSet","beforeTouchScroll","beforeValidate","beforeValueRender","construct","init","modifyColHeader","modifyColWidth","modifyFiltersMultiSelectValue","modifyFocusedElement","modifyRowHeader","modifyRowHeight","modifyRowHeightByOverlayName","modifyData","modifySourceData","modifyRowData","modifyGetCellCoords","modifyGetCoordsElement","modifyFocusOnTabNavigation","beforeHighlightingRowHeader","beforeHighlightingColumnHeader","beforeColumnSort","afterColumnSort","modifyAutofillRange","modifyCopyableRange","beforeCut","afterCut","beforeCopy","afterCopy","beforePaste","afterPaste","beforeColumnFreeze","afterColumnFreeze","beforeColumnMove","afterColumnMove","beforeColumnUnfreeze","afterColumnUnfreeze","beforeRowMove","afterRowMove","beforeColumnResize","afterColumnResize","beforeRowResize","afterRowResize","afterGetColumnHeaderRenderers","afterGetRowHeaderRenderers","beforeStretchingColumnWidth","beforeFilter","afterFilter","beforePageChange","afterPageChange","beforePageSizeChange","afterPageSizeChange","afterPageSizeVisibilityChange","afterPageCounterVisibilityChange","afterPageNavigationVisibilityChange","afterFormulasValuesUpdate","afterNamedExpressionAdded","afterNamedExpressionRemoved","afterSheetAdded","afterSheetRenamed","afterSheetRemoved","modifyColumnHeaderHeight","modifyColumnHeaderValue","beforeUndo","beforeUndoStackChange","afterUndo","afterUndoStackChange","beforeRedo","beforeRedoStackChange","afterRedo","afterRedoStackChange","modifyRowHeaderWidth","modifyTransformFocus","modifyTransformStart","modifyTransformEnd","afterModifyTransformFocus","afterModifyTransformStart","afterModifyTransformEnd","afterViewportRowCalculatorOverride","afterViewportColumnCalculatorOverride","afterPluginsInitialized","beforeHideRows","afterHideRows","beforeUnhideRows","afterUnhideRows","beforeHideColumns","afterHideColumns","beforeUnhideColumns","afterUnhideColumns","beforeTrimRow","afterTrimRow","beforeUntrimRow","afterUntrimRow","beforeDropdownMenuShow","afterDropdownMenuShow","afterDropdownMenuHide","beforeAddChild","afterAddChild","beforeDetachChild","afterDetachChild","beforeBeginEditing","afterDialogHide","afterDialogShow","beforeDialogHide","beforeDialogShow","dialogFocusPreviousElement","dialogFocusNextElement","afterDialogFocus","beforeLoadingShow","afterLoadingShow","beforeLoadingHide","afterLoadingHide","beforeEmptyDataStateShow","afterEmptyDataStateShow","beforeEmptyDataStateHide","afterEmptyDataStateHide","afterBeginEditing","beforeMergeCells","afterMergeCells","beforeUnmergeCells","afterUnmergeCells","afterListen","afterUnlisten","afterRefreshDimensions","beforeRefreshDimensions","beforeColumnCollapse","afterColumnCollapse","beforeColumnExpand","afterColumnExpand","modifyAutoColumnSizeSeed"],t.REMOVED_HOOKS=new Map([["modifyRow","8.0.0"],["modifyCol","8.0.0"],["unmodifyRow","8.0.0"],["unmodifyCol","8.0.0"],["skipLengthCache","8.0.0"],["hiddenColumn","8.0.0"],["hiddenRow","8.0.0"]]),t.DEPRECATED_HOOKS=new Map([[]])},30326(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(6578),s=o(23862),a=o(26070),l=o(26192),h=o(3179),d=o(74023),c=o(76534);const u=l.toSingleLine`The plugin hook "[hookName]" was removed in Handsontable [removedInVersion].\x20
35
+ turning off the "renderAllRows" option.`)),this.table.isAriaEnabled()&&(0,h.setAttribute)(this.rootNode,[(0,d.A11Y_ROWGROUP)()]),this.orderView.setSize(e).setOffset(this.table.renderedRowToSource(0)).start();for(let r=0;r<e;r++){this.orderView.render();const e=this.orderView.getCurrentNode(),n=this.table.renderedRowToSource(r);var t,o;if(this.table.isAriaEnabled())(0,h.setAttribute)(e,[(0,d.A11Y_ROW)(),(0,d.A11Y_ROWINDEX)(n+(null!==(t=null===(o=this.table.rowUtils)||void 0===o||null===(o=o.dataAccessObject)||void 0===o?void 0:o.columnHeaders.length)&&void 0!==t?t:0)+1)]);(n+1)%2==0?(0,h.hasClass)(e,c)||((0,h.removeClass)(e,u),(0,h.addClass)(e,c)):(0,h.hasClass)(e,u)||((0,h.removeClass)(e,c),(0,h.addClass)(e,u))}this.orderView.end()}}t.RowsRenderer=p},34893(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.TableRenderer=class{constructor(e){let{cellRenderer:t,stylesHandler:o}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,n.default)(this,"rootNode",void 0),(0,n.default)(this,"rootDocument",void 0),(0,n.default)(this,"rowHeaders",null),(0,n.default)(this,"columnHeaders",null),(0,n.default)(this,"colGroup",null),(0,n.default)(this,"rows",null),(0,n.default)(this,"cells",null),(0,n.default)(this,"rowFilter",null),(0,n.default)(this,"columnFilter",null),(0,n.default)(this,"rowUtils",null),(0,n.default)(this,"columnUtils",null),(0,n.default)(this,"rowsToRender",0),(0,n.default)(this,"columnsToRender",0),(0,n.default)(this,"rowHeaderFunctions",[]),(0,n.default)(this,"rowHeadersCount",0),(0,n.default)(this,"columnHeaderFunctions",[]),(0,n.default)(this,"columnHeadersCount",0),(0,n.default)(this,"cellRenderer",void 0),(0,n.default)(this,"activeOverlayName",void 0),(0,n.default)(this,"stylesHandler",void 0),this.rootNode=e,this.rootDocument=this.rootNode.ownerDocument,this.cellRenderer=t,this.stylesHandler=o}setActiveOverlayName(e){this.activeOverlayName=e}setAxisUtils(e,t){this.rowUtils=e,this.columnUtils=t}setViewportSize(e,t){this.rowsToRender=e,this.columnsToRender=t}setFilters(e,t){this.rowFilter=e,this.columnFilter=t}setHeaderContentRenderers(e,t){this.rowHeaderFunctions=e,this.rowHeadersCount=e.length,this.columnHeaderFunctions=t,this.columnHeadersCount=t.length}setRenderers(){let{rowHeaders:e,columnHeaders:t,colGroup:o,rows:r,cells:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.setTable(this),t.setTable(this),o.setTable(this),r.setTable(this),n.setTable(this),this.rowHeaders=e,this.columnHeaders=t,this.colGroup=o,this.rows=r,this.cells=n}renderedRowToSource(e){return this.rowFilter.renderedToSource(e)}renderedColumnToSource(e){return this.columnFilter.renderedToSource(e)}isAriaEnabled(){return this.rowUtils.wtSettings.getSetting("ariaTags")}render(){this.colGroup.adjust(),this.columnHeaders.adjust(),this.rows.adjust(),this.rowHeaders.adjust(),this.columnHeaders.render(),this.rows.render(),this.rowHeaders.render(),this.cells.render(),this.columnUtils.calculateWidths(),this.colGroup.render();const{rowsToRender:e,rows:t}=this;for(let o=0;o<e;o++){const e=t.getRenderedNode(o),r=this.rowUtils;if(e.firstChild){const t=this.renderedRowToSource(o),n=r.getHeightByOverlayName(t,this.activeOverlayName),i=this.stylesHandler.areCellsBorderBox()?0:1;e.firstChild.style.height=n?n-i+"px":""}}}}},34660(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(23876),s=o(38888);function a(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function l(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var h=new WeakSet;function d(e){const{wtSettings:t,inlineStartOverlay:o,wtTable:r,wtViewport:n,totalColumns:s,rootWindow:a}=this.dataAccessObject;if(o.mainTableScrollableElement===a){let l=null;if(t.getSetting("rtlMode")){const e=r.TABLE.getBoundingClientRect(),t=this.dataAccessObject.rootWindow.document.documentElement.offsetWidth;l=Math.abs(e.right-t)}else{l=(0,i.offset)(r.wtRootElement).left}const h=Math.abs((0,i.getScrollLeft)(a,a));if(l>h){const t=(0,i.innerWidth)(a);let r=n.getRowHeaderWidth();for(let n=1;n<=s;n++)if(r+=o.sumCellSizes(n-1,n),l+r-h>=t){e=n-2;break}}}return e}function c(e){const{topOverlay:t,wtTable:o,wtViewport:r,totalRows:n,rootWindow:s}=this.dataAccessObject;if(t.mainTableScrollableElement===s){const a=(0,i.offset)(o.wtRootElement),l=(0,i.getScrollTop)(s,s);if(a.top>l){const o=(0,i.innerHeight)(s);let h=r.getColumnHeaderHeight();for(let r=1;r<=n;r++)if(h+=t.sumCellSizes(r-1,r),a.top+h-l>=o){e=r-2;break}}}return e}t.default=class{constructor(e){a(this,h),(0,n.default)(this,"dataAccessObject",void 0),this.dataAccessObject=e}scrollViewport(e,t,o){if(e.col<0||e.row<0)return!1;const r=this.scrollViewportHorizontally(e.col,t),n=this.scrollViewportVertically(e.row,o);return r||n}scrollViewportHorizontally(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto";const{drawn:o,totalColumns:r}=this.dataAccessObject;if(!o)return!1;const n=(0,s.createObjectPropListener)(t);if(e=this.dataAccessObject.wtSettings.getSetting("onBeforeViewportScrollHorizontally",e,n),!Number.isInteger(e)||e<0||e>r)return!1;t=n.value;const{fixedColumnsStart:i,inlineStartOverlay:a}=this.dataAccessObject,l="auto"===t;if(l&&e<i)return!1;const h=this.getFirstVisibleColumn(),d=this.getLastVisibleColumn();let c=!1;return(l&&(e<h||e>d)||!l)&&(c=a.scrollTo(e,l?e>=this.getLastPartiallyVisibleColumn():"end"===t)),c}scrollViewportVertically(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto";const{drawn:o,totalRows:r}=this.dataAccessObject;if(!o)return!1;const n=(0,s.createObjectPropListener)(t);if(e=this.dataAccessObject.wtSettings.getSetting("onBeforeViewportScrollVertically",e,n),!Number.isInteger(e)||e<0||e>r)return!1;t=n.value;const{fixedRowsBottom:i,fixedRowsTop:a,topOverlay:l}=this.dataAccessObject,h="auto"===t;if(h&&(e<a||e>r-i-1))return!1;const d=this.getFirstVisibleRow(),c=this.getLastVisibleRow();let u=!1;return(h&&(e<d||e>c)||!h)&&(u=l.scrollTo(e,h?e>=this.getLastPartiallyVisibleRow():"bottom"===t)),u}getFirstVisibleRow(){return this.dataAccessObject.wtTable.getFirstVisibleRow()}getLastVisibleRow(){return l(h,this,c).call(this,this.dataAccessObject.wtTable.getLastVisibleRow())}getFirstPartiallyVisibleRow(){return this.dataAccessObject.wtTable.getFirstPartiallyVisibleRow()}getLastPartiallyVisibleRow(){return l(h,this,c).call(this,this.dataAccessObject.wtTable.getLastPartiallyVisibleRow())}getFirstVisibleColumn(){return this.dataAccessObject.wtTable.getFirstVisibleColumn()}getLastVisibleColumn(){return l(h,this,d).call(this,this.dataAccessObject.wtTable.getLastVisibleColumn())}getFirstPartiallyVisibleColumn(){return this.dataAccessObject.wtTable.getFirstPartiallyVisibleColumn()}getLastPartiallyVisibleColumn(){return l(h,this,d).call(this,this.dataAccessObject.wtTable.getLastPartiallyVisibleColumn())}}},78713(e,t,o){"use strict";t.__esModule=!0;var r=o(23876),n=o(31100),i=o(38888),s=o(46027),a=o(55494);const l="ht-border-style-";t.default=class{constructor(e,t){t&&(this.eventManager=e.eventManager,this.instance=e,this.wot=e,this.settings=t,this.mouseDown=!1,this.main=null,this.top=null,this.bottom=null,this.start=null,this.end=null,this.topStyle=null,this.bottomStyle=null,this.startStyle=null,this.endStyle=null,this.cornerDefaultStyle=(0,a.getCornerStyle)(this.instance),this.cornerCenterPointOffset=-Math.ceil(parseInt(this.cornerDefaultStyle.width,10)/2),this.corner=null,this.cornerStyle=null,this.createBorders(t),this.registerListeners())}registerListeners(){const e=this.wot.rootDocument.body;this.eventManager.addEventListener(e,"mousedown",()=>this.onMouseDown()),this.eventManager.addEventListener(e,"mouseup",()=>this.onMouseUp());for(let e=0,t=this.main.childNodes.length;e<t;e++){const t=this.main.childNodes[e];this.eventManager.addEventListener(t,"mouseenter",t=>this.onMouseEnter(t,this.main.childNodes[e]))}}onMouseDown(){this.mouseDown=!0}onMouseUp(){this.mouseDown=!1}onMouseEnter(e,t){if(!this.mouseDown||!this.wot.getSetting("hideBorderOnMouseDownOver"))return;e.preventDefault(),(0,n.stopImmediatePropagation)(e);const o=this,r=this.wot.rootDocument.body,i=t.getBoundingClientRect();t.style.display="none",this.eventManager.addEventListener(r,"mousemove",function e(n){var s;((s=n).clientY<Math.floor(i.top)||s.clientY>Math.ceil(i.top+i.height)||s.clientX<Math.floor(i.left)||s.clientX>Math.ceil(i.left+i.width))&&(o.eventManager.removeEventListener(r,"mousemove",e),t.style.display="block")})}createBorders(e){const{rootDocument:t}=this.wot;this.main=t.createElement("div");const o=["top","start","bottom","end","corner"];let r=this.main.style;r.position="absolute",r.top=0,r.left=0;for(let n=0;n<5;n++){const i=o[n],s=t.createElement("div"),a=t=>this.settings[i]&&this.settings[i][t]?this.settings[i][t]:e.border[t];s.className=`wtBorder ${this.settings.className||""}`,this.settings[i]&&this.settings[i].hide&&(s.className+=" hidden"),r=s.style;const h=a("style");h?(["start","end"].includes(i)?s.className+=` ${l}${h}-vertical`:s.className+=` ${l}${h}-horizontal`,r.setProperty("--ht-custom-border-size",`${a("width")}px`),r.setProperty("--ht-custom-border-color",a("color"))):r.backgroundColor=a("color"),r.height=`${a("width")}px`,r.width=`${a("width")}px`,this.main.appendChild(s)}this.top=this.main.childNodes[0],this.start=this.main.childNodes[1],this.bottom=this.main.childNodes[2],this.end=this.main.childNodes[3],this.topStyle=this.top.style,this.startStyle=this.start.style,this.bottomStyle=this.bottom.style,this.endStyle=this.end.style,this.corner=this.main.childNodes[4],this.corner.className+=" corner",this.cornerStyle=this.corner.style,this.cornerStyle.width=`${this.cornerDefaultStyle.width}px`,this.cornerStyle.height=`${this.cornerDefaultStyle.height}px`,this.cornerStyle.border=[`${this.cornerDefaultStyle.borderWidth}px`,this.cornerDefaultStyle.borderStyle,this.cornerDefaultStyle.borderColor].join(" "),(0,s.isMobileBrowser)()&&this.instance.getSetting("isDataViewInstance")&&this.createMultipleSelectorHandles(),this.disappear();const{wtTable:n}=this.wot;let i=n.bordersHolder;i||(i=t.createElement("div"),i.className="htBorders",n.bordersHolder=i,n.spreader.appendChild(i)),i.appendChild(this.main)}createMultipleSelectorHandles(){const{rootDocument:e,wtSettings:t}=this.wot,o=t.getSetting("stylesHandler"),r=o.getCSSVariableValue("cell-mobile-handle-size"),n=o.getCSSVariableValue("cell-mobile-handle-border-radius"),s=o.getCSSVariableValue("cell-mobile-handle-background-color"),a=o.getCSSVariableValue("cell-mobile-handle-background-opacity"),l=o.getCSSVariableValue("cell-mobile-handle-border-width"),h=o.getCSSVariableValue("cell-mobile-handle-border-color");this.selectionHandles={top:e.createElement("DIV"),topHitArea:e.createElement("DIV"),bottom:e.createElement("DIV"),bottomHitArea:e.createElement("DIV")};this.selectionHandles.top.className="topSelectionHandle topLeftSelectionHandle",this.selectionHandles.topHitArea.className="topSelectionHandle-HitArea topLeftSelectionHandle-HitArea",this.selectionHandles.bottom.className="bottomSelectionHandle bottomRightSelectionHandle",this.selectionHandles.bottomHitArea.className="bottomSelectionHandle-HitArea bottomRightSelectionHandle-HitArea",this.selectionHandles.styles={top:this.selectionHandles.top.style,topHitArea:this.selectionHandles.topHitArea.style,bottom:this.selectionHandles.bottom.style,bottomHitArea:this.selectionHandles.bottomHitArea.style};const d={position:"absolute",height:"40px",width:"40px","border-radius":`${parseInt(40/1.5,10)}px`};(0,i.objectEach)(d,(e,t)=>{this.selectionHandles.styles.bottomHitArea[t]=e,this.selectionHandles.styles.topHitArea[t]=e});const c={position:"absolute",height:`${r}px`,width:`${r}px`,"border-radius":`${n}px`,background:`color-mix(in srgb, ${s} ${a}, transparent)`,border:`${l}px solid ${h}`};(0,i.objectEach)(c,(e,t)=>{this.selectionHandles.styles.bottom[t]=e,this.selectionHandles.styles.top[t]=e}),this.main.appendChild(this.selectionHandles.top),this.main.appendChild(this.selectionHandles.bottom),this.main.appendChild(this.selectionHandles.topHitArea),this.main.appendChild(this.selectionHandles.bottomHitArea)}isPartRange(e,t){const o=this.wot.selectionManager.getAreaSelection();return!(!o.cellRange||e===o.cellRange.to.row&&t===o.cellRange.to.col)}updateMultipleSelectionHandlesPosition(e,t,o,r,n,i){const s=this.wot.wtSettings.getSetting("rtlMode")?"right":"left",{top:a,topHitArea:l,bottom:h,bottomHitArea:d}=this.selectionHandles.styles,c=parseInt(a.borderWidth,10),u=parseInt(a.width,10),g=parseInt(l.width,10),p=this.wot.wtTable.getWidth(),f=this.wot.wtTable.getHeight();a.top=`${parseInt(o-u-1,10)}px`,a[s]=`${parseInt(r-u-1,10)}px`,l.top=`${parseInt(o-g/4*3,10)}px`,l[s]=`${parseInt(r-g/4*3,10)}px`;const m=Math.min(parseInt(r+n,10),p-u-2*c),C=Math.min(parseInt(r+n-g/4,10),p-g-2*c);h[s]=`${m}px`,d[s]=`${C}px`;const w=Math.min(parseInt(o+i,10),f-u-2*c),b=Math.min(parseInt(o+i-g/4,10),f-g-2*c);h.top=`${w}px`,d.top=`${b}px`,this.settings.border.cornerVisible&&this.settings.border.cornerVisible()?(a.display="block",l.display="block",this.isPartRange(e,t)?(h.display="none",d.display="none"):(h.display="block",d.display="block")):(a.display="none",h.display="none",l.display="none",d.display="none"),e===this.wot.wtSettings.getSetting("fixedRowsTop")||t===this.wot.wtSettings.getSetting("fixedColumnsStart")?(a.zIndex="9999",l.zIndex="9999"):(a.zIndex="",l.zIndex="")}appear(e){if(this.disabled)return;let[t,o,n,i]=e;if(t<0&&n<0||o<0&&i<0)return void this.disappear();const{wtTable:a,rootDocument:l,rootWindow:h}=this.wot,d=t!==n||o!==i,c=a.getFirstRenderedRow(),u=a.getLastRenderedRow(),g=a.getFirstRenderedColumn(),p=a.getLastRenderedColumn();if(g<0&&p<0||c<0&&u<0)return void this.disappear();let f;if(d){if(o=Math.max(o,g),i=Math.min(i,p),t=Math.max(t,c),n=Math.min(n,u),i<o||n<t)return void this.disappear();f=a.getCell(this.wot.createCellCoords(t,o))}else if(f=a.getCell(this.wot.createCellCoords(t,o)),!(0,r.isHTMLElement)(f))return void this.disappear();const m=d?a.getCell(this.wot.createCellCoords(n,i)):f,C=(0,r.offset)(f),w=d?(0,r.offset)(m):C,b=(0,r.offset)(a.TABLE),v=C.top,y=C.left,S=this.wot.wtSettings.getSetting("rtlMode");let E=0,_=0;if(S){const e=(0,r.outerWidth)(a.TABLE),t=(0,r.outerWidth)(f),o=h.innerWidth-b.left-e;_=y+t-w.left,E=h.innerWidth-y-t-o-1}else _=w.left+(0,r.outerWidth)(m)-y,E=y-b.left-1;if(this.isEntireColumnSelected(t,n)){const e=t,r=this.getDimensionsFromHeader("columns",o,i,e,b);let n=null;r&&([n,E,_]=r),n&&(f=n)}let R=v-b.top-1,T=w.top+(0,r.outerHeight)(m)-v;if(this.isEntireRowSelected(o,i)){const e=o,r=this.getDimensionsFromHeader("rows",t,n,e,b);let i=null;r&&([i,R,T]=r),i&&(f=i)}const M=h.getComputedStyle(f);parseInt(M.borderTopWidth,10)>0&&(R+=1,T=T>0?T-1:0),parseInt(M[S?"borderRightWidth":"borderLeftWidth"],10)>0&&(E+=1,_=_>0?_-1:0);const I=S?"right":"left",k=Math.ceil(this.settings.border.width/2);this.topStyle.top=`${R}px`,this.topStyle[I]=`${E}px`,this.topStyle.width=`${_+k}px`,this.topStyle.display="block",this.startStyle.top=`${R}px`,this.startStyle[I]=`${E}px`,this.startStyle.height=`${T+k}px`,this.startStyle.display="block",this.bottomStyle.top=`${R+T-parseInt(this.bottomStyle.height,10)+k}px`,this.bottomStyle[I]=`${E}px`,this.bottomStyle.width=`${_+k}px`,this.bottomStyle.display="block",this.endStyle.top=`${R}px`,this.endStyle[I]=`${E+_-parseInt(this.endStyle.width,10)+k}px`,this.endStyle.height=`${T+k}px`,this.endStyle.display="block";let O=this.settings.border.cornerVisible;O="function"==typeof O?O(this.settings.layerLevel):O;const A=this.wot.getSetting("onModifyGetCellCoords",n,i,!1,"render");let[x,N]=[n,i];if(A&&Array.isArray(A)&&([,,x,N]=A),(0,s.isMobileBrowser)()||!O||this.isPartRange(x,N))this.cornerStyle.display="none";else{this.cornerStyle.top=R+T+this.cornerCenterPointOffset-this.cornerDefaultStyle.borderWidth+"px",this.cornerStyle[I]=E+_+this.cornerCenterPointOffset-this.cornerDefaultStyle.borderWidth+"px",this.cornerStyle.borderRightWidth=`${this.cornerDefaultStyle.borderWidth}px`,this.cornerStyle.borderLeftWidth=`${this.cornerDefaultStyle.borderWidth}px`,this.cornerStyle.borderBottomWidth=`${this.cornerDefaultStyle.borderWidth}px`,this.cornerStyle.width=this.cornerDefaultStyle.width,this.cornerStyle.display="none";let e=(0,r.getTrimmingContainer)(a.TABLE);const t=e===h;t&&(e=l.documentElement);const o=parseInt(this.cornerDefaultStyle.borderWidth,10)-1,s=Math.ceil(parseInt(this.cornerDefaultStyle.width,10)/2),d=Math.ceil(parseInt(this.cornerDefaultStyle.height,10)/2);if(i===this.wot.getSetting("totalColumns")-1){const n=t?m.getBoundingClientRect().left:m.offsetLeft;let i=!1,a=0;if(S?(a=n-parseInt(this.cornerDefaultStyle.width,10)/2,i=a<0):(a=n+(0,r.outerWidth)(m)+parseInt(this.cornerDefaultStyle.width,10)/2,i=a>=(0,r.innerWidth)(e)),i){const e=Math.floor(E+_+this.cornerCenterPointOffset-s-o);(0,r.addClass)(this.corner,"wtCornerInlineEndEdge"),this.cornerStyle[I]=e-1+"px"}}else(0,r.removeClass)(this.corner,"wtCornerInlineEndEdge");if(n===this.wot.getSetting("totalRows")-1){if((t?m.getBoundingClientRect().top:m.offsetTop)+(0,r.outerHeight)(m)+parseInt(this.cornerDefaultStyle.height,10)/2>=(0,r.innerHeight)(e)){const e=Math.floor(R+T+this.cornerCenterPointOffset-d-o);(0,r.addClass)(this.corner,"wtCornerBlockEndEdge"),this.cornerStyle.top=e-1+"px"}}else(0,r.removeClass)(this.corner,"wtCornerBlockEndEdge");this.cornerStyle.display="block"}(0,s.isMobileBrowser)()&&this.instance.getSetting("isDataViewInstance")&&this.updateMultipleSelectionHandlesPosition(n,i,R,E,_,T)}isEntireColumnSelected(e,t){return e===this.wot.wtTable.getFirstRenderedRow()&&t===this.wot.wtTable.getLastRenderedRow()}isEntireRowSelected(e,t){return e===this.wot.wtTable.getFirstRenderedColumn()&&t===this.wot.wtTable.getLastRenderedColumn()}getDimensionsFromHeader(e,t,o,n,i){const{wtTable:s}=this.wot,a=s.wtRootElement.parentNode;let l=null,h=null,d=null,c=null,u=null,g=null,p=null,f=null;switch(e){case"rows":l=function(){return s.getRowHeader(...arguments)},h=function(){return(0,r.outerHeight)(...arguments)},d="ht__selection--rows",g="top";break;case"columns":l=function(){return s.getColumnHeader(...arguments)},h=function(){return(0,r.outerWidth)(...arguments)},d="ht__selection--columns",g="left"}if(a.classList.contains(d)){const e=this.wot.getSetting("columnHeaders").length;if(p=l(t,e-n),f=l(o,e-n),!p||!f)return!1;const s=(0,r.offset)(p),a=(0,r.offset)(f);return p&&f&&(c=s[g]-i[g]-1,u=a[g]+h(f)-s[g]),[p,c,u]}return!1}changeBorderStyle(e,t){const o=this[e].style,n=t[e];!n||n.hide?(0,r.addClass)(this[e],"hidden"):((0,r.hasClass)(this[e],"hidden")&&(0,r.removeClass)(this[e],"hidden"),o.backgroundColor=n.color,"top"!==e&&"bottom"!==e||(o.height=`${n.width}px`),"start"!==e&&"end"!==e||(o.width=`${n.width}px`))}changeBorderToDefaultStyle(e){const t=1,o="#000",r=this[e].style;r.backgroundColor=o,r.width=`${t}px`,r.height=`${t}px`}toggleHiddenClass(e,t){this.changeBorderToDefaultStyle(e),t?(0,r.addClass)(this[e],"hidden"):(0,r.removeClass)(this[e],"hidden")}disappear(){this.topStyle.display="none",this.bottomStyle.display="none",this.startStyle.display="none",this.endStyle.display="none",this.cornerStyle.display="none",(0,s.isMobileBrowser)()&&this.instance.getSetting("isDataViewInstance")&&(this.selectionHandles.styles.top.display="none",this.selectionHandles.styles.topHitArea.display="none",this.selectionHandles.styles.bottom.display="none",this.selectionHandles.styles.bottomHitArea.display="none")}destroy(){this.eventManager.destroyWithOwnEventsOnly(),this.main.parentNode.removeChild(this.main)}}},55494(e,t){"use strict";t.__esModule=!0;t.getCornerStyle=e=>{const t=e.wtSettings.getSetting("stylesHandler"),o=t.getCSSVariableValue("cell-autofill-size"),r=t.getCSSVariableValue("cell-autofill-border-width"),n=t.getCSSVariableValue("cell-autofill-border-color");return Object.freeze({width:o,height:o,borderWidth:r,borderStyle:"solid",borderColor:n})}},78397(e,t){"use strict";t.__esModule=!0;t.ACTIVE_HEADER_TYPE="active-header",t.HEADER_TYPE="header",t.AREA_TYPE="area",t.FOCUS_TYPE="focus",t.FILL_TYPE="fill",t.ROW_TYPE="row",t.COLUMN_TYPE="column",t.CUSTOM_SELECTION_TYPE="custom-selection"},55368(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n={SelectionManager:!0,Selection:!0},i=r(o(66966));t.Selection=i.default;var s=o(78397);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===s[e]||(t[e]=s[e]))});var a=o(55494);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===a[e]||(t[e]=a[e]))});var l=o(14083);t.SelectionManager=l.SelectionManager},14083(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=o(23876),i=o(45518),s=r(o(78713));function a(e,t,o){l(e,t),t.set(e,o)}function l(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function h(e,t){return e.get(c(e,t))}function d(e,t,o){return e.set(c(e,t),o),o}function c(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var u=new WeakMap,g=new WeakMap,p=new WeakMap,f=new WeakMap,m=new WeakMap,C=new WeakMap,w=new WeakSet;function b(){const e=h(f,this).get(h(u,this)),t=h(u,this).wtSettings.getSetting("onBeforeRemoveCellClassNames");if(Array.isArray(t))for(let o=0;o<t.length;o++)e.add(t[o]);e.forEach(e=>{var t,o;const r=h(u,this).wtTable.TABLE.querySelectorAll(`.${e}`);let i=[];Array.isArray(null===(t=h(g,this).options)||void 0===t?void 0:t.cellAttributes)&&(i=h(g,this).options.cellAttributes.map(e=>e[0])),Array.isArray(null===(o=h(g,this).options)||void 0===o?void 0:o.headerAttributes)&&(i=[...i,...h(g,this).options.headerAttributes.map(e=>e[0])]);for(let t=0,o=r.length;t<o;t++)(0,n.removeClass)(r[t],e),(0,n.removeAttribute)(r[t],i)}),e.clear()}t.SelectionManager=class{constructor(e){var t,o;l(t=this,o=w),o.add(t),a(this,u,void 0),a(this,g,void 0),a(this,p,new i.SelectionScanner),a(this,f,new WeakMap),a(this,m,new WeakSet),a(this,C,new Map),d(g,this,e)}setActiveOverlay(e){return d(u,this,e),h(p,this).setActiveOverlay(h(u,this)),h(f,this).has(h(u,this))||h(f,this).set(h(u,this),new Set),this}getFocusSelection(){return null!==h(g,this)?h(g,this).getFocus():null}getAreaSelection(){return null!==h(g,this)?h(g,this).createLayeredArea():null}getBorderInstance(e){if(!e.settings.border)return null;if(h(C,this).has(e)){const t=h(C,this).get(e);if(t.has(h(u,this)))return t.get(h(u,this));const o=new s.default(h(u,this),e.settings);return t.set(h(u,this),o),o}const t=new s.default(h(u,this),e.settings);return h(C,this).set(e,new Map([[h(u,this),t]])),t}getBorderInstances(e){var t,o;return Array.from(null!==(t=null===(o=h(C,this).get(e))||void 0===o?void 0:o.values())&&void 0!==t?t:[])}destroyBorders(e){h(C,this).get(e).forEach(e=>e.destroy()),h(C,this).delete(e)}render(e){if(null===h(g,this))return;e&&c(w,this,b).call(this);const t=Array.from(h(g,this)),o=new Map,r=new Map;for(let e=0;e<t.length;e++){const n=t[e],{className:i,headerAttributes:s,createLayers:a,selectionType:l}=n.settings;h(m,this).has(n)||(h(m,this).add(n),n.addLocalHook("destroy",()=>this.destroyBorders(n)));const d=this.getBorderInstance(n);if(n.isEmpty()){null==d||d.disappear();continue}if(i){h(p,this).setActiveSelection(n).scan().forEach(e=>{if(o.has(e)){const t=o.get(e);t.has(i)&&!0===a?t.set(i,t.get(i)+1):t.set(i,1)}else o.set(e,new Map([[i,1]]));s&&(r.has(e)||r.set(e,[]),"TH"===e.nodeName&&r.get(e).push(...s))})}const c=n.getCorners();h(u,this).getSetting("onBeforeDrawBorders",c,l),null==d||d.appear(c)}o.forEach((e,t)=>{var o;const r=Array.from(e).map(e=>{let[t,o]=e;return 1===o?t:[t,...Array.from({length:o-1},(e,o)=>`${t}-${o+1}`)]}).flat();r.forEach(e=>h(f,this).get(h(u,this)).add(e)),(0,n.addClass)(t,r),"TD"===t.nodeName&&Array.isArray(null===(o=h(g,this).options)||void 0===o?void 0:o.cellAttributes)&&(0,n.setAttribute)(t,h(g,this).options.cellAttributes)}),Array.from(r.keys()).forEach(e=>{(0,n.setAttribute)(e,[...r.get(e)])})}}},45518(e,t,o){"use strict";t.__esModule=!0;var r=o(23876);function n(e,t,o){i(e,t),t.set(e,o)}function i(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function s(e,t){return e.get(l(e,t))}function a(e,t,o){return e.set(l(e,t),o),o}function l(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var h=new WeakMap,d=new WeakMap,c=new WeakSet;function u(e){let[t,o,n,i]=s(h,this).getCorners();if(t<0&&n<0||o<0&&i<0)return;const{wtTable:a}=s(d,this),l=t!==n||o!==i;if(o=Math.max(o,0),i=Math.max(i,0),t=Math.max(t,0),n=Math.max(n,0),l){if(o=Math.max(o,a.getFirstRenderedColumn()),i=Math.min(i,a.getLastRenderedColumn()),t=Math.max(t,a.getFirstRenderedRow()),n=Math.min(n,a.getLastRenderedRow()),i<o||n<t)return}else{const e=a.getCell(s(d,this).createCellCoords(t,o));if(!(0,r.isHTMLElement)(e))return}for(let r=t;r<=n;r+=1)for(let t=o;t<=i;t+=1)e(r,t)}function g(e){const{wtTable:t}=s(d,this),o=t.getRenderedRowsCount(),r=t.getRenderedColumnsCount();for(let n=0;n<o;n+=1){const o=t.rowFilter.renderedToSource(n);for(let n=0;n<r;n+=1)e(o,t.columnFilter.renderedToSource(n))}}t.SelectionScanner=class{constructor(){var e,t;i(e=this,t=c),t.add(e),n(this,h,void 0),n(this,d,void 0)}setActiveOverlay(e){return a(d,this,e),this}setActiveSelection(e){return a(h,this,e),this}scan(){const e=s(h,this).settings.selectionType,t=new Set;return"active-header"===e?(this.scanColumnsInHeadersRange(e=>t.add(e)),this.scanRowsInHeadersRange(e=>t.add(e))):"area"===e?this.scanCellsRange(e=>t.add(e)):"focus"===e?(this.scanColumnsInHeadersRange(e=>t.add(e)),this.scanRowsInHeadersRange(e=>t.add(e)),this.scanCellsRange(e=>t.add(e))):"fill"===e?this.scanCellsRange(e=>t.add(e)):"header"===e?(this.scanColumnsInHeadersRange(e=>t.add(e)),this.scanRowsInHeadersRange(e=>t.add(e))):"row"===e?(this.scanRowsInHeadersRange(e=>t.add(e)),this.scanRowsInCellsRange(e=>t.add(e))):"column"===e&&(this.scanColumnsInHeadersRange(e=>t.add(e)),this.scanColumnsInCellsRange(e=>t.add(e))),t}scanColumnsInHeadersRange(e){const[t,o,r,n]=s(h,this).getCorners(),{wtTable:i}=s(d,this),a=i.getRenderedColumnsCount(),l=i.getColumnHeadersCount();let c=0;for(let u=-i.getRowHeadersCount();u<a;u++){const a=i.columnFilter.renderedToSource(u);if(!(a<o||a>n)){for(let u=-l;u<0;u++){if(u<t||u>r)continue;const g=u+l;let p=i.getColumnHeader(a,g);const f=s(d,this).getSetting("onBeforeHighlightingColumnHeader",a,g,{selectionType:s(h,this).settings.selectionType,columnCursor:c,selectionWidth:n-o+1});null!==f&&(f!==a&&(p=i.getColumnHeader(f,g)),e(p))}c+=1}}}scanRowsInHeadersRange(e){const[t,o,r,n]=s(h,this).getCorners(),{wtTable:i}=s(d,this),a=i.getRenderedRowsCount(),l=i.getRowHeadersCount();let c=0;for(let u=-i.getColumnHeadersCount();u<a;u++){const a=i.rowFilter.renderedToSource(u);if(!(a<t||a>r)){for(let u=-l;u<0;u++){if(u<o||u>n)continue;const g=u+l;let p=i.getRowHeader(a,g);const f=s(d,this).getSetting("onBeforeHighlightingRowHeader",a,g,{selectionType:s(h,this).settings.selectionType,rowCursor:c,selectionHeight:r-t+1});null!==f&&(f!==a&&(p=i.getRowHeader(f,g)),e(p))}c+=1}}}scanCellsRange(e){const{wtTable:t}=s(d,this);l(c,this,u).call(this,(o,n)=>{const i=t.getCell(s(d,this).createCellCoords(o,n)),a=s(d,this).getSetting("onAfterDrawSelection",o,n,s(h,this).settings.layerLevel);"string"==typeof a&&(0,r.addClass)(i,a),e(i)})}scanRowsInCellsRange(e){const[t,,o]=s(h,this).getCorners(),{wtTable:r}=s(d,this);l(c,this,g).call(this,(n,i)=>{if(n>=t&&n<=o){const t=r.getCell(s(d,this).createCellCoords(n,i));e(t)}})}scanColumnsInCellsRange(e){const[,t,,o]=s(h,this).getCorners(),{wtTable:r}=s(d,this);l(c,this,g).call(this,(n,i)=>{if(i>=t&&i<=o){const t=r.getCell(s(d,this).createCellCoords(n,i));e(t)}})}}},66966(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=o(38888),i=r(o(81551));class s{constructor(e,t){this.settings=e,this.cellRange=t||null}isEmpty(){return null===this.cellRange}add(e){return this.isEmpty()?this.cellRange=this.settings.createCellRange(e):this.cellRange.expand(e),this}replace(e,t){if(!this.isEmpty()){if(this.cellRange.from.isEqual(e))return this.cellRange.from=t,!0;if(this.cellRange.to.isEqual(e))return this.cellRange.to=t,!0}return!1}clear(){return this.cellRange=null,this}getCorners(){const e=this.cellRange.getOuterTopStartCorner(),t=this.cellRange.getOuterBottomEndCorner();return[e.row,e.col,t.row,t.col]}destroy(){this.runLocalHooks("destroy")}}(0,n.mixin)(s,i.default);t.default=s},85896(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(23876),s=o(38888),a=o(26032);t.default=class{constructor(e){(0,n.default)(this,"settings",{}),(0,n.default)(this,"defaults",Object.freeze(this.getDefaults())),(0,s.objectEach)(this.defaults,(t,o)=>{void 0!==e[o]?this.settings[o]=e[o]:void 0===t?(0,a.throwWithCause)(`A required setting "${o}" was not provided`):this.settings[o]=t})}getDefaults(){return{facade:void 0,table:void 0,isDataViewInstance:!0,externalRowCalculator:!1,currentRowClassName:null,currentColumnClassName:null,preventOverflow:()=>!1,preventWheel:!1,data:void 0,fixedColumnsStart:0,fixedRowsTop:0,fixedRowsBottom:0,shouldRenderInlineStartOverlay:()=>this.getSetting("fixedColumnsStart")>0||this.getSetting("rowHeaders").length>0,shouldRenderTopOverlay:()=>this.getSetting("fixedRowsTop")>0||this.getSetting("columnHeaders").length>0,shouldRenderBottomOverlay:()=>this.getSetting("fixedRowsBottom")>0,minSpareRows:0,rowHeaders:()=>[],columnHeaders:()=>[],totalRows:void 0,totalColumns:void 0,cellRenderer:(e,t,o)=>{const r=this.getSetting("data",e,t);(0,i.fastInnerText)(o,null==r?"":r)},columnWidth(){},rowHeight(){},rowHeightByOverlayName(){},defaultColumnWidth:50,selections:null,hideBorderOnMouseDownOver:!1,viewportRowCalculatorOverride:null,viewportColumnCalculatorOverride:null,viewportRowRenderingThreshold:null,viewportColumnRenderingThreshold:null,onCellMouseDown:null,onCellContextMenu:null,onCellMouseOver:null,onCellMouseOut:null,onCellMouseUp:null,onCellDblClick:null,onCellCornerMouseDown:null,onCellCornerDblClick:null,beforeDraw:null,onDraw:null,onBeforeRemoveCellClassNames:null,onAfterDrawSelection:null,onBeforeDrawBorders:null,onBeforeViewportScrollHorizontally:e=>e,onBeforeViewportScrollVertically:e=>e,onScrollHorizontally:null,onScrollVertically:null,onBeforeTouchScroll:null,onAfterMomentumScroll:null,onModifyRowHeaderWidth:null,onModifyGetCellCoords:null,onModifyGetCoordsElement:null,onModifyGetCoords:null,onBeforeHighlightingRowHeader:e=>e,onBeforeHighlightingColumnHeader:e=>e,onWindowResize:null,onContainerElementResize:null,renderAllColumns:!1,renderAllRows:!1,groups:!1,rowHeaderWidth:null,columnHeaderHeight:null,headerClassName:null,rtlMode:!1,ariaTags:!0,stylesHandler:null}}update(e,t){return void 0===t?(0,s.objectEach)(e,(e,t)=>{this.settings[t]=e}):this.settings[e]=t,this}getSetting(e,t,o,r,n){return"function"==typeof this.settings[e]?this.settings[e](t,o,r,n):void 0!==t&&Array.isArray(this.settings[e])?this.settings[e][t]:this.settings[e]}getSettingPure(e){return this.settings[e]}has(e){return!!this.settings[e]}}},60293(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(23876),s=o(3179),a=r(o(52300)),l=r(o(87176)),h=o(58189),d=r(o(97537)),c=r(o(74783)),u=o(99170),g=o(12175),p=o(26032);t.default=class{constructor(e,t,o,r,s){(0,n.default)(this,"wtSettings",null),(0,n.default)(this,"domBindings",void 0),(0,n.default)(this,"TBODY",null),(0,n.default)(this,"THEAD",null),(0,n.default)(this,"COLGROUP",null),(0,n.default)(this,"hasTableHeight",!0),(0,n.default)(this,"hasTableWidth",!0),(0,n.default)(this,"isTableVisible",!1),(0,n.default)(this,"tableOffset",0),(0,n.default)(this,"holderOffset",0),this.domBindings=o,this.isMaster="master"===s,this.name=s,this.dataAccessObject=e,this.facadeGetter=t,this.wtSettings=r,this.instance=this.dataAccessObject.wot,this.wot=this.dataAccessObject.wot,this.TABLE=o.rootTable,(0,i.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;const a=this.wtSettings.getSettingPure("rowHeaderWidth");this.wtSettings.update("rowHeaderWidth",()=>this._modifyRowHeaderWidth(a)),this.rowUtils=new c.default(this.dataAccessObject,this.wtSettings),this.columnUtils=new d.default(this.dataAccessObject,this.wtSettings),this.tableRenderer=new h.Renderer({TABLE:this.TABLE,THEAD:this.THEAD,COLGROUP:this.COLGROUP,TBODY:this.TBODY,rowUtils:this.rowUtils,columnUtils:this.columnUtils,cellRenderer:this.wtSettings.getSettingPure("cellRenderer"),stylesHandler:this.wtSettings.getSetting("stylesHandler")})}is(e){return this.name===e}fixTableDomTree(){const e=this.domBindings.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))}createSpreader(e){const t=e.parentNode;let o;return t&&t.nodeType===Node.ELEMENT_NODE&&(0,i.hasClass)(t,"wtHolder")||(o=this.domBindings.rootDocument.createElement("div"),o.className="wtSpreader",t&&t.insertBefore(o,e),o.appendChild(e)),o.style.position="relative",this.wtSettings.getSetting("ariaTags")&&(0,i.setAttribute)(o,[(0,g.A11Y_PRESENTATION)()]),o}createHider(e){const t=e.parentNode;let o;return t&&t.nodeType===Node.ELEMENT_NODE&&(0,i.hasClass)(t,"wtHolder")||(o=this.domBindings.rootDocument.createElement("div"),o.className="wtHider",t&&t.insertBefore(o,e),o.appendChild(e)),this.wtSettings.getSetting("ariaTags")&&(0,i.setAttribute)(o,[(0,g.A11Y_PRESENTATION)()]),o}createHolder(e){const t=e.parentNode;let o;return t&&t.nodeType===Node.ELEMENT_NODE&&(0,i.hasClass)(t,"wtHolder")||(o=this.domBindings.rootDocument.createElement("div"),o.style.position="relative",o.className="wtHolder",this.isMaster&&(0,i.setAttribute)(o,[(0,g.A11Y_TABINDEX)(-1)]),t&&t.insertBefore(o,e),this.isMaster&&(o.parentNode.className+="ht_master handsontable",o.parentNode.setAttribute("dir",this.wtSettings.getSettingPure("rtlMode")?"rtl":"ltr"),this.wtSettings.getSetting("ariaTags")&&(0,i.setAttribute)(o.parentNode,[(0,g.A11Y_PRESENTATION)()])),o.appendChild(e)),this.wtSettings.getSetting("ariaTags")&&(0,i.setAttribute)(o,[(0,g.A11Y_PRESENTATION)()]),o}draw(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{wtSettings:t}=this,{wtOverlays:o,wtViewport:r}=this.dataAccessObject,n=t.getSetting("totalRows"),s=t.getSetting("totalColumns"),h=t.getSetting("rowHeaders"),d=h.length,c=t.getSetting("columnHeaders"),g=c.length;let p=e;if(this.isMaster&&(o.beforeDraw(),this.holderOffset=(0,i.offset)(this.holder),p=r.createCalculators(p),d&&!t.getSetting("fixedColumnsStart"))){const e=o.inlineStartOverlay.getScrollPosition(),t=this.correctHeaderWidth;this.correctHeaderWidth=0!==e,t!==this.correctHeaderWidth&&(p=!1)}if(p)this.isMaster&&o.refresh(!0);else{this.isMaster?this.tableOffset=(0,i.offset)(this.TABLE):this.tableOffset=this.dataAccessObject.parentTableOffset;const e=Math.max(this.getFirstRenderedRow(),0),t=Math.max(this.getFirstRenderedColumn(),0);this.rowFilter=new l.default(e,n,g),this.columnFilter=new a.default(t,s,d);let p=!0;if(this.isMaster){this.alignOverlaysWithTrimmingContainer();const e={};this.wtSettings.getSetting("beforeDraw",!0,e),p=!0!==e.skipRender}p&&(this.tableRenderer.setHeaderContentRenderers(h,c),(this.is(u.CLONE_BOTTOM)||this.is(u.CLONE_BOTTOM_INLINE_START_CORNER))&&this.tableRenderer.setHeaderContentRenderers(h,[]),this.resetOversizedRows(),this.tableRenderer.setActiveOverlayName(this.name).setViewportSize(this.getRenderedRowsCount(),this.getRenderedColumnsCount()).setFilters(this.rowFilter,this.columnFilter).render(),this.isMaster&&this.markOversizedColumnHeaders(),this.adjustColumnHeaderHeights(),(this.isMaster||this.is(u.CLONE_BOTTOM))&&this.markOversizedRows(),this.isMaster?(this.wtSettings.getSetting("externalRowCalculator")||r.createVisibleCalculators(),o.refresh(!1),o.applyToDOM(),this.wtSettings.getSetting("onDraw",!0)):this.is(u.CLONE_BOTTOM)&&this.dataAccessObject.cloneSource.wtOverlays.adjustElementsSize())}let f=!1;return this.isMaster&&(f=o.topOverlay.resetFixedPosition(),o.bottomOverlay.clone&&(f=o.bottomOverlay.resetFixedPosition()||f),f=o.inlineStartOverlay.resetFixedPosition()||f,o.topInlineStartCornerOverlay&&o.topInlineStartCornerOverlay.resetFixedPosition(),o.bottomInlineStartCornerOverlay&&o.bottomInlineStartCornerOverlay.clone&&o.bottomInlineStartCornerOverlay.resetFixedPosition()),f?(o.refreshAll(),o.adjustElementsSize()):this.dataAccessObject.selectionManager.setActiveOverlay(this.facadeGetter()).render(p),this.isMaster&&o.afterDraw(),this.dataAccessObject.drawn=!0,this}markIfOversizedColumnHeader(e){const t=this.columnFilter.renderedToSource(e);let o=this.wtSettings.getSetting("columnHeaders").length;const r=this.wtSettings.getSetting("stylesHandler").getDefaultRowHeight();let n,s,a;const l=this.wtSettings.getSetting("columnHeaderHeight")||[];for(;o;)o-=1,n=this.getColumnHeaderHeight(o),s=this.getColumnHeader(t,o),s&&(a=(0,i.innerHeight)(s),(!n&&r<a||n<a)&&(this.dataAccessObject.wtViewport.oversizedColumnHeaders[o]=a),Array.isArray(l)?null!==l[o]&&void 0!==l[o]&&(this.dataAccessObject.wtViewport.oversizedColumnHeaders[o]=l[o]):isNaN(l)||(this.dataAccessObject.wtViewport.oversizedColumnHeaders[o]=l),this.dataAccessObject.wtViewport.oversizedColumnHeaders[o]<(l[o]||l)&&(this.dataAccessObject.wtViewport.oversizedColumnHeaders[o]=l[o]||l))}adjustColumnHeaderHeights(){const{wtSettings:e}=this,t=this.THEAD.childNodes,o=this.dataAccessObject.wtViewport.oversizedColumnHeaders;for(let r=0,n=e.getSetting("columnHeaders").length;r<n;r++)if(o[r]){if(!t[r]||0===t[r].childNodes.length)return;t[r].childNodes[0].style.height=`${o[r]}px`}}resetOversizedRows(){const{wtSettings:e}=this,{wtViewport:t}=this.dataAccessObject;if((this.isMaster||this.is(u.CLONE_BOTTOM))&&!e.getSetting("externalRowCalculator")){const e=this.getRenderedRowsCount();for(let o=0;o<e;o++){const e=this.rowFilter.renderedToSource(o);t.oversizedRows&&t.oversizedRows[e]&&(t.oversizedRows[e]=void 0)}}}getCell(e){let t=e.row,o=e.col;const r=this.wtSettings.getSetting("onModifyGetCellCoords",t,o,!this.isMaster,"render");if(r&&Array.isArray(r)&&([t,o]=r),this.isRowBeforeRenderedRows(t))return-1;if(this.isRowAfterRenderedRows(t))return-2;if(this.isColumnBeforeRenderedColumns(o))return-3;if(this.isColumnAfterRenderedColumns(o))return-4;const n=this.getRow(t);!n&&t>=0&&(0,p.throwWithCause)("TR was expected to be rendered but is not");const i=n.childNodes[this.columnFilter.sourceColumnToVisibleRowHeadedColumn(o)];return!i&&o>=0&&(0,p.throwWithCause)("TD or TH was expected to be rendered but is not"),i}getRow(e){let t=null,o=null;var r,n;e<0?(t=null===(r=this.rowFilter)||void 0===r?void 0:r.sourceRowToVisibleColHeadedRow(e),o=this.THEAD):(t=null===(n=this.rowFilter)||void 0===n?void 0:n.sourceToRendered(e),o=this.TBODY);return void 0!==t&&void 0!==o&&(!(o.childNodes.length<t+1)&&o.childNodes[t])}getColumnHeader(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const o=this.THEAD.childNodes[t];return null==o?void 0:o.childNodes[this.columnFilter.sourceColumnToVisibleRowHeadedColumn(e)]}getColumnHeaders(e){const t=[],o=this.columnFilter.sourceColumnToVisibleRowHeadedColumn(e);return this.THEAD.childNodes.forEach(e=>{const r=e.childNodes[o];r&&t.push(r)}),t}getRowHeader(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(t>=this.wtSettings.getSetting("rowHeaders").length)return;const o=this.rowFilter.sourceToRendered(e),r=o<0?this.rowFilter.sourceRowToVisibleColHeadedRow(e):o,n=(o<0?this.THEAD:this.TBODY).childNodes[r];return null==n?void 0:n.childNodes[t]}getRowHeaders(e){const t=[],o=this.wtSettings.getSetting("rowHeaders").length;for(let r=0;r<o;r++){const o=this.TBODY.childNodes[this.rowFilter.sourceToRendered(e)],n=null==o?void 0:o.childNodes[r];n&&t.push(n)}return t}getCoords(e){let t=e;if("TD"!==t.nodeName&&"TH"!==t.nodeName&&(t=(0,i.closest)(t,["TD","TH"])),null===t)return null;const o=t.parentNode;if(!o)return null;const r=o.parentNode;let n=(0,i.index)(o),s=t.cellIndex;if((0,i.overlayContainsElement)(u.CLONE_TOP_INLINE_START_CORNER,t,this.wtRootElement)||(0,i.overlayContainsElement)(u.CLONE_TOP,t,this.wtRootElement))"THEAD"===r.nodeName&&(n-=r.childNodes.length);else if((0,i.overlayContainsElement)(u.CLONE_BOTTOM_INLINE_START_CORNER,t,this.wtRootElement)||(0,i.overlayContainsElement)(u.CLONE_BOTTOM,t,this.wtRootElement)){n=this.wtSettings.getSetting("totalRows")-r.childNodes.length+n}else r===this.THEAD?n=this.rowFilter.visibleColHeadedRowToSourceRow(n):this.rowFilter&&(n=this.rowFilter.renderedToSource(n));(0,i.overlayContainsElement)(u.CLONE_TOP_INLINE_START_CORNER,t,this.wtRootElement)||(0,i.overlayContainsElement)(u.CLONE_INLINE_START,t,this.wtRootElement)||(0,i.overlayContainsElement)(u.CLONE_BOTTOM_INLINE_START_CORNER,t,this.wtRootElement)?s=this.columnFilter.offsettedTH(s):this.columnFilter&&(s=this.columnFilter.visibleRowHeadedColumnToSourceColumn(s));const a=this.wtSettings.getSetting("onModifyGetCoordsElement",n,s);return a&&Array.isArray(a)&&([n,s]=a),this.wot.createCellCoords(n,s)}markOversizedRows(){if(this.wtSettings.getSetting("externalRowCalculator"))return;let e=this.TBODY.childNodes.length;const t=this.wtSettings.getSetting("stylesHandler"),o=e*t.getDefaultRowHeight(),r=(0,i.innerHeight)(this.TBODY)-1,n=t.areCellsBorderBox(),s=n?i.outerHeight:i.innerHeight,a=n?0:1,l=n?1:0;let h,d,c,u,g;if(o!==r||this.wtSettings.getSetting("fixedRowsBottom"))for(;e;){e-=1,c=this.rowFilter.renderedToSource(e),h=this.getRowHeight(c),u=this.getTrForRow(c),g=u.querySelector("th");const o=0===c?l:0;d=g?s(g):s(u)-a,(!h&&t.getDefaultRowHeight()<d-o||h<d)&&(n||(d+=1),this.dataAccessObject.wtViewport.oversizedRows[c]=d)}}getTrForRow(e){return this.TBODY.childNodes[this.rowFilter.sourceToRendered(e)]}isColumnHeaderRendered(e){if(e>=0)return!1;const t=this.wtSettings.getSetting("rowHeaders").length;return Math.abs(e)<=t}isRowHeaderRendered(e){if(e>=0)return!1;const t=this.wtSettings.getSetting("columnHeaders").length;return Math.abs(e)<=t}isRowBeforeRenderedRows(e){const t=this.getFirstRenderedRow();return e<0&&t<=0?!this.isRowHeaderRendered(e):e<t}isRowAfterRenderedRows(e){return e>this.getLastRenderedRow()}isColumnBeforeRenderedColumns(e){const t=this.getFirstRenderedColumn();return e<0&&t<=0?!this.isColumnHeaderRendered(e):e<t}isColumnAfterRenderedColumns(e){return this.columnFilter&&e>this.getLastRenderedColumn()}isColumnAfterViewport(e){return this.columnFilter&&e>this.getLastVisibleColumn()}isRowAfterViewport(e){return this.rowFilter&&e>this.getLastVisibleRow()}isColumnBeforeViewport(e){return this.columnFilter&&this.columnFilter.sourceToRendered(e)<0&&e>=0}isLastRowFullyVisible(){return this.getLastVisibleRow()===this.getLastRenderedRow()}isLastColumnFullyVisible(){return this.getLastVisibleColumn()===this.getLastRenderedColumn()}allRowsInViewport(){return this.wtSettings.getSetting("totalRows")===this.getVisibleRowsCount()}allColumnsInViewport(){return this.wtSettings.getSetting("totalColumns")===this.getVisibleColumnsCount()}getRowHeight(e){return this.rowUtils.getHeight(e)}getColumnHeaderHeight(e){return this.columnUtils.getHeaderHeight(e)}getColumnWidth(e){return this.columnUtils.getWidth(e)}hasDefinedSize(){return this.hasTableHeight&&this.hasTableWidth}getWidth(){return(0,i.outerWidth)(this.TABLE)}getHeight(){return(0,i.outerHeight)(this.TABLE)}getTotalWidth(){const e=(0,i.outerWidth)(this.hider);return 0!==e?e:this.getWidth()}getTotalHeight(){const e=(0,i.outerHeight)(this.hider);return 0!==e?e:this.getHeight()}isVisible(){return(0,i.isVisible)(this.TABLE)}_modifyRowHeaderWidth(e){let t=(0,s.isFunction)(e)?e():null;return Array.isArray(t)?(t=[...t],t[t.length-1]=this._correctRowHeaderWidth(t[t.length-1])):t=this._correctRowHeaderWidth(t),t}_correctRowHeaderWidth(e){let t=e;return"number"!=typeof e&&(t=this.wtSettings.getSetting("defaultColumnWidth")),this.correctHeaderWidth&&(t+=1),t}}},12143(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(60293)),i=r(o(63875)),s=r(o(48555)),a=o(38888),l=o(99170);class h extends n.default{constructor(e,t,o,r){super(e,t,o,r,l.CLONE_BOTTOM)}}(0,a.mixin)(h,i.default),(0,a.mixin)(h,s.default);t.default=h},64617(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(60293)),i=r(o(63875)),s=r(o(27308)),a=o(38888),l=o(99170);class h extends n.default{constructor(e,t,o,r){super(e,t,o,r,l.CLONE_BOTTOM_INLINE_START_CORNER)}}(0,a.mixin)(h,i.default),(0,a.mixin)(h,s.default);t.default=h},44401(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(60293)),i=r(o(6559)),s=r(o(27308)),a=o(38888),l=o(99170);class h extends n.default{constructor(e,t,o,r){super(e,t,o,r,l.CLONE_INLINE_START)}}(0,a.mixin)(h,i.default),(0,a.mixin)(h,s.default);t.default=h},3478(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=o(23876),i=r(o(60293)),s=r(o(6559)),a=r(o(48555)),l=o(38888);class h extends i.default{constructor(e,t,o,r){super(e,t,o,r,"master")}alignOverlaysWithTrimmingContainer(){const e=(0,n.getTrimmingContainer)(this.wtRootElement),{rootWindow:t}=this.domBindings;if(e===t){this.wtSettings.getSetting("preventOverflow")||(this.holder.style.overflow="visible",this.wtRootElement.style.overflow="visible")}else{const o=e.parentElement,r=(0,n.getStyle)(e,"height",t),i=(0,n.getStyle)(e,"overflow",t),s=this.holder.style,{scrollWidth:a,scrollHeight:l}=e;let h=e.offsetWidth,d=e.offsetHeight;if(o&&["auto","hidden","scroll","clip"].includes(i)){const r=e.cloneNode(!1);r.style.overflow="auto",r.style.position="absolute",e.nextElementSibling?o.insertBefore(r,e.nextElementSibling):o.appendChild(r);const n=parseInt(t.getComputedStyle(r).height,10);o.removeChild(r),0===n&&(d=0)}d=Math.min(d,l),s.height="auto"===r?"auto":`${d}px`,h=Math.min(h,a),s.width=`${h}px`,s.overflow="",this.hasTableHeight="auto"===s.height||d>0,this.hasTableWidth=h>0}this.isTableVisible=(0,n.isVisible)(this.TABLE)}markOversizedColumnHeaders(){const{wtSettings:e}=this,{wtViewport:t}=this.dataAccessObject,o="master",r=e.getSetting("columnHeaders").length;if(r&&!t.hasOversizedColumnHeadersMarked[o]){const n=e.getSetting("rowHeaders").length,i=this.getRenderedColumnsCount();for(let e=0;e<r;e++)for(let e=-1*n;e<i;e++)this.markIfOversizedColumnHeader(e);t.hasOversizedColumnHeadersMarked[o]=!0}}}(0,l.mixin)(h,s.default),(0,l.mixin)(h,a.default);t.default=h},48555(e,t,o){"use strict";t.__esModule=!0;var r=o(38888);const n={getFirstRenderedColumn(){const e=this.dataAccessObject.startColumnRendered;return null===e?-1:e},getFirstVisibleColumn(){const e=this.dataAccessObject.startColumnVisible;return null===e?-1:e},getFirstPartiallyVisibleColumn(){const e=this.dataAccessObject.startColumnPartiallyVisible;return null===e?-1:e},getLastRenderedColumn(){const e=this.dataAccessObject.endColumnRendered;return null===e?-1:e},getLastVisibleColumn(){const e=this.dataAccessObject.endColumnVisible;return null===e?-1:e},getLastPartiallyVisibleColumn(){const e=this.dataAccessObject.endColumnPartiallyVisible;return null===e?-1:e},getRenderedColumnsCount(){return this.dataAccessObject.countColumnsRendered},getVisibleColumnsCount(){return this.dataAccessObject.countColumnsVisible},getRowHeadersCount(){return this.dataAccessObject.rowHeaders.length}};(0,r.defineGetter)(n,"MIXIN_NAME","calculatedColumns",{writable:!1,enumerable:!1});t.default=n},6559(e,t,o){"use strict";t.__esModule=!0;var r=o(38888);const n={getFirstRenderedRow(){const e=this.dataAccessObject.startRowRendered;return null===e?-1:e},getFirstVisibleRow(){const e=this.dataAccessObject.startRowVisible;return null===e?-1:e},getFirstPartiallyVisibleRow(){const e=this.dataAccessObject.startRowPartiallyVisible;return null===e?-1:e},getLastRenderedRow(){const e=this.dataAccessObject.endRowRendered;return null===e?-1:e},getLastVisibleRow(){const e=this.dataAccessObject.endRowVisible;return null===e?-1:e},getLastPartiallyVisibleRow(){const e=this.dataAccessObject.endRowPartiallyVisible;return null===e?-1:e},getRenderedRowsCount(){return this.dataAccessObject.countRowsRendered},getVisibleRowsCount(){return this.dataAccessObject.countRowsVisible},getColumnHeadersCount(){return this.dataAccessObject.columnHeaders.length}};(0,r.defineGetter)(n,"MIXIN_NAME","calculatedRows",{writable:!1,enumerable:!1});t.default=n},27308(e,t,o){"use strict";t.__esModule=!0;var r=o(38888);const n={getFirstRenderedColumn(){return 0===this.getRenderedColumnsCount()?-1:0},getFirstVisibleColumn(){return this.getFirstRenderedColumn()},getFirstPartiallyVisibleColumn(){return this.getFirstRenderedColumn()},getLastRenderedColumn(){return this.getRenderedColumnsCount()-1},getLastVisibleColumn(){return this.getLastRenderedColumn()},getLastPartiallyVisibleColumn(){return this.getLastRenderedColumn()},getRenderedColumnsCount(){return Math.min(this.wtSettings.getSetting("totalColumns"),this.wtSettings.getSetting("fixedColumnsStart"))},getVisibleColumnsCount(){return this.getRenderedColumnsCount()},getRowHeadersCount(){return this.dataAccessObject.rowHeaders.length}};(0,r.defineGetter)(n,"MIXIN_NAME","stickyColumnsStart",{writable:!1,enumerable:!1});t.default=n},63875(e,t,o){"use strict";t.__esModule=!0;var r=o(38888);const n={getFirstRenderedRow(){const e=this.getRenderedRowsCount();return 0===e?-1:this.wtSettings.getSetting("totalRows")-e},getFirstVisibleRow(){return this.getFirstRenderedRow()},getFirstPartiallyVisibleRow(){return this.getFirstRenderedRow()},getLastRenderedRow(){return 0===this.getRenderedRowsCount()?-1:this.wtSettings.getSetting("totalRows")-1},getLastVisibleRow(){return this.getLastRenderedRow()},getLastPartiallyVisibleRow(){return this.getLastRenderedRow()},getRenderedRowsCount(){return Math.min(this.wtSettings.getSetting("totalRows"),this.wtSettings.getSetting("fixedRowsBottom"))},getVisibleRowsCount(){return this.getRenderedRowsCount()},getColumnHeadersCount:()=>0};(0,r.defineGetter)(n,"MIXIN_NAME","stickyRowsBottom",{writable:!1,enumerable:!1});t.default=n},47213(e,t,o){"use strict";t.__esModule=!0;var r=o(38888);const n={getFirstRenderedRow(){return 0===this.getRenderedRowsCount()?-1:0},getFirstVisibleRow(){return this.getFirstRenderedRow()},getFirstPartiallyVisibleRow(){return this.getFirstRenderedRow()},getLastRenderedRow(){return this.getRenderedRowsCount()-1},getLastVisibleRow(){return this.getLastRenderedRow()},getLastPartiallyVisibleRow(){return this.getLastRenderedRow()},getRenderedRowsCount(){return Math.min(this.wtSettings.getSetting("totalRows"),this.wtSettings.getSetting("fixedRowsTop"))},getVisibleRowsCount(){return this.getRenderedRowsCount()},getColumnHeadersCount(){return this.dataAccessObject.columnHeaders.length}};(0,r.defineGetter)(n,"MIXIN_NAME","stickyRowsTop",{writable:!1,enumerable:!1});t.default=n},10297(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(60293)),i=r(o(47213)),s=r(o(48555)),a=o(38888),l=o(99170);class h extends n.default{constructor(e,t,o,r){super(e,t,o,r,l.CLONE_TOP)}}(0,a.mixin)(h,i.default),(0,a.mixin)(h,s.default);t.default=h},68643(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(60293)),i=r(o(47213)),s=r(o(27308)),a=o(38888),l=o(99170);class h extends n.default{constructor(e,t,o,r){super(e,t,o,r,l.CLONE_TOP_INLINE_START_CORNER)}}(0,a.mixin)(h,i.default),(0,a.mixin)(h,s.default);t.default=h},97537(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.default=class{constructor(e,t){(0,n.default)(this,"dataAccessObject",void 0),(0,n.default)(this,"wtSettings",void 0),(0,n.default)(this,"headerWidths",new Map),this.dataAccessObject=e,this.wtSettings=t}getWidth(e){return this.wtSettings.getSetting("columnWidth",e)||this.wtSettings.getSetting("defaultColumnWidth")}getHeaderHeight(e){let t=this.wtSettings.getSetting("stylesHandler").getDefaultRowHeight();const o=this.dataAccessObject.wtViewport.oversizedColumnHeaders[e];return void 0!==o&&(t=t?Math.max(t,o):o),t}getHeaderWidth(e){return this.headerWidths.get(this.dataAccessObject.wtTable.columnFilter.sourceToRendered(e))}calculateWidths(){const{wtSettings:e}=this;let t=e.getSetting("rowHeaderWidth");if(t=e.getSetting("onModifyRowHeaderWidth",t),null!=t){const o=e.getSetting("rowHeaders").length,r=e.getSetting("defaultColumnWidth");for(let e=0;e<o;e++){let o=Array.isArray(t)?t[e]:t;o=null==o?r:o,this.headerWidths.set(e,o)}}}}},3076(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(46027);t.NodesPool=class{constructor(e){(0,n.default)(this,"nodeType",void 0),(0,n.default)(this,"pool",new Map),this.nodeType=e.toUpperCase()}setRootDocument(e){this.rootDocument=e}obtain(e,t){if((0,i.isFirefox)())return this.rootDocument.createElement(this.nodeType);const o="number"==typeof t?`${e}x${t}`:e.toString();if(this.pool.has(o))return this.pool.get(o);const r=this.rootDocument.createElement(this.nodeType);return this.pool.set(o,r),r}}},74652(e,t){"use strict";t.__esModule=!0;t.WORKING_SPACE_ALL=0,t.WORKING_SPACE_TOP=1,t.WORKING_SPACE_BOTTOM=2},35109(e,t,o){"use strict";t.__esModule=!0;var r=o(87444);t.OrderView=r.OrderView;var n=o(66985);t.SharedOrderView=n.SharedOrderView},45281(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.DifferBasedRendererAdapter=class{constructor(e){(0,n.default)(this,"leads",[]),this.orderView=e}applyCommand(e){const{rootNode:t}=this.orderView,[o,r,n,i]=e,s=this.orderView.nodesPool(r);switch(this.orderView.collectedNodes.push(s),o){case"prepend":t.insertBefore(s,t.firstChild);break;case"append":t.appendChild(s);break;case"insert_before":t.insertBefore(s,this.orderView.nodesPool(n)),t.removeChild(this.orderView.nodesPool(i));break;case"replace":t.replaceChild(s,this.orderView.nodesPool(n));break;case"remove":t.removeChild(s)}}start(){this.orderView.collectedNodes.length=0,this.leads=this.orderView.viewDiffer.diff()}render(){this.leads.length>0&&this.applyCommand(this.leads.shift())}end(){for(;this.leads.length>0;)this.applyCommand(this.leads.shift())}}},67725(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(74652);t.DirectDomRendererAdapter=class{constructor(e){(0,n.default)(this,"visualIndex",0),this.orderView=e}getRenderedChildCount(){const{rootNode:e,sizeSet:t}=this.orderView;let o=0;if(this.orderView.isSharedViewSet()){let r=e.firstElementChild;for(;r;){if(r.tagName===this.orderView.childNodeType)o+=1;else if(t.isPlaceOn(i.WORKING_SPACE_TOP))break;r=r.nextElementSibling}}else o=e.childElementCount;return o}start(){this.orderView.collectedNodes.length=0,this.visualIndex=0;const{rootNode:e,sizeSet:t}=this.orderView,o=this.orderView.isSharedViewSet(),{nextSize:r}=t.getViewSize();let n=this.getRenderedChildCount();for(;n<r;){const r=this.orderView.nodesPool();!o||o&&t.isPlaceOn(i.WORKING_SPACE_BOTTOM)?e.appendChild(r):e.insertBefore(r,e.firstChild),n+=1}const s=o&&t.isPlaceOn(i.WORKING_SPACE_TOP);for(;n>r;)e.removeChild(s?e.firstChild:e.lastChild),n-=1}render(){const{rootNode:e,sizeSet:t}=this.orderView;let o=this.visualIndex;this.orderView.isSharedViewSet()&&t.isPlaceOn(i.WORKING_SPACE_BOTTOM)&&(o+=t.sharedSize.nextSize);let r=e.childNodes[o];if(r.tagName!==this.orderView.childNodeType){const t=this.orderView.nodesPool();e.replaceChild(t,r),r=t}this.orderView.collectedNodes.push(r),this.visualIndex+=1}end(){}}},4332(e,t,o){"use strict";t.__esModule=!0,t.createRendererAdapter=function(e){if((0,r.isFirefox)())return new i.DirectDomRendererAdapter(e);return new n.DifferBasedRendererAdapter(e)};var r=o(46027),n=o(45281),i=o(67725)},66985(e,t,o){"use strict";t.__esModule=!0;var r=o(87444);class n extends r.OrderView{prependView(e){return this.sizeSet.prepend(e.sizeSet),e.sizeSet.append(this.sizeSet),this}appendView(e){return this.sizeSet.append(e.sizeSet),e.sizeSet.prepend(this.sizeSet),this}}t.SharedOrderView=n},87444(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(98129),s=o(6631),a=o(4332);t.OrderView=class{constructor(e,t,o){(0,n.default)(this,"rootNode",void 0),(0,n.default)(this,"nodesPool",void 0),(0,n.default)(this,"sizeSet",new i.ViewSizeSet),(0,n.default)(this,"collectedNodes",[]),(0,n.default)(this,"viewDiffer",new s.ViewDiffer(this.sizeSet)),(0,n.default)(this,"childNodeType",void 0),(0,n.default)(this,"rendererAdapter",void 0),this.rootNode=e,this.nodesPool=t,this.childNodeType=o,this.rendererAdapter=(0,a.createRendererAdapter)(this)}setSize(e){return this.sizeSet.setSize(e),this}setOffset(e){return this.sizeSet.setOffset(e),this}isSharedViewSet(){return this.sizeSet.isShared()}getNode(e){return e<this.collectedNodes.length?this.collectedNodes[e]:null}getCurrentNode(){const e=this.collectedNodes.length;return e>0?this.collectedNodes[e-1]:null}start(){this.rendererAdapter.start()}render(){this.rendererAdapter.render()}end(){this.rendererAdapter.end()}}},6631(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(74652),s=o(20492);t.ViewDiffer=class{constructor(e){(0,n.default)(this,"sizeSet",void 0),this.sizeSet=e}diff(){const{sizeSet:e}=this,{currentSize:t,nextSize:o}=e.getViewSize();let r=Math.max(o,t);if(0===r)return[];const{currentOffset:n,nextOffset:a}=e.getViewSize(),l=new s.ViewOrder(n,t),h=new s.ViewOrder(a,o),d=[];for(let t=0;t<r;t++){const n=l.get(t),s=h.get(t);if(-1===s)d.push(["remove",n]);else if(-1===n)!e.isShared()||e.isShared()&&e.isPlaceOn(i.WORKING_SPACE_BOTTOM)?d.push(["append",s]):d.push(["prepend",s]);else if(s>n)l.has(s)&&(l.remove(s),o<=l.length&&(r-=1)),d.push(["replace",s,n]);else if(s<n){const e=l.prepend(s);d.push(["insert_before",s,n,e])}else d.push(["none",s])}return d}}},20492(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.ViewOrder=class{constructor(e,t){(0,n.default)(this,"order",[]),this.order=[...Array(t).keys()].map(t=>e+t)}get length(){return this.order.length}has(e){return this.order.indexOf(e)>-1}get(e){return e<this.order.length?this.order[e]:-1}remove(e){this.order.splice(this.order.indexOf(e),1)}prepend(e){return this.order.unshift(e),this.order.pop()}}},97089(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.ViewSize=class{constructor(){(0,n.default)(this,"currentSize",0),(0,n.default)(this,"nextSize",0),(0,n.default)(this,"currentOffset",0),(0,n.default)(this,"nextOffset",0)}setSize(e){this.currentSize=this.nextSize,this.nextSize=e}setOffset(e){this.currentOffset=this.nextOffset,this.nextOffset=e}}},98129(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(97089),s=o(74652);t.ViewSizeSet=class{constructor(){(0,n.default)(this,"size",new i.ViewSize),(0,n.default)(this,"workingSpace",s.WORKING_SPACE_ALL),(0,n.default)(this,"sharedSize",null)}setSize(e){this.size.setSize(e)}setOffset(e){this.size.setOffset(e)}getViewSize(){return this.size}isShared(){return null!==this.sharedSize}isPlaceOn(e){return this.workingSpace===e}append(e){this.workingSpace=s.WORKING_SPACE_TOP,e.workingSpace=s.WORKING_SPACE_BOTTOM,this.sharedSize=e.getViewSize()}prepend(e){this.workingSpace=s.WORKING_SPACE_BOTTOM,e.workingSpace=s.WORKING_SPACE_TOP,this.sharedSize=e.getViewSize()}}},74783(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));t.default=class{constructor(e,t){(0,n.default)(this,"dataAccessObject",void 0),(0,n.default)(this,"wtSettings",void 0),this.dataAccessObject=e,this.wtSettings=t}getHeight(e){let t=this.wtSettings.getSetting("rowHeight",e);const o=this.dataAccessObject.wtViewport.oversizedRows[e];return void 0!==o&&(t=void 0===t?o:Math.max(t,o)),t}getHeightByOverlayName(e,t){let o=this.wtSettings.getSetting("rowHeightByOverlayName",e,t);const r=this.dataAccessObject.wtViewport.oversizedRows[e];return void 0!==r&&(o=void 0===o?r:Math.max(o,r)),o}}},96063(e,t,o){"use strict";t.__esModule=!0;var r=o(23876),n=o(38888),i=o(1722);t.default=class{constructor(e,t,o,r,n){this.dataAccessObject=e,this.wot=e.wot,this.instance=this.wot,this.domBindings=t,this.wtSettings=o,this.wtTable=n,this.oversizedRows=[],this.oversizedColumnHeaders=[],this.hasOversizedColumnHeadersMarked={},this.clientHeight=0,this.rowHeaderWidth=NaN,this.rowsVisibleCalculator=null,this.columnsVisibleCalculator=null,this.rowsCalculatorTypes=new Map([["rendered",()=>this.wtSettings.getSetting("renderAllRows")?new i.RenderedAllRowsCalculationType:new i.RenderedRowsCalculationType],["fullyVisible",()=>new i.FullyVisibleRowsCalculationType],["partiallyVisible",()=>new i.PartiallyVisibleRowsCalculationType]]),this.columnsCalculatorTypes=new Map([["rendered",()=>this.wtSettings.getSetting("renderAllColumns")?new i.RenderedAllColumnsCalculationType:new i.RenderedColumnsCalculationType],["fullyVisible",()=>new i.FullyVisibleColumnsCalculationType],["partiallyVisible",()=>new i.PartiallyVisibleColumnsCalculationType]]),this.eventManager=r,this.eventManager.addEventListener(this.domBindings.rootWindow,"resize",()=>{this.clientHeight=this.getWorkspaceHeight()})}getWorkspaceHeight(){const e=this.domBindings.rootDocument,t=this.dataAccessObject.topOverlayTrimmingContainer;let o=0;if(t===this.domBindings.rootWindow)o=e.documentElement.clientHeight;else{o=(0,r.outerHeight)(t)>0&&t.clientHeight>0?t.clientHeight:1/0}return o}getViewportHeight(){let e=this.getWorkspaceHeight();if(e===1/0)return e;const t=this.getColumnHeaderHeight();return t>0&&(e-=t),e}getWorkspaceWidth(){const{rootDocument:e,rootWindow:t}=this.domBindings,o=this.dataAccessObject.inlineStartOverlayTrimmingContainer;let r;if(o===t){const t=this.wtSettings.getSetting("totalColumns");r=this.wtTable.holder.offsetWidth,this.getRowHeaderWidth()+this.sumColumnWidths(0,t)>r&&(r=e.documentElement.clientWidth)}else r=o.clientWidth;return r}getViewportWidth(){const e=this.getWorkspaceWidth();if(e===1/0)return e;const t=this.getRowHeaderWidth();return t>0?e-t:e}hasVerticalScroll(){if(this.isVerticallyScrollableByWindow()){const e=this.domBindings.rootDocument.documentElement;return e.scrollHeight>e.clientHeight}const{holder:e,hider:t}=this.wtTable,o=e.clientHeight,r=t.offsetHeight;return o<r||r>this.getWorkspaceHeight()}hasHorizontalScroll(){if(this.isVerticallyScrollableByWindow()){const e=this.domBindings.rootDocument.documentElement;return e.scrollWidth>e.clientWidth}const{hider:e}=this.wtTable,t=e.offsetWidth,o=this.hasVerticalScroll()?(0,r.getScrollbarWidth)():0;return t>this.getWorkspaceWidth()-o}isVerticallyScrollableByWindow(){return this.dataAccessObject.topOverlayTrimmingContainer===this.domBindings.rootWindow}isHorizontallyScrollableByWindow(){return this.dataAccessObject.inlineStartOverlayTrimmingContainer===this.domBindings.rootWindow}sumColumnWidths(e,t){let o=0,r=e;for(;r<t;)o+=this.wtTable.getColumnWidth(r),r+=1;return o}getWorkspaceOffset(){return(0,r.offset)(this.wtTable.holder)}getColumnHeaderHeight(){return this.wtSettings.getSetting("columnHeaders").length?isNaN(this.columnHeaderHeight)&&(this.columnHeaderHeight=(0,r.outerHeight)(this.wtTable.THEAD)):this.columnHeaderHeight=0,this.columnHeaderHeight}getRowHeaderWidth(){const e=this.wtSettings.getSetting("rowHeaderWidth"),t=this.wtSettings.getSetting("rowHeaders");if(e){this.rowHeaderWidth=0;for(let o=0,r=t.length;o<r;o++)this.rowHeaderWidth+=e[o]||e}if(isNaN(this.rowHeaderWidth))if(t.length){let e=this.wtTable.TABLE.querySelector("TH");this.rowHeaderWidth=0;for(let o=0,n=t.length;o<n;o++)e?(this.rowHeaderWidth+=(0,r.outerWidth)(e),e=e.nextSibling):this.rowHeaderWidth+=50}else this.rowHeaderWidth=0;return this.rowHeaderWidth=this.wtSettings.getSetting("onModifyRowHeaderWidth",this.rowHeaderWidth)||this.rowHeaderWidth,this.rowHeaderWidth}createRowsCalculator(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["rendered","fullyVisible","partiallyVisible"];const{wtSettings:t,wtTable:o}=this;let n,s,a=this.getViewportHeight();this.rowHeaderWidth=NaN;let l=this.dataAccessObject.topScrollPosition-this.dataAccessObject.topParentOffset;const h=t.getSetting("fixedRowsTop"),d=t.getSetting("fixedRowsBottom"),c=t.getSetting("totalRows");return h&&l>=0&&(s=this.dataAccessObject.topOverlay.sumCellSizes(0,h),l+=s,a-=s),d&&this.dataAccessObject.bottomOverlay.clone&&(s=this.dataAccessObject.bottomOverlay.sumCellSizes(c-d,c),a-=s),n=o.holder.clientHeight===o.holder.offsetHeight?0:(0,r.getScrollbarWidth)(this.domBindings.rootDocument),new i.ViewportRowsCalculator({calculationTypes:e.map(e=>[e,this.rowsCalculatorTypes.get(e)()]),viewportHeight:a,scrollOffset:l,totalRows:t.getSetting("totalRows"),defaultRowHeight:t.getSetting("stylesHandler").getDefaultRowHeight(),rowHeightFn:e=>o.getRowHeight(e),overrideFn:t.getSettingPure("viewportRowCalculatorOverride"),horizontalScrollbarHeight:n})}createColumnsCalculator(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["rendered","fullyVisible","partiallyVisible"];const{wtSettings:t,wtTable:o}=this;let n=this.getViewportWidth(),s=Math.abs(this.dataAccessObject.inlineStartScrollPosition)-this.dataAccessObject.inlineStartParentOffset;this.columnHeaderHeight=NaN;const a=t.getSetting("fixedColumnsStart");if(a&&s>=0){const e=this.dataAccessObject.inlineStartOverlay.sumCellSizes(0,a);s+=e,n-=e}return o.holder.clientWidth!==o.holder.offsetWidth&&(n-=(0,r.getScrollbarWidth)(this.domBindings.rootDocument)),new i.ViewportColumnsCalculator({calculationTypes:e.map(e=>[e,this.columnsCalculatorTypes.get(e)()]),viewportWidth:n,scrollOffset:s,totalColumns:t.getSetting("totalColumns"),columnWidthFn:e=>o.getColumnWidth(e),overrideFn:t.getSettingPure("viewportColumnCalculatorOverride"),inlineStartOffset:this.dataAccessObject.inlineStartParentOffset})}createCalculators(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const{wtSettings:t}=this,o=this.createRowsCalculator(),r=this.createColumnsCalculator();if(e&&!t.getSetting("renderAllRows")){const t=o.getResultsFor("fullyVisible"),r=o.getResultsFor("partiallyVisible");e=this.areAllProposedVisibleRowsAlreadyRendered(t,r)}if(e&&!t.getSetting("renderAllColumns")){const t=r.getResultsFor("fullyVisible"),o=r.getResultsFor("partiallyVisible");e=this.areAllProposedVisibleColumnsAlreadyRendered(t,o)}return e||(this.rowsRenderCalculator=o.getResultsFor("rendered"),this.columnsRenderCalculator=r.getResultsFor("rendered")),this.rowsVisibleCalculator=o.getResultsFor("fullyVisible"),this.columnsVisibleCalculator=r.getResultsFor("fullyVisible"),this.rowsPartiallyVisibleCalculator=o.getResultsFor("partiallyVisible"),this.columnsPartiallyVisibleCalculator=r.getResultsFor("partiallyVisible"),e}createVisibleCalculators(){const e=this.createRowsCalculator(["fullyVisible","partiallyVisible"]),t=this.createColumnsCalculator(["fullyVisible","partiallyVisible"]);this.rowsVisibleCalculator=e.getResultsFor("fullyVisible"),this.columnsVisibleCalculator=t.getResultsFor("fullyVisible"),this.rowsPartiallyVisibleCalculator=e.getResultsFor("partiallyVisible"),this.columnsPartiallyVisibleCalculator=t.getResultsFor("partiallyVisible")}areAllProposedVisibleRowsAlreadyRendered(e,t){if(!this.rowsVisibleCalculator)return!1;let{startRow:o,endRow:r}=e;const{startRow:n,endRow:i}=t;if(null===o&&null===r){if(!e.isVisibleInTrimmingContainer&&!this.wtTable.isRowBeforeRenderedRows(n)&&!this.wtTable.isRowAfterRenderedRows(i))return!0;o=n,r=i}const{startRow:s,endRow:a,rowStartOffset:l,rowEndOffset:h}=this.rowsRenderCalculator,d=this.wtSettings.getSetting("totalRows")-1,c=this.wtSettings.getSetting("viewportRowRenderingThreshold");return Number.isInteger(c)&&c>0?(o=Math.max(0,o-Math.min(l,c)),r=Math.min(d,r+Math.min(h,c))):"auto"===c&&(o=Math.max(0,o-Math.ceil(l/2)),r=Math.min(d,r+Math.ceil(h/2))),!(o<s||o===s&&o>0)&&!(r>a||r===a&&r<d)}areAllProposedVisibleColumnsAlreadyRendered(e,t){if(!this.columnsVisibleCalculator)return!1;let{startColumn:o,endColumn:r}=e;const{startColumn:n,endColumn:i}=t;if(null===o&&null===r){if(!e.isVisibleInTrimmingContainer&&!this.wtTable.isColumnBeforeRenderedColumns(n)&&!this.wtTable.isColumnAfterRenderedColumns(i))return!0;o=n,r=i}const{startColumn:s,endColumn:a,columnStartOffset:l,columnEndOffset:h}=this.columnsRenderCalculator,d=this.wtSettings.getSetting("totalColumns")-1,c=this.wtSettings.getSetting("viewportColumnRenderingThreshold");return Number.isInteger(c)&&c>0?(o=Math.max(0,o-Math.min(l,c)),r=Math.min(d,r+Math.min(h,c))):"auto"===c&&(o=Math.max(0,o-Math.ceil(l/2)),r=Math.min(d,r+Math.ceil(h/2))),!(o<s||o===s&&o>0)&&!(r>a||r===a&&r<d)}resetHasOversizedColumnHeadersMarked(){(0,n.objectEach)(this.hasOversizedColumnHeadersMarked,(e,t,o)=>{o[t]=void 0})}}},59824(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(67610)),i=o(64428),s=o(25136),a=o(30326),l=o(67795),h=o(3868),d=o(40647),c=o(18225),u=o(83947),g=o(68597),p=o(75269);t.CellCoords=p.CellCoords,t.CellRange=p.CellRange;var f=o(54917);function m(e,t){const o=new n.default(e,t||{},i.rootInstanceSymbol);return o.init(),o}(0,h.registerCellType)(u.TextCellType),(0,d.registerRenderer)(c.baseRenderer),m.editors={BaseEditor:g.BaseEditor},m.Core=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new n.default(e,t,i.rootInstanceSymbol)},m.DefaultSettings=(0,s.metaSchemaFactory)(),m.hooks=a.Hooks.getSingleton(),m.CellCoords=p.CellCoords,m.CellRange=p.CellRange,m.packageName="handsontable",m.buildDate="05/03/2026 11:36:23",m.version="17.0.0-rc15",m.languages={dictionaryKeys:l.dictionaryKeys,getLanguageDictionary:l.getLanguageDictionary,getLanguagesDictionaries:l.getLanguagesDictionaries,registerLanguageDictionary:l.registerLanguageDictionary,getTranslatedPhrase:l.getTranslatedPhrase},m.themes={hasTheme:f.hasTheme,getTheme:f.getTheme,getThemeNames:f.getThemeNames,getThemes:f.getThemes,registerTheme:f.registerTheme};t.default=m},58971(e,t,o){"use strict";t.__esModule=!0;var r=o(27641);t.valueGetter=r.valueGetter;var n=o(60309);t.valueSetter=n.valueSetter},27641(e,t,o){"use strict";t.__esModule=!0,t.valueGetter=function(e){return(0,r.isObject)(e)&&void 0!==e.value?e.value:e};var r=o(38888)},60309(e,t,o){"use strict";t.__esModule=!0,t.valueSetter=function(e,t,o){const n=this.getSourceDataAtCell(this.toPhysicalRow(t),this.toPhysicalColumn(o));if((0,r.isKeyValueObject)(n))return(0,r.isKeyValueObject)(e)?e:{key:e,value:e};return e};var r=o(38888)},35578(e,t,o){"use strict";t.__esModule=!0;var r=o(31956),n=o(21828),i=o(96068),s=o(58971);const a=t.CELL_TYPE="autocomplete";t.AutocompleteCellType={CELL_TYPE:a,editor:r.AutocompleteEditor,renderer:n.autocompleteRenderer,validator:i.autocompleteValidator,valueGetter:s.valueGetter,valueSetter:s.valueSetter,parsePastedValue:!0}},46980(e,t,o){"use strict";t.__esModule=!0;var r=o(35578);t.AutocompleteCellType=r.AutocompleteCellType,t.CELL_TYPE=r.CELL_TYPE},15082(e,t,o){"use strict";t.__esModule=!0;var r=o(67920);t.valueSetter=r.valueSetter},67920(e,t,o){"use strict";t.__esModule=!0,t.valueSetter=function(e,t,o){const{checkedTemplate:n,uncheckedTemplate:i}=this.getCellMeta(t,o),s=(0,r.stringify)(e),a=s===(0,r.stringify)(n),l=s===(0,r.stringify)(i);if(a||l)return a?n:i;return e};var r=o(79416)},77108(e,t,o){"use strict";t.__esModule=!0;var r=o(88693),n=o(91013),i=o(15082);const s=t.CELL_TYPE="checkbox";t.CheckboxCellType={CELL_TYPE:s,editor:r.CheckboxEditor,renderer:n.checkboxRenderer,valueSetter:i.valueSetter}},22033(e,t,o){"use strict";t.__esModule=!0;var r=o(77108);t.CELL_TYPE=r.CELL_TYPE,t.CheckboxCellType=r.CheckboxCellType},10750(e,t,o){"use strict";t.__esModule=!0;var r=o(96360),n=o(89900),i=o(88216);const s=t.CELL_TYPE="date";t.DateCellType={CELL_TYPE:s,editor:r.DateEditor,renderer:n.dateRenderer,validator:i.dateValidator}},12004(e,t,o){"use strict";t.__esModule=!0;var r=o(10750);t.CELL_TYPE=r.CELL_TYPE,t.DateCellType=r.DateCellType},68310(e,t,o){"use strict";t.__esModule=!0;var r=o(32272);t.valueGetter=r.valueGetter;var n=o(68340);t.valueSetter=n.valueSetter},32272(e,t,o){"use strict";t.__esModule=!0,t.valueGetter=function(e){return r.valueGetter.call(this,e)};var r=o(58971)},68340(e,t,o){"use strict";t.__esModule=!0,t.valueSetter=function(e,t,o,n){return r.valueSetter.call(this,e,t,o,n)};var r=o(58971)},17236(e,t,o){"use strict";t.__esModule=!0;var r=o(64661),n=o(69797),i=o(6567),s=o(68310);const a=t.CELL_TYPE="dropdown";t.DropdownCellType={CELL_TYPE:a,editor:r.DropdownEditor,renderer:n.dropdownRenderer,validator:i.dropdownValidator,filter:!1,strict:!0,valueGetter:s.valueGetter,valueSetter:s.valueSetter,parsePastedValue:!0}},51493(e,t,o){"use strict";t.__esModule=!0;var r=o(17236);t.CELL_TYPE=r.CELL_TYPE,t.DropdownCellType=r.DropdownCellType},69188(e,t,o){"use strict";t.__esModule=!0;var r=o(20101),n=o(72093);const i=t.CELL_TYPE="handsontable";t.HandsontableCellType={CELL_TYPE:i,editor:r.HandsontableEditor,renderer:n.handsontableRenderer}},49129(e,t,o){"use strict";t.__esModule=!0;var r=o(69188);t.CELL_TYPE=r.CELL_TYPE,t.HandsontableCellType=r.HandsontableCellType},42435(e,t,o){"use strict";t.__esModule=!0,t.registerAllCellTypes=function(){(0,m.registerCellType)(r.AutocompleteCellType),(0,m.registerCellType)(n.CheckboxCellType),(0,m.registerCellType)(i.DateCellType),(0,m.registerCellType)(s.DropdownCellType),(0,m.registerCellType)(a.HandsontableCellType),(0,m.registerCellType)(l.IntlDateCellType),(0,m.registerCellType)(h.IntlTimeCellType),(0,m.registerCellType)(d.MultiSelectCellType),(0,m.registerCellType)(c.NumericCellType),(0,m.registerCellType)(u.PasswordCellType),(0,m.registerCellType)(g.SelectCellType),(0,m.registerCellType)(p.TextCellType),(0,m.registerCellType)(f.TimeCellType)};var r=o(46980);t.AutocompleteCellType=r.AutocompleteCellType,t.AUTOCOMPLETE_TYPE=r.CELL_TYPE;var n=o(22033);t.CheckboxCellType=n.CheckboxCellType,t.CHECKBOX_TYPE=n.CELL_TYPE;var i=o(12004);t.DateCellType=i.DateCellType,t.DATE_TYPE=i.CELL_TYPE;var s=o(51493);t.DropdownCellType=s.DropdownCellType,t.DROPDOWN_TYPE=s.CELL_TYPE;var a=o(49129);t.HandsontableCellType=a.HandsontableCellType,t.HANDSONTABLE_TYPE=a.CELL_TYPE;var l=o(91319);t.IntlDateCellType=l.IntlDateCellType,t.INTL_DATE_TYPE=l.CELL_TYPE;var h=o(97930);t.IntlTimeCellType=h.IntlTimeCellType,t.INTL_TIME_TYPE=h.CELL_TYPE;var d=o(68285);t.MultiSelectCellType=d.MultiSelectCellType,t.MULTISELECT_TYPE=d.CELL_TYPE;var c=o(51575);t.NumericCellType=c.NumericCellType,t.NUMERIC_TYPE=c.CELL_TYPE;var u=o(94913);t.PasswordCellType=u.PasswordCellType,t.PASSWORD_TYPE=u.CELL_TYPE;var g=o(73096);t.SelectCellType=g.SelectCellType,t.SELECT_TYPE=g.CELL_TYPE;var p=o(83947);t.TextCellType=p.TextCellType,t.TEXT_TYPE=p.CELL_TYPE;var f=o(4497);t.TimeCellType=f.TimeCellType,t.TIME_TYPE=f.CELL_TYPE;var m=o(3868);t.registerCellType=m.registerCellType,t.getCellType=m.getCellType,t.getRegisteredCellTypeNames=m.getRegisteredCellTypeNames,t.getRegisteredCellTypes=m.getRegisteredCellTypes,t.hasCellType=m.hasCellType},91319(e,t,o){"use strict";t.__esModule=!0;var r=o(52420);t.CELL_TYPE=r.CELL_TYPE,t.IntlDateCellType=r.IntlDateCellType},52420(e,t,o){"use strict";t.__esModule=!0;var r=o(55227),n=o(7339),i=o(94961);const s=t.CELL_TYPE="intl-date";t.IntlDateCellType={CELL_TYPE:s,editor:r.IntlDateEditor,renderer:n.intlDateRenderer,validator:i.intlDateValidator,sourceDataValidator:i.sourceDataValidator,sourceDataWarningMessage:i.SOURCE_DATA_WARNING_MESSAGE,valueFormatter:n.valueFormatter}},97930(e,t,o){"use strict";t.__esModule=!0;var r=o(25602);t.CELL_TYPE=r.CELL_TYPE,t.IntlTimeCellType=r.IntlTimeCellType},25602(e,t,o){"use strict";t.__esModule=!0;var r=o(71450),n=o(35154),i=o(83418);const s=t.CELL_TYPE="intl-time";t.IntlTimeCellType={CELL_TYPE:s,editor:r.IntlTimeEditor,renderer:n.intlTimeRenderer,validator:i.intlTimeValidator,sourceDataValidator:i.sourceDataValidator,sourceDataWarningMessage:i.SOURCE_DATA_WARNING_MESSAGE,valueFormatter:n.valueFormatter}},25198(e,t,o){"use strict";t.__esModule=!0;var r=o(98824);t.valueGetter=r.valueGetter;var n=o(5324);t.valueSetter=n.valueSetter},98824(e,t,o){"use strict";t.__esModule=!0,t.valueGetter=function(e){if(Array.isArray(e))return(0,n.arrayToString)(e.map(e=>(0,r.isKeyValueObject)(e)?e.value:e),", ");return e};var r=o(38888),n=o(6578)},5324(e,t,o){"use strict";t.__esModule=!0,t.valueSetter=function(e,t,o){if(Array.isArray(e)){const n=this.getSourceDataAtCell(this.toPhysicalRow(t),o);if(Array.isArray(n)&&n.length>0&&(0,r.isKeyValueObject)(n[0]))return e.map(e=>(0,r.isKeyValueObject)(e)?e:{key:e,value:e})}return e};var r=o(38888)},68285(e,t,o){"use strict";t.__esModule=!0;var r=o(6972);t.CELL_TYPE=r.CELL_TYPE,t.MultiSelectCellType=r.MultiSelectCellType},6972(e,t,o){"use strict";t.__esModule=!0;var r=o(55907),n=o(3299),i=o(21975),s=o(25198);const a=t.CELL_TYPE="multiselect";t.MultiSelectCellType={CELL_TYPE:a,_complexDataFormat:!0,editor:r.MultiSelectEditor,renderer:n.multiSelectRenderer,validator:i.multiSelectValidator,valueGetter:s.valueGetter,valueSetter:s.valueSetter,parsePastedValue:!0}},18984(e,t,o){"use strict";t.__esModule=!0;var r=o(65822);t.valueSetter=r.valueSetter},65822(e,t,o){"use strict";t.__esModule=!0,t.valueSetter=function(e){if("string"==typeof e&&(0,r.isNumericLike)(e)){const t=(0,r.getParsedNumber)(e);return(0,n.isNullish)(t)?e:t}return e};var r=o(94366),n=o(61574)},51575(e,t,o){"use strict";t.__esModule=!0;var r=o(65404);t.CELL_TYPE=r.CELL_TYPE,t.NumericCellType=r.NumericCellType},65404(e,t,o){"use strict";t.__esModule=!0;var r=o(7269),n=o(49937),i=o(28253),s=o(18984);const a=t.CELL_TYPE="numeric";t.NumericCellType={CELL_TYPE:a,editor:r.NumericEditor,renderer:n.numericRenderer,validator:i.numericValidator,dataType:"number",valueSetter:s.valueSetter,valueFormatter:n.valueFormatter}},94913(e,t,o){"use strict";t.__esModule=!0;var r=o(72140);t.CELL_TYPE=r.CELL_TYPE,t.PasswordCellType=r.PasswordCellType},72140(e,t,o){"use strict";t.__esModule=!0;var r=o(7701),n=o(14501);const i=t.CELL_TYPE="password";t.PasswordCellType={CELL_TYPE:i,editor:r.PasswordEditor,renderer:n.passwordRenderer,copyable:!1}},3868(e,t,o){"use strict";t.__esModule=!0,t.getCellType=function(e){d(e)||(0,n.throwWithCause)(`You declared cell type "${e}" as a string that is not mapped to a known object.\n Cell type must be an object or a string mapped to an object registered by\n "Handsontable.cellTypes.registerCellType" method`);return h(e)},t.registerCellType=function(e,t){"string"!=typeof e&&(e=(t=e).CELL_TYPE);const{editor:o,renderer:r,validator:n}=t;o&&(0,i.registerEditor)(e,o);r&&(0,s.registerRenderer)(e,r);n&&(0,a.registerValidator)(e,n);l(e,t)};var r=o(36016),n=o(26032),i=o(95669),s=o(40647),a=o(7182);const{register:l,getItem:h,hasItem:d,getNames:c,getValues:u}=(0,r.staticRegister)("cellTypes");t.getRegisteredCellTypes=u,t.getRegisteredCellTypeNames=c,t.hasCellType=d},73096(e,t,o){"use strict";t.__esModule=!0;var r=o(44126);t.CELL_TYPE=r.CELL_TYPE,t.SelectCellType=r.SelectCellType},44126(e,t,o){"use strict";t.__esModule=!0;var r=o(60980),n=o(62280);const i=t.CELL_TYPE="select";t.SelectCellType={CELL_TYPE:i,editor:r.SelectEditor,renderer:n.selectRenderer}},83947(e,t,o){"use strict";t.__esModule=!0;var r=o(92);t.CELL_TYPE=r.CELL_TYPE,t.TextCellType=r.TextCellType},92(e,t,o){"use strict";t.__esModule=!0;var r=o(27567),n=o(90523);const i=t.CELL_TYPE="text";t.TextCellType={CELL_TYPE:i,editor:r.TextEditor,renderer:n.textRenderer}},4497(e,t,o){"use strict";t.__esModule=!0;var r=o(6968);t.CELL_TYPE=r.CELL_TYPE,t.TimeCellType=r.TimeCellType},6968(e,t,o){"use strict";t.__esModule=!0;var r=o(12313),n=o(2205),i=o(96775);const s=t.CELL_TYPE="time";t.TimeCellType={CELL_TYPE:s,editor:r.TimeEditor,renderer:n.timeRenderer,validator:i.timeValidator}},67610(e,t,o){"use strict";var r=o(62682);t.__esModule=!0,t.default=function(e,t){var o,r,Y=this;let j=arguments.length>2&&void 0!==arguments[2]&&arguments[2],G=this;const $=new h.default(G);let K,X,q,Z,Q,J,ee=!0;const te={...t.initialState,...t};(0,E.hasValidParameter)(j)&&(0,E.registerAsRootInstance)(this);this.rootContainer=e,this.rootWrapperElement=void 0,this.rootGridElement=void 0,this.rootPortalElement=void 0,this.rootElement=(0,E.isRootInstance)(this)?e.ownerDocument.createElement("div"):e,this.rootDocument=e.ownerDocument,this.rootWindow=this.rootDocument.defaultView,(0,E.isRootInstance)(this)&&(this.rootWrapperElement=this.rootDocument.createElement("div"),this.rootGridElement=this.rootDocument.createElement("div"),this.rootPortalElement=this.rootDocument.createElement("div"),(0,n.addClass)(this.rootElement,["ht-wrapper","handsontable"]),(0,n.addClass)(this.rootWrapperElement,"ht-root-wrapper"),(0,n.addClass)(this.rootGridElement,"ht-grid"),this.rootGridElement.appendChild(this.rootElement),this.rootWrapperElement.appendChild(this.rootGridElement),this.rootContainer.appendChild(this.rootWrapperElement),(0,n.addClass)(this.rootPortalElement,"ht-portal"),this.rootDocument.body.appendChild(this.rootPortalElement));this.isDestroyed=!1,this.renderSuspendedCounter=0,this.executionSuspendedCounter=0;const oe=null!==(o=null==te?void 0:te.layoutDirection)&&void 0!==o?o:"inherit",re=["rtl","ltr"].includes(oe)?oe:this.rootWindow.getComputedStyle(this.rootElement).direction;this.rootElement.setAttribute("dir",re),null===(r=this.rootWrapperElement)||void 0===r||r.setAttribute("dir",re),this.isRtl=function(){return"rtl"===re},this.isLtr=function(){return!G.isRtl()},this.getDirectionFactor=function(){return G.isLtr()?1:-1},this.stylesHandler=new P.StylesHandler({hot:G,rootElement:G.rootElement,rootDocument:G.rootDocument,onThemeChange:e=>{(0,E.isRootInstance)(this)&&((0,n.removeClass)(this.rootWrapperElement,/ht-theme-.*/g),(0,n.removeClass)(this.rootPortalElement,/ht-theme-.*/g),e&&((0,n.addClass)(this.rootWrapperElement,e),(0,n.addClass)(this.rootPortalElement,e),getComputedStyle(this.rootWrapperElement).getPropertyValue("--ht-line-height")||(0,D.warn)(`The "${e}" theme is enabled, but its stylesheets are missing or not imported correctly. Import the correct CSS files in order to use that theme.`)))},injectCoreCss:"boolean"!=typeof(null==t?void 0:t.injectCoreCss)||t.injectCoreCss}),this.themeManager=null,te.language=(0,R.getValidLanguageCode)(te.language);const ne=Object.fromEntries(Object.entries(te).filter(e=>{let[t]=e;return!(k.Hooks.getSingleton().isRegistered(t)||k.Hooks.getSingleton().isDeprecated(t))})),ie=new I.MetaManager(G,ne,[I.DynamicCellMetaMod,I.ExtendMetaPropertiesMod]),se=ie.getTableMeta(),ae=ie.getGlobalMeta(),le=(0,A.createUniqueMap)();this.container=this.rootDocument.createElement("div"),this.rootElement.insertBefore(this.container,this.rootElement.firstChild),this.guid=`ht_${(0,w.randomString)()}`,U.set(this.guid,this),this.columnIndexMapper=new S.IndexMapper,this.rowIndexMapper=new S.IndexMapper,this.columnIndexMapper.addLocalHook("indexesSequenceChange",e=>{G.runHooks("afterColumnSequenceChange",e)}),this.rowIndexMapper.addLocalHook("indexesSequenceChange",e=>{G.runHooks("afterRowSequenceChange",e)}),$.addEventListener(this.rootDocument.documentElement,"compositionstart",e=>{G.runHooks("beforeCompositionStart",e)}),X=new I.DataSource(G);const he=(0,g.staticRegister)(this.guid);he.register("cellRangeMapper",new k.CellRangeToRenderableMapper({rowIndexMapper:this.rowIndexMapper,columnIndexMapper:this.columnIndexMapper})),this.rootElement.id&&"ht_"!==this.rootElement.id.substring(0,3)||(this.rootElement.id=this.guid);let de=new M.Selection(se,{rowIndexMapper:G.rowIndexMapper,columnIndexMapper:G.columnIndexMapper,countCols:()=>G.countCols(),countRows:()=>G.countRows(),propToCol:e=>K.propToCol(e),isEditorOpened:()=>!!G.getActiveEditor()&&G.getActiveEditor().isOpened(),countRenderableColumns:()=>this.view.countRenderableColumns(),countRenderableRows:()=>this.view.countRenderableRows(),countRowHeaders:()=>this.countRowHeaders(),countColHeaders:()=>this.countColHeaders(),countRenderableRowsInRange:function(){return Y.view.countRenderableRowsInRange(...arguments)},countRenderableColumnsInRange:function(){return Y.view.countRenderableColumnsInRange(...arguments)},getShortcutManager:()=>G.getShortcutManager(),createCellCoords:(e,t)=>G._createCellCoords(e,t),createCellRange:(e,t,o)=>G._createCellRange(e,t,o),visualToRenderableCoords:e=>{const{row:t,col:o}=e;return G._createCellCoords(t>=0?G.rowIndexMapper.getRenderableFromVisualIndex(t):t,o>=0?G.columnIndexMapper.getRenderableFromVisualIndex(o):o)},renderableToVisualCoords:e=>{const{row:t,col:o}=e;return G._createCellCoords(t>=0?G.rowIndexMapper.getVisualFromRenderableIndex(t):t,o>=0?G.columnIndexMapper.getVisualFromRenderableIndex(o):o)},findFirstNonHiddenRenderableRow:(e,t)=>{const o=t>e?1:-1,r=Math.min(e,t),n=Math.max(e,t),i=G.rowIndexMapper.getNearestNotHiddenIndex(e,o);return null===i||1===o&&i>n||-1===o&&i<r?null:i>=0?G.rowIndexMapper.getRenderableFromVisualIndex(i):i},findFirstNonHiddenRenderableColumn:(e,t)=>{const o=t>e?1:-1,r=Math.min(e,t),n=Math.max(e,t),i=G.columnIndexMapper.getNearestNotHiddenIndex(e,o);return null===i||1===o&&i>n||-1===o&&i<r?null:i>=0?G.columnIndexMapper.getRenderableFromVisualIndex(i):i},isDisabledCellSelection:(e,t)=>e<0||t<0?G.getSettings().disableVisualSelection:G.getCellMeta(e,t).disableVisualSelection});this.selection=de;const ce=e=>{let{hiddenIndexesChanged:t}=e;this.forceFullRender=!0,t&&this.selection.commit()};function ue(e,t){const o="className"===e?G.rootElement:G.table;if(ee)(0,n.addClass)(o,t);else{let r=[],i=[];ae[e]&&(r=Array.isArray(ae[e])?ae[e]:(0,c.stringToArray)(ae[e])),t&&(i=Array.isArray(t)?t:(0,c.stringToArray)(t));const s=(0,c.getDifferenceOfArrays)(r,i),a=(0,c.getDifferenceOfArrays)(i,r);s.length&&(0,n.removeClass)(o,s),a.length&&(0,n.addClass)(o,a)}ae[e]=t}function ge(e){let t;void 0===e?(t=(0,W.hasTheme)("main")?(0,W.getTheme)("main"):(0,W.registerTheme)(W.mainTheme),t=(0,W.getTheme)("main")):t="function"!=typeof e.getThemeConfig?(0,W.registerTheme)(e):e,G.themeManager=(0,V.createThemeManager)({hot:G,themeObject:t})}function pe(){let e=!1;return{validatorsInQueue:0,valid:!0,addValidatorToQueue(){this.validatorsInQueue+=1,e=!1},removeValidatorFormQueue(){this.validatorsInQueue=this.validatorsInQueue-1<0?0:this.validatorsInQueue-1,this.checkIfQueueIsEmpty()},onQueueEmpty(){},checkIfQueueIsEmpty(){0===this.validatorsInQueue&&!1===e&&(e=!0,this.onQueueEmpty(this.valid))}}}function fe(e,t,o){if(!e.length)return void o();const r=G.getActiveEditor(),n=new pe;let i=!0;n.onQueueEmpty=()=>{r&&i&&r._closeAfterDataChange&&r.cancelChanges(),o()};for(let o=e.length-1;o>=0;o--){const[r,s,,a]=e[o],l=K.propToCol(s);let h;h=Number.isInteger(l)?G.getCellMeta(r,l):{...Object.getPrototypeOf(se),...se},G.getCellValidator(h)&&(n.addValidatorToQueue(),G.validateCell(a,h,function(t,o){return function(r){"boolean"!=typeof r&&(0,L.throwWithCause)("Validation error: result is not boolean"),!1===r&&!1===o.allowInvalid&&(i=!1,e.splice(t,1),o.valid=!0),n.removeValidatorFormQueue()}}(o,h),t))}n.checkIfQueueIsEmpty()}function me(e,t){for(let t=e.length-1;t>=0;t--){let o=!1;if(null!==e[t]){if(null!==e[t][2]&&void 0!==e[t][2]||null!==e[t][3]&&void 0!==e[t][3]){if(se.allowInsertRow)for(;e[t][0]>G.countRows()-1;){const{delta:e}=K.createRow(void 0,void 0,{source:"auto"});if(0===e){o=!0;break}}if("array"===G.dataType&&(!se.columns||0===se.columns.length)&&se.allowInsertColumn)for(;K.propToCol(e[t][1])>G.countCols()-1;){const{delta:e}=K.createCol(void 0,void 0,{source:"auto"});if(0===e){o=!0;break}}o||K.set(e[t][0],e[t][1],e[t][3])}}else e.splice(t,1)}const o=e.length>0,r=Z.getActiveEditor(),n=null==r?void 0:r._closeAfterDataChange;o?(q.adjustRowsAndCols(),G.runHooks("beforeChangeRender",e,t),null!=r&&r.isOpened()&&n&&Z.closeEditor(),G.view.adjustElementsSize(),G.render(),(null!=r&&r.isOpened()&&n||null==r||!r.isOpened())&&Z.prepareEditor(),G.runHooks("afterChange",e,t||"edit"),r&&(0,s.isDefined)(r.refreshValue)&&r.refreshValue()):G.render()}function Ce(e,t,o){return Array.isArray(e)?e:[[e,t,o]]}function we(e,t){const o=G.runHooks("beforeChange",e,t||"edit"),r=e.filter(e=>null!==e);var n;if(!1===o||0===r.length)return null===(n=G.getActiveEditor())||void 0===n||n.cancelChanges(),[];for(let e=r.length-1;e>=0;e--){const[t,o,,n]=r[e],i=K.propToCol(o);let s;s=Number.isInteger(i)?G.getCellMeta(t,i):{...Object.getPrototypeOf(se),...se},r[e][3]=(0,F.getValueSetterValue)(n,s)}return r}this.columnIndexMapper.addLocalHook("cacheUpdated",e=>{ce(e),this.runHooks("afterColumnSequenceCacheUpdate",e)}),this.rowIndexMapper.addLocalHook("cacheUpdated",e=>{ce(e),this.runHooks("afterRowSequenceCacheUpdate",e)}),this.selection.addLocalHook("afterSetRangeEnd",(e,t)=>{const o=(0,d.createObjectPropListener)(!1),r=this.selection.getSelectedRange(),{from:i,to:s}=r.current(),a=r.size()-1;this.runHooks("afterSelection",i.row,i.col,s.row,s.col,o,a),this.runHooks("afterSelectionByProp",i.row,G.colToProp(i.col),s.row,G.colToProp(s.col),o,a);const l=de.getSelectionSource();!t||["loadData","updateData"].includes(l)||o.isTouched()&&(!o.isTouched()||o.value)||J.scrollTo(e);const h=de.isSelectedByRowHeader(),c=de.isSelectedByColumnHeader();h&&c?(0,n.addClass)(this.rootElement,["ht__selection--rows","ht__selection--columns"]):h?((0,n.removeClass)(this.rootElement,"ht__selection--columns"),(0,n.addClass)(this.rootElement,"ht__selection--rows")):c?((0,n.removeClass)(this.rootElement,"ht__selection--rows"),(0,n.addClass)(this.rootElement,"ht__selection--columns")):(0,n.removeClass)(this.rootElement,["ht__selection--rows","ht__selection--columns"]),["shift","refresh","loadData","updateData"].includes(l)||Z.closeEditor(null),["refresh","loadData","updateData"].includes(l)||(G.view.render(),Z.prepareEditor())}),this.selection.addLocalHook("beforeSetFocus",e=>{this.runHooks("beforeSelectionFocusSet",e.row,e.col)}),this.selection.addLocalHook("afterSetFocus",e=>{const t=(0,d.createObjectPropListener)(!1);this.runHooks("afterSelectionFocusSet",e.row,e.col,t),(!t.isTouched()||t.isTouched()&&!t.value)&&J.scrollTo(e),Z.closeEditor(),G.view.render(),Z.prepareEditor()}),this.selection.addLocalHook("afterSelectionFinished",e=>{const t=e.length-1,{from:o,to:r}=e[t];this.runHooks("afterSelectionEnd",o.row,o.col,r.row,r.col,t),this.runHooks("afterSelectionEndByProp",o.row,G.colToProp(o.col),r.row,G.colToProp(r.col),t),"refresh"===de.getSelectionSource()&&(G.view.render(),Z.prepareEditor())}),this.selection.addLocalHook("afterIsMultipleSelection",e=>{const t=this.runHooks("afterIsMultipleSelection",e.value);e.value&&(e.value=t)}),this.selection.addLocalHook("afterDeselect",()=>{Z.closeEditor(),G.view.render(),(0,n.removeClass)(this.rootElement,["ht__selection--rows","ht__selection--columns"]),this.runHooks("afterDeselect")}),this.selection.addLocalHook("beforeHighlightSet",()=>this.runHooks("beforeSelectionHighlightSet")).addLocalHook("beforeSetRangeStart",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("beforeSetRangeStart",...t)}).addLocalHook("beforeSetRangeStartOnly",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("beforeSetRangeStartOnly",...t)}).addLocalHook("beforeSetRangeEnd",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("beforeSetRangeEnd",...t)}).addLocalHook("beforeSelectColumns",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("beforeSelectColumns",...t)}).addLocalHook("afterSelectColumns",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("afterSelectColumns",...t)}).addLocalHook("beforeSelectRows",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("beforeSelectRows",...t)}).addLocalHook("afterSelectRows",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("afterSelectRows",...t)}).addLocalHook("beforeSelectAll",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("beforeSelectAll",...t)}).addLocalHook("afterSelectAll",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("afterSelectAll",...t)}).addLocalHook("beforeModifyTransformStart",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("modifyTransformStart",...t)}).addLocalHook("afterModifyTransformStart",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("afterModifyTransformStart",...t)}).addLocalHook("beforeModifyTransformFocus",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("modifyTransformFocus",...t)}).addLocalHook("afterModifyTransformFocus",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("afterModifyTransformFocus",...t)}).addLocalHook("beforeModifyTransformEnd",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("modifyTransformEnd",...t)}).addLocalHook("afterModifyTransformEnd",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("afterModifyTransformEnd",...t)}).addLocalHook("beforeRowWrap",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("beforeRowWrap",...t)}).addLocalHook("beforeColumnWrap",function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return Y.runHooks("beforeColumnWrap",...t)}).addLocalHook("insertRowRequire",e=>this.alter("insert_row_above",e,1,"auto")).addLocalHook("insertColRequire",e=>this.alter("insert_col_start",e,1,"auto")),q={alter(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3?arguments[3]:void 0,n=arguments.length>4?arguments[4]:void 0;const i=e=>{if(0===e.length)return[];const t=[...e];t.sort((e,t)=>{let[o]=e,[r]=t;return o===r?0:o>r?1:-1});return(0,c.arrayReduce)(t,(e,t)=>{let[o,r]=t;const n=e[e.length-1],[i,s]=n,a=i+s;if(o<=a){const e=Math.max(r-(a-o),0);n[1]+=e}else e.push([o,r]);return e},[t[0]])};switch(e){case"insert_row_below":case"insert_row_above":const n=G.countSourceRows();if(se.maxRows===n)return;const a="insert_row_below"===e?"below":"above";t=null!=t?t:"below"===a?n:0;const{delta:l,startPhysicalIndex:h}=K.createRow(t,o,{source:r,mode:a});de.shiftRows(G.toVisualRow(h),l);break;case"insert_col_start":case"insert_col_end":const d="insert_col_end"===e?"end":"start";t=null!=t?t:"end"===d?G.countSourceCols():0;const{delta:u,startPhysicalIndex:g}=K.createCol(t,o,{source:r,mode:d});if(u){if(Array.isArray(se.colHeaders)){const e=[G.toVisualColumn(g),0];e.length+=u,Array.prototype.splice.apply(se.colHeaders,e)}de.shiftColumns(G.toVisualColumn(g),u)}break;case"remove_row":const p=e=>{let t=0;(0,c.arrayEach)(e,e=>{let[o,n]=e;const i=(0,s.isEmpty)(o)?G.countRows()-1:Math.max(o-t,0);Number.isInteger(o)&&(o=Math.max(o-t,0));if(!K.removeRow(o,n,r))return;if(de.isSelected()){const{row:e}=G.getSelectedRangeActive().highlight;e>=o&&e<=o+n-1&&Z.closeEditor(!0)}const a=G.countRows(),l=se.fixedRowsTop;l>=i+1&&(se.fixedRowsTop-=Math.min(n,l-i));const h=se.fixedRowsBottom;if(h&&i>=a-h&&(se.fixedRowsBottom-=Math.min(n,h)),0===a)de.deselect();else if("ContextMenu.removeRow"===r){const e=de.getSelectedRange(),t=e.pop();e.clear().set(t.from).current().setTo(t.to),de.refresh()}else de.shiftRows(o,-n);t+=n})};Array.isArray(t)?p(i(t)):p([[t,o]]);break;case"remove_col":const f=e=>{let t=0;(0,c.arrayEach)(e,e=>{let[o,n]=e;const i=(0,s.isEmpty)(o)?G.countCols()-1:Math.max(o-t,0);let a=G.toPhysicalColumn(i);Number.isInteger(o)&&(o=Math.max(o-t,0));if(!K.removeCol(o,n,r))return;if(de.isSelected()){const{col:e}=G.getSelectedRangeActive().highlight;e>=o&&e<=o+n-1&&Z.closeEditor(!0)}if(0===G.countCols())de.deselect();else if("ContextMenu.removeColumn"===r){const e=de.getSelectedRange(),t=e.pop();e.clear().set(t.from).current().setTo(t.to),de.refresh()}else de.shiftColumns(o,-n);const l=se.fixedColumnsStart;l>=i+1&&(se.fixedColumnsStart-=Math.min(n,l-i)),Array.isArray(se.colHeaders)&&(void 0===a&&(a=-1),se.colHeaders.splice(a,n)),t+=n})};Array.isArray(t)?f(i(t)):f([[t,o]]);break;default:(0,L.throwWithCause)(`There is no such action "${e}"`)}n||q.adjustRowsAndCols(),G.view.adjustElementsSize(),G.view.render()},adjustRowsAndCols(){const e=se.minRows,t=se.minSpareRows,o=se.minCols,r=se.minSpareCols;if(e){const t=G.countRows();t<e&&K.createRow(t,e-t,{source:"auto"})}if(t){const e=G.countEmptyRows(!0);if(e<t){const o=t-e,r=Math.min(o,se.maxRows-G.countSourceRows());K.createRow(G.countRows(),r,{source:"auto"})}}{let e;(o||r)&&(e=G.countEmptyCols(!0));let t=G.countCols();if(o&&!se.columns&&t<o){const r=o-t;e+=r,K.createCol(t,r,{source:"auto"})}if(r&&!se.columns&&"array"===G.dataType&&e<r){t=G.countCols();const o=r-e,n=Math.min(o,se.maxCols-t);K.createCol(t,n,{source:"auto"})}}},populateFromArray(e,t,o,r,n){let i,s,a,l;const h=[],u={},g=[],p=e.row,f=e.col;if(s=t.length,0===s)return!1;let m=0,C=0;switch((0,d.isObject)(o)&&(m=o.col-f+1,C=o.row-p+1),n){case"shift_down":const n=(0,c.pivot)(t),b=n.length,v=Math.max(b,m),y=G.getData().slice(p),S=(0,c.pivot)(y).slice(f,f+v);for(a=0;a<v;a+=1)if(a<b){for(i=0,s=n[a].length;i<C-s;i+=1)n[a].push(n[a][i%s]);a<S.length?g.push(n[a].concat(S[a])):g.push(n[a].concat(new Array(y.length).fill(null)))}else g.push(n[a%b].concat(S[a]));G.populateFromArray(p,f,(0,c.pivot)(g));break;case"shift_right":const E=t.length,_=Math.max(E,C),R=G.getData().slice(p).map(e=>e.slice(f));for(i=0;i<_;i+=1)if(i<E){for(a=0,l=t[i].length;a<m-l;a+=1)t[i].push(t[i][a%l]);if(i<R.length)for(let e=0;e<R[i].length;e+=1)t[i].push(R[i][e]);else t[i].push(...new Array(R[0].length).fill(null))}else t.push(t[i%s].slice(0,_).concat(R[i]));G.populateFromArray(p,f,t);break;default:u.row=e.row,u.col=e.col;let T,M=0,I=0,k=!0;const O=function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const r=t[e%t.length];return null!==o?r[o%r.length]:r},A=t.length,x=o?o.row-e.row+1:0;for(s=o?x:Math.max(A,x),i=0;i<s&&!(o&&u.row>o.row&&x>A||!se.allowInsertRow&&u.row>G.countRows()-1||u.row>=se.maxRows);i++){const t=i-M,n=O(t).length,c=o?o.col-e.col+1:0;if(l=o?c:Math.max(n,c),u.col=e.col,T=G.getCellMeta(u.row,u.col),"CopyPaste.paste"!==r&&"Autofill.fill"!==r||!T.skipRowOnPaste){for(I=0,a=0;a<l;a++){var w;if(o&&u.col>o.col&&c>n||!se.allowInsertColumn&&u.col>G.countCols()-1||u.col>=se.maxCols)break;if(T=G.getCellMeta(u.row,u.col),("CopyPaste.paste"===r||"Autofill.fill"===r)&&T.skipColumnOnPaste){I+=1,u.col+=1,l+=1;continue}if(T.readOnly&&"UndoRedo.undo"!==r){u.col+=1;continue}const e=a-I,i=!!T.valueSetter;let s=O(t,e),g=null!==(w=G.getSourceDataAtCell(u.row,u.col))&&void 0!==w?w:null;if(null!==s&&"object"==typeof s)if(Array.isArray(s)&&null===g&&(g=[]),i||"object"==typeof g&&null!==g){if(null!==g){const e=(0,d.duckSchema)(Array.isArray(g)?g:g[0]||g),t=(0,d.duckSchema)(Array.isArray(s)?s:s[0]||s);i||(0,d.isObjectEqual)(e,t)||Array.isArray(e)&&Array.isArray(t)?s=(0,d.deepClone)(s):k=!1}}else k=!1,T.parsePastedValue&&"CopyPaste.paste"===r&&(k=!0);else i||null===g||"object"!=typeof g||(k=!1);k&&h.push([u.row,u.col,s]),k=!0,u.col+=1}u.row+=1}else M+=1,u.row+=1,s+=1}G.setDataAtCell(h,null,null,r||"populateFromArray")}}},this.init=function(){X.setData(se.data),G.runHooks("beforeInit"),((0,a.isMobileBrowser)()||(0,a.isIpadOS)())&&(0,n.addClass)(G.rootElement,"mobile"),this.updateSettings(te,!0),this.view=new v.default(this),Z=l.default.getInstance(G,se,de),J=(0,k.createViewportScroller)(G),Q.init(),(0,E.isRootInstance)(this)&&((0,B.install)(G.rootPortalElement),(0,s._injectProductInfo)(te.licenseKey,this.rootWrapperElement,"05/03/2026")),G.runHooks("init"),this.render(),ee&&null===G.rootElement.offsetParent&&(0,n.observeVisibilityChangeOnce)(G.rootElement,()=>{G.view._wt.wtOverlays.updateLastSpreaderSize(),G.view.adjustElementsSize(),G.render()}),"object"==typeof ee&&(G.runHooks("afterChange",ee[0],ee[1]),ee=!1),G.runHooks("afterInit")},this._createCellCoords=function(e,t){return G.view._wt.createCellCoords(e,t)},this._createCellRange=function(e,t,o){return G.view._wt.createCellRange(e,t,o)},this.validateCell=function(e,t,o,r){let n=G.getCellValidator(t);function a(e){if(!(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])||!0===t.hidden)return void o(e);const r=t.visualCol,n=t.visualRow,i=G.getCell(n,r,!0);if(i&&"TH"!==i.nodeName){const e=G.rowIndexMapper.getRenderableFromVisualIndex(n),t=G.columnIndexMapper.getRenderableFromVisualIndex(r);G.view._wt.getSetting("cellRenderer",e,t,i)}o(e)}var l;(0,s.isRegExp)(n)&&(l=n,n=function(e,t){t(l.test(e))}),(0,i.isFunction)(n)?(e=G.runHooks("beforeValidate",e,t.visualRow,t.prop,r),G._registerMicrotask(()=>{n.call(t,e,o=>{G&&(o=G.runHooks("afterValidate",o,e,t.visualRow,t.prop,r),t.valid=o,a(o),G.runHooks("postAfterValidate",o,e,t.visualRow,t.prop,r))})})):G._registerMicrotask(()=>{t.valid=!0,a(t.valid,!1)})},this.setDataAtCell=function(e,t,o,r){const n=Ce(e,t,o),i=[];let s,a,l,h=r;for(s=0,a=n.length;s<a;s++){const[e,t,o]=n[s];"object"!=typeof n[s]&&(0,L.throwWithCause)("Method `setDataAtCell` accepts row number or changes array of arrays as its first parameter"),"number"!=typeof n[s][1]&&(0,L.throwWithCause)("Method `setDataAtCell` accepts row and column number as its parameters. If you want to use object property name, use method `setDataAtRowProp`"),l=t>=this.countCols()?t:K.colToProp(t),i.push([e,l,X.getAtCell(this.toPhysicalRow(e),t),o])}h||"object"!=typeof e||(h=t);const d=we(i,h);G.runHooks("afterSetDataAtCell",d,h),fe(d,h,()=>{me(d,h)})},this.setDataAtRowProp=function(e,t,o,r){const n=Ce(e,t,o),i=[];let s,a,l=r;for(s=0,a=n.length;s<a;s++){const[e,t,o]=n[s];i.push([e,t,X.getAtCell(this.toPhysicalRow(e),t),o])}l||"object"!=typeof e||(l=t);const h=we(i,r);G.runHooks("afterSetDataAtRowProp",h,l),fe(h,l,()=>{me(h,l)})},this.listen=function(){G&&!G.isListening()&&(U.forEach(e=>{G!==e&&e.unlisten()}),z=G.guid,G.runHooks("afterListen"))},this.unlisten=function(){this.isListening()&&(z=null,G.runHooks("afterUnlisten"))},this.isListening=function(){return z===G.guid},this.destroyEditor=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];Z.closeEditor(e),G.view.render(),t&&de.isSelected()&&Z.prepareEditor()},this.populateFromArray=function(e,t,o,r,n,i,s){"object"==typeof o&&"object"==typeof o[0]||(0,L.throwWithCause)("populateFromArray parameter `input` must be an array of arrays");const a="number"==typeof r?G._createCellCoords(r,n):null;return q.populateFromArray(G._createCellCoords(e,t),o,a,i,s)},this.spliceCol=function(e,t,o){for(var r=arguments.length,n=new Array(r>3?r-3:0),i=3;i<r;i++)n[i-3]=arguments[i];return K.spliceCol(e,t,o,...n)},this.spliceRow=function(e,t,o){for(var r=arguments.length,n=new Array(r>3?r-3:0),i=3;i<r;i++)n[i-3]=arguments[i];return K.spliceRow(e,t,o,...n)},this.getSelected=function(){if(de.isSelected())return(0,c.arrayMap)(de.getSelectedRange(),e=>{let{from:t,to:o}=e;return[t.row,t.col,o.row,o.col]})},this.getSelectedLast=function(){const e=this.getSelected();let t;return e&&e.length>0&&(t=e[e.length-1]),t},this.getSelectedActive=function(){const e=this.getSelectedRangeActive();if(!e)return;const{from:t,to:o}=e;return[t.row,t.col,o.row,o.col]},this.getSelectedRange=function(){if(de.isSelected())return Array.from(de.getSelectedRange())},this.getSelectedRangeLast=function(){const e=this.getSelectedRange();let t;return e&&e.length>0&&(t=e[e.length-1]),t},this.getSelectedRangeActive=function(){return de.getActiveSelectedRange()},this.getActiveSelectionLayerIndex=function(){return de.getActiveSelectionLayerIndex()},this.emptySelectedCells=function(e){if(!de.isSelected()||0===this.countRows()||0===this.countCols())return;const t=[];(0,c.arrayEach)(de.getSelectedRange(),e=>{if(e.isSingleHeader())return;const o=e.getTopStartCorner(),r=e.getBottomEndCorner();(0,b.rangeEach)(o.row,r.row,e=>{(0,b.rangeEach)(o.col,r.col,o=>{this.getCellMeta(e,o).readOnly||t.push([e,o,null])})})}),t.length>0&&this.setDataAtCell(t,e)},this.isRenderSuspended=function(){return this.renderSuspendedCounter>0},this.suspendRender=function(){this.renderSuspendedCounter+=1},this.resumeRender=function(){const e=this.renderSuspendedCounter-1;this.renderSuspendedCounter=Math.max(e,0),this.isRenderSuspended()||e!==this.renderSuspendedCounter||G.view.render()},this.render=function(){this.view&&(this.forceFullRender=!0,this.isRenderSuspended()||G.view.render())},this.batchRender=function(e){this.suspendRender();const t=e();return this.resumeRender(),t},this.isExecutionSuspended=function(){return this.executionSuspendedCounter>0},this.suspendExecution=function(){this.executionSuspendedCounter+=1,this.columnIndexMapper.suspendOperations(),this.rowIndexMapper.suspendOperations()},this.resumeExecution=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.executionSuspendedCounter-1;this.executionSuspendedCounter=Math.max(t,0),(!this.isExecutionSuspended()&&t===this.executionSuspendedCounter||e)&&(this.columnIndexMapper.resumeOperations(),this.rowIndexMapper.resumeOperations())},this.batchExecution=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.suspendExecution();const o=e();return this.resumeExecution(t),o},this.batch=function(e){this.suspendRender(),this.suspendExecution();const t=e();return this.resumeExecution(),this.resumeRender(),t},this.refreshDimensions=function(){if(!G.view)return;const e=G.view,{width:t,height:o}=e.getLastSize(),{width:r,height:n}=G.rootElement.getBoundingClientRect(),i=r!==t||n!==o;!1===G.runHooks("beforeRefreshDimensions",{width:t,height:o},{width:r,height:n},i)||((i||e._wt.wtOverlays.scrollableElement===G.rootWindow)&&(e.setLastSize(r,n),e.adjustElementsSize(),G.render()),G.runHooks("afterRefreshDimensions",{width:t,height:o},{width:r,height:n},i))},this.updateData=function(e,t){(0,I.replaceData)(e,e=>{K=e},e=>{K=e,G.columnIndexMapper.fitToLength(this.getInitialColumnCount()),G.rowIndexMapper.fitToLength(this.countSourceRows()),q.adjustRowsAndCols(),de.markSource("updateData"),de.refresh(),de.markEndSource()},{hotInstance:G,dataMap:K,dataSource:X,internalSource:"updateData",source:t,metaManager:ie,firstRun:ee})},this.loadData=function(e,t){(0,I.replaceData)(e,e=>{K=e},()=>{ie.clearCellsCache(),G.initIndexMappers(),q.adjustRowsAndCols(),de.markSource("loadData"),de.refresh(),de.markEndSource(),ee&&(ee=[null,"loadData"])},{hotInstance:G,dataMap:K,dataSource:X,internalSource:"loadData",source:t,metaManager:ie,firstRun:ee})},this.getInitialColumnCount=function(){const e=se.columns;let t=0;if(Array.isArray(e))t=e.length;else if((0,i.isFunction)(e))if("array"===G.dataType){const o=this.countSourceCols();for(let r=0;r<o;r+=1)e(r)&&(t+=1)}else"object"!==G.dataType&&"function"!==G.dataType||(t=K.colToPropCache.length);else if((0,s.isDefined)(se.dataSchema)){const e=K.getSchema();t=Array.isArray(e)?e.length:(0,d.deepObjectSize)(e)}else t=this.countSourceCols();return t},this.initIndexMappers=function(){this.columnIndexMapper.initToLength(this.getInitialColumnCount()),this.rowIndexMapper.initToLength(this.countSourceRows())},this.getData=function(e,t,o,r){return(0,s.isUndefined)(e)?K.getAll():K.getRange(G._createCellCoords(e,t),G._createCellCoords(o,r),K.DESTINATION_RENDERER)},this.getCopyableText=function(e,t,o,r){return K.getCopyableText(G._createCellCoords(e,t),G._createCellCoords(o,r))},this.getCopyableData=function(e,t){return K.getCopyable(e,K.colToProp(t))},this.getCopyableSourceData=function(e,t){return X.getCopyable(e,K.colToProp(t))},this.getSchema=function(){return K.getSchema()},this.updateSettings=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const o=(ee?G.loadData:G.updateData).bind(this);let r,n,a=!1;for(r in(0,s.isDefined)(e.rows)&&(0,L.throwWithCause)('The "rows" setting is no longer supported. Do you mean startRows, minRows or maxRows?'),(0,s.isDefined)(e.cols)&&(0,L.throwWithCause)('The "cols" setting is no longer supported. Do you mean startCols, minCols or maxCols?'),(0,s.isDefined)(e.ganttChart)&&(0,L.throwWithCause)('Since 8.0.0 the "ganttChart" setting is no longer supported.'),(0,s.isDefined)(e.rowHeights)&&(0,s.isDefined)(e.minRowHeights)&&(0,D.warn)("Both `rowHeights` and `minRowHeights` are defined in your configuration. As one is the alias of the other, only one of them can be used at a time. `rowHeights` will be used as the row height configuration."),e)if("data"===r||"language"===r);else if("className"===r)ue("className",e.className);else if("tableClassName"===r&&G.table)ue("tableClassName",e.tableClassName),G.view._wt.wtOverlays.syncOverlayTableClassNames();else if(k.Hooks.getSingleton().isRegistered(r)||k.Hooks.getSingleton().isDeprecated(r)){const t=e[r];(0,i.isFunction)(t)?(k.Hooks.getSingleton().addAsFixed(r,t,G),se[r]=t):Array.isArray(t)&&(k.Hooks.getSingleton().add(r,t,G),se[r]=t)}else!t&&(0,d.hasOwnProperty)(e,r)&&(ae[r]=e[r]);const l=(0,H.getThemeClassName)(G.rootContainer),h=(0,d.hasOwnProperty)(e,"themeName"),c=(0,d.hasOwnProperty)(e,"theme");if(h&&c&&(0,D.warn)("Both `theme` and `themeName` are defined in your configuration. These options are aliases and cannot be used together. The `themeName` option will be ignored."),t){let t;c&&"string"==typeof e.theme?t=e.theme:h&&"string"==typeof e.themeName&&e.themeName&&!c?(t=e.themeName,se.theme=e.themeName,se.themeName=void 0):l?t=l:G.themeManager&&(t=G.themeManager.getClassName()),G.useTheme(t)}else{const t=G.getCurrentThemeName();var u;if(c&&"string"==typeof e.theme&&t!==e.theme)G.useTheme(e.theme),null===(u=G.themeManager)||void 0===u||u.unmount();else if(h&&!c&&t!==e.themeName){var g;se.theme=e.themeName,se.themeName=void 0,G.useTheme(e.themeName),null===(g=G.themeManager)||void 0===g||g.unmount()}else(0,E.isRootInstance)(G)&&!l&&(0,d.isObject)(e.theme)&&(null===G.themeManager?(ge(e.theme),G.useTheme(G.themeManager.getClassName())):(G.themeManager.update(e.theme),G.useTheme(G.themeManager.getClassName())))}void 0===e.data&&void 0===se.data?o(null,"updateSettings"):void 0!==e.data?o(e.data,"updateSettings"):void 0!==e.columns&&(K.createMap(),G.initIndexMappers()),!ee&&e.language&&function(e){const t=(0,T.normalizeLanguageCode)(e);(0,R.hasLanguageDictionary)(t)?(G.runHooks("beforeLanguageChange",t),ae.language=t,G.runHooks("afterLanguageChange",t)):(0,T.warnUserAboutLanguageRegistration)(e)}(e.language);const p=G.countCols(),f=se.columns;if(f&&(0,i.isFunction)(f)&&(a=!0),void 0===e.cell&&void 0===e.cells&&void 0===e.columns||ie.clearCache(),p>0)for(r=0,n=0;r<p;r++){if(f){const e=a?f(r):f[n];e&&ie.updateColumnMeta(n,e)}n+=1}(0,s.isDefined)(e.cell)&&(0,d.objectEach)(e.cell,e=>{G.setCellMetaObject(e.row,e.col,e)}),G.runHooks("afterCellMetaReset"),ee&&(0,I.runSourceDataValidators)(G,"init");let m=G.rootElement.style.height;if(""!==m&&(m=parseInt(G.rootElement.style.height,10)),t){G.rootElement.getAttribute("style")&&G.rootElement.setAttribute("data-initialstyle",G.rootElement.getAttribute("style"))}let C=e.height;if(void 0!==e.height)if((0,i.isFunction)(C)&&(C=C()),C=G.runHooks("beforeHeightChange",C),null===C){const e=G.rootElement.getAttribute("data-initialstyle");e&&(e.indexOf("height")>-1||e.indexOf("overflow")>-1)?G.rootElement.setAttribute("style",e):(G.rootElement.style.height="",G.rootElement.style.overflow="")}else void 0!==C&&(G.rootElement.style.height=isNaN(C)?`${C}`:`${C}px`,G.rootElement.style.overflow="clip");if(void 0!==e.width){let t=e.width;(0,i.isFunction)(t)&&(t=t()),t=G.runHooks("beforeWidthChange",t),G.rootElement.style.width=isNaN(t)?`${t}`:`${t}px`}t||(G.view&&(G.view._wt.wtViewport.resetHasOversizedColumnHeadersMarked(),G.view._wt.exportSettingsAsClassNames()),G.runHooks("afterUpdateSettings",e)),q.adjustRowsAndCols(),G.view&&!ee&&(G.render(),G.view._wt.wtOverlays.adjustElementsSize()),t||!G.view||""!==m&&""!==C&&void 0!==C||m===C||G.view._wt.wtOverlays.updateMainScrollableElements()},this.getValue=function(){const e=G.getSelectedRangeActive();if(se.getValue){if((0,i.isFunction)(se.getValue))return se.getValue.call(G);if(e)return G.getData()[e.highlight.row][se.getValue]}else if(e)return G.getDataAtCell(e.highlight.row,e.highlight.col);return null},this.getSettings=function(){return se},this.clear=function(){this.selectAll(),this.emptySelectedCells()},this.alter=function(e,t,o,r,n){q.alter(e,t,o,r,n)},this.getCell=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t,n=e;if(t>=0){if(this.columnIndexMapper.isHidden(this.toPhysicalColumn(t)))return null;r=this.columnIndexMapper.getRenderableFromVisualIndex(t)}if(e>=0){if(this.rowIndexMapper.isHidden(this.toPhysicalRow(e)))return null;n=this.rowIndexMapper.getRenderableFromVisualIndex(e)}return null===n||null===r||void 0===n||void 0===r?null:G.view.getCellAtCoords(G._createCellCoords(n,r),o)},this.getCoords=function(e){const t=this.view._wt.wtTable.getCoords(e);if(null===t)return null;const{row:o,col:r}=t;let n=o,i=r;return o>=0&&(n=this.rowIndexMapper.getVisualFromRenderableIndex(o)),r>=0&&(i=this.columnIndexMapper.getVisualFromRenderableIndex(r)),G._createCellCoords(n,i)},this.colToProp=function(e){return K.colToProp(e)},this.propToCol=function(e){return K.propToCol(e)},this.toVisualRow=e=>this.rowIndexMapper.getVisualFromPhysicalIndex(e),this.toVisualColumn=e=>this.columnIndexMapper.getVisualFromPhysicalIndex(e),this.toPhysicalRow=e=>this.rowIndexMapper.getPhysicalFromVisualIndex(e),this.toPhysicalColumn=e=>this.columnIndexMapper.getPhysicalFromVisualIndex(e),this.getDataAtCell=function(e,t){return K.get(e,K.colToProp(t))},this.getDataAtRowProp=function(e,t){return K.get(e,t)},this.getDataAtCol=function(e){const t=[],o=K.getRange(G._createCellCoords(0,e),G._createCellCoords(se.data.length-1,e),K.DESTINATION_RENDERER);for(let e=0;e<o.length;e+=1)for(let r=0;r<o[e].length;r+=1)t.push(o[e][r]);return t},this.getDataAtProp=function(e){const t=[],o=K.getRange(G._createCellCoords(0,K.propToCol(e)),G._createCellCoords(se.data.length-1,K.propToCol(e)),K.DESTINATION_RENDERER);for(let e=0;e<o.length;e+=1)for(let r=0;r<o[e].length;r+=1)t.push(o[e][r]);return t},this.getSourceData=function(e,t,o,r){let n;return n=void 0===e?X.getData():X.getByRange(G._createCellCoords(e,t),G._createCellCoords(o,r)),n},this.getSourceDataArray=function(e,t,o,r){let n;return n=void 0===e?X.getData(!0):X.getByRange(G._createCellCoords(e,t),G._createCellCoords(o,r),!0),n},this.getSourceDataAtCol=function(e){return X.getAtColumn(e)},this.setSourceDataAtCell=function(e,t,o,r){const n=Ce(e,t,o),i=this.hasHook("afterSetSourceDataAtCell"),a=[],l=(e,t)=>{const o=this.toVisualRow(e),r=this.toVisualColumn(t);return Number.isInteger(r)?this.getCellMeta(o,r):{...Object.getPrototypeOf(se),...se}};i&&(0,c.arrayEach)(n,e=>{let[t,o,r]=e;const n=(0,F.getValueSetterValue)(r,l(t,o));a.push([t,o,X.getAtCell(t,o),n])}),(0,c.arrayEach)(n,e=>{let[t,o,n]=e;const i=l(t,o),s=(0,F.getValueSetterValue)(n,i);(0,I.runSourceDataValidator)(s,i,null!=r?r:"setSourceDataAtCell")&&X.setAtCell(t,o,s)}),i&&this.runHooks("afterSetSourceDataAtCell",a,r),this.render();const h=G.getActiveEditor();h&&(0,s.isDefined)(h.refreshValue)&&h.refreshValue()},this.getSourceDataAtRow=function(e){return X.getAtRow(e)},this.getSourceDataAtCell=function(e,t){return X.getAtCell(e,t)},this.getDataAtRow=function(e){return K.getRange(G._createCellCoords(e,0),G._createCellCoords(e,this.countCols()-1),K.DESTINATION_RENDERER)[0]||[]},this.getDataType=function(e,t,o,r){const n=void 0===e?[0,0,this.countRows(),this.countCols()]:[e,t,o,r],[i,s]=n;let[,,a,l]=n,h=null,d=null;void 0===a&&(a=i),void 0===l&&(l=s);let c="mixed";return(0,b.rangeEach)(Math.max(Math.min(i,a),0),Math.max(i,a),e=>{let t=!0;return(0,b.rangeEach)(Math.max(Math.min(s,l),0),Math.max(s,l),o=>{const r=this.getCellMeta(e,o);return d=r.type,h?t=h===d:h=d,t}),c=t?d:"mixed",t}),c},this.removeCellMeta=function(e,t,o){const[r,n]=[this.toPhysicalRow(e),this.toPhysicalColumn(t)];let i=ie.getCellMetaKeyValue(r,n,o);!1!==G.runHooks("beforeRemoveCellMeta",e,t,o,i)&&(ie.removeCellMeta(r,n,o),G.runHooks("afterRemoveCellMeta",e,t,o,i)),i=null},this.spliceCellsMeta=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;for(var o=arguments.length,r=new Array(o>2?o-2:0),n=2;n<o;n++)r[n-2]=arguments[n];r.length>0&&!Array.isArray(r[0])&&(0,L.throwWithCause)("The 3rd argument (cellMetaRows) has to be passed as an array of cell meta objects array."),t>0&&ie.removeRow(this.toPhysicalRow(e),t),r.length>0&&(0,c.arrayEach)(r.reverse(),t=>{ie.createRow(this.toPhysicalRow(e)),(0,c.arrayEach)(t,(t,o)=>this.setCellMetaObject(e,o,t))}),G.render()},this.setCellMetaObject=function(e,t,o){"object"==typeof o&&(0,d.objectEach)(o,(o,r)=>{this.setCellMeta(e,t,r,o)})},this.setCellMeta=function(e,t,o,r){if(!1===G.runHooks("beforeSetCellMeta",e,t,o,r))return;let n=e,i=t;e<this.countRows()&&(n=this.toPhysicalRow(e)),t<this.countCols()&&(i=this.toPhysicalColumn(t)),ie.setCellMeta(n,i,o,r),G.runHooks("afterSetCellMeta",e,t,o,r)},this.getCellsMeta=function(){return ie.getCellsMeta()},this.getCellMeta=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{skipMetaExtension:!1},r=this.toPhysicalRow(e),n=this.toPhysicalColumn(t);return null===r&&(r=e),null===n&&(n=t),ie.getCellMeta(r,n,{visualRow:e,visualColumn:t,...o})},this.getColumnMeta=function(e){return ie.getColumnMeta(this.toPhysicalColumn(e))},this.getCellMetaAtRow=function(e){return ie.getCellsMetaAtRow(e)},this.isColumnModificationAllowed=function(){return!("object"===G.dataType||se.columns)},this.getCellRenderer=function(e,t){const o="number"==typeof e?G.getCellMeta(e,t).renderer:e.renderer;return"string"==typeof o?(0,f.getRenderer)(o):(0,s.isUndefined)(o)?(0,f.getRenderer)("text"):o},this.getCellEditor=function(e,t){const o="number"==typeof e?G.getCellMeta(e,t).editor:e.editor;return"string"==typeof o?(0,m.getEditor)(o):(0,s.isUndefined)(o)?(0,m.getEditor)("text"):o},this.getCellValidator=function(e,t){const o="number"==typeof e?G.getCellMeta(e,t).validator:e.validator;return"string"==typeof o?(0,C.getValidator)(o):o},this.validateCells=function(e){this._validateCells(e)},this.validateRows=function(e,t){Array.isArray(e)||(0,L.throwWithCause)("validateRows parameter `rows` must be an array"),this._validateCells(t,e)},this.validateColumns=function(e,t){Array.isArray(e)||(0,L.throwWithCause)("validateColumns parameter `columns` must be an array"),this._validateCells(t,void 0,e)},this._validateCells=function(e,t,o){const r=new pe;e&&(r.onQueueEmpty=e);let n=G.countRows()-1;for(;n>=0;){if(void 0!==t&&-1===t.indexOf(n)){n-=1;continue}let e=G.countCols()-1;for(;e>=0;)void 0===o||-1!==o.indexOf(e)?(r.addValidatorToQueue(),G.validateCell(G.getDataAtCell(n,e),G.getCellMeta(n,e),e=>{"boolean"!=typeof e&&(0,L.throwWithCause)("Validation error: result is not boolean"),!1===e&&(r.valid=!1),r.removeValidatorFormQueue()},"validateCells"),e-=1):e-=1;n-=1}r.checkIfQueueIsEmpty()},this.getRowHeader=function(e){let t=se.rowHeaders,o=e;return void 0!==o&&(o=G.runHooks("modifyRowHeader",o)),void 0===o?(t=[],(0,b.rangeEach)(G.countRows()-1,e=>{t.push(G.getRowHeader(e))})):Array.isArray(t)&&void 0!==t[o]?t=t[o]:(0,i.isFunction)(t)?t=t(o):t&&"string"!=typeof t&&"number"!=typeof t&&(t=o+1),t},this.hasRowHeaders=function(){return!!se.rowHeaders},this.hasColHeaders=function(){if(void 0!==se.colHeaders&&null!==se.colHeaders)return!!se.colHeaders;for(let e=0,t=G.countCols();e<t;e++)if(G.getColHeader(e))return!0;return!1},this.getColHeader=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;const o=G.runHooks("modifyColHeader",e);if(void 0===o){const e=[],t=G.countCols();for(let o=0;o<t;o++)e.push(G.getColHeader(o));return e}let r=se.colHeaders;const n=G.toPhysicalColumn(o),s=function(e){const t=[],o=G.countCols();let r=0;for(;r<o;r++)(0,i.isFunction)(se.columns)&&se.columns(r)&&t.push(r);return t[e]}(n);return!1===se.colHeaders?r=null:se.columns&&(0,i.isFunction)(se.columns)&&se.columns(s)&&se.columns(s).title?r=se.columns(s).title:se.columns&&se.columns[n]&&se.columns[n].title?r=se.columns[n].title:Array.isArray(se.colHeaders)&&void 0!==se.colHeaders[n]?r=se.colHeaders[n]:(0,i.isFunction)(se.colHeaders)?r=se.colHeaders(n):se.colHeaders&&"string"!=typeof se.colHeaders&&"number"!=typeof se.colHeaders&&(r=(0,y.spreadsheetColumnLabel)(o)),r=G.runHooks("modifyColumnHeaderValue",r,e,t),r},this._getColWidthFromSettings=function(e){let t;if(e>=0){t=G.getCellMeta(0,e).width}if(void 0!==t&&t!==se.width||(t=se.colWidths),null!=t){switch(typeof t){case"object":t=t[e];break;case"function":t=t(e)}"string"==typeof t&&(t=Number.parseInt(t,10))}return t},this.getColWidth=function(e,t){let o=G._getColWidthFromSettings(e);return o=G.runHooks("modifyColWidth",o,e,t),void 0===o&&(o=_.DEFAULT_COLUMN_WIDTH),o},this._getRowHeightFromSettings=function(e){var t;const o=G.stylesHandler.getDefaultRowHeight(e);let r=null!==(t=se.rowHeights)&&void 0!==t?t:se.minRowHeights;if(null!=r){switch(typeof r){case"object":r=r[e];break;case"function":r=r(e)}"string"==typeof r&&(r=Number.parseInt(r,10))}return null!=r&&r<o?o:r},this.getRowHeight=function(e,t){let o=G._getRowHeightFromSettings(e);return o=G.runHooks("modifyRowHeight",o,e,t),o},this.countSourceRows=function(){return X.countRows()},this.countSourceCols=function(){return X.countFirstRowKeys()},this.countRows=function(){return K.getLength()},this.countCols=function(){const e=se.maxCols,t=this.columnIndexMapper.getNotTrimmedIndexesLength();return Math.min(e,t)},this.countRenderedRows=function(){return G.view._wt.drawn?G.view._wt.wtTable.getRenderedRowsCount():-1},this.countVisibleRows=function(){return G.view._wt.drawn?G.view._wt.wtTable.getVisibleRowsCount():-1},this.countRenderedCols=function(){return G.view._wt.drawn?G.view._wt.wtTable.getRenderedColumnsCount():-1},this.countVisibleCols=function(){return G.view._wt.drawn?G.view._wt.wtTable.getVisibleColumnsCount():-1},this.countRowHeaders=function(){return this.view.getRowHeadersCount()},this.countColHeaders=function(){return this.view.getColumnHeadersCount()},this.countEmptyRows=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=0;return(0,b.rangeEachReverse)(G.countRows()-1,o=>{if(G.isEmptyRow(o))t+=1;else if(!0===e)return!1}),t},this.countEmptyCols=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=0;return(0,b.rangeEachReverse)(G.countCols()-1,o=>{if(G.isEmptyCol(o))t+=1;else if(!0===e)return!1}),t},this.isEmptyRow=function(e){return se.isEmptyRow.call(G,e)},this.isEmptyCol=function(e){return se.isEmptyCol.call(G,e)},this.selectCell=function(e,t,o,r){let n=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];return!(0,s.isUndefined)(e)&&!(0,s.isUndefined)(t)&&this.selectCells([[e,t,o,r]],n,i)},this.selectCells=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[[]],t=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&J.suspend();const o=de.selectCells(e);return o&&t&&G.listen(),J.resume(),o},this.selectColumns=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=arguments.length>2?arguments[2]:void 0;return de.selectColumns(e,t,o)},this.selectRows=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=arguments.length>2?arguments[2]:void 0;return de.selectRows(e,t,o)},this.deselectCell=function(){de.deselect()},this.selectAll=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=arguments.length>2?arguments[2]:void 0;J.skipNextScrollCycle(),de.selectAll(e,t,o)};const be=(e,t)=>e.getNearestNotHiddenIndex(t,1,!0);this.scrollViewportTo=function(e,t){var o;"number"==typeof e&&(e={row:arguments[0],col:arguments[1],verticalSnap:arguments[2]?"bottom":"top",horizontalSnap:arguments[3]?"end":"start",considerHiddenIndexes:null===(o=arguments[4])||void 0===o||o});const{row:r,col:n,considerHiddenIndexes:s}=null!=e?e:{};let a=r,l=n;if((0,i.isFunction)(t)&&this.addHookOnce("afterScroll",t),void 0===s||s){const e=Number.isInteger(r)&&r>=0,t=Number.isInteger(n)&&n>=0,o=e?be(this.rowIndexMapper,r):void 0,i=t?be(this.columnIndexMapper,n):void 0;if(null===o||null===i)return!1;a=e?G.rowIndexMapper.getRenderableFromVisualIndex(o):r,l=t?G.columnIndexMapper.getRenderableFromVisualIndex(i):n}const h=Number.isInteger(a),d=Number.isInteger(l);let c=!1;return h&&a>=0&&d&&l>=0?c=G.view.scrollViewport(G._createCellCoords(a,l),e.horizontalSnap,e.verticalSnap):h&&a>=0&&(d&&l<0||!d)?c=G.view.scrollViewportVertically(a,e.verticalSnap):d&&l>=0&&(h&&a<0||!h)&&(c=G.view.scrollViewportHorizontally(l,e.horizontalSnap)),(0,i.isFunction)(t)&&(c?this.view.render():(this.removeHook("afterScroll",t),this._registerMicrotask(()=>t()))),c},this.scrollToFocusedCell=function(e){if(!this.selection.isSelected())return!1;(0,i.isFunction)(e)&&this.addHookOnce("afterScroll",e);const{highlight:t}=this.getSelectedRangeActive(),o=this.scrollViewportTo(t.toObject());return o?this.view.render():(0,i.isFunction)(e)&&(this.removeHook("afterScroll",e),this._registerMicrotask(()=>e())),o},this.destroy=function(){var e;(G._clearTimeouts(),G._clearMicrotasks(),G.view&&G.view.destroy(),X&&X.destroy(),X=null,(0,E.isRootInstance)(this))&&((0,B.uninstall)(),this.getFocusScopeManager().destroy(),null===(e=G.themeManager)||void 0===e||e.destroy());this.getShortcutManager().destroy(),he.clear(),ie.clearCache(),U.delete(this.guid),$.destroy(),Z&&Z.destroy(),G.rootContainer&&(0,n.empty)(G.rootContainer),G.rootPortalElement&&G.rootPortalElement.remove(),G.batchExecution(()=>{G.rowIndexMapper.unregisterAll(),G.columnIndexMapper.unregisterAll(),le.getItems().forEach(e=>{let[,t]=e;t.destroy()}),le.clear(),G.runHooks("afterDestroy")},!0),k.Hooks.getSingleton().destroy(G),(0,d.objectEach)(G,(e,t,o)=>{var r;(0,i.isFunction)(e)?o[t]=(r=t,()=>{(0,L.throwWithCause)(`The "${r}" method cannot be called because this Handsontable instance has been destroyed`)}):"guid"!==t&&(o[t]=null)}),G.isDestroyed=!0,K&&K.destroy(),K=null,q=null,de=null,Z=null,G=null},this.getActiveEditor=function(){return Z.getActiveEditor()},this.getFirstRenderedVisibleRow=function(){return G.view.getFirstRenderedVisibleRow()},this.getLastRenderedVisibleRow=function(){return G.view.getLastRenderedVisibleRow()},this.getFirstRenderedVisibleColumn=function(){return G.view.getFirstRenderedVisibleColumn()},this.getLastRenderedVisibleColumn=function(){return G.view.getLastRenderedVisibleColumn()},this.getFirstFullyVisibleRow=function(){return G.view.getFirstFullyVisibleRow()},this.getLastFullyVisibleRow=function(){return G.view.getLastFullyVisibleRow()},this.getFirstFullyVisibleColumn=function(){return G.view.getFirstFullyVisibleColumn()},this.getLastFullyVisibleColumn=function(){return G.view.getLastFullyVisibleColumn()},this.getFirstPartiallyVisibleRow=function(){return G.view.getFirstPartiallyVisibleRow()},this.getLastPartiallyVisibleRow=function(){return G.view.getLastPartiallyVisibleRow()},this.getFirstPartiallyVisibleColumn=function(){return G.view.getFirstPartiallyVisibleColumn()},this.getLastPartiallyVisibleColumn=function(){return G.view.getLastPartiallyVisibleColumn()},this.getPlugin=function(e){return le.getItem((0,w.toUpperCaseFirst)(e))},this.getPluginName=function(e){return le.getId(e)},this.getInstance=function(){return G},this.addHook=function(e,t,o){k.Hooks.getSingleton().add(e,t,G,o)},this.hasHook=function(e){return k.Hooks.getSingleton().has(e,G)||k.Hooks.getSingleton().has(e)},this.addHookOnce=function(e,t,o){k.Hooks.getSingleton().once(e,t,G,o)},this.removeHook=function(e,t){k.Hooks.getSingleton().remove(e,t,G)},this.runHooks=function(e,t,o,r,n,i,s){return k.Hooks.getSingleton().run(G,e,t,o,r,n,i,s)},this.getTranslatedPhrase=function(e,t){return(0,R.getTranslatedPhrase)(se.language,e,t)},this.toHTML=()=>(0,u.instanceToHTML)(this),this.toTableElement=()=>{const e=this.rootDocument.createElement("div");return e.insertAdjacentHTML("afterbegin",(0,u.instanceToHTML)(this)),e.firstElementChild},this.timeouts=[],this.useTheme=e=>{const t=!!ee;this.stylesHandler.useTheme(e);const o=this.stylesHandler.getThemeName();!t&&o&&((0,H.getThemeClassName)(this.rootContainer)&&((0,n.removeClass)(this.rootContainer,/ht-theme-.*/g),(0,n.addClass)(this.rootContainer,o)),G.render(),G.scrollViewportTo(0,0)),this.runHooks("afterSetTheme",o,t)},this.getCurrentThemeName=()=>this.stylesHandler.getThemeName(),this.getTableHeight=()=>this.rootElement.offsetHeight,this.getTableWidth=()=>this.rootElement.offsetWidth,this._registerTimeout=function(e){let t=e;"function"==typeof t&&(t=setTimeout(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)),this.timeouts.push(t)},this._clearTimeouts=function(){(0,c.arrayEach)(this.timeouts,e=>{clearTimeout(e)})},this.microtasks=[],this._registerMicrotask=function(e){const t={cancelled:!1};this.microtasks.push(t),this.rootWindow.queueMicrotask(()=>{t.cancelled||e()})},this._clearMicrotasks=function(){(0,c.arrayEach)(this.microtasks,e=>{e.cancelled=!0}),this.microtasks.length=0},this._getEditorManager=function(){return Z},this._getDataSource=function(){return X},this._getMetaManager=function(){return ie};const ve=(0,x.createShortcutManager)({handleEvent:()=>G.isListening(),beforeKeyDown:e=>this.runHooks("beforeKeyDown",e),afterKeyDown:e=>{this.isDestroyed||G.runHooks("afterDocumentKeyDown",e)},ownerWindow:this.rootWindow});this.addHook("beforeOnCellMouseDown",e=>{!1===e.ctrlKey&&!1===e.metaKey&&ve.releasePressedKeys()}),this.getShortcutManager=function(){return ve},Q=new O.FocusGridManager(G);const ye=(0,E.isRootInstance)(this)?(0,O.createFocusScopeManager)(G):null;this.getFocusManager=function(){return Q},this.getFocusScopeManager=function(){return(0,E.isRootInstance)(G)||(0,L.throwWithCause)("The FocusScopeManager is only available for the main Handsontable instance."),ye};const Se=te.theme,Ee=te.themeName,_e=(0,H.getThemeClassName)(G.rootContainer);!(0,E.isRootInstance)(G)||_e||!(0,d.isObject)(Se)&&(Se||Ee)||ge(Se);(0,p.getPluginsNames)().forEach(e=>{const t=(0,p.getPlugin)(e);le.addItem(e,new t(this))}),(0,N.registerAllShortcutContexts)(G),(0,E.isRootInstance)(this)&&(0,O.registerAllFocusScopes)(G);ve.setActiveContextName("grid"),k.Hooks.getSingleton().run(G,"construct")};var n=o(23876),i=o(3179),s=o(79416),a=o(46027),l=r(o(39913)),h=r(o(34354)),d=o(38888),c=o(6578),u=o(23470),g=o(36016),p=o(17627),f=o(40647),m=o(95669),C=o(7182),w=o(23862),b=o(94366),v=r(o(67304)),y=o(26891),S=o(45978),E=o(64428),_=o(75269),R=o(67795),T=o(40947),M=o(74904),I=o(25136),k=o(39481),O=o(6297),A=o(265),x=o(7249),N=o(17304),H=o(91321),P=o(13361),D=o(26070),L=o(26032),B=o(5584),F=o(4400),V=o(38579),W=o(97324);let z=null;const U=new Map;new Set},41289(e,t,o){"use strict";t.__esModule=!0;var r=o(30880);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||(t[e]=r[e]))})},30880(e,t){"use strict";function o(e,t,o){r(e,t),t.set(e,o)}function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function n(e,t){return e.get(s(e,t))}function i(e,t,o){return e.set(s(e,t),o),o}function s(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}t.__esModule=!0;var a=new WeakMap,l=new WeakMap,h=new WeakSet;function d(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;const r=s(h,this,c).call(this,n(a,this),e.row,t);if(null===r)return null;const i=s(h,this,c).call(this,n(l,this),e.col,o);return null===i?null:e.clone().assign({row:r,col:i})}function c(e,t,o){return t<0?t:e.getNearestNotHiddenIndex(t,o)}t.CellRangeToRenderableMapper=class{constructor(e){let{rowIndexMapper:t,columnIndexMapper:n}=e;var s,d;r(s=this,d=h),d.add(s),o(this,a,void 0),o(this,l,void 0),i(a,this,t),i(l,this,n)}toRenderable(e){const t="N-S"===e.getVerticalDirection()?1:-1,o="W-E"===e.getHorizontalDirection()?1:-1,r=s(h,this,d).call(this,e.from,t,o);if(null===r)return null;const n=s(h,this,d).call(this,e.to,-t,-o);if(null===n)return null;const i=e.clone();return i.from=r,i.to=n,i.includes(e.highlight)||(i.highlight=r),i}}},76534(e,t,o){"use strict";t.__esModule=!0;var r=o(74023);function n(e,t,o){i(e,t),t.set(e,o)}function i(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function s(e,t,o){return e.set(l(e,t),o),o}function a(e,t){return e.get(l(e,t))}function l(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var h=new WeakMap,d=new WeakMap,c=new WeakMap,u=new WeakSet;function g(e){a(h,this).set(e,[]),a(d,this).set(e,0)}t.HooksBucket=class{constructor(){var e,t;i(e=this,t=u),t.add(e),n(this,h,new Map),n(this,d,new Map),n(this,c,new Set),r.REGISTERED_HOOKS.forEach(e=>l(u,this,g).call(this,e))}getHooks(e){var t;return null!==(t=a(h,this).get(e))&&void 0!==t?t:[]}add(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};a(h,this).has(e)||(l(u,this,g).call(this,e),r.REGISTERED_HOOKS.push(e));const n=a(h,this).get(e),i=n.find(e=>e.callback===t);if(i)return void(!0===i.skip&&(i.skip=!1));const s=Number.isInteger(o.orderIndex)?o.orderIndex:0,d=!!o.runOnce,p=!!o.initialHook;let f=!1;if(p){const e=n.find(e=>e.initialHook);e&&(e.callback=t,f=!0)}if(!f){n.push({callback:t,orderIndex:s,runOnce:d,initialHook:p,skip:!1});let o=a(c,this).has(e);o||0===s||(o=!0,a(c,this).add(e)),o&&n.length>1&&a(h,this).set(e,n.toSorted((e,t)=>e.orderIndex-t.orderIndex))}}has(e){return a(h,this).has(e)&&a(h,this).get(e).length>0}remove(e,t){if(!a(h,this).has(e))return!1;const o=a(h,this).get(e),r=o.find(e=>e.callback===t);if(r){let t=a(d,this).get(e);return r.skip=!0,t+=1,t>100&&(a(h,this).set(e,o.filter(e=>!e.skip)),t=0),a(d,this).set(e,t),!0}return!1}destroy(){a(h,this).clear(),a(d,this).clear(),s(h,this,null),s(d,this,null)}}},74023(e,t){"use strict";t.__esModule=!0;t.REGISTERED_HOOKS=["afterCellMetaReset","afterChange","afterContextMenuDefaultOptions","beforeContextMenuSetItems","afterDropdownMenuDefaultOptions","beforeDropdownMenuSetItems","afterContextMenuHide","beforeContextMenuShow","afterContextMenuShow","afterCopyLimit","beforeCreateCol","afterColumnSequenceCacheUpdate","afterColumnSequenceChange","afterCreateCol","beforeCreateRow","afterCreateRow","afterDeselect","afterDestroy","afterDocumentKeyDown","afterDrawSelection","beforeRemoveCellClassNames","beforeCompositionStart","afterGetCellMeta","afterGetColHeader","afterGetRowHeader","afterInit","afterLoadData","afterUpdateData","afterMomentumScroll","afterOnCellCornerMouseDown","afterOnCellCornerDblClick","afterOnCellMouseDown","afterOnCellMouseUp","afterOnCellContextMenu","afterOnCellMouseOver","afterOnCellMouseOut","afterRemoveCol","afterRemoveRow","beforeRenderer","afterRenderer","afterRowSequenceCacheUpdate","afterRowSequenceChange","beforeViewportScrollVertically","beforeViewportScrollHorizontally","beforeViewportScroll","afterScrollHorizontally","afterScrollVertically","afterScroll","afterSelection","afterSelectionByProp","afterSelectionEnd","afterSelectionEndByProp","afterSelectionFocusSet","beforeSelectColumns","afterSelectColumns","beforeSelectRows","afterSelectRows","beforeSelectAll","afterSelectAll","afterSetCellMeta","afterRemoveCellMeta","afterSetDataAtCell","afterSetDataAtRowProp","afterSetSourceDataAtCell","afterSetTheme","afterUpdateSettings","afterValidate","beforeLanguageChange","afterLanguageChange","beforeAutofill","afterAutofill","beforeCellAlignment","beforeChange","beforeChangeRender","beforeHeightChange","beforeWidthChange","beforeDrawBorders","beforeGetCellMeta","beforeRemoveCellMeta","beforeInit","beforeInitWalkontable","beforeLoadData","beforeUpdateData","beforeKeyDown","beforeOnCellMouseDown","beforeOnCellMouseUp","beforeOnCellContextMenu","beforeOnCellMouseOver","beforeOnCellMouseOut","beforeRemoveCol","beforeRemoveRow","beforeViewRender","afterViewRender","beforeRender","afterRender","beforeRowWrap","beforeColumnWrap","beforeSetCellMeta","beforeSelectionFocusSet","beforeSetRangeStartOnly","beforeSetRangeStart","beforeSetRangeEnd","beforeSelectionHighlightSet","beforeTouchScroll","beforeValidate","beforeValueRender","construct","init","modifyColHeader","modifyColWidth","modifyFiltersMultiSelectValue","modifyFocusedElement","modifyRowHeader","modifyRowHeight","modifyRowHeightByOverlayName","modifyData","modifySourceData","modifyRowData","modifyGetCellCoords","modifyGetCoordsElement","modifyFocusOnTabNavigation","beforeHighlightingRowHeader","beforeHighlightingColumnHeader","beforeColumnSort","afterColumnSort","modifyAutofillRange","modifyCopyableRange","beforeCut","afterCut","beforeCopy","afterCopy","beforePaste","afterPaste","beforeColumnFreeze","afterColumnFreeze","beforeColumnMove","afterColumnMove","beforeColumnUnfreeze","afterColumnUnfreeze","beforeRowMove","afterRowMove","beforeColumnResize","afterColumnResize","beforeRowResize","afterRowResize","afterGetColumnHeaderRenderers","afterGetRowHeaderRenderers","beforeStretchingColumnWidth","beforeFilter","afterFilter","beforePageChange","afterPageChange","beforePageSizeChange","afterPageSizeChange","afterPageSizeVisibilityChange","afterPageCounterVisibilityChange","afterPageNavigationVisibilityChange","afterFormulasValuesUpdate","afterNamedExpressionAdded","afterNamedExpressionRemoved","afterSheetAdded","afterSheetRenamed","afterSheetRemoved","modifyColumnHeaderHeight","modifyColumnHeaderValue","beforeUndo","beforeUndoStackChange","afterUndo","afterUndoStackChange","beforeRedo","beforeRedoStackChange","afterRedo","afterRedoStackChange","modifyRowHeaderWidth","modifyTransformFocus","modifyTransformStart","modifyTransformEnd","afterModifyTransformFocus","afterModifyTransformStart","afterModifyTransformEnd","afterViewportRowCalculatorOverride","afterViewportColumnCalculatorOverride","afterPluginsInitialized","beforeHideRows","afterHideRows","beforeUnhideRows","afterUnhideRows","beforeHideColumns","afterHideColumns","beforeUnhideColumns","afterUnhideColumns","beforeTrimRow","afterTrimRow","beforeUntrimRow","afterUntrimRow","beforeDropdownMenuShow","afterDropdownMenuShow","afterDropdownMenuHide","beforeAddChild","afterAddChild","beforeDetachChild","afterDetachChild","beforeBeginEditing","afterDialogHide","afterDialogShow","beforeDialogHide","beforeDialogShow","dialogFocusPreviousElement","dialogFocusNextElement","afterDialogFocus","beforeLoadingShow","afterLoadingShow","beforeLoadingHide","afterLoadingHide","beforeEmptyDataStateShow","afterEmptyDataStateShow","beforeEmptyDataStateHide","afterEmptyDataStateHide","afterBeginEditing","beforeMergeCells","afterMergeCells","beforeUnmergeCells","afterUnmergeCells","afterListen","afterUnlisten","afterRefreshDimensions","beforeRefreshDimensions","beforeColumnCollapse","afterColumnCollapse","beforeColumnExpand","afterColumnExpand","modifyAutoColumnSizeSeed"],t.REMOVED_HOOKS=new Map([["modifyRow","8.0.0"],["modifyCol","8.0.0"],["unmodifyRow","8.0.0"],["unmodifyCol","8.0.0"],["skipLengthCache","8.0.0"],["hiddenColumn","8.0.0"],["hiddenRow","8.0.0"]]),t.DEPRECATED_HOOKS=new Map([[]])},30326(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(6578),s=o(23862),a=o(26070),l=o(26192),h=o(3179),d=o(74023),c=o(76534);const u=l.toSingleLine`The plugin hook "[hookName]" was removed in Handsontable [removedInVersion].\x20
36
36
  Please consult release notes https://github.com/handsontable/handsontable/releases/tag/[removedInVersion] to\x20
37
37
  learn about the migration path.`;class g{constructor(){(0,n.default)(this,"globalBucket",new c.HooksBucket)}static getSingleton(){return p}getBucket(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return e?(e.pluginHookBucket||(e.pluginHookBucket=new c.HooksBucket),e.pluginHookBucket):this.globalBucket}add(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0;return Array.isArray(t)?(0,i.arrayEach)(t,t=>this.add(e,t,o)):(d.REMOVED_HOOKS.has(e)&&(0,a.warn)((0,s.substitute)(u,{hookName:e,removedInVersion:d.REMOVED_HOOKS.get(e)})),d.DEPRECATED_HOOKS.has(e)&&(0,a.warn)(d.DEPRECATED_HOOKS.get(e)),this.getBucket(o).add(e,t,{orderIndex:r,runOnce:!1})),this}once(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0;return Array.isArray(t)?(0,i.arrayEach)(t,t=>this.once(e,t,o)):this.getBucket(o).add(e,t,{orderIndex:r,runOnce:!0}),this}addAsFixed(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Array.isArray(t)?(0,i.arrayEach)(t,t=>this.addAsFixed(e,t,o)):this.getBucket(o).add(e,t,{initialHook:!0}),this}remove(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return this.getBucket(o).remove(e,t)}has(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.getBucket(t).has(e)}run(e,t,o,r,n,i,s,a){{const l=this.getBucket().getHooks(t),d=l?l.length:0;let c=0;if(d)for(;c<d;){if(!l[c]||l[c].skip){c+=1;continue}const d=(0,h.fastCall)(l[c].callback,e,o,r,n,i,s,a);void 0!==d&&(o=d),l[c]&&l[c].runOnce&&this.remove(t,l[c].callback),c+=1}}{const l=this.getBucket(e).getHooks(t),d=l?l.length:0;let c=0;if(d)for(;c<d;){if(!l[c]||l[c].skip){c+=1;continue}const d=(0,h.fastCall)(l[c].callback,e,o,r,n,i,s,a);void 0!==d&&(o=d),l[c]&&l[c].runOnce&&this.remove(t,l[c].callback,e),c+=1}}return o}destroy(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.getBucket(e).destroy()}register(e){this.isRegistered(e)||d.REGISTERED_HOOKS.push(e)}deregister(e){this.isRegistered(e)&&d.REGISTERED_HOOKS.splice(d.REGISTERED_HOOKS.indexOf(e),1)}isDeprecated(e){return d.DEPRECATED_HOOKS.has(e)||d.REMOVED_HOOKS.has(e)}isRegistered(e){return d.REGISTERED_HOOKS.indexOf(e)>=0}getRegistered(){return d.REGISTERED_HOOKS}}t.Hooks=g;const p=new g;t.default=g},39481(e,t,o){"use strict";t.__esModule=!0;var r=o(41289);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||(t[e]=r[e]))});var n=o(30326);Object.keys(n).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||(t[e]=n[e]))});var i=o(61397);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||(t[e]=i[e]))})},61397(e,t,o){"use strict";t.__esModule=!0,t.createViewportScroller=function(e){const{selection:t}=e;let o=!1,d=!1;return{resume(){d=!1},suspend(){d=!0},skipNextScrollCycle(){o=!0},scrollTo(c){var u;if(o||d)return void(o=!1);let g;t.isFocusSelectionChanged()?g=(0,i.focusScrollStrategy)(e):t.isSelectedByCorner()?g=(0,n.cornerHeaderScrollStrategy)(e):t.isSelectedByRowHeader()?g=(0,l.rowHeaderScrollStrategy)(e):t.isSelectedByColumnHeader()?g=(0,r.columnHeaderScrollStrategy)(e):1===t.getSelectedRange().size()&&t.isMultiple()?g=(0,s.multipleScrollStrategy)(e):1!==t.getSelectedRange().size()||t.isMultiple()?t.getSelectedRange().size()>1&&(g=(0,a.noncontiguousScrollStrategy)(e)):g=(0,h.singleScrollStrategy)(e),null===(u=g)||void 0===u||u(c)}}};var r=o(20802),n=o(7633),i=o(38495),s=o(36069),a=o(11596),l=o(34466),h=o(25969)},20802(e,t,o){"use strict";t.__esModule=!0,t.columnHeaderScrollStrategy=function(e){return t=>{const o=(0,r.createScrollTargetCalculator)(e).getComputedColumnTarget(t);e.scrollViewportTo({col:o},()=>{const t=!!e.getSettings().colHeaders;(0,r.scrollWindowToCell)(e.getCell(t?-1:0,o,!0))})}};var r=o(95056)},7633(e,t){"use strict";t.__esModule=!0,t.cornerHeaderScrollStrategy=function(){return()=>{}}},38495(e,t,o){"use strict";t.__esModule=!0,t.focusScrollStrategy=function(e){return t=>{e.scrollViewportTo(t.toObject(),()=>{const t=e.getSelectedRangeActive();if(!t)return;const{row:o,col:n}=t.highlight;(0,r.scrollWindowToCell)(e.getCell(o,n,!0))})}};var r=o(95056)},36069(e,t,o){"use strict";t.__esModule=!0,t.multipleScrollStrategy=function(e){return t=>{const o=(0,r.createScrollTargetCalculator)(e),n={row:o.getComputedRowTarget(t),col:o.getComputedColumnTarget(t)};e.scrollViewportTo(n,()=>{const{row:t,col:o}=n;(0,r.scrollWindowToCell)(e.getCell(t,o,!0))})}};var r=o(95056)},11596(e,t,o){"use strict";t.__esModule=!0,t.noncontiguousScrollStrategy=function(e){return t=>{const o=(0,r.createScrollTargetCalculator)(e),n={row:o.getComputedRowTarget(t),col:o.getComputedColumnTarget(t)};e.scrollViewportTo(n,()=>{const{row:t,col:o}=n;(0,r.scrollWindowToCell)(e.getCell(t,o,!0))})}};var r=o(95056)},34466(e,t,o){"use strict";t.__esModule=!0,t.rowHeaderScrollStrategy=function(e){return t=>{const o=(0,r.createScrollTargetCalculator)(e).getComputedRowTarget(t);e.scrollViewportTo({row:o},()=>{const t=!!e.getSettings().rowHeaders;(0,r.scrollWindowToCell)(e.getCell(o,t?-1:0,!0))})}};var r=o(95056)},25969(e,t,o){"use strict";t.__esModule=!0,t.singleScrollStrategy=function(e){return t=>{const o=e.selection.getSelectionSource(),{row:n,col:i}=t,s=()=>{(0,r.scrollWindowToCell)(e.getCell(n,i,!0))};if(n<0&&i>=0)e.scrollViewportTo({col:i},s);else if(i<0&&n>=0)e.scrollViewportTo({row:n},s);else{if("mouse"===o&&(i===e.view.getLastPartiallyVisibleColumn()||n===e.view.getLastPartiallyVisibleRow()))return;e.scrollViewportTo({row:n,col:i},s)}}};var r=o(95056)},95056(e,t,o){"use strict";t.__esModule=!0,t.createScrollTargetCalculator=function(e){const{selection:t,view:o}=e,r=e.getSelectedRangeActive(),n=t.getSelectionSource(),i=o.getFirstFullyVisibleColumn(),s=o.getLastFullyVisibleColumn(),a=r.getTopStartCorner().col,l=r.getBottomEndCorner().col,h=a<=i,d=l>=s,c=o.getFirstFullyVisibleRow(),u=o.getLastFullyVisibleRow(),g=r.getTopStartCorner().row,p=r.getBottomEndCorner().row,f=g<=c,m=p>=u;return{getComputedColumnTarget:e=>"mouse"===n||"keyboard"===n?e.col:h&&d?r.highlight.col:h?a:d?l:e.col,getComputedRowTarget:e=>"mouse"===n||"keyboard"===n?e.row:f&&m?r.highlight.row:f?g:m?p:e.row}},t.scrollWindowToCell=function(e){(0,r.isHTMLElement)(e)&&e.scrollIntoView({block:"nearest",inline:"nearest"})};var r=o(23876)},96042(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(5969),s=o(26891),a=o(38888),l=o(6578),h=o(94366),d=o(79416),c=o(4400),u=o(26032);class g{static get DESTINATION_RENDERER(){return 1}static get DESTINATION_CLIPBOARD_GENERATOR(){return 2}constructor(e,t,o){(0,n.default)(this,"hot",void 0),(0,n.default)(this,"metaManager",void 0),(0,n.default)(this,"tableMeta",void 0),(0,n.default)(this,"dataSource",void 0),(0,n.default)(this,"duckSchema",void 0),(0,n.default)(this,"colToPropCache",void 0),(0,n.default)(this,"propToColCache",void 0),this.hot=e,this.metaManager=o,this.tableMeta=o.getTableMeta(),this.dataSource=t,this.refreshDuckSchema(),this.createMap()}createMap(){const e=this.getSchema();void 0===e&&(0,u.throwWithCause)("trying to create `columns` definition but you didn't provide `schema` nor `data`");const t=this.tableMeta.columns;let o;if(this.colToPropCache=[],this.propToColCache=new Map,t){let r=0,n=0,i=!1;if("function"==typeof t){const t=(0,a.deepObjectSize)(e);r=t>0?t:this.countFirstRowKeys(),i=!0}else{const e=this.tableMeta.maxCols;r=Math.min(e,t.length)}for(o=0;o<r;o++){const e=i?t(o):t[o];if((0,a.isObject)(e)){if(void 0!==e.data){const t=i?n:o;this.colToPropCache[t]=e.data,this.propToColCache.set(e.data,t)}n+=1}}}else this.recursiveDuckColumns(e)}countFirstRowKeys(){return(0,s.countFirstRowKeys)(this.dataSource)}recursiveDuckColumns(e,t,o){let r,n=t,i=o;return void 0===n&&(n=0,i=""),"object"!=typeof e||Array.isArray(e)||(0,a.objectEach)(e,(e,t)=>{null===e?(r=i+t,this.colToPropCache.push(r),this.propToColCache.set(r,n),n+=1):n=this.recursiveDuckColumns(e,n,`${t}.`)}),n}colToProp(e){if(!1===Number.isInteger(e))return e;const t=this.hot.toPhysicalColumn(e);return null===t?e:this.colToPropCache&&(0,d.isDefined)(this.colToPropCache[t])?this.colToPropCache[t]:t}propToCol(e){const t=this.propToColCache.get(e);if((0,d.isDefined)(t))return this.hot.toVisualColumn(t);const o=this.hot.toVisualColumn(e);return null===o?e:o}getSchema(){const e=this.tableMeta.dataSchema;return e?"function"==typeof e?e():e:this.duckSchema}createDuckSchema(){return this.dataSource&&this.dataSource[0]?(0,a.duckSchema)(this.dataSource[0]):{}}refreshDuckSchema(){this.duckSchema=this.createDuckSchema()}createRow(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,{source:o,mode:r="above"}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=this.hot.countSourceRows();let i=n,s=0,l=e;("number"!=typeof l||l>=n)&&(l=n),l<this.hot.countRows()&&(i=this.hot.toPhysicalRow(l));if(!1===this.hot.runHooks("beforeCreateRow",l,t,o)||null===i)return{delta:0};const d=this.tableMeta.maxRows,c=this.getSchema().length,u=[];for(;s<t&&n+s<d;){let e=null;"array"===this.hot.dataType?this.tableMeta.dataSchema?e=(0,a.deepClone)(this.getSchema()):(e=[],(0,h.rangeEach)(c-1,()=>e.push(null))):"function"===this.hot.dataType?e=this.tableMeta.dataSchema(l+s):(e={},(0,a.deepExtend)(e,this.getSchema())),u.push(e),s+=1}this.hot.rowIndexMapper.insertIndexes(l,s),"below"===r&&(i=Math.min(i+1,n)),this.spliceData(i,0,u);const g=this.hot.toVisualRow(i);return this.hot.countSourceRows()===u.length&&this.hot.columnIndexMapper.initToLength(this.hot.getInitialColumnCount()),s>0&&(null==e?this.metaManager.createRow(null,s):"auto"!==o&&this.metaManager.createRow(i,t)),this.hot.runHooks("afterCreateRow",g,s,o),{delta:s,startPhysicalIndex:i}}createCol(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,{source:o,mode:r="start"}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.hot.isColumnModificationAllowed()||(0,u.throwWithCause)("Cannot create new column. When data source in an object, you can only have as much columns as defined in first data row, data schema or in the 'columns' setting.If you want to be able to add new columns, you have to use array datasource.");const n=this.dataSource,i=this.tableMeta.maxCols,s=this.hot.countSourceCols(),a=this.hot.countCols(),l=this.hot.countSourceRows(),h="number"==typeof e&&e<=s?e:a;if(!1===this.hot.runHooks("beforeCreateCol",h,t,o))return{delta:0};const d=h<a?this.hot.toPhysicalColumn(h):s,c="end"===r?Math.min(d+1,s):d;let g=0;for(let e=c;g<t&&a+g<i;e++){if("number"!=typeof h||h>=a+g)if(l>0)for(let e=0;e<l;e+=1)void 0===n[e]&&(n[e]=[]),n[e].push(null);else n.push([null]);else for(let t=0;t<l;t++)n[t].splice(e,0,null);g+=1}return g>0&&(null==e?this.metaManager.createColumn(null,g):"auto"!==o&&this.metaManager.createColumn(c,t)),this.hot.columnIndexMapper.insertIndexes(h,g,r),this.hot.runHooks("afterCreateCol",this.hot.toVisualColumn(c),g,o),this.refreshDuckSchema(),{delta:g,startPhysicalIndex:c}}removeRow(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,o=arguments.length>2?arguments[2]:void 0,r=Number.isInteger(e)?e:-t;const n=this.visualRowsToPhysical(r,t),i=this.hot.countSourceRows();r=(i+r)%i;if(!1===this.hot.runHooks("beforeRemoveRow",r,n.length,n,o))return!1;const s=n.length;if(this.filterData(r,s,n),r<this.hot.countRows()){this.hot.rowIndexMapper.removeIndexes(n);const e=(0,d.isDefined)(this.tableMeta.columns)||(0,d.isDefined)(this.tableMeta.dataSchema)||this.tableMeta.colHeaders;0!==this.hot.rowIndexMapper.getNotTrimmedIndexesLength()||e||this.hot.columnIndexMapper.setIndexesSequence([])}return n.slice(0).sort((e,t)=>t-e).forEach(e=>{this.metaManager.removeRow(e,1)}),this.hot.runHooks("afterRemoveRow",r,s,n,o),!0}removeCol(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,o=arguments.length>2?arguments[2]:void 0;("object"===this.hot.dataType||this.tableMeta.columns)&&(0,u.throwWithCause)("cannot remove column with object data source or columns option specified");let r="number"!=typeof e?-t:e;r=(this.hot.countCols()+r)%this.hot.countCols();const n=this.visualColumnsToPhysical(r,t),i=n.slice(0).sort((e,t)=>t-e);if(!1===this.hot.runHooks("beforeRemoveCol",r,t,n,o))return!1;let s=!0;const a=i.length,l=this.dataSource;for(let e=0;e<a;e++)s&&n[0]!==n[e]-e&&(s=!1);if(s)for(let e=0,o=this.hot.countSourceRows();e<o;e++)l[e].splice(n[0],t),0===e&&this.metaManager.removeColumn(n[0],t);else for(let e=0,t=this.hot.countSourceRows();e<t;e++)for(let t=0;t<a;t++)l[e].splice(i[t],1),0===e&&this.metaManager.removeColumn(i[t],1);return r<this.hot.countCols()&&(this.hot.columnIndexMapper.removeIndexes(n),this.tableMeta.rowHeaders||0!==this.hot.columnIndexMapper.getNotTrimmedIndexesLength()||this.hot.rowIndexMapper.setIndexesSequence([])),this.hot.runHooks("afterRemoveCol",r,t,n,o),this.refreshDuckSchema(),!0}spliceCol(e,t,o){const r=this.hot.getDataAtCol(e),n=r.slice(t,t+o),i=r.slice(t+o);for(var s=arguments.length,a=new Array(s>3?s-3:0),h=3;h<s;h++)a[h-3]=arguments[h];(0,l.extendArray)(a,i);let d=0;for(;d<o;)a.push(null),d+=1;return(0,l.to2dArray)(a),this.hot.populateFromArray(t,e,a,null,null,"spliceCol"),n}spliceRow(e,t,o){const r=this.hot.getSourceDataAtRow(e),n=r.slice(t,t+o),i=r.slice(t+o);for(var s=arguments.length,a=new Array(s>3?s-3:0),h=3;h<s;h++)a[h-3]=arguments[h];(0,l.extendArray)(a,i);let d=0;for(;d<o;)a.push(null),d+=1;return this.hot.populateFromArray(e,t,[a],null,null,"spliceRow"),n}spliceData(e,t,o){if(!1!==this.hot.runHooks("beforeDataSplice",e,t,o)){const t=[...this.dataSource.slice(0,e),...o,...this.dataSource.slice(e)];this.dataSource.length=0,t.forEach(e=>this.dataSource.push(e))}}filterData(e,t,o){let r=this.hot.runHooks("filterData",e,t,o);!1===Array.isArray(r)&&(r=this.dataSource.filter((e,t)=>-1===o.indexOf(t))),this.dataSource.length=0,Array.prototype.push.apply(this.dataSource,r)}get(e,t){const o=this.hot.toPhysicalRow(e);let r=this.dataSource[o];const n=this.hot.runHooks("modifyRowData",o);r=isNaN(n)?n:r;const{dataDotNotation:i}=this.hot.getSettings();let s=null;if(r&&r.hasOwnProperty&&(0,a.hasOwnProperty)(r,t))s=r[t];else if(i&&"string"==typeof t&&t.indexOf(".")>-1){let e=r;if(!e)return null;const o=t.split(".");for(let t=0,r=o.length;t<r;t++)if(e=e[o[t]],void 0===e)return null;s=e}else"function"==typeof t&&(s=t(this.dataSource.slice(o,o+1)[0]));const l=this.propToCol(t),d=this.hot.toPhysicalColumn(l);if((0,h.isUnsignedNumber)(o)&&(0,h.isUnsignedNumber)(d)&&(s=(0,c.getValueGetterValue)(s,this.metaManager.getCellMeta(o,d,{visualRow:e,visualColumn:l,skipMetaExtension:!0}))),this.hot.hasHook("modifyData")){const t=(0,a.createObjectPropListener)(s);this.hot.runHooks("modifyData",e,l,t,"get"),t.isTouched()&&(s=t.value)}return s}getCopyable(e,t){return this.hot.getCellMeta(e,this.propToCol(t)).copyable?this.get(e,t):""}set(e,t,o){const r=this.hot.toPhysicalRow(e);let n=o,i=this.dataSource[r];const s=this.hot.runHooks("modifyRowData",r);if(i=isNaN(s)?s:i,this.hot.hasHook("modifyData")){const o=(0,a.createObjectPropListener)(n);this.hot.runHooks("modifyData",e,this.propToCol(t),o,"set"),o.isTouched()&&(n=o.value)}const{dataDotNotation:l}=this.hot.getSettings();if(i&&i.hasOwnProperty&&(0,a.hasOwnProperty)(i,t))i[t]=n;else if(l&&"string"==typeof t&&t.indexOf(".")>-1){let e,o=i,r=0;const s=t.split(".");for(r=0,e=s.length-1;r<e;r++){if("__proto__"===s[r]||"constructor"===s[r]||"prototype"===s[r])return;void 0===o[s[r]]&&(o[s[r]]={}),o=o[s[r]]}o[s[r]]=n}else if("function"==typeof t)t(this.dataSource.slice(r,r+1)[0],n);else{if("__proto__"===t||"constructor"===t||"prototype"===t)return;i[t]=n}}visualRowsToPhysical(e,t){const o=this.hot.countSourceRows(),r=[];let n,i=(o+e)%o,s=t;for(;i<o&&s;)n=this.hot.toPhysicalRow(i),r.push(n),s-=1,i+=1;return r}visualColumnsToPhysical(e,t){const o=this.hot.countCols(),r=[];let n=(o+e)%o,i=t;for(;n<o&&i;){const e=this.hot.toPhysicalColumn(n);r.push(e),i-=1,n+=1}return r}clear(){for(let e=0;e<this.hot.countSourceRows();e++)for(let t=0;t<this.hot.countCols();t++)this.set(e,this.colToProp(t),"")}getLength(){const e=this.tableMeta.maxRows;let t;t=e<0||0===e?0:e||1/0;const o=this.hot.rowIndexMapper.getNotTrimmedIndexesLength();return Math.min(o,t)}getAll(){const e={row:0,col:0},t={row:Math.max(this.hot.countRows()-1,0),col:Math.max(this.hot.countCols()-1,0)};return e.row-t.row!==0||this.hot.countSourceRows()?this.getRange(e,t,g.DESTINATION_RENDERER):[]}countCachedColumns(){return this.colToPropCache.length}getRange(e,t,o){const r=[];let n,i,s;const a=this.tableMeta.maxRows,l=this.tableMeta.maxCols;if(0===a||0===l)return[];const h=o===g.DESTINATION_CLIPBOARD_GENERATOR?this.getCopyable:this.get,d=Math.min(Math.max(a-1,0),Math.max(e.row,t.row)),c=Math.min(Math.max(l-1,0),Math.max(e.col,t.col));for(n=Math.min(e.row,t.row);n<=d;n++){s=[];const o=n>=0?this.hot.toPhysicalRow(n):n;for(i=Math.min(e.col,t.col);i<=c&&null!==o;i++)s.push(h.call(this,n,this.colToProp(i)));null!==o&&r.push(s)}return r}getText(e,t){return(0,i.stringify)(this.getRange(e,t,g.DESTINATION_RENDERER))}getCopyableText(e,t){return(0,i.stringify)(this.getRange(e,t,g.DESTINATION_CLIPBOARD_GENERATOR))}destroy(){this.hot=null,this.metaManager=null,this.dataSource=null,this.duckSchema=null,this.colToPropCache.length=0,this.propToColCache.clear(),this.propToColCache=void 0}}t.default=g},43567(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(38888),s=o(26891),a=o(6578),l=o(94366),h=o(3179);t.default=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];(0,n.default)(this,"hot",void 0),(0,n.default)(this,"data",void 0),(0,n.default)(this,"dataType","array"),(0,n.default)(this,"colToProp",()=>{}),(0,n.default)(this,"propToCol",()=>{}),this.hot=e,this.data=t}modifyRowData(e){let t;return this.hot.hasHook("modifyRowData")&&(t=this.hot.runHooks("modifyRowData",e)),void 0===t||Number.isInteger(t)?this.data[e]:t}getData(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.data&&0!==this.data.length?this.getByRange(null,null,e):this.data}setData(e){this.data=e}getAtColumn(e){const t=[];return(0,a.arrayEach)(this.data,(o,r)=>{const n=this.getAtCell(r,e);t.push(n)}),t}getAtRow(e,t,o){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const n=void 0===t&&void 0===o,{dataDotNotation:s}=this.hot.getSettings();let a=null,d=null;if(a=this.modifyRowData(e),Array.isArray(a))d=[],n?a.forEach((t,o)=>{d[o]=this.getAtPhysicalCell(e,o,a)}):(0,l.rangeEach)(t,o,o=>{d[o-t]=this.getAtPhysicalCell(e,o,a)});else if((0,i.isObject)(a)||(0,h.isFunction)(a))if(d=r?[]:{},!n||r){const n=0,h=this.countFirstRowKeys()-1;(0,l.rangeEach)(n,h,l=>{const c=this.colToProp(l);if(l>=(t||n)&&l<=(o||h)&&!Number.isInteger(c)){const t=this.getAtPhysicalCell(e,c,a);r?d.push(t):s?(0,i.setProperty)(d,c,t):d[c]=t}})}else(0,i.objectEach)(a,(t,o)=>{const r=this.getAtPhysicalCell(e,o,a);s?(0,i.setProperty)(d,o,r):d[o]=r});return d}setAtCell(e,t,o){if(!(e>=this.countRows()||t>=this.countFirstRowKeys())){if(this.hot.hasHook("modifySourceData")){const r=(0,i.createObjectPropListener)(o);this.hot.runHooks("modifySourceData",e,t,r,"set"),r.isTouched()&&(o=r.value)}["__proto__","constructor","prototype"].includes(e)||(Number.isInteger(t)?this.data[e][t]=o:(0,i.setProperty)(this.data[e],t,o))}}getAtPhysicalCell(e,t,o){let r=null;if(o)if("string"==typeof t){const{dataDotNotation:e}=this.hot.getSettings();r=e?(0,i.getProperty)(o,t):o[t]}else r="function"==typeof t?t(o):o[t];if(this.hot.hasHook("modifySourceData")){const o=(0,i.createObjectPropListener)(r);this.hot.runHooks("modifySourceData",e,t,o,"get"),o.isTouched()&&(r=o.value)}return r}getAtCell(e,t){const o=this.modifyRowData(e);return this.getAtPhysicalCell(e,this.colToProp(t),o)}getByRange(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!1,n=null,i=null,s=null,a=null;null===e||null===t?(r=!0,n=0,s=this.countRows()-1):(n=Math.min(e.row,t.row),i=Math.min(e.col,t.col),s=Math.max(e.row,t.row),a=Math.max(e.col,t.col));const h=[];return(0,l.rangeEach)(n,s,e=>{h.push(r?this.getAtRow(e,void 0,void 0,o):this.getAtRow(e,i,a,o))}),h}getCopyable(e,t){const o=this.propToCol(t);return this.hot.getCellMeta(e,o).copyable?this.getAtCell(this.hot.toPhysicalRow(e),o):""}countRows(){if(this.hot.hasHook("modifySourceLength")){const e=this.hot.runHooks("modifySourceLength");if(Number.isInteger(e))return e}return this.data.length}countFirstRowKeys(){return(0,s.countFirstRowKeys)(this.data)}destroy(){this.data=null,this.hot=null}}},25136(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(96042));t.DataMap=n.default;var i=r(o(43567));t.DataSource=i.default;var s=r(o(88251));t.MetaManager=s.default;var a=r(o(96721));t.metaSchemaFactory=a.default;var l=o(66144);t.replaceData=l.replaceData;var h=o(3949);t.DynamicCellMetaMod=h.DynamicCellMetaMod;var d=o(79457);t.ExtendMetaPropertiesMod=d.ExtendMetaPropertiesMod;var c=o(86225);t.runSourceDataValidator=c.runSourceDataValidator,t.runSourceDataValidators=c.runSourceDataValidators},88251(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(59477)),i=r(o(87250)),s=r(o(84228)),a=r(o(26130)),l=r(o(81551)),h=o(38888),d=o(26032);class c{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];this.hot=e,this.globalMeta=new n.default(e),this.tableMeta=new i.default(this.globalMeta),this.columnMeta=new s.default(this.globalMeta),this.cellMeta=new a.default(this.columnMeta),o.forEach(e=>new e(this)),this.globalMeta.updateMeta(t)}getGlobalMeta(){return this.globalMeta.getMeta()}updateGlobalMeta(e){this.globalMeta.updateMeta(e)}getTableMeta(){return this.tableMeta.getMeta()}updateTableMeta(e){this.tableMeta.updateMeta(e)}getColumnMeta(e){return this.columnMeta.getMeta(e)}updateColumnMeta(e,t){this.columnMeta.updateMeta(e,t)}getCellMeta(e,t,o){const r=this.cellMeta.getMeta(e,t);return r.visualRow=o.visualRow,r.visualCol=o.visualColumn,r.row=e,r.col=t,o.skipMetaExtension||this.runLocalHooks("afterGetCellMeta",r),r}getCellMetaKeyValue(e,t,o){return"string"!=typeof o&&(0,d.throwWithCause)("The passed cell meta object key is not a string"),this.cellMeta.getMeta(e,t,o)}setCellMeta(e,t,o,r){this.cellMeta.setMeta(e,t,o,r)}updateCellMeta(e,t,o){this.cellMeta.updateMeta(e,t,o)}removeCellMeta(e,t,o){this.cellMeta.removeMeta(e,t,o)}getCellsMeta(){return this.cellMeta.getMetas()}getCellsMetaAtRow(e){return this.cellMeta.getMetasAtRow(e)}createRow(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cellMeta.createRow(e,t)}removeRow(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cellMeta.removeRow(e,t)}createColumn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cellMeta.createColumn(e,t),this.columnMeta.createColumn(e,t)}removeColumn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cellMeta.removeColumn(e,t),this.columnMeta.removeColumn(e,t)}clearCellsCache(){this.cellMeta.clearCache()}clearCache(){this.cellMeta.clearCache(),this.columnMeta.clearCache()}}t.default=c,(0,h.mixin)(c,l.default)},56845(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(61574),s=o(94366);class a{constructor(e){(0,n.default)(this,"valueFactory",void 0),(0,n.default)(this,"data",[]),(0,n.default)(this,"index",[]),(0,n.default)(this,"holes",new Set),this.valueFactory=e}obtain(e){(0,i.assert)(()=>(0,s.isUnsignedNumber)(e),"Expecting an unsigned number.");const t=this._getStorageIndexByKey(e);let o;if(t>=0)o=this.data[t],void 0===o&&(o=this.valueFactory(e),this.data[t]=o);else if(o=this.valueFactory(e),this.holes.size>0){const t=this.holes.values().next().value;this.holes.delete(t),this.data[t]=o,this.index[e]=t}else this.data.push(o),this.index[e]=this.data.length-1;return o}insert(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;(0,i.assert)(()=>(0,s.isUnsignedNumber)(e)||(0,i.isNullish)(e),"Expecting an unsigned number or null/undefined argument.");const o=[],r=this.data.length;for(let e=0;e<t;e++)o.push(r+e),this.data.push(void 0);const n=(0,i.isNullish)(e)?this.index.length:e;this.index=[...this.index.slice(0,n),...o,...this.index.slice(n)]}remove(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;(0,i.assert)(()=>(0,s.isUnsignedNumber)(e)||(0,i.isNullish)(e),"Expecting an unsigned number or null/undefined argument.");const o=this.index.splice((0,i.isNullish)(e)?this.index.length-t:e,t);for(let e=0;e<o.length;e++){const t=o[e];"number"==typeof t&&this.holes.add(t)}}size(){return this.data.length-this.holes.size}values(){return this.data.filter((e,t)=>void 0!==e&&!this.holes.has(t))[Symbol.iterator]()}entries(){const e=[];for(let t=0;t<this.data.length;t++){const o=this._getKeyByStorageIndex(t);-1!==o&&void 0!==this.data[t]&&e.push([o,this.data[t]])}let t=0;return{next:()=>{if(t<e.length){const o=e[t];return t+=1,{value:o,done:!1}}return{done:!0}}}}clear(){this.data=[],this.index=[],this.holes.clear()}_getStorageIndexByKey(e){return this.index.length>e?this.index[e]:-1}_getKeyByStorageIndex(e){return this.index.indexOf(e)}[Symbol.iterator](){return this.entries()}}t.default=a},26130(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(61574),s=r(o(56845)),a=o(38888),l=o(79416),h=o(94366);t.default=class{constructor(e){(0,n.default)(this,"columnMeta",void 0),(0,n.default)(this,"metas",new s.default(()=>this._createRow())),this.columnMeta=e}updateMeta(e,t,o){const r=this.getMeta(e,t);(0,a.extend)(r,o),(0,i.extendByMetaType)(r,o)}createRow(e,t){this.metas.insert(e,t)}createColumn(e,t){for(let o=0;o<this.metas.size();o++)this.metas.obtain(o).insert(e,t)}removeRow(e,t){this.metas.remove(e,t)}removeColumn(e,t){for(let o=0;o<this.metas.size();o++)this.metas.obtain(o).remove(e,t)}getMeta(e,t,o){const r=this.metas.obtain(e).obtain(t);return void 0===o?r:r[o]}setMeta(e,t,o,r){var n;const i=this.metas.obtain(e).obtain(t);null===(n=i._automaticallyAssignedMetaProps)||void 0===n||n.delete(o),i[o]=r}removeMeta(e,t,o){delete this.metas.obtain(e).obtain(t)[o]}getMetas(){const e=[],t=Array.from(this.metas.values());for(let o=0;o<t.length;o++)(0,l.isDefined)(t[o])&&e.push(...t[o].values());return e}getMetasAtRow(e){(0,i.assert)(()=>(0,h.isUnsignedNumber)(e),"Expecting an unsigned number.");const t=new Map(this.metas);return t.has(e)?Array.from(t.get(e).values()):[]}clearCache(){this.metas.clear()}_createRow(){return new s.default(e=>this._createMeta(e))}_createMeta(e){return new(this.columnMeta.getMetaConstructor(e))}}},84228(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(38888),s=o(61574),a=r(o(56845));const l=["data","width"];t.default=class{constructor(e){(0,n.default)(this,"globalMeta",void 0),(0,n.default)(this,"metas",new a.default(()=>this._createMeta())),this.globalMeta=e,this.metas=new a.default(()=>this._createMeta())}updateMeta(e,t){const o=this.getMeta(e);(0,i.extend)(o,t),(0,s.extendByMetaType)(o,t)}createColumn(e,t){this.metas.insert(e,t)}removeColumn(e,t){this.metas.remove(e,t)}getMeta(e){return this.metas.obtain(e)}getMetaConstructor(e){return this.metas.obtain(e).constructor}clearCache(){this.metas.clear()}_createMeta(){return(0,s.columnFactory)(this.globalMeta.getMetaConstructor(),l).prototype}}},59477(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(38888),s=o(61574),a=r(o(96721));t.default=class{constructor(e){(0,n.default)(this,"metaCtor",class{}),(0,n.default)(this,"meta",void 0),this.meta=this.metaCtor.prototype,(0,i.extend)(this.meta,(0,a.default)()),this.meta.instance=e}getMetaConstructor(){return this.metaCtor}getMeta(){return this.meta}updateMeta(e){var t;(0,i.extend)(this.meta,e),(0,s.extendByMetaType)(this.meta,{...e,type:null!==(t=e.type)&&void 0!==t?t:this.meta.type},e)}}},87250(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(38888),s=o(61574);t.default=class{constructor(e){(0,n.default)(this,"meta",void 0);const t=e.getMetaConstructor();this.meta=new t}getMeta(){return this.meta}updateMeta(e){(0,i.extend)(this.meta,e),(0,s.extendByMetaType)(this.meta,e,e)}}},96721(e,t,o){"use strict";t.__esModule=!0;var r=o(79416),n=o(38888);t.default=()=>({_automaticallyAssignedMetaProps:void 0,activeHeaderClassName:"ht__active_highlight",allowEmpty:!0,allowHtml:!1,allowInsertColumn:!0,allowInsertRow:!0,allowInvalid:!0,allowRemoveColumn:!0,allowRemoveRow:!0,ariaTags:!0,autoColumnSize:void 0,autoRowSize:void 0,autoWrapCol:!1,autoWrapRow:!1,bindRowsWithHeaders:void 0,cell:[],cells:void 0,checkedTemplate:void 0,className:void 0,colHeaders:null,collapsibleColumns:void 0,columnHeaderHeight:void 0,columns:void 0,columnSorting:void 0,columnSummary:void 0,colWidths:void 0,commentedCellClassName:"htCommentCell",comments:!1,contextMenu:void 0,copyable:!0,copyPaste:!0,correctFormat:!1,currentColClassName:void 0,currentHeaderClassName:"ht__highlight",currentRowClassName:void 0,customBorders:!1,data:void 0,dataDotNotation:!0,dataSchema:void 0,dateFormat:"DD/MM/YYYY",timeFormat:"h:mm:ss a",datePickerConfig:void 0,defaultDate:void 0,disableVisualSelection:!1,dialog:!1,dragToScroll:!0,dropdownMenu:void 0,editor:void 0,emptyDataState:!1,enterBeginsEditing:!0,enterCommits:!0,enterMoves:{col:0,row:1},fillHandle:{autoInsertRow:!1},filter:!0,filteringCaseSensitive:!1,filters:void 0,filterSelectedItems:!0,fixedColumnsLeft:0,fixedColumnsStart:0,fixedRowsBottom:0,fixedRowsTop:0,formulas:void 0,fragmentSelection:!1,headerClassName:void 0,height:void 0,hiddenColumns:void 0,hiddenRows:void 0,initialState:void 0,invalidCellClassName:"htInvalid",imeFastEdit:!1,isEmptyCol(e){let t,o,n;for(t=0,o=this.countRows();t<o;t++)if(n=this.getDataAtCell(t,e),!1===(0,r.isEmpty)(n))return!1;return!0},isEmptyRow(e){let t,o,i,s;for(t=0,o=this.countCols();t<o;t++)if(i=this.getDataAtCell(e,t),!1===(0,r.isEmpty)(i))return"object"==typeof i&&(s=this.getCellMeta(e,t),(0,n.isObjectEqual)(this.getSchema()[s.prop],i));return!0},label:void 0,language:"en-US",layoutDirection:"inherit",licenseKey:void 0,locale:"en-US",loading:!1,manualColumnFreeze:void 0,manualColumnMove:void 0,manualColumnResize:void 0,manualRowMove:void 0,manualRowResize:void 0,maxCols:1/0,maxRows:1/0,maxSelections:void 0,mergeCells:!1,minCols:0,minRowHeights:void 0,minRows:0,minSpareCols:0,minSpareRows:0,multiColumnSorting:void 0,navigableHeaders:!1,tabNavigation:!0,nestedHeaders:void 0,nestedRows:void 0,noWordWrapClassName:"htNoWrap",numericFormat:void 0,observeDOMVisibility:!0,outsideClickDeselects:!0,pagination:void 0,placeholder:void 0,placeholderCellClassName:"htPlaceholder",preventOverflow:!1,preventWheel:!1,readOnly:!1,readOnlyCellClassName:"htDimmed",renderAllRows:!1,renderAllColumns:!1,renderer:void 0,valueFormatter:void 0,valueParser:void 0,rowHeaders:void 0,rowHeaderWidth:void 0,rowHeights:void 0,search:!1,searchInput:!0,selectionMode:"multiple",selectOptions:void 0,skipColumnOnPaste:!1,skipRowOnPaste:!1,sortByRelevance:!0,sourceSortFunction:void 0,source:void 0,startCols:5,startRows:5,stretchH:"none",strict:void 0,tableClassName:void 0,textEllipsis:!1,themeName:void 0,theme:void 0,injectCoreCss:!0,tabMoves:{row:0,col:1},title:void 0,trimDropdown:!0,trimRows:void 0,trimWhitespace:!0,type:"text",uncheckedTemplate:void 0,undo:!0,validator:void 0,sourceDataValidator:void 0,sourceDataWarningMessage:void 0,valueGetter:void 0,valueSetter:void 0,viewportColumnRenderingOffset:"auto",viewportRowRenderingOffset:"auto",viewportColumnRenderingThreshold:0,viewportRowRenderingThreshold:0,visibleRows:10,width:void 0,wordWrap:!0,sanitizer:void 0,parsePastedValue:!1})},3949(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(30326),s=o(38888),a=o(3179);t.DynamicCellMetaMod=class{constructor(e){var t=this;(0,n.default)(this,"metaManager",void 0),(0,n.default)(this,"metaSyncMemo",new Map),this.metaManager=e,e.addLocalHook("afterGetCellMeta",function(){return t.extendCellMeta(...arguments)}),i.Hooks.getSingleton().add("beforeRender",e=>{e&&this.metaSyncMemo.clear()},this.metaManager.hot)}extendCellMeta(e){var t;const{row:o,col:r}=e;if(null!==(t=this.metaSyncMemo.get(o))&&void 0!==t&&t.has(r))return;const{visualRow:n,visualCol:i}=e,l=this.metaManager.hot,h=l.colToProp(i);e.prop=h,l.runHooks("beforeGetCellMeta",n,i,e);const d=(0,s.hasOwnProperty)(e,"type")?e.type:null;let c=(0,a.isFunction)(e.cells)?e.cells(o,r,h):null;var u;d&&(c?c.type=null!==(u=c.type)&&void 0!==u?u:d:c={type:d});c&&this.metaManager.updateCellMeta(o,r,c),l.runHooks("afterGetCellMeta",n,i,e),this.metaSyncMemo.has(o)||this.metaSyncMemo.set(o,new Set),this.metaSyncMemo.get(o).add(r)}}},79457(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(26070),s=o(26032);function a(e,t,o){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,o)}function l(e,t){return e.get(function(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}(e,t))}const h=new WeakSet,d=new WeakSet;var c=new WeakMap;t.ExtendMetaPropertiesMod=class{constructor(e){(0,n.default)(this,"metaManager",void 0),(0,n.default)(this,"usageTracker",new Set),(0,n.default)(this,"propDescriptors",new Map([["ariaTags",{initOnly:!0}],["fixedColumnsLeft",{target:"fixedColumnsStart",onChange(e){this.metaManager.hot.isRtl()&&"fixedColumnsLeft"===e&&(0,s.throwWithCause)("The `fixedColumnsLeft` is not supported for RTL. Please use option `fixedColumnsStart`."),this.usageTracker.has("fixedColumnsLeft")&&this.usageTracker.has("fixedColumnsStart")&&(0,s.throwWithCause)("The `fixedColumnsLeft` and `fixedColumnsStart` should not be used together. Please use only the option `fixedColumnsStart`.")}}],["correctFormat",{onChange(){h.has(this.metaManager.hot)||(h.add(this.metaManager.hot),(0,i.deprecatedWarn)("The `correctFormat` option is deprecated and will be removed in the next major release.\n\nMigration guide: https://handsontable.com/docs/migration-from-16.2-to-17.0/"))}}],["datePickerConfig",{onChange(){d.has(this.metaManager.hot)||(d.add(this.metaManager.hot),(0,i.deprecatedWarn)("The `datePickerConfig` option is deprecated and will be removed in the next major release.\n\nMigration guide: https://handsontable.com/docs/migration-from-16.2-to-17.0/"))}}],["layoutDirection",{initOnly:!0}],["renderAllColumns",{initOnly:!0}],["renderAllRows",{initOnly:!0}]])),a(this,c,(e,t,o)=>{o||(0,s.throwWithCause)(`The \`${e}\` option can not be updated after the Handsontable is initialized.`)}),this.metaManager=e,this.extendMetaProps()}extendMetaProps(){this.propDescriptors.forEach((e,t)=>{const{initOnly:o,target:r,onChange:n}=e,i="string"==typeof r,s=i?r:t,a=`_${s}`;this.metaManager.globalMeta.meta[a]=this.metaManager.globalMeta.meta[s],n?(this.installPropWatcher(t,a,n),i&&this.installPropWatcher(r,a,n)):o&&(this.installPropWatcher(t,a,l(c,this)),this.metaManager.globalMeta.meta._initOnlySettings||(this.metaManager.globalMeta.meta._initOnlySettings=[]),this.metaManager.globalMeta.meta._initOnlySettings.push(t))})}installPropWatcher(e,t,o){const r=this;Object.defineProperty(this.metaManager.globalMeta.meta,e,{get(){return this[t]},set(n){const i=!r.usageTracker.has(e);r.usageTracker.add(e),o.call(r,e,n,i),this[t]=n},enumerable:!0,configurable:!0})}}},61574(e,t,o){"use strict";t.__esModule=!0,t.assert=function(e,t){e()||(0,n.throwWithCause)(`Assertion failed: ${t}`)},t.columnFactory=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];function o(){}(0,r.inherit)(o,e);for(let e=0;e<t.length;e++)o.prototype[t[e]]=void 0;return o},t.extendByMetaType=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;const n="string"==typeof t.type?(0,i.getCellType)(t.type):t.type;e._automaticallyAssignedMetaProps&&(0,r.objectEach)(t,(t,o)=>{e._automaticallyAssignedMetaProps.delete(o)});if(!(0,r.isObject)(n))return;o!==e||e._automaticallyAssignedMetaProps||(e._automaticallyAssignedMetaProps=new Set);const s={};(0,r.objectEach)(n,(t,n)=>{var i;(function(e,t){var o;if("CELL_TYPE"===e)return!1;return(null===(o=t._automaticallyAssignedMetaProps)||void 0===o?void 0:o.has(e))||!(0,r.hasOwnProperty)(t,e)})(n,o)&&(s[n]=t,null===(i=e._automaticallyAssignedMetaProps)||void 0===i||i.add(n))}),(0,r.extend)(e,s)},t.isNullish=function(e){return null==e};var r=o(38888),n=o(26032),i=o(3868)},66144(e,t,o){"use strict";var r=o(62682);t.__esModule=!0,t.replaceData=function(e,t,o,r){const{hotInstance:u,dataMap:g,dataSource:p,internalSource:f,source:m,metaManager:C,firstRun:w}=r,b=(0,n.toUpperCaseFirst)(f),v=u.getSettings();Array.isArray(v.dataSchema)?u.dataType="array":(0,i.isFunction)(v.dataSchema)?u.dataType="function":u.dataType="object";g&&g.destroy();e=u.runHooks(`before${b}`,e,w,m);const y=new s.default(u,e,C);if(t(y),"object"==typeof e&&null!==e)e.push&&e.splice||(e=[e]);else if(null===e){const t=y.getSchema();let o;e=[];let r=0,n=0;for(r=0,n=v.startRows;r<n;r++)if("object"!==u.dataType&&"function"!==u.dataType||!v.dataSchema)if("array"===u.dataType)o=(0,a.deepClone)(t[0]),e.push(o);else{o=[];for(let e=0,t=v.startCols;e<t;e++)o.push(null);e.push(o)}else o=(0,a.deepClone)(t),e.push(o)}else(0,c.throwWithCause)(`${f} only accepts array of objects or array of arrays (${typeof e} given)`);Array.isArray(e[0])&&(u.dataType="array");v.data=e,y.dataSource=e,p.data=e,p.dataType=u.dataType,p.colToProp=y.colToProp.bind(y),p.propToCol=y.propToCol.bind(y),p.countCachedColumns=y.countCachedColumns.bind(y),o(y),w||(0,d.runSourceDataValidators)(u,f);u.runHooks(`after${b}`,e,w,m),w||(u.runHooks("afterChange",null,f),u.view.adjustElementsSize(),u.render());u.getSettings().ariaTags&&(0,l.setAttribute)(u.rootElement,[(0,h.A11Y_ROWCOUNT)(-1),(0,h.A11Y_COLCOUNT)(u.countCols()+(u.view?u.countRowHeaders():0))])};var n=o(23862),i=o(3179),s=r(o(96042)),a=o(38888),l=o(23876),h=o(12175),d=o(86225),c=o(26032)},86225(e,t,o){"use strict";t.__esModule=!0,t.runSourceDataValidator=function(e,t,o){const r=t.sourceDataValidator;if(!(0,n.isFunction)(r))return!0;if(!0===r(e,t,o))return!0;const{row:i,col:a,sourceDataWarningMessage:l,allowInvalid:h}=t;l&&s(l,[{row:i,col:a,value:e}]);return!0===h},t.runSourceDataValidators=function(e,t){const o=e.countSourceRows(),r=e.countSourceCols();if(0===o||0===r)return;const i=new Map;for(let s=0;s<o;s+=1)for(let o=0;o<r;o+=1){const r=e.toVisualRow(s),l=e.toVisualColumn(o);if(null===r||null===l)continue;const h=e.getCellMeta(r,l),{sourceDataWarningMessage:d,sourceDataValidator:c,allowInvalid:u}=h;if(!(0,n.isFunction)(c))continue;const g=e._getDataSource(),p=g.getAtCell(s,o,null);if(!0!==c(p,h,t)&&(!1===u&&g.setAtCell(s,o,null),d)){var a;const e=d,t=null!==(a=i.get(e))&&void 0!==a?a:[];t.push({row:s,col:o,value:p,message:e}),i.set(e,t)}}i.forEach((e,t)=>{s(t,e)})};var r=o(26070),n=o(3179),i=o(79416);function s(e,t){(0,r.logAggregatedItems)({logFunction:r.warn,message:e,items:t,itemFormatter:e=>{let{row:t,col:o,value:r}=e;const n=(0,i.stringify)(r);return`row ${t}, col ${o}, value: "${n.length>64?`${n.slice(0,64)}...`:n}"`}})}},39913(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(82268),s=o(31100),a=o(95669),l=r(o(34354));function h(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function d(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var c=new WeakSet;class u{constructor(e,t,o){h(this,c),(0,n.default)(this,"hot",void 0),(0,n.default)(this,"tableMeta",void 0),(0,n.default)(this,"selection",void 0),(0,n.default)(this,"eventManager",void 0),(0,n.default)(this,"destroyed",!1),(0,n.default)(this,"activeEditor",void 0),(0,n.default)(this,"cellProperties",void 0),this.hot=e,this.tableMeta=t,this.selection=o,this.eventManager=new l.default(e),this.hot.addHook("afterDocumentKeyDown",e=>d(c,this,g).call(this,e)),this.hot.addHook("beforeCompositionStart",e=>d(c,this,g).call(this,e)),this.hot.view._wt.update("onCellDblClick",(e,t,o)=>d(c,this,p).call(this,e,t,o))}getActiveEditor(){return this.activeEditor}prepareEditor(){var e;if(this.activeEditor&&this.activeEditor.isWaiting())return void this.closeEditor(!1,!1,e=>{e&&this.prepareEditor()});const t=null===(e=this.hot.getSelectedRangeActive())||void 0===e?void 0:e.highlight;if(!t||t.isHeader())return;const{row:o,col:r}=t,n=this.hot.runHooks("modifyGetCellCoords",o,r,!1,"meta");let i=o,s=r;if(Array.isArray(n)&&([i,s]=n),this.cellProperties=this.hot.getCellMeta(i,s),!this.isCellEditable())return void this.clearActiveEditor();const l=this.hot.getCell(o,r,!0);if(l){const e=this.hot.getCellEditor(this.cellProperties),t=this.hot.colToProp(s),n=this.hot.getSourceDataAtCell(this.hot.toPhysicalRow(i),s);this.activeEditor=(0,a.getEditorInstance)(e,this.hot),this.activeEditor.prepare(o,r,t,l,n,this.cellProperties)}}isEditorOpened(){return this.activeEditor&&this.activeEditor.isOpened()}openEditor(e,t){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!this.isCellEditable())return void this.clearActiveEditor();const r=this.hot.getSelectedRangeActive();let n=this.hot.runHooks("beforeBeginEditing",r.highlight.row,r.highlight.col,e,t,o);t instanceof MouseEvent&&"boolean"!=typeof n&&(n=0===this.hot.selection.getLayerLevel()&&r.isSingle()),!1!==n?(this.activeEditor||(this.hot.scrollToFocusedCell(),this.prepareEditor()),this.activeEditor&&(o&&this.activeEditor.enableFullEditMode(),this.activeEditor.beginEditing(e,t))):this.clearActiveEditor()}closeEditor(e,t,o){this.activeEditor?this.activeEditor.finishEditing(e,t,o):o&&o(!1)}closeEditorAndSaveChanges(e){this.closeEditor(!1,e)}closeEditorAndRestoreOriginalValue(e){this.closeEditor(!0,e)}clearActiveEditor(){this.activeEditor=void 0}isCellEditable(){const e=this.hot.getSelectedRangeActive();if(!e)return!1;const t=this.hot.getCellEditor(this.cellProperties),{row:o,col:r}=e.highlight,{rowIndexMapper:n,columnIndexMapper:i}=this.hot,s=n.isHidden(this.hot.toPhysicalRow(o))||i.isHidden(this.hot.toPhysicalColumn(r));return!(this.cellProperties.readOnly||!t||s)}moveSelectionAfterEnter(e){const t={..."function"==typeof this.tableMeta.enterMoves?this.tableMeta.enterMoves(e):this.tableMeta.enterMoves};e.shiftKey&&(t.row=-t.row,t.col=-t.col),this.hot.selection.isMultiple()?this.selection.transformFocus(t.row,t.col):this.selection.transformStart(t.row,t.col,!0)}destroy(){this.destroyed=!0,this.eventManager.destroy()}}function g(e){const t=this.hot.getSelectedRangeActive();if(!this.hot.isListening()||!t||t.highlight.isHeader()||(0,s.isImmediatePropagationStopped)(e))return;const{keyCode:o}=e,r=(e.ctrlKey||e.metaKey)&&!e.altKey;(!this.activeEditor||this.activeEditor&&!this.activeEditor.isWaiting())&&((0,i.isFunctionKey)(o)||(0,i.isCtrlMetaKey)(o)||r||this.isEditorOpened()||this.openEditor("",e))}function p(e,t){t.isCell()&&(this.hot.getShortcutManager().isCtrlPressed()?this.clearActiveEditor():this.openEditor(null,e,!0))}const f=new WeakMap;u.getInstance=function(e,t,o){let r=f.get(e);return r||(r=new u(e,t,o),f.set(e,r)),r};t.default=u},21507(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(20101),s=o(6578),a=o(38888),l=o(23876),h=o(79416),d=o(23862),c=o(82268),u=o(90523),g=o(12175),p=o(3179);function f(e,t,o){m(e,t),t.set(e,o)}function m(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function C(e,t){return e.get(w(e,t))}function w(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}const b=t.EDITOR_TYPE="autocomplete";var v=new WeakMap,y=new WeakMap,S=new WeakSet;class E extends i.HandsontableEditor{constructor(){var e,t;super(...arguments),m(e=this,t=S),t.add(e),(0,n.default)(this,"query",null),(0,n.default)(this,"strippedChoices",[]),(0,n.default)(this,"rawChoices",[]),f(this,v,this.hot.guid.slice(0,9)),f(this,y,(0,p.debounce)(()=>{this.focus()},100))}static get EDITOR_TYPE(){return b}getValue(){const e=this.rawChoices.find(e=>{const t=this.stripValueIfNeeded(e);return((0,a.isKeyValueObject)(t)?t.value:t)===this.TEXTAREA.value});return(0,h.isDefined)(e)?e:this.TEXTAREA.value}createElements(){super.createElements(),(0,l.addClass)(this.htContainer,"autocompleteEditor"),(0,l.addClass)(this.htContainer,-1===this.hot.rootWindow.navigator.platform.indexOf("Mac")?"":"htMacScroll"),this.hot.getSettings().ariaTags&&(0,l.setAttribute)(this.TEXTAREA,[(0,g.A11Y_TEXT)(),(0,g.A11Y_COMBOBOX)(),(0,g.A11Y_HASPOPUP)("listbox"),(0,g.A11Y_AUTOCOMPLETE)()])}prepare(e,t,o,r,n,i){super.prepare(e,t,o,r,n,i),this.hot.getSettings().ariaTags&&(0,l.setAttribute)(this.TEXTAREA,[(0,g.A11Y_EXPANDED)("false"),(0,g.A11Y_CONTROLS)(`${C(v,this)}-listbox-${e}-${t}`)]),this.htOptions={...this.htOptions,valueGetter:e=>(0,a.isKeyValueObject)(e)?e.value:e}}open(){super.open();const e=void 0===this.cellProperties.trimDropdown||this.cellProperties.trimDropdown,t=this.hot.getSettings().ariaTags,o=Array.isArray(this.cellProperties.source)?this.cellProperties.source:null,r=null==o?void 0:o.length,{row:n,col:i}=this;this.showEditableElement(),this.focus(),this.addHook("beforeKeyDown",e=>this.onBeforeKeyDown(e)),this.htEditor.addHook("afterScroll",C(y,this)),this.htEditor.updateSettings({colWidths:e?[(0,l.outerWidth)(this.TEXTAREA)-2]:void 0,autoColumnSize:!0,renderer:(e,n,i,s,a,d,c)=>{(0,u.textRenderer)(e,n,i,s,a,d,c);const{filteringCaseSensitive:p,allowHtml:f,locale:m}=this.cellProperties,C=this.query;let w,b,v=(0,h.stringify)(d);v&&!f&&(w=!0===p?v.indexOf(C):v.toLocaleLowerCase(m).indexOf(C.toLocaleLowerCase(m)),-1!==w&&(b=v.substr(w,C.length),v=v.replace(b,`<strong>${b}</strong>`))),t&&(0,l.setAttribute)(n,[(0,g.A11Y_OPTION)(),...o?[(0,g.A11Y_SETSIZE)(r)]:[],...o?[(0,g.A11Y_POSINSET)(o.indexOf(d)+1)]:[],["id",`${this.htEditor.rootElement.id}_${i}-${s}`]]),n.innerHTML=v},afterSelectionEnd:(e,o)=>{if(t){const t=e=>{(0,l.setAttribute)(e,[(0,g.A11Y_SELECTED)()]),(0,l.setAttribute)(this.TEXTAREA,...(0,g.A11Y_ACTIVEDESCENDANT)(e.id))},r=this.htEditor.getCell(e,o,!0);null!==r?t(r):this.htEditor.addHookOnce("afterScrollVertically",()=>{const r=this.htEditor.getCell(e,o,!0);t(r)})}}}),t&&((0,l.setAttribute)(this.htEditor.view._wt.wtOverlays.wtTable.TABLE,...(0,g.A11Y_PRESENTATION)()),(0,l.setAttribute)(this.htEditor.rootElement,[(0,g.A11Y_LISTBOX)(),(0,g.A11Y_LIVE)("polite"),(0,g.A11Y_RELEVANT)("text"),["id",`${C(v,this)}-listbox-${n}-${i}`]]),(0,l.setAttribute)(this.TEXTAREA,...(0,g.A11Y_EXPANDED)("true"))),this.hot._registerTimeout(()=>{this.queryChoices(this.TEXTAREA.value)})}close(){this.removeHooksByKey("beforeKeyDown"),super.close(),this.hot.getSettings().ariaTags&&(0,l.setAttribute)(this.TEXTAREA,[(0,g.A11Y_EXPANDED)("false")])}discardEditor(e){super.discardEditor(e),this.hot.view.render()}finishEditing(e,t,o){if(this.isOpened()){const t=this.hot.getSelectedRangeActive();((0,h.isUndefined)(t)||(0,h.isDefined)(t)&&!t.includes(this.hot._createCellCoords(this.row,this.col)))&&(e=!0)}super.finishEditing(e,t,o)}queryChoices(e){const t=this.cellProperties.source;this.query=e,"function"==typeof t?t.call(this.cellProperties,e,e=>{this.rawChoices=e,this.updateChoicesList(this.stripValuesIfNeeded(e))}):Array.isArray(t)?(this.rawChoices=t,this.updateChoicesList(this.stripValuesIfNeeded(t))):this.updateChoicesList([])}updateChoicesList(e){const t=(0,l.getCaretPosition)(this.TEXTAREA),o=(0,l.getSelectionEndPosition)(this.TEXTAREA),r=this.cellProperties.sortByRelevance,n=this.cellProperties.filter,i=this.stripValueIfNeeded(this.getValue()),c=(0,a.isKeyValueObject)(i)?i.value:i;let u=null,g=e;r||(g=g.toSorted());const p=[],f=this.cellProperties.locale,m=this.cellProperties.filteringCaseSensitive,C=m?c:c.toLocaleLowerCase(f);for(let e=0;e<g.length;e++){const t=(0,a.isKeyValueObject)(g[e])?(0,d.stripTags)((0,h.stringify)(g[e].value)):(0,d.stripTags)((0,h.stringify)(g[e]));if(-1!==(m?t:t.toLocaleLowerCase(f)).indexOf(C)&&(p.push(e),!1===n))break}!1===n?i.length>0&&(u=p[0]):(g=p.map(e=>g[e]),u=g.indexOf(C)>-1?g.indexOf(C):0),this.strippedChoices=g,0===g.length?this.htEditor.rootElement.style.display="none":this.htEditor.rootElement.style.display="",this.htEditor.loadData((0,s.pivot)([g])),g.length>0&&(this.updateDropdownDimensions(),this.flipDropdownVerticallyIfNeeded(),!0===this.cellProperties.strict&&this.highlightBestMatchingChoice(u)),this.hot.listen(),(0,l.setCaretPosition)(this.TEXTAREA,t,t===o?void 0:o)}flipDropdownVerticallyIfNeeded(){const e=super.flipDropdownVerticallyIfNeeded(),{isFlipped:t,spaceAbove:o,spaceBelow:r}=e;return this.limitDropdownIfNeeded(t?o:r),e}limitDropdownIfNeeded(e){const t=this.getDropdownHeight();if(t>e){let o=0,r=0,n=null;do{r=this.htEditor.stylesHandler.getDefaultRowHeight(),o+=r}while(o<e);n=o-r,this.isFlippedVertically&&(this.htEditor.rootElement.style.top=parseInt(this.htEditor.rootElement.style.top,10)+t-n+"px"),this.setDropdownHeight(o-r)}}updateDropdownDimensions(){const e=(0,l.getFractionalScalingCompensation)(),t=this.getTargetEditorWidth()+e,o=this.getTargetEditorHeight()+e;this.htEditor.updateSettings({width:t,height:o}),w(S,this,_).call(this),this.htEditor.view._wt.wtTable.alignOverlaysWithTrimmingContainer()}setDropdownHeight(e){this.htEditor.updateSettings({height:e}),w(S,this,_).call(this),this.htEditor.view._wt.wtTable.alignOverlaysWithTrimmingContainer()}highlightBestMatchingChoice(e){"number"==typeof e?this.htEditor.selectCell(e,0,void 0,void 0,void 0,!1):this.htEditor.deselectCell()}getTargetEditorHeight(){let e=0;if(!this.hot.getCurrentThemeName()){const t=this.hot.rootWindow.getComputedStyle(this.htContainer.querySelector(".htCore"));e=parseInt(t.borderTopWidth,10)+parseInt(t.borderBottomWidth,10)}const t=Math.min(this.cellProperties.visibleRows,this.strippedChoices.length);return Array.from({length:t},(e,t)=>t).reduce((e,t)=>e+(this.hot.stylesHandler.getDefaultRowHeight()+(0===t?1:0)),0)+e}getTargetEditorWidth(){let e=0;if(!this.hot.getCurrentThemeName()){const t=this.hot.rootWindow.getComputedStyle(this.htContainer.querySelector(".htCore"));e=parseInt(t.borderInlineStartWidth,10)+parseInt(t.borderInlineEndWidth,10)}return this.htEditor.getColWidth(0)+e}stripValueIfNeeded(e){return this.stripValuesIfNeeded([e])[0]}stripValuesIfNeeded(e){const{allowHtml:t}=this.cellProperties,o=e=>(0,h.stringify)(t?e:(0,d.stripTags)(e));return e.every(e=>(0,a.isKeyValueObject)(e))?e.map(e=>({key:o(e.key),value:o(e.value)})):e.map(e=>o(e))}onBeforeKeyDown(e){if((0,c.isPrintableChar)(e.keyCode)||e.keyCode===c.KEY_CODES.BACKSPACE||e.keyCode===c.KEY_CODES.DELETE||e.keyCode===c.KEY_CODES.INSERT){let t=10;if(e.keyCode===c.KEY_CODES.C&&(e.ctrlKey||e.metaKey))return;this.isOpened()||(t+=10),this.htEditor&&this.hot._registerTimeout(()=>{this.queryChoices(this.TEXTAREA.value)},t)}}}function _(){this.htEditor.view.hasVerticalScroll()&&this.htEditor.updateSettings({width:this.getTargetEditorWidth()+(0,l.getScrollbarWidth)(this.hot.rootDocument)})}t.AutocompleteEditor=E},31956(e,t,o){"use strict";t.__esModule=!0;var r=o(21507);t.EDITOR_TYPE=r.EDITOR_TYPE,t.AutocompleteEditor=r.AutocompleteEditor},53161(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(79416),s=o(26032),a=o(38888),l=r(o(75157)),h=o(23876);const d=t.EDITOR_TYPE="base",c=t.EDITOR_STATE=Object.freeze({VIRGIN:"STATE_VIRGIN",EDITING:"STATE_EDITING",WAITING:"STATE_WAITING",FINISHED:"STATE_FINISHED"});class u{static get EDITOR_TYPE(){return d}constructor(e){(0,n.default)(this,"hot",void 0),(0,n.default)(this,"state",c.VIRGIN),(0,n.default)(this,"_opened",!1),(0,n.default)(this,"_fullEditMode",!1),(0,n.default)(this,"_closeCallback",null),(0,n.default)(this,"_closeAfterDataChange",!0),(0,n.default)(this,"TD",null),(0,n.default)(this,"row",null),(0,n.default)(this,"col",null),(0,n.default)(this,"prop",null),(0,n.default)(this,"originalValue",null),(0,n.default)(this,"cellProperties",null),this.hot=e,this.init()}_fireCallbacks(e){this._closeCallback&&(this._closeCallback(e),this._closeCallback=null)}init(){}getValue(){(0,s.throwWithCause)("Editor getValue() method unimplemented")}setValue(){(0,s.throwWithCause)("Editor setValue() method unimplemented")}open(){(0,s.throwWithCause)("Editor open() method unimplemented")}close(){(0,s.throwWithCause)("Editor close() method unimplemented")}prepare(e,t,o,r,n,i){this.TD=r,this.row=e,this.col=t,this.prop=o,this.originalValue=n,this.cellProperties=i,this.state=this.isOpened()?this.state:c.VIRGIN}extend(){return class extends this.constructor{}}saveValue(e,t){let o,r,n,i;if(t){const e=this.hot.getSelectedRangeActive(),t=e.getTopStartCorner(),s=e.getBottomEndCorner();o=t.row,r=t.col,n=s.row,i=s.col}else[o,r,n,i]=[this.row,this.col,null,null];const s=this.hot.runHooks("modifyGetCellCoords",o,r,!1,"meta");Array.isArray(s)&&([o,r]=s),this.hot.populateFromArray(o,r,e,n,i,"edit")}beginEditing(e,t){if(this.state!==c.VIRGIN)return;const o=this.hot,r=o.rowIndexMapper.getRenderableFromVisualIndex(this.row),n=o.columnIndexMapper.getRenderableFromVisualIndex(this.col),s=()=>{if(this.state=c.EDITING,this.isInFullEditMode()){const t=this.cellProperties.valueGetter?this.cellProperties.valueGetter(this.originalValue):this.originalValue,o="string"==typeof e?e:(0,i.stringify)(t);this.setValue(o)}this.open(t),this._opened=!0,this.focus(),o.view.render(),o.runHooks("afterBeginEditing",this.row,this.col)};this.hot.addHookOnce("afterScroll",s);o.view.scrollViewport(o._createCellCoords(r,n))||(this.hot.removeHook("afterScroll",s),s()),this.addHook("beforeDialogShow",()=>this.cancelChanges())}finishEditing(e,t,o){if(o){const e=this._closeCallback;this._closeCallback=t=>{e&&e(t),o(t),this.hot.view.render()}}if(!this.isWaiting())if(this.state!==c.VIRGIN){if(this.state===c.EDITING){if(e)return this.cancelChanges(),void this.hot.view.render();let o=this.getValue();this.cellProperties.trimWhitespace&&(o="string"==typeof o?String.prototype.trim.call(o||""):o),"function"==typeof this.cellProperties.valueParser&&(o=this.cellProperties.valueParser(o,this.cellProperties)),this.state=c.WAITING,this.saveValue([[o]],t),this.hot.getCellValidator(this.cellProperties)?this.hot.addHookOnce("postAfterValidate",e=>{this.state=c.FINISHED,this.discardEditor(e)}):(this.state=c.FINISHED,this.discardEditor(!0))}}else this.hot._registerTimeout(()=>{this._fireCallbacks(!0)})}cancelChanges(){this.state=c.FINISHED,this.discardEditor()}discardEditor(e){if(this.state===c.FINISHED)if(!1===e&&!0!==this.cellProperties.allowInvalid)this.hot.selectCell(this.row,this.col),this.focus(),this.state=c.EDITING,this._fireCallbacks(!1);else{this.close(),this._opened=!1,this._fullEditMode=!1,this.state=c.VIRGIN,this._fireCallbacks(!0);this.hot.getShortcutManager().setActiveContextName("grid")}}enableFullEditMode(){this._fullEditMode=!0}isInFullEditMode(){return this._fullEditMode}isOpened(){return this._opened}isWaiting(){return this.state===c.WAITING}getEditedCellRect(){var e;const t=this.getEditedCell();if(!t)return;const{wtOverlays:o,wtViewport:r}=this.hot.view._wt,n=this.hot.rootWindow,i=(0,h.offset)(t),s=(0,h.outerWidth)(t),a=(0,h.offset)(this.hot.rootElement),l=(0,h.outerWidth)(this.hot.rootElement),d=o.topOverlay.holder,c=o.inlineStartOverlay.holder,u=d!==n?d.scrollTop:0,g=c!==n?c.scrollLeft:0,p=n.innerWidth-a.left-l,{wtTable:f}=null!==(e=o.getParentOverlay(t))&&void 0!==e?e:this.hot.view._wt,m=f.name,C=["master","inline_start"].includes(m)?u:0,w=["master","top","bottom"].includes(m)?g:0,b=i.top===a.top?0:1;let v=i.top-a.top-b-C,y=0;y=this.hot.isRtl()?n.innerWidth-i.left-s-p-1+w:i.left-a.left-1-w,["top","top_inline_start_corner"].includes(m)&&(v+=o.topOverlay.getOverlayOffset()),["inline_start","top_inline_start_corner"].includes(m)&&(y+=Math.abs(o.inlineStartOverlay.getOverlayOffset()));const S=this.hot.hasColHeaders(),E=this.hot.rowIndexMapper.getRenderableFromVisualIndex(this.row),_=this.hot.columnIndexMapper.getRenderableFromVisualIndex(this.col),R=this.hot.rowIndexMapper.getRenderableIndexesLength()-this.hot.view._wt.getSetting("fixedRowsBottom");(S&&E<=0||E===R)&&(v+=1),_<=0&&(y+=1);const T=r.rowsRenderCalculator.startPosition,M=r.columnsRenderCalculator.startPosition,I=Math.abs(o.inlineStartOverlay.getScrollPosition()),k=o.topOverlay.getScrollPosition(),O=(0,h.getScrollbarWidth)(this.hot.rootDocument);let A=t.offsetTop;if(["inline_start","master"].includes(m)&&(A+=T-k),["bottom","bottom_inline_start_corner"].includes(m)){const{wtViewport:e,wtTable:t}=o.bottomOverlay.clone;A+=e.getWorkspaceHeight()-t.getHeight()-O}let x=t.offsetLeft;this.hot.isRtl()?(x=x>=0?f.getWidth()-t.offsetLeft:Math.abs(x),x+=M-I-s):["top","master","bottom"].includes(m)&&(x+=M-I);const N=n.getComputedStyle(this.TD),H=this.hot.isRtl()?"borderRightWidth":"borderLeftWidth",P=parseInt(N[H],10)>0?0:1,D=parseInt(N.borderTopWidth,10)>0?0:1,L=(0,h.outerWidth)(t)+P,B=(0,h.outerHeight)(t)+D,F=(0,h.hasVerticalScrollbar)(d)?O:0,V=(0,h.hasHorizontalScrollbar)(c)?O:0,W=this.hot.view.maximumVisibleElementWidth(x)-F+P;return{top:v,start:y,height:B,maxHeight:Math.max(this.hot.view.maximumVisibleElementHeight(A)-V+D,this.hot.stylesHandler.getDefaultRowHeight()),width:L,maxWidth:W}}getEditedCellsLayerClass(){switch(this.checkEditorSection()){case"inline-start":return"ht_clone_left ht_clone_inline_start";case"bottom":return"ht_clone_bottom";case"bottom-inline-start-corner":return"ht_clone_bottom_left_corner ht_clone_bottom_inline_start_corner";case"top":return"ht_clone_top";case"top-inline-start-corner":return"ht_clone_top_left_corner ht_clone_top_inline_start_corner";default:return"ht_clone_master"}}getEditedCell(){return this.hot.getCell(this.row,this.col,!0)}checkEditorSection(){const e=this.hot.countRows();let t="";return this.row<this.hot.getSettings().fixedRowsTop?t=this.col<this.hot.getSettings().fixedColumnsStart?"top-inline-start-corner":"top":this.hot.getSettings().fixedRowsBottom&&this.row>=e-this.hot.getSettings().fixedRowsBottom?t=this.col<this.hot.getSettings().fixedColumnsStart?"bottom-inline-start-corner":"bottom":this.col<this.hot.getSettings().fixedColumnsStart&&(t="inline-start"),t}}t.BaseEditor=u,(0,a.mixin)(u,l.default)},68597(e,t,o){"use strict";t.__esModule=!0;var r=o(53161);t.EDITOR_STATE=r.EDITOR_STATE,t.EDITOR_TYPE=r.EDITOR_TYPE,t.BaseEditor=r.BaseEditor},2889(e,t,o){"use strict";t.__esModule=!0;var r=o(68597),n=o(23876);const i=t.EDITOR_TYPE="checkbox";class s extends r.BaseEditor{static get EDITOR_TYPE(){return i}beginEditing(e,t){if(t&&"mouseup"===t.type&&"TD"===t.target.nodeName){const e=this.TD.querySelector('input[type="checkbox"]');(0,n.hasClass)(e,"htBadValue")||e.click()}}finishEditing(){}init(){}open(){}close(){}getValue(){}setValue(){}focus(){}}t.CheckboxEditor=s},88693(e,t,o){"use strict";t.__esModule=!0;var r=o(2889);t.EDITOR_TYPE=r.EDITOR_TYPE,t.CheckboxEditor=r.CheckboxEditor},5139(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=r(o(86798)),s=r(o(75972)),a=o(68597),l=o(27567),h=o(23876),d=o(38888),c=o(82268),u=o(46027),g=o(26070),p=o(26032);function f(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function m(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}const C=t.EDITOR_TYPE="date",w="dateEditor",b=new WeakSet;var v=new WeakSet;class y extends l.TextEditor{constructor(){super(...arguments),f(this,v),(0,n.default)(this,"parentDestroyed",!1),(0,n.default)(this,"$datePicker",null)}static get EDITOR_TYPE(){return C}init(){"function"!=typeof i.default&&(0,p.throwWithCause)("You need to include moment.js to your project."),"function"!=typeof s.default&&(0,p.throwWithCause)("You need to include Pikaday to your project."),super.init(),this.hot.addHook("afterDestroy",()=>{this.parentDestroyed=!0,this.destroyElements()}),this.hot.addHook("afterSetTheme",(e,t)=>{t||this.close()})}createElements(){super.createElements(),this.datePicker=this.hot.rootDocument.createElement("DIV"),this.datePickerStyle=this.datePicker.style,this.datePickerStyle.position="absolute",this.datePickerStyle.top=0,this.datePickerStyle.left=0,this.datePickerStyle.zIndex=9999,this.datePicker.setAttribute("dir",this.hot.isRtl()?"rtl":"ltr"),(0,h.addClass)(this.datePicker,"htDatepickerHolder"),this.hot.rootPortalElement.appendChild(this.datePicker),this.eventManager.addEventListener(this.datePicker,"mousedown",e=>{(0,h.hasClass)(e.target,"pika-day")&&this.hideDatepicker(),e.stopPropagation()})}destroyElements(){const e=this.datePicker.parentNode;this.$datePicker&&this.$datePicker.destroy(),e&&e.removeChild(this.datePicker)}prepare(e,t,o,r,n,i){super.prepare(e,t,o,r,n,i)}open(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;b.has(this.cellProperties.instance)||(b.add(this.cellProperties.instance),(0,g.deprecatedWarn)("The Pikaday-based `date` editor is deprecated and will be removed in the next major release, replaced by the native HTML date input.\n\nMigration guide: https://handsontable.com/docs/migration-from-16.2-to-17.0/\n`date` cell type documentation: https://handsontable.com/docs/date-cell-type/"));const t=this.hot.getShortcutManager().getContext("editor");this.showDatepicker(e),super.open(),t.addShortcuts([{keys:[["ArrowLeft"]],callback:()=>{this.$datePicker.adjustDate("subtract",1)}},{keys:[["ArrowRight"]],callback:()=>{this.$datePicker.adjustDate("add",1)}},{keys:[["ArrowUp"]],callback:()=>{this.$datePicker.adjustDate("subtract",7)}},{keys:[["ArrowDown"]],callback:()=>{this.$datePicker.adjustDate("add",7)}}],{group:w})}close(){var e;null!==(e=this.$datePicker)&&void 0!==e&&e.destroy&&this.$datePicker.destroy(),this.hot._registerTimeout(()=>{const e=this.hot._getEditorManager();e.closeEditor(),this.hot.view.render(),e.prepareEditor()});this.hot.getShortcutManager().getContext("editor").removeShortcutsByGroup(w),super.close()}finishEditing(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];super.finishEditing(e,t)}showDatepicker(e){const t=m(v,this,S).call(this),o=this.hot.view.isMouseDown(),r=!!e&&(0,c.isFunctionKey)(e.keyCode);let n;this.datePicker.style.display="block",this.$datePicker=new s.default(this.getDatePickerConfig()),"function"==typeof this.$datePicker.useMoment&&this.$datePicker.useMoment(i.default),this.$datePicker._onInputFocus=function(){},this.originalValue?(n=this.originalValue,(0,i.default)(n,t,!0).isValid()&&this.$datePicker.setMoment((0,i.default)(n,t),!0),this.getValue()!==this.originalValue&&this.setValue(this.originalValue),r||o||this.setValue("")):this.cellProperties.defaultDate?(n=this.cellProperties.defaultDate,(0,i.default)(n,t,!0).isValid()&&this.$datePicker.setMoment((0,i.default)(n,t),!0),r||o||this.setValue("")):this.$datePicker.gotoToday()}hideDatepicker(){this.datePickerStyle.display="none",this.$datePicker.hide()}getDatePickerConfig(){var e;const t=this.TEXTAREA,o={};this.cellProperties&&this.cellProperties.datePickerConfig&&(0,d.deepExtend)(o,this.cellProperties.datePickerConfig);const r=o.onSelect,n=o.onClose;return o.field=t,o.trigger=t,o.container=this.datePicker,o.bound=!1,o.keyboardInput=!1,o.format=null!==(e=o.format)&&void 0!==e?e:m(v,this,S).call(this),o.reposition=o.reposition||!1,o.isRTL=!1,o.onSelect=e=>{let t=e;isNaN(t.getTime())||(t=(0,i.default)(t).format(m(v,this,S).call(this))),this.setValue(t),r&&r(),(0,u.isMobileBrowser)()&&this.hideDatepicker()},o.onClose=()=>{this.parentDestroyed||this.finishEditing(!1),n&&n()},o}refreshDimensions(e){var t;if(super.refreshDimensions(e),this.state!==a.EDITOR_STATE.EDITING)return;if(this.TD=this.getEditedCell(),!this.TD)return void this.hideDatepicker();const{rowIndexMapper:o,columnIndexMapper:r}=this.hot,{wtOverlays:n}=this.hot.view._wt,{wtTable:i}=null!==(t=n.getParentOverlay(this.TD))&&void 0!==t?t:this.hot.view._wt,s=o.getVisualFromRenderableIndex(i.getFirstPartiallyVisibleRow()),l=o.getVisualFromRenderableIndex(i.getLastPartiallyVisibleRow()),d=r.getVisualFromRenderableIndex(i.getFirstPartiallyVisibleColumn()),c=r.getVisualFromRenderableIndex(i.getLastPartiallyVisibleColumn());if(this.row>=s&&this.row<=l&&this.col>=d&&this.col<=c){const e=this.TD.getBoundingClientRect();this.datePickerStyle.top=`${this.hot.rootWindow.pageYOffset+e.top+(0,h.outerHeight)(this.TD)}px`;let t=this.hot.rootWindow.pageXOffset;this.hot.isRtl()?t+=e.right-(0,h.outerWidth)(this.datePicker):t+=e.left,this.datePickerStyle.left=`${t}px`}else this.hideDatepicker()}}function S(){var e;return null!==(e=this.cellProperties.dateFormat)&&void 0!==e?e:"DD/MM/YYYY"}t.DateEditor=y},96360(e,t,o){"use strict";t.__esModule=!0;var r=o(5139);t.EDITOR_TYPE=r.EDITOR_TYPE,t.DateEditor=r.DateEditor},31989(e,t,o){"use strict";t.__esModule=!0;var r=o(31956);const n=t.EDITOR_TYPE="dropdown";class i extends r.AutocompleteEditor{static get EDITOR_TYPE(){return n}prepare(e,t,o,r,n,i){i.filter=!1,i.strict=!0,super.prepare(e,t,o,r,n,i)}}t.DropdownEditor=i},64661(e,t,o){"use strict";t.__esModule=!0;var r=o(31989);t.EDITOR_TYPE=r.EDITOR_TYPE,t.DropdownEditor=r.DropdownEditor},63370(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=o(53161),i=r(o(34354)),s=o(26032);const a=e=>{const t=n.BaseEditor.prototype.extend(),o=["close","focus","getValue","open","setValue"],r=Object.getOwnPropertyNames(n.BaseEditor.prototype);return r.forEach(r=>{if(e[r]){const n=t.prototype[r];t.prototype[r]=function(){for(var t=arguments.length,i=new Array(t),s=0;s<t;s++)i[s]=arguments[s];return o.includes(r)||n.apply(this,i),e[r](this,...i)}}}),Object.keys(e).forEach(o=>{r.includes(o)||(t.prototype[o]=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e[o](this,...r)})}),t};t.editorFactory=e=>{let{init:t,afterOpen:o,afterInit:r,afterClose:n,beforeOpen:l,getValue:h,setValue:d,onFocus:c,shortcuts:u,value:g,render:p,config:f,shortcutsGroup:m="custom-editor",position:C="container",...w}=e;return a({init(e){Object.assign(e,{value:g,config:f,render:p,position:C,...w}),e._opened=!1,e.container=e.hot.rootDocument.createElement("DIV"),e.container.style.display="none","portal"===C?e.hot.rootPortalElement.appendChild(e.container):e.hot.rootElement.appendChild(e.container),t(e),e.input||(0,s.throwWithCause)("Input is not assigned. Assign it in the init callback."),e.container.appendChild(e.input),"function"==typeof r&&r(e),e.preventCloseElement&&e.preventCloseElement instanceof HTMLElement&&(e.eventManager=new i.default(e.hot),e.eventManager.addEventListener(e.preventCloseElement,"mousedown",e=>{e.stopPropagation()})),e.addHook("afterScrollHorizontally",()=>e.refreshDimensions()),e.addHook("afterScrollVertically",()=>e.refreshDimensions())},getValue:e=>"function"==typeof h?h(e):e.value,setValue(e,t){"function"==typeof d?d(e,t):e.value=t,"function"==typeof p&&p(e)},refreshDimensions(e){if(e.TD=e.getEditedCell(),!e.TD)return void e.close();if(!e._opened)return;const t=e.container.style;if(t.display="block",t.position="absolute","portal"===e.position){const o=e.TD.getBoundingClientRect();t.top=`${e.hot.rootWindow.pageYOffset+o.top}px`,t[e.hot.isRtl()?"right":"left"]=`${e.hot.rootWindow.pageXOffset+o[e.hot.isRtl()?"right":"left"]}px`}else{const o=e.getEditedCellRect();if(!o)return;t.top=`${o.top}px`,t[e.hot.isRtl()?"right":"left"]=`${o.start}px`,t.width=`${o.width}px`,t.height=`${o.height}px`}},open(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;e.container.classList.add("ht_clone_master"),e._opened=!0,e.refreshDimensions(),e.hot.getShortcutManager().setActiveContextName("editor"),(e=>{const t=e.hot.getShortcutManager().getContext("editor"),o={group:m};u&&t.addShortcuts(u.map(t=>({...t,relativeToGroup:t.relativeToGroup||"editorManager.handlingEditor",position:t.position||"before",callback:o=>t.callback(e,o)})),o)})(e),o&&o(e,t)},focus(e){var t;"function"==typeof c?c(e):null===(t=e.container.querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'))||void 0===t||t.focus()},close(e){e._opened=!1,e.container.style.display="none",e.container.classList.remove("ht_clone_master");e.hot.getShortcutManager().getContext("editor").removeShortcutsByGroup(m),"function"==typeof n&&n(e)},prepare(e,t,o,r,n,i,s){"function"==typeof l?l(e,{row:t,col:o,prop:r,td:n,originalValue:i,cellProperties:s}):e.setValue(i)}})}},15081(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(27567),s=o(23876),a=o(31100),l=o(38888),h=o(17304);const d="handsontableEditor",c=t.EDITOR_TYPE="handsontable";class u extends i.TextEditor{constructor(){super(...arguments),(0,n.default)(this,"isFlippedVertically",!1),(0,n.default)(this,"isFlippedHorizontally",!1)}static get EDITOR_TYPE(){return c}open(){super.open();const e=this.htContainer.style;this.htEditor&&(this.htEditor.destroy(),e.width="",e.height="",e.overflow=""),"none"===e.display&&(e.display=""),this.htEditor=new this.hot.constructor(this.htContainer,this.htOptions),this.htEditor.init(),this.htEditor.rootElement.style.display="",this.cellProperties.strict?this.htEditor.selectCell(0,0):this.htEditor.deselectCell(),(0,s.setCaretPosition)(this.TEXTAREA,0,this.TEXTAREA.value.length),this.htEditor.updateSettings({width:this.getTargetDropdownWidth(),height:this.getTargetDropdownHeight()}),this.refreshDimensions(),this.flipDropdownVerticallyIfNeeded(),this.flipDropdownHorizontallyIfNeeded()}close(){this.htEditor&&(this.htEditor.rootElement.style.display="none"),this.removeHooksByKey("beforeKeyDown"),super.close()}prepare(e,t,o,r,n,i){super.prepare(e,t,o,r,n,i);const s=this,a={startRows:0,startCols:0,minRows:0,minCols:0,className:"listbox",copyPaste:!1,autoColumnSize:!1,autoRowSize:!1,readOnly:!0,fillHandle:!1,autoWrapCol:!1,autoWrapRow:!1,ariaTags:!1,themeName:this.hot.getCurrentThemeName(),afterOnCellMouseDown(e,t){const o=this.getSourceData(t.row,t.col);void 0!==o&&s.setValue(o),s.hot.destroyEditor()},preventWheel:!0,layoutDirection:this.hot.isRtl()?"rtl":"ltr"};this.cellProperties.handsontable&&(0,l.extend)(a,i.handsontable),this.htOptions=a}beginEditing(e,t){const o=this.hot.getSettings().onBeginEditing;o&&!1===o()||super.beginEditing(e,t)}createElements(){super.createElements();const e=this.hot.rootDocument.createElement("DIV");e.className="handsontableEditor",this.TEXTAREA_PARENT.appendChild(e),this.htContainer=e,this.assignHooks()}finishEditing(e,t,o){if(this.htEditor&&this.htEditor.isListening()&&this.hot.listen(),this.htEditor&&this.htEditor.getSelectedActive()){const e=this.htEditor.getValue();void 0!==e&&this.setValue(e)}super.finishEditing(e,t,o)}flipDropdownVerticallyIfNeeded(){const{view:e}=this.hot,t=this.getEditedCellRect();let o=t.top;if(e.isVerticallyScrollableByWindow()){const t=e.getTableOffset().top-this.hot.rootWindow.scrollY;o=Math.max(o+t,0)}const r=this.getDropdownHeight(),n=e.getWorkspaceHeight()-o-t.height,i=r>n&&o>n+t.height;return i?this.flipDropdownVertically():this.unflipDropdownVertically(),{isFlipped:i,spaceAbove:o,spaceBelow:n}}flipDropdownVertically(){const e=this.htEditor.rootElement.style;e.position="absolute",e.top=-this.getDropdownHeight()+"px",this.isFlippedVertically=!0}unflipDropdownVertically(){const e=this.htEditor.rootElement.style;e.position="absolute",e.top="",this.isFlippedVertically=!1}flipDropdownHorizontallyIfNeeded(){const{view:e}=this.hot,t=this.getEditedCellRect();let o=t.start+t.width;if(e.isHorizontallyScrollableByWindow()){const t=e.getTableOffset().left-this.hot.rootWindow.scrollX;o=Math.max(o+t,0)}const r=this.getDropdownWidth(),n=e.getWorkspaceWidth()-o+t.width,i=r>n&&o>n;return i?this.flipDropdownHorizontally():this.unflipDropdownHorizontally(),{isFlipped:i,spaceInlineStart:o,spaceInlineEnd:n}}flipDropdownHorizontally(){const e=this.htEditor.rootElement.style,{width:t}=this.getEditedCellRect();e.position="absolute",e[this.hot.isRtl()?"right":"left"]=-(this.getDropdownWidth()-t)+"px",this.isFlippedHorizontally=!0}unflipDropdownHorizontally(){const e=this.htEditor.rootElement.style;e.position="absolute",e[this.hot.isRtl()?"right":"left"]="",this.isFlippedHorizontally=!1}getDropdownHeight(){return this.htEditor.getTableHeight()}getDropdownWidth(){return this.htEditor.getTableWidth()}getTargetDropdownWidth(){return this.htEditor.view.getTableWidth()}getTargetDropdownHeight(){return this.htEditor.view.getTableHeight()+1}assignHooks(){this.hot.addHook("afterDestroy",()=>{var e;null===(e=this.htEditor)||void 0===e||e.destroy()}),this.hot.addHook("afterSetTheme",(e,t)=>{t||this.close()})}registerShortcuts(){const e=this.hot.getShortcutManager().getContext("editor");super.registerShortcuts();const t={group:d,relativeToGroup:h.EDITOR_EDIT_GROUP,position:"before"},o=(e,t)=>{const o=this.htEditor;if(void 0!==e&&(e<0||this.isFlippedVertically&&e>o.countRows()-1?o.deselectCell():o.selectCell(e,0),o.getData().length))return t.preventDefault(),(0,a.stopImmediatePropagation)(t),this.hot.listen(),this.TEXTAREA.focus(),!1};e.addShortcuts([{keys:[["ArrowUp"]],callback:e=>{const t=this.htEditor;let r,n;return!t.getSelectedActive()&&this.isFlippedVertically?r=t.countRows()-1:t.getSelectedActive()&&(this.isFlippedVertically?(n=t.getSelectedActive()[0],r=Math.max(0,n-1)):(n=t.getSelectedActive()[0],r=n-1)),o(r,e)},preventDefault:!1},{keys:[["ArrowDown"]],callback:e=>{const t=this.htEditor;let r,n;if(t.getSelectedActive()||this.isFlippedVertically){if(t.getSelectedActive())if(this.isFlippedVertically)r=t.getSelectedActive()[0]+1;else if(!this.isFlippedVertically){const e=t.countRows()-1;n=t.getSelectedActive()[0],r=Math.min(e,n+1)}}else r=0;return o(r,e)},preventDefault:!1}],t)}unregisterShortcuts(){super.unregisterShortcuts();this.hot.getShortcutManager().getContext("editor").removeShortcutsByGroup(d)}}t.HandsontableEditor=u},20101(e,t,o){"use strict";t.__esModule=!0;var r=o(15081);t.EDITOR_TYPE=r.EDITOR_TYPE,t.HandsontableEditor=r.HandsontableEditor},8796(e,t,o){"use strict";t.__esModule=!0,t.registerAllEditors=function(){(0,C.registerEditor)(n.BaseEditor),(0,C.registerEditor)(r.AutocompleteEditor),(0,C.registerEditor)(i.CheckboxEditor),(0,C.registerEditor)(s.DateEditor),(0,C.registerEditor)(a.DropdownEditor),(0,C.registerEditor)(l.HandsontableEditor),(0,C.registerEditor)(h.IntlDateEditor),(0,C.registerEditor)(d.IntlTimeEditor),(0,C.registerEditor)(c.NumericEditor),(0,C.registerEditor)(u.PasswordEditor),(0,C.registerEditor)(g.SelectEditor),(0,C.registerEditor)(p.TextEditor),(0,C.registerEditor)(f.TimeEditor),(0,C.registerEditor)(m.MultiSelectEditor)};var r=o(31956);t.AutocompleteEditor=r.AutocompleteEditor,t.AUTOCOMPLETE_EDITOR=r.EDITOR_TYPE;var n=o(68597);t.BaseEditor=n.BaseEditor,t.BASE_EDITOR=n.EDITOR_TYPE;var i=o(88693);t.CheckboxEditor=i.CheckboxEditor,t.CHECKBOX_EDITOR=i.EDITOR_TYPE;var s=o(96360);t.DateEditor=s.DateEditor,t.DATE_EDITOR=s.EDITOR_TYPE;var a=o(64661);t.DropdownEditor=a.DropdownEditor,t.DROPDOWN_EDITOR=a.EDITOR_TYPE;var l=o(20101);t.HandsontableEditor=l.HandsontableEditor,t.HANDSONTABLE_EDITOR=l.EDITOR_TYPE;var h=o(55227);t.IntlDateEditor=h.IntlDateEditor,t.INTL_DATE_EDITOR=h.EDITOR_TYPE;var d=o(71450);t.IntlTimeEditor=d.IntlTimeEditor,t.INTL_TIME_EDITOR=d.EDITOR_TYPE;var c=o(7269);t.NumericEditor=c.NumericEditor,t.NUMERIC_EDITOR=c.EDITOR_TYPE;var u=o(7701);t.PasswordEditor=u.PasswordEditor,t.PASSWORD_EDITOR=u.EDITOR_TYPE;var g=o(60980);t.SelectEditor=g.SelectEditor,t.SELECT_EDITOR=g.EDITOR_TYPE;var p=o(27567);t.TextEditor=p.TextEditor,t.TEXT_EDITOR=p.EDITOR_TYPE;var f=o(12313);t.TimeEditor=f.TimeEditor,t.TIME_EDITOR=f.EDITOR_TYPE;var m=o(55907);t.MultiSelectEditor=m.MultiSelectEditor,t.MULTI_SELECT_EDITOR=m.EDITOR_TYPE;var C=o(95669);t.registerEditor=C.registerEditor,t.RegisteredEditor=C.RegisteredEditor,t._getEditorInstance=C._getEditorInstance,t.getEditor=C.getEditor,t.getEditorInstance=C.getEditorInstance,t.getRegisteredEditorNames=C.getRegisteredEditorNames,t.getRegisteredEditors=C.getRegisteredEditors,t.hasEditor=C.hasEditor;var w=o(63370);t.editorFactory=w.editorFactory},55227(e,t,o){"use strict";t.__esModule=!0;var r=o(2777);t.EDITOR_TYPE=r.EDITOR_TYPE,t.IntlDateEditor=r.IntlDateEditor},2777(e,t,o){"use strict";t.__esModule=!0;var r=o(27567),n=o(85418),i=o(26070),s=o(26192),a=o(79416);const l=t.EDITOR_TYPE="intl-date";class h extends r.TextEditor{static get EDITOR_TYPE(){return l}init(){super.init(),this.hot.addHook("afterSetTheme",(e,t)=>{t||this.close()})}createElements(){super.createElements("input"),this.TEXTAREA.setAttribute("type","date")}setValue(e){(0,a.isEmpty)(e)&&(e=this.cellProperties.defaultDate),(0,n.isValidISODate)(e)?super.setValue(e):(0,i.warn)(s.toSingleLine`IntlDateEditor: value must be in ISO date format ("YYYY-MM-DD")\x20
38
38
  required by the native date input. Received:`,e)}focus(){this.TEXTAREA.select()}open(){super.open();try{this.TEXTAREA.showPicker()}catch{}}}t.IntlDateEditor=h},71450(e,t,o){"use strict";t.__esModule=!0;var r=o(83963);t.EDITOR_TYPE=r.EDITOR_TYPE,t.IntlTimeEditor=r.IntlTimeEditor},83963(e,t,o){"use strict";t.__esModule=!0;var r=o(27567),n=o(85418),i=o(26070),s=o(26192);const a=t.EDITOR_TYPE="intl-time";class l extends r.TextEditor{static get EDITOR_TYPE(){return a}init(){super.init(),this.hot.addHook("afterSetTheme",(e,t)=>{t||this.close()})}createElements(){super.createElements("input"),this.TEXTAREA.setAttribute("type","time")}setValue(e){(0,n.isValidTime)(e)?super.setValue(e):(0,i.warn)(s.toSingleLine`IntlTimeEditor: value must be in 24-hour time format ("HH:mm", "HH:mm:ss" or "HH:mm:ss.SSS")\x20
39
- required by the native time input. Received:`,e)}focus(){this.TEXTAREA.select()}open(){super.open();try{this.TEXTAREA.showPicker()}catch{}}}t.IntlTimeEditor=l},40796(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=o(38888),i=r(o(81551)),s=o(45016),a=r(o(34354)),l=o(29121),h=o(79972);function d(e,t,o){c(e,t),t.set(e,o)}function c(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function u(e,t){return e.get(p(e,t))}function g(e,t,o){return e.set(p(e,t),o),o}function p(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var f=new WeakMap,m=new WeakMap,C=new WeakMap,w=new WeakMap,b=new WeakMap,v=new WeakMap,y=new WeakMap,S=new WeakMap,E=new WeakMap,_=new WeakMap,R=new WeakSet;class T{constructor(e,t){var o,r;c(o=this,r=R),r.add(o),d(this,f,null),d(this,m,null),d(this,C,null),d(this,w,null),d(this,b,null),d(this,v,null),d(this,y,null),d(this,S,null),d(this,E,new a.default(this)),d(this,_,{visibleRowsNumber:null,entriesCount:0,flippedVertically:!1,currentlySelectedItemIndex:0,checkboxChangeListeners:new Map,areCheckboxesDisabled:!1,sourceSortFunction:null}),g(m,this,e),g(S,this,u(m,this).ownerDocument),g(f,this,t),this.init()}init(){g(C,this,(0,h.createListElement)({root:u(S,this)})),g(w,this,(0,h.createSearchInputElement)({root:u(S,this)}));const e=(0,h.createSearchIcon)({root:u(S,this)});g(v,this,(0,h.createSearchInputWrapper)({root:u(S,this)})),g(b,this,(0,h.createSeparatorElement)({root:u(S,this)})),u(v,this).appendChild(e),u(v,this).appendChild(u(w,this)),u(m,this).appendChild(u(v,this)),u(m,this).appendChild(u(b,this)),u(m,this).appendChild(u(C,this)),g(y,this,new l.InputController({input:u(w,this),eventManager:u(E,this)}))}setVisibleRowsNumberSetting(e){u(_,this).visibleRowsNumberSetting=e}setSourceSortFunction(e){u(_,this).sourceSortFunction=null!=e?e:null}setSearchInputVisibility(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];u(v,this).style.display=e?"":"none",u(b,this).style.display=e?"":"none",u(y,this).toggle(e)}fillDropdown(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.removeAllDropdownItems(),u(_,this).currentlySelectedItemIndex=0,Array.isArray(t)||(t=[]),u(_,this).sourceSortFunction&&(e=u(_,this).sourceSortFunction(e)),e.forEach((e,o)=>{var r;p(R,this,N).call(this,{rootDocument:u(S,this),itemKey:null==e?void 0:e.key,itemValue:null!==(r=null==e?void 0:e.value)&&void 0!==r?r:e,indexWithinList:o,checked:(0,s.includesValue)(t,e),disabled:u(_,this).areCheckboxesDisabled})}),u(_,this).entriesCount=e.length,this.runLocalHooks("afterDropdownFill")}updateDimensions(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const o=p(R,this,O).call(this),r=p(R,this,I).call(this,e),n=r?e.spaceAbove:e.spaceBelow;if(!t&&r&&(u(_,this).flippedVertically=!0),u(_,this).entriesCount>0&&n<this.getHeight(!0)){const e=Math.max(Math.floor((n-p(R,this,x).call(this))/o)-1,1);u(_,this).actualRenderedItemsCount=u(_,this).visibleRowsNumberSetting?Math.min(e,u(_,this).visibleRowsNumberSetting):e}else u(_,this).actualRenderedItemsCount=Math.min(u(_,this).entriesCount,u(_,this).visibleRowsNumberSetting);u(_,this).actualRenderedItemsCount&&u(_,this).entriesCount>u(_,this).actualRenderedItemsCount?u(m,this).style.height=`${this.getHeight()}px`:u(m,this).style.height="",p(R,this,k).call(this,e),u(m,this).scrollTop=0}getDropdownWidth(){return(0,h.getDropdownWidth)({dropdownListElement:u(C,this)})}deselectAllItems(){(0,h.deselectAllItems)({dropdownListElement:u(C,this)})}focusFirstItem(){u(_,this).entriesCount>0&&p(R,this,M).call(this,0)}focusItem(e){p(R,this,M).call(this,e)}focusPreviousItem(){0!==u(_,this).currentlySelectedItemIndex?((0,h.defocusItem)({dropdownListElement:u(C,this),index:u(_,this).currentlySelectedItemIndex}),p(R,this,M).call(this,u(_,this).currentlySelectedItemIndex-1)):this.focusSearchInput()}focusNextItem(){u(_,this).currentlySelectedItemIndex!==u(_,this).entriesCount-1&&((0,h.defocusItem)({dropdownListElement:u(C,this),index:u(_,this).currentlySelectedItemIndex}),p(R,this,M).call(this,u(_,this).currentlySelectedItemIndex+1))}focusSearchInput(){u(w,this)&&u(w,this).focus()}reset(){this.removeAllDropdownItems(),p(R,this,D).call(this),u(w,this)&&(u(w,this).value=""),u(m,this).style.position="",u(m,this).style.top="",u(m,this).style.height="",u(m,this).scrollTop=0}isFlippedVertically(){return u(_,this).flippedVertically}getHeight(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const o=u(S,this).defaultView.getComputedStyle(u(m,this));return p(R,this,A).call(this,e)+p(R,this,x).call(this)+(!0===t?2*parseInt(o.getPropertyValue("--ht-menu-vertical-padding"),10):0)}getInputController(){return u(y,this)}removeAllDropdownItems(){Array.from(u(C,this).children).forEach(e=>p(R,this,P).call(this,e)),u(_,this).checkboxChangeListeners.clear(),u(C,this).innerHTML=""}disableCheckboxes(){u(_,this).areCheckboxesDisabled=!0,(0,h.disableUncheckedCheckboxes)({dropdownListElement:u(C,this)})}enableCheckboxes(){u(_,this).areCheckboxesDisabled=!1,(0,h.enableAllCheckboxes)({dropdownListElement:u(C,this)})}}function M(e){u(_,this).currentlySelectedItemIndex=e,(0,h.focusItemAt)({dropdownListElement:u(C,this),index:e})}function I(e){const{spaceAbove:t,spaceBelow:o,cellHeight:r}=e;return this.getHeight(!0)>o&&t>o+r}function k(e){const{cellHeight:t}=e;u(_,this).flippedVertically?(u(m,this).style.position="absolute",u(m,this).style.top=-this.getHeight(!1,!0)-t-2+"px"):(u(m,this).style.position="",u(m,this).style.top="")}function O(){const e=u(S,this).defaultView.getComputedStyle(u(m,this));return 2*parseInt(e.getPropertyValue("--ht-menu-item-vertical-padding"),10)+parseInt(e.getPropertyValue("--ht-line-height"),10)}function A(){var e;let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const o=u(_,this).entriesCount;return(t?o:null!==(e=u(_,this).actualRenderedItemsCount)&&void 0!==e?e:o)*p(R,this,O).call(this)}function x(){if(!u(y,this).enabled)return 0;const e=u(S,this).defaultView.getComputedStyle(u(m,this));return u(v,this).offsetHeight+(u(b,this).offsetHeight+2*parseInt(e.getPropertyValue("--ht-menu-vertical-padding"),10))}function N(e){let{rootDocument:t,itemKey:o,itemValue:r,indexWithinList:n,checked:i=!1,disabled:s=!1}=e;const a=(0,h.createListItemElement)({rootDocument:t,instanceId:u(f,this),itemKey:o,itemValue:r,indexWithinList:n,checked:i,disabled:s});i&&(0,h.selectItem)(a),p(R,this,H).call(this,a),u(C,this).appendChild(a)}function H(e){const t=(0,s.getCheckboxElement)(e),o=()=>{"true"===t.dataset.disabled&&t.checked?t.checked=!1:t.checked?((0,h.selectItem)(e),this.runLocalHooks("afterDropdownItemChecked",t.dataset.key,t.dataset.value)):((0,h.deselectItem)(e),this.runLocalHooks("afterDropdownItemUnchecked",t.dataset.key,t.dataset.value))},r=e=>{e.target!==t&&"true"!==t.dataset.disabled&&"LABEL"!==e.target.tagName&&(t.checked=!t.checked,t.dispatchEvent(new Event("change")))};u(_,this).checkboxChangeListeners.set(t,{change:o,click:r}),u(E,this).addEventListener(t,"change",o),u(E,this).addEventListener(e,"click",r)}function P(e){const t=(0,s.getCheckboxElement)(e),o=u(_,this).checkboxChangeListeners.get(t);u(E,this).removeEventListener(t,"change",o.change),u(E,this).removeEventListener(e,"click",o.click),u(_,this).checkboxChangeListeners.delete(t)}function D(){u(_,this).visibleRowsNumberSetting=null,u(_,this).entriesCount=0,u(_,this).flippedVertically=!1,u(_,this).currentlySelectedItemIndex=0,u(_,this).checkboxChangeListeners.clear(),u(_,this).areCheckboxesDisabled=!1,u(_,this).sourceSortFunction=null}t.DropdownController=T,(0,n.mixin)(T,i.default)},29121(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=o(38888),i=r(o(81551));function s(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}var a=new WeakSet;class l{constructor(e){let{input:t,eventManager:o}=e;s(this,a),this.input=t,this.eventManager=o,this.enabled=!0,this.onInput=this.onInput.bind(this)}getInputElement(){return this.input}setValue(e){this.input.value=e}toggle(e){this.enabled=e,this.input&&(e?this.listen():this.unlisten())}listen(){this.eventManager.addEventListener(this.input,"input",this.onInput)}unlisten(){this.eventManager.removeEventListener(this.input,"input",this.onInput)}onInput(){(function(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")})(a,this,h).call(this,this.input.value)}}function h(e){this.runLocalHooks("triggerFilter",e)}t.InputController=l,(0,n.mixin)(l,i.default)},56754(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(38888),s=o(45016);t.SelectedItemsController=class{constructor(e){var t;(0,n.default)(this,"selectedItems",null!==(t=this.selectedItems)&&void 0!==t?t:new Set),(0,n.default)(this,"maxSelectionsCount",1/0),Array.isArray(e)?this.selectedItems=new Set(e):this.selectedItems=new Set}setMaxSelectionCount(e){this.maxSelectionsCount=e}add(e){this.selectedItems.size>=this.maxSelectionsCount||(Array.isArray(e)?e.forEach(e=>this.selectedItems.add(e)):this.selectedItems.add(e))}remove(e){if(!(0,i.isKeyValueObject)(e))return this.selectedItems.delete(e);{const t=Array.from(this.selectedItems).find(t=>(0,i.isObjectEqual)(t,e));if(void 0!==t)return this.selectedItems.delete(t),!0}return!1}has(e){return(0,s.includesValue)(this.getItemsArray(),e)}clear(){this.selectedItems.clear()}getSize(){return this.selectedItems.size}getItemsArray(){return Array.from(this.selectedItems)}}},79972(e,t,o){"use strict";t.__esModule=!0,t.createListElement=function(e){let{root:t}=e;return t.createElement("ul")},t.createListItemElement=function(e){let{rootDocument:t,instanceId:o,itemKey:r,itemValue:n,indexWithinList:i,checked:s=!1,disabled:a=!1}=e;const l=t.createElement("li"),h=t.createElement("div"),d=t.createElement("input"),u=t.createElement("label");d.id=`${o}-${c}${i}`,d.type="checkbox",d.dataset.value=n,d.dataset.index=i,d.dataset.disabled=!s&&a,r&&(d.dataset.key=r);return u.htmlFor=d.id,u.textContent=n,h.appendChild(d),h.appendChild(u),l.appendChild(h),l},t.createSearchIcon=function(e){let{root:t}=e;const o=t.createElement("div");return(0,r.addClass)(o,l),(0,r.setAttribute)(o,[(0,n.A11Y_HIDDEN)()]),o},t.createSearchInputElement=function(e){let{root:t}=e;const o=t.createElement("input");return(0,r.setAttribute)(o,[(0,n.A11Y_LABEL)("Search options"),["type","text"],["size",3],["placeholder","Search..."],["id",h]]),(0,r.addClass)(o,h),o},t.createSearchInputWrapper=function(e){let{root:t}=e;const o=t.createElement("div");return o.className=a,o},t.createSeparatorElement=function(e){let{root:t}=e;const o=t.createElement("div");return o.className=d,o},t.defocusItem=function(e){let{dropdownListElement:t,index:o}=e;const r=t.children[o];if(r){const e=(0,i.getCheckboxElement)(r);e&&e.blur()}},t.deselectAllItems=function(e){let{dropdownListElement:t}=e;t.querySelectorAll(`.${u}`).forEach(e=>g(e))},t.deselectItem=g,t.disableUncheckedCheckboxes=function(e){let{dropdownListElement:t}=e;t.querySelectorAll('input[type="checkbox"]:not(:checked)').forEach(e=>{e.dataset.disabled=!0})},t.enableAllCheckboxes=function(e){let{dropdownListElement:t}=e;t.querySelectorAll('input[type="checkbox"]').forEach(e=>{e.dataset.disabled=!1})},t.focusItemAt=function(e){let{dropdownListElement:t,index:o}=e;const r=t.children[o];if(r){const e=(0,i.getCheckboxElement)(r);e&&e.focus()}},t.getDropdownWidth=function(e){let{dropdownListElement:t}=e;return t.offsetWidth},t.selectItem=function(e){const t=(0,i.getCheckboxElement)(e);(0,r.addClass)(e,u),t.checked||(t.checked=!0)};var r=o(23876),n=o(12175),i=o(45016);const s="ht-multi-select-editor",a=`${s}-search-input-wrapper`,l=`${s}-search-icon`,h=`${s}-search-input`,d=`${s}-separator`,c=`${s}-item-`,u=t.SELECTED_ITEM_CLASS=`${s}-item-selected`;function g(e){const t=(0,i.getCheckboxElement)(e);(0,r.removeClass)(e,u),t.checked&&(t.checked=!1)}},55907(e,t,o){"use strict";t.__esModule=!0;var r=o(17671);t.EDITOR_TYPE=r.EDITOR_TYPE,t.MultiSelectEditor=r.MultiSelectEditor},17671(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(68597),s=r(o(34354)),a=o(40796),l=o(56754),h=o(23876),d=o(82268),c=o(12175),u=o(23501),g=o(45016);function p(e,t,o){f(e,t),t.set(e,o)}function f(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function m(e,t){return e.get(w(e,t))}function C(e,t,o){return e.set(w(e,t),o),o}function w(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}const b=t.EDITOR_TYPE="multiselect",v="multiselectEditor";var y=new WeakMap,S=new WeakMap,E=new WeakSet;class _ extends i.BaseEditor{static get EDITOR_TYPE(){return b}constructor(e){var t,o,r;super(e),f(o=this,r=E),r.add(o),(0,n.default)(this,"_closeAfterDataChange",!1),p(this,y,new l.SelectedItemsController),p(this,S,null),(0,n.default)(this,"dropdownContainerElement",null),(0,n.default)(this,"dropdownController",null!==(t=this.dropdownController)&&void 0!==t?t:null),this.eventManager=new s.default(this),this.createElements(),this.bindEvents()}createElements(){const{rootDocument:e}=this.hot;C(S,this,e.createElement("div")),m(S,this).style.display="none",(0,h.addClass)(m(S,this),"handsontableEditor"),this.dropdownContainerElement=this.hot.rootDocument.createElement("div"),(0,h.addClass)(this.dropdownContainerElement,"ht-multi-select-editor handsontableEditor"),(0,h.setAttribute)(this.dropdownContainerElement,[(0,c.A11Y_LABEL)("Select options"),(0,c.A11Y_GROUP)()]),m(S,this).appendChild(this.dropdownContainerElement),this.hot.rootElement.appendChild(m(S,this)),this.dropdownController=new a.DropdownController(this.dropdownContainerElement,this.hot.guid)}prepare(e,t,o,r,n,i){super.prepare(e,t,o,r,n,i);const s=(0,g.parseStringifiedValue)(n),a=Array.isArray(s)?s:[s],l=(0,g.getValuesIntersection)(a,w(E,this,R).call(this));this.dropdownController.reset(),l.length>=w(E,this,B).call(this,"maxSelections")&&w(E,this,O).call(this),w(E,this,L).call(this,l),this.dropdownController.setSourceSortFunction(this.cellProperties.sourceSortFunction),this.dropdownController.fillDropdown(w(E,this,R).call(this),l),this.dropdownController.setVisibleRowsNumberSetting(w(E,this,B).call(this,"visibleRows")),this.dropdownController.setSearchInputVisibility(w(E,this,B).call(this,"searchInput")),void 0!==i.maxSelections&&m(y,this).setMaxSelectionCount(i.maxSelections)}finishEditing(e,t,o){super.finishEditing(e,t,o)}bindEvents(){var e=this;this.dropdownController.addLocalHook("afterDropdownItemChecked",(e,t)=>{w(E,this,P).call(this,e,t),m(y,this).getSize()>=this.cellProperties.maxSelections&&w(E,this,O).call(this)}),this.dropdownController.addLocalHook("afterDropdownItemUnchecked",(e,t)=>{w(E,this,D).call(this,e,t),m(y,this).getSize()<this.cellProperties.maxSelections&&w(E,this,A).call(this)}),this.addHook("afterDestroy",()=>this.destroy()),this.addHook("afterSetSourceDataAtCell",function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return w(E,e,F).call(e,...o)}),this.addHook("afterScrollHorizontally",()=>this.refreshDimensions()),this.addHook("afterScrollVertically",()=>this.refreshDimensions()),this.dropdownController.getInputController().addLocalHook("triggerFilter",e=>w(E,this,x).call(this,e))}open(e){if((0,d.isPrintableChar)(null==e?void 0:e.keyCode)){const t=1===e.key.length?e.key:String.fromCharCode(e.keyCode);this.dropdownController.getInputController().enabled&&(this.dropdownController.getInputController().setValue(t),w(E,this,x).call(this,t)),e.preventDefault(),this.enableFullEditMode()}w(E,this,I).call(this),this.refreshDimensions(),this.hot.getShortcutManager().setActiveContextName("editor"),w(E,this,T).call(this),this.dropdownController.getInputController().listen(),this.dropdownController.updateDimensions(w(E,this,N).call(this))}close(){w(E,this,k).call(this),w(E,this,M).call(this),this.dropdownController.getInputController().unlisten()}getValue(){return m(y,this).getItemsArray()}setValue(){}refreshDimensions(){if(!this.getEditedCell())return void this.close();const{top:e,start:t,height:o}=this.getEditedCellRect(),r=m(S,this).style;r.top=`${e+o}px`,r[this.hot.isRtl()?"right":"left"]=`${t}px`,(0,h.addClass)(m(S,this),"ht_editor_visible")}focus(){!1===w(E,this,B).call(this,"searchInput")?this.dropdownController.focusFirstItem():this.dropdownController.focusSearchInput()}getInputElement(){return this.dropdownController.getInputController().getInputElement()}destroy(){this.close(),this.dropdownController.reset()}}function R(){var e;return null!==(e=this.cellProperties.source)&&void 0!==e?e:[]}function T(){const e=this.hot.getShortcutManager().getContext("editor");e.addShortcuts([{keys:[["ArrowUp"]],callback:()=>{this.dropdownController.focusPreviousItem()}},{keys:[["ArrowDown"]],callback:()=>{this.hot.rootDocument.activeElement===this.getInputElement()?this.dropdownController.focusFirstItem():this.dropdownController.focusNextItem()}}],{group:v}),e.addShortcuts([{keys:[["enter"],["shift","enter"],["control/meta","enter"],["control/meta","shift","enter"]],runOnlyIf:()=>!w(E,this,B).call(this,"enterCommits"),callback:e=>{const t=this.hot.rootDocument.activeElement;return"INPUT"===t.tagName&&"checkbox"===t.type&&(t.checked=!t.checked,t.dispatchEvent(new Event("change"))),e.preventDefault(),!1}},{keys:[["space"]],runOnlyIf:()=>!w(E,this,B).call(this,"enterCommits"),callback:e=>{e.preventDefault()}}],{group:v,relativeToGroup:u.EDITOR_EDIT_GROUP,position:"before"})}function M(){this.hot.getShortcutManager().getContext("editor").removeShortcutsByGroup(v)}function I(){m(S,this).style.display=""}function k(){m(S,this).style.display="none"}function O(){this.dropdownController.disableCheckboxes()}function A(){this.dropdownController.enableCheckboxes()}function x(e){var t;let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=w(E,this,B).call(this,"filterSelectedItems"))||void 0===t||t;const r=w(E,this,R).call(this).filter(t=>{var r;const n=null!==(r=null==t?void 0:t.value)&&void 0!==r?r:t;return!(o||!m(y,this).has(t))||(this.cellProperties.filteringCaseSensitive?n.includes(e):n.toLowerCase().includes(e.toLowerCase()))});this.dropdownController.fillDropdown(r,m(y,this).getItemsArray()),this.dropdownController.updateDimensions(w(E,this,N).call(this),!0)}function N(){const e=this.getEditedCellRect(),t=this.hot.view.isVerticallyScrollableByWindow(),o=this.hot.view.getWorkspaceHeight();let r=e.top;if(t){const e=this.hot.view.getTableOffset().top-this.hot.rootWindow.scrollY;r=Math.max(r+e,0)}return{spaceAbove:r,spaceBelow:o-r-e.height,cellHeight:e.height}}function H(){const e=m(y,this).getItemsArray();this.saveValue([[e]])}function P(e,t){e?m(y,this).add({key:e,value:t}):m(y,this).add(t),w(E,this,H).call(this),this.refreshDimensions()}function D(e,t){e?m(y,this).remove({key:e,value:t}):m(y,this).remove(t),w(E,this,H).call(this),this.refreshDimensions()}function L(e){e.length>0?C(y,this,new l.SelectedItemsController(e)):C(y,this,new l.SelectedItemsController)}function B(e){return this.cellProperties[e]}function F(e,t){this.isOpened()&&t===`${b}-renderer`&&parseInt(e[0][0],10)===this.cellProperties.visualRow&&parseInt(e[0][1],10)===this.cellProperties.visualCol&&(w(E,this,L).call(this,e[0][3]),this.dropdownController.fillDropdown(w(E,this,R).call(this),m(y,this).getItemsArray()),this.dropdownController.focusItem(0),m(y,this).getSize()>=this.cellProperties.maxSelections?w(E,this,O).call(this):w(E,this,A).call(this))}t.MultiSelectEditor=_},45016(e,t,o){"use strict";t.__esModule=!0,t.getCheckboxElement=function(e){return e.querySelector('input[type="checkbox"]')},t.getValuesIntersection=function(e,t){return(0,r.getIntersectionOfArrays)(e,t,(e,t)=>JSON.stringify(e)===JSON.stringify(t))},t.includesValue=function(e,t){return(0,n.isKeyValueObject)(t)?Array.isArray(e)&&e.some(e=>(0,n.isKeyValueObject)(e)?(0,n.isObjectEqual)(e,t):e===t):e.includes(t)},t.parseStringifiedValue=function(e){return(0,i.isJSON)(e)?JSON.parse(e):e};var r=o(6578),n=o(38888),i=o(23862)},7269(e,t,o){"use strict";t.__esModule=!0;var r=o(72563);t.EDITOR_TYPE=r.EDITOR_TYPE,t.NumericEditor=r.NumericEditor},72563(e,t,o){"use strict";t.__esModule=!0;var r=o(27567);const n=t.EDITOR_TYPE="numeric";class i extends r.TextEditor{static get EDITOR_TYPE(){return n}}t.NumericEditor=i},7701(e,t,o){"use strict";t.__esModule=!0;var r=o(39849);t.EDITOR_TYPE=r.EDITOR_TYPE,t.PasswordEditor=r.PasswordEditor},39849(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(27567),s=o(46480),a=o(23876),l=o(12175);const h=t.EDITOR_TYPE="password";class d extends i.TextEditor{constructor(){super(...arguments),(0,n.default)(this,"autoResize",(0,s.createInputElementResizer)(this.hot.rootDocument,{textContent:e=>"•".repeat(e.value.length)}))}static get EDITOR_TYPE(){return h}createElements(){super.createElements(),this.TEXTAREA=this.hot.rootDocument.createElement("input"),this.TEXTAREA.setAttribute("type","password"),this.TEXTAREA.setAttribute("data-hot-input",""),this.TEXTAREA.className="handsontableInput",this.textareaStyle=this.TEXTAREA.style,this.textareaStyle.width=0,this.textareaStyle.height=0,(0,a.empty)(this.TEXTAREA_PARENT),this.TEXTAREA.setAttribute(...(0,l.A11Y_TABINDEX)(-1)),this.TEXTAREA_PARENT.appendChild(this.TEXTAREA)}}t.PasswordEditor=d},95669(e,t,o){"use strict";t.__esModule=!0,t.RegisteredEditor=u,t.getEditorInstance=t._getEditorInstance=function(e,t){let o;"function"==typeof e?(s.get(e)||g(null,e),o=s.get(e)):"string"==typeof e?o=l(e):(0,i.throwWithCause)('Only strings and functions can be passed as "editor" parameter');o||(0,i.throwWithCause)(`No editor registered under name "${e}"`);return o.getInstance(t)},t.getEditor=function(e){if("function"==typeof e)return e;h(e)||(0,i.throwWithCause)(`No registered editor found under "${e}" name`);return l(e).getConstructor()},t.registerEditor=g;var r=o(30326),n=o(36016),i=o(26032);const s=new WeakMap,{register:a,getItem:l,hasItem:h,getNames:d,getValues:c}=(0,n.staticRegister)("editors");function u(e){const t={},o=e;this.getConstructor=function(){return e},this.getInstance=function(e){return e.guid in t||(t[e.guid]=new o(e)),t[e.guid]},r.Hooks.getSingleton().add("afterDestroy",function(){t[this.guid]=null})}function g(e,t){e&&"string"!=typeof e&&(e=(t=e).EDITOR_TYPE);const o=new u(t);"string"==typeof e&&a(e,o),s.set(t,o)}t.getRegisteredEditors=c,t.getRegisteredEditorNames=d,t.hasEditor=h},60980(e,t,o){"use strict";t.__esModule=!0;var r=o(39987);t.EDITOR_TYPE=r.EDITOR_TYPE,t.SelectEditor=r.SelectEditor},39987(e,t,o){"use strict";t.__esModule=!0;var r=o(68597),n=o(23876),i=o(38888),s=o(12175);const a="ht_editor_visible",l="selectEditor",h=t.EDITOR_TYPE="select";class d extends r.BaseEditor{static get EDITOR_TYPE(){return h}init(){this.selectWrapper=this.hot.rootDocument.createElement("div"),this.select=this.hot.rootDocument.createElement("select"),this.select.setAttribute("data-hot-input","true"),this.selectWrapper.style.display="none";const e=this.hot.rootDocument.createElement("DIV"),t=this.hot.getSettings().ariaTags;e.className="htAutocompleteArrow",t&&e.setAttribute(...(0,s.A11Y_HIDDEN)()),e.appendChild(this.hot.rootDocument.createTextNode(String.fromCharCode(9660))),(0,n.addClass)(this.selectWrapper,"htSelectEditor"),this.selectWrapper.appendChild(this.select),this.selectWrapper.insertBefore(e,this.selectWrapper.firstChild),this.hot.rootElement.appendChild(this.selectWrapper),this.registerHooks()}getValue(){return this.select.value}setValue(e){this.select.value=e}open(){this._opened=!0,this.refreshDimensions(),this.selectWrapper.style.display="";this.hot.getShortcutManager().setActiveContextName("editor"),this.registerShortcuts()}close(){this._opened=!1,this.selectWrapper.style.display="none",(0,n.hasClass)(this.selectWrapper,a)&&(0,n.removeClass)(this.selectWrapper,a),this.unregisterShortcuts(),this.clearHooks()}focus(){this.select.focus()}registerHooks(){this.addHook("afterScrollHorizontally",()=>this.refreshDimensions()),this.addHook("afterScrollVertically",()=>this.refreshDimensions()),this.addHook("afterColumnResize",()=>this.refreshDimensions()),this.addHook("afterRowResize",()=>this.refreshDimensions())}prepare(e,t,o,r,s,a){super.prepare(e,t,o,r,s,a);const l=this.cellProperties.selectOptions;let h;h="function"==typeof l?this.prepareOptions(l(this.row,this.col,this.prop)):this.prepareOptions(l),(0,n.empty)(this.select),(0,i.objectEach)(h,(e,t)=>{const o=this.hot.rootDocument.createElement("OPTION");o.value=t,(0,n.fastInnerHTML)(o,e,this.hot.getSettings().sanitizer),this.select.appendChild(o)})}prepareOptions(e){let t={};if(Array.isArray(e))for(let o=0,r=e.length;o<r;o++)t[e[o]]=e[o];else"object"==typeof e&&(t=e);return t}refreshValue(){const e=this.hot.getSourceDataAtCell(this.row,this.prop);this.originalValue=e,this.setValue(e),this.refreshDimensions()}refreshDimensions(){if(this.state!==r.EDITOR_STATE.EDITING)return;if(this.TD=this.getEditedCell(),!this.TD)return void this.close();const{top:e,start:t,width:o,height:i}=this.getEditedCellRect(),s=this.selectWrapper.style;s.height=`${i}px`,s.width=`${o}px`,s.top=`${e}px`,s[this.hot.isRtl()?"right":"left"]=`${t}px`,s.margin="0px",(0,n.addClass)(this.selectWrapper,a)}registerShortcuts(){const e=this.hot.getShortcutManager().getContext("editor"),t={group:l};this.isInFullEditMode()&&e.addShortcuts([{keys:[["ArrowUp"]],callback:()=>{const e=this.select.selectedIndex-1;e>=0&&(this.select[e].selected=!0)}},{keys:[["ArrowDown"]],callback:()=>{const e=this.select.selectedIndex+1;e<=this.select.length-1&&(this.select[e].selected=!0)}}],t)}unregisterShortcuts(){this.hot.getShortcutManager().getContext("editor").removeShortcutsByGroup(l)}}t.SelectEditor=d},79276(e,t,o){"use strict";t.__esModule=!0,t.updateCaretPosition=function(e,t){const o=(0,r.getCaretPosition)(t),n=t.value.split("\n");let i=o,s=0;for(let t=0;t<n.length;t++){const r=n[t];0!==t&&(s+=n[t-1].length+1);const a=s+r.length;if("home"===e?i=s:"end"===e&&(i=a),o<=a)break}(0,r.setCaretPosition)(t,i)};var r=o(23876)},27567(e,t,o){"use strict";t.__esModule=!0;var r=o(62009);t.EDITOR_TYPE=r.EDITOR_TYPE,t.TextEditor=r.TextEditor},62009(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(68597),s=r(o(34354)),a=o(46027),l=o(23876),h=o(94366),d=o(46480),c=o(79416),u=o(79276),g=o(12175);const p="ht_editor_hidden",f="textEditor",m=t.EDITOR_TYPE="text";class C extends i.BaseEditor{static get EDITOR_TYPE(){return m}constructor(e){super(e),(0,n.default)(this,"eventManager",new s.default(this)),(0,n.default)(this,"autoResize",(0,d.createInputElementResizer)(this.hot.rootDocument)),(0,n.default)(this,"TEXTAREA",void 0),(0,n.default)(this,"textareaStyle",void 0),(0,n.default)(this,"TEXTAREA_PARENT",void 0),(0,n.default)(this,"textareaParentStyle",void 0),(0,n.default)(this,"layerClass",void 0),this.eventManager=new s.default(this),this.createElements(),this.bindEvents(),this.hot.addHookOnce("afterDestroy",()=>this.destroy())}getValue(){return this.TEXTAREA.value}setValue(e){this.TEXTAREA.value=e}open(){this._opened=!0,this.refreshDimensions(),this.showEditableElement(),this.hot.getShortcutManager().setActiveContextName("editor"),this.registerShortcuts()}close(){this._opened=!1,this.autoResize.unObserve(),(0,l.isInternalElement)(this.hot.rootDocument.activeElement,this.hot.rootElement)&&this.hot.listen(),this.hideEditableElement(),this.unregisterShortcuts()}prepare(e,t,o,r,n,s){const a=this.state;if(super.prepare(e,t,o,r,n,s),!s.readOnly){this.refreshDimensions(!0);const{allowInvalid:e}=s;e&&!this.isOpened()&&(this.TEXTAREA.value=""),a===i.EDITOR_STATE.FINISHED||this.isOpened()||this.hideEditableElement()}}beginEditing(e,t){this.state===i.EDITOR_STATE.VIRGIN&&(this.TEXTAREA.value="",super.beginEditing(e,t))}focus(){this.TEXTAREA.select(),(0,l.setCaretPosition)(this.TEXTAREA,this.TEXTAREA.value.length)}createElements(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"textarea";const{rootDocument:t}=this.hot;this.TEXTAREA=t.createElement(e),(0,l.setAttribute)(this.TEXTAREA,[["data-hot-input",""],(0,g.A11Y_TABINDEX)(-1)]),(0,l.addClass)(this.TEXTAREA,"handsontableInput"),this.textareaStyle=this.TEXTAREA.style,this.textareaStyle.width=0,this.textareaStyle.height=0,this.textareaStyle.overflowY="visible",this.TEXTAREA_PARENT=t.createElement("DIV"),(0,l.addClass)(this.TEXTAREA_PARENT,"handsontableInputHolder"),(0,l.hasClass)(this.TEXTAREA_PARENT,this.layerClass)&&(0,l.removeClass)(this.TEXTAREA_PARENT,this.layerClass),(0,l.addClass)(this.TEXTAREA_PARENT,p),this.textareaParentStyle=this.TEXTAREA_PARENT.style,this.TEXTAREA_PARENT.appendChild(this.TEXTAREA),this.hot.rootElement.appendChild(this.TEXTAREA_PARENT)}hideEditableElement(){(0,a.isEdge)()&&(this.textareaStyle.textIndent="-99999px"),this.textareaStyle.overflowY="visible",this.textareaParentStyle.opacity="0",this.textareaParentStyle.height="1px",(0,l.removeClass)(this.TEXTAREA_PARENT,this.layerClass),(0,l.addClass)(this.TEXTAREA_PARENT,p)}showEditableElement(){this.textareaParentStyle.height="",this.textareaParentStyle.overflow="",this.textareaParentStyle.position="",this.textareaParentStyle[this.hot.isRtl()?"left":"right"]="auto",this.textareaParentStyle.opacity="1",this.textareaStyle.textIndent="";const e=this.TEXTAREA_PARENT.childNodes;let t=!1;(0,h.rangeEach)(e.length-1,o=>{const r=e[o];if((0,l.hasClass)(r,"handsontableEditor"))return t=!0,!1}),(0,l.hasClass)(this.TEXTAREA_PARENT,p)&&(0,l.removeClass)(this.TEXTAREA_PARENT,p),t?(this.layerClass="ht_editor_visible",(0,l.addClass)(this.TEXTAREA_PARENT,this.layerClass)):(this.layerClass=this.getEditedCellsLayerClass(),(0,l.addClass)(this.TEXTAREA_PARENT,this.layerClass))}refreshValue(){const e=this.hot.toPhysicalRow(this.row),t=this.hot.getSourceDataAtCell(e,this.col);this.originalValue=t,this.setValue(t),this.refreshDimensions()}refreshDimensions(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.state!==i.EDITOR_STATE.EDITING&&!e)return;if(this.TD=this.getEditedCell(),!this.TD)return void(e||this.close());const{top:t,start:o,width:r,maxWidth:n,height:s,maxHeight:a}=this.getEditedCellRect();this.textareaParentStyle.top=`${t}px`,this.textareaParentStyle[this.hot.isRtl()?"right":"left"]=`${o}px`,this.showEditableElement();const l=this.hot.rootWindow.getComputedStyle(this.TD);this.TEXTAREA.style.fontSize=l.fontSize,this.TEXTAREA.style.fontFamily=l.fontFamily,this.TEXTAREA.style.backgroundColor=this.TD.style.backgroundColor,this.autoResize.init(this.TEXTAREA,{minWidth:Math.min(r,n),minHeight:Math.min(s,a),maxWidth:n,maxHeight:a},!0)}bindEvents(){(0,a.isIOS)()&&this.eventManager.addEventListener(this.TEXTAREA,"focusout",()=>this.finishEditing(!1)),this.addHook("afterScrollHorizontally",()=>this.refreshDimensions()),this.addHook("afterScrollVertically",()=>this.refreshDimensions()),this.addHook("afterColumnResize",()=>{this.refreshDimensions(),this.state===i.EDITOR_STATE.EDITING&&this.focus()}),this.addHook("afterRowResize",()=>{this.refreshDimensions(),this.state===i.EDITOR_STATE.EDITING&&this.focus()})}destroy(){this.eventManager.destroy(),this.clearHooks()}registerShortcuts(){const e=this.hot.getShortcutManager().getContext("editor"),t={runOnlyIf:()=>(0,c.isDefined)(this.hot.getSelected()),group:f},o=()=>{this.hot.rootDocument.execCommand("insertText",!1,"\n")};e.addShortcuts([{keys:[["Control","Enter"]],callback:()=>(o(),!1),runOnlyIf:e=>!this.hot.selection.isMultiple()&&!e.altKey},{keys:[["Meta","Enter"]],callback:()=>(o(),!1),runOnlyIf:()=>!this.hot.selection.isMultiple()},{keys:[["Alt","Enter"]],callback:()=>(o(),!1)},{keys:[["Home"]],callback:(e,t)=>{let[o]=t;(0,u.updateCaretPosition)(o,this.TEXTAREA)}},{keys:[["End"]],callback:(e,t)=>{let[o]=t;(0,u.updateCaretPosition)(o,this.TEXTAREA)}}],t)}unregisterShortcuts(){this.hot.getShortcutManager().getContext("editor").removeShortcutsByGroup(f)}}t.TextEditor=C},12313(e,t,o){"use strict";t.__esModule=!0;var r=o(72705);t.EDITOR_TYPE=r.EDITOR_TYPE,t.TimeEditor=r.TimeEditor},72705(e,t,o){"use strict";t.__esModule=!0;var r=o(27567);const n=t.EDITOR_TYPE="time";class i extends r.TextEditor{static get EDITOR_TYPE(){return n}prepare(e,t,o,r,n,i){super.prepare(e,t,o,r,n,i),this.TEXTAREA.dir="ltr"}}t.TimeEditor=i},34354(e,t,o){"use strict";var r=o(62682);t.__esModule=!0,t.getListenersCounter=function(){return s};var n=r(o(43685)),i=o(31100);let s=0;t.default=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;(0,n.default)(this,"context",void 0),this.context=e||this,this.context.eventListeners||(this.context.eventListeners=[])}addEventListener(e,t,o){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];function n(e){o.call(this,function(e){const t=e.stopImmediatePropagation;return e.stopImmediatePropagation=function(){t.apply(this),(0,i.stopImmediatePropagation)(this)},e}(e))}return this.context.eventListeners.push({element:e,event:t,callback:o,callbackProxy:n,options:r,eventManager:this}),e.addEventListener(t,n,r),s+=1,()=>{this.removeEventListener(e,t,o)}}removeEventListener(e,t,o){let r,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=this.context.eventListeners.length;for(;i;)if(i-=1,r=this.context.eventListeners[i],r.event===t&&r.element===e){if(o&&o!==r.callback)continue;if(n&&r.eventManager!==this)continue;this.context.eventListeners.splice(i,1),r.element.removeEventListener(r.event,r.callbackProxy,r.options),s-=1}}clearEvents(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.context)return;let t=this.context.eventListeners.length;for(;t;){t-=1;const o=this.context.eventListeners[t];e&&o.eventManager!==this||(this.context.eventListeners.splice(t,1),o.element.removeEventListener(o.event,o.callbackProxy,o.options),s-=1)}}clear(){this.clearEvents()}destroy(){this.clearEvents(),this.context=null}destroyWithOwnEventsOnly(){this.clearEvents(!0),this.context=null}fireEvent(e,t){let o=e.document,r=e;o||(o=e.ownerDocument?e.ownerDocument:e,r=o.defaultView);const n={bubbles:!0,cancelable:"mousemove"!==t,view:r,detail:0,screenX:0,screenY:0,clientX:1,clientY:1,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:void 0};let i;o.createEvent?(i=o.createEvent("MouseEvents"),i.initMouseEvent(t,n.bubbles,n.cancelable,n.view,n.detail,n.screenX,n.screenY,n.clientX,n.clientY,n.ctrlKey,n.altKey,n.shiftKey,n.metaKey,n.button,n.relatedTarget||o.body.parentNode)):i=o.createEventObject(),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent(`on${t}`,i)}}},25792(e,t){"use strict";t.__esModule=!0;t.SCOPE_TYPES=Object.freeze({INLINE:"inline",MODAL:"modal"}),t.FOCUS_SOURCES=Object.freeze({UNKNOWN:"unknown",CLICK:"click",TAB_FROM_ABOVE:"tab_from_above",TAB_FROM_BELOW:"tab_from_below"}),t.DEFAULT_SHORTCUTS_CONTEXT="grid"},75477(e,t,o){"use strict";t.__esModule=!0,t.useEventListener=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=!1;function n(e){var r;o||(null===(r=t.onFocus)||void 0===r||r.call(t,e))}function i(e){var o;null===(o=t.onClick)||void 0===o||o.call(t,e)}function s(e){var o;"Tab"===e.key&&(null===(o=t.onTabKeyDown)||void 0===o||o.call(t,e))}function a(){o=!0}function l(){o=!1}return{mount:()=>{let t=e;for(;t;){const{documentElement:e}=t.document;e.addEventListener("focusin",n),e.addEventListener("click",i),e.addEventListener("keydown",s),e.addEventListener("mousedown",a),e.addEventListener("mouseup",l),t=(0,r.getParentWindow)(t)}},unmount:()=>{let t=e;for(;t;){const{documentElement:e}=t.document;e.removeEventListener("focusin",n),e.removeEventListener("click",i),e.removeEventListener("keydown",s),e.removeEventListener("mousedown",a),e.removeEventListener("mouseup",l),t=(0,r.getParentWindow)(t)}}}};var r=o(23876)},2229(e,t,o){"use strict";t.__esModule=!0;var r=o(26070),n=o(23876),i=o(3179);function s(e,t,o){a(e,t),t.set(e,o)}function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function l(e,t){return e.get(d(e,t))}function h(e,t,o){return e.set(d(e,t),o),o}function d(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}const c=Object.freeze({CELL:"cell",MIXED:"mixed"});var u=new WeakMap,g=new WeakMap,p=new WeakMap,f=new WeakMap,m=new WeakMap,C=new WeakMap,w=new WeakSet;function b(e){var t;const o=null===(t=l(u,this).getSelectedRangeActive())||void 0===t?void 0:t.highlight;if(!o||!l(u,this).selection.isCellVisible(o))return void e(null);const r=l(u,this).getCell(o.row,o.col,!0);null===r?l(u,this).addHookOnce("afterScroll",()=>{e(l(u,this).getCell(o.row,o.col,!0))}):e(r)}function v(){d(w,this,b).call(this,e=>{const{activeElement:t}=l(u,this).rootDocument;t&&(0,n.isOutsideInput)(t)&&t.blur(),this.focusOnHighlightedCell(e)})}function y(){d(w,this,b).call(this,e=>{this.getFocusMode()===c.MIXED&&"TD"===(null==e?void 0:e.nodeName)&&this.refocusToEditorTextarea()})}function S(){h(C,this,!0)}function E(){l(C,this)&&(h(C,this,!1),d(w,this,v).call(this))}function _(e){"boolean"==typeof e.imeFastEdit&&this.setFocusMode(e.imeFastEdit?c.MIXED:c.CELL)}t.FocusGridManager=class{constructor(e){var t,o;a(t=this,o=w),o.add(t),s(this,u,void 0),s(this,g,void 0),s(this,p,1),s(this,f,null),s(this,m,new Map),s(this,C,!1),h(u,this,e)}init(){var e=this;const t=l(u,this).getSettings();h(g,this,t.imeFastEdit?c.MIXED:c.CELL),l(u,this).addHook("afterUpdateSettings",function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return d(w,e,_).call(e,...o)}),l(u,this).addHook("afterSelection",function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return d(w,e,S).call(e,...o)}),l(u,this).addHook("afterSelectionFocusSet",function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return d(w,e,S).call(e,...o)}),l(u,this).addHook("afterSelectionEnd",function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return d(w,e,y).call(e,...o)}),l(u,this).addHook("afterRender",function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return d(w,e,E).call(e,...o)})}getFocusMode(){return l(g,this)}setFocusMode(e){Object.values(c).includes(e)?h(g,this,e):(0,r.warn)(`"${e}" is not a valid focus mode.`)}getRefocusDelay(){return l(p,this)}setRefocusDelay(e){h(p,this,e)}setRefocusElementGetter(e){h(f,this,e)}getRefocusElement(){var e;return"function"==typeof l(f,this)?l(f,this).call(this):null===(e=l(u,this).getActiveEditor())||void 0===e?void 0:e.TEXTAREA}focusOnHighlightedCell(e){const t=e=>{var t,o;const r=null===(t=l(u,this).getSelectedRangeActive())||void 0===t?void 0:t.highlight;if(!r)return;let i=l(u,this).runHooks("modifyFocusedElement",r.row,r.col,e);(0,n.isHTMLElement)(i)||(i=e),!i||null!==(o=l(u,this).getActiveEditor())&&void 0!==o&&o.isOpened()||i.focus({preventScroll:!0})};e?t(e):d(w,this,b).call(this,e=>t(e))}refocusToEditorTextarea(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l(p,this);var o,r;!l(u,this).getSettings().imeFastEdit||null!==(e=l(u,this).getActiveEditor())&&void 0!==e&&e.isOpened()||(null===(o=l(u,this).getActiveEditor())||void 0===o||null===(r=o.refreshValue)||void 0===r||r.call(o),l(m,this).has(t)||l(m,this).set(t,(0,i.debounce)(()=>{var e;l(u,this).isDestroyed||(null===(e=this.getRefocusElement())||void 0===e||e.select())},t)),l(m,this).get(t)())}}},6297(e,t,o){"use strict";t.__esModule=!0;var r={createFocusScopeManager:!0,FocusGridManager:!0},n=o(11134);t.createFocusScopeManager=n.createFocusScopeManager;var i=o(2229);t.FocusGridManager=i.FocusGridManager;var s=o(26907);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===s[e]||(t[e]=s[e]))})},37169(e,t,o){"use strict";t.__esModule=!0,t.createFocusScope=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i={shortcutsContextName:n.DEFAULT_SHORTCUTS_CONTEXT,type:n.SCOPE_TYPES.INLINE,contains:e=>e===t||t.contains(e),runOnlyIf:()=>!0,...o},s=(0,r.installFocusDetector)(e,t);return{getType:()=>i.type,hasContainerDetached:()=>!e.rootWrapperElement.contains(t),getShortcutsContextName:()=>i.shortcutsContextName,runOnlyIf:()=>i.runOnlyIf(),contains:e=>i.contains(e),activate:function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.FOCUS_SOURCES.UNKNOWN;null===(e=i.onActivate)||void 0===e||e.call(i,t)},deactivate:()=>{var e;null===(e=i.onDeactivate)||void 0===e||e.call(i)},activateFocusCatchers:()=>{null==s||s.activate()},deactivateFocusCatchers:()=>{null==s||s.deactivate()},enable:()=>{t.removeAttribute("inert")},disable:()=>{t.setAttribute("inert","true")},destroy:()=>{null==s||s.destroy()}}};var r=o(71265),n=o(25792)},11134(e,t,o){"use strict";t.__esModule=!0,t.createFocusScopeManager=function(e){const t=(0,r.createUniqueMap)({errorIdExists:e=>`The "${e}" focus scope is already registered.`}),o=e.getShortcutManager();let h=null;function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.FOCUS_SOURCES.UNKNOWN;h!==e&&(null!==h&&c(h),h=e,h.activate(t),o.setActiveContextName(e.getShortcutsContextName()))}function c(e){u(),h===e&&(h=null,e.deactivate())}function u(){const o=t.getValues(),r=o.filter(e=>e.runOnlyIf()&&"modal"===e.getType());o.forEach(t=>{r.length>0&&r.includes(t)||0===r.length||t.hasContainerDetached()?t.enable():t.disable(),t===h?t.contains(e.rootDocument.activeElement)?t.deactivateFocusCatchers():t.activateFocusCatchers():t.runOnlyIf()?t.activateFocusCatchers():t.deactivateFocusCatchers()})}function g(o,r){if(!o.isConnected||!(0,l.isVisible)(o))return;const n=t.getValues().filter(e=>e.runOnlyIf());let i=!1;n.forEach(t=>{!i&&t.contains(o)&&(i=!0,r!==a.FOCUS_SOURCES.UNKNOWN&&e.listen(),d(t,r))}),!i&&h&&(c(h),e.unlisten())}const p=(0,s.useEventListener)(e.rootWindow,{onFocus:e=>{var t;g(e.target,null!==(t=e.target.dataset.htFocusSource)&&void 0!==t?t:a.FOCUS_SOURCES.UNKNOWN)},onClick:e=>{g(e.target,a.FOCUS_SOURCES.CLICK)},onTabKeyDown:()=>{u()}});return p.mount(),{getActiveScopeId:function(){if(!h)return null;return t.getId(h)},registerScope:function(r,s){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t.hasItem(r)&&(0,n.throwWithCause)(`Scope with id "${r}" already registered`);const l=(0,i.createFocusScope)(e,s,a);t.addItem(r,l),o.getOrCreateContext(l.getShortcutsContextName())},unregisterScope:function(e){t.hasItem(e)||(0,n.throwWithCause)(`Scope with id "${e}" not found`);t.getItem(e).destroy(),t.removeItem(e)},activateScope:e=>function(e){t.hasItem(e)||(0,n.throwWithCause)(`Scope with id "${e}" not found`);d(t.getItem(e))}(e),deactivateScope:e=>function(e){t.hasItem(e)||(0,n.throwWithCause)(`Scope with id "${e}" not found`);c(t.getItem(e))}(e),destroy:()=>p.unmount()}};var r=o(265),n=o(26032),i=o(37169),s=o(75477),a=o(25792),l=o(23876)},75191(e,t,o){"use strict";t.__esModule=!0,t.focusGridScope=function(e){var t;const o=(0,r.normalizeCoordsIfNeeded)(e),i={wrapped:!1,flipped:!1};let s,a=!0,l=!1;e.addHook("afterSelection",()=>{var t;a&&(s=null===(t=e.getSelectedRangeActive())||void 0===t?void 0:t.highlight)}),e.addHook("beforeRowWrap",(e,t,o)=>{i.wrapped=!0,i.flipped=o}),e.addHook("beforeEmptyDataStateShow",()=>{l=!0}),e.addHook("beforeEmptyDataStateHide",()=>{l=!1});e.getShortcutManager().getContext(n.GRID_SCOPE).addShortcuts([{keys:[["Tab"],["Shift","Tab"]],preventDefault:!1,stopPropagation:!1,relativeToGroup:n.GRID_GROUP,group:n.GRID_TAB_NAVIGATION_GROUP,position:"before",callback(){const{tabNavigation:t}=e.getSettings();e.getSelectedRangeActive()&&!t&&(a=!1)}},{keys:[["Tab"],["Shift","Tab"]],preventDefault:!1,stopPropagation:!1,relativeToGroup:n.GRID_GROUP,group:n.GRID_TAB_NAVIGATION_GROUP,callback(t){const{tabNavigation:o,autoWrapRow:n}=e.getSettings();a=!0,(!o||!e.selection.isSelected()||n&&i.wrapped&&i.flipped||!n&&i.wrapped)&&(n&&i.wrapped&&i.flipped&&(s=t.shiftKey?(0,r.getMostTopStartPosition)(e):(0,r.getMostBottomEndPosition)(e)),i.wrapped=!1,i.flipped=!1)},position:"after"}]);const h=null!==(t=e.rootGridElement)&&void 0!==t?t:e.rootElement;e.getFocusScopeManager().registerScope("grid",h,{contains:t=>!(h!==t&&!h.contains(t))||null===t.closest(".htMenu")&&e.rootPortalElement.contains(t),runOnlyIf:()=>{const{navigableHeaders:t}=e.getSettings();return!((l||!t)&&0===e.countRenderedRows()&&0===e.countRenderedCols()&&e.countRowHeaders()>0&&e.countColHeaders()>0)&&(!t&&e.countRenderedRows()>0&&e.countRenderedCols()>0||t&&(e.countRowHeaders()>0||e.countColHeaders()>0))},onActivate:t=>{if("tab_from_above"===t){var n;const t=null!==(n=o(s))&&void 0!==n?n:(0,r.getMostTopStartPosition)(e);if(t){!1!==e.runHooks("modifyFocusOnTabNavigation","from_above",t)&&e.selectCell(t.row,t.col)}}else if("tab_from_below"===t){var i;const t=null!==(i=o(s))&&void 0!==i?i:(0,r.getMostBottomEndPosition)(e);if(t){!1!==e.runHooks("modifyFocusOnTabNavigation","from_below",t)&&e.selectCell(t.row,t.col)}}}})};var r=o(73110),n=o(17304)},26907(e,t,o){"use strict";t.__esModule=!0,t.registerAllFocusScopes=function(e){[r.focusGridScope].forEach(t=>t(e))};var r=o(75191)},71265(e,t,o){"use strict";t.__esModule=!0,t.installFocusDetector=function(e,t){const o=n(e,r.FOCUS_SOURCES.TAB_FROM_ABOVE),i=n(e,r.FOCUS_SOURCES.TAB_FROM_BELOW);return t.prepend(o),t.append(i),{activate(){o.tabIndex=0,i.tabIndex=0},deactivate(){o.tabIndex=-1,i.tabIndex=-1},destroy(){o.remove(),i.remove()}}};var r=o(25792);function n(e,t){const o=e.rootDocument.createElement("div");return o.style.display="none",o.classList.add("htFocusCatcher"),o.dataset.htFocusSource=t,o}},73110(e,t,o){"use strict";t.__esModule=!0,t.getMostBottomEndPosition=i,t.getMostTopStartPosition=n,t.normalizeCoordsIfNeeded=function(e){return t=>{if(!t)return null;const{rowIndexMapper:o,columnIndexMapper:s}=e;if(o.isHidden(t.row)||s.isHidden(t.col))return null;const a=n(e),l=i(e);return null===a||null===l?null:(t.row=(0,r.clamp)(t.row,a.row,l.row),t.col=(0,r.clamp)(t.col,a.col,l.col),t)}};var r=o(94366);function n(e){const{rowIndexMapper:t,columnIndexMapper:o}=e,{navigableHeaders:r}=e.getSettings();let n=r&&e.countColHeaders()>0?-e.countColHeaders():0,i=r&&e.countRowHeaders()>0?-e.countRowHeaders():0;return 0===n&&(n=t.getVisualFromRenderableIndex(n)),0===i&&(i=o.getVisualFromRenderableIndex(i)),null===n||null===i?null:e._createCellCoords(n,i)}function i(e){var t,o;const{rowIndexMapper:r,columnIndexMapper:n}=e,{navigableHeaders:i}=e.getSettings();let s=r.getRenderableIndexesLength()-1,a=n.getRenderableIndexesLength()-1;if(s<0){if(!i||0===e.countColHeaders())return null;s=-1}if(a<0){if(!i||0===e.countColHeaders())return null;a=-1}return e._createCellCoords(null!==(t=r.getVisualFromRenderableIndex(s))&&void 0!==t?t:s,null!==(o=n.getVisualFromRenderableIndex(a))&&void 0!==o?o:a)}},12175(e,t){"use strict";t.__esModule=!0;t.A11Y_TABINDEX=e=>["tabindex",e];t.A11Y_TREEGRID=()=>["role","treegrid"];t.A11Y_PRESENTATION=()=>["role","presentation"];t.A11Y_GRIDCELL=()=>["role","gridcell"];t.A11Y_GRIDCELL_BUTTON=()=>["role","gridcell button"];t.A11Y_ROWHEADER=()=>["role","rowheader"];t.A11Y_ROWGROUP=()=>["role","rowgroup"];t.A11Y_COLUMNHEADER=()=>["role","columnheader"];t.A11Y_ROW=()=>["role","row"];t.A11Y_MENU=()=>["role","menu"];t.A11Y_MENU_ITEM=()=>["role","menuitem"];t.A11Y_MENU_ITEM_CHECKBOX=()=>["role","menuitemcheckbox"];t.A11Y_COMBOBOX=()=>["role","combobox"];t.A11Y_LISTBOX=()=>["role","listbox"];t.A11Y_OPTION=()=>["role","option"];t.A11Y_CHECKBOX=()=>["role","checkbox"];t.A11Y_DIALOG=()=>["role","dialog"];t.A11Y_ALERTDIALOG=()=>["role","alertdialog"];t.A11Y_GROUP=()=>["role","group"];t.A11Y_SCOPE_COL=()=>["scope","col"];t.A11Y_SCOPE_ROW=()=>["scope","row"];t.A11Y_TEXT=()=>["type","text"];t.A11Y_LABEL=e=>["aria-label",e];t.A11Y_LABELED_BY=e=>["aria-labelledby",e];t.A11Y_DESCRIBED_BY=e=>["aria-describedby",e];t.A11Y_HIDDEN=()=>["aria-hidden","true"];t.A11Y_DISABLED=function(){return["aria-disabled",!(arguments.length>0&&void 0!==arguments[0])||arguments[0]]};t.A11Y_MULTISELECTABLE=()=>["aria-multiselectable","true"];t.A11Y_HASPOPUP=e=>["aria-haspopup",e];t.A11Y_ROWCOUNT=e=>["aria-rowcount",e];t.A11Y_COLCOUNT=e=>["aria-colcount",e];t.A11Y_ROWINDEX=e=>["aria-rowindex",e];t.A11Y_COLINDEX=e=>["aria-colindex",e];t.A11Y_EXPANDED=e=>["aria-expanded",e];t.A11Y_SORT=e=>["aria-sort",e];t.A11Y_READONLY=()=>["aria-readonly","true"];t.A11Y_INVALID=()=>["aria-invalid","true"];t.A11Y_CHECKED=e=>["aria-checked",e];t.A11Y_SELECTED=()=>["aria-selected","true"];t.A11Y_AUTOCOMPLETE=()=>["aria-autocomplete","list"];t.A11Y_CONTROLS=e=>["aria-controls",e];t.A11Y_ACTIVEDESCENDANT=e=>["aria-activedescendant",e];t.A11Y_LIVE=e=>["aria-live",e];t.A11Y_RELEVANT=e=>["aria-relevant",e];t.A11Y_SETSIZE=e=>["aria-setsize",e];t.A11Y_POSINSET=e=>["aria-posinset",e];t.A11Y_MODAL=()=>["aria-modal","true"]},6578(e,t){"use strict";function o(e,t,o,r){let n=-1,i=e,s=o;Array.isArray(e)||(i=Array.from(e));const a=i.length;for(r&&a&&(n+=1,s=i[n]),n+=1;n<a;)s=t(s,i[n],n,i),n+=1;return s}function r(e,t){let o=0,r=e;Array.isArray(e)||(r=Array.from(e));const n=r.length;for(;o<n&&!1!==t(r[o],o,r);)o+=1;return e}function n(e){return o(e,(e,t)=>e+t,0)}t.__esModule=!0,t.arrayAvg=function(e){if(!e.length)return 0;return n(e)/e.length},t.arrayEach=r,t.arrayFilter=function(e,t){let o=0,r=e;Array.isArray(e)||(r=Array.from(e));const n=r.length,i=[];let s=-1;for(;o<n;){const e=r[o];t(e,o,r)&&(s+=1,i[s]=e),o+=1}return i},t.arrayFlatten=function e(t){return o(t,(t,o)=>t.concat(Array.isArray(o)?e(o):o),[])},t.arrayMap=function(e,t){let o=0,r=e;Array.isArray(e)||(r=Array.from(e));const n=r.length,i=[];let s=-1;for(;o<n;){const e=r[o];s+=1,i[s]=t(e,o,r),o+=1}return i},t.arrayMax=function(e){return o(e,(e,t)=>e>t?e:t,Array.isArray(e)?e[0]:void 0)},t.arrayMin=function(e){return o(e,(e,t)=>e<t?e:t,Array.isArray(e)?e[0]:void 0)},t.arrayReduce=o,t.arraySum=n,t.arrayToString=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";return e.join(t)},t.arrayUnique=function(e){const t=[];return r(e,e=>{-1===t.indexOf(e)&&t.push(e)}),t},t.extendArray=function(e,t){const o=t.length;let r=0;for(;r<o;)e.push(t[r]),r+=1},t.getDifferenceOfArrays=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];const[n,...i]=[...t];let s=n;return r(i,e=>{s=s.filter(t=>!e.includes(t))}),s},t.getIntersectionOfArrays=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];const n=t[t.length-1];let i,s=t;"function"==typeof n&&(i=n,s=s.slice(0,-1));const a=i?(e,t)=>t.some(t=>i(e,t)):(e,t)=>t.includes(e),[l,...h]=s;let d=l;return r(h,e=>{d=d.filter(t=>a(t,e))}),d},t.getUnionOfArrays=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];const[n,...i]=[...t],s=new Set(n);return r(i,e=>{r(e,e=>{s.has(e)||s.add(e)})}),Array.from(s)},t.pivot=function(e){const t=[];if(!e||0===e.length||!e[0]||0===e[0].length)return t;const o=e.length,r=e[0].length;for(let n=0;n<o;n++)for(let o=0;o<r;o++)t[o]||(t[o]=[]),t[o][n]=e[n][o];return t},t.stringToArray=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";return e.split(t)},t.to2dArray=function(e){const t=e.length;let o=0;for(;o<t;)e[o]=[e[o]],o+=1}},46027(e,t,o){"use strict";t.__esModule=!0,t.isChrome=function(){return s.chrome.value},t.isChromeWebKit=function(){return s.chromeWebKit.value},t.isEdge=function(){return s.edge.value},t.isEdgeWebKit=function(){return s.edgeWebKit.value},t.isFirefox=function(){return s.firefox.value},t.isFirefoxWebKit=function(){return s.firefoxWebKit.value},t.isIOS=function(){return a.ios.value},t.isIpadOS=function(){let{maxTouchPoints:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator;return e>2&&a.mac.value},t.isLinuxOS=function(){return a.linux.value},t.isMacOS=function(){return a.mac.value},t.isMobileBrowser=function(){return s.mobile.value},t.isSafari=function(){return s.safari.value},t.isWindowsOS=function(){return a.win.value},t.setBrowserMeta=l,t.setPlatformMeta=h;var r=o(38888),n=o(24605);const i=e=>{const t={value:!1,test:(o,r)=>{t.value=e(o,r)}};return t},s={chrome:i((e,t)=>/Chrome/.test(e)&&/Google/.test(t)),chromeWebKit:i(e=>/CriOS/.test(e)),edge:i(e=>/Edge/.test(e)),edgeWebKit:i(e=>/EdgiOS/.test(e)),firefox:i(e=>/Firefox/.test(e)),firefoxWebKit:i(e=>/FxiOS/.test(e)),mobile:i(e=>/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e)),safari:i((e,t)=>/Safari/.test(e)&&/Apple Computer/.test(t))},a={mac:i(e=>/^Mac/.test(e)),win:i(e=>/^Win/.test(e)),linux:i(e=>/^Linux/.test(e)),ios:i(e=>/iPhone|iPad|iPod/i.test(e))};function l(){let{userAgent:e=navigator.userAgent,vendor:t=navigator.vendor}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.objectEach)(s,o=>{let{test:r}=o;r(e,t)})}function h(){let{platform:e=navigator.platform}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.objectEach)(a,t=>{let{test:o}=t;o(e)})}(0,n.isCSR)()&&(l(),h())},26070(e,t,o){"use strict";t.__esModule=!0,t.deprecatedWarn=function(e){(0,n.isDefined)(console)&&console.warn(`Deprecated: ${e}`)},t.error=function(){(0,n.isDefined)(console)&&console.error(...arguments)},t.info=function(){(0,n.isDefined)(console)&&console.info(...arguments)},t.log=i,t.logAggregatedItems=function(){let{logFunction:e=i,message:t,items:o,maxSample:n=5,itemFormatter:s=e=>`${e}`}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Array.isArray(o)||0===o.length)return;const a=o.length,l=o.slice(0,n).map(e=>` - ${s(e)}`),h=a>n?` - ...and ${a-n} more`:"",d=["Affected cells:",...l,...h?[h]:[]].join("\n");e((0,r.substitute)(t,{itemsCount:`${a} cell${a>1?"s":""}`,affectedCells:d}))},t.warn=function(){(0,n.isDefined)(console)&&console.warn(...arguments)};var r=o(23862),n=o(79416);function i(){(0,n.isDefined)(console)&&console.log(...arguments)}},84506(e,t){"use strict";t.__esModule=!0;t.BAD_VALUE_TEXT="#bad-value#"},26891(e,t,o){"use strict";t.__esModule=!0,t.countFirstRowKeys=function(e){let t=0;Array.isArray(e)&&(e[0]&&Array.isArray(e[0])?t=e[0].length:e[0]&&(0,r.isObject)(e[0])&&(t=(0,r.deepObjectSize)(e[0])));return t},t.createEmptySpreadsheetData=function(e,t){const o=[];let r;for(let n=0;n<e;n++){r=[];for(let e=0;e<t;e++)r.push("");o.push(r)}return o},t.createSpreadsheetData=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;const o=[];let r,n;for(r=0;r<e;r++){const e=[];for(n=0;n<t;n++)e.push(i(n)+(r+1));o.push(e)}return o},t.createSpreadsheetObjectData=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;const o=[];let r,n;for(r=0;r<e;r++){const e={};for(n=0;n<t;n++)e[`prop${n}`]=i(n)+(r+1);o.push(e)}return o},t.dataRowToChangesArray=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=e;const r=[];Array.isArray(e)&&Array.isArray(e[0])||(o=[e]);return o.forEach((e,o)=>{Array.isArray(e)?e.forEach((e,n)=>{r.push([o+t,n,e])}):Object.keys(e).forEach(n=>{r.push([o+t,n,e[n]])})}),r},t.isArrayOfArrays=function(e){return!!(Array.isArray(e)&&e.length&&e.every(e=>Array.isArray(e)))},t.isArrayOfObjects=function(e){return!!(Array.isArray(e)&&e.length&&e.every(e=>"object"==typeof e&&!Array.isArray(e)&&null!==e))},t.spreadsheetColumnIndex=function(e){let t=0;if(e)for(let o=0,r=e.length-1;o<e.length;o+=1,r-=1)t+=26**r*(n.indexOf(e[o])+1);return t-=1,t},t.spreadsheetColumnLabel=i;var r=o(38888);const n="ABCDEFGHIJKLMNOPQRSTUVWXYZ";function i(e){let t,o=e+1,r="";for(;o>0;)t=(o-1)%26,r=String.fromCharCode(65+t)+r,o=parseInt((o-t)/26,10);return r}},85418(e,t,o){"use strict";t.__esModule=!0,t.getNormalizedDate=function(e){const t=new Date(e);if(!isNaN(new Date(`${e}T00:00`).getDate()))return new Date(t.getTime()+6e4*t.getTimezoneOffset());return t},t.isValidISODate=function(e){if("string"!=typeof e||!n.test(e))return!1;const t=new Date(e);return!Number.isNaN(t.getTime())&&e===t.toISOString().slice(0,10)},t.isValidTime=function(e){return"string"==typeof e&&i.test(e)},t.parseToLocalDate=function(e){if((0,r.isEmpty)(e))return null;if("string"==typeof e&&n.test(e)){const[t,o,r]=e.split("-").map(Number);return new Date(t,o-1,r)}return null},t.parseToLocalTime=function(e){if((0,r.isEmpty)(e))return null;if("string"!=typeof e)return null;const t=i.exec(e);if(!t)return null;const o=Number(t[1]),n=Number(t[2]),s=void 0!==t[3]?Number(t[3]):0,a=t[4],l=void 0!==a?Number(a.padEnd(3,"0").slice(0,3)):0;return new Date(1970,0,1,o,n,s,l)};var r=o(79416);const n=t.ISO_DATE_REGEX=/^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/;const i=t.TIME_REGEX=/^([01]\d|2[0-3]):([0-5]\d)(?::([0-5]\d)(?:\.(\d{1,3}))?)?$/},23876(e,t,o){"use strict";t.__esModule=!0,t.addClass=u,t.addEvent=function(e,t,o){e.addEventListener(t,o,!1)},t.clearTextSelection=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;e.getSelection&&(e.getSelection().empty?e.getSelection().empty():e.getSelection().removeAllRanges&&e.getSelection().removeAllRanges())},t.closest=h,t.closestDown=function(e,t,o){const r=[];let n=e;for(;n&&(n=h(n,t,o),n&&(!o||o.contains(n)));)r.push(n),n=n.host&&n.nodeType===Node.DOCUMENT_FRAGMENT_NODE?n.host:n.parentNode;const i=r.length;return i?r[i-1]:null},t.empty=f,t.fastInnerHTML=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.sanitize;m.test(t)?(w||o!==r.sanitize||(w=!0,(0,s.deprecatedWarn)("The HTML sanitization using DOMPurify library is deprecated and will be removed in the next major release. Use the `sanitizer` option instead.\n\nMigration guide: https://handsontable.com/docs/migration-from-16.2-to-17.0/\n`sanitizer` documentation: https://handsontable.com/docs/api/options/#sanitizer")),e.innerHTML="function"==typeof o?o(t,"innerHTML"):t):b(e,t)},t.fastInnerText=b,t.findFirstParentWithClass=function(e,t){const o={element:void 0,classNames:[]};let r=e;for(;null!==r&&r!==e.ownerDocument.documentElement&&!o.element;){if("string"==typeof t&&r.classList.contains(t))o.element=r,o.classNames.push(t);else if(t instanceof RegExp){const e=Array.from(r.classList).filter(e=>t.test(e));e.length&&(o.element=r,o.classNames.push(...e))}r=r.parentElement}return o},t.getCaretPosition=function(e){if(e.selectionStart)return e.selectionStart;return 0},t.getCssTransform=function(e){let t;if(e.style.transform&&""!==(t=e.style.transform))return["transform",t];return-1},t.getFractionalScalingCompensation=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(!(0,i.isWindowsOS)())return 0;return Number.isInteger(e.defaultView.devicePixelRatio||1)?0:2},t.getFrameElement=l,t.getMaximumScrollLeft=function(e){return e.scrollWidth-e.clientWidth},t.getMaximumScrollTop=function(e){return e.scrollHeight-e.clientHeight},t.getParent=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=-1,r=null,n=e;for(;null!==n;){if(o===t){r=n;break}n.host&&n.nodeType===Node.DOCUMENT_FRAGMENT_NODE?n=n.host:(o+=1,n=n.parentNode)}return r},t.getParentWindow=function(e){return l(e)&&e.parent},t.getScrollLeft=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;if(e===t)return y(t);return e.scrollLeft},t.getScrollTop=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;if(e===t)return v(t);return e.scrollTop},t.getScrollableElement=function(e){let t=e.ownerDocument,o=t?t.defaultView:void 0;t||(t=e.document?e.document:e,o=t.defaultView);const r=["auto","scroll"];let n=e.parentNode;for(;n&&n.style&&t.body!==n;){let{overflow:e,overflowX:t,overflowY:i}=n.style;if([e,t,i].includes("scroll"))return n;if(({overflow:e,overflowX:t,overflowY:i}=o.getComputedStyle(n)),r.includes(e)||r.includes(t)||r.includes(i))return n;if(n.clientHeight<=n.scrollHeight+1&&(r.includes(i)||r.includes(e)))return n;if(n.clientWidth<=n.scrollWidth+1&&(r.includes(t)||r.includes(e)))return n;n=n.parentNode}return o},t.getScrollbarWidth=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;void 0===C&&(C=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;const t=e.createElement("div");t.style.height="200px",t.style.width="100%";const o=e.createElement("div");!(0,i.isSafari)()||(0,i.isMobileBrowser)()||(0,i.isIpadOS)()||o.classList.add("htScrollbarSafariTest");o.style.boxSizing="content-box",o.style.height="150px",o.style.left="0px",o.style.overflow="hidden",o.style.position="absolute",o.style.top="0px",o.style.width="200px",o.style.visibility="hidden",o.appendChild(t),e.body.appendChild(o);const r=t.offsetWidth;o.style.overflow="scroll";let n=t.offsetWidth;r===n&&(n=o.clientWidth);return e.body.removeChild(o),r-n}(e));return C},t.getSelectionEndPosition=function(e){if(e.selectionEnd)return e.selectionEnd;return 0},t.getSelectionText=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;const t=e.document;let o="";e.getSelection?o=e.getSelection().toString():t.selection&&"Control"!==t.selection.type&&(o=t.selection.createRange().text);return o},t.getStyle=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;if(!e)return;if(e===o)return"width"===t?`${o.innerWidth}px`:"height"===t?`${o.innerHeight}px`:void 0;const r=e.style[t];if(""!==r&&void 0!==r)return r;const n=o.getComputedStyle(e);if(""!==n[t]&&void 0!==n[t])return n[t]},t.getTrimmingContainer=function(e){const t=e.ownerDocument,o=t.defaultView;let r=e.parentNode;for(;r&&r.style&&t.body!==r;){if("visible"!==r.style.overflow&&""!==r.style.overflow)return r;const e=o.getComputedStyle(r),t=["scroll","hidden","auto","clip"],n=e.getPropertyValue("overflow"),i=e.getPropertyValue("overflow-y"),s=e.getPropertyValue("overflow-x");if(t.includes(n)||t.includes(i)||t.includes(s))return r;r=r.parentNode}return o},t.getWindowScrollLeft=y,t.getWindowScrollTop=v,t.hasAccessToParentWindow=function(e){return!!Object.getPrototypeOf(e.parent)},t.hasClass=function(e,t){if(void 0===e.classList||"string"!=typeof t||""===t)return!1;return e.classList.contains(t)},t.hasHorizontalScrollbar=function(e){if(e instanceof Window)return e.document.body.scrollWidth>e.innerWidth;return e.offsetHeight!==e.clientHeight},t.hasVerticalScrollbar=function(e){if(e instanceof Window)return e.document.body.scrollHeight>e.innerHeight;return e.offsetWidth!==e.clientWidth},t.hasZeroHeight=function(e){const t=e.ownerDocument.defaultView;let o=e;for(;o.parentNode;){if("0px"===o.style.height||"0"===o.style.height){const e=t.getComputedStyle(o).getPropertyValue("overflow");return"hidden"===e||"clip"===e}o=o.parentNode}return!1},t.index=function(e){let t=0,o=e;if(o.previousSibling)for(;o=o.previousSibling;)t+=1;return t},t.innerHeight=function(e){return e.clientHeight||e.innerHeight},t.innerWidth=function(e){return e.clientWidth||e.innerWidth},t.isChildOf=function(e,t){let o=e.parentNode,r=[];"string"==typeof t?r=e.defaultView?Array.prototype.slice.call(e.querySelectorAll(t),0):Array.prototype.slice.call(e.ownerDocument.querySelectorAll(t),0):r.push(t);for(;null!==o;){if(r.indexOf(o)>-1)return!0;o=o.parentNode}return!1},t.isDetached=function(e){return!e.parentNode},t.isHTMLElement=function(e){var t;const o=null==e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView.Element;return!!(o&&null!==o&&e instanceof o)},t.isInput=S,t.isInternalElement=function(e,t){const o=e.closest(".handsontable");return!!o&&(o.parentNode===t||o===t)},t.isOutsideInput=E,t.isVisible=function e(t){const o=t.ownerDocument.documentElement,r=t.ownerDocument.defaultView;let n=t;for(;n!==o;){if(null===n)return!1;if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){if(!n.host)return!1;if(n.host.impl)return e(n.host.impl);if(n.host)return e(n.host);(0,a.throwWithCause)("Lost in Web Components world")}else if("none"===r.getComputedStyle(n).display)return!1;n=n.parentNode}return!0},t.makeElementContentEditableAndSelectItsContent=_,t.matchesCSSRules=function(e,t){const{selectorText:o}=t;let r=!1;t.type===CSSRule.STYLE_RULE&&o&&(e.msMatchesSelector?r=e.msMatchesSelector(o):e.matches&&(r=e.matches(o)));return r},t.observeVisibilityChangeOnce=function(e,t){new IntersectionObserver((o,r)=>{o.forEach(o=>{o.isIntersecting&&null!==e.offsetParent&&(t(),r.unobserve(e))})},{root:e.ownerDocument.body}).observe(e)},t.offset=function(e){const t=e.ownerDocument,o=t.defaultView,r=t.documentElement;let n,i,s,a=e;n=a.offsetLeft,i=a.offsetTop,s=a;for(;(a=a.offsetParent)&&a!==t.body&&"offsetLeft"in a;)n+=a.offsetLeft,i+=a.offsetTop,s=a;s&&"fixed"===s.style.position&&(n+=o.pageXOffset||r.scrollLeft,i+=o.pageYOffset||r.scrollTop);return{left:n,top:i}},t.outerHeight=function(e){return e.offsetHeight},t.outerWidth=function(e){return e.offsetWidth},t.overlayContainsElement=function(e,t,o){const r=o.parentElement.querySelector(`.ht_clone_${e}`);return r?r.contains(t):null},t.removeAttribute=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];"string"==typeof t?t=t.split(" "):t instanceof RegExp&&(t=[t]);const{regexFree:o,regexes:r}=c(t,!0);o.forEach(t=>{""!==t&&e.removeAttribute(t)}),r.forEach(t=>{e.getAttributeNames().forEach(o=>{t.test(o)&&e.removeAttribute(o)})})},t.removeClass=g,t.removeContentEditableFromElementAndDeselect=R,t.removeEvent=function(e,t,o){e.removeEventListener(t,o,!1)},t.removeTextNodes=function e(t){if(3===t.nodeType)t.parentNode.removeChild(t);else if(["TABLE","THEAD","TBODY","TFOOT","TR"].indexOf(t.nodeName)>-1){const o=t.childNodes;for(let t=o.length-1;t>=0;t--)e(o[t])}},t.resetCssTransform=function(e){e.style.transform&&""!==e.style.transform&&(e.style.transform="")},t.runWithSelectedContendEditableElement=function(e,t){let o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];_(e,o),t(),R(e,o)},t.selectElementIfAllowed=function(e){E(e.ownerDocument.activeElement)||e.select()},t.setAttribute=p,t.setCaretPosition=function(e,t,o){void 0===o&&(o=t);if(e.setSelectionRange){e.focus();try{e.setSelectionRange(t,o)}catch(r){const n=e.parentNode,i=n.style.display;n.style.display="block",e.setSelectionRange(t,o),n.style.display=i}}},t.setOverlayPosition=function(e,t,o){e.style.transform=`translate3d(${t},${o},0)`};var r=o(23862),n=o(12175),i=o(46027),s=o(26070),a=o(26032);function l(e){return Object.getPrototypeOf(e.parent)&&e.frameElement}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2?arguments[2]:void 0;const{ELEMENT_NODE:r,DOCUMENT_FRAGMENT_NODE:n}=Node;let i=e;for(;null!=i&&i!==o;){const{nodeType:e,nodeName:o}=i;if(e===r&&(t.includes(o)||t.includes(i)))return i;const{host:s}=i;i=s&&e===n?s:i.parentNode}return null}function d(e){return e&&e.length?e.filter(e=>!!e):[]}function c(e,t){if(!e||!e.length)return t?{regexFree:[],regexes:[]}:[];const o=[],r=[];return r.push(...e.filter(e=>{const r=e instanceof RegExp;return r&&t&&o.push(e),!r})),t?{regexFree:r,regexes:o}:r}function u(e,t){"string"==typeof t&&(t=t.split(" ")),(t=d(t)).length>0&&e.classList.add(...t)}function g(e,t){"string"==typeof t?t=t.split(" "):t instanceof RegExp&&(t=[t]);let{regexFree:o,regexes:r}=c(t,!0);o=d(o),o.length>0&&e.classList.remove(...o),r.forEach(t=>{e.classList.forEach(o=>{t.test(o)&&e.classList.remove(o)})})}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2?arguments[2]:void 0;Array.isArray(t)||(t=[[t,o]]),t.forEach(t=>{Array.isArray(t)&&""!==t[0]&&e.setAttribute(...t)})}function f(e){let t;for(;t=e.lastChild;)e.removeChild(t)}const m=t.HTML_CHARACTERS=/(<(.*)>|&(.*);)/;let C,w=!1;function b(e,t){const o=e.firstChild;o&&3===o.nodeType&&null===o.nextSibling?o.textContent=t:(f(e),e.appendChild(e.ownerDocument.createTextNode(t)))}function v(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).scrollY}function y(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).scrollX}function S(e){return e&&(["INPUT","SELECT","TEXTAREA"].indexOf(e.nodeName)>-1||"true"===e.contentEditable)}function E(e){return S(e)&&!1===e.hasAttribute("data-hot-input")}function _(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=e.ownerDocument,i=r.createRange(),s=r.defaultView.getSelection();p(e,"contenteditable",!0),o&&p(e,...(0,n.A11Y_HIDDEN)()),t&&u(e,"invisibleSelection"),i.selectNodeContents(e),s.removeAllRanges(),s.addRange(i)}function R(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const o=e.ownerDocument.defaultView.getSelection();e.hasAttribute("aria-hidden")&&e.removeAttribute("aria-hidden"),o.removeAllRanges(),t&&g(e,"invisibleSelection"),e.removeAttribute("contenteditable")}},31100(e,t,o){"use strict";t.__esModule=!0,t.isImmediatePropagationStopped=function(e){return!1===e.isImmediatePropagationEnabled},t.isLeftClick=function(e){return 0===e.button},t.isRightClick=function(e){return 2===e.button},t.isTouchEvent=function(e){return"undefined"!=typeof TouchEvent&&e instanceof TouchEvent},t.offsetRelativeTo=function(e,t){const o={x:e.offsetX,y:e.offsetY};let n=e.target;if(!(0,r.isHTMLElement)(t)||n!==t&&n.contains(t))return o;for(;n!==t;)o.x+=n.offsetLeft,o.y+=n.offsetTop,n=n.offsetParent;return o},t.stopImmediatePropagation=function(e){e.isImmediatePropagationEnabled=!1,e.cancelBubble=!0};var r=o(23876)},26032(e,t){"use strict";t.__esModule=!0,t.throwWithCause=function(e){throw new Error(e,{cause:{handsontable:!0}})}},24605(e,t){"use strict";let o;t.__esModule=!0,t.cancelAnimationFrame=function(e){window.cancelAnimationFrame(e)},t.getComparisonFunction=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(o)return o;o="object"==typeof Intl?new Intl.Collator(e,t).compare:"function"==typeof String.prototype.localeCompare?(e,t)=>`${e}`.localeCompare(t):(e,t)=>e===t?0:e>t?-1:1;return o},t.isCSR=function(){return"undefined"!=typeof window},t.isTouchSupported=function(){return"ontouchstart"in window},t.requestAnimationFrame=function(e){return window.requestAnimationFrame(e)}},3179(e,t,o){"use strict";t.__esModule=!0,t.curry=function(e){const t=e.length;return function o(r){return function(){for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];const a=r.concat(i);let l;return l=a.length>=t?e.apply(this,a):o(a),l}}([])},t.curryRight=function(e){const t=e.length;return function o(r){return function(){for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];const a=r.concat(i.reverse());let l;return l=a.length>=t?e.apply(this,a):o(a),l}}([])},t.debounce=function(e){let t,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,r=null;return function(){for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return r&&clearTimeout(r),r=setTimeout(()=>{t=e.apply(this,i)},o),t}},t.fastCall=function(e,t,o,r,i,s,a,l){if((0,n.isDefined)(l))return e.call(t,o,r,i,s,a,l);if((0,n.isDefined)(a))return e.call(t,o,r,i,s,a);if((0,n.isDefined)(s))return e.call(t,o,r,i,s);if((0,n.isDefined)(i))return e.call(t,o,r,i);if((0,n.isDefined)(r))return e.call(t,o,r);if((0,n.isDefined)(o))return e.call(t,o);return e.call(t)},t.isFunction=function(e){return"function"==typeof e},t.partial=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.apply(this,o.concat(r))}},t.pipe=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];const[n,...i]=t;return function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return(0,r.arrayReduce)(i,(e,t)=>t(e),n.apply(this,t))}},t.throttle=i,t.throttleAfterHits=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;const r=i(e,t);let n=o;function s(){for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return n?(n-=1,e.apply(this,o)):r.apply(this,o)}return s.clearHits=function(){n=o},s};var r=o(6578),n=o(79416);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,o=0;const r={lastCallThrottled:!0};let n=null;return function(){for(var i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];const l=Date.now();let h=!1;r.lastCallThrottled=!0,o||(o=l,h=!0);const d=t-(l-o);return h?(r.lastCallThrottled=!1,e.apply(this,s)):(n&&clearTimeout(n),n=setTimeout(()=>{r.lastCallThrottled=!1,e.apply(this,s),o=0,n=void 0},d)),r}}},79416(e,t,o){"use strict";t.__esModule=!0,t._injectProductInfo=function(e,t,o){const r=!i(e),n="string"==typeof e&&"non-commercial-and-evaluation"===e.toLowerCase(),f="17.0.0-rc13";let m,C="invalid",w="invalid";const b=function(e){let t=[][s],o=t;if(e[s]!==d("Z"))return!1;for(let t="",r="B<H4P+".split(""),n=d(r.shift());n;n=d(r.shift()||"A"))--n<""[s]?o|=(l(`${l(a(t)+(a(h(e,Math.abs(n),2))+[]).padStart(2,"0"))}`)%97||2)>>1:t=h(e,n,n?1===r[s]?9:8:6);return o===t}(e=c(e||""));if(r||n||b)if(b){const[t,r,n]=o.split("/").map(Number),i=Math.floor(Date.UTC(n,r-1,t)/864e5),l=a(h(c(v=e),a("12"),d("F")))/(a(h(c(v),d("B"),~~![][s]))||9);m=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"long",day:"2-digit",timeZone:"UTC"}).format(864e5*(l+1)),i>l?(C="expired",w="expired"):(C="valid",w="valid")}else n?(C="non_commercial",w="valid"):(C="invalid",w="invalid");else C="missing",w="missing";var v;"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)&&(C="valid",w="valid");if(!u&&"valid"!==C){g[C]({keyValidityDate:m,hotVersion:f})&&console["non_commercial"===C?"info":"warn"](g[C]({keyValidityDate:m,hotVersion:f})),u=!0}if("valid"!==w&&t){if(p[w]({keyValidityDate:m,hotVersion:f})){const e=document.createElement("div");e.className="handsontable hot-display-license-info",e.innerHTML=p[w]({keyValidityDate:m,hotVersion:f}),t.appendChild(e)}}},t.isDefined=function(e){return void 0!==e},t.isEmpty=i,t.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},t.isUndefined=n,t.stringify=function(e){let t;switch(typeof e){case"string":case"number":t=`${e}`;break;case"object":t=null===e?"":e.toString();break;case"undefined":t="";break;default:t=e.toString()}return t};var r=o(26192);function n(e){return void 0===e}function i(e){return null===e||""===e||n(e)}const s="length",a=e=>parseInt(e,16),l=e=>parseInt(e,10),h=(e,t,o)=>e.substr(t,o),d=e=>e.codePointAt(0)-65,c=e=>`${e}`.replace(/\-/g,"");let u=!1;const g={invalid:()=>r.toSingleLine`
39
+ required by the native time input. Received:`,e)}focus(){this.TEXTAREA.select()}open(){super.open();try{this.TEXTAREA.showPicker()}catch{}}}t.IntlTimeEditor=l},40796(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=o(38888),i=r(o(81551)),s=o(45016),a=r(o(34354)),l=o(29121),h=o(79972);function d(e,t,o){c(e,t),t.set(e,o)}function c(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function u(e,t){return e.get(p(e,t))}function g(e,t,o){return e.set(p(e,t),o),o}function p(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var f=new WeakMap,m=new WeakMap,C=new WeakMap,w=new WeakMap,b=new WeakMap,v=new WeakMap,y=new WeakMap,S=new WeakMap,E=new WeakMap,_=new WeakMap,R=new WeakSet;class T{constructor(e,t){var o,r;c(o=this,r=R),r.add(o),d(this,f,null),d(this,m,null),d(this,C,null),d(this,w,null),d(this,b,null),d(this,v,null),d(this,y,null),d(this,S,null),d(this,E,new a.default(this)),d(this,_,{visibleRowsNumber:null,entriesCount:0,flippedVertically:!1,currentlySelectedItemIndex:0,checkboxChangeListeners:new Map,areCheckboxesDisabled:!1,sourceSortFunction:null}),g(m,this,e),g(S,this,u(m,this).ownerDocument),g(f,this,t),this.init()}init(){g(C,this,(0,h.createListElement)({root:u(S,this)})),g(w,this,(0,h.createSearchInputElement)({root:u(S,this)}));const e=(0,h.createSearchIcon)({root:u(S,this)});g(v,this,(0,h.createSearchInputWrapper)({root:u(S,this)})),g(b,this,(0,h.createSeparatorElement)({root:u(S,this)})),u(v,this).appendChild(e),u(v,this).appendChild(u(w,this)),u(m,this).appendChild(u(v,this)),u(m,this).appendChild(u(b,this)),u(m,this).appendChild(u(C,this)),g(y,this,new l.InputController({input:u(w,this),eventManager:u(E,this)}))}setVisibleRowsNumberSetting(e){u(_,this).visibleRowsNumberSetting=e}setSourceSortFunction(e){u(_,this).sourceSortFunction=null!=e?e:null}setSearchInputVisibility(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];u(v,this).style.display=e?"":"none",u(b,this).style.display=e?"":"none",u(y,this).toggle(e)}fillDropdown(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this.removeAllDropdownItems(),u(_,this).currentlySelectedItemIndex=0,Array.isArray(t)||(t=[]),u(_,this).sourceSortFunction&&(e=u(_,this).sourceSortFunction(e)),e.forEach((e,o)=>{var r;p(R,this,N).call(this,{rootDocument:u(S,this),itemKey:null==e?void 0:e.key,itemValue:null!==(r=null==e?void 0:e.value)&&void 0!==r?r:e,indexWithinList:o,checked:(0,s.includesValue)(t,e),disabled:u(_,this).areCheckboxesDisabled})}),u(_,this).entriesCount=e.length,this.runLocalHooks("afterDropdownFill")}updateDimensions(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const o=p(R,this,O).call(this),r=p(R,this,I).call(this,e),n=r?e.spaceAbove:e.spaceBelow;if(!t&&r&&(u(_,this).flippedVertically=!0),u(_,this).entriesCount>0&&n<this.getHeight(!0)){const e=Math.max(Math.floor((n-p(R,this,x).call(this))/o)-1,1);u(_,this).actualRenderedItemsCount=u(_,this).visibleRowsNumberSetting?Math.min(e,u(_,this).visibleRowsNumberSetting):e}else u(_,this).actualRenderedItemsCount=Math.min(u(_,this).entriesCount,u(_,this).visibleRowsNumberSetting);u(_,this).actualRenderedItemsCount&&u(_,this).entriesCount>u(_,this).actualRenderedItemsCount?u(m,this).style.height=`${this.getHeight()}px`:u(m,this).style.height="",p(R,this,k).call(this,e),u(m,this).scrollTop=0}getDropdownWidth(){return(0,h.getDropdownWidth)({dropdownListElement:u(C,this)})}deselectAllItems(){(0,h.deselectAllItems)({dropdownListElement:u(C,this)})}focusFirstItem(){u(_,this).entriesCount>0&&p(R,this,M).call(this,0)}focusItem(e){p(R,this,M).call(this,e)}focusPreviousItem(){0!==u(_,this).currentlySelectedItemIndex?((0,h.defocusItem)({dropdownListElement:u(C,this),index:u(_,this).currentlySelectedItemIndex}),p(R,this,M).call(this,u(_,this).currentlySelectedItemIndex-1)):this.focusSearchInput()}focusNextItem(){u(_,this).currentlySelectedItemIndex!==u(_,this).entriesCount-1&&((0,h.defocusItem)({dropdownListElement:u(C,this),index:u(_,this).currentlySelectedItemIndex}),p(R,this,M).call(this,u(_,this).currentlySelectedItemIndex+1))}focusSearchInput(){u(w,this)&&u(w,this).focus()}reset(){this.removeAllDropdownItems(),p(R,this,D).call(this),u(w,this)&&(u(w,this).value=""),u(m,this).style.position="",u(m,this).style.top="",u(m,this).style.height="",u(m,this).scrollTop=0}isFlippedVertically(){return u(_,this).flippedVertically}getHeight(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const o=u(S,this).defaultView.getComputedStyle(u(m,this));return p(R,this,A).call(this,e)+p(R,this,x).call(this)+(!0===t?2*parseInt(o.getPropertyValue("--ht-menu-vertical-padding"),10):0)}getInputController(){return u(y,this)}removeAllDropdownItems(){Array.from(u(C,this).children).forEach(e=>p(R,this,P).call(this,e)),u(_,this).checkboxChangeListeners.clear(),u(C,this).innerHTML=""}disableCheckboxes(){u(_,this).areCheckboxesDisabled=!0,(0,h.disableUncheckedCheckboxes)({dropdownListElement:u(C,this)})}enableCheckboxes(){u(_,this).areCheckboxesDisabled=!1,(0,h.enableAllCheckboxes)({dropdownListElement:u(C,this)})}}function M(e){u(_,this).currentlySelectedItemIndex=e,(0,h.focusItemAt)({dropdownListElement:u(C,this),index:e})}function I(e){const{spaceAbove:t,spaceBelow:o,cellHeight:r}=e;return this.getHeight(!0)>o&&t>o+r}function k(e){const{cellHeight:t}=e;u(_,this).flippedVertically?(u(m,this).style.position="absolute",u(m,this).style.top=-this.getHeight(!1,!0)-t-2+"px"):(u(m,this).style.position="",u(m,this).style.top="")}function O(){const e=u(S,this).defaultView.getComputedStyle(u(m,this));return 2*parseInt(e.getPropertyValue("--ht-menu-item-vertical-padding"),10)+parseInt(e.getPropertyValue("--ht-line-height"),10)}function A(){var e;let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const o=u(_,this).entriesCount;return(t?o:null!==(e=u(_,this).actualRenderedItemsCount)&&void 0!==e?e:o)*p(R,this,O).call(this)}function x(){if(!u(y,this).enabled)return 0;const e=u(S,this).defaultView.getComputedStyle(u(m,this));return u(v,this).offsetHeight+(u(b,this).offsetHeight+2*parseInt(e.getPropertyValue("--ht-menu-vertical-padding"),10))}function N(e){let{rootDocument:t,itemKey:o,itemValue:r,indexWithinList:n,checked:i=!1,disabled:s=!1}=e;const a=(0,h.createListItemElement)({rootDocument:t,instanceId:u(f,this),itemKey:o,itemValue:r,indexWithinList:n,checked:i,disabled:s});i&&(0,h.selectItem)(a),p(R,this,H).call(this,a),u(C,this).appendChild(a)}function H(e){const t=(0,s.getCheckboxElement)(e),o=()=>{"true"===t.dataset.disabled&&t.checked?t.checked=!1:t.checked?((0,h.selectItem)(e),this.runLocalHooks("afterDropdownItemChecked",t.dataset.key,t.dataset.value)):((0,h.deselectItem)(e),this.runLocalHooks("afterDropdownItemUnchecked",t.dataset.key,t.dataset.value))},r=e=>{e.target!==t&&"true"!==t.dataset.disabled&&"LABEL"!==e.target.tagName&&(t.checked=!t.checked,t.dispatchEvent(new Event("change")))};u(_,this).checkboxChangeListeners.set(t,{change:o,click:r}),u(E,this).addEventListener(t,"change",o),u(E,this).addEventListener(e,"click",r)}function P(e){const t=(0,s.getCheckboxElement)(e),o=u(_,this).checkboxChangeListeners.get(t);u(E,this).removeEventListener(t,"change",o.change),u(E,this).removeEventListener(e,"click",o.click),u(_,this).checkboxChangeListeners.delete(t)}function D(){u(_,this).visibleRowsNumberSetting=null,u(_,this).entriesCount=0,u(_,this).flippedVertically=!1,u(_,this).currentlySelectedItemIndex=0,u(_,this).checkboxChangeListeners.clear(),u(_,this).areCheckboxesDisabled=!1,u(_,this).sourceSortFunction=null}t.DropdownController=T,(0,n.mixin)(T,i.default)},29121(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=o(38888),i=r(o(81551));function s(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}var a=new WeakSet;class l{constructor(e){let{input:t,eventManager:o}=e;s(this,a),this.input=t,this.eventManager=o,this.enabled=!0,this.onInput=this.onInput.bind(this)}getInputElement(){return this.input}setValue(e){this.input.value=e}toggle(e){this.enabled=e,this.input&&(e?this.listen():this.unlisten())}listen(){this.eventManager.addEventListener(this.input,"input",this.onInput)}unlisten(){this.eventManager.removeEventListener(this.input,"input",this.onInput)}onInput(){(function(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")})(a,this,h).call(this,this.input.value)}}function h(e){this.runLocalHooks("triggerFilter",e)}t.InputController=l,(0,n.mixin)(l,i.default)},56754(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(38888),s=o(45016);t.SelectedItemsController=class{constructor(e){var t;(0,n.default)(this,"selectedItems",null!==(t=this.selectedItems)&&void 0!==t?t:new Set),(0,n.default)(this,"maxSelectionsCount",1/0),Array.isArray(e)?this.selectedItems=new Set(e):this.selectedItems=new Set}setMaxSelectionCount(e){this.maxSelectionsCount=e}add(e){this.selectedItems.size>=this.maxSelectionsCount||(Array.isArray(e)?e.forEach(e=>this.selectedItems.add(e)):this.selectedItems.add(e))}remove(e){if(!(0,i.isKeyValueObject)(e))return this.selectedItems.delete(e);{const t=Array.from(this.selectedItems).find(t=>(0,i.isObjectEqual)(t,e));if(void 0!==t)return this.selectedItems.delete(t),!0}return!1}has(e){return(0,s.includesValue)(this.getItemsArray(),e)}clear(){this.selectedItems.clear()}getSize(){return this.selectedItems.size}getItemsArray(){return Array.from(this.selectedItems)}}},79972(e,t,o){"use strict";t.__esModule=!0,t.createListElement=function(e){let{root:t}=e;return t.createElement("ul")},t.createListItemElement=function(e){let{rootDocument:t,instanceId:o,itemKey:r,itemValue:n,indexWithinList:i,checked:s=!1,disabled:a=!1}=e;const l=t.createElement("li"),h=t.createElement("div"),d=t.createElement("input"),u=t.createElement("label");d.id=`${o}-${c}${i}`,d.type="checkbox",d.dataset.value=n,d.dataset.index=i,d.dataset.disabled=!s&&a,r&&(d.dataset.key=r);return u.htmlFor=d.id,u.textContent=n,h.appendChild(d),h.appendChild(u),l.appendChild(h),l},t.createSearchIcon=function(e){let{root:t}=e;const o=t.createElement("div");return(0,r.addClass)(o,l),(0,r.setAttribute)(o,[(0,n.A11Y_HIDDEN)()]),o},t.createSearchInputElement=function(e){let{root:t}=e;const o=t.createElement("input");return(0,r.setAttribute)(o,[(0,n.A11Y_LABEL)("Search options"),["type","text"],["size",3],["placeholder","Search..."],["id",h]]),(0,r.addClass)(o,h),o},t.createSearchInputWrapper=function(e){let{root:t}=e;const o=t.createElement("div");return o.className=a,o},t.createSeparatorElement=function(e){let{root:t}=e;const o=t.createElement("div");return o.className=d,o},t.defocusItem=function(e){let{dropdownListElement:t,index:o}=e;const r=t.children[o];if(r){const e=(0,i.getCheckboxElement)(r);e&&e.blur()}},t.deselectAllItems=function(e){let{dropdownListElement:t}=e;t.querySelectorAll(`.${u}`).forEach(e=>g(e))},t.deselectItem=g,t.disableUncheckedCheckboxes=function(e){let{dropdownListElement:t}=e;t.querySelectorAll('input[type="checkbox"]:not(:checked)').forEach(e=>{e.dataset.disabled=!0})},t.enableAllCheckboxes=function(e){let{dropdownListElement:t}=e;t.querySelectorAll('input[type="checkbox"]').forEach(e=>{e.dataset.disabled=!1})},t.focusItemAt=function(e){let{dropdownListElement:t,index:o}=e;const r=t.children[o];if(r){const e=(0,i.getCheckboxElement)(r);e&&e.focus()}},t.getDropdownWidth=function(e){let{dropdownListElement:t}=e;return t.offsetWidth},t.selectItem=function(e){const t=(0,i.getCheckboxElement)(e);(0,r.addClass)(e,u),t.checked||(t.checked=!0)};var r=o(23876),n=o(12175),i=o(45016);const s="ht-multi-select-editor",a=`${s}-search-input-wrapper`,l=`${s}-search-icon`,h=`${s}-search-input`,d=`${s}-separator`,c=`${s}-item-`,u=t.SELECTED_ITEM_CLASS=`${s}-item-selected`;function g(e){const t=(0,i.getCheckboxElement)(e);(0,r.removeClass)(e,u),t.checked&&(t.checked=!1)}},55907(e,t,o){"use strict";t.__esModule=!0;var r=o(17671);t.EDITOR_TYPE=r.EDITOR_TYPE,t.MultiSelectEditor=r.MultiSelectEditor},17671(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(68597),s=r(o(34354)),a=o(40796),l=o(56754),h=o(23876),d=o(82268),c=o(12175),u=o(23501),g=o(45016);function p(e,t,o){f(e,t),t.set(e,o)}function f(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function m(e,t){return e.get(w(e,t))}function C(e,t,o){return e.set(w(e,t),o),o}function w(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}const b=t.EDITOR_TYPE="multiselect",v="multiselectEditor";var y=new WeakMap,S=new WeakMap,E=new WeakSet;class _ extends i.BaseEditor{static get EDITOR_TYPE(){return b}constructor(e){var t,o,r;super(e),f(o=this,r=E),r.add(o),(0,n.default)(this,"_closeAfterDataChange",!1),p(this,y,new l.SelectedItemsController),p(this,S,null),(0,n.default)(this,"dropdownContainerElement",null),(0,n.default)(this,"dropdownController",null!==(t=this.dropdownController)&&void 0!==t?t:null),this.eventManager=new s.default(this),this.createElements(),this.bindEvents()}createElements(){const{rootDocument:e}=this.hot;C(S,this,e.createElement("div")),m(S,this).style.display="none",(0,h.addClass)(m(S,this),"handsontableEditor"),this.dropdownContainerElement=this.hot.rootDocument.createElement("div"),(0,h.addClass)(this.dropdownContainerElement,"ht-multi-select-editor handsontableEditor"),(0,h.setAttribute)(this.dropdownContainerElement,[(0,c.A11Y_LABEL)("Select options"),(0,c.A11Y_GROUP)()]),m(S,this).appendChild(this.dropdownContainerElement),this.hot.rootElement.appendChild(m(S,this)),this.dropdownController=new a.DropdownController(this.dropdownContainerElement,this.hot.guid)}prepare(e,t,o,r,n,i){super.prepare(e,t,o,r,n,i);const s=(0,g.parseStringifiedValue)(n),a=Array.isArray(s)?s:[s],l=(0,g.getValuesIntersection)(a,w(E,this,R).call(this));this.dropdownController.reset(),l.length>=w(E,this,B).call(this,"maxSelections")&&w(E,this,O).call(this),w(E,this,L).call(this,l),this.dropdownController.setSourceSortFunction(this.cellProperties.sourceSortFunction),this.dropdownController.fillDropdown(w(E,this,R).call(this),l),this.dropdownController.setVisibleRowsNumberSetting(w(E,this,B).call(this,"visibleRows")),this.dropdownController.setSearchInputVisibility(w(E,this,B).call(this,"searchInput")),void 0!==i.maxSelections&&m(y,this).setMaxSelectionCount(i.maxSelections)}finishEditing(e,t,o){super.finishEditing(e,t,o)}bindEvents(){var e=this;this.dropdownController.addLocalHook("afterDropdownItemChecked",(e,t)=>{w(E,this,P).call(this,e,t),m(y,this).getSize()>=this.cellProperties.maxSelections&&w(E,this,O).call(this)}),this.dropdownController.addLocalHook("afterDropdownItemUnchecked",(e,t)=>{w(E,this,D).call(this,e,t),m(y,this).getSize()<this.cellProperties.maxSelections&&w(E,this,A).call(this)}),this.addHook("afterDestroy",()=>this.destroy()),this.addHook("afterSetSourceDataAtCell",function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return w(E,e,F).call(e,...o)}),this.addHook("afterScrollHorizontally",()=>this.refreshDimensions()),this.addHook("afterScrollVertically",()=>this.refreshDimensions()),this.dropdownController.getInputController().addLocalHook("triggerFilter",e=>w(E,this,x).call(this,e))}open(e){if((0,d.isPrintableChar)(null==e?void 0:e.keyCode)){const t=1===e.key.length?e.key:String.fromCharCode(e.keyCode);this.dropdownController.getInputController().enabled&&(this.dropdownController.getInputController().setValue(t),w(E,this,x).call(this,t)),e.preventDefault(),this.enableFullEditMode()}w(E,this,I).call(this),this.refreshDimensions(),this.hot.getShortcutManager().setActiveContextName("editor"),w(E,this,T).call(this),this.dropdownController.getInputController().listen(),this.dropdownController.updateDimensions(w(E,this,N).call(this))}close(){w(E,this,k).call(this),w(E,this,M).call(this),this.dropdownController.getInputController().unlisten()}getValue(){return m(y,this).getItemsArray()}setValue(){}refreshDimensions(){if(!this.getEditedCell())return void this.close();const{top:e,start:t,height:o}=this.getEditedCellRect(),r=m(S,this).style;r.top=`${e+o}px`,r[this.hot.isRtl()?"right":"left"]=`${t}px`,(0,h.addClass)(m(S,this),"ht_editor_visible")}focus(){!1===w(E,this,B).call(this,"searchInput")?this.dropdownController.focusFirstItem():this.dropdownController.focusSearchInput()}getInputElement(){return this.dropdownController.getInputController().getInputElement()}destroy(){this.close(),this.dropdownController.reset()}}function R(){var e;return null!==(e=this.cellProperties.source)&&void 0!==e?e:[]}function T(){const e=this.hot.getShortcutManager().getContext("editor");e.addShortcuts([{keys:[["ArrowUp"]],callback:()=>{this.dropdownController.focusPreviousItem()}},{keys:[["ArrowDown"]],callback:()=>{this.hot.rootDocument.activeElement===this.getInputElement()?this.dropdownController.focusFirstItem():this.dropdownController.focusNextItem()}}],{group:v}),e.addShortcuts([{keys:[["enter"],["shift","enter"],["control/meta","enter"],["control/meta","shift","enter"]],runOnlyIf:()=>!w(E,this,B).call(this,"enterCommits"),callback:e=>{const t=this.hot.rootDocument.activeElement;return"INPUT"===t.tagName&&"checkbox"===t.type&&(t.checked=!t.checked,t.dispatchEvent(new Event("change"))),e.preventDefault(),!1}},{keys:[["space"]],runOnlyIf:()=>!w(E,this,B).call(this,"enterCommits"),callback:e=>{e.preventDefault()}}],{group:v,relativeToGroup:u.EDITOR_EDIT_GROUP,position:"before"})}function M(){this.hot.getShortcutManager().getContext("editor").removeShortcutsByGroup(v)}function I(){m(S,this).style.display=""}function k(){m(S,this).style.display="none"}function O(){this.dropdownController.disableCheckboxes()}function A(){this.dropdownController.enableCheckboxes()}function x(e){var t;let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=w(E,this,B).call(this,"filterSelectedItems"))||void 0===t||t;const r=w(E,this,R).call(this).filter(t=>{var r;const n=null!==(r=null==t?void 0:t.value)&&void 0!==r?r:t;return!(o||!m(y,this).has(t))||(this.cellProperties.filteringCaseSensitive?n.includes(e):n.toLowerCase().includes(e.toLowerCase()))});this.dropdownController.fillDropdown(r,m(y,this).getItemsArray()),this.dropdownController.updateDimensions(w(E,this,N).call(this),!0)}function N(){const e=this.getEditedCellRect(),t=this.hot.view.isVerticallyScrollableByWindow(),o=this.hot.view.getWorkspaceHeight();let r=e.top;if(t){const e=this.hot.view.getTableOffset().top-this.hot.rootWindow.scrollY;r=Math.max(r+e,0)}return{spaceAbove:r,spaceBelow:o-r-e.height,cellHeight:e.height}}function H(){const e=m(y,this).getItemsArray();this.saveValue([[e]])}function P(e,t){e?m(y,this).add({key:e,value:t}):m(y,this).add(t),w(E,this,H).call(this),this.refreshDimensions()}function D(e,t){e?m(y,this).remove({key:e,value:t}):m(y,this).remove(t),w(E,this,H).call(this),this.refreshDimensions()}function L(e){e.length>0?C(y,this,new l.SelectedItemsController(e)):C(y,this,new l.SelectedItemsController)}function B(e){return this.cellProperties[e]}function F(e,t){this.isOpened()&&t===`${b}-renderer`&&parseInt(e[0][0],10)===this.cellProperties.visualRow&&parseInt(e[0][1],10)===this.cellProperties.visualCol&&(w(E,this,L).call(this,e[0][3]),this.dropdownController.fillDropdown(w(E,this,R).call(this),m(y,this).getItemsArray()),this.dropdownController.focusItem(0),m(y,this).getSize()>=this.cellProperties.maxSelections?w(E,this,O).call(this):w(E,this,A).call(this))}t.MultiSelectEditor=_},45016(e,t,o){"use strict";t.__esModule=!0,t.getCheckboxElement=function(e){return e.querySelector('input[type="checkbox"]')},t.getValuesIntersection=function(e,t){return(0,r.getIntersectionOfArrays)(e,t,(e,t)=>JSON.stringify(e)===JSON.stringify(t))},t.includesValue=function(e,t){return(0,n.isKeyValueObject)(t)?Array.isArray(e)&&e.some(e=>(0,n.isKeyValueObject)(e)?(0,n.isObjectEqual)(e,t):e===t):e.includes(t)},t.parseStringifiedValue=function(e){return(0,i.isJSON)(e)?JSON.parse(e):e};var r=o(6578),n=o(38888),i=o(23862)},7269(e,t,o){"use strict";t.__esModule=!0;var r=o(72563);t.EDITOR_TYPE=r.EDITOR_TYPE,t.NumericEditor=r.NumericEditor},72563(e,t,o){"use strict";t.__esModule=!0;var r=o(27567);const n=t.EDITOR_TYPE="numeric";class i extends r.TextEditor{static get EDITOR_TYPE(){return n}}t.NumericEditor=i},7701(e,t,o){"use strict";t.__esModule=!0;var r=o(39849);t.EDITOR_TYPE=r.EDITOR_TYPE,t.PasswordEditor=r.PasswordEditor},39849(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(27567),s=o(46480),a=o(23876),l=o(12175);const h=t.EDITOR_TYPE="password";class d extends i.TextEditor{constructor(){super(...arguments),(0,n.default)(this,"autoResize",(0,s.createInputElementResizer)(this.hot.rootDocument,{textContent:e=>"•".repeat(e.value.length)}))}static get EDITOR_TYPE(){return h}createElements(){super.createElements(),this.TEXTAREA=this.hot.rootDocument.createElement("input"),this.TEXTAREA.setAttribute("type","password"),this.TEXTAREA.setAttribute("data-hot-input",""),this.TEXTAREA.className="handsontableInput",this.textareaStyle=this.TEXTAREA.style,this.textareaStyle.width=0,this.textareaStyle.height=0,(0,a.empty)(this.TEXTAREA_PARENT),this.TEXTAREA.setAttribute(...(0,l.A11Y_TABINDEX)(-1)),this.TEXTAREA_PARENT.appendChild(this.TEXTAREA)}}t.PasswordEditor=d},95669(e,t,o){"use strict";t.__esModule=!0,t.RegisteredEditor=u,t.getEditorInstance=t._getEditorInstance=function(e,t){let o;"function"==typeof e?(s.get(e)||g(null,e),o=s.get(e)):"string"==typeof e?o=l(e):(0,i.throwWithCause)('Only strings and functions can be passed as "editor" parameter');o||(0,i.throwWithCause)(`No editor registered under name "${e}"`);return o.getInstance(t)},t.getEditor=function(e){if("function"==typeof e)return e;h(e)||(0,i.throwWithCause)(`No registered editor found under "${e}" name`);return l(e).getConstructor()},t.registerEditor=g;var r=o(30326),n=o(36016),i=o(26032);const s=new WeakMap,{register:a,getItem:l,hasItem:h,getNames:d,getValues:c}=(0,n.staticRegister)("editors");function u(e){const t={},o=e;this.getConstructor=function(){return e},this.getInstance=function(e){return e.guid in t||(t[e.guid]=new o(e)),t[e.guid]},r.Hooks.getSingleton().add("afterDestroy",function(){t[this.guid]=null})}function g(e,t){e&&"string"!=typeof e&&(e=(t=e).EDITOR_TYPE);const o=new u(t);"string"==typeof e&&a(e,o),s.set(t,o)}t.getRegisteredEditors=c,t.getRegisteredEditorNames=d,t.hasEditor=h},60980(e,t,o){"use strict";t.__esModule=!0;var r=o(39987);t.EDITOR_TYPE=r.EDITOR_TYPE,t.SelectEditor=r.SelectEditor},39987(e,t,o){"use strict";t.__esModule=!0;var r=o(68597),n=o(23876),i=o(38888),s=o(12175);const a="ht_editor_visible",l="selectEditor",h=t.EDITOR_TYPE="select";class d extends r.BaseEditor{static get EDITOR_TYPE(){return h}init(){this.selectWrapper=this.hot.rootDocument.createElement("div"),this.select=this.hot.rootDocument.createElement("select"),this.select.setAttribute("data-hot-input","true"),this.selectWrapper.style.display="none";const e=this.hot.rootDocument.createElement("DIV"),t=this.hot.getSettings().ariaTags;e.className="htAutocompleteArrow",t&&e.setAttribute(...(0,s.A11Y_HIDDEN)()),e.appendChild(this.hot.rootDocument.createTextNode(String.fromCharCode(9660))),(0,n.addClass)(this.selectWrapper,"htSelectEditor"),this.selectWrapper.appendChild(this.select),this.selectWrapper.insertBefore(e,this.selectWrapper.firstChild),this.hot.rootElement.appendChild(this.selectWrapper),this.registerHooks()}getValue(){return this.select.value}setValue(e){this.select.value=e}open(){this._opened=!0,this.refreshDimensions(),this.selectWrapper.style.display="";this.hot.getShortcutManager().setActiveContextName("editor"),this.registerShortcuts()}close(){this._opened=!1,this.selectWrapper.style.display="none",(0,n.hasClass)(this.selectWrapper,a)&&(0,n.removeClass)(this.selectWrapper,a),this.unregisterShortcuts(),this.clearHooks()}focus(){this.select.focus()}registerHooks(){this.addHook("afterScrollHorizontally",()=>this.refreshDimensions()),this.addHook("afterScrollVertically",()=>this.refreshDimensions()),this.addHook("afterColumnResize",()=>this.refreshDimensions()),this.addHook("afterRowResize",()=>this.refreshDimensions())}prepare(e,t,o,r,s,a){super.prepare(e,t,o,r,s,a);const l=this.cellProperties.selectOptions;let h;h="function"==typeof l?this.prepareOptions(l(this.row,this.col,this.prop)):this.prepareOptions(l),(0,n.empty)(this.select),(0,i.objectEach)(h,(e,t)=>{const o=this.hot.rootDocument.createElement("OPTION");o.value=t,(0,n.fastInnerHTML)(o,e,this.hot.getSettings().sanitizer),this.select.appendChild(o)})}prepareOptions(e){let t={};if(Array.isArray(e))for(let o=0,r=e.length;o<r;o++)t[e[o]]=e[o];else"object"==typeof e&&(t=e);return t}refreshValue(){const e=this.hot.getSourceDataAtCell(this.row,this.prop);this.originalValue=e,this.setValue(e),this.refreshDimensions()}refreshDimensions(){if(this.state!==r.EDITOR_STATE.EDITING)return;if(this.TD=this.getEditedCell(),!this.TD)return void this.close();const{top:e,start:t,width:o,height:i}=this.getEditedCellRect(),s=this.selectWrapper.style;s.height=`${i}px`,s.width=`${o}px`,s.top=`${e}px`,s[this.hot.isRtl()?"right":"left"]=`${t}px`,s.margin="0px",(0,n.addClass)(this.selectWrapper,a)}registerShortcuts(){const e=this.hot.getShortcutManager().getContext("editor"),t={group:l};this.isInFullEditMode()&&e.addShortcuts([{keys:[["ArrowUp"]],callback:()=>{const e=this.select.selectedIndex-1;e>=0&&(this.select[e].selected=!0)}},{keys:[["ArrowDown"]],callback:()=>{const e=this.select.selectedIndex+1;e<=this.select.length-1&&(this.select[e].selected=!0)}}],t)}unregisterShortcuts(){this.hot.getShortcutManager().getContext("editor").removeShortcutsByGroup(l)}}t.SelectEditor=d},79276(e,t,o){"use strict";t.__esModule=!0,t.updateCaretPosition=function(e,t){const o=(0,r.getCaretPosition)(t),n=t.value.split("\n");let i=o,s=0;for(let t=0;t<n.length;t++){const r=n[t];0!==t&&(s+=n[t-1].length+1);const a=s+r.length;if("home"===e?i=s:"end"===e&&(i=a),o<=a)break}(0,r.setCaretPosition)(t,i)};var r=o(23876)},27567(e,t,o){"use strict";t.__esModule=!0;var r=o(62009);t.EDITOR_TYPE=r.EDITOR_TYPE,t.TextEditor=r.TextEditor},62009(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(68597),s=r(o(34354)),a=o(46027),l=o(23876),h=o(94366),d=o(46480),c=o(79416),u=o(79276),g=o(12175);const p="ht_editor_hidden",f="textEditor",m=t.EDITOR_TYPE="text";class C extends i.BaseEditor{static get EDITOR_TYPE(){return m}constructor(e){super(e),(0,n.default)(this,"eventManager",new s.default(this)),(0,n.default)(this,"autoResize",(0,d.createInputElementResizer)(this.hot.rootDocument)),(0,n.default)(this,"TEXTAREA",void 0),(0,n.default)(this,"textareaStyle",void 0),(0,n.default)(this,"TEXTAREA_PARENT",void 0),(0,n.default)(this,"textareaParentStyle",void 0),(0,n.default)(this,"layerClass",void 0),this.eventManager=new s.default(this),this.createElements(),this.bindEvents(),this.hot.addHookOnce("afterDestroy",()=>this.destroy())}getValue(){return this.TEXTAREA.value}setValue(e){this.TEXTAREA.value=e}open(){this._opened=!0,this.refreshDimensions(),this.showEditableElement(),this.hot.getShortcutManager().setActiveContextName("editor"),this.registerShortcuts()}close(){this._opened=!1,this.autoResize.unObserve(),(0,l.isInternalElement)(this.hot.rootDocument.activeElement,this.hot.rootElement)&&this.hot.listen(),this.hideEditableElement(),this.unregisterShortcuts()}prepare(e,t,o,r,n,s){const a=this.state;if(super.prepare(e,t,o,r,n,s),!s.readOnly){this.refreshDimensions(!0);const{allowInvalid:e}=s;e&&!this.isOpened()&&(this.TEXTAREA.value=""),a===i.EDITOR_STATE.FINISHED||this.isOpened()||this.hideEditableElement()}}beginEditing(e,t){this.state===i.EDITOR_STATE.VIRGIN&&(this.TEXTAREA.value="",super.beginEditing(e,t))}focus(){this.TEXTAREA.select(),(0,l.setCaretPosition)(this.TEXTAREA,this.TEXTAREA.value.length)}createElements(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"textarea";const{rootDocument:t}=this.hot;this.TEXTAREA=t.createElement(e),(0,l.setAttribute)(this.TEXTAREA,[["data-hot-input",""],(0,g.A11Y_TABINDEX)(-1)]),(0,l.addClass)(this.TEXTAREA,"handsontableInput"),this.textareaStyle=this.TEXTAREA.style,this.textareaStyle.width=0,this.textareaStyle.height=0,this.textareaStyle.overflowY="visible",this.TEXTAREA_PARENT=t.createElement("DIV"),(0,l.addClass)(this.TEXTAREA_PARENT,"handsontableInputHolder"),(0,l.hasClass)(this.TEXTAREA_PARENT,this.layerClass)&&(0,l.removeClass)(this.TEXTAREA_PARENT,this.layerClass),(0,l.addClass)(this.TEXTAREA_PARENT,p),this.textareaParentStyle=this.TEXTAREA_PARENT.style,this.TEXTAREA_PARENT.appendChild(this.TEXTAREA),this.hot.rootElement.appendChild(this.TEXTAREA_PARENT)}hideEditableElement(){(0,a.isEdge)()&&(this.textareaStyle.textIndent="-99999px"),this.textareaStyle.overflowY="visible",this.textareaParentStyle.opacity="0",this.textareaParentStyle.height="1px",(0,l.removeClass)(this.TEXTAREA_PARENT,this.layerClass),(0,l.addClass)(this.TEXTAREA_PARENT,p)}showEditableElement(){this.textareaParentStyle.height="",this.textareaParentStyle.overflow="",this.textareaParentStyle.position="",this.textareaParentStyle[this.hot.isRtl()?"left":"right"]="auto",this.textareaParentStyle.opacity="1",this.textareaStyle.textIndent="";const e=this.TEXTAREA_PARENT.childNodes;let t=!1;(0,h.rangeEach)(e.length-1,o=>{const r=e[o];if((0,l.hasClass)(r,"handsontableEditor"))return t=!0,!1}),(0,l.hasClass)(this.TEXTAREA_PARENT,p)&&(0,l.removeClass)(this.TEXTAREA_PARENT,p),t?(this.layerClass="ht_editor_visible",(0,l.addClass)(this.TEXTAREA_PARENT,this.layerClass)):(this.layerClass=this.getEditedCellsLayerClass(),(0,l.addClass)(this.TEXTAREA_PARENT,this.layerClass))}refreshValue(){const e=this.hot.toPhysicalRow(this.row),t=this.hot.getSourceDataAtCell(e,this.col);this.originalValue=t,this.setValue(t),this.refreshDimensions()}refreshDimensions(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.state!==i.EDITOR_STATE.EDITING&&!e)return;if(this.TD=this.getEditedCell(),!this.TD)return void(e||this.close());const{top:t,start:o,width:r,maxWidth:n,height:s,maxHeight:a}=this.getEditedCellRect();this.textareaParentStyle.top=`${t}px`,this.textareaParentStyle[this.hot.isRtl()?"right":"left"]=`${o}px`,this.showEditableElement();const l=this.hot.rootWindow.getComputedStyle(this.TD);this.TEXTAREA.style.fontSize=l.fontSize,this.TEXTAREA.style.fontFamily=l.fontFamily,this.TEXTAREA.style.backgroundColor=this.TD.style.backgroundColor,this.autoResize.init(this.TEXTAREA,{minWidth:Math.min(r,n),minHeight:Math.min(s,a),maxWidth:n,maxHeight:a},!0)}bindEvents(){(0,a.isIOS)()&&this.eventManager.addEventListener(this.TEXTAREA,"focusout",()=>this.finishEditing(!1)),this.addHook("afterScrollHorizontally",()=>this.refreshDimensions()),this.addHook("afterScrollVertically",()=>this.refreshDimensions()),this.addHook("afterColumnResize",()=>{this.refreshDimensions(),this.state===i.EDITOR_STATE.EDITING&&this.focus()}),this.addHook("afterRowResize",()=>{this.refreshDimensions(),this.state===i.EDITOR_STATE.EDITING&&this.focus()})}destroy(){this.eventManager.destroy(),this.clearHooks()}registerShortcuts(){const e=this.hot.getShortcutManager().getContext("editor"),t={runOnlyIf:()=>(0,c.isDefined)(this.hot.getSelected()),group:f},o=()=>{this.hot.rootDocument.execCommand("insertText",!1,"\n")};e.addShortcuts([{keys:[["Control","Enter"]],callback:()=>(o(),!1),runOnlyIf:e=>!this.hot.selection.isMultiple()&&!e.altKey},{keys:[["Meta","Enter"]],callback:()=>(o(),!1),runOnlyIf:()=>!this.hot.selection.isMultiple()},{keys:[["Alt","Enter"]],callback:()=>(o(),!1)},{keys:[["Home"]],callback:(e,t)=>{let[o]=t;(0,u.updateCaretPosition)(o,this.TEXTAREA)}},{keys:[["End"]],callback:(e,t)=>{let[o]=t;(0,u.updateCaretPosition)(o,this.TEXTAREA)}}],t)}unregisterShortcuts(){this.hot.getShortcutManager().getContext("editor").removeShortcutsByGroup(f)}}t.TextEditor=C},12313(e,t,o){"use strict";t.__esModule=!0;var r=o(72705);t.EDITOR_TYPE=r.EDITOR_TYPE,t.TimeEditor=r.TimeEditor},72705(e,t,o){"use strict";t.__esModule=!0;var r=o(27567);const n=t.EDITOR_TYPE="time";class i extends r.TextEditor{static get EDITOR_TYPE(){return n}prepare(e,t,o,r,n,i){super.prepare(e,t,o,r,n,i),this.TEXTAREA.dir="ltr"}}t.TimeEditor=i},34354(e,t,o){"use strict";var r=o(62682);t.__esModule=!0,t.getListenersCounter=function(){return s};var n=r(o(43685)),i=o(31100);let s=0;t.default=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;(0,n.default)(this,"context",void 0),this.context=e||this,this.context.eventListeners||(this.context.eventListeners=[])}addEventListener(e,t,o){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];function n(e){o.call(this,function(e){const t=e.stopImmediatePropagation;return e.stopImmediatePropagation=function(){t.apply(this),(0,i.stopImmediatePropagation)(this)},e}(e))}return this.context.eventListeners.push({element:e,event:t,callback:o,callbackProxy:n,options:r,eventManager:this}),e.addEventListener(t,n,r),s+=1,()=>{this.removeEventListener(e,t,o)}}removeEventListener(e,t,o){let r,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=this.context.eventListeners.length;for(;i;)if(i-=1,r=this.context.eventListeners[i],r.event===t&&r.element===e){if(o&&o!==r.callback)continue;if(n&&r.eventManager!==this)continue;this.context.eventListeners.splice(i,1),r.element.removeEventListener(r.event,r.callbackProxy,r.options),s-=1}}clearEvents(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.context)return;let t=this.context.eventListeners.length;for(;t;){t-=1;const o=this.context.eventListeners[t];e&&o.eventManager!==this||(this.context.eventListeners.splice(t,1),o.element.removeEventListener(o.event,o.callbackProxy,o.options),s-=1)}}clear(){this.clearEvents()}destroy(){this.clearEvents(),this.context=null}destroyWithOwnEventsOnly(){this.clearEvents(!0),this.context=null}fireEvent(e,t){let o=e.document,r=e;o||(o=e.ownerDocument?e.ownerDocument:e,r=o.defaultView);const n={bubbles:!0,cancelable:"mousemove"!==t,view:r,detail:0,screenX:0,screenY:0,clientX:1,clientY:1,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:void 0};let i;o.createEvent?(i=o.createEvent("MouseEvents"),i.initMouseEvent(t,n.bubbles,n.cancelable,n.view,n.detail,n.screenX,n.screenY,n.clientX,n.clientY,n.ctrlKey,n.altKey,n.shiftKey,n.metaKey,n.button,n.relatedTarget||o.body.parentNode)):i=o.createEventObject(),e.dispatchEvent?e.dispatchEvent(i):e.fireEvent(`on${t}`,i)}}},25792(e,t){"use strict";t.__esModule=!0;t.SCOPE_TYPES=Object.freeze({INLINE:"inline",MODAL:"modal"}),t.FOCUS_SOURCES=Object.freeze({UNKNOWN:"unknown",CLICK:"click",TAB_FROM_ABOVE:"tab_from_above",TAB_FROM_BELOW:"tab_from_below"}),t.DEFAULT_SHORTCUTS_CONTEXT="grid"},75477(e,t,o){"use strict";t.__esModule=!0,t.useEventListener=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=!1;function n(e){var r;o||(null===(r=t.onFocus)||void 0===r||r.call(t,e))}function i(e){var o;null===(o=t.onClick)||void 0===o||o.call(t,e)}function s(e){var o;"Tab"===e.key&&(null===(o=t.onTabKeyDown)||void 0===o||o.call(t,e))}function a(){o=!0}function l(){o=!1}return{mount:()=>{let t=e;for(;t;){const{documentElement:e}=t.document;e.addEventListener("focusin",n),e.addEventListener("click",i),e.addEventListener("keydown",s),e.addEventListener("mousedown",a),e.addEventListener("mouseup",l),t=(0,r.getParentWindow)(t)}},unmount:()=>{let t=e;for(;t;){const{documentElement:e}=t.document;e.removeEventListener("focusin",n),e.removeEventListener("click",i),e.removeEventListener("keydown",s),e.removeEventListener("mousedown",a),e.removeEventListener("mouseup",l),t=(0,r.getParentWindow)(t)}}}};var r=o(23876)},2229(e,t,o){"use strict";t.__esModule=!0;var r=o(26070),n=o(23876),i=o(3179);function s(e,t,o){a(e,t),t.set(e,o)}function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function l(e,t){return e.get(d(e,t))}function h(e,t,o){return e.set(d(e,t),o),o}function d(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}const c=Object.freeze({CELL:"cell",MIXED:"mixed"});var u=new WeakMap,g=new WeakMap,p=new WeakMap,f=new WeakMap,m=new WeakMap,C=new WeakMap,w=new WeakSet;function b(e){var t;const o=null===(t=l(u,this).getSelectedRangeActive())||void 0===t?void 0:t.highlight;if(!o||!l(u,this).selection.isCellVisible(o))return void e(null);const r=l(u,this).getCell(o.row,o.col,!0);null===r?l(u,this).addHookOnce("afterScroll",()=>{e(l(u,this).getCell(o.row,o.col,!0))}):e(r)}function v(){d(w,this,b).call(this,e=>{const{activeElement:t}=l(u,this).rootDocument;t&&(0,n.isOutsideInput)(t)&&t.blur(),this.focusOnHighlightedCell(e)})}function y(){d(w,this,b).call(this,e=>{this.getFocusMode()===c.MIXED&&"TD"===(null==e?void 0:e.nodeName)&&this.refocusToEditorTextarea()})}function S(){h(C,this,!0)}function E(){l(C,this)&&(h(C,this,!1),d(w,this,v).call(this))}function _(e){"boolean"==typeof e.imeFastEdit&&this.setFocusMode(e.imeFastEdit?c.MIXED:c.CELL)}t.FocusGridManager=class{constructor(e){var t,o;a(t=this,o=w),o.add(t),s(this,u,void 0),s(this,g,void 0),s(this,p,1),s(this,f,null),s(this,m,new Map),s(this,C,!1),h(u,this,e)}init(){var e=this;const t=l(u,this).getSettings();h(g,this,t.imeFastEdit?c.MIXED:c.CELL),l(u,this).addHook("afterUpdateSettings",function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return d(w,e,_).call(e,...o)}),l(u,this).addHook("afterSelection",function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return d(w,e,S).call(e,...o)}),l(u,this).addHook("afterSelectionFocusSet",function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return d(w,e,S).call(e,...o)}),l(u,this).addHook("afterSelectionEnd",function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return d(w,e,y).call(e,...o)}),l(u,this).addHook("afterRender",function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return d(w,e,E).call(e,...o)})}getFocusMode(){return l(g,this)}setFocusMode(e){Object.values(c).includes(e)?h(g,this,e):(0,r.warn)(`"${e}" is not a valid focus mode.`)}getRefocusDelay(){return l(p,this)}setRefocusDelay(e){h(p,this,e)}setRefocusElementGetter(e){h(f,this,e)}getRefocusElement(){var e;return"function"==typeof l(f,this)?l(f,this).call(this):null===(e=l(u,this).getActiveEditor())||void 0===e?void 0:e.TEXTAREA}focusOnHighlightedCell(e){const t=e=>{var t,o;const r=null===(t=l(u,this).getSelectedRangeActive())||void 0===t?void 0:t.highlight;if(!r)return;let i=l(u,this).runHooks("modifyFocusedElement",r.row,r.col,e);(0,n.isHTMLElement)(i)||(i=e),!i||null!==(o=l(u,this).getActiveEditor())&&void 0!==o&&o.isOpened()||i.focus({preventScroll:!0})};e?t(e):d(w,this,b).call(this,e=>t(e))}refocusToEditorTextarea(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l(p,this);var o,r;!l(u,this).getSettings().imeFastEdit||null!==(e=l(u,this).getActiveEditor())&&void 0!==e&&e.isOpened()||(null===(o=l(u,this).getActiveEditor())||void 0===o||null===(r=o.refreshValue)||void 0===r||r.call(o),l(m,this).has(t)||l(m,this).set(t,(0,i.debounce)(()=>{var e;l(u,this).isDestroyed||(null===(e=this.getRefocusElement())||void 0===e||e.select())},t)),l(m,this).get(t)())}}},6297(e,t,o){"use strict";t.__esModule=!0;var r={createFocusScopeManager:!0,FocusGridManager:!0},n=o(11134);t.createFocusScopeManager=n.createFocusScopeManager;var i=o(2229);t.FocusGridManager=i.FocusGridManager;var s=o(26907);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===s[e]||(t[e]=s[e]))})},37169(e,t,o){"use strict";t.__esModule=!0,t.createFocusScope=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i={shortcutsContextName:n.DEFAULT_SHORTCUTS_CONTEXT,type:n.SCOPE_TYPES.INLINE,contains:e=>e===t||t.contains(e),runOnlyIf:()=>!0,...o},s=(0,r.installFocusDetector)(e,t);return{getType:()=>i.type,hasContainerDetached:()=>!e.rootWrapperElement.contains(t),getShortcutsContextName:()=>i.shortcutsContextName,runOnlyIf:()=>i.runOnlyIf(),contains:e=>i.contains(e),activate:function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.FOCUS_SOURCES.UNKNOWN;null===(e=i.onActivate)||void 0===e||e.call(i,t)},deactivate:()=>{var e;null===(e=i.onDeactivate)||void 0===e||e.call(i)},activateFocusCatchers:()=>{null==s||s.activate()},deactivateFocusCatchers:()=>{null==s||s.deactivate()},enable:()=>{t.removeAttribute("inert")},disable:()=>{t.setAttribute("inert","true")},destroy:()=>{null==s||s.destroy()}}};var r=o(71265),n=o(25792)},11134(e,t,o){"use strict";t.__esModule=!0,t.createFocusScopeManager=function(e){const t=(0,r.createUniqueMap)({errorIdExists:e=>`The "${e}" focus scope is already registered.`}),o=e.getShortcutManager();let h=null;function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a.FOCUS_SOURCES.UNKNOWN;h!==e&&(null!==h&&c(h),h=e,h.activate(t),o.setActiveContextName(e.getShortcutsContextName()))}function c(e){u(),h===e&&(h=null,e.deactivate())}function u(){const o=t.getValues(),r=o.filter(e=>e.runOnlyIf()&&"modal"===e.getType());o.forEach(t=>{r.length>0&&r.includes(t)||0===r.length||t.hasContainerDetached()?t.enable():t.disable(),t===h?t.contains(e.rootDocument.activeElement)?t.deactivateFocusCatchers():t.activateFocusCatchers():t.runOnlyIf()?t.activateFocusCatchers():t.deactivateFocusCatchers()})}function g(o,r){if(!o.isConnected||!(0,l.isVisible)(o))return;const n=t.getValues().filter(e=>e.runOnlyIf());let i=!1;n.forEach(t=>{!i&&t.contains(o)&&(i=!0,r!==a.FOCUS_SOURCES.UNKNOWN&&e.listen(),d(t,r))}),!i&&h&&(c(h),e.unlisten())}const p=(0,s.useEventListener)(e.rootWindow,{onFocus:e=>{var t;g(e.target,null!==(t=e.target.dataset.htFocusSource)&&void 0!==t?t:a.FOCUS_SOURCES.UNKNOWN)},onClick:e=>{g(e.target,a.FOCUS_SOURCES.CLICK)},onTabKeyDown:()=>{u()}});return p.mount(),{getActiveScopeId:function(){if(!h)return null;return t.getId(h)},registerScope:function(r,s){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t.hasItem(r)&&(0,n.throwWithCause)(`Scope with id "${r}" already registered`);const l=(0,i.createFocusScope)(e,s,a);t.addItem(r,l),o.getOrCreateContext(l.getShortcutsContextName())},unregisterScope:function(e){t.hasItem(e)||(0,n.throwWithCause)(`Scope with id "${e}" not found`);t.getItem(e).destroy(),t.removeItem(e)},activateScope:e=>function(e){t.hasItem(e)||(0,n.throwWithCause)(`Scope with id "${e}" not found`);d(t.getItem(e))}(e),deactivateScope:e=>function(e){t.hasItem(e)||(0,n.throwWithCause)(`Scope with id "${e}" not found`);c(t.getItem(e))}(e),destroy:()=>p.unmount()}};var r=o(265),n=o(26032),i=o(37169),s=o(75477),a=o(25792),l=o(23876)},75191(e,t,o){"use strict";t.__esModule=!0,t.focusGridScope=function(e){var t;const o=(0,r.normalizeCoordsIfNeeded)(e),i={wrapped:!1,flipped:!1};let s,a=!0,l=!1;e.addHook("afterSelection",()=>{var t;a&&(s=null===(t=e.getSelectedRangeActive())||void 0===t?void 0:t.highlight)}),e.addHook("beforeRowWrap",(e,t,o)=>{i.wrapped=!0,i.flipped=o}),e.addHook("beforeEmptyDataStateShow",()=>{l=!0}),e.addHook("beforeEmptyDataStateHide",()=>{l=!1});e.getShortcutManager().getContext(n.GRID_SCOPE).addShortcuts([{keys:[["Tab"],["Shift","Tab"]],preventDefault:!1,stopPropagation:!1,relativeToGroup:n.GRID_GROUP,group:n.GRID_TAB_NAVIGATION_GROUP,position:"before",callback(){const{tabNavigation:t}=e.getSettings();e.getSelectedRangeActive()&&!t&&(a=!1)}},{keys:[["Tab"],["Shift","Tab"]],preventDefault:!1,stopPropagation:!1,relativeToGroup:n.GRID_GROUP,group:n.GRID_TAB_NAVIGATION_GROUP,callback(t){const{tabNavigation:o,autoWrapRow:n}=e.getSettings();a=!0,(!o||!e.selection.isSelected()||n&&i.wrapped&&i.flipped||!n&&i.wrapped)&&(n&&i.wrapped&&i.flipped&&(s=t.shiftKey?(0,r.getMostTopStartPosition)(e):(0,r.getMostBottomEndPosition)(e)),i.wrapped=!1,i.flipped=!1)},position:"after"}]);const h=null!==(t=e.rootGridElement)&&void 0!==t?t:e.rootElement;e.getFocusScopeManager().registerScope("grid",h,{contains:t=>!(h!==t&&!h.contains(t))||null===t.closest(".htMenu")&&e.rootPortalElement.contains(t),runOnlyIf:()=>{const{navigableHeaders:t}=e.getSettings();return!((l||!t)&&0===e.countRenderedRows()&&0===e.countRenderedCols()&&e.countRowHeaders()>0&&e.countColHeaders()>0)&&(!t&&e.countRenderedRows()>0&&e.countRenderedCols()>0||t&&(e.countRowHeaders()>0||e.countColHeaders()>0))},onActivate:t=>{if("tab_from_above"===t){var n;const t=null!==(n=o(s))&&void 0!==n?n:(0,r.getMostTopStartPosition)(e);if(t){!1!==e.runHooks("modifyFocusOnTabNavigation","from_above",t)&&e.selectCell(t.row,t.col)}}else if("tab_from_below"===t){var i;const t=null!==(i=o(s))&&void 0!==i?i:(0,r.getMostBottomEndPosition)(e);if(t){!1!==e.runHooks("modifyFocusOnTabNavigation","from_below",t)&&e.selectCell(t.row,t.col)}}}})};var r=o(73110),n=o(17304)},26907(e,t,o){"use strict";t.__esModule=!0,t.registerAllFocusScopes=function(e){[r.focusGridScope].forEach(t=>t(e))};var r=o(75191)},71265(e,t,o){"use strict";t.__esModule=!0,t.installFocusDetector=function(e,t){const o=n(e,r.FOCUS_SOURCES.TAB_FROM_ABOVE),i=n(e,r.FOCUS_SOURCES.TAB_FROM_BELOW);return t.prepend(o),t.append(i),{activate(){o.tabIndex=0,i.tabIndex=0},deactivate(){o.tabIndex=-1,i.tabIndex=-1},destroy(){o.remove(),i.remove()}}};var r=o(25792);function n(e,t){const o=e.rootDocument.createElement("div");return o.style.display="none",o.classList.add("htFocusCatcher"),o.dataset.htFocusSource=t,o}},73110(e,t,o){"use strict";t.__esModule=!0,t.getMostBottomEndPosition=i,t.getMostTopStartPosition=n,t.normalizeCoordsIfNeeded=function(e){return t=>{if(!t)return null;const{rowIndexMapper:o,columnIndexMapper:s}=e;if(o.isHidden(t.row)||s.isHidden(t.col))return null;const a=n(e),l=i(e);return null===a||null===l?null:(t.row=(0,r.clamp)(t.row,a.row,l.row),t.col=(0,r.clamp)(t.col,a.col,l.col),t)}};var r=o(94366);function n(e){const{rowIndexMapper:t,columnIndexMapper:o}=e,{navigableHeaders:r}=e.getSettings();let n=r&&e.countColHeaders()>0?-e.countColHeaders():0,i=r&&e.countRowHeaders()>0?-e.countRowHeaders():0;return 0===n&&(n=t.getVisualFromRenderableIndex(n)),0===i&&(i=o.getVisualFromRenderableIndex(i)),null===n||null===i?null:e._createCellCoords(n,i)}function i(e){var t,o;const{rowIndexMapper:r,columnIndexMapper:n}=e,{navigableHeaders:i}=e.getSettings();let s=r.getRenderableIndexesLength()-1,a=n.getRenderableIndexesLength()-1;if(s<0){if(!i||0===e.countColHeaders())return null;s=-1}if(a<0){if(!i||0===e.countColHeaders())return null;a=-1}return e._createCellCoords(null!==(t=r.getVisualFromRenderableIndex(s))&&void 0!==t?t:s,null!==(o=n.getVisualFromRenderableIndex(a))&&void 0!==o?o:a)}},12175(e,t){"use strict";t.__esModule=!0;t.A11Y_TABINDEX=e=>["tabindex",e];t.A11Y_TREEGRID=()=>["role","treegrid"];t.A11Y_PRESENTATION=()=>["role","presentation"];t.A11Y_GRIDCELL=()=>["role","gridcell"];t.A11Y_GRIDCELL_BUTTON=()=>["role","gridcell button"];t.A11Y_ROWHEADER=()=>["role","rowheader"];t.A11Y_ROWGROUP=()=>["role","rowgroup"];t.A11Y_COLUMNHEADER=()=>["role","columnheader"];t.A11Y_ROW=()=>["role","row"];t.A11Y_MENU=()=>["role","menu"];t.A11Y_MENU_ITEM=()=>["role","menuitem"];t.A11Y_MENU_ITEM_CHECKBOX=()=>["role","menuitemcheckbox"];t.A11Y_COMBOBOX=()=>["role","combobox"];t.A11Y_LISTBOX=()=>["role","listbox"];t.A11Y_OPTION=()=>["role","option"];t.A11Y_CHECKBOX=()=>["role","checkbox"];t.A11Y_DIALOG=()=>["role","dialog"];t.A11Y_ALERTDIALOG=()=>["role","alertdialog"];t.A11Y_GROUP=()=>["role","group"];t.A11Y_SCOPE_COL=()=>["scope","col"];t.A11Y_SCOPE_ROW=()=>["scope","row"];t.A11Y_TEXT=()=>["type","text"];t.A11Y_LABEL=e=>["aria-label",e];t.A11Y_LABELED_BY=e=>["aria-labelledby",e];t.A11Y_DESCRIBED_BY=e=>["aria-describedby",e];t.A11Y_HIDDEN=()=>["aria-hidden","true"];t.A11Y_DISABLED=function(){return["aria-disabled",!(arguments.length>0&&void 0!==arguments[0])||arguments[0]]};t.A11Y_MULTISELECTABLE=()=>["aria-multiselectable","true"];t.A11Y_HASPOPUP=e=>["aria-haspopup",e];t.A11Y_ROWCOUNT=e=>["aria-rowcount",e];t.A11Y_COLCOUNT=e=>["aria-colcount",e];t.A11Y_ROWINDEX=e=>["aria-rowindex",e];t.A11Y_COLINDEX=e=>["aria-colindex",e];t.A11Y_EXPANDED=e=>["aria-expanded",e];t.A11Y_SORT=e=>["aria-sort",e];t.A11Y_READONLY=()=>["aria-readonly","true"];t.A11Y_INVALID=()=>["aria-invalid","true"];t.A11Y_CHECKED=e=>["aria-checked",e];t.A11Y_SELECTED=()=>["aria-selected","true"];t.A11Y_AUTOCOMPLETE=()=>["aria-autocomplete","list"];t.A11Y_CONTROLS=e=>["aria-controls",e];t.A11Y_ACTIVEDESCENDANT=e=>["aria-activedescendant",e];t.A11Y_LIVE=e=>["aria-live",e];t.A11Y_RELEVANT=e=>["aria-relevant",e];t.A11Y_SETSIZE=e=>["aria-setsize",e];t.A11Y_POSINSET=e=>["aria-posinset",e];t.A11Y_MODAL=()=>["aria-modal","true"]},6578(e,t){"use strict";function o(e,t,o,r){let n=-1,i=e,s=o;Array.isArray(e)||(i=Array.from(e));const a=i.length;for(r&&a&&(n+=1,s=i[n]),n+=1;n<a;)s=t(s,i[n],n,i),n+=1;return s}function r(e,t){let o=0,r=e;Array.isArray(e)||(r=Array.from(e));const n=r.length;for(;o<n&&!1!==t(r[o],o,r);)o+=1;return e}function n(e){return o(e,(e,t)=>e+t,0)}t.__esModule=!0,t.arrayAvg=function(e){if(!e.length)return 0;return n(e)/e.length},t.arrayEach=r,t.arrayFilter=function(e,t){let o=0,r=e;Array.isArray(e)||(r=Array.from(e));const n=r.length,i=[];let s=-1;for(;o<n;){const e=r[o];t(e,o,r)&&(s+=1,i[s]=e),o+=1}return i},t.arrayFlatten=function e(t){return o(t,(t,o)=>t.concat(Array.isArray(o)?e(o):o),[])},t.arrayMap=function(e,t){let o=0,r=e;Array.isArray(e)||(r=Array.from(e));const n=r.length,i=[];let s=-1;for(;o<n;){const e=r[o];s+=1,i[s]=t(e,o,r),o+=1}return i},t.arrayMax=function(e){return o(e,(e,t)=>e>t?e:t,Array.isArray(e)?e[0]:void 0)},t.arrayMin=function(e){return o(e,(e,t)=>e<t?e:t,Array.isArray(e)?e[0]:void 0)},t.arrayReduce=o,t.arraySum=n,t.arrayToString=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";return e.join(t)},t.arrayUnique=function(e){const t=[];return r(e,e=>{-1===t.indexOf(e)&&t.push(e)}),t},t.extendArray=function(e,t){const o=t.length;let r=0;for(;r<o;)e.push(t[r]),r+=1},t.getDifferenceOfArrays=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];const[n,...i]=[...t];let s=n;return r(i,e=>{s=s.filter(t=>!e.includes(t))}),s},t.getIntersectionOfArrays=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];const n=t[t.length-1];let i,s=t;"function"==typeof n&&(i=n,s=s.slice(0,-1));const a=i?(e,t)=>t.some(t=>i(e,t)):(e,t)=>t.includes(e),[l,...h]=s;let d=l;return r(h,e=>{d=d.filter(t=>a(t,e))}),d},t.getUnionOfArrays=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];const[n,...i]=[...t],s=new Set(n);return r(i,e=>{r(e,e=>{s.has(e)||s.add(e)})}),Array.from(s)},t.pivot=function(e){const t=[];if(!e||0===e.length||!e[0]||0===e[0].length)return t;const o=e.length,r=e[0].length;for(let n=0;n<o;n++)for(let o=0;o<r;o++)t[o]||(t[o]=[]),t[o][n]=e[n][o];return t},t.stringToArray=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";return e.split(t)},t.to2dArray=function(e){const t=e.length;let o=0;for(;o<t;)e[o]=[e[o]],o+=1}},46027(e,t,o){"use strict";t.__esModule=!0,t.isChrome=function(){return s.chrome.value},t.isChromeWebKit=function(){return s.chromeWebKit.value},t.isEdge=function(){return s.edge.value},t.isEdgeWebKit=function(){return s.edgeWebKit.value},t.isFirefox=function(){return s.firefox.value},t.isFirefoxWebKit=function(){return s.firefoxWebKit.value},t.isIOS=function(){return a.ios.value},t.isIpadOS=function(){let{maxTouchPoints:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator;return e>2&&a.mac.value},t.isLinuxOS=function(){return a.linux.value},t.isMacOS=function(){return a.mac.value},t.isMobileBrowser=function(){return s.mobile.value},t.isSafari=function(){return s.safari.value},t.isWindowsOS=function(){return a.win.value},t.setBrowserMeta=l,t.setPlatformMeta=h;var r=o(38888),n=o(24605);const i=e=>{const t={value:!1,test:(o,r)=>{t.value=e(o,r)}};return t},s={chrome:i((e,t)=>/Chrome/.test(e)&&/Google/.test(t)),chromeWebKit:i(e=>/CriOS/.test(e)),edge:i(e=>/Edge/.test(e)),edgeWebKit:i(e=>/EdgiOS/.test(e)),firefox:i(e=>/Firefox/.test(e)),firefoxWebKit:i(e=>/FxiOS/.test(e)),mobile:i(e=>/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e)),safari:i((e,t)=>/Safari/.test(e)&&/Apple Computer/.test(t))},a={mac:i(e=>/^Mac/.test(e)),win:i(e=>/^Win/.test(e)),linux:i(e=>/^Linux/.test(e)),ios:i(e=>/iPhone|iPad|iPod/i.test(e))};function l(){let{userAgent:e=navigator.userAgent,vendor:t=navigator.vendor}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.objectEach)(s,o=>{let{test:r}=o;r(e,t)})}function h(){let{platform:e=navigator.platform}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.objectEach)(a,t=>{let{test:o}=t;o(e)})}(0,n.isCSR)()&&(l(),h())},26070(e,t,o){"use strict";t.__esModule=!0,t.deprecatedWarn=function(e){(0,n.isDefined)(console)&&console.warn(`Deprecated: ${e}`)},t.error=function(){(0,n.isDefined)(console)&&console.error(...arguments)},t.info=function(){(0,n.isDefined)(console)&&console.info(...arguments)},t.log=i,t.logAggregatedItems=function(){let{logFunction:e=i,message:t,items:o,maxSample:n=5,itemFormatter:s=e=>`${e}`}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Array.isArray(o)||0===o.length)return;const a=o.length,l=o.slice(0,n).map(e=>` - ${s(e)}`),h=a>n?` - ...and ${a-n} more`:"",d=["Affected cells:",...l,...h?[h]:[]].join("\n");e((0,r.substitute)(t,{itemsCount:`${a} cell${a>1?"s":""}`,affectedCells:d}))},t.warn=function(){(0,n.isDefined)(console)&&console.warn(...arguments)};var r=o(23862),n=o(79416);function i(){(0,n.isDefined)(console)&&console.log(...arguments)}},84506(e,t){"use strict";t.__esModule=!0;t.BAD_VALUE_TEXT="#bad-value#"},26891(e,t,o){"use strict";t.__esModule=!0,t.countFirstRowKeys=function(e){let t=0;Array.isArray(e)&&(e[0]&&Array.isArray(e[0])?t=e[0].length:e[0]&&(0,r.isObject)(e[0])&&(t=(0,r.deepObjectSize)(e[0])));return t},t.createEmptySpreadsheetData=function(e,t){const o=[];let r;for(let n=0;n<e;n++){r=[];for(let e=0;e<t;e++)r.push("");o.push(r)}return o},t.createSpreadsheetData=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;const o=[];let r,n;for(r=0;r<e;r++){const e=[];for(n=0;n<t;n++)e.push(i(n)+(r+1));o.push(e)}return o},t.createSpreadsheetObjectData=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;const o=[];let r,n;for(r=0;r<e;r++){const e={};for(n=0;n<t;n++)e[`prop${n}`]=i(n)+(r+1);o.push(e)}return o},t.dataRowToChangesArray=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=e;const r=[];Array.isArray(e)&&Array.isArray(e[0])||(o=[e]);return o.forEach((e,o)=>{Array.isArray(e)?e.forEach((e,n)=>{r.push([o+t,n,e])}):Object.keys(e).forEach(n=>{r.push([o+t,n,e[n]])})}),r},t.isArrayOfArrays=function(e){return!!(Array.isArray(e)&&e.length&&e.every(e=>Array.isArray(e)))},t.isArrayOfObjects=function(e){return!!(Array.isArray(e)&&e.length&&e.every(e=>"object"==typeof e&&!Array.isArray(e)&&null!==e))},t.spreadsheetColumnIndex=function(e){let t=0;if(e)for(let o=0,r=e.length-1;o<e.length;o+=1,r-=1)t+=26**r*(n.indexOf(e[o])+1);return t-=1,t},t.spreadsheetColumnLabel=i;var r=o(38888);const n="ABCDEFGHIJKLMNOPQRSTUVWXYZ";function i(e){let t,o=e+1,r="";for(;o>0;)t=(o-1)%26,r=String.fromCharCode(65+t)+r,o=parseInt((o-t)/26,10);return r}},85418(e,t,o){"use strict";t.__esModule=!0,t.getNormalizedDate=function(e){const t=new Date(e);if(!isNaN(new Date(`${e}T00:00`).getDate()))return new Date(t.getTime()+6e4*t.getTimezoneOffset());return t},t.isValidISODate=function(e){if("string"!=typeof e||!n.test(e))return!1;const t=new Date(e);return!Number.isNaN(t.getTime())&&e===t.toISOString().slice(0,10)},t.isValidTime=function(e){return"string"==typeof e&&i.test(e)},t.parseToLocalDate=function(e){if((0,r.isEmpty)(e))return null;if("string"==typeof e&&n.test(e)){const[t,o,r]=e.split("-").map(Number);return new Date(t,o-1,r)}return null},t.parseToLocalTime=function(e){if((0,r.isEmpty)(e))return null;if("string"!=typeof e)return null;const t=i.exec(e);if(!t)return null;const o=Number(t[1]),n=Number(t[2]),s=void 0!==t[3]?Number(t[3]):0,a=t[4],l=void 0!==a?Number(a.padEnd(3,"0").slice(0,3)):0;return new Date(1970,0,1,o,n,s,l)};var r=o(79416);const n=t.ISO_DATE_REGEX=/^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/;const i=t.TIME_REGEX=/^([01]\d|2[0-3]):([0-5]\d)(?::([0-5]\d)(?:\.(\d{1,3}))?)?$/},23876(e,t,o){"use strict";t.__esModule=!0,t.addClass=u,t.addEvent=function(e,t,o){e.addEventListener(t,o,!1)},t.clearTextSelection=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;e.getSelection&&(e.getSelection().empty?e.getSelection().empty():e.getSelection().removeAllRanges&&e.getSelection().removeAllRanges())},t.closest=h,t.closestDown=function(e,t,o){const r=[];let n=e;for(;n&&(n=h(n,t,o),n&&(!o||o.contains(n)));)r.push(n),n=n.host&&n.nodeType===Node.DOCUMENT_FRAGMENT_NODE?n.host:n.parentNode;const i=r.length;return i?r[i-1]:null},t.empty=f,t.fastInnerHTML=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.sanitize;m.test(t)?(w||o!==r.sanitize||(w=!0,(0,s.deprecatedWarn)("The HTML sanitization using DOMPurify library is deprecated and will be removed in the next major release. Use the `sanitizer` option instead.\n\nMigration guide: https://handsontable.com/docs/migration-from-16.2-to-17.0/\n`sanitizer` documentation: https://handsontable.com/docs/api/options/#sanitizer")),e.innerHTML="function"==typeof o?o(t,"innerHTML"):t):b(e,t)},t.fastInnerText=b,t.findFirstParentWithClass=function(e,t){const o={element:void 0,classNames:[]};let r=e;for(;null!==r&&r!==e.ownerDocument.documentElement&&!o.element;){if("string"==typeof t&&r.classList.contains(t))o.element=r,o.classNames.push(t);else if(t instanceof RegExp){const e=Array.from(r.classList).filter(e=>t.test(e));e.length&&(o.element=r,o.classNames.push(...e))}r=r.parentElement}return o},t.getCaretPosition=function(e){if(e.selectionStart)return e.selectionStart;return 0},t.getCssTransform=function(e){let t;if(e.style.transform&&""!==(t=e.style.transform))return["transform",t];return-1},t.getFractionalScalingCompensation=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(!(0,i.isWindowsOS)())return 0;return Number.isInteger(e.defaultView.devicePixelRatio||1)?0:2},t.getFrameElement=l,t.getMaximumScrollLeft=function(e){return e.scrollWidth-e.clientWidth},t.getMaximumScrollTop=function(e){return e.scrollHeight-e.clientHeight},t.getParent=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=-1,r=null,n=e;for(;null!==n;){if(o===t){r=n;break}n.host&&n.nodeType===Node.DOCUMENT_FRAGMENT_NODE?n=n.host:(o+=1,n=n.parentNode)}return r},t.getParentWindow=function(e){return l(e)&&e.parent},t.getScrollLeft=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;if(e===t)return y(t);return e.scrollLeft},t.getScrollTop=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;if(e===t)return v(t);return e.scrollTop},t.getScrollableElement=function(e){let t=e.ownerDocument,o=t?t.defaultView:void 0;t||(t=e.document?e.document:e,o=t.defaultView);const r=["auto","scroll"];let n=e.parentNode;for(;n&&n.style&&t.body!==n;){let{overflow:e,overflowX:t,overflowY:i}=n.style;if([e,t,i].includes("scroll"))return n;if(({overflow:e,overflowX:t,overflowY:i}=o.getComputedStyle(n)),r.includes(e)||r.includes(t)||r.includes(i))return n;if(n.clientHeight<=n.scrollHeight+1&&(r.includes(i)||r.includes(e)))return n;if(n.clientWidth<=n.scrollWidth+1&&(r.includes(t)||r.includes(e)))return n;n=n.parentNode}return o},t.getScrollbarWidth=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;void 0===C&&(C=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;const t=e.createElement("div");t.style.height="200px",t.style.width="100%";const o=e.createElement("div");!(0,i.isSafari)()||(0,i.isMobileBrowser)()||(0,i.isIpadOS)()||o.classList.add("htScrollbarSafariTest");o.style.boxSizing="content-box",o.style.height="150px",o.style.left="0px",o.style.overflow="hidden",o.style.position="absolute",o.style.top="0px",o.style.width="200px",o.style.visibility="hidden",o.appendChild(t),e.body.appendChild(o);const r=t.offsetWidth;o.style.overflow="scroll";let n=t.offsetWidth;r===n&&(n=o.clientWidth);return e.body.removeChild(o),r-n}(e));return C},t.getSelectionEndPosition=function(e){if(e.selectionEnd)return e.selectionEnd;return 0},t.getSelectionText=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;const t=e.document;let o="";e.getSelection?o=e.getSelection().toString():t.selection&&"Control"!==t.selection.type&&(o=t.selection.createRange().text);return o},t.getStyle=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:window;if(!e)return;if(e===o)return"width"===t?`${o.innerWidth}px`:"height"===t?`${o.innerHeight}px`:void 0;const r=e.style[t];if(""!==r&&void 0!==r)return r;const n=o.getComputedStyle(e);if(""!==n[t]&&void 0!==n[t])return n[t]},t.getTrimmingContainer=function(e){const t=e.ownerDocument,o=t.defaultView;let r=e.parentNode;for(;r&&r.style&&t.body!==r;){if("visible"!==r.style.overflow&&""!==r.style.overflow)return r;const e=o.getComputedStyle(r),t=["scroll","hidden","auto","clip"],n=e.getPropertyValue("overflow"),i=e.getPropertyValue("overflow-y"),s=e.getPropertyValue("overflow-x");if(t.includes(n)||t.includes(i)||t.includes(s))return r;r=r.parentNode}return o},t.getWindowScrollLeft=y,t.getWindowScrollTop=v,t.hasAccessToParentWindow=function(e){return!!Object.getPrototypeOf(e.parent)},t.hasClass=function(e,t){if(void 0===e.classList||"string"!=typeof t||""===t)return!1;return e.classList.contains(t)},t.hasHorizontalScrollbar=function(e){if(e instanceof Window)return e.document.body.scrollWidth>e.innerWidth;return e.offsetHeight!==e.clientHeight},t.hasVerticalScrollbar=function(e){if(e instanceof Window)return e.document.body.scrollHeight>e.innerHeight;return e.offsetWidth!==e.clientWidth},t.hasZeroHeight=function(e){const t=e.ownerDocument.defaultView;let o=e;for(;o.parentNode;){if("0px"===o.style.height||"0"===o.style.height){const e=t.getComputedStyle(o).getPropertyValue("overflow");return"hidden"===e||"clip"===e}o=o.parentNode}return!1},t.index=function(e){let t=0,o=e;if(o.previousSibling)for(;o=o.previousSibling;)t+=1;return t},t.innerHeight=function(e){return e.clientHeight||e.innerHeight},t.innerWidth=function(e){return e.clientWidth||e.innerWidth},t.isChildOf=function(e,t){let o=e.parentNode,r=[];"string"==typeof t?r=e.defaultView?Array.prototype.slice.call(e.querySelectorAll(t),0):Array.prototype.slice.call(e.ownerDocument.querySelectorAll(t),0):r.push(t);for(;null!==o;){if(r.indexOf(o)>-1)return!0;o=o.parentNode}return!1},t.isDetached=function(e){return!e.parentNode},t.isHTMLElement=function(e){var t;const o=null==e||null===(t=e.ownerDocument)||void 0===t?void 0:t.defaultView.Element;return!!(o&&null!==o&&e instanceof o)},t.isInput=S,t.isInternalElement=function(e,t){const o=e.closest(".handsontable");return!!o&&(o.parentNode===t||o===t)},t.isOutsideInput=E,t.isVisible=function e(t){const o=t.ownerDocument.documentElement,r=t.ownerDocument.defaultView;let n=t;for(;n!==o;){if(null===n)return!1;if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){if(!n.host)return!1;if(n.host.impl)return e(n.host.impl);if(n.host)return e(n.host);(0,a.throwWithCause)("Lost in Web Components world")}else if("none"===r.getComputedStyle(n).display)return!1;n=n.parentNode}return!0},t.makeElementContentEditableAndSelectItsContent=_,t.matchesCSSRules=function(e,t){const{selectorText:o}=t;let r=!1;t.type===CSSRule.STYLE_RULE&&o&&(e.msMatchesSelector?r=e.msMatchesSelector(o):e.matches&&(r=e.matches(o)));return r},t.observeVisibilityChangeOnce=function(e,t){new IntersectionObserver((o,r)=>{o.forEach(o=>{o.isIntersecting&&null!==e.offsetParent&&(t(),r.unobserve(e))})},{root:e.ownerDocument.body}).observe(e)},t.offset=function(e){const t=e.ownerDocument,o=t.defaultView,r=t.documentElement;let n,i,s,a=e;n=a.offsetLeft,i=a.offsetTop,s=a;for(;(a=a.offsetParent)&&a!==t.body&&"offsetLeft"in a;)n+=a.offsetLeft,i+=a.offsetTop,s=a;s&&"fixed"===s.style.position&&(n+=o.pageXOffset||r.scrollLeft,i+=o.pageYOffset||r.scrollTop);return{left:n,top:i}},t.outerHeight=function(e){return e.offsetHeight},t.outerWidth=function(e){return e.offsetWidth},t.overlayContainsElement=function(e,t,o){const r=o.parentElement.querySelector(`.ht_clone_${e}`);return r?r.contains(t):null},t.removeAttribute=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];"string"==typeof t?t=t.split(" "):t instanceof RegExp&&(t=[t]);const{regexFree:o,regexes:r}=c(t,!0);o.forEach(t=>{""!==t&&e.removeAttribute(t)}),r.forEach(t=>{e.getAttributeNames().forEach(o=>{t.test(o)&&e.removeAttribute(o)})})},t.removeClass=g,t.removeContentEditableFromElementAndDeselect=R,t.removeEvent=function(e,t,o){e.removeEventListener(t,o,!1)},t.removeTextNodes=function e(t){if(3===t.nodeType)t.parentNode.removeChild(t);else if(["TABLE","THEAD","TBODY","TFOOT","TR"].indexOf(t.nodeName)>-1){const o=t.childNodes;for(let t=o.length-1;t>=0;t--)e(o[t])}},t.resetCssTransform=function(e){e.style.transform&&""!==e.style.transform&&(e.style.transform="")},t.runWithSelectedContendEditableElement=function(e,t){let o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];_(e,o),t(),R(e,o)},t.selectElementIfAllowed=function(e){E(e.ownerDocument.activeElement)||e.select()},t.setAttribute=p,t.setCaretPosition=function(e,t,o){void 0===o&&(o=t);if(e.setSelectionRange){e.focus();try{e.setSelectionRange(t,o)}catch(r){const n=e.parentNode,i=n.style.display;n.style.display="block",e.setSelectionRange(t,o),n.style.display=i}}},t.setOverlayPosition=function(e,t,o){e.style.transform=`translate3d(${t},${o},0)`};var r=o(23862),n=o(12175),i=o(46027),s=o(26070),a=o(26032);function l(e){return Object.getPrototypeOf(e.parent)&&e.frameElement}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2?arguments[2]:void 0;const{ELEMENT_NODE:r,DOCUMENT_FRAGMENT_NODE:n}=Node;let i=e;for(;null!=i&&i!==o;){const{nodeType:e,nodeName:o}=i;if(e===r&&(t.includes(o)||t.includes(i)))return i;const{host:s}=i;i=s&&e===n?s:i.parentNode}return null}function d(e){return e&&e.length?e.filter(e=>!!e):[]}function c(e,t){if(!e||!e.length)return t?{regexFree:[],regexes:[]}:[];const o=[],r=[];return r.push(...e.filter(e=>{const r=e instanceof RegExp;return r&&t&&o.push(e),!r})),t?{regexFree:r,regexes:o}:r}function u(e,t){"string"==typeof t&&(t=t.split(" ")),(t=d(t)).length>0&&e.classList.add(...t)}function g(e,t){"string"==typeof t?t=t.split(" "):t instanceof RegExp&&(t=[t]);let{regexFree:o,regexes:r}=c(t,!0);o=d(o),o.length>0&&e.classList.remove(...o),r.forEach(t=>{e.classList.forEach(o=>{t.test(o)&&e.classList.remove(o)})})}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=arguments.length>2?arguments[2]:void 0;Array.isArray(t)||(t=[[t,o]]),t.forEach(t=>{Array.isArray(t)&&""!==t[0]&&e.setAttribute(...t)})}function f(e){let t;for(;t=e.lastChild;)e.removeChild(t)}const m=t.HTML_CHARACTERS=/(<(.*)>|&(.*);)/;let C,w=!1;function b(e,t){const o=e.firstChild;o&&3===o.nodeType&&null===o.nextSibling?o.textContent=t:(f(e),e.appendChild(e.ownerDocument.createTextNode(t)))}function v(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).scrollY}function y(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).scrollX}function S(e){return e&&(["INPUT","SELECT","TEXTAREA"].indexOf(e.nodeName)>-1||"true"===e.contentEditable)}function E(e){return S(e)&&!1===e.hasAttribute("data-hot-input")}function _(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=e.ownerDocument,i=r.createRange(),s=r.defaultView.getSelection();p(e,"contenteditable",!0),o&&p(e,...(0,n.A11Y_HIDDEN)()),t&&u(e,"invisibleSelection"),i.selectNodeContents(e),s.removeAllRanges(),s.addRange(i)}function R(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const o=e.ownerDocument.defaultView.getSelection();e.hasAttribute("aria-hidden")&&e.removeAttribute("aria-hidden"),o.removeAllRanges(),t&&g(e,"invisibleSelection"),e.removeAttribute("contenteditable")}},31100(e,t,o){"use strict";t.__esModule=!0,t.isImmediatePropagationStopped=function(e){return!1===e.isImmediatePropagationEnabled},t.isLeftClick=function(e){return 0===e.button},t.isRightClick=function(e){return 2===e.button},t.isTouchEvent=function(e){return"undefined"!=typeof TouchEvent&&e instanceof TouchEvent},t.offsetRelativeTo=function(e,t){const o={x:e.offsetX,y:e.offsetY};let n=e.target;if(!(0,r.isHTMLElement)(t)||n!==t&&n.contains(t))return o;for(;n!==t;)o.x+=n.offsetLeft,o.y+=n.offsetTop,n=n.offsetParent;return o},t.stopImmediatePropagation=function(e){e.isImmediatePropagationEnabled=!1,e.cancelBubble=!0};var r=o(23876)},26032(e,t){"use strict";t.__esModule=!0,t.throwWithCause=function(e){throw new Error(e,{cause:{handsontable:!0}})}},24605(e,t){"use strict";let o;t.__esModule=!0,t.cancelAnimationFrame=function(e){window.cancelAnimationFrame(e)},t.getComparisonFunction=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(o)return o;o="object"==typeof Intl?new Intl.Collator(e,t).compare:"function"==typeof String.prototype.localeCompare?(e,t)=>`${e}`.localeCompare(t):(e,t)=>e===t?0:e>t?-1:1;return o},t.isCSR=function(){return"undefined"!=typeof window},t.isTouchSupported=function(){return"ontouchstart"in window},t.requestAnimationFrame=function(e){return window.requestAnimationFrame(e)}},3179(e,t,o){"use strict";t.__esModule=!0,t.curry=function(e){const t=e.length;return function o(r){return function(){for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];const a=r.concat(i);let l;return l=a.length>=t?e.apply(this,a):o(a),l}}([])},t.curryRight=function(e){const t=e.length;return function o(r){return function(){for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];const a=r.concat(i.reverse());let l;return l=a.length>=t?e.apply(this,a):o(a),l}}([])},t.debounce=function(e){let t,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,r=null;return function(){for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return r&&clearTimeout(r),r=setTimeout(()=>{t=e.apply(this,i)},o),t}},t.fastCall=function(e,t,o,r,i,s,a,l){if((0,n.isDefined)(l))return e.call(t,o,r,i,s,a,l);if((0,n.isDefined)(a))return e.call(t,o,r,i,s,a);if((0,n.isDefined)(s))return e.call(t,o,r,i,s);if((0,n.isDefined)(i))return e.call(t,o,r,i);if((0,n.isDefined)(r))return e.call(t,o,r);if((0,n.isDefined)(o))return e.call(t,o);return e.call(t)},t.isFunction=function(e){return"function"==typeof e},t.partial=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),r=1;r<t;r++)o[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.apply(this,o.concat(r))}},t.pipe=function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];const[n,...i]=t;return function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];return(0,r.arrayReduce)(i,(e,t)=>t(e),n.apply(this,t))}},t.throttle=i,t.throttleAfterHits=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;const r=i(e,t);let n=o;function s(){for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return n?(n-=1,e.apply(this,o)):r.apply(this,o)}return s.clearHits=function(){n=o},s};var r=o(6578),n=o(79416);function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,o=0;const r={lastCallThrottled:!0};let n=null;return function(){for(var i=arguments.length,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];const l=Date.now();let h=!1;r.lastCallThrottled=!0,o||(o=l,h=!0);const d=t-(l-o);return h?(r.lastCallThrottled=!1,e.apply(this,s)):(n&&clearTimeout(n),n=setTimeout(()=>{r.lastCallThrottled=!1,e.apply(this,s),o=0,n=void 0},d)),r}}},79416(e,t,o){"use strict";t.__esModule=!0,t._injectProductInfo=function(e,t,o){const r=!i(e),n="string"==typeof e&&"non-commercial-and-evaluation"===e.toLowerCase(),f="17.0.0-rc15";let m,C="invalid",w="invalid";const b=function(e){let t=[][s],o=t;if(e[s]!==d("Z"))return!1;for(let t="",r="B<H4P+".split(""),n=d(r.shift());n;n=d(r.shift()||"A"))--n<""[s]?o|=(l(`${l(a(t)+(a(h(e,Math.abs(n),2))+[]).padStart(2,"0"))}`)%97||2)>>1:t=h(e,n,n?1===r[s]?9:8:6);return o===t}(e=c(e||""));if(r||n||b)if(b){const[t,r,n]=o.split("/").map(Number),i=Math.floor(Date.UTC(n,r-1,t)/864e5),l=a(h(c(v=e),a("12"),d("F")))/(a(h(c(v),d("B"),~~![][s]))||9);m=new Intl.DateTimeFormat("en-US",{year:"numeric",month:"long",day:"2-digit",timeZone:"UTC"}).format(864e5*(l+1)),i>l?(C="expired",w="expired"):(C="valid",w="valid")}else n?(C="non_commercial",w="valid"):(C="invalid",w="invalid");else C="missing",w="missing";var v;"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)&&(C="valid",w="valid");if(!u&&"valid"!==C){g[C]({keyValidityDate:m,hotVersion:f})&&console["non_commercial"===C?"info":"warn"](g[C]({keyValidityDate:m,hotVersion:f})),u=!0}if("valid"!==w&&t){if(p[w]({keyValidityDate:m,hotVersion:f})){const e=document.createElement("div");e.className="handsontable hot-display-license-info",e.innerHTML=p[w]({keyValidityDate:m,hotVersion:f}),t.appendChild(e)}}},t.isDefined=function(e){return void 0!==e},t.isEmpty=i,t.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},t.isUndefined=n,t.stringify=function(e){let t;switch(typeof e){case"string":case"number":t=`${e}`;break;case"object":t=null===e?"":e.toString();break;case"undefined":t="";break;default:t=e.toString()}return t};var r=o(26192);function n(e){return void 0===e}function i(e){return null===e||""===e||n(e)}const s="length",a=e=>parseInt(e,16),l=e=>parseInt(e,10),h=(e,t,o)=>e.substr(t,o),d=e=>e.codePointAt(0)-65,c=e=>`${e}`.replace(/\-/g,"");let u=!1;const g={invalid:()=>r.toSingleLine`
40
40
  The license key for Handsontable is invalid.\x20
41
41
  If you need any help, contact us at support@handsontable.com.`,expired:e=>{let{keyValidityDate:t,hotVersion:o}=e;return r.toSingleLine`
42
42
  The license key for Handsontable expired on ${t}, and is not valid for the installed\x20
@@ -94,4 +94,4 @@ the last node, the show column modification can be applied.`);const{crossHiddenC
94
94
  columnEnd/columnPropEnd]]) or as an array of CellRange objects.`);const r=(0,g.normalizeSelectionFactory)(o,{createCellCoords:function(){return t.tableProps.createCellCoords(...arguments)},createCellRange:function(){return t.tableProps.createCellRange(...arguments)},propToCol:e=>this.tableProps.propToCol(e),keepDirection:!0}),n=this.settings.navigableHeaders,i={countRows:this.tableProps.countRows(),countCols:this.tableProps.countCols(),countRowHeaders:n?this.tableProps.countRowHeaders():0,countColHeaders:n?this.tableProps.countColHeaders():0},s=!e.some(e=>{const t=r(e),o=t.isValid(i);return!(o&&!t.containsHeaders()||o&&t.containsHeaders()&&t.isSingleHeader())});return s&&(this.clear(),this.setExpectedLayers(e.length),(0,d.arrayEach)(e,e=>{const{from:t,to:o}=r(e);this.setRangeStartOnly(t.clone(),!1),this.setRangeEnd(o.clone())}),this.finish()),s}selectColumns(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r="string"==typeof e?this.tableProps.propToCol(e):e,n="string"==typeof t?this.tableProps.propToCol(t):t,i=this.tableProps.countRows(),s=this.tableProps.countCols(),a=this.tableProps.countColHeaders(),l=0===a?0:-a,d=this.tableProps.createCellCoords(l,r),c=this.tableProps.createCellCoords(i-1,n),u=this.tableProps.createCellRange(d,d,c).isValid({countRows:i,countCols:s,countRowHeaders:0,countColHeaders:a});if(u){let e=0,t=0;Number.isInteger(null==o?void 0:o.row)&&Number.isInteger(null==o?void 0:o.col)?(e=(0,h.clamp)(o.row,l,i-1),t=(0,h.clamp)(o.col,Math.min(r,n),Math.max(r,n))):(e=(0,h.clamp)(o,l,i-1),t=r);const s=this.tableProps.createCellCoords(e,t),d=0===a?0:(0,h.clamp)(s.row,l,-1),c=i-1,u=this.tableProps.createCellCoords(d,r),g=this.tableProps.createCellCoords(c,n);this.runLocalHooks("beforeSelectColumns",u,g,s),this.setRangeStartOnly(u,void 0,s),this.selectedByColumnHeader.add(this.getLayerLevel()),this.setRangeEnd(g),this.runLocalHooks("afterSelectColumns",u,g,s),this.finish()}return u}selectRows(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=this.tableProps.countRows(),n=this.tableProps.countCols(),i=this.tableProps.countRowHeaders(),s=0===i?0:-i,a=this.tableProps.createCellCoords(e,s),l=this.tableProps.createCellCoords(t,n-1),d=this.tableProps.createCellRange(a,a,l).isValid({countRows:r,countCols:n,countRowHeaders:i,countColHeaders:0});if(d){let r=0,a=0;Number.isInteger(null==o?void 0:o.row)&&Number.isInteger(null==o?void 0:o.col)?(r=(0,h.clamp)(o.row,Math.min(e,t),Math.max(e,t)),a=(0,h.clamp)(o.col,s,n-1)):(r=e,a=(0,h.clamp)(o,s,n-1));const l=this.tableProps.createCellCoords(r,a),d=0===i?0:(0,h.clamp)(l.col,s,-1),c=n-1,u=this.tableProps.createCellCoords(e,d),g=this.tableProps.createCellCoords(t,c);this.runLocalHooks("beforeSelectRows",u,g,l),this.setRangeStartOnly(u,void 0,l),this.selectedByRowHeader.add(this.getLayerLevel()),this.setRangeEnd(g),this.runLocalHooks("afterSelectRows",u,g,l),this.finish()}return d}importSelection(e){let{ranges:t,activeRange:o,activeSelectionLayer:r,selectedByRowHeader:n,selectedByColumnHeader:i,disableHeadersHighlight:s}=e;0!==t.length&&(this.selectedRange.clear(),this.highlight.clear(),this.inProgress=!1,b(_,this,s),this.selectedByRowHeader=new Set(n),this.selectedByColumnHeader=new Set(i),this.setActiveSelectionLayerIndex(0),t.forEach((e,t)=>{this.selectedRange.push(e),this.applyAndCommit(e,t)}),this.setRangeFocus(o.highlight,r),b(_,this,!1),this.inProgress=!1)}exportSelection(){return{ranges:Array.from(this.selectedRange).map(e=>e.clone()),activeRange:this.getActiveSelectedRange(),activeSelectionLayer:this.getActiveSelectionLayerIndex(),selectedByRowHeader:Array.from(this.selectedByRowHeader),selectedByColumnHeader:Array.from(this.selectedByColumnHeader),disableHeadersHighlight:w(_,this)}}refresh(){if(!this.isSelected())return;const e=this.tableProps.countRows(),t=this.tableProps.countCols();if(0===e||0===t)return void this.deselect();const o=this.selectedRange.ranges.map(e=>e.clone());"unknown"===this.getSelectionSource()&&this.markSource("refresh");const r=new Set(this.selectedByRowHeader),n=new Set(this.selectedByColumnHeader);this.clear(),this.setExpectedLayers(o.length),o.forEach(o=>{const{from:r,to:n,highlight:i}=o,s=e-1,a=t-1;i.assign({row:(0,h.clamp)(i.row,this.settings.navigableHeaders?-1/0:0,s),col:(0,h.clamp)(i.col,this.settings.navigableHeaders?-1/0:0,a)}),r.assign({row:(0,h.clamp)(r.row,-1/0,s),col:(0,h.clamp)(r.col,-1/0,a)}),n.assign({row:(0,h.clamp)(n.row,-1/0,s),col:(0,h.clamp)(n.col,-1/0,a)}),this.setRangeStartOnly(r,!0,i),this.setRangeEnd(n)}),this.selectedByRowHeader=r,this.selectedByColumnHeader=n,this.finish(),this.markEndSource()}commit(){if(this.highlight.getCustomSelections().forEach(e=>{e.commit()}),!this.isSelected())return;const e=this.getLayerLevel(),t=this.getActiveSelectedRange();this.highlight.isEnabledFor(i.FOCUS_TYPE,t.highlight)&&this.highlight.getFocus().commit().syncWith(t);for(let e=0;e<this.selectedRange.size();e+=1){this.highlight.useLayerLevel(e);const t=this.highlight.createArea(),o=this.highlight.createLayeredArea(),r=this.highlight.createRowHeader(),n=this.highlight.createColumnHeader(),i=this.highlight.createActiveRowHeader(),s=this.highlight.createActiveColumnHeader(),a=this.highlight.createActiveCornerHeader(),l=this.highlight.createRowHighlight(),h=this.highlight.createColumnHighlight();t.commit(),o.commit(),r.commit(),n.commit(),i.commit(),s.commit(),a.commit(),l.commit(),h.commit()}this.highlight.useLayerLevel(e)}}(0,a.mixin)(I,c.default);t.default=I},70960(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(38888),s=o(26032),a=r(o(81551));function l(e,t,o){h(e,t),t.set(e,o)}function h(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function d(e,t){return e.get(u(e,t))}function c(e,t,o){return e.set(u(e,t),o),o}function u(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var g=new WeakMap,p=new WeakMap,f=new WeakMap,m=new WeakSet;class C{constructor(e,t){var o,r;h(o=this,r=m),r.add(o),l(this,g,void 0),l(this,p,0),l(this,f,{x:0,y:0}),(0,n.default)(this,"tableApi",void 0),c(g,this,e),this.tableApi=t}setActiveLayerIndex(e){c(p,this,e)}getCurrentSelection(){return d(g,this).peekByIndex(d(p,this))}transformStart(e,t){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];c(f,this,this.calculateOffset());const r=this.tableApi.createCellCoords(e,t);let n=this.getCurrentSelection().highlight;const s=this.tableApi.visualToRenderableCoords(n);let a=0,l=0;if(this.runLocalHooks("beforeTransformStart",r),null!==s.row&&null!==s.col){let{width:e,height:t}=u(m,this,y).call(this);const{row:s,col:h}=u(m,this,R).call(this,n),c=this.tableApi.fixedRowsBottom(),p=this.tableApi.minSpareRows(),f=this.tableApi.minSpareCols(),C=this.tableApi.autoWrapRow(),E=this.tableApi.autoWrapCol(),_=this.tableApi.createCellCoords(s+r.row,h+r.col);if(_.row>=t){const r=(0,i.createObjectPropListener)(o&&p>0&&0===c),n=_.col+1,s=n>=e,a=this.tableApi.createCellCoords(_.row-t,s?n-e:n);if(this.runLocalHooks("beforeColumnWrap",r,u(m,this,T).call(this,a),s),r.value)this.runLocalHooks("insertRowRequire",this.countRenderableRows());else if(E){if(this.shouldSwitchSelectionLayer()&&s&&d(g,this).size()>1){u(m,this,w).call(this);const e=u(m,this,S).call(this,"forward");null!==e&&a.assign(e)}_.assign(a)}}else if(_.row<0){const o=(0,i.createObjectPropListener)(E),r=_.col-1,n=r<0,s=this.tableApi.createCellCoords(t+_.row,n?e+r:r);if(this.runLocalHooks("beforeColumnWrap",o,u(m,this,T).call(this,s),n),E){if(this.shouldSwitchSelectionLayer()&&n&&d(g,this).size()>1){u(m,this,b).call(this);const e=u(m,this,S).call(this,"backward");null!==e&&s.assign(e)}_.assign(s)}}if(({width:e,height:t}=u(m,this,y).call(this)),_.col>=e){const r=(0,i.createObjectPropListener)(o&&f>0),n=_.row+1,s=n>=t,a=this.tableApi.createCellCoords(s?n-t:n,_.col-e);if(this.runLocalHooks("beforeRowWrap",r,u(m,this,T).call(this,a),s),r.value)this.runLocalHooks("insertColRequire",this.countRenderableColumns());else if(C){if(this.shouldSwitchSelectionLayer()&&s&&d(g,this).size()>1){u(m,this,w).call(this);const e=u(m,this,S).call(this,"forward");null!==e&&a.assign(e)}_.assign(a)}}else if(_.col<0){const o=(0,i.createObjectPropListener)(C),r=_.row-1,n=r<0,s=this.tableApi.createCellCoords(n?t+r:r,e+_.col);if(this.runLocalHooks("beforeRowWrap",o,u(m,this,T).call(this,s),n),C){if(this.shouldSwitchSelectionLayer()&&n&&d(g,this).size()>1){u(m,this,b).call(this);const e=u(m,this,S).call(this,"backward");null!==e&&s.assign(e)}_.assign(s)}}const{rowDir:M,colDir:I}=u(m,this,v).call(this,_);a=M,l=I,n=u(m,this,T).call(this,_)}return this.runLocalHooks("afterTransformStart",n,a,l),{selectionLayer:d(p,this),visualCoords:n}}transformEnd(e,t){c(f,this,this.calculateOffset());const o=this.tableApi.createCellCoords(e,t),r=this.getCurrentSelection(),n=this.tableApi.visualToRenderableCoords(r.highlight),i=u(m,this,E).call(this,r.to.row,r.from.row),s=u(m,this,_).call(this,r.to.col,r.from.col),a=r.to.clone();let l=0,h=0;if(this.runLocalHooks("beforeTransformEnd",o),null!==n.row&&null!==n.col&&null!==i&&null!==s){const{row:e,col:t}=u(m,this,R).call(this,r.highlight),n=this.tableApi.createCellCoords(i+o.row,s+o.col),d=r.getTopStartCorner(),c=r.getTopEndCorner(),g=r.getBottomEndCorner();if(o.col<0&&s>=t&&n.col<t){const e=n.col-t;n.col=u(m,this,_).call(this,d.col,c.col)+e}else if(o.col>0&&s<=t&&n.col>t){const e=u(m,this,_).call(this,c.col,d.col),t=Math.max(n.col-e,1);n.col=e+t}if(o.row<0&&i>=e&&n.row<e){const t=n.row-e;n.row=u(m,this,E).call(this,d.row,g.row)+t}else if(o.row>0&&i<=e&&n.row>e){const e=u(m,this,E).call(this,g.row,d.row),t=Math.max(n.row-e,1);n.row=e+t}const{rowDir:p,colDir:f}=u(m,this,v).call(this,n);l=p,h=f;const C=u(m,this,T).call(this,n);0===o.row&&0!==o.col?a.col=C.col:0!==o.row&&0===o.col?a.row=C.row:(a.row=C.row,a.col=C.col)}return this.runLocalHooks("afterTransformEnd",a,l,h),{selectionLayer:d(p,this),visualCoords:a}}calculateOffset(){(0,s.throwWithCause)("`calculateOffset` is not implemented")}countRenderableRows(){(0,s.throwWithCause)("`countRenderableRows` is not implemented")}countRenderableColumns(){(0,s.throwWithCause)("`countRenderableColumns` is not implemented")}shouldSwitchSelectionLayer(){(0,s.throwWithCause)("`shouldSwitchSelectionLayer` is not implemented")}}function w(){const e=d(p,this)+1;this.setActiveLayerIndex(e>=d(g,this).size()?0:e),c(f,this,this.calculateOffset())}function b(){const e=d(p,this)-1;this.setActiveLayerIndex(e<0?d(g,this).size()-1:e),c(f,this,this.calculateOffset())}function v(e){const{width:t,height:o}=u(m,this,y).call(this);let r=0,n=0;return e.row<0?(r=-1,e.row=0):e.row>0&&e.row>=o&&(r=1,e.row=o-1),e.col<0?(n=-1,e.col=0):e.col>0&&e.col>=t&&(n=1,e.col=t-1),{rowDir:r,colDir:n}}function y(){return{width:d(f,this).x+this.countRenderableColumns(),height:d(f,this).y+this.countRenderableRows()}}function S(e){if(!["forward","backward"].includes(e))return null;const t=this.getCurrentSelection().getTopStartCorner(),o=this.getCurrentSelection().getBottomEndCorner(),[r,n,i,s]="forward"===e?[t.row,o.row,t.col,o.col]:[o.row,t.row,o.col,t.col],a=u(m,this,E).call(this,r,n),l=u(m,this,_).call(this,i,s);return null===a||null===l?null:this.tableApi.createCellCoords(a,l)}function E(e,t){const o=this.tableApi.findFirstNonHiddenRenderableRow(e,t);return null===o?null:d(f,this).y+o}function _(e,t){const o=this.tableApi.findFirstNonHiddenRenderableColumn(e,t);return null===o?null:d(f,this).x+o}function R(e){const{row:t,col:o}=this.tableApi.visualToRenderableCoords(e);return null!==t&&null!==o||(0,s.throwWithCause)("Renderable coords are not visible."),this.tableApi.createCellCoords(d(f,this).y+t,d(f,this).x+o)}function T(e){const t=e.clone();return t.col=e.col-d(f,this).x,t.row=e.row-d(f,this).y,this.tableApi.renderableToVisualCoords(t)}t.BaseTransformation=C,(0,i.mixin)(C,a.default)},90965(e,t,o){"use strict";t.__esModule=!0;var r=o(70960);class n extends r.BaseTransformation{calculateOffset(){return{x:this.tableApi.navigableHeaders()?this.tableApi.countRowHeaders():0,y:this.tableApi.navigableHeaders()?this.tableApi.countColHeaders():0}}countRenderableRows(){return this.tableApi.countRenderableRows()}countRenderableColumns(){return this.tableApi.countRenderableColumns()}shouldSwitchSelectionLayer(){return!1}}t.ExtenderTransformation=n},9080(e,t,o){"use strict";t.__esModule=!0;var r=o(70960),n=o(26032);class i extends r.BaseTransformation{calculateOffset(){const e=this.getCurrentSelection(),{row:t,col:o}=e.getOuterTopStartCorner(),r=this.tableApi.countRenderableColumnsInRange(0,o-1),n=this.tableApi.countRenderableRowsInRange(0,t-1),i=e.highlight.isHeader(),s=i?Math.abs(o):0,a=i?Math.abs(t):0;return{x:o<0?s:-r,y:t<0?a:-n}}countRenderableRows(){const e=this.getCurrentSelection();return this.tableApi.countRenderableRowsInRange(0,e.getOuterBottomEndCorner().row)}countRenderableColumns(){const e=this.getCurrentSelection();return this.tableApi.countRenderableColumnsInRange(0,e.getOuterBottomEndCorner().col)}transformEnd(){(0,n.throwWithCause)("`transformEnd` is not valid for focus selection use `transformStart` instead")}shouldSwitchSelectionLayer(){return!0}}t.FocusTransformation=i},76112(e,t,o){"use strict";t.__esModule=!0;var r=o(90965);t.ExtenderTransformation=r.ExtenderTransformation;var n=o(9080);t.FocusTransformation=n.FocusTransformation},39329(e,t,o){"use strict";t.__esModule=!0,t.detectSelectionType=f,t.normalizeSelectionFactory=m,t.transformSelectionToColumnDistance=function(e){const t=f(e.getSelected());if(t===a||t===l)return[];const o=m(t,{createCellCoords:e._createCellCoords.bind(e),createCellRange:e._createCellRange.bind(e)}),r=new Set;(0,i.arrayEach)(e.getSelected(),e=>{const{from:t,to:n}=o(e),s=Math.max(t.col,0),a=n.col-s+1;(0,i.arrayEach)(Array.from(new Array(a),(e,t)=>s+t),e=>{r.has(e)||r.add(e)})});const n=Array.from(r).sort((e,t)=>e-t);return(0,i.arrayReduce)(n,(e,t,o,r)=>(0!==o&&t===r[o-1]+1?e[e.length-1][1]+=1:e.push([t,1]),e),[])},t.transformSelectionToRowDistance=function(e){const t=f(e.getSelected());if(t===a||t===l)return[];const o=m(t,{createCellCoords:e._createCellCoords.bind(e),createCellRange:e._createCellRange.bind(e)}),r=new Set;(0,i.arrayEach)(e.getSelected(),e=>{const{from:t,to:n}=o(e),s=Math.max(t.row,0),a=n.row-s+1;(0,i.arrayEach)(Array.from(new Array(a),(e,t)=>s+t),e=>{r.has(e)||r.add(e)})});const n=Array.from(r).sort((e,t)=>e-t);return(0,i.arrayReduce)(n,(e,t,o,r)=>(0!==o&&t===r[o-1]+1?e[e.length-1][1]+=1:e.push([t,1]),e),[])};var r=o(75269),n=o(26032),i=o(6578),s=o(79416);const a=t.SELECTION_TYPE_UNRECOGNIZED=0,l=t.SELECTION_TYPE_EMPTY=1,h=t.SELECTION_TYPE_ARRAY=2,d=t.SELECTION_TYPE_OBJECT=3,c=t.SELECTION_TYPES=[d,h],u=[["number"],["number","string"],["number","undefined"],["number","string","undefined"]],g=Symbol("root"),p=Symbol("child");function f(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g;t!==g&&t!==p&&(0,n.throwWithCause)("The second argument is used internally only and cannot be overwritten.");const o=Array.isArray(e),i=t===g;let s=a;if(o){const t=e[0];if(0===e.length)s=l;else if(i&&t instanceof r.CellRange)s=d;else if(i&&Array.isArray(t))s=f(t,p);else if(e.length>=2&&e.length<=4){!e.some((e,t)=>!u[t].includes(typeof e))&&(s=h)}}return s}function m(e){let{createCellCoords:t,createCellRange:o,keepDirection:r=!1,propToCol:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return c.includes(e)||(0,n.throwWithCause)("Unsupported selection ranges schema type was provided."),function(n){const a=e===d;let l=a?n.from.row:n[0],h=a?n.from.col:n[1],c=a?n.to.row:n[2],u=a?n.to.col:n[3];if("function"==typeof i&&("string"==typeof h&&(h=i(h)),"string"==typeof u&&(u=i(u))),(0,s.isUndefined)(c)&&(c=l),(0,s.isUndefined)(u)&&(u=h),!r){const e=l,t=h,o=c,r=u;l=Math.min(e,o),h=Math.min(t,r),c=Math.max(e,o),u=Math.max(t,r)}const g=a?n.highlight.clone():t(l,h),p=t(l,h),f=t(c,u);return o(g,p,f)}}},80625(e,t){"use strict";t.__esModule=!0;t.command={name:"editorCloseAndSave",callback(e){e._getEditorManager().closeEditorAndSaveChanges()}}},72711(e,t,o){"use strict";t.__esModule=!0;var r=o(68597);t.command={name:"editorCloseAndSaveByArrowKeys",callback(e,t,o){const n=e._getEditorManager(),i=n.getActiveEditor();i.isInFullEditMode()&&i.state===r.EDITOR_STATE.EDITING||(n.closeEditorAndSaveChanges(),e.getSelected()&&(o.includes("arrowdown")?e.selection.transformStart(1,0):o.includes("arrowup")?e.selection.transformStart(-1,0):o.includes("arrowleft")?e.selection.transformStart(0,-1*e.getDirectionFactor()):o.includes("arrowright")&&e.selection.transformStart(0,e.getDirectionFactor())),t.preventDefault())}}},23576(e,t){"use strict";t.__esModule=!0;t.command={name:"editorCloseAndSaveByEnter",callback(e,t){const o=e._getEditorManager();o.closeEditorAndSaveChanges(t.ctrlKey||t.metaKey),o.moveSelectionAfterEnter(t)}}},18159(e,t){"use strict";t.__esModule=!0;t.command={name:"editorCloseWithoutSaving",callback(e){const t=e._getEditorManager();t.closeEditorAndRestoreOriginalValue(e.getShortcutManager().isCtrlPressed()),t.activeEditor.focus()}}},52411(e,t){"use strict";t.__esModule=!0;t.command={name:"editorFastOpen",callback(e,t){const{highlight:o}=e.getSelectedRangeActive();o.isHeader()||e._getEditorManager().openEditor(null,t,!0)}}},72925(e,t,o){"use strict";t.__esModule=!0,t.getAllCommands=function(){return[r.command,n.command,i.command,s.command,a.command,l.command]};var r=o(80625),n=o(72711),i=o(23576),s=o(18159),a=o(52411),l=o(18601)},18601(e,t,o){"use strict";t.__esModule=!0;var r=o(31100);t.command={name:"editorOpen",callback(e,t,o){const{selection:n}=e,i=e._getEditorManager(),s=e.getSelectedRange(),a=e.getSelectedRangeActive(),{highlight:l}=a;if((s.some(e=>n.isMultiple(e))||s.length>1)&&!a.isHeader()&&e.countRenderedCols()>0&&e.countRenderedRows()>0){const r=e.getSettings(),i="function"==typeof r.enterMoves?r.enterMoves(t):r.enterMoves;return void(o.includes("shift")?n.transformFocus(-i.row,-i.col):n.transformFocus(i.row,i.col))}l.isHeader()||(e.getSettings().enterBeginsEditing?i.cellProperties.readOnly?i.moveSelectionAfterEnter(t):i.openEditor(null,t,!0):i.moveSelectionAfterEnter(t),(0,r.stopImmediatePropagation)(t))}}},80938(e,t){"use strict";t.__esModule=!0;t.command={name:"emptySelectedCells",callback(e){e.emptySelectedCells(),e._getEditorManager().prepareEditor()}}},84837(e,t){"use strict";t.__esModule=!0;t.command={name:"extendCellsSelectionDown",callback(e){const{selection:t}=e,{highlight:o}=e.getSelectedRangeActive();t.isSelectedByColumnHeader()||t.isSelectedByCorner()||!(o.isCell()||o.isHeader()&&t.isSelectedByRowHeader())||(t.markSource("keyboard"),t.transformEnd(1,0),t.markEndSource())}}},59369(e,t){"use strict";t.__esModule=!0;t.command={name:"extendCellsSelectionDownByViewportHeight",callback(e){const{selection:t,rowIndexMapper:o}=e,{to:r}=e.getSelectedRangeActive(),n=Math.min(r.row+e.countVisibleRows(),e.countRows()-1),i=o.getNearestNotHiddenIndex(n,-1);if(null!==i){const o=e._createCellCoords(i,r.col),n=r.row-e.getFirstFullyVisibleRow(),s=Math.min(o.row-n,e.countRows()-1);t.markSource("keyboard"),t.setRangeEnd(o,e.getActiveSelectionLayerIndex()),t.markEndSource(),e.scrollViewportTo({row:s,verticalSnap:"top",horizontalSnap:"start"})}}}},81657(e,t,o){"use strict";t.__esModule=!0,t.getAllCommands=function(){return[r.command,n.command,i.command,s.command,a.command,l.command,h.command,d.command,c.command,u.command,g.command,p.command,f.command,m.command]};var r=o(84837),n=o(59369),i=o(94628),s=o(92223),a=o(98317),l=o(12444),h=o(94633),d=o(83992),c=o(61822),u=o(1289),g=o(95076),p=o(56141),f=o(81276),m=o(50380)},94628(e,t){"use strict";t.__esModule=!0;t.command={name:"extendCellsSelectionLeft",callback(e){const{selection:t}=e,{highlight:o}=e.getSelectedRangeActive();t.isSelectedByRowHeader()||t.isSelectedByCorner()||!(o.isCell()||o.isHeader()&&t.isSelectedByColumnHeader())||(t.markSource("keyboard"),t.transformEnd(0,-1*e.getDirectionFactor()),t.markEndSource())}}},92223(e,t){"use strict";t.__esModule=!0;t.command={name:"extendCellsSelectionRight",callback(e){const{selection:t}=e,{highlight:o}=e.getSelectedRangeActive();t.isSelectedByRowHeader()||t.isSelectedByCorner()||!(o.isCell()||o.isHeader()&&t.isSelectedByColumnHeader())||(t.markSource("keyboard"),t.transformEnd(0,e.getDirectionFactor()),t.markEndSource())}}},98317(e,t){"use strict";t.__esModule=!0;t.command={name:"extendCellsSelectionToColumns",callback(e){const{selection:t}=e,{highlight:o,from:r,to:n}=e.getSelectedRangeActive();t.markSource("keyboard"),t.isSelectedByRowHeader()?t.selectAll(!0,!0):e.selectColumns(r.col,n.col,o),t.markEndSource()}}},12444(e,t){"use strict";t.__esModule=!0;t.command={name:"extendCellsSelectionToMostBottom",callback(e){const{selection:t,rowIndexMapper:o}=e,{highlight:r,from:n,to:i}=e.getSelectedRangeActive(),s=r.isHeader()&&t.isSelectedByRowHeader();if(r.isCell()||s){const a=o.getNearestNotHiddenIndex(e.countRows()-1,-1),l=n.clone();l.row=r.row,t.markSource("keyboard"),t.setRangeStart(l,void 0,!1,r.clone()),s&&t.selectedByRowHeader.add(t.getLayerLevel()),t.setRangeEnd(e._createCellCoords(a,i.col)),t.markEndSource()}}}},94633(e,t){"use strict";t.__esModule=!0;t.command={name:"extendCellsSelectionToMostInlineEnd",callback(e){const{selection:t,columnIndexMapper:o}=e,{highlight:r,from:n,to:i}=e.getSelectedRangeActive();if(!t.isSelectedByRowHeader()&&!t.isSelectedByCorner()&&r.isCell()){const s=o.getNearestNotHiddenIndex(e.countCols()-1,-1),a=n.clone();a.col=r.col,t.markSource("keyboard"),t.setRangeStart(a,void 0,!1,r.clone()),t.setRangeEnd(e._createCellCoords(i.row,s)),t.markEndSource()}}}},83992(e,t){"use strict";t.__esModule=!0;t.command={name:"extendCellsSelectionToMostInlineStart",callback(e){const{selection:t,columnIndexMapper:o}=e,{highlight:r,from:n,to:i}=e.getSelectedRangeActive();if(!t.isSelectedByRowHeader()&&!t.isSelectedByCorner()&&r.isCell()){const s=parseInt(e.getSettings().fixedColumnsStart,10),a=o.getNearestNotHiddenIndex(s,1),l=n.clone();l.col=r.col,t.markSource("keyboard"),t.setRangeStart(l,void 0,!1,r.clone()),t.setRangeEnd(e._createCellCoords(i.row,a)),t.markEndSource()}}}},61822(e,t){"use strict";t.__esModule=!0;t.command={name:"extendCellsSelectionToMostLeft",callback(e){const{selection:t,columnIndexMapper:o}=e,{highlight:r,from:n,to:i}=e.getSelectedRangeActive(),s=r.isHeader()&&t.isSelectedByColumnHeader();if(r.isCell()||s){const a=o.getNearestNotHiddenIndex(...e.isRtl()?[e.countCols()-1,-1]:[0,1]),l=n.clone();l.col=r.col,t.markSource("keyboard"),t.setRangeStart(l,void 0,!1,r.clone()),s&&t.selectedByColumnHeader.add(t.getLayerLevel()),t.setRangeEnd(e._createCellCoords(i.row,a)),t.markEndSource()}}}},1289(e,t){"use strict";t.__esModule=!0;t.command={name:"extendCellsSelectionToMostRight",callback(e){const{selection:t,columnIndexMapper:o}=e,{highlight:r,from:n,to:i}=e.getSelectedRangeActive(),s=r.isHeader()&&t.isSelectedByColumnHeader();if(r.isCell()||s){const a=o.getNearestNotHiddenIndex(...e.isRtl()?[0,1]:[e.countCols()-1,-1]),l=n.clone();l.col=r.col,t.markSource("keyboard"),t.setRangeStart(l,void 0,!1,r.clone()),s&&t.selectedByColumnHeader.add(t.getLayerLevel()),t.setRangeEnd(e._createCellCoords(i.row,a)),t.markEndSource()}}}},95076(e,t){"use strict";t.__esModule=!0;t.command={name:"extendCellsSelectionToMostTop",callback(e){const{selection:t,rowIndexMapper:o}=e,{highlight:r,from:n,to:i}=e.getSelectedRangeActive(),s=r.isHeader()&&t.isSelectedByRowHeader();if(r.isCell()||s){const a=o.getNearestNotHiddenIndex(0,1),l=n.clone();l.row=r.row,t.markSource("keyboard"),t.setRangeStart(l,void 0,!1,r.clone()),s&&t.selectedByRowHeader.add(t.getLayerLevel()),t.setRangeEnd(e._createCellCoords(a,i.col)),t.markEndSource()}}}},56141(e,t){"use strict";t.__esModule=!0;t.command={name:"extendCellsSelectionToRows",callback(e){const{selection:t}=e,{highlight:o,from:r,to:n}=e.getSelectedRangeActive();t.markSource("keyboard"),t.isSelectedByColumnHeader()?t.selectAll(!0,!0):e.selectRows(r.row,n.row,o),t.markEndSource()}}},81276(e,t){"use strict";t.__esModule=!0;t.command={name:"extendCellsSelectionUp",callback(e){const{selection:t}=e,{highlight:o}=e.getSelectedRangeActive();t.isSelectedByColumnHeader()||t.isSelectedByCorner()||!(o.isCell()||o.isHeader()&&t.isSelectedByRowHeader())||(t.markSource("keyboard"),t.transformEnd(-1,0),t.markEndSource())}}},50380(e,t){"use strict";t.__esModule=!0;t.command={name:"extendCellsSelectionUpByViewportHeight",callback(e){const{selection:t,rowIndexMapper:o}=e,{to:r}=e.getSelectedRangeActive(),n=Math.max(r.row-e.countVisibleRows(),0),i=o.getNearestNotHiddenIndex(n,1);if(null!==i){const o=e._createCellCoords(i,r.col),n=r.row-e.getFirstFullyVisibleRow(),s=Math.max(o.row-n,0);t.markSource("keyboard"),t.setRangeEnd(o,e.getActiveSelectionLayerIndex()),t.markEndSource(),e.scrollViewportTo({row:s,verticalSnap:"top",horizontalSnap:"start"})}}}},18143(e,t,o){"use strict";t.__esModule=!0,t.createKeyboardShortcutCommandsPool=function(e){const t={};return u.forEach(o=>{let{name:r,callback:n}=o;t[r]=function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];return n(e,...o)}}),t};var r=o(72925),n=o(81657),i=o(97369),s=o(80938),a=o(26550),l=o(42175),h=o(61878),d=o(20815),c=o(37878);const u=[...(0,r.getAllCommands)(),...(0,n.getAllCommands)(),...(0,i.getAllCommands)(),s.command,a.command,l.command,h.command,d.command,c.command]},49701(e,t){"use strict";t.__esModule=!0;t.command={name:"moveCellSelectionDown",callback(e){let{selection:t}=e;t.markSource("keyboard"),t.transformStart(1,0),t.markEndSource()}}},9929(e,t){"use strict";t.__esModule=!0;t.command={name:"moveCellSelectionDownByViewportHeight",callback(e){const{selection:t}=e,{navigableHeaders:o}=e.getSettings(),r=o?e.countColHeaders():0,{row:n}=e.getSelectedRangeActive().highlight;let i=e.countVisibleRows()+r;i=0===i?1:i,n===e.countRows()-1?i=1:n+i>e.countRows()&&(i=e.countRows()-n-1),t.markSource("keyboard"),t.transformStart(i,0),t.markEndSource(),e.getSelectedRangeActive().highlight.row<0&&e.scrollViewportTo({row:0})}}},97369(e,t,o){"use strict";t.__esModule=!0,t.getAllCommands=function(){return[r.command,n.command,i.command,s.command,a.command,l.command,h.command,d.command,c.command,u.command,g.command,p.command,f.command,m.command,C.command,w.command]};var r=o(49701),n=o(9929),i=o(11515),s=o(62598),a=o(31204),l=o(19551),h=o(12092),d=o(77032),c=o(66185),u=o(73048),g=o(2270),p=o(62697),f=o(50884),m=o(7105),C=o(72636),w=o(73868)},11515(e,t){"use strict";t.__esModule=!0;t.command={name:"moveCellSelectionInlineEnd",callback(e,t){const{selection:o}=e,r=e.getSettings(),n=e.getSelectedRange(),i=e.getSelectedRangeActive(),s="function"==typeof r.tabMoves?r.tabMoves(t):r.tabMoves;o.markSource("keyboard"),(n.some(e=>o.isMultiple(e))||n.length>1)&&!i.isHeader()&&e.countRenderedCols()>0&&e.countRenderedRows()>0?o.transformFocus(-s.row,-s.col):o.transformStart(-s.row,-s.col),o.markEndSource()}}},62598(e,t){"use strict";t.__esModule=!0;t.command={name:"moveCellSelectionInlineStart",callback(e,t){const{selection:o}=e,r=e.getSettings(),n=e.getSelectedRange(),i=e.getSelectedRangeActive(),s="function"==typeof r.tabMoves?r.tabMoves(t):r.tabMoves;o.markSource("keyboard"),(n.some(e=>o.isMultiple(e))||n.length>1)&&!i.isHeader()&&e.countRenderedCols()>0&&e.countRenderedRows()>0?o.transformFocus(s.row,s.col):o.transformStart(s.row,s.col),o.markEndSource()}}},31204(e,t){"use strict";t.__esModule=!0;t.command={name:"moveCellSelectionLeft",callback(e){const{selection:t}=e;t.markSource("keyboard"),t.transformStart(0,-1*e.getDirectionFactor()),t.markEndSource()}}},19551(e,t){"use strict";t.__esModule=!0;t.command={name:"moveCellSelectionRight",callback(e){const{selection:t}=e;t.markSource("keyboard"),t.transformStart(0,e.getDirectionFactor()),t.markEndSource()}}},12092(e,t){"use strict";t.__esModule=!0;t.command={name:"moveCellSelectionToMostBottom",callback(e){const{selection:t}=e,{col:o}=e.getSelectedRangeActive().highlight;let r=e.rowIndexMapper.getNearestNotHiddenIndex(e.countRows()-1,-1);null===r&&(r=-1),t.setRangeStart(e._createCellCoords(r,o))}}},77032(e,t){"use strict";t.__esModule=!0;t.command={name:"moveCellSelectionToMostBottomInlineEnd",callback(e){const{selection:t,rowIndexMapper:o,columnIndexMapper:r}=e,n=parseInt(e.getSettings().fixedRowsBottom,10),i=o.getNearestNotHiddenIndex(e.countRows()-n-1,-1),s=r.getNearestNotHiddenIndex(e.countCols()-1,-1);t.markSource("keyboard"),t.setRangeStart(e._createCellCoords(i,s)),t.markEndSource()}}},66185(e,t){"use strict";t.__esModule=!0;t.command={name:"moveCellSelectionToMostInlineEnd",callback(e){const{selection:t,columnIndexMapper:o}=e;t.markSource("keyboard"),t.setRangeStart(e._createCellCoords(e.getSelectedRangeActive().highlight.row,o.getNearestNotHiddenIndex(e.countCols()-1,-1))),t.markEndSource()}}},73048(e,t){"use strict";t.__esModule=!0;t.command={name:"moveCellSelectionToMostInlineStart",callback(e){const{selection:t,columnIndexMapper:o}=e,r=parseInt(e.getSettings().fixedColumnsStart,10),n=e.getSelectedRangeActive().highlight.row,i=o.getNearestNotHiddenIndex(r,1);t.markSource("keyboard"),t.setRangeStart(e._createCellCoords(n,i)),t.markEndSource()}}},2270(e,t){"use strict";t.__esModule=!0;t.command={name:"moveCellSelectionToMostLeft",callback(e){const{selection:t,columnIndexMapper:o}=e,r=e.getSelectedRangeActive().highlight.row;let n=o.getNearestNotHiddenIndex(...e.isRtl()?[e.countCols()-1,-1]:[0,1]);null===n&&(n=e.isRtl()?-1:-e.countRowHeaders()),t.markSource("keyboard"),t.setRangeStart(e._createCellCoords(r,n)),t.markEndSource()}}},62697(e,t){"use strict";t.__esModule=!0;t.command={name:"moveCellSelectionToMostRight",callback(e){const{selection:t,columnIndexMapper:o}=e,{row:r}=e.getSelectedRangeActive().highlight;let n=o.getNearestNotHiddenIndex(...e.isRtl()?[0,1]:[e.countCols()-1,-1]);null===n&&(n=e.isRtl()?-e.countRowHeaders():-1),t.markSource("keyboard"),t.setRangeStart(e._createCellCoords(r,n)),t.markEndSource()}}},50884(e,t){"use strict";t.__esModule=!0;t.command={name:"moveCellSelectionToMostTop",callback(e){const{selection:t}=e,{col:o}=e.getSelectedRangeActive().highlight;let r=e.rowIndexMapper.getNearestNotHiddenIndex(0,1);null===r&&(r=-e.countColHeaders()),t.markSource("keyboard"),t.setRangeStart(e._createCellCoords(r,o)),t.markEndSource()}}},7105(e,t){"use strict";t.__esModule=!0;t.command={name:"moveCellSelectionToMostTopInlineStart",callback(e){const{selection:t,rowIndexMapper:o,columnIndexMapper:r}=e,n=parseInt(e.getSettings().fixedRowsTop,10),i=parseInt(e.getSettings().fixedColumnsStart,10),s=o.getNearestNotHiddenIndex(n,1),a=r.getNearestNotHiddenIndex(i,1);t.markSource("keyboard"),t.setRangeStart(e._createCellCoords(s,a)),t.markEndSource()}}},72636(e,t){"use strict";t.__esModule=!0;t.command={name:"moveCellSelectionUp",callback(e){let{selection:t}=e;t.markSource("keyboard"),t.transformStart(-1,0),t.markEndSource()}}},73868(e,t){"use strict";t.__esModule=!0;t.command={name:"moveCellSelectionUpByViewportHight",callback(e){const{selection:t}=e,{navigableHeaders:o}=e.getSettings(),r=o?e.countColHeaders():0,{row:n}=e.getSelectedRangeActive().highlight;let i=e.countVisibleRows()+r;i=0===i?-1:-i,n===-r?i=-1:n+i<r&&(i=-(n+r)),t.markSource("keyboard"),t.transformStart(i,0),t.markEndSource(),e.getSelectedRangeActive().highlight.row<0&&e.scrollViewportTo({row:0})}}},20815(e,t){"use strict";t.__esModule=!0;t.command={name:"populateSelectedCellsData",callback(e){const t=e.getSelectedRange(),{row:o,col:r}=t[t.length-1].highlight.normalize(),n=e.getDataAtCell(o,r),i=new Map;for(let s=0;s<t.length;s++)t[s].forAll((t,s)=>{if(t>=0&&s>=0&&(t!==o||s!==r)){const{readOnly:o}=e.getCellMeta(t,s);o||i.set(`${t}x${s}`,[t,s,n])}});e.setDataAtCell(Array.from(i.values()))}}},26550(e,t){"use strict";t.__esModule=!0;t.command={name:"scrollToFocusedCell",callback(e){const{highlight:t}=e.getSelectedRangeActive(),o=e.getFirstFullyVisibleRow()-1,r=e.getFirstFullyVisibleColumn()-1,n=e.getLastFullyVisibleRow()+1,i=e.getLastFullyVisibleColumn()+1,s=e._createCellCoords(o,r),a=e._createCellCoords(n,i);if(!e._createCellRange(s,s,a).includes(t)&&(t.row>=0||t.col>=0)){const o={};if(t.col>=0){const r=Math.floor(e.countVisibleCols()/2);o.col=Math.max(t.col-r,0)}if(t.row>=0){const r=Math.floor(e.countVisibleRows()/2);o.row=Math.max(t.row-r,0)}e.scrollViewportTo({...o,verticalSnap:"top",horizontalSnap:"start"})}}}},42175(e,t){"use strict";t.__esModule=!0;t.command={name:"selectAllCells",callback(e){let{selection:t}=e;t.markSource("keyboard"),t.selectAll(!0,!0,{disableHeadersHighlight:!0}),t.markEndSource()}}},61878(e,t){"use strict";t.__esModule=!0;t.command={name:"selectAllCellsAndHeaders",callback(e){let{selection:t}=e;t.markSource("keyboard"),t.selectAll(!0,!0,{disableHeadersHighlight:!1}),t.markEndSource()}}},37878(e,t){"use strict";t.__esModule=!0;t.command={name:"tabNavigation",callback(e){const t={wrapped:!1,flipped:!1};let o=!1,r=!1;return e.addHook("afterSelection",(e,n,i,s,a)=>{o&&(t.wrapped&&t.flipped||r)&&(r=!1,a.value=!0)}),e.addHook("beforeRowWrap",(e,o,r)=>{t.wrapped=!0,t.flipped=r}),{before(){const{tabNavigation:t}=e.getSettings();o=!0,t||(r=!0)},after(r){const{tabNavigation:n,autoWrapRow:i}=e.getSettings();if(o=!1,!n||!e.selection.isSelected()||i&&t.wrapped&&t.flipped||!i&&t.wrapped)return t.wrapped=!1,t.flipped=!1,e.deselectCell(),!1;r.preventDefault()}}}}},23501(e,t){"use strict";t.__esModule=!0;t.GRID_GROUP="gridDefault",t.GRID_SCOPE="grid",t.GRID_TAB_NAVIGATION_GROUP="grid.tabNavigation",t.EDITOR_EDIT_GROUP="editorManager.handlingEditor",t.EDITOR_SCOPE="editor"},39071(e,t,o){"use strict";t.__esModule=!0,t.shortcutsEditorContext=function(e){const t=e.getShortcutManager().addContext(r.EDITOR_SCOPE),o=(0,n.createKeyboardShortcutCommandsPool)(e),i={group:r.EDITOR_EDIT_GROUP};t.addShortcuts([{keys:[["Enter"],["Enter","Shift"]],callback:(e,t)=>o.editorCloseAndSaveByEnter(e,t)},{keys:[["Enter","Control/Meta"],["Enter","Control/Meta","Shift"]],captureCtrl:!0,callback:(e,t)=>o.editorCloseAndSaveByEnter(e,t)},{keys:[["Tab"],["Tab","Shift"],["PageDown"],["PageUp"]],forwardToContext:e.getShortcutManager().getContext(r.GRID_SCOPE),callback:(e,t)=>o.editorCloseAndSave(e,t)},{keys:[["ArrowDown"],["ArrowUp"],["ArrowLeft"],["ArrowRight"]],preventDefault:!1,callback:(e,t)=>o.editorCloseAndSaveByArrowKeys(e,t)},{keys:[["Escape"],["Escape","Control/Meta"]],callback:()=>o.editorCloseWithoutSaving()}],i)};var r=o(23501),n=o(18143)},34610(e,t,o){"use strict";t.__esModule=!0,t.shortcutsGridContext=function(e){const t=e.getShortcutManager().addContext(n.GRID_SCOPE),o=(0,i.createKeyboardShortcutCommandsPool)(e),s={runOnlyIf:()=>{const{navigableHeaders:t}=e.getSettings();return(0,r.isDefined)(e.getSelected())&&(t||!t&&e.countRenderedRows()>0&&e.countRenderedCols()>0)},group:n.GRID_GROUP};t.addShortcuts([{keys:[["F2"]],callback:e=>o.editorFastOpen(e)},{keys:[["Enter"],["Enter","Shift"]],callback:(e,t)=>o.editorOpen(e,t)},{keys:[["Backspace"],["Delete"]],callback:()=>o.emptySelectedCells()}],{group:n.EDITOR_EDIT_GROUP,runOnlyIf:()=>(0,r.isDefined)(e.getSelected())}),t.addShortcuts([{keys:[["Control/Meta","A"]],callback:()=>o.selectAllCells(),runOnlyIf:()=>{var t;return(0,r.isDefined)(e.getSelected())&&!(null!==(t=e.getSelectedRangeActive())&&void 0!==t&&t.highlight.isHeader())}},{keys:[["Control/Meta","A"]],callback:()=>{},runOnlyIf:()=>{var t;return(0,r.isDefined)(e.getSelected())&&(null===(t=e.getSelectedRangeActive())||void 0===t?void 0:t.highlight.isHeader())},preventDefault:!0},{keys:[["Control/Meta","Shift","Space"]],callback:()=>o.selectAllCellsAndHeaders()},{keys:[["Control/Meta","Enter"]],callback:()=>o.populateSelectedCellsData(),runOnlyIf:()=>(0,r.isDefined)(e.getSelected())&&!e.getSelectedRangeActive().highlight.isHeader()&&e.getSelectedRangeActive().getCellsCount()>1},{keys:[["Control","Space"]],captureCtrl:!0,callback:()=>o.extendCellsSelectionToColumns()},{keys:[["Shift","Space"]],stopPropagation:!0,callback:()=>o.extendCellsSelectionToRows()},{keys:[["ArrowUp"]],callback:()=>o.moveCellSelectionUp()},{keys:[["ArrowUp","Control/Meta"]],captureCtrl:!0,callback:()=>o.moveCellSelectionToMostTop()},{keys:[["ArrowUp","Shift"]],callback:()=>o.extendCellsSelectionUp()},{keys:[["ArrowUp","Shift","Control/Meta"]],captureCtrl:!0,callback:()=>o.extendCellsSelectionToMostTop(),runOnlyIf:()=>(0,r.isDefined)(e.getSelected())&&!(e.selection.isSelectedByCorner()||e.selection.isSelectedByColumnHeader())},{keys:[["ArrowDown"]],callback:()=>o.moveCellSelectionDown()},{keys:[["ArrowDown","Control/Meta"]],captureCtrl:!0,callback:()=>o.moveCellSelectionToMostBottom()},{keys:[["ArrowDown","Shift"]],callback:()=>o.extendCellsSelectionDown()},{keys:[["ArrowDown","Shift","Control/Meta"]],captureCtrl:!0,callback:()=>o.extendCellsSelectionToMostBottom(),runOnlyIf:()=>(0,r.isDefined)(e.getSelected())&&!(e.selection.isSelectedByCorner()||e.selection.isSelectedByColumnHeader())},{keys:[["ArrowLeft"]],callback:()=>o.moveCellSelectionLeft()},{keys:[["ArrowLeft","Control/Meta"]],captureCtrl:!0,callback:()=>o.moveCellSelectionToMostLeft()},{keys:[["ArrowLeft","Shift"]],callback:()=>o.extendCellsSelectionLeft()},{keys:[["ArrowLeft","Shift","Control/Meta"]],captureCtrl:!0,callback:()=>o.extendCellsSelectionToMostLeft(),runOnlyIf:()=>(0,r.isDefined)(e.getSelected())&&!(e.selection.isSelectedByCorner()||e.selection.isSelectedByRowHeader())},{keys:[["ArrowRight"]],callback:()=>o.moveCellSelectionRight()},{keys:[["ArrowRight","Control/Meta"]],captureCtrl:!0,callback:()=>o.moveCellSelectionToMostRight()},{keys:[["ArrowRight","Shift"]],callback:()=>o.extendCellsSelectionRight()},{keys:[["ArrowRight","Shift","Control/Meta"]],captureCtrl:!0,callback:()=>o.extendCellsSelectionToMostRight(),runOnlyIf:()=>(0,r.isDefined)(e.getSelected())&&!(e.selection.isSelectedByCorner()||e.selection.isSelectedByRowHeader())},{keys:[["Home"]],captureCtrl:!0,callback:()=>o.moveCellSelectionToMostInlineStart(),runOnlyIf:()=>(0,r.isDefined)(e.getSelected())&&e.view.isMainTableNotFullyCoveredByOverlays()},{keys:[["Home","Shift"]],callback:()=>o.extendCellsSelectionToMostInlineStart()},{keys:[["Home","Control/Meta"]],captureCtrl:!0,callback:()=>o.moveCellSelectionToMostTopInlineStart(),runOnlyIf:()=>(0,r.isDefined)(e.getSelected())&&e.view.isMainTableNotFullyCoveredByOverlays()},{keys:[["End"]],captureCtrl:!0,callback:()=>o.moveCellSelectionToMostInlineEnd(),runOnlyIf:()=>(0,r.isDefined)(e.getSelected())&&e.view.isMainTableNotFullyCoveredByOverlays()},{keys:[["End","Shift"]],callback:()=>o.extendCellsSelectionToMostInlineEnd()},{keys:[["End","Control/Meta"]],captureCtrl:!0,callback:()=>o.moveCellSelectionToMostBottomInlineEnd(),runOnlyIf:()=>(0,r.isDefined)(e.getSelected())&&e.view.isMainTableNotFullyCoveredByOverlays()},{keys:[["PageUp"]],callback:()=>o.moveCellSelectionUpByViewportHight()},{keys:[["PageUp","Shift"]],callback:()=>o.extendCellsSelectionUpByViewportHeight()},{keys:[["PageDown"]],callback:()=>o.moveCellSelectionDownByViewportHeight()},{keys:[["PageDown","Shift"]],callback:()=>o.extendCellsSelectionDownByViewportHeight()},{keys:[["Tab"]],preventDefault:!1,callback:e=>o.moveCellSelectionInlineStart(e)},{keys:[["Shift","Tab"]],preventDefault:!1,callback:e=>o.moveCellSelectionInlineEnd(e)},{keys:[["Control/Meta","Backspace"]],callback:()=>o.scrollToFocusedCell()}],s);const a=o.tabNavigation();t.addShortcuts([{keys:[["Tab"],["Shift","Tab"]],preventDefault:!1,stopPropagation:!1,relativeToGroup:n.GRID_GROUP,group:n.GRID_TAB_NAVIGATION_GROUP,position:"before",callback:e=>a.before(e)},{keys:[["Tab"],["Shift","Tab"]],preventDefault:!1,stopPropagation:!1,relativeToGroup:n.GRID_GROUP,group:n.GRID_TAB_NAVIGATION_GROUP,callback:e=>a.after(e),position:"after"}])};var r=o(79416),n=o(23501),i=o(18143)},17304(e,t,o){"use strict";t.__esModule=!0;var r={registerAllShortcutContexts:!0};t.registerAllShortcutContexts=function(e){[i.shortcutsGridContext,n.shortcutsEditorContext].forEach(t=>t(e))};var n=o(39071),i=o(34610),s=o(23501);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===s[e]||(t[e]=s[e]))})},3950(e,t,o){"use strict";t.__esModule=!0,t.isContextObject=c;var r=o(265),n=o(76412),i=o(79416),s=o(3179),a=o(38888),l=o(26192),h=o(26032);const d=Symbol("shortcut-context");function c(e){return(0,a.isObject)(e)&&e.__kindOf===d}t.createContext=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"table";const o=(0,r.createUniqueMap)({errorIdExists:t=>`The "${t}" shortcut is already registered in the "${e}" context.`}),u=function(){let{keys:e,callback:t,group:r,runOnlyIf:a=()=>!0,captureCtrl:d=!1,preventDefault:u=!0,stopPropagation:g=!1,relativeToGroup:p,position:f,forwardToContext:m}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,i.isUndefined)(r)&&(0,h.throwWithCause)("You need to define the shortcut's group."),!1===(0,s.isFunction)(t)&&(0,h.throwWithCause)("The shortcut's callback needs to be a function."),!1===Array.isArray(e)&&(0,h.throwWithCause)(l.toSingleLine`Pass the shortcut\'s keys as an array of arrays,\x20
95
95
  using the KeyboardEvent.key properties:\x20
96
96
  https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values.`);const C={callback:t,group:r,runOnlyIf:a,captureCtrl:d,preventDefault:u,stopPropagation:g};(0,i.isDefined)(p)&&(C.relativeToGroup=p,C.position=f),c(m)&&(C.forwardToContext=m),e.forEach(e=>{const t=(0,n.normalizeKeys)(e);if(o.hasItem(t)){const e=o.getItem(t);let r=e.findIndex(e=>e.group===p);-1!==r?"before"===f?r-=1:r+=1:r=e.length,e.splice(r,0,C)}else o.addItem(t,[C])})},g=e=>{const t=(0,n.normalizeKeys)(e);o.removeItem(t)};return{__kindOf:d,scope:t,addShortcut:u,addShortcuts:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach(e=>{(0,a.objectEach)(t,(o,r)=>{!1===Object.prototype.hasOwnProperty.call(e,r)&&(e[r]=t[r])}),u(e)})},getShortcuts:e=>{const t=(0,n.normalizeKeys)(e),r=o.getItem(t);return(0,i.isDefined)(r)?r.slice():[]},hasShortcut:e=>{const t=(0,n.normalizeKeys)(e);return o.hasItem(t)},removeShortcutsByKeys:g,removeShortcutsByGroup:e=>{o.getItems().forEach(t=>{let[o,r]=t;const i=r.filter(t=>t.group!==e);0===i.length?g((0,n.getKeysList)(o)):(r.length=0,r.push(...i))})}}}},7249(e,t,o){"use strict";t.__esModule=!0;var r=o(45882);t.createShortcutManager=r.createShortcutManager},18784(e,t){"use strict";t.__esModule=!0,t.createKeysObserver=function(){const e=new Set;return{press(t){e.add(t)},release(t){e.delete(t)},releaseAll(){e.clear()},isPressed:t=>e.has(t)}}},45882(e,t,o){"use strict";t.__esModule=!0;var r=o(265),n=o(26032),i=o(31100),s=o(3950),a=o(88707),l=o(26192);t.createShortcutManager=e=>{let{ownerWindow:t,handleEvent:o,beforeKeyDown:h,afterKeyDown:d}=e;const c=(0,r.createUniqueMap)({errorIdExists:e=>`The "${e}" context name is already registered.`});let u="grid";const g=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"table";const o=(0,s.createContext)(e,t);return c.addItem(e,o),o},p=()=>u,f=e=>c.getItem(e);let m=!1;const C=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p();const r=(0,s.isContextObject)(o)?o:f(o);let n=!1;if(!r.hasShortcut(t))return n;const a=r.getShortcuts(t);for(let o=0;o<a.length;o++){const{callback:r,runOnlyIf:s,preventDefault:l,stopPropagation:h,captureCtrl:d,forwardToContext:c}=a[o];if(!0===s(e)){if(m=d,n=!1===r(e,t),m=!1,l&&e.preventDefault(),h&&((0,i.stopImmediatePropagation)(e),e.stopPropagation()),n)break;c&&C(e,t,c)}}return n},w=(0,a.useRecorder)(t,e=>{const t=p(),r=(0,s.isContextObject)(t)?t:f(t);return o(e,r.scope)},h,d,C);return w.mount(),{addContext:g,getActiveContextName:p,getContext:f,getOrCreateContext:function(e){var t;let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"table";return null!==(t=f(e))&&void 0!==t?t:g(e,o)},setActiveContextName:e=>{c.hasItem(e)||(0,n.throwWithCause)(l.toSingleLine`You've tried to activate the "${e}" shortcut context\x20
97
- that does not exist. Before activation, register the context using the "addContext" method.`),u=e},isCtrlPressed:()=>!m&&(w.isPressed("control")||w.isPressed("meta")),releasePressedKeys:()=>w.releasePressedKeys(),destroy:()=>w.unmount()}}},88707(e,t,o){"use strict";t.__esModule=!0,t.useRecorder=function(e,t,o,r,u){const g=e=>l.includes(e),p=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const o=[];return e.altKey&&o.push("alt"),t&&(e.ctrlKey||e.metaKey)?o.push("control/meta"):(e.ctrlKey&&o.push("control"),e.metaKey&&o.push("meta")),e.shiftKey&&o.push("shift"),o},f=e=>{if(!1===t(e))return;if(!1===o(e)||229===e.keyCode||"string"!=typeof e.key||(0,i.isImmediatePropagationStopped)(e))return;const s=(0,n.normalizeEventKey)(e);let l=[];g(s)||(l=p(e));const h=[s].concat(l);!u(e,h)&&((0,a.isMacOS)()&&l.includes("meta")||!(0,a.isMacOS)()&&l.includes("control"))&&u(e,[s].concat(p(e,!0))),r(e)},m=e=>{if("string"==typeof e.key){const t=(0,n.normalizeEventKey)(e);g(t)&&h.press(t)}},C=e=>{if("string"==typeof e.key){const t=(0,n.normalizeEventKey)(e);g(t)&&h.release(t)}},w=()=>{h.releaseAll()};return{mount:()=>{let t=e;for(c+=1;t;)1===c&&(t.document.documentElement.addEventListener("keydown",m),d.push({event:"keydown",listener:m}),t.document.documentElement.addEventListener("keyup",C),d.push({event:"keyup",listener:C})),t.document.documentElement.addEventListener("keydown",f),t.document.documentElement.addEventListener("blur",w),t=(0,s.getParentWindow)(t)},unmount:()=>{let t=e;for(c-=1;t;){if(0===c){for(let e=0;e<d.length;e++){const{event:o,listener:r}=d[e];t.document.documentElement.removeEventListener(o,r)}d.length=0}t.document.documentElement.removeEventListener("keydown",f),t.document.documentElement.removeEventListener("blur",w),t=(0,s.getParentWindow)(t)}},isPressed:e=>h.isPressed(e),releasePressedKeys:()=>h.releaseAll()}};var r=o(18784),n=o(76412),i=o(31100),s=o(23876),a=o(46027);const l=["meta","alt","shift","control"],h=(0,r.createKeysObserver)(),d=[];let c=0},76412(e,t){"use strict";t.__esModule=!0;const o=new Map([[" ","space"],["spacebar","space"],["scroll","scrolllock"],["del","delete"],["esc","escape"],["medianexttrack","mediatracknext"],["mediaprevioustrack","mediatrackprevious"],["volumeup","audiovolumeup"],["volumedown","audiovolumedown"],["volumemute","audiovolumemute"],["multiply","*"],["add","+"],["divide","/"],["subtract","-"],["left","arrowleft"],["right","arrowright"],["up","arrowup"],["down","arrowdown"]]);t.normalizeKeys=e=>e.map(e=>{const t=e.toLowerCase();return o.has(t)?o.get(t):t}).sort().join("+");t.getKeysList=e=>e.split("+");const r=new Map([[96,"numpad0"],[97,"numpad1"],[98,"numpad2"],[99,"numpad3"],[100,"numpad4"],[101,"numpad5"],[102,"numpad6"],[103,"numpad7"],[104,"numpad8"],[105,"numpad9"],[106,"multiply"],[107,"add"],[108,"decimal"],[109,"subtract"],[110,"decimal"],[111,"divide"],[112,"f1"],[113,"f2"],[114,"f3"],[115,"f4"],[116,"f5"],[117,"f6"],[118,"f7"],[119,"f8"],[120,"f9"],[121,"f10"],[122,"f11"],[123,"f12"],[186,"semicolon"],[187,"equal"],[188,"comma"],[189,"minus"],[190,"period"],[191,"slash"],[192,"backquote"],[219,"bracketleft"],[220,"backslash"],[221,"bracketright"],[222,"quote"]]);t.normalizeEventKey=e=>{let{which:t,key:o}=e;if(r.has(t))return r.get(t);const n=String.fromCharCode(t).toLowerCase();return/^[a-z0-9]$/.test(n)?n:o.toLowerCase()}},9021(e,t){"use strict";t.__esModule=!0;t.default='/*!\n * Copyright (c) HANDSONCODE sp. z o. o.\n *\n * HANDSONTABLE is a software distributed by HANDSONCODE sp. z o. o., a Polish corporation based in\n * Gdynia, Poland, at Aleja Zwyciestwa 96-98, registered by the District Court in Gdansk under number\n * 538651, EU tax ID number: PL5862294002, share capital: PLN 62,800.00.\n *\n * This software is protected by applicable copyright laws, including international treaties, and dual-\n * licensed - depending on whether your use for commercial purposes, meaning intended for or\n * resulting in commercial advantage or monetary compensation, or not.\n *\n * If your use is strictly personal or solely for evaluation purposes, meaning for the purposes of testing\n * the suitability, performance, and usefulness of this software outside the production environment,\n * you agree to be bound by the terms included in the "handsontable-non-commercial-license.pdf" file.\n *\n * Your use of this software for commercial purposes is subject to the terms included in an applicable\n * license agreement.\n *\n * In any case, you must not make any such use of this software as to develop software which may be\n * considered competitive with this software.\n *\n * UNLESS EXPRESSLY AGREED OTHERWISE, HANDSONCODE PROVIDES THIS SOFTWARE ON AN "AS IS"\n * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, AND IN NO EVENT AND UNDER NO\n * LEGAL THEORY, SHALL HANDSONCODE BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY DIRECT,\n * INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM\n * USE OR INABILITY TO USE THIS SOFTWARE.\n *\n * Version: 17.0.0-rc13\n * Release date: 04/03/2026 (built at 04/03/2026 12:06:17)\n */.ht-root-wrapper{display:flex;flex-direction:column;font-family:var(--ht-font-family),-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;height:100%;position:relative}.htFocusCatcher{border:0;display:block!important;height:0;margin:0;opacity:0;padding:0;position:absolute;width:0;z-index:-1}.ht-grid{flex:1 1 auto;min-height:0}.handsontable{color:var(--ht-foreground-color);font-family:var(--ht-font-family),-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:var(--ht-font-size);font-weight:var(--ht-font-weight);letter-spacing:var(--ht-letter-spacing);line-height:var(--ht-line-height);position:relative;scrollbar-color:var(--ht-scrollbar-thumb-color) var(--ht-scrollbar-track-color);scrollbar-width:thin;touch-action:manipulation}.handsontable .wtHolder::-webkit-scrollbar{height:9px;width:9px}.handsontable .wtHolder::-webkit-scrollbar-track{background:var(--ht-scrollbar-track-color);border-radius:var(--ht-scrollbar-border-radius)}.handsontable .wtHolder::-webkit-scrollbar-thumb{background-color:var(--ht-scrollbar-thumb-color);border-radius:var(--ht-scrollbar-border-radius)}.handsontable .wtHolder::-webkit-scrollbar-corner{background:var(--ht-scrollbar-track-color);border-end-end-radius:var(--ht-scrollbar-border-radius)}.handsontable.ht-wrapper{border-radius:var(--ht-wrapper-border-radius,0);height:100%;width:100%}.handsontable.ht-wrapper:not(.htFirstDatasetColumnNotRendered) td:first-of-type{border-inline-start-width:1px}.handsontable.ht-wrapper:before{border:var(--ht-wrapper-border-width) solid var(--ht-wrapper-border-color);border-radius:var(--ht-wrapper-border-radius,0);content:"";display:block;inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:999}.handsontable.htGhostTable table thead th{border-bottom-width:0}.handsontable.htGhostTable table tbody tr:first-of-type td:first-child,.handsontable.htGhostTable table tbody tr:first-of-type th:first-child{height:calc(var(--ht-cell-vertical-padding)*2 + var(--ht-line-height) + 1px)}.handsontable.htGhostTable table tbody tr td,.handsontable.htGhostTable table tbody tr th{border-top-width:0;height:calc(var(--ht-cell-vertical-padding)*2 + var(--ht-line-height) + 1px)}.handsontable.htHasScrollX:not(.htHorizontallyScrollableByWindow) .ht_master .wtHolder,.handsontable.htHasScrollY:not(.htVerticallyScrollableByWindow) .ht_master .wtHolder{border-radius:var(--ht-wrapper-border-radius,0)}.handsontable:not(.htHorizontallyScrollableByWindow) .ht_master .wtHolder,.handsontable:not(.htVerticallyScrollableByWindow) .ht_master .wtHolder{background-color:var(--ht-background-color)}.handsontable tr.ht__row_even th{background-color:var(--ht-row-header-even-background-color)}.handsontable tr.ht__row_even td{background-color:var(--ht-row-cell-even-background-color)}.handsontable tr.ht__row_odd th{background-color:var(--ht-row-header-odd-background-color)}.handsontable tr.ht__row_odd td{background-color:var(--ht-row-cell-odd-background-color)}.handsontable td,.handsontable th{border-bottom:1px solid var(--ht-cell-vertical-border-color);border-inline-end-color:var(--ht-cell-horizontal-border-color);border-inline-end-width:1px;border-inline-start-color:var(--ht-cell-horizontal-border-color);border-inline-start-width:0;border-left-style:solid;border-right-style:solid;border-top:0 solid var(--ht-cell-vertical-border-color);box-sizing:border-box;color:var(--ht-foreground-color);empty-cells:show;font-size:var(--ht-font-size);height:calc(var(--ht-cell-vertical-padding)*2 + var(--ht-line-height) + 1px);line-height:var(--ht-line-height);outline:none;outline-width:0;overflow:hidden;padding:var(--ht-cell-vertical-padding) var(--ht-cell-horizontal-padding);vertical-align:top;white-space:pre-wrap}.handsontable td.invisibleSelection,.handsontable th.invisibleSelection{outline:none}.handsontable td.invisibleSelection::selection,.handsontable th.invisibleSelection::selection{background:transparent}.handsontable th{background-color:var(--ht-header-background-color);color:var(--ht-header-foreground-color);font-weight:var(--ht-header-font-weight);overflow:visible;position:relative;text-align:center;white-space:nowrap}.handsontable th:last-child{border-bottom-width:1px;border-inline-end-color:var(--ht-border-color);border-inline-end-width:1px;border-inline-start-width:0}.handsontable th:last-child.ht__active_highlight{border-inline-end-color:var(--ht-header-active-border-color)}.handsontable th:first-child{border-inline-start-color:var(--ht-border-color)}.handsontable th:first-child.ht__active_highlight{border-inline-start-color:var(--ht-header-active-border-color)}.handsontable th:first-child,.handsontable th:nth-child(2){border-inline-start-width:1px}.handsontable th.current{box-shadow:inset 0 0 0 1px var(--ht-cell-selection-border-color)}.handsontable th.active{background-color:var(--ht-header-active-background-color);color:var(--ht-header-active-foreground-color)}.handsontable th.ht__highlight{background-color:var(--ht-header-highlighted-background-color);color:var(--ht-header-highlighted-foreground-color)}.handsontable th.ht__active_highlight{background-color:var(--ht-header-active-background-color);border-color:var(--ht-header-active-border-color);color:var(--ht-header-active-foreground-color)}.handsontable tbody tr.ht__row_even th.ht__highlight,.handsontable tbody tr.ht__row_odd th.ht__highlight{background-color:var(--ht-header-row-highlighted-background-color);color:var(--ht-header-row-highlighted-foreground-color)}.handsontable tbody tr.ht__row_even th.ht__active_highlight,.handsontable tbody tr.ht__row_odd th.ht__active_highlight{background-color:var(--ht-header-row-active-background-color);color:var(--ht-header-row-active-foreground-color)}.handsontable tbody tr:first-of-type td:first-child:empty:after,.handsontable tbody tr:first-of-type th:first-child:empty:after{content:"";display:block;min-height:var(--ht-line-height)}.handsontable tbody tr th{background-color:var(--ht-header-row-background-color);color:var(--ht-header-row-foreground-color);padding:0}.handsontable tbody tr th.ht__active_highlight{box-shadow:0 -1px 0 0 var(--ht-header-active-border-color)}.handsontable tbody tr th .relative{min-height:100%;padding:var(--ht-cell-vertical-padding) var(--ht-cell-horizontal-padding)}.handsontable tbody tr td:first-child{border-inline-start-color:var(--ht-border-color)}.handsontable tbody tr td:last-child{border-inline-end-color:var(--ht-border-color)}.handsontable thead tr th{padding:0}.handsontable thead tr th.ht__active_highlight{box-shadow:-1px 0 0 0 var(--ht-header-active-border-color)}.handsontable thead tr th .relative{padding:var(--ht-cell-vertical-padding) var(--ht-cell-horizontal-padding)}.handsontable thead tr th .relative .colHeader{max-width:calc(100% + 1px);overflow:hidden;text-overflow:ellipsis;vertical-align:top}.handsontable thead tr th .relative:has(.collapsibleIndicator,.changeType) .colHeader{max-width:calc(100% - var(--ht-icon-size) - var(--ht-gap-size) - 1px)}.handsontable tr:first-child td,.handsontable tr:first-child th{border-top-color:var(--ht-border-color);border-top-width:1px}.handsontable tr:first-child td.ht__active_highlight,.handsontable tr:first-child th.ht__active_highlight{border-top-color:var(--ht-header-active-border-color)}.handsontable tr:last-child td,.handsontable tr:last-child th{border-bottom-color:var(--ht-border-color)}.handsontable tr:last-child td.ht__active_highlight,.handsontable tr:last-child th.ht__active_highlight{border-bottom-color:var(--ht-header-active-border-color)}.handsontable div[class^=ht_clone] thead .ht__highlight .relative:after{background-color:var(--ht-accent-color);bottom:-1px;content:"";display:block;height:var(--ht-header-highlighted-shadow-size);left:-1px;position:absolute;right:-1px}.handsontable div[class^=ht_clone] thead tr:only-of-type .ht__highlight .relative:after{bottom:0}.handsontable div[class^=ht_clone] tbody .ht__highlight .relative:after{background-color:var(--ht-accent-color);bottom:-1px;content:"";display:block;position:absolute;right:-1px;top:-1px;width:var(--ht-header-highlighted-shadow-size)}.handsontable div[class^=ht_clone] td:first-of-type{border-inline-start-width:1px}.handsontable thead tr:not(:last-child) th{overflow:hidden}.handsontable .hide{display:none}.handsontable .relative{box-sizing:border-box;position:relative}.handsontable .wtHider{width:0}.handsontable .wtSpreader{height:auto;position:relative;width:0}.handsontable .htAutoSize{left:-99000px;position:absolute;top:-99000px;visibility:hidden}.handsontable .htTextEllipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.handsontable div,.handsontable input,.handsontable table,.handsontable tbody,.handsontable textarea,.handsontable thead{box-sizing:content-box}.handsontable input,.handsontable textarea{min-height:auto}.handsontable .htCore{background-color:var(--ht-background-color);border-collapse:separate;border-spacing:0;border-width:0;cursor:default;margin:0;outline-width:0;table-layout:fixed;width:0}.handsontable col,.handsontable col.rowHeader{width:64px}.handsontable col.hidden{width:0!important}.handsontable span.colHeader,.handsontable span.rowHeader{display:inline-block;font-size:var(--ht-font-size);line-height:var(--ht-line-height)}.handsontable tr.hidden,.handsontable tr.hidden td,.handsontable tr.hidden th{display:none}.handsontable a{color:var(--ht-link-color)}.handsontable a:hover{color:var(--ht-link-hover-color)}.handsontable .ht_clone_top th:nth-child(2){border-inline-end-width:1px;border-inline-start-width:0}.handsontable.htRowHeaders thead tr th:nth-child(2){border-inline-start-width:1px}.handsontable .ht_master:not(.innerBorderInlineStart):not(.emptyColumns) tbody tr th,.handsontable .ht_master:not(.innerBorderInlineStart):not(.emptyColumns) thead tr th:first-child,.handsontable .ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable:not(.htGhostTable) tbody tr th,.handsontable .ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable:not(.ht_clone_top):not(.htGhostTable) thead tr th:first-child{border-inline-end-width:0;border-inline-start-width:1px}.handsontable .ht_master:not(.innerBorderTop):not(.innerBorderBottom) thead tr.lastChild th,.handsontable .ht_master:not(.innerBorderTop):not(.innerBorderBottom) thead tr:last-child th,.handsontable .ht_master:not(.innerBorderTop):not(.innerBorderBottom)~.handsontable thead tr.lastChild th,.handsontable .ht_master:not(.innerBorderTop):not(.innerBorderBottom)~.handsontable thead tr:last-child th{border-bottom-width:0}.handsontable.htAutoRowSize .ht_master.innerBorderTop tbody tr:first-child td,.handsontable.htAutoRowSize .ht_master.innerBorderTop tbody tr:first-child th,.handsontable.htAutoRowSize .ht_master.innerBorderTop~.ht_clone_inline_start tbody tr:first-child td,.handsontable.htAutoRowSize .ht_master.innerBorderTop~.ht_clone_inline_start tbody tr:first-child th{border-top-width:0}.handsontable .ht_clone_inline_start table.htCore>thead,.handsontable .ht_master table.htCore>tbody>tr>th,.handsontable .ht_master table.htCore>thead{visibility:hidden}.ht_clone_bottom,.ht_clone_bottom .wtHolder,.ht_clone_inline_start,.ht_clone_inline_start .wtHolder,.ht_clone_top,.ht_clone_top .wtHolder,.ht_master,.ht_master .wtHolder{overflow:hidden}.ht_master .wtHolder{overflow:auto}[dir=rtl].handsontable td[dir=ltr]{border-inline-end-width:0;border-inline-start-width:1px}[dir=rtl].handsontable tbody tr td[dir=ltr]:last-child{border-inline-start-color:var(--ht-border-color)}[dir=rtl].handsontable div[class^=ht_clone] tbody .ht__highlight .relative:after{left:-1px;right:auto}.htScrollbarSafariTest::-webkit-scrollbar{height:9px;width:9px}.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_master .htCore tbody tr:first-child td:first-child{border-start-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_master .htCore tbody tr:first-child td:last-child{border-start-end-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_top .htCore tbody tr:first-child td:first-child,.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_top_inline_start_corner .htCore tbody tr:first-child td:first-child{border-start-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_top .htCore tbody tr:first-child td:last-child{border-start-end-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_inline_start .htCore tbody tr:first-child td:first-child,.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_inline_start .htCore tbody tr:first-child th:first-child{border-start-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_master .htCore{border-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_master .htCore thead tr:first-child th:first-child{border-start-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_master .htCore thead tr:first-child th:last-child{border-start-end-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_master .htCore thead tr:last-child th:first-child{border-end-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_master .htCore thead tr:last-child th:last-child{border-end-end-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_master .htCore tbody tr:last-child td:first-child{border-end-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_master .htCore tbody tr:last-child td:last-child{border-end-end-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_top .htCore,.handsontable.ht-wrapper .ht_clone_top_inline_start_corner .htCore,.handsontable.ht-wrapper .ht_clone_top_inline_start_corner .htCore thead tr:first-child th:first-child{border-start-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_top .htCore{border-start-end-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_top .htCore thead tr:first-child th:first-child{border-start-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_top .htCore thead tr:first-child th:last-child{border-start-end-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_inline_start .htCore{border-end-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_inline_start .htCore,.handsontable.ht-wrapper .ht_clone_inline_start .htCore thead tr:first-child th:first-child{border-start-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_bottom .htCore,.handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore,.handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore tr:last-child td:first-child,.handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore tr:last-child th:first-child,.handsontable.ht-wrapper .ht_clone_inline_start .htCore tbody tr:last-child td:first-child,.handsontable.ht-wrapper .ht_clone_inline_start .htCore tbody tr:last-child th:first-child{border-end-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_bottom .htCore{border-end-end-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child td:first-child,.handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child th:first-child{border-end-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child td:last-child,.handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child th:last-child{border-end-end-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper.htHasScrollX .htCore{border-end-end-radius:0;border-end-start-radius:0}.handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child td:first-child,.handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child th:first-child,.handsontable.ht-wrapper.htHasScrollX .htCore thead tr:last-child th:first-child{border-end-start-radius:0!important}.handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child td:last-child,.handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child th:last-child,.handsontable.ht-wrapper.htHasScrollX .htCore thead tr:last-child th:last-child{border-end-end-radius:0!important}.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore{border-end-end-radius:0;border-start-end-radius:0}.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore tbody tr:first-child td:last-child,.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore tbody tr:first-child th:last-child,.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore thead tr:first-child th:last-child{border-start-end-radius:0!important}.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore tbody tr:last-child td:last-child,.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore tbody tr:last-child th:last-child,.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore thead tr:last-child th:last-child{border-end-end-radius:0!important}.handsontable.mobile,.handsontable.mobile .wtHolder{user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-overflow-scrolling:touch}.handsontable.mobile .handsontableInput:focus{-webkit-appearance:none;box-shadow:inset 0 0 0 2px var(--ht-accent-color)}.handsontable .bottomSelectionHandle,.handsontable .bottomSelectionHandle-HitArea,.handsontable .topSelectionHandle,.handsontable .topSelectionHandle-HitArea{inset-inline-end:unset;inset-inline-start:-10000px;top:-10000px;z-index:9999}.handsontable.hide-tween{-webkit-animation:opacity-hide .2s;animation:opacity-hide .2s;animation-fill-mode:forwards;-webkit-animation-fill-mode:forwards}.handsontable.show-tween{-webkit-animation:opacity-show .3s;animation:opacity-show .3s;animation-fill-mode:forwards;-webkit-animation-fill-mode:forwards}.ht_clone_master{z-index:100}.ht_clone_inline_start{z-index:120}.ht_clone_bottom{z-index:130}.ht_clone_bottom_inline_start_corner{z-index:150}.ht_clone_top{z-index:160}.ht_clone_top_inline_start_corner{z-index:180}.ht_editor_hidden{z-index:-1}.ht_editor_visible{z-index:200}.handsontable td.area{position:relative}.handsontable td.area:before{background:var(--ht-cell-selection-background-color,#1a42e8);content:"";inset:0;position:absolute}.handsontable td.area-1{position:relative}.handsontable td.area-1:before{background:var(--ht-cell-selection-background-color,#1a42e8);content:"";inset:0;position:absolute}.handsontable td.area-2{position:relative}.handsontable td.area-2:before{background:var(--ht-cell-selection-background-color,#1a42e8);content:"";inset:0;position:absolute}.handsontable td.area-3{position:relative}.handsontable td.area-3:before{background:var(--ht-cell-selection-background-color,#1a42e8);content:"";inset:0;position:absolute}.handsontable td.area-4{position:relative}.handsontable td.area-4:before{background:var(--ht-cell-selection-background-color,#1a42e8);content:"";inset:0;position:absolute}.handsontable td.area-5{position:relative}.handsontable td.area-5:before{background:var(--ht-cell-selection-background-color,#1a42e8);content:"";inset:0;position:absolute}.handsontable td.area-6{position:relative}.handsontable td.area-6:before{background:var(--ht-cell-selection-background-color,#1a42e8);content:"";inset:0;position:absolute}.handsontable td.area-7{position:relative}.handsontable td.area-7:before{background:var(--ht-cell-selection-background-color,#1a42e8);content:"";inset:0;position:absolute}.handsontable td.area:before{opacity:.14}.handsontable td.area-1:before{opacity:.21}.handsontable td.area-2:before{opacity:.28}.handsontable td.area-3:before{opacity:.35}.handsontable td.area-4:before{opacity:.42}.handsontable td.area-5:before{opacity:.49}.handsontable td.area-6:before{opacity:.56}.handsontable td.area-7:before{opacity:.63}.handsontable td.area{border-color:color-mix(in srgb,var(--ht-border-color),var(--ht-foreground-color) 10%)}.handsontable .wtBorder{font-size:0;position:absolute}.handsontable .wtBorder:first-child,.handsontable .wtBorder:nth-child(3){z-index:2}.handsontable .wtBorder:nth-child(2),.handsontable .wtBorder:nth-child(4){z-index:1}.handsontable .wtBorder.hidden{display:none!important}.handsontable .wtBorder.current{z-index:10}.handsontable .wtBorder.area,.handsontable .wtBorder.current{background-color:var(--ht-cell-selection-border-color)!important}.handsontable .wtBorder.area{z-index:8}.handsontable .wtBorder.fill{background-color:var(--ht-cell-autofill-fill-border-color,#68696c)!important;z-index:6}.handsontable .wtBorder.corner{background-color:var(--ht-cell-autofill-background-color,#1a42e8)!important;border-color:var(--ht-cell-autofill-border-color)!important;border-radius:var(--ht-cell-autofill-border-radius)!important;cursor:crosshair;font-size:0;z-index:10}.handsontable .wtBorder.corner:after{background:transparent;border-radius:var(--ht-cell-autofill-border-radius);content:"";inset:min(0px,(var(--ht-cell-autofill-size) - var(--ht-cell-autofill-hit-area-size))/2);position:absolute}.handsontable .wtBorder.corner.wtCornerInlineEndEdge:after{inset-inline-end:0}.handsontable .wtBorder.corner.wtCornerBlockEndEdge:after{inset-block-end:0}.hot-display-license-info{background-color:var(--ht-license-background-color,#f7f7f9);border:1px solid var(--ht-border-color,#f7f7f9);border-radius:var(--ht-wrapper-border-radius);color:var(--ht-license-foreground-color);font-family:var(--ht-font-family),-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:var(--ht-font-size-small);line-height:var(--ht-line-height-small);margin-top:10px;padding:var(--ht-license-vertical-padding,16px) var(--ht-license-horizontal-padding,16px);text-align:left}.hot-display-license-info a{color:var(--ht-link-color);font-size:var(--ht-license-font-size)}.hot-display-license-info a:hover{color:var(--ht-link-hover-color)}.handsontable .htAutocompleteArrow{cursor:default;float:right;font-size:0;height:var(--ht-icon-size);margin-inline-end:1px;margin-inline-start:calc(var(--ht-gap-size)*2);position:relative;top:calc((var(--ht-line-height) - var(--ht-icon-size))/2);width:var(--ht-icon-size)}.handsontable .htAutocompleteArrow:after{content:"";display:block;left:0;opacity:.6;position:absolute;top:0}[dir=rtl].handsontable .htAutocompleteArrow{float:left}.handsontable .htCheckboxRendererInput{cursor:pointer;display:inline-block;height:var(--ht-checkbox-size);margin:-2px 0 0;outline:none;position:relative;vertical-align:middle;width:var(--ht-checkbox-size)}.handsontable .htCheckboxRendererInput:first-child{margin-inline-end:var(--ht-gap-size)}.handsontable .htCheckboxRendererInput:last-child{margin-inline-start:var(--ht-gap-size)}.handsontable .htCheckboxRendererInput:before{background-color:var(--ht-checkbox-background-color);border:1px solid var(--ht-checkbox-border-color);border-radius:var(--ht-checkbox-border-radius);box-sizing:border-box;content:"";display:inline-block;height:var(--ht-checkbox-size);left:0;pointer-events:none;position:absolute;top:0;transition:all var(--ht-table-transition) ease-in-out;width:var(--ht-checkbox-size)}.handsontable .htCheckboxRendererInput:after{color:var(--ht-checkbox-icon-color);content:"";display:block;height:var(--ht-checkbox-size)!important;left:0;pointer-events:none;position:absolute;top:0;width:var(--ht-checkbox-size)!important}.handsontable .htCheckboxRendererInput:checked:before{background-color:var(--ht-checkbox-checked-background-color);border-color:var(--ht-checkbox-checked-border-color)}.handsontable .htCheckboxRendererInput:checked:after{color:var(--ht-checkbox-checked-icon-color)}.handsontable .htCheckboxRendererInput:checked:disabled:before{background-color:var(--ht-checkbox-checked-disabled-background-color);border-color:var(--ht-checkbox-checked-disabled-border-color)}.handsontable .htCheckboxRendererInput:checked:disabled:after{color:var(--ht-checkbox-checked-disabled-icon-color)}.handsontable .htCheckboxRendererInput:checked:focus:before{background-color:var(--ht-checkbox-checked-focus-background-color);border-color:var(--ht-checkbox-checked-focus-border-color)}.handsontable .htCheckboxRendererInput:checked:focus:after{color:var(--ht-checkbox-checked-focus-icon-color)}.handsontable .htCheckboxRendererInput:focus:before{background-color:var(--ht-checkbox-focus-background-color);border-color:var(--ht-checkbox-focus-border-color);outline:1px solid var(--ht-checkbox-focus-ring-color)}.handsontable .htCheckboxRendererInput:focus:after{color:var(--ht-checkbox-focus-icon-color)}.handsontable .htCheckboxRendererInput:disabled{cursor:auto}.handsontable .htCheckboxRendererInput:disabled:before{background-color:var(--ht-checkbox-disabled-background-color);border-color:var(--ht-checkbox-disabled-border-color)}.handsontable .htCheckboxRendererInput:disabled:after{color:var(--ht-checkbox-disabled-icon-color)}.handsontable .htCheckboxRendererInput:indeterminate:before{background-color:var(--ht-checkbox-indeterminate-background-color);border-color:var(--ht-checkbox-indeterminate-border-color)}.handsontable .htCheckboxRendererInput:indeterminate:after{color:var(--ht-checkbox-indeterminate-icon-color)}.handsontable .htCheckboxRendererInput:indeterminate:disabled:before{background-color:var(--ht-checkbox-indeterminate-disabled-background-color);border-color:var(--ht-checkbox-indeterminate-disabled-border-color)}.handsontable .htCheckboxRendererInput:indeterminate:disabled:after{color:var(--ht-checkbox-indeterminate-disabled-icon-color)}.handsontable .htCheckboxRendererInput:indeterminate:focus:before{background-color:var(--ht-checkbox-indeterminate-focus-background-color);border-color:var(--ht-checkbox-indeterminate-focus-border-color)}.handsontable .htCheckboxRendererInput:indeterminate:focus:after{color:var(--ht-checkbox-indeterminate-focus-icon-color)}.handsontable .htCheckboxRendererInput.noValue{opacity:.5}.handsontable .htCheckboxRendererLabel{color:inherit;cursor:pointer;display:inline-block;font-size:inherit;line-height:inherit;margin:0;position:relative}.handsontable .htCheckboxRendererLabel.fullWidth{width:100%}.handsontable .htPlaceholder{color:var(--ht-placeholder-color)}.handsontable .htDimmed{background-color:var(--ht-cell-read-only-background-color)!important;color:var(--ht-read-only-color)!important}.handsontable .htLeft{text-align:left}.handsontable .htCenter{text-align:center}.handsontable .htRight{text-align:right}.handsontable .htJustify{text-align:justify}.handsontable .htTop{vertical-align:top}.handsontable .htMiddle{vertical-align:middle}.handsontable .htBottom{vertical-align:bottom}.handsontable .htInvalid{background-color:var(--ht-cell-error-background-color)!important}.handsontable .htNoWrap{white-space:nowrap}.handsontable .htSearchResult{background-color:var(--ht-cell-success-background-color)!important}.handsontable .ht-multi-select-renderer{overflow:hidden;padding:var(--ht-cell-vertical-padding) var(--ht-cell-horizontal-padding)}.handsontable .ht-multi-select-chips-container{align-items:center;display:flex;flex-wrap:nowrap;gap:var(--ht-gap-size);max-width:100%;overflow:hidden}.handsontable .ht-multi-select-chip{align-items:center;background:var(--ht-chip-background);border-radius:var(--ht-chip-border-radius);box-sizing:border-box;display:inline-flex;flex-shrink:0;gap:var(--ht-gap-size);max-width:100px;padding:var(--ht-chip-vertical-padding) calc((var(--ht-line-height) - var(--ht-icon-size))/2) var(--ht-chip-vertical-padding) var(--ht-chip-horizontal-padding);white-space:nowrap}.handsontable .ht-multi-select-chip-label{color:var(--ht-foreground-color);font-style:normal;font-weight:var(--ht-font-weight);letter-spacing:var(--ht-letter-spacing,0);line-height:var(--ht-line-height,40px);overflow:hidden;padding:0 var(--ht-chip-gap);text-overflow:ellipsis}.handsontable .ht-multi-select-chip-remove{align-items:center;background-position:50%;background-repeat:no-repeat;background-size:contain;color:var(--ht-icon-button-icon-color);cursor:pointer;display:flex;flex-shrink:0;height:var(--ht-icon-size)!important;justify-content:center;padding:0;position:relative;width:var(--ht-icon-size)!important}.handsontable .ht-multi-select-chip-remove:before{content:"";display:block;left:0;position:absolute;top:0}.handsontable .ht-multi-select-chip-remove:hover{background-color:var(--ht-icon-button-hover-background-color)}.handsontable .ht-multi-select-overflow{align-items:center;background:var(--ht-chip-background);border-radius:var(--ht-chip-border-radius);color:var(--ht-foreground-color);display:inline-flex;flex-shrink:0;justify-content:center;padding:0 calc(var(--ht-gap-size)*2);white-space:nowrap}.handsontableInputHolder{left:0;position:absolute;top:0}.handsontableInputHolder .handsontableInput{-webkit-appearance:none!important;background-color:var(--ht-cell-editor-background-color,#fff);border:none;border-radius:0;box-shadow:inset 0 0 0 var(--ht-cell-editor-border-width,2px) var(--ht-cell-editor-border-color,#1a42e8),0 0 var(--ht-cell-editor-shadow-blur-radius,0) 0 var(--ht-cell-editor-shadow-color,transparent);box-sizing:border-box;color:var(--ht-cell-editor-foreground-color);display:block;font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;margin:0;outline-width:0;padding:calc(var(--ht-cell-vertical-padding, 4px) + 1px) calc(var(--ht-cell-horizontal-padding, 8px) + 1px)}.handsontableInputHolder .handsontableInput:focus{outline:none}.htSelectEditor{position:absolute}.htSelectEditor select{-webkit-appearance:none!important;background-color:var(--ht-cell-editor-background-color,#fff);border:none;border-radius:0;box-shadow:inset 0 0 0 var(--ht-cell-editor-border-width,2px) var(--ht-cell-editor-border-color,#1a42e8),0 0 var(--ht-cell-editor-shadow-blur-radius,0) 0 var(--ht-cell-editor-shadow-color,transparent);box-sizing:border-box;color:var(--ht-cell-editor-foreground-color);font-family:inherit!important;font-size:inherit!important;height:100%;inset:0;line-height:inherit!important;margin:0;overflow:hidden;padding:calc(var(--ht-cell-vertical-padding, 4px) + 1px) calc(var(--ht-cell-horizontal-padding, 8px) + 1px);padding-inline-end:26px;position:absolute;text-overflow:ellipsis;white-space:nowrap;width:100%}.htSelectEditor select:focus{outline:none}.htSelectEditor .htAutocompleteArrow{margin-inline-end:4px;pointer-events:none;top:50%;transform:translateY(-50%);z-index:1}.handsontable.listbox{border:var(--ht-menu-border-width,1px) solid var(--ht-menu-border-color,#e5e5e9);box-shadow:var(--ht-menu-shadow-x,0) var(--ht-menu-shadow-y,0) var(--ht-menu-shadow-blur,8px) color-mix(in srgb,var(--ht-menu-shadow-color,#000) var(--ht-menu-shadow-opacity,100%),transparent);margin:0}.handsontable.listbox .ht_master{background-color:var(--ht-background-color);overflow:hidden}.handsontable.listbox .wtHolder{border-radius:0!important;overflow:auto}.handsontable.listbox .htCore,.handsontable.listbox .wtHider{border-radius:0!important}.handsontable.listbox table{overflow:hidden}.handsontable.listbox table td,.handsontable.listbox table th,.handsontable.listbox table tr:first-child td,.handsontable.listbox table tr:first-child th,.handsontable.listbox table tr:last-child th{border-color:transparent!important}.handsontable.listbox table td,.handsontable.listbox table th{border-radius:0!important;text-overflow:ellipsis;white-space:nowrap}.handsontable.listbox table .wtBorder{visibility:hidden}.handsontable.listbox table strong{color:inherit;font-weight:700}.handsontable.listbox table tr td:hover td{background:color-mix(in srgb,var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity,100%),transparent)!important;box-shadow:none!important;cursor:pointer}.handsontable.listbox table td{transition:var(--ht-table-transition) background ease-in-out}.handsontable.listbox table td:hover{background-color:color-mix(in srgb,var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity,100%),transparent)!important;cursor:pointer}.handsontable.listbox table td.current:not([aria-expanded=true]){box-shadow:inset 0 0 0 1px var(--ht-accent-color)}.handsontable.listbox table td.htDimmed{color:inherit!important;cursor:default;font-style:inherit}.handsontable.listbox table td.htDimmed:not(.handsontable.listbox table td:hover){background-color:inherit!important}.handsontable.listbox table thead th{height:auto!important;text-align:left}.handsontable.listbox table thead th .relative{padding-bottom:calc(var(--ht-cell-vertical-padding) + var(--ht-gap-size));padding-top:calc(var(--ht-cell-vertical-padding) + var(--ht-gap-size))}.handsontable.listbox .ht_clone_top .wtHider{overflow:hidden}.handsontable.listbox .ht_clone_top table{border-radius:0}.handsontable.listbox .htBorders div{background:none!important}.handsontable.autocompleteEditor tr.ht__row_even td,.handsontable.autocompleteEditor tr.ht__row_even th,.handsontable.autocompleteEditor tr.ht__row_odd td,.handsontable.autocompleteEditor tr.ht__row_odd th{background-color:var(--ht-background-color,#fff)}[dir=rtl].handsontable.listbox table thead th{text-align:right}.pika-single{background:var(--ht-background-color,#fff);border:var(--ht-menu-border-width,1px) solid var(--ht-menu-border-color,#e5e5e9);border-radius:var(--ht-menu-border-radius);box-shadow:var(--ht-menu-shadow-x,0) var(--ht-menu-shadow-y,0) var(--ht-menu-shadow-blur,8px) color-mix(in srgb,var(--ht-menu-shadow-color,#000) var(--ht-menu-shadow-opacity,100%),transparent);color:var(--ht-foreground-color);display:block;font-family:var(--ht-font-family),-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:var(--ht-font-size);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height);padding:10px;position:relative;z-index:9999}.pika-single.is-hidden{display:none}.pika-single .pika-row{background-color:transparent}.pika-single .pika-title{align-items:center;display:flex;justify-content:center}.pika-single .pika-label{color:var(--ht-accent-color);order:2;padding:5px;position:relative}.pika-single .pika-label .pika-select{cursor:pointer;inset:0;opacity:0;position:absolute}.pika-single .pika-next,.pika-single .pika-prev{background:none;border:none;color:var(--ht-accent-color);cursor:pointer;height:20px;padding:0;text-indent:-9999px;white-space:nowrap;width:20px}.pika-single .pika-prev{margin-right:auto;order:1}.pika-single .pika-next{margin-left:auto;order:3}.pika-single .pika-table thead{height:50px}.pika-single .pika-table th{padding:1px;vertical-align:middle}.pika-single .pika-table th abbr{border:none;cursor:auto;font-weight:400;text-decoration:none}.pika-single .pika-table td{padding:1px;vertical-align:middle}.pika-single .pika-table td.is-disabled .pika-button{opacity:.5;pointer-events:none}.pika-single .pika-table td.is-today .pika-button{background:color-mix(in srgb,var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity,100%),transparent)}.pika-single .pika-table td.is-selected .pika-button{background:var(--ht-accent-color,#1a42e8);color:var(--ht-primary-button-foreground-color,#fff)}.pika-single .pika-table td.pika-week{text-align:center;width:12.5%}.pika-single .pika-table .pika-button{aspect-ratio:1/1;background:transparent;border:none;border-radius:var(--ht-button-border-radius);color:var(--ht-foreground-color);cursor:pointer;font-size:inherit;margin:0;padding:10px;width:100%}.pika-single .pika-table .pika-button:hover{background:color-mix(in srgb,var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity,100%),transparent)}[dir=rtl].htDatepickerHolder .pika-single .pika-next{margin-left:0;margin-right:auto;transform:rotate(180deg)}[dir=rtl].htDatepickerHolder .pika-single .pika-prev{margin-left:auto;margin-right:0;transform:rotate(180deg)}.handsontableEditor{position:absolute}.handsontableEditor .ht-multi-select-editor{background:var(--ht-background-color);border:var(--ht-menu-border-width) solid var(--ht-menu-border-color);border-radius:0 0 var(--ht-menu-border-radius) var(--ht-menu-border-radius);box-shadow:var(--ht-menu-shadow-x,0) var(--ht-menu-shadow-y,0) var(--ht-menu-shadow-blur,8px) color-mix(in srgb,var(--ht-menu-shadow-color,#000) var(--ht-menu-shadow-opacity,100%),transparent);min-width:120px;overflow-y:auto;padding:var(--ht-menu-vertical-padding) var(--ht-menu-horizontal-padding);width:max-content}.handsontableEditor .ht-multi-select-editor .ht-multi-select-editor-search-input-wrapper{align-items:center;align-self:stretch;display:flex;gap:var(--ht-gap-size);padding:var(--ht-menu-item-vertical-padding) var(--ht-menu-item-horizontal-padding);position:relative}.handsontableEditor .ht-multi-select-editor .ht-multi-select-editor-search-icon{background-position:50%;background-repeat:no-repeat;background-size:contain;height:16px;left:calc(var(--ht-menu-item-horizontal-padding) + 10px);opacity:.5;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);width:16px;z-index:1}.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input{background-color:var(--ht-input-background-color);border:1px solid var(--ht-input-border-color);border-radius:var(--ht-input-border-radius);box-sizing:border-box;color:var(--ht-input-foreground-color);font-size:var(--ht-font-size);line-height:var(--ht-line-height);padding:var(--ht-input-vertical-padding) var(--ht-menu-item-horizontal-padding) var(--ht-input-vertical-padding) 32px;transition:var(--ht-table-transition) all ease-in-out;width:100%}.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input:hover{background-color:var(--ht-input-hover-background-color);border-color:var(--ht-input-hover-border-color);color:var(--ht-input-hover-foreground-color)}.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input:disabled{background-color:var(--ht-input-disabled-background-color);border-color:var(--ht-input-disabled-border-color);color:var(--ht-input-disabled-foreground-color)}.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input:focus{background-color:var(--ht-input-focus-background-color);border-color:var(--ht-input-focus-border-color);box-shadow:none;color:var(--ht-input-focus-foreground-color);outline:none;outline-offset:0}.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input::placeholder{color:var(--ht-foreground-color);opacity:.6}.handsontableEditor .ht-multi-select-editor .ht-multi-select-editor-separator{background-color:var(--ht-menu-border-color);height:1px;margin:var(--ht-menu-vertical-padding) 0 var(--ht-menu-vertical-padding) 0;padding:0;width:100%}.handsontableEditor .ht-multi-select-editor ul{align-items:flex-start;display:flex;flex-direction:column;list-style:none;margin:0;padding:var(--ht-gap-size) var(--ht-menu-horizontal-padding);width:100%}.handsontableEditor .ht-multi-select-editor ul li{align-items:center;align-self:stretch;background:var(--ht-background-color);cursor:pointer;display:flex;padding:var(--ht-menu-item-vertical-padding) var(--ht-menu-item-horizontal-padding);user-select:none}.handsontableEditor .ht-multi-select-editor ul li *{cursor:pointer}.handsontableEditor .ht-multi-select-editor ul li.ht-multi-select-editor-item-selected{background:color-mix(in srgb,var(--ht-menu-item-active-color) var(--ht-menu-item-active-color-opacity,100%),transparent)}.handsontableEditor .ht-multi-select-editor ul li div{align-items:center;display:flex;flex:1 0 0}.handsontableEditor .ht-multi-select-editor ul li div input{appearance:none;display:flex;height:var(--ht-checkbox-size);margin:0;padding:0;position:relative;width:var(--ht-checkbox-size)}.handsontableEditor .ht-multi-select-editor ul li div input:after{content:"";display:block;left:0;position:absolute;top:0}.handsontableEditor .ht-multi-select-editor ul li div input:before{background:var(--ht-checkbox-background-color);background-position:50%;background-repeat:no-repeat;border:1px solid var(--ht-checkbox-border-color);border-radius:var(--ht-checkbox-border-radius);box-sizing:border-box;content:"";display:block;height:var(--ht-checkbox-size);left:0;position:absolute;top:0;width:var(--ht-checkbox-size)}.handsontableEditor .ht-multi-select-editor ul li div input:checked:before{background:var(--ht-checkbox-checked-background-color);border-color:var(--ht-checkbox-checked-border-color)}.handsontableEditor .ht-multi-select-editor ul li div input:checked:after{background-color:currentColor;color:var(--ht-checkbox-checked-icon-color)}.handsontableEditor .ht-multi-select-editor ul li div input:focus{outline:none}.handsontableEditor .ht-multi-select-editor ul li div label{color:var(--ht-foreground-color);font-size:var(--ht-font-size);font-style:normal;font-weight:400;letter-spacing:var(--ht-letter-spacing);line-height:var(--ht-line-height);overflow:hidden;padding:0 0 0 calc(var(--ht-gap-size)*2);text-overflow:ellipsis;width:100%}.handsontableEditor .ht-multi-select-editor ul li:hover{background:color-mix(in srgb,var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity,100%),transparent)}.handsontableEditor .ht-multi-select-editor ul li:has(input:focus){background:color-mix(in srgb,var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity,100%),transparent)}.handsontable .htUISelectCaption{background-color:var(--ht-input-background-color);border:var(--ht-input-border-width) solid var(--ht-input-border-color);border-radius:var(--ht-input-border-radius);box-sizing:border-box;color:var(--ht-input-foreground-color);cursor:pointer;font-family:inherit;font-size:var(--ht-font-size);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height);margin:0;outline:none!important;overflow:hidden;padding:var(--ht-input-vertical-padding) var(--ht-input-horizontal-padding);padding-inline-end:calc(var(--ht-input-horizontal-padding) + var(--ht-icon-size));text-overflow:ellipsis;transition:var(--ht-table-transition) all ease-in-out;white-space:nowrap;width:100%}.handsontable .htUISelectCaption:after{content:"";display:block;position:absolute;right:calc(var(--ht-input-horizontal-padding) - var(--ht-icon-size)/4);top:50%;transform:translateY(-50%)}.handsontable .htUISelectCaption:hover{background-color:var(--ht-input-hover-background-color);border-color:var(--ht-input-hover-border-color);color:var(--ht-input-hover-foreground-color)}.handsontable .htUISelectCaption:disabled{background-color:var(--ht-input-disabled-background-color);border-color:var(--ht-input-disabled-border-color);color:var(--ht-input-disabled-foreground-color)}.handsontable .htUISelectCaption:focus{background-color:var(--ht-input-focus-background-color);border-color:var(--ht-input-focus-border-color);color:var(--ht-input-focus-foreground-color)}.handsontable .htUISelect{cursor:pointer;outline:none!important;position:relative}.handsontable .htUISelect:focus .htUISelectCaption{background-color:var(--ht-input-focus-background-color);border-color:var(--ht-input-focus-border-color);color:var(--ht-input-focus-foreground-color)}[dir=rtl].handsontable .htUISelectCaption:after{left:calc(var(--ht-input-horizontal-padding) - var(--ht-icon-size)/4);right:auto}.handsontable .htFiltersMenuCondition .htUIInput input,.handsontable .htFiltersMenuValue .htUIMultipleSelectSearch input{background-color:var(--ht-input-background-color);border:var(--ht-input-border-width) solid var(--ht-input-border-color);border-radius:var(--ht-input-border-radius);box-sizing:border-box;color:var(--ht-input-foreground-color);cursor:pointer;font-family:inherit;font-size:var(--ht-font-size);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height);outline:none!important;padding:var(--ht-input-vertical-padding) var(--ht-input-horizontal-padding);transition:var(--ht-table-transition) all ease-in-out;width:100%}.handsontable .htFiltersMenuCondition .htUIInput input:hover,.handsontable .htFiltersMenuValue .htUIMultipleSelectSearch input:hover{background-color:var(--ht-input-hover-background-color);border-color:var(--ht-input-hover-border-color);color:var(--ht-input-hover-foreground-color)}.handsontable .htFiltersMenuCondition .htUIInput input:disabled,.handsontable .htFiltersMenuValue .htUIMultipleSelectSearch input:disabled{background-color:var(--ht-input-disabled-background-color);border-color:var(--ht-input-disabled-border-color);color:var(--ht-input-disabled-foreground-color)}.handsontable .htFiltersMenuCondition .htUIInput input:focus,.handsontable .htFiltersMenuValue .htUIMultipleSelectSearch input:focus{background-color:var(--ht-input-focus-background-color);border-color:var(--ht-input-focus-border-color);color:var(--ht-input-focus-foreground-color)}.handsontable .htUIInput{outline:none!important;padding:0;position:relative;text-align:center}.handsontable .htUIInputIcon{position:absolute}.handsontable .ht-button,.handsontable .htUIInput.htUIButton input{border-radius:var(--ht-button-border-radius);border-style:solid;border-width:1px;box-sizing:border-box;cursor:pointer;font-family:inherit;font-size:var(--ht-font-size);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height);min-width:64px;outline:none!important;padding:var(--ht-button-vertical-padding) var(--ht-button-horizontal-padding);transition:var(--ht-table-transition) all ease-in-out}.handsontable .ht-button--secondary,.handsontable .htUIInput.htUIButtonCancel input{background-color:var(--ht-secondary-button-background-color);border-color:var(--ht-secondary-button-border-color);color:var(--ht-secondary-button-foreground-color)}.handsontable .ht-button--secondary:hover,.handsontable .htUIInput.htUIButtonCancel input:hover{background-color:var(--ht-secondary-button-hover-background-color);border-color:var(--ht-secondary-button-hover-border-color);color:var(--ht-secondary-button-hover-foreground-color)}.handsontable .ht-button--secondary:disabled,.handsontable .htUIInput.htUIButtonCancel input:disabled{background-color:var(--ht-secondary-button-disabled-background-color);border-color:var(--ht-secondary-button-disabled-border-color);color:var(--ht-secondary-button-disabled-foreground-color)}.handsontable .ht-button--secondary:focus,.handsontable .htUIInput.htUIButtonCancel input:focus{background-color:var(--ht-secondary-button-focus-background-color);border-color:var(--ht-secondary-button-focus-border-color);box-shadow:0 0 0 1px var(--ht-accent-color);color:var(--ht-secondary-button-focus-foreground-color)}.ht-button--primary,.htUIInput.htUIButtonOK input{background-color:var(--ht-primary-button-background-color);border-color:var(--ht-primary-button-border-color);color:var(--ht-primary-button-foreground-color)}.ht-button--primary:hover,.htUIInput.htUIButtonOK input:hover{background-color:var(--ht-primary-button-hover-background-color);border-color:var(--ht-primary-button-hover-border-color);color:var(--ht-primary-button-hover-foreground-color)}.ht-button--primary:disabled,.htUIInput.htUIButtonOK input:disabled{background-color:var(--ht-primary-button-disabled-background-color);border-color:var(--ht-primary-button-disabled-border-color);color:var(--ht-primary-button-disabled-foreground-color)}.ht-button--primary:focus,.htUIInput.htUIButtonOK input:focus{background-color:var(--ht-primary-button-focus-background-color);border-color:var(--ht-primary-button-focus-border-color);box-shadow:0 0 0 1px var(--ht-accent-color);color:var(--ht-primary-button-focus-foreground-color)}.handsontable .htUIRadio{align-items:center;cursor:pointer;display:inline-flex;gap:var(--ht-gap-size);margin:0;padding:var(--ht-gap-size) calc(var(--ht-gap-size)*2);padding-bottom:0;position:relative}.handsontable .htUIRadio:first-child{padding-inline-start:0}.handsontable .htUIRadio>input[type=radio]{appearance:none;border-radius:calc(var(--ht-radio-size)*.5);cursor:pointer;height:var(--ht-radio-size);margin:0;outline:none;position:relative;width:var(--ht-radio-size)}.handsontable .htUIRadio>input[type=radio]:before{background-color:var(--ht-radio-background-color);border:1px solid var(--ht-radio-border-color);border-radius:calc(var(--ht-radio-size)*.5);content:"";display:block;inset:0;position:absolute}.handsontable .htUIRadio>input[type=radio]:after{color:var(--ht-radio-icon-color);content:"";display:block;position:absolute}.handsontable .htUIRadio>input[type=radio]:checked:before{background-color:var(--ht-radio-checked-background-color);border-color:var(--ht-radio-checked-border-color)}.handsontable .htUIRadio>input[type=radio]:checked:after{color:var(--ht-radio-checked-icon-color)}.handsontable .htUIRadio>input[type=radio]:checked:disabled{cursor:auto}.handsontable .htUIRadio>input[type=radio]:checked:disabled:before{background-color:var(--ht-radio-checked-disabled-background-color);border-color:var(--ht-radio-checked-disabled-border-color)}.handsontable .htUIRadio>input[type=radio]:checked:disabled:after{color:var(--ht-radio-checked-disabled-icon-color)}.handsontable .htUIRadio>input[type=radio]:checked:focus:before{background-color:var(--ht-radio-checked-focus-background-color);border-color:var(--ht-radio-checked-focus-border-color)}.handsontable .htUIRadio>input[type=radio]:checked:focus:after{color:var(--ht-radio-checked-focus-icon-color)}.handsontable .htUIRadio>input[type=radio]:disabled{cursor:auto}.handsontable .htUIRadio>input[type=radio]:disabled:before{background-color:var(--ht-radio-disabled-background-color);border-color:var(--ht-radio-disabled-border-color)}.handsontable .htUIRadio>input[type=radio]:disabled:after{color:var(--ht-radio-disabled-icon-color)}.handsontable .htUIRadio>input[type=radio]:focus:before{background-color:var(--ht-radio-focus-background-color);border-color:var(--ht-radio-focus-border-color);outline:1px solid var(--ht-radio-focus-ring-color)}.handsontable .htUIRadio>input[type=radio]:focus:after{color:var(--ht-radio-focus-icon-color)}.handsontable .htUIRadio label{color:inherit;cursor:pointer;vertical-align:middle}.handsontable .htUIRadio label:before{content:"";display:block;inset:0;position:absolute}.handsontable .collapsibleIndicator{margin-inline-end:1px;margin-inline-start:var(--ht-gap-size);top:calc((var(--ht-line-height) - var(--ht-icon-size))/2)}.handsontable .collapsibleIndicator,.handsontable .ht_nestingButton{border-radius:var(--ht-collapse-button-border-radius);box-sizing:border-box;cursor:pointer;float:right;font-size:0;height:var(--ht-icon-size);overflow:hidden;position:relative;text-indent:-100px;width:var(--ht-icon-size)}.handsontable .collapsibleIndicator:before,.handsontable .ht_nestingButton:before{content:"";display:block;left:0;position:absolute;top:0;transition:var(--ht-table-transition) all ease-in-out}.handsontable .collapsibleIndicator.expanded,.handsontable .collapsibleIndicator.ht_nestingCollapse,.handsontable .ht_nestingButton.expanded,.handsontable .ht_nestingButton.ht_nestingCollapse{background-color:var(--ht-collapse-button-open-background-color);box-shadow:0 0 0 1px var(--ht-collapse-button-open-border-color)}.handsontable .collapsibleIndicator.expanded:before,.handsontable .collapsibleIndicator.ht_nestingCollapse:before,.handsontable .ht_nestingButton.expanded:before,.handsontable .ht_nestingButton.ht_nestingCollapse:before{color:var(--ht-collapse-button-open-icon-color)}.handsontable .collapsibleIndicator.expanded:hover,.handsontable .collapsibleIndicator.ht_nestingCollapse:hover,.handsontable .ht_nestingButton.expanded:hover,.handsontable .ht_nestingButton.ht_nestingCollapse:hover{background-color:var(--ht-collapse-button-open-hover-background-color);box-shadow:0 0 0 1px var(--ht-collapse-button-open-hover-border-color)}.handsontable .collapsibleIndicator.expanded:hover:before,.handsontable .collapsibleIndicator.ht_nestingCollapse:hover:before,.handsontable .ht_nestingButton.expanded:hover:before,.handsontable .ht_nestingButton.ht_nestingCollapse:hover:before{color:var(--ht-collapse-button-open-hover-icon-color)}.handsontable .collapsibleIndicator.collapsed,.handsontable .collapsibleIndicator.ht_nestingExpand,.handsontable .ht_nestingButton.collapsed,.handsontable .ht_nestingButton.ht_nestingExpand{background-color:var(--ht-collapse-button-close-background-color);box-shadow:0 0 0 1px var(--ht-collapse-button-close-border-color)}.handsontable .collapsibleIndicator.collapsed:before,.handsontable .collapsibleIndicator.ht_nestingExpand:before,.handsontable .ht_nestingButton.collapsed:before,.handsontable .ht_nestingButton.ht_nestingExpand:before{color:var(--ht-collapse-button-close-icon-color)}.handsontable .collapsibleIndicator.collapsed:hover,.handsontable .collapsibleIndicator.ht_nestingExpand:hover,.handsontable .ht_nestingButton.collapsed:hover,.handsontable .ht_nestingButton.ht_nestingExpand:hover{background-color:var(--ht-collapse-button-close-hover-background-color);box-shadow:0 0 0 1px var(--ht-collapse-button-close-hover-border-color)}.handsontable .collapsibleIndicator.collapsed:hover:before,.handsontable .collapsibleIndicator.ht_nestingExpand:hover:before,.handsontable .ht_nestingButton.collapsed:hover:before,.handsontable .ht_nestingButton.ht_nestingExpand:hover:before{color:var(--ht-collapse-button-close-hover-icon-color)}.handsontable th.ht__active_highlight .collapsibleIndicator.collapsed:before,.handsontable th.ht__active_highlight .collapsibleIndicator.ht_nestingExpand:before,.handsontable th.ht__active_highlight .ht_nestingButton.collapsed:before,.handsontable th.ht__active_highlight .ht_nestingButton.ht_nestingExpand:before{color:var(--ht-collapse-button-close-icon-active-color)}.handsontable th.ht__active_highlight .collapsibleIndicator.collapsed:hover:before,.handsontable th.ht__active_highlight .collapsibleIndicator.ht_nestingExpand:hover:before,.handsontable th.ht__active_highlight .ht_nestingButton.collapsed:hover:before,.handsontable th.ht__active_highlight .ht_nestingButton.ht_nestingExpand:hover:before{color:var(--ht-collapse-button-close-hover-icon-active-color)}.handsontable th.ht__active_highlight .collapsibleIndicator.expanded:before,.handsontable th.ht__active_highlight .collapsibleIndicator.ht_nestingCollapse:before,.handsontable th.ht__active_highlight .ht_nestingButton.expanded:before,.handsontable th.ht__active_highlight .ht_nestingButton.ht_nestingCollapse:before{color:var(--ht-collapse-button-open-icon-active-color)}.handsontable th.ht__active_highlight .collapsibleIndicator.expanded:hover:before,.handsontable th.ht__active_highlight .collapsibleIndicator.ht_nestingCollapse:hover:before,.handsontable th.ht__active_highlight .ht_nestingButton.expanded:hover:before,.handsontable th.ht__active_highlight .ht_nestingButton.ht_nestingCollapse:hover:before{color:var(--ht-collapse-button-open-hover-icon-active-color)}[dir=rtl].handsontable .collapsibleIndicator,[dir=rtl].handsontable .ht_nestingButton{float:left}.handsontable thead th.hiddenHeader:not(:first-of-type){display:none}.handsontable thead th.hiddenHeaderText .colHeader{opacity:0}.handsontable th.ht_nestingLevels>.relative{align-items:center;display:flex;gap:5px}.handsontable th.ht_nestingLevels span:last-child{padding-left:calc(var(--ht-icon-size) + 5px)}.handsontable th.ht_nestingLevels span.ht_nestingLevel{display:inline-block}.handsontable th.ht_nestingLevels span.ht_nestingLevel_empty{display:inline-block;height:1px;order:-2;position:relative;width:5px}.handsontable th.ht_nestingLevels .ht_nestingButton{cursor:pointer;order:-1;position:relative}.handsontable th.afterHiddenColumn,.handsontable th.beforeHiddenColumn{position:relative}.handsontable th.afterHiddenColumn:after,.handsontable th.afterHiddenColumn:before,.handsontable th.beforeHiddenColumn:after,.handsontable th.beforeHiddenColumn:before{color:var(--ht-hidden-indicator-color);height:10px!important;position:absolute;top:50%;transform:translateY(-50%);width:10px!important}.handsontable th.beforeHiddenColumn:after{content:"";display:block;right:-2px}.handsontable th.afterHiddenColumn:before{content:"";display:block;left:-2px}.handsontable th.ht__active_highlight.afterHiddenColumn:after,.handsontable th.ht__active_highlight.afterHiddenColumn:before,.handsontable th.ht__active_highlight.beforeHiddenColumn:after,.handsontable th.ht__active_highlight.beforeHiddenColumn:before{color:var(--ht-icon-button-active-icon-color,var(--ht-icon-active-button-icon-color))}[dir=rtl].handsontable th.beforeHiddenColumn:after{left:-2px;right:auto;transform:translateY(-50%) rotate(180deg)}[dir=rtl].handsontable th.afterHiddenColumn:before{left:auto;right:-2px;transform:translateY(-50%) rotate(180deg)}.handsontable th.afterHiddenRow,.handsontable th.beforeHiddenRow{position:relative}.handsontable th.afterHiddenRow:after,.handsontable th.afterHiddenRow:before,.handsontable th.beforeHiddenRow:after,.handsontable th.beforeHiddenRow:before{color:var(--ht-hidden-indicator-color);height:10px!important;left:50%;position:absolute;transform:translateX(-50%);width:10px!important}.handsontable th.beforeHiddenRow:after{bottom:-2px;content:"";display:block}.handsontable th.afterHiddenRow:before{content:"";display:block;top:-2px}.handsontable th.ht__active_highlight.afterHiddenRow:after,.handsontable th.ht__active_highlight.afterHiddenRow:before,.handsontable th.ht__active_highlight.beforeHiddenRow:after,.handsontable th.ht__active_highlight.beforeHiddenRow:before{color:var(--ht-icon-button-active-icon-color,var(--ht-icon-active-button-icon-color))}.handsontable .changeType{background-color:var(--ht-icon-button-background-color);border:none;border-radius:var(--ht-icon-button-border-radius);box-shadow:0 0 0 1px var(--ht-icon-button-border-color);box-sizing:border-box;color:inherit;float:right;height:var(--ht-icon-size);margin:0;margin-inline-end:1px;margin-inline-start:var(--ht-gap-size);order:1;padding:0;position:relative;top:calc((var(--ht-line-height) - var(--ht-icon-size))/2);width:var(--ht-icon-size);z-index:1}.handsontable .changeType:before{color:var(--ht-icon-button-icon-color);content:"";display:block;left:0;position:absolute;top:0}.handsontable .changeType:hover{background-color:var(--ht-icon-button-hover-background-color);box-shadow:0 0 0 1px var(--ht-icon-button-hover-border-color);cursor:pointer}.handsontable .changeType:hover:before{color:var(--ht-icon-button-hover-icon-color)}.handsontable .ht__active_highlight .changeType{background-color:var(--ht-icon-button-active-background-color,var(--ht-icon-active-button-background-color));box-shadow:0 0 0 1px var(--ht-icon-button-active-border-color,var(--ht-icon-active-button-border-color))}.handsontable .ht__active_highlight .changeType:before{color:var(--ht-icon-button-active-icon-color,var(--ht-icon-active-button-icon-color))}.handsontable .ht__active_highlight .changeType:hover{background-color:var(--ht-icon-button-active-hover-background-color,var(--ht-icon-active-button-hover-background-color));box-shadow:0 0 0 1px var(--ht-icon-button-active-hover-border-color,var(--ht-icon-active-button-hover-border-color))}.handsontable .ht__active_highlight .changeType:hover:before{color:var(--ht-icon-button-active-hover-icon-color,var(--ht-icon-active-button-hover-icon-color))}.handsontable th.htFiltersActive{background-color:var(--ht-header-filter-background-color)}.handsontable th.htFiltersActive.ht__active_highlight{background-color:color-mix(in srgb,var(--ht-header-active-background-color),var(--ht-header-filter-background-color) 20%)}.handsontable th.htFiltersActive.ht__active_highlight .changeType:after{background-color:var(--ht-header-active-foreground-color)}.handsontable.htContextMenu>.ht_master,.handsontable.htDropdownMenu>.ht_master,.handsontable.htFiltersConditionsMenu>.ht_master{background-color:var(--ht-background-color,#fff);border:var(--ht-menu-border-width,1px) solid var(--ht-menu-border-color,#e5e5e9);border-radius:var(--ht-menu-border-radius);box-shadow:var(--ht-menu-shadow-x,0) var(--ht-menu-shadow-y,0) var(--ht-menu-shadow-blur,8px) color-mix(in srgb,var(--ht-menu-shadow-color,#000) var(--ht-menu-shadow-opacity,100%),transparent);overflow:hidden;padding:var(--ht-menu-vertical-padding,8px) var(--ht-menu-horizontal-padding,0)}.handsontable.htContextMenu:not(.htGhostTable),.handsontable.htDropdownMenu:not(.htGhostTable),.handsontable.htFiltersConditionsMenu:not(.htGhostTable){display:none;position:absolute;z-index:1060}.handsontable.htContextMenu .ht_clone_bottom,.handsontable.htContextMenu .ht_clone_bottom_inline_start_corner,.handsontable.htContextMenu .ht_clone_inline_start,.handsontable.htContextMenu .ht_clone_top,.handsontable.htContextMenu .ht_clone_top_inline_start_corner,.handsontable.htDropdownMenu .ht_clone_bottom,.handsontable.htDropdownMenu .ht_clone_bottom_inline_start_corner,.handsontable.htDropdownMenu .ht_clone_inline_start,.handsontable.htDropdownMenu .ht_clone_top,.handsontable.htDropdownMenu .ht_clone_top_inline_start_corner,.handsontable.htFiltersConditionsMenu .ht_clone_bottom,.handsontable.htFiltersConditionsMenu .ht_clone_bottom_inline_start_corner,.handsontable.htFiltersConditionsMenu .ht_clone_inline_start,.handsontable.htFiltersConditionsMenu .ht_clone_top,.handsontable.htFiltersConditionsMenu .ht_clone_top_inline_start_corner{display:none}.handsontable.htContextMenu table.htCore,.handsontable.htDropdownMenu table.htCore,.handsontable.htFiltersConditionsMenu table.htCore{overflow:hidden}.handsontable.htContextMenu .htCustomMenuRenderer .table.htCore,.handsontable.htDropdownMenu .htCustomMenuRenderer .table.htCore,.handsontable.htFiltersConditionsMenu .htCustomMenuRenderer .table.htCore{box-shadow:none}.handsontable.htContextMenu.handsontable:focus,.handsontable.htDropdownMenu.handsontable:focus,.handsontable.htFiltersConditionsMenu.handsontable:focus{outline:none}.handsontable.htContextMenu .wtBorder,.handsontable.htDropdownMenu .wtBorder,.handsontable.htFiltersConditionsMenu .wtBorder{visibility:hidden}.handsontable.htContextMenu tbody tr:first-of-type td:first-child,.handsontable.htContextMenu tbody tr:first-of-type th:first-child,.handsontable.htDropdownMenu tbody tr:first-of-type td:first-child,.handsontable.htDropdownMenu tbody tr:first-of-type th:first-child,.handsontable.htFiltersConditionsMenu tbody tr:first-of-type td:first-child,.handsontable.htFiltersConditionsMenu tbody tr:first-of-type th:first-child{height:calc(var(--ht-cell-vertical-padding)*2 + var(--ht-line-height) + 1px)}.handsontable.htContextMenu table tbody tr td,.handsontable.htDropdownMenu table tbody tr td,.handsontable.htFiltersConditionsMenu table tbody tr td{background:var(--ht-background-color,#fff);border-width:0;cursor:pointer;overflow:hidden;padding:var(--ht-menu-item-vertical-padding,4px) var(--ht-menu-item-horizontal-padding,8px);position:relative;text-overflow:ellipsis;transition:var(--ht-table-transition) background ease-in-out;white-space:nowrap}.handsontable.htContextMenu table tbody tr td:first-child,.handsontable.htDropdownMenu table tbody tr td:first-child,.handsontable.htFiltersConditionsMenu table tbody tr td:first-child{border-bottom-width:0;border-inline-end-width:0;border-inline-start-width:0;border-top-width:0}.handsontable.htContextMenu table tbody tr td.htDimmed,.handsontable.htDropdownMenu table tbody tr td.htDimmed,.handsontable.htFiltersConditionsMenu table tbody tr td.htDimmed{background-color:inherit!important;color:inherit!important;font-style:normal}.handsontable.htContextMenu table tbody tr td:not(.handsontable.htDropdownMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htDropdownMenu table tbody tr td.htDisabled,.handsontable.htContextMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htContextMenu table tbody tr td.htDisabled,.handsontable.htFiltersConditionsMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled):hover,.handsontable.htDropdownMenu table tbody tr td:not(.handsontable.htDropdownMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htDropdownMenu table tbody tr td.htDisabled,.handsontable.htContextMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htContextMenu table tbody tr td.htDisabled,.handsontable.htFiltersConditionsMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled):hover,.handsontable.htFiltersConditionsMenu table tbody tr td:not(.handsontable.htDropdownMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htDropdownMenu table tbody tr td.htDisabled,.handsontable.htContextMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htContextMenu table tbody tr td.htDisabled,.handsontable.htFiltersConditionsMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled):hover{background:color-mix(in srgb,var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity,100%),transparent)!important;cursor:pointer}.handsontable.htContextMenu table tbody tr td:not(.handsontable.htDropdownMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htDropdownMenu table tbody tr td.htDisabled,.handsontable.htContextMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htContextMenu table tbody tr td.htDisabled,.handsontable.htFiltersConditionsMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled).current:not([aria-expanded=true]),.handsontable.htDropdownMenu table tbody tr td:not(.handsontable.htDropdownMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htDropdownMenu table tbody tr td.htDisabled,.handsontable.htContextMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htContextMenu table tbody tr td.htDisabled,.handsontable.htFiltersConditionsMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled).current:not([aria-expanded=true]),.handsontable.htFiltersConditionsMenu table tbody tr td:not(.handsontable.htDropdownMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htDropdownMenu table tbody tr td.htDisabled,.handsontable.htContextMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htContextMenu table tbody tr td.htDisabled,.handsontable.htFiltersConditionsMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled).current:not([aria-expanded=true]){box-shadow:inset 0 0 0 1px var(--ht-accent-color)}.handsontable.htContextMenu table tbody tr td.htSubmenu .htItemWrapper,.handsontable.htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper,.handsontable.htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper{margin-inline-end:calc(var(--ht-gap-size, 4px)*2 + var(--ht-icon-size))}.handsontable.htContextMenu table tbody tr td.htSubmenu .htItemWrapper:after,.handsontable.htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper:after,.handsontable.htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper:after{content:"";display:block;position:absolute;right:calc(var(--ht-menu-item-horizontal-padding) + var(--ht-gap-size)*2);top:50%;transform:translateY(-50%)}.handsontable.htContextMenu table tbody tr td.htSeparator,.handsontable.htDropdownMenu table tbody tr td.htSeparator,.handsontable.htFiltersConditionsMenu table tbody tr td.htSeparator{border-top:1px solid var(--ht-border-color);cursor:default;height:0;padding:0}.handsontable.htContextMenu table tbody tr td.htDisabled,.handsontable.htDropdownMenu table tbody tr td.htDisabled,.handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled{color:var(--ht-disabled-color);cursor:default}.handsontable.htContextMenu table tbody tr td.htDisabled:hover,.handsontable.htDropdownMenu table tbody tr td.htDisabled:hover,.handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled:hover{background:var(--ht-background-color);color:var(--ht-disabled-color)}.handsontable.htContextMenu table tbody tr td.htHidden,.handsontable.htDropdownMenu table tbody tr td.htHidden,.handsontable.htFiltersConditionsMenu table tbody tr td.htHidden{display:none}.handsontable.htContextMenu table tbody tr td:has(.htItemWrapper .selected),.handsontable.htDropdownMenu table tbody tr td:has(.htItemWrapper .selected),.handsontable.htFiltersConditionsMenu table tbody tr td:has(.htItemWrapper .selected){background-color:color-mix(in srgb,var(--ht-menu-item-active-color) var(--ht-menu-item-active-color-opacity,100%),transparent)}.handsontable.htContextMenu table tbody tr td .htItemWrapper,.handsontable.htDropdownMenu table tbody tr td .htItemWrapper,.handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper{margin-inline:calc(var(--ht-gap-size, 4px)*2)}.handsontable.htContextMenu table tbody tr td .htItemWrapper:before,.handsontable.htDropdownMenu table tbody tr td .htItemWrapper:before,.handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper:before{margin-right:12px;vertical-align:text-bottom}.handsontable.htContextMenu table tbody tr td .htItemWrapper span.selected,.handsontable.htDropdownMenu table tbody tr td .htItemWrapper span.selected,.handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected{font-size:0;inset:0}.handsontable.htContextMenu table tbody tr td .htItemWrapper span.selected:after,.handsontable.htDropdownMenu table tbody tr td .htItemWrapper span.selected:after,.handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected:after{color:var(--ht-accent-color);content:"";display:block;position:absolute;right:calc(var(--ht-menu-item-horizontal-padding) + var(--ht-gap-size)*2);top:50%;transform:translateY(-50%)}.handsontable.htContextMenu table tbody tr td div span.selected,.handsontable.htDropdownMenu table tbody tr td div span.selected,.handsontable.htFiltersConditionsMenu table tbody tr td div span.selected{inset-inline-end:0;position:absolute}.handsontable.htContextMenu table tbody tr td .htUIButton,.handsontable.htDropdownMenu table tbody tr td .htUIButton,.handsontable.htFiltersConditionsMenu table tbody tr td .htUIButton{width:calc(50% - var(--ht-gap-size))}.handsontable.htContextMenu table tbody tr td .htUIButton input,.handsontable.htDropdownMenu table tbody tr td .htUIButton input,.handsontable.htFiltersConditionsMenu table tbody tr td .htUIButton input{width:100%}.handsontable .htUIClearAll a,.handsontable .htUISelectAll a{display:inline-block;padding:var(--ht-gap-size);text-decoration:none}.handsontable .htUIMultipleSelect .ht_master .wtHolder{background:transparent;border-radius:0!important;overflow-y:scroll!important}.handsontable .htUIMultipleSelect .ht_master .wtHolder .htCore{box-shadow:none}[dir=rtl].handsontable.htContextMenu table tbody tr td.htSubmenu .htItemWrapper:after,[dir=rtl].handsontable.htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper:after,[dir=rtl].handsontable.htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper:after{left:calc(var(--ht-gap-size)*4);right:auto;transform:translateY(-50%) rotate(180deg)}[dir=rtl].handsontable.htContextMenu table tbody tr td .htItemWrapper span.selected:after,[dir=rtl].handsontable.htDropdownMenu table tbody tr td .htItemWrapper span.selected:after,[dir=rtl].handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected:after{left:calc(var(--ht-gap-size)*4);right:auto}[dir=rtl].handsontable .changeType{float:left}.handsontable.htFiltersConditionsMenu:not(.htGhostTable){z-index:1070}.handsontable .ht_master table td.htCustomMenuRenderer{cursor:auto}.handsontable .ht_master table td.htCustomMenuRenderer.htFiltersMenuActionBar{padding-top:calc(var(--ht-menu-item-vertical-padding, 4px)*2)}.handsontable .htFiltersMenuLabel{font-size:var(--ht-font-size-small);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height-small);margin-bottom:calc(var(--ht-gap-size, 2px)*2)}.handsontable .htFiltersMenuLabel:empty{display:none}.handsontable .htFiltersMenuCondition{padding-bottom:0!important;padding-top:calc(var(--ht-gap-size, 2px)*3)!important}.handsontable .htFiltersMenuCondition .border{border-bottom:1px solid var(--ht-border-color)!important}.handsontable .htFiltersMenuCondition .htUIInput{margin-top:calc(var(--ht-gap-size, 2px)*2)}.handsontable .htFiltersMenuValue{border-bottom:1px solid var(--ht-border-color)!important;padding-bottom:0!important;padding-top:calc(var(--ht-gap-size, 2px)*3)!important}.handsontable .htFiltersMenuOperators{padding-bottom:0!important;padding-top:calc(var(--ht-gap-size, 2px)*2)!important}.handsontable .htUISelectionControls{margin:0 calc(var(--ht-gap-size, 2px)*-1);padding-bottom:var(--ht-gap-size,2px)!important;padding-top:calc(var(--ht-gap-size, 2px)*2)!important}.handsontable .htUIMultipleSelectHot{--ht-cell-horizontal-padding:calc(var(--ht-menu-item-horizontal-padding, 2px) + var(--ht-gap-size, 2px)*2);margin:0 calc((var(--ht-menu-item-horizontal-padding, 2px) + var(--ht-gap-size, 2px)*2)*-1);overflow:initial!important;width:calc(100% + var(--ht-menu-item-horizontal-padding, 2px)*2 + var(--ht-gap-size, 2px)*4)}.handsontable .htUIMultipleSelectHot:before{background-color:var(--ht-border-color);content:"";display:block;height:1px;left:0;position:absolute;top:-1px;width:100%}.handsontable .htUIMultipleSelectHot .wtHolder{box-sizing:border-box;overflow-x:hidden;padding:0}.handsontable .htUIMultipleSelectHot .wtHolder .wtSpreader{padding:calc(var(--ht-gap-size)*2) 0}.handsontable .htUIMultipleSelectHot .wtHolder td{height:auto!important;padding:4px var(--ht-cell-horizontal-padding)}.handsontable .htUIClearAll,.handsontable .htUISelectAll{display:inline-block;margin-bottom:var(--ht-gap-size,4px);margin-right:var(--ht-gap-size,4px)}.handsontable .htUIClearAll a,.handsontable .htUISelectAll a{border-radius:var(--ht-button-border-radius);color:var(--ht-link-color);font-size:var(--ht-font-size);line-height:var(--ht-line-height)}.handsontable .htUIClearAll a:hover,.handsontable .htUISelectAll a:hover{color:var(--ht-link-hover-color)}.handsontable .htUIClearAll a:focus,.handsontable .htUISelectAll a:focus{outline:1px solid var(--ht-link-hover-color)}.handsontable .htUIMultipleSelect .ht_master .wtHolder{overflow:auto}.handsontable .htUIMultipleSelect .ht_master .wtHolder .htCore,.handsontable .htUIMultipleSelect .ht_master .wtHolder .wtHider,.handsontable .htUIMultipleSelect .ht_master .wtHolder td,.handsontable .htUIMultipleSelect .ht_master .wtHolder tr{background:none}.handsontable .htUIInput.htUIButton{cursor:pointer;display:inline-block}.handsontable .htUIInput.htUIButtonOK{margin-inline-end:calc(var(--ht-gap-size, 2px)*2);margin-inline-start:0}.handsontable .htCommentCell{position:relative}.handsontable .htCommentCell:after{border-inline-end:none;border-inline-start:var(--ht-comments-indicator-size,4px) solid transparent;border-top:var(--ht-comments-indicator-size,4px) solid var(--ht-comments-indicator-color,#1a42e8);content:"";display:block;inset-inline-end:0;inset-inline-start:unset;position:absolute;top:0}.htCommentsContainer .htComments{display:none;position:absolute;z-index:1059}.htCommentsContainer .htCommentTextArea{-webkit-appearance:none;background-color:var(--ht-comments-textarea-background-color,#fff);border:var(--ht-comments-textarea-border-width,1px) solid var(--ht-comments-textarea-border-color,transparent);border-inline-start:var(--ht-comments-textarea-border-width,1px) solid var(--ht-comments-textarea-border-color,#1a42e8);box-shadow:var(--ht-menu-shadow-x,0) var(--ht-menu-shadow-y,0) var(--ht-menu-shadow-blur,8px) color-mix(in srgb,var(--ht-menu-shadow-color,#000) var(--ht-menu-shadow-opacity,100%),transparent);box-sizing:border-box;color:var(--ht-comments-textarea-foreground-color);font-family:var(--ht-font-family),-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:var(--ht-font-size);font-weight:var(--ht-font-weight);height:88px;line-height:var(--ht-line-height);margin:0 -1px;outline:0!important;padding:var(--ht-comments-textarea-vertical-padding) var(--ht-comments-textarea-horizontal-padding);width:240px}.htCommentsContainer .htCommentTextArea:focus{background-color:var(--ht-comments-textarea-focus-background-color,#fff);border:var(--ht-comments-textarea-focus-border-width,1px) solid var(--ht-comments-textarea-focus-border-color,#1a42e8);color:var(--ht-comments-textarea-focus-foreground-color)}.htBorders .wtBorder.ht-border-style-dashed-vertical{background-image:repeating-linear-gradient(to bottom,var(--ht-custom-border-color) 0 5px,transparent 0 10px)}.htBorders .wtBorder.ht-border-style-dashed-horizontal{background-image:repeating-linear-gradient(to right,var(--ht-custom-border-color) 0 5px,transparent 0 10px)}.htBorders .wtBorder.ht-border-style-dotted-horizontal{background-repeat:repeat-x;background-size:calc(var(--ht-custom-border-size)*2) var(--ht-custom-border-size)}.htBorders .wtBorder.ht-border-style-dotted-horizontal,.htBorders .wtBorder.ht-border-style-dotted-vertical{background-image:radial-gradient(circle,var(--ht-custom-border-color) calc(var(--ht-custom-border-size)/2),transparent 0)}.htBorders .wtBorder.ht-border-style-dotted-vertical{background-repeat:repeat-y;background-size:var(--ht-custom-border-size) calc(var(--ht-custom-border-size)*2)}.handsontable .columnSorting:not(.indicatorDisabled){position:relative}.handsontable .columnSorting:not(.indicatorDisabled).sortAction{min-width:calc(var(--ht-icon-size, 16px) + 8px)}.handsontable .columnSorting:not(.indicatorDisabled).sortAction.ascending,.handsontable .columnSorting:not(.indicatorDisabled).sortAction.descending{max-width:calc(100% - var(--ht-icon-size, 16px)*2 - var(--ht-gap-size, 4px) - 3px)!important;padding-inline-end:calc(var(--ht-icon-size, 16px) + 2px)}.handsontable .columnSorting:not(.indicatorDisabled).sortAction:hover{cursor:pointer;text-decoration:none}.handsontable .columnSorting:not(.indicatorDisabled).sortAction:before{content:"";display:block;position:absolute;right:2px;text-align:right;top:50%;transform:translateY(-50%);width:var(--ht-icon-size,16px)}.handsontable .htRight .columnSorting.sortAction.ascending,.handsontable .htRight .columnSorting.sortAction.descending{padding-inline-end:0;padding-inline-start:calc(var(--ht-icon-size, 16px) + 2px)}.handsontable .htRight .columnSorting.sortAction:before,[dir=rtl] .handsontable .columnSorting.sortAction:before{left:2px;right:auto;text-align:left}[dir=rtl] .handsontable .htRight .columnSorting.sortAction.ascending,[dir=rtl] .handsontable .htRight .columnSorting.sortAction.descending{padding-inline-end:calc(var(--ht-icon-size, 16px) + 2px);padding-inline-start:0}[dir=rtl] .handsontable .htLeft .columnSorting.sortAction.ascending,[dir=rtl] .handsontable .htLeft .columnSorting.sortAction.descending{padding-inline-end:0;padding-inline-start:calc(var(--ht-icon-size, 16px) + 2px)}[dir=rtl] .handsontable .htLeft .columnSorting.sortAction:before{left:auto;right:2px;text-align:right}.htGhostTable .htCore span.colHeader.columnSorting:not(.indicatorDisabled):before{content:"*";display:inline-block;padding-inline-end:calc(var(--ht-icon-size, 16px) + 2px);position:relative}.handsontable .colHeader.columnSorting:after{content:"";display:block;font-size:8px;margin-top:4px;position:absolute;right:0;text-align:right;top:50%;transform:translateY(-50%);width:8px}.handsontable .colHeader.columnSorting[class*=" sort-"]:after,.handsontable .colHeader.columnSorting[class^=sort-]:after{content:"+"}.handsontable .colHeader.columnSorting.sort-1:after{content:"1"}.handsontable .colHeader.columnSorting.sort-2:after{content:"2"}.handsontable .colHeader.columnSorting.sort-3:after{content:"3"}.handsontable .colHeader.columnSorting.sort-4:after{content:"4"}.handsontable .colHeader.columnSorting.sort-5:after{content:"5"}.handsontable .colHeader.columnSorting.sort-6:after{content:"6"}.handsontable .colHeader.columnSorting.sort-7:after{content:"7"}.handsontable .htRight .colHeader.columnSorting:after,[dir=rtl] .handsontable .colHeader.columnSorting:after{left:0;right:auto;text-align:left}[dir=rtl] .handsontable .htLeft .colHeader.columnSorting:after{left:auto;right:0;text-align:right}.htGhostTable th div button.changeType+span.colHeader.columnSorting:not(.indicatorDisabled){padding-right:var(--ht-gap-size)}.handsontable .htRowHeaders .ht_master.innerBorderInlineStart~.ht_clone_inline_start td:first-of-type,.handsontable .htRowHeaders .ht_master.innerBorderInlineStart~.ht_clone_top_inline_start_corner th:nth-child(2){border-left:0}.handsontable .ht_clone_top_inline_start_corner th.ht__active_highlight{box-shadow:none}.handsontable .manualColumnResizer{background:none;cursor:col-resize;margin:0;opacity:0;position:absolute;top:0;width:10px;z-index:210}.handsontable .manualColumnResizer:after,.handsontable .manualColumnResizer:before{background:var(--ht-resize-indicator-color);border-radius:2px;content:"";display:block;height:calc(100% - 12px);left:1px;margin-top:.5px;max-height:16px;position:absolute;top:50%;transform:translateY(-50%);width:2px}.handsontable .manualColumnResizer:after{left:auto;right:0}.handsontable .manualColumnResizer.active,.handsontable .manualColumnResizer:hover{opacity:1}.handsontable .manualColumnResizerGuide{border-inline-end:1px solid var(--ht-accent-color);border-inline-start:none;display:none;inset-inline-end:unset;margin-inline-end:unset;margin-inline-start:5px;position:absolute;top:0;width:0}.handsontable .manualColumnResizerGuide.active{display:block;z-index:209}.handsontable .manualRowResizer{background:none;cursor:row-resize;height:10px;left:0;margin:0;opacity:0;position:absolute;z-index:210}.handsontable .manualRowResizer:after,.handsontable .manualRowResizer:before{background:var(--ht-resize-indicator-color);border-radius:2px;content:"";display:block;height:2px;left:50%;max-width:16px;position:absolute;top:1px;transform:translateX(-50%);width:calc(100% - 12px)}.handsontable .manualRowResizer:after{bottom:0;top:auto}.handsontable .manualRowResizer.active,.handsontable .manualRowResizer:hover{opacity:1}.handsontable .manualRowResizerGuide{border-bottom:1px solid var(--ht-accent-color);border-top:none;bottom:0;display:none;height:0;left:0;margin-top:5px;position:absolute}.handsontable .manualRowResizerGuide.active{display:block;z-index:209}.handsontable tbody td[rowspan][class*=area][class*=highlight]:not([class*=fullySelectedMergedCell]):before{opacity:0}.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-0]:before,.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-multiple]:before{opacity:.14}.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-1]:before{opacity:.21}.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-2]:before{opacity:.28}.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-3]:before{opacity:.35}.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-4]:before{opacity:.42}.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-5]:before{opacity:.49}.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-6]:before{opacity:.56}.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-7]:before{opacity:.63}.handsontable .ht__manualColumnMove.after-selection--columns thead th.ht__highlight,.handsontable.ht__manualColumnMove.after-selection--columns thead th.ht__highlight{cursor:move;cursor:-moz-grab;cursor:-webkit-grab;cursor:grab}.handsontable .ht__manualColumnMove.on-moving--columns *,.handsontable .ht__manualColumnMove.on-moving--columns thead th.ht__highlight,.handsontable.ht__manualColumnMove.on-moving--columns *,.handsontable.ht__manualColumnMove.on-moving--columns thead th.ht__highlight{cursor:move;cursor:-moz-grabbing;cursor:-webkit-grabbing;cursor:grabbing}.handsontable .ht__manualColumnMove.on-moving--columns .manualColumnResizer,.handsontable.ht__manualColumnMove.on-moving--columns .manualColumnResizer{display:none}.handsontable .ht__manualColumnMove--backlight,.handsontable .ht__manualColumnMove--guideline,.handsontable.ht__manualColumnMove--backlight,.handsontable.ht__manualColumnMove--guideline{display:none;height:100%;position:absolute}.handsontable .ht__manualColumnMove--guideline,.handsontable.ht__manualColumnMove--guideline{background:var(--ht-move-indicator-color,#1a42e8);margin-inline-end:0;margin-inline-start:-.5px;top:0;width:1px;z-index:205}.handsontable .ht__manualColumnMove--backlight,.handsontable.ht__manualColumnMove--backlight{background:color-mix(in srgb,var(--ht-move-backlight-color) var(--ht-move-backlight-opacity,100%),transparent);display:none;pointer-events:none;z-index:205}.handsontable .on-moving--columns .ht__manualColumnMove--backlight,.handsontable .on-moving--columns.show-ui .ht__manualColumnMove--guideline,.handsontable.on-moving--columns .ht__manualColumnMove--backlight,.handsontable.on-moving--columns.show-ui .ht__manualColumnMove--guideline{display:block}.handsontable .wtHider{position:relative}.handsontable .ht__manualRowMove.after-selection--rows tbody th.ht__highlight,.handsontable.ht__manualRowMove.after-selection--rows tbody th.ht__highlight{cursor:move;cursor:-moz-grab;cursor:-webkit-grab;cursor:grab}.handsontable .ht__manualRowMove.on-moving--rows *,.handsontable .ht__manualRowMove.on-moving--rows tbody th.ht__highlight,.handsontable.ht__manualRowMove.on-moving--rows *,.handsontable.ht__manualRowMove.on-moving--rows tbody th.ht__highlight{cursor:move;cursor:-moz-grabbing;cursor:-webkit-grabbing;cursor:grabbing}.handsontable .ht__manualRowMove.on-moving--rows .manualRowResizer,.handsontable.ht__manualRowMove.on-moving--rows .manualRowResizer{display:none}.handsontable .ht__manualRowMove--backlight,.handsontable .ht__manualRowMove--guideline,.handsontable.ht__manualRowMove--backlight,.handsontable.ht__manualRowMove--guideline{display:none;position:absolute;width:100%}.handsontable .ht__manualRowMove--guideline,.handsontable.ht__manualRowMove--guideline{border-top:1px solid var(--ht-move-indicator-color);left:0;z-index:205}.handsontable .ht__manualRowMove--backlight,.handsontable.ht__manualRowMove--backlight{background:color-mix(in srgb,var(--ht-move-backlight-color) var(--ht-move-backlight-opacity,100%),transparent);display:none;pointer-events:none;z-index:205}.handsontable .on-moving--rows .ht__manualRowMove--backlight,.handsontable .on-moving--rows.show-ui .ht__manualRowMove--guideline,.handsontable.on-moving--rows .ht__manualRowMove--backlight,.handsontable.on-moving--rows.show-ui .ht__manualRowMove--guideline{display:block}.ht-dialog{border:1px solid var(--ht-border-color);border-radius:var(--ht-wrapper-border-radius);box-sizing:border-box!important;display:none;font-size:var(--ht-font-size);height:100%;left:0;letter-spacing:var(--ht-letter-spacing);line-height:var(--ht-line-height);opacity:0;overflow-y:auto;position:absolute;top:0;width:100%;z-index:1060}.ht-dialog[dir=rtl]{left:auto;right:0}.ht-dialog:focus{border:1px solid var(--ht-accent-color);outline:none}.ht-dialog:has(.htFocusCatcher:focus){border:1px solid var(--ht-accent-color);outline:none}.ht-dialog *{box-sizing:border-box!important}.ht-dialog--background-solid{background-color:var(--ht-dialog-solid-background-color)}.ht-dialog--background-semi-transparent{background-color:color-mix(in srgb,var(--ht-dialog-semi-transparent-background-color) var(--ht-dialog-semi-transparent-background-opacity,100%),transparent)}.ht-dialog--animation{transition:opacity var(--ht-table-transition) ease-in-out}.ht-dialog--show{opacity:1}.ht-dialog__content-wrapper{align-items:center;border-radius:var(--ht-wrapper-border-radius);display:flex;justify-content:center;min-height:100%;padding:calc(var(--ht-gap-size)*4);width:100%}.ht-dialog__content{color:var(--ht-foreground-color);max-width:480px;padding:var(--ht-dialog-content-padding-horizontal) var(--ht-dialog-content-padding-vertical);position:relative}.ht-dialog__content--background{background-color:var(--ht-dialog-content-background-color);border-radius:var(--ht-dialog-content-border-radius);box-shadow:var(--ht-shadow-x,0) var(--ht-shadow-y,0) var(--ht-shadow-blur,8px) color-mix(in srgb,var(--ht-shadow-color,#000) var(--ht-shadow-opacity,100%),transparent)}.ht-dialog--confirm .ht-dialog__content-wrapper{padding:calc(var(--ht-gap-size)*2);text-align:center}.ht-dialog--confirm .ht-dialog__content-wrapper-inner{align-items:center;border-radius:var(--ht-wrapper-border-radius);display:flex;flex-direction:column;justify-content:center;max-width:480px;padding:calc(var(--ht-gap-size)*2)}.ht-dialog--confirm .ht-dialog__content-wrapper-inner--background{background-color:var(--ht-dialog-content-background-color);border-radius:var(--ht-dialog-content-border-radius);box-shadow:var(--ht-shadow-x,0) var(--ht-shadow-y,0) var(--ht-shadow-blur,8px) color-mix(in srgb,var(--ht-shadow-color,#000) var(--ht-shadow-opacity,100%),transparent)}.ht-dialog--confirm .ht-dialog__content-wrapper-inner:focus{box-shadow:0 0 0 1px var(--ht-accent-color);outline:none}.ht-dialog--confirm .ht-dialog__content{align-items:center;display:flex;flex-direction:column;gap:var(--ht-gap-size);justify-content:center}.ht-dialog--confirm .ht-dialog__content:has(.ht-dialog__buttons){gap:calc(var(--ht-gap-size)*2)}.ht-dialog--confirm .ht-dialog__title{font-size:var(--ht-font-size);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height);margin:0}.ht-dialog--confirm .ht-dialog__description{color:var(--ht-foreground-secondary-color);font-size:var(--ht-font-size-small);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height-small);margin:0}.ht-dialog--confirm .ht-dialog__buttons{display:flex;flex-direction:row;flex-wrap:wrap;gap:calc(var(--ht-gap-size)*2);justify-content:center}.handsontable.ht-pagination{background:var(--ht-pagination-bar-background-color);border:1px solid var(--ht-wrapper-border-color);border-radius:0 0 var(--ht-wrapper-border-radius) var(--ht-wrapper-border-radius);border-top:1px solid transparent;box-sizing:border-box;color:var(--ht-pagination-bar-foreground-color);font-size:var(--ht-font-size);line-height:var(--ht-line-height);overflow-x:auto}.handsontable.ht-pagination--bordered{border-top-color:var(--ht-wrapper-border-color)}.handsontable.ht-pagination .ht-pagination__inner{align-items:center;border-radius:0 0 var(--ht-wrapper-border-radius) var(--ht-wrapper-border-radius);display:flex;flex-wrap:wrap;gap:calc(var(--ht-gap-size)*4);justify-content:space-between;min-width:230px;padding-block:var(--ht-pagination-bar-vertical-padding);padding-inline:var(--ht-pagination-bar-horizontal-padding)}.handsontable.ht-pagination .ht-page-size-section{align-items:center;display:flex;gap:calc(var(--ht-gap-size)*2)}.handsontable.ht-pagination .ht-page-size-section__label{white-space:nowrap}.handsontable.ht-pagination .ht-page-size-section__select-wrapper{border-radius:var(--ht-input-border-radius);position:relative}.handsontable.ht-pagination .ht-page-size-section__select-wrapper select{-webkit-appearance:none;background-color:var(--ht-input-background-color);border:1px solid var(--ht-input-border-color);border-radius:var(--ht-input-border-radius);color:var(--ht-input-foreground-color);cursor:pointer;font-size:inherit;line-height:calc(var(--ht-line-height) - 4px);padding-inline-end:calc(var(--ht-gap-size) + var(--ht-icon-size));padding-bottom:var(--ht-gap-size);padding-inline-start:var(--ht-gap-size);padding-top:var(--ht-gap-size)}.handsontable.ht-pagination .ht-page-size-section__select-wrapper select:disabled{background-color:var(--ht-input-disabled-background-color);border-color:var(--ht-input-disabled-border-color);color:var(--ht-input-disabled-foreground-color);cursor:default;opacity:.4}.handsontable.ht-pagination .ht-page-size-section__select-wrapper select:hover:not(:disabled){background-color:var(--ht-input-hover-background-color);border-color:var(--ht-input-hover-border-color);color:var(--ht-input-hover-foreground-color)}.handsontable.ht-pagination .ht-page-size-section__select-wrapper select:focus{background-color:var(--ht-input-focus-background-color);border-color:var(--ht-input-focus-border-color);color:var(--ht-input-focus-foreground-color);outline:none}.handsontable.ht-pagination .ht-page-size-section__select-wrapper:after{background-color:var(--ht-foreground-color);content:"";display:block;inset-block-end:50%;inset-inline-end:var(--ht-gap-size);pointer-events:none;position:absolute;transform:translateY(50%)}.handsontable.ht-pagination .ht-page-counter-section{margin-inline-end:auto}.handsontable.ht-pagination .ht-page-navigation-section{align-items:center;display:flex;gap:1px}.handsontable.ht-pagination .ht-page-navigation-section__button{background-color:var(--ht-pagination-bar-background-color);border:1px solid var(--ht-pagination-bar-background-color);border-radius:var(--ht-icon-button-large-border-radius);color:var(--ht-secondary-button-foreground-color);cursor:pointer;font-size:inherit;padding:var(--ht-icon-button-large-padding)}.handsontable.ht-pagination .ht-page-navigation-section__button:before{content:"";display:block}.handsontable.ht-pagination .ht-page-navigation-section__button--disabled{color:var(--ht-secondary-button-disabled-foreground-color);cursor:default;pointer-events:none}.handsontable.ht-pagination .ht-page-navigation-section__button:hover:not(:disabled){background-color:var(--ht-secondary-button-hover-background-color)}.handsontable.ht-pagination .ht-page-navigation-section__button:focus{border:1px solid var(--ht-accent-color);outline:none}.handsontable.ht-pagination .ht-page-navigation-section__label{min-width:100px;text-align:center;white-space:nowrap}.handsontable.ht-wrapper.htPagination,.handsontable.ht-wrapper.htPagination .htCore{border-end-end-radius:0;border-end-start-radius:0}.handsontable.ht-wrapper.htPagination .htCore tbody tr:last-child td:first-child,.handsontable.ht-wrapper.htPagination .htCore tbody tr:last-child th:first-child,.handsontable.ht-wrapper.htPagination .htCore thead tr:last-child th:first-child{border-end-start-radius:0!important}.handsontable.ht-wrapper.htPagination .htCore tbody tr:last-child td:last-child,.handsontable.ht-wrapper.htPagination .htCore tbody tr:last-child th:last-child,.handsontable.ht-wrapper.htPagination .htCore thead tr:last-child th:last-child{border-end-end-radius:0!important}.ht-loading__icon-svg{animation:ht-loading-spin 1s linear infinite;color:var(--ht-accent-color);display:block;height:var(--ht-icon-size);transform-origin:50% 50%;width:var(--ht-icon-size)}.ht-loading__content{align-items:center;display:flex;gap:calc(var(--ht-gap-size)*2)}.ht-loading__title{font-size:var(--ht-font-size);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height);margin:0}.ht-loading__description{color:var(--ht-foreground-secondary-color);font-size:var(--ht-font-size-small);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height-small);margin:0}@keyframes ht-loading-spin{to{transform:rotate(1turn)}}.ht-empty-data-state{background-color:var(--ht-background-color);border:1px solid var(--ht-border-color);border-radius:var(--ht-wrapper-border-radius);box-sizing:border-box;display:none;left:0;overflow-y:auto;position:absolute;width:100%;z-index:999}.ht-empty-data-state *{box-sizing:border-box!important}.ht-empty-data-state__content-wrapper{min-height:100%;text-align:center;width:100%}.ht-empty-data-state__content-wrapper,.ht-empty-data-state__content-wrapper-inner{align-items:center;border-radius:var(--ht-wrapper-border-radius);display:flex;justify-content:center;padding:calc(var(--ht-gap-size)*2)}.ht-empty-data-state__content-wrapper-inner{flex-direction:column;max-width:480px}.ht-empty-data-state__content-wrapper-inner:focus{box-shadow:0 0 0 1px var(--ht-accent-color);outline:none}.ht-empty-data-state__content{align-items:center;display:flex;flex-direction:column;gap:var(--ht-gap-size);justify-content:center}.ht-empty-data-state__title{font-size:var(--ht-font-size);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height);margin:0}.ht-empty-data-state__description{color:var(--ht-foreground-secondary-color);font-size:var(--ht-font-size-small);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height-small);margin:0}.ht-empty-data-state__buttons{display:flex;flex-direction:row;flex-wrap:wrap;gap:calc(var(--ht-gap-size)*2);justify-content:center}.ht-empty-data-state__buttons--has-buttons{margin-top:calc(var(--ht-gap-size)*2)}.ht-empty-data-state--disable-top-border{border-start-end-radius:0;border-start-start-radius:0;border-top-width:0}.ht-empty-data-state--disable-inline-border{border-end-start-radius:0;border-inline-start-width:0;border-start-start-radius:0}.ht-empty-data-state--disable-bottom-border,.ht-empty-data-state:has(~.ht-pagination){border-bottom-width:0;border-end-end-radius:0;border-end-start-radius:0}'},67304(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(23876),s=r(o(34354)),a=o(31100),l=r(o(75269)),h=o(34103),d=o(64428),c=o(36016),u=o(12175);function g(e,t,o){p(e,t),t.set(e,o)}function p(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function f(e,t){return e.get(C(e,t))}function m(e,t,o){return e.set(C(e,t),o),o}function C(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var w=new WeakMap,b=new WeakMap,v=new WeakMap,y=new WeakMap,S=new WeakMap,E=new WeakMap,_=new WeakMap,R=new WeakMap,T=new WeakSet;function M(){return parseInt(this.hot.rootElement.getAttribute((0,u.A11Y_COLCOUNT)()[0]),10)}function I(e){const t=C(T,this,M).call(this)+e;(0,i.setAttribute)(this.hot.rootElement,...(0,u.A11Y_COLCOUNT)(t))}function k(){const e=this.hot.rootElement;this.hasVerticalScroll()?(0,i.addClass)(e,"htHasScrollY"):(0,i.removeClass)(e,"htHasScrollY"),this.isVerticallyScrollableByWindow()?(0,i.addClass)(e,"htVerticallyScrollableByWindow"):(0,i.removeClass)(e,"htVerticallyScrollableByWindow"),this.hasHorizontalScroll()?(0,i.addClass)(e,"htHasScrollX"):(0,i.removeClass)(e,"htHasScrollX"),this.isHorizontallyScrollableByWindow()?(0,i.addClass)(e,"htHorizontallyScrollableByWindow"):(0,i.removeClass)(e,"htHorizontallyScrollableByWindow")}t.default=class{constructor(e){var t,o;p(t=this,o=T),o.add(t),(0,n.default)(this,"hot",void 0),(0,n.default)(this,"eventManager",void 0),(0,n.default)(this,"settings",void 0),(0,n.default)(this,"THEAD",void 0),(0,n.default)(this,"TBODY",void 0),(0,n.default)(this,"_wt",void 0),(0,n.default)(this,"activeWt",void 0),g(this,w,0),g(this,b,0),(0,n.default)(this,"postponedAdjustElementsSize",!1),g(this,v,!1),g(this,y,void 0),g(this,S,void 0),g(this,E,0),g(this,_,0),g(this,R,null),this.hot=e,this.eventManager=new s.default(this.hot),this.settings=this.hot.getSettings(),this.createElements(),this.registerEvents(),this.initializeWalkontable()}render(){if(!this.hot.isRenderSuspended()){const e=this.hot.forceFullRender;this.hot.runHooks("beforeRender",e),this._wt.draw(!e),C(T,this,k).call(this),this.postponedAdjustElementsSize&&(this.postponedAdjustElementsSize=!1,this.adjustElementsSize(!0)),this.hot.runHooks("afterRender",e),this.hot.forceFullRender=!1}}adjustElementsSize(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]?this._wt.wtOverlays.adjustElementsSize():this.postponedAdjustElementsSize=!0}getCellAtCoords(e,t){const o=this._wt.getCell(e,t);return o<0?null:o}scrollViewport(e,t,o){return this._wt.scrollViewport(e,t,o)}scrollViewportHorizontally(e,t){return this._wt.scrollViewportHorizontally(e,t)}scrollViewportVertically(e,t){return this._wt.scrollViewportVertically(e,t)}createElements(){const{rootElement:e,rootDocument:t}=this.hot,o=e.getAttribute("style");o&&e.setAttribute("data-originalstyle",o),(0,i.addClass)(e,"handsontable"),m(S,this,t.createElement("TABLE")),(0,i.addClass)(f(S,this),"htCore"),this.hot.getSettings().tableClassName&&(0,i.addClass)(f(S,this),this.hot.getSettings().tableClassName),this.settings.ariaTags&&((0,i.setAttribute)(f(S,this),[(0,u.A11Y_PRESENTATION)()]),(0,i.setAttribute)(e,[(0,u.A11Y_TREEGRID)(),(0,u.A11Y_ROWCOUNT)(-1),(0,u.A11Y_COLCOUNT)(this.hot.countCols()),(0,u.A11Y_MULTISELECTABLE)()])),this.THEAD=t.createElement("THEAD"),f(S,this).appendChild(this.THEAD),this.TBODY=t.createElement("TBODY"),f(S,this).appendChild(this.TBODY),this.hot.table=f(S,this),this.hot.container.insertBefore(f(S,this),this.hot.container.firstChild)}registerEvents(){const{rootWrapperElement:e,rootElement:t,rootDocument:o,selection:r,rootWindow:n}=this.hot,s=o.documentElement;this.eventManager.addEventListener(t,"mousedown",e=>{m(v,this,!0),this.isTextSelectionAllowed(e.target)||((0,i.clearTextSelection)(n),e.preventDefault(),n.focus())}),this.eventManager.addEventListener(t,"mouseup",()=>{m(v,this,!1)}),this.eventManager.addEventListener(t,"mousemove",e=>{f(v,this)&&!this.isTextSelectionAllowed(e.target)&&(this.settings.fragmentSelection&&(0,i.clearTextSelection)(n),e.preventDefault())}),this.eventManager.addEventListener(s,"keyup",e=>{r.isInProgress()&&!e.shiftKey&&r.finish()}),this.eventManager.addEventListener(s,"mouseup",n=>{r.isInProgress()&&(0,a.isLeftClick)(n)&&r.finish(),m(y,this,!1);const s=(0,i.isOutsideInput)(o.activeElement);(0,i.isInput)(o.activeElement)&&!s||!s&&(r.isSelected()||r.isSelectedByAnyHeader()||(null!=e?e:t).contains(n.target)||(0,a.isRightClick)(n))||this.hot.unlisten()}),this.eventManager.addEventListener(s,"contextmenu",e=>{r.isInProgress()&&(0,a.isRightClick)(e)&&(r.finish(),m(y,this,!1))}),this.eventManager.addEventListener(s,"touchend",()=>{r.isInProgress()&&r.finish(),m(y,this,!1)}),this.eventManager.addEventListener(s,"mousedown",e=>{const r=e.target,n=e.x||e.clientX,a=e.y||e.clientY;let l=e.target;if(f(y,this)||!t||!this.hot.view)return;const{holder:h}=this._wt.wtTable;if(l===h){const e=(0,i.getScrollbarWidth)(o);if(o.elementFromPoint(n+e,a)!==h||o.elementFromPoint(n,a+e)!==h)return}else for(;l!==s;){if(null===l){if(e.isTargetWebComponent)break;return}if(l===t)return;l=l.parentNode}("function"==typeof this.settings.outsideClickDeselects?this.settings.outsideClickDeselects(r):this.settings.outsideClickDeselects)?this.hot.deselectCell():this.hot.destroyEditor(!1,!1)});let l=(0,i.getParentWindow)(n);for(;null!==l;)this.eventManager.addEventListener(l.document.documentElement,"click",()=>{this.hot.unlisten()}),l=(0,i.getParentWindow)(l);this.eventManager.addEventListener(f(S,this),"selectstart",e=>{this.settings.fragmentSelection||(0,i.isInput)(e.target)||e.preventDefault()})}translateFromRenderableToVisualCoords(e){let{row:t,col:o}=e;return this.hot._createCellCoords(...this.translateFromRenderableToVisualIndex(t,o))}translateFromRenderableToVisualIndex(e,t){let o=e>=0?this.hot.rowIndexMapper.getVisualFromRenderableIndex(e):e,r=t>=0?this.hot.columnIndexMapper.getVisualFromRenderableIndex(t):t;return null===o&&(o=e),null===r&&(r=t),[o,r]}countRenderableIndexes(e,t){const o=Math.min(e.getNotTrimmedIndexesLength(),t),r=e.getNearestNotHiddenIndex(o-1,-1);return null===r?0:e.getRenderableFromVisualIndex(r)+1}countRenderableColumns(){return this.countRenderableIndexes(this.hot.columnIndexMapper,this.settings.maxCols)}countRenderableRows(){return this.countRenderableIndexes(this.hot.rowIndexMapper,this.settings.maxRows)}countNotHiddenRowIndexes(e,t){return this.countNotHiddenIndexes(e,t,this.hot.rowIndexMapper,this.countRenderableRows())}countNotHiddenColumnIndexes(e,t){return this.countNotHiddenIndexes(e,t,this.hot.columnIndexMapper,this.countRenderableColumns())}countNotHiddenIndexes(e,t,o,r){if(isNaN(e)||e<0)return 0;const n=o.getNearestNotHiddenIndex(e,t),i=o.getRenderableFromVisualIndex(n);if(!Number.isInteger(i))return 0;let s=0;return t<0?s=i+1:t>0&&(s=r-i),s}countNotHiddenFixedColumnsStart(){const e=this.hot.countCols(),t=Math.min(parseInt(this.settings.fixedColumnsStart,10),e)-1;return this.countNotHiddenColumnIndexes(t,-1)}countNotHiddenFixedRowsTop(){const e=this.hot.countRows(),t=Math.min(parseInt(this.settings.fixedRowsTop,10),e)-1;return this.countNotHiddenRowIndexes(t,-1)}countNotHiddenFixedRowsBottom(){const e=this.hot.countRows(),t=Math.max(e-parseInt(this.settings.fixedRowsBottom,10),0);return this.countNotHiddenRowIndexes(t,1)}countRenderableColumnsInRange(e,t){let o=0;for(let r=e;r<=t;r++)null!==this.hot.columnIndexMapper.getRenderableFromVisualIndex(r)&&(o+=1);return o}countRenderableRowsInRange(e,t){let o=0;for(let r=e;r<=t;r++)null!==this.hot.rowIndexMapper.getRenderableFromVisualIndex(r)&&(o+=1);return o}addClassNameToLicenseElement(e){var t;const o=null===(t=this.hot.rootElement.parentNode)||void 0===t?void 0:t.querySelector(".hot-display-license-info");o&&(0,i.addClass)(o,e)}removeClassNameFromLicenseElement(e){var t;const o=null===(t=this.hot.rootElement.parentNode)||void 0===t?void 0:t.querySelector(".hot-display-license-info");o&&(0,i.removeClass)(o,e)}isMainTableNotFullyCoveredByOverlays(){const e=this.countNotHiddenFixedRowsTop()+this.countNotHiddenFixedRowsBottom(),t=this.countNotHiddenFixedColumnsStart();return this.hot.countRenderedRows()>e&&this.hot.countRenderedCols()>t}initializeWalkontable(){const e={ariaTags:this.settings.ariaTags,rtlMode:this.hot.isRtl(),externalRowCalculator:this.hot.getPlugin("autoRowSize")&&this.hot.getPlugin("autoRowSize").isEnabled(),table:f(S,this),isDataViewInstance:()=>(0,d.isRootInstance)(this.hot),preventOverflow:()=>this.settings.preventOverflow,preventWheel:()=>this.settings.preventWheel,viewportColumnRenderingThreshold:()=>this.settings.viewportColumnRenderingThreshold,viewportRowRenderingThreshold:()=>this.settings.viewportRowRenderingThreshold,data:(e,t)=>this.hot.getDataAtCell(...this.translateFromRenderableToVisualIndex(e,t)),totalRows:()=>this.countRenderableRows(),totalColumns:()=>this.countRenderableColumns(),fixedColumnsStart:()=>this.countNotHiddenFixedColumnsStart(),fixedRowsTop:()=>this.countNotHiddenFixedRowsTop(),fixedRowsBottom:()=>this.countNotHiddenFixedRowsBottom(),shouldRenderInlineStartOverlay:()=>this.settings.fixedColumnsStart>0||e.rowHeaders().length>0,shouldRenderTopOverlay:()=>this.settings.fixedRowsTop>0||e.columnHeaders().length>0,shouldRenderBottomOverlay:()=>this.settings.fixedRowsBottom>0,minSpareRows:()=>this.settings.minSpareRows,renderAllRows:this.settings.renderAllRows,renderAllColumns:this.settings.renderAllColumns,rowHeaders:()=>{const e=[];return this.hot.hasRowHeaders()&&e.push((e,t)=>{const o=e>=0?this.hot.rowIndexMapper.getVisualFromRenderableIndex(e):e;this.appendRowHeader(o,t)}),this.hot.runHooks("afterGetRowHeaderRenderers",e),m(b,this,e.length),this.hot.getSettings().ariaTags&&C(T,this,M).call(this)===this.hot.countCols()&&C(T,this,I).call(this,f(b,this)),e},columnHeaders:()=>{const e=[];return this.hot.hasColHeaders()&&e.push((e,t)=>{const o=e>=0?this.hot.columnIndexMapper.getVisualFromRenderableIndex(e):e;this.appendColHeader(o,t)}),this.hot.runHooks("afterGetColumnHeaderRenderers",e),m(w,this,e.length),e},columnWidth:e=>{const t=this.hot.columnIndexMapper.getVisualFromRenderableIndex(e);return this.hot.getColWidth(null===t?e:t)},rowHeight:e=>{const t=this.hot.rowIndexMapper.getVisualFromRenderableIndex(e);return this.hot.getRowHeight(null===t?e:t)},rowHeightByOverlayName:(e,t)=>{const o=this.hot.rowIndexMapper.getVisualFromRenderableIndex(e),r=null===o?e:o;return this.hot.runHooks("modifyRowHeightByOverlayName",this.hot.getRowHeight(r),r,t)},cellRenderer:(e,t,o)=>{const[r,n]=this.translateFromRenderableToVisualIndex(e,t),i=this.hot.runHooks("modifyGetCellCoords",r,n,!1,"meta");let s=r,a=n;Array.isArray(i)&&([s,a]=i);const l=this.hot.getCellMeta(s,a),h=this.hot.colToProp(a);let d=this.hot.getDataAtRowProp(s,h);this.hot.hasHook("beforeValueRender")&&(d=this.hot.runHooks("beforeValueRender",d,l));const c=this.hot.getCellRenderer(l);let u=d;"function"==typeof l.valueFormatter?u=l.valueFormatter(u,l):"function"==typeof c.valueFormatter&&(u=c.valueFormatter.call(l,u,l)),this.hot.runHooks("beforeRenderer",o,r,n,h,d,l);const g=[this.hot,o,r,n,h,u,l];c(...g),l._isBaseRendererCalled||this.hot.getCellRenderer({renderer:"base"})(...g),this.hot.runHooks("afterRenderer",o,r,n,h,d,l),l._isBaseRendererCalled=!1},selections:this.hot.selection.highlight,hideBorderOnMouseDownOver:()=>this.settings.fragmentSelection,onWindowResize:()=>{this.hot&&!this.hot.isDestroyed&&this.hot.refreshDimensions()},onContainerElementResize:()=>{this.hot&&!this.hot.isDestroyed&&(0,i.isVisible)(this.hot.rootElement)&&this.hot.refreshDimensions()},onCellMouseDown:(e,t,o,r)=>{const n=this.translateFromRenderableToVisualCoords(t),i={row:!1,column:!1,cell:!1};this.hot.listen(),this.activeWt=r,m(y,this,!0),m(R,this,{x:e.clientX,y:e.clientY}),this.hot.runHooks("beforeOnCellMouseDown",e,n,o,i),(0,a.isImmediatePropagationStopped)(e)||((0,h.handleMouseEvent)(e,{coords:n,selection:this.hot.selection,controller:i,cellCoordsFactory:(e,t)=>this.hot._createCellCoords(e,t)}),this.hot.runHooks("afterOnCellMouseDown",e,n,o),this.activeWt=this._wt)},onCellContextMenu:(e,t,o,r)=>{const n=this.translateFromRenderableToVisualCoords(t);this.activeWt=r,m(y,this,!1),this.hot.selection.isInProgress()&&this.hot.selection.finish(),this.hot.runHooks("beforeOnCellContextMenu",e,n,o),(0,a.isImmediatePropagationStopped)(e)||(this.hot.runHooks("afterOnCellContextMenu",e,n,o),this.activeWt=this._wt)},onCellMouseOut:(e,t,o,r)=>{const n=this.translateFromRenderableToVisualCoords(t);this.activeWt=r,this.hot.runHooks("beforeOnCellMouseOut",e,n,o),(0,a.isImmediatePropagationStopped)(e)||(this.hot.runHooks("afterOnCellMouseOut",e,n,o),this.activeWt=this._wt)},onCellMouseOver:(e,t,o,r)=>{const n=this.translateFromRenderableToVisualCoords(t),i={row:!1,column:!1,cell:!1};this.activeWt=r,this.hot.runHooks("beforeOnCellMouseOver",e,n,o,i),(0,a.isImmediatePropagationStopped)(e)||(!f(y,this)||f(R,this)&&f(R,this).x===e.clientX&&f(R,this).y===e.clientY||(0,h.handleMouseEvent)(e,{coords:n,selection:this.hot.selection,controller:i,cellCoordsFactory:(e,t)=>this.hot._createCellCoords(e,t)}),this.hot.runHooks("afterOnCellMouseOver",e,n,o),this.activeWt=this._wt,m(R,this,null))},onCellMouseUp:(e,t,o,r)=>{const n=this.translateFromRenderableToVisualCoords(t);this.activeWt=r,this.hot.runHooks("beforeOnCellMouseUp",e,n,o),(0,a.isImmediatePropagationStopped)(e)||this.hot.isDestroyed||((0,h.handleMouseEvent)(e,{coords:n,selection:this.hot.selection,cellRangeMapper:(0,c.resolveWithInstance)(this.hot,"cellRangeMapper")}),this.hot.runHooks("afterOnCellMouseUp",e,n,o),this.activeWt=this._wt)},onCellCornerMouseDown:e=>{e.preventDefault(),this.hot.runHooks("afterOnCellCornerMouseDown",e)},onCellCornerDblClick:e=>{e.preventDefault(),this.hot.runHooks("afterOnCellCornerDblClick",e)},beforeDraw:(e,t)=>this.beforeRender(e,t),onDraw:e=>this.afterRender(e),onBeforeViewportScrollVertically:(e,t)=>{const o=this.hot.rowIndexMapper,r=e<0;let n=e;return r||(n=o.getVisualFromRenderableIndex(e),null!==n)?(n=this.hot.runHooks("beforeViewportScrollVertically",n,t),this.hot.runHooks("beforeViewportScroll"),r?n:o.getRenderableFromVisualIndex(n)):e},onBeforeViewportScrollHorizontally:(e,t)=>{const o=this.hot.columnIndexMapper,r=e<0;let n=e;return r||(n=o.getVisualFromRenderableIndex(e),null!==n)?(n=this.hot.runHooks("beforeViewportScrollHorizontally",n,t),this.hot.runHooks("beforeViewportScroll"),r?n:o.getRenderableFromVisualIndex(n)):e},onScrollVertically:()=>{this.hot.runHooks("afterScrollVertically"),this.hot.runHooks("afterScroll")},onScrollHorizontally:()=>{this.hot.runHooks("afterScrollHorizontally"),this.hot.runHooks("afterScroll")},onBeforeRemoveCellClassNames:()=>this.hot.runHooks("beforeRemoveCellClassNames"),onBeforeHighlightingRowHeader:(e,t,o)=>{const r=this.hot.rowIndexMapper,n=e<0;let i=e;n||(i=r.getVisualFromRenderableIndex(e));const s=this.hot.runHooks("beforeHighlightingRowHeader",i,t,o);return n?s:r.getRenderableFromVisualIndex(r.getNearestNotHiddenIndex(s,1))},onBeforeHighlightingColumnHeader:(e,t,o)=>{const r=this.hot.columnIndexMapper,n=e<0;let i=e;n||(i=r.getVisualFromRenderableIndex(e));const s=this.hot.runHooks("beforeHighlightingColumnHeader",i,t,o);return n?s:r.getRenderableFromVisualIndex(r.getNearestNotHiddenIndex(s,1))},onAfterDrawSelection:(e,t,o)=>{let r;const[n,i]=this.translateFromRenderableToVisualIndex(e,t),s=this.hot.selection.getSelectedRange();if(s.size()>0){const e=s.peekByIndex(null!=o?o:0);r=[e.from.row,e.from.col,e.to.row,e.to.col]}return this.hot.runHooks("afterDrawSelection",n,i,r,o)},onBeforeDrawBorders:(e,t)=>{const[o,r,n,i]=e,s=[this.hot.rowIndexMapper.getVisualFromRenderableIndex(o),this.hot.columnIndexMapper.getVisualFromRenderableIndex(r),this.hot.rowIndexMapper.getVisualFromRenderableIndex(n),this.hot.columnIndexMapper.getVisualFromRenderableIndex(i)];return this.hot.runHooks("beforeDrawBorders",s,t)},onBeforeTouchScroll:()=>this.hot.runHooks("beforeTouchScroll"),onAfterMomentumScroll:()=>this.hot.runHooks("afterMomentumScroll"),onModifyRowHeaderWidth:e=>this.hot.runHooks("modifyRowHeaderWidth",e),onModifyGetCellCoords:(e,t,o,r)=>{const n=this.hot.rowIndexMapper,i=this.hot.columnIndexMapper,s=t>=0?i.getVisualFromRenderableIndex(t):t,a=e>=0?n.getVisualFromRenderableIndex(e):e,l=this.hot.runHooks("modifyGetCellCoords",a,s,o,r);if(Array.isArray(l)){const[e,t,o,r]=l;return[e>=0?n.getRenderableFromVisualIndex(n.getNearestNotHiddenIndex(e,1)):e,t>=0?i.getRenderableFromVisualIndex(i.getNearestNotHiddenIndex(t,1)):t,o>=0?n.getRenderableFromVisualIndex(n.getNearestNotHiddenIndex(o,-1)):o,r>=0?i.getRenderableFromVisualIndex(i.getNearestNotHiddenIndex(r,-1)):r]}},onModifyGetCoordsElement:(e,t)=>{const o=this.hot.rowIndexMapper,r=this.hot.columnIndexMapper,n=t>=0?r.getVisualFromRenderableIndex(t):t,i=e>=0?o.getVisualFromRenderableIndex(e):e,s=this.hot.runHooks("modifyGetCoordsElement",i,n);if(Array.isArray(s)){const[e,t]=s;return[e>=0?o.getRenderableFromVisualIndex(o.getNearestNotHiddenIndex(e,1)):e,t>=0?r.getRenderableFromVisualIndex(r.getNearestNotHiddenIndex(t,1)):t]}},viewportRowCalculatorOverride:e=>{let t=this.settings.viewportRowRenderingOffset;if("auto"===t&&this.settings.fixedRowsTop&&(t=10),t>0||"auto"===t){const o=this.countRenderableRows(),r=e.startRow,n=e.endRow;if("number"==typeof t)e.startRow=Math.max(r-t,0),e.endRow=Math.min(n+t,o-1);else if("auto"===t){const t=Math.max(1,Math.ceil(n/o*12));e.startRow=Math.max(r-t,0),e.endRow=Math.min(n+t,o-1)}}this.hot.runHooks("afterViewportRowCalculatorOverride",e)},viewportColumnCalculatorOverride:e=>{let t=this.settings.viewportColumnRenderingOffset;if("auto"===t&&this.settings.fixedColumnsStart&&(t=10),t>0||"auto"===t){const o=this.countRenderableColumns(),r=e.startColumn,n=e.endColumn;if("number"==typeof t&&(e.startColumn=Math.max(r-t,0),e.endColumn=Math.min(n+t,o-1)),"auto"===t){const t=Math.max(1,Math.ceil(n/o*6));e.startColumn=Math.max(r-t,0),e.endColumn=Math.min(n+t,o-1)}}this.hot.runHooks("afterViewportColumnCalculatorOverride",e)},rowHeaderWidth:()=>this.settings.rowHeaderWidth,columnHeaderHeight:()=>{const e=this.hot.runHooks("modifyColumnHeaderHeight");return this.settings.columnHeaderHeight||e},stylesHandler:()=>this.hot.stylesHandler};this.hot.runHooks("beforeInitWalkontable",e),this._wt=new l.default(e),this.activeWt=this._wt;const t=this._wt.wtTable.spreader,{width:o,height:r}=this.hot.rootElement.getBoundingClientRect();this.setLastSize(o,r),this.eventManager.addEventListener(t,"mousedown",e=>{e.target===t&&3===e.which&&e.stopPropagation()}),this.eventManager.addEventListener(t,"contextmenu",e=>{e.target===t&&3===e.which&&e.stopPropagation()}),this.eventManager.addEventListener(this.hot.rootDocument.documentElement,"click",()=>{this.settings.observeDOMVisibility&&this._wt.drawInterrupted&&this.hot.render()})}isTextSelectionAllowed(e){var t,o;if((0,i.isInput)(e))return!0;const r=(0,i.isChildOf)(e,this._wt.wtTable.spreader);if(!0===this.settings.fragmentSelection&&r)return!0;const n=null!==(t=null===(o=this.hot.getSelectedRangeActive())||void 0===o?void 0:o.isSingleCell())&&void 0!==t&&t;return!("cell"!==this.settings.fragmentSelection||!n||!r)||!(this.settings.fragmentSelection||!this.isCellEdited()||!n)}isMouseDown(){return f(y,this)}isCellEdited(){const e=this.hot.getActiveEditor();return e&&e.isOpened()}beforeRender(e,t){e&&this.hot.runHooks("beforeViewRender",this.hot.forceFullRender,t)}afterRender(e){e&&this.hot.runHooks("afterViewRender",this.hot.forceFullRender)}appendRowHeader(e,t){if(t.firstChild){const o=t.firstChild;if(!(0,i.hasClass)(o,"relative"))return(0,i.empty)(t),void this.appendRowHeader(e,t);this.updateCellHeader(o.querySelector(".rowHeader"),e,this.hot.getRowHeader)}else{const{rootDocument:o,getRowHeader:r}=this.hot,n=o.createElement("div"),i=o.createElement("span");n.className="relative",i.className="rowHeader",this.updateCellHeader(i,e,r),n.appendChild(i),t.appendChild(n)}this.hot.runHooks("afterGetRowHeader",e,t)}appendColHeader(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hot.getColHeader,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const n=()=>{const t=e>=0?this.hot.getColumnMeta(e).headerClassName:null;return t?t.split(" "):[]};if(t.firstChild){const s=t.firstChild;(0,i.hasClass)(s,"relative")?(this.updateCellHeader(s.querySelector(".colHeader"),e,o,r),s.className="",(0,i.addClass)(s,["relative",...n()])):((0,i.empty)(t),this.appendColHeader(e,t,o,r))}else{const{rootDocument:s}=this.hot,a=s.createElement("div"),l=s.createElement("span"),h=n();a.classList.add("relative",...h),l.className="colHeader",this.settings.ariaTags&&((0,i.setAttribute)(a,...(0,u.A11Y_PRESENTATION)()),(0,i.setAttribute)(l,...(0,u.A11Y_PRESENTATION)())),this.updateCellHeader(l,e,o,r),a.appendChild(l),t.appendChild(a)}this.hot.runHooks("afterGetColHeader",e,t,r)}updateCellHeader(e,t,o){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,n=t;const s=this._wt.wtOverlays.getParentOverlay(e)||this._wt;e.parentNode&&((0,i.hasClass)(e,"colHeader")?n=s.wtTable.columnFilter.sourceToRendered(t):(0,i.hasClass)(e,"rowHeader")&&(n=s.wtTable.rowFilter.sourceToRendered(t))),n>-1?(0,i.fastInnerHTML)(e,o(t,r),this.hot.getSettings().sanitizer):((0,i.fastInnerText)(e,String.fromCharCode(160)),(0,i.addClass)(e,"cornerHeader"))}maximumVisibleElementWidth(e){const t=this._wt.wtViewport.getWorkspaceWidth()-e;return t>0?t:0}maximumVisibleElementHeight(e){const t=this._wt.wtViewport.getWorkspaceHeight()-e;return t>0?t:0}setLastSize(e,t){m(E,this,e),m(_,this,t)}getLastSize(){return{width:f(E,this),height:f(_,this)}}getFirstRenderedVisibleRow(){if(!this._wt.wtViewport.rowsRenderCalculator)return null;const e=this.hot.rowIndexMapper,t=e.getVisualFromRenderableIndex(this._wt.wtTable.getFirstRenderedRow());return e.getNearestNotHiddenIndex(null!=t?t:0,1)}getLastRenderedVisibleRow(){if(!this._wt.wtViewport.rowsRenderCalculator)return null;const e=this.hot.rowIndexMapper,t=e.getVisualFromRenderableIndex(this._wt.wtTable.getLastRenderedRow());return e.getNearestNotHiddenIndex(null!=t?t:this.hot.countRows()-1,-1)}getFirstRenderedVisibleColumn(){if(!this._wt.wtViewport.columnsRenderCalculator)return null;const e=this.hot.columnIndexMapper,t=e.getVisualFromRenderableIndex(this._wt.wtTable.getFirstRenderedColumn());return e.getNearestNotHiddenIndex(null!=t?t:0,1)}getLastRenderedVisibleColumn(){if(!this._wt.wtViewport.columnsRenderCalculator)return null;const e=this.hot.columnIndexMapper,t=e.getVisualFromRenderableIndex(this._wt.wtTable.getLastRenderedColumn());return e.getNearestNotHiddenIndex(null!=t?t:this.hot.countCols()-1,-1)}getFirstFullyVisibleRow(){return this.hot.rowIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getFirstVisibleRow())}getLastFullyVisibleRow(){return this.hot.rowIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getLastVisibleRow())}getFirstFullyVisibleColumn(){return this.hot.columnIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getFirstVisibleColumn())}getLastFullyVisibleColumn(){return this.hot.columnIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getLastVisibleColumn())}getFirstPartiallyVisibleRow(){return this.hot.rowIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getFirstPartiallyVisibleRow())}getLastPartiallyVisibleRow(){return this.hot.rowIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getLastPartiallyVisibleRow())}getFirstPartiallyVisibleColumn(){return this.hot.columnIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getFirstPartiallyVisibleColumn())}getLastPartiallyVisibleColumn(){return this.hot.columnIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getLastPartiallyVisibleColumn())}getColumnHeadersCount(){return f(w,this)}getRowHeadersCount(){return f(b,this)}getViewportWidth(){return this._wt.wtViewport.getViewportWidth()}getWorkspaceWidth(){return this._wt.wtViewport.getWorkspaceWidth()}getViewportHeight(){return this._wt.wtViewport.getViewportHeight()}getWorkspaceHeight(){return this._wt.wtViewport.getWorkspaceHeight()}getElementOverlayName(e){var t;return(null!==(t=this._wt.wtOverlays.getParentOverlay(e))&&void 0!==t?t:this._wt).wtTable.name}getOverlayByName(e){return this._wt.getOverlayByName(e)}getActiveOverlayName(){return this._wt.activeOverlayName}isVisible(){return this._wt.wtTable.isVisible()}hasVerticalScroll(){return this._wt.wtViewport.hasVerticalScroll()}hasHorizontalScroll(){return this._wt.wtViewport.hasHorizontalScroll()}getTableWidth(){return this._wt.wtTable.getWidth()}getTableHeight(){return this._wt.wtTable.getHeight()}getTotalTableWidth(){return this._wt.wtTable.getTotalWidth()}getTotalTableHeight(){return this._wt.wtTable.getTotalHeight()}getTableOffset(){return this._wt.wtViewport.getWorkspaceOffset()}getTableScrollPosition(){return{left:this._wt.wtTable.holder.scrollLeft,top:this._wt.wtTable.holder.scrollTop}}setTableScrollPosition(e){this._wt.wtTable.holder.scrollLeft=e.left,this._wt.wtTable.holder.scrollTop=e.top}getRowHeaderWidth(){return this._wt.wtViewport.getRowHeaderWidth()}getColumnHeaderHeight(){return this._wt.wtViewport.getColumnHeaderHeight()}isVerticallyScrollableByWindow(){return this._wt.wtViewport.isVerticallyScrollableByWindow()}isHorizontallyScrollableByWindow(){return this._wt.wtViewport.isHorizontallyScrollableByWindow()}destroy(){this._wt.destroy(),this.eventManager.destroy()}}},62764(e,t,o){"use strict";var r=o(62682);t.__esModule=!0,t.createTheme=function(e){return new E(e)};var n=o(38888),i=r(o(80995)),s=r(o(22057)),a=o(15238),l=o(26070),h=o(26032);function d(e,t,o){c(e,t),t.set(e,o)}function c(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function u(e,t){return e.get(p(e,t))}function g(e,t,o){return e.set(p(e,t),o),o}function p(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}const f=["sizing","icons","colors","tokens"],m=["name","icons","colors","tokens"];var C=new WeakMap,w=new WeakMap,b=new WeakMap,v=new WeakMap,y=new WeakMap,S=new WeakSet;class E{constructor(e){var t,o;c(t=this,o=S),o.add(t),d(this,C,void 0),d(this,w,void 0),d(this,b,new Set),d(this,v,"auto"),d(this,y,"default"),(0,a.validateParams)(e,"themeConfig",{requiredFields:m}),g(C,this,{name:void 0,sizing:i.default,density:{type:u(y,this),sizes:s.default},icons:{},colors:{},tokens:{},colorScheme:u(v,this)}),p(S,this,T).call(this,e),g(C,this,u(w,this))}subscribe(e){return"function"!=typeof e&&(0,h.throwWithCause)("[ThemeBuilder] listener must be a function."),u(b,this).add(e),()=>u(b,this).delete(e)}params(e){return(0,a.validateParams)(e,"params"),p(S,this,T).call(this,e),p(S,this,_).call(this),this}setColorScheme(e){return g(v,this,(0,a.validateColorScheme)(e)),u(w,this).colorScheme=u(v,this),u(C,this).colorScheme=u(v,this),p(S,this,_).call(this),this}setDensityType(e){return g(y,this,(0,a.validateDensityType)(e)),u(w,this).density.type=u(y,this),u(C,this).density.type=u(y,this),p(S,this,_).call(this),this}getThemeConfig(){return u(w,this)}}function _(){const e=this.getThemeConfig();u(b,this).forEach(t=>t(e))}function R(e,t){var o;if((0,n.isObject)(t))e.density=(0,n.deepMerge)(e.density,t),g(y,this,t.type),null!==(o=u(C,this))&&void 0!==o&&o.density&&(u(C,this).density.type=t.type);else if("string"==typeof t){var r;e.density.type=t,g(y,this,t),null!==(r=u(C,this))&&void 0!==r&&r.density&&(u(C,this).density.type=t)}}function T(e){const t=(0,n.deepClone)(u(C,this));var o;(void 0!==e.name&&(void 0!==u(C,this).name?(0,l.warn)('[ThemeBuilder] The "name" property can only be set during `registerTheme()` and cannot be updated via `params()`.'):t.name=e.name),f.forEach(o=>{void 0!==e[o]&&(0,n.isObject)(e[o])&&(t[o]=(0,n.deepMerge)(t[o],e[o]))}),void 0!==e.density&&p(S,this,R).call(this,t,e.density),void 0!==e.colorScheme)&&(t.colorScheme=e.colorScheme,g(v,this,e.colorScheme),null!==(o=u(C,this))&&void 0!==o&&o.colorScheme&&(u(C,this).colorScheme=e.colorScheme));g(w,this,t)}},38579(e,t,o){"use strict";t.__esModule=!0;var r=o(62764);t.createTheme=r.createTheme;var n=o(27364);t.createThemeManager=n.createThemeManager},27364(e,t,o){"use strict";var r=o(62682);t.__esModule=!0,t.createThemeManager=function(e){let{hot:t,themeObject:o}=e;return new c({hot:t,themeObject:o})};var n=r(o(43685)),i=o(1895),s=o(26032),a=o(82573);function l(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function h(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var d=new WeakSet;class c{constructor(e){let{hot:t,themeObject:o}=e;l(this,d),(0,n.default)(this,"hot",void 0),(0,n.default)(this,"themeStyles",void 0),(0,n.default)(this,"themeClassName",void 0),(0,n.default)(this,"themeConfig",void 0),this.hot=t,this.update(o)}getClassName(){return this.themeClassName}update(e){this.hot&&(void 0===e.getThemeConfig&&(0,s.throwWithCause)('[ThemeManager] The "theme" option must be an instance of ThemeBuilder.'),this.themeConfig=e.getThemeConfig(),this.themeClassName=`ht-theme-${this.themeConfig.name}`,"function"==typeof e.subscribe&&e.subscribe(e=>{var t;null!==(t=this.hot)&&void 0!==t&&t.stylesHandler&&(this.themeConfig=e,h(d,this,u).call(this),this.hot.stylesHandler.clearCache(),this.hot.render(),this.hot.runHooks("afterSetTheme",this.themeClassName,!1))}),this.mount(),this.hot.runHooks("afterSetTheme",this.themeClassName,!0))}mount(){h(d,this,u).call(this)}unmount(){this.themeStyles&&this.themeStyles.remove()}destroy(){this.unmount(),this.hot.themeManager=null}}function u(){if(!(this.themeConfig&&this.hot&&this.hot.rootDocument&&this.hot.rootWrapperElement))return;const e="auto"===this.themeConfig.colorScheme?"light dark":this.themeConfig.colorScheme;this.themeStyles?this.themeStyles.textContent="":this.themeStyles=this.hot.rootDocument.createElement("style"),this.themeStyles.textContent=`:where(.${this.themeClassName}) {\n`,this.themeStyles.textContent+=`color-scheme: ${e};\n`,this.themeConfig.sizing&&(this.themeStyles.textContent+=(0,a.flattenCssVariables)(this.themeConfig.sizing,"sizing")),this.themeConfig.density&&this.themeConfig.density.type&&this.themeConfig.density.sizes&&this.themeConfig.density.sizes[this.themeConfig.density.type]&&(this.themeStyles.textContent+=(0,a.flattenCssVariables)(this.themeConfig.density.sizes[this.themeConfig.density.type],"density")),this.themeConfig.colors&&(this.themeStyles.textContent+=(0,a.flattenCssVariables)(this.themeConfig.colors,"colors")),this.themeConfig.tokens&&(this.themeStyles.textContent+=(0,a.flattenCssVariables)(this.themeConfig.tokens)),this.themeConfig.icons&&(this.themeStyles.textContent+=(0,i.iconsMap)(this.themeConfig.icons)),this.themeStyles.textContent+="}",this.hot.rootWrapperElement&&this.hot.rootWrapperElement.querySelector("style")?this.hot.rootWrapperElement.querySelector("style").textContent=this.themeStyles.textContent:this.hot.rootWrapperElement.prepend(this.themeStyles)}t.ThemeManager=c},82573(e,t,o){"use strict";t.__esModule=!0,t.flattenCssVariables=function e(t){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a="";return Object.entries(t).forEach(t=>{let[h,d]=t;const c=(0,n.toHyphen)(h),u=s?`${s}-${c}`:c;(0,r.isObject)(d)?a+=e(d,o,u):a+=`${function(e,t,o){return`${function(e,t){return`${i}${e?`${e}-`:""}${(0,n.toHyphen)(t)}`}(e,t)}: ${l(o,t)};`}(o,u,d)}\n`}),a};var r=o(38888),n=o(23862);const i="--ht-",s=["font-family"],a=["tokens.","colors.","sizing.","density."];function l(e,t){if(function(e){return"string"==typeof e&&a.some(t=>e.includes(t))}(e))return(o=e).includes("tokens.")?`var(${i}${(0,n.toHyphen)(o.split(".").slice(1).join("-"))})`:`var(${i}${(0,n.toHyphen)(o.split(".").join("-"))})`;var o;if(Array.isArray(e)){if(e.length>=2){const[o,r]=e;return"string"==typeof o&&"string"==typeof r?`light-dark(${l(o,t)}, ${l(r,t)})`:"string"==typeof o?l(o,t):"string"==typeof r?l(r,t):""}return l(e[0],t)}return t&&s.includes(t)?String(e):(0,n.toHyphen)(e)}},15238(e,t,o){"use strict";t.__esModule=!0,t.validateColorScheme=c,t.validateDensityType=u,t.validateParams=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{requiredFields:a=[]}=o;"object"==typeof e&&null!==e||(0,i.throwWithCause)(`[ThemeBuilder] ${t} must be an object.`);const{name:f,sizing:m,density:C,icons:w,colors:b,tokens:v,colorScheme:y}=e;p(e,s,t,{type:"param"}),a.forEach(o=>{void 0===e[o]&&(0,i.throwWithCause)(`[ThemeBuilder] ${t}.${o} is required.`)}),void 0!==f&&function(e,t){"string"==typeof e&&""!==e.trim()||(0,i.throwWithCause)(`[ThemeBuilder] ${t}.name must be a non-empty string.`)}(f,t);void 0!==m&&((0,r.isObject)(m)||(0,i.throwWithCause)(`[ThemeBuilder] ${t}.sizing must be an object.`));void 0!==C&&((0,r.isObject)(C)||"string"==typeof C||(0,i.throwWithCause)(`[ThemeBuilder] ${t}.density must be a string or an object.`),function(e,t){(0,r.isObject)(e)?(e.type&&e.sizes||(0,i.throwWithCause)(`[ThemeBuilder] ${t} must be a string or an object with a 'type' and 'sizes' property.`),u(e.type),function(e,t){(0,r.isObject)(e)||(0,i.throwWithCause)(`[ThemeBuilder] ${t}.sizes must be an object.`);Object.keys(e).forEach(e=>{l.has(e)||(0,n.warn)(`[ThemeBuilder] Unknown density size key: "${e}" in ${t}.sizes. This may be a custom density size or a typo.`)})}(e.sizes,`${t}.sizes`)):"string"==typeof e&&u(e)}(C,`${t}.density`));void 0!==w&&((0,r.isObject)(w)||(0,i.throwWithCause)(`[ThemeBuilder] ${t}.icons must be an object.`),p(w,h,`${t}.icons`,{type:"icon",warnMissing:a.includes("icons")}));void 0!==b&&((0,r.isObject)(b)||(0,i.throwWithCause)(`[ThemeBuilder] ${t}.colors must be an object.`),g(b,`${t}.colors`));void 0!==v&&((0,r.isObject)(v)||(0,i.throwWithCause)(`[ThemeBuilder] ${t}.tokens must be an object.`),p(v,d,`${t}.tokens`,{type:"token",warnMissing:a.includes("tokens")}));void 0!==y&&c(y)};var r=o(38888),n=o(26070),i=o(26032);const s=new Set(["name","sizing","density","icons","colors","tokens","colorScheme"]),a=new Set(["light","dark","auto"]),l=new Set(["default","compact","comfortable"]),h=t.VALID_ICON_KEYS=new Set(["arrowRight","arrowRightWithBar","arrowLeft","arrowLeftWithBar","arrowDown","menu","selectArrow","arrowNarrowUp","arrowNarrowDown","check","checkbox","caretHiddenLeft","caretHiddenRight","caretHiddenUp","caretHiddenDown","collapseOff","collapseOn","radio","chipClose","search"]),d=new Set(["fontFamily","fontSize","fontSizeSmall","lineHeight","lineHeightSmall","fontWeight","letterSpacing","gapSize","iconSize","tableTransition","borderColor","accentColor","foregroundColor","foregroundSecondaryColor","backgroundColor","backgroundSecondaryColor","placeholderColor","readOnlyColor","disabledColor","shadowColor","shadowX","shadowY","shadowBlur","shadowOpacity","barForegroundColor","barBackgroundColor","barHorizontalPadding","barVerticalPadding","cellHorizontalBorderColor","cellVerticalBorderColor","cellHorizontalPadding","cellVerticalPadding","wrapperBorderWidth","wrapperBorderRadius","wrapperBorderColor","rowHeaderOddBackgroundColor","rowHeaderEvenBackgroundColor","rowCellOddBackgroundColor","rowCellEvenBackgroundColor","cellEditorBorderWidth","cellEditorBorderColor","cellEditorForegroundColor","cellEditorBackgroundColor","cellEditorShadowBlurRadius","cellEditorShadowColor","cellSuccessBackgroundColor","cellErrorBackgroundColor","cellReadOnlyBackgroundColor","cellSelectionBorderColor","cellSelectionBackgroundColor","cellAutofillSize","cellAutofillHitAreaSize","cellAutofillBorderWidth","cellAutofillBorderRadius","cellAutofillBorderColor","cellAutofillBackgroundColor","cellAutofillFillBorderColor","cellMobileHandleSize","cellMobileHandleBorderWidth","cellMobileHandleBorderRadius","cellMobileHandleBorderColor","cellMobileHandleBackgroundColor","cellMobileHandleBackgroundOpacity","resizeIndicatorColor","moveBacklightColor","moveBacklightOpacity","moveIndicatorColor","hiddenIndicatorColor","scrollbarBorderRadius","scrollbarTrackColor","scrollbarThumbColor","headerFontWeight","headerForegroundColor","headerBackgroundColor","headerHighlightedShadowSize","headerHighlightedForegroundColor","headerHighlightedBackgroundColor","headerActiveBorderColor","headerActiveForegroundColor","headerActiveBackgroundColor","headerFilterBackgroundColor","headerRowForegroundColor","headerRowBackgroundColor","headerRowHighlightedForegroundColor","headerRowHighlightedBackgroundColor","headerRowActiveForegroundColor","headerRowActiveBackgroundColor","checkboxSize","checkboxBorderRadius","checkboxBorderColor","checkboxBackgroundColor","checkboxIconColor","checkboxFocusBorderColor","checkboxFocusBackgroundColor","checkboxFocusIconColor","checkboxFocusRingColor","checkboxDisabledBorderColor","checkboxDisabledBackgroundColor","checkboxDisabledIconColor","checkboxCheckedBorderColor","checkboxCheckedBackgroundColor","checkboxCheckedIconColor","checkboxCheckedFocusBorderColor","checkboxCheckedFocusBackgroundColor","checkboxCheckedFocusIconColor","checkboxCheckedDisabledBorderColor","checkboxCheckedDisabledBackgroundColor","checkboxCheckedDisabledIconColor","checkboxIndeterminateBorderColor","checkboxIndeterminateBackgroundColor","checkboxIndeterminateIconColor","checkboxIndeterminateFocusBorderColor","checkboxIndeterminateFocusBackgroundColor","checkboxIndeterminateFocusIconColor","checkboxIndeterminateDisabledBorderColor","checkboxIndeterminateDisabledBackgroundColor","checkboxIndeterminateDisabledIconColor","radioSize","radioBorderColor","radioBackgroundColor","radioIconColor","radioFocusBorderColor","radioFocusBackgroundColor","radioFocusIconColor","radioFocusRingColor","radioDisabledBorderColor","radioDisabledBackgroundColor","radioDisabledIconColor","radioCheckedBorderColor","radioCheckedBackgroundColor","radioCheckedIconColor","radioCheckedFocusBorderColor","radioCheckedFocusBackgroundColor","radioCheckedFocusIconColor","radioCheckedDisabledBorderColor","radioCheckedDisabledBackgroundColor","radioCheckedDisabledIconColor","iconButtonBorderRadius","iconButtonLargeBorderRadius","iconButtonLargePadding","iconButtonBorderColor","iconButtonBackgroundColor","iconButtonIconColor","iconButtonHoverBorderColor","iconButtonHoverBackgroundColor","iconButtonHoverIconColor","iconButtonActiveBorderColor","iconButtonActiveBackgroundColor","iconButtonActiveIconColor","iconButtonActiveHoverBorderColor","iconButtonActiveHoverBackgroundColor","iconButtonActiveHoverIconColor","collapseButtonBorderRadius","collapseButtonOpenBorderColor","collapseButtonOpenBackgroundColor","collapseButtonOpenIconColor","collapseButtonOpenIconActiveColor","collapseButtonOpenHoverBorderColor","collapseButtonOpenHoverBackgroundColor","collapseButtonOpenHoverIconColor","collapseButtonOpenHoverIconActiveColor","collapseButtonCloseBorderColor","collapseButtonCloseBackgroundColor","collapseButtonCloseIconColor","collapseButtonCloseIconActiveColor","collapseButtonCloseHoverBorderColor","collapseButtonCloseHoverBackgroundColor","collapseButtonCloseHoverIconColor","collapseButtonCloseHoverIconActiveColor","buttonBorderRadius","buttonHorizontalPadding","buttonVerticalPadding","primaryButtonBorderColor","primaryButtonForegroundColor","primaryButtonBackgroundColor","primaryButtonDisabledBorderColor","primaryButtonDisabledForegroundColor","primaryButtonDisabledBackgroundColor","primaryButtonHoverBorderColor","primaryButtonHoverForegroundColor","primaryButtonHoverBackgroundColor","primaryButtonFocusBorderColor","primaryButtonFocusForegroundColor","primaryButtonFocusBackgroundColor","secondaryButtonBorderColor","secondaryButtonForegroundColor","secondaryButtonBackgroundColor","secondaryButtonDisabledBorderColor","secondaryButtonDisabledForegroundColor","secondaryButtonDisabledBackgroundColor","secondaryButtonHoverBorderColor","secondaryButtonHoverForegroundColor","secondaryButtonHoverBackgroundColor","secondaryButtonFocusBorderColor","secondaryButtonFocusForegroundColor","secondaryButtonFocusBackgroundColor","commentsTextareaHorizontalPadding","commentsTextareaVerticalPadding","commentsTextareaBorderWidth","commentsTextareaBorderColor","commentsTextareaForegroundColor","commentsTextareaBackgroundColor","commentsTextareaFocusBorderWidth","commentsTextareaFocusBorderColor","commentsTextareaFocusForegroundColor","commentsTextareaFocusBackgroundColor","commentsIndicatorSize","commentsIndicatorColor","licenseHorizontalPadding","licenseVerticalPadding","licenseForegroundColor","licenseBackgroundColor","linkColor","linkHoverColor","inputBorderWidth","inputBorderRadius","inputHorizontalPadding","inputVerticalPadding","inputBorderColor","inputForegroundColor","inputBackgroundColor","inputHoverBorderColor","inputHoverForegroundColor","inputHoverBackgroundColor","inputDisabledBorderColor","inputDisabledForegroundColor","inputDisabledBackgroundColor","inputFocusBorderColor","inputFocusForegroundColor","inputFocusBackgroundColor","menuBorderWidth","menuBorderRadius","menuHorizontalPadding","menuVerticalPadding","menuItemHorizontalPadding","menuItemVerticalPadding","menuBorderColor","menuShadowX","menuShadowY","menuShadowBlur","menuShadowColor","menuShadowOpacity","menuItemHoverColor","menuItemHoverColorOpacity","menuItemActiveColor","menuItemActiveColorOpacity","dialogSemiTransparentBackgroundColor","dialogSemiTransparentBackgroundOpacity","dialogSolidBackgroundColor","dialogContentPaddingHorizontal","dialogContentPaddingVertical","dialogContentBorderRadius","dialogContentBackgroundColor","paginationBarForegroundColor","paginationBarBackgroundColor","paginationBarHorizontalPadding","paginationBarVerticalPadding","chipBackground","chipBorderRadius","chipVerticalPadding","chipHorizontalPadding","chipGap"]);function c(e){if(!a.has(e)){const t=[...a].join(", ");(0,i.throwWithCause)(`[ThemeBuilder] Invalid color scheme: "${e}". Must be one of: ${t}.`)}return e}function u(e){if(!l.has(e)){const t=[...l].join(", ");(0,i.throwWithCause)(`[ThemeBuilder] Invalid density: "${e}". Must be one of: ${t}.`)}return e}function g(e,t){Object.entries(e).forEach(e=>{let[o,n]=e;const s=`${t}.${o}`;"string"!=typeof n&&((0,r.isObject)(n)?g(n,s):(0,i.throwWithCause)(`[ThemeBuilder] ${s} must be a string or an object.`))})}function p(e,t,o){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const{type:i="key",warnMissing:s=!1}=r;if(!e)return void(s&&(0,n.warn)(`[ThemeBuilder] No ${i}s provided in ${o}. All ${i}s are missing.`));if(Object.keys(e).forEach(e=>{t.has(e)||(0,n.warn)(`[ThemeBuilder] Unknown ${i} key: "${e}" in ${o}. This may be a custom ${i} or a typo.`)}),s){const r=[];t.forEach(t=>{t in e||r.push(t)}),r.length>0&&(0,n.warn)(`[ThemeBuilder] Missing ${i}(s) in ${o}: ${r.join(", ")}`)}}},97324(e,t,o){"use strict";t.__esModule=!0;var r=o(46554);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||(t[e]=r[e]))});var n=o(54917);Object.keys(n).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||(t[e]=n[e]))})},54917(e,t,o){"use strict";t.__esModule=!0,t.getTheme=g,t.getThemeNames=function(){return h()},t.getThemes=function(){return d()},t.hasTheme=u,t.registerTheme=function(e,t){const{themeName:o,themeConfigObject:r}=p(e,t),i=(0,s.createTheme)(r);if(u(o))return(0,n.warn)(`Theme "${o}" is already registered. Registration skipped.`),g(o);return c(o,i),i},t.reinitTheme=function(e,t){const{themeName:o,themeConfigObject:r}=p(e,t);if(!u(o))return void(0,n.warn)(`Theme "${o}" is not registered. Cannot reinitialize a non-existent theme.`);const i=(0,s.createTheme)(r);return c(o,i),i};var r=o(38888),n=o(26070),i=o(36016),s=o(38579);const{hasItem:a,getItem:l,getNames:h,getValues:d,register:c}=(0,i.staticRegister)("themes");function u(e){return a(e)}function g(e){if(u(e))return l(e);(0,n.warn)(`Theme "${e}" is not registered. Please ensure it is registered before using it.`)}function p(e,t){let o=e,n=(0,r.deepClone)(t);return"string"==typeof e&&(0,r.isObject)(t)?n.name=e:(0,r.isObject)(e)&&(n=(0,r.deepClone)(e),o=n.name),{themeName:o,themeConfigObject:n}}},94506(e,t){"use strict";t.__esModule=!0;t.default={primary:{100:"#7aadffff",200:"#6a9bffff",300:"#6985b9ff",400:"#8eb0e7ff",500:"#5292f7ff",600:"#3e7ee3ff"},palette:{50:"#f0f0f0ff",100:"#dcdcdcff",200:"#ccccccff",300:"#c6c6c6ff",400:"#999999ff",500:"#777777ff",600:"#5c5c5cff",700:"#404040ff",800:"#313131ff",900:"#222222ff",950:"#0f0f10ff"},white:"#ffffffff",black:"#000000ff",transparent:"#ffffff00"}},11829(e,t){"use strict";t.__esModule=!0;t.default={primary:{100:"#f2c051ff",200:"#f1b93eff",300:"#d7a52aff",400:"#57c784ff",500:"#37bc6cff",600:"#32a961ff"},palette:{50:"#f7f7f9ff",100:"#e7e7e9ff",200:"#d1d1d4ff",300:"#b5b5b9ff",400:"#aeaeaeff",500:"#727272ff",600:"#353535ff",700:"#262624ff",800:"#222222ff",900:"#19191cff",950:"#070604ff"},white:"#ffffffff",black:"#000000ff",transparent:"#ffffff00"}},96969(e,t){"use strict";t.__esModule=!0;t.default={white:"#ffffffff",black:"#000000ff",primary:{100:"#6180ffff",200:"#5573f0ff",300:"#4669f6ff",400:"#2e56fcff",500:"#1a42e8ff",600:"#1535bcff"},palette:{50:"#f7f7f9ff",100:"#e7e7e9ff",200:"#b9b9bbff",300:"#a3a3a3ff",400:"#68696cff",500:"#404144ff",600:"#313132ff",700:"#282829ff",800:"#222222ff",900:"#1e1e1fff",950:"#050506ff"},transparent:"#ffffff00"}},22057(e,t){"use strict";t.__esModule=!0;t.default={default:{cellVertical:"sizing.size_1",cellHorizontal:"sizing.size_2",barsHorizontal:"sizing.size_4",barsVertical:"sizing.size_2",gap:"sizing.size_1",buttonHorizontal:"sizing.size_3",buttonVertical:"sizing.size_1_5",dialogHorizontal:"sizing.size_2",dialogVertical:"sizing.size_2",inputHorizontal:"sizing.size_3",inputVertical:"sizing.size_1_5",menuVertical:"sizing.size_2",menuHorizontal:"sizing.size_0",menuItemVertical:"sizing.size_1",menuItemHorizontal:"sizing.size_3"},compact:{cellVertical:"sizing.size_0_5",cellHorizontal:"sizing.size_1_5",barsHorizontal:"sizing.size_2",barsVertical:"sizing.size_1",gap:"sizing.size_0_5",buttonHorizontal:"sizing.size_2",buttonVertical:"sizing.size_0_5",dialogHorizontal:"sizing.size_1_5",dialogVertical:"sizing.size_1_5",inputHorizontal:"sizing.size_2",inputVertical:"sizing.size_0_5",menuVertical:"sizing.size_2",menuHorizontal:"sizing.size_0",menuItemVertical:"sizing.size_0_5",menuItemHorizontal:"sizing.size_2"},comfortable:{cellVertical:"sizing.size_2",cellHorizontal:"sizing.size_3",barsHorizontal:"sizing.size_4",barsVertical:"sizing.size_2",gap:"sizing.size_1_5",buttonHorizontal:"sizing.size_4",buttonVertical:"sizing.size_2",dialogHorizontal:"sizing.size_3",dialogVertical:"sizing.size_3",inputHorizontal:"sizing.size_4",inputVertical:"sizing.size_2",menuVertical:"sizing.size_3",menuHorizontal:"sizing.size_0",menuItemVertical:"sizing.size_2",menuItemHorizontal:"sizing.size_2"}}},1895(e,t){"use strict";t.__esModule=!0;const o=(e,t)=>`width: var(--ht-icon-size);\n height: var(--ht-icon-size);\n -webkit-mask-size: contain;\n -webkit-mask-image: url("${e[t]}");\n background-color: currentColor;`;t.iconsMap=(e,t)=>{const r=t?`[class*=${t}] `:"";return`${r}.htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper::after,\n${r}.htContextMenu table tbody tr td.htSubmenu .htItemWrapper::after,\n${r}.htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper::after,\n${r}.pika-single .pika-next {\n ${o(e,"arrowRight")}\n}\n\n${r}.pika-single .pika-prev {\n ${o(e,"arrowLeft")}\n}\n\n${r}.ht-page-size-section__select-wrapper::after {\n ${o(e,"arrowDown")}\n}\n\n${r}.changeType::before {\n ${o(e,"menu")}\n}\n\n${r}.htUISelectCaption::after,\n.htAutocompleteArrow::after {\n ${o(e,"selectArrow")}\n}\n\n${r}.columnSorting.sortAction.ascending::before {\n ${o(e,"arrowNarrowUp")}\n}\n\n${r}.columnSorting.sortAction.descending::before {\n ${o(e,"arrowNarrowDown")}\n}\n\n${r}.ht-page-navigation-section .ht-page-first::before {\n ${o(e,"arrowLeftWithBar")}\n}\n\n${r}[dir="rtl"] .ht-page-navigation-section .ht-page-first::before {\n ${o(e,"arrowRightWithBar")}\n}\n\n${r}.ht-page-navigation-section .ht-page-prev::before {\n ${o(e,"arrowLeft")}\n}\n\n${r}[dir="rtl"] .ht-page-navigation-section .ht-page-prev::before {\n ${o(e,"arrowRight")}\n}\n\n${r}.ht-page-navigation-section .ht-page-next::before {\n ${o(e,"arrowRight")}\n}\n\n${r}[dir="rtl"] .ht-page-navigation-section .ht-page-next::before {\n ${o(e,"arrowLeft")}\n}\n\n${r}.ht-page-navigation-section .ht-page-last::before {\n ${o(e,"arrowRightWithBar")}\n}\n\n${r}[dir="rtl"] .ht-page-navigation-section .ht-page-last::before {\n ${o(e,"arrowLeftWithBar")}\n}\n\n${r}.htDropdownMenu table tbody tr td .htItemWrapper span.selected::after,\n${r}.htContextMenu table tbody tr td .htItemWrapper span.selected::after,\n${r}.htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected::after {\n ${o(e,"check")}\n}\n\n${r}.htCheckboxRendererInput {\n appearance: none;\n}\n\n${r}.htCheckboxRendererInput::after {\n ${o(e,"checkbox")}\n}\n\n${r}th.beforeHiddenColumn::after {\n ${o(e,"caretHiddenLeft")}\n}\n\n${r}th.afterHiddenColumn::before {\n ${o(e,"caretHiddenRight")}\n}\n\n${r}th.beforeHiddenRow::after {\n ${o(e,"caretHiddenUp")}\n}\n\n${r}th.afterHiddenRow::before {\n ${o(e,"caretHiddenDown")}\n}\n\n${r}.collapsibleIndicator::before,\n${r}.ht_nestingButton::before {\n ${o(e,"collapseOff")}\n}\n\n${r}.collapsibleIndicator.collapsed::before,\n${r}.ht_nestingButton.ht_nestingExpand::before {\n ${o(e,"collapseOn")}\n}\n\n${r}.htUIRadio > input[type="radio"]::after {\n ${o(e,"radio")}\n}\n\n${r}.ht-multi-select-chip-remove::before {\n ${o(e,"chipClose")}\n}\n\n${r}.ht-multi-select-editor-search-icon {\n ${o(e,"search")}\n}\n\n${r}.ht-multi-select-editor-item-selected input::after {\n ${o(e,"checkbox")}\n}`}},78435(e,t){"use strict";t.__esModule=!0;t.default={arrowRight:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.64648 10.9393L9.93938 7.64644L6.64648 4.35354' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",arrowRightWithBar:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.9292 4.64188L8.27934 7.99203L4.9292 11.3422M11.0711 4.08353V11.3422' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E",arrowLeft:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.93945 10.9393L6.64656 7.64644L9.93945 4.35354' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",arrowLeftWithBar:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.0713 4.64188L7.72115 7.99203L11.0713 11.3422M4.92936 4.08353L4.92936 11.3422' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E",arrowDown:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.6'%3E%3Cpath d='M11.5859 6L8.29304 9.29289L5.00015 6' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E",menu:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.83337 7.99984C6.83337 8.30926 6.95629 8.606 7.17508 8.8248C7.39388 9.04359 7.69062 9.1665 8.00004 9.1665C8.30946 9.1665 8.60621 9.04359 8.825 8.8248C9.04379 8.606 9.16671 8.30926 9.16671 7.99984C9.16671 7.69042 9.04379 7.39367 8.825 7.17488C8.60621 6.95609 8.30946 6.83317 8.00004 6.83317C7.69062 6.83317 7.39388 6.95609 7.17508 7.17488C6.95629 7.39367 6.83337 7.69042 6.83337 7.99984Z' fill='%23222222'/%3E%3Cpath d='M6.83337 12.4165C6.83337 12.7259 6.95629 13.0227 7.17508 13.2415C7.39388 13.4603 7.69062 13.5832 8.00004 13.5832C8.30946 13.5832 8.60621 13.4603 8.825 13.2415C9.04379 13.0227 9.16671 12.7259 9.16671 12.4165C9.16671 12.1071 9.04379 11.8103 8.825 11.5915C8.60621 11.3728 8.30946 11.2498 8.00004 11.2498C7.69062 11.2498 7.39388 11.3728 7.17508 11.5915C6.95629 11.8103 6.83337 12.1071 6.83337 12.4165Z' fill='%23222222'/%3E%3Cpath d='M6.83337 3.58317C6.83337 3.89259 6.95629 4.18934 7.17508 4.40813C7.39388 4.62692 7.69062 4.74984 8.00004 4.74984C8.30946 4.74984 8.60621 4.62692 8.825 4.40813C9.04379 4.18934 9.16671 3.89259 9.16671 3.58317C9.16671 3.27375 9.04379 2.97701 8.825 2.75821C8.60621 2.53942 8.30946 2.4165 8.00004 2.4165C7.69062 2.4165 7.39388 2.53942 7.17508 2.75821C6.95629 2.97701 6.83337 3.27375 6.83337 3.58317Z' fill='currentColor'/%3E%3C/svg%3E",selectArrow:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 6L8.29289 9.29289L11.5858 6' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",arrowNarrowUp:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.00008 12.6667L8.00008 3.33335M8.00008 3.33335L5.33342 6.00002M8.00008 3.33335L10.6667 6.00002' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",arrowNarrowDown:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.99992 3.33331V12.6666M7.99992 12.6666L10.6666 9.99998M7.99992 12.6666L5.33325 9.99998' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",check:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.3335 8.00002L6.66683 11.3334L13.3335 4.66669' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",checkbox:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8L7 10L11 6' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",caretHiddenLeft:"data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.07209 0.856828C6.08637 0.855597 6.1007 0.85498 6.11503 0.85498H6.17649C6.19083 0.85498 6.20515 0.855597 6.21944 0.856828L6.24964 0.859432C6.26009 0.860333 6.2705 0.861561 6.28087 0.863116L6.31212 0.867804C6.31889 0.86882 6.32565 0.869975 6.33238 0.871269L6.35946 0.876478C6.37551 0.879565 6.3914 0.883438 6.40708 0.888082L6.46333 0.904748C6.47851 0.909248 6.49348 0.914467 6.50817 0.920388L6.54307 0.93445C6.55923 0.940963 6.57504 0.948316 6.59043 0.956479L6.65918 0.992938C6.67949 1.00371 6.69903 1.01587 6.71767 1.02933L6.76455 1.06318C6.77915 1.07372 6.79316 1.08505 6.80654 1.09711L6.84873 1.13513C6.86284 1.14785 6.87622 1.16136 6.88879 1.1756L6.93202 1.22456C6.94435 1.23852 6.95589 1.25316 6.96659 1.26842L6.99471 1.30852C7.00421 1.32206 7.01303 1.33606 7.02113 1.35048L7.04926 1.40048C7.05508 1.41082 7.06053 1.42137 7.06559 1.4321L7.07445 1.45085C7.07858 1.45961 7.08246 1.46848 7.08608 1.47746L7.10014 1.51236C7.10607 1.52705 7.11129 1.54202 7.11579 1.55721L7.13245 1.61346C7.13726 1.62969 7.14124 1.64616 7.14438 1.66279L7.15157 1.70089L7.15667 1.73216C7.15927 1.74779 7.16113 1.76354 7.16224 1.77936L7.16433 1.80904C7.16475 1.81506 7.16506 1.82108 7.16527 1.8271L7.16631 1.85783L7.16659 1.87477V8.12477C7.16659 8.99803 6.15887 9.44746 5.5073 8.92171C5.49997 8.91579 5.49281 8.90967 5.48582 8.90335L5.44207 8.86377C5.4359 8.85818 5.42987 8.85244 5.42398 8.84656L2.29898 5.72155C2.12322 5.54577 2.01761 5.31189 2.00201 5.0638C1.98641 4.81571 2.06187 4.57045 2.21423 4.37404C2.22073 4.36567 2.22749 4.3575 2.2345 4.34956L2.27773 4.3006C2.28458 4.29285 2.29166 4.28531 2.29898 4.27799L5.42398 1.15299C5.43129 1.14567 5.43884 1.13859 5.44659 1.13174L5.49555 1.08851C5.50951 1.07618 5.52415 1.06464 5.5394 1.05395L5.57951 1.02582C5.59305 1.01633 5.60705 1.00751 5.62147 0.9994L5.67147 0.971275C5.68181 0.965458 5.69235 0.96001 5.70308 0.954943L5.72183 0.946089C5.73059 0.941952 5.73947 0.93807 5.74846 0.934449L5.78336 0.920387C5.79805 0.914467 5.81301 0.909248 5.8282 0.904749L5.88445 0.888082C5.90068 0.883272 5.91715 0.879289 5.93379 0.87615L5.96139 0.870942C5.96714 0.869856 5.97291 0.868872 5.9787 0.86799L6.00943 0.863302C6.0202 0.861659 6.03102 0.860368 6.04188 0.859432L6.07209 0.856828ZM6.13512 1.85781L6.12011 1.87107L3.01706 4.97412L3.00168 4.99154C3.00041 4.99451 2.99984 4.99777 3.00004 5.00104C3.00036 5.0061 3.00251 5.01086 3.00609 5.01445M3.00609 5.01445L6.12226 8.13062L6.13954 8.14626C6.1418 8.14647 6.14848 8.14635 6.15542 8.14308C6.1622 8.13989 6.16489 8.13638 6.16522 8.13589C6.16536 8.13543 6.16659 8.1316 6.16659 8.12477V1.88324L6.16623 1.87249L6.16491 1.86803L6.16272 1.86413L6.15846 1.85932L6.15029 1.85498H6.14119L6.13902 1.85563L6.13512 1.85781' fill='currentColor'/%3E%3C/svg%3E",caretHiddenRight:"data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.83337 1.87506C3.83337 1.87507 3.83337 1.87505 3.83337 1.87506L3.83441 8.12961L3.83506 8.1318L3.83725 8.1357L3.8415 8.14051L3.84973 8.14488L3.8514 8.14537L3.85344 8.14558L3.85649 8.14553L3.86095 8.1442L3.86485 8.14201L3.87986 8.12876L6.98291 5.02571L6.99829 5.00829C6.99956 5.00532 7.00013 5.00207 6.99993 4.99879C6.99961 4.99373 6.99746 4.98897 6.99388 4.98538M3.87772 1.86922L6.99388 4.98538ZM3.87772 1.86922L3.86043 1.85358C3.85817 1.85336 3.85149 1.85348 3.84455 1.85675C3.83777 1.85994 3.83508 1.86345 3.83475 1.86394C3.83461 1.8644 3.83338 1.86828 3.83337 1.87506C3.83337 1.87507 3.83337 1.87505 3.83337 1.87506M2.83337 1.87506C2.83337 1.0018 3.8411 0.552371 4.49267 1.07813C4.5 1.08404 4.50716 1.09016 4.51414 1.09648L4.55789 1.13606C4.56407 1.14165 4.5701 1.14739 4.57599 1.15328L7.70099 4.27828C7.87675 4.45406 7.98236 4.68795 7.99796 4.93603C8.01355 5.18412 7.9381 5.42938 7.78574 5.62579C7.77924 5.63416 7.77248 5.64233 7.76547 5.65027L7.72224 5.69923C7.71539 5.70698 7.70831 5.71453 7.70099 5.72184L4.57599 8.84684C4.56867 8.85416 4.56113 8.86124 4.55338 8.86809L4.50442 8.91132C4.49046 8.92365 4.47582 8.93519 4.46056 8.94588L4.42046 8.97401C4.40692 8.9835 4.39292 8.99232 4.37851 9.00043L4.32851 9.02855C4.31816 9.03437 4.30761 9.03982 4.29688 9.04489L4.27813 9.05374C4.26937 9.05788 4.26049 9.06176 4.2515 9.06538L4.21661 9.07945C4.20192 9.08536 4.18696 9.09058 4.17178 9.09508L4.11553 9.11175C4.09929 9.11656 4.08281 9.12054 4.06617 9.12368L4.02809 9.13087L3.99683 9.13596C3.98119 9.13857 3.96544 9.14043 3.94962 9.14154L3.91994 9.14362C3.91392 9.14404 3.90791 9.14436 3.90188 9.14456L3.87115 9.1456C3.85986 9.14599 3.84856 9.14599 3.83726 9.1456L3.80653 9.14456C3.79786 9.14427 3.78919 9.14375 3.78054 9.143L3.75033 9.1404C3.73988 9.1395 3.72947 9.13827 3.71909 9.13671L3.68784 9.13202C3.68108 9.13101 3.67433 9.12986 3.66761 9.12856L3.64053 9.12336C3.62447 9.12027 3.60857 9.11639 3.59289 9.11175L3.53664 9.09508C3.52145 9.09058 3.50649 9.08536 3.49181 9.07945L3.45691 9.06538C3.44075 9.05887 3.42493 9.05151 3.40953 9.04335L3.34079 9.00689C3.32048 8.99612 3.30094 8.98396 3.2823 8.9705L3.23542 8.93665C3.22083 8.92611 3.20681 8.91478 3.19343 8.90273L3.15124 8.86471C3.13713 8.85199 3.12375 8.83847 3.11118 8.82423L3.06795 8.77527C3.05562 8.76131 3.04408 8.74667 3.03338 8.73141L3.00526 8.69131C2.99576 8.67777 2.98694 8.66377 2.97884 8.64936L2.95071 8.59936C2.94489 8.58901 2.93944 8.57846 2.93437 8.56772L2.92552 8.54897C2.92138 8.54022 2.91751 8.53135 2.91389 8.52237L2.89982 8.48747C2.8939 8.47278 2.88868 8.45781 2.88418 8.44262L2.86752 8.38637C2.86271 8.37014 2.85872 8.35367 2.85559 8.33704L2.8484 8.29894L2.8433 8.26767C2.8407 8.25204 2.83883 8.23629 2.83773 8.22047L2.83564 8.19079C2.83483 8.17917 2.83442 8.16752 2.83442 8.15587L2.83337 1.87506Z' fill='currentColor'/%3E%3C/svg%3E",caretHiddenUp:"data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.76425 2.43099C3.82165 2.3736 3.89801 2.33913 3.97902 2.33403C4.06003 2.32894 4.14012 2.35358 4.20425 2.40333L4.23558 2.43099L6.23558 4.43099L6.26325 4.46233L6.28125 4.48799L6.29925 4.51999L6.30492 4.53199L6.31392 4.55433L6.32458 4.59033L6.32792 4.60799L6.33125 4.62799L6.33258 4.64699L6.33325 4.66666L6.33258 4.68633L6.33092 4.70566L6.32792 4.72566L6.32458 4.74299L6.31392 4.77899L6.30492 4.80133L6.28158 4.84533L6.25992 4.87533L6.23558 4.90233L6.20425 4.92999L6.17858 4.94799L6.14658 4.96599L6.13458 4.97166L6.11225 4.98066L6.07625 4.99133L6.05858 4.99466L6.03858 4.99799L6.01958 4.99933L5.99992 4.99999H1.99992C1.71592 4.99999 1.56758 4.67133 1.73892 4.45899L1.76425 4.43099L3.76425 2.43099Z' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",caretHiddenDown:"data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.9999 3C6.2839 3 6.43224 3.32867 6.2609 3.541L6.23557 3.569L4.23557 5.569C4.17817 5.62639 4.10181 5.66087 4.0208 5.66596C3.93979 5.67106 3.8597 5.64642 3.79557 5.59667L3.76424 5.569L1.76424 3.569L1.73657 3.53767L1.71857 3.512L1.70057 3.48L1.6949 3.468L1.6859 3.44567L1.67524 3.40967L1.6719 3.392L1.66857 3.372L1.66724 3.353V3.31367L1.6689 3.29433L1.6719 3.27433L1.67524 3.257L1.6859 3.221L1.6949 3.19867L1.71824 3.15467L1.7399 3.12467L1.76424 3.09767L1.79557 3.07L1.82124 3.052L1.85324 3.034L1.86524 3.02833L1.88757 3.01933L1.92357 3.00867L1.94124 3.00533L1.96124 3.002L1.98024 3.00067L5.9999 3Z' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",collapseOff:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.33325 8H11.6666' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",collapseOn:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.49988 11.6667C7.49988 11.9428 7.72374 12.1667 7.99988 12.1667C8.27602 12.1667 8.49988 11.9428 8.49988 11.6667V8.50002H11.6666C11.9427 8.50002 12.1666 8.27616 12.1666 8.00002C12.1666 7.72388 11.9427 7.50002 11.6666 7.50002H8.49988V4.33337C8.49988 4.05723 8.27602 3.83337 7.99988 3.83337C7.72374 3.83337 7.49988 4.05723 7.49988 4.33337V7.50002H4.33325C4.05711 7.50002 3.83325 7.72388 3.83325 8.00002C3.83325 8.27616 4.05711 8.50002 4.33325 8.50002H7.49988V11.6667Z' fill='currentColor'/%3E%3C/svg%3E%0A",radio:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='4' fill='currentColor'/%3E%3C/svg%3E%0A",chipClose:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4L4 12M4 4L12 12' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",search:"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none'%3E%3Cg opacity='0.5'%3E%3Cpath d='M28 28L20 20M4 13.3333C4 14.559 4.24141 15.7727 4.71046 16.905C5.1795 18.0374 5.86699 19.0663 6.73367 19.933C7.60035 20.7997 8.62925 21.4872 9.76162 21.9562C10.894 22.4253 12.1077 22.6667 13.3333 22.6667C14.559 22.6667 15.7727 22.4253 16.905 21.9562C18.0374 21.4872 19.0663 20.7997 19.933 19.933C20.7997 19.0663 21.4872 18.0374 21.9562 16.905C22.4253 15.7727 22.6667 14.559 22.6667 13.3333C22.6667 12.1077 22.4253 10.894 21.9562 9.76162C21.4872 8.62925 20.7997 7.60035 19.933 6.73367C19.0663 5.86699 18.0374 5.1795 16.905 4.71046C15.7727 4.24141 14.559 4 13.3333 4C12.1077 4 10.894 4.24141 9.76162 4.71046C8.62925 5.1795 7.60035 5.86699 6.73367 6.73367C5.86699 7.60035 5.1795 8.62925 4.71046 9.76162C4.24141 10.894 4 12.1077 4 13.3333Z' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E"}},43123(e,t){"use strict";t.__esModule=!0;t.default={arrowRight:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.64648 10.9393L9.93938 7.64644L6.64648 4.35354' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",arrowRightWithBar:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.9292 4.64188L8.27934 7.99203L4.9292 11.3422M11.0711 4.08353V11.3422' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E",arrowLeft:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.93933 10.9393L6.64644 7.64644L9.93933 4.35354' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",arrowLeftWithBar:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.0713 4.64188L7.72115 7.99203L11.0713 11.3422M4.92936 4.08353L4.92936 11.3422' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E",arrowDown:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.6'%3E%3Cpath d='M11.5859 6L8.29304 9.29289L5.00015 6' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E",menu:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.0002 6.66663C11.4262 6.66663 11.6487 7.15963 11.3917 7.47813L11.3537 7.52013L8.35372 10.5201C8.26762 10.6062 8.15307 10.6579 8.03156 10.6656C7.91005 10.6732 7.78992 10.6363 7.69372 10.5616L7.64672 10.5201L4.64672 7.52013L4.60522 7.47313L4.57822 7.43463L4.55122 7.38663L4.54272 7.36863L4.52922 7.33513L4.51322 7.28113L4.50822 7.25463L4.50322 7.22463L4.50122 7.19613V7.13713L4.50372 7.10813L4.50822 7.07813L4.51322 7.05213L4.52922 6.99813L4.54272 6.96463L4.57772 6.89863L4.61022 6.85363L4.64672 6.81313L4.69372 6.77163L4.73222 6.74463L4.78022 6.71763L4.79822 6.70913L4.83172 6.69563L4.88572 6.67963L4.91222 6.67463L4.94222 6.66963L4.97072 6.66763L11.0002 6.66663Z' fill='currentColor'/%3E%3C/svg%3E%0A",selectArrow:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.0002 6.66663C11.4262 6.66663 11.6487 7.15963 11.3917 7.47813L11.3537 7.52013L8.35372 10.5201C8.26762 10.6062 8.15307 10.6579 8.03156 10.6656C7.91005 10.6732 7.78992 10.6363 7.69372 10.5616L7.64672 10.5201L4.64672 7.52013L4.60522 7.47313L4.57822 7.43463L4.55122 7.38663L4.54272 7.36863L4.52922 7.33513L4.51322 7.28113L4.50822 7.25463L4.50322 7.22463L4.50122 7.19613V7.13713L4.50372 7.10813L4.50822 7.07813L4.51322 7.05213L4.52922 6.99813L4.54272 6.96463L4.57772 6.89863L4.61022 6.85363L4.64672 6.81313L4.69372 6.77163L4.73222 6.74463L4.78022 6.71763L4.79822 6.70913L4.83172 6.69563L4.88572 6.67963L4.91222 6.67463L4.94222 6.66963L4.97072 6.66763L11.0002 6.66663Z' fill='currentColor'/%3E%3C/svg%3E%0A",arrowNarrowUp:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.00008 12.6667L8.00008 3.33335M8.00008 3.33335L5.33342 6.00002M8.00008 3.33335L10.6667 6.00002' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",arrowNarrowDown:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.00004 3.33331V12.6666M8.00004 12.6666L10.6667 9.99998M8.00004 12.6666L5.33337 9.99998' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",check:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.33337 8.00002L6.66671 11.3334L13.3334 4.66669' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",checkbox:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8L7 10L11 6' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",caretHiddenLeft:"data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.08482 1.35771L6.11503 1.3551H6.17649L6.2067 1.35771L6.23795 1.36239L6.26503 1.3676L6.32128 1.38427L6.35618 1.39833L6.42493 1.43479L6.4718 1.46864L6.51399 1.50667L6.55722 1.55562L6.58534 1.59573L6.61347 1.64573L6.62232 1.66448L6.63639 1.69937L6.65305 1.75562L6.65826 1.78323L6.66347 1.81448L6.66555 1.84417L6.66659 1.87489V8.12489C6.66659 8.56864 6.15305 8.80042 5.82128 8.53271L5.77753 8.49312L2.65253 5.36812C2.56286 5.27844 2.50899 5.15912 2.50103 5.03254C2.49307 4.90596 2.53157 4.78083 2.6093 4.68062L2.65253 4.63167L5.77753 1.50667L5.82649 1.46344L5.86659 1.43531L5.91659 1.40719L5.93534 1.39833L5.97024 1.38427L6.02649 1.3676L6.05409 1.36239L6.08482 1.35771Z' fill='currentColor'/%3E%3C/svg%3E",caretHiddenRight:"data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.33337 1.87499C3.33337 1.43124 3.84692 1.19947 4.17869 1.46718L4.22244 1.50676L7.34744 4.63176C7.43711 4.72145 7.49098 4.84077 7.49894 4.96735C7.5069 5.09392 7.4684 5.21905 7.39067 5.31926L7.34744 5.36822L4.22244 8.49322L4.17348 8.53645L4.13337 8.56457L4.08337 8.5927L4.06462 8.60155L4.02973 8.61562L3.97348 8.63228L3.94587 8.63749L3.91462 8.6427L3.88494 8.64478L3.85421 8.64582L3.82348 8.64478L3.79327 8.64218L3.76202 8.63749L3.73494 8.63228L3.67869 8.61562L3.64379 8.60155L3.57504 8.5651L3.52817 8.53124L3.48598 8.49322L3.44275 8.44426L3.41462 8.40416L3.3865 8.35416L3.37764 8.33541L3.36358 8.30051L3.34692 8.24426L3.34171 8.21666L3.3365 8.18541L3.33442 8.15572L3.33337 1.87499Z' fill='currentColor'/%3E%3C/svg%3E",caretHiddenUp:"data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.76425 2.43099C3.82165 2.3736 3.89801 2.33913 3.97902 2.33403C4.06003 2.32894 4.14012 2.35358 4.20425 2.40333L4.23558 2.43099L6.23558 4.43099L6.26325 4.46233L6.28125 4.48799L6.29925 4.51999L6.30492 4.53199L6.31392 4.55433L6.32458 4.59033L6.32792 4.60799L6.33125 4.62799L6.33258 4.64699L6.33325 4.66666L6.33258 4.68633L6.33092 4.70566L6.32792 4.72566L6.32458 4.74299L6.31392 4.77899L6.30492 4.80133L6.28158 4.84533L6.25992 4.87533L6.23558 4.90233L6.20425 4.92999L6.17858 4.94799L6.14658 4.96599L6.13458 4.97166L6.11225 4.98066L6.07625 4.99133L6.05858 4.99466L6.03858 4.99799L6.01958 4.99933L5.99992 4.99999H1.99992C1.71592 4.99999 1.56758 4.67133 1.73892 4.45899L1.76425 4.43099L3.76425 2.43099Z' fill='currentColor'/%3E%3C/svg%3E%0A",caretHiddenDown:"data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.9999 3C6.2839 3 6.43224 3.32867 6.2609 3.541L6.23557 3.569L4.23557 5.569C4.17817 5.62639 4.10181 5.66087 4.0208 5.66596C3.93979 5.67106 3.8597 5.64642 3.79557 5.59667L3.76424 5.569L1.76424 3.569L1.73657 3.53767L1.71857 3.512L1.70057 3.48L1.6949 3.468L1.6859 3.44567L1.67524 3.40967L1.6719 3.392L1.66857 3.372L1.66724 3.353V3.31367L1.6689 3.29433L1.6719 3.27433L1.67524 3.257L1.6859 3.221L1.6949 3.19867L1.71824 3.15467L1.7399 3.12467L1.76424 3.09767L1.79557 3.07L1.82124 3.052L1.85324 3.034L1.86524 3.02833L1.88757 3.01933L1.92357 3.00867L1.94124 3.00533L1.96124 3.002L1.98024 3.00067L5.9999 3Z' fill='currentColor'/%3E%3C/svg%3E%0A",collapseOff:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.33325 8H11.6666' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",collapseOn:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.49988 11.6667C7.49988 11.9428 7.72374 12.1667 7.99988 12.1667C8.27602 12.1667 8.49988 11.9428 8.49988 11.6667V8.50002H11.6666C11.9427 8.50002 12.1666 8.27616 12.1666 8.00002C12.1666 7.72388 11.9427 7.50002 11.6666 7.50002H8.49988V4.33337C8.49988 4.05723 8.27602 3.83337 7.99988 3.83337C7.72374 3.83337 7.49988 4.05723 7.49988 4.33337V7.50002H4.33325C4.05711 7.50002 3.83325 7.72388 3.83325 8.00002C3.83325 8.27616 4.05711 8.50002 4.33325 8.50002H7.49988V11.6667Z' fill='currentColor'/%3E%3C/svg%3E%0A",radio:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='4' fill='currentColor'/%3E%3C/svg%3E%0A",chipClose:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4L4 12M4 4L12 12' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",search:"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none'%3E%3Cg opacity='0.5'%3E%3Cpath d='M28 28L20 20M4 13.3333C4 14.559 4.24141 15.7727 4.71046 16.905C5.1795 18.0374 5.86699 19.0663 6.73367 19.933C7.60035 20.7997 8.62925 21.4872 9.76162 21.9562C10.894 22.4253 12.1077 22.6667 13.3333 22.6667C14.559 22.6667 15.7727 22.4253 16.905 21.9562C18.0374 21.4872 19.0663 20.7997 19.933 19.933C20.7997 19.0663 21.4872 18.0374 21.9562 16.905C22.4253 15.7727 22.6667 14.559 22.6667 13.3333C22.6667 12.1077 22.4253 10.894 21.9562 9.76162C21.4872 8.62925 20.7997 7.60035 19.933 6.73367C19.0663 5.86699 18.0374 5.1795 16.905 4.71046C15.7727 4.24141 14.559 4 13.3333 4C12.1077 4 10.894 4.24141 9.76162 4.71046C8.62925 5.1795 7.60035 5.86699 6.73367 6.73367C5.86699 7.60035 5.1795 8.62925 4.71046 9.76162C4.24141 10.894 4 12.1077 4 13.3333Z' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E"}},80995(e,t){"use strict";t.__esModule=!0;t.default={size_0:"0px",size_0_5:"2px",size_1:"4px",size_2:"8px",size_1_5:"6px",size_3:"12px",size_4:"16px",size_5:"20px",size_6:"24px",size_7:"28px",size_8:"32px",size_9:"36px",size_10:"40px",size_0_25:"1px"}},92628(e,t){"use strict";t.__esModule=!0;t.default={fontFamily:"Inter",fontSize:"13px",fontSizeSmall:"11px",lineHeight:"21px",lineHeightSmall:"16px",fontWeight:"400",letterSpacing:"0px",borderColor:["colors.palette.200","colors.palette.700"],accentColor:["colors.primary.500","colors.primary.100"],foregroundColor:["colors.palette.800","colors.palette.300"],foregroundSecondaryColor:["colors.palette.500","colors.palette.400"],backgroundColor:["colors.white","colors.palette.950"],backgroundSecondaryColor:["colors.palette.50","colors.palette.900"],placeholderColor:["colors.palette.400","colors.palette.500"],readOnlyColor:["colors.palette.500","colors.palette.400"],disabledColor:["colors.palette.400","colors.palette.500"],gapSize:"density.gap",iconSize:"sizing.size_3",tableTransition:"0s",wrapperBorderWidth:"0px",wrapperBorderRadius:"sizing.size_0",wrapperBorderColor:"tokens.borderColor",barForegroundColor:"tokens.foregroundColor",barBackgroundColor:"tokens.backgroundSecondaryColor",barHorizontalPadding:"density.barsHorizontal",barVerticalPadding:"density.barsVertical",shadowColor:["colors.palette.800","colors.palette.300"],shadowX:"sizing.size_0_25",shadowY:"sizing.size_0_25",shadowBlur:"sizing.size_0",shadowOpacity:"8%",cellHorizontalPadding:"density.cellHorizontal",cellVerticalPadding:"density.cellVertical",cellHorizontalBorderColor:"tokens.borderColor",cellVerticalBorderColor:"tokens.borderColor",cellSelectionBorderColor:"tokens.accentColor",cellSelectionBackgroundColor:"tokens.accentColor",cellSuccessBackgroundColor:"#37bc6c33",cellErrorBackgroundColor:"#fa4d3233",cellReadOnlyBackgroundColor:"colors.transparent",cellAutofillSize:"sizing.size_1_5",cellAutofillHitAreaSize:"sizing.size_3",cellAutofillBorderWidth:"sizing.size_0_25",cellAutofillBorderRadius:"sizing.size_0",cellAutofillBorderColor:"tokens.backgroundColor",cellAutofillBackgroundColor:"tokens.accentColor",cellAutofillFillBorderColor:"tokens.foregroundColor",cellEditorBorderWidth:"2px",cellEditorBorderColor:"tokens.accentColor",cellEditorForegroundColor:["colors.palette.950","colors.white"],cellEditorBackgroundColor:"tokens.backgroundColor",cellEditorShadowBlurRadius:"0px",cellEditorShadowColor:"tokens.accentColor",cellMobileHandleSize:"sizing.size_3",cellMobileHandleBorderWidth:"sizing.size_0_25",cellMobileHandleBorderRadius:"sizing.size_3",cellMobileHandleBorderColor:"tokens.accentColor",cellMobileHandleBackgroundColor:"tokens.accentColor",cellMobileHandleBackgroundOpacity:"40%",headerFontWeight:"tokens.fontWeight",headerForegroundColor:"tokens.foregroundColor",headerBackgroundColor:"tokens.backgroundSecondaryColor",headerHighlightedShadowSize:"0px",headerHighlightedForegroundColor:"tokens.foregroundColor",headerHighlightedBackgroundColor:["colors.palette.100","colors.palette.800"],headerActiveBorderColor:"tokens.borderColor",headerActiveForegroundColor:["colors.palette.950","colors.white"],headerActiveBackgroundColor:["colors.primary.400","colors.primary.300"],headerFilterBackgroundColor:"tokens.cellSuccessBackgroundColor",headerRowForegroundColor:"tokens.foregroundColor",headerRowBackgroundColor:"tokens.backgroundSecondaryColor",headerRowHighlightedForegroundColor:"tokens.foregroundColor",headerRowHighlightedBackgroundColor:["colors.palette.100","colors.palette.800"],headerRowActiveForegroundColor:["colors.palette.950","colors.white"],headerRowActiveBackgroundColor:["colors.primary.400","colors.primary.300"],rowHeaderOddBackgroundColor:"tokens.backgroundSecondaryColor",rowHeaderEvenBackgroundColor:"tokens.backgroundSecondaryColor",rowCellOddBackgroundColor:"tokens.backgroundColor",rowCellEvenBackgroundColor:"tokens.backgroundColor",buttonBorderRadius:"sizing.size_0_5",buttonHorizontalPadding:"density.buttonHorizontal",buttonVerticalPadding:"density.buttonVertical",primaryButtonBorderColor:"colors.transparent",primaryButtonForegroundColor:"tokens.backgroundColor",primaryButtonBackgroundColor:"tokens.accentColor",primaryButtonDisabledBorderColor:"colors.transparent",primaryButtonDisabledForegroundColor:"tokens.disabledColor",primaryButtonDisabledBackgroundColor:["colors.palette.100","colors.palette.800"],primaryButtonHoverBorderColor:"colors.transparent",primaryButtonHoverForegroundColor:"tokens.backgroundColor",primaryButtonHoverBackgroundColor:["colors.primary.600","colors.primary.200"],primaryButtonFocusBorderColor:"tokens.backgroundColor",primaryButtonFocusForegroundColor:"tokens.backgroundColor",primaryButtonFocusBackgroundColor:"tokens.accentColor",secondaryButtonBorderColor:"tokens.borderColor",secondaryButtonForegroundColor:"tokens.foregroundColor",secondaryButtonBackgroundColor:"tokens.backgroundColor",secondaryButtonDisabledBorderColor:"tokens.borderColor",secondaryButtonDisabledForegroundColor:"tokens.disabledColor",secondaryButtonDisabledBackgroundColor:["colors.palette.100","colors.palette.800"],secondaryButtonHoverBorderColor:"tokens.borderColor",secondaryButtonHoverForegroundColor:"tokens.foregroundColor",secondaryButtonHoverBackgroundColor:["colors.palette.50","colors.palette.900"],secondaryButtonFocusBorderColor:"tokens.borderColor",secondaryButtonFocusForegroundColor:"tokens.foregroundColor",secondaryButtonFocusBackgroundColor:"tokens.backgroundSecondaryColor",iconButtonBorderRadius:"sizing.size_0_5",iconButtonLargeBorderRadius:"sizing.size_0_5",iconButtonLargePadding:"sizing.size_1",iconButtonBorderColor:["colors.palette.300","colors.palette.600"],iconButtonBackgroundColor:"tokens.backgroundSecondaryColor",iconButtonIconColor:["colors.palette.400","colors.palette.500"],iconButtonHoverBorderColor:["colors.palette.400","colors.palette.500"],iconButtonHoverBackgroundColor:["colors.palette.50","colors.palette.900"],iconButtonHoverIconColor:["colors.palette.400","colors.palette.500"],iconButtonActiveBorderColor:["colors.palette.300","colors.palette.600"],iconButtonActiveBackgroundColor:"tokens.backgroundSecondaryColor",iconButtonActiveIconColor:["colors.palette.400","colors.palette.500"],iconButtonActiveHoverBorderColor:["colors.palette.400","colors.palette.500"],iconButtonActiveHoverBackgroundColor:"tokens.backgroundSecondaryColor",iconButtonActiveHoverIconColor:["colors.palette.400","colors.palette.500"],collapseButtonBorderRadius:"sizing.size_4",collapseButtonOpenBorderColor:["colors.palette.300","colors.palette.600"],collapseButtonOpenBackgroundColor:["colors.white","colors.palette.950"],collapseButtonOpenIconColor:["colors.palette.400","colors.palette.500"],collapseButtonOpenIconActiveColor:["colors.palette.400","colors.palette.500"],collapseButtonOpenHoverBorderColor:["colors.palette.300","colors.palette.600"],collapseButtonOpenHoverBackgroundColor:["colors.white","colors.palette.950"],collapseButtonOpenHoverIconColor:["colors.palette.400","colors.palette.500"],collapseButtonOpenHoverIconActiveColor:["colors.palette.400","colors.palette.500"],collapseButtonCloseBorderColor:["colors.palette.300","colors.palette.600"],collapseButtonCloseBackgroundColor:["colors.palette.50","colors.palette.900"],collapseButtonCloseIconColor:["colors.palette.400","colors.palette.500"],collapseButtonCloseIconActiveColor:["colors.palette.400","colors.palette.500"],collapseButtonCloseHoverBorderColor:["colors.palette.300","colors.palette.600"],collapseButtonCloseHoverBackgroundColor:["colors.palette.50","colors.palette.900"],collapseButtonCloseHoverIconColor:["colors.palette.400","colors.palette.500"],collapseButtonCloseHoverIconActiveColor:["colors.palette.400","colors.palette.500"],linkColor:["colors.primary.600","colors.primary.200"],linkHoverColor:["colors.primary.600","colors.primary.200"],inputBorderWidth:"1px",inputBorderRadius:"sizing.size_1",inputHorizontalPadding:"density.inputHorizontal",inputVerticalPadding:"density.inputVertical",inputBorderColor:"tokens.borderColor",inputForegroundColor:"tokens.foregroundColor",inputBackgroundColor:"tokens.backgroundSecondaryColor",inputHoverBorderColor:"tokens.borderColor",inputHoverForegroundColor:"tokens.foregroundColor",inputHoverBackgroundColor:"tokens.backgroundSecondaryColor",inputDisabledBorderColor:"tokens.borderColor",inputDisabledForegroundColor:"tokens.disabledColor",inputDisabledBackgroundColor:["colors.palette.300","colors.palette.600"],inputFocusBorderColor:"tokens.accentColor",inputFocusForegroundColor:"tokens.foregroundColor",inputFocusBackgroundColor:"tokens.backgroundSecondaryColor",checkboxSize:"tokens.iconSize",checkboxBorderRadius:"sizing.size_0_5",checkboxBorderColor:["colors.palette.400","colors.palette.500"],checkboxBackgroundColor:"tokens.backgroundColor",checkboxIconColor:"colors.transparent",checkboxFocusBorderColor:["colors.palette.400","colors.palette.500"],checkboxFocusBackgroundColor:"tokens.backgroundColor",checkboxFocusIconColor:"colors.transparent",checkboxFocusRingColor:"tokens.accentColor",checkboxDisabledBorderColor:["colors.palette.300","colors.palette.600"],checkboxDisabledBackgroundColor:["colors.palette.100","colors.palette.800"],checkboxDisabledIconColor:"colors.transparent",checkboxCheckedBorderColor:["colors.primary.600","colors.primary.200"],checkboxCheckedBackgroundColor:"tokens.accentColor",checkboxCheckedIconColor:"tokens.backgroundColor",checkboxCheckedFocusBorderColor:"tokens.backgroundColor",checkboxCheckedFocusBackgroundColor:"tokens.accentColor",checkboxCheckedFocusIconColor:"tokens.backgroundColor",checkboxCheckedDisabledBorderColor:["colors.palette.300","colors.palette.600"],checkboxCheckedDisabledBackgroundColor:["colors.palette.100","colors.palette.800"],checkboxCheckedDisabledIconColor:["colors.palette.300","colors.palette.600"],checkboxIndeterminateBorderColor:["colors.primary.600","colors.primary.200"],checkboxIndeterminateBackgroundColor:"tokens.accentColor",checkboxIndeterminateIconColor:"tokens.backgroundColor",checkboxIndeterminateFocusBorderColor:"tokens.backgroundColor",checkboxIndeterminateFocusBackgroundColor:"tokens.accentColor",checkboxIndeterminateFocusIconColor:"tokens.backgroundColor",checkboxIndeterminateDisabledBorderColor:["colors.palette.300","colors.palette.600"],checkboxIndeterminateDisabledBackgroundColor:["colors.palette.100","colors.palette.800"],checkboxIndeterminateDisabledIconColor:["colors.palette.300","colors.palette.600"],radioSize:"tokens.iconSize",radioBorderColor:["colors.palette.400","colors.palette.500"],radioBackgroundColor:"tokens.backgroundColor",radioIconColor:"colors.transparent",radioFocusBorderColor:["colors.palette.400","colors.palette.500"],radioFocusBackgroundColor:"tokens.backgroundColor",radioFocusIconColor:"colors.transparent",radioFocusRingColor:"tokens.accentColor",radioDisabledBorderColor:["colors.palette.300","colors.palette.600"],radioDisabledBackgroundColor:["colors.palette.100","colors.palette.800"],radioDisabledIconColor:"colors.transparent",radioCheckedBorderColor:"tokens.accentColor",radioCheckedBackgroundColor:"tokens.backgroundColor",radioCheckedIconColor:"tokens.accentColor",radioCheckedFocusBorderColor:["colors.primary.600","colors.primary.200"],radioCheckedFocusBackgroundColor:"tokens.backgroundColor",radioCheckedFocusIconColor:"tokens.accentColor",radioCheckedDisabledBorderColor:["colors.palette.300","colors.palette.600"],radioCheckedDisabledBackgroundColor:["colors.palette.100","colors.palette.800"],radioCheckedDisabledIconColor:["colors.palette.300","colors.palette.600"],moveBacklightColor:["colors.palette.800","colors.palette.300"],moveBacklightOpacity:"16%",moveIndicatorColor:["colors.palette.400","colors.palette.500"],resizeIndicatorColor:["colors.palette.400","colors.palette.500"],hiddenIndicatorColor:["colors.palette.400","colors.palette.500"],menuBorderWidth:"1px",menuBorderRadius:"0px",menuHorizontalPadding:"density.menuHorizontal",menuVerticalPadding:"density.menuVertical",menuItemHorizontalPadding:"density.menuItemHorizontal",menuItemVerticalPadding:"density.menuItemVertical",menuBorderColor:"tokens.borderColor",menuShadowX:"tokens.shadowX",menuShadowY:"tokens.shadowY",menuShadowBlur:"tokens.shadowBlur",menuShadowColor:"tokens.borderColor",menuShadowOpacity:"100%",menuItemHoverColor:["colors.palette.800","colors.palette.300"],menuItemHoverColorOpacity:"8%",menuItemActiveColor:["colors.palette.800","colors.palette.300"],menuItemActiveColorOpacity:"12%",commentsTextareaHorizontalPadding:"density.cellHorizontal",commentsTextareaVerticalPadding:"density.cellVertical",commentsTextareaBorderWidth:"1px",commentsTextareaBorderColor:"tokens.borderColor",commentsTextareaForegroundColor:"tokens.foregroundColor",commentsTextareaBackgroundColor:"tokens.backgroundSecondaryColor",commentsTextareaFocusBorderWidth:"1px",commentsTextareaFocusBorderColor:"tokens.accentColor",commentsTextareaFocusForegroundColor:"tokens.foregroundColor",commentsTextareaFocusBackgroundColor:"tokens.backgroundColor",commentsIndicatorSize:"sizing.size_1_5",commentsIndicatorColor:"tokens.accentColor",licenseHorizontalPadding:"tokens.barHorizontalPadding",licenseVerticalPadding:"tokens.barVerticalPadding",licenseForegroundColor:"tokens.barForegroundColor",licenseBackgroundColor:"tokens.barBackgroundColor",paginationBarForegroundColor:"tokens.barForegroundColor",paginationBarBackgroundColor:"tokens.barBackgroundColor",paginationBarHorizontalPadding:"tokens.barHorizontalPadding",paginationBarVerticalPadding:"tokens.barVerticalPadding",dialogSemiTransparentBackgroundColor:["colors.white","colors.palette.950"],dialogSemiTransparentBackgroundOpacity:"80%",dialogSolidBackgroundColor:["colors.white","colors.palette.950"],dialogContentPaddingHorizontal:"density.dialogHorizontal",dialogContentPaddingVertical:"density.dialogVertical",dialogContentBorderRadius:"sizing.size_2",dialogContentBackgroundColor:"tokens.backgroundSecondaryColor",chipBackground:"tokens.backgroundSecondaryColor",chipBorderRadius:"sizing.size_0_5",chipVerticalPadding:"sizing.size_0",chipHorizontalPadding:"sizing.size_1",chipGap:"sizing.size_1",scrollbarBorderRadius:"sizing.size_2",scrollbarTrackColor:"tokens.backgroundSecondaryColor",scrollbarThumbColor:["colors.palette.400","colors.palette.500"]}},46387(e,t){"use strict";t.__esModule=!0;t.default={fontFamily:"Inter",fontSize:"14px",fontSizeSmall:"12px",lineHeight:"20px",lineHeightSmall:"18px",fontWeight:"400",letterSpacing:"0px",borderColor:["colors.palette.100","colors.palette.800"],accentColor:["colors.primary.500","colors.primary.200"],foregroundColor:["colors.palette.700","colors.palette.200"],foregroundSecondaryColor:["colors.palette.500","colors.palette.400"],backgroundColor:["colors.white","colors.palette.950"],backgroundSecondaryColor:["colors.palette.50","colors.palette.900"],placeholderColor:["colors.palette.400","colors.palette.500"],readOnlyColor:["colors.palette.700","colors.palette.200"],disabledColor:["colors.palette.400","colors.palette.500"],gapSize:"density.gap",iconSize:"sizing.size_4",tableTransition:"0.2s",wrapperBorderWidth:"0px",wrapperBorderRadius:"sizing.size_3",wrapperBorderColor:"tokens.borderColor",barForegroundColor:"tokens.foregroundColor",barBackgroundColor:"tokens.backgroundSecondaryColor",barHorizontalPadding:"density.barsHorizontal",barVerticalPadding:"density.barsVertical",shadowColor:["colors.palette.700","colors.palette.200"],shadowX:"sizing.size_0",shadowY:"sizing.size_2",shadowBlur:"sizing.size_4",shadowOpacity:"6%",cellHorizontalPadding:"density.cellHorizontal",cellVerticalPadding:"density.cellVertical",cellHorizontalBorderColor:"colors.transparent",cellVerticalBorderColor:"tokens.borderColor",cellSelectionBorderColor:"tokens.accentColor",cellSelectionBackgroundColor:"tokens.accentColor",cellSuccessBackgroundColor:"#37bc6c4d",cellErrorBackgroundColor:"#fa4d324d",cellReadOnlyBackgroundColor:"tokens.backgroundSecondaryColor",cellAutofillSize:"sizing.size_1_5",cellAutofillHitAreaSize:"sizing.size_3",cellAutofillBorderWidth:"sizing.size_0_25",cellAutofillBorderRadius:"sizing.size_1",cellAutofillBorderColor:"tokens.backgroundColor",cellAutofillBackgroundColor:"tokens.accentColor",cellAutofillFillBorderColor:"tokens.foregroundColor",cellEditorBorderWidth:"2px",cellEditorBorderColor:"tokens.accentColor",cellEditorForegroundColor:["colors.palette.950","colors.white"],cellEditorBackgroundColor:"tokens.backgroundColor",cellEditorShadowBlurRadius:"8px",cellEditorShadowColor:"tokens.accentColor",cellMobileHandleSize:"sizing.size_3",cellMobileHandleBorderWidth:"sizing.size_0_25",cellMobileHandleBorderRadius:"sizing.size_3",cellMobileHandleBorderColor:"tokens.accentColor",cellMobileHandleBackgroundColor:"tokens.accentColor",cellMobileHandleBackgroundOpacity:"40%",headerFontWeight:"tokens.fontWeight",headerForegroundColor:"tokens.foregroundColor",headerBackgroundColor:"tokens.backgroundSecondaryColor",headerHighlightedShadowSize:"1px",headerHighlightedForegroundColor:"tokens.foregroundColor",headerHighlightedBackgroundColor:["colors.palette.100","colors.palette.800"],headerActiveBorderColor:["colors.palette.800","colors.primary.100"],headerActiveForegroundColor:"tokens.backgroundColor",headerActiveBackgroundColor:["colors.palette.950","colors.primary.200"],headerFilterBackgroundColor:"tokens.cellSuccessBackgroundColor",headerRowForegroundColor:"tokens.foregroundColor",headerRowBackgroundColor:"tokens.backgroundColor",headerRowHighlightedForegroundColor:"tokens.foregroundColor",headerRowHighlightedBackgroundColor:["colors.palette.100","colors.palette.800"],headerRowActiveForegroundColor:"tokens.backgroundColor",headerRowActiveBackgroundColor:["colors.palette.950","colors.primary.200"],rowHeaderOddBackgroundColor:"tokens.backgroundColor",rowHeaderEvenBackgroundColor:"tokens.backgroundSecondaryColor",rowCellOddBackgroundColor:"tokens.backgroundColor",rowCellEvenBackgroundColor:"tokens.backgroundSecondaryColor",buttonBorderRadius:"sizing.size_4",buttonHorizontalPadding:"density.buttonHorizontal",buttonVerticalPadding:"density.buttonVertical",primaryButtonBorderColor:"colors.transparent",primaryButtonForegroundColor:"tokens.backgroundColor",primaryButtonBackgroundColor:"tokens.accentColor",primaryButtonDisabledBorderColor:"colors.transparent",primaryButtonDisabledForegroundColor:"tokens.disabledColor",primaryButtonDisabledBackgroundColor:["colors.palette.200","colors.palette.700"],primaryButtonHoverBorderColor:"colors.transparent",primaryButtonHoverForegroundColor:"tokens.backgroundColor",primaryButtonHoverBackgroundColor:["colors.primary.600","colors.primary.100"],primaryButtonFocusBorderColor:"tokens.backgroundColor",primaryButtonFocusForegroundColor:"tokens.backgroundColor",primaryButtonFocusBackgroundColor:"tokens.accentColor",secondaryButtonBorderColor:"tokens.borderColor",secondaryButtonForegroundColor:"tokens.foregroundColor",secondaryButtonBackgroundColor:"tokens.backgroundColor",secondaryButtonDisabledBorderColor:"tokens.borderColor",secondaryButtonDisabledForegroundColor:"tokens.disabledColor",secondaryButtonDisabledBackgroundColor:["colors.palette.50","colors.palette.900"],secondaryButtonHoverBorderColor:"tokens.borderColor",secondaryButtonHoverForegroundColor:"tokens.foregroundColor",secondaryButtonHoverBackgroundColor:["colors.palette.50","colors.palette.900"],secondaryButtonFocusBorderColor:"tokens.borderColor",secondaryButtonFocusForegroundColor:"tokens.foregroundColor",secondaryButtonFocusBackgroundColor:"tokens.backgroundColor",iconButtonBorderRadius:"sizing.size_4",iconButtonLargeBorderRadius:"sizing.size_1",iconButtonLargePadding:"sizing.size_1",iconButtonBorderColor:["colors.palette.50","colors.palette.900"],iconButtonBackgroundColor:"tokens.backgroundSecondaryColor",iconButtonIconColor:["colors.palette.400","colors.palette.500"],iconButtonHoverBorderColor:["colors.palette.50","colors.palette.900"],iconButtonHoverBackgroundColor:["colors.palette.50","colors.palette.900"],iconButtonHoverIconColor:["colors.palette.700","colors.palette.200"],iconButtonActiveBorderColor:"colors.transparent",iconButtonActiveBackgroundColor:"colors.transparent",iconButtonActiveIconColor:"tokens.backgroundColor",iconButtonActiveHoverBorderColor:"colors.transparent",iconButtonActiveHoverBackgroundColor:["colors.palette.950","colors.primary.200"],iconButtonActiveHoverIconColor:"tokens.backgroundColor",collapseButtonBorderRadius:"sizing.size_4",collapseButtonOpenBorderColor:"colors.transparent",collapseButtonOpenBackgroundColor:"colors.transparent",collapseButtonOpenIconColor:["colors.palette.500","colors.palette.400"],collapseButtonOpenIconActiveColor:["colors.palette.400","colors.palette.500"],collapseButtonOpenHoverBorderColor:"colors.transparent",collapseButtonOpenHoverBackgroundColor:"colors.transparent",collapseButtonOpenHoverIconColor:["colors.palette.800","colors.palette.200"],collapseButtonOpenHoverIconActiveColor:["colors.white","colors.palette.950"],collapseButtonCloseBorderColor:"colors.transparent",collapseButtonCloseBackgroundColor:"colors.transparent",collapseButtonCloseIconColor:["colors.palette.500","colors.palette.400"],collapseButtonCloseIconActiveColor:["colors.palette.400","colors.palette.500"],collapseButtonCloseHoverBorderColor:"colors.transparent",collapseButtonCloseHoverBackgroundColor:"colors.transparent",collapseButtonCloseHoverIconColor:["colors.palette.800","colors.palette.200"],collapseButtonCloseHoverIconActiveColor:["colors.white","colors.palette.950"],linkColor:"tokens.accentColor",linkHoverColor:["colors.primary.600","colors.primary.100"],inputBorderWidth:"1px",inputBorderRadius:"sizing.size_1",inputHorizontalPadding:"density.inputHorizontal",inputVerticalPadding:"density.inputVertical",inputBorderColor:"tokens.borderColor",inputForegroundColor:"tokens.foregroundColor",inputBackgroundColor:"tokens.backgroundColor",inputHoverBorderColor:"tokens.borderColor",inputHoverForegroundColor:"tokens.foregroundColor",inputHoverBackgroundColor:"tokens.backgroundColor",inputDisabledBorderColor:"tokens.borderColor",inputDisabledForegroundColor:"tokens.disabledColor",inputDisabledBackgroundColor:"tokens.backgroundColor",inputFocusBorderColor:"tokens.accentColor",inputFocusForegroundColor:"tokens.foregroundColor",inputFocusBackgroundColor:"tokens.backgroundColor",checkboxSize:"tokens.iconSize",checkboxBorderRadius:"sizing.size_1_5",checkboxBorderColor:["colors.palette.400","colors.palette.500"],checkboxBackgroundColor:"tokens.backgroundColor",checkboxIconColor:"colors.transparent",checkboxFocusBorderColor:["colors.palette.400","colors.palette.500"],checkboxFocusBackgroundColor:"tokens.backgroundColor",checkboxFocusIconColor:"colors.transparent",checkboxFocusRingColor:"tokens.accentColor",checkboxDisabledBorderColor:["colors.palette.400","colors.palette.500"],checkboxDisabledBackgroundColor:["colors.palette.50","colors.palette.900"],checkboxDisabledIconColor:"colors.transparent",checkboxCheckedBorderColor:["colors.primary.400","colors.primary.300"],checkboxCheckedBackgroundColor:"tokens.accentColor",checkboxCheckedIconColor:"tokens.backgroundColor",checkboxCheckedFocusBorderColor:"tokens.backgroundColor",checkboxCheckedFocusBackgroundColor:"tokens.accentColor",checkboxCheckedFocusIconColor:"tokens.backgroundColor",checkboxCheckedDisabledBorderColor:["colors.palette.400","colors.palette.500"],checkboxCheckedDisabledBackgroundColor:["colors.palette.50","colors.palette.900"],checkboxCheckedDisabledIconColor:"tokens.disabledColor",checkboxIndeterminateBorderColor:["colors.primary.400","colors.primary.300"],checkboxIndeterminateBackgroundColor:"tokens.accentColor",checkboxIndeterminateIconColor:"tokens.backgroundColor",checkboxIndeterminateFocusBorderColor:"tokens.backgroundColor",checkboxIndeterminateFocusBackgroundColor:"tokens.accentColor",checkboxIndeterminateFocusIconColor:"tokens.backgroundColor",checkboxIndeterminateDisabledBorderColor:["colors.palette.400","colors.palette.500"],checkboxIndeterminateDisabledBackgroundColor:["colors.palette.50","colors.palette.900"],checkboxIndeterminateDisabledIconColor:"tokens.disabledColor",radioSize:"tokens.iconSize",radioBorderColor:["colors.palette.400","colors.palette.500"],radioBackgroundColor:"tokens.backgroundColor",radioIconColor:"colors.transparent",radioFocusBorderColor:["colors.palette.400","colors.palette.500"],radioFocusBackgroundColor:"tokens.backgroundColor",radioFocusIconColor:"colors.transparent",radioFocusRingColor:"tokens.accentColor",radioDisabledBorderColor:["colors.palette.400","colors.palette.500"],radioDisabledBackgroundColor:"tokens.backgroundSecondaryColor",radioDisabledIconColor:"colors.transparent",radioCheckedBorderColor:"tokens.accentColor",radioCheckedBackgroundColor:"tokens.backgroundColor",radioCheckedIconColor:"tokens.accentColor",radioCheckedFocusBorderColor:["colors.primary.400","colors.primary.300"],radioCheckedFocusBackgroundColor:"tokens.backgroundColor",radioCheckedFocusIconColor:"tokens.accentColor",radioCheckedDisabledBorderColor:["colors.palette.400","colors.palette.500"],radioCheckedDisabledBackgroundColor:"tokens.backgroundSecondaryColor",radioCheckedDisabledIconColor:"tokens.disabledColor",moveBacklightColor:["colors.palette.800","colors.palette.200"],moveBacklightOpacity:"6%",moveIndicatorColor:"tokens.accentColor",resizeIndicatorColor:["colors.palette.400","colors.palette.500"],hiddenIndicatorColor:["colors.palette.400","colors.palette.500"],menuBorderWidth:"0px",menuBorderRadius:"sizing.size_3",menuHorizontalPadding:"density.menuHorizontal",menuVerticalPadding:"density.menuVertical",menuItemHorizontalPadding:"density.menuItemHorizontal",menuItemVerticalPadding:"density.menuItemVertical",menuBorderColor:"tokens.borderColor",menuShadowX:"tokens.shadowX",menuShadowY:"tokens.shadowY",menuShadowBlur:"tokens.shadowBlur",menuShadowColor:["colors.palette.950","colors.white"],menuShadowOpacity:"6%",menuItemHoverColor:["colors.palette.500","colors.palette.400"],menuItemHoverColorOpacity:"8%",menuItemActiveColor:"tokens.accentColor",menuItemActiveColorOpacity:"12%",commentsTextareaHorizontalPadding:"density.cellHorizontal",commentsTextareaVerticalPadding:"density.cellVertical",commentsTextareaBorderWidth:"1px",commentsTextareaBorderColor:"colors.transparent",commentsTextareaForegroundColor:"tokens.foregroundColor",commentsTextareaBackgroundColor:"tokens.backgroundSecondaryColor",commentsTextareaFocusBorderWidth:"1px",commentsTextareaFocusBorderColor:"tokens.accentColor",commentsTextareaFocusForegroundColor:"tokens.foregroundColor",commentsTextareaFocusBackgroundColor:"tokens.backgroundColor",commentsIndicatorSize:"sizing.size_1_5",commentsIndicatorColor:"tokens.accentColor",licenseHorizontalPadding:"tokens.barHorizontalPadding",licenseVerticalPadding:"tokens.barVerticalPadding",licenseForegroundColor:"tokens.barForegroundColor",licenseBackgroundColor:"tokens.barBackgroundColor",paginationBarForegroundColor:"tokens.barForegroundColor",paginationBarBackgroundColor:"tokens.barBackgroundColor",paginationBarHorizontalPadding:"tokens.barHorizontalPadding",paginationBarVerticalPadding:"tokens.barVerticalPadding",dialogSemiTransparentBackgroundColor:["colors.white","colors.palette.950"],dialogSemiTransparentBackgroundOpacity:"80%",dialogSolidBackgroundColor:["colors.white","colors.palette.950"],dialogContentPaddingHorizontal:"density.dialogHorizontal",dialogContentPaddingVertical:"density.dialogVertical",dialogContentBorderRadius:"sizing.size_4",dialogContentBackgroundColor:"tokens.backgroundColor",chipBackground:"tokens.backgroundSecondaryColor",chipBorderRadius:"sizing.size_2",chipVerticalPadding:"sizing.size_0",chipHorizontalPadding:"sizing.size_0_5",chipGap:"sizing.size_1",scrollbarBorderRadius:"sizing.size_2",scrollbarTrackColor:"tokens.backgroundSecondaryColor",scrollbarThumbColor:["colors.palette.400","colors.palette.500"]}},99843(e,t){"use strict";t.__esModule=!0;t.default={fontFamily:"Inter",fontSize:"14px",fontSizeSmall:"12px",lineHeight:"20px",lineHeightSmall:"18px",fontWeight:"400",letterSpacing:"0px",borderColor:["colors.palette.100","colors.palette.700"],accentColor:["colors.primary.500","colors.primary.300"],foregroundColor:["colors.palette.800","colors.palette.200"],foregroundSecondaryColor:["colors.palette.400","colors.palette.300"],backgroundColor:["colors.white","colors.palette.950"],backgroundSecondaryColor:["colors.palette.50","colors.palette.900"],placeholderColor:["colors.palette.300","colors.palette.400"],readOnlyColor:["colors.palette.400","colors.palette.300"],disabledColor:["colors.palette.300","colors.palette.400"],gapSize:"density.gap",iconSize:"sizing.size_4",tableTransition:"0.15s",wrapperBorderWidth:"0px",wrapperBorderRadius:"sizing.size_1",wrapperBorderColor:"tokens.borderColor",barForegroundColor:"tokens.foregroundColor",barBackgroundColor:"tokens.backgroundSecondaryColor",barHorizontalPadding:"density.barsHorizontal",barVerticalPadding:"density.barsVertical",shadowColor:["colors.palette.800","colors.palette.200"],shadowX:"sizing.size_0",shadowY:"sizing.size_2",shadowBlur:"sizing.size_4",shadowOpacity:"8%",cellHorizontalPadding:"density.cellHorizontal",cellVerticalPadding:"density.cellVertical",cellHorizontalBorderColor:"tokens.borderColor",cellVerticalBorderColor:"tokens.borderColor",cellSelectionBorderColor:"tokens.accentColor",cellSelectionBackgroundColor:["colors.primary.400","colors.primary.200"],cellSuccessBackgroundColor:"#37bc6c33",cellErrorBackgroundColor:"#fa4d3233",cellReadOnlyBackgroundColor:"tokens.backgroundSecondaryColor",cellAutofillSize:"sizing.size_1_5",cellAutofillHitAreaSize:"sizing.size_3",cellAutofillBorderWidth:"sizing.size_0_25",cellAutofillBorderRadius:"sizing.size_1",cellAutofillBorderColor:"tokens.backgroundColor",cellAutofillBackgroundColor:"tokens.accentColor",cellAutofillFillBorderColor:"tokens.foregroundColor",cellEditorBorderWidth:"2px",cellEditorBorderColor:"tokens.accentColor",cellEditorForegroundColor:["colors.palette.950","colors.white"],cellEditorBackgroundColor:"tokens.backgroundColor",cellEditorShadowBlurRadius:"0px",cellEditorShadowColor:"tokens.accentColor",cellMobileHandleSize:"sizing.size_3",cellMobileHandleBorderWidth:"sizing.size_0_25",cellMobileHandleBorderRadius:"sizing.size_3",cellMobileHandleBorderColor:"tokens.accentColor",cellMobileHandleBackgroundColor:"tokens.accentColor",cellMobileHandleBackgroundOpacity:"40%",headerFontWeight:"tokens.fontWeight",headerForegroundColor:"tokens.foregroundColor",headerBackgroundColor:"tokens.backgroundSecondaryColor",headerHighlightedShadowSize:"0px",headerHighlightedForegroundColor:["colors.palette.950","colors.white"],headerHighlightedBackgroundColor:["colors.palette.100","colors.palette.700"],headerActiveBorderColor:["colors.primary.400","colors.primary.200"],headerActiveForegroundColor:"colors.white",headerActiveBackgroundColor:"tokens.accentColor",headerFilterBackgroundColor:"tokens.cellSuccessBackgroundColor",headerRowForegroundColor:"tokens.foregroundColor",headerRowBackgroundColor:"tokens.backgroundSecondaryColor",headerRowHighlightedForegroundColor:["colors.palette.950","colors.white"],headerRowHighlightedBackgroundColor:["colors.palette.100","colors.palette.700"],headerRowActiveForegroundColor:"colors.white",headerRowActiveBackgroundColor:"tokens.accentColor",rowHeaderOddBackgroundColor:"tokens.backgroundSecondaryColor",rowHeaderEvenBackgroundColor:"tokens.backgroundSecondaryColor",rowCellOddBackgroundColor:"tokens.backgroundColor",rowCellEvenBackgroundColor:"tokens.backgroundColor",buttonBorderRadius:"sizing.size_1",buttonHorizontalPadding:"density.buttonHorizontal",buttonVerticalPadding:"density.buttonVertical",primaryButtonBorderColor:"colors.transparent",primaryButtonForegroundColor:"colors.white",primaryButtonBackgroundColor:"tokens.accentColor",primaryButtonDisabledBorderColor:"colors.transparent",primaryButtonDisabledForegroundColor:"tokens.disabledColor",primaryButtonDisabledBackgroundColor:["colors.palette.100","colors.palette.700"],primaryButtonHoverBorderColor:"colors.transparent",primaryButtonHoverForegroundColor:"tokens.backgroundColor",primaryButtonHoverBackgroundColor:["colors.primary.600","colors.primary.100"],primaryButtonFocusBorderColor:"tokens.backgroundColor",primaryButtonFocusForegroundColor:"tokens.backgroundColor",primaryButtonFocusBackgroundColor:"tokens.accentColor",secondaryButtonBorderColor:"tokens.borderColor",secondaryButtonForegroundColor:"tokens.foregroundColor",secondaryButtonBackgroundColor:"tokens.backgroundColor",secondaryButtonDisabledBorderColor:"tokens.borderColor",secondaryButtonDisabledForegroundColor:"tokens.disabledColor",secondaryButtonDisabledBackgroundColor:["colors.palette.100","colors.palette.700"],secondaryButtonHoverBorderColor:"tokens.borderColor",secondaryButtonHoverForegroundColor:"tokens.foregroundColor",secondaryButtonHoverBackgroundColor:["colors.palette.100","colors.palette.700"],secondaryButtonFocusBorderColor:"tokens.borderColor",secondaryButtonFocusForegroundColor:"tokens.foregroundColor",secondaryButtonFocusBackgroundColor:"tokens.backgroundColor",iconButtonBorderRadius:"sizing.size_0_5",iconButtonLargeBorderRadius:"sizing.size_1",iconButtonLargePadding:"sizing.size_1",iconButtonBorderColor:["colors.palette.50","colors.palette.900"],iconButtonBackgroundColor:"tokens.backgroundSecondaryColor",iconButtonIconColor:["colors.palette.300","colors.palette.400"],iconButtonHoverBorderColor:["colors.palette.200","colors.palette.600"],iconButtonHoverBackgroundColor:["colors.palette.200","colors.palette.600"],iconButtonHoverIconColor:["colors.palette.300","colors.palette.400"],iconButtonActiveBorderColor:["colors.primary.400","colors.primary.200"],iconButtonActiveBackgroundColor:"tokens.accentColor",iconButtonActiveIconColor:"colors.white",iconButtonActiveHoverBorderColor:["colors.primary.400","colors.primary.200"],iconButtonActiveHoverBackgroundColor:["colors.primary.400","colors.primary.200"],iconButtonActiveHoverIconColor:"colors.white",collapseButtonBorderRadius:"sizing.size_1",collapseButtonOpenBorderColor:["colors.palette.200","colors.palette.500"],collapseButtonOpenBackgroundColor:["colors.white","colors.palette.950"],collapseButtonOpenIconColor:["colors.palette.400","colors.palette.300"],collapseButtonOpenIconActiveColor:["colors.palette.400","colors.palette.300"],collapseButtonOpenHoverBorderColor:["colors.palette.200","colors.palette.500"],collapseButtonOpenHoverBackgroundColor:["colors.palette.50","colors.palette.900"],collapseButtonOpenHoverIconColor:["colors.palette.400","colors.palette.300"],collapseButtonOpenHoverIconActiveColor:["colors.palette.400","colors.palette.300"],collapseButtonCloseBorderColor:["colors.palette.200","colors.palette.500"],collapseButtonCloseBackgroundColor:["colors.palette.100","colors.palette.700"],collapseButtonCloseIconColor:["colors.palette.400","colors.palette.300"],collapseButtonCloseIconActiveColor:["colors.palette.400","colors.palette.300"],collapseButtonCloseHoverBorderColor:["colors.palette.200","colors.palette.500"],collapseButtonCloseHoverBackgroundColor:["colors.palette.100","colors.palette.700"],collapseButtonCloseHoverIconColor:["colors.palette.400","colors.palette.300"],collapseButtonCloseHoverIconActiveColor:["colors.palette.400","colors.palette.300"],linkColor:["colors.primary.600","colors.primary.100"],linkHoverColor:"tokens.accentColor",inputBorderWidth:"1px",inputBorderRadius:"sizing.size_1",inputHorizontalPadding:"density.inputHorizontal",inputVerticalPadding:"density.inputVertical",inputBorderColor:"tokens.borderColor",inputForegroundColor:"tokens.foregroundColor",inputBackgroundColor:"tokens.backgroundSecondaryColor",inputHoverBorderColor:"tokens.borderColor",inputHoverForegroundColor:"tokens.foregroundColor",inputHoverBackgroundColor:"tokens.backgroundColor",inputDisabledBorderColor:"tokens.borderColor",inputDisabledForegroundColor:"tokens.disabledColor",inputDisabledBackgroundColor:["colors.palette.200","colors.palette.500"],inputFocusBorderColor:"tokens.accentColor",inputFocusForegroundColor:"tokens.foregroundColor",inputFocusBackgroundColor:"tokens.backgroundColor",checkboxSize:"tokens.iconSize",checkboxBorderRadius:"sizing.size_1",checkboxBorderColor:["colors.palette.200","colors.palette.500"],checkboxBackgroundColor:"tokens.backgroundColor",checkboxIconColor:"colors.transparent",checkboxFocusBorderColor:["colors.palette.200","colors.palette.500"],checkboxFocusBackgroundColor:"tokens.backgroundColor",checkboxFocusIconColor:"colors.transparent",checkboxFocusRingColor:"tokens.accentColor",checkboxDisabledBorderColor:["colors.palette.200","colors.palette.500"],checkboxDisabledBackgroundColor:["colors.palette.100","colors.palette.700"],checkboxDisabledIconColor:"colors.transparent",checkboxCheckedBorderColor:["colors.primary.400","colors.primary.200"],checkboxCheckedBackgroundColor:"tokens.accentColor",checkboxCheckedIconColor:"colors.white",checkboxCheckedFocusBorderColor:"tokens.backgroundColor",checkboxCheckedFocusBackgroundColor:"tokens.accentColor",checkboxCheckedFocusIconColor:"colors.white",checkboxCheckedDisabledBorderColor:["colors.palette.200","colors.palette.500"],checkboxCheckedDisabledBackgroundColor:["colors.palette.100","colors.palette.700"],checkboxCheckedDisabledIconColor:"tokens.disabledColor",checkboxIndeterminateBorderColor:["colors.primary.400","colors.primary.200"],checkboxIndeterminateBackgroundColor:"tokens.accentColor",checkboxIndeterminateIconColor:"colors.white",checkboxIndeterminateFocusBorderColor:"tokens.backgroundColor",checkboxIndeterminateFocusBackgroundColor:"tokens.accentColor",checkboxIndeterminateFocusIconColor:"colors.white",checkboxIndeterminateDisabledBorderColor:["colors.palette.200","colors.palette.600"],checkboxIndeterminateDisabledBackgroundColor:["colors.palette.200","colors.palette.500"],checkboxIndeterminateDisabledIconColor:"tokens.disabledColor",radioSize:"tokens.iconSize",radioBorderColor:["colors.palette.200","colors.palette.500"],radioBackgroundColor:"tokens.backgroundColor",radioIconColor:"colors.transparent",radioFocusBorderColor:"tokens.borderColor",radioFocusBackgroundColor:"tokens.backgroundColor",radioFocusIconColor:"colors.transparent",radioFocusRingColor:"tokens.accentColor",radioDisabledBorderColor:["colors.palette.200","colors.palette.500"],radioDisabledBackgroundColor:["colors.palette.100","colors.palette.700"],radioDisabledIconColor:"colors.transparent",radioCheckedBorderColor:"tokens.accentColor",radioCheckedBackgroundColor:"tokens.backgroundColor",radioCheckedIconColor:"tokens.accentColor",radioCheckedFocusBorderColor:["colors.primary.400","colors.primary.200"],radioCheckedFocusBackgroundColor:"tokens.backgroundColor",radioCheckedFocusIconColor:["colors.primary.400","colors.primary.200"],radioCheckedDisabledBorderColor:["colors.palette.200","colors.palette.500"],radioCheckedDisabledBackgroundColor:["colors.palette.100","colors.palette.700"],radioCheckedDisabledIconColor:"tokens.disabledColor",moveBacklightColor:["colors.palette.800","colors.palette.200"],moveBacklightOpacity:"8%",moveIndicatorColor:"tokens.accentColor",resizeIndicatorColor:["colors.palette.300","colors.palette.400"],hiddenIndicatorColor:["colors.palette.300","colors.palette.400"],menuBorderWidth:"1px",menuBorderRadius:"sizing.size_1",menuHorizontalPadding:"density.menuHorizontal",menuVerticalPadding:"density.menuVertical",menuItemHorizontalPadding:"density.menuItemHorizontal",menuItemVerticalPadding:"density.menuItemVertical",menuBorderColor:"tokens.borderColor",menuShadowX:"tokens.shadowX",menuShadowY:"tokens.shadowY",menuShadowBlur:"tokens.shadowBlur",menuShadowColor:["colors.palette.950","colors.white"],menuShadowOpacity:"8%",menuItemHoverColor:["colors.palette.800","colors.palette.200"],menuItemHoverColorOpacity:"4%",menuItemActiveColor:"tokens.accentColor",menuItemActiveColorOpacity:"8%",commentsTextareaHorizontalPadding:"density.cellHorizontal",commentsTextareaVerticalPadding:"density.cellVertical",commentsTextareaBorderWidth:"1px",commentsTextareaBorderColor:"colors.transparent",commentsTextareaForegroundColor:"tokens.foregroundColor",commentsTextareaBackgroundColor:"tokens.backgroundSecondaryColor",commentsTextareaFocusBorderWidth:"1px",commentsTextareaFocusBorderColor:"tokens.accentColor",commentsTextareaFocusForegroundColor:"tokens.foregroundColor",commentsTextareaFocusBackgroundColor:"tokens.backgroundColor",commentsIndicatorSize:"sizing.size_1_5",commentsIndicatorColor:"tokens.accentColor",licenseHorizontalPadding:"tokens.barHorizontalPadding",licenseVerticalPadding:"tokens.barVerticalPadding",licenseForegroundColor:"tokens.barForegroundColor",licenseBackgroundColor:"tokens.barBackgroundColor",paginationBarForegroundColor:"tokens.barForegroundColor",paginationBarBackgroundColor:"tokens.barBackgroundColor",paginationBarHorizontalPadding:"tokens.barHorizontalPadding",paginationBarVerticalPadding:"tokens.barVerticalPadding",dialogSemiTransparentBackgroundColor:["colors.white","colors.palette.950"],dialogSemiTransparentBackgroundOpacity:"80%",dialogSolidBackgroundColor:["colors.white","colors.palette.950"],dialogContentPaddingHorizontal:"density.dialogHorizontal",dialogContentPaddingVertical:"density.dialogVertical",dialogContentBorderRadius:"sizing.size_2",dialogContentBackgroundColor:"tokens.backgroundSecondaryColor",chipBackground:"tokens.backgroundSecondaryColor",chipBorderRadius:"sizing.size_0_5",chipVerticalPadding:"sizing.size_0",chipHorizontalPadding:"sizing.size_0_5",chipGap:"sizing.size_1",scrollbarBorderRadius:"sizing.size_2",scrollbarTrackColor:"tokens.backgroundSecondaryColor",scrollbarThumbColor:["colors.palette.300","colors.palette.400"]}},38590(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43123)),i=r(o(94506)),s=r(o(92628));t.classicTheme={name:"classic",density:"compact",icons:n.default,colors:i.default,tokens:s.default}},94249(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(78435)),i=r(o(11829)),s=r(o(46387));t.horizonTheme={name:"horizon",density:"comfortable",icons:n.default,colors:i.default,tokens:s.default}},46554(e,t,o){"use strict";t.__esModule=!0;var r=o(38590);t.classicTheme=r.classicTheme;var n=o(96605);t.mainTheme=n.mainTheme;var i=o(94249);t.horizonTheme=i.horizonTheme},96605(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43123)),i=r(o(96969)),s=r(o(99843));t.mainTheme={name:"main",density:"default",icons:n.default,colors:i.default,tokens:s.default}},39956(e,t,o){"use strict";t.__esModule=!0;var r=o(10559),n=o(12320);function i(e,t,o){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,o)}function s(e,t){return e.get(l(e,t))}function a(e,t,o){return e.set(l(e,t),o),o}function l(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var h=new WeakMap,d=new WeakMap,c=new WeakMap,u=new WeakMap,g=new WeakMap;t.ChangesObservable=class{constructor(){let{initialIndexValue:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,h,new Set),i(this,d,[]),i(this,c,[]),i(this,u,!1),i(this,g,!1),a(g,this,null!=e&&e)}createObserver(){const e=new r.ChangesObserver;return s(h,this).add(e),e.addLocalHook("unsubscribe",()=>{s(h,this).delete(e)}),e._writeInitialChanges((0,n.arrayDiff)(s(d,this),s(c,this))),e}emit(e){let t=s(c,this);s(u,this)&&s(d,this).length===e.length||(0===e.length?e=new Array(t.length).fill(s(g,this)):a(d,this,new Array(e.length).fill(s(g,this))),s(u,this)||(a(u,this,!0),t=s(d,this)));const o=(0,n.arrayDiff)(t,e);s(h,this).forEach(e=>e._write(o)),a(c,this,e)}}},10559(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=o(38888),i=r(o(81551));function s(e,t,o){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,o)}function a(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var l=new WeakMap;class h{constructor(){s(this,l,[])}subscribe(e){var t,o;return this.addLocalHook("change",e),this._write((o=this,(t=l).get(a(t,o)))),this}unsubscribe(){return this.runLocalHooks("unsubscribe"),this.clearLocalHooks(),this}_write(e){return e.length>0&&this.runLocalHooks("change",e),this}_writeInitialChanges(e){var t,o,r;o=this,r=e,(t=l).set(a(t,o),r)}}t.ChangesObserver=h,(0,n.mixin)(h,i.default)},12320(e,t){"use strict";t.__esModule=!0,t.arrayDiff=function(e,t){const o=[];let r=0,n=0;for(;r<e.length&&n<t.length;r++,n++)e[r]!==t[n]&&o.push({op:"replace",index:n,oldValue:e[r],newValue:t[n]});for(;r<t.length;r++)o.push({op:"insert",index:r,oldValue:void 0,newValue:t[r]});for(;n<e.length;n++)o.push({op:"remove",index:n,oldValue:e[n],newValue:void 0});return o}},45978(e,t,o){"use strict";t.__esModule=!0;var r={IndexMapper:!0,getRegisteredMapsCounter:!0,getIncreasedIndexes:!0,getDecreasedIndexes:!0,alterUtilsFactory:!0},n=o(60355);t.IndexMapper=n.IndexMapper;var i=o(63510);t.getRegisteredMapsCounter=i.getRegisteredMapsCounter;var s=o(60362);t.getIncreasedIndexes=s.getIncreasedIndexes,t.getDecreasedIndexes=s.getDecreasedIndexes,t.alterUtilsFactory=s.alterUtilsFactory;var a=o(43592);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===a[e]||(t[e]=a[e]))})},60355(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(6578),s=o(43592),a=o(2120),l=r(o(81551)),h=o(38888),d=o(79416),c=o(39956),u=o(26032);new Set;class g{constructor(){(0,n.default)(this,"indexesSequence",new s.IndexesSequence),(0,n.default)(this,"trimmingMapsCollection",new a.AggregatedCollection(e=>e.some(e=>!0===e),!1)),(0,n.default)(this,"hidingMapsCollection",new a.AggregatedCollection(e=>e.some(e=>!0===e),!1)),(0,n.default)(this,"variousMapsCollection",new a.MapCollection),(0,n.default)(this,"hidingChangesObservable",new c.ChangesObservable({initialIndexValue:!1})),(0,n.default)(this,"notTrimmedIndexesCache",[]),(0,n.default)(this,"notHiddenIndexesCache",[]),(0,n.default)(this,"isBatched",!1),(0,n.default)(this,"indexesSequenceChanged",!1),(0,n.default)(this,"indexesChangeSource",void 0),(0,n.default)(this,"trimmedIndexesChanged",!1),(0,n.default)(this,"hiddenIndexesChanged",!1),(0,n.default)(this,"renderablePhysicalIndexesCache",[]),(0,n.default)(this,"fromPhysicalToVisualIndexesCache",new Map),(0,n.default)(this,"fromVisualToRenderableIndexesCache",new Map),this.indexesSequence.addLocalHook("change",()=>{this.indexesSequenceChanged=!0,this.updateCache(),this.runLocalHooks("indexesSequenceChange",this.indexesChangeSource),this.runLocalHooks("change",this.indexesSequence,null)}),this.trimmingMapsCollection.addLocalHook("change",e=>{this.trimmedIndexesChanged=!0,this.updateCache(),this.runLocalHooks("change",e,this.trimmingMapsCollection)}),this.hidingMapsCollection.addLocalHook("change",e=>{this.hiddenIndexesChanged=!0,this.updateCache(),this.runLocalHooks("change",e,this.hidingMapsCollection)}),this.variousMapsCollection.addLocalHook("change",e=>{this.runLocalHooks("change",e,this.variousMapsCollection)})}suspendOperations(){this.isBatched=!0}resumeOperations(){this.isBatched=!1,this.updateCache()}createChangesObserver(e){return"hiding"!==e&&(0,u.throwWithCause)(`Unsupported index map type "${e}".`),this.hidingChangesObservable.createObserver()}createAndRegisterIndexMap(e,t,o){return this.registerMap(e,(0,s.createIndexMap)(t,o))}registerMap(e,t){(this.trimmingMapsCollection.get(e)||this.hidingMapsCollection.get(e)||this.variousMapsCollection.get(e))&&(0,u.throwWithCause)(`Map with name "${e}" has been already registered.`),t instanceof s.TrimmingMap?this.trimmingMapsCollection.register(e,t):t instanceof s.HidingMap?this.hidingMapsCollection.register(e,t):this.variousMapsCollection.register(e,t);const o=this.getNumberOfIndexes();return o>0&&t.init(o),t}unregisterMap(e){this.trimmingMapsCollection.unregister(e),this.hidingMapsCollection.unregister(e),this.variousMapsCollection.unregister(e)}unregisterAll(){this.trimmingMapsCollection.unregisterAll(),this.hidingMapsCollection.unregisterAll(),this.variousMapsCollection.unregisterAll()}getPhysicalFromVisualIndex(e){const t=this.notTrimmedIndexesCache[e];return(0,d.isDefined)(t)?t:null}getPhysicalFromRenderableIndex(e){const t=this.renderablePhysicalIndexesCache[e];return(0,d.isDefined)(t)?t:null}getVisualFromPhysicalIndex(e){const t=this.fromPhysicalToVisualIndexesCache.get(e);return(0,d.isDefined)(t)?t:null}getVisualFromRenderableIndex(e){return this.getVisualFromPhysicalIndex(this.getPhysicalFromRenderableIndex(e))}getRenderableFromVisualIndex(e){const t=this.fromVisualToRenderableIndexesCache.get(e);return(0,d.isDefined)(t)?t:null}getNearestNotHiddenIndex(e,t){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null===this.getPhysicalFromVisualIndex(e))return null;if(this.fromVisualToRenderableIndexesCache.has(e))return e;const r=Array.from(this.fromVisualToRenderableIndexesCache.keys());let n=-1;return n=t>0?r.findIndex(t=>t>e):r.reverse().findIndex(t=>t<e),-1===n?o?this.getNearestNotHiddenIndex(e,-t,!1):null:r[n]}initToLength(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getNumberOfIndexes();this.notTrimmedIndexesCache=[...new Array(e).keys()],this.notHiddenIndexesCache=[...new Array(e).keys()],this.suspendOperations(),this.indexesChangeSource="init",this.indexesSequence.init(e),this.indexesChangeSource=void 0,this.trimmingMapsCollection.initEvery(e),this.resumeOperations(),this.suspendOperations(),this.hidingMapsCollection.initEvery(e),this.variousMapsCollection.initEvery(e),this.resumeOperations(),this.runLocalHooks("init")}fitToLength(e){const t=this.getNumberOfIndexes();if(e<t){const t=[...Array(this.getNumberOfIndexes()-e).keys()].map(t=>t+e);this.removeIndexes(t)}else this.insertIndexes(t,e-t)}getIndexesSequence(){return this.indexesSequence.getValues()}setIndexesSequence(e){void 0===this.indexesChangeSource&&(this.indexesChangeSource="update"),this.indexesSequence.setValues(e),"update"===this.indexesChangeSource&&(this.indexesChangeSource=void 0)}getNotTrimmedIndexes(){if(!0===(!(arguments.length>0&&void 0!==arguments[0])||arguments[0]))return this.notTrimmedIndexesCache;return this.getIndexesSequence().filter(e=>!1===this.isTrimmed(e))}getNotTrimmedIndexesLength(){return this.getNotTrimmedIndexes().length}getNotHiddenIndexes(){if(!0===(!(arguments.length>0&&void 0!==arguments[0])||arguments[0]))return this.notHiddenIndexesCache;return this.getIndexesSequence().filter(e=>!1===this.isHidden(e))}getNotHiddenIndexesLength(){return this.getNotHiddenIndexes().length}getRenderableIndexes(){if(!0===(!(arguments.length>0&&void 0!==arguments[0])||arguments[0]))return this.renderablePhysicalIndexesCache;return this.getNotTrimmedIndexes().filter(e=>!1===this.isHidden(e))}getRenderableIndexesLength(){return this.getRenderableIndexes().length}getNumberOfIndexes(){return this.getIndexesSequence().length}moveIndexes(e,t){"number"==typeof e&&(e=[e]);const o=(0,i.arrayMap)(e,e=>this.getPhysicalFromVisualIndex(e)),r=this.getNotTrimmedIndexesLength(),n=e.length,a=(0,s.getListWithRemovedItems)(this.getIndexesSequence(),o),l=a.filter(e=>!1===this.isTrimmed(e));let h=a.indexOf(l[l.length-1])+1;if(t+n<r){const e=l[t];h=a.indexOf(e)}this.indexesChangeSource="move",this.setIndexesSequence((0,s.getListWithInsertedItems)(a,h,o)),this.indexesChangeSource=void 0}isTrimmed(e){return this.trimmingMapsCollection.getMergedValueAtIndex(e)}isHidden(e){return this.hidingMapsCollection.getMergedValueAtIndex(e)}insertIndexes(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"start";const r=this.getNotTrimmedIndexes()[e],n=(0,d.isDefined)(r)?r:this.getNumberOfIndexes(),s=this.getIndexesSequence().includes(r)?this.getIndexesSequence().indexOf(r):this.getNumberOfIndexes(),a=(0,i.arrayMap)(new Array(t).fill(n),(e,t)=>e+t);this.suspendOperations(),this.indexesChangeSource="insert",this.indexesSequence.insert(s,a),this.indexesChangeSource=void 0;const l="end"===o?a.map(e=>e+1):a;this.trimmingMapsCollection.insertToEvery(s,l),this.hidingMapsCollection.insertToEvery(s,l),this.variousMapsCollection.insertToEvery(s,l),this.resumeOperations()}removeIndexes(e){this.suspendOperations(),this.indexesChangeSource="remove",this.indexesSequence.remove(e),this.indexesChangeSource=void 0,this.trimmingMapsCollection.removeFromEvery(e),this.hidingMapsCollection.removeFromEvery(e),this.variousMapsCollection.removeFromEvery(e),this.resumeOperations()}updateCache(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.indexesSequenceChanged||this.trimmedIndexesChanged||this.hiddenIndexesChanged;(!0===e||!1===this.isBatched&&!0===t)&&(this.trimmingMapsCollection.updateCache(),this.hidingMapsCollection.updateCache(),this.notTrimmedIndexesCache=this.getNotTrimmedIndexes(!1),this.notHiddenIndexesCache=this.getNotHiddenIndexes(!1),this.renderablePhysicalIndexesCache=this.getRenderableIndexes(!1),this.cacheFromPhysicalToVisualIndexes(),this.cacheFromVisualToRenderableIndexes(),this.hiddenIndexesChanged&&this.hidingChangesObservable.emit(this.hidingMapsCollection.getMergedValues()),this.runLocalHooks("cacheUpdated",{indexesSequenceChanged:this.indexesSequenceChanged,trimmedIndexesChanged:this.trimmedIndexesChanged,hiddenIndexesChanged:this.hiddenIndexesChanged}),this.indexesSequenceChanged=!1,this.trimmedIndexesChanged=!1,this.hiddenIndexesChanged=!1)}cacheFromPhysicalToVisualIndexes(){const e=this.getNotTrimmedIndexesLength();this.fromPhysicalToVisualIndexesCache.clear();for(let t=0;t<e;t+=1){const e=this.getPhysicalFromVisualIndex(t);this.fromPhysicalToVisualIndexesCache.set(e,t)}}cacheFromVisualToRenderableIndexes(){const e=this.getRenderableIndexesLength();this.fromVisualToRenderableIndexesCache.clear();for(let t=0;t<e;t+=1){const e=this.getPhysicalFromRenderableIndex(t),o=this.getVisualFromPhysicalIndex(e);this.fromVisualToRenderableIndexesCache.set(o,t)}}}t.IndexMapper=g,(0,h.mixin)(g,l.default)},9199(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(63510),s=o(6578),a=o(79416);class l extends i.MapCollection{constructor(e,t){super(),(0,n.default)(this,"mergedValuesCache",[]),(0,n.default)(this,"aggregationFunction",void 0),(0,n.default)(this,"fallbackValue",void 0),this.aggregationFunction=e,this.fallbackValue=t}getMergedValues(){if(!0===(!(arguments.length>0&&void 0!==arguments[0])||arguments[0]))return this.mergedValuesCache;if(0===this.getLength())return[];const e=(0,s.arrayMap)(this.get(),e=>e.getValues()),t=[],o=(0,a.isDefined)(e[0])&&e[0].length||0;for(let r=0;r<o;r+=1){const o=[];for(let t=0;t<this.getLength();t+=1)o.push(e[t][r]);t.push(o)}return(0,s.arrayMap)(t,this.aggregationFunction)}getMergedValueAtIndex(e,t){const o=this.getMergedValues(t)[e];return(0,a.isDefined)(o)?o:this.fallbackValue}updateCache(){this.mergedValuesCache=this.getMergedValues(!1)}}t.AggregatedCollection=l},2120(e,t,o){"use strict";t.__esModule=!0;var r=o(9199);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||(t[e]=r[e]))});var n=o(63510);Object.keys(n).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||(t[e]=n[e]))})},63510(e,t,o){"use strict";var r=o(62682);t.__esModule=!0,t.getRegisteredMapsCounter=function(){return l};var n=r(o(43685)),i=o(79416),s=o(38888),a=r(o(81551));let l=0;class h{constructor(){(0,n.default)(this,"collection",new Map)}register(e,t){!1===this.collection.has(e)&&(this.collection.set(e,t),t.addLocalHook("change",()=>this.runLocalHooks("change",t)),l+=1)}unregister(e){const t=this.collection.get(e);(0,i.isDefined)(t)&&(t.destroy(),this.collection.delete(e),this.runLocalHooks("change",t),l-=1)}unregisterAll(){this.collection.forEach((e,t)=>this.unregister(t)),this.collection.clear()}get(e){return(0,i.isUndefined)(e)?Array.from(this.collection.values()):this.collection.get(e)}getLength(){return this.collection.size}removeFromEvery(e){this.collection.forEach(t=>{t.remove(e)})}insertToEvery(e,t){this.collection.forEach(o=>{o.insert(e,t)})}initEvery(e){this.collection.forEach(t=>{t.init(e)})}}t.MapCollection=h,(0,s.mixin)(h,a.default)},42575(e,t,o){"use strict";t.__esModule=!0;var r=o(50195),n=o(6578);class i extends r.PhysicalIndexToValueMap{constructor(){super(arguments.length>0&&void 0!==arguments[0]&&arguments[0])}getHiddenIndexes(){return(0,n.arrayReduce)(this.getValues(),(e,t,o)=>(t&&e.push(o),e),[])}}t.HidingMap=i},43592(e,t,o){"use strict";t.__esModule=!0;var r={createIndexMap:!0,HidingMap:!0,IndexMap:!0,LinkedPhysicalIndexToValueMap:!0,PhysicalIndexToValueMap:!0,TrimmingMap:!0};t.createIndexMap=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;u.has(e)||(0,h.throwWithCause)(`The provided map type ("${e}") does not exist.`);return new(u.get(e))(t)};var n=o(42575);t.HidingMap=n.HidingMap;var i=o(32392);t.IndexMap=i.IndexMap;var s=o(15596);t.LinkedPhysicalIndexToValueMap=s.LinkedPhysicalIndexToValueMap;var a=o(50195);t.PhysicalIndexToValueMap=a.PhysicalIndexToValueMap;var l=o(64117);t.TrimmingMap=l.TrimmingMap;var h=o(26032),d=o(91701);Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===d[e]||(t[e]=d[e]))});var c=o(46719);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===c[e]||(t[e]=c[e]))});const u=new Map([["hiding",n.HidingMap],["index",i.IndexMap],["linkedPhysicalIndexToValue",s.LinkedPhysicalIndexToValueMap],["physicalIndexToValue",a.PhysicalIndexToValueMap],["trimming",l.TrimmingMap]])},32392(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(94366),s=o(38888),a=o(3179),l=r(o(81551));class h{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;(0,n.default)(this,"indexedValues",[]),(0,n.default)(this,"initValueOrFn",void 0),this.initValueOrFn=e}getValues(){return this.indexedValues}getValueAtIndex(e){const t=this.indexedValues;if(e<t.length)return t[e]}setValues(e){this.indexedValues=e.slice(),this.runLocalHooks("change")}setValueAtIndex(e,t){return e<this.indexedValues.length&&(this.indexedValues[e]=t,this.runLocalHooks("change"),!0)}clear(){this.setDefaultValues()}getLength(){return this.getValues().length}setDefaultValues(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.indexedValues.length;this.indexedValues.length=0,(0,a.isFunction)(this.initValueOrFn)?(0,i.rangeEach)(e-1,e=>this.indexedValues.push(this.initValueOrFn(e))):(0,i.rangeEach)(e-1,()=>this.indexedValues.push(this.initValueOrFn)),this.runLocalHooks("change")}init(e){return this.setDefaultValues(e),this.runLocalHooks("init"),this}insert(){this.runLocalHooks("change")}remove(){this.runLocalHooks("change")}destroy(){this.clearLocalHooks(),this.indexedValues=null,this.initValueOrFn=null}}t.IndexMap=h,(0,s.mixin)(h,l.default)},91701(e,t,o){"use strict";t.__esModule=!0;var r=o(32392),n=o(46719),i=o(60362);class s extends r.IndexMap{constructor(){super(e=>e)}insert(e,t){const o=(0,i.getIncreasedIndexes)(this.indexedValues,t);this.indexedValues=(0,n.getListWithInsertedItems)(o,e,t),super.insert(e,t)}remove(e){const t=(0,n.getListWithRemovedItems)(this.indexedValues,e);this.indexedValues=(0,i.getDecreasedIndexes)(t,e),super.remove(e)}}t.IndexesSequence=s},15596(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(32392),s=o(3557),a=o(46719),l=o(36642),h=o(3179);class d extends i.IndexMap{constructor(){super(...arguments),(0,n.default)(this,"orderOfIndexes",[])}getValues(){return this.orderOfIndexes.map(e=>this.indexedValues[e])}setValues(e){this.orderOfIndexes=[...Array(e.length).keys()],super.setValues(e)}setValueAtIndex(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.orderOfIndexes.length;return e<this.indexedValues.length&&(this.indexedValues[e]=t,!1===this.orderOfIndexes.includes(e)&&this.orderOfIndexes.splice(o,0,e),this.runLocalHooks("change"),!0)}clearValue(e){this.orderOfIndexes=(0,a.getListWithRemovedItems)(this.orderOfIndexes,[e]),(0,h.isFunction)(this.initValueOrFn)?super.setValueAtIndex(e,this.initValueOrFn(e)):super.setValueAtIndex(e,this.initValueOrFn)}getLength(){return this.orderOfIndexes.length}setDefaultValues(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.indexedValues.length;this.orderOfIndexes.length=0,super.setDefaultValues(e)}insert(e,t){this.indexedValues=(0,s.getListWithInsertedItems)(this.indexedValues,e,t,this.initValueOrFn),this.orderOfIndexes=(0,l.getIncreasedIndexes)(this.orderOfIndexes,t),super.insert(e,t)}remove(e){this.indexedValues=(0,s.getListWithRemovedItems)(this.indexedValues,e),this.orderOfIndexes=(0,a.getListWithRemovedItems)(this.orderOfIndexes,e),this.orderOfIndexes=(0,l.getDecreasedIndexes)(this.orderOfIndexes,e),super.remove(e)}getEntries(){return this.orderOfIndexes.map(e=>[e,this.getValueAtIndex(e)])}}t.LinkedPhysicalIndexToValueMap=d},50195(e,t,o){"use strict";t.__esModule=!0;var r=o(32392),n=o(3557);class i extends r.IndexMap{insert(e,t){this.indexedValues=(0,n.getListWithInsertedItems)(this.indexedValues,e,t,this.initValueOrFn),super.insert(e,t)}remove(e){this.indexedValues=(0,n.getListWithRemovedItems)(this.indexedValues,e),super.remove(e)}}t.PhysicalIndexToValueMap=i},64117(e,t,o){"use strict";t.__esModule=!0;var r=o(50195),n=o(6578);class i extends r.PhysicalIndexToValueMap{constructor(){super(arguments.length>0&&void 0!==arguments[0]&&arguments[0])}getTrimmedIndexes(){return(0,n.arrayReduce)(this.getValues(),(e,t,o)=>(t&&e.push(o),e),[])}}t.TrimmingMap=i},36642(e,t,o){"use strict";t.__esModule=!0,t.getDecreasedIndexes=function(e,t){return(0,r.arrayMap)(e,e=>e-t.filter(t=>t<e).length)},t.getIncreasedIndexes=function(e,t){const o=t[0],n=t.length;return(0,r.arrayMap)(e,e=>e>=o?e+n:e)};var r=o(6578)},60362(e,t,o){"use strict";t.__esModule=!0;var r=o(36642);t.getDecreasedIndexes=r.getDecreasedIndexes,t.getIncreasedIndexes=r.getIncreasedIndexes;var n=o(26032),i=o(46719),s=o(3557);const a=new Map([["indexesSequence",{getListWithInsertedItems:i.getListWithInsertedItems,getListWithRemovedItems:i.getListWithRemovedItems}],["physicallyIndexed",{getListWithInsertedItems:s.getListWithInsertedItems,getListWithRemovedItems:s.getListWithRemovedItems}]]);t.alterUtilsFactory=e=>(!1===a.has(e)&&(0,n.throwWithCause)(`Alter strategy with ID '${e}' does not exist.`),a.get(e))},46719(e,t,o){"use strict";t.__esModule=!0,t.getListWithInsertedItems=function(e,t,o){return[...e.slice(0,t),...o,...e.slice(t)]},t.getListWithRemovedItems=function(e,t){return(0,r.arrayFilter)(e,e=>!1===t.includes(e))};var r=o(6578)},3557(e,t,o){"use strict";t.__esModule=!0,t.getListWithInsertedItems=function(e,t,o,n){const i=o.length?o[0]:void 0;return[...e.slice(0,i),...o.map((e,t)=>(0,r.isFunction)(n)?n(e,t):n),...void 0===i?[]:e.slice(i)]},t.getListWithRemovedItems=function(e,t){return(0,n.arrayFilter)(e,(e,o)=>!1===t.includes(o))};var r=o(3179),n=o(6578)},5584(e,t){"use strict";t.__esModule=!0,t.announce=function(e){if(!o)return;o.textContent="",setTimeout(()=>{o&&(o.textContent=e)},100)},t.install=function(e){const t=e.ownerDocument;if(!o){o=t.createElement("div"),o.setAttribute("role","status"),o.setAttribute("aria-live","assertive"),o.setAttribute("aria-atomic","true");const r=o.style;r.position="absolute",r.width="1px",r.height="1px",r.margin="-1px",r.overflow="hidden",r.clipPath="rect(0 0 0 0)",r.whiteSpace="nowrap",e.appendChild(o)}r+=1},t.uninstall=function(){if(0===r)return;1===r&&(o.remove(),o=null);r-=1};let o=null,r=0},46480(e,t){"use strict";function o(e,t,o){e.addEventListener(t,o,!1)}function r(e,t,o){e.removeEventListener(t,o,!1)}function n(e){return e.ownerDocument.defaultView.getComputedStyle(e)}t.__esModule=!0,t.createInputElementResizer=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i={minHeight:200,maxHeight:300,minWidth:100,maxWidth:300,textContent:e=>e.value,...t},s=e.body,a=e.createTextNode(""),l=e.createElement("span");let h;function d(){var e,t;a.textContent=i.textContent(h),l.style.position="absolute",l.style.fontSize=n(h).fontSize,l.style.fontFamily=n(h).fontFamily,l.style.whiteSpace="pre",s.appendChild(l);const o=parseInt((null===(e=n(h))||void 0===e?void 0:e.paddingInlineStart)||0,10),r=parseInt((null===(t=n(h))||void 0===t?void 0:t.paddingInlineEnd)||0,10),d=l.clientWidth+o+r+1;s.removeChild(l);const c=h.style;c.height=`${i.minHeight}px`,i.minWidth>d?c.width=`${i.minWidth}px`:d>i.maxWidth?c.width=`${i.maxWidth}px`:c.width=`${d}px`;const u=h.scrollHeight?h.scrollHeight-1:0;i.minHeight>u?c.height=`${i.minHeight}px`:i.maxHeight<u?(c.height=`${i.maxHeight}px`,c.overflowY="visible"):c.height=`${u}px`}function c(){e.defaultView.setTimeout(d,0)}return{init:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];h=e,function(e){if(e&&e.minHeight)if("inherit"===e.minHeight)i.minHeight=h.clientHeight;else{const t=parseInt(e.minHeight,10);isNaN(t)||(i.minHeight=t)}if(e&&e.maxHeight)if("inherit"===e.maxHeight)i.maxHeight=h.clientHeight;else{const t=parseInt(e.maxHeight,10);isNaN(t)||(i.maxHeight=t)}if(e&&e.minWidth)if("inherit"===e.minWidth)i.minWidth=h.clientWidth;else{const t=parseInt(e.minWidth,10);isNaN(t)||(i.minWidth=t)}if(e&&e.maxWidth)if("inherit"===e.maxWidth)i.maxWidth=h.clientWidth;else{const t=parseInt(e.maxWidth,10);isNaN(t)||(i.maxWidth=t)}l.firstChild||(l.className="autoResize",l.style.display="inline-block",l.appendChild(a))}(t),"TEXTAREA"===h.nodeName&&(h.style.resize="none",h.style.height=`${i.minHeight}px`,h.style.minWidth=`${i.minWidth}px`,h.style.maxWidth=`${i.maxWidth}px`,h.style.overflowY="hidden"),r&&(o(h,"input",d),o(h,"keydown",c)),d()},resize:d,unObserve(){r(h,"input",d),r(h,"keydown",c)}}}},47389(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));class i{constructor(e){(0,n.default)(this,"data",void 0),(0,n.default)(this,"next",null),(0,n.default)(this,"prev",null),this.data=e}}t.NodeStructure=i;t.default=class{constructor(){(0,n.default)(this,"first",null),(0,n.default)(this,"last",null)}push(e){const t=new i(e);if(null===this.first)this.first=t,this.last=t;else{const e=this.last;this.last=t,t.prev=e,e.next=t}return t}unshift(e){const t=new i(e);if(null===this.first)this.first=t,this.last=t;else{const e=this.first;this.first=t,t.next=e,e.prev=t}}inorder(e){let t=this.first;for(;t;){const o=e(t);if(t===this.last||!0===o)break;t=t.next}}remove(e){if(null===this.first)return!1;let t,o,r=this.first;for(;r;){if(r.data===e)return t=r.next,o=r.prev,t&&(t.prev=o),o&&(o.next=t),r===this.first&&(this.first=t),r===this.last&&(this.last=o),!0;r=r.next}return!1}hasCycle(){let e=this.first,t=this.first;for(;;){if(null===e)return!1;if(e=e.next,null===e)return!1;if(e=e.next,t=t.next,e===t)return!0}}pop(){if(null===this.last)return null;const e=this.last;return this.last=this.last.prev,e}shift(){if(null===this.first)return null;const e=this.first;return this.first=this.first.next,e}recursiveReverse(){if(!this.first)return;!function e(t,o){o&&(e(o,o.next),o.next=t)}(this.first,this.first.next),this.first.next=null;const e=this.first;this.first=this.last,this.last=e}reverse(){if(!this.first||!this.first.next)return;let e,t=this.first.next,o=this.first;for(;t;)e=t.next,t.next=o,o.prev=t,o=t,t=e;this.first.next=null,this.last.prev=null,e=this.first,this.first=o,this.last=e}}},26600(e,t,o){"use strict";t.__esModule=!0,t.createPriorityMap=function(){let{errorPriorityExists:e,errorPriorityNaN:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const o=new Map;return e=(0,n.isFunction)(e)?e:h,t=(0,n.isFunction)(t)?t:d,{addItem:function(n,s){(0,r.isNumeric)(n)||(0,i.throwWithCause)(t(n));o.has(n)&&(0,i.throwWithCause)(e(n));o.set(n,s)},getItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s;const[t,r]=l.get(e)||l.get(s);return[...o].sort((e,o)=>e[0]<o[0]?t:r).map(e=>e[1])}}};var r=o(94366),n=o(3179),i=o(26032);const s=t.ASC="asc",a=t.DESC="desc",l=new Map([[s,[-1,1]],[a,[1,-1]]]),h=e=>`The priority '${e}' is already declared in a map.`,d=e=>`The priority '${e}' is not a number.`},76892(e,t,o){"use strict";var r=o(62682);t.__esModule=!0,t.depthFirstPreOrder=a;var n=r(o(43685)),i=o(26032);const s=t.TRAVERSAL_DF_PRE="DF-pre-order";function a(e,t){let o=e.call(t,this);for(let r=0;r<this.childs.length;r++){if(!1===o)return!1;o=a.call(this.childs[r],e,t)}return o}const l=t.TRAVERSAL_DF_POST="DF-post-order";const h=t.TRAVERSAL_BF="BF";const d=h,c=new Map([[s,a],[l,function e(t,o){for(let r=0;r<this.childs.length;r++){if(!1===e.call(this.childs[r],t,o))return!1}return t.call(o,this)}],[h,function(e,t){const o=[this];!function r(){if(0===o.length)return;const n=o.shift();o.push(...n.childs),!1!==e.call(t,n)&&r()}()}]]);class u{constructor(e){(0,n.default)(this,"data",{}),(0,n.default)(this,"parent",null),(0,n.default)(this,"childs",[]),this.data=e}addChild(e){e.parent=this,this.childs.push(e)}cloneTree(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this;const t=new u({...e.data});for(let o=0;o<e.childs.length;o++)t.addChild(this.cloneTree(e.childs[o]));return t}replaceTreeWith(e){this.data={...e.data},this.childs=[];for(let t=0;t<e.childs.length;t++)this.addChild(e.childs[t])}walkDown(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d;c.has(t)||(0,i.throwWithCause)(`Traversal strategy "${t}" does not exist`),c.get(t).call(this,e,this)}walkUp(e){const t=this,o=r=>{!1!==e.call(t,r)&&null!==r.parent&&o(r.parent)};o(this)}}t.default=u},265(e,t,o){"use strict";t.__esModule=!0,t.createUniqueMap=function(){let{errorIdExists:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=new Map;function o(){return[...t]}function s(e){return t.has(e)}return e=(0,r.isFunction)(e)?e:i,{addItem:function(o,r){s(o)&&(0,n.throwWithCause)(e(o));t.set(o,r)},clear:function(){t.clear()},getId:function(e){const[t]=o().find(t=>{let[o,r]=t;return e===r&&o})||[null];return t},getItem:function(e){return t.get(e)},getItems:o,getValues:function(){return[...t.values()]},hasItem:s,removeItem:function(e){return t.delete(e)}}};var r=o(3179),n=o(26032);const i=e=>`The id '${e}' is already declared in a map.`},1423(e,t,o){"use strict";t.__esModule=!0,t.createUniqueSet=function(){let{errorItemExists:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=new Set;return e=(0,r.isFunction)(e)?e:i,{addItem:function(o){t.has(o)&&(0,n.throwWithCause)(e(o));t.add(o)},clear:function(){t.clear()},getItems:function(){return[...t]}}};var r=o(3179),n=o(26032);const i=e=>`'${e}' value is already declared in a unique set.`},30670(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(23876),s=o(6578),a=o(26032);t.default=class{constructor(e){(0,n.default)(this,"hot",null),(0,n.default)(this,"container",null),(0,n.default)(this,"injected",!1),(0,n.default)(this,"rows",[]),(0,n.default)(this,"columns",[]),(0,n.default)(this,"samples",null),(0,n.default)(this,"settings",{useHeaders:!0}),this.hot=e}addRow(e,t){this.columns.length&&(0,a.throwWithCause)("Doesn't support multi-dimensional table"),this.rows.length||(this.container=this.createContainer(this.hot.rootElement.className));const o={row:e};this.rows.push(o),this.samples=t,this.table=this.createTable(this.hot.table.className),this.table.colGroup.appendChild(this.createColGroupsCol(e)),this.table.tr.appendChild(this.createRow(e)),this.container.container.appendChild(this.table.fragment),o.table=this.table.table}addColumnHeadersRow(e){const t=this.hot.getColHeader(0);if(null!=t){const t={row:-1};this.rows.push(t),this.container=this.createContainer(this.hot.rootElement.className),this.samples=e,this.table=this.createTable(this.hot.table.className),this.table.colGroup.appendChild(this.createColGroupsCol()),this.appendColumnHeadersRow(),this.container.container.appendChild(this.table.fragment),t.table=this.table.table}}addColumn(e,t){this.rows.length&&(0,a.throwWithCause)("Doesn't support multi-dimensional table"),this.columns.length||(this.container=this.createContainer(this.hot.rootElement.className));const o={col:e};this.columns.push(o),this.samples=t,this.table=this.createTable(this.hot.table.className),this.getSetting("useHeaders")&&null!==this.hot.getColHeader(e)&&this.hot.view.appendColHeader(e,this.table.th,void 0,-1),this.table.tBody.appendChild(this.createCol(e)),this.container.container.appendChild(this.table.fragment),o.table=this.table.table}getHeights(e){this.injected||this.injectTable(),(0,s.arrayEach)(this.rows,t=>{const{height:o}=t.table.getBoundingClientRect();e(t.row,Math.ceil(o))})}getWidths(e){this.injected||this.injectTable(),(0,s.arrayEach)(this.columns,t=>{const{width:o}=t.table.getBoundingClientRect();e(t.col,Math.ceil(o))})}setSettings(e){this.settings=e}setSetting(e,t){this.settings||(this.settings={}),this.settings[e]=t}getSettings(){return this.settings}getSetting(e){return this.settings?this.settings[e]:null}createColGroupsCol(e){const t=this.hot.rootDocument.createDocumentFragment();return this.hot.hasRowHeaders()&&t.appendChild(this.createColElement(-1,-1)),this.samples.forEach(o=>{(0,s.arrayEach)(o.strings,o=>{t.appendChild(this.createColElement(o.col,e))})}),t}createRow(e){const{rootDocument:t}=this.hot,o=t.createDocumentFragment(),r=t.createElement("th");return this.hot.hasRowHeaders()&&(this.hot.view.appendRowHeader(e,r),o.appendChild(r)),this.samples.forEach(r=>{(0,s.arrayEach)(r.strings,r=>{const n=r.col,i=this.hot.getCellMeta(e,n),s=this.hot.getCellRenderer(i),a=t.createElement("td");a.setAttribute("ghost-table",1),s(this.hot,a,e,n,this.hot.colToProp(n),r.value,i),o.appendChild(a)})}),o}appendColumnHeadersRow(){const{rootDocument:e}=this.hot,t=e.createDocumentFragment(),o=[];if(this.hot.hasRowHeaders()){const r=e.createElement("th");o.push([-1,r]),t.appendChild(r)}this.samples.forEach(r=>{(0,s.arrayEach)(r.strings,r=>{const n=r.col,i=e.createElement("th");o.push([n,i]),t.appendChild(i)})}),this.table.tHead.appendChild(t),(0,s.arrayEach)(o,e=>{const[t,o]=e;this.hot.view.appendColHeader(t,o)})}createCol(e){const{rootDocument:t}=this.hot,o=t.createDocumentFragment();return this.samples.forEach(r=>{(0,s.arrayEach)(r.strings,r=>{const n=r.row,i=this.hot.getCellMeta(n,e),s=this.hot.getCellRenderer(i),a=t.createElement("td"),l=t.createElement("tr");a.setAttribute("ghost-table",1),s(this.hot,a,n,e,this.hot.colToProp(e),r.value,i),l.appendChild(a),o.appendChild(l)})}),o}clean(){this.rows.length=0,this.rows[-1]=void 0,this.columns.length=0,this.samples&&this.samples.clear(),this.samples=null,this.removeTable()}injectTable(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.injected||((e||this.hot.rootElement).appendChild(this.container.fragment),this.injected=!0)}removeTable(){this.injected&&this.container.container.parentNode&&(this.container.container.parentNode.removeChild(this.container.container),this.container=null,this.injected=!1)}createColElement(e,t){const o=this.hot.rootDocument.createElement("col");let r=0;t>=0&&e>=0&&(r=this.hot.getCellMeta(t,e).colspan);let n=this.hot.getColWidth(e);if(r>1)for(let t=e+1;t<e+r;t++)n+=this.hot.getColWidth(t);return o.style.width=`${n}px`,o}createTable(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const{rootDocument:t}=this.hot,o=t.createDocumentFragment(),r=t.createElement("table"),n=t.createElement("thead"),s=t.createElement("tbody"),a=t.createElement("colgroup"),l=t.createElement("tr"),h=t.createElement("th");return this.isVertical()&&r.appendChild(a),this.isHorizontal()&&(l.appendChild(h),n.appendChild(l),r.style.tableLayout="auto",r.style.width="auto"),r.appendChild(n),this.isVertical()&&s.appendChild(l),r.appendChild(s),(0,i.addClass)(r,e),o.appendChild(r),{fragment:o,table:r,tHead:n,tBody:s,colGroup:a,tr:l,th:h}}createContainer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const{rootDocument:t}=this.hot,o=t.createDocumentFragment(),r=t.createElement("div"),n=`htGhostTable htAutoSize ${e.trim()}`;return(0,i.addClass)(r,n),o.appendChild(r),{fragment:o,container:r}}isVertical(){return!(!this.rows.length||this.columns.length)}isHorizontal(){return!(!this.columns.length||this.rows.length)}}},79300(e,t,o){"use strict";t.__esModule=!0,t.createPaginator=function(e){let{initialPage:t=-1,size:o=()=>0,onItemSelect:n=()=>{},onClear:i=()=>{}}=e;const s=new Set;let a=(0,r.clamp)(t,-1,h()-1);function l(e,t){const o=h()-1;if(e<0&&(e=o),e>o&&(e=0),s.has(e))return-1;s.add(e);return!1===n(e,!1)&&(e=l(1===t?++e:--e,t)),e}function h(){return Math.max(o(),0)}return{setCurrentPage:function(e){e>-1&&e<h()&&!1!==n(e,!0)&&(a=e)},setPageCursorAt:function(e){e>-1&&e<h()&&(a=e)},getCurrentPage:function(){return a},toFirstItem:function(){h()>0&&(s.clear(),a=l(0,1))},toLastItem:function(){h()>0&&(s.clear(),a=l(h()-1,-1))},toNextItem:function(){h()>0&&(s.clear(),a=l(++a,1))},toPreviousItem:function(){h()>0&&(s.clear(),a=l(--a,-1))},getSize:h,clear:function(){s.clear(),a=t,i()}}};var r=o(94366)},23470(e,t,o){"use strict";t.__esModule=!0,t._dataToHTML=function(e){const t=e.length,o=["<table>"];for(let n=0;n<t;n+=1){const i=e[n],s=i.length,a=[];0===n&&o.push("<tbody>");for(let e=0;e<s;e+=1){const t=i[e],o=(0,r.isEmpty)(t)?"":t.toString().replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/(<br(\s*|\/)>(\r\n|\n)?|\r\n|\n)/g,"<br>\r\n").replace(/\x20{2,}/gi,e=>`<span style="mso-spacerun: yes">${"&nbsp;".repeat(e.length-1)} </span>`).replace(/\t/gi,"&#9;");a.push(`<td>${o}</td>`)}o.push("<tr>",...a,"</tr>"),n+1===t&&o.push("</tbody>")}return o.push("</table>"),o.join("")},t.htmlToGridSettings=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;const o={},r=t.createDocumentFragment(),s=t.createElement("div");r.appendChild(s);let a=e;if("string"==typeof a){const e=a.replace(/<td\b[^>]*?>([\s\S]*?)<\/\s*td>/g,e=>{const t=e.match(/<td\b[^>]*?>/g)[0];return`${t}${e.substring(t.length,e.lastIndexOf("<")).trim().replaceAll(/\n\s+/g," ").replaceAll(/<p.*?>/g,"\n").replace("\n","").replaceAll(/<\/(.*)>\s+$/gm,"</$1>").replace(/(<(?!br)([^>]+)>)/gi,"").replaceAll(/^&nbsp;$/gm,"")}</td>`});s.insertAdjacentHTML("afterbegin",`${e}`),a=s.querySelector("table")}if(!a||!function(e){return"TABLE"===(e&&e.nodeName||"")}(a))return;const l=s.querySelector('meta[name$="enerator"]'),h=null!==a.querySelector("tbody th"),d=a.querySelector("tr"),c=d?Array.from(d.cells).reduce((e,t)=>e+t.colSpan,0)-(h?1:0):0,u=a.tFoot&&Array.from(a.tFoot.rows)||[],g=[];let p=!1,f=0,m=0;if(a.tHead){const e=Array.from(a.tHead.rows).filter(e=>{const t=null!==e.querySelector("td");return t&&g.push(e),!t});f=e.length,p=f>0,f>1?o.nestedHeaders=Array.from(e).reduce((e,t)=>{const o=Array.from(t.cells).reduce((e,t,o)=>{if(h&&0===o)return e;const{colSpan:r,innerHTML:n}=t,i=r>1?{label:n,colspan:r}:n;return e.push(i),e},[]);return e.push(o),e},[]):p&&(o.colHeaders=Array.from(e[0].children).reduce((e,t,o)=>(h&&0===o||e.push(t.innerHTML),e),[]))}g.length&&(o.fixedRowsTop=g.length);u.length&&(o.fixedRowsBottom=u.length);const C=[...g,...Array.from(a.tBodies).reduce((e,t)=>(e.push(...Array.from(t.rows)),e),[]),...u];m=C.length;const w=new Array(m);for(let e=0;e<m;e++)w[e]=new Array(c);const b=[],v=[];for(let e=0;e<m;e++){const t=C[e],o=Array.from(t.cells),r=o.length;for(let t=0;t<r;t++){const r=o[t],{nodeName:s,innerHTML:a,rowSpan:h,colSpan:d}=r,c=w[e].findIndex(e=>void 0===e);if("TD"===s){if(h>1||d>1){for(let t=e;t<e+h;t++)if(t<m)for(let e=c;e<c+d;e++)w[t][e]=null;const t=r.getAttribute("style");t&&t.includes("mso-ignore:colspan")||b.push({col:c,row:e,rowspan:h,colspan:d})}let t="";t=l&&/excel/gi.test(l.content)?a.replace(/[\r\n][\x20]{0,2}/g," ").replace(/<br(\s*|\/)>[\r\n]?[\x20]{0,3}/gim,"\r\n"):a.replace(/<br(\s*|\/)>[\r\n]?/gim,"\r\n"),w[e][c]=t.replace(i,e=>n[e])}else v.push(a)}}b.length&&(o.mergeCells=b);v.length&&(o.rowHeaders=v);w.length&&(o.data=w);return o},t.instanceToHTML=function(e){const t=e.hasColHeaders(),o=e.hasRowHeaders(),n=[t?-1:0,o?-1:0,e.countRows()-1,e.countCols()-1],i=e.getData(...n),s=i.length,a=s>0?i[0].length:0,l=["<table>","</table>"],h=t?["<thead>","</thead>"]:[],d=["<tbody>","</tbody>"],c=o?1:0,u=t?1:0;for(let n=0;n<s;n+=1){const s=t&&0===n,l=[];for(let t=0;t<a;t+=1){const a=!s&&o&&0===t;let h="";if(s)h=`<th>${e.getColHeader(t-c)}</th>`;else if(a)h=`<th>${e.getRowHeader(n-u)}</th>`;else{const o=i[n][t],{hidden:s,rowspan:a,colspan:l}=e.getCellMeta(n-u,t-c);if(!s){const e=[];if(a&&e.push(`rowspan="${a}"`),l&&e.push(`colspan="${l}"`),(0,r.isEmpty)(o))h=`<td ${e.join(" ")}></td>`;else{const t=o.toString().replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/(<br(\s*|\/)>(\r\n|\n)?|\r\n|\n)/g,"<br>\r\n").replace(/\x20/gi,"&nbsp;").replace(/\t/gi,"&#9;");h=`<td ${e.join(" ")}>${t}</td>`}}}l.push(h)}const g=["<tr>",...l,"</tr>"].join("");s?h.splice(1,0,g):d.splice(-1,0,g)}return l.splice(1,0,h.join(""),d.join("")),l.join("")};var r=o(79416);const n={"&nbsp;":" ","&amp;":"&","&lt;":"<","&gt;":">"},i=new RegExp(Object.keys(n).map(e=>`(${e})`).join("|"),"gi")},64428(e,t){"use strict";t.__esModule=!0,t.hasValidParameter=function(e){return e===r},t.isRootInstance=function(e){return o.has(e)},t.registerAsRootInstance=function(e){o.set(e,!0)};const o=t.holder=new WeakMap,r=t.rootInstanceSymbol=Symbol("rootInstance")},46779(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(38888),s=o(26032),a=o(94366),l=o(79416);class h{static get SAMPLE_COUNT(){return 3}constructor(e){(0,n.default)(this,"samples",null),(0,n.default)(this,"dataFactory",null),(0,n.default)(this,"customSampleCount",null),(0,n.default)(this,"allowDuplicates",!1),(0,n.default)(this,"includeHidden",!1),this.dataFactory=e}getSampleCount(){return this.customSampleCount?this.customSampleCount:h.SAMPLE_COUNT}setSampleCount(e){this.customSampleCount=e}setAllowDuplicates(e){this.allowDuplicates=e}setIncludeHidden(e){this.includeHidden=e}generateRowSamples(e,t){return this.generateSamples("row",t,e)}generateColumnSamples(e,t){return this.generateSamples("col",t,e)}generateSamples(e,t,o){const r=new Map,{from:n,to:i}="number"==typeof o?{from:o,to:o}:o;return(0,a.rangeEach)(n,i,o=>{const n=this.generateSample(e,t,o);r.set(o,n)}),r}generateSample(e,t,o){"row"!==e&&"col"!==e&&(0,s.throwWithCause)("Unsupported sample type");const r=new Map,n="row"===e?"col":"row",h=[];return(0,a.rangeEach)(t.from,t.to,t=>{const s="row"===e?this.dataFactory(o,t,this):this.dataFactory(t,o,this);if(!1===s)return;const{value:a,bundleSeed:d}=s,c="string"==typeof d&&d.length>0;let u;u=c?d:(0,i.isObject)(a)?`${Object.keys(a).length}`:Array.isArray(a)?`${a.length}`:`${(0,l.stringify)(a).length}`,r.has(u)||r.set(u,{needed:this.getSampleCount(),strings:[]});const g=r.get(u);if(g.needed){(!(h.indexOf(a)>-1)||this.allowDuplicates||c)&&(g.strings.push({value:a,[n]:t}),h.push(a),g.needed-=1)}}),r}}t.default=h},36016(e,t){"use strict";t.__esModule=!0,t.resolveWithInstance=function(e,t){var r;return null==o||null===(r=o.get(e.guid))||void 0===r?void 0:r.get(t)},t.staticRegister=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"common";o.has(e)||o.set(e,new Map);const t=o.get(e);return{register:function(e,o){t.set(e,o)},getItem:function(e){return t.get(e)},hasItem:function(e){return t.has(e)},getNames:function(){return[...t.keys()]},getValues:function(){return[...t.values()]},clear:function(){o.delete(e),t.clear()}}};const o=t.collection=new Map},13361(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=o(26070),i=r(o(9021));function s(e,t,o){a(e,t),t.set(e,o)}function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function l(e,t){return e.get(d(e,t))}function h(e,t,o){return e.set(d(e,t),o),o}function d(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}const c="handsontable-core-styles";var u=new WeakMap,g=new WeakMap,p=new WeakMap,f=new WeakMap,m=new WeakMap,C=new WeakMap,w=new WeakMap,b=new WeakMap,v=new WeakSet;function y(){if(!l(u,this)||!l(m,this)||!l(m,this).head)return;const e=l(m,this).getElementById(c);if(e&&e instanceof HTMLStyleElement)return;const t=l(m,this).createElement("style");t.id=c,t.textContent=i.default,l(m,this).head.appendChild(t)}function S(){const e=this.getCSSVariableValue("line-height"),t=this.getCSSVariableValue("cell-vertical-padding"),o=Math.ceil(parseFloat(this.getStyleForTD("border-bottom-width")));return null===e||null===t||isNaN(o)?null:e+2*t+o}function E(){h(f,this,getComputedStyle(l(p,this)));const e=d(v,this,_).call(this,["box-sizing","border-bottom-width"]);l(w,this).td={...l(w,this).td,"box-sizing":e["box-sizing"],"border-bottom-width":e["border-bottom-width"]}}function _(e){const t=l(m,this),o=l(p,this),r=t.createElement("table"),n=t.createElement("tbody"),i=t.createElement("tr"),s=t.createElement("tr"),a=t.createElement("td");s.appendChild(a),n.appendChild(i),n.appendChild(s),r.appendChild(n),o.appendChild(r);const h=getComputedStyle(a),d={};return e.forEach(e=>{d[e]=h.getPropertyValue(e)}),o.removeChild(r),d}function R(e){const t=Math.ceil(parseFloat(d(v,this,T).call(this,e)));return Number.isNaN(t)?null:t}function T(e){var t;const o=null===(t=l(f,this))||void 0===t?void 0:t.getPropertyValue(e);return""===o?null:o}function M(){h(w,this,{}),h(C,this,{})}t.StylesHandler=class{constructor(e){let{hot:t,rootElement:o,rootDocument:r,onThemeChange:n=()=>{},injectCoreCss:i=!0}=e;var l,c;a(l=this,c=v),c.add(l),s(this,u,void 0),s(this,g,void 0),s(this,p,void 0),s(this,f,void 0),s(this,m,void 0),s(this,C,{}),s(this,w,{}),s(this,b,void 0),h(u,this,t),h(p,this,o),h(m,this,r),h(b,this,n),i&&d(v,this,y).call(this)}getCSSVariableValue(e){var t;if(l(C,this)[`--ht-${e}`])return l(C,this)[`--ht-${e}`];const o=null!==(t=d(v,this,R).call(this,`--ht-${e}`))&&void 0!==t?t:d(v,this,T).call(this,`--ht-${e}`);return null!==o?(l(C,this)[`--ht-${e}`]=o,o):void 0}getStyleForTD(e){var t;return null===(t=l(w,this))||void 0===t||null===(t=t.td)||void 0===t?void 0:t[e]}getDefaultRowHeight(e){const t=d(v,this,S).call(this);return void 0!==e&&e===l(u,this).view.getFirstRenderedVisibleRow()?t+1:t}areCellsBorderBox(){return"border-box"===this.getStyleForTD("box-sizing")}useTheme(e){/ht-theme-.*/.test(e)?(d(v,this,M).call(this),e&&e!==l(g,this)&&h(g,this,e),l(b,this).call(this,l(g,this)),d(v,this,E).call(this)):(0,n.warn)(`${e} isn't a valid theme name. Please ensure it follows the format ht-theme-<theme-name>.`)}getThemeName(){return l(g,this)}clearCache(){d(v,this,M).call(this),d(v,this,E).call(this)}}},4400(e,t,o){"use strict";t.__esModule=!0,t.getValueGetterValue=function(e,t){const{instance:o,visualRow:n,visualCol:i,valueGetter:s}=t;if((0,r.isFunction)(s))return s.call(o,e,n,i,t);return e},t.getValueSetterValue=function(e,t){const{instance:o,visualRow:n,visualCol:i,valueSetter:s}=t;if((0,r.isFunction)(s))return s.call(o,e,n,i,t);return e};var r=o(3179)},10998(e,t,o){"use strict";t.__esModule=!0,t.autocompleteValidator=s;var r=o(38888),n=o(79416);const i=t.VALIDATOR_TYPE="autocomplete";function s(e,t){const o=e=>{return t=e,(0,r.isObject)(t)&&(0,n.isDefined)(t.key)&&(0,n.isDefined)(t.value)?o(e.key)&&o(e.value):null==e;var t};let i=e;o(i)&&(i=""),this.allowEmpty&&""===i?t(!0):this.strict&&this.source?"function"==typeof this.source?this.source(i,a(i,t)):a(i,t)(this.source):t(!0)}function a(e,t){const o=e;return function(e){let n=!1;for(let t=0,i=e.length;t<i;t++)if((0,r.isObjectEqual)(o,e[t])){n=!0;break}t(n)}}s.VALIDATOR_TYPE=i},96068(e,t,o){"use strict";t.__esModule=!0;var r=o(10998);t.VALIDATOR_TYPE=r.VALIDATOR_TYPE,t.autocompleteValidator=r.autocompleteValidator},52166(e,t,o){"use strict";var r=o(62682);t.__esModule=!0,t.correctFormat=d,t.dateValidator=h;var n=r(o(86798)),i=o(95669),s=o(96360),a=o(85418);const l=t.VALIDATOR_TYPE="date";function h(e,t){const o=(0,i.getEditorInstance)(s.EDITOR_TYPE,this.instance);let r=e,a=!0;null==r&&(r="");let l=(0,n.default)(r,this.dateFormat||o.defaultDateFormat,!0).isValid(),h=(0,n.default)(new Date(r)).isValid()||l;if(this.allowEmpty&&""===r&&(h=!0,l=!0),h||(a=!1),!h&&l&&(a=!0),h&&!l)if(!0===this.correctFormat){const e=d(r,this.dateFormat);this.instance.setDataAtCell(this.visualRow,this.visualCol,e,"dateValidator"),a=!0}else a=!1;t(a)}function d(e,t){const o=(0,n.default)((0,a.getNormalizedDate)(e)),r=(0,n.default)(e,t),i=e.search(/[A-Za-z]/g)>-1;let s;return s=o.isValid()&&o.format("x")===r.format("x")||!r.isValid()||i?o:r,s.format(t)}h.VALIDATOR_TYPE=l},88216(e,t,o){"use strict";t.__esModule=!0;var r=o(52166);t.VALIDATOR_TYPE=r.VALIDATOR_TYPE,t.correctFormat=r.correctFormat,t.dateValidator=r.dateValidator},80534(e,t,o){"use strict";t.__esModule=!0,t.dropdownValidator=i;var r=o(10998);const n=t.VALIDATOR_TYPE="dropdown";function i(e,t){r.autocompleteValidator.apply(this,[e,t])}i.VALIDATOR_TYPE=n},6567(e,t,o){"use strict";t.__esModule=!0;var r=o(80534);t.VALIDATOR_TYPE=r.VALIDATOR_TYPE,t.dropdownValidator=r.dropdownValidator},70237(e,t,o){"use strict";t.__esModule=!0,t.registerAllValidators=function(){(0,c.registerValidator)(r.autocompleteValidator),(0,c.registerValidator)(i.dropdownValidator),(0,c.registerValidator)(n.dateValidator),(0,c.registerValidator)(s.intlDateValidator),(0,c.registerValidator)(a.intlTimeValidator),(0,c.registerValidator)(l.multiSelectValidator),(0,c.registerValidator)(h.numericValidator),(0,c.registerValidator)(d.timeValidator)};var r=o(96068);t.autocompleteValidator=r.autocompleteValidator,t.AUTOCOMPLETE_VALIDATOR=r.VALIDATOR_TYPE;var n=o(88216);t.dateValidator=n.dateValidator,t.DATE_VALIDATOR=n.VALIDATOR_TYPE;var i=o(6567);t.dropdownValidator=i.dropdownValidator,t.DROPDOWN_VALIDATOR=i.VALIDATOR_TYPE;var s=o(94961);t.intlDateValidator=s.intlDateValidator,t.INTL_DATE_VALIDATOR=s.VALIDATOR_TYPE;var a=o(83418);t.intlTimeValidator=a.intlTimeValidator,t.INTL_TIME_VALIDATOR=a.VALIDATOR_TYPE;var l=o(21975);t.multiSelectValidator=l.multiSelectValidator,t.MULTISELECT_VALIDATOR=l.VALIDATOR_TYPE;var h=o(28253);t.numericValidator=h.numericValidator,t.NUMERIC_VALIDATOR=h.VALIDATOR_TYPE;var d=o(96775);t.timeValidator=d.timeValidator,t.TIME_VALIDATOR=d.VALIDATOR_TYPE;var c=o(7182);t.registerValidator=c.registerValidator,t.getRegisteredValidatorNames=c.getRegisteredValidatorNames,t.getRegisteredValidators=c.getRegisteredValidators,t.getValidator=c.getValidator,t.hasValidator=c.hasValidator},94961(e,t,o){"use strict";t.__esModule=!0;var r=o(28838);t.VALIDATOR_TYPE=r.VALIDATOR_TYPE,t.SOURCE_DATA_WARNING_MESSAGE=r.SOURCE_DATA_WARNING_MESSAGE,t.intlDateValidator=r.intlDateValidator,t.sourceDataValidator=r.sourceDataValidator},28838(e,t,o){"use strict";t.__esModule=!0,t.intlDateValidator=s,t.sourceDataValidator=function(e,t){if(t.allowEmpty&&(0,n.isEmpty)(e))return!0;return(0,r.isValidISODate)(e)};var r=o(85418),n=o(79416);const i=t.VALIDATOR_TYPE="intl-date";t.SOURCE_DATA_WARNING_MESSAGE='Source data warning ([itemsCount]). Invalid value for "intl-date" cell type.\n\n[affectedCells]\n\nExpected a value compatible with the ISO 8601 date format ("YYYY-MM-DD").';function s(e,t){this.allowEmpty&&(0,n.isEmpty)(e)?t(!0):t((0,r.isValidISODate)(e))}s.VALIDATOR_TYPE=i},83418(e,t,o){"use strict";t.__esModule=!0;var r=o(29342);t.VALIDATOR_TYPE=r.VALIDATOR_TYPE,t.SOURCE_DATA_WARNING_MESSAGE=r.SOURCE_DATA_WARNING_MESSAGE,t.intlTimeValidator=r.intlTimeValidator,t.sourceDataValidator=r.sourceDataValidator},29342(e,t,o){"use strict";t.__esModule=!0,t.intlTimeValidator=s,t.sourceDataValidator=function(e,t){if(t.allowEmpty&&(0,n.isEmpty)(e))return!0;return(0,r.isValidTime)(e)};var r=o(85418),n=o(79416);const i=t.VALIDATOR_TYPE="intl-time";t.SOURCE_DATA_WARNING_MESSAGE='Source data warning ([itemsCount]). Invalid value for "intl-time" cell type.\n\n[affectedCells]\n\nExpected a value compatible with the 24-hour time format ("HH:mm", "HH:mm:ss" or "HH:mm:ss.SSS").';function s(e,t){this.allowEmpty&&(0,n.isEmpty)(e)?t(!0):t((0,r.isValidTime)(e))}s.VALIDATOR_TYPE=i},21975(e,t,o){"use strict";t.__esModule=!0;var r=o(58694);t.VALIDATOR_TYPE=r.VALIDATOR_TYPE,t.multiSelectValidator=r.multiSelectValidator},58694(e,t,o){"use strict";t.__esModule=!0,t.multiSelectValidator=i;var r=o(38888);const n=t.VALIDATOR_TYPE="multiselect";function i(e,t){let o=e;null==o&&(o=""),this.allowEmpty&&""===o?t(!0):(this.allowEmpty||""!==o)&&Array.isArray(o)?Array.isArray(o)&&0===o.length?t(!0):this.source?"function"==typeof this.source?this.source(o,s(o,t)):s(o,t)(this.source):t(!0):t(!1)}function s(e,t){const o=e;return function(e){let n=!0;for(let t=0,i=o.length;t<i;t++){let i=!1;for(let n=0,s=e.length;n<s;n++){if((0,r.isKeyValueObject)(o[t])&&!(0,r.isKeyValueObject)(e[n])||!(0,r.isKeyValueObject)(o[t])&&(0,r.isKeyValueObject)(e[n])){i=!1;break}((0,r.isKeyValueObject)(o[t])&&(0,r.isKeyValueObject)(e[n])&&(0,r.isObjectEqual)(o[t],e[n])||"string"==typeof o[t]&&"string"==typeof e[n]&&o[t]===e[n])&&(i=!0)}if(!i){n=!1;break}}t(n)}}i.VALIDATOR_TYPE=n},28253(e,t,o){"use strict";t.__esModule=!0;var r=o(19310);t.VALIDATOR_TYPE=r.VALIDATOR_TYPE,t.numericValidator=r.numericValidator},19310(e,t,o){"use strict";t.__esModule=!0,t.numericValidator=i;var r=o(94366);const n=t.VALIDATOR_TYPE="numeric";function i(e,t){let o=e;null==o&&(o=""),this.allowEmpty&&""===o?t(!0):t(""!==o&&(0,r.isNumeric)(e))}i.VALIDATOR_TYPE=n},7182(e,t,o){"use strict";t.__esModule=!0,t.getValidator=function(e){if("function"==typeof e)return e;a(e)||(0,n.throwWithCause)(`No registered validator found under "${e}" name`);return s(e)},t.registerValidator=function(e,t){"string"!=typeof e&&(e=(t=e).VALIDATOR_TYPE);i(e,t)};var r=o(36016),n=o(26032);const{register:i,getItem:s,hasItem:a,getNames:l,getValues:h}=(0,r.staticRegister)("validators");t.getRegisteredValidators=h,t.getRegisteredValidatorNames=l,t.hasValidator=a},96775(e,t,o){"use strict";t.__esModule=!0;var r=o(6570);t.VALIDATOR_TYPE=r.VALIDATOR_TYPE,t.timeValidator=r.timeValidator},6570(e,t,o){"use strict";var r=o(62682);t.__esModule=!0,t.timeValidator=a;var n=r(o(86798));const i=["YYYY-MM-DDTHH:mm:ss.SSSZ","X","x"],s=t.VALIDATOR_TYPE="time";function a(e,t){const o=this.timeFormat||"h:mm:ss a";let r=!0,s=e;null===s&&(s=""),s=/^\d{3,}$/.test(s)?parseInt(s,10):s;const a=/^\d{1,2}$/.test(s);a&&(s+=":00");const l=(0,n.default)(s,i,!0).isValid()?(0,n.default)(s):(0,n.default)(s,o);let h=l.isValid(),d=(0,n.default)(s,o,!0).isValid()&&!a;if(this.allowEmpty&&""===s&&(h=!0,d=!0),h||(r=!1),!h&&d&&(r=!0),h&&!d)if(!0===this.correctFormat){const e=l.format(o);this.instance.setDataAtCell(this.visualRow,this.visualCol,e,"timeValidator"),r=!0}else r=!1;t(r)}a.VALIDATOR_TYPE=s},65166(t){"use strict";t.exports=e},75972(e){"use strict";e.exports=t},86798(e){"use strict";e.exports=o},20846(e){"use strict";e.exports=r},43685(e,t,o){var r=o(77856);e.exports=function(e,t,o){return(t=r(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.__esModule=!0,e.exports.default=e.exports},62682(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},34285(e,t,o){var r=o(29506).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},77856(e,t,o){var r=o(29506).default,n=o(34285);e.exports=function(e){var t=n(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},29506(e){function t(o){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(o)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var o=i[e]={exports:{}};return n[e](o,o.exports,s),o.exports}var a={};return(()=>{"use strict";var e=a,t=s(62682);var o=V(s(59824));o.CellCoords,o.CellRange;var r,n,i,l,h,d,c=s(24390),u=V(s(34354)),g=s(45978),p=t(s(78420)),f=t(s(30670)),m=V(s(23470)),C=V(s(6578)),w=V(s(46027)),b=V(s(26891)),v=V(s(85418)),y=V(s(26032)),S=V(s(24605)),E=V(s(3179)),_=V(s(79416)),R=V(s(94366)),T=V(s(38888)),M=V(s(23862)),I=V(s(82268)),k=V(s(23876)),O=V(s(31100)),A=s(95669),x=s(63370),N=s(40647),H=s(13800),P=s(7182),D=s(3868),L=s(17627),B=s(23762),F=s(54917);function V(e,t){if("function"==typeof WeakMap)var o=new WeakMap,r=new WeakMap;return(V=function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(n=t?r:o){if(n.has(e))return n.get(e);n.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(s,t,i):s[t]=e[t]);return s})(e,t)}(0,c.registerAllModules)(),(0,p.default)(o.default),o.default.__GhostTable=f.default,o.default._getListenersCounter=u.getListenersCounter,o.default._getRegisteredMapsCounter=g.getRegisteredMapsCounter,o.default.EventManager=u.default;const W=[C,w,b,v,y,S,E,_,R,T,M,I,m],z=[k,O];o.default.helper={},o.default.dom={},C.arrayEach(W,e=>{C.arrayEach(Object.getOwnPropertyNames(e),t=>{"_"!==t.charAt(0)&&(o.default.helper[t]=e[t])})}),C.arrayEach(z,e=>{C.arrayEach(Object.getOwnPropertyNames(e),t=>{"_"!==t.charAt(0)&&(o.default.dom[t]=e[t])})}),o.default.cellTypes=null!==(r=o.default.cellTypes)&&void 0!==r?r:{},C.arrayEach((0,D.getRegisteredCellTypeNames)(),e=>{o.default.cellTypes[e]=(0,D.getCellType)(e)}),o.default.cellTypes.registerCellType=D.registerCellType,o.default.cellTypes.getCellType=D.getCellType,o.default.editors=null!==(n=o.default.editors)&&void 0!==n?n:{},C.arrayEach((0,A.getRegisteredEditorNames)(),e=>{o.default.editors[`${M.toUpperCaseFirst(e)}Editor`]=(0,A.getEditor)(e)}),o.default.editors.registerEditor=A.registerEditor,o.default.editors.getEditor=A.getEditor,o.default.editors.editorFactory=x.editorFactory,o.default.renderers=null!==(i=o.default.renderers)&&void 0!==i?i:{},C.arrayEach((0,N.getRegisteredRendererNames)(),e=>{const t=(0,N.getRenderer)(e);"base"===e&&(o.default.renderers.cellDecorator=t),o.default.renderers[`${M.toUpperCaseFirst(e)}Renderer`]=t}),o.default.renderers.registerRenderer=N.registerRenderer,o.default.renderers.getRenderer=N.getRenderer,o.default.renderers.rendererFactory=H.rendererFactory,o.default.validators=null!==(l=o.default.validators)&&void 0!==l?l:{},C.arrayEach((0,P.getRegisteredValidatorNames)(),e=>{o.default.validators[`${M.toUpperCaseFirst(e)}Validator`]=(0,P.getValidator)(e)}),o.default.validators.registerValidator=P.registerValidator,o.default.validators.getValidator=P.getValidator,o.default.plugins=null!==(h=o.default.plugins)&&void 0!==h?h:{},C.arrayEach((0,L.getPluginsNames)(),e=>{o.default.plugins[e]=(0,L.getPlugin)(e)}),o.default.plugins[`${M.toUpperCaseFirst(B.BasePlugin.PLUGIN_KEY)}Plugin`]=B.BasePlugin,o.default.plugins.registerPlugin=L.registerPlugin,o.default.plugins.getPlugin=L.getPlugin,o.default.themes=null!==(d=o.default.themes)&&void 0!==d?d:{},o.default.themes.hasTheme=F.hasTheme,o.default.themes.getTheme=F.getTheme,o.default.themes.getThemeNames=F.getThemeNames,o.default.themes.getThemes=F.getThemes,o.default.themes.registerTheme=F.registerTheme,o.default.themes.reinitTheme=F.reinitTheme;e.default=o.default})(),a=a.default})());
97
+ that does not exist. Before activation, register the context using the "addContext" method.`),u=e},isCtrlPressed:()=>!m&&(w.isPressed("control")||w.isPressed("meta")),releasePressedKeys:()=>w.releasePressedKeys(),destroy:()=>w.unmount()}}},88707(e,t,o){"use strict";t.__esModule=!0,t.useRecorder=function(e,t,o,r,u){const g=e=>l.includes(e),p=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const o=[];return e.altKey&&o.push("alt"),t&&(e.ctrlKey||e.metaKey)?o.push("control/meta"):(e.ctrlKey&&o.push("control"),e.metaKey&&o.push("meta")),e.shiftKey&&o.push("shift"),o},f=e=>{if(!1===t(e))return;if(!1===o(e)||229===e.keyCode||"string"!=typeof e.key||(0,i.isImmediatePropagationStopped)(e))return;const s=(0,n.normalizeEventKey)(e);let l=[];g(s)||(l=p(e));const h=[s].concat(l);!u(e,h)&&((0,a.isMacOS)()&&l.includes("meta")||!(0,a.isMacOS)()&&l.includes("control"))&&u(e,[s].concat(p(e,!0))),r(e)},m=e=>{if("string"==typeof e.key){const t=(0,n.normalizeEventKey)(e);g(t)&&h.press(t)}},C=e=>{if("string"==typeof e.key){const t=(0,n.normalizeEventKey)(e);g(t)&&h.release(t)}},w=()=>{h.releaseAll()};return{mount:()=>{let t=e;for(c+=1;t;)1===c&&(t.document.documentElement.addEventListener("keydown",m),d.push({event:"keydown",listener:m}),t.document.documentElement.addEventListener("keyup",C),d.push({event:"keyup",listener:C})),t.document.documentElement.addEventListener("keydown",f),t.document.documentElement.addEventListener("blur",w),t=(0,s.getParentWindow)(t)},unmount:()=>{let t=e;for(c-=1;t;){if(0===c){for(let e=0;e<d.length;e++){const{event:o,listener:r}=d[e];t.document.documentElement.removeEventListener(o,r)}d.length=0}t.document.documentElement.removeEventListener("keydown",f),t.document.documentElement.removeEventListener("blur",w),t=(0,s.getParentWindow)(t)}},isPressed:e=>h.isPressed(e),releasePressedKeys:()=>h.releaseAll()}};var r=o(18784),n=o(76412),i=o(31100),s=o(23876),a=o(46027);const l=["meta","alt","shift","control"],h=(0,r.createKeysObserver)(),d=[];let c=0},76412(e,t){"use strict";t.__esModule=!0;const o=new Map([[" ","space"],["spacebar","space"],["scroll","scrolllock"],["del","delete"],["esc","escape"],["medianexttrack","mediatracknext"],["mediaprevioustrack","mediatrackprevious"],["volumeup","audiovolumeup"],["volumedown","audiovolumedown"],["volumemute","audiovolumemute"],["multiply","*"],["add","+"],["divide","/"],["subtract","-"],["left","arrowleft"],["right","arrowright"],["up","arrowup"],["down","arrowdown"]]);t.normalizeKeys=e=>e.map(e=>{const t=e.toLowerCase();return o.has(t)?o.get(t):t}).sort().join("+");t.getKeysList=e=>e.split("+");const r=new Map([[96,"numpad0"],[97,"numpad1"],[98,"numpad2"],[99,"numpad3"],[100,"numpad4"],[101,"numpad5"],[102,"numpad6"],[103,"numpad7"],[104,"numpad8"],[105,"numpad9"],[106,"multiply"],[107,"add"],[108,"decimal"],[109,"subtract"],[110,"decimal"],[111,"divide"],[112,"f1"],[113,"f2"],[114,"f3"],[115,"f4"],[116,"f5"],[117,"f6"],[118,"f7"],[119,"f8"],[120,"f9"],[121,"f10"],[122,"f11"],[123,"f12"],[186,"semicolon"],[187,"equal"],[188,"comma"],[189,"minus"],[190,"period"],[191,"slash"],[192,"backquote"],[219,"bracketleft"],[220,"backslash"],[221,"bracketright"],[222,"quote"]]);t.normalizeEventKey=e=>{let{which:t,key:o}=e;if(r.has(t))return r.get(t);const n=String.fromCharCode(t).toLowerCase();return/^[a-z0-9]$/.test(n)?n:o.toLowerCase()}},9021(e,t){"use strict";t.__esModule=!0;t.default='/*!\n * Copyright (c) HANDSONCODE sp. z o. o.\n *\n * HANDSONTABLE is a software distributed by HANDSONCODE sp. z o. o., a Polish corporation based in\n * Gdynia, Poland, at Aleja Zwyciestwa 96-98, registered by the District Court in Gdansk under number\n * 538651, EU tax ID number: PL5862294002, share capital: PLN 62,800.00.\n *\n * This software is protected by applicable copyright laws, including international treaties, and dual-\n * licensed - depending on whether your use for commercial purposes, meaning intended for or\n * resulting in commercial advantage or monetary compensation, or not.\n *\n * If your use is strictly personal or solely for evaluation purposes, meaning for the purposes of testing\n * the suitability, performance, and usefulness of this software outside the production environment,\n * you agree to be bound by the terms included in the "handsontable-non-commercial-license.pdf" file.\n *\n * Your use of this software for commercial purposes is subject to the terms included in an applicable\n * license agreement.\n *\n * In any case, you must not make any such use of this software as to develop software which may be\n * considered competitive with this software.\n *\n * UNLESS EXPRESSLY AGREED OTHERWISE, HANDSONCODE PROVIDES THIS SOFTWARE ON AN "AS IS"\n * BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, AND IN NO EVENT AND UNDER NO\n * LEGAL THEORY, SHALL HANDSONCODE BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY DIRECT,\n * INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER ARISING FROM\n * USE OR INABILITY TO USE THIS SOFTWARE.\n *\n * Version: 17.0.0-rc15\n * Release date: 05/03/2026 (built at 05/03/2026 11:36:19)\n */.ht-root-wrapper{display:flex;flex-direction:column;font-family:var(--ht-font-family),-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;height:100%;position:relative}.htFocusCatcher{border:0;display:block!important;height:0;margin:0;opacity:0;padding:0;position:absolute;width:0;z-index:-1}.ht-grid{flex:1 1 auto;min-height:0}.handsontable{color:var(--ht-foreground-color);font-family:var(--ht-font-family),-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:var(--ht-font-size);font-weight:var(--ht-font-weight);letter-spacing:var(--ht-letter-spacing);line-height:var(--ht-line-height);position:relative;scrollbar-color:var(--ht-scrollbar-thumb-color) var(--ht-scrollbar-track-color);scrollbar-width:thin;touch-action:manipulation}.handsontable .wtHolder::-webkit-scrollbar{height:9px;width:9px}.handsontable .wtHolder::-webkit-scrollbar-track{background:var(--ht-scrollbar-track-color);border-radius:var(--ht-scrollbar-border-radius)}.handsontable .wtHolder::-webkit-scrollbar-thumb{background-color:var(--ht-scrollbar-thumb-color);border-radius:var(--ht-scrollbar-border-radius)}.handsontable .wtHolder::-webkit-scrollbar-corner{background:var(--ht-scrollbar-track-color);border-end-end-radius:var(--ht-scrollbar-border-radius)}.handsontable.ht-wrapper{border-radius:var(--ht-wrapper-border-radius,0);height:100%;width:100%}.handsontable.ht-wrapper:not(.htFirstDatasetColumnNotRendered) td:first-of-type{border-inline-start-width:1px}.handsontable.ht-wrapper:before{border:var(--ht-wrapper-border-width) solid var(--ht-wrapper-border-color);border-radius:var(--ht-wrapper-border-radius,0);content:"";display:block;inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:999}.handsontable.htGhostTable table thead th{border-bottom-width:0}.handsontable.htGhostTable table tbody tr:first-of-type td:first-child,.handsontable.htGhostTable table tbody tr:first-of-type th:first-child{height:calc(var(--ht-cell-vertical-padding)*2 + var(--ht-line-height) + 1px)}.handsontable.htGhostTable table tbody tr td,.handsontable.htGhostTable table tbody tr th{border-top-width:0;height:calc(var(--ht-cell-vertical-padding)*2 + var(--ht-line-height) + 1px)}.handsontable.htHasScrollX:not(.htHorizontallyScrollableByWindow) .ht_master .wtHolder,.handsontable.htHasScrollY:not(.htVerticallyScrollableByWindow) .ht_master .wtHolder{border-radius:var(--ht-wrapper-border-radius,0)}.handsontable:not(.htHorizontallyScrollableByWindow) .ht_master .wtHolder,.handsontable:not(.htVerticallyScrollableByWindow) .ht_master .wtHolder{background-color:var(--ht-background-color)}.handsontable tr.ht__row_even th{background-color:var(--ht-row-header-even-background-color)}.handsontable tr.ht__row_even td{background-color:var(--ht-row-cell-even-background-color)}.handsontable tr.ht__row_odd th{background-color:var(--ht-row-header-odd-background-color)}.handsontable tr.ht__row_odd td{background-color:var(--ht-row-cell-odd-background-color)}.handsontable td,.handsontable th{border-bottom:1px solid var(--ht-cell-vertical-border-color);border-inline-end-color:var(--ht-cell-horizontal-border-color);border-inline-end-width:1px;border-inline-start-color:var(--ht-cell-horizontal-border-color);border-inline-start-width:0;border-left-style:solid;border-right-style:solid;border-top:0 solid var(--ht-cell-vertical-border-color);box-sizing:border-box;color:var(--ht-foreground-color);empty-cells:show;font-size:var(--ht-font-size);height:calc(var(--ht-cell-vertical-padding)*2 + var(--ht-line-height) + 1px);line-height:var(--ht-line-height);outline:none;outline-width:0;overflow:hidden;padding:var(--ht-cell-vertical-padding) var(--ht-cell-horizontal-padding);vertical-align:top;white-space:pre-wrap}.handsontable td.invisibleSelection,.handsontable th.invisibleSelection{outline:none}.handsontable td.invisibleSelection::selection,.handsontable th.invisibleSelection::selection{background:transparent}.handsontable th{background-color:var(--ht-header-background-color);color:var(--ht-header-foreground-color);font-weight:var(--ht-header-font-weight);overflow:visible;position:relative;text-align:center;white-space:nowrap}.handsontable th:last-child{border-bottom-width:1px;border-inline-end-color:var(--ht-border-color);border-inline-end-width:1px;border-inline-start-width:0}.handsontable th:last-child.ht__active_highlight{border-inline-end-color:var(--ht-header-active-border-color)}.handsontable th:first-child{border-inline-start-color:var(--ht-border-color)}.handsontable th:first-child.ht__active_highlight{border-inline-start-color:var(--ht-header-active-border-color)}.handsontable th:first-child,.handsontable th:nth-child(2){border-inline-start-width:1px}.handsontable th.current{box-shadow:inset 0 0 0 1px var(--ht-cell-selection-border-color)}.handsontable th.active{background-color:var(--ht-header-active-background-color);color:var(--ht-header-active-foreground-color)}.handsontable th.ht__highlight{background-color:var(--ht-header-highlighted-background-color);color:var(--ht-header-highlighted-foreground-color)}.handsontable th.ht__active_highlight{background-color:var(--ht-header-active-background-color);border-color:var(--ht-header-active-border-color);color:var(--ht-header-active-foreground-color)}.handsontable tbody tr.ht__row_even th.ht__highlight,.handsontable tbody tr.ht__row_odd th.ht__highlight{background-color:var(--ht-header-row-highlighted-background-color);color:var(--ht-header-row-highlighted-foreground-color)}.handsontable tbody tr.ht__row_even th.ht__active_highlight,.handsontable tbody tr.ht__row_odd th.ht__active_highlight{background-color:var(--ht-header-row-active-background-color);color:var(--ht-header-row-active-foreground-color)}.handsontable tbody tr:first-of-type td:first-child:empty:after,.handsontable tbody tr:first-of-type th:first-child:empty:after{content:"";display:block;min-height:var(--ht-line-height)}.handsontable tbody tr th{background-color:var(--ht-header-row-background-color);color:var(--ht-header-row-foreground-color);padding:0}.handsontable tbody tr th.ht__active_highlight{box-shadow:0 -1px 0 0 var(--ht-header-active-border-color)}.handsontable tbody tr th .relative{min-height:100%;padding:var(--ht-cell-vertical-padding) var(--ht-cell-horizontal-padding)}.handsontable tbody tr td:first-child{border-inline-start-color:var(--ht-border-color)}.handsontable tbody tr td:last-child{border-inline-end-color:var(--ht-border-color)}.handsontable thead tr th{padding:0}.handsontable thead tr th.ht__active_highlight{box-shadow:-1px 0 0 0 var(--ht-header-active-border-color)}.handsontable thead tr th .relative{padding:var(--ht-cell-vertical-padding) var(--ht-cell-horizontal-padding)}.handsontable thead tr th .relative .colHeader{max-width:calc(100% + 1px);overflow:hidden;text-overflow:ellipsis;vertical-align:top}.handsontable thead tr th .relative:has(.collapsibleIndicator,.changeType) .colHeader{max-width:calc(100% - var(--ht-icon-size) - var(--ht-gap-size) - 1px)}.handsontable tr:first-child td,.handsontable tr:first-child th{border-top-color:var(--ht-border-color);border-top-width:1px}.handsontable tr:first-child td.ht__active_highlight,.handsontable tr:first-child th.ht__active_highlight{border-top-color:var(--ht-header-active-border-color)}.handsontable tr:last-child td,.handsontable tr:last-child th{border-bottom-color:var(--ht-border-color)}.handsontable tr:last-child td.ht__active_highlight,.handsontable tr:last-child th.ht__active_highlight{border-bottom-color:var(--ht-header-active-border-color)}.handsontable div[class^=ht_clone] thead .ht__highlight .relative:after{background-color:var(--ht-accent-color);bottom:-1px;content:"";display:block;height:var(--ht-header-highlighted-shadow-size);left:-1px;position:absolute;right:-1px}.handsontable div[class^=ht_clone] thead tr:only-of-type .ht__highlight .relative:after{bottom:0}.handsontable div[class^=ht_clone] tbody .ht__highlight .relative:after{background-color:var(--ht-accent-color);bottom:-1px;content:"";display:block;position:absolute;right:-1px;top:-1px;width:var(--ht-header-highlighted-shadow-size)}.handsontable div[class^=ht_clone] td:first-of-type{border-inline-start-width:1px}.handsontable thead tr:not(:last-child) th{overflow:hidden}.handsontable .hide{display:none}.handsontable .relative{box-sizing:border-box;position:relative}.handsontable .wtHider{width:0}.handsontable .wtSpreader{height:auto;position:relative;width:0}.handsontable .htAutoSize{left:-99000px;position:absolute;top:-99000px;visibility:hidden}.handsontable .htTextEllipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.handsontable div,.handsontable input,.handsontable table,.handsontable tbody,.handsontable textarea,.handsontable thead{box-sizing:content-box}.handsontable input,.handsontable textarea{min-height:auto}.handsontable .htCore{background-color:var(--ht-background-color);border-collapse:separate;border-spacing:0;border-width:0;cursor:default;margin:0;outline-width:0;table-layout:fixed;width:0}.handsontable col,.handsontable col.rowHeader{width:64px}.handsontable col.hidden{width:0!important}.handsontable span.colHeader,.handsontable span.rowHeader{display:inline-block;font-size:var(--ht-font-size);line-height:var(--ht-line-height)}.handsontable tr.hidden,.handsontable tr.hidden td,.handsontable tr.hidden th{display:none}.handsontable a{color:var(--ht-link-color)}.handsontable a:hover{color:var(--ht-link-hover-color)}.handsontable .ht_clone_top th:nth-child(2){border-inline-end-width:1px;border-inline-start-width:0}.handsontable.htRowHeaders thead tr th:nth-child(2){border-inline-start-width:1px}.handsontable .ht_master:not(.innerBorderInlineStart):not(.emptyColumns) tbody tr th,.handsontable .ht_master:not(.innerBorderInlineStart):not(.emptyColumns) thead tr th:first-child,.handsontable .ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable:not(.htGhostTable) tbody tr th,.handsontable .ht_master:not(.innerBorderInlineStart):not(.emptyColumns)~.handsontable:not(.ht_clone_top):not(.htGhostTable) thead tr th:first-child{border-inline-end-width:0;border-inline-start-width:1px}.handsontable .ht_master:not(.innerBorderTop):not(.innerBorderBottom) thead tr.lastChild th,.handsontable .ht_master:not(.innerBorderTop):not(.innerBorderBottom) thead tr:last-child th,.handsontable .ht_master:not(.innerBorderTop):not(.innerBorderBottom)~.handsontable thead tr.lastChild th,.handsontable .ht_master:not(.innerBorderTop):not(.innerBorderBottom)~.handsontable thead tr:last-child th{border-bottom-width:0}.handsontable.htAutoRowSize .ht_master.innerBorderTop tbody tr:first-child td,.handsontable.htAutoRowSize .ht_master.innerBorderTop tbody tr:first-child th,.handsontable.htAutoRowSize .ht_master.innerBorderTop~.ht_clone_inline_start tbody tr:first-child td,.handsontable.htAutoRowSize .ht_master.innerBorderTop~.ht_clone_inline_start tbody tr:first-child th{border-top-width:0}.handsontable .ht_clone_inline_start table.htCore>thead,.handsontable .ht_master table.htCore>tbody>tr>th,.handsontable .ht_master table.htCore>thead{visibility:hidden}.ht_clone_bottom,.ht_clone_bottom .wtHolder,.ht_clone_inline_start,.ht_clone_inline_start .wtHolder,.ht_clone_top,.ht_clone_top .wtHolder,.ht_master,.ht_master .wtHolder{overflow:hidden}.ht_master .wtHolder{overflow:auto}[dir=rtl].handsontable td[dir=ltr]{border-inline-end-width:0;border-inline-start-width:1px}[dir=rtl].handsontable tbody tr td[dir=ltr]:last-child{border-inline-start-color:var(--ht-border-color)}[dir=rtl].handsontable div[class^=ht_clone] tbody .ht__highlight .relative:after{left:-1px;right:auto}.htScrollbarSafariTest::-webkit-scrollbar{height:9px;width:9px}.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_master .htCore tbody tr:first-child td:first-child{border-start-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_master .htCore tbody tr:first-child td:last-child{border-start-end-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_top .htCore tbody tr:first-child td:first-child,.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_top_inline_start_corner .htCore tbody tr:first-child td:first-child{border-start-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_top .htCore tbody tr:first-child td:last-child{border-start-end-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_inline_start .htCore tbody tr:first-child td:first-child,.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_inline_start .htCore tbody tr:first-child th:first-child{border-start-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_master .htCore{border-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_master .htCore thead tr:first-child th:first-child{border-start-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_master .htCore thead tr:first-child th:last-child{border-start-end-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_master .htCore thead tr:last-child th:first-child{border-end-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_master .htCore thead tr:last-child th:last-child{border-end-end-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_master .htCore tbody tr:last-child td:first-child{border-end-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_master .htCore tbody tr:last-child td:last-child{border-end-end-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_top .htCore,.handsontable.ht-wrapper .ht_clone_top_inline_start_corner .htCore,.handsontable.ht-wrapper .ht_clone_top_inline_start_corner .htCore thead tr:first-child th:first-child{border-start-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_top .htCore{border-start-end-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_top .htCore thead tr:first-child th:first-child{border-start-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_top .htCore thead tr:first-child th:last-child{border-start-end-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_inline_start .htCore{border-end-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_inline_start .htCore,.handsontable.ht-wrapper .ht_clone_inline_start .htCore thead tr:first-child th:first-child{border-start-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_bottom .htCore,.handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore,.handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore tr:last-child td:first-child,.handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore tr:last-child th:first-child,.handsontable.ht-wrapper .ht_clone_inline_start .htCore tbody tr:last-child td:first-child,.handsontable.ht-wrapper .ht_clone_inline_start .htCore tbody tr:last-child th:first-child{border-end-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_bottom .htCore{border-end-end-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child td:first-child,.handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child th:first-child{border-end-start-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child td:last-child,.handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child th:last-child{border-end-end-radius:var(--ht-wrapper-border-radius)}.handsontable.ht-wrapper.htHasScrollX .htCore{border-end-end-radius:0;border-end-start-radius:0}.handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child td:first-child,.handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child th:first-child,.handsontable.ht-wrapper.htHasScrollX .htCore thead tr:last-child th:first-child{border-end-start-radius:0!important}.handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child td:last-child,.handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child th:last-child,.handsontable.ht-wrapper.htHasScrollX .htCore thead tr:last-child th:last-child{border-end-end-radius:0!important}.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore{border-end-end-radius:0;border-start-end-radius:0}.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore tbody tr:first-child td:last-child,.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore tbody tr:first-child th:last-child,.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore thead tr:first-child th:last-child{border-start-end-radius:0!important}.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore tbody tr:last-child td:last-child,.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore tbody tr:last-child th:last-child,.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore thead tr:last-child th:last-child{border-end-end-radius:0!important}.handsontable.mobile,.handsontable.mobile .wtHolder{user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-overflow-scrolling:touch}.handsontable.mobile .handsontableInput:focus{-webkit-appearance:none;box-shadow:inset 0 0 0 2px var(--ht-accent-color)}.handsontable .bottomSelectionHandle,.handsontable .bottomSelectionHandle-HitArea,.handsontable .topSelectionHandle,.handsontable .topSelectionHandle-HitArea{inset-inline-end:unset;inset-inline-start:-10000px;top:-10000px;z-index:9999}.handsontable.hide-tween{-webkit-animation:opacity-hide .2s;animation:opacity-hide .2s;animation-fill-mode:forwards;-webkit-animation-fill-mode:forwards}.handsontable.show-tween{-webkit-animation:opacity-show .3s;animation:opacity-show .3s;animation-fill-mode:forwards;-webkit-animation-fill-mode:forwards}.ht_clone_master{z-index:100}.ht_clone_inline_start{z-index:120}.ht_clone_bottom{z-index:130}.ht_clone_bottom_inline_start_corner{z-index:150}.ht_clone_top{z-index:160}.ht_clone_top_inline_start_corner{z-index:180}.ht_editor_hidden{z-index:-1}.ht_editor_visible{z-index:200}.handsontable td.area{position:relative}.handsontable td.area:before{background:var(--ht-cell-selection-background-color,#1a42e8);content:"";inset:0;position:absolute}.handsontable td.area-1{position:relative}.handsontable td.area-1:before{background:var(--ht-cell-selection-background-color,#1a42e8);content:"";inset:0;position:absolute}.handsontable td.area-2{position:relative}.handsontable td.area-2:before{background:var(--ht-cell-selection-background-color,#1a42e8);content:"";inset:0;position:absolute}.handsontable td.area-3{position:relative}.handsontable td.area-3:before{background:var(--ht-cell-selection-background-color,#1a42e8);content:"";inset:0;position:absolute}.handsontable td.area-4{position:relative}.handsontable td.area-4:before{background:var(--ht-cell-selection-background-color,#1a42e8);content:"";inset:0;position:absolute}.handsontable td.area-5{position:relative}.handsontable td.area-5:before{background:var(--ht-cell-selection-background-color,#1a42e8);content:"";inset:0;position:absolute}.handsontable td.area-6{position:relative}.handsontable td.area-6:before{background:var(--ht-cell-selection-background-color,#1a42e8);content:"";inset:0;position:absolute}.handsontable td.area-7{position:relative}.handsontable td.area-7:before{background:var(--ht-cell-selection-background-color,#1a42e8);content:"";inset:0;position:absolute}.handsontable td.area:before{opacity:.14}.handsontable td.area-1:before{opacity:.21}.handsontable td.area-2:before{opacity:.28}.handsontable td.area-3:before{opacity:.35}.handsontable td.area-4:before{opacity:.42}.handsontable td.area-5:before{opacity:.49}.handsontable td.area-6:before{opacity:.56}.handsontable td.area-7:before{opacity:.63}.handsontable td.area{border-color:color-mix(in srgb,var(--ht-border-color),var(--ht-foreground-color) 10%)}.handsontable .wtBorder{font-size:0;position:absolute}.handsontable .wtBorder:first-child,.handsontable .wtBorder:nth-child(3){z-index:2}.handsontable .wtBorder:nth-child(2),.handsontable .wtBorder:nth-child(4){z-index:1}.handsontable .wtBorder.hidden{display:none!important}.handsontable .wtBorder.current{z-index:10}.handsontable .wtBorder.area,.handsontable .wtBorder.current{background-color:var(--ht-cell-selection-border-color)!important}.handsontable .wtBorder.area{z-index:8}.handsontable .wtBorder.fill{background-color:var(--ht-cell-autofill-fill-border-color,#68696c)!important;z-index:6}.handsontable .wtBorder.corner{background-color:var(--ht-cell-autofill-background-color,#1a42e8)!important;border-color:var(--ht-cell-autofill-border-color)!important;border-radius:var(--ht-cell-autofill-border-radius)!important;cursor:crosshair;font-size:0;z-index:10}.handsontable .wtBorder.corner:after{background:transparent;border-radius:var(--ht-cell-autofill-border-radius);content:"";inset:min(0px,(var(--ht-cell-autofill-size) - var(--ht-cell-autofill-hit-area-size))/2);position:absolute}.handsontable .wtBorder.corner.wtCornerInlineEndEdge:after{inset-inline-end:0}.handsontable .wtBorder.corner.wtCornerBlockEndEdge:after{inset-block-end:0}.hot-display-license-info{background-color:var(--ht-license-background-color,#f7f7f9);border:1px solid var(--ht-border-color,#f7f7f9);border-radius:var(--ht-wrapper-border-radius);color:var(--ht-license-foreground-color);font-family:var(--ht-font-family),-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:var(--ht-font-size-small);line-height:var(--ht-line-height-small);margin-top:10px;padding:var(--ht-license-vertical-padding,16px) var(--ht-license-horizontal-padding,16px);text-align:left}.hot-display-license-info a{color:var(--ht-link-color);font-size:var(--ht-license-font-size)}.hot-display-license-info a:hover{color:var(--ht-link-hover-color)}.handsontable .htAutocompleteArrow{cursor:default;float:right;font-size:0;height:var(--ht-icon-size);margin-inline-end:1px;margin-inline-start:calc(var(--ht-gap-size)*2);position:relative;top:calc((var(--ht-line-height) - var(--ht-icon-size))/2);width:var(--ht-icon-size)}.handsontable .htAutocompleteArrow:after{content:"";display:block;left:0;opacity:.6;position:absolute;top:0}[dir=rtl].handsontable .htAutocompleteArrow{float:left}.handsontable .htCheckboxRendererInput{cursor:pointer;display:inline-block;height:var(--ht-checkbox-size);margin:-2px 0 0;outline:none;position:relative;vertical-align:middle;width:var(--ht-checkbox-size)}.handsontable .htCheckboxRendererInput:first-child{margin-inline-end:var(--ht-gap-size)}.handsontable .htCheckboxRendererInput:last-child{margin-inline-start:var(--ht-gap-size)}.handsontable .htCheckboxRendererInput:before{background-color:var(--ht-checkbox-background-color);border:1px solid var(--ht-checkbox-border-color);border-radius:var(--ht-checkbox-border-radius);box-sizing:border-box;content:"";display:inline-block;height:var(--ht-checkbox-size);left:0;pointer-events:none;position:absolute;top:0;transition:all var(--ht-table-transition) ease-in-out;width:var(--ht-checkbox-size)}.handsontable .htCheckboxRendererInput:after{color:var(--ht-checkbox-icon-color);content:"";display:block;height:var(--ht-checkbox-size)!important;left:0;pointer-events:none;position:absolute;top:0;width:var(--ht-checkbox-size)!important}.handsontable .htCheckboxRendererInput:checked:before{background-color:var(--ht-checkbox-checked-background-color);border-color:var(--ht-checkbox-checked-border-color)}.handsontable .htCheckboxRendererInput:checked:after{color:var(--ht-checkbox-checked-icon-color)}.handsontable .htCheckboxRendererInput:checked:disabled:before{background-color:var(--ht-checkbox-checked-disabled-background-color);border-color:var(--ht-checkbox-checked-disabled-border-color)}.handsontable .htCheckboxRendererInput:checked:disabled:after{color:var(--ht-checkbox-checked-disabled-icon-color)}.handsontable .htCheckboxRendererInput:checked:focus:before{background-color:var(--ht-checkbox-checked-focus-background-color);border-color:var(--ht-checkbox-checked-focus-border-color)}.handsontable .htCheckboxRendererInput:checked:focus:after{color:var(--ht-checkbox-checked-focus-icon-color)}.handsontable .htCheckboxRendererInput:focus:before{background-color:var(--ht-checkbox-focus-background-color);border-color:var(--ht-checkbox-focus-border-color);outline:1px solid var(--ht-checkbox-focus-ring-color)}.handsontable .htCheckboxRendererInput:focus:after{color:var(--ht-checkbox-focus-icon-color)}.handsontable .htCheckboxRendererInput:disabled{cursor:auto}.handsontable .htCheckboxRendererInput:disabled:before{background-color:var(--ht-checkbox-disabled-background-color);border-color:var(--ht-checkbox-disabled-border-color)}.handsontable .htCheckboxRendererInput:disabled:after{color:var(--ht-checkbox-disabled-icon-color)}.handsontable .htCheckboxRendererInput:indeterminate:before{background-color:var(--ht-checkbox-indeterminate-background-color);border-color:var(--ht-checkbox-indeterminate-border-color)}.handsontable .htCheckboxRendererInput:indeterminate:after{color:var(--ht-checkbox-indeterminate-icon-color)}.handsontable .htCheckboxRendererInput:indeterminate:disabled:before{background-color:var(--ht-checkbox-indeterminate-disabled-background-color);border-color:var(--ht-checkbox-indeterminate-disabled-border-color)}.handsontable .htCheckboxRendererInput:indeterminate:disabled:after{color:var(--ht-checkbox-indeterminate-disabled-icon-color)}.handsontable .htCheckboxRendererInput:indeterminate:focus:before{background-color:var(--ht-checkbox-indeterminate-focus-background-color);border-color:var(--ht-checkbox-indeterminate-focus-border-color)}.handsontable .htCheckboxRendererInput:indeterminate:focus:after{color:var(--ht-checkbox-indeterminate-focus-icon-color)}.handsontable .htCheckboxRendererInput.noValue{opacity:.5}.handsontable .htCheckboxRendererLabel{color:inherit;cursor:pointer;display:inline-block;font-size:inherit;line-height:inherit;margin:0;position:relative}.handsontable .htCheckboxRendererLabel.fullWidth{width:100%}.handsontable .htPlaceholder{color:var(--ht-placeholder-color)}.handsontable .htDimmed{background-color:var(--ht-cell-read-only-background-color)!important;color:var(--ht-read-only-color)!important}.handsontable .htLeft{text-align:left}.handsontable .htCenter{text-align:center}.handsontable .htRight{text-align:right}.handsontable .htJustify{text-align:justify}.handsontable .htTop{vertical-align:top}.handsontable .htMiddle{vertical-align:middle}.handsontable .htBottom{vertical-align:bottom}.handsontable .htInvalid{background-color:var(--ht-cell-error-background-color)!important}.handsontable .htNoWrap{white-space:nowrap}.handsontable .htSearchResult{background-color:var(--ht-cell-success-background-color)!important}.handsontable .ht-multi-select-renderer{overflow:hidden;padding:var(--ht-cell-vertical-padding) var(--ht-cell-horizontal-padding)}.handsontable .ht-multi-select-chips-container{align-items:center;display:flex;flex-wrap:nowrap;gap:var(--ht-gap-size);max-width:100%;overflow:hidden}.handsontable .ht-multi-select-chip{align-items:center;background:var(--ht-chip-background);border-radius:var(--ht-chip-border-radius);box-sizing:border-box;display:inline-flex;flex-shrink:0;gap:var(--ht-gap-size);max-width:100px;padding:var(--ht-chip-vertical-padding) calc((var(--ht-line-height) - var(--ht-icon-size))/2) var(--ht-chip-vertical-padding) var(--ht-chip-horizontal-padding);white-space:nowrap}.handsontable .ht-multi-select-chip-label{color:var(--ht-foreground-color);font-style:normal;font-weight:var(--ht-font-weight);letter-spacing:var(--ht-letter-spacing,0);line-height:var(--ht-line-height,40px);overflow:hidden;padding:0 var(--ht-chip-gap);text-overflow:ellipsis}.handsontable .ht-multi-select-chip-remove{align-items:center;background-position:50%;background-repeat:no-repeat;background-size:contain;color:var(--ht-icon-button-icon-color);cursor:pointer;display:flex;flex-shrink:0;height:var(--ht-icon-size)!important;justify-content:center;padding:0;position:relative;width:var(--ht-icon-size)!important}.handsontable .ht-multi-select-chip-remove:before{content:"";display:block;left:0;position:absolute;top:0}.handsontable .ht-multi-select-chip-remove:hover{background-color:var(--ht-icon-button-hover-background-color)}.handsontable .ht-multi-select-overflow{align-items:center;background:var(--ht-chip-background);border-radius:var(--ht-chip-border-radius);color:var(--ht-foreground-color);display:inline-flex;flex-shrink:0;justify-content:center;padding:0 calc(var(--ht-gap-size)*2);white-space:nowrap}.handsontableInputHolder{left:0;position:absolute;top:0}.handsontableInputHolder .handsontableInput{-webkit-appearance:none!important;background-color:var(--ht-cell-editor-background-color,#fff);border:none;border-radius:0;box-shadow:inset 0 0 0 var(--ht-cell-editor-border-width,2px) var(--ht-cell-editor-border-color,#1a42e8),0 0 var(--ht-cell-editor-shadow-blur-radius,0) 0 var(--ht-cell-editor-shadow-color,transparent);box-sizing:border-box;color:var(--ht-cell-editor-foreground-color);display:block;font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;margin:0;outline-width:0;padding:calc(var(--ht-cell-vertical-padding, 4px) + 1px) calc(var(--ht-cell-horizontal-padding, 8px) + 1px)}.handsontableInputHolder .handsontableInput:focus{outline:none}.htSelectEditor{position:absolute}.htSelectEditor select{-webkit-appearance:none!important;background-color:var(--ht-cell-editor-background-color,#fff);border:none;border-radius:0;box-shadow:inset 0 0 0 var(--ht-cell-editor-border-width,2px) var(--ht-cell-editor-border-color,#1a42e8),0 0 var(--ht-cell-editor-shadow-blur-radius,0) 0 var(--ht-cell-editor-shadow-color,transparent);box-sizing:border-box;color:var(--ht-cell-editor-foreground-color);font-family:inherit!important;font-size:inherit!important;height:100%;inset:0;line-height:inherit!important;margin:0;overflow:hidden;padding:calc(var(--ht-cell-vertical-padding, 4px) + 1px) calc(var(--ht-cell-horizontal-padding, 8px) + 1px);padding-inline-end:26px;position:absolute;text-overflow:ellipsis;white-space:nowrap;width:100%}.htSelectEditor select:focus{outline:none}.htSelectEditor .htAutocompleteArrow{margin-inline-end:4px;pointer-events:none;top:50%;transform:translateY(-50%);z-index:1}.handsontable.listbox{border:var(--ht-menu-border-width,1px) solid var(--ht-menu-border-color,#e5e5e9);box-shadow:var(--ht-menu-shadow-x,0) var(--ht-menu-shadow-y,0) var(--ht-menu-shadow-blur,8px) color-mix(in srgb,var(--ht-menu-shadow-color,#000) var(--ht-menu-shadow-opacity,100%),transparent);margin:0}.handsontable.listbox .ht_master{background-color:var(--ht-background-color);overflow:hidden}.handsontable.listbox .wtHolder{border-radius:0!important;overflow:auto}.handsontable.listbox .htCore,.handsontable.listbox .wtHider{border-radius:0!important}.handsontable.listbox table{overflow:hidden}.handsontable.listbox table td,.handsontable.listbox table th,.handsontable.listbox table tr:first-child td,.handsontable.listbox table tr:first-child th,.handsontable.listbox table tr:last-child th{border-color:transparent!important}.handsontable.listbox table td,.handsontable.listbox table th{border-radius:0!important;text-overflow:ellipsis;white-space:nowrap}.handsontable.listbox table .wtBorder{visibility:hidden}.handsontable.listbox table strong{color:inherit;font-weight:700}.handsontable.listbox table tr td:hover td{background:color-mix(in srgb,var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity,100%),transparent)!important;box-shadow:none!important;cursor:pointer}.handsontable.listbox table td{transition:var(--ht-table-transition) background ease-in-out}.handsontable.listbox table td:hover{background-color:color-mix(in srgb,var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity,100%),transparent)!important;cursor:pointer}.handsontable.listbox table td.current:not([aria-expanded=true]){box-shadow:inset 0 0 0 1px var(--ht-accent-color)}.handsontable.listbox table td.htDimmed{color:inherit!important;cursor:default;font-style:inherit}.handsontable.listbox table td.htDimmed:not(.handsontable.listbox table td:hover){background-color:inherit!important}.handsontable.listbox table thead th{height:auto!important;text-align:left}.handsontable.listbox table thead th .relative{padding-bottom:calc(var(--ht-cell-vertical-padding) + var(--ht-gap-size));padding-top:calc(var(--ht-cell-vertical-padding) + var(--ht-gap-size))}.handsontable.listbox .ht_clone_top .wtHider{overflow:hidden}.handsontable.listbox .ht_clone_top table{border-radius:0}.handsontable.listbox .htBorders div{background:none!important}.handsontable.autocompleteEditor tr.ht__row_even td,.handsontable.autocompleteEditor tr.ht__row_even th,.handsontable.autocompleteEditor tr.ht__row_odd td,.handsontable.autocompleteEditor tr.ht__row_odd th{background-color:var(--ht-background-color,#fff)}[dir=rtl].handsontable.listbox table thead th{text-align:right}.pika-single{background:var(--ht-background-color,#fff);border:var(--ht-menu-border-width,1px) solid var(--ht-menu-border-color,#e5e5e9);border-radius:var(--ht-menu-border-radius);box-shadow:var(--ht-menu-shadow-x,0) var(--ht-menu-shadow-y,0) var(--ht-menu-shadow-blur,8px) color-mix(in srgb,var(--ht-menu-shadow-color,#000) var(--ht-menu-shadow-opacity,100%),transparent);color:var(--ht-foreground-color);display:block;font-family:var(--ht-font-family),-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:var(--ht-font-size);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height);padding:10px;position:relative;z-index:9999}.pika-single.is-hidden{display:none}.pika-single .pika-row{background-color:transparent}.pika-single .pika-title{align-items:center;display:flex;justify-content:center}.pika-single .pika-label{color:var(--ht-accent-color);order:2;padding:5px;position:relative}.pika-single .pika-label .pika-select{cursor:pointer;inset:0;opacity:0;position:absolute}.pika-single .pika-next,.pika-single .pika-prev{background:none;border:none;color:var(--ht-accent-color);cursor:pointer;height:20px;padding:0;text-indent:-9999px;white-space:nowrap;width:20px}.pika-single .pika-prev{margin-right:auto;order:1}.pika-single .pika-next{margin-left:auto;order:3}.pika-single .pika-table thead{height:50px}.pika-single .pika-table th{padding:1px;vertical-align:middle}.pika-single .pika-table th abbr{border:none;cursor:auto;font-weight:400;text-decoration:none}.pika-single .pika-table td{padding:1px;vertical-align:middle}.pika-single .pika-table td.is-disabled .pika-button{opacity:.5;pointer-events:none}.pika-single .pika-table td.is-today .pika-button{background:color-mix(in srgb,var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity,100%),transparent)}.pika-single .pika-table td.is-selected .pika-button{background:var(--ht-accent-color,#1a42e8);color:var(--ht-primary-button-foreground-color,#fff)}.pika-single .pika-table td.pika-week{text-align:center;width:12.5%}.pika-single .pika-table .pika-button{aspect-ratio:1/1;background:transparent;border:none;border-radius:var(--ht-button-border-radius);color:var(--ht-foreground-color);cursor:pointer;font-size:inherit;margin:0;padding:10px;width:100%}.pika-single .pika-table .pika-button:hover{background:color-mix(in srgb,var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity,100%),transparent)}[dir=rtl].htDatepickerHolder .pika-single .pika-next{margin-left:0;margin-right:auto;transform:rotate(180deg)}[dir=rtl].htDatepickerHolder .pika-single .pika-prev{margin-left:auto;margin-right:0;transform:rotate(180deg)}.handsontableEditor{position:absolute}.handsontableEditor .ht-multi-select-editor{background:var(--ht-background-color);border:var(--ht-menu-border-width) solid var(--ht-menu-border-color);border-radius:0 0 var(--ht-menu-border-radius) var(--ht-menu-border-radius);box-shadow:var(--ht-menu-shadow-x,0) var(--ht-menu-shadow-y,0) var(--ht-menu-shadow-blur,8px) color-mix(in srgb,var(--ht-menu-shadow-color,#000) var(--ht-menu-shadow-opacity,100%),transparent);min-width:120px;overflow-y:auto;padding:var(--ht-menu-vertical-padding) var(--ht-menu-horizontal-padding);width:max-content}.handsontableEditor .ht-multi-select-editor .ht-multi-select-editor-search-input-wrapper{align-items:center;align-self:stretch;display:flex;gap:var(--ht-gap-size);padding:var(--ht-menu-item-vertical-padding) var(--ht-menu-item-horizontal-padding);position:relative}.handsontableEditor .ht-multi-select-editor .ht-multi-select-editor-search-icon{background-position:50%;background-repeat:no-repeat;background-size:contain;height:16px;left:calc(var(--ht-menu-item-horizontal-padding) + 10px);opacity:.5;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);width:16px;z-index:1}.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input{background-color:var(--ht-input-background-color);border:1px solid var(--ht-input-border-color);border-radius:var(--ht-input-border-radius);box-sizing:border-box;color:var(--ht-input-foreground-color);font-size:var(--ht-font-size);line-height:var(--ht-line-height);padding:var(--ht-input-vertical-padding) var(--ht-menu-item-horizontal-padding) var(--ht-input-vertical-padding) 32px;transition:var(--ht-table-transition) all ease-in-out;width:100%}.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input:hover{background-color:var(--ht-input-hover-background-color);border-color:var(--ht-input-hover-border-color);color:var(--ht-input-hover-foreground-color)}.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input:disabled{background-color:var(--ht-input-disabled-background-color);border-color:var(--ht-input-disabled-border-color);color:var(--ht-input-disabled-foreground-color)}.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input:focus{background-color:var(--ht-input-focus-background-color);border-color:var(--ht-input-focus-border-color);box-shadow:none;color:var(--ht-input-focus-foreground-color);outline:none;outline-offset:0}.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input::placeholder{color:var(--ht-foreground-color);opacity:.6}.handsontableEditor .ht-multi-select-editor .ht-multi-select-editor-separator{background-color:var(--ht-menu-border-color);height:1px;margin:var(--ht-menu-vertical-padding) 0 var(--ht-menu-vertical-padding) 0;padding:0;width:100%}.handsontableEditor .ht-multi-select-editor ul{align-items:flex-start;display:flex;flex-direction:column;list-style:none;margin:0;padding:var(--ht-gap-size) var(--ht-menu-horizontal-padding);width:100%}.handsontableEditor .ht-multi-select-editor ul li{align-items:center;align-self:stretch;background:var(--ht-background-color);cursor:pointer;display:flex;padding:var(--ht-menu-item-vertical-padding) var(--ht-menu-item-horizontal-padding);user-select:none}.handsontableEditor .ht-multi-select-editor ul li *{cursor:pointer}.handsontableEditor .ht-multi-select-editor ul li.ht-multi-select-editor-item-selected{background:color-mix(in srgb,var(--ht-menu-item-active-color) var(--ht-menu-item-active-color-opacity,100%),transparent)}.handsontableEditor .ht-multi-select-editor ul li div{align-items:center;display:flex;flex:1 0 0}.handsontableEditor .ht-multi-select-editor ul li div input{appearance:none;display:flex;height:var(--ht-checkbox-size);margin:0;padding:0;position:relative;width:var(--ht-checkbox-size)}.handsontableEditor .ht-multi-select-editor ul li div input:after{content:"";display:block;left:0;position:absolute;top:0}.handsontableEditor .ht-multi-select-editor ul li div input:before{background:var(--ht-checkbox-background-color);background-position:50%;background-repeat:no-repeat;border:1px solid var(--ht-checkbox-border-color);border-radius:var(--ht-checkbox-border-radius);box-sizing:border-box;content:"";display:block;height:var(--ht-checkbox-size);left:0;position:absolute;top:0;width:var(--ht-checkbox-size)}.handsontableEditor .ht-multi-select-editor ul li div input:checked:before{background:var(--ht-checkbox-checked-background-color);border-color:var(--ht-checkbox-checked-border-color)}.handsontableEditor .ht-multi-select-editor ul li div input:checked:after{background-color:currentColor;color:var(--ht-checkbox-checked-icon-color)}.handsontableEditor .ht-multi-select-editor ul li div input:focus{outline:none}.handsontableEditor .ht-multi-select-editor ul li div label{color:var(--ht-foreground-color);font-size:var(--ht-font-size);font-style:normal;font-weight:400;letter-spacing:var(--ht-letter-spacing);line-height:var(--ht-line-height);overflow:hidden;padding:0 0 0 calc(var(--ht-gap-size)*2);text-overflow:ellipsis;width:100%}.handsontableEditor .ht-multi-select-editor ul li:hover{background:color-mix(in srgb,var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity,100%),transparent)}.handsontableEditor .ht-multi-select-editor ul li:has(input:focus){background:color-mix(in srgb,var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity,100%),transparent)}.handsontable .htUISelectCaption{background-color:var(--ht-input-background-color);border:var(--ht-input-border-width) solid var(--ht-input-border-color);border-radius:var(--ht-input-border-radius);box-sizing:border-box;color:var(--ht-input-foreground-color);cursor:pointer;font-family:inherit;font-size:var(--ht-font-size);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height);margin:0;outline:none!important;overflow:hidden;padding:var(--ht-input-vertical-padding) var(--ht-input-horizontal-padding);padding-inline-end:calc(var(--ht-input-horizontal-padding) + var(--ht-icon-size));text-overflow:ellipsis;transition:var(--ht-table-transition) all ease-in-out;white-space:nowrap;width:100%}.handsontable .htUISelectCaption:after{content:"";display:block;position:absolute;right:calc(var(--ht-input-horizontal-padding) - var(--ht-icon-size)/4);top:50%;transform:translateY(-50%)}.handsontable .htUISelectCaption:hover{background-color:var(--ht-input-hover-background-color);border-color:var(--ht-input-hover-border-color);color:var(--ht-input-hover-foreground-color)}.handsontable .htUISelectCaption:disabled{background-color:var(--ht-input-disabled-background-color);border-color:var(--ht-input-disabled-border-color);color:var(--ht-input-disabled-foreground-color)}.handsontable .htUISelectCaption:focus{background-color:var(--ht-input-focus-background-color);border-color:var(--ht-input-focus-border-color);color:var(--ht-input-focus-foreground-color)}.handsontable .htUISelect{cursor:pointer;outline:none!important;position:relative}.handsontable .htUISelect:focus .htUISelectCaption{background-color:var(--ht-input-focus-background-color);border-color:var(--ht-input-focus-border-color);color:var(--ht-input-focus-foreground-color)}[dir=rtl].handsontable .htUISelectCaption:after{left:calc(var(--ht-input-horizontal-padding) - var(--ht-icon-size)/4);right:auto}.handsontable .htFiltersMenuCondition .htUIInput input,.handsontable .htFiltersMenuValue .htUIMultipleSelectSearch input{background-color:var(--ht-input-background-color);border:var(--ht-input-border-width) solid var(--ht-input-border-color);border-radius:var(--ht-input-border-radius);box-sizing:border-box;color:var(--ht-input-foreground-color);cursor:pointer;font-family:inherit;font-size:var(--ht-font-size);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height);outline:none!important;padding:var(--ht-input-vertical-padding) var(--ht-input-horizontal-padding);transition:var(--ht-table-transition) all ease-in-out;width:100%}.handsontable .htFiltersMenuCondition .htUIInput input:hover,.handsontable .htFiltersMenuValue .htUIMultipleSelectSearch input:hover{background-color:var(--ht-input-hover-background-color);border-color:var(--ht-input-hover-border-color);color:var(--ht-input-hover-foreground-color)}.handsontable .htFiltersMenuCondition .htUIInput input:disabled,.handsontable .htFiltersMenuValue .htUIMultipleSelectSearch input:disabled{background-color:var(--ht-input-disabled-background-color);border-color:var(--ht-input-disabled-border-color);color:var(--ht-input-disabled-foreground-color)}.handsontable .htFiltersMenuCondition .htUIInput input:focus,.handsontable .htFiltersMenuValue .htUIMultipleSelectSearch input:focus{background-color:var(--ht-input-focus-background-color);border-color:var(--ht-input-focus-border-color);color:var(--ht-input-focus-foreground-color)}.handsontable .htUIInput{outline:none!important;padding:0;position:relative;text-align:center}.handsontable .htUIInputIcon{position:absolute}.handsontable .ht-button,.handsontable .htUIInput.htUIButton input{border-radius:var(--ht-button-border-radius);border-style:solid;border-width:1px;box-sizing:border-box;cursor:pointer;font-family:inherit;font-size:var(--ht-font-size);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height);min-width:64px;outline:none!important;padding:var(--ht-button-vertical-padding) var(--ht-button-horizontal-padding);transition:var(--ht-table-transition) all ease-in-out}.handsontable .ht-button--secondary,.handsontable .htUIInput.htUIButtonCancel input{background-color:var(--ht-secondary-button-background-color);border-color:var(--ht-secondary-button-border-color);color:var(--ht-secondary-button-foreground-color)}.handsontable .ht-button--secondary:hover,.handsontable .htUIInput.htUIButtonCancel input:hover{background-color:var(--ht-secondary-button-hover-background-color);border-color:var(--ht-secondary-button-hover-border-color);color:var(--ht-secondary-button-hover-foreground-color)}.handsontable .ht-button--secondary:disabled,.handsontable .htUIInput.htUIButtonCancel input:disabled{background-color:var(--ht-secondary-button-disabled-background-color);border-color:var(--ht-secondary-button-disabled-border-color);color:var(--ht-secondary-button-disabled-foreground-color)}.handsontable .ht-button--secondary:focus,.handsontable .htUIInput.htUIButtonCancel input:focus{background-color:var(--ht-secondary-button-focus-background-color);border-color:var(--ht-secondary-button-focus-border-color);box-shadow:0 0 0 1px var(--ht-accent-color);color:var(--ht-secondary-button-focus-foreground-color)}.ht-button--primary,.htUIInput.htUIButtonOK input{background-color:var(--ht-primary-button-background-color);border-color:var(--ht-primary-button-border-color);color:var(--ht-primary-button-foreground-color)}.ht-button--primary:hover,.htUIInput.htUIButtonOK input:hover{background-color:var(--ht-primary-button-hover-background-color);border-color:var(--ht-primary-button-hover-border-color);color:var(--ht-primary-button-hover-foreground-color)}.ht-button--primary:disabled,.htUIInput.htUIButtonOK input:disabled{background-color:var(--ht-primary-button-disabled-background-color);border-color:var(--ht-primary-button-disabled-border-color);color:var(--ht-primary-button-disabled-foreground-color)}.ht-button--primary:focus,.htUIInput.htUIButtonOK input:focus{background-color:var(--ht-primary-button-focus-background-color);border-color:var(--ht-primary-button-focus-border-color);box-shadow:0 0 0 1px var(--ht-accent-color);color:var(--ht-primary-button-focus-foreground-color)}.handsontable .htUIRadio{align-items:center;cursor:pointer;display:inline-flex;gap:var(--ht-gap-size);margin:0;padding:var(--ht-gap-size) calc(var(--ht-gap-size)*2);padding-bottom:0;position:relative}.handsontable .htUIRadio:first-child{padding-inline-start:0}.handsontable .htUIRadio>input[type=radio]{appearance:none;border-radius:calc(var(--ht-radio-size)*.5);cursor:pointer;height:var(--ht-radio-size);margin:0;outline:none;position:relative;width:var(--ht-radio-size)}.handsontable .htUIRadio>input[type=radio]:before{background-color:var(--ht-radio-background-color);border:1px solid var(--ht-radio-border-color);border-radius:calc(var(--ht-radio-size)*.5);content:"";display:block;inset:0;position:absolute}.handsontable .htUIRadio>input[type=radio]:after{color:var(--ht-radio-icon-color);content:"";display:block;position:absolute}.handsontable .htUIRadio>input[type=radio]:checked:before{background-color:var(--ht-radio-checked-background-color);border-color:var(--ht-radio-checked-border-color)}.handsontable .htUIRadio>input[type=radio]:checked:after{color:var(--ht-radio-checked-icon-color)}.handsontable .htUIRadio>input[type=radio]:checked:disabled{cursor:auto}.handsontable .htUIRadio>input[type=radio]:checked:disabled:before{background-color:var(--ht-radio-checked-disabled-background-color);border-color:var(--ht-radio-checked-disabled-border-color)}.handsontable .htUIRadio>input[type=radio]:checked:disabled:after{color:var(--ht-radio-checked-disabled-icon-color)}.handsontable .htUIRadio>input[type=radio]:checked:focus:before{background-color:var(--ht-radio-checked-focus-background-color);border-color:var(--ht-radio-checked-focus-border-color)}.handsontable .htUIRadio>input[type=radio]:checked:focus:after{color:var(--ht-radio-checked-focus-icon-color)}.handsontable .htUIRadio>input[type=radio]:disabled{cursor:auto}.handsontable .htUIRadio>input[type=radio]:disabled:before{background-color:var(--ht-radio-disabled-background-color);border-color:var(--ht-radio-disabled-border-color)}.handsontable .htUIRadio>input[type=radio]:disabled:after{color:var(--ht-radio-disabled-icon-color)}.handsontable .htUIRadio>input[type=radio]:focus:before{background-color:var(--ht-radio-focus-background-color);border-color:var(--ht-radio-focus-border-color);outline:1px solid var(--ht-radio-focus-ring-color)}.handsontable .htUIRadio>input[type=radio]:focus:after{color:var(--ht-radio-focus-icon-color)}.handsontable .htUIRadio label{color:inherit;cursor:pointer;vertical-align:middle}.handsontable .htUIRadio label:before{content:"";display:block;inset:0;position:absolute}.handsontable .collapsibleIndicator{margin-inline-end:1px;margin-inline-start:var(--ht-gap-size);top:calc((var(--ht-line-height) - var(--ht-icon-size))/2)}.handsontable .collapsibleIndicator,.handsontable .ht_nestingButton{border-radius:var(--ht-collapse-button-border-radius);box-sizing:border-box;cursor:pointer;float:right;font-size:0;height:var(--ht-icon-size);overflow:hidden;position:relative;text-indent:-100px;width:var(--ht-icon-size)}.handsontable .collapsibleIndicator:before,.handsontable .ht_nestingButton:before{content:"";display:block;left:0;position:absolute;top:0;transition:var(--ht-table-transition) all ease-in-out}.handsontable .collapsibleIndicator.expanded,.handsontable .collapsibleIndicator.ht_nestingCollapse,.handsontable .ht_nestingButton.expanded,.handsontable .ht_nestingButton.ht_nestingCollapse{background-color:var(--ht-collapse-button-open-background-color);box-shadow:0 0 0 1px var(--ht-collapse-button-open-border-color)}.handsontable .collapsibleIndicator.expanded:before,.handsontable .collapsibleIndicator.ht_nestingCollapse:before,.handsontable .ht_nestingButton.expanded:before,.handsontable .ht_nestingButton.ht_nestingCollapse:before{color:var(--ht-collapse-button-open-icon-color)}.handsontable .collapsibleIndicator.expanded:hover,.handsontable .collapsibleIndicator.ht_nestingCollapse:hover,.handsontable .ht_nestingButton.expanded:hover,.handsontable .ht_nestingButton.ht_nestingCollapse:hover{background-color:var(--ht-collapse-button-open-hover-background-color);box-shadow:0 0 0 1px var(--ht-collapse-button-open-hover-border-color)}.handsontable .collapsibleIndicator.expanded:hover:before,.handsontable .collapsibleIndicator.ht_nestingCollapse:hover:before,.handsontable .ht_nestingButton.expanded:hover:before,.handsontable .ht_nestingButton.ht_nestingCollapse:hover:before{color:var(--ht-collapse-button-open-hover-icon-color)}.handsontable .collapsibleIndicator.collapsed,.handsontable .collapsibleIndicator.ht_nestingExpand,.handsontable .ht_nestingButton.collapsed,.handsontable .ht_nestingButton.ht_nestingExpand{background-color:var(--ht-collapse-button-close-background-color);box-shadow:0 0 0 1px var(--ht-collapse-button-close-border-color)}.handsontable .collapsibleIndicator.collapsed:before,.handsontable .collapsibleIndicator.ht_nestingExpand:before,.handsontable .ht_nestingButton.collapsed:before,.handsontable .ht_nestingButton.ht_nestingExpand:before{color:var(--ht-collapse-button-close-icon-color)}.handsontable .collapsibleIndicator.collapsed:hover,.handsontable .collapsibleIndicator.ht_nestingExpand:hover,.handsontable .ht_nestingButton.collapsed:hover,.handsontable .ht_nestingButton.ht_nestingExpand:hover{background-color:var(--ht-collapse-button-close-hover-background-color);box-shadow:0 0 0 1px var(--ht-collapse-button-close-hover-border-color)}.handsontable .collapsibleIndicator.collapsed:hover:before,.handsontable .collapsibleIndicator.ht_nestingExpand:hover:before,.handsontable .ht_nestingButton.collapsed:hover:before,.handsontable .ht_nestingButton.ht_nestingExpand:hover:before{color:var(--ht-collapse-button-close-hover-icon-color)}.handsontable th.ht__active_highlight .collapsibleIndicator.collapsed:before,.handsontable th.ht__active_highlight .collapsibleIndicator.ht_nestingExpand:before,.handsontable th.ht__active_highlight .ht_nestingButton.collapsed:before,.handsontable th.ht__active_highlight .ht_nestingButton.ht_nestingExpand:before{color:var(--ht-collapse-button-close-icon-active-color)}.handsontable th.ht__active_highlight .collapsibleIndicator.collapsed:hover:before,.handsontable th.ht__active_highlight .collapsibleIndicator.ht_nestingExpand:hover:before,.handsontable th.ht__active_highlight .ht_nestingButton.collapsed:hover:before,.handsontable th.ht__active_highlight .ht_nestingButton.ht_nestingExpand:hover:before{color:var(--ht-collapse-button-close-hover-icon-active-color)}.handsontable th.ht__active_highlight .collapsibleIndicator.expanded:before,.handsontable th.ht__active_highlight .collapsibleIndicator.ht_nestingCollapse:before,.handsontable th.ht__active_highlight .ht_nestingButton.expanded:before,.handsontable th.ht__active_highlight .ht_nestingButton.ht_nestingCollapse:before{color:var(--ht-collapse-button-open-icon-active-color)}.handsontable th.ht__active_highlight .collapsibleIndicator.expanded:hover:before,.handsontable th.ht__active_highlight .collapsibleIndicator.ht_nestingCollapse:hover:before,.handsontable th.ht__active_highlight .ht_nestingButton.expanded:hover:before,.handsontable th.ht__active_highlight .ht_nestingButton.ht_nestingCollapse:hover:before{color:var(--ht-collapse-button-open-hover-icon-active-color)}[dir=rtl].handsontable .collapsibleIndicator,[dir=rtl].handsontable .ht_nestingButton{float:left}.handsontable thead th.hiddenHeader:not(:first-of-type){display:none}.handsontable thead th.hiddenHeaderText .colHeader{opacity:0}.handsontable th.ht_nestingLevels>.relative{align-items:center;display:flex;gap:5px}.handsontable th.ht_nestingLevels span:last-child{padding-left:calc(var(--ht-icon-size) + 5px)}.handsontable th.ht_nestingLevels span.ht_nestingLevel{display:inline-block}.handsontable th.ht_nestingLevels span.ht_nestingLevel_empty{display:inline-block;height:1px;order:-2;position:relative;width:5px}.handsontable th.ht_nestingLevels .ht_nestingButton{cursor:pointer;order:-1;position:relative}.handsontable th.afterHiddenColumn,.handsontable th.beforeHiddenColumn{position:relative}.handsontable th.afterHiddenColumn:after,.handsontable th.afterHiddenColumn:before,.handsontable th.beforeHiddenColumn:after,.handsontable th.beforeHiddenColumn:before{color:var(--ht-hidden-indicator-color);height:10px!important;position:absolute;top:50%;transform:translateY(-50%);width:10px!important}.handsontable th.beforeHiddenColumn:after{content:"";display:block;right:-2px}.handsontable th.afterHiddenColumn:before{content:"";display:block;left:-2px}.handsontable th.ht__active_highlight.afterHiddenColumn:after,.handsontable th.ht__active_highlight.afterHiddenColumn:before,.handsontable th.ht__active_highlight.beforeHiddenColumn:after,.handsontable th.ht__active_highlight.beforeHiddenColumn:before{color:var(--ht-icon-button-active-icon-color,var(--ht-icon-active-button-icon-color))}[dir=rtl].handsontable th.beforeHiddenColumn:after{left:-2px;right:auto;transform:translateY(-50%) rotate(180deg)}[dir=rtl].handsontable th.afterHiddenColumn:before{left:auto;right:-2px;transform:translateY(-50%) rotate(180deg)}.handsontable th.afterHiddenRow,.handsontable th.beforeHiddenRow{position:relative}.handsontable th.afterHiddenRow:after,.handsontable th.afterHiddenRow:before,.handsontable th.beforeHiddenRow:after,.handsontable th.beforeHiddenRow:before{color:var(--ht-hidden-indicator-color);height:10px!important;left:50%;position:absolute;transform:translateX(-50%);width:10px!important}.handsontable th.beforeHiddenRow:after{bottom:-2px;content:"";display:block}.handsontable th.afterHiddenRow:before{content:"";display:block;top:-2px}.handsontable th.ht__active_highlight.afterHiddenRow:after,.handsontable th.ht__active_highlight.afterHiddenRow:before,.handsontable th.ht__active_highlight.beforeHiddenRow:after,.handsontable th.ht__active_highlight.beforeHiddenRow:before{color:var(--ht-icon-button-active-icon-color,var(--ht-icon-active-button-icon-color))}.handsontable .changeType{background-color:var(--ht-icon-button-background-color);border:none;border-radius:var(--ht-icon-button-border-radius);box-shadow:0 0 0 1px var(--ht-icon-button-border-color);box-sizing:border-box;color:inherit;float:right;height:var(--ht-icon-size);margin:0;margin-inline-end:1px;margin-inline-start:var(--ht-gap-size);order:1;padding:0;position:relative;top:calc((var(--ht-line-height) - var(--ht-icon-size))/2);width:var(--ht-icon-size);z-index:1}.handsontable .changeType:before{color:var(--ht-icon-button-icon-color);content:"";display:block;left:0;position:absolute;top:0}.handsontable .changeType:hover{background-color:var(--ht-icon-button-hover-background-color);box-shadow:0 0 0 1px var(--ht-icon-button-hover-border-color);cursor:pointer}.handsontable .changeType:hover:before{color:var(--ht-icon-button-hover-icon-color)}.handsontable .ht__active_highlight .changeType{background-color:var(--ht-icon-button-active-background-color,var(--ht-icon-active-button-background-color));box-shadow:0 0 0 1px var(--ht-icon-button-active-border-color,var(--ht-icon-active-button-border-color))}.handsontable .ht__active_highlight .changeType:before{color:var(--ht-icon-button-active-icon-color,var(--ht-icon-active-button-icon-color))}.handsontable .ht__active_highlight .changeType:hover{background-color:var(--ht-icon-button-active-hover-background-color,var(--ht-icon-active-button-hover-background-color));box-shadow:0 0 0 1px var(--ht-icon-button-active-hover-border-color,var(--ht-icon-active-button-hover-border-color))}.handsontable .ht__active_highlight .changeType:hover:before{color:var(--ht-icon-button-active-hover-icon-color,var(--ht-icon-active-button-hover-icon-color))}.handsontable th.htFiltersActive{background-color:var(--ht-header-filter-background-color)}.handsontable th.htFiltersActive.ht__active_highlight{background-color:color-mix(in srgb,var(--ht-header-active-background-color),var(--ht-header-filter-background-color) 20%)}.handsontable th.htFiltersActive.ht__active_highlight .changeType:after{background-color:var(--ht-header-active-foreground-color)}.handsontable.htContextMenu>.ht_master,.handsontable.htDropdownMenu>.ht_master,.handsontable.htFiltersConditionsMenu>.ht_master{background-color:var(--ht-background-color,#fff);border:var(--ht-menu-border-width,1px) solid var(--ht-menu-border-color,#e5e5e9);border-radius:var(--ht-menu-border-radius);box-shadow:var(--ht-menu-shadow-x,0) var(--ht-menu-shadow-y,0) var(--ht-menu-shadow-blur,8px) color-mix(in srgb,var(--ht-menu-shadow-color,#000) var(--ht-menu-shadow-opacity,100%),transparent);overflow:hidden;padding:var(--ht-menu-vertical-padding,8px) var(--ht-menu-horizontal-padding,0)}.handsontable.htContextMenu:not(.htGhostTable),.handsontable.htDropdownMenu:not(.htGhostTable),.handsontable.htFiltersConditionsMenu:not(.htGhostTable){display:none;position:absolute;z-index:1060}.handsontable.htContextMenu .ht_clone_bottom,.handsontable.htContextMenu .ht_clone_bottom_inline_start_corner,.handsontable.htContextMenu .ht_clone_inline_start,.handsontable.htContextMenu .ht_clone_top,.handsontable.htContextMenu .ht_clone_top_inline_start_corner,.handsontable.htDropdownMenu .ht_clone_bottom,.handsontable.htDropdownMenu .ht_clone_bottom_inline_start_corner,.handsontable.htDropdownMenu .ht_clone_inline_start,.handsontable.htDropdownMenu .ht_clone_top,.handsontable.htDropdownMenu .ht_clone_top_inline_start_corner,.handsontable.htFiltersConditionsMenu .ht_clone_bottom,.handsontable.htFiltersConditionsMenu .ht_clone_bottom_inline_start_corner,.handsontable.htFiltersConditionsMenu .ht_clone_inline_start,.handsontable.htFiltersConditionsMenu .ht_clone_top,.handsontable.htFiltersConditionsMenu .ht_clone_top_inline_start_corner{display:none}.handsontable.htContextMenu table.htCore,.handsontable.htDropdownMenu table.htCore,.handsontable.htFiltersConditionsMenu table.htCore{overflow:hidden}.handsontable.htContextMenu .htCustomMenuRenderer .table.htCore,.handsontable.htDropdownMenu .htCustomMenuRenderer .table.htCore,.handsontable.htFiltersConditionsMenu .htCustomMenuRenderer .table.htCore{box-shadow:none}.handsontable.htContextMenu.handsontable:focus,.handsontable.htDropdownMenu.handsontable:focus,.handsontable.htFiltersConditionsMenu.handsontable:focus{outline:none}.handsontable.htContextMenu .wtBorder,.handsontable.htDropdownMenu .wtBorder,.handsontable.htFiltersConditionsMenu .wtBorder{visibility:hidden}.handsontable.htContextMenu tbody tr:first-of-type td:first-child,.handsontable.htContextMenu tbody tr:first-of-type th:first-child,.handsontable.htDropdownMenu tbody tr:first-of-type td:first-child,.handsontable.htDropdownMenu tbody tr:first-of-type th:first-child,.handsontable.htFiltersConditionsMenu tbody tr:first-of-type td:first-child,.handsontable.htFiltersConditionsMenu tbody tr:first-of-type th:first-child{height:calc(var(--ht-cell-vertical-padding)*2 + var(--ht-line-height) + 1px)}.handsontable.htContextMenu table tbody tr td,.handsontable.htDropdownMenu table tbody tr td,.handsontable.htFiltersConditionsMenu table tbody tr td{background:var(--ht-background-color,#fff);border-width:0;cursor:pointer;overflow:hidden;padding:var(--ht-menu-item-vertical-padding,4px) var(--ht-menu-item-horizontal-padding,8px);position:relative;text-overflow:ellipsis;transition:var(--ht-table-transition) background ease-in-out;white-space:nowrap}.handsontable.htContextMenu table tbody tr td:first-child,.handsontable.htDropdownMenu table tbody tr td:first-child,.handsontable.htFiltersConditionsMenu table tbody tr td:first-child{border-bottom-width:0;border-inline-end-width:0;border-inline-start-width:0;border-top-width:0}.handsontable.htContextMenu table tbody tr td.htDimmed,.handsontable.htDropdownMenu table tbody tr td.htDimmed,.handsontable.htFiltersConditionsMenu table tbody tr td.htDimmed{background-color:inherit!important;color:inherit!important;font-style:normal}.handsontable.htContextMenu table tbody tr td:not(.handsontable.htDropdownMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htDropdownMenu table tbody tr td.htDisabled,.handsontable.htContextMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htContextMenu table tbody tr td.htDisabled,.handsontable.htFiltersConditionsMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled):hover,.handsontable.htDropdownMenu table tbody tr td:not(.handsontable.htDropdownMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htDropdownMenu table tbody tr td.htDisabled,.handsontable.htContextMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htContextMenu table tbody tr td.htDisabled,.handsontable.htFiltersConditionsMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled):hover,.handsontable.htFiltersConditionsMenu table tbody tr td:not(.handsontable.htDropdownMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htDropdownMenu table tbody tr td.htDisabled,.handsontable.htContextMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htContextMenu table tbody tr td.htDisabled,.handsontable.htFiltersConditionsMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled):hover{background:color-mix(in srgb,var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity,100%),transparent)!important;cursor:pointer}.handsontable.htContextMenu table tbody tr td:not(.handsontable.htDropdownMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htDropdownMenu table tbody tr td.htDisabled,.handsontable.htContextMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htContextMenu table tbody tr td.htDisabled,.handsontable.htFiltersConditionsMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled).current:not([aria-expanded=true]),.handsontable.htDropdownMenu table tbody tr td:not(.handsontable.htDropdownMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htDropdownMenu table tbody tr td.htDisabled,.handsontable.htContextMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htContextMenu table tbody tr td.htDisabled,.handsontable.htFiltersConditionsMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled).current:not([aria-expanded=true]),.handsontable.htFiltersConditionsMenu table tbody tr td:not(.handsontable.htDropdownMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htDropdownMenu table tbody tr td.htDisabled,.handsontable.htContextMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htContextMenu table tbody tr td.htDisabled,.handsontable.htFiltersConditionsMenu table tbody tr td.htCustomMenuRenderer,.handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled).current:not([aria-expanded=true]){box-shadow:inset 0 0 0 1px var(--ht-accent-color)}.handsontable.htContextMenu table tbody tr td.htSubmenu .htItemWrapper,.handsontable.htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper,.handsontable.htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper{margin-inline-end:calc(var(--ht-gap-size, 4px)*2 + var(--ht-icon-size))}.handsontable.htContextMenu table tbody tr td.htSubmenu .htItemWrapper:after,.handsontable.htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper:after,.handsontable.htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper:after{content:"";display:block;position:absolute;right:calc(var(--ht-menu-item-horizontal-padding) + var(--ht-gap-size)*2);top:50%;transform:translateY(-50%)}.handsontable.htContextMenu table tbody tr td.htSeparator,.handsontable.htDropdownMenu table tbody tr td.htSeparator,.handsontable.htFiltersConditionsMenu table tbody tr td.htSeparator{border-top:1px solid var(--ht-border-color);cursor:default;height:0;padding:0}.handsontable.htContextMenu table tbody tr td.htDisabled,.handsontable.htDropdownMenu table tbody tr td.htDisabled,.handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled{color:var(--ht-disabled-color);cursor:default}.handsontable.htContextMenu table tbody tr td.htDisabled:hover,.handsontable.htDropdownMenu table tbody tr td.htDisabled:hover,.handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled:hover{background:var(--ht-background-color);color:var(--ht-disabled-color)}.handsontable.htContextMenu table tbody tr td.htHidden,.handsontable.htDropdownMenu table tbody tr td.htHidden,.handsontable.htFiltersConditionsMenu table tbody tr td.htHidden{display:none}.handsontable.htContextMenu table tbody tr td:has(.htItemWrapper .selected),.handsontable.htDropdownMenu table tbody tr td:has(.htItemWrapper .selected),.handsontable.htFiltersConditionsMenu table tbody tr td:has(.htItemWrapper .selected){background-color:color-mix(in srgb,var(--ht-menu-item-active-color) var(--ht-menu-item-active-color-opacity,100%),transparent)}.handsontable.htContextMenu table tbody tr td .htItemWrapper,.handsontable.htDropdownMenu table tbody tr td .htItemWrapper,.handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper{margin-inline:calc(var(--ht-gap-size, 4px)*2)}.handsontable.htContextMenu table tbody tr td .htItemWrapper:before,.handsontable.htDropdownMenu table tbody tr td .htItemWrapper:before,.handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper:before{margin-right:12px;vertical-align:text-bottom}.handsontable.htContextMenu table tbody tr td .htItemWrapper span.selected,.handsontable.htDropdownMenu table tbody tr td .htItemWrapper span.selected,.handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected{font-size:0;inset:0}.handsontable.htContextMenu table tbody tr td .htItemWrapper span.selected:after,.handsontable.htDropdownMenu table tbody tr td .htItemWrapper span.selected:after,.handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected:after{color:var(--ht-accent-color);content:"";display:block;position:absolute;right:calc(var(--ht-menu-item-horizontal-padding) + var(--ht-gap-size)*2);top:50%;transform:translateY(-50%)}.handsontable.htContextMenu table tbody tr td div span.selected,.handsontable.htDropdownMenu table tbody tr td div span.selected,.handsontable.htFiltersConditionsMenu table tbody tr td div span.selected{inset-inline-end:0;position:absolute}.handsontable.htContextMenu table tbody tr td .htUIButton,.handsontable.htDropdownMenu table tbody tr td .htUIButton,.handsontable.htFiltersConditionsMenu table tbody tr td .htUIButton{width:calc(50% - var(--ht-gap-size))}.handsontable.htContextMenu table tbody tr td .htUIButton input,.handsontable.htDropdownMenu table tbody tr td .htUIButton input,.handsontable.htFiltersConditionsMenu table tbody tr td .htUIButton input{width:100%}.handsontable .htUIClearAll a,.handsontable .htUISelectAll a{display:inline-block;padding:var(--ht-gap-size);text-decoration:none}.handsontable .htUIMultipleSelect .ht_master .wtHolder{background:transparent;border-radius:0!important;overflow-y:scroll!important}.handsontable .htUIMultipleSelect .ht_master .wtHolder .htCore{box-shadow:none}[dir=rtl].handsontable.htContextMenu table tbody tr td.htSubmenu .htItemWrapper:after,[dir=rtl].handsontable.htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper:after,[dir=rtl].handsontable.htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper:after{left:calc(var(--ht-gap-size)*4);right:auto;transform:translateY(-50%) rotate(180deg)}[dir=rtl].handsontable.htContextMenu table tbody tr td .htItemWrapper span.selected:after,[dir=rtl].handsontable.htDropdownMenu table tbody tr td .htItemWrapper span.selected:after,[dir=rtl].handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected:after{left:calc(var(--ht-gap-size)*4);right:auto}[dir=rtl].handsontable .changeType{float:left}.handsontable.htFiltersConditionsMenu:not(.htGhostTable){z-index:1070}.handsontable .ht_master table td.htCustomMenuRenderer{cursor:auto}.handsontable .ht_master table td.htCustomMenuRenderer.htFiltersMenuActionBar{padding-top:calc(var(--ht-menu-item-vertical-padding, 4px)*2)}.handsontable .htFiltersMenuLabel{font-size:var(--ht-font-size-small);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height-small);margin-bottom:calc(var(--ht-gap-size, 2px)*2)}.handsontable .htFiltersMenuLabel:empty{display:none}.handsontable .htFiltersMenuCondition{padding-bottom:0!important;padding-top:calc(var(--ht-gap-size, 2px)*3)!important}.handsontable .htFiltersMenuCondition .border{border-bottom:1px solid var(--ht-border-color)!important}.handsontable .htFiltersMenuCondition .htUIInput{margin-top:calc(var(--ht-gap-size, 2px)*2)}.handsontable .htFiltersMenuValue{border-bottom:1px solid var(--ht-border-color)!important;padding-bottom:0!important;padding-top:calc(var(--ht-gap-size, 2px)*3)!important}.handsontable .htFiltersMenuOperators{padding-bottom:0!important;padding-top:calc(var(--ht-gap-size, 2px)*2)!important}.handsontable .htUISelectionControls{margin:0 calc(var(--ht-gap-size, 2px)*-1);padding-bottom:var(--ht-gap-size,2px)!important;padding-top:calc(var(--ht-gap-size, 2px)*2)!important}.handsontable .htUIMultipleSelectHot{--ht-cell-horizontal-padding:calc(var(--ht-menu-item-horizontal-padding, 2px) + var(--ht-gap-size, 2px)*2);margin:0 calc((var(--ht-menu-item-horizontal-padding, 2px) + var(--ht-gap-size, 2px)*2)*-1);overflow:initial!important;width:calc(100% + var(--ht-menu-item-horizontal-padding, 2px)*2 + var(--ht-gap-size, 2px)*4)}.handsontable .htUIMultipleSelectHot:before{background-color:var(--ht-border-color);content:"";display:block;height:1px;left:0;position:absolute;top:-1px;width:100%}.handsontable .htUIMultipleSelectHot .wtHolder{box-sizing:border-box;overflow-x:hidden;padding:0}.handsontable .htUIMultipleSelectHot .wtHolder .wtSpreader{padding:calc(var(--ht-gap-size)*2) 0}.handsontable .htUIMultipleSelectHot .wtHolder td{height:auto!important;padding:4px var(--ht-cell-horizontal-padding)}.handsontable .htUIClearAll,.handsontable .htUISelectAll{display:inline-block;margin-bottom:var(--ht-gap-size,4px);margin-right:var(--ht-gap-size,4px)}.handsontable .htUIClearAll a,.handsontable .htUISelectAll a{border-radius:var(--ht-button-border-radius);color:var(--ht-link-color);font-size:var(--ht-font-size);line-height:var(--ht-line-height)}.handsontable .htUIClearAll a:hover,.handsontable .htUISelectAll a:hover{color:var(--ht-link-hover-color)}.handsontable .htUIClearAll a:focus,.handsontable .htUISelectAll a:focus{outline:1px solid var(--ht-link-hover-color)}.handsontable .htUIMultipleSelect .ht_master .wtHolder{overflow:auto}.handsontable .htUIMultipleSelect .ht_master .wtHolder .htCore,.handsontable .htUIMultipleSelect .ht_master .wtHolder .wtHider,.handsontable .htUIMultipleSelect .ht_master .wtHolder td,.handsontable .htUIMultipleSelect .ht_master .wtHolder tr{background:none}.handsontable .htUIInput.htUIButton{cursor:pointer;display:inline-block}.handsontable .htUIInput.htUIButtonOK{margin-inline-end:calc(var(--ht-gap-size, 2px)*2);margin-inline-start:0}.handsontable .htCommentCell{position:relative}.handsontable .htCommentCell:after{border-inline-end:none;border-inline-start:var(--ht-comments-indicator-size,4px) solid transparent;border-top:var(--ht-comments-indicator-size,4px) solid var(--ht-comments-indicator-color,#1a42e8);content:"";display:block;inset-inline-end:0;inset-inline-start:unset;position:absolute;top:0}.htCommentsContainer .htComments{display:none;position:absolute;z-index:1059}.htCommentsContainer .htCommentTextArea{-webkit-appearance:none;background-color:var(--ht-comments-textarea-background-color,#fff);border:var(--ht-comments-textarea-border-width,1px) solid var(--ht-comments-textarea-border-color,transparent);border-inline-start:var(--ht-comments-textarea-border-width,1px) solid var(--ht-comments-textarea-border-color,#1a42e8);box-shadow:var(--ht-menu-shadow-x,0) var(--ht-menu-shadow-y,0) var(--ht-menu-shadow-blur,8px) color-mix(in srgb,var(--ht-menu-shadow-color,#000) var(--ht-menu-shadow-opacity,100%),transparent);box-sizing:border-box;color:var(--ht-comments-textarea-foreground-color);font-family:var(--ht-font-family),-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:var(--ht-font-size);font-weight:var(--ht-font-weight);height:88px;line-height:var(--ht-line-height);margin:0 -1px;outline:0!important;padding:var(--ht-comments-textarea-vertical-padding) var(--ht-comments-textarea-horizontal-padding);width:240px}.htCommentsContainer .htCommentTextArea:focus{background-color:var(--ht-comments-textarea-focus-background-color,#fff);border:var(--ht-comments-textarea-focus-border-width,1px) solid var(--ht-comments-textarea-focus-border-color,#1a42e8);color:var(--ht-comments-textarea-focus-foreground-color)}.htBorders .wtBorder.ht-border-style-dashed-vertical{background-image:repeating-linear-gradient(to bottom,var(--ht-custom-border-color) 0 5px,transparent 0 10px)}.htBorders .wtBorder.ht-border-style-dashed-horizontal{background-image:repeating-linear-gradient(to right,var(--ht-custom-border-color) 0 5px,transparent 0 10px)}.htBorders .wtBorder.ht-border-style-dotted-horizontal{background-repeat:repeat-x;background-size:calc(var(--ht-custom-border-size)*2) var(--ht-custom-border-size)}.htBorders .wtBorder.ht-border-style-dotted-horizontal,.htBorders .wtBorder.ht-border-style-dotted-vertical{background-image:radial-gradient(circle,var(--ht-custom-border-color) calc(var(--ht-custom-border-size)/2),transparent 0)}.htBorders .wtBorder.ht-border-style-dotted-vertical{background-repeat:repeat-y;background-size:var(--ht-custom-border-size) calc(var(--ht-custom-border-size)*2)}.handsontable .columnSorting:not(.indicatorDisabled){position:relative}.handsontable .columnSorting:not(.indicatorDisabled).sortAction{min-width:calc(var(--ht-icon-size, 16px) + 8px)}.handsontable .columnSorting:not(.indicatorDisabled).sortAction.ascending,.handsontable .columnSorting:not(.indicatorDisabled).sortAction.descending{max-width:calc(100% - var(--ht-icon-size, 16px)*2 - var(--ht-gap-size, 4px) - 3px)!important;padding-inline-end:calc(var(--ht-icon-size, 16px) + 2px)}.handsontable .columnSorting:not(.indicatorDisabled).sortAction:hover{cursor:pointer;text-decoration:none}.handsontable .columnSorting:not(.indicatorDisabled).sortAction:before{content:"";display:block;position:absolute;right:2px;text-align:right;top:50%;transform:translateY(-50%);width:var(--ht-icon-size,16px)}.handsontable .htRight .columnSorting.sortAction.ascending,.handsontable .htRight .columnSorting.sortAction.descending{padding-inline-end:0;padding-inline-start:calc(var(--ht-icon-size, 16px) + 2px)}.handsontable .htRight .columnSorting.sortAction:before,[dir=rtl] .handsontable .columnSorting.sortAction:before{left:2px;right:auto;text-align:left}[dir=rtl] .handsontable .htRight .columnSorting.sortAction.ascending,[dir=rtl] .handsontable .htRight .columnSorting.sortAction.descending{padding-inline-end:calc(var(--ht-icon-size, 16px) + 2px);padding-inline-start:0}[dir=rtl] .handsontable .htLeft .columnSorting.sortAction.ascending,[dir=rtl] .handsontable .htLeft .columnSorting.sortAction.descending{padding-inline-end:0;padding-inline-start:calc(var(--ht-icon-size, 16px) + 2px)}[dir=rtl] .handsontable .htLeft .columnSorting.sortAction:before{left:auto;right:2px;text-align:right}.htGhostTable .htCore span.colHeader.columnSorting:not(.indicatorDisabled):before{content:"*";display:inline-block;padding-inline-end:calc(var(--ht-icon-size, 16px) + 2px);position:relative}.handsontable .colHeader.columnSorting:after{content:"";display:block;font-size:8px;margin-top:4px;position:absolute;right:0;text-align:right;top:50%;transform:translateY(-50%);width:8px}.handsontable .colHeader.columnSorting[class*=" sort-"]:after,.handsontable .colHeader.columnSorting[class^=sort-]:after{content:"+"}.handsontable .colHeader.columnSorting.sort-1:after{content:"1"}.handsontable .colHeader.columnSorting.sort-2:after{content:"2"}.handsontable .colHeader.columnSorting.sort-3:after{content:"3"}.handsontable .colHeader.columnSorting.sort-4:after{content:"4"}.handsontable .colHeader.columnSorting.sort-5:after{content:"5"}.handsontable .colHeader.columnSorting.sort-6:after{content:"6"}.handsontable .colHeader.columnSorting.sort-7:after{content:"7"}.handsontable .htRight .colHeader.columnSorting:after,[dir=rtl] .handsontable .colHeader.columnSorting:after{left:0;right:auto;text-align:left}[dir=rtl] .handsontable .htLeft .colHeader.columnSorting:after{left:auto;right:0;text-align:right}.htGhostTable th div button.changeType+span.colHeader.columnSorting:not(.indicatorDisabled){padding-right:var(--ht-gap-size)}.handsontable .htRowHeaders .ht_master.innerBorderInlineStart~.ht_clone_inline_start td:first-of-type,.handsontable .htRowHeaders .ht_master.innerBorderInlineStart~.ht_clone_top_inline_start_corner th:nth-child(2){border-left:0}.handsontable .ht_clone_top_inline_start_corner th.ht__active_highlight{box-shadow:none}.handsontable .manualColumnResizer{background:none;cursor:col-resize;margin:0;opacity:0;position:absolute;top:0;width:10px;z-index:210}.handsontable .manualColumnResizer:after,.handsontable .manualColumnResizer:before{background:var(--ht-resize-indicator-color);border-radius:2px;content:"";display:block;height:calc(100% - 12px);left:1px;margin-top:.5px;max-height:16px;position:absolute;top:50%;transform:translateY(-50%);width:2px}.handsontable .manualColumnResizer:after{left:auto;right:0}.handsontable .manualColumnResizer.active,.handsontable .manualColumnResizer:hover{opacity:1}.handsontable .manualColumnResizerGuide{border-inline-end:1px solid var(--ht-accent-color);border-inline-start:none;display:none;inset-inline-end:unset;margin-inline-end:unset;margin-inline-start:5px;position:absolute;top:0;width:0}.handsontable .manualColumnResizerGuide.active{display:block;z-index:209}.handsontable .manualRowResizer{background:none;cursor:row-resize;height:10px;left:0;margin:0;opacity:0;position:absolute;z-index:210}.handsontable .manualRowResizer:after,.handsontable .manualRowResizer:before{background:var(--ht-resize-indicator-color);border-radius:2px;content:"";display:block;height:2px;left:50%;max-width:16px;position:absolute;top:1px;transform:translateX(-50%);width:calc(100% - 12px)}.handsontable .manualRowResizer:after{bottom:0;top:auto}.handsontable .manualRowResizer.active,.handsontable .manualRowResizer:hover{opacity:1}.handsontable .manualRowResizerGuide{border-bottom:1px solid var(--ht-accent-color);border-top:none;bottom:0;display:none;height:0;left:0;margin-top:5px;position:absolute}.handsontable .manualRowResizerGuide.active{display:block;z-index:209}.handsontable tbody td[rowspan][class*=area][class*=highlight]:not([class*=fullySelectedMergedCell]):before{opacity:0}.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-0]:before,.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-multiple]:before{opacity:.14}.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-1]:before{opacity:.21}.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-2]:before{opacity:.28}.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-3]:before{opacity:.35}.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-4]:before{opacity:.42}.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-5]:before{opacity:.49}.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-6]:before{opacity:.56}.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-7]:before{opacity:.63}.handsontable .ht__manualColumnMove.after-selection--columns thead th.ht__highlight,.handsontable.ht__manualColumnMove.after-selection--columns thead th.ht__highlight{cursor:move;cursor:-moz-grab;cursor:-webkit-grab;cursor:grab}.handsontable .ht__manualColumnMove.on-moving--columns *,.handsontable .ht__manualColumnMove.on-moving--columns thead th.ht__highlight,.handsontable.ht__manualColumnMove.on-moving--columns *,.handsontable.ht__manualColumnMove.on-moving--columns thead th.ht__highlight{cursor:move;cursor:-moz-grabbing;cursor:-webkit-grabbing;cursor:grabbing}.handsontable .ht__manualColumnMove.on-moving--columns .manualColumnResizer,.handsontable.ht__manualColumnMove.on-moving--columns .manualColumnResizer{display:none}.handsontable .ht__manualColumnMove--backlight,.handsontable .ht__manualColumnMove--guideline,.handsontable.ht__manualColumnMove--backlight,.handsontable.ht__manualColumnMove--guideline{display:none;height:100%;position:absolute}.handsontable .ht__manualColumnMove--guideline,.handsontable.ht__manualColumnMove--guideline{background:var(--ht-move-indicator-color,#1a42e8);margin-inline-end:0;margin-inline-start:-.5px;top:0;width:1px;z-index:205}.handsontable .ht__manualColumnMove--backlight,.handsontable.ht__manualColumnMove--backlight{background:color-mix(in srgb,var(--ht-move-backlight-color) var(--ht-move-backlight-opacity,100%),transparent);display:none;pointer-events:none;z-index:205}.handsontable .on-moving--columns .ht__manualColumnMove--backlight,.handsontable .on-moving--columns.show-ui .ht__manualColumnMove--guideline,.handsontable.on-moving--columns .ht__manualColumnMove--backlight,.handsontable.on-moving--columns.show-ui .ht__manualColumnMove--guideline{display:block}.handsontable .wtHider{position:relative}.handsontable .ht__manualRowMove.after-selection--rows tbody th.ht__highlight,.handsontable.ht__manualRowMove.after-selection--rows tbody th.ht__highlight{cursor:move;cursor:-moz-grab;cursor:-webkit-grab;cursor:grab}.handsontable .ht__manualRowMove.on-moving--rows *,.handsontable .ht__manualRowMove.on-moving--rows tbody th.ht__highlight,.handsontable.ht__manualRowMove.on-moving--rows *,.handsontable.ht__manualRowMove.on-moving--rows tbody th.ht__highlight{cursor:move;cursor:-moz-grabbing;cursor:-webkit-grabbing;cursor:grabbing}.handsontable .ht__manualRowMove.on-moving--rows .manualRowResizer,.handsontable.ht__manualRowMove.on-moving--rows .manualRowResizer{display:none}.handsontable .ht__manualRowMove--backlight,.handsontable .ht__manualRowMove--guideline,.handsontable.ht__manualRowMove--backlight,.handsontable.ht__manualRowMove--guideline{display:none;position:absolute;width:100%}.handsontable .ht__manualRowMove--guideline,.handsontable.ht__manualRowMove--guideline{border-top:1px solid var(--ht-move-indicator-color);left:0;z-index:205}.handsontable .ht__manualRowMove--backlight,.handsontable.ht__manualRowMove--backlight{background:color-mix(in srgb,var(--ht-move-backlight-color) var(--ht-move-backlight-opacity,100%),transparent);display:none;pointer-events:none;z-index:205}.handsontable .on-moving--rows .ht__manualRowMove--backlight,.handsontable .on-moving--rows.show-ui .ht__manualRowMove--guideline,.handsontable.on-moving--rows .ht__manualRowMove--backlight,.handsontable.on-moving--rows.show-ui .ht__manualRowMove--guideline{display:block}.ht-dialog{border:1px solid var(--ht-border-color);border-radius:var(--ht-wrapper-border-radius);box-sizing:border-box!important;display:none;font-size:var(--ht-font-size);height:100%;left:0;letter-spacing:var(--ht-letter-spacing);line-height:var(--ht-line-height);opacity:0;overflow-y:auto;position:absolute;top:0;width:100%;z-index:1060}.ht-dialog[dir=rtl]{left:auto;right:0}.ht-dialog:focus{border:1px solid var(--ht-accent-color);outline:none}.ht-dialog:has(.htFocusCatcher:focus){border:1px solid var(--ht-accent-color);outline:none}.ht-dialog *{box-sizing:border-box!important}.ht-dialog--background-solid{background-color:var(--ht-dialog-solid-background-color)}.ht-dialog--background-semi-transparent{background-color:color-mix(in srgb,var(--ht-dialog-semi-transparent-background-color) var(--ht-dialog-semi-transparent-background-opacity,100%),transparent)}.ht-dialog--animation{transition:opacity var(--ht-table-transition) ease-in-out}.ht-dialog--show{opacity:1}.ht-dialog__content-wrapper{align-items:center;border-radius:var(--ht-wrapper-border-radius);display:flex;justify-content:center;min-height:100%;padding:calc(var(--ht-gap-size)*4);width:100%}.ht-dialog__content{color:var(--ht-foreground-color);max-width:480px;padding:var(--ht-dialog-content-padding-horizontal) var(--ht-dialog-content-padding-vertical);position:relative}.ht-dialog__content--background{background-color:var(--ht-dialog-content-background-color);border-radius:var(--ht-dialog-content-border-radius);box-shadow:var(--ht-shadow-x,0) var(--ht-shadow-y,0) var(--ht-shadow-blur,8px) color-mix(in srgb,var(--ht-shadow-color,#000) var(--ht-shadow-opacity,100%),transparent)}.ht-dialog--confirm .ht-dialog__content-wrapper{padding:calc(var(--ht-gap-size)*2);text-align:center}.ht-dialog--confirm .ht-dialog__content-wrapper-inner{align-items:center;border-radius:var(--ht-wrapper-border-radius);display:flex;flex-direction:column;justify-content:center;max-width:480px;padding:calc(var(--ht-gap-size)*2)}.ht-dialog--confirm .ht-dialog__content-wrapper-inner--background{background-color:var(--ht-dialog-content-background-color);border-radius:var(--ht-dialog-content-border-radius);box-shadow:var(--ht-shadow-x,0) var(--ht-shadow-y,0) var(--ht-shadow-blur,8px) color-mix(in srgb,var(--ht-shadow-color,#000) var(--ht-shadow-opacity,100%),transparent)}.ht-dialog--confirm .ht-dialog__content-wrapper-inner:focus{box-shadow:0 0 0 1px var(--ht-accent-color);outline:none}.ht-dialog--confirm .ht-dialog__content{align-items:center;display:flex;flex-direction:column;gap:var(--ht-gap-size);justify-content:center}.ht-dialog--confirm .ht-dialog__content:has(.ht-dialog__buttons){gap:calc(var(--ht-gap-size)*2)}.ht-dialog--confirm .ht-dialog__title{font-size:var(--ht-font-size);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height);margin:0}.ht-dialog--confirm .ht-dialog__description{color:var(--ht-foreground-secondary-color);font-size:var(--ht-font-size-small);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height-small);margin:0}.ht-dialog--confirm .ht-dialog__buttons{display:flex;flex-direction:row;flex-wrap:wrap;gap:calc(var(--ht-gap-size)*2);justify-content:center}.handsontable.ht-pagination{background:var(--ht-pagination-bar-background-color);border:1px solid var(--ht-wrapper-border-color);border-radius:0 0 var(--ht-wrapper-border-radius) var(--ht-wrapper-border-radius);border-top:1px solid transparent;box-sizing:border-box;color:var(--ht-pagination-bar-foreground-color);font-size:var(--ht-font-size);line-height:var(--ht-line-height);overflow-x:auto}.handsontable.ht-pagination--bordered{border-top-color:var(--ht-wrapper-border-color)}.handsontable.ht-pagination .ht-pagination__inner{align-items:center;border-radius:0 0 var(--ht-wrapper-border-radius) var(--ht-wrapper-border-radius);display:flex;flex-wrap:wrap;gap:calc(var(--ht-gap-size)*4);justify-content:space-between;min-width:230px;padding-block:var(--ht-pagination-bar-vertical-padding);padding-inline:var(--ht-pagination-bar-horizontal-padding)}.handsontable.ht-pagination .ht-page-size-section{align-items:center;display:flex;gap:calc(var(--ht-gap-size)*2)}.handsontable.ht-pagination .ht-page-size-section__label{white-space:nowrap}.handsontable.ht-pagination .ht-page-size-section__select-wrapper{border-radius:var(--ht-input-border-radius);position:relative}.handsontable.ht-pagination .ht-page-size-section__select-wrapper select{-webkit-appearance:none;background-color:var(--ht-input-background-color);border:1px solid var(--ht-input-border-color);border-radius:var(--ht-input-border-radius);color:var(--ht-input-foreground-color);cursor:pointer;font-size:inherit;line-height:calc(var(--ht-line-height) - 4px);padding-inline-end:calc(var(--ht-gap-size) + var(--ht-icon-size));padding-bottom:var(--ht-gap-size);padding-inline-start:var(--ht-gap-size);padding-top:var(--ht-gap-size)}.handsontable.ht-pagination .ht-page-size-section__select-wrapper select:disabled{background-color:var(--ht-input-disabled-background-color);border-color:var(--ht-input-disabled-border-color);color:var(--ht-input-disabled-foreground-color);cursor:default;opacity:.4}.handsontable.ht-pagination .ht-page-size-section__select-wrapper select:hover:not(:disabled){background-color:var(--ht-input-hover-background-color);border-color:var(--ht-input-hover-border-color);color:var(--ht-input-hover-foreground-color)}.handsontable.ht-pagination .ht-page-size-section__select-wrapper select:focus{background-color:var(--ht-input-focus-background-color);border-color:var(--ht-input-focus-border-color);color:var(--ht-input-focus-foreground-color);outline:none}.handsontable.ht-pagination .ht-page-size-section__select-wrapper:after{background-color:var(--ht-foreground-color);content:"";display:block;inset-block-end:50%;inset-inline-end:var(--ht-gap-size);pointer-events:none;position:absolute;transform:translateY(50%)}.handsontable.ht-pagination .ht-page-counter-section{margin-inline-end:auto}.handsontable.ht-pagination .ht-page-navigation-section{align-items:center;display:flex;gap:1px}.handsontable.ht-pagination .ht-page-navigation-section__button{background-color:var(--ht-pagination-bar-background-color);border:1px solid var(--ht-pagination-bar-background-color);border-radius:var(--ht-icon-button-large-border-radius);color:var(--ht-secondary-button-foreground-color);cursor:pointer;font-size:inherit;padding:var(--ht-icon-button-large-padding)}.handsontable.ht-pagination .ht-page-navigation-section__button:before{content:"";display:block}.handsontable.ht-pagination .ht-page-navigation-section__button--disabled{color:var(--ht-secondary-button-disabled-foreground-color);cursor:default;pointer-events:none}.handsontable.ht-pagination .ht-page-navigation-section__button:hover:not(:disabled){background-color:var(--ht-secondary-button-hover-background-color)}.handsontable.ht-pagination .ht-page-navigation-section__button:focus{border:1px solid var(--ht-accent-color);outline:none}.handsontable.ht-pagination .ht-page-navigation-section__label{min-width:100px;text-align:center;white-space:nowrap}.handsontable.ht-wrapper.htPagination,.handsontable.ht-wrapper.htPagination .htCore{border-end-end-radius:0;border-end-start-radius:0}.handsontable.ht-wrapper.htPagination .htCore tbody tr:last-child td:first-child,.handsontable.ht-wrapper.htPagination .htCore tbody tr:last-child th:first-child,.handsontable.ht-wrapper.htPagination .htCore thead tr:last-child th:first-child{border-end-start-radius:0!important}.handsontable.ht-wrapper.htPagination .htCore tbody tr:last-child td:last-child,.handsontable.ht-wrapper.htPagination .htCore tbody tr:last-child th:last-child,.handsontable.ht-wrapper.htPagination .htCore thead tr:last-child th:last-child{border-end-end-radius:0!important}.ht-loading__icon-svg{animation:ht-loading-spin 1s linear infinite;color:var(--ht-accent-color);display:block;height:var(--ht-icon-size);transform-origin:50% 50%;width:var(--ht-icon-size)}.ht-loading__content{align-items:center;display:flex;gap:calc(var(--ht-gap-size)*2)}.ht-loading__title{font-size:var(--ht-font-size);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height);margin:0}.ht-loading__description{color:var(--ht-foreground-secondary-color);font-size:var(--ht-font-size-small);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height-small);margin:0}@keyframes ht-loading-spin{to{transform:rotate(1turn)}}.ht-empty-data-state{background-color:var(--ht-background-color);border:1px solid var(--ht-border-color);border-radius:var(--ht-wrapper-border-radius);box-sizing:border-box;display:none;left:0;overflow-y:auto;position:absolute;width:100%;z-index:999}.ht-empty-data-state *{box-sizing:border-box!important}.ht-empty-data-state__content-wrapper{min-height:100%;text-align:center;width:100%}.ht-empty-data-state__content-wrapper,.ht-empty-data-state__content-wrapper-inner{align-items:center;border-radius:var(--ht-wrapper-border-radius);display:flex;justify-content:center;padding:calc(var(--ht-gap-size)*2)}.ht-empty-data-state__content-wrapper-inner{flex-direction:column;max-width:480px}.ht-empty-data-state__content-wrapper-inner:focus{box-shadow:0 0 0 1px var(--ht-accent-color);outline:none}.ht-empty-data-state__content{align-items:center;display:flex;flex-direction:column;gap:var(--ht-gap-size);justify-content:center}.ht-empty-data-state__title{font-size:var(--ht-font-size);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height);margin:0}.ht-empty-data-state__description{color:var(--ht-foreground-secondary-color);font-size:var(--ht-font-size-small);font-weight:var(--ht-font-weight);line-height:var(--ht-line-height-small);margin:0}.ht-empty-data-state__buttons{display:flex;flex-direction:row;flex-wrap:wrap;gap:calc(var(--ht-gap-size)*2);justify-content:center}.ht-empty-data-state__buttons--has-buttons{margin-top:calc(var(--ht-gap-size)*2)}.ht-empty-data-state--disable-top-border{border-start-end-radius:0;border-start-start-radius:0;border-top-width:0}.ht-empty-data-state--disable-inline-border{border-end-start-radius:0;border-inline-start-width:0;border-start-start-radius:0}.ht-empty-data-state--disable-bottom-border,.ht-empty-data-state:has(~.ht-pagination){border-bottom-width:0;border-end-end-radius:0;border-end-start-radius:0}'},67304(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(23876),s=r(o(34354)),a=o(31100),l=r(o(75269)),h=o(34103),d=o(64428),c=o(36016),u=o(12175);function g(e,t,o){p(e,t),t.set(e,o)}function p(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function f(e,t){return e.get(C(e,t))}function m(e,t,o){return e.set(C(e,t),o),o}function C(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var w=new WeakMap,b=new WeakMap,v=new WeakMap,y=new WeakMap,S=new WeakMap,E=new WeakMap,_=new WeakMap,R=new WeakMap,T=new WeakSet;function M(){return parseInt(this.hot.rootElement.getAttribute((0,u.A11Y_COLCOUNT)()[0]),10)}function I(e){const t=C(T,this,M).call(this)+e;(0,i.setAttribute)(this.hot.rootElement,...(0,u.A11Y_COLCOUNT)(t))}function k(){const e=this.hot.rootElement;this.hasVerticalScroll()?(0,i.addClass)(e,"htHasScrollY"):(0,i.removeClass)(e,"htHasScrollY"),this.isVerticallyScrollableByWindow()?(0,i.addClass)(e,"htVerticallyScrollableByWindow"):(0,i.removeClass)(e,"htVerticallyScrollableByWindow"),this.hasHorizontalScroll()?(0,i.addClass)(e,"htHasScrollX"):(0,i.removeClass)(e,"htHasScrollX"),this.isHorizontallyScrollableByWindow()?(0,i.addClass)(e,"htHorizontallyScrollableByWindow"):(0,i.removeClass)(e,"htHorizontallyScrollableByWindow")}t.default=class{constructor(e){var t,o;p(t=this,o=T),o.add(t),(0,n.default)(this,"hot",void 0),(0,n.default)(this,"eventManager",void 0),(0,n.default)(this,"settings",void 0),(0,n.default)(this,"THEAD",void 0),(0,n.default)(this,"TBODY",void 0),(0,n.default)(this,"_wt",void 0),(0,n.default)(this,"activeWt",void 0),g(this,w,0),g(this,b,0),(0,n.default)(this,"postponedAdjustElementsSize",!1),g(this,v,!1),g(this,y,void 0),g(this,S,void 0),g(this,E,0),g(this,_,0),g(this,R,null),this.hot=e,this.eventManager=new s.default(this.hot),this.settings=this.hot.getSettings(),this.createElements(),this.registerEvents(),this.initializeWalkontable()}render(){if(!this.hot.isRenderSuspended()){const e=this.hot.forceFullRender;this.hot.runHooks("beforeRender",e),this._wt.draw(!e),C(T,this,k).call(this),this.postponedAdjustElementsSize&&(this.postponedAdjustElementsSize=!1,this.adjustElementsSize(!0)),this.hot.runHooks("afterRender",e),this.hot.forceFullRender=!1}}adjustElementsSize(){arguments.length>0&&void 0!==arguments[0]&&arguments[0]?this._wt.wtOverlays.adjustElementsSize():this.postponedAdjustElementsSize=!0}getCellAtCoords(e,t){const o=this._wt.getCell(e,t);return o<0?null:o}scrollViewport(e,t,o){return this._wt.scrollViewport(e,t,o)}scrollViewportHorizontally(e,t){return this._wt.scrollViewportHorizontally(e,t)}scrollViewportVertically(e,t){return this._wt.scrollViewportVertically(e,t)}createElements(){const{rootElement:e,rootDocument:t}=this.hot,o=e.getAttribute("style");o&&e.setAttribute("data-originalstyle",o),(0,i.addClass)(e,"handsontable"),m(S,this,t.createElement("TABLE")),(0,i.addClass)(f(S,this),"htCore"),this.hot.getSettings().tableClassName&&(0,i.addClass)(f(S,this),this.hot.getSettings().tableClassName),this.settings.ariaTags&&((0,i.setAttribute)(f(S,this),[(0,u.A11Y_PRESENTATION)()]),(0,i.setAttribute)(e,[(0,u.A11Y_TREEGRID)(),(0,u.A11Y_ROWCOUNT)(-1),(0,u.A11Y_COLCOUNT)(this.hot.countCols()),(0,u.A11Y_MULTISELECTABLE)()])),this.THEAD=t.createElement("THEAD"),f(S,this).appendChild(this.THEAD),this.TBODY=t.createElement("TBODY"),f(S,this).appendChild(this.TBODY),this.hot.table=f(S,this),this.hot.container.insertBefore(f(S,this),this.hot.container.firstChild)}registerEvents(){const{rootWrapperElement:e,rootElement:t,rootDocument:o,selection:r,rootWindow:n}=this.hot,s=o.documentElement;this.eventManager.addEventListener(t,"mousedown",e=>{m(v,this,!0),this.isTextSelectionAllowed(e.target)||((0,i.clearTextSelection)(n),e.preventDefault(),n.focus())}),this.eventManager.addEventListener(t,"mouseup",()=>{m(v,this,!1)}),this.eventManager.addEventListener(t,"mousemove",e=>{f(v,this)&&!this.isTextSelectionAllowed(e.target)&&(this.settings.fragmentSelection&&(0,i.clearTextSelection)(n),e.preventDefault())}),this.eventManager.addEventListener(s,"keyup",e=>{r.isInProgress()&&!e.shiftKey&&r.finish()}),this.eventManager.addEventListener(s,"mouseup",n=>{r.isInProgress()&&(0,a.isLeftClick)(n)&&r.finish(),m(y,this,!1);const s=(0,i.isOutsideInput)(o.activeElement);(0,i.isInput)(o.activeElement)&&!s||!s&&(r.isSelected()||r.isSelectedByAnyHeader()||(null!=e?e:t).contains(n.target)||(0,a.isRightClick)(n))||this.hot.unlisten()}),this.eventManager.addEventListener(s,"contextmenu",e=>{r.isInProgress()&&(0,a.isRightClick)(e)&&(r.finish(),m(y,this,!1))}),this.eventManager.addEventListener(s,"touchend",()=>{r.isInProgress()&&r.finish(),m(y,this,!1)}),this.eventManager.addEventListener(s,"mousedown",e=>{const r=e.target,n=e.x||e.clientX,a=e.y||e.clientY;let l=e.target;if(f(y,this)||!t||!this.hot.view)return;const{holder:h}=this._wt.wtTable;if(l===h){const e=(0,i.getScrollbarWidth)(o);if(o.elementFromPoint(n+e,a)!==h||o.elementFromPoint(n,a+e)!==h)return}else for(;l!==s;){if(null===l){if(e.isTargetWebComponent)break;return}if(l===t)return;l=l.parentNode}("function"==typeof this.settings.outsideClickDeselects?this.settings.outsideClickDeselects(r):this.settings.outsideClickDeselects)?this.hot.deselectCell():this.hot.destroyEditor(!1,!1)});let l=(0,i.getParentWindow)(n);for(;null!==l;)this.eventManager.addEventListener(l.document.documentElement,"click",()=>{this.hot.unlisten()}),l=(0,i.getParentWindow)(l);this.eventManager.addEventListener(f(S,this),"selectstart",e=>{this.settings.fragmentSelection||(0,i.isInput)(e.target)||e.preventDefault()})}translateFromRenderableToVisualCoords(e){let{row:t,col:o}=e;return this.hot._createCellCoords(...this.translateFromRenderableToVisualIndex(t,o))}translateFromRenderableToVisualIndex(e,t){let o=e>=0?this.hot.rowIndexMapper.getVisualFromRenderableIndex(e):e,r=t>=0?this.hot.columnIndexMapper.getVisualFromRenderableIndex(t):t;return null===o&&(o=e),null===r&&(r=t),[o,r]}countRenderableIndexes(e,t){const o=Math.min(e.getNotTrimmedIndexesLength(),t),r=e.getNearestNotHiddenIndex(o-1,-1);return null===r?0:e.getRenderableFromVisualIndex(r)+1}countRenderableColumns(){return this.countRenderableIndexes(this.hot.columnIndexMapper,this.settings.maxCols)}countRenderableRows(){return this.countRenderableIndexes(this.hot.rowIndexMapper,this.settings.maxRows)}countNotHiddenRowIndexes(e,t){return this.countNotHiddenIndexes(e,t,this.hot.rowIndexMapper,this.countRenderableRows())}countNotHiddenColumnIndexes(e,t){return this.countNotHiddenIndexes(e,t,this.hot.columnIndexMapper,this.countRenderableColumns())}countNotHiddenIndexes(e,t,o,r){if(isNaN(e)||e<0)return 0;const n=o.getNearestNotHiddenIndex(e,t),i=o.getRenderableFromVisualIndex(n);if(!Number.isInteger(i))return 0;let s=0;return t<0?s=i+1:t>0&&(s=r-i),s}countNotHiddenFixedColumnsStart(){const e=this.hot.countCols(),t=Math.min(parseInt(this.settings.fixedColumnsStart,10),e)-1;return this.countNotHiddenColumnIndexes(t,-1)}countNotHiddenFixedRowsTop(){const e=this.hot.countRows(),t=Math.min(parseInt(this.settings.fixedRowsTop,10),e)-1;return this.countNotHiddenRowIndexes(t,-1)}countNotHiddenFixedRowsBottom(){const e=this.hot.countRows(),t=Math.max(e-parseInt(this.settings.fixedRowsBottom,10),0);return this.countNotHiddenRowIndexes(t,1)}countRenderableColumnsInRange(e,t){let o=0;for(let r=e;r<=t;r++)null!==this.hot.columnIndexMapper.getRenderableFromVisualIndex(r)&&(o+=1);return o}countRenderableRowsInRange(e,t){let o=0;for(let r=e;r<=t;r++)null!==this.hot.rowIndexMapper.getRenderableFromVisualIndex(r)&&(o+=1);return o}addClassNameToLicenseElement(e){var t;const o=null===(t=this.hot.rootElement.parentNode)||void 0===t?void 0:t.querySelector(".hot-display-license-info");o&&(0,i.addClass)(o,e)}removeClassNameFromLicenseElement(e){var t;const o=null===(t=this.hot.rootElement.parentNode)||void 0===t?void 0:t.querySelector(".hot-display-license-info");o&&(0,i.removeClass)(o,e)}isMainTableNotFullyCoveredByOverlays(){const e=this.countNotHiddenFixedRowsTop()+this.countNotHiddenFixedRowsBottom(),t=this.countNotHiddenFixedColumnsStart();return this.hot.countRenderedRows()>e&&this.hot.countRenderedCols()>t}initializeWalkontable(){const e={ariaTags:this.settings.ariaTags,rtlMode:this.hot.isRtl(),externalRowCalculator:this.hot.getPlugin("autoRowSize")&&this.hot.getPlugin("autoRowSize").isEnabled(),table:f(S,this),isDataViewInstance:()=>(0,d.isRootInstance)(this.hot),preventOverflow:()=>this.settings.preventOverflow,preventWheel:()=>this.settings.preventWheel,viewportColumnRenderingThreshold:()=>this.settings.viewportColumnRenderingThreshold,viewportRowRenderingThreshold:()=>this.settings.viewportRowRenderingThreshold,data:(e,t)=>this.hot.getDataAtCell(...this.translateFromRenderableToVisualIndex(e,t)),totalRows:()=>this.countRenderableRows(),totalColumns:()=>this.countRenderableColumns(),fixedColumnsStart:()=>this.countNotHiddenFixedColumnsStart(),fixedRowsTop:()=>this.countNotHiddenFixedRowsTop(),fixedRowsBottom:()=>this.countNotHiddenFixedRowsBottom(),shouldRenderInlineStartOverlay:()=>this.settings.fixedColumnsStart>0||e.rowHeaders().length>0,shouldRenderTopOverlay:()=>this.settings.fixedRowsTop>0||e.columnHeaders().length>0,shouldRenderBottomOverlay:()=>this.settings.fixedRowsBottom>0,minSpareRows:()=>this.settings.minSpareRows,renderAllRows:this.settings.renderAllRows,renderAllColumns:this.settings.renderAllColumns,rowHeaders:()=>{const e=[];return this.hot.hasRowHeaders()&&e.push((e,t)=>{const o=e>=0?this.hot.rowIndexMapper.getVisualFromRenderableIndex(e):e;this.appendRowHeader(o,t)}),this.hot.runHooks("afterGetRowHeaderRenderers",e),m(b,this,e.length),this.hot.getSettings().ariaTags&&C(T,this,M).call(this)===this.hot.countCols()&&C(T,this,I).call(this,f(b,this)),e},columnHeaders:()=>{const e=[];return this.hot.hasColHeaders()&&e.push((e,t)=>{const o=e>=0?this.hot.columnIndexMapper.getVisualFromRenderableIndex(e):e;this.appendColHeader(o,t)}),this.hot.runHooks("afterGetColumnHeaderRenderers",e),m(w,this,e.length),e},columnWidth:e=>{const t=this.hot.columnIndexMapper.getVisualFromRenderableIndex(e);return this.hot.getColWidth(null===t?e:t)},rowHeight:e=>{const t=this.hot.rowIndexMapper.getVisualFromRenderableIndex(e);return this.hot.getRowHeight(null===t?e:t)},rowHeightByOverlayName:(e,t)=>{const o=this.hot.rowIndexMapper.getVisualFromRenderableIndex(e),r=null===o?e:o;return this.hot.runHooks("modifyRowHeightByOverlayName",this.hot.getRowHeight(r),r,t)},cellRenderer:(e,t,o)=>{const[r,n]=this.translateFromRenderableToVisualIndex(e,t),i=this.hot.runHooks("modifyGetCellCoords",r,n,!1,"meta");let s=r,a=n;Array.isArray(i)&&([s,a]=i);const l=this.hot.getCellMeta(s,a),h=this.hot.colToProp(a);let d=this.hot.getDataAtRowProp(s,h);this.hot.hasHook("beforeValueRender")&&(d=this.hot.runHooks("beforeValueRender",d,l));const c=this.hot.getCellRenderer(l);let u=d;"function"==typeof l.valueFormatter?u=l.valueFormatter(u,l):"function"==typeof c.valueFormatter&&(u=c.valueFormatter.call(l,u,l)),this.hot.runHooks("beforeRenderer",o,r,n,h,d,l);const g=[this.hot,o,r,n,h,u,l];c(...g),l._isBaseRendererCalled||this.hot.getCellRenderer({renderer:"base"})(...g),this.hot.runHooks("afterRenderer",o,r,n,h,d,l),l._isBaseRendererCalled=!1},selections:this.hot.selection.highlight,hideBorderOnMouseDownOver:()=>this.settings.fragmentSelection,onWindowResize:()=>{this.hot&&!this.hot.isDestroyed&&this.hot.refreshDimensions()},onContainerElementResize:()=>{this.hot&&!this.hot.isDestroyed&&(0,i.isVisible)(this.hot.rootElement)&&this.hot.refreshDimensions()},onCellMouseDown:(e,t,o,r)=>{const n=this.translateFromRenderableToVisualCoords(t),i={row:!1,column:!1,cell:!1};this.hot.listen(),this.activeWt=r,m(y,this,!0),m(R,this,{x:e.clientX,y:e.clientY}),this.hot.runHooks("beforeOnCellMouseDown",e,n,o,i),(0,a.isImmediatePropagationStopped)(e)||((0,h.handleMouseEvent)(e,{coords:n,selection:this.hot.selection,controller:i,cellCoordsFactory:(e,t)=>this.hot._createCellCoords(e,t)}),this.hot.runHooks("afterOnCellMouseDown",e,n,o),this.activeWt=this._wt)},onCellContextMenu:(e,t,o,r)=>{const n=this.translateFromRenderableToVisualCoords(t);this.activeWt=r,m(y,this,!1),this.hot.selection.isInProgress()&&this.hot.selection.finish(),this.hot.runHooks("beforeOnCellContextMenu",e,n,o),(0,a.isImmediatePropagationStopped)(e)||(this.hot.runHooks("afterOnCellContextMenu",e,n,o),this.activeWt=this._wt)},onCellMouseOut:(e,t,o,r)=>{const n=this.translateFromRenderableToVisualCoords(t);this.activeWt=r,this.hot.runHooks("beforeOnCellMouseOut",e,n,o),(0,a.isImmediatePropagationStopped)(e)||(this.hot.runHooks("afterOnCellMouseOut",e,n,o),this.activeWt=this._wt)},onCellMouseOver:(e,t,o,r)=>{const n=this.translateFromRenderableToVisualCoords(t),i={row:!1,column:!1,cell:!1};this.activeWt=r,this.hot.runHooks("beforeOnCellMouseOver",e,n,o,i),(0,a.isImmediatePropagationStopped)(e)||(!f(y,this)||f(R,this)&&f(R,this).x===e.clientX&&f(R,this).y===e.clientY||(0,h.handleMouseEvent)(e,{coords:n,selection:this.hot.selection,controller:i,cellCoordsFactory:(e,t)=>this.hot._createCellCoords(e,t)}),this.hot.runHooks("afterOnCellMouseOver",e,n,o),this.activeWt=this._wt,m(R,this,null))},onCellMouseUp:(e,t,o,r)=>{const n=this.translateFromRenderableToVisualCoords(t);this.activeWt=r,this.hot.runHooks("beforeOnCellMouseUp",e,n,o),(0,a.isImmediatePropagationStopped)(e)||this.hot.isDestroyed||((0,h.handleMouseEvent)(e,{coords:n,selection:this.hot.selection,cellRangeMapper:(0,c.resolveWithInstance)(this.hot,"cellRangeMapper")}),this.hot.runHooks("afterOnCellMouseUp",e,n,o),this.activeWt=this._wt)},onCellCornerMouseDown:e=>{e.preventDefault(),this.hot.runHooks("afterOnCellCornerMouseDown",e)},onCellCornerDblClick:e=>{e.preventDefault(),this.hot.runHooks("afterOnCellCornerDblClick",e)},beforeDraw:(e,t)=>this.beforeRender(e,t),onDraw:e=>this.afterRender(e),onBeforeViewportScrollVertically:(e,t)=>{const o=this.hot.rowIndexMapper,r=e<0;let n=e;return r||(n=o.getVisualFromRenderableIndex(e),null!==n)?(n=this.hot.runHooks("beforeViewportScrollVertically",n,t),this.hot.runHooks("beforeViewportScroll"),r?n:o.getRenderableFromVisualIndex(n)):e},onBeforeViewportScrollHorizontally:(e,t)=>{const o=this.hot.columnIndexMapper,r=e<0;let n=e;return r||(n=o.getVisualFromRenderableIndex(e),null!==n)?(n=this.hot.runHooks("beforeViewportScrollHorizontally",n,t),this.hot.runHooks("beforeViewportScroll"),r?n:o.getRenderableFromVisualIndex(n)):e},onScrollVertically:()=>{this.hot.runHooks("afterScrollVertically"),this.hot.runHooks("afterScroll")},onScrollHorizontally:()=>{this.hot.runHooks("afterScrollHorizontally"),this.hot.runHooks("afterScroll")},onBeforeRemoveCellClassNames:()=>this.hot.runHooks("beforeRemoveCellClassNames"),onBeforeHighlightingRowHeader:(e,t,o)=>{const r=this.hot.rowIndexMapper,n=e<0;let i=e;n||(i=r.getVisualFromRenderableIndex(e));const s=this.hot.runHooks("beforeHighlightingRowHeader",i,t,o);return n?s:r.getRenderableFromVisualIndex(r.getNearestNotHiddenIndex(s,1))},onBeforeHighlightingColumnHeader:(e,t,o)=>{const r=this.hot.columnIndexMapper,n=e<0;let i=e;n||(i=r.getVisualFromRenderableIndex(e));const s=this.hot.runHooks("beforeHighlightingColumnHeader",i,t,o);return n?s:r.getRenderableFromVisualIndex(r.getNearestNotHiddenIndex(s,1))},onAfterDrawSelection:(e,t,o)=>{let r;const[n,i]=this.translateFromRenderableToVisualIndex(e,t),s=this.hot.selection.getSelectedRange();if(s.size()>0){const e=s.peekByIndex(null!=o?o:0);r=[e.from.row,e.from.col,e.to.row,e.to.col]}return this.hot.runHooks("afterDrawSelection",n,i,r,o)},onBeforeDrawBorders:(e,t)=>{const[o,r,n,i]=e,s=[this.hot.rowIndexMapper.getVisualFromRenderableIndex(o),this.hot.columnIndexMapper.getVisualFromRenderableIndex(r),this.hot.rowIndexMapper.getVisualFromRenderableIndex(n),this.hot.columnIndexMapper.getVisualFromRenderableIndex(i)];return this.hot.runHooks("beforeDrawBorders",s,t)},onBeforeTouchScroll:()=>this.hot.runHooks("beforeTouchScroll"),onAfterMomentumScroll:()=>this.hot.runHooks("afterMomentumScroll"),onModifyRowHeaderWidth:e=>this.hot.runHooks("modifyRowHeaderWidth",e),onModifyGetCellCoords:(e,t,o,r)=>{const n=this.hot.rowIndexMapper,i=this.hot.columnIndexMapper,s=t>=0?i.getVisualFromRenderableIndex(t):t,a=e>=0?n.getVisualFromRenderableIndex(e):e,l=this.hot.runHooks("modifyGetCellCoords",a,s,o,r);if(Array.isArray(l)){const[e,t,o,r]=l;return[e>=0?n.getRenderableFromVisualIndex(n.getNearestNotHiddenIndex(e,1)):e,t>=0?i.getRenderableFromVisualIndex(i.getNearestNotHiddenIndex(t,1)):t,o>=0?n.getRenderableFromVisualIndex(n.getNearestNotHiddenIndex(o,-1)):o,r>=0?i.getRenderableFromVisualIndex(i.getNearestNotHiddenIndex(r,-1)):r]}},onModifyGetCoordsElement:(e,t)=>{const o=this.hot.rowIndexMapper,r=this.hot.columnIndexMapper,n=t>=0?r.getVisualFromRenderableIndex(t):t,i=e>=0?o.getVisualFromRenderableIndex(e):e,s=this.hot.runHooks("modifyGetCoordsElement",i,n);if(Array.isArray(s)){const[e,t]=s;return[e>=0?o.getRenderableFromVisualIndex(o.getNearestNotHiddenIndex(e,1)):e,t>=0?r.getRenderableFromVisualIndex(r.getNearestNotHiddenIndex(t,1)):t]}},viewportRowCalculatorOverride:e=>{let t=this.settings.viewportRowRenderingOffset;if("auto"===t&&this.settings.fixedRowsTop&&(t=10),t>0||"auto"===t){const o=this.countRenderableRows(),r=e.startRow,n=e.endRow;if("number"==typeof t)e.startRow=Math.max(r-t,0),e.endRow=Math.min(n+t,o-1);else if("auto"===t){const t=Math.max(1,Math.ceil(n/o*12));e.startRow=Math.max(r-t,0),e.endRow=Math.min(n+t,o-1)}}this.hot.runHooks("afterViewportRowCalculatorOverride",e)},viewportColumnCalculatorOverride:e=>{let t=this.settings.viewportColumnRenderingOffset;if("auto"===t&&this.settings.fixedColumnsStart&&(t=10),t>0||"auto"===t){const o=this.countRenderableColumns(),r=e.startColumn,n=e.endColumn;if("number"==typeof t&&(e.startColumn=Math.max(r-t,0),e.endColumn=Math.min(n+t,o-1)),"auto"===t){const t=Math.max(1,Math.ceil(n/o*6));e.startColumn=Math.max(r-t,0),e.endColumn=Math.min(n+t,o-1)}}this.hot.runHooks("afterViewportColumnCalculatorOverride",e)},rowHeaderWidth:()=>this.settings.rowHeaderWidth,columnHeaderHeight:()=>{const e=this.hot.runHooks("modifyColumnHeaderHeight");return this.settings.columnHeaderHeight||e},stylesHandler:()=>this.hot.stylesHandler};this.hot.runHooks("beforeInitWalkontable",e),this._wt=new l.default(e),this.activeWt=this._wt;const t=this._wt.wtTable.spreader,{width:o,height:r}=this.hot.rootElement.getBoundingClientRect();this.setLastSize(o,r),this.eventManager.addEventListener(t,"mousedown",e=>{e.target===t&&3===e.which&&e.stopPropagation()}),this.eventManager.addEventListener(t,"contextmenu",e=>{e.target===t&&3===e.which&&e.stopPropagation()}),this.eventManager.addEventListener(this.hot.rootDocument.documentElement,"click",()=>{this.settings.observeDOMVisibility&&this._wt.drawInterrupted&&this.hot.render()})}isTextSelectionAllowed(e){var t,o;if((0,i.isInput)(e))return!0;const r=(0,i.isChildOf)(e,this._wt.wtTable.spreader);if(!0===this.settings.fragmentSelection&&r)return!0;const n=null!==(t=null===(o=this.hot.getSelectedRangeActive())||void 0===o?void 0:o.isSingleCell())&&void 0!==t&&t;return!("cell"!==this.settings.fragmentSelection||!n||!r)||!(this.settings.fragmentSelection||!this.isCellEdited()||!n)}isMouseDown(){return f(y,this)}isCellEdited(){const e=this.hot.getActiveEditor();return e&&e.isOpened()}beforeRender(e,t){e&&this.hot.runHooks("beforeViewRender",this.hot.forceFullRender,t)}afterRender(e){e&&this.hot.runHooks("afterViewRender",this.hot.forceFullRender)}appendRowHeader(e,t){if(t.firstChild){const o=t.firstChild;if(!(0,i.hasClass)(o,"relative"))return(0,i.empty)(t),void this.appendRowHeader(e,t);this.updateCellHeader(o.querySelector(".rowHeader"),e,this.hot.getRowHeader)}else{const{rootDocument:o,getRowHeader:r}=this.hot,n=o.createElement("div"),i=o.createElement("span");n.className="relative",i.className="rowHeader",this.updateCellHeader(i,e,r),n.appendChild(i),t.appendChild(n)}this.hot.runHooks("afterGetRowHeader",e,t)}appendColHeader(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.hot.getColHeader,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const n=()=>{const t=e>=0?this.hot.getColumnMeta(e).headerClassName:null;return t?t.split(" "):[]};if(t.firstChild){const s=t.firstChild;(0,i.hasClass)(s,"relative")?(this.updateCellHeader(s.querySelector(".colHeader"),e,o,r),s.className="",(0,i.addClass)(s,["relative",...n()])):((0,i.empty)(t),this.appendColHeader(e,t,o,r))}else{const{rootDocument:s}=this.hot,a=s.createElement("div"),l=s.createElement("span"),h=n();a.classList.add("relative",...h),l.className="colHeader",this.settings.ariaTags&&((0,i.setAttribute)(a,...(0,u.A11Y_PRESENTATION)()),(0,i.setAttribute)(l,...(0,u.A11Y_PRESENTATION)())),this.updateCellHeader(l,e,o,r),a.appendChild(l),t.appendChild(a)}this.hot.runHooks("afterGetColHeader",e,t,r)}updateCellHeader(e,t,o){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,n=t;const s=this._wt.wtOverlays.getParentOverlay(e)||this._wt;e.parentNode&&((0,i.hasClass)(e,"colHeader")?n=s.wtTable.columnFilter.sourceToRendered(t):(0,i.hasClass)(e,"rowHeader")&&(n=s.wtTable.rowFilter.sourceToRendered(t))),n>-1?(0,i.fastInnerHTML)(e,o(t,r),this.hot.getSettings().sanitizer):((0,i.fastInnerText)(e,String.fromCharCode(160)),(0,i.addClass)(e,"cornerHeader"))}maximumVisibleElementWidth(e){const t=this._wt.wtViewport.getWorkspaceWidth()-e;return t>0?t:0}maximumVisibleElementHeight(e){const t=this._wt.wtViewport.getWorkspaceHeight()-e;return t>0?t:0}setLastSize(e,t){m(E,this,e),m(_,this,t)}getLastSize(){return{width:f(E,this),height:f(_,this)}}getFirstRenderedVisibleRow(){if(!this._wt.wtViewport.rowsRenderCalculator)return null;const e=this.hot.rowIndexMapper,t=e.getVisualFromRenderableIndex(this._wt.wtTable.getFirstRenderedRow());return e.getNearestNotHiddenIndex(null!=t?t:0,1)}getLastRenderedVisibleRow(){if(!this._wt.wtViewport.rowsRenderCalculator)return null;const e=this.hot.rowIndexMapper,t=e.getVisualFromRenderableIndex(this._wt.wtTable.getLastRenderedRow());return e.getNearestNotHiddenIndex(null!=t?t:this.hot.countRows()-1,-1)}getFirstRenderedVisibleColumn(){if(!this._wt.wtViewport.columnsRenderCalculator)return null;const e=this.hot.columnIndexMapper,t=e.getVisualFromRenderableIndex(this._wt.wtTable.getFirstRenderedColumn());return e.getNearestNotHiddenIndex(null!=t?t:0,1)}getLastRenderedVisibleColumn(){if(!this._wt.wtViewport.columnsRenderCalculator)return null;const e=this.hot.columnIndexMapper,t=e.getVisualFromRenderableIndex(this._wt.wtTable.getLastRenderedColumn());return e.getNearestNotHiddenIndex(null!=t?t:this.hot.countCols()-1,-1)}getFirstFullyVisibleRow(){return this.hot.rowIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getFirstVisibleRow())}getLastFullyVisibleRow(){return this.hot.rowIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getLastVisibleRow())}getFirstFullyVisibleColumn(){return this.hot.columnIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getFirstVisibleColumn())}getLastFullyVisibleColumn(){return this.hot.columnIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getLastVisibleColumn())}getFirstPartiallyVisibleRow(){return this.hot.rowIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getFirstPartiallyVisibleRow())}getLastPartiallyVisibleRow(){return this.hot.rowIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getLastPartiallyVisibleRow())}getFirstPartiallyVisibleColumn(){return this.hot.columnIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getFirstPartiallyVisibleColumn())}getLastPartiallyVisibleColumn(){return this.hot.columnIndexMapper.getVisualFromRenderableIndex(this._wt.wtScroll.getLastPartiallyVisibleColumn())}getColumnHeadersCount(){return f(w,this)}getRowHeadersCount(){return f(b,this)}getViewportWidth(){return this._wt.wtViewport.getViewportWidth()}getWorkspaceWidth(){return this._wt.wtViewport.getWorkspaceWidth()}getViewportHeight(){return this._wt.wtViewport.getViewportHeight()}getWorkspaceHeight(){return this._wt.wtViewport.getWorkspaceHeight()}getElementOverlayName(e){var t;return(null!==(t=this._wt.wtOverlays.getParentOverlay(e))&&void 0!==t?t:this._wt).wtTable.name}getOverlayByName(e){return this._wt.getOverlayByName(e)}getActiveOverlayName(){return this._wt.activeOverlayName}isVisible(){return this._wt.wtTable.isVisible()}hasVerticalScroll(){return this._wt.wtViewport.hasVerticalScroll()}hasHorizontalScroll(){return this._wt.wtViewport.hasHorizontalScroll()}getTableWidth(){return this._wt.wtTable.getWidth()}getTableHeight(){return this._wt.wtTable.getHeight()}getTotalTableWidth(){return this._wt.wtTable.getTotalWidth()}getTotalTableHeight(){return this._wt.wtTable.getTotalHeight()}getTableOffset(){return this._wt.wtViewport.getWorkspaceOffset()}getTableScrollPosition(){return{left:this._wt.wtTable.holder.scrollLeft,top:this._wt.wtTable.holder.scrollTop}}setTableScrollPosition(e){this._wt.wtTable.holder.scrollLeft=e.left,this._wt.wtTable.holder.scrollTop=e.top}getRowHeaderWidth(){return this._wt.wtViewport.getRowHeaderWidth()}getColumnHeaderHeight(){return this._wt.wtViewport.getColumnHeaderHeight()}isVerticallyScrollableByWindow(){return this._wt.wtViewport.isVerticallyScrollableByWindow()}isHorizontallyScrollableByWindow(){return this._wt.wtViewport.isHorizontallyScrollableByWindow()}destroy(){this._wt.destroy(),this.eventManager.destroy()}}},62764(e,t,o){"use strict";var r=o(62682);t.__esModule=!0,t.createTheme=function(e){return new E(e)};var n=o(38888),i=r(o(80995)),s=r(o(22057)),a=o(15238),l=o(26070),h=o(26032);function d(e,t,o){c(e,t),t.set(e,o)}function c(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function u(e,t){return e.get(p(e,t))}function g(e,t,o){return e.set(p(e,t),o),o}function p(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}const f=["sizing","icons","colors","tokens"],m=["name","icons","colors","tokens"];var C=new WeakMap,w=new WeakMap,b=new WeakMap,v=new WeakMap,y=new WeakMap,S=new WeakSet;class E{constructor(e){var t,o;c(t=this,o=S),o.add(t),d(this,C,void 0),d(this,w,void 0),d(this,b,new Set),d(this,v,"auto"),d(this,y,"default"),(0,a.validateParams)(e,"themeConfig",{requiredFields:m}),g(C,this,{name:void 0,sizing:i.default,density:{type:u(y,this),sizes:s.default},icons:{},colors:{},tokens:{},colorScheme:u(v,this)}),p(S,this,T).call(this,e),g(C,this,u(w,this))}subscribe(e){return"function"!=typeof e&&(0,h.throwWithCause)("[ThemeBuilder] listener must be a function."),u(b,this).add(e),()=>u(b,this).delete(e)}params(e){return(0,a.validateParams)(e,"params"),p(S,this,T).call(this,e),p(S,this,_).call(this),this}setColorScheme(e){return g(v,this,(0,a.validateColorScheme)(e)),u(w,this).colorScheme=u(v,this),u(C,this).colorScheme=u(v,this),p(S,this,_).call(this),this}setDensityType(e){return g(y,this,(0,a.validateDensityType)(e)),u(w,this).density.type=u(y,this),u(C,this).density.type=u(y,this),p(S,this,_).call(this),this}getThemeConfig(){return u(w,this)}}function _(){const e=this.getThemeConfig();u(b,this).forEach(t=>t(e))}function R(e,t){var o;if((0,n.isObject)(t))e.density=(0,n.deepMerge)(e.density,t),g(y,this,t.type),null!==(o=u(C,this))&&void 0!==o&&o.density&&(u(C,this).density.type=t.type);else if("string"==typeof t){var r;e.density.type=t,g(y,this,t),null!==(r=u(C,this))&&void 0!==r&&r.density&&(u(C,this).density.type=t)}}function T(e){const t=(0,n.deepClone)(u(C,this));var o;(void 0!==e.name&&(void 0!==u(C,this).name?(0,l.warn)('[ThemeBuilder] The "name" property can only be set during `registerTheme()` and cannot be updated via `params()`.'):t.name=e.name),f.forEach(o=>{void 0!==e[o]&&(0,n.isObject)(e[o])&&(t[o]=(0,n.deepMerge)(t[o],e[o]))}),void 0!==e.density&&p(S,this,R).call(this,t,e.density),void 0!==e.colorScheme)&&(t.colorScheme=e.colorScheme,g(v,this,e.colorScheme),null!==(o=u(C,this))&&void 0!==o&&o.colorScheme&&(u(C,this).colorScheme=e.colorScheme));g(w,this,t)}},38579(e,t,o){"use strict";t.__esModule=!0;var r=o(62764);t.createTheme=r.createTheme;var n=o(27364);t.createThemeManager=n.createThemeManager},27364(e,t,o){"use strict";var r=o(62682);t.__esModule=!0,t.createThemeManager=function(e){let{hot:t,themeObject:o}=e;return new c({hot:t,themeObject:o})};var n=r(o(43685)),i=o(1895),s=o(26032),a=o(82573);function l(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function h(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var d=new WeakSet;class c{constructor(e){let{hot:t,themeObject:o}=e;l(this,d),(0,n.default)(this,"hot",void 0),(0,n.default)(this,"themeStyles",void 0),(0,n.default)(this,"themeClassName",void 0),(0,n.default)(this,"themeConfig",void 0),this.hot=t,this.update(o)}getClassName(){return this.themeClassName}update(e){this.hot&&(void 0===e.getThemeConfig&&(0,s.throwWithCause)('[ThemeManager] The "theme" option must be an instance of ThemeBuilder.'),this.themeConfig=e.getThemeConfig(),this.themeClassName=`ht-theme-${this.themeConfig.name}`,"function"==typeof e.subscribe&&e.subscribe(e=>{var t;null!==(t=this.hot)&&void 0!==t&&t.stylesHandler&&(this.themeConfig=e,h(d,this,u).call(this),this.hot.stylesHandler.clearCache(),this.hot.render(),this.hot.runHooks("afterSetTheme",this.themeClassName,!1))}),this.mount(),this.hot.runHooks("afterSetTheme",this.themeClassName,!0))}mount(){h(d,this,u).call(this)}unmount(){this.themeStyles&&this.themeStyles.remove()}destroy(){this.unmount(),this.hot.themeManager=null}}function u(){if(!(this.themeConfig&&this.hot&&this.hot.rootDocument&&this.hot.rootWrapperElement))return;const e="auto"===this.themeConfig.colorScheme?"light dark":this.themeConfig.colorScheme;this.themeStyles?this.themeStyles.textContent="":this.themeStyles=this.hot.rootDocument.createElement("style"),this.themeStyles.textContent=`:where(.${this.themeClassName}) {\n`,this.themeStyles.textContent+=`color-scheme: ${e};\n`,this.themeConfig.sizing&&(this.themeStyles.textContent+=(0,a.flattenCssVariables)(this.themeConfig.sizing,"sizing")),this.themeConfig.density&&this.themeConfig.density.type&&this.themeConfig.density.sizes&&this.themeConfig.density.sizes[this.themeConfig.density.type]&&(this.themeStyles.textContent+=(0,a.flattenCssVariables)(this.themeConfig.density.sizes[this.themeConfig.density.type],"density")),this.themeConfig.colors&&(this.themeStyles.textContent+=(0,a.flattenCssVariables)(this.themeConfig.colors,"colors")),this.themeConfig.tokens&&(this.themeStyles.textContent+=(0,a.flattenCssVariables)(this.themeConfig.tokens)),this.themeConfig.icons&&(this.themeStyles.textContent+=(0,i.iconsMap)(this.themeConfig.icons)),this.themeStyles.textContent+="}",this.hot.rootWrapperElement&&this.hot.rootWrapperElement.querySelector("style")?this.hot.rootWrapperElement.querySelector("style").textContent=this.themeStyles.textContent:this.hot.rootWrapperElement.prepend(this.themeStyles)}t.ThemeManager=c},82573(e,t,o){"use strict";t.__esModule=!0,t.flattenCssVariables=function e(t){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a="";return Object.entries(t).forEach(t=>{let[h,d]=t;const c=(0,n.toHyphen)(h),u=s?`${s}-${c}`:c;(0,r.isObject)(d)?a+=e(d,o,u):a+=`${function(e,t,o){return`${function(e,t){return`${i}${e?`${e}-`:""}${(0,n.toHyphen)(t)}`}(e,t)}: ${l(o,t)};`}(o,u,d)}\n`}),a};var r=o(38888),n=o(23862);const i="--ht-",s=["font-family"],a=["tokens.","colors.","sizing.","density."];function l(e,t){if(function(e){return"string"==typeof e&&a.some(t=>e.includes(t))}(e))return(o=e).includes("tokens.")?`var(${i}${(0,n.toHyphen)(o.split(".").slice(1).join("-"))})`:`var(${i}${(0,n.toHyphen)(o.split(".").join("-"))})`;var o;if(Array.isArray(e)){if(e.length>=2){const[o,r]=e;return"string"==typeof o&&"string"==typeof r?`light-dark(${l(o,t)}, ${l(r,t)})`:"string"==typeof o?l(o,t):"string"==typeof r?l(r,t):""}return l(e[0],t)}return t&&s.includes(t)?String(e):(0,n.toHyphen)(e)}},15238(e,t,o){"use strict";t.__esModule=!0,t.validateColorScheme=c,t.validateDensityType=u,t.validateParams=function(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{requiredFields:a=[]}=o;"object"==typeof e&&null!==e||(0,i.throwWithCause)(`[ThemeBuilder] ${t} must be an object.`);const{name:f,sizing:m,density:C,icons:w,colors:b,tokens:v,colorScheme:y}=e;p(e,s,t,{type:"param"}),a.forEach(o=>{void 0===e[o]&&(0,i.throwWithCause)(`[ThemeBuilder] ${t}.${o} is required.`)}),void 0!==f&&function(e,t){"string"==typeof e&&""!==e.trim()||(0,i.throwWithCause)(`[ThemeBuilder] ${t}.name must be a non-empty string.`)}(f,t);void 0!==m&&((0,r.isObject)(m)||(0,i.throwWithCause)(`[ThemeBuilder] ${t}.sizing must be an object.`));void 0!==C&&((0,r.isObject)(C)||"string"==typeof C||(0,i.throwWithCause)(`[ThemeBuilder] ${t}.density must be a string or an object.`),function(e,t){(0,r.isObject)(e)?(e.type&&e.sizes||(0,i.throwWithCause)(`[ThemeBuilder] ${t} must be a string or an object with a 'type' and 'sizes' property.`),u(e.type),function(e,t){(0,r.isObject)(e)||(0,i.throwWithCause)(`[ThemeBuilder] ${t}.sizes must be an object.`);Object.keys(e).forEach(e=>{l.has(e)||(0,n.warn)(`[ThemeBuilder] Unknown density size key: "${e}" in ${t}.sizes. This may be a custom density size or a typo.`)})}(e.sizes,`${t}.sizes`)):"string"==typeof e&&u(e)}(C,`${t}.density`));void 0!==w&&((0,r.isObject)(w)||(0,i.throwWithCause)(`[ThemeBuilder] ${t}.icons must be an object.`),p(w,h,`${t}.icons`,{type:"icon",warnMissing:a.includes("icons")}));void 0!==b&&((0,r.isObject)(b)||(0,i.throwWithCause)(`[ThemeBuilder] ${t}.colors must be an object.`),g(b,`${t}.colors`));void 0!==v&&((0,r.isObject)(v)||(0,i.throwWithCause)(`[ThemeBuilder] ${t}.tokens must be an object.`),p(v,d,`${t}.tokens`,{type:"token",warnMissing:a.includes("tokens")}));void 0!==y&&c(y)};var r=o(38888),n=o(26070),i=o(26032);const s=new Set(["name","sizing","density","icons","colors","tokens","colorScheme"]),a=new Set(["light","dark","auto"]),l=new Set(["default","compact","comfortable"]),h=t.VALID_ICON_KEYS=new Set(["arrowRight","arrowRightWithBar","arrowLeft","arrowLeftWithBar","arrowDown","menu","selectArrow","arrowNarrowUp","arrowNarrowDown","check","checkbox","caretHiddenLeft","caretHiddenRight","caretHiddenUp","caretHiddenDown","collapseOff","collapseOn","radio","chipClose","search"]),d=new Set(["fontFamily","fontSize","fontSizeSmall","lineHeight","lineHeightSmall","fontWeight","letterSpacing","gapSize","iconSize","tableTransition","borderColor","accentColor","foregroundColor","foregroundSecondaryColor","backgroundColor","backgroundSecondaryColor","placeholderColor","readOnlyColor","disabledColor","shadowColor","shadowX","shadowY","shadowBlur","shadowOpacity","barForegroundColor","barBackgroundColor","barHorizontalPadding","barVerticalPadding","cellHorizontalBorderColor","cellVerticalBorderColor","cellHorizontalPadding","cellVerticalPadding","wrapperBorderWidth","wrapperBorderRadius","wrapperBorderColor","rowHeaderOddBackgroundColor","rowHeaderEvenBackgroundColor","rowCellOddBackgroundColor","rowCellEvenBackgroundColor","cellEditorBorderWidth","cellEditorBorderColor","cellEditorForegroundColor","cellEditorBackgroundColor","cellEditorShadowBlurRadius","cellEditorShadowColor","cellSuccessBackgroundColor","cellErrorBackgroundColor","cellReadOnlyBackgroundColor","cellSelectionBorderColor","cellSelectionBackgroundColor","cellAutofillSize","cellAutofillHitAreaSize","cellAutofillBorderWidth","cellAutofillBorderRadius","cellAutofillBorderColor","cellAutofillBackgroundColor","cellAutofillFillBorderColor","cellMobileHandleSize","cellMobileHandleBorderWidth","cellMobileHandleBorderRadius","cellMobileHandleBorderColor","cellMobileHandleBackgroundColor","cellMobileHandleBackgroundOpacity","resizeIndicatorColor","moveBacklightColor","moveBacklightOpacity","moveIndicatorColor","hiddenIndicatorColor","scrollbarBorderRadius","scrollbarTrackColor","scrollbarThumbColor","headerFontWeight","headerForegroundColor","headerBackgroundColor","headerHighlightedShadowSize","headerHighlightedForegroundColor","headerHighlightedBackgroundColor","headerActiveBorderColor","headerActiveForegroundColor","headerActiveBackgroundColor","headerFilterBackgroundColor","headerRowForegroundColor","headerRowBackgroundColor","headerRowHighlightedForegroundColor","headerRowHighlightedBackgroundColor","headerRowActiveForegroundColor","headerRowActiveBackgroundColor","checkboxSize","checkboxBorderRadius","checkboxBorderColor","checkboxBackgroundColor","checkboxIconColor","checkboxFocusBorderColor","checkboxFocusBackgroundColor","checkboxFocusIconColor","checkboxFocusRingColor","checkboxDisabledBorderColor","checkboxDisabledBackgroundColor","checkboxDisabledIconColor","checkboxCheckedBorderColor","checkboxCheckedBackgroundColor","checkboxCheckedIconColor","checkboxCheckedFocusBorderColor","checkboxCheckedFocusBackgroundColor","checkboxCheckedFocusIconColor","checkboxCheckedDisabledBorderColor","checkboxCheckedDisabledBackgroundColor","checkboxCheckedDisabledIconColor","checkboxIndeterminateBorderColor","checkboxIndeterminateBackgroundColor","checkboxIndeterminateIconColor","checkboxIndeterminateFocusBorderColor","checkboxIndeterminateFocusBackgroundColor","checkboxIndeterminateFocusIconColor","checkboxIndeterminateDisabledBorderColor","checkboxIndeterminateDisabledBackgroundColor","checkboxIndeterminateDisabledIconColor","radioSize","radioBorderColor","radioBackgroundColor","radioIconColor","radioFocusBorderColor","radioFocusBackgroundColor","radioFocusIconColor","radioFocusRingColor","radioDisabledBorderColor","radioDisabledBackgroundColor","radioDisabledIconColor","radioCheckedBorderColor","radioCheckedBackgroundColor","radioCheckedIconColor","radioCheckedFocusBorderColor","radioCheckedFocusBackgroundColor","radioCheckedFocusIconColor","radioCheckedDisabledBorderColor","radioCheckedDisabledBackgroundColor","radioCheckedDisabledIconColor","iconButtonBorderRadius","iconButtonLargeBorderRadius","iconButtonLargePadding","iconButtonBorderColor","iconButtonBackgroundColor","iconButtonIconColor","iconButtonHoverBorderColor","iconButtonHoverBackgroundColor","iconButtonHoverIconColor","iconButtonActiveBorderColor","iconButtonActiveBackgroundColor","iconButtonActiveIconColor","iconButtonActiveHoverBorderColor","iconButtonActiveHoverBackgroundColor","iconButtonActiveHoverIconColor","collapseButtonBorderRadius","collapseButtonOpenBorderColor","collapseButtonOpenBackgroundColor","collapseButtonOpenIconColor","collapseButtonOpenIconActiveColor","collapseButtonOpenHoverBorderColor","collapseButtonOpenHoverBackgroundColor","collapseButtonOpenHoverIconColor","collapseButtonOpenHoverIconActiveColor","collapseButtonCloseBorderColor","collapseButtonCloseBackgroundColor","collapseButtonCloseIconColor","collapseButtonCloseIconActiveColor","collapseButtonCloseHoverBorderColor","collapseButtonCloseHoverBackgroundColor","collapseButtonCloseHoverIconColor","collapseButtonCloseHoverIconActiveColor","buttonBorderRadius","buttonHorizontalPadding","buttonVerticalPadding","primaryButtonBorderColor","primaryButtonForegroundColor","primaryButtonBackgroundColor","primaryButtonDisabledBorderColor","primaryButtonDisabledForegroundColor","primaryButtonDisabledBackgroundColor","primaryButtonHoverBorderColor","primaryButtonHoverForegroundColor","primaryButtonHoverBackgroundColor","primaryButtonFocusBorderColor","primaryButtonFocusForegroundColor","primaryButtonFocusBackgroundColor","secondaryButtonBorderColor","secondaryButtonForegroundColor","secondaryButtonBackgroundColor","secondaryButtonDisabledBorderColor","secondaryButtonDisabledForegroundColor","secondaryButtonDisabledBackgroundColor","secondaryButtonHoverBorderColor","secondaryButtonHoverForegroundColor","secondaryButtonHoverBackgroundColor","secondaryButtonFocusBorderColor","secondaryButtonFocusForegroundColor","secondaryButtonFocusBackgroundColor","commentsTextareaHorizontalPadding","commentsTextareaVerticalPadding","commentsTextareaBorderWidth","commentsTextareaBorderColor","commentsTextareaForegroundColor","commentsTextareaBackgroundColor","commentsTextareaFocusBorderWidth","commentsTextareaFocusBorderColor","commentsTextareaFocusForegroundColor","commentsTextareaFocusBackgroundColor","commentsIndicatorSize","commentsIndicatorColor","licenseHorizontalPadding","licenseVerticalPadding","licenseForegroundColor","licenseBackgroundColor","linkColor","linkHoverColor","inputBorderWidth","inputBorderRadius","inputHorizontalPadding","inputVerticalPadding","inputBorderColor","inputForegroundColor","inputBackgroundColor","inputHoverBorderColor","inputHoverForegroundColor","inputHoverBackgroundColor","inputDisabledBorderColor","inputDisabledForegroundColor","inputDisabledBackgroundColor","inputFocusBorderColor","inputFocusForegroundColor","inputFocusBackgroundColor","menuBorderWidth","menuBorderRadius","menuHorizontalPadding","menuVerticalPadding","menuItemHorizontalPadding","menuItemVerticalPadding","menuBorderColor","menuShadowX","menuShadowY","menuShadowBlur","menuShadowColor","menuShadowOpacity","menuItemHoverColor","menuItemHoverColorOpacity","menuItemActiveColor","menuItemActiveColorOpacity","dialogSemiTransparentBackgroundColor","dialogSemiTransparentBackgroundOpacity","dialogSolidBackgroundColor","dialogContentPaddingHorizontal","dialogContentPaddingVertical","dialogContentBorderRadius","dialogContentBackgroundColor","paginationBarForegroundColor","paginationBarBackgroundColor","paginationBarHorizontalPadding","paginationBarVerticalPadding","chipBackground","chipBorderRadius","chipVerticalPadding","chipHorizontalPadding","chipGap"]);function c(e){if(!a.has(e)){const t=[...a].join(", ");(0,i.throwWithCause)(`[ThemeBuilder] Invalid color scheme: "${e}". Must be one of: ${t}.`)}return e}function u(e){if(!l.has(e)){const t=[...l].join(", ");(0,i.throwWithCause)(`[ThemeBuilder] Invalid density: "${e}". Must be one of: ${t}.`)}return e}function g(e,t){Object.entries(e).forEach(e=>{let[o,n]=e;const s=`${t}.${o}`;"string"!=typeof n&&((0,r.isObject)(n)?g(n,s):(0,i.throwWithCause)(`[ThemeBuilder] ${s} must be a string or an object.`))})}function p(e,t,o){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const{type:i="key",warnMissing:s=!1}=r;if(!e)return void(s&&(0,n.warn)(`[ThemeBuilder] No ${i}s provided in ${o}. All ${i}s are missing.`));if(Object.keys(e).forEach(e=>{t.has(e)||(0,n.warn)(`[ThemeBuilder] Unknown ${i} key: "${e}" in ${o}. This may be a custom ${i} or a typo.`)}),s){const r=[];t.forEach(t=>{t in e||r.push(t)}),r.length>0&&(0,n.warn)(`[ThemeBuilder] Missing ${i}(s) in ${o}: ${r.join(", ")}`)}}},97324(e,t,o){"use strict";t.__esModule=!0;var r=o(46554);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||(t[e]=r[e]))});var n=o(54917);Object.keys(n).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||(t[e]=n[e]))})},54917(e,t,o){"use strict";t.__esModule=!0,t.getTheme=g,t.getThemeNames=function(){return h()},t.getThemes=function(){return d()},t.hasTheme=u,t.registerTheme=function(e,t){const{themeName:o,themeConfigObject:r}=p(e,t),i=(0,s.createTheme)(r);if(u(o))return(0,n.warn)(`Theme "${o}" is already registered. Registration skipped.`),g(o);return c(o,i),i},t.reinitTheme=function(e,t){const{themeName:o,themeConfigObject:r}=p(e,t);if(!u(o))return void(0,n.warn)(`Theme "${o}" is not registered. Cannot reinitialize a non-existent theme.`);const i=(0,s.createTheme)(r);return c(o,i),i};var r=o(38888),n=o(26070),i=o(36016),s=o(38579);const{hasItem:a,getItem:l,getNames:h,getValues:d,register:c}=(0,i.staticRegister)("themes");function u(e){return a(e)}function g(e){if(u(e))return l(e);(0,n.warn)(`Theme "${e}" is not registered. Please ensure it is registered before using it.`)}function p(e,t){let o=e,n=(0,r.deepClone)(t);return"string"==typeof e&&(0,r.isObject)(t)?n.name=e:(0,r.isObject)(e)&&(n=(0,r.deepClone)(e),o=n.name),{themeName:o,themeConfigObject:n}}},94506(e,t){"use strict";t.__esModule=!0;t.default={primary:{100:"#7aadffff",200:"#6a9bffff",300:"#6985b9ff",400:"#8eb0e7ff",500:"#5292f7ff",600:"#3e7ee3ff"},palette:{50:"#f0f0f0ff",100:"#dcdcdcff",200:"#ccccccff",300:"#c6c6c6ff",400:"#999999ff",500:"#777777ff",600:"#5c5c5cff",700:"#404040ff",800:"#313131ff",900:"#222222ff",950:"#0f0f10ff"},white:"#ffffffff",black:"#000000ff",transparent:"#ffffff00"}},11829(e,t){"use strict";t.__esModule=!0;t.default={primary:{100:"#f2c051ff",200:"#f1b93eff",300:"#d7a52aff",400:"#57c784ff",500:"#37bc6cff",600:"#32a961ff"},palette:{50:"#f7f7f9ff",100:"#e7e7e9ff",200:"#d1d1d4ff",300:"#b5b5b9ff",400:"#aeaeaeff",500:"#727272ff",600:"#353535ff",700:"#262624ff",800:"#222222ff",900:"#19191cff",950:"#070604ff"},white:"#ffffffff",black:"#000000ff",transparent:"#ffffff00"}},96969(e,t){"use strict";t.__esModule=!0;t.default={white:"#ffffffff",black:"#000000ff",primary:{100:"#6180ffff",200:"#5573f0ff",300:"#4669f6ff",400:"#2e56fcff",500:"#1a42e8ff",600:"#1535bcff"},palette:{50:"#f7f7f9ff",100:"#e7e7e9ff",200:"#b9b9bbff",300:"#a3a3a3ff",400:"#68696cff",500:"#404144ff",600:"#313132ff",700:"#282829ff",800:"#222222ff",900:"#1e1e1fff",950:"#050506ff"},transparent:"#ffffff00"}},22057(e,t){"use strict";t.__esModule=!0;t.default={default:{cellVertical:"sizing.size_1",cellHorizontal:"sizing.size_2",barsHorizontal:"sizing.size_4",barsVertical:"sizing.size_2",gap:"sizing.size_1",buttonHorizontal:"sizing.size_3",buttonVertical:"sizing.size_1_5",dialogHorizontal:"sizing.size_2",dialogVertical:"sizing.size_2",inputHorizontal:"sizing.size_3",inputVertical:"sizing.size_1_5",menuVertical:"sizing.size_2",menuHorizontal:"sizing.size_0",menuItemVertical:"sizing.size_1",menuItemHorizontal:"sizing.size_3"},compact:{cellVertical:"sizing.size_0_5",cellHorizontal:"sizing.size_1_5",barsHorizontal:"sizing.size_2",barsVertical:"sizing.size_1",gap:"sizing.size_0_5",buttonHorizontal:"sizing.size_2",buttonVertical:"sizing.size_0_5",dialogHorizontal:"sizing.size_1_5",dialogVertical:"sizing.size_1_5",inputHorizontal:"sizing.size_2",inputVertical:"sizing.size_0_5",menuVertical:"sizing.size_2",menuHorizontal:"sizing.size_0",menuItemVertical:"sizing.size_0_5",menuItemHorizontal:"sizing.size_2"},comfortable:{cellVertical:"sizing.size_2",cellHorizontal:"sizing.size_3",barsHorizontal:"sizing.size_4",barsVertical:"sizing.size_2",gap:"sizing.size_1_5",buttonHorizontal:"sizing.size_4",buttonVertical:"sizing.size_2",dialogHorizontal:"sizing.size_3",dialogVertical:"sizing.size_3",inputHorizontal:"sizing.size_4",inputVertical:"sizing.size_2",menuVertical:"sizing.size_3",menuHorizontal:"sizing.size_0",menuItemVertical:"sizing.size_2",menuItemHorizontal:"sizing.size_2"}}},1895(e,t){"use strict";t.__esModule=!0;const o=(e,t)=>`width: var(--ht-icon-size);\n height: var(--ht-icon-size);\n -webkit-mask-size: contain;\n -webkit-mask-image: url("${e[t]}");\n background-color: currentColor;`;t.iconsMap=(e,t)=>{const r=t?`[class*=${t}] `:"";return`${r}.htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper::after,\n${r}.htContextMenu table tbody tr td.htSubmenu .htItemWrapper::after,\n${r}.htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper::after,\n${r}.pika-single .pika-next {\n ${o(e,"arrowRight")}\n}\n\n${r}.pika-single .pika-prev {\n ${o(e,"arrowLeft")}\n}\n\n${r}.ht-page-size-section__select-wrapper::after {\n ${o(e,"arrowDown")}\n}\n\n${r}.changeType::before {\n ${o(e,"menu")}\n}\n\n${r}.htUISelectCaption::after,\n.htAutocompleteArrow::after {\n ${o(e,"selectArrow")}\n}\n\n${r}.columnSorting.sortAction.ascending::before {\n ${o(e,"arrowNarrowUp")}\n}\n\n${r}.columnSorting.sortAction.descending::before {\n ${o(e,"arrowNarrowDown")}\n}\n\n${r}.ht-page-navigation-section .ht-page-first::before {\n ${o(e,"arrowLeftWithBar")}\n}\n\n${r}[dir="rtl"] .ht-page-navigation-section .ht-page-first::before {\n ${o(e,"arrowRightWithBar")}\n}\n\n${r}.ht-page-navigation-section .ht-page-prev::before {\n ${o(e,"arrowLeft")}\n}\n\n${r}[dir="rtl"] .ht-page-navigation-section .ht-page-prev::before {\n ${o(e,"arrowRight")}\n}\n\n${r}.ht-page-navigation-section .ht-page-next::before {\n ${o(e,"arrowRight")}\n}\n\n${r}[dir="rtl"] .ht-page-navigation-section .ht-page-next::before {\n ${o(e,"arrowLeft")}\n}\n\n${r}.ht-page-navigation-section .ht-page-last::before {\n ${o(e,"arrowRightWithBar")}\n}\n\n${r}[dir="rtl"] .ht-page-navigation-section .ht-page-last::before {\n ${o(e,"arrowLeftWithBar")}\n}\n\n${r}.htDropdownMenu table tbody tr td .htItemWrapper span.selected::after,\n${r}.htContextMenu table tbody tr td .htItemWrapper span.selected::after,\n${r}.htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected::after {\n ${o(e,"check")}\n}\n\n${r}.htCheckboxRendererInput {\n appearance: none;\n}\n\n${r}.htCheckboxRendererInput::after {\n ${o(e,"checkbox")}\n}\n\n${r}th.beforeHiddenColumn::after {\n ${o(e,"caretHiddenLeft")}\n}\n\n${r}th.afterHiddenColumn::before {\n ${o(e,"caretHiddenRight")}\n}\n\n${r}th.beforeHiddenRow::after {\n ${o(e,"caretHiddenUp")}\n}\n\n${r}th.afterHiddenRow::before {\n ${o(e,"caretHiddenDown")}\n}\n\n${r}.collapsibleIndicator::before,\n${r}.ht_nestingButton::before {\n ${o(e,"collapseOff")}\n}\n\n${r}.collapsibleIndicator.collapsed::before,\n${r}.ht_nestingButton.ht_nestingExpand::before {\n ${o(e,"collapseOn")}\n}\n\n${r}.htUIRadio > input[type="radio"]::after {\n ${o(e,"radio")}\n}\n\n${r}.ht-multi-select-chip-remove::before {\n ${o(e,"chipClose")}\n}\n\n${r}.ht-multi-select-editor-search-icon {\n ${o(e,"search")}\n}\n\n${r}.ht-multi-select-editor-item-selected input::after {\n ${o(e,"checkbox")}\n}`}},78435(e,t){"use strict";t.__esModule=!0;t.default={arrowRight:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.64648 10.9393L9.93938 7.64644L6.64648 4.35354' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",arrowRightWithBar:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.9292 4.64188L8.27934 7.99203L4.9292 11.3422M11.0711 4.08353V11.3422' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E",arrowLeft:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.93945 10.9393L6.64656 7.64644L9.93945 4.35354' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",arrowLeftWithBar:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.0713 4.64188L7.72115 7.99203L11.0713 11.3422M4.92936 4.08353L4.92936 11.3422' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E",arrowDown:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.6'%3E%3Cpath d='M11.5859 6L8.29304 9.29289L5.00015 6' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E",menu:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.83337 7.99984C6.83337 8.30926 6.95629 8.606 7.17508 8.8248C7.39388 9.04359 7.69062 9.1665 8.00004 9.1665C8.30946 9.1665 8.60621 9.04359 8.825 8.8248C9.04379 8.606 9.16671 8.30926 9.16671 7.99984C9.16671 7.69042 9.04379 7.39367 8.825 7.17488C8.60621 6.95609 8.30946 6.83317 8.00004 6.83317C7.69062 6.83317 7.39388 6.95609 7.17508 7.17488C6.95629 7.39367 6.83337 7.69042 6.83337 7.99984Z' fill='%23222222'/%3E%3Cpath d='M6.83337 12.4165C6.83337 12.7259 6.95629 13.0227 7.17508 13.2415C7.39388 13.4603 7.69062 13.5832 8.00004 13.5832C8.30946 13.5832 8.60621 13.4603 8.825 13.2415C9.04379 13.0227 9.16671 12.7259 9.16671 12.4165C9.16671 12.1071 9.04379 11.8103 8.825 11.5915C8.60621 11.3728 8.30946 11.2498 8.00004 11.2498C7.69062 11.2498 7.39388 11.3728 7.17508 11.5915C6.95629 11.8103 6.83337 12.1071 6.83337 12.4165Z' fill='%23222222'/%3E%3Cpath d='M6.83337 3.58317C6.83337 3.89259 6.95629 4.18934 7.17508 4.40813C7.39388 4.62692 7.69062 4.74984 8.00004 4.74984C8.30946 4.74984 8.60621 4.62692 8.825 4.40813C9.04379 4.18934 9.16671 3.89259 9.16671 3.58317C9.16671 3.27375 9.04379 2.97701 8.825 2.75821C8.60621 2.53942 8.30946 2.4165 8.00004 2.4165C7.69062 2.4165 7.39388 2.53942 7.17508 2.75821C6.95629 2.97701 6.83337 3.27375 6.83337 3.58317Z' fill='currentColor'/%3E%3C/svg%3E",selectArrow:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 6L8.29289 9.29289L11.5858 6' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",arrowNarrowUp:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.00008 12.6667L8.00008 3.33335M8.00008 3.33335L5.33342 6.00002M8.00008 3.33335L10.6667 6.00002' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",arrowNarrowDown:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.99992 3.33331V12.6666M7.99992 12.6666L10.6666 9.99998M7.99992 12.6666L5.33325 9.99998' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",check:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.3335 8.00002L6.66683 11.3334L13.3335 4.66669' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",checkbox:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8L7 10L11 6' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",caretHiddenLeft:"data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.07209 0.856828C6.08637 0.855597 6.1007 0.85498 6.11503 0.85498H6.17649C6.19083 0.85498 6.20515 0.855597 6.21944 0.856828L6.24964 0.859432C6.26009 0.860333 6.2705 0.861561 6.28087 0.863116L6.31212 0.867804C6.31889 0.86882 6.32565 0.869975 6.33238 0.871269L6.35946 0.876478C6.37551 0.879565 6.3914 0.883438 6.40708 0.888082L6.46333 0.904748C6.47851 0.909248 6.49348 0.914467 6.50817 0.920388L6.54307 0.93445C6.55923 0.940963 6.57504 0.948316 6.59043 0.956479L6.65918 0.992938C6.67949 1.00371 6.69903 1.01587 6.71767 1.02933L6.76455 1.06318C6.77915 1.07372 6.79316 1.08505 6.80654 1.09711L6.84873 1.13513C6.86284 1.14785 6.87622 1.16136 6.88879 1.1756L6.93202 1.22456C6.94435 1.23852 6.95589 1.25316 6.96659 1.26842L6.99471 1.30852C7.00421 1.32206 7.01303 1.33606 7.02113 1.35048L7.04926 1.40048C7.05508 1.41082 7.06053 1.42137 7.06559 1.4321L7.07445 1.45085C7.07858 1.45961 7.08246 1.46848 7.08608 1.47746L7.10014 1.51236C7.10607 1.52705 7.11129 1.54202 7.11579 1.55721L7.13245 1.61346C7.13726 1.62969 7.14124 1.64616 7.14438 1.66279L7.15157 1.70089L7.15667 1.73216C7.15927 1.74779 7.16113 1.76354 7.16224 1.77936L7.16433 1.80904C7.16475 1.81506 7.16506 1.82108 7.16527 1.8271L7.16631 1.85783L7.16659 1.87477V8.12477C7.16659 8.99803 6.15887 9.44746 5.5073 8.92171C5.49997 8.91579 5.49281 8.90967 5.48582 8.90335L5.44207 8.86377C5.4359 8.85818 5.42987 8.85244 5.42398 8.84656L2.29898 5.72155C2.12322 5.54577 2.01761 5.31189 2.00201 5.0638C1.98641 4.81571 2.06187 4.57045 2.21423 4.37404C2.22073 4.36567 2.22749 4.3575 2.2345 4.34956L2.27773 4.3006C2.28458 4.29285 2.29166 4.28531 2.29898 4.27799L5.42398 1.15299C5.43129 1.14567 5.43884 1.13859 5.44659 1.13174L5.49555 1.08851C5.50951 1.07618 5.52415 1.06464 5.5394 1.05395L5.57951 1.02582C5.59305 1.01633 5.60705 1.00751 5.62147 0.9994L5.67147 0.971275C5.68181 0.965458 5.69235 0.96001 5.70308 0.954943L5.72183 0.946089C5.73059 0.941952 5.73947 0.93807 5.74846 0.934449L5.78336 0.920387C5.79805 0.914467 5.81301 0.909248 5.8282 0.904749L5.88445 0.888082C5.90068 0.883272 5.91715 0.879289 5.93379 0.87615L5.96139 0.870942C5.96714 0.869856 5.97291 0.868872 5.9787 0.86799L6.00943 0.863302C6.0202 0.861659 6.03102 0.860368 6.04188 0.859432L6.07209 0.856828ZM6.13512 1.85781L6.12011 1.87107L3.01706 4.97412L3.00168 4.99154C3.00041 4.99451 2.99984 4.99777 3.00004 5.00104C3.00036 5.0061 3.00251 5.01086 3.00609 5.01445M3.00609 5.01445L6.12226 8.13062L6.13954 8.14626C6.1418 8.14647 6.14848 8.14635 6.15542 8.14308C6.1622 8.13989 6.16489 8.13638 6.16522 8.13589C6.16536 8.13543 6.16659 8.1316 6.16659 8.12477V1.88324L6.16623 1.87249L6.16491 1.86803L6.16272 1.86413L6.15846 1.85932L6.15029 1.85498H6.14119L6.13902 1.85563L6.13512 1.85781' fill='currentColor'/%3E%3C/svg%3E",caretHiddenRight:"data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.83337 1.87506C3.83337 1.87507 3.83337 1.87505 3.83337 1.87506L3.83441 8.12961L3.83506 8.1318L3.83725 8.1357L3.8415 8.14051L3.84973 8.14488L3.8514 8.14537L3.85344 8.14558L3.85649 8.14553L3.86095 8.1442L3.86485 8.14201L3.87986 8.12876L6.98291 5.02571L6.99829 5.00829C6.99956 5.00532 7.00013 5.00207 6.99993 4.99879C6.99961 4.99373 6.99746 4.98897 6.99388 4.98538M3.87772 1.86922L6.99388 4.98538ZM3.87772 1.86922L3.86043 1.85358C3.85817 1.85336 3.85149 1.85348 3.84455 1.85675C3.83777 1.85994 3.83508 1.86345 3.83475 1.86394C3.83461 1.8644 3.83338 1.86828 3.83337 1.87506C3.83337 1.87507 3.83337 1.87505 3.83337 1.87506M2.83337 1.87506C2.83337 1.0018 3.8411 0.552371 4.49267 1.07813C4.5 1.08404 4.50716 1.09016 4.51414 1.09648L4.55789 1.13606C4.56407 1.14165 4.5701 1.14739 4.57599 1.15328L7.70099 4.27828C7.87675 4.45406 7.98236 4.68795 7.99796 4.93603C8.01355 5.18412 7.9381 5.42938 7.78574 5.62579C7.77924 5.63416 7.77248 5.64233 7.76547 5.65027L7.72224 5.69923C7.71539 5.70698 7.70831 5.71453 7.70099 5.72184L4.57599 8.84684C4.56867 8.85416 4.56113 8.86124 4.55338 8.86809L4.50442 8.91132C4.49046 8.92365 4.47582 8.93519 4.46056 8.94588L4.42046 8.97401C4.40692 8.9835 4.39292 8.99232 4.37851 9.00043L4.32851 9.02855C4.31816 9.03437 4.30761 9.03982 4.29688 9.04489L4.27813 9.05374C4.26937 9.05788 4.26049 9.06176 4.2515 9.06538L4.21661 9.07945C4.20192 9.08536 4.18696 9.09058 4.17178 9.09508L4.11553 9.11175C4.09929 9.11656 4.08281 9.12054 4.06617 9.12368L4.02809 9.13087L3.99683 9.13596C3.98119 9.13857 3.96544 9.14043 3.94962 9.14154L3.91994 9.14362C3.91392 9.14404 3.90791 9.14436 3.90188 9.14456L3.87115 9.1456C3.85986 9.14599 3.84856 9.14599 3.83726 9.1456L3.80653 9.14456C3.79786 9.14427 3.78919 9.14375 3.78054 9.143L3.75033 9.1404C3.73988 9.1395 3.72947 9.13827 3.71909 9.13671L3.68784 9.13202C3.68108 9.13101 3.67433 9.12986 3.66761 9.12856L3.64053 9.12336C3.62447 9.12027 3.60857 9.11639 3.59289 9.11175L3.53664 9.09508C3.52145 9.09058 3.50649 9.08536 3.49181 9.07945L3.45691 9.06538C3.44075 9.05887 3.42493 9.05151 3.40953 9.04335L3.34079 9.00689C3.32048 8.99612 3.30094 8.98396 3.2823 8.9705L3.23542 8.93665C3.22083 8.92611 3.20681 8.91478 3.19343 8.90273L3.15124 8.86471C3.13713 8.85199 3.12375 8.83847 3.11118 8.82423L3.06795 8.77527C3.05562 8.76131 3.04408 8.74667 3.03338 8.73141L3.00526 8.69131C2.99576 8.67777 2.98694 8.66377 2.97884 8.64936L2.95071 8.59936C2.94489 8.58901 2.93944 8.57846 2.93437 8.56772L2.92552 8.54897C2.92138 8.54022 2.91751 8.53135 2.91389 8.52237L2.89982 8.48747C2.8939 8.47278 2.88868 8.45781 2.88418 8.44262L2.86752 8.38637C2.86271 8.37014 2.85872 8.35367 2.85559 8.33704L2.8484 8.29894L2.8433 8.26767C2.8407 8.25204 2.83883 8.23629 2.83773 8.22047L2.83564 8.19079C2.83483 8.17917 2.83442 8.16752 2.83442 8.15587L2.83337 1.87506Z' fill='currentColor'/%3E%3C/svg%3E",caretHiddenUp:"data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.76425 2.43099C3.82165 2.3736 3.89801 2.33913 3.97902 2.33403C4.06003 2.32894 4.14012 2.35358 4.20425 2.40333L4.23558 2.43099L6.23558 4.43099L6.26325 4.46233L6.28125 4.48799L6.29925 4.51999L6.30492 4.53199L6.31392 4.55433L6.32458 4.59033L6.32792 4.60799L6.33125 4.62799L6.33258 4.64699L6.33325 4.66666L6.33258 4.68633L6.33092 4.70566L6.32792 4.72566L6.32458 4.74299L6.31392 4.77899L6.30492 4.80133L6.28158 4.84533L6.25992 4.87533L6.23558 4.90233L6.20425 4.92999L6.17858 4.94799L6.14658 4.96599L6.13458 4.97166L6.11225 4.98066L6.07625 4.99133L6.05858 4.99466L6.03858 4.99799L6.01958 4.99933L5.99992 4.99999H1.99992C1.71592 4.99999 1.56758 4.67133 1.73892 4.45899L1.76425 4.43099L3.76425 2.43099Z' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",caretHiddenDown:"data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.9999 3C6.2839 3 6.43224 3.32867 6.2609 3.541L6.23557 3.569L4.23557 5.569C4.17817 5.62639 4.10181 5.66087 4.0208 5.66596C3.93979 5.67106 3.8597 5.64642 3.79557 5.59667L3.76424 5.569L1.76424 3.569L1.73657 3.53767L1.71857 3.512L1.70057 3.48L1.6949 3.468L1.6859 3.44567L1.67524 3.40967L1.6719 3.392L1.66857 3.372L1.66724 3.353V3.31367L1.6689 3.29433L1.6719 3.27433L1.67524 3.257L1.6859 3.221L1.6949 3.19867L1.71824 3.15467L1.7399 3.12467L1.76424 3.09767L1.79557 3.07L1.82124 3.052L1.85324 3.034L1.86524 3.02833L1.88757 3.01933L1.92357 3.00867L1.94124 3.00533L1.96124 3.002L1.98024 3.00067L5.9999 3Z' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",collapseOff:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.33325 8H11.6666' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",collapseOn:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.49988 11.6667C7.49988 11.9428 7.72374 12.1667 7.99988 12.1667C8.27602 12.1667 8.49988 11.9428 8.49988 11.6667V8.50002H11.6666C11.9427 8.50002 12.1666 8.27616 12.1666 8.00002C12.1666 7.72388 11.9427 7.50002 11.6666 7.50002H8.49988V4.33337C8.49988 4.05723 8.27602 3.83337 7.99988 3.83337C7.72374 3.83337 7.49988 4.05723 7.49988 4.33337V7.50002H4.33325C4.05711 7.50002 3.83325 7.72388 3.83325 8.00002C3.83325 8.27616 4.05711 8.50002 4.33325 8.50002H7.49988V11.6667Z' fill='currentColor'/%3E%3C/svg%3E%0A",radio:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='4' fill='currentColor'/%3E%3C/svg%3E%0A",chipClose:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4L4 12M4 4L12 12' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",search:"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none'%3E%3Cg opacity='0.5'%3E%3Cpath d='M28 28L20 20M4 13.3333C4 14.559 4.24141 15.7727 4.71046 16.905C5.1795 18.0374 5.86699 19.0663 6.73367 19.933C7.60035 20.7997 8.62925 21.4872 9.76162 21.9562C10.894 22.4253 12.1077 22.6667 13.3333 22.6667C14.559 22.6667 15.7727 22.4253 16.905 21.9562C18.0374 21.4872 19.0663 20.7997 19.933 19.933C20.7997 19.0663 21.4872 18.0374 21.9562 16.905C22.4253 15.7727 22.6667 14.559 22.6667 13.3333C22.6667 12.1077 22.4253 10.894 21.9562 9.76162C21.4872 8.62925 20.7997 7.60035 19.933 6.73367C19.0663 5.86699 18.0374 5.1795 16.905 4.71046C15.7727 4.24141 14.559 4 13.3333 4C12.1077 4 10.894 4.24141 9.76162 4.71046C8.62925 5.1795 7.60035 5.86699 6.73367 6.73367C5.86699 7.60035 5.1795 8.62925 4.71046 9.76162C4.24141 10.894 4 12.1077 4 13.3333Z' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E"}},43123(e,t){"use strict";t.__esModule=!0;t.default={arrowRight:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.64648 10.9393L9.93938 7.64644L6.64648 4.35354' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",arrowRightWithBar:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.9292 4.64188L8.27934 7.99203L4.9292 11.3422M11.0711 4.08353V11.3422' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E",arrowLeft:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.93933 10.9393L6.64644 7.64644L9.93933 4.35354' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",arrowLeftWithBar:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.0713 4.64188L7.72115 7.99203L11.0713 11.3422M4.92936 4.08353L4.92936 11.3422' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E",arrowDown:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg opacity='0.6'%3E%3Cpath d='M11.5859 6L8.29304 9.29289L5.00015 6' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E",menu:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.0002 6.66663C11.4262 6.66663 11.6487 7.15963 11.3917 7.47813L11.3537 7.52013L8.35372 10.5201C8.26762 10.6062 8.15307 10.6579 8.03156 10.6656C7.91005 10.6732 7.78992 10.6363 7.69372 10.5616L7.64672 10.5201L4.64672 7.52013L4.60522 7.47313L4.57822 7.43463L4.55122 7.38663L4.54272 7.36863L4.52922 7.33513L4.51322 7.28113L4.50822 7.25463L4.50322 7.22463L4.50122 7.19613V7.13713L4.50372 7.10813L4.50822 7.07813L4.51322 7.05213L4.52922 6.99813L4.54272 6.96463L4.57772 6.89863L4.61022 6.85363L4.64672 6.81313L4.69372 6.77163L4.73222 6.74463L4.78022 6.71763L4.79822 6.70913L4.83172 6.69563L4.88572 6.67963L4.91222 6.67463L4.94222 6.66963L4.97072 6.66763L11.0002 6.66663Z' fill='currentColor'/%3E%3C/svg%3E%0A",selectArrow:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.0002 6.66663C11.4262 6.66663 11.6487 7.15963 11.3917 7.47813L11.3537 7.52013L8.35372 10.5201C8.26762 10.6062 8.15307 10.6579 8.03156 10.6656C7.91005 10.6732 7.78992 10.6363 7.69372 10.5616L7.64672 10.5201L4.64672 7.52013L4.60522 7.47313L4.57822 7.43463L4.55122 7.38663L4.54272 7.36863L4.52922 7.33513L4.51322 7.28113L4.50822 7.25463L4.50322 7.22463L4.50122 7.19613V7.13713L4.50372 7.10813L4.50822 7.07813L4.51322 7.05213L4.52922 6.99813L4.54272 6.96463L4.57772 6.89863L4.61022 6.85363L4.64672 6.81313L4.69372 6.77163L4.73222 6.74463L4.78022 6.71763L4.79822 6.70913L4.83172 6.69563L4.88572 6.67963L4.91222 6.67463L4.94222 6.66963L4.97072 6.66763L11.0002 6.66663Z' fill='currentColor'/%3E%3C/svg%3E%0A",arrowNarrowUp:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.00008 12.6667L8.00008 3.33335M8.00008 3.33335L5.33342 6.00002M8.00008 3.33335L10.6667 6.00002' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",arrowNarrowDown:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.00004 3.33331V12.6666M8.00004 12.6666L10.6667 9.99998M8.00004 12.6666L5.33337 9.99998' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",check:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.33337 8.00002L6.66671 11.3334L13.3334 4.66669' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",checkbox:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8L7 10L11 6' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",caretHiddenLeft:"data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.08482 1.35771L6.11503 1.3551H6.17649L6.2067 1.35771L6.23795 1.36239L6.26503 1.3676L6.32128 1.38427L6.35618 1.39833L6.42493 1.43479L6.4718 1.46864L6.51399 1.50667L6.55722 1.55562L6.58534 1.59573L6.61347 1.64573L6.62232 1.66448L6.63639 1.69937L6.65305 1.75562L6.65826 1.78323L6.66347 1.81448L6.66555 1.84417L6.66659 1.87489V8.12489C6.66659 8.56864 6.15305 8.80042 5.82128 8.53271L5.77753 8.49312L2.65253 5.36812C2.56286 5.27844 2.50899 5.15912 2.50103 5.03254C2.49307 4.90596 2.53157 4.78083 2.6093 4.68062L2.65253 4.63167L5.77753 1.50667L5.82649 1.46344L5.86659 1.43531L5.91659 1.40719L5.93534 1.39833L5.97024 1.38427L6.02649 1.3676L6.05409 1.36239L6.08482 1.35771Z' fill='currentColor'/%3E%3C/svg%3E",caretHiddenRight:"data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.33337 1.87499C3.33337 1.43124 3.84692 1.19947 4.17869 1.46718L4.22244 1.50676L7.34744 4.63176C7.43711 4.72145 7.49098 4.84077 7.49894 4.96735C7.5069 5.09392 7.4684 5.21905 7.39067 5.31926L7.34744 5.36822L4.22244 8.49322L4.17348 8.53645L4.13337 8.56457L4.08337 8.5927L4.06462 8.60155L4.02973 8.61562L3.97348 8.63228L3.94587 8.63749L3.91462 8.6427L3.88494 8.64478L3.85421 8.64582L3.82348 8.64478L3.79327 8.64218L3.76202 8.63749L3.73494 8.63228L3.67869 8.61562L3.64379 8.60155L3.57504 8.5651L3.52817 8.53124L3.48598 8.49322L3.44275 8.44426L3.41462 8.40416L3.3865 8.35416L3.37764 8.33541L3.36358 8.30051L3.34692 8.24426L3.34171 8.21666L3.3365 8.18541L3.33442 8.15572L3.33337 1.87499Z' fill='currentColor'/%3E%3C/svg%3E",caretHiddenUp:"data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.76425 2.43099C3.82165 2.3736 3.89801 2.33913 3.97902 2.33403C4.06003 2.32894 4.14012 2.35358 4.20425 2.40333L4.23558 2.43099L6.23558 4.43099L6.26325 4.46233L6.28125 4.48799L6.29925 4.51999L6.30492 4.53199L6.31392 4.55433L6.32458 4.59033L6.32792 4.60799L6.33125 4.62799L6.33258 4.64699L6.33325 4.66666L6.33258 4.68633L6.33092 4.70566L6.32792 4.72566L6.32458 4.74299L6.31392 4.77899L6.30492 4.80133L6.28158 4.84533L6.25992 4.87533L6.23558 4.90233L6.20425 4.92999L6.17858 4.94799L6.14658 4.96599L6.13458 4.97166L6.11225 4.98066L6.07625 4.99133L6.05858 4.99466L6.03858 4.99799L6.01958 4.99933L5.99992 4.99999H1.99992C1.71592 4.99999 1.56758 4.67133 1.73892 4.45899L1.76425 4.43099L3.76425 2.43099Z' fill='currentColor'/%3E%3C/svg%3E%0A",caretHiddenDown:"data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='8' viewBox='0 0 8 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.9999 3C6.2839 3 6.43224 3.32867 6.2609 3.541L6.23557 3.569L4.23557 5.569C4.17817 5.62639 4.10181 5.66087 4.0208 5.66596C3.93979 5.67106 3.8597 5.64642 3.79557 5.59667L3.76424 5.569L1.76424 3.569L1.73657 3.53767L1.71857 3.512L1.70057 3.48L1.6949 3.468L1.6859 3.44567L1.67524 3.40967L1.6719 3.392L1.66857 3.372L1.66724 3.353V3.31367L1.6689 3.29433L1.6719 3.27433L1.67524 3.257L1.6859 3.221L1.6949 3.19867L1.71824 3.15467L1.7399 3.12467L1.76424 3.09767L1.79557 3.07L1.82124 3.052L1.85324 3.034L1.86524 3.02833L1.88757 3.01933L1.92357 3.00867L1.94124 3.00533L1.96124 3.002L1.98024 3.00067L5.9999 3Z' fill='currentColor'/%3E%3C/svg%3E%0A",collapseOff:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.33325 8H11.6666' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",collapseOn:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M7.49988 11.6667C7.49988 11.9428 7.72374 12.1667 7.99988 12.1667C8.27602 12.1667 8.49988 11.9428 8.49988 11.6667V8.50002H11.6666C11.9427 8.50002 12.1666 8.27616 12.1666 8.00002C12.1666 7.72388 11.9427 7.50002 11.6666 7.50002H8.49988V4.33337C8.49988 4.05723 8.27602 3.83337 7.99988 3.83337C7.72374 3.83337 7.49988 4.05723 7.49988 4.33337V7.50002H4.33325C4.05711 7.50002 3.83325 7.72388 3.83325 8.00002C3.83325 8.27616 4.05711 8.50002 4.33325 8.50002H7.49988V11.6667Z' fill='currentColor'/%3E%3C/svg%3E%0A",radio:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='4' fill='currentColor'/%3E%3C/svg%3E%0A",chipClose:"data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4L4 12M4 4L12 12' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A",search:"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none'%3E%3Cg opacity='0.5'%3E%3Cpath d='M28 28L20 20M4 13.3333C4 14.559 4.24141 15.7727 4.71046 16.905C5.1795 18.0374 5.86699 19.0663 6.73367 19.933C7.60035 20.7997 8.62925 21.4872 9.76162 21.9562C10.894 22.4253 12.1077 22.6667 13.3333 22.6667C14.559 22.6667 15.7727 22.4253 16.905 21.9562C18.0374 21.4872 19.0663 20.7997 19.933 19.933C20.7997 19.0663 21.4872 18.0374 21.9562 16.905C22.4253 15.7727 22.6667 14.559 22.6667 13.3333C22.6667 12.1077 22.4253 10.894 21.9562 9.76162C21.4872 8.62925 20.7997 7.60035 19.933 6.73367C19.0663 5.86699 18.0374 5.1795 16.905 4.71046C15.7727 4.24141 14.559 4 13.3333 4C12.1077 4 10.894 4.24141 9.76162 4.71046C8.62925 5.1795 7.60035 5.86699 6.73367 6.73367C5.86699 7.60035 5.1795 8.62925 4.71046 9.76162C4.24141 10.894 4 12.1077 4 13.3333Z' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E"}},80995(e,t){"use strict";t.__esModule=!0;t.default={size_0:"0px",size_0_5:"2px",size_1:"4px",size_2:"8px",size_1_5:"6px",size_3:"12px",size_4:"16px",size_5:"20px",size_6:"24px",size_7:"28px",size_8:"32px",size_9:"36px",size_10:"40px",size_0_25:"1px"}},92628(e,t){"use strict";t.__esModule=!0;t.default={fontFamily:"Inter",fontSize:"13px",fontSizeSmall:"11px",lineHeight:"21px",lineHeightSmall:"16px",fontWeight:"400",letterSpacing:"0px",borderColor:["colors.palette.200","colors.palette.700"],accentColor:["colors.primary.500","colors.primary.100"],foregroundColor:["colors.palette.800","colors.palette.300"],foregroundSecondaryColor:["colors.palette.500","colors.palette.400"],backgroundColor:["colors.white","colors.palette.950"],backgroundSecondaryColor:["colors.palette.50","colors.palette.900"],placeholderColor:["colors.palette.400","colors.palette.500"],readOnlyColor:["colors.palette.500","colors.palette.400"],disabledColor:["colors.palette.400","colors.palette.500"],gapSize:"density.gap",iconSize:"sizing.size_3",tableTransition:"0s",wrapperBorderWidth:"0px",wrapperBorderRadius:"sizing.size_0",wrapperBorderColor:"tokens.borderColor",barForegroundColor:"tokens.foregroundColor",barBackgroundColor:"tokens.backgroundSecondaryColor",barHorizontalPadding:"density.barsHorizontal",barVerticalPadding:"density.barsVertical",shadowColor:["colors.palette.800","colors.palette.300"],shadowX:"sizing.size_0_25",shadowY:"sizing.size_0_25",shadowBlur:"sizing.size_0",shadowOpacity:"8%",cellHorizontalPadding:"density.cellHorizontal",cellVerticalPadding:"density.cellVertical",cellHorizontalBorderColor:"tokens.borderColor",cellVerticalBorderColor:"tokens.borderColor",cellSelectionBorderColor:"tokens.accentColor",cellSelectionBackgroundColor:"tokens.accentColor",cellSuccessBackgroundColor:"#37bc6c33",cellErrorBackgroundColor:"#fa4d3233",cellReadOnlyBackgroundColor:"colors.transparent",cellAutofillSize:"sizing.size_1_5",cellAutofillHitAreaSize:"sizing.size_3",cellAutofillBorderWidth:"sizing.size_0_25",cellAutofillBorderRadius:"sizing.size_0",cellAutofillBorderColor:"tokens.backgroundColor",cellAutofillBackgroundColor:"tokens.accentColor",cellAutofillFillBorderColor:"tokens.foregroundColor",cellEditorBorderWidth:"2px",cellEditorBorderColor:"tokens.accentColor",cellEditorForegroundColor:["colors.palette.950","colors.white"],cellEditorBackgroundColor:"tokens.backgroundColor",cellEditorShadowBlurRadius:"0px",cellEditorShadowColor:"tokens.accentColor",cellMobileHandleSize:"sizing.size_3",cellMobileHandleBorderWidth:"sizing.size_0_25",cellMobileHandleBorderRadius:"sizing.size_3",cellMobileHandleBorderColor:"tokens.accentColor",cellMobileHandleBackgroundColor:"tokens.accentColor",cellMobileHandleBackgroundOpacity:"40%",headerFontWeight:"tokens.fontWeight",headerForegroundColor:"tokens.foregroundColor",headerBackgroundColor:"tokens.backgroundSecondaryColor",headerHighlightedShadowSize:"0px",headerHighlightedForegroundColor:"tokens.foregroundColor",headerHighlightedBackgroundColor:["colors.palette.100","colors.palette.800"],headerActiveBorderColor:"tokens.borderColor",headerActiveForegroundColor:["colors.palette.950","colors.white"],headerActiveBackgroundColor:["colors.primary.400","colors.primary.300"],headerFilterBackgroundColor:"tokens.cellSuccessBackgroundColor",headerRowForegroundColor:"tokens.foregroundColor",headerRowBackgroundColor:"tokens.backgroundSecondaryColor",headerRowHighlightedForegroundColor:"tokens.foregroundColor",headerRowHighlightedBackgroundColor:["colors.palette.100","colors.palette.800"],headerRowActiveForegroundColor:["colors.palette.950","colors.white"],headerRowActiveBackgroundColor:["colors.primary.400","colors.primary.300"],rowHeaderOddBackgroundColor:"tokens.backgroundSecondaryColor",rowHeaderEvenBackgroundColor:"tokens.backgroundSecondaryColor",rowCellOddBackgroundColor:"tokens.backgroundColor",rowCellEvenBackgroundColor:"tokens.backgroundColor",buttonBorderRadius:"sizing.size_0_5",buttonHorizontalPadding:"density.buttonHorizontal",buttonVerticalPadding:"density.buttonVertical",primaryButtonBorderColor:"colors.transparent",primaryButtonForegroundColor:"tokens.backgroundColor",primaryButtonBackgroundColor:"tokens.accentColor",primaryButtonDisabledBorderColor:"colors.transparent",primaryButtonDisabledForegroundColor:"tokens.disabledColor",primaryButtonDisabledBackgroundColor:["colors.palette.100","colors.palette.800"],primaryButtonHoverBorderColor:"colors.transparent",primaryButtonHoverForegroundColor:"tokens.backgroundColor",primaryButtonHoverBackgroundColor:["colors.primary.600","colors.primary.200"],primaryButtonFocusBorderColor:"tokens.backgroundColor",primaryButtonFocusForegroundColor:"tokens.backgroundColor",primaryButtonFocusBackgroundColor:"tokens.accentColor",secondaryButtonBorderColor:"tokens.borderColor",secondaryButtonForegroundColor:"tokens.foregroundColor",secondaryButtonBackgroundColor:"tokens.backgroundColor",secondaryButtonDisabledBorderColor:"tokens.borderColor",secondaryButtonDisabledForegroundColor:"tokens.disabledColor",secondaryButtonDisabledBackgroundColor:["colors.palette.100","colors.palette.800"],secondaryButtonHoverBorderColor:"tokens.borderColor",secondaryButtonHoverForegroundColor:"tokens.foregroundColor",secondaryButtonHoverBackgroundColor:["colors.palette.50","colors.palette.900"],secondaryButtonFocusBorderColor:"tokens.borderColor",secondaryButtonFocusForegroundColor:"tokens.foregroundColor",secondaryButtonFocusBackgroundColor:"tokens.backgroundSecondaryColor",iconButtonBorderRadius:"sizing.size_0_5",iconButtonLargeBorderRadius:"sizing.size_0_5",iconButtonLargePadding:"sizing.size_1",iconButtonBorderColor:["colors.palette.300","colors.palette.600"],iconButtonBackgroundColor:"tokens.backgroundSecondaryColor",iconButtonIconColor:["colors.palette.400","colors.palette.500"],iconButtonHoverBorderColor:["colors.palette.400","colors.palette.500"],iconButtonHoverBackgroundColor:["colors.palette.50","colors.palette.900"],iconButtonHoverIconColor:["colors.palette.400","colors.palette.500"],iconButtonActiveBorderColor:["colors.palette.300","colors.palette.600"],iconButtonActiveBackgroundColor:"tokens.backgroundSecondaryColor",iconButtonActiveIconColor:["colors.palette.400","colors.palette.500"],iconButtonActiveHoverBorderColor:["colors.palette.400","colors.palette.500"],iconButtonActiveHoverBackgroundColor:"tokens.backgroundSecondaryColor",iconButtonActiveHoverIconColor:["colors.palette.400","colors.palette.500"],collapseButtonBorderRadius:"sizing.size_4",collapseButtonOpenBorderColor:["colors.palette.300","colors.palette.600"],collapseButtonOpenBackgroundColor:["colors.white","colors.palette.950"],collapseButtonOpenIconColor:["colors.palette.400","colors.palette.500"],collapseButtonOpenIconActiveColor:["colors.palette.400","colors.palette.500"],collapseButtonOpenHoverBorderColor:["colors.palette.300","colors.palette.600"],collapseButtonOpenHoverBackgroundColor:["colors.white","colors.palette.950"],collapseButtonOpenHoverIconColor:["colors.palette.400","colors.palette.500"],collapseButtonOpenHoverIconActiveColor:["colors.palette.400","colors.palette.500"],collapseButtonCloseBorderColor:["colors.palette.300","colors.palette.600"],collapseButtonCloseBackgroundColor:["colors.palette.50","colors.palette.900"],collapseButtonCloseIconColor:["colors.palette.400","colors.palette.500"],collapseButtonCloseIconActiveColor:["colors.palette.400","colors.palette.500"],collapseButtonCloseHoverBorderColor:["colors.palette.300","colors.palette.600"],collapseButtonCloseHoverBackgroundColor:["colors.palette.50","colors.palette.900"],collapseButtonCloseHoverIconColor:["colors.palette.400","colors.palette.500"],collapseButtonCloseHoverIconActiveColor:["colors.palette.400","colors.palette.500"],linkColor:["colors.primary.600","colors.primary.200"],linkHoverColor:["colors.primary.600","colors.primary.200"],inputBorderWidth:"1px",inputBorderRadius:"sizing.size_1",inputHorizontalPadding:"density.inputHorizontal",inputVerticalPadding:"density.inputVertical",inputBorderColor:"tokens.borderColor",inputForegroundColor:"tokens.foregroundColor",inputBackgroundColor:"tokens.backgroundSecondaryColor",inputHoverBorderColor:"tokens.borderColor",inputHoverForegroundColor:"tokens.foregroundColor",inputHoverBackgroundColor:"tokens.backgroundSecondaryColor",inputDisabledBorderColor:"tokens.borderColor",inputDisabledForegroundColor:"tokens.disabledColor",inputDisabledBackgroundColor:["colors.palette.300","colors.palette.600"],inputFocusBorderColor:"tokens.accentColor",inputFocusForegroundColor:"tokens.foregroundColor",inputFocusBackgroundColor:"tokens.backgroundSecondaryColor",checkboxSize:"tokens.iconSize",checkboxBorderRadius:"sizing.size_0_5",checkboxBorderColor:["colors.palette.400","colors.palette.500"],checkboxBackgroundColor:"tokens.backgroundColor",checkboxIconColor:"colors.transparent",checkboxFocusBorderColor:["colors.palette.400","colors.palette.500"],checkboxFocusBackgroundColor:"tokens.backgroundColor",checkboxFocusIconColor:"colors.transparent",checkboxFocusRingColor:"tokens.accentColor",checkboxDisabledBorderColor:["colors.palette.300","colors.palette.600"],checkboxDisabledBackgroundColor:["colors.palette.100","colors.palette.800"],checkboxDisabledIconColor:"colors.transparent",checkboxCheckedBorderColor:["colors.primary.600","colors.primary.200"],checkboxCheckedBackgroundColor:"tokens.accentColor",checkboxCheckedIconColor:"tokens.backgroundColor",checkboxCheckedFocusBorderColor:"tokens.backgroundColor",checkboxCheckedFocusBackgroundColor:"tokens.accentColor",checkboxCheckedFocusIconColor:"tokens.backgroundColor",checkboxCheckedDisabledBorderColor:["colors.palette.300","colors.palette.600"],checkboxCheckedDisabledBackgroundColor:["colors.palette.100","colors.palette.800"],checkboxCheckedDisabledIconColor:["colors.palette.300","colors.palette.600"],checkboxIndeterminateBorderColor:["colors.primary.600","colors.primary.200"],checkboxIndeterminateBackgroundColor:"tokens.accentColor",checkboxIndeterminateIconColor:"tokens.backgroundColor",checkboxIndeterminateFocusBorderColor:"tokens.backgroundColor",checkboxIndeterminateFocusBackgroundColor:"tokens.accentColor",checkboxIndeterminateFocusIconColor:"tokens.backgroundColor",checkboxIndeterminateDisabledBorderColor:["colors.palette.300","colors.palette.600"],checkboxIndeterminateDisabledBackgroundColor:["colors.palette.100","colors.palette.800"],checkboxIndeterminateDisabledIconColor:["colors.palette.300","colors.palette.600"],radioSize:"tokens.iconSize",radioBorderColor:["colors.palette.400","colors.palette.500"],radioBackgroundColor:"tokens.backgroundColor",radioIconColor:"colors.transparent",radioFocusBorderColor:["colors.palette.400","colors.palette.500"],radioFocusBackgroundColor:"tokens.backgroundColor",radioFocusIconColor:"colors.transparent",radioFocusRingColor:"tokens.accentColor",radioDisabledBorderColor:["colors.palette.300","colors.palette.600"],radioDisabledBackgroundColor:["colors.palette.100","colors.palette.800"],radioDisabledIconColor:"colors.transparent",radioCheckedBorderColor:"tokens.accentColor",radioCheckedBackgroundColor:"tokens.backgroundColor",radioCheckedIconColor:"tokens.accentColor",radioCheckedFocusBorderColor:["colors.primary.600","colors.primary.200"],radioCheckedFocusBackgroundColor:"tokens.backgroundColor",radioCheckedFocusIconColor:"tokens.accentColor",radioCheckedDisabledBorderColor:["colors.palette.300","colors.palette.600"],radioCheckedDisabledBackgroundColor:["colors.palette.100","colors.palette.800"],radioCheckedDisabledIconColor:["colors.palette.300","colors.palette.600"],moveBacklightColor:["colors.palette.800","colors.palette.300"],moveBacklightOpacity:"16%",moveIndicatorColor:["colors.palette.400","colors.palette.500"],resizeIndicatorColor:["colors.palette.400","colors.palette.500"],hiddenIndicatorColor:["colors.palette.400","colors.palette.500"],menuBorderWidth:"1px",menuBorderRadius:"0px",menuHorizontalPadding:"density.menuHorizontal",menuVerticalPadding:"density.menuVertical",menuItemHorizontalPadding:"density.menuItemHorizontal",menuItemVerticalPadding:"density.menuItemVertical",menuBorderColor:"tokens.borderColor",menuShadowX:"tokens.shadowX",menuShadowY:"tokens.shadowY",menuShadowBlur:"tokens.shadowBlur",menuShadowColor:"tokens.borderColor",menuShadowOpacity:"100%",menuItemHoverColor:["colors.palette.800","colors.palette.300"],menuItemHoverColorOpacity:"8%",menuItemActiveColor:["colors.palette.800","colors.palette.300"],menuItemActiveColorOpacity:"12%",commentsTextareaHorizontalPadding:"density.cellHorizontal",commentsTextareaVerticalPadding:"density.cellVertical",commentsTextareaBorderWidth:"1px",commentsTextareaBorderColor:"tokens.borderColor",commentsTextareaForegroundColor:"tokens.foregroundColor",commentsTextareaBackgroundColor:"tokens.backgroundSecondaryColor",commentsTextareaFocusBorderWidth:"1px",commentsTextareaFocusBorderColor:"tokens.accentColor",commentsTextareaFocusForegroundColor:"tokens.foregroundColor",commentsTextareaFocusBackgroundColor:"tokens.backgroundColor",commentsIndicatorSize:"sizing.size_1_5",commentsIndicatorColor:"tokens.accentColor",licenseHorizontalPadding:"tokens.barHorizontalPadding",licenseVerticalPadding:"tokens.barVerticalPadding",licenseForegroundColor:"tokens.barForegroundColor",licenseBackgroundColor:"tokens.barBackgroundColor",paginationBarForegroundColor:"tokens.barForegroundColor",paginationBarBackgroundColor:"tokens.barBackgroundColor",paginationBarHorizontalPadding:"tokens.barHorizontalPadding",paginationBarVerticalPadding:"tokens.barVerticalPadding",dialogSemiTransparentBackgroundColor:["colors.white","colors.palette.950"],dialogSemiTransparentBackgroundOpacity:"80%",dialogSolidBackgroundColor:["colors.white","colors.palette.950"],dialogContentPaddingHorizontal:"density.dialogHorizontal",dialogContentPaddingVertical:"density.dialogVertical",dialogContentBorderRadius:"sizing.size_2",dialogContentBackgroundColor:"tokens.backgroundSecondaryColor",chipBackground:"tokens.backgroundSecondaryColor",chipBorderRadius:"sizing.size_0_5",chipVerticalPadding:"sizing.size_0",chipHorizontalPadding:"sizing.size_1",chipGap:"sizing.size_1",scrollbarBorderRadius:"sizing.size_2",scrollbarTrackColor:"tokens.backgroundSecondaryColor",scrollbarThumbColor:["colors.palette.400","colors.palette.500"]}},46387(e,t){"use strict";t.__esModule=!0;t.default={fontFamily:"Inter",fontSize:"14px",fontSizeSmall:"12px",lineHeight:"20px",lineHeightSmall:"18px",fontWeight:"400",letterSpacing:"0px",borderColor:["colors.palette.100","colors.palette.800"],accentColor:["colors.primary.500","colors.primary.200"],foregroundColor:["colors.palette.700","colors.palette.200"],foregroundSecondaryColor:["colors.palette.500","colors.palette.400"],backgroundColor:["colors.white","colors.palette.950"],backgroundSecondaryColor:["colors.palette.50","colors.palette.900"],placeholderColor:["colors.palette.400","colors.palette.500"],readOnlyColor:["colors.palette.700","colors.palette.200"],disabledColor:["colors.palette.400","colors.palette.500"],gapSize:"density.gap",iconSize:"sizing.size_4",tableTransition:"0.2s",wrapperBorderWidth:"0px",wrapperBorderRadius:"sizing.size_3",wrapperBorderColor:"tokens.borderColor",barForegroundColor:"tokens.foregroundColor",barBackgroundColor:"tokens.backgroundSecondaryColor",barHorizontalPadding:"density.barsHorizontal",barVerticalPadding:"density.barsVertical",shadowColor:["colors.palette.700","colors.palette.200"],shadowX:"sizing.size_0",shadowY:"sizing.size_2",shadowBlur:"sizing.size_4",shadowOpacity:"6%",cellHorizontalPadding:"density.cellHorizontal",cellVerticalPadding:"density.cellVertical",cellHorizontalBorderColor:"colors.transparent",cellVerticalBorderColor:"tokens.borderColor",cellSelectionBorderColor:"tokens.accentColor",cellSelectionBackgroundColor:"tokens.accentColor",cellSuccessBackgroundColor:"#37bc6c4d",cellErrorBackgroundColor:"#fa4d324d",cellReadOnlyBackgroundColor:"tokens.backgroundSecondaryColor",cellAutofillSize:"sizing.size_1_5",cellAutofillHitAreaSize:"sizing.size_3",cellAutofillBorderWidth:"sizing.size_0_25",cellAutofillBorderRadius:"sizing.size_1",cellAutofillBorderColor:"tokens.backgroundColor",cellAutofillBackgroundColor:"tokens.accentColor",cellAutofillFillBorderColor:"tokens.foregroundColor",cellEditorBorderWidth:"2px",cellEditorBorderColor:"tokens.accentColor",cellEditorForegroundColor:["colors.palette.950","colors.white"],cellEditorBackgroundColor:"tokens.backgroundColor",cellEditorShadowBlurRadius:"8px",cellEditorShadowColor:"tokens.accentColor",cellMobileHandleSize:"sizing.size_3",cellMobileHandleBorderWidth:"sizing.size_0_25",cellMobileHandleBorderRadius:"sizing.size_3",cellMobileHandleBorderColor:"tokens.accentColor",cellMobileHandleBackgroundColor:"tokens.accentColor",cellMobileHandleBackgroundOpacity:"40%",headerFontWeight:"tokens.fontWeight",headerForegroundColor:"tokens.foregroundColor",headerBackgroundColor:"tokens.backgroundSecondaryColor",headerHighlightedShadowSize:"1px",headerHighlightedForegroundColor:"tokens.foregroundColor",headerHighlightedBackgroundColor:["colors.palette.100","colors.palette.800"],headerActiveBorderColor:["colors.palette.800","colors.primary.100"],headerActiveForegroundColor:"tokens.backgroundColor",headerActiveBackgroundColor:["colors.palette.950","colors.primary.200"],headerFilterBackgroundColor:"tokens.cellSuccessBackgroundColor",headerRowForegroundColor:"tokens.foregroundColor",headerRowBackgroundColor:"tokens.backgroundColor",headerRowHighlightedForegroundColor:"tokens.foregroundColor",headerRowHighlightedBackgroundColor:["colors.palette.100","colors.palette.800"],headerRowActiveForegroundColor:"tokens.backgroundColor",headerRowActiveBackgroundColor:["colors.palette.950","colors.primary.200"],rowHeaderOddBackgroundColor:"tokens.backgroundColor",rowHeaderEvenBackgroundColor:"tokens.backgroundSecondaryColor",rowCellOddBackgroundColor:"tokens.backgroundColor",rowCellEvenBackgroundColor:"tokens.backgroundSecondaryColor",buttonBorderRadius:"sizing.size_4",buttonHorizontalPadding:"density.buttonHorizontal",buttonVerticalPadding:"density.buttonVertical",primaryButtonBorderColor:"colors.transparent",primaryButtonForegroundColor:"tokens.backgroundColor",primaryButtonBackgroundColor:"tokens.accentColor",primaryButtonDisabledBorderColor:"colors.transparent",primaryButtonDisabledForegroundColor:"tokens.disabledColor",primaryButtonDisabledBackgroundColor:["colors.palette.200","colors.palette.700"],primaryButtonHoverBorderColor:"colors.transparent",primaryButtonHoverForegroundColor:"tokens.backgroundColor",primaryButtonHoverBackgroundColor:["colors.primary.600","colors.primary.100"],primaryButtonFocusBorderColor:"tokens.backgroundColor",primaryButtonFocusForegroundColor:"tokens.backgroundColor",primaryButtonFocusBackgroundColor:"tokens.accentColor",secondaryButtonBorderColor:"tokens.borderColor",secondaryButtonForegroundColor:"tokens.foregroundColor",secondaryButtonBackgroundColor:"tokens.backgroundColor",secondaryButtonDisabledBorderColor:"tokens.borderColor",secondaryButtonDisabledForegroundColor:"tokens.disabledColor",secondaryButtonDisabledBackgroundColor:["colors.palette.50","colors.palette.900"],secondaryButtonHoverBorderColor:"tokens.borderColor",secondaryButtonHoverForegroundColor:"tokens.foregroundColor",secondaryButtonHoverBackgroundColor:["colors.palette.50","colors.palette.900"],secondaryButtonFocusBorderColor:"tokens.borderColor",secondaryButtonFocusForegroundColor:"tokens.foregroundColor",secondaryButtonFocusBackgroundColor:"tokens.backgroundColor",iconButtonBorderRadius:"sizing.size_4",iconButtonLargeBorderRadius:"sizing.size_1",iconButtonLargePadding:"sizing.size_1",iconButtonBorderColor:["colors.palette.50","colors.palette.900"],iconButtonBackgroundColor:"tokens.backgroundSecondaryColor",iconButtonIconColor:["colors.palette.400","colors.palette.500"],iconButtonHoverBorderColor:["colors.palette.50","colors.palette.900"],iconButtonHoverBackgroundColor:["colors.palette.50","colors.palette.900"],iconButtonHoverIconColor:["colors.palette.700","colors.palette.200"],iconButtonActiveBorderColor:"colors.transparent",iconButtonActiveBackgroundColor:"colors.transparent",iconButtonActiveIconColor:"tokens.backgroundColor",iconButtonActiveHoverBorderColor:"colors.transparent",iconButtonActiveHoverBackgroundColor:["colors.palette.950","colors.primary.200"],iconButtonActiveHoverIconColor:"tokens.backgroundColor",collapseButtonBorderRadius:"sizing.size_4",collapseButtonOpenBorderColor:"colors.transparent",collapseButtonOpenBackgroundColor:"colors.transparent",collapseButtonOpenIconColor:["colors.palette.500","colors.palette.400"],collapseButtonOpenIconActiveColor:["colors.palette.400","colors.palette.500"],collapseButtonOpenHoverBorderColor:"colors.transparent",collapseButtonOpenHoverBackgroundColor:"colors.transparent",collapseButtonOpenHoverIconColor:["colors.palette.800","colors.palette.200"],collapseButtonOpenHoverIconActiveColor:["colors.white","colors.palette.950"],collapseButtonCloseBorderColor:"colors.transparent",collapseButtonCloseBackgroundColor:"colors.transparent",collapseButtonCloseIconColor:["colors.palette.500","colors.palette.400"],collapseButtonCloseIconActiveColor:["colors.palette.400","colors.palette.500"],collapseButtonCloseHoverBorderColor:"colors.transparent",collapseButtonCloseHoverBackgroundColor:"colors.transparent",collapseButtonCloseHoverIconColor:["colors.palette.800","colors.palette.200"],collapseButtonCloseHoverIconActiveColor:["colors.white","colors.palette.950"],linkColor:"tokens.accentColor",linkHoverColor:["colors.primary.600","colors.primary.100"],inputBorderWidth:"1px",inputBorderRadius:"sizing.size_1",inputHorizontalPadding:"density.inputHorizontal",inputVerticalPadding:"density.inputVertical",inputBorderColor:"tokens.borderColor",inputForegroundColor:"tokens.foregroundColor",inputBackgroundColor:"tokens.backgroundColor",inputHoverBorderColor:"tokens.borderColor",inputHoverForegroundColor:"tokens.foregroundColor",inputHoverBackgroundColor:"tokens.backgroundColor",inputDisabledBorderColor:"tokens.borderColor",inputDisabledForegroundColor:"tokens.disabledColor",inputDisabledBackgroundColor:"tokens.backgroundColor",inputFocusBorderColor:"tokens.accentColor",inputFocusForegroundColor:"tokens.foregroundColor",inputFocusBackgroundColor:"tokens.backgroundColor",checkboxSize:"tokens.iconSize",checkboxBorderRadius:"sizing.size_1_5",checkboxBorderColor:["colors.palette.400","colors.palette.500"],checkboxBackgroundColor:"tokens.backgroundColor",checkboxIconColor:"colors.transparent",checkboxFocusBorderColor:["colors.palette.400","colors.palette.500"],checkboxFocusBackgroundColor:"tokens.backgroundColor",checkboxFocusIconColor:"colors.transparent",checkboxFocusRingColor:"tokens.accentColor",checkboxDisabledBorderColor:["colors.palette.400","colors.palette.500"],checkboxDisabledBackgroundColor:["colors.palette.50","colors.palette.900"],checkboxDisabledIconColor:"colors.transparent",checkboxCheckedBorderColor:["colors.primary.400","colors.primary.300"],checkboxCheckedBackgroundColor:"tokens.accentColor",checkboxCheckedIconColor:"tokens.backgroundColor",checkboxCheckedFocusBorderColor:"tokens.backgroundColor",checkboxCheckedFocusBackgroundColor:"tokens.accentColor",checkboxCheckedFocusIconColor:"tokens.backgroundColor",checkboxCheckedDisabledBorderColor:["colors.palette.400","colors.palette.500"],checkboxCheckedDisabledBackgroundColor:["colors.palette.50","colors.palette.900"],checkboxCheckedDisabledIconColor:"tokens.disabledColor",checkboxIndeterminateBorderColor:["colors.primary.400","colors.primary.300"],checkboxIndeterminateBackgroundColor:"tokens.accentColor",checkboxIndeterminateIconColor:"tokens.backgroundColor",checkboxIndeterminateFocusBorderColor:"tokens.backgroundColor",checkboxIndeterminateFocusBackgroundColor:"tokens.accentColor",checkboxIndeterminateFocusIconColor:"tokens.backgroundColor",checkboxIndeterminateDisabledBorderColor:["colors.palette.400","colors.palette.500"],checkboxIndeterminateDisabledBackgroundColor:["colors.palette.50","colors.palette.900"],checkboxIndeterminateDisabledIconColor:"tokens.disabledColor",radioSize:"tokens.iconSize",radioBorderColor:["colors.palette.400","colors.palette.500"],radioBackgroundColor:"tokens.backgroundColor",radioIconColor:"colors.transparent",radioFocusBorderColor:["colors.palette.400","colors.palette.500"],radioFocusBackgroundColor:"tokens.backgroundColor",radioFocusIconColor:"colors.transparent",radioFocusRingColor:"tokens.accentColor",radioDisabledBorderColor:["colors.palette.400","colors.palette.500"],radioDisabledBackgroundColor:"tokens.backgroundSecondaryColor",radioDisabledIconColor:"colors.transparent",radioCheckedBorderColor:"tokens.accentColor",radioCheckedBackgroundColor:"tokens.backgroundColor",radioCheckedIconColor:"tokens.accentColor",radioCheckedFocusBorderColor:["colors.primary.400","colors.primary.300"],radioCheckedFocusBackgroundColor:"tokens.backgroundColor",radioCheckedFocusIconColor:"tokens.accentColor",radioCheckedDisabledBorderColor:["colors.palette.400","colors.palette.500"],radioCheckedDisabledBackgroundColor:"tokens.backgroundSecondaryColor",radioCheckedDisabledIconColor:"tokens.disabledColor",moveBacklightColor:["colors.palette.800","colors.palette.200"],moveBacklightOpacity:"6%",moveIndicatorColor:"tokens.accentColor",resizeIndicatorColor:["colors.palette.400","colors.palette.500"],hiddenIndicatorColor:["colors.palette.400","colors.palette.500"],menuBorderWidth:"0px",menuBorderRadius:"sizing.size_3",menuHorizontalPadding:"density.menuHorizontal",menuVerticalPadding:"density.menuVertical",menuItemHorizontalPadding:"density.menuItemHorizontal",menuItemVerticalPadding:"density.menuItemVertical",menuBorderColor:"tokens.borderColor",menuShadowX:"tokens.shadowX",menuShadowY:"tokens.shadowY",menuShadowBlur:"tokens.shadowBlur",menuShadowColor:["colors.palette.950","colors.white"],menuShadowOpacity:"6%",menuItemHoverColor:["colors.palette.500","colors.palette.400"],menuItemHoverColorOpacity:"8%",menuItemActiveColor:"tokens.accentColor",menuItemActiveColorOpacity:"12%",commentsTextareaHorizontalPadding:"density.cellHorizontal",commentsTextareaVerticalPadding:"density.cellVertical",commentsTextareaBorderWidth:"1px",commentsTextareaBorderColor:"colors.transparent",commentsTextareaForegroundColor:"tokens.foregroundColor",commentsTextareaBackgroundColor:"tokens.backgroundSecondaryColor",commentsTextareaFocusBorderWidth:"1px",commentsTextareaFocusBorderColor:"tokens.accentColor",commentsTextareaFocusForegroundColor:"tokens.foregroundColor",commentsTextareaFocusBackgroundColor:"tokens.backgroundColor",commentsIndicatorSize:"sizing.size_1_5",commentsIndicatorColor:"tokens.accentColor",licenseHorizontalPadding:"tokens.barHorizontalPadding",licenseVerticalPadding:"tokens.barVerticalPadding",licenseForegroundColor:"tokens.barForegroundColor",licenseBackgroundColor:"tokens.barBackgroundColor",paginationBarForegroundColor:"tokens.barForegroundColor",paginationBarBackgroundColor:"tokens.barBackgroundColor",paginationBarHorizontalPadding:"tokens.barHorizontalPadding",paginationBarVerticalPadding:"tokens.barVerticalPadding",dialogSemiTransparentBackgroundColor:["colors.white","colors.palette.950"],dialogSemiTransparentBackgroundOpacity:"80%",dialogSolidBackgroundColor:["colors.white","colors.palette.950"],dialogContentPaddingHorizontal:"density.dialogHorizontal",dialogContentPaddingVertical:"density.dialogVertical",dialogContentBorderRadius:"sizing.size_4",dialogContentBackgroundColor:"tokens.backgroundColor",chipBackground:"tokens.backgroundSecondaryColor",chipBorderRadius:"sizing.size_2",chipVerticalPadding:"sizing.size_0",chipHorizontalPadding:"sizing.size_0_5",chipGap:"sizing.size_1",scrollbarBorderRadius:"sizing.size_2",scrollbarTrackColor:"tokens.backgroundSecondaryColor",scrollbarThumbColor:["colors.palette.400","colors.palette.500"]}},99843(e,t){"use strict";t.__esModule=!0;t.default={fontFamily:"Inter",fontSize:"14px",fontSizeSmall:"12px",lineHeight:"20px",lineHeightSmall:"18px",fontWeight:"400",letterSpacing:"0px",borderColor:["colors.palette.100","colors.palette.700"],accentColor:["colors.primary.500","colors.primary.300"],foregroundColor:["colors.palette.800","colors.palette.200"],foregroundSecondaryColor:["colors.palette.400","colors.palette.300"],backgroundColor:["colors.white","colors.palette.950"],backgroundSecondaryColor:["colors.palette.50","colors.palette.900"],placeholderColor:["colors.palette.300","colors.palette.400"],readOnlyColor:["colors.palette.400","colors.palette.300"],disabledColor:["colors.palette.300","colors.palette.400"],gapSize:"density.gap",iconSize:"sizing.size_4",tableTransition:"0.15s",wrapperBorderWidth:"0px",wrapperBorderRadius:"sizing.size_1",wrapperBorderColor:"tokens.borderColor",barForegroundColor:"tokens.foregroundColor",barBackgroundColor:"tokens.backgroundSecondaryColor",barHorizontalPadding:"density.barsHorizontal",barVerticalPadding:"density.barsVertical",shadowColor:["colors.palette.800","colors.palette.200"],shadowX:"sizing.size_0",shadowY:"sizing.size_2",shadowBlur:"sizing.size_4",shadowOpacity:"8%",cellHorizontalPadding:"density.cellHorizontal",cellVerticalPadding:"density.cellVertical",cellHorizontalBorderColor:"tokens.borderColor",cellVerticalBorderColor:"tokens.borderColor",cellSelectionBorderColor:"tokens.accentColor",cellSelectionBackgroundColor:["colors.primary.400","colors.primary.200"],cellSuccessBackgroundColor:"#37bc6c33",cellErrorBackgroundColor:"#fa4d3233",cellReadOnlyBackgroundColor:"tokens.backgroundSecondaryColor",cellAutofillSize:"sizing.size_1_5",cellAutofillHitAreaSize:"sizing.size_3",cellAutofillBorderWidth:"sizing.size_0_25",cellAutofillBorderRadius:"sizing.size_1",cellAutofillBorderColor:"tokens.backgroundColor",cellAutofillBackgroundColor:"tokens.accentColor",cellAutofillFillBorderColor:"tokens.foregroundColor",cellEditorBorderWidth:"2px",cellEditorBorderColor:"tokens.accentColor",cellEditorForegroundColor:["colors.palette.950","colors.white"],cellEditorBackgroundColor:"tokens.backgroundColor",cellEditorShadowBlurRadius:"0px",cellEditorShadowColor:"tokens.accentColor",cellMobileHandleSize:"sizing.size_3",cellMobileHandleBorderWidth:"sizing.size_0_25",cellMobileHandleBorderRadius:"sizing.size_3",cellMobileHandleBorderColor:"tokens.accentColor",cellMobileHandleBackgroundColor:"tokens.accentColor",cellMobileHandleBackgroundOpacity:"40%",headerFontWeight:"tokens.fontWeight",headerForegroundColor:"tokens.foregroundColor",headerBackgroundColor:"tokens.backgroundSecondaryColor",headerHighlightedShadowSize:"0px",headerHighlightedForegroundColor:["colors.palette.950","colors.white"],headerHighlightedBackgroundColor:["colors.palette.100","colors.palette.700"],headerActiveBorderColor:["colors.primary.400","colors.primary.200"],headerActiveForegroundColor:"colors.white",headerActiveBackgroundColor:"tokens.accentColor",headerFilterBackgroundColor:"tokens.cellSuccessBackgroundColor",headerRowForegroundColor:"tokens.foregroundColor",headerRowBackgroundColor:"tokens.backgroundSecondaryColor",headerRowHighlightedForegroundColor:["colors.palette.950","colors.white"],headerRowHighlightedBackgroundColor:["colors.palette.100","colors.palette.700"],headerRowActiveForegroundColor:"colors.white",headerRowActiveBackgroundColor:"tokens.accentColor",rowHeaderOddBackgroundColor:"tokens.backgroundSecondaryColor",rowHeaderEvenBackgroundColor:"tokens.backgroundSecondaryColor",rowCellOddBackgroundColor:"tokens.backgroundColor",rowCellEvenBackgroundColor:"tokens.backgroundColor",buttonBorderRadius:"sizing.size_1",buttonHorizontalPadding:"density.buttonHorizontal",buttonVerticalPadding:"density.buttonVertical",primaryButtonBorderColor:"colors.transparent",primaryButtonForegroundColor:"colors.white",primaryButtonBackgroundColor:"tokens.accentColor",primaryButtonDisabledBorderColor:"colors.transparent",primaryButtonDisabledForegroundColor:"tokens.disabledColor",primaryButtonDisabledBackgroundColor:["colors.palette.100","colors.palette.700"],primaryButtonHoverBorderColor:"colors.transparent",primaryButtonHoverForegroundColor:"tokens.backgroundColor",primaryButtonHoverBackgroundColor:["colors.primary.600","colors.primary.100"],primaryButtonFocusBorderColor:"tokens.backgroundColor",primaryButtonFocusForegroundColor:"tokens.backgroundColor",primaryButtonFocusBackgroundColor:"tokens.accentColor",secondaryButtonBorderColor:"tokens.borderColor",secondaryButtonForegroundColor:"tokens.foregroundColor",secondaryButtonBackgroundColor:"tokens.backgroundColor",secondaryButtonDisabledBorderColor:"tokens.borderColor",secondaryButtonDisabledForegroundColor:"tokens.disabledColor",secondaryButtonDisabledBackgroundColor:["colors.palette.100","colors.palette.700"],secondaryButtonHoverBorderColor:"tokens.borderColor",secondaryButtonHoverForegroundColor:"tokens.foregroundColor",secondaryButtonHoverBackgroundColor:["colors.palette.100","colors.palette.700"],secondaryButtonFocusBorderColor:"tokens.borderColor",secondaryButtonFocusForegroundColor:"tokens.foregroundColor",secondaryButtonFocusBackgroundColor:"tokens.backgroundColor",iconButtonBorderRadius:"sizing.size_0_5",iconButtonLargeBorderRadius:"sizing.size_1",iconButtonLargePadding:"sizing.size_1",iconButtonBorderColor:["colors.palette.50","colors.palette.900"],iconButtonBackgroundColor:"tokens.backgroundSecondaryColor",iconButtonIconColor:["colors.palette.300","colors.palette.400"],iconButtonHoverBorderColor:["colors.palette.200","colors.palette.600"],iconButtonHoverBackgroundColor:["colors.palette.200","colors.palette.600"],iconButtonHoverIconColor:["colors.palette.300","colors.palette.400"],iconButtonActiveBorderColor:["colors.primary.400","colors.primary.200"],iconButtonActiveBackgroundColor:"tokens.accentColor",iconButtonActiveIconColor:"colors.white",iconButtonActiveHoverBorderColor:["colors.primary.400","colors.primary.200"],iconButtonActiveHoverBackgroundColor:["colors.primary.400","colors.primary.200"],iconButtonActiveHoverIconColor:"colors.white",collapseButtonBorderRadius:"sizing.size_1",collapseButtonOpenBorderColor:["colors.palette.200","colors.palette.500"],collapseButtonOpenBackgroundColor:["colors.white","colors.palette.950"],collapseButtonOpenIconColor:["colors.palette.400","colors.palette.300"],collapseButtonOpenIconActiveColor:["colors.palette.400","colors.palette.300"],collapseButtonOpenHoverBorderColor:["colors.palette.200","colors.palette.500"],collapseButtonOpenHoverBackgroundColor:["colors.palette.50","colors.palette.900"],collapseButtonOpenHoverIconColor:["colors.palette.400","colors.palette.300"],collapseButtonOpenHoverIconActiveColor:["colors.palette.400","colors.palette.300"],collapseButtonCloseBorderColor:["colors.palette.200","colors.palette.500"],collapseButtonCloseBackgroundColor:["colors.palette.100","colors.palette.700"],collapseButtonCloseIconColor:["colors.palette.400","colors.palette.300"],collapseButtonCloseIconActiveColor:["colors.palette.400","colors.palette.300"],collapseButtonCloseHoverBorderColor:["colors.palette.200","colors.palette.500"],collapseButtonCloseHoverBackgroundColor:["colors.palette.100","colors.palette.700"],collapseButtonCloseHoverIconColor:["colors.palette.400","colors.palette.300"],collapseButtonCloseHoverIconActiveColor:["colors.palette.400","colors.palette.300"],linkColor:["colors.primary.600","colors.primary.100"],linkHoverColor:"tokens.accentColor",inputBorderWidth:"1px",inputBorderRadius:"sizing.size_1",inputHorizontalPadding:"density.inputHorizontal",inputVerticalPadding:"density.inputVertical",inputBorderColor:"tokens.borderColor",inputForegroundColor:"tokens.foregroundColor",inputBackgroundColor:"tokens.backgroundSecondaryColor",inputHoverBorderColor:"tokens.borderColor",inputHoverForegroundColor:"tokens.foregroundColor",inputHoverBackgroundColor:"tokens.backgroundColor",inputDisabledBorderColor:"tokens.borderColor",inputDisabledForegroundColor:"tokens.disabledColor",inputDisabledBackgroundColor:["colors.palette.200","colors.palette.500"],inputFocusBorderColor:"tokens.accentColor",inputFocusForegroundColor:"tokens.foregroundColor",inputFocusBackgroundColor:"tokens.backgroundColor",checkboxSize:"tokens.iconSize",checkboxBorderRadius:"sizing.size_1",checkboxBorderColor:["colors.palette.200","colors.palette.500"],checkboxBackgroundColor:"tokens.backgroundColor",checkboxIconColor:"colors.transparent",checkboxFocusBorderColor:["colors.palette.200","colors.palette.500"],checkboxFocusBackgroundColor:"tokens.backgroundColor",checkboxFocusIconColor:"colors.transparent",checkboxFocusRingColor:"tokens.accentColor",checkboxDisabledBorderColor:["colors.palette.200","colors.palette.500"],checkboxDisabledBackgroundColor:["colors.palette.100","colors.palette.700"],checkboxDisabledIconColor:"colors.transparent",checkboxCheckedBorderColor:["colors.primary.400","colors.primary.200"],checkboxCheckedBackgroundColor:"tokens.accentColor",checkboxCheckedIconColor:"colors.white",checkboxCheckedFocusBorderColor:"tokens.backgroundColor",checkboxCheckedFocusBackgroundColor:"tokens.accentColor",checkboxCheckedFocusIconColor:"colors.white",checkboxCheckedDisabledBorderColor:["colors.palette.200","colors.palette.500"],checkboxCheckedDisabledBackgroundColor:["colors.palette.100","colors.palette.700"],checkboxCheckedDisabledIconColor:"tokens.disabledColor",checkboxIndeterminateBorderColor:["colors.primary.400","colors.primary.200"],checkboxIndeterminateBackgroundColor:"tokens.accentColor",checkboxIndeterminateIconColor:"colors.white",checkboxIndeterminateFocusBorderColor:"tokens.backgroundColor",checkboxIndeterminateFocusBackgroundColor:"tokens.accentColor",checkboxIndeterminateFocusIconColor:"colors.white",checkboxIndeterminateDisabledBorderColor:["colors.palette.200","colors.palette.600"],checkboxIndeterminateDisabledBackgroundColor:["colors.palette.200","colors.palette.500"],checkboxIndeterminateDisabledIconColor:"tokens.disabledColor",radioSize:"tokens.iconSize",radioBorderColor:["colors.palette.200","colors.palette.500"],radioBackgroundColor:"tokens.backgroundColor",radioIconColor:"colors.transparent",radioFocusBorderColor:"tokens.borderColor",radioFocusBackgroundColor:"tokens.backgroundColor",radioFocusIconColor:"colors.transparent",radioFocusRingColor:"tokens.accentColor",radioDisabledBorderColor:["colors.palette.200","colors.palette.500"],radioDisabledBackgroundColor:["colors.palette.100","colors.palette.700"],radioDisabledIconColor:"colors.transparent",radioCheckedBorderColor:"tokens.accentColor",radioCheckedBackgroundColor:"tokens.backgroundColor",radioCheckedIconColor:"tokens.accentColor",radioCheckedFocusBorderColor:["colors.primary.400","colors.primary.200"],radioCheckedFocusBackgroundColor:"tokens.backgroundColor",radioCheckedFocusIconColor:["colors.primary.400","colors.primary.200"],radioCheckedDisabledBorderColor:["colors.palette.200","colors.palette.500"],radioCheckedDisabledBackgroundColor:["colors.palette.100","colors.palette.700"],radioCheckedDisabledIconColor:"tokens.disabledColor",moveBacklightColor:["colors.palette.800","colors.palette.200"],moveBacklightOpacity:"8%",moveIndicatorColor:"tokens.accentColor",resizeIndicatorColor:["colors.palette.300","colors.palette.400"],hiddenIndicatorColor:["colors.palette.300","colors.palette.400"],menuBorderWidth:"1px",menuBorderRadius:"sizing.size_1",menuHorizontalPadding:"density.menuHorizontal",menuVerticalPadding:"density.menuVertical",menuItemHorizontalPadding:"density.menuItemHorizontal",menuItemVerticalPadding:"density.menuItemVertical",menuBorderColor:"tokens.borderColor",menuShadowX:"tokens.shadowX",menuShadowY:"tokens.shadowY",menuShadowBlur:"tokens.shadowBlur",menuShadowColor:["colors.palette.950","colors.white"],menuShadowOpacity:"8%",menuItemHoverColor:["colors.palette.800","colors.palette.200"],menuItemHoverColorOpacity:"4%",menuItemActiveColor:"tokens.accentColor",menuItemActiveColorOpacity:"8%",commentsTextareaHorizontalPadding:"density.cellHorizontal",commentsTextareaVerticalPadding:"density.cellVertical",commentsTextareaBorderWidth:"1px",commentsTextareaBorderColor:"colors.transparent",commentsTextareaForegroundColor:"tokens.foregroundColor",commentsTextareaBackgroundColor:"tokens.backgroundSecondaryColor",commentsTextareaFocusBorderWidth:"1px",commentsTextareaFocusBorderColor:"tokens.accentColor",commentsTextareaFocusForegroundColor:"tokens.foregroundColor",commentsTextareaFocusBackgroundColor:"tokens.backgroundColor",commentsIndicatorSize:"sizing.size_1_5",commentsIndicatorColor:"tokens.accentColor",licenseHorizontalPadding:"tokens.barHorizontalPadding",licenseVerticalPadding:"tokens.barVerticalPadding",licenseForegroundColor:"tokens.barForegroundColor",licenseBackgroundColor:"tokens.barBackgroundColor",paginationBarForegroundColor:"tokens.barForegroundColor",paginationBarBackgroundColor:"tokens.barBackgroundColor",paginationBarHorizontalPadding:"tokens.barHorizontalPadding",paginationBarVerticalPadding:"tokens.barVerticalPadding",dialogSemiTransparentBackgroundColor:["colors.white","colors.palette.950"],dialogSemiTransparentBackgroundOpacity:"80%",dialogSolidBackgroundColor:["colors.white","colors.palette.950"],dialogContentPaddingHorizontal:"density.dialogHorizontal",dialogContentPaddingVertical:"density.dialogVertical",dialogContentBorderRadius:"sizing.size_2",dialogContentBackgroundColor:"tokens.backgroundSecondaryColor",chipBackground:"tokens.backgroundSecondaryColor",chipBorderRadius:"sizing.size_0_5",chipVerticalPadding:"sizing.size_0",chipHorizontalPadding:"sizing.size_0_5",chipGap:"sizing.size_1",scrollbarBorderRadius:"sizing.size_2",scrollbarTrackColor:"tokens.backgroundSecondaryColor",scrollbarThumbColor:["colors.palette.300","colors.palette.400"]}},38590(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43123)),i=r(o(94506)),s=r(o(92628));t.classicTheme={name:"classic",density:"compact",icons:n.default,colors:i.default,tokens:s.default}},94249(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(78435)),i=r(o(11829)),s=r(o(46387));t.horizonTheme={name:"horizon",density:"comfortable",icons:n.default,colors:i.default,tokens:s.default}},46554(e,t,o){"use strict";t.__esModule=!0;var r=o(38590);t.classicTheme=r.classicTheme;var n=o(96605);t.mainTheme=n.mainTheme;var i=o(94249);t.horizonTheme=i.horizonTheme},96605(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43123)),i=r(o(96969)),s=r(o(99843));t.mainTheme={name:"main",density:"default",icons:n.default,colors:i.default,tokens:s.default}},39956(e,t,o){"use strict";t.__esModule=!0;var r=o(10559),n=o(12320);function i(e,t,o){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,o)}function s(e,t){return e.get(l(e,t))}function a(e,t,o){return e.set(l(e,t),o),o}function l(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var h=new WeakMap,d=new WeakMap,c=new WeakMap,u=new WeakMap,g=new WeakMap;t.ChangesObservable=class{constructor(){let{initialIndexValue:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,h,new Set),i(this,d,[]),i(this,c,[]),i(this,u,!1),i(this,g,!1),a(g,this,null!=e&&e)}createObserver(){const e=new r.ChangesObserver;return s(h,this).add(e),e.addLocalHook("unsubscribe",()=>{s(h,this).delete(e)}),e._writeInitialChanges((0,n.arrayDiff)(s(d,this),s(c,this))),e}emit(e){let t=s(c,this);s(u,this)&&s(d,this).length===e.length||(0===e.length?e=new Array(t.length).fill(s(g,this)):a(d,this,new Array(e.length).fill(s(g,this))),s(u,this)||(a(u,this,!0),t=s(d,this)));const o=(0,n.arrayDiff)(t,e);s(h,this).forEach(e=>e._write(o)),a(c,this,e)}}},10559(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=o(38888),i=r(o(81551));function s(e,t,o){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,o)}function a(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}var l=new WeakMap;class h{constructor(){s(this,l,[])}subscribe(e){var t,o;return this.addLocalHook("change",e),this._write((o=this,(t=l).get(a(t,o)))),this}unsubscribe(){return this.runLocalHooks("unsubscribe"),this.clearLocalHooks(),this}_write(e){return e.length>0&&this.runLocalHooks("change",e),this}_writeInitialChanges(e){var t,o,r;o=this,r=e,(t=l).set(a(t,o),r)}}t.ChangesObserver=h,(0,n.mixin)(h,i.default)},12320(e,t){"use strict";t.__esModule=!0,t.arrayDiff=function(e,t){const o=[];let r=0,n=0;for(;r<e.length&&n<t.length;r++,n++)e[r]!==t[n]&&o.push({op:"replace",index:n,oldValue:e[r],newValue:t[n]});for(;r<t.length;r++)o.push({op:"insert",index:r,oldValue:void 0,newValue:t[r]});for(;n<e.length;n++)o.push({op:"remove",index:n,oldValue:e[n],newValue:void 0});return o}},45978(e,t,o){"use strict";t.__esModule=!0;var r={IndexMapper:!0,getRegisteredMapsCounter:!0,getIncreasedIndexes:!0,getDecreasedIndexes:!0,alterUtilsFactory:!0},n=o(60355);t.IndexMapper=n.IndexMapper;var i=o(63510);t.getRegisteredMapsCounter=i.getRegisteredMapsCounter;var s=o(60362);t.getIncreasedIndexes=s.getIncreasedIndexes,t.getDecreasedIndexes=s.getDecreasedIndexes,t.alterUtilsFactory=s.alterUtilsFactory;var a=o(43592);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===a[e]||(t[e]=a[e]))})},60355(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(6578),s=o(43592),a=o(2120),l=r(o(81551)),h=o(38888),d=o(79416),c=o(39956),u=o(26032);new Set;class g{constructor(){(0,n.default)(this,"indexesSequence",new s.IndexesSequence),(0,n.default)(this,"trimmingMapsCollection",new a.AggregatedCollection(e=>e.some(e=>!0===e),!1)),(0,n.default)(this,"hidingMapsCollection",new a.AggregatedCollection(e=>e.some(e=>!0===e),!1)),(0,n.default)(this,"variousMapsCollection",new a.MapCollection),(0,n.default)(this,"hidingChangesObservable",new c.ChangesObservable({initialIndexValue:!1})),(0,n.default)(this,"notTrimmedIndexesCache",[]),(0,n.default)(this,"notHiddenIndexesCache",[]),(0,n.default)(this,"isBatched",!1),(0,n.default)(this,"indexesSequenceChanged",!1),(0,n.default)(this,"indexesChangeSource",void 0),(0,n.default)(this,"trimmedIndexesChanged",!1),(0,n.default)(this,"hiddenIndexesChanged",!1),(0,n.default)(this,"renderablePhysicalIndexesCache",[]),(0,n.default)(this,"fromPhysicalToVisualIndexesCache",new Map),(0,n.default)(this,"fromVisualToRenderableIndexesCache",new Map),this.indexesSequence.addLocalHook("change",()=>{this.indexesSequenceChanged=!0,this.updateCache(),this.runLocalHooks("indexesSequenceChange",this.indexesChangeSource),this.runLocalHooks("change",this.indexesSequence,null)}),this.trimmingMapsCollection.addLocalHook("change",e=>{this.trimmedIndexesChanged=!0,this.updateCache(),this.runLocalHooks("change",e,this.trimmingMapsCollection)}),this.hidingMapsCollection.addLocalHook("change",e=>{this.hiddenIndexesChanged=!0,this.updateCache(),this.runLocalHooks("change",e,this.hidingMapsCollection)}),this.variousMapsCollection.addLocalHook("change",e=>{this.runLocalHooks("change",e,this.variousMapsCollection)})}suspendOperations(){this.isBatched=!0}resumeOperations(){this.isBatched=!1,this.updateCache()}createChangesObserver(e){return"hiding"!==e&&(0,u.throwWithCause)(`Unsupported index map type "${e}".`),this.hidingChangesObservable.createObserver()}createAndRegisterIndexMap(e,t,o){return this.registerMap(e,(0,s.createIndexMap)(t,o))}registerMap(e,t){(this.trimmingMapsCollection.get(e)||this.hidingMapsCollection.get(e)||this.variousMapsCollection.get(e))&&(0,u.throwWithCause)(`Map with name "${e}" has been already registered.`),t instanceof s.TrimmingMap?this.trimmingMapsCollection.register(e,t):t instanceof s.HidingMap?this.hidingMapsCollection.register(e,t):this.variousMapsCollection.register(e,t);const o=this.getNumberOfIndexes();return o>0&&t.init(o),t}unregisterMap(e){this.trimmingMapsCollection.unregister(e),this.hidingMapsCollection.unregister(e),this.variousMapsCollection.unregister(e)}unregisterAll(){this.trimmingMapsCollection.unregisterAll(),this.hidingMapsCollection.unregisterAll(),this.variousMapsCollection.unregisterAll()}getPhysicalFromVisualIndex(e){const t=this.notTrimmedIndexesCache[e];return(0,d.isDefined)(t)?t:null}getPhysicalFromRenderableIndex(e){const t=this.renderablePhysicalIndexesCache[e];return(0,d.isDefined)(t)?t:null}getVisualFromPhysicalIndex(e){const t=this.fromPhysicalToVisualIndexesCache.get(e);return(0,d.isDefined)(t)?t:null}getVisualFromRenderableIndex(e){return this.getVisualFromPhysicalIndex(this.getPhysicalFromRenderableIndex(e))}getRenderableFromVisualIndex(e){const t=this.fromVisualToRenderableIndexesCache.get(e);return(0,d.isDefined)(t)?t:null}getNearestNotHiddenIndex(e,t){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null===this.getPhysicalFromVisualIndex(e))return null;if(this.fromVisualToRenderableIndexesCache.has(e))return e;const r=Array.from(this.fromVisualToRenderableIndexesCache.keys());let n=-1;return n=t>0?r.findIndex(t=>t>e):r.reverse().findIndex(t=>t<e),-1===n?o?this.getNearestNotHiddenIndex(e,-t,!1):null:r[n]}initToLength(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getNumberOfIndexes();this.notTrimmedIndexesCache=[...new Array(e).keys()],this.notHiddenIndexesCache=[...new Array(e).keys()],this.suspendOperations(),this.indexesChangeSource="init",this.indexesSequence.init(e),this.indexesChangeSource=void 0,this.trimmingMapsCollection.initEvery(e),this.resumeOperations(),this.suspendOperations(),this.hidingMapsCollection.initEvery(e),this.variousMapsCollection.initEvery(e),this.resumeOperations(),this.runLocalHooks("init")}fitToLength(e){const t=this.getNumberOfIndexes();if(e<t){const t=[...Array(this.getNumberOfIndexes()-e).keys()].map(t=>t+e);this.removeIndexes(t)}else this.insertIndexes(t,e-t)}getIndexesSequence(){return this.indexesSequence.getValues()}setIndexesSequence(e){void 0===this.indexesChangeSource&&(this.indexesChangeSource="update"),this.indexesSequence.setValues(e),"update"===this.indexesChangeSource&&(this.indexesChangeSource=void 0)}getNotTrimmedIndexes(){if(!0===(!(arguments.length>0&&void 0!==arguments[0])||arguments[0]))return this.notTrimmedIndexesCache;return this.getIndexesSequence().filter(e=>!1===this.isTrimmed(e))}getNotTrimmedIndexesLength(){return this.getNotTrimmedIndexes().length}getNotHiddenIndexes(){if(!0===(!(arguments.length>0&&void 0!==arguments[0])||arguments[0]))return this.notHiddenIndexesCache;return this.getIndexesSequence().filter(e=>!1===this.isHidden(e))}getNotHiddenIndexesLength(){return this.getNotHiddenIndexes().length}getRenderableIndexes(){if(!0===(!(arguments.length>0&&void 0!==arguments[0])||arguments[0]))return this.renderablePhysicalIndexesCache;return this.getNotTrimmedIndexes().filter(e=>!1===this.isHidden(e))}getRenderableIndexesLength(){return this.getRenderableIndexes().length}getNumberOfIndexes(){return this.getIndexesSequence().length}moveIndexes(e,t){"number"==typeof e&&(e=[e]);const o=(0,i.arrayMap)(e,e=>this.getPhysicalFromVisualIndex(e)),r=this.getNotTrimmedIndexesLength(),n=e.length,a=(0,s.getListWithRemovedItems)(this.getIndexesSequence(),o),l=a.filter(e=>!1===this.isTrimmed(e));let h=a.indexOf(l[l.length-1])+1;if(t+n<r){const e=l[t];h=a.indexOf(e)}this.indexesChangeSource="move",this.setIndexesSequence((0,s.getListWithInsertedItems)(a,h,o)),this.indexesChangeSource=void 0}isTrimmed(e){return this.trimmingMapsCollection.getMergedValueAtIndex(e)}isHidden(e){return this.hidingMapsCollection.getMergedValueAtIndex(e)}insertIndexes(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"start";const r=this.getNotTrimmedIndexes()[e],n=(0,d.isDefined)(r)?r:this.getNumberOfIndexes(),s=this.getIndexesSequence().includes(r)?this.getIndexesSequence().indexOf(r):this.getNumberOfIndexes(),a=(0,i.arrayMap)(new Array(t).fill(n),(e,t)=>e+t);this.suspendOperations(),this.indexesChangeSource="insert",this.indexesSequence.insert(s,a),this.indexesChangeSource=void 0;const l="end"===o?a.map(e=>e+1):a;this.trimmingMapsCollection.insertToEvery(s,l),this.hidingMapsCollection.insertToEvery(s,l),this.variousMapsCollection.insertToEvery(s,l),this.resumeOperations()}removeIndexes(e){this.suspendOperations(),this.indexesChangeSource="remove",this.indexesSequence.remove(e),this.indexesChangeSource=void 0,this.trimmingMapsCollection.removeFromEvery(e),this.hidingMapsCollection.removeFromEvery(e),this.variousMapsCollection.removeFromEvery(e),this.resumeOperations()}updateCache(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.indexesSequenceChanged||this.trimmedIndexesChanged||this.hiddenIndexesChanged;(!0===e||!1===this.isBatched&&!0===t)&&(this.trimmingMapsCollection.updateCache(),this.hidingMapsCollection.updateCache(),this.notTrimmedIndexesCache=this.getNotTrimmedIndexes(!1),this.notHiddenIndexesCache=this.getNotHiddenIndexes(!1),this.renderablePhysicalIndexesCache=this.getRenderableIndexes(!1),this.cacheFromPhysicalToVisualIndexes(),this.cacheFromVisualToRenderableIndexes(),this.hiddenIndexesChanged&&this.hidingChangesObservable.emit(this.hidingMapsCollection.getMergedValues()),this.runLocalHooks("cacheUpdated",{indexesSequenceChanged:this.indexesSequenceChanged,trimmedIndexesChanged:this.trimmedIndexesChanged,hiddenIndexesChanged:this.hiddenIndexesChanged}),this.indexesSequenceChanged=!1,this.trimmedIndexesChanged=!1,this.hiddenIndexesChanged=!1)}cacheFromPhysicalToVisualIndexes(){const e=this.getNotTrimmedIndexesLength();this.fromPhysicalToVisualIndexesCache.clear();for(let t=0;t<e;t+=1){const e=this.getPhysicalFromVisualIndex(t);this.fromPhysicalToVisualIndexesCache.set(e,t)}}cacheFromVisualToRenderableIndexes(){const e=this.getRenderableIndexesLength();this.fromVisualToRenderableIndexesCache.clear();for(let t=0;t<e;t+=1){const e=this.getPhysicalFromRenderableIndex(t),o=this.getVisualFromPhysicalIndex(e);this.fromVisualToRenderableIndexesCache.set(o,t)}}}t.IndexMapper=g,(0,h.mixin)(g,l.default)},9199(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(63510),s=o(6578),a=o(79416);class l extends i.MapCollection{constructor(e,t){super(),(0,n.default)(this,"mergedValuesCache",[]),(0,n.default)(this,"aggregationFunction",void 0),(0,n.default)(this,"fallbackValue",void 0),this.aggregationFunction=e,this.fallbackValue=t}getMergedValues(){if(!0===(!(arguments.length>0&&void 0!==arguments[0])||arguments[0]))return this.mergedValuesCache;if(0===this.getLength())return[];const e=(0,s.arrayMap)(this.get(),e=>e.getValues()),t=[],o=(0,a.isDefined)(e[0])&&e[0].length||0;for(let r=0;r<o;r+=1){const o=[];for(let t=0;t<this.getLength();t+=1)o.push(e[t][r]);t.push(o)}return(0,s.arrayMap)(t,this.aggregationFunction)}getMergedValueAtIndex(e,t){const o=this.getMergedValues(t)[e];return(0,a.isDefined)(o)?o:this.fallbackValue}updateCache(){this.mergedValuesCache=this.getMergedValues(!1)}}t.AggregatedCollection=l},2120(e,t,o){"use strict";t.__esModule=!0;var r=o(9199);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||(t[e]=r[e]))});var n=o(63510);Object.keys(n).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||(t[e]=n[e]))})},63510(e,t,o){"use strict";var r=o(62682);t.__esModule=!0,t.getRegisteredMapsCounter=function(){return l};var n=r(o(43685)),i=o(79416),s=o(38888),a=r(o(81551));let l=0;class h{constructor(){(0,n.default)(this,"collection",new Map)}register(e,t){!1===this.collection.has(e)&&(this.collection.set(e,t),t.addLocalHook("change",()=>this.runLocalHooks("change",t)),l+=1)}unregister(e){const t=this.collection.get(e);(0,i.isDefined)(t)&&(t.destroy(),this.collection.delete(e),this.runLocalHooks("change",t),l-=1)}unregisterAll(){this.collection.forEach((e,t)=>this.unregister(t)),this.collection.clear()}get(e){return(0,i.isUndefined)(e)?Array.from(this.collection.values()):this.collection.get(e)}getLength(){return this.collection.size}removeFromEvery(e){this.collection.forEach(t=>{t.remove(e)})}insertToEvery(e,t){this.collection.forEach(o=>{o.insert(e,t)})}initEvery(e){this.collection.forEach(t=>{t.init(e)})}}t.MapCollection=h,(0,s.mixin)(h,a.default)},42575(e,t,o){"use strict";t.__esModule=!0;var r=o(50195),n=o(6578);class i extends r.PhysicalIndexToValueMap{constructor(){super(arguments.length>0&&void 0!==arguments[0]&&arguments[0])}getHiddenIndexes(){return(0,n.arrayReduce)(this.getValues(),(e,t,o)=>(t&&e.push(o),e),[])}}t.HidingMap=i},43592(e,t,o){"use strict";t.__esModule=!0;var r={createIndexMap:!0,HidingMap:!0,IndexMap:!0,LinkedPhysicalIndexToValueMap:!0,PhysicalIndexToValueMap:!0,TrimmingMap:!0};t.createIndexMap=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;u.has(e)||(0,h.throwWithCause)(`The provided map type ("${e}") does not exist.`);return new(u.get(e))(t)};var n=o(42575);t.HidingMap=n.HidingMap;var i=o(32392);t.IndexMap=i.IndexMap;var s=o(15596);t.LinkedPhysicalIndexToValueMap=s.LinkedPhysicalIndexToValueMap;var a=o(50195);t.PhysicalIndexToValueMap=a.PhysicalIndexToValueMap;var l=o(64117);t.TrimmingMap=l.TrimmingMap;var h=o(26032),d=o(91701);Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===d[e]||(t[e]=d[e]))});var c=o(46719);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||e in t&&t[e]===c[e]||(t[e]=c[e]))});const u=new Map([["hiding",n.HidingMap],["index",i.IndexMap],["linkedPhysicalIndexToValue",s.LinkedPhysicalIndexToValueMap],["physicalIndexToValue",a.PhysicalIndexToValueMap],["trimming",l.TrimmingMap]])},32392(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(94366),s=o(38888),a=o(3179),l=r(o(81551));class h{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;(0,n.default)(this,"indexedValues",[]),(0,n.default)(this,"initValueOrFn",void 0),this.initValueOrFn=e}getValues(){return this.indexedValues}getValueAtIndex(e){const t=this.indexedValues;if(e<t.length)return t[e]}setValues(e){this.indexedValues=e.slice(),this.runLocalHooks("change")}setValueAtIndex(e,t){return e<this.indexedValues.length&&(this.indexedValues[e]=t,this.runLocalHooks("change"),!0)}clear(){this.setDefaultValues()}getLength(){return this.getValues().length}setDefaultValues(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.indexedValues.length;this.indexedValues.length=0,(0,a.isFunction)(this.initValueOrFn)?(0,i.rangeEach)(e-1,e=>this.indexedValues.push(this.initValueOrFn(e))):(0,i.rangeEach)(e-1,()=>this.indexedValues.push(this.initValueOrFn)),this.runLocalHooks("change")}init(e){return this.setDefaultValues(e),this.runLocalHooks("init"),this}insert(){this.runLocalHooks("change")}remove(){this.runLocalHooks("change")}destroy(){this.clearLocalHooks(),this.indexedValues=null,this.initValueOrFn=null}}t.IndexMap=h,(0,s.mixin)(h,l.default)},91701(e,t,o){"use strict";t.__esModule=!0;var r=o(32392),n=o(46719),i=o(60362);class s extends r.IndexMap{constructor(){super(e=>e)}insert(e,t){const o=(0,i.getIncreasedIndexes)(this.indexedValues,t);this.indexedValues=(0,n.getListWithInsertedItems)(o,e,t),super.insert(e,t)}remove(e){const t=(0,n.getListWithRemovedItems)(this.indexedValues,e);this.indexedValues=(0,i.getDecreasedIndexes)(t,e),super.remove(e)}}t.IndexesSequence=s},15596(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(32392),s=o(3557),a=o(46719),l=o(36642),h=o(3179);class d extends i.IndexMap{constructor(){super(...arguments),(0,n.default)(this,"orderOfIndexes",[])}getValues(){return this.orderOfIndexes.map(e=>this.indexedValues[e])}setValues(e){this.orderOfIndexes=[...Array(e.length).keys()],super.setValues(e)}setValueAtIndex(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.orderOfIndexes.length;return e<this.indexedValues.length&&(this.indexedValues[e]=t,!1===this.orderOfIndexes.includes(e)&&this.orderOfIndexes.splice(o,0,e),this.runLocalHooks("change"),!0)}clearValue(e){this.orderOfIndexes=(0,a.getListWithRemovedItems)(this.orderOfIndexes,[e]),(0,h.isFunction)(this.initValueOrFn)?super.setValueAtIndex(e,this.initValueOrFn(e)):super.setValueAtIndex(e,this.initValueOrFn)}getLength(){return this.orderOfIndexes.length}setDefaultValues(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.indexedValues.length;this.orderOfIndexes.length=0,super.setDefaultValues(e)}insert(e,t){this.indexedValues=(0,s.getListWithInsertedItems)(this.indexedValues,e,t,this.initValueOrFn),this.orderOfIndexes=(0,l.getIncreasedIndexes)(this.orderOfIndexes,t),super.insert(e,t)}remove(e){this.indexedValues=(0,s.getListWithRemovedItems)(this.indexedValues,e),this.orderOfIndexes=(0,a.getListWithRemovedItems)(this.orderOfIndexes,e),this.orderOfIndexes=(0,l.getDecreasedIndexes)(this.orderOfIndexes,e),super.remove(e)}getEntries(){return this.orderOfIndexes.map(e=>[e,this.getValueAtIndex(e)])}}t.LinkedPhysicalIndexToValueMap=d},50195(e,t,o){"use strict";t.__esModule=!0;var r=o(32392),n=o(3557);class i extends r.IndexMap{insert(e,t){this.indexedValues=(0,n.getListWithInsertedItems)(this.indexedValues,e,t,this.initValueOrFn),super.insert(e,t)}remove(e){this.indexedValues=(0,n.getListWithRemovedItems)(this.indexedValues,e),super.remove(e)}}t.PhysicalIndexToValueMap=i},64117(e,t,o){"use strict";t.__esModule=!0;var r=o(50195),n=o(6578);class i extends r.PhysicalIndexToValueMap{constructor(){super(arguments.length>0&&void 0!==arguments[0]&&arguments[0])}getTrimmedIndexes(){return(0,n.arrayReduce)(this.getValues(),(e,t,o)=>(t&&e.push(o),e),[])}}t.TrimmingMap=i},36642(e,t,o){"use strict";t.__esModule=!0,t.getDecreasedIndexes=function(e,t){return(0,r.arrayMap)(e,e=>e-t.filter(t=>t<e).length)},t.getIncreasedIndexes=function(e,t){const o=t[0],n=t.length;return(0,r.arrayMap)(e,e=>e>=o?e+n:e)};var r=o(6578)},60362(e,t,o){"use strict";t.__esModule=!0;var r=o(36642);t.getDecreasedIndexes=r.getDecreasedIndexes,t.getIncreasedIndexes=r.getIncreasedIndexes;var n=o(26032),i=o(46719),s=o(3557);const a=new Map([["indexesSequence",{getListWithInsertedItems:i.getListWithInsertedItems,getListWithRemovedItems:i.getListWithRemovedItems}],["physicallyIndexed",{getListWithInsertedItems:s.getListWithInsertedItems,getListWithRemovedItems:s.getListWithRemovedItems}]]);t.alterUtilsFactory=e=>(!1===a.has(e)&&(0,n.throwWithCause)(`Alter strategy with ID '${e}' does not exist.`),a.get(e))},46719(e,t,o){"use strict";t.__esModule=!0,t.getListWithInsertedItems=function(e,t,o){return[...e.slice(0,t),...o,...e.slice(t)]},t.getListWithRemovedItems=function(e,t){return(0,r.arrayFilter)(e,e=>!1===t.includes(e))};var r=o(6578)},3557(e,t,o){"use strict";t.__esModule=!0,t.getListWithInsertedItems=function(e,t,o,n){const i=o.length?o[0]:void 0;return[...e.slice(0,i),...o.map((e,t)=>(0,r.isFunction)(n)?n(e,t):n),...void 0===i?[]:e.slice(i)]},t.getListWithRemovedItems=function(e,t){return(0,n.arrayFilter)(e,(e,o)=>!1===t.includes(o))};var r=o(3179),n=o(6578)},5584(e,t){"use strict";t.__esModule=!0,t.announce=function(e){if(!o)return;o.textContent="",setTimeout(()=>{o&&(o.textContent=e)},100)},t.install=function(e){const t=e.ownerDocument;if(!o){o=t.createElement("div"),o.setAttribute("role","status"),o.setAttribute("aria-live","assertive"),o.setAttribute("aria-atomic","true");const r=o.style;r.position="absolute",r.width="1px",r.height="1px",r.margin="-1px",r.overflow="hidden",r.clipPath="rect(0 0 0 0)",r.whiteSpace="nowrap",e.appendChild(o)}r+=1},t.uninstall=function(){if(0===r)return;1===r&&(o.remove(),o=null);r-=1};let o=null,r=0},46480(e,t){"use strict";function o(e,t,o){e.addEventListener(t,o,!1)}function r(e,t,o){e.removeEventListener(t,o,!1)}function n(e){return e.ownerDocument.defaultView.getComputedStyle(e)}t.__esModule=!0,t.createInputElementResizer=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const i={minHeight:200,maxHeight:300,minWidth:100,maxWidth:300,textContent:e=>e.value,...t},s=e.body,a=e.createTextNode(""),l=e.createElement("span");let h;function d(){var e,t;a.textContent=i.textContent(h),l.style.position="absolute",l.style.fontSize=n(h).fontSize,l.style.fontFamily=n(h).fontFamily,l.style.whiteSpace="pre",s.appendChild(l);const o=parseInt((null===(e=n(h))||void 0===e?void 0:e.paddingInlineStart)||0,10),r=parseInt((null===(t=n(h))||void 0===t?void 0:t.paddingInlineEnd)||0,10),d=l.clientWidth+o+r+1;s.removeChild(l);const c=h.style;c.height=`${i.minHeight}px`,i.minWidth>d?c.width=`${i.minWidth}px`:d>i.maxWidth?c.width=`${i.maxWidth}px`:c.width=`${d}px`;const u=h.scrollHeight?h.scrollHeight-1:0;i.minHeight>u?c.height=`${i.minHeight}px`:i.maxHeight<u?(c.height=`${i.maxHeight}px`,c.overflowY="visible"):c.height=`${u}px`}function c(){e.defaultView.setTimeout(d,0)}return{init:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];h=e,function(e){if(e&&e.minHeight)if("inherit"===e.minHeight)i.minHeight=h.clientHeight;else{const t=parseInt(e.minHeight,10);isNaN(t)||(i.minHeight=t)}if(e&&e.maxHeight)if("inherit"===e.maxHeight)i.maxHeight=h.clientHeight;else{const t=parseInt(e.maxHeight,10);isNaN(t)||(i.maxHeight=t)}if(e&&e.minWidth)if("inherit"===e.minWidth)i.minWidth=h.clientWidth;else{const t=parseInt(e.minWidth,10);isNaN(t)||(i.minWidth=t)}if(e&&e.maxWidth)if("inherit"===e.maxWidth)i.maxWidth=h.clientWidth;else{const t=parseInt(e.maxWidth,10);isNaN(t)||(i.maxWidth=t)}l.firstChild||(l.className="autoResize",l.style.display="inline-block",l.appendChild(a))}(t),"TEXTAREA"===h.nodeName&&(h.style.resize="none",h.style.height=`${i.minHeight}px`,h.style.minWidth=`${i.minWidth}px`,h.style.maxWidth=`${i.maxWidth}px`,h.style.overflowY="hidden"),r&&(o(h,"input",d),o(h,"keydown",c)),d()},resize:d,unObserve(){r(h,"input",d),r(h,"keydown",c)}}}},47389(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685));class i{constructor(e){(0,n.default)(this,"data",void 0),(0,n.default)(this,"next",null),(0,n.default)(this,"prev",null),this.data=e}}t.NodeStructure=i;t.default=class{constructor(){(0,n.default)(this,"first",null),(0,n.default)(this,"last",null)}push(e){const t=new i(e);if(null===this.first)this.first=t,this.last=t;else{const e=this.last;this.last=t,t.prev=e,e.next=t}return t}unshift(e){const t=new i(e);if(null===this.first)this.first=t,this.last=t;else{const e=this.first;this.first=t,t.next=e,e.prev=t}}inorder(e){let t=this.first;for(;t;){const o=e(t);if(t===this.last||!0===o)break;t=t.next}}remove(e){if(null===this.first)return!1;let t,o,r=this.first;for(;r;){if(r.data===e)return t=r.next,o=r.prev,t&&(t.prev=o),o&&(o.next=t),r===this.first&&(this.first=t),r===this.last&&(this.last=o),!0;r=r.next}return!1}hasCycle(){let e=this.first,t=this.first;for(;;){if(null===e)return!1;if(e=e.next,null===e)return!1;if(e=e.next,t=t.next,e===t)return!0}}pop(){if(null===this.last)return null;const e=this.last;return this.last=this.last.prev,e}shift(){if(null===this.first)return null;const e=this.first;return this.first=this.first.next,e}recursiveReverse(){if(!this.first)return;!function e(t,o){o&&(e(o,o.next),o.next=t)}(this.first,this.first.next),this.first.next=null;const e=this.first;this.first=this.last,this.last=e}reverse(){if(!this.first||!this.first.next)return;let e,t=this.first.next,o=this.first;for(;t;)e=t.next,t.next=o,o.prev=t,o=t,t=e;this.first.next=null,this.last.prev=null,e=this.first,this.first=o,this.last=e}}},26600(e,t,o){"use strict";t.__esModule=!0,t.createPriorityMap=function(){let{errorPriorityExists:e,errorPriorityNaN:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const o=new Map;return e=(0,n.isFunction)(e)?e:h,t=(0,n.isFunction)(t)?t:d,{addItem:function(n,s){(0,r.isNumeric)(n)||(0,i.throwWithCause)(t(n));o.has(n)&&(0,i.throwWithCause)(e(n));o.set(n,s)},getItems:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s;const[t,r]=l.get(e)||l.get(s);return[...o].sort((e,o)=>e[0]<o[0]?t:r).map(e=>e[1])}}};var r=o(94366),n=o(3179),i=o(26032);const s=t.ASC="asc",a=t.DESC="desc",l=new Map([[s,[-1,1]],[a,[1,-1]]]),h=e=>`The priority '${e}' is already declared in a map.`,d=e=>`The priority '${e}' is not a number.`},76892(e,t,o){"use strict";var r=o(62682);t.__esModule=!0,t.depthFirstPreOrder=a;var n=r(o(43685)),i=o(26032);const s=t.TRAVERSAL_DF_PRE="DF-pre-order";function a(e,t){let o=e.call(t,this);for(let r=0;r<this.childs.length;r++){if(!1===o)return!1;o=a.call(this.childs[r],e,t)}return o}const l=t.TRAVERSAL_DF_POST="DF-post-order";const h=t.TRAVERSAL_BF="BF";const d=h,c=new Map([[s,a],[l,function e(t,o){for(let r=0;r<this.childs.length;r++){if(!1===e.call(this.childs[r],t,o))return!1}return t.call(o,this)}],[h,function(e,t){const o=[this];!function r(){if(0===o.length)return;const n=o.shift();o.push(...n.childs),!1!==e.call(t,n)&&r()}()}]]);class u{constructor(e){(0,n.default)(this,"data",{}),(0,n.default)(this,"parent",null),(0,n.default)(this,"childs",[]),this.data=e}addChild(e){e.parent=this,this.childs.push(e)}cloneTree(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this;const t=new u({...e.data});for(let o=0;o<e.childs.length;o++)t.addChild(this.cloneTree(e.childs[o]));return t}replaceTreeWith(e){this.data={...e.data},this.childs=[];for(let t=0;t<e.childs.length;t++)this.addChild(e.childs[t])}walkDown(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d;c.has(t)||(0,i.throwWithCause)(`Traversal strategy "${t}" does not exist`),c.get(t).call(this,e,this)}walkUp(e){const t=this,o=r=>{!1!==e.call(t,r)&&null!==r.parent&&o(r.parent)};o(this)}}t.default=u},265(e,t,o){"use strict";t.__esModule=!0,t.createUniqueMap=function(){let{errorIdExists:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=new Map;function o(){return[...t]}function s(e){return t.has(e)}return e=(0,r.isFunction)(e)?e:i,{addItem:function(o,r){s(o)&&(0,n.throwWithCause)(e(o));t.set(o,r)},clear:function(){t.clear()},getId:function(e){const[t]=o().find(t=>{let[o,r]=t;return e===r&&o})||[null];return t},getItem:function(e){return t.get(e)},getItems:o,getValues:function(){return[...t.values()]},hasItem:s,removeItem:function(e){return t.delete(e)}}};var r=o(3179),n=o(26032);const i=e=>`The id '${e}' is already declared in a map.`},1423(e,t,o){"use strict";t.__esModule=!0,t.createUniqueSet=function(){let{errorItemExists:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=new Set;return e=(0,r.isFunction)(e)?e:i,{addItem:function(o){t.has(o)&&(0,n.throwWithCause)(e(o));t.add(o)},clear:function(){t.clear()},getItems:function(){return[...t]}}};var r=o(3179),n=o(26032);const i=e=>`'${e}' value is already declared in a unique set.`},30670(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(23876),s=o(6578),a=o(26032);t.default=class{constructor(e){(0,n.default)(this,"hot",null),(0,n.default)(this,"container",null),(0,n.default)(this,"injected",!1),(0,n.default)(this,"rows",[]),(0,n.default)(this,"columns",[]),(0,n.default)(this,"samples",null),(0,n.default)(this,"settings",{useHeaders:!0}),this.hot=e}addRow(e,t){this.columns.length&&(0,a.throwWithCause)("Doesn't support multi-dimensional table"),this.rows.length||(this.container=this.createContainer(this.hot.rootElement.className));const o={row:e};this.rows.push(o),this.samples=t,this.table=this.createTable(this.hot.table.className),this.table.colGroup.appendChild(this.createColGroupsCol(e)),this.table.tr.appendChild(this.createRow(e)),this.container.container.appendChild(this.table.fragment),o.table=this.table.table}addColumnHeadersRow(e){const t=this.hot.getColHeader(0);if(null!=t){const t={row:-1};this.rows.push(t),this.container=this.createContainer(this.hot.rootElement.className),this.samples=e,this.table=this.createTable(this.hot.table.className),this.table.colGroup.appendChild(this.createColGroupsCol()),this.appendColumnHeadersRow(),this.container.container.appendChild(this.table.fragment),t.table=this.table.table}}addColumn(e,t){this.rows.length&&(0,a.throwWithCause)("Doesn't support multi-dimensional table"),this.columns.length||(this.container=this.createContainer(this.hot.rootElement.className));const o={col:e};this.columns.push(o),this.samples=t,this.table=this.createTable(this.hot.table.className),this.getSetting("useHeaders")&&null!==this.hot.getColHeader(e)&&this.hot.view.appendColHeader(e,this.table.th,void 0,-1),this.table.tBody.appendChild(this.createCol(e)),this.container.container.appendChild(this.table.fragment),o.table=this.table.table}getHeights(e){this.injected||this.injectTable(),(0,s.arrayEach)(this.rows,t=>{const{height:o}=t.table.getBoundingClientRect();e(t.row,Math.ceil(o))})}getWidths(e){this.injected||this.injectTable(),(0,s.arrayEach)(this.columns,t=>{const{width:o}=t.table.getBoundingClientRect();e(t.col,Math.ceil(o))})}setSettings(e){this.settings=e}setSetting(e,t){this.settings||(this.settings={}),this.settings[e]=t}getSettings(){return this.settings}getSetting(e){return this.settings?this.settings[e]:null}createColGroupsCol(e){const t=this.hot.rootDocument.createDocumentFragment();return this.hot.hasRowHeaders()&&t.appendChild(this.createColElement(-1,-1)),this.samples.forEach(o=>{(0,s.arrayEach)(o.strings,o=>{t.appendChild(this.createColElement(o.col,e))})}),t}createRow(e){const{rootDocument:t}=this.hot,o=t.createDocumentFragment(),r=t.createElement("th");return this.hot.hasRowHeaders()&&(this.hot.view.appendRowHeader(e,r),o.appendChild(r)),this.samples.forEach(r=>{(0,s.arrayEach)(r.strings,r=>{const n=r.col,i=this.hot.getCellMeta(e,n),s=this.hot.getCellRenderer(i),a=t.createElement("td");a.setAttribute("ghost-table",1),s(this.hot,a,e,n,this.hot.colToProp(n),r.value,i),o.appendChild(a)})}),o}appendColumnHeadersRow(){const{rootDocument:e}=this.hot,t=e.createDocumentFragment(),o=[];if(this.hot.hasRowHeaders()){const r=e.createElement("th");o.push([-1,r]),t.appendChild(r)}this.samples.forEach(r=>{(0,s.arrayEach)(r.strings,r=>{const n=r.col,i=e.createElement("th");o.push([n,i]),t.appendChild(i)})}),this.table.tHead.appendChild(t),(0,s.arrayEach)(o,e=>{const[t,o]=e;this.hot.view.appendColHeader(t,o)})}createCol(e){const{rootDocument:t}=this.hot,o=t.createDocumentFragment();return this.samples.forEach(r=>{(0,s.arrayEach)(r.strings,r=>{const n=r.row,i=this.hot.getCellMeta(n,e),s=this.hot.getCellRenderer(i),a=t.createElement("td"),l=t.createElement("tr");a.setAttribute("ghost-table",1),s(this.hot,a,n,e,this.hot.colToProp(e),r.value,i),l.appendChild(a),o.appendChild(l)})}),o}clean(){this.rows.length=0,this.rows[-1]=void 0,this.columns.length=0,this.samples&&this.samples.clear(),this.samples=null,this.removeTable()}injectTable(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.injected||((e||this.hot.rootElement).appendChild(this.container.fragment),this.injected=!0)}removeTable(){this.injected&&this.container.container.parentNode&&(this.container.container.parentNode.removeChild(this.container.container),this.container=null,this.injected=!1)}createColElement(e,t){const o=this.hot.rootDocument.createElement("col");let r=0;t>=0&&e>=0&&(r=this.hot.getCellMeta(t,e).colspan);let n=this.hot.getColWidth(e);if(r>1)for(let t=e+1;t<e+r;t++)n+=this.hot.getColWidth(t);return o.style.width=`${n}px`,o}createTable(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const{rootDocument:t}=this.hot,o=t.createDocumentFragment(),r=t.createElement("table"),n=t.createElement("thead"),s=t.createElement("tbody"),a=t.createElement("colgroup"),l=t.createElement("tr"),h=t.createElement("th");return this.isVertical()&&r.appendChild(a),this.isHorizontal()&&(l.appendChild(h),n.appendChild(l),r.style.tableLayout="auto",r.style.width="auto"),r.appendChild(n),this.isVertical()&&s.appendChild(l),r.appendChild(s),(0,i.addClass)(r,e),o.appendChild(r),{fragment:o,table:r,tHead:n,tBody:s,colGroup:a,tr:l,th:h}}createContainer(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const{rootDocument:t}=this.hot,o=t.createDocumentFragment(),r=t.createElement("div"),n=`htGhostTable htAutoSize ${e.trim()}`;return(0,i.addClass)(r,n),o.appendChild(r),{fragment:o,container:r}}isVertical(){return!(!this.rows.length||this.columns.length)}isHorizontal(){return!(!this.columns.length||this.rows.length)}}},79300(e,t,o){"use strict";t.__esModule=!0,t.createPaginator=function(e){let{initialPage:t=-1,size:o=()=>0,onItemSelect:n=()=>{},onClear:i=()=>{}}=e;const s=new Set;let a=(0,r.clamp)(t,-1,h()-1);function l(e,t){const o=h()-1;if(e<0&&(e=o),e>o&&(e=0),s.has(e))return-1;s.add(e);return!1===n(e,!1)&&(e=l(1===t?++e:--e,t)),e}function h(){return Math.max(o(),0)}return{setCurrentPage:function(e){e>-1&&e<h()&&!1!==n(e,!0)&&(a=e)},setPageCursorAt:function(e){e>-1&&e<h()&&(a=e)},getCurrentPage:function(){return a},toFirstItem:function(){h()>0&&(s.clear(),a=l(0,1))},toLastItem:function(){h()>0&&(s.clear(),a=l(h()-1,-1))},toNextItem:function(){h()>0&&(s.clear(),a=l(++a,1))},toPreviousItem:function(){h()>0&&(s.clear(),a=l(--a,-1))},getSize:h,clear:function(){s.clear(),a=t,i()}}};var r=o(94366)},23470(e,t,o){"use strict";t.__esModule=!0,t._dataToHTML=function(e){const t=e.length,o=["<table>"];for(let n=0;n<t;n+=1){const i=e[n],s=i.length,a=[];0===n&&o.push("<tbody>");for(let e=0;e<s;e+=1){const t=i[e],o=(0,r.isEmpty)(t)?"":t.toString().replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/(<br(\s*|\/)>(\r\n|\n)?|\r\n|\n)/g,"<br>\r\n").replace(/\x20{2,}/gi,e=>`<span style="mso-spacerun: yes">${"&nbsp;".repeat(e.length-1)} </span>`).replace(/\t/gi,"&#9;");a.push(`<td>${o}</td>`)}o.push("<tr>",...a,"</tr>"),n+1===t&&o.push("</tbody>")}return o.push("</table>"),o.join("")},t.htmlToGridSettings=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;const o={},r=t.createDocumentFragment(),s=t.createElement("div");r.appendChild(s);let a=e;if("string"==typeof a){const e=a.replace(/<td\b[^>]*?>([\s\S]*?)<\/\s*td>/g,e=>{const t=e.match(/<td\b[^>]*?>/g)[0];return`${t}${e.substring(t.length,e.lastIndexOf("<")).trim().replaceAll(/\n\s+/g," ").replaceAll(/<p.*?>/g,"\n").replace("\n","").replaceAll(/<\/(.*)>\s+$/gm,"</$1>").replace(/(<(?!br)([^>]+)>)/gi,"").replaceAll(/^&nbsp;$/gm,"")}</td>`});s.insertAdjacentHTML("afterbegin",`${e}`),a=s.querySelector("table")}if(!a||!function(e){return"TABLE"===(e&&e.nodeName||"")}(a))return;const l=s.querySelector('meta[name$="enerator"]'),h=null!==a.querySelector("tbody th"),d=a.querySelector("tr"),c=d?Array.from(d.cells).reduce((e,t)=>e+t.colSpan,0)-(h?1:0):0,u=a.tFoot&&Array.from(a.tFoot.rows)||[],g=[];let p=!1,f=0,m=0;if(a.tHead){const e=Array.from(a.tHead.rows).filter(e=>{const t=null!==e.querySelector("td");return t&&g.push(e),!t});f=e.length,p=f>0,f>1?o.nestedHeaders=Array.from(e).reduce((e,t)=>{const o=Array.from(t.cells).reduce((e,t,o)=>{if(h&&0===o)return e;const{colSpan:r,innerHTML:n}=t,i=r>1?{label:n,colspan:r}:n;return e.push(i),e},[]);return e.push(o),e},[]):p&&(o.colHeaders=Array.from(e[0].children).reduce((e,t,o)=>(h&&0===o||e.push(t.innerHTML),e),[]))}g.length&&(o.fixedRowsTop=g.length);u.length&&(o.fixedRowsBottom=u.length);const C=[...g,...Array.from(a.tBodies).reduce((e,t)=>(e.push(...Array.from(t.rows)),e),[]),...u];m=C.length;const w=new Array(m);for(let e=0;e<m;e++)w[e]=new Array(c);const b=[],v=[];for(let e=0;e<m;e++){const t=C[e],o=Array.from(t.cells),r=o.length;for(let t=0;t<r;t++){const r=o[t],{nodeName:s,innerHTML:a,rowSpan:h,colSpan:d}=r,c=w[e].findIndex(e=>void 0===e);if("TD"===s){if(h>1||d>1){for(let t=e;t<e+h;t++)if(t<m)for(let e=c;e<c+d;e++)w[t][e]=null;const t=r.getAttribute("style");t&&t.includes("mso-ignore:colspan")||b.push({col:c,row:e,rowspan:h,colspan:d})}let t="";t=l&&/excel/gi.test(l.content)?a.replace(/[\r\n][\x20]{0,2}/g," ").replace(/<br(\s*|\/)>[\r\n]?[\x20]{0,3}/gim,"\r\n"):a.replace(/<br(\s*|\/)>[\r\n]?/gim,"\r\n"),w[e][c]=t.replace(i,e=>n[e])}else v.push(a)}}b.length&&(o.mergeCells=b);v.length&&(o.rowHeaders=v);w.length&&(o.data=w);return o},t.instanceToHTML=function(e){const t=e.hasColHeaders(),o=e.hasRowHeaders(),n=[t?-1:0,o?-1:0,e.countRows()-1,e.countCols()-1],i=e.getData(...n),s=i.length,a=s>0?i[0].length:0,l=["<table>","</table>"],h=t?["<thead>","</thead>"]:[],d=["<tbody>","</tbody>"],c=o?1:0,u=t?1:0;for(let n=0;n<s;n+=1){const s=t&&0===n,l=[];for(let t=0;t<a;t+=1){const a=!s&&o&&0===t;let h="";if(s)h=`<th>${e.getColHeader(t-c)}</th>`;else if(a)h=`<th>${e.getRowHeader(n-u)}</th>`;else{const o=i[n][t],{hidden:s,rowspan:a,colspan:l}=e.getCellMeta(n-u,t-c);if(!s){const e=[];if(a&&e.push(`rowspan="${a}"`),l&&e.push(`colspan="${l}"`),(0,r.isEmpty)(o))h=`<td ${e.join(" ")}></td>`;else{const t=o.toString().replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/(<br(\s*|\/)>(\r\n|\n)?|\r\n|\n)/g,"<br>\r\n").replace(/\x20/gi,"&nbsp;").replace(/\t/gi,"&#9;");h=`<td ${e.join(" ")}>${t}</td>`}}}l.push(h)}const g=["<tr>",...l,"</tr>"].join("");s?h.splice(1,0,g):d.splice(-1,0,g)}return l.splice(1,0,h.join(""),d.join("")),l.join("")};var r=o(79416);const n={"&nbsp;":" ","&amp;":"&","&lt;":"<","&gt;":">"},i=new RegExp(Object.keys(n).map(e=>`(${e})`).join("|"),"gi")},64428(e,t){"use strict";t.__esModule=!0,t.hasValidParameter=function(e){return e===r},t.isRootInstance=function(e){return o.has(e)},t.registerAsRootInstance=function(e){o.set(e,!0)};const o=t.holder=new WeakMap,r=t.rootInstanceSymbol=Symbol("rootInstance")},46779(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=r(o(43685)),i=o(38888),s=o(26032),a=o(94366),l=o(79416);class h{static get SAMPLE_COUNT(){return 3}constructor(e){(0,n.default)(this,"samples",null),(0,n.default)(this,"dataFactory",null),(0,n.default)(this,"customSampleCount",null),(0,n.default)(this,"allowDuplicates",!1),(0,n.default)(this,"includeHidden",!1),this.dataFactory=e}getSampleCount(){return this.customSampleCount?this.customSampleCount:h.SAMPLE_COUNT}setSampleCount(e){this.customSampleCount=e}setAllowDuplicates(e){this.allowDuplicates=e}setIncludeHidden(e){this.includeHidden=e}generateRowSamples(e,t){return this.generateSamples("row",t,e)}generateColumnSamples(e,t){return this.generateSamples("col",t,e)}generateSamples(e,t,o){const r=new Map,{from:n,to:i}="number"==typeof o?{from:o,to:o}:o;return(0,a.rangeEach)(n,i,o=>{const n=this.generateSample(e,t,o);r.set(o,n)}),r}generateSample(e,t,o){"row"!==e&&"col"!==e&&(0,s.throwWithCause)("Unsupported sample type");const r=new Map,n="row"===e?"col":"row",h=[];return(0,a.rangeEach)(t.from,t.to,t=>{const s="row"===e?this.dataFactory(o,t,this):this.dataFactory(t,o,this);if(!1===s)return;const{value:a,bundleSeed:d}=s,c="string"==typeof d&&d.length>0;let u;u=c?d:(0,i.isObject)(a)?`${Object.keys(a).length}`:Array.isArray(a)?`${a.length}`:`${(0,l.stringify)(a).length}`,r.has(u)||r.set(u,{needed:this.getSampleCount(),strings:[]});const g=r.get(u);if(g.needed){(!(h.indexOf(a)>-1)||this.allowDuplicates||c)&&(g.strings.push({value:a,[n]:t}),h.push(a),g.needed-=1)}}),r}}t.default=h},36016(e,t){"use strict";t.__esModule=!0,t.resolveWithInstance=function(e,t){var r;return null==o||null===(r=o.get(e.guid))||void 0===r?void 0:r.get(t)},t.staticRegister=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"common";o.has(e)||o.set(e,new Map);const t=o.get(e);return{register:function(e,o){t.set(e,o)},getItem:function(e){return t.get(e)},hasItem:function(e){return t.has(e)},getNames:function(){return[...t.keys()]},getValues:function(){return[...t.values()]},clear:function(){o.delete(e),t.clear()}}};const o=t.collection=new Map},13361(e,t,o){"use strict";var r=o(62682);t.__esModule=!0;var n=o(26070),i=r(o(9021));function s(e,t,o){a(e,t),t.set(e,o)}function a(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function l(e,t){return e.get(d(e,t))}function h(e,t,o){return e.set(d(e,t),o),o}function d(e,t,o){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:o;throw new TypeError("Private element is not present on this object")}const c="handsontable-core-styles";var u=new WeakMap,g=new WeakMap,p=new WeakMap,f=new WeakMap,m=new WeakMap,C=new WeakMap,w=new WeakMap,b=new WeakMap,v=new WeakSet;function y(){if(!l(u,this)||!l(m,this)||!l(m,this).head)return;const e=l(m,this).getElementById(c);if(e&&e instanceof HTMLStyleElement)return;const t=l(m,this).createElement("style");t.id=c,t.textContent=i.default,l(m,this).head.appendChild(t)}function S(){const e=this.getCSSVariableValue("line-height"),t=this.getCSSVariableValue("cell-vertical-padding"),o=Math.ceil(parseFloat(this.getStyleForTD("border-bottom-width")));return null===e||null===t||isNaN(o)?null:e+2*t+o}function E(){h(f,this,getComputedStyle(l(p,this)));const e=d(v,this,_).call(this,["box-sizing","border-bottom-width"]);l(w,this).td={...l(w,this).td,"box-sizing":e["box-sizing"],"border-bottom-width":e["border-bottom-width"]}}function _(e){const t=l(m,this),o=l(p,this),r=t.createElement("table"),n=t.createElement("tbody"),i=t.createElement("tr"),s=t.createElement("tr"),a=t.createElement("td");s.appendChild(a),n.appendChild(i),n.appendChild(s),r.appendChild(n),o.appendChild(r);const h=getComputedStyle(a),d={};return e.forEach(e=>{d[e]=h.getPropertyValue(e)}),o.removeChild(r),d}function R(e){const t=Math.ceil(parseFloat(d(v,this,T).call(this,e)));return Number.isNaN(t)?null:t}function T(e){var t;const o=null===(t=l(f,this))||void 0===t?void 0:t.getPropertyValue(e);return""===o?null:o}function M(){h(w,this,{}),h(C,this,{})}t.StylesHandler=class{constructor(e){let{hot:t,rootElement:o,rootDocument:r,onThemeChange:n=()=>{},injectCoreCss:i=!0}=e;var l,c;a(l=this,c=v),c.add(l),s(this,u,void 0),s(this,g,void 0),s(this,p,void 0),s(this,f,void 0),s(this,m,void 0),s(this,C,{}),s(this,w,{}),s(this,b,void 0),h(u,this,t),h(p,this,o),h(m,this,r),h(b,this,n),i&&d(v,this,y).call(this)}getCSSVariableValue(e){var t;if(l(C,this)[`--ht-${e}`])return l(C,this)[`--ht-${e}`];const o=null!==(t=d(v,this,R).call(this,`--ht-${e}`))&&void 0!==t?t:d(v,this,T).call(this,`--ht-${e}`);return null!==o?(l(C,this)[`--ht-${e}`]=o,o):void 0}getStyleForTD(e){var t;return null===(t=l(w,this))||void 0===t||null===(t=t.td)||void 0===t?void 0:t[e]}getDefaultRowHeight(e){const t=d(v,this,S).call(this);return void 0!==e&&e===l(u,this).view.getFirstRenderedVisibleRow()?t+1:t}areCellsBorderBox(){return"border-box"===this.getStyleForTD("box-sizing")}useTheme(e){/ht-theme-.*/.test(e)?(d(v,this,M).call(this),e&&e!==l(g,this)&&h(g,this,e),l(b,this).call(this,l(g,this)),d(v,this,E).call(this)):(0,n.warn)(`${e} isn't a valid theme name. Please ensure it follows the format ht-theme-<theme-name>.`)}getThemeName(){return l(g,this)}clearCache(){d(v,this,M).call(this),d(v,this,E).call(this)}}},4400(e,t,o){"use strict";t.__esModule=!0,t.getValueGetterValue=function(e,t){const{instance:o,visualRow:n,visualCol:i,valueGetter:s}=t;if((0,r.isFunction)(s))return s.call(o,e,n,i,t);return e},t.getValueSetterValue=function(e,t){const{instance:o,visualRow:n,visualCol:i,valueSetter:s}=t;if((0,r.isFunction)(s))return s.call(o,e,n,i,t);return e};var r=o(3179)},10998(e,t,o){"use strict";t.__esModule=!0,t.autocompleteValidator=s;var r=o(38888),n=o(79416);const i=t.VALIDATOR_TYPE="autocomplete";function s(e,t){const o=e=>{return t=e,(0,r.isObject)(t)&&(0,n.isDefined)(t.key)&&(0,n.isDefined)(t.value)?o(e.key)&&o(e.value):null==e;var t};let i=e;o(i)&&(i=""),this.allowEmpty&&""===i?t(!0):this.strict&&this.source?"function"==typeof this.source?this.source(i,a(i,t)):a(i,t)(this.source):t(!0)}function a(e,t){const o=e;return function(e){let n=!1;for(let t=0,i=e.length;t<i;t++)if((0,r.isObjectEqual)(o,e[t])){n=!0;break}t(n)}}s.VALIDATOR_TYPE=i},96068(e,t,o){"use strict";t.__esModule=!0;var r=o(10998);t.VALIDATOR_TYPE=r.VALIDATOR_TYPE,t.autocompleteValidator=r.autocompleteValidator},52166(e,t,o){"use strict";var r=o(62682);t.__esModule=!0,t.correctFormat=d,t.dateValidator=h;var n=r(o(86798)),i=o(95669),s=o(96360),a=o(85418);const l=t.VALIDATOR_TYPE="date";function h(e,t){const o=(0,i.getEditorInstance)(s.EDITOR_TYPE,this.instance);let r=e,a=!0;null==r&&(r="");let l=(0,n.default)(r,this.dateFormat||o.defaultDateFormat,!0).isValid(),h=(0,n.default)(new Date(r)).isValid()||l;if(this.allowEmpty&&""===r&&(h=!0,l=!0),h||(a=!1),!h&&l&&(a=!0),h&&!l)if(!0===this.correctFormat){const e=d(r,this.dateFormat);this.instance.setDataAtCell(this.visualRow,this.visualCol,e,"dateValidator"),a=!0}else a=!1;t(a)}function d(e,t){const o=(0,n.default)((0,a.getNormalizedDate)(e)),r=(0,n.default)(e,t),i=e.search(/[A-Za-z]/g)>-1;let s;return s=o.isValid()&&o.format("x")===r.format("x")||!r.isValid()||i?o:r,s.format(t)}h.VALIDATOR_TYPE=l},88216(e,t,o){"use strict";t.__esModule=!0;var r=o(52166);t.VALIDATOR_TYPE=r.VALIDATOR_TYPE,t.correctFormat=r.correctFormat,t.dateValidator=r.dateValidator},80534(e,t,o){"use strict";t.__esModule=!0,t.dropdownValidator=i;var r=o(10998);const n=t.VALIDATOR_TYPE="dropdown";function i(e,t){r.autocompleteValidator.apply(this,[e,t])}i.VALIDATOR_TYPE=n},6567(e,t,o){"use strict";t.__esModule=!0;var r=o(80534);t.VALIDATOR_TYPE=r.VALIDATOR_TYPE,t.dropdownValidator=r.dropdownValidator},70237(e,t,o){"use strict";t.__esModule=!0,t.registerAllValidators=function(){(0,c.registerValidator)(r.autocompleteValidator),(0,c.registerValidator)(i.dropdownValidator),(0,c.registerValidator)(n.dateValidator),(0,c.registerValidator)(s.intlDateValidator),(0,c.registerValidator)(a.intlTimeValidator),(0,c.registerValidator)(l.multiSelectValidator),(0,c.registerValidator)(h.numericValidator),(0,c.registerValidator)(d.timeValidator)};var r=o(96068);t.autocompleteValidator=r.autocompleteValidator,t.AUTOCOMPLETE_VALIDATOR=r.VALIDATOR_TYPE;var n=o(88216);t.dateValidator=n.dateValidator,t.DATE_VALIDATOR=n.VALIDATOR_TYPE;var i=o(6567);t.dropdownValidator=i.dropdownValidator,t.DROPDOWN_VALIDATOR=i.VALIDATOR_TYPE;var s=o(94961);t.intlDateValidator=s.intlDateValidator,t.INTL_DATE_VALIDATOR=s.VALIDATOR_TYPE;var a=o(83418);t.intlTimeValidator=a.intlTimeValidator,t.INTL_TIME_VALIDATOR=a.VALIDATOR_TYPE;var l=o(21975);t.multiSelectValidator=l.multiSelectValidator,t.MULTISELECT_VALIDATOR=l.VALIDATOR_TYPE;var h=o(28253);t.numericValidator=h.numericValidator,t.NUMERIC_VALIDATOR=h.VALIDATOR_TYPE;var d=o(96775);t.timeValidator=d.timeValidator,t.TIME_VALIDATOR=d.VALIDATOR_TYPE;var c=o(7182);t.registerValidator=c.registerValidator,t.getRegisteredValidatorNames=c.getRegisteredValidatorNames,t.getRegisteredValidators=c.getRegisteredValidators,t.getValidator=c.getValidator,t.hasValidator=c.hasValidator},94961(e,t,o){"use strict";t.__esModule=!0;var r=o(28838);t.VALIDATOR_TYPE=r.VALIDATOR_TYPE,t.SOURCE_DATA_WARNING_MESSAGE=r.SOURCE_DATA_WARNING_MESSAGE,t.intlDateValidator=r.intlDateValidator,t.sourceDataValidator=r.sourceDataValidator},28838(e,t,o){"use strict";t.__esModule=!0,t.intlDateValidator=s,t.sourceDataValidator=function(e,t){if(t.allowEmpty&&(0,n.isEmpty)(e))return!0;return(0,r.isValidISODate)(e)};var r=o(85418),n=o(79416);const i=t.VALIDATOR_TYPE="intl-date";t.SOURCE_DATA_WARNING_MESSAGE='Source data warning ([itemsCount]). Invalid value for "intl-date" cell type.\n\n[affectedCells]\n\nExpected a value compatible with the ISO 8601 date format ("YYYY-MM-DD").';function s(e,t){this.allowEmpty&&(0,n.isEmpty)(e)?t(!0):t((0,r.isValidISODate)(e))}s.VALIDATOR_TYPE=i},83418(e,t,o){"use strict";t.__esModule=!0;var r=o(29342);t.VALIDATOR_TYPE=r.VALIDATOR_TYPE,t.SOURCE_DATA_WARNING_MESSAGE=r.SOURCE_DATA_WARNING_MESSAGE,t.intlTimeValidator=r.intlTimeValidator,t.sourceDataValidator=r.sourceDataValidator},29342(e,t,o){"use strict";t.__esModule=!0,t.intlTimeValidator=s,t.sourceDataValidator=function(e,t){if(t.allowEmpty&&(0,n.isEmpty)(e))return!0;return(0,r.isValidTime)(e)};var r=o(85418),n=o(79416);const i=t.VALIDATOR_TYPE="intl-time";t.SOURCE_DATA_WARNING_MESSAGE='Source data warning ([itemsCount]). Invalid value for "intl-time" cell type.\n\n[affectedCells]\n\nExpected a value compatible with the 24-hour time format ("HH:mm", "HH:mm:ss" or "HH:mm:ss.SSS").';function s(e,t){this.allowEmpty&&(0,n.isEmpty)(e)?t(!0):t((0,r.isValidTime)(e))}s.VALIDATOR_TYPE=i},21975(e,t,o){"use strict";t.__esModule=!0;var r=o(58694);t.VALIDATOR_TYPE=r.VALIDATOR_TYPE,t.multiSelectValidator=r.multiSelectValidator},58694(e,t,o){"use strict";t.__esModule=!0,t.multiSelectValidator=i;var r=o(38888);const n=t.VALIDATOR_TYPE="multiselect";function i(e,t){let o=e;null==o&&(o=""),this.allowEmpty&&""===o?t(!0):(this.allowEmpty||""!==o)&&Array.isArray(o)?Array.isArray(o)&&0===o.length?t(!0):this.source?"function"==typeof this.source?this.source(o,s(o,t)):s(o,t)(this.source):t(!0):t(!1)}function s(e,t){const o=e;return function(e){let n=!0;for(let t=0,i=o.length;t<i;t++){let i=!1;for(let n=0,s=e.length;n<s;n++){if((0,r.isKeyValueObject)(o[t])&&!(0,r.isKeyValueObject)(e[n])||!(0,r.isKeyValueObject)(o[t])&&(0,r.isKeyValueObject)(e[n])){i=!1;break}((0,r.isKeyValueObject)(o[t])&&(0,r.isKeyValueObject)(e[n])&&(0,r.isObjectEqual)(o[t],e[n])||"string"==typeof o[t]&&"string"==typeof e[n]&&o[t]===e[n])&&(i=!0)}if(!i){n=!1;break}}t(n)}}i.VALIDATOR_TYPE=n},28253(e,t,o){"use strict";t.__esModule=!0;var r=o(19310);t.VALIDATOR_TYPE=r.VALIDATOR_TYPE,t.numericValidator=r.numericValidator},19310(e,t,o){"use strict";t.__esModule=!0,t.numericValidator=i;var r=o(94366);const n=t.VALIDATOR_TYPE="numeric";function i(e,t){let o=e;null==o&&(o=""),this.allowEmpty&&""===o?t(!0):t(""!==o&&(0,r.isNumeric)(e))}i.VALIDATOR_TYPE=n},7182(e,t,o){"use strict";t.__esModule=!0,t.getValidator=function(e){if("function"==typeof e)return e;a(e)||(0,n.throwWithCause)(`No registered validator found under "${e}" name`);return s(e)},t.registerValidator=function(e,t){"string"!=typeof e&&(e=(t=e).VALIDATOR_TYPE);i(e,t)};var r=o(36016),n=o(26032);const{register:i,getItem:s,hasItem:a,getNames:l,getValues:h}=(0,r.staticRegister)("validators");t.getRegisteredValidators=h,t.getRegisteredValidatorNames=l,t.hasValidator=a},96775(e,t,o){"use strict";t.__esModule=!0;var r=o(6570);t.VALIDATOR_TYPE=r.VALIDATOR_TYPE,t.timeValidator=r.timeValidator},6570(e,t,o){"use strict";var r=o(62682);t.__esModule=!0,t.timeValidator=a;var n=r(o(86798));const i=["YYYY-MM-DDTHH:mm:ss.SSSZ","X","x"],s=t.VALIDATOR_TYPE="time";function a(e,t){const o=this.timeFormat||"h:mm:ss a";let r=!0,s=e;null===s&&(s=""),s=/^\d{3,}$/.test(s)?parseInt(s,10):s;const a=/^\d{1,2}$/.test(s);a&&(s+=":00");const l=(0,n.default)(s,i,!0).isValid()?(0,n.default)(s):(0,n.default)(s,o);let h=l.isValid(),d=(0,n.default)(s,o,!0).isValid()&&!a;if(this.allowEmpty&&""===s&&(h=!0,d=!0),h||(r=!1),!h&&d&&(r=!0),h&&!d)if(!0===this.correctFormat){const e=l.format(o);this.instance.setDataAtCell(this.visualRow,this.visualCol,e,"timeValidator"),r=!0}else r=!1;t(r)}a.VALIDATOR_TYPE=s},65166(t){"use strict";t.exports=e},75972(e){"use strict";e.exports=t},86798(e){"use strict";e.exports=o},20846(e){"use strict";e.exports=r},43685(e,t,o){var r=o(77856);e.exports=function(e,t,o){return(t=r(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.__esModule=!0,e.exports.default=e.exports},62682(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},34285(e,t,o){var r=o(29506).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},77856(e,t,o){var r=o(29506).default,n=o(34285);e.exports=function(e){var t=n(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},29506(e){function t(o){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(o)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var o=i[e]={exports:{}};return n[e](o,o.exports,s),o.exports}var a={};return(()=>{"use strict";var e=a,t=s(62682);var o=V(s(59824));o.CellCoords,o.CellRange;var r,n,i,l,h,d,c=s(24390),u=V(s(34354)),g=s(45978),p=t(s(78420)),f=t(s(30670)),m=V(s(23470)),C=V(s(6578)),w=V(s(46027)),b=V(s(26891)),v=V(s(85418)),y=V(s(26032)),S=V(s(24605)),E=V(s(3179)),_=V(s(79416)),R=V(s(94366)),T=V(s(38888)),M=V(s(23862)),I=V(s(82268)),k=V(s(23876)),O=V(s(31100)),A=s(95669),x=s(63370),N=s(40647),H=s(13800),P=s(7182),D=s(3868),L=s(17627),B=s(23762),F=s(54917);function V(e,t){if("function"==typeof WeakMap)var o=new WeakMap,r=new WeakMap;return(V=function(e,t){if(!t&&e&&e.__esModule)return e;var n,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(n=t?r:o){if(n.has(e))return n.get(e);n.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(n=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?n(s,t,i):s[t]=e[t]);return s})(e,t)}(0,c.registerAllModules)(),(0,p.default)(o.default),o.default.__GhostTable=f.default,o.default._getListenersCounter=u.getListenersCounter,o.default._getRegisteredMapsCounter=g.getRegisteredMapsCounter,o.default.EventManager=u.default;const W=[C,w,b,v,y,S,E,_,R,T,M,I,m],z=[k,O];o.default.helper={},o.default.dom={},C.arrayEach(W,e=>{C.arrayEach(Object.getOwnPropertyNames(e),t=>{"_"!==t.charAt(0)&&(o.default.helper[t]=e[t])})}),C.arrayEach(z,e=>{C.arrayEach(Object.getOwnPropertyNames(e),t=>{"_"!==t.charAt(0)&&(o.default.dom[t]=e[t])})}),o.default.cellTypes=null!==(r=o.default.cellTypes)&&void 0!==r?r:{},C.arrayEach((0,D.getRegisteredCellTypeNames)(),e=>{o.default.cellTypes[e]=(0,D.getCellType)(e)}),o.default.cellTypes.registerCellType=D.registerCellType,o.default.cellTypes.getCellType=D.getCellType,o.default.editors=null!==(n=o.default.editors)&&void 0!==n?n:{},C.arrayEach((0,A.getRegisteredEditorNames)(),e=>{o.default.editors[`${M.toUpperCaseFirst(e)}Editor`]=(0,A.getEditor)(e)}),o.default.editors.registerEditor=A.registerEditor,o.default.editors.getEditor=A.getEditor,o.default.editors.editorFactory=x.editorFactory,o.default.renderers=null!==(i=o.default.renderers)&&void 0!==i?i:{},C.arrayEach((0,N.getRegisteredRendererNames)(),e=>{const t=(0,N.getRenderer)(e);"base"===e&&(o.default.renderers.cellDecorator=t),o.default.renderers[`${M.toUpperCaseFirst(e)}Renderer`]=t}),o.default.renderers.registerRenderer=N.registerRenderer,o.default.renderers.getRenderer=N.getRenderer,o.default.renderers.rendererFactory=H.rendererFactory,o.default.validators=null!==(l=o.default.validators)&&void 0!==l?l:{},C.arrayEach((0,P.getRegisteredValidatorNames)(),e=>{o.default.validators[`${M.toUpperCaseFirst(e)}Validator`]=(0,P.getValidator)(e)}),o.default.validators.registerValidator=P.registerValidator,o.default.validators.getValidator=P.getValidator,o.default.plugins=null!==(h=o.default.plugins)&&void 0!==h?h:{},C.arrayEach((0,L.getPluginsNames)(),e=>{o.default.plugins[e]=(0,L.getPlugin)(e)}),o.default.plugins[`${M.toUpperCaseFirst(B.BasePlugin.PLUGIN_KEY)}Plugin`]=B.BasePlugin,o.default.plugins.registerPlugin=L.registerPlugin,o.default.plugins.getPlugin=L.getPlugin,o.default.themes=null!==(d=o.default.themes)&&void 0!==d?d:{},o.default.themes.hasTheme=F.hasTheme,o.default.themes.getTheme=F.getTheme,o.default.themes.getThemeNames=F.getThemeNames,o.default.themes.getThemes=F.getThemes,o.default.themes.registerTheme=F.registerTheme,o.default.themes.reinitTheme=F.reinitTheme;e.default=o.default})(),a=a.default})());