@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
|
@@ -7,7 +7,7 @@ import { createRoot as I9 } from "react-dom/client";
|
|
|
7
7
|
import * as Nz from "react-dom";
|
|
8
8
|
import es, { unstable_batchedUpdates as bc, createPortal as $p } from "react-dom";
|
|
9
9
|
/**
|
|
10
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.
|
|
10
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.3
|
|
11
11
|
*
|
|
12
12
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
13
13
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -1014,7 +1014,7 @@ function i2(t, e, n, r = n) {
|
|
|
1014
1014
|
let o;
|
|
1015
1015
|
return o = typeof t == "function" ? t(n) : Array.isArray(t) ? t[n] || r : _5(t, n) || r, e && (o = e(o, r, t)), o;
|
|
1016
1016
|
}
|
|
1017
|
-
function
|
|
1017
|
+
function Po(t) {
|
|
1018
1018
|
const { prop: e, cssProperty: n = t.prop, themeKey: r, transform: o } = t, i = (a) => {
|
|
1019
1019
|
if (a[e] == null) return null;
|
|
1020
1020
|
const s = a[e], l = _5(a.theme, r) || {};
|
|
@@ -1062,10 +1062,10 @@ function dI(t, e) {
|
|
|
1062
1062
|
const n = B9(t.theme);
|
|
1063
1063
|
return Object.keys(t).map((r) => GB(t, e, r, n)).reduce(Oh, {});
|
|
1064
1064
|
}
|
|
1065
|
-
function
|
|
1065
|
+
function yo(t) {
|
|
1066
1066
|
return dI(t, lI);
|
|
1067
1067
|
}
|
|
1068
|
-
function
|
|
1068
|
+
function wo(t) {
|
|
1069
1069
|
return dI(t, cI);
|
|
1070
1070
|
}
|
|
1071
1071
|
function C5(t = 8, e = B9({ spacing: t })) {
|
|
@@ -1086,9 +1086,9 @@ function Ga(t) {
|
|
|
1086
1086
|
return typeof t != "number" ? t : `${t}px solid`;
|
|
1087
1087
|
}
|
|
1088
1088
|
function as(t, e) {
|
|
1089
|
-
return
|
|
1089
|
+
return Po({ prop: t, themeKey: "borders", transform: e });
|
|
1090
1090
|
}
|
|
1091
|
-
|
|
1091
|
+
yo.propTypes = {}, yo.filterProps = lI, wo.propTypes = {}, wo.filterProps = cI;
|
|
1092
1092
|
const qB = as("border", Ga), KB = as("borderTop", Ga), XB = as("borderRight", Ga), YB = as("borderBottom", Ga), ZB = as("borderLeft", Ga), JB = as("borderColor"), QB = as("borderTopColor"), e$ = as("borderRightColor"), t$ = as("borderBottomColor"), n$ = as("borderLeftColor"), r$ = as("outline", Ga), o$ = as("outlineColor"), og = (t) => {
|
|
1093
1093
|
if (t.borderRadius !== void 0 && t.borderRadius !== null) {
|
|
1094
1094
|
const e = Up(t.theme, "shape.borderRadius", 4), n = (r) => ({ borderRadius: Gp(e, r) });
|
|
@@ -1124,12 +1124,12 @@ l2.propTypes = {}, l2.filterProps = ["rowGap"];
|
|
|
1124
1124
|
function Hd(t, e) {
|
|
1125
1125
|
return e === "grey" ? e : t;
|
|
1126
1126
|
}
|
|
1127
|
-
E5(a2, s2, l2,
|
|
1127
|
+
E5(a2, s2, l2, 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" }));
|
|
1128
1128
|
function ba(t) {
|
|
1129
1129
|
return t <= 1 && t !== 0 ? 100 * t + "%" : t;
|
|
1130
1130
|
}
|
|
1131
|
-
E5(
|
|
1132
|
-
const i$ =
|
|
1131
|
+
E5(Po({ prop: "color", themeKey: "palette", transform: Hd }), Po({ prop: "bgcolor", cssProperty: "backgroundColor", themeKey: "palette", transform: Hd }), Po({ prop: "backgroundColor", themeKey: "palette", transform: Hd }));
|
|
1132
|
+
const i$ = Po({ prop: "width", transform: ba }), $9 = (t) => {
|
|
1133
1133
|
if (t.maxWidth !== void 0 && t.maxWidth !== null) {
|
|
1134
1134
|
const e = (n) => {
|
|
1135
1135
|
const r = t.theme?.breakpoints?.values?.[n] || x5[n];
|
|
@@ -1140,10 +1140,10 @@ const i$ = Lo({ prop: "width", transform: ba }), $9 = (t) => {
|
|
|
1140
1140
|
return null;
|
|
1141
1141
|
};
|
|
1142
1142
|
$9.filterProps = ["maxWidth"];
|
|
1143
|
-
const a$ =
|
|
1144
|
-
|
|
1145
|
-
E5(i$, $9, a$, s$, l$, c$,
|
|
1146
|
-
const qp = { 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: og }, color: { themeKey: "palette", transform: Hd }, bgcolor: { themeKey: "palette", cssProperty: "backgroundColor", transform: Hd }, backgroundColor: { themeKey: "palette", transform: Hd }, p: { style:
|
|
1143
|
+
const a$ = Po({ prop: "minWidth", transform: ba }), s$ = Po({ prop: "height", transform: ba }), l$ = Po({ prop: "maxHeight", transform: ba }), c$ = Po({ prop: "minHeight", transform: ba });
|
|
1144
|
+
Po({ prop: "size", cssProperty: "width", transform: ba }), Po({ prop: "size", cssProperty: "height", transform: ba });
|
|
1145
|
+
E5(i$, $9, a$, s$, l$, c$, Po({ prop: "boxSizing" }));
|
|
1146
|
+
const qp = { 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: og }, 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: a2 }, rowGap: { style: l2 }, columnGap: { style: s2 }, 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: $9 }, 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() {
|
|
1147
1147
|
function t(e, n, r, o) {
|
|
1148
1148
|
const i = { [e]: n, theme: r }, a = o[e];
|
|
1149
1149
|
if (!a) return { [e]: n };
|
|
@@ -4553,14 +4553,14 @@ const oW = Ut("span", { name: "MuiSlider", slot: "Root", overridesResolver: (t,
|
|
|
4553
4553
|
function pW(t) {
|
|
4554
4554
|
return rr("MuiTooltip", t);
|
|
4555
4555
|
}
|
|
4556
|
-
const
|
|
4556
|
+
const _o = Xn("MuiTooltip", ["popper", "popperInteractive", "popperArrow", "popperClose", "tooltip", "tooltipArrow", "touch", "tooltipPlacementLeft", "tooltipPlacementRight", "tooltipPlacementTop", "tooltipPlacementBottom", "arrow"]), mW = Ut(ey, { name: "MuiTooltip", slot: "Popper", overridesResolver: (t, e) => {
|
|
4557
4557
|
const { ownerState: n } = t;
|
|
4558
4558
|
return [e.popper, !n.disableInteractive && e.popperInteractive, n.arrow && e.popperArrow, !n.open && e.popperClose];
|
|
4559
|
-
} })(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"] .${
|
|
4559
|
+
} })(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" } } }] }))), fW = Ut("div", { name: "MuiTooltip", slot: "Tooltip", overridesResolver: (t, e) => {
|
|
4560
4560
|
const { ownerState: n } = t;
|
|
4561
4561
|
return [e.tooltip, n.touch && e.touch, n.arrow && e.tooltipArrow, e[`tooltipPlacement${Pt(n.placement.split("-")[0])}`]];
|
|
4562
4562
|
} })(Wn(({ theme: t }) => {
|
|
4563
|
-
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, [`.${
|
|
4563
|
+
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" } } }] };
|
|
4564
4564
|
var e;
|
|
4565
4565
|
})), gW = 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)" } })));
|
|
4566
4566
|
let Hm = !1;
|
|
@@ -5104,11 +5104,11 @@ for (let t = 0; t < jv.length; t++) {
|
|
|
5104
5104
|
iA.set(r.getLabel(), r), sy.set(r.getCode(), r);
|
|
5105
5105
|
}
|
|
5106
5106
|
const rU = sy.get(Ft.Code.Unknown);
|
|
5107
|
-
var
|
|
5108
|
-
(
|
|
5107
|
+
var lo;
|
|
5108
|
+
(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) => iA.get(t), lo.newTypedError = (t, e, n) => {
|
|
5109
5109
|
let r;
|
|
5110
|
-
return r = typeof t == "string" ? aA.get(t) : sA.get(t), r || (r =
|
|
5111
|
-
},
|
|
5110
|
+
return r = typeof t == "string" ? aA.get(t) : sA.get(t), r || (r = lo.Unknown), new r(e, n);
|
|
5111
|
+
}, lo.getBuiltInById = (t) => sy.get(t) || rU;
|
|
5112
5112
|
const Jr = { Up: "up", Down: "down", Left: "left", Right: "right" }, Um = "c", Ai = "text/html", Hl = "text/plain", ag = "image/png", oU = Object.freeze({ left: 0, top: 0 }), iU = Object.freeze({ left: 0, top: 0, bottom: 0, right: 0 }), aU = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }), Qp = Object.freeze(Object.defineProperty({ __proto__: null, EmptyBounds: aU, EmptyRect: iU, EmptyTopLeft: oU }, Symbol.toStringTag, { value: "Module" })), gn = { Column: "column", Row: "row" }, Md = { ...gn, Both: "both" }, sU = Object.freeze({ colIndex: 0, rowIndex: 0 }), lU = Object.freeze({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }), lA = (t, e) => t.colStart === e.colStart ? t.rowStart - e.rowStart : t.colStart - e.colStart, cA = (t, e) => t.rowStart === e.rowStart ? t.colStart - e.colStart : t.rowStart - e.rowStart, cU = (t, e) => t.rowEnd === e.rowEnd ? e.colEnd - t.colEnd : e.rowEnd - t.rowEnd, dU = (t, e) => t.colEnd === e.colEnd ? e.rowEnd - t.rowEnd : e.colEnd - t.colEnd, Wv = (t, e) => t.colIndex === e.colIndex ? t.rowIndex - e.rowIndex : t.colIndex - e.colIndex, Uv = (t, e) => t.rowIndex === e.rowIndex ? t.colIndex - e.colIndex : t.rowIndex - e.rowIndex, dA = (t = gn.Row, e = !1) => e ? t !== gn.Column ? cU : dU : t !== gn.Column ? cA : lA, Gv = (t, e) => t === e || !(!t || !e) && t.rowIndex === e.rowIndex && t.colIndex === e.colIndex, k7 = (t, e) => t === e || !(!t || !e) && t.rowStart === e.rowStart && t.rowEnd === e.rowEnd && t.colStart === e.colStart && t.colEnd === e.colEnd, T7 = (t, e) => !(!t || !e || t.colStart > e.colEnd || e.colStart > t.colEnd || t.rowStart > e.rowEnd || e.rowStart > t.rowEnd), qv = (t, e) => {
|
|
5113
5113
|
if (t === e) return !0;
|
|
5114
5114
|
if (!t || !e || t.length !== e.length) return !1;
|
|
@@ -5622,8 +5622,8 @@ function D3(t, e) {
|
|
|
5622
5622
|
return o.splice(l, 1), "{" + s + "}";
|
|
5623
5623
|
}(t);
|
|
5624
5624
|
}
|
|
5625
|
-
var
|
|
5626
|
-
(iS =
|
|
5625
|
+
var ao, iS;
|
|
5626
|
+
(iS = ao || (ao = {})).resolveTypedUpdates = (t, e, n, r) => {
|
|
5627
5627
|
if (t === null) return t;
|
|
5628
5628
|
if (t === void 0) return r;
|
|
5629
5629
|
let o = t;
|
|
@@ -6399,7 +6399,7 @@ class CU extends SA {
|
|
|
6399
6399
|
}
|
|
6400
6400
|
const zh = () => {
|
|
6401
6401
|
try {
|
|
6402
|
-
return "0.3.
|
|
6402
|
+
return "0.3.3";
|
|
6403
6403
|
} catch {
|
|
6404
6404
|
return "";
|
|
6405
6405
|
}
|
|
@@ -6410,7 +6410,7 @@ const zh = () => {
|
|
|
6410
6410
|
return "";
|
|
6411
6411
|
}
|
|
6412
6412
|
}, EU = `
|
|
6413
|
-
https://www.sheetxl.com ${zh()}`, $3 = "#1976d2", fS = async () => "0", g2 = () => typeof window == "object" ? window.location.hostname : we.getOS(), gS = () => g2().endsWith("localhost") || g2() === "127.0.0.1", yS = (t) => ({ licensee: () => "Evaluation License", expiration: () => null, domains: () => [g2()], developerCount: () => 1, cpuCount: () => 0, type: () => "eval", isEval: () => !0, exceptions: () => [], isValidFor: () => !0, isValid: () => !1, features: () => Object.freeze({}), keyFrom: () => t, getBuildVersion: zh, getBuildDate: cg }),
|
|
6413
|
+
https://www.sheetxl.com ${zh()}`, $3 = "#1976d2", fS = async () => "0", g2 = () => typeof window == "object" ? window.location.hostname : we.getOS(), gS = () => g2().endsWith("localhost") || g2() === "127.0.0.1", yS = (t) => ({ licensee: () => "Evaluation License", expiration: () => null, domains: () => [g2()], developerCount: () => 1, cpuCount: () => 0, type: () => "eval", isEval: () => !0, exceptions: () => [], isValidFor: () => !0, isValid: () => !1, features: () => Object.freeze({}), keyFrom: () => t, getBuildVersion: zh, getBuildDate: cg }), ro = { promise: null, details: null, bannerPrinted: !1, detailsPrinted: !1, licenseKey: null, keyFrom: null };
|
|
6414
6414
|
let H3 = !1, wS = !1;
|
|
6415
6415
|
const bS = "cil.lxteehs".split("").reduce((t, e) => e + t, ""), Lu = new class {
|
|
6416
6416
|
constructor() {
|
|
@@ -6418,11 +6418,11 @@ const bS = "cil.lxteehs".split("").reduce((t, e) => e + t, ""), Lu = new class {
|
|
|
6418
6418
|
}
|
|
6419
6419
|
async setLicenseKey(t, e = !1) {
|
|
6420
6420
|
if (!t || t.startsWith("visit ") || t.startsWith("email ") || t.startsWith("trial") || t.startsWith("eval")) return H3 = !0, await this._validate(!0);
|
|
6421
|
-
if (H3 = !1, !e &&
|
|
6421
|
+
if (H3 = !1, !e && ro.licenseKey) {
|
|
6422
6422
|
const r = await this._validate();
|
|
6423
6423
|
if (r.isValid() && !r.isEval()) return r;
|
|
6424
6424
|
}
|
|
6425
|
-
|
|
6425
|
+
ro.licenseKey = t, ro.keyFrom = "setLicenseKey", ro.details = null, ro.promise = null;
|
|
6426
6426
|
const n = await this._validate();
|
|
6427
6427
|
if (!n.isValid()) throw await this._print(!0), new Error("Invalid license key.");
|
|
6428
6428
|
if (we.isNode() && (await (async () => {
|
|
@@ -6431,9 +6431,9 @@ const bS = "cil.lxteehs".split("").reduce((t, e) => e + t, ""), Lu = new class {
|
|
|
6431
6431
|
return n;
|
|
6432
6432
|
}
|
|
6433
6433
|
async _validate(t = !1) {
|
|
6434
|
-
if (
|
|
6434
|
+
if (ro.promise || (this.__proto__.valueFv || (this.__proto__.valueFv = new Error("FV")), ro.promise)) return ro.promise;
|
|
6435
6435
|
let e = null;
|
|
6436
|
-
|
|
6436
|
+
ro.promise = new Promise((a) => {
|
|
6437
6437
|
e = a;
|
|
6438
6438
|
});
|
|
6439
6439
|
let n, r = null;
|
|
@@ -6478,7 +6478,7 @@ const bS = "cil.lxteehs".split("").reduce((t, e) => e + t, ""), Lu = new class {
|
|
|
6478
6478
|
}
|
|
6479
6479
|
var l;
|
|
6480
6480
|
};
|
|
6481
|
-
|
|
6481
|
+
ro.licenseKey && (r = await o(ro.keyFrom, ro.licenseKey));
|
|
6482
6482
|
let i = !1;
|
|
6483
6483
|
if (H3 && (i = !0, r = yS("Eval License Key")), !r) if (we.isNode()) {
|
|
6484
6484
|
if (!r) {
|
|
@@ -6512,16 +6512,16 @@ const bS = "cil.lxteehs".split("").reduce((t, e) => e + t, ""), Lu = new class {
|
|
|
6512
6512
|
}
|
|
6513
6513
|
!r && gS() && (i = !0);
|
|
6514
6514
|
}
|
|
6515
|
-
if (!r && i && (r = yS("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: zh, getBuildDate: cg }),
|
|
6515
|
+
if (!r && i && (r = yS("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: zh, getBuildDate: cg }), ro.details = r, e(r), t && (!ro.bannerPrinted || !ro.detailsPrinted) && (i || r.exceptions().length > 0 || r.features()?.pb)) {
|
|
6516
6516
|
if (wS) return void setTimeout(() => {
|
|
6517
6517
|
this._print(!1, !1);
|
|
6518
6518
|
}, 8e3);
|
|
6519
6519
|
await this._print(!1, !1);
|
|
6520
6520
|
}
|
|
6521
|
-
return
|
|
6521
|
+
return ro.details;
|
|
6522
6522
|
}
|
|
6523
6523
|
async _printBanner(t) {
|
|
6524
|
-
return
|
|
6524
|
+
return ro.bannerPrinted = !0, await this.getDetails(), await (async (e) => {
|
|
6525
6525
|
const n = e ? console.log : we.consoleWithNoSource, r = `%c
|
|
6526
6526
|
███████╗██╗ ██╗███████╗███████╗████████╗ ██╗ ██╗██╗
|
|
6527
6527
|
██╔════╝██║ ██║██╔════╝██╔════╝╚══██╔══╝ ╚██╗██╔╝██║
|
|
@@ -6534,7 +6534,7 @@ const bS = "cil.lxteehs".split("").reduce((t, e) => e + t, ""), Lu = new class {
|
|
|
6534
6534
|
})(t), Promise.resolve();
|
|
6535
6535
|
}
|
|
6536
6536
|
async _printDetails(t = !1, e = !1, n = !1) {
|
|
6537
|
-
|
|
6537
|
+
ro.detailsPrinted = !0;
|
|
6538
6538
|
const r = await this.getDetails();
|
|
6539
6539
|
await (async (o, i = !1, a = !1, s = !1) => {
|
|
6540
6540
|
let l;
|
|
@@ -6555,7 +6555,8 @@ KeyFrom: '${o.keyFrom()}'`), await c(`${l}`, ...d), Promise.resolve();
|
|
|
6555
6555
|
})(r, t, e, n);
|
|
6556
6556
|
}
|
|
6557
6557
|
async _print(t, e) {
|
|
6558
|
-
|
|
6558
|
+
if (!t && (ro.bannerPrinted || ro.detailsPrinted)) return;
|
|
6559
|
+
ro.bannerPrinted = !0, ro.detailsPrinted = !0, await this._printBanner(t);
|
|
6559
6560
|
const n = we.isNode(), r = t || n ? console.log : we.consoleWithNoSource;
|
|
6560
6561
|
n && r(""), await this._printDetails(t, e), r("");
|
|
6561
6562
|
}
|
|
@@ -6566,7 +6567,7 @@ KeyFrom: '${o.keyFrom()}'`), await c(`${l}`, ...d), Promise.resolve();
|
|
|
6566
6567
|
return this._print(!0, t);
|
|
6567
6568
|
}
|
|
6568
6569
|
wasPrinted() {
|
|
6569
|
-
return
|
|
6570
|
+
return ro.bannerPrinted && ro.detailsPrinted;
|
|
6570
6571
|
}
|
|
6571
6572
|
suppressPrint(t) {
|
|
6572
6573
|
wS = !0;
|
|
@@ -8580,11 +8581,11 @@ function PS(t, e) {
|
|
|
8580
8581
|
}
|
|
8581
8582
|
return h0[e] = t, e;
|
|
8582
8583
|
}
|
|
8583
|
-
const
|
|
8584
|
+
const $o = { format: $A, dateNumLocal: ly, load: PS, split_fmt: PA, _table: h0, load_table: function(t) {
|
|
8584
8585
|
for (var e = 0; e !== 392; ++e) t[e] !== void 0 && PS(t[e], e);
|
|
8585
8586
|
}, parse_date_code: eh, is_date: BA, get_table: function() {
|
|
8586
|
-
return
|
|
8587
|
-
} },
|
|
8587
|
+
return $o._table = h0;
|
|
8588
|
+
} }, Ho = "\\s*([-]?[0-9e]*[.]?[0-9]+)", iG = new RegExp(`^rgb\\(${Ho},${Ho},${Ho}\\)$`), aG = new RegExp(`^rgba\\(${Ho},${Ho},${Ho},${Ho}\\)$`), sG = new RegExp(`^lrgb\\(${Ho},${Ho},${Ho}\\)$`), lG = new RegExp(`^lrgba\\(${Ho},${Ho},${Ho},${Ho}\\)$`), cG = new RegExp(`^hsl\\(${Ho},${Ho},${Ho}\\)$`), dG = new RegExp(`^hsla\\(${Ho},${Ho},${Ho},${Ho}\\)$`), uG = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), hG = new RegExp(/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/), pG = new RegExp("^index(\\d+)$", "i"), X3 = (t, e, n) => [parseFloat(t), parseFloat(e), parseFloat(n)], Y3 = (t, e = 255) => {
|
|
8588
8589
|
const n = [...t];
|
|
8589
8590
|
for (var r = 0; r < t.length; r++) n[r] = t[r] / e;
|
|
8590
8591
|
return n;
|
|
@@ -8763,7 +8764,7 @@ for (let t = 0; t < HS.length; t++) n0.set(t, fg(HS[t]));
|
|
|
8763
8764
|
n0.set(-4105, null), n0.set(-4142, null), n0.set(64, fg("000000")), n0.set(65, fg("FFFFFF")), n0.set(81, fg("FFFFFF"));
|
|
8764
8765
|
const v2 = (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" };
|
|
8765
8766
|
let t4 = null;
|
|
8766
|
-
const VA = () => t4 || (t4 = Intl.DateTimeFormat().resolvedOptions().locale ?? "en-US", t4), _G = /^\[\$-(.*?)\]/i, CG = /^[0-9a-fA-F]+$/, EG =
|
|
8767
|
+
const VA = () => t4 || (t4 = Intl.DateTimeFormat().resolvedOptions().locale ?? "en-US", t4), _G = /^\[\$-(.*?)\]/i, CG = /^[0-9a-fA-F]+$/, EG = $o.split_fmt, cy = (t, e, n) => {
|
|
8767
8768
|
const r = _G.exec(t);
|
|
8768
8769
|
let o = VA();
|
|
8769
8770
|
if (r && r[1]) {
|
|
@@ -8774,7 +8775,7 @@ const VA = () => t4 || (t4 = Intl.DateTimeFormat().resolvedOptions().locale ?? "
|
|
|
8774
8775
|
const i = th(t, e, { locale: o, ...n });
|
|
8775
8776
|
if (i !== null) return i.fmt;
|
|
8776
8777
|
}
|
|
8777
|
-
return
|
|
8778
|
+
return $o.format(t, e, n);
|
|
8778
8779
|
}, th = (t, e, n) => {
|
|
8779
8780
|
if (typeof e != "number") return null;
|
|
8780
8781
|
const r = zu(e, n?.date1904 ?? !1), o = n?.locale ?? VA();
|
|
@@ -8784,7 +8785,7 @@ const VA = () => t4 || (t4 = Intl.DateTimeFormat().resolvedOptions().locale ?? "
|
|
|
8784
8785
|
a = a.substring(0, s) + l + a.substring(s + 10), i = !0;
|
|
8785
8786
|
}
|
|
8786
8787
|
if ((s = a.indexOf("Medium Date")) !== -1) {
|
|
8787
|
-
const l =
|
|
8788
|
+
const l = $o.format($o.get_table()[15], e, n);
|
|
8788
8789
|
a = a.substring(0, s) + l + a.substring(s + 11), i = !0;
|
|
8789
8790
|
}
|
|
8790
8791
|
if ((s = a.indexOf("Long Date")) !== -1) {
|
|
@@ -8792,11 +8793,11 @@ const VA = () => t4 || (t4 = Intl.DateTimeFormat().resolvedOptions().locale ?? "
|
|
|
8792
8793
|
a = a.substring(0, s) + l + a.substring(s + 9), i = !0;
|
|
8793
8794
|
}
|
|
8794
8795
|
if ((s = a.indexOf("Short Time")) !== -1) {
|
|
8795
|
-
const l =
|
|
8796
|
+
const l = $o.format($o.get_table()[20], e, n);
|
|
8796
8797
|
a = a.substring(0, s) + l + a.substring(s + 10), i = !0;
|
|
8797
8798
|
}
|
|
8798
8799
|
if ((s = a.indexOf("Medium Time")) !== -1) {
|
|
8799
|
-
const l =
|
|
8800
|
+
const l = $o.format($o.get_table()[18], e, n);
|
|
8800
8801
|
a = a.substring(0, s) + l + a.substring(s + 11), i = !0;
|
|
8801
8802
|
}
|
|
8802
8803
|
if ((s = a.indexOf("Long Time")) !== -1) {
|
|
@@ -8804,7 +8805,7 @@ const VA = () => t4 || (t4 = Intl.DateTimeFormat().resolvedOptions().locale ?? "
|
|
|
8804
8805
|
a = a.substring(0, s) + l + a.substring(s + 9), i = !0;
|
|
8805
8806
|
}
|
|
8806
8807
|
return i ? { fmt: a, date: r } : null;
|
|
8807
|
-
}, VS = Object.freeze({ "General Number": "General", "General Date": "m/d/yyyy h:mm", "Medium Date":
|
|
8808
|
+
}, VS = 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";@' }), kG = Object.freeze({ black: 0, white: 1, red: 2, green: 3, blue: 4, yellow: 5, magenta: 6, cyan: 7 }), TG = (t) => {
|
|
8808
8809
|
let e = null;
|
|
8809
8810
|
if ((t = t.toLowerCase()).startsWith("color")) {
|
|
8810
8811
|
const n = parseInt(t.substring(5));
|
|
@@ -8858,9 +8859,9 @@ const MG = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, RG =
|
|
|
8858
8859
|
}
|
|
8859
8860
|
return console.warn("invalid unit" + n), null;
|
|
8860
8861
|
}, zu = (t, e = !1) => {
|
|
8861
|
-
let n =
|
|
8862
|
+
let n = $o.parse_date_code(t, { date1904: e });
|
|
8862
8863
|
return n ? new Date(n.y, n.m - 1, n.d, n.H, n.M, n.S, Math.round(1e3 * n.u)) : null;
|
|
8863
|
-
}, tm = (t, e = !1) => isNaN(t) ? null :
|
|
8864
|
+
}, tm = (t, e = !1) => isNaN(t) ? null : $o.dateNumLocal(t, e), FG = new class extends TA {
|
|
8864
8865
|
parse(t, e, n) {
|
|
8865
8866
|
const r = (o) => o - 1;
|
|
8866
8867
|
switch (e) {
|
|
@@ -8959,13 +8960,13 @@ const MG = /(Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color[0-9]+)/i, RG =
|
|
|
8959
8960
|
for (let c = 0; c < ll.length; c++) {
|
|
8960
8961
|
let d = i;
|
|
8961
8962
|
ll[c].containsDot ? d = a : ll[c].containsDash && (d = s);
|
|
8962
|
-
let u = QU(d, ll[c].parseFormat, r, $G), h =
|
|
8963
|
+
let u = QU(d, ll[c].parseFormat, r, $G), h = $o.dateNumLocal(u, e);
|
|
8963
8964
|
if (Pu(u) && (ll[c].windowYear || h > 0)) {
|
|
8964
8965
|
if (ll[c].windowYear) {
|
|
8965
8966
|
let p = u.getFullYear() <= 29 ? 2e3 + u.getFullYear() : 1900 + u.getFullYear();
|
|
8966
8967
|
u.setFullYear(p);
|
|
8967
8968
|
}
|
|
8968
|
-
if (ll[c].todaysYear && u.setFullYear(o), h =
|
|
8969
|
+
if (ll[c].todaysYear && u.setFullYear(o), h = $o.dateNumLocal(u, e), ll[c].parseFormat.indexOf("EEE") > -1) {
|
|
8969
8970
|
const p = cy("ddd", h, { date1904: e });
|
|
8970
8971
|
if (!d.toLowerCase().includes(p.toLowerCase())) return null;
|
|
8971
8972
|
}
|
|
@@ -10233,7 +10234,7 @@ for (let t = 0; t < s4.length; t++) $7.set(he.AdjustmentType[s4[t]].toLowerCase(
|
|
|
10233
10234
|
const bx = new RegExp("\\s+\\s*(?![^()]*\\))|,\\s*(?![^()]*\\))"), vx = new RegExp("\\s*[,]\\s*|\\s+");
|
|
10234
10235
|
let l4 = null;
|
|
10235
10236
|
const Sx = { [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" };
|
|
10236
|
-
let
|
|
10237
|
+
let po = class tc {
|
|
10237
10238
|
constructor(e, n, r, o = null) {
|
|
10238
10239
|
let i = null, a = null;
|
|
10239
10240
|
if (e instanceof tc) i = e.getVal(), e.getAdjustments() && (a = [...e.getAdjustments()]);
|
|
@@ -10436,7 +10437,7 @@ const Cx = (t) => !(!t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/) && !t.match(/^# ([#0
|
|
|
10436
10437
|
let i = EG(t);
|
|
10437
10438
|
for (let a = 0; a < i.length; a++) o.push(r(i[a].trim(), e));
|
|
10438
10439
|
return o.join(";");
|
|
10439
|
-
} }), iq =
|
|
10440
|
+
} }), iq = $o._table, my = (t) => t === 14 ? "Short Date" : iq[t] ?? null, l1 = [{ 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 }], c4 = [{ 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 }], rm = /* @__PURE__ */ new Map(), nh = [];
|
|
10440
10441
|
for (let t = 0; t < l1.length; t++) {
|
|
10441
10442
|
let e = l1[t].numberFormat.toLowerCase();
|
|
10442
10443
|
rm.set(e, l1[t]), l1[t].regMatch && nh.unshift(l1[t]);
|
|
@@ -10475,7 +10476,7 @@ const aq = (t, e, n, r, o) => {
|
|
|
10475
10476
|
i.adjs || (i.adjs = []);
|
|
10476
10477
|
let a = "", s = 0, l = 0;
|
|
10477
10478
|
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 });
|
|
10478
|
-
const c = new
|
|
10479
|
+
const c = new po({ val: i.val, adjs: i.adjs }, n), d = c.toString();
|
|
10479
10480
|
r?.set(d, c);
|
|
10480
10481
|
const u = c.toRGBA().toString();
|
|
10481
10482
|
return o?.set(u, c), { description: t.description + ", " + a, definition: i };
|
|
@@ -10489,7 +10490,7 @@ var V7, r0;
|
|
|
10489
10490
|
const s = (c) => {
|
|
10490
10491
|
for (let d = 0; d < c.length; d++) a.push(aq(t[i], c[d], e, n, r));
|
|
10491
10492
|
};
|
|
10492
|
-
let l = new
|
|
10493
|
+
let l = new po({ val: t[i].definition.val, adjs: t[i].definition.adjs }, e).toHSLA().lum;
|
|
10493
10494
|
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]);
|
|
10494
10495
|
}
|
|
10495
10496
|
return o;
|
|
@@ -10502,7 +10503,7 @@ const sq = [["Office", "windowText", "window", "0E2841", "E8E8E8", "156082", "E9
|
|
|
10502
10503
|
for (let a = 0; a < yu.length; a++) {
|
|
10503
10504
|
const s = yu[a], l = r[a + 1];
|
|
10504
10505
|
if (!l) continue;
|
|
10505
|
-
const c =
|
|
10506
|
+
const c = po.parse(l);
|
|
10506
10507
|
l && (i[s] = c.toString());
|
|
10507
10508
|
}
|
|
10508
10509
|
}
|
|
@@ -10520,7 +10521,7 @@ const hq = new class {
|
|
|
10520
10521
|
constructor() {
|
|
10521
10522
|
this._colors = {};
|
|
10522
10523
|
for (let t = 0; t < yu.length; t++) {
|
|
10523
|
-
const e = yu[t], n =
|
|
10524
|
+
const e = yu[t], n = po.parse(up[e]);
|
|
10524
10525
|
this._colors[e] = n;
|
|
10525
10526
|
}
|
|
10526
10527
|
}
|
|
@@ -10576,7 +10577,7 @@ class pq {
|
|
|
10576
10577
|
const n = Object.keys(e);
|
|
10577
10578
|
if (n.length !== 0) for (let r = 0; r < n.length; r++) {
|
|
10578
10579
|
const o = n[r];
|
|
10579
|
-
this._overrides[o] = o === "name" ? e[o] :
|
|
10580
|
+
this._overrides[o] = o === "name" ? e[o] : po.parse(e[o]);
|
|
10580
10581
|
}
|
|
10581
10582
|
}
|
|
10582
10583
|
_value(e, n) {
|
|
@@ -10630,7 +10631,7 @@ const mq = new class {
|
|
|
10630
10631
|
constructor() {
|
|
10631
10632
|
this._colors = {};
|
|
10632
10633
|
for (let t = 0; t < yu.length; t++) {
|
|
10633
|
-
const e = yu[t], n =
|
|
10634
|
+
const e = yu[t], n = po.parse(up[e]);
|
|
10634
10635
|
this._colors[e] = n;
|
|
10635
10636
|
}
|
|
10636
10637
|
}
|
|
@@ -10707,7 +10708,7 @@ let W7 = class {
|
|
|
10707
10708
|
if (!c) throw new Error(`Invalid color scheme key: ${s}`);
|
|
10708
10709
|
const d = a.getColorScheme();
|
|
10709
10710
|
let u = d[c].bind(d)();
|
|
10710
|
-
return u || (u = up[Tx[s] ?? s]), l = new
|
|
10711
|
+
return u || (u = up[Tx[s] ?? s]), l = new po(u).toRGBA(), a._cacheColors[s] = l, l;
|
|
10711
10712
|
};
|
|
10712
10713
|
}
|
|
10713
10714
|
get builtInID() {
|
|
@@ -10729,7 +10730,7 @@ let W7 = class {
|
|
|
10729
10730
|
return this._schemeLookup;
|
|
10730
10731
|
}
|
|
10731
10732
|
parseColor(t) {
|
|
10732
|
-
return
|
|
10733
|
+
return po.parse(t, this._schemeLookup);
|
|
10733
10734
|
}
|
|
10734
10735
|
toJSON() {
|
|
10735
10736
|
const t = { name: this.getName() }, e = this._colors.toJSON();
|
|
@@ -10792,7 +10793,7 @@ class fy {
|
|
|
10792
10793
|
return this._customMap.delete(n), r ?? null;
|
|
10793
10794
|
}
|
|
10794
10795
|
}
|
|
10795
|
-
var a0,
|
|
10796
|
+
var a0, zo;
|
|
10796
10797
|
(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 {
|
|
10797
10798
|
constructor(t) {
|
|
10798
10799
|
this._normalStyle = t;
|
|
@@ -10823,7 +10824,7 @@ var a0, Po;
|
|
|
10823
10824
|
get isITableStyle() {
|
|
10824
10825
|
return !0;
|
|
10825
10826
|
}
|
|
10826
|
-
}, (
|
|
10827
|
+
}, (zo || (zo = {})).Type = { Absolute: "absolute", OneCell: "oneCell", TwoCell: "twoCell" };
|
|
10827
10828
|
const qa = "Model has been closed. No further operations are allowed.", Mx = "Name is required";
|
|
10828
10829
|
let xi = class {
|
|
10829
10830
|
constructor(t, e) {
|
|
@@ -12812,8 +12813,8 @@ let C0 = class K7 {
|
|
|
12812
12813
|
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));
|
|
12813
12814
|
}
|
|
12814
12815
|
if (!a) return Ko;
|
|
12815
|
-
o || u !== h || (o = !0),
|
|
12816
|
-
let g = this._major.entries(
|
|
12816
|
+
o || u !== h || (o = !0), co.bounds.min = u, co.bounds.max = h, co.reverse = f, co.processSkip = l, co.reuseResult = lh;
|
|
12817
|
+
let g = this._major.entries(co), y = Bx();
|
|
12817
12818
|
const w = (S) => {
|
|
12818
12819
|
if (!S.nextActive) return;
|
|
12819
12820
|
const _ = (k) => {
|
|
@@ -12945,8 +12946,8 @@ let C0 = class K7 {
|
|
|
12945
12946
|
const S = e[g], _ = S[0], E = S[1], R = new $h(f);
|
|
12946
12947
|
m(R, E, _);
|
|
12947
12948
|
}, w = this._major;
|
|
12948
|
-
|
|
12949
|
-
const b = w.entries(
|
|
12949
|
+
co.bounds.min = n, co.bounds.max = r, co.reverse = !1, co.processSkip = null, co.reuseResult = lh;
|
|
12950
|
+
const b = w.entries(co);
|
|
12950
12951
|
let x = b.next();
|
|
12951
12952
|
for (; !x.done; ) {
|
|
12952
12953
|
const S = x.value, _ = S[0];
|
|
@@ -12992,15 +12993,15 @@ let C0 = class K7 {
|
|
|
12992
12993
|
let f = !1, g = 0;
|
|
12993
12994
|
const y = this._major;
|
|
12994
12995
|
if (c <= m && d >= p) {
|
|
12995
|
-
|
|
12996
|
-
const R = y.entries(
|
|
12996
|
+
co.bounds.min = s, co.bounds.max = l;
|
|
12997
|
+
const R = y.entries(co);
|
|
12997
12998
|
let k = R.next();
|
|
12998
12999
|
for (; !k.done; ) g -= k.value[1].getCount(), k = R.next();
|
|
12999
13000
|
return y.delete(s, l - s + 1), this._count += g, this._dataCoords = null, g !== 0;
|
|
13000
13001
|
}
|
|
13001
13002
|
const w = [], b = this._isShared, x = [];
|
|
13002
|
-
|
|
13003
|
-
const S = y.entries(
|
|
13003
|
+
co.bounds.min = s, co.bounds.max = l, za.reverse = !1, za.processSkip = null, za.reuseResult = lh;
|
|
13004
|
+
const S = y.entries(co);
|
|
13004
13005
|
let _ = S.next();
|
|
13005
13006
|
for (; !_.done; ) {
|
|
13006
13007
|
const R = _.value, k = R[0];
|
|
@@ -13039,10 +13040,10 @@ let C0 = class K7 {
|
|
|
13039
13040
|
if (!i && (b *= -1, Ce.isRangeWithinRange(h, e))) return this.clear(), !0;
|
|
13040
13041
|
let x = 0;
|
|
13041
13042
|
const S = this._major, _ = [];
|
|
13042
|
-
if (
|
|
13043
|
+
if (co.bounds.min = l, co.bounds.max = w ? Number.MAX_SAFE_INTEGER : c, za.reverse = !i, za.processSkip = null, za.reuseResult = lh, w && y) {
|
|
13043
13044
|
if (!i) {
|
|
13044
|
-
|
|
13045
|
-
const I = S.entries(
|
|
13045
|
+
co.bounds.max = c;
|
|
13046
|
+
const I = S.entries(co);
|
|
13046
13047
|
let B = I.next();
|
|
13047
13048
|
for (; !B.done; ) x -= B.value[1].getCount(), B = I.next();
|
|
13048
13049
|
}
|
|
@@ -13054,7 +13055,7 @@ let C0 = class K7 {
|
|
|
13054
13055
|
i || (k = Number.MAX_SAFE_INTEGER, M = Number.MIN_SAFE_INTEGER);
|
|
13055
13056
|
let C = Number.MAX_SAFE_INTEGER;
|
|
13056
13057
|
o && (C = a ? o.colEnd : o.rowEnd);
|
|
13057
|
-
const T = /* @__PURE__ */ new Set(), A = w ? /* @__PURE__ */ new Map() : null, O = [], N = S.entries(
|
|
13058
|
+
const T = /* @__PURE__ */ new Set(), A = w ? /* @__PURE__ */ new Map() : null, O = [], N = S.entries(co), L = { bounds: { min: d, max: u } };
|
|
13058
13059
|
let F = N.next();
|
|
13059
13060
|
for (; !F.done; ) {
|
|
13060
13061
|
const z = F.value, I = z[0], B = z[1].clone(), $ = B.getCoords(), H = $.min, j = $.max;
|
|
@@ -13170,7 +13171,7 @@ let C0 = class K7 {
|
|
|
13170
13171
|
C0 || (C0 = {});
|
|
13171
13172
|
const Vq = 12;
|
|
13172
13173
|
Object.seal({ done: !1, value: null });
|
|
13173
|
-
const Ul = [-1, -1, null], _O = Object.seal({ done: !1, value: [-1, null] }), lh = Object.seal({ done: !1, value: [-1, null] }), za = { bounds: { min: -1, max: -1 }, reverse: !1, processSkip: null, reuseResult: _O },
|
|
13174
|
+
const Ul = [-1, -1, null], _O = Object.seal({ done: !1, value: [-1, null] }), lh = Object.seal({ done: !1, value: [-1, null] }), za = { bounds: { min: -1, max: -1 }, reverse: !1, processSkip: null, reuseResult: _O }, co = { bounds: { min: -1, max: -1 }, reverse: !1, processSkip: null, reuseResult: lh }, Bx = () => ({ majorIndex: -1, minorIndex: -1, value: null, active: !1, nextMinorIndex: -1, nextActive: !1, nextMinorValue: null, minorIterator: null, nextMajorCursor: null, prevMajorCursor: null });
|
|
13174
13175
|
let jq = class X7 {
|
|
13175
13176
|
constructor(e) {
|
|
13176
13177
|
if (this._l = 0, this._at = null, this._dt = $x.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");
|
|
@@ -15051,8 +15052,8 @@ const Rg = (t) => {
|
|
|
15051
15052
|
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;
|
|
15052
15053
|
}
|
|
15053
15054
|
return '"' + e + '"';
|
|
15054
|
-
}, b_ = "Normal",
|
|
15055
|
-
|
|
15055
|
+
}, b_ = "Normal", uo = /* @__PURE__ */ new Map();
|
|
15056
|
+
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(b_), 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(b_), 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);
|
|
15056
15057
|
const pK = new RegExp("^[0-9]*[.]?[0-9]+$", "g"), Ba = /* @__PURE__ */ new Map();
|
|
15057
15058
|
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);
|
|
15058
15059
|
const Xd = (t, e = 11, n = "pt") => {
|
|
@@ -15074,11 +15075,11 @@ const Xd = (t, e = 11, n = "pt") => {
|
|
|
15074
15075
|
if (s) return s(e);
|
|
15075
15076
|
}
|
|
15076
15077
|
return isNaN(r) ? null : r;
|
|
15077
|
-
},
|
|
15078
|
-
|
|
15078
|
+
}, Fo = /* @__PURE__ */ new Map();
|
|
15079
|
+
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" });
|
|
15079
15080
|
let Ig = "";
|
|
15080
15081
|
const GO = /* @__PURE__ */ new Map();
|
|
15081
|
-
|
|
15082
|
+
Fo.forEach((t, e) => {
|
|
15082
15083
|
Ig.length > 0 && (Ig += "|"), Ig += "\\b" + t.cssKey + "\\b", GO.set(t.cssKey, e);
|
|
15083
15084
|
});
|
|
15084
15085
|
const mK = new RegExp(`(\\s*(?:${Ig}))`, "g"), qO = (t, e = !1, n = null) => {
|
|
@@ -15147,7 +15148,7 @@ oc.set(we.textToKey("start"), We.HorizontalAlignment.Left), oc.set(we.textToKey(
|
|
|
15147
15148
|
const fl = /* @__PURE__ */ new Map();
|
|
15148
15149
|
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);
|
|
15149
15150
|
const XO = (t, e) => {
|
|
15150
|
-
if (t instanceof
|
|
15151
|
+
if (t instanceof po) return { color: t };
|
|
15151
15152
|
if (typeof t == "string") try {
|
|
15152
15153
|
return { color: t === "none" || t === "transparent" ? null : e(t) };
|
|
15153
15154
|
} catch (n) {
|
|
@@ -15177,7 +15178,7 @@ const XO = (t, e) => {
|
|
|
15177
15178
|
e?.toJSON && (e = e.toJSON());
|
|
15178
15179
|
const r = Ot.BuiltInSheetPattern.MediumGray;
|
|
15179
15180
|
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;
|
|
15180
|
-
}, properties: { foreground: mp, background: mp } },
|
|
15181
|
+
}, properties: { foreground: mp, background: mp } }, Eo = { properties: { font: { shorthand: (t, e) => {
|
|
15181
15182
|
if (typeof t == "string") {
|
|
15182
15183
|
const n = Rg(t);
|
|
15183
15184
|
if (n) {
|
|
@@ -15201,7 +15202,7 @@ const XO = (t, e) => {
|
|
|
15201
15202
|
let o = 400;
|
|
15202
15203
|
if (o = typeof r == "number" ? r : parseFloat(r), !isNaN(o)) return o;
|
|
15203
15204
|
if (typeof r == "string") {
|
|
15204
|
-
const i = we.textToKey(r), a =
|
|
15205
|
+
const i = we.textToKey(r), a = uo.get(i);
|
|
15205
15206
|
if (a) return a;
|
|
15206
15207
|
}
|
|
15207
15208
|
return o;
|
|
@@ -15232,7 +15233,7 @@ const XO = (t, e) => {
|
|
|
15232
15233
|
return n !== void 0 ? n : t;
|
|
15233
15234
|
}
|
|
15234
15235
|
return typeof t == "number" ? my(t) : null;
|
|
15235
|
-
} } } }, yK = { properties: { style:
|
|
15236
|
+
} } } }, yK = { properties: { style: Eo } }, wK = 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 }), YO = (t, e, n, r, o, i = !1) => {
|
|
15236
15237
|
if (t == null) return wK;
|
|
15237
15238
|
let a = "", s = null, l = null, c = null;
|
|
15238
15239
|
if (n === Tt.Error) a = t.getLabel();
|
|
@@ -15311,12 +15312,12 @@ const XO = (t, e) => {
|
|
|
15311
15312
|
}
|
|
15312
15313
|
})(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 };
|
|
15313
15314
|
return Object.freeze(_);
|
|
15314
|
-
},
|
|
15315
|
-
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: { ...
|
|
15315
|
+
}, 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 }), bK = 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 }), vK = 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 }), SK = Object.freeze({ locked: !1, formulaHidden: !1 }), ZO = Object.freeze({ fill: { type: Ot.Type.None }, numberFormat: "General", alignment: vK, font: No, border: bK, protection: SK, quotePrefix: !1, namedStyle: null }), xK = (() => {
|
|
15316
|
+
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" } }];
|
|
15316
15317
|
for (let e = 29; e <= 52; e++) {
|
|
15317
15318
|
const n = (e - 29) % 4, r = Math.floor((e - 29) / 4);
|
|
15318
15319
|
let o = "";
|
|
15319
|
-
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, ...
|
|
15320
|
+
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 };
|
|
15320
15321
|
}
|
|
15321
15322
|
return we.deepFreeze(t);
|
|
15322
15323
|
})(), _K = new class {
|
|
@@ -15761,7 +15762,7 @@ let bs = class ic {
|
|
|
15761
15762
|
}
|
|
15762
15763
|
cloneWithUpdate(e) {
|
|
15763
15764
|
if (e === void 0) return this;
|
|
15764
|
-
const n = this._c, r = this._r, o = this._p, i =
|
|
15765
|
+
const n = this._c, r = this._r, o = this._p, i = ao.resolveTypedUpdates(e, Eo, n, o);
|
|
15765
15766
|
return new ic(n, r, i);
|
|
15766
15767
|
}
|
|
15767
15768
|
copyTo(e, n) {
|
|
@@ -15822,7 +15823,7 @@ let bs = class ic {
|
|
|
15822
15823
|
if (y > 1 && !Lc(E, c[_])) return;
|
|
15823
15824
|
const R = w === 1 ? d[S] : d[_];
|
|
15824
15825
|
if (w > 1 && !Lc(R, d[_]) || !Lc(E, R)) return;
|
|
15825
|
-
const k = { border: { [h]: c[h], [m]: c[m], [b]: c[b], [_]: E, [S]: c[S], [x]: d[x] } }, M =
|
|
15826
|
+
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);
|
|
15826
15827
|
return new ic(u, n, M);
|
|
15827
15828
|
}
|
|
15828
15829
|
return new ic(u, n, this._p);
|
|
@@ -15983,13 +15984,13 @@ class BK {
|
|
|
15983
15984
|
}
|
|
15984
15985
|
let s = null;
|
|
15985
15986
|
const l = this._table?.getPropertiesAt(e, n, r);
|
|
15986
|
-
l && (s = s ?
|
|
15987
|
+
l && (s = s ? ao.resolveTypedUpdates(l, Eo, a, s) : l), o && (s = s ? ao.resolveTypedUpdates(o, Eo, a, s) : o);
|
|
15987
15988
|
const c = this._conditionals;
|
|
15988
15989
|
if (c) for (let d = 0; d < c.length; d++) {
|
|
15989
15990
|
const u = c[d].getPropertiesAt(e, n, r);
|
|
15990
|
-
u && (s = s ?
|
|
15991
|
+
u && (s = s ? ao.resolveTypedUpdates(u, Eo, a, s) : u);
|
|
15991
15992
|
}
|
|
15992
|
-
return i && (s = s ?
|
|
15993
|
+
return i && (s = s ? ao.resolveTypedUpdates(i, Eo, a, s) : i), s;
|
|
15993
15994
|
}
|
|
15994
15995
|
cloneWithUpdate(e) {
|
|
15995
15996
|
return (this._rs.directStyle ?? this._styles.getNormalRanged()).cloneWithUpdate(e);
|
|
@@ -16699,7 +16700,7 @@ let W5 = class {
|
|
|
16699
16700
|
return this._getState()?.anchor ?? null;
|
|
16700
16701
|
}
|
|
16701
16702
|
getAnchorType() {
|
|
16702
|
-
return this._getState()?.anchorType ??
|
|
16703
|
+
return this._getState()?.anchorType ?? zo.Type.TwoCell;
|
|
16703
16704
|
}
|
|
16704
16705
|
isProtected() {
|
|
16705
16706
|
return this._options.isProtected?.() ?? !1;
|
|
@@ -17172,7 +17173,7 @@ class U5 extends W5 {
|
|
|
17172
17173
|
}, getCoords: () => r, getSource: () => a, getName: () => o, getMarkOptions: () => s, isISnapshot: !0 };
|
|
17173
17174
|
}
|
|
17174
17175
|
getAnchorType() {
|
|
17175
|
-
return
|
|
17176
|
+
return zo.Type.TwoCell;
|
|
17176
17177
|
}
|
|
17177
17178
|
getStyle() {
|
|
17178
17179
|
if (this._styleCache) return this._styleCache;
|
|
@@ -17589,7 +17590,7 @@ class XK {
|
|
|
17589
17590
|
for (let a = 0; a < i; a++) {
|
|
17590
17591
|
const s = o[a], l = e[s];
|
|
17591
17592
|
if (!l || !we.isObject(l)) continue;
|
|
17592
|
-
const c =
|
|
17593
|
+
const c = ao.resolveTypedUpdates(Object.freeze(l), Eo, r);
|
|
17593
17594
|
n[s] = c;
|
|
17594
17595
|
}
|
|
17595
17596
|
return Object.freeze(n);
|
|
@@ -17622,7 +17623,7 @@ class XK {
|
|
|
17622
17623
|
const C = { rowIndex: d, colIndex: R }, T = { rowStart: g, rowEnd: c - w - 1, colStart: 0, colEnd: Math.min(l - u, k ? _ : E) };
|
|
17623
17624
|
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);
|
|
17624
17625
|
const A = M.border ? ps(M, C, T) : M;
|
|
17625
|
-
p =
|
|
17626
|
+
p = ao.resolveTypedUpdates(A, Eo, o, p);
|
|
17626
17627
|
}
|
|
17627
17628
|
}
|
|
17628
17629
|
if (S && m.showRowStripes) {
|
|
@@ -17635,40 +17636,40 @@ class XK {
|
|
|
17635
17636
|
const T = { colIndex: u, rowIndex: k }, A = { colStart: 0, colEnd: l - 1, rowStart: 0, rowEnd: Math.min(c - d, M ? E : R) };
|
|
17636
17637
|
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);
|
|
17637
17638
|
const O = C.border ? ps(C, T, A) : C;
|
|
17638
|
-
p =
|
|
17639
|
+
p = ao.resolveTypedUpdates(O, Eo, o, p);
|
|
17639
17640
|
}
|
|
17640
17641
|
}
|
|
17641
17642
|
if (b && i.lastColumn) {
|
|
17642
17643
|
let _ = i.lastColumn;
|
|
17643
|
-
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: c - 1, colStart: l - 1, colEnd: l - 1 })), p =
|
|
17644
|
+
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: c - 1, colStart: l - 1, colEnd: l - 1 })), p = ao.resolveTypedUpdates(_, Eo, o, p);
|
|
17644
17645
|
}
|
|
17645
17646
|
if (x && i.firstColumn) {
|
|
17646
17647
|
let _ = i.firstColumn;
|
|
17647
|
-
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: c - 1, colStart: 0, colEnd: 0 })), p =
|
|
17648
|
+
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: c - 1, colStart: 0, colEnd: 0 })), p = ao.resolveTypedUpdates(_, Eo, o, p);
|
|
17648
17649
|
}
|
|
17649
17650
|
if (f && i.headerRow) {
|
|
17650
17651
|
let _ = i.headerRow;
|
|
17651
|
-
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: g - 1, colStart: 0, colEnd: l - 1 })), p =
|
|
17652
|
+
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: g - 1, colStart: 0, colEnd: l - 1 })), p = ao.resolveTypedUpdates(_, Eo, o, p);
|
|
17652
17653
|
}
|
|
17653
17654
|
if (y && i.totalRow) {
|
|
17654
17655
|
let _ = i.totalRow;
|
|
17655
|
-
_.border && (_ = ps(_, h, { rowStart: c - w, rowEnd: c - 1, colStart: 0, colEnd: l - 1 })), p =
|
|
17656
|
+
_.border && (_ = ps(_, h, { rowStart: c - w, rowEnd: c - 1, colStart: 0, colEnd: l - 1 })), p = ao.resolveTypedUpdates(_, Eo, o, p);
|
|
17656
17657
|
}
|
|
17657
17658
|
if (f && x && i.firstHeaderCell) {
|
|
17658
17659
|
let _ = i.firstHeaderCell;
|
|
17659
|
-
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: g - 1, colStart: 0, colEnd: 0 })), p =
|
|
17660
|
+
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: g - 1, colStart: 0, colEnd: 0 })), p = ao.resolveTypedUpdates(_, Eo, o, p);
|
|
17660
17661
|
}
|
|
17661
17662
|
if (f && b && i.lastHeaderCell) {
|
|
17662
17663
|
let _ = i.lastHeaderCell;
|
|
17663
|
-
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: g - 1, colStart: l - 1, colEnd: l - 1 })), p =
|
|
17664
|
+
_.border && (_ = ps(_, h, { rowStart: 0, rowEnd: g - 1, colStart: l - 1, colEnd: l - 1 })), p = ao.resolveTypedUpdates(_, Eo, o, p);
|
|
17664
17665
|
}
|
|
17665
17666
|
if (y && x && i.firstTotalCell) {
|
|
17666
17667
|
let _ = i.firstTotalCell;
|
|
17667
|
-
_.border && (_ = ps(_, h, { rowStart: c - w, rowEnd: c - 1, colStart: 0, colEnd: 0 })), p =
|
|
17668
|
+
_.border && (_ = ps(_, h, { rowStart: c - w, rowEnd: c - 1, colStart: 0, colEnd: 0 })), p = ao.resolveTypedUpdates(_, Eo, o, p);
|
|
17668
17669
|
}
|
|
17669
17670
|
if (y && b && i.lastTotalCell) {
|
|
17670
17671
|
let _ = i.lastTotalCell;
|
|
17671
|
-
_.border && (_ = ps(_, h, { rowStart: c - w, rowEnd: c - 1, colStart: l - 1, colEnd: l - 1 })), p =
|
|
17672
|
+
_.border && (_ = ps(_, h, { rowStart: c - w, rowEnd: c - 1, colStart: l - 1, colEnd: l - 1 })), p = ao.resolveTypedUpdates(_, Eo, o, p);
|
|
17672
17673
|
}
|
|
17673
17674
|
return f && i.headerRow && r.getColumnFilter(u) && !r.getColumnFilter(u).hasHiddenButton() && (p.insets = { right: 15 }), p;
|
|
17674
17675
|
}
|
|
@@ -17684,7 +17685,7 @@ class z_ {
|
|
|
17684
17685
|
for (let a = 0; a < i; a++) {
|
|
17685
17686
|
const s = o[a], l = e[s];
|
|
17686
17687
|
if (!l || !we.isObject(l)) continue;
|
|
17687
|
-
const c =
|
|
17688
|
+
const c = ao.resolveTypedUpdates(Object.freeze(l), Eo, r);
|
|
17688
17689
|
n[s] = c;
|
|
17689
17690
|
}
|
|
17690
17691
|
return Object.freeze(n);
|
|
@@ -17732,7 +17733,7 @@ class YK extends bs {
|
|
|
17732
17733
|
}
|
|
17733
17734
|
cloneWithUpdate(e) {
|
|
17734
17735
|
if (e === void 0) return this;
|
|
17735
|
-
const n = this._c, r = this._r, o =
|
|
17736
|
+
const n = this._c, r = this._r, o = ao.resolveTypedUpdates(e, Eo, n, this._p);
|
|
17736
17737
|
return new bs(n, r, o);
|
|
17737
17738
|
}
|
|
17738
17739
|
_createShifted(e) {
|
|
@@ -17841,7 +17842,7 @@ let ZK = class {
|
|
|
17841
17842
|
for (let n = 0; n < t.length; n++) {
|
|
17842
17843
|
const r = t[n], o = { ...r }, i = r.named;
|
|
17843
17844
|
delete o.named;
|
|
17844
|
-
const a =
|
|
17845
|
+
const a = ao.resolveTypedUpdates(o, Eo, this), s = new B_(this, { name: i, style: a }, this._hideOrRemoveNamed.bind(this), n);
|
|
17845
17846
|
i === Et.BuiltInName.Normal && (this._normalRanged = s.getRanged(), this._normalStyle = Su(this, null)), e.set(i.toLowerCase(), s);
|
|
17846
17847
|
}
|
|
17847
17848
|
}
|
|
@@ -17961,7 +17962,7 @@ let ZK = class {
|
|
|
17961
17962
|
e && (a = (this._customCellStyles.get(r) ?? o)?._properties ?? null);
|
|
17962
17963
|
const s = j5(0, t.style, this.getNormal());
|
|
17963
17964
|
t = { ...t, style: s };
|
|
17964
|
-
const l =
|
|
17965
|
+
const l = ao.resolveTypedUpdates(t, yK, this, a), c = new B_(this, l, this._hideOrRemoveNamed.bind(this), i);
|
|
17965
17966
|
return l.name === Et.BuiltInName.Normal && (this._normalRanged = c.getRanged(), this._normalStyle = Su(this, null)), this._customCellStyles.set(r, c), c;
|
|
17966
17967
|
}
|
|
17967
17968
|
_setCustomTableStyleInternal(t, e) {
|
|
@@ -18012,7 +18013,7 @@ let ZK = class {
|
|
|
18012
18013
|
}
|
|
18013
18014
|
normalize(t) {
|
|
18014
18015
|
if (!t) return null;
|
|
18015
|
-
const e =
|
|
18016
|
+
const e = ao.resolveTypedUpdates(t, Eo, this), n = ZO;
|
|
18016
18017
|
let r = null;
|
|
18017
18018
|
if (r = e.named ? this.getNamed(e.named)?.getRanged().getPropertiesAt(0, 0, null) : this._normalRanged.getPropertiesAt(0, 0, null), r) {
|
|
18018
18019
|
const i = { ...r };
|
|
@@ -18028,7 +18029,7 @@ let ZK = class {
|
|
|
18028
18029
|
return this._indexedLookup;
|
|
18029
18030
|
}
|
|
18030
18031
|
parseColor(t) {
|
|
18031
|
-
return
|
|
18032
|
+
return po.parse(t, this._schemeLookup, this._indexedLookup);
|
|
18032
18033
|
}
|
|
18033
18034
|
recentColors() {
|
|
18034
18035
|
return this._mruColors;
|
|
@@ -18050,7 +18051,7 @@ let ZK = class {
|
|
|
18050
18051
|
}
|
|
18051
18052
|
getCustomIndexedColors() {
|
|
18052
18053
|
const t = Math.max(this._indexedColors?.length, 66), e = [];
|
|
18053
|
-
for (let n = 0; n < t; n++) this._indexedColors[n] !== null && e.push(this._indexedColors[n] ?? new
|
|
18054
|
+
for (let n = 0; n < t; n++) this._indexedColors[n] !== null && e.push(this._indexedColors[n] ?? new po(v2(n)?.toString()));
|
|
18054
18055
|
return e;
|
|
18055
18056
|
}
|
|
18056
18057
|
addListeners(t, e) {
|
|
@@ -19487,7 +19488,7 @@ class uX {
|
|
|
19487
19488
|
async _initialize() {
|
|
19488
19489
|
const e = await Lu._validate(!0), n = pX();
|
|
19489
19490
|
this._calcScope = n, this._runtime = new hX(this._options, e);
|
|
19490
|
-
const { initializeBuiltIns: r } = await import("./
|
|
19491
|
+
const { initializeBuiltIns: r } = await import("./VDflSVY_vwi7ZcHQ.mjs"), o = this;
|
|
19491
19492
|
return this._builtInFunctions = Object.freeze(r(() => o)), { builtInFunctions: this._builtInFunctions, calcScope: this._calcScope };
|
|
19492
19493
|
}
|
|
19493
19494
|
getBuiltInFunctions() {
|
|
@@ -19655,7 +19656,7 @@ class hX {
|
|
|
19655
19656
|
}
|
|
19656
19657
|
getVersion() {
|
|
19657
19658
|
try {
|
|
19658
|
-
const e = "0.3.
|
|
19659
|
+
const e = "0.3.3";
|
|
19659
19660
|
if (e.indexOf(".env.") === -1) return `${e}`;
|
|
19660
19661
|
} catch {
|
|
19661
19662
|
return "local";
|
|
@@ -20198,7 +20199,7 @@ class cN extends V0 {
|
|
|
20198
20199
|
this._context = o;
|
|
20199
20200
|
const i = await o._initialize(), a = i.builtInFunctions;
|
|
20200
20201
|
this._functions = new lN({ transactions: this._transactions, context: o, readonlyFunctions: a });
|
|
20201
|
-
const s = await import("./
|
|
20202
|
+
const s = await import("./B-v14ikVOXpmpHCI.mjs");
|
|
20202
20203
|
this._formulaParser = new s.FormulaParser(), this._scope = i.calcScope, this._status = Uo.Status.Ready, this._emitter.notify("onStatusChange"), this._emitter.notify("onReady");
|
|
20203
20204
|
} catch (e) {
|
|
20204
20205
|
throw this._status = Uo.Status.Off, this._emitter.notify("onError", e), this._emitter.notify("onStatusChange"), e;
|
|
@@ -20628,7 +20629,7 @@ class kX {
|
|
|
20628
20629
|
throw console.warn(c), c;
|
|
20629
20630
|
}
|
|
20630
20631
|
})(r, await Promise.resolve(n ? ((a, s = " ") => new Promise((l, c) => {
|
|
20631
|
-
import("./
|
|
20632
|
+
import("./BezHCUZawkIGzzUm.mjs").then((d) => d.p).then((d) => {
|
|
20632
20633
|
try {
|
|
20633
20634
|
const u = d.parse(a, { delimiter: s }).data;
|
|
20634
20635
|
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);
|
|
@@ -20796,19 +20797,19 @@ let TX = class d8 extends W5 {
|
|
|
20796
20797
|
if (!e) return this;
|
|
20797
20798
|
let r = { ...this.getBounds(), ...e };
|
|
20798
20799
|
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();
|
|
20799
|
-
const o = this._updateMovableLocation({ bounds: r, anchorType:
|
|
20800
|
+
const o = this._updateMovableLocation({ bounds: r, anchorType: zo.Type.Absolute }), i = this._beginCommit(n?.description ?? "Set Movable Bounds");
|
|
20800
20801
|
return this._updateState({ offsets: o.offsets, anchor: o.anchor }, { description: "Update Movable Bounds" }), this._options.setContainerCoords(o.anchor), this._invalidateBounds(), i.commit(), this;
|
|
20801
20802
|
}
|
|
20802
20803
|
_updateMovableLocation(e) {
|
|
20803
20804
|
let n = e.offsets ?? { tl: { x: 0, y: 0 }, br: { x: 0, y: 0 } }, r = e.anchor ?? this.getAnchorCoords(), o = e.anchorType ?? this.getAnchorType();
|
|
20804
20805
|
const i = e.bounds ?? this.getBounds();
|
|
20805
20806
|
if (i) {
|
|
20806
|
-
if (o ===
|
|
20807
|
+
if (o === zo.Type.Absolute) {
|
|
20807
20808
|
r = this._optionsMovable.getCoordsAtBounds(i);
|
|
20808
20809
|
const a = this._optionsMovable.getBoundsAtCoords(r);
|
|
20809
20810
|
n = { ...n, tl: { x: i.x - a.x, y: i.y - a.y } };
|
|
20810
20811
|
}
|
|
20811
|
-
if (o ===
|
|
20812
|
+
if (o === zo.Type.Absolute || o === zo.Type.OneCell) {
|
|
20812
20813
|
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) });
|
|
20813
20814
|
r = { ...r, colEnd: s.colEnd, rowEnd: s.rowEnd };
|
|
20814
20815
|
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));
|
|
@@ -20828,18 +20829,18 @@ let TX = class d8 extends W5 {
|
|
|
20828
20829
|
return this._getState()?.bounds;
|
|
20829
20830
|
}
|
|
20830
20831
|
setAnchorType(e) {
|
|
20831
|
-
return we.validEnumValue(
|
|
20832
|
+
return we.validEnumValue(zo.Type, e), this._updateState({ anchorType: e }, { description: "Set Movable Resize Behavior" }, ["onAnchorTypeChange"]), this;
|
|
20832
20833
|
}
|
|
20833
20834
|
_processContainerShift(e) {
|
|
20834
20835
|
const n = this.getAnchorType(), r = this._getState()?.offsets;
|
|
20835
20836
|
let o = r, i = !1;
|
|
20836
20837
|
const a = e.before, s = e.orientation === Z.Orientation.Column, l = e.intersect, c = e.amount;
|
|
20837
20838
|
let d = e.after;
|
|
20838
|
-
if (n !==
|
|
20839
|
+
if (n !== zo.Type.Absolute) {
|
|
20839
20840
|
let m = s ? l.colStart : l.rowStart, p = s ? a.colStart : a.rowStart;
|
|
20840
|
-
n ===
|
|
20841
|
+
n === zo.Type.TwoCell && (p = s ? a.colEnd : a.rowEnd), i = m <= p;
|
|
20841
20842
|
}
|
|
20842
|
-
if (i && (n !==
|
|
20843
|
+
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) {
|
|
20843
20844
|
const { offsets: m, anchor: p } = this._updateMovableLocation({ anchor: d, offsets: o });
|
|
20844
20845
|
o = m, d = p;
|
|
20845
20846
|
}
|
|
@@ -20890,7 +20891,7 @@ let TX = class d8 extends W5 {
|
|
|
20890
20891
|
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) } };
|
|
20891
20892
|
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)));
|
|
20892
20893
|
const a = this._content.toJSON(e) ?? {}, s = { anchor: i, content: { type: this._content.getType(), json: a } }, l = n.anchorType;
|
|
20893
|
-
return l && l !==
|
|
20894
|
+
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;
|
|
20894
20895
|
}
|
|
20895
20896
|
get isIMovable() {
|
|
20896
20897
|
return !0;
|
|
@@ -21946,7 +21947,7 @@ const rC = (t, e) => {
|
|
|
21946
21947
|
const o = Zs(r.getForeground()) || "";
|
|
21947
21948
|
if (r.getPatternType() === Ot.BuiltInSheetPattern.Solid) t["mso-pattern"] = `${t.background} none`, t.background = o;
|
|
21948
21949
|
else {
|
|
21949
|
-
const i = (n = r.getPatternType(),
|
|
21950
|
+
const i = (n = r.getPatternType(), Fo.get(n)?.cssKey ?? "solid");
|
|
21950
21951
|
t["mso-pattern"] = o + (i ? " " : "") + i;
|
|
21951
21952
|
}
|
|
21952
21953
|
} else if (e.getType() === Ot.Type.Gradient) {
|
|
@@ -22915,7 +22916,7 @@ let U4 = class {
|
|
|
22915
22916
|
const o = this._state[e[r]];
|
|
22916
22917
|
o != null && o !== W4[e[r]] && (t[e[r]] = o);
|
|
22917
22918
|
}
|
|
22918
|
-
delete t.movableSelection, delete t.gridLineColor, this._state.gridLineColor instanceof
|
|
22919
|
+
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;
|
|
22919
22920
|
const n = this._state.selection;
|
|
22920
22921
|
if (n) {
|
|
22921
22922
|
let r = {};
|
|
@@ -22973,7 +22974,7 @@ let U4 = class {
|
|
|
22973
22974
|
}
|
|
22974
22975
|
};
|
|
22975
22976
|
async function cC() {
|
|
22976
|
-
const { getCrypto: t } = await import("./
|
|
22977
|
+
const { getCrypto: t } = await import("./CM--Vw5PcrLIXc8O.mjs");
|
|
22977
22978
|
return t();
|
|
22978
22979
|
}
|
|
22979
22980
|
const dC = async (t, e, ...n) => {
|
|
@@ -26367,7 +26368,7 @@ br
|
|
|
26367
26368
|
}
|
|
26368
26369
|
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));
|
|
26369
26370
|
const d = { ...n?.json, resId: 0 };
|
|
26370
|
-
return await this._addMovable({ anchorType:
|
|
26371
|
+
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 });
|
|
26371
26372
|
}
|
|
26372
26373
|
getTables() {
|
|
26373
26374
|
return this._tables;
|
|
@@ -27619,7 +27620,7 @@ class lY {
|
|
|
27619
27620
|
return this._modules;
|
|
27620
27621
|
}
|
|
27621
27622
|
async createModule(e) {
|
|
27622
|
-
const n = await import("./
|
|
27623
|
+
const n = await import("./DupExqAEenu5ZS6G.mjs").then((o) => o.i), r = await n.ScriptingUtils.compileTypescript(e);
|
|
27623
27624
|
return r ? await SC(r, e?.declarationsOnly ?? !1) : null;
|
|
27624
27625
|
}
|
|
27625
27626
|
addModule(e, n, r) {
|
|
@@ -28579,11 +28580,11 @@ function xN(t) {
|
|
|
28579
28580
|
} else for (n in t) t[n] && (r && (r += " "), r += n);
|
|
28580
28581
|
return r;
|
|
28581
28582
|
}
|
|
28582
|
-
function
|
|
28583
|
+
function mo() {
|
|
28583
28584
|
for (var t, e, n = 0, r = "", o = arguments.length; n < o; n++) (t = arguments[n]) && (e = xN(t)) && (r && (r += " "), r += e);
|
|
28584
28585
|
return r;
|
|
28585
28586
|
}
|
|
28586
|
-
const
|
|
28587
|
+
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", Pg = "image/png", gY = Object.freeze({ left: 0, top: 0 }), yY = Object.freeze({ left: 0, top: 0, bottom: 0, right: 0 }), wY = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }), wp = Object.freeze(Object.defineProperty({ __proto__: null, EmptyBounds: wY, EmptyRect: yY, EmptyTopLeft: gY }, Symbol.toStringTag, { value: "Module" })), f0 = "column", bp = "row", bY = Object.freeze({ colIndex: 0, rowIndex: 0 }), vY = Object.freeze({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }), _N = (t, e) => t.colStart === e.colStart ? t.rowStart - e.rowStart : t.colStart - e.colStart, CN = (t, e) => t.rowStart === e.rowStart ? t.colStart - e.colStart : t.rowStart - e.rowStart, SY = (t, e) => t.rowEnd === e.rowEnd ? e.colEnd - t.colEnd : e.rowEnd - t.rowEnd, xY = (t, e) => t.colEnd === e.colEnd ? e.rowEnd - t.rowEnd : e.colEnd - t.colEnd, EC = (t, e) => t.colIndex === e.colIndex ? t.rowIndex - e.rowIndex : t.colIndex - e.colIndex, kC = (t, e) => t.rowIndex === e.rowIndex ? t.colIndex - e.colIndex : t.rowIndex - e.rowIndex, EN = (t = bp, e = !1) => e ? t !== f0 ? SY : xY : t !== f0 ? CN : _N, TC = (t, e) => t === e || !(!t || !e) && t.rowIndex === e.rowIndex && t.colIndex === e.colIndex, y8 = (t, e) => t === e || !(!t || !e) && t.rowStart === e.rowStart && t.rowEnd === e.rowEnd && t.colStart === e.colStart && t.colEnd === e.colEnd, w8 = (t, e) => !(!t || !e || t.colStart > e.colEnd || e.colStart > t.colEnd || t.rowStart > e.rowEnd || e.rowStart > t.rowEnd), MC = (t, e) => {
|
|
28587
28588
|
if (t === e) return !0;
|
|
28588
28589
|
if (!t || !e || t.length !== e.length) return !1;
|
|
28589
28590
|
for (let n = 0; n < t.length; n++) if (!y8(t[n], e[n])) return !1;
|
|
@@ -28635,7 +28636,7 @@ function IC(t, e = 2, n, r = bp, o) {
|
|
|
28635
28636
|
} while (s < e && l && i.length > 1);
|
|
28636
28637
|
return i;
|
|
28637
28638
|
}
|
|
28638
|
-
const
|
|
28639
|
+
const Bo = Object.freeze(Object.defineProperty({ __proto__: null, EmptyCell: bY, EmptyRange: vY, cellToRange: (t, e) => {
|
|
28639
28640
|
if (!t) return null;
|
|
28640
28641
|
let n = e;
|
|
28641
28642
|
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;
|
|
@@ -29388,7 +29389,7 @@ var n6;
|
|
|
29388
29389
|
try {
|
|
29389
29390
|
if (typeof document < "u") {
|
|
29390
29391
|
var t = document.createElement("style");
|
|
29391
|
-
t.appendChild(document.createTextNode("._sheetxl-
|
|
29392
|
+
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);
|
|
29392
29393
|
}
|
|
29393
29394
|
} catch (e) {
|
|
29394
29395
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
@@ -29489,7 +29490,7 @@ const k0 = PN && window.ResizeObserver !== void 0 ? function() {
|
|
|
29489
29490
|
const V = { orientation: s, disabled: Math.floor(A - T) <= Math.ceil(H), onMouseUp: B, onMouseLeave: B, onMouseDown: () => $(H, !0, !1) };
|
|
29490
29491
|
return f?.(V);
|
|
29491
29492
|
}, [d, s, H, O, A, T]);
|
|
29492
|
-
return ne("div", { ref: e, style: { display: "flex", flex: "1", flexDirection: k ? "column" : "row", padding: "0", ...i }, className: Ad("_sheetxl-
|
|
29493
|
+
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] });
|
|
29493
29494
|
}));
|
|
29494
29495
|
My.displayName = "Scrollbar";
|
|
29495
29496
|
let qC = Date.now, dc = {}, BY = 1;
|
|
@@ -30308,7 +30309,7 @@ const Ef = (t, e) => {
|
|
|
30308
30309
|
}
|
|
30309
30310
|
return n;
|
|
30310
30311
|
};
|
|
30311
|
-
function
|
|
30312
|
+
function fo(t, e = null, n = null, r) {
|
|
30312
30313
|
const o = Ie(n);
|
|
30313
30314
|
o.current = n, e && !Array.isArray(e) && (e = [e]);
|
|
30314
30315
|
const [i, a] = xe(Ef(t, e)), s = r ? [...r, t] : [t];
|
|
@@ -30646,7 +30647,7 @@ const TZ = Object.freeze([]), MZ = Object.freeze({}), dE = (t) => t, $g = () =>
|
|
|
30646
30647
|
function sF() {
|
|
30647
30648
|
return typeof process < "u" && process.release?.name === "node" || (typeof process < "u" && process.browser, !1);
|
|
30648
30649
|
}
|
|
30649
|
-
const fE = (t, e = !1) => (document.hasFocus() || e) && (t === document.activeElement || t?.contains(document.activeElement)),
|
|
30650
|
+
const fE = (t, e = !1) => (document.hasFocus() || e) && (t === document.activeElement || t?.contains(document.activeElement)), ho = Object.freeze(Object.defineProperty({ __proto__: null, EmptyArray: TZ, EmptyObject: MZ, OSType: Wi, arrayMove: function(t, e, n) {
|
|
30650
30651
|
const r = t.slice();
|
|
30651
30652
|
return r.splice(n < 0 ? r.length + n : n, 0, r.splice(e, 1)[0]), r;
|
|
30652
30653
|
}, asNumber: (t) => {
|
|
@@ -31589,7 +31590,7 @@ function z2(t, e, n, r = n) {
|
|
|
31589
31590
|
let o;
|
|
31590
31591
|
return o = typeof t == "function" ? t(n) : Array.isArray(t) ? t[n] || r : X5(t, n) || r, e && (o = e(o, r, t)), o;
|
|
31591
31592
|
}
|
|
31592
|
-
function
|
|
31593
|
+
function Do(t) {
|
|
31593
31594
|
const { prop: e, cssProperty: n = t.prop, themeKey: r, transform: o } = t, i = (a) => {
|
|
31594
31595
|
if (a[e] == null) return null;
|
|
31595
31596
|
const s = a[e], l = X5(a.theme, r) || {};
|
|
@@ -31636,10 +31637,10 @@ function CF(t, e) {
|
|
|
31636
31637
|
return Dl(o, o[a], l);
|
|
31637
31638
|
}(t, e, r, n)).reduce(jh, {});
|
|
31638
31639
|
}
|
|
31639
|
-
function
|
|
31640
|
+
function bo(t) {
|
|
31640
31641
|
return CF(t, xF);
|
|
31641
31642
|
}
|
|
31642
|
-
function
|
|
31643
|
+
function vo(t) {
|
|
31643
31644
|
return CF(t, _F);
|
|
31644
31645
|
}
|
|
31645
31646
|
function EF(t, e) {
|
|
@@ -31661,7 +31662,7 @@ function EF(t, e) {
|
|
|
31661
31662
|
}
|
|
31662
31663
|
return n;
|
|
31663
31664
|
}
|
|
31664
|
-
|
|
31665
|
+
bo.propTypes = {}, bo.filterProps = xF, vo.propTypes = {}, vo.filterProps = _F;
|
|
31665
31666
|
const HE = (t, e, n, r = []) => {
|
|
31666
31667
|
let o = t;
|
|
31667
31668
|
e.forEach((i, a) => {
|
|
@@ -31700,7 +31701,7 @@ function Ka(t) {
|
|
|
31700
31701
|
return typeof t != "number" ? t : `${t}px solid`;
|
|
31701
31702
|
}
|
|
31702
31703
|
function ss(t, e) {
|
|
31703
|
-
return
|
|
31704
|
+
return Do({ prop: t, themeKey: "borders", transform: e });
|
|
31704
31705
|
}
|
|
31705
31706
|
const WZ = ss("border", Ka), UZ = ss("borderTop", Ka), GZ = ss("borderRight", Ka), qZ = ss("borderBottom", Ka), KZ = ss("borderLeft", Ka), XZ = ss("borderColor"), YZ = ss("borderTopColor"), ZZ = ss("borderRightColor"), JZ = ss("borderBottomColor"), QZ = ss("borderLeftColor"), eJ = ss("outline", Ka), tJ = ss("outlineColor"), Hg = (t) => {
|
|
31706
31707
|
if (t.borderRadius !== void 0 && t.borderRadius !== null) {
|
|
@@ -31739,8 +31740,8 @@ function Zd(t, e) {
|
|
|
31739
31740
|
function Sa(t) {
|
|
31740
31741
|
return t <= 1 && t !== 0 ? 100 * t + "%" : t;
|
|
31741
31742
|
}
|
|
31742
|
-
Vg.propTypes = {}, Vg.filterProps = ["rowGap"], B2($2, H2, Vg,
|
|
31743
|
-
const nJ =
|
|
31743
|
+
Vg.propTypes = {}, Vg.filterProps = ["rowGap"], B2($2, H2, Vg, 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" })), B2(Do({ prop: "color", themeKey: "palette", transform: Zd }), Do({ prop: "bgcolor", cssProperty: "backgroundColor", themeKey: "palette", transform: Zd }), Do({ prop: "backgroundColor", themeKey: "palette", transform: Zd }));
|
|
31744
|
+
const nJ = Do({ prop: "width", transform: Sa }), By = (t) => {
|
|
31744
31745
|
if (t.maxWidth !== void 0 && t.maxWidth !== null) {
|
|
31745
31746
|
const e = (n) => {
|
|
31746
31747
|
const r = t.theme?.breakpoints?.values?.[n] || K5[n];
|
|
@@ -31751,9 +31752,9 @@ const nJ = Fo({ prop: "width", transform: Sa }), By = (t) => {
|
|
|
31751
31752
|
return null;
|
|
31752
31753
|
};
|
|
31753
31754
|
By.filterProps = ["maxWidth"];
|
|
31754
|
-
const rJ =
|
|
31755
|
-
|
|
31756
|
-
const Y5 = { 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: Hg }, color: { themeKey: "palette", transform: Zd }, bgcolor: { themeKey: "palette", cssProperty: "backgroundColor", transform: Zd }, backgroundColor: { themeKey: "palette", transform: Zd }, p: { style:
|
|
31755
|
+
const rJ = Do({ prop: "minWidth", transform: Sa }), oJ = Do({ prop: "height", transform: Sa }), iJ = Do({ prop: "maxHeight", transform: Sa }), aJ = Do({ prop: "minHeight", transform: Sa });
|
|
31756
|
+
Do({ prop: "size", cssProperty: "width", transform: Sa }), Do({ prop: "size", cssProperty: "height", transform: Sa }), B2(nJ, By, rJ, oJ, iJ, aJ, Do({ prop: "boxSizing" }));
|
|
31757
|
+
const Y5 = { 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: Hg }, 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: $2 }, rowGap: { style: Vg }, columnGap: { style: H2 }, 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: By }, 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" } }, Eu = /* @__PURE__ */ function() {
|
|
31757
31758
|
function t(e, n, r, o) {
|
|
31758
31759
|
const i = { [e]: n, theme: r }, a = o[e];
|
|
31759
31760
|
if (!a) return { [e]: n };
|
|
@@ -31874,10 +31875,10 @@ function cJ(t, e) {
|
|
|
31874
31875
|
}, 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, VE), caption: p(i, 12, 1.66, 0.4), overline: p(i, 12, 2.66, 1, VE), inherit: { fontFamily: "inherit", fontWeight: "inherit", fontSize: "inherit", lineHeight: "inherit", letterSpacing: "inherit" } };
|
|
31875
31876
|
return Ca({ htmlFontSize: l, pxToRem: m, fontFamily: n, fontSize: r, fontWeightLight: o, fontWeightRegular: i, fontWeightMedium: a, fontWeightBold: s, ...f }, u, { clone: !1 });
|
|
31876
31877
|
}
|
|
31877
|
-
function
|
|
31878
|
+
function oo(...t) {
|
|
31878
31879
|
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(",");
|
|
31879
31880
|
}
|
|
31880
|
-
const dJ = ["none",
|
|
31881
|
+
const dJ = ["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)], uJ = { 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)" }, hJ = { shortest: 150, shorter: 200, short: 250, standard: 300, complex: 375, enteringScreen: 225, leavingScreen: 195 };
|
|
31881
31882
|
function WE(t) {
|
|
31882
31883
|
return `${Math.round(t)}ms`;
|
|
31883
31884
|
}
|
|
@@ -32206,7 +32207,7 @@ const kJ = function(t = {}) {
|
|
|
32206
32207
|
try {
|
|
32207
32208
|
if (typeof document < "u") {
|
|
32208
32209
|
var t = document.createElement("style");
|
|
32209
|
-
t.appendChild(document.createTextNode("._sheetxl-
|
|
32210
|
+
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);
|
|
32210
32211
|
}
|
|
32211
32212
|
} catch (e) {
|
|
32212
32213
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
@@ -32306,7 +32307,7 @@ const Uy = et(pt((t, e) => {
|
|
|
32306
32307
|
const V = { orientation: s, disabled: Math.floor(A - T) <= Math.ceil(H), onMouseUp: B, onMouseLeave: B, onMouseDown: () => $(H, !0, !1) };
|
|
32307
32308
|
return f?.(V);
|
|
32308
32309
|
}, [d, s, H, O, A, T]);
|
|
32309
|
-
return ne("div", { ref: e, style: { display: "flex", flex: "1", flexDirection: k ? "column" : "row", padding: "0", ...i }, className: Nd("_sheetxl-
|
|
32310
|
+
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] });
|
|
32310
32311
|
}));
|
|
32311
32312
|
Uy.displayName = "Scrollbar";
|
|
32312
32313
|
let ZE = Date.now, uc = {}, GJ = 1;
|
|
@@ -32493,7 +32494,7 @@ const oQ = Object.freeze(Object.defineProperty({ __proto__: null, EmptyCssProper
|
|
|
32493
32494
|
n = !0, t.stopPropagation();
|
|
32494
32495
|
}, isPropagationStopped: () => n, persist: () => {
|
|
32495
32496
|
}, timeStamp: t.timeStamp, type: t.type };
|
|
32496
|
-
}, detectIt: $8, focusableNodeNames: rQ, toPrettyKeyCode: (t) => t === "BracketLeft" ? "[" : t === "BracketRight" ? "]" :
|
|
32497
|
+
}, detectIt: $8, focusableNodeNames: rQ, toPrettyKeyCode: (t) => t === "BracketLeft" ? "[" : t === "BracketRight" ? "]" : ho.camelToPrettyCase(t) }, Symbol.toStringTag, { value: "Module" })), iQ = [];
|
|
32497
32498
|
function Z5(t, e, n = iQ) {
|
|
32498
32499
|
const r = Ie(null);
|
|
32499
32500
|
return D0(t, () => {
|
|
@@ -32560,7 +32561,7 @@ function qy() {
|
|
|
32560
32561
|
const e = document.fullscreenElement;
|
|
32561
32562
|
if (!e) return;
|
|
32562
32563
|
let n = e.querySelector(".fullscreen-portal-root");
|
|
32563
|
-
n || (n = document.createElement("div"), n.className = "fullscreen-portal-root _fullscreen-portal-
|
|
32564
|
+
n || (n = document.createElement("div"), n.className = "fullscreen-portal-root _fullscreen-portal-root_1mjsr_4", e.appendChild(n));
|
|
32564
32565
|
}
|
|
32565
32566
|
return Mf++, t(), document.addEventListener("fullscreenchange", t), () => {
|
|
32566
32567
|
document.removeEventListener("fullscreenchange", t), Mf--, Mf <= 0 && (document.querySelectorAll(".fullscreen-portal-root").forEach((e) => {
|
|
@@ -32791,7 +32792,7 @@ function Ky(t, e = null) {
|
|
|
32791
32792
|
n.current?.onError?.(c, d, u);
|
|
32792
32793
|
} });
|
|
32793
32794
|
const l = /* @__PURE__ */ new Set();
|
|
32794
|
-
for (let c = 0; c < i.length; c++) l.add(i[c]?.addPropertyListener(
|
|
32795
|
+
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));
|
|
32795
32796
|
return () => {
|
|
32796
32797
|
l.forEach((c) => {
|
|
32797
32798
|
c?.();
|
|
@@ -32802,7 +32803,7 @@ function Ky(t, e = null) {
|
|
|
32802
32803
|
$F(null, () => {
|
|
32803
32804
|
const [t, e] = xe(null);
|
|
32804
32805
|
return t;
|
|
32805
|
-
}),
|
|
32806
|
+
}), ho.getOS() === ho.OSType.MacOS || (ho.getOS(), ho.OSType.IOS), ho.getOS() === ho.OSType.MacOS || (ho.getOS(), ho.OSType.IOS);
|
|
32806
32807
|
const Af = (t, e) => {
|
|
32807
32808
|
const n = [];
|
|
32808
32809
|
if (e) for (let r = 0; r < e.length; r++) {
|
|
@@ -32932,7 +32933,7 @@ et((t) => {
|
|
|
32932
32933
|
});
|
|
32933
32934
|
const bse = et((t) => {
|
|
32934
32935
|
const { sx: e, speed: n = 1, size: r = 13, width: o = 64, height: i = 17, ...a } = t;
|
|
32935
|
-
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-
|
|
32936
|
+
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" })] });
|
|
32936
32937
|
}), Pee = v(Lee, {}), hm = et(pt((t, e) => {
|
|
32937
32938
|
const { sx: n, style: r, onMount: o, onUnmount: i, transitionDelay: a = "1200ms", panel: s = !1, transparentBackground: l = !0, icon: c = Pee, 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(() => {
|
|
32938
32939
|
let y = ne(Ge, { sx: { display: "flex", flexDirection: "column", alignItems: "center", rowGap: "8px" }, children: [h, c] });
|
|
@@ -33272,7 +33273,7 @@ const is = { Toolbar: "toolbar", Menuitem: "menuitem" }, pr = (t) => {
|
|
|
33272
33273
|
};
|
|
33273
33274
|
function Qy(t, e) {
|
|
33274
33275
|
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 } };
|
|
33275
|
-
return
|
|
33276
|
+
return ho.getOS() === ho.OSType.Firefox && (n["* .pseudo-scrollbar"] = { scrollbarColor: `${e.thumb} transparent` }, n["* .pseudo-scrollbar:hover:not([disabled])"] = { scrollbarColor: `${e.active} transparent` }), n;
|
|
33276
33277
|
}
|
|
33277
33278
|
const iD = et(pt((t, e) => {
|
|
33278
33279
|
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) => {
|
|
@@ -33288,7 +33289,7 @@ const ac = /* @__PURE__ */ new Map();
|
|
|
33288
33289
|
let x6 = null;
|
|
33289
33290
|
const sc = /* @__PURE__ */ new Map();
|
|
33290
33291
|
let Sl = null;
|
|
33291
|
-
const _6 = (t = null, e, n, r) => (Sl && (Sl.fn.clear(), Sl = null), t === 0 ? e : (t === null && (t = 120), Sl = { fn:
|
|
33292
|
+
const _6 = (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)), aD = (t, e) => {
|
|
33292
33293
|
if (e === null) return;
|
|
33293
33294
|
t.add(e);
|
|
33294
33295
|
const n = ac.get(e.key);
|
|
@@ -33417,7 +33418,7 @@ Aa.displayName = "SimpleTooltip";
|
|
|
33417
33418
|
const O1 = et((t) => {
|
|
33418
33419
|
const { modifier: e, sx: n, ...r } = t;
|
|
33419
33420
|
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 }) });
|
|
33420
|
-
}), Xee =
|
|
33421
|
+
}), Xee = ho.getOS() === ho.OSType.MacOS || ho.getOS() === ho.OSType.IOS ? "Cmd" : "Ctrl", lD = (t, e = !1, n = null) => {
|
|
33421
33422
|
if (Array.isArray(t)) {
|
|
33422
33423
|
let i = [], a = t;
|
|
33423
33424
|
for (let s = 0; s < a.length; s++) i.push(lD(a[s], e, n ?? "" + s));
|
|
@@ -33435,7 +33436,7 @@ const O1 = et((t) => {
|
|
|
33435
33436
|
})), J5 = v(Cu, {}), Yee = Ke(v(Oy, {})), ka = et(pt((t, e) => {
|
|
33436
33437
|
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 } };
|
|
33437
33438
|
let x = w;
|
|
33438
|
-
o || (x =
|
|
33439
|
+
o || (x = ho.mergeContentful(w, b));
|
|
33439
33440
|
const S = ce(() => {
|
|
33440
33441
|
let E = typeof s == "function" ? s() : s;
|
|
33441
33442
|
return E === null ? E : E || (a === void 0 ? J5 : Yee);
|
|
@@ -33471,7 +33472,7 @@ const O1 = et((t) => {
|
|
|
33471
33472
|
const { children: n, sx: r, primary: o = !1, variant: i = "subtitle1", ...a } = t;
|
|
33472
33473
|
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 }) });
|
|
33473
33474
|
})), Is = et(pt((t, e) => {
|
|
33474
|
-
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 =
|
|
33475
|
+
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 = Vy(), C = ce(() => {
|
|
33475
33476
|
const Y = (ee, pe, J, G = J) => {
|
|
33476
33477
|
const oe = typeof r == "boolean" ? null : r[ee];
|
|
33477
33478
|
return typeof oe == "function" ? oe(pe) : oe || (r ? J : G);
|
|
@@ -33486,8 +33487,8 @@ const O1 = et((t) => {
|
|
|
33486
33487
|
}, [a, z]), B = Kn(() => {
|
|
33487
33488
|
T ? z.reference.close(0) : z.reference.open(0);
|
|
33488
33489
|
}, [T, z, s, o]), $ = ce(() => {
|
|
33489
|
-
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 =
|
|
33490
|
-
return { quickButtonStyling: J, openQuickButtonStyling: G, compoundStyling: oe, openCompoundStyling:
|
|
33490
|
+
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);
|
|
33491
|
+
return { quickButtonStyling: J, openQuickButtonStyling: G, compoundStyling: oe, openCompoundStyling: ho.mergeContentful(oe, ee) };
|
|
33491
33492
|
}, [C, b]), H = Kn((Y) => {
|
|
33492
33493
|
const { children: ee, ...pe } = Y;
|
|
33493
33494
|
return v(Aa, { ...pe, disableInteractive: !0, children: ee });
|
|
@@ -34248,7 +34249,7 @@ var Lk, Pk, yte = function() {
|
|
|
34248
34249
|
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 }, Lk = c;
|
|
34249
34250
|
}();
|
|
34250
34251
|
const wte = mF(yte);
|
|
34251
|
-
var zk, Bk, F1 = { exports: {} }, $k = {}, Df = { exports: {} },
|
|
34252
|
+
var zk, Bk, F1 = { exports: {} }, $k = {}, Df = { exports: {} }, Ro = {}, Hc = {};
|
|
34252
34253
|
function X2() {
|
|
34253
34254
|
return Bk || (Bk = 1, Object.defineProperty(Hc, "__esModule", { value: !0 }), Hc.dontSetMe = function(t, e, n) {
|
|
34254
34255
|
if (t[e]) return new Error(`Invalid prop ${e} passed to ${n} - do not set this, set it on the child.`);
|
|
@@ -34264,35 +34265,35 @@ function X2() {
|
|
|
34264
34265
|
}
|
|
34265
34266
|
var Hk, Vk, Zl = {};
|
|
34266
34267
|
function Q8() {
|
|
34267
|
-
if (Vk) return
|
|
34268
|
-
Vk = 1, Object.defineProperty(
|
|
34268
|
+
if (Vk) return Ro;
|
|
34269
|
+
Vk = 1, Object.defineProperty(Ro, "__esModule", { value: !0 }), Ro.addClassName = a, Ro.addEvent = function(l, c, d, u) {
|
|
34269
34270
|
if (!l) return;
|
|
34270
34271
|
const h = { capture: !0, ...u };
|
|
34271
34272
|
l.addEventListener ? l.addEventListener(c, d, h) : l.attachEvent ? l.attachEvent("on" + c, d) : l["on" + c] = d;
|
|
34272
|
-
},
|
|
34273
|
+
}, Ro.addUserSelectStyles = function(l) {
|
|
34273
34274
|
if (!l) return;
|
|
34274
34275
|
let c = l.getElementById("react-draggable-style-el");
|
|
34275
34276
|
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;}
|
|
34276
34277
|
`, c.innerHTML += `.react-draggable-transparent-selection *::selection {all: inherit;}
|
|
34277
34278
|
`, l.getElementsByTagName("head")[0].appendChild(c)), l.body && a(l.body, "react-draggable-transparent-selection");
|
|
34278
|
-
},
|
|
34279
|
+
}, Ro.createCSSTransform = function(l, c) {
|
|
34279
34280
|
const d = o(l, c, "px");
|
|
34280
34281
|
return { [(0, e.browserPrefixToKey)("transform", e.default)]: d };
|
|
34281
|
-
},
|
|
34282
|
+
}, Ro.createSVGTransform = function(l, c) {
|
|
34282
34283
|
return o(l, c, "");
|
|
34283
|
-
},
|
|
34284
|
+
}, Ro.getTouch = function(l, c) {
|
|
34284
34285
|
return l.targetTouches && (0, t.findInArray)(l.targetTouches, (d) => c === d.identifier) || l.changedTouches && (0, t.findInArray)(l.changedTouches, (d) => c === d.identifier);
|
|
34285
|
-
},
|
|
34286
|
+
}, Ro.getTouchIdentifier = function(l) {
|
|
34286
34287
|
return l.targetTouches && l.targetTouches[0] ? l.targetTouches[0].identifier : l.changedTouches && l.changedTouches[0] ? l.changedTouches[0].identifier : void 0;
|
|
34287
|
-
},
|
|
34288
|
+
}, Ro.getTranslation = o, Ro.innerHeight = function(l) {
|
|
34288
34289
|
let c = l.clientHeight;
|
|
34289
34290
|
const d = l.ownerDocument.defaultView.getComputedStyle(l);
|
|
34290
34291
|
return c -= (0, t.int)(d.paddingTop), c -= (0, t.int)(d.paddingBottom), c;
|
|
34291
|
-
},
|
|
34292
|
+
}, Ro.innerWidth = function(l) {
|
|
34292
34293
|
let c = l.clientWidth;
|
|
34293
34294
|
const d = l.ownerDocument.defaultView.getComputedStyle(l);
|
|
34294
34295
|
return c -= (0, t.int)(d.paddingLeft), c -= (0, t.int)(d.paddingRight), c;
|
|
34295
|
-
},
|
|
34296
|
+
}, Ro.matchesSelector = r, Ro.matchesSelectorAndParentsTo = function(l, c, d) {
|
|
34296
34297
|
let u = l;
|
|
34297
34298
|
do {
|
|
34298
34299
|
if (r(u, c)) return !0;
|
|
@@ -34300,22 +34301,22 @@ function Q8() {
|
|
|
34300
34301
|
u = u.parentNode;
|
|
34301
34302
|
} while (u);
|
|
34302
34303
|
return !1;
|
|
34303
|
-
},
|
|
34304
|
+
}, Ro.offsetXYFromParent = function(l, c, d) {
|
|
34304
34305
|
const u = c === c.ownerDocument.body ? { left: 0, top: 0 } : c.getBoundingClientRect();
|
|
34305
34306
|
return { x: (l.clientX + c.scrollLeft - u.left) / d, y: (l.clientY + c.scrollTop - u.top) / d };
|
|
34306
|
-
},
|
|
34307
|
+
}, Ro.outerHeight = function(l) {
|
|
34307
34308
|
let c = l.clientHeight;
|
|
34308
34309
|
const d = l.ownerDocument.defaultView.getComputedStyle(l);
|
|
34309
34310
|
return c += (0, t.int)(d.borderTopWidth), c += (0, t.int)(d.borderBottomWidth), c;
|
|
34310
|
-
},
|
|
34311
|
+
}, Ro.outerWidth = function(l) {
|
|
34311
34312
|
let c = l.clientWidth;
|
|
34312
34313
|
const d = l.ownerDocument.defaultView.getComputedStyle(l);
|
|
34313
34314
|
return c += (0, t.int)(d.borderLeftWidth), c += (0, t.int)(d.borderRightWidth), c;
|
|
34314
|
-
},
|
|
34315
|
+
}, Ro.removeClassName = s, Ro.removeEvent = function(l, c, d, u) {
|
|
34315
34316
|
if (!l) return;
|
|
34316
34317
|
const h = { capture: !0, ...u };
|
|
34317
34318
|
l.removeEventListener ? l.removeEventListener(c, d, h) : l.detachEvent ? l.detachEvent("on" + c, d) : l["on" + c] = null;
|
|
34318
|
-
},
|
|
34319
|
+
}, Ro.scheduleRemoveUserSelectStyles = function(l) {
|
|
34319
34320
|
window.requestAnimationFrame ? window.requestAnimationFrame(() => {
|
|
34320
34321
|
i(l);
|
|
34321
34322
|
}) : i(l);
|
|
@@ -34382,7 +34383,7 @@ function Q8() {
|
|
|
34382
34383
|
function s(l, c) {
|
|
34383
34384
|
l.classList ? l.classList.remove(c) : l.className = l.className.replace(new RegExp(`(?:^|\\s)${c}(?!\\S)`, "g"), "");
|
|
34384
34385
|
}
|
|
34385
|
-
return
|
|
34386
|
+
return Ro;
|
|
34386
34387
|
}
|
|
34387
34388
|
var jk, Ls = {};
|
|
34388
34389
|
function Wk() {
|
|
@@ -34751,24 +34752,24 @@ var ns = typeof window < "u" ? window : { screen: {}, navigator: {} }, Mu = (ns.
|
|
|
34751
34752
|
ns.addEventListener && ns.addEventListener("p", Zk, Cte), ns.removeEventListener && ns.removeEventListener("p", Zk, !1);
|
|
34752
34753
|
var tw = "ontouchstart" in ns, Ete = tw || "TouchEvent" in ns && Mu("(any-pointer: coarse)").matches, Jk = (ns.navigator.maxTouchPoints || 0) > 0 || Ete, vD = ns.navigator.userAgent || "", kte = Mu("(pointer: coarse)").matches && /iPad|Macintosh/.test(vD) && Math.min(ns.screen.width || 0, ns.screen.height || 0) >= 768, SD = (Mu("(pointer: coarse)").matches || !Mu("(pointer: fine)").matches && tw) && !/Windows.*Firefox/.test(vD), Tte = Mu("(any-pointer: fine)").matches || Mu("(any-hover: hover)").matches || kte || !tw, Qk = !Jk || !Tte && SD ? Jk ? "touchOnly" : "mouseOnly" : "hybrid", Mte = Qk === "mouseOnly" ? "mouse" : Qk === "touchOnly" || SD ? "touch" : "mouse", Gh = (t) => t.type === "checkbox", c0 = (t) => t instanceof Date, qi = (t) => t == null;
|
|
34753
34754
|
const xD = (t) => typeof t == "object";
|
|
34754
|
-
var
|
|
34755
|
+
var Vo = (t) => !qi(t) && !Array.isArray(t) && xD(t) && !c0(t), nw = typeof window < "u" && window.HTMLElement !== void 0 && typeof document < "u";
|
|
34755
34756
|
function Mi(t) {
|
|
34756
34757
|
let e;
|
|
34757
34758
|
const n = Array.isArray(t), r = typeof FileList < "u" && t instanceof FileList;
|
|
34758
34759
|
if (t instanceof Date) e = new Date(t);
|
|
34759
34760
|
else if (t instanceof Set) e = new Set(t);
|
|
34760
34761
|
else {
|
|
34761
|
-
if (nw && (t instanceof Blob || r) || !n && !
|
|
34762
|
+
if (nw && (t instanceof Blob || r) || !n && !Vo(t)) return t;
|
|
34762
34763
|
if (e = n ? [] : {}, n || ((o) => {
|
|
34763
34764
|
const i = o.constructor && o.constructor.prototype;
|
|
34764
|
-
return
|
|
34765
|
+
return Vo(i) && i.hasOwnProperty("isPrototypeOf");
|
|
34765
34766
|
})(t)) for (const o in t) t.hasOwnProperty(o) && (e[o] = Mi(t[o]));
|
|
34766
34767
|
else e = t;
|
|
34767
34768
|
}
|
|
34768
34769
|
return e;
|
|
34769
34770
|
}
|
|
34770
34771
|
var Q5 = (t) => /^\w*$/.test(t), Go = (t) => t === void 0, e9 = (t) => Array.isArray(t) ? t.filter(Boolean) : [], rw = (t) => e9(t.replace(/["|']|\]/g, "").split(/\.|\[/)), fn = (t, e, n) => {
|
|
34771
|
-
if (!e || !
|
|
34772
|
+
if (!e || !Vo(t)) return n;
|
|
34772
34773
|
const r = (Q5(e) ? [e] : rw(e)).reduce((o, i) => qi(o) ? o : o[i], t);
|
|
34773
34774
|
return Go(r) || r === t ? Go(t[e]) ? n : t[e] : r;
|
|
34774
34775
|
}, Ws = (t) => typeof t == "boolean", Zr = (t, e, n) => {
|
|
@@ -34779,7 +34780,7 @@ var Q5 = (t) => /^\w*$/.test(t), Go = (t) => t === void 0, e9 = (t) => Array.isA
|
|
|
34779
34780
|
let l = n;
|
|
34780
34781
|
if (r !== a) {
|
|
34781
34782
|
const c = t[s];
|
|
34782
|
-
l =
|
|
34783
|
+
l = Vo(c) || Array.isArray(c) ? c : isNaN(+o[r + 1]) ? {} : [];
|
|
34783
34784
|
}
|
|
34784
34785
|
if (s === "__proto__" || s === "constructor" || s === "prototype") return;
|
|
34785
34786
|
t[s] = l, t = t[s];
|
|
@@ -34813,12 +34814,12 @@ function hc(t, e) {
|
|
|
34813
34814
|
if (!r.includes(o)) return !1;
|
|
34814
34815
|
if (o !== "ref") {
|
|
34815
34816
|
const a = e[o];
|
|
34816
|
-
if (c0(i) && c0(a) ||
|
|
34817
|
+
if (c0(i) && c0(a) || Vo(i) && Vo(a) || Array.isArray(i) && Array.isArray(a) ? !hc(i, a) : i !== a) return !1;
|
|
34817
34818
|
}
|
|
34818
34819
|
}
|
|
34819
34820
|
return !0;
|
|
34820
34821
|
}
|
|
34821
|
-
var ea = (t) =>
|
|
34822
|
+
var ea = (t) => Vo(t) && !Object.keys(t).length, ow = (t) => t.type === "file", ws = (t) => typeof t == "function", Y2 = (t) => {
|
|
34822
34823
|
if (!nw) return !1;
|
|
34823
34824
|
const e = t ? t.ownerDocument : 0;
|
|
34824
34825
|
return t instanceof (e && e.defaultView ? e.defaultView.HTMLElement : HTMLElement);
|
|
@@ -34830,7 +34831,7 @@ function Jo(t, e) {
|
|
|
34830
34831
|
for (; c < l; ) a = Go(a) ? c++ : a[s[c++]];
|
|
34831
34832
|
return a;
|
|
34832
34833
|
}(t, n), o = n.length - 1, i = n[o];
|
|
34833
|
-
return r && delete r[i], o !== 0 && (
|
|
34834
|
+
return r && delete r[i], o !== 0 && (Vo(r) && ea(r) || Array.isArray(r) && function(a) {
|
|
34834
34835
|
for (const s in a) if (a.hasOwnProperty(s) && !Go(a[s])) return !1;
|
|
34835
34836
|
return !0;
|
|
34836
34837
|
}(r)) && Jo(t, n.slice(0, -1)), t;
|
|
@@ -34841,12 +34842,12 @@ var TD = (t) => {
|
|
|
34841
34842
|
};
|
|
34842
34843
|
function Z2(t, e = {}) {
|
|
34843
34844
|
const n = Array.isArray(t);
|
|
34844
|
-
if (
|
|
34845
|
+
if (Vo(t) || n) for (const r in t) Array.isArray(t[r]) || Vo(t[r]) && !TD(t[r]) ? (e[r] = Array.isArray(t[r]) ? [] : {}, Z2(t[r], e[r])) : qi(t[r]) || (e[r] = !0);
|
|
34845
34846
|
return e;
|
|
34846
34847
|
}
|
|
34847
34848
|
function MD(t, e, n) {
|
|
34848
34849
|
const r = Array.isArray(t);
|
|
34849
|
-
if (
|
|
34850
|
+
if (Vo(t) || r) for (const o in t) Array.isArray(t[o]) || Vo(t[o]) && !TD(t[o]) ? Go(e) || t9(n[o]) ? n[o] = Array.isArray(t[o]) ? Z2(t[o], []) : { ...Z2(t[o]) } : MD(t[o], qi(e) ? {} : e[o], n[o]) : n[o] = !hc(t[o], e[o]);
|
|
34850
34851
|
return n;
|
|
34851
34852
|
}
|
|
34852
34853
|
var L1 = (t, e) => MD(t, e, Z2(e));
|
|
@@ -34867,9 +34868,9 @@ function aT(t) {
|
|
|
34867
34868
|
const e = t.ref;
|
|
34868
34869
|
return ow(e) ? e.files : iw(e) ? AD(t.refs).value : kD(e) ? [...e.selectedOptions].map(({ value: n }) => n) : Gh(e) ? RD(t.refs).value : ID(Go(e.value) ? t.ref.value : e.value, t);
|
|
34869
34870
|
}
|
|
34870
|
-
var J2 = (t) => t instanceof RegExp, P1 = (t) => Go(t) ? t : J2(t) ? t.source :
|
|
34871
|
+
var J2 = (t) => t instanceof RegExp, P1 = (t) => Go(t) ? t : J2(t) ? t.source : Vo(t) ? J2(t.value) ? t.value.source : t.value : t, sT = (t) => ({ isOnSubmit: !t || t === CD, isOnBlur: t === "onBlur", isOnChange: t === _D, isOnAll: t === bh, isOnTouch: t === "onTouched" });
|
|
34871
34872
|
const lT = "AsyncFunction";
|
|
34872
|
-
var Ote = (t) => !!t && !!t.validate && !!(ws(t.validate) && t.validate.constructor.name === lT ||
|
|
34873
|
+
var Ote = (t) => !!t && !!t.validate && !!(ws(t.validate) && t.validate.constructor.name === lT || Vo(t.validate) && Object.values(t.validate).find((e) => e.constructor.name === lT)), cT = (t, e, n) => !n && (e.watchAll || e.watch.has(t) || [...e.watch].some((r) => t.startsWith(r) && /^\.\w+/.test(t.slice(r.length))));
|
|
34873
34874
|
const qh = (t, e, n, r) => {
|
|
34874
34875
|
for (const o of n || Object.keys(t)) {
|
|
34875
34876
|
const i = fn(t, o);
|
|
@@ -34878,7 +34879,7 @@ const qh = (t, e, n, r) => {
|
|
|
34878
34879
|
if (a) {
|
|
34879
34880
|
if (a.refs && a.refs[0] && e(a.refs[0], o) && !r || a.ref && e(a.ref, a.name) && !r) return !0;
|
|
34880
34881
|
if (qh(s, e)) break;
|
|
34881
|
-
} else if (
|
|
34882
|
+
} else if (Vo(s) && qh(s, e)) break;
|
|
34882
34883
|
}
|
|
34883
34884
|
}
|
|
34884
34885
|
};
|
|
@@ -34902,7 +34903,7 @@ var Nte = (t, e, n) => {
|
|
|
34902
34903
|
function uT(t, e, n = "validate") {
|
|
34903
34904
|
if (Kg(t) || Array.isArray(t) && t.every(Kg) || Ws(t) && !t) return { type: n, message: Kg(t) ? t : "", ref: e };
|
|
34904
34905
|
}
|
|
34905
|
-
var fd = (t) =>
|
|
34906
|
+
var fd = (t) => Vo(t) && !J2(t) ? t : { value: t, message: "" }, hT = async (t, e, n, r, o, i) => {
|
|
34906
34907
|
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);
|
|
34907
34908
|
if (!y || e.has(f)) return {};
|
|
34908
34909
|
const b = s ? s[0] : a, x = (T) => {
|
|
@@ -34939,7 +34940,7 @@ var fd = (t) => Ho(t) && !J2(t) ? t : { value: t, message: "" }, hT = async (t,
|
|
|
34939
34940
|
if (ws(p)) {
|
|
34940
34941
|
const T = uT(await p(w, n), b);
|
|
34941
34942
|
if (T && (S[f] = { ...T, ...M("validate", T.message) }, !r)) return x(T.message), S;
|
|
34942
|
-
} else if (
|
|
34943
|
+
} else if (Vo(p)) {
|
|
34943
34944
|
let T = {};
|
|
34944
34945
|
for (const A in p) {
|
|
34945
34946
|
if (!ea(T) && !r) break;
|
|
@@ -34959,7 +34960,7 @@ const Fte = { mode: CD, reValidateMode: _D, shouldFocusError: !0 }, Dte = ["Ok",
|
|
|
34959
34960
|
const { formControl: L, ...F } = function(D = {}) {
|
|
34960
34961
|
let P = { ...Fte, ...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 };
|
|
34961
34962
|
const I = {};
|
|
34962
|
-
let B, $ = (
|
|
34963
|
+
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;
|
|
34963
34964
|
const X = { isDirty: !1, dirtyFields: !1, validatingFields: !1, touchedFields: !1, isValidating: !1, isValid: !1, errors: !1 };
|
|
34964
34965
|
let Q = { ...X };
|
|
34965
34966
|
const me = { array: nT(), state: nT() }, te = P.criteriaMode === bh, ue = async (U) => {
|
|
@@ -35037,7 +35038,7 @@ const Fte = { mode: CD, reValidateMode: _D, shouldFocusError: !0 }, Dte = ["Ok",
|
|
|
35037
35038
|
for (const Ee in q) {
|
|
35038
35039
|
if (!q.hasOwnProperty(Ee)) return;
|
|
35039
35040
|
const le = q[Ee], ye = U + "." + Ee, ke = fn(I, ye);
|
|
35040
|
-
(W.array.has(U) ||
|
|
35041
|
+
(W.array.has(U) || Vo(le) || ke && !ke._f) && !c0(le) ? ie(ye, le, re) : oe(ye, le, re);
|
|
35041
35042
|
}
|
|
35042
35043
|
}, Re = (U, q, re = {}) => {
|
|
35043
35044
|
const Ee = fn(I, U), le = W.array.has(U), ye = Mi(q);
|
|
@@ -35051,7 +35052,7 @@ const Fte = { mode: CD, reValidateMode: _D, shouldFocusError: !0 }, Dte = ["Ok",
|
|
|
35051
35052
|
}, ke = sT(P.mode), Oe = sT(P.reValidateMode);
|
|
35052
35053
|
if (le) {
|
|
35053
35054
|
let Be, Ye;
|
|
35054
|
-
const ut = q.type ? aT(le._f) :
|
|
35055
|
+
const ut = q.type ? aT(le._f) : Vo(Me = U) && Me.target ? Gh(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 = cT(re, W, ot);
|
|
35055
35056
|
Zr(H, re, ut), ot ? (le._f.onBlur && le._f.onBlur(U), B && B(0)) : le._f.onChange && le._f.onChange(U);
|
|
35056
35057
|
const nn = Y(re, ut, ot), Zt = !ea(nn) || wt;
|
|
35057
35058
|
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 });
|
|
@@ -35326,7 +35327,7 @@ const Fte = { mode: CD, reValidateMode: _D, shouldFocusError: !0 }, Dte = ["Ok",
|
|
|
35326
35327
|
e?.onDone?.(), r.hide();
|
|
35327
35328
|
} });
|
|
35328
35329
|
});
|
|
35329
|
-
}, zte = ft.lazy(() => import("./
|
|
35330
|
+
}, zte = ft.lazy(() => import("./Bz98C5-blFN81GJ-.mjs")), Cse = () => {
|
|
35330
35331
|
const { showModal: t } = ew();
|
|
35331
35332
|
return (e) => {
|
|
35332
35333
|
const { defaultOption: n = e.options?.[0], cancelOption: r = "Cancel", ...o } = e;
|
|
@@ -35484,14 +35485,14 @@ const $te = (t) => {
|
|
|
35484
35485
|
try {
|
|
35485
35486
|
if (typeof document < "u") {
|
|
35486
35487
|
var t = document.createElement("style");
|
|
35487
|
-
t.appendChild(document.createTextNode("._traverse-
|
|
35488
|
+
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);
|
|
35488
35489
|
}
|
|
35489
35490
|
} catch (e) {
|
|
35490
35491
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
35491
35492
|
}
|
|
35492
35493
|
})();
|
|
35493
35494
|
const OD = et(pt((t, e) => {
|
|
35494
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, parentFloat: a, ...s } = t, l =
|
|
35495
|
+
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(() => {
|
|
35495
35496
|
for (let m = 0; m < l.length; m++) if (l[m]?.state()) return l[m].key();
|
|
35496
35497
|
return l[0]?.key();
|
|
35497
35498
|
}, [l]), d = ce(() => {
|
|
@@ -35502,12 +35503,12 @@ const OD = et(pt((t, e) => {
|
|
|
35502
35503
|
const m = { ...r };
|
|
35503
35504
|
return delete m.beforeExecute, m;
|
|
35504
35505
|
}, [r]), h = ve((m, p) => {
|
|
35505
|
-
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:
|
|
35506
|
+
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(LQ, {})) }), v(dt, { command: p.getCommand("formatIndentIncrease"), commandHook: u, scope: o, disabled: i, icon: Ke(v(DQ, {})) })] }), 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 })] });
|
|
35506
35507
|
return pr({ ...m, children: w });
|
|
35507
35508
|
}, [i, r]);
|
|
35508
35509
|
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(Hv, {}), ...s });
|
|
35509
35510
|
})), ND = et(pt((t, e) => {
|
|
35510
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s =
|
|
35511
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s = fo(n, ["formatAlignTopToggle", "formatAlignMiddleToggle", "formatAlignBottomToggle", "formatAlignJustifyVerticalToggle", "formatAlignDistributedVerticalToggle"]), l = ce(() => {
|
|
35511
35512
|
for (let u = 0; u < s.length; u++) if (s[u]?.state()) return s[u].key();
|
|
35512
35513
|
return s[0]?.key();
|
|
35513
35514
|
}, [s]), c = ce(() => {
|
|
@@ -35519,7 +35520,7 @@ const OD = et(pt((t, e) => {
|
|
|
35519
35520
|
}, [i, r, c]);
|
|
35520
35521
|
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(gk, {})), ...a });
|
|
35521
35522
|
})), FD = et(pt((t, e) => {
|
|
35522
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s =
|
|
35523
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s = fo(n, ["formatTextOverflowVisibleToggle", "formatTextOverflowWrapToggle", "formatTextOverflowClipToggle", "formatTextOverflowShrinkToggle"]), l = ce(() => {
|
|
35523
35524
|
for (let u = 0; u < s.length; u++) if (s[u]?.state()) return s[u].key();
|
|
35524
35525
|
return s[0]?.key();
|
|
35525
35526
|
}, [s]), c = ce(() => {
|
|
@@ -35531,7 +35532,7 @@ const OD = et(pt((t, e) => {
|
|
|
35531
35532
|
}, [i, r, o]);
|
|
35532
35533
|
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(_E, {})), ...a });
|
|
35533
35534
|
})), DD = et(pt((t, e) => {
|
|
35534
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s =
|
|
35535
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s = fo(n, ["formatTextRotate0", "formatTextRotate315", "formatTextRotate45", "formatTextRotate90", "formatTextRotate270", "formatSubscriptToggle", "formatTextRotateCustom"]), l = ce(() => {
|
|
35535
35536
|
for (let h = 0; h < s.length; h++) if (s[h]?.state()) return s[h].key();
|
|
35536
35537
|
return s[1]?.key();
|
|
35537
35538
|
}, [s]), c = ce(() => {
|
|
@@ -35841,7 +35842,7 @@ function e5(t, e, n, r = n) {
|
|
|
35841
35842
|
let o;
|
|
35842
35843
|
return o = typeof t == "function" ? t(n) : Array.isArray(t) ? t[n] || r : n3(t, n) || r, e && (o = e(o, r, t)), o;
|
|
35843
35844
|
}
|
|
35844
|
-
function
|
|
35845
|
+
function Lo(t) {
|
|
35845
35846
|
const { prop: e, cssProperty: n = t.prop, themeKey: r, transform: o } = t, i = (a) => {
|
|
35846
35847
|
if (a[e] == null) return null;
|
|
35847
35848
|
const s = a[e], l = n3(a.theme, r) || {};
|
|
@@ -35888,13 +35889,13 @@ function WD(t, e) {
|
|
|
35888
35889
|
return Pl(o, o[a], l);
|
|
35889
35890
|
}(t, e, r, n)).reduce(Kh, {});
|
|
35890
35891
|
}
|
|
35891
|
-
function
|
|
35892
|
+
function So(t) {
|
|
35892
35893
|
return WD(t, VD);
|
|
35893
35894
|
}
|
|
35894
|
-
function
|
|
35895
|
+
function xo(t) {
|
|
35895
35896
|
return WD(t, jD);
|
|
35896
35897
|
}
|
|
35897
|
-
|
|
35898
|
+
So.propTypes = {}, So.filterProps = VD, xo.propTypes = {}, xo.filterProps = jD;
|
|
35898
35899
|
const RT = (t, e, n, r = []) => {
|
|
35899
35900
|
let o = t;
|
|
35900
35901
|
e.forEach((i, a) => {
|
|
@@ -35933,7 +35934,7 @@ function Xa(t) {
|
|
|
35933
35934
|
return typeof t != "number" ? t : `${t}px solid`;
|
|
35934
35935
|
}
|
|
35935
35936
|
function ls(t, e) {
|
|
35936
|
-
return
|
|
35937
|
+
return Lo({ prop: t, themeKey: "borders", transform: e });
|
|
35937
35938
|
}
|
|
35938
35939
|
const Xte = ls("border", Xa), Yte = ls("borderTop", Xa), Zte = ls("borderRight", Xa), Jte = ls("borderBottom", Xa), Qte = ls("borderLeft", Xa), ene = ls("borderColor"), tne = ls("borderTopColor"), nne = ls("borderRightColor"), rne = ls("borderBottomColor"), one = ls("borderLeftColor"), ine = ls("outline", Xa), ane = ls("outlineColor"), Xg = (t) => {
|
|
35939
35940
|
if (t.borderRadius !== void 0 && t.borderRadius !== null) {
|
|
@@ -35972,8 +35973,8 @@ function tu(t, e) {
|
|
|
35972
35973
|
function xa(t) {
|
|
35973
35974
|
return t <= 1 && t !== 0 ? 100 * t + "%" : t;
|
|
35974
35975
|
}
|
|
35975
|
-
Yg.propTypes = {}, Yg.filterProps = ["rowGap"], t5(n5, r5, Yg,
|
|
35976
|
-
const sne =
|
|
35976
|
+
Yg.propTypes = {}, Yg.filterProps = ["rowGap"], t5(n5, r5, Yg, 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" })), t5(Lo({ prop: "color", themeKey: "palette", transform: tu }), Lo({ prop: "bgcolor", cssProperty: "backgroundColor", themeKey: "palette", transform: tu }), Lo({ prop: "backgroundColor", themeKey: "palette", transform: tu }));
|
|
35977
|
+
const sne = Lo({ prop: "width", transform: xa }), uw = (t) => {
|
|
35977
35978
|
if (t.maxWidth !== void 0 && t.maxWidth !== null) {
|
|
35978
35979
|
const e = (n) => {
|
|
35979
35980
|
const r = t.theme?.breakpoints?.values?.[n] || t3[n];
|
|
@@ -35984,9 +35985,9 @@ const sne = Do({ prop: "width", transform: xa }), uw = (t) => {
|
|
|
35984
35985
|
return null;
|
|
35985
35986
|
};
|
|
35986
35987
|
uw.filterProps = ["maxWidth"];
|
|
35987
|
-
const lne =
|
|
35988
|
-
|
|
35989
|
-
const r3 = { 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: Xg }, color: { themeKey: "palette", transform: tu }, bgcolor: { themeKey: "palette", cssProperty: "backgroundColor", transform: tu }, backgroundColor: { themeKey: "palette", transform: tu }, p: { style:
|
|
35988
|
+
const lne = Lo({ prop: "minWidth", transform: xa }), cne = Lo({ prop: "height", transform: xa }), dne = Lo({ prop: "maxHeight", transform: xa }), une = Lo({ prop: "minHeight", transform: xa });
|
|
35989
|
+
Lo({ prop: "size", cssProperty: "width", transform: xa }), Lo({ prop: "size", cssProperty: "height", transform: xa }), t5(sne, uw, lne, cne, dne, une, Lo({ prop: "boxSizing" }));
|
|
35990
|
+
const r3 = { 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: Xg }, 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: n5 }, rowGap: { style: Yg }, columnGap: { style: r5 }, 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: uw }, 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" } }, wm = /* @__PURE__ */ function() {
|
|
35990
35991
|
function t(e, n, r, o) {
|
|
35991
35992
|
const i = { [e]: n, theme: r }, a = o[e];
|
|
35992
35993
|
if (!a) return { [e]: n };
|
|
@@ -36107,10 +36108,10 @@ function UD(t, e) {
|
|
|
36107
36108
|
}, 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, IT), caption: p(i, 12, 1.66, 0.4), overline: p(i, 12, 2.66, 1, IT), inherit: { fontFamily: "inherit", fontWeight: "inherit", fontSize: "inherit", lineHeight: "inherit", letterSpacing: "inherit" } };
|
|
36108
36109
|
return Ta({ htmlFontSize: l, pxToRem: m, fontFamily: n, fontSize: r, fontWeightLight: o, fontWeightRegular: i, fontWeightMedium: a, fontWeightBold: s, ...f }, u, { clone: !1 });
|
|
36109
36110
|
}
|
|
36110
|
-
function
|
|
36111
|
+
function io(...t) {
|
|
36111
36112
|
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(",");
|
|
36112
36113
|
}
|
|
36113
|
-
const fne = ["none",
|
|
36114
|
+
const fne = ["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)], gne = { 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)" }, yne = { shortest: 150, shorter: 200, short: 250, standard: 300, complex: 375, enteringScreen: 225, leavingScreen: 195 };
|
|
36114
36115
|
function OT(t) {
|
|
36115
36116
|
return `${Math.round(t)}ms`;
|
|
36116
36117
|
}
|
|
@@ -36436,7 +36437,7 @@ function Rne({ theme: t, ...e }) {
|
|
|
36436
36437
|
try {
|
|
36437
36438
|
if (typeof document < "u") {
|
|
36438
36439
|
var t = document.createElement("style");
|
|
36439
|
-
t.appendChild(document.createTextNode("._sheetxl-
|
|
36440
|
+
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);
|
|
36440
36441
|
}
|
|
36441
36442
|
} catch (e) {
|
|
36442
36443
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
@@ -37243,13 +37244,13 @@ var P6;
|
|
|
37243
37244
|
try {
|
|
37244
37245
|
if (typeof document < "u") {
|
|
37245
37246
|
var t = document.createElement("style");
|
|
37246
|
-
t.appendChild(document.createTextNode("._sheetxl-
|
|
37247
|
+
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);
|
|
37247
37248
|
}
|
|
37248
37249
|
} catch (e) {
|
|
37249
37250
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
37250
37251
|
}
|
|
37251
37252
|
}();
|
|
37252
|
-
const Eh = { Left: "left", Right: "right", Center: "center" },
|
|
37253
|
+
const Eh = { Left: "left", Right: "right", Center: "center" }, Io = "shift", Vc = "alt", yi = "ctrl", Rc = { Horizontal: "horizontal", Vertical: "vertical" };
|
|
37253
37254
|
function aL(t) {
|
|
37254
37255
|
var e, n, r = "";
|
|
37255
37256
|
if (typeof t == "string" || typeof t == "number") r += t;
|
|
@@ -37343,7 +37344,7 @@ const hw = et(pt((t, e) => {
|
|
|
37343
37344
|
const V = { orientation: s, disabled: Math.floor(A - T) <= Math.ceil(H), onMouseUp: B, onMouseLeave: B, onMouseDown: () => $(H, !0, !1) };
|
|
37344
37345
|
return f?.(V);
|
|
37345
37346
|
}, [d, s, H, O, A, T]);
|
|
37346
|
-
return ne("div", { ref: e, style: { display: "flex", flex: "1", flexDirection: k ? "column" : "row", padding: "0", ...i }, className: Dd("_sheetxl-
|
|
37347
|
+
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] });
|
|
37347
37348
|
}));
|
|
37348
37349
|
hw.displayName = "Scrollbar";
|
|
37349
37350
|
let oM = Date.now, pc = {}, Yne = 1;
|
|
@@ -37597,7 +37598,7 @@ function fL() {
|
|
|
37597
37598
|
const e = document.fullscreenElement;
|
|
37598
37599
|
if (!e) return;
|
|
37599
37600
|
let n = e.querySelector(".fullscreen-portal-root");
|
|
37600
|
-
n || (n = document.createElement("div"), n.className = "fullscreen-portal-root _fullscreen-portal-
|
|
37601
|
+
n || (n = document.createElement("div"), n.className = "fullscreen-portal-root _fullscreen-portal-root_1mjsr_4", e.appendChild(n));
|
|
37601
37602
|
}
|
|
37602
37603
|
return zf++, t(), document.addEventListener("fullscreenchange", t), () => {
|
|
37603
37604
|
document.removeEventListener("fullscreenchange", t), zf--, zf <= 0 && (document.querySelectorAll(".fullscreen-portal-root").forEach((e) => {
|
|
@@ -38784,7 +38785,7 @@ const $i = -10, Bre = Object.freeze({ rowStart: 0, colStart: 0, rowEnd: 0, colEn
|
|
|
38784
38785
|
wt(yr, K, !1, t.current.getDimensions().containerWidth);
|
|
38785
38786
|
}, []), Qr = ve((K = !1) => {
|
|
38786
38787
|
wt(kr, K, !1, t.current.getDimensions().containerWidth);
|
|
38787
|
-
}, []),
|
|
38788
|
+
}, []), ko = ve(() => {
|
|
38788
38789
|
nn(kr);
|
|
38789
38790
|
}, []), Zo = ve(() => {
|
|
38790
38791
|
nn(yr);
|
|
@@ -38987,15 +38988,15 @@ const $i = -10, Bre = Object.freeze({ rowStart: 0, colStart: 0, rowEnd: 0, colEn
|
|
|
38987
38988
|
if (cn === lt.ranges.length - 1) {
|
|
38988
38989
|
De = null, se = null;
|
|
38989
38990
|
const In = an.rowStart === W().top && an.rowEnd === W().bottom, mn = an.colStart === W().left && an.colEnd === W().right, eo = K.getRangeCoordsBounds(an);
|
|
38990
|
-
let
|
|
38991
|
+
let To = null;
|
|
38991
38992
|
if (In || mn) {
|
|
38992
|
-
if (
|
|
38993
|
+
if (To = K.toClipBounds(eo, $i), Object.keys(K.allViews()).length > 1) {
|
|
38993
38994
|
const U0 = K.getVisibleRangeCoords(), G0 = K.allViews()[o5], m3 = K.allViews()[Rp], ni = K.allViews()[Ip], to = K.getAnchor();
|
|
38994
|
-
(mn && (to === Rp && 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 === Ip && G0 || to === wa && m3 || !ln.isCellWithinRange({ colIndex: an.colEnd, rowIndex: an.rowStart }, U0) && !ln.isCellWithinRange({ colIndex: an.colEnd + 1, rowIndex: an.rowStart }, U0))) && (
|
|
38995
|
+
(mn && (to === Rp && 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 === Ip && G0 || to === wa && m3 || !ln.isCellWithinRange({ colIndex: an.colEnd, rowIndex: an.rowStart }, U0) && !ln.isCellWithinRange({ colIndex: an.colEnd + 1, rowIndex: an.rowStart }, U0))) && (To = null);
|
|
38995
38996
|
}
|
|
38996
|
-
} else
|
|
38997
|
-
if (!
|
|
38998
|
-
De = { x:
|
|
38997
|
+
} else To = K.toClipBounds(eo, $i);
|
|
38998
|
+
if (!To || To.width === 0 || To.height === 0) continue;
|
|
38999
|
+
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"));
|
|
38999
39000
|
}
|
|
39000
39001
|
}
|
|
39001
39002
|
let Gt = null;
|
|
@@ -39022,9 +39023,9 @@ const $i = -10, Bre = Object.freeze({ rowStart: 0, colStart: 0, rowEnd: 0, colEn
|
|
|
39022
39023
|
return v("div", { children: Fn }, "selection");
|
|
39023
39024
|
}, [ht, Le, p, de, L, Rn, W, f, I, z, B, $, H, j, Qe]), Vt = ce(() => {
|
|
39024
39025
|
const K = () => t.current;
|
|
39025
|
-
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: [
|
|
39026
|
+
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] } }, () => {
|
|
39026
39027
|
ke(), Cn(G.cell, !0);
|
|
39027
|
-
}), 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: [
|
|
39028
|
+
}), 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)];
|
|
39028
39029
|
}, []);
|
|
39029
39030
|
return ce(() => {
|
|
39030
39031
|
e?.addCommands(Vt, !0);
|
|
@@ -39033,7 +39034,7 @@ const $i = -10, Bre = Object.freeze({ rowStart: 0, colStart: 0, rowEnd: 0, colEn
|
|
|
39033
39034
|
function Qg(t, e) {
|
|
39034
39035
|
if (!t) throw new Error("Invariant failed");
|
|
39035
39036
|
}
|
|
39036
|
-
const bM = { "sheetxl-grid": "_sheetxl-
|
|
39037
|
+
const bM = { "sheetxl-grid": "_sheetxl-grid_h9wwa_7" }, Hre = Object.freeze({ top: 0, left: 0 }), Vre = Object.freeze({ bottom: -4, right: -4 }), jre = Object.freeze({ horizontal: !0, vertical: !0 }), vM = [o5, Rp, Ip, wa], zs = 3e3, j6 = {}, kL = et(pt((t, e) => {
|
|
39037
39038
|
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 = Hre, style: W = {}, ...V } = t;
|
|
39038
39039
|
Qg(E), Qg(!t?.children);
|
|
39039
39040
|
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) => {
|
|
@@ -39361,15 +39362,15 @@ const bM = { "sheetxl-grid": "_sheetxl-grid_11irg_13" }, Hre = Object.freeze({ t
|
|
|
39361
39362
|
It[kt] = v("svg", { width: `${Yt}`, height: `${rn}`, viewBox: `0 0 ${Yt} ${rn}`, preserveAspectRatio: "none", shapeRendering: "crispEdges", style: { position: "absolute" }, children: Xt });
|
|
39362
39363
|
}
|
|
39363
39364
|
return It;
|
|
39364
|
-
},
|
|
39365
|
+
}, 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(() => {
|
|
39365
39366
|
const gt = [], It = (Nt) => {
|
|
39366
39367
|
if (!Nt || !ye[Nt]) return;
|
|
39367
39368
|
const kt = ye[Nt].getBounds();
|
|
39368
|
-
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: [
|
|
39369
|
+
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}`);
|
|
39369
39370
|
};
|
|
39370
39371
|
for (let Nt = 0; Nt < ke.length; Nt++) gt.push(It(ke[Nt]));
|
|
39371
39372
|
return v(Wt, { children: gt });
|
|
39372
|
-
}, [ye,
|
|
39373
|
+
}, [ye, ko, Zo, Nn]), As = ce(() => {
|
|
39373
39374
|
if (!e) return;
|
|
39374
39375
|
const gt = (Qt, Yt, rn, tn) => {
|
|
39375
39376
|
if (!tn || tn.length === 0) return;
|
|
@@ -39575,7 +39576,7 @@ et(pt((t, e) => {
|
|
|
39575
39576
|
try {
|
|
39576
39577
|
if (typeof document < "u") {
|
|
39577
39578
|
var t = document.createElement("style");
|
|
39578
|
-
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);
|
|
39579
|
+
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);
|
|
39579
39580
|
}
|
|
39580
39581
|
} catch (e) {
|
|
39581
39582
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
@@ -39590,9 +39591,9 @@ const IL = Object.freeze([8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30,
|
|
|
39590
39591
|
let r = wn.findEqualOrGreater(n, t);
|
|
39591
39592
|
return e ? (n[r] === t && (r += 1), n[r] || (r -= 1), n[r]) : (r -= 1, n[r]);
|
|
39592
39593
|
}, Zre = Object.freeze(Object.defineProperty({ __proto__: null, DefaultFontSizes: IL, findNextFontSize: g9 }, Symbol.toStringTag, { value: "Module" })), xM = et((t) => {
|
|
39593
|
-
const { anchorLocation: e =
|
|
39594
|
+
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;
|
|
39594
39595
|
let m = "red", p = [], f = [];
|
|
39595
|
-
return e ===
|
|
39596
|
+
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 }) });
|
|
39596
39597
|
}), Jre = (t) => {
|
|
39597
39598
|
const { renderBounds: e, darkMode: n, zoom: r, disabled: o, filter: i, onFilterButtonMouseDown: a, style: s, ...l } = t, c = ce(() => {
|
|
39598
39599
|
let m = null;
|
|
@@ -39636,7 +39637,7 @@ const IL = Object.freeze([8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30,
|
|
|
39636
39637
|
const X = S.getComments(), Q = S.getWarnings(), me = S.getErrors();
|
|
39637
39638
|
if (X || C || me.length > 0 || Q.length > 0) {
|
|
39638
39639
|
const Xe = { size: 7 * s, darkMode: R, cellWidth: F * s + 2, cellHeight: b * s + 2, style: { top: -1, left: D * s - 1 } };
|
|
39639
|
-
V = V ?? [], (Q.length > 0 || me.length > 0 || C) && V.push(v(xM, { anchorLocation:
|
|
39640
|
+
V = V ?? [], (Q.length > 0 || me.length > 0 || C) && V.push(v(xM, { anchorLocation: Co.TopLeft, ...Xe }, `indicator-${V.length}`)), X && V.push(v(xM, { anchorLocation: Co.TopRight, ...Xe }, `indicator-${V.length}`));
|
|
39640
39641
|
}
|
|
39641
39642
|
const te = E.getFont();
|
|
39642
39643
|
let ue = k?.conditionalColor;
|
|
@@ -39734,10 +39735,10 @@ const IL = Object.freeze([8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30,
|
|
|
39734
39735
|
Bt[wt.lastRepeatIndex] = { type: _r.ParseRunType.Repeat, text: ar, width: qn }, hn = Bt, fe = { ...fe, width: wt.width + qn };
|
|
39735
39736
|
}
|
|
39736
39737
|
}
|
|
39737
|
-
const Hn = (Gn, Bt, Ln, qn, ar, ur, Nn, Wr, Qr,
|
|
39738
|
+
const Hn = (Gn, Bt, Ln, qn, ar, ur, Nn, Wr, Qr, ko = null) => {
|
|
39738
39739
|
let Zo, zi = Ht.width;
|
|
39739
39740
|
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");
|
|
39740
|
-
const { style: Bi, className: Oa, ...As } =
|
|
39741
|
+
const { style: Bi, className: Oa, ...As } = ko;
|
|
39741
39742
|
let Na = Gn.text;
|
|
39742
39743
|
if (ot === We.HorizontalAlignment.Fill && k?.repeatChars.length === 0) {
|
|
39743
39744
|
const Yt = Math.max(1, Math.floor((Ht?.width ?? 0) / (Nn?.width ?? 1)));
|
|
@@ -40115,7 +40116,7 @@ const N0 = FL && window.ResizeObserver !== void 0 ? function() {
|
|
|
40115
40116
|
const k = d[R], M = k.coords;
|
|
40116
40117
|
if (!M) continue;
|
|
40117
40118
|
const C = k?.range ?? { rowStart: M.rowIndex, colStart: M.colIndex, rowEnd: M.rowIndex, colEnd: M.colIndex }, T = l.getVisibleRangeCoords();
|
|
40118
|
-
if (!
|
|
40119
|
+
if (!Bo.isRangesIntersect(C, T) && !Bo.isRangeWithinRange(C, T)) continue;
|
|
40119
40120
|
const A = M.colIndex, O = M.rowIndex, N = u[A], L = h[O];
|
|
40120
40121
|
if (C.rowEnd !== C.rowStart) {
|
|
40121
40122
|
const V = h[C.rowStart]?.spanIndex ?? -1, X = h[C.rowEnd]?.spanIndex ?? h[g[g.length - 1]].spanIndex + 1;
|
|
@@ -40182,7 +40183,7 @@ const N0 = FL && window.ResizeObserver !== void 0 ? function() {
|
|
|
40182
40183
|
}
|
|
40183
40184
|
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");
|
|
40184
40185
|
}, [t, r]) };
|
|
40185
|
-
}, kM =
|
|
40186
|
+
}, kM = Co.Center, aoe = Object.freeze({ horizontal: !1, vertical: !1 }), TM = wp.EmptyTopLeft, soe = (t, e) => Bo.EmptyCell, loe = (t, e) => new Promise((n, r) => {
|
|
40186
40187
|
r("StaticBorderRenderer does not support scrolling");
|
|
40187
40188
|
}), fw = et((t) => {
|
|
40188
40189
|
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(() => {
|
|
@@ -40202,7 +40203,7 @@ const N0 = FL && window.ResizeObserver !== void 0 ? function() {
|
|
|
40202
40203
|
return N;
|
|
40203
40204
|
}, [f, g]);
|
|
40204
40205
|
if (!b) return null;
|
|
40205
|
-
const C = { width: f, height: g }, T = { width: f, height: g }, A = { getStage: () => u.current, getTotalSize: () => C, getViewportSize: () => T, getLayout: () => _, getCellCoordsAsRangeCoords:
|
|
40206
|
+
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: () => {
|
|
40206
40207
|
const N = [];
|
|
40207
40208
|
for (let L = 0; L < i; L++) N.push(L);
|
|
40208
40209
|
return N;
|
|
@@ -40269,7 +40270,7 @@ const coe = (t) => {
|
|
|
40269
40270
|
s?.();
|
|
40270
40271
|
};
|
|
40271
40272
|
}, [t]);
|
|
40272
|
-
}, jf = new
|
|
40273
|
+
}, jf = new po("transparent");
|
|
40273
40274
|
var MM, RM;
|
|
40274
40275
|
(function() {
|
|
40275
40276
|
if (RM) return MM;
|
|
@@ -40427,11 +40428,11 @@ const c5 = et(pt((t, e) => {
|
|
|
40427
40428
|
const $ = o.getView().getFreezePanes();
|
|
40428
40429
|
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 };
|
|
40429
40430
|
}, [_, E] = xe(S), [R, k] = xe(null), [M, C] = xe(!1), T = r === bi.Vertical ? o.getRowHeaders() : o.getColumnHeaders(), A = () => {
|
|
40430
|
-
const $ = o.getUsedRange()?.getCoords() ??
|
|
40431
|
+
const $ = o.getUsedRange()?.getCoords() ?? Bo.EmptyRange, H = o.getSelection().getCoords().cell;
|
|
40431
40432
|
return { colIndex: Math.max($.colEnd, H.colIndex), rowIndex: Math.max($.rowEnd, H.rowIndex) };
|
|
40432
40433
|
}, [O, N] = xe(A), L = O ? (r === bi.Vertical ? O.rowIndex : O.colIndex) + 1 : 0, F = () => {
|
|
40433
40434
|
const $ = A();
|
|
40434
|
-
|
|
40435
|
+
Bo.isEqualCells(O, $) || N($);
|
|
40435
40436
|
};
|
|
40436
40437
|
Mn(o.getView(), { onFreezeSplitChange: () => {
|
|
40437
40438
|
E(S);
|
|
@@ -40572,11 +40573,11 @@ const LM = (t, e, n = null) => {
|
|
|
40572
40573
|
var Wr, Qr;
|
|
40573
40574
|
if (qn) hn(Ln);
|
|
40574
40575
|
else {
|
|
40575
|
-
if (ar) return ((
|
|
40576
|
-
ot.current = Zt(
|
|
40576
|
+
if (ar) return ((ko, Zo = ko, zi) => {
|
|
40577
|
+
ot.current = Zt(ko), _t.current = Ht(Zo), Be(ot.current, _t.current, zi);
|
|
40577
40578
|
})(Ln, Ln, Nn), void (q && Hn(Nn, !0));
|
|
40578
|
-
((
|
|
40579
|
-
ot.current = Zt(
|
|
40579
|
+
((ko, Zo = ko, zi) => {
|
|
40580
|
+
ot.current = Zt(ko), _t.current = Ht(Zo), Oe(ot.current, _t.current, zi);
|
|
40580
40581
|
})(Ln, Ln, Nn), hn(Ln), q && Hn(Nn, !0);
|
|
40581
40582
|
}
|
|
40582
40583
|
}, onPointerMoveOrWait: qo.throttle((Bt) => {
|
|
@@ -40721,7 +40722,7 @@ const LM = (t, e, n = null) => {
|
|
|
40721
40722
|
if (!P && M.getMode()?.key === "copy") {
|
|
40722
40723
|
const z = F.getItem().getCoords(), I = h.getSelectedRanges().getCoords();
|
|
40723
40724
|
let B = !1;
|
|
40724
|
-
if (!B && z && I && F.getItem().getSource?.() === h) for (let $ = 0; !B && $ < I.length; $++) B =
|
|
40725
|
+
if (!B && z && I && F.getItem().getSource?.() === h) for (let $ = 0; !B && $ < I.length; $++) B = Bo.isRangesIntersect(z, I[$]);
|
|
40725
40726
|
P = B;
|
|
40726
40727
|
}
|
|
40727
40728
|
P && M.setMode(null), u?.()?.focus(), g?.(F, D);
|
|
@@ -40764,9 +40765,9 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
40764
40765
|
}, [n?.getStage()]), d && n ? d(n) : null;
|
|
40765
40766
|
})), Soe = { key: "dragCut", description: "Drag selection to move cell contents.", cursor: "move" }, xoe = { key: "dragCutInsert", description: "Drag selection to insert cell contents.", cursor: "copy" }, _oe = { key: "dragCopy", description: "Drag selection to copy cell contents." }, Coe = { key: "dragCopyInsert", description: "Drag selection to insert copied cell contents.", cursor: "move" }, zM = (t, e) => e.ctrlKey && e.shiftKey ? Coe : e.ctrlKey ? _oe : e.shiftKey ? xoe : Soe, Eoe = { key: "fill", description: "Drag selection to extend series or fill.", cursor: "crosshair" }, koe = et(pt((t, e) => {
|
|
40766
40767
|
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) => {
|
|
40767
|
-
|
|
40768
|
+
Bo.isEqualSelectionCoords(te, w) || c && c.getSelection().updateCoords(te);
|
|
40768
40769
|
}, [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) => {
|
|
40769
|
-
const ue =
|
|
40770
|
+
const ue = Bo.cellToRange(te);
|
|
40770
40771
|
if (c.isClosed()) return ue;
|
|
40771
40772
|
const Se = c.getRange(ue, { excludeHidden: !0 }).getMerges();
|
|
40772
40773
|
return Se.length === 0 ? ue : Se[0];
|
|
@@ -40808,7 +40809,7 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
40808
40809
|
}, onMoveDragEnd: (te, ue) => {
|
|
40809
40810
|
S.setMode(null);
|
|
40810
40811
|
}, onMoveDragDone: async (te, ue, Se) => {
|
|
40811
|
-
if (
|
|
40812
|
+
if (Bo.isEqualRanges(te, ue)) return;
|
|
40812
40813
|
const be = c.getRange(ue);
|
|
40813
40814
|
if (a?.showOptions) {
|
|
40814
40815
|
const G = be.getDifferences(te);
|
|
@@ -40852,7 +40853,7 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
40852
40853
|
if (!be || be.isEmpty()) return;
|
|
40853
40854
|
const Y = be.toText();
|
|
40854
40855
|
if (!Y) return;
|
|
40855
|
-
const ee =
|
|
40856
|
+
const ee = Bo.cellToRange(be.getCoords()), pe = n.getRelativePointFromClient(0, 0);
|
|
40856
40857
|
let J = 0, G = 0, oe = r6;
|
|
40857
40858
|
if (Se === Z.Direction.Down) {
|
|
40858
40859
|
J = H.getColOffset(ee.colEnd + 1) - pe.x;
|
|
@@ -40888,7 +40889,7 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
40888
40889
|
};
|
|
40889
40890
|
}, [n?.getStage()]);
|
|
40890
40891
|
const Q = ti(e, () => ({}), []), me = Ie(null);
|
|
40891
|
-
return v("div", { className: ca(o, "sheet-selection", "_sheet-
|
|
40892
|
+
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: $u([Q, me]), ...p, children: W(n) });
|
|
40892
40893
|
})), Uf = Object.freeze({ x: 0, y: 0, width: 0, height: 0 }), Toe = { fireOnModelChange: !1 }, Moe = et(pt((t, e) => {
|
|
40893
40894
|
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(Uf), [b, x] = xe(null), [S, _] = xe(!1), E = Ie(null);
|
|
40894
40895
|
sr(() => {
|
|
@@ -41052,7 +41053,7 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
41052
41053
|
Re.current = !0;
|
|
41053
41054
|
const de = ft.lazy(async () => {
|
|
41054
41055
|
try {
|
|
41055
|
-
const it = await import("./
|
|
41056
|
+
const it = await import("./Dwd9xRP6sCbvd7-2.mjs");
|
|
41056
41057
|
return Re.current = !1, Ae.current = !0, _([...S]), it;
|
|
41057
41058
|
} catch (it) {
|
|
41058
41059
|
return console.warn(it), j.current?.(!1), null;
|
|
@@ -41096,7 +41097,7 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
41096
41097
|
}, onDragEnd: (de) => {
|
|
41097
41098
|
}, onMouseUp: (de) => {
|
|
41098
41099
|
} }) }), [I, oe, S, n, c, d, u, E, k]);
|
|
41099
|
-
return v("div", { className: ca(h, "movable-area", "_movable-
|
|
41100
|
+
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: $u([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) => {
|
|
41100
41101
|
x?.(), me(!0);
|
|
41101
41102
|
}, onBlur: (de) => {
|
|
41102
41103
|
me(!1);
|
|
@@ -41237,15 +41238,15 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
41237
41238
|
});
|
|
41238
41239
|
}), new at("formatAnchorTypeTwoCell", y, { label: "Move and size with cells", description: "Set your drawing to move and resize when underling sheet resizes." }, function() {
|
|
41239
41240
|
R(this, (N) => {
|
|
41240
|
-
N.setAnchorType(
|
|
41241
|
+
N.setAnchorType(zo.Type.TwoCell);
|
|
41241
41242
|
});
|
|
41242
41243
|
}), new at("formatAnchorTypeOneCell", y, { label: "Move but don't size with cells", description: "Set your drawing to only move when underling sheet resizes." }, function() {
|
|
41243
41244
|
R(this, (N) => {
|
|
41244
|
-
N.setAnchorType(
|
|
41245
|
+
N.setAnchorType(zo.Type.OneCell);
|
|
41245
41246
|
});
|
|
41246
41247
|
}), 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() {
|
|
41247
41248
|
R(this, (N) => {
|
|
41248
|
-
N.setAnchorType(
|
|
41249
|
+
N.setAnchorType(zo.Type.Absolute);
|
|
41249
41250
|
});
|
|
41250
41251
|
}), new at("formatDrawAlignLeft", y, { label: "Align Left", description: "Align the selected drawings to the left." }, function() {
|
|
41251
41252
|
R(this, (N, L) => {
|
|
@@ -41287,7 +41288,7 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
41287
41288
|
return N = g ? g.createChildGroup(y, "movable", !1) : new lm(y, "movable"), N.addCommands(A, !0), N;
|
|
41288
41289
|
}, [g, A]);
|
|
41289
41290
|
return Mn(k, { onAnyChange: () => {
|
|
41290
|
-
O.getCommand("formatAnchorTypeTwoCell").update({ state: k?.getAnchorType() ===
|
|
41291
|
+
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() });
|
|
41291
41292
|
}, onProtectedChange: (N) => {
|
|
41292
41293
|
T(N.isProtected());
|
|
41293
41294
|
}, onDelete: () => {
|
|
@@ -41343,7 +41344,7 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
41343
41344
|
throw c.showError(new Error(`Unable to enter '${D}'.`, { cause: P })), P;
|
|
41344
41345
|
}
|
|
41345
41346
|
}
|
|
41346
|
-
}, [r, m, c]), _ = $e((F) => r.getRange(F).getCell().getExtrusions() ??
|
|
41347
|
+
}, [r, m, c]), _ = $e((F) => r.getRange(F).getCell().getExtrusions() ?? Bo.cellToRange(F), [r]);
|
|
41347
41348
|
$e((F) => {
|
|
41348
41349
|
let D = Z.Orientation.Row, P = !1;
|
|
41349
41350
|
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);
|
|
@@ -41640,7 +41641,7 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
41640
41641
|
})), Loe = et(pt((t, e) => {
|
|
41641
41642
|
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(() => {
|
|
41642
41643
|
const g = r.getSelectedCell(), y = g.getSpill()?.getCoords() ?? null;
|
|
41643
|
-
|
|
41644
|
+
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));
|
|
41644
41645
|
}, [r, n, i]);
|
|
41645
41646
|
ft.useEffect(() => (c.current && (clearTimeout(c.current), c.current = null), s && (c.current = setTimeout(() => {
|
|
41646
41647
|
l(null), c.current = null;
|
|
@@ -41694,29 +41695,29 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
41694
41695
|
});
|
|
41695
41696
|
}, [re, n]);
|
|
41696
41697
|
const [ke, Oe] = xe(() => n?.getView().getTopLeft()), Me = $e((ht) => {
|
|
41697
|
-
const Fe =
|
|
41698
|
+
const Fe = Bo.cellToRange(ht);
|
|
41698
41699
|
if (n.isClosed()) return Fe;
|
|
41699
41700
|
const Vt = n.getRange(Fe, { excludeHidden: !0 }).getMerges();
|
|
41700
41701
|
return Vt.length === 0 ? Fe : Vt[0];
|
|
41701
41702
|
}, [n]), Be = (ht) => {
|
|
41702
41703
|
if (!ht || ht.coords.colIndex === 0 && ht.coords.rowIndex === 0) return null;
|
|
41703
41704
|
const Fe = {};
|
|
41704
|
-
return ht.coords.colIndex > 0 && (Fe[
|
|
41705
|
+
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;
|
|
41705
41706
|
}, [Ye, ut] = xe(() => Be(n.getView().getFreezePanes())), ot = Ms(), _t = ve(() => be.current, []), wt = $e((ht) => {
|
|
41706
41707
|
ot.setMode((Fe) => Fe?.key === "edit" ? { ...Fe, args: { ...Fe.args } } : { key: "edit", args: { stateAndCoords: null, start: ht } });
|
|
41707
41708
|
}, []), nn = $e(() => re, [re]), Zt = function(ht) {
|
|
41708
41709
|
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();
|
|
41709
41710
|
Ie(mn.getMode()).current = mn.getMode();
|
|
41710
|
-
const eo = JN(), [
|
|
41711
|
+
const eo = JN(), [To, U0] = xe(wn.EmptyArray), G0 = ve(() => {
|
|
41711
41712
|
if (pn.current !== Fe) return;
|
|
41712
41713
|
const ze = Fe.getSelectedRanges();
|
|
41713
41714
|
let yt = null;
|
|
41714
|
-
|
|
41715
|
+
To.length > 0 && Bo.isCellWithinRange(lt, To[0].getRange().getCoords()) && (yt = To[0]);
|
|
41715
41716
|
const Ct = Fe?.getSelectedCell(), ct = Ct?.getCoords() ?? null;
|
|
41716
41717
|
bc(() => {
|
|
41717
41718
|
f3(yt), un(ct), on(ze);
|
|
41718
41719
|
});
|
|
41719
|
-
}, [Fe,
|
|
41720
|
+
}, [Fe, To, Gt, lt]), m3 = ve(wn.debounce(G0, 210), [G0]);
|
|
41720
41721
|
Ve(() => {
|
|
41721
41722
|
pn.current = Fe, G0();
|
|
41722
41723
|
}, [Fe]);
|
|
@@ -41806,13 +41807,13 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
41806
41807
|
jn.colEnd = Rt.colIndex - 1;
|
|
41807
41808
|
}
|
|
41808
41809
|
if (ct.size !== 1 && Lt) {
|
|
41809
|
-
const An = ct.getCoords(), Pr = ct.startIncrementalUpdates({ orientation: Z.Orientation.Column }),
|
|
41810
|
+
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;
|
|
41810
41811
|
for (let mi = us; mi <= hs; mi++) {
|
|
41811
|
-
|
|
41812
|
-
for (let
|
|
41813
|
-
|
|
41814
|
-
const ir = Ct.getRange(
|
|
41815
|
-
Pr.pushAt(
|
|
41812
|
+
go.colStart = Zi ? mi : jn.colStart + (mi - us), go.colEnd = Zi ? mi : jn.colEnd + (mi - us);
|
|
41813
|
+
for (let Mo = Ci; Mo <= ds; Mo++) {
|
|
41814
|
+
go.rowStart = Zi ? jn.rowStart + (Mo - Ci) : Mo, go.rowEnd = Zi ? jn.rowEnd + (Mo - Ci) : Mo;
|
|
41815
|
+
const ir = Ct.getRange(go).toString();
|
|
41816
|
+
Pr.pushAt(Mo, mi, `=${yt}(${ir})`);
|
|
41816
41817
|
}
|
|
41817
41818
|
}
|
|
41818
41819
|
Pr.apply();
|
|
@@ -41828,9 +41829,9 @@ The content is not applied.` }), new at("pasteFormulas", F, { label: "Paste Form
|
|
|
41828
41829
|
{
|
|
41829
41830
|
const kn = Rt.getSelectedRanges().getFixed(!0), jn = Rt.getSelectedRange().getDefaultSortCriteria();
|
|
41830
41831
|
let An = { ranges: kn, hasHeader: jn?.options?.hasHeader ?? !1 };
|
|
41831
|
-
Lt = ct ? new Promise((Pr,
|
|
41832
|
+
Lt = ct ? new Promise((Pr, go) => {
|
|
41832
41833
|
const Ci = { tableOptions: An, onCancel: () => {
|
|
41833
|
-
|
|
41834
|
+
go();
|
|
41834
41835
|
}, onDone: (ds) => {
|
|
41835
41836
|
Pr(ds);
|
|
41836
41837
|
}, context: { getNames: () => Rt.getNames() } };
|
|
@@ -41907,12 +41908,12 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" }) !== "Con
|
|
|
41907
41908
|
}
|
|
41908
41909
|
let kn = zn.options;
|
|
41909
41910
|
if (Ct && (kn = new Promise((An, Pr) => {
|
|
41910
|
-
const
|
|
41911
|
+
const go = { range: Lt, options: zn.options, cell: Pn, onCancel: () => {
|
|
41911
41912
|
Pr();
|
|
41912
41913
|
}, onDone: (Ci) => {
|
|
41913
41914
|
Ci ? An(Ci.options) : Pr();
|
|
41914
41915
|
} };
|
|
41915
|
-
Ne.showWindow?.("sort",
|
|
41916
|
+
Ne.showWindow?.("sort", go);
|
|
41916
41917
|
})), kn = await Promise.resolve(kn), !kn) return;
|
|
41917
41918
|
const jn = await Promise.resolve(Ne?.showBusy?.(ze.label()));
|
|
41918
41919
|
try {
|
|
@@ -41935,8 +41936,8 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" }) !== "Con
|
|
|
41935
41936
|
Ct.terminate(), console.log("Worker terminated");
|
|
41936
41937
|
}, 5e3);
|
|
41937
41938
|
let ct = -1;
|
|
41938
|
-
for (let Lt = 0; ct === -1 && Lt < yt.length; Lt++)
|
|
41939
|
-
if (
|
|
41939
|
+
for (let Lt = 0; ct === -1 && Lt < yt.length; Lt++) Bo.isCellWithinRange(ze.cell, yt[Lt]) && (ct = Lt);
|
|
41940
|
+
if (Bo.isEqualRangesArrays(ze.ranges, yt)) return;
|
|
41940
41941
|
const Rt = { cell: ze.cell, ranges: yt, rangeIndex: ct };
|
|
41941
41942
|
Fe.getSelection().updateCoords(Rt);
|
|
41942
41943
|
}, [Fe]), _z = $e(() => {
|
|
@@ -41982,15 +41983,15 @@ Continue?`, options: ["Convert", "Cancel"], defaultOption: "Convert" }) !== "Con
|
|
|
41982
41983
|
to(ze, async (Ct) => {
|
|
41983
41984
|
const ct = Ct.getSelectedRanges();
|
|
41984
41985
|
ct.doBatch(() => {
|
|
41985
|
-
const Rt = yt === Z.Direction.Up || yt === Z.Direction.Down, Lt = ct.getCoords().slice().sort(
|
|
41986
|
+
const Rt = yt === Z.Direction.Up || yt === Z.Direction.Down, Lt = ct.getCoords().slice().sort(Bo.createRangeComparator(Rt ? Z.Orientation.Row : Z.Orientation.Column));
|
|
41986
41987
|
for (let Pn = 0; Pn < Lt.length; Pn++) {
|
|
41987
41988
|
const zn = Lt[Pn];
|
|
41988
41989
|
let kn = zn;
|
|
41989
41990
|
const jn = Ct.getRange(kn).getMerges();
|
|
41990
41991
|
let An = 0, Pr = 0;
|
|
41991
41992
|
if (jn.length > 0) {
|
|
41992
|
-
const
|
|
41993
|
-
An =
|
|
41993
|
+
const go = jn[0];
|
|
41994
|
+
An = go.rowEnd - go.rowStart, Pr = go.colEnd - go.colStart;
|
|
41994
41995
|
}
|
|
41995
41996
|
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: dp.Types.Copy }), Ct.getRange(zn).autoFit({ orientations: Z.Orientations.Row, skipCustomSize: !0, minContent: !0 });
|
|
41996
41997
|
}
|
|
@@ -42202,12 +42203,12 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42202
42203
|
Ve(() => {
|
|
42203
42204
|
if (pn.current !== Fe || !Gt) return;
|
|
42204
42205
|
const ze = Gt.getCoords(), yt = Fe.getTables().search({ address: ze[0] });
|
|
42205
|
-
U0((Pn) => wn.isEqualArrays(Pn, yt) ? Pn : yt), lt && yt[0] &&
|
|
42206
|
+
U0((Pn) => wn.isEqualArrays(Pn, yt) ? Pn : yt), lt && yt[0] && Bo.isCellWithinRange(lt, yt[0].getRange().getCoords()) ? f3(yt[0] ?? null) : f3(null);
|
|
42206
42207
|
const Ct = Fe.getSelectedRanges(), ct = Ct.getMerges().length > 0, Rt = Ct.isOverlapping();
|
|
42207
42208
|
let Lt = !0;
|
|
42208
|
-
for (let Pn = 0; Lt && Pn < ze.length; Pn++) Lt =
|
|
42209
|
+
for (let Pn = 0; Lt && Pn < ze.length; Pn++) Lt = Bo.isSingleCell(ze[Pn]);
|
|
42209
42210
|
Tz(Rt), kz(yt.length === 0 && !Rt && (ct || !Lt));
|
|
42210
|
-
}, [xm, Gt, Fe]),
|
|
42211
|
+
}, [xm, Gt, Fe]), fo(De, null, { onChange: () => {
|
|
42211
42212
|
const ze = mn.getMode()?.key === "formatPainter";
|
|
42212
42213
|
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` } }));
|
|
42213
42214
|
} }, [mn, Gu, De]), Mn(Fe.getView(), { onFreezeSplitChange: () => {
|
|
@@ -42254,13 +42255,13 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42254
42255
|
} }), Ve(() => {
|
|
42255
42256
|
_m(), y3();
|
|
42256
42257
|
}, [K]), Ve(() => {
|
|
42257
|
-
const ze = !Fe.getProtection().isFormatCellsAllowed(), yt =
|
|
42258
|
+
const ze = !Fe.getProtection().isFormatCellsAllowed(), yt = To.length > 0 && !ol || ze, Ct = Kw(ol), ct = { context: Ct };
|
|
42258
42259
|
je.getCommand("editTable").update(ct), je.getCommand("deleteTable").update(ct), je.getCommand("convertTableToRange").update(ct);
|
|
42259
42260
|
const Rt = { context: Ct, disabled: yt };
|
|
42260
|
-
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 ||
|
|
42261
|
-
const Lt = { context: Ct, disabled: yt ||
|
|
42261
|
+
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 });
|
|
42262
|
+
const Lt = { context: Ct, disabled: yt || To.length === 0 };
|
|
42262
42263
|
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 });
|
|
42263
|
-
}, [ol,
|
|
42264
|
+
}, [ol, To, Gu]), Ve(() => {
|
|
42264
42265
|
je.getCommand("sheetZoomOut").updateCallback(() => {
|
|
42265
42266
|
Fe.getView().update({ zoomScale: wn.findNextStep(Fe.getView().getZoomScale(), !1) });
|
|
42266
42267
|
}), je.getCommand("sheetZoomIn").updateCallback(() => {
|
|
@@ -42303,7 +42304,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42303
42304
|
Fe.getView().setFreezePanes(null);
|
|
42304
42305
|
}).update({ disabled: () => !ct() });
|
|
42305
42306
|
}, [xm, lt, Fe, K]);
|
|
42306
|
-
const K0 = ni().getStyle(),
|
|
42307
|
+
const K0 = ni().getStyle(), jo = K0.getFont(), Cm = K0.getAlignment(), cs = Cm.getHorizontal(), Xu = Cm.getVertical(), Yu = Cm.getOverflow(), X0 = Cm.getRotation();
|
|
42307
42308
|
return Ve(() => {
|
|
42308
42309
|
je.getCommand("formatCellStyle").update({ context: () => ({ styles: () => Fe.getStyles(), named: () => ni().getStyle(!0).getNamed(), bodyStyle: qw, createTemporaryCell: (ir) => Fe.createTemporaryCell(ir) }) }), je.getCommand("formatFillColor").update({ state: () => {
|
|
42309
42310
|
let ir = null;
|
|
@@ -42314,39 +42315,39 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42314
42315
|
return { onColorSelect: (ri) => {
|
|
42315
42316
|
En(ri ?? jf);
|
|
42316
42317
|
}, darkMode: K.darkMode, quickColor: jt, autoColor: jf, schemeLookup: ir.schemeLookup(), recentColors: ir.recentColors(), addRecentColor: (ri) => ir.addRecentColor(ri), clearRecentColors: () => ir.clearRecentColors() };
|
|
42317
|
-
} }), je.getCommand("formatFontColor").update({ state: () =>
|
|
42318
|
+
} }), je.getCommand("formatFontColor").update({ state: () => jo.toJSON()?.fill ? jo.getFill() : null, context: () => {
|
|
42318
42319
|
const ir = Fe.getStyles();
|
|
42319
42320
|
return { onColorSelect: (ri) => {
|
|
42320
42321
|
In(ri);
|
|
42321
42322
|
}, darkMode: K.darkMode, quickColor: Gr, autoColor: ir.getNormal().getFont().getFill(), schemeLookup: ir.schemeLookup(), recentColors: ir.recentColors(), addRecentColor: (ri) => ir.addRecentColor(ri), clearRecentColors: () => ir.clearRecentColors() };
|
|
42322
|
-
} }), je.getCommand("formatNumberFormat").update({ state: () => K0.getNumberFormat(), context: () => ni }), je.getCommand("formatNumberDialog").update({ state: () => K0.getNumberFormat(), context: () => ni }), je.getCommand("formatFontFamily").update({ state: () =>
|
|
42323
|
+
} }), 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() });
|
|
42323
42324
|
const ze = function() {
|
|
42324
|
-
const ir =
|
|
42325
|
+
const ir = jo.getWeight() || 0;
|
|
42325
42326
|
return !isNaN(ir) && ir > 500;
|
|
42326
42327
|
};
|
|
42327
42328
|
je.getCommand("formatBoldToggle").updateCallback(function() {
|
|
42328
42329
|
bn(this, { font: { weight: ze() ? 400 : 700 } });
|
|
42329
42330
|
}).update({ state: ze });
|
|
42330
42331
|
const yt = function() {
|
|
42331
|
-
return
|
|
42332
|
+
return jo.getStyle() === xt.Style.Italic;
|
|
42332
42333
|
};
|
|
42333
42334
|
je.getCommand("formatItalicToggle").updateCallback(function() {
|
|
42334
42335
|
bn(this, { font: { style: yt() ? xt.Style.Normal : xt.Style.Italic } });
|
|
42335
42336
|
}).update({ state: yt }), je.getCommand("formatStrikeThroughToggle").updateCallback(function() {
|
|
42336
|
-
bn(this, { font: { strike: !
|
|
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: { underline:
|
|
42345
|
-
}).update({ state:
|
|
42346
|
-
bn(this, { font: { verticalAlign:
|
|
42347
|
-
}).update({ state:
|
|
42348
|
-
bn(this, { font: { verticalAlign:
|
|
42349
|
-
}).update({ state:
|
|
42337
|
+
bn(this, { font: { strike: !jo.getStrike() } });
|
|
42338
|
+
}).update({ state: jo.getStrike() }), je.getCommand("formatUnderlinedToggle").updateCallback(function() {
|
|
42339
|
+
bn(this, { font: { underline: jo.getUnderline() !== xt.UnderlineStyle.Single ? xt.UnderlineStyle.Single : xt.UnderlineStyle.None } });
|
|
42340
|
+
}).update({ state: jo.getUnderline() === xt.UnderlineStyle.Single }), je.getCommand("formatUnderlinedDoubleToggle").updateCallback(function() {
|
|
42341
|
+
bn(this, { font: { underline: jo.getUnderline() !== xt.UnderlineStyle.Double ? xt.UnderlineStyle.Double : xt.UnderlineStyle.None } });
|
|
42342
|
+
}).update({ state: jo.getUnderline() === xt.UnderlineStyle.Double }), je.getCommand("formatUnderlinedAccountingToggle").updateCallback(function() {
|
|
42343
|
+
bn(this, { font: { underline: jo.getUnderline() !== xt.UnderlineStyle.SingleAccounting ? xt.UnderlineStyle.SingleAccounting : xt.UnderlineStyle.None } });
|
|
42344
|
+
}).update({ state: jo.getUnderline() === xt.UnderlineStyle.SingleAccounting }), je.getCommand("formatUnderlinedAccountingDoubleToggle").updateCallback(function() {
|
|
42345
|
+
bn(this, { font: { underline: jo.getUnderline() !== xt.UnderlineStyle.DoubleAccounting ? xt.UnderlineStyle.DoubleAccounting : xt.UnderlineStyle.None } });
|
|
42346
|
+
}).update({ state: jo.getUnderline() === xt.UnderlineStyle.DoubleAccounting }), je.getCommand("formatSuperscriptToggle").updateCallback(function() {
|
|
42347
|
+
bn(this, { font: { verticalAlign: jo.getVerticalAlignment() !== xt.VerticalAlignment.Super ? xt.VerticalAlignment.Super : xt.VerticalAlignment.Baseline } });
|
|
42348
|
+
}).update({ state: jo.getVerticalAlignment() === xt.VerticalAlignment.Super }), je.getCommand("formatSubscriptToggle").updateCallback(function() {
|
|
42349
|
+
bn(this, { font: { verticalAlign: jo.getVerticalAlignment() !== xt.VerticalAlignment.Sub ? xt.VerticalAlignment.Sub : xt.VerticalAlignment.Baseline } });
|
|
42350
|
+
}).update({ state: jo.getVerticalAlignment() === xt.VerticalAlignment.Sub });
|
|
42350
42351
|
const Ct = () => Yu === We.Overflow.Visible;
|
|
42351
42352
|
je.getCommand("formatTextOverflowVisibleToggle").updateCallback(function() {
|
|
42352
42353
|
bn(this, { alignment: { overflow: (Ct(), We.Overflow.Visible) } });
|
|
@@ -42403,12 +42404,12 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42403
42404
|
je.getCommand("formatAlignDistributedVerticalToggle").updateCallback(function() {
|
|
42404
42405
|
bn(this, { alignment: { vertical: Pr() ? We.VerticalAlignment.Bottom : We.VerticalAlignment.Distributed } });
|
|
42405
42406
|
}).update({ state: Pr });
|
|
42406
|
-
const
|
|
42407
|
+
const go = function() {
|
|
42407
42408
|
return cs === We.HorizontalAlignment.Left;
|
|
42408
42409
|
};
|
|
42409
42410
|
je.getCommand("formatAlignLeftToggle").updateCallback(function() {
|
|
42410
|
-
bn(this, { alignment: { horizontal:
|
|
42411
|
-
}).update({ state:
|
|
42411
|
+
bn(this, { alignment: { horizontal: go() ? We.HorizontalAlignment.General : We.HorizontalAlignment.Left } });
|
|
42412
|
+
}).update({ state: go });
|
|
42412
42413
|
const Ci = function() {
|
|
42413
42414
|
return cs === We.HorizontalAlignment.Center;
|
|
42414
42415
|
};
|
|
@@ -42447,28 +42448,28 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42447
42448
|
je.getCommand("formatAlignJustifyToggle").updateCallback(function() {
|
|
42448
42449
|
bn(this, { alignment: { horizontal: mi() ? We.HorizontalAlignment.General : We.HorizontalAlignment.Justify } });
|
|
42449
42450
|
}).update({ state: mi });
|
|
42450
|
-
const
|
|
42451
|
+
const Mo = cs === We.HorizontalAlignment.CenterContinuous || cs === We.HorizontalAlignment.Fill;
|
|
42451
42452
|
je.getCommand("formatTextRotate0").updateCallback(function(ir) {
|
|
42452
42453
|
bn(this, { alignment: { rotation: 0 } });
|
|
42453
|
-
}).update({ disabled:
|
|
42454
|
+
}).update({ disabled: Mo, state: X0 === 0 }), je.getCommand("formatTextRotate45").updateCallback(function(ir) {
|
|
42454
42455
|
bn(this, { alignment: { rotation: ir ?? 1 ? 45 : 0 } });
|
|
42455
|
-
}).update({ disabled:
|
|
42456
|
+
}).update({ disabled: Mo, state: X0 === 45 }), je.getCommand("formatTextRotate90").updateCallback(function(ir) {
|
|
42456
42457
|
bn(this, { alignment: { rotation: ir ?? 1 ? 90 : 0 } });
|
|
42457
|
-
}).update({ disabled:
|
|
42458
|
+
}).update({ disabled: Mo, state: X0 === 90 }), je.getCommand("formatTextRotate270").updateCallback(function(ir) {
|
|
42458
42459
|
bn(this, { alignment: { rotation: ir ?? 1 ? 270 : 0 } });
|
|
42459
|
-
}).update({ disabled:
|
|
42460
|
+
}).update({ disabled: Mo, state: X0 === 270 }), je.getCommand("formatTextRotate315").updateCallback(function(ir) {
|
|
42460
42461
|
bn(this, { alignment: { rotation: ir ?? 1 ? 315 : 0 } });
|
|
42461
|
-
}).update({ disabled:
|
|
42462
|
+
}).update({ disabled: Mo, state: X0 === 315 }), je.getCommand("formatTextRotateCustom").updateCallback(function(ir) {
|
|
42462
42463
|
bn(this, { alignment: { rotation: ir } });
|
|
42463
|
-
}).update({ disabled:
|
|
42464
|
+
}).update({ disabled: Mo, state: X0 ?? 0 });
|
|
42464
42465
|
}, [K0, Fe, K, jt, Gr]), Ve(() => {
|
|
42465
|
-
const ze = !Fe.getProtection().isFormatCellsAllowed(), yt = Fe.getSelectedRanges().getMerges().length > 0, Ct = async (
|
|
42466
|
+
const ze = !Fe.getProtection().isFormatCellsAllowed(), yt = Fe.getSelectedRanges().getMerges().length > 0, Ct = async (so, Em) => {
|
|
42466
42467
|
to(Em, async (Y0) => {
|
|
42467
42468
|
const km = async (Tm = !1) => {
|
|
42468
42469
|
const Mz = await Promise.resolve(Ne?.showBusy?.(Em.label()));
|
|
42469
42470
|
try {
|
|
42470
42471
|
const Mm = Y0.getSelectedRanges();
|
|
42471
|
-
if (Mm.merge({ orientations:
|
|
42472
|
+
if (Mm.merge({ orientations: so, discardMultipleValues: Tm }), so === Z.Orientations.Both) {
|
|
42472
42473
|
const Rz = { alignment: { horizontal: We.HorizontalAlignment.Center } };
|
|
42473
42474
|
Mm.updateStyle(Rz);
|
|
42474
42475
|
}
|
|
@@ -42490,8 +42491,8 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42490
42491
|
await km(!0);
|
|
42491
42492
|
}
|
|
42492
42493
|
}, void 0, void 0, !1);
|
|
42493
|
-
}, ct = (
|
|
42494
|
-
to(
|
|
42494
|
+
}, ct = (so) => {
|
|
42495
|
+
to(so, async (Em) => {
|
|
42495
42496
|
try {
|
|
42496
42497
|
const Y0 = Em.getSelectedRanges();
|
|
42497
42498
|
Y0.unmerge();
|
|
@@ -42503,7 +42504,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42503
42504
|
});
|
|
42504
42505
|
};
|
|
42505
42506
|
je.getCommand("mergeToggle").updateCallback(function() {
|
|
42506
|
-
|
|
42507
|
+
Bo.isSingleCell(Fe.getSelectedRange().getCoords()) || (yt ? ct(this) : Ct(Z.Orientations.Both, this));
|
|
42507
42508
|
}).update({ state: yt, disabled: !qu || ze }), je.getCommand("mergeHorizontal").updateCallback(function() {
|
|
42508
42509
|
Ct(Z.Orientations.Column, this);
|
|
42509
42510
|
}).update({ disabled: !qu || ze }), je.getCommand("mergeVertical").updateCallback(function() {
|
|
@@ -42513,46 +42514,46 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42513
42514
|
}).update({ disabled: !yt || !qu || ze });
|
|
42514
42515
|
const Rt = { disabled: ze };
|
|
42515
42516
|
je.getCommand("hideRows").updateCallback(function() {
|
|
42516
|
-
to(this, (
|
|
42517
|
-
|
|
42517
|
+
to(this, (so) => {
|
|
42518
|
+
so.getRowHeaders().setHidden(so.getSelectedRanges().getCoords(), !0);
|
|
42518
42519
|
});
|
|
42519
42520
|
}).update(Rt), je.getCommand("hideColumns").updateCallback(function() {
|
|
42520
|
-
to(this, (
|
|
42521
|
-
|
|
42521
|
+
to(this, (so) => {
|
|
42522
|
+
so.getColumnHeaders().setHidden(so.getSelectedRanges().getCoords(), !0);
|
|
42522
42523
|
});
|
|
42523
42524
|
}).update(Rt), je.getCommand("unhideRows").updateCallback(function() {
|
|
42524
|
-
to(this, (
|
|
42525
|
-
|
|
42525
|
+
to(this, (so) => {
|
|
42526
|
+
so.getRowHeaders().setHidden(so.getSelectedRanges().getCoords(), !1);
|
|
42526
42527
|
});
|
|
42527
42528
|
}).update(Rt), je.getCommand("unhideColumns").updateCallback(function() {
|
|
42528
|
-
to(this, (
|
|
42529
|
-
|
|
42529
|
+
to(this, (so) => {
|
|
42530
|
+
so.getColumnHeaders().setHidden(so.getSelectedRanges().getCoords(), !1);
|
|
42530
42531
|
});
|
|
42531
42532
|
}).update(Rt), je.getCommand("autoFitRows").updateCallback(function() {
|
|
42532
|
-
to(this, (
|
|
42533
|
-
|
|
42533
|
+
to(this, (so) => {
|
|
42534
|
+
so.getSelectedRanges().autoFit({ orientations: Z.Orientations.Row });
|
|
42534
42535
|
});
|
|
42535
42536
|
}).update(Rt), je.getCommand("autoFitColumns").updateCallback(function() {
|
|
42536
|
-
to(this, (
|
|
42537
|
-
|
|
42537
|
+
to(this, (so) => {
|
|
42538
|
+
so.getSelectedRanges().autoFit({ orientations: Z.Orientations.Column });
|
|
42538
42539
|
});
|
|
42539
42540
|
}).update(Rt);
|
|
42540
42541
|
let Lt = !1, Pn = 0, zn = !1, kn = !1, jn = 0, An = !1;
|
|
42541
42542
|
!Gt || ze || Ku || (Lt = Gt.isEntireColumnsAny(), Lt && !Gt.isEntireColumns() ? zn = !0 : Pn = Gt.getColumnCount(), kn = Gt.isEntireRowsAny(), kn && !Gt.isEntireRows() ? An = !0 : jn = Gt.getRowCount());
|
|
42542
42543
|
const Pr = { disabled: ze || Gt && Gt.getCount() !== 1 };
|
|
42543
42544
|
je.getCommand("sortAscending").update(Pr), je.getCommand("sortDescending").update(Pr);
|
|
42544
|
-
const
|
|
42545
|
+
const go = { disabled: Lt || kn || ze || Ku }, Ci = Lt || ze || Ku || An;
|
|
42545
42546
|
Ci && (Pn = 1);
|
|
42546
42547
|
const ds = kn || ze || Ku || zn;
|
|
42547
42548
|
ds && (jn = 1);
|
|
42548
|
-
let us = "", hs = "", Zi = "", mi = "",
|
|
42549
|
-
Pn > 1 && (ir = hs = Pn + " ", ri = Zi = "s"), jn > 1 && (w3 = mi = jn + " ", b3 =
|
|
42549
|
+
let us = "", hs = "", Zi = "", mi = "", Mo = "", ir = "", ri = "", w3 = "", b3 = "";
|
|
42550
|
+
Pn > 1 && (ir = hs = Pn + " ", ri = Zi = "s"), jn > 1 && (w3 = mi = jn + " ", b3 = Mo = "s"), mn.getMode()?.key === "copy" ? (us = mi = hs = "Copied ", Zi = Mo = "s") : mn.getMode()?.key === "cut" && (us = mi = hs = "Cut ", Zi = Mo = "s");
|
|
42550
42551
|
let Qw = "", eb = "";
|
|
42551
42552
|
if (Gt) {
|
|
42552
|
-
const
|
|
42553
|
-
Qw = ` (${
|
|
42553
|
+
const so = Gt.getDefaultShiftOrientation() === Z.Orientation.Column;
|
|
42554
|
+
Qw = ` (${so ? "Shift Right" : "Shift Down"})`, eb = ` (${so ? "Shift Left" : "Shift up"})`, je.getCommand("deleteCells").update({ label: `Delete Cells${eb}` });
|
|
42554
42555
|
}
|
|
42555
|
-
je.getCommand("insertCells").update({ label: `Insert ${us}Cells${Qw}`, scopedLabels: { insertCells: `${us}At Selection` } }), je.getCommand("insertCellsShiftRight").update(
|
|
42556
|
+
je.getCommand("insertCells").update({ label: `Insert ${us}Cells${Qw}`, 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 ${w3}Row${b3}`, scopedLabels: { deleteCells: `${w3}Row${b3}` }, disabled: ds }), je.getCommand("deleteColumns").update({ label: `Delete ${ir}Column${ri}`, scopedLabels: { deleteCells: `${ir}Column${ri}` }, disabled: Ci });
|
|
42556
42557
|
}, [xm, qu, Ku, Gt, mn, Ne, Gu]), Ve(() => {
|
|
42557
42558
|
const ze = Fe.getProtection(), yt = Fe.getProtection().isLocked(), Ct = !ze.isFormatCellsAllowed(), ct = { disabled: Ct };
|
|
42558
42559
|
je.getCommand("protectionSheetToggle").updateCallback(async (Pn, zn) => {
|
|
@@ -42584,7 +42585,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42584
42585
|
}, [R, Gn]), qn = ce(() => {
|
|
42585
42586
|
const ht = ot.getMode();
|
|
42586
42587
|
return ht?.cursor ? ht.cursor : null;
|
|
42587
|
-
}, [Yn, ot]), [ar, ur] = xe(null), Nn = Ie(!1), [Wr, Qr] = xe([]),
|
|
42588
|
+
}, [Yn, ot]), [ar, ur] = xe(null), Nn = Ie(!1), [Wr, Qr] = xe([]), ko = Ie(null), [Zo, zi] = xe(wp.EmptyTopLeft), [Bi, Oa] = xe(wp.EmptyTopLeft);
|
|
42588
42589
|
Ve(() => {
|
|
42589
42590
|
zi({ left: ke?.left, top: 0 });
|
|
42590
42591
|
}, [ke?.left]), Ve(() => {
|
|
@@ -42617,7 +42618,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42617
42618
|
Nn.current = !0, ur([(De) => {
|
|
42618
42619
|
if (!De.toClipBounds(De.getRangeCoordsBounds({ rowStart: 0, rowEnd: Re.height, colStart: Vt, colEnd: Vt }))) return;
|
|
42619
42620
|
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();
|
|
42620
|
-
if (K !== null && (lt ===
|
|
42621
|
+
if (K !== null && (lt === Co.Left || lt === Co.Center || lt === Co.Right)) {
|
|
42621
42622
|
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 };
|
|
42622
42623
|
requestAnimationFrame(() => {
|
|
42623
42624
|
Nn.current && B?.({ anchor: In, display: Lr });
|
|
@@ -42644,7 +42645,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42644
42645
|
Nn.current = !0, ur([(De) => {
|
|
42645
42646
|
if (!De.toClipBounds(De.getRangeCoordsBounds({ rowStart: Vt, rowEnd: Vt, colStart: 0, colEnd: Re.width }))) return;
|
|
42646
42647
|
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();
|
|
42647
|
-
if (K !== null && (lt ===
|
|
42648
|
+
if (K !== null && (lt === Co.Top || lt === Co.Center || lt === Co.Bottom)) {
|
|
42648
42649
|
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 };
|
|
42649
42650
|
requestAnimationFrame(() => {
|
|
42650
42651
|
Nn.current && $?.({ anchor: mn, display: jt });
|
|
@@ -42693,7 +42694,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42693
42694
|
Ve(() => {
|
|
42694
42695
|
gt();
|
|
42695
42696
|
}, [V]);
|
|
42696
|
-
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-
|
|
42697
|
+
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]);
|
|
42697
42698
|
let zt = null;
|
|
42698
42699
|
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) => {
|
|
42699
42700
|
let Fe = !ht.ctrlKey;
|
|
@@ -42710,7 +42711,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42710
42711
|
return Fe > 0 ? Zt.getCommand("sheetZoomOut")?.execute() : Fe < 0 && Zt.getCommand("sheetZoomIn")?.execute(), Fe === 0;
|
|
42711
42712
|
}, [Zt]);
|
|
42712
42713
|
Ve(() => {
|
|
42713
|
-
Qr(null),
|
|
42714
|
+
Qr(null), ko.current = null, Nn.current = !1, ur(null);
|
|
42714
42715
|
const ht = n?.getView().getTopLeft();
|
|
42715
42716
|
Xt(ht), be.current?.scrollTo(ht), Oe(ht), ee(n.getView()), ut(Be(n.getView().getFreezePanes())), Qe(Xe()), F();
|
|
42716
42717
|
}, [n?.getView()]);
|
|
@@ -42731,7 +42732,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42731
42732
|
}, [n, Y.isShowZeros(), Y.isShowFormulas(), ge]);
|
|
42732
42733
|
Ve(() => {
|
|
42733
42734
|
const ht = [];
|
|
42734
|
-
g && ht.push(...g), ar && ht.push(...ar), wn.isEqualArrays(ht,
|
|
42735
|
+
g && ht.push(...g), ar && ht.push(...ar), wn.isEqualArrays(ht, ko.current) || (ko.current = ht, Qr(ht));
|
|
42735
42736
|
}, [g, ar, V]);
|
|
42736
42737
|
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) => {
|
|
42737
42738
|
ht.isDefaultPrevented() || ht.isPropagationStopped() || (Je.current = null, n?.getView().getMovableSelection().length > 0 && n.getView().selectMovables([]));
|
|
@@ -42741,7 +42742,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42741
42742
|
}, [ot]), Vn = $e(async (ht) => {
|
|
42742
42743
|
const Fe = ot.getMode();
|
|
42743
42744
|
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);
|
|
42744
|
-
}, [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(PM, { ref: nt, sheetElement: hi.current, gridRef: be, freezeStart: Ye?.[
|
|
42745
|
+
}, [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(PM, { 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(PM, { 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) => {
|
|
42745
42746
|
const { value: Fe, key: Vt, ...K } = ht;
|
|
42746
42747
|
let De = Fe, se = ge;
|
|
42747
42748
|
if (!se || se.colIndex === ht.coords.colIndex && se.rowIndex === ht.coords.rowIndex || (se = null), !De) {
|
|
@@ -42775,7 +42776,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42775
42776
|
let At = Y?.getGridLineColor()?.toRGBA(Q.darkMode).toString() ?? Q.strokeFill;
|
|
42776
42777
|
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(a3, { className: "sheetxl-sheet-primary", style: { ...Poe, ...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) => {
|
|
42777
42778
|
pi(!0), A?.onFirstRender?.(lt), Zt?.activate();
|
|
42778
|
-
}, showGridLines: J, gridLineColor: At, gridLineColumnsProps: se, gridLineRowsProps: Ne, freezeLeft: Ye?.[
|
|
42779
|
+
}, 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: () => {
|
|
42779
42780
|
Zt?.activate();
|
|
42780
42781
|
} }, overlays: Wr });
|
|
42781
42782
|
}, [L]);
|
|
@@ -42794,7 +42795,7 @@ All contents and formatting are removed.`, shortcut: { key: "Delete", modifiers:
|
|
|
42794
42795
|
Te(!0), S?.(ht);
|
|
42795
42796
|
}, onBlur: (ht) => {
|
|
42796
42797
|
Te(!1), _?.(ht);
|
|
42797
|
-
}, ref: hi, ...N, children: v("div", { className: ca("sheetxl-sheet", "_sheetxl-
|
|
42798
|
+
}, 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(doe, { style: { position: "absolute", right: 24, bottom: 4 }, colorLicensee: V?.selection?.strokeFill, colorCredits: V?.body?.text?.fill })] })] })] }) }) });
|
|
42798
42799
|
if (d) {
|
|
42799
42800
|
const ht = (Fe) => v(c5, { ...Fe, sheet: n });
|
|
42800
42801
|
Qn = v(Iy, { 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) => {
|
|
@@ -42862,7 +42863,7 @@ const Boe = et(pt((t, e) => {
|
|
|
42862
42863
|
S(o), _.current = null, b(!1), s?.();
|
|
42863
42864
|
}, [s, o]), T = ce(() => {
|
|
42864
42865
|
if (!w) return null;
|
|
42865
|
-
const L = { className: ca("_editable-
|
|
42866
|
+
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) => {
|
|
42866
42867
|
_.current || (_.current = F.target, setTimeout(() => {
|
|
42867
42868
|
F.target?.select();
|
|
42868
42869
|
}, 0));
|
|
@@ -43887,8 +43888,8 @@ const wie = et(function(t) {
|
|
|
43887
43888
|
const Nn = d5(ar);
|
|
43888
43889
|
return Th((Wr) => {
|
|
43889
43890
|
if (ur || !Nn || !Wr) return die;
|
|
43890
|
-
const Qr = Math.sign(ar.x - Nn.x),
|
|
43891
|
-
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] ||
|
|
43891
|
+
const Qr = Math.sign(ar.x - Nn.x), ko = Math.sign(ar.y - Nn.y);
|
|
43892
|
+
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 } };
|
|
43892
43893
|
}, [ur, ar, Nn]);
|
|
43893
43894
|
}({ delta: nn, disabled: !Be }), [hn, yn] = function() {
|
|
43894
43895
|
const qn = Ie(null);
|
|
@@ -44119,7 +44120,7 @@ const zie = (t) => {
|
|
|
44119
44120
|
}, Bie = et(pt((t, e) => {
|
|
44120
44121
|
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;
|
|
44121
44122
|
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" } })] });
|
|
44122
|
-
})), gs = { Wrapper: "
|
|
44123
|
+
})), 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" }, mP = 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) => {
|
|
44123
44124
|
Ve(() => {
|
|
44124
44125
|
if (e) return document.body.style.cursor = "grabbing", () => {
|
|
44125
44126
|
document.body.style.cursor = "";
|
|
@@ -44127,7 +44128,7 @@ const zie = (t) => {
|
|
|
44127
44128
|
}, [e]);
|
|
44128
44129
|
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 });
|
|
44129
44130
|
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 }) });
|
|
44130
|
-
})), aR = { Row: "
|
|
44131
|
+
})), aR = { Row: "_Row_1kr10_1" }, $ie = et(pt(({ children: t, horizontal: e, style: n }, r) => v("div", { ref: r, style: { ...n }, className: ca(aR.Row, e && aR.horizontal), children: t }))), Hie = { ...dP }, Vie = et(pt((t, e) => {
|
|
44131
44132
|
const { className: n, activationConstraint: r, animateLayoutChanges: o, adjustScale: i = !1, collisionDetection: a = Zoe, coordinateGetter: s = Pie, dropAnimation: l = Hie, getItemStyles: c = () => ({}), getNewIndex: d, handle: u = !1, items: h, onMove: m, isDisabled: p = () => !1, measuring: f, modifiers: g, renderItem: y, renderDivider: w, reorderItems: b = vw, strategy: x = Sw, style: S, useDragOverlay: _ = !0, onDragStart: E, wrapperStyle: R = () => ({}) } = t, [k, M] = xe(() => h);
|
|
44132
44133
|
Ve(() => {
|
|
44133
44134
|
M(h);
|
|
@@ -44146,7 +44147,7 @@ const zie = (t) => {
|
|
|
44146
44147
|
const P = document.fullscreenElement;
|
|
44147
44148
|
if (!P) return;
|
|
44148
44149
|
let z = P.querySelector(".fullscreen-portal-root");
|
|
44149
|
-
z || (z = document.createElement("div"), z.className = "fullscreen-portal-root _fullscreen-portal-
|
|
44150
|
+
z || (z = document.createElement("div"), z.className = "fullscreen-portal-root _fullscreen-portal-root_1mjsr_4", P.appendChild(z));
|
|
44150
44151
|
}
|
|
44151
44152
|
return xf++, D(), document.addEventListener("fullscreenchange", D), () => {
|
|
44152
44153
|
document.removeEventListener("fullscreenchange", D), xf--, xf <= 0 && (document.querySelectorAll(".fullscreen-portal-root").forEach((P) => {
|
|
@@ -44231,7 +44232,7 @@ function jie({ disabled: t, animateLayoutChanges: e, getNewIndex: n, handle: r,
|
|
|
44231
44232
|
}({ id: o, animateLayoutChanges: e, disabled: t, getNewIndex: n });
|
|
44232
44233
|
return v(mP, { 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 });
|
|
44233
44234
|
}
|
|
44234
|
-
const Wie = new
|
|
44235
|
+
const Wie = new po("rgb(33, 115, 70)"), Uie = "#eee", Gie = (t) => v(Bie, { ...t }), fP = et(pt((t, e) => {
|
|
44235
44236
|
const { children: n, style: r, className: o, selectedTabIndex: i = 0, tabNames: a = [], onSelectedTabIndexChange: s, onTabNameChange: l, onTabMove: c, createScrollStartButton: d = zN, createScrollEndButton: u = BN, createScrollEdgeButton: h = zY, createTabButton: m = Gie, createTabDivider: p, editLabelProps: f, disabled: g = !1, disableDrag: y = !1, background: w = "white", activeColor: b = Wie, borderColor: x = Uie, borderWidth: S = 1 } = t, [_, E] = xe(i), [R, k] = xe(a), M = ve((J) => {
|
|
44236
44237
|
const G = F.current?.[J]?.closest(".tab-item") ?? F.current?.[J];
|
|
44237
44238
|
G && H.current?.scrollTo({ top: G.offsetTop, left: G.offsetLeft, behavior: "smooth" });
|
|
@@ -44289,7 +44290,7 @@ const Wie = new ho("rgb(33, 115, 70)"), Uie = "#eee", Gie = (t) => v(Bie, { ...t
|
|
|
44289
44290
|
}, [Q, me, Se]);
|
|
44290
44291
|
Ve(() => () => Se(), [Se]);
|
|
44291
44292
|
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]);
|
|
44292
|
-
return ne("div", { style: { ...r, display: "flex", alignItems: "stretch" }, className: ca("
|
|
44293
|
+
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) => {
|
|
44293
44294
|
W({ left: J.target.scrollLeft, top: J.target.scrollTop, width: J.target.scrollWidth, height: J.target.scrollHeight });
|
|
44294
44295
|
}, children: v(Vie, { isDisabled: (J) => g || y, items: R, strategy: Rie, modifiers: [zie], ref: B, renderItem: P, renderDivider: p, onMove: T, activationConstraint: { distance: 15 } }) }) }), v("div", { style: { flex: "none", display: "flex", alignItems: "center" }, children: h(ee) })] });
|
|
44295
44296
|
}));
|
|
@@ -44297,7 +44298,7 @@ fP.displayName = "TabStrip";
|
|
|
44297
44298
|
const kse = (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" })] }), qie = P0(null), gP = () => {
|
|
44298
44299
|
const t = Ss(qie), [e] = xe(() => new fy());
|
|
44299
44300
|
return ce(() => t || e, [t]);
|
|
44300
|
-
}, Kie = ft.lazy(() => import("./
|
|
44301
|
+
}, Kie = ft.lazy(() => import("./CtW_m0lUeW_X_FHB.mjs")), Xie = { 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" }, sR = `
|
|
44301
44302
|
/**
|
|
44302
44303
|
* Placeholder for SheetXL scripting types.
|
|
44303
44304
|
*/
|
|
@@ -44422,7 +44423,7 @@ const Jie = et(pt((t, e) => {
|
|
|
44422
44423
|
let D = null;
|
|
44423
44424
|
const P = () => f;
|
|
44424
44425
|
return D = o ? o.createChildGroup(P, "scriptEditor", !1) : new lm(P, "scriptEditor"), D.addCommands(g, !0), D;
|
|
44425
|
-
}, [o, g]), w =
|
|
44426
|
+
}, [o, g]), w = fo(y, ["executeSelectedScript"])[0], b = w?.context(), x = $e((D) => {
|
|
44426
44427
|
w?.execute(D);
|
|
44427
44428
|
}, [w]), S = Ie(""), [_, E] = xe(!1), R = $e(async () => {
|
|
44428
44429
|
if (!h.current) return null;
|
|
@@ -44499,7 +44500,7 @@ const Jie = et(pt((t, e) => {
|
|
|
44499
44500
|
}, []), A = Ie(null), O = $e((D, P) => {
|
|
44500
44501
|
h.current = { monaco: P, editor: D }, E(!0), C("Loading Types");
|
|
44501
44502
|
const z = b.getScripts().getModules().search()[0]?.getSource() ?? "";
|
|
44502
|
-
D.setValue(z), import("./
|
|
44503
|
+
D.setValue(z), import("./B1bRlKApOQZbRHvx.mjs").then(($) => $.c).then(($) => {
|
|
44503
44504
|
C(""), $.AutoTypings.create(D, { shareCache: !0, monaco: P, onError: (H) => {
|
|
44504
44505
|
H === "Not implemented yet" && (H = "Compile Errors"), console.warn("Error compiling types", H);
|
|
44505
44506
|
} }).then(async (H) => {
|
|
@@ -44666,7 +44667,7 @@ declare module '@sheetxl/primitives' {
|
|
|
44666
44667
|
h.current?.editor && requestAnimationFrame(() => {
|
|
44667
44668
|
F.current?.contains(document.activeElement) && T();
|
|
44668
44669
|
});
|
|
44669
|
-
}), []), v("div", { className: ca("script-editor", "_script-
|
|
44670
|
+
}), []), 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 });
|
|
44670
44671
|
})), yP = { Preset: "preset", Custom: "custom" }, ru = { Start: "start", End: "end" }, Y6 = {}, Qie = (t, e, n, r) => {
|
|
44671
44672
|
const o = t + "-" + e + "-" + n + (r ? "-server" : "");
|
|
44672
44673
|
if (Y6[o]) return Y6[o];
|
|
@@ -44697,7 +44698,7 @@ declare module '@sheetxl/primitives' {
|
|
|
44697
44698
|
}, [n, i, e]), S = ce(() => e.toRGBA().alpha === 1 ? null : v(tae, { 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]);
|
|
44698
44699
|
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 })] });
|
|
44699
44700
|
}), h3 = et((t) => {
|
|
44700
|
-
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
|
|
44701
|
+
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 = [];
|
|
44701
44702
|
y.push({ [he.AdjustmentType.Inv]: !0 }), y.push({ [he.AdjustmentType.Alpha]: 100 });
|
|
44702
44703
|
const w = m.adjust(y), b = ve(() => {
|
|
44703
44704
|
i?.(o);
|
|
@@ -44731,19 +44732,19 @@ declare module '@sheetxl/primitives' {
|
|
|
44731
44732
|
return w;
|
|
44732
44733
|
}, [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]);
|
|
44733
44734
|
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 })] });
|
|
44734
|
-
}), ys = (t, e) => ({ description: t, definition: { val: e, adjs: [] } }),
|
|
44735
|
+
}), ys = (t, e) => ({ description: t, definition: { val: e, adjs: [] } }), Ao = (t, e, n, r, o, i) => {
|
|
44735
44736
|
const a = ys(t, e);
|
|
44736
44737
|
r?.push(a);
|
|
44737
|
-
const s = new
|
|
44738
|
+
const s = new po({ val: a.definition.val, adjs: a.definition.adjs }, n), l = s.toString();
|
|
44738
44739
|
o?.set(l, s);
|
|
44739
44740
|
const c = s.toRGBA().toString();
|
|
44740
44741
|
i?.set(c, s);
|
|
44741
|
-
}, rae = ft.lazy(() => import("./
|
|
44742
|
-
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 ||
|
|
44742
|
+
}, rae = ft.lazy(() => import("./B3iFtnvwZZ0izvkj.mjs")), wP = et(pt((t, e) => {
|
|
44743
|
+
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(() => {
|
|
44743
44744
|
const Y = /* @__PURE__ */ new Map(), ee = /* @__PURE__ */ new Map(), pe = [];
|
|
44744
|
-
|
|
44745
|
+
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);
|
|
44745
44746
|
const J = V7.buildPalette(pe, F, Y, ee), G = [];
|
|
44746
|
-
if (
|
|
44747
|
+
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) {
|
|
44747
44748
|
const Ae = w.toString();
|
|
44748
44749
|
Y.set(Ae, w);
|
|
44749
44750
|
}
|
|
@@ -44778,7 +44779,7 @@ declare module '@sheetxl/primitives' {
|
|
|
44778
44779
|
const j = $e((Y) => {
|
|
44779
44780
|
M && (M(Y), B(Y));
|
|
44780
44781
|
}, [M]), W = $e((Y) => {
|
|
44781
|
-
j(Y ? new
|
|
44782
|
+
j(Y ? new po({ val: Y.definition.val, adjs: Y.definition.adjs }, F) : null);
|
|
44782
44783
|
}, [F]), V = ve((Y) => {
|
|
44783
44784
|
Y.ctrlKey && z(!0);
|
|
44784
44785
|
}, []), X = $e((Y) => {
|
|
@@ -44789,16 +44790,16 @@ declare module '@sheetxl/primitives' {
|
|
|
44789
44790
|
}
|
|
44790
44791
|
C?.(Y, ee);
|
|
44791
44792
|
}, [C, D]), Q = $e((Y) => {
|
|
44792
|
-
const ee = Y ? new
|
|
44793
|
+
const ee = Y ? new po({ val: Y.definition.val, adjs: Y.definition.adjs }, F) : null;
|
|
44793
44794
|
Promise.resolve(h?.()).then(() => {
|
|
44794
44795
|
X(ee);
|
|
44795
44796
|
});
|
|
44796
44797
|
}, [F, h]), me = $e((Y) => {
|
|
44797
|
-
j(Y ? new
|
|
44798
|
+
j(Y ? new po(Y, F) : null);
|
|
44798
44799
|
}, [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 () => {
|
|
44799
44800
|
N(!0), T?.(), await new EyeDropper().open().then((Y) => {
|
|
44800
44801
|
N(!1), A?.();
|
|
44801
|
-
let ee = new
|
|
44802
|
+
let ee = new po(Y.sRGBHex), pe = ee.toString(), J = D.mapAllPresets.get(pe);
|
|
44802
44803
|
if (J || (pe = ee.toRGBA().toString(), J = D.mapAllPresetsRGB.get(pe)), !J) {
|
|
44803
44804
|
const G = ee.toRGBA(), oe = 3;
|
|
44804
44805
|
let ie = 255;
|
|
@@ -44909,7 +44910,7 @@ declare module '@sheetxl/primitives' {
|
|
|
44909
44910
|
return v(ka, { icon: _($), sx: { background: `linear-gradient(${Mt("#fff", gr(5))}, ${Mt("#fff", gr(5))})` }, tooltipProps: { label: P, simple: !0, placement: z }, onClick: () => {
|
|
44910
44911
|
A(), k(B), R(B);
|
|
44911
44912
|
} });
|
|
44912
|
-
}, 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(_w, { variant: is.Toolbar, icon: v(jy, {}), selectedColor: b === Ue.StrokeStyle.None ? new
|
|
44913
|
+
}, 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(_w, { variant: is.Toolbar, icon: v(jy, {}), selectedColor: b === Ue.StrokeStyle.None ? new po("transparent") : x, onPreviewColor: (D) => {
|
|
44913
44914
|
w(D);
|
|
44914
44915
|
}, onSelectColor: (D, P) => {
|
|
44915
44916
|
w(D);
|
|
@@ -44920,7 +44921,7 @@ declare module '@sheetxl/primitives' {
|
|
|
44920
44921
|
m?.(S);
|
|
44921
44922
|
}, quickButtonProps: { sx: {} }, disabled: i, icon: C, ...h });
|
|
44922
44923
|
})), SP = et(pt((t, e) => {
|
|
44923
|
-
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 =
|
|
44924
|
+
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) => {
|
|
44924
44925
|
y?.onBorderSelect && y.onBorderSelect(M), h?.(M), g?.execute(M, o);
|
|
44925
44926
|
}, [g, h, o]), k = ve((M, C) => {
|
|
44926
44927
|
const { children: T, title: A, ...O } = M;
|
|
@@ -44960,7 +44961,7 @@ declare module '@sheetxl/primitives' {
|
|
|
44960
44961
|
if (!r) return null;
|
|
44961
44962
|
const _ = { ...r };
|
|
44962
44963
|
return delete _.beforeExecute, _;
|
|
44963
|
-
}, [r]), g =
|
|
44964
|
+
}, [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(BQ, {})) }), v(dt, { command: g[1], icon: Ke(v($Q, {})) })] }) : null, [g]), w = rl(), b = ce(() => `${xt.getSharedMeasurer()("12.3", Math.round(w.typography.fontSize), w.typography.fontFamily).width}px`, [w]), x = ve((_) => {
|
|
44964
44965
|
const { onMouseDown: E, onMouseUp: R, ...k } = _;
|
|
44965
44966
|
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) => {
|
|
44966
44967
|
M.target?.select();
|
|
@@ -45007,7 +45008,7 @@ declare module '@sheetxl/primitives' {
|
|
|
45007
45008
|
l.keyCode !== Tn.Enter && l.keyCode !== Tn.Space || o(i.numberFormat);
|
|
45008
45009
|
}, ...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 : " " })] }) });
|
|
45009
45010
|
}), kP = et(pt((t, e) => {
|
|
45010
|
-
const { commands: n, commandHook: r, scope: o, sx: i, disabled: a = !1, parentFloat: s, ...l } = t, c =
|
|
45011
|
+
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(() => {
|
|
45011
45012
|
if (!r) return null;
|
|
45012
45013
|
const f = { ...r };
|
|
45013
45014
|
return delete f.beforeExecute, f;
|
|
@@ -45048,7 +45049,7 @@ declare module '@sheetxl/primitives' {
|
|
|
45048
45049
|
}, [i, r, o]);
|
|
45049
45050
|
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(I1, {})), ...a });
|
|
45050
45051
|
})), Ew = et(pt((t, e) => {
|
|
45051
|
-
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 =
|
|
45052
|
+
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(() => {
|
|
45052
45053
|
let y = null, w = 0;
|
|
45053
45054
|
for (let b = 0; b < h.length; b++) h[b] && !h[b]?.disabled() && (s && c === Sn.Menuitem && (y = w === 0 ? h[b] : null), w++);
|
|
45054
45055
|
return { singleCommand: y, allDisabled: w === 0 };
|
|
@@ -45064,7 +45065,7 @@ declare module '@sheetxl/primitives' {
|
|
|
45064
45065
|
}, [i, h, r, o, f]);
|
|
45065
45066
|
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(ik, {})), ...d });
|
|
45066
45067
|
})), kw = et(pt((t, e) => {
|
|
45067
|
-
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 =
|
|
45068
|
+
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(() => {
|
|
45068
45069
|
let g = null, y = 0;
|
|
45069
45070
|
for (let w = 0; w < u.length; w++) u[w] && !u[w]?.disabled() && (s && c === Sn.Menuitem && (g = y === 0 ? u[w] : null), y++);
|
|
45070
45071
|
return { singleCommand: g, allDisabled: y === 0 };
|
|
@@ -45085,7 +45086,7 @@ declare module '@sheetxl/primitives' {
|
|
|
45085
45086
|
W0(n);
|
|
45086
45087
|
const y = n?.context();
|
|
45087
45088
|
let w = s ?? y?.quickColor;
|
|
45088
|
-
c && !w && (w = new
|
|
45089
|
+
c && !w && (w = new po("transparent"));
|
|
45089
45090
|
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) => {
|
|
45090
45091
|
M && C && y?.addRecentColor && y.addRecentColor(M), y?.onColorSelect && y.onColorSelect(M), o?.(M, C), n?.execute(M, r);
|
|
45091
45092
|
}, [n, o, r, y]), k = ve((M, C) => {
|
|
@@ -45097,7 +45098,7 @@ declare module '@sheetxl/primitives' {
|
|
|
45097
45098
|
}));
|
|
45098
45099
|
Au.displayName = "ColorCommandButton";
|
|
45099
45100
|
const MP = et(pt((t, e) => {
|
|
45100
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, parentFloat: a, ...s } = t, l =
|
|
45101
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, parentFloat: a, ...s } = t, l = fo(n, ["gridlinesToggle", "sheetViewToggleGridlinesColumns", "sheetViewToggleGridlinesRows"]), c = ve((d, u) => {
|
|
45101
45102
|
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(Au, { ...h, command: u.getCommand("sheetViewFormatGridlinesColor"), icon: v(jy, {}), panelProps: { disableAlpha: !0 } }), v(sn, { orientation: "horizontal" }), v(dt, { ...h, command: u.getCommand("sheetViewToggleGridlinesColumns") }), v(dt, { ...h, command: u.getCommand("sheetViewToggleGridlinesRows") })] });
|
|
45102
45103
|
return pr({ ...d, children: m });
|
|
45103
45104
|
}, [i, r]);
|
|
@@ -45117,7 +45118,7 @@ const MP = et(pt((t, e) => {
|
|
|
45117
45118
|
})), Mw = et(pt((t, e) => {
|
|
45118
45119
|
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];
|
|
45119
45120
|
!o && i && h.push("redo");
|
|
45120
|
-
const m =
|
|
45121
|
+
const m = fo(d, h), p = m[0], f = m[1], g = a ?? p?.context?.()?.undoManager;
|
|
45121
45122
|
let y = c;
|
|
45122
45123
|
c || (y = !p || p.disabled(), f && !f.disabled() && (y = !1));
|
|
45123
45124
|
const [w, b] = xe(0), x = ve((S, _) => {
|
|
@@ -45188,7 +45189,7 @@ const IP = et(pt((t, e) => {
|
|
|
45188
45189
|
}, [i, n?.state()]);
|
|
45189
45190
|
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 });
|
|
45190
45191
|
})), AP = et(pt((t, e) => {
|
|
45191
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s =
|
|
45192
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s = fo(n, ["formatStrikeThroughToggle", "formatSuperscriptToggle", "formatSubscriptToggle"]), l = ce(() => {
|
|
45192
45193
|
for (let u = 0; u < s.length; u++) if (s[u]?.state()) return s[u].key();
|
|
45193
45194
|
return s[0]?.key();
|
|
45194
45195
|
}, [s]), c = ce(() => {
|
|
@@ -45200,7 +45201,7 @@ const IP = et(pt((t, e) => {
|
|
|
45200
45201
|
}, [i, r, o]);
|
|
45201
45202
|
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(lk, {})), ...a });
|
|
45202
45203
|
})), OP = et(pt((t, e) => {
|
|
45203
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s =
|
|
45204
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s = fo(n, ["formatUnderlinedToggle", "formatUnderlinedDoubleToggle", "formatUnderlinedAccountingToggle", "formatUnderlinedAccountingDoubleToggle"]), l = ce(() => {
|
|
45204
45205
|
for (let u = 0; u < s.length; u++) if (s[u]?.state()) return s[u].key();
|
|
45205
45206
|
return s[0]?.key();
|
|
45206
45207
|
}, [s]), c = ce(() => {
|
|
@@ -45218,7 +45219,7 @@ const IP = et(pt((t, e) => {
|
|
|
45218
45219
|
}, [s, o, i, a]);
|
|
45219
45220
|
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(rk, {}), ...l });
|
|
45220
45221
|
})), NP = et(pt((t, e) => {
|
|
45221
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, parentFloat: a, ...s } = t, l =
|
|
45222
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, parentFloat: a, ...s } = t, l = fo(n, ["sheetViewToggleShowHeadings", "sheetViewToggleShowHeadingColumns", "sheetViewToggleShowHeadingRows"]), c = ve((d, u) => {
|
|
45222
45223
|
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") })] });
|
|
45223
45224
|
return pr({ ...d, children: m });
|
|
45224
45225
|
}, [i, r, o]);
|
|
@@ -45277,7 +45278,7 @@ const IP = et(pt((t, e) => {
|
|
|
45277
45278
|
return _.getStyle().getFont().getSize() <= S ? _ : _.createTemporaryCell({ style: { font: { size: S } } });
|
|
45278
45279
|
}, [u?.createTemporaryCell]), w = s || !r || r.disabled(), b = ce(() => u && c ? v(DP, { 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(kp, {})), [m, p, w]);
|
|
45279
45280
|
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 });
|
|
45280
|
-
})), PP = "_sheetxl-
|
|
45281
|
+
})), PP = "_sheetxl-reset_ods65_1", sae = 10, zP = et(pt((t, e) => {
|
|
45281
45282
|
const { styles: n, table: r, tableStyle: o = r?.getStyle() ?? n.getDefaultTableStyle(), bodyStyle: i, sx: a, disabled: s, className: l, forceThinBorder: c, cellHeight: d = sae, isLive: u = !1, ...h } = t, m = Math.ceil(1.3 * d), [p, f] = Li((x) => x + 1, 0);
|
|
45282
45283
|
Ve(() => {
|
|
45283
45284
|
if (u && r) return r.addListeners({ onAnyChange: () => {
|
|
@@ -45311,7 +45312,7 @@ const IP = et(pt((t, e) => {
|
|
|
45311
45312
|
}
|
|
45312
45313
|
return S;
|
|
45313
45314
|
}, [g, o, i]), b = ve((x, S) => y[S].getBorder() ?? null, [y]);
|
|
45314
|
-
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(fw, { 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:
|
|
45315
|
+
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(fw, { 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", PP), style: { borderCollapse: "collapse", width: 5 * (m - 1) + 1, height: 5 * (d - 1) + 1 }, children: v("tbody", { children: w }) }) }) });
|
|
45315
45316
|
})), $1 = (t, e, n, r, o) => {
|
|
45316
45317
|
t.beginPath(), t.moveTo(e + 0.5, n + 0.5), t.lineTo(r + 0.5, o + 0.5), t.stroke();
|
|
45317
45318
|
}, BP = et(pt((t, e) => {
|
|
@@ -45358,7 +45359,7 @@ const IP = et(pt((t, e) => {
|
|
|
45358
45359
|
}
|
|
45359
45360
|
return `url(${p.toDataURL()})`;
|
|
45360
45361
|
}, [c, u, r, i]);
|
|
45361
|
-
return v("div", { ref: e, className:
|
|
45362
|
+
return v("div", { ref: e, className: mo("table-style-preview", l), style: { backgroundImage: m, width: 61, height: 46, ...s }, ...d });
|
|
45362
45363
|
})), lae = et(pt((t, e) => {
|
|
45363
45364
|
const { styleOptions: n, onStyleOptionsChange: r, showHeaderRow: o, onShowHeaderRowChange: i, showTotalRow: a, onShowTotalRowChange: s, showFilterButton: l, onShowFilterButtonChange: c, sx: d, disabled: u, ...h } = t;
|
|
45364
45365
|
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: () => {
|
|
@@ -45482,7 +45483,7 @@ The heading font is '${e.getFontScheme().getMajorFont()}'.` }), placement: "bott
|
|
|
45482
45483
|
}, [n, a]);
|
|
45483
45484
|
return v(jP, { 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(VF, {})), ...c });
|
|
45484
45485
|
})), dae = et(pt((t, e) => {
|
|
45485
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s =
|
|
45486
|
+
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 = lj("(prefers-color-scheme: dark)"), u = l === "dark" || l === null && d, h = $e((m, p) => {
|
|
45486
45487
|
const f = { variant: Sn.Menuitem, commandHook: r, scope: "appearance", disabled: i }, g = ne(Wt, { children: [v(dt, { ...f, command: s, icon: Ke(v(u ? Bv : Vv, {})) }), v(dt, { ...f, command: p.getCommand("defaultThemeMode"), icon: Ke(v(d ? XQ : YQ, {})) }), v(sn, { orientation: "horizontal" }), v(dt, { ...f, command: p.getCommand("forceLightGrid") }), v(dt, { ...f, command: p.getCommand("forceLightImages") })] });
|
|
45487
45488
|
return pr({ ...m, children: g });
|
|
45488
45489
|
}, [i, s, r, o, d, l, c]);
|
|
@@ -45496,7 +45497,7 @@ The heading font is '${e.getFontScheme().getMajorFont()}'.` }), placement: "bott
|
|
|
45496
45497
|
}, [i, r]);
|
|
45497
45498
|
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(ZQ, { sx: { transform: "scale(0.75)" } })), ...s });
|
|
45498
45499
|
})), Iw = et(pt((t, e) => {
|
|
45499
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, preferSingleMenu: a = !0, showQuickButton: s = !0, variant: l = Sn.Toolbar, ...c } = t, d =
|
|
45500
|
+
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(() => {
|
|
45500
45501
|
let p = null, f = 0;
|
|
45501
45502
|
for (let g = 0; g < d.length; g++) d[g] && !d[g]?.disabled() && (a && l === Sn.Menuitem && (p = f === 0 ? d[g] : null), f++);
|
|
45502
45503
|
return { singleMenuCommand: p, allDisabled: f === 0 };
|
|
@@ -45547,7 +45548,7 @@ const GP = () => ft.useContext(UP), qP = et(pt((t, e) => {
|
|
|
45547
45548
|
}, []), M = ve((C) => {
|
|
45548
45549
|
_(C.target.value), f?.onChange(C);
|
|
45549
45550
|
}, [f]);
|
|
45550
|
-
return v(L5, { sx: { paddingTop: (C) => C.spacing(1.5), minWidth: 135, width: "100%", ...i }, size: "small", ref: e, className:
|
|
45551
|
+
return v(L5, { sx: { paddingTop: (C) => C.spacing(1.5), minWidth: 135, width: "100%", ...i }, size: "small", ref: e, className: mo("named-input", o), ...m, children: v(tA, { 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) => {
|
|
45551
45552
|
C.stopPropagation();
|
|
45552
45553
|
} }) });
|
|
45553
45554
|
}));
|
|
@@ -45580,7 +45581,7 @@ const Xf = (t) => t === null ? "" : t.toString(), KP = et(pt((t, e) => {
|
|
|
45580
45581
|
}, [p]), [k, M] = xe(!1), C = ce(() => v(pj, { tabIndex: -1, sx: { display: "flex", position: "relative", flex: "0" }, position: "end", children: v(Qee, { disabled: !0, selected: k, onSelectToggle: (T) => {
|
|
45581
45582
|
M(T);
|
|
45582
45583
|
}, label: "Select Range", icon: Ke(v(_ee, {})) }) }), [k]);
|
|
45583
|
-
return v(L5, { sx: { paddingTop: (T) => T.spacing(1.5), minWidth: 135, width: "100%", ...s }, size: "small", ref: e, className:
|
|
45584
|
+
return v(L5, { sx: { paddingTop: (T) => T.spacing(1.5), minWidth: 135, width: "100%", ...s }, size: "small", ref: e, className: mo("range-input", a), ...h, children: v(tA, { 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) => {
|
|
45584
45585
|
T.stopPropagation();
|
|
45585
45586
|
} }) });
|
|
45586
45587
|
}));
|
|
@@ -45610,7 +45611,7 @@ const Aw = et(pt((t, e) => {
|
|
|
45610
45611
|
}, []), b = QC(() => {
|
|
45611
45612
|
h(m(we.findNextStep(n.getView().getZoomScale(), !1, 10)));
|
|
45612
45613
|
}), x = QC(() => 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]);
|
|
45613
|
-
return ne(Ge, { ref: e, className:
|
|
45614
|
+
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) => {
|
|
45614
45615
|
E.relatedTarget && !f && g(E.relatedTarget);
|
|
45615
45616
|
}, onBlur: (E) => {
|
|
45616
45617
|
f && !y?.current?.contains(E.relatedTarget) && g(null);
|
|
@@ -45650,7 +45651,7 @@ const Ow = et(pt((t, e) => {
|
|
|
45650
45651
|
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(Aw, { sx: { paddingLeft: "4px", minWidth: "175px" }, sheet: r })] });
|
|
45651
45652
|
}));
|
|
45652
45653
|
Ow.displayName = "StatusBar";
|
|
45653
|
-
var dR, uR, Yf = { exports: {} }, H1 = {}, V1 = { exports: {} }, hR = {}, Zf = { exports: {} },
|
|
45654
|
+
var dR, uR, Yf = { exports: {} }, H1 = {}, V1 = { exports: {} }, hR = {}, Zf = { exports: {} }, Oo = {}, Wc = {};
|
|
45654
45655
|
function g5() {
|
|
45655
45656
|
return uR || (uR = 1, Object.defineProperty(Wc, "__esModule", { value: !0 }), Wc.dontSetMe = function(t, e, n) {
|
|
45656
45657
|
if (t[e]) return new Error(`Invalid prop ${e} passed to ${n} - do not set this, set it on the child.`);
|
|
@@ -45666,35 +45667,35 @@ function g5() {
|
|
|
45666
45667
|
}
|
|
45667
45668
|
var pR, mR, ec = {};
|
|
45668
45669
|
function C9() {
|
|
45669
|
-
if (mR) return
|
|
45670
|
-
mR = 1, Object.defineProperty(
|
|
45670
|
+
if (mR) return Oo;
|
|
45671
|
+
mR = 1, Object.defineProperty(Oo, "__esModule", { value: !0 }), Oo.addClassName = a, Oo.addEvent = function(l, c, d, u) {
|
|
45671
45672
|
if (!l) return;
|
|
45672
45673
|
const h = { capture: !0, ...u };
|
|
45673
45674
|
l.addEventListener ? l.addEventListener(c, d, h) : l.attachEvent ? l.attachEvent("on" + c, d) : l["on" + c] = d;
|
|
45674
|
-
},
|
|
45675
|
+
}, Oo.addUserSelectStyles = function(l) {
|
|
45675
45676
|
if (!l) return;
|
|
45676
45677
|
let c = l.getElementById("react-draggable-style-el");
|
|
45677
45678
|
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;}
|
|
45678
45679
|
`, c.innerHTML += `.react-draggable-transparent-selection *::selection {all: inherit;}
|
|
45679
45680
|
`, l.getElementsByTagName("head")[0].appendChild(c)), l.body && a(l.body, "react-draggable-transparent-selection");
|
|
45680
|
-
},
|
|
45681
|
+
}, Oo.createCSSTransform = function(l, c) {
|
|
45681
45682
|
const d = o(l, c, "px");
|
|
45682
45683
|
return { [(0, e.browserPrefixToKey)("transform", e.default)]: d };
|
|
45683
|
-
},
|
|
45684
|
+
}, Oo.createSVGTransform = function(l, c) {
|
|
45684
45685
|
return o(l, c, "");
|
|
45685
|
-
},
|
|
45686
|
+
}, Oo.getTouch = function(l, c) {
|
|
45686
45687
|
return l.targetTouches && (0, t.findInArray)(l.targetTouches, (d) => c === d.identifier) || l.changedTouches && (0, t.findInArray)(l.changedTouches, (d) => c === d.identifier);
|
|
45687
|
-
},
|
|
45688
|
+
}, Oo.getTouchIdentifier = function(l) {
|
|
45688
45689
|
return l.targetTouches && l.targetTouches[0] ? l.targetTouches[0].identifier : l.changedTouches && l.changedTouches[0] ? l.changedTouches[0].identifier : void 0;
|
|
45689
|
-
},
|
|
45690
|
+
}, Oo.getTranslation = o, Oo.innerHeight = function(l) {
|
|
45690
45691
|
let c = l.clientHeight;
|
|
45691
45692
|
const d = l.ownerDocument.defaultView.getComputedStyle(l);
|
|
45692
45693
|
return c -= (0, t.int)(d.paddingTop), c -= (0, t.int)(d.paddingBottom), c;
|
|
45693
|
-
},
|
|
45694
|
+
}, Oo.innerWidth = function(l) {
|
|
45694
45695
|
let c = l.clientWidth;
|
|
45695
45696
|
const d = l.ownerDocument.defaultView.getComputedStyle(l);
|
|
45696
45697
|
return c -= (0, t.int)(d.paddingLeft), c -= (0, t.int)(d.paddingRight), c;
|
|
45697
|
-
},
|
|
45698
|
+
}, Oo.matchesSelector = r, Oo.matchesSelectorAndParentsTo = function(l, c, d) {
|
|
45698
45699
|
let u = l;
|
|
45699
45700
|
do {
|
|
45700
45701
|
if (r(u, c)) return !0;
|
|
@@ -45702,22 +45703,22 @@ function C9() {
|
|
|
45702
45703
|
u = u.parentNode;
|
|
45703
45704
|
} while (u);
|
|
45704
45705
|
return !1;
|
|
45705
|
-
},
|
|
45706
|
+
}, Oo.offsetXYFromParent = function(l, c, d) {
|
|
45706
45707
|
const u = c === c.ownerDocument.body ? { left: 0, top: 0 } : c.getBoundingClientRect();
|
|
45707
45708
|
return { x: (l.clientX + c.scrollLeft - u.left) / d, y: (l.clientY + c.scrollTop - u.top) / d };
|
|
45708
|
-
},
|
|
45709
|
+
}, Oo.outerHeight = function(l) {
|
|
45709
45710
|
let c = l.clientHeight;
|
|
45710
45711
|
const d = l.ownerDocument.defaultView.getComputedStyle(l);
|
|
45711
45712
|
return c += (0, t.int)(d.borderTopWidth), c += (0, t.int)(d.borderBottomWidth), c;
|
|
45712
|
-
},
|
|
45713
|
+
}, Oo.outerWidth = function(l) {
|
|
45713
45714
|
let c = l.clientWidth;
|
|
45714
45715
|
const d = l.ownerDocument.defaultView.getComputedStyle(l);
|
|
45715
45716
|
return c += (0, t.int)(d.borderLeftWidth), c += (0, t.int)(d.borderRightWidth), c;
|
|
45716
|
-
},
|
|
45717
|
+
}, Oo.removeClassName = s, Oo.removeEvent = function(l, c, d, u) {
|
|
45717
45718
|
if (!l) return;
|
|
45718
45719
|
const h = { capture: !0, ...u };
|
|
45719
45720
|
l.removeEventListener ? l.removeEventListener(c, d, h) : l.detachEvent ? l.detachEvent("on" + c, d) : l["on" + c] = null;
|
|
45720
|
-
},
|
|
45721
|
+
}, Oo.scheduleRemoveUserSelectStyles = function(l) {
|
|
45721
45722
|
window.requestAnimationFrame ? window.requestAnimationFrame(() => {
|
|
45722
45723
|
i(l);
|
|
45723
45724
|
}) : i(l);
|
|
@@ -45784,7 +45785,7 @@ function C9() {
|
|
|
45784
45785
|
function s(l, c) {
|
|
45785
45786
|
l.classList ? l.classList.remove(c) : l.className = l.className.replace(new RegExp(`(?:^|\\s)${c}(?!\\S)`, "g"), "");
|
|
45786
45787
|
}
|
|
45787
|
-
return
|
|
45788
|
+
return Oo;
|
|
45788
45789
|
}
|
|
45789
45790
|
var fR, Bs = {};
|
|
45790
45791
|
function gR() {
|
|
@@ -46575,7 +46576,7 @@ const Lw = et(pt((t, e) => {
|
|
|
46575
46576
|
Lw.displayName = "FilterColumnMenu";
|
|
46576
46577
|
const ZP = et(pt((t, e) => {
|
|
46577
46578
|
const { children: n, className: r, disabled: o, style: i, filter: a, ...s } = t, l = ti(e, () => ({ isFilters: () => !0 }), []);
|
|
46578
|
-
return v("div", { ref: l, className:
|
|
46579
|
+
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" })] }) });
|
|
46579
46580
|
}));
|
|
46580
46581
|
ZP.displayName = "Filters";
|
|
46581
46582
|
const Pw = et(pt((t, e) => {
|
|
@@ -46596,7 +46597,7 @@ const Pw = et(pt((t, e) => {
|
|
|
46596
46597
|
let T = null;
|
|
46597
46598
|
typeof m == "string" ? T = m : m?.toCSS && (T = m.toCSS());
|
|
46598
46599
|
const A = k ? v(Ge, { sx: { width: "100%", borderRadius: "4px", minWidth: "4px", height: "2px", backgroundColor: (O) => O.palette.primary.main } }) : null;
|
|
46599
|
-
return v(Rne, { theme: k ? w ?? R : R, children: v(Ge, { ref: e, className:
|
|
46600
|
+
return v(Rne, { 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(iZ, { style: { flex: "1 1 100%", display: "flex", flexDirection: "row" }, radius: y, strokeColor: k ? T : "transparent", children: v(ap, { 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(z5, { sx: { scale: "0.80", marginLeft: "2px", width: "22px", height: "22px" }, color: "secondary" }) : v(Ge, { sx: { minHeight: "22px" } })] })] }) }, a + ":" + s) }) }) });
|
|
46600
46601
|
}));
|
|
46601
46602
|
Pw.displayName = "SheetTab";
|
|
46602
46603
|
const zw = et(pt((t, e) => {
|
|
@@ -46614,7 +46615,7 @@ const zw = et(pt((t, e) => {
|
|
|
46614
46615
|
d?.startEdit(r);
|
|
46615
46616
|
});
|
|
46616
46617
|
}, 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(z5, {}) }), v(Au, { variant: Sn.Menuitem, command: o.getCommand("formatSheetTabColor"), icon: v(jy, {}), 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(jF, {})) })] });
|
|
46617
|
-
return v(Ge, { ref: e, className:
|
|
46618
|
+
return v(Ge, { ref: e, className: mo("menu", c), sx: { ...l }, ...u, children: y });
|
|
46618
46619
|
}));
|
|
46619
46620
|
zw.displayName = "SheetTabMenu";
|
|
46620
46621
|
const Bw = et(pt((t, e) => {
|
|
@@ -46648,7 +46649,7 @@ const Bw = et(pt((t, e) => {
|
|
|
46648
46649
|
}
|
|
46649
46650
|
return m;
|
|
46650
46651
|
}, [n, d, l, o, r]);
|
|
46651
|
-
return v(Ge, { ref: e, className:
|
|
46652
|
+
return v(Ge, { ref: e, className: mo("menu", a), ...s, children: h });
|
|
46652
46653
|
}));
|
|
46653
46654
|
Bw.displayName = "SheetsAllMenu";
|
|
46654
46655
|
var gae = function() {
|
|
@@ -46946,7 +46947,7 @@ const zp = et(pt((t, e) => {
|
|
|
46946
46947
|
return pr({ ...S, children: E });
|
|
46947
46948
|
}, [y]);
|
|
46948
46949
|
return ne(Ge, { className: "overflow-palette", sx: { display: "flex", flexDirection: "row", flex: "1 1 100%", width: "100%", maxWidth: "100%", ...r }, ref: Nw([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(MF, { children: v(tU, {}) }) }) })] });
|
|
46949
|
-
})), oz = "https://unpkg.com/@sheetxl/scripting-templates/dist", vae = [{ key: "SheetXL", description: "SheetXL", mimeType: ".sxl", exts: ["sxl"], isDefault: !0, handler: async (t, e) => (await import("./
|
|
46950
|
+
})), oz = "https://unpkg.com/@sheetxl/scripting-templates/dist", vae = [{ key: "SheetXL", description: "SheetXL", mimeType: ".sxl", exts: ["sxl"], isDefault: !0, handler: async (t, e) => (await import("./FXy016gXiiQkH7aF.mjs")).fromBufferJSON(t, e) }, { key: "CSV", description: "Comma Delimited", mimeType: "text/csv", exts: ["csv"], handler: async (t, e) => (await import("./IbCi65rCiiLS_OGe.mjs")).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("./DaeiyDhcdRvg5nGs.mjs").then((n) => n.i)).fromBufferXLSX(t, e) }], Sae = [{ key: "SheetXL", mimeType: "application/vnd.sheetxl.sheet", description: "SheetXL", ext: "sxl", isDefault: !0, handler: async (t, e) => (await import("./FXy016gXiiQkH7aF.mjs")).toBufferJSON(t, e) }, { key: "CSV", mimeType: "text/csv", description: "Comma Delimited", ext: "csv", handler: async (t, e) => (await import("./IbCi65rCiiLS_OGe.mjs")).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("./DaeiyDhcdRvg5nGs.mjs").then((n) => n.i)).toBufferXLSX(t, e) }];
|
|
46950
46951
|
class iz {
|
|
46951
46952
|
constructor(e = vae, n = Sae) {
|
|
46952
46953
|
this._readFormatTypes = [], this._writeFormatType = [], this._readFormatTypes = Object.freeze([...e]), this._writeFormatType = Object.freeze([...n]);
|
|
@@ -47340,7 +47341,7 @@ const FR = /^(con|prn|aux|nul|com\d|lpt\d)$/i, DR = /[<>:"/\\|?*\u0000-\u001F]/g
|
|
|
47340
47341
|
l.keyCode !== Tn.Enter && l.keyCode !== Tn.Space || o(n);
|
|
47341
47342
|
}, ...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 })] }) });
|
|
47342
47343
|
}), sz = et(pt((t, e) => {
|
|
47343
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, scriptPath: a = oz, ...s } = t, [l, c] = xe([]), [d, u] = xe(!0), h =
|
|
47344
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, scriptPath: a = oz, ...s } = t, [l, c] = xe([]), [d, u] = xe(!0), h = fo(n, ["executeSelectedScript"]), m = h[0]?.context?.();
|
|
47344
47345
|
Ve(() => {
|
|
47345
47346
|
(async () => {
|
|
47346
47347
|
try {
|
|
@@ -47391,14 +47392,14 @@ const n7 = { fontSize: "1rem" }, lz = et(pt((t, e) => {
|
|
|
47391
47392
|
u(w), m(!1);
|
|
47392
47393
|
}
|
|
47393
47394
|
})();
|
|
47394
|
-
}, [n]), h) return v(Ge, { display: "flex", justifyContent: "center", alignItems: "center", height: "100%", className:
|
|
47395
|
+
}, [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(K9, {}) });
|
|
47395
47396
|
let g = null;
|
|
47396
|
-
p && (g = ne(Ge, { display: "flex", justifyContent: "center", alignItems: "center", className:
|
|
47397
|
+
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 })] }));
|
|
47397
47398
|
const y = (w) => {
|
|
47398
47399
|
const b = w.metadata?.icon;
|
|
47399
47400
|
return b === "macro" ? v(Yy, { sx: n7 }) : b === "formula" ? v(UF, { sx: n7 }) : b === "autostart" ? v(oA, { sx: n7 }) : null;
|
|
47400
47401
|
};
|
|
47401
|
-
return ne(Ge, { ref: e, className:
|
|
47402
|
+
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(ap, { 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] });
|
|
47402
47403
|
}));
|
|
47403
47404
|
lz.displayName = "TemplateSelectPanel";
|
|
47404
47405
|
const Hw = et(pt((t, e) => {
|
|
@@ -47423,7 +47424,7 @@ const Hw = et(pt((t, e) => {
|
|
|
47423
47424
|
if (P && P.length > 0) return P[0]?.focus?.(D), !0;
|
|
47424
47425
|
}
|
|
47425
47426
|
return _.current?.focus?.(D), !1;
|
|
47426
|
-
}, [E, l, c]), C = ce(() => v(hm, { 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($w, { commands: i }) }), [h, i]), A = ce(() => v(Ge, { className:
|
|
47427
|
+
}, [E, l, c]), C = ce(() => v(hm, { 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($w, { 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(Jie, { 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(KI, { 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) => {
|
|
47427
47428
|
D.isDefaultPrevented() || (D.preventDefault(), M());
|
|
47428
47429
|
}, 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) => {
|
|
47429
47430
|
S.current?.start(D, { center: !1 }), D.stopPropagation(), D.preventDefault();
|
|
@@ -47433,7 +47434,7 @@ const Hw = et(pt((t, e) => {
|
|
|
47433
47434
|
let D;
|
|
47434
47435
|
return w === null ? null : (w.source === null && (D = v(lz, { sx: { display: "flex", flex: "1 1 100%", flexDirection: "column", overflow: "hidden", position: "absolute", boxSizing: "border-box", width: "100%", height: "100%" }, onScriptSelect: (P) => {
|
|
47435
47436
|
_.current?.getEditor().insertSnippet(P.content), b({ source: P.content ?? "" });
|
|
47436
|
-
} })), ne(Ge, { tabIndex: 0, className:
|
|
47437
|
+
} })), 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) => {
|
|
47437
47438
|
P.isDefaultPrevented() || _.current?.focus();
|
|
47438
47439
|
}, children: [N, ne(Ge, { sx: { flex: "1 1 100%", position: "relative", display: "flex" }, children: [O, D] })] }));
|
|
47439
47440
|
}, [T, O, n, w]), F = ti(e, () => ({ isScriptWorkspaceElement: () => !0, focus: (D) => {
|
|
@@ -47447,8 +47448,8 @@ const Hw = et(pt((t, e) => {
|
|
|
47447
47448
|
}));
|
|
47448
47449
|
Hw.displayName = "ScriptWorkspace";
|
|
47449
47450
|
const Vw = et(pt((t, e) => {
|
|
47450
|
-
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s =
|
|
47451
|
-
|
|
47451
|
+
const { commands: n, commandHook: r, scope: o, disabled: i = !1, ...a } = t, s = fo(n, ["executeScript"])[0].context();
|
|
47452
|
+
fo(n, ["showScriptEditor"]);
|
|
47452
47453
|
const l = ve((c, d) => {
|
|
47453
47454
|
const u = { variant: Sn.Menuitem, commandHook: r, scope: "scripts", disabled: i, shortcut: null }, h = s?.getScripts(), m = h?.searchFunction({ type: "macro" }), p = [];
|
|
47454
47455
|
if (m) for (let g = 0; g < m.length; g++) {
|
|
@@ -47460,7 +47461,7 @@ const Vw = et(pt((t, e) => {
|
|
|
47460
47461
|
}, [i, s, r, o]);
|
|
47461
47462
|
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(Ree, {})), ...a });
|
|
47462
47463
|
})), Tae = et(pt((t, e) => {
|
|
47463
|
-
const { commands: n, parentFloat: r, commandButtonProps: o, ...i } = t, a =
|
|
47464
|
+
const { commands: n, parentFloat: r, commandButtonProps: o, ...i } = t, a = fo(n, ["executeScript", "showScriptEditor"]), s = a[0]?.context?.(), l = ve((c) => {
|
|
47464
47465
|
const { commandButtonProps: d, commandPopupProps: u } = c, h = v(Au, { ...u, command: n.getCommand("formatFontColor"), icon: v(RJ, {}), isSplit: !0, panelProps: { disableAlpha: !0 } }), m = v(Au, { ...u, command: n.getCommand("formatFillColor"), icon: v(MJ, {}), isSplit: !0, panelProps: { disableAlpha: !0, autoColorLabel: "No Fill", autoColorPosition: ru.End } }), p = n.getCommand("undo") ? v(Wt, { children: v(Mw, { ...u, quickCommand: "undo" }) }) : null, f = n.getCommand("find") ? v(Wt, { children: v(CP, { ...u }) }) : null;
|
|
47465
47466
|
let g = null;
|
|
47466
47467
|
const y = s?.getScripts();
|
|
@@ -47572,7 +47573,7 @@ const Vw = et(pt((t, e) => {
|
|
|
47572
47573
|
}, [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) => {
|
|
47573
47574
|
be.button === 0 && be.preventDefault();
|
|
47574
47575
|
}, onClick: () => F(), children: v(jW, {}) }) }), [s, a, C, F]);
|
|
47575
|
-
return ne(Ge, { ref: e, className:
|
|
47576
|
+
return ne(Ge, { ref: e, className: mo(f), sx: { position: "relative", display: "flex", alignItems: "stretch", flex: "1 1 100%", maxWidth: "100%", ...y }, ..._, children: [v(fP, { 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: Nee, createScrollEndButton: Fee, createScrollEdgeButton: Oee, createTabButton: ue, createTabDivider: (be) => {
|
|
47576
47577
|
const { key: Y, ...ee } = be;
|
|
47577
47578
|
return v(sn, { sx: { marginLeft: "-1px", marginRight: "0px", marginTop: "6px", marginBottom: "6px", background: (pe) => Mt(pe.palette.divider, 0.25) }, ...ee }, Y);
|
|
47578
47579
|
}, editLabelProps: { maxLength: 31, styleHover: { fontWeight: "700" }, onKeyPress: (be) => {
|
|
@@ -47592,7 +47593,7 @@ const Ww = et(pt((t, e) => {
|
|
|
47592
47593
|
h(n.getSelectedSheet());
|
|
47593
47594
|
} }), Mn(u.getSelection(), { onChange() {
|
|
47594
47595
|
p(u.getSelectedRanges()), g(u.getSelectedCell());
|
|
47595
|
-
} }),
|
|
47596
|
+
} }), fo(r, [], { onChange: () => {
|
|
47596
47597
|
d();
|
|
47597
47598
|
} });
|
|
47598
47599
|
const y = ce(() => ({}), []), w = ce(() => ({ commandHook: { beforeExecute: (T, A) => a.closeAll(), onExecute() {
|
|
@@ -47616,7 +47617,7 @@ const Ww = et(pt((t, e) => {
|
|
|
47616
47617
|
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(W2, {}))) })) : R.push(Ar(dt, { command: r.getCommand("insertTable"), ...b, icon: Ke(v(W2, {})), key: "context:" + S.length })), R.push(Ar(Iw, { ...x, key: "contextBefore:" + R.length }));
|
|
47617
47618
|
}
|
|
47618
47619
|
const C = ne(Wt, { children: [v(dt, { command: r.getCommand("cut"), ...b, icon: v(HJ, {}) }), v(p3, { command: r.getCommand("copy"), ...b }), v(Rw, { command: r.getCommand("paste"), ...x, includePasteAllInPopup: !1 }), v(sn, { orientation: "horizontal" }), v(Tw, { ...x }), v(sn, { orientation: "horizontal" }), v(Ew, { commands: r, ...x, disableSheet: !0 }), v(kw, { commands: r, ...x, disableSheet: !0 }), v(Cw, { ...x }), R, S] });
|
|
47619
|
-
return v(Ge, { ref: e, className:
|
|
47620
|
+
return v(Ge, { ref: e, className: mo("menu", s), sx: { ...i }, ...l, children: C });
|
|
47620
47621
|
}));
|
|
47621
47622
|
var PR, zR;
|
|
47622
47623
|
Ww.displayName = "WorkbookContextMenu", function() {
|
|
@@ -48145,7 +48146,7 @@ const Bae = { fireOnModelChange: !1 }, r7 = { flex: "1 1 100%", display: "flex"
|
|
|
48145
48146
|
Ve(() => {
|
|
48146
48147
|
ar ? Wr.open(0) : Wr.close(0);
|
|
48147
48148
|
}, [ar]);
|
|
48148
|
-
const
|
|
48149
|
+
const ko = $e((nt, Dt) => {
|
|
48149
48150
|
if (nt?.isDefaultPrevented()) return !0;
|
|
48150
48151
|
nt.preventDefault(), ar && ar.anchor === nt.currentTarget ? ur(null) : ur({ anchor: nt.currentTarget, popperProps: { offsets: [-4, 2] }, createPopupPanel: (dn) => {
|
|
48151
48152
|
const { floatReference: _n } = dn;
|
|
@@ -48233,7 +48234,7 @@ const Bae = { fireOnModelChange: !1 }, r7 = { flex: "1 1 100%", display: "flex"
|
|
|
48233
48234
|
}, onShowTooltip: (nt) => {
|
|
48234
48235
|
ut({ x: nt.anchor.x, y: nt.anchor.y, width: 0, height: 0 }, nt.display, nt.placement);
|
|
48235
48236
|
}, onCloseTooltip: () => Ye(), renderMovable: rn, ...F, cellRenderProps: { onFilterButtonMouseDown: (nt, Dt) => {
|
|
48236
|
-
F?.cellRenderProps?.onFilterButtonMouseDown(nt, Dt),
|
|
48237
|
+
F?.cellRenderProps?.onFilterButtonMouseDown(nt, Dt), ko(nt, Dt);
|
|
48237
48238
|
}, ...F?.cellRenderProps } }, X), [D, U, F, Ae, Xe, a, p]), Dn = ce(() => {
|
|
48238
48239
|
if (!ge) return null;
|
|
48239
48240
|
const nt = !qe.isStructureAllowed();
|
|
@@ -48251,7 +48252,7 @@ const Bae = { fireOnModelChange: !1 }, r7 = { flex: "1 1 100%", display: "flex"
|
|
|
48251
48252
|
let dn = null, _n = 4, Cn = 13;
|
|
48252
48253
|
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(k8, { fixedPane: "after", position: "40%", minAfter: Bt ? "280px" : "120px", splitDirection: Bt ? "row" : "column", style: r7, 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" } } });
|
|
48253
48254
|
}, [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, "& *": { ...Qy(j), fontWeight: 400 }, "&.Mui-focusVisible": {}, "& .viewport-overlay": { borderRight: `solid ${yn} 1px` }, ...l }), [l, Xe]);
|
|
48254
|
-
return ne(Cs, { className:
|
|
48255
|
+
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) => {
|
|
48255
48256
|
me(!0), Oa(), u?.(nt);
|
|
48256
48257
|
}, onBlur: (nt) => {
|
|
48257
48258
|
me(!1), h?.(nt);
|
|
@@ -48262,7 +48263,7 @@ const Bae = { fireOnModelChange: !1 }, r7 = { flex: "1 1 100%", display: "flex"
|
|
|
48262
48263
|
const Dt = new Image();
|
|
48263
48264
|
Dt.src = nt.target.src, nt.dataTransfer.setDragImage(Dt, 1, 1);
|
|
48264
48265
|
}
|
|
48265
|
-
}, onDragEnter: Nt, onDragLeave: Nt, onDragOver: Nt, onDrop: kt, children: [ne("div", { className:
|
|
48266
|
+
}, onDragEnter: Nt, onDragLeave: Nt, onDragOver: Nt, onDrop: kt, children: [ne("div", { className: mo(PP), 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] });
|
|
48266
48267
|
}));
|
|
48267
48268
|
hz.displayName = "WorkbookElement";
|
|
48268
48269
|
const Kae = (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` } }, pz = et(pt((t, e) => {
|
|
@@ -48279,7 +48280,7 @@ const Kae = (t = !1, e = !1) => e ? null : { "& input:not(:focus):not(:hover)":
|
|
|
48279
48280
|
}, 300)();
|
|
48280
48281
|
}, [_, b]), Ve(() => {
|
|
48281
48282
|
m(p && !d0.isValidWindowsFilename(p));
|
|
48282
|
-
}, [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: Nw([M, x, e]), ...c, children: v(Pi, { label: k.current?.requestReason ?? "Workbook Name", children: ne(Ge, { className:
|
|
48283
|
+
}, [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: Nw([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", ...Kae(!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) => {
|
|
48283
48284
|
u(!0), C.target?.select();
|
|
48284
48285
|
}, inputProps: { name: "input-workbook-title", autoComplete: "off", ref: R }, onBlur: () => {
|
|
48285
48286
|
u(!1), h ? f(g) : (p !== g && (a?.(p), p && k.current?.onAccept?.(p, "blur")), k.current = null);
|
|
@@ -48293,7 +48294,7 @@ const Kae = (t = !1, e = !1) => e ? null : { "& input:not(:focus):not(:hover)":
|
|
|
48293
48294
|
}, 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 })] }) }) });
|
|
48294
48295
|
}));
|
|
48295
48296
|
pz.displayName = "WorkbookTitle";
|
|
48296
|
-
const Xae = ft.lazy(() => import("./
|
|
48297
|
+
const Xae = ft.lazy(() => import("./1Esqj-uAqAeHBGzU.mjs").then((t) => t.q).then((t) => t.E)), mz = et(pt((t, e) => {
|
|
48297
48298
|
const { sx: n, style: r, className: o, licenseKey: i, ...a } = t;
|
|
48298
48299
|
return i && Lu.setLicenseKey(i), v(Wt, { children: v(Xae, { ...a, className: o, sx: n, style: r, ref: e }) });
|
|
48299
48300
|
}));
|
|
@@ -48346,7 +48347,7 @@ const Jae = new fz();
|
|
|
48346
48347
|
try {
|
|
48347
48348
|
if (typeof document < "u") {
|
|
48348
48349
|
var t = document.createElement("style");
|
|
48349
|
-
t.appendChild(document.createTextNode("._sheetxl-
|
|
48350
|
+
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);
|
|
48350
48351
|
}
|
|
48351
48352
|
} catch (e) {
|
|
48352
48353
|
console.error("vite-plugin-css-injected-by-js", e);
|
|
@@ -48463,7 +48464,7 @@ let iu;
|
|
|
48463
48464
|
const WR = async (t) => iu || (iu = await (async (e, n) => {
|
|
48464
48465
|
try {
|
|
48465
48466
|
if (n?.selector && yz(n?.selector, n?.loading), !e) {
|
|
48466
|
-
const { resolveDependencies: r } = await import("./
|
|
48467
|
+
const { resolveDependencies: r } = await import("./DwLRqrlPfv8xcbxB.mjs");
|
|
48467
48468
|
e = await r(n?.dependencies);
|
|
48468
48469
|
}
|
|
48469
48470
|
n?.licenseKey && await e.StudioMUI.LicenseManager.setLicenseKey(n.licenseKey), n?.selector && Bp(n?.selector);
|
|
@@ -48579,7 +48580,7 @@ export {
|
|
|
48579
48580
|
pz as af,
|
|
48580
48581
|
hm as ag,
|
|
48581
48582
|
hz as ah,
|
|
48582
|
-
|
|
48583
|
+
mo as ai,
|
|
48583
48584
|
Nw as aj,
|
|
48584
48585
|
Sse as ak,
|
|
48585
48586
|
wse as al,
|