@sheetxl/studio-vanilla 0.7.4 → 0.7.5
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/README.md +9 -5
- package/browser/cjs/{B7MW5qdFHlXONQ6l.cjs → B3cy0yECplxmF-ZV.cjs} +2 -2
- package/browser/cjs/{BeOgEB1ihIJx02Af.cjs → B6UICJx5Bw3JbPvz.cjs} +1 -1
- package/browser/cjs/{CWOIza8vwfNX5KIr.cjs → B7W2Oq164K4FSwFO.cjs} +1 -1
- package/browser/cjs/{B4foheVEUqSBFEkt.cjs → B7u_MAMs5OAq4GdF.cjs} +1 -1
- package/browser/cjs/{D3tIyPRHWxjXZjiu.cjs → BA4xgI8-YLnoV8Nt.cjs} +387 -387
- package/browser/cjs/{B2LQcZ92fWIJv2Gz.cjs → BB1OETlqft3E7T5Z.cjs} +1 -1
- package/browser/cjs/{BNPrWaUmde-C-8Vx.cjs → BE-9cm3nACn3awgy.cjs} +1 -1
- package/browser/cjs/{DQrZ7_9M-BH9Zqhw.cjs → BG2KzPwReru_hA3S.cjs} +2 -2
- package/browser/cjs/{DAJLF0E4eUH-LX9t.cjs → BG5LXAwXTxvszJnw.cjs} +2 -2
- package/browser/cjs/{ByA09xUI5G9YbxMz.cjs → BPumuWTJVZfqK5CF.cjs} +1 -1
- package/browser/cjs/{DH59epfNQumKG6UO.cjs → BR1gc9EjvJSJsyo5.cjs} +2 -2
- package/browser/cjs/{BprNr_E9PJXMBdn3.cjs → BVkDkd0RVFvIZheb.cjs} +1 -1
- package/browser/cjs/{CwsdwMi5Xs8b4Yhg.cjs → B_PRKbKNzV31Ownq.cjs} +1 -1
- package/browser/cjs/{Bzqv14cPgkvKImRH.cjs → BhS7jv26uN8bTZHQ.cjs} +1 -1
- package/browser/cjs/{D6Gix9vU3zy6x0wx.cjs → Bi1ZxHFcefcZx6ZG.cjs} +1 -1
- package/browser/cjs/{KuiK9SKQWvWBM3--.cjs → BlCgecmBdf9cl7oF.cjs} +1 -1
- package/browser/cjs/{CAiDHxx6Gd0WmW60.cjs → BlZO0VTkAeZHIiRF.cjs} +2 -2
- package/browser/cjs/{DsWfniauN1Pu2Go3.cjs → C-KJcvl8tZsb4ira.cjs} +1 -1
- package/browser/cjs/{v9zKXidk5AvKGkz7.cjs → C59GU2KGToOpxqIu.cjs} +1 -1
- package/browser/cjs/{DnirKDgaxys3R_a-.cjs → CA-8YHE5v74t05ah.cjs} +1 -1
- package/browser/cjs/{Cfr9LxunC2fgJtM2.cjs → CENfRAWXnNjIFG_1.cjs} +6 -6
- package/browser/cjs/{A4yAgzK3Yi1hFoyF.cjs → CFR3i21biJwGBGDy.cjs} +1 -1
- package/browser/cjs/{BgSDdeTv_xCIgBGD.cjs → C_-fevMsOzoeHUX1.cjs} +3 -3
- package/browser/cjs/{MD9O1VNhhdH5RoiA.cjs → C_RM79K9AMokH2QJ.cjs} +57 -57
- package/browser/cjs/{q1y9tq62y47f7mxy.cjs → CkYsNsr2UZ6GJi0E.cjs} +1 -1
- package/browser/cjs/{DVATnEUJxTQMsLOO.cjs → CkkvS-F90xn4I7rJ.cjs} +1 -1
- package/browser/cjs/{D80cB8tOFfQNF4oS.cjs → CowjlwpqcDbAgu6c.cjs} +2 -2
- package/browser/cjs/{8ORcPDrnyLtyRBC5.cjs → CpY-5ZfeRzaP61dG.cjs} +4 -4
- package/browser/cjs/{DHdO6HcI4UB6Ks3h.cjs → Cwnb4T0WdA2DpO6l.cjs} +2 -2
- package/browser/cjs/{pI4yZSOoBjkftfKX.cjs → D58RZavNtO-WdBdw.cjs} +1 -1
- package/browser/cjs/{CBNecyEra54crLep.cjs → D7HKuOM-LllPjJbc.cjs} +2 -2
- package/browser/cjs/{D0ApB39VH979ZUCx.cjs → D8bM6LcNtnUixiLd.cjs} +1 -1
- package/browser/cjs/{oGzYb3Ra2l_2M4Fe.cjs → DBsNfJK9kgDaJIC5.cjs} +2 -2
- package/browser/cjs/{D6RF346wXtLKkoJ-.cjs → DD4LnZu1J3JZmMST.cjs} +2 -2
- package/browser/cjs/{D6pv0GOQycMcOyhu.cjs → DJmA92ScRYkRNHr8.cjs} +1 -1
- package/browser/cjs/{Dg0Zl23k4ZwHK5Nt.cjs → DOJeH6L1b_NYsknS.cjs} +2 -2
- package/browser/cjs/{DEzEcMfZx0I-QgJj.cjs → DRoIkxlMmTEzzgsq.cjs} +1 -1
- package/browser/cjs/{C7GKCVS4tFPkLsu7.cjs → DXPn20Z-hXJj0Bjc.cjs} +1 -1
- package/browser/cjs/{DFAQXO44wRvSlwCZ.cjs → D_dgAvL8PqalpMMm.cjs} +1 -1
- package/browser/cjs/{De082R33Q24Czdd2.cjs → DcntS4dVnAy4TwCl.cjs} +2 -2
- package/browser/cjs/{JZZCpLEpsC2LCYHH.cjs → Dh6N83HOXQnIi6eD.cjs} +2 -2
- package/browser/cjs/{Cd4lc7sbp3kKfIbA.cjs → DhT5l1nC8v5n3mI2.cjs} +2 -2
- package/browser/cjs/{C23bIG7E2r_Q0RAj.cjs → DmGAgS9-QDlvMpsH.cjs} +9 -9
- package/browser/cjs/{CTT_jzhLio55PSMa.cjs → Dp2HaoMVlQBZmdJR.cjs} +4 -4
- package/browser/cjs/{ChIk2dRWK_RpFnZl.cjs → DrZp2De1Ceg32Kr5.cjs} +2 -2
- package/browser/cjs/{dGtOlClU3aLzqX9G.cjs → DtgzMHlfyHeAXjgF.cjs} +1 -1
- package/browser/cjs/{B47DWuTo-MqQ3jZz.cjs → DyetmnKituvbVpAa.cjs} +1 -1
- package/browser/cjs/{ipGL9YCfyze4LbQj.cjs → Gj-mHeRNeqGqvlES.cjs} +1 -1
- package/browser/cjs/{9YNUOzk1ChRHaQ0A.cjs → O7wJ0khshNgDHhIc.cjs} +1 -1
- package/browser/cjs/{B13vFaAy_2-LVET-.cjs → Vf_ah_b03vdfE3ru.cjs} +1 -1
- package/browser/cjs/{B0Z0aRvslQ-luY7V.cjs → VqXvdfsWxA_K-5Ex.cjs} +2 -2
- package/browser/cjs/{Xzq847s6zAFUFWcq.cjs → gxwT1w-qgEmDMY0E.cjs} +1 -1
- package/browser/cjs/{BrKvmHqdJp6qNOFB.cjs → hZddd0l0AwDjrIuc.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{BlswEA5cHtxUqfLX.cjs → pSQ1idMlzpT4UK0i.cjs} +2 -2
- package/browser/cjs/{D4llH4xbqGzmuVYe.cjs → qHGOMnwcNQhF5hJK.cjs} +1 -1
- package/browser/cjs/{B3C8eQFrLaL-fvH-.cjs → rnqMim6wQNkN8UU4.cjs} +14 -14
- package/browser/cjs/{8gwQqoquag37n7A4.cjs → w3tcpoHaegCl8_iT.cjs} +1 -1
- package/browser/esm/{uYFnTWRHS-M71aW3.mjs → 4aFM9IYjAjyhZDlq.mjs} +2 -2
- package/browser/esm/{BTM0pYbZvfLqBj6Z.mjs → B1TNjs3DJMr0pbtF.mjs} +2 -2
- package/browser/esm/{P5B5SOdOUaZr99nj.mjs → B4XZfefr-bz6Pdt9.mjs} +2 -2
- package/browser/esm/{VzlXiTXfqwuLrkgg.mjs → B7HO8ZpVKQq-WpI7.mjs} +1 -1
- package/{cdn/assets/ji2x5yzvwhn2JiFp.js → browser/esm/BAQ9yj7xFyqsJPAd.mjs} +1 -1
- package/browser/esm/{C1TJTYVoSUvCsI72.mjs → BODVsKHVApv63hi5.mjs} +2 -2
- package/browser/esm/{Bioh6T6jynIt2aBf.mjs → BS5tM0LLXtmU6BC_.mjs} +2 -2
- package/{cdn/assets/DKrP22W3r6dc2ll8.js → browser/esm/BXeU9MWWLu7OeigM.mjs} +1 -1
- package/browser/esm/{ChrPZQnuQU-qVVa1.mjs → BY65rBGEqoRJMqBs.mjs} +10 -10
- package/browser/esm/{m7fz1VY0WrHhVE1u.mjs → BZ3YXob52SPxPFD0.mjs} +1 -1
- package/browser/esm/{BrGzSkrQVV-CCVui.mjs → BcEPkiSHERcWEWyl.mjs} +1 -1
- package/browser/esm/{DvaoVWL-VdS7k_i3.mjs → BfRx9yySN_e7ZQbb.mjs} +2 -2
- package/{cdn/assets/BfH0870g7ogWyWTa.js → browser/esm/BiqoHhOyYEtpgfz5.mjs} +1 -1
- package/{cdn/assets/BkjhtLKdZkaleH6j.js → browser/esm/BkIUt0s6jqlrSO7t.mjs} +1 -1
- package/browser/esm/{C2sR98LOxBBkEECx.mjs → BoaC8MRCqtpP_goE.mjs} +1 -1
- package/{cdn/assets/Cb1GBW9E5GfRvhuS.js → browser/esm/BwuAACy86XQd0r9H.mjs} +1 -1
- package/{cdn/assets/DYqsn4bTq8tt9z2d.js → browser/esm/C-hXgLAdORdKqJmG.mjs} +1 -1
- package/browser/esm/{NohZsi_dnB1kc2oI.mjs → C-yV4uS4-pk7T8wq.mjs} +1 -1
- package/browser/esm/{CUq15BKQ0G25o03H.mjs → C0enYEAhREbynMAD.mjs} +4 -4
- package/browser/esm/{J_m4I2bQAeYSJPWS.mjs → C0vrzB1RhP0BA__i.mjs} +1 -1
- package/{cdn/assets/_N4vH5kWapbfarDc.js → browser/esm/C2IXaoRd-J1b0n7I.mjs} +1 -1
- package/browser/esm/{CR9jsRCQsHJO01J4.mjs → C65IVLH_eOUfD06X.mjs} +8 -8
- package/browser/esm/{B3ECMs0QjPnXbJEw.mjs → C7vHazx_6mthV4R9.mjs} +2 -2
- package/{cdn/assets/JgQgURqWEwvTv_wi.js → browser/esm/CF-pbKUy8CQ6SgES.mjs} +1 -1
- package/browser/esm/{CFey64nL6K_JDHyo.mjs → CF4J6IDM30-WXhSx.mjs} +1 -1
- package/browser/esm/{BzXLeceeaODxxlsN.mjs → CFIhGwAXjycz5dUq.mjs} +3 -3
- package/browser/esm/{C3ZYwFCm4zV0PV7L.mjs → CO6OkYBew2KKDX_5.mjs} +1 -1
- package/{cdn/assets/DhT-2pf586yDvyqZ.js → browser/esm/CTXPqoD7oDVhBT4X.mjs} +1 -1
- package/{cdn/assets/Bgcy7JI6AzSoovcw.js → browser/esm/CWeaTt0irkvWrqL4.mjs} +1 -1
- package/browser/esm/{Z1fSZhtHNjC6OoN6.mjs → CYftWR0vSdUWRn2Z.mjs} +7817 -7833
- package/{cdn/assets/BDSX8FAyHcAmsE-T.js → browser/esm/CZO2hFD3umTBnm9r.mjs} +1 -1
- package/{cdn/assets/CzgyRT7Dh3AVKcWl.js → browser/esm/CeUbcEwp0cNaqj18.mjs} +1 -1
- package/browser/esm/{DRVrzDz7nVU_faHO.mjs → CxS-0-9S1ecpPb9-.mjs} +387 -387
- package/{cdn/assets/C4aAJQZlcVwK7Bv7.js → browser/esm/CyUfBBxuRU6CZ5Kh.mjs} +1 -1
- package/{cdn/assets/B9wr_AwSb0JtPoMv.js → browser/esm/D0A-tJxbcY0qDNob.mjs} +1 -1
- package/browser/esm/{B7wG8K-M9ldv3InT.mjs → D3KGlFIc4iOEQmRQ.mjs} +1 -1
- package/browser/esm/{6dkX2k_H0PA_iz5X.mjs → D5HhLgZ6vcAus0c9.mjs} +1 -1
- package/{cdn/assets/CKOpVcqPaB2s4dTb.js → browser/esm/D9oZfnx8XQICAuAR.mjs} +1 -1
- package/browser/esm/{BVvwFIl1xvigNZTj.mjs → DB2_f-Fg1FAY2Uvx.mjs} +1 -1
- package/browser/esm/{DswWgS_zGnCjt804.mjs → DHXXvQ2x_fqmnpFp.mjs} +2 -2
- package/browser/esm/{B4U-HbDDW978wKeB.mjs → DU9bcHdSn8g_qYPK.mjs} +3 -3
- package/browser/esm/{BzCCXyLxR1Tx_PQ6.mjs → DcqxrKAC0CliCOd7.mjs} +3 -3
- package/browser/esm/{CHOlVNulci003tpR.mjs → DcuQQrT98E_v-m7J.mjs} +4 -4
- package/browser/esm/{ee5ZMqTpvvsprimB.mjs → Dht4DZVbawQlW51S.mjs} +6 -6
- package/browser/esm/{BsryTthQuZrS1w0h.mjs → DmwjTNRMu3mrAhEh.mjs} +3 -3
- package/{cdn/assets/wrn_BUWuBI2ou-lE.js → browser/esm/Dyqyl22FQ7u-5nQg.mjs} +1 -1
- package/browser/esm/{CbiCECqtZzDk6jeR.mjs → KhEEeC1dy1pEML_5.mjs} +2 -2
- package/{cdn/assets/YFMiozbFWZjo74Td.js → browser/esm/Mdu783AKqLQFuFAi.mjs} +1 -1
- package/browser/esm/{CSU3ycILp620z_i8.mjs → QfpSUpja9WctKfdt.mjs} +2 -2
- package/browser/esm/{DjtYK-s8g6tP0TRw.mjs → Sz_hlqiUydAUV9O5.mjs} +2 -2
- package/browser/esm/{CfEvt84zrQGwFpt2.mjs → YUCx2g8ABxa1ExCE.mjs} +1 -1
- package/browser/esm/{Ce3pCanMx2TnvT0I.mjs → avKJgk0IGcf5bqxl.mjs} +2 -2
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{C4dAWyoYzg5AFxSE.mjs → k6dplGzG2KotvgOY.mjs} +2 -2
- package/browser/esm/{UQSXr-cpRWqp8Ktj.mjs → prLy9D5nxrDTulYj.mjs} +2 -2
- package/browser/esm/{0egw9xufQUK5XQZ5.mjs → swe5uQxGiNoljwcZ.mjs} +1 -1
- package/browser/esm/{CqxLzaP5z64d6Lx4.mjs → sz9lJ3jlPzIUu-eI.mjs} +1 -1
- package/browser/esm/{CrqJMWWEjzFZ-_Pk.mjs → uHHIT_oas6bdcl7T.mjs} +1 -1
- package/cdn/assets/{TAuxEP6K9MOe8hvY.js → -C5nZ__wNloSiQBU.js} +3 -3
- package/cdn/assets/{ddSl0Ga-rXVB9Yci.js → -RmAWseMjh618sly.js} +7 -7
- package/cdn/assets/{DMOM_dk7px3Id2fD.js → 1dSwxtvs5jJNozC2.js} +15 -15
- package/cdn/assets/{DuVOZ5CVHDzuF-Wf.js → AIT39BHt_2g-s3As.js} +5 -5
- package/cdn/assets/{VzlXiTXfqwuLrkgg.js → B7HO8ZpVKQq-WpI7.js} +1 -1
- package/{browser/esm/ji2x5yzvwhn2JiFp.mjs → cdn/assets/BAQ9yj7xFyqsJPAd.js} +1 -1
- package/cdn/assets/{tbqH71TvrNeRjwAy.js → BGYzQCmu8YtQv0hk.js} +3 -3
- package/{browser/esm/DKrP22W3r6dc2ll8.mjs → cdn/assets/BXeU9MWWLu7OeigM.js} +1 -1
- package/cdn/assets/{m7fz1VY0WrHhVE1u.js → BZ3YXob52SPxPFD0.js} +1 -1
- package/cdn/assets/{CvTBNZMoY5-DwtAb.js → BbpQ1Ci6AYjWQxnE.js} +2 -2
- package/cdn/assets/{BrGzSkrQVV-CCVui.js → BcEPkiSHERcWEWyl.js} +1 -1
- package/cdn/assets/{CR-xAI2miMYh-gdy.js → BcyrqopK0U_CLy9L.js} +4 -4
- package/{browser/esm/BfH0870g7ogWyWTa.mjs → cdn/assets/BiqoHhOyYEtpgfz5.js} +1 -1
- package/cdn/assets/{UGRaW68kY1lQin4c.js → BjqlgRc8H7Zwjgh4.js} +3 -3
- package/{browser/esm/BkjhtLKdZkaleH6j.mjs → cdn/assets/BkIUt0s6jqlrSO7t.js} +1 -1
- package/cdn/assets/{C2sR98LOxBBkEECx.js → BoaC8MRCqtpP_goE.js} +1 -1
- package/{browser/esm/Cb1GBW9E5GfRvhuS.mjs → cdn/assets/BwuAACy86XQd0r9H.js} +1 -1
- package/{browser/esm/DYqsn4bTq8tt9z2d.mjs → cdn/assets/C-hXgLAdORdKqJmG.js} +1 -1
- package/cdn/assets/{NohZsi_dnB1kc2oI.js → C-yV4uS4-pk7T8wq.js} +1 -1
- package/cdn/assets/{J_m4I2bQAeYSJPWS.js → C0vrzB1RhP0BA__i.js} +1 -1
- package/{browser/esm/_N4vH5kWapbfarDc.mjs → cdn/assets/C2IXaoRd-J1b0n7I.js} +1 -1
- package/cdn/assets/{BZpRwfavZD9rO_v8.js → C2xJ1-8E3UvCDFVm.js} +387 -387
- package/cdn/assets/{DK5o4bmDWZoxlyie.js → CA-iEdjENXePF7HK.js} +3 -3
- package/cdn/assets/{CdoIc8OarIB8C5y3.js → CDv_n4Q4fyeHGNC-.js} +16 -16
- package/{browser/esm/JgQgURqWEwvTv_wi.mjs → cdn/assets/CF-pbKUy8CQ6SgES.js} +1 -1
- package/cdn/assets/{CFey64nL6K_JDHyo.js → CF4J6IDM30-WXhSx.js} +1 -1
- package/cdn/assets/{Bp1BVz04Xy4W95PB.js → CHtu2w8dUH9qE_gV.js} +8 -8
- package/cdn/assets/{IQp8evg14s1_pMGI.js → CM3hIUGWZbcyiXoL.js} +3 -3
- package/cdn/assets/{C3ZYwFCm4zV0PV7L.js → CO6OkYBew2KKDX_5.js} +1 -1
- package/cdn/assets/{BFfLoUaapPcM_eb0.js → CTQArMyY5sn7brEn.js} +17 -17
- package/{browser/esm/DhT-2pf586yDvyqZ.mjs → cdn/assets/CTXPqoD7oDVhBT4X.js} +1 -1
- package/cdn/assets/{jeiAiNavXwDjx5bH.js → CVBaJALDWZmlWWg2.js} +18 -18
- package/{browser/esm/Bgcy7JI6AzSoovcw.mjs → cdn/assets/CWeaTt0irkvWrqL4.js} +1 -1
- package/{browser/esm/BDSX8FAyHcAmsE-T.mjs → cdn/assets/CZO2hFD3umTBnm9r.js} +1 -1
- package/{browser/esm/CzgyRT7Dh3AVKcWl.mjs → cdn/assets/CeUbcEwp0cNaqj18.js} +1 -1
- package/cdn/assets/{BZ1FXLdV7kLoj8S2.js → CleWxPUcczhRfrHP.js} +4 -4
- package/cdn/assets/{mgzh0Oj545G9VFmY.js → Cnl4kz_oDyI6jz9X.js} +15 -15
- package/cdn/assets/{B4MTgKmMZcXoDlYG.js → CrOJeFT3vEZBbGsU.js} +39 -39
- package/{browser/esm/C4aAJQZlcVwK7Bv7.mjs → cdn/assets/CyUfBBxuRU6CZ5Kh.js} +1 -1
- package/{browser/esm/B9wr_AwSb0JtPoMv.mjs → cdn/assets/D0A-tJxbcY0qDNob.js} +1 -1
- package/cdn/assets/{D6gMyvRPXwYEpaiW.js → D1oNCgzGxkEm86ML.js} +1 -1
- package/cdn/assets/{B7wG8K-M9ldv3InT.js → D3KGlFIc4iOEQmRQ.js} +1 -1
- package/cdn/assets/{6dkX2k_H0PA_iz5X.js → D5HhLgZ6vcAus0c9.js} +1 -1
- package/cdn/assets/{pv07rmyN2zy5KZrb.js → D7hbzFFwi6pemjZ6.js} +2 -2
- package/cdn/assets/{CxFPsh5ojrvYoLqP.js → D7levSDmgvF1R_cy.js} +80 -80
- package/{browser/esm/CKOpVcqPaB2s4dTb.mjs → cdn/assets/D9oZfnx8XQICAuAR.js} +1 -1
- package/cdn/assets/{BVvwFIl1xvigNZTj.js → DB2_f-Fg1FAY2Uvx.js} +1 -1
- package/cdn/assets/{McZLFG7PefCrtXxD.js → DVWSXiPvUKCZl8c1.js} +1 -1
- package/cdn/assets/{DWxb-keKnWDZ32ov.js → DmKA7DQzHDu4_OqC.js} +2 -2
- package/cdn/assets/{Bv7E-FgORAWOkyiV.js → Do8_yi3_u501_TAo.js} +2 -2
- package/cdn/assets/{BqbxC6sS2OoaM51Y.js → Dt4YpmBXEJFgXMqH.js} +2 -2
- package/cdn/assets/{DTHfoEyAv88YJtid.js → Dtu0hv3Ab7CCrY4R.js} +2 -2
- package/cdn/assets/{BHyn4CasWPQ92Eud.js → Dxp8ZbLp35r7F-sp.js} +20 -20
- package/{browser/esm/wrn_BUWuBI2ou-lE.mjs → cdn/assets/Dyqyl22FQ7u-5nQg.js} +1 -1
- package/cdn/assets/{gRJ4OcAtWEBEGLJD.js → KyCZ140AgyGGZCcB.js} +4 -4
- package/{browser/esm/YFMiozbFWZjo74Td.mjs → cdn/assets/Mdu783AKqLQFuFAi.js} +1 -1
- package/cdn/assets/{D4aEzWRsHbRiDZQf.js → YNhHFwthgm8SLyHw.js} +7774 -7790
- package/cdn/assets/{CfEvt84zrQGwFpt2.js → YUCx2g8ABxa1ExCE.js} +1 -1
- package/cdn/assets/qQr5GMLkoqLrmdV0.js +41 -0
- package/cdn/assets/{DZSQDf-SlYIAnwqI.js → qnEXpda2bHmKI7XO.js} +2 -2
- package/cdn/assets/{DAMni_kLlITX8qAW.js → ryvwL5F0lm91Z45H.js} +4 -4
- package/cdn/assets/{0egw9xufQUK5XQZ5.js → swe5uQxGiNoljwcZ.js} +1 -1
- package/cdn/assets/{CrqJMWWEjzFZ-_Pk.js → uHHIT_oas6bdcl7T.js} +1 -1
- package/cdn/assets/{BeENppGCoF_AwA6g.js → vPZX1gXFAkrxoNqD.js} +2 -2
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +16 -4
- package/cdn/assets/CaHwS8usPT5gIFuY.js +0 -41
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.5
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
-
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./
|
|
6
|
+
*/Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./C_RM79K9AMokH2QJ.cjs"),rs=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",ks=new RegExp(`^[${rs}][-${rs}.0-9·̀-ͯ‿-⁀]*$`,"u");function us(i){return i>=65&&i<=90||i>=97&&i<=122||i===58||i===95||i===8204||i===8205||i>=192&&i<=214||i>=216&&i<=246||i>=248&&i<=767||i>=880&&i<=893||i>=895&&i<=8191||i>=8304&&i<=8591||i>=11264&&i<=12271||i>=12289&&i<=55295||i>=63744&&i<=64975||i>=65008&&i<=65533||i>=65536&&i<=983039}const ns="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�𐀀-",As=new RegExp(`^[${ns}][-${ns}.0-9·̀-ͯ‿-⁀]*$`,"u");function ds(i){return i>=65&&i<=90||i===95||i>=97&&i<=122||i>=192&&i<=214||i>=216&&i<=246||i>=248&&i<=767||i>=880&&i<=893||i>=895&&i<=8191||i>=8204&&i<=8205||i>=8304&&i<=8591||i>=11264&&i<=12271||i>=12289&&i<=55295||i>=63744&&i<=64975||i>=65008&&i<=65533||i>=65536&&i<=983039}const Z=function(i){return i===32||i===10||i===13||i===9},Ps=function(i){return i>=32&&i<=55295||i===10||i===13||i===9||i>=57344&&i<=65533||i>=65536&&i<=1114111},ne=us,as=function(i){return us(i)||i>=48&&i<=57||i===45||i===46||i===183||i>=768&&i<=879||i>=8255&&i<=8256},ps=[32,10,13,9],Ds=ks,Es=function(i){return i>=1&&i<=55295||i>=57344&&i<=65533||i>=65536&&i<=1114111},Os=ds,Is=function(i){return ds(i)||i===45||i===46||i>=48&&i<=57||i===183||i>=768&&i<=879||i>=8255&&i<=8256},Vs=As,me="http://www.w3.org/XML/1998/namespace",Qt="http://www.w3.org/2000/xmlns/",Ls={__proto__:null,xml:me,xmlns:Qt},Ns={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},D=-1,ct=-2,W=13,Xt=33,nt=10,vt=60,Gt=61,H=62,F=63,Zt=93,fe=i=>i===34||i===39,gs=[34,39],Rs=[...gs,91,H],Ms=[...gs,vt,Zt],$s=[Gt,F,...ps],Xs=[...ps,H,38,vt];function Ee(i,t,s){switch(t){case"xml":s!==me&&i.fail(`xml prefix must be bound to ${me}.`);break;case"xmlns":s!==Qt&&i.fail(`xmlns prefix must be bound to ${Qt}.`)}switch(s){case Qt:i.fail(t===""?`the default namespace may not be set to ${s}.`:`may not assign a prefix (even "xmlns") to the URI ${Qt}.`);break;case me:switch(t){case"xml":break;case"":i.fail(`the default namespace may not be set to ${s}.`);break;default:i.fail("may not assign the xml namespace to another prefix.")}}}const Hs=i=>Vs.test(i),js=i=>Ds.test(i),ls={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};class Fs{constructor(t){this.i=0,this.prevI=0,this.opt=t??{},this.fragmentOpt=!!this.opt.fragment;const s=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=this.opt.position!==!1,this.fileName=this.opt.fileName,s){this.nameStartCheck=Os,this.nameCheck=Is,this.isName=Hs,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns={__proto__:null,...Ls};const o=this.opt.additionalNamespaces;o!=null&&((function(n,a){for(const h of Object.keys(a))Ee(n,h,a[h])})(this,o),Object.assign(this.ns,o))}else this.nameStartCheck=ne,this.nameCheck=as,this.isName=js,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];const{fragmentOpt:t}=this;this.state=t?W:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=t,this.xmlDeclPossible=!t,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:s}=this.opt;if(s===void 0){if(this.opt.forceXMLVersion===!0)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");s="1.0"}this.setXMLVersion(s),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(Ns),this.readyHandler?.()}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(t,s){this[ls[t]]=s}off(t){this[ls[t]]=void 0}makeError(t){let s=this.fileName??"";return this.trackPosition&&(s.length>0&&(s+=":"),s+=`${this.line}:${this.column}`),s.length>0&&(s+=": "),new Error(s+t)}fail(t){const s=this.makeError(t),o=this.errorHandler;if(o===void 0)throw s;return o(s),this}write(t){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let s=!1;t===null?(s=!0,t=""):typeof t=="object"&&(t=t.toString()),this.carriedFromPrevious!==void 0&&(t=`${this.carriedFromPrevious}${t}`,this.carriedFromPrevious=void 0);let o=t.length;const n=t.charCodeAt(o-1);!s&&(n===13||n>=55296&&n<=56319)&&(this.carriedFromPrevious=t[o-1],o--,t=t.slice(0,o));const{stateTable:a}=this;for(this.chunk=t,this.i=0;this.i<o;)a[this.state].call(this);return this.chunkPosition+=o,s?this.end():this}close(){return this.write(null)}getCode10(){const t=this.chunk,s=this.i;if(this.prevI=s,this.i++,s>=t.length)return D;const o=t.charCodeAt(s);if(this.column++,o<55296){if(o>=32||o===9)return o;switch(o){case nt:return this.line++,this.column=0,this.positionAtNewLine=this.position,nt;case 13:return t.charCodeAt(s+1)===nt&&(this.i=s+2),this.line++,this.column=0,this.positionAtNewLine=this.position,ct;default:return this.fail("disallowed character."),o}}if(o>56319)return o>=57344&&o<=65533||this.fail("disallowed character."),o;const n=65536+1024*(o-55296)+(t.charCodeAt(s+1)-56320);return this.i=s+2,n>1114111&&this.fail("disallowed character."),n}getCode11(){const{chunk:t,i:s}=this;if(this.prevI=s,this.i=s+1,s>=t.length)return D;const o=t.charCodeAt(s);if(this.column++,o<55296){if(o>31&&o<127||o>159&&o!==8232||o===9)return o;switch(o){case nt:return this.line++,this.column=0,this.positionAtNewLine=this.position,nt;case 13:{const a=t.charCodeAt(s+1);a!==nt&&a!==133||(this.i=s+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,ct;default:return this.fail("disallowed character."),o}}if(o>56319)return o>=57344&&o<=65533||this.fail("disallowed character."),o;const n=65536+1024*(o-55296)+(t.charCodeAt(s+1)-56320);return this.i=s+2,n>1114111&&this.fail("disallowed character."),n}getCodeNorm(){const t=this.getCode();return t===ct?nt:t}unget(){this.i=this.prevI,this.column--}captureTo(t){let{i:s}=this;const{chunk:o}=this;for(;;){const n=this.getCode(),a=n===ct,h=a?nt:n;if(h===D||t.includes(h))return this.text+=o.slice(s,this.prevI),h;a&&(this.text+=`${o.slice(s,this.prevI)}
|
|
7
7
|
`,s=this.i)}}captureToChar(t){let{i:s}=this;const{chunk:o}=this;for(;;){let n=this.getCode();switch(n){case ct:this.text+=`${o.slice(s,this.prevI)}
|
|
8
|
-
`,s=this.i,n=nt;break;case
|
|
9
|
-
`,t=this.i;break;case 59:{const{entityReturnState:o}=this,n=this.entity+s.slice(t,this.prevI);let a;this.state=o,n===""?(this.fail("empty entity name."),a="&;"):(a=this.parseEntity(n),this.entity=""),o===W&&this.textHandler===void 0||(this.text+=a);break t}case
|
|
10
|
-
`),t=this.i,s=0;break;case
|
|
11
|
-
`),t=this.i;break;case P:o!==void 0&&(this.text+=s.slice(t));break t;default:Q(a)||(n=!0)}}n&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}pushAttribNS(t,s){const{prefix:o,local:n}=this.qname(t),a={name:t,prefix:o,local:n,value:s};if(this.attribList.push(a),this.attributeHandler?.(a),o==="xmlns"){const h=s.trim();this.currentXMLVersion==="1.0"&&h===""&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[n]=h,Ee(this,n,h)}else if(t==="xmlns"){const h=s.trim();this.topNS[""]=h,Ee(this,"",h)}}pushAttribPlain(t,s){const o={name:t,value:s};this.attribList.push(o),this.attributeHandler?.(o)}end(){this.sawRoot||this.fail("document must contain a root element.");const{tags:t}=this;for(;t.length>0;){const o=t.pop();this.fail(`unclosed tag: ${o.name}`)}this.state!==0&&this.state!==W&&this.fail("unexpected end.");const{text:s}=this;return s.length!==0&&(this.textHandler?.(s),this.text=""),this._closed=!0,this.endHandler?.(),this._init(),this}resolve(t){let s=this.topNS[t];if(s!==void 0)return s;const{tags:o}=this;for(let n=o.length-1;n>=0;n--)if(s=o[n].ns[t],s!==void 0)return s;return s=this.ns[t],s!==void 0?s:this.opt.resolvePrefix?.(t)}qname(t){const s=t.indexOf(":");if(s===-1)return{prefix:"",local:t};const o=t.slice(s+1),n=t.slice(0,s);return(n===""||o===""||o.includes(":"))&&this.fail(`malformed name: ${t}.`),{prefix:n,local:o}}processAttribsNS(){const{attribList:t}=this,s=this.tag;{const{prefix:a,local:h}=this.qname(s.name);s.prefix=a,s.local=h;const f=s.uri=this.resolve(a)??"";a!==""&&(a==="xmlns"&&this.fail('tags may not have "xmlns" as prefix.'),f===""&&(this.fail(`unbound namespace prefix: ${JSON.stringify(a)}.`),s.uri=a))}if(t.length===0)return;const{attributes:o}=s,n=new Set;for(const a of t){const{name:h,prefix:f,local:D}=a;let x,S;f===""?(x=h==="xmlns"?Zt:"",S=h):(x=this.resolve(f),x===void 0&&(this.fail(`unbound namespace prefix: ${JSON.stringify(f)}.`),x=f),S=`{${x}}${D}`),n.has(S)&&this.fail(`duplicate attribute: ${S}.`),n.add(S),a.uri=x,o[h]=a}this.attribList=[]}processAttribsPlain(){const{attribList:t}=this,s=this.tag.attributes;for(const{name:o,value:n}of t)s[o]!==void 0&&this.fail(`duplicate attribute: ${o}.`),s[o]=n;this.attribList=[]}openTag(){this.processAttribs();const{tags:t}=this,s=this.tag;s.isSelfClosing=!1,this.openTagHandler?.(s),t.push(s),this.state=W,this.name=""}openSelfClosingTag(){this.processAttribs();const{tags:t}=this,s=this.tag;s.isSelfClosing=!0,this.openTagHandler?.(s),this.closeTagHandler?.(s),(this.tag=t[t.length-1]??null)===null&&(this.closedRoot=!0),this.state=W,this.name=""}closeTag(){const{tags:t,name:s}=this;if(this.state=W,this.name="",s==="")return this.fail("weird empty close tag."),void(this.text+="</>");const o=this.closeTagHandler;let n=t.length;for(;n-- >0;){const a=this.tag=t.pop();if(this.topNS=a.ns,o?.(a),a.name===s)break;this.fail("unexpected close tag.")}n===0?this.closedRoot=!0:n<0&&(this.fail(`unmatched closing tag: ${s}.`),this.text+=`</${s}>`)}parseEntity(t){if(t[0]!=="#"){const o=this.ENTITIES[t];return o!==void 0?o:(this.fail(this.isName(t)?"undefined entity.":"disallowed character in entity name."),`&${t};`)}let s=NaN;return t[1]==="x"&&/^#x[0-9a-f]+$/i.test(t)?s=parseInt(t.slice(2),16):/^#[0-9]+$/.test(t)&&(s=parseInt(t.slice(1),10)),this.isChar(s)?String.fromCodePoint(s):(this.fail("malformed character entity."),`&${t};`)}}var Oe,mt;(mt=Oe||(Oe={})).Events={XmlDecl:"xmldecl",Text:"text",ProcessingInstruction:"processinginstruction",Doctype:"doctype",Comment:"comment",OpenTagStart:"opentagstart",Attribute:"attribute",OpenTag:"opentag",CloseTag:"closetag",CDdata:"cdata",Error:"error",End:"end",Ready:"ready"},mt.parseStream=async(i,t,s)=>{const o=new Fs({position:!1,...s});let n;if(t.onOpenTagStart&&o.on(mt.Events.OpenTagStart,t.onOpenTagStart),t.onOpenTag&&o.on(mt.Events.OpenTag,t.onOpenTag),t.onCloseTag&&o.on(mt.Events.CloseTag,t.onCloseTag),t.onAttribute&&o.on(mt.Events.Attribute,t.onAttribute),t.onText&&o.on(mt.Events.Text,t.onText),t.onError&&o.on(mt.Events.Error,t.onError),t.onEnd){t.onEnd;const a=()=>{n=t.onEnd()};o.on(mt.Events.End,a)}for(;;){const{value:a,done:h}=await i.read();if(h)break;o.write(a)}return o.close(),n};const v=i=>i===!0||i==="1"||i==="on"||i==="true"||i!==!1&&i!=="0"&&i!=="off"&&i!=="false"&&null,A=i=>{const t=parseInt(i);return isNaN(t)?null:t},ht=i=>{const t=parseFloat(i);return isNaN(t)?null:t},k=null;class Bs{constructor(){this._registeredVisitors=new Map}registerVisitor(t){this._registeredVisitors.set(t.from,t)}createEventHandler(t,s,o){const n=this._registeredVisitors,a=[];let h=null,f=null,D=null,x=null;const S=[],E={key:null,source:t};let b=null,R=!1;const _=(m,c)=>{let y=D.attributes[m];if(c){if(Array.isArray(c)){for(let O=0;O<c.length;O++)if(y==null||(y=c[O](y),y==null))return}else if(y==null||(y=c(y),y==null))return}return y},T={getSource:()=>b.source,setSource:m=>{b.source=m},setKey:m=>{b.key=m},getFrom:()=>D,getAttribute:(m,c)=>_(m,c)??null,hasAttribute:m=>T.getAttribute(m)!==null,getParent:()=>S[S.length-2].source,getPath:()=>{const m=[];for(let c=0;c<a.length;c++)m.push(a[c].local);return m.join("\\")},parseAttribute:_,copyToObject:(m,c,y,O)=>{const z=_(O??c,y);z!==void 0&&(m[c]=z)},copyTo:(m,c,y)=>{const O=_(y??m,c);O!==void 0&&(b.source[m]=O)},warn:m=>{o?o?.(m):console.warn(m)}};return{onOpenTag:m=>{let c=m.name;const y=c.indexOf(":");y!==-1&&(c=c.slice(y+1));const O=n.get(c);if(h={local:c,visitor:O,tag:m,destination:null},R)return a.push(h),f=c,void(D=m);x=h?.visitor??null,O&&(b=a.length===0?E:x?.to!==null?{key:null,source:{}}:null,h.destination=b,b&&S.push(b)),a.push(h),f=c,D=m,R=x?.to===null,x?.openTag?.(T)},onCloseTag:m=>{let c=m.name;const y=c.indexOf(":");if(y!==-1&&(c=c.slice(y+1)),c!==f)throw new Error(`mismatch open/close tag: '${c}'/'${f}'`);R||x?.closeTag?.(T);const O=a.pop()??null;h=a[a.length-1]??null;const z=O?.destination;if(z){S.pop(),b=S[S.length-1]??E;const ut=O.visitor;ut&&ut.to&&z.source!==void 0&&(Array.isArray(ut.to)?b.source.push?b.source.push(z.source):o?.(`Unable to parse array for ${ut.from} at ${T.getPath()}`):z.key?b.source[z.key]=z.source:typeof ut.to=="string"&&(b.source[ut.to]=z.source))}f=h?.local??null,D=h?.tag??null,x=h?.visitor??null,R=!h?.destination},onText:m=>{x?.text?.(m,T)},onEnd:s}}}const cs=(i,t,s,o=null)=>{if(!i)return null;let n=i;n.startsWith("/")&&(n=n.substring(1));let a=o?.parsedRefs?.get(i);if(a!==void 0)return a;const h=t(n);if(!h)return null;let f=h.content;try{s&&(f=s(f))}catch(D){console.warn(D)}return o?.parsedRefs?.set(i,f),f},Ie=(i,t,s,o,n=null)=>{if(!i)return null;let a=i;a.startsWith("/")&&(a=a.substring(1));let h=n?.parsedRefs?.get(i);if(h!==void 0)return h;const f=t(a);if(!f)return null;const D=f.content;try{const x=new TextDecoder().decode(D),S=s.parseFromString(x,"text/xml"),E=o.convert(S,i,n);return n?.parsedRefs?.set(i,E),E}catch(x){console.warn(x)}return null},Ut=(i,t,s,o,n=null)=>{const a=new Map;let h=t.Directory[i];const f=h?h.length:0;for(let D=0;D<f;D++){const x=h[D];if(!x)continue;let S=x;S.startsWith("/")&&(S=S.substring(1));const E=Ie(S,b=>t.files[b],s,o,n);a.set(S,E)}return a},qs=["lt1","dk1","lt2","dk2","accent1","accent2","accent3","accent4","accent5","accent6","hlink","folHlink"],Ve=(i,t="dk1")=>{let s;const o=i("auto");o===void 0||o!=="1"&&o!=="true"||(s=t);const n=i("indexed");n&&(s=`index${n}`);const a=i("rgb");a&&(s=a.toLowerCase(),a.length!==8||a.startsWith("FF")||(s="FF"+a.substring(2,a.length)));const h=i("theme");h&&(s=qs[h]);let f=i("tint");if(f&&(s+=` ${d.T$1.AdjustmentType.ETint} ${parseFloat(f)}`),s)return s},fs=i=>i&&i.replace(/^\{([\s\S]+)\}$/,"$1"),ms=i=>i==="true"||i==="1";class Ht{static{this.Collapsed=1}static{this.CustomFormat=2}static{this.CustomHeight=4}static{this.Hidden=8}static{this.Ht=16}static{this.OutlineLevel=32}static{this.Ph=64}static{this.R=128}static{this.S=256}static{this.Spans=512}static{this.ThickBot=1024}static{this.ThickTop=2048}}const Ws=(i,t,s)=>{if(i[0].value[0]===i[1].value[0])return t},hs={colStart:0,colEnd:0,rowStart:0,rowEnd:0},_s=Object.freeze(Object.defineProperty({__proto__:null,fromBufferXLSX:async(i,t)=>{const{password:s,createWorkbookOptions:o={},...n}=t??{},a=[],h=t?.progress,f=h?.onStart?.(t?.name??"Parsing XLSX");await Promise.resolve(f);const D=h?.onProgress;let x=0;const S=Promise.resolve().then(()=>require("./DVATnEUJxTQMsLOO.cjs")),E=Promise.resolve().then(()=>require("./JZZCpLEpsC2LCYHH.cjs"));let b=null;try{b=new DOMParser}catch{}let R=null;b||(R=Promise.resolve().then(()=>require("./B2LQcZ92fWIJv2Gz.cjs")).then(c=>c.i));let _=null,T=null,m=null;try{const c=await Promise.all([S,E,R]);_=c[0],T=c[1],m=c[2]}catch(c){throw new Error("Unable to load XLSX parser.",{cause:c})}try{const c=_.read(i,{type:"array",sheets:[],cellStyles:!1,bookFiles:!0});if(!c.Directory)throw new Error("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");c.Directory.richstructure=["/xl/richData/rdrichvaluestructure.xml"],c.Directory.richdata=["/xl/richData/rdrichvalue.xml"];const y=new T.FromOOXMLConverter,O=b??new m.DOMParser,z=o?.resources??new d.Mm,ut=z.beginPersist(),Le={},Ne=new Set,Te=new Map;Te.set("richTypes",[]);const Re=new Map,Me=[],ae=w=>c.files[w],ye=(w,B)=>{const Z=w.lastIndexOf("/"),et=w.substring(0,Z+1)+"_rels/"+w.substring(Z+1,w.length)+".rels";let dt=B.get(et);return dt||(dt=((L,ve,Se,Ce,Xt=null)=>{if(!L)return null;const st=Ie(L,ve,Se,Ce,Xt);if(!st)return null;const it=new Map,yt=Object.keys(st),Ft=yt.length;for(let bt=0;bt<Ft;bt++){const Bt=yt[bt],Ct=st[Bt];it.set(Bt,Ct)}return it})(et,ae,O,y,Tt),B.set(et,dt)),dt},le=(w,B,Z,et=Re)=>{let dt=ye(B,et).get(w),L=dt?.target;if(!L)return null;if(dt.targetMode==="External")return dt.target;const ve=B.lastIndexOf("/"),Se=B.substring(0,ve+1);L.startsWith("/")||(L=Se+L),L=(st=>{const it=st.split(/\/+/);return it.reduce((yt,Ft,bt)=>(Ft==="."?yt.splice(bt,1):Ft===".."&&yt.splice(bt-1,2),yt),it).join("/")})(L);const Ce=y?.getVisitorParamsState().get("dxfs");let Xt=et.get(L);if(!Xt)if(dt.type==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"){const st={};Xt=st;const it=async()=>{const yt=((M,X,Jt,U,J,G,Kt,kt)=>{const u=new Bs,K=new d.zt.TransposedBuilder;let j=null;u.registerVisitor({from:"autoFilter",to:"filter",openTag:e=>{e.copyTo("ref",k)}}),u.registerVisitor({from:"conditionalFormatting",to:{},openTag:e=>{const r=e.getParent();r.conditionals||(r.conditionals=[]),r.conditionals.push(e.getSource());const l=e.getAttribute("sqref");l&&(e.getSource().ref=l.split(" ").join(",")),e.copyTo("pivot",v)},closeTag:e=>{const r=e.getSource();if(r.rule){const l=Object.keys(r.rule);for(let p=0;p<l.length;p++){const I=l[p];I!=="rule"&&(r[I]=r.rule[I])}}delete r.rule}}),u.registerVisitor({from:"cfRule",to:"rule",openTag:e=>{const r=e.getParent();e.copyToObject(r,"type",k),e.copyToObject(r,"priority",A),e.copyToObject(r,"stopIfTrue",v);const l=e.getAttribute("dxfId",A);if(l!==null){let p=U?.get(l);p||(G?.(`Unable to load conditional color. Invalid dxfI: '${l}' at '${e.getPath()}'.`),p={}),r.style=p}e.copyToObject(r,"aboveAverage",v),e.copyToObject(r,"equalAverage",v),e.copyToObject(r,"stdDev",A),e.copyToObject(r,"bottom",v),e.copyToObject(r,"percent",v),e.copyToObject(r,"rank",A),e.copyToObject(r,"operator",k),e.copyToObject(r,"text",k),e.copyToObject(r,"timePeriod",k)}}),u.registerVisitor({from:"colorScale",to:"colorScale"}),u.registerVisitor({from:"dataBar",to:"dataBar",openTag:e=>{e.copyTo("maxLength",A),e.copyTo("minLength",A),e.copyTo("showValue",v)}}),u.registerVisitor({from:"iconSet",to:"iconSet",openTag:e=>{e.copyTo("iconSet",k),e.copyTo("reverse",v),e.copyTo("showValue",v)}}),u.registerVisitor({from:"formula",to:null,text:(e,r)=>{const l=r.getParent();let p=l.formulas;p||(p=[],l.formulas=p),p.push(e)}}),u.registerVisitor({from:"cfvo",to:{},openTag:e=>{const r=e.getParent();r.conditions||(r.conditions=[]),r.conditions.push(e.getSource()),e.copyTo("type",k),e.copyTo("value",ht,"val"),e.copyTo("gte",v)}}),u.registerVisitor({from:"color",to:{},openTag:e=>{const r=e.getParent();r.colors||(r.colors=[]);const l=Ve(p=>e.getAttribute(p));r.colors.push(l)}}),u.registerVisitor({from:"filterColumn",to:"filterColumn",openTag:e=>{const r=e.getParent();r.fields||(r.fields=[]),r.fields.push(e.getSource()),e.copyTo("offset",A,"colId"),e.copyTo("hiddenButton",v),e.copyTo("showButton",v)}}),u.registerVisitor({from:"colorFilter",to:"colorFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.hd.Type.Color,e.copyTo("cellColor",v),e.copyTo("styleId",A,"dxfId")}}),u.registerVisitor({from:"dynamicFilter",to:"dynamicFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.hd.Type.Dynamic,e.copyTo("dynamicType",k,"type"),e.copyTo("val",ht),e.copyTo("maxVal",ht,"maxVal")}}),u.registerVisitor({from:"iconFilter",to:"iconFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.hd.Type.Icon,e.copyTo("iconId",A),e.copyTo("iconSet",k)}}),u.registerVisitor({from:"top10",to:"top10",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.hd.Type.Top10,e.copyTo("filterVal",ht),e.copyTo("percent",v),e.copyTo("top",v),e.copyTo("val",ht)}}),u.registerVisitor({from:"filters",to:"filters",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.hd.Type.Items,e.copyTo("blank",v),e.copyTo("calendarType",k)}}),u.registerVisitor({from:"dateGroupItem",to:"dateGroupItem",openTag:e=>{const r=e.getParent();r.dateGroups||(r.dateGroups=[]),r.dateGroups.push(e.getSource()),e.copyTo("group",k,"dateTimeGrouping"),e.copyTo("day",A),e.copyTo("hour",A),e.copyTo("minute",A),e.copyTo("month",A),e.copyTo("second",A),e.copyTo("year",A)}}),u.registerVisitor({from:"filter",to:"filter",openTag:e=>{const r=e.getParent();r.items||(r.items=[]),r.items.push(e.getAttribute("val",ht))}}),u.registerVisitor({from:"customFilters",to:"customFilters",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.hd.Type.Custom,e.copyTo("and",v)}}),u.registerVisitor({from:"customFilter",to:"customFilter",openTag:e=>{const r=e.getParent();r.filters||(r.filters=[]),r.filters.push(e.getSource()),e.copyTo("operator",k),e.copyTo("value",ht,"val")}}),u.registerVisitor({from:"sortState",to:"sort",openTag:e=>{e.copyTo("ref",k)}}),u.registerVisitor({from:"sortCondition",to:"sortCondition",openTag:e=>{const r=e.getParent();r.fields||(r.fields=[]);const l=e.getSource();r.fields.push(l),e.copyTo("sortOn",k,"sortBy"),e.copyTo("dxfId",k,"sortBy"),e.copyTo("iconSet",k),e.copyTo("customList",k);const p=e.getAttribute("ref");if(p){const I=d.no.fastStringToRange(p,hs).colStart,Y=d.no.fastStringToRange(r.ref,hs),qt=Y.colStart;l.offset=Y?I-qt:I}l.reverse=e.getAttribute("descending",v)??!1}}),u.registerVisitor({from:"AlternateContent",to:null});const de=e=>{j=e.getSource(),e.copyTo("topLeft",k,"topLeftCell");const r=ms(e.getAttribute("defaultGridColor")),l=e.getAttribute("colorId");l===null||r||(e.getSource().gridLineColor="index"+parseFloat(l)),e.copyTo("showZeros",v),e.copyTo("showFormulas",v),e.copyTo("zoomScale",A),e.copyTo("showRowHeaders",v,"showRowColHeaders"),e.copyTo("showColumnHeaders",v,"showRowColHeaders"),e.copyTo("showRowGridlines",v,"showGridLines"),e.copyTo("showColumnGridlines",v,"showGridLines")};u.registerVisitor({from:"sheetView",to:"view",openTag:e=>{de(e)},closeTag:()=>{j=null}}),u.registerVisitor({from:"customSheetViews",to:"customSheetViews",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"customSheetView",to:[],openTag:e=>{de(e)},closeTag:()=>{j=null}}),u.registerVisitor({from:"selection",to:"selection",openTag:e=>{if(!j)return;e.copyTo("cell",k,"activeCell"),e.copyTo("rangeIndex",A,"activeCellId");const r=e.getAttribute("activeCell"),l=e.getAttribute("sqref");l&&l!==r&&(e.getSource().ranges=l.split(" "))}}),u.registerVisitor({from:"pane",to:"pane",openTag:e=>{if(j&&e.getAttribute("state")==="frozen"){const r={};j.freezePanes=r,e.copyToObject(r,"topLeft",k,"topLeftCell");const l=j.topLeft?d.no.fastStringToCell(j.topLeft):{colIndex:0,rowIndex:0},p={colIndex:0,rowIndex:0};e.copyToObject(p,"colIndex",A,"xSplit"),e.copyToObject(p,"rowIndex",A,"ySplit");const I={colIndex:l.colIndex+p.colIndex,rowIndex:l.rowIndex+p.rowIndex};r.coords=d.no.cellToString(I)}}}),u.registerVisitor({from:"tabColor",to:null,openTag:e=>{const r=Ve(l=>e.getAttribute(l));r&&(M.tabColor=r)}}),u.registerVisitor({from:"pageSetUpPr",to:"pageSetUpPr",openTag:e=>{}}),u.registerVisitor({from:"outlinePr",to:"outlinePr",openTag:e=>{}}),u.registerVisitor({from:"pageMargins",to:"pageMargins",openTag:e=>{}}),u.registerVisitor({from:"pageSetup",to:"pageSetup",openTag:e=>{}}),u.registerVisitor({from:"printOptions",to:"printOptions",openTag:e=>{}}),u.registerVisitor({from:"mergeCells",to:"merges",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"mergeCell",to:[],openTag:e=>{const r=e.getAttribute("ref");e.setSource(r)}}),u.registerVisitor({from:"hyperlinks",to:"hyperlinks",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"hyperlink",to:[],openTag:e=>{const r=e.getAttribute("r:id"),l=e.getAttribute("ref");if(!l)return void console.warn("No ref found for hyperlink");e.setKey(l);let p=r?X(r):"";if(typeof p!="string")return void console.warn("Invalid address ",p);const I=e.getAttribute("location");p.endsWith("\\")&&(p=p.substring(0,p.length-1));const Y=e.getAttribute("location");if(Y&&(I&&I!==Y&&console.warn("display and location are different",I,Y),p+="#"+Y),!p)return void console.warn("No address found for hyperlink. r:id",r);let qt;const xt=e.getAttribute("tooltip");qt=xt?{address:p,tooltip:xt}:p,e.setSource({r:l,v:qt})}}),u.registerVisitor({from:"drawing",to:"movables",openTag:e=>{const r=e.getAttribute("r:id");if(!r)return;const l=X(r);l?e.setSource(l.movables):console.warn("no drawing found for rId",r)}}),u.registerVisitor({from:"tableParts",to:"tables",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"tablePart",to:[],openTag:e=>{const r=e.getAttribute("r:id");if(!r)return;const l=X(r);l?e.setSource(l):console.warn("no table found for rId",r)}}),u.registerVisitor({from:"worksheet",to:"worksheet",openTag:e=>{}}),u.registerVisitor({from:"sheetProtection",to:"protection",openTag:e=>{let r=!1;if(e.hasAttribute("sheet")&&v(e.getAttribute("sheet"))&&(r=!0),!r)return void e.setSource(void 0);const l=I=>I===!0||I==="1"||I==="on"||I==="true"||I===!1||I==="0"||I==="off"||I==="false"||null;e.copyTo("autoFilter",l),e.copyTo("deleteColumns",l),e.copyTo("formatCells",l),e.copyTo("formatColumns",l),e.copyTo("formatRows",l),e.copyTo("insertColumns",l),e.copyTo("insertHyperlinks",l),e.copyTo("insertRows",l),e.copyTo("objects",l),e.copyTo("pivotTables",l),e.copyTo("scenarios",l),e.copyTo("selectUnlockedCells",l),e.copyTo("selectUnlockedCells",l),e.copyTo("sort",l);const p={};e.copyToObject(p,"hash",k,"hashValue"),e.copyToObject(p,"algorithm",k,"algorithmName"),e.copyToObject(p,"salt",k,"saltValue"),e.copyToObject(p,"spinCount",A),Object.keys(p).length>0&&(e.getSource().password=p)}}),u.registerVisitor({from:"protectedRanges",to:"protectedRanges",openTag:e=>{e.setSource({})}}),u.registerVisitor({from:"protectedRange",to:{},openTag:e=>{const r=e.getAttribute("sqref");e.setKey(r),e.copyTo("name"),e.copyTo("securityDescriptor");const l={};e.copyToObject(l,"hash",k,"hashValue"),e.copyToObject(l,"algorithm",k,"algorithmName"),e.copyToObject(l,"salt",k,"saltValue"),e.copyToObject(l,"spinCount",A),Object.keys(l).length>0&&(e.getSource().password=l)}}),u.registerVisitor({from:"sheetFormatPr",to:"sheetFormatPr",openTag:e=>{e.copyToObject(M,"defaultColSize",ht,"defaultColWidth"),e.copyToObject(M,"outlineLevelCol",A,"outlineLevelCol");const r=e.getAttribute("customHeight");r!=="1"&&r!=="true"||e.copyToObject(M,"defaultRowSize",ht,"defaultRowHeight"),e.copyToObject(M,"outlineLevelRow",A,"outlineLevelRow")}}),u.registerVisitor({from:"cols",to:"cols",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"col",to:[],openTag:e=>{e.copyTo("min",r=>parseInt(r)-1),e.copyTo("max",r=>parseInt(r)-1),e.copyTo("sz",ht,"width"),e.copyTo("cs",v,"customWidth"),e.copyTo("h",v,"hidden"),e.copyTo("l",A,"outlineLevel"),e.copyTo("s",A,"style")}}),u.registerVisitor({from:"oleObjects",to:null,openTag:e=>{e.warn("'OLE Objects' are not supported.")}});let Yt=null;const Ss={onOpenTag:e=>{Yt===null&&(Yt="")},onText:e=>{Yt+=e},onEnd:()=>{const e=Jt(Yt);return Yt=null,e},onError:e=>{}};return((e,r,l,p,I,Y,qt)=>{let xt=!1,pe=!1,Wt=[],_t=!1,At=null,te=null,ge=null,at=null,qe=null,We=null;const Cs=qt?.get("richData")??[],_e=d.no.normalizeA1ToR1C1,ze=d.Qt.createConflatingRanges(),Ue=new Map,ke=[];let ee=null;const Ge=d.Qt.createConflatingRanges();let se,Dt=!1,q=-1,tt=-1,pt=null,ie=null;const Ae=[];let De=null,Qe=-2,gt=0,zt="",Pt="",Et="",Ot="",It="",Vt="",Lt="",Ze="",Je="",Ke="",Ye="",ts="",es="",ss="",ft=!0,Nt=null,Pe=0;return{...l,onEnd:()=>{Ae.length>0&&(r.rows=Ae);let g=ze.done(Ws);const C=g.length;if(C>0){const $=new Array(C);for(let V=0;V<C;V++){const lt=g[V],Rt=d.no.rangeToString(lt),Mt=lt.value[1],oe=d.no.resolveRelativeToA1(Mt,lt.rowStart,lt.colStart);$[V]=[Rt,oe]}r.formulas=$}const ot=Ge.done(!0),N=ot.length;if(N>0){const $=new Array(N);for(let V=0;V<N;V++){const lt=ot[V],Rt=d.no.rangeToString(lt);$[V]=Rt}r.volatile=$}if(ke.length>0&&(r.dynamicArray=[...ke]),Wt.length>0){Wt.sort(d.Qt.createRangeComparator(d.w.Orientation.Column));const $=[];let V=null,lt=-1,Rt=-1,Mt=-1,oe=-1,wt=null;const is=Wt.length;is>0&&(V=Wt[0],lt=V.colStart,Rt=V.colEnd,Mt=V.rowEnd,oe=V.value,$.push(V));for(let $t=1;$t<is;$t++)wt=Wt[$t],oe!==wt.value||lt!==wt.colStart||Rt!==wt.colEnd||Mt+1!==wt.rowEnd?($.push(wt),V=wt,lt=V.colStart,Rt=V.colEnd,Mt=V.rowEnd,oe=V.value):(Mt=wt.rowEnd,V.rowEnd=Mt);let os=[];for(let $t=0;$t<$.length;$t++){const re=$[$t];os.push({r:{colStart:re.colStart,colEnd:re.colEnd,rowStart:re.rowStart,rowEnd:re.rowEnd},v:re.value})}r.directStyles=os}const rt=e.build();if(rt){const $=rt.tuples;r.data=$}l?.onEnd?.()},onOpenTag:g=>{let C=g.name;const ot=C.indexOf(":");if(ot!==-1&&(C=C.slice(ot+1)),Pe++,Pe%196608==0&&I(Pe),se){const N=g.attributes;switch(C){case"v":pe=!0;break;case"f":switch(N.t??null){case null:case"normal":_t=!0;break;case"shared":const rt=N.si;te=N.ref,At=rt;break;case"array":_t=!0,te=N.ref,ee=[te,!1];break;case"datatable":_t=!0,te=N.ref,_t=!0}N.ca!==void 0&&Ge.append(q,tt);break;case"is":return void(Dt=!0)}return void(Dt&&Y?.onOpenTag(g))}if(xt){if(C==="c"){se=g;const N=g.attributes.r;tt=d.no.fastStringToCol(N);const rt=g.attributes.t;rt===void 0?ie=null:(ie=rt,ie==="str"&&(Dt=!0));let $=g.attributes.s;$!==void 0&&($=parseInt($),Nt&&Nt.value===$&&Nt.colEnd+1===tt?Nt.colEnd=tt:(Nt={colStart:tt,rowStart:q,colEnd:tt,rowEnd:q,value:$},Wt.push(Nt)))}}else{if(C==="row"){xt=!0;const N=g.attributes.r;if(q=parseInt(N)-1,gt=0,Pt=g.attributes.customHeight,Pt!==void 0&&(gt|=Ht.CustomHeight),Pt!==Je&&(ft=!0,Je=Pt),zt=g.attributes.ht,zt!==void 0&&(gt|=Ht.Ht),zt!==Ze&&(ft=!0,Ze=zt),Et=g.attributes.hidden,Et!==void 0&&(gt|=Ht.Hidden),Et!==Ke&&(ft=!0,Ke=Et),It=g.attributes.s,It!==void 0&&(gt|=Ht.S),It!==ts&&(ft=!0,ts=It),Ot=g.attributes.customFormat,Ot!==void 0&&(gt|=Ht.CustomFormat),Ot!==Ye&&(ft=!0,Ye=Ot),Vt=g.attributes.outlineLevel,Vt!==void 0&&(gt|=Ht.OutlineLevel),Vt!==es&&(ft=!0,es=Vt),Lt=g.attributes.collapsed,Lt!==void 0&&(gt|=Ht.Collapsed),Lt!==ss&&(ft=!0,ss=Lt),gt!==0)if(Qe+1!==q||ft){const rt=Pt!==void 0&&(Pt==="1"||Pt==="true"),$=Ot!==void 0&&(Ot==="1"||Ot==="true");De={min:q,max:q,sz:rt&&zt!==void 0?parseFloat(zt):-1,csz:rt,h:Et!==void 0&&(Et==="1"||Et==="true"),s:rt&&It!==void 0&&It!=="0"?parseInt(It):0,cs:$,l:Vt===void 0||Vt==="0"?0:parseInt(Vt),cl:Lt!==void 0&&(Lt==="1"||Lt==="true")},Ae.push(De)}else De.max=q;return Qe=q,void(ft=!1)}l?.onOpenTag(g)}},onCloseTag:g=>{if(se){let C=g.name;const ot=C.indexOf(":");if(ot!==-1&&(C=C.slice(ot+1)),Dt)if(C==="is"||C==="v"){const N=Y?.onEnd();N!==null&&e.addValue(q,tt,""+N)}else Y?.onCloseTag?.(g);return pe&&(pe=!1),void(C==="c"&&(se=null,Dt=!1))}if(xt)return xt=!1,void(Nt=null);l?.onCloseTag(g)},onText:g=>{if(g=g.trim(),pe){switch(pt=null,ie){case null:case"n":pt=parseFloat(g);break;case"b":pt=g==="1"||g==="true";break;case"s":pt=g;break;case"e":if(g==="#VALUE!"){const ot=se.attributes.vm;if(ot!==void 0){const N=Cs[parseInt(ot)-1];if(N&&N.isFormulaError){pt={t:d.M.Error,v:N.getCode()};break}}}const C=d.n.getBuiltInByLabel(g);C?pt={t:d.M.Error,v:C.getCode()}:(pt=g,p?.(`Unknown formula error '${g}' in cell ${d.no.cellToString({colIndex:tt,rowIndex:q})}`));break;case"str":case"inlineStr":Dt=!0}pt!==null&&e.addValue(q,tt,pt)}if(ee&&(ie==="e"&&(ee[1]=!0),ke.push(ee),ee=null),At)if(qe===At)at=We;else{if(at=Ue.get(At),!at){const C=[];ge=_e(g,q,tt,C),at=[ge,C,g],Ue.set(At,at)}qe=At,We=at}if(_t){const C=[];ge=_e(g,q,tt,C),at=[ge,C,g]}if(at)return ze.append(q,tt,at),at=null,_t=!1,At=null,void(te=null);Dt?Y?.onText(g):xt||l?.onText(g)}}})(K,M,u.createEventHandler(M,()=>{},G),G,e=>{x+=e,D?.(x)},Ss,kt)})(st,(M,X=!1)=>le(M,L,X)??null,ys,Ce,0,(M,X)=>{X=X?`${X} (${L})`:L,a.push([M,X])},0,Te),Ft=cs(L,ae),bt=await(async(M,X=8388608)=>{await(async()=>{if(typeof ReadableStream>"u")if(typeof window>"u"){const{ReadableStream:G}=await Promise.resolve().then(()=>require("./DFAQXO44wRvSlwCZ.cjs"));globalThis.ReadableStream=G}else console.warn("Browser does not support ReadableStream; consider loading a polyfill.")})();const Jt=new TextDecoder("utf-8");let U=0;const J=M instanceof Uint8Array?M:new Uint8Array(M);return new ReadableStream({pull(G){if(U>=J.byteLength)return void G.close();const Kt=J.subarray(U,Math.min(U+X,J.byteLength)),kt=Jt.decode(Kt,{stream:U+X<J.byteLength});G.enqueue(kt),U+=Kt.length}}).getReader()})(Ft);try{await Oe.parseStream(bt,yt,{xmlns:!1})}catch(M){throw console.warn(`Error parsing sheet: '${L}'`,M),new Error(`Error parsing sheet: '${L}'`,{cause:M})}const Bt=ye(L,et);let Ct,Be=new Map;if(Bt){const M="http://schemas.microsoft.com/office/2017/10/relationships/threadedComment";let X;Bt.forEach((U,J)=>{U.type===M&&(Ct=le(J,L,!1,et)?.comments,Ct&&Ct.forEach(G=>{Be.set(G.id,G)}))});const Jt="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";if(Bt.forEach((U,J)=>{U.type===Jt&&(X=le(J,L,!1,et))}),X||Ct){const U=Ct??[],J=X?.comments;if(J){const G=X?.authors,Kt=J.length;for(let kt=0;kt<Kt;kt++){const u=J[kt];if(!u)continue;let K=G&&u.authorId!==void 0?G[u.authorId]:u.authorId;if(K&&K.startsWith("tc=")&&(K=fs(K.substring(3)),Be.has(K)))continue;let j=null;K&&(j=he.get(K)),j||(j=He.get(K)),j||(j={id:d.te.uuidV4(),displayName:K},He.set(j.displayName,j),he.set(j.id,j)),K=j?.id??null;const de={id:d.te.uuidV4(),personId:K,ref:u.ref,done:!1,asNote:!0,content:u.content};U.push(de)}}st.comments=U}}};Me.push(it())}else Xt=Z?cs(L,ae,st=>{const it=z.add({buffer:st});return it.addReference(Le),Ne.add(it),ut.toResourceId(it)},Tt):Ie(L,ae,O,y,Tt);return Xt},Tt={paramMap:Te,getRefs:ye,getRef:le,parsedRefs:Re,addPerson:w=>null},ce=[];let be=0;c.Strings&&(be=parseInt(c.Strings.Unique??c.Strings.length??0));const Ts=c.Strings??[];for(let w=0;w<be;w++)ce.push(Ts[w]?.t??"");const $e=new Map;let je=be;const ys=w=>{const B=$e.get(w);if(B!==void 0)return B;const Z=je;return $e.set(w,je++),ce.push(w),Z},he=(Ut("richstructure",c,O,y,Tt),Ut("richdata",c,O,y,Tt),new Map),He=new Map,Xe=Ut("people",c,O,y);let St=null;if(Xe.size>0&&(St=Xe.entries().next()?.value?.[1]?.persons,St)){const w=St.length;for(let B=0;B<w;B++){const Z=St[B];he.set(Z.id,Z),he.set(Z.displayName,Z)}}const xe=Ut("themes",c,O,y,Tt);let Fe=null;if(xe&&xe.entries){let w=xe.entries().next();w?.value?.[1]&&(Fe=w.value[1])}const bs=new d.Fl(Fe);let ue=Ut("styles",c,O,y,Tt).entries().next()?.value[1];ue&&(ue=JSON.parse(d.oe(ue)));const xs=Ut("workbooks",c,O,y,Tt);await Promise.all(Me);const we={...xs.entries().next().value[1],styles:ue,theme:bs.toJSON()};ce.length>0&&(we.strings=ce),St&&St.length>0&&(we.people=St);const ws={...o,resources:z,json:we},vs=new d.Sy(ws);if(Ne.forEach(w=>{w.deleteReference(Le)}),ut.endPersist(),a.length){const w=h?.onWarning;if(w)for(const B of a){const[Z,et]=B;w(Z,et)}}return h?.onComplete?.(x),vs}catch(c){let y="Unable to parse XLSX.";throw c instanceof d.ae&&(y="Unable to open XLSX. There are too many rows or columns."),new Error(y,{cause:c})}},toBufferXLSX:async(i,t)=>{const s=await Promise.resolve().then(()=>require("./DVATnEUJxTQMsLOO.cjs")),o=await i.toJSON(!0),n=s.utils.book_new();for(let a=0;a<o.sheets.length;a++){const h=o.sheets[a],f=s.utils.json_to_sheet([{}]);s.utils.book_append_sheet(n,f,h.name);const D=h.sheet,x=i.getSheetAt(a),S=x.getUsedRange();if(S?(f["!ref"]=S.getA1(),S.forEach((E,b)=>{const R={t:"z"},_=b.getCell().getStyle();if(!_.isNormal()){let T=_.getNumberFormat();T!==d.De.Type.General&&(T===d.De.Type.ShortDate?T="m/d/yyyy":T===d.De.Type.MediumDate?T="d-mmm-yy":T===d.De.Type.LongDate?T="[$-x-sysdate]dddd, mmmm dd, yyyy":T===d.De.Type.ShortTime?T="h:mm":T===d.De.Type.MediumTime?T="h:mm AM/PM":T===d.De.Type.LongTime&&(T="h:mm:ss AM/PM"),R.z=T)}if(E!==null)switch(b.getType()){case d.M.Number:R.t="n",R.v=E;break;case d.M.String:R.t="s",R.v=E;break;case d.M.Boolean:R.t="b",R.v=E;break;case d.M.Error:R.t="e",R.v=E.toString();case d.M.RichData:}f[b.getA1()]=R})):f["!ref"]="A1:A1",D.merges?.length>0){const E=[];f["!merges"]=E;for(let b=0;b<D.merges.length;b++)E.push(s.utils.decode_range(D.merges[b]))}if(D.cols?.length>0){const E=[];f["!cols"]=E;const b=D.cols,R={width:D.defaultColSize??x.getColumnWidthAsFontUnit(x.getColumnHeaders().getDefaultSize())};for(let _=0;_<b.length;_++){const T=b[_];for(let c=E.length;c<=T.min-1;c++)E.push(R);const m={};T.sz!==void 0&&(m.width=T.sz),T.h!==void 0&&(m.hidden=T.h),T.l!==void 0&&(m.level=T.l);for(let c=T.min;c<=T.max;c++)E.push(m)}}}return s.write(n,{type:"array",bookType:"xlsx"}),s.write(n,{type:"array",bookType:"xlsx"})}},Symbol.toStringTag,{value:"Module"}));exports.a=i=>parseFloat(i)/1e3,exports.b=ms,exports.c=i=>i?d.te.roundAccurately(parseFloat(i)/9525,1):null,exports.d=Ve,exports.i=_s,exports.p=i=>parseFloat(i)/6e4,exports.r=fs,exports.t=i=>i?d.te.roundAccurately(parseFloat(i)/12700,4):null;
|
|
8
|
+
`,s=this.i,n=nt;break;case D:return this.text+=o.slice(s),!1}if(n===t)return this.text+=o.slice(s,this.prevI),!0}}captureNameChars(){const{chunk:t,i:s}=this;for(;;){const o=this.getCode();if(o===D)return this.name+=t.slice(s),D;if(!as(o))return this.name+=t.slice(s,this.prevI),o===ct?nt:o}}skipSpaces(){for(;;){const t=this.getCodeNorm();if(t===D||!Z(t))return t}}setXMLVersion(t){this.currentXMLVersion=t,t==="1.0"?(this.isChar=Ps,this.getCode=this.getCode10):(this.isChar=Es,this.getCode=this.getCode11)}sBegin(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){const t=this.i,s=this.skipSpaces();switch(this.prevI!==t&&(this.xmlDeclPossible=!1),s){case vt:if(this.state=15,this.text.length!==0)throw new Error("no-empty text at start");break;case D:break;default:this.unget(),this.state=W,this.xmlDeclPossible=!1}}sDoctype(){const t=this.captureTo(Rs);switch(t){case H:this.doctypeHandler?.(this.text),this.text="",this.state=W,this.doctype=!0;break;case D:break;default:this.text+=String.fromCodePoint(t),t===91?this.state=4:fe(t)&&(this.state=3,this.q=t)}}sDoctypeQuote(){const t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.q=null,this.state=2)}sDTD(){const t=this.captureTo(Ms);t!==D&&(this.text+=String.fromCodePoint(t),t===Zt?this.state=2:t===vt?this.state=6:fe(t)&&(this.state=5,this.q=t))}sDTDQuoted(){const t=this.q;this.captureToChar(t)&&(this.text+=String.fromCodePoint(t),this.state=4,this.q=null)}sDTDOpenWaka(){const t=this.getCodeNorm();switch(this.text+=String.fromCodePoint(t),t){case 33:this.state=7,this.openWakaBang="";break;case F:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){const t=String.fromCodePoint(this.getCodeNorm()),s=this.openWakaBang+=t;this.text+=t,s!=="-"&&(this.state=s==="--"?8:4,this.openWakaBang="")}sDTDComment(){this.captureToChar(45)&&(this.text+="-",this.state=9)}sDTDCommentEnding(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),this.state=t===45?10:8}sDTDCommentEnded(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),t===H?this.state=4:(this.fail("malformed comment."),this.state=8)}sDTDPI(){this.captureToChar(F)&&(this.text+="?",this.state=12)}sDTDPIEnding(){const t=this.getCodeNorm();this.text+=String.fromCodePoint(t),t===H&&(this.state=4)}sText(){this.tags.length!==0?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:t}=this;const{chunk:s}=this;t:for(;;)switch(this.getCode()){case ct:this.entity+=`${s.slice(t,this.prevI)}
|
|
9
|
+
`,t=this.i;break;case 59:{const{entityReturnState:o}=this,n=this.entity+s.slice(t,this.prevI);let a;this.state=o,n===""?(this.fail("empty entity name."),a="&;"):(a=this.parseEntity(n),this.entity=""),o===W&&this.textHandler===void 0||(this.text+=a);break t}case D:this.entity+=s.slice(t);break t}}sOpenWaka(){const t=this.getCode();if(ne(t))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(t){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case F:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=W,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){const t=this.getCodeNorm();t===45?(this.state=19,this.commentHandler?.(this.text),this.text=""):(this.text+=`-${String.fromCodePoint(t)}`,this.state=17)}sCommentEnded(){const t=this.getCodeNorm();t!==H?(this.fail("malformed comment."),this.text+=`--${String.fromCodePoint(t)}`,this.state=17):this.state=W}sCData(){this.captureToChar(Zt)&&(this.state=21)}sCDataEnding(){const t=this.getCodeNorm();t===Zt?this.state=22:(this.text+=`]${String.fromCodePoint(t)}`,this.state=20)}sCDataEnding2(){const t=this.getCodeNorm();switch(t){case H:this.cdataHandler?.(this.text),this.text="",this.state=W;break;case Zt:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(t)}`,this.state=20}}sPIFirstChar(){const t=this.getCodeNorm();this.nameStartCheck(t)?(this.piTarget+=String.fromCodePoint(t),this.state=24):t===F||Z(t)?(this.fail("processing instruction without a target."),this.state=t===F?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(t),this.state=24)}sPIRest(){const{chunk:t,i:s}=this;for(;;){const o=this.getCodeNorm();if(o===D)return void(this.piTarget+=t.slice(s));if(!this.nameCheck(o)){this.piTarget+=t.slice(s,this.prevI);const n=o===F;n||Z(o)?this.piTarget==="xml"?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=n?Xt:27):this.state=n?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(o));break}}}sPIBody(){if(this.text.length===0){const t=this.getCodeNorm();t===F?this.state=26:Z(t)||(this.text=String.fromCodePoint(t))}else this.captureToChar(F)&&(this.state=26)}sPIEnding(){const t=this.getCodeNorm();if(t===H){const{piTarget:s}=this;s.toLowerCase()==="xml"&&this.fail("the XML declaration must appear at the start of the document."),this.piHandler?.({target:s,body:this.text}),this.piTarget=this.text="",this.state=W}else t===F?this.text+="?":(this.text+=`?${String.fromCodePoint(t)}`,this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const t=this.skipSpaces();t!==F?t!==D&&(this.state=28,this.name=String.fromCodePoint(t)):this.state=Xt}sXMLDeclName(){const t=this.captureTo($s);if(t===F)return this.state=Xt,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(Z(t)||t===Gt){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}this.state=t===Gt?30:29}}sXMLDeclEq(){const t=this.getCodeNorm();if(t===F)return this.state=Xt,void this.fail("XML declaration is incomplete.");Z(t)||(t!==Gt&&this.fail("value required."),this.state=30)}sXMLDeclValueStart(){const t=this.getCodeNorm();if(t===F)return this.state=Xt,void this.fail("XML declaration is incomplete.");Z(t)||(fe(t)?this.q=t:(this.fail("value must be quoted."),this.q=32),this.state=31)}sXMLDeclValue(){const t=this.captureTo([this.q,F]);if(t===F)return this.state=Xt,this.text="",void this.fail("XML declaration is incomplete.");if(t===D)return;const s=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];const o=s;this.xmlDecl.version=o,/^1\.[0-9]+$/.test(o)?this.opt.forceXMLVersion||this.setXMLVersion(o):this.fail("version number must match /^1\\.[0-9]+$/.");break}case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(s)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=s;break;case"standalone":s!=="yes"&&s!=="no"&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=s}this.name="",this.state=32}sXMLDeclSeparator(){const t=this.getCodeNorm();t!==F?(Z(t)||(this.fail("whitespace required."),this.unget()),this.state=27):this.state=Xt}sXMLDeclEnding(){this.getCodeNorm()===H?(this.piTarget!=="xml"?this.fail("processing instructions are not allowed before root."):this.name!=="version"&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),this.xmldeclHandler?.(this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=W):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}sOpenTag(){const t=this.captureNameChars();if(t===D)return;const s=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=s.ns=Object.create(null)),this.openTagStartHandler?.(s),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),t){case H:this.openTag();break;case 47:this.state=35;break;default:Z(t)||this.fail("disallowed character in tag name."),this.state=36}}sOpenTagSlash(){this.getCode()===H?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}sAttrib(){const t=this.skipSpaces();t!==D&&(ne(t)?(this.unget(),this.state=37):t===H?this.openTag():t===47?this.state=35:this.fail("disallowed character in attribute name."))}sAttribName(){const t=this.captureNameChars();t===Gt?this.state=39:Z(t)?this.state=38:t===H?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):t!==D&&this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){const t=this.skipSpaces();switch(t){case D:return;case Gt:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",t===H?this.openTag():ne(t)?(this.unget(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}sAttribValue(){const t=this.getCodeNorm();fe(t)?(this.q=t,this.state=40):Z(t)||(this.fail("unquoted attribute value."),this.state=42,this.unget())}sAttribValueQuoted(){const{q:t,chunk:s}=this;let{i:o}=this;for(;;)switch(this.getCode()){case t:return this.pushAttrib(this.name,this.text+s.slice(o,this.prevI)),this.name=this.text="",this.q=null,void(this.state=41);case 38:return this.text+=s.slice(o,this.prevI),this.state=14,void(this.entityReturnState=40);case nt:case ct:case 9:this.text+=`${s.slice(o,this.prevI)} `,o=this.i;break;case vt:return this.text+=s.slice(o,this.prevI),void this.fail("disallowed character.");case D:return void(this.text+=s.slice(o))}}sAttribValueClosed(){const t=this.getCodeNorm();Z(t)?this.state=36:t===H?this.openTag():t===47?this.state=35:ne(t)?(this.fail("no whitespace between attributes."),this.unget(),this.state=37):this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){const t=this.captureTo(Xs);switch(t){case 38:this.state=14,this.entityReturnState=42;break;case vt:this.fail("disallowed character.");break;case D:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",t===H?this.openTag():this.state=36}}sCloseTag(){const t=this.captureNameChars();t===H?this.closeTag():Z(t)?this.state=44:t!==D&&this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case H:this.closeTag();break;case D:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:t,forbiddenState:s}=this;const{chunk:o,textHandler:n}=this;t:for(;;)switch(this.getCode()){case vt:if(this.state=15,n!==void 0){const{text:a}=this,h=o.slice(t,this.prevI);a.length!==0?(n(a+h),this.text=""):h.length!==0&&n(h)}s=0;break t;case 38:this.state=14,this.entityReturnState=W,n!==void 0&&(this.text+=o.slice(t,this.prevI)),s=0;break t;case Zt:switch(s){case 0:s=1;break;case 1:s=2;break;case 2:break;default:throw new Error("impossible state")}break;case H:s===2&&this.fail('the string "]]>" is disallowed in char data.'),s=0;break;case ct:n!==void 0&&(this.text+=`${o.slice(t,this.prevI)}
|
|
10
|
+
`),t=this.i,s=0;break;case D:n!==void 0&&(this.text+=o.slice(t));break t;default:s=0}this.forbiddenState=s}handleTextOutsideRoot(){let{i:t}=this;const{chunk:s,textHandler:o}=this;let n=!1;t:for(;;){const a=this.getCode();switch(a){case vt:if(this.state=15,o!==void 0){const{text:h}=this,f=s.slice(t,this.prevI);h.length!==0?(o(h+f),this.text=""):f.length!==0&&o(f)}break t;case 38:this.state=14,this.entityReturnState=W,o!==void 0&&(this.text+=s.slice(t,this.prevI)),n=!0;break t;case ct:o!==void 0&&(this.text+=`${s.slice(t,this.prevI)}
|
|
11
|
+
`),t=this.i;break;case D:o!==void 0&&(this.text+=s.slice(t));break t;default:Z(a)||(n=!0)}}n&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}pushAttribNS(t,s){const{prefix:o,local:n}=this.qname(t),a={name:t,prefix:o,local:n,value:s};if(this.attribList.push(a),this.attributeHandler?.(a),o==="xmlns"){const h=s.trim();this.currentXMLVersion==="1.0"&&h===""&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[n]=h,Ee(this,n,h)}else if(t==="xmlns"){const h=s.trim();this.topNS[""]=h,Ee(this,"",h)}}pushAttribPlain(t,s){const o={name:t,value:s};this.attribList.push(o),this.attributeHandler?.(o)}end(){this.sawRoot||this.fail("document must contain a root element.");const{tags:t}=this;for(;t.length>0;){const o=t.pop();this.fail(`unclosed tag: ${o.name}`)}this.state!==0&&this.state!==W&&this.fail("unexpected end.");const{text:s}=this;return s.length!==0&&(this.textHandler?.(s),this.text=""),this._closed=!0,this.endHandler?.(),this._init(),this}resolve(t){let s=this.topNS[t];if(s!==void 0)return s;const{tags:o}=this;for(let n=o.length-1;n>=0;n--)if(s=o[n].ns[t],s!==void 0)return s;return s=this.ns[t],s!==void 0?s:this.opt.resolvePrefix?.(t)}qname(t){const s=t.indexOf(":");if(s===-1)return{prefix:"",local:t};const o=t.slice(s+1),n=t.slice(0,s);return(n===""||o===""||o.includes(":"))&&this.fail(`malformed name: ${t}.`),{prefix:n,local:o}}processAttribsNS(){const{attribList:t}=this,s=this.tag;{const{prefix:a,local:h}=this.qname(s.name);s.prefix=a,s.local=h;const f=s.uri=this.resolve(a)??"";a!==""&&(a==="xmlns"&&this.fail('tags may not have "xmlns" as prefix.'),f===""&&(this.fail(`unbound namespace prefix: ${JSON.stringify(a)}.`),s.uri=a))}if(t.length===0)return;const{attributes:o}=s,n=new Set;for(const a of t){const{name:h,prefix:f,local:P}=a;let x,S;f===""?(x=h==="xmlns"?Qt:"",S=h):(x=this.resolve(f),x===void 0&&(this.fail(`unbound namespace prefix: ${JSON.stringify(f)}.`),x=f),S=`{${x}}${P}`),n.has(S)&&this.fail(`duplicate attribute: ${S}.`),n.add(S),a.uri=x,o[h]=a}this.attribList=[]}processAttribsPlain(){const{attribList:t}=this,s=this.tag.attributes;for(const{name:o,value:n}of t)s[o]!==void 0&&this.fail(`duplicate attribute: ${o}.`),s[o]=n;this.attribList=[]}openTag(){this.processAttribs();const{tags:t}=this,s=this.tag;s.isSelfClosing=!1,this.openTagHandler?.(s),t.push(s),this.state=W,this.name=""}openSelfClosingTag(){this.processAttribs();const{tags:t}=this,s=this.tag;s.isSelfClosing=!0,this.openTagHandler?.(s),this.closeTagHandler?.(s),(this.tag=t[t.length-1]??null)===null&&(this.closedRoot=!0),this.state=W,this.name=""}closeTag(){const{tags:t,name:s}=this;if(this.state=W,this.name="",s==="")return this.fail("weird empty close tag."),void(this.text+="</>");const o=this.closeTagHandler;let n=t.length;for(;n-- >0;){const a=this.tag=t.pop();if(this.topNS=a.ns,o?.(a),a.name===s)break;this.fail("unexpected close tag.")}n===0?this.closedRoot=!0:n<0&&(this.fail(`unmatched closing tag: ${s}.`),this.text+=`</${s}>`)}parseEntity(t){if(t[0]!=="#"){const o=this.ENTITIES[t];return o!==void 0?o:(this.fail(this.isName(t)?"undefined entity.":"disallowed character in entity name."),`&${t};`)}let s=NaN;return t[1]==="x"&&/^#x[0-9a-f]+$/i.test(t)?s=parseInt(t.slice(2),16):/^#[0-9]+$/.test(t)&&(s=parseInt(t.slice(1),10)),this.isChar(s)?String.fromCodePoint(s):(this.fail("malformed character entity."),`&${t};`)}}var Oe,mt;(mt=Oe||(Oe={})).Events={XmlDecl:"xmldecl",Text:"text",ProcessingInstruction:"processinginstruction",Doctype:"doctype",Comment:"comment",OpenTagStart:"opentagstart",Attribute:"attribute",OpenTag:"opentag",CloseTag:"closetag",CDdata:"cdata",Error:"error",End:"end",Ready:"ready"},mt.parseStream=async(i,t,s)=>{const o=new Fs({position:!1,...s});let n;if(t.onOpenTagStart&&o.on(mt.Events.OpenTagStart,t.onOpenTagStart),t.onOpenTag&&o.on(mt.Events.OpenTag,t.onOpenTag),t.onCloseTag&&o.on(mt.Events.CloseTag,t.onCloseTag),t.onAttribute&&o.on(mt.Events.Attribute,t.onAttribute),t.onText&&o.on(mt.Events.Text,t.onText),t.onError&&o.on(mt.Events.Error,t.onError),t.onEnd){t.onEnd;const a=()=>{n=t.onEnd()};o.on(mt.Events.End,a)}for(;;){const{value:a,done:h}=await i.read();if(h)break;o.write(a)}return o.close(),n};const v=i=>i===!0||i==="1"||i==="on"||i==="true"||i!==!1&&i!=="0"&&i!=="off"&&i!=="false"&&null,A=i=>{const t=parseInt(i);return isNaN(t)?null:t},ht=i=>{const t=parseFloat(i);return isNaN(t)?null:t},k=null;class Bs{constructor(){this._registeredVisitors=new Map}registerVisitor(t){this._registeredVisitors.set(t.from,t)}createEventHandler(t,s,o){const n=this._registeredVisitors,a=[];let h=null,f=null,P=null,x=null;const S=[],E={key:null,source:t};let b=null,R=!1;const _=(m,c)=>{let y=P.attributes[m];if(c){if(Array.isArray(c)){for(let O=0;O<c.length;O++)if(y==null||(y=c[O](y),y==null))return}else if(y==null||(y=c(y),y==null))return}return y},T={getSource:()=>b.source,setSource:m=>{b.source=m},setKey:m=>{b.key=m},getFrom:()=>P,getAttribute:(m,c)=>_(m,c)??null,hasAttribute:m=>T.getAttribute(m)!==null,getParent:()=>S[S.length-2].source,getPath:()=>{const m=[];for(let c=0;c<a.length;c++)m.push(a[c].local);return m.join("\\")},parseAttribute:_,copyToObject:(m,c,y,O)=>{const z=_(O??c,y);z!==void 0&&(m[c]=z)},copyTo:(m,c,y)=>{const O=_(y??m,c);O!==void 0&&(b.source[m]=O)},warn:m=>{o?o?.(m):console.warn(m)}};return{onOpenTag:m=>{let c=m.name;const y=c.indexOf(":");y!==-1&&(c=c.slice(y+1));const O=n.get(c);if(h={local:c,visitor:O,tag:m,destination:null},R)return a.push(h),f=c,void(P=m);x=h?.visitor??null,O&&(b=a.length===0?E:x?.to!==null?{key:null,source:{}}:null,h.destination=b,b&&S.push(b)),a.push(h),f=c,P=m,R=x?.to===null,x?.openTag?.(T)},onCloseTag:m=>{let c=m.name;const y=c.indexOf(":");if(y!==-1&&(c=c.slice(y+1)),c!==f)throw new Error(`mismatch open/close tag: '${c}'/'${f}'`);R||x?.closeTag?.(T);const O=a.pop()??null;h=a[a.length-1]??null;const z=O?.destination;if(z){S.pop(),b=S[S.length-1]??E;const ut=O.visitor;ut&&ut.to&&z.source!==void 0&&(Array.isArray(ut.to)?b.source.push?b.source.push(z.source):o?.(`Unable to parse array for ${ut.from} at ${T.getPath()}`):z.key?b.source[z.key]=z.source:typeof ut.to=="string"&&(b.source[ut.to]=z.source))}f=h?.local??null,P=h?.tag??null,x=h?.visitor??null,R=!h?.destination},onText:m=>{x?.text?.(m,T)},onEnd:s}}}const cs=(i,t,s,o=null)=>{if(!i)return null;let n=i;n.startsWith("/")&&(n=n.substring(1));let a=o?.parsedRefs?.get(i);if(a!==void 0)return a;const h=t(n);if(!h)return null;let f=h.content;try{s&&(f=s(f))}catch(P){console.warn(P)}return o?.parsedRefs?.set(i,f),f},Ie=(i,t,s,o,n=null)=>{if(!i)return null;let a=i;a.startsWith("/")&&(a=a.substring(1));let h=n?.parsedRefs?.get(i);if(h!==void 0)return h;const f=t(a);if(!f)return null;const P=f.content;try{const x=new TextDecoder().decode(P),S=s.parseFromString(x,"text/xml"),E=o.convert(S,i,n);return n?.parsedRefs?.set(i,E),E}catch(x){console.warn(x)}return null},Ut=(i,t,s,o,n=null)=>{const a=new Map;let h=t.Directory[i];const f=h?h.length:0;for(let P=0;P<f;P++){const x=h[P];if(!x)continue;let S=x;S.startsWith("/")&&(S=S.substring(1));const E=Ie(S,b=>t.files[b],s,o,n);a.set(S,E)}return a},qs=["lt1","dk1","lt2","dk2","accent1","accent2","accent3","accent4","accent5","accent6","hlink","folHlink"],Ve=(i,t="dk1")=>{let s;const o=i("auto");o===void 0||o!=="1"&&o!=="true"||(s=t);const n=i("indexed");n&&(s=`index${n}`);const a=i("rgb");a&&(s=a.toLowerCase(),a.length!==8||a.startsWith("FF")||(s="FF"+a.substring(2,a.length)));const h=i("theme");h&&(s=qs[h]);let f=i("tint");if(f&&(s+=` ${d.T$1.AdjustmentType.ETint} ${parseFloat(f)}`),s)return s},fs=i=>i&&i.replace(/^\{([\s\S]+)\}$/,"$1"),ms=i=>i==="true"||i==="1";class Ht{static{this.Collapsed=1}static{this.CustomFormat=2}static{this.CustomHeight=4}static{this.Hidden=8}static{this.Ht=16}static{this.OutlineLevel=32}static{this.Ph=64}static{this.R=128}static{this.S=256}static{this.Spans=512}static{this.ThickBot=1024}static{this.ThickTop=2048}}const Ws=(i,t,s)=>{if(i[0].value[0]===i[1].value[0])return t},hs={colStart:0,colEnd:0,rowStart:0,rowEnd:0},_s=Object.freeze(Object.defineProperty({__proto__:null,fromBufferXLSX:async(i,t)=>{const{password:s,createWorkbookOptions:o={},...n}=t??{},a=[],h=t?.progress,f=h?.onStart?.(t?.name??"Parsing XLSX");await Promise.resolve(f);const P=h?.onProgress;let x=0;const S=Promise.resolve().then(()=>require("./CkkvS-F90xn4I7rJ.cjs")),E=Promise.resolve().then(()=>require("./Dh6N83HOXQnIi6eD.cjs"));let b=null;try{b=new DOMParser}catch{}let R=null;b||(R=Promise.resolve().then(()=>require("./BB1OETlqft3E7T5Z.cjs")).then(c=>c.i));let _=null,T=null,m=null;try{const c=await Promise.all([S,E,R]);_=c[0],T=c[1],m=c[2]}catch(c){throw new Error("Unable to load XLSX parser.",{cause:c})}try{const c=_.read(i,{type:"array",sheets:[],cellStyles:!1,bookFiles:!0});if(!c.Directory)throw new Error("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");c.Directory.richstructure=["/xl/richData/rdrichvaluestructure.xml"],c.Directory.richdata=["/xl/richData/rdrichvalue.xml"];const y=new T.FromOOXMLConverter,O=b??new m.DOMParser,z=o?.resources??new d.ym,ut=z.beginPersist(),Le={},Ne=new Set,Te=new Map;Te.set("richTypes",[]);const Re=new Map,Me=[],ae=w=>c.files[w],ye=(w,B)=>{const Q=w.lastIndexOf("/"),et=w.substring(0,Q+1)+"_rels/"+w.substring(Q+1,w.length)+".rels";let dt=B.get(et);return dt||(dt=((L,ve,Se,Ce,jt=null)=>{if(!L)return null;const st=Ie(L,ve,Se,Ce,jt);if(!st)return null;const it=new Map,yt=Object.keys(st),Ft=yt.length;for(let bt=0;bt<Ft;bt++){const Bt=yt[bt],Ct=st[Bt];it.set(Bt,Ct)}return it})(et,ae,O,y,Tt),B.set(et,dt)),dt},le=(w,B,Q,et=Re)=>{let dt=ye(B,et).get(w),L=dt?.target;if(!L)return null;if(dt.targetMode==="External")return dt.target;const ve=B.lastIndexOf("/"),Se=B.substring(0,ve+1);L.startsWith("/")||(L=Se+L),L=(st=>{const it=st.split(/\/+/);return it.reduce((yt,Ft,bt)=>(Ft==="."?yt.splice(bt,1):Ft===".."&&yt.splice(bt-1,2),yt),it).join("/")})(L);const Ce=y?.getVisitorParamsState().get("dxfs");let jt=et.get(L);if(!jt)if(dt.type==="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"){const st={};jt=st;const it=async()=>{const yt=((M,j,Jt,U,J,G,Kt,kt)=>{const u=new Bs,K=new d.Vt.TransposedBuilder;let X=null;u.registerVisitor({from:"autoFilter",to:"filter",openTag:e=>{e.copyTo("ref",k)}}),u.registerVisitor({from:"conditionalFormatting",to:{},openTag:e=>{const r=e.getParent();r.conditionals||(r.conditionals=[]),r.conditionals.push(e.getSource());const l=e.getAttribute("sqref");l&&(e.getSource().ref=l.split(" ").join(",")),e.copyTo("pivot",v)},closeTag:e=>{const r=e.getSource();if(r.rule){const l=Object.keys(r.rule);for(let p=0;p<l.length;p++){const I=l[p];I!=="rule"&&(r[I]=r.rule[I])}}delete r.rule}}),u.registerVisitor({from:"cfRule",to:"rule",openTag:e=>{const r=e.getParent();e.copyToObject(r,"type",k),e.copyToObject(r,"priority",A),e.copyToObject(r,"stopIfTrue",v);const l=e.getAttribute("dxfId",A);if(l!==null){let p=U?.get(l);p||(G?.(`Unable to load conditional color. Invalid dxfI: '${l}' at '${e.getPath()}'.`),p={}),r.style=p}e.copyToObject(r,"aboveAverage",v),e.copyToObject(r,"equalAverage",v),e.copyToObject(r,"stdDev",A),e.copyToObject(r,"bottom",v),e.copyToObject(r,"percent",v),e.copyToObject(r,"rank",A),e.copyToObject(r,"operator",k),e.copyToObject(r,"text",k),e.copyToObject(r,"timePeriod",k)}}),u.registerVisitor({from:"colorScale",to:"colorScale"}),u.registerVisitor({from:"dataBar",to:"dataBar",openTag:e=>{e.copyTo("maxLength",A),e.copyTo("minLength",A),e.copyTo("showValue",v)}}),u.registerVisitor({from:"iconSet",to:"iconSet",openTag:e=>{e.copyTo("iconSet",k),e.copyTo("reverse",v),e.copyTo("showValue",v)}}),u.registerVisitor({from:"formula",to:null,text:(e,r)=>{const l=r.getParent();let p=l.formulas;p||(p=[],l.formulas=p),p.push(e)}}),u.registerVisitor({from:"cfvo",to:{},openTag:e=>{const r=e.getParent();r.conditions||(r.conditions=[]),r.conditions.push(e.getSource()),e.copyTo("type",k),e.copyTo("value",ht,"val"),e.copyTo("gte",v)}}),u.registerVisitor({from:"color",to:{},openTag:e=>{const r=e.getParent();r.colors||(r.colors=[]);const l=Ve(p=>e.getAttribute(p));r.colors.push(l)}}),u.registerVisitor({from:"filterColumn",to:"filterColumn",openTag:e=>{const r=e.getParent();r.fields||(r.fields=[]),r.fields.push(e.getSource()),e.copyTo("offset",A,"colId"),e.copyTo("hiddenButton",v),e.copyTo("showButton",v)}}),u.registerVisitor({from:"colorFilter",to:"colorFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.eu.Type.Color,e.copyTo("cellColor",v),e.copyTo("styleId",A,"dxfId")}}),u.registerVisitor({from:"dynamicFilter",to:"dynamicFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.eu.Type.Dynamic,e.copyTo("dynamicType",k,"type"),e.copyTo("val",ht),e.copyTo("maxVal",ht,"maxVal")}}),u.registerVisitor({from:"iconFilter",to:"iconFilter",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.eu.Type.Icon,e.copyTo("iconId",A),e.copyTo("iconSet",k)}}),u.registerVisitor({from:"top10",to:"top10",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.eu.Type.Top10,e.copyTo("filterVal",ht),e.copyTo("percent",v),e.copyTo("top",v),e.copyTo("val",ht)}}),u.registerVisitor({from:"filters",to:"filters",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.eu.Type.Items,e.copyTo("blank",v),e.copyTo("calendarType",k)}}),u.registerVisitor({from:"dateGroupItem",to:"dateGroupItem",openTag:e=>{const r=e.getParent();r.dateGroups||(r.dateGroups=[]),r.dateGroups.push(e.getSource()),e.copyTo("group",k,"dateTimeGrouping"),e.copyTo("day",A),e.copyTo("hour",A),e.copyTo("minute",A),e.copyTo("month",A),e.copyTo("second",A),e.copyTo("year",A)}}),u.registerVisitor({from:"filter",to:"filter",openTag:e=>{const r=e.getParent();r.items||(r.items=[]),r.items.push(e.getAttribute("val",ht))}}),u.registerVisitor({from:"customFilters",to:"customFilters",openTag:e=>{const r=e.getParent();r.criteria||(r.criteria=[]),r.criteria.push(e.getSource()),e.getSource().type=d.eu.Type.Custom,e.copyTo("and",v)}}),u.registerVisitor({from:"customFilter",to:"customFilter",openTag:e=>{const r=e.getParent();r.filters||(r.filters=[]),r.filters.push(e.getSource()),e.copyTo("operator",k),e.copyTo("value",ht,"val")}}),u.registerVisitor({from:"sortState",to:"sort",openTag:e=>{e.copyTo("ref",k)}}),u.registerVisitor({from:"sortCondition",to:"sortCondition",openTag:e=>{const r=e.getParent();r.fields||(r.fields=[]);const l=e.getSource();r.fields.push(l),e.copyTo("sortOn",k,"sortBy"),e.copyTo("dxfId",k,"sortBy"),e.copyTo("iconSet",k),e.copyTo("customList",k);const p=e.getAttribute("ref");if(p){const I=d.Xr.fastStringToRange(p,hs).colStart,Y=d.Xr.fastStringToRange(r.ref,hs),qt=Y.colStart;l.offset=Y?I-qt:I}l.reverse=e.getAttribute("descending",v)??!1}}),u.registerVisitor({from:"AlternateContent",to:null});const de=e=>{X=e.getSource(),e.copyTo("topLeft",k,"topLeftCell");const r=ms(e.getAttribute("defaultGridColor")),l=e.getAttribute("colorId");l===null||r||(e.getSource().gridLineColor="index"+parseFloat(l)),e.copyTo("showZeros",v),e.copyTo("showFormulas",v),e.copyTo("zoomScale",A),e.copyTo("showRowHeaders",v,"showRowColHeaders"),e.copyTo("showColumnHeaders",v,"showRowColHeaders"),e.copyTo("showRowGridlines",v,"showGridLines"),e.copyTo("showColumnGridlines",v,"showGridLines")};u.registerVisitor({from:"sheetView",to:"view",openTag:e=>{de(e)},closeTag:()=>{X=null}}),u.registerVisitor({from:"customSheetViews",to:"customSheetViews",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"customSheetView",to:[],openTag:e=>{de(e)},closeTag:()=>{X=null}}),u.registerVisitor({from:"selection",to:"selection",openTag:e=>{if(!X)return;e.copyTo("cell",k,"activeCell"),e.copyTo("rangeIndex",A,"activeCellId");const r=e.getAttribute("activeCell"),l=e.getAttribute("sqref");l&&l!==r&&(e.getSource().ranges=l.split(" "))}}),u.registerVisitor({from:"pane",to:"pane",openTag:e=>{if(X&&e.getAttribute("state")==="frozen"){const r={};X.freezePanes=r,e.copyToObject(r,"topLeft",k,"topLeftCell");const l=X.topLeft?d.Xr.fastStringToCell(X.topLeft):{colIndex:0,rowIndex:0},p={colIndex:0,rowIndex:0};e.copyToObject(p,"colIndex",A,"xSplit"),e.copyToObject(p,"rowIndex",A,"ySplit");const I={colIndex:l.colIndex+p.colIndex,rowIndex:l.rowIndex+p.rowIndex};r.coords=d.Xr.cellToString(I)}}}),u.registerVisitor({from:"tabColor",to:null,openTag:e=>{const r=Ve(l=>e.getAttribute(l));r&&(M.tabColor=r)}}),u.registerVisitor({from:"pageSetUpPr",to:"pageSetUpPr",openTag:e=>{}}),u.registerVisitor({from:"outlinePr",to:"outlinePr",openTag:e=>{}}),u.registerVisitor({from:"pageMargins",to:"pageMargins",openTag:e=>{}}),u.registerVisitor({from:"pageSetup",to:"pageSetup",openTag:e=>{}}),u.registerVisitor({from:"printOptions",to:"printOptions",openTag:e=>{}}),u.registerVisitor({from:"mergeCells",to:"merges",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"mergeCell",to:[],openTag:e=>{const r=e.getAttribute("ref");e.setSource(r)}}),u.registerVisitor({from:"hyperlinks",to:"hyperlinks",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"hyperlink",to:[],openTag:e=>{const r=e.getAttribute("r:id"),l=e.getAttribute("ref");if(!l)return void console.warn("No ref found for hyperlink");e.setKey(l);let p=r?j(r):"";if(typeof p!="string")return void console.warn("Invalid address ",p);const I=e.getAttribute("location");p.endsWith("\\")&&(p=p.substring(0,p.length-1));const Y=e.getAttribute("location");if(Y&&(I&&I!==Y&&console.warn("display and location are different",I,Y),p+="#"+Y),!p)return void console.warn("No address found for hyperlink. r:id",r);let qt;const xt=e.getAttribute("tooltip");qt=xt?{address:p,tooltip:xt}:p,e.setSource({r:l,v:qt})}}),u.registerVisitor({from:"drawing",to:"movables",openTag:e=>{const r=e.getAttribute("r:id");if(!r)return;const l=j(r);l?e.setSource(l.movables):console.warn("no drawing found for rId",r)}}),u.registerVisitor({from:"tableParts",to:"tables",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"tablePart",to:[],openTag:e=>{const r=e.getAttribute("r:id");if(!r)return;const l=j(r);l?e.setSource(l):console.warn("no table found for rId",r)}}),u.registerVisitor({from:"worksheet",to:"worksheet",openTag:e=>{}}),u.registerVisitor({from:"sheetProtection",to:"protection",openTag:e=>{let r=!1;if(e.hasAttribute("sheet")&&v(e.getAttribute("sheet"))&&(r=!0),!r)return void e.setSource(void 0);const l=I=>I===!0||I==="1"||I==="on"||I==="true"||I===!1||I==="0"||I==="off"||I==="false"||null;e.copyTo("autoFilter",l),e.copyTo("deleteColumns",l),e.copyTo("formatCells",l),e.copyTo("formatColumns",l),e.copyTo("formatRows",l),e.copyTo("insertColumns",l),e.copyTo("insertHyperlinks",l),e.copyTo("insertRows",l),e.copyTo("objects",l),e.copyTo("pivotTables",l),e.copyTo("scenarios",l),e.copyTo("selectUnlockedCells",l),e.copyTo("selectUnlockedCells",l),e.copyTo("sort",l);const p={};e.copyToObject(p,"hash",k,"hashValue"),e.copyToObject(p,"algorithm",k,"algorithmName"),e.copyToObject(p,"salt",k,"saltValue"),e.copyToObject(p,"spinCount",A),Object.keys(p).length>0&&(e.getSource().password=p)}}),u.registerVisitor({from:"protectedRanges",to:"protectedRanges",openTag:e=>{e.setSource({})}}),u.registerVisitor({from:"protectedRange",to:{},openTag:e=>{const r=e.getAttribute("sqref");e.setKey(r),e.copyTo("name"),e.copyTo("securityDescriptor");const l={};e.copyToObject(l,"hash",k,"hashValue"),e.copyToObject(l,"algorithm",k,"algorithmName"),e.copyToObject(l,"salt",k,"saltValue"),e.copyToObject(l,"spinCount",A),Object.keys(l).length>0&&(e.getSource().password=l)}}),u.registerVisitor({from:"sheetFormatPr",to:"sheetFormatPr",openTag:e=>{e.copyToObject(M,"defaultColSize",ht,"defaultColWidth"),e.copyToObject(M,"outlineLevelCol",A,"outlineLevelCol");const r=e.getAttribute("customHeight");r!=="1"&&r!=="true"||e.copyToObject(M,"defaultRowSize",ht,"defaultRowHeight"),e.copyToObject(M,"outlineLevelRow",A,"outlineLevelRow")}}),u.registerVisitor({from:"cols",to:"cols",openTag:e=>{e.setSource([])}}),u.registerVisitor({from:"col",to:[],openTag:e=>{e.copyTo("min",r=>parseInt(r)-1),e.copyTo("max",r=>parseInt(r)-1),e.copyTo("sz",ht,"width"),e.copyTo("cs",v,"customWidth"),e.copyTo("h",v,"hidden"),e.copyTo("l",A,"outlineLevel"),e.copyTo("s",A,"style")}}),u.registerVisitor({from:"oleObjects",to:null,openTag:e=>{e.warn("'OLE Objects' are not supported.")}});let Yt=null;const Ss={onOpenTag:e=>{Yt===null&&(Yt="")},onText:e=>{Yt+=e},onEnd:()=>{const e=Jt(Yt);return Yt=null,e},onError:e=>{}};return((e,r,l,p,I,Y,qt)=>{let xt=!1,pe=!1,Wt=[],_t=!1,At=null,te=null,ge=null,at=null,qe=null,We=null;const Cs=qt?.get("richData")??[],_e=d.Xr.normalizeA1ToR1C1,ze=d.Ht.createConflatingRanges(),Ue=new Map,ke=[];let ee=null;const Ge=d.Ht.createConflatingRanges();let se,Pt=!1,q=-1,tt=-1,pt=null,ie=null;const Ae=[];let Pe=null,Ze=-2,gt=0,zt="",Dt="",Et="",Ot="",It="",Vt="",Lt="",Qe="",Je="",Ke="",Ye="",ts="",es="",ss="",ft=!0,Nt=null,De=0;return{...l,onEnd:()=>{Ae.length>0&&(r.rows=Ae);let g=ze.done(Ws);const C=g.length;if(C>0){const $=new Array(C);for(let V=0;V<C;V++){const lt=g[V],Rt=d.Xr.rangeToString(lt),Mt=lt.value[1],oe=d.Xr.resolveRelativeToA1(Mt,lt.rowStart,lt.colStart);$[V]=[Rt,oe]}r.formulas=$}const ot=Ge.done(!0),N=ot.length;if(N>0){const $=new Array(N);for(let V=0;V<N;V++){const lt=ot[V],Rt=d.Xr.rangeToString(lt);$[V]=Rt}r.volatile=$}if(ke.length>0&&(r.dynamicArray=[...ke]),Wt.length>0){Wt.sort(d.Ht.createRangeComparator(d.w.Orientation.Column));const $=[];let V=null,lt=-1,Rt=-1,Mt=-1,oe=-1,wt=null;const is=Wt.length;is>0&&(V=Wt[0],lt=V.colStart,Rt=V.colEnd,Mt=V.rowEnd,oe=V.value,$.push(V));for(let $t=1;$t<is;$t++)wt=Wt[$t],oe!==wt.value||lt!==wt.colStart||Rt!==wt.colEnd||Mt+1!==wt.rowEnd?($.push(wt),V=wt,lt=V.colStart,Rt=V.colEnd,Mt=V.rowEnd,oe=V.value):(Mt=wt.rowEnd,V.rowEnd=Mt);let os=[];for(let $t=0;$t<$.length;$t++){const re=$[$t];os.push({r:{colStart:re.colStart,colEnd:re.colEnd,rowStart:re.rowStart,rowEnd:re.rowEnd},v:re.value})}r.directStyles=os}const rt=e.build();if(rt){const $=rt.tuples;r.data=$}l?.onEnd?.()},onOpenTag:g=>{let C=g.name;const ot=C.indexOf(":");if(ot!==-1&&(C=C.slice(ot+1)),De++,De%196608==0&&I(De),se){const N=g.attributes;switch(C){case"v":pe=!0;break;case"f":switch(N.t??null){case null:case"normal":_t=!0;break;case"shared":const rt=N.si;te=N.ref,At=rt;break;case"array":_t=!0,te=N.ref,ee=[te,!1];break;case"datatable":_t=!0,te=N.ref,_t=!0}N.ca!==void 0&&Ge.append(q,tt);break;case"is":return void(Pt=!0)}return void(Pt&&Y?.onOpenTag(g))}if(xt){if(C==="c"){se=g;const N=g.attributes.r;tt=d.Xr.fastStringToCol(N);const rt=g.attributes.t;rt===void 0?ie=null:(ie=rt,ie==="str"&&(Pt=!0));let $=g.attributes.s;$!==void 0&&($=parseInt($),Nt&&Nt.value===$&&Nt.colEnd+1===tt?Nt.colEnd=tt:(Nt={colStart:tt,rowStart:q,colEnd:tt,rowEnd:q,value:$},Wt.push(Nt)))}}else{if(C==="row"){xt=!0;const N=g.attributes.r;if(q=parseInt(N)-1,gt=0,Dt=g.attributes.customHeight,Dt!==void 0&&(gt|=Ht.CustomHeight),Dt!==Je&&(ft=!0,Je=Dt),zt=g.attributes.ht,zt!==void 0&&(gt|=Ht.Ht),zt!==Qe&&(ft=!0,Qe=zt),Et=g.attributes.hidden,Et!==void 0&&(gt|=Ht.Hidden),Et!==Ke&&(ft=!0,Ke=Et),It=g.attributes.s,It!==void 0&&(gt|=Ht.S),It!==ts&&(ft=!0,ts=It),Ot=g.attributes.customFormat,Ot!==void 0&&(gt|=Ht.CustomFormat),Ot!==Ye&&(ft=!0,Ye=Ot),Vt=g.attributes.outlineLevel,Vt!==void 0&&(gt|=Ht.OutlineLevel),Vt!==es&&(ft=!0,es=Vt),Lt=g.attributes.collapsed,Lt!==void 0&&(gt|=Ht.Collapsed),Lt!==ss&&(ft=!0,ss=Lt),gt!==0)if(Ze+1!==q||ft){const rt=Dt!==void 0&&(Dt==="1"||Dt==="true"),$=Ot!==void 0&&(Ot==="1"||Ot==="true");Pe={min:q,max:q,sz:rt&&zt!==void 0?parseFloat(zt):-1,csz:rt,h:Et!==void 0&&(Et==="1"||Et==="true"),s:rt&&It!==void 0&&It!=="0"?parseInt(It):0,cs:$,l:Vt===void 0||Vt==="0"?0:parseInt(Vt),cl:Lt!==void 0&&(Lt==="1"||Lt==="true")},Ae.push(Pe)}else Pe.max=q;return Ze=q,void(ft=!1)}l?.onOpenTag(g)}},onCloseTag:g=>{if(se){let C=g.name;const ot=C.indexOf(":");if(ot!==-1&&(C=C.slice(ot+1)),Pt)if(C==="is"||C==="v"){const N=Y?.onEnd();N!==null&&e.addValue(q,tt,""+N)}else Y?.onCloseTag?.(g);return pe&&(pe=!1),void(C==="c"&&(se=null,Pt=!1))}if(xt)return xt=!1,void(Nt=null);l?.onCloseTag(g)},onText:g=>{if(g=g.trim(),pe){switch(pt=null,ie){case null:case"n":pt=parseFloat(g);break;case"b":pt=g==="1"||g==="true";break;case"s":pt=g;break;case"e":if(g==="#VALUE!"){const ot=se.attributes.vm;if(ot!==void 0){const N=Cs[parseInt(ot)-1];if(N&&N.isFormulaError){pt={t:d.M.Error,v:N.getCode()};break}}}const C=d.n.getBuiltInByLabel(g);C?pt={t:d.M.Error,v:C.getCode()}:(pt=g,p?.(`Unknown formula error '${g}' in cell ${d.Xr.cellToString({colIndex:tt,rowIndex:q})}`));break;case"str":case"inlineStr":Pt=!0}pt!==null&&e.addValue(q,tt,pt)}if(ee&&(ie==="e"&&(ee[1]=!0),ke.push(ee),ee=null),At)if(qe===At)at=We;else{if(at=Ue.get(At),!at){const C=[];ge=_e(g,q,tt,C),at=[ge,C,g],Ue.set(At,at)}qe=At,We=at}if(_t){const C=[];ge=_e(g,q,tt,C),at=[ge,C,g]}if(at)return ze.append(q,tt,at),at=null,_t=!1,At=null,void(te=null);Pt?Y?.onText(g):xt||l?.onText(g)}}})(K,M,u.createEventHandler(M,()=>{},G),G,e=>{x+=e,P?.(x)},Ss,kt)})(st,(M,j=!1)=>le(M,L,j)??null,ys,Ce,0,(M,j)=>{j=j?`${j} (${L})`:L,a.push([M,j])},0,Te),Ft=cs(L,ae),bt=await(async(M,j=8388608)=>{await(async()=>{if(typeof ReadableStream>"u")if(typeof window>"u"){const{ReadableStream:G}=await Promise.resolve().then(()=>require("./D_dgAvL8PqalpMMm.cjs"));globalThis.ReadableStream=G}else console.warn("Browser does not support ReadableStream; consider loading a polyfill.")})();const Jt=new TextDecoder("utf-8");let U=0;const J=M instanceof Uint8Array?M:new Uint8Array(M);return new ReadableStream({pull(G){if(U>=J.byteLength)return void G.close();const Kt=J.subarray(U,Math.min(U+j,J.byteLength)),kt=Jt.decode(Kt,{stream:U+j<J.byteLength});G.enqueue(kt),U+=Kt.length}}).getReader()})(Ft);try{await Oe.parseStream(bt,yt,{xmlns:!1})}catch(M){throw console.warn(`Error parsing sheet: '${L}'`,M),new Error(`Error parsing sheet: '${L}'`,{cause:M})}const Bt=ye(L,et);let Ct,Be=new Map;if(Bt){const M="http://schemas.microsoft.com/office/2017/10/relationships/threadedComment";let j;Bt.forEach((U,J)=>{U.type===M&&(Ct=le(J,L,!1,et)?.comments,Ct&&Ct.forEach(G=>{Be.set(G.id,G)}))});const Jt="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";if(Bt.forEach((U,J)=>{U.type===Jt&&(j=le(J,L,!1,et))}),j||Ct){const U=Ct??[],J=j?.comments;if(J){const G=j?.authors,Kt=J.length;for(let kt=0;kt<Kt;kt++){const u=J[kt];if(!u)continue;let K=G&&u.authorId!==void 0?G[u.authorId]:u.authorId;if(K&&K.startsWith("tc=")&&(K=fs(K.substring(3)),Be.has(K)))continue;let X=null;K&&(X=he.get(K)),X||(X=He.get(K)),X||(X={id:d.te.uuidV4(),displayName:K},He.set(X.displayName,X),he.set(X.id,X)),K=X?.id??null;const de={id:d.te.uuidV4(),personId:K,ref:u.ref,done:!1,asNote:!0,content:u.content};U.push(de)}}st.comments=U}}};Me.push(it())}else jt=Q?cs(L,ae,st=>{const it=z.add({buffer:st});return it.addReference(Le),Ne.add(it),ut.toResourceId(it)},Tt):Ie(L,ae,O,y,Tt);return jt},Tt={paramMap:Te,getRefs:ye,getRef:le,parsedRefs:Re,addPerson:w=>null},ce=[];let be=0;c.Strings&&(be=parseInt(c.Strings.Unique??c.Strings.length??0));const Ts=c.Strings??[];for(let w=0;w<be;w++)ce.push(Ts[w]?.t??"");const $e=new Map;let Xe=be;const ys=w=>{const B=$e.get(w);if(B!==void 0)return B;const Q=Xe;return $e.set(w,Xe++),ce.push(w),Q},he=(Ut("richstructure",c,O,y,Tt),Ut("richdata",c,O,y,Tt),new Map),He=new Map,je=Ut("people",c,O,y);let St=null;if(je.size>0&&(St=je.entries().next()?.value?.[1]?.persons,St)){const w=St.length;for(let B=0;B<w;B++){const Q=St[B];he.set(Q.id,Q),he.set(Q.displayName,Q)}}const xe=Ut("themes",c,O,y,Tt);let Fe=null;if(xe&&xe.entries){let w=xe.entries().next();w?.value?.[1]&&(Fe=w.value[1])}const bs=new d.xl(Fe);let ue=Ut("styles",c,O,y,Tt).entries().next()?.value[1];ue&&(ue=JSON.parse(d.oe(ue)));const xs=Ut("workbooks",c,O,y,Tt);await Promise.all(Me);const we={...xs.entries().next().value[1],styles:ue,theme:bs.toJSON()};ce.length>0&&(we.strings=ce),St&&St.length>0&&(we.people=St);const ws={...o,resources:z,json:we},vs=new d.ty(ws);if(Ne.forEach(w=>{w.deleteReference(Le)}),ut.endPersist(),a.length){const w=h?.onWarning;if(w)for(const B of a){const[Q,et]=B;w(Q,et)}}return h?.onComplete?.(x),vs}catch(c){let y="Unable to parse XLSX.";throw c instanceof d.ae&&(y="Unable to open XLSX. There are too many rows or columns."),new Error(y,{cause:c})}},toBufferXLSX:async(i,t)=>{const s=await Promise.resolve().then(()=>require("./CkkvS-F90xn4I7rJ.cjs")),o=await i.toJSON(!0),n=s.utils.book_new();for(let a=0;a<o.sheets.length;a++){const h=o.sheets[a],f=s.utils.json_to_sheet([{}]);s.utils.book_append_sheet(n,f,h.name);const P=h.sheet,x=i.getSheetAt(a),S=x.getUsedRange();if(S?(f["!ref"]=S.getA1(),S.forEach((E,b)=>{const R={t:"z"},_=b.getCell().getStyle();if(!_.isNormal()){let T=_.getNumberFormat();T!==d.Oe.Type.General&&(T===d.Oe.Type.ShortDate?T="m/d/yyyy":T===d.Oe.Type.MediumDate?T="d-mmm-yy":T===d.Oe.Type.LongDate?T="[$-x-sysdate]dddd, mmmm dd, yyyy":T===d.Oe.Type.ShortTime?T="h:mm":T===d.Oe.Type.MediumTime?T="h:mm AM/PM":T===d.Oe.Type.LongTime&&(T="h:mm:ss AM/PM"),R.z=T)}if(E!==null)switch(b.getType()){case d.M.Number:R.t="n",R.v=E;break;case d.M.String:R.t="s",R.v=E;break;case d.M.Boolean:R.t="b",R.v=E;break;case d.M.Error:R.t="e",R.v=E.toString();case d.M.RichData:}f[b.getA1()]=R})):f["!ref"]="A1:A1",P.merges?.length>0){const E=[];f["!merges"]=E;for(let b=0;b<P.merges.length;b++)E.push(s.utils.decode_range(P.merges[b]))}if(P.cols?.length>0){const E=[];f["!cols"]=E;const b=P.cols,R={width:P.defaultColSize??x.getColumnWidthAsFontUnit(x.getColumnHeaders().getDefaultSize())};for(let _=0;_<b.length;_++){const T=b[_];for(let c=E.length;c<=T.min-1;c++)E.push(R);const m={};T.sz!==void 0&&(m.width=T.sz),T.h!==void 0&&(m.hidden=T.h),T.l!==void 0&&(m.level=T.l);for(let c=T.min;c<=T.max;c++)E.push(m)}}}return s.write(n,{type:"array",bookType:"xlsx"}),s.write(n,{type:"array",bookType:"xlsx"})}},Symbol.toStringTag,{value:"Module"}));exports.a=i=>parseFloat(i)/1e3,exports.b=ms,exports.c=i=>i?d.te.roundAccurately(parseFloat(i)/9525,1):null,exports.d=Ve,exports.i=_s,exports.p=i=>parseFloat(i)/6e4,exports.r=fs,exports.t=i=>i?d.te.roundAccurately(parseFloat(i)/12700,4):null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";/**
|
|
2
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.
|
|
2
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.5
|
|
3
3
|
*
|
|
4
4
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|