@juki-team/base-ui 1.4.108 → 1.4.118
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.
- package/dist/esm/ArrowForwardIcon-CfqRXB-e.js +1 -0
- package/dist/esm/BarChart-BflV6xj2.js +1 -0
- package/dist/esm/{CartesianChart-Baw7HRSt.js → CartesianChart-Be_Msy-L.js} +5 -5
- package/dist/esm/ChangePasswordModal-DX01z_Xk.js +1 -0
- package/dist/esm/CodeEditor-BOGzDG3d.js +1 -0
- package/dist/esm/CodeViewer-DViv-qRC.js +1 -0
- package/dist/esm/Collapse-B-9MQjHh.js +1 -0
- package/dist/esm/{DataGrid-DfeSy9_J.js → DataGrid-DAZ5DKz9.js} +2 -2
- package/dist/esm/DataViewer-D8eXfNsQ.js +1 -0
- package/dist/esm/DrawerView-BVaIELlv.js +1 -0
- package/dist/esm/ExcalidrawButton-pTn865SY.js +1 -0
- package/dist/esm/GraphvizViewer-vH3t2wUS.js +1 -0
- package/dist/esm/ImageLoaderCropper-C5KjohnD.js +1 -0
- package/dist/esm/InputCellPhoneNumber-D9uGI1bD.js +1 -0
- package/dist/esm/InputColor-DrI8PNC-.js +14 -0
- package/dist/esm/LineChart-DLj6A5m5.js +1 -0
- package/dist/esm/MdMath-B4XKMYj5.js +1 -0
- package/dist/esm/{MdMathEditor-CpZtmRPS.js → MdMathEditor-ChZMTVwl.js} +2 -2
- package/dist/esm/{Popover-D_58lHiS.js → Popover-Crnc5Mbi.js} +1 -1
- package/dist/esm/ProblemStatus-FyUP73Qa.js +1 -0
- package/dist/esm/ReplyIcon-MNlM5Yom.js +1 -0
- package/dist/esm/SettingsIcon-DYcyghgs.js +1 -0
- package/dist/esm/SlideDeck-CzwvVTCV.js +1 -0
- package/dist/esm/TableOfContents-CBjKYpSh.js +1 -0
- package/dist/esm/TextHeadCell-Br9BtjJh.js +1 -0
- package/dist/esm/{Tooltip-yTYBsAPO.js → Tooltip-BLaMAeAf.js} +1 -1
- package/dist/esm/{UserCodeEditor-DDOoLvCn.js → UserCodeEditor-BawBx01d.js} +3 -3
- package/dist/esm/VirtualizedRowsFixed-CGitJjiS.js +1 -0
- package/dist/esm/WorksheetAsSlides-CLjpQVm5.js +1 -0
- package/dist/esm/WorksheetBodies-CZeRGme9.js +1 -0
- package/dist/esm/WorksheetContents-CnJBOanQ.js +1 -0
- package/dist/esm/WorksheetEditor-fMHttnD5.js +1 -0
- package/dist/esm/WorksheetNode-Kpoi8x-M.js +1 -0
- package/dist/esm/WorksheetViewer-CcPGkFZY.js +1 -0
- package/dist/esm/{arc-BqJSq9Se.js → arc-CpSlG_nw.js} +1 -1
- package/dist/esm/architecture-YZFGNWBL-B8OIAguO.js +1 -0
- package/dist/esm/architectureDiagram-Q4EWVU46-BqXqiLku.js +1 -0
- package/dist/esm/blockDiagram-DXYQGD6D-yjrbpeL0.js +1 -0
- package/dist/esm/c4Diagram-AHTNJAMY-4NdVv0Ao.js +1 -0
- package/dist/esm/channel-BzbUIu8B.js +1 -0
- package/dist/esm/{chunk-4BX2VUAB-CnWIexnZ.js → chunk-4BX2VUAB-CdXAk4UL.js} +1 -1
- package/dist/esm/{chunk-4TB4RGXK-DZFf4xWt.js → chunk-4TB4RGXK-DeaLGiy0.js} +1 -1
- package/dist/esm/{chunk-55IACEB6--eYNbhf5.js → chunk-55IACEB6-ZkJD77DM.js} +1 -1
- package/dist/esm/{chunk-EDXVE4YY-Bz1Eb3eQ.js → chunk-EDXVE4YY-CqeZhnl8.js} +1 -1
- package/dist/esm/{chunk-FMBD7UC4-_aFPbUyk.js → chunk-FMBD7UC4-B4Z_oaMt.js} +1 -1
- package/dist/esm/{chunk-OYMX7WX6-6xwPlg6L.js → chunk-OYMX7WX6-CiBqSRlH.js} +1 -1
- package/dist/esm/{chunk-QZHKN3VN-Cbrr74yt.js → chunk-QZHKN3VN-C_DglKRL.js} +1 -1
- package/dist/esm/{chunk-YZCP3GAM-bcgQ75kF.js → chunk-YZCP3GAM-C92EM7hh.js} +1 -1
- package/dist/esm/classDiagram-6PBFFD2Q-IphAkZk8.js +1 -0
- package/dist/esm/classDiagram-v2-HSJHXN6E-IphAkZk8.js +1 -0
- package/dist/esm/clone-c8fZ8s2e.js +1 -0
- package/dist/esm/constants.js +1 -1
- package/dist/esm/cose-bilkent-S5V4N54A-DXHTtvh4.js +1 -0
- package/dist/esm/{cytoscape.esm-CCdmu2Bz.js → cytoscape.esm-B8MMPWBb.js} +1 -1
- package/dist/esm/dagre-KV5264BT-C1Bi5Hlh.js +1 -0
- package/dist/esm/date-Be2Mk-oF.js +1 -0
- package/dist/esm/date-DabTuCYQ.js +1 -0
- package/dist/esm/diagram-5BDNPKRD-CRH_FA4_.js +1 -0
- package/dist/esm/diagram-G4DWMVQ6-GP4ahuTv.js +1 -0
- package/dist/esm/diagram-MMDJMWI5-DFTlftEV.js +1 -0
- package/dist/esm/diagram-TYMM5635-Cn4xZrOw.js +1 -0
- package/dist/esm/erDiagram-SMLLAGMA-Ck4PcI--.js +1 -0
- package/dist/esm/flowDiagram-DWJPFMVM-BBbHw1zk.js +1 -0
- package/dist/esm/ganttDiagram-T4ZO3ILL-GoBARLMA.js +1 -0
- package/dist/esm/gitGraph-7Q5UKJZL-D0FpBDlQ.js +1 -0
- package/dist/esm/gitGraphDiagram-UUTBAWPF-B-znwuk7.js +1 -0
- package/dist/esm/{graph-i0Iev2-Z.js → graph-D6v73SUk.js} +1 -1
- package/dist/esm/helpers.js +1 -1
- package/dist/esm/index-B0Ju49H0.js +1 -0
- package/dist/esm/{index-9OsMb8z-.js → index-B8o5x2RR.js} +1 -1
- package/dist/esm/index-BD_n8l03.js +1 -0
- package/dist/esm/index-BWbfbDmw.js +1 -0
- package/dist/esm/{index-B5nEC544.js → index-BXwIVJ1i.js} +1 -1
- package/dist/esm/{index-C8adNPQr.js → index-B_SR88hF.js} +1 -1
- package/dist/esm/{index-BD2F8534.js → index-BdEuQrE0.js} +1 -1
- package/dist/esm/{index-nQf0NFR-.js → index-Buo8u5Rd.js} +1 -1
- package/dist/esm/{index-rdA_qZgh.js → index-BypZQ30J.js} +1 -1
- package/dist/esm/{index-BR_DZYGh.js → index-CG-nC_T_.js} +1 -1
- package/dist/esm/{index-lcxmGwoj.js → index-CG5i3mPd.js} +1 -1
- package/dist/esm/{index-C1WDoixa.js → index-CHC6KNKh.js} +1 -1
- package/dist/esm/{index-M6y9Wbel.js → index-CLMLLwc9.js} +1 -1
- package/dist/esm/{index-CxP7N0Hx.js → index-CUjyY2a3.js} +1 -1
- package/dist/esm/{index-BEVf94U5.js → index-C__8JPAk.js} +1 -1
- package/dist/esm/index-CjH2xgIx.js +2 -0
- package/dist/esm/{index-CgfL5OzV.js → index-CoedJ1ql.js} +1 -1
- package/dist/esm/{index-BLW3It0q.js → index-CueeU9Hx.js} +1 -1
- package/dist/esm/{index-DzHNpFcT.js → index-D1ky-z91.js} +1 -1
- package/dist/esm/{index-BjZU1VKq.js → index-DDs-O4vd.js} +1 -1
- package/dist/esm/{index-1CDORI5w.js → index-DEH449Hc.js} +1 -1
- package/dist/esm/{index-BUSYadhg.js → index-DFMzt8xL.js} +1 -1
- package/dist/esm/{index-CWn0Vi5N.js → index-DI-7QOUe.js} +1 -1
- package/dist/esm/{index-BmpEdvsk.js → index-DUtxMiYq.js} +1 -1
- package/dist/esm/index-DaLn6fdm.js +1 -0
- package/dist/esm/{index-CNCj4you.js → index-DquUMjcv.js} +1 -1
- package/dist/esm/{index-CQlgVNck.js → index-MkWt_kX0.js} +1 -1
- package/dist/esm/{index-CM96a8L6.js → index-_eiBoCQ6.js} +1 -1
- package/dist/esm/{index-DJK6aeDm.js → index-a79hibwg.js} +1 -1
- package/dist/esm/{index-Cpax-OZ_.js → index-iowlALIm.js} +1 -1
- package/dist/esm/{index-DptBXgBN.js → index-tGGDvGCv.js} +1 -1
- package/dist/esm/info-OMHHGYJF-DloUnReg.js +1 -0
- package/dist/esm/infoDiagram-42DDH7IO-BZXN5IXJ.js +1 -0
- package/dist/esm/ishikawaDiagram-UXIWVN3A-DyGvD6G7.js +1 -0
- package/dist/esm/journeyDiagram-VCZTEJTY-DxXXhahs.js +1 -0
- package/dist/esm/kanban-definition-6JOO6SKY-D4Fz7zVa.js +1 -0
- package/dist/esm/{layout-Dl8swpJM.js → layout-FPgIfzKv.js} +1 -1
- package/dist/esm/{lib-DdKR2uQv.js → lib-mG56Y3Rb.js} +1 -1
- package/dist/esm/{linear-Bjc68iA-.js → linear-BRlKh6eb.js} +1 -1
- package/dist/esm/main.js +1 -1
- package/dist/esm/{mermaid-parser.core-CKOUdqet.js → mermaid-parser.core-BCKOf1D4.js} +1 -1
- package/dist/esm/{mermaid.core-DcN2Nakz.js → mermaid.core-Dx_hE5Vb.js} +1 -1
- package/dist/esm/mindmap-definition-QFDTVHPH-BudCGGFH.js +1 -0
- package/dist/esm/packet-4T2RLAQJ-DrY-zHX-.js +1 -0
- package/dist/esm/pie-ZZUOXDRM-Ong88F43.js +1 -0
- package/dist/esm/pieDiagram-DEJITSTG-BhJWS0Q4.js +1 -0
- package/dist/esm/quadrantDiagram-34T5L4WZ-WoNzEH2-.js +1 -0
- package/dist/esm/radar-PYXPWWZC-D57lFxmR.js +1 -0
- package/dist/esm/requirementDiagram-MS252O5E-C0M6L425.js +1 -0
- package/dist/esm/sankeyDiagram-XADWPNL6-DwH4gDO6.js +1 -0
- package/dist/esm/sequenceDiagram-FGHM5R23-DgDclAkj.js +1 -0
- package/dist/esm/server.js +1 -1
- package/dist/esm/settings.js +1 -1
- package/dist/esm/stateDiagram-FHFEXIEX-CuWet3bI.js +1 -0
- package/dist/esm/stateDiagram-v2-QKLJ7IA2-CGfwkJ3x.js +1 -0
- package/dist/esm/{time-D_shzpG-.js → time-CyaZFqIA.js} +1 -1
- package/dist/esm/timeline-definition-GMOUNBTQ-BMFr1mBJ.js +1 -0
- package/dist/esm/treeView-SZITEDCU-CYq4WblB.js +1 -0
- package/dist/esm/treemap-W4RFUUIX-70AFdrYl.js +1 -0
- package/dist/esm/{types-5lPOp5sX.js → types-DMKo-tVy.js} +1 -1
- package/dist/esm/vennDiagram-DHZGUBPP-D0NR4Ns6.js +1 -0
- package/dist/esm/wardley-RL74JXVD-Kam1OQea.js +1 -0
- package/dist/esm/wardleyDiagram-NUSXRM2D-CTlkGBtH.js +1 -0
- package/dist/esm/websocket-CoMeGplN.js +1 -0
- package/dist/esm/{worksheet-C49PpYy4.js → worksheet-BxUIsAEo.js} +1 -1
- package/dist/esm/worksheet-ClM0CaBH.js +1 -0
- package/dist/esm/{worksheet-b5Ja38dB.js → worksheet-D1AAXRU9.js} +1 -1
- package/dist/esm/xychartDiagram-5P7HB3ND-CWDBw8NU.js +1 -0
- package/dist/module-types/src/components/atoms/T/T.server.d.ts +2 -0
- package/dist/module-types/src/components/atoms/T/cache.d.ts +4 -0
- package/dist/module-types/src/components/atoms/T/client.d.ts +7 -0
- package/dist/module-types/src/components/atoms/T/server.d.ts +12 -0
- package/dist/module-types/src/components/atoms/T/shared.d.ts +2 -0
- package/dist/module-types/src/components/atoms/T/types.d.ts +11 -0
- package/dist/module-types/src/components/atoms/index.d.ts +1 -1
- package/dist/module-types/src/components/atoms/{DateLiteral → server/DateLiteral}/types.d.ts +1 -1
- package/dist/module-types/src/components/atoms/server/T/index.d.ts +3 -0
- package/dist/module-types/src/components/atoms/server/index.d.ts +2 -0
- package/dist/module-types/src/components/atoms/types.d.ts +0 -1
- package/dist/module-types/src/components/helpers/date.d.ts +2 -3
- package/dist/module-types/src/components/helpers/problem.d.ts +1 -2
- package/dist/module-types/src/components/molecules/index.d.ts +0 -2
- package/dist/module-types/src/components/molecules/server/NewlineInfo/NewlineInfo.d.ts +2 -0
- package/dist/module-types/src/components/molecules/server/NewlineInfo/types.d.ts +3 -0
- package/dist/module-types/src/components/molecules/server/index.d.ts +2 -0
- package/dist/module-types/src/components/molecules/server/types.d.ts +1 -0
- package/dist/module-types/src/components/organisms/_layz_/DataViewer/commons/utils.d.ts +1 -2
- package/dist/module-types/src/components/organisms/index.d.ts +0 -1
- package/dist/module-types/src/components/organisms/{TextHeadCell → server/TextHeadCell}/TextHeadCell.d.ts +1 -1
- package/dist/module-types/src/components/organisms/server/index.d.ts +3 -0
- package/dist/module-types/src/components/organisms/server/types.d.ts +1 -0
- package/dist/module-types/src/components/providers/JukiI18nBridge/JukiI18nBridge.d.ts +23 -0
- package/dist/module-types/src/components/providers/JukiI18nBridge/index.d.ts +1 -0
- package/dist/module-types/src/components/providers/JukiUIProvider/types.d.ts +2 -20
- package/dist/module-types/src/components/providers/index.d.ts +1 -1
- package/dist/module-types/src/components/providers/server/Image/types.d.ts +20 -0
- package/dist/module-types/src/components/providers/server/index.d.ts +1 -0
- package/dist/module-types/src/components/providers/server/types.d.ts +1 -0
- package/dist/module-types/src/components/server/index.d.ts +3 -0
- package/dist/module-types/src/components/server/types.d.ts +3 -0
- package/dist/module-types/src/components/templates/index.d.ts +0 -1
- package/dist/module-types/src/components/templates/problem/types.d.ts +0 -6
- package/dist/module-types/src/components/templates/server/ProblemStatus/types.d.ts +6 -0
- package/dist/module-types/src/components/templates/server/index.d.ts +1 -0
- package/dist/module-types/src/components/templates/server/types.d.ts +1 -0
- package/dist/module-types/src/hooks/index.d.ts +0 -1
- package/package.json +3 -3
- package/dist/esm/ArrowForwardIcon-CAW87Y9x.js +0 -1
- package/dist/esm/BarChart-DIQRNd6X.js +0 -1
- package/dist/esm/ChangePasswordModal-Ct1SQk_8.js +0 -1
- package/dist/esm/CodeEditor-B2a58qPl.js +0 -1
- package/dist/esm/CodeViewer-DQU8BMXl.js +0 -1
- package/dist/esm/Collapse-BptfTJkN.js +0 -1
- package/dist/esm/DataViewer-DtHc31H0.js +0 -1
- package/dist/esm/DrawerView-Dj3KsxZ5.js +0 -1
- package/dist/esm/ExcalidrawButton-BxKNP8Ju.js +0 -1
- package/dist/esm/GraphvizViewer-CoUNA6V3.js +0 -1
- package/dist/esm/ImageLoaderCropper-BfEUj6Lt.js +0 -1
- package/dist/esm/InputCellPhoneNumber-C3wckkgH.js +0 -1
- package/dist/esm/InputColor-BP4osp1m.js +0 -14
- package/dist/esm/LineChart-BEBY05Jk.js +0 -1
- package/dist/esm/LineLoader-DJ-mqlCg.js +0 -1
- package/dist/esm/MdMath-BPRFr0z2.js +0 -1
- package/dist/esm/ReplyIcon-CFQENJJ2.js +0 -1
- package/dist/esm/SettingsIcon-B-R6M6zm.js +0 -1
- package/dist/esm/SlideDeck-VjBsZWE5.js +0 -1
- package/dist/esm/TableEyeIcon-ArU4vD_b.js +0 -1
- package/dist/esm/TableOfContents-CJTjJpW1.js +0 -1
- package/dist/esm/VirtualizedRowsFixed-CSfuBo-L.js +0 -1
- package/dist/esm/WorksheetAsSlides-BsxgD7Ou.js +0 -1
- package/dist/esm/WorksheetBodies-CoUCsRQL.js +0 -1
- package/dist/esm/WorksheetContents-CXwCj_9n.js +0 -1
- package/dist/esm/WorksheetEditor-B6sFcv5f.js +0 -1
- package/dist/esm/WorksheetNode-D9TYabCW.js +0 -1
- package/dist/esm/WorksheetViewer-DzWM2z--.js +0 -1
- package/dist/esm/architecture-YZFGNWBL-B4l12l1n.js +0 -1
- package/dist/esm/architectureDiagram-Q4EWVU46-35IDohve.js +0 -1
- package/dist/esm/blockDiagram-DXYQGD6D-DMV0Turg.js +0 -1
- package/dist/esm/c4Diagram-AHTNJAMY-B1Q5D-a4.js +0 -1
- package/dist/esm/channel-BmfGiUet.js +0 -1
- package/dist/esm/classDiagram-6PBFFD2Q-DfQo6n2Y.js +0 -1
- package/dist/esm/classDiagram-v2-HSJHXN6E-DfQo6n2Y.js +0 -1
- package/dist/esm/clone-ytho4G-U.js +0 -1
- package/dist/esm/commons-Ql7V2J1Q.js +0 -1
- package/dist/esm/cose-bilkent-S5V4N54A-BSGvXKpJ.js +0 -1
- package/dist/esm/dagre-KV5264BT-vfGof8_w.js +0 -1
- package/dist/esm/diagram-5BDNPKRD-BNLEkZrt.js +0 -1
- package/dist/esm/diagram-G4DWMVQ6-BNy00oOM.js +0 -1
- package/dist/esm/diagram-MMDJMWI5-m5lju_Ql.js +0 -1
- package/dist/esm/diagram-TYMM5635-DcdkioVb.js +0 -1
- package/dist/esm/erDiagram-SMLLAGMA-CceV2aLj.js +0 -1
- package/dist/esm/flowDiagram-DWJPFMVM-7JDV2iFZ.js +0 -1
- package/dist/esm/ganttDiagram-T4ZO3ILL-BJitnff4.js +0 -1
- package/dist/esm/gitGraph-7Q5UKJZL-Lm8K3gu8.js +0 -1
- package/dist/esm/gitGraphDiagram-UUTBAWPF-BFIe5oyZ.js +0 -1
- package/dist/esm/index-3eSLBs4N.js +0 -1
- package/dist/esm/index-CpZesTpI.js +0 -1
- package/dist/esm/index-DEsPeQN2.js +0 -1
- package/dist/esm/index-DS396i5X.js +0 -2
- package/dist/esm/index-sCShfFDb.js +0 -1
- package/dist/esm/info-OMHHGYJF-DgFByN2Q.js +0 -1
- package/dist/esm/infoDiagram-42DDH7IO-_pYHRGdQ.js +0 -1
- package/dist/esm/ishikawaDiagram-UXIWVN3A-DDWTFBtt.js +0 -1
- package/dist/esm/journeyDiagram-VCZTEJTY-DyNlikrx.js +0 -1
- package/dist/esm/kanban-definition-6JOO6SKY-Cvqzz0T0.js +0 -1
- package/dist/esm/mindmap-definition-QFDTVHPH-D6o47E4D.js +0 -1
- package/dist/esm/packet-4T2RLAQJ-nSjqpN2G.js +0 -1
- package/dist/esm/pie-ZZUOXDRM-DE0yKaq5.js +0 -1
- package/dist/esm/pieDiagram-DEJITSTG-DNKo_uDP.js +0 -1
- package/dist/esm/quadrantDiagram-34T5L4WZ-CfNwmuso.js +0 -1
- package/dist/esm/radar-PYXPWWZC-B221trO2.js +0 -1
- package/dist/esm/requirementDiagram-MS252O5E-DMqflNcm.js +0 -1
- package/dist/esm/sankeyDiagram-XADWPNL6-Bxl0NJ7t.js +0 -1
- package/dist/esm/sequenceDiagram-FGHM5R23-BcciAiMg.js +0 -1
- package/dist/esm/stateDiagram-FHFEXIEX-Cn-RB4wx.js +0 -1
- package/dist/esm/stateDiagram-v2-QKLJ7IA2-C6pgM7SG.js +0 -1
- package/dist/esm/timeline-definition-GMOUNBTQ-BLR2EM9w.js +0 -1
- package/dist/esm/treeView-SZITEDCU-ChLgNmS5.js +0 -1
- package/dist/esm/treemap-W4RFUUIX-DRWvqad0.js +0 -1
- package/dist/esm/vennDiagram-DHZGUBPP-jpRGjpOo.js +0 -1
- package/dist/esm/wardley-RL74JXVD-zNwlgftV.js +0 -1
- package/dist/esm/wardleyDiagram-NUSXRM2D-B8WsPQJA.js +0 -1
- package/dist/esm/websocket-Dly3sf0m.js +0 -1
- package/dist/esm/worksheet-CglFWSed.js +0 -1
- package/dist/esm/xychartDiagram-5P7HB3ND-5kY0N0P9.js +0 -1
- package/dist/module-types/src/components/molecules/InformationPopover/NewlineInfo.d.ts +0 -3
- package/dist/module-types/src/components/providers/JukiI18nInitializer/JukiI18nInitializer.d.ts +0 -1
- package/dist/module-types/src/components/providers/JukiI18nInitializer/index.d.ts +0 -1
- package/dist/module-types/src/stores/i18n/i18n.d.ts +0 -2
- package/dist/module-types/src/stores/i18n/i18nConfig.d.ts +0 -7
- package/dist/module-types/src/stores/i18n/useI18nStore.d.ts +0 -8
- /package/dist/module-types/src/components/atoms/{DateLiteral → server/DateLiteral}/DateLiteral.d.ts +0 -0
- /package/dist/module-types/src/components/molecules/{ThemeColorPalette → server/ThemeColorPalette}/ThemeColorPalette.d.ts +0 -0
- /package/dist/module-types/src/components/organisms/{SubmitView/commons → server/SubmissionMemory}/SubmissionMemory.d.ts +0 -0
- /package/dist/module-types/src/components/organisms/{SubmitView/commons → server/SubmissionTime}/SubmissionTime.d.ts +0 -0
- /package/dist/module-types/src/components/providers/{JukiUIProvider → server/Image}/Image.d.ts +0 -0
- /package/dist/module-types/src/components/templates/{problem → server/ProblemStatus}/ProblemStatus.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{jsx as t}from"react/jsx-runtime";import e,{forwardRef as n,useId as o,useRef as i,useCallback as r,useMemo as s,useEffect as a,useImperativeHandle as l,Children as h,Fragment as c,createContext as d,useContext as u,useState as g,memo as f}from"react";import p from"react-dom";import{p as m}from"./purify.es-BkjUCQC6.js";import{J as b}from"./index-
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import e,{forwardRef as n,useId as o,useRef as i,useCallback as r,useMemo as s,useEffect as a,useImperativeHandle as l,Children as h,Fragment as c,createContext as d,useContext as u,useState as g,memo as f}from"react";import p from"react-dom";import{p as m}from"./purify.es-BkjUCQC6.js";import{J as b}from"./index-CjH2xgIx.js";import{utils as w}from"./xlsx-XBWnafwQ.js";import{c as v}from"./index-BWbfbDmw.js";import"./settings-DgLs6IK_.js";import"./ProblemStatus-FyUP73Qa.js";import"./date-Be2Mk-oF.js";import"./date-DabTuCYQ.js";import"./enums.js";import"./websocket-CoMeGplN.js";import"./worksheet-ClM0CaBH.js";import"motion/react";import"./index-BD_n8l03.js";import"swr";import"@ably/spaces";import"@ably/spaces/react";import"ably";import"ably/liveobjects";import"ably/react";import"@ably/spaces/dist/mjs/react";function y(t,e){const n=e.length;let o=0;for(;o<n;)t.push(e[o]),o+=1}function C(t){const e=[];if(!t||0===t.length||!t[0]||0===t[0].length)return e;const n=t.length,o=t[0].length;for(let i=0;i<n;i++)for(let n=0;n<o;n++)e[n]||(e[n]=[]),e[n][i]=t[i][n];return e}function S(t,e,n,o){let i=-1,r=t,s=n;Array.isArray(t)||(r=Array.from(t));const a=r.length;for(i+=1;i<a;)s=e(s,r[i],i,r),i+=1;return s}function R(t,e){let n=0,o=t;Array.isArray(t)||(o=Array.from(t));const i=o.length,r=[];let s=-1;for(;n<i;){const t=o[n];e(t,n,o)&&(s+=1,r[s]=t),n+=1}return r}function k(t,e){let n=0,o=t;Array.isArray(t)||(o=Array.from(t));const i=o.length,r=[];let s=-1;for(;n<i;){const t=o[n];s+=1,r[s]=e(t,n,o),n+=1}return r}function x(t,e){let n=0,o=t;Array.isArray(t)||(o=Array.from(t));const i=o.length;for(;n<i&&!1!==e(o[n],n,o);)n+=1;return t}function E(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];const[o,...i]=[...e];let r=o;return x(i,t=>{r=r.filter(e=>!t.includes(e))}),r}function M(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";return t.split(e)}function T(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];const i=S(t,(t,e,o)=>t+e.replace(/\r?\n\s*/g,"")+(n[o]?n[o]:""),"");return i.trim()}function _(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];const i=document.createElement("template");i.innerHTML=t.reduce((t,e,o)=>{var i;return t+e+(null!==(i=n[o])&&void 0!==i?i:"")},"");const r=i.content.cloneNode(!0),s={};return r.querySelectorAll("[data-ref]").forEach(t=>{const e=t.getAttribute("data-ref");t.removeAttribute("data-ref"),s[e]=t}),{fragment:r,refs:s}}function H(t){let e;switch(typeof t){case"string":case"number":e=`${t}`;break;case"object":e=null===t?"":t.toString();break;case"undefined":e="";break;default:e=t.toString()}return e}function I(t){return void 0!==t}function A(t){return void 0===t}function P(t){return null===t||""===t||A(t)}const O="length",N=t=>parseInt(t,16),D=t=>parseInt(t,10),L=(t,e,n)=>t.substr(e,n),V=t=>t.codePointAt(0)-65,B=t=>`${t}`.replace(/\-/g,"");let F=!1;const W={invalid:()=>T`
|
|
2
2
|
The license key for Handsontable is invalid.\x20
|
|
3
3
|
If you need any help, contact us at support@handsontable.com.`,expired:t=>{let{keyValidityDate:e,hotVersion:n}=t;return T`
|
|
4
4
|
The license key for Handsontable expired on ${e}, and is not valid for the installed\x20
|
|
@@ -38,7 +38,7 @@ import{jsx as t}from"react/jsx-runtime";import e,{forwardRef as n,useId as o,use
|
|
|
38
38
|
columnEnd/columnPropEnd]]) or as an array of CellRange objects.`);const o=Sd(n,{createCellCoords:function(){return e.tableProps.createCellCoords(...arguments)},createCellRange:function(){return e.tableProps.createCellRange(...arguments)},propToCol:t=>this.tableProps.propToCol(t),keepDirection:!0}),i=this.settings.navigableHeaders,r={countRows:this.tableProps.countRows(),countCols:this.tableProps.countCols(),countRowHeaders:i?this.tableProps.countRowHeaders():0,countColHeaders:i?this.tableProps.countColHeaders():0},s=!t.some(t=>{const e=o(t),n=e.isValid(r);return!(n&&!e.containsHeaders()||n&&e.containsHeaders()&&e.isSingleHeader())});return s&&(this.clear(),this.setExpectedLayers(t.length),x(t,t=>{const{from:e,to:n}=o(t);this.setRangeStartOnly(e.clone(),!1),this.setRangeEnd(n.clone())}),this.finish()),s}selectColumns(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const o="string"==typeof t?this.tableProps.propToCol(t):t,i="string"==typeof e?this.tableProps.propToCol(e):e,r=this.tableProps.countRows(),s=this.tableProps.countCols(),a=this.tableProps.countColHeaders(),l=0===a?0:-a,h=this.tableProps.createCellCoords(l,o),c=this.tableProps.createCellCoords(r-1,i),d=this.tableProps.createCellRange(h,h,c).isValid({countRows:r,countCols:s,countRowHeaders:0,countColHeaders:a});if(d){let t=0,e=0;Number.isInteger(null==n?void 0:n.row)&&Number.isInteger(null==n?void 0:n.col)?(t=co(n.row,l,r-1),e=co(n.col,Math.min(o,i),Math.max(o,i))):(t=co(n,l,r-1),e=o);const s=this.tableProps.createCellCoords(t,e),h=0===a?0:co(s.row,l,-1),c=r-1,d=this.tableProps.createCellCoords(h,o),u=this.tableProps.createCellCoords(c,i);this.runLocalHooks("beforeSelectColumns",d,u,s),this.setRangeStartOnly(d,void 0,s),this.selectedByColumnHeader.add(this.getLayerLevel()),this.setRangeEnd(u),this.runLocalHooks("afterSelectColumns",d,u,s),this.finish()}return d}selectRows(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const o=this.tableProps.countRows(),i=this.tableProps.countCols(),r=this.tableProps.countRowHeaders(),s=0===r?0:-r,a=this.tableProps.createCellCoords(t,s),l=this.tableProps.createCellCoords(e,i-1),h=this.tableProps.createCellRange(a,a,l).isValid({countRows:o,countCols:i,countRowHeaders:r,countColHeaders:0});if(h){let o=0,a=0;Number.isInteger(null==n?void 0:n.row)&&Number.isInteger(null==n?void 0:n.col)?(o=co(n.row,Math.min(t,e),Math.max(t,e)),a=co(n.col,s,i-1)):(o=t,a=co(n,s,i-1));const l=this.tableProps.createCellCoords(o,a),h=0===r?0:co(l.col,s,-1),c=i-1,d=this.tableProps.createCellCoords(t,h),u=this.tableProps.createCellCoords(e,c);this.runLocalHooks("beforeSelectRows",d,u,l),this.setRangeStartOnly(d,void 0,l),this.selectedByRowHeader.add(this.getLayerLevel()),this.setRangeEnd(u),this.runLocalHooks("afterSelectRows",d,u,l),this.finish()}return h}importSelection(t){let{ranges:e,activeRange:n,activeSelectionLayer:o,selectedByRowHeader:i,selectedByColumnHeader:r,disableHeadersHighlight:s}=t;0!==e.length&&(this.selectedRange.clear(),this.highlight.clear(),this.inProgress=!1,Ed(Id,this,s),this.selectedByRowHeader=new Set(i),this.selectedByColumnHeader=new Set(r),this.setActiveSelectionLayerIndex(0),e.forEach((t,e)=>{this.selectedRange.push(t),this.applyAndCommit(t,e)}),this.setRangeFocus(n.highlight,o),Ed(Id,this,!1),this.inProgress=!1)}exportSelection(){return{ranges:Array.from(this.selectedRange).map(t=>t.clone()),activeRange:this.getActiveSelectedRange(),activeSelectionLayer:this.getActiveSelectionLayerIndex(),selectedByRowHeader:Array.from(this.selectedByRowHeader),selectedByColumnHeader:Array.from(this.selectedByColumnHeader),disableHeadersHighlight:xd(Id,this)}}refresh(){if(!this.isSelected())return;const t=this.tableProps.countRows(),e=this.tableProps.countCols();if(0===t||0===e)return void this.deselect();const n=this.selectedRange.ranges.map(t=>t.clone());"unknown"===this.getSelectionSource()&&this.markSource("refresh");const o=new Set(this.selectedByRowHeader),i=new Set(this.selectedByColumnHeader);this.clear(),this.setExpectedLayers(n.length),n.forEach(n=>{const{from:o,to:i,highlight:r}=n,s=t-1,a=e-1;r.assign({row:co(r.row,this.settings.navigableHeaders?-1/0:0,s),col:co(r.col,this.settings.navigableHeaders?-1/0:0,a)}),o.assign({row:co(o.row,-1/0,s),col:co(o.col,-1/0,a)}),i.assign({row:co(i.row,-1/0,s),col:co(i.col,-1/0,a)}),this.setRangeStartOnly(o,!0,r),this.setRangeEnd(i)}),this.selectedByRowHeader=o,this.selectedByColumnHeader=i,this.finish(),this.markEndSource()}commit(){if(this.highlight.getCustomSelections().forEach(t=>{t.commit()}),!this.isSelected())return;const t=this.getLayerLevel(),e=this.getActiveSelectedRange();this.highlight.isEnabledFor(ls,e.highlight)&&this.highlight.getFocus().commit().syncWith(e);for(let t=0;t<this.selectedRange.size();t+=1){this.highlight.useLayerLevel(t);const e=this.highlight.createArea(),n=this.highlight.createLayeredArea(),o=this.highlight.createRowHeader(),i=this.highlight.createColumnHeader(),r=this.highlight.createActiveRowHeader(),s=this.highlight.createActiveColumnHeader(),a=this.highlight.createActiveCornerHeader(),l=this.highlight.createRowHighlight(),h=this.highlight.createColumnHighlight();e.commit(),n.commit(),o.commit(),i.commit(),r.commit(),s.commit(),a.commit(),l.commit(),h.commit()}this.highlight.useLayerLevel(t)}}kt(Nd,os);const Dd=/^(\r\n|\n\r|\r|\n)/,Ld=/^[^\t\r\n]+/,Vd=/^\t/;function Bd(t){let e,n,o,i,r,s="";for(e=0,n=t.length;e<n;e+=1){for(i=t[e].length,o=0;o<i;o+=1)o>0&&(s+="\t"),r=t[e][o],"string"==typeof r?r.indexOf("\n")>-1?s+=`"${r.replace(/"/g,'""')}"`:s+=r:s+=null==r?"":r;e!==n-1&&(s+="\n")}return s}function Fd(t,e){const{instance:n,visualRow:o,visualCol:i,valueSetter:r}=e;return Ze(r)?r.call(n,t,o,i,e):t}function Wd(t,e){const{instance:n,visualRow:o,visualCol:i,valueGetter:r}=e;return Ze(r)?r.call(n,t,o,i,e):t}function zd(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class jd{static get DESTINATION_RENDERER(){return 1}static get DESTINATION_CLIPBOARD_GENERATOR(){return 2}constructor(t,e,n){zd(this,"hot",void 0),zd(this,"metaManager",void 0),zd(this,"tableMeta",void 0),zd(this,"dataSource",void 0),zd(this,"duckSchema",void 0),zd(this,"colToPropCache",void 0),zd(this,"propToColCache",void 0),this.hot=t,this.metaManager=n,this.tableMeta=n.getTableMeta(),this.dataSource=e,this.refreshDuckSchema(),this.createMap()}createMap(){const t=this.getSchema();void 0===t&&wt("trying to create `columns` definition but you didn't provide `schema` nor `data`");const e=this.tableMeta.columns;let n;if(this.colToPropCache=[],this.propToColCache=new Map,e){let o=0,i=0,r=!1;if("function"==typeof e){const e=It(t);o=e>0?e:this.countFirstRowKeys(),r=!0}else{const t=this.tableMeta.maxCols;o=Math.min(t,e.length)}for(n=0;n<o;n++){const t=r?e(n):e[n];if(Et(t)){if(void 0!==t.data){const e=r?i:n;this.colToPropCache[e]=t.data,this.propToColCache.set(t.data,e)}i+=1}}}else this.recursiveDuckColumns(t)}countFirstRowKeys(){return Na(this.dataSource)}recursiveDuckColumns(t,e,n){let o,i=e,r=n;return void 0===i&&(i=0,r=""),"object"!=typeof t||Array.isArray(t)||Tt(t,(t,e)=>{null===t?(o=r+e,this.colToPropCache.push(o),this.propToColCache.set(o,i),i+=1):i=this.recursiveDuckColumns(t,i,`${e}.`)}),i}colToProp(t){if(!1===Number.isInteger(t))return t;const e=this.hot.toPhysicalColumn(t);return null===e?t:this.colToPropCache&&I(this.colToPropCache[e])?this.colToPropCache[e]:e}propToCol(t){const e=this.propToColCache.get(t);if(I(e))return this.hot.toVisualColumn(e);const n=this.hot.toVisualColumn(t);return null===n?t:n}getSchema(){const t=this.tableMeta.dataSchema;return t?"function"==typeof t?t():t:this.duckSchema}createDuckSchema(){return this.dataSource&&this.dataSource[0]?vt(this.dataSource[0]):{}}refreshDuckSchema(){this.duckSchema=this.createDuckSchema()}createRow(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,{source:n,mode:o="above"}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=this.hot.countSourceRows();let r=i,s=0,a=t;("number"!=typeof a||a>=i)&&(a=i),a<this.hot.countRows()&&(r=this.hot.toPhysicalRow(a));if(!1===this.hot.runHooks("beforeCreateRow",a,e,n)||null===r)return{delta:0};const l=this.tableMeta.maxRows,h=this.getSchema().length,c=[];for(;s<e&&i+s<l;){let t=null;"array"===this.hot.dataType?this.tableMeta.dataSchema?t=St(this.getSchema()):(t=[],ao(h-1,()=>t.push(null))):"function"===this.hot.dataType?t=this.tableMeta.dataSchema(a+s):(t={},Ct(t,this.getSchema())),c.push(t),s+=1}this.hot.rowIndexMapper.insertIndexes(a,s),"below"===o&&(r=Math.min(r+1,i)),this.spliceData(r,0,c);const d=this.hot.toVisualRow(r);return this.hot.countSourceRows()===c.length&&this.hot.columnIndexMapper.initToLength(this.hot.getInitialColumnCount()),s>0&&(null==t?this.metaManager.createRow(null,s):"auto"!==n&&this.metaManager.createRow(r,e)),this.hot.runHooks("afterCreateRow",d,s,n),{delta:s,startPhysicalIndex:r}}createCol(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,{source:n,mode:o="start"}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.hot.isColumnModificationAllowed()||wt("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 i=this.dataSource,r=this.tableMeta.maxCols,s=this.hot.countSourceCols(),a=this.hot.countCols(),l=this.hot.countSourceRows(),h="number"==typeof t&&t<=s?t:a;if(!1===this.hot.runHooks("beforeCreateCol",h,e,n))return{delta:0};const c=h<a?this.hot.toPhysicalColumn(h):s,d="end"===o?Math.min(c+1,s):c;let u=0;for(let t=d;u<e&&a+u<r;t++){if("number"!=typeof h||h>=a+u)if(l>0)for(let t=0;t<l;t+=1)void 0===i[t]&&(i[t]=[]),i[t].push(null);else i.push([null]);else for(let e=0;e<l;e++)i[e].splice(t,0,null);u+=1}return u>0&&(null==t?this.metaManager.createColumn(null,u):"auto"!==n&&this.metaManager.createColumn(d,e)),this.hot.columnIndexMapper.insertIndexes(h,u,o),this.hot.runHooks("afterCreateCol",this.hot.toVisualColumn(d),u,n),this.refreshDuckSchema(),{delta:u,startPhysicalIndex:d}}removeRow(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2?arguments[2]:void 0,o=Number.isInteger(t)?t:-e;const i=this.visualRowsToPhysical(o,e),r=this.hot.countSourceRows();o=(r+o)%r;if(!1===this.hot.runHooks("beforeRemoveRow",o,i.length,i,n))return!1;const s=i.length;if(this.filterData(o,s,i),o<this.hot.countRows()){this.hot.rowIndexMapper.removeIndexes(i);const t=I(this.tableMeta.columns)||I(this.tableMeta.dataSchema)||this.tableMeta.colHeaders;0!==this.hot.rowIndexMapper.getNotTrimmedIndexesLength()||t||this.hot.columnIndexMapper.setIndexesSequence([])}return i.slice(0).sort((t,e)=>e-t).forEach(t=>{this.metaManager.removeRow(t,1)}),this.hot.runHooks("afterRemoveRow",o,s,i,n),!0}removeCol(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2?arguments[2]:void 0;("object"===this.hot.dataType||this.tableMeta.columns)&&wt("cannot remove column with object data source or columns option specified");let o="number"!=typeof t?-e:t;o=(this.hot.countCols()+o)%this.hot.countCols();const i=this.visualColumnsToPhysical(o,e),r=i.slice(0).sort((t,e)=>e-t);if(!1===this.hot.runHooks("beforeRemoveCol",o,e,i,n))return!1;let s=!0;const a=r.length,l=this.dataSource;for(let t=0;t<a;t++)s&&i[0]!==i[t]-t&&(s=!1);if(s)for(let t=0,n=this.hot.countSourceRows();t<n;t++)l[t].splice(i[0],e),0===t&&this.metaManager.removeColumn(i[0],e);else for(let t=0,e=this.hot.countSourceRows();t<e;t++)for(let e=0;e<a;e++)l[t].splice(r[e],1),0===t&&this.metaManager.removeColumn(r[e],1);return o<this.hot.countCols()&&(this.hot.columnIndexMapper.removeIndexes(i),this.tableMeta.rowHeaders||0!==this.hot.columnIndexMapper.getNotTrimmedIndexesLength()||this.hot.rowIndexMapper.setIndexesSequence([])),this.hot.runHooks("afterRemoveCol",o,e,i,n),this.refreshDuckSchema(),!0}spliceCol(t,e,n){const o=this.hot.getDataAtCol(t),i=o.slice(e,e+n),r=o.slice(e+n);for(var s=arguments.length,a=new Array(s>3?s-3:0),l=3;l<s;l++)a[l-3]=arguments[l];y(a,r);let h=0;for(;h<n;)a.push(null),h+=1;return function(t){const e=t.length;let n=0;for(;n<e;)t[n]=[t[n]],n+=1}(a),this.hot.populateFromArray(e,t,a,null,null,"spliceCol"),i}spliceRow(t,e,n){const o=this.hot.getSourceDataAtRow(t),i=o.slice(e,e+n),r=o.slice(e+n);for(var s=arguments.length,a=new Array(s>3?s-3:0),l=3;l<s;l++)a[l-3]=arguments[l];y(a,r);let h=0;for(;h<n;)a.push(null),h+=1;return this.hot.populateFromArray(t,e,[a],null,null,"spliceRow"),i}spliceData(t,e,n){if(!1!==this.hot.runHooks("beforeDataSplice",t,e,n)){const e=[...this.dataSource.slice(0,t),...n,...this.dataSource.slice(t)];this.dataSource.length=0,e.forEach(t=>this.dataSource.push(t))}}filterData(t,e,n){let o=this.hot.runHooks("filterData",t,e,n);!1===Array.isArray(o)&&(o=this.dataSource.filter((t,e)=>-1===n.indexOf(e))),this.dataSource.length=0,Array.prototype.push.apply(this.dataSource,o)}get(t,e){const n=this.hot.toPhysicalRow(t);let o=this.dataSource[n];const i=this.hot.runHooks("modifyRowData",n);o=isNaN(i)?i:o;const{dataDotNotation:r}=this.hot.getSettings();let s=null;if(o&&o.hasOwnProperty&&Pt(o,e))s=o[e];else if(r&&"string"==typeof e&&e.indexOf(".")>-1){let t=o;if(!t)return null;const n=e.split(".");for(let e=0,o=n.length;e<o;e++)if(t=t[n[e]],void 0===t)return null;s=t}else"function"==typeof e&&(s=e(this.dataSource.slice(n,n+1)[0]));const a=this.propToCol(e),l=this.hot.toPhysicalColumn(a);if(uo(n)&&uo(l)&&(s=Wd(s,this.metaManager.getCellMeta(n,l,{visualRow:t,visualColumn:a,skipMetaExtension:!0}))),this.hot.hasHook("modifyData")){const e=At(s);this.hot.runHooks("modifyData",t,a,e,"get"),e.isTouched()&&(s=e.value)}return s}getCopyable(t,e){return this.hot.getCellMeta(t,this.propToCol(e)).copyable?this.get(t,e):""}set(t,e,n){const o=this.hot.toPhysicalRow(t);let i=n,r=this.dataSource[o];const s=this.hot.runHooks("modifyRowData",o);if(r=isNaN(s)?s:r,this.hot.hasHook("modifyData")){const n=At(i);this.hot.runHooks("modifyData",t,this.propToCol(e),n,"set"),n.isTouched()&&(i=n.value)}const{dataDotNotation:a}=this.hot.getSettings();if(r&&r.hasOwnProperty&&Pt(r,e))r[e]=i;else if(a&&"string"==typeof e&&e.indexOf(".")>-1){let t,n=r,o=0;const s=e.split(".");for(o=0,t=s.length-1;o<t;o++){if("__proto__"===s[o]||"constructor"===s[o]||"prototype"===s[o])return;void 0===n[s[o]]&&(n[s[o]]={}),n=n[s[o]]}n[s[o]]=i}else if("function"==typeof e)e(this.dataSource.slice(o,o+1)[0],i);else{if("__proto__"===e||"constructor"===e||"prototype"===e)return;r[e]=i}}visualRowsToPhysical(t,e){const n=this.hot.countSourceRows(),o=[];let i,r=(n+t)%n,s=e;for(;r<n&&s;)i=this.hot.toPhysicalRow(r),o.push(i),s-=1,r+=1;return o}visualColumnsToPhysical(t,e){const n=this.hot.countCols(),o=[];let i=(n+t)%n,r=e;for(;i<n&&r;){const t=this.hot.toPhysicalColumn(i);o.push(t),r-=1,i+=1}return o}clear(){for(let t=0;t<this.hot.countSourceRows();t++)for(let e=0;e<this.hot.countCols();e++)this.set(t,this.colToProp(e),"")}getLength(){const t=this.tableMeta.maxRows;let e;e=t<0||0===t?0:t||1/0;const n=this.hot.rowIndexMapper.getNotTrimmedIndexesLength();return Math.min(n,e)}getAll(){const t={row:0,col:0},e={row:Math.max(this.hot.countRows()-1,0),col:Math.max(this.hot.countCols()-1,0)};return t.row-e.row!==0||this.hot.countSourceRows()?this.getRange(t,e,jd.DESTINATION_RENDERER):[]}countCachedColumns(){return this.colToPropCache.length}getRange(t,e,n){const o=[];let i,r,s;const a=this.tableMeta.maxRows,l=this.tableMeta.maxCols;if(0===a||0===l)return[];const h=n===jd.DESTINATION_CLIPBOARD_GENERATOR?this.getCopyable:this.get,c=Math.min(Math.max(a-1,0),Math.max(t.row,e.row)),d=Math.min(Math.max(l-1,0),Math.max(t.col,e.col));for(i=Math.min(t.row,e.row);i<=c;i++){s=[];const n=i>=0?this.hot.toPhysicalRow(i):i;for(r=Math.min(t.col,e.col);r<=d&&null!==n;r++)s.push(h.call(this,i,this.colToProp(r)));null!==n&&o.push(s)}return o}getText(t,e){return Bd(this.getRange(t,e,jd.DESTINATION_RENDERER))}getCopyableText(t,e){return Bd(this.getRange(t,e,jd.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}}function $d(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class Ud{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];$d(this,"hot",void 0),$d(this,"data",void 0),$d(this,"dataType","array"),$d(this,"colToProp",()=>{}),$d(this,"propToCol",()=>{}),this.hot=t,this.data=e}modifyRowData(t){let e;return this.hot.hasHook("modifyRowData")&&(e=this.hot.runHooks("modifyRowData",t)),void 0===e||Number.isInteger(e)?this.data[t]:e}getData(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.data&&0!==this.data.length?this.getByRange(null,null,t):this.data}setData(t){this.data=t}getAtColumn(t){const e=[];return x(this.data,(n,o)=>{const i=this.getAtCell(o,t);e.push(i)}),e}getAtRow(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const i=void 0===e&&void 0===n,{dataDotNotation:r}=this.hot.getSettings();let s=null,a=null;if(s=this.modifyRowData(t),Array.isArray(s))a=[],i?s.forEach((e,n)=>{a[n]=this.getAtPhysicalCell(t,n,s)}):ao(e,n,n=>{a[n-e]=this.getAtPhysicalCell(t,n,s)});else if(Et(s)||Ze(s))if(a=o?[]:{},!i||o){const i=0,l=this.countFirstRowKeys()-1;ao(i,l,h=>{const c=this.colToProp(h);if(h>=(e||i)&&h<=(n||l)&&!Number.isInteger(c)){const e=this.getAtPhysicalCell(t,c,s);o?a.push(e):r?Ht(a,c,e):a[c]=e}})}else Tt(s,(e,n)=>{const o=this.getAtPhysicalCell(t,n,s);r?Ht(a,n,o):a[n]=o});return a}setAtCell(t,e,n){if(!(t>=this.countRows()||e>=this.countFirstRowKeys())){if(this.hot.hasHook("modifySourceData")){const o=At(n);this.hot.runHooks("modifySourceData",t,e,o,"set"),o.isTouched()&&(n=o.value)}["__proto__","constructor","prototype"].includes(t)||(Number.isInteger(e)?this.data[t][e]=n:Ht(this.data[t],e,n))}}getAtPhysicalCell(t,e,n){let o=null;if(n)if("string"==typeof e){const{dataDotNotation:t}=this.hot.getSettings();o=t?_t(n,e):n[e]}else o="function"==typeof e?e(n):n[e];if(this.hot.hasHook("modifySourceData")){const n=At(o);this.hot.runHooks("modifySourceData",t,e,n,"get"),n.isTouched()&&(o=n.value)}return o}getAtCell(t,e){const n=this.modifyRowData(t);return this.getAtPhysicalCell(t,this.colToProp(e),n)}getByRange(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=!1,i=null,r=null,s=null,a=null;null===t||null===e?(o=!0,i=0,s=this.countRows()-1):(i=Math.min(t.row,e.row),r=Math.min(t.col,e.col),s=Math.max(t.row,e.row),a=Math.max(t.col,e.col));const l=[];return ao(i,s,t=>{l.push(o?this.getAtRow(t,void 0,void 0,n):this.getAtRow(t,r,a,n))}),l}getCopyable(t,e){const n=this.propToCol(e);return this.hot.getCellMeta(t,n).copyable?this.getAtCell(this.hot.toPhysicalRow(t),n):""}countRows(){if(this.hot.hasHook("modifySourceLength")){const t=this.hot.runHooks("modifySourceLength");if(Number.isInteger(t))return t}return this.data.length}countFirstRowKeys(){return Na(this.data)}destroy(){this.data=null,this.hot=null}}const{register:Yd,getItem:Gd,hasItem:Kd,getNames:qd,getValues:Xd}=Hn("cellTypes");function Zd(t,e){"string"!=typeof t&&(t=(e=t).CELL_TYPE);const{editor:n,renderer:o,validator:i}=e;n&&Fn(t,n),o&&Po(t,o),i&&Bo(t,i),Yd(t,e)}function Jd(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;const o="string"==typeof e.type?(i=e.type,Kd(i)||wt(`You declared cell type "${i}" 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`),Gd(i)):e.type;var i;if(t._automaticallyAssignedMetaProps&&Tt(e,(e,n)=>{t._automaticallyAssignedMetaProps.delete(n)}),!Et(o))return;n!==t||t._automaticallyAssignedMetaProps||(t._automaticallyAssignedMetaProps=new Set);const r={};Tt(o,(e,o)=>{var i;(function(t,e){var n;return"CELL_TYPE"!==t&&((null===(n=e._automaticallyAssignedMetaProps)||void 0===n?void 0:n.has(t))||!Pt(e,t))})(o,n)&&(r[o]=e,null===(i=t._automaticallyAssignedMetaProps)||void 0===i||i.add(o))}),yt(t,r)}function Qd(t,e){t()||wt(`Assertion failed: ${e}`)}function tu(t){return null==t}var eu=()=>({_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(t){let e,n,o;for(e=0,n=this.countRows();e<n;e++)if(o=this.getDataAtCell(e,t),!1===P(o))return!1;return!0},isEmptyRow(t){let e,n,o,i;for(e=0,n=this.countCols();e<n;e++)if(o=this.getDataAtCell(t,e),!1===P(o))return"object"==typeof o&&(i=this.getCellMeta(t,e),xt(this.getSchema()[i.prop],o));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});function nu(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class ou{constructor(t){nu(this,"metaCtor",class{}),nu(this,"meta",void 0),this.meta=this.metaCtor.prototype,yt(this.meta,eu()),this.meta.instance=t}getMetaConstructor(){return this.metaCtor}getMeta(){return this.meta}updateMeta(t){var e;yt(this.meta,t),Jd(this.meta,{...t,type:null!==(e=t.type)&&void 0!==e?e:this.meta.type},t)}}function iu(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class ru{constructor(t){iu(this,"meta",void 0);const e=t.getMetaConstructor();this.meta=new e}getMeta(){return this.meta}updateMeta(t){yt(this.meta,t),Jd(this.meta,t,t)}}function su(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class au{constructor(t){su(this,"valueFactory",void 0),su(this,"data",[]),su(this,"index",[]),su(this,"holes",new Set),this.valueFactory=t}obtain(t){Qd(()=>uo(t),"Expecting an unsigned number.");const e=this._getStorageIndexByKey(t);let n;if(e>=0)n=this.data[e],void 0===n&&(n=this.valueFactory(t),this.data[e]=n);else if(n=this.valueFactory(t),this.holes.size>0){const e=this.holes.values().next().value;this.holes.delete(e),this.data[e]=n,this.index[t]=e}else this.data.push(n),this.index[t]=this.data.length-1;return n}insert(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;Qd(()=>uo(t)||tu(t),"Expecting an unsigned number or null/undefined argument.");const n=[],o=this.data.length;for(let t=0;t<e;t++)n.push(o+t),this.data.push(void 0);const i=tu(t)?this.index.length:t;this.index=[...this.index.slice(0,i),...n,...this.index.slice(i)]}remove(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;Qd(()=>uo(t)||tu(t),"Expecting an unsigned number or null/undefined argument.");const n=this.index.splice(tu(t)?this.index.length-e:t,e);for(let t=0;t<n.length;t++){const e=n[t];"number"==typeof e&&this.holes.add(e)}}size(){return this.data.length-this.holes.size}values(){return this.data.filter((t,e)=>void 0!==t&&!this.holes.has(e))[Symbol.iterator]()}entries(){const t=[];for(let e=0;e<this.data.length;e++){const n=this._getKeyByStorageIndex(e);-1!==n&&void 0!==this.data[e]&&t.push([n,this.data[e]])}let e=0;return{next:()=>{if(e<t.length){const n=t[e];return e+=1,{value:n,done:!1}}return{done:!0}}}}clear(){this.data=[],this.index=[],this.holes.clear()}_getStorageIndexByKey(t){return this.index.length>t?this.index[t]:-1}_getKeyByStorageIndex(t){return this.index.indexOf(t)}[Symbol.iterator](){return this.entries()}}function lu(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const hu=["data","width"];class cu{constructor(t){lu(this,"globalMeta",void 0),lu(this,"metas",new au(()=>this._createMeta())),this.globalMeta=t,this.metas=new au(()=>this._createMeta())}updateMeta(t,e){const n=this.getMeta(t);yt(n,e),Jd(n,e)}createColumn(t,e){this.metas.insert(t,e)}removeColumn(t,e){this.metas.remove(t,e)}getMeta(t){return this.metas.obtain(t)}getMetaConstructor(t){return this.metas.obtain(t).constructor}clearCache(){this.metas.clear()}_createMeta(){return function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];function n(){}var o,i;o=n,(i=t).prototype.constructor=i,o.prototype=new i,o.prototype.constructor=o;for(let t=0;t<e.length;t++)n.prototype[e[t]]=void 0;return n}(this.globalMeta.getMetaConstructor(),hu).prototype}}function du(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}class uu{constructor(t){du(this,"columnMeta",void 0),du(this,"metas",new au(()=>this._createRow())),this.columnMeta=t}updateMeta(t,e,n){const o=this.getMeta(t,e);yt(o,n),Jd(o,n)}createRow(t,e){this.metas.insert(t,e)}createColumn(t,e){for(let n=0;n<this.metas.size();n++)this.metas.obtain(n).insert(t,e)}removeRow(t,e){this.metas.remove(t,e)}removeColumn(t,e){for(let n=0;n<this.metas.size();n++)this.metas.obtain(n).remove(t,e)}getMeta(t,e,n){const o=this.metas.obtain(t).obtain(e);return void 0===n?o:o[n]}setMeta(t,e,n,o){var i;const r=this.metas.obtain(t).obtain(e);null===(i=r._automaticallyAssignedMetaProps)||void 0===i||i.delete(n),r[n]=o}removeMeta(t,e,n){delete this.metas.obtain(t).obtain(e)[n]}getMetas(){const t=[],e=Array.from(this.metas.values());for(let n=0;n<e.length;n++)I(e[n])&&t.push(...e[n].values());return t}getMetasAtRow(t){Qd(()=>uo(t),"Expecting an unsigned number.");const e=new Map(this.metas);return e.has(t)?Array.from(e.get(t).values()):[]}clearCache(){this.metas.clear()}_createRow(){return new au(t=>this._createMeta(t))}_createMeta(t){return new(this.columnMeta.getMetaConstructor(t))}}class gu{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];this.hot=t,this.globalMeta=new ou(t),this.tableMeta=new ru(this.globalMeta),this.columnMeta=new cu(this.globalMeta),this.cellMeta=new uu(this.columnMeta),n.forEach(t=>new t(this)),this.globalMeta.updateMeta(e)}getGlobalMeta(){return this.globalMeta.getMeta()}updateGlobalMeta(t){this.globalMeta.updateMeta(t)}getTableMeta(){return this.tableMeta.getMeta()}updateTableMeta(t){this.tableMeta.updateMeta(t)}getColumnMeta(t){return this.columnMeta.getMeta(t)}updateColumnMeta(t,e){this.columnMeta.updateMeta(t,e)}getCellMeta(t,e,n){const o=this.cellMeta.getMeta(t,e);return o.visualRow=n.visualRow,o.visualCol=n.visualColumn,o.row=t,o.col=e,n.skipMetaExtension||this.runLocalHooks("afterGetCellMeta",o),o}getCellMetaKeyValue(t,e,n){return"string"!=typeof n&&wt("The passed cell meta object key is not a string"),this.cellMeta.getMeta(t,e,n)}setCellMeta(t,e,n,o){this.cellMeta.setMeta(t,e,n,o)}updateCellMeta(t,e,n){this.cellMeta.updateMeta(t,e,n)}removeCellMeta(t,e,n){this.cellMeta.removeMeta(t,e,n)}getCellsMeta(){return this.cellMeta.getMetas()}getCellsMetaAtRow(t){return this.cellMeta.getMetasAtRow(t)}createRow(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cellMeta.createRow(t,e)}removeRow(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cellMeta.removeRow(t,e)}createColumn(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cellMeta.createColumn(t,e),this.columnMeta.createColumn(t,e)}removeColumn(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this.cellMeta.removeColumn(t,e),this.columnMeta.removeColumn(t,e)}clearCellsCache(){this.cellMeta.clearCache()}clearCache(){this.cellMeta.clearCache(),this.columnMeta.clearCache()}}function fu(t,e){const n=t.countSourceRows(),o=t.countSourceCols();if(0===n||0===o)return;const i=new Map;for(let s=0;s<n;s+=1)for(let n=0;n<o;n+=1){const o=t.toVisualRow(s),a=t.toVisualColumn(n);if(null===o||null===a)continue;const l=t.getCellMeta(o,a),{sourceDataWarningMessage:h,sourceDataValidator:c,allowInvalid:d}=l;if(!Ze(c))continue;const u=t._getDataSource(),g=u.getAtCell(s,n,null);if(!0!==c(g,l,e)&&(!1===d&&u.setAtCell(s,n,null),h)){var r;const t=h,e=null!==(r=i.get(t))&&void 0!==r?r:[];e.push({row:s,col:n,value:g,message:t}),i.set(t,e)}}i.forEach((t,e)=>{pu(e,t)})}function pu(t,e){!function(){let{logFunction:t=Jt,message:e,items:n,maxSample:o=5,itemFormatter:i=t=>`${t}`}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Array.isArray(n)||0===n.length)return;const r=n.length,s=r>o?` - ...and ${r-o} more`:"";t(K(e,{itemsCount:`${r} cell${r>1?"s":""}`,affectedCells:["Affected cells:",...n.slice(0,o).map(t=>` - ${i(t)}`),...s?[s]:[]].join("\n")}))}({logFunction:Qt,message:t,items:e,itemFormatter:t=>{let{row:e,col:n,value:o}=t;const i=H(o);return`row ${e}, col ${n}, value: "${i.length>64?`${i.slice(0,64)}...`:i}"`}})}function mu(t,e,n,o){const{hotInstance:i,dataMap:r,dataSource:s,internalSource:a,source:l,metaManager:h,firstRun:c}=o,d=$(a),u=i.getSettings();Array.isArray(u.dataSchema)?i.dataType="array":Ze(u.dataSchema)?i.dataType="function":i.dataType="object",r&&r.destroy(),t=i.runHooks(`before${d}`,t,c,l);const g=new jd(i,t,h);if(e(g),"object"==typeof t&&null!==t)t.push&&t.splice||(t=[t]);else if(null===t){const e=g.getSchema();let n;t=[];let o=0,r=0;for(o=0,r=u.startRows;o<r;o++)if("object"!==i.dataType&&"function"!==i.dataType||!u.dataSchema)if("array"===i.dataType)n=St(e[0]),t.push(n);else{n=[];for(let t=0,e=u.startCols;t<e;t++)n.push(null);t.push(n)}else n=St(e),t.push(n)}else wt(`${a} only accepts array of objects or array of arrays (${typeof t} given)`);Array.isArray(t[0])&&(i.dataType="array"),u.data=t,g.dataSource=t,s.data=t,s.dataType=i.dataType,s.colToProp=g.colToProp.bind(g),s.propToCol=g.propToCol.bind(g),s.countCachedColumns=g.countCachedColumns.bind(g),n(g),c||fu(i,a),i.runHooks(`after${d}`,t,c,l),c||(i.runHooks("afterChange",null,a),i.view.adjustElementsSize(),i.render()),i.getSettings().ariaTags&&fe(i.rootElement,[ct(-1),dt(i.countCols()+(i.view?i.countRowHeaders():0))])}function bu(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}kt(gu,os);class wu{constructor(t){var e=this;bu(this,"metaManager",void 0),bu(this,"metaSyncMemo",new Map),this.metaManager=t,t.addLocalHook("afterGetCellMeta",function(){return e.extendCellMeta(...arguments)}),Mn.getSingleton().add("beforeRender",t=>{t&&this.metaSyncMemo.clear()},this.metaManager.hot)}extendCellMeta(t){var e;const{row:n,col:o}=t;if(null!==(e=this.metaSyncMemo.get(n))&&void 0!==e&&e.has(o))return;const{visualRow:i,visualCol:r}=t,s=this.metaManager.hot,a=s.colToProp(r);t.prop=a,s.runHooks("beforeGetCellMeta",i,r,t);const l=Pt(t,"type")?t.type:null;let h=Ze(t.cells)?t.cells(n,o,a):null;var c;l&&(h?h.type=null!==(c=h.type)&&void 0!==c?c:l:h={type:l});h&&this.metaManager.updateCellMeta(n,o,h),s.runHooks("afterGetCellMeta",i,r,t),this.metaSyncMemo.has(n)||this.metaSyncMemo.set(n,new Set),this.metaSyncMemo.get(n).add(o)}}function vu(t,e,n){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,n)}function yu(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cu(t,e){return t.get(function(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}(t,e))}const Su=new WeakSet,Ru=new WeakSet;var ku=new WeakMap;class xu{constructor(t){yu(this,"metaManager",void 0),yu(this,"usageTracker",new Set),yu(this,"propDescriptors",new Map([["ariaTags",{initOnly:!0}],["fixedColumnsLeft",{target:"fixedColumnsStart",onChange(t){this.metaManager.hot.isRtl()&&"fixedColumnsLeft"===t&&wt("The `fixedColumnsLeft` is not supported for RTL. Please use option `fixedColumnsStart`."),this.usageTracker.has("fixedColumnsLeft")&&this.usageTracker.has("fixedColumnsStart")&&wt("The `fixedColumnsLeft` and `fixedColumnsStart` should not be used together. Please use only the option `fixedColumnsStart`.")}}],["correctFormat",{onChange(){Su.has(this.metaManager.hot)||(Su.add(this.metaManager.hot),te("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(){Ru.has(this.metaManager.hot)||(Ru.add(this.metaManager.hot),te("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}]])),vu(this,ku,(t,e,n)=>{n||wt(`The \`${t}\` option can not be updated after the Handsontable is initialized.`)}),this.metaManager=t,this.extendMetaProps()}extendMetaProps(){this.propDescriptors.forEach((t,e)=>{const{initOnly:n,target:o,onChange:i}=t,r="string"==typeof o,s=r?o:e,a=`_${s}`;this.metaManager.globalMeta.meta[a]=this.metaManager.globalMeta.meta[s],i?(this.installPropWatcher(e,a,i),r&&this.installPropWatcher(o,a,i)):n&&(this.installPropWatcher(e,a,Cu(ku,this)),this.metaManager.globalMeta.meta._initOnlySettings||(this.metaManager.globalMeta.meta._initOnlySettings=[]),this.metaManager.globalMeta.meta._initOnlySettings.push(e))})}installPropWatcher(t,e,n){const o=this;Object.defineProperty(this.metaManager.globalMeta.meta,t,{get(){return this[e]},set(i){const r=!o.usageTracker.has(t);o.usageTracker.add(t),n.call(o,t,i,r),this[e]=i},enumerable:!0,configurable:!0})}}function Eu(t,e,n){Mu(t,e),e.set(t,n)}function Mu(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Tu(t,e){return t.get(Hu(t,e))}function _u(t,e,n){return t.set(Hu(t,e),n),n}function Hu(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var Iu=new WeakMap,Au=new WeakMap,Pu=new WeakSet;class Ou{constructor(t){let{rowIndexMapper:e,columnIndexMapper:n}=t;var o,i;Mu(o=this,i=Pu),i.add(o),Eu(this,Iu,void 0),Eu(this,Au,void 0),_u(Iu,this,e),_u(Au,this,n)}toRenderable(t){const e="N-S"===t.getVerticalDirection()?1:-1,n="W-E"===t.getHorizontalDirection()?1:-1,o=Hu(Pu,this,Nu).call(this,t.from,e,n);if(null===o)return null;const i=Hu(Pu,this,Nu).call(this,t.to,-e,-n);if(null===i)return null;const r=t.clone();return r.from=o,r.to=i,r.includes(t.highlight)||(r.highlight=o),r}}function Nu(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;const o=Hu(Pu,this,Du).call(this,Tu(Iu,this),t.row,e);if(null===o)return null;const i=Hu(Pu,this,Du).call(this,Tu(Au,this),t.col,n);return null===i?null:t.clone().assign({row:o,col:i})}function Du(t,e,n){return e<0?e:t.getNearestNotHiddenIndex(e,n)}function Lu(t){Xe(t)&&t.scrollIntoView({block:"nearest",inline:"nearest"})}function Vu(t){const{selection:e,view:n}=t,o=t.getSelectedRangeActive(),i=e.getSelectionSource(),r=n.getFirstFullyVisibleColumn(),s=n.getLastFullyVisibleColumn(),a=o.getTopStartCorner().col,l=o.getBottomEndCorner().col,h=a<=r,c=l>=s,d=n.getFirstFullyVisibleRow(),u=n.getLastFullyVisibleRow(),g=o.getTopStartCorner().row,f=o.getBottomEndCorner().row,p=g<=d,m=f>=u;return{getComputedColumnTarget:t=>"mouse"===i||"keyboard"===i?t.col:h&&c?o.highlight.col:h?a:c?l:t.col,getComputedRowTarget:t=>"mouse"===i||"keyboard"===i?t.row:p&&m?o.highlight.row:p?g:m?f:t.row}}function Bu(t){const{selection:e}=t;let n=!1,o=!1;return{resume(){o=!1},suspend(){o=!0},skipNextScrollCycle(){n=!0},scrollTo(i){var r;if(n||o)return void(n=!1);let s;e.isFocusSelectionChanged()?s=function(t){return e=>{t.scrollViewportTo(e.toObject(),()=>{const e=t.getSelectedRangeActive();if(!e)return;const{row:n,col:o}=e.highlight;Lu(t.getCell(n,o,!0))})}}(t):e.isSelectedByCorner()?s=()=>{}:e.isSelectedByRowHeader()?s=function(t){return e=>{const n=Vu(t).getComputedRowTarget(e);t.scrollViewportTo({row:n},()=>{const e=!!t.getSettings().rowHeaders;Lu(t.getCell(n,e?-1:0,!0))})}}(t):e.isSelectedByColumnHeader()?s=function(t){return e=>{const n=Vu(t).getComputedColumnTarget(e);t.scrollViewportTo({col:n},()=>{const e=!!t.getSettings().colHeaders;Lu(t.getCell(e?-1:0,n,!0))})}}(t):1===e.getSelectedRange().size()&&e.isMultiple()?s=function(t){return e=>{const n=Vu(t),o={row:n.getComputedRowTarget(e),col:n.getComputedColumnTarget(e)};t.scrollViewportTo(o,()=>{const{row:e,col:n}=o;Lu(t.getCell(e,n,!0))})}}(t):1!==e.getSelectedRange().size()||e.isMultiple()?e.getSelectedRange().size()>1&&(s=function(t){return e=>{const n=Vu(t),o={row:n.getComputedRowTarget(e),col:n.getComputedColumnTarget(e)};t.scrollViewportTo(o,()=>{const{row:e,col:n}=o;Lu(t.getCell(e,n,!0))})}}(t)):s=function(t){return e=>{const n=t.selection.getSelectionSource(),{row:o,col:i}=e,r=()=>{Lu(t.getCell(o,i,!0))};if(o<0&&i>=0)t.scrollViewportTo({col:i},r);else if(i<0&&o>=0)t.scrollViewportTo({row:o},r);else{if("mouse"===n&&(i===t.view.getLastPartiallyVisibleColumn()||o===t.view.getLastPartiallyVisibleRow()))return;t.scrollViewportTo({row:o,col:i},r)}}}(t),null===(r=s)||void 0===r||r(i)}}}const Fu=Object.freeze({INLINE:"inline",MODAL:"modal"}),Wu=Object.freeze({UNKNOWN:"unknown",CLICK:"click",TAB_FROM_ABOVE:"tab_from_above",TAB_FROM_BELOW:"tab_from_below"});function zu(t,e){const n=t.rootDocument.createElement("div");return n.style.display="none",n.classList.add("htFocusCatcher"),n.dataset.htFocusSource=e,n}function ju(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o={shortcutsContextName:"grid",type:Fu.INLINE,contains:t=>t===e||e.contains(t),runOnlyIf:()=>!0,...n},i=function(t,e){const n=zu(t,Wu.TAB_FROM_ABOVE),o=zu(t,Wu.TAB_FROM_BELOW);return e.prepend(n),e.append(o),{activate(){n.tabIndex=0,o.tabIndex=0},deactivate(){n.tabIndex=-1,o.tabIndex=-1},destroy(){n.remove(),o.remove()}}}(t,e);return{getType:()=>o.type,hasContainerDetached:()=>!t.rootWrapperElement.contains(e),getShortcutsContextName:()=>o.shortcutsContextName,runOnlyIf:()=>o.runOnlyIf(),contains:t=>o.contains(t),activate:function(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Wu.UNKNOWN;null===(t=o.onActivate)||void 0===t||t.call(o,e)},deactivate:()=>{var t;null===(t=o.onDeactivate)||void 0===t||t.call(o)},activateFocusCatchers:()=>{null==i||i.activate()},deactivateFocusCatchers:()=>{null==i||i.deactivate()},enable:()=>{e.removeAttribute("inert")},disable:()=>{e.setAttribute("inert","true")},destroy:()=>{null==i||i.destroy()}}}function $u(t){const e=wo({errorIdExists:t=>`The "${t}" focus scope is already registered.`}),n=t.getShortcutManager();let o=null;function i(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Wu.UNKNOWN;o!==t&&(null!==o&&r(o),o=t,o.activate(e),n.setActiveContextName(t.getShortcutsContextName()))}function r(t){s(),o===t&&(o=null,t.deactivate())}function s(){const n=e.getValues(),i=n.filter(t=>t.runOnlyIf()&&"modal"===t.getType());n.forEach(e=>{i.length>0&&i.includes(e)||0===i.length||e.hasContainerDetached()?e.enable():e.disable(),e===o?e.contains(t.rootDocument.activeElement)?e.deactivateFocusCatchers():e.activateFocusCatchers():e.runOnlyIf()?e.activateFocusCatchers():e.deactivateFocusCatchers()})}function a(n,s){if(!n.isConnected||!Re(n))return;const a=e.getValues().filter(t=>t.runOnlyIf());let l=!1;a.forEach(e=>{!l&&e.contains(n)&&(l=!0,s!==Wu.UNKNOWN&&t.listen(),i(e,s))}),!l&&o&&(r(o),t.unlisten())}const l=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!1;function o(t){var o;n||null===(o=e.onFocus)||void 0===o||o.call(e,t)}function i(t){var n;null===(n=e.onClick)||void 0===n||n.call(e,t)}function r(t){var n;"Tab"===t.key&&(null===(n=e.onTabKeyDown)||void 0===n||n.call(e,t))}function s(){n=!0}function a(){n=!1}return{mount:()=>{let e=t;for(;e;){const{documentElement:t}=e.document;t.addEventListener("focusin",o),t.addEventListener("click",i),t.addEventListener("keydown",r),t.addEventListener("mousedown",s),t.addEventListener("mouseup",a),e=ie(e)}},unmount:()=>{let e=t;for(;e;){const{documentElement:t}=e.document;t.removeEventListener("focusin",o),t.removeEventListener("click",i),t.removeEventListener("keydown",r),t.removeEventListener("mousedown",s),t.removeEventListener("mouseup",a),e=ie(e)}}}}(t.rootWindow,{onFocus:t=>{var e;a(t.target,null!==(e=t.target.dataset.htFocusSource)&&void 0!==e?e:Wu.UNKNOWN)},onClick:t=>{a(t.target,Wu.CLICK)},onTabKeyDown:()=>{s()}});return l.mount(),{getActiveScopeId:function(){return o?e.getId(o):null},registerScope:function(o,i){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e.hasItem(o)&&wt(`Scope with id "${o}" already registered`);const s=ju(t,i,r);e.addItem(o,s),n.getOrCreateContext(s.getShortcutsContextName())},unregisterScope:function(t){e.hasItem(t)||wt(`Scope with id "${t}" not found`),e.getItem(t).destroy(),e.removeItem(t)},activateScope:t=>function(t){e.hasItem(t)||wt(`Scope with id "${t}" not found`),i(e.getItem(t))}(t),deactivateScope:t=>function(t){e.hasItem(t)||wt(`Scope with id "${t}" not found`),r(e.getItem(t))}(t),destroy:()=>l.unmount()}}function Uu(t,e,n){Yu(t,e),e.set(t,n)}function Yu(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Gu(t,e){return t.get(qu(t,e))}function Ku(t,e,n){return t.set(qu(t,e),n),n}function qu(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}const Xu=Object.freeze({CELL:"cell",MIXED:"mixed"});var Zu=new WeakMap,Ju=new WeakMap,Qu=new WeakMap,tg=new WeakMap,eg=new WeakMap,ng=new WeakMap,og=new WeakSet;class ig{constructor(t){var e,n;Yu(e=this,n=og),n.add(e),Uu(this,Zu,void 0),Uu(this,Ju,void 0),Uu(this,Qu,1),Uu(this,tg,null),Uu(this,eg,new Map),Uu(this,ng,!1),Ku(Zu,this,t)}init(){var t=this;const e=Gu(Zu,this).getSettings();Ku(Ju,this,e.imeFastEdit?Xu.MIXED:Xu.CELL),Gu(Zu,this).addHook("afterUpdateSettings",function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return qu(og,t,cg).call(t,...n)}),Gu(Zu,this).addHook("afterSelection",function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return qu(og,t,lg).call(t,...n)}),Gu(Zu,this).addHook("afterSelectionFocusSet",function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return qu(og,t,lg).call(t,...n)}),Gu(Zu,this).addHook("afterSelectionEnd",function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return qu(og,t,ag).call(t,...n)}),Gu(Zu,this).addHook("afterRender",function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return qu(og,t,hg).call(t,...n)})}getFocusMode(){return Gu(Ju,this)}setFocusMode(t){Object.values(Xu).includes(t)?Ku(Ju,this,t):Qt(`"${t}" is not a valid focus mode.`)}getRefocusDelay(){return Gu(Qu,this)}setRefocusDelay(t){Ku(Qu,this,t)}setRefocusElementGetter(t){Ku(tg,this,t)}getRefocusElement(){var t;return"function"==typeof Gu(tg,this)?Gu(tg,this).call(this):null===(t=Gu(Zu,this).getActiveEditor())||void 0===t?void 0:t.TEXTAREA}focusOnHighlightedCell(t){const e=t=>{var e,n;const o=null===(e=Gu(Zu,this).getSelectedRangeActive())||void 0===e?void 0:e.highlight;if(!o)return;let i=Gu(Zu,this).runHooks("modifyFocusedElement",o.row,o.col,t);Xe(i)||(i=t),!i||null!==(n=Gu(Zu,this).getActiveEditor())&&void 0!==n&&n.isOpened()||i.focus({preventScroll:!0})};t?e(t):qu(og,this,rg).call(this,t=>e(t))}refocusToEditorTextarea(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gu(Qu,this);var n,o;!Gu(Zu,this).getSettings().imeFastEdit||null!==(t=Gu(Zu,this).getActiveEditor())&&void 0!==t&&t.isOpened()||(null===(n=Gu(Zu,this).getActiveEditor())||void 0===n||null===(o=n.refreshValue)||void 0===o||o.call(n),Gu(eg,this).has(e)||Gu(eg,this).set(e,Je(()=>{var t;Gu(Zu,this).isDestroyed||(null===(t=this.getRefocusElement())||void 0===t||t.select())},e)),Gu(eg,this).get(e)())}}function rg(t){var e;const n=null===(e=Gu(Zu,this).getSelectedRangeActive())||void 0===e?void 0:e.highlight;if(!n||!Gu(Zu,this).selection.isCellVisible(n))return void t(null);const o=Gu(Zu,this).getCell(n.row,n.col,!0);null===o?Gu(Zu,this).addHookOnce("afterScroll",()=>{t(Gu(Zu,this).getCell(n.row,n.col,!0))}):t(o)}function sg(){qu(og,this,rg).call(this,t=>{const{activeElement:e}=Gu(Zu,this).rootDocument;e&&Ye(e)&&e.blur(),this.focusOnHighlightedCell(t)})}function ag(){qu(og,this,rg).call(this,t=>{this.getFocusMode()===Xu.MIXED&&"TD"===(null==t?void 0:t.nodeName)&&this.refocusToEditorTextarea()})}function lg(){Ku(ng,this,!0)}function hg(){Gu(ng,this)&&(Ku(ng,this,!1),qu(og,this,sg).call(this))}function cg(t){"boolean"==typeof t.imeFastEdit&&this.setFocusMode(t.imeFastEdit?Xu.MIXED:Xu.CELL)}function dg(t){const{rowIndexMapper:e,columnIndexMapper:n}=t,{navigableHeaders:o}=t.getSettings();let i=o&&t.countColHeaders()>0?-t.countColHeaders():0,r=o&&t.countRowHeaders()>0?-t.countRowHeaders():0;return 0===i&&(i=e.getVisualFromRenderableIndex(i)),0===r&&(r=n.getVisualFromRenderableIndex(r)),null===i||null===r?null:t._createCellCoords(i,r)}function ug(t){var e,n;const{rowIndexMapper:o,columnIndexMapper:i}=t,{navigableHeaders:r}=t.getSettings();let s=o.getRenderableIndexesLength()-1,a=i.getRenderableIndexesLength()-1;if(s<0){if(!r||0===t.countColHeaders())return null;s=-1}if(a<0){if(!r||0===t.countColHeaders())return null;a=-1}return t._createCellCoords(null!==(e=o.getVisualFromRenderableIndex(s))&&void 0!==e?e:s,null!==(n=i.getVisualFromRenderableIndex(a))&&void 0!==n?n:a)}const gg="gridDefault",fg="grid",pg="grid.tabNavigation",mg="editorManager.handlingEditor",bg={name:"editorCloseAndSave",callback(t){t._getEditorManager().closeEditorAndSaveChanges()}},wg={_hooksStorage:Object.create(null),addHook(t,e){return this._hooksStorage[t]||(this._hooksStorage[t]=[]),this.hot.addHook(t,e),this._hooksStorage[t].push(e),this},removeHooksByKey(t){x(this._hooksStorage[t]||[],e=>{this.hot.removeHook(t,e)})},clearHooks(){Tt(this._hooksStorage,(t,e)=>this.removeHooksByKey(e)),this._hooksStorage={}}};function vg(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Mt(wg,"MIXIN_NAME","hooksRefRegisterer",{writable:!1,enumerable:!1});const yg=Object.freeze({VIRGIN:"STATE_VIRGIN",EDITING:"STATE_EDITING",WAITING:"STATE_WAITING",FINISHED:"STATE_FINISHED"});class Cg{static get EDITOR_TYPE(){return"base"}constructor(t){vg(this,"hot",void 0),vg(this,"state",yg.VIRGIN),vg(this,"_opened",!1),vg(this,"_fullEditMode",!1),vg(this,"_closeCallback",null),vg(this,"_closeAfterDataChange",!0),vg(this,"TD",null),vg(this,"row",null),vg(this,"col",null),vg(this,"prop",null),vg(this,"originalValue",null),vg(this,"cellProperties",null),this.hot=t,this.init()}_fireCallbacks(t){this._closeCallback&&(this._closeCallback(t),this._closeCallback=null)}init(){}getValue(){wt("Editor getValue() method unimplemented")}setValue(){wt("Editor setValue() method unimplemented")}open(){wt("Editor open() method unimplemented")}close(){wt("Editor close() method unimplemented")}prepare(t,e,n,o,i,r){this.TD=o,this.row=t,this.col=e,this.prop=n,this.originalValue=i,this.cellProperties=r,this.state=this.isOpened()?this.state:yg.VIRGIN}extend(){return class extends this.constructor{}}saveValue(t,e){let n,o,i,r;if(e){const t=this.hot.getSelectedRangeActive(),e=t.getTopStartCorner(),s=t.getBottomEndCorner();n=e.row,o=e.col,i=s.row,r=s.col}else[n,o,i,r]=[this.row,this.col,null,null];const s=this.hot.runHooks("modifyGetCellCoords",n,o,!1,"meta");Array.isArray(s)&&([n,o]=s),this.hot.populateFromArray(n,o,t,i,r,"edit")}beginEditing(t,e){if(this.state!==yg.VIRGIN)return;const n=this.hot,o=n.rowIndexMapper.getRenderableFromVisualIndex(this.row),i=n.columnIndexMapper.getRenderableFromVisualIndex(this.col);if(n.view.scrollViewport(n._createCellCoords(o,i)),this.state=yg.EDITING,this.isInFullEditMode()){const e=Wd(this.originalValue,this.hot.getCellMeta(this.row,this.col)),n="string"==typeof t?t:H(e);this.setValue(n)}this.open(e),this._opened=!0,this.focus(),n.view.render(),n.runHooks("afterBeginEditing",this.row,this.col),this.addHook("beforeDialogShow",()=>this.cancelChanges())}finishEditing(t,e,n){if(n){const t=this._closeCallback;this._closeCallback=e=>{t&&t(e),n(e),this.hot.view.render()}}if(!this.isWaiting())if(this.state!==yg.VIRGIN){if(this.state===yg.EDITING){if(t)return this.cancelChanges(),void this.hot.view.render();let n=this.getValue();this.cellProperties.trimWhitespace&&(n="string"==typeof n?String.prototype.trim.call(n||""):n),"function"==typeof this.cellProperties.valueParser&&(n=this.cellProperties.valueParser(n,this.cellProperties)),this.state=yg.WAITING,this.saveValue([[n]],e),this.hot.getCellValidator(this.cellProperties)?this.hot.addHookOnce("postAfterValidate",t=>{this.state=yg.FINISHED,this.discardEditor(t)}):(this.state=yg.FINISHED,this.discardEditor(!0))}}else this.hot._registerTimeout(()=>{this._fireCallbacks(!0)})}cancelChanges(){this.state=yg.FINISHED,this.discardEditor()}discardEditor(t){if(this.state===yg.FINISHED)if(!1===t&&!0!==this.cellProperties.allowInvalid)this.hot.selectCell(this.row,this.col),this.focus(),this.state=yg.EDITING,this._fireCallbacks(!1);else{this.close(),this._opened=!1,this._fullEditMode=!1,this.state=yg.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===yg.WAITING}getEditedCellRect(){var t;const e=this.getEditedCell();if(!e)return;const{wtOverlays:n,wtViewport:o}=this.hot.view._wt,i=this.hot.rootWindow,r=ke(e),s=Ae(e),a=ke(this.hot.rootElement),l=Ae(this.hot.rootElement),h=n.topOverlay.holder,c=n.inlineStartOverlay.holder,d=h!==i?h.scrollTop:0,u=c!==i?c.scrollLeft:0,g=i.innerWidth-a.left-l,{wtTable:f}=null!==(t=n.getParentOverlay(e))&&void 0!==t?t:this.hot.view._wt,p=f.name,m=["master","inline_start"].includes(p)?d:0,b=["master","top","bottom"].includes(p)?u:0,w=r.top===a.top?0:1;let v=r.top-a.top-w-m,y=0;y=this.hot.isRtl()?i.innerWidth-r.left-s-g-1+b:r.left-a.left-1-b,["top","top_inline_start_corner"].includes(p)&&(v+=n.topOverlay.getOverlayOffset()),["inline_start","top_inline_start_corner"].includes(p)&&(y+=Math.abs(n.inlineStartOverlay.getOverlayOffset()));const C=this.hot.hasColHeaders(),S=this.hot.rowIndexMapper.getRenderableFromVisualIndex(this.row),R=this.hot.columnIndexMapper.getRenderableFromVisualIndex(this.col),k=this.hot.rowIndexMapper.getRenderableIndexesLength()-this.hot.view._wt.getSetting("fixedRowsBottom");(C&&S<=0||S===k)&&(v+=1),R<=0&&(y+=1);const x=o.rowsRenderCalculator.startPosition,E=o.columnsRenderCalculator.startPosition,M=Math.abs(n.inlineStartOverlay.getScrollPosition()),T=n.topOverlay.getScrollPosition(),_=Fe(this.hot.rootDocument);let H=e.offsetTop;if(["inline_start","master"].includes(p)&&(H+=x-T),["bottom","bottom_inline_start_corner"].includes(p)){const{wtViewport:t,wtTable:e}=n.bottomOverlay.clone;H+=t.getWorkspaceHeight()-e.getHeight()-_}let I=e.offsetLeft;this.hot.isRtl()?(I=I>=0?f.getWidth()-e.offsetLeft:Math.abs(I),I+=E-M-s):["top","master","bottom"].includes(p)&&(I+=E-M);const A=i.getComputedStyle(this.TD),P=this.hot.isRtl()?"borderRightWidth":"borderLeftWidth",O=parseInt(A[P],10)>0?0:1,N=parseInt(A.borderTopWidth,10)>0?0:1,D=Ae(e)+O,L=Pe(e)+N,V=We(h)?_:0,B=ze(c)?_:0,F=this.hot.view.maximumVisibleElementWidth(I)-V+O;return{top:v,start:y,height:L,maxHeight:Math.max(this.hot.view.maximumVisibleElementHeight(H)-B+N,this.hot.stylesHandler.getDefaultRowHeight()),width:D,maxWidth:F}}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 t=this.hot.countRows();let e="";return this.row<this.hot.getSettings().fixedRowsTop?e=this.col<this.hot.getSettings().fixedColumnsStart?"top-inline-start-corner":"top":this.hot.getSettings().fixedRowsBottom&&this.row>=t-this.hot.getSettings().fixedRowsBottom?e=this.col<this.hot.getSettings().fixedColumnsStart?"bottom-inline-start-corner":"bottom":this.col<this.hot.getSettings().fixedColumnsStart&&(e="inline-start"),e}}kt(Cg,wg);const Sg=[bg,{name:"editorCloseAndSaveByArrowKeys",callback(t,e,n){const o=t._getEditorManager(),i=o.getActiveEditor();i.isInFullEditMode()&&i.state===yg.EDITING||(o.closeEditorAndSaveChanges(),t.getSelected()&&(n.includes("arrowdown")?t.selection.transformStart(1,0):n.includes("arrowup")?t.selection.transformStart(-1,0):n.includes("arrowleft")?t.selection.transformStart(0,-1*t.getDirectionFactor()):n.includes("arrowright")&&t.selection.transformStart(0,t.getDirectionFactor())),e.preventDefault())}},{name:"editorCloseAndSaveByEnter",callback(t,e){const n=t._getEditorManager();n.closeEditorAndSaveChanges(e.ctrlKey||e.metaKey),n.moveSelectionAfterEnter(e)}},{name:"editorCloseWithoutSaving",callback(t){const e=t._getEditorManager();e.closeEditorAndRestoreOriginalValue(t.getShortcutManager().isCtrlPressed()),e.activeEditor.focus()}},{name:"editorFastOpen",callback(t,e){const{highlight:n}=t.getSelectedRangeActive();n.isHeader()||t._getEditorManager().openEditor(null,e,!0)}},{name:"editorOpen",callback(t,e,n){const{selection:o}=t,i=t._getEditorManager(),r=t.getSelectedRange(),s=t.getSelectedRangeActive(),{highlight:a}=s;if((r.some(t=>o.isMultiple(t))||r.length>1)&&!s.isHeader()&&t.countRenderedCols()>0&&t.countRenderedRows()>0){const i=t.getSettings(),r="function"==typeof i.enterMoves?i.enterMoves(e):i.enterMoves;return void(n.includes("shift")?o.transformFocus(-r.row,-r.col):o.transformFocus(r.row,r.col))}a.isHeader()||(t.getSettings().enterBeginsEditing?i.cellProperties.readOnly?i.moveSelectionAfterEnter(e):i.openEditor(null,e,!0):i.moveSelectionAfterEnter(e),an(e))}},{name:"extendCellsSelectionDown",callback(t){const{selection:e}=t,{highlight:n}=t.getSelectedRangeActive();e.isSelectedByColumnHeader()||e.isSelectedByCorner()||!(n.isCell()||n.isHeader()&&e.isSelectedByRowHeader())||(e.markSource("keyboard"),e.transformEnd(1,0),e.markEndSource())}},{name:"extendCellsSelectionDownByViewportHeight",callback(t){const{selection:e,rowIndexMapper:n}=t,{to:o}=t.getSelectedRangeActive(),i=Math.min(o.row+t.countVisibleRows(),t.countRows()-1),r=n.getNearestNotHiddenIndex(i,-1);if(null!==r){const n=t._createCellCoords(r,o.col),i=o.row-t.getFirstFullyVisibleRow(),s=Math.min(n.row-i,t.countRows()-1);e.markSource("keyboard"),e.setRangeEnd(n,t.getActiveSelectionLayerIndex()),e.markEndSource(),t.scrollViewportTo({row:s,verticalSnap:"top",horizontalSnap:"start"})}}},{name:"extendCellsSelectionLeft",callback(t){const{selection:e}=t,{highlight:n}=t.getSelectedRangeActive();e.isSelectedByRowHeader()||e.isSelectedByCorner()||!(n.isCell()||n.isHeader()&&e.isSelectedByColumnHeader())||(e.markSource("keyboard"),e.transformEnd(0,-1*t.getDirectionFactor()),e.markEndSource())}},{name:"extendCellsSelectionRight",callback(t){const{selection:e}=t,{highlight:n}=t.getSelectedRangeActive();e.isSelectedByRowHeader()||e.isSelectedByCorner()||!(n.isCell()||n.isHeader()&&e.isSelectedByColumnHeader())||(e.markSource("keyboard"),e.transformEnd(0,t.getDirectionFactor()),e.markEndSource())}},{name:"extendCellsSelectionToColumns",callback(t){const{selection:e}=t,{highlight:n,from:o,to:i}=t.getSelectedRangeActive();e.markSource("keyboard"),e.isSelectedByRowHeader()?e.selectAll(!0,!0):t.selectColumns(o.col,i.col,n),e.markEndSource()}},{name:"extendCellsSelectionToMostBottom",callback(t){const{selection:e,rowIndexMapper:n}=t,{highlight:o,from:i,to:r}=t.getSelectedRangeActive(),s=o.isHeader()&&e.isSelectedByRowHeader();if(o.isCell()||s){const a=n.getNearestNotHiddenIndex(t.countRows()-1,-1),l=i.clone();l.row=o.row,e.markSource("keyboard"),e.setRangeStart(l,void 0,!1,o.clone()),s&&e.selectedByRowHeader.add(e.getLayerLevel()),e.setRangeEnd(t._createCellCoords(a,r.col)),e.markEndSource()}}},{name:"extendCellsSelectionToMostInlineEnd",callback(t){const{selection:e,columnIndexMapper:n}=t,{highlight:o,from:i,to:r}=t.getSelectedRangeActive();if(!e.isSelectedByRowHeader()&&!e.isSelectedByCorner()&&o.isCell()){const s=n.getNearestNotHiddenIndex(t.countCols()-1,-1),a=i.clone();a.col=o.col,e.markSource("keyboard"),e.setRangeStart(a,void 0,!1,o.clone()),e.setRangeEnd(t._createCellCoords(r.row,s)),e.markEndSource()}}},{name:"extendCellsSelectionToMostInlineStart",callback(t){const{selection:e,columnIndexMapper:n}=t,{highlight:o,from:i,to:r}=t.getSelectedRangeActive();if(!e.isSelectedByRowHeader()&&!e.isSelectedByCorner()&&o.isCell()){const s=parseInt(t.getSettings().fixedColumnsStart,10),a=n.getNearestNotHiddenIndex(s,1),l=i.clone();l.col=o.col,e.markSource("keyboard"),e.setRangeStart(l,void 0,!1,o.clone()),e.setRangeEnd(t._createCellCoords(r.row,a)),e.markEndSource()}}},{name:"extendCellsSelectionToMostLeft",callback(t){const{selection:e,columnIndexMapper:n}=t,{highlight:o,from:i,to:r}=t.getSelectedRangeActive(),s=o.isHeader()&&e.isSelectedByColumnHeader();if(o.isCell()||s){const a=n.getNearestNotHiddenIndex(...t.isRtl()?[t.countCols()-1,-1]:[0,1]),l=i.clone();l.col=o.col,e.markSource("keyboard"),e.setRangeStart(l,void 0,!1,o.clone()),s&&e.selectedByColumnHeader.add(e.getLayerLevel()),e.setRangeEnd(t._createCellCoords(r.row,a)),e.markEndSource()}}},{name:"extendCellsSelectionToMostRight",callback(t){const{selection:e,columnIndexMapper:n}=t,{highlight:o,from:i,to:r}=t.getSelectedRangeActive(),s=o.isHeader()&&e.isSelectedByColumnHeader();if(o.isCell()||s){const a=n.getNearestNotHiddenIndex(...t.isRtl()?[0,1]:[t.countCols()-1,-1]),l=i.clone();l.col=o.col,e.markSource("keyboard"),e.setRangeStart(l,void 0,!1,o.clone()),s&&e.selectedByColumnHeader.add(e.getLayerLevel()),e.setRangeEnd(t._createCellCoords(r.row,a)),e.markEndSource()}}},{name:"extendCellsSelectionToMostTop",callback(t){const{selection:e,rowIndexMapper:n}=t,{highlight:o,from:i,to:r}=t.getSelectedRangeActive(),s=o.isHeader()&&e.isSelectedByRowHeader();if(o.isCell()||s){const a=n.getNearestNotHiddenIndex(0,1),l=i.clone();l.row=o.row,e.markSource("keyboard"),e.setRangeStart(l,void 0,!1,o.clone()),s&&e.selectedByRowHeader.add(e.getLayerLevel()),e.setRangeEnd(t._createCellCoords(a,r.col)),e.markEndSource()}}},{name:"extendCellsSelectionToRows",callback(t){const{selection:e}=t,{highlight:n,from:o,to:i}=t.getSelectedRangeActive();e.markSource("keyboard"),e.isSelectedByColumnHeader()?e.selectAll(!0,!0):t.selectRows(o.row,i.row,n),e.markEndSource()}},{name:"extendCellsSelectionUp",callback(t){const{selection:e}=t,{highlight:n}=t.getSelectedRangeActive();e.isSelectedByColumnHeader()||e.isSelectedByCorner()||!(n.isCell()||n.isHeader()&&e.isSelectedByRowHeader())||(e.markSource("keyboard"),e.transformEnd(-1,0),e.markEndSource())}},{name:"extendCellsSelectionUpByViewportHeight",callback(t){const{selection:e,rowIndexMapper:n}=t,{to:o}=t.getSelectedRangeActive(),i=Math.max(o.row-t.countVisibleRows(),0),r=n.getNearestNotHiddenIndex(i,1);if(null!==r){const n=t._createCellCoords(r,o.col),i=o.row-t.getFirstFullyVisibleRow(),s=Math.max(n.row-i,0);e.markSource("keyboard"),e.setRangeEnd(n,t.getActiveSelectionLayerIndex()),e.markEndSource(),t.scrollViewportTo({row:s,verticalSnap:"top",horizontalSnap:"start"})}}},{name:"moveCellSelectionDown",callback(t){let{selection:e}=t;e.markSource("keyboard"),e.transformStart(1,0),e.markEndSource()}},{name:"moveCellSelectionDownByViewportHeight",callback(t){const{selection:e}=t,{navigableHeaders:n}=t.getSettings(),o=n?t.countColHeaders():0,{row:i}=t.getSelectedRangeActive().highlight;let r=t.countVisibleRows()+o;r=0===r?1:r,i===t.countRows()-1?r=1:i+r>t.countRows()&&(r=t.countRows()-i-1),e.markSource("keyboard"),e.transformStart(r,0),e.markEndSource(),t.getSelectedRangeActive().highlight.row<0&&t.scrollViewportTo({row:0})}},{name:"moveCellSelectionInlineEnd",callback(t,e){const{selection:n}=t,o=t.getSettings(),i=t.getSelectedRange(),r=t.getSelectedRangeActive(),s="function"==typeof o.tabMoves?o.tabMoves(e):o.tabMoves;n.markSource("keyboard"),(i.some(t=>n.isMultiple(t))||i.length>1)&&!r.isHeader()&&t.countRenderedCols()>0&&t.countRenderedRows()>0?n.transformFocus(-s.row,-s.col):n.transformStart(-s.row,-s.col),n.markEndSource()}},{name:"moveCellSelectionInlineStart",callback(t,e){const{selection:n}=t,o=t.getSettings(),i=t.getSelectedRange(),r=t.getSelectedRangeActive(),s="function"==typeof o.tabMoves?o.tabMoves(e):o.tabMoves;n.markSource("keyboard"),(i.some(t=>n.isMultiple(t))||i.length>1)&&!r.isHeader()&&t.countRenderedCols()>0&&t.countRenderedRows()>0?n.transformFocus(s.row,s.col):n.transformStart(s.row,s.col),n.markEndSource()}},{name:"moveCellSelectionLeft",callback(t){const{selection:e}=t;e.markSource("keyboard"),e.transformStart(0,-1*t.getDirectionFactor()),e.markEndSource()}},{name:"moveCellSelectionRight",callback(t){const{selection:e}=t;e.markSource("keyboard"),e.transformStart(0,t.getDirectionFactor()),e.markEndSource()}},{name:"moveCellSelectionToMostBottom",callback(t){const{selection:e}=t,{col:n}=t.getSelectedRangeActive().highlight;let o=t.rowIndexMapper.getNearestNotHiddenIndex(t.countRows()-1,-1);null===o&&(o=-1),e.setRangeStart(t._createCellCoords(o,n))}},{name:"moveCellSelectionToMostBottomInlineEnd",callback(t){const{selection:e,rowIndexMapper:n,columnIndexMapper:o}=t,i=parseInt(t.getSettings().fixedRowsBottom,10),r=n.getNearestNotHiddenIndex(t.countRows()-i-1,-1),s=o.getNearestNotHiddenIndex(t.countCols()-1,-1);e.markSource("keyboard"),e.setRangeStart(t._createCellCoords(r,s)),e.markEndSource()}},{name:"moveCellSelectionToMostInlineEnd",callback(t){const{selection:e,columnIndexMapper:n}=t;e.markSource("keyboard"),e.setRangeStart(t._createCellCoords(t.getSelectedRangeActive().highlight.row,n.getNearestNotHiddenIndex(t.countCols()-1,-1))),e.markEndSource()}},{name:"moveCellSelectionToMostInlineStart",callback(t){const{selection:e,columnIndexMapper:n}=t,o=parseInt(t.getSettings().fixedColumnsStart,10),i=t.getSelectedRangeActive().highlight.row,r=n.getNearestNotHiddenIndex(o,1);e.markSource("keyboard"),e.setRangeStart(t._createCellCoords(i,r)),e.markEndSource()}},{name:"moveCellSelectionToMostLeft",callback(t){const{selection:e,columnIndexMapper:n}=t,o=t.getSelectedRangeActive().highlight.row;let i=n.getNearestNotHiddenIndex(...t.isRtl()?[t.countCols()-1,-1]:[0,1]);null===i&&(i=t.isRtl()?-1:-t.countRowHeaders()),e.markSource("keyboard"),e.setRangeStart(t._createCellCoords(o,i)),e.markEndSource()}},{name:"moveCellSelectionToMostRight",callback(t){const{selection:e,columnIndexMapper:n}=t,{row:o}=t.getSelectedRangeActive().highlight;let i=n.getNearestNotHiddenIndex(...t.isRtl()?[0,1]:[t.countCols()-1,-1]);null===i&&(i=t.isRtl()?-t.countRowHeaders():-1),e.markSource("keyboard"),e.setRangeStart(t._createCellCoords(o,i)),e.markEndSource()}},{name:"moveCellSelectionToMostTop",callback(t){const{selection:e}=t,{col:n}=t.getSelectedRangeActive().highlight;let o=t.rowIndexMapper.getNearestNotHiddenIndex(0,1);null===o&&(o=-t.countColHeaders()),e.markSource("keyboard"),e.setRangeStart(t._createCellCoords(o,n)),e.markEndSource()}},{name:"moveCellSelectionToMostTopInlineStart",callback(t){const{selection:e,rowIndexMapper:n,columnIndexMapper:o}=t,i=parseInt(t.getSettings().fixedRowsTop,10),r=parseInt(t.getSettings().fixedColumnsStart,10),s=n.getNearestNotHiddenIndex(i,1),a=o.getNearestNotHiddenIndex(r,1);e.markSource("keyboard"),e.setRangeStart(t._createCellCoords(s,a)),e.markEndSource()}},{name:"moveCellSelectionUp",callback(t){let{selection:e}=t;e.markSource("keyboard"),e.transformStart(-1,0),e.markEndSource()}},{name:"moveCellSelectionUpByViewportHight",callback(t){const{selection:e}=t,{navigableHeaders:n}=t.getSettings(),o=n?t.countColHeaders():0,{row:i}=t.getSelectedRangeActive().highlight;let r=t.countVisibleRows()+o;r=0===r?-1:-r,i===-o?r=-1:i+r<o&&(r=-(i+o)),e.markSource("keyboard"),e.transformStart(r,0),e.markEndSource(),t.getSelectedRangeActive().highlight.row<0&&t.scrollViewportTo({row:0})}},{name:"emptySelectedCells",callback(t){t.emptySelectedCells(),t._getEditorManager().prepareEditor()}},{name:"scrollToFocusedCell",callback(t){const{highlight:e}=t.getSelectedRangeActive(),n=t.getFirstFullyVisibleRow()-1,o=t.getFirstFullyVisibleColumn()-1,i=t.getLastFullyVisibleRow()+1,r=t.getLastFullyVisibleColumn()+1,s=t._createCellCoords(n,o),a=t._createCellCoords(i,r);if(!t._createCellRange(s,s,a).includes(e)&&(e.row>=0||e.col>=0)){const n={};if(e.col>=0){const o=Math.floor(t.countVisibleCols()/2);n.col=Math.max(e.col-o,0)}if(e.row>=0){const o=Math.floor(t.countVisibleRows()/2);n.row=Math.max(e.row-o,0)}t.scrollViewportTo({...n,verticalSnap:"top",horizontalSnap:"start"})}}},{name:"selectAllCells",callback(t){let{selection:e}=t;e.markSource("keyboard"),e.selectAll(!0,!0,{disableHeadersHighlight:!0}),e.markEndSource()}},{name:"selectAllCellsAndHeaders",callback(t){let{selection:e}=t;e.markSource("keyboard"),e.selectAll(!0,!0,{disableHeadersHighlight:!1}),e.markEndSource()}},{name:"populateSelectedCellsData",callback(t){const e=t.getSelectedRange(),{row:n,col:o}=e[e.length-1].highlight.normalize(),i=t.getDataAtCell(n,o),r=new Map;for(let s=0;s<e.length;s++)e[s].forAll((e,s)=>{if(e>=0&&s>=0&&(e!==n||s!==o)){const{readOnly:n}=t.getCellMeta(e,s);n||r.set(`${e}x${s}`,[e,s,i])}});t.setDataAtCell(Array.from(r.values()))}},{name:"tabNavigation",callback(t){const e={wrapped:!1,flipped:!1};let n=!1,o=!1;return t.addHook("afterSelection",(t,i,r,s,a)=>{n&&(e.wrapped&&e.flipped||o)&&(o=!1,a.value=!0)}),t.addHook("beforeRowWrap",(t,n,o)=>{e.wrapped=!0,e.flipped=o}),{before(){const{tabNavigation:e}=t.getSettings();n=!0,e||(o=!0)},after(o){const{tabNavigation:i,autoWrapRow:r}=t.getSettings();if(n=!1,!i||!t.selection.isSelected()||r&&e.wrapped&&e.flipped||!r&&e.wrapped)return e.wrapped=!1,e.flipped=!1,t.deselectCell(),!1;o.preventDefault()}}}}];function Rg(t){const e={};return Sg.forEach(n=>{let{name:o,callback:i}=n;e[o]=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return i(t,...n)}}),e}function kg(t){const e=t.getShortcutManager().addContext("editor"),n=Rg(t),o={group:mg};e.addShortcuts([{keys:[["Enter"],["Enter","Shift"]],callback:(t,e)=>n.editorCloseAndSaveByEnter(t,e)},{keys:[["Enter","Control/Meta"],["Enter","Control/Meta","Shift"]],captureCtrl:!0,callback:(t,e)=>n.editorCloseAndSaveByEnter(t,e)},{keys:[["Tab"],["Tab","Shift"],["PageDown"],["PageUp"]],forwardToContext:t.getShortcutManager().getContext(fg),callback:(t,e)=>n.editorCloseAndSave(t,e)},{keys:[["ArrowDown"],["ArrowUp"],["ArrowLeft"],["ArrowRight"]],preventDefault:!1,callback:(t,e)=>n.editorCloseAndSaveByArrowKeys(t,e)},{keys:[["Escape"],["Escape","Control/Meta"]],callback:()=>n.editorCloseWithoutSaving()}],o)}function xg(t){const e=t.getShortcutManager().addContext(fg),n=Rg(t),o={runOnlyIf:()=>{const{navigableHeaders:e}=t.getSettings();return I(t.getSelected())&&(e||!e&&t.countRenderedRows()>0&&t.countRenderedCols()>0)},group:gg};e.addShortcuts([{keys:[["F2"]],callback:t=>n.editorFastOpen(t)},{keys:[["Enter"],["Enter","Shift"]],callback:(t,e)=>n.editorOpen(t,e)},{keys:[["Backspace"],["Delete"]],callback:()=>n.emptySelectedCells()}],{group:mg,runOnlyIf:()=>I(t.getSelected())}),e.addShortcuts([{keys:[["Control/Meta","A"]],callback:()=>n.selectAllCells(),runOnlyIf:()=>{var e;return I(t.getSelected())&&!(null!==(e=t.getSelectedRangeActive())&&void 0!==e&&e.highlight.isHeader())}},{keys:[["Control/Meta","A"]],callback:()=>{},runOnlyIf:()=>{var e;return I(t.getSelected())&&(null===(e=t.getSelectedRangeActive())||void 0===e?void 0:e.highlight.isHeader())},preventDefault:!0},{keys:[["Control/Meta","Shift","Space"]],callback:()=>n.selectAllCellsAndHeaders()},{keys:[["Control/Meta","Enter"]],callback:()=>n.populateSelectedCellsData(),runOnlyIf:()=>I(t.getSelected())&&!t.getSelectedRangeActive().highlight.isHeader()&&t.getSelectedRangeActive().getCellsCount()>1},{keys:[["Control","Space"]],captureCtrl:!0,callback:()=>n.extendCellsSelectionToColumns()},{keys:[["Shift","Space"]],stopPropagation:!0,callback:()=>n.extendCellsSelectionToRows()},{keys:[["ArrowUp"]],callback:()=>n.moveCellSelectionUp()},{keys:[["ArrowUp","Control/Meta"]],captureCtrl:!0,callback:()=>n.moveCellSelectionToMostTop()},{keys:[["ArrowUp","Shift"]],callback:()=>n.extendCellsSelectionUp()},{keys:[["ArrowUp","Shift","Control/Meta"]],captureCtrl:!0,callback:()=>n.extendCellsSelectionToMostTop(),runOnlyIf:()=>I(t.getSelected())&&!(t.selection.isSelectedByCorner()||t.selection.isSelectedByColumnHeader())},{keys:[["ArrowDown"]],callback:()=>n.moveCellSelectionDown()},{keys:[["ArrowDown","Control/Meta"]],captureCtrl:!0,callback:()=>n.moveCellSelectionToMostBottom()},{keys:[["ArrowDown","Shift"]],callback:()=>n.extendCellsSelectionDown()},{keys:[["ArrowDown","Shift","Control/Meta"]],captureCtrl:!0,callback:()=>n.extendCellsSelectionToMostBottom(),runOnlyIf:()=>I(t.getSelected())&&!(t.selection.isSelectedByCorner()||t.selection.isSelectedByColumnHeader())},{keys:[["ArrowLeft"]],callback:()=>n.moveCellSelectionLeft()},{keys:[["ArrowLeft","Control/Meta"]],captureCtrl:!0,callback:()=>n.moveCellSelectionToMostLeft()},{keys:[["ArrowLeft","Shift"]],callback:()=>n.extendCellsSelectionLeft()},{keys:[["ArrowLeft","Shift","Control/Meta"]],captureCtrl:!0,callback:()=>n.extendCellsSelectionToMostLeft(),runOnlyIf:()=>I(t.getSelected())&&!(t.selection.isSelectedByCorner()||t.selection.isSelectedByRowHeader())},{keys:[["ArrowRight"]],callback:()=>n.moveCellSelectionRight()},{keys:[["ArrowRight","Control/Meta"]],captureCtrl:!0,callback:()=>n.moveCellSelectionToMostRight()},{keys:[["ArrowRight","Shift"]],callback:()=>n.extendCellsSelectionRight()},{keys:[["ArrowRight","Shift","Control/Meta"]],captureCtrl:!0,callback:()=>n.extendCellsSelectionToMostRight(),runOnlyIf:()=>I(t.getSelected())&&!(t.selection.isSelectedByCorner()||t.selection.isSelectedByRowHeader())},{keys:[["Home"]],captureCtrl:!0,callback:()=>n.moveCellSelectionToMostInlineStart(),runOnlyIf:()=>I(t.getSelected())&&t.view.isMainTableNotFullyCoveredByOverlays()},{keys:[["Home","Shift"]],callback:()=>n.extendCellsSelectionToMostInlineStart()},{keys:[["Home","Control/Meta"]],captureCtrl:!0,callback:()=>n.moveCellSelectionToMostTopInlineStart(),runOnlyIf:()=>I(t.getSelected())&&t.view.isMainTableNotFullyCoveredByOverlays()},{keys:[["End"]],captureCtrl:!0,callback:()=>n.moveCellSelectionToMostInlineEnd(),runOnlyIf:()=>I(t.getSelected())&&t.view.isMainTableNotFullyCoveredByOverlays()},{keys:[["End","Shift"]],callback:()=>n.extendCellsSelectionToMostInlineEnd()},{keys:[["End","Control/Meta"]],captureCtrl:!0,callback:()=>n.moveCellSelectionToMostBottomInlineEnd(),runOnlyIf:()=>I(t.getSelected())&&t.view.isMainTableNotFullyCoveredByOverlays()},{keys:[["PageUp"]],callback:()=>n.moveCellSelectionUpByViewportHight()},{keys:[["PageUp","Shift"]],callback:()=>n.extendCellsSelectionUpByViewportHeight()},{keys:[["PageDown"]],callback:()=>n.moveCellSelectionDownByViewportHeight()},{keys:[["PageDown","Shift"]],callback:()=>n.extendCellsSelectionDownByViewportHeight()},{keys:[["Tab"]],preventDefault:!1,callback:t=>n.moveCellSelectionInlineStart(t)},{keys:[["Shift","Tab"]],preventDefault:!1,callback:t=>n.moveCellSelectionInlineEnd(t)},{keys:[["Control/Meta","Backspace"]],callback:()=>n.scrollToFocusedCell()}],o);const i=n.tabNavigation();e.addShortcuts([{keys:[["Tab"],["Shift","Tab"]],preventDefault:!1,stopPropagation:!1,relativeToGroup:gg,group:pg,position:"before",callback:t=>i.before(t)},{keys:[["Tab"],["Shift","Tab"]],preventDefault:!1,stopPropagation:!1,relativeToGroup:gg,group:pg,callback:t=>i.after(t),position:"after"}])}function Eg(t){var e;const n=function(t){return e=>{if(!e)return null;const{rowIndexMapper:n,columnIndexMapper:o}=t;if(n.isHidden(e.row)||o.isHidden(e.col))return null;const i=dg(t),r=ug(t);return null===i||null===r?null:(e.row=co(e.row,i.row,r.row),e.col=co(e.col,i.col,r.col),e)}}(t),o={wrapped:!1,flipped:!1};let i,r=!0,s=!1;t.addHook("afterSelection",()=>{var e;r&&(i=null===(e=t.getSelectedRangeActive())||void 0===e?void 0:e.highlight)}),t.addHook("beforeRowWrap",(t,e,n)=>{o.wrapped=!0,o.flipped=n}),t.addHook("beforeEmptyDataStateShow",()=>{s=!0}),t.addHook("beforeEmptyDataStateHide",()=>{s=!1});t.getShortcutManager().getContext(fg).addShortcuts([{keys:[["Tab"],["Shift","Tab"]],preventDefault:!1,stopPropagation:!1,relativeToGroup:gg,group:pg,position:"before",callback(){const{tabNavigation:e}=t.getSettings();t.getSelectedRangeActive()&&!e&&(r=!1)}},{keys:[["Tab"],["Shift","Tab"]],preventDefault:!1,stopPropagation:!1,relativeToGroup:gg,group:pg,callback(e){const{tabNavigation:n,autoWrapRow:s}=t.getSettings();r=!0,(!n||!t.selection.isSelected()||s&&o.wrapped&&o.flipped||!s&&o.wrapped)&&(s&&o.wrapped&&o.flipped&&(i=e.shiftKey?dg(t):ug(t)),o.wrapped=!1,o.flipped=!1)},position:"after"}]);const a=null!==(e=t.rootGridElement)&&void 0!==e?e:t.rootElement;t.getFocusScopeManager().registerScope("grid",a,{contains:e=>!(a!==e&&!a.contains(e))||null===e.closest(".htMenu")&&t.rootPortalElement.contains(e),runOnlyIf:()=>{const{navigableHeaders:e}=t.getSettings();return!((s||!e)&&0===t.countRenderedRows()&&0===t.countRenderedCols()&&t.countRowHeaders()>0&&t.countColHeaders()>0)&&(!e&&t.countRenderedRows()>0&&t.countRenderedCols()>0||e&&(t.countRowHeaders()>0||t.countColHeaders()>0))},onActivate:e=>{if("tab_from_above"===e){var o;const e=null!==(o=n(i))&&void 0!==o?o:dg(t);if(e){!1!==t.runHooks("modifyFocusOnTabNavigation","from_above",e)&&t.selectCell(e.row,e.col)}}else if("tab_from_below"===e){var r;const e=null!==(r=n(i))&&void 0!==r?r:ug(t);if(e){!1!==t.runHooks("modifyFocusOnTabNavigation","from_below",e)&&t.selectCell(e.row,e.col)}}}})}const Mg=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"]]),Tg=t=>t.map(t=>{const e=t.toLowerCase();return Mg.has(e)?Mg.get(e):e}).sort().join("+"),_g=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"]]),Hg=t=>{let{which:e,key:n}=t;if(_g.has(e))return _g.get(e);const o=String.fromCharCode(e).toLowerCase();return/^[a-z0-9]$/.test(o)?o:n.toLowerCase()},Ig=Symbol("shortcut-context");function Ag(t){return Et(t)&&t.__kindOf===Ig}const Pg=["meta","alt","shift","control"],Og=function(){const t=new Set;return{press(e){t.add(e)},release(e){t.delete(e)},releaseAll(){t.clear()},isPressed:e=>t.has(e)}}(),Ng=[];let Dg=0;const Lg=t=>{let{ownerWindow:e,handleEvent:n,beforeKeyDown:o,afterKeyDown:i}=t;const r=wo({errorIdExists:t=>`The "${t}" context name is already registered.`});let s="grid";const a=function(t){const e=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"table";const n=wo({errorIdExists:e=>`The "${e}" shortcut is already registered in the "${t}" context.`}),o=function(){let{keys:t,callback:e,group:o,runOnlyIf:i=()=>!0,captureCtrl:r=!1,preventDefault:s=!0,stopPropagation:a=!1,relativeToGroup:l,position:h,forwardToContext:c}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};A(o)&&wt("You need to define the shortcut's group."),!1===Ze(e)&&wt("The shortcut's callback needs to be a function."),!1===Array.isArray(t)&&wt(T`Pass the shortcut\'s keys as an array of arrays,\x20
|
|
39
39
|
using the KeyboardEvent.key properties:\x20
|
|
40
40
|
https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key/Key_Values.`);const d={callback:e,group:o,runOnlyIf:i,captureCtrl:r,preventDefault:s,stopPropagation:a};I(l)&&(d.relativeToGroup=l,d.position=h),Ag(c)&&(d.forwardToContext=c),t.forEach(t=>{const e=Tg(t);if(n.hasItem(e)){const t=n.getItem(e);let o=t.findIndex(t=>t.group===l);-1!==o?"before"===h?o-=1:o+=1:o=t.length,t.splice(o,0,d)}else n.addItem(e,[d])})},i=t=>{const e=Tg(t);n.removeItem(e)};return{__kindOf:Ig,scope:e,addShortcut:o,addShortcuts:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.forEach(t=>{Tt(e,(n,o)=>{!1===Object.prototype.hasOwnProperty.call(t,o)&&(t[o]=e[o])}),o(t)})},getShortcuts:t=>{const e=Tg(t),o=n.getItem(e);return I(o)?o.slice():[]},hasShortcut:t=>{const e=Tg(t);return n.hasItem(e)},removeShortcutsByKeys:i,removeShortcutsByGroup:t=>{n.getItems().forEach(e=>{let[n,o]=e;const r=o.filter(e=>e.group!==t);0===r.length?i((t=>t.split("+"))(n)):(o.length=0,o.push(...r))})}}}(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"table");return r.addItem(t,e),e},l=()=>s,h=t=>r.getItem(t);let c=!1;const d=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l();const o=Ag(n)?n:h(n);let i=!1;if(!o.hasShortcut(e))return i;const r=o.getShortcuts(e);for(let n=0;n<r.length;n++){const{callback:o,runOnlyIf:s,preventDefault:a,stopPropagation:l,captureCtrl:h,forwardToContext:u}=r[n];if(!0===s(t)){if(c=h,i=!1===o(t,e),c=!1,a&&t.preventDefault(),l&&(an(t),t.stopPropagation()),i)break;u&&d(t,e,u)}}return i},u=function(t,e,n,o,i){const r=t=>Pg.includes(t),s=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=[];return t.altKey&&n.push("alt"),e&&(t.ctrlKey||t.metaKey)?n.push("control/meta"):(t.ctrlKey&&n.push("control"),t.metaKey&&n.push("meta")),t.shiftKey&&n.push("shift"),n},a=t=>{if(!1===e(t))return;if(!1===n(t)||229===t.keyCode||"string"!=typeof t.key||ln(t))return;const a=Hg(t);let l=[];r(a)||(l=s(t));const h=[a].concat(l);!i(t,h)&&(Zt()&&l.includes("meta")||!Zt()&&l.includes("control"))&&i(t,[a].concat(s(t,!0))),o(t)},l=t=>{if("string"==typeof t.key){const e=Hg(t);r(e)&&Og.press(e)}},h=t=>{if("string"==typeof t.key){const e=Hg(t);r(e)&&Og.release(e)}},c=()=>{Og.releaseAll()};return{mount:()=>{let e=t;for(Dg+=1;e;)1===Dg&&(e.document.documentElement.addEventListener("keydown",l),Ng.push({event:"keydown",listener:l}),e.document.documentElement.addEventListener("keyup",h),Ng.push({event:"keyup",listener:h})),e.document.documentElement.addEventListener("keydown",a),e.document.documentElement.addEventListener("blur",c),e=ie(e)},unmount:()=>{let e=t;for(Dg-=1;e;){if(0===Dg){for(let t=0;t<Ng.length;t++){const{event:n,listener:o}=Ng[t];e.document.documentElement.removeEventListener(n,o)}Ng.length=0}e.document.documentElement.removeEventListener("keydown",a),e.document.documentElement.removeEventListener("blur",c),e=ie(e)}},isPressed:t=>Og.isPressed(t),releasePressedKeys:()=>Og.releaseAll()}}(e,t=>{const e=l(),o=Ag(e)?e:h(e);return n(t,o.scope)},o,i,d);return u.mount(),{addContext:a,getActiveContextName:l,getContext:h,getOrCreateContext:function(t){var e;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"table";return null!==(e=h(t))&&void 0!==e?e:a(t,n)},setActiveContextName:t=>{r.hasItem(t)||wt(T`You've tried to activate the "${t}" shortcut context\x20
|
|
41
|
-
that does not exist. Before activation, register the context using the "addContext" method.`),s=t},isCtrlPressed:()=>!c&&(u.isPressed("control")||u.isPressed("meta")),releasePressedKeys:()=>u.releasePressedKeys(),destroy:()=>u.unmount()}};function Vg(t){const{classNames:e}=function(t,e){const n={element:void 0,classNames:[]};let o=t;for(;null!==o&&o!==t.ownerDocument.documentElement&&!n.element;){if("string"==typeof e&&o.classList.contains(e))n.element=o,n.classNames.push(e);else if(e instanceof RegExp){const t=Array.from(o.classList).filter(t=>e.test(t));t.length&&(n.element=o,n.classNames.push(...t))}o=o.parentElement}return n}(t,/ht-theme-[a-zA-Z0-9_-]+/);return e.pop()}function Bg(t,e,n){Fg(t,e),e.set(t,n)}function Fg(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Wg(t,e){return t.get(jg(t,e))}function zg(t,e,n){return t.set(jg(t,e),n),n}function jg(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}const $g="handsontable-core-styles";var Ug=new WeakMap,Yg=new WeakMap,Gg=new WeakMap,Kg=new WeakMap,qg=new WeakMap,Xg=new WeakMap,Zg=new WeakMap,Jg=new WeakMap,Qg=new WeakSet;class tf{constructor(t){let{hot:e,rootElement:n,rootDocument:o,onThemeChange:i=()=>{},injectCoreCss:r=!0}=t;var s,a;Fg(s=this,a=Qg),a.add(s),Bg(this,Ug,void 0),Bg(this,Yg,void 0),Bg(this,Gg,void 0),Bg(this,Kg,void 0),Bg(this,qg,void 0),Bg(this,Xg,{}),Bg(this,Zg,{}),Bg(this,Jg,void 0),zg(Ug,this,e),zg(Gg,this,n),zg(qg,this,o),zg(Jg,this,i),r&&jg(Qg,this,ef).call(this)}getCSSVariableValue(t){var e;if(Wg(Xg,this)[`--ht-${t}`])return Wg(Xg,this)[`--ht-${t}`];const n=null!==(e=jg(Qg,this,sf).call(this,`--ht-${t}`))&&void 0!==e?e:jg(Qg,this,af).call(this,`--ht-${t}`);return null!==n?(Wg(Xg,this)[`--ht-${t}`]=n,n):void 0}getStyleForTD(t){var e;return null===(e=Wg(Zg,this))||void 0===e||null===(e=e.td)||void 0===e?void 0:e[t]}getDefaultRowHeight(t){const e=jg(Qg,this,nf).call(this);return void 0!==t&&t===Wg(Ug,this).view.getFirstRenderedVisibleRow()?e+1:e}areCellsBorderBox(){return"border-box"===this.getStyleForTD("box-sizing")}useTheme(t){/ht-theme-.*/.test(t)?(jg(Qg,this,lf).call(this),t&&t!==Wg(Yg,this)&&zg(Yg,this,t),Wg(Jg,this).call(this,Wg(Yg,this)),jg(Qg,this,of).call(this)):Qt(`${t} isn't a valid theme name. Please ensure it follows the format ht-theme-<theme-name>.`)}getThemeName(){return Wg(Yg,this)}clearCache(){jg(Qg,this,lf).call(this),jg(Qg,this,of).call(this)}}function ef(){if(!Wg(Ug,this)||!Wg(qg,this)||!Wg(qg,this).head)return;const t=Wg(qg,this).getElementById($g);if(t&&t instanceof HTMLStyleElement)return;const e=Wg(qg,this).createElement("style");e.id=$g,e.textContent='/*!\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.1\n * Release date: 25/03/2026 (built at 25/03/2026 09:28:45)\n */\n.ht-root-wrapper {\n font-family: var(--ht-font-family), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;\n position: relative;\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\n.htFocusCatcher {\n display: block !important;\n position: absolute;\n width: 0;\n height: 0;\n margin: 0;\n padding: 0;\n border: 0;\n opacity: 0;\n z-index: -1;\n}\n\n.ht-grid {\n flex: 1 1 auto;\n min-height: 0;\n}\n\n.htScrollbarTest {\n scrollbar-width: auto;\n scrollbar-color: var(--ht-scrollbar-thumb-color) var(--ht-scrollbar-track-color);\n}\n\n.htScrollbarSafariTest::-webkit-scrollbar {\n width: 9px;\n height: 9px;\n}\n\n.handsontable {\n font-family: var(--ht-font-family), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;\n position: relative;\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n font-weight: var(--ht-font-weight);\n letter-spacing: var(--ht-letter-spacing);\n color: var(--ht-foreground-color);\n /* Miscellaneous */\n touch-action: manipulation;\n}\n.handsontable .wtHolder {\n scrollbar-width: auto;\n scrollbar-color: var(--ht-scrollbar-thumb-color) var(--ht-scrollbar-track-color);\n}\n.handsontable .wtHolder::-webkit-scrollbar {\n width: 9px;\n height: 9px;\n}\n.handsontable .wtHolder::-webkit-scrollbar-track {\n background: var(--ht-scrollbar-track-color);\n border-radius: var(--ht-scrollbar-border-radius);\n}\n.handsontable .wtHolder::-webkit-scrollbar-thumb {\n background-color: var(--ht-scrollbar-thumb-color);\n border-radius: var(--ht-scrollbar-border-radius);\n}\n.handsontable .wtHolder::-webkit-scrollbar-corner {\n background: var(--ht-scrollbar-track-color);\n border-end-end-radius: var(--ht-scrollbar-border-radius);\n}\n.handsontable.ht-wrapper {\n border-radius: var(--ht-wrapper-border-radius, 0);\n height: 100%;\n width: 100%;\n}\n.handsontable.ht-wrapper:not(.htFirstDatasetColumnNotRendered) td:first-of-type {\n border-inline-start-width: 1px;\n}\n.handsontable.ht-wrapper::before {\n content: "";\n display: block;\n position: absolute;\n inset: 0;\n border: var(--ht-wrapper-border-width) solid var(--ht-wrapper-border-color);\n border-radius: var(--ht-wrapper-border-radius, 0);\n z-index: 999;\n pointer-events: none;\n overflow: hidden;\n}\n.handsontable.htGhostTable.htNestedHeaders table {\n border-spacing: 0;\n border-collapse: collapse;\n}\n.handsontable.htGhostTable table thead th {\n border-bottom-width: 0;\n}\n.handsontable.htGhostTable table tbody tr:first-of-type th:first-child,\n.handsontable.htGhostTable table tbody tr:first-of-type td:first-child {\n height: calc(var(--ht-cell-vertical-padding) * 2 + var(--ht-line-height) + 1px);\n}\n.handsontable.htGhostTable table tbody tr th,\n.handsontable.htGhostTable table tbody tr td {\n border-top-width: 0;\n height: calc(var(--ht-cell-vertical-padding) * 2 + var(--ht-line-height) + 1px);\n}\n.handsontable.htHasScrollX:not(.htHorizontallyScrollableByWindow):not(.htScrollbarHidden) .ht_master .wtHolder, .handsontable.htHasScrollY:not(.htVerticallyScrollableByWindow):not(.htScrollbarHidden) .ht_master .wtHolder {\n border-radius: var(--ht-wrapper-border-radius, 0);\n}\n.handsontable:not(.htHorizontallyScrollableByWindow).htPagination .ht_master .wtHolder, .handsontable:not(.htHorizontallyScrollableByWindow).htHasScrollX .ht_master .wtHolder, .handsontable:not(.htHorizontallyScrollableByWindow).htHasScrollY .ht_master .wtHolder, .handsontable:not(.htVerticallyScrollableByWindow).htPagination .ht_master .wtHolder, .handsontable:not(.htVerticallyScrollableByWindow).htHasScrollX .ht_master .wtHolder, .handsontable:not(.htVerticallyScrollableByWindow).htHasScrollY .ht_master .wtHolder {\n background-color: var(--ht-background-color);\n}\n.handsontable tr.ht__row_even th {\n background-color: var(--ht-row-header-even-background-color);\n}\n.handsontable tr.ht__row_even td {\n background-color: var(--ht-row-cell-even-background-color);\n}\n.handsontable tr.ht__row_odd th {\n background-color: var(--ht-row-header-odd-background-color);\n}\n.handsontable tr.ht__row_odd td {\n background-color: var(--ht-row-cell-odd-background-color);\n}\n.handsontable th,\n.handsontable td {\n height: calc(var(--ht-cell-vertical-padding) * 2 + var(--ht-line-height) + 1px);\n padding: var(--ht-cell-vertical-padding) var(--ht-cell-horizontal-padding);\n vertical-align: top;\n border-top-width: 0;\n border-inline-start-width: 0;\n border-inline-end-width: 1px;\n border-bottom-width: 1px;\n border-style: solid;\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n white-space: pre-wrap;\n overflow: hidden;\n outline: none;\n outline-width: 0;\n empty-cells: show;\n box-sizing: border-box;\n color: var(--ht-foreground-color);\n border-top-color: var(--ht-cell-vertical-border-color);\n border-bottom-color: var(--ht-cell-vertical-border-color);\n border-inline-start-color: var(--ht-cell-horizontal-border-color);\n border-inline-end-color: var(--ht-cell-horizontal-border-color);\n}\n.handsontable th.invisibleSelection,\n.handsontable td.invisibleSelection {\n outline: none;\n}\n.handsontable th.invisibleSelection::selection,\n.handsontable td.invisibleSelection::selection {\n background: transparent;\n}\n.handsontable th {\n position: relative;\n overflow: visible;\n text-align: center;\n font-weight: var(--ht-header-font-weight);\n white-space: nowrap;\n color: var(--ht-header-foreground-color);\n background-color: var(--ht-header-background-color);\n}\n.handsontable th:last-child {\n /* Foundation framework fix */\n border-inline-start-width: 0;\n border-inline-end-width: 1px;\n border-bottom-width: 1px;\n border-inline-end-color: var(--ht-border-color);\n}\n.handsontable th:last-child.ht__active_highlight {\n border-inline-end-color: var(--ht-header-active-border-color);\n}\n.handsontable th:first-child {\n border-inline-start-color: var(--ht-border-color);\n}\n.handsontable th:first-child.ht__active_highlight {\n border-inline-start-color: var(--ht-header-active-border-color);\n}\n.handsontable th:first-child, .handsontable th:nth-child(2) {\n border-inline-start-width: 1px;\n}\n.handsontable th.current {\n box-shadow: inset 0 0 0 1px var(--ht-cell-selection-border-color);\n}\n.handsontable th.active {\n color: var(--ht-header-active-foreground-color);\n background-color: var(--ht-header-active-background-color);\n}\n.handsontable th.ht__highlight {\n color: var(--ht-header-highlighted-foreground-color);\n background-color: var(--ht-header-highlighted-background-color);\n}\n.handsontable th.ht__active_highlight {\n border-color: var(--ht-header-active-border-color);\n color: var(--ht-header-active-foreground-color);\n background-color: var(--ht-header-active-background-color);\n}\n.handsontable tbody tr.ht__row_odd th.ht__highlight, .handsontable tbody tr.ht__row_even th.ht__highlight {\n color: var(--ht-header-row-highlighted-foreground-color);\n background-color: var(--ht-header-row-highlighted-background-color);\n}\n.handsontable tbody tr.ht__row_odd th.ht__active_highlight, .handsontable tbody tr.ht__row_even th.ht__active_highlight {\n color: var(--ht-header-row-active-foreground-color);\n background-color: var(--ht-header-row-active-background-color);\n}\n.handsontable tbody tr:first-of-type th:first-child:empty::after,\n.handsontable tbody tr:first-of-type td:first-child:empty::after {\n content: "";\n display: block;\n min-height: var(--ht-line-height);\n}\n.handsontable tbody tr th {\n padding: 0;\n color: var(--ht-header-row-foreground-color);\n background-color: var(--ht-header-row-background-color);\n}\n.handsontable tbody tr th.ht__active_highlight {\n box-shadow: 0 -1px 0 0 var(--ht-header-active-border-color);\n}\n.handsontable tbody tr th .relative {\n padding: var(--ht-cell-vertical-padding) var(--ht-cell-horizontal-padding);\n min-height: 100%;\n}\n.handsontable tbody tr td:first-child {\n border-inline-start-color: var(--ht-border-color);\n}\n.handsontable tbody tr td:last-child {\n border-inline-end-color: var(--ht-border-color);\n}\n.handsontable thead tr th {\n padding: 0;\n}\n.handsontable thead tr th.ht__active_highlight {\n box-shadow: -1px 0 0 0 var(--ht-header-active-border-color);\n}\n.handsontable thead tr th .relative {\n padding: var(--ht-cell-vertical-padding) var(--ht-cell-horizontal-padding);\n}\n.handsontable thead tr th .relative .colHeader {\n text-overflow: ellipsis;\n overflow: hidden;\n vertical-align: top;\n max-width: calc(100% + 1px);\n}\n.handsontable thead tr th .relative:has(.collapsibleIndicator, .changeType) .colHeader {\n max-width: calc(100% - (var(--ht-icon-size) + var(--ht-gap-size)) - 1px);\n}\n.handsontable tr:first-child th,\n.handsontable tr:first-child td {\n border-top-color: var(--ht-border-color);\n border-top-width: 1px;\n}\n.handsontable tr:first-child th.ht__active_highlight,\n.handsontable tr:first-child td.ht__active_highlight {\n border-top-color: var(--ht-header-active-border-color);\n}\n.handsontable tr:last-child th,\n.handsontable tr:last-child td {\n border-bottom-color: var(--ht-border-color);\n}\n.handsontable tr:last-child th.ht__active_highlight,\n.handsontable tr:last-child td.ht__active_highlight {\n border-bottom-color: var(--ht-header-active-border-color);\n}\n.handsontable div[class^=ht_clone] thead .ht__highlight .relative::after {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n right: -1px;\n bottom: -1px;\n height: var(--ht-header-highlighted-shadow-size);\n background-color: var(--ht-accent-color);\n}\n.handsontable div[class^=ht_clone] thead tr:only-of-type .ht__highlight .relative::after {\n bottom: 0;\n}\n.handsontable div[class^=ht_clone] tbody .ht__highlight .relative::after {\n content: "";\n display: block;\n position: absolute;\n top: -1px;\n right: -1px;\n bottom: -1px;\n width: var(--ht-header-highlighted-shadow-size);\n background-color: var(--ht-accent-color);\n}\n.handsontable div[class^=ht_clone] td:first-of-type {\n border-inline-start-width: 1px;\n}\n.handsontable thead tr:not(:last-child) th {\n /* Fix for - nested columns with hidden column */\n overflow: hidden;\n}\n.handsontable .hide {\n display: none;\n}\n.handsontable .relative {\n position: relative;\n box-sizing: border-box;\n}\n.handsontable .wtHider {\n width: 0;\n}\n.handsontable .wtSpreader {\n position: relative;\n /* must be 0, otherwise blank space appears in scroll demo after scrolling max to the right */\n width: 0;\n height: auto;\n}\n.handsontable .htAutoSize {\n position: absolute;\n left: -99000px;\n top: -99000px;\n visibility: hidden;\n}\n.handsontable .htTextEllipsis {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}\n.handsontable table,\n.handsontable tbody,\n.handsontable thead,\n.handsontable input,\n.handsontable textarea,\n.handsontable div {\n box-sizing: content-box;\n}\n.handsontable input,\n.handsontable textarea {\n min-height: initial;\n}\n.handsontable .htCore {\n width: 0;\n margin: 0;\n border-width: 0;\n border-spacing: 0;\n border-collapse: separate;\n outline-width: 0;\n table-layout: fixed;\n cursor: default;\n background-color: var(--ht-background-color);\n}\n.handsontable col {\n width: 64px;\n}\n.handsontable col.rowHeader {\n width: 64px;\n}\n.handsontable col.hidden {\n width: 0 !important;\n}\n.handsontable span.colHeader, .handsontable span.rowHeader {\n display: inline-block;\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n}\n.handsontable tr.hidden {\n display: none;\n}\n.handsontable tr.hidden td,\n.handsontable tr.hidden th {\n display: none;\n}\n.handsontable a {\n color: var(--ht-link-color);\n}\n.handsontable a:hover {\n color: var(--ht-link-hover-color);\n}\n.handsontable .ht_clone_top th:nth-child(2) {\n border-inline-start-width: 0;\n border-inline-end-width: 1px;\n}\n.handsontable.htRowHeaders thead tr th:nth-child(2) {\n border-inline-start-width: 1px;\n}\n.handsontable .ht_master:not(.innerBorderInlineStart):not(.emptyColumns) tbody tr th,\n.handsontable .ht_master:not(.innerBorderInlineStart):not(.emptyColumns) thead tr th:first-child,\n.handsontable .ht_master:not(.innerBorderInlineStart):not(.emptyColumns) ~ .handsontable:not(.htGhostTable) tbody tr th,\n.handsontable .ht_master:not(.innerBorderInlineStart):not(.emptyColumns) ~ .handsontable:not(.ht_clone_top):not(.htGhostTable) thead tr th:first-child {\n border-inline-end-width: 0;\n border-inline-start-width: 1px;\n}\n.handsontable .ht_master:not(.innerBorderTop):not(.innerBorderBottom) thead tr:last-child th, .handsontable .ht_master:not(.innerBorderTop):not(.innerBorderBottom) ~ .handsontable thead tr:last-child th,\n.handsontable .ht_master:not(.innerBorderTop):not(.innerBorderBottom) thead tr.lastChild th, .handsontable .ht_master:not(.innerBorderTop):not(.innerBorderBottom) ~ .handsontable thead tr.lastChild th {\n border-bottom-width: 0;\n}\n.handsontable.htAutoRowSize .ht_master.innerBorderTop tbody tr:first-child th,\n.handsontable.htAutoRowSize .ht_master.innerBorderTop tbody tr:first-child td {\n border-top-width: 0;\n}\n.handsontable.htAutoRowSize .ht_master.innerBorderTop ~ .ht_clone_inline_start tbody tr:first-child th,\n.handsontable.htAutoRowSize .ht_master.innerBorderTop ~ .ht_clone_inline_start tbody tr:first-child td {\n border-top-width: 0;\n}\n.handsontable .ht_master table.htCore > thead,\n.handsontable .ht_master table.htCore > tbody > tr > th,\n.handsontable .ht_clone_inline_start table.htCore > thead {\n visibility: hidden;\n}\n\n.ht_master,\n.ht_clone_inline_start,\n.ht_clone_top,\n.ht_clone_bottom {\n overflow: hidden;\n}\n.ht_master .wtHolder,\n.ht_clone_inline_start .wtHolder,\n.ht_clone_top .wtHolder,\n.ht_clone_bottom .wtHolder {\n overflow: hidden;\n}\n\n.ht_master .wtHolder {\n overflow: auto;\n}\n\n[dir=rtl].handsontable td[dir=ltr] {\n border-inline-end-width: 0;\n border-inline-start-width: 1px;\n}\n[dir=rtl].handsontable tbody tr td[dir=ltr]:last-child {\n border-inline-start-color: var(--ht-border-color);\n}\n[dir=rtl].handsontable div[class^=ht_clone] tbody .ht__highlight .relative::after {\n right: auto;\n left: -1px;\n}\n\n.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_master .htCore tbody tr:first-child td:first-child {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_master .htCore tbody tr:first-child td:last-child {\n border-start-end-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_top_inline_start_corner .htCore tbody tr:first-child td:first-child {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_top .htCore tbody tr:first-child td:first-child {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_top .htCore tbody tr:first-child td:last-child {\n border-start-end-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_inline_start .htCore tbody tr:first-child th:first-child,\n.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_inline_start .htCore tbody tr:first-child td:first-child {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_master .htCore {\n border-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_master .htCore thead tr:first-child th:first-child {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_master .htCore thead tr:first-child th:last-child {\n border-start-end-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_master .htCore thead tr:last-child th:first-child {\n border-end-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_master .htCore thead tr:last-child th:last-child {\n border-end-end-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_master .htCore tbody tr:last-child td:first-child {\n border-end-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_master .htCore tbody tr:last-child td:last-child {\n border-end-end-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_top_inline_start_corner .htCore {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_top_inline_start_corner .htCore thead tr:first-child th:first-child {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_top .htCore {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n border-start-end-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_top .htCore thead tr:first-child th:first-child {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_top .htCore thead tr:first-child th:last-child {\n border-start-end-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_inline_start .htCore {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n border-end-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_inline_start .htCore thead tr:first-child th:first-child {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_inline_start .htCore tbody tr:last-child th:first-child,\n.handsontable.ht-wrapper .ht_clone_inline_start .htCore tbody tr:last-child td:first-child {\n border-end-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore {\n border-end-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore tr:last-child th:first-child,\n.handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore tr:last-child td:first-child {\n border-end-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_bottom .htCore {\n border-end-start-radius: var(--ht-wrapper-border-radius);\n border-end-end-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child th:first-child,\n.handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child td:first-child {\n border-end-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child th:last-child,\n.handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child td:last-child {\n border-end-end-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper.htHasScrollX .htCore {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n}\n.handsontable.ht-wrapper.htHasScrollX .htCore thead tr:last-child th:first-child,\n.handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child td:first-child,\n.handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child th:first-child {\n border-end-start-radius: 0 !important;\n}\n.handsontable.ht-wrapper.htHasScrollX .htCore thead tr:last-child th:last-child,\n.handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child td:last-child,\n.handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child th:last-child {\n border-end-end-radius: 0 !important;\n}\n.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore {\n border-start-end-radius: 0;\n border-end-end-radius: 0;\n}\n.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore thead tr:first-child th:last-child,\n.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore tbody tr:first-child td:last-child,\n.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore tbody tr:first-child th:last-child {\n border-start-end-radius: 0 !important;\n}\n.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore thead tr:last-child th:last-child,\n.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore tbody tr:last-child td:last-child,\n.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore tbody tr:last-child th:last-child {\n border-end-end-radius: 0 !important;\n}\n\n.handsontable.mobile {\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n -webkit-overflow-scrolling: touch;\n}\n.handsontable.mobile .wtHolder {\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n -webkit-overflow-scrolling: touch;\n}\n.handsontable.mobile .handsontableInput:focus {\n box-shadow: inset 0 0 0 2px var(--ht-accent-color);\n -webkit-appearance: none;\n}\n.handsontable .topSelectionHandle,\n.handsontable .topSelectionHandle-HitArea,\n.handsontable .bottomSelectionHandle,\n.handsontable .bottomSelectionHandle-HitArea {\n inset-inline-start: -10000px;\n inset-inline-end: unset;\n top: -10000px;\n z-index: 9999;\n}\n.handsontable.hide-tween {\n -webkit-animation: opacity-hide 0.2s;\n animation: opacity-hide 0.2s;\n animation-fill-mode: forwards;\n -webkit-animation-fill-mode: forwards;\n}\n.handsontable.show-tween {\n -webkit-animation: opacity-show 0.3s;\n animation: opacity-show 0.3s;\n animation-fill-mode: forwards;\n -webkit-animation-fill-mode: forwards;\n}\n\n.ht_clone_master {\n z-index: 100;\n}\n\n.ht_clone_inline_start {\n z-index: 120;\n}\n\n.ht_clone_bottom {\n z-index: 130;\n}\n\n.ht_clone_bottom_inline_start_corner {\n z-index: 150;\n}\n\n.ht_clone_top {\n z-index: 160;\n}\n\n.ht_clone_top_inline_start_corner {\n z-index: 180;\n}\n\n.ht_editor_hidden {\n z-index: -1;\n}\n\n.ht_editor_visible {\n z-index: 200;\n}\n\n.handsontable td.area {\n position: relative;\n}\n.handsontable td.area::before {\n content: "";\n position: absolute;\n inset: 0;\n background: var(--ht-cell-selection-background-color, #1a42e8);\n}\n.handsontable td.area-1 {\n position: relative;\n}\n.handsontable td.area-1::before {\n content: "";\n position: absolute;\n inset: 0;\n background: var(--ht-cell-selection-background-color, #1a42e8);\n}\n.handsontable td.area-2 {\n position: relative;\n}\n.handsontable td.area-2::before {\n content: "";\n position: absolute;\n inset: 0;\n background: var(--ht-cell-selection-background-color, #1a42e8);\n}\n.handsontable td.area-3 {\n position: relative;\n}\n.handsontable td.area-3::before {\n content: "";\n position: absolute;\n inset: 0;\n background: var(--ht-cell-selection-background-color, #1a42e8);\n}\n.handsontable td.area-4 {\n position: relative;\n}\n.handsontable td.area-4::before {\n content: "";\n position: absolute;\n inset: 0;\n background: var(--ht-cell-selection-background-color, #1a42e8);\n}\n.handsontable td.area-5 {\n position: relative;\n}\n.handsontable td.area-5::before {\n content: "";\n position: absolute;\n inset: 0;\n background: var(--ht-cell-selection-background-color, #1a42e8);\n}\n.handsontable td.area-6 {\n position: relative;\n}\n.handsontable td.area-6::before {\n content: "";\n position: absolute;\n inset: 0;\n background: var(--ht-cell-selection-background-color, #1a42e8);\n}\n.handsontable td.area-7 {\n position: relative;\n}\n.handsontable td.area-7::before {\n content: "";\n position: absolute;\n inset: 0;\n background: var(--ht-cell-selection-background-color, #1a42e8);\n}\n.handsontable td.area::before {\n opacity: 0.14;\n}\n.handsontable td.area-1::before {\n opacity: 0.21;\n}\n.handsontable td.area-2::before {\n opacity: 0.28;\n}\n.handsontable td.area-3::before {\n opacity: 0.35;\n}\n.handsontable td.area-4::before {\n opacity: 0.42;\n}\n.handsontable td.area-5::before {\n opacity: 0.49;\n}\n.handsontable td.area-6::before {\n opacity: 0.56;\n}\n.handsontable td.area-7::before {\n opacity: 0.63;\n}\n.handsontable td.area {\n border-color: color-mix(in srgb, var(--ht-border-color), var(--ht-foreground-color) 10%);\n}\n.handsontable .wtBorder {\n position: absolute;\n font-size: 0;\n}\n.handsontable .wtBorder:nth-child(1), .handsontable .wtBorder:nth-child(3) {\n z-index: 2;\n}\n.handsontable .wtBorder:nth-child(2), .handsontable .wtBorder:nth-child(4) {\n z-index: 1;\n}\n.handsontable .wtBorder.hidden {\n display: none !important;\n}\n.handsontable .wtBorder.current {\n z-index: 10;\n background-color: var(--ht-cell-selection-border-color) !important;\n}\n.handsontable .wtBorder.area {\n z-index: 8;\n background-color: var(--ht-cell-selection-border-color) !important;\n}\n.handsontable .wtBorder.fill {\n z-index: 6;\n background-color: var(--ht-cell-autofill-fill-border-color, #68696c) !important;\n}\n.handsontable .wtBorder.corner {\n border-radius: var(--ht-cell-autofill-border-radius) !important;\n background-color: var(--ht-cell-autofill-background-color, #1a42e8) !important;\n border-color: var(--ht-cell-autofill-border-color) !important;\n font-size: 0;\n cursor: crosshair;\n z-index: 10;\n}\n.handsontable .wtBorder.corner::after {\n content: "";\n position: absolute;\n border-radius: var(--ht-cell-autofill-border-radius);\n inset: min(0px, (var(--ht-cell-autofill-size) - var(--ht-cell-autofill-hit-area-size)) / 2);\n background: transparent;\n}\n.handsontable .wtBorder.corner.wtCornerInlineEndEdge::after {\n inset-inline-end: 0;\n}\n.handsontable .wtBorder.corner.wtCornerBlockEndEdge::after {\n inset-block-end: 0;\n}\n\n.hot-display-license-info {\n font-family: var(--ht-font-family), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;\n padding: var(--ht-license-vertical-padding, 16px) var(--ht-license-horizontal-padding, 16px);\n font-size: var(--ht-font-size-small);\n line-height: var(--ht-line-height-small);\n color: var(--ht-license-foreground-color);\n background-color: var(--ht-license-background-color, #f7f7f9);\n text-align: left;\n border: 1px solid var(--ht-border-color, #f7f7f9);\n margin-top: 10px;\n border-radius: var(--ht-wrapper-border-radius);\n}\n.hot-display-license-info a {\n font-size: var(--ht-license-font-size);\n color: var(--ht-link-color);\n}\n.hot-display-license-info a:hover {\n color: var(--ht-link-hover-color);\n}\n\n.handsontable .htAutocompleteArrow {\n position: relative;\n cursor: default;\n width: var(--ht-icon-size);\n height: var(--ht-icon-size);\n font-size: 0;\n float: right;\n top: calc((var(--ht-line-height) - var(--ht-icon-size)) / 2);\n margin-inline-start: calc(var(--ht-gap-size) * 2);\n margin-inline-end: 1px;\n}\n.handsontable .htAutocompleteArrow::after {\n content: "";\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0.6;\n}\n\n[dir=rtl].handsontable .htAutocompleteArrow {\n float: left;\n}\n\n.handsontable .htCheckboxRendererInput {\n position: relative;\n display: inline-block;\n width: var(--ht-checkbox-size);\n height: var(--ht-checkbox-size);\n margin: 0;\n vertical-align: middle;\n cursor: pointer;\n margin-top: -2px;\n outline: none;\n}\n.handsontable .htCheckboxRendererInput:first-child {\n margin-inline-end: var(--ht-gap-size);\n}\n.handsontable .htCheckboxRendererInput:last-child {\n margin-inline-start: var(--ht-gap-size);\n}\n.handsontable .htCheckboxRendererInput::before {\n content: "";\n display: inline-block;\n position: absolute;\n top: 0;\n left: 0;\n width: var(--ht-checkbox-size);\n height: var(--ht-checkbox-size);\n border-radius: var(--ht-checkbox-border-radius);\n border: 1px solid var(--ht-checkbox-border-color);\n background-color: var(--ht-checkbox-background-color);\n box-sizing: border-box;\n pointer-events: none;\n transition: all var(--ht-table-transition) ease-in-out;\n}\n.handsontable .htCheckboxRendererInput::after {\n content: "";\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n color: var(--ht-checkbox-icon-color);\n pointer-events: none;\n width: var(--ht-checkbox-size) !important;\n height: var(--ht-checkbox-size) !important;\n}\n.handsontable .htCheckboxRendererInput:checked::before {\n border-color: var(--ht-checkbox-checked-border-color);\n background-color: var(--ht-checkbox-checked-background-color);\n}\n.handsontable .htCheckboxRendererInput:checked::after {\n color: var(--ht-checkbox-checked-icon-color);\n}\n.handsontable .htCheckboxRendererInput:checked:disabled::before {\n border-color: var(--ht-checkbox-checked-disabled-border-color);\n background-color: var(--ht-checkbox-checked-disabled-background-color);\n}\n.handsontable .htCheckboxRendererInput:checked:disabled::after {\n color: var(--ht-checkbox-checked-disabled-icon-color);\n}\n.handsontable .htCheckboxRendererInput:checked:focus::before {\n border-color: var(--ht-checkbox-checked-focus-border-color);\n background-color: var(--ht-checkbox-checked-focus-background-color);\n}\n.handsontable .htCheckboxRendererInput:checked:focus::after {\n color: var(--ht-checkbox-checked-focus-icon-color);\n}\n.handsontable .htCheckboxRendererInput:focus::before {\n border-color: var(--ht-checkbox-focus-border-color);\n background-color: var(--ht-checkbox-focus-background-color);\n outline: 1px solid var(--ht-checkbox-focus-ring-color);\n}\n.handsontable .htCheckboxRendererInput:focus::after {\n color: var(--ht-checkbox-focus-icon-color);\n}\n.handsontable .htCheckboxRendererInput:disabled {\n cursor: initial;\n}\n.handsontable .htCheckboxRendererInput:disabled::before {\n border-color: var(--ht-checkbox-disabled-border-color);\n background-color: var(--ht-checkbox-disabled-background-color);\n}\n.handsontable .htCheckboxRendererInput:disabled::after {\n color: var(--ht-checkbox-disabled-icon-color);\n}\n.handsontable .htCheckboxRendererInput:indeterminate::before {\n border-color: var(--ht-checkbox-indeterminate-border-color);\n background-color: var(--ht-checkbox-indeterminate-background-color);\n}\n.handsontable .htCheckboxRendererInput:indeterminate::after {\n color: var(--ht-checkbox-indeterminate-icon-color);\n}\n.handsontable .htCheckboxRendererInput:indeterminate:disabled::before {\n border-color: var(--ht-checkbox-indeterminate-disabled-border-color);\n background-color: var(--ht-checkbox-indeterminate-disabled-background-color);\n}\n.handsontable .htCheckboxRendererInput:indeterminate:disabled::after {\n color: var(--ht-checkbox-indeterminate-disabled-icon-color);\n}\n.handsontable .htCheckboxRendererInput:indeterminate:focus::before {\n border-color: var(--ht-checkbox-indeterminate-focus-border-color);\n background-color: var(--ht-checkbox-indeterminate-focus-background-color);\n}\n.handsontable .htCheckboxRendererInput:indeterminate:focus::after {\n color: var(--ht-checkbox-indeterminate-focus-icon-color);\n}\n.handsontable .htCheckboxRendererInput.noValue {\n opacity: 0.5;\n}\n.handsontable .htCheckboxRendererLabel {\n display: inline-block;\n position: relative;\n font-size: inherit;\n line-height: inherit;\n cursor: pointer;\n color: inherit;\n margin: 0;\n}\n.handsontable .htCheckboxRendererLabel.fullWidth {\n width: 100%;\n}\n\n.handsontable .htPlaceholder {\n color: var(--ht-placeholder-color);\n}\n.handsontable .htDimmed {\n color: var(--ht-read-only-color) !important;\n background-color: var(--ht-cell-read-only-background-color) !important;\n}\n.handsontable .htLeft {\n text-align: left;\n}\n.handsontable .htCenter {\n text-align: center;\n}\n.handsontable .htRight {\n text-align: right;\n}\n.handsontable .htJustify {\n text-align: justify;\n}\n.handsontable .htTop {\n vertical-align: top;\n}\n.handsontable .htMiddle {\n vertical-align: middle;\n}\n.handsontable .htBottom {\n vertical-align: bottom;\n}\n.handsontable .htInvalid {\n /* gives priority over td.area selection background */\n background-color: var(--ht-cell-error-background-color) !important;\n}\n.handsontable .htNoWrap {\n white-space: nowrap;\n}\n.handsontable .htSearchResult {\n background-color: var(--ht-cell-success-background-color) !important;\n}\n\n.handsontable .ht-multi-select-renderer {\n padding: var(--ht-cell-vertical-padding) var(--ht-cell-horizontal-padding);\n overflow: hidden;\n}\n.handsontable .ht-multi-select-chips-container {\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n gap: var(--ht-gap-size);\n overflow: hidden;\n max-width: 100%;\n}\n.handsontable .ht-multi-select-chip {\n display: inline-flex;\n align-items: center;\n gap: var(--ht-gap-size);\n 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);\n border-radius: var(--ht-chip-border-radius);\n background: var(--ht-chip-background);\n white-space: nowrap;\n flex-shrink: 0;\n max-width: 100px;\n box-sizing: border-box;\n}\n.handsontable .ht-multi-select-chip-label {\n overflow: hidden;\n text-overflow: ellipsis;\n color: var(--ht-foreground-color);\n font-style: normal;\n font-weight: var(--ht-font-weight);\n line-height: var(--ht-line-height, 40px);\n letter-spacing: var(--ht-letter-spacing, 0);\n padding: 0 var(--ht-chip-gap);\n}\n.handsontable .ht-multi-select-chip-remove {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n width: var(--ht-icon-size) !important;\n height: var(--ht-icon-size) !important;\n padding: 0;\n cursor: pointer;\n flex-shrink: 0;\n color: var(--ht-icon-button-icon-color);\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center;\n}\n.handsontable .ht-multi-select-chip-remove::before {\n content: "";\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n}\n.handsontable .ht-multi-select-chip-remove:hover {\n background-color: var(--ht-icon-button-hover-background-color);\n}\n.handsontable .ht-multi-select-overflow {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0 calc(var(--ht-gap-size) * 2);\n background: var(--ht-chip-background);\n border-radius: var(--ht-chip-border-radius);\n color: var(--ht-foreground-color);\n white-space: nowrap;\n flex-shrink: 0;\n}\n\n.handsontableInputHolder {\n position: absolute;\n top: 0;\n left: 0;\n}\n.handsontableInputHolder .handsontableInput {\n display: block;\n margin: 0;\n padding: calc(var(--ht-cell-vertical-padding, 4px) + 1px) calc(var(--ht-cell-horizontal-padding, 8px) + 1px);\n font-family: inherit !important;\n font-size: inherit !important;\n line-height: inherit !important;\n color: var(--ht-cell-editor-foreground-color);\n background-color: var(--ht-cell-editor-background-color, #ffffff);\n 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);\n border: none;\n border-radius: 0;\n -webkit-appearance: none !important;\n box-sizing: border-box;\n /* Miscellaneous */\n outline-width: 0;\n /* overwrite styles potentially made by a framework */\n}\n.handsontableInputHolder .handsontableInput:focus {\n outline: none;\n}\n\n.htSelectEditor {\n position: absolute;\n}\n.htSelectEditor select {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n padding: calc(var(--ht-cell-vertical-padding, 4px) + 1px) calc(var(--ht-cell-horizontal-padding, 8px) + 1px);\n padding-inline-end: 26px;\n margin: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n color: var(--ht-cell-editor-foreground-color);\n background-color: var(--ht-cell-editor-background-color, #ffffff);\n font-family: inherit !important;\n font-size: inherit !important;\n line-height: inherit !important;\n 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);\n border: none;\n border-radius: 0;\n box-sizing: border-box;\n -webkit-appearance: none !important;\n}\n.htSelectEditor select:focus {\n outline: none;\n}\n.htSelectEditor .htAutocompleteArrow {\n top: 50%;\n transform: translateY(-50%);\n margin-inline-end: 4px;\n z-index: 1;\n pointer-events: none;\n}\n\n.handsontable.listbox {\n 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, rgb(0, 0, 0)) var(--ht-menu-shadow-opacity, 100%), transparent);\n margin: 0;\n border: var(--ht-menu-border-width, 1px) solid var(--ht-menu-border-color, #e5e5e9);\n}\n.handsontable.listbox .ht_master {\n overflow: hidden;\n background-color: var(--ht-background-color);\n}\n.handsontable.listbox .wtHolder {\n overflow: auto;\n border-radius: 0 !important;\n}\n.handsontable.listbox .wtHider, .handsontable.listbox .htCore {\n border-radius: 0 !important;\n}\n.handsontable.listbox table {\n overflow: hidden;\n}\n.handsontable.listbox table th,\n.handsontable.listbox table tr:first-child th,\n.handsontable.listbox table tr:last-child th,\n.handsontable.listbox table tr:first-child td,\n.handsontable.listbox table td {\n border-color: transparent !important;\n}\n.handsontable.listbox table th,\n.handsontable.listbox table td {\n white-space: nowrap;\n text-overflow: ellipsis;\n border-radius: 0 !important;\n}\n.handsontable.listbox table .wtBorder {\n visibility: hidden;\n}\n.handsontable.listbox table strong {\n font-weight: bold;\n color: inherit;\n}\n.handsontable.listbox table tr td:hover td {\n background: color-mix(in srgb, var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity, 100%), transparent) !important;\n cursor: pointer;\n box-shadow: none !important;\n}\n.handsontable.listbox table td {\n transition: var(--ht-table-transition) background ease-in-out;\n}\n.handsontable.listbox table td:hover {\n background-color: color-mix(in srgb, var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity, 100%), transparent) !important;\n cursor: pointer;\n}\n.handsontable.listbox table td.current:not([aria-expanded=true]) {\n box-shadow: inset 0 0 0 1px var(--ht-accent-color);\n}\n.handsontable.listbox table td.htDimmed {\n cursor: default;\n font-style: inherit;\n color: inherit !important;\n}\n.handsontable.listbox table td.htDimmed:not(.handsontable.listbox table td:hover) {\n background-color: inherit !important;\n}\n.handsontable.listbox table thead th {\n height: auto !important;\n text-align: left;\n}\n.handsontable.listbox table thead th .relative {\n padding-top: calc(var(--ht-cell-vertical-padding) + var(--ht-gap-size));\n padding-bottom: calc(var(--ht-cell-vertical-padding) + var(--ht-gap-size));\n}\n.handsontable.listbox .ht_clone_top .wtHider {\n overflow: hidden;\n}\n.handsontable.listbox .ht_clone_top table {\n border-radius: 0;\n}\n.handsontable.listbox .htBorders div {\n background: none !important;\n}\n.handsontable.autocompleteEditor tr.ht__row_even th,\n.handsontable.autocompleteEditor tr.ht__row_even td {\n background-color: var(--ht-background-color, #ffffff);\n}\n.handsontable.autocompleteEditor tr.ht__row_odd th,\n.handsontable.autocompleteEditor tr.ht__row_odd td {\n background-color: var(--ht-background-color, #ffffff);\n}\n\n[dir=rtl].handsontable.listbox table thead th {\n text-align: right;\n}\n\n.pika-single {\n font-family: var(--ht-font-family), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;\n 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, rgb(0, 0, 0)) var(--ht-menu-shadow-opacity, 100%), transparent);\n position: relative;\n display: block;\n padding: 10px;\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n font-weight: var(--ht-font-weight);\n color: var(--ht-foreground-color);\n background: var(--ht-background-color, #ffffff);\n border: var(--ht-menu-border-width, 1px) solid var(--ht-menu-border-color, #e5e5e9);\n border-radius: var(--ht-menu-border-radius);\n z-index: 9999;\n}\n.pika-single.is-hidden {\n display: none;\n}\n.pika-single .pika-row {\n background-color: transparent;\n}\n.pika-single .pika-title {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.pika-single .pika-label {\n position: relative;\n order: 2;\n padding: 5px;\n color: var(--ht-accent-color);\n}\n.pika-single .pika-label .pika-select {\n position: absolute;\n inset: 0;\n opacity: 0;\n cursor: pointer;\n}\n.pika-single .pika-prev,\n.pika-single .pika-next {\n width: 20px;\n height: 20px;\n white-space: nowrap;\n text-indent: -9999px;\n cursor: pointer;\n color: var(--ht-accent-color);\n background: none;\n border: none;\n padding: 0;\n}\n.pika-single .pika-prev {\n order: 1;\n margin-right: auto;\n}\n.pika-single .pika-next {\n order: 3;\n margin-left: auto;\n}\n.pika-single .pika-table thead {\n height: 50px;\n}\n.pika-single .pika-table th {\n padding: 1px;\n vertical-align: middle;\n}\n.pika-single .pika-table th abbr {\n text-decoration: none;\n font-weight: normal;\n border: none;\n cursor: initial;\n}\n.pika-single .pika-table td {\n padding: 1px;\n vertical-align: middle;\n}\n.pika-single .pika-table td.is-disabled .pika-button {\n pointer-events: none;\n opacity: 0.5;\n}\n.pika-single .pika-table td.is-today .pika-button {\n background: color-mix(in srgb, var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity, 100%), transparent);\n}\n.pika-single .pika-table td.is-selected .pika-button {\n background: var(--ht-accent-color, #1a42e8);\n color: var(--ht-primary-button-foreground-color, #ffffff);\n}\n.pika-single .pika-table td.pika-week {\n width: 12.5%;\n text-align: center;\n}\n.pika-single .pika-table .pika-button {\n width: 100%;\n aspect-ratio: 1/1;\n background: transparent;\n color: var(--ht-foreground-color);\n border: none;\n border-radius: var(--ht-button-border-radius);\n margin: 0;\n padding: 10px;\n cursor: pointer;\n font-size: inherit;\n}\n.pika-single .pika-table .pika-button:hover {\n background: color-mix(in srgb, var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity, 100%), transparent);\n}\n\n[dir=rtl].htDatepickerHolder .pika-single .pika-next {\n transform: rotate(180deg);\n margin-left: 0;\n margin-right: auto;\n}\n[dir=rtl].htDatepickerHolder .pika-single .pika-prev {\n transform: rotate(180deg);\n margin-left: auto;\n margin-right: 0;\n}\n\n.handsontableEditor {\n position: absolute;\n}\n.handsontableEditor .ht-multi-select-editor {\n 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, rgb(0, 0, 0)) var(--ht-menu-shadow-opacity, 100%), transparent);\n scrollbar-width: auto;\n scrollbar-color: var(--ht-scrollbar-thumb-color) var(--ht-scrollbar-track-color);\n overflow-y: auto;\n border-radius: 0 0 var(--ht-menu-border-radius) var(--ht-menu-border-radius);\n border: var(--ht-menu-border-width) solid var(--ht-menu-border-color);\n background: var(--ht-background-color);\n width: max-content;\n min-width: 120px;\n padding: var(--ht-menu-vertical-padding) var(--ht-menu-horizontal-padding);\n}\n.handsontableEditor .ht-multi-select-editor .ht-multi-select-editor-search-input-wrapper {\n display: flex;\n padding: var(--ht-menu-item-vertical-padding) var(--ht-menu-item-horizontal-padding);\n align-items: center;\n gap: var(--ht-gap-size);\n align-self: stretch;\n position: relative;\n}\n.handsontableEditor .ht-multi-select-editor .ht-multi-select-editor-search-icon {\n position: absolute;\n left: calc(var(--ht-menu-item-horizontal-padding) + 10px);\n top: 50%;\n transform: translateY(-50%);\n width: 16px;\n height: 16px;\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n opacity: 0.5;\n pointer-events: none;\n z-index: 1;\n}\n.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input {\n box-sizing: border-box;\n width: 100%;\n border-radius: var(--ht-input-border-radius);\n color: var(--ht-input-foreground-color);\n background-color: var(--ht-input-background-color);\n border: 1px solid var(--ht-input-border-color);\n transition: var(--ht-table-transition) all ease-in-out;\n line-height: var(--ht-line-height);\n font-size: var(--ht-font-size);\n padding: var(--ht-input-vertical-padding) var(--ht-menu-item-horizontal-padding) var(--ht-input-vertical-padding) 32px;\n}\n.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input:hover {\n border-color: var(--ht-input-hover-border-color);\n color: var(--ht-input-hover-foreground-color);\n background-color: var(--ht-input-hover-background-color);\n}\n.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input:disabled {\n border-color: var(--ht-input-disabled-border-color);\n color: var(--ht-input-disabled-foreground-color);\n background-color: var(--ht-input-disabled-background-color);\n}\n.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input:focus {\n border-color: var(--ht-input-focus-border-color);\n color: var(--ht-input-focus-foreground-color);\n background-color: var(--ht-input-focus-background-color);\n outline: none;\n outline-offset: 0;\n box-shadow: none;\n}\n.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input::placeholder {\n color: var(--ht-foreground-color);\n opacity: 0.6;\n}\n.handsontableEditor .ht-multi-select-editor .ht-multi-select-editor-separator {\n width: 100%;\n height: 1px;\n background-color: var(--ht-menu-border-color);\n margin: var(--ht-menu-vertical-padding) 0 var(--ht-menu-vertical-padding) 0;\n padding: 0;\n}\n.handsontableEditor .ht-multi-select-editor ul {\n list-style: none;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n width: 100%;\n margin: 0;\n padding: var(--ht-gap-size) var(--ht-menu-horizontal-padding);\n}\n.handsontableEditor .ht-multi-select-editor ul li {\n display: flex;\n align-items: center;\n align-self: stretch;\n background: var(--ht-background-color);\n padding: var(--ht-menu-item-vertical-padding) var(--ht-menu-item-horizontal-padding);\n user-select: none;\n cursor: pointer;\n}\n.handsontableEditor .ht-multi-select-editor ul li * {\n cursor: pointer;\n}\n.handsontableEditor .ht-multi-select-editor ul li.ht-multi-select-editor-item-selected {\n background: color-mix(in srgb, var(--ht-menu-item-active-color) var(--ht-menu-item-active-color-opacity, 100%), transparent);\n}\n.handsontableEditor .ht-multi-select-editor ul li div {\n display: flex;\n align-items: center;\n flex: 1 0 0;\n}\n.handsontableEditor .ht-multi-select-editor ul li div input {\n position: relative;\n appearance: none;\n margin: 0;\n padding: 0;\n width: var(--ht-checkbox-size);\n height: var(--ht-checkbox-size);\n display: flex;\n}\n.handsontableEditor .ht-multi-select-editor ul li div input::after {\n content: "";\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n}\n.handsontableEditor .ht-multi-select-editor ul li div input::before {\n content: "";\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n box-sizing: border-box;\n width: var(--ht-checkbox-size);\n height: var(--ht-checkbox-size);\n border-radius: var(--ht-checkbox-border-radius);\n border: 1px solid var(--ht-checkbox-border-color);\n background: var(--ht-checkbox-background-color);\n background-repeat: no-repeat;\n background-position: center;\n}\n.handsontableEditor .ht-multi-select-editor ul li div input:checked::before {\n border-color: var(--ht-checkbox-checked-border-color);\n background: var(--ht-checkbox-checked-background-color);\n}\n.handsontableEditor .ht-multi-select-editor ul li div input:checked::after {\n color: var(--ht-checkbox-checked-icon-color);\n background-color: currentColor;\n}\n.handsontableEditor .ht-multi-select-editor ul li div input:focus {\n outline: none;\n}\n.handsontableEditor .ht-multi-select-editor ul li div label {\n overflow: hidden;\n color: var(--ht-foreground-color);\n text-overflow: ellipsis;\n font-size: var(--ht-font-size);\n font-style: normal;\n font-weight: 400;\n line-height: var(--ht-line-height);\n letter-spacing: var(--ht-letter-spacing);\n width: 100%;\n padding: 0 0 0 calc(var(--ht-gap-size) * 2);\n}\n.handsontableEditor .ht-multi-select-editor ul li:hover {\n background: color-mix(in srgb, var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity, 100%), transparent);\n}\n.handsontableEditor .ht-multi-select-editor ul li:has(input:focus) {\n background: color-mix(in srgb, var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity, 100%), transparent);\n}\n\n.handsontable .htUISelectCaption {\n width: 100%;\n padding: var(--ht-input-vertical-padding) var(--ht-input-horizontal-padding);\n padding-inline-end: calc(var(--ht-input-horizontal-padding) + var(--ht-icon-size));\n margin: 0;\n font-family: inherit;\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n font-weight: var(--ht-font-weight);\n border-radius: var(--ht-input-border-radius);\n box-sizing: border-box;\n cursor: pointer;\n outline: none !important;\n border: var(--ht-input-border-width) solid var(--ht-input-border-color);\n color: var(--ht-input-foreground-color);\n background-color: var(--ht-input-background-color);\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n transition: var(--ht-table-transition) all ease-in-out;\n}\n.handsontable .htUISelectCaption::after {\n content: "";\n display: block;\n position: absolute;\n right: calc(var(--ht-input-horizontal-padding) - var(--ht-icon-size) / 4);\n top: 50%;\n transform: translateY(-50%);\n}\n.handsontable .htUISelectCaption:hover {\n border-color: var(--ht-input-hover-border-color);\n color: var(--ht-input-hover-foreground-color);\n background-color: var(--ht-input-hover-background-color);\n}\n.handsontable .htUISelectCaption:disabled {\n border-color: var(--ht-input-disabled-border-color);\n color: var(--ht-input-disabled-foreground-color);\n background-color: var(--ht-input-disabled-background-color);\n}\n.handsontable .htUISelectCaption:focus {\n border-color: var(--ht-input-focus-border-color);\n color: var(--ht-input-focus-foreground-color);\n background-color: var(--ht-input-focus-background-color);\n}\n.handsontable .htUISelect {\n cursor: pointer;\n position: relative;\n outline: none !important;\n}\n.handsontable .htUISelect:focus .htUISelectCaption {\n border-color: var(--ht-input-focus-border-color);\n color: var(--ht-input-focus-foreground-color);\n background-color: var(--ht-input-focus-background-color);\n}\n\n[dir=rtl].handsontable .htUISelectCaption::after {\n right: auto;\n left: calc(var(--ht-input-horizontal-padding) - var(--ht-icon-size) / 4);\n}\n\n.handsontable .htFiltersMenuCondition .htUIInput input,\n.handsontable .htFiltersMenuValue .htUIMultipleSelectSearch input {\n width: 100%;\n padding: var(--ht-input-vertical-padding) var(--ht-input-horizontal-padding);\n font-family: inherit;\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n font-weight: var(--ht-font-weight);\n border-radius: var(--ht-input-border-radius);\n box-sizing: border-box;\n cursor: pointer;\n outline: none !important;\n border: var(--ht-input-border-width) solid var(--ht-input-border-color);\n color: var(--ht-input-foreground-color);\n background-color: var(--ht-input-background-color);\n transition: var(--ht-table-transition) all ease-in-out;\n}\n.handsontable .htFiltersMenuCondition .htUIInput input:hover,\n.handsontable .htFiltersMenuValue .htUIMultipleSelectSearch input:hover {\n border-color: var(--ht-input-hover-border-color);\n color: var(--ht-input-hover-foreground-color);\n background-color: var(--ht-input-hover-background-color);\n}\n.handsontable .htFiltersMenuCondition .htUIInput input:disabled,\n.handsontable .htFiltersMenuValue .htUIMultipleSelectSearch input:disabled {\n border-color: var(--ht-input-disabled-border-color);\n color: var(--ht-input-disabled-foreground-color);\n background-color: var(--ht-input-disabled-background-color);\n}\n.handsontable .htFiltersMenuCondition .htUIInput input:focus,\n.handsontable .htFiltersMenuValue .htUIMultipleSelectSearch input:focus {\n border-color: var(--ht-input-focus-border-color);\n color: var(--ht-input-focus-foreground-color);\n background-color: var(--ht-input-focus-background-color);\n}\n.handsontable .htUIInput {\n position: relative;\n padding: 0;\n outline: none !important;\n text-align: center;\n}\n.handsontable .htUIInputIcon {\n position: absolute;\n}\n\n.handsontable .htUIInput.htUIButton input, .handsontable .ht-button {\n min-width: 64px;\n padding: var(--ht-button-vertical-padding) var(--ht-button-horizontal-padding);\n font-family: inherit;\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n font-weight: var(--ht-font-weight);\n border-radius: var(--ht-button-border-radius);\n border-width: 1px;\n border-style: solid;\n box-sizing: border-box;\n outline: none !important;\n cursor: pointer;\n transition: var(--ht-table-transition) all ease-in-out;\n}\n.handsontable .htUIInput.htUIButtonCancel input, .handsontable .ht-button--secondary {\n border-color: var(--ht-secondary-button-border-color);\n background-color: var(--ht-secondary-button-background-color);\n color: var(--ht-secondary-button-foreground-color);\n}\n.handsontable .htUIInput.htUIButtonCancel input:hover, .handsontable .ht-button--secondary:hover {\n border-color: var(--ht-secondary-button-hover-border-color);\n background-color: var(--ht-secondary-button-hover-background-color);\n color: var(--ht-secondary-button-hover-foreground-color);\n}\n.handsontable .htUIInput.htUIButtonCancel input:disabled, .handsontable .ht-button--secondary:disabled {\n border-color: var(--ht-secondary-button-disabled-border-color);\n background-color: var(--ht-secondary-button-disabled-background-color);\n color: var(--ht-secondary-button-disabled-foreground-color);\n}\n.handsontable .htUIInput.htUIButtonCancel input:focus, .handsontable .ht-button--secondary:focus {\n border-color: var(--ht-secondary-button-focus-border-color);\n background-color: var(--ht-secondary-button-focus-background-color);\n color: var(--ht-secondary-button-focus-foreground-color);\n box-shadow: 0 0 0 1px var(--ht-accent-color);\n}\n\n.htUIInput.htUIButtonOK input, .ht-button--primary {\n border-color: var(--ht-primary-button-border-color);\n background-color: var(--ht-primary-button-background-color);\n color: var(--ht-primary-button-foreground-color);\n}\n.htUIInput.htUIButtonOK input:hover, .ht-button--primary:hover {\n border-color: var(--ht-primary-button-hover-border-color);\n background-color: var(--ht-primary-button-hover-background-color);\n color: var(--ht-primary-button-hover-foreground-color);\n}\n.htUIInput.htUIButtonOK input:disabled, .ht-button--primary:disabled {\n border-color: var(--ht-primary-button-disabled-border-color);\n background-color: var(--ht-primary-button-disabled-background-color);\n color: var(--ht-primary-button-disabled-foreground-color);\n}\n.htUIInput.htUIButtonOK input:focus, .ht-button--primary:focus {\n border-color: var(--ht-primary-button-focus-border-color);\n background-color: var(--ht-primary-button-focus-background-color);\n color: var(--ht-primary-button-focus-foreground-color);\n box-shadow: 0 0 0 1px var(--ht-accent-color);\n}\n\n.handsontable .htUIRadio {\n position: relative;\n display: inline-flex;\n margin: 0;\n padding: var(--ht-gap-size) calc(2 * var(--ht-gap-size));\n padding-bottom: 0;\n align-items: center;\n gap: var(--ht-gap-size);\n cursor: pointer;\n}\n.handsontable .htUIRadio:first-child {\n padding-inline-start: 0;\n}\n.handsontable .htUIRadio > input[type=radio] {\n position: relative;\n width: var(--ht-radio-size);\n height: var(--ht-radio-size);\n margin: 0;\n appearance: none;\n cursor: pointer;\n border-radius: calc(0.5 * var(--ht-radio-size));\n outline: none;\n}\n.handsontable .htUIRadio > input[type=radio]::before {\n content: "";\n display: block;\n position: absolute;\n inset: 0;\n border-radius: calc(0.5 * var(--ht-radio-size));\n border: 1px solid var(--ht-radio-border-color);\n background-color: var(--ht-radio-background-color);\n}\n.handsontable .htUIRadio > input[type=radio]::after {\n content: "";\n display: block;\n position: absolute;\n color: var(--ht-radio-icon-color);\n}\n.handsontable .htUIRadio > input[type=radio]:checked::before {\n border-color: var(--ht-radio-checked-border-color);\n background-color: var(--ht-radio-checked-background-color);\n}\n.handsontable .htUIRadio > input[type=radio]:checked::after {\n color: var(--ht-radio-checked-icon-color);\n}\n.handsontable .htUIRadio > input[type=radio]:checked:disabled {\n cursor: initial;\n}\n.handsontable .htUIRadio > input[type=radio]:checked:disabled::before {\n border-color: var(--ht-radio-checked-disabled-border-color);\n background-color: var(--ht-radio-checked-disabled-background-color);\n}\n.handsontable .htUIRadio > input[type=radio]:checked:disabled::after {\n color: var(--ht-radio-checked-disabled-icon-color);\n}\n.handsontable .htUIRadio > input[type=radio]:checked:focus::before {\n border-color: var(--ht-radio-checked-focus-border-color);\n background-color: var(--ht-radio-checked-focus-background-color);\n}\n.handsontable .htUIRadio > input[type=radio]:checked:focus::after {\n color: var(--ht-radio-checked-focus-icon-color);\n}\n.handsontable .htUIRadio > input[type=radio]:disabled {\n cursor: initial;\n}\n.handsontable .htUIRadio > input[type=radio]:disabled::before {\n border-color: var(--ht-radio-disabled-border-color);\n background-color: var(--ht-radio-disabled-background-color);\n}\n.handsontable .htUIRadio > input[type=radio]:disabled::after {\n color: var(--ht-radio-disabled-icon-color);\n}\n.handsontable .htUIRadio > input[type=radio]:focus::before {\n border-color: var(--ht-radio-focus-border-color);\n background-color: var(--ht-radio-focus-background-color);\n outline: 1px solid var(--ht-radio-focus-ring-color);\n}\n.handsontable .htUIRadio > input[type=radio]:focus::after {\n color: var(--ht-radio-focus-icon-color);\n}\n.handsontable .htUIRadio label {\n vertical-align: middle;\n cursor: pointer;\n color: inherit;\n}\n.handsontable .htUIRadio label::before {\n content: "";\n display: block;\n position: absolute;\n inset: 0;\n}\n\n.handsontable .collapsibleIndicator {\n top: calc((var(--ht-line-height) - var(--ht-icon-size)) / 2);\n margin-inline-start: var(--ht-gap-size);\n margin-inline-end: 1px;\n}\n.handsontable .collapsibleIndicator,\n.handsontable .ht_nestingButton {\n position: relative;\n width: var(--ht-icon-size);\n height: var(--ht-icon-size);\n box-sizing: border-box;\n border-radius: var(--ht-collapse-button-border-radius);\n overflow: hidden;\n cursor: pointer;\n /* hide text */\n text-indent: -100px;\n font-size: 0;\n float: right;\n}\n.handsontable .collapsibleIndicator::before,\n.handsontable .ht_nestingButton::before {\n content: "";\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n transition: var(--ht-table-transition) all ease-in-out;\n}\n.handsontable .collapsibleIndicator.expanded, .handsontable .collapsibleIndicator.ht_nestingCollapse,\n.handsontable .ht_nestingButton.expanded,\n.handsontable .ht_nestingButton.ht_nestingCollapse {\n background-color: var(--ht-collapse-button-open-background-color);\n box-shadow: 0 0 0 1px var(--ht-collapse-button-open-border-color);\n}\n.handsontable .collapsibleIndicator.expanded::before, .handsontable .collapsibleIndicator.ht_nestingCollapse::before,\n.handsontable .ht_nestingButton.expanded::before,\n.handsontable .ht_nestingButton.ht_nestingCollapse::before {\n color: var(--ht-collapse-button-open-icon-color);\n}\n.handsontable .collapsibleIndicator.expanded:hover, .handsontable .collapsibleIndicator.ht_nestingCollapse:hover,\n.handsontable .ht_nestingButton.expanded:hover,\n.handsontable .ht_nestingButton.ht_nestingCollapse:hover {\n background-color: var(--ht-collapse-button-open-hover-background-color);\n box-shadow: 0 0 0 1px var(--ht-collapse-button-open-hover-border-color);\n}\n.handsontable .collapsibleIndicator.expanded:hover::before, .handsontable .collapsibleIndicator.ht_nestingCollapse:hover::before,\n.handsontable .ht_nestingButton.expanded:hover::before,\n.handsontable .ht_nestingButton.ht_nestingCollapse:hover::before {\n color: var(--ht-collapse-button-open-hover-icon-color);\n}\n.handsontable .collapsibleIndicator.collapsed, .handsontable .collapsibleIndicator.ht_nestingExpand,\n.handsontable .ht_nestingButton.collapsed,\n.handsontable .ht_nestingButton.ht_nestingExpand {\n background-color: var(--ht-collapse-button-close-background-color);\n box-shadow: 0 0 0 1px var(--ht-collapse-button-close-border-color);\n}\n.handsontable .collapsibleIndicator.collapsed::before, .handsontable .collapsibleIndicator.ht_nestingExpand::before,\n.handsontable .ht_nestingButton.collapsed::before,\n.handsontable .ht_nestingButton.ht_nestingExpand::before {\n color: var(--ht-collapse-button-close-icon-color);\n}\n.handsontable .collapsibleIndicator.collapsed:hover, .handsontable .collapsibleIndicator.ht_nestingExpand:hover,\n.handsontable .ht_nestingButton.collapsed:hover,\n.handsontable .ht_nestingButton.ht_nestingExpand:hover {\n background-color: var(--ht-collapse-button-close-hover-background-color);\n box-shadow: 0 0 0 1px var(--ht-collapse-button-close-hover-border-color);\n}\n.handsontable .collapsibleIndicator.collapsed:hover::before, .handsontable .collapsibleIndicator.ht_nestingExpand:hover::before,\n.handsontable .ht_nestingButton.collapsed:hover::before,\n.handsontable .ht_nestingButton.ht_nestingExpand:hover::before {\n color: var(--ht-collapse-button-close-hover-icon-color);\n}\n.handsontable th.ht__active_highlight .collapsibleIndicator.collapsed::before, .handsontable th.ht__active_highlight .collapsibleIndicator.ht_nestingExpand::before,\n.handsontable th.ht__active_highlight .ht_nestingButton.collapsed::before,\n.handsontable th.ht__active_highlight .ht_nestingButton.ht_nestingExpand::before {\n color: var(--ht-collapse-button-close-icon-active-color);\n}\n.handsontable th.ht__active_highlight .collapsibleIndicator.collapsed:hover::before, .handsontable th.ht__active_highlight .collapsibleIndicator.ht_nestingExpand:hover::before,\n.handsontable th.ht__active_highlight .ht_nestingButton.collapsed:hover::before,\n.handsontable th.ht__active_highlight .ht_nestingButton.ht_nestingExpand:hover::before {\n color: var(--ht-collapse-button-close-hover-icon-active-color);\n}\n.handsontable th.ht__active_highlight .collapsibleIndicator.expanded::before, .handsontable th.ht__active_highlight .collapsibleIndicator.ht_nestingCollapse::before,\n.handsontable th.ht__active_highlight .ht_nestingButton.expanded::before,\n.handsontable th.ht__active_highlight .ht_nestingButton.ht_nestingCollapse::before {\n color: var(--ht-collapse-button-open-icon-active-color);\n}\n.handsontable th.ht__active_highlight .collapsibleIndicator.expanded:hover::before, .handsontable th.ht__active_highlight .collapsibleIndicator.ht_nestingCollapse:hover::before,\n.handsontable th.ht__active_highlight .ht_nestingButton.expanded:hover::before,\n.handsontable th.ht__active_highlight .ht_nestingButton.ht_nestingCollapse:hover::before {\n color: var(--ht-collapse-button-open-hover-icon-active-color);\n}\n\n[dir=rtl].handsontable .collapsibleIndicator,\n[dir=rtl].handsontable .ht_nestingButton {\n float: left;\n}\n\n.handsontable thead th.hiddenHeader:not(:first-of-type) {\n display: none;\n}\n.handsontable thead th.hiddenHeaderText .colHeader {\n opacity: 0;\n}\n\n.handsontable th.ht_nestingLevels > .relative {\n display: flex;\n align-items: center;\n gap: 5px;\n}\n.handsontable th.ht_nestingLevels span:last-child {\n padding-left: calc(var(--ht-icon-size) + 5px);\n}\n.handsontable th.ht_nestingLevels span.ht_nestingLevel {\n display: inline-block;\n}\n.handsontable th.ht_nestingLevels span.ht_nestingLevel_empty {\n position: relative;\n display: inline-block;\n width: 5px;\n height: 1px;\n order: -2;\n}\n.handsontable th.ht_nestingLevels .ht_nestingButton {\n position: relative;\n cursor: pointer;\n order: -1;\n}\n\n.handsontable th.beforeHiddenColumn, .handsontable th.afterHiddenColumn {\n position: relative;\n}\n.handsontable th.beforeHiddenColumn::before, .handsontable th.beforeHiddenColumn::after, .handsontable th.afterHiddenColumn::before, .handsontable th.afterHiddenColumn::after {\n position: absolute;\n top: 50%;\n width: 10px !important;\n height: 10px !important;\n transform: translateY(-50%);\n color: var(--ht-hidden-indicator-color);\n}\n.handsontable th.beforeHiddenColumn::after {\n content: "";\n display: block;\n right: -2px;\n}\n.handsontable th.afterHiddenColumn::before {\n content: "";\n display: block;\n left: -2px;\n}\n.handsontable th.ht__active_highlight.beforeHiddenColumn::before, .handsontable th.ht__active_highlight.beforeHiddenColumn::after, .handsontable th.ht__active_highlight.afterHiddenColumn::before, .handsontable th.ht__active_highlight.afterHiddenColumn::after {\n color: var(--ht-icon-button-active-icon-color, var(--ht-icon-active-button-icon-color));\n}\n\n[dir=rtl].handsontable th.beforeHiddenColumn::after {\n right: initial;\n left: -2px;\n transform: translateY(-50%) rotate(180deg);\n}\n[dir=rtl].handsontable th.afterHiddenColumn::before {\n right: -2px;\n left: initial;\n transform: translateY(-50%) rotate(180deg);\n}\n\n.handsontable th.beforeHiddenRow, .handsontable th.afterHiddenRow {\n position: relative;\n}\n.handsontable th.beforeHiddenRow::before, .handsontable th.beforeHiddenRow::after, .handsontable th.afterHiddenRow::before, .handsontable th.afterHiddenRow::after {\n position: absolute;\n left: 50%;\n width: 10px !important;\n height: 10px !important;\n transform: translateX(-50%);\n color: var(--ht-hidden-indicator-color);\n}\n.handsontable th.beforeHiddenRow::after {\n content: "";\n display: block;\n bottom: -2px;\n}\n.handsontable th.afterHiddenRow::before {\n content: "";\n display: block;\n top: -2px;\n}\n.handsontable th.ht__active_highlight.beforeHiddenRow::before, .handsontable th.ht__active_highlight.beforeHiddenRow::after, .handsontable th.ht__active_highlight.afterHiddenRow::before, .handsontable th.ht__active_highlight.afterHiddenRow::after {\n color: var(--ht-icon-button-active-icon-color, var(--ht-icon-active-button-icon-color));\n}\n\n.handsontable .changeType {\n position: relative;\n box-sizing: border-box;\n width: var(--ht-icon-size);\n height: var(--ht-icon-size);\n border-radius: var(--ht-icon-button-border-radius);\n box-shadow: 0 0 0 1px var(--ht-icon-button-border-color);\n border: none;\n color: inherit;\n padding: 0;\n margin: 0;\n background-color: var(--ht-icon-button-background-color);\n order: 1;\n z-index: 1;\n float: right;\n top: calc((var(--ht-line-height) - var(--ht-icon-size)) / 2);\n margin-inline-start: var(--ht-gap-size);\n margin-inline-end: 1px;\n}\n.handsontable .changeType::before {\n content: "";\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n color: var(--ht-icon-button-icon-color);\n}\n.handsontable .changeType:hover {\n cursor: pointer;\n box-shadow: 0 0 0 1px var(--ht-icon-button-hover-border-color);\n background-color: var(--ht-icon-button-hover-background-color);\n}\n.handsontable .changeType:hover::before {\n color: var(--ht-icon-button-hover-icon-color);\n}\n.handsontable .ht__active_highlight .changeType {\n box-shadow: 0 0 0 1px var(--ht-icon-button-active-border-color, var(--ht-icon-active-button-border-color));\n background-color: var(--ht-icon-button-active-background-color, var(--ht-icon-active-button-background-color));\n}\n.handsontable .ht__active_highlight .changeType::before {\n color: var(--ht-icon-button-active-icon-color, var(--ht-icon-active-button-icon-color));\n}\n.handsontable .ht__active_highlight .changeType:hover {\n box-shadow: 0 0 0 1px var(--ht-icon-button-active-hover-border-color, var(--ht-icon-active-button-hover-border-color));\n background-color: var(--ht-icon-button-active-hover-background-color, var(--ht-icon-active-button-hover-background-color));\n}\n.handsontable .ht__active_highlight .changeType:hover::before {\n color: var(--ht-icon-button-active-hover-icon-color, var(--ht-icon-active-button-hover-icon-color));\n}\n.handsontable th.htFiltersActive {\n background-color: var(--ht-header-filter-background-color);\n}\n.handsontable th.htFiltersActive.ht__active_highlight {\n background-color: color-mix(in srgb, var(--ht-header-active-background-color), var(--ht-header-filter-background-color) 20%);\n}\n.handsontable th.htFiltersActive.ht__active_highlight .changeType::after {\n background-color: var(--ht-header-active-foreground-color);\n}\n.handsontable.htDropdownMenu > .ht_master, .handsontable.htContextMenu > .ht_master, .handsontable.htFiltersConditionsMenu > .ht_master {\n 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, rgb(0, 0, 0)) var(--ht-menu-shadow-opacity, 100%), transparent);\n border: var(--ht-menu-border-width, 1px) solid var(--ht-menu-border-color, #e5e5e9);\n border-radius: var(--ht-menu-border-radius);\n overflow: hidden;\n padding: var(--ht-menu-vertical-padding, 8px) var(--ht-menu-horizontal-padding, 0);\n background-color: var(--ht-background-color, #ffffff);\n}\n.handsontable.htDropdownMenu:not(.htGhostTable), .handsontable.htContextMenu:not(.htGhostTable), .handsontable.htFiltersConditionsMenu:not(.htGhostTable) {\n display: none;\n position: absolute;\n /* needs to be higher than 1050 - z-index for Twitter Bootstrap modal (#1569) */\n z-index: 1060;\n}\n.handsontable.htDropdownMenu .ht_clone_top,\n.handsontable.htDropdownMenu .ht_clone_bottom,\n.handsontable.htDropdownMenu .ht_clone_inline_start,\n.handsontable.htDropdownMenu .ht_clone_top_inline_start_corner,\n.handsontable.htDropdownMenu .ht_clone_bottom_inline_start_corner, .handsontable.htContextMenu .ht_clone_top,\n.handsontable.htContextMenu .ht_clone_bottom,\n.handsontable.htContextMenu .ht_clone_inline_start,\n.handsontable.htContextMenu .ht_clone_top_inline_start_corner,\n.handsontable.htContextMenu .ht_clone_bottom_inline_start_corner, .handsontable.htFiltersConditionsMenu .ht_clone_top,\n.handsontable.htFiltersConditionsMenu .ht_clone_bottom,\n.handsontable.htFiltersConditionsMenu .ht_clone_inline_start,\n.handsontable.htFiltersConditionsMenu .ht_clone_top_inline_start_corner,\n.handsontable.htFiltersConditionsMenu .ht_clone_bottom_inline_start_corner {\n display: none;\n}\n.handsontable.htDropdownMenu table.htCore, .handsontable.htContextMenu table.htCore, .handsontable.htFiltersConditionsMenu table.htCore {\n overflow: hidden;\n}\n.handsontable.htDropdownMenu .htCustomMenuRenderer .table.htCore, .handsontable.htContextMenu .htCustomMenuRenderer .table.htCore, .handsontable.htFiltersConditionsMenu .htCustomMenuRenderer .table.htCore {\n box-shadow: none;\n}\n.handsontable.htDropdownMenu.handsontable:focus, .handsontable.htContextMenu.handsontable:focus, .handsontable.htFiltersConditionsMenu.handsontable:focus {\n outline: none;\n}\n.handsontable.htDropdownMenu .wtBorder, .handsontable.htContextMenu .wtBorder, .handsontable.htFiltersConditionsMenu .wtBorder {\n visibility: hidden;\n}\n.handsontable.htDropdownMenu tbody tr:first-of-type td:first-child, .handsontable.htDropdownMenu tbody tr:first-of-type th:first-child, .handsontable.htContextMenu tbody tr:first-of-type td:first-child, .handsontable.htContextMenu 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 {\n height: calc(var(--ht-cell-vertical-padding) * 2 + var(--ht-line-height) + 1px);\n}\n.handsontable.htDropdownMenu table tbody tr td, .handsontable.htContextMenu table tbody tr td, .handsontable.htFiltersConditionsMenu table tbody tr td {\n position: relative;\n padding: var(--ht-menu-item-vertical-padding, 4px) var(--ht-menu-item-horizontal-padding, 8px);\n border-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n background: var(--ht-background-color, #ffffff);\n cursor: pointer;\n transition: var(--ht-table-transition) background ease-in-out;\n}\n.handsontable.htDropdownMenu table tbody tr td:first-child, .handsontable.htContextMenu table tbody tr td:first-child, .handsontable.htFiltersConditionsMenu table tbody tr td:first-child {\n border-top-width: 0;\n border-inline-end-width: 0;\n border-bottom-width: 0;\n border-inline-start-width: 0;\n}\n.handsontable.htDropdownMenu table tbody tr td.htDimmed, .handsontable.htContextMenu table tbody tr td.htDimmed, .handsontable.htFiltersConditionsMenu table tbody tr td.htDimmed {\n font-style: normal;\n color: inherit !important;\n background-color: inherit !important;\n}\n.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.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.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 {\n background: color-mix(in srgb, var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity, 100%), transparent) !important;\n cursor: pointer;\n}\n.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.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.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]) {\n box-shadow: inset 0 0 0 1px var(--ht-accent-color);\n}\n.handsontable.htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper, .handsontable.htContextMenu table tbody tr td.htSubmenu .htItemWrapper, .handsontable.htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper {\n margin-inline-end: calc(2 * var(--ht-gap-size, 4px) + var(--ht-icon-size));\n}\n.handsontable.htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper::after, .handsontable.htContextMenu table tbody tr td.htSubmenu .htItemWrapper::after, .handsontable.htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper::after {\n content: "";\n display: block;\n position: absolute;\n top: 50%;\n right: calc(var(--ht-menu-item-horizontal-padding) + var(--ht-gap-size) * 2);\n transform: translateY(-50%);\n}\n.handsontable.htDropdownMenu table tbody tr td.htSeparator, .handsontable.htContextMenu table tbody tr td.htSeparator, .handsontable.htFiltersConditionsMenu table tbody tr td.htSeparator {\n border-top: 1px solid var(--ht-border-color);\n height: 0;\n padding: 0;\n cursor: default;\n}\n.handsontable.htDropdownMenu table tbody tr td.htDisabled, .handsontable.htContextMenu table tbody tr td.htDisabled, .handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled {\n color: var(--ht-disabled-color);\n cursor: default;\n}\n.handsontable.htDropdownMenu table tbody tr td.htDisabled:hover, .handsontable.htContextMenu table tbody tr td.htDisabled:hover, .handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled:hover {\n background: var(--ht-background-color);\n color: var(--ht-disabled-color);\n}\n.handsontable.htDropdownMenu table tbody tr td.htHidden, .handsontable.htContextMenu table tbody tr td.htHidden, .handsontable.htFiltersConditionsMenu table tbody tr td.htHidden {\n display: none;\n}\n.handsontable.htDropdownMenu table tbody tr td:has(.htItemWrapper .selected), .handsontable.htContextMenu table tbody tr td:has(.htItemWrapper .selected), .handsontable.htFiltersConditionsMenu table tbody tr td:has(.htItemWrapper .selected) {\n background-color: color-mix(in srgb, var(--ht-menu-item-active-color) var(--ht-menu-item-active-color-opacity, 100%), transparent);\n}\n.handsontable.htDropdownMenu table tbody tr td .htItemWrapper, .handsontable.htContextMenu table tbody tr td .htItemWrapper, .handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper {\n margin-inline: calc(2 * var(--ht-gap-size, 4px));\n}\n.handsontable.htDropdownMenu table tbody tr td .htItemWrapper::before, .handsontable.htContextMenu table tbody tr td .htItemWrapper::before, .handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper::before {\n vertical-align: text-bottom;\n margin-right: 12px;\n}\n.handsontable.htDropdownMenu table tbody tr td .htItemWrapper span.selected, .handsontable.htContextMenu table tbody tr td .htItemWrapper span.selected, .handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected {\n font-size: 0;\n inset: 0;\n}\n.handsontable.htDropdownMenu table tbody tr td .htItemWrapper span.selected::after, .handsontable.htContextMenu table tbody tr td .htItemWrapper span.selected::after, .handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected::after {\n content: "";\n display: block;\n position: absolute;\n top: 50%;\n right: calc(var(--ht-menu-item-horizontal-padding) + var(--ht-gap-size) * 2);\n color: var(--ht-accent-color);\n transform: translateY(-50%);\n}\n.handsontable.htDropdownMenu table tbody tr td div span.selected, .handsontable.htContextMenu table tbody tr td div span.selected, .handsontable.htFiltersConditionsMenu table tbody tr td div span.selected {\n position: absolute;\n inset-inline-end: 0;\n}\n.handsontable.htDropdownMenu table tbody tr td .htUIButton, .handsontable.htContextMenu table tbody tr td .htUIButton, .handsontable.htFiltersConditionsMenu table tbody tr td .htUIButton {\n width: calc(50% - var(--ht-gap-size));\n}\n.handsontable.htDropdownMenu table tbody tr td .htUIButton input, .handsontable.htContextMenu table tbody tr td .htUIButton input, .handsontable.htFiltersConditionsMenu table tbody tr td .htUIButton input {\n width: 100%;\n}\n.handsontable .htUIClearAll a,\n.handsontable .htUISelectAll a {\n padding: var(--ht-gap-size);\n display: inline-block;\n text-decoration: none;\n}\n.handsontable .htUIMultipleSelect .ht_master .wtHolder {\n overflow-y: scroll !important;\n background: transparent;\n border-radius: 0 !important;\n}\n.handsontable .htUIMultipleSelect .ht_master .wtHolder .htCore {\n box-shadow: none;\n}\n\n[dir=rtl].handsontable.htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper::after, [dir=rtl].handsontable.htContextMenu table tbody tr td.htSubmenu .htItemWrapper::after, [dir=rtl].handsontable.htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper::after {\n left: calc(4 * var(--ht-gap-size));\n right: auto;\n transform: translateY(-50%) rotate(180deg);\n}\n[dir=rtl].handsontable.htDropdownMenu table tbody tr td .htItemWrapper span.selected::after, [dir=rtl].handsontable.htContextMenu table tbody tr td .htItemWrapper span.selected::after, [dir=rtl].handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected::after {\n left: calc(4 * var(--ht-gap-size));\n right: auto;\n}\n[dir=rtl].handsontable .changeType {\n float: left;\n}\n\n.handsontable.htFiltersConditionsMenu:not(.htGhostTable) {\n z-index: 1070;\n}\n.handsontable .ht_master table td.htCustomMenuRenderer {\n cursor: auto;\n}\n.handsontable .ht_master table td.htCustomMenuRenderer.htFiltersMenuActionBar {\n padding-top: calc(var(--ht-menu-item-vertical-padding, 4px) * 2);\n}\n.handsontable .htFiltersMenuLabel {\n font-size: var(--ht-font-size-small);\n line-height: var(--ht-line-height-small);\n font-weight: var(--ht-font-weight);\n margin-bottom: calc(var(--ht-gap-size, 2px) * 2);\n}\n.handsontable .htFiltersMenuLabel:empty {\n display: none;\n}\n.handsontable .htFiltersMenuCondition {\n padding-top: calc(var(--ht-gap-size, 2px) * 3) !important;\n padding-bottom: 0 !important;\n}\n.handsontable .htFiltersMenuCondition .border {\n border-bottom: 1px solid var(--ht-border-color) !important;\n}\n.handsontable .htFiltersMenuCondition .htUIInput {\n margin-top: calc(var(--ht-gap-size, 2px) * 2);\n}\n.handsontable .htFiltersMenuValue {\n padding-top: calc(var(--ht-gap-size, 2px) * 3) !important;\n padding-bottom: 0 !important;\n border-bottom: 1px solid var(--ht-border-color) !important;\n}\n.handsontable .htFiltersMenuOperators {\n padding-top: calc(var(--ht-gap-size, 2px) * 2) !important;\n padding-bottom: 0 !important;\n}\n.handsontable .htUISelectionControls {\n padding-top: calc(var(--ht-gap-size, 2px) * 2) !important;\n padding-bottom: var(--ht-gap-size, 2px) !important;\n margin: 0 calc(var(--ht-gap-size, 2px) * -1);\n}\n.handsontable .htUIMultipleSelectHot {\n --ht-cell-horizontal-padding: calc(\n var(--ht-menu-item-horizontal-padding, 2px) +\n var(--ht-gap-size, 2px) * 2);\n overflow: initial !important;\n width: calc(100% + var(--ht-menu-item-horizontal-padding, 2px) * 2 + var(--ht-gap-size, 2px) * 4);\n margin: 0 calc((var(--ht-menu-item-horizontal-padding, 2px) + var(--ht-gap-size, 2px) * 2) * -1);\n}\n.handsontable .htUIMultipleSelectHot::before {\n content: "";\n display: block;\n position: absolute;\n top: -1px;\n left: 0;\n width: 100%;\n height: 1px;\n background-color: var(--ht-border-color);\n}\n.handsontable .htUIMultipleSelectHot .wtHolder {\n padding: 0;\n overflow-x: hidden;\n box-sizing: border-box;\n}\n.handsontable .htUIMultipleSelectHot .wtHolder .wtSpreader {\n padding: calc(var(--ht-gap-size) * 2) 0;\n}\n.handsontable .htUIMultipleSelectHot .wtHolder td {\n height: auto !important;\n padding: 4px var(--ht-cell-horizontal-padding);\n}\n.handsontable .htUIClearAll,\n.handsontable .htUISelectAll {\n display: inline-block;\n margin-right: var(--ht-gap-size, 4px);\n margin-bottom: var(--ht-gap-size, 4px);\n}\n.handsontable .htUIClearAll a,\n.handsontable .htUISelectAll a {\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n color: var(--ht-link-color);\n border-radius: var(--ht-button-border-radius);\n}\n.handsontable .htUIClearAll a:hover,\n.handsontable .htUISelectAll a:hover {\n color: var(--ht-link-hover-color);\n}\n.handsontable .htUIClearAll a:focus,\n.handsontable .htUISelectAll a:focus {\n outline: 1px solid var(--ht-link-hover-color);\n}\n.handsontable .htUIMultipleSelect .ht_master .wtHolder {\n overflow: auto;\n}\n.handsontable .htUIMultipleSelect .ht_master .wtHolder .wtHider,\n.handsontable .htUIMultipleSelect .ht_master .wtHolder .htCore,\n.handsontable .htUIMultipleSelect .ht_master .wtHolder tr,\n.handsontable .htUIMultipleSelect .ht_master .wtHolder td {\n background: none;\n}\n.handsontable .htUIInput.htUIButton {\n cursor: pointer;\n display: inline-block;\n}\n.handsontable .htUIInput.htUIButtonOK {\n margin-inline-start: 0;\n margin-inline-end: calc(2 * var(--ht-gap-size, 2px));\n}\n\n.handsontable .htCommentCell {\n position: relative;\n}\n.handsontable .htCommentCell::after {\n content: "";\n display: block;\n position: absolute;\n top: 0;\n inset-inline-end: 0;\n inset-inline-start: unset;\n border-inline-start: var(--ht-comments-indicator-size, 4px) solid transparent;\n border-inline-end: none;\n border-top: var(--ht-comments-indicator-size, 4px) solid var(--ht-comments-indicator-color, #1a42e8);\n}\n\n.htCommentsContainer .htComments {\n display: none;\n z-index: 1059;\n position: absolute;\n}\n.htCommentsContainer .htCommentTextArea {\n font-family: var(--ht-font-family), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;\n 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, rgb(0, 0, 0)) var(--ht-menu-shadow-opacity, 100%), transparent);\n width: 240px;\n height: 88px;\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n font-weight: var(--ht-font-weight);\n margin: 0 -1px;\n padding: var(--ht-comments-textarea-vertical-padding) var(--ht-comments-textarea-horizontal-padding);\n border: var(--ht-comments-textarea-border-width, 1px) solid var(--ht-comments-textarea-border-color, transparent);\n border-inline-start: var(--ht-comments-textarea-border-width, 1px) solid var(--ht-comments-textarea-border-color, #1a42e8);\n color: var(--ht-comments-textarea-foreground-color);\n background-color: var(--ht-comments-textarea-background-color, #ffffff);\n outline: 0 !important;\n box-sizing: border-box;\n -webkit-appearance: none;\n}\n.htCommentsContainer .htCommentTextArea:focus {\n border: var(--ht-comments-textarea-focus-border-width, 1px) solid var(--ht-comments-textarea-focus-border-color, #1a42e8);\n color: var(--ht-comments-textarea-focus-foreground-color);\n background-color: var(--ht-comments-textarea-focus-background-color, #ffffff);\n}\n\n.htBorders .wtBorder.ht-border-style-dashed-vertical {\n background-image: repeating-linear-gradient(to bottom, var(--ht-custom-border-color) 0 5px, transparent 0 10px);\n}\n.htBorders .wtBorder.ht-border-style-dashed-horizontal {\n background-image: repeating-linear-gradient(to right, var(--ht-custom-border-color) 0 5px, transparent 0 10px);\n}\n.htBorders .wtBorder.ht-border-style-dotted-horizontal {\n background-image: radial-gradient(circle, var(--ht-custom-border-color) calc(var(--ht-custom-border-size) / 2), transparent 0);\n background-size: calc(var(--ht-custom-border-size) * 2) var(--ht-custom-border-size);\n background-repeat: repeat-x;\n}\n.htBorders .wtBorder.ht-border-style-dotted-vertical {\n background-image: radial-gradient(circle, var(--ht-custom-border-color) calc(var(--ht-custom-border-size) / 2), transparent 0);\n background-size: var(--ht-custom-border-size) calc(var(--ht-custom-border-size) * 2);\n background-repeat: repeat-y;\n}\n\n.handsontable .columnSorting:not(.indicatorDisabled) {\n position: relative;\n}\n.handsontable .columnSorting:not(.indicatorDisabled).sortAction {\n min-width: calc(var(--ht-icon-size, 16px) + 8px);\n}\n.handsontable .columnSorting:not(.indicatorDisabled).sortAction.ascending, .handsontable .columnSorting:not(.indicatorDisabled).sortAction.descending {\n padding-inline-end: calc(var(--ht-icon-size, 16px) + 2px);\n max-width: calc(100% - (var(--ht-icon-size, 16px) * 2 + var(--ht-gap-size, 4px) + 3px)) !important;\n}\n.handsontable .columnSorting:not(.indicatorDisabled).sortAction:hover {\n text-decoration: none;\n cursor: pointer;\n}\n.handsontable .columnSorting:not(.indicatorDisabled).sortAction::before {\n content: "";\n display: block;\n width: var(--ht-icon-size, 16px);\n position: absolute;\n top: 50%;\n right: 2px;\n transform: translateY(-50%);\n text-align: right;\n}\n.handsontable .htRight .columnSorting.sortAction.ascending, .handsontable .htRight .columnSorting.sortAction.descending {\n padding-inline-start: calc(var(--ht-icon-size, 16px) + 2px);\n padding-inline-end: 0;\n}\n.handsontable .htRight .columnSorting.sortAction::before {\n left: 2px;\n right: auto;\n text-align: left;\n}\n\n[dir=rtl] .handsontable .columnSorting.sortAction::before {\n left: 2px;\n right: auto;\n text-align: left;\n}\n[dir=rtl] .handsontable .htRight .columnSorting.sortAction.ascending, [dir=rtl] .handsontable .htRight .columnSorting.sortAction.descending {\n padding-inline-start: 0;\n padding-inline-end: calc(var(--ht-icon-size, 16px) + 2px);\n}\n[dir=rtl] .handsontable .htLeft .columnSorting.sortAction.ascending, [dir=rtl] .handsontable .htLeft .columnSorting.sortAction.descending {\n padding-inline-start: calc(var(--ht-icon-size, 16px) + 2px);\n padding-inline-end: 0;\n}\n[dir=rtl] .handsontable .htLeft .columnSorting.sortAction::before {\n left: auto;\n right: 2px;\n text-align: right;\n}\n\n.htGhostTable .htCore span.colHeader.columnSorting:not(.indicatorDisabled)::before {\n content: "*";\n display: inline-block;\n position: relative;\n /* The multi-line header and header with longer text need more padding to not hide arrow,\n we make header wider in `GhostTable` to make some space for arrow which is positioned absolutely in the main table */\n padding-inline-end: calc(var(--ht-icon-size, 16px) + 2px);\n}\n\n.handsontable .colHeader.columnSorting::after {\n content: "";\n display: block;\n width: 8px;\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n margin-top: 4px;\n font-size: 8px;\n text-align: right;\n}\n.handsontable .colHeader.columnSorting[class^=sort-]::after, .handsontable .colHeader.columnSorting[class*=" sort-"]::after {\n content: "+";\n}\n.handsontable .colHeader.columnSorting.sort-1::after {\n content: "1";\n}\n.handsontable .colHeader.columnSorting.sort-2::after {\n content: "2";\n}\n.handsontable .colHeader.columnSorting.sort-3::after {\n content: "3";\n}\n.handsontable .colHeader.columnSorting.sort-4::after {\n content: "4";\n}\n.handsontable .colHeader.columnSorting.sort-5::after {\n content: "5";\n}\n.handsontable .colHeader.columnSorting.sort-6::after {\n content: "6";\n}\n.handsontable .colHeader.columnSorting.sort-7::after {\n content: "7";\n}\n.handsontable .htRight .colHeader.columnSorting::after {\n left: 0;\n right: auto;\n text-align: left;\n}\n\n[dir=rtl] .handsontable .colHeader.columnSorting::after {\n left: 0;\n right: auto;\n text-align: left;\n}\n[dir=rtl] .handsontable .htLeft .colHeader.columnSorting::after {\n left: auto;\n right: 0;\n text-align: right;\n}\n\n.htGhostTable th div button.changeType + span.colHeader.columnSorting:not(.indicatorDisabled) {\n padding-right: var(--ht-gap-size);\n}\n\n.handsontable .htRowHeaders .ht_master.innerBorderInlineStart ~ .ht_clone_top_inline_start_corner th:nth-child(2), .handsontable .htRowHeaders .ht_master.innerBorderInlineStart ~ .ht_clone_inline_start td:first-of-type {\n border-left: 0 none;\n}\n.handsontable .ht_clone_top_inline_start_corner th.ht__active_highlight {\n box-shadow: none;\n}\n\n.handsontable .manualColumnResizer {\n position: absolute;\n top: 0;\n width: 10px;\n margin: 0;\n cursor: col-resize;\n background: none;\n opacity: 0;\n z-index: 210;\n}\n.handsontable .manualColumnResizer::before, .handsontable .manualColumnResizer::after {\n content: "";\n display: block;\n position: absolute;\n top: 50%;\n left: 1px;\n width: 2px;\n height: calc(100% - 12px);\n max-height: 16px;\n margin-top: 0.5px;\n background: var(--ht-resize-indicator-color);\n border-radius: 2px;\n transform: translateY(-50%);\n}\n.handsontable .manualColumnResizer::after {\n left: auto;\n right: 0;\n}\n.handsontable .manualColumnResizer:hover, .handsontable .manualColumnResizer.active {\n opacity: 1;\n}\n.handsontable .manualColumnResizerGuide {\n position: absolute;\n inset-inline-end: unset;\n top: 0;\n width: 0;\n margin-inline-start: 5px;\n margin-inline-end: unset;\n display: none;\n border-inline-end: 1px solid var(--ht-accent-color);\n border-inline-start: none;\n}\n.handsontable .manualColumnResizerGuide.active {\n display: block;\n z-index: 209;\n}\n\n.handsontable .manualRowResizer {\n position: absolute;\n left: 0;\n z-index: 210;\n height: 10px;\n margin: 0;\n cursor: row-resize;\n background: none;\n opacity: 0;\n}\n.handsontable .manualRowResizer::before, .handsontable .manualRowResizer::after {\n content: "";\n display: block;\n position: absolute;\n top: 1px;\n left: 50%;\n width: calc(100% - 12px);\n max-width: 16px;\n height: 2px;\n background: var(--ht-resize-indicator-color);\n border-radius: 2px;\n transform: translateX(-50%);\n}\n.handsontable .manualRowResizer::after {\n top: auto;\n bottom: 0;\n}\n.handsontable .manualRowResizer:hover, .handsontable .manualRowResizer.active {\n opacity: 1;\n}\n.handsontable .manualRowResizerGuide {\n position: absolute;\n left: 0;\n bottom: 0;\n height: 0;\n margin-top: 5px;\n display: none;\n border-bottom: 1px solid var(--ht-accent-color);\n border-top: none;\n}\n.handsontable .manualRowResizerGuide.active {\n display: block;\n z-index: 209;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight]:not([class*=fullySelectedMergedCell])::before {\n opacity: 0;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-multiple]::before {\n opacity: 0.14;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-0]:before {\n opacity: 0.14;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-1]:before {\n opacity: 0.21;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-2]:before {\n opacity: 0.28;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-3]:before {\n opacity: 0.35;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-4]:before {\n opacity: 0.42;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-5]:before {\n opacity: 0.49;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-6]:before {\n opacity: 0.56;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-7]:before {\n opacity: 0.63;\n}\n\n.handsontable .wtHider {\n position: relative;\n}\n.handsontable .ht__manualColumnMove.after-selection--columns thead th.ht__highlight, .handsontable.ht__manualColumnMove.after-selection--columns thead th.ht__highlight {\n cursor: move;\n cursor: -moz-grab;\n cursor: -webkit-grab;\n cursor: grab;\n}\n.handsontable .ht__manualColumnMove.on-moving--columns *,\n.handsontable .ht__manualColumnMove.on-moving--columns thead th.ht__highlight, .handsontable.ht__manualColumnMove.on-moving--columns *,\n.handsontable.ht__manualColumnMove.on-moving--columns thead th.ht__highlight {\n cursor: move;\n cursor: -moz-grabbing;\n cursor: -webkit-grabbing;\n cursor: grabbing;\n}\n.handsontable .ht__manualColumnMove.on-moving--columns .manualColumnResizer, .handsontable.ht__manualColumnMove.on-moving--columns .manualColumnResizer {\n display: none;\n}\n.handsontable .ht__manualColumnMove--guideline, .handsontable .ht__manualColumnMove--backlight, .handsontable.ht__manualColumnMove--guideline, .handsontable.ht__manualColumnMove--backlight {\n position: absolute;\n height: 100%;\n display: none;\n}\n.handsontable .ht__manualColumnMove--guideline, .handsontable.ht__manualColumnMove--guideline {\n width: 1px;\n top: 0;\n margin-inline-start: -0.5px;\n margin-inline-end: 0;\n z-index: 205;\n background: var(--ht-move-indicator-color, #1a42e8);\n}\n.handsontable .ht__manualColumnMove--backlight, .handsontable.ht__manualColumnMove--backlight {\n display: none;\n z-index: 205;\n pointer-events: none;\n background: color-mix(in srgb, var(--ht-move-backlight-color) var(--ht-move-backlight-opacity, 100%), transparent);\n}\n.handsontable .on-moving--columns.show-ui .ht__manualColumnMove--guideline,\n.handsontable .on-moving--columns .ht__manualColumnMove--backlight, .handsontable.on-moving--columns.show-ui .ht__manualColumnMove--guideline,\n.handsontable.on-moving--columns .ht__manualColumnMove--backlight {\n display: block;\n}\n\n.handsontable .wtHider {\n position: relative;\n}\n.handsontable .ht__manualRowMove.after-selection--rows tbody th.ht__highlight, .handsontable.ht__manualRowMove.after-selection--rows tbody th.ht__highlight {\n cursor: move;\n cursor: -moz-grab;\n cursor: -webkit-grab;\n cursor: grab;\n}\n.handsontable .ht__manualRowMove.on-moving--rows *,\n.handsontable .ht__manualRowMove.on-moving--rows tbody th.ht__highlight, .handsontable.ht__manualRowMove.on-moving--rows *,\n.handsontable.ht__manualRowMove.on-moving--rows tbody th.ht__highlight {\n cursor: move;\n cursor: -moz-grabbing;\n cursor: -webkit-grabbing;\n cursor: grabbing;\n}\n.handsontable .ht__manualRowMove.on-moving--rows .manualRowResizer, .handsontable.ht__manualRowMove.on-moving--rows .manualRowResizer {\n display: none;\n}\n.handsontable .ht__manualRowMove--guideline, .handsontable .ht__manualRowMove--backlight, .handsontable.ht__manualRowMove--guideline, .handsontable.ht__manualRowMove--backlight {\n position: absolute;\n width: 100%;\n display: none;\n}\n.handsontable .ht__manualRowMove--guideline, .handsontable.ht__manualRowMove--guideline {\n border-top: 1px solid var(--ht-move-indicator-color);\n left: 0;\n z-index: 205;\n}\n.handsontable .ht__manualRowMove--backlight, .handsontable.ht__manualRowMove--backlight {\n display: none;\n z-index: 205;\n pointer-events: none;\n background: color-mix(in srgb, var(--ht-move-backlight-color) var(--ht-move-backlight-opacity, 100%), transparent);\n}\n.handsontable .on-moving--rows.show-ui .ht__manualRowMove--guideline,\n.handsontable .on-moving--rows .ht__manualRowMove--backlight, .handsontable.on-moving--rows.show-ui .ht__manualRowMove--guideline,\n.handsontable.on-moving--rows .ht__manualRowMove--backlight {\n display: block;\n}\n\n.ht-dialog {\n scrollbar-width: auto;\n scrollbar-color: var(--ht-scrollbar-thumb-color) var(--ht-scrollbar-track-color);\n position: absolute;\n top: 0;\n left: 0;\n display: none;\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n letter-spacing: var(--ht-letter-spacing);\n width: 100%;\n height: 100%;\n z-index: 1060;\n opacity: 0;\n overflow-y: auto;\n border-radius: var(--ht-wrapper-border-radius);\n border: 1px solid var(--ht-border-color);\n box-sizing: border-box !important;\n}\n.ht-dialog[dir=rtl] {\n left: auto;\n right: 0;\n}\n.ht-dialog:focus {\n border: 1px solid var(--ht-accent-color);\n outline: none;\n}\n.ht-dialog:has(.htFocusCatcher:focus) {\n border: 1px solid var(--ht-accent-color);\n outline: none;\n}\n.ht-dialog * {\n box-sizing: border-box !important;\n}\n.ht-dialog--background-solid {\n background-color: var(--ht-dialog-solid-background-color);\n}\n.ht-dialog--background-semi-transparent {\n background-color: color-mix(in srgb, var(--ht-dialog-semi-transparent-background-color) var(--ht-dialog-semi-transparent-background-opacity, 100%), transparent);\n}\n.ht-dialog--animation {\n transition: opacity var(--ht-table-transition) ease-in-out;\n}\n.ht-dialog--show {\n opacity: 1;\n}\n.ht-dialog__content-wrapper {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n min-height: 100%;\n padding: calc(var(--ht-gap-size) * 4);\n border-radius: var(--ht-wrapper-border-radius);\n}\n.ht-dialog__content {\n position: relative;\n padding: var(--ht-dialog-content-padding-horizontal) var(--ht-dialog-content-padding-vertical);\n max-width: 480px;\n color: var(--ht-foreground-color);\n}\n.ht-dialog__content--background {\n 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, rgb(0, 0, 0)) var(--ht-shadow-opacity, 100%), transparent);\n border-radius: var(--ht-dialog-content-border-radius);\n background-color: var(--ht-dialog-content-background-color);\n}\n.ht-dialog--confirm .ht-dialog__content-wrapper {\n text-align: center;\n padding: calc(var(--ht-gap-size) * 2);\n}\n.ht-dialog--confirm .ht-dialog__content-wrapper-inner {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n max-width: 480px;\n padding: calc(var(--ht-gap-size) * 2);\n border-radius: var(--ht-wrapper-border-radius);\n}\n.ht-dialog--confirm .ht-dialog__content-wrapper-inner--background {\n 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, rgb(0, 0, 0)) var(--ht-shadow-opacity, 100%), transparent);\n border-radius: var(--ht-dialog-content-border-radius);\n background-color: var(--ht-dialog-content-background-color);\n}\n.ht-dialog--confirm .ht-dialog__content-wrapper-inner:focus {\n outline: none;\n box-shadow: 0 0 0 1px var(--ht-accent-color);\n}\n.ht-dialog--confirm .ht-dialog__content {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: var(--ht-gap-size);\n}\n.ht-dialog--confirm .ht-dialog__content:has(.ht-dialog__buttons) {\n gap: calc(var(--ht-gap-size) * 2);\n}\n.ht-dialog--confirm .ht-dialog__title {\n margin: 0;\n font-size: var(--ht-font-size);\n font-weight: var(--ht-font-weight);\n line-height: var(--ht-line-height);\n}\n.ht-dialog--confirm .ht-dialog__description {\n margin: 0;\n color: var(--ht-foreground-secondary-color);\n font-size: var(--ht-font-size-small);\n line-height: var(--ht-line-height-small);\n font-weight: var(--ht-font-weight);\n}\n.ht-dialog--confirm .ht-dialog__buttons {\n display: flex;\n justify-content: center;\n flex-direction: row;\n flex-wrap: wrap;\n gap: calc(var(--ht-gap-size) * 2);\n}\n\n.handsontable.ht-pagination {\n color: var(--ht-pagination-bar-foreground-color);\n background: var(--ht-pagination-bar-background-color);\n border: 1px solid var(--ht-wrapper-border-color);\n border-top-color: transparent;\n border-radius: 0 0 var(--ht-wrapper-border-radius) var(--ht-wrapper-border-radius);\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n box-sizing: border-box;\n overflow-x: auto;\n}\n.handsontable.ht-pagination--bordered {\n border-top-color: var(--ht-wrapper-border-color);\n}\n.handsontable.ht-pagination .ht-pagination__inner {\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-wrap: wrap;\n gap: calc(var(--ht-gap-size) * 4);\n border-radius: 0 0 var(--ht-wrapper-border-radius) var(--ht-wrapper-border-radius);\n padding-inline: var(--ht-pagination-bar-horizontal-padding);\n padding-block: var(--ht-pagination-bar-vertical-padding);\n min-width: 230px;\n}\n.handsontable.ht-pagination .ht-page-size-section {\n display: flex;\n align-items: center;\n gap: calc(var(--ht-gap-size) * 2);\n}\n.handsontable.ht-pagination .ht-page-size-section__label {\n white-space: nowrap;\n}\n.handsontable.ht-pagination .ht-page-size-section__select-wrapper {\n position: relative;\n border-radius: var(--ht-input-border-radius);\n}\n.handsontable.ht-pagination .ht-page-size-section__select-wrapper select {\n padding-inline-start: var(--ht-gap-size);\n padding-inline-end: calc(var(--ht-gap-size) + var(--ht-icon-size));\n padding-top: var(--ht-gap-size);\n padding-bottom: var(--ht-gap-size);\n border-radius: var(--ht-input-border-radius);\n color: var(--ht-input-foreground-color);\n background-color: var(--ht-input-background-color);\n border: 1px solid var(--ht-input-border-color);\n line-height: calc(var(--ht-line-height) - 4px);\n -webkit-appearance: none;\n font-size: inherit;\n cursor: pointer;\n}\n.handsontable.ht-pagination .ht-page-size-section__select-wrapper select:disabled {\n opacity: 0.4;\n cursor: default;\n color: var(--ht-input-disabled-foreground-color);\n background-color: var(--ht-input-disabled-background-color);\n border-color: var(--ht-input-disabled-border-color);\n}\n.handsontable.ht-pagination .ht-page-size-section__select-wrapper select:hover:not(:disabled) {\n color: var(--ht-input-hover-foreground-color);\n background-color: var(--ht-input-hover-background-color);\n border-color: var(--ht-input-hover-border-color);\n}\n.handsontable.ht-pagination .ht-page-size-section__select-wrapper select:focus {\n color: var(--ht-input-focus-foreground-color);\n background-color: var(--ht-input-focus-background-color);\n border-color: var(--ht-input-focus-border-color);\n outline: none;\n}\n.handsontable.ht-pagination .ht-page-size-section__select-wrapper::after {\n content: "";\n display: block;\n position: absolute;\n inset-inline-end: var(--ht-gap-size);\n inset-block-end: 50%;\n transform: translateY(50%);\n background-color: var(--ht-foreground-color);\n pointer-events: none;\n}\n.handsontable.ht-pagination .ht-page-counter-section {\n margin-inline-end: auto;\n}\n.handsontable.ht-pagination .ht-page-navigation-section {\n display: flex;\n align-items: center;\n gap: 1px;\n}\n.handsontable.ht-pagination .ht-page-navigation-section__button {\n font-size: inherit;\n border: 1px solid var(--ht-pagination-bar-background-color);\n color: var(--ht-secondary-button-foreground-color);\n background-color: var(--ht-pagination-bar-background-color);\n border-radius: var(--ht-icon-button-large-border-radius);\n padding: var(--ht-icon-button-large-padding);\n cursor: pointer;\n}\n.handsontable.ht-pagination .ht-page-navigation-section__button::before {\n content: "";\n display: block;\n}\n.handsontable.ht-pagination .ht-page-navigation-section__button--disabled {\n cursor: default;\n pointer-events: none;\n color: var(--ht-secondary-button-disabled-foreground-color);\n}\n.handsontable.ht-pagination .ht-page-navigation-section__button:hover:not(:disabled) {\n background-color: var(--ht-secondary-button-hover-background-color);\n}\n.handsontable.ht-pagination .ht-page-navigation-section__button:focus {\n outline: none;\n border: 1px solid var(--ht-accent-color);\n}\n.handsontable.ht-pagination .ht-page-navigation-section__label {\n white-space: nowrap;\n min-width: 100px;\n text-align: center;\n}\n.handsontable.ht-wrapper.htPagination {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n}\n.handsontable.ht-wrapper.htPagination .htCore {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n}\n.handsontable.ht-wrapper.htPagination .htCore thead tr:last-child th:first-child,\n.handsontable.ht-wrapper.htPagination .htCore tbody tr:last-child td:first-child,\n.handsontable.ht-wrapper.htPagination .htCore tbody tr:last-child th:first-child {\n border-end-start-radius: 0 !important;\n}\n.handsontable.ht-wrapper.htPagination .htCore thead tr:last-child th:last-child,\n.handsontable.ht-wrapper.htPagination .htCore tbody tr:last-child td:last-child,\n.handsontable.ht-wrapper.htPagination .htCore tbody tr:last-child th:last-child {\n border-end-end-radius: 0 !important;\n}\n\n.ht-loading__icon-svg {\n display: block;\n width: var(--ht-icon-size);\n height: var(--ht-icon-size);\n color: var(--ht-accent-color);\n animation: ht-loading-spin 1s linear infinite;\n transform-origin: 50% 50%;\n}\n.ht-loading__content {\n display: flex;\n align-items: center;\n gap: calc(var(--ht-gap-size) * 2);\n}\n.ht-loading__title {\n margin: 0;\n font-size: var(--ht-font-size);\n font-weight: var(--ht-font-weight);\n line-height: var(--ht-line-height);\n}\n.ht-loading__description {\n margin: 0;\n color: var(--ht-foreground-secondary-color);\n font-size: var(--ht-font-size-small);\n line-height: var(--ht-line-height-small);\n font-weight: var(--ht-font-weight);\n}\n\n@keyframes ht-loading-spin {\n to {\n transform: rotate(360deg);\n }\n}\n.ht-empty-data-state {\n scrollbar-width: auto;\n scrollbar-color: var(--ht-scrollbar-thumb-color) var(--ht-scrollbar-track-color);\n display: none;\n position: absolute;\n width: 100%;\n left: 0;\n z-index: 999;\n overflow-y: auto;\n border: 1px solid var(--ht-border-color);\n border-radius: var(--ht-wrapper-border-radius);\n box-sizing: border-box;\n background-color: var(--ht-background-color);\n}\n.ht-empty-data-state * {\n box-sizing: border-box !important;\n}\n.ht-empty-data-state__content-wrapper {\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n width: 100%;\n min-height: 100%;\n padding: calc(var(--ht-gap-size) * 2);\n border-radius: var(--ht-wrapper-border-radius);\n}\n.ht-empty-data-state__content-wrapper-inner {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n max-width: 480px;\n padding: calc(var(--ht-gap-size) * 2);\n border-radius: var(--ht-wrapper-border-radius);\n}\n.ht-empty-data-state__content-wrapper-inner:focus {\n outline: none;\n box-shadow: 0 0 0 1px var(--ht-accent-color);\n}\n.ht-empty-data-state__content {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: var(--ht-gap-size);\n}\n.ht-empty-data-state__title {\n margin: 0;\n font-size: var(--ht-font-size);\n font-weight: var(--ht-font-weight);\n line-height: var(--ht-line-height);\n}\n.ht-empty-data-state__description {\n margin: 0;\n color: var(--ht-foreground-secondary-color);\n font-size: var(--ht-font-size-small);\n line-height: var(--ht-line-height-small);\n font-weight: var(--ht-font-weight);\n}\n.ht-empty-data-state__buttons {\n display: flex;\n justify-content: center;\n flex-direction: row;\n flex-wrap: wrap;\n gap: calc(var(--ht-gap-size) * 2);\n}\n.ht-empty-data-state__buttons--has-buttons {\n margin-top: calc(var(--ht-gap-size) * 2);\n}\n.ht-empty-data-state--disable-top-border {\n border-start-start-radius: 0;\n border-start-end-radius: 0;\n border-top-width: 0;\n}\n.ht-empty-data-state--disable-inline-border {\n border-start-start-radius: 0;\n border-end-start-radius: 0;\n border-inline-start-width: 0;\n}\n.ht-empty-data-state--disable-bottom-border, .ht-empty-data-state:has(~ .ht-pagination) {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n border-bottom-width: 0;\n}\n',Wg(qg,this).head.appendChild(e)}function nf(){const t=this.getCSSVariableValue("line-height"),e=this.getCSSVariableValue("cell-vertical-padding"),n=Math.ceil(parseFloat(this.getStyleForTD("border-bottom-width")));return null===t||null===e||isNaN(n)?null:t+2*e+n}function of(){zg(Kg,this,getComputedStyle(Wg(Gg,this)));const t=jg(Qg,this,rf).call(this,["box-sizing","border-bottom-width"]);Wg(Zg,this).td={...Wg(Zg,this).td,"box-sizing":t["box-sizing"],"border-bottom-width":t["border-bottom-width"]}}function rf(t){const e=Wg(qg,this),n=Wg(Gg,this),o=e.createElement("table"),i=e.createElement("tbody"),r=e.createElement("tr"),s=e.createElement("tr"),a=e.createElement("td");s.appendChild(a),i.appendChild(r),i.appendChild(s),o.appendChild(i),n.appendChild(o);const l=getComputedStyle(a),h={};return t.forEach(t=>{h[t]=l.getPropertyValue(t)}),n.removeChild(o),h}function sf(t){const e=Math.ceil(parseFloat(jg(Qg,this,af).call(this,t)));return Number.isNaN(e)?null:e}function af(t){var e;const n=null===(e=Wg(Kg,this))||void 0===e?void 0:e.getPropertyValue(t);return""===n?null:n}function lf(){zg(Zg,this,{}),zg(Xg,this,{})}let hf=null,cf=0;var df={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"},uf={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"}};const gf=new Set(["name","sizing","density","icons","colors","tokens","colorScheme"]),ff=new Set(["light","dark","auto"]),pf=new Set(["default","compact","comfortable"]),mf=new Set(["arrowRight","arrowRightWithBar","arrowLeft","arrowLeftWithBar","arrowDown","menu","selectArrow","arrowNarrowUp","arrowNarrowDown","check","checkbox","caretHiddenLeft","caretHiddenRight","caretHiddenUp","caretHiddenDown","collapseOff","collapseOn","radio","chipClose","search"]),bf=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 wf(t){if(!ff.has(t)){wt(`[ThemeBuilder] Invalid color scheme: "${t}". Must be one of: ${[...ff].join(", ")}.`)}return t}function vf(t){if(!pf.has(t)){wt(`[ThemeBuilder] Invalid density: "${t}". Must be one of: ${[...pf].join(", ")}.`)}return t}function yf(t,e){Et(t)?(t.type&&t.sizes||wt(`[ThemeBuilder] ${e} must be a string or an object with a 'type' and 'sizes' property.`),vf(t.type),function(t,e){Et(t)||wt(`[ThemeBuilder] ${e}.sizes must be an object.`),Object.keys(t).forEach(t=>{pf.has(t)||Qt(`[ThemeBuilder] Unknown density size key: "${t}" in ${e}.sizes. This may be a custom density size or a typo.`)})}(t.sizes,`${e}.sizes`)):"string"==typeof t&&vf(t)}function Cf(t,e){Object.entries(t).forEach(t=>{let[n,o]=t;const i=`${e}.${n}`;"string"!=typeof o&&(Et(o)?Cf(o,i):wt(`[ThemeBuilder] ${i} must be a string or an object.`))})}function Sf(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const{type:i="key",warnMissing:r=!1}=o;if(!t)return void(r&&Qt(`[ThemeBuilder] No ${i}s provided in ${n}. All ${i}s are missing.`));if(Object.keys(t).forEach(t=>{e.has(t)||Qt(`[ThemeBuilder] Unknown ${i} key: "${t}" in ${n}. This may be a custom ${i} or a typo.`)}),r){const o=[];e.forEach(e=>{e in t||o.push(e)}),o.length>0&&Qt(`[ThemeBuilder] Missing ${i}(s) in ${n}: ${o.join(", ")}`)}}function Rf(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{requiredFields:o=[]}=n;"object"==typeof t&&null!==t||wt(`[ThemeBuilder] ${e} must be an object.`);const{name:i,sizing:r,density:s,icons:a,colors:l,tokens:h,colorScheme:c}=t;Sf(t,gf,e,{type:"param"}),o.forEach(n=>{void 0===t[n]&&wt(`[ThemeBuilder] ${e}.${n} is required.`)}),void 0!==i&&function(t,e){"string"==typeof t&&""!==t.trim()||wt(`[ThemeBuilder] ${e}.name must be a non-empty string.`)}(i,e),void 0!==r&&(Et(r)||wt(`[ThemeBuilder] ${e}.sizing must be an object.`)),void 0!==s&&(Et(s)||"string"==typeof s||wt(`[ThemeBuilder] ${e}.density must be a string or an object.`),yf(s,`${e}.density`)),void 0!==a&&(Et(a)||wt(`[ThemeBuilder] ${e}.icons must be an object.`),Sf(a,mf,`${e}.icons`,{type:"icon",warnMissing:o.includes("icons")})),void 0!==l&&(Et(l)||wt(`[ThemeBuilder] ${e}.colors must be an object.`),Cf(l,`${e}.colors`)),void 0!==h&&(Et(h)||wt(`[ThemeBuilder] ${e}.tokens must be an object.`),Sf(h,bf,`${e}.tokens`,{type:"token",warnMissing:o.includes("tokens")})),void 0!==c&&wf(c)}function kf(t,e,n){xf(t,e),e.set(t,n)}function xf(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ef(t,e){return t.get(Tf(t,e))}function Mf(t,e,n){return t.set(Tf(t,e),n),n}function Tf(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}const _f=["sizing","icons","colors","tokens"],Hf=["name","icons","colors","tokens"];var If=new WeakMap,Af=new WeakMap,Pf=new WeakMap,Of=new WeakMap,Nf=new WeakMap,Df=new WeakSet;class Lf{constructor(t){var e,n;xf(e=this,n=Df),n.add(e),kf(this,If,void 0),kf(this,Af,void 0),kf(this,Pf,new Set),kf(this,Of,"auto"),kf(this,Nf,"default"),Rf(t,"themeConfig",{requiredFields:Hf}),Mf(If,this,{name:void 0,sizing:df,density:{type:Ef(Nf,this),sizes:uf},icons:{},colors:{},tokens:{},colorScheme:Ef(Of,this)}),Tf(Df,this,Ff).call(this,t),Mf(If,this,Ef(Af,this))}subscribe(t){return"function"!=typeof t&&wt("[ThemeBuilder] listener must be a function."),Ef(Pf,this).add(t),()=>Ef(Pf,this).delete(t)}params(t){return Rf(t,"params"),Tf(Df,this,Ff).call(this,t),Tf(Df,this,Vf).call(this),this}setColorScheme(t){return Mf(Of,this,wf(t)),Ef(Af,this).colorScheme=Ef(Of,this),Ef(If,this).colorScheme=Ef(Of,this),Tf(Df,this,Vf).call(this),this}setDensityType(t){return Mf(Nf,this,vf(t)),Ef(Af,this).density.type=Ef(Nf,this),Ef(If,this).density.type=Ef(Nf,this),Tf(Df,this,Vf).call(this),this}getThemeConfig(){return Ef(Af,this)}}function Vf(){const t=this.getThemeConfig();Ef(Pf,this).forEach(e=>e(t))}function Bf(t,e){var n;if(Et(e))t.density=Nt(t.density,e),Mf(Nf,this,e.type),null!==(n=Ef(If,this))&&void 0!==n&&n.density&&(Ef(If,this).density.type=e.type);else if("string"==typeof e){var o;t.density.type=e,Mf(Nf,this,e),null!==(o=Ef(If,this))&&void 0!==o&&o.density&&(Ef(If,this).density.type=e)}}function Ff(t){const e=St(Ef(If,this));var n;(void 0!==t.name&&(void 0!==Ef(If,this).name?Qt('[ThemeBuilder] The "name" property can only be set during `registerTheme()` and cannot be updated via `params()`.'):e.name=t.name),_f.forEach(n=>{void 0!==t[n]&&Et(t[n])&&(e[n]=Nt(e[n],t[n]))}),void 0!==t.density&&Tf(Df,this,Bf).call(this,e,t.density),void 0!==t.colorScheme)&&(e.colorScheme=t.colorScheme,Mf(Of,this,t.colorScheme),null!==(n=Ef(If,this))&&void 0!==n&&n.colorScheme&&(Ef(If,this).colorScheme=t.colorScheme));Mf(Af,this,e)}const Wf=(t,e)=>`width: var(--ht-icon-size);\n height: var(--ht-icon-size);\n -webkit-mask-size: contain;\n -webkit-mask-image: url("${t[e]}");\n background-color: currentColor;`,zf="--ht-",jf=["font-family"],$f=["tokens.","colors.","sizing.","density."];function Uf(t,e){if(function(t){return"string"==typeof t&&$f.some(e=>t.includes(e))}(t))return(n=t).includes("tokens.")?`var(${zf}${Z(n.split(".").slice(1).join("-"))})`:`var(${zf}${Z(n.split(".").join("-"))})`;var n;if(Array.isArray(t)){if(t.length>=2){const[n,o]=t;return"string"==typeof n&&"string"==typeof o?`light-dark(${Uf(n,e)}, ${Uf(o,e)})`:"string"==typeof n?Uf(n,e):"string"==typeof o?Uf(o,e):""}return Uf(t[0],e)}return e&&jf.includes(e)?String(t):Z(t)}function Yf(t,e,n){return`${function(t,e){return`${zf}${t?`${t}-`:""}${Z(e)}`}(t,e)}: ${Uf(n,e)};`}function Gf(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="";return Object.entries(t).forEach(t=>{let[i,r]=t;const s=Z(i),a=n?`${n}-${s}`:s;Et(r)?o+=Gf(r,e,a):o+=`${Yf(e,a,r)}\n`}),o}function Kf(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}function qf(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xf(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var Zf=new WeakSet;class Jf{constructor(t){let{hot:e,themeObject:n}=t;Kf(this,Zf),qf(this,"hot",void 0),qf(this,"themeStyles",void 0),qf(this,"themeClassName",void 0),qf(this,"themeConfig",void 0),this.hot=e,this.update(n)}getClassName(){return this.themeClassName}update(t){this.hot&&(void 0===t.getThemeConfig&&wt('[ThemeManager] The "theme" option must be an instance of ThemeBuilder.'),this.themeConfig=t.getThemeConfig(),this.themeClassName=`ht-theme-${this.themeConfig.name}`,"function"==typeof t.subscribe&&t.subscribe(t=>{var e;null!==(e=this.hot)&&void 0!==e&&e.stylesHandler&&(this.themeConfig=t,Xf(Zf,this,Qf).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(){Xf(Zf,this,Qf).call(this)}unmount(){this.themeStyles&&this.themeStyles.remove()}destroy(){this.unmount(),this.hot.themeManager=null}}function Qf(){if(!(this.themeConfig&&this.hot&&this.hot.rootDocument&&this.hot.rootWrapperElement))return;const t="auto"===this.themeConfig.colorScheme?"light dark":this.themeConfig.colorScheme;var e;this.themeStyles?this.themeStyles.textContent="":this.themeStyles=this.hot.rootDocument.createElement("style"),this.themeStyles.textContent=`:where(.${this.themeClassName}) {\n`,this.themeStyles.textContent+=`color-scheme: ${t};\n`,this.themeConfig.sizing&&(this.themeStyles.textContent+=Gf(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+=Gf(this.themeConfig.density.sizes[this.themeConfig.density.type],"density")),this.themeConfig.colors&&(this.themeStyles.textContent+=Gf(this.themeConfig.colors,"colors")),this.themeConfig.tokens&&(this.themeStyles.textContent+=Gf(this.themeConfig.tokens)),this.themeConfig.icons&&(this.themeStyles.textContent+=(e=this.themeConfig.icons,`.htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper::after,\n.htContextMenu table tbody tr td.htSubmenu .htItemWrapper::after,\n.htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper::after,\n.pika-single .pika-next {\n ${Wf(e,"arrowRight")}\n}\n\n.pika-single .pika-prev {\n ${Wf(e,"arrowLeft")}\n}\n\n.ht-page-size-section__select-wrapper::after {\n ${Wf(e,"arrowDown")}\n}\n\n.changeType::before {\n ${Wf(e,"menu")}\n}\n\n.htUISelectCaption::after,\n.htAutocompleteArrow::after {\n ${Wf(e,"selectArrow")}\n}\n\n.columnSorting.sortAction.ascending::before {\n ${Wf(e,"arrowNarrowUp")}\n}\n\n.columnSorting.sortAction.descending::before {\n ${Wf(e,"arrowNarrowDown")}\n}\n\n.ht-page-navigation-section .ht-page-first::before {\n ${Wf(e,"arrowLeftWithBar")}\n}\n\n[dir="rtl"] .ht-page-navigation-section .ht-page-first::before {\n ${Wf(e,"arrowRightWithBar")}\n}\n\n.ht-page-navigation-section .ht-page-prev::before {\n ${Wf(e,"arrowLeft")}\n}\n\n[dir="rtl"] .ht-page-navigation-section .ht-page-prev::before {\n ${Wf(e,"arrowRight")}\n}\n\n.ht-page-navigation-section .ht-page-next::before {\n ${Wf(e,"arrowRight")}\n}\n\n[dir="rtl"] .ht-page-navigation-section .ht-page-next::before {\n ${Wf(e,"arrowLeft")}\n}\n\n.ht-page-navigation-section .ht-page-last::before {\n ${Wf(e,"arrowRightWithBar")}\n}\n\n[dir="rtl"] .ht-page-navigation-section .ht-page-last::before {\n ${Wf(e,"arrowLeftWithBar")}\n}\n\n.htDropdownMenu table tbody tr td .htItemWrapper span.selected::after,\n.htContextMenu table tbody tr td .htItemWrapper span.selected::after,\n.htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected::after {\n ${Wf(e,"check")}\n}\n\n.htCheckboxRendererInput {\n appearance: none;\n}\n\n.htCheckboxRendererInput::after {\n ${Wf(e,"checkbox")}\n}\n\nth.beforeHiddenColumn::after {\n ${Wf(e,"caretHiddenLeft")}\n}\n\nth.afterHiddenColumn::before {\n ${Wf(e,"caretHiddenRight")}\n}\n\nth.beforeHiddenRow::after {\n ${Wf(e,"caretHiddenUp")}\n}\n\nth.afterHiddenRow::before {\n ${Wf(e,"caretHiddenDown")}\n}\n\n.collapsibleIndicator::before,\n.ht_nestingButton::before {\n ${Wf(e,"collapseOff")}\n}\n\n.collapsibleIndicator.collapsed::before,\n.ht_nestingButton.ht_nestingExpand::before {\n ${Wf(e,"collapseOn")}\n}\n\n.htUIRadio > input[type="radio"]::after {\n ${Wf(e,"radio")}\n}\n\n.ht-multi-select-chip-remove::before {\n ${Wf(e,"chipClose")}\n}\n\n.ht-multi-select-editor-search-icon {\n ${Wf(e,"search")}\n}\n\n.ht-multi-select-editor-item-selected input::after {\n ${Wf(e,"checkbox")}\n}`)),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)}const tp={name:"main",density:"default",icons:{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"},colors:{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"},tokens:{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.100","colors.palette.700"],iconButtonHoverBackgroundColor:["colors.palette.100","colors.palette.700"],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"]}},{hasItem:ep,getItem:np,getNames:op,getValues:ip,register:rp}=Hn("themes");function sp(t){return ep(t)}function ap(t){if(sp(t))return np(t);Qt(`Theme "${t}" is not registered. Please ensure it is registered before using it.`)}function lp(t,e){const{themeName:n,themeConfigObject:o}=function(t,e){let n=t,o=St(e);return"string"==typeof t&&Et(e)?o.name=t:Et(t)&&(o=St(t),n=o.name),{themeName:n,themeConfigObject:o}}(t,e),i=new Lf(o);return sp(n)?(Qt(`Theme "${n}" is already registered. Registration skipped.`),ap(n)):(rp(n,i),i)}let hp=null;const cp=new Map;function dp(t,e){var n,o,i=this;let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=this;const a=new zn(s);let l,h,c,d,u,g,f=!0;const p={...e.initialState,...e};var m;ga(r)&&(m=this,da.set(m,!0)),this.rootContainer=t,this.rootWrapperElement=void 0,this.rootGridElement=void 0,this.rootPortalElement=void 0,this.rootElement=fa(this)?t.ownerDocument.createElement("div"):t,this.rootDocument=t.ownerDocument,this.rootWindow=this.rootDocument.defaultView,fa(this)&&(this.rootWrapperElement=this.rootDocument.createElement("div"),this.rootGridElement=this.rootDocument.createElement("div"),this.rootPortalElement=this.rootDocument.createElement("div"),ue(this.rootElement,["ht-wrapper","handsontable"]),ue(this.rootWrapperElement,"ht-root-wrapper"),ue(this.rootGridElement,"ht-grid"),this.rootGridElement.appendChild(this.rootElement),this.rootWrapperElement.appendChild(this.rootGridElement),this.rootContainer.appendChild(this.rootWrapperElement),ue(this.rootPortalElement,"ht-portal"),this.rootDocument.body.appendChild(this.rootPortalElement)),this.isDestroyed=!1,this.renderSuspendedCounter=0,this.executionSuspendedCounter=0;const b=null!==(n=null==p?void 0:p.layoutDirection)&&void 0!==n?n:"inherit",w=["rtl","ltr"].includes(b)?b:this.rootWindow.getComputedStyle(this.rootElement).direction;this.rootElement.setAttribute("dir",w),null===(o=this.rootWrapperElement)||void 0===o||o.setAttribute("dir",w),this.isRtl=function(){return"rtl"===w},this.isLtr=function(){return!s.isRtl()},this.getDirectionFactor=function(){return s.isLtr()?1:-1},this.stylesHandler=new tf({hot:s,rootElement:s.rootElement,rootDocument:s.rootDocument,onThemeChange:t=>{var e;fa(this)&&(ge(this.rootWrapperElement,/ht-theme-.*/g),ge(this.rootPortalElement,/ht-theme-.*/g),t&&(ue(this.rootWrapperElement,t),ue(this.rootPortalElement,t),getComputedStyle(this.rootWrapperElement).getPropertyValue("--ht-line-height")||Qt(`The "${t}" theme is enabled, but its stylesheets are missing or not imported correctly. Import the correct CSS files in order to use that theme.`)),null===(e=this.view)||void 0===e||null===(e=e._wt)||void 0===e||null===(e=e.selectionManager)||void 0===e||e.refreshAllBorderHandleStyles())},injectCoreCss:"boolean"!=typeof(null==e?void 0:e.injectCoreCss)||e.injectCoreCss}),this.themeManager=null,p.language=function(t){let e=yl(t);return Ic(e)||(e=kc,Cl(t)),e}(p.language);const v=Object.fromEntries(Object.entries(p).filter(t=>{let[e]=t;return!(Mn.getSingleton().isRegistered(e)||Mn.getSingleton().isDeprecated(e))})),y=new gu(s,v,[wu,xu]),R=y.getTableMeta(),T=y.getGlobalMeta(),_=wo();this.container=this.rootDocument.createElement("div"),this.rootElement.insertBefore(this.container,this.rootElement.firstChild),this.guid=`ht_${U()}`,cp.set(this.guid,this),this.columnIndexMapper=new vl,this.rowIndexMapper=new vl,this.columnIndexMapper.addLocalHook("indexesSequenceChange",t=>{s.runHooks("afterColumnSequenceChange",t)}),this.rowIndexMapper.addLocalHook("indexesSequenceChange",t=>{s.runHooks("afterRowSequenceChange",t)}),a.addEventListener(this.rootDocument.documentElement,"compositionstart",t=>{s.runHooks("beforeCompositionStart",t)}),h=new Ud(s);const H=Hn(this.guid);H.register("cellRangeMapper",new Ou({rowIndexMapper:this.rowIndexMapper,columnIndexMapper:this.columnIndexMapper})),this.rootElement.id&&"ht_"!==this.rootElement.id.substring(0,3)||(this.rootElement.id=this.guid);let O=new Nd(R,{rowIndexMapper:s.rowIndexMapper,columnIndexMapper:s.columnIndexMapper,countCols:()=>s.countCols(),countRows:()=>s.countRows(),propToCol:t=>l.propToCol(t),isEditorOpened:()=>!!s.getActiveEditor()&&s.getActiveEditor().isOpened(),countRenderableColumns:()=>this.view.countRenderableColumns(),countRenderableRows:()=>this.view.countRenderableRows(),countRowHeaders:()=>this.countRowHeaders(),countColHeaders:()=>this.countColHeaders(),countRenderableRowsInRange:function(){return i.view.countRenderableRowsInRange(...arguments)},countRenderableColumnsInRange:function(){return i.view.countRenderableColumnsInRange(...arguments)},getShortcutManager:()=>s.getShortcutManager(),createCellCoords:(t,e)=>s._createCellCoords(t,e),createCellRange:(t,e,n)=>s._createCellRange(t,e,n),visualToRenderableCoords:t=>{const{row:e,col:n}=t;return s._createCellCoords(e>=0?s.rowIndexMapper.getRenderableFromVisualIndex(e):e,n>=0?s.columnIndexMapper.getRenderableFromVisualIndex(n):n)},renderableToVisualCoords:t=>{const{row:e,col:n}=t;return s._createCellCoords(e>=0?s.rowIndexMapper.getVisualFromRenderableIndex(e):e,n>=0?s.columnIndexMapper.getVisualFromRenderableIndex(n):n)},findFirstNonHiddenRenderableRow:(t,e)=>{const n=e>t?1:-1,o=Math.min(t,e),i=Math.max(t,e),r=s.rowIndexMapper.getNearestNotHiddenIndex(t,n);return null===r||1===n&&r>i||-1===n&&r<o?null:r>=0?s.rowIndexMapper.getRenderableFromVisualIndex(r):r},findFirstNonHiddenRenderableColumn:(t,e)=>{const n=e>t?1:-1,o=Math.min(t,e),i=Math.max(t,e),r=s.columnIndexMapper.getNearestNotHiddenIndex(t,n);return null===r||1===n&&r>i||-1===n&&r<o?null:r>=0?s.columnIndexMapper.getRenderableFromVisualIndex(r):r},isDisabledCellSelection:(t,e)=>t<0||e<0?s.getSettings().disableVisualSelection:s.getCellMeta(t,e).disableVisualSelection});this.selection=O;const N=t=>{let{hiddenIndexesChanged:e}=t;this.forceFullRender=!0,e&&this.selection.commit()};function D(t,e){const n="className"===t?s.rootElement:s.table;if(f)ue(n,e);else{let o=[],i=[];T[t]&&(o=Array.isArray(T[t])?T[t]:M(T[t])),e&&(i=Array.isArray(e)?e:M(e));const r=E(o,i),s=E(i,o);r.length&&ge(n,r),s.length&&ue(n,s)}T[t]=e}function L(t){let e;void 0===t?(e=sp("main")?ap("main"):lp(tp),e=ap("main")):e="function"!=typeof t.getThemeConfig?lp(t):t,s.themeManager=function(t){let{hot:e,themeObject:n}=t;return new Jf({hot:e,themeObject:n})}({hot:s,themeObject:e})}function V(){let t=!1;return{validatorsInQueue:0,valid:!0,addValidatorToQueue(){this.validatorsInQueue+=1,t=!1},removeValidatorFormQueue(){this.validatorsInQueue=this.validatorsInQueue-1<0?0:this.validatorsInQueue-1,this.checkIfQueueIsEmpty()},onQueueEmpty(){},checkIfQueueIsEmpty(){0===this.validatorsInQueue&&!1===t&&(t=!0,this.onQueueEmpty(this.valid))}}}function B(t,e,n){if(!t.length)return void n();const o=s.getActiveEditor(),i=new V;let r=!0;i.onQueueEmpty=()=>{o&&r&&o._closeAfterDataChange&&o.cancelChanges(),n()};for(let n=t.length-1;n>=0;n--){const[o,a,,h]=t[n],c=l.propToCol(a);let d;d=Number.isInteger(c)?s.getCellMeta(o,c):{...Object.getPrototypeOf(R),...R},s.getCellValidator(d)&&(i.addValidatorToQueue(),s.validateCell(h,d,function(e,n){return function(o){"boolean"!=typeof o&&wt("Validation error: result is not boolean"),!1===o&&!1===n.allowInvalid&&(r=!1,t.splice(e,1),n.valid=!0),i.removeValidatorFormQueue()}}(n,d),e))}i.checkIfQueueIsEmpty()}function F(t,e){for(let e=t.length-1;e>=0;e--){let n=!1;if(null!==t[e]){if(null!==t[e][2]&&void 0!==t[e][2]||null!==t[e][3]&&void 0!==t[e][3]){if(R.allowInsertRow)for(;t[e][0]>s.countRows()-1;){const{delta:t}=l.createRow(void 0,void 0,{source:"auto"});if(0===t){n=!0;break}}if("array"===s.dataType&&(!R.columns||0===R.columns.length)&&R.allowInsertColumn)for(;l.propToCol(t[e][1])>s.countCols()-1;){const{delta:t}=l.createCol(void 0,void 0,{source:"auto"});if(0===t){n=!0;break}}n||l.set(t[e][0],t[e][1],t[e][3])}}else t.splice(e,1)}const n=t.length>0,o=d.getActiveEditor(),i=null==o?void 0:o._closeAfterDataChange;n?(c.adjustRowsAndCols(),s.runHooks("beforeChangeRender",t,e),null!=o&&o.isOpened()&&i&&d.closeEditor(),s.view.adjustElementsSize(),s.render(),(null!=o&&o.isOpened()&&i||null==o||!o.isOpened())&&d.prepareEditor(),s.runHooks("afterChange",t,e||"edit"),o&&I(o.refreshValue)&&o.refreshValue()):s.render()}function W(t,e,n){return Array.isArray(t)?t:[[t,e,n]]}function z(t,e){const n=s.runHooks("beforeChange",t,e||"edit"),o=t.filter(t=>null!==t);var i;if(!1===n||0===o.length)return null===(i=s.getActiveEditor())||void 0===i||i.cancelChanges(),[];for(let t=o.length-1;t>=0;t--){const[e,n,,i]=o[t],r=l.propToCol(n);let a;a=Number.isInteger(r)?s.getCellMeta(e,r):{...Object.getPrototypeOf(R),...R},o[t][3]=Fd(i,a)}return o}this.columnIndexMapper.addLocalHook("cacheUpdated",t=>{N(t),this.runHooks("afterColumnSequenceCacheUpdate",t)}),this.rowIndexMapper.addLocalHook("cacheUpdated",t=>{N(t),this.runHooks("afterRowSequenceCacheUpdate",t)}),this.selection.addLocalHook("afterSetRangeEnd",(t,e)=>{const n=At(!1),o=this.selection.getSelectedRange(),{from:i,to:r}=o.current(),a=o.size()-1;this.runHooks("afterSelection",i.row,i.col,r.row,r.col,n,a),this.runHooks("afterSelectionByProp",i.row,s.colToProp(i.col),r.row,s.colToProp(r.col),n,a);const l=O.getSelectionSource();!e||["loadData","updateData"].includes(l)||n.isTouched()&&(!n.isTouched()||n.value)||g.scrollTo(t);const h=O.isSelectedByRowHeader(),c=O.isSelectedByColumnHeader();h&&c?ue(this.rootElement,["ht__selection--rows","ht__selection--columns"]):h?(ge(this.rootElement,"ht__selection--columns"),ue(this.rootElement,"ht__selection--rows")):c?(ge(this.rootElement,"ht__selection--rows"),ue(this.rootElement,"ht__selection--columns")):ge(this.rootElement,["ht__selection--rows","ht__selection--columns"]),["shift","refresh","loadData","updateData"].includes(l)||d.closeEditor(null),["refresh","loadData","updateData"].includes(l)||(s.view.render(),d.prepareEditor())}),this.selection.addLocalHook("beforeSetFocus",t=>{this.runHooks("beforeSelectionFocusSet",t.row,t.col)}),this.selection.addLocalHook("afterSetFocus",t=>{const e=At(!1);this.runHooks("afterSelectionFocusSet",t.row,t.col,e),(!e.isTouched()||e.isTouched()&&!e.value)&&g.scrollTo(t),d.closeEditor(),s.view.render(),d.prepareEditor()}),this.selection.addLocalHook("afterSelectionFinished",t=>{const e=t.length-1,{from:n,to:o}=t[e];this.runHooks("afterSelectionEnd",n.row,n.col,o.row,o.col,e),this.runHooks("afterSelectionEndByProp",n.row,s.colToProp(n.col),o.row,s.colToProp(o.col),e),"refresh"===O.getSelectionSource()&&(s.view.render(),d.prepareEditor())}),this.selection.addLocalHook("afterIsMultipleSelection",t=>{const e=this.runHooks("afterIsMultipleSelection",t.value);t.value&&(t.value=e)}),this.selection.addLocalHook("afterDeselect",()=>{d.closeEditor(),s.view.render(),ge(this.rootElement,["ht__selection--rows","ht__selection--columns"]),this.runHooks("afterDeselect")}),this.selection.addLocalHook("beforeHighlightSet",()=>this.runHooks("beforeSelectionHighlightSet")).addLocalHook("beforeSetRangeStart",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("beforeSetRangeStart",...e)}).addLocalHook("beforeSetRangeStartOnly",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("beforeSetRangeStartOnly",...e)}).addLocalHook("beforeSetRangeEnd",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("beforeSetRangeEnd",...e)}).addLocalHook("beforeSelectColumns",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("beforeSelectColumns",...e)}).addLocalHook("afterSelectColumns",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("afterSelectColumns",...e)}).addLocalHook("beforeSelectRows",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("beforeSelectRows",...e)}).addLocalHook("afterSelectRows",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("afterSelectRows",...e)}).addLocalHook("beforeSelectAll",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("beforeSelectAll",...e)}).addLocalHook("afterSelectAll",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("afterSelectAll",...e)}).addLocalHook("beforeModifyTransformStart",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("modifyTransformStart",...e)}).addLocalHook("afterModifyTransformStart",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("afterModifyTransformStart",...e)}).addLocalHook("beforeModifyTransformFocus",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("modifyTransformFocus",...e)}).addLocalHook("afterModifyTransformFocus",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("afterModifyTransformFocus",...e)}).addLocalHook("beforeModifyTransformEnd",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("modifyTransformEnd",...e)}).addLocalHook("afterModifyTransformEnd",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("afterModifyTransformEnd",...e)}).addLocalHook("beforeRowWrap",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("beforeRowWrap",...e)}).addLocalHook("beforeColumnWrap",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("beforeColumnWrap",...e)}).addLocalHook("insertRowRequire",t=>this.alter("insert_row_above",t,1,"auto")).addLocalHook("insertColRequire",t=>this.alter("insert_col_start",t,1,"auto")),c={alter(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;const r=t=>{if(0===t.length)return[];const e=[...t];e.sort((t,e)=>{let[n]=t,[o]=e;return n===o?0:n>o?1:-1});return S(e,(t,e)=>{let[n,o]=e;const i=t[t.length-1],[r,s]=i,a=r+s;if(n<=a){const t=Math.max(o-(a-n),0);i[1]+=t}else t.push([n,o]);return t},[e[0]])};switch(t){case"insert_row_below":case"insert_row_above":const i=s.countSourceRows();if(R.maxRows===i)return;const a="insert_row_below"===t?"below":"above";e=null!=e?e:"below"===a?i:0;const{delta:h,startPhysicalIndex:c}=l.createRow(e,n,{source:o,mode:a});O.shiftRows(s.toVisualRow(c),h);break;case"insert_col_start":case"insert_col_end":const u="insert_col_end"===t?"end":"start";e=null!=e?e:"end"===u?s.countSourceCols():0;const{delta:g,startPhysicalIndex:f}=l.createCol(e,n,{source:o,mode:u});if(g){if(Array.isArray(R.colHeaders)){const t=[s.toVisualColumn(f),0];t.length+=g,Array.prototype.splice.apply(R.colHeaders,t)}O.shiftColumns(s.toVisualColumn(f),g)}break;case"remove_row":const p=t=>{let e=0;x(t,t=>{let[n,i]=t;const r=P(n)?s.countRows()-1:Math.max(n-e,0);Number.isInteger(n)&&(n=Math.max(n-e,0));if(!l.removeRow(n,i,o))return;if(O.isSelected()){const{row:t}=s.getSelectedRangeActive().highlight;t>=n&&t<=n+i-1&&d.closeEditor(!0)}const a=s.countRows(),h=R.fixedRowsTop;h>=r+1&&(R.fixedRowsTop-=Math.min(i,h-r));const c=R.fixedRowsBottom;if(c&&r>=a-c&&(R.fixedRowsBottom-=Math.min(i,c)),0===a)O.deselect();else if("ContextMenu.removeRow"===o){const t=O.getSelectedRange(),e=t.pop();t.clear().set(e.from).current().setTo(e.to),O.refresh()}else O.shiftRows(n,-i);e+=i})};Array.isArray(e)?p(r(e)):p([[e,n]]);break;case"remove_col":const m=t=>{let e=0;x(t,t=>{let[n,i]=t;const r=P(n)?s.countCols()-1:Math.max(n-e,0);let a=s.toPhysicalColumn(r);Number.isInteger(n)&&(n=Math.max(n-e,0));if(!l.removeCol(n,i,o))return;if(O.isSelected()){const{col:t}=s.getSelectedRangeActive().highlight;t>=n&&t<=n+i-1&&d.closeEditor(!0)}if(0===s.countCols())O.deselect();else if("ContextMenu.removeColumn"===o){const t=O.getSelectedRange(),e=t.pop();t.clear().set(e.from).current().setTo(e.to),O.refresh()}else O.shiftColumns(n,-i);const h=R.fixedColumnsStart;h>=r+1&&(R.fixedColumnsStart-=Math.min(i,h-r)),Array.isArray(R.colHeaders)&&(void 0===a&&(a=-1),R.colHeaders.splice(a,i)),e+=i})};Array.isArray(e)?m(r(e)):m([[e,n]]);break;default:wt(`There is no such action "${t}"`)}i||c.adjustRowsAndCols(),s.view.adjustElementsSize(),s.view.render()},adjustRowsAndCols(){const t=R.minRows,e=R.minSpareRows,n=R.minCols,o=R.minSpareCols;if(t){const e=s.countRows();e<t&&l.createRow(e,t-e,{source:"auto"})}if(e){const t=s.countEmptyRows(!0);if(t<e){const n=e-t,o=Math.min(n,R.maxRows-s.countSourceRows());l.createRow(s.countRows(),o,{source:"auto"})}}{let t;(n||o)&&(t=s.countEmptyCols(!0));let e=s.countCols();if(n&&!R.columns&&e<n){const o=n-e;t+=o,l.createCol(e,o,{source:"auto"})}if(o&&!R.columns&&"array"===s.dataType&&t<o){e=s.countCols();const n=o-t,i=Math.min(n,R.maxCols-e);l.createCol(e,i,{source:"auto"})}}},populateFromArray(t,e,n,o,i){let r,a,l,h;const c=[],d={},u=[],g=t.row,f=t.col;if(a=e.length,0===a)return!1;let p=0,m=0;switch(Et(n)&&(p=n.col-f+1,m=n.row-g+1),i){case"shift_down":const i=C(e),w=i.length,v=Math.max(w,p),y=s.getData().slice(g),S=C(y).slice(f,f+v);for(l=0;l<v;l+=1)if(l<w){for(r=0,a=i[l].length;r<m-a;r+=1)i[l].push(i[l][r%a]);l<S.length?u.push(i[l].concat(S[l])):u.push(i[l].concat(new Array(y.length).fill(null)))}else u.push(i[l%w].concat(S[l]));s.populateFromArray(g,f,C(u));break;case"shift_right":const k=e.length,x=Math.max(k,m),E=s.getData().slice(g).map(t=>t.slice(f));for(r=0;r<x;r+=1)if(r<k){for(l=0,h=e[r].length;l<p-h;l+=1)e[r].push(e[r][l%h]);if(r<E.length)for(let t=0;t<E[r].length;t+=1)e[r].push(E[r][t]);else e[r].push(...new Array(E[0].length).fill(null))}else e.push(e[r%a].slice(0,x).concat(E[r]));s.populateFromArray(g,f,e);break;default:d.row=t.row,d.col=t.col;let M,T=0,_=0,H=!0;const I=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const o=e[t%e.length];return null!==n?o[n%o.length]:o},A=e.length,P=n?n.row-t.row+1:0;for(a=n?P:Math.max(A,P),r=0;r<a&&!(n&&d.row>n.row&&P>A||!R.allowInsertRow&&d.row>s.countRows()-1||d.row>=R.maxRows);r++){const e=r-T,i=I(e).length,u=n?n.col-t.col+1:0;if(h=n?u:Math.max(i,u),d.col=t.col,M=s.getCellMeta(d.row,d.col),"CopyPaste.paste"!==o&&"Autofill.fill"!==o||!M.skipRowOnPaste){for(_=0,l=0;l<h;l++){var b;if(n&&d.col>n.col&&u>i||!R.allowInsertColumn&&d.col>s.countCols()-1||d.col>=R.maxCols)break;if(M=s.getCellMeta(d.row,d.col),("CopyPaste.paste"===o||"Autofill.fill"===o)&&M.skipColumnOnPaste){_+=1,d.col+=1,h+=1;continue}if(M.readOnly&&"UndoRedo.undo"!==o){d.col+=1;continue}const t=l-_,r=!!M.valueSetter;let a=I(e,t),g=null!==(b=s.getSourceDataAtCell(d.row,d.col))&&void 0!==b?b:null;if(null!==a&&"object"==typeof a)if(Array.isArray(a)&&null===g&&(g=[]),r||"object"==typeof g&&null!==g){if(null!==g){const t=vt(Array.isArray(g)?g:g[0]||g),e=vt(Array.isArray(a)?a:a[0]||a);r||xt(t,e)||Array.isArray(t)&&Array.isArray(e)?a=St(a):H=!1}}else H=!1,M.parsePastedValue&&"CopyPaste.paste"===o&&(H=!0);else r||null===g||"object"!=typeof g||(H=!1);H&&c.push([d.row,d.col,a]),H=!0,d.col+=1}d.row+=1}else T+=1,d.row+=1,a+=1}s.setDataAtCell(c,null,null,o||"populateFromArray")}}},this.init=function(){var t,e;h.setData(R.data),s.runHooks("beforeInit"),(Gt()||qt())&&ue(s.rootElement,"mobile"),this.updateSettings(p,!0),this.view=new Ha(this),d=Gn.getInstance(s,R,O),g=Bu(s),u.init(),fa(this)&&(!function(t){const e=t.ownerDocument;if(!hf){hf=e.createElement("div"),hf.setAttribute("role","status"),hf.setAttribute("aria-live","assertive"),hf.setAttribute("aria-atomic","true");const n=hf.style;n.position="absolute",n.width="1px",n.height="1px",n.margin="-1px",n.overflow="hidden",n.clipPath="rect(0 0 0 0)",n.whiteSpace="nowrap",t.appendChild(hf)}cf+=1}(s.rootPortalElement),j(p.licenseKey,this.rootWrapperElement,"25/03/2026")),s.runHooks("init"),this.render(),f&&null===s.rootElement.offsetParent&&(t=s.rootElement,e=()=>{s.view._wt.wtOverlays.updateLastSpreaderSize(),s.view.adjustElementsSize(),s.render()},new IntersectionObserver((n,o)=>{n.forEach(n=>{n.isIntersecting&&null!==t.offsetParent&&(e(),o.unobserve(t))})},{root:t.ownerDocument.body}).observe(t)),"object"==typeof f&&(s.runHooks("afterChange",f[0],f[1]),f=!1),s.runHooks("afterInit")},this._createCellCoords=function(t,e){return s.view._wt.createCellCoords(t,e)},this._createCellRange=function(t,e,n){return s.view._wt.createCellRange(t,e,n)},this.validateCell=function(t,e,n,o){let i=s.getCellValidator(e);function r(t){if(!(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])||!0===e.hidden)return void n(t);const o=e.visualCol,i=e.visualRow,r=s.getCell(i,o,!0);if(r&&"TH"!==r.nodeName){const t=s.rowIndexMapper.getRenderableFromVisualIndex(i),e=s.columnIndexMapper.getRenderableFromVisualIndex(o);s.view._wt.getSetting("cellRenderer",t,e,r)}n(t)}var a,l;l=i,"[object RegExp]"===Object.prototype.toString.call(l)&&(a=i,i=function(t,e){e(a.test(t))}),Ze(i)?(t=s.runHooks("beforeValidate",t,e.visualRow,e.prop,o),s._registerMicrotask(()=>{i.call(e,t,n=>{s&&(n=s.runHooks("afterValidate",n,t,e.visualRow,e.prop,o),e.valid=n,r(n),s.runHooks("postAfterValidate",n,t,e.visualRow,e.prop,o))})})):s._registerMicrotask(()=>{e.valid=!0,r(e.valid,!1)})},this.setDataAtCell=function(t,e,n,o){const i=W(t,e,n),r=[];let a,c,d,u=o;for(a=0,c=i.length;a<c;a++){const[t,e,n]=i[a];"object"!=typeof i[a]&&wt("Method `setDataAtCell` accepts row number or changes array of arrays as its first parameter"),"number"!=typeof i[a][1]&&wt("Method `setDataAtCell` accepts row and column number as its parameters. If you want to use object property name, use method `setDataAtRowProp`"),d=e>=this.countCols()?e:l.colToProp(e),r.push([t,d,h.getAtCell(this.toPhysicalRow(t),e),n])}u||"object"!=typeof t||(u=e);const g=z(r,u);s.runHooks("afterSetDataAtCell",g,u),B(g,u,()=>{F(g,u)})},this.setDataAtRowProp=function(t,e,n,o){const i=W(t,e,n),r=[];let a,l,c=o;for(a=0,l=i.length;a<l;a++){const[t,e,n]=i[a];r.push([t,e,h.getAtCell(this.toPhysicalRow(t),e),n])}c||"object"!=typeof t||(c=e);const d=z(r,o);s.runHooks("afterSetDataAtRowProp",d,c),B(d,c,()=>{F(d,c)})},this.listen=function(){s&&!s.isListening()&&(cp.forEach(t=>{s!==t&&t.unlisten()}),hp=s.guid,s.runHooks("afterListen"))},this.unlisten=function(){this.isListening()&&(hp=null,s.runHooks("afterUnlisten"))},this.isListening=function(){return hp===s.guid},this.destroyEditor=function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];d.closeEditor(t),s.view.render(),e&&O.isSelected()&&d.prepareEditor()},this.populateFromArray=function(t,e,n,o,i,r,a){"object"==typeof n&&"object"==typeof n[0]||wt("populateFromArray parameter `input` must be an array of arrays");const l="number"==typeof o?s._createCellCoords(o,i):null;return c.populateFromArray(s._createCellCoords(t,e),n,l,r,a)},this.spliceCol=function(t,e,n){for(var o=arguments.length,i=new Array(o>3?o-3:0),r=3;r<o;r++)i[r-3]=arguments[r];return l.spliceCol(t,e,n,...i)},this.spliceRow=function(t,e,n){for(var o=arguments.length,i=new Array(o>3?o-3:0),r=3;r<o;r++)i[r-3]=arguments[r];return l.spliceRow(t,e,n,...i)},this.getSelected=function(){if(O.isSelected())return k(O.getSelectedRange(),t=>{let{from:e,to:n}=t;return[e.row,e.col,n.row,n.col]})},this.getSelectedLast=function(){const t=this.getSelected();let e;return t&&t.length>0&&(e=t[t.length-1]),e},this.getSelectedActive=function(){const t=this.getSelectedRangeActive();if(!t)return;const{from:e,to:n}=t;return[e.row,e.col,n.row,n.col]},this.getSelectedRange=function(){if(O.isSelected())return Array.from(O.getSelectedRange())},this.getSelectedRangeLast=function(){const t=this.getSelectedRange();let e;return t&&t.length>0&&(e=t[t.length-1]),e},this.getSelectedRangeActive=function(){return O.getActiveSelectedRange()},this.getActiveSelectionLayerIndex=function(){return O.getActiveSelectionLayerIndex()},this.emptySelectedCells=function(t){if(!O.isSelected()||0===this.countRows()||0===this.countCols())return;const e=[];x(O.getSelectedRange(),t=>{if(t.isSingleHeader())return;const n=t.getTopStartCorner(),o=t.getBottomEndCorner();ao(n.row,o.row,t=>{ao(n.col,o.col,n=>{this.getCellMeta(t,n).readOnly||e.push([t,n,null])})})}),e.length>0&&this.setDataAtCell(e,t)},this.isRenderSuspended=function(){return this.renderSuspendedCounter>0},this.suspendRender=function(){this.renderSuspendedCounter+=1},this.resumeRender=function(){const t=this.renderSuspendedCounter-1;this.renderSuspendedCounter=Math.max(t,0),this.isRenderSuspended()||t!==this.renderSuspendedCounter||s.view.render()},this.render=function(){this.view&&(this.forceFullRender=!0,this.isRenderSuspended()||s.view.render())},this.batchRender=function(t){this.suspendRender();const e=t();return this.resumeRender(),e},this.isExecutionSuspended=function(){return this.executionSuspendedCounter>0},this.suspendExecution=function(){this.executionSuspendedCounter+=1,this.columnIndexMapper.suspendOperations(),this.rowIndexMapper.suspendOperations()},this.resumeExecution=function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const e=this.executionSuspendedCounter-1;this.executionSuspendedCounter=Math.max(e,0),(!this.isExecutionSuspended()&&e===this.executionSuspendedCounter||t)&&(this.columnIndexMapper.resumeOperations(),this.rowIndexMapper.resumeOperations())},this.batchExecution=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.suspendExecution();const n=t();return this.resumeExecution(e),n},this.batch=function(t){this.suspendRender(),this.suspendExecution();const e=t();return this.resumeExecution(),this.resumeRender(),e},this.refreshDimensions=function(){if(!s.view)return;const t=s.view,{width:e,height:n}=t.getLastSize(),{width:o,height:i}=s.rootElement.getBoundingClientRect(),r=o!==e||i!==n;!1===s.runHooks("beforeRefreshDimensions",{width:e,height:n},{width:o,height:i},r)||((r||t._wt.wtOverlays.scrollableElement===s.rootWindow)&&(t.setLastSize(o,i),t.adjustElementsSize(),s.render()),s.runHooks("afterRefreshDimensions",{width:e,height:n},{width:o,height:i},r))},this.updateData=function(t,e){mu(t,t=>{l=t},t=>{l=t,s.columnIndexMapper.fitToLength(this.getInitialColumnCount()),s.rowIndexMapper.fitToLength(this.countSourceRows()),c.adjustRowsAndCols(),O.markSource("updateData"),O.refresh(),O.markEndSource()},{hotInstance:s,dataMap:l,dataSource:h,internalSource:"updateData",source:e,metaManager:y,firstRun:f})},this.loadData=function(t,e){mu(t,t=>{l=t},()=>{y.clearCellsCache(),s.initIndexMappers(),c.adjustRowsAndCols(),O.markSource("loadData"),O.refresh(),O.markEndSource(),f&&(f=[null,"loadData"])},{hotInstance:s,dataMap:l,dataSource:h,internalSource:"loadData",source:e,metaManager:y,firstRun:f})},this.getInitialColumnCount=function(){const t=R.columns;let e=0;if(Array.isArray(t))e=t.length;else if(Ze(t))if("array"===s.dataType){const n=this.countSourceCols();for(let o=0;o<n;o+=1)t(o)&&(e+=1)}else"object"!==s.dataType&&"function"!==s.dataType||(e=l.colToPropCache.length);else if(I(R.dataSchema)){const t=l.getSchema();e=Array.isArray(t)?t.length:It(t)}else e=this.countSourceCols();return e},this.initIndexMappers=function(){this.columnIndexMapper.initToLength(this.getInitialColumnCount()),this.rowIndexMapper.initToLength(this.countSourceRows())},this.getData=function(t,e,n,o){return A(t)?l.getAll():l.getRange(s._createCellCoords(t,e),s._createCellCoords(n,o),l.DESTINATION_RENDERER)},this.getCopyableText=function(t,e,n,o){return l.getCopyableText(s._createCellCoords(t,e),s._createCellCoords(n,o))},this.getCopyableData=function(t,e){return l.getCopyable(t,l.colToProp(e))},this.getCopyableSourceData=function(t,e){return h.getCopyable(t,l.colToProp(e))},this.getSchema=function(){return l.getSchema()},this.updateSettings=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=(f?s.loadData:s.updateData).bind(this);let o,i,r=!1;for(o in I(t.rows)&&wt('The "rows" setting is no longer supported. Do you mean startRows, minRows or maxRows?'),I(t.cols)&&wt('The "cols" setting is no longer supported. Do you mean startCols, minCols or maxCols?'),I(t.ganttChart)&&wt('Since 8.0.0 the "ganttChart" setting is no longer supported.'),I(t.rowHeights)&&I(t.minRowHeights)&&Qt("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."),t)if("data"===o||"language"===o);else if("className"===o)D("className",t.className);else if("tableClassName"===o&&s.table)D("tableClassName",t.tableClassName),s.view._wt.wtOverlays.syncOverlayTableClassNames();else if(Mn.getSingleton().isRegistered(o)||Mn.getSingleton().isDeprecated(o)){const e=t[o];Ze(e)?(Mn.getSingleton().addAsFixed(o,e,s),R[o]=e):Array.isArray(e)&&(Mn.getSingleton().add(o,e,s),R[o]=e)}else!e&&Pt(t,o)&&(T[o]=t[o]);const a=Vg(s.rootContainer),h=Pt(t,"themeName"),d=Pt(t,"theme");if(h&&d&&Qt("Both `theme` and `themeName` are defined in your configuration. These options are aliases and cannot be used together. The `themeName` option will be ignored."),e){let e;d&&"string"==typeof t.theme?e=t.theme:h&&"string"==typeof t.themeName&&t.themeName&&!d?(e=t.themeName,R.theme=t.themeName,R.themeName=void 0):a?e=a:s.themeManager&&(e=s.themeManager.getClassName()),s.useTheme(e)}else{const e=s.getCurrentThemeName();var u;if(d&&"string"==typeof t.theme&&e!==t.theme)s.useTheme(t.theme),null===(u=s.themeManager)||void 0===u||u.unmount();else if(h&&!d&&e!==t.themeName){var g;R.theme=t.themeName,R.themeName=void 0,s.useTheme(t.themeName),null===(g=s.themeManager)||void 0===g||g.unmount()}else if(fa(s)&&!a&&Et(t.theme))if(null===s.themeManager)L(t.theme),s.useTheme(s.themeManager.getClassName());else{let e;e="function"!=typeof t.theme.getThemeConfig?lp(t.theme):t.theme,s.themeManager.update(e),s.useTheme(s.themeManager.getClassName())}}void 0===t.data&&void 0===R.data?n(null,"updateSettings"):void 0!==t.data?n(t.data,"updateSettings"):void 0!==t.columns&&(l.createMap(),s.initIndexMappers()),!f&&t.language&&function(t){const e=yl(t);Ic(e)?(s.runHooks("beforeLanguageChange",e),T.language=e,s.runHooks("afterLanguageChange",e)):Cl(t)}(t.language);const p=s.countCols(),m=R.columns;if(m&&Ze(m)&&(r=!0),void 0===t.cell&&void 0===t.cells&&void 0===t.columns||y.clearCache(),p>0)for(o=0,i=0;o<p;o++){if(m){const t=r?m(o):m[i];t&&y.updateColumnMeta(i,t)}i+=1}I(t.cell)&&Tt(t.cell,t=>{s.setCellMetaObject(t.row,t.col,t)}),s.runHooks("afterCellMetaReset"),f&&fu(s,"init");let b=s.rootElement.style.height;if(""!==b&&(b=parseInt(s.rootElement.style.height,10)),e){s.rootElement.getAttribute("style")&&s.rootElement.setAttribute("data-initialstyle",s.rootElement.getAttribute("style"))}let w=t.height;if(void 0!==t.height)if(Ze(w)&&(w=w()),w=s.runHooks("beforeHeightChange",w),null===w){const t=s.rootElement.getAttribute("data-initialstyle");t&&(t.indexOf("height")>-1||t.indexOf("overflow")>-1)?s.rootElement.setAttribute("style",t):(s.rootElement.style.height="",s.rootElement.style.overflow="")}else void 0!==w&&(s.rootElement.style.height=isNaN(w)?`${w}`:`${w}px`,s.rootElement.style.overflow="clip");if(void 0!==t.width){let e=t.width;Ze(e)&&(e=e()),e=s.runHooks("beforeWidthChange",e),s.rootElement.style.width=isNaN(e)?`${e}`:`${e}px`}e||(s.view&&(s.view._wt.wtViewport.resetHasOversizedColumnHeadersMarked(),s.view._wt.exportSettingsAsClassNames()),s.runHooks("afterUpdateSettings",t)),c.adjustRowsAndCols(),s.view&&!f&&(s.render(),s.view._wt.wtOverlays.adjustElementsSize()),e||!s.view||""!==b&&""!==w&&void 0!==w||b===w||s.view._wt.wtOverlays.updateMainScrollableElements()},this.getValue=function(){const t=s.getSelectedRangeActive();if(R.getValue){if(Ze(R.getValue))return R.getValue.call(s);if(t)return s.getData()[t.highlight.row][R.getValue]}else if(t)return s.getDataAtCell(t.highlight.row,t.highlight.col);return null},this.getSettings=function(){return R},this.clear=function(){this.selectAll(),this.emptySelectedCells()},this.alter=function(t,e,n,o,i){c.alter(t,e,n,o,i)},this.getCell=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e,i=t;if(e>=0){if(this.columnIndexMapper.isHidden(this.toPhysicalColumn(e)))return null;o=this.columnIndexMapper.getRenderableFromVisualIndex(e)}if(t>=0){if(this.rowIndexMapper.isHidden(this.toPhysicalRow(t)))return null;i=this.rowIndexMapper.getRenderableFromVisualIndex(t)}return null===i||null===o||void 0===i||void 0===o?null:s.view.getCellAtCoords(s._createCellCoords(i,o),n)},this.getCoords=function(t){const e=this.view._wt.wtTable.getCoords(t);if(null===e)return null;const{row:n,col:o}=e;let i=n,r=o;return n>=0&&(i=this.rowIndexMapper.getVisualFromRenderableIndex(n)),o>=0&&(r=this.columnIndexMapper.getVisualFromRenderableIndex(o)),s._createCellCoords(i,r)},this.colToProp=function(t){return l.colToProp(t)},this.propToCol=function(t){return l.propToCol(t)},this.toVisualRow=t=>this.rowIndexMapper.getVisualFromPhysicalIndex(t),this.toVisualColumn=t=>this.columnIndexMapper.getVisualFromPhysicalIndex(t),this.toPhysicalRow=t=>this.rowIndexMapper.getPhysicalFromVisualIndex(t),this.toPhysicalColumn=t=>this.columnIndexMapper.getPhysicalFromVisualIndex(t),this.getDataAtCell=function(t,e){return l.get(t,l.colToProp(e))},this.getDataAtRowProp=function(t,e){return l.get(t,e)},this.getDataAtCol=function(t){const e=[],n=l.getRange(s._createCellCoords(0,t),s._createCellCoords(R.data.length-1,t),l.DESTINATION_RENDERER);for(let t=0;t<n.length;t+=1)for(let o=0;o<n[t].length;o+=1)e.push(n[t][o]);return e},this.getDataAtProp=function(t){const e=[],n=l.getRange(s._createCellCoords(0,l.propToCol(t)),s._createCellCoords(R.data.length-1,l.propToCol(t)),l.DESTINATION_RENDERER);for(let t=0;t<n.length;t+=1)for(let o=0;o<n[t].length;o+=1)e.push(n[t][o]);return e},this.getSourceData=function(t,e,n,o){let i;return i=void 0===t?h.getData():h.getByRange(s._createCellCoords(t,e),s._createCellCoords(n,o)),i},this.getSourceDataArray=function(t,e,n,o){let i;return i=void 0===t?h.getData(!0):h.getByRange(s._createCellCoords(t,e),s._createCellCoords(n,o),!0),i},this.getSourceDataAtCol=function(t){return h.getAtColumn(t)},this.setSourceDataAtCell=function(t,e,n,o){const i=W(t,e,n),r=this.hasHook("afterSetSourceDataAtCell"),a=[],l=(t,e)=>{const n=this.toVisualRow(t),o=this.toVisualColumn(e);return Number.isInteger(o)?this.getCellMeta(n,o):{...Object.getPrototypeOf(R),...R}};r&&x(i,t=>{let[e,n,o]=t;const i=Fd(o,l(e,n));a.push([e,n,h.getAtCell(e,n),i])}),x(i,t=>{let[e,n,i]=t;const r=l(e,n),s=Fd(i,r);(function(t,e,n){const o=e.sourceDataValidator;if(!Ze(o))return!0;if(!0===o(t,e,n))return!0;const{row:i,col:r,sourceDataWarningMessage:s,allowInvalid:a}=e;return s&&pu(s,[{row:i,col:r,value:t}]),!0===a})(s,r,null!=o?o:"setSourceDataAtCell")&&h.setAtCell(e,n,s)}),r&&this.runHooks("afterSetSourceDataAtCell",a,o),this.render();const c=s.getActiveEditor();c&&I(c.refreshValue)&&c.refreshValue()},this.getSourceDataAtRow=function(t){return h.getAtRow(t)},this.getSourceDataAtCell=function(t,e){return h.getAtCell(t,e)},this.getDataAtRow=function(t){return l.getRange(s._createCellCoords(t,0),s._createCellCoords(t,this.countCols()-1),l.DESTINATION_RENDERER)[0]||[]},this.getDataType=function(t,e,n,o){const i=void 0===t?[0,0,this.countRows(),this.countCols()]:[t,e,n,o],[r,s]=i;let[,,a,l]=i,h=null,c=null;void 0===a&&(a=r),void 0===l&&(l=s);let d="mixed";return ao(Math.max(Math.min(r,a),0),Math.max(r,a),t=>{let e=!0;return ao(Math.max(Math.min(s,l),0),Math.max(s,l),n=>{const o=this.getCellMeta(t,n);return c=o.type,h?e=h===c:h=c,e}),d=e?c:"mixed",e}),d},this.removeCellMeta=function(t,e,n){const[o,i]=[this.toPhysicalRow(t),this.toPhysicalColumn(e)];let r=y.getCellMetaKeyValue(o,i,n);!1!==s.runHooks("beforeRemoveCellMeta",t,e,n,r)&&(y.removeCellMeta(o,i,n),s.runHooks("afterRemoveCellMeta",t,e,n,r)),r=null},this.spliceCellsMeta=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];o.length>0&&!Array.isArray(o[0])&&wt("The 3rd argument (cellMetaRows) has to be passed as an array of cell meta objects array."),e>0&&y.removeRow(this.toPhysicalRow(t),e),o.length>0&&x(o.reverse(),e=>{y.createRow(this.toPhysicalRow(t)),x(e,(e,n)=>this.setCellMetaObject(t,n,e))}),s.render()},this.setCellMetaObject=function(t,e,n){"object"==typeof n&&Tt(n,(n,o)=>{this.setCellMeta(t,e,o,n)})},this.setCellMeta=function(t,e,n,o){if(!1===s.runHooks("beforeSetCellMeta",t,e,n,o))return;let i=t,r=e;t<this.countRows()&&(i=this.toPhysicalRow(t)),e<this.countCols()&&(r=this.toPhysicalColumn(e)),y.setCellMeta(i,r,n,o),s.runHooks("afterSetCellMeta",t,e,n,o)},this.getCellsMeta=function(){return y.getCellsMeta()},this.getCellMeta=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{skipMetaExtension:!1},o=this.toPhysicalRow(t),i=this.toPhysicalColumn(e);return null===o&&(o=t),null===i&&(i=e),y.getCellMeta(o,i,{visualRow:t,visualColumn:e,...n})},this.getColumnMeta=function(t){return y.getColumnMeta(this.toPhysicalColumn(t))},this.getCellMetaAtRow=function(t){return y.getCellsMetaAtRow(t)},this.isColumnModificationAllowed=function(){return!("object"===s.dataType||R.columns)},this.getCellRenderer=function(t,e){const n="number"==typeof t?s.getCellMeta(t,e).renderer:t.renderer;return"string"==typeof n?Ao(n):A(n)?Ao("text"):n},this.getCellEditor=function(t,e){const n="number"==typeof t?s.getCellMeta(t,e).editor:t.editor;return"string"==typeof n?Bn(n):A(n)?Bn("text"):n},this.getCellValidator=function(t,e){const n="number"==typeof t?s.getCellMeta(t,e).validator:t.validator;return"string"==typeof n?"function"==typeof(o=n)?o:(Do(o)||wt(`No registered validator found under "${o}" name`),No(o)):n;var o},this.validateCells=function(t){this._validateCells(t)},this.validateRows=function(t,e){Array.isArray(t)||wt("validateRows parameter `rows` must be an array"),this._validateCells(e,t)},this.validateColumns=function(t,e){Array.isArray(t)||wt("validateColumns parameter `columns` must be an array"),this._validateCells(e,void 0,t)},this._validateCells=function(t,e,n){const o=new V;t&&(o.onQueueEmpty=t);let i=s.countRows()-1;for(;i>=0;){if(void 0!==e&&-1===e.indexOf(i)){i-=1;continue}let t=s.countCols()-1;for(;t>=0;)void 0===n||-1!==n.indexOf(t)?(o.addValidatorToQueue(),s.validateCell(s.getDataAtCell(i,t),s.getCellMeta(i,t),t=>{"boolean"!=typeof t&&wt("Validation error: result is not boolean"),!1===t&&(o.valid=!1),o.removeValidatorFormQueue()},"validateCells"),t-=1):t-=1;i-=1}o.checkIfQueueIsEmpty()},this.getRowHeader=function(t){let e=R.rowHeaders,n=t;return void 0!==n&&(n=s.runHooks("modifyRowHeader",n)),void 0===n?(e=[],ao(s.countRows()-1,t=>{e.push(s.getRowHeader(t))})):Array.isArray(e)&&void 0!==e[n]?e=e[n]:Ze(e)?e=e(n):e&&"string"!=typeof e&&"number"!=typeof e&&(e=n+1),e},this.hasRowHeaders=function(){return!!R.rowHeaders},this.hasColHeaders=function(){if(void 0!==R.colHeaders&&null!==R.colHeaders)return!!R.colHeaders;for(let t=0,e=s.countCols();t<e;t++)if(s.getColHeader(t))return!0;return!1},this.getColHeader=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;const n=s.runHooks("modifyColHeader",t);if(void 0===n){const t=[],e=s.countCols();for(let n=0;n<e;n++)t.push(s.getColHeader(n));return t}let o=R.colHeaders;const i=s.toPhysicalColumn(n),r=function(t){const e=[],n=s.countCols();let o=0;for(;o<n;o++)Ze(R.columns)&&R.columns(o)&&e.push(o);return e[t]}(i);return!1===R.colHeaders?o=null:R.columns&&Ze(R.columns)&&R.columns(r)&&R.columns(r).title?o=R.columns(r).title:R.columns&&R.columns[i]&&R.columns[i].title?o=R.columns[i].title:Array.isArray(R.colHeaders)&&void 0!==R.colHeaders[i]?o=R.colHeaders[i]:Ze(R.colHeaders)?o=R.colHeaders(i):R.colHeaders&&"string"!=typeof R.colHeaders&&"number"!=typeof R.colHeaders&&(o=function(t){let e,n=t+1,o="";for(;n>0;)e=(n-1)%26,o=String.fromCharCode(65+e)+o,n=parseInt((n-e)/26,10);return o}(n)),o=s.runHooks("modifyColumnHeaderValue",o,t,e),o},this._getColWidthFromSettings=function(t){let e;if(t>=0){e=s.getCellMeta(0,t).width}if(void 0!==e&&e!==R.width||(e=R.colWidths),null!=e){switch(typeof e){case"object":e=e[t];break;case"function":e=e(t)}"string"==typeof e&&(e=Number.parseInt(e,10))}return e},this.getColWidth=function(t,e){let n=s._getColWidthFromSettings(t);return n=s.runHooks("modifyColWidth",n,t,e),void 0===n&&(n=ri),n},this._getRowHeightFromSettings=function(t){var e;const n=s.stylesHandler.getDefaultRowHeight(t);let o=null!==(e=R.rowHeights)&&void 0!==e?e:R.minRowHeights;if(null!=o){switch(typeof o){case"object":o=o[t];break;case"function":o=o(t)}"string"==typeof o&&(o=Number.parseInt(o,10))}return null!=o&&o<n?n:o},this.getRowHeight=function(t,e){let n=s._getRowHeightFromSettings(t);return n=s.runHooks("modifyRowHeight",n,t,e),n},this.countSourceRows=function(){return h.countRows()},this.countSourceCols=function(){return h.countFirstRowKeys()},this.countRows=function(){return l.getLength()},this.countCols=function(){const t=R.maxCols,e=this.columnIndexMapper.getNotTrimmedIndexesLength();return Math.min(t,e)},this.countRenderedRows=function(){return s.view._wt.drawn?s.view._wt.wtTable.getRenderedRowsCount():-1},this.countVisibleRows=function(){return s.view._wt.drawn?s.view._wt.wtTable.getVisibleRowsCount():-1},this.countRenderedCols=function(){return s.view._wt.drawn?s.view._wt.wtTable.getRenderedColumnsCount():-1},this.countVisibleCols=function(){return s.view._wt.drawn?s.view._wt.wtTable.getVisibleColumnsCount():-1},this.countRowHeaders=function(){return this.view.getRowHeadersCount()},this.countColHeaders=function(){return this.view.getColumnHeadersCount()},this.countEmptyRows=function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=0;return lo(s.countRows()-1,n=>{if(s.isEmptyRow(n))e+=1;else if(!0===t)return!1}),e},this.countEmptyCols=function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=0;return lo(s.countCols()-1,n=>{if(s.isEmptyCol(n))e+=1;else if(!0===t)return!1}),e},this.isEmptyRow=function(t){return R.isEmptyRow.call(s,t)},this.isEmptyCol=function(t){return R.isEmptyCol.call(s,t)},this.selectCell=function(t,e,n,o){let i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];return!A(t)&&!A(e)&&this.selectCells([[t,e,n,o]],i,r)},this.selectCells=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[[]],e=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&g.suspend();const n=O.selectCells(t);return n&&e&&s.listen(),g.resume(),n},this.selectColumns=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2?arguments[2]:void 0;return O.selectColumns(t,e,n)},this.selectRows=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2?arguments[2]:void 0;return O.selectRows(t,e,n)},this.deselectCell=function(){O.deselect()},this.selectAll=function(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2?arguments[2]:void 0;g.skipNextScrollCycle(),O.selectAll(t,e,n)};const Y=(t,e)=>t.getNearestNotHiddenIndex(e,1,!0);this.scrollViewportTo=function(t,e){var n;"number"==typeof t&&(t={row:arguments[0],col:arguments[1],verticalSnap:arguments[2]?"bottom":"top",horizontalSnap:arguments[3]?"end":"start",considerHiddenIndexes:null===(n=arguments[4])||void 0===n||n});const{row:o,col:i,considerHiddenIndexes:r}=null!=t?t:{};let a=o,l=i;if(Ze(e)&&this.addHookOnce("afterScroll",e),void 0===r||r){const t=Number.isInteger(o)&&o>=0,e=Number.isInteger(i)&&i>=0,n=t?Y(this.rowIndexMapper,o):void 0,r=e?Y(this.columnIndexMapper,i):void 0;if(null===n||null===r)return!1;a=t?s.rowIndexMapper.getRenderableFromVisualIndex(n):o,l=e?s.columnIndexMapper.getRenderableFromVisualIndex(r):i}const h=Number.isInteger(a),c=Number.isInteger(l);let d=!1;return h&&a>=0&&c&&l>=0?d=s.view.scrollViewport(s._createCellCoords(a,l),t.horizontalSnap,t.verticalSnap):h&&a>=0&&(c&&l<0||!c)?d=s.view.scrollViewportVertically(a,t.verticalSnap):c&&l>=0&&(h&&a<0||!h)&&(d=s.view.scrollViewportHorizontally(l,t.horizontalSnap)),Ze(e)&&(d?this.view.render():(this.removeHook("afterScroll",e),this._registerMicrotask(()=>e()))),d},this.scrollToFocusedCell=function(t){if(!this.selection.isSelected())return!1;Ze(t)&&this.addHookOnce("afterScroll",t);const{highlight:e}=this.getSelectedRangeActive(),n=this.scrollViewportTo(e.toObject());return n?this.view.render():Ze(t)&&(this.removeHook("afterScroll",t),this._registerMicrotask(()=>t())),n},this.destroy=function(){var t;(s._clearTimeouts(),s._clearMicrotasks(),s.view&&s.view.destroy(),h&&h.destroy(),h=null,fa(this))&&(0!==cf&&(1===cf&&(hf.remove(),hf=null),cf-=1),this.getFocusScopeManager().destroy(),null===(t=s.themeManager)||void 0===t||t.destroy());this.getShortcutManager().destroy(),H.clear(),y.clearCache(),cp.delete(this.guid),a.destroy(),d&&d.destroy(),s.rootContainer&&be(s.rootContainer),s.rootPortalElement&&s.rootPortalElement.remove(),s.batchExecution(()=>{s.rowIndexMapper.unregisterAll(),s.columnIndexMapper.unregisterAll(),_.getItems().forEach(t=>{let[,e]=t;e.destroy()}),_.clear(),s.runHooks("afterDestroy")},!0),Mn.getSingleton().destroy(s),Tt(s,(t,e,n)=>{var o;Ze(t)?n[e]=(o=e,()=>{wt(`The "${o}" method cannot be called because this Handsontable instance has been destroyed`)}):"guid"!==e&&(n[e]=null)}),s.isDestroyed=!0,l&&l.destroy(),l=null,c=null,O=null,d=null,s=null},this.getActiveEditor=function(){return d.getActiveEditor()},this.getFirstRenderedVisibleRow=function(){return s.view.getFirstRenderedVisibleRow()},this.getLastRenderedVisibleRow=function(){return s.view.getLastRenderedVisibleRow()},this.getFirstRenderedVisibleColumn=function(){return s.view.getFirstRenderedVisibleColumn()},this.getLastRenderedVisibleColumn=function(){return s.view.getLastRenderedVisibleColumn()},this.getFirstFullyVisibleRow=function(){return s.view.getFirstFullyVisibleRow()},this.getLastFullyVisibleRow=function(){return s.view.getLastFullyVisibleRow()},this.getFirstFullyVisibleColumn=function(){return s.view.getFirstFullyVisibleColumn()},this.getLastFullyVisibleColumn=function(){return s.view.getLastFullyVisibleColumn()},this.getFirstPartiallyVisibleRow=function(){return s.view.getFirstPartiallyVisibleRow()},this.getLastPartiallyVisibleRow=function(){return s.view.getLastPartiallyVisibleRow()},this.getFirstPartiallyVisibleColumn=function(){return s.view.getFirstPartiallyVisibleColumn()},this.getLastPartiallyVisibleColumn=function(){return s.view.getLastPartiallyVisibleColumn()},this.getPlugin=function(t){return _.getItem($(t))},this.getPluginName=function(t){return _.getId(t)},this.getInstance=function(){return s},this.addHook=function(t,e,n){Mn.getSingleton().add(t,e,s,n)},this.hasHook=function(t){return Mn.getSingleton().has(t,s)||Mn.getSingleton().has(t)},this.addHookOnce=function(t,e,n){Mn.getSingleton().once(t,e,s,n)},this.removeHook=function(t,e){Mn.getSingleton().remove(t,e,s)},this.runHooks=function(t,e,n,o,i,r,a){return Mn.getSingleton().run(s,t,e,n,o,i,r,a)},this.getTranslatedPhrase=function(t,e){return Ac(R.language,t,e)},this.toHTML=()=>Qn(this),this.toTableElement=()=>{const t=this.rootDocument.createElement("div");return t.insertAdjacentHTML("afterbegin",Qn(this)),t.firstElementChild},this.timeouts=[],this.useTheme=t=>{const e=!!f;this.stylesHandler.useTheme(t);const n=this.stylesHandler.getThemeName();!e&&n&&(Vg(this.rootContainer)&&(ge(this.rootContainer,/ht-theme-.*/g),ue(this.rootContainer,n)),s.render(),s.scrollViewportTo(0,0)),this.runHooks("afterSetTheme",n,e)},this.getCurrentThemeName=()=>this.stylesHandler.getThemeName(),this.getTableHeight=()=>this.rootElement.offsetHeight,this.getTableWidth=()=>this.rootElement.offsetWidth,this._registerTimeout=function(t){let e=t;"function"==typeof e&&(e=setTimeout(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)),this.timeouts.push(e)},this._clearTimeouts=function(){x(this.timeouts,t=>{clearTimeout(t)})},this.microtasks=[],this._registerMicrotask=function(t){const e={cancelled:!1};this.microtasks.push(e),this.rootWindow.queueMicrotask(()=>{e.cancelled||t()})},this._clearMicrotasks=function(){x(this.microtasks,t=>{t.cancelled=!0}),this.microtasks.length=0},this._getEditorManager=function(){return d},this._getDataSource=function(){return h},this._getMetaManager=function(){return y};const G=Lg({handleEvent:()=>s.isListening(),beforeKeyDown:t=>this.runHooks("beforeKeyDown",t),afterKeyDown:t=>{this.isDestroyed||s.runHooks("afterDocumentKeyDown",t)},ownerWindow:this.rootWindow});this.addHook("beforeOnCellMouseDown",t=>{!1===t.ctrlKey&&!1===t.metaKey&&G.releasePressedKeys()}),this.getShortcutManager=function(){return G},u=new ig(s);const K=fa(this)?$u(s):null;this.getFocusManager=function(){return u},this.getFocusScopeManager=function(){return fa(s)||wt("The FocusScopeManager is only available for the main Handsontable instance."),K};const q=p.theme,X=p.themeName,Z=Vg(s.rootContainer);var J;!fa(s)||Z||!Et(q)&&(q||X)||L(q),ko().forEach(t=>{const e=xo(t);_.addItem(t,new e(this))}),J=s,[xg,kg].forEach(t=>t(J)),fa(this)&&function(t){[Eg].forEach(e=>e(t))}(s),G.setActiveContextName("grid"),Mn.getSingleton().run(s,"construct")}function up(t,e,n,o,i,r,s){const a=s.ariaTags,l=[],h=[],c=[],d=[];s._isBaseRendererCalled=!0,s.className&&ue(e,s.className),s.readOnly?(l.push(s.readOnlyCellClassName),a&&d.push(["aria-readonly","true"])):a&&c.push("aria-readonly"),!1===s.valid&&s.invalidCellClassName?(l.push(s.invalidCellClassName),a&&d.push(["aria-invalid","true"])):(h.push(s.invalidCellClassName),a&&c.push("aria-invalid")),!1===s.wordWrap&&s.noWordWrapClassName&&l.push(s.noWordWrapClassName),!r&&s.placeholder&&l.push(s.placeholderCellClassName),s.textEllipsis&&l.push("htTextEllipsis"),ge(e,h),ue(e,l),pe(e,c),fe(e,d)}function gp(t,e,n){t.addEventListener(e,n,!1)}function fp(t,e,n){t.removeEventListener(e,n,!1)}function pp(t){return t.ownerDocument.defaultView.getComputedStyle(t)}function mp(t){const e={minHeight:200,maxHeight:300,minWidth:100,maxWidth:300,textContent:t=>t.value,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}},n=t.body,o=t.createTextNode(""),i=t.createElement("span");let r;function s(){var t,s;o.textContent=e.textContent(r),i.style.position="absolute",i.style.fontSize=pp(r).fontSize,i.style.fontFamily=pp(r).fontFamily,i.style.whiteSpace="pre",n.appendChild(i);const a=parseInt((null===(t=pp(r))||void 0===t?void 0:t.paddingInlineStart)||0,10),l=parseInt((null===(s=pp(r))||void 0===s?void 0:s.paddingInlineEnd)||0,10),h=i.clientWidth+a+l+1;n.removeChild(i);const c=r.style;c.height=`${e.minHeight}px`,e.minWidth>h?c.width=`${e.minWidth}px`:h>e.maxWidth?c.width=`${e.maxWidth}px`:c.width=`${h}px`;const d=r.scrollHeight?r.scrollHeight-1:0;e.minHeight>d?c.height=`${e.minHeight}px`:e.maxHeight<d?(c.height=`${e.maxHeight}px`,c.overflowY="visible"):c.height=`${d}px`}function a(){t.defaultView.setTimeout(s,0)}return{init:function(t,n){let l=arguments.length>2&&void 0!==arguments[2]&&arguments[2];r=t,function(t){if(t&&t.minHeight)if("inherit"===t.minHeight)e.minHeight=r.clientHeight;else{const n=parseInt(t.minHeight,10);isNaN(n)||(e.minHeight=n)}if(t&&t.maxHeight)if("inherit"===t.maxHeight)e.maxHeight=r.clientHeight;else{const n=parseInt(t.maxHeight,10);isNaN(n)||(e.maxHeight=n)}if(t&&t.minWidth)if("inherit"===t.minWidth)e.minWidth=r.clientWidth;else{const n=parseInt(t.minWidth,10);isNaN(n)||(e.minWidth=n)}if(t&&t.maxWidth)if("inherit"===t.maxWidth)e.maxWidth=r.clientWidth;else{const n=parseInt(t.maxWidth,10);isNaN(n)||(e.maxWidth=n)}i.firstChild||(i.className="autoResize",i.style.display="inline-block",i.appendChild(o))}(n),"TEXTAREA"===r.nodeName&&(r.style.resize="none",r.style.height=`${e.minHeight}px`,r.style.minWidth=`${e.minWidth}px`,r.style.maxWidth=`${e.maxWidth}px`,r.style.overflowY="hidden"),l&&(gp(r,"input",s),gp(r,"keydown",a)),s()},resize:s,unObserve(){fp(r,"input",s),fp(r,"keydown",a)}}}function bp(t,e){const n=De(e),o=e.value.split("\n");let i=n,r=0;for(let e=0;e<o.length;e++){const s=o[e];0!==e&&(r+=o[e-1].length+1);const a=r+s.length;if("home"===t?i=r:"end"===t&&(i=a),n<=a)break}Ve(e,i)}function wp(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}up.RENDERER_TYPE="base";const vp="ht_editor_hidden",yp="textEditor";class Cp extends Cg{static get EDITOR_TYPE(){return"text"}constructor(t){super(t),wp(this,"eventManager",new zn(this)),wp(this,"autoResize",mp(this.hot.rootDocument)),wp(this,"TEXTAREA",void 0),wp(this,"textareaStyle",void 0),wp(this,"TEXTAREA_PARENT",void 0),wp(this,"textareaParentStyle",void 0),wp(this,"layerClass",void 0),this.eventManager=new zn(this),this.createElements(),this.bindEvents(),this.hot.addHookOnce("afterDestroy",()=>this.destroy())}getValue(){return this.TEXTAREA.value}setValue(t){this.TEXTAREA.value=t}open(){this._opened=!0,this.refreshDimensions(),this.showEditableElement(),this.hot.getShortcutManager().setActiveContextName("editor"),this.registerShortcuts()}close(){this._opened=!1,this.autoResize.unObserve(),oe(this.hot.rootDocument.activeElement,this.hot.rootElement)&&this.hot.listen(),this.hideEditableElement(),this.unregisterShortcuts()}prepare(t,e,n,o,i,r){const s=this.state;if(super.prepare(t,e,n,o,i,r),!r.readOnly){this.refreshDimensions(!0);const{allowInvalid:t}=r;t&&!this.isOpened()&&(this.TEXTAREA.value=""),s===yg.FINISHED||this.isOpened()||this.hideEditableElement()}}beginEditing(t,e){this.state===yg.VIRGIN&&(this.TEXTAREA.value="",super.beginEditing(t,e))}focus(){this.TEXTAREA.select(),Ve(this.TEXTAREA,this.TEXTAREA.value.length)}createElements(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"textarea";const{rootDocument:e}=this.hot;this.TEXTAREA=e.createElement(t),fe(this.TEXTAREA,[["data-hot-input",""],J(-1)]),ue(this.TEXTAREA,"handsontableInput"),this.textareaStyle=this.TEXTAREA.style,this.textareaStyle.width=0,this.textareaStyle.height=0,this.textareaStyle.overflowY="visible",this.TEXTAREA_PARENT=e.createElement("DIV"),ue(this.TEXTAREA_PARENT,"handsontableInputHolder"),de(this.TEXTAREA_PARENT,this.layerClass)&&ge(this.TEXTAREA_PARENT,this.layerClass),ue(this.TEXTAREA_PARENT,vp),this.textareaParentStyle=this.TEXTAREA_PARENT.style,this.TEXTAREA_PARENT.appendChild(this.TEXTAREA),this.hot.rootElement.appendChild(this.TEXTAREA_PARENT)}hideEditableElement(){zt.edge.value&&(this.textareaStyle.textIndent="-99999px"),this.textareaStyle.overflowY="visible",this.textareaParentStyle.opacity="0",this.textareaParentStyle.height="1px",ge(this.TEXTAREA_PARENT,this.layerClass),ue(this.TEXTAREA_PARENT,vp)}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 t=this.TEXTAREA_PARENT.childNodes;let e=!1;ao(t.length-1,n=>{if(de(t[n],"handsontableEditor"))return e=!0,!1}),de(this.TEXTAREA_PARENT,vp)&&ge(this.TEXTAREA_PARENT,vp),e?(this.layerClass="ht_editor_visible",ue(this.TEXTAREA_PARENT,this.layerClass)):(this.layerClass=this.getEditedCellsLayerClass(),ue(this.TEXTAREA_PARENT,this.layerClass))}refreshValue(){const t=this.hot.toPhysicalRow(this.row),e=this.hot.getSourceDataAtCell(t,this.col);this.originalValue=e,this.setValue(e),this.refreshDimensions()}refreshDimensions(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.state!==yg.EDITING&&!t)return;if(this.TD=this.getEditedCell(),!this.TD)return void(t||this.close());const{top:e,start:n,width:o,maxWidth:i,height:r,maxHeight:s}=this.getEditedCellRect();this.textareaParentStyle.top=`${e}px`,this.textareaParentStyle[this.hot.isRtl()?"right":"left"]=`${n}px`,this.showEditableElement();const a=this.hot.rootWindow.getComputedStyle(this.TD);this.TEXTAREA.style.fontSize=a.fontSize,this.TEXTAREA.style.fontFamily=a.fontFamily,this.TEXTAREA.style.backgroundColor=this.TD.style.backgroundColor,this.autoResize.init(this.TEXTAREA,{minWidth:Math.min(o,i),minHeight:Math.min(r,s),maxWidth:i,maxHeight:s},!0)}bindEvents(){Kt()&&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===yg.EDITING&&this.focus()}),this.addHook("afterRowResize",()=>{this.refreshDimensions(),this.state===yg.EDITING&&this.focus()})}destroy(){this.eventManager.destroy(),this.clearHooks()}registerShortcuts(){const t=this.hot.getShortcutManager().getContext("editor"),e={runOnlyIf:()=>I(this.hot.getSelected()),group:yp},n=()=>{this.hot.rootDocument.execCommand("insertText",!1,"\n")};t.addShortcuts([{keys:[["Control","Enter"]],callback:()=>(n(),!1),runOnlyIf:t=>!this.hot.selection.isMultiple()&&!t.altKey},{keys:[["Meta","Enter"]],callback:()=>(n(),!1),runOnlyIf:()=>!this.hot.selection.isMultiple()},{keys:[["Alt","Enter"]],callback:()=>(n(),!1)},{keys:[["Home"]],callback:(t,e)=>{let[n]=e;bp(n,this.TEXTAREA)}},{keys:[["End"]],callback:(t,e)=>{let[n]=e;bp(n,this.TEXTAREA)}}],e)}unregisterShortcuts(){this.hot.getShortcutManager().getContext("editor").removeShortcutsByGroup(yp)}}function Sp(t,e,n,o,i,r,s){let a=r;!a&&s.placeholder&&(a=s.placeholder),a=H(a),s.trimWhitespace&&(a=a.trim()),Se(e,a)}Sp.RENDERER_TYPE="text";const Rp={CELL_TYPE:"text",editor:Cp,renderer:Sp};function kp(t,e){const n=new dp(t,e||{},ua);return n.init(),n}Zd(Rp),Po(up),kp.editors={BaseEditor:Cg},kp.Core=function(t){return new dp(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ua)},kp.DefaultSettings=eu(),kp.hooks=Mn.getSingleton(),kp.CellCoords=pi,kp.CellRange=Ci,kp.packageName="handsontable",kp.buildDate="25/03/2026 09:28:47",kp.version="17.0.1",kp.languages={dictionaryKeys:Rc,getLanguageDictionary:Hc,getLanguagesDictionaries:function(){return Tc()},registerLanguageDictionary:_c,getTranslatedPhrase:Ac},kp.themes={hasTheme:sp,getTheme:ap,getThemeNames:function(){return op()},getThemes:function(){return ip()},registerTheme:lp};var xp=null;function Ep(){var t;"undefined"!=typeof console&&(t=console).warn.apply(t,arguments)}function Mp(t){return Tp(t,"hot-renderer")?(Ep("Providing a component-based renderer using `hot-renderer`-annotated component is no longer supported. Pass your component using `renderer` prop of the `HotTable` or `HotColumn` component instead."),!0):!!Tp(t,"hot-editor")&&(Ep("Providing a component-based editor using `hot-editor`-annotated component is no longer supported. Pass your component using `editor` prop of the `HotTable` or `HotColumn` component instead."),!0)}function Tp(t,n){return e.Children.toArray(t).some(function(t){return void 0!==t.props[n]})}function _p(t,n){if(!t||!n||"boolean"==typeof n)return null;var o=e.createElement(n,null),i=Hp({},!1);return i.className="".concat("hot-wrapper-editor-container"," ").concat(i.className),p.createPortal(e.createElement("div",Object.assign({},i),o),t.body)}function Hp(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return{id:t.id||(e?"hot-"+Math.random().toString(36).substring(5):void 0),className:t.className||"",style:t.style||{}}}function Ip(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=Array(e);n<e;n++)o[n]=t[n];return o}function Ap(t,e,n){return e=Dp(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Lp()?Reflect.construct(e,n||[],Dp(t).constructor):e.apply(t,n))}function Pp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Op(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,Wp(o.key),o)}}function Np(t,e,n){return e&&Op(t.prototype,e),n&&Op(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Dp(t){return Dp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Dp(t)}function Lp(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Lp=function(){return!!t})()}function Vp(t,e){return Vp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Vp(t,e)}function Bp(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,i,r,s,a=[],l=!0,h=!1;try{if(r=(n=n.call(t)).next,0===e);else for(;!(l=(o=r.call(n)).done)&&(a.push(o.value),a.length!==e);l=!0);}catch(t){h=!0,i=t}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(h)throw i}}return a}}(t,e)||jp(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fp(t){return function(t){if(Array.isArray(t))return Ip(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||jp(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wp(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof e?e:e+""}function zp(t){return zp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zp(t)}function jp(t,e){if(t){if("string"==typeof t)return Ip(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ip(t,e):void 0}}var $p=function(){return Np(function t(){Pp(this,t)},null,[{key:"getSettings",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.prevProps,o=void 0===n?{}:n,i=e.isInit,r=void 0!==i&&i,s=e.initOnlySettingKeys,a=void 0===s?[]:s,l=function(e){return!(r||!a.includes(e))&&o[e]===t[e]},h={};for(var c in t)"children"!==c&&!l(c)&&t.hasOwnProperty(c)&&(h[c]=t[c]);return h}}])}(),Up=d(void 0),Yp=function(t){var n=t.children,o=i([]),a=r(function(t,e){o.current[e]=t},[]),l=i(new Map),h=i(new Map),c=r(function(){return h.current.clear()},[]),d=i(new Map),u=r(function(){return d.current.clear()},[]),g=i(new Map),f=r(function(t){return function(n,o,i,r,s,a,l){var c="".concat(i,"-").concat(r),u=n.guid,f="".concat(u,"-").concat(c),m="".concat(c,"-").concat(u);if(h.current.has(c)&&(o.innerHTML=h.current.get(c).innerHTML),o&&!o.getAttribute("ghost-table")){for(var b=d.current.get(m),w=g.current.get(f);o.firstChild;)o.removeChild(o.firstChild);if(b&&w)o.appendChild(w);else{var v=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;e||(e=document),xp||(xp=e.createDocumentFragment());var i=null!=o?o:e.createElement("DIV");return xp.appendChild(i),{portal:p.createPortal(t,i,n),portalContainer:i}}(e.createElement(t,{instance:n,TD:o,row:i,col:r,prop:s,value:a,cellProperties:l}),o.ownerDocument,m,w),y=v.portal,C=v.portalContainer;g.current.set(f,C),o.appendChild(C),d.current.set(m,y)}}return h.current.set("".concat(i,"-").concat(r),o),o}},[]),m=i(function(){}),b=r(function(t){m.current=t},[]),w=r(function(){m.current(Fp(d.current.values()))},[]),v=s(function(){return{componentRendererColumns:l.current,columnsSettings:o.current,emitColumnSettings:a,getRendererWrapper:f,clearPortalCache:u,clearRenderedCellCache:c,setRenderersPortalManagerRef:b,pushCellPortalsIntoPortalManager:w}},[a,f,c,b,w]);return e.createElement(Up.Provider,{value:v},n)};function Gp(){return u(Up)}var Kp=d(void 0),qp=function(t){var n=t.columnIndex,o=t.getOwnerDocument,i=t.children,r=s(function(){return{columnIndex:n,getOwnerDocument:o}},[n,o]);return e.createElement(Kp.Provider,{value:r},i)},Xp=["close","focus","open"],Zp=["getValue","setValue"],Jp={open:"onOpen",close:"onClose",prepare:"onPrepare",focus:"onFocus"};function Qp(t,e){return function(){function n(o){var i;return Pp(this,n),i=Ap(this,n,[o]),e.current=i,Object.getOwnPropertyNames(kp.editors.BaseEditor.prototype).forEach(function(e){if("constructor"!==e&&!Zp.includes(e)){var o=kp.editors.BaseEditor.prototype[e];n.prototype[e]=function(){for(var n,i,r,s=arguments.length,a=new Array(s),l=0;l<s;l++)a[l]=arguments[l];(Xp.includes(e)||(i=o.call.apply(o,[this].concat(a))),Jp[e]&&null!==(n=t.current)&&void 0!==n&&n[Jp[e]])&&(i=(r=t.current[Jp[e]]).call.apply(r,[this].concat(a)));return i}.bind(i)}}),i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Vp(t,e)}(n,kp.editors.BaseEditor),Np(n,[{key:"focus",value:function(){}},{key:"getValue",value:function(){return this.value}},{key:"setValue",value:function(t){this.value=t}},{key:"open",value:function(){}},{key:"close",value:function(){}}])}()}var tm=d(void 0),em=function(t){var n=t.hooksRef,o=t.hotCustomEditorInstanceRef,i=t.children;return e.createElement(tm.Provider,{value:{hooksRef:n,hotCustomEditorInstanceRef:o}},i)},nm=function(t){return t.type===im},om=["_columnIndex","_getOwnerDocument","children"],im=function(t){var n=Gp(),o=n.componentRendererColumns,r=n.emitColumnSettings,s=n.getRendererWrapper,l=u(Kp),h=l.columnIndex,c=l.getOwnerDocument,d=i(null),g=i(null);a(function(){var n,i=function(){var e=$p.getSettings(Object.keys(t).filter(function(t){return!om.includes(t)}).reduce(function(e,n){return e[n]=t[n],e},{}));return t.renderer?(e.renderer=s(t.renderer),o.set(h,!0)):t.hotRenderer&&(e.renderer=t.hotRenderer),t.editor?e.editor=Qp(d,g):t.hotEditor&&(e.editor=t.hotEditor),e}();r(i,h),Mp(t.children)||(n=t.children,e.Children.toArray(n).length&&Ep("Unexpected children nodes found in HotColumn component. HotColumn components do not support any children."))});var f=_p(c(),t.editor);return e.createElement(em,{hooksRef:d,hotCustomEditorInstanceRef:g},f)},rm=n(function(t,n){var o=Bp(g([]),2),i=o[0],r=o[1];return l(n,function(){return r}),e.createElement(c,null,i)});function sm(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var am,lm={exports:{}},hm={exports:{}},cm={};var dm,um,gm,fm,pm,mm,bm,wm,vm,ym,Cm,Sm,Rm,km,xm={};function Em(){return um||(um=1,"production"===process.env.NODE_ENV?hm.exports=function(){if(am)return cm;am=1;var t="function"==typeof Symbol&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,r=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,a=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,h=t?Symbol.for("react.concurrent_mode"):60111,c=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,u=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,f=t?Symbol.for("react.lazy"):60116,p=t?Symbol.for("react.block"):60121,m=t?Symbol.for("react.fundamental"):60117,b=t?Symbol.for("react.responder"):60118,w=t?Symbol.for("react.scope"):60119;function v(t){if("object"===zp(t)&&null!==t){var u=t.$$typeof;switch(u){case e:switch(t=t.type){case l:case h:case o:case r:case i:case d:return t;default:switch(t=t&&t.$$typeof){case a:case c:case f:case g:case s:return t;default:return u}}case n:return u}}}function y(t){return v(t)===h}return cm.AsyncMode=l,cm.ConcurrentMode=h,cm.ContextConsumer=a,cm.ContextProvider=s,cm.Element=e,cm.ForwardRef=c,cm.Fragment=o,cm.Lazy=f,cm.Memo=g,cm.Portal=n,cm.Profiler=r,cm.StrictMode=i,cm.Suspense=d,cm.isAsyncMode=function(t){return y(t)||v(t)===l},cm.isConcurrentMode=y,cm.isContextConsumer=function(t){return v(t)===a},cm.isContextProvider=function(t){return v(t)===s},cm.isElement=function(t){return"object"===zp(t)&&null!==t&&t.$$typeof===e},cm.isForwardRef=function(t){return v(t)===c},cm.isFragment=function(t){return v(t)===o},cm.isLazy=function(t){return v(t)===f},cm.isMemo=function(t){return v(t)===g},cm.isPortal=function(t){return v(t)===n},cm.isProfiler=function(t){return v(t)===r},cm.isStrictMode=function(t){return v(t)===i},cm.isSuspense=function(t){return v(t)===d},cm.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===h||t===r||t===i||t===d||t===u||"object"===zp(t)&&null!==t&&(t.$$typeof===f||t.$$typeof===g||t.$$typeof===s||t.$$typeof===a||t.$$typeof===c||t.$$typeof===m||t.$$typeof===b||t.$$typeof===w||t.$$typeof===p)},cm.typeOf=v,cm}():hm.exports=(dm||(dm=1,"production"!==process.env.NODE_ENV&&function(){var t="function"==typeof Symbol&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,r=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,a=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,h=t?Symbol.for("react.concurrent_mode"):60111,c=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,u=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,f=t?Symbol.for("react.lazy"):60116,p=t?Symbol.for("react.block"):60121,m=t?Symbol.for("react.fundamental"):60117,b=t?Symbol.for("react.responder"):60118,w=t?Symbol.for("react.scope"):60119;function v(t){if("object"===zp(t)&&null!==t){var u=t.$$typeof;switch(u){case e:var p=t.type;switch(p){case l:case h:case o:case r:case i:case d:return p;default:var m=p&&p.$$typeof;switch(m){case a:case c:case f:case g:case s:return m;default:return u}}case n:return u}}}var y=l,C=h,S=a,R=s,k=e,x=c,E=o,M=f,T=g,_=n,H=r,I=i,A=d,P=!1;function O(t){return v(t)===h}xm.AsyncMode=y,xm.ConcurrentMode=C,xm.ContextConsumer=S,xm.ContextProvider=R,xm.Element=k,xm.ForwardRef=x,xm.Fragment=E,xm.Lazy=M,xm.Memo=T,xm.Portal=_,xm.Profiler=H,xm.StrictMode=I,xm.Suspense=A,xm.isAsyncMode=function(t){return P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(t)||v(t)===l},xm.isConcurrentMode=O,xm.isContextConsumer=function(t){return v(t)===a},xm.isContextProvider=function(t){return v(t)===s},xm.isElement=function(t){return"object"===zp(t)&&null!==t&&t.$$typeof===e},xm.isForwardRef=function(t){return v(t)===c},xm.isFragment=function(t){return v(t)===o},xm.isLazy=function(t){return v(t)===f},xm.isMemo=function(t){return v(t)===g},xm.isPortal=function(t){return v(t)===n},xm.isProfiler=function(t){return v(t)===r},xm.isStrictMode=function(t){return v(t)===i},xm.isSuspense=function(t){return v(t)===d},xm.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===h||t===r||t===i||t===d||t===u||"object"===zp(t)&&null!==t&&(t.$$typeof===f||t.$$typeof===g||t.$$typeof===s||t.$$typeof===a||t.$$typeof===c||t.$$typeof===m||t.$$typeof===b||t.$$typeof===w||t.$$typeof===p)},xm.typeOf=v}()),xm)),hm.exports}
|
|
41
|
+
that does not exist. Before activation, register the context using the "addContext" method.`),s=t},isCtrlPressed:()=>!c&&(u.isPressed("control")||u.isPressed("meta")),releasePressedKeys:()=>u.releasePressedKeys(),destroy:()=>u.unmount()}};function Vg(t){const{classNames:e}=function(t,e){const n={element:void 0,classNames:[]};let o=t;for(;null!==o&&o!==t.ownerDocument.documentElement&&!n.element;){if("string"==typeof e&&o.classList.contains(e))n.element=o,n.classNames.push(e);else if(e instanceof RegExp){const t=Array.from(o.classList).filter(t=>e.test(t));t.length&&(n.element=o,n.classNames.push(...t))}o=o.parentElement}return n}(t,/ht-theme-[a-zA-Z0-9_-]+/);return e.pop()}function Bg(t,e,n){Fg(t,e),e.set(t,n)}function Fg(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Wg(t,e){return t.get(jg(t,e))}function zg(t,e,n){return t.set(jg(t,e),n),n}function jg(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}const $g="handsontable-core-styles";var Ug=new WeakMap,Yg=new WeakMap,Gg=new WeakMap,Kg=new WeakMap,qg=new WeakMap,Xg=new WeakMap,Zg=new WeakMap,Jg=new WeakMap,Qg=new WeakSet;class tf{constructor(t){let{hot:e,rootElement:n,rootDocument:o,onThemeChange:i=()=>{},injectCoreCss:r=!0}=t;var s,a;Fg(s=this,a=Qg),a.add(s),Bg(this,Ug,void 0),Bg(this,Yg,void 0),Bg(this,Gg,void 0),Bg(this,Kg,void 0),Bg(this,qg,void 0),Bg(this,Xg,{}),Bg(this,Zg,{}),Bg(this,Jg,void 0),zg(Ug,this,e),zg(Gg,this,n),zg(qg,this,o),zg(Jg,this,i),r&&jg(Qg,this,ef).call(this)}getCSSVariableValue(t){var e;if(Wg(Xg,this)[`--ht-${t}`])return Wg(Xg,this)[`--ht-${t}`];const n=null!==(e=jg(Qg,this,sf).call(this,`--ht-${t}`))&&void 0!==e?e:jg(Qg,this,af).call(this,`--ht-${t}`);return null!==n?(Wg(Xg,this)[`--ht-${t}`]=n,n):void 0}getStyleForTD(t){var e;return null===(e=Wg(Zg,this))||void 0===e||null===(e=e.td)||void 0===e?void 0:e[t]}getDefaultRowHeight(t){const e=jg(Qg,this,nf).call(this);return void 0!==t&&t===Wg(Ug,this).view.getFirstRenderedVisibleRow()?e+1:e}areCellsBorderBox(){return"border-box"===this.getStyleForTD("box-sizing")}useTheme(t){/ht-theme-.*/.test(t)?(jg(Qg,this,lf).call(this),t&&t!==Wg(Yg,this)&&zg(Yg,this,t),Wg(Jg,this).call(this,Wg(Yg,this)),jg(Qg,this,of).call(this)):Qt(`${t} isn't a valid theme name. Please ensure it follows the format ht-theme-<theme-name>.`)}getThemeName(){return Wg(Yg,this)}clearCache(){jg(Qg,this,lf).call(this),jg(Qg,this,of).call(this)}}function ef(){if(!Wg(Ug,this)||!Wg(qg,this)||!Wg(qg,this).head)return;const t=Wg(qg,this).getElementById($g);if(t&&t instanceof HTMLStyleElement)return;const e=Wg(qg,this).createElement("style");e.id=$g,e.textContent='/*!\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.1\n * Release date: 25/03/2026 (built at 25/03/2026 09:28:45)\n */\n.ht-root-wrapper {\n font-family: var(--ht-font-family), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;\n position: relative;\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\n.htFocusCatcher {\n display: block !important;\n position: absolute;\n width: 0;\n height: 0;\n margin: 0;\n padding: 0;\n border: 0;\n opacity: 0;\n z-index: -1;\n}\n\n.ht-grid {\n flex: 1 1 auto;\n min-height: 0;\n}\n\n.htScrollbarTest {\n scrollbar-width: auto;\n scrollbar-color: var(--ht-scrollbar-thumb-color) var(--ht-scrollbar-track-color);\n}\n\n.htScrollbarSafariTest::-webkit-scrollbar {\n width: 9px;\n height: 9px;\n}\n\n.handsontable {\n font-family: var(--ht-font-family), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;\n position: relative;\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n font-weight: var(--ht-font-weight);\n letter-spacing: var(--ht-letter-spacing);\n color: var(--ht-foreground-color);\n /* Miscellaneous */\n touch-action: manipulation;\n}\n.handsontable .wtHolder {\n scrollbar-width: auto;\n scrollbar-color: var(--ht-scrollbar-thumb-color) var(--ht-scrollbar-track-color);\n}\n.handsontable .wtHolder::-webkit-scrollbar {\n width: 9px;\n height: 9px;\n}\n.handsontable .wtHolder::-webkit-scrollbar-track {\n background: var(--ht-scrollbar-track-color);\n border-radius: var(--ht-scrollbar-border-radius);\n}\n.handsontable .wtHolder::-webkit-scrollbar-thumb {\n background-color: var(--ht-scrollbar-thumb-color);\n border-radius: var(--ht-scrollbar-border-radius);\n}\n.handsontable .wtHolder::-webkit-scrollbar-corner {\n background: var(--ht-scrollbar-track-color);\n border-end-end-radius: var(--ht-scrollbar-border-radius);\n}\n.handsontable.ht-wrapper {\n border-radius: var(--ht-wrapper-border-radius, 0);\n height: 100%;\n width: 100%;\n}\n.handsontable.ht-wrapper:not(.htFirstDatasetColumnNotRendered) td:first-of-type {\n border-inline-start-width: 1px;\n}\n.handsontable.ht-wrapper::before {\n content: "";\n display: block;\n position: absolute;\n inset: 0;\n border: var(--ht-wrapper-border-width) solid var(--ht-wrapper-border-color);\n border-radius: var(--ht-wrapper-border-radius, 0);\n z-index: 999;\n pointer-events: none;\n overflow: hidden;\n}\n.handsontable.htGhostTable.htNestedHeaders table {\n border-spacing: 0;\n border-collapse: collapse;\n}\n.handsontable.htGhostTable table thead th {\n border-bottom-width: 0;\n}\n.handsontable.htGhostTable table tbody tr:first-of-type th:first-child,\n.handsontable.htGhostTable table tbody tr:first-of-type td:first-child {\n height: calc(var(--ht-cell-vertical-padding) * 2 + var(--ht-line-height) + 1px);\n}\n.handsontable.htGhostTable table tbody tr th,\n.handsontable.htGhostTable table tbody tr td {\n border-top-width: 0;\n height: calc(var(--ht-cell-vertical-padding) * 2 + var(--ht-line-height) + 1px);\n}\n.handsontable.htHasScrollX:not(.htHorizontallyScrollableByWindow):not(.htScrollbarHidden) .ht_master .wtHolder, .handsontable.htHasScrollY:not(.htVerticallyScrollableByWindow):not(.htScrollbarHidden) .ht_master .wtHolder {\n border-radius: var(--ht-wrapper-border-radius, 0);\n}\n.handsontable:not(.htHorizontallyScrollableByWindow).htPagination .ht_master .wtHolder, .handsontable:not(.htHorizontallyScrollableByWindow).htHasScrollX .ht_master .wtHolder, .handsontable:not(.htHorizontallyScrollableByWindow).htHasScrollY .ht_master .wtHolder, .handsontable:not(.htVerticallyScrollableByWindow).htPagination .ht_master .wtHolder, .handsontable:not(.htVerticallyScrollableByWindow).htHasScrollX .ht_master .wtHolder, .handsontable:not(.htVerticallyScrollableByWindow).htHasScrollY .ht_master .wtHolder {\n background-color: var(--ht-background-color);\n}\n.handsontable tr.ht__row_even th {\n background-color: var(--ht-row-header-even-background-color);\n}\n.handsontable tr.ht__row_even td {\n background-color: var(--ht-row-cell-even-background-color);\n}\n.handsontable tr.ht__row_odd th {\n background-color: var(--ht-row-header-odd-background-color);\n}\n.handsontable tr.ht__row_odd td {\n background-color: var(--ht-row-cell-odd-background-color);\n}\n.handsontable th,\n.handsontable td {\n height: calc(var(--ht-cell-vertical-padding) * 2 + var(--ht-line-height) + 1px);\n padding: var(--ht-cell-vertical-padding) var(--ht-cell-horizontal-padding);\n vertical-align: top;\n border-top-width: 0;\n border-inline-start-width: 0;\n border-inline-end-width: 1px;\n border-bottom-width: 1px;\n border-style: solid;\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n white-space: pre-wrap;\n overflow: hidden;\n outline: none;\n outline-width: 0;\n empty-cells: show;\n box-sizing: border-box;\n color: var(--ht-foreground-color);\n border-top-color: var(--ht-cell-vertical-border-color);\n border-bottom-color: var(--ht-cell-vertical-border-color);\n border-inline-start-color: var(--ht-cell-horizontal-border-color);\n border-inline-end-color: var(--ht-cell-horizontal-border-color);\n}\n.handsontable th.invisibleSelection,\n.handsontable td.invisibleSelection {\n outline: none;\n}\n.handsontable th.invisibleSelection::selection,\n.handsontable td.invisibleSelection::selection {\n background: transparent;\n}\n.handsontable th {\n position: relative;\n overflow: visible;\n text-align: center;\n font-weight: var(--ht-header-font-weight);\n white-space: nowrap;\n color: var(--ht-header-foreground-color);\n background-color: var(--ht-header-background-color);\n}\n.handsontable th:last-child {\n /* Foundation framework fix */\n border-inline-start-width: 0;\n border-inline-end-width: 1px;\n border-bottom-width: 1px;\n border-inline-end-color: var(--ht-border-color);\n}\n.handsontable th:last-child.ht__active_highlight {\n border-inline-end-color: var(--ht-header-active-border-color);\n}\n.handsontable th:first-child {\n border-inline-start-color: var(--ht-border-color);\n}\n.handsontable th:first-child.ht__active_highlight {\n border-inline-start-color: var(--ht-header-active-border-color);\n}\n.handsontable th:first-child, .handsontable th:nth-child(2) {\n border-inline-start-width: 1px;\n}\n.handsontable th.current {\n box-shadow: inset 0 0 0 1px var(--ht-cell-selection-border-color);\n}\n.handsontable th.active {\n color: var(--ht-header-active-foreground-color);\n background-color: var(--ht-header-active-background-color);\n}\n.handsontable th.ht__highlight {\n color: var(--ht-header-highlighted-foreground-color);\n background-color: var(--ht-header-highlighted-background-color);\n}\n.handsontable th.ht__active_highlight {\n border-color: var(--ht-header-active-border-color);\n color: var(--ht-header-active-foreground-color);\n background-color: var(--ht-header-active-background-color);\n}\n.handsontable tbody tr.ht__row_odd th.ht__highlight, .handsontable tbody tr.ht__row_even th.ht__highlight {\n color: var(--ht-header-row-highlighted-foreground-color);\n background-color: var(--ht-header-row-highlighted-background-color);\n}\n.handsontable tbody tr.ht__row_odd th.ht__active_highlight, .handsontable tbody tr.ht__row_even th.ht__active_highlight {\n color: var(--ht-header-row-active-foreground-color);\n background-color: var(--ht-header-row-active-background-color);\n}\n.handsontable tbody tr:first-of-type th:first-child:empty::after,\n.handsontable tbody tr:first-of-type td:first-child:empty::after {\n content: "";\n display: block;\n min-height: var(--ht-line-height);\n}\n.handsontable tbody tr th {\n padding: 0;\n color: var(--ht-header-row-foreground-color);\n background-color: var(--ht-header-row-background-color);\n}\n.handsontable tbody tr th.ht__active_highlight {\n box-shadow: 0 -1px 0 0 var(--ht-header-active-border-color);\n}\n.handsontable tbody tr th .relative {\n padding: var(--ht-cell-vertical-padding) var(--ht-cell-horizontal-padding);\n min-height: 100%;\n}\n.handsontable tbody tr td:first-child {\n border-inline-start-color: var(--ht-border-color);\n}\n.handsontable tbody tr td:last-child {\n border-inline-end-color: var(--ht-border-color);\n}\n.handsontable thead tr th {\n padding: 0;\n}\n.handsontable thead tr th.ht__active_highlight {\n box-shadow: -1px 0 0 0 var(--ht-header-active-border-color);\n}\n.handsontable thead tr th .relative {\n padding: var(--ht-cell-vertical-padding) var(--ht-cell-horizontal-padding);\n}\n.handsontable thead tr th .relative .colHeader {\n text-overflow: ellipsis;\n overflow: hidden;\n vertical-align: top;\n max-width: calc(100% + 1px);\n}\n.handsontable thead tr th .relative:has(.collapsibleIndicator, .changeType) .colHeader {\n max-width: calc(100% - (var(--ht-icon-size) + var(--ht-gap-size)) - 1px);\n}\n.handsontable tr:first-child th,\n.handsontable tr:first-child td {\n border-top-color: var(--ht-border-color);\n border-top-width: 1px;\n}\n.handsontable tr:first-child th.ht__active_highlight,\n.handsontable tr:first-child td.ht__active_highlight {\n border-top-color: var(--ht-header-active-border-color);\n}\n.handsontable tr:last-child th,\n.handsontable tr:last-child td {\n border-bottom-color: var(--ht-border-color);\n}\n.handsontable tr:last-child th.ht__active_highlight,\n.handsontable tr:last-child td.ht__active_highlight {\n border-bottom-color: var(--ht-header-active-border-color);\n}\n.handsontable div[class^=ht_clone] thead .ht__highlight .relative::after {\n content: "";\n display: block;\n position: absolute;\n left: -1px;\n right: -1px;\n bottom: -1px;\n height: var(--ht-header-highlighted-shadow-size);\n background-color: var(--ht-accent-color);\n}\n.handsontable div[class^=ht_clone] thead tr:only-of-type .ht__highlight .relative::after {\n bottom: 0;\n}\n.handsontable div[class^=ht_clone] tbody .ht__highlight .relative::after {\n content: "";\n display: block;\n position: absolute;\n top: -1px;\n right: -1px;\n bottom: -1px;\n width: var(--ht-header-highlighted-shadow-size);\n background-color: var(--ht-accent-color);\n}\n.handsontable div[class^=ht_clone] td:first-of-type {\n border-inline-start-width: 1px;\n}\n.handsontable thead tr:not(:last-child) th {\n /* Fix for - nested columns with hidden column */\n overflow: hidden;\n}\n.handsontable .hide {\n display: none;\n}\n.handsontable .relative {\n position: relative;\n box-sizing: border-box;\n}\n.handsontable .wtHider {\n width: 0;\n}\n.handsontable .wtSpreader {\n position: relative;\n /* must be 0, otherwise blank space appears in scroll demo after scrolling max to the right */\n width: 0;\n height: auto;\n}\n.handsontable .htAutoSize {\n position: absolute;\n left: -99000px;\n top: -99000px;\n visibility: hidden;\n}\n.handsontable .htTextEllipsis {\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}\n.handsontable table,\n.handsontable tbody,\n.handsontable thead,\n.handsontable input,\n.handsontable textarea,\n.handsontable div {\n box-sizing: content-box;\n}\n.handsontable input,\n.handsontable textarea {\n min-height: initial;\n}\n.handsontable .htCore {\n width: 0;\n margin: 0;\n border-width: 0;\n border-spacing: 0;\n border-collapse: separate;\n outline-width: 0;\n table-layout: fixed;\n cursor: default;\n background-color: var(--ht-background-color);\n}\n.handsontable col {\n width: 64px;\n}\n.handsontable col.rowHeader {\n width: 64px;\n}\n.handsontable col.hidden {\n width: 0 !important;\n}\n.handsontable span.colHeader, .handsontable span.rowHeader {\n display: inline-block;\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n}\n.handsontable tr.hidden {\n display: none;\n}\n.handsontable tr.hidden td,\n.handsontable tr.hidden th {\n display: none;\n}\n.handsontable a {\n color: var(--ht-link-color);\n}\n.handsontable a:hover {\n color: var(--ht-link-hover-color);\n}\n.handsontable .ht_clone_top th:nth-child(2) {\n border-inline-start-width: 0;\n border-inline-end-width: 1px;\n}\n.handsontable.htRowHeaders thead tr th:nth-child(2) {\n border-inline-start-width: 1px;\n}\n.handsontable .ht_master:not(.innerBorderInlineStart):not(.emptyColumns) tbody tr th,\n.handsontable .ht_master:not(.innerBorderInlineStart):not(.emptyColumns) thead tr th:first-child,\n.handsontable .ht_master:not(.innerBorderInlineStart):not(.emptyColumns) ~ .handsontable:not(.htGhostTable) tbody tr th,\n.handsontable .ht_master:not(.innerBorderInlineStart):not(.emptyColumns) ~ .handsontable:not(.ht_clone_top):not(.htGhostTable) thead tr th:first-child {\n border-inline-end-width: 0;\n border-inline-start-width: 1px;\n}\n.handsontable .ht_master:not(.innerBorderTop):not(.innerBorderBottom) thead tr:last-child th, .handsontable .ht_master:not(.innerBorderTop):not(.innerBorderBottom) ~ .handsontable thead tr:last-child th,\n.handsontable .ht_master:not(.innerBorderTop):not(.innerBorderBottom) thead tr.lastChild th, .handsontable .ht_master:not(.innerBorderTop):not(.innerBorderBottom) ~ .handsontable thead tr.lastChild th {\n border-bottom-width: 0;\n}\n.handsontable.htAutoRowSize .ht_master.innerBorderTop tbody tr:first-child th,\n.handsontable.htAutoRowSize .ht_master.innerBorderTop tbody tr:first-child td {\n border-top-width: 0;\n}\n.handsontable.htAutoRowSize .ht_master.innerBorderTop ~ .ht_clone_inline_start tbody tr:first-child th,\n.handsontable.htAutoRowSize .ht_master.innerBorderTop ~ .ht_clone_inline_start tbody tr:first-child td {\n border-top-width: 0;\n}\n.handsontable .ht_master table.htCore > thead,\n.handsontable .ht_master table.htCore > tbody > tr > th,\n.handsontable .ht_clone_inline_start table.htCore > thead {\n visibility: hidden;\n}\n\n.ht_master,\n.ht_clone_inline_start,\n.ht_clone_top,\n.ht_clone_bottom {\n overflow: hidden;\n}\n.ht_master .wtHolder,\n.ht_clone_inline_start .wtHolder,\n.ht_clone_top .wtHolder,\n.ht_clone_bottom .wtHolder {\n overflow: hidden;\n}\n\n.ht_master .wtHolder {\n overflow: auto;\n}\n\n[dir=rtl].handsontable td[dir=ltr] {\n border-inline-end-width: 0;\n border-inline-start-width: 1px;\n}\n[dir=rtl].handsontable tbody tr td[dir=ltr]:last-child {\n border-inline-start-color: var(--ht-border-color);\n}\n[dir=rtl].handsontable div[class^=ht_clone] tbody .ht__highlight .relative::after {\n right: auto;\n left: -1px;\n}\n\n.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_master .htCore tbody tr:first-child td:first-child {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_master .htCore tbody tr:first-child td:last-child {\n border-start-end-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_top_inline_start_corner .htCore tbody tr:first-child td:first-child {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_top .htCore tbody tr:first-child td:first-child {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_top .htCore tbody tr:first-child td:last-child {\n border-start-end-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_inline_start .htCore tbody tr:first-child th:first-child,\n.handsontable.ht-wrapper:not(.htColumnHeaders) .ht_clone_inline_start .htCore tbody tr:first-child td:first-child {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_master .htCore {\n border-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_master .htCore thead tr:first-child th:first-child {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_master .htCore thead tr:first-child th:last-child {\n border-start-end-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_master .htCore thead tr:last-child th:first-child {\n border-end-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_master .htCore thead tr:last-child th:last-child {\n border-end-end-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_master .htCore tbody tr:last-child td:first-child {\n border-end-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_master .htCore tbody tr:last-child td:last-child {\n border-end-end-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_top_inline_start_corner .htCore {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_top_inline_start_corner .htCore thead tr:first-child th:first-child {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_top .htCore {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n border-start-end-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_top .htCore thead tr:first-child th:first-child {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_top .htCore thead tr:first-child th:last-child {\n border-start-end-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_inline_start .htCore {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n border-end-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_inline_start .htCore thead tr:first-child th:first-child {\n border-start-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_inline_start .htCore tbody tr:last-child th:first-child,\n.handsontable.ht-wrapper .ht_clone_inline_start .htCore tbody tr:last-child td:first-child {\n border-end-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore {\n border-end-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore tr:last-child th:first-child,\n.handsontable.ht-wrapper .ht_clone_bottom_inline_start_corner .htCore tr:last-child td:first-child {\n border-end-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_bottom .htCore {\n border-end-start-radius: var(--ht-wrapper-border-radius);\n border-end-end-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child th:first-child,\n.handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child td:first-child {\n border-end-start-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child th:last-child,\n.handsontable.ht-wrapper .ht_clone_bottom .htCore tr:last-child td:last-child {\n border-end-end-radius: var(--ht-wrapper-border-radius);\n}\n.handsontable.ht-wrapper.htHasScrollX .htCore {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n}\n.handsontable.ht-wrapper.htHasScrollX .htCore thead tr:last-child th:first-child,\n.handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child td:first-child,\n.handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child th:first-child {\n border-end-start-radius: 0 !important;\n}\n.handsontable.ht-wrapper.htHasScrollX .htCore thead tr:last-child th:last-child,\n.handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child td:last-child,\n.handsontable.ht-wrapper.htHasScrollX .htCore tbody tr:last-child th:last-child {\n border-end-end-radius: 0 !important;\n}\n.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore {\n border-start-end-radius: 0;\n border-end-end-radius: 0;\n}\n.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore thead tr:first-child th:last-child,\n.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore tbody tr:first-child td:last-child,\n.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore tbody tr:first-child th:last-child {\n border-start-end-radius: 0 !important;\n}\n.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore thead tr:last-child th:last-child,\n.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore tbody tr:last-child td:last-child,\n.handsontable.ht-wrapper.htHasScrollY:not(.htVerticallyScrollableByWindow) .htCore tbody tr:last-child th:last-child {\n border-end-end-radius: 0 !important;\n}\n\n.handsontable.mobile {\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n -webkit-overflow-scrolling: touch;\n}\n.handsontable.mobile .wtHolder {\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n -webkit-overflow-scrolling: touch;\n}\n.handsontable.mobile .handsontableInput:focus {\n box-shadow: inset 0 0 0 2px var(--ht-accent-color);\n -webkit-appearance: none;\n}\n.handsontable .topSelectionHandle,\n.handsontable .topSelectionHandle-HitArea,\n.handsontable .bottomSelectionHandle,\n.handsontable .bottomSelectionHandle-HitArea {\n inset-inline-start: -10000px;\n inset-inline-end: unset;\n top: -10000px;\n z-index: 9999;\n}\n.handsontable.hide-tween {\n -webkit-animation: opacity-hide 0.2s;\n animation: opacity-hide 0.2s;\n animation-fill-mode: forwards;\n -webkit-animation-fill-mode: forwards;\n}\n.handsontable.show-tween {\n -webkit-animation: opacity-show 0.3s;\n animation: opacity-show 0.3s;\n animation-fill-mode: forwards;\n -webkit-animation-fill-mode: forwards;\n}\n\n.ht_clone_master {\n z-index: 100;\n}\n\n.ht_clone_inline_start {\n z-index: 120;\n}\n\n.ht_clone_bottom {\n z-index: 130;\n}\n\n.ht_clone_bottom_inline_start_corner {\n z-index: 150;\n}\n\n.ht_clone_top {\n z-index: 160;\n}\n\n.ht_clone_top_inline_start_corner {\n z-index: 180;\n}\n\n.ht_editor_hidden {\n z-index: -1;\n}\n\n.ht_editor_visible {\n z-index: 200;\n}\n\n.handsontable td.area {\n position: relative;\n}\n.handsontable td.area::before {\n content: "";\n position: absolute;\n inset: 0;\n background: var(--ht-cell-selection-background-color, #1a42e8);\n}\n.handsontable td.area-1 {\n position: relative;\n}\n.handsontable td.area-1::before {\n content: "";\n position: absolute;\n inset: 0;\n background: var(--ht-cell-selection-background-color, #1a42e8);\n}\n.handsontable td.area-2 {\n position: relative;\n}\n.handsontable td.area-2::before {\n content: "";\n position: absolute;\n inset: 0;\n background: var(--ht-cell-selection-background-color, #1a42e8);\n}\n.handsontable td.area-3 {\n position: relative;\n}\n.handsontable td.area-3::before {\n content: "";\n position: absolute;\n inset: 0;\n background: var(--ht-cell-selection-background-color, #1a42e8);\n}\n.handsontable td.area-4 {\n position: relative;\n}\n.handsontable td.area-4::before {\n content: "";\n position: absolute;\n inset: 0;\n background: var(--ht-cell-selection-background-color, #1a42e8);\n}\n.handsontable td.area-5 {\n position: relative;\n}\n.handsontable td.area-5::before {\n content: "";\n position: absolute;\n inset: 0;\n background: var(--ht-cell-selection-background-color, #1a42e8);\n}\n.handsontable td.area-6 {\n position: relative;\n}\n.handsontable td.area-6::before {\n content: "";\n position: absolute;\n inset: 0;\n background: var(--ht-cell-selection-background-color, #1a42e8);\n}\n.handsontable td.area-7 {\n position: relative;\n}\n.handsontable td.area-7::before {\n content: "";\n position: absolute;\n inset: 0;\n background: var(--ht-cell-selection-background-color, #1a42e8);\n}\n.handsontable td.area::before {\n opacity: 0.14;\n}\n.handsontable td.area-1::before {\n opacity: 0.21;\n}\n.handsontable td.area-2::before {\n opacity: 0.28;\n}\n.handsontable td.area-3::before {\n opacity: 0.35;\n}\n.handsontable td.area-4::before {\n opacity: 0.42;\n}\n.handsontable td.area-5::before {\n opacity: 0.49;\n}\n.handsontable td.area-6::before {\n opacity: 0.56;\n}\n.handsontable td.area-7::before {\n opacity: 0.63;\n}\n.handsontable td.area {\n border-color: color-mix(in srgb, var(--ht-border-color), var(--ht-foreground-color) 10%);\n}\n.handsontable .wtBorder {\n position: absolute;\n font-size: 0;\n}\n.handsontable .wtBorder:nth-child(1), .handsontable .wtBorder:nth-child(3) {\n z-index: 2;\n}\n.handsontable .wtBorder:nth-child(2), .handsontable .wtBorder:nth-child(4) {\n z-index: 1;\n}\n.handsontable .wtBorder.hidden {\n display: none !important;\n}\n.handsontable .wtBorder.current {\n z-index: 10;\n background-color: var(--ht-cell-selection-border-color) !important;\n}\n.handsontable .wtBorder.area {\n z-index: 8;\n background-color: var(--ht-cell-selection-border-color) !important;\n}\n.handsontable .wtBorder.fill {\n z-index: 6;\n background-color: var(--ht-cell-autofill-fill-border-color, #68696c) !important;\n}\n.handsontable .wtBorder.corner {\n border-radius: var(--ht-cell-autofill-border-radius) !important;\n background-color: var(--ht-cell-autofill-background-color, #1a42e8) !important;\n border-color: var(--ht-cell-autofill-border-color) !important;\n font-size: 0;\n cursor: crosshair;\n z-index: 10;\n}\n.handsontable .wtBorder.corner::after {\n content: "";\n position: absolute;\n border-radius: var(--ht-cell-autofill-border-radius);\n inset: min(0px, (var(--ht-cell-autofill-size) - var(--ht-cell-autofill-hit-area-size)) / 2);\n background: transparent;\n}\n.handsontable .wtBorder.corner.wtCornerInlineEndEdge::after {\n inset-inline-end: 0;\n}\n.handsontable .wtBorder.corner.wtCornerBlockEndEdge::after {\n inset-block-end: 0;\n}\n\n.hot-display-license-info {\n font-family: var(--ht-font-family), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;\n padding: var(--ht-license-vertical-padding, 16px) var(--ht-license-horizontal-padding, 16px);\n font-size: var(--ht-font-size-small);\n line-height: var(--ht-line-height-small);\n color: var(--ht-license-foreground-color);\n background-color: var(--ht-license-background-color, #f7f7f9);\n text-align: left;\n border: 1px solid var(--ht-border-color, #f7f7f9);\n margin-top: 10px;\n border-radius: var(--ht-wrapper-border-radius);\n}\n.hot-display-license-info a {\n font-size: var(--ht-license-font-size);\n color: var(--ht-link-color);\n}\n.hot-display-license-info a:hover {\n color: var(--ht-link-hover-color);\n}\n\n.handsontable .htAutocompleteArrow {\n position: relative;\n cursor: default;\n width: var(--ht-icon-size);\n height: var(--ht-icon-size);\n font-size: 0;\n float: right;\n top: calc((var(--ht-line-height) - var(--ht-icon-size)) / 2);\n margin-inline-start: calc(var(--ht-gap-size) * 2);\n margin-inline-end: 1px;\n}\n.handsontable .htAutocompleteArrow::after {\n content: "";\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n opacity: 0.6;\n}\n\n[dir=rtl].handsontable .htAutocompleteArrow {\n float: left;\n}\n\n.handsontable .htCheckboxRendererInput {\n position: relative;\n display: inline-block;\n width: var(--ht-checkbox-size);\n height: var(--ht-checkbox-size);\n margin: 0;\n vertical-align: middle;\n cursor: pointer;\n margin-top: -2px;\n outline: none;\n}\n.handsontable .htCheckboxRendererInput:first-child {\n margin-inline-end: var(--ht-gap-size);\n}\n.handsontable .htCheckboxRendererInput:last-child {\n margin-inline-start: var(--ht-gap-size);\n}\n.handsontable .htCheckboxRendererInput::before {\n content: "";\n display: inline-block;\n position: absolute;\n top: 0;\n left: 0;\n width: var(--ht-checkbox-size);\n height: var(--ht-checkbox-size);\n border-radius: var(--ht-checkbox-border-radius);\n border: 1px solid var(--ht-checkbox-border-color);\n background-color: var(--ht-checkbox-background-color);\n box-sizing: border-box;\n pointer-events: none;\n transition: all var(--ht-table-transition) ease-in-out;\n}\n.handsontable .htCheckboxRendererInput::after {\n content: "";\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n color: var(--ht-checkbox-icon-color);\n pointer-events: none;\n width: var(--ht-checkbox-size) !important;\n height: var(--ht-checkbox-size) !important;\n}\n.handsontable .htCheckboxRendererInput:checked::before {\n border-color: var(--ht-checkbox-checked-border-color);\n background-color: var(--ht-checkbox-checked-background-color);\n}\n.handsontable .htCheckboxRendererInput:checked::after {\n color: var(--ht-checkbox-checked-icon-color);\n}\n.handsontable .htCheckboxRendererInput:checked:disabled::before {\n border-color: var(--ht-checkbox-checked-disabled-border-color);\n background-color: var(--ht-checkbox-checked-disabled-background-color);\n}\n.handsontable .htCheckboxRendererInput:checked:disabled::after {\n color: var(--ht-checkbox-checked-disabled-icon-color);\n}\n.handsontable .htCheckboxRendererInput:checked:focus::before {\n border-color: var(--ht-checkbox-checked-focus-border-color);\n background-color: var(--ht-checkbox-checked-focus-background-color);\n}\n.handsontable .htCheckboxRendererInput:checked:focus::after {\n color: var(--ht-checkbox-checked-focus-icon-color);\n}\n.handsontable .htCheckboxRendererInput:focus::before {\n border-color: var(--ht-checkbox-focus-border-color);\n background-color: var(--ht-checkbox-focus-background-color);\n outline: 1px solid var(--ht-checkbox-focus-ring-color);\n}\n.handsontable .htCheckboxRendererInput:focus::after {\n color: var(--ht-checkbox-focus-icon-color);\n}\n.handsontable .htCheckboxRendererInput:disabled {\n cursor: initial;\n}\n.handsontable .htCheckboxRendererInput:disabled::before {\n border-color: var(--ht-checkbox-disabled-border-color);\n background-color: var(--ht-checkbox-disabled-background-color);\n}\n.handsontable .htCheckboxRendererInput:disabled::after {\n color: var(--ht-checkbox-disabled-icon-color);\n}\n.handsontable .htCheckboxRendererInput:indeterminate::before {\n border-color: var(--ht-checkbox-indeterminate-border-color);\n background-color: var(--ht-checkbox-indeterminate-background-color);\n}\n.handsontable .htCheckboxRendererInput:indeterminate::after {\n color: var(--ht-checkbox-indeterminate-icon-color);\n}\n.handsontable .htCheckboxRendererInput:indeterminate:disabled::before {\n border-color: var(--ht-checkbox-indeterminate-disabled-border-color);\n background-color: var(--ht-checkbox-indeterminate-disabled-background-color);\n}\n.handsontable .htCheckboxRendererInput:indeterminate:disabled::after {\n color: var(--ht-checkbox-indeterminate-disabled-icon-color);\n}\n.handsontable .htCheckboxRendererInput:indeterminate:focus::before {\n border-color: var(--ht-checkbox-indeterminate-focus-border-color);\n background-color: var(--ht-checkbox-indeterminate-focus-background-color);\n}\n.handsontable .htCheckboxRendererInput:indeterminate:focus::after {\n color: var(--ht-checkbox-indeterminate-focus-icon-color);\n}\n.handsontable .htCheckboxRendererInput.noValue {\n opacity: 0.5;\n}\n.handsontable .htCheckboxRendererLabel {\n display: inline-block;\n position: relative;\n font-size: inherit;\n line-height: inherit;\n cursor: pointer;\n color: inherit;\n margin: 0;\n}\n.handsontable .htCheckboxRendererLabel.fullWidth {\n width: 100%;\n}\n\n.handsontable .htPlaceholder {\n color: var(--ht-placeholder-color);\n}\n.handsontable .htDimmed {\n color: var(--ht-read-only-color) !important;\n background-color: var(--ht-cell-read-only-background-color) !important;\n}\n.handsontable .htLeft {\n text-align: left;\n}\n.handsontable .htCenter {\n text-align: center;\n}\n.handsontable .htRight {\n text-align: right;\n}\n.handsontable .htJustify {\n text-align: justify;\n}\n.handsontable .htTop {\n vertical-align: top;\n}\n.handsontable .htMiddle {\n vertical-align: middle;\n}\n.handsontable .htBottom {\n vertical-align: bottom;\n}\n.handsontable .htInvalid {\n /* gives priority over td.area selection background */\n background-color: var(--ht-cell-error-background-color) !important;\n}\n.handsontable .htNoWrap {\n white-space: nowrap;\n}\n.handsontable .htSearchResult {\n background-color: var(--ht-cell-success-background-color) !important;\n}\n\n.handsontable .ht-multi-select-renderer {\n padding: var(--ht-cell-vertical-padding) var(--ht-cell-horizontal-padding);\n overflow: hidden;\n}\n.handsontable .ht-multi-select-chips-container {\n display: flex;\n flex-wrap: nowrap;\n align-items: center;\n gap: var(--ht-gap-size);\n overflow: hidden;\n max-width: 100%;\n}\n.handsontable .ht-multi-select-chip {\n display: inline-flex;\n align-items: center;\n gap: var(--ht-gap-size);\n 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);\n border-radius: var(--ht-chip-border-radius);\n background: var(--ht-chip-background);\n white-space: nowrap;\n flex-shrink: 0;\n max-width: 100px;\n box-sizing: border-box;\n}\n.handsontable .ht-multi-select-chip-label {\n overflow: hidden;\n text-overflow: ellipsis;\n color: var(--ht-foreground-color);\n font-style: normal;\n font-weight: var(--ht-font-weight);\n line-height: var(--ht-line-height, 40px);\n letter-spacing: var(--ht-letter-spacing, 0);\n padding: 0 var(--ht-chip-gap);\n}\n.handsontable .ht-multi-select-chip-remove {\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n width: var(--ht-icon-size) !important;\n height: var(--ht-icon-size) !important;\n padding: 0;\n cursor: pointer;\n flex-shrink: 0;\n color: var(--ht-icon-button-icon-color);\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center;\n}\n.handsontable .ht-multi-select-chip-remove::before {\n content: "";\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n}\n.handsontable .ht-multi-select-chip-remove:hover {\n background-color: var(--ht-icon-button-hover-background-color);\n}\n.handsontable .ht-multi-select-overflow {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0 calc(var(--ht-gap-size) * 2);\n background: var(--ht-chip-background);\n border-radius: var(--ht-chip-border-radius);\n color: var(--ht-foreground-color);\n white-space: nowrap;\n flex-shrink: 0;\n}\n\n.handsontableInputHolder {\n position: absolute;\n top: 0;\n left: 0;\n}\n.handsontableInputHolder .handsontableInput {\n display: block;\n margin: 0;\n padding: calc(var(--ht-cell-vertical-padding, 4px) + 1px) calc(var(--ht-cell-horizontal-padding, 8px) + 1px);\n font-family: inherit !important;\n font-size: inherit !important;\n line-height: inherit !important;\n color: var(--ht-cell-editor-foreground-color);\n background-color: var(--ht-cell-editor-background-color, #ffffff);\n 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);\n border: none;\n border-radius: 0;\n -webkit-appearance: none !important;\n box-sizing: border-box;\n /* Miscellaneous */\n outline-width: 0;\n /* overwrite styles potentially made by a framework */\n}\n.handsontableInputHolder .handsontableInput:focus {\n outline: none;\n}\n\n.htSelectEditor {\n position: absolute;\n}\n.htSelectEditor select {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n padding: calc(var(--ht-cell-vertical-padding, 4px) + 1px) calc(var(--ht-cell-horizontal-padding, 8px) + 1px);\n padding-inline-end: 26px;\n margin: 0;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n color: var(--ht-cell-editor-foreground-color);\n background-color: var(--ht-cell-editor-background-color, #ffffff);\n font-family: inherit !important;\n font-size: inherit !important;\n line-height: inherit !important;\n 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);\n border: none;\n border-radius: 0;\n box-sizing: border-box;\n -webkit-appearance: none !important;\n}\n.htSelectEditor select:focus {\n outline: none;\n}\n.htSelectEditor .htAutocompleteArrow {\n top: 50%;\n transform: translateY(-50%);\n margin-inline-end: 4px;\n z-index: 1;\n pointer-events: none;\n}\n\n.handsontable.listbox {\n 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, rgb(0, 0, 0)) var(--ht-menu-shadow-opacity, 100%), transparent);\n margin: 0;\n border: var(--ht-menu-border-width, 1px) solid var(--ht-menu-border-color, #e5e5e9);\n}\n.handsontable.listbox .ht_master {\n overflow: hidden;\n background-color: var(--ht-background-color);\n}\n.handsontable.listbox .wtHolder {\n overflow: auto;\n border-radius: 0 !important;\n}\n.handsontable.listbox .wtHider, .handsontable.listbox .htCore {\n border-radius: 0 !important;\n}\n.handsontable.listbox table {\n overflow: hidden;\n}\n.handsontable.listbox table th,\n.handsontable.listbox table tr:first-child th,\n.handsontable.listbox table tr:last-child th,\n.handsontable.listbox table tr:first-child td,\n.handsontable.listbox table td {\n border-color: transparent !important;\n}\n.handsontable.listbox table th,\n.handsontable.listbox table td {\n white-space: nowrap;\n text-overflow: ellipsis;\n border-radius: 0 !important;\n}\n.handsontable.listbox table .wtBorder {\n visibility: hidden;\n}\n.handsontable.listbox table strong {\n font-weight: bold;\n color: inherit;\n}\n.handsontable.listbox table tr td:hover td {\n background: color-mix(in srgb, var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity, 100%), transparent) !important;\n cursor: pointer;\n box-shadow: none !important;\n}\n.handsontable.listbox table td {\n transition: var(--ht-table-transition) background ease-in-out;\n}\n.handsontable.listbox table td:hover {\n background-color: color-mix(in srgb, var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity, 100%), transparent) !important;\n cursor: pointer;\n}\n.handsontable.listbox table td.current:not([aria-expanded=true]) {\n box-shadow: inset 0 0 0 1px var(--ht-accent-color);\n}\n.handsontable.listbox table td.htDimmed {\n cursor: default;\n font-style: inherit;\n color: inherit !important;\n}\n.handsontable.listbox table td.htDimmed:not(.handsontable.listbox table td:hover) {\n background-color: inherit !important;\n}\n.handsontable.listbox table thead th {\n height: auto !important;\n text-align: left;\n}\n.handsontable.listbox table thead th .relative {\n padding-top: calc(var(--ht-cell-vertical-padding) + var(--ht-gap-size));\n padding-bottom: calc(var(--ht-cell-vertical-padding) + var(--ht-gap-size));\n}\n.handsontable.listbox .ht_clone_top .wtHider {\n overflow: hidden;\n}\n.handsontable.listbox .ht_clone_top table {\n border-radius: 0;\n}\n.handsontable.listbox .htBorders div {\n background: none !important;\n}\n.handsontable.autocompleteEditor tr.ht__row_even th,\n.handsontable.autocompleteEditor tr.ht__row_even td {\n background-color: var(--ht-background-color, #ffffff);\n}\n.handsontable.autocompleteEditor tr.ht__row_odd th,\n.handsontable.autocompleteEditor tr.ht__row_odd td {\n background-color: var(--ht-background-color, #ffffff);\n}\n\n[dir=rtl].handsontable.listbox table thead th {\n text-align: right;\n}\n\n.pika-single {\n font-family: var(--ht-font-family), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;\n 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, rgb(0, 0, 0)) var(--ht-menu-shadow-opacity, 100%), transparent);\n position: relative;\n display: block;\n padding: 10px;\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n font-weight: var(--ht-font-weight);\n color: var(--ht-foreground-color);\n background: var(--ht-background-color, #ffffff);\n border: var(--ht-menu-border-width, 1px) solid var(--ht-menu-border-color, #e5e5e9);\n border-radius: var(--ht-menu-border-radius);\n z-index: 9999;\n}\n.pika-single.is-hidden {\n display: none;\n}\n.pika-single .pika-row {\n background-color: transparent;\n}\n.pika-single .pika-title {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.pika-single .pika-label {\n position: relative;\n order: 2;\n padding: 5px;\n color: var(--ht-accent-color);\n}\n.pika-single .pika-label .pika-select {\n position: absolute;\n inset: 0;\n opacity: 0;\n cursor: pointer;\n}\n.pika-single .pika-prev,\n.pika-single .pika-next {\n width: 20px;\n height: 20px;\n white-space: nowrap;\n text-indent: -9999px;\n cursor: pointer;\n color: var(--ht-accent-color);\n background: none;\n border: none;\n padding: 0;\n}\n.pika-single .pika-prev {\n order: 1;\n margin-right: auto;\n}\n.pika-single .pika-next {\n order: 3;\n margin-left: auto;\n}\n.pika-single .pika-table thead {\n height: 50px;\n}\n.pika-single .pika-table th {\n padding: 1px;\n vertical-align: middle;\n}\n.pika-single .pika-table th abbr {\n text-decoration: none;\n font-weight: normal;\n border: none;\n cursor: initial;\n}\n.pika-single .pika-table td {\n padding: 1px;\n vertical-align: middle;\n}\n.pika-single .pika-table td.is-disabled .pika-button {\n pointer-events: none;\n opacity: 0.5;\n}\n.pika-single .pika-table td.is-today .pika-button {\n background: color-mix(in srgb, var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity, 100%), transparent);\n}\n.pika-single .pika-table td.is-selected .pika-button {\n background: var(--ht-accent-color, #1a42e8);\n color: var(--ht-primary-button-foreground-color, #ffffff);\n}\n.pika-single .pika-table td.pika-week {\n width: 12.5%;\n text-align: center;\n}\n.pika-single .pika-table .pika-button {\n width: 100%;\n aspect-ratio: 1/1;\n background: transparent;\n color: var(--ht-foreground-color);\n border: none;\n border-radius: var(--ht-button-border-radius);\n margin: 0;\n padding: 10px;\n cursor: pointer;\n font-size: inherit;\n}\n.pika-single .pika-table .pika-button:hover {\n background: color-mix(in srgb, var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity, 100%), transparent);\n}\n\n[dir=rtl].htDatepickerHolder .pika-single .pika-next {\n transform: rotate(180deg);\n margin-left: 0;\n margin-right: auto;\n}\n[dir=rtl].htDatepickerHolder .pika-single .pika-prev {\n transform: rotate(180deg);\n margin-left: auto;\n margin-right: 0;\n}\n\n.handsontableEditor {\n position: absolute;\n}\n.handsontableEditor .ht-multi-select-editor {\n 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, rgb(0, 0, 0)) var(--ht-menu-shadow-opacity, 100%), transparent);\n scrollbar-width: auto;\n scrollbar-color: var(--ht-scrollbar-thumb-color) var(--ht-scrollbar-track-color);\n overflow-y: auto;\n border-radius: 0 0 var(--ht-menu-border-radius) var(--ht-menu-border-radius);\n border: var(--ht-menu-border-width) solid var(--ht-menu-border-color);\n background: var(--ht-background-color);\n width: max-content;\n min-width: 120px;\n padding: var(--ht-menu-vertical-padding) var(--ht-menu-horizontal-padding);\n}\n.handsontableEditor .ht-multi-select-editor .ht-multi-select-editor-search-input-wrapper {\n display: flex;\n padding: var(--ht-menu-item-vertical-padding) var(--ht-menu-item-horizontal-padding);\n align-items: center;\n gap: var(--ht-gap-size);\n align-self: stretch;\n position: relative;\n}\n.handsontableEditor .ht-multi-select-editor .ht-multi-select-editor-search-icon {\n position: absolute;\n left: calc(var(--ht-menu-item-horizontal-padding) + 10px);\n top: 50%;\n transform: translateY(-50%);\n width: 16px;\n height: 16px;\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n opacity: 0.5;\n pointer-events: none;\n z-index: 1;\n}\n.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input {\n box-sizing: border-box;\n width: 100%;\n border-radius: var(--ht-input-border-radius);\n color: var(--ht-input-foreground-color);\n background-color: var(--ht-input-background-color);\n border: 1px solid var(--ht-input-border-color);\n transition: var(--ht-table-transition) all ease-in-out;\n line-height: var(--ht-line-height);\n font-size: var(--ht-font-size);\n padding: var(--ht-input-vertical-padding) var(--ht-menu-item-horizontal-padding) var(--ht-input-vertical-padding) 32px;\n}\n.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input:hover {\n border-color: var(--ht-input-hover-border-color);\n color: var(--ht-input-hover-foreground-color);\n background-color: var(--ht-input-hover-background-color);\n}\n.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input:disabled {\n border-color: var(--ht-input-disabled-border-color);\n color: var(--ht-input-disabled-foreground-color);\n background-color: var(--ht-input-disabled-background-color);\n}\n.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input:focus {\n border-color: var(--ht-input-focus-border-color);\n color: var(--ht-input-focus-foreground-color);\n background-color: var(--ht-input-focus-background-color);\n outline: none;\n outline-offset: 0;\n box-shadow: none;\n}\n.handsontableEditor .ht-multi-select-editor input.ht-multi-select-editor-search-input::placeholder {\n color: var(--ht-foreground-color);\n opacity: 0.6;\n}\n.handsontableEditor .ht-multi-select-editor .ht-multi-select-editor-separator {\n width: 100%;\n height: 1px;\n background-color: var(--ht-menu-border-color);\n margin: var(--ht-menu-vertical-padding) 0 var(--ht-menu-vertical-padding) 0;\n padding: 0;\n}\n.handsontableEditor .ht-multi-select-editor ul {\n list-style: none;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n width: 100%;\n margin: 0;\n padding: var(--ht-gap-size) var(--ht-menu-horizontal-padding);\n}\n.handsontableEditor .ht-multi-select-editor ul li {\n display: flex;\n align-items: center;\n align-self: stretch;\n background: var(--ht-background-color);\n padding: var(--ht-menu-item-vertical-padding) var(--ht-menu-item-horizontal-padding);\n user-select: none;\n cursor: pointer;\n}\n.handsontableEditor .ht-multi-select-editor ul li * {\n cursor: pointer;\n}\n.handsontableEditor .ht-multi-select-editor ul li.ht-multi-select-editor-item-selected {\n background: color-mix(in srgb, var(--ht-menu-item-active-color) var(--ht-menu-item-active-color-opacity, 100%), transparent);\n}\n.handsontableEditor .ht-multi-select-editor ul li div {\n display: flex;\n align-items: center;\n flex: 1 0 0;\n}\n.handsontableEditor .ht-multi-select-editor ul li div input {\n position: relative;\n appearance: none;\n margin: 0;\n padding: 0;\n width: var(--ht-checkbox-size);\n height: var(--ht-checkbox-size);\n display: flex;\n}\n.handsontableEditor .ht-multi-select-editor ul li div input::after {\n content: "";\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n}\n.handsontableEditor .ht-multi-select-editor ul li div input::before {\n content: "";\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n box-sizing: border-box;\n width: var(--ht-checkbox-size);\n height: var(--ht-checkbox-size);\n border-radius: var(--ht-checkbox-border-radius);\n border: 1px solid var(--ht-checkbox-border-color);\n background: var(--ht-checkbox-background-color);\n background-repeat: no-repeat;\n background-position: center;\n}\n.handsontableEditor .ht-multi-select-editor ul li div input:checked::before {\n border-color: var(--ht-checkbox-checked-border-color);\n background: var(--ht-checkbox-checked-background-color);\n}\n.handsontableEditor .ht-multi-select-editor ul li div input:checked::after {\n color: var(--ht-checkbox-checked-icon-color);\n background-color: currentColor;\n}\n.handsontableEditor .ht-multi-select-editor ul li div input:focus {\n outline: none;\n}\n.handsontableEditor .ht-multi-select-editor ul li div label {\n overflow: hidden;\n color: var(--ht-foreground-color);\n text-overflow: ellipsis;\n font-size: var(--ht-font-size);\n font-style: normal;\n font-weight: 400;\n line-height: var(--ht-line-height);\n letter-spacing: var(--ht-letter-spacing);\n width: 100%;\n padding: 0 0 0 calc(var(--ht-gap-size) * 2);\n}\n.handsontableEditor .ht-multi-select-editor ul li:hover {\n background: color-mix(in srgb, var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity, 100%), transparent);\n}\n.handsontableEditor .ht-multi-select-editor ul li:has(input:focus) {\n background: color-mix(in srgb, var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity, 100%), transparent);\n}\n\n.handsontable .htUISelectCaption {\n width: 100%;\n padding: var(--ht-input-vertical-padding) var(--ht-input-horizontal-padding);\n padding-inline-end: calc(var(--ht-input-horizontal-padding) + var(--ht-icon-size));\n margin: 0;\n font-family: inherit;\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n font-weight: var(--ht-font-weight);\n border-radius: var(--ht-input-border-radius);\n box-sizing: border-box;\n cursor: pointer;\n outline: none !important;\n border: var(--ht-input-border-width) solid var(--ht-input-border-color);\n color: var(--ht-input-foreground-color);\n background-color: var(--ht-input-background-color);\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n transition: var(--ht-table-transition) all ease-in-out;\n}\n.handsontable .htUISelectCaption::after {\n content: "";\n display: block;\n position: absolute;\n right: calc(var(--ht-input-horizontal-padding) - var(--ht-icon-size) / 4);\n top: 50%;\n transform: translateY(-50%);\n}\n.handsontable .htUISelectCaption:hover {\n border-color: var(--ht-input-hover-border-color);\n color: var(--ht-input-hover-foreground-color);\n background-color: var(--ht-input-hover-background-color);\n}\n.handsontable .htUISelectCaption:disabled {\n border-color: var(--ht-input-disabled-border-color);\n color: var(--ht-input-disabled-foreground-color);\n background-color: var(--ht-input-disabled-background-color);\n}\n.handsontable .htUISelectCaption:focus {\n border-color: var(--ht-input-focus-border-color);\n color: var(--ht-input-focus-foreground-color);\n background-color: var(--ht-input-focus-background-color);\n}\n.handsontable .htUISelect {\n cursor: pointer;\n position: relative;\n outline: none !important;\n}\n.handsontable .htUISelect:focus .htUISelectCaption {\n border-color: var(--ht-input-focus-border-color);\n color: var(--ht-input-focus-foreground-color);\n background-color: var(--ht-input-focus-background-color);\n}\n\n[dir=rtl].handsontable .htUISelectCaption::after {\n right: auto;\n left: calc(var(--ht-input-horizontal-padding) - var(--ht-icon-size) / 4);\n}\n\n.handsontable .htFiltersMenuCondition .htUIInput input,\n.handsontable .htFiltersMenuValue .htUIMultipleSelectSearch input {\n width: 100%;\n padding: var(--ht-input-vertical-padding) var(--ht-input-horizontal-padding);\n font-family: inherit;\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n font-weight: var(--ht-font-weight);\n border-radius: var(--ht-input-border-radius);\n box-sizing: border-box;\n cursor: pointer;\n outline: none !important;\n border: var(--ht-input-border-width) solid var(--ht-input-border-color);\n color: var(--ht-input-foreground-color);\n background-color: var(--ht-input-background-color);\n transition: var(--ht-table-transition) all ease-in-out;\n}\n.handsontable .htFiltersMenuCondition .htUIInput input:hover,\n.handsontable .htFiltersMenuValue .htUIMultipleSelectSearch input:hover {\n border-color: var(--ht-input-hover-border-color);\n color: var(--ht-input-hover-foreground-color);\n background-color: var(--ht-input-hover-background-color);\n}\n.handsontable .htFiltersMenuCondition .htUIInput input:disabled,\n.handsontable .htFiltersMenuValue .htUIMultipleSelectSearch input:disabled {\n border-color: var(--ht-input-disabled-border-color);\n color: var(--ht-input-disabled-foreground-color);\n background-color: var(--ht-input-disabled-background-color);\n}\n.handsontable .htFiltersMenuCondition .htUIInput input:focus,\n.handsontable .htFiltersMenuValue .htUIMultipleSelectSearch input:focus {\n border-color: var(--ht-input-focus-border-color);\n color: var(--ht-input-focus-foreground-color);\n background-color: var(--ht-input-focus-background-color);\n}\n.handsontable .htUIInput {\n position: relative;\n padding: 0;\n outline: none !important;\n text-align: center;\n}\n.handsontable .htUIInputIcon {\n position: absolute;\n}\n\n.handsontable .htUIInput.htUIButton input, .handsontable .ht-button {\n min-width: 64px;\n padding: var(--ht-button-vertical-padding) var(--ht-button-horizontal-padding);\n font-family: inherit;\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n font-weight: var(--ht-font-weight);\n border-radius: var(--ht-button-border-radius);\n border-width: 1px;\n border-style: solid;\n box-sizing: border-box;\n outline: none !important;\n cursor: pointer;\n transition: var(--ht-table-transition) all ease-in-out;\n}\n.handsontable .htUIInput.htUIButtonCancel input, .handsontable .ht-button--secondary {\n border-color: var(--ht-secondary-button-border-color);\n background-color: var(--ht-secondary-button-background-color);\n color: var(--ht-secondary-button-foreground-color);\n}\n.handsontable .htUIInput.htUIButtonCancel input:hover, .handsontable .ht-button--secondary:hover {\n border-color: var(--ht-secondary-button-hover-border-color);\n background-color: var(--ht-secondary-button-hover-background-color);\n color: var(--ht-secondary-button-hover-foreground-color);\n}\n.handsontable .htUIInput.htUIButtonCancel input:disabled, .handsontable .ht-button--secondary:disabled {\n border-color: var(--ht-secondary-button-disabled-border-color);\n background-color: var(--ht-secondary-button-disabled-background-color);\n color: var(--ht-secondary-button-disabled-foreground-color);\n}\n.handsontable .htUIInput.htUIButtonCancel input:focus, .handsontable .ht-button--secondary:focus {\n border-color: var(--ht-secondary-button-focus-border-color);\n background-color: var(--ht-secondary-button-focus-background-color);\n color: var(--ht-secondary-button-focus-foreground-color);\n box-shadow: 0 0 0 1px var(--ht-accent-color);\n}\n\n.htUIInput.htUIButtonOK input, .ht-button--primary {\n border-color: var(--ht-primary-button-border-color);\n background-color: var(--ht-primary-button-background-color);\n color: var(--ht-primary-button-foreground-color);\n}\n.htUIInput.htUIButtonOK input:hover, .ht-button--primary:hover {\n border-color: var(--ht-primary-button-hover-border-color);\n background-color: var(--ht-primary-button-hover-background-color);\n color: var(--ht-primary-button-hover-foreground-color);\n}\n.htUIInput.htUIButtonOK input:disabled, .ht-button--primary:disabled {\n border-color: var(--ht-primary-button-disabled-border-color);\n background-color: var(--ht-primary-button-disabled-background-color);\n color: var(--ht-primary-button-disabled-foreground-color);\n}\n.htUIInput.htUIButtonOK input:focus, .ht-button--primary:focus {\n border-color: var(--ht-primary-button-focus-border-color);\n background-color: var(--ht-primary-button-focus-background-color);\n color: var(--ht-primary-button-focus-foreground-color);\n box-shadow: 0 0 0 1px var(--ht-accent-color);\n}\n\n.handsontable .htUIRadio {\n position: relative;\n display: inline-flex;\n margin: 0;\n padding: var(--ht-gap-size) calc(2 * var(--ht-gap-size));\n padding-bottom: 0;\n align-items: center;\n gap: var(--ht-gap-size);\n cursor: pointer;\n}\n.handsontable .htUIRadio:first-child {\n padding-inline-start: 0;\n}\n.handsontable .htUIRadio > input[type=radio] {\n position: relative;\n width: var(--ht-radio-size);\n height: var(--ht-radio-size);\n margin: 0;\n appearance: none;\n cursor: pointer;\n border-radius: calc(0.5 * var(--ht-radio-size));\n outline: none;\n}\n.handsontable .htUIRadio > input[type=radio]::before {\n content: "";\n display: block;\n position: absolute;\n inset: 0;\n border-radius: calc(0.5 * var(--ht-radio-size));\n border: 1px solid var(--ht-radio-border-color);\n background-color: var(--ht-radio-background-color);\n}\n.handsontable .htUIRadio > input[type=radio]::after {\n content: "";\n display: block;\n position: absolute;\n color: var(--ht-radio-icon-color);\n}\n.handsontable .htUIRadio > input[type=radio]:checked::before {\n border-color: var(--ht-radio-checked-border-color);\n background-color: var(--ht-radio-checked-background-color);\n}\n.handsontable .htUIRadio > input[type=radio]:checked::after {\n color: var(--ht-radio-checked-icon-color);\n}\n.handsontable .htUIRadio > input[type=radio]:checked:disabled {\n cursor: initial;\n}\n.handsontable .htUIRadio > input[type=radio]:checked:disabled::before {\n border-color: var(--ht-radio-checked-disabled-border-color);\n background-color: var(--ht-radio-checked-disabled-background-color);\n}\n.handsontable .htUIRadio > input[type=radio]:checked:disabled::after {\n color: var(--ht-radio-checked-disabled-icon-color);\n}\n.handsontable .htUIRadio > input[type=radio]:checked:focus::before {\n border-color: var(--ht-radio-checked-focus-border-color);\n background-color: var(--ht-radio-checked-focus-background-color);\n}\n.handsontable .htUIRadio > input[type=radio]:checked:focus::after {\n color: var(--ht-radio-checked-focus-icon-color);\n}\n.handsontable .htUIRadio > input[type=radio]:disabled {\n cursor: initial;\n}\n.handsontable .htUIRadio > input[type=radio]:disabled::before {\n border-color: var(--ht-radio-disabled-border-color);\n background-color: var(--ht-radio-disabled-background-color);\n}\n.handsontable .htUIRadio > input[type=radio]:disabled::after {\n color: var(--ht-radio-disabled-icon-color);\n}\n.handsontable .htUIRadio > input[type=radio]:focus::before {\n border-color: var(--ht-radio-focus-border-color);\n background-color: var(--ht-radio-focus-background-color);\n outline: 1px solid var(--ht-radio-focus-ring-color);\n}\n.handsontable .htUIRadio > input[type=radio]:focus::after {\n color: var(--ht-radio-focus-icon-color);\n}\n.handsontable .htUIRadio label {\n vertical-align: middle;\n cursor: pointer;\n color: inherit;\n}\n.handsontable .htUIRadio label::before {\n content: "";\n display: block;\n position: absolute;\n inset: 0;\n}\n\n.handsontable .collapsibleIndicator {\n top: calc((var(--ht-line-height) - var(--ht-icon-size)) / 2);\n margin-inline-start: var(--ht-gap-size);\n margin-inline-end: 1px;\n}\n.handsontable .collapsibleIndicator,\n.handsontable .ht_nestingButton {\n position: relative;\n width: var(--ht-icon-size);\n height: var(--ht-icon-size);\n box-sizing: border-box;\n border-radius: var(--ht-collapse-button-border-radius);\n overflow: hidden;\n cursor: pointer;\n /* hide text */\n text-indent: -100px;\n font-size: 0;\n float: right;\n}\n.handsontable .collapsibleIndicator::before,\n.handsontable .ht_nestingButton::before {\n content: "";\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n transition: var(--ht-table-transition) all ease-in-out;\n}\n.handsontable .collapsibleIndicator.expanded, .handsontable .collapsibleIndicator.ht_nestingCollapse,\n.handsontable .ht_nestingButton.expanded,\n.handsontable .ht_nestingButton.ht_nestingCollapse {\n background-color: var(--ht-collapse-button-open-background-color);\n box-shadow: 0 0 0 1px var(--ht-collapse-button-open-border-color);\n}\n.handsontable .collapsibleIndicator.expanded::before, .handsontable .collapsibleIndicator.ht_nestingCollapse::before,\n.handsontable .ht_nestingButton.expanded::before,\n.handsontable .ht_nestingButton.ht_nestingCollapse::before {\n color: var(--ht-collapse-button-open-icon-color);\n}\n.handsontable .collapsibleIndicator.expanded:hover, .handsontable .collapsibleIndicator.ht_nestingCollapse:hover,\n.handsontable .ht_nestingButton.expanded:hover,\n.handsontable .ht_nestingButton.ht_nestingCollapse:hover {\n background-color: var(--ht-collapse-button-open-hover-background-color);\n box-shadow: 0 0 0 1px var(--ht-collapse-button-open-hover-border-color);\n}\n.handsontable .collapsibleIndicator.expanded:hover::before, .handsontable .collapsibleIndicator.ht_nestingCollapse:hover::before,\n.handsontable .ht_nestingButton.expanded:hover::before,\n.handsontable .ht_nestingButton.ht_nestingCollapse:hover::before {\n color: var(--ht-collapse-button-open-hover-icon-color);\n}\n.handsontable .collapsibleIndicator.collapsed, .handsontable .collapsibleIndicator.ht_nestingExpand,\n.handsontable .ht_nestingButton.collapsed,\n.handsontable .ht_nestingButton.ht_nestingExpand {\n background-color: var(--ht-collapse-button-close-background-color);\n box-shadow: 0 0 0 1px var(--ht-collapse-button-close-border-color);\n}\n.handsontable .collapsibleIndicator.collapsed::before, .handsontable .collapsibleIndicator.ht_nestingExpand::before,\n.handsontable .ht_nestingButton.collapsed::before,\n.handsontable .ht_nestingButton.ht_nestingExpand::before {\n color: var(--ht-collapse-button-close-icon-color);\n}\n.handsontable .collapsibleIndicator.collapsed:hover, .handsontable .collapsibleIndicator.ht_nestingExpand:hover,\n.handsontable .ht_nestingButton.collapsed:hover,\n.handsontable .ht_nestingButton.ht_nestingExpand:hover {\n background-color: var(--ht-collapse-button-close-hover-background-color);\n box-shadow: 0 0 0 1px var(--ht-collapse-button-close-hover-border-color);\n}\n.handsontable .collapsibleIndicator.collapsed:hover::before, .handsontable .collapsibleIndicator.ht_nestingExpand:hover::before,\n.handsontable .ht_nestingButton.collapsed:hover::before,\n.handsontable .ht_nestingButton.ht_nestingExpand:hover::before {\n color: var(--ht-collapse-button-close-hover-icon-color);\n}\n.handsontable th.ht__active_highlight .collapsibleIndicator.collapsed::before, .handsontable th.ht__active_highlight .collapsibleIndicator.ht_nestingExpand::before,\n.handsontable th.ht__active_highlight .ht_nestingButton.collapsed::before,\n.handsontable th.ht__active_highlight .ht_nestingButton.ht_nestingExpand::before {\n color: var(--ht-collapse-button-close-icon-active-color);\n}\n.handsontable th.ht__active_highlight .collapsibleIndicator.collapsed:hover::before, .handsontable th.ht__active_highlight .collapsibleIndicator.ht_nestingExpand:hover::before,\n.handsontable th.ht__active_highlight .ht_nestingButton.collapsed:hover::before,\n.handsontable th.ht__active_highlight .ht_nestingButton.ht_nestingExpand:hover::before {\n color: var(--ht-collapse-button-close-hover-icon-active-color);\n}\n.handsontable th.ht__active_highlight .collapsibleIndicator.expanded::before, .handsontable th.ht__active_highlight .collapsibleIndicator.ht_nestingCollapse::before,\n.handsontable th.ht__active_highlight .ht_nestingButton.expanded::before,\n.handsontable th.ht__active_highlight .ht_nestingButton.ht_nestingCollapse::before {\n color: var(--ht-collapse-button-open-icon-active-color);\n}\n.handsontable th.ht__active_highlight .collapsibleIndicator.expanded:hover::before, .handsontable th.ht__active_highlight .collapsibleIndicator.ht_nestingCollapse:hover::before,\n.handsontable th.ht__active_highlight .ht_nestingButton.expanded:hover::before,\n.handsontable th.ht__active_highlight .ht_nestingButton.ht_nestingCollapse:hover::before {\n color: var(--ht-collapse-button-open-hover-icon-active-color);\n}\n\n[dir=rtl].handsontable .collapsibleIndicator,\n[dir=rtl].handsontable .ht_nestingButton {\n float: left;\n}\n\n.handsontable thead th.hiddenHeader:not(:first-of-type) {\n display: none;\n}\n.handsontable thead th.hiddenHeaderText .colHeader {\n opacity: 0;\n}\n\n.handsontable th.ht_nestingLevels > .relative {\n display: flex;\n align-items: center;\n gap: 5px;\n}\n.handsontable th.ht_nestingLevels span:last-child {\n padding-left: calc(var(--ht-icon-size) + 5px);\n}\n.handsontable th.ht_nestingLevels span.ht_nestingLevel {\n display: inline-block;\n}\n.handsontable th.ht_nestingLevels span.ht_nestingLevel_empty {\n position: relative;\n display: inline-block;\n width: 5px;\n height: 1px;\n order: -2;\n}\n.handsontable th.ht_nestingLevels .ht_nestingButton {\n position: relative;\n cursor: pointer;\n order: -1;\n}\n\n.handsontable th.beforeHiddenColumn, .handsontable th.afterHiddenColumn {\n position: relative;\n}\n.handsontable th.beforeHiddenColumn::before, .handsontable th.beforeHiddenColumn::after, .handsontable th.afterHiddenColumn::before, .handsontable th.afterHiddenColumn::after {\n position: absolute;\n top: 50%;\n width: 10px !important;\n height: 10px !important;\n transform: translateY(-50%);\n color: var(--ht-hidden-indicator-color);\n}\n.handsontable th.beforeHiddenColumn::after {\n content: "";\n display: block;\n right: -2px;\n}\n.handsontable th.afterHiddenColumn::before {\n content: "";\n display: block;\n left: -2px;\n}\n.handsontable th.ht__active_highlight.beforeHiddenColumn::before, .handsontable th.ht__active_highlight.beforeHiddenColumn::after, .handsontable th.ht__active_highlight.afterHiddenColumn::before, .handsontable th.ht__active_highlight.afterHiddenColumn::after {\n color: var(--ht-icon-button-active-icon-color, var(--ht-icon-active-button-icon-color));\n}\n\n[dir=rtl].handsontable th.beforeHiddenColumn::after {\n right: initial;\n left: -2px;\n transform: translateY(-50%) rotate(180deg);\n}\n[dir=rtl].handsontable th.afterHiddenColumn::before {\n right: -2px;\n left: initial;\n transform: translateY(-50%) rotate(180deg);\n}\n\n.handsontable th.beforeHiddenRow, .handsontable th.afterHiddenRow {\n position: relative;\n}\n.handsontable th.beforeHiddenRow::before, .handsontable th.beforeHiddenRow::after, .handsontable th.afterHiddenRow::before, .handsontable th.afterHiddenRow::after {\n position: absolute;\n left: 50%;\n width: 10px !important;\n height: 10px !important;\n transform: translateX(-50%);\n color: var(--ht-hidden-indicator-color);\n}\n.handsontable th.beforeHiddenRow::after {\n content: "";\n display: block;\n bottom: -2px;\n}\n.handsontable th.afterHiddenRow::before {\n content: "";\n display: block;\n top: -2px;\n}\n.handsontable th.ht__active_highlight.beforeHiddenRow::before, .handsontable th.ht__active_highlight.beforeHiddenRow::after, .handsontable th.ht__active_highlight.afterHiddenRow::before, .handsontable th.ht__active_highlight.afterHiddenRow::after {\n color: var(--ht-icon-button-active-icon-color, var(--ht-icon-active-button-icon-color));\n}\n\n.handsontable .changeType {\n position: relative;\n box-sizing: border-box;\n width: var(--ht-icon-size);\n height: var(--ht-icon-size);\n border-radius: var(--ht-icon-button-border-radius);\n box-shadow: 0 0 0 1px var(--ht-icon-button-border-color);\n border: none;\n color: inherit;\n padding: 0;\n margin: 0;\n background-color: var(--ht-icon-button-background-color);\n order: 1;\n z-index: 1;\n float: right;\n top: calc((var(--ht-line-height) - var(--ht-icon-size)) / 2);\n margin-inline-start: var(--ht-gap-size);\n margin-inline-end: 1px;\n}\n.handsontable .changeType::before {\n content: "";\n display: block;\n position: absolute;\n top: 0;\n left: 0;\n color: var(--ht-icon-button-icon-color);\n}\n.handsontable .changeType:hover {\n cursor: pointer;\n box-shadow: 0 0 0 1px var(--ht-icon-button-hover-border-color);\n background-color: var(--ht-icon-button-hover-background-color);\n}\n.handsontable .changeType:hover::before {\n color: var(--ht-icon-button-hover-icon-color);\n}\n.handsontable .ht__active_highlight .changeType {\n box-shadow: 0 0 0 1px var(--ht-icon-button-active-border-color, var(--ht-icon-active-button-border-color));\n background-color: var(--ht-icon-button-active-background-color, var(--ht-icon-active-button-background-color));\n}\n.handsontable .ht__active_highlight .changeType::before {\n color: var(--ht-icon-button-active-icon-color, var(--ht-icon-active-button-icon-color));\n}\n.handsontable .ht__active_highlight .changeType:hover {\n box-shadow: 0 0 0 1px var(--ht-icon-button-active-hover-border-color, var(--ht-icon-active-button-hover-border-color));\n background-color: var(--ht-icon-button-active-hover-background-color, var(--ht-icon-active-button-hover-background-color));\n}\n.handsontable .ht__active_highlight .changeType:hover::before {\n color: var(--ht-icon-button-active-hover-icon-color, var(--ht-icon-active-button-hover-icon-color));\n}\n.handsontable th.htFiltersActive {\n background-color: var(--ht-header-filter-background-color);\n}\n.handsontable th.htFiltersActive.ht__active_highlight {\n background-color: color-mix(in srgb, var(--ht-header-active-background-color), var(--ht-header-filter-background-color) 20%);\n}\n.handsontable th.htFiltersActive.ht__active_highlight .changeType::after {\n background-color: var(--ht-header-active-foreground-color);\n}\n.handsontable.htDropdownMenu > .ht_master, .handsontable.htContextMenu > .ht_master, .handsontable.htFiltersConditionsMenu > .ht_master {\n 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, rgb(0, 0, 0)) var(--ht-menu-shadow-opacity, 100%), transparent);\n border: var(--ht-menu-border-width, 1px) solid var(--ht-menu-border-color, #e5e5e9);\n border-radius: var(--ht-menu-border-radius);\n overflow: hidden;\n padding: var(--ht-menu-vertical-padding, 8px) var(--ht-menu-horizontal-padding, 0);\n background-color: var(--ht-background-color, #ffffff);\n}\n.handsontable.htDropdownMenu:not(.htGhostTable), .handsontable.htContextMenu:not(.htGhostTable), .handsontable.htFiltersConditionsMenu:not(.htGhostTable) {\n display: none;\n position: absolute;\n /* needs to be higher than 1050 - z-index for Twitter Bootstrap modal (#1569) */\n z-index: 1060;\n}\n.handsontable.htDropdownMenu .ht_clone_top,\n.handsontable.htDropdownMenu .ht_clone_bottom,\n.handsontable.htDropdownMenu .ht_clone_inline_start,\n.handsontable.htDropdownMenu .ht_clone_top_inline_start_corner,\n.handsontable.htDropdownMenu .ht_clone_bottom_inline_start_corner, .handsontable.htContextMenu .ht_clone_top,\n.handsontable.htContextMenu .ht_clone_bottom,\n.handsontable.htContextMenu .ht_clone_inline_start,\n.handsontable.htContextMenu .ht_clone_top_inline_start_corner,\n.handsontable.htContextMenu .ht_clone_bottom_inline_start_corner, .handsontable.htFiltersConditionsMenu .ht_clone_top,\n.handsontable.htFiltersConditionsMenu .ht_clone_bottom,\n.handsontable.htFiltersConditionsMenu .ht_clone_inline_start,\n.handsontable.htFiltersConditionsMenu .ht_clone_top_inline_start_corner,\n.handsontable.htFiltersConditionsMenu .ht_clone_bottom_inline_start_corner {\n display: none;\n}\n.handsontable.htDropdownMenu table.htCore, .handsontable.htContextMenu table.htCore, .handsontable.htFiltersConditionsMenu table.htCore {\n overflow: hidden;\n}\n.handsontable.htDropdownMenu .htCustomMenuRenderer .table.htCore, .handsontable.htContextMenu .htCustomMenuRenderer .table.htCore, .handsontable.htFiltersConditionsMenu .htCustomMenuRenderer .table.htCore {\n box-shadow: none;\n}\n.handsontable.htDropdownMenu.handsontable:focus, .handsontable.htContextMenu.handsontable:focus, .handsontable.htFiltersConditionsMenu.handsontable:focus {\n outline: none;\n}\n.handsontable.htDropdownMenu .wtBorder, .handsontable.htContextMenu .wtBorder, .handsontable.htFiltersConditionsMenu .wtBorder {\n visibility: hidden;\n}\n.handsontable.htDropdownMenu tbody tr:first-of-type td:first-child, .handsontable.htDropdownMenu tbody tr:first-of-type th:first-child, .handsontable.htContextMenu tbody tr:first-of-type td:first-child, .handsontable.htContextMenu 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 {\n height: calc(var(--ht-cell-vertical-padding) * 2 + var(--ht-line-height) + 1px);\n}\n.handsontable.htDropdownMenu table tbody tr td, .handsontable.htContextMenu table tbody tr td, .handsontable.htFiltersConditionsMenu table tbody tr td {\n position: relative;\n padding: var(--ht-menu-item-vertical-padding, 4px) var(--ht-menu-item-horizontal-padding, 8px);\n border-width: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n background: var(--ht-background-color, #ffffff);\n cursor: pointer;\n transition: var(--ht-table-transition) background ease-in-out;\n}\n.handsontable.htDropdownMenu table tbody tr td:first-child, .handsontable.htContextMenu table tbody tr td:first-child, .handsontable.htFiltersConditionsMenu table tbody tr td:first-child {\n border-top-width: 0;\n border-inline-end-width: 0;\n border-bottom-width: 0;\n border-inline-start-width: 0;\n}\n.handsontable.htDropdownMenu table tbody tr td.htDimmed, .handsontable.htContextMenu table tbody tr td.htDimmed, .handsontable.htFiltersConditionsMenu table tbody tr td.htDimmed {\n font-style: normal;\n color: inherit !important;\n background-color: inherit !important;\n}\n.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.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.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 {\n background: color-mix(in srgb, var(--ht-menu-item-hover-color) var(--ht-menu-item-hover-color-opacity, 100%), transparent) !important;\n cursor: pointer;\n}\n.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.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.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]) {\n box-shadow: inset 0 0 0 1px var(--ht-accent-color);\n}\n.handsontable.htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper, .handsontable.htContextMenu table tbody tr td.htSubmenu .htItemWrapper, .handsontable.htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper {\n margin-inline-end: calc(2 * var(--ht-gap-size, 4px) + var(--ht-icon-size));\n}\n.handsontable.htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper::after, .handsontable.htContextMenu table tbody tr td.htSubmenu .htItemWrapper::after, .handsontable.htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper::after {\n content: "";\n display: block;\n position: absolute;\n top: 50%;\n right: calc(var(--ht-menu-item-horizontal-padding) + var(--ht-gap-size) * 2);\n transform: translateY(-50%);\n}\n.handsontable.htDropdownMenu table tbody tr td.htSeparator, .handsontable.htContextMenu table tbody tr td.htSeparator, .handsontable.htFiltersConditionsMenu table tbody tr td.htSeparator {\n border-top: 1px solid var(--ht-border-color);\n height: 0;\n padding: 0;\n cursor: default;\n}\n.handsontable.htDropdownMenu table tbody tr td.htDisabled, .handsontable.htContextMenu table tbody tr td.htDisabled, .handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled {\n color: var(--ht-disabled-color);\n cursor: default;\n}\n.handsontable.htDropdownMenu table tbody tr td.htDisabled:hover, .handsontable.htContextMenu table tbody tr td.htDisabled:hover, .handsontable.htFiltersConditionsMenu table tbody tr td.htDisabled:hover {\n background: var(--ht-background-color);\n color: var(--ht-disabled-color);\n}\n.handsontable.htDropdownMenu table tbody tr td.htHidden, .handsontable.htContextMenu table tbody tr td.htHidden, .handsontable.htFiltersConditionsMenu table tbody tr td.htHidden {\n display: none;\n}\n.handsontable.htDropdownMenu table tbody tr td:has(.htItemWrapper .selected), .handsontable.htContextMenu table tbody tr td:has(.htItemWrapper .selected), .handsontable.htFiltersConditionsMenu table tbody tr td:has(.htItemWrapper .selected) {\n background-color: color-mix(in srgb, var(--ht-menu-item-active-color) var(--ht-menu-item-active-color-opacity, 100%), transparent);\n}\n.handsontable.htDropdownMenu table tbody tr td .htItemWrapper, .handsontable.htContextMenu table tbody tr td .htItemWrapper, .handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper {\n margin-inline: calc(2 * var(--ht-gap-size, 4px));\n}\n.handsontable.htDropdownMenu table tbody tr td .htItemWrapper::before, .handsontable.htContextMenu table tbody tr td .htItemWrapper::before, .handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper::before {\n vertical-align: text-bottom;\n margin-right: 12px;\n}\n.handsontable.htDropdownMenu table tbody tr td .htItemWrapper span.selected, .handsontable.htContextMenu table tbody tr td .htItemWrapper span.selected, .handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected {\n font-size: 0;\n inset: 0;\n}\n.handsontable.htDropdownMenu table tbody tr td .htItemWrapper span.selected::after, .handsontable.htContextMenu table tbody tr td .htItemWrapper span.selected::after, .handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected::after {\n content: "";\n display: block;\n position: absolute;\n top: 50%;\n right: calc(var(--ht-menu-item-horizontal-padding) + var(--ht-gap-size) * 2);\n color: var(--ht-accent-color);\n transform: translateY(-50%);\n}\n.handsontable.htDropdownMenu table tbody tr td div span.selected, .handsontable.htContextMenu table tbody tr td div span.selected, .handsontable.htFiltersConditionsMenu table tbody tr td div span.selected {\n position: absolute;\n inset-inline-end: 0;\n}\n.handsontable.htDropdownMenu table tbody tr td .htUIButton, .handsontable.htContextMenu table tbody tr td .htUIButton, .handsontable.htFiltersConditionsMenu table tbody tr td .htUIButton {\n width: calc(50% - var(--ht-gap-size));\n}\n.handsontable.htDropdownMenu table tbody tr td .htUIButton input, .handsontable.htContextMenu table tbody tr td .htUIButton input, .handsontable.htFiltersConditionsMenu table tbody tr td .htUIButton input {\n width: 100%;\n}\n.handsontable .htUIClearAll a,\n.handsontable .htUISelectAll a {\n padding: var(--ht-gap-size);\n display: inline-block;\n text-decoration: none;\n}\n.handsontable .htUIMultipleSelect .ht_master .wtHolder {\n overflow-y: scroll !important;\n background: transparent;\n border-radius: 0 !important;\n}\n.handsontable .htUIMultipleSelect .ht_master .wtHolder .htCore {\n box-shadow: none;\n}\n\n[dir=rtl].handsontable.htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper::after, [dir=rtl].handsontable.htContextMenu table tbody tr td.htSubmenu .htItemWrapper::after, [dir=rtl].handsontable.htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper::after {\n left: calc(4 * var(--ht-gap-size));\n right: auto;\n transform: translateY(-50%) rotate(180deg);\n}\n[dir=rtl].handsontable.htDropdownMenu table tbody tr td .htItemWrapper span.selected::after, [dir=rtl].handsontable.htContextMenu table tbody tr td .htItemWrapper span.selected::after, [dir=rtl].handsontable.htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected::after {\n left: calc(4 * var(--ht-gap-size));\n right: auto;\n}\n[dir=rtl].handsontable .changeType {\n float: left;\n}\n\n.handsontable.htFiltersConditionsMenu:not(.htGhostTable) {\n z-index: 1070;\n}\n.handsontable .ht_master table td.htCustomMenuRenderer {\n cursor: auto;\n}\n.handsontable .ht_master table td.htCustomMenuRenderer.htFiltersMenuActionBar {\n padding-top: calc(var(--ht-menu-item-vertical-padding, 4px) * 2);\n}\n.handsontable .htFiltersMenuLabel {\n font-size: var(--ht-font-size-small);\n line-height: var(--ht-line-height-small);\n font-weight: var(--ht-font-weight);\n margin-bottom: calc(var(--ht-gap-size, 2px) * 2);\n}\n.handsontable .htFiltersMenuLabel:empty {\n display: none;\n}\n.handsontable .htFiltersMenuCondition {\n padding-top: calc(var(--ht-gap-size, 2px) * 3) !important;\n padding-bottom: 0 !important;\n}\n.handsontable .htFiltersMenuCondition .border {\n border-bottom: 1px solid var(--ht-border-color) !important;\n}\n.handsontable .htFiltersMenuCondition .htUIInput {\n margin-top: calc(var(--ht-gap-size, 2px) * 2);\n}\n.handsontable .htFiltersMenuValue {\n padding-top: calc(var(--ht-gap-size, 2px) * 3) !important;\n padding-bottom: 0 !important;\n border-bottom: 1px solid var(--ht-border-color) !important;\n}\n.handsontable .htFiltersMenuOperators {\n padding-top: calc(var(--ht-gap-size, 2px) * 2) !important;\n padding-bottom: 0 !important;\n}\n.handsontable .htUISelectionControls {\n padding-top: calc(var(--ht-gap-size, 2px) * 2) !important;\n padding-bottom: var(--ht-gap-size, 2px) !important;\n margin: 0 calc(var(--ht-gap-size, 2px) * -1);\n}\n.handsontable .htUIMultipleSelectHot {\n --ht-cell-horizontal-padding: calc(\n var(--ht-menu-item-horizontal-padding, 2px) +\n var(--ht-gap-size, 2px) * 2);\n overflow: initial !important;\n width: calc(100% + var(--ht-menu-item-horizontal-padding, 2px) * 2 + var(--ht-gap-size, 2px) * 4);\n margin: 0 calc((var(--ht-menu-item-horizontal-padding, 2px) + var(--ht-gap-size, 2px) * 2) * -1);\n}\n.handsontable .htUIMultipleSelectHot::before {\n content: "";\n display: block;\n position: absolute;\n top: -1px;\n left: 0;\n width: 100%;\n height: 1px;\n background-color: var(--ht-border-color);\n}\n.handsontable .htUIMultipleSelectHot .wtHolder {\n padding: 0;\n overflow-x: hidden;\n box-sizing: border-box;\n}\n.handsontable .htUIMultipleSelectHot .wtHolder .wtSpreader {\n padding: calc(var(--ht-gap-size) * 2) 0;\n}\n.handsontable .htUIMultipleSelectHot .wtHolder td {\n height: auto !important;\n padding: 4px var(--ht-cell-horizontal-padding);\n}\n.handsontable .htUIClearAll,\n.handsontable .htUISelectAll {\n display: inline-block;\n margin-right: var(--ht-gap-size, 4px);\n margin-bottom: var(--ht-gap-size, 4px);\n}\n.handsontable .htUIClearAll a,\n.handsontable .htUISelectAll a {\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n color: var(--ht-link-color);\n border-radius: var(--ht-button-border-radius);\n}\n.handsontable .htUIClearAll a:hover,\n.handsontable .htUISelectAll a:hover {\n color: var(--ht-link-hover-color);\n}\n.handsontable .htUIClearAll a:focus,\n.handsontable .htUISelectAll a:focus {\n outline: 1px solid var(--ht-link-hover-color);\n}\n.handsontable .htUIMultipleSelect .ht_master .wtHolder {\n overflow: auto;\n}\n.handsontable .htUIMultipleSelect .ht_master .wtHolder .wtHider,\n.handsontable .htUIMultipleSelect .ht_master .wtHolder .htCore,\n.handsontable .htUIMultipleSelect .ht_master .wtHolder tr,\n.handsontable .htUIMultipleSelect .ht_master .wtHolder td {\n background: none;\n}\n.handsontable .htUIInput.htUIButton {\n cursor: pointer;\n display: inline-block;\n}\n.handsontable .htUIInput.htUIButtonOK {\n margin-inline-start: 0;\n margin-inline-end: calc(2 * var(--ht-gap-size, 2px));\n}\n\n.handsontable .htCommentCell {\n position: relative;\n}\n.handsontable .htCommentCell::after {\n content: "";\n display: block;\n position: absolute;\n top: 0;\n inset-inline-end: 0;\n inset-inline-start: unset;\n border-inline-start: var(--ht-comments-indicator-size, 4px) solid transparent;\n border-inline-end: none;\n border-top: var(--ht-comments-indicator-size, 4px) solid var(--ht-comments-indicator-color, #1a42e8);\n}\n\n.htCommentsContainer .htComments {\n display: none;\n z-index: 1059;\n position: absolute;\n}\n.htCommentsContainer .htCommentTextArea {\n font-family: var(--ht-font-family), -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;\n 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, rgb(0, 0, 0)) var(--ht-menu-shadow-opacity, 100%), transparent);\n width: 240px;\n height: 88px;\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n font-weight: var(--ht-font-weight);\n margin: 0 -1px;\n padding: var(--ht-comments-textarea-vertical-padding) var(--ht-comments-textarea-horizontal-padding);\n border: var(--ht-comments-textarea-border-width, 1px) solid var(--ht-comments-textarea-border-color, transparent);\n border-inline-start: var(--ht-comments-textarea-border-width, 1px) solid var(--ht-comments-textarea-border-color, #1a42e8);\n color: var(--ht-comments-textarea-foreground-color);\n background-color: var(--ht-comments-textarea-background-color, #ffffff);\n outline: 0 !important;\n box-sizing: border-box;\n -webkit-appearance: none;\n}\n.htCommentsContainer .htCommentTextArea:focus {\n border: var(--ht-comments-textarea-focus-border-width, 1px) solid var(--ht-comments-textarea-focus-border-color, #1a42e8);\n color: var(--ht-comments-textarea-focus-foreground-color);\n background-color: var(--ht-comments-textarea-focus-background-color, #ffffff);\n}\n\n.htBorders .wtBorder.ht-border-style-dashed-vertical {\n background-image: repeating-linear-gradient(to bottom, var(--ht-custom-border-color) 0 5px, transparent 0 10px);\n}\n.htBorders .wtBorder.ht-border-style-dashed-horizontal {\n background-image: repeating-linear-gradient(to right, var(--ht-custom-border-color) 0 5px, transparent 0 10px);\n}\n.htBorders .wtBorder.ht-border-style-dotted-horizontal {\n background-image: radial-gradient(circle, var(--ht-custom-border-color) calc(var(--ht-custom-border-size) / 2), transparent 0);\n background-size: calc(var(--ht-custom-border-size) * 2) var(--ht-custom-border-size);\n background-repeat: repeat-x;\n}\n.htBorders .wtBorder.ht-border-style-dotted-vertical {\n background-image: radial-gradient(circle, var(--ht-custom-border-color) calc(var(--ht-custom-border-size) / 2), transparent 0);\n background-size: var(--ht-custom-border-size) calc(var(--ht-custom-border-size) * 2);\n background-repeat: repeat-y;\n}\n\n.handsontable .columnSorting:not(.indicatorDisabled) {\n position: relative;\n}\n.handsontable .columnSorting:not(.indicatorDisabled).sortAction {\n min-width: calc(var(--ht-icon-size, 16px) + 8px);\n}\n.handsontable .columnSorting:not(.indicatorDisabled).sortAction.ascending, .handsontable .columnSorting:not(.indicatorDisabled).sortAction.descending {\n padding-inline-end: calc(var(--ht-icon-size, 16px) + 2px);\n max-width: calc(100% - (var(--ht-icon-size, 16px) * 2 + var(--ht-gap-size, 4px) + 3px)) !important;\n}\n.handsontable .columnSorting:not(.indicatorDisabled).sortAction:hover {\n text-decoration: none;\n cursor: pointer;\n}\n.handsontable .columnSorting:not(.indicatorDisabled).sortAction::before {\n content: "";\n display: block;\n width: var(--ht-icon-size, 16px);\n position: absolute;\n top: 50%;\n right: 2px;\n transform: translateY(-50%);\n text-align: right;\n}\n.handsontable .htRight .columnSorting.sortAction.ascending, .handsontable .htRight .columnSorting.sortAction.descending {\n padding-inline-start: calc(var(--ht-icon-size, 16px) + 2px);\n padding-inline-end: 0;\n}\n.handsontable .htRight .columnSorting.sortAction::before {\n left: 2px;\n right: auto;\n text-align: left;\n}\n\n[dir=rtl] .handsontable .columnSorting.sortAction::before {\n left: 2px;\n right: auto;\n text-align: left;\n}\n[dir=rtl] .handsontable .htRight .columnSorting.sortAction.ascending, [dir=rtl] .handsontable .htRight .columnSorting.sortAction.descending {\n padding-inline-start: 0;\n padding-inline-end: calc(var(--ht-icon-size, 16px) + 2px);\n}\n[dir=rtl] .handsontable .htLeft .columnSorting.sortAction.ascending, [dir=rtl] .handsontable .htLeft .columnSorting.sortAction.descending {\n padding-inline-start: calc(var(--ht-icon-size, 16px) + 2px);\n padding-inline-end: 0;\n}\n[dir=rtl] .handsontable .htLeft .columnSorting.sortAction::before {\n left: auto;\n right: 2px;\n text-align: right;\n}\n\n.htGhostTable .htCore span.colHeader.columnSorting:not(.indicatorDisabled)::before {\n content: "*";\n display: inline-block;\n position: relative;\n /* The multi-line header and header with longer text need more padding to not hide arrow,\n we make header wider in `GhostTable` to make some space for arrow which is positioned absolutely in the main table */\n padding-inline-end: calc(var(--ht-icon-size, 16px) + 2px);\n}\n\n.handsontable .colHeader.columnSorting::after {\n content: "";\n display: block;\n width: 8px;\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n margin-top: 4px;\n font-size: 8px;\n text-align: right;\n}\n.handsontable .colHeader.columnSorting[class^=sort-]::after, .handsontable .colHeader.columnSorting[class*=" sort-"]::after {\n content: "+";\n}\n.handsontable .colHeader.columnSorting.sort-1::after {\n content: "1";\n}\n.handsontable .colHeader.columnSorting.sort-2::after {\n content: "2";\n}\n.handsontable .colHeader.columnSorting.sort-3::after {\n content: "3";\n}\n.handsontable .colHeader.columnSorting.sort-4::after {\n content: "4";\n}\n.handsontable .colHeader.columnSorting.sort-5::after {\n content: "5";\n}\n.handsontable .colHeader.columnSorting.sort-6::after {\n content: "6";\n}\n.handsontable .colHeader.columnSorting.sort-7::after {\n content: "7";\n}\n.handsontable .htRight .colHeader.columnSorting::after {\n left: 0;\n right: auto;\n text-align: left;\n}\n\n[dir=rtl] .handsontable .colHeader.columnSorting::after {\n left: 0;\n right: auto;\n text-align: left;\n}\n[dir=rtl] .handsontable .htLeft .colHeader.columnSorting::after {\n left: auto;\n right: 0;\n text-align: right;\n}\n\n.htGhostTable th div button.changeType + span.colHeader.columnSorting:not(.indicatorDisabled) {\n padding-right: var(--ht-gap-size);\n}\n\n.handsontable .htRowHeaders .ht_master.innerBorderInlineStart ~ .ht_clone_top_inline_start_corner th:nth-child(2), .handsontable .htRowHeaders .ht_master.innerBorderInlineStart ~ .ht_clone_inline_start td:first-of-type {\n border-left: 0 none;\n}\n.handsontable .ht_clone_top_inline_start_corner th.ht__active_highlight {\n box-shadow: none;\n}\n\n.handsontable .manualColumnResizer {\n position: absolute;\n top: 0;\n width: 10px;\n margin: 0;\n cursor: col-resize;\n background: none;\n opacity: 0;\n z-index: 210;\n}\n.handsontable .manualColumnResizer::before, .handsontable .manualColumnResizer::after {\n content: "";\n display: block;\n position: absolute;\n top: 50%;\n left: 1px;\n width: 2px;\n height: calc(100% - 12px);\n max-height: 16px;\n margin-top: 0.5px;\n background: var(--ht-resize-indicator-color);\n border-radius: 2px;\n transform: translateY(-50%);\n}\n.handsontable .manualColumnResizer::after {\n left: auto;\n right: 0;\n}\n.handsontable .manualColumnResizer:hover, .handsontable .manualColumnResizer.active {\n opacity: 1;\n}\n.handsontable .manualColumnResizerGuide {\n position: absolute;\n inset-inline-end: unset;\n top: 0;\n width: 0;\n margin-inline-start: 5px;\n margin-inline-end: unset;\n display: none;\n border-inline-end: 1px solid var(--ht-accent-color);\n border-inline-start: none;\n}\n.handsontable .manualColumnResizerGuide.active {\n display: block;\n z-index: 209;\n}\n\n.handsontable .manualRowResizer {\n position: absolute;\n left: 0;\n z-index: 210;\n height: 10px;\n margin: 0;\n cursor: row-resize;\n background: none;\n opacity: 0;\n}\n.handsontable .manualRowResizer::before, .handsontable .manualRowResizer::after {\n content: "";\n display: block;\n position: absolute;\n top: 1px;\n left: 50%;\n width: calc(100% - 12px);\n max-width: 16px;\n height: 2px;\n background: var(--ht-resize-indicator-color);\n border-radius: 2px;\n transform: translateX(-50%);\n}\n.handsontable .manualRowResizer::after {\n top: auto;\n bottom: 0;\n}\n.handsontable .manualRowResizer:hover, .handsontable .manualRowResizer.active {\n opacity: 1;\n}\n.handsontable .manualRowResizerGuide {\n position: absolute;\n left: 0;\n bottom: 0;\n height: 0;\n margin-top: 5px;\n display: none;\n border-bottom: 1px solid var(--ht-accent-color);\n border-top: none;\n}\n.handsontable .manualRowResizerGuide.active {\n display: block;\n z-index: 209;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight]:not([class*=fullySelectedMergedCell])::before {\n opacity: 0;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-multiple]::before {\n opacity: 0.14;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-0]:before {\n opacity: 0.14;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-1]:before {\n opacity: 0.21;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-2]:before {\n opacity: 0.28;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-3]:before {\n opacity: 0.35;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-4]:before {\n opacity: 0.42;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-5]:before {\n opacity: 0.49;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-6]:before {\n opacity: 0.56;\n}\n\n.handsontable tbody td[rowspan][class*=area][class*=highlight][class*=fullySelectedMergedCell-7]:before {\n opacity: 0.63;\n}\n\n.handsontable .wtHider {\n position: relative;\n}\n.handsontable .ht__manualColumnMove.after-selection--columns thead th.ht__highlight, .handsontable.ht__manualColumnMove.after-selection--columns thead th.ht__highlight {\n cursor: move;\n cursor: -moz-grab;\n cursor: -webkit-grab;\n cursor: grab;\n}\n.handsontable .ht__manualColumnMove.on-moving--columns *,\n.handsontable .ht__manualColumnMove.on-moving--columns thead th.ht__highlight, .handsontable.ht__manualColumnMove.on-moving--columns *,\n.handsontable.ht__manualColumnMove.on-moving--columns thead th.ht__highlight {\n cursor: move;\n cursor: -moz-grabbing;\n cursor: -webkit-grabbing;\n cursor: grabbing;\n}\n.handsontable .ht__manualColumnMove.on-moving--columns .manualColumnResizer, .handsontable.ht__manualColumnMove.on-moving--columns .manualColumnResizer {\n display: none;\n}\n.handsontable .ht__manualColumnMove--guideline, .handsontable .ht__manualColumnMove--backlight, .handsontable.ht__manualColumnMove--guideline, .handsontable.ht__manualColumnMove--backlight {\n position: absolute;\n height: 100%;\n display: none;\n}\n.handsontable .ht__manualColumnMove--guideline, .handsontable.ht__manualColumnMove--guideline {\n width: 1px;\n top: 0;\n margin-inline-start: -0.5px;\n margin-inline-end: 0;\n z-index: 205;\n background: var(--ht-move-indicator-color, #1a42e8);\n}\n.handsontable .ht__manualColumnMove--backlight, .handsontable.ht__manualColumnMove--backlight {\n display: none;\n z-index: 205;\n pointer-events: none;\n background: color-mix(in srgb, var(--ht-move-backlight-color) var(--ht-move-backlight-opacity, 100%), transparent);\n}\n.handsontable .on-moving--columns.show-ui .ht__manualColumnMove--guideline,\n.handsontable .on-moving--columns .ht__manualColumnMove--backlight, .handsontable.on-moving--columns.show-ui .ht__manualColumnMove--guideline,\n.handsontable.on-moving--columns .ht__manualColumnMove--backlight {\n display: block;\n}\n\n.handsontable .wtHider {\n position: relative;\n}\n.handsontable .ht__manualRowMove.after-selection--rows tbody th.ht__highlight, .handsontable.ht__manualRowMove.after-selection--rows tbody th.ht__highlight {\n cursor: move;\n cursor: -moz-grab;\n cursor: -webkit-grab;\n cursor: grab;\n}\n.handsontable .ht__manualRowMove.on-moving--rows *,\n.handsontable .ht__manualRowMove.on-moving--rows tbody th.ht__highlight, .handsontable.ht__manualRowMove.on-moving--rows *,\n.handsontable.ht__manualRowMove.on-moving--rows tbody th.ht__highlight {\n cursor: move;\n cursor: -moz-grabbing;\n cursor: -webkit-grabbing;\n cursor: grabbing;\n}\n.handsontable .ht__manualRowMove.on-moving--rows .manualRowResizer, .handsontable.ht__manualRowMove.on-moving--rows .manualRowResizer {\n display: none;\n}\n.handsontable .ht__manualRowMove--guideline, .handsontable .ht__manualRowMove--backlight, .handsontable.ht__manualRowMove--guideline, .handsontable.ht__manualRowMove--backlight {\n position: absolute;\n width: 100%;\n display: none;\n}\n.handsontable .ht__manualRowMove--guideline, .handsontable.ht__manualRowMove--guideline {\n border-top: 1px solid var(--ht-move-indicator-color);\n left: 0;\n z-index: 205;\n}\n.handsontable .ht__manualRowMove--backlight, .handsontable.ht__manualRowMove--backlight {\n display: none;\n z-index: 205;\n pointer-events: none;\n background: color-mix(in srgb, var(--ht-move-backlight-color) var(--ht-move-backlight-opacity, 100%), transparent);\n}\n.handsontable .on-moving--rows.show-ui .ht__manualRowMove--guideline,\n.handsontable .on-moving--rows .ht__manualRowMove--backlight, .handsontable.on-moving--rows.show-ui .ht__manualRowMove--guideline,\n.handsontable.on-moving--rows .ht__manualRowMove--backlight {\n display: block;\n}\n\n.ht-dialog {\n scrollbar-width: auto;\n scrollbar-color: var(--ht-scrollbar-thumb-color) var(--ht-scrollbar-track-color);\n position: absolute;\n top: 0;\n left: 0;\n display: none;\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n letter-spacing: var(--ht-letter-spacing);\n width: 100%;\n height: 100%;\n z-index: 1060;\n opacity: 0;\n overflow-y: auto;\n border-radius: var(--ht-wrapper-border-radius);\n border: 1px solid var(--ht-border-color);\n box-sizing: border-box !important;\n}\n.ht-dialog[dir=rtl] {\n left: auto;\n right: 0;\n}\n.ht-dialog:focus {\n border: 1px solid var(--ht-accent-color);\n outline: none;\n}\n.ht-dialog:has(.htFocusCatcher:focus) {\n border: 1px solid var(--ht-accent-color);\n outline: none;\n}\n.ht-dialog * {\n box-sizing: border-box !important;\n}\n.ht-dialog--background-solid {\n background-color: var(--ht-dialog-solid-background-color);\n}\n.ht-dialog--background-semi-transparent {\n background-color: color-mix(in srgb, var(--ht-dialog-semi-transparent-background-color) var(--ht-dialog-semi-transparent-background-opacity, 100%), transparent);\n}\n.ht-dialog--animation {\n transition: opacity var(--ht-table-transition) ease-in-out;\n}\n.ht-dialog--show {\n opacity: 1;\n}\n.ht-dialog__content-wrapper {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n min-height: 100%;\n padding: calc(var(--ht-gap-size) * 4);\n border-radius: var(--ht-wrapper-border-radius);\n}\n.ht-dialog__content {\n position: relative;\n padding: var(--ht-dialog-content-padding-horizontal) var(--ht-dialog-content-padding-vertical);\n max-width: 480px;\n color: var(--ht-foreground-color);\n}\n.ht-dialog__content--background {\n 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, rgb(0, 0, 0)) var(--ht-shadow-opacity, 100%), transparent);\n border-radius: var(--ht-dialog-content-border-radius);\n background-color: var(--ht-dialog-content-background-color);\n}\n.ht-dialog--confirm .ht-dialog__content-wrapper {\n text-align: center;\n padding: calc(var(--ht-gap-size) * 2);\n}\n.ht-dialog--confirm .ht-dialog__content-wrapper-inner {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n max-width: 480px;\n padding: calc(var(--ht-gap-size) * 2);\n border-radius: var(--ht-wrapper-border-radius);\n}\n.ht-dialog--confirm .ht-dialog__content-wrapper-inner--background {\n 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, rgb(0, 0, 0)) var(--ht-shadow-opacity, 100%), transparent);\n border-radius: var(--ht-dialog-content-border-radius);\n background-color: var(--ht-dialog-content-background-color);\n}\n.ht-dialog--confirm .ht-dialog__content-wrapper-inner:focus {\n outline: none;\n box-shadow: 0 0 0 1px var(--ht-accent-color);\n}\n.ht-dialog--confirm .ht-dialog__content {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: var(--ht-gap-size);\n}\n.ht-dialog--confirm .ht-dialog__content:has(.ht-dialog__buttons) {\n gap: calc(var(--ht-gap-size) * 2);\n}\n.ht-dialog--confirm .ht-dialog__title {\n margin: 0;\n font-size: var(--ht-font-size);\n font-weight: var(--ht-font-weight);\n line-height: var(--ht-line-height);\n}\n.ht-dialog--confirm .ht-dialog__description {\n margin: 0;\n color: var(--ht-foreground-secondary-color);\n font-size: var(--ht-font-size-small);\n line-height: var(--ht-line-height-small);\n font-weight: var(--ht-font-weight);\n}\n.ht-dialog--confirm .ht-dialog__buttons {\n display: flex;\n justify-content: center;\n flex-direction: row;\n flex-wrap: wrap;\n gap: calc(var(--ht-gap-size) * 2);\n}\n\n.handsontable.ht-pagination {\n color: var(--ht-pagination-bar-foreground-color);\n background: var(--ht-pagination-bar-background-color);\n border: 1px solid var(--ht-wrapper-border-color);\n border-top-color: transparent;\n border-radius: 0 0 var(--ht-wrapper-border-radius) var(--ht-wrapper-border-radius);\n font-size: var(--ht-font-size);\n line-height: var(--ht-line-height);\n box-sizing: border-box;\n overflow-x: auto;\n}\n.handsontable.ht-pagination--bordered {\n border-top-color: var(--ht-wrapper-border-color);\n}\n.handsontable.ht-pagination .ht-pagination__inner {\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-wrap: wrap;\n gap: calc(var(--ht-gap-size) * 4);\n border-radius: 0 0 var(--ht-wrapper-border-radius) var(--ht-wrapper-border-radius);\n padding-inline: var(--ht-pagination-bar-horizontal-padding);\n padding-block: var(--ht-pagination-bar-vertical-padding);\n min-width: 230px;\n}\n.handsontable.ht-pagination .ht-page-size-section {\n display: flex;\n align-items: center;\n gap: calc(var(--ht-gap-size) * 2);\n}\n.handsontable.ht-pagination .ht-page-size-section__label {\n white-space: nowrap;\n}\n.handsontable.ht-pagination .ht-page-size-section__select-wrapper {\n position: relative;\n border-radius: var(--ht-input-border-radius);\n}\n.handsontable.ht-pagination .ht-page-size-section__select-wrapper select {\n padding-inline-start: var(--ht-gap-size);\n padding-inline-end: calc(var(--ht-gap-size) + var(--ht-icon-size));\n padding-top: var(--ht-gap-size);\n padding-bottom: var(--ht-gap-size);\n border-radius: var(--ht-input-border-radius);\n color: var(--ht-input-foreground-color);\n background-color: var(--ht-input-background-color);\n border: 1px solid var(--ht-input-border-color);\n line-height: calc(var(--ht-line-height) - 4px);\n -webkit-appearance: none;\n font-size: inherit;\n cursor: pointer;\n}\n.handsontable.ht-pagination .ht-page-size-section__select-wrapper select:disabled {\n opacity: 0.4;\n cursor: default;\n color: var(--ht-input-disabled-foreground-color);\n background-color: var(--ht-input-disabled-background-color);\n border-color: var(--ht-input-disabled-border-color);\n}\n.handsontable.ht-pagination .ht-page-size-section__select-wrapper select:hover:not(:disabled) {\n color: var(--ht-input-hover-foreground-color);\n background-color: var(--ht-input-hover-background-color);\n border-color: var(--ht-input-hover-border-color);\n}\n.handsontable.ht-pagination .ht-page-size-section__select-wrapper select:focus {\n color: var(--ht-input-focus-foreground-color);\n background-color: var(--ht-input-focus-background-color);\n border-color: var(--ht-input-focus-border-color);\n outline: none;\n}\n.handsontable.ht-pagination .ht-page-size-section__select-wrapper::after {\n content: "";\n display: block;\n position: absolute;\n inset-inline-end: var(--ht-gap-size);\n inset-block-end: 50%;\n transform: translateY(50%);\n background-color: var(--ht-foreground-color);\n pointer-events: none;\n}\n.handsontable.ht-pagination .ht-page-counter-section {\n margin-inline-end: auto;\n}\n.handsontable.ht-pagination .ht-page-navigation-section {\n display: flex;\n align-items: center;\n gap: 1px;\n}\n.handsontable.ht-pagination .ht-page-navigation-section__button {\n font-size: inherit;\n border: 1px solid var(--ht-pagination-bar-background-color);\n color: var(--ht-secondary-button-foreground-color);\n background-color: var(--ht-pagination-bar-background-color);\n border-radius: var(--ht-icon-button-large-border-radius);\n padding: var(--ht-icon-button-large-padding);\n cursor: pointer;\n}\n.handsontable.ht-pagination .ht-page-navigation-section__button::before {\n content: "";\n display: block;\n}\n.handsontable.ht-pagination .ht-page-navigation-section__button--disabled {\n cursor: default;\n pointer-events: none;\n color: var(--ht-secondary-button-disabled-foreground-color);\n}\n.handsontable.ht-pagination .ht-page-navigation-section__button:hover:not(:disabled) {\n background-color: var(--ht-secondary-button-hover-background-color);\n}\n.handsontable.ht-pagination .ht-page-navigation-section__button:focus {\n outline: none;\n border: 1px solid var(--ht-accent-color);\n}\n.handsontable.ht-pagination .ht-page-navigation-section__label {\n white-space: nowrap;\n min-width: 100px;\n text-align: center;\n}\n.handsontable.ht-wrapper.htPagination {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n}\n.handsontable.ht-wrapper.htPagination .htCore {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n}\n.handsontable.ht-wrapper.htPagination .htCore thead tr:last-child th:first-child,\n.handsontable.ht-wrapper.htPagination .htCore tbody tr:last-child td:first-child,\n.handsontable.ht-wrapper.htPagination .htCore tbody tr:last-child th:first-child {\n border-end-start-radius: 0 !important;\n}\n.handsontable.ht-wrapper.htPagination .htCore thead tr:last-child th:last-child,\n.handsontable.ht-wrapper.htPagination .htCore tbody tr:last-child td:last-child,\n.handsontable.ht-wrapper.htPagination .htCore tbody tr:last-child th:last-child {\n border-end-end-radius: 0 !important;\n}\n\n.ht-loading__icon-svg {\n display: block;\n width: var(--ht-icon-size);\n height: var(--ht-icon-size);\n color: var(--ht-accent-color);\n animation: ht-loading-spin 1s linear infinite;\n transform-origin: 50% 50%;\n}\n.ht-loading__content {\n display: flex;\n align-items: center;\n gap: calc(var(--ht-gap-size) * 2);\n}\n.ht-loading__title {\n margin: 0;\n font-size: var(--ht-font-size);\n font-weight: var(--ht-font-weight);\n line-height: var(--ht-line-height);\n}\n.ht-loading__description {\n margin: 0;\n color: var(--ht-foreground-secondary-color);\n font-size: var(--ht-font-size-small);\n line-height: var(--ht-line-height-small);\n font-weight: var(--ht-font-weight);\n}\n\n@keyframes ht-loading-spin {\n to {\n transform: rotate(360deg);\n }\n}\n.ht-empty-data-state {\n scrollbar-width: auto;\n scrollbar-color: var(--ht-scrollbar-thumb-color) var(--ht-scrollbar-track-color);\n display: none;\n position: absolute;\n width: 100%;\n left: 0;\n z-index: 999;\n overflow-y: auto;\n border: 1px solid var(--ht-border-color);\n border-radius: var(--ht-wrapper-border-radius);\n box-sizing: border-box;\n background-color: var(--ht-background-color);\n}\n.ht-empty-data-state * {\n box-sizing: border-box !important;\n}\n.ht-empty-data-state__content-wrapper {\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n width: 100%;\n min-height: 100%;\n padding: calc(var(--ht-gap-size) * 2);\n border-radius: var(--ht-wrapper-border-radius);\n}\n.ht-empty-data-state__content-wrapper-inner {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n max-width: 480px;\n padding: calc(var(--ht-gap-size) * 2);\n border-radius: var(--ht-wrapper-border-radius);\n}\n.ht-empty-data-state__content-wrapper-inner:focus {\n outline: none;\n box-shadow: 0 0 0 1px var(--ht-accent-color);\n}\n.ht-empty-data-state__content {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: var(--ht-gap-size);\n}\n.ht-empty-data-state__title {\n margin: 0;\n font-size: var(--ht-font-size);\n font-weight: var(--ht-font-weight);\n line-height: var(--ht-line-height);\n}\n.ht-empty-data-state__description {\n margin: 0;\n color: var(--ht-foreground-secondary-color);\n font-size: var(--ht-font-size-small);\n line-height: var(--ht-line-height-small);\n font-weight: var(--ht-font-weight);\n}\n.ht-empty-data-state__buttons {\n display: flex;\n justify-content: center;\n flex-direction: row;\n flex-wrap: wrap;\n gap: calc(var(--ht-gap-size) * 2);\n}\n.ht-empty-data-state__buttons--has-buttons {\n margin-top: calc(var(--ht-gap-size) * 2);\n}\n.ht-empty-data-state--disable-top-border {\n border-start-start-radius: 0;\n border-start-end-radius: 0;\n border-top-width: 0;\n}\n.ht-empty-data-state--disable-inline-border {\n border-start-start-radius: 0;\n border-end-start-radius: 0;\n border-inline-start-width: 0;\n}\n.ht-empty-data-state--disable-bottom-border, .ht-empty-data-state:has(~ .ht-pagination) {\n border-end-start-radius: 0;\n border-end-end-radius: 0;\n border-bottom-width: 0;\n}\n',Wg(qg,this).head.appendChild(e)}function nf(){const t=this.getCSSVariableValue("line-height"),e=this.getCSSVariableValue("cell-vertical-padding"),n=Math.ceil(parseFloat(this.getStyleForTD("border-bottom-width")));return null===t||null===e||isNaN(n)?null:t+2*e+n}function of(){zg(Kg,this,getComputedStyle(Wg(Gg,this)));const t=jg(Qg,this,rf).call(this,["box-sizing","border-bottom-width"]);Wg(Zg,this).td={...Wg(Zg,this).td,"box-sizing":t["box-sizing"],"border-bottom-width":t["border-bottom-width"]}}function rf(t){const e=Wg(qg,this),n=Wg(Gg,this),o=e.createElement("table"),i=e.createElement("tbody"),r=e.createElement("tr"),s=e.createElement("tr"),a=e.createElement("td");s.appendChild(a),i.appendChild(r),i.appendChild(s),o.appendChild(i),n.appendChild(o);const l=getComputedStyle(a),h={};return t.forEach(t=>{h[t]=l.getPropertyValue(t)}),n.removeChild(o),h}function sf(t){const e=Math.ceil(parseFloat(jg(Qg,this,af).call(this,t)));return Number.isNaN(e)?null:e}function af(t){var e;const n=null===(e=Wg(Kg,this))||void 0===e?void 0:e.getPropertyValue(t);return""===n?null:n}function lf(){zg(Zg,this,{}),zg(Xg,this,{})}let hf=null,cf=0;var df={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"},uf={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"}};const gf=new Set(["name","sizing","density","icons","colors","tokens","colorScheme"]),ff=new Set(["light","dark","auto"]),pf=new Set(["default","compact","comfortable"]),mf=new Set(["arrowRight","arrowRightWithBar","arrowLeft","arrowLeftWithBar","arrowDown","menu","selectArrow","arrowNarrowUp","arrowNarrowDown","check","checkbox","caretHiddenLeft","caretHiddenRight","caretHiddenUp","caretHiddenDown","collapseOff","collapseOn","radio","chipClose","search"]),bf=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 wf(t){if(!ff.has(t)){wt(`[ThemeBuilder] Invalid color scheme: "${t}". Must be one of: ${[...ff].join(", ")}.`)}return t}function vf(t){if(!pf.has(t)){wt(`[ThemeBuilder] Invalid density: "${t}". Must be one of: ${[...pf].join(", ")}.`)}return t}function yf(t,e){Et(t)?(t.type&&t.sizes||wt(`[ThemeBuilder] ${e} must be a string or an object with a 'type' and 'sizes' property.`),vf(t.type),function(t,e){Et(t)||wt(`[ThemeBuilder] ${e}.sizes must be an object.`),Object.keys(t).forEach(t=>{pf.has(t)||Qt(`[ThemeBuilder] Unknown density size key: "${t}" in ${e}.sizes. This may be a custom density size or a typo.`)})}(t.sizes,`${e}.sizes`)):"string"==typeof t&&vf(t)}function Cf(t,e){Object.entries(t).forEach(t=>{let[n,o]=t;const i=`${e}.${n}`;"string"!=typeof o&&(Et(o)?Cf(o,i):wt(`[ThemeBuilder] ${i} must be a string or an object.`))})}function Sf(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const{type:i="key",warnMissing:r=!1}=o;if(!t)return void(r&&Qt(`[ThemeBuilder] No ${i}s provided in ${n}. All ${i}s are missing.`));if(Object.keys(t).forEach(t=>{e.has(t)||Qt(`[ThemeBuilder] Unknown ${i} key: "${t}" in ${n}. This may be a custom ${i} or a typo.`)}),r){const o=[];e.forEach(e=>{e in t||o.push(e)}),o.length>0&&Qt(`[ThemeBuilder] Missing ${i}(s) in ${n}: ${o.join(", ")}`)}}function Rf(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{requiredFields:o=[]}=n;"object"==typeof t&&null!==t||wt(`[ThemeBuilder] ${e} must be an object.`);const{name:i,sizing:r,density:s,icons:a,colors:l,tokens:h,colorScheme:c}=t;Sf(t,gf,e,{type:"param"}),o.forEach(n=>{void 0===t[n]&&wt(`[ThemeBuilder] ${e}.${n} is required.`)}),void 0!==i&&function(t,e){"string"==typeof t&&""!==t.trim()||wt(`[ThemeBuilder] ${e}.name must be a non-empty string.`)}(i,e),void 0!==r&&(Et(r)||wt(`[ThemeBuilder] ${e}.sizing must be an object.`)),void 0!==s&&(Et(s)||"string"==typeof s||wt(`[ThemeBuilder] ${e}.density must be a string or an object.`),yf(s,`${e}.density`)),void 0!==a&&(Et(a)||wt(`[ThemeBuilder] ${e}.icons must be an object.`),Sf(a,mf,`${e}.icons`,{type:"icon",warnMissing:o.includes("icons")})),void 0!==l&&(Et(l)||wt(`[ThemeBuilder] ${e}.colors must be an object.`),Cf(l,`${e}.colors`)),void 0!==h&&(Et(h)||wt(`[ThemeBuilder] ${e}.tokens must be an object.`),Sf(h,bf,`${e}.tokens`,{type:"token",warnMissing:o.includes("tokens")})),void 0!==c&&wf(c)}function kf(t,e,n){xf(t,e),e.set(t,n)}function xf(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ef(t,e){return t.get(Tf(t,e))}function Mf(t,e,n){return t.set(Tf(t,e),n),n}function Tf(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}const _f=["sizing","icons","colors","tokens"],Hf=["name","icons","colors","tokens"];var If=new WeakMap,Af=new WeakMap,Pf=new WeakMap,Of=new WeakMap,Nf=new WeakMap,Df=new WeakSet;class Lf{constructor(t){var e,n;xf(e=this,n=Df),n.add(e),kf(this,If,void 0),kf(this,Af,void 0),kf(this,Pf,new Set),kf(this,Of,"auto"),kf(this,Nf,"default"),Rf(t,"themeConfig",{requiredFields:Hf}),Mf(If,this,{name:void 0,sizing:df,density:{type:Ef(Nf,this),sizes:uf},icons:{},colors:{},tokens:{},colorScheme:Ef(Of,this)}),Tf(Df,this,Ff).call(this,t),Mf(If,this,Ef(Af,this))}subscribe(t){return"function"!=typeof t&&wt("[ThemeBuilder] listener must be a function."),Ef(Pf,this).add(t),()=>Ef(Pf,this).delete(t)}params(t){return Rf(t,"params"),Tf(Df,this,Ff).call(this,t),Tf(Df,this,Vf).call(this),this}setColorScheme(t){return Mf(Of,this,wf(t)),Ef(Af,this).colorScheme=Ef(Of,this),Ef(If,this).colorScheme=Ef(Of,this),Tf(Df,this,Vf).call(this),this}setDensityType(t){return Mf(Nf,this,vf(t)),Ef(Af,this).density.type=Ef(Nf,this),Ef(If,this).density.type=Ef(Nf,this),Tf(Df,this,Vf).call(this),this}getThemeConfig(){return Ef(Af,this)}}function Vf(){const t=this.getThemeConfig();Ef(Pf,this).forEach(e=>e(t))}function Bf(t,e){var n;if(Et(e))t.density=Nt(t.density,e),Mf(Nf,this,e.type),null!==(n=Ef(If,this))&&void 0!==n&&n.density&&(Ef(If,this).density.type=e.type);else if("string"==typeof e){var o;t.density.type=e,Mf(Nf,this,e),null!==(o=Ef(If,this))&&void 0!==o&&o.density&&(Ef(If,this).density.type=e)}}function Ff(t){const e=St(Ef(If,this));var n;(void 0!==t.name&&(void 0!==Ef(If,this).name?Qt('[ThemeBuilder] The "name" property can only be set during `registerTheme()` and cannot be updated via `params()`.'):e.name=t.name),_f.forEach(n=>{void 0!==t[n]&&Et(t[n])&&(e[n]=Nt(e[n],t[n]))}),void 0!==t.density&&Tf(Df,this,Bf).call(this,e,t.density),void 0!==t.colorScheme)&&(e.colorScheme=t.colorScheme,Mf(Of,this,t.colorScheme),null!==(n=Ef(If,this))&&void 0!==n&&n.colorScheme&&(Ef(If,this).colorScheme=t.colorScheme));Mf(Af,this,e)}const Wf=(t,e)=>`width: var(--ht-icon-size);\n height: var(--ht-icon-size);\n -webkit-mask-size: contain;\n -webkit-mask-image: url("${t[e]}");\n background-color: currentColor;`,zf="--ht-",jf=["font-family"],$f=["tokens.","colors.","sizing.","density."];function Uf(t,e){if(function(t){return"string"==typeof t&&$f.some(e=>t.includes(e))}(t))return(n=t).includes("tokens.")?`var(${zf}${Z(n.split(".").slice(1).join("-"))})`:`var(${zf}${Z(n.split(".").join("-"))})`;var n;if(Array.isArray(t)){if(t.length>=2){const[n,o]=t;return"string"==typeof n&&"string"==typeof o?`light-dark(${Uf(n,e)}, ${Uf(o,e)})`:"string"==typeof n?Uf(n,e):"string"==typeof o?Uf(o,e):""}return Uf(t[0],e)}return e&&jf.includes(e)?String(t):Z(t)}function Yf(t,e,n){return`${function(t,e){return`${zf}${t?`${t}-`:""}${Z(e)}`}(t,e)}: ${Uf(n,e)};`}function Gf(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="";return Object.entries(t).forEach(t=>{let[i,r]=t;const s=Z(i),a=n?`${n}-${s}`:s;Et(r)?o+=Gf(r,e,a):o+=`${Yf(e,a,r)}\n`}),o}function Kf(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}function qf(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xf(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var Zf=new WeakSet;class Jf{constructor(t){let{hot:e,themeObject:n}=t;Kf(this,Zf),qf(this,"hot",void 0),qf(this,"themeStyles",void 0),qf(this,"themeClassName",void 0),qf(this,"themeConfig",void 0),this.hot=e,this.update(n)}getClassName(){return this.themeClassName}update(t){this.hot&&(void 0===t.getThemeConfig&&wt('[ThemeManager] The "theme" option must be an instance of ThemeBuilder.'),this.themeConfig=t.getThemeConfig(),this.themeClassName=`ht-theme-${this.themeConfig.name}`,"function"==typeof t.subscribe&&t.subscribe(t=>{var e;null!==(e=this.hot)&&void 0!==e&&e.stylesHandler&&(this.themeConfig=t,Xf(Zf,this,Qf).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(){Xf(Zf,this,Qf).call(this)}unmount(){this.themeStyles&&this.themeStyles.remove()}destroy(){this.unmount(),this.hot.themeManager=null}}function Qf(){if(!(this.themeConfig&&this.hot&&this.hot.rootDocument&&this.hot.rootWrapperElement))return;const t="auto"===this.themeConfig.colorScheme?"light dark":this.themeConfig.colorScheme;var e;this.themeStyles?this.themeStyles.textContent="":this.themeStyles=this.hot.rootDocument.createElement("style"),this.themeStyles.textContent=`:where(.${this.themeClassName}) {\n`,this.themeStyles.textContent+=`color-scheme: ${t};\n`,this.themeConfig.sizing&&(this.themeStyles.textContent+=Gf(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+=Gf(this.themeConfig.density.sizes[this.themeConfig.density.type],"density")),this.themeConfig.colors&&(this.themeStyles.textContent+=Gf(this.themeConfig.colors,"colors")),this.themeConfig.tokens&&(this.themeStyles.textContent+=Gf(this.themeConfig.tokens)),this.themeConfig.icons&&(this.themeStyles.textContent+=(e=this.themeConfig.icons,`.htDropdownMenu table tbody tr td.htSubmenu .htItemWrapper::after,\n.htContextMenu table tbody tr td.htSubmenu .htItemWrapper::after,\n.htFiltersConditionsMenu table tbody tr td.htSubmenu .htItemWrapper::after,\n.pika-single .pika-next {\n ${Wf(e,"arrowRight")}\n}\n\n.pika-single .pika-prev {\n ${Wf(e,"arrowLeft")}\n}\n\n.ht-page-size-section__select-wrapper::after {\n ${Wf(e,"arrowDown")}\n}\n\n.changeType::before {\n ${Wf(e,"menu")}\n}\n\n.htUISelectCaption::after,\n.htAutocompleteArrow::after {\n ${Wf(e,"selectArrow")}\n}\n\n.columnSorting.sortAction.ascending::before {\n ${Wf(e,"arrowNarrowUp")}\n}\n\n.columnSorting.sortAction.descending::before {\n ${Wf(e,"arrowNarrowDown")}\n}\n\n.ht-page-navigation-section .ht-page-first::before {\n ${Wf(e,"arrowLeftWithBar")}\n}\n\n[dir="rtl"] .ht-page-navigation-section .ht-page-first::before {\n ${Wf(e,"arrowRightWithBar")}\n}\n\n.ht-page-navigation-section .ht-page-prev::before {\n ${Wf(e,"arrowLeft")}\n}\n\n[dir="rtl"] .ht-page-navigation-section .ht-page-prev::before {\n ${Wf(e,"arrowRight")}\n}\n\n.ht-page-navigation-section .ht-page-next::before {\n ${Wf(e,"arrowRight")}\n}\n\n[dir="rtl"] .ht-page-navigation-section .ht-page-next::before {\n ${Wf(e,"arrowLeft")}\n}\n\n.ht-page-navigation-section .ht-page-last::before {\n ${Wf(e,"arrowRightWithBar")}\n}\n\n[dir="rtl"] .ht-page-navigation-section .ht-page-last::before {\n ${Wf(e,"arrowLeftWithBar")}\n}\n\n.htDropdownMenu table tbody tr td .htItemWrapper span.selected::after,\n.htContextMenu table tbody tr td .htItemWrapper span.selected::after,\n.htFiltersConditionsMenu table tbody tr td .htItemWrapper span.selected::after {\n ${Wf(e,"check")}\n}\n\n.htCheckboxRendererInput {\n appearance: none;\n}\n\n.htCheckboxRendererInput::after {\n ${Wf(e,"checkbox")}\n}\n\nth.beforeHiddenColumn::after {\n ${Wf(e,"caretHiddenLeft")}\n}\n\nth.afterHiddenColumn::before {\n ${Wf(e,"caretHiddenRight")}\n}\n\nth.beforeHiddenRow::after {\n ${Wf(e,"caretHiddenUp")}\n}\n\nth.afterHiddenRow::before {\n ${Wf(e,"caretHiddenDown")}\n}\n\n.collapsibleIndicator::before,\n.ht_nestingButton::before {\n ${Wf(e,"collapseOff")}\n}\n\n.collapsibleIndicator.collapsed::before,\n.ht_nestingButton.ht_nestingExpand::before {\n ${Wf(e,"collapseOn")}\n}\n\n.htUIRadio > input[type="radio"]::after {\n ${Wf(e,"radio")}\n}\n\n.ht-multi-select-chip-remove::before {\n ${Wf(e,"chipClose")}\n}\n\n.ht-multi-select-editor-search-icon {\n ${Wf(e,"search")}\n}\n\n.ht-multi-select-editor-item-selected input::after {\n ${Wf(e,"checkbox")}\n}`)),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)}const tp={name:"main",density:"default",icons:{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"},colors:{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"},tokens:{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.100","colors.palette.700"],iconButtonHoverBackgroundColor:["colors.palette.100","colors.palette.700"],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"]}},{hasItem:ep,getItem:np,getNames:op,getValues:ip,register:rp}=Hn("themes");function sp(t){return ep(t)}function ap(t){if(sp(t))return np(t);Qt(`Theme "${t}" is not registered. Please ensure it is registered before using it.`)}function lp(t,e){const{themeName:n,themeConfigObject:o}=function(t,e){let n=t,o=St(e);return"string"==typeof t&&Et(e)?o.name=t:Et(t)&&(o=St(t),n=o.name),{themeName:n,themeConfigObject:o}}(t,e),i=new Lf(o);return sp(n)?(Qt(`Theme "${n}" is already registered. Registration skipped.`),ap(n)):(rp(n,i),i)}let hp=null;const cp=new Map;function dp(t,e){var n,o,i=this;let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=this;const a=new zn(s);let l,h,c,d,u,g,f=!0;const p={...e.initialState,...e};var m;ga(r)&&(m=this,da.set(m,!0)),this.rootContainer=t,this.rootWrapperElement=void 0,this.rootGridElement=void 0,this.rootPortalElement=void 0,this.rootElement=fa(this)?t.ownerDocument.createElement("div"):t,this.rootDocument=t.ownerDocument,this.rootWindow=this.rootDocument.defaultView,fa(this)&&(this.rootWrapperElement=this.rootDocument.createElement("div"),this.rootGridElement=this.rootDocument.createElement("div"),this.rootPortalElement=this.rootDocument.createElement("div"),ue(this.rootElement,["ht-wrapper","handsontable"]),ue(this.rootWrapperElement,"ht-root-wrapper"),ue(this.rootGridElement,"ht-grid"),this.rootGridElement.appendChild(this.rootElement),this.rootWrapperElement.appendChild(this.rootGridElement),this.rootContainer.appendChild(this.rootWrapperElement),ue(this.rootPortalElement,"ht-portal"),this.rootDocument.body.appendChild(this.rootPortalElement)),this.isDestroyed=!1,this.renderSuspendedCounter=0,this.executionSuspendedCounter=0;const b=null!==(n=null==p?void 0:p.layoutDirection)&&void 0!==n?n:"inherit",w=["rtl","ltr"].includes(b)?b:this.rootWindow.getComputedStyle(this.rootElement).direction;this.rootElement.setAttribute("dir",w),null===(o=this.rootWrapperElement)||void 0===o||o.setAttribute("dir",w),this.isRtl=function(){return"rtl"===w},this.isLtr=function(){return!s.isRtl()},this.getDirectionFactor=function(){return s.isLtr()?1:-1},this.stylesHandler=new tf({hot:s,rootElement:s.rootElement,rootDocument:s.rootDocument,onThemeChange:t=>{var e;fa(this)&&(ge(this.rootWrapperElement,/ht-theme-.*/g),ge(this.rootPortalElement,/ht-theme-.*/g),t&&(ue(this.rootWrapperElement,t),ue(this.rootPortalElement,t),getComputedStyle(this.rootWrapperElement).getPropertyValue("--ht-line-height")||Qt(`The "${t}" theme is enabled, but its stylesheets are missing or not imported correctly. Import the correct CSS files in order to use that theme.`)),null===(e=this.view)||void 0===e||null===(e=e._wt)||void 0===e||null===(e=e.selectionManager)||void 0===e||e.refreshAllBorderHandleStyles())},injectCoreCss:"boolean"!=typeof(null==e?void 0:e.injectCoreCss)||e.injectCoreCss}),this.themeManager=null,p.language=function(t){let e=yl(t);return Ic(e)||(e=kc,Cl(t)),e}(p.language);const v=Object.fromEntries(Object.entries(p).filter(t=>{let[e]=t;return!(Mn.getSingleton().isRegistered(e)||Mn.getSingleton().isDeprecated(e))})),y=new gu(s,v,[wu,xu]),R=y.getTableMeta(),T=y.getGlobalMeta(),_=wo();this.container=this.rootDocument.createElement("div"),this.rootElement.insertBefore(this.container,this.rootElement.firstChild),this.guid=`ht_${U()}`,cp.set(this.guid,this),this.columnIndexMapper=new vl,this.rowIndexMapper=new vl,this.columnIndexMapper.addLocalHook("indexesSequenceChange",t=>{s.runHooks("afterColumnSequenceChange",t)}),this.rowIndexMapper.addLocalHook("indexesSequenceChange",t=>{s.runHooks("afterRowSequenceChange",t)}),a.addEventListener(this.rootDocument.documentElement,"compositionstart",t=>{s.runHooks("beforeCompositionStart",t)}),h=new Ud(s);const H=Hn(this.guid);H.register("cellRangeMapper",new Ou({rowIndexMapper:this.rowIndexMapper,columnIndexMapper:this.columnIndexMapper})),this.rootElement.id&&"ht_"!==this.rootElement.id.substring(0,3)||(this.rootElement.id=this.guid);let O=new Nd(R,{rowIndexMapper:s.rowIndexMapper,columnIndexMapper:s.columnIndexMapper,countCols:()=>s.countCols(),countRows:()=>s.countRows(),propToCol:t=>l.propToCol(t),isEditorOpened:()=>!!s.getActiveEditor()&&s.getActiveEditor().isOpened(),countRenderableColumns:()=>this.view.countRenderableColumns(),countRenderableRows:()=>this.view.countRenderableRows(),countRowHeaders:()=>this.countRowHeaders(),countColHeaders:()=>this.countColHeaders(),countRenderableRowsInRange:function(){return i.view.countRenderableRowsInRange(...arguments)},countRenderableColumnsInRange:function(){return i.view.countRenderableColumnsInRange(...arguments)},getShortcutManager:()=>s.getShortcutManager(),createCellCoords:(t,e)=>s._createCellCoords(t,e),createCellRange:(t,e,n)=>s._createCellRange(t,e,n),visualToRenderableCoords:t=>{const{row:e,col:n}=t;return s._createCellCoords(e>=0?s.rowIndexMapper.getRenderableFromVisualIndex(e):e,n>=0?s.columnIndexMapper.getRenderableFromVisualIndex(n):n)},renderableToVisualCoords:t=>{const{row:e,col:n}=t;return s._createCellCoords(e>=0?s.rowIndexMapper.getVisualFromRenderableIndex(e):e,n>=0?s.columnIndexMapper.getVisualFromRenderableIndex(n):n)},findFirstNonHiddenRenderableRow:(t,e)=>{const n=e>t?1:-1,o=Math.min(t,e),i=Math.max(t,e),r=s.rowIndexMapper.getNearestNotHiddenIndex(t,n);return null===r||1===n&&r>i||-1===n&&r<o?null:r>=0?s.rowIndexMapper.getRenderableFromVisualIndex(r):r},findFirstNonHiddenRenderableColumn:(t,e)=>{const n=e>t?1:-1,o=Math.min(t,e),i=Math.max(t,e),r=s.columnIndexMapper.getNearestNotHiddenIndex(t,n);return null===r||1===n&&r>i||-1===n&&r<o?null:r>=0?s.columnIndexMapper.getRenderableFromVisualIndex(r):r},isDisabledCellSelection:(t,e)=>t<0||e<0?s.getSettings().disableVisualSelection:s.getCellMeta(t,e).disableVisualSelection});this.selection=O;const N=t=>{let{hiddenIndexesChanged:e}=t;this.forceFullRender=!0,e&&this.selection.commit()};function D(t,e){const n="className"===t?s.rootElement:s.table;if(f)ue(n,e);else{let o=[],i=[];T[t]&&(o=Array.isArray(T[t])?T[t]:M(T[t])),e&&(i=Array.isArray(e)?e:M(e));const r=E(o,i),s=E(i,o);r.length&&ge(n,r),s.length&&ue(n,s)}T[t]=e}function L(t){let e;void 0===t?(e=sp("main")?ap("main"):lp(tp),e=ap("main")):e="function"!=typeof t.getThemeConfig?lp(t):t,s.themeManager=function(t){let{hot:e,themeObject:n}=t;return new Jf({hot:e,themeObject:n})}({hot:s,themeObject:e})}function V(){let t=!1;return{validatorsInQueue:0,valid:!0,addValidatorToQueue(){this.validatorsInQueue+=1,t=!1},removeValidatorFormQueue(){this.validatorsInQueue=this.validatorsInQueue-1<0?0:this.validatorsInQueue-1,this.checkIfQueueIsEmpty()},onQueueEmpty(){},checkIfQueueIsEmpty(){0===this.validatorsInQueue&&!1===t&&(t=!0,this.onQueueEmpty(this.valid))}}}function B(t,e,n){if(!t.length)return void n();const o=s.getActiveEditor(),i=new V;let r=!0;i.onQueueEmpty=()=>{o&&r&&o._closeAfterDataChange&&o.cancelChanges(),n()};for(let n=t.length-1;n>=0;n--){const[o,a,,h]=t[n],c=l.propToCol(a);let d;d=Number.isInteger(c)?s.getCellMeta(o,c):{...Object.getPrototypeOf(R),...R},s.getCellValidator(d)&&(i.addValidatorToQueue(),s.validateCell(h,d,function(e,n){return function(o){"boolean"!=typeof o&&wt("Validation error: result is not boolean"),!1===o&&!1===n.allowInvalid&&(r=!1,t.splice(e,1),n.valid=!0),i.removeValidatorFormQueue()}}(n,d),e))}i.checkIfQueueIsEmpty()}function F(t,e){for(let e=t.length-1;e>=0;e--){let n=!1;if(null!==t[e]){if(null!==t[e][2]&&void 0!==t[e][2]||null!==t[e][3]&&void 0!==t[e][3]){if(R.allowInsertRow)for(;t[e][0]>s.countRows()-1;){const{delta:t}=l.createRow(void 0,void 0,{source:"auto"});if(0===t){n=!0;break}}if("array"===s.dataType&&(!R.columns||0===R.columns.length)&&R.allowInsertColumn)for(;l.propToCol(t[e][1])>s.countCols()-1;){const{delta:t}=l.createCol(void 0,void 0,{source:"auto"});if(0===t){n=!0;break}}n||l.set(t[e][0],t[e][1],t[e][3])}}else t.splice(e,1)}const n=t.length>0,o=d.getActiveEditor(),i=null==o?void 0:o._closeAfterDataChange;n?(c.adjustRowsAndCols(),s.runHooks("beforeChangeRender",t,e),null!=o&&o.isOpened()&&i&&d.closeEditor(),s.view.adjustElementsSize(),s.render(),(null!=o&&o.isOpened()&&i||null==o||!o.isOpened())&&d.prepareEditor(),s.runHooks("afterChange",t,e||"edit"),o&&I(o.refreshValue)&&o.refreshValue()):s.render()}function W(t,e,n){return Array.isArray(t)?t:[[t,e,n]]}function z(t,e){const n=s.runHooks("beforeChange",t,e||"edit"),o=t.filter(t=>null!==t);var i;if(!1===n||0===o.length)return null===(i=s.getActiveEditor())||void 0===i||i.cancelChanges(),[];for(let t=o.length-1;t>=0;t--){const[e,n,,i]=o[t],r=l.propToCol(n);let a;a=Number.isInteger(r)?s.getCellMeta(e,r):{...Object.getPrototypeOf(R),...R},o[t][3]=Fd(i,a)}return o}this.columnIndexMapper.addLocalHook("cacheUpdated",t=>{N(t),this.runHooks("afterColumnSequenceCacheUpdate",t)}),this.rowIndexMapper.addLocalHook("cacheUpdated",t=>{N(t),this.runHooks("afterRowSequenceCacheUpdate",t)}),this.selection.addLocalHook("afterSetRangeEnd",(t,e)=>{const n=At(!1),o=this.selection.getSelectedRange(),{from:i,to:r}=o.current(),a=o.size()-1;this.runHooks("afterSelection",i.row,i.col,r.row,r.col,n,a),this.runHooks("afterSelectionByProp",i.row,s.colToProp(i.col),r.row,s.colToProp(r.col),n,a);const l=O.getSelectionSource();!e||["loadData","updateData"].includes(l)||n.isTouched()&&(!n.isTouched()||n.value)||g.scrollTo(t);const h=O.isSelectedByRowHeader(),c=O.isSelectedByColumnHeader();h&&c?ue(this.rootElement,["ht__selection--rows","ht__selection--columns"]):h?(ge(this.rootElement,"ht__selection--columns"),ue(this.rootElement,"ht__selection--rows")):c?(ge(this.rootElement,"ht__selection--rows"),ue(this.rootElement,"ht__selection--columns")):ge(this.rootElement,["ht__selection--rows","ht__selection--columns"]),["shift","refresh","loadData","updateData"].includes(l)||d.closeEditor(null),["refresh","loadData","updateData"].includes(l)||(s.view.render(),d.prepareEditor())}),this.selection.addLocalHook("beforeSetFocus",t=>{this.runHooks("beforeSelectionFocusSet",t.row,t.col)}),this.selection.addLocalHook("afterSetFocus",t=>{const e=At(!1);this.runHooks("afterSelectionFocusSet",t.row,t.col,e),(!e.isTouched()||e.isTouched()&&!e.value)&&g.scrollTo(t),d.closeEditor(),s.view.render(),d.prepareEditor()}),this.selection.addLocalHook("afterSelectionFinished",t=>{const e=t.length-1,{from:n,to:o}=t[e];this.runHooks("afterSelectionEnd",n.row,n.col,o.row,o.col,e),this.runHooks("afterSelectionEndByProp",n.row,s.colToProp(n.col),o.row,s.colToProp(o.col),e),"refresh"===O.getSelectionSource()&&(s.view.render(),d.prepareEditor())}),this.selection.addLocalHook("afterIsMultipleSelection",t=>{const e=this.runHooks("afterIsMultipleSelection",t.value);t.value&&(t.value=e)}),this.selection.addLocalHook("afterDeselect",()=>{d.closeEditor(),s.view.render(),ge(this.rootElement,["ht__selection--rows","ht__selection--columns"]),this.runHooks("afterDeselect")}),this.selection.addLocalHook("beforeHighlightSet",()=>this.runHooks("beforeSelectionHighlightSet")).addLocalHook("beforeSetRangeStart",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("beforeSetRangeStart",...e)}).addLocalHook("beforeSetRangeStartOnly",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("beforeSetRangeStartOnly",...e)}).addLocalHook("beforeSetRangeEnd",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("beforeSetRangeEnd",...e)}).addLocalHook("beforeSelectColumns",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("beforeSelectColumns",...e)}).addLocalHook("afterSelectColumns",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("afterSelectColumns",...e)}).addLocalHook("beforeSelectRows",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("beforeSelectRows",...e)}).addLocalHook("afterSelectRows",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("afterSelectRows",...e)}).addLocalHook("beforeSelectAll",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("beforeSelectAll",...e)}).addLocalHook("afterSelectAll",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("afterSelectAll",...e)}).addLocalHook("beforeModifyTransformStart",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("modifyTransformStart",...e)}).addLocalHook("afterModifyTransformStart",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("afterModifyTransformStart",...e)}).addLocalHook("beforeModifyTransformFocus",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("modifyTransformFocus",...e)}).addLocalHook("afterModifyTransformFocus",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("afterModifyTransformFocus",...e)}).addLocalHook("beforeModifyTransformEnd",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("modifyTransformEnd",...e)}).addLocalHook("afterModifyTransformEnd",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("afterModifyTransformEnd",...e)}).addLocalHook("beforeRowWrap",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("beforeRowWrap",...e)}).addLocalHook("beforeColumnWrap",function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return i.runHooks("beforeColumnWrap",...e)}).addLocalHook("insertRowRequire",t=>this.alter("insert_row_above",t,1,"auto")).addLocalHook("insertColRequire",t=>this.alter("insert_col_start",t,1,"auto")),c={alter(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;const r=t=>{if(0===t.length)return[];const e=[...t];e.sort((t,e)=>{let[n]=t,[o]=e;return n===o?0:n>o?1:-1});return S(e,(t,e)=>{let[n,o]=e;const i=t[t.length-1],[r,s]=i,a=r+s;if(n<=a){const t=Math.max(o-(a-n),0);i[1]+=t}else t.push([n,o]);return t},[e[0]])};switch(t){case"insert_row_below":case"insert_row_above":const i=s.countSourceRows();if(R.maxRows===i)return;const a="insert_row_below"===t?"below":"above";e=null!=e?e:"below"===a?i:0;const{delta:h,startPhysicalIndex:c}=l.createRow(e,n,{source:o,mode:a});O.shiftRows(s.toVisualRow(c),h);break;case"insert_col_start":case"insert_col_end":const u="insert_col_end"===t?"end":"start";e=null!=e?e:"end"===u?s.countSourceCols():0;const{delta:g,startPhysicalIndex:f}=l.createCol(e,n,{source:o,mode:u});if(g){if(Array.isArray(R.colHeaders)){const t=[s.toVisualColumn(f),0];t.length+=g,Array.prototype.splice.apply(R.colHeaders,t)}O.shiftColumns(s.toVisualColumn(f),g)}break;case"remove_row":const p=t=>{let e=0;x(t,t=>{let[n,i]=t;const r=P(n)?s.countRows()-1:Math.max(n-e,0);Number.isInteger(n)&&(n=Math.max(n-e,0));if(!l.removeRow(n,i,o))return;if(O.isSelected()){const{row:t}=s.getSelectedRangeActive().highlight;t>=n&&t<=n+i-1&&d.closeEditor(!0)}const a=s.countRows(),h=R.fixedRowsTop;h>=r+1&&(R.fixedRowsTop-=Math.min(i,h-r));const c=R.fixedRowsBottom;if(c&&r>=a-c&&(R.fixedRowsBottom-=Math.min(i,c)),0===a)O.deselect();else if("ContextMenu.removeRow"===o){const t=O.getSelectedRange(),e=t.pop();t.clear().set(e.from).current().setTo(e.to),O.refresh()}else O.shiftRows(n,-i);e+=i})};Array.isArray(e)?p(r(e)):p([[e,n]]);break;case"remove_col":const m=t=>{let e=0;x(t,t=>{let[n,i]=t;const r=P(n)?s.countCols()-1:Math.max(n-e,0);let a=s.toPhysicalColumn(r);Number.isInteger(n)&&(n=Math.max(n-e,0));if(!l.removeCol(n,i,o))return;if(O.isSelected()){const{col:t}=s.getSelectedRangeActive().highlight;t>=n&&t<=n+i-1&&d.closeEditor(!0)}if(0===s.countCols())O.deselect();else if("ContextMenu.removeColumn"===o){const t=O.getSelectedRange(),e=t.pop();t.clear().set(e.from).current().setTo(e.to),O.refresh()}else O.shiftColumns(n,-i);const h=R.fixedColumnsStart;h>=r+1&&(R.fixedColumnsStart-=Math.min(i,h-r)),Array.isArray(R.colHeaders)&&(void 0===a&&(a=-1),R.colHeaders.splice(a,i)),e+=i})};Array.isArray(e)?m(r(e)):m([[e,n]]);break;default:wt(`There is no such action "${t}"`)}i||c.adjustRowsAndCols(),s.view.adjustElementsSize(),s.view.render()},adjustRowsAndCols(){const t=R.minRows,e=R.minSpareRows,n=R.minCols,o=R.minSpareCols;if(t){const e=s.countRows();e<t&&l.createRow(e,t-e,{source:"auto"})}if(e){const t=s.countEmptyRows(!0);if(t<e){const n=e-t,o=Math.min(n,R.maxRows-s.countSourceRows());l.createRow(s.countRows(),o,{source:"auto"})}}{let t;(n||o)&&(t=s.countEmptyCols(!0));let e=s.countCols();if(n&&!R.columns&&e<n){const o=n-e;t+=o,l.createCol(e,o,{source:"auto"})}if(o&&!R.columns&&"array"===s.dataType&&t<o){e=s.countCols();const n=o-t,i=Math.min(n,R.maxCols-e);l.createCol(e,i,{source:"auto"})}}},populateFromArray(t,e,n,o,i){let r,a,l,h;const c=[],d={},u=[],g=t.row,f=t.col;if(a=e.length,0===a)return!1;let p=0,m=0;switch(Et(n)&&(p=n.col-f+1,m=n.row-g+1),i){case"shift_down":const i=C(e),w=i.length,v=Math.max(w,p),y=s.getData().slice(g),S=C(y).slice(f,f+v);for(l=0;l<v;l+=1)if(l<w){for(r=0,a=i[l].length;r<m-a;r+=1)i[l].push(i[l][r%a]);l<S.length?u.push(i[l].concat(S[l])):u.push(i[l].concat(new Array(y.length).fill(null)))}else u.push(i[l%w].concat(S[l]));s.populateFromArray(g,f,C(u));break;case"shift_right":const k=e.length,x=Math.max(k,m),E=s.getData().slice(g).map(t=>t.slice(f));for(r=0;r<x;r+=1)if(r<k){for(l=0,h=e[r].length;l<p-h;l+=1)e[r].push(e[r][l%h]);if(r<E.length)for(let t=0;t<E[r].length;t+=1)e[r].push(E[r][t]);else e[r].push(...new Array(E[0].length).fill(null))}else e.push(e[r%a].slice(0,x).concat(E[r]));s.populateFromArray(g,f,e);break;default:d.row=t.row,d.col=t.col;let M,T=0,_=0,H=!0;const I=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const o=e[t%e.length];return null!==n?o[n%o.length]:o},A=e.length,P=n?n.row-t.row+1:0;for(a=n?P:Math.max(A,P),r=0;r<a&&!(n&&d.row>n.row&&P>A||!R.allowInsertRow&&d.row>s.countRows()-1||d.row>=R.maxRows);r++){const e=r-T,i=I(e).length,u=n?n.col-t.col+1:0;if(h=n?u:Math.max(i,u),d.col=t.col,M=s.getCellMeta(d.row,d.col),"CopyPaste.paste"!==o&&"Autofill.fill"!==o||!M.skipRowOnPaste){for(_=0,l=0;l<h;l++){var b;if(n&&d.col>n.col&&u>i||!R.allowInsertColumn&&d.col>s.countCols()-1||d.col>=R.maxCols)break;if(M=s.getCellMeta(d.row,d.col),("CopyPaste.paste"===o||"Autofill.fill"===o)&&M.skipColumnOnPaste){_+=1,d.col+=1,h+=1;continue}if(M.readOnly&&"UndoRedo.undo"!==o){d.col+=1;continue}const t=l-_,r=!!M.valueSetter;let a=I(e,t),g=null!==(b=s.getSourceDataAtCell(d.row,d.col))&&void 0!==b?b:null;if(null!==a&&"object"==typeof a)if(Array.isArray(a)&&null===g&&(g=[]),r||"object"==typeof g&&null!==g){if(null!==g){const t=vt(Array.isArray(g)?g:g[0]||g),e=vt(Array.isArray(a)?a:a[0]||a);r||xt(t,e)||Array.isArray(t)&&Array.isArray(e)?a=St(a):H=!1}}else H=!1,M.parsePastedValue&&"CopyPaste.paste"===o&&(H=!0);else r||null===g||"object"!=typeof g||(H=!1);H&&c.push([d.row,d.col,a]),H=!0,d.col+=1}d.row+=1}else T+=1,d.row+=1,a+=1}s.setDataAtCell(c,null,null,o||"populateFromArray")}}},this.init=function(){var t,e;h.setData(R.data),s.runHooks("beforeInit"),(Gt()||qt())&&ue(s.rootElement,"mobile"),this.updateSettings(p,!0),this.view=new Ha(this),d=Gn.getInstance(s,R,O),g=Bu(s),u.init(),fa(this)&&(!function(t){const e=t.ownerDocument;if(!hf){hf=e.createElement("div"),hf.setAttribute("role","status"),hf.setAttribute("aria-live","assertive"),hf.setAttribute("aria-atomic","true");const n=hf.style;n.position="absolute",n.width="1px",n.height="1px",n.margin="-1px",n.overflow="hidden",n.clipPath="rect(0 0 0 0)",n.whiteSpace="nowrap",t.appendChild(hf)}cf+=1}(s.rootPortalElement),j(p.licenseKey,this.rootWrapperElement,"25/03/2026")),s.runHooks("init"),this.render(),f&&null===s.rootElement.offsetParent&&(t=s.rootElement,e=()=>{s.view._wt.wtOverlays.updateLastSpreaderSize(),s.view.adjustElementsSize(),s.render()},new IntersectionObserver((n,o)=>{n.forEach(n=>{n.isIntersecting&&null!==t.offsetParent&&(e(),o.unobserve(t))})},{root:t.ownerDocument.body}).observe(t)),"object"==typeof f&&(s.runHooks("afterChange",f[0],f[1]),f=!1),s.runHooks("afterInit")},this._createCellCoords=function(t,e){return s.view._wt.createCellCoords(t,e)},this._createCellRange=function(t,e,n){return s.view._wt.createCellRange(t,e,n)},this.validateCell=function(t,e,n,o){let i=s.getCellValidator(e);function r(t){if(!(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])||!0===e.hidden)return void n(t);const o=e.visualCol,i=e.visualRow,r=s.getCell(i,o,!0);if(r&&"TH"!==r.nodeName){const t=s.rowIndexMapper.getRenderableFromVisualIndex(i),e=s.columnIndexMapper.getRenderableFromVisualIndex(o);s.view._wt.getSetting("cellRenderer",t,e,r)}n(t)}var a,l;l=i,"[object RegExp]"===Object.prototype.toString.call(l)&&(a=i,i=function(t,e){e(a.test(t))}),Ze(i)?(t=s.runHooks("beforeValidate",t,e.visualRow,e.prop,o),s._registerMicrotask(()=>{i.call(e,t,n=>{s&&(n=s.runHooks("afterValidate",n,t,e.visualRow,e.prop,o),e.valid=n,r(n),s.runHooks("postAfterValidate",n,t,e.visualRow,e.prop,o))})})):s._registerMicrotask(()=>{e.valid=!0,r(e.valid,!1)})},this.setDataAtCell=function(t,e,n,o){const i=W(t,e,n),r=[];let a,c,d,u=o;for(a=0,c=i.length;a<c;a++){const[t,e,n]=i[a];"object"!=typeof i[a]&&wt("Method `setDataAtCell` accepts row number or changes array of arrays as its first parameter"),"number"!=typeof i[a][1]&&wt("Method `setDataAtCell` accepts row and column number as its parameters. If you want to use object property name, use method `setDataAtRowProp`"),d=e>=this.countCols()?e:l.colToProp(e),r.push([t,d,h.getAtCell(this.toPhysicalRow(t),e),n])}u||"object"!=typeof t||(u=e);const g=z(r,u);s.runHooks("afterSetDataAtCell",g,u),B(g,u,()=>{F(g,u)})},this.setDataAtRowProp=function(t,e,n,o){const i=W(t,e,n),r=[];let a,l,c=o;for(a=0,l=i.length;a<l;a++){const[t,e,n]=i[a];r.push([t,e,h.getAtCell(this.toPhysicalRow(t),e),n])}c||"object"!=typeof t||(c=e);const d=z(r,o);s.runHooks("afterSetDataAtRowProp",d,c),B(d,c,()=>{F(d,c)})},this.listen=function(){s&&!s.isListening()&&(cp.forEach(t=>{s!==t&&t.unlisten()}),hp=s.guid,s.runHooks("afterListen"))},this.unlisten=function(){this.isListening()&&(hp=null,s.runHooks("afterUnlisten"))},this.isListening=function(){return hp===s.guid},this.destroyEditor=function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];d.closeEditor(t),s.view.render(),e&&O.isSelected()&&d.prepareEditor()},this.populateFromArray=function(t,e,n,o,i,r,a){"object"==typeof n&&"object"==typeof n[0]||wt("populateFromArray parameter `input` must be an array of arrays");const l="number"==typeof o?s._createCellCoords(o,i):null;return c.populateFromArray(s._createCellCoords(t,e),n,l,r,a)},this.spliceCol=function(t,e,n){for(var o=arguments.length,i=new Array(o>3?o-3:0),r=3;r<o;r++)i[r-3]=arguments[r];return l.spliceCol(t,e,n,...i)},this.spliceRow=function(t,e,n){for(var o=arguments.length,i=new Array(o>3?o-3:0),r=3;r<o;r++)i[r-3]=arguments[r];return l.spliceRow(t,e,n,...i)},this.getSelected=function(){if(O.isSelected())return k(O.getSelectedRange(),t=>{let{from:e,to:n}=t;return[e.row,e.col,n.row,n.col]})},this.getSelectedLast=function(){const t=this.getSelected();let e;return t&&t.length>0&&(e=t[t.length-1]),e},this.getSelectedActive=function(){const t=this.getSelectedRangeActive();if(!t)return;const{from:e,to:n}=t;return[e.row,e.col,n.row,n.col]},this.getSelectedRange=function(){if(O.isSelected())return Array.from(O.getSelectedRange())},this.getSelectedRangeLast=function(){const t=this.getSelectedRange();let e;return t&&t.length>0&&(e=t[t.length-1]),e},this.getSelectedRangeActive=function(){return O.getActiveSelectedRange()},this.getActiveSelectionLayerIndex=function(){return O.getActiveSelectionLayerIndex()},this.emptySelectedCells=function(t){if(!O.isSelected()||0===this.countRows()||0===this.countCols())return;const e=[];x(O.getSelectedRange(),t=>{if(t.isSingleHeader())return;const n=t.getTopStartCorner(),o=t.getBottomEndCorner();ao(n.row,o.row,t=>{ao(n.col,o.col,n=>{this.getCellMeta(t,n).readOnly||e.push([t,n,null])})})}),e.length>0&&this.setDataAtCell(e,t)},this.isRenderSuspended=function(){return this.renderSuspendedCounter>0},this.suspendRender=function(){this.renderSuspendedCounter+=1},this.resumeRender=function(){const t=this.renderSuspendedCounter-1;this.renderSuspendedCounter=Math.max(t,0),this.isRenderSuspended()||t!==this.renderSuspendedCounter||s.view.render()},this.render=function(){this.view&&(this.forceFullRender=!0,this.isRenderSuspended()||s.view.render())},this.batchRender=function(t){this.suspendRender();const e=t();return this.resumeRender(),e},this.isExecutionSuspended=function(){return this.executionSuspendedCounter>0},this.suspendExecution=function(){this.executionSuspendedCounter+=1,this.columnIndexMapper.suspendOperations(),this.rowIndexMapper.suspendOperations()},this.resumeExecution=function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const e=this.executionSuspendedCounter-1;this.executionSuspendedCounter=Math.max(e,0),(!this.isExecutionSuspended()&&e===this.executionSuspendedCounter||t)&&(this.columnIndexMapper.resumeOperations(),this.rowIndexMapper.resumeOperations())},this.batchExecution=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.suspendExecution();const n=t();return this.resumeExecution(e),n},this.batch=function(t){this.suspendRender(),this.suspendExecution();const e=t();return this.resumeExecution(),this.resumeRender(),e},this.refreshDimensions=function(){if(!s.view)return;const t=s.view,{width:e,height:n}=t.getLastSize(),{width:o,height:i}=s.rootElement.getBoundingClientRect(),r=o!==e||i!==n;!1===s.runHooks("beforeRefreshDimensions",{width:e,height:n},{width:o,height:i},r)||((r||t._wt.wtOverlays.scrollableElement===s.rootWindow)&&(t.setLastSize(o,i),t.adjustElementsSize(),s.render()),s.runHooks("afterRefreshDimensions",{width:e,height:n},{width:o,height:i},r))},this.updateData=function(t,e){mu(t,t=>{l=t},t=>{l=t,s.columnIndexMapper.fitToLength(this.getInitialColumnCount()),s.rowIndexMapper.fitToLength(this.countSourceRows()),c.adjustRowsAndCols(),O.markSource("updateData"),O.refresh(),O.markEndSource()},{hotInstance:s,dataMap:l,dataSource:h,internalSource:"updateData",source:e,metaManager:y,firstRun:f})},this.loadData=function(t,e){mu(t,t=>{l=t},()=>{y.clearCellsCache(),s.initIndexMappers(),c.adjustRowsAndCols(),O.markSource("loadData"),O.refresh(),O.markEndSource(),f&&(f=[null,"loadData"])},{hotInstance:s,dataMap:l,dataSource:h,internalSource:"loadData",source:e,metaManager:y,firstRun:f})},this.getInitialColumnCount=function(){const t=R.columns;let e=0;if(Array.isArray(t))e=t.length;else if(Ze(t))if("array"===s.dataType){const n=this.countSourceCols();for(let o=0;o<n;o+=1)t(o)&&(e+=1)}else"object"!==s.dataType&&"function"!==s.dataType||(e=l.colToPropCache.length);else if(I(R.dataSchema)){const t=l.getSchema();e=Array.isArray(t)?t.length:It(t)}else e=this.countSourceCols();return e},this.initIndexMappers=function(){this.columnIndexMapper.initToLength(this.getInitialColumnCount()),this.rowIndexMapper.initToLength(this.countSourceRows())},this.getData=function(t,e,n,o){return A(t)?l.getAll():l.getRange(s._createCellCoords(t,e),s._createCellCoords(n,o),l.DESTINATION_RENDERER)},this.getCopyableText=function(t,e,n,o){return l.getCopyableText(s._createCellCoords(t,e),s._createCellCoords(n,o))},this.getCopyableData=function(t,e){return l.getCopyable(t,l.colToProp(e))},this.getCopyableSourceData=function(t,e){return h.getCopyable(t,l.colToProp(e))},this.getSchema=function(){return l.getSchema()},this.updateSettings=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=(f?s.loadData:s.updateData).bind(this);let o,i,r=!1;for(o in I(t.rows)&&wt('The "rows" setting is no longer supported. Do you mean startRows, minRows or maxRows?'),I(t.cols)&&wt('The "cols" setting is no longer supported. Do you mean startCols, minCols or maxCols?'),I(t.ganttChart)&&wt('Since 8.0.0 the "ganttChart" setting is no longer supported.'),I(t.rowHeights)&&I(t.minRowHeights)&&Qt("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."),t)if("data"===o||"language"===o);else if("className"===o)D("className",t.className);else if("tableClassName"===o&&s.table)D("tableClassName",t.tableClassName),s.view._wt.wtOverlays.syncOverlayTableClassNames();else if(Mn.getSingleton().isRegistered(o)||Mn.getSingleton().isDeprecated(o)){const e=t[o];Ze(e)?(Mn.getSingleton().addAsFixed(o,e,s),R[o]=e):Array.isArray(e)&&(Mn.getSingleton().add(o,e,s),R[o]=e)}else!e&&Pt(t,o)&&(T[o]=t[o]);const a=Vg(s.rootContainer),h=Pt(t,"themeName"),d=Pt(t,"theme");if(h&&d&&Qt("Both `theme` and `themeName` are defined in your configuration. These options are aliases and cannot be used together. The `themeName` option will be ignored."),e){let e;d&&"string"==typeof t.theme?e=t.theme:h&&"string"==typeof t.themeName&&t.themeName&&!d?(e=t.themeName,R.theme=t.themeName,R.themeName=void 0):a?e=a:s.themeManager&&(e=s.themeManager.getClassName()),s.useTheme(e)}else{const e=s.getCurrentThemeName();var u;if(d&&"string"==typeof t.theme&&e!==t.theme)s.useTheme(t.theme),null===(u=s.themeManager)||void 0===u||u.unmount();else if(h&&!d&&e!==t.themeName){var g;R.theme=t.themeName,R.themeName=void 0,s.useTheme(t.themeName),null===(g=s.themeManager)||void 0===g||g.unmount()}else if(fa(s)&&!a&&Et(t.theme))if(null===s.themeManager)L(t.theme),s.useTheme(s.themeManager.getClassName());else{let e;e="function"!=typeof t.theme.getThemeConfig?lp(t.theme):t.theme,s.themeManager.update(e),s.useTheme(s.themeManager.getClassName())}}void 0===t.data&&void 0===R.data?n(null,"updateSettings"):void 0!==t.data?n(t.data,"updateSettings"):void 0!==t.columns&&(l.createMap(),s.initIndexMappers()),!f&&t.language&&function(t){const e=yl(t);Ic(e)?(s.runHooks("beforeLanguageChange",e),T.language=e,s.runHooks("afterLanguageChange",e)):Cl(t)}(t.language);const p=s.countCols(),m=R.columns;if(m&&Ze(m)&&(r=!0),void 0===t.cell&&void 0===t.cells&&void 0===t.columns||y.clearCache(),p>0)for(o=0,i=0;o<p;o++){if(m){const t=r?m(o):m[i];t&&y.updateColumnMeta(i,t)}i+=1}I(t.cell)&&Tt(t.cell,t=>{s.setCellMetaObject(t.row,t.col,t)}),s.runHooks("afterCellMetaReset"),f&&fu(s,"init");let b=s.rootElement.style.height;if(""!==b&&(b=parseInt(s.rootElement.style.height,10)),e){s.rootElement.getAttribute("style")&&s.rootElement.setAttribute("data-initialstyle",s.rootElement.getAttribute("style"))}let w=t.height;if(void 0!==t.height)if(Ze(w)&&(w=w()),w=s.runHooks("beforeHeightChange",w),null===w){const t=s.rootElement.getAttribute("data-initialstyle");t&&(t.indexOf("height")>-1||t.indexOf("overflow")>-1)?s.rootElement.setAttribute("style",t):(s.rootElement.style.height="",s.rootElement.style.overflow="")}else void 0!==w&&(s.rootElement.style.height=isNaN(w)?`${w}`:`${w}px`,s.rootElement.style.overflow="clip");if(void 0!==t.width){let e=t.width;Ze(e)&&(e=e()),e=s.runHooks("beforeWidthChange",e),s.rootElement.style.width=isNaN(e)?`${e}`:`${e}px`}e||(s.view&&(s.view._wt.wtViewport.resetHasOversizedColumnHeadersMarked(),s.view._wt.exportSettingsAsClassNames()),s.runHooks("afterUpdateSettings",t)),c.adjustRowsAndCols(),s.view&&!f&&(s.render(),s.view._wt.wtOverlays.adjustElementsSize()),e||!s.view||""!==b&&""!==w&&void 0!==w||b===w||s.view._wt.wtOverlays.updateMainScrollableElements()},this.getValue=function(){const t=s.getSelectedRangeActive();if(R.getValue){if(Ze(R.getValue))return R.getValue.call(s);if(t)return s.getData()[t.highlight.row][R.getValue]}else if(t)return s.getDataAtCell(t.highlight.row,t.highlight.col);return null},this.getSettings=function(){return R},this.clear=function(){this.selectAll(),this.emptySelectedCells()},this.alter=function(t,e,n,o,i){c.alter(t,e,n,o,i)},this.getCell=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e,i=t;if(e>=0){if(this.columnIndexMapper.isHidden(this.toPhysicalColumn(e)))return null;o=this.columnIndexMapper.getRenderableFromVisualIndex(e)}if(t>=0){if(this.rowIndexMapper.isHidden(this.toPhysicalRow(t)))return null;i=this.rowIndexMapper.getRenderableFromVisualIndex(t)}return null===i||null===o||void 0===i||void 0===o?null:s.view.getCellAtCoords(s._createCellCoords(i,o),n)},this.getCoords=function(t){const e=this.view._wt.wtTable.getCoords(t);if(null===e)return null;const{row:n,col:o}=e;let i=n,r=o;return n>=0&&(i=this.rowIndexMapper.getVisualFromRenderableIndex(n)),o>=0&&(r=this.columnIndexMapper.getVisualFromRenderableIndex(o)),s._createCellCoords(i,r)},this.colToProp=function(t){return l.colToProp(t)},this.propToCol=function(t){return l.propToCol(t)},this.toVisualRow=t=>this.rowIndexMapper.getVisualFromPhysicalIndex(t),this.toVisualColumn=t=>this.columnIndexMapper.getVisualFromPhysicalIndex(t),this.toPhysicalRow=t=>this.rowIndexMapper.getPhysicalFromVisualIndex(t),this.toPhysicalColumn=t=>this.columnIndexMapper.getPhysicalFromVisualIndex(t),this.getDataAtCell=function(t,e){return l.get(t,l.colToProp(e))},this.getDataAtRowProp=function(t,e){return l.get(t,e)},this.getDataAtCol=function(t){const e=[],n=l.getRange(s._createCellCoords(0,t),s._createCellCoords(R.data.length-1,t),l.DESTINATION_RENDERER);for(let t=0;t<n.length;t+=1)for(let o=0;o<n[t].length;o+=1)e.push(n[t][o]);return e},this.getDataAtProp=function(t){const e=[],n=l.getRange(s._createCellCoords(0,l.propToCol(t)),s._createCellCoords(R.data.length-1,l.propToCol(t)),l.DESTINATION_RENDERER);for(let t=0;t<n.length;t+=1)for(let o=0;o<n[t].length;o+=1)e.push(n[t][o]);return e},this.getSourceData=function(t,e,n,o){let i;return i=void 0===t?h.getData():h.getByRange(s._createCellCoords(t,e),s._createCellCoords(n,o)),i},this.getSourceDataArray=function(t,e,n,o){let i;return i=void 0===t?h.getData(!0):h.getByRange(s._createCellCoords(t,e),s._createCellCoords(n,o),!0),i},this.getSourceDataAtCol=function(t){return h.getAtColumn(t)},this.setSourceDataAtCell=function(t,e,n,o){const i=W(t,e,n),r=this.hasHook("afterSetSourceDataAtCell"),a=[],l=(t,e)=>{const n=this.toVisualRow(t),o=this.toVisualColumn(e);return Number.isInteger(o)?this.getCellMeta(n,o):{...Object.getPrototypeOf(R),...R}};r&&x(i,t=>{let[e,n,o]=t;const i=Fd(o,l(e,n));a.push([e,n,h.getAtCell(e,n),i])}),x(i,t=>{let[e,n,i]=t;const r=l(e,n),s=Fd(i,r);(function(t,e,n){const o=e.sourceDataValidator;if(!Ze(o))return!0;if(!0===o(t,e,n))return!0;const{row:i,col:r,sourceDataWarningMessage:s,allowInvalid:a}=e;return s&&pu(s,[{row:i,col:r,value:t}]),!0===a})(s,r,null!=o?o:"setSourceDataAtCell")&&h.setAtCell(e,n,s)}),r&&this.runHooks("afterSetSourceDataAtCell",a,o),this.render();const c=s.getActiveEditor();c&&I(c.refreshValue)&&c.refreshValue()},this.getSourceDataAtRow=function(t){return h.getAtRow(t)},this.getSourceDataAtCell=function(t,e){return h.getAtCell(t,e)},this.getDataAtRow=function(t){return l.getRange(s._createCellCoords(t,0),s._createCellCoords(t,this.countCols()-1),l.DESTINATION_RENDERER)[0]||[]},this.getDataType=function(t,e,n,o){const i=void 0===t?[0,0,this.countRows(),this.countCols()]:[t,e,n,o],[r,s]=i;let[,,a,l]=i,h=null,c=null;void 0===a&&(a=r),void 0===l&&(l=s);let d="mixed";return ao(Math.max(Math.min(r,a),0),Math.max(r,a),t=>{let e=!0;return ao(Math.max(Math.min(s,l),0),Math.max(s,l),n=>{const o=this.getCellMeta(t,n);return c=o.type,h?e=h===c:h=c,e}),d=e?c:"mixed",e}),d},this.removeCellMeta=function(t,e,n){const[o,i]=[this.toPhysicalRow(t),this.toPhysicalColumn(e)];let r=y.getCellMetaKeyValue(o,i,n);!1!==s.runHooks("beforeRemoveCellMeta",t,e,n,r)&&(y.removeCellMeta(o,i,n),s.runHooks("afterRemoveCellMeta",t,e,n,r)),r=null},this.spliceCellsMeta=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;for(var n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];o.length>0&&!Array.isArray(o[0])&&wt("The 3rd argument (cellMetaRows) has to be passed as an array of cell meta objects array."),e>0&&y.removeRow(this.toPhysicalRow(t),e),o.length>0&&x(o.reverse(),e=>{y.createRow(this.toPhysicalRow(t)),x(e,(e,n)=>this.setCellMetaObject(t,n,e))}),s.render()},this.setCellMetaObject=function(t,e,n){"object"==typeof n&&Tt(n,(n,o)=>{this.setCellMeta(t,e,o,n)})},this.setCellMeta=function(t,e,n,o){if(!1===s.runHooks("beforeSetCellMeta",t,e,n,o))return;let i=t,r=e;t<this.countRows()&&(i=this.toPhysicalRow(t)),e<this.countCols()&&(r=this.toPhysicalColumn(e)),y.setCellMeta(i,r,n,o),s.runHooks("afterSetCellMeta",t,e,n,o)},this.getCellsMeta=function(){return y.getCellsMeta()},this.getCellMeta=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{skipMetaExtension:!1},o=this.toPhysicalRow(t),i=this.toPhysicalColumn(e);return null===o&&(o=t),null===i&&(i=e),y.getCellMeta(o,i,{visualRow:t,visualColumn:e,...n})},this.getColumnMeta=function(t){return y.getColumnMeta(this.toPhysicalColumn(t))},this.getCellMetaAtRow=function(t){return y.getCellsMetaAtRow(t)},this.isColumnModificationAllowed=function(){return!("object"===s.dataType||R.columns)},this.getCellRenderer=function(t,e){const n="number"==typeof t?s.getCellMeta(t,e).renderer:t.renderer;return"string"==typeof n?Ao(n):A(n)?Ao("text"):n},this.getCellEditor=function(t,e){const n="number"==typeof t?s.getCellMeta(t,e).editor:t.editor;return"string"==typeof n?Bn(n):A(n)?Bn("text"):n},this.getCellValidator=function(t,e){const n="number"==typeof t?s.getCellMeta(t,e).validator:t.validator;return"string"==typeof n?"function"==typeof(o=n)?o:(Do(o)||wt(`No registered validator found under "${o}" name`),No(o)):n;var o},this.validateCells=function(t){this._validateCells(t)},this.validateRows=function(t,e){Array.isArray(t)||wt("validateRows parameter `rows` must be an array"),this._validateCells(e,t)},this.validateColumns=function(t,e){Array.isArray(t)||wt("validateColumns parameter `columns` must be an array"),this._validateCells(e,void 0,t)},this._validateCells=function(t,e,n){const o=new V;t&&(o.onQueueEmpty=t);let i=s.countRows()-1;for(;i>=0;){if(void 0!==e&&-1===e.indexOf(i)){i-=1;continue}let t=s.countCols()-1;for(;t>=0;)void 0===n||-1!==n.indexOf(t)?(o.addValidatorToQueue(),s.validateCell(s.getDataAtCell(i,t),s.getCellMeta(i,t),t=>{"boolean"!=typeof t&&wt("Validation error: result is not boolean"),!1===t&&(o.valid=!1),o.removeValidatorFormQueue()},"validateCells"),t-=1):t-=1;i-=1}o.checkIfQueueIsEmpty()},this.getRowHeader=function(t){let e=R.rowHeaders,n=t;return void 0!==n&&(n=s.runHooks("modifyRowHeader",n)),void 0===n?(e=[],ao(s.countRows()-1,t=>{e.push(s.getRowHeader(t))})):Array.isArray(e)&&void 0!==e[n]?e=e[n]:Ze(e)?e=e(n):e&&"string"!=typeof e&&"number"!=typeof e&&(e=n+1),e},this.hasRowHeaders=function(){return!!R.rowHeaders},this.hasColHeaders=function(){if(void 0!==R.colHeaders&&null!==R.colHeaders)return!!R.colHeaders;for(let t=0,e=s.countCols();t<e;t++)if(s.getColHeader(t))return!0;return!1},this.getColHeader=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;const n=s.runHooks("modifyColHeader",t);if(void 0===n){const t=[],e=s.countCols();for(let n=0;n<e;n++)t.push(s.getColHeader(n));return t}let o=R.colHeaders;const i=s.toPhysicalColumn(n),r=function(t){const e=[],n=s.countCols();let o=0;for(;o<n;o++)Ze(R.columns)&&R.columns(o)&&e.push(o);return e[t]}(i);return!1===R.colHeaders?o=null:R.columns&&Ze(R.columns)&&R.columns(r)&&R.columns(r).title?o=R.columns(r).title:R.columns&&R.columns[i]&&R.columns[i].title?o=R.columns[i].title:Array.isArray(R.colHeaders)&&void 0!==R.colHeaders[i]?o=R.colHeaders[i]:Ze(R.colHeaders)?o=R.colHeaders(i):R.colHeaders&&"string"!=typeof R.colHeaders&&"number"!=typeof R.colHeaders&&(o=function(t){let e,n=t+1,o="";for(;n>0;)e=(n-1)%26,o=String.fromCharCode(65+e)+o,n=parseInt((n-e)/26,10);return o}(n)),o=s.runHooks("modifyColumnHeaderValue",o,t,e),o},this._getColWidthFromSettings=function(t){let e;if(t>=0){e=s.getCellMeta(0,t).width}if(void 0!==e&&e!==R.width||(e=R.colWidths),null!=e){switch(typeof e){case"object":e=e[t];break;case"function":e=e(t)}"string"==typeof e&&(e=Number.parseInt(e,10))}return e},this.getColWidth=function(t,e){let n=s._getColWidthFromSettings(t);return n=s.runHooks("modifyColWidth",n,t,e),void 0===n&&(n=ri),n},this._getRowHeightFromSettings=function(t){var e;const n=s.stylesHandler.getDefaultRowHeight(t);let o=null!==(e=R.rowHeights)&&void 0!==e?e:R.minRowHeights;if(null!=o){switch(typeof o){case"object":o=o[t];break;case"function":o=o(t)}"string"==typeof o&&(o=Number.parseInt(o,10))}return null!=o&&o<n?n:o},this.getRowHeight=function(t,e){let n=s._getRowHeightFromSettings(t);return n=s.runHooks("modifyRowHeight",n,t,e),n},this.countSourceRows=function(){return h.countRows()},this.countSourceCols=function(){return h.countFirstRowKeys()},this.countRows=function(){return l.getLength()},this.countCols=function(){const t=R.maxCols,e=this.columnIndexMapper.getNotTrimmedIndexesLength();return Math.min(t,e)},this.countRenderedRows=function(){return s.view._wt.drawn?s.view._wt.wtTable.getRenderedRowsCount():-1},this.countVisibleRows=function(){return s.view._wt.drawn?s.view._wt.wtTable.getVisibleRowsCount():-1},this.countRenderedCols=function(){return s.view._wt.drawn?s.view._wt.wtTable.getRenderedColumnsCount():-1},this.countVisibleCols=function(){return s.view._wt.drawn?s.view._wt.wtTable.getVisibleColumnsCount():-1},this.countRowHeaders=function(){return this.view.getRowHeadersCount()},this.countColHeaders=function(){return this.view.getColumnHeadersCount()},this.countEmptyRows=function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=0;return lo(s.countRows()-1,n=>{if(s.isEmptyRow(n))e+=1;else if(!0===t)return!1}),e},this.countEmptyCols=function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=0;return lo(s.countCols()-1,n=>{if(s.isEmptyCol(n))e+=1;else if(!0===t)return!1}),e},this.isEmptyRow=function(t){return R.isEmptyRow.call(s,t)},this.isEmptyCol=function(t){return R.isEmptyCol.call(s,t)},this.selectCell=function(t,e,n,o){let i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];return!A(t)&&!A(e)&&this.selectCells([[t,e,n,o]],i,r)},this.selectCells=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[[]],e=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&g.suspend();const n=O.selectCells(t);return n&&e&&s.listen(),g.resume(),n},this.selectColumns=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2?arguments[2]:void 0;return O.selectColumns(t,e,n)},this.selectRows=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2?arguments[2]:void 0;return O.selectRows(t,e,n)},this.deselectCell=function(){O.deselect()},this.selectAll=function(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,n=arguments.length>2?arguments[2]:void 0;g.skipNextScrollCycle(),O.selectAll(t,e,n)};const Y=(t,e)=>t.getNearestNotHiddenIndex(e,1,!0);this.scrollViewportTo=function(t,e){var n;"number"==typeof t&&(t={row:arguments[0],col:arguments[1],verticalSnap:arguments[2]?"bottom":"top",horizontalSnap:arguments[3]?"end":"start",considerHiddenIndexes:null===(n=arguments[4])||void 0===n||n});const{row:o,col:i,considerHiddenIndexes:r}=null!=t?t:{};let a=o,l=i;if(Ze(e)&&this.addHookOnce("afterScroll",e),void 0===r||r){const t=Number.isInteger(o)&&o>=0,e=Number.isInteger(i)&&i>=0,n=t?Y(this.rowIndexMapper,o):void 0,r=e?Y(this.columnIndexMapper,i):void 0;if(null===n||null===r)return!1;a=t?s.rowIndexMapper.getRenderableFromVisualIndex(n):o,l=e?s.columnIndexMapper.getRenderableFromVisualIndex(r):i}const h=Number.isInteger(a),c=Number.isInteger(l);let d=!1;return h&&a>=0&&c&&l>=0?d=s.view.scrollViewport(s._createCellCoords(a,l),t.horizontalSnap,t.verticalSnap):h&&a>=0&&(c&&l<0||!c)?d=s.view.scrollViewportVertically(a,t.verticalSnap):c&&l>=0&&(h&&a<0||!h)&&(d=s.view.scrollViewportHorizontally(l,t.horizontalSnap)),Ze(e)&&(d?this.view.render():(this.removeHook("afterScroll",e),this._registerMicrotask(()=>e()))),d},this.scrollToFocusedCell=function(t){if(!this.selection.isSelected())return!1;Ze(t)&&this.addHookOnce("afterScroll",t);const{highlight:e}=this.getSelectedRangeActive(),n=this.scrollViewportTo(e.toObject());return n?this.view.render():Ze(t)&&(this.removeHook("afterScroll",t),this._registerMicrotask(()=>t())),n},this.destroy=function(){var t;(s._clearTimeouts(),s._clearMicrotasks(),s.view&&s.view.destroy(),h&&h.destroy(),h=null,fa(this))&&(0!==cf&&(1===cf&&(hf.remove(),hf=null),cf-=1),this.getFocusScopeManager().destroy(),null===(t=s.themeManager)||void 0===t||t.destroy());this.getShortcutManager().destroy(),H.clear(),y.clearCache(),cp.delete(this.guid),a.destroy(),d&&d.destroy(),s.rootContainer&&be(s.rootContainer),s.rootPortalElement&&s.rootPortalElement.remove(),s.batchExecution(()=>{s.rowIndexMapper.unregisterAll(),s.columnIndexMapper.unregisterAll(),_.getItems().forEach(t=>{let[,e]=t;e.destroy()}),_.clear(),s.runHooks("afterDestroy")},!0),Mn.getSingleton().destroy(s),Tt(s,(t,e,n)=>{var o;Ze(t)?n[e]=(o=e,()=>{wt(`The "${o}" method cannot be called because this Handsontable instance has been destroyed`)}):"guid"!==e&&(n[e]=null)}),s.isDestroyed=!0,l&&l.destroy(),l=null,c=null,O=null,d=null,s=null},this.getActiveEditor=function(){return d.getActiveEditor()},this.getFirstRenderedVisibleRow=function(){return s.view.getFirstRenderedVisibleRow()},this.getLastRenderedVisibleRow=function(){return s.view.getLastRenderedVisibleRow()},this.getFirstRenderedVisibleColumn=function(){return s.view.getFirstRenderedVisibleColumn()},this.getLastRenderedVisibleColumn=function(){return s.view.getLastRenderedVisibleColumn()},this.getFirstFullyVisibleRow=function(){return s.view.getFirstFullyVisibleRow()},this.getLastFullyVisibleRow=function(){return s.view.getLastFullyVisibleRow()},this.getFirstFullyVisibleColumn=function(){return s.view.getFirstFullyVisibleColumn()},this.getLastFullyVisibleColumn=function(){return s.view.getLastFullyVisibleColumn()},this.getFirstPartiallyVisibleRow=function(){return s.view.getFirstPartiallyVisibleRow()},this.getLastPartiallyVisibleRow=function(){return s.view.getLastPartiallyVisibleRow()},this.getFirstPartiallyVisibleColumn=function(){return s.view.getFirstPartiallyVisibleColumn()},this.getLastPartiallyVisibleColumn=function(){return s.view.getLastPartiallyVisibleColumn()},this.getPlugin=function(t){return _.getItem($(t))},this.getPluginName=function(t){return _.getId(t)},this.getInstance=function(){return s},this.addHook=function(t,e,n){Mn.getSingleton().add(t,e,s,n)},this.hasHook=function(t){return Mn.getSingleton().has(t,s)||Mn.getSingleton().has(t)},this.addHookOnce=function(t,e,n){Mn.getSingleton().once(t,e,s,n)},this.removeHook=function(t,e){Mn.getSingleton().remove(t,e,s)},this.runHooks=function(t,e,n,o,i,r,a){return Mn.getSingleton().run(s,t,e,n,o,i,r,a)},this.getTranslatedPhrase=function(t,e){return Ac(R.language,t,e)},this.toHTML=()=>Qn(this),this.toTableElement=()=>{const t=this.rootDocument.createElement("div");return t.insertAdjacentHTML("afterbegin",Qn(this)),t.firstElementChild},this.timeouts=[],this.useTheme=t=>{const e=!!f;this.stylesHandler.useTheme(t);const n=this.stylesHandler.getThemeName();!e&&n&&(Vg(this.rootContainer)&&(ge(this.rootContainer,/ht-theme-.*/g),ue(this.rootContainer,n)),s.render(),s.scrollViewportTo(0,0)),this.runHooks("afterSetTheme",n,e)},this.getCurrentThemeName=()=>this.stylesHandler.getThemeName(),this.getTableHeight=()=>this.rootElement.offsetHeight,this.getTableWidth=()=>this.rootElement.offsetWidth,this._registerTimeout=function(t){let e=t;"function"==typeof e&&(e=setTimeout(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0)),this.timeouts.push(e)},this._clearTimeouts=function(){x(this.timeouts,t=>{clearTimeout(t)})},this.microtasks=[],this._registerMicrotask=function(t){const e={cancelled:!1};this.microtasks.push(e),this.rootWindow.queueMicrotask(()=>{e.cancelled||t()})},this._clearMicrotasks=function(){x(this.microtasks,t=>{t.cancelled=!0}),this.microtasks.length=0},this._getEditorManager=function(){return d},this._getDataSource=function(){return h},this._getMetaManager=function(){return y};const G=Lg({handleEvent:()=>s.isListening(),beforeKeyDown:t=>this.runHooks("beforeKeyDown",t),afterKeyDown:t=>{this.isDestroyed||s.runHooks("afterDocumentKeyDown",t)},ownerWindow:this.rootWindow});this.addHook("beforeOnCellMouseDown",t=>{!1===t.ctrlKey&&!1===t.metaKey&&G.releasePressedKeys()}),this.getShortcutManager=function(){return G},u=new ig(s);const K=fa(this)?$u(s):null;this.getFocusManager=function(){return u},this.getFocusScopeManager=function(){return fa(s)||wt("The FocusScopeManager is only available for the main Handsontable instance."),K};const q=p.theme,X=p.themeName,Z=Vg(s.rootContainer);var J;!fa(s)||Z||!Et(q)&&(q||X)||L(q),ko().forEach(t=>{const e=xo(t);_.addItem(t,new e(this))}),J=s,[xg,kg].forEach(t=>t(J)),fa(this)&&function(t){[Eg].forEach(e=>e(t))}(s),G.setActiveContextName("grid"),Mn.getSingleton().run(s,"construct")}function up(t,e,n,o,i,r,s){const a=s.ariaTags,l=[],h=[],c=[],d=[];s._isBaseRendererCalled=!0,s.className&&ue(e,s.className),s.readOnly?(l.push(s.readOnlyCellClassName),a&&d.push(["aria-readonly","true"])):a&&c.push("aria-readonly"),!1===s.valid&&s.invalidCellClassName?(l.push(s.invalidCellClassName),a&&d.push(["aria-invalid","true"])):(h.push(s.invalidCellClassName),a&&c.push("aria-invalid")),!1===s.wordWrap&&s.noWordWrapClassName&&l.push(s.noWordWrapClassName),!r&&s.placeholder&&l.push(s.placeholderCellClassName),s.textEllipsis&&l.push("htTextEllipsis"),ge(e,h),ue(e,l),pe(e,c),fe(e,d)}function gp(t,e,n){t.addEventListener(e,n,!1)}function fp(t,e,n){t.removeEventListener(e,n,!1)}function pp(t){return t.ownerDocument.defaultView.getComputedStyle(t)}function mp(t){const e={minHeight:200,maxHeight:300,minWidth:100,maxWidth:300,textContent:t=>t.value,...arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}},n=t.body,o=t.createTextNode(""),i=t.createElement("span");let r;function s(){var t,s;o.textContent=e.textContent(r),i.style.position="absolute",i.style.fontSize=pp(r).fontSize,i.style.fontFamily=pp(r).fontFamily,i.style.whiteSpace="pre",n.appendChild(i);const a=parseInt((null===(t=pp(r))||void 0===t?void 0:t.paddingInlineStart)||0,10),l=parseInt((null===(s=pp(r))||void 0===s?void 0:s.paddingInlineEnd)||0,10),h=i.clientWidth+a+l+1;n.removeChild(i);const c=r.style;c.height=`${e.minHeight}px`,e.minWidth>h?c.width=`${e.minWidth}px`:h>e.maxWidth?c.width=`${e.maxWidth}px`:c.width=`${h}px`;const d=r.scrollHeight?r.scrollHeight-1:0;e.minHeight>d?c.height=`${e.minHeight}px`:e.maxHeight<d?(c.height=`${e.maxHeight}px`,c.overflowY="visible"):c.height=`${d}px`}function a(){t.defaultView.setTimeout(s,0)}return{init:function(t,n){let l=arguments.length>2&&void 0!==arguments[2]&&arguments[2];r=t,function(t){if(t&&t.minHeight)if("inherit"===t.minHeight)e.minHeight=r.clientHeight;else{const n=parseInt(t.minHeight,10);isNaN(n)||(e.minHeight=n)}if(t&&t.maxHeight)if("inherit"===t.maxHeight)e.maxHeight=r.clientHeight;else{const n=parseInt(t.maxHeight,10);isNaN(n)||(e.maxHeight=n)}if(t&&t.minWidth)if("inherit"===t.minWidth)e.minWidth=r.clientWidth;else{const n=parseInt(t.minWidth,10);isNaN(n)||(e.minWidth=n)}if(t&&t.maxWidth)if("inherit"===t.maxWidth)e.maxWidth=r.clientWidth;else{const n=parseInt(t.maxWidth,10);isNaN(n)||(e.maxWidth=n)}i.firstChild||(i.className="autoResize",i.style.display="inline-block",i.appendChild(o))}(n),"TEXTAREA"===r.nodeName&&(r.style.resize="none",r.style.height=`${e.minHeight}px`,r.style.minWidth=`${e.minWidth}px`,r.style.maxWidth=`${e.maxWidth}px`,r.style.overflowY="hidden"),l&&(gp(r,"input",s),gp(r,"keydown",a)),s()},resize:s,unObserve(){fp(r,"input",s),fp(r,"keydown",a)}}}function bp(t,e){const n=De(e),o=e.value.split("\n");let i=n,r=0;for(let e=0;e<o.length;e++){const s=o[e];0!==e&&(r+=o[e-1].length+1);const a=r+s.length;if("home"===t?i=r:"end"===t&&(i=a),n<=a)break}Ve(e,i)}function wp(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}up.RENDERER_TYPE="base";const vp="ht_editor_hidden",yp="textEditor";class Cp extends Cg{static get EDITOR_TYPE(){return"text"}constructor(t){super(t),wp(this,"eventManager",new zn(this)),wp(this,"autoResize",mp(this.hot.rootDocument)),wp(this,"TEXTAREA",void 0),wp(this,"textareaStyle",void 0),wp(this,"TEXTAREA_PARENT",void 0),wp(this,"textareaParentStyle",void 0),wp(this,"layerClass",void 0),this.eventManager=new zn(this),this.createElements(),this.bindEvents(),this.hot.addHookOnce("afterDestroy",()=>this.destroy())}getValue(){return this.TEXTAREA.value}setValue(t){this.TEXTAREA.value=t}open(){this._opened=!0,this.refreshDimensions(),this.showEditableElement(),this.hot.getShortcutManager().setActiveContextName("editor"),this.registerShortcuts()}close(){this._opened=!1,this.autoResize.unObserve(),oe(this.hot.rootDocument.activeElement,this.hot.rootElement)&&this.hot.listen(),this.hideEditableElement(),this.unregisterShortcuts()}prepare(t,e,n,o,i,r){const s=this.state;if(super.prepare(t,e,n,o,i,r),!r.readOnly){this.refreshDimensions(!0);const{allowInvalid:t}=r;t&&!this.isOpened()&&(this.TEXTAREA.value=""),s===yg.FINISHED||this.isOpened()||this.hideEditableElement()}}beginEditing(t,e){this.state===yg.VIRGIN&&(this.TEXTAREA.value="",super.beginEditing(t,e))}focus(){this.TEXTAREA.select(),Ve(this.TEXTAREA,this.TEXTAREA.value.length)}createElements(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"textarea";const{rootDocument:e}=this.hot;this.TEXTAREA=e.createElement(t),fe(this.TEXTAREA,[["data-hot-input",""],J(-1)]),ue(this.TEXTAREA,"handsontableInput"),this.textareaStyle=this.TEXTAREA.style,this.textareaStyle.width=0,this.textareaStyle.height=0,this.textareaStyle.overflowY="visible",this.TEXTAREA_PARENT=e.createElement("DIV"),ue(this.TEXTAREA_PARENT,"handsontableInputHolder"),de(this.TEXTAREA_PARENT,this.layerClass)&&ge(this.TEXTAREA_PARENT,this.layerClass),ue(this.TEXTAREA_PARENT,vp),this.textareaParentStyle=this.TEXTAREA_PARENT.style,this.TEXTAREA_PARENT.appendChild(this.TEXTAREA),this.hot.rootElement.appendChild(this.TEXTAREA_PARENT)}hideEditableElement(){zt.edge.value&&(this.textareaStyle.textIndent="-99999px"),this.textareaStyle.overflowY="visible",this.textareaParentStyle.opacity="0",this.textareaParentStyle.height="1px",ge(this.TEXTAREA_PARENT,this.layerClass),ue(this.TEXTAREA_PARENT,vp)}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 t=this.TEXTAREA_PARENT.childNodes;let e=!1;ao(t.length-1,n=>{if(de(t[n],"handsontableEditor"))return e=!0,!1}),de(this.TEXTAREA_PARENT,vp)&&ge(this.TEXTAREA_PARENT,vp),e?(this.layerClass="ht_editor_visible",ue(this.TEXTAREA_PARENT,this.layerClass)):(this.layerClass=this.getEditedCellsLayerClass(),ue(this.TEXTAREA_PARENT,this.layerClass))}refreshValue(){const t=this.hot.toPhysicalRow(this.row),e=this.hot.getSourceDataAtCell(t,this.col);this.originalValue=e,this.setValue(e),this.refreshDimensions()}refreshDimensions(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.state!==yg.EDITING&&!t)return;if(this.TD=this.getEditedCell(),!this.TD)return void(t||this.close());const{top:e,start:n,width:o,maxWidth:i,height:r,maxHeight:s}=this.getEditedCellRect();this.textareaParentStyle.top=`${e}px`,this.textareaParentStyle[this.hot.isRtl()?"right":"left"]=`${n}px`,this.showEditableElement();const a=this.hot.rootWindow.getComputedStyle(this.TD);this.TEXTAREA.style.fontSize=a.fontSize,this.TEXTAREA.style.fontFamily=a.fontFamily,this.TEXTAREA.style.backgroundColor=this.TD.style.backgroundColor,this.autoResize.init(this.TEXTAREA,{minWidth:Math.min(o,i),minHeight:Math.min(r,s),maxWidth:i,maxHeight:s},!0)}bindEvents(){Kt()&&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===yg.EDITING&&this.focus()}),this.addHook("afterRowResize",()=>{this.refreshDimensions(),this.state===yg.EDITING&&this.focus()})}destroy(){this.eventManager.destroy(),this.clearHooks()}registerShortcuts(){const t=this.hot.getShortcutManager().getContext("editor"),e={runOnlyIf:()=>I(this.hot.getSelected()),group:yp},n=()=>{this.hot.rootDocument.execCommand("insertText",!1,"\n")};t.addShortcuts([{keys:[["Control","Enter"]],callback:()=>(n(),!1),runOnlyIf:t=>!this.hot.selection.isMultiple()&&!t.altKey},{keys:[["Meta","Enter"]],callback:()=>(n(),!1),runOnlyIf:()=>!this.hot.selection.isMultiple()},{keys:[["Alt","Enter"]],callback:()=>(n(),!1)},{keys:[["Home"]],callback:(t,e)=>{let[n]=e;bp(n,this.TEXTAREA)}},{keys:[["End"]],callback:(t,e)=>{let[n]=e;bp(n,this.TEXTAREA)}}],e)}unregisterShortcuts(){this.hot.getShortcutManager().getContext("editor").removeShortcutsByGroup(yp)}}function Sp(t,e,n,o,i,r,s){let a=r;!a&&s.placeholder&&(a=s.placeholder),a=H(a),s.trimWhitespace&&(a=a.trim()),Se(e,a)}Sp.RENDERER_TYPE="text";const Rp={CELL_TYPE:"text",editor:Cp,renderer:Sp};function kp(t,e){const n=new dp(t,e||{},ua);return n.init(),n}Zd(Rp),Po(up),kp.editors={BaseEditor:Cg},kp.Core=function(t){return new dp(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ua)},kp.DefaultSettings=eu(),kp.hooks=Mn.getSingleton(),kp.CellCoords=pi,kp.CellRange=Ci,kp.packageName="handsontable",kp.buildDate="25/03/2026 09:28:47",kp.version="17.0.1",kp.languages={dictionaryKeys:Rc,getLanguageDictionary:Hc,getLanguagesDictionaries:function(){return Tc()},registerLanguageDictionary:_c,getTranslatedPhrase:Ac},kp.themes={hasTheme:sp,getTheme:ap,getThemeNames:function(){return op()},getThemes:function(){return ip()},registerTheme:lp};var xp=null;function Ep(){var t;"undefined"!=typeof console&&(t=console).warn.apply(t,arguments)}function Mp(t){return Tp(t,"hot-renderer")?(Ep("Providing a component-based renderer using `hot-renderer`-annotated component is no longer supported. Pass your component using `renderer` prop of the `HotTable` or `HotColumn` component instead."),!0):!!Tp(t,"hot-editor")&&(Ep("Providing a component-based editor using `hot-editor`-annotated component is no longer supported. Pass your component using `editor` prop of the `HotTable` or `HotColumn` component instead."),!0)}function Tp(t,n){return e.Children.toArray(t).some(function(t){return void 0!==t.props[n]})}function _p(t,n){if(!t||!n||"boolean"==typeof n)return null;var o=e.createElement(n,null),i=Hp({},!1);return i.className="".concat("hot-wrapper-editor-container"," ").concat(i.className),p.createPortal(e.createElement("div",Object.assign({},i),o),t.body)}function Hp(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return{id:t.id||(e?"hot-"+Math.random().toString(36).substring(5):void 0),className:t.className||"",style:t.style||{}}}function Ip(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=Array(e);n<e;n++)o[n]=t[n];return o}function Ap(t,e,n){return e=Dp(e),function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Lp()?Reflect.construct(e,n||[],Dp(t).constructor):e.apply(t,n))}function Pp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Op(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,Wp(o.key),o)}}function Np(t,e,n){return e&&Op(t.prototype,e),n&&Op(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function Dp(t){return Dp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Dp(t)}function Lp(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Lp=function(){return!!t})()}function Vp(t,e){return Vp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Vp(t,e)}function Bp(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,i,r,s,a=[],l=!0,h=!1;try{if(r=(n=n.call(t)).next,0===e);else for(;!(l=(o=r.call(n)).done)&&(a.push(o.value),a.length!==e);l=!0);}catch(t){h=!0,i=t}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(h)throw i}}return a}}(t,e)||jp(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fp(t){return function(t){if(Array.isArray(t))return Ip(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||jp(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wp(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e);if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==typeof e?e:e+""}function zp(t){"@babel/helpers - typeof";return zp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zp(t)}function jp(t,e){if(t){if("string"==typeof t)return Ip(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ip(t,e):void 0}}var $p=function(){return Np(function t(){Pp(this,t)},null,[{key:"getSettings",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.prevProps,o=void 0===n?{}:n,i=e.isInit,r=void 0!==i&&i,s=e.initOnlySettingKeys,a=void 0===s?[]:s,l=function(e){return!(r||!a.includes(e))&&o[e]===t[e]},h={};for(var c in t)"children"!==c&&!l(c)&&t.hasOwnProperty(c)&&(h[c]=t[c]);return h}}])}(),Up=d(void 0),Yp=function(t){var n=t.children,o=i([]),a=r(function(t,e){o.current[e]=t},[]),l=i(new Map),h=i(new Map),c=r(function(){return h.current.clear()},[]),d=i(new Map),u=r(function(){return d.current.clear()},[]),g=i(new Map),f=r(function(t){return function(n,o,i,r,s,a,l){var c="".concat(i,"-").concat(r),u=n.guid,f="".concat(u,"-").concat(c),m="".concat(c,"-").concat(u);if(h.current.has(c)&&(o.innerHTML=h.current.get(c).innerHTML),o&&!o.getAttribute("ghost-table")){for(var b=d.current.get(m),w=g.current.get(f);o.firstChild;)o.removeChild(o.firstChild);if(b&&w)o.appendChild(w);else{var v=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,n=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;e||(e=document),xp||(xp=e.createDocumentFragment());var i=null!=o?o:e.createElement("DIV");return xp.appendChild(i),{portal:p.createPortal(t,i,n),portalContainer:i}}(e.createElement(t,{instance:n,TD:o,row:i,col:r,prop:s,value:a,cellProperties:l}),o.ownerDocument,m,w),y=v.portal,C=v.portalContainer;g.current.set(f,C),o.appendChild(C),d.current.set(m,y)}}return h.current.set("".concat(i,"-").concat(r),o),o}},[]),m=i(function(){}),b=r(function(t){m.current=t},[]),w=r(function(){m.current(Fp(d.current.values()))},[]),v=s(function(){return{componentRendererColumns:l.current,columnsSettings:o.current,emitColumnSettings:a,getRendererWrapper:f,clearPortalCache:u,clearRenderedCellCache:c,setRenderersPortalManagerRef:b,pushCellPortalsIntoPortalManager:w}},[a,f,c,b,w]);return e.createElement(Up.Provider,{value:v},n)};function Gp(){return u(Up)}var Kp=d(void 0),qp=function(t){var n=t.columnIndex,o=t.getOwnerDocument,i=t.children,r=s(function(){return{columnIndex:n,getOwnerDocument:o}},[n,o]);return e.createElement(Kp.Provider,{value:r},i)},Xp=["close","focus","open"],Zp=["getValue","setValue"],Jp={open:"onOpen",close:"onClose",prepare:"onPrepare",focus:"onFocus"};function Qp(t,e){return function(){function n(o){var i;return Pp(this,n),i=Ap(this,n,[o]),e.current=i,Object.getOwnPropertyNames(kp.editors.BaseEditor.prototype).forEach(function(e){if("constructor"!==e&&!Zp.includes(e)){var o=kp.editors.BaseEditor.prototype[e];n.prototype[e]=function(){for(var n,i,r,s=arguments.length,a=new Array(s),l=0;l<s;l++)a[l]=arguments[l];(Xp.includes(e)||(i=o.call.apply(o,[this].concat(a))),Jp[e]&&null!==(n=t.current)&&void 0!==n&&n[Jp[e]])&&(i=(r=t.current[Jp[e]]).call.apply(r,[this].concat(a)));return i}.bind(i)}}),i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Vp(t,e)}(n,kp.editors.BaseEditor),Np(n,[{key:"focus",value:function(){}},{key:"getValue",value:function(){return this.value}},{key:"setValue",value:function(t){this.value=t}},{key:"open",value:function(){}},{key:"close",value:function(){}}])}()}var tm=d(void 0),em=function(t){var n=t.hooksRef,o=t.hotCustomEditorInstanceRef,i=t.children;return e.createElement(tm.Provider,{value:{hooksRef:n,hotCustomEditorInstanceRef:o}},i)},nm=function(t){return t.type===im},om=["_columnIndex","_getOwnerDocument","children"],im=function(t){var n=Gp(),o=n.componentRendererColumns,r=n.emitColumnSettings,s=n.getRendererWrapper,l=u(Kp),h=l.columnIndex,c=l.getOwnerDocument,d=i(null),g=i(null);a(function(){var n,i=function(){var e=$p.getSettings(Object.keys(t).filter(function(t){return!om.includes(t)}).reduce(function(e,n){return e[n]=t[n],e},{}));return t.renderer?(e.renderer=s(t.renderer),o.set(h,!0)):t.hotRenderer&&(e.renderer=t.hotRenderer),t.editor?e.editor=Qp(d,g):t.hotEditor&&(e.editor=t.hotEditor),e}();r(i,h),Mp(t.children)||(n=t.children,e.Children.toArray(n).length&&Ep("Unexpected children nodes found in HotColumn component. HotColumn components do not support any children."))});var f=_p(c(),t.editor);return e.createElement(em,{hooksRef:d,hotCustomEditorInstanceRef:g},f)},rm=n(function(t,n){var o=Bp(g([]),2),i=o[0],r=o[1];return l(n,function(){return r}),e.createElement(c,null,i)});function sm(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var am,lm={exports:{}},hm={exports:{}},cm={};var dm,um,gm,fm,pm,mm,bm,wm,vm,ym,Cm,Sm,Rm,km,xm={};function Em(){return um||(um=1,"production"===process.env.NODE_ENV?hm.exports=function(){if(am)return cm;am=1;var t="function"==typeof Symbol&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,r=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,a=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,h=t?Symbol.for("react.concurrent_mode"):60111,c=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,u=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,f=t?Symbol.for("react.lazy"):60116,p=t?Symbol.for("react.block"):60121,m=t?Symbol.for("react.fundamental"):60117,b=t?Symbol.for("react.responder"):60118,w=t?Symbol.for("react.scope"):60119;function v(t){if("object"===zp(t)&&null!==t){var u=t.$$typeof;switch(u){case e:switch(t=t.type){case l:case h:case o:case r:case i:case d:return t;default:switch(t=t&&t.$$typeof){case a:case c:case f:case g:case s:return t;default:return u}}case n:return u}}}function y(t){return v(t)===h}return cm.AsyncMode=l,cm.ConcurrentMode=h,cm.ContextConsumer=a,cm.ContextProvider=s,cm.Element=e,cm.ForwardRef=c,cm.Fragment=o,cm.Lazy=f,cm.Memo=g,cm.Portal=n,cm.Profiler=r,cm.StrictMode=i,cm.Suspense=d,cm.isAsyncMode=function(t){return y(t)||v(t)===l},cm.isConcurrentMode=y,cm.isContextConsumer=function(t){return v(t)===a},cm.isContextProvider=function(t){return v(t)===s},cm.isElement=function(t){return"object"===zp(t)&&null!==t&&t.$$typeof===e},cm.isForwardRef=function(t){return v(t)===c},cm.isFragment=function(t){return v(t)===o},cm.isLazy=function(t){return v(t)===f},cm.isMemo=function(t){return v(t)===g},cm.isPortal=function(t){return v(t)===n},cm.isProfiler=function(t){return v(t)===r},cm.isStrictMode=function(t){return v(t)===i},cm.isSuspense=function(t){return v(t)===d},cm.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===h||t===r||t===i||t===d||t===u||"object"===zp(t)&&null!==t&&(t.$$typeof===f||t.$$typeof===g||t.$$typeof===s||t.$$typeof===a||t.$$typeof===c||t.$$typeof===m||t.$$typeof===b||t.$$typeof===w||t.$$typeof===p)},cm.typeOf=v,cm}():hm.exports=(dm||(dm=1,"production"!==process.env.NODE_ENV&&function(){var t="function"==typeof Symbol&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,r=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,a=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,h=t?Symbol.for("react.concurrent_mode"):60111,c=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,u=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,f=t?Symbol.for("react.lazy"):60116,p=t?Symbol.for("react.block"):60121,m=t?Symbol.for("react.fundamental"):60117,b=t?Symbol.for("react.responder"):60118,w=t?Symbol.for("react.scope"):60119;function v(t){if("object"===zp(t)&&null!==t){var u=t.$$typeof;switch(u){case e:var p=t.type;switch(p){case l:case h:case o:case r:case i:case d:return p;default:var m=p&&p.$$typeof;switch(m){case a:case c:case f:case g:case s:return m;default:return u}}case n:return u}}}var y=l,C=h,S=a,R=s,k=e,x=c,E=o,M=f,T=g,_=n,H=r,I=i,A=d,P=!1;function O(t){return v(t)===h}xm.AsyncMode=y,xm.ConcurrentMode=C,xm.ContextConsumer=S,xm.ContextProvider=R,xm.Element=k,xm.ForwardRef=x,xm.Fragment=E,xm.Lazy=M,xm.Memo=T,xm.Portal=_,xm.Profiler=H,xm.StrictMode=I,xm.Suspense=A,xm.isAsyncMode=function(t){return P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(t)||v(t)===l},xm.isConcurrentMode=O,xm.isContextConsumer=function(t){return v(t)===a},xm.isContextProvider=function(t){return v(t)===s},xm.isElement=function(t){return"object"===zp(t)&&null!==t&&t.$$typeof===e},xm.isForwardRef=function(t){return v(t)===c},xm.isFragment=function(t){return v(t)===o},xm.isLazy=function(t){return v(t)===f},xm.isMemo=function(t){return v(t)===g},xm.isPortal=function(t){return v(t)===n},xm.isProfiler=function(t){return v(t)===r},xm.isStrictMode=function(t){return v(t)===i},xm.isSuspense=function(t){return v(t)===d},xm.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===o||t===h||t===r||t===i||t===d||t===u||"object"===zp(t)&&null!==t&&(t.$$typeof===f||t.$$typeof===g||t.$$typeof===s||t.$$typeof===a||t.$$typeof===c||t.$$typeof===m||t.$$typeof===b||t.$$typeof===w||t.$$typeof===p)},xm.typeOf=v}()),xm)),hm.exports}
|
|
42
42
|
/*
|
|
43
43
|
object-assign
|
|
44
44
|
(c) Sindre Sorhus
|