@sheetxl/studio-vanilla 0.3.2 → 0.3.3
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/LICENSE.md +11 -11
- package/README.md +97 -97
- package/browser/cjs/{Do_T0KvdhyBUnWx_.cjs → -mcHZst9U0zNDZao.cjs} +1 -1
- package/browser/cjs/{C_-gd03rNpCoIWh3.cjs → -q2o2lS8jxJdArvq.cjs} +1 -1
- package/browser/cjs/{Dn6LoJinxzxUiMDg.cjs → -wP4OG5GpQTxGLJN.cjs} +2 -2
- package/browser/cjs/{Dn1uL0GqyDGo3d67.cjs → 2TmE8J3tbgenWyNa.cjs} +2 -2
- package/browser/cjs/{CDh1V-eGnwm_zj2N.cjs → 3ghCxtNVxZjrbziE.cjs} +1 -1
- package/browser/cjs/{B4SOP0NZdUa_5syD.cjs → 6AlZR3dVayTg7C5E.cjs} +42 -42
- package/browser/cjs/{CkboN9PqhMP8gVUO.cjs → B0BcYYAX9Qq_i5Iv.cjs} +1 -1
- package/browser/cjs/{DbdPbW-LrAm6toaO.cjs → B237Hj6a3Klw9rQn.cjs} +4 -4
- package/browser/cjs/{DjmqyErluCMLOjsF.cjs → B24aLncmXYgEQNjl.cjs} +1 -1
- package/browser/cjs/{CV3O2HrGgeVyZSTI.cjs → B9C-V-MR_epPI-2J.cjs} +2 -2
- package/browser/cjs/{DyS1Kn_U7Em83Hsq.cjs → BASowCefqJFspuu-.cjs} +1 -1
- package/browser/cjs/{DWoR03zqV8zXWO-X.cjs → BeDnbSWoeqV6GajE.cjs} +1 -1
- package/browser/cjs/{CpPLkq1qYpELtBVb.cjs → Bhq8u8Q04XpLmF4K.cjs} +2 -2
- package/browser/cjs/{8Y7hlPEOJeSakYCm.cjs → BnYTCcol8RjTTC3U.cjs} +1 -1
- package/browser/cjs/{CgBaptNB5xDzVtxH.cjs → BoBKeal3_qovATWu.cjs} +2 -2
- package/browser/cjs/{Dn4RfIZ9VHwQ7Eex.cjs → BucBlzmuZS_nYU9N.cjs} +1 -1
- package/browser/cjs/{DmhCjj0KeysXxIzX.cjs → C-YXuaIn5H1e3gGL.cjs} +2 -2
- package/browser/cjs/{BZWVOs1oqYkcQagx.cjs → C662YNYNcFb-AwnS.cjs} +2 -2
- package/browser/cjs/{Bb4zRbBuFZbbsMgv.cjs → CGg3vZ0YENmM73uu.cjs} +1 -1
- package/browser/cjs/{CFRAYmx7O_QuuqLm.cjs → CJ9WKDMLDxv2vmlL.cjs} +1 -1
- package/browser/cjs/{D4HABltWISUjVaOO.cjs → CSZ-Bfo-TZpVumqr.cjs} +1 -1
- package/browser/cjs/{CDt2itaEJHdgdMf7.cjs → CcxjUuuq3eq1io9D.cjs} +1 -1
- package/browser/cjs/{CiJXZ4MMq0-g5pRy.cjs → Ch4kNO1QwQ4Dqczw.cjs} +2 -2
- package/browser/cjs/{BDItG-Ctn9btjJYc.cjs → CrXR8mOrQVdukohR.cjs} +1 -1
- package/browser/cjs/{BKGew2NYE-aa2w6y.cjs → CuLinKNAohDMFqJU.cjs} +2 -2
- package/browser/cjs/{Bwi2m9xG4JvXPBHQ.cjs → D0Ruzl2vdZGdUhjE.cjs} +2 -2
- package/browser/cjs/{DvtlLY8kPVwL4sgA.cjs → D4CfqUrC04nbs39G.cjs} +1 -1
- package/browser/cjs/{DE3aCIXAZL7uLX0k.cjs → D4a_UoEEluqny9gi.cjs} +1 -1
- package/browser/cjs/{C4Far2itXrJ3DMOt.cjs → D6cHa8Tv5I8L_uAO.cjs} +1 -1
- package/browser/cjs/{CiCnx8sUQcc8athi.cjs → D7MyL7xgt0wGGz3I.cjs} +2 -2
- package/browser/cjs/{DciSg5hoXxvfqoKC.cjs → D7U5Wmdc51Op-pty.cjs} +1 -1
- package/browser/cjs/{BcapKXhCmLNJmfsN.cjs → D9SYWsd_viMxXbL_.cjs} +1 -1
- package/browser/cjs/{B5XBWUdLMqS2HDaF.cjs → DMIPzZRAbLsma6rR.cjs} +2 -2
- package/browser/cjs/{Cx2rTk-O7yQO7-q6.cjs → DPTxGnV0pA87nrhG.cjs} +4 -4
- package/browser/cjs/{D99WjfuVwM-YRm4a.cjs → DTtUhkXmo3x2L2GG.cjs} +1 -1
- package/browser/cjs/{INcIs0jpLlM3mm-H.cjs → DbSTC90BuNxq2k-j.cjs} +1 -1
- package/browser/cjs/{DZ3gARHylllIcJDT.cjs → DgBFcVOVhZuytQ4k.cjs} +1 -1
- package/browser/cjs/{DRvH_199sgRclUKY.cjs → Dh5RBi3PW-5ty2QU.cjs} +1 -1
- package/browser/cjs/{DlAB_CcYmXk8tpYL.cjs → DnkioRlJqXrbcW-8.cjs} +1 -1
- package/browser/cjs/{CkOqLhMfOSUO6hZc.cjs → DoCfDJUgwatpHG4J.cjs} +4 -4
- package/browser/cjs/{CU5XR4xQQYjuDqWh.cjs → Dwc5vGQ4nkaSmift.cjs} +2 -2
- package/browser/cjs/{CwhdUCDaoLQGcvJy.cjs → GbU6d05bhcxQrAUD.cjs} +2 -2
- package/browser/cjs/{Cx39LdblHkleUMb1.cjs → OW7aZPHGxXjRF38A.cjs} +1 -1
- package/browser/cjs/{Bx6ZuxKkOWgx7s9X.cjs → TJOJ_VEsTmCJ4d0P.cjs} +2 -2
- package/browser/cjs/{BPbd8bf2gOPV7ZtV.cjs → VXCGmehGJvuKNhXg.cjs} +4 -4
- package/browser/cjs/{Boig6aZA2-R5_w21.cjs → WKvz7zs0yI8-TRzJ.cjs} +1 -1
- package/browser/cjs/{B_HrZqG_mlwYR4Ae.cjs → WQBNSYPbQzvO23r-.cjs} +2 -2
- package/browser/cjs/{DDvILQ7_cSgi8K6F.cjs → XF920uRM7LSmFp49.cjs} +1 -1
- package/browser/cjs/{BHCPp9yjpWH3JG34.cjs → XazDEHRGho7wJTUR.cjs} +2 -2
- package/browser/cjs/{BivyzwRCqS37kNIh.cjs → Zjw2XvR7-Zfykt20.cjs} +1 -1
- package/browser/cjs/{DV0r3gTeA-w2Q6Jx.cjs → eM5uLWq0QtvNN4O-.cjs} +1 -1
- package/browser/cjs/{DCe0ifxJ2waXgr0H.cjs → gjPOOFOH_THG1O-L.cjs} +1 -1
- package/browser/cjs/{C6MqpTvQKwY2D1nN.cjs → hhZA8Q_VAVRnX3Rz.cjs} +3 -3
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{ZWsbkG6eb6seSRXv.cjs → pPJG7KbyLkcVi77H.cjs} +2 -2
- package/browser/cjs/{CLT2qTd_lmEX24Wq.cjs → qjCnEqCfcXzLIady.cjs} +1 -1
- package/browser/cjs/{BMBMwGW_zSiAe-XN.cjs → s238D5kFNyDNYzIV.cjs} +1 -1
- package/browser/cjs/{YHVbESGX6phJX20u.cjs → t-6Fa6b5-CXTHDjn.cjs} +1 -1
- package/browser/cjs/{CWuna-uBlfjsma3U.cjs → zvHV2c0_QPS3v2Wt.cjs} +3 -3
- package/browser/esm/{Cux5PsvHYlpp5b2x.mjs → 1Esqj-uAqAeHBGzU.mjs} +64 -64
- package/{cdn/assets/Bmo80_Qi8HeLXtBu.js → browser/esm/B-v14ikVOXpmpHCI.mjs} +2 -2
- package/browser/esm/{B4LH4e6YQr0i0kbs.mjs → B1M7fpFXcO34FZ5C.mjs} +2 -2
- package/browser/esm/{BM8e7ROZOHaAquLi.mjs → B1bRlKApOQZbRHvx.mjs} +1 -1
- package/browser/esm/{CnenkhTeaOhTTMqv.mjs → B3iFtnvwZZ0izvkj.mjs} +2 -2
- package/browser/esm/{Cz7RSKUHlEt4Sy6b.mjs → B6nZCfPr7UmxzAi6.mjs} +437 -436
- package/{cdn/assets/TCHZxTIhWMVkgX3o.js → browser/esm/B7RdrgkvZilWOBgD.mjs} +1 -1
- package/{cdn/assets/blfFjNlrt7wIm8ac.js → browser/esm/B7k3pb4haBsw-Yvr.mjs} +1 -1
- package/{cdn/assets/Ct9ZcjuuaNCX6kIj.js → browser/esm/B8ajmWm1J-ZsmBzK.mjs} +1 -1
- package/browser/esm/{B1m-ozjxrnDeFhiZ.mjs → BGvKR9TNj2ORlcKm.mjs} +1 -1
- package/browser/esm/{CMwrohupcgVf9ovx.mjs → BNixyL5UPlHciWwi.mjs} +4 -4
- package/browser/esm/{C4ADTbdoMYv-xYb_.mjs → BXkh5kfYj7Zx_PAe.mjs} +1 -1
- package/browser/esm/{CMICZ36cqe6eEELU.mjs → BZD8sqVzxMPTV1eH.mjs} +3 -3
- package/browser/esm/{CxjY2TO23WNFisWX.mjs → Bc8y371ooCwvBkRs.mjs} +1 -1
- package/browser/esm/{BsMA-6c4MCPqfDAq.mjs → BezHCUZawkIGzzUm.mjs} +2 -2
- package/browser/esm/{DfKdydqLJ4MMUAow.mjs → BnxMjyy6JPTUe9Lg.mjs} +1 -1
- package/browser/esm/{Bjtb8lG8j5lZLmPO.mjs → BskzQvqHyjuVccIH.mjs} +2 -2
- package/browser/esm/{DDfN1juzl1hT_UFe.mjs → Bz98C5-blFN81GJ-.mjs} +2 -2
- package/browser/esm/{DirjJILlmPlhPZwJ.mjs → BzS_V6RkpVpk_d1w.mjs} +4 -4
- package/browser/esm/{C_xUEkZ7r882X9Ha.mjs → C1opHAkl00_vHPMO.mjs} +1 -1
- package/browser/esm/{Dd9etqsWH04KVyov.mjs → C7cRxJLNfGjCT_Hk.mjs} +2 -2
- package/browser/esm/{Bjsc6wrUpvl_hjRj.mjs → CM--Vw5PcrLIXc8O.mjs} +1 -1
- package/browser/esm/{6nSiDtF6igNyrf2y.mjs → CZ9K3g_56s3hfJO0.mjs} +2 -2
- package/browser/esm/{Dq8duLxf4-Tuo_wV.mjs → CaLAEGMKeQ3INVEV.mjs} +2 -2
- package/browser/esm/{Bpt-cfH_EphAcLow.mjs → CdJVpNbmXP_fHybW.mjs} +3 -3
- package/{cdn/assets/CXM4duZAQ9xkx_-8.js → browser/esm/CflOcniWVa_VR5Wy.mjs} +1 -1
- package/{cdn/assets/CUrekuBvZp8HzDRR.js → browser/esm/Cn9w-KgbsxAKNj6s.mjs} +1 -1
- package/{cdn/assets/D6KZyFauO14Su023.js → browser/esm/CtW_m0lUeW_X_FHB.mjs} +1 -1
- package/{cdn/assets/D3XmnZGIfxT4lk3w.js → browser/esm/D6KdwQgZEBMy0260.mjs} +1 -1
- package/{cdn/assets/DlF4ox6px_a8KGDI.js → browser/esm/DAOw8vm-XsJ_n7BK.mjs} +1 -1
- package/browser/esm/{3N51fmivOwyOXT3l.mjs → DIKvxkHBBvYo2rnC.mjs} +1 -1
- package/browser/esm/{Dv5RrOnUwTMHeM7k.mjs → DNVkA-vwqtIw6aKf.mjs} +4 -4
- package/browser/esm/{B0DAlgwfAWOXvq4_.mjs → DTHujOSrUxuBuwud.mjs} +2 -2
- package/{cdn/assets/DAW6ifi60VDar3-l.js → browser/esm/DTS0EgQuwHdS5aQN.mjs} +1 -1
- package/browser/esm/{DOGg1qByRfg3Xspr.mjs → DaeiyDhcdRvg5nGs.mjs} +6 -6
- package/{cdn/assets/C5ipzxDNB7mwOup8.js → browser/esm/DeSyxK8Ibb-tIa67.mjs} +1 -1
- package/browser/esm/{MhA9JYSNQknyC2-7.mjs → DgPz063GFvbhOHHK.mjs} +1 -1
- package/browser/esm/{TCyoIWnhQsOAGihq.mjs → DhFd9KX61TdmTNyk.mjs} +1 -1
- package/browser/esm/{BEdbC5wAfOjfWhGs.mjs → Di8gWiOWhfFzcOuw.mjs} +1 -1
- package/browser/esm/{3VzVhIOnlmOZ-dBg.mjs → Dlg7LT4wsJCPSTCT.mjs} +2 -2
- package/browser/esm/{C_9Upo5I-PSK47R_.mjs → DqDxWoCftkWurpDk.mjs} +1 -1
- package/browser/esm/{HPDpApJMbty0fOGh.mjs → DupExqAEenu5ZS6G.mjs} +2 -2
- package/browser/esm/{BbYZAR2suHjEBaES.mjs → DwLRqrlPfv8xcbxB.mjs} +2 -2
- package/browser/esm/{BH6ldKaAlNHAWreh.mjs → Dwd9xRP6sCbvd7-2.mjs} +1 -1
- package/{cdn/assets/XWOQU_sxt5_lFjJM.js → browser/esm/Dy1zdTKMeT50nXcy.mjs} +1 -1
- package/{cdn/assets/DTeYi36ajMzmUc3x.js → browser/esm/Dz_O3du2SrhYK47v.mjs} +1 -1
- package/browser/esm/{C2nH1Z0Qv8dVA46o.mjs → FXy016gXiiQkH7aF.mjs} +2 -2
- package/browser/esm/{Dc1H2furircZlzN8.mjs → IbCi65rCiiLS_OGe.mjs} +4 -4
- package/{cdn/assets/CSvpcvVrtQMi5YMH.js → browser/esm/R2Li5a5IPMuoQEGD.mjs} +1 -1
- package/{cdn/assets/nuGYHbGeWLkN7IFF.js → browser/esm/SWzqhkO1HABv0bfG.mjs} +1 -1
- package/browser/esm/{on8xRgdppLtS76xu.mjs → VDflSVY_vwi7ZcHQ.mjs} +3 -3
- package/browser/esm/{Ld4Og9zF7kdwc9Bq.mjs → dAJOajC7rsn3_hWk.mjs} +1 -1
- package/browser/esm/{CUFXsvWRmBglOxCh.mjs → fvsQWBiDZg7zRYOa.mjs} +1 -1
- package/browser/esm/{BTTKTkAe7jTaQvjz.mjs → iHc25sW_jPEvAQNG.mjs} +1 -1
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{CvbAyNJlfhcCYfDr.mjs → nT3k8GnD4H3I293i.mjs} +2 -2
- package/{cdn/assets/D8C3KeX9kFgFNEsb.js → browser/esm/o8Z04Tjc17JBUDsL.mjs} +1 -1
- package/browser/esm/{nLQOv_3C-yTgOm_d.mjs → qbGHKDeXrxvghjMt.mjs} +1 -1
- package/browser/esm/{D0wIYxN6_chAmwCc.mjs → uk5NsqjbkRuKv1vU.mjs} +1 -1
- package/cdn/assets/{CWmH4zsZyNsO9p41.js → 3ijH6Pl-l2q9T5Ky.js} +2 -2
- package/cdn/assets/{BM8e7ROZOHaAquLi.js → B1bRlKApOQZbRHvx.js} +1 -1
- package/cdn/assets/{E-GOcSTy1uY4Oj3I.js → B2P82Dvadjo7-hRY.js} +6 -6
- package/{browser/esm/TCHZxTIhWMVkgX3o.mjs → cdn/assets/B7RdrgkvZilWOBgD.js} +1 -1
- package/{browser/esm/blfFjNlrt7wIm8ac.mjs → cdn/assets/B7k3pb4haBsw-Yvr.js} +1 -1
- package/{browser/esm/Ct9ZcjuuaNCX6kIj.mjs → cdn/assets/B8ajmWm1J-ZsmBzK.js} +1 -1
- package/cdn/assets/{CKyyzgIojzuQ14Jb.js → BFDOApZozGNnJdxs.js} +4 -4
- package/cdn/assets/{B1m-ozjxrnDeFhiZ.js → BGvKR9TNj2ORlcKm.js} +1 -1
- package/cdn/assets/{C6VUt6vUMhiTBp21.js → BJgFwyqDjKdTH0xW.js} +2 -2
- package/cdn/assets/{B537hPIx4O8b3yYs.js → BKxjmGpW0pe8KUzm.js} +4 -4
- package/cdn/assets/{Cd3KcqA1q1QnCheo.js → BQFdL0Ou_nLqI7lR.js} +2 -2
- package/cdn/assets/{C4ADTbdoMYv-xYb_.js → BXkh5kfYj7Zx_PAe.js} +1 -1
- package/cdn/assets/{CxjY2TO23WNFisWX.js → Bc8y371ooCwvBkRs.js} +1 -1
- package/cdn/assets/{DfKdydqLJ4MMUAow.js → BnxMjyy6JPTUe9Lg.js} +1 -1
- package/cdn/assets/{C_xUEkZ7r882X9Ha.js → C1opHAkl00_vHPMO.js} +1 -1
- package/cdn/assets/{9ZJYmMX0oks56Dir.js → C4Vp4GoCEGQgWaGc.js} +3 -3
- package/cdn/assets/{Bjsc6wrUpvl_hjRj.js → CM--Vw5PcrLIXc8O.js} +1 -1
- package/cdn/assets/{CaN6N1dq3iIVO1hT.js → COS-oUtP1lQi0Hd8.js} +2 -2
- package/cdn/assets/{C0a277r4c7jdrbo-.js → CSxbcCsSh3AdRzkk.js} +3 -3
- package/{browser/esm/CXM4duZAQ9xkx_-8.mjs → cdn/assets/CflOcniWVa_VR5Wy.js} +1 -1
- package/{browser/esm/CUrekuBvZp8HzDRR.mjs → cdn/assets/Cn9w-KgbsxAKNj6s.js} +1 -1
- package/cdn/assets/{jNoWEx25dsSqFAso.js → Cqq1J11IdNmbXlgF.js} +3 -3
- package/{browser/esm/Ctrv_0YzvwpnUr0y.mjs → cdn/assets/Cqyz2pkIcU2pAivO.js} +2 -2
- package/{browser/esm/D6KZyFauO14Su023.mjs → cdn/assets/CtW_m0lUeW_X_FHB.js} +1 -1
- package/cdn/assets/{OMD1-UUDvqKr1SYQ.js → CuYtiG4SP9OK6dJP.js} +4 -4
- package/cdn/assets/{BDy4o1dgQMIqsMiY.js → D5Ns-uBNTj4-Jo0p.js} +2 -2
- package/{browser/esm/D3XmnZGIfxT4lk3w.mjs → cdn/assets/D6KdwQgZEBMy0260.js} +1 -1
- package/cdn/assets/{BbtqTKem2BWD_lH0.js → DAC77jdtNbZopLX5.js} +2 -2
- package/{browser/esm/DlF4ox6px_a8KGDI.mjs → cdn/assets/DAOw8vm-XsJ_n7BK.js} +1 -1
- package/cdn/assets/{D1QeQpmRY9PDIMEz.js → DCwhACFXcpYD60H9.js} +2 -2
- package/cdn/assets/{3N51fmivOwyOXT3l.js → DIKvxkHBBvYo2rnC.js} +1 -1
- package/cdn/assets/{DIOp5ZkL1dY68cMH.js → DJ3siDIdJVpw0GCs.js} +2 -2
- package/cdn/assets/{BHQC-R8MGLRzOxBA.js → DOLBqVto8cJdYLWp.js} +2 -2
- package/cdn/assets/{BUJQ7wUyL-iSUg8h.js → DQQK1YdQWQGsESk_.js} +2 -2
- package/{browser/esm/DAW6ifi60VDar3-l.mjs → cdn/assets/DTS0EgQuwHdS5aQN.js} +1 -1
- package/{browser/esm/C5ipzxDNB7mwOup8.mjs → cdn/assets/DeSyxK8Ibb-tIa67.js} +1 -1
- package/cdn/assets/{DfQ3XXU3pjhhAldB.js → Dew12-owBXPNmL1S.js} +2 -2
- package/cdn/assets/{MhA9JYSNQknyC2-7.js → DgPz063GFvbhOHHK.js} +1 -1
- package/cdn/assets/{TCyoIWnhQsOAGihq.js → DhFd9KX61TdmTNyk.js} +1 -1
- package/cdn/assets/{BEdbC5wAfOjfWhGs.js → Di8gWiOWhfFzcOuw.js} +1 -1
- package/cdn/assets/{B0h0MHiq87C7wRUG.js → DirkLhQ9-HVY0eDv.js} +2 -2
- package/cdn/assets/{CscbwTq6KR8XJrxB.js → Dk8MDG7PNGIWw80U.js} +4 -4
- package/cdn/assets/{DHDTA2yZ7ODlBAXM.js → Dkcj5uYhkoaa5JJt.js} +2 -2
- package/cdn/assets/{C_9Upo5I-PSK47R_.js → DqDxWoCftkWurpDk.js} +1 -1
- package/cdn/assets/{BH6ldKaAlNHAWreh.js → Dwd9xRP6sCbvd7-2.js} +1 -1
- package/{browser/esm/XWOQU_sxt5_lFjJM.mjs → cdn/assets/Dy1zdTKMeT50nXcy.js} +1 -1
- package/{browser/esm/DTeYi36ajMzmUc3x.mjs → cdn/assets/Dz_O3du2SrhYK47v.js} +1 -1
- package/cdn/assets/{BTXU6Aai-Ialy3og.js → G9bfOnISYlZUeW4U.js} +436 -435
- package/{browser/esm/CSvpcvVrtQMi5YMH.mjs → cdn/assets/R2Li5a5IPMuoQEGD.js} +1 -1
- package/{browser/esm/nuGYHbGeWLkN7IFF.mjs → cdn/assets/SWzqhkO1HABv0bfG.js} +1 -1
- package/cdn/assets/{Ld4Og9zF7kdwc9Bq.js → dAJOajC7rsn3_hWk.js} +1 -1
- package/cdn/assets/{CUFXsvWRmBglOxCh.js → fvsQWBiDZg7zRYOa.js} +1 -1
- package/cdn/assets/{BTTKTkAe7jTaQvjz.js → iHc25sW_jPEvAQNG.js} +1 -1
- package/{browser/esm/D8C3KeX9kFgFNEsb.mjs → cdn/assets/o8Z04Tjc17JBUDsL.js} +1 -1
- package/cdn/assets/{nLQOv_3C-yTgOm_d.js → qbGHKDeXrxvghjMt.js} +1 -1
- package/cdn/assets/{D0wIYxN6_chAmwCc.js → uk5NsqjbkRuKv1vU.js} +1 -1
- package/cdn/assets/{b4A5hTjHI0rNI6Qk.js → ukDxhSJqMPzLXoCP.js} +64 -64
- package/cdn/assets/{DfNI2EiuegVK3udt.js → vw_ELbpa8MGzVBfc.js} +2 -2
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +2 -2
|
@@ -5,7 +5,7 @@ import { createRoot as k9 } from "react-dom/client";
|
|
|
5
5
|
import * as _z from "react-dom";
|
|
6
6
|
import es, { unstable_batchedUpdates as bc, createPortal as zp } from "react-dom";
|
|
7
7
|
/**
|
|
8
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.
|
|
8
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.3
|
|
9
9
|
*
|
|
10
10
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
11
11
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1012,7 +1012,7 @@ function n2(t, e, n, r = n) {
|
|
|
1012
1012
|
let o;
|
|
1013
1013
|
return o = typeof t == "function" ? t(n) : Array.isArray(t) ? t[n] || r : v5(t, n) || r, e && (o = e(o, r, t)), o;
|
|
1014
1014
|
}
|
|
1015
|
-
function
|
|
1015
|
+
function Po(t) {
|
|
1016
1016
|
const { prop: e, cssProperty: n = t.prop, themeKey: r, transform: o } = t, i = (a) => {
|
|
1017
1017
|
if (a[e] == null) return null;
|
|
1018
1018
|
const s = a[e], l = v5(a.theme, r) || {};
|
|
@@ -1060,10 +1060,10 @@ function oI(t, e) {
|
|
|
1060
1060
|
const n = D9(t.theme);
|
|
1061
1061
|
return Object.keys(t).map((r) => LB(t, e, r, n)).reduce(Ah, {});
|
|
1062
1062
|
}
|
|
1063
|
-
function
|
|
1063
|
+
function yo(t) {
|
|
1064
1064
|
return oI(t, nI);
|
|
1065
1065
|
}
|
|
1066
|
-
function
|
|
1066
|
+
function wo(t) {
|
|
1067
1067
|
return oI(t, rI);
|
|
1068
1068
|
}
|
|
1069
1069
|
function S5(t = 8, e = D9({ spacing: t })) {
|
|
@@ -1084,9 +1084,9 @@ function Ga(t) {
|
|
|
1084
1084
|
return typeof t != "number" ? t : `${t}px solid`;
|
|
1085
1085
|
}
|
|
1086
1086
|
function as(t, e) {
|
|
1087
|
-
return
|
|
1087
|
+
return Po({ prop: t, themeKey: "borders", transform: e });
|
|
1088
1088
|
}
|
|
1089
|
-
|
|
1089
|
+
yo.propTypes = {}, yo.filterProps = nI, wo.propTypes = {}, wo.filterProps = rI;
|
|
1090
1090
|
const PB = as("border", Ga), zB = as("borderTop", Ga), BB = as("borderRight", Ga), $B = as("borderBottom", Ga), HB = as("borderLeft", Ga), VB = as("borderColor"), jB = as("borderTopColor"), WB = as("borderRightColor"), UB = as("borderBottomColor"), GB = as("borderLeftColor"), qB = as("outline", Ga), KB = as("outlineColor"), tg = (t) => {
|
|
1091
1091
|
if (t.borderRadius !== void 0 && t.borderRadius !== null) {
|
|
1092
1092
|
const e = jp(t.theme, "shape.borderRadius", 4), n = (r) => ({ borderRadius: Wp(e, r) });
|
|
@@ -1122,12 +1122,12 @@ i2.propTypes = {}, i2.filterProps = ["rowGap"];
|
|
|
1122
1122
|
function Hd(t, e) {
|
|
1123
1123
|
return e === "grey" ? e : t;
|
|
1124
1124
|
}
|
|
1125
|
-
x5(r2, o2, i2,
|
|
1125
|
+
x5(r2, o2, i2, Po({ prop: "gridColumn" }), Po({ prop: "gridRow" }), Po({ prop: "gridAutoFlow" }), Po({ prop: "gridAutoColumns" }), Po({ prop: "gridAutoRows" }), Po({ prop: "gridTemplateColumns" }), Po({ prop: "gridTemplateRows" }), Po({ prop: "gridTemplateAreas" }), Po({ prop: "gridArea" }));
|
|
1126
1126
|
function ba(t) {
|
|
1127
1127
|
return t <= 1 && t !== 0 ? 100 * t + "%" : t;
|
|
1128
1128
|
}
|
|
1129
|
-
x5(
|
|
1130
|
-
const XB =
|
|
1129
|
+
x5(Po({ prop: "color", themeKey: "palette", transform: Hd }), Po({ prop: "bgcolor", cssProperty: "backgroundColor", themeKey: "palette", transform: Hd }), Po({ prop: "backgroundColor", themeKey: "palette", transform: Hd }));
|
|
1130
|
+
const XB = Po({ prop: "width", transform: ba }), L9 = (t) => {
|
|
1131
1131
|
if (t.maxWidth !== void 0 && t.maxWidth !== null) {
|
|
1132
1132
|
const e = (n) => {
|
|
1133
1133
|
const r = t.theme?.breakpoints?.values?.[n] || b5[n];
|
|
@@ -1138,10 +1138,10 @@ const XB = Lo({ prop: "width", transform: ba }), L9 = (t) => {
|
|
|
1138
1138
|
return null;
|
|
1139
1139
|
};
|
|
1140
1140
|
L9.filterProps = ["maxWidth"];
|
|
1141
|
-
const YB =
|
|
1142
|
-
|
|
1143
|
-
x5(XB, L9, YB, ZB, JB, QB,
|
|
1144
|
-
const Up = { border: { themeKey: "borders", transform: Ga }, borderTop: { themeKey: "borders", transform: Ga }, borderRight: { themeKey: "borders", transform: Ga }, borderBottom: { themeKey: "borders", transform: Ga }, borderLeft: { themeKey: "borders", transform: Ga }, borderColor: { themeKey: "palette" }, borderTopColor: { themeKey: "palette" }, borderRightColor: { themeKey: "palette" }, borderBottomColor: { themeKey: "palette" }, borderLeftColor: { themeKey: "palette" }, outline: { themeKey: "borders", transform: Ga }, outlineColor: { themeKey: "palette" }, borderRadius: { themeKey: "shape.borderRadius", style: tg }, color: { themeKey: "palette", transform: Hd }, bgcolor: { themeKey: "palette", cssProperty: "backgroundColor", transform: Hd }, backgroundColor: { themeKey: "palette", transform: Hd }, p: { style:
|
|
1141
|
+
const YB = Po({ prop: "minWidth", transform: ba }), ZB = Po({ prop: "height", transform: ba }), JB = Po({ prop: "maxHeight", transform: ba }), QB = Po({ prop: "minHeight", transform: ba });
|
|
1142
|
+
Po({ prop: "size", cssProperty: "width", transform: ba }), Po({ prop: "size", cssProperty: "height", transform: ba });
|
|
1143
|
+
x5(XB, L9, YB, ZB, JB, QB, Po({ prop: "boxSizing" }));
|
|
1144
|
+
const Up = { border: { themeKey: "borders", transform: Ga }, borderTop: { themeKey: "borders", transform: Ga }, borderRight: { themeKey: "borders", transform: Ga }, borderBottom: { themeKey: "borders", transform: Ga }, borderLeft: { themeKey: "borders", transform: Ga }, borderColor: { themeKey: "palette" }, borderTopColor: { themeKey: "palette" }, borderRightColor: { themeKey: "palette" }, borderBottomColor: { themeKey: "palette" }, borderLeftColor: { themeKey: "palette" }, outline: { themeKey: "borders", transform: Ga }, outlineColor: { themeKey: "palette" }, borderRadius: { themeKey: "shape.borderRadius", style: tg }, color: { themeKey: "palette", transform: Hd }, bgcolor: { themeKey: "palette", cssProperty: "backgroundColor", transform: Hd }, backgroundColor: { themeKey: "palette", transform: Hd }, p: { style: wo }, pt: { style: wo }, pr: { style: wo }, pb: { style: wo }, pl: { style: wo }, px: { style: wo }, py: { style: wo }, padding: { style: wo }, paddingTop: { style: wo }, paddingRight: { style: wo }, paddingBottom: { style: wo }, paddingLeft: { style: wo }, paddingX: { style: wo }, paddingY: { style: wo }, paddingInline: { style: wo }, paddingInlineStart: { style: wo }, paddingInlineEnd: { style: wo }, paddingBlock: { style: wo }, paddingBlockStart: { style: wo }, paddingBlockEnd: { style: wo }, m: { style: yo }, mt: { style: yo }, mr: { style: yo }, mb: { style: yo }, ml: { style: yo }, mx: { style: yo }, my: { style: yo }, margin: { style: yo }, marginTop: { style: yo }, marginRight: { style: yo }, marginBottom: { style: yo }, marginLeft: { style: yo }, marginX: { style: yo }, marginY: { style: yo }, marginInline: { style: yo }, marginInlineStart: { style: yo }, marginInlineEnd: { style: yo }, marginBlock: { style: yo }, marginBlockStart: { style: yo }, marginBlockEnd: { style: yo }, displayPrint: { cssProperty: !1, transform: (t) => ({ "@media print": { display: t } }) }, display: {}, overflow: {}, textOverflow: {}, visibility: {}, whiteSpace: {}, flexBasis: {}, flexDirection: {}, flexWrap: {}, justifyContent: {}, alignItems: {}, alignContent: {}, order: {}, flex: {}, flexGrow: {}, flexShrink: {}, alignSelf: {}, justifyItems: {}, justifySelf: {}, gap: { style: r2 }, rowGap: { style: i2 }, columnGap: { style: o2 }, gridColumn: {}, gridRow: {}, gridAutoFlow: {}, gridAutoColumns: {}, gridAutoRows: {}, gridTemplateColumns: {}, gridTemplateRows: {}, gridTemplateAreas: {}, gridArea: {}, position: {}, zIndex: { themeKey: "zIndex" }, top: {}, right: {}, bottom: {}, left: {}, boxShadow: { themeKey: "shadows" }, width: { transform: ba }, maxWidth: { style: L9 }, minWidth: { transform: ba }, height: { transform: ba }, maxHeight: { transform: ba }, minHeight: { transform: ba }, boxSizing: {}, font: { themeKey: "font" }, fontFamily: { themeKey: "typography" }, fontSize: { themeKey: "typography" }, fontStyle: { themeKey: "typography" }, fontWeight: { themeKey: "typography" }, letterSpacing: {}, textTransform: {}, lineHeight: {}, textAlign: {}, typography: { cssProperty: !1, themeKey: "typography" } }, v0 = /* @__PURE__ */ function() {
|
|
1145
1145
|
function t(e, n, r, o) {
|
|
1146
1146
|
const i = { [e]: n, theme: r }, a = o[e];
|
|
1147
1147
|
if (!a) return { [e]: n };
|
|
@@ -4551,14 +4551,14 @@ const Kj = Ut("span", { name: "MuiSlider", slot: "Root", overridesResolver: (t,
|
|
|
4551
4551
|
function rW(t) {
|
|
4552
4552
|
return rr("MuiTooltip", t);
|
|
4553
4553
|
}
|
|
4554
|
-
const
|
|
4554
|
+
const _o = Xn("MuiTooltip", ["popper", "popperInteractive", "popperArrow", "popperClose", "tooltip", "tooltipArrow", "touch", "tooltipPlacementLeft", "tooltipPlacementRight", "tooltipPlacementTop", "tooltipPlacementBottom", "arrow"]), oW = Ut(Y9, { name: "MuiTooltip", slot: "Popper", overridesResolver: (t, e) => {
|
|
4555
4555
|
const { ownerState: n } = t;
|
|
4556
4556
|
return [e.popper, !n.disableInteractive && e.popperInteractive, n.arrow && e.popperArrow, !n.open && e.popperClose];
|
|
4557
|
-
} })(Wn(({ theme: t }) => ({ zIndex: (t.vars || t).zIndex.tooltip, pointerEvents: "none", variants: [{ props: ({ ownerState: e }) => !e.disableInteractive, style: { pointerEvents: "auto" } }, { props: ({ open: e }) => !e, style: { pointerEvents: "none" } }, { props: ({ ownerState: e }) => e.arrow, style: { [`&[data-popper-placement*="bottom"] .${
|
|
4557
|
+
} })(Wn(({ theme: t }) => ({ zIndex: (t.vars || t).zIndex.tooltip, pointerEvents: "none", variants: [{ props: ({ ownerState: e }) => !e.disableInteractive, style: { pointerEvents: "auto" } }, { props: ({ open: e }) => !e, style: { pointerEvents: "none" } }, { props: ({ ownerState: e }) => e.arrow, style: { [`&[data-popper-placement*="bottom"] .${_o.arrow}`]: { top: 0, marginTop: "-0.71em", "&::before": { transformOrigin: "0 100%" } }, [`&[data-popper-placement*="top"] .${_o.arrow}`]: { bottom: 0, marginBottom: "-0.71em", "&::before": { transformOrigin: "100% 0" } }, [`&[data-popper-placement*="right"] .${_o.arrow}`]: { height: "1em", width: "0.71em", "&::before": { transformOrigin: "100% 100%" } }, [`&[data-popper-placement*="left"] .${_o.arrow}`]: { height: "1em", width: "0.71em", "&::before": { transformOrigin: "0 0" } } } }, { props: ({ ownerState: e }) => e.arrow && !e.isRtl, style: { [`&[data-popper-placement*="right"] .${_o.arrow}`]: { left: 0, marginLeft: "-0.71em" } } }, { props: ({ ownerState: e }) => e.arrow && !!e.isRtl, style: { [`&[data-popper-placement*="right"] .${_o.arrow}`]: { right: 0, marginRight: "-0.71em" } } }, { props: ({ ownerState: e }) => e.arrow && !e.isRtl, style: { [`&[data-popper-placement*="left"] .${_o.arrow}`]: { right: 0, marginRight: "-0.71em" } } }, { props: ({ ownerState: e }) => e.arrow && !!e.isRtl, style: { [`&[data-popper-placement*="left"] .${_o.arrow}`]: { left: 0, marginLeft: "-0.71em" } } }] }))), iW = Ut("div", { name: "MuiTooltip", slot: "Tooltip", overridesResolver: (t, e) => {
|
|
4558
4558
|
const { ownerState: n } = t;
|
|
4559
4559
|
return [e.tooltip, n.touch && e.touch, n.arrow && e.tooltipArrow, e[`tooltipPlacement${Pt(n.placement.split("-")[0])}`]];
|
|
4560
4560
|
} })(Wn(({ theme: t }) => {
|
|
4561
|
-
return { backgroundColor: t.vars ? t.vars.palette.Tooltip.bg : Mt(t.palette.grey[700], 0.92), borderRadius: (t.vars || t).shape.borderRadius, color: (t.vars || t).palette.common.white, fontFamily: t.typography.fontFamily, padding: "4px 8px", fontSize: t.typography.pxToRem(11), maxWidth: 300, margin: 2, wordWrap: "break-word", fontWeight: t.typography.fontWeightMedium, [`.${
|
|
4561
|
+
return { backgroundColor: t.vars ? t.vars.palette.Tooltip.bg : Mt(t.palette.grey[700], 0.92), borderRadius: (t.vars || t).shape.borderRadius, color: (t.vars || t).palette.common.white, fontFamily: t.typography.fontFamily, padding: "4px 8px", fontSize: t.typography.pxToRem(11), maxWidth: 300, margin: 2, wordWrap: "break-word", fontWeight: t.typography.fontWeightMedium, [`.${_o.popper}[data-popper-placement*="left"] &`]: { transformOrigin: "right center" }, [`.${_o.popper}[data-popper-placement*="right"] &`]: { transformOrigin: "left center" }, [`.${_o.popper}[data-popper-placement*="top"] &`]: { transformOrigin: "center bottom", marginBottom: "14px" }, [`.${_o.popper}[data-popper-placement*="bottom"] &`]: { transformOrigin: "center top", marginTop: "14px" }, variants: [{ props: ({ ownerState: n }) => n.arrow, style: { position: "relative", margin: 0 } }, { props: ({ ownerState: n }) => n.touch, style: { padding: "8px 16px", fontSize: t.typography.pxToRem(14), lineHeight: (e = 16 / 14, Math.round(1e5 * e) / 1e5 + "em"), fontWeight: t.typography.fontWeightRegular } }, { props: ({ ownerState: n }) => !n.isRtl, style: { [`.${_o.popper}[data-popper-placement*="left"] &`]: { marginRight: "14px" }, [`.${_o.popper}[data-popper-placement*="right"] &`]: { marginLeft: "14px" } } }, { props: ({ ownerState: n }) => !n.isRtl && n.touch, style: { [`.${_o.popper}[data-popper-placement*="left"] &`]: { marginRight: "24px" }, [`.${_o.popper}[data-popper-placement*="right"] &`]: { marginLeft: "24px" } } }, { props: ({ ownerState: n }) => !!n.isRtl, style: { [`.${_o.popper}[data-popper-placement*="left"] &`]: { marginLeft: "14px" }, [`.${_o.popper}[data-popper-placement*="right"] &`]: { marginRight: "14px" } } }, { props: ({ ownerState: n }) => !!n.isRtl && n.touch, style: { [`.${_o.popper}[data-popper-placement*="left"] &`]: { marginLeft: "24px" }, [`.${_o.popper}[data-popper-placement*="right"] &`]: { marginRight: "24px" } } }, { props: ({ ownerState: n }) => n.touch, style: { [`.${_o.popper}[data-popper-placement*="top"] &`]: { marginBottom: "24px" } } }, { props: ({ ownerState: n }) => n.touch, style: { [`.${_o.popper}[data-popper-placement*="bottom"] &`]: { marginTop: "24px" } } }] };
|
|
4562
4562
|
var e;
|
|
4563
4563
|
})), aW = Ut("span", { name: "MuiTooltip", slot: "Arrow", overridesResolver: (t, e) => e.arrow })(Wn(({ theme: t }) => ({ overflow: "hidden", position: "absolute", width: "1em", height: "0.71em", boxSizing: "border-box", color: t.vars ? t.vars.palette.Tooltip.bg : Mt(t.palette.grey[700], 0.9), "&::before": { content: '""', margin: "auto", display: "block", width: "100%", height: "100%", backgroundColor: "currentColor", transform: "rotate(45deg)" } })));
|
|
4564
4564
|
let Bm = !1;
|
|
@@ -5102,11 +5102,11 @@ for (let t = 0; t < zv.length; t++) {
|
|
|
5102
5102
|
QI.set(r.getLabel(), r), ry.set(r.getCode(), r);
|
|
5103
5103
|
}
|
|
5104
5104
|
const qW = ry.get(Ft.Code.Unknown);
|
|
5105
|
-
var
|
|
5106
|
-
(
|
|
5105
|
+
var lo;
|
|
5106
|
+
(lo = Ft || (Ft = {})).BuiltIn = { Parse: new lo.Parse(), Null: new lo.Null(), Div0: new lo.Div0(), Value: new lo.Value(), Ref: new lo.Ref(), Name: new lo.Name(), Num: new lo.Num(), NA: new lo.NA(), GettingData: new lo.GettingData(), Spill: new lo.Spill(), Connect: new lo.Connect(), Blocked: new lo.Blocked(), Unknown: new lo.Unknown(), Field: new lo.Field(), Calc: new lo.Calc(), Busy: new lo.Busy(), Python: new lo.Python(), Timeout: new lo.Timeout() }, lo.getBuiltInByLabel = (t) => QI.get(t), lo.newTypedError = (t, e, n) => {
|
|
5107
5107
|
let r;
|
|
5108
|
-
return r = typeof t == "string" ? eA.get(t) : tA.get(t), r || (r =
|
|
5109
|
-
},
|
|
5108
|
+
return r = typeof t == "string" ? eA.get(t) : tA.get(t), r || (r = lo.Unknown), new r(e, n);
|
|
5109
|
+
}, lo.getBuiltInById = (t) => ry.get(t) || qW;
|
|
5110
5110
|
const Jr = { Up: "up", Down: "down", Left: "left", Right: "right" }, jm = "c", Ai = "text/html", Hl = "text/plain", rg = "image/png", KW = Object.freeze({ left: 0, top: 0 }), XW = Object.freeze({ left: 0, top: 0, bottom: 0, right: 0 }), YW = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }), Zp = Object.freeze(Object.defineProperty({ __proto__: null, EmptyBounds: YW, EmptyRect: XW, EmptyTopLeft: KW }, Symbol.toStringTag, { value: "Module" })), gn = { Column: "column", Row: "row" }, Md = { ...gn, Both: "both" }, ZW = Object.freeze({ colIndex: 0, rowIndex: 0 }), JW = Object.freeze({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }), nA = (t, e) => t.colStart === e.colStart ? t.rowStart - e.rowStart : t.colStart - e.colStart, rA = (t, e) => t.rowStart === e.rowStart ? t.colStart - e.colStart : t.rowStart - e.rowStart, QW = (t, e) => t.rowEnd === e.rowEnd ? e.colEnd - t.colEnd : e.rowEnd - t.rowEnd, eU = (t, e) => t.colEnd === e.colEnd ? e.rowEnd - t.rowEnd : e.colEnd - t.colEnd, Bv = (t, e) => t.colIndex === e.colIndex ? t.rowIndex - e.rowIndex : t.colIndex - e.colIndex, $v = (t, e) => t.rowIndex === e.rowIndex ? t.colIndex - e.colIndex : t.rowIndex - e.rowIndex, oA = (t = gn.Row, e = !1) => e ? t !== gn.Column ? QW : eU : t !== gn.Column ? rA : nA, Hv = (t, e) => t === e || !(!t || !e) && t.rowIndex === e.rowIndex && t.colIndex === e.colIndex, _7 = (t, e) => t === e || !(!t || !e) && t.rowStart === e.rowStart && t.rowEnd === e.rowEnd && t.colStart === e.colStart && t.colEnd === e.colEnd, C7 = (t, e) => !(!t || !e || t.colStart > e.colEnd || e.colStart > t.colEnd || t.rowStart > e.rowEnd || e.rowStart > t.rowEnd), Vv = (t, e) => {
|
|
5111
5111
|
if (t === e) return !0;
|
|
5112
5112
|
if (!t || !e || t.length !== e.length) return !1;
|
|
@@ -5620,8 +5620,8 @@ function O3(t, e) {
|
|
|
5620
5620
|
return o.splice(l, 1), "{" + s + "}";
|
|
5621
5621
|
}(t);
|
|
5622
5622
|
}
|
|
5623
|
-
var
|
|
5624
|
-
(eS =
|
|
5623
|
+
var ao, eS;
|
|
5624
|
+
(eS = ao || (ao = {})).resolveTypedUpdates = (t, e, n, r) => {
|
|
5625
5625
|
if (t === null) return t;
|
|
5626
5626
|
if (t === void 0) return r;
|
|
5627
5627
|
let o = t;
|
|
@@ -6397,7 +6397,7 @@ class mU extends fA {
|
|
|
6397
6397
|
}
|
|
6398
6398
|
const Ph = () => {
|
|
6399
6399
|
try {
|
|
6400
|
-
return "0.3.
|
|
6400
|
+
return "0.3.3";
|
|
6401
6401
|
} catch {
|
|
6402
6402
|
return "";
|
|
6403
6403
|
}
|
|
@@ -6408,7 +6408,7 @@ const Ph = () => {
|
|
|
6408
6408
|
return "";
|
|
6409
6409
|
}
|
|
6410
6410
|
}, fU = `
|
|
6411
|
-
https://www.sheetxl.com ${Ph()}`, P3 = "#1976d2", dS = async () => "0", p2 = () => typeof window == "object" ? window.location.hostname : we.getOS(), uS = () => p2().endsWith("localhost") || p2() === "127.0.0.1", hS = (t) => ({ licensee: () => "Evaluation License", expiration: () => null, domains: () => [p2()], developerCount: () => 1, cpuCount: () => 0, type: () => "eval", isEval: () => !0, exceptions: () => [], isValidFor: () => !0, isValid: () => !1, features: () => Object.freeze({}), keyFrom: () => t, getBuildVersion: Ph, getBuildDate: ag }),
|
|
6411
|
+
https://www.sheetxl.com ${Ph()}`, P3 = "#1976d2", dS = async () => "0", p2 = () => typeof window == "object" ? window.location.hostname : we.getOS(), uS = () => p2().endsWith("localhost") || p2() === "127.0.0.1", hS = (t) => ({ licensee: () => "Evaluation License", expiration: () => null, domains: () => [p2()], developerCount: () => 1, cpuCount: () => 0, type: () => "eval", isEval: () => !0, exceptions: () => [], isValidFor: () => !0, isValid: () => !1, features: () => Object.freeze({}), keyFrom: () => t, getBuildVersion: Ph, getBuildDate: ag }), ro = { promise: null, details: null, bannerPrinted: !1, detailsPrinted: !1, licenseKey: null, keyFrom: null };
|
|
6412
6412
|
let z3 = !1, pS = !1;
|
|
6413
6413
|
const mS = "cil.lxteehs".split("").reduce((t, e) => e + t, ""), Du = new class {
|
|
6414
6414
|
constructor() {
|
|
@@ -6416,11 +6416,11 @@ const mS = "cil.lxteehs".split("").reduce((t, e) => e + t, ""), Du = new class {
|
|
|
6416
6416
|
}
|
|
6417
6417
|
async setLicenseKey(t, e = !1) {
|
|
6418
6418
|
if (!t || t.startsWith("visit ") || t.startsWith("email ") || t.startsWith("trial") || t.startsWith("eval")) return z3 = !0, await this._validate(!0);
|
|
6419
|
-
if (z3 = !1, !e &&
|
|
6419
|
+
if (z3 = !1, !e && ro.licenseKey) {
|
|
6420
6420
|
const r = await this._validate();
|
|
6421
6421
|
if (r.isValid() && !r.isEval()) return r;
|
|
6422
6422
|
}
|
|
6423
|
-
|
|
6423
|
+
ro.licenseKey = t, ro.keyFrom = "setLicenseKey", ro.details = null, ro.promise = null;
|
|
6424
6424
|
const n = await this._validate();
|
|
6425
6425
|
if (!n.isValid()) throw await this._print(!0), new Error("Invalid license key.");
|
|
6426
6426
|
if (we.isNode() && (await (async () => {
|
|
@@ -6429,9 +6429,9 @@ const mS = "cil.lxteehs".split("").reduce((t, e) => e + t, ""), Du = new class {
|
|
|
6429
6429
|
return n;
|
|
6430
6430
|
}
|
|
6431
6431
|
async _validate(t = !1) {
|
|
6432
|
-
if (
|
|
6432
|
+
if (ro.promise || (this.__proto__.valueFv || (this.__proto__.valueFv = new Error("FV")), ro.promise)) return ro.promise;
|
|
6433
6433
|
let e = null;
|
|
6434
|
-
|
|
6434
|
+
ro.promise = new Promise((a) => {
|
|
6435
6435
|
e = a;
|
|
6436
6436
|
});
|
|
6437
6437
|
let n, r = null;
|
|
@@ -6476,7 +6476,7 @@ const mS = "cil.lxteehs".split("").reduce((t, e) => e + t, ""), Du = new class {
|
|
|
6476
6476
|
}
|
|
6477
6477
|
var l;
|
|
6478
6478
|
};
|
|
6479
|
-
|
|
6479
|
+
ro.licenseKey && (r = await o(ro.keyFrom, ro.licenseKey));
|
|
6480
6480
|
let i = !1;
|
|
6481
6481
|
if (z3 && (i = !0, r = hS("Eval License Key")), !r) if (we.isNode()) {
|
|
6482
6482
|
if (!r) {
|
|
@@ -6510,16 +6510,16 @@ const mS = "cil.lxteehs".split("").reduce((t, e) => e + t, ""), Du = new class {
|
|
|
6510
6510
|
}
|
|
6511
6511
|
!r && uS() && (i = !0);
|
|
6512
6512
|
}
|
|
6513
|
-
if (!r && i && (r = hS("No License Key")), !r && n && (r = n), r || (r = { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () => null, isEval: () => !1, exceptions: () => ["No license provided"], isValidFor: (a) => !1, isValid: () => !1, features: () => Object.freeze({}), keyFrom: () => "No key", getBuildVersion: Ph, getBuildDate: ag }),
|
|
6513
|
+
if (!r && i && (r = hS("No License Key")), !r && n && (r = n), r || (r = { licensee: () => null, expiration: () => null, domains: () => [], developerCount: () => 0, cpuCount: () => 0, type: () => null, isEval: () => !1, exceptions: () => ["No license provided"], isValidFor: (a) => !1, isValid: () => !1, features: () => Object.freeze({}), keyFrom: () => "No key", getBuildVersion: Ph, getBuildDate: ag }), ro.details = r, e(r), t && (!ro.bannerPrinted || !ro.detailsPrinted) && (i || r.exceptions().length > 0 || r.features()?.pb)) {
|
|
6514
6514
|
if (pS) return void setTimeout(() => {
|
|
6515
6515
|
this._print(!1, !1);
|
|
6516
6516
|
}, 8e3);
|
|
6517
6517
|
await this._print(!1, !1);
|
|
6518
6518
|
}
|
|
6519
|
-
return
|
|
6519
|
+
return ro.details;
|
|
6520
6520
|
}
|
|
6521
6521
|
async _printBanner(t) {
|
|
6522
|
-
return
|
|
6522
|
+
return ro.bannerPrinted = !0, await this.getDetails(), await (async (e) => {
|
|
6523
6523
|
const n = e ? console.log : we.consoleWithNoSource, r = `%c
|
|
6524
6524
|
███████╗██╗ ██╗███████╗███████╗████████╗ ██╗ ██╗██╗
|
|
6525
6525
|
██╔════╝██║ ██║██╔════╝██╔════╝╚══██╔══╝ ╚██╗██╔╝██║
|
|
@@ -6532,7 +6532,7 @@ const mS = "cil.lxteehs".split("").reduce((t, e) => e + t, ""), Du = new class {
|
|
|
6532
6532
|
})(t), Promise.resolve();
|
|
6533
6533
|
}
|
|
6534
6534
|
async _printDetails(t = !1, e = !1, n = !1) {
|
|
6535
|
-
|
|
6535
|
+
ro.detailsPrinted = !0;
|
|
6536
6536
|
const r = await this.getDetails();
|
|
6537
6537
|
await (async (o, i = !1, a = !1, s = !1) => {
|
|
6538
6538
|
let l;
|
|
@@ -6553,7 +6553,8 @@ KeyFrom: '${o.keyFrom()}'`), await c(`${l}`, ...d), Promise.resolve();
|
|
|
6553
6553
|
})(r, t, e, n);
|
|
6554
6554
|
}
|
|
6555
6555
|
async _print(t, e) {
|
|
6556
|
-
|
|
6556
|
+
if (!t && (ro.bannerPrinted || ro.detailsPrinted)) return;
|
|
6557
|
+
ro.bannerPrinted = !0, ro.detailsPrinted = !0, await this._printBanner(t);
|
|
6557
6558
|
const n = we.isNode(), r = t || n ? console.log : we.consoleWithNoSource;
|
|
6558
6559
|
n && r(""), await this._printDetails(t, e), r("");
|
|
6559
6560
|
}
|
|
@@ -6564,7 +6565,7 @@ KeyFrom: '${o.keyFrom()}'`), await c(`${l}`, ...d), Promise.resolve();
|
|
|
6564
6565
|
return this._print(!0, t);
|
|
6565
6566
|
}
|
|
6566
6567
|
wasPrinted() {
|
|
6567
|
-
return
|
|
6568
|
+
return ro.bannerPrinted && ro.detailsPrinted;
|
|
6568
6569
|
}
|
|
6569
6570
|
suppressPrint(t) {
|
|
6570
6571
|
pS = !0;
|
|
@@ -8578,11 +8579,11 @@ function OS(t, e) {
|
|
|
8578
8579
|
}
|
|
8579
8580
|
return h0[e] = t, e;
|
|
8580
8581
|
}
|
|
8581
|
-
const
|
|
8582
|
+
const $o = { format: FA, dateNumLocal: oy, load: OS, split_fmt: AA, _table: h0, load_table: function(t) {
|
|
8582
8583
|
for (var e = 0; e !== 392; ++e) t[e] !== void 0 && OS(t[e], e);
|
|
8583
8584
|
}, parse_date_code: Q1, is_date: NA, get_table: function() {
|
|
8584
|
-
return
|
|
8585
|
-
} },
|
|
8585
|
+
return $o._table = h0;
|
|
8586
|
+
} }, Ho = "\\s*([-]?[0-9e]*[.]?[0-9]+)", XU = new RegExp(`^rgb\\(${Ho},${Ho},${Ho}\\)$`), YU = new RegExp(`^rgba\\(${Ho},${Ho},${Ho},${Ho}\\)$`), ZU = new RegExp(`^lrgb\\(${Ho},${Ho},${Ho}\\)$`), JU = new RegExp(`^lrgba\\(${Ho},${Ho},${Ho},${Ho}\\)$`), QU = new RegExp(`^hsl\\(${Ho},${Ho},${Ho}\\)$`), eG = new RegExp(`^hsla\\(${Ho},${Ho},${Ho},${Ho}\\)$`), tG = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), nG = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), rG = new RegExp("^index(\\d+)$", "i"), G3 = (t, e, n) => [parseFloat(t), parseFloat(e), parseFloat(n)], q3 = (t, e = 255) => {
|
|
8586
8587
|
const n = [...t];
|
|
8587
8588
|
for (var r = 0; r < t.length; r++) n[r] = t[r] / e;
|
|
8588
8589
|
return n;
|
|
@@ -8761,7 +8762,7 @@ for (let t = 0; t < LS.length; t++) n0.set(t, hg(LS[t]));
|
|
|
8761
8762
|
n0.set(-4105, null), n0.set(-4142, null), n0.set(64, hg("000000")), n0.set(65, hg("FFFFFF")), n0.set(81, hg("FFFFFF"));
|
|
8762
8763
|
const y2 = (t) => n0.get(t), vn = { General: "General", Number: "Number", Currency: "Currency", Accounting: "Accounting", ShortDate: "Short Date", LongDate: "Long Date", MediumDate: "Medium Date", ShortTime: "Short Time", MediumTime: "Medium Time", LongTime: "Long Time", Comma: "Comma", Percentage: "Percentage", Fraction: "Fraction", Scientific: "Scientific", Text: "Text", Special: "Special", Custom: "Custom" };
|
|
8763
8764
|
let J3 = null;
|
|
8764
|
-
const LA = () => J3 || (J3 = Intl.DateTimeFormat().resolvedOptions().locale ?? "en-US", J3), pG = /^\[\$-(.*?)\]/i, mG = /^[0-9a-fA-F]+$/, fG =
|
|
8765
|
+
const LA = () => J3 || (J3 = Intl.DateTimeFormat().resolvedOptions().locale ?? "en-US", J3), pG = /^\[\$-(.*?)\]/i, mG = /^[0-9a-fA-F]+$/, fG = $o.split_fmt, iy = (t, e, n) => {
|
|
8765
8766
|
const r = pG.exec(t);
|
|
8766
8767
|
let o = LA();
|
|
8767
8768
|
if (r && r[1]) {
|
|
@@ -8772,7 +8773,7 @@ const LA = () => J3 || (J3 = Intl.DateTimeFormat().resolvedOptions().locale ?? "
|
|
|
8772
8773
|
const i = eh(t, e, { locale: o, ...n });
|
|
8773
8774
|
if (i !== null) return i.fmt;
|
|
8774
8775
|
}
|
|
8775
|
-
return
|
|
8776
|
+
return $o.format(t, e, n);
|
|
8776
8777
|
}, eh = (t, e, n) => {
|
|
8777
8778
|
if (typeof e != "number") return null;
|
|
8778
8779
|
const r = Pu(e, n?.date1904 ?? !1), o = n?.locale ?? LA();
|
|
@@ -8782,7 +8783,7 @@ const LA = () => J3 || (J3 = Intl.DateTimeFormat().resolvedOptions().locale ?? "
|
|
|
8782
8783
|
a = a.substring(0, s) + l + a.substring(s + 10), i = !0;
|
|
8783
8784
|
}
|
|
8784
8785
|
if ((s = a.indexOf("Medium Date")) !== -1) {
|
|
8785
|
-
const l =
|
|
8786
|
+
const l = $o.format($o.get_table()[15], e, n);
|
|
8786
8787
|
a = a.substring(0, s) + l + a.substring(s + 11), i = !0;
|
|
8787
8788
|
}
|
|
8788
8789
|
if ((s = a.indexOf("Long Date")) !== -1) {
|
|
@@ -8790,11 +8791,11 @@ const LA = () => J3 || (J3 = Intl.DateTimeFormat().resolvedOptions().locale ?? "
|
|
|
8790
8791
|
a = a.substring(0, s) + l + a.substring(s + 9), i = !0;
|
|
8791
8792
|
}
|
|
8792
8793
|
if ((s = a.indexOf("Short Time")) !== -1) {
|
|
8793
|
-
const l =
|
|
8794
|
+
const l = $o.format($o.get_table()[20], e, n);
|
|
8794
8795
|
a = a.substring(0, s) + l + a.substring(s + 10), i = !0;
|
|
8795
8796
|
}
|
|
8796
8797
|
if ((s = a.indexOf("Medium Time")) !== -1) {
|
|
8797
|
-
const l =
|
|
8798
|
+
const l = $o.format($o.get_table()[18], e, n);
|
|
8798
8799
|
a = a.substring(0, s) + l + a.substring(s + 11), i = !0;
|
|
8799
8800
|
}
|
|
8800
8801
|
if ((s = a.indexOf("Long Time")) !== -1) {
|
|
@@ -8802,7 +8803,7 @@ const LA = () => J3 || (J3 = Intl.DateTimeFormat().resolvedOptions().locale ?? "
|
|
|
8802
8803
|
a = a.substring(0, s) + l + a.substring(s + 9), i = !0;
|
|
8803
8804
|
}
|
|
8804
8805
|
return i ? { fmt: a, date: r } : null;
|
|
8805
|
-
}, PS = Object.freeze({ "General Number": "General", "General Date": "m/d/yyyy h:mm", "Medium Date":
|
|
8806
|
+
}, PS = Object.freeze({ "General Number": "General", "General Date": "m/d/yyyy h:mm", "Medium Date": $o.get_table()[15], "Medium Time": $o.get_table()[18], "Short Time": $o.get_table()[20], Currency: '"$"#,##0.00_);[Red]\\("$"#,##0.00\\)', Fixed: $o.get_table()[2], Standard: $o.get_table()[4], Percent: $o.get_table()[10], Scientific: $o.get_table()[11], "Yes/No": '"Yes";"Yes";"No";@', "True/False": '"True";"True";"False";@', "On/Off": '"Yes";"Yes";"No";@' }), gG = Object.freeze({ black: 0, white: 1, red: 2, green: 3, blue: 4, yellow: 5, magenta: 6, cyan: 7 }), yG = (t) => {
|
|
8806
8807
|
let e = null;
|
|
8807
8808
|
if ((t = t.toLowerCase()).startsWith("color")) {
|
|
8808
8809
|
const n = parseInt(t.substring(5));
|
|
@@ -8856,9 +8857,9 @@ const wG = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, bG =
|
|
|
8856
8857
|
}
|
|
8857
8858
|
return console.warn("invalid unit" + n), null;
|
|
8858
8859
|
}, Pu = (t, e = !1) => {
|
|
8859
|
-
let n =
|
|
8860
|
+
let n = $o.parse_date_code(t, { date1904: e });
|
|
8860
8861
|
return n ? new Date(n.y, n.m - 1, n.d, n.H, n.M, n.S, Math.round(1e3 * n.u)) : null;
|
|
8861
|
-
}, Qp = (t, e = !1) => isNaN(t) ? null :
|
|
8862
|
+
}, Qp = (t, e = !1) => isNaN(t) ? null : $o.dateNumLocal(t, e), CG = new class extends SA {
|
|
8862
8863
|
parse(t, e, n) {
|
|
8863
8864
|
const r = (o) => o - 1;
|
|
8864
8865
|
switch (e) {
|
|
@@ -8957,13 +8958,13 @@ const wG = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, bG =
|
|
|
8957
8958
|
for (let c = 0; c < ll.length; c++) {
|
|
8958
8959
|
let d = i;
|
|
8959
8960
|
ll[c].containsDot ? d = a : ll[c].containsDash && (d = s);
|
|
8960
|
-
let u = jU(d, ll[c].parseFormat, r, IG), h =
|
|
8961
|
+
let u = jU(d, ll[c].parseFormat, r, IG), h = $o.dateNumLocal(u, e);
|
|
8961
8962
|
if (Lu(u) && (ll[c].windowYear || h > 0)) {
|
|
8962
8963
|
if (ll[c].windowYear) {
|
|
8963
8964
|
let p = u.getFullYear() <= 29 ? 2e3 + u.getFullYear() : 1900 + u.getFullYear();
|
|
8964
8965
|
u.setFullYear(p);
|
|
8965
8966
|
}
|
|
8966
|
-
if (ll[c].todaysYear && u.setFullYear(o), h =
|
|
8967
|
+
if (ll[c].todaysYear && u.setFullYear(o), h = $o.dateNumLocal(u, e), ll[c].parseFormat.indexOf("EEE") > -1) {
|
|
8967
8968
|
const p = iy("ddd", h, { date1904: e });
|
|
8968
8969
|
if (!d.toLowerCase().includes(p.toLowerCase())) return null;
|
|
8969
8970
|
}
|
|
@@ -10231,7 +10232,7 @@ for (let t = 0; t < o4.length; t++) P7.set(he.AdjustmentType[o4[t]].toLowerCase(
|
|
|
10231
10232
|
const mx = new RegExp("\\s+\\s*(?![^()]*\\))|,\\s*(?![^()]*\\))"), fx = new RegExp("\\s*[,]\\s*|\\s+");
|
|
10232
10233
|
let i4 = null;
|
|
10233
10234
|
const gx = { [he.Scheme.Bg1]: "window", [he.Scheme.Bg2]: "E7E6E6", [he.Scheme.Tx1]: "windowText", [he.Scheme.Tx2]: "44546A", [he.Scheme.Accent1]: "4472C4", [he.Scheme.Accent2]: "ED7D31", [he.Scheme.Accent3]: "A5A5A5", [he.Scheme.Accent4]: "FFC000", [he.Scheme.Accent5]: "5B9BD5", [he.Scheme.Accent6]: "70AD47", [he.Scheme.Hlink]: "0563C1", [he.Scheme.FolHlink]: "954F72" };
|
|
10234
|
-
let
|
|
10235
|
+
let po = class tc {
|
|
10235
10236
|
constructor(e, n, r, o = null) {
|
|
10236
10237
|
let i = null, a = null;
|
|
10237
10238
|
if (e instanceof tc) i = e.getVal(), e.getAdjustments() && (a = [...e.getAdjustments()]);
|
|
@@ -10434,7 +10435,7 @@ const bx = (t) => !(!t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/) && !t.match(/^# ([#0
|
|
|
10434
10435
|
let i = fG(t);
|
|
10435
10436
|
for (let a = 0; a < i.length; a++) o.push(r(i[a].trim(), e));
|
|
10436
10437
|
return o.join(";");
|
|
10437
|
-
} }), XG =
|
|
10438
|
+
} }), XG = $o._table, dy = (t) => t === 14 ? "Short Date" : XG[t] ?? null, s1 = [{ numberFormat: "General", formatType: vn.General, primary: 1 }, { numberFormat: "0", formatType: vn.Number, regMatch: /^0[.]{0,1}[0]*$/, args: { decimalPlaces: 0, separator: !1 } }, { numberFormat: "#,##0.00", formatType: vn.Number, regMatch: /^#,##0[.]{0,1}[0]*$/, primary: 2, args: { decimalPlaces: 2, separator: !0 } }, { numberFormat: "#,##0_);(#,##0)", formatType: vn.Number, args: { decimalPlaces: 0, separator: !0 } }, { numberFormat: "#,##0_);[Red](#,##0)", formatType: vn.Number, args: { decimalPlaces: 0, separator: !0 } }, { numberFormat: "#,##0.00_);(#,##0.00)", formatType: vn.Number, args: { decimalPlaces: 2, separator: !0 } }, { numberFormat: "#,##0.00_);[Red](#,##0.00)", formatType: vn.Number, args: { decimalPlaces: 2, separator: !0 } }, { numberFormat: "$#,##0.00", formatType: vn.Currency, primary: 3, args: { decimalPlaces: 2, currencySymbol: "$" } }, { numberFormat: "$#,##0_);($#,##0)", formatType: vn.Currency, args: { decimalPlaces: 0, currencySymbol: "$" } }, { numberFormat: "$#,##0_);[Red]($#,##0)", formatType: vn.Currency, args: { decimalPlaces: 0, currencySymbol: "$" } }, { numberFormat: "$#,##0.00_);($#,##0.00)", formatType: vn.Currency, args: { decimalPlaces: 2, currencySymbol: "$" } }, { numberFormat: "$#,##0.00_);[Red]($#,##0.00)", formatType: vn.Currency, args: { decimalPlaces: 2, currencySymbol: "$" } }, { numberFormat: '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)', primary: 4, formatType: vn.Accounting }, { numberFormat: '_($* #,##0_);_($* (#,##0);_($* "-"_);_(@_)', formatType: vn.Accounting }, { numberFormat: '_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)', formatType: vn.Accounting }, { numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)', formatType: vn.Accounting }, { numberFormat: "Short Date", formatType: vn.ShortDate, primary: 5 }, { numberFormat: "d-mmm-yy", formatType: vn.MediumDate, primary: 5.5 }, { numberFormat: "Long Date", formatType: vn.LongDate, primary: 6 }, { numberFormat: "h:mm", formatType: vn.ShortTime, primary: 7 }, { numberFormat: "h:mm AM/PM", formatType: vn.MediumTime, primary: 7.5 }, { numberFormat: "Long Time", formatType: vn.LongTime, primary: 8 }, { numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)', formatType: vn.Comma, primary: 9 }, { numberFormat: "0.00%", formatType: vn.Percentage, primary: 10, args: { decimalPlaces: 2 }, regMatch: /^^[0#?]*[.]{0,1}[0#?]*%*$/ }, { numberFormat: "0%", formatType: vn.Percentage, args: { decimalPlaces: 0 } }, { numberFormat: "# ?/?", formatType: vn.Fraction, primary: 11 }, { numberFormat: "# ??/??", formatType: vn.Fraction }, { numberFormat: "0.00E+00", formatType: vn.Scientific, primary: 12, args: { decimalPlaces: 2 }, regMatch: /^[0#?]*[.]{0,1}[0#?]*E\+[0#?]*$/ }, { numberFormat: "##0.0E+0", formatType: vn.Custom, args: { decimalPlaces: 0 } }, { numberFormat: "@", formatType: vn.Text, primary: 13 }, { numberFormat: "d-mmm", formatType: vn.Custom }, { numberFormat: "mmm-yy", formatType: vn.Custom }, { numberFormat: "h:mm:ss", formatType: vn.Custom }, { numberFormat: "m/d/yyyy h:mm", formatType: vn.Custom }, { numberFormat: "mm:ss", formatType: vn.Custom }, { numberFormat: "mm:ss.0", formatType: vn.Custom }, { numberFormat: "[h]:mm:ss", formatType: vn.Custom }], a4 = [{ numberFormat: "00000", formatType: vn.Special, primary: 11 }, { numberFormat: "00000-0000", formatType: vn.Special }, { numberFormat: "[<=9999999]###-####;(###) ###-####", formatType: vn.Special }, { numberFormat: "000-00-0000", formatType: vn.Special }], tm = /* @__PURE__ */ new Map(), th = [];
|
|
10438
10439
|
for (let t = 0; t < s1.length; t++) {
|
|
10439
10440
|
let e = s1[t].numberFormat.toLowerCase();
|
|
10440
10441
|
tm.set(e, s1[t]), s1[t].regMatch && th.unshift(s1[t]);
|
|
@@ -10473,7 +10474,7 @@ const YG = (t, e, n, r, o) => {
|
|
|
10473
10474
|
i.adjs || (i.adjs = []);
|
|
10474
10475
|
let a = "", s = 0, l = 0;
|
|
10475
10476
|
e > 0 ? (l = e, s = 100 - e, a = `Lighter ${e}%`) : e < 0 && (s = 100 + e, a = `Darker ${-e}%`), s && i.adjs.push({ [he.AdjustmentType.LumMod]: s }), l && i.adjs.push({ [he.AdjustmentType.LumOff]: l });
|
|
10476
|
-
const c = new
|
|
10477
|
+
const c = new po({ val: i.val, adjs: i.adjs }, n), d = c.toString();
|
|
10477
10478
|
r?.set(d, c);
|
|
10478
10479
|
const u = c.toRGBA().toString();
|
|
10479
10480
|
return o?.set(u, c), { description: t.description + ", " + a, definition: i };
|
|
@@ -10487,7 +10488,7 @@ var B7, r0;
|
|
|
10487
10488
|
const s = (c) => {
|
|
10488
10489
|
for (let d = 0; d < c.length; d++) a.push(YG(t[i], c[d], e, n, r));
|
|
10489
10490
|
};
|
|
10490
|
-
let l = new
|
|
10491
|
+
let l = new po({ val: t[i].definition.val, adjs: t[i].definition.adjs }, e).toHSLA().lum;
|
|
10491
10492
|
s(l === 0 ? [50, 35, 25, 15, 5] : l === 100 ? [-5, -15, -25, -35, -50] : l <= 20 ? [90, 75, 50, 25, 10] : l >= 80 ? [-10, -25, -50, -75, -90] : [80, 60, 40, -25, -50]);
|
|
10492
10493
|
}
|
|
10493
10494
|
return o;
|
|
@@ -10500,7 +10501,7 @@ const ZG = [["Office", "windowText", "window", "0E2841", "E8E8E8", "156082", "E9
|
|
|
10500
10501
|
for (let a = 0; a < gu.length; a++) {
|
|
10501
10502
|
const s = gu[a], l = r[a + 1];
|
|
10502
10503
|
if (!l) continue;
|
|
10503
|
-
const c =
|
|
10504
|
+
const c = po.parse(l);
|
|
10504
10505
|
l && (i[s] = c.toString());
|
|
10505
10506
|
}
|
|
10506
10507
|
}
|
|
@@ -10518,7 +10519,7 @@ const nq = new class {
|
|
|
10518
10519
|
constructor() {
|
|
10519
10520
|
this._colors = {};
|
|
10520
10521
|
for (let t = 0; t < gu.length; t++) {
|
|
10521
|
-
const e = gu[t], n =
|
|
10522
|
+
const e = gu[t], n = po.parse(dp[e]);
|
|
10522
10523
|
this._colors[e] = n;
|
|
10523
10524
|
}
|
|
10524
10525
|
}
|
|
@@ -10574,7 +10575,7 @@ class rq {
|
|
|
10574
10575
|
const n = Object.keys(e);
|
|
10575
10576
|
if (n.length !== 0) for (let r = 0; r < n.length; r++) {
|
|
10576
10577
|
const o = n[r];
|
|
10577
|
-
this._overrides[o] = o === "name" ? e[o] :
|
|
10578
|
+
this._overrides[o] = o === "name" ? e[o] : po.parse(e[o]);
|
|
10578
10579
|
}
|
|
10579
10580
|
}
|
|
10580
10581
|
_value(e, n) {
|
|
@@ -10628,7 +10629,7 @@ const oq = new class {
|
|
|
10628
10629
|
constructor() {
|
|
10629
10630
|
this._colors = {};
|
|
10630
10631
|
for (let t = 0; t < gu.length; t++) {
|
|
10631
|
-
const e = gu[t], n =
|
|
10632
|
+
const e = gu[t], n = po.parse(dp[e]);
|
|
10632
10633
|
this._colors[e] = n;
|
|
10633
10634
|
}
|
|
10634
10635
|
}
|
|
@@ -10705,7 +10706,7 @@ let H7 = class {
|
|
|
10705
10706
|
if (!c) throw new Error(`Invalid color scheme key: ${s}`);
|
|
10706
10707
|
const d = a.getColorScheme();
|
|
10707
10708
|
let u = d[c].bind(d)();
|
|
10708
|
-
return u || (u = dp[xx[s] ?? s]), l = new
|
|
10709
|
+
return u || (u = dp[xx[s] ?? s]), l = new po(u).toRGBA(), a._cacheColors[s] = l, l;
|
|
10709
10710
|
};
|
|
10710
10711
|
}
|
|
10711
10712
|
get builtInID() {
|
|
@@ -10727,7 +10728,7 @@ let H7 = class {
|
|
|
10727
10728
|
return this._schemeLookup;
|
|
10728
10729
|
}
|
|
10729
10730
|
parseColor(t) {
|
|
10730
|
-
return
|
|
10731
|
+
return po.parse(t, this._schemeLookup);
|
|
10731
10732
|
}
|
|
10732
10733
|
toJSON() {
|
|
10733
10734
|
const t = { name: this.getName() }, e = this._colors.toJSON();
|
|
@@ -10790,7 +10791,7 @@ class uy {
|
|
|
10790
10791
|
return this._customMap.delete(n), r ?? null;
|
|
10791
10792
|
}
|
|
10792
10793
|
}
|
|
10793
|
-
var a0,
|
|
10794
|
+
var a0, zo;
|
|
10794
10795
|
(a0 || (a0 = {})).ElementType = { WholeTable: "wholeTable", FirstColumnStripe: "firstColumnStripe", SecondColumnStripe: "secondColumnStripe", FirstRowStripe: "firstRowStripe", SecondRowStripe: "secondRowStripe", LastColumn: "lastColumn", FirstColumn: "firstColumn", HeaderRow: "headerRow", TotalRow: "totalRow", FirstHeaderCell: "firstHeaderCell", LastHeaderCell: "lastHeaderCell", FirstTotalCell: "firstTotalCell", LastTotalCell: "lastTotalCell" }, (a0 || (a0 = {})).Empty = class {
|
|
10795
10796
|
constructor(t) {
|
|
10796
10797
|
this._normalStyle = t;
|
|
@@ -10821,7 +10822,7 @@ var a0, Po;
|
|
|
10821
10822
|
get isITableStyle() {
|
|
10822
10823
|
return !0;
|
|
10823
10824
|
}
|
|
10824
|
-
}, (
|
|
10825
|
+
}, (zo || (zo = {})).Type = { Absolute: "absolute", OneCell: "oneCell", TwoCell: "twoCell" };
|
|
10825
10826
|
const qa = "Model has been closed. No further operations are allowed.", _x = "Name is required";
|
|
10826
10827
|
let xi = class {
|
|
10827
10828
|
constructor(t, e) {
|
|
@@ -12810,8 +12811,8 @@ let C0 = class U7 {
|
|
|
12810
12811
|
f = e.reverse ?? !1, d = /* @__PURE__ */ ((_) => typeof _ != "boolean" ? _ : _ === !0 ? { done: !1, value: [{ colIndex: -1, rowIndex: -1 }, null] } : void 0)(e.reuseResult), l = n ? e.processColumnSkip : e.processRowSkip, l && (f ? h = l(h, f) : u = l(u, f)), c = n ? e.processRowSkip : e.processColumnSkip, c && (f ? p = c(h, f) : m = c(m, f));
|
|
12811
12812
|
}
|
|
12812
12813
|
if (!a) return Ko;
|
|
12813
|
-
o || u !== h || (o = !0),
|
|
12814
|
-
let g = this._major.entries(
|
|
12814
|
+
o || u !== h || (o = !0), co.bounds.min = u, co.bounds.max = h, co.reverse = f, co.processSkip = l, co.reuseResult = sh;
|
|
12815
|
+
let g = this._major.entries(co), y = Fx();
|
|
12815
12816
|
const w = (S) => {
|
|
12816
12817
|
if (!S.nextActive) return;
|
|
12817
12818
|
const _ = (k) => {
|
|
@@ -12943,8 +12944,8 @@ let C0 = class U7 {
|
|
|
12943
12944
|
const S = e[g], _ = S[0], E = S[1], R = new Bh(f);
|
|
12944
12945
|
m(R, E, _);
|
|
12945
12946
|
}, w = this._major;
|
|
12946
|
-
|
|
12947
|
-
const b = w.entries(
|
|
12947
|
+
co.bounds.min = n, co.bounds.max = r, co.reverse = !1, co.processSkip = null, co.reuseResult = sh;
|
|
12948
|
+
const b = w.entries(co);
|
|
12948
12949
|
let x = b.next();
|
|
12949
12950
|
for (; !x.done; ) {
|
|
12950
12951
|
const S = x.value, _ = S[0];
|
|
@@ -12990,15 +12991,15 @@ let C0 = class U7 {
|
|
|
12990
12991
|
let f = !1, g = 0;
|
|
12991
12992
|
const y = this._major;
|
|
12992
12993
|
if (c <= m && d >= p) {
|
|
12993
|
-
|
|
12994
|
-
const R = y.entries(
|
|
12994
|
+
co.bounds.min = s, co.bounds.max = l;
|
|
12995
|
+
const R = y.entries(co);
|
|
12995
12996
|
let k = R.next();
|
|
12996
12997
|
for (; !k.done; ) g -= k.value[1].getCount(), k = R.next();
|
|
12997
12998
|
return y.delete(s, l - s + 1), this._count += g, this._dataCoords = null, g !== 0;
|
|
12998
12999
|
}
|
|
12999
13000
|
const w = [], b = this._isShared, x = [];
|
|
13000
|
-
|
|
13001
|
-
const S = y.entries(
|
|
13001
|
+
co.bounds.min = s, co.bounds.max = l, za.reverse = !1, za.processSkip = null, za.reuseResult = sh;
|
|
13002
|
+
const S = y.entries(co);
|
|
13002
13003
|
let _ = S.next();
|
|
13003
13004
|
for (; !_.done; ) {
|
|
13004
13005
|
const R = _.value, k = R[0];
|
|
@@ -13037,10 +13038,10 @@ let C0 = class U7 {
|
|
|
13037
13038
|
if (!i && (b *= -1, Ce.isRangeWithinRange(h, e))) return this.clear(), !0;
|
|
13038
13039
|
let x = 0;
|
|
13039
13040
|
const S = this._major, _ = [];
|
|
13040
|
-
if (
|
|
13041
|
+
if (co.bounds.min = l, co.bounds.max = w ? Number.MAX_SAFE_INTEGER : c, za.reverse = !i, za.processSkip = null, za.reuseResult = sh, w && y) {
|
|
13041
13042
|
if (!i) {
|
|
13042
|
-
|
|
13043
|
-
const I = S.entries(
|
|
13043
|
+
co.bounds.max = c;
|
|
13044
|
+
const I = S.entries(co);
|
|
13044
13045
|
let B = I.next();
|
|
13045
13046
|
for (; !B.done; ) x -= B.value[1].getCount(), B = I.next();
|
|
13046
13047
|
}
|
|
@@ -13052,7 +13053,7 @@ let C0 = class U7 {
|
|
|
13052
13053
|
i || (k = Number.MAX_SAFE_INTEGER, M = Number.MIN_SAFE_INTEGER);
|
|
13053
13054
|
let C = Number.MAX_SAFE_INTEGER;
|
|
13054
13055
|
o && (C = a ? o.colEnd : o.rowEnd);
|
|
13055
|
-
const T = /* @__PURE__ */ new Set(), A = w ? /* @__PURE__ */ new Map() : null, O = [], N = S.entries(
|
|
13056
|
+
const T = /* @__PURE__ */ new Set(), A = w ? /* @__PURE__ */ new Map() : null, O = [], N = S.entries(co), L = { bounds: { min: d, max: u } };
|
|
13056
13057
|
let F = N.next();
|
|
13057
13058
|
for (; !F.done; ) {
|
|
13058
13059
|
const z = F.value, I = z[0], B = z[1].clone(), $ = B.getCoords(), H = $.min, j = $.max;
|
|
@@ -13168,7 +13169,7 @@ let C0 = class U7 {
|
|
|
13168
13169
|
C0 || (C0 = {});
|
|
13169
13170
|
const Oq = 12;
|
|
13170
13171
|
Object.seal({ done: !1, value: null });
|
|
13171
|
-
const Ul = [-1, -1, null], yO = Object.seal({ done: !1, value: [-1, null] }), sh = Object.seal({ done: !1, value: [-1, null] }), za = { bounds: { min: -1, max: -1 }, reverse: !1, processSkip: null, reuseResult: yO },
|
|
13172
|
+
const Ul = [-1, -1, null], yO = Object.seal({ done: !1, value: [-1, null] }), sh = Object.seal({ done: !1, value: [-1, null] }), za = { bounds: { min: -1, max: -1 }, reverse: !1, processSkip: null, reuseResult: yO }, co = { bounds: { min: -1, max: -1 }, reverse: !1, processSkip: null, reuseResult: sh }, Fx = () => ({ majorIndex: -1, minorIndex: -1, value: null, active: !1, nextMinorIndex: -1, nextActive: !1, nextMinorValue: null, minorIterator: null, nextMajorCursor: null, prevMajorCursor: null });
|
|
13172
13173
|
let Nq = class G7 {
|
|
13173
13174
|
constructor(e) {
|
|
13174
13175
|
if (this._l = 0, this._at = null, this._dt = Dx.Undefined, this._a32 = null, this._a64 = null, this._cv = null, this._vt = null, this._vi32 = null, this._vi64 = null, this._vf32 = null, this._vf64 = null, !e) throw new Error("options is required");
|
|
@@ -15049,8 +15050,8 @@ const kg = (t) => {
|
|
|
15049
15050
|
n && i !== "]" && i !== '"' ? e += i : i === '"' ? (e += "\\0022", n = !n) : ["[", "]", ",", "#", ".", "@", "/", ":", ";", "-", " "].includes(i) ? (e += "\\" + i, i === "[" ? n = !0 : i === "]" && (n = !1)) : ["(", ")"].includes(i) ? e += r === "_" ? "\\" + i : "\\\\\\" + i : ["$"].includes(i) ? e += "\\0022" + i + "\\0022" : e += i, r = i;
|
|
15050
15051
|
}
|
|
15051
15052
|
return '"' + e + '"';
|
|
15052
|
-
}, m_ = "Normal",
|
|
15053
|
-
|
|
15053
|
+
}, m_ = "Normal", uo = /* @__PURE__ */ new Map();
|
|
15054
|
+
uo.set(we.textToKey("Thin"), 100), uo.set(we.textToKey("Hairline"), 100), uo.set(we.textToKey("Extra Light"), 200), uo.set(we.textToKey("Ultra Light"), 200), uo.set(we.textToKey("Light"), 300), uo.set(we.textToKey(m_), 400), uo.set(we.textToKey("Regular"), 400), uo.set(we.textToKey("Medium"), 500), uo.set(we.textToKey("Semi Bold"), 600), uo.set(we.textToKey("Demi Bold"), 600), uo.set(we.textToKey(m_), 400), uo.set(we.textToKey("Bold"), 700), uo.set(we.textToKey("Extra Bold"), 800), uo.set(we.textToKey("Ultra Bold"), 800), uo.set(we.textToKey("Black"), 900), uo.set(we.textToKey("Heavy"), 900), uo.set(we.textToKey("Extra Black"), 950), uo.set(we.textToKey("Ultra Black"), 950), uo.set(we.textToKey("lighter"), 100), uo.set(we.textToKey("normal"), 400), uo.set(we.textToKey("bold"), 700), uo.set(we.textToKey("bolder"), 700);
|
|
15054
15055
|
const rK = new RegExp("^[0-9]*[.]?[0-9]+$", "g"), Ba = /* @__PURE__ */ new Map();
|
|
15055
15056
|
Ba.set(we.textToKey("xx-small"), (t) => 0.4 * t), Ba.set(we.textToKey("x-small"), (t) => 0.5 * t), Ba.set(we.textToKey("small"), (t) => 0.6 * t), Ba.set(we.textToKey("medium"), (t) => t), Ba.set(we.textToKey("large"), (t) => 1.1 * t), Ba.set(we.textToKey("x-large"), (t) => 1.25 * t), Ba.set(we.textToKey("xx-large"), (t) => 1.5 * t), Ba.set(we.textToKey("xxx-large"), (t) => 2 * t), Ba.set(we.textToKey("smaller"), (t) => 0.9 * t), Ba.set(we.textToKey("larger"), (t) => 1.1 * t), Ba.set(we.textToKey("math"), (t) => t);
|
|
15056
15057
|
const Xd = (t, e = 11, n = "pt") => {
|
|
@@ -15072,11 +15073,11 @@ const Xd = (t, e = 11, n = "pt") => {
|
|
|
15072
15073
|
if (s) return s(e);
|
|
15073
15074
|
}
|
|
15074
15075
|
return isNaN(r) ? null : r;
|
|
15075
|
-
},
|
|
15076
|
-
|
|
15076
|
+
}, Fo = /* @__PURE__ */ new Map();
|
|
15077
|
+
Fo.set(Ot.BuiltInSheetPattern.None, { description: "None", cssKey: "none" }), Fo.set(Ot.BuiltInSheetPattern.Solid, { description: "Solid", cssKey: "solid" }), Fo.set(Ot.BuiltInSheetPattern.DarkGray, { description: "75% gray", cssKey: "gray-75" }), Fo.set(Ot.BuiltInSheetPattern.MediumGray, { description: "50% gray", cssKey: "gray-50" }), Fo.set(Ot.BuiltInSheetPattern.LightGray, { description: "25% gray", cssKey: "gray-25" }), Fo.set(Ot.BuiltInSheetPattern.Gray125, { description: "12.5% Gray", cssKey: "gray-125" }), Fo.set(Ot.BuiltInSheetPattern.Gray0625, { description: "6.25% Gray", cssKey: "gray-0625" }), Fo.set(Ot.BuiltInSheetPattern.DarkHorizontal, { description: "Horizontal Strip", cssKey: "horz-stripe" }), Fo.set(Ot.BuiltInSheetPattern.DarkVertical, { description: "Vertical Strip", cssKey: "vert-stripe" }), Fo.set(Ot.BuiltInSheetPattern.DarkDown, { description: "Reverse Diagonal Stripe", cssKey: "reverse-diag-stripe" }), Fo.set(Ot.BuiltInSheetPattern.DarkUp, { description: "Diagonal Strip", cssKey: "diag-stripe" }), Fo.set(Ot.BuiltInSheetPattern.DarkGrid, { description: "Diagonal Crosshatch", cssKey: "diag-cross" }), Fo.set(Ot.BuiltInSheetPattern.DarkTrellis, { description: "Thick Diagonal Crosshatch", cssKey: "thick-diag-cross" }), Fo.set(Ot.BuiltInSheetPattern.LightHorizontal, { description: "Thin Horizontal Stripe", cssKey: "thin-horz-stripe" }), Fo.set(Ot.BuiltInSheetPattern.LightVertical, { description: "Thin Vertical Stripe", cssKey: "thin-vert-stripe" }), Fo.set(Ot.BuiltInSheetPattern.LightDown, { description: "Thin Reverse Diagonal Stripe", cssKey: "thin-reverse-diag-stripe" }), Fo.set(Ot.BuiltInSheetPattern.LightUp, { description: "Thin Diagonal Stripe", cssKey: "thin-diag-stripe" }), Fo.set(Ot.BuiltInSheetPattern.LightGrid, { description: "Thin Horizontal Cross", cssKey: "thin-horz-cross" }), Fo.set(Ot.BuiltInSheetPattern.LightTrellis, { description: "Thin Diagonal Cross", cssKey: "thin-diag-cross" });
|
|
15077
15078
|
let Tg = "";
|
|
15078
15079
|
const $O = /* @__PURE__ */ new Map();
|
|
15079
|
-
|
|
15080
|
+
Fo.forEach((t, e) => {
|
|
15080
15081
|
Tg.length > 0 && (Tg += "|"), Tg += "\\b" + t.cssKey + "\\b", $O.set(t.cssKey, e);
|
|
15081
15082
|
});
|
|
15082
15083
|
const oK = new RegExp(`(\\s*(?:${Tg}))`, "g"), HO = (t, e = !1, n = null) => {
|
|
@@ -15145,7 +15146,7 @@ oc.set(we.textToKey("start"), We.HorizontalAlignment.Left), oc.set(we.textToKey(
|
|
|
15145
15146
|
const fl = /* @__PURE__ */ new Map();
|
|
15146
15147
|
fl.set(we.textToKey("baseline"), We.VerticalAlignment.Bottom), fl.set(we.textToKey("top"), We.VerticalAlignment.Top), fl.set(we.textToKey("middle"), We.VerticalAlignment.Center), fl.set(we.textToKey("bottom"), We.VerticalAlignment.Bottom), fl.set(we.textToKey("sub"), We.VerticalAlignment.Bottom), fl.set(we.textToKey("text-top"), We.VerticalAlignment.Top), fl.set(we.textToKey("justify"), We.VerticalAlignment.Justify), fl.set(we.textToKey("distributed"), We.VerticalAlignment.Distributed);
|
|
15147
15148
|
const jO = (t, e) => {
|
|
15148
|
-
if (t instanceof
|
|
15149
|
+
if (t instanceof po) return { color: t };
|
|
15149
15150
|
if (typeof t == "string") try {
|
|
15150
15151
|
return { color: t === "none" || t === "transparent" ? null : e(t) };
|
|
15151
15152
|
} catch (n) {
|
|
@@ -15175,7 +15176,7 @@ const jO = (t, e) => {
|
|
|
15175
15176
|
e?.toJSON && (e = e.toJSON());
|
|
15176
15177
|
const r = Ot.BuiltInSheetPattern.MediumGray;
|
|
15177
15178
|
return e?.type === Ot.Type.Pattern ? { ...e, ...t } : e?.type === Ot.Type.Solid ? { patternType: r, ...t, foreground: e?.color ?? he.Named.WindowText, background: he.Scheme.Bg1 } : e?.type === Ot.Type.Gradient ? { patternType: r, ...t, foreground: e?.stops?.[0]?.color ?? he.Named.WindowText, background: e?.stops?.[1]?.color ?? he.Scheme.Bg1 } : t ? { type: Ot.Type.Pattern, patternType: Ot.BuiltInSheetPattern.Solid, foreground: he.Named.WindowText, background: he.Scheme.Bg1, ...t } : null;
|
|
15178
|
-
}, properties: { foreground: pp, background: pp } },
|
|
15179
|
+
}, properties: { foreground: pp, background: pp } }, Eo = { properties: { font: { shorthand: (t, e) => {
|
|
15179
15180
|
if (typeof t == "string") {
|
|
15180
15181
|
const n = kg(t);
|
|
15181
15182
|
if (n) {
|
|
@@ -15199,7 +15200,7 @@ const jO = (t, e) => {
|
|
|
15199
15200
|
let o = 400;
|
|
15200
15201
|
if (o = typeof r == "number" ? r : parseFloat(r), !isNaN(o)) return o;
|
|
15201
15202
|
if (typeof r == "string") {
|
|
15202
|
-
const i = we.textToKey(r), a =
|
|
15203
|
+
const i = we.textToKey(r), a = uo.get(i);
|
|
15203
15204
|
if (a) return a;
|
|
15204
15205
|
}
|
|
15205
15206
|
return o;
|
|
@@ -15230,7 +15231,7 @@ const jO = (t, e) => {
|
|
|
15230
15231
|
return n !== void 0 ? n : t;
|
|
15231
15232
|
}
|
|
15232
15233
|
return typeof t == "number" ? dy(t) : null;
|
|
15233
|
-
} } } }, sK = { properties: { style:
|
|
15234
|
+
} } } }, sK = { properties: { style: Eo } }, lK = Object.freeze({ displayText: "", conditionalColor: null, repeatChars: we.EmptyArray, spacingChars: we.EmptyArray, repeatPlaceholder: null, formattedRuns: Object.freeze({ runs: we.EmptyArray, length: 0, width: 0, lastRepeatIndex: -1 }), canWrap: !1, asDate: null, isDateFormat: !1, isTimeFormat: !1, isDate1904: !1 }), WO = (t, e, n, r, o, i = !1) => {
|
|
15234
15235
|
if (t == null) return lK;
|
|
15235
15236
|
let a = "", s = null, l = null, c = null;
|
|
15236
15237
|
if (n === Tt.Error) a = t.getLabel();
|
|
@@ -15309,12 +15310,12 @@ const jO = (t, e) => {
|
|
|
15309
15310
|
}
|
|
15310
15311
|
})(r, t), _ = { displayText: a ?? "", conditionalColor: S ? o(S) : null, repeatChars: l ?? we.EmptyArray, spacingChars: c ?? we.EmptyArray, repeatPlaceholder: s, formattedRuns: m, canWrap: w, asDate: h, isDateFormat: d, isTimeFormat: u, isDate1904: i };
|
|
15311
15312
|
return Object.freeze(_);
|
|
15312
|
-
},
|
|
15313
|
-
const t = [{ named: Et.BuiltInName.Normal }, { named: Et.BuiltInName.RowLevel }, { named: Et.BuiltInName.ColLevel }, { named: Et.BuiltInName.Comma, numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)' }, { named: Et.BuiltInName.Currency, numberFormat: '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)' }, { named: Et.BuiltInName.Percent, numberFormat: "0%" }, { named: Et.BuiltInName.Comma0, numberFormat: '_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)' }, { named: Et.BuiltInName.Currency0, numberFormat: '_($* #,##0_);_($* (#,##0);_($* "-"_);_(@_)' }, { named: Et.BuiltInName.Hyperlink, font: { ...
|
|
15313
|
+
}, No = Object.freeze({ fallbacks: we.EmptyArray, weight: 400, style: xt.Style.Normal, fill: he.Scheme.Tx1, letterSpacing: null, underline: xt.UnderlineStyle.None, strike: !1, scheme: xt.Scheme.Minor, verticalAlign: xt.VerticalAlignment.Baseline, shadow: !1, outline: !1, extend: !1 }), ql = Object.freeze({ style: Ue.StrokeStyle.None, color: he.Scheme.Tx1 }), cK = Object.freeze({ [Ue.Edge.Top]: ql, [Ue.Edge.Left]: ql, [Ue.Edge.Bottom]: ql, [Ue.Edge.Right]: ql, [Ue.Edge.Horizontal]: ql, [Ue.Edge.Vertical]: ql, [Ue.Edge.DiagonalUp]: ql, [Ue.Edge.DiagonalDown]: ql }), dK = Object.freeze({ horizontal: We.HorizontalAlignment.General, vertical: We.VerticalAlignment.Bottom, indent: 0, relativeIndent: 0, overflow: We.Overflow.Visible, rotation: 0, stacked: !1, quotePrefix: !1, justifyLastLine: !1, readingOrder: We.ReadingDirection.Auto, readingDirection: We.ReadingDirection.Auto }), uK = Object.freeze({ locked: !1, formulaHidden: !1 }), UO = Object.freeze({ fill: { type: Ot.Type.None }, numberFormat: "General", alignment: dK, font: No, border: cK, protection: uK, quotePrefix: !1, namedStyle: null }), hK = (() => {
|
|
15314
|
+
const t = [{ named: Et.BuiltInName.Normal }, { named: Et.BuiltInName.RowLevel }, { named: Et.BuiltInName.ColLevel }, { named: Et.BuiltInName.Comma, numberFormat: '_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)' }, { named: Et.BuiltInName.Currency, numberFormat: '_($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)' }, { named: Et.BuiltInName.Percent, numberFormat: "0%" }, { named: Et.BuiltInName.Comma0, numberFormat: '_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)' }, { named: Et.BuiltInName.Currency0, numberFormat: '_($* #,##0_);_($* (#,##0);_($* "-"_);_(@_)' }, { named: Et.BuiltInName.Hyperlink, font: { ...No, fill: he.Scheme.Hlink, underline: xt.UnderlineStyle.Single } }, { named: Et.BuiltInName.FollowedHyperlink, font: { ...No, fill: he.Scheme.FolHlink, underline: xt.UnderlineStyle.Single } }, { named: Et.BuiltInName.Note, fill: "FFFFFFCC", font: { ...No, style: xt.Style.Normal, fill: he.Scheme.Tx1 }, border: { left: { style: Ue.StrokeStyle.Thin, color: "FFB2B2B2" }, top: { style: Ue.StrokeStyle.Thin, color: "FFB2B2B2" }, right: { style: Ue.StrokeStyle.Thin, color: "FFB2B2B2" }, bottom: { style: Ue.StrokeStyle.Thin, color: "FFB2B2B2" } } }, { named: Et.BuiltInName.WarningText, font: { ...No, fill: "FFFF0000" } }, { named: Et.BuiltInName.Unknown12 }, { named: Et.BuiltInName.Unknown13 }, { named: Et.BuiltInName.Unknown14 }, { named: Et.BuiltInName.Title, font: { ...No, size: 18, fill: he.Scheme.Tx2 } }, { named: Et.BuiltInName.Heading1, font: { ...No, size: 15, weight: "bold", fill: he.Scheme.Tx2 }, border: { bottom: { style: Ue.StrokeStyle.Thick, color: he.Scheme.Accent1 } } }, { named: Et.BuiltInName.Heading2, font: { ...No, size: 13, weight: "bold", fill: he.Scheme.Tx2 }, border: { bottom: { style: Ue.StrokeStyle.Thick, color: "accent1 lumMod 40, lumOff 60" } } }, { named: Et.BuiltInName.Heading3, font: { ...No, weight: "bold", fill: he.Scheme.Tx2 }, border: { bottom: { style: Ue.StrokeStyle.Medium, color: "accent1 lumMod 40, lumOff 60" } } }, { named: Et.BuiltInName.Heading4, font: { weight: "bold", fill: he.Scheme.Tx2, ...No } }, { named: Et.BuiltInName.Input, fill: "FFFFCC99", font: { ...No, fill: "FF3F3F76" }, border: { left: { style: Ue.StrokeStyle.Thin, color: "FF7F7F7F" }, top: { style: Ue.StrokeStyle.Thin, color: "FF7F7F7F" }, right: { style: Ue.StrokeStyle.Thin, color: "FF7F7F7F" }, bottom: { style: Ue.StrokeStyle.Thin, color: "FF7F7F7F" } } }, { named: Et.BuiltInName.Output, fill: "FFF2F2F2", font: { ...No, fill: "FF3F3F3F" }, border: { left: { style: Ue.StrokeStyle.Thin, color: "FF3F3F3F" }, top: { style: Ue.StrokeStyle.Thin, color: "FF3F3F3F" }, right: { style: Ue.StrokeStyle.Thin, color: "FF3F3F3F" }, bottom: { style: Ue.StrokeStyle.Thin, color: "FF3F3F3F" } } }, { named: Et.BuiltInName.Calculation, fill: "FFF2F2F2", font: { ...No, fill: "FFFA7D00" }, border: { left: { style: Ue.StrokeStyle.Thin, color: "FF7F7F7F" }, top: { style: Ue.StrokeStyle.Thin, color: "FF7F7F7F" }, right: { style: Ue.StrokeStyle.Thin, color: "FF7F7F7F" }, bottom: { style: Ue.StrokeStyle.Thin, color: "FF7F7F7F" } } }, { named: Et.BuiltInName.CheckCell, fill: "FFA5A5A5", font: { ...No, fill: he.Scheme.Bg1 }, border: { left: { style: Ue.StrokeStyle.Double, color: "FF3F3F3F" }, top: { style: Ue.StrokeStyle.Double, color: "FF3F3F3F" }, right: { style: Ue.StrokeStyle.Double, color: "FF3F3F3F" }, bottom: { style: Ue.StrokeStyle.Double, color: "FF3F3F3F" } } }, { named: Et.BuiltInName.LinkedCell, font: { ...No, fill: "FFFA7D00" }, border: { bottom: { style: Ue.StrokeStyle.Double, color: "FFFF8001" } } }, { named: Et.BuiltInName.Total, font: { ...No, weight: "bold", fill: he.Scheme.Tx1 }, border: { top: { style: Ue.StrokeStyle.Thin, color: he.Scheme.Accent1 }, bottom: { style: Ue.StrokeStyle.Double, color: he.Scheme.Accent1 } } }, { named: Et.BuiltInName.Good, fill: "FFC6EFCE", font: { ...No, fill: "FF006100" } }, { named: Et.BuiltInName.Bad, fill: "FFFFC7CE", font: { ...No, fill: "FF9C0006" } }, { named: Et.BuiltInName.Neutral, fill: "FFFFEB9C", font: { ...No, fill: "FF9C5700" } }, { named: Et.BuiltInName.Accent1 }, { named: Et.BuiltInName.Accent1_20 }, { named: Et.BuiltInName.Accent1_40 }, { named: Et.BuiltInName.Accent1_60 }, { named: Et.BuiltInName.Accent2 }, { named: Et.BuiltInName.Accent2_20 }, { named: Et.BuiltInName.Accent2_40 }, { named: Et.BuiltInName.Accent2_60 }, { named: Et.BuiltInName.Accent3 }, { named: Et.BuiltInName.Accent3_20 }, { named: Et.BuiltInName.Accent3_40 }, { named: Et.BuiltInName.Accent3_60 }, { named: Et.BuiltInName.Accent4 }, { named: Et.BuiltInName.Accent4_20 }, { named: Et.BuiltInName.Accent4_40 }, { named: Et.BuiltInName.Accent4_60 }, { named: Et.BuiltInName.Accent5 }, { named: Et.BuiltInName.Accent5_20 }, { named: Et.BuiltInName.Accent5_40 }, { named: Et.BuiltInName.Accent5_60 }, { named: Et.BuiltInName.Accent6 }, { named: Et.BuiltInName.Accent6_20 }, { named: Et.BuiltInName.Accent6_40 }, { named: Et.BuiltInName.Accent6_60 }, { named: Et.BuiltInName.ExplanatoryText, font: { ...No, style: xt.Style.Italic, fill: "FF7F7F7F" } }];
|
|
15314
15315
|
for (let e = 29; e <= 52; e++) {
|
|
15315
15316
|
const n = (e - 29) % 4, r = Math.floor((e - 29) / 4);
|
|
15316
15317
|
let o = "";
|
|
15317
|
-
n === 1 ? o = " lumMod 20, lumOff 80" : n === 2 ? o = " lumMod 40, lumOff 60" : n === 3 && (o = " lumMod 60, lumOff 40"), t[e].fill = `accent${r + 1}${o}`, t[e].font = { fill: n === 0 ? he.Scheme.Bg1 : he.Scheme.Tx1, ...
|
|
15318
|
+
n === 1 ? o = " lumMod 20, lumOff 80" : n === 2 ? o = " lumMod 40, lumOff 60" : n === 3 && (o = " lumMod 60, lumOff 40"), t[e].fill = `accent${r + 1}${o}`, t[e].font = { fill: n === 0 ? he.Scheme.Bg1 : he.Scheme.Tx1, ...No };
|
|
15318
15319
|
}
|
|
15319
15320
|
return we.deepFreeze(t);
|
|
15320
15321
|
})(), pK = new class {
|
|
@@ -15759,7 +15760,7 @@ let bs = class ic {
|
|
|
15759
15760
|
}
|
|
15760
15761
|
cloneWithUpdate(e) {
|
|
15761
15762
|
if (e === void 0) return this;
|
|
15762
|
-
const n = this._c, r = this._r, o = this._p, i =
|
|
15763
|
+
const n = this._c, r = this._r, o = this._p, i = ao.resolveTypedUpdates(e, Eo, n, o);
|
|
15763
15764
|
return new ic(n, r, i);
|
|
15764
15765
|
}
|
|
15765
15766
|
copyTo(e, n) {
|
|
@@ -15820,7 +15821,7 @@ let bs = class ic {
|
|
|
15820
15821
|
if (y > 1 && !Lc(E, c[_])) return;
|
|
15821
15822
|
const R = w === 1 ? d[S] : d[_];
|
|
15822
15823
|
if (w > 1 && !Lc(R, d[_]) || !Lc(E, R)) return;
|
|
15823
|
-
const k = { border: { [h]: c[h], [m]: c[m], [b]: c[b], [_]: E, [S]: c[S], [x]: d[x] } }, M =
|
|
15824
|
+
const k = { border: { [h]: c[h], [m]: c[m], [b]: c[b], [_]: E, [S]: c[S], [x]: d[x] } }, M = ao.resolveTypedUpdates(k, Eo, u, i);
|
|
15824
15825
|
return new ic(u, n, M);
|
|
15825
15826
|
}
|
|
15826
15827
|
return new ic(u, n, this._p);
|
|
@@ -15981,13 +15982,13 @@ class RK {
|
|
|
15981
15982
|
}
|
|
15982
15983
|
let s = null;
|
|
15983
15984
|
const l = this._table?.getPropertiesAt(e, n, r);
|
|
15984
|
-
l && (s = s ?
|
|
15985
|
+
l && (s = s ? ao.resolveTypedUpdates(l, Eo, a, s) : l), o && (s = s ? ao.resolveTypedUpdates(o, Eo, a, s) : o);
|
|
15985
15986
|
const c = this._conditionals;
|
|
15986
15987
|
if (c) for (let d = 0; d < c.length; d++) {
|
|
15987
15988
|
const u = c[d].getPropertiesAt(e, n, r);
|
|
15988
|
-
u && (s = s ?
|
|
15989
|
+
u && (s = s ? ao.resolveTypedUpdates(u, Eo, a, s) : u);
|
|
15989
15990
|
}
|
|
15990
|
-
return i && (s = s ?
|
|
15991
|
+
return i && (s = s ? ao.resolveTypedUpdates(i, Eo, a, s) : i), s;
|
|
15991
15992
|
}
|
|
15992
15993
|
cloneWithUpdate(e) {
|
|
15993
15994
|
return (this._rs.directStyle ?? this._styles.getNormalRanged()).cloneWithUpdate(e);
|
|
@@ -16697,7 +16698,7 @@ let H5 = class {
|
|
|
16697
16698
|
return this._getState()?.anchor ?? null;
|
|
16698
16699
|
}
|
|
16699
16700
|
getAnchorType() {
|
|
16700
|
-
return this._getState()?.anchorType ??
|
|
16701
|
+
return this._getState()?.anchorType ?? zo.Type.TwoCell;
|
|
16701
16702
|
}
|
|
16702
16703
|
isProtected() {
|
|
16703
16704
|
return this._options.isProtected?.() ?? !1;
|
|
@@ -17170,7 +17171,7 @@ class V5 extends H5 {
|
|
|
17170
17171
|
}, getCoords: () => r, getSource: () => a, getName: () => o, getMarkOptions: () => s, isISnapshot: !0 };
|
|
17171
17172
|
}
|
|
17172
17173
|
getAnchorType() {
|
|
17173
|
-
return
|
|
17174
|
+
return zo.Type.TwoCell;
|
|
17174
17175
|
}
|
|
17175
17176
|
getStyle() {
|
|
17176
17177
|
if (this._styleCache) return this._styleCache;
|
|
@@ -17587,7 +17588,7 @@ class BK {
|
|
|
17587
17588
|
for (let a = 0; a < i; a++) {
|
|
17588
17589
|
const s = o[a], l = e[s];
|
|
17589
17590
|
if (!l || !we.isObject(l)) continue;
|
|
17590
|
-
const c =
|
|
17591
|
+
const c = ao.resolveTypedUpdates(Object.freeze(l), Eo, r);
|
|
17591
17592
|
n[s] = c;
|
|
17592
17593
|
}
|
|
17593
17594
|
return Object.freeze(n);
|
|
@@ -17620,7 +17621,7 @@ class BK {
|
|
|
17620
17621
|
const C = { rowIndex: d, colIndex: R }, T = { rowStart: g, rowEnd: c - w - 1, colStart: 0, colEnd: Math.min(l - u, k ? _ : E) };
|
|
17621
17622
|
k && R === 0 && u > 0 && M.border?.left && i.secondColumnStripe?.border.right && (M = { ...M }, M.border = { ...M.border }, delete M.border.left), k && R === _ - 1 && u < l - 1 && M.border?.right && i.secondColumnStripe?.border.left && (M = { ...M }, M.border = { ...M.border }, delete M.border.right);
|
|
17622
17623
|
const A = M.border ? ps(M, C, T) : M;
|
|
17623
|
-
p =
|
|
17624
|
+
p = ao.resolveTypedUpdates(A, Eo, o, p);
|
|
17624
17625
|
}
|
|
17625
17626
|
}
|
|
17626
17627
|
if (S && m.showRowStripes) {
|
|
@@ -17633,40 +17634,40 @@ class BK {
|
|
|
17633
17634
|
const T = { colIndex: u, rowIndex: k }, A = { colStart: 0, colEnd: l - 1, rowStart: 0, rowEnd: Math.min(c - d, M ? E : R) };
|
|
17634
17635
|
M && k === 0 && d > _ && C.border?.top && i.secondRowStripe?.border.bottom && (C = { ...C }, C.border = { ...C.border }, delete C.border.top), M && k === E - 1 && d < c - 1 && C.border?.bottom && i.secondRowStripe?.border.top && (C = { ...C }, C.border = { ...C.border }, delete C.border.bottom);
|
|
17635
17636
|
const O = C.border ? ps(C, T, A) : C;
|
|
17636
|
-
p =
|
|
17637
|
+
p = ao.resolveTypedUpdates(O, Eo, o, p);
|
|
17637
17638
|
}
|
|
17638
17639
|
}
|
|
17639
17640
|
if (b && i.lastColumn) {
|
|
17640
17641
|
let _ = i.lastColumn;
|
|
17641
|
-
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: c - 1, colStart: l - 1, colEnd: l - 1 })), p =
|
|
17642
|
+
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: c - 1, colStart: l - 1, colEnd: l - 1 })), p = ao.resolveTypedUpdates(_, Eo, o, p);
|
|
17642
17643
|
}
|
|
17643
17644
|
if (x && i.firstColumn) {
|
|
17644
17645
|
let _ = i.firstColumn;
|
|
17645
|
-
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: c - 1, colStart: 0, colEnd: 0 })), p =
|
|
17646
|
+
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: c - 1, colStart: 0, colEnd: 0 })), p = ao.resolveTypedUpdates(_, Eo, o, p);
|
|
17646
17647
|
}
|
|
17647
17648
|
if (f && i.headerRow) {
|
|
17648
17649
|
let _ = i.headerRow;
|
|
17649
|
-
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: g - 1, colStart: 0, colEnd: l - 1 })), p =
|
|
17650
|
+
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: g - 1, colStart: 0, colEnd: l - 1 })), p = ao.resolveTypedUpdates(_, Eo, o, p);
|
|
17650
17651
|
}
|
|
17651
17652
|
if (y && i.totalRow) {
|
|
17652
17653
|
let _ = i.totalRow;
|
|
17653
|
-
_.border && (_ = ps(_, h, { rowStart: c - w, rowEnd: c - 1, colStart: 0, colEnd: l - 1 })), p =
|
|
17654
|
+
_.border && (_ = ps(_, h, { rowStart: c - w, rowEnd: c - 1, colStart: 0, colEnd: l - 1 })), p = ao.resolveTypedUpdates(_, Eo, o, p);
|
|
17654
17655
|
}
|
|
17655
17656
|
if (f && x && i.firstHeaderCell) {
|
|
17656
17657
|
let _ = i.firstHeaderCell;
|
|
17657
|
-
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: g - 1, colStart: 0, colEnd: 0 })), p =
|
|
17658
|
+
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: g - 1, colStart: 0, colEnd: 0 })), p = ao.resolveTypedUpdates(_, Eo, o, p);
|
|
17658
17659
|
}
|
|
17659
17660
|
if (f && b && i.lastHeaderCell) {
|
|
17660
17661
|
let _ = i.lastHeaderCell;
|
|
17661
|
-
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: g - 1, colStart: l - 1, colEnd: l - 1 })), p =
|
|
17662
|
+
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: g - 1, colStart: l - 1, colEnd: l - 1 })), p = ao.resolveTypedUpdates(_, Eo, o, p);
|
|
17662
17663
|
}
|
|
17663
17664
|
if (y && x && i.firstTotalCell) {
|
|
17664
17665
|
let _ = i.firstTotalCell;
|
|
17665
|
-
_.border && (_ = ps(_, h, { rowStart: c - w, rowEnd: c - 1, colStart: 0, colEnd: 0 })), p =
|
|
17666
|
+
_.border && (_ = ps(_, h, { rowStart: c - w, rowEnd: c - 1, colStart: 0, colEnd: 0 })), p = ao.resolveTypedUpdates(_, Eo, o, p);
|
|
17666
17667
|
}
|
|
17667
17668
|
if (y && b && i.lastTotalCell) {
|
|
17668
17669
|
let _ = i.lastTotalCell;
|
|
17669
|
-
_.border && (_ = ps(_, h, { rowStart: c - w, rowEnd: c - 1, colStart: l - 1, colEnd: l - 1 })), p =
|
|
17670
|
+
_.border && (_ = ps(_, h, { rowStart: c - w, rowEnd: c - 1, colStart: l - 1, colEnd: l - 1 })), p = ao.resolveTypedUpdates(_, Eo, o, p);
|
|
17670
17671
|
}
|
|
17671
17672
|
return f && i.headerRow && r.getColumnFilter(u) && !r.getColumnFilter(u).hasHiddenButton() && (p.insets = { right: 15 }), p;
|
|
17672
17673
|
}
|
|
@@ -17682,7 +17683,7 @@ class N_ {
|
|
|
17682
17683
|
for (let a = 0; a < i; a++) {
|
|
17683
17684
|
const s = o[a], l = e[s];
|
|
17684
17685
|
if (!l || !we.isObject(l)) continue;
|
|
17685
|
-
const c =
|
|
17686
|
+
const c = ao.resolveTypedUpdates(Object.freeze(l), Eo, r);
|
|
17686
17687
|
n[s] = c;
|
|
17687
17688
|
}
|
|
17688
17689
|
return Object.freeze(n);
|
|
@@ -17730,7 +17731,7 @@ class $K extends bs {
|
|
|
17730
17731
|
}
|
|
17731
17732
|
cloneWithUpdate(e) {
|
|
17732
17733
|
if (e === void 0) return this;
|
|
17733
|
-
const n = this._c, r = this._r, o =
|
|
17734
|
+
const n = this._c, r = this._r, o = ao.resolveTypedUpdates(e, Eo, n, this._p);
|
|
17734
17735
|
return new bs(n, r, o);
|
|
17735
17736
|
}
|
|
17736
17737
|
_createShifted(e) {
|
|
@@ -17839,7 +17840,7 @@ let HK = class {
|
|
|
17839
17840
|
for (let n = 0; n < t.length; n++) {
|
|
17840
17841
|
const r = t[n], o = { ...r }, i = r.named;
|
|
17841
17842
|
delete o.named;
|
|
17842
|
-
const a =
|
|
17843
|
+
const a = ao.resolveTypedUpdates(o, Eo, this), s = new F_(this, { name: i, style: a }, this._hideOrRemoveNamed.bind(this), n);
|
|
17843
17844
|
i === Et.BuiltInName.Normal && (this._normalRanged = s.getRanged(), this._normalStyle = vu(this, null)), e.set(i.toLowerCase(), s);
|
|
17844
17845
|
}
|
|
17845
17846
|
}
|
|
@@ -17959,7 +17960,7 @@ let HK = class {
|
|
|
17959
17960
|
e && (a = (this._customCellStyles.get(r) ?? o)?._properties ?? null);
|
|
17960
17961
|
const s = $5(0, t.style, this.getNormal());
|
|
17961
17962
|
t = { ...t, style: s };
|
|
17962
|
-
const l =
|
|
17963
|
+
const l = ao.resolveTypedUpdates(t, sK, this, a), c = new F_(this, l, this._hideOrRemoveNamed.bind(this), i);
|
|
17963
17964
|
return l.name === Et.BuiltInName.Normal && (this._normalRanged = c.getRanged(), this._normalStyle = vu(this, null)), this._customCellStyles.set(r, c), c;
|
|
17964
17965
|
}
|
|
17965
17966
|
_setCustomTableStyleInternal(t, e) {
|
|
@@ -18010,7 +18011,7 @@ let HK = class {
|
|
|
18010
18011
|
}
|
|
18011
18012
|
normalize(t) {
|
|
18012
18013
|
if (!t) return null;
|
|
18013
|
-
const e =
|
|
18014
|
+
const e = ao.resolveTypedUpdates(t, Eo, this), n = UO;
|
|
18014
18015
|
let r = null;
|
|
18015
18016
|
if (r = e.named ? this.getNamed(e.named)?.getRanged().getPropertiesAt(0, 0, null) : this._normalRanged.getPropertiesAt(0, 0, null), r) {
|
|
18016
18017
|
const i = { ...r };
|
|
@@ -18026,7 +18027,7 @@ let HK = class {
|
|
|
18026
18027
|
return this._indexedLookup;
|
|
18027
18028
|
}
|
|
18028
18029
|
parseColor(t) {
|
|
18029
|
-
return
|
|
18030
|
+
return po.parse(t, this._schemeLookup, this._indexedLookup);
|
|
18030
18031
|
}
|
|
18031
18032
|
recentColors() {
|
|
18032
18033
|
return this._mruColors;
|
|
@@ -18048,7 +18049,7 @@ let HK = class {
|
|
|
18048
18049
|
}
|
|
18049
18050
|
getCustomIndexedColors() {
|
|
18050
18051
|
const t = Math.max(this._indexedColors?.length, 66), e = [];
|
|
18051
|
-
for (let n = 0; n < t; n++) this._indexedColors[n] !== null && e.push(this._indexedColors[n] ?? new
|
|
18052
|
+
for (let n = 0; n < t; n++) this._indexedColors[n] !== null && e.push(this._indexedColors[n] ?? new po(y2(n)?.toString()));
|
|
18052
18053
|
return e;
|
|
18053
18054
|
}
|
|
18054
18055
|
addListeners(t, e) {
|
|
@@ -19485,7 +19486,7 @@ class tX {
|
|
|
19485
19486
|
async _initialize() {
|
|
19486
19487
|
const e = await Du._validate(!0), n = rX();
|
|
19487
19488
|
this._calcScope = n, this._runtime = new nX(this._options, e);
|
|
19488
|
-
const { initializeBuiltIns: r } = await import("./
|
|
19489
|
+
const { initializeBuiltIns: r } = await import("./CSxbcCsSh3AdRzkk.js"), o = this;
|
|
19489
19490
|
return this._builtInFunctions = Object.freeze(r(() => o)), { builtInFunctions: this._builtInFunctions, calcScope: this._calcScope };
|
|
19490
19491
|
}
|
|
19491
19492
|
getBuiltInFunctions() {
|
|
@@ -19653,7 +19654,7 @@ class nX {
|
|
|
19653
19654
|
}
|
|
19654
19655
|
getVersion() {
|
|
19655
19656
|
try {
|
|
19656
|
-
const e = "0.3.
|
|
19657
|
+
const e = "0.3.3";
|
|
19657
19658
|
if (e.indexOf(".env.") === -1) return `${e}`;
|
|
19658
19659
|
} catch {
|
|
19659
19660
|
return "local";
|
|
@@ -20196,7 +20197,7 @@ class rN extends V0 {
|
|
|
20196
20197
|
this._context = o;
|
|
20197
20198
|
const i = await o._initialize(), a = i.builtInFunctions;
|
|
20198
20199
|
this._functions = new nN({ transactions: this._transactions, context: o, readonlyFunctions: a });
|
|
20199
|
-
const s = await import("./
|
|
20200
|
+
const s = await import("./Cqyz2pkIcU2pAivO.js");
|
|
20200
20201
|
this._formulaParser = new s.FormulaParser(), this._scope = i.calcScope, this._status = Uo.Status.Ready, this._emitter.notify("onStatusChange"), this._emitter.notify("onReady");
|
|
20201
20202
|
} catch (e) {
|
|
20202
20203
|
throw this._status = Uo.Status.Off, this._emitter.notify("onError", e), this._emitter.notify("onStatusChange"), e;
|
|
@@ -20626,7 +20627,7 @@ class gX {
|
|
|
20626
20627
|
throw console.warn(c), c;
|
|
20627
20628
|
}
|
|
20628
20629
|
})(r, await Promise.resolve(n ? ((a, s = " ") => new Promise((l, c) => {
|
|
20629
|
-
import("./
|
|
20630
|
+
import("./BJgFwyqDjKdTH0xW.js").then((d) => d.p).then((d) => {
|
|
20630
20631
|
try {
|
|
20631
20632
|
const u = d.parse(a, { delimiter: s }).data;
|
|
20632
20633
|
u.length > 1 && (u[u.length - 1].length === 0 || u[u.length - 1].length === 1 && u[u.length - 1][0].length === 0) && u.pop(), l(u);
|
|
@@ -20794,19 +20795,19 @@ let yX = class s8 extends H5 {
|
|
|
20794
20795
|
if (!e) return this;
|
|
20795
20796
|
let r = { ...this.getBounds(), ...e };
|
|
20796
20797
|
if (this._optionsMovable.getMaxBounds && (r = { x: Math.max(r.x, this._optionsMovable.getMaxBounds().x), y: Math.max(r.y, this._optionsMovable.getMaxBounds().y), width: Math.min(r.width, this._optionsMovable.getMaxBounds().width), height: Math.min(r.height, this._optionsMovable.getMaxBounds().height) }), r.width < 0 || r.height < 0) throw new Xr();
|
|
20797
|
-
const o = this._updateMovableLocation({ bounds: r, anchorType:
|
|
20798
|
+
const o = this._updateMovableLocation({ bounds: r, anchorType: zo.Type.Absolute }), i = this._beginCommit(n?.description ?? "Set Movable Bounds");
|
|
20798
20799
|
return this._updateState({ offsets: o.offsets, anchor: o.anchor }, { description: "Update Movable Bounds" }), this._options.setContainerCoords(o.anchor), this._invalidateBounds(), i.commit(), this;
|
|
20799
20800
|
}
|
|
20800
20801
|
_updateMovableLocation(e) {
|
|
20801
20802
|
let n = e.offsets ?? { tl: { x: 0, y: 0 }, br: { x: 0, y: 0 } }, r = e.anchor ?? this.getAnchorCoords(), o = e.anchorType ?? this.getAnchorType();
|
|
20802
20803
|
const i = e.bounds ?? this.getBounds();
|
|
20803
20804
|
if (i) {
|
|
20804
|
-
if (o ===
|
|
20805
|
+
if (o === zo.Type.Absolute) {
|
|
20805
20806
|
r = this._optionsMovable.getCoordsAtBounds(i);
|
|
20806
20807
|
const a = this._optionsMovable.getBoundsAtCoords(r);
|
|
20807
20808
|
n = { ...n, tl: { x: i.x - a.x, y: i.y - a.y } };
|
|
20808
20809
|
}
|
|
20809
|
-
if (o ===
|
|
20810
|
+
if (o === zo.Type.Absolute || o === zo.Type.OneCell) {
|
|
20810
20811
|
const a = this._optionsMovable.getBoundsAtCoords({ rowStart: r.rowStart, colStart: r.colStart, colEnd: r.colStart, rowEnd: r.rowStart }), s = this._optionsMovable.getCoordsAtBounds({ x: a.x, y: a.y, width: i.width + Math.min(a.width, n.tl.x), height: i.height + Math.min(a.height, n.tl.y) });
|
|
20811
20812
|
r = { ...r, colEnd: s.colEnd, rowEnd: s.rowEnd };
|
|
20812
20813
|
const l = this._optionsMovable.getBoundsAtCoords({ colStart: r.colEnd, rowStart: r.rowEnd, colEnd: r.colEnd, rowEnd: r.rowEnd }), c = i.width - (l.x - a.x - Math.min(n?.tl.x ?? 0, a.width)), d = i.height - (l.y - a.y - Math.min(n?.tl.y ?? 0, a.height));
|
|
@@ -20826,18 +20827,18 @@ let yX = class s8 extends H5 {
|
|
|
20826
20827
|
return this._getState()?.bounds;
|
|
20827
20828
|
}
|
|
20828
20829
|
setAnchorType(e) {
|
|
20829
|
-
return we.validEnumValue(
|
|
20830
|
+
return we.validEnumValue(zo.Type, e), this._updateState({ anchorType: e }, { description: "Set Movable Resize Behavior" }, ["onAnchorTypeChange"]), this;
|
|
20830
20831
|
}
|
|
20831
20832
|
_processContainerShift(e) {
|
|
20832
20833
|
const n = this.getAnchorType(), r = this._getState()?.offsets;
|
|
20833
20834
|
let o = r, i = !1;
|
|
20834
20835
|
const a = e.before, s = e.orientation === Z.Orientation.Column, l = e.intersect, c = e.amount;
|
|
20835
20836
|
let d = e.after;
|
|
20836
|
-
if (n !==
|
|
20837
|
+
if (n !== zo.Type.Absolute) {
|
|
20837
20838
|
let m = s ? l.colStart : l.rowStart, p = s ? a.colStart : a.rowStart;
|
|
20838
|
-
n ===
|
|
20839
|
+
n === zo.Type.TwoCell && (p = s ? a.colEnd : a.rowEnd), i = m <= p;
|
|
20839
20840
|
}
|
|
20840
|
-
if (i && (n !==
|
|
20841
|
+
if (i && (n !== zo.Type.OneCell || d) || (d = a), i && d && c < 0 && (s ? (l.colStart <= a.colStart && l.colEnd >= a.colStart && (o = { ...o, tl: { ...o.tl, x: 0 } }), o.br.x > 0 && l.colStart <= a.colEnd && l.colEnd >= a.colEnd && (o = { ...o, br: { ...o.br, x: 0 } }, d = { ...d, colEnd: d.colEnd + 1 })) : (l.rowStart <= a.rowStart && l.rowEnd >= a.rowStart && (o = { ...o, tl: { ...o.tl, y: 0 } }), o.br.y > 0 && l.rowStart <= a.rowEnd && l.rowEnd >= a.rowEnd && (o = { ...o, br: { ...o.br, y: 0 } }, d = { ...d, rowEnd: d.rowEnd + 1 }))), d !== null) {
|
|
20841
20842
|
const { offsets: m, anchor: p } = this._updateMovableLocation({ anchor: d, offsets: o });
|
|
20842
20843
|
o = m, d = p;
|
|
20843
20844
|
}
|
|
@@ -20888,7 +20889,7 @@ let yX = class s8 extends H5 {
|
|
|
20888
20889
|
const n = this._getState(), r = n.anchor, o = n.offsets, i = { tl: { c: r.colStart, r: r.rowStart }, br: { c: r.colEnd + (o.br.x ? 0 : 1), r: r.rowEnd + (o.br.y ? 0 : 1) } };
|
|
20889
20890
|
o && (o.tl?.x && (i.tl.x = we.roundAccurately(o.tl.x, 1)), o.tl?.y && (i.tl.y = we.roundAccurately(o.tl.y, 1)), o.br?.x && (i.br.x = we.roundAccurately(o.br.x, 1)), o.br?.y && (i.br.y = we.roundAccurately(o.br.y, 1)));
|
|
20890
20891
|
const a = this._content.toJSON(e) ?? {}, s = { anchor: i, content: { type: this._content.getType(), json: a } }, l = n.anchorType;
|
|
20891
|
-
return l && l !==
|
|
20892
|
+
return l && l !== zo.Type.TwoCell && (s.anchorType = this.getAnchorType()), n.hidden && (s.hidden = n.hidden), n.name && (s.name = n.name), n.description && (s.name = n.description), n.rotation !== void 0 && n.rotation !== 0 && (s.rotation = n.rotation), we.isDefined(n.lockAspectRatio) && n.lockAspectRatio !== this._optionsMovable.defaultLockAspectRatio && (s.lockAspect = n.lockAspectRatio), s;
|
|
20892
20893
|
}
|
|
20893
20894
|
get isIMovable() {
|
|
20894
20895
|
return !0;
|
|
@@ -21944,7 +21945,7 @@ const J_ = (t, e) => {
|
|
|
21944
21945
|
const o = Zs(r.getForeground()) || "";
|
|
21945
21946
|
if (r.getPatternType() === Ot.BuiltInSheetPattern.Solid) t["mso-pattern"] = `${t.background} none`, t.background = o;
|
|
21946
21947
|
else {
|
|
21947
|
-
const i = (n = r.getPatternType(),
|
|
21948
|
+
const i = (n = r.getPatternType(), Fo.get(n)?.cssKey ?? "solid");
|
|
21948
21949
|
t["mso-pattern"] = o + (i ? " " : "") + i;
|
|
21949
21950
|
}
|
|
21950
21951
|
} else if (e.getType() === Ot.Type.Gradient) {
|
|
@@ -22913,7 +22914,7 @@ let V4 = class {
|
|
|
22913
22914
|
const o = this._state[e[r]];
|
|
22914
22915
|
o != null && o !== H4[e[r]] && (t[e[r]] = o);
|
|
22915
22916
|
}
|
|
22916
|
-
delete t.movableSelection, delete t.gridLineColor, this._state.gridLineColor instanceof
|
|
22917
|
+
delete t.movableSelection, delete t.gridLineColor, this._state.gridLineColor instanceof po && (t.gridLineColor = this._state.gridLineColor.toString()), delete t.topLeft, !this._state.topLeft || this._state.topLeft.left === 0 && this._state.topLeft.top === 0 || (t.topLeft = { left: this._state.topLeft.left ?? 0, top: this._state.topLeft.top ?? 0 }), delete t.selection;
|
|
22917
22918
|
const n = this._state.selection;
|
|
22918
22919
|
if (n) {
|
|
22919
22920
|
let r = {};
|
|
@@ -22971,7 +22972,7 @@ let V4 = class {
|
|
|
22971
22972
|
}
|
|
22972
22973
|
};
|
|
22973
22974
|
async function oC() {
|
|
22974
|
-
const { getCrypto: t } = await import("./
|
|
22975
|
+
const { getCrypto: t } = await import("./CM--Vw5PcrLIXc8O.js");
|
|
22975
22976
|
return t();
|
|
22976
22977
|
}
|
|
22977
22978
|
const iC = async (t, e, ...n) => {
|
|
@@ -26365,7 +26366,7 @@ br
|
|
|
26365
26366
|
}
|
|
26366
26367
|
n?.bounds && n?.json?.lockAspect !== !1 && (we.isNullOrUndefined(n?.bounds.width) && we.isDefined(n?.bounds.height) && (c.width = c.height * s.width / s.height), we.isNullOrUndefined(n?.bounds.height) && we.isDefined(n?.bounds.width) && (c.height = c.width * s.height / s.width));
|
|
26367
26368
|
const d = { ...n?.json, resId: 0 };
|
|
26368
|
-
return await this._addMovable({ anchorType:
|
|
26369
|
+
return await this._addMovable({ anchorType: zo.Type.OneCell, description: "Insert Image", ...n, bounds: c, type: "picture", json: d, fromResourceId: (u) => u !== 0 ? (console.warn("received an unexpected resourceId", u), null) : r });
|
|
26369
26370
|
}
|
|
26370
26371
|
getTables() {
|
|
26371
26372
|
return this._tables;
|
|
@@ -27617,7 +27618,7 @@ class JX {
|
|
|
27617
27618
|
return this._modules;
|
|
27618
27619
|
}
|
|
27619
27620
|
async createModule(e) {
|
|
27620
|
-
const n = await import("./
|
|
27621
|
+
const n = await import("./DCwhACFXcpYD60H9.js").then((o) => o.i), r = await n.ScriptingUtils.compileTypescript(e);
|
|
27621
27622
|
return r ? await gC(r, e?.declarationsOnly ?? !1) : null;
|
|
27622
27623
|
}
|
|
27623
27624
|
addModule(e, n, r) {
|
|
@@ -28577,11 +28578,11 @@ function gN(t) {
|
|
|
28577
28578
|
} else for (n in t) t[n] && (r && (r += " "), r += n);
|
|
28578
28579
|
return r;
|
|
28579
28580
|
}
|
|
28580
|
-
function
|
|
28581
|
+
function mo() {
|
|
28581
28582
|
for (var t, e, n = 0, r = "", o = arguments.length; n < o; n++) (t = arguments[n]) && (e = gN(t)) && (r && (r += " "), r += e);
|
|
28582
28583
|
return r;
|
|
28583
28584
|
}
|
|
28584
|
-
const
|
|
28585
|
+
const Co = { TopLeft: "tl", Top: "t", TopRight: "tr", Left: "l", Center: "c", Right: "r", BottomLeft: "bl", Bottom: "b", BottomRight: "br" }, Oi = "text/html", gl = "text/plain", Fg = "image/png", aY = Object.freeze({ left: 0, top: 0 }), sY = Object.freeze({ left: 0, top: 0, bottom: 0, right: 0 }), lY = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }), yp = Object.freeze(Object.defineProperty({ __proto__: null, EmptyBounds: lY, EmptyRect: sY, EmptyTopLeft: aY }, Symbol.toStringTag, { value: "Module" })), f0 = "column", wp = "row", cY = Object.freeze({ colIndex: 0, rowIndex: 0 }), dY = Object.freeze({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }), yN = (t, e) => t.colStart === e.colStart ? t.rowStart - e.rowStart : t.colStart - e.colStart, wN = (t, e) => t.rowStart === e.rowStart ? t.colStart - e.colStart : t.rowStart - e.rowStart, uY = (t, e) => t.rowEnd === e.rowEnd ? e.colEnd - t.colEnd : e.rowEnd - t.rowEnd, hY = (t, e) => t.colEnd === e.colEnd ? e.rowEnd - t.rowEnd : e.colEnd - t.colEnd, vC = (t, e) => t.colIndex === e.colIndex ? t.rowIndex - e.rowIndex : t.colIndex - e.colIndex, SC = (t, e) => t.rowIndex === e.rowIndex ? t.colIndex - e.colIndex : t.rowIndex - e.rowIndex, bN = (t = wp, e = !1) => e ? t !== f0 ? uY : hY : t !== f0 ? wN : yN, xC = (t, e) => t === e || !(!t || !e) && t.rowIndex === e.rowIndex && t.colIndex === e.colIndex, m8 = (t, e) => t === e || !(!t || !e) && t.rowStart === e.rowStart && t.rowEnd === e.rowEnd && t.colStart === e.colStart && t.colEnd === e.colEnd, f8 = (t, e) => !(!t || !e || t.colStart > e.colEnd || e.colStart > t.colEnd || t.rowStart > e.rowEnd || e.rowStart > t.rowEnd), _C = (t, e) => {
|
|
28585
28586
|
if (t === e) return !0;
|
|
28586
28587
|
if (!t || !e || t.length !== e.length) return !1;
|
|
28587
28588
|
for (let n = 0; n < t.length; n++) if (!m8(t[n], e[n])) return !1;
|
|
@@ -28633,7 +28634,7 @@ function EC(t, e = 2, n, r = wp, o) {
|
|
|
28633
28634
|
} while (s < e && l && i.length > 1);
|
|
28634
28635
|
return i;
|
|
28635
28636
|
}
|
|
28636
|
-
const
|
|
28637
|
+
const Bo = Object.freeze(Object.defineProperty({ __proto__: null, EmptyCell: cY, EmptyRange: dY, cellToRange: (t, e) => {
|
|
28637
28638
|
if (!t) return null;
|
|
28638
28639
|
let n = e;
|
|
28639
28640
|
return n || (n = { ...t }, delete n.colIndex, delete n.rowIndex), n.colStart = t.colIndex ?? 0, n.rowStart = t.rowIndex ?? 0, n.colEnd = t.colIndex ?? 0, n.rowEnd = t.rowIndex ?? 0, n;
|
|
@@ -29386,7 +29387,7 @@ var Q4;
|
|
|
29386
29387
|
try {
|
|
29387
29388
|
if (typeof document < "u") {
|
|
29388
29389
|
var t = document.createElement("style");
|
|
29389
|
-
t.appendChild(document.createTextNode("._sheetxl-
|
|
29390
|
+
t.appendChild(document.createTextNode("._sheetxl-scrollbar_eblx4_6 ::-webkit-scrollbar-button{background:transparent}._fullscreen-portal-root_1mjsr_4{pointer-events:none;position:absolute;inset:0;width:100%;height:100%;z-index:1200}._fullscreen-portal-root_1mjsr_4>*{pointer-events:auto}")), document.head.appendChild(t);
|
|
29390
29391
|
}
|
|
29391
29392
|
} catch (e) {
|
|
29392
29393
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
@@ -29487,7 +29488,7 @@ const k0 = AN && window.ResizeObserver !== void 0 ? function() {
|
|
|
29487
29488
|
const V = { orientation: s, disabled: Math.floor(A - T) <= Math.ceil(H), onMouseUp: B, onMouseLeave: B, onMouseDown: () => $(H, !0, !1) };
|
|
29488
29489
|
return f?.(V);
|
|
29489
29490
|
}, [d, s, H, O, A, T]);
|
|
29490
|
-
return ne("div", { ref: e, style: { display: "flex", flex: "1", flexDirection: k ? "column" : "row", padding: "0", ...i }, className: Ad("_sheetxl-
|
|
29491
|
+
return ne("div", { ref: e, style: { display: "flex", flex: "1", flexDirection: k ? "column" : "row", padding: "0", ...i }, className: Ad("_sheetxl-scrollbar_eblx4_6", a), ...g, children: [j, v("div", { className: "pseudo-scrollbar", style: { flex: "1 1 100%", display: "flex", boxSizing: "content-box", flexDirection: k ? "column" : "row", justifyContent: "center", alignItems: "center" }, ref: b, children: v("div", { tabIndex: -1, style: { flex: "1 1 100%", overflowY: k ? "scroll" : "hidden", overflowX: k ? "hidden" : "scroll", position: "relative", willChange: "transform" }, onScroll: P, ref: w, children: v("div", { ref: _, style: { position: "absolute", height: k ? r - o + (S ?? 0) : 1, width: k ? 1 : r - o + (x ?? 0) }, className: "scrollbar-viewport" }) }) }), W] });
|
|
29491
29492
|
}));
|
|
29492
29493
|
Cy.displayName = "Scrollbar";
|
|
29493
29494
|
let VC = Date.now, dc = {}, RY = 1;
|
|
@@ -30306,7 +30307,7 @@ const _f = (t, e) => {
|
|
|
30306
30307
|
}
|
|
30307
30308
|
return n;
|
|
30308
30309
|
};
|
|
30309
|
-
function
|
|
30310
|
+
function fo(t, e = null, n = null, r) {
|
|
30310
30311
|
const o = Ie(n);
|
|
30311
30312
|
o.current = n, e && !Array.isArray(e) && (e = [e]);
|
|
30312
30313
|
const [i, a] = xe(_f(t, e)), s = r ? [...r, t] : [t];
|
|
@@ -30644,7 +30645,7 @@ const yZ = Object.freeze([]), wZ = Object.freeze({}), iE = (t) => t, Pg = () =>
|
|
|
30644
30645
|
function tF() {
|
|
30645
30646
|
return typeof process < "u" && process.release?.name === "node" || (typeof process < "u" && process.browser, !1);
|
|
30646
30647
|
}
|
|
30647
|
-
const dE = (t, e = !1) => (document.hasFocus() || e) && (t === document.activeElement || t?.contains(document.activeElement)),
|
|
30648
|
+
const dE = (t, e = !1) => (document.hasFocus() || e) && (t === document.activeElement || t?.contains(document.activeElement)), ho = Object.freeze(Object.defineProperty({ __proto__: null, EmptyArray: yZ, EmptyObject: wZ, OSType: Wi, arrayMove: function(t, e, n) {
|
|
30648
30649
|
const r = t.slice();
|
|
30649
30650
|
return r.splice(n < 0 ? r.length + n : n, 0, r.splice(e, 1)[0]), r;
|
|
30650
30651
|
}, asNumber: (t) => {
|
|
@@ -31587,7 +31588,7 @@ function D2(t, e, n, r = n) {
|
|
|
31587
31588
|
let o;
|
|
31588
31589
|
return o = typeof t == "function" ? t(n) : Array.isArray(t) ? t[n] || r : G5(t, n) || r, e && (o = e(o, r, t)), o;
|
|
31589
31590
|
}
|
|
31590
|
-
function
|
|
31591
|
+
function Do(t) {
|
|
31591
31592
|
const { prop: e, cssProperty: n = t.prop, themeKey: r, transform: o } = t, i = (a) => {
|
|
31592
31593
|
if (a[e] == null) return null;
|
|
31593
31594
|
const s = a[e], l = G5(a.theme, r) || {};
|
|
@@ -31634,10 +31635,10 @@ function wF(t, e) {
|
|
|
31634
31635
|
return Dl(o, o[a], l);
|
|
31635
31636
|
}(t, e, r, n)).reduce(Vh, {});
|
|
31636
31637
|
}
|
|
31637
|
-
function
|
|
31638
|
+
function bo(t) {
|
|
31638
31639
|
return wF(t, gF);
|
|
31639
31640
|
}
|
|
31640
|
-
function
|
|
31641
|
+
function vo(t) {
|
|
31641
31642
|
return wF(t, yF);
|
|
31642
31643
|
}
|
|
31643
31644
|
function bF(t, e) {
|
|
@@ -31659,7 +31660,7 @@ function bF(t, e) {
|
|
|
31659
31660
|
}
|
|
31660
31661
|
return n;
|
|
31661
31662
|
}
|
|
31662
|
-
|
|
31663
|
+
bo.propTypes = {}, bo.filterProps = gF, vo.propTypes = {}, vo.filterProps = yF;
|
|
31663
31664
|
const LE = (t, e, n, r = []) => {
|
|
31664
31665
|
let o = t;
|
|
31665
31666
|
e.forEach((i, a) => {
|
|
@@ -31698,7 +31699,7 @@ function Ka(t) {
|
|
|
31698
31699
|
return typeof t != "number" ? t : `${t}px solid`;
|
|
31699
31700
|
}
|
|
31700
31701
|
function ss(t, e) {
|
|
31701
|
-
return
|
|
31702
|
+
return Do({ prop: t, themeKey: "borders", transform: e });
|
|
31702
31703
|
}
|
|
31703
31704
|
const FZ = ss("border", Ka), DZ = ss("borderTop", Ka), LZ = ss("borderRight", Ka), PZ = ss("borderBottom", Ka), zZ = ss("borderLeft", Ka), BZ = ss("borderColor"), $Z = ss("borderTopColor"), HZ = ss("borderRightColor"), VZ = ss("borderBottomColor"), jZ = ss("borderLeftColor"), WZ = ss("outline", Ka), UZ = ss("outlineColor"), zg = (t) => {
|
|
31704
31705
|
if (t.borderRadius !== void 0 && t.borderRadius !== null) {
|
|
@@ -31737,8 +31738,8 @@ function Zd(t, e) {
|
|
|
31737
31738
|
function Sa(t) {
|
|
31738
31739
|
return t <= 1 && t !== 0 ? 100 * t + "%" : t;
|
|
31739
31740
|
}
|
|
31740
|
-
Bg.propTypes = {}, Bg.filterProps = ["rowGap"], L2(P2, z2, Bg,
|
|
31741
|
-
const GZ =
|
|
31741
|
+
Bg.propTypes = {}, Bg.filterProps = ["rowGap"], L2(P2, z2, Bg, Do({ prop: "gridColumn" }), Do({ prop: "gridRow" }), Do({ prop: "gridAutoFlow" }), Do({ prop: "gridAutoColumns" }), Do({ prop: "gridAutoRows" }), Do({ prop: "gridTemplateColumns" }), Do({ prop: "gridTemplateRows" }), Do({ prop: "gridTemplateAreas" }), Do({ prop: "gridArea" })), L2(Do({ prop: "color", themeKey: "palette", transform: Zd }), Do({ prop: "bgcolor", cssProperty: "backgroundColor", themeKey: "palette", transform: Zd }), Do({ prop: "backgroundColor", themeKey: "palette", transform: Zd }));
|
|
31742
|
+
const GZ = Do({ prop: "width", transform: Sa }), Dy = (t) => {
|
|
31742
31743
|
if (t.maxWidth !== void 0 && t.maxWidth !== null) {
|
|
31743
31744
|
const e = (n) => {
|
|
31744
31745
|
const r = t.theme?.breakpoints?.values?.[n] || U5[n];
|
|
@@ -31749,9 +31750,9 @@ const GZ = Fo({ prop: "width", transform: Sa }), Dy = (t) => {
|
|
|
31749
31750
|
return null;
|
|
31750
31751
|
};
|
|
31751
31752
|
Dy.filterProps = ["maxWidth"];
|
|
31752
|
-
const qZ =
|
|
31753
|
-
|
|
31754
|
-
const q5 = { border: { themeKey: "borders", transform: Ka }, borderTop: { themeKey: "borders", transform: Ka }, borderRight: { themeKey: "borders", transform: Ka }, borderBottom: { themeKey: "borders", transform: Ka }, borderLeft: { themeKey: "borders", transform: Ka }, borderColor: { themeKey: "palette" }, borderTopColor: { themeKey: "palette" }, borderRightColor: { themeKey: "palette" }, borderBottomColor: { themeKey: "palette" }, borderLeftColor: { themeKey: "palette" }, outline: { themeKey: "borders", transform: Ka }, outlineColor: { themeKey: "palette" }, borderRadius: { themeKey: "shape.borderRadius", style: zg }, color: { themeKey: "palette", transform: Zd }, bgcolor: { themeKey: "palette", cssProperty: "backgroundColor", transform: Zd }, backgroundColor: { themeKey: "palette", transform: Zd }, p: { style:
|
|
31753
|
+
const qZ = Do({ prop: "minWidth", transform: Sa }), KZ = Do({ prop: "height", transform: Sa }), XZ = Do({ prop: "maxHeight", transform: Sa }), YZ = Do({ prop: "minHeight", transform: Sa });
|
|
31754
|
+
Do({ prop: "size", cssProperty: "width", transform: Sa }), Do({ prop: "size", cssProperty: "height", transform: Sa }), L2(GZ, Dy, qZ, KZ, XZ, YZ, Do({ prop: "boxSizing" }));
|
|
31755
|
+
const q5 = { border: { themeKey: "borders", transform: Ka }, borderTop: { themeKey: "borders", transform: Ka }, borderRight: { themeKey: "borders", transform: Ka }, borderBottom: { themeKey: "borders", transform: Ka }, borderLeft: { themeKey: "borders", transform: Ka }, borderColor: { themeKey: "palette" }, borderTopColor: { themeKey: "palette" }, borderRightColor: { themeKey: "palette" }, borderBottomColor: { themeKey: "palette" }, borderLeftColor: { themeKey: "palette" }, outline: { themeKey: "borders", transform: Ka }, outlineColor: { themeKey: "palette" }, borderRadius: { themeKey: "shape.borderRadius", style: zg }, color: { themeKey: "palette", transform: Zd }, bgcolor: { themeKey: "palette", cssProperty: "backgroundColor", transform: Zd }, backgroundColor: { themeKey: "palette", transform: Zd }, p: { style: vo }, pt: { style: vo }, pr: { style: vo }, pb: { style: vo }, pl: { style: vo }, px: { style: vo }, py: { style: vo }, padding: { style: vo }, paddingTop: { style: vo }, paddingRight: { style: vo }, paddingBottom: { style: vo }, paddingLeft: { style: vo }, paddingX: { style: vo }, paddingY: { style: vo }, paddingInline: { style: vo }, paddingInlineStart: { style: vo }, paddingInlineEnd: { style: vo }, paddingBlock: { style: vo }, paddingBlockStart: { style: vo }, paddingBlockEnd: { style: vo }, m: { style: bo }, mt: { style: bo }, mr: { style: bo }, mb: { style: bo }, ml: { style: bo }, mx: { style: bo }, my: { style: bo }, margin: { style: bo }, marginTop: { style: bo }, marginRight: { style: bo }, marginBottom: { style: bo }, marginLeft: { style: bo }, marginX: { style: bo }, marginY: { style: bo }, marginInline: { style: bo }, marginInlineStart: { style: bo }, marginInlineEnd: { style: bo }, marginBlock: { style: bo }, marginBlockStart: { style: bo }, marginBlockEnd: { style: bo }, displayPrint: { cssProperty: !1, transform: (t) => ({ "@media print": { display: t } }) }, display: {}, overflow: {}, textOverflow: {}, visibility: {}, whiteSpace: {}, flexBasis: {}, flexDirection: {}, flexWrap: {}, justifyContent: {}, alignItems: {}, alignContent: {}, order: {}, flex: {}, flexGrow: {}, flexShrink: {}, alignSelf: {}, justifyItems: {}, justifySelf: {}, gap: { style: P2 }, rowGap: { style: Bg }, columnGap: { style: z2 }, gridColumn: {}, gridRow: {}, gridAutoFlow: {}, gridAutoColumns: {}, gridAutoRows: {}, gridTemplateColumns: {}, gridTemplateRows: {}, gridTemplateAreas: {}, gridArea: {}, position: {}, zIndex: { themeKey: "zIndex" }, top: {}, right: {}, bottom: {}, left: {}, boxShadow: { themeKey: "shadows" }, width: { transform: Sa }, maxWidth: { style: Dy }, minWidth: { transform: Sa }, height: { transform: Sa }, maxHeight: { transform: Sa }, minHeight: { transform: Sa }, boxSizing: {}, font: { themeKey: "font" }, fontFamily: { themeKey: "typography" }, fontSize: { themeKey: "typography" }, fontStyle: { themeKey: "typography" }, fontWeight: { themeKey: "typography" }, letterSpacing: {}, textTransform: {}, lineHeight: {}, textAlign: {}, typography: { cssProperty: !1, themeKey: "typography" } }, Cu = /* @__PURE__ */ function() {
|
|
31755
31756
|
function t(e, n, r, o) {
|
|
31756
31757
|
const i = { [e]: n, theme: r }, a = o[e];
|
|
31757
31758
|
if (!a) return { [e]: n };
|
|
@@ -31872,10 +31873,10 @@ function QZ(t, e) {
|
|
|
31872
31873
|
}, f = { h1: p(o, 96, 1.167, -1.5), h2: p(o, 60, 1.2, -0.5), h3: p(i, 48, 1.167, 0), h4: p(i, 34, 1.235, 0.25), h5: p(i, 24, 1.334, 0), h6: p(a, 20, 1.6, 0.15), subtitle1: p(i, 16, 1.75, 0.15), subtitle2: p(a, 14, 1.57, 0.1), body1: p(i, 16, 1.5, 0.15), body2: p(i, 14, 1.43, 0.15), button: p(a, 14, 1.75, 0.4, PE), caption: p(i, 12, 1.66, 0.4), overline: p(i, 12, 2.66, 1, PE), inherit: { fontFamily: "inherit", fontWeight: "inherit", fontSize: "inherit", lineHeight: "inherit", letterSpacing: "inherit" } };
|
|
31873
31874
|
return Ca({ htmlFontSize: l, pxToRem: m, fontFamily: n, fontSize: r, fontWeightLight: o, fontWeightRegular: i, fontWeightMedium: a, fontWeightBold: s, ...f }, u, { clone: !1 });
|
|
31874
31875
|
}
|
|
31875
|
-
function
|
|
31876
|
+
function oo(...t) {
|
|
31876
31877
|
return [`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,0.2)`, `${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,0.14)`, `${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,0.12)`].join(",");
|
|
31877
31878
|
}
|
|
31878
|
-
const eJ = ["none",
|
|
31879
|
+
const eJ = ["none", oo(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), oo(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), oo(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), oo(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), oo(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), oo(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), oo(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), oo(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), oo(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), oo(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), oo(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), oo(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), oo(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), oo(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), oo(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), oo(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), oo(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), oo(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), oo(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), oo(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), oo(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), oo(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), oo(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), oo(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], tJ = { easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)", easeOut: "cubic-bezier(0.0, 0, 0.2, 1)", easeIn: "cubic-bezier(0.4, 0, 1, 1)", sharp: "cubic-bezier(0.4, 0, 0.6, 1)" }, nJ = { shortest: 150, shorter: 200, short: 250, standard: 300, complex: 375, enteringScreen: 225, leavingScreen: 195 };
|
|
31879
31880
|
function BE(t) {
|
|
31880
31881
|
return `${Math.round(t)}ms`;
|
|
31881
31882
|
}
|
|
@@ -32204,7 +32205,7 @@ const gJ = function(t = {}) {
|
|
|
32204
32205
|
try {
|
|
32205
32206
|
if (typeof document < "u") {
|
|
32206
32207
|
var t = document.createElement("style");
|
|
32207
|
-
t.appendChild(document.createTextNode("._sheetxl-
|
|
32208
|
+
t.appendChild(document.createTextNode("._sheetxl-scrollbar_eblx4_6 ::-webkit-scrollbar-button{background:transparent}._fullscreen-portal-root_1mjsr_4{pointer-events:none;position:absolute;inset:0;width:100%;height:100%;z-index:1200}._fullscreen-portal-root_1mjsr_4>*{pointer-events:auto}")), document.head.appendChild(t);
|
|
32208
32209
|
}
|
|
32209
32210
|
} catch (e) {
|
|
32210
32211
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
@@ -32304,7 +32305,7 @@ const Hy = et(pt((t, e) => {
|
|
|
32304
32305
|
const V = { orientation: s, disabled: Math.floor(A - T) <= Math.ceil(H), onMouseUp: B, onMouseLeave: B, onMouseDown: () => $(H, !0, !1) };
|
|
32305
32306
|
return f?.(V);
|
|
32306
32307
|
}, [d, s, H, O, A, T]);
|
|
32307
|
-
return ne("div", { ref: e, style: { display: "flex", flex: "1", flexDirection: k ? "column" : "row", padding: "0", ...i }, className: Nd("_sheetxl-
|
|
32308
|
+
return ne("div", { ref: e, style: { display: "flex", flex: "1", flexDirection: k ? "column" : "row", padding: "0", ...i }, className: Nd("_sheetxl-scrollbar_eblx4_6", a), ...g, children: [j, v("div", { className: "pseudo-scrollbar", style: { flex: "1 1 100%", display: "flex", boxSizing: "content-box", flexDirection: k ? "column" : "row", justifyContent: "center", alignItems: "center" }, ref: b, children: v("div", { tabIndex: -1, style: { flex: "1 1 100%", overflowY: k ? "scroll" : "hidden", overflowX: k ? "hidden" : "scroll", position: "relative", willChange: "transform" }, onScroll: P, ref: w, children: v("div", { ref: _, style: { position: "absolute", height: k ? r - o + (S ?? 0) : 1, width: k ? 1 : r - o + (x ?? 0) }, className: "scrollbar-viewport" }) }) }), W] });
|
|
32308
32309
|
}));
|
|
32309
32310
|
Hy.displayName = "Scrollbar";
|
|
32310
32311
|
let GE = Date.now, uc = {}, LJ = 1;
|
|
@@ -32491,7 +32492,7 @@ const KJ = Object.freeze(Object.defineProperty({ __proto__: null, EmptyCssProper
|
|
|
32491
32492
|
n = !0, t.stopPropagation();
|
|
32492
32493
|
}, isPropagationStopped: () => n, persist: () => {
|
|
32493
32494
|
}, timeStamp: t.timeStamp, type: t.type };
|
|
32494
|
-
}, detectIt: P8, focusableNodeNames: qJ, toPrettyKeyCode: (t) => t === "BracketLeft" ? "[" : t === "BracketRight" ? "]" :
|
|
32495
|
+
}, detectIt: P8, focusableNodeNames: qJ, toPrettyKeyCode: (t) => t === "BracketLeft" ? "[" : t === "BracketRight" ? "]" : ho.camelToPrettyCase(t) }, Symbol.toStringTag, { value: "Module" })), XJ = [];
|
|
32495
32496
|
function K5(t, e, n = XJ) {
|
|
32496
32497
|
const r = Ie(null);
|
|
32497
32498
|
return D0(t, () => {
|
|
@@ -32558,7 +32559,7 @@ function jy() {
|
|
|
32558
32559
|
const e = document.fullscreenElement;
|
|
32559
32560
|
if (!e) return;
|
|
32560
32561
|
let n = e.querySelector(".fullscreen-portal-root");
|
|
32561
|
-
n || (n = document.createElement("div"), n.className = "fullscreen-portal-root _fullscreen-portal-
|
|
32562
|
+
n || (n = document.createElement("div"), n.className = "fullscreen-portal-root _fullscreen-portal-root_1mjsr_4", e.appendChild(n));
|
|
32562
32563
|
}
|
|
32563
32564
|
return kf++, t(), document.addEventListener("fullscreenchange", t), () => {
|
|
32564
32565
|
document.removeEventListener("fullscreenchange", t), kf--, kf <= 0 && (document.querySelectorAll(".fullscreen-portal-root").forEach((e) => {
|
|
@@ -32789,7 +32790,7 @@ function Wy(t, e = null) {
|
|
|
32789
32790
|
n.current?.onError?.(c, d, u);
|
|
32790
32791
|
} });
|
|
32791
32792
|
const l = /* @__PURE__ */ new Set();
|
|
32792
|
-
for (let c = 0; c < i.length; c++) l.add(i[c]?.addPropertyListener(
|
|
32793
|
+
for (let c = 0; c < i.length; c++) l.add(i[c]?.addPropertyListener(ho.debounce(a, 0), !0)), e && l.add(i[c]?.addExecuteListener(s));
|
|
32793
32794
|
return () => {
|
|
32794
32795
|
l.forEach((c) => {
|
|
32795
32796
|
c?.();
|
|
@@ -32800,7 +32801,7 @@ function Wy(t, e = null) {
|
|
|
32800
32801
|
FF(null, () => {
|
|
32801
32802
|
const [t, e] = xe(null);
|
|
32802
32803
|
return t;
|
|
32803
|
-
}),
|
|
32804
|
+
}), ho.getOS() === ho.OSType.MacOS || (ho.getOS(), ho.OSType.IOS), ho.getOS() === ho.OSType.MacOS || (ho.getOS(), ho.OSType.IOS);
|
|
32804
32805
|
const Rf = (t, e) => {
|
|
32805
32806
|
const n = [];
|
|
32806
32807
|
if (e) for (let r = 0; r < e.length; r++) {
|
|
@@ -32930,7 +32931,7 @@ et((t) => {
|
|
|
32930
32931
|
});
|
|
32931
32932
|
const lse = et((t) => {
|
|
32932
32933
|
const { sx: e, speed: n = 1, size: r = 13, width: o = 64, height: i = 17, ...a } = t;
|
|
32933
|
-
return ne(Ge, { sx: { width: `${o}px`, height: `${i}px`, "& .primary": { backgroundColor: (s) => s.palette.grey[600], top: (i - r) / 2 + "px", width: () => `${r}px`, height: () => `${r}px` }, ...e }, className: li("_traverse-
|
|
32934
|
+
return ne(Ge, { sx: { width: `${o}px`, height: `${i}px`, "& .primary": { backgroundColor: (s) => s.palette.grey[600], top: (i - r) / 2 + "px", width: () => `${r}px`, height: () => `${r}px` }, ...e }, className: li("_traverse-ellipsis_14l1h_1", "animated-icon"), ...a, children: [v("div", { className: "primary" }), v("div", { className: "primary" }), v("div", { className: "primary" }), v("div", { className: "primary" })] });
|
|
32934
32935
|
}), Tee = v(kee, {}), dm = et(pt((t, e) => {
|
|
32935
32936
|
const { sx: n, style: r, onMount: o, onUnmount: i, transitionDelay: a = "1200ms", panel: s = !1, transparentBackground: l = !0, icon: c = Tee, label: d, ...u } = t, h = ce(() => typeof d == "string" ? v(Zn, { variant: "caption", component: "div", sx: { fontSize: "0.875rem", lineHeight: 1.43, letterSpacing: "0.01071em" }, children: d }) : d, [d]), m = Ie(null), p = ce(() => {
|
|
32936
32937
|
let y = ne(Ge, { sx: { display: "flex", flexDirection: "column", alignItems: "center", rowGap: "8px" }, children: [h, c] });
|
|
@@ -33270,7 +33271,7 @@ const is = { Toolbar: "toolbar", Menuitem: "menuitem" }, pr = (t) => {
|
|
|
33270
33271
|
};
|
|
33271
33272
|
function Xy(t, e) {
|
|
33272
33273
|
const n = { "&::-webkit-scrollbar, & *::-webkit-scrollbar": { backgroundColor: Mt((e = ci({ track: $a(t.palette.background.paper, 0.05, t?.palette.mode), thumb: $a(t.palette.background.paper, 0.3, t?.palette.mode), active: t.palette.primary.main, corner: t.palette.background.paper, outline: !1 }, e || {})).track, 0.2), width: "13px", height: "13px" }, "&::-webkit-scrollbar-button": { display: "none" }, "& .scrollbar-button": { fill: e.thumb, backgroundColor: "transparent", transition: "fill opacity 260ms ease", width: "13px", height: "13px" }, "& .scrollbar-button:hover:not([disabled])": { fill: e.active }, "& .scrollbar-button:disabled": { opacity: 0.8 }, "&::-webkit-scrollbar-track, & *::-webkit-scrollbar-track": {}, "&::-webkit-scrollbar-track-piece, & *::-webkit-scrollbar-track-piece": {}, "&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb": { borderRadius: 8, backgroundColor: e.thumb, minHeight: "24px", minWidth: "24px", border: `2px solid ${e.track}` }, "&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus": { backgroundColor: e.active, border: e.outline ? e.outline : void 0 }, "&::-webkit-scrollbar-thumb:active, & *::-webkit-scrollbar-thumb:active": { backgroundColor: e.active, border: e.outline ? e.outline : void 0 }, "&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover": { backgroundColor: e.active, border: e.outline ? e.outline : void 0 }, "&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner": { backgroundColor: e.corner || e.thumb } };
|
|
33273
|
-
return
|
|
33274
|
+
return ho.getOS() === ho.OSType.Firefox && (n["* .pseudo-scrollbar"] = { scrollbarColor: `${e.thumb} transparent` }, n["* .pseudo-scrollbar:hover:not([disabled])"] = { scrollbarColor: `${e.active} transparent` }), n;
|
|
33274
33275
|
}
|
|
33275
33276
|
const QF = et(pt((t, e) => {
|
|
33276
33277
|
const { open: n, anchorEl: r, anchorPosition: o, label: i, floatReference: a, createPopupPanel: s = pr, popperProps: l, onMount: c, onClosing: d, onClose: u, onOpening: h, onOpen: m, children: p, sx: f, ...g } = t, y = Kn(d, [d]), w = Kn(u, [u]), b = Kn(h, [h]), x = Kn(m, [m]), [S, _] = xe(), E = Ie(null), R = Kn((M, C) => {
|
|
@@ -33286,7 +33287,7 @@ const ac = /* @__PURE__ */ new Map();
|
|
|
33286
33287
|
let b6 = null;
|
|
33287
33288
|
const sc = /* @__PURE__ */ new Map();
|
|
33288
33289
|
let Sl = null;
|
|
33289
|
-
const v6 = (t = null, e, n, r) => (Sl && (Sl.fn.clear(), Sl = null), t === 0 ? e : (t === null && (t = 120), Sl = { fn:
|
|
33290
|
+
const v6 = (t = null, e, n, r) => (Sl && (Sl.fn.clear(), Sl = null), t === 0 ? e : (t === null && (t = 120), Sl = { fn: ho.debounce(() => e(), t), setReferences: n, isClose: r }, Sl.fn)), eD = (t, e) => {
|
|
33290
33291
|
if (e === null) return;
|
|
33291
33292
|
t.add(e);
|
|
33292
33293
|
const n = ac.get(e.key);
|
|
@@ -33415,7 +33416,7 @@ Aa.displayName = "SimpleTooltip";
|
|
|
33415
33416
|
const A1 = et((t) => {
|
|
33416
33417
|
const { modifier: e, sx: n, ...r } = t;
|
|
33417
33418
|
return v(Ge, { sx: { marginLeft: "1px", marginRight: "1px", borderRadius: "4px", borderStyle: "solid", borderTopWidth: "1px", borderLeftWidth: "1px", borderRightWidth: "1px", borderBottomWidth: "2px", borderTopColor: (o) => Mt(o.palette.background.paper, o.palette.action.disabledOpacity), borderLeftColor: (o) => Mt(o.palette.background.paper, o.palette.action.disabledOpacity), borderRightColor: (o) => Mt(o.palette.background.paper, o.palette.action.disabledOpacity), borderBottomColor: (o) => Mt(o.palette.background.paper, 1 - o.palette.action.disabledOpacity), backgroundColor: (o) => Mt(o.palette.action.hover, o.palette.action.disabledOpacity), paddingLeft: "4px", paddingRight: "4px", minHeight: "1.6em", display: "flex", justifyContent: "center", alignItems: "center", boxSizing: "content-box", overflow: "hidden", ...n }, ...r, children: v(Ge, { sx: { display: "flex", alignItems: "center", justifyContent: "center", textAlign: "center", "& *": { fontWeight: "500" } }, children: e }) });
|
|
33418
|
-
}), Bee =
|
|
33419
|
+
}), Bee = ho.getOS() === ho.OSType.MacOS || ho.getOS() === ho.OSType.IOS ? "Cmd" : "Ctrl", nD = (t, e = !1, n = null) => {
|
|
33419
33420
|
if (Array.isArray(t)) {
|
|
33420
33421
|
let i = [], a = t;
|
|
33421
33422
|
for (let s = 0; s < a.length; s++) i.push(nD(a[s], e, n ?? "" + s));
|
|
@@ -33433,7 +33434,7 @@ const A1 = et((t) => {
|
|
|
33433
33434
|
})), X5 = v(_u, {}), $ee = Ke(v(My, {})), ka = et(pt((t, e) => {
|
|
33434
33435
|
const { dense: n = !0, outlined: r = !1, disableHover: o = !1, parentFloat: i, selected: a, icon: s, tooltipProps: l, children: c, primary: d, sx: u, className: h, onFocus: m, onBlur: p, ...f } = t, [g, y] = xe(!1), w = { marginRight: "0px", padding: n ? "2px" : "7px", borderRadius: (E) => `${E.shape.borderRadius}px`, color: (E) => d ? void 0 : E.palette.text.icon ?? E.palette.action.active, border: (E) => `solid ${r ? E.palette.divider : "transparent"} 1px`, "& .MuiTouchRipple-child": { borderRadius: (E) => `${E.shape.borderRadius}px !important` }, "&.Mui-selected": { backgroundColor: (E) => Mt(E.palette.text.primary, E.palette.action.selectedOpacity), border: (E) => `solid ${r ? E.palette.text?.primary : E.palette.divider} 1px` }, "&.Mui-disabled": { border: (E) => `solid ${r ? E.palette.divider : "transparent"} 1px` }, "&.Mui-disabled path.styled": { filter: "grayscale(65%)", opacity: ".8" }, "&.Mui-focusVisible": { outline: "solid transparent 1px", border: "1px solid transparent" }, ...u }, b = { "&:hover:not(.Mui-disabled, [disabled])": { color: (E) => E.palette.text.primary, border: (E) => `solid ${r ? E.palette.text?.primary : E.palette.divider} 1px`, "&.Mui-selected": { backgroundColor: (E) => Mt(E.palette.text.primary, E.palette.action.selectedOpacity + E.palette.action.hoverOpacity) }, "> .outline-hover": { outline: (E) => `solid ${r ? E.palette.text?.primary : E.palette.divider} 1px` }, backgroundColor: null }, "&.Mui-focusVisible": { outline: (E) => `solid ${E.palette.primary.main} 1px`, border: (E) => `1px solid ${E.palette?.primary?.main}`, zIndex: 1 } };
|
|
33435
33436
|
let x = w;
|
|
33436
|
-
o || (x =
|
|
33437
|
+
o || (x = ho.mergeContentful(w, b));
|
|
33437
33438
|
const S = ce(() => {
|
|
33438
33439
|
let E = typeof s == "function" ? s() : s;
|
|
33439
33440
|
return E === null ? E : E || (a === void 0 ? X5 : $ee);
|
|
@@ -33469,7 +33470,7 @@ const A1 = et((t) => {
|
|
|
33469
33470
|
const { children: n, sx: r, primary: o = !1, variant: i = "subtitle1", ...a } = t;
|
|
33470
33471
|
return v(Wt, { children: v(Zn, { ref: e, variant: i, component: "div", sx: { userSelect: "none", fontWeight: "500", paddingLeft: "8px", paddingTop: i === "subtitle1" ? "2px" : void 0, paddingBottom: i === "subtitle1" ? "2px" : void 0, color: (s) => o ? void 0 : s.palette.text.secondary, ...r }, ...a, children: n }) });
|
|
33471
33472
|
})), Is = et(pt((t, e) => {
|
|
33472
|
-
const { dense: n = !0, outlined: r = !1, label: o, selected: i = !1, onQuickClick: a, parentFloat: s, createPopupPanel: l, popupProps: c, onPopupOpen: d, onPopupClose: u, quickButtonProps: h, createQuickButton: m, tooltip: p = "", createTooltip: f, icon: g, disabled: y, buttonProps: w =
|
|
33473
|
+
const { dense: n = !0, outlined: r = !1, label: o, selected: i = !1, onQuickClick: a, parentFloat: s, createPopupPanel: l, popupProps: c, onPopupOpen: d, onPopupClose: u, quickButtonProps: h, createQuickButton: m, tooltip: p = "", createTooltip: f, icon: g, disabled: y, buttonProps: w = ho.EmptyObject, disableHover: b, touchRippleRef: x, primary: S, children: _, sx: E, className: R, ...k } = t, M = zy(), C = ce(() => {
|
|
33473
33474
|
const Y = (ee, pe, J, G = J) => {
|
|
33474
33475
|
const oe = typeof r == "boolean" ? null : r[ee];
|
|
33475
33476
|
return typeof oe == "function" ? oe(pe) : oe || (r ? J : G);
|
|
@@ -33484,8 +33485,8 @@ const A1 = et((t) => {
|
|
|
33484
33485
|
}, [a, z]), B = Kn(() => {
|
|
33485
33486
|
T ? z.reference.close(0) : z.reference.open(0);
|
|
33486
33487
|
}, [T, z, s, o]), $ = ce(() => {
|
|
33487
|
-
const Y = { "&.bordered": { borderWidth: "1px", borderRadius: "0px", borderTopStyle: "solid", borderBottomStyle: "solid", borderColor: (ie) => C.outline.color(ie), "&.Mui-focusVisible": { border: (ie) => `1px solid ${C.outline.focusColor(ie)} !important` }, "&:hover:not(.Mui-disabled, [disabled])": { borderColor: () => b ? "transparent" : void 0, backgroundColor: () => b ? "transparent" : void 0 }, "&.Mui-hovered:not(.Mui-disabled, [disabled])": { borderColor: (ie) => C.outline.hoverColor(ie) }, "&.Mui-selected:not(.Mui-disabled, [disabled])": { borderColor: (ie) => C.outline.hoverColor(ie) }, "&.left": { borderTopLeftRadius: (ie) => `${ie.shape.borderRadius}px`, borderBottomLeftRadius: (ie) => `${ie.shape.borderRadius}px`, borderLeftStyle: "solid" }, "&.hard-right": { borderRightStyle: "solid", borderRightWidth: "1px", borderRightColor: (ie) => C.outline.color(ie) }, "&.right": { borderTopRightRadius: (ie) => `${ie.shape.borderRadius}px`, borderBottomRightRadius: (ie) => `${ie.shape.borderRadius}px`, borderRightStyle: "solid" }, "&.divider": { borderLeftWidth: "0px !important" } }, "& .MuiTouchRipple-child": { borderRadius: (ie) => `${ie.shape.borderRadius}px !important` } }, ee = { "&.Mui-selected": { backgroundColor: (ie) => Mt(ie.palette.primary.main, ie.palette.action.selectedOpacity), "&:hover:not(.Mui-disabled)": { backgroundColor: (ie) => Mt(ie.palette.primary.main, ie.palette.action.selectedOpacity + ie.palette.action.hoverOpacity), "@media (hover: none)": { backgroundColor: (ie) => Mt(ie.palette.primary.main, ie.palette.action.selectedOpacity) } } } }, pe = { maxHeight: "100%", "&.Mui-selected": { backgroundColor: (ie) => Mt(ie.palette.text.icon ?? ie.palette.action.active, ie.palette.action.selectedOpacity), "&:hover:not(.Mui-disabled)": { backgroundColor: (ie) => Mt(ie.palette.text.icon ?? ie.palette.action.active, ie.palette.action.selectedOpacity + ie.palette.action.hoverOpacity), "@media (hover: none)": { backgroundColor: (ie) => Mt(ie.palette.text.icon ?? ie.palette.action.active, ie.palette.action.selectedOpacity) } } }, "&:hover:not(.Mui-disabled, [disabled])": { color: (ie) => ie.palette.text.primary }, backgroundColor: () => b ? "transparent" : void 0, color: (ie) => ie.palette.text.icon, "&.Mui-disabled path.styled": { filter: "grayscale(65%)", opacity: ".8" }, padding: () => n ? "2px 3px" : "7px", marginRight: "0" }, J =
|
|
33488
|
-
return { quickButtonStyling: J, openQuickButtonStyling: G, compoundStyling: oe, openCompoundStyling:
|
|
33488
|
+
const Y = { "&.bordered": { borderWidth: "1px", borderRadius: "0px", borderTopStyle: "solid", borderBottomStyle: "solid", borderColor: (ie) => C.outline.color(ie), "&.Mui-focusVisible": { border: (ie) => `1px solid ${C.outline.focusColor(ie)} !important` }, "&:hover:not(.Mui-disabled, [disabled])": { borderColor: () => b ? "transparent" : void 0, backgroundColor: () => b ? "transparent" : void 0 }, "&.Mui-hovered:not(.Mui-disabled, [disabled])": { borderColor: (ie) => C.outline.hoverColor(ie) }, "&.Mui-selected:not(.Mui-disabled, [disabled])": { borderColor: (ie) => C.outline.hoverColor(ie) }, "&.left": { borderTopLeftRadius: (ie) => `${ie.shape.borderRadius}px`, borderBottomLeftRadius: (ie) => `${ie.shape.borderRadius}px`, borderLeftStyle: "solid" }, "&.hard-right": { borderRightStyle: "solid", borderRightWidth: "1px", borderRightColor: (ie) => C.outline.color(ie) }, "&.right": { borderTopRightRadius: (ie) => `${ie.shape.borderRadius}px`, borderBottomRightRadius: (ie) => `${ie.shape.borderRadius}px`, borderRightStyle: "solid" }, "&.divider": { borderLeftWidth: "0px !important" } }, "& .MuiTouchRipple-child": { borderRadius: (ie) => `${ie.shape.borderRadius}px !important` } }, ee = { "&.Mui-selected": { backgroundColor: (ie) => Mt(ie.palette.primary.main, ie.palette.action.selectedOpacity), "&:hover:not(.Mui-disabled)": { backgroundColor: (ie) => Mt(ie.palette.primary.main, ie.palette.action.selectedOpacity + ie.palette.action.hoverOpacity), "@media (hover: none)": { backgroundColor: (ie) => Mt(ie.palette.primary.main, ie.palette.action.selectedOpacity) } } } }, pe = { maxHeight: "100%", "&.Mui-selected": { backgroundColor: (ie) => Mt(ie.palette.text.icon ?? ie.palette.action.active, ie.palette.action.selectedOpacity), "&:hover:not(.Mui-disabled)": { backgroundColor: (ie) => Mt(ie.palette.text.icon ?? ie.palette.action.active, ie.palette.action.selectedOpacity + ie.palette.action.hoverOpacity), "@media (hover: none)": { backgroundColor: (ie) => Mt(ie.palette.text.icon ?? ie.palette.action.active, ie.palette.action.selectedOpacity) } } }, "&:hover:not(.Mui-disabled, [disabled])": { color: (ie) => ie.palette.text.primary }, backgroundColor: () => b ? "transparent" : void 0, color: (ie) => ie.palette.text.icon, "&.Mui-disabled path.styled": { filter: "grayscale(65%)", opacity: ".8" }, padding: () => n ? "2px 3px" : "7px", marginRight: "0" }, J = ho.mergeContentful(pe, Y), G = ho.mergeContentful(J, ee), oe = ho.mergeContentful(pe, Y);
|
|
33489
|
+
return { quickButtonStyling: J, openQuickButtonStyling: G, compoundStyling: oe, openCompoundStyling: ho.mergeContentful(oe, ee) };
|
|
33489
33490
|
}, [C, b]), H = Kn((Y) => {
|
|
33490
33491
|
const { children: ee, ...pe } = Y;
|
|
33491
33492
|
return v(Aa, { ...pe, disableInteractive: !0, children: ee });
|
|
@@ -34246,7 +34247,7 @@ var Ak, Ok, ste = function() {
|
|
|
34246
34247
|
return c.propTypes = { active: a.bool, paused: a.bool, focusTrapOptions: a.shape({ document: a.object, onActivate: a.func, onPostActivate: a.func, checkCanFocusTrap: a.func, onPause: a.func, onPostPause: a.func, onUnpause: a.func, onPostUnpause: a.func, onDeactivate: a.func, onPostDeactivate: a.func, checkCanReturnFocus: a.func, initialFocus: a.oneOfType([a.instanceOf(d), a.string, a.bool, a.func]), fallbackFocus: a.oneOfType([a.instanceOf(d), a.string, a.func]), escapeDeactivates: a.oneOfType([a.bool, a.func]), clickOutsideDeactivates: a.oneOfType([a.bool, a.func]), returnFocusOnDeactivate: a.bool, setReturnFocus: a.oneOfType([a.instanceOf(d), a.string, a.bool, a.func]), allowOutsideClick: a.oneOfType([a.bool, a.func]), preventScroll: a.bool, tabbableOptions: a.shape({ displayCheck: a.oneOf(["full", "legacy-full", "non-zero-area", "none"]), getShadowRoot: a.oneOfType([a.bool, a.func]) }), trapStack: a.array, isKeyForward: a.func, isKeyBackward: a.func }), containerElements: a.arrayOf(a.instanceOf(d)), children: a.oneOfType([a.element, a.instanceOf(d)]) }, c.defaultProps = { active: !0, paused: !1, focusTrapOptions: {}, _createFocusTrap: s }, Ak = c;
|
|
34247
34248
|
}();
|
|
34248
34249
|
const lte = lF(ste);
|
|
34249
|
-
var Nk, Fk, N1 = { exports: {} }, Dk = {}, Nf = { exports: {} },
|
|
34250
|
+
var Nk, Fk, N1 = { exports: {} }, Dk = {}, Nf = { exports: {} }, Ro = {}, Hc = {};
|
|
34250
34251
|
function G2() {
|
|
34251
34252
|
return Fk || (Fk = 1, Object.defineProperty(Hc, "__esModule", { value: !0 }), Hc.dontSetMe = function(t, e, n) {
|
|
34252
34253
|
if (t[e]) return new Error(`Invalid prop ${e} passed to ${n} - do not set this, set it on the child.`);
|
|
@@ -34262,35 +34263,35 @@ function G2() {
|
|
|
34262
34263
|
}
|
|
34263
34264
|
var Lk, Pk, Zl = {};
|
|
34264
34265
|
function Y8() {
|
|
34265
|
-
if (Pk) return
|
|
34266
|
-
Pk = 1, Object.defineProperty(
|
|
34266
|
+
if (Pk) return Ro;
|
|
34267
|
+
Pk = 1, Object.defineProperty(Ro, "__esModule", { value: !0 }), Ro.addClassName = a, Ro.addEvent = function(l, c, d, u) {
|
|
34267
34268
|
if (!l) return;
|
|
34268
34269
|
const h = { capture: !0, ...u };
|
|
34269
34270
|
l.addEventListener ? l.addEventListener(c, d, h) : l.attachEvent ? l.attachEvent("on" + c, d) : l["on" + c] = d;
|
|
34270
|
-
},
|
|
34271
|
+
}, Ro.addUserSelectStyles = function(l) {
|
|
34271
34272
|
if (!l) return;
|
|
34272
34273
|
let c = l.getElementById("react-draggable-style-el");
|
|
34273
34274
|
c || (c = l.createElement("style"), c.type = "text/css", c.id = "react-draggable-style-el", c.innerHTML = `.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
|
|
34274
34275
|
`, c.innerHTML += `.react-draggable-transparent-selection *::selection {all: inherit;}
|
|
34275
34276
|
`, l.getElementsByTagName("head")[0].appendChild(c)), l.body && a(l.body, "react-draggable-transparent-selection");
|
|
34276
|
-
},
|
|
34277
|
+
}, Ro.createCSSTransform = function(l, c) {
|
|
34277
34278
|
const d = o(l, c, "px");
|
|
34278
34279
|
return { [(0, e.browserPrefixToKey)("transform", e.default)]: d };
|
|
34279
|
-
},
|
|
34280
|
+
}, Ro.createSVGTransform = function(l, c) {
|
|
34280
34281
|
return o(l, c, "");
|
|
34281
|
-
},
|
|
34282
|
+
}, Ro.getTouch = function(l, c) {
|
|
34282
34283
|
return l.targetTouches && (0, t.findInArray)(l.targetTouches, (d) => c === d.identifier) || l.changedTouches && (0, t.findInArray)(l.changedTouches, (d) => c === d.identifier);
|
|
34283
|
-
},
|
|
34284
|
+
}, Ro.getTouchIdentifier = function(l) {
|
|
34284
34285
|
return l.targetTouches && l.targetTouches[0] ? l.targetTouches[0].identifier : l.changedTouches && l.changedTouches[0] ? l.changedTouches[0].identifier : void 0;
|
|
34285
|
-
},
|
|
34286
|
+
}, Ro.getTranslation = o, Ro.innerHeight = function(l) {
|
|
34286
34287
|
let c = l.clientHeight;
|
|
34287
34288
|
const d = l.ownerDocument.defaultView.getComputedStyle(l);
|
|
34288
34289
|
return c -= (0, t.int)(d.paddingTop), c -= (0, t.int)(d.paddingBottom), c;
|
|
34289
|
-
},
|
|
34290
|
+
}, Ro.innerWidth = function(l) {
|
|
34290
34291
|
let c = l.clientWidth;
|
|
34291
34292
|
const d = l.ownerDocument.defaultView.getComputedStyle(l);
|
|
34292
34293
|
return c -= (0, t.int)(d.paddingLeft), c -= (0, t.int)(d.paddingRight), c;
|
|
34293
|
-
},
|
|
34294
|
+
}, Ro.matchesSelector = r, Ro.matchesSelectorAndParentsTo = function(l, c, d) {
|
|
34294
34295
|
let u = l;
|
|
34295
34296
|
do {
|
|
34296
34297
|
if (r(u, c)) return !0;
|
|
@@ -34298,22 +34299,22 @@ function Y8() {
|
|
|
34298
34299
|
u = u.parentNode;
|
|
34299
34300
|
} while (u);
|
|
34300
34301
|
return !1;
|
|
34301
|
-
},
|
|
34302
|
+
}, Ro.offsetXYFromParent = function(l, c, d) {
|
|
34302
34303
|
const u = c === c.ownerDocument.body ? { left: 0, top: 0 } : c.getBoundingClientRect();
|
|
34303
34304
|
return { x: (l.clientX + c.scrollLeft - u.left) / d, y: (l.clientY + c.scrollTop - u.top) / d };
|
|
34304
|
-
},
|
|
34305
|
+
}, Ro.outerHeight = function(l) {
|
|
34305
34306
|
let c = l.clientHeight;
|
|
34306
34307
|
const d = l.ownerDocument.defaultView.getComputedStyle(l);
|
|
34307
34308
|
return c += (0, t.int)(d.borderTopWidth), c += (0, t.int)(d.borderBottomWidth), c;
|
|
34308
|
-
},
|
|
34309
|
+
}, Ro.outerWidth = function(l) {
|
|
34309
34310
|
let c = l.clientWidth;
|
|
34310
34311
|
const d = l.ownerDocument.defaultView.getComputedStyle(l);
|
|
34311
34312
|
return c += (0, t.int)(d.borderLeftWidth), c += (0, t.int)(d.borderRightWidth), c;
|
|
34312
|
-
},
|
|
34313
|
+
}, Ro.removeClassName = s, Ro.removeEvent = function(l, c, d, u) {
|
|
34313
34314
|
if (!l) return;
|
|
34314
34315
|
const h = { capture: !0, ...u };
|
|
34315
34316
|
l.removeEventListener ? l.removeEventListener(c, d, h) : l.detachEvent ? l.detachEvent("on" + c, d) : l["on" + c] = null;
|
|
34316
|
-
},
|
|
34317
|
+
}, Ro.scheduleRemoveUserSelectStyles = function(l) {
|
|
34317
34318
|
window.requestAnimationFrame ? window.requestAnimationFrame(() => {
|
|
34318
34319
|
i(l);
|
|
34319
34320
|
}) : i(l);
|
|
@@ -34380,7 +34381,7 @@ function Y8() {
|
|
|
34380
34381
|
function s(l, c) {
|
|
34381
34382
|
l.classList ? l.classList.remove(c) : l.className = l.className.replace(new RegExp(`(?:^|\\s)${c}(?!\\S)`, "g"), "");
|
|
34382
34383
|
}
|
|
34383
|
-
return
|
|
34384
|
+
return Ro;
|
|
34384
34385
|
}
|
|
34385
34386
|
var zk, Ls = {};
|
|
34386
34387
|
function Bk() {
|
|
@@ -34749,24 +34750,24 @@ var ns = typeof window < "u" ? window : { screen: {}, navigator: {} }, Tu = (ns.
|
|
|
34749
34750
|
ns.addEventListener && ns.addEventListener("p", Gk, mte), ns.removeEventListener && ns.removeEventListener("p", Gk, !1);
|
|
34750
34751
|
var Zy = "ontouchstart" in ns, fte = Zy || "TouchEvent" in ns && Tu("(any-pointer: coarse)").matches, qk = (ns.navigator.maxTouchPoints || 0) > 0 || fte, mD = ns.navigator.userAgent || "", gte = Tu("(pointer: coarse)").matches && /iPad|Macintosh/.test(mD) && Math.min(ns.screen.width || 0, ns.screen.height || 0) >= 768, fD = (Tu("(pointer: coarse)").matches || !Tu("(pointer: fine)").matches && Zy) && !/Windows.*Firefox/.test(mD), yte = Tu("(any-pointer: fine)").matches || Tu("(any-hover: hover)").matches || gte || !Zy, Kk = !qk || !yte && fD ? qk ? "touchOnly" : "mouseOnly" : "hybrid", wte = Kk === "mouseOnly" ? "mouse" : Kk === "touchOnly" || fD ? "touch" : "mouse", Uh = (t) => t.type === "checkbox", c0 = (t) => t instanceof Date, qi = (t) => t == null;
|
|
34751
34752
|
const gD = (t) => typeof t == "object";
|
|
34752
|
-
var
|
|
34753
|
+
var Vo = (t) => !qi(t) && !Array.isArray(t) && gD(t) && !c0(t), Jy = typeof window < "u" && window.HTMLElement !== void 0 && typeof document < "u";
|
|
34753
34754
|
function Mi(t) {
|
|
34754
34755
|
let e;
|
|
34755
34756
|
const n = Array.isArray(t), r = typeof FileList < "u" && t instanceof FileList;
|
|
34756
34757
|
if (t instanceof Date) e = new Date(t);
|
|
34757
34758
|
else if (t instanceof Set) e = new Set(t);
|
|
34758
34759
|
else {
|
|
34759
|
-
if (Jy && (t instanceof Blob || r) || !n && !
|
|
34760
|
+
if (Jy && (t instanceof Blob || r) || !n && !Vo(t)) return t;
|
|
34760
34761
|
if (e = n ? [] : {}, n || ((o) => {
|
|
34761
34762
|
const i = o.constructor && o.constructor.prototype;
|
|
34762
|
-
return
|
|
34763
|
+
return Vo(i) && i.hasOwnProperty("isPrototypeOf");
|
|
34763
34764
|
})(t)) for (const o in t) t.hasOwnProperty(o) && (e[o] = Mi(t[o]));
|
|
34764
34765
|
else e = t;
|
|
34765
34766
|
}
|
|
34766
34767
|
return e;
|
|
34767
34768
|
}
|
|
34768
34769
|
var Y5 = (t) => /^\w*$/.test(t), Go = (t) => t === void 0, Z8 = (t) => Array.isArray(t) ? t.filter(Boolean) : [], Qy = (t) => Z8(t.replace(/["|']|\]/g, "").split(/\.|\[/)), fn = (t, e, n) => {
|
|
34769
|
-
if (!e || !
|
|
34770
|
+
if (!e || !Vo(t)) return n;
|
|
34770
34771
|
const r = (Y5(e) ? [e] : Qy(e)).reduce((o, i) => qi(o) ? o : o[i], t);
|
|
34771
34772
|
return Go(r) || r === t ? Go(t[e]) ? n : t[e] : r;
|
|
34772
34773
|
}, Ws = (t) => typeof t == "boolean", Zr = (t, e, n) => {
|
|
@@ -34777,7 +34778,7 @@ var Y5 = (t) => /^\w*$/.test(t), Go = (t) => t === void 0, Z8 = (t) => Array.isA
|
|
|
34777
34778
|
let l = n;
|
|
34778
34779
|
if (r !== a) {
|
|
34779
34780
|
const c = t[s];
|
|
34780
|
-
l =
|
|
34781
|
+
l = Vo(c) || Array.isArray(c) ? c : isNaN(+o[r + 1]) ? {} : [];
|
|
34781
34782
|
}
|
|
34782
34783
|
if (s === "__proto__" || s === "constructor" || s === "prototype") return;
|
|
34783
34784
|
t[s] = l, t = t[s];
|
|
@@ -34811,12 +34812,12 @@ function hc(t, e) {
|
|
|
34811
34812
|
if (!r.includes(o)) return !1;
|
|
34812
34813
|
if (o !== "ref") {
|
|
34813
34814
|
const a = e[o];
|
|
34814
|
-
if (c0(i) && c0(a) ||
|
|
34815
|
+
if (c0(i) && c0(a) || Vo(i) && Vo(a) || Array.isArray(i) && Array.isArray(a) ? !hc(i, a) : i !== a) return !1;
|
|
34815
34816
|
}
|
|
34816
34817
|
}
|
|
34817
34818
|
return !0;
|
|
34818
34819
|
}
|
|
34819
|
-
var ea = (t) =>
|
|
34820
|
+
var ea = (t) => Vo(t) && !Object.keys(t).length, ew = (t) => t.type === "file", ws = (t) => typeof t == "function", q2 = (t) => {
|
|
34820
34821
|
if (!Jy) return !1;
|
|
34821
34822
|
const e = t ? t.ownerDocument : 0;
|
|
34822
34823
|
return t instanceof (e && e.defaultView ? e.defaultView.HTMLElement : HTMLElement);
|
|
@@ -34828,7 +34829,7 @@ function Jo(t, e) {
|
|
|
34828
34829
|
for (; c < l; ) a = Go(a) ? c++ : a[s[c++]];
|
|
34829
34830
|
return a;
|
|
34830
34831
|
}(t, n), o = n.length - 1, i = n[o];
|
|
34831
|
-
return r && delete r[i], o !== 0 && (
|
|
34832
|
+
return r && delete r[i], o !== 0 && (Vo(r) && ea(r) || Array.isArray(r) && function(a) {
|
|
34832
34833
|
for (const s in a) if (a.hasOwnProperty(s) && !Go(a[s])) return !1;
|
|
34833
34834
|
return !0;
|
|
34834
34835
|
}(r)) && Jo(t, n.slice(0, -1)), t;
|
|
@@ -34839,12 +34840,12 @@ var SD = (t) => {
|
|
|
34839
34840
|
};
|
|
34840
34841
|
function K2(t, e = {}) {
|
|
34841
34842
|
const n = Array.isArray(t);
|
|
34842
|
-
if (
|
|
34843
|
+
if (Vo(t) || n) for (const r in t) Array.isArray(t[r]) || Vo(t[r]) && !SD(t[r]) ? (e[r] = Array.isArray(t[r]) ? [] : {}, K2(t[r], e[r])) : qi(t[r]) || (e[r] = !0);
|
|
34843
34844
|
return e;
|
|
34844
34845
|
}
|
|
34845
34846
|
function xD(t, e, n) {
|
|
34846
34847
|
const r = Array.isArray(t);
|
|
34847
|
-
if (
|
|
34848
|
+
if (Vo(t) || r) for (const o in t) Array.isArray(t[o]) || Vo(t[o]) && !SD(t[o]) ? Go(e) || J8(n[o]) ? n[o] = Array.isArray(t[o]) ? K2(t[o], []) : { ...K2(t[o]) } : xD(t[o], qi(e) ? {} : e[o], n[o]) : n[o] = !hc(t[o], e[o]);
|
|
34848
34849
|
return n;
|
|
34849
34850
|
}
|
|
34850
34851
|
var D1 = (t, e) => xD(t, e, K2(e));
|
|
@@ -34865,9 +34866,9 @@ function tT(t) {
|
|
|
34865
34866
|
const e = t.ref;
|
|
34866
34867
|
return ew(e) ? e.files : tw(e) ? ED(t.refs).value : vD(e) ? [...e.selectedOptions].map(({ value: n }) => n) : Uh(e) ? _D(t.refs).value : CD(Go(e.value) ? t.ref.value : e.value, t);
|
|
34867
34868
|
}
|
|
34868
|
-
var X2 = (t) => t instanceof RegExp, L1 = (t) => Go(t) ? t : X2(t) ? t.source :
|
|
34869
|
+
var X2 = (t) => t instanceof RegExp, L1 = (t) => Go(t) ? t : X2(t) ? t.source : Vo(t) ? X2(t.value) ? t.value.source : t.value : t, nT = (t) => ({ isOnSubmit: !t || t === wD, isOnBlur: t === "onBlur", isOnChange: t === yD, isOnAll: t === wh, isOnTouch: t === "onTouched" });
|
|
34869
34870
|
const rT = "AsyncFunction";
|
|
34870
|
-
var xte = (t) => !!t && !!t.validate && !!(ws(t.validate) && t.validate.constructor.name === rT ||
|
|
34871
|
+
var xte = (t) => !!t && !!t.validate && !!(ws(t.validate) && t.validate.constructor.name === rT || Vo(t.validate) && Object.values(t.validate).find((e) => e.constructor.name === rT)), oT = (t, e, n) => !n && (e.watchAll || e.watch.has(t) || [...e.watch].some((r) => t.startsWith(r) && /^\.\w+/.test(t.slice(r.length))));
|
|
34871
34872
|
const Gh = (t, e, n, r) => {
|
|
34872
34873
|
for (const o of n || Object.keys(t)) {
|
|
34873
34874
|
const i = fn(t, o);
|
|
@@ -34876,7 +34877,7 @@ const Gh = (t, e, n, r) => {
|
|
|
34876
34877
|
if (a) {
|
|
34877
34878
|
if (a.refs && a.refs[0] && e(a.refs[0], o) && !r || a.ref && e(a.ref, a.name) && !r) return !0;
|
|
34878
34879
|
if (Gh(s, e)) break;
|
|
34879
|
-
} else if (
|
|
34880
|
+
} else if (Vo(s) && Gh(s, e)) break;
|
|
34880
34881
|
}
|
|
34881
34882
|
}
|
|
34882
34883
|
};
|
|
@@ -34900,7 +34901,7 @@ var _te = (t, e, n) => {
|
|
|
34900
34901
|
function aT(t, e, n = "validate") {
|
|
34901
34902
|
if (Ug(t) || Array.isArray(t) && t.every(Ug) || Ws(t) && !t) return { type: n, message: Ug(t) ? t : "", ref: e };
|
|
34902
34903
|
}
|
|
34903
|
-
var fd = (t) =>
|
|
34904
|
+
var fd = (t) => Vo(t) && !X2(t) ? t : { value: t, message: "" }, sT = async (t, e, n, r, o, i) => {
|
|
34904
34905
|
const { ref: a, refs: s, required: l, maxLength: c, minLength: d, min: u, max: h, pattern: m, validate: p, name: f, valueAsNumber: g, mount: y } = t._f, w = fn(n, f);
|
|
34905
34906
|
if (!y || e.has(f)) return {};
|
|
34906
34907
|
const b = s ? s[0] : a, x = (T) => {
|
|
@@ -34937,7 +34938,7 @@ var fd = (t) => Ho(t) && !X2(t) ? t : { value: t, message: "" }, sT = async (t,
|
|
|
34937
34938
|
if (ws(p)) {
|
|
34938
34939
|
const T = aT(await p(w, n), b);
|
|
34939
34940
|
if (T && (S[f] = { ...T, ...M("validate", T.message) }, !r)) return x(T.message), S;
|
|
34940
|
-
} else if (
|
|
34941
|
+
} else if (Vo(p)) {
|
|
34941
34942
|
let T = {};
|
|
34942
34943
|
for (const A in p) {
|
|
34943
34944
|
if (!ea(T) && !r) break;
|
|
@@ -34957,7 +34958,7 @@ const Cte = { mode: wD, reValidateMode: yD, shouldFocusError: !0 }, Ete = ["Ok",
|
|
|
34957
34958
|
const { formControl: L, ...F } = function(D = {}) {
|
|
34958
34959
|
let P = { ...Cte, ...D }, z = { submitCount: 0, isDirty: !1, isReady: !1, isLoading: ws(P.defaultValues), isValidating: !1, isSubmitted: !1, isSubmitting: !1, isSubmitSuccessful: !1, isValid: !1, touchedFields: {}, dirtyFields: {}, validatingFields: {}, errors: P.errors || {}, disabled: P.disabled || !1 };
|
|
34959
34960
|
const I = {};
|
|
34960
|
-
let B, $ = (
|
|
34961
|
+
let B, $ = (Vo(P.defaultValues) || Vo(P.values)) && Mi(P.defaultValues || P.values) || {}, H = P.shouldUnregister ? {} : Mi($), j = { action: !1, mount: !1, watch: !1 }, W = { mount: /* @__PURE__ */ new Set(), disabled: /* @__PURE__ */ new Set(), unMount: /* @__PURE__ */ new Set(), array: /* @__PURE__ */ new Set(), watch: /* @__PURE__ */ new Set() }, V = 0;
|
|
34961
34962
|
const X = { isDirty: !1, dirtyFields: !1, validatingFields: !1, touchedFields: !1, isValidating: !1, isValid: !1, errors: !1 };
|
|
34962
34963
|
let Q = { ...X };
|
|
34963
34964
|
const me = { array: Zk(), state: Zk() }, te = P.criteriaMode === wh, ue = async (U) => {
|
|
@@ -35035,7 +35036,7 @@ const Cte = { mode: wD, reValidateMode: yD, shouldFocusError: !0 }, Ete = ["Ok",
|
|
|
35035
35036
|
for (const Ee in q) {
|
|
35036
35037
|
if (!q.hasOwnProperty(Ee)) return;
|
|
35037
35038
|
const le = q[Ee], ye = U + "." + Ee, ke = fn(I, ye);
|
|
35038
|
-
(W.array.has(U) ||
|
|
35039
|
+
(W.array.has(U) || Vo(le) || ke && !ke._f) && !c0(le) ? ie(ye, le, re) : oe(ye, le, re);
|
|
35039
35040
|
}
|
|
35040
35041
|
}, Re = (U, q, re = {}) => {
|
|
35041
35042
|
const Ee = fn(I, U), le = W.array.has(U), ye = Mi(q);
|
|
@@ -35049,7 +35050,7 @@ const Cte = { mode: wD, reValidateMode: yD, shouldFocusError: !0 }, Ete = ["Ok",
|
|
|
35049
35050
|
}, ke = nT(P.mode), Oe = nT(P.reValidateMode);
|
|
35050
35051
|
if (le) {
|
|
35051
35052
|
let Be, Ye;
|
|
35052
|
-
const ut = q.type ? tT(le._f) :
|
|
35053
|
+
const ut = q.type ? tT(le._f) : Vo(Me = U) && Me.target ? Uh(Me.target) ? Me.target.checked : Me.target.value : Me, ot = U.type === "blur" || U.type === "focusout", _t = !((Ht) => Ht.mount && (Ht.required || Ht.min || Ht.max || Ht.maxLength || Ht.minLength || Ht.pattern || Ht.validate))(le._f) && !P.resolver && !fn(z.errors, re) && !le._f.deps || ((Ht, hn, yn, Hn, Un) => !Un.isOnAll && (!yn && Un.isOnTouch ? !(hn || Ht) : (yn ? Hn.isOnBlur : Un.isOnBlur) ? !Ht : !(yn ? Hn.isOnChange : Un.isOnChange) || Ht))(ot, fn(z.touchedFields, re), z.isSubmitted, Oe, ke), wt = oT(re, W, ot);
|
|
35053
35054
|
Zr(H, re, ut), ot ? (le._f.onBlur && le._f.onBlur(U), B && B(0)) : le._f.onChange && le._f.onChange(U);
|
|
35054
35055
|
const nn = Y(re, ut, ot), Zt = !ea(nn) || wt;
|
|
35055
35056
|
if (!ot && me.state.next({ name: re, type: U.type, values: Mi(H) }), _t) return (X.isValid || Q.isValid) && (P.mode === "onBlur" ? ot && ue() : ot || ue()), Zt && me.state.next({ name: re, ...wt ? {} : nn });
|
|
@@ -35324,7 +35325,7 @@ const Cte = { mode: wD, reValidateMode: yD, shouldFocusError: !0 }, Ete = ["Ok",
|
|
|
35324
35325
|
e?.onDone?.(), r.hide();
|
|
35325
35326
|
} });
|
|
35326
35327
|
});
|
|
35327
|
-
}, Mte = ft.lazy(() => import("./
|
|
35328
|
+
}, Mte = ft.lazy(() => import("./vw_ELbpa8MGzVBfc.js")), pse = () => {
|
|
35328
35329
|
const { showModal: t } = Yy();
|
|
35329
35330
|
return (e) => {
|
|
35330
35331
|
const { defaultOption: n = e.options?.[0], cancelOption: r = "Cancel", ...o } = e;
|
|
@@ -35482,14 +35483,14 @@ const Ite = (t) => {
|
|
|
35482
35483
|
try {
|
|
35483
35484
|
if (typeof document < "u") {
|
|
35484
35485
|
var t = document.createElement("style");
|
|
35485
|
-
t.appendChild(document.createTextNode("._traverse-
|
|
35486
|
+
t.appendChild(document.createTextNode("._traverse-ellipsis_14l1h_1{display:inline-block;position:relative}._traverse-ellipsis_14l1h_1 div{position:absolute;border-radius:50%}._traverse-ellipsis_14l1h_1 div:nth-child(1){left:0;animation:_traverse-ellipsis1_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(2){left:0;animation:_traverse-ellipsis2_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(3){left:24px;animation:_traverse-ellipsis2_14l1h_1 .6s infinite}._traverse-ellipsis_14l1h_1 div:nth-child(4){left:48px;animation:_traverse-ellipsis3_14l1h_1 .6s infinite}@keyframes _traverse-ellipsis1_14l1h_1{0%{transform:scale(0)}to{transform:scale(1)}}@keyframes _traverse-ellipsis3_14l1h_1{0%{transform:scale(1)}to{transform:scale(0)}}@keyframes _traverse-ellipsis2_14l1h_1{0%{transform:translate(0)}to{transform:translate(24px)}}")), document.head.appendChild(t);
|
|
35486
35487
|
}
|
|
35487
35488
|
} catch (e) {
|
|
35488
35489
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
35489
35490
|
}
|
|
35490
35491
|
})();
|
|
35491
35492
|
const kD = et(pt((t, e) => {
|
|
35492
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, parentFloat: a, ...s } = t, l =
|
|
35493
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, parentFloat: a, ...s } = t, l = fo(n, ["formatAlignLeftToggle", "formatAlignCenterToggle", "formatAlignRightToggle", "formatAlignJustifyToggle", "formatAlignCenterContinuousToggle", "formatAlignFillToggle", "formatAlignDistributedHorizontalToggle"]), c = ce(() => {
|
|
35493
35494
|
for (let m = 0; m < l.length; m++) if (l[m]?.state()) return l[m].key();
|
|
35494
35495
|
return l[0]?.key();
|
|
35495
35496
|
}, [l]), d = ce(() => {
|
|
@@ -35500,12 +35501,12 @@ const kD = et(pt((t, e) => {
|
|
|
35500
35501
|
const m = { ...r };
|
|
35501
35502
|
return delete m.beforeExecute, m;
|
|
35502
35503
|
}, [r]), h = ve((m, p) => {
|
|
35503
|
-
const f = { variant: Sn.Menuitem, commandHook: r, scope: o, disabled: i }, g = ne(Wt, { children: [v(dt, { ...f, command: p.getCommand("formatAlignLeftToggle"), icon: d.get("formatAlignLeftToggle") }), v(dt, { ...f, command: p.getCommand("formatAlignCenterToggle"), icon: d.get("formatAlignCenterToggle") }), v(dt, { ...f, command: p.getCommand("formatAlignRightToggle"), icon: d.get("formatAlignRightToggle") }), v(dt, { ...f, command: p.getCommand("formatAlignJustifyToggle"), icon: d.get("formatAlignJustifyToggle") }), v(sn, { orientation: "horizontal" }), v(dt, { ...f, command: p.getCommand("formatAlignCenterContinuousToggle"), icon: d.get("formatAlignCenterContinuousToggle") }), v(dt, { ...f, command: p.getCommand("formatAlignFillToggle"), icon: d.get("formatAlignFillToggle") }), v(dt, { ...f, command: p.getCommand("formatAlignDistributedHorizontalToggle"), icon: d.get("formatAlignDistributedHorizontalToggle") })] }), y = ne(Ge, { sx: { className:
|
|
35504
|
+
const f = { variant: Sn.Menuitem, commandHook: r, scope: o, disabled: i }, g = ne(Wt, { children: [v(dt, { ...f, command: p.getCommand("formatAlignLeftToggle"), icon: d.get("formatAlignLeftToggle") }), v(dt, { ...f, command: p.getCommand("formatAlignCenterToggle"), icon: d.get("formatAlignCenterToggle") }), v(dt, { ...f, command: p.getCommand("formatAlignRightToggle"), icon: d.get("formatAlignRightToggle") }), v(dt, { ...f, command: p.getCommand("formatAlignJustifyToggle"), icon: d.get("formatAlignJustifyToggle") }), v(sn, { orientation: "horizontal" }), v(dt, { ...f, command: p.getCommand("formatAlignCenterContinuousToggle"), icon: d.get("formatAlignCenterContinuousToggle") }), v(dt, { ...f, command: p.getCommand("formatAlignFillToggle"), icon: d.get("formatAlignFillToggle") }), v(dt, { ...f, command: p.getCommand("formatAlignDistributedHorizontalToggle"), icon: d.get("formatAlignDistributedHorizontalToggle") })] }), y = ne(Ge, { sx: { className: mo("quick-buttons"), display: "flex", alignItems: "center", justifyContent: "center" }, onClick: (b) => b.stopPropagation(), children: [v(dt, { command: p.getCommand("formatIndentDecrease"), commandHook: u, scope: o, disabled: i, icon: Ke(v(kQ, {})) }), v(dt, { command: p.getCommand("formatIndentIncrease"), commandHook: u, scope: o, disabled: i, icon: Ke(v(EQ, {})) })] }), w = ne(Ge, { sx: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden" }, ...s, children: [y, v(sn, { orientation: "horizontal" }), v(Ge, { sx: { overflow: "auto", flex: "1 1 100%" }, children: g })] });
|
|
35504
35505
|
return pr({ ...m, children: w });
|
|
35505
35506
|
}, [i, r]);
|
|
35506
35507
|
return v(Mr, { ref: e, parentFloat: a, commands: n, commandHook: r, scope: o, createPopupPanel: h, label: "Horizontal Alignment", tooltip: "Configure how text is placed in the horizontal direction of the cell.", quickCommand: c, icon: d.get(c) ?? v(Lv, {}), ...s });
|
|
35507
35508
|
})), TD = et(pt((t, e) => {
|
|
35508
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s =
|
|
35509
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s = fo(n, ["formatAlignTopToggle", "formatAlignMiddleToggle", "formatAlignBottomToggle", "formatAlignJustifyVerticalToggle", "formatAlignDistributedVerticalToggle"]), l = ce(() => {
|
|
35509
35510
|
for (let u = 0; u < s.length; u++) if (s[u]?.state()) return s[u].key();
|
|
35510
35511
|
return s[0]?.key();
|
|
35511
35512
|
}, [s]), c = ce(() => {
|
|
@@ -35517,7 +35518,7 @@ const kD = et(pt((t, e) => {
|
|
|
35517
35518
|
}, [i, r, c]);
|
|
35518
35519
|
return v(Mr, { ref: e, commands: n, commandHook: r, createPopupPanel: d, label: "Vertical Alignment", tooltip: "Configure how text is placed in the vertical direction of the cell.", icon: c.get(l) ?? Ke(v(uk, {})), ...a });
|
|
35519
35520
|
})), MD = et(pt((t, e) => {
|
|
35520
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s =
|
|
35521
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s = fo(n, ["formatTextOverflowVisibleToggle", "formatTextOverflowWrapToggle", "formatTextOverflowClipToggle", "formatTextOverflowShrinkToggle"]), l = ce(() => {
|
|
35521
35522
|
for (let u = 0; u < s.length; u++) if (s[u]?.state()) return s[u].key();
|
|
35522
35523
|
return s[0]?.key();
|
|
35523
35524
|
}, [s]), c = ce(() => {
|
|
@@ -35529,7 +35530,7 @@ const kD = et(pt((t, e) => {
|
|
|
35529
35530
|
}, [i, r, o]);
|
|
35530
35531
|
return v(Mr, { ref: e, commands: n, commandHook: r, scope: o, label: "Text Overflow", tooltip: "Configure how text behaves when it doesn't fit within a cell.", createPopupPanel: d, icon: c.get(l) ?? Ke(v(wE, {})), ...a });
|
|
35531
35532
|
})), RD = et(pt((t, e) => {
|
|
35532
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s =
|
|
35533
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s = fo(n, ["formatTextRotate0", "formatTextRotate315", "formatTextRotate45", "formatTextRotate90", "formatTextRotate270", "formatSubscriptToggle", "formatTextRotateCustom"]), l = ce(() => {
|
|
35533
35534
|
for (let h = 0; h < s.length; h++) if (s[h]?.state()) return s[h].key();
|
|
35534
35535
|
return s[1]?.key();
|
|
35535
35536
|
}, [s]), c = ce(() => {
|
|
@@ -35839,7 +35840,7 @@ function Z2(t, e, n, r = n) {
|
|
|
35839
35840
|
let o;
|
|
35840
35841
|
return o = typeof t == "function" ? t(n) : Array.isArray(t) ? t[n] || r : Q5(t, n) || r, e && (o = e(o, r, t)), o;
|
|
35841
35842
|
}
|
|
35842
|
-
function
|
|
35843
|
+
function Lo(t) {
|
|
35843
35844
|
const { prop: e, cssProperty: n = t.prop, themeKey: r, transform: o } = t, i = (a) => {
|
|
35844
35845
|
if (a[e] == null) return null;
|
|
35845
35846
|
const s = a[e], l = Q5(a.theme, r) || {};
|
|
@@ -35886,13 +35887,13 @@ function zD(t, e) {
|
|
|
35886
35887
|
return Pl(o, o[a], l);
|
|
35887
35888
|
}(t, e, r, n)).reduce(qh, {});
|
|
35888
35889
|
}
|
|
35889
|
-
function
|
|
35890
|
+
function So(t) {
|
|
35890
35891
|
return zD(t, LD);
|
|
35891
35892
|
}
|
|
35892
|
-
function
|
|
35893
|
+
function xo(t) {
|
|
35893
35894
|
return zD(t, PD);
|
|
35894
35895
|
}
|
|
35895
|
-
|
|
35896
|
+
So.propTypes = {}, So.filterProps = LD, xo.propTypes = {}, xo.filterProps = PD;
|
|
35896
35897
|
const CT = (t, e, n, r = []) => {
|
|
35897
35898
|
let o = t;
|
|
35898
35899
|
e.forEach((i, a) => {
|
|
@@ -35931,7 +35932,7 @@ function Xa(t) {
|
|
|
35931
35932
|
return typeof t != "number" ? t : `${t}px solid`;
|
|
35932
35933
|
}
|
|
35933
35934
|
function ls(t, e) {
|
|
35934
|
-
return
|
|
35935
|
+
return Lo({ prop: t, themeKey: "borders", transform: e });
|
|
35935
35936
|
}
|
|
35936
35937
|
const Bte = ls("border", Xa), $te = ls("borderTop", Xa), Hte = ls("borderRight", Xa), Vte = ls("borderBottom", Xa), jte = ls("borderLeft", Xa), Wte = ls("borderColor"), Ute = ls("borderTopColor"), Gte = ls("borderRightColor"), qte = ls("borderBottomColor"), Kte = ls("borderLeftColor"), Xte = ls("outline", Xa), Yte = ls("outlineColor"), Gg = (t) => {
|
|
35937
35938
|
if (t.borderRadius !== void 0 && t.borderRadius !== null) {
|
|
@@ -35970,8 +35971,8 @@ function tu(t, e) {
|
|
|
35970
35971
|
function xa(t) {
|
|
35971
35972
|
return t <= 1 && t !== 0 ? 100 * t + "%" : t;
|
|
35972
35973
|
}
|
|
35973
|
-
qg.propTypes = {}, qg.filterProps = ["rowGap"], J2(Q2, e5, qg,
|
|
35974
|
-
const Zte =
|
|
35974
|
+
qg.propTypes = {}, qg.filterProps = ["rowGap"], J2(Q2, e5, qg, Lo({ prop: "gridColumn" }), Lo({ prop: "gridRow" }), Lo({ prop: "gridAutoFlow" }), Lo({ prop: "gridAutoColumns" }), Lo({ prop: "gridAutoRows" }), Lo({ prop: "gridTemplateColumns" }), Lo({ prop: "gridTemplateRows" }), Lo({ prop: "gridTemplateAreas" }), Lo({ prop: "gridArea" })), J2(Lo({ prop: "color", themeKey: "palette", transform: tu }), Lo({ prop: "bgcolor", cssProperty: "backgroundColor", themeKey: "palette", transform: tu }), Lo({ prop: "backgroundColor", themeKey: "palette", transform: tu }));
|
|
35975
|
+
const Zte = Lo({ prop: "width", transform: xa }), sw = (t) => {
|
|
35975
35976
|
if (t.maxWidth !== void 0 && t.maxWidth !== null) {
|
|
35976
35977
|
const e = (n) => {
|
|
35977
35978
|
const r = t.theme?.breakpoints?.values?.[n] || J5[n];
|
|
@@ -35982,9 +35983,9 @@ const Zte = Do({ prop: "width", transform: xa }), sw = (t) => {
|
|
|
35982
35983
|
return null;
|
|
35983
35984
|
};
|
|
35984
35985
|
sw.filterProps = ["maxWidth"];
|
|
35985
|
-
const Jte =
|
|
35986
|
-
|
|
35987
|
-
const e3 = { border: { themeKey: "borders", transform: Xa }, borderTop: { themeKey: "borders", transform: Xa }, borderRight: { themeKey: "borders", transform: Xa }, borderBottom: { themeKey: "borders", transform: Xa }, borderLeft: { themeKey: "borders", transform: Xa }, borderColor: { themeKey: "palette" }, borderTopColor: { themeKey: "palette" }, borderRightColor: { themeKey: "palette" }, borderBottomColor: { themeKey: "palette" }, borderLeftColor: { themeKey: "palette" }, outline: { themeKey: "borders", transform: Xa }, outlineColor: { themeKey: "palette" }, borderRadius: { themeKey: "shape.borderRadius", style: Gg }, color: { themeKey: "palette", transform: tu }, bgcolor: { themeKey: "palette", cssProperty: "backgroundColor", transform: tu }, backgroundColor: { themeKey: "palette", transform: tu }, p: { style:
|
|
35986
|
+
const Jte = Lo({ prop: "minWidth", transform: xa }), Qte = Lo({ prop: "height", transform: xa }), ene = Lo({ prop: "maxHeight", transform: xa }), tne = Lo({ prop: "minHeight", transform: xa });
|
|
35987
|
+
Lo({ prop: "size", cssProperty: "width", transform: xa }), Lo({ prop: "size", cssProperty: "height", transform: xa }), J2(Zte, sw, Jte, Qte, ene, tne, Lo({ prop: "boxSizing" }));
|
|
35988
|
+
const e3 = { border: { themeKey: "borders", transform: Xa }, borderTop: { themeKey: "borders", transform: Xa }, borderRight: { themeKey: "borders", transform: Xa }, borderBottom: { themeKey: "borders", transform: Xa }, borderLeft: { themeKey: "borders", transform: Xa }, borderColor: { themeKey: "palette" }, borderTopColor: { themeKey: "palette" }, borderRightColor: { themeKey: "palette" }, borderBottomColor: { themeKey: "palette" }, borderLeftColor: { themeKey: "palette" }, outline: { themeKey: "borders", transform: Xa }, outlineColor: { themeKey: "palette" }, borderRadius: { themeKey: "shape.borderRadius", style: Gg }, color: { themeKey: "palette", transform: tu }, bgcolor: { themeKey: "palette", cssProperty: "backgroundColor", transform: tu }, backgroundColor: { themeKey: "palette", transform: tu }, p: { style: xo }, pt: { style: xo }, pr: { style: xo }, pb: { style: xo }, pl: { style: xo }, px: { style: xo }, py: { style: xo }, padding: { style: xo }, paddingTop: { style: xo }, paddingRight: { style: xo }, paddingBottom: { style: xo }, paddingLeft: { style: xo }, paddingX: { style: xo }, paddingY: { style: xo }, paddingInline: { style: xo }, paddingInlineStart: { style: xo }, paddingInlineEnd: { style: xo }, paddingBlock: { style: xo }, paddingBlockStart: { style: xo }, paddingBlockEnd: { style: xo }, m: { style: So }, mt: { style: So }, mr: { style: So }, mb: { style: So }, ml: { style: So }, mx: { style: So }, my: { style: So }, margin: { style: So }, marginTop: { style: So }, marginRight: { style: So }, marginBottom: { style: So }, marginLeft: { style: So }, marginX: { style: So }, marginY: { style: So }, marginInline: { style: So }, marginInlineStart: { style: So }, marginInlineEnd: { style: So }, marginBlock: { style: So }, marginBlockStart: { style: So }, marginBlockEnd: { style: So }, displayPrint: { cssProperty: !1, transform: (t) => ({ "@media print": { display: t } }) }, display: {}, overflow: {}, textOverflow: {}, visibility: {}, whiteSpace: {}, flexBasis: {}, flexDirection: {}, flexWrap: {}, justifyContent: {}, alignItems: {}, alignContent: {}, order: {}, flex: {}, flexGrow: {}, flexShrink: {}, alignSelf: {}, justifyItems: {}, justifySelf: {}, gap: { style: Q2 }, rowGap: { style: qg }, columnGap: { style: e5 }, gridColumn: {}, gridRow: {}, gridAutoFlow: {}, gridAutoColumns: {}, gridAutoRows: {}, gridTemplateColumns: {}, gridTemplateRows: {}, gridTemplateAreas: {}, gridArea: {}, position: {}, zIndex: { themeKey: "zIndex" }, top: {}, right: {}, bottom: {}, left: {}, boxShadow: { themeKey: "shadows" }, width: { transform: xa }, maxWidth: { style: sw }, minWidth: { transform: xa }, height: { transform: xa }, maxHeight: { transform: xa }, minHeight: { transform: xa }, boxSizing: {}, font: { themeKey: "font" }, fontFamily: { themeKey: "typography" }, fontSize: { themeKey: "typography" }, fontStyle: { themeKey: "typography" }, fontWeight: { themeKey: "typography" }, letterSpacing: {}, textTransform: {}, lineHeight: {}, textAlign: {}, typography: { cssProperty: !1, themeKey: "typography" } }, gm = /* @__PURE__ */ function() {
|
|
35988
35989
|
function t(e, n, r, o) {
|
|
35989
35990
|
const i = { [e]: n, theme: r }, a = o[e];
|
|
35990
35991
|
if (!a) return { [e]: n };
|
|
@@ -36105,10 +36106,10 @@ function BD(t, e) {
|
|
|
36105
36106
|
}, f = { h1: p(o, 96, 1.167, -1.5), h2: p(o, 60, 1.2, -0.5), h3: p(i, 48, 1.167, 0), h4: p(i, 34, 1.235, 0.25), h5: p(i, 24, 1.334, 0), h6: p(a, 20, 1.6, 0.15), subtitle1: p(i, 16, 1.75, 0.15), subtitle2: p(a, 14, 1.57, 0.1), body1: p(i, 16, 1.5, 0.15), body2: p(i, 14, 1.43, 0.15), button: p(a, 14, 1.75, 0.4, ET), caption: p(i, 12, 1.66, 0.4), overline: p(i, 12, 2.66, 1, ET), inherit: { fontFamily: "inherit", fontWeight: "inherit", fontSize: "inherit", lineHeight: "inherit", letterSpacing: "inherit" } };
|
|
36106
36107
|
return Ta({ htmlFontSize: l, pxToRem: m, fontFamily: n, fontSize: r, fontWeightLight: o, fontWeightRegular: i, fontWeightMedium: a, fontWeightBold: s, ...f }, u, { clone: !1 });
|
|
36107
36108
|
}
|
|
36108
|
-
function
|
|
36109
|
+
function io(...t) {
|
|
36109
36110
|
return [`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,0.2)`, `${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,0.14)`, `${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,0.12)`].join(",");
|
|
36110
36111
|
}
|
|
36111
|
-
const ine = ["none",
|
|
36112
|
+
const ine = ["none", io(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), io(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), io(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), io(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), io(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), io(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), io(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), io(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), io(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), io(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), io(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), io(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), io(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), io(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), io(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), io(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), io(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), io(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), io(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), io(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), io(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), io(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), io(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), io(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)], ane = { easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)", easeOut: "cubic-bezier(0.0, 0, 0.2, 1)", easeIn: "cubic-bezier(0.4, 0, 1, 1)", sharp: "cubic-bezier(0.4, 0, 0.6, 1)" }, sne = { shortest: 150, shorter: 200, short: 250, standard: 300, complex: 375, enteringScreen: 225, leavingScreen: 195 };
|
|
36112
36113
|
function TT(t) {
|
|
36113
36114
|
return `${Math.round(t)}ms`;
|
|
36114
36115
|
}
|
|
@@ -36434,7 +36435,7 @@ function bne({ theme: t, ...e }) {
|
|
|
36434
36435
|
try {
|
|
36435
36436
|
if (typeof document < "u") {
|
|
36436
36437
|
var t = document.createElement("style");
|
|
36437
|
-
t.appendChild(document.createTextNode("._sheetxl-
|
|
36438
|
+
t.appendChild(document.createTextNode("._sheetxl-grid_h9wwa_7{position:relative;box-sizing:border-box;user-select:none}._sheetxl-grid_h9wwa_7 *{box-sizing:border-box!important}._sheetxl-grid_h9wwa_7 *:focus{outline:none}._sheetxl-grid_h9wwa_7 .cell-container{position:absolute;overflow:visible;white-space:pre}._sheetxl-grid_h9wwa_7 .cell-container>*{inset:0;position:absolute}._sheetxl-grid_h9wwa_7 .sheetxl-stage{contain:strict}._sheetxl-grid_h9wwa_7 .sheetxl-stage>*{contain:strict}")), document.head.appendChild(t);
|
|
36438
36439
|
}
|
|
36439
36440
|
} catch (e) {
|
|
36440
36441
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
@@ -37241,13 +37242,13 @@ var F6;
|
|
|
37241
37242
|
try {
|
|
37242
37243
|
if (typeof document < "u") {
|
|
37243
37244
|
var t = document.createElement("style");
|
|
37244
|
-
t.appendChild(document.createTextNode("._sheetxl-
|
|
37245
|
+
t.appendChild(document.createTextNode("._sheetxl-scrollbar_eblx4_6 ::-webkit-scrollbar-button{background:transparent}._fullscreen-portal-root_1mjsr_4{pointer-events:none;position:absolute;inset:0;width:100%;height:100%;z-index:1200}._fullscreen-portal-root_1mjsr_4>*{pointer-events:auto}")), document.head.appendChild(t);
|
|
37245
37246
|
}
|
|
37246
37247
|
} catch (e) {
|
|
37247
37248
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
37248
37249
|
}
|
|
37249
37250
|
}();
|
|
37250
|
-
const Ch = { Left: "left", Right: "right", Center: "center" },
|
|
37251
|
+
const Ch = { Left: "left", Right: "right", Center: "center" }, Io = "shift", Vc = "alt", yi = "ctrl", Rc = { Horizontal: "horizontal", Vertical: "vertical" };
|
|
37251
37252
|
function eL(t) {
|
|
37252
37253
|
var e, n, r = "";
|
|
37253
37254
|
if (typeof t == "string" || typeof t == "number") r += t;
|
|
@@ -37341,7 +37342,7 @@ const lw = et(pt((t, e) => {
|
|
|
37341
37342
|
const V = { orientation: s, disabled: Math.floor(A - T) <= Math.ceil(H), onMouseUp: B, onMouseLeave: B, onMouseDown: () => $(H, !0, !1) };
|
|
37342
37343
|
return f?.(V);
|
|
37343
37344
|
}, [d, s, H, O, A, T]);
|
|
37344
|
-
return ne("div", { ref: e, style: { display: "flex", flex: "1", flexDirection: k ? "column" : "row", padding: "0", ...i }, className: Dd("_sheetxl-
|
|
37345
|
+
return ne("div", { ref: e, style: { display: "flex", flex: "1", flexDirection: k ? "column" : "row", padding: "0", ...i }, className: Dd("_sheetxl-scrollbar_eblx4_6", a), ...g, children: [j, v("div", { className: "pseudo-scrollbar", style: { flex: "1 1 100%", display: "flex", boxSizing: "content-box", flexDirection: k ? "column" : "row", justifyContent: "center", alignItems: "center" }, ref: b, children: v("div", { tabIndex: -1, style: { flex: "1 1 100%", overflowY: k ? "scroll" : "hidden", overflowX: k ? "hidden" : "scroll", position: "relative", willChange: "transform" }, onScroll: P, ref: w, children: v("div", { ref: _, style: { position: "absolute", height: k ? r - o + (S ?? 0) : 1, width: k ? 1 : r - o + (x ?? 0) }, className: "scrollbar-viewport" }) }) }), W] });
|
|
37345
37346
|
}));
|
|
37346
37347
|
lw.displayName = "Scrollbar";
|
|
37347
37348
|
let QT = Date.now, pc = {}, $ne = 1;
|
|
@@ -37595,7 +37596,7 @@ function cL() {
|
|
|
37595
37596
|
const e = document.fullscreenElement;
|
|
37596
37597
|
if (!e) return;
|
|
37597
37598
|
let n = e.querySelector(".fullscreen-portal-root");
|
|
37598
|
-
n || (n = document.createElement("div"), n.className = "fullscreen-portal-root _fullscreen-portal-
|
|
37599
|
+
n || (n = document.createElement("div"), n.className = "fullscreen-portal-root _fullscreen-portal-root_1mjsr_4", e.appendChild(n));
|
|
37599
37600
|
}
|
|
37600
37601
|
return Lf++, t(), document.addEventListener("fullscreenchange", t), () => {
|
|
37601
37602
|
document.removeEventListener("fullscreenchange", t), Lf--, Lf <= 0 && (document.querySelectorAll(".fullscreen-portal-root").forEach((e) => {
|
|
@@ -38782,7 +38783,7 @@ const $i = -10, Rre = Object.freeze({ rowStart: 0, colStart: 0, rowEnd: 0, colEn
|
|
|
38782
38783
|
wt(yr, K, !1, t.current.getDimensions().containerWidth);
|
|
38783
38784
|
}, []), Qr = ve((K = !1) => {
|
|
38784
38785
|
wt(kr, K, !1, t.current.getDimensions().containerWidth);
|
|
38785
|
-
}, []),
|
|
38786
|
+
}, []), ko = ve(() => {
|
|
38786
38787
|
nn(kr);
|
|
38787
38788
|
}, []), Zo = ve(() => {
|
|
38788
38789
|
nn(yr);
|
|
@@ -38985,15 +38986,15 @@ const $i = -10, Rre = Object.freeze({ rowStart: 0, colStart: 0, rowEnd: 0, colEn
|
|
|
38985
38986
|
if (cn === lt.ranges.length - 1) {
|
|
38986
38987
|
De = null, se = null;
|
|
38987
38988
|
const In = an.rowStart === W().top && an.rowEnd === W().bottom, mn = an.colStart === W().left && an.colEnd === W().right, eo = K.getRangeCoordsBounds(an);
|
|
38988
|
-
let
|
|
38989
|
+
let To = null;
|
|
38989
38990
|
if (In || mn) {
|
|
38990
|
-
if (
|
|
38991
|
+
if (To = K.toClipBounds(eo, $i), Object.keys(K.allViews()).length > 1) {
|
|
38991
38992
|
const U0 = K.getVisibleRangeCoords(), G0 = K.allViews()[t5], u3 = K.allViews()[Mp], ni = K.allViews()[Rp], to = K.getAnchor();
|
|
38992
|
-
(mn && (to === Mp && G0 || to === wa && ni || !ln.isCellWithinRange({ colIndex: an.colStart, rowIndex: an.rowEnd }, U0) && !ln.isCellWithinRange({ colIndex: an.colStart, rowIndex: an.rowEnd + 1 }, U0)) || In && (to === Rp && G0 || to === wa && u3 || !ln.isCellWithinRange({ colIndex: an.colEnd, rowIndex: an.rowStart }, U0) && !ln.isCellWithinRange({ colIndex: an.colEnd + 1, rowIndex: an.rowStart }, U0))) && (
|
|
38993
|
+
(mn && (to === Mp && G0 || to === wa && ni || !ln.isCellWithinRange({ colIndex: an.colStart, rowIndex: an.rowEnd }, U0) && !ln.isCellWithinRange({ colIndex: an.colStart, rowIndex: an.rowEnd + 1 }, U0)) || In && (to === Rp && G0 || to === wa && u3 || !ln.isCellWithinRange({ colIndex: an.colEnd, rowIndex: an.rowStart }, U0) && !ln.isCellWithinRange({ colIndex: an.colEnd + 1, rowIndex: an.rowStart }, U0))) && (To = null);
|
|
38993
38994
|
}
|
|
38994
|
-
} else
|
|
38995
|
-
if (!
|
|
38996
|
-
De = { x:
|
|
38995
|
+
} else To = K.toClipBounds(eo, $i);
|
|
38996
|
+
if (!To || To.width === 0 || To.height === 0) continue;
|
|
38997
|
+
De = { x: To.x + To.width + 1, y: To.y + To.height + 1 }, To.width === 0 || To.height === 0 || an.rowStart === W().top && an.colStart === W().left && an.rowEnd === W().bottom && an.colEnd === W().right || (In ? (De.y = jt, se = "tr") : mn && (De.x = jt, se = "bl"));
|
|
38997
38998
|
}
|
|
38998
38999
|
}
|
|
38999
39000
|
let Gt = null;
|
|
@@ -39020,9 +39021,9 @@ const $i = -10, Rre = Object.freeze({ rowStart: 0, colStart: 0, rowEnd: 0, colEn
|
|
|
39020
39021
|
return v("div", { children: Fn }, "selection");
|
|
39021
39022
|
}, [ht, Le, p, de, L, Rn, W, f, I, z, B, $, H, j, Qe]), Vt = ce(() => {
|
|
39022
39023
|
const K = () => t.current;
|
|
39023
|
-
return [new Bn("moveToPageDown", K, { label: "Page Down", description: "Shift viewport down one page.", shortcut: [{ key: "PageDown" }] }, () => ur(!1)), new Bn("selectToPageDown", K, { label: "Select To Page Down", description: "Shift viewport and select down one page.", shortcut: [{ key: "PageDown", modifiers: [
|
|
39024
|
+
return [new Bn("moveToPageDown", K, { label: "Page Down", description: "Shift viewport down one page.", shortcut: [{ key: "PageDown" }] }, () => ur(!1)), new Bn("selectToPageDown", K, { label: "Select To Page Down", description: "Shift viewport and select down one page.", shortcut: [{ key: "PageDown", modifiers: [Io] }] }, () => ur(!0)), new Bn("moveToPageRight", K, { label: "Page Right", description: "Shift viewport right one page.", shortcut: [{ key: "PageDown", modifiers: [Vc] }] }, () => Wr(!1)), new Bn("selectToPageRight", K, { label: "Page Right", description: "Shift viewport right one page.", shortcut: [{ key: "PageDown", modifiers: [Vc, Io] }] }, () => Wr(!0)), new Bn("moveToPageUp", K, { label: "Page Up", description: "Shift viewport up one page.", shortcut: [{ key: "PageUp" }] }, () => Nn(!1)), new Bn("selectToPageUp", K, { label: "Page Up", description: "Shift viewport up one page.", shortcut: [{ key: "PageUp", modifiers: [Io] }] }, () => Nn(!0)), new Bn("moveToPageLeft", K, { label: "Page Left", description: "Shift viewport left one page.", shortcut: [{ key: "PageUp", modifiers: [Vc] }] }, () => Qr(!1)), new Bn("selectToPageLeft", K, { label: "Page Left", description: "Shift viewport left one page.", shortcut: [{ key: "PageUp", modifiers: [Vc, Io] }] }, () => Qr(!0)), new Bn("selectColumn", K, { label: "Select Column", description: "Select the columns for the selected cells.", shortcut: { key: "Space", modifiers: [yi] } }, Zt), new Bn("selectRow", K, { label: "Select Row", description: "Select the rows for the selected cells.", shortcut: { key: "Space", modifiers: [Io] } }, Ht), new Bn("selectToColumnStart", K, { label: "Select To Column Start", description: "Select the columns to the beginning of the sheet." }, () => yn(!0)), new Bn("selectToColumnEnd", K, { label: "Select To Column End", description: "Select the columns to the end of the sheet." }, () => Hn(!0)), new Bn("moveToRowStart", K, { label: "Move to Row Home", description: "Move to the beginning of the row.", shortcut: [{ key: "Home" }] }, () => Un(!1)), new Bn("selectToRowStart", K, { label: "Select to Row Home", description: "Select to the beginning of the row.", shortcut: [{ key: "Home", modifiers: [Io] }] }, () => Un(!0)), new Bn("moveToSheetStart", K, { label: "Move to Sheet Home", description: "Move to the beginning of the sheet.", shortcut: [{ key: "Home", modifiers: [yi] }] }, () => Yn(!1)), new Bn("selectToSheetStart", K, { label: "Select to Sheet Home", description: "Select to the beginning of the sheet.", shortcut: [{ key: "Home", modifiers: [yi, Io] }] }, () => Yn(!0)), new Bn("moveToRowEnd", K, { label: "Move to Row End", description: "Move to the end of the row.", shortcut: [{ key: "End" }] }, () => Gn(!1)), new Bn("selectToRowEnd", K, { label: "Select to Row End", description: "Select to the end of the row.", shortcut: [{ key: "End", modifiers: [Io] }] }, () => Gn(!0)), new Bn("moveToSheetEnd", K, { label: "Move to Sheet End", description: "Move to the end of the sheet.", shortcut: [{ key: "End", modifiers: [yi] }] }, () => Bt(!1)), new Bn("selectToSheetEnd", K, { label: "Select to Sheet End", description: "Select to the end of the sheet.", shortcut: [{ key: "End", modifiers: [yi, Io] }] }, () => Bt(!0)), new Bn("scrollToActiveCoords", K, { label: "Scroll to Active Cell", description: "Scroll to the Active Cell.", shortcut: { key: "Backspace", modifiers: [yi] } }, hn), new Bn("scrollToActiveCoordsClearSelection", K, { label: "Scroll to Active Cell", description: "Scroll to the Active Cell and clear selection.", shortcut: { key: "Backspace", modifiers: [Io] } }, () => {
|
|
39024
39025
|
ke(), Cn(G.cell, !0);
|
|
39025
|
-
}), new Bn("traverseSelectionRight", K, { label: "Traverse Right", description: "Traverse the selection moving rightward.", shortcut: { key: "Tab" } }, Zo), new Bn("traverseSelectionLeft", K, { label: "Traverse Left", description: "Traverse the selection moving leftward.", shortcut: { key: "Tab", modifiers: [
|
|
39026
|
+
}), new Bn("traverseSelectionRight", K, { label: "Traverse Right", description: "Traverse the selection moving rightward.", shortcut: { key: "Tab" } }, Zo), new Bn("traverseSelectionLeft", K, { label: "Traverse Left", description: "Traverse the selection moving leftward.", shortcut: { key: "Tab", modifiers: [Io] } }, ko), new Bn("traverseSelectionDown", K, { label: "Traverse Down", description: "Traverse the selection moving downward.", shortcut: [{ key: "Enter" }, { key: "NumpadEnter" }] }, Bi), new Bn("traverseSelectionUp", K, { label: "Traverse Up", description: "Traverse the selection moving upward.", shortcut: [{ key: "Enter", modifiers: [Io] }, { key: "NumpadEnter", modifiers: [Io] }] }, zi), new Bn("moveLeft", K, { label: "Move Left", description: "Move active cell to the left.", shortcut: [{ key: "ArrowLeft" }] }, hi), new Bn("selectLeft", K, { label: "Select Left", description: "Extend selection left.", shortcut: [{ key: "ArrowLeft", modifiers: [Io] }] }, gt), new Bn("moveContentfulLeft", K, { label: "Move Left Contentful", description: "Move left to the next cell with content.", shortcut: [{ key: "ArrowLeft", modifiers: [yi] }] }, It), new Bn("selectContentfulLeft", K, { label: "Select Left Contentful", description: "Extend selection left to the next cell with content.", shortcut: [{ key: "ArrowLeft", modifiers: [yi, Io] }] }, Nt), new Bn("moveRight", K, { label: "Move Right", description: "Move active cell to the right.", shortcut: [{ key: "ArrowRight" }] }, kt), new Bn("selectRight", K, { label: "Select Right", description: "Extend selection right.", shortcut: [{ key: "ArrowRight", modifiers: [Io] }] }, zt), new Bn("moveContentfulRight", K, { label: "Move Right Contentful", description: "Move right to the next cell with content.", shortcut: [{ key: "ArrowRight", modifiers: [yi] }] }, Xt), new Bn("selectContentfulRight", K, { label: "Select Right Contentful", description: "Extend selection right to the next cell with content.", shortcut: [{ key: "ArrowRight", modifiers: [yi, Io] }] }, Qt), new Bn("moveUp", K, { label: "Move Up", description: "Move active cell to the up.", shortcut: [{ key: "ArrowUp" }] }, Yt), new Bn("selectUp", K, { label: "Select Up", description: "Extend selection up.", shortcut: [{ key: "ArrowUp", modifiers: [Io] }] }, rn), new Bn("moveContentfulUp", K, { label: "Move Up Contentful", description: "Move up to the next cell with content.", shortcut: [{ key: "ArrowUp", modifiers: [yi] }] }, tn), new Bn("selectContentfulUp", K, { label: "Select Up Contentful", description: "Extend selection up to the next cell with content.", shortcut: [{ key: "ArrowUp", modifiers: [yi, Io] }] }, Dn), new Bn("moveDown", K, { label: "Move Down", description: "Move active cell to the down.", shortcut: [{ key: "ArrowDown" }] }, cr), new Bn("selectDown", K, { label: "Select Down", description: "Extend selection down.", shortcut: [{ key: "ArrowDown", modifiers: [Io] }] }, Vn), new Bn("moveContentfulDown", K, { label: "Move Down Contentful", description: "Move down to the next cell with content.", shortcut: [{ key: "ArrowDown", modifiers: [yi] }] }, nt), new Bn("selectContentfulDown", K, { label: "Select Down Contentful", description: "Extend selection down to the next cell with content.", shortcut: [{ key: "ArrowDown", modifiers: [yi, Io] }] }, Dt), new Bn("selectVisible", K, { label: "Select Visible", description: "Select visible cells only.", shortcut: { key: ";", modifiers: [Vc] } }, qn), new Bn("traverseSelectionPreviousRange", K, { label: "Traverse Previous Range", description: "Traverse the selection to the previous range.", shortcut: { key: "ArrowLeft", modifiers: [yi, Vc] } }, Oa), new Bn("traverseSelectionNextRange", K, { label: "Traverse Next Range", description: "Traverse the selection to the next range.", shortcut: { key: "ArrowRight", modifiers: [yi, Vc] } }, As), new Bn("traverseSelectionCorners", K, { label: "Traverse Corners", description: "Traverse the selection through the corners of the selected range.", shortcut: { key: ".", modifiers: [yi] } }, Na)];
|
|
39026
39027
|
}, []);
|
|
39027
39028
|
return ce(() => {
|
|
39028
39029
|
e?.addCommands(Vt, !0);
|
|
@@ -39031,7 +39032,7 @@ const $i = -10, Rre = Object.freeze({ rowStart: 0, colStart: 0, rowEnd: 0, colEn
|
|
|
39031
39032
|
function Yg(t, e) {
|
|
39032
39033
|
if (!t) throw new Error("Invariant failed");
|
|
39033
39034
|
}
|
|
39034
|
-
const mM = { "sheetxl-grid": "_sheetxl-
|
|
39035
|
+
const mM = { "sheetxl-grid": "_sheetxl-grid_h9wwa_7" }, Are = Object.freeze({ top: 0, left: 0 }), Ore = Object.freeze({ bottom: -4, right: -4 }), Nre = Object.freeze({ horizontal: !0, vertical: !0 }), fM = [t5, Mp, Rp, wa], zs = 3e3, $6 = {}, vL = et(pt((t, e) => {
|
|
39035
39036
|
const { width: n, height: r, rowCount: o = 1, columnCount: i = 1, defaultRowHeight: a, defaultColumnWidth: s, getRowHeight: l, getColumnWidth: c, layout: d, onViewportScroll: u, onImmediateScroll: h, showGridLines: m = !0, gridLineColor: p = "rgb(224, 224, 224)", gridLineRowsProps: f, gridLineColumnsProps: g, clipCells: y = !0, cursor: w, freezeLeft: b = 0, freezeTop: x = 0, freezeLeftProps: S, freezeTopProps: _, cellRenderer: E, onViewportChange: R, onFirstRender: k, overlayRenderer: M, overlayProps: C, overlays: T, overlaysProps: A, allowOverlaysOverflow: O = !1, stageProps: N, stageWrapper: L = null, hiddenRowsAt: F, hiddenColumnsAt: D, hiddenCellAt: P, getVisibleCells: z, zoom: I = 1, enableMouseWheel: B = !0, onWheelScroll: $, getCellCoordsAsRangeCoords: H = ln.cellToRange, scrollPoint: j = Are, style: W = {}, ...V } = t;
|
|
39036
39037
|
Yg(E), Yg(!t?.children);
|
|
39037
39038
|
const X = $t(h, [h]), Q = $t(R, [R]), me = $t(u, [u]), te = $t($, [$]), ue = $t(k, [k]), Se = Ie(null), be = Ie(null), Y = Ie(null), [ee, pe] = Li((gt) => gt + 1, 0), [J, G] = xe({ left: j?.left ?? 0, top: j?.top ?? 0, horizontalScrollDirection: null, verticalScrollDirection: null }), oe = Ie(null), ie = Ie(J), { top: Re, left: Ae, verticalScrollDirection: Ze, horizontalScrollDirection: qe } = J, de = Ie(!1), it = ((gt) => {
|
|
@@ -39359,15 +39360,15 @@ const mM = { "sheetxl-grid": "_sheetxl-grid_11irg_13" }, Are = Object.freeze({ t
|
|
|
39359
39360
|
It[kt] = v("svg", { width: `${Yt}`, height: `${rn}`, viewBox: `0 0 ${Yt} ${rn}`, preserveAspectRatio: "none", shapeRendering: "crispEdges", style: { position: "absolute" }, children: Xt });
|
|
39360
39361
|
}
|
|
39361
39362
|
return It;
|
|
39362
|
-
},
|
|
39363
|
+
}, ko = ce(() => m === !0 || m?.horizontal === !0 ? Qr(!0) : null, [ee, m, q, x, b, p, f, o, i, Te, Oe, Nn]), Zo = ce(() => m === !0 || m?.vertical === !0 ? Qr(!1) : null, [ee, m, re, x, b, p, g, o, i, ge, Me, Nn]), zi = ce(() => Be.left === 0 ? null : v(zd, { linePoints: [0, 0, 0, ge + 1], bounds: { x: Be.left, y: 0, width: 1, height: ge + 1 }, ...S }), [ee, Be.left, ge, S]), Bi = ce(() => Be.top === 0 ? null : v(zd, { linePoints: [0, 0, Te + 1, 0], bounds: { x: 0, y: Be.top, width: Te + 1, height: 1 }, ..._ }), [ee, Be.top, Te, _]), Oa = ce(() => {
|
|
39363
39364
|
const gt = [], It = (Nt) => {
|
|
39364
39365
|
if (!Nt || !ye[Nt]) return;
|
|
39365
39366
|
const kt = ye[Nt].getBounds();
|
|
39366
|
-
return ne("div", { style: { position: "absolute", pointerEvents: "none", left: kt.x, top: kt.y, width: kt.width, height: kt.height, clip: `rect(0, ${kt.width + 1}px, ${kt.height + 1}px, 0)` }, className: `view view-${Nt}`, children: [
|
|
39367
|
+
return ne("div", { style: { position: "absolute", pointerEvents: "none", left: kt.x, top: kt.y, width: kt.width, height: kt.height, clip: `rect(0, ${kt.width + 1}px, ${kt.height + 1}px, 0)` }, className: `view view-${Nt}`, children: [ko?.[Nt], Zo?.[Nt], Nn?.[Nt].cells] }, `view:${Nt}`);
|
|
39367
39368
|
};
|
|
39368
39369
|
for (let Nt = 0; Nt < ke.length; Nt++) gt.push(It(ke[Nt]));
|
|
39369
39370
|
return v(Wt, { children: gt });
|
|
39370
|
-
}, [ye,
|
|
39371
|
+
}, [ye, ko, Zo, Nn]), As = ce(() => {
|
|
39371
39372
|
if (!e) return;
|
|
39372
39373
|
const gt = (Qt, Yt, rn, tn) => {
|
|
39373
39374
|
if (!tn || tn.length === 0) return;
|
|
@@ -39573,7 +39574,7 @@ et(pt((t, e) => {
|
|
|
39573
39574
|
try {
|
|
39574
39575
|
if (typeof document < "u") {
|
|
39575
39576
|
var t = document.createElement("style");
|
|
39576
|
-
t.appendChild(document.createTextNode(`._sheetxl-sheet_1tnw9_9 ._viewport-overlay_1tnw9_11{pointer-events:none}._sheetxl-sheet_1tnw9_9 ._viewport-overlay_1tnw9_11 *{pointer-events:initial}._sheetxl-sheet_1tnw9_9 .cell-container>*{overflow:hidden}._sheetxl-sheet_1tnw9_9 .cell-container .text-box{position:absolute}._sheetxl-sheet_1tnw9_9 .cell-container .text-line{text-rendering:optimizespeed;position:absolute;vertical-align:baseline;white-space:pre}._sheetxl-sheet_1tnw9_9 .cell-container .filter-button{position:absolute;display:flex;align-items:center;justify-content:center;flex-direction:row;margin-bottom:4px}._sheetxl-sheet_1tnw9_9 .cell-container .text-debug-bounds{position:absolute;background:green;pointer-events:none;opacity:.2}._sheetxl-sheet_1tnw9_9 .cell-container .fill{position:absolute}._sheetxl-sheet_1tnw9_9 .cell-container .pending{width:6px;height:6px;top:5px;left:4px;position:absolute;border:var(--sxl-app-color-primary-dark, grey) .5px;border-style:double;border-radius:50%;background-color:var(--sxl-app-color-button-surface, grey);opacity:1;animation:_pulse_1tnw9_1 1.5s infinite alternate}@keyframes _pulse_1tnw9_1{0%{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:.8}to{transform:scale(1);opacity:1}}._sheetxl-sheet_1tnw9_9 .cell-container .slider{position:absolute;width:130%;height:2px;bottom:1px;opacity:0;animation:_fadeIn_1tnw9_1 0s .5s forwards;overflow-x:hidden}._sheetxl-sheet_1tnw9_9 .cell-container .line{position:absolute;opacity:.3;background:var(--sxl-app-color-primary-light, rgb(173, 173, 173)) .5px;width:100%;height:2px}._sheetxl-sheet_1tnw9_9 .cell-container .subline{position:absolute;background:var(--sxl-app-color-primary, rgb(77, 77, 77)) .5px;opacity:.9;height:3px}._sheetxl-sheet_1tnw9_9 .cell-container .inc{animation-delay:0s;animation:_increase_1tnw9_1 3s infinite}@keyframes _fadeIn_1tnw9_1{0%{opacity:0;height:0px}to{opacity:1;height:2px}}@keyframes _increase_1tnw9_1{0%{left:-150%;width:30%;animation-timing-function:ease}to{left:100%;width:30%}}._sheet-selection_1tbzy_9 .fill-handle .dragging,._movable-area_1xcl8_9 .moveable-control-box .dragging{opacity:0}._movable-area_1xcl8_9 .moveable-control-box .moveable-control{width:11px;height:11px;margin-top:-5.5px;margin-left:-5.5px;background-color:var(--sxl-app-color-background, white);background-image:var(--sxl-app-image-background);border:2px solid var(--sxl-app-color-primary-dark, grey)}._movable-area_1xcl8_9 .moveable-control-box .moveable-line{background:var(--sxl-app-color-grey, grey)}@media (pointer: coarse){._movable-area_1xcl8_9 .moveable-control-box .moveable-control{width:22px;height:22px;margin-top:-11px;margin-left:-11px}}._editable-input_w34rk_11{position:absolute;left:0;top:0;width:100%;min-height:calc(100% + 1px);border:none;padding:0;outline:none;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1.2;letter-spacing:inherit;text-transform:inherit;background:transparent}@keyframes _pop_6tyma_1{0%{transform:scale(1)}to{transform:scale(var(--scale))}}@keyframes _fadeIn_6tyma_65{0%{opacity:0}to{opacity:1}}._Wrapper_6tyma_49{display:flex;box-sizing:border-box;transform:translate3d(var(--translate-x, 0),var(--translate-y, 0),0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));transform-origin:0 0;touch-action:manipulation}._Wrapper_6tyma_49._dragOverlay_6tyma_73{z-index:999}._Item_6tyma_93{position:relative;display:flex;align-items:center;outline:none;box-sizing:border-box;transform-origin:50% 50%;-webkit-tap-highlight-color:transparent;transform:scale(var(--scale, 1))}._Item_6tyma_93:not(._withHandle_6tyma_121){touch-action:manipulation}._Item_6tyma_93._dragging_6tyma_131:not(._dragOverlay_6tyma_73){z-index:999}._Item_6tyma_93._dragOverlay_6tyma_73{cursor:inherit;animation:_pop_6tyma_1 .2s cubic-bezier(.18,.67,.6,1.22);transform:scale(var(--scale));opacity:1}._Row_11qr0_1{display:flex;box-sizing:border-box}._TabStrip_nciwy_1::-webkit-scrollbar{display:none;height:0px}._TabStrip_nciwy_1{overflow-y:auto;overflow-x:hidden;position:relative}._script-editor_faoxm_9 .monaco-editor{position:absolute}._script-editor_faoxm_9 .monaco-editor .margin-icon{display:block;width:16px;height:16px;background-size:16px;background-repeat:no-repeat;background-position:center;background-size:contain}._script-editor_faoxm_9 .monaco-editor .formula{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="grey"><path d="m 12.106007,8.1692949 c 0.124174,-0.1578352 0.181773,-0.3565642 0.283755,-0.5271169 0.10273,-0.1715492 0.04413,-0.2027176 -0.129161,-0.2014713 -0.685452,0.00576 -1.371152,-0.00277 -2.056604,0.00501 C 10.021228,7.4479573 9.9586414,7.407817 9.9935503,7.2080883 10.145401,6.3413623 10.291269,5.4736396 10.51219,4.6213758 10.642847,4.1167002 10.782479,3.6117747 11.061498,3.1622046 11.339518,2.7138809 11.726751,2.5974365 12.2035,2.829328 c 0.398455,0.1934923 0.722604,0.4827333 0.990152,0.8340617 0.116944,0.1535968 0.27079,0.2740306 0.449073,0.1715499 0.343348,-0.1974819 0.644807,-0.4383502 0.819599,-0.826332 0.100985,-0.2244112 0.157836,-0.476001 0.04039,-0.7058977 C 14.339646,1.9840253 14.038187,1.7618584 13.707056,1.6394296 13.156999,1.4362128 12.562559,1.4840872 12.017239,1.6758341 11.38789,1.8970037 10.783727,2.2625445 10.259602,2.6724688 10.066109,2.8238217 9.8783519,2.9839017 9.7013165,3.1547035 9.0502751,3.7823067 8.5657962,4.529097 8.2246919,5.3651534 7.9823276,5.9595939 7.7888351,6.5660026 7.6913412,7.2015842 7.673637,7.318528 7.6357391,7.423253 7.5065759,7.4432009 7.3472438,7.4678879 7.1592376,7.4436995 6.9974121,7.4441728 6.6351128,7.4451447 6.2598478,7.3676233 5.9915515,7.6815496 5.8721151,7.8211835 5.7461952,7.9840062 5.6439635,8.1371045 c -0.1009847,0.1518511 -0.093255,0.3002122 0.085027,0.367535 0.1957362,0.073561 0.4528118,0.026182 0.6530361,0.0197 0.2645558,-0.00847 0.5291116,0.00501 0.7936674,-7.476e-4 0.1820229,-0.00374 0.2413669,0.030421 0.2064588,0.2358807 C 7.3487406,8.9587006 7.3095941,9.1492003 7.2804197,9.3464333 7.1804317,10.024404 7.0667304,10.700629 6.9525298,11.376606 6.7936963,12.314146 6.6371075,13.252434 6.4655575,14.188478 6.3017374,15.082631 6.1855427,15.985013 5.983074,16.873433 5.8249883,17.568607 5.7240037,18.277248 5.5556954,18.969682 5.4145655,19.550158 5.293882,20.143601 4.9722259,20.665731 4.7380909,21.045734 4.3959882,21.206312 3.9663652,21.104829 3.5778849,21.012322 3.2115961,20.866205 2.8951763,20.608631 2.6862246,20.438328 2.4473513,20.31141 2.1920214,20.458026 1.9519014,20.595915 1.7791048,20.851743 1.646453,21.088123 1.2205704,21.847879 1.915497,22.569984 2.6655289,22.684434 3.1692071,22.760986 3.666153,22.580208 4.1087416,22.356046 4.6996913,22.056582 5.2103511,21.635437 5.6387269,21.13874 5.9898058,20.731558 6.3575906,20.343327 6.6500737,19.890016 6.8450616,19.58756 7.0238427,19.274881 7.1866655,18.954471 7.7639005,17.817206 8.1227091,16.589926 8.4189318,15.354418 8.5613081,14.760227 8.716401,14.169777 8.8478064,13.572843 9.0268365,12.760724 9.1741996,11.934891 9.3083481,11.114294 9.3749255,10.707112 9.4310263,10.300679 9.5160532,9.8967389 9.5861222,9.5636133 9.6442168,9.2185186 9.6890985,8.8814035 9.7414633,8.4891827 9.990308,8.5136187 10.329668,8.4762164 c 0.286249,-0.03167 0.574492,-0.046376 0.861739,-0.067571 0.230395,-0.016703 0.494951,0.00396 0.711881,-0.088019 0.07754,-0.032911 0.147613,-0.080788 0.202719,-0.1513533 z"/><path d="M 22.473802,7.8481382 C 22.426924,7.6912996 22.341898,7.5501696 22.231437,7.4294861 22.130452,7.3192756 21.987827,7.1749046 21.851933,7.1098255 21.411589,6.8988785 20.817398,7.0838898 20.436149,7.3422154 20.23343,7.479854 20.052405,7.6519026 19.871131,7.8167201 19.691352,7.9802913 19.517061,8.1488492 19.35723,8.3321177 19.025101,8.7128687 18.724639,9.1210479 18.436396,9.5354601 18.296263,9.7374301 17.901549,10.472252 17.781115,10.399942 17.654198,10.323892 17.495365,9.5905657 17.435023,9.3843566 17.351243,9.0978583 17.29539,8.8016361 17.161741,8.5323425 16.97922,8.1643081 16.865268,7.7623629 16.608941,7.4307332 16.325934,7.0639457 16.001036,6.9584722 15.558946,7.092371 c -0.43436,0.1314054 -0.78469,0.4049374 -1.128539,0.6819608 -0.503927,0.4056851 -0.879442,0.926319 -1.256951,1.4439609 -0.28226,0.387483 -0.284753,0.3857373 0.04488,0.7380631 0.206458,0.2211702 0.202718,0.2184272 0.389229,-0.00847 0.2663,-0.3251469 0.524872,-0.6595196 0.882433,-0.8934057 0.261315,-0.1713009 0.417904,-0.1368908 0.57948,0.1326518 0.07929,0.1326517 0.146866,0.2752777 0.200225,0.4208957 0.335619,0.9141014 0.590201,1.8541344 0.89191,2.7784594 0.03815,0.117691 -0.01122,0.193991 -0.06707,0.278519 -0.356565,0.538837 -0.719363,1.074182 -1.123054,1.578607 -0.320409,0.401198 -0.643312,0.803891 -1.073932,1.097621 -0.187757,0.128912 -0.40768,0.217679 -0.635831,0.156839 -0.233887,-0.06283 -0.37377,-0.27478 -0.587459,-0.373521 -0.006,-0.003 -0.01272,-0.0052 -0.01895,-0.0079 -0.09974,-0.04064 -0.249845,-0.0389 -0.353074,-0.01571 -0.454059,0.102482 -0.697669,0.614139 -0.790177,1.023813 -0.08379,0.371776 -0.0013,0.778209 0.261315,1.062463 0.228899,0.24785 0.572248,0.351327 0.901634,0.356315 0.189003,0.0028 0.39995,-0.04663 0.57549,-0.11445 0.670241,-0.262062 1.181649,-0.887172 1.605038,-1.441717 0.285501,-0.374517 0.550555,-0.763994 0.829573,-1.143499 0.230645,-0.313677 0.68595,-1.247726 0.81586,-1.250718 0.07854,-0.0017 0.09924,0.185762 0.114199,0.241117 0.03341,0.123675 0.06658,0.247351 0.102232,0.370279 0.167561,0.578481 0.343848,1.156464 0.525122,1.730458 0.120934,0.384242 0.315921,0.782697 0.560779,1.103356 0.07431,0.09749 0.167311,0.190749 0.26306,0.266799 0.371276,0.296972 0.838799,0.27453 1.266177,0.123177 0.191498,-0.06757 0.370029,-0.163071 0.539335,-0.275527 0.781948,-0.519886 1.340732,-1.244235 1.868598,-2.002495 0.124423,-0.178781 0.107467,-0.278769 -0.03441,-0.428127 -0.367286,-0.386237 -0.357062,-0.389727 -0.705149,0.01995 -0.261066,0.306446 -0.527117,0.612643 -0.879442,0.818851 -0.245855,0.144621 -0.413416,0.103229 -0.592696,-0.118439 -0.14861,-0.183518 -0.246353,-0.396709 -0.33138,-0.614886 -0.349831,-0.901136 -0.588954,-1.838675 -0.885177,-2.757515 -0.21743,-0.674231 -0.223414,-0.680464 0.20945,-1.248723 0.447575,-0.587708 0.875703,-1.1968602 1.462163,-1.6613914 0.431119,-0.3416031 0.73183,-0.3226534 1.129037,0.059094 0.0788,0.075801 0.207456,0.1388856 0.316919,0.1476127 0.369781,0.029674 0.691187,-0.3024566 0.880939,-0.5792304 0.188006,-0.2727835 0.259319,-0.6183768 0.163072,-0.9392845 z"/></svg>');cursor:pointer}._script-editor_faoxm_9 .monaco-editor .macro{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="grey"><path d="M 5.1933594,1.4433594 6.3417969,2.5234375 6.2109375,2.6621094 c -3.466072,3.6769426 -3.467641,9.6565186 0,13.3339846 l 0.1308594,0.136718 -1.1484375,1.082032 -0.1328125,-0.140625 c -4.0371886,-4.28224 -4.0373752,-11.2077961 0,-15.4902346 z m 14.4726566,0 0.132812,0.140625 c 4.03717,4.2822197 4.037356,11.2058636 0,15.4882816 l -0.132812,0.140625 -1.148438,-1.080079 0.130859,-0.138671 c 3.465532,-3.675243 3.466902,-9.6542123 0,-13.3320316 L 18.517578,2.5234375 Z M 7.7597656,4.4335937 8.8769531,5.5488281 8.7421875,5.6816406 c -2.0366665,2.0366662 -2.037411,5.3404354 0,7.3769534 L 8.8769531,13.191406 7.7597656,14.310547 7.625,14.173828 C 4.9718615,11.520692 4.9723209,7.222936 7.6269531,4.5683594 Z m 9.3398434,0 0.132813,0.1347657 c 2.653779,2.6537788 2.65545,6.9500666 0,9.6054686 l -0.132813,0.136719 -1.117187,-1.119141 0.134765,-0.132812 c 2.036637,-2.035554 2.037534,-5.3391996 0,-7.3769534 L 15.982422,5.5488281 Z m -4.669921,1.7011719 c 0.811773,0 1.627703,0.304374 2.25,0.90625 1.260638,1.2198223 1.260413,3.1986104 0,4.4179684 -0.355144,0.343115 -0.779063,0.585007 -1.226563,0.732422 l -0.234375,0.07617 v 3.386719 h 0.002 v 6.048828 c 0,0.436615 -0.351565,0.791016 -0.789062,0.791016 -0.43763,0 -0.791016,-0.354618 -0.791016,-0.791016 v -3.308594 -6.126953 l -0.234375,-0.07617 c -0.448339,-0.147699 -0.871819,-0.38969 -1.226562,-0.732422 -1.2608671,-1.22004 -1.2605877,-3.1984433 0,-4.4179684 0.62227,-0.6019293 1.438264,-0.90625 2.25,-0.90625 z m 0,1.5820313 c -0.417461,0 -0.829931,0.1510762 -1.146485,0.4570312 -0.615751,0.5967629 -0.616877,1.5583713 0,2.1562499 0.314469,0.303373 0.726552,0.455078 1.146485,0.455078 0.421182,0 0.833304,-0.153008 1.148437,-0.457031 0.61548,-0.5965047 0.616739,-1.5585025 0,-2.15625 C 13.261859,7.8661993 12.846121,7.7167969 12.429688,7.7167969 Z"/></svg>');cursor:pointer}._script-editor_faoxm_9 .monaco-editor .autorun{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="grey"><path d="M10 15h5.88c.27-.31.67-.5 1.12-.5.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5c-.44 0-.84-.19-1.12-.5H11.9c-.46 2.28-2.48 4-4.9 4-2.76 0-5-2.24-5-5 0-2.42 1.72-4.44 4-4.9v2.07c-1.16.41-2 1.53-2 2.83 0 1.65 1.35 3 3 3s3-1.35 3-3zm2.5-11c1.65 0 3 1.35 3 3h2c0-2.76-2.24-5-5-5s-5 2.24-5 5c0 1.43.6 2.71 1.55 3.62l-2.35 3.9c-.68.14-1.2.75-1.2 1.48 0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5c0-.16-.02-.31-.07-.45l3.38-5.63C10.49 9.61 9.5 8.42 9.5 7c0-1.65 1.35-3 3-3m4.5 9c-.64 0-1.23.2-1.72.54l-3.05-5.07C11.53 8.35 11 7.74 11 7c0-.83.67-1.5 1.5-1.5S14 6.17 14 7c0 .15-.02.29-.06.43l2.19 3.65c.28-.05.57-.08.87-.08 2.76 0 5 2.24 5 5s-2.24 5-5 5c-1.85 0-3.47-1.01-4.33-2.5h2.67c.48.32 1.05.5 1.66.5 1.65 0 3-1.35 3-3s-1.35-3-3-3"/></svg>');cursor:pointer}`)), document.head.appendChild(t);
|
|
39577
|
+
t.appendChild(document.createTextNode(`._sheetxl-sheet_1qeq6_5 ._viewport-overlay_1qeq6_6{pointer-events:none}._sheetxl-sheet_1qeq6_5 ._viewport-overlay_1qeq6_6 *{pointer-events:initial}._sheetxl-sheet_1qeq6_5 .cell-container>*{overflow:hidden}._sheetxl-sheet_1qeq6_5 .cell-container .text-box{position:absolute}._sheetxl-sheet_1qeq6_5 .cell-container .text-line{text-rendering:optimizespeed;position:absolute;vertical-align:baseline;white-space:pre}._sheetxl-sheet_1qeq6_5 .cell-container .filter-button{position:absolute;display:flex;align-items:center;justify-content:center;flex-direction:row;margin-bottom:4px}._sheetxl-sheet_1qeq6_5 .cell-container .text-debug-bounds{position:absolute;background:green;pointer-events:none;opacity:.2}._sheetxl-sheet_1qeq6_5 .cell-container .fill{position:absolute}._sheetxl-sheet_1qeq6_5 .cell-container .pending{width:6px;height:6px;top:5px;left:4px;position:absolute;border:var(--sxl-app-color-primary-dark, grey) .5px;border-style:double;border-radius:50%;background-color:var(--sxl-app-color-button-surface, grey);opacity:1;animation:_pulse_1qeq6_1 1.5s infinite alternate}@keyframes _pulse_1qeq6_1{0%{transform:scale(1);opacity:1}50%{transform:scale(1.2);opacity:.8}to{transform:scale(1);opacity:1}}._sheetxl-sheet_1qeq6_5 .cell-container .slider{position:absolute;width:130%;height:2px;bottom:1px;opacity:0;animation:_fadeIn_1qeq6_1 0s .5s forwards;overflow-x:hidden}._sheetxl-sheet_1qeq6_5 .cell-container .line{position:absolute;opacity:.3;background:var(--sxl-app-color-primary-light, rgb(173, 173, 173)) .5px;width:100%;height:2px}._sheetxl-sheet_1qeq6_5 .cell-container .subline{position:absolute;background:var(--sxl-app-color-primary, rgb(77, 77, 77)) .5px;opacity:.9;height:3px}._sheetxl-sheet_1qeq6_5 .cell-container .inc{animation-delay:0s;animation:_increase_1qeq6_1 3s infinite}@keyframes _fadeIn_1qeq6_1{0%{opacity:0;height:0px}to{opacity:1;height:2px}}@keyframes _increase_1qeq6_1{0%{left:-150%;width:30%;animation-timing-function:ease}to{left:100%;width:30%}}._sheet-selection_12wyx_5 .fill-handle .dragging,._movable-area_314c6_5 .moveable-control-box .dragging{opacity:0}._movable-area_314c6_5 .moveable-control-box .moveable-control{width:11px;height:11px;margin-top:-5.5px;margin-left:-5.5px;background-color:var(--sxl-app-color-background, white);background-image:var(--sxl-app-image-background);border:2px solid var(--sxl-app-color-primary-dark, grey)}._movable-area_314c6_5 .moveable-control-box .moveable-line{background:var(--sxl-app-color-grey, grey)}@media (pointer: coarse){._movable-area_314c6_5 .moveable-control-box .moveable-control{width:22px;height:22px;margin-top:-11px;margin-left:-11px}}._editable-input_1bqx6_6{position:absolute;left:0;top:0;width:100%;min-height:calc(100% + 1px);border:none;padding:0;outline:none;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:1.2;letter-spacing:inherit;text-transform:inherit;background:transparent}@keyframes _pop_1wyun_1{0%{transform:scale(1)}to{transform:scale(var(--scale))}}@keyframes _fadeIn_1wyun_33{0%{opacity:0}to{opacity:1}}._Wrapper_1wyun_25{display:flex;box-sizing:border-box;transform:translate3d(var(--translate-x, 0),var(--translate-y, 0),0) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1));transform-origin:0 0;touch-action:manipulation}._Wrapper_1wyun_25._dragOverlay_1wyun_37{z-index:999}._Item_1wyun_47{position:relative;display:flex;align-items:center;outline:none;box-sizing:border-box;transform-origin:50% 50%;-webkit-tap-highlight-color:transparent;transform:scale(var(--scale, 1))}._Item_1wyun_47:not(._withHandle_1wyun_61){touch-action:manipulation}._Item_1wyun_47._dragging_1wyun_66:not(._dragOverlay_1wyun_37){z-index:999}._Item_1wyun_47._dragOverlay_1wyun_37{cursor:inherit;animation:_pop_1wyun_1 .2s cubic-bezier(.18,.67,.6,1.22);transform:scale(var(--scale));opacity:1}._Row_1kr10_1{display:flex;box-sizing:border-box}._TabStrip_3x0dp_1::-webkit-scrollbar{display:none;height:0px}._TabStrip_3x0dp_1{overflow-y:auto;overflow-x:hidden;position:relative}._script-editor_iy654_5 .monaco-editor{position:absolute}._script-editor_iy654_5 .monaco-editor .margin-icon{display:block;width:16px;height:16px;background-size:16px;background-repeat:no-repeat;background-position:center;background-size:contain}._script-editor_iy654_5 .monaco-editor .formula{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="grey"><path d="m 12.106007,8.1692949 c 0.124174,-0.1578352 0.181773,-0.3565642 0.283755,-0.5271169 0.10273,-0.1715492 0.04413,-0.2027176 -0.129161,-0.2014713 -0.685452,0.00576 -1.371152,-0.00277 -2.056604,0.00501 C 10.021228,7.4479573 9.9586414,7.407817 9.9935503,7.2080883 10.145401,6.3413623 10.291269,5.4736396 10.51219,4.6213758 10.642847,4.1167002 10.782479,3.6117747 11.061498,3.1622046 11.339518,2.7138809 11.726751,2.5974365 12.2035,2.829328 c 0.398455,0.1934923 0.722604,0.4827333 0.990152,0.8340617 0.116944,0.1535968 0.27079,0.2740306 0.449073,0.1715499 0.343348,-0.1974819 0.644807,-0.4383502 0.819599,-0.826332 0.100985,-0.2244112 0.157836,-0.476001 0.04039,-0.7058977 C 14.339646,1.9840253 14.038187,1.7618584 13.707056,1.6394296 13.156999,1.4362128 12.562559,1.4840872 12.017239,1.6758341 11.38789,1.8970037 10.783727,2.2625445 10.259602,2.6724688 10.066109,2.8238217 9.8783519,2.9839017 9.7013165,3.1547035 9.0502751,3.7823067 8.5657962,4.529097 8.2246919,5.3651534 7.9823276,5.9595939 7.7888351,6.5660026 7.6913412,7.2015842 7.673637,7.318528 7.6357391,7.423253 7.5065759,7.4432009 7.3472438,7.4678879 7.1592376,7.4436995 6.9974121,7.4441728 6.6351128,7.4451447 6.2598478,7.3676233 5.9915515,7.6815496 5.8721151,7.8211835 5.7461952,7.9840062 5.6439635,8.1371045 c -0.1009847,0.1518511 -0.093255,0.3002122 0.085027,0.367535 0.1957362,0.073561 0.4528118,0.026182 0.6530361,0.0197 0.2645558,-0.00847 0.5291116,0.00501 0.7936674,-7.476e-4 0.1820229,-0.00374 0.2413669,0.030421 0.2064588,0.2358807 C 7.3487406,8.9587006 7.3095941,9.1492003 7.2804197,9.3464333 7.1804317,10.024404 7.0667304,10.700629 6.9525298,11.376606 6.7936963,12.314146 6.6371075,13.252434 6.4655575,14.188478 6.3017374,15.082631 6.1855427,15.985013 5.983074,16.873433 5.8249883,17.568607 5.7240037,18.277248 5.5556954,18.969682 5.4145655,19.550158 5.293882,20.143601 4.9722259,20.665731 4.7380909,21.045734 4.3959882,21.206312 3.9663652,21.104829 3.5778849,21.012322 3.2115961,20.866205 2.8951763,20.608631 2.6862246,20.438328 2.4473513,20.31141 2.1920214,20.458026 1.9519014,20.595915 1.7791048,20.851743 1.646453,21.088123 1.2205704,21.847879 1.915497,22.569984 2.6655289,22.684434 3.1692071,22.760986 3.666153,22.580208 4.1087416,22.356046 4.6996913,22.056582 5.2103511,21.635437 5.6387269,21.13874 5.9898058,20.731558 6.3575906,20.343327 6.6500737,19.890016 6.8450616,19.58756 7.0238427,19.274881 7.1866655,18.954471 7.7639005,17.817206 8.1227091,16.589926 8.4189318,15.354418 8.5613081,14.760227 8.716401,14.169777 8.8478064,13.572843 9.0268365,12.760724 9.1741996,11.934891 9.3083481,11.114294 9.3749255,10.707112 9.4310263,10.300679 9.5160532,9.8967389 9.5861222,9.5636133 9.6442168,9.2185186 9.6890985,8.8814035 9.7414633,8.4891827 9.990308,8.5136187 10.329668,8.4762164 c 0.286249,-0.03167 0.574492,-0.046376 0.861739,-0.067571 0.230395,-0.016703 0.494951,0.00396 0.711881,-0.088019 0.07754,-0.032911 0.147613,-0.080788 0.202719,-0.1513533 z"/><path d="M 22.473802,7.8481382 C 22.426924,7.6912996 22.341898,7.5501696 22.231437,7.4294861 22.130452,7.3192756 21.987827,7.1749046 21.851933,7.1098255 21.411589,6.8988785 20.817398,7.0838898 20.436149,7.3422154 20.23343,7.479854 20.052405,7.6519026 19.871131,7.8167201 19.691352,7.9802913 19.517061,8.1488492 19.35723,8.3321177 19.025101,8.7128687 18.724639,9.1210479 18.436396,9.5354601 18.296263,9.7374301 17.901549,10.472252 17.781115,10.399942 17.654198,10.323892 17.495365,9.5905657 17.435023,9.3843566 17.351243,9.0978583 17.29539,8.8016361 17.161741,8.5323425 16.97922,8.1643081 16.865268,7.7623629 16.608941,7.4307332 16.325934,7.0639457 16.001036,6.9584722 15.558946,7.092371 c -0.43436,0.1314054 -0.78469,0.4049374 -1.128539,0.6819608 -0.503927,0.4056851 -0.879442,0.926319 -1.256951,1.4439609 -0.28226,0.387483 -0.284753,0.3857373 0.04488,0.7380631 0.206458,0.2211702 0.202718,0.2184272 0.389229,-0.00847 0.2663,-0.3251469 0.524872,-0.6595196 0.882433,-0.8934057 0.261315,-0.1713009 0.417904,-0.1368908 0.57948,0.1326518 0.07929,0.1326517 0.146866,0.2752777 0.200225,0.4208957 0.335619,0.9141014 0.590201,1.8541344 0.89191,2.7784594 0.03815,0.117691 -0.01122,0.193991 -0.06707,0.278519 -0.356565,0.538837 -0.719363,1.074182 -1.123054,1.578607 -0.320409,0.401198 -0.643312,0.803891 -1.073932,1.097621 -0.187757,0.128912 -0.40768,0.217679 -0.635831,0.156839 -0.233887,-0.06283 -0.37377,-0.27478 -0.587459,-0.373521 -0.006,-0.003 -0.01272,-0.0052 -0.01895,-0.0079 -0.09974,-0.04064 -0.249845,-0.0389 -0.353074,-0.01571 -0.454059,0.102482 -0.697669,0.614139 -0.790177,1.023813 -0.08379,0.371776 -0.0013,0.778209 0.261315,1.062463 0.228899,0.24785 0.572248,0.351327 0.901634,0.356315 0.189003,0.0028 0.39995,-0.04663 0.57549,-0.11445 0.670241,-0.262062 1.181649,-0.887172 1.605038,-1.441717 0.285501,-0.374517 0.550555,-0.763994 0.829573,-1.143499 0.230645,-0.313677 0.68595,-1.247726 0.81586,-1.250718 0.07854,-0.0017 0.09924,0.185762 0.114199,0.241117 0.03341,0.123675 0.06658,0.247351 0.102232,0.370279 0.167561,0.578481 0.343848,1.156464 0.525122,1.730458 0.120934,0.384242 0.315921,0.782697 0.560779,1.103356 0.07431,0.09749 0.167311,0.190749 0.26306,0.266799 0.371276,0.296972 0.838799,0.27453 1.266177,0.123177 0.191498,-0.06757 0.370029,-0.163071 0.539335,-0.275527 0.781948,-0.519886 1.340732,-1.244235 1.868598,-2.002495 0.124423,-0.178781 0.107467,-0.278769 -0.03441,-0.428127 -0.367286,-0.386237 -0.357062,-0.389727 -0.705149,0.01995 -0.261066,0.306446 -0.527117,0.612643 -0.879442,0.818851 -0.245855,0.144621 -0.413416,0.103229 -0.592696,-0.118439 -0.14861,-0.183518 -0.246353,-0.396709 -0.33138,-0.614886 -0.349831,-0.901136 -0.588954,-1.838675 -0.885177,-2.757515 -0.21743,-0.674231 -0.223414,-0.680464 0.20945,-1.248723 0.447575,-0.587708 0.875703,-1.1968602 1.462163,-1.6613914 0.431119,-0.3416031 0.73183,-0.3226534 1.129037,0.059094 0.0788,0.075801 0.207456,0.1388856 0.316919,0.1476127 0.369781,0.029674 0.691187,-0.3024566 0.880939,-0.5792304 0.188006,-0.2727835 0.259319,-0.6183768 0.163072,-0.9392845 z"/></svg>');cursor:pointer}._script-editor_iy654_5 .monaco-editor .macro{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="grey"><path d="M 5.1933594,1.4433594 6.3417969,2.5234375 6.2109375,2.6621094 c -3.466072,3.6769426 -3.467641,9.6565186 0,13.3339846 l 0.1308594,0.136718 -1.1484375,1.082032 -0.1328125,-0.140625 c -4.0371886,-4.28224 -4.0373752,-11.2077961 0,-15.4902346 z m 14.4726566,0 0.132812,0.140625 c 4.03717,4.2822197 4.037356,11.2058636 0,15.4882816 l -0.132812,0.140625 -1.148438,-1.080079 0.130859,-0.138671 c 3.465532,-3.675243 3.466902,-9.6542123 0,-13.3320316 L 18.517578,2.5234375 Z M 7.7597656,4.4335937 8.8769531,5.5488281 8.7421875,5.6816406 c -2.0366665,2.0366662 -2.037411,5.3404354 0,7.3769534 L 8.8769531,13.191406 7.7597656,14.310547 7.625,14.173828 C 4.9718615,11.520692 4.9723209,7.222936 7.6269531,4.5683594 Z m 9.3398434,0 0.132813,0.1347657 c 2.653779,2.6537788 2.65545,6.9500666 0,9.6054686 l -0.132813,0.136719 -1.117187,-1.119141 0.134765,-0.132812 c 2.036637,-2.035554 2.037534,-5.3391996 0,-7.3769534 L 15.982422,5.5488281 Z m -4.669921,1.7011719 c 0.811773,0 1.627703,0.304374 2.25,0.90625 1.260638,1.2198223 1.260413,3.1986104 0,4.4179684 -0.355144,0.343115 -0.779063,0.585007 -1.226563,0.732422 l -0.234375,0.07617 v 3.386719 h 0.002 v 6.048828 c 0,0.436615 -0.351565,0.791016 -0.789062,0.791016 -0.43763,0 -0.791016,-0.354618 -0.791016,-0.791016 v -3.308594 -6.126953 l -0.234375,-0.07617 c -0.448339,-0.147699 -0.871819,-0.38969 -1.226562,-0.732422 -1.2608671,-1.22004 -1.2605877,-3.1984433 0,-4.4179684 0.62227,-0.6019293 1.438264,-0.90625 2.25,-0.90625 z m 0,1.5820313 c -0.417461,0 -0.829931,0.1510762 -1.146485,0.4570312 -0.615751,0.5967629 -0.616877,1.5583713 0,2.1562499 0.314469,0.303373 0.726552,0.455078 1.146485,0.455078 0.421182,0 0.833304,-0.153008 1.148437,-0.457031 0.61548,-0.5965047 0.616739,-1.5585025 0,-2.15625 C 13.261859,7.8661993 12.846121,7.7167969 12.429688,7.7167969 Z"/></svg>');cursor:pointer}._script-editor_iy654_5 .monaco-editor .autorun{background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="grey"><path d="M10 15h5.88c.27-.31.67-.5 1.12-.5.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5c-.44 0-.84-.19-1.12-.5H11.9c-.46 2.28-2.48 4-4.9 4-2.76 0-5-2.24-5-5 0-2.42 1.72-4.44 4-4.9v2.07c-1.16.41-2 1.53-2 2.83 0 1.65 1.35 3 3 3s3-1.35 3-3zm2.5-11c1.65 0 3 1.35 3 3h2c0-2.76-2.24-5-5-5s-5 2.24-5 5c0 1.43.6 2.71 1.55 3.62l-2.35 3.9c-.68.14-1.2.75-1.2 1.48 0 .83.67 1.5 1.5 1.5s1.5-.67 1.5-1.5c0-.16-.02-.31-.07-.45l3.38-5.63C10.49 9.61 9.5 8.42 9.5 7c0-1.65 1.35-3 3-3m4.5 9c-.64 0-1.23.2-1.72.54l-3.05-5.07C11.53 8.35 11 7.74 11 7c0-.83.67-1.5 1.5-1.5S14 6.17 14 7c0 .15-.02.29-.06.43l2.19 3.65c.28-.05.57-.08.87-.08 2.76 0 5 2.24 5 5s-2.24 5-5 5c-1.85 0-3.47-1.01-4.33-2.5h2.67c.48.32 1.05.5 1.66.5 1.65 0 3-1.35 3-3s-1.35-3-3-3"/></svg>');cursor:pointer}`)), document.head.appendChild(t);
|
|
39577
39578
|
}
|
|
39578
39579
|
} catch (e) {
|
|
39579
39580
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
@@ -39588,9 +39589,9 @@ const CL = Object.freeze([8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30,
|
|
|
39588
39589
|
let r = wn.findEqualOrGreater(n, t);
|
|
39589
39590
|
return e ? (n[r] === t && (r += 1), n[r] || (r -= 1), n[r]) : (r -= 1, n[r]);
|
|
39590
39591
|
}, Hre = Object.freeze(Object.defineProperty({ __proto__: null, DefaultFontSizes: CL, findNextFontSize: p9 }, Symbol.toStringTag, { value: "Module" })), yM = et((t) => {
|
|
39591
|
-
const { anchorLocation: e =
|
|
39592
|
+
const { anchorLocation: e = Co.TopLeft, cellWidth: n, cellHeight: r, size: o = 7, inset: i = 1, darkMode: a, fill: s, pathProps: l, style: c, ...d } = t, u = o, h = i;
|
|
39592
39593
|
let m = "red", p = [], f = [];
|
|
39593
|
-
return e ===
|
|
39594
|
+
return e === Co.TopLeft ? (m = a ? "rgb(255, 198, 246)" : "green", p.push(h), f.push(h), p.push(h + u), f.push(h), p.push(h), f.push(h + u)) : e === Co.TopRight ? (m = a ? "rgb(0, 255, 255)" : "red", p.push(n - h), f.push(h), p.push(n - (h + u)), f.push(h), p.push(n - h), f.push(h + u)) : e === Co.BottomRight ? (m = a ? "rgb(236, 252, 211)" : "purple", p.push(n - h), f.push(r - h), p.push(n - (h + u)), f.push(r - h), p.push(n - h), f.push(r - (h + u))) : e === Co.BottomLeft && (m = a ? "rgb(255, 236, 183)" : "blue", p.push(h), f.push(r - h), p.push(h + u), f.push(r - h), p.push(h), f.push(r - (h + u))), v("svg", { width: `${n}`, height: `${r}`, viewBox: `0 0 ${n} ${r}`, style: { position: "absolute", width: `${n}px`, height: `${r}px`, pointerEvents: "none", ...c }, ...d, children: v("path", { d: `M ${p[0]} ${f[0]} L ${p[1]} ${f[1]} L ${p[2]} ${f[2]} L ${p[0]} ${f[0]} Z`, fill: s ?? m, ...l }) });
|
|
39594
39595
|
}), Vre = (t) => {
|
|
39595
39596
|
const { renderBounds: e, darkMode: n, zoom: r, disabled: o, filter: i, onFilterButtonMouseDown: a, style: s, ...l } = t, c = ce(() => {
|
|
39596
39597
|
let m = null;
|
|
@@ -39634,7 +39635,7 @@ const CL = Object.freeze([8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30,
|
|
|
39634
39635
|
const X = S.getComments(), Q = S.getWarnings(), me = S.getErrors();
|
|
39635
39636
|
if (X || C || me.length > 0 || Q.length > 0) {
|
|
39636
39637
|
const Xe = { size: 7 * s, darkMode: R, cellWidth: F * s + 2, cellHeight: b * s + 2, style: { top: -1, left: D * s - 1 } };
|
|
39637
|
-
V = V ?? [], (Q.length > 0 || me.length > 0 || C) && V.push(v(yM, { anchorLocation:
|
|
39638
|
+
V = V ?? [], (Q.length > 0 || me.length > 0 || C) && V.push(v(yM, { anchorLocation: Co.TopLeft, ...Xe }, `indicator-${V.length}`)), X && V.push(v(yM, { anchorLocation: Co.TopRight, ...Xe }, `indicator-${V.length}`));
|
|
39638
39639
|
}
|
|
39639
39640
|
const te = E.getFont();
|
|
39640
39641
|
let ue = k?.conditionalColor;
|
|
@@ -39732,10 +39733,10 @@ const CL = Object.freeze([8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30,
|
|
|
39732
39733
|
Bt[wt.lastRepeatIndex] = { type: _r.ParseRunType.Repeat, text: ar, width: qn }, hn = Bt, fe = { ...fe, width: wt.width + qn };
|
|
39733
39734
|
}
|
|
39734
39735
|
}
|
|
39735
|
-
const Hn = (Gn, Bt, Ln, qn, ar, ur, Nn, Wr, Qr,
|
|
39736
|
+
const Hn = (Gn, Bt, Ln, qn, ar, ur, Nn, Wr, Qr, ko = null) => {
|
|
39736
39737
|
let Zo, zi = Ht.width;
|
|
39737
39738
|
ot === We.HorizontalAlignment.Justify ? (zi = ar, _t || (Zo = "justify")) : ot === We.HorizontalAlignment.Distributed && (zi = ar, Zo = _t || Gn.text.split(" ").length - 1 == 0 ? "center" : "justify");
|
|
39738
|
-
const { style: Bi, className: Oa, ...As } =
|
|
39739
|
+
const { style: Bi, className: Oa, ...As } = ko;
|
|
39739
39740
|
let Na = Gn.text;
|
|
39740
39741
|
if (ot === We.HorizontalAlignment.Fill && k?.repeatChars.length === 0) {
|
|
39741
39742
|
const Yt = Math.max(1, Math.floor((Ht?.width ?? 0) / (Nn?.width ?? 1)));
|
|
@@ -40113,7 +40114,7 @@ const N0 = ML && window.ResizeObserver !== void 0 ? function() {
|
|
|
40113
40114
|
const k = d[R], M = k.coords;
|
|
40114
40115
|
if (!M) continue;
|
|
40115
40116
|
const C = k?.range ?? { rowStart: M.rowIndex, colStart: M.colIndex, rowEnd: M.rowIndex, colEnd: M.colIndex }, T = l.getVisibleRangeCoords();
|
|
40116
|
-
if (!
|
|
40117
|
+
if (!Bo.isRangesIntersect(C, T) && !Bo.isRangeWithinRange(C, T)) continue;
|
|
40117
40118
|
const A = M.colIndex, O = M.rowIndex, N = u[A], L = h[O];
|
|
40118
40119
|
if (C.rowEnd !== C.rowStart) {
|
|
40119
40120
|
const V = h[C.rowStart]?.spanIndex ?? -1, X = h[C.rowEnd]?.spanIndex ?? h[g[g.length - 1]].spanIndex + 1;
|
|
@@ -40180,7 +40181,7 @@ const N0 = ML && window.ResizeObserver !== void 0 ? function() {
|
|
|
40180
40181
|
}
|
|
40181
40182
|
return v("svg", { width: `${c.width}`, height: `${c.height}`, viewBox: `0 0 ${c.width} ${c.height}`, preserveAspectRatio: "none", shapeRendering: "crispEdges", style: { position: "absolute", left: "0px", top: "0px", width: `${c.width}px`, height: `${c.height}px`, pointerEvents: "none", transitionTimingFunction: "linear", transitionDelay: "0", transitionProperty: "left, top, width, height", willChange: "left, top, width, height, stroke-dashoffset", overflow: "visible" }, children: b }, "borders");
|
|
40182
40183
|
}, [t, r]) };
|
|
40183
|
-
}, SM =
|
|
40184
|
+
}, SM = Co.Center, Yre = Object.freeze({ horizontal: !1, vertical: !1 }), xM = yp.EmptyTopLeft, Zre = (t, e) => Bo.EmptyCell, Jre = (t, e) => new Promise((n, r) => {
|
|
40184
40185
|
r("StaticBorderRenderer does not support scrolling");
|
|
40185
40186
|
}), uw = et((t) => {
|
|
40186
40187
|
const { getBorderAt: e, width: n, height: r, style: o, rowCount: i = 2, columnCount: a = 2, darkMode: s, forceThinBorder: l, children: c, ...d } = t, u = Ie(null), [h, { width: m, height: p }] = N0(), f = n ?? m, g = r ?? p, y = ce(() => {
|
|
@@ -40200,7 +40201,7 @@ const N0 = ML && window.ResizeObserver !== void 0 ? function() {
|
|
|
40200
40201
|
return N;
|
|
40201
40202
|
}, [f, g]);
|
|
40202
40203
|
if (!b) return null;
|
|
40203
|
-
const C = { width: f, height: g }, T = { width: f, height: g }, A = { getStage: () => u.current, getTotalSize: () => C, getViewportSize: () => T, getLayout: () => _, getCellCoordsAsRangeCoords:
|
|
40204
|
+
const C = { width: f, height: g }, T = { width: f, height: g }, A = { getStage: () => u.current, getTotalSize: () => C, getViewportSize: () => T, getLayout: () => _, getCellCoordsAsRangeCoords: Bo.cellToRange, getVisibleRangeCoords: () => E, getVisibleRows: () => {
|
|
40204
40205
|
const N = [];
|
|
40205
40206
|
for (let L = 0; L < i; L++) N.push(L);
|
|
40206
40207
|
return N;
|
|
@@ -40267,7 +40268,7 @@ const Qre = (t) => {
|
|
|
40267
40268
|
s?.();
|
|
40268
40269
|
};
|
|
40269
40270
|
}, [t]);
|
|
40270
|
-
}, Hf = new
|
|
40271
|
+
}, Hf = new po("transparent");
|
|
40271
40272
|
var _M, CM;
|
|
40272
40273
|
(function() {
|
|
40273
40274
|
if (CM) return _M;
|
|
@@ -40425,11 +40426,11 @@ const a5 = et(pt((t, e) => {
|
|
|
40425
40426
|
const $ = o.getView().getFreezePanes();
|
|
40426
40427
|
return r === bi.Vertical ? $.coords.rowIndex === 0 ? { shift: 0, scroll: 0 } : { shift: o.getRowHeaders().findOffset($.coords.rowIndex) - $.topLeft.top, scroll: $.topLeft.top } : $.coords.colIndex === 0 ? { shift: 0, scroll: 0 } : { shift: o.getColumnHeaders().findOffset($.coords.colIndex) - $.topLeft.left, scroll: $.topLeft.left };
|
|
40427
40428
|
}, [_, E] = xe(S), [R, k] = xe(null), [M, C] = xe(!1), T = r === bi.Vertical ? o.getRowHeaders() : o.getColumnHeaders(), A = () => {
|
|
40428
|
-
const $ = o.getUsedRange()?.getCoords() ??
|
|
40429
|
+
const $ = o.getUsedRange()?.getCoords() ?? Bo.EmptyRange, H = o.getSelection().getCoords().cell;
|
|
40429
40430
|
return { colIndex: Math.max($.colEnd, H.colIndex), rowIndex: Math.max($.rowEnd, H.rowIndex) };
|
|
40430
40431
|
}, [O, N] = xe(A), L = O ? (r === bi.Vertical ? O.rowIndex : O.colIndex) + 1 : 0, F = () => {
|
|
40431
40432
|
const $ = A();
|
|
40432
|
-
|
|
40433
|
+
Bo.isEqualCells(O, $) || N($);
|
|
40433
40434
|
};
|
|
40434
40435
|
Mn(o.getView(), { onFreezeSplitChange: () => {
|
|
40435
40436
|
E(S);
|
|
@@ -40570,11 +40571,11 @@ const AM = (t, e, n = null) => {
|
|
|
40570
40571
|
var Wr, Qr;
|
|
40571
40572
|
if (qn) hn(Ln);
|
|
40572
40573
|
else {
|
|
40573
|
-
if (ar) return ((
|
|
40574
|
-
ot.current = Zt(
|
|
40574
|
+
if (ar) return ((ko, Zo = ko, zi) => {
|
|
40575
|
+
ot.current = Zt(ko), _t.current = Ht(Zo), Be(ot.current, _t.current, zi);
|
|
40575
40576
|
})(Ln, Ln, Nn), void (q && Hn(Nn, !0));
|
|
40576
|
-
((
|
|
40577
|
-
ot.current = Zt(
|
|
40577
|
+
((ko, Zo = ko, zi) => {
|
|
40578
|
+
ot.current = Zt(ko), _t.current = Ht(Zo), Oe(ot.current, _t.current, zi);
|
|
40578
40579
|
})(Ln, Ln, Nn), hn(Ln), q && Hn(Nn, !0);
|
|
40579
40580
|
}
|
|
40580
40581
|
}, onPointerMoveOrWait: qo.throttle((Bt) => {
|
|
@@ -40719,7 +40720,7 @@ const AM = (t, e, n = null) => {
|
|
|
40719
40720
|
if (!P && M.getMode()?.key === "copy") {
|
|
40720
40721
|
const z = F.getItem().getCoords(), I = h.getSelectedRanges().getCoords();
|
|
40721
40722
|
let B = !1;
|
|
40722
|
-
if (!B && z && I && F.getItem().getSource?.() === h) for (let $ = 0; !B && $ < I.length; $++) B =
|
|
40723
|
+
if (!B && z && I && F.getItem().getSource?.() === h) for (let $ = 0; !B && $ < I.length; $++) B = Bo.isRangesIntersect(z, I[$]);
|
|
40723
40724
|
P = B;
|
|
40724
40725
|
}
|
|
40725
40726
|
P && M.setMode(null), u?.()?.focus(), g?.(F, D);
|
|
@@ -40762,9 +40763,9 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
40762
40763
|
}, [n?.getStage()]), d && n ? d(n) : null;
|
|
40763
40764
|
})), uoe = { key: "dragCut", description: "Drag selection to move cell contents.", cursor: "move" }, hoe = { key: "dragCutInsert", description: "Drag selection to insert cell contents.", cursor: "copy" }, poe = { key: "dragCopy", description: "Drag selection to copy cell contents." }, moe = { key: "dragCopyInsert", description: "Drag selection to insert copied cell contents.", cursor: "move" }, NM = (t, e) => e.ctrlKey && e.shiftKey ? moe : e.ctrlKey ? poe : e.shiftKey ? hoe : uoe, foe = { key: "fill", description: "Drag selection to extend series or fill.", cursor: "crosshair" }, goe = et(pt((t, e) => {
|
|
40764
40765
|
const { view: n, commands: r, className: o, onFirstRender: i, notifier: a, onShowTooltip: s, onCloseTooltip: l, sheet: c, gridRef: d, gridStyle: u, isActive: h, editingCoords: m, ...p } = t, f = n?.getBounds(), g = $e(s, [s]), y = $e(l, [l]), [w, b] = xe(() => c?.getSelection().getCoords()), x = $e((te) => {
|
|
40765
|
-
|
|
40766
|
+
Bo.isEqualSelectionCoords(te, w) || c && c.getSelection().updateCoords(te);
|
|
40766
40767
|
}, [c, w]), S = Ms(), _ = Ie(null), [E, R] = xe(c?.getProtection().isLocked()), [k, M] = xe(c?.getView().getMovableSelection().length > 0), C = nr.detectIt().primaryInput === "touch", T = !C && h, A = m !== null || k, O = $e((te) => {
|
|
40767
|
-
const ue =
|
|
40768
|
+
const ue = Bo.cellToRange(te);
|
|
40768
40769
|
if (c.isClosed()) return ue;
|
|
40769
40770
|
const Se = c.getRange(ue, { excludeHidden: !0 }).getMerges();
|
|
40770
40771
|
return Se.length === 0 ? ue : Se[0];
|
|
@@ -40806,7 +40807,7 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
40806
40807
|
}, onMoveDragEnd: (te, ue) => {
|
|
40807
40808
|
S.setMode(null);
|
|
40808
40809
|
}, onMoveDragDone: async (te, ue, Se) => {
|
|
40809
|
-
if (
|
|
40810
|
+
if (Bo.isEqualRanges(te, ue)) return;
|
|
40810
40811
|
const be = c.getRange(ue);
|
|
40811
40812
|
if (a?.showOptions) {
|
|
40812
40813
|
const G = be.getDifferences(te);
|
|
@@ -40850,7 +40851,7 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
40850
40851
|
if (!be || be.isEmpty()) return;
|
|
40851
40852
|
const Y = be.toText();
|
|
40852
40853
|
if (!Y) return;
|
|
40853
|
-
const ee =
|
|
40854
|
+
const ee = Bo.cellToRange(be.getCoords()), pe = n.getRelativePointFromClient(0, 0);
|
|
40854
40855
|
let J = 0, G = 0, oe = e6;
|
|
40855
40856
|
if (Se === Z.Direction.Down) {
|
|
40856
40857
|
J = H.getColOffset(ee.colEnd + 1) - pe.x;
|
|
@@ -40886,7 +40887,7 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
40886
40887
|
};
|
|
40887
40888
|
}, [n?.getStage()]);
|
|
40888
40889
|
const Q = ti(e, () => ({}), []), me = Ie(null);
|
|
40889
|
-
return v("div", { className: ca(o, "sheet-selection", "_sheet-
|
|
40890
|
+
return v("div", { className: ca(o, "sheet-selection", "_sheet-selection_12wyx_5"), style: { position: "absolute", width: f?.width, height: f?.height, overflow: "hidden", pointerEvents: "none", willChange: "none" }, ref: Bu([Q, me]), ...p, children: W(n) });
|
|
40890
40891
|
})), jf = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }), yoe = { fireOnModelChange: !1 }, woe = et(pt((t, e) => {
|
|
40891
40892
|
const { children: n, view: r, movable: o, onRefLoad: i, onRefUnload: a, onHide: s, onShow: l, onUnFocus: c, isDragging: d, updateFrameBounds: u, dragStart: h, style: m, disabled: p, renderMovable: f, ...g } = t, [y, w] = xe(jf), [b, x] = xe(null), [S, _] = xe(!1), E = Ie(null);
|
|
40892
40893
|
sr(() => {
|
|
@@ -41050,7 +41051,7 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
41050
41051
|
Re.current = !0;
|
|
41051
41052
|
const de = ft.lazy(async () => {
|
|
41052
41053
|
try {
|
|
41053
|
-
const it = await import("./
|
|
41054
|
+
const it = await import("./Dwd9xRP6sCbvd7-2.js");
|
|
41054
41055
|
return Re.current = !1, Ae.current = !0, _([...S]), it;
|
|
41055
41056
|
} catch (it) {
|
|
41056
41057
|
return console.warn(it), j.current?.(!1), null;
|
|
@@ -41094,7 +41095,7 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
41094
41095
|
}, onDragEnd: (de) => {
|
|
41095
41096
|
}, onMouseUp: (de) => {
|
|
41096
41097
|
} }) }), [I, oe, S, n, c, d, u, E, k]);
|
|
41097
|
-
return v("div", { className: ca(h, "movable-area", "_movable-
|
|
41098
|
+
return v("div", { className: ca(h, "movable-area", "_movable-area_314c6_5"), style: { width: y.width, height: y.height, ...m, position: "absolute", overflow: "hidden", willChange: "transform" }, ref: Bu([G, J]), ...g, children: v("div", { className: "movable-scroll", style: { position: "absolute", cursor: "initial", left: 0, top: 0, width: y.width, height: y.height }, ...g, children: ne("div", { ref: D, style: { position: "absolute", pointerEvents: "auto" }, onFocus: (de) => {
|
|
41098
41099
|
x?.(), me(!0);
|
|
41099
41100
|
}, onBlur: (de) => {
|
|
41100
41101
|
me(!1);
|
|
@@ -41235,15 +41236,15 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
41235
41236
|
});
|
|
41236
41237
|
}), new at("formatAnchorTypeTwoCell", y, { label: "Move and size with cells", description: "Set your drawing to move and resize when underling sheet resizes." }, function() {
|
|
41237
41238
|
R(this, (N) => {
|
|
41238
|
-
N.setAnchorType(
|
|
41239
|
+
N.setAnchorType(zo.Type.TwoCell);
|
|
41239
41240
|
});
|
|
41240
41241
|
}), new at("formatAnchorTypeOneCell", y, { label: "Move but don't size with cells", description: "Set your drawing to only move when underling sheet resizes." }, function() {
|
|
41241
41242
|
R(this, (N) => {
|
|
41242
|
-
N.setAnchorType(
|
|
41243
|
+
N.setAnchorType(zo.Type.OneCell);
|
|
41243
41244
|
});
|
|
41244
41245
|
}), new at("formatAnchorTypeAbsolute", y, { label: "Don't move or size with cells", description: "Set your drawing to never move or resize when underling sheet resizes." }, function() {
|
|
41245
41246
|
R(this, (N) => {
|
|
41246
|
-
N.setAnchorType(
|
|
41247
|
+
N.setAnchorType(zo.Type.Absolute);
|
|
41247
41248
|
});
|
|
41248
41249
|
}), new at("formatDrawAlignLeft", y, { label: "Align Left", description: "Align the selected drawings to the left." }, function() {
|
|
41249
41250
|
R(this, (N, L) => {
|
|
@@ -41285,7 +41286,7 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
41285
41286
|
return N = g ? g.createChildGroup(y, "movable", !1) : new am(y, "movable"), N.addCommands(A, !0), N;
|
|
41286
41287
|
}, [g, A]);
|
|
41287
41288
|
return Mn(k, { onAnyChange: () => {
|
|
41288
|
-
O.getCommand("formatAnchorTypeTwoCell").update({ state: k?.getAnchorType() ===
|
|
41289
|
+
O.getCommand("formatAnchorTypeTwoCell").update({ state: k?.getAnchorType() === zo.Type.TwoCell }), O.getCommand("formatAnchorTypeOneCell").update({ state: k?.getAnchorType() === zo.Type.OneCell }), O.getCommand("formatAnchorTypeAbsolute").update({ state: k?.getAnchorType() === zo.Type.Absolute }), O.getCommand("formatAnchorTypeAbsolute").update({ state: k?.getAnchorType() === zo.Type.Absolute }), O.getCommand("toggleLockAspectRatio").update({ state: k?.isLockAspectRatio() });
|
|
41289
41290
|
}, onProtectedChange: (N) => {
|
|
41290
41291
|
T(N.isProtected());
|
|
41291
41292
|
}, onDelete: () => {
|
|
@@ -41341,7 +41342,7 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
41341
41342
|
throw c.showError(new Error(`Unable to enter '${D}'.`, { cause: P })), P;
|
|
41342
41343
|
}
|
|
41343
41344
|
}
|
|
41344
|
-
}, [r, m, c]), _ = $e((F) => r.getRange(F).getCell().getExtrusions() ??
|
|
41345
|
+
}, [r, m, c]), _ = $e((F) => r.getRange(F).getCell().getExtrusions() ?? Bo.cellToRange(F), [r]);
|
|
41345
41346
|
$e((F) => {
|
|
41346
41347
|
let D = Z.Orientation.Row, P = !1;
|
|
41347
41348
|
F !== Z.Direction.Up && F !== Z.Direction.Down || (D = Z.Orientation.Column), F !== Z.Direction.Left && F !== Z.Direction.Up || (P = !0), r.getSelection().traverse(D, P);
|
|
@@ -41638,7 +41639,7 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
41638
41639
|
})), koe = et(pt((t, e) => {
|
|
41639
41640
|
const { view: n, sheet: r, animationTime: o = 60 } = t, [i, a] = ft.useState(null), [s, l] = ft.useState(null), c = ft.useRef(null), d = $e(() => {
|
|
41640
41641
|
const g = r.getSelectedCell(), y = g.getSpill()?.getCoords() ?? null;
|
|
41641
|
-
|
|
41642
|
+
Bo.isEqualRanges(y, i) || (l(y ? { transition: i ? "move" : "in", bounds: n.getRangeCoordsBounds(y), coords: y } : { transition: "out", bounds: n.getRangeCoordsBounds(i), coords: i }), a(y));
|
|
41642
41643
|
}, [r, n, i]);
|
|
41643
41644
|
ft.useEffect(() => (c.current && (clearTimeout(c.current), c.current = null), s && (c.current = setTimeout(() => {
|
|
41644
41645
|
l(null), c.current = null;
|
|
@@ -41692,29 +41693,29 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
41692
41693
|
});
|
|
41693
41694
|
}, [re, n]);
|
|
41694
41695
|
const [ke, Oe] = xe(() => n?.getView().getTopLeft()), Me = $e((ht) => {
|
|
41695
|
-
const Fe =
|
|
41696
|
+
const Fe = Bo.cellToRange(ht);
|
|
41696
41697
|
if (n.isClosed()) return Fe;
|
|
41697
41698
|
const Vt = n.getRange(Fe, { excludeHidden: !0 }).getMerges();
|
|
41698
41699
|
return Vt.length === 0 ? Fe : Vt[0];
|
|
41699
41700
|
}, [n]), Be = (ht) => {
|
|
41700
41701
|
if (!ht || ht.coords.colIndex === 0 && ht.coords.rowIndex === 0) return null;
|
|
41701
41702
|
const Fe = {};
|
|
41702
|
-
return ht.coords.colIndex > 0 && (Fe[
|
|
41703
|
+
return ht.coords.colIndex > 0 && (Fe[Co.Left] = { index: ht.coords.colIndex, scrollOffset: ht.topLeft.left }), ht.coords.rowIndex > 0 && (Fe[Co.Top] = { index: ht.coords.rowIndex, scrollOffset: ht.topLeft.top }), Fe;
|
|
41703
41704
|
}, [Ye, ut] = xe(() => Be(n.getView().getFreezePanes())), ot = Ms(), _t = ve(() => be.current, []), wt = $e((ht) => {
|
|
41704
41705
|
ot.setMode((Fe) => Fe?.key === "edit" ? { ...Fe, args: { ...Fe.args } } : { key: "edit", args: { stateAndCoords: null, start: ht } });
|
|
41705
41706
|
}, []), nn = $e(() => re, [re]), Zt = function(ht) {
|
|
41706
41707
|
const { sheet: Fe, onRepeatCommandChange: Vt, bodyStyle: K, commands: De, target: se, notifier: Ne, onStartEdit: st, getViewport: At } = ht, [lt, un] = xe(null), [Gt, on] = xe(null), pn = Ie(null), Fn = $e(st, [st]), cn = $e(At, [At]), [an, Lr] = xe(), [jt, En] = xe(() => Fe?.getStyles().parseColor(he.Scheme.Bg2)), [Gr, In] = xe(() => Fe?.getStyles().getNormal().getFont().getFill()), mn = Ms();
|
|
41707
41708
|
Ie(mn.getMode()).current = mn.getMode();
|
|
41708
|
-
const eo = GN(), [
|
|
41709
|
+
const eo = GN(), [To, U0] = xe(wn.EmptyArray), G0 = ve(() => {
|
|
41709
41710
|
if (pn.current !== Fe) return;
|
|
41710
41711
|
const ze = Fe.getSelectedRanges();
|
|
41711
41712
|
let yt = null;
|
|
41712
|
-
|
|
41713
|
+
To.length > 0 && Bo.isCellWithinRange(lt, To[0].getRange().getCoords()) && (yt = To[0]);
|
|
41713
41714
|
const Ct = Fe?.getSelectedCell(), ct = Ct?.getCoords() ?? null;
|
|
41714
41715
|
bc(() => {
|
|
41715
41716
|
h3(yt), un(ct), on(ze);
|
|
41716
41717
|
});
|
|
41717
|
-
}, [Fe,
|
|
41718
|
+
}, [Fe, To, Gt, lt]), u3 = ve(wn.debounce(G0, 210), [G0]);
|
|
41718
41719
|
Ve(() => {
|
|
41719
41720
|
pn.current = Fe, G0();
|
|
41720
41721
|
}, [Fe]);
|
|
@@ -41804,13 +41805,13 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
41804
41805
|
jn.colEnd = Rt.colIndex - 1;
|
|
41805
41806
|
}
|
|
41806
41807
|
if (ct.size !== 1 && Lt) {
|
|
41807
|
-
const An = ct.getCoords(), Pr = ct.startIncrementalUpdates({ orientation: Z.Orientation.Column }),
|
|
41808
|
+
const An = ct.getCoords(), Pr = ct.startIncrementalUpdates({ orientation: Z.Orientation.Column }), go = { ...jn }, Ci = An.rowStart, ds = An.rowEnd, us = An.colStart, hs = An.colEnd, Zi = Lt === Z.Direction.Up;
|
|
41808
41809
|
for (let mi = us; mi <= hs; mi++) {
|
|
41809
|
-
|
|
41810
|
-
for (let
|
|
41811
|
-
|
|
41812
|
-
const ir = Ct.getRange(
|
|
41813
|
-
Pr.pushAt(
|
|
41810
|
+
go.colStart = Zi ? mi : jn.colStart + (mi - us), go.colEnd = Zi ? mi : jn.colEnd + (mi - us);
|
|
41811
|
+
for (let Mo = Ci; Mo <= ds; Mo++) {
|
|
41812
|
+
go.rowStart = Zi ? jn.rowStart + (Mo - Ci) : Mo, go.rowEnd = Zi ? jn.rowEnd + (Mo - Ci) : Mo;
|
|
41813
|
+
const ir = Ct.getRange(go).toString();
|
|
41814
|
+
Pr.pushAt(Mo, mi, `=${yt}(${ir})`);
|
|
41814
41815
|
}
|
|
41815
41816
|
}
|
|
41816
41817
|
Pr.apply();
|
|
@@ -41826,9 +41827,9 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
41826
41827
|
{
|
|
41827
41828
|
const kn = Rt.getSelectedRanges().getFixed(!0), jn = Rt.getSelectedRange().getDefaultSortCriteria();
|
|
41828
41829
|
let An = { ranges: kn, hasHeader: jn?.options?.hasHeader ?? !1 };
|
|
41829
|
-
Lt = ct ? new Promise((Pr,
|
|
41830
|
+
Lt = ct ? new Promise((Pr, go) => {
|
|
41830
41831
|
const Ci = { tableOptions: An, onCancel: () => {
|
|
41831
|
-
|
|
41832
|
+
go();
|
|
41832
41833
|
}, onDone: (ds) => {
|
|
41833
41834
|
Pr(ds);
|
|
41834
41835
|
}, context: { getNames: () => Rt.getNames() } };
|
|
@@ -41905,12 +41906,12 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" }) !== "Con
|
|
|
41905
41906
|
}
|
|
41906
41907
|
let kn = zn.options;
|
|
41907
41908
|
if (Ct && (kn = new Promise((An, Pr) => {
|
|
41908
|
-
const
|
|
41909
|
+
const go = { range: Lt, options: zn.options, cell: Pn, onCancel: () => {
|
|
41909
41910
|
Pr();
|
|
41910
41911
|
}, onDone: (Ci) => {
|
|
41911
41912
|
Ci ? An(Ci.options) : Pr();
|
|
41912
41913
|
} };
|
|
41913
|
-
Ne.showWindow?.("sort",
|
|
41914
|
+
Ne.showWindow?.("sort", go);
|
|
41914
41915
|
})), kn = await Promise.resolve(kn), !kn) return;
|
|
41915
41916
|
const jn = await Promise.resolve(Ne?.showBusy?.(ze.label()));
|
|
41916
41917
|
try {
|
|
@@ -41933,8 +41934,8 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" }) !== "Con
|
|
|
41933
41934
|
Ct.terminate(), console.log("Worker terminated");
|
|
41934
41935
|
}, 5e3);
|
|
41935
41936
|
let ct = -1;
|
|
41936
|
-
for (let Lt = 0; ct === -1 && Lt < yt.length; Lt++)
|
|
41937
|
-
if (
|
|
41937
|
+
for (let Lt = 0; ct === -1 && Lt < yt.length; Lt++) Bo.isCellWithinRange(ze.cell, yt[Lt]) && (ct = Lt);
|
|
41938
|
+
if (Bo.isEqualRangesArrays(ze.ranges, yt)) return;
|
|
41938
41939
|
const Rt = { cell: ze.cell, ranges: yt, rangeIndex: ct };
|
|
41939
41940
|
Fe.getSelection().updateCoords(Rt);
|
|
41940
41941
|
}, [Fe]), mz = $e(() => {
|
|
@@ -41980,15 +41981,15 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" }) !== "Con
|
|
|
41980
41981
|
to(ze, async (Ct) => {
|
|
41981
41982
|
const ct = Ct.getSelectedRanges();
|
|
41982
41983
|
ct.doBatch(() => {
|
|
41983
|
-
const Rt = yt === Z.Direction.Up || yt === Z.Direction.Down, Lt = ct.getCoords().slice().sort(
|
|
41984
|
+
const Rt = yt === Z.Direction.Up || yt === Z.Direction.Down, Lt = ct.getCoords().slice().sort(Bo.createRangeComparator(Rt ? Z.Orientation.Row : Z.Orientation.Column));
|
|
41984
41985
|
for (let Pn = 0; Pn < Lt.length; Pn++) {
|
|
41985
41986
|
const zn = Lt[Pn];
|
|
41986
41987
|
let kn = zn;
|
|
41987
41988
|
const jn = Ct.getRange(kn).getMerges();
|
|
41988
41989
|
let An = 0, Pr = 0;
|
|
41989
41990
|
if (jn.length > 0) {
|
|
41990
|
-
const
|
|
41991
|
-
An =
|
|
41991
|
+
const go = jn[0];
|
|
41992
|
+
An = go.rowEnd - go.rowStart, Pr = go.colEnd - go.colStart;
|
|
41992
41993
|
}
|
|
41993
41994
|
yt === Z.Direction.Left ? kn = { ...zn, colStart: zn.colEnd + Pr } : yt === Z.Direction.Right ? kn = { ...zn, colEnd: zn.colStart + Pr } : yt === Z.Direction.Up ? kn = { ...zn, rowStart: zn.rowEnd + An } : yt === Z.Direction.Down && (kn = { ...zn, rowEnd: zn.rowStart + An }), Ct.getRange(kn).autoFill(zn, { filler: cp.Types.Copy }), Ct.getRange(zn).autoFit({ orientations: Z.Orientations.Row, skipCustomSize: !0, minContent: !0 });
|
|
41994
41995
|
}
|
|
@@ -42200,12 +42201,12 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42200
42201
|
Ve(() => {
|
|
42201
42202
|
if (pn.current !== Fe || !Gt) return;
|
|
42202
42203
|
const ze = Gt.getCoords(), yt = Fe.getTables().search({ address: ze[0] });
|
|
42203
|
-
U0((Pn) => wn.isEqualArrays(Pn, yt) ? Pn : yt), lt && yt[0] &&
|
|
42204
|
+
U0((Pn) => wn.isEqualArrays(Pn, yt) ? Pn : yt), lt && yt[0] && Bo.isCellWithinRange(lt, yt[0].getRange().getCoords()) ? h3(yt[0] ?? null) : h3(null);
|
|
42204
42205
|
const Ct = Fe.getSelectedRanges(), ct = Ct.getMerges().length > 0, Rt = Ct.isOverlapping();
|
|
42205
42206
|
let Lt = !0;
|
|
42206
|
-
for (let Pn = 0; Lt && Pn < ze.length; Pn++) Lt =
|
|
42207
|
+
for (let Pn = 0; Lt && Pn < ze.length; Pn++) Lt = Bo.isSingleCell(ze[Pn]);
|
|
42207
42208
|
wz(Rt), yz(yt.length === 0 && !Rt && (ct || !Lt));
|
|
42208
|
-
}, [vm, Gt, Fe]),
|
|
42209
|
+
}, [vm, Gt, Fe]), fo(De, null, { onChange: () => {
|
|
42209
42210
|
const ze = mn.getMode()?.key === "formatPainter";
|
|
42210
42211
|
je.getCommand("formatPainterToggle").update({ disabled: !De?.getCommand("copy"), state: () => ze }).updateCallback(() => ze ? void mn.setMode(null) : je.getCommand("copy").execute({ editMode: { key: "formatPainter", description: "Use the mouse to apply the copied format to another selection.", cursor: `url("data:image/svg+xml,%3Csvg width='30' height='22' viewBox='0 0 30 22' xmlns='http://www.w3.org/2000/svg' %3E%3Cg%3E%3Cpath d='M 26.737611,2.811068 V 2.0241451 c 0,-0.4328075 -0.354115,-0.7869227 -0.786923,-0.7869227 h -9.443074 c -0.432808,0 -0.786923,0.3541152 -0.786923,0.7869227 v 3.1476914 c 0,0.4328076 0.354115,0.7869235 0.786923,0.7869235 h 9.443074 c 0.432808,0 0.786923,-0.3541159 0.786923,-0.7869235 V 4.3849137 h 0.786923 v 3.1476915 h -7.869229 v 8.6561518 c 0,0.432808 0.354116,0.786923 0.786923,0.786923 h 1.573846 c 0.432807,0 0.786923,-0.354115 0.786923,-0.786923 V 9.1064513 H 29.09838 V 2.811068 Z M 10.714339,6.2116849 c -1.60877,0.0017 -3.2175361,0.00425 -4.8263048,0.00609 0.0012,1.5756989 0.00158,3.1513905 0.00244,4.7270891 -1.5978311,0.0017 -3.1956617,0.0034 -4.7934919,0.0043 0.00335,1.740011 0.00655,3.480012 0.00988,5.220023 1.5954589,0 3.1909181,0 4.7863775,0 -0.0017,1.606793 -0.00353,3.213585 -0.0051,4.820375 1.7440936,0.0016 3.4881881,0.0033 5.2322842,0.005 -0.0014,-1.608503 -0.0018,-3.217015 -0.0028,-4.825519 1.58518,0 3.17036,0 4.755543,0 0.0033,-1.741851 0.0073,-3.483705 0.01072,-5.225556 -1.58808,0 -3.176158,0 -4.764238,0 0,-1.5775391 0,-3.1550792 0,-4.7326117 -0.135065,1.3e-4 -0.270128,1.982e-4 -0.40519,4.047e-4 z' stroke='black' fill='white'/%3E%3C/g%3E%3C/svg%3E%0A") 7 12, pointer` } }));
|
|
42211
42212
|
} }, [mn, Uu, De]), Mn(Fe.getView(), { onFreezeSplitChange: () => {
|
|
@@ -42252,13 +42253,13 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42252
42253
|
} }), Ve(() => {
|
|
42253
42254
|
Sm(), m3();
|
|
42254
42255
|
}, [K]), Ve(() => {
|
|
42255
|
-
const ze = !Fe.getProtection().isFormatCellsAllowed(), yt =
|
|
42256
|
+
const ze = !Fe.getProtection().isFormatCellsAllowed(), yt = To.length > 0 && !ol || ze, Ct = Ww(ol), ct = { context: Ct };
|
|
42256
42257
|
je.getCommand("editTable").update(ct), je.getCommand("deleteTable").update(ct), je.getCommand("convertTableToRange").update(ct);
|
|
42257
42258
|
const Rt = { context: Ct, disabled: yt };
|
|
42258
|
-
je.getCommand("formatTableStyle").update({ label: ol ? "Apply Table Style" : "Format As Table", ...Rt }), je.getCommand("formatTableStyleClearCellStyles").update(Rt), je.getCommand("deleteTableStyle").update(Rt), je.getCommand("convertTableToRange").update(Rt), je.getCommand("insertTable").update({ disabled: yt ||
|
|
42259
|
-
const Lt = { context: Ct, disabled: yt ||
|
|
42259
|
+
je.getCommand("formatTableStyle").update({ label: ol ? "Apply Table Style" : "Format As Table", ...Rt }), je.getCommand("formatTableStyleClearCellStyles").update(Rt), je.getCommand("deleteTableStyle").update(Rt), je.getCommand("convertTableToRange").update(Rt), je.getCommand("insertTable").update({ disabled: yt || To.length > 0 });
|
|
42260
|
+
const Lt = { context: Ct, disabled: yt || To.length === 0 };
|
|
42260
42261
|
je.getCommand("tableHeaderRowToggle").update(Lt), je.getCommand("tableTotalRowToggle").update(Lt), je.getCommand("autoFilterToggle").update(Lt), je.getCommand("formatTableStyleClearTableStyle").update({ ...Lt, disabled: Lt.disabled || !ol || ol.getStyleOptions().name === null });
|
|
42261
|
-
}, [ol,
|
|
42262
|
+
}, [ol, To, Uu]), Ve(() => {
|
|
42262
42263
|
je.getCommand("sheetZoomOut").updateCallback(() => {
|
|
42263
42264
|
Fe.getView().update({ zoomScale: wn.findNextStep(Fe.getView().getZoomScale(), !1) });
|
|
42264
42265
|
}), je.getCommand("sheetZoomIn").updateCallback(() => {
|
|
@@ -42301,7 +42302,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42301
42302
|
Fe.getView().setFreezePanes(null);
|
|
42302
42303
|
}).update({ disabled: () => !ct() });
|
|
42303
42304
|
}, [vm, lt, Fe, K]);
|
|
42304
|
-
const K0 = ni().getStyle(),
|
|
42305
|
+
const K0 = ni().getStyle(), jo = K0.getFont(), xm = K0.getAlignment(), cs = xm.getHorizontal(), Ku = xm.getVertical(), Xu = xm.getOverflow(), X0 = xm.getRotation();
|
|
42305
42306
|
return Ve(() => {
|
|
42306
42307
|
je.getCommand("formatCellStyle").update({ context: () => ({ styles: () => Fe.getStyles(), named: () => ni().getStyle(!0).getNamed(), bodyStyle: jw, createTemporaryCell: (ir) => Fe.createTemporaryCell(ir) }) }), je.getCommand("formatFillColor").update({ state: () => {
|
|
42307
42308
|
let ir = null;
|
|
@@ -42312,39 +42313,39 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42312
42313
|
return { onColorSelect: (ri) => {
|
|
42313
42314
|
En(ri ?? Hf);
|
|
42314
42315
|
}, darkMode: K.darkMode, quickColor: jt, autoColor: Hf, schemeLookup: ir.schemeLookup(), recentColors: ir.recentColors(), addRecentColor: (ri) => ir.addRecentColor(ri), clearRecentColors: () => ir.clearRecentColors() };
|
|
42315
|
-
} }), je.getCommand("formatFontColor").update({ state: () =>
|
|
42316
|
+
} }), je.getCommand("formatFontColor").update({ state: () => jo.toJSON()?.fill ? jo.getFill() : null, context: () => {
|
|
42316
42317
|
const ir = Fe.getStyles();
|
|
42317
42318
|
return { onColorSelect: (ri) => {
|
|
42318
42319
|
In(ri);
|
|
42319
42320
|
}, darkMode: K.darkMode, quickColor: Gr, autoColor: ir.getNormal().getFont().getFill(), schemeLookup: ir.schemeLookup(), recentColors: ir.recentColors(), addRecentColor: (ri) => ir.addRecentColor(ri), clearRecentColors: () => ir.clearRecentColors() };
|
|
42320
|
-
} }), je.getCommand("formatNumberFormat").update({ state: () => K0.getNumberFormat(), context: () => ni }), je.getCommand("formatNumberDialog").update({ state: () => K0.getNumberFormat(), context: () => ni }), je.getCommand("formatFontFamily").update({ state: () =>
|
|
42321
|
+
} }), je.getCommand("formatNumberFormat").update({ state: () => K0.getNumberFormat(), context: () => ni }), je.getCommand("formatNumberDialog").update({ state: () => K0.getNumberFormat(), context: () => ni }), je.getCommand("formatFontFamily").update({ state: () => jo.getFamily() }), je.getCommand("formatFontSize").update({ state: () => jo.getSize() });
|
|
42321
42322
|
const ze = function() {
|
|
42322
|
-
const ir =
|
|
42323
|
+
const ir = jo.getWeight() || 0;
|
|
42323
42324
|
return !isNaN(ir) && ir > 500;
|
|
42324
42325
|
};
|
|
42325
42326
|
je.getCommand("formatBoldToggle").updateCallback(function() {
|
|
42326
42327
|
bn(this, { font: { weight: ze() ? 400 : 700 } });
|
|
42327
42328
|
}).update({ state: ze });
|
|
42328
42329
|
const yt = function() {
|
|
42329
|
-
return
|
|
42330
|
+
return jo.getStyle() === xt.Style.Italic;
|
|
42330
42331
|
};
|
|
42331
42332
|
je.getCommand("formatItalicToggle").updateCallback(function() {
|
|
42332
42333
|
bn(this, { font: { style: yt() ? xt.Style.Normal : xt.Style.Italic } });
|
|
42333
42334
|
}).update({ state: yt }), je.getCommand("formatStrikeThroughToggle").updateCallback(function() {
|
|
42334
|
-
bn(this, { font: { strike: !
|
|
42335
|
-
}).update({ state:
|
|
42336
|
-
bn(this, { font: { underline:
|
|
42337
|
-
}).update({ state:
|
|
42338
|
-
bn(this, { font: { underline:
|
|
42339
|
-
}).update({ state:
|
|
42340
|
-
bn(this, { font: { underline:
|
|
42341
|
-
}).update({ state:
|
|
42342
|
-
bn(this, { font: { underline:
|
|
42343
|
-
}).update({ state:
|
|
42344
|
-
bn(this, { font: { verticalAlign:
|
|
42345
|
-
}).update({ state:
|
|
42346
|
-
bn(this, { font: { verticalAlign:
|
|
42347
|
-
}).update({ state:
|
|
42335
|
+
bn(this, { font: { strike: !jo.getStrike() } });
|
|
42336
|
+
}).update({ state: jo.getStrike() }), je.getCommand("formatUnderlinedToggle").updateCallback(function() {
|
|
42337
|
+
bn(this, { font: { underline: jo.getUnderline() !== xt.UnderlineStyle.Single ? xt.UnderlineStyle.Single : xt.UnderlineStyle.None } });
|
|
42338
|
+
}).update({ state: jo.getUnderline() === xt.UnderlineStyle.Single }), je.getCommand("formatUnderlinedDoubleToggle").updateCallback(function() {
|
|
42339
|
+
bn(this, { font: { underline: jo.getUnderline() !== xt.UnderlineStyle.Double ? xt.UnderlineStyle.Double : xt.UnderlineStyle.None } });
|
|
42340
|
+
}).update({ state: jo.getUnderline() === xt.UnderlineStyle.Double }), je.getCommand("formatUnderlinedAccountingToggle").updateCallback(function() {
|
|
42341
|
+
bn(this, { font: { underline: jo.getUnderline() !== xt.UnderlineStyle.SingleAccounting ? xt.UnderlineStyle.SingleAccounting : xt.UnderlineStyle.None } });
|
|
42342
|
+
}).update({ state: jo.getUnderline() === xt.UnderlineStyle.SingleAccounting }), je.getCommand("formatUnderlinedAccountingDoubleToggle").updateCallback(function() {
|
|
42343
|
+
bn(this, { font: { underline: jo.getUnderline() !== xt.UnderlineStyle.DoubleAccounting ? xt.UnderlineStyle.DoubleAccounting : xt.UnderlineStyle.None } });
|
|
42344
|
+
}).update({ state: jo.getUnderline() === xt.UnderlineStyle.DoubleAccounting }), je.getCommand("formatSuperscriptToggle").updateCallback(function() {
|
|
42345
|
+
bn(this, { font: { verticalAlign: jo.getVerticalAlignment() !== xt.VerticalAlignment.Super ? xt.VerticalAlignment.Super : xt.VerticalAlignment.Baseline } });
|
|
42346
|
+
}).update({ state: jo.getVerticalAlignment() === xt.VerticalAlignment.Super }), je.getCommand("formatSubscriptToggle").updateCallback(function() {
|
|
42347
|
+
bn(this, { font: { verticalAlign: jo.getVerticalAlignment() !== xt.VerticalAlignment.Sub ? xt.VerticalAlignment.Sub : xt.VerticalAlignment.Baseline } });
|
|
42348
|
+
}).update({ state: jo.getVerticalAlignment() === xt.VerticalAlignment.Sub });
|
|
42348
42349
|
const Ct = () => Xu === We.Overflow.Visible;
|
|
42349
42350
|
je.getCommand("formatTextOverflowVisibleToggle").updateCallback(function() {
|
|
42350
42351
|
bn(this, { alignment: { overflow: (Ct(), We.Overflow.Visible) } });
|
|
@@ -42401,12 +42402,12 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42401
42402
|
je.getCommand("formatAlignDistributedVerticalToggle").updateCallback(function() {
|
|
42402
42403
|
bn(this, { alignment: { vertical: Pr() ? We.VerticalAlignment.Bottom : We.VerticalAlignment.Distributed } });
|
|
42403
42404
|
}).update({ state: Pr });
|
|
42404
|
-
const
|
|
42405
|
+
const go = function() {
|
|
42405
42406
|
return cs === We.HorizontalAlignment.Left;
|
|
42406
42407
|
};
|
|
42407
42408
|
je.getCommand("formatAlignLeftToggle").updateCallback(function() {
|
|
42408
|
-
bn(this, { alignment: { horizontal:
|
|
42409
|
-
}).update({ state:
|
|
42409
|
+
bn(this, { alignment: { horizontal: go() ? We.HorizontalAlignment.General : We.HorizontalAlignment.Left } });
|
|
42410
|
+
}).update({ state: go });
|
|
42410
42411
|
const Ci = function() {
|
|
42411
42412
|
return cs === We.HorizontalAlignment.Center;
|
|
42412
42413
|
};
|
|
@@ -42445,28 +42446,28 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42445
42446
|
je.getCommand("formatAlignJustifyToggle").updateCallback(function() {
|
|
42446
42447
|
bn(this, { alignment: { horizontal: mi() ? We.HorizontalAlignment.General : We.HorizontalAlignment.Justify } });
|
|
42447
42448
|
}).update({ state: mi });
|
|
42448
|
-
const
|
|
42449
|
+
const Mo = cs === We.HorizontalAlignment.CenterContinuous || cs === We.HorizontalAlignment.Fill;
|
|
42449
42450
|
je.getCommand("formatTextRotate0").updateCallback(function(ir) {
|
|
42450
42451
|
bn(this, { alignment: { rotation: 0 } });
|
|
42451
|
-
}).update({ disabled:
|
|
42452
|
+
}).update({ disabled: Mo, state: X0 === 0 }), je.getCommand("formatTextRotate45").updateCallback(function(ir) {
|
|
42452
42453
|
bn(this, { alignment: { rotation: ir ?? 1 ? 45 : 0 } });
|
|
42453
|
-
}).update({ disabled:
|
|
42454
|
+
}).update({ disabled: Mo, state: X0 === 45 }), je.getCommand("formatTextRotate90").updateCallback(function(ir) {
|
|
42454
42455
|
bn(this, { alignment: { rotation: ir ?? 1 ? 90 : 0 } });
|
|
42455
|
-
}).update({ disabled:
|
|
42456
|
+
}).update({ disabled: Mo, state: X0 === 90 }), je.getCommand("formatTextRotate270").updateCallback(function(ir) {
|
|
42456
42457
|
bn(this, { alignment: { rotation: ir ?? 1 ? 270 : 0 } });
|
|
42457
|
-
}).update({ disabled:
|
|
42458
|
+
}).update({ disabled: Mo, state: X0 === 270 }), je.getCommand("formatTextRotate315").updateCallback(function(ir) {
|
|
42458
42459
|
bn(this, { alignment: { rotation: ir ?? 1 ? 315 : 0 } });
|
|
42459
|
-
}).update({ disabled:
|
|
42460
|
+
}).update({ disabled: Mo, state: X0 === 315 }), je.getCommand("formatTextRotateCustom").updateCallback(function(ir) {
|
|
42460
42461
|
bn(this, { alignment: { rotation: ir } });
|
|
42461
|
-
}).update({ disabled:
|
|
42462
|
+
}).update({ disabled: Mo, state: X0 ?? 0 });
|
|
42462
42463
|
}, [K0, Fe, K, jt, Gr]), Ve(() => {
|
|
42463
|
-
const ze = !Fe.getProtection().isFormatCellsAllowed(), yt = Fe.getSelectedRanges().getMerges().length > 0, Ct = async (
|
|
42464
|
+
const ze = !Fe.getProtection().isFormatCellsAllowed(), yt = Fe.getSelectedRanges().getMerges().length > 0, Ct = async (so, _m) => {
|
|
42464
42465
|
to(_m, async (Y0) => {
|
|
42465
42466
|
const Cm = async (Em = !1) => {
|
|
42466
42467
|
const bz = await Promise.resolve(Ne?.showBusy?.(_m.label()));
|
|
42467
42468
|
try {
|
|
42468
42469
|
const km = Y0.getSelectedRanges();
|
|
42469
|
-
if (km.merge({ orientations:
|
|
42470
|
+
if (km.merge({ orientations: so, discardMultipleValues: Em }), so === Z.Orientations.Both) {
|
|
42470
42471
|
const vz = { alignment: { horizontal: We.HorizontalAlignment.Center } };
|
|
42471
42472
|
km.updateStyle(vz);
|
|
42472
42473
|
}
|
|
@@ -42488,8 +42489,8 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42488
42489
|
await Cm(!0);
|
|
42489
42490
|
}
|
|
42490
42491
|
}, void 0, void 0, !1);
|
|
42491
|
-
}, ct = (
|
|
42492
|
-
to(
|
|
42492
|
+
}, ct = (so) => {
|
|
42493
|
+
to(so, async (_m) => {
|
|
42493
42494
|
try {
|
|
42494
42495
|
const Y0 = _m.getSelectedRanges();
|
|
42495
42496
|
Y0.unmerge();
|
|
@@ -42501,7 +42502,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42501
42502
|
});
|
|
42502
42503
|
};
|
|
42503
42504
|
je.getCommand("mergeToggle").updateCallback(function() {
|
|
42504
|
-
|
|
42505
|
+
Bo.isSingleCell(Fe.getSelectedRange().getCoords()) || (yt ? ct(this) : Ct(Z.Orientations.Both, this));
|
|
42505
42506
|
}).update({ state: yt, disabled: !Gu || ze }), je.getCommand("mergeHorizontal").updateCallback(function() {
|
|
42506
42507
|
Ct(Z.Orientations.Column, this);
|
|
42507
42508
|
}).update({ disabled: !Gu || ze }), je.getCommand("mergeVertical").updateCallback(function() {
|
|
@@ -42511,46 +42512,46 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42511
42512
|
}).update({ disabled: !yt || !Gu || ze });
|
|
42512
42513
|
const Rt = { disabled: ze };
|
|
42513
42514
|
je.getCommand("hideRows").updateCallback(function() {
|
|
42514
|
-
to(this, (
|
|
42515
|
-
|
|
42515
|
+
to(this, (so) => {
|
|
42516
|
+
so.getRowHeaders().setHidden(so.getSelectedRanges().getCoords(), !0);
|
|
42516
42517
|
});
|
|
42517
42518
|
}).update(Rt), je.getCommand("hideColumns").updateCallback(function() {
|
|
42518
|
-
to(this, (
|
|
42519
|
-
|
|
42519
|
+
to(this, (so) => {
|
|
42520
|
+
so.getColumnHeaders().setHidden(so.getSelectedRanges().getCoords(), !0);
|
|
42520
42521
|
});
|
|
42521
42522
|
}).update(Rt), je.getCommand("unhideRows").updateCallback(function() {
|
|
42522
|
-
to(this, (
|
|
42523
|
-
|
|
42523
|
+
to(this, (so) => {
|
|
42524
|
+
so.getRowHeaders().setHidden(so.getSelectedRanges().getCoords(), !1);
|
|
42524
42525
|
});
|
|
42525
42526
|
}).update(Rt), je.getCommand("unhideColumns").updateCallback(function() {
|
|
42526
|
-
to(this, (
|
|
42527
|
-
|
|
42527
|
+
to(this, (so) => {
|
|
42528
|
+
so.getColumnHeaders().setHidden(so.getSelectedRanges().getCoords(), !1);
|
|
42528
42529
|
});
|
|
42529
42530
|
}).update(Rt), je.getCommand("autoFitRows").updateCallback(function() {
|
|
42530
|
-
to(this, (
|
|
42531
|
-
|
|
42531
|
+
to(this, (so) => {
|
|
42532
|
+
so.getSelectedRanges().autoFit({ orientations: Z.Orientations.Row });
|
|
42532
42533
|
});
|
|
42533
42534
|
}).update(Rt), je.getCommand("autoFitColumns").updateCallback(function() {
|
|
42534
|
-
to(this, (
|
|
42535
|
-
|
|
42535
|
+
to(this, (so) => {
|
|
42536
|
+
so.getSelectedRanges().autoFit({ orientations: Z.Orientations.Column });
|
|
42536
42537
|
});
|
|
42537
42538
|
}).update(Rt);
|
|
42538
42539
|
let Lt = !1, Pn = 0, zn = !1, kn = !1, jn = 0, An = !1;
|
|
42539
42540
|
!Gt || ze || qu || (Lt = Gt.isEntireColumnsAny(), Lt && !Gt.isEntireColumns() ? zn = !0 : Pn = Gt.getColumnCount(), kn = Gt.isEntireRowsAny(), kn && !Gt.isEntireRows() ? An = !0 : jn = Gt.getRowCount());
|
|
42540
42541
|
const Pr = { disabled: ze || Gt && Gt.getCount() !== 1 };
|
|
42541
42542
|
je.getCommand("sortAscending").update(Pr), je.getCommand("sortDescending").update(Pr);
|
|
42542
|
-
const
|
|
42543
|
+
const go = { disabled: Lt || kn || ze || qu }, Ci = Lt || ze || qu || An;
|
|
42543
42544
|
Ci && (Pn = 1);
|
|
42544
42545
|
const ds = kn || ze || qu || zn;
|
|
42545
42546
|
ds && (jn = 1);
|
|
42546
|
-
let us = "", hs = "", Zi = "", mi = "",
|
|
42547
|
-
Pn > 1 && (ir = hs = Pn + " ", ri = Zi = "s"), jn > 1 && (f3 = mi = jn + " ", g3 =
|
|
42547
|
+
let us = "", hs = "", Zi = "", mi = "", Mo = "", ir = "", ri = "", f3 = "", g3 = "";
|
|
42548
|
+
Pn > 1 && (ir = hs = Pn + " ", ri = Zi = "s"), jn > 1 && (f3 = mi = jn + " ", g3 = Mo = "s"), mn.getMode()?.key === "copy" ? (us = mi = hs = "Copied ", Zi = Mo = "s") : mn.getMode()?.key === "cut" && (us = mi = hs = "Cut ", Zi = Mo = "s");
|
|
42548
42549
|
let Xw = "", Yw = "";
|
|
42549
42550
|
if (Gt) {
|
|
42550
|
-
const
|
|
42551
|
-
Xw = ` (${
|
|
42551
|
+
const so = Gt.getDefaultShiftOrientation() === Z.Orientation.Column;
|
|
42552
|
+
Xw = ` (${so ? "Shift Right" : "Shift Down"})`, Yw = ` (${so ? "Shift Left" : "Shift up"})`, je.getCommand("deleteCells").update({ label: `Delete Cells${Yw}` });
|
|
42552
42553
|
}
|
|
42553
|
-
je.getCommand("insertCells").update({ label: `Insert ${us}Cells${Xw}`, scopedLabels: { insertCells: `${us}At Selection` } }), je.getCommand("insertCellsShiftRight").update(
|
|
42554
|
+
je.getCommand("insertCells").update({ label: `Insert ${us}Cells${Xw}`, scopedLabels: { insertCells: `${us}At Selection` } }), je.getCommand("insertCellsShiftRight").update(go), je.getCommand("insertCellsShiftDown").update(go), je.getCommand("deleteCellsShiftUp").update(go), je.getCommand("deleteCellsShiftLeft").update(go), je.getCommand("insertRows").update({ label: `Insert ${mi}Row${Mo}`, scopedLabels: { insertCells: `${mi}Row${Mo}` }, disabled: ds }), je.getCommand("insertRowsAfter").update({ label: `Insert ${mi}Row${Mo} Below`, disabled: ds }), je.getCommand("insertColumns").update({ label: `Insert ${hs}Column${Zi}`, scopedLabels: { insertCells: `${hs}Column${Zi}` }, disabled: Ci }), je.getCommand("insertColumnsAfter").update({ label: `Insert ${hs}Column${Zi} After`, disabled: Ci }), je.getCommand("deleteRows").update({ label: `Delete ${f3}Row${g3}`, scopedLabels: { deleteCells: `${f3}Row${g3}` }, disabled: ds }), je.getCommand("deleteColumns").update({ label: `Delete ${ir}Column${ri}`, scopedLabels: { deleteCells: `${ir}Column${ri}` }, disabled: Ci });
|
|
42554
42555
|
}, [vm, Gu, qu, Gt, mn, Ne, Uu]), Ve(() => {
|
|
42555
42556
|
const ze = Fe.getProtection(), yt = Fe.getProtection().isLocked(), Ct = !ze.isFormatCellsAllowed(), ct = { disabled: Ct };
|
|
42556
42557
|
je.getCommand("protectionSheetToggle").updateCallback(async (Pn, zn) => {
|
|
@@ -42582,7 +42583,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42582
42583
|
}, [R, Gn]), qn = ce(() => {
|
|
42583
42584
|
const ht = ot.getMode();
|
|
42584
42585
|
return ht?.cursor ? ht.cursor : null;
|
|
42585
|
-
}, [Yn, ot]), [ar, ur] = xe(null), Nn = Ie(!1), [Wr, Qr] = xe([]),
|
|
42586
|
+
}, [Yn, ot]), [ar, ur] = xe(null), Nn = Ie(!1), [Wr, Qr] = xe([]), ko = Ie(null), [Zo, zi] = xe(yp.EmptyTopLeft), [Bi, Oa] = xe(yp.EmptyTopLeft);
|
|
42586
42587
|
Ve(() => {
|
|
42587
42588
|
zi({ left: ke?.left, top: 0 });
|
|
42588
42589
|
}, [ke?.left]), Ve(() => {
|
|
@@ -42615,7 +42616,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42615
42616
|
Nn.current = !0, ur([(De) => {
|
|
42616
42617
|
if (!De.toClipBounds(De.getRangeCoordsBounds({ rowStart: 0, rowEnd: Re.height, colStart: Vt, colEnd: Vt }))) return;
|
|
42617
42618
|
const se = De.getLayout(), Ne = Math.max(0, se.getColOffset(Vt)), st = De.getBounds(), At = Math.min(st.x + st.width, se.getColOffset(Vt + 1)), lt = De.getAnchor();
|
|
42618
|
-
if (K !== null && (lt ===
|
|
42619
|
+
if (K !== null && (lt === Co.Left || lt === Co.Center || lt === Co.Right)) {
|
|
42619
42620
|
const cn = wn.roundAccurately(K * wn.getDPI(), 0), an = wn.roundAccurately(n?.getColumnWidthAsFontUnit(K / pe), 2).toFixed(2), Lr = "Width: " + (K ? an + " (" + cn + " pixels)" : "Hidden"), jt = dn.current.getGridElement().getRelativePointFromClient(0, 0), En = 0 - jt.y, Gr = 0 - jt.y + de, In = { x: Ne - (jt.x - st.x), y: En, width: At - Ne, height: Gr - En };
|
|
42620
42621
|
requestAnimationFrame(() => {
|
|
42621
42622
|
Nn.current && B?.({ anchor: In, display: Lr });
|
|
@@ -42642,7 +42643,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42642
42643
|
Nn.current = !0, ur([(De) => {
|
|
42643
42644
|
if (!De.toClipBounds(De.getRangeCoordsBounds({ rowStart: Vt, rowEnd: Vt, colStart: 0, colEnd: Re.width }))) return;
|
|
42644
42645
|
const se = De.getLayout(), Ne = Math.max(0, se.getRowOffset(Vt)), st = De.getBounds(), At = Math.min(st.y + st.height, se.getRowOffset(Vt + 1)), lt = De.getAnchor();
|
|
42645
|
-
if (K !== null && (lt ===
|
|
42646
|
+
if (K !== null && (lt === Co.Top || lt === Co.Center || lt === Co.Bottom)) {
|
|
42646
42647
|
const cn = Math.floor(10 * wn.getDPI()) / 10, an = wn.roundAccurately(K * cn, 0), Lr = wn.roundAccurately(an / pe / (n?.getRowHeaders().getScaleFactor() * wn.getDPI()), 2).toFixed(2), jt = "Height: " + (K ? Lr + " (" + an + " pixels)" : "Hidden"), En = nt.current.getGridElement().getRelativePointFromClient(0, 0), Gr = 0 - En.x, In = 0 - En.x + qe, mn = { x: Gr, y: Ne - (En.y - st.y), width: In - Gr, height: At - Ne };
|
|
42647
42648
|
requestAnimationFrame(() => {
|
|
42648
42649
|
Nn.current && $?.({ anchor: mn, display: jt });
|
|
@@ -42691,7 +42692,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42691
42692
|
Ve(() => {
|
|
42692
42693
|
gt();
|
|
42693
42694
|
}, [V]);
|
|
42694
|
-
const It = Ht ? Se.edgeStrokeFill : te.fill, Nt = Ht ? ue.fill : typeof V.headerHover == "function" ? V.headerHover(te)?.fill : te.fill, kt = ce(() => w ? v("div", { className: ca("sheetxl-viewport-overlay", "_viewport-
|
|
42695
|
+
const It = Ht ? Se.edgeStrokeFill : te.fill, Nt = Ht ? ue.fill : typeof V.headerHover == "function" ? V.headerHover(te)?.fill : te.fill, kt = ce(() => w ? v("div", { className: ca("sheetxl-viewport-overlay", "_viewport-overlay_1qeq6_6"), style: { width: "100%", height: "100%", boxSizing: "border-box", position: "absolute" }, children: w }) : v(Wt, {}), [w]);
|
|
42695
42696
|
let zt = null;
|
|
42696
42697
|
oe && ie && (zt = ne("div", { tabIndex: -1, className: "top-left-corner", style: { padding: "2 2", position: "absolute", height: `${de}px`, width: `${qe}px`, zIndex: 1, boxSizing: "border-box", cursor: "cell" }, onMouseDown: (ht) => {
|
|
42697
42698
|
let Fe = !ht.ctrlKey;
|
|
@@ -42708,7 +42709,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42708
42709
|
return Fe > 0 ? Zt.getCommand("sheetZoomOut")?.execute() : Fe < 0 && Zt.getCommand("sheetZoomIn")?.execute(), Fe === 0;
|
|
42709
42710
|
}, [Zt]);
|
|
42710
42711
|
Ve(() => {
|
|
42711
|
-
Qr(null),
|
|
42712
|
+
Qr(null), ko.current = null, Nn.current = !1, ur(null);
|
|
42712
42713
|
const ht = n?.getView().getTopLeft();
|
|
42713
42714
|
Xt(ht), be.current?.scrollTo(ht), Oe(ht), ee(n.getView()), ut(Be(n.getView().getFreezePanes())), Qe(Xe()), F();
|
|
42714
42715
|
}, [n?.getView()]);
|
|
@@ -42729,7 +42730,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42729
42730
|
}, [n, Y.isShowZeros(), Y.isShowFormulas(), ge]);
|
|
42730
42731
|
Ve(() => {
|
|
42731
42732
|
const ht = [];
|
|
42732
|
-
g && ht.push(...g), ar && ht.push(...ar), wn.isEqualArrays(ht,
|
|
42733
|
+
g && ht.push(...g), ar && ht.push(...ar), wn.isEqualArrays(ht, ko.current) || (ko.current = ht, Qr(ht));
|
|
42733
42734
|
}, [g, ar, V]);
|
|
42734
42735
|
const tn = ce(() => ({ style: { boxShadow: `0.5px 0.5px 0px 0px ${r?.body?.fill}` }, pathProps: { stroke: r?.body?.text?.fill ?? "black" } }), [V?.header?.edgeStrokeFill]), Dn = $e((ht) => {
|
|
42735
42736
|
ht.isDefaultPrevented() || ht.isPropagationStopped() || (Je.current = null, n?.getView().getMovableSelection().length > 0 && n.getView().selectMovables([]));
|
|
@@ -42739,7 +42740,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42739
42740
|
}, [ot]), Vn = $e(async (ht) => {
|
|
42740
42741
|
const Fe = ot.getMode();
|
|
42741
42742
|
return ht.keyCode === Tn.Escape && Fe ? (ht.preventDefault(), void ot.setMode(null)) : ht.keyCode === Tn.Enter && cr ? (ht.preventDefault(), await Zt?.getCommand("paste")?.execute(), void ot.setMode(null)) : void Zt?.dispatchToFocusedCommand(ht);
|
|
42742
|
-
}, [Zt, ot]), nt = Ie(null), Dt = ce(() => v("div", { tabIndex: -1, style: { position: "relative", flex: "0", top: `${de + 1}px`, width: `${qe + te.edgeStrokeWidth}px`, minWidth: `${qe + te.edgeStrokeWidth}px`, borderRight: `solid ${te.edgeStrokeWidth}px ${te.edgeStrokeFill}`, height: `calc(100% - ${de}px)`, boxSizing: "border-box", zIndex: "2" }, children: v(OM, { ref: nt, sheetElement: hi.current, gridRef: be, freezeStart: Ye?.[
|
|
42743
|
+
}, [Zt, ot]), nt = Ie(null), Dt = ce(() => v("div", { tabIndex: -1, style: { position: "relative", flex: "0", top: `${de + 1}px`, width: `${qe + te.edgeStrokeWidth}px`, minWidth: `${qe + te.edgeStrokeWidth}px`, borderRight: `solid ${te.edgeStrokeWidth}px ${te.edgeStrokeFill}`, height: `calc(100% - ${de}px)`, boxSizing: "border-box", zIndex: "2" }, children: v(OM, { ref: nt, sheetElement: hi.current, gridRef: be, freezeStart: Ye?.[Co.Top], oppositeSize: qe, containerWidth: qe, containerHeight: tt, sheetHeader: n.getRowHeaders(), gridStyle: X, verticalPadding: Math.max(0, Math.floor(n.getStyles().getNormal().getFont().getSize() / 10)), scrollPoint: Bi, onSheetContextMenu: i, tabIndex: -1, style: { position: "relative", flex: "0", top: `${de + 1}px`, width: `${qe + te.edgeStrokeWidth}px`, minWidth: `${qe + te.edgeStrokeWidth}px`, borderRight: `solid ${te.edgeStrokeWidth}px ${te.edgeStrokeFill}`, height: `calc(100% - ${de}px)`, boxSizing: "border-box", zIndex: "2", ...Na?.style }, ...Na }) }), [qe, de, tt, n, Bi, Ye?.[Co.Top], V, He, i, te.fill, c]), dn = Ie(null), _n = ce(() => v("div", { tabIndex: -1, style: { position: "relative", left: "0px", width: "100%", height: `${de + te.edgeStrokeWidth}px`, minHeight: `${de + te.edgeStrokeWidth}px`, borderBottom: `solid ${te.edgeStrokeWidth}px ${te.edgeStrokeFill}`, boxSizing: "border-box", zIndex: "1" }, children: v(OM, { ref: dn, sheetElement: hi.current, gridRef: be, freezeStart: Ye?.[Co.Left], oppositeSize: de, containerWidth: it, containerHeight: de, sheetHeader: n.getColumnHeaders(), gridStyle: X, scrollPoint: Zo, onSheetContextMenu: i, ...As, style: { ...As?.style, position: "relative", left: "0px", width: "100%", height: `${de + te.edgeStrokeWidth}px`, minHeight: `${de + te.edgeStrokeWidth}px`, borderBottom: `solid ${te.edgeStrokeWidth}px ${te.edgeStrokeFill}`, boxSizing: "border-box", zIndex: "1" } }) }), [de, it, n, Zo, Ye?.[Co.Left], V, te.fill, He, i, s]), Cn = $e((ht) => {
|
|
42743
42744
|
const { value: Fe, key: Vt, ...K } = ht;
|
|
42744
42745
|
let De = Fe, se = ge;
|
|
42745
42746
|
if (!se || se.colIndex === ht.coords.colIndex && se.rowIndex === ht.coords.rowIndex || (se = null), !De) {
|
|
@@ -42773,7 +42774,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42773
42774
|
let At = Y?.getGridLineColor()?.toRGBA(Q.darkMode).toString() ?? Q.strokeFill;
|
|
42774
42775
|
return De || (Ne = st(K.getBottom(), Ne, !0), Ne = st(K.getTop(), Ne, !0), se = st(K.getRight(), se, !0), se = st(K.getLeft(), se, !0)), v(r3, { className: "sheetxl-sheet-primary", style: { ...Toe, ...Vt.toCSS(Q.darkMode), ...Fe.toCSS(Q.darkMode, pe), "--sxl-app-color-background": Q.fill, "--sxl-app-color-shadow": V.colorShadow, "--sxl-app-color-grey": V.colorGrey, "--sxl-app-color-button-fill": me.fill, "--sxl-app-color-button-text": me.text?.fill, "--sxl-app-color-button-border": me.edgeStrokeFill, "--sxl-app-color-primary-dark": V.selection.strokeFill }, ref: be, zoom: pe, ...A, onFirstRender: (lt) => {
|
|
42775
42776
|
pi(!0), A?.onFirstRender?.(lt), Zt?.activate();
|
|
42776
|
-
}, showGridLines: J, gridLineColor: At, gridLineColumnsProps: se, gridLineRowsProps: Ne, freezeLeft: Ye?.[
|
|
42777
|
+
}, showGridLines: J, gridLineColor: At, gridLineColumnsProps: se, gridLineRowsProps: Ne, freezeLeft: Ye?.[Co.Left], freezeLeftProps: tn, freezeTop: Ye?.[Co.Top], freezeTopProps: tn, width: it, height: tt, columnCount: Re.width, rowCount: Re.height, cursor: qn ?? Yn ?? "cell", clipCells: !0, layout: fe, cellRenderer: Cn, overlayRenderer: Jt, getCellCoordsAsRangeCoords: Me, getVisibleCells: rn, onWheelScroll: Yt, onPointerDown: Dn, onKeyDown: Vn, onViewportChange: le, onImmediateScroll: Xt, scrollPoint: ke, stageProps: { onFocus: () => {
|
|
42777
42778
|
Zt?.activate();
|
|
42778
42779
|
} }, overlays: Wr });
|
|
42779
42780
|
}, [L]);
|
|
@@ -42792,7 +42793,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42792
42793
|
Te(!0), S?.(ht);
|
|
42793
42794
|
}, onBlur: (ht) => {
|
|
42794
42795
|
Te(!1), _?.(ht);
|
|
42795
|
-
}, ref: hi, ...N, children: v("div", { className: ca("sheetxl-sheet", "_sheetxl-
|
|
42796
|
+
}, ref: hi, ...N, children: v("div", { className: ca("sheetxl-sheet", "_sheetxl-sheet_1qeq6_5"), style: { position: "absolute", width: "100%", height: "100%", boxSizing: "border-box", display: "flex", flexDirection: "column", flex: "1 1 100%", zIndex: "0", ...mr }, children: ne("div", { style: { display: "flex", flexDirection: "row", flex: "1 1 100%" }, children: [zt, Dt, ne("div", { style: { display: "flex", flexDirection: "column", flex: "1 1 100%", overflow: "hidden", position: "relative" }, children: [_n, ne("div", { style: { display: "flex", flexDirection: "column", flex: "1 1 100%", position: "relative", borderRight: `solid ${te.edgeStrokeWidth}px ${te.edgeStrokeFill}`, backgroundColor: Q.fill }, ref: D, onContextMenu: Qt, children: [_i, kt, v(eoe, { style: { position: "absolute", right: 24, bottom: 4 }, colorLicensee: V?.selection?.strokeFill, colorCredits: V?.body?.text?.fill })] })] })] }) }) });
|
|
42796
42797
|
if (d) {
|
|
42797
42798
|
const ht = (Fe) => v(a5, { ...Fe, sheet: n });
|
|
42798
42799
|
Qn = v(ky, { style: { flex: "1 1 100%", overflow: "hidden", background: `${te.fill}`, minHeight: 2 * Ze.height, minWidth: 2 * Ze.width, ...E }, viewport: re, touchElement: be.current?.stage, disableTouch: Un, onScrollViewport: (Fe) => {
|
|
@@ -42860,7 +42861,7 @@ const Roe = et(pt((t, e) => {
|
|
|
42860
42861
|
S(o), _.current = null, b(!1), s?.();
|
|
42861
42862
|
}, [s, o]), T = ce(() => {
|
|
42862
42863
|
if (!w) return null;
|
|
42863
|
-
const L = { className: ca("_editable-
|
|
42864
|
+
const L = { className: ca("_editable-input_1bqx6_6"), autoFocus: !0, spellCheck: !1, name: "editable-label", autoComplete: "off", maxLength: h, type: "text", value: x, onFocus: (F) => {
|
|
42864
42865
|
_.current || (_.current = F.target, setTimeout(() => {
|
|
42865
42866
|
F.target?.select();
|
|
42866
42867
|
}, 0));
|
|
@@ -43885,8 +43886,8 @@ const lie = et(function(t) {
|
|
|
43885
43886
|
const Nn = s5(ar);
|
|
43886
43887
|
return kh((Wr) => {
|
|
43887
43888
|
if (ur || !Nn || !Wr) return eie;
|
|
43888
|
-
const Qr = Math.sign(ar.x - Nn.x),
|
|
43889
|
-
return { x: { [si.Backward]: Wr.x[si.Backward] || Qr === -1, [si.Forward]: Wr.x[si.Forward] || Qr === 1 }, y: { [si.Backward]: Wr.y[si.Backward] ||
|
|
43889
|
+
const Qr = Math.sign(ar.x - Nn.x), ko = Math.sign(ar.y - Nn.y);
|
|
43890
|
+
return { x: { [si.Backward]: Wr.x[si.Backward] || Qr === -1, [si.Forward]: Wr.x[si.Forward] || Qr === 1 }, y: { [si.Backward]: Wr.y[si.Backward] || ko === -1, [si.Forward]: Wr.y[si.Forward] || ko === 1 } };
|
|
43890
43891
|
}, [ur, ar, Nn]);
|
|
43891
43892
|
}({ delta: nn, disabled: !Be }), [hn, yn] = function() {
|
|
43892
43893
|
const qn = Ie(null);
|
|
@@ -44117,7 +44118,7 @@ const Mie = (t) => {
|
|
|
44117
44118
|
}, Rie = et(pt((t, e) => {
|
|
44118
44119
|
const { children: n, style: r, className: o, index: i, editing: a, editable: s, selectedIndex: l, background: c, activeColor: d, borderColor: u, borderWidth: h, dragging: m, ...p } = t;
|
|
44119
44120
|
return ne("div", { ref: e, className: ca(o), style: { ...r, display: "flex", flexDirection: "column", background: l === i ? "white" : c, minHeight: "0px", fontFamily: "inherit", fontSize: "16px", fontWeight: l === i ? "700" : "400", lineHeight: "1", letterSpacing: "0px", textTransform: "none", minWidth: "unset" }, ...p, children: [ne("div", { style: { flex: "1 1 100%", display: "flex", flexDirection: "row" }, children: [v("div", { style: { marginLeft: l === i ? "0px" : "-1px", marginTop: l === i ? "0px" : "4px", marginBottom: "0px", background: "grey", minWidth: "1px" } }), n, l === i ? v("div", { style: { marginLeft: "0px", marginTop: "0px", marginBottom: "0px", background: "grey", minWidth: "1px" } }) : v(Wt, {})] }), v("div", { style: { flex: "1 1 100%", background: l === i && d ? d?.toCSS() : "none", minHeight: "2px" } })] });
|
|
44120
|
-
})), gs = { Wrapper: "
|
|
44121
|
+
})), gs = { Wrapper: "_Wrapper_1wyun_25", fadeIn: "_fadeIn_1wyun_33", dragOverlay: "_dragOverlay_1wyun_37", Item: "_Item_1wyun_47", withHandle: "_withHandle_1wyun_61", dragging: "_dragging_1wyun_66", disabled: "_disabled_1wyun_74" }, lP = ft.memo(ft.forwardRef(({ color: t, dragOverlay: e, dragging: n, disabled: r, fadeIn: o, handle: i, height: a, index: s, listeners: l, onRemove: c, renderItem: d, sorting: u, style: h, transition: m, transform: p, value: f, wrapperStyle: g, ...y }, w) => {
|
|
44121
44122
|
Ve(() => {
|
|
44122
44123
|
if (e) return document.body.style.cursor = "grabbing", () => {
|
|
44123
44124
|
document.body.style.cursor = "";
|
|
@@ -44125,7 +44126,7 @@ const Mie = (t) => {
|
|
|
44125
44126
|
}, [e]);
|
|
44126
44127
|
const b = d ? d({ dragOverlay: !!e, dragging: !!n, sorting: !!u, index: s, fadeIn: !!o, listeners: l, ref: w, style: h, transform: p, transition: m, value: f }) : v(Wt, { children: f });
|
|
44127
44128
|
return v("div", { className: ca("tab-item", gs.Wrapper, o && gs.fadeIn, u && gs.sorting, e && gs.dragOverlay), style: { ...g, transition: [m, g?.transition].filter(Boolean).join(", "), "--translate-x": p ? `${Math.round(p.x)}px` : void 0, "--translate-y": p ? `${Math.round(p.y)}px` : void 0, "--scale-x": p?.scaleX ? `${p.scaleX}` : void 0, "--scale-y": p?.scaleY ? `${p.scaleY}` : void 0, "--index": s }, ref: w, children: v("div", { className: ca(gs.Item, n && gs.dragging, i && gs.withHandle, e && gs.dragOverlay, r && gs.disabled, t && gs.color, "dragging"), style: h, "data-cypress": "draggable-item", ...i ? void 0 : l, ...y, tabIndex: i ? void 0 : -1, children: b }) });
|
|
44128
|
-
})), tR = { Row: "
|
|
44129
|
+
})), tR = { Row: "_Row_1kr10_1" }, Iie = et(pt(({ children: t, horizontal: e, style: n }, r) => v("div", { ref: r, style: { ...n }, className: ca(tR.Row, e && tR.horizontal), children: t }))), Aie = { ...oP }, Oie = et(pt((t, e) => {
|
|
44129
44130
|
const { className: n, activationConstraint: r, animateLayoutChanges: o, adjustScale: i = !1, collisionDetection: a = Hoe, coordinateGetter: s = Tie, dropAnimation: l = Aie, getItemStyles: c = () => ({}), getNewIndex: d, handle: u = !1, items: h, onMove: m, isDisabled: p = () => !1, measuring: f, modifiers: g, renderItem: y, renderDivider: w, reorderItems: b = gw, strategy: x = yw, style: S, useDragOverlay: _ = !0, onDragStart: E, wrapperStyle: R = () => ({}) } = t, [k, M] = xe(() => h);
|
|
44130
44131
|
Ve(() => {
|
|
44131
44132
|
M(h);
|
|
@@ -44144,7 +44145,7 @@ const Mie = (t) => {
|
|
|
44144
44145
|
const P = document.fullscreenElement;
|
|
44145
44146
|
if (!P) return;
|
|
44146
44147
|
let z = P.querySelector(".fullscreen-portal-root");
|
|
44147
|
-
z || (z = document.createElement("div"), z.className = "fullscreen-portal-root _fullscreen-portal-
|
|
44148
|
+
z || (z = document.createElement("div"), z.className = "fullscreen-portal-root _fullscreen-portal-root_1mjsr_4", P.appendChild(z));
|
|
44148
44149
|
}
|
|
44149
44150
|
return vf++, D(), document.addEventListener("fullscreenchange", D), () => {
|
|
44150
44151
|
document.removeEventListener("fullscreenchange", D), vf--, vf <= 0 && (document.querySelectorAll(".fullscreen-portal-root").forEach((P) => {
|
|
@@ -44229,7 +44230,7 @@ function Nie({ disabled: t, animateLayoutChanges: e, getNewIndex: n, handle: r,
|
|
|
44229
44230
|
}({ id: o, animateLayoutChanges: e, disabled: t, getNewIndex: n });
|
|
44230
44231
|
return v(lP, { ref: g, value: o, disabled: t, dragging: h, sorting: m, handle: r, renderItem: l, index: i, style: s({ index: i, id: o, isDragging: h, isSorting: m, overIndex: f }), onRemove: a ? () => a(o) : void 0, transform: y, transition: w, wrapperStyle: d({ index: i, isDragging: h, id: o }), listeners: p, "data-index": i, "data-id": o, dragOverlay: !c && h, ...u });
|
|
44231
44232
|
}
|
|
44232
|
-
const Fie = new
|
|
44233
|
+
const Fie = new po("rgb(33, 115, 70)"), Die = "#eee", Lie = (t) => v(Rie, { ...t }), cP = et(pt((t, e) => {
|
|
44233
44234
|
const { children: n, style: r, className: o, selectedTabIndex: i = 0, tabNames: a = [], onSelectedTabIndexChange: s, onTabNameChange: l, onTabMove: c, createScrollStartButton: d = ON, createScrollEndButton: u = NN, createScrollEdgeButton: h = MY, createTabButton: m = Lie, createTabDivider: p, editLabelProps: f, disabled: g = !1, disableDrag: y = !1, background: w = "white", activeColor: b = Fie, borderColor: x = Die, borderWidth: S = 1 } = t, [_, E] = xe(i), [R, k] = xe(a), M = ve((J) => {
|
|
44234
44235
|
const G = F.current?.[J]?.closest(".tab-item") ?? F.current?.[J];
|
|
44235
44236
|
G && H.current?.scrollTo({ top: G.offsetTop, left: G.offsetLeft, behavior: "smooth" });
|
|
@@ -44287,7 +44288,7 @@ const Fie = new ho("rgb(33, 115, 70)"), Die = "#eee", Lie = (t) => v(Rie, { ...t
|
|
|
44287
44288
|
}, [Q, me, Se]);
|
|
44288
44289
|
Ve(() => () => Se(), [Se]);
|
|
44289
44290
|
const Y = ce(() => ({ style: { marginLeft: "4px", marginRight: "6px" }, disabled: Math.floor(j.left) <= 0 || Math.floor($ - I) === 0, orientation: bi.Horizontal, onMouseUp: Se, onMouseLeave: Se, onMouseDown: () => be(H.current.scrollLeft, !0), onClick: (J) => Q(Math.min(H.current.scrollLeft, V ?? Number.MAX_SAFE_INTEGER), J.ctrlKey) }), [j, V, $, I]), ee = ce(() => ({ style: { marginLeft: "6px", marginRight: "4px" }, disabled: Math.floor($ - I) <= Math.ceil(j.left), orientation: bi.Horizontal, onMouseUp: Se, onMouseLeave: Se, onMouseDown: () => be(H.current.scrollLeft, !1), onClick: (J) => me(Math.max(H.current.scrollLeft, V ?? 0), J.ctrlKey) }), [j, V, $, I]), pe = ce(() => ne(Wt, { children: [v("div", { style: { minWidth: "16px" } }), n, h?.(Y)] }), [Y, ee, d, u, n, h]);
|
|
44290
|
-
return ne("div", { style: { ...r, display: "flex", alignItems: "stretch" }, className: ca("
|
|
44291
|
+
return ne("div", { style: { ...r, display: "flex", alignItems: "stretch" }, className: ca("_TabStrip_3x0dp_1", o), ref: D, children: [v("div", { style: { borderTop: `solid ${x} ${S}px`, position: "absolute", width: "100%" } }), v("div", { style: { flex: "none", display: "flex", alignItems: "center" }, children: pe }), v("div", { className: "Tabs", ref: z, style: { flex: "1 1 100%", display: "flex", position: "relative", overflow: "hidden" }, children: v("div", { style: { position: "relative", overflowY: "hidden", overflowX: "hidden", marginBottom: "3px" }, ref: H, onScroll: (J) => {
|
|
44291
44292
|
W({ left: J.target.scrollLeft, top: J.target.scrollTop, width: J.target.scrollWidth, height: J.target.scrollHeight });
|
|
44292
44293
|
}, children: v(Oie, { isDisabled: (J) => g || y, items: R, strategy: bie, modifiers: [Mie], ref: B, renderItem: P, renderDivider: p, onMove: T, activationConstraint: { distance: 15 } }) }) }), v("div", { style: { flex: "none", display: "flex", alignItems: "center" }, children: h(ee) })] });
|
|
44293
44294
|
}));
|
|
@@ -44295,7 +44296,7 @@ cP.displayName = "TabStrip";
|
|
|
44295
44296
|
const fse = (t) => ne("svg", { ...t, viewBox: "0 0 48 48", children: [v("path", { d: "M 2.2827924,0 C 1.5038324,0 0.87090248,0.52603 0.87090248,1.17149 v 25.39667 h -0.01 v 20.2607 c 0,0.39663 0.24025002,0.74639 0.60481992,0.95852 v 0.18499 h 0.50664 c 0.0972,0.0173 0.19732,0.0276 0.30092,0.0276 h 15.5346916 16.7448 v 0 h 11.35822 c 0.10311,0 0.20276,-0.0104 0.29945,-0.0276 h 0.0696 v -0.0182 c 0.59938,-0.13566 1.04238,-0.58606 1.04238,-1.12526 V 26.96484 c 0.006,-0.0429 0.009,-0.0853 0.009,-0.12925 V 1.17154 c 0,-0.64586 -0.63293,-1.17149 -1.41189,-1.17149 h -15.7478 v 2e-4 h -2.06997 V 5e-5 Z", fill: "#547DBE" }), v("path", { d: "m 2.8338324,2.7184 v 9.0404 H 11.538484 V 2.7184 Z m 11.2334116,0 v 9.0404 h 8.70465 V 2.7184 Z m 11.26696,0 v 9.0404 h 8.70465 V 2.7184 Z m 11.33258,0 v 9.0404 h 8.70465 V 2.7184 Z M 2.8338324,14.32723 v 8.84046 h 8.7046516 v -8.84046 z m 11.2334116,0 v 8.84046 h 8.70465 v -8.84046 z m 11.26696,0 v 8.84046 h 8.70465 v -8.84046 z m 11.33258,0 v 8.84046 h 8.70465 V 14.32723 Z M 2.8338324,25.73691 v 8.67308 h 8.7046516 v -8.67308 z m 11.2334116,0 v 8.67308 h 8.73721 v -8.67308 z m 11.26696,0 v 8.67308 h 8.70465 v -8.67308 z m 11.33258,0 v 8.67308 h 8.70465 V 25.73691 Z M 2.8693424,36.61859 v 8.67357 h 8.7046616 v -8.67357 z m 11.2339116,0 v 8.67357 h 8.73771 v -8.67357 z m 11.26697,0 v 8.67357 h 8.70465 v -8.67357 z m 11.33257,0 v 8.67357 h 8.70465 v -8.67357 z", fill: "#FFFFFF" }), v("path", { d: "m 2.8254424,2.72091 v 9.04041 H 11.570544 V 2.72091 Z m 0,11.60889 v 8.84036 H 11.570544 V 14.3298 Z m 0,11.40958 v 8.67357 h 8.7451016 v -8.67357 z m 0.036,10.88167 v 8.67358 h 8.7451116 v -8.67358 z", fill: "#547DBE", fillOpacity: "0.4" }), v("path", { d: "m 30.820434,6.19497 c 1.85291,0 3.66241,0.29708 5.4285,0.89113 1.7656,0.5942 3.49568,1.50108 5.19073,2.72107 l -2.37584,3.25571 c -1.40941,-1.01391 -2.79515,-1.76647 -4.15721,-2.25759 -1.36206,-0.49111 -2.72412,-0.73667 -4.08618,-0.73667 -2.5817,0 -4.58902,0.53064 -6.02232,1.59218 -1.43334,1.06143 -2.14989,2.56661 -2.14989,4.51523 v 0.0237 c 0,1.36241 0.41177,2.40021 1.23532,3.11315 0.82355,0.71288 1.89253,1.24367 3.20703,1.59217 1.31446,0.3485 2.71608,0.67341 4.20493,0.97439 1.29842,0.26929 2.58944,0.58216 3.87257,0.9386 1.28263,0.3565 2.45032,0.8635 3.50356,1.52097 1.05324,0.65747 1.89288,1.5486 2.51841,2.6734 0.62553,1.12485 0.93829,2.59035 0.93829,4.39635 v 0.0477 c 0,3.18435 -1.10849,5.64817 -3.32597,7.39066 -2.21698,1.7425 -5.33724,2.61399 -9.35978,2.61399 -1.67882,0 -3.25863,-0.15841 -4.73958,-0.47523 -1.4808,-0.31681 -2.86644,-0.79204 -4.15737,-1.42617 -1.29077,-0.63363 -2.49827,-1.42567 -3.6227,-2.37612 l 2.54179,-3.20819 c 1.39383,1.204 2.91819,2.10717 4.57323,2.70928 1.6549,0.60205 3.45641,0.90307 5.40463,0.90307 2.73991,0 4.85823,-0.52704 6.35447,-1.58048 1.49674,-1.05359 2.24511,-2.53098 2.24511,-4.43213 v -0.0237 c 0,-1.37834 -0.37197,-2.43583 -1.11639,-3.17245 -0.74442,-0.73668 -1.71824,-1.2912 -2.92194,-1.66359 -1.2037,-0.37223 -2.51051,-0.6851 -3.91993,-0.9386 -1.34627,-0.23762 -2.69635,-0.51485 -4.05046,-0.83182 -1.35417,-0.31677 -2.59339,-0.7841 -3.71782,-1.40204 -1.12448,-0.61779 -2.03125,-1.49708 -2.72017,-2.63782 -0.68898,-1.14078 -1.03341,-2.66156 -1.03341,-4.5627 v -0.0237 c 0,-3.21623 1.06898,-5.70753 3.20718,-7.47386 2.13805,-1.76648 5.15506,-2.64981 9.05121,-2.64981 z", strokeWidth: "2.5", stroke: "#EB594D", fill: "#f9CECB" })] }), Pie = P0(null), dP = () => {
|
|
44296
44297
|
const t = Ss(Pie), [e] = xe(() => new uy());
|
|
44297
44298
|
return ce(() => t || e, [t]);
|
|
44298
|
-
}, zie = ft.lazy(() => import("./
|
|
44299
|
+
}, zie = ft.lazy(() => import("./CtW_m0lUeW_X_FHB.js")), Bie = { lightbulb: { enabled: !1 }, tabSize: 2, acceptSuggestionOnCommitCharacter: !0, acceptSuggestionOnEnter: "on", accessibilitySupport: "auto", automaticLayout: !0, autoIndent: !1, codeLens: !0, colorDecorators: !0, contextmenu: !0, cursorBlinking: "blink", cursorSmoothCaretAnimation: !1, cursorStyle: "line", disableLayerHinting: !1, disableMonospaceOptimizations: !1, dragAndDrop: !0, glyphMargin: !0, fixedOverflowWidgets: !1, folding: !0, foldingStrategy: "auto", fontLigatures: !1, formatOnPaste: !0, formatOnType: !1, hideCursorInOverviewRuler: !1, highlightActiveIndentGuide: !0, links: !0, lineDecorationsWidth: 8, lineNumbersMinChars: 3, mouseWheelZoom: !1, multiCursorMergeOverlapping: !0, multiCursorModifier: "alt", overviewRulerBorder: !0, overviewRulerLanes: 2, quickSuggestions: !0, quickSuggestionsDelay: 100, readOnly: !1, renderControlCharacters: !1, renderFinalNewline: !0, renderIndentGuides: !0, renderLineHighlight: "all", renderWhitespace: "none", revealHorizontalRightPadding: 30, roundedSelection: !0, rulers: [], scrollBeyondLastColumn: 5, scrollBeyondLastLine: !0, selectOnLineNumbers: !0, selectionClipboard: !0, selectionHighlight: !0, showLightbulbIconMode: !1, showFoldingControls: "mouseover", smoothScrolling: !0, suggestOnTriggerCharacters: !0, wordBasedSuggestions: !0, wordSeparators: `~!@#$%^&*()-=+[{]}|;:'",.<>/?`, wordWrap: "off", wordWrapBreakAfterCharacters: " })]?|&,;", wordWrapBreakBeforeCharacters: "{([+", wordWrapBreakObtrusiveCharacters: ".", wordWrapColumn: 80, wordWrapMinified: !0, wrappingIndent: "none" }, nR = `
|
|
44299
44300
|
/**
|
|
44300
44301
|
* Placeholder for SheetXL scripting types.
|
|
44301
44302
|
*/
|
|
@@ -44420,7 +44421,7 @@ const Vie = et(pt((t, e) => {
|
|
|
44420
44421
|
let D = null;
|
|
44421
44422
|
const P = () => f;
|
|
44422
44423
|
return D = o ? o.createChildGroup(P, "scriptEditor", !1) : new am(P, "scriptEditor"), D.addCommands(g, !0), D;
|
|
44423
|
-
}, [o, g]), w =
|
|
44424
|
+
}, [o, g]), w = fo(y, ["executeSelectedScript"])[0], b = w?.context(), x = $e((D) => {
|
|
44424
44425
|
w?.execute(D);
|
|
44425
44426
|
}, [w]), S = Ie(""), [_, E] = xe(!1), R = $e(async () => {
|
|
44426
44427
|
if (!h.current) return null;
|
|
@@ -44497,7 +44498,7 @@ const Vie = et(pt((t, e) => {
|
|
|
44497
44498
|
}, []), A = Ie(null), O = $e((D, P) => {
|
|
44498
44499
|
h.current = { monaco: P, editor: D }, E(!0), C("Loading Types");
|
|
44499
44500
|
const z = b.getScripts().getModules().search()[0]?.getSource() ?? "";
|
|
44500
|
-
D.setValue(z), import("./
|
|
44501
|
+
D.setValue(z), import("./B1bRlKApOQZbRHvx.js").then(($) => $.c).then(($) => {
|
|
44501
44502
|
C(""), $.AutoTypings.create(D, { shareCache: !0, monaco: P, onError: (H) => {
|
|
44502
44503
|
H === "Not implemented yet" && (H = "Compile Errors"), console.warn("Error compiling types", H);
|
|
44503
44504
|
} }).then(async (H) => {
|
|
@@ -44664,7 +44665,7 @@ declare module '@sheetxl/primitives' {
|
|
|
44664
44665
|
h.current?.editor && requestAnimationFrame(() => {
|
|
44665
44666
|
F.current?.contains(document.activeElement) && T();
|
|
44666
44667
|
});
|
|
44667
|
-
}), []), v("div", { className: ca("script-editor", "_script-
|
|
44668
|
+
}), []), v("div", { className: ca("script-editor", "_script-editor_iy654_5", n), style: { display: "flex", flexDirection: "row", flex: "1 1 100%", position: "relative", ...r }, ref: F, ...u, children: L });
|
|
44668
44669
|
})), uP = { Preset: "preset", Custom: "custom" }, ru = { Start: "start", End: "end" }, q6 = {}, jie = (t, e, n, r) => {
|
|
44669
44670
|
const o = t + "-" + e + "-" + n + (r ? "-server" : "");
|
|
44670
44671
|
if (q6[o]) return q6[o];
|
|
@@ -44695,7 +44696,7 @@ declare module '@sheetxl/primitives' {
|
|
|
44695
44696
|
}, [n, i, e]), S = ce(() => e.toRGBA().alpha === 1 ? null : v(Uie, { size: p, white: u, grey: h, style: { position: "absolute", width: "calc(100% - 1.5px)", height: "calc(100% - 1.5px)", top: "0.75px", left: "0.75px" } }), [u, h, e]);
|
|
44696
44697
|
return ne("div", { style: { position: "absolute", height: "100%", width: "100%", top: "0px", left: "0px", cursor: "pointer", outline: "none", ...c }, tabIndex: 0, ...f, onClick: g, onKeyDown: x, onMouseOver: y, onMouseLeave: w, onFocus: b, children: [S, v("div", { style: { position: "absolute", top: "0px", left: "0px", height: "100%", width: "100%", background: e.toCSS(m) }, children: d })] });
|
|
44697
44698
|
}), c3 = et((t) => {
|
|
44698
|
-
const { schemeColorLookup: e, selectedColor: n, previewColor: r, colorDef: o, onSelectColorDef: i, onPreviewColorDef: a, swatchProps: s, defaultButtonSize: l = 24, isLarge: c = !1, compareRGB: d = !1, darkMode: u = !1, ...h } = t, m = new
|
|
44699
|
+
const { schemeColorLookup: e, selectedColor: n, previewColor: r, colorDef: o, onSelectColorDef: i, onPreviewColorDef: a, swatchProps: s, defaultButtonSize: l = 24, isLarge: c = !1, compareRGB: d = !1, darkMode: u = !1, ...h } = t, m = new po({ val: o.definition.val, adjs: o.definition.adjs }, (S) => e(S)), p = d ? m.toRGBA().toString() : m.toString(), f = n && (d ? n.toRGBA().toString() : n.toString()) === p, g = r && (d ? r.toRGBA().toString() : r.toString()) === p, y = [];
|
|
44699
44700
|
y.push({ [he.AdjustmentType.Inv]: !0 }), y.push({ [he.AdjustmentType.Alpha]: 100 });
|
|
44700
44701
|
const w = m.adjust(y), b = ve(() => {
|
|
44701
44702
|
i?.(o);
|
|
@@ -44729,19 +44730,19 @@ declare module '@sheetxl/primitives' {
|
|
|
44729
44730
|
return w;
|
|
44730
44731
|
}, [m, o, i, p, f]), y = ce(() => e ? v(Zn, { noWrap: !0, component: "div", sx: { display: "flex", flexShrink: "0", paddingLeft: "6px", paddingBottom: "4px", paddingTop: "0px", userSelect: "none", color: (w) => w.palette.text.secondary }, children: e }) : null, [e]);
|
|
44731
44732
|
return ne(Ge, { style: { ...l }, children: [y, v(Ge, { sx: { display: "flex", flexDirection: "row", gap: "6px", marginBottom: "14px", flexWrap: "wrap", justifyContent: "flex-start" }, ...h, children: g })] });
|
|
44732
|
-
}), ys = (t, e) => ({ description: t, definition: { val: e, adjs: [] } }),
|
|
44733
|
+
}), ys = (t, e) => ({ description: t, definition: { val: e, adjs: [] } }), Ao = (t, e, n, r, o, i) => {
|
|
44733
44734
|
const a = ys(t, e);
|
|
44734
44735
|
r?.push(a);
|
|
44735
|
-
const s = new
|
|
44736
|
+
const s = new po({ val: a.definition.val, adjs: a.definition.adjs }, n), l = s.toString();
|
|
44736
44737
|
o?.set(l, s);
|
|
44737
44738
|
const c = s.toRGBA().toString();
|
|
44738
44739
|
i?.set(c, s);
|
|
44739
|
-
}, qie = ft.lazy(() => import("./
|
|
44740
|
-
const { selectedColor: n = null, previewColor: r = t.selectedColor ?? null, recentColors: o, schemeLookup: i, disableAlpha: a = !1, previewDebounceTime: s = 100, initialPanelType: l, defaultButtonSize: c = 24, width: d, onElementLoad: u, onDone: h, onEyeDropStart: m, onEyeDropStop: p, onPreviewColor: f, onPreviewColorImmediate: g, onSelectColor: y, autoColor: w, autoColorLabel: b = "Automatic", autoColorPosition: x = ru.Start, compareRGB: S = !1, darkMode: _ = !1, ...E } = t, R = r || n, k = $e(f, [f]), M = $e(g, [g]), C = $e(y, [y]), T = $e(m, [m]), A = $e(p, [p]), [O, N] = xe(!1), L = rl(), F = ce(() => i ||
|
|
44740
|
+
}, qie = ft.lazy(() => import("./DJ3siDIdJVpw0GCs.js")), hP = et(pt((t, e) => {
|
|
44741
|
+
const { selectedColor: n = null, previewColor: r = t.selectedColor ?? null, recentColors: o, schemeLookup: i, disableAlpha: a = !1, previewDebounceTime: s = 100, initialPanelType: l, defaultButtonSize: c = 24, width: d, onElementLoad: u, onDone: h, onEyeDropStart: m, onEyeDropStop: p, onPreviewColor: f, onPreviewColorImmediate: g, onSelectColor: y, autoColor: w, autoColorLabel: b = "Automatic", autoColorPosition: x = ru.Start, compareRGB: S = !1, darkMode: _ = !1, ...E } = t, R = r || n, k = $e(f, [f]), M = $e(g, [g]), C = $e(y, [y]), T = $e(m, [m]), A = $e(p, [p]), [O, N] = xe(!1), L = rl(), F = ce(() => i || po.getDefaultSchemeLookup(), [i]), D = ce(() => {
|
|
44741
44742
|
const Y = /* @__PURE__ */ new Map(), ee = /* @__PURE__ */ new Map(), pe = [];
|
|
44742
|
-
|
|
44743
|
+
Ao("Primary Background", "bg1", F, pe, Y, ee), Ao("Primary Text", "tx1", F, pe, Y, ee), Ao("Secondary Background", "bg2", F, pe, Y, ee), Ao("Secondary Text", "tx2", F, pe, Y, ee), Ao("Accent 1", "accent1", F, pe, Y, ee), Ao("Accent 2", "accent2", F, pe, Y, ee), Ao("Accent 3", "accent3", F, pe, Y, ee), Ao("Accent 4", "accent4", F, pe, Y, ee), Ao("Accent 5", "accent5", F, pe, Y, ee), Ao("Accent 6", "accent6", F, pe, Y, ee);
|
|
44743
44744
|
const J = B7.buildPalette(pe, F, Y, ee), G = [];
|
|
44744
|
-
if (
|
|
44745
|
+
if (Ao("Dark Red", "C00000", F, G, Y, ee), Ao("Red", "FF0000", F, G, Y, ee), Ao("Orange", "FFC000", F, G, Y, ee), Ao("Yellow", "FFFF00", F, G, Y, ee), Ao("Light Green", "92D050", F, G, Y, ee), Ao("Green", "00B050", F, G, Y, ee), Ao("Light Blue", "00B0F0", F, G, Y, ee), Ao("Blue", "0070C0", F, G, Y, ee), Ao("Dark Blue", "002060", F, G, Y, ee), a ? Ao("Purple Is A Fruit", "7030A0", F, G, Y, ee) : Ao("Transparent", "00000000", F, G, Y, ee), w) {
|
|
44745
44746
|
const Ae = w.toString();
|
|
44746
44747
|
Y.set(Ae, w);
|
|
44747
44748
|
}
|
|
@@ -44776,7 +44777,7 @@ declare module '@sheetxl/primitives' {
|
|
|
44776
44777
|
const j = $e((Y) => {
|
|
44777
44778
|
M && (M(Y), B(Y));
|
|
44778
44779
|
}, [M]), W = $e((Y) => {
|
|
44779
|
-
j(Y ? new
|
|
44780
|
+
j(Y ? new po({ val: Y.definition.val, adjs: Y.definition.adjs }, F) : null);
|
|
44780
44781
|
}, [F]), V = ve((Y) => {
|
|
44781
44782
|
Y.ctrlKey && z(!0);
|
|
44782
44783
|
}, []), X = $e((Y) => {
|
|
@@ -44787,16 +44788,16 @@ declare module '@sheetxl/primitives' {
|
|
|
44787
44788
|
}
|
|
44788
44789
|
C?.(Y, ee);
|
|
44789
44790
|
}, [C, D]), Q = $e((Y) => {
|
|
44790
|
-
const ee = Y ? new
|
|
44791
|
+
const ee = Y ? new po({ val: Y.definition.val, adjs: Y.definition.adjs }, F) : null;
|
|
44791
44792
|
Promise.resolve(h?.()).then(() => {
|
|
44792
44793
|
X(ee);
|
|
44793
44794
|
});
|
|
44794
44795
|
}, [F, h]), me = $e((Y) => {
|
|
44795
|
-
j(Y ? new
|
|
44796
|
+
j(Y ? new po(Y, F) : null);
|
|
44796
44797
|
}, [F]), te = ce(() => window.EyeDropper === void 0 ? v(Wt, {}) : v(Yi, { "aria-label": "eye dropper", size: "small", sx: { color: (Y) => Y.palette.text.icon ?? Y.palette.action.active }, onClick: async () => {
|
|
44797
44798
|
N(!0), T?.(), await new EyeDropper().open().then((Y) => {
|
|
44798
44799
|
N(!1), A?.();
|
|
44799
|
-
let ee = new
|
|
44800
|
+
let ee = new po(Y.sRGBHex), pe = ee.toString(), J = D.mapAllPresets.get(pe);
|
|
44800
44801
|
if (J || (pe = ee.toRGBA().toString(), J = D.mapAllPresetsRGB.get(pe)), !J) {
|
|
44801
44802
|
const G = ee.toRGBA(), oe = 3;
|
|
44802
44803
|
let ie = 255;
|
|
@@ -44907,7 +44908,7 @@ declare module '@sheetxl/primitives' {
|
|
|
44907
44908
|
return v(ka, { icon: _($), sx: { background: `linear-gradient(${Mt("#fff", gr(5))}, ${Mt("#fff", gr(5))})` }, tooltipProps: { label: P, simple: !0, placement: z }, onClick: () => {
|
|
44908
44909
|
A(), k(B), R(B);
|
|
44909
44910
|
} });
|
|
44910
|
-
}, L = ne(Wt, { children: [ne(Ge, { sx: { display: "flex", padding: "6px 16px", justifyContent: "center", rowGap: "2px", gap: "2px" }, children: [N([Ue.Edge.Left, Ue.Edge.Top, Ue.Edge.Right, Ue.Edge.Bottom, Ue.Edge.Horizontal, Ue.Edge.Vertical], "All Borders", "top"), N([Ue.Edge.Horizontal, Ue.Edge.Vertical], "Inner Borders", "top"), N([Ue.Edge.Horizontal], "Inside Horizontal Borders", "top"), N([Ue.Edge.Vertical], "Inside Vertical Borders", "top"), N([Ue.Edge.Left, Ue.Edge.Top, Ue.Edge.Right, Ue.Edge.Bottom], "Outside Borders", "top")] }), ne(Ge, { sx: { display: "flex", padding: "6px 16px", justifyContent: "center", rowGap: "2px", gap: "2px" }, children: [N([Ue.Edge.Left], "Left Borders"), N([Ue.Edge.Top], "Top Borders"), N([Ue.Edge.Right], "Right Borders"), N([Ue.Edge.Bottom], "Bottom Borders"), N([Ue.Edge.Left, Ue.Edge.Top, Ue.Edge.Right, Ue.Edge.Bottom, Ue.Edge.Horizontal, Ue.Edge.Vertical, Ue.Edge.DiagonalUp, Ue.Edge.DiagonalDown], "No Borders", "bottom", !0)] })] }), F = v(Wt, { children: ne(Ge, { sx: { display: "flex", padding: "6px 16px", flexDirection: "row", gap: "6px" }, children: [v(bw, { variant: is.Toolbar, icon: v(By, {}), selectedColor: b === Ue.StrokeStyle.None ? new
|
|
44911
|
+
}, L = ne(Wt, { children: [ne(Ge, { sx: { display: "flex", padding: "6px 16px", justifyContent: "center", rowGap: "2px", gap: "2px" }, children: [N([Ue.Edge.Left, Ue.Edge.Top, Ue.Edge.Right, Ue.Edge.Bottom, Ue.Edge.Horizontal, Ue.Edge.Vertical], "All Borders", "top"), N([Ue.Edge.Horizontal, Ue.Edge.Vertical], "Inner Borders", "top"), N([Ue.Edge.Horizontal], "Inside Horizontal Borders", "top"), N([Ue.Edge.Vertical], "Inside Vertical Borders", "top"), N([Ue.Edge.Left, Ue.Edge.Top, Ue.Edge.Right, Ue.Edge.Bottom], "Outside Borders", "top")] }), ne(Ge, { sx: { display: "flex", padding: "6px 16px", justifyContent: "center", rowGap: "2px", gap: "2px" }, children: [N([Ue.Edge.Left], "Left Borders"), N([Ue.Edge.Top], "Top Borders"), N([Ue.Edge.Right], "Right Borders"), N([Ue.Edge.Bottom], "Bottom Borders"), N([Ue.Edge.Left, Ue.Edge.Top, Ue.Edge.Right, Ue.Edge.Bottom, Ue.Edge.Horizontal, Ue.Edge.Vertical, Ue.Edge.DiagonalUp, Ue.Edge.DiagonalDown], "No Borders", "bottom", !0)] })] }), F = v(Wt, { children: ne(Ge, { sx: { display: "flex", padding: "6px 16px", flexDirection: "row", gap: "6px" }, children: [v(bw, { variant: is.Toolbar, icon: v(By, {}), selectedColor: b === Ue.StrokeStyle.None ? new po("transparent") : x, onPreviewColor: (D) => {
|
|
44911
44912
|
w(D);
|
|
44912
44913
|
}, onSelectColor: (D, P) => {
|
|
44913
44914
|
w(D);
|
|
@@ -44918,7 +44919,7 @@ declare module '@sheetxl/primitives' {
|
|
|
44918
44919
|
m?.(S);
|
|
44919
44920
|
}, quickButtonProps: { sx: {} }, disabled: i, icon: C, ...h });
|
|
44920
44921
|
})), fP = et(pt((t, e) => {
|
|
44921
|
-
const { commands: n, command: r, commandHook: o, variant: i = Sn.Toolbar, disabled: a = !1, autoColor: s, autoStrokeStyle: l, schemeLookup: c, createTemporaryBorder: d, selectedBorder: u, onSelectBorder: h, darkMode: m, ...p } = t, f =
|
|
44922
|
+
const { commands: n, command: r, commandHook: o, variant: i = Sn.Toolbar, disabled: a = !1, autoColor: s, autoStrokeStyle: l, schemeLookup: c, createTemporaryBorder: d, selectedBorder: u, onSelectBorder: h, darkMode: m, ...p } = t, f = fo(n, ["formatBorder"]), g = r ?? f[0], y = g?.context() ?? null, w = y?.autoColor ?? s, b = y?.autoStyle ?? l, x = u ?? y?.quickBorder, S = m ?? y?.darkMode, _ = d ?? y?.createTemporaryBorder, E = c ?? y?.schemeLookup, R = $e((M) => {
|
|
44922
44923
|
y?.onBorderSelect && y.onBorderSelect(M), h?.(M), g?.execute(M, o);
|
|
44923
44924
|
}, [g, h, o]), k = ve((M, C) => {
|
|
44924
44925
|
const { children: T, title: A, ...O } = M;
|
|
@@ -44958,7 +44959,7 @@ declare module '@sheetxl/primitives' {
|
|
|
44958
44959
|
if (!r) return null;
|
|
44959
44960
|
const _ = { ...r };
|
|
44960
44961
|
return delete _.beforeExecute, _;
|
|
44961
|
-
}, [r]), g =
|
|
44962
|
+
}, [r]), g = fo(i, ["formatFontSizeIncrease", "formatFontSizeDecrease"]), y = ce(() => g ? ne(Ge, { className: mo("quick-buttons", {}), sx: { display: "flex", alignItems: "center", justifyContent: "center" }, onClick: (_) => _.stopPropagation(), children: [v(dt, { command: g[0], commandHook: f, icon: Ke(v(RQ, {})) }), v(dt, { command: g[1], icon: Ke(v(IQ, {})) })] }) : null, [g]), w = rl(), b = ce(() => `${xt.getSharedMeasurer()("12.3", Math.round(w.typography.fontSize), w.typography.fontFamily).width}px`, [w]), x = ve((_) => {
|
|
44962
44963
|
const { onMouseDown: E, onMouseUp: R, ...k } = _;
|
|
44963
44964
|
return v(Yi, { component: "div", ...k, disableRipple: !0, children: v(B0, { inputMode: "numeric", disabled: s || !n || n.disabled(), inputProps: { name: "font-input", autoComplete: "off", tabIndex: 0, type: "number", maxLength: 4, max: 409, min: 2 }, sx: { "&::before": { borderBottom: "1px solid transparent" }, "&:hover:not(.Mui-disabled):not(.Mui-focused):not(.Mui-error):before": { borderBottom: (M) => `1px solid ${M.palette.text.icon ?? M.palette.action.active}` }, "&:hover:not(.Mui-disabled):not(.Mui-error):before": { borderBottom: (M) => `1px solid ${M.palette.error.main}` }, "::after": { borderBottom: (M) => `1px solid ${M.palette.primary.main}` }, paddingTop: "0px", paddingBottom: "0px", paddingLeft: "0px", paddingRight: "0px", fontSize: (M) => `${Math.round(M.typography.fontSize)}px`, width: b, color: (M) => M.palette.text.secondary, input: { padding: "0 0", textAlign: "center", MozAppearance: "textfield", "&:hover:not(.Mui-disabled):not(.Mui-error)": { color: (M) => M.palette.text.primary }, "&:focus:not(.Mui-disabled):not(.Mui-error)": { color: (M) => M.palette.text.primary } }, "input::-webkit-inner-spin-button": { WebkitAppearance: "none", margin: "0" }, minHeight: "24px" }, value: h, onFocus: (M) => {
|
|
44964
44965
|
M.target?.select();
|
|
@@ -45005,7 +45006,7 @@ declare module '@sheetxl/primitives' {
|
|
|
45005
45006
|
l.keyCode !== Tn.Enter && l.keyCode !== Tn.Space || o(i.numberFormat);
|
|
45006
45007
|
}, ...s, children: ne(Ge, { sx: { display: "flex", flex: "1 1 100%", flexDirection: "column", overflow: "hidden" }, children: [ne(Zn, { component: "div", children: [i.formatType, i.formatType === _r.Type.Custom ? "…" : ""] }), v(Zn, { variant: "caption", component: "div", sx: { color: (l) => Mt(l.palette.text.primary, 0.6), paddingTop: r && r.length > 0 ? "1px" : void 0, overflow: "hidden", textOverflow: "ellipsis" }, children: r && r.length > 0 ? r : " " })] }) });
|
|
45007
45008
|
}), vP = et(pt((t, e) => {
|
|
45008
|
-
const { commands: n, commandHook: r, scope: o, sx: i, disabled: a = !1, parentFloat: s, ...l } = t, c =
|
|
45009
|
+
const { commands: n, commandHook: r, scope: o, sx: i, disabled: a = !1, parentFloat: s, ...l } = t, c = fo(n, ["formatNumberFormat"])[0], d = c?.state() ? _r.Styles.lookupStyle(c?.state()).formatType : _r.Type.General, u = ce(() => {
|
|
45009
45010
|
if (!r) return null;
|
|
45010
45011
|
const f = { ...r };
|
|
45011
45012
|
return delete f.beforeExecute, f;
|
|
@@ -45046,7 +45047,7 @@ declare module '@sheetxl/primitives' {
|
|
|
45046
45047
|
}, [i, r, o]);
|
|
45047
45048
|
return v(Mr, { ref: e, commands: n, disabled: i, commandHook: r, label: "Fill", tooltip: "Fill the selected cells with the value from one of the corners.", createPopupPanel: s, icon: Ke(v(R1, {})), ...a });
|
|
45048
45049
|
})), Sw = et(pt((t, e) => {
|
|
45049
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, disableSheet: a = !1, preferSingleMenu: s = !0, showQuickButton: l = !0, variant: c = Sn.Toolbar, ...d } = t, u = ["insertCellsShiftDown", "insertCellsShiftRight", "insertRows", "insertColumns"], h =
|
|
45050
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, disableSheet: a = !1, preferSingleMenu: s = !0, showQuickButton: l = !0, variant: c = Sn.Toolbar, ...d } = t, u = ["insertCellsShiftDown", "insertCellsShiftRight", "insertRows", "insertColumns"], h = fo(n, u), { singleCommand: m, allDisabled: p } = ce(() => {
|
|
45050
45051
|
let y = null, w = 0;
|
|
45051
45052
|
for (let b = 0; b < h.length; b++) h[b] && !h[b]?.disabled() && (s && c === Sn.Menuitem && (y = w === 0 ? h[b] : null), w++);
|
|
45052
45053
|
return { singleCommand: y, allDisabled: w === 0 };
|
|
@@ -45062,7 +45063,7 @@ declare module '@sheetxl/primitives' {
|
|
|
45062
45063
|
}, [i, h, r, o, f]);
|
|
45063
45064
|
return m ? v(dt, { ref: e, variant: c, commandHook: r, disabled: i, command: m, icon: f.get(m.key()), ...d }) : v(Mr, { ref: e, variant: c, quickCommand: "insertCells", commands: n, commandHook: r, scope: o, disabled: i || p, tooltip: ne(Wt, { children: [v("span", { children: "Insert new cells, rows or columns to your workbook." }), v("br", {}), v("span", { children: "To insert multiple rows or columns at a time, select multiple rows or columns in the sheet and click Insert." })] }), createPopupPanel: g, icon: Ke(v(ek, {})), ...d });
|
|
45064
45065
|
})), xw = et(pt((t, e) => {
|
|
45065
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, disableSheet: a = !1, preferSingleMenu: s = !0, showQuickButton: l = !0, variant: c = Sn.Toolbar, ...d } = t, u =
|
|
45066
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, disableSheet: a = !1, preferSingleMenu: s = !0, showQuickButton: l = !0, variant: c = Sn.Toolbar, ...d } = t, u = fo(n, ["deleteCellsShiftUp", "deleteCellsShiftLeft", "deleteRows", "deleteColumns"]), { singleCommand: h, allDisabled: m } = ce(() => {
|
|
45066
45067
|
let g = null, y = 0;
|
|
45067
45068
|
for (let w = 0; w < u.length; w++) u[w] && !u[w]?.disabled() && (s && c === Sn.Menuitem && (g = y === 0 ? u[w] : null), y++);
|
|
45068
45069
|
return { singleCommand: g, allDisabled: y === 0 };
|
|
@@ -45083,7 +45084,7 @@ declare module '@sheetxl/primitives' {
|
|
|
45083
45084
|
W0(n);
|
|
45084
45085
|
const y = n?.context();
|
|
45085
45086
|
let w = s ?? y?.quickColor;
|
|
45086
|
-
c && !w && (w = new
|
|
45087
|
+
c && !w && (w = new po("transparent"));
|
|
45087
45088
|
const b = m ?? y?.autoColor, x = p ?? y?.schemeLookup, S = f ?? y?.recentColors, _ = d ?? y?.darkMode, E = ce(() => ({ autoColor: b, schemeLookup: x, recentColors: S, darkMode: _, ...g }), [b, x, S, _]), R = $e((M, C) => {
|
|
45088
45089
|
M && C && y?.addRecentColor && y.addRecentColor(M), y?.onColorSelect && y.onColorSelect(M), o?.(M, C), n?.execute(M, r);
|
|
45089
45090
|
}, [n, o, r, y]), k = ve((M, C) => {
|
|
@@ -45095,7 +45096,7 @@ declare module '@sheetxl/primitives' {
|
|
|
45095
45096
|
}));
|
|
45096
45097
|
Iu.displayName = "ColorCommandButton";
|
|
45097
45098
|
const xP = et(pt((t, e) => {
|
|
45098
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, parentFloat: a, ...s } = t, l =
|
|
45099
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, parentFloat: a, ...s } = t, l = fo(n, ["gridlinesToggle", "sheetViewToggleGridlinesColumns", "sheetViewToggleGridlinesRows"]), c = ve((d, u) => {
|
|
45099
45100
|
const h = { variant: Sn.Menuitem, parentFloat: d.floatReference, commandHook: r, scope: o, disabled: i }, m = ne(Wt, { children: [v(dt, { ...h, command: u.getCommand("gridlinesToggle") }), v(Iu, { ...h, command: u.getCommand("sheetViewFormatGridlinesColor"), icon: v(By, {}), panelProps: { disableAlpha: !0 } }), v(sn, { orientation: "horizontal" }), v(dt, { ...h, command: u.getCommand("sheetViewToggleGridlinesColumns") }), v(dt, { ...h, command: u.getCommand("sheetViewToggleGridlinesRows") })] });
|
|
45100
45101
|
return pr({ ...d, children: m });
|
|
45101
45102
|
}, [i, r]);
|
|
@@ -45115,7 +45116,7 @@ const xP = et(pt((t, e) => {
|
|
|
45115
45116
|
})), Cw = et(pt((t, e) => {
|
|
45116
45117
|
const { quickCommand: n, icon: r, isRedo: o = !1, nestRedo: i = !0, undoManager: a, scope: s, sx: l, disabled: c, commands: d, ...u } = t, h = [n];
|
|
45117
45118
|
!o && i && h.push("redo");
|
|
45118
|
-
const m =
|
|
45119
|
+
const m = fo(d, h), p = m[0], f = m[1], g = a ?? p?.context?.()?.undoManager;
|
|
45119
45120
|
let y = c;
|
|
45120
45121
|
c || (y = !p || p.disabled(), f && !f.disabled() && (y = !1));
|
|
45121
45122
|
const [w, b] = xe(0), x = ve((S, _) => {
|
|
@@ -45186,7 +45187,7 @@ const CP = et(pt((t, e) => {
|
|
|
45186
45187
|
}, [i, n?.state()]);
|
|
45187
45188
|
return v(Is, { ref: e, sx: { ...o }, outlined: !0, disabled: i, parentFloat: a, createPopupPanel: u, createTooltip: ({ children: h }, m) => v(Pi, { label: n?.label(), description: n?.description(), disabled: m, children: h }), icon: v(Ge, { sx: { display: "flex", paddingLeft: "4px", paddingRight: "4px", fontSize: (h) => `${Math.round(h.typography.fontSize)}px`, fontFamily: (h) => h.typography.fontFamily, color: (h) => h.palette.text.secondary, width: d }, children: v(Ge, { sx: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "pre" }, children: l }) }), ...s });
|
|
45188
45189
|
})), EP = et(pt((t, e) => {
|
|
45189
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s =
|
|
45190
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s = fo(n, ["formatStrikeThroughToggle", "formatSuperscriptToggle", "formatSubscriptToggle"]), l = ce(() => {
|
|
45190
45191
|
for (let u = 0; u < s.length; u++) if (s[u]?.state()) return s[u].key();
|
|
45191
45192
|
return s[0]?.key();
|
|
45192
45193
|
}, [s]), c = ce(() => {
|
|
@@ -45198,7 +45199,7 @@ const CP = et(pt((t, e) => {
|
|
|
45198
45199
|
}, [i, r, o]);
|
|
45199
45200
|
return v(Mr, { ref: e, quickCommand: l, commands: n, commandHook: r, createPopupPanel: d, label: "Text Effects", tooltip: "Style your text to differentiate it.", icon: c.get(l) ?? Ke(v(rk, {})), ...a });
|
|
45200
45201
|
})), kP = et(pt((t, e) => {
|
|
45201
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s =
|
|
45202
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s = fo(n, ["formatUnderlinedToggle", "formatUnderlinedDoubleToggle", "formatUnderlinedAccountingToggle", "formatUnderlinedAccountingDoubleToggle"]), l = ce(() => {
|
|
45202
45203
|
for (let u = 0; u < s.length; u++) if (s[u]?.state()) return s[u].key();
|
|
45203
45204
|
return s[0]?.key();
|
|
45204
45205
|
}, [s]), c = ce(() => {
|
|
@@ -45216,7 +45217,7 @@ const CP = et(pt((t, e) => {
|
|
|
45216
45217
|
}, [s, o, i, a]);
|
|
45217
45218
|
return v(Mr, { ref: e, commands: r, commandHook: o, scope: i, createPopupPanel: c, label: "Paste", tooltip: "Add content to the clipboard to your document.", quickCommand: "paste", icon: v(JE, {}), ...l });
|
|
45218
45219
|
})), TP = et(pt((t, e) => {
|
|
45219
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, parentFloat: a, ...s } = t, l =
|
|
45220
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, parentFloat: a, ...s } = t, l = fo(n, ["sheetViewToggleShowHeadings", "sheetViewToggleShowHeadingColumns", "sheetViewToggleShowHeadingRows"]), c = ve((d, u) => {
|
|
45220
45221
|
const h = { variant: Sn.Menuitem, parentFloat: d.floatReference, commandHook: r, scope: o, disabled: i }, m = ne(Wt, { children: [v(dt, { ...h, command: u.getCommand("sheetViewToggleShowHeadings") }), v(dt, { ...h, command: u.getCommand("sheetViewToggleShowHeadingsNumeric") }), v(sn, { orientation: "horizontal" }), v(dt, { ...h, command: u.getCommand("sheetViewToggleShowHeadingColumns") }), v(dt, { ...h, command: u.getCommand("sheetViewToggleShowHeadingRows") })] });
|
|
45221
45222
|
return pr({ ...d, children: m });
|
|
45222
45223
|
}, [i, r, o]);
|
|
@@ -45275,7 +45276,7 @@ const CP = et(pt((t, e) => {
|
|
|
45275
45276
|
return _.getStyle().getFont().getSize() <= S ? _ : _.createTemporaryCell({ style: { font: { size: S } } });
|
|
45276
45277
|
}, [u?.createTemporaryCell]), w = s || !r || r.disabled(), b = ce(() => u && c ? v(RP, { value: m?.getName() ?? "Custom", cellStyle: m ? { named: m.getName() } : void 0, styles: u.styles(), createTemporaryCell: y, bodyStyle: u.bodyStyle(), className: "outline-hover", disabled: w, sx: { maxHeight: "24px", height: "24px", marginRight: "2px", outline: (x) => `1px solid ${x.palette.action.hover}` }, borderProps: {} }) : Ke(v(Ep, {})), [m, p, w]);
|
|
45277
45278
|
return v(Mr, { ref: e, createPopupPanel: g, outlined: c, commands: n, createTooltip: ({ children: x }, S) => v(Pi, { label: r?.label(), description: r?.description(), disabled: S, children: x }), selected: !1, disabled: w, label: r?.label(), icon: b, ...d });
|
|
45278
|
-
})), AP = "_sheetxl-
|
|
45279
|
+
})), AP = "_sheetxl-reset_ods65_1", Zie = 10, OP = et(pt((t, e) => {
|
|
45279
45280
|
const { styles: n, table: r, tableStyle: o = r?.getStyle() ?? n.getDefaultTableStyle(), bodyStyle: i, sx: a, disabled: s, className: l, forceThinBorder: c, cellHeight: d = Zie, isLive: u = !1, ...h } = t, m = Math.ceil(1.3 * d), [p, f] = Li((x) => x + 1, 0);
|
|
45280
45281
|
Ve(() => {
|
|
45281
45282
|
if (u && r) return r.addListeners({ onAnyChange: () => {
|
|
@@ -45309,7 +45310,7 @@ const CP = et(pt((t, e) => {
|
|
|
45309
45310
|
}
|
|
45310
45311
|
return S;
|
|
45311
45312
|
}, [g, o, i]), b = ve((x, S) => y[S].getBorder() ?? null, [y]);
|
|
45312
|
-
return v(Ge, { ref: e, className: "table-format-preview", sx: { background: i?.fill, filter: s ? "grayscale(0.4) opacity(0.8);" : "none", "& .styled-element": { position: "absolute" }, ...a }, ...h, children: v(uw, { getBorderAt: b, rowCount: 5, columnCount: 5, forceThinBorder: c, width: 5 * (m - 1) + 1, height: 5 * (d - 1) + 1, darkMode: i?.darkMode ?? !1, style: { pointerEvents: "none" }, children: v("table", { className:
|
|
45313
|
+
return v(Ge, { ref: e, className: "table-format-preview", sx: { background: i?.fill, filter: s ? "grayscale(0.4) opacity(0.8);" : "none", "& .styled-element": { position: "absolute" }, ...a }, ...h, children: v(uw, { getBorderAt: b, rowCount: 5, columnCount: 5, forceThinBorder: c, width: 5 * (m - 1) + 1, height: 5 * (d - 1) + 1, darkMode: i?.darkMode ?? !1, style: { pointerEvents: "none" }, children: v("table", { className: mo(l, "sheetxl-table-preview", AP), style: { borderCollapse: "collapse", width: 5 * (m - 1) + 1, height: 5 * (d - 1) + 1 }, children: v("tbody", { children: w }) }) }) });
|
|
45313
45314
|
})), B1 = (t, e, n, r, o) => {
|
|
45314
45315
|
t.beginPath(), t.moveTo(e + 0.5, n + 0.5), t.lineTo(r + 0.5, o + 0.5), t.stroke();
|
|
45315
45316
|
}, NP = et(pt((t, e) => {
|
|
@@ -45356,7 +45357,7 @@ const CP = et(pt((t, e) => {
|
|
|
45356
45357
|
}
|
|
45357
45358
|
return `url(${p.toDataURL()})`;
|
|
45358
45359
|
}, [c, u, r, i]);
|
|
45359
|
-
return v("div", { ref: e, className:
|
|
45360
|
+
return v("div", { ref: e, className: mo("table-style-preview", l), style: { backgroundImage: m, width: 61, height: 46, ...s }, ...d });
|
|
45360
45361
|
})), Jie = et(pt((t, e) => {
|
|
45361
45362
|
const { styleOptions: n, onStyleOptionsChange: r, showHeaderRow: o, onShowHeaderRowChange: i, showTotalRow: a, onShowTotalRowChange: s, showFilterButton: l, onShowFilterButtonChange: c, sx: d, disabled: u, ...h } = t;
|
|
45362
45363
|
return ne(Ge, { sx: { display: "flex", flexDirection: "column", flexWrap: "wrap", userSelect: "none", pt: 1, pb: 1, "& .MuiFormControlLabel-root": { marginLeft: (m) => `${m.spacing(2)}`, marginRight: (m) => `${m.spacing(2)}` }, "& .MuiCheckbox-root": { padding: (m) => `${m.spacing(0.5)}` }, ...d }, ...h, ref: e, children: [i && v(Dc, { control: v(Fc, { checked: o ?? !1, indeterminate: o == null, onChange: () => i(!o), disabled: u || o == null }), label: "Header Row", labelPlacement: "end" }), s && v(Dc, { control: v(Fc, { checked: a ?? !1, indeterminate: a == null, onChange: () => s(!a), disabled: u || a == null }), label: "Total Row", labelPlacement: "end" }), v(Dc, { control: v(Fc, { checked: n?.showRowStripes ?? !1, indeterminate: !n, disabled: u || !n, onChange: () => {
|
|
@@ -45480,7 +45481,7 @@ The heading font is '${e.getFontScheme().getMajorFont()}'.` }), placement: "bott
|
|
|
45480
45481
|
}, [n, a]);
|
|
45481
45482
|
return v(PP, { ref: e, themes: d, selectedTheme: u, onSelectTheme: m, variant: l === Sn.Menuitem ? is.Menuitem : is.Toolbar, createTooltip: p, disabled: a, darkMode: h, icon: Ke(v(LF, {})), ...c });
|
|
45482
45483
|
})), eae = et(pt((t, e) => {
|
|
45483
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s =
|
|
45484
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s = fo(n, ["themeMode"])[0], l = s?.state(), c = s?.state() !== null, d = JV("(prefers-color-scheme: dark)"), u = l === "dark" || l === null && d, h = $e((m, p) => {
|
|
45484
45485
|
const f = { variant: Sn.Menuitem, commandHook: r, scope: "appearance", disabled: i }, g = ne(Wt, { children: [v(dt, { ...f, command: s, icon: Ke(v(u ? Fv : Pv, {})) }), v(dt, { ...f, command: p.getCommand("defaultThemeMode"), icon: Ke(v(d ? BQ : $Q, {})) }), v(sn, { orientation: "horizontal" }), v(dt, { ...f, command: p.getCommand("forceLightGrid") }), v(dt, { ...f, command: p.getCommand("forceLightImages") })] });
|
|
45485
45486
|
return pr({ ...m, children: g });
|
|
45486
45487
|
}, [i, s, r, o, d, l, c]);
|
|
@@ -45494,7 +45495,7 @@ The heading font is '${e.getFontScheme().getMajorFont()}'.` }), placement: "bott
|
|
|
45494
45495
|
}, [i, r]);
|
|
45495
45496
|
return v(Mr, { ref: e, sx: a, commands: n, disabled: i, commandHook: r, scope: o, label: "Help", tooltip: "Help, feedback, and keyboard shortcuts.", createPopupPanel: l, icon: Ke(v(HQ, { sx: { transform: "scale(0.75)" } })), ...s });
|
|
45496
45497
|
})), kw = et(pt((t, e) => {
|
|
45497
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, preferSingleMenu: a = !0, showQuickButton: s = !0, variant: l = Sn.Toolbar, ...c } = t, d =
|
|
45498
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, preferSingleMenu: a = !0, showQuickButton: s = !0, variant: l = Sn.Toolbar, ...c } = t, d = fo(n, ["insertImageFromFile", "insertImageFromURL"]), { singleMenuCommand: u, allDisabled: h } = ce(() => {
|
|
45498
45499
|
let p = null, f = 0;
|
|
45499
45500
|
for (let g = 0; g < d.length; g++) d[g] && !d[g]?.disabled() && (a && l === Sn.Menuitem && (p = f === 0 ? d[g] : null), f++);
|
|
45500
45501
|
return { singleMenuCommand: p, allDisabled: f === 0 };
|
|
@@ -45545,7 +45546,7 @@ const $P = () => ft.useContext(BP), HP = et(pt((t, e) => {
|
|
|
45545
45546
|
}, []), M = ve((C) => {
|
|
45546
45547
|
_(C.target.value), f?.onChange(C);
|
|
45547
45548
|
}, [f]);
|
|
45548
|
-
return v(N5, { sx: { paddingTop: (C) => C.spacing(1.5), minWidth: 135, width: "100%", ...i }, size: "small", ref: e, className:
|
|
45549
|
+
return v(N5, { sx: { paddingTop: (C) => C.spacing(1.5), minWidth: 135, width: "100%", ...i }, size: "small", ref: e, className: mo("named-input", o), ...m, children: v(XI, { label: "Name", placeholder: a, onFocus: R, onBlur: k, inputRef: f?.ref, disabled: n, error: !!w, helperText: w || " ", sx: { "& .MuiFormHelperText-root": { marginTop: (C) => C.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { className: "autoFocus", name: l, spellCheck: !1, autoComplete: "off", readOnly: n, sx: { paddingTop: (C) => C.spacing(1.25), paddingBottom: (C) => C.spacing(0.75), backgroundImage: `linear-gradient(${Mt("#fff", gr(5))}, ${Mt("#fff", gr(5))})` } } }, value: x ?? "", onChange: M, onKeyDownCapture: E, onContextMenu: (C) => {
|
|
45549
45550
|
C.stopPropagation();
|
|
45550
45551
|
} }) });
|
|
45551
45552
|
}));
|
|
@@ -45578,7 +45579,7 @@ const qf = (t) => t === null ? "" : t.toString(), VP = et(pt((t, e) => {
|
|
|
45578
45579
|
}, [p]), [k, M] = xe(!1), C = ce(() => v(rj, { tabIndex: -1, sx: { display: "flex", position: "relative", flex: "0" }, position: "end", children: v(jee, { disabled: !0, selected: k, onSelectToggle: (T) => {
|
|
45579
45580
|
M(T);
|
|
45580
45581
|
}, label: "Select Range", icon: Ke(v(pee, {})) }) }), [k]);
|
|
45581
|
-
return v(N5, { sx: { paddingTop: (T) => T.spacing(1.5), minWidth: 135, width: "100%", ...s }, size: "small", ref: e, className:
|
|
45582
|
+
return v(N5, { sx: { paddingTop: (T) => T.spacing(1.5), minWidth: 135, width: "100%", ...s }, size: "small", ref: e, className: mo("range-input", a), ...h, children: v(XI, { label: "Range", placeholder: "Enter Range", onBlur: E, disabled: o, error: !!f, inputRef: p?.ref, helperText: f || " ", sx: { "& .MuiFormHelperText-root": { marginTop: (T) => T.spacing(0.5) } }, InputLabelProps: { shrink: !0 }, InputProps: { inputProps: { spellCheck: !1, autoComplete: "off", readOnly: o, name: n, sx: { paddingTop: (T) => T.spacing(1.25), paddingBottom: (T) => T.spacing(0.75) } }, sx: { backgroundImage: `linear-gradient(${Mt("#fff", gr(5))}, ${Mt("#fff", gr(5))})` }, endAdornment: C }, value: b ?? "", onChange: R, onKeyDownCapture: _, onContextMenu: (T) => {
|
|
45582
45583
|
T.stopPropagation();
|
|
45583
45584
|
} }) });
|
|
45584
45585
|
}));
|
|
@@ -45608,7 +45609,7 @@ const Tw = et(pt((t, e) => {
|
|
|
45608
45609
|
}, []), b = KC(() => {
|
|
45609
45610
|
h(m(we.findNextStep(n.getView().getZoomScale(), !1, 10)));
|
|
45610
45611
|
}), x = KC(() => h(m(we.findNextStep(n.getView().getZoomScale(), !0, 10)))), S = rl(), _ = ce(() => `${xt.getSharedMeasurer()("100%", Math.round(S.typography.fontSize), S.typography.fontFamily).width}px`, [S]);
|
|
45611
|
-
return ne(Ge, { ref: e, className:
|
|
45612
|
+
return ne(Ge, { ref: e, className: mo(r), sx: { padding: "0px 0px", display: "flex", alignItems: "center", color: (E) => E.palette.text.secondary, ...i }, onFocus: (E) => {
|
|
45612
45613
|
E.relatedTarget && !f && g(E.relatedTarget);
|
|
45613
45614
|
}, onBlur: (E) => {
|
|
45614
45615
|
f && !y?.current?.contains(E.relatedTarget) && g(null);
|
|
@@ -45648,7 +45649,7 @@ const Mw = et(pt((t, e) => {
|
|
|
45648
45649
|
return ne(Ge, { ref: l, sx: { display: "flex", alignItems: "stretch", flexDirection: "row", flex: "0", paddingLeft: "12px", paddingRight: "12px", gap: "8px", paddingTop: "1px", minHeight: "calc(1em + 8px)", overflow: u ? "visible" : "hidden", boxShadow: `0px -1px 0px ${o.header.edgeStrokeFill}`, ...n }, onMouseOver: () => h(!0), onMouseLeave: () => h(!1), ...s, children: [i, v("div", { style: { flex: "1 1 100%", display: "flex", alignItems: "end", overflow: "hidden" }, children: v(Zn, { component: "div", sx: { userSelect: "none", whiteSpace: "pre", overflow: "hidden", textOverflow: "ellipsis", color: (m) => m.palette.text.secondary }, variant: "caption", children: d }) }), a ? v(Ge, { sx: { display: "flex", alignItems: "center" }, children: a }) : null, v(sn, { style: { marginTop: "6px", marginBottom: "6px" } }), v(Tw, { sx: { paddingLeft: "4px", minWidth: "175px" }, sheet: r })] });
|
|
45649
45650
|
}));
|
|
45650
45651
|
Mw.displayName = "StatusBar";
|
|
45651
|
-
var iR, aR, Kf = { exports: {} }, $1 = {}, H1 = { exports: {} }, sR = {}, Xf = { exports: {} },
|
|
45652
|
+
var iR, aR, Kf = { exports: {} }, $1 = {}, H1 = { exports: {} }, sR = {}, Xf = { exports: {} }, Oo = {}, Wc = {};
|
|
45652
45653
|
function p5() {
|
|
45653
45654
|
return aR || (aR = 1, Object.defineProperty(Wc, "__esModule", { value: !0 }), Wc.dontSetMe = function(t, e, n) {
|
|
45654
45655
|
if (t[e]) return new Error(`Invalid prop ${e} passed to ${n} - do not set this, set it on the child.`);
|
|
@@ -45664,35 +45665,35 @@ function p5() {
|
|
|
45664
45665
|
}
|
|
45665
45666
|
var lR, cR, ec = {};
|
|
45666
45667
|
function S9() {
|
|
45667
|
-
if (cR) return
|
|
45668
|
-
cR = 1, Object.defineProperty(
|
|
45668
|
+
if (cR) return Oo;
|
|
45669
|
+
cR = 1, Object.defineProperty(Oo, "__esModule", { value: !0 }), Oo.addClassName = a, Oo.addEvent = function(l, c, d, u) {
|
|
45669
45670
|
if (!l) return;
|
|
45670
45671
|
const h = { capture: !0, ...u };
|
|
45671
45672
|
l.addEventListener ? l.addEventListener(c, d, h) : l.attachEvent ? l.attachEvent("on" + c, d) : l["on" + c] = d;
|
|
45672
|
-
},
|
|
45673
|
+
}, Oo.addUserSelectStyles = function(l) {
|
|
45673
45674
|
if (!l) return;
|
|
45674
45675
|
let c = l.getElementById("react-draggable-style-el");
|
|
45675
45676
|
c || (c = l.createElement("style"), c.type = "text/css", c.id = "react-draggable-style-el", c.innerHTML = `.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
|
|
45676
45677
|
`, c.innerHTML += `.react-draggable-transparent-selection *::selection {all: inherit;}
|
|
45677
45678
|
`, l.getElementsByTagName("head")[0].appendChild(c)), l.body && a(l.body, "react-draggable-transparent-selection");
|
|
45678
|
-
},
|
|
45679
|
+
}, Oo.createCSSTransform = function(l, c) {
|
|
45679
45680
|
const d = o(l, c, "px");
|
|
45680
45681
|
return { [(0, e.browserPrefixToKey)("transform", e.default)]: d };
|
|
45681
|
-
},
|
|
45682
|
+
}, Oo.createSVGTransform = function(l, c) {
|
|
45682
45683
|
return o(l, c, "");
|
|
45683
|
-
},
|
|
45684
|
+
}, Oo.getTouch = function(l, c) {
|
|
45684
45685
|
return l.targetTouches && (0, t.findInArray)(l.targetTouches, (d) => c === d.identifier) || l.changedTouches && (0, t.findInArray)(l.changedTouches, (d) => c === d.identifier);
|
|
45685
|
-
},
|
|
45686
|
+
}, Oo.getTouchIdentifier = function(l) {
|
|
45686
45687
|
return l.targetTouches && l.targetTouches[0] ? l.targetTouches[0].identifier : l.changedTouches && l.changedTouches[0] ? l.changedTouches[0].identifier : void 0;
|
|
45687
|
-
},
|
|
45688
|
+
}, Oo.getTranslation = o, Oo.innerHeight = function(l) {
|
|
45688
45689
|
let c = l.clientHeight;
|
|
45689
45690
|
const d = l.ownerDocument.defaultView.getComputedStyle(l);
|
|
45690
45691
|
return c -= (0, t.int)(d.paddingTop), c -= (0, t.int)(d.paddingBottom), c;
|
|
45691
|
-
},
|
|
45692
|
+
}, Oo.innerWidth = function(l) {
|
|
45692
45693
|
let c = l.clientWidth;
|
|
45693
45694
|
const d = l.ownerDocument.defaultView.getComputedStyle(l);
|
|
45694
45695
|
return c -= (0, t.int)(d.paddingLeft), c -= (0, t.int)(d.paddingRight), c;
|
|
45695
|
-
},
|
|
45696
|
+
}, Oo.matchesSelector = r, Oo.matchesSelectorAndParentsTo = function(l, c, d) {
|
|
45696
45697
|
let u = l;
|
|
45697
45698
|
do {
|
|
45698
45699
|
if (r(u, c)) return !0;
|
|
@@ -45700,22 +45701,22 @@ function S9() {
|
|
|
45700
45701
|
u = u.parentNode;
|
|
45701
45702
|
} while (u);
|
|
45702
45703
|
return !1;
|
|
45703
|
-
},
|
|
45704
|
+
}, Oo.offsetXYFromParent = function(l, c, d) {
|
|
45704
45705
|
const u = c === c.ownerDocument.body ? { left: 0, top: 0 } : c.getBoundingClientRect();
|
|
45705
45706
|
return { x: (l.clientX + c.scrollLeft - u.left) / d, y: (l.clientY + c.scrollTop - u.top) / d };
|
|
45706
|
-
},
|
|
45707
|
+
}, Oo.outerHeight = function(l) {
|
|
45707
45708
|
let c = l.clientHeight;
|
|
45708
45709
|
const d = l.ownerDocument.defaultView.getComputedStyle(l);
|
|
45709
45710
|
return c += (0, t.int)(d.borderTopWidth), c += (0, t.int)(d.borderBottomWidth), c;
|
|
45710
|
-
},
|
|
45711
|
+
}, Oo.outerWidth = function(l) {
|
|
45711
45712
|
let c = l.clientWidth;
|
|
45712
45713
|
const d = l.ownerDocument.defaultView.getComputedStyle(l);
|
|
45713
45714
|
return c += (0, t.int)(d.borderLeftWidth), c += (0, t.int)(d.borderRightWidth), c;
|
|
45714
|
-
},
|
|
45715
|
+
}, Oo.removeClassName = s, Oo.removeEvent = function(l, c, d, u) {
|
|
45715
45716
|
if (!l) return;
|
|
45716
45717
|
const h = { capture: !0, ...u };
|
|
45717
45718
|
l.removeEventListener ? l.removeEventListener(c, d, h) : l.detachEvent ? l.detachEvent("on" + c, d) : l["on" + c] = null;
|
|
45718
|
-
},
|
|
45719
|
+
}, Oo.scheduleRemoveUserSelectStyles = function(l) {
|
|
45719
45720
|
window.requestAnimationFrame ? window.requestAnimationFrame(() => {
|
|
45720
45721
|
i(l);
|
|
45721
45722
|
}) : i(l);
|
|
@@ -45782,7 +45783,7 @@ function S9() {
|
|
|
45782
45783
|
function s(l, c) {
|
|
45783
45784
|
l.classList ? l.classList.remove(c) : l.className = l.className.replace(new RegExp(`(?:^|\\s)${c}(?!\\S)`, "g"), "");
|
|
45784
45785
|
}
|
|
45785
|
-
return
|
|
45786
|
+
return Oo;
|
|
45786
45787
|
}
|
|
45787
45788
|
var dR, Bs = {};
|
|
45788
45789
|
function uR() {
|
|
@@ -46573,7 +46574,7 @@ const Ow = et(pt((t, e) => {
|
|
|
46573
46574
|
Ow.displayName = "FilterColumnMenu";
|
|
46574
46575
|
const UP = et(pt((t, e) => {
|
|
46575
46576
|
const { children: n, className: r, disabled: o, style: i, filter: a, ...s } = t, l = ti(e, () => ({ isFilters: () => !0 }), []);
|
|
46576
|
-
return v("div", { ref: l, className:
|
|
46577
|
+
return v("div", { ref: l, className: mo("filters", r), style: { position: "relative", display: "flex", flexDirection: "column", alignItems: "center", gap: "8px", ...i }, ...s, children: ne("div", { style: { flex: "1 1 100%", display: "flex", minHeight: "100px", minWidth: "220px", alignItems: "center", border: "grey solid 1px", padding: "4px 4px", overflow: "hidden", flexDirection: "column", justifyContent: "space-evenly", marginTop: "4px", marginBottom: "4px", marginLeft: "16px", marginRight: "16px" }, children: [v("div", { children: a.getName() }), v("div", { children: "Filter Widget" })] }) });
|
|
46577
46578
|
}));
|
|
46578
46579
|
UP.displayName = "Filters";
|
|
46579
46580
|
const Nw = et(pt((t, e) => {
|
|
@@ -46594,7 +46595,7 @@ const Nw = et(pt((t, e) => {
|
|
|
46594
46595
|
let T = null;
|
|
46595
46596
|
typeof m == "string" ? T = m : m?.toCSS && (T = m.toCSS());
|
|
46596
46597
|
const A = k ? v(Ge, { sx: { width: "100%", borderRadius: "4px", minWidth: "4px", height: "2px", backgroundColor: (O) => O.palette.primary.main } }) : null;
|
|
46597
|
-
return v(bne, { theme: k ? w ?? R : R, children: v(Ge, { ref: e, className:
|
|
46598
|
+
return v(bne, { theme: k ? w ?? R : R, children: v(Ge, { ref: e, className: mo(i), sx: { ...o, display: "flex", flexDirection: "column", minHeight: "0px", fontWeight: k ? "700" : "400", fontSize: "0.85rem", letterSpacing: "0", lineHeight: "1", textTransform: "none", minWidth: "unset", cursor: h ? "grabbing" : void 0 }, ...b, children: v(XY, { style: { flex: "1 1 100%", display: "flex", flexDirection: "row" }, radius: y, strokeColor: k ? T : "transparent", children: v(ip, { sx: { textTransform: "none", borderRadius: "0px", minHeight: "0px", paddingLeft: "11px", paddingRight: "12px", paddingTop: "3px", flex: "1 1 100%", paddingBottom: "3px", fontWeight: k ? "700" : "400", fontSize: "0.85rem", letterSpacing: "0", transition: "none", cursor: h ? "grabbing" : void 0, color: k ? "primary" : C || "text.secondary", backgroundColor: k ? g : "transparent", "&:hover:not([disabled])": { backgroundColor: k ? g : "transparent" }, "& input": { color: (O) => `${O.palette.text.primary}`, textAlign: "center", fontWeight: "500" }, marginTop: "0px", minWidth: "unset" }, disabled: d, disableRipple: l, component: "div", children: ne(Wt, { children: [M, ne(Ge, { sx: { zIndex: "1", display: "flex", flexDirection: "row", alignItems: "center" }, children: [ne(Ge, { sx: { display: "flex", flexDirection: "column", alignItems: "center", rowGap: "1px", lineHeight: "1", marginTop: k ? void 0 : "1px" }, children: [n, A] }), x ? v(D5, { sx: { scale: "0.80", marginLeft: "2px", width: "22px", height: "22px" }, color: "secondary" }) : v(Ge, { sx: { minHeight: "22px" } })] })] }) }, a + ":" + s) }) }) });
|
|
46598
46599
|
}));
|
|
46599
46600
|
Nw.displayName = "SheetTab";
|
|
46600
46601
|
const Fw = et(pt((t, e) => {
|
|
@@ -46612,7 +46613,7 @@ const Fw = et(pt((t, e) => {
|
|
|
46612
46613
|
d?.startEdit(r);
|
|
46613
46614
|
});
|
|
46614
46615
|
}, disabled: a || !h.isStructureAllowed(), parentFloat: s, children: ["Rename", i !== "sheet" ? " Sheet" : ""] }), v(dt, { command: o.getCommand("duplicateSheet"), ...g, variant: Sn.Menuitem }), v(dt, { command: o?.getCommand("protectionSheetToggle"), ...g, variant: Sn.Menuitem, icon: v(D5, {}) }), v(Iu, { variant: Sn.Menuitem, command: o.getCommand("formatSheetTabColor"), icon: v(By, {}), panelProps: { disableAlpha: !0, autoColorLabel: "No Tab Color", autoColorPosition: ru.End }, parentFloat: s }), v(sn, { orientation: "horizontal" }), v(dt, { command: o.getCommand("hideSheet"), ...g, variant: Sn.Menuitem, icon: Ke(v(PF, {})) })] });
|
|
46615
|
-
return v(Ge, { ref: e, className:
|
|
46616
|
+
return v(Ge, { ref: e, className: mo("menu", c), sx: { ...l }, ...u, children: y });
|
|
46616
46617
|
}));
|
|
46617
46618
|
Fw.displayName = "SheetTabMenu";
|
|
46618
46619
|
const Dw = et(pt((t, e) => {
|
|
@@ -46646,7 +46647,7 @@ const Dw = et(pt((t, e) => {
|
|
|
46646
46647
|
}
|
|
46647
46648
|
return m;
|
|
46648
46649
|
}, [n, d, l, o, r]);
|
|
46649
|
-
return v(Ge, { ref: e, className:
|
|
46650
|
+
return v(Ge, { ref: e, className: mo("menu", a), ...s, children: h });
|
|
46650
46651
|
}));
|
|
46651
46652
|
Dw.displayName = "SheetsAllMenu";
|
|
46652
46653
|
var aae = function() {
|
|
@@ -46944,7 +46945,7 @@ const Pp = et(pt((t, e) => {
|
|
|
46944
46945
|
return pr({ ...S, children: E });
|
|
46945
46946
|
}, [y]);
|
|
46946
46947
|
return ne(Ge, { className: "overflow-palette", sx: { display: "flex", flexDirection: "row", flex: "1 1 100%", width: "100%", maxWidth: "100%", ...r }, ref: Rw([a, s, e]), ...i, children: [v(Ge, { sx: { flexDirection: "row", display: "flex", maxWidth: "100%", flex: "1 1 100%" }, children: f ?? m }), v(Ge, { sx: { display: y !== null && y.length === 0 ? "none" : "flex", flex: "1 1 0" }, children: v(Is, { createPopupPanel: x, ref: c, parentFloat: b, createTooltip: ({ children: S }, _) => v(Pi, { label: "More", description: "More toolbar options…", disabled: _, children: S }), icon: v(xF, { children: v(UW, {}) }) }) })] });
|
|
46947
|
-
})), JP = "https://unpkg.com/@sheetxl/scripting-templates/dist", dae = [{ key: "SheetXL", description: "SheetXL", mimeType: ".sxl", exts: ["sxl"], isDefault: !0, handler: async (t, e) => (await import("./
|
|
46948
|
+
})), JP = "https://unpkg.com/@sheetxl/scripting-templates/dist", dae = [{ key: "SheetXL", description: "SheetXL", mimeType: ".sxl", exts: ["sxl"], isDefault: !0, handler: async (t, e) => (await import("./Dkcj5uYhkoaa5JJt.js")).fromBufferJSON(t, e) }, { key: "CSV", description: "Comma Delimited", mimeType: "text/csv", exts: ["csv"], handler: async (t, e) => (await import("./BFDOApZozGNnJdxs.js")).fromBufferCSV(t, e) }, { key: "Excel", description: "Excel Workbook", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", exts: ["xlsx", "xls", "xlsm"], handler: async (t, e) => (await import("./B2P82Dvadjo7-hRY.js").then((n) => n.i)).fromBufferXLSX(t, e) }], uae = [{ key: "SheetXL", mimeType: "application/vnd.sheetxl.sheet", description: "SheetXL", ext: "sxl", isDefault: !0, handler: async (t, e) => (await import("./Dkcj5uYhkoaa5JJt.js")).toBufferJSON(t, e) }, { key: "CSV", mimeType: "text/csv", description: "Comma Delimited", ext: "csv", handler: async (t, e) => (await import("./BFDOApZozGNnJdxs.js")).toBufferCSV(t, e) }, { key: "Excel", mimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", description: "Excel Workbook", ext: "xlsx", tags: ["SheetJS Pro"], handler: async (t, e) => (await import("./B2P82Dvadjo7-hRY.js").then((n) => n.i)).toBufferXLSX(t, e) }];
|
|
46948
46949
|
class QP {
|
|
46949
46950
|
constructor(e = dae, n = uae) {
|
|
46950
46951
|
this._readFormatTypes = [], this._writeFormatType = [], this._readFormatTypes = Object.freeze([...e]), this._writeFormatType = Object.freeze([...n]);
|
|
@@ -47338,7 +47339,7 @@ const RR = /^(con|prn|aux|nul|com\d|lpt\d)$/i, IR = /[<>:"/\\|?*\u0000-\u001F]/g
|
|
|
47338
47339
|
l.keyCode !== Tn.Enter && l.keyCode !== Tn.Space || o(n);
|
|
47339
47340
|
}, ...a, children: ne(Ge, { sx: { display: "flex", flex: "1 1 100%", flexDirection: "column", overflow: "hidden" }, children: [v(Zn, { component: "div", children: n.metadata?.title ?? n.path }), v(Zn, { variant: "caption", component: "div", sx: { color: (l) => Mt(l.palette.text.secondary ?? l.palette.text.primary, 0.6), overflow: "hidden", textOverflow: "ellipsis" }, children: n.metadata?.summary })] }) });
|
|
47340
47341
|
}), tz = et(pt((t, e) => {
|
|
47341
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, scriptPath: a = JP, ...s } = t, [l, c] = xe([]), [d, u] = xe(!0), h =
|
|
47342
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, scriptPath: a = JP, ...s } = t, [l, c] = xe([]), [d, u] = xe(!0), h = fo(n, ["executeSelectedScript"]), m = h[0]?.context?.();
|
|
47342
47343
|
Ve(() => {
|
|
47343
47344
|
(async () => {
|
|
47344
47345
|
try {
|
|
@@ -47389,14 +47390,14 @@ const Q6 = { fontSize: "1rem" }, nz = et(pt((t, e) => {
|
|
|
47389
47390
|
u(w), m(!1);
|
|
47390
47391
|
}
|
|
47391
47392
|
})();
|
|
47392
|
-
}, [n]), h) return v(Ge, { display: "flex", justifyContent: "center", alignItems: "center", height: "100%", className:
|
|
47393
|
+
}, [n]), h) return v(Ge, { display: "flex", justifyContent: "center", alignItems: "center", height: "100%", className: mo(i, "script-select"), sx: { background: (w) => w.palette.background.paper, zIndex: 1e3, backgroundImage: `linear-gradient(${Mt("#fff", gr(5))}, ${Mt("#fff", gr(5))})`, ...o }, ...c, children: v(W9, {}) });
|
|
47393
47394
|
let g = null;
|
|
47394
|
-
p && (g = ne(Ge, { display: "flex", justifyContent: "center", alignItems: "center", className:
|
|
47395
|
+
p && (g = ne(Ge, { display: "flex", justifyContent: "center", alignItems: "center", className: mo(i, "script-select", "error-results"), sx: { background: (w) => w.palette.error.light, flex: "0", zIndex: 1e3, flexDirection: "column", padding: (w) => w.spacing(1), border: (w) => `1px solid ${w.palette.error.main}`, borderBottomLeftRadius: 1, borderBottomRightRadius: 1, backgroundImage: `linear-gradient(${Mt("#fff", gr(5))}, ${Mt("#fff", gr(5))})` }, ...c, children: [v(Zn, { color: "error", variant: "h6", component: "div", gutterBottom: !0, children: "Error loading Templates" }), v(Zn, { color: "error", component: "div", children: p })] }));
|
|
47395
47396
|
const y = (w) => {
|
|
47396
47397
|
const b = w.metadata?.icon;
|
|
47397
47398
|
return b === "macro" ? v(Gy, { sx: Q6 }) : b === "formula" ? v(BF, { sx: Q6 }) : b === "autostart" ? v(JI, { sx: Q6 }) : null;
|
|
47398
47399
|
};
|
|
47399
|
-
return ne(Ge, { ref: e, className:
|
|
47400
|
+
return ne(Ge, { ref: e, className: mo(i, "script-select"), sx: { background: (w) => w.palette.background.paper, zIndex: 1e3, backgroundImage: `linear-gradient(${Mt("#fff", gr(5))}, ${Mt("#fff", gr(5))})`, ...o }, ...c, children: [ne(Ge, { p: 3, className: "script-select-content", sx: { overflow: "auto", flex: "1 1 auto" }, children: [v(Zn, { variant: "h6", gutterBottom: !0, children: "Script Template" }), v(Zn, { variant: "body2", component: "div", color: "text.secondary", gutterBottom: !0, children: "Choose from a template to provide a starting point to automate tasks or create user defined functions." }), v(Zn, { variant: "body2", component: "div", color: "text.secondary", gutterBottom: !0, children: "Templates provide a foundation to customize and meet your specific needs." }), v(Ge, { sx: { display: "grid", gridTemplateColumns: `repeat(auto-fill, minmax(${a}px, 1fr))`, gap: `${l}px`, padding: 2, paddingLeft: "0px", paddingRight: "0px" }, children: d.map((w, b) => ne(ip, { variant: "outlined", sx: { minWidth: a, minHeight: s, display: "flex", flexDirection: "column", justifyContent: "flex-start", alignItems: "flex-start", textAlign: "left", padding: 2, textTransform: "none", overflow: "hidden", ...b === 0 && { borderStyle: "dashed", marginBottom: "8px" }, ...b === 1 && { gridColumn: "1" } }, onClick: () => r?.(w), children: [ne(Ge, { sx: { display: "flex", flexDirection: "row", justifyContent: "space-between", alignItems: "center", width: "100%", marginBottom: 0.5 }, children: [v(Zn, { variant: "subtitle2", component: "div", children: w.metadata?.title || w.path.split("/").pop()?.replace(/\.\w+$/, "") || "Untitled" }), y(w)] }), w.metadata?.summary && v(Zn, { variant: "body2", component: "div", color: "text.secondary", sx: { overflow: "hidden", display: "flex", flexDirection: "column", textOverflow: "ellipsis", alignItems: "flex-start" }, children: w.metadata.summary })] }, `${w.path}-${b}`)) })] }), g] });
|
|
47400
47401
|
}));
|
|
47401
47402
|
nz.displayName = "TemplateSelectPanel";
|
|
47402
47403
|
const Pw = et(pt((t, e) => {
|
|
@@ -47421,7 +47422,7 @@ const Pw = et(pt((t, e) => {
|
|
|
47421
47422
|
if (P && P.length > 0) return P[0]?.focus?.(D), !0;
|
|
47422
47423
|
}
|
|
47423
47424
|
return _.current?.focus?.(D), !1;
|
|
47424
|
-
}, [E, l, c]), C = ce(() => v(dm, { transitionDelay: "160ms", style: { position: "absolute", width: "100%", height: "100%" }, transparentBackground: !1 }), []), T = ce(() => v(Cs, { elevation: 1, tabIndex: 0, sx: { display: "flex", alignItems: "center", userSelect: "none", flexGrow: 1, backgroundImage: `linear-gradient(${Mt("#fff", gr(5))}, ${Mt("#fff", gr(5))})`, marginLeft: (D) => D.spacing(0.5), marginRight: (D) => D.spacing(0.5), marginTop: (D) => D.spacing(1), marginBottom: (D) => D.spacing(1) }, children: v(Lw, { commands: i }) }), [h, i]), A = ce(() => v(Ge, { className:
|
|
47425
|
+
}, [E, l, c]), C = ce(() => v(dm, { transitionDelay: "160ms", style: { position: "absolute", width: "100%", height: "100%" }, transparentBackground: !1 }), []), T = ce(() => v(Cs, { elevation: 1, tabIndex: 0, sx: { display: "flex", alignItems: "center", userSelect: "none", flexGrow: 1, backgroundImage: `linear-gradient(${Mt("#fff", gr(5))}, ${Mt("#fff", gr(5))})`, marginLeft: (D) => D.spacing(0.5), marginRight: (D) => D.spacing(0.5), marginTop: (D) => D.spacing(1), marginBottom: (D) => D.spacing(1) }, children: v(Lw, { commands: i }) }), [h, i]), A = ce(() => v(Ge, { className: mo("script-status-panel", "status-panel"), sx: { display: "flex", alignItems: "stretch", flexDirection: "row", flex: "0", paddingLeft: "12px", paddingRight: "12px", gap: "8px", paddingTop: "1px", minHeight: "calc(1em + 8px)", margin: 0, borderTop: `solid 1px ${h.palette.divider}` }, children: ne("div", { style: { flex: "1 1 100%", display: "flex", alignItems: "center", flexDirection: "row", justifyContent: "center" }, children: [v(Zn, { component: "div", sx: { userSelect: "none", whiteSpace: "pre", overflow: "hidden", textOverflow: "ellipsis", flex: "1 1 100%", color: (D) => D.palette.text.secondary }, variant: "caption", children: g.message }), v(Zn, { component: "div", sx: { userSelect: "none", whiteSpace: "pre", overflow: "hidden", textOverflow: "ellipsis", flex: "none", color: (D) => D.palette.text.secondary }, variant: "caption", children: g.dirty ? "Unsaved" : "" }), v(Zn, { component: "div", sx: { userSelect: "none", whiteSpace: "pre", overflow: "hidden", textOverflow: "ellipsis", flex: "none", marginLeft: "8px", minWidth: "90px", display: "flex", justifyContent: "end", color: (D) => D.palette.text.secondary }, variant: "caption", children: g.cursor })] }) }), [g]), O = ce(() => ne(Ge, { className: mo("script-editor-content"), sx: { display: "flex", flex: "1 1 100%", width: "100%", flexDirection: "column", boxSizing: "border-box" }, children: [T, v(Ge, { sx: { display: "flex", flex: "1 1 100%", width: "100%", flexDirection: "row", position: "relative", boxSizing: "border-box" }, children: v(Vie, { ref: _, loadingPanel: C, readOnly: a, onClose: s, autoFocus: c, commands: i, onStatusChange: x, darkMode: h.palette.mode === "dark", ...o }) }), A] }), [h, i, T, A, m, C, a, o, c, l, s, x]), N = ce(() => v(VI, { className: mo({ "Mui-selected": f.current }), sx: { display: "flex", color: (D) => D.palette.text.secondary, boxSizing: "border-box", padding: "0 0", transitionProperty: "opacity", transitionDuration: (D) => `${D.transitions.duration.shortest}ms`, opacity: 0.7, "&.Mui-selected": { opacity: 1, transitionDuration: (D) => D.transitions.duration.shortest / 2 + "ms" }, backgroundColor: (D) => Mt(D.palette.action.hover, 0.03), borderBottom: (D) => `solid ${Mt(D.palette.divider, 0.2)} 1px` }, onPointerDown: (D) => {
|
|
47425
47426
|
D.isDefaultPrevented() || (D.preventDefault(), M());
|
|
47426
47427
|
}, children: ne(Ge, { sx: { display: "flex", flex: "1 1 10%", flexDirection: "row", alignItems: "center", marginTop: (D) => D.spacing(0.25), marginBottom: (D) => D.spacing(0.25), marginLeft: (D) => D.spacing(1), marginRight: (D) => D.spacing(1) }, children: [v(Ge, { sx: { flex: "1 1 100%", paddingLeft: (D) => D.spacing(1) }, children: "Script (Typescript)" }), v(Pi, { label: "Close", children: v(Yi, { "aria-label": "close", sx: { color: (D) => D.palette.text.icon ?? D.palette.action.active }, touchRippleRef: S, onPointerDown: (D) => {
|
|
47427
47428
|
S.current?.start(D, { center: !1 }), D.stopPropagation(), D.preventDefault();
|
|
@@ -47431,7 +47432,7 @@ const Pw = et(pt((t, e) => {
|
|
|
47431
47432
|
let D;
|
|
47432
47433
|
return w === null ? null : (w.source === null && (D = v(nz, { sx: { display: "flex", flex: "1 1 100%", flexDirection: "column", overflow: "hidden", position: "absolute", boxSizing: "border-box", width: "100%", height: "100%" }, onScriptSelect: (P) => {
|
|
47433
47434
|
_.current?.getEditor().insertSnippet(P.content), b({ source: P.content ?? "" });
|
|
47434
|
-
} })), ne(Ge, { tabIndex: 0, className:
|
|
47435
|
+
} })), ne(Ge, { tabIndex: 0, className: mo("script-workspace", n), sx: { display: "flex", flex: "1 1 100%", flexDirection: "column", overflow: "hidden", alignItems: "stretch", userSelect: "none", flexGrow: 0, outline: "none", backgroundImage: `linear-gradient(${Mt("#fff", gr(5))}, ${Mt("#fff", gr(5))})` }, onPointerDown: (P) => {
|
|
47435
47436
|
P.isDefaultPrevented() || _.current?.focus();
|
|
47436
47437
|
}, children: [N, ne(Ge, { sx: { flex: "1 1 100%", position: "relative", display: "flex" }, children: [O, D] })] }));
|
|
47437
47438
|
}, [T, O, n, w]), F = ti(e, () => ({ isScriptWorkspaceElement: () => !0, focus: (D) => {
|
|
@@ -47445,8 +47446,8 @@ const Pw = et(pt((t, e) => {
|
|
|
47445
47446
|
}));
|
|
47446
47447
|
Pw.displayName = "ScriptWorkspace";
|
|
47447
47448
|
const zw = et(pt((t, e) => {
|
|
47448
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s =
|
|
47449
|
-
|
|
47449
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s = fo(n, ["executeScript"])[0].context();
|
|
47450
|
+
fo(n, ["showScriptEditor"]);
|
|
47450
47451
|
const l = ve((c, d) => {
|
|
47451
47452
|
const u = { variant: Sn.Menuitem, commandHook: r, scope: "scripts", disabled: i, shortcut: null }, h = s?.getScripts(), m = h?.searchFunction({ type: "macro" }), p = [];
|
|
47452
47453
|
if (m) for (let g = 0; g < m.length; g++) {
|
|
@@ -47458,7 +47459,7 @@ const zw = et(pt((t, e) => {
|
|
|
47458
47459
|
}, [i, s, r, o]);
|
|
47459
47460
|
return v(Mr, { ref: e, commands: n, commandHook: r, createPopupPanel: l, selected: n.getCommand("showScriptEditor").state(), label: "Macros", tooltip: "Run or manage macros.", quickCommand: "showScriptEditor", icon: Ke(v(bee, {})), ...a });
|
|
47460
47461
|
})), yae = et(pt((t, e) => {
|
|
47461
|
-
const { commands: n, parentFloat: r, commandButtonProps: o, ...i } = t, a =
|
|
47462
|
+
const { commands: n, parentFloat: r, commandButtonProps: o, ...i } = t, a = fo(n, ["executeScript", "showScriptEditor"]), s = a[0]?.context?.(), l = ve((c) => {
|
|
47462
47463
|
const { commandButtonProps: d, commandPopupProps: u } = c, h = v(Iu, { ...u, command: n.getCommand("formatFontColor"), icon: v(bJ, {}), isSplit: !0, panelProps: { disableAlpha: !0 } }), m = v(Iu, { ...u, command: n.getCommand("formatFillColor"), icon: v(wJ, {}), isSplit: !0, panelProps: { disableAlpha: !0, autoColorLabel: "No Fill", autoColorPosition: ru.End } }), p = n.getCommand("undo") ? v(Wt, { children: v(Cw, { ...u, quickCommand: "undo" }) }) : null, f = n.getCommand("find") ? v(Wt, { children: v(wP, { ...u }) }) : null;
|
|
47463
47464
|
let g = null;
|
|
47464
47465
|
const y = s?.getScripts();
|
|
@@ -47570,7 +47571,7 @@ const zw = et(pt((t, e) => {
|
|
|
47570
47571
|
}, [m, h, n, x]), Se = ce(() => s || !C?.isStructureAllowed() ? null : v(Aa, { disableInteractive: !0, title: "New sheet", children: v(Yi, { disabled: a, component: "div", sx: { padding: "0", "&:hover:not([disabled])": { color: (be) => be.palette.primary.main }, color: (be) => be.palette.text.icon ?? be.palette.action.active, "& svg": { width: "18px", height: "18px" } }, "aria-label": "addTab", size: "small", onMouseDown: (be) => {
|
|
47571
47572
|
be.button === 0 && be.preventDefault();
|
|
47572
47573
|
}, onClick: () => F(), children: v(NW, {}) }) }), [s, a, C, F]);
|
|
47573
|
-
return ne(Ge, { ref: e, className:
|
|
47574
|
+
return ne(Ge, { ref: e, className: mo(f), sx: { position: "relative", display: "flex", alignItems: "stretch", flex: "1 1 100%", maxWidth: "100%", ...y }, ..._, children: [v(cP, { ref: j, selectedTabIndex: E, tabNames: A, onSelectedTabIndexChange: O, onTabNameChange: N, onTabMove: L, background: p, borderColor: b, borderWidth: w, activeColor: null, disabled: a, disableDrag: s || !C.isStructureAllowed(), createScrollStartButton: _ee, createScrollEndButton: Cee, createScrollEdgeButton: xee, createTabButton: ue, createTabDivider: (be) => {
|
|
47574
47575
|
const { key: Y, ...ee } = be;
|
|
47575
47576
|
return v(sn, { sx: { marginLeft: "-1px", marginRight: "0px", marginTop: "6px", marginBottom: "6px", background: (pe) => Mt(pe.palette.divider, 0.25) }, ...ee }, Y);
|
|
47576
47577
|
}, editLabelProps: { maxLength: 31, styleHover: { fontWeight: "700" }, onKeyPress: (be) => {
|
|
@@ -47590,7 +47591,7 @@ const $w = et(pt((t, e) => {
|
|
|
47590
47591
|
h(n.getSelectedSheet());
|
|
47591
47592
|
} }), Mn(u.getSelection(), { onChange() {
|
|
47592
47593
|
p(u.getSelectedRanges()), g(u.getSelectedCell());
|
|
47593
|
-
} }),
|
|
47594
|
+
} }), fo(r, [], { onChange: () => {
|
|
47594
47595
|
d();
|
|
47595
47596
|
} });
|
|
47596
47597
|
const y = ce(() => ({}), []), w = ce(() => ({ commandHook: { beforeExecute: (T, A) => a.closeAll(), onExecute() {
|
|
@@ -47614,7 +47615,7 @@ const $w = et(pt((t, e) => {
|
|
|
47614
47615
|
M ? R.push(Ar(Qs, { ...x, variant: Sn.Menuitem, key: "contextBefore:" + R.length, popupCommandKeys: ["convertTableToRange", "deleteTable"], popupScope: "table", scope: "context", commandState: M, quickCommand: "editTable", icon: (T) => (T.key(), Ke(v(H2, {}))) })) : R.push(Ar(dt, { command: r.getCommand("insertTable"), ...b, icon: Ke(v(H2, {})), key: "context:" + S.length })), R.push(Ar(kw, { ...x, key: "contextBefore:" + R.length }));
|
|
47615
47616
|
}
|
|
47616
47617
|
const C = ne(Wt, { children: [v(dt, { command: r.getCommand("cut"), ...b, icon: v(AJ, {}) }), v(d3, { command: r.getCommand("copy"), ...b }), v(Ew, { command: r.getCommand("paste"), ...x, includePasteAllInPopup: !1 }), v(sn, { orientation: "horizontal" }), v(_w, { ...x }), v(sn, { orientation: "horizontal" }), v(Sw, { commands: r, ...x, disableSheet: !0 }), v(xw, { commands: r, ...x, disableSheet: !0 }), v(vw, { ...x }), R, S] });
|
|
47617
|
-
return v(Ge, { ref: e, className:
|
|
47618
|
+
return v(Ge, { ref: e, className: mo("menu", s), sx: { ...i }, ...l, children: C });
|
|
47618
47619
|
}));
|
|
47619
47620
|
var OR, NR;
|
|
47620
47621
|
$w.displayName = "WorkbookContextMenu", function() {
|
|
@@ -48143,7 +48144,7 @@ const Rae = { fireOnModelChange: !1 }, e7 = { flex: "1 1 100%", display: "flex"
|
|
|
48143
48144
|
Ve(() => {
|
|
48144
48145
|
ar ? Wr.open(0) : Wr.close(0);
|
|
48145
48146
|
}, [ar]);
|
|
48146
|
-
const
|
|
48147
|
+
const ko = $e((nt, Dt) => {
|
|
48147
48148
|
if (nt?.isDefaultPrevented()) return !0;
|
|
48148
48149
|
nt.preventDefault(), ar && ar.anchor === nt.currentTarget ? ur(null) : ur({ anchor: nt.currentTarget, popperProps: { offsets: [-4, 2] }, createPopupPanel: (dn) => {
|
|
48149
48150
|
const { floatReference: _n } = dn;
|
|
@@ -48231,7 +48232,7 @@ const Rae = { fireOnModelChange: !1 }, e7 = { flex: "1 1 100%", display: "flex"
|
|
|
48231
48232
|
}, onShowTooltip: (nt) => {
|
|
48232
48233
|
ut({ x: nt.anchor.x, y: nt.anchor.y, width: 0, height: 0 }, nt.display, nt.placement);
|
|
48233
48234
|
}, onCloseTooltip: () => Ye(), renderMovable: rn, ...F, cellRenderProps: { onFilterButtonMouseDown: (nt, Dt) => {
|
|
48234
|
-
F?.cellRenderProps?.onFilterButtonMouseDown(nt, Dt),
|
|
48235
|
+
F?.cellRenderProps?.onFilterButtonMouseDown(nt, Dt), ko(nt, Dt);
|
|
48235
48236
|
}, ...F?.cellRenderProps } }, X), [D, U, F, Ae, Xe, a, p]), Dn = ce(() => {
|
|
48236
48237
|
if (!ge) return null;
|
|
48237
48238
|
const nt = !qe.isStructureAllowed();
|
|
@@ -48249,7 +48250,7 @@ const Rae = { fireOnModelChange: !1 }, e7 = { flex: "1 1 100%", display: "flex"
|
|
|
48249
48250
|
let dn = null, _n = 4, Cn = 13;
|
|
48250
48251
|
return Bt ? dn = "m 3.6261898,11.36243 c 0,0.88365 -0.71627,1.59991 -1.59991,1.59991 -0.8836498,0 -1.60004965,-0.71626 -1.60004965,-1.59991 0,-0.88365 0.71639985,-1.6000508 1.60004965,-1.6000508 0.88364,0 1.59991,0.7164008 1.59991,1.6000508 m 0,-4.881294 c 0,0.88364 -0.71627,1.60004 -1.59991,1.60004 -0.8836498,0 -1.60004965,-0.7164 -1.60004965,-1.60004 0,-0.88365 0.71639985,-1.60005 1.60004965,-1.60005 0.88364,0 1.59991,0.7164 1.59991,1.60005 m 0,-4.881226 c 0,0.88365 -0.71627,1.60005 -1.59991,1.60005 C 1.14263,3.19996 0.42623015,2.48356 0.42623015,1.59991 0.42623015,0.71626 1.14263,0 2.0262798,0 c 0.88364,0 1.59991,0.71626 1.59991,1.59991" : (dn = "M 1.59991,3.62619 C 0.71626,3.62619 0,2.90992 0,2.02628 0,1.1426301 0.71626,0.42623015 1.59991,0.42623015 c 0.88365,0 1.6000508,0.71639995 1.6000508,1.60004985 0,0.88364 -0.7164008,1.59991 -1.6000508,1.59991 m 4.881294,0 c -0.88364,0 -1.60004,-0.71627 -1.60004,-1.59991 0,-0.8836499 0.7164,-1.60004985 1.60004,-1.60004985 0.88365,0 1.60005,0.71639995 1.60005,1.60004985 0,0.88364 -0.7164,1.59991 -1.60005,1.59991 m 4.881226,0 c -0.88365,0 -1.60005,-0.71627 -1.60005,-1.59991 0,-0.8836499 0.7164,-1.60004985 1.60005,-1.60004985 0.88365,0 1.59991,0.71639995 1.59991,1.60004985 0,0.88364 -0.71626,1.59991 -1.59991,1.59991", _n = 13, Cn = 4), v(_8, { fixedPane: "after", position: "40%", minAfter: Bt ? "280px" : "120px", splitDirection: Bt ? "row" : "column", style: e7, ref: Yn, resizerProps: { className: "styled-resizer", style: { minWidth: Bt ? "6px" : void 0, minHeight: Bt ? void 0 : "6px", maskImage: `url("data:image/svg+xml,%3Csvg width='${_n}' height='${Cn}' viewBox='0 0 ${_n} ${Cn}' version='1.1' fill='${j.palette.text.icon ?? j.palette.action.active}' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cpath d='${dn}' /%3E%3C/svg%3E%0A")`, maskRepeat: "no-repeat", maskPosition: Bt ? "left center" : "top center" } }, elementBefore: Dt, paneBeforeProps: { style: { flexDirection: "column" } }, elementAfter: Dn, paneAfterProps: { style: { marginLeft: Bt ? "0px" : "4px", marginRight: Bt ? "8px" : "4px" } } });
|
|
48251
48252
|
}, [nn, wt, qn, hn, _e, Dn, tn, Ln, j, Bt]), Vn = ce(() => ({ boxSizing: "border-box", background: (nt) => nt.palette.mode !== "dark" ? Xe.header.fill : nt.palette.background.paper, "& *": { ...Xy(j), fontWeight: 400 }, "&.Mui-focusVisible": {}, "& .viewport-overlay": { borderRight: `solid ${yn} 1px` }, ...l }), [l, Xe]);
|
|
48252
|
-
return ne(Cs, { className:
|
|
48253
|
+
return ne(Cs, { className: mo("sheetxl-workbook", "_sheetxl-workbook_1j3lu_5", { "Mui-focusVisible": Q }, "_sheetxl-theme_4opcr_2", d), sx: Vn, style: c, square: !1, ...H, ref: G, onFocus: (nt) => {
|
|
48253
48254
|
me(!0), Oa(), u?.(nt);
|
|
48254
48255
|
}, onBlur: (nt) => {
|
|
48255
48256
|
me(!1), h?.(nt);
|
|
@@ -48260,7 +48261,7 @@ const Rae = { fireOnModelChange: !1 }, e7 = { flex: "1 1 100%", display: "flex"
|
|
|
48260
48261
|
const Dt = new Image();
|
|
48261
48262
|
Dt.src = nt.target.src, nt.dataTransfer.setDragImage(Dt, 1, 1);
|
|
48262
48263
|
}
|
|
48263
|
-
}, onDragEnter: Nt, onDragLeave: Nt, onDragOver: Nt, onDrop: kt, children: [ne("div", { className:
|
|
48264
|
+
}, onDragEnter: Nt, onDragLeave: Nt, onDragOver: Nt, onDrop: kt, children: [ne("div", { className: mo(AP), style: { flex: "1 1 100%", display: "flex", flexDirection: "column", opacity: Y ? void 0 : 0, "--sxl-app-color-high-contrast": j.palette.primary.main, "--sxl-app-color-primary": j.palette.primary.main, "--sxl-app-color-primary-dark": j.palette.primary.dark, "--sxl-app-color-primary-light": j.palette.primary.light, "--sxl-app-color-info": j.palette.info.main, "--sxl-app-color-info-dark": j.palette.info.dark, "--sxl-app-color-info-light": j.palette.info.light, "--sxl-app-color-secondary": j.palette.secondary.main, "--sxl-app-color-secondary-dark": j.palette.secondary.dark, "--sxl-app-color-secondary-light": j.palette.secondary.light, "--sxl-app-color-success": j.palette.success.main, "--sxl-app-color-success-dark": j.palette.success.dark, "--sxl-app-color-success-light": j.palette.success.light, "--sxl-app-color-warning": j.palette.warning.main, "--sxl-app-color-warning-dark": j.palette.warning.dark, "--sxl-app-color-warning-light": j.palette.warning.light, "--sxl-app-color-error": j.palette.error.main, "--sxl-app-color-error-dark": j.palette.error.dark, "--sxl-app-color-error-light": j.palette.error.light, "--sxl-app-color-text": j.palette.text.primary, "--sxl-app-color-text-secondary": j.palette.text.secondary, "--sxl-app-color-text-disabled": j.palette.text.disabled, "--sxl-app-color-background": j.palette.background.paper, "--sxl-app-color-button-surface": j.palette.grey[600], "--sxl-app-color-shadow": j.palette.action.focus, "--sxl-app-color-grey": j.palette.grey[500], "--sxl-app-filter-dark-invert": Xe.body.darkMode && !$ ? "hue-rotate(180deg) invert(1) brightness(95%)" : "none", "--sxl-app-image-background": Xe.body.darkMode ? `linear-gradient(${Mt("#fff", gr(5))}, ${Mt("#fff", gr(5))})` : void 0 }, children: [Un, Zt ? Yt : null, v(Ge, { sx: { marginBottom: (nt) => nt.spacing(0.75) } }), cr, Hn, v(Aa, { arrow: !0, disableInteractive: !0, open: re, title: v(Zn, { variant: "subtitle2", component: "div", children: le }), placement: ke, TransitionProps: { timeout: { exit: 0 } }, PopperProps: { popperRef: q, sx: { "& .MuiTooltip-tooltip": { padding: "2px 6px", "& .MuiTooltip-arrow": { display: re ? "visible" : "none" } } }, anchorEl: { getBoundingClientRect: () => new DOMRect(Me.x, Me.y, Me.width, Me.height) }, modifiers: [{ name: "offset", options: { offset: [0, 0] } }] }, children: v(Ge, {}) }), Qr, zt] }), Qt] });
|
|
48264
48265
|
}));
|
|
48265
48266
|
az.displayName = "WorkbookElement";
|
|
48266
48267
|
const zae = (t = !1, e = !1) => e ? null : { "& input:not(:focus):not(:hover)": { color: (n) => n.palette.text.secondary }, backgroundColor: (n) => Mt(n.palette.background.paper, 0.6), borderRadius: (n) => `${n.shape.borderRadius}px`, border: (n) => `solid ${t ? n.palette.divider : "transparent"} 1px`, "&.Mui-disabled": { border: (n) => `solid ${t ? n.palette.divider : "transparent"} 1px` }, "&:focus-within:not([disabled])": { backgroundColor: (n) => n.palette.background.paper }, "&:hover:not([disabled])": { border: (n) => `solid ${t ? n.palette.text?.primary : n.palette.divider} 1px`, backgroundColor: null }, "&.Mui-focusVisible": { outline: (n) => `solid ${n.palette.primary.main} 1px !important`, border: (n) => `1px solid ${n.palette?.primary?.main} !important` } }, sz = et(pt((t, e) => {
|
|
@@ -48277,7 +48278,7 @@ const zae = (t = !1, e = !1) => e ? null : { "& input:not(:focus):not(:hover)":
|
|
|
48277
48278
|
}, 300)();
|
|
48278
48279
|
}, [_, b]), Ve(() => {
|
|
48279
48280
|
m(p && !d0.isValidWindowsFilename(p));
|
|
48280
|
-
}, [p]), l ? null : v(Ge, { sx: { display: "flex", flexDirection: "column", justifyContent: "center", alignItems: "center", opacity: _ ? "0" : "1", transition: _ ? void 0 : "opacity .25s ease-in", "& .tooltip-wrapper": { maxWidth: "100%" } }, ref: Rw([M, x, e]), ...c, children: v(Pi, { label: k.current?.requestReason ?? "Workbook Name", children: ne(Ge, { className:
|
|
48281
|
+
}, [p]), l ? null : v(Ge, { sx: { display: "flex", flexDirection: "column", justifyContent: "center", alignItems: "center", opacity: _ ? "0" : "1", transition: _ ? void 0 : "opacity .25s ease-in", "& .tooltip-wrapper": { maxWidth: "100%" } }, ref: Rw([M, x, e]), ...c, children: v(Pi, { label: k.current?.requestReason ?? "Workbook Name", children: ne(Ge, { className: mo({ "Mui-focusVisible": d }), sx: { visibility: b === 0 ? "hidden" : "visible", display: "block", maxWidth: "100%", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap", paddingLeft: "12px", paddingRight: "12px", marginLeft: "2px", marginRight: "2px", paddingTop: "2px", paddingBottom: "1px", ...zae(!0, s), ...n }, children: [s ? v(Zn, { variant: "subtitle1", component: "div", sx: { whiteSpace: "nowrap", fontStyle: p !== g ? "italic" : void 0, userSelect: "none", textOverflow: "ellipsis", lineHeight: "1.4375em", border: "transparent 1px solid", color: (C) => h ? C.palette.error.dark : void 0 }, children: o ?? i }) : v(B0, { sx: { width: `${Math.min(b + 3, Math.max(S, M.current?.getBoundingClientRect()?.width))}px`, overflow: "hidden", whiteSpace: "nowrap", fontWeight: "600", maxWidth: "100%", border: "none", padding: "0px", margin: "0px", color: (C) => h ? C.palette.error.dark : void 0, fontStyle: p !== g ? "italic" : void 0, "& input": { paddingTop: "0px", paddingBottom: "0px", textOverflow: "ellipsis" } }, disableUnderline: !0, fullWidth: !1, multiline: !1, readOnly: s, spellCheck: !1, placeholder: i, onFocus: (C) => {
|
|
48281
48282
|
u(!0), C.target?.select();
|
|
48282
48283
|
}, inputProps: { name: "input-workbook-title", autoComplete: "off", ref: R }, onBlur: () => {
|
|
48283
48284
|
u(!1), h ? f(g) : (p !== g && (a?.(p), p && k.current?.onAccept?.(p, "blur")), k.current = null);
|
|
@@ -48291,7 +48292,7 @@ const zae = (t = !1, e = !1) => e ? null : { "& input:not(:focus):not(:hover)":
|
|
|
48291
48292
|
}, value: p }), v(Ge, { ref: w, sx: { position: "absolute", visibility: "hidden", top: "-9999px", fontWeight: "600 !important", whiteSpace: "pre", fontStyle: p !== g ? "italic" : void 0, fontFamily: (C) => C.typography.fontFamily, letterSpacing: "0.00938em" }, children: p || i })] }) }) });
|
|
48292
48293
|
}));
|
|
48293
48294
|
sz.displayName = "WorkbookTitle";
|
|
48294
|
-
const Bae = ft.lazy(() => import("./
|
|
48295
|
+
const Bae = ft.lazy(() => import("./ukDxhSJqMPzLXoCP.js").then((t) => t.q).then((t) => t.E)), lz = et(pt((t, e) => {
|
|
48295
48296
|
const { sx: n, style: r, className: o, licenseKey: i, ...a } = t;
|
|
48296
48297
|
return i && Du.setLicenseKey(i), v(Wt, { children: v(Bae, { ...a, className: o, sx: n, style: r, ref: e }) });
|
|
48297
48298
|
}));
|
|
@@ -48344,7 +48345,7 @@ const Vae = new cz();
|
|
|
48344
48345
|
try {
|
|
48345
48346
|
if (typeof document < "u") {
|
|
48346
48347
|
var t = document.createElement("style");
|
|
48347
|
-
t.appendChild(document.createTextNode("._sheetxl-
|
|
48348
|
+
t.appendChild(document.createTextNode("._sheetxl-reset_ods65_1{display:block;margin:0;padding:0;line-height:normal}._sheetxl-reset_ods65_1 table,._sheetxl-reset_ods65_1 thead,._sheetxl-reset_ods65_1 tbody,._sheetxl-reset_ods65_1 tfoot,._sheetxl-reset_ods65_1 tr,._sheetxl-reset_ods65_1 th,._sheetxl-reset_ods65_1 td{display:block;width:auto;height:auto;margin:0;padding:0;border:none;border-collapse:inherit;border-spacing:0;border-color:inherit;vertical-align:inherit;text-align:left;font-weight:inherit;-webkit-border-horizontal-spacing:0;-webkit-border-vertical-spacing:0}._sheetxl-reset_ods65_1 th,._sheetxl-reset_ods65_1 td{display:inline}html{color:initial}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4{fill:currentColor}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .activeColor{fill:var(--sxl-color-active)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .background{fill:var(--sxl-app-color-background)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .grey{fill:var(--sxl-app-color-grey)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .highContrast{fill:var(--sxl-app-color-high)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info{fill:var(--sxl-app-color-info)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info.light{fill:var(--sxl-app-color-info-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .info.dark{fill:var(--sxl-app-color-info-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary{fill:var(--sxl-app-color-secondary)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary.light{fill:var(--sxl-app-color-secondary-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .secondary.dark{fill:var(--sxl-app-color-secondary-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success{fill:var(--sxl-app-color-success)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success.light{fill:var(--sxl-app-color-success-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .success.dark{fill:var(--sxl-app-color-success-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning{fill:var(--sxl-app-color-warning)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning .light{fill:var(--sxl-app-color-warning-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .warning .dark{fill:var(--sxl-app-color-warning-dark)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error{fill:var(--sxl-app-color-error)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error .light{fill:var(--sxl-app-color-error-light)}._sheetxl-theme_4opcr_2 svg._themed_4opcr_4 .error .dark{fill:var(--sxl-app-color-error-dark)}._sheetxl-workbook_1j3lu_5{display:flex;position:relative;overflow:hidden;flex-direction:column;width:100%;height:100%;outline:none}._sheetxl-workbook_1j3lu_5 .splitPane .styled-resizer{background-color:var(--sxl-app-color-grey, grey)}._sheetxl-workbook_1j3lu_5 .splitPane .styled-resizer:hover,._sheetxl-workbook_1j3lu_5 .splitPane.dragging .styled-resizer{background-color:var(--sxl-app-color-primary, blue)}._card_1a398_7{width:100%}._actionRoot_1a398_11{padding:8px 8px 8px 16px;justify-content:space-between}._icons_1a398_16{margin-left:auto;display:flex;align-items:center}._expand_1a398_22{padding:8px;transform:rotate(0);color:#d32f2f;transition:all .2s ease-in-out}._expandOpen_1a398_29{transform:rotate(180deg)}._stackTraceContainer_1a398_33{padding:16px}._paper_1a398_37{background-color:#fff;padding:16px}._checkIcon_1a398_42{font-size:20px;padding-right:4px}._button_1a398_47{padding:0;text-transform:none}")), document.head.appendChild(t);
|
|
48348
48349
|
}
|
|
48349
48350
|
} catch (e) {
|
|
48350
48351
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
@@ -48427,7 +48428,7 @@ export {
|
|
|
48427
48428
|
sz as af,
|
|
48428
48429
|
dm as ag,
|
|
48429
48430
|
az as ah,
|
|
48430
|
-
|
|
48431
|
+
mo as ai,
|
|
48431
48432
|
Rw as aj,
|
|
48432
48433
|
dse as ak,
|
|
48433
48434
|
sse as al,
|