@sheetxl/studio-vanilla 0.8.0-beta.6 → 0.8.0-beta.7
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/browser/cjs/{CRe8XsjS3Z5BTMZY.cjs → -fvFQTbevbuRecGW.cjs} +1 -1
- package/browser/cjs/{pWgqqjBa4jIrxyvw.cjs → 1bLr8XHpEtM2MjCk.cjs} +1 -1
- package/browser/cjs/5drI55_IEkX8nx_B2.cjs +8 -0
- package/browser/cjs/{9A9bktS1huVGPy37.cjs → B0gP-9ZXQb_QZ8Jm.cjs} +1 -1
- package/browser/cjs/{Dnnr8nzAEuAjhOeE.cjs → B6T_y0ce8SbjxV-I.cjs} +1 -1
- package/browser/cjs/{BkTSml2am1P7ZUlu2.cjs → B6k5f9VFbYVTvfVE2.cjs} +1 -1
- package/browser/cjs/{B-t_DeDrhWtCFPcI.cjs → BCaRwsX64XTvboxS.cjs} +43 -43
- package/browser/cjs/{DcpQZyU6Dg7WiWza2.cjs → BCm6d5TSyOWIner52.cjs} +1 -1
- package/browser/cjs/BDnKbuPYvsWYP-3w.cjs +14 -0
- package/browser/cjs/{JrW6on2mNQQ3NXKs.cjs → BInT189S2DdzvIhp.cjs} +1 -1
- package/browser/cjs/BPjFqEo3wA9GJNPE.cjs +1 -0
- package/browser/cjs/BPtsVWnUZPVQBm21.cjs +22 -0
- package/browser/cjs/{C0_3HFQaCnHzWrhv.cjs → BTr4bJxe0-3IBHPb.cjs} +2 -2
- package/browser/cjs/{CMOeL2fuTqmW07BD.cjs → Be1L2JmTBCRa52VW.cjs} +650 -694
- package/browser/cjs/{B5Fa5-cHf1VTfozN.cjs → BjQ-fIDc7Z3qMcPY.cjs} +1 -1
- package/browser/cjs/{Xd62BMjBfdi9qJzV.cjs → Bzd1x5C01LQtiSb0.cjs} +1 -1
- package/browser/cjs/C03SW3gXtIOgEr3A.cjs +43 -0
- package/browser/cjs/C2THZMKIDIU8VSFH2.cjs +1 -0
- package/browser/cjs/{CCJvU8Lb84A0y65M.cjs → C5RvrnAGhfLzpBNO.cjs} +1 -1
- package/browser/cjs/C9RqCKNI0CK1VHnE2.cjs +1 -0
- package/browser/cjs/{CraHFKICbV6fuCQ-2.cjs → CA37AwwfHsjvbZT62.cjs} +1 -1
- package/browser/cjs/{BDkTCsmZyozmgWz4.cjs → CEEuvrhhkW5TgJnc.cjs} +3 -3
- package/browser/cjs/{NZ9JmwEmwyGM6S7n2.cjs → CLEx2DRw3kmsrkt82.cjs} +1 -1
- package/browser/cjs/{6V1LlorEUj_nSWnU.cjs → CZTLmhvlTal7rnXb2.cjs} +1 -1
- package/browser/cjs/CgfPOPhwYwiOfpBy.cjs +1 -0
- package/browser/cjs/CkIFp77GQAFoyjtq.cjs +1 -0
- package/browser/cjs/{B3dsg6O4Ka8NpEf32.cjs → CsGKVtbBtGlgkYJw2.cjs} +1 -1
- package/browser/cjs/Ct45LEBcOGxMU-VE2.cjs +1 -0
- package/browser/cjs/{CiJ7AoUXfIEucqrd.cjs → D3gV1sduXTeibviI.cjs} +1 -1
- package/browser/cjs/{DUCViiS92Z2CCWkA2.cjs → DB7uY0V24myTsCAO2.cjs} +1 -1
- package/browser/cjs/{BqFUfIMN5tnsMTIi.cjs → DKdgEj89ChMWaDQz.cjs} +1 -1
- package/browser/cjs/DRgeBTxGZFx-ukKA.cjs +1 -0
- package/browser/cjs/{C0m8l7d1fHu9CO2M.cjs → DXGjBmROptbxP3On.cjs} +2 -2
- package/browser/cjs/DXJEany3J8zAcDA5.cjs +32 -0
- package/browser/cjs/{Cgf6tLDBJ3BvtYtr.cjs → Dgxx0CvoFxJobjxY.cjs} +1 -1
- package/browser/cjs/{D-8fngmgZJyw1BQz2.cjs → DnMx7IQDtha_NuLB2.cjs} +1 -1
- package/browser/cjs/Dx79LP1-YCQg8B872.cjs +1 -0
- package/browser/cjs/GN7MZBww4pHIrihk.cjs +5 -0
- package/browser/cjs/{U7_s3uvd0_Kashf9.cjs → HR_JYXh2W9xtKFL2.cjs} +1 -1
- package/browser/cjs/ImnRKBYtNpv7bEa7.cjs +3 -0
- package/browser/cjs/{KMBs7XyoINajcR-L2.cjs → O6F5xVsoF2hTiprv2.cjs} +1 -1
- package/browser/cjs/{Ce0Jppzi_9bXU35v2.cjs → YGQWfCXmA-65lrhA2.cjs} +1 -1
- package/browser/cjs/{vjMDGGRVqaFnYj5r2.cjs → ahQaPMczi7feo-ae2.cjs} +1 -1
- package/browser/cjs/index.cjs +1 -1
- package/browser/cjs/{C6LCqtqoz6Kag2h42.cjs → namqZsBygpcj2yf42.cjs} +1 -1
- package/browser/cjs/{CYXi2zJwNRVFBiL12.cjs → voiGKFLz_nq_RGBY2.cjs} +1 -1
- package/browser/esm/{ChAYrf_SM2XZlpZ9.mjs → 1Xvtgcae3VR_6R8I.mjs} +10 -10
- package/browser/esm/{Bw8V5WPmS2yA3Nli2.mjs → 4YGRiYPupFKq8BfP2.mjs} +1 -1
- package/browser/esm/{CIwWrEXfSN_3khPI.mjs → 5DCw2IuKPn_ERodw2.mjs} +1 -1
- package/{cdn/assets/CUQpAR2c-_Pwu2Eu.js → browser/esm/9cn1ewqq1BWmzgIL2.mjs} +1 -1
- package/browser/esm/{DTJrlUtokRNyzKgl.mjs → B-svf5wq7V5QDtO4.mjs} +12 -12
- package/browser/esm/{Do4OOIYh99i3VXc5.mjs → B1ZEbc_b-Hug9WON.mjs} +1 -1
- package/{cdn/assets/CeT8chcNlkKehyJE.js → browser/esm/B3PPwwyNEblsUOL8.mjs} +1 -1
- package/browser/esm/{BSXumetIfmtutIwR.mjs → B4OkD-x-7fL0aUxy.mjs} +5 -5
- package/browser/esm/{iV1cp5WFOBxaJU3W2.mjs → B4g2Yf4whV01sYya2.mjs} +1 -1
- package/browser/esm/{yCxQIbbRhwpsIqJu2.mjs → B4jNGg7_t9JeroNp2.mjs} +4 -4
- package/browser/esm/{ISZRBrb20f_6C_zc.mjs → BA63EN1awAh-Inzl.mjs} +199 -199
- package/{cdn/assets/Cfob6FEkwxaSK3jd.js → browser/esm/BASSDm-JY_bgolFA2.mjs} +1 -1
- package/browser/esm/{CCauT418WamqPMCO2.mjs → BBmgXo0P8kU87RB42.mjs} +1 -1
- package/browser/esm/{B_bAeABEjj7U2zzq.mjs → BD1aTBqOuoKSzGSD.mjs} +5 -5
- package/browser/esm/{Cifhu0Tx_Qo7pYUo2.mjs → BDFm0nphkYgT4nS22.mjs} +9 -9
- package/browser/esm/{BmJfxZPHfm_cMD4l.mjs → BJXpsm4jy1MQEydA.mjs} +4154 -3133
- package/browser/esm/{CRD6T2pongEp74eX.mjs → BPnA1nEVe1clG1IF.mjs} +4 -4
- package/browser/esm/{4CqOm3frZRd9UZP4.mjs → BQkwe2PCHBQEw--9.mjs} +2 -2
- package/browser/esm/{CZQe_58fmtS0SgdD.mjs → BRSPE-Kbm0TK7bm4.mjs} +1 -1
- package/browser/esm/{DGsj2g4x9odoy93a.mjs → BS7DCPO7VdYxiXF82.mjs} +1 -1
- package/browser/esm/{CnaNnCl2QaqlLn8r.mjs → BSlFBKA1YartFibf.mjs} +146 -145
- package/browser/esm/{BCECU4i5lxfS0Udy.mjs → BT8V24glIXLW0J7i.mjs} +1 -1
- package/browser/esm/{zW5-tVai7f63Nz_O.mjs → BZvD2AxAqbnxspY6.mjs} +3219 -2862
- package/browser/esm/{BdqrEMXaXGIMDZbw.mjs → BZwg6XaGq6GshkAo.mjs} +127 -127
- package/browser/esm/{DqCCvSVY6MZWH0Z3.mjs → Bb-mZ1cMsciuz4ww.mjs} +241 -237
- package/browser/esm/{CJVG0Axu4gbcyT_I2.mjs → BcO0tjxUkaw8VKEE2.mjs} +8 -8
- package/{cdn/assets/DhJ6QuQLZNVmamW_.js → browser/esm/BdTAWhP-loxlROWg2.mjs} +1 -1
- package/browser/esm/{UWBAgk6dmyMdUUrv.mjs → BdZUKtFZuJHAUStY.mjs} +46 -46
- package/{cdn/assets/DTNjbBBLszx7DUAS2.js → browser/esm/Bdf9NRBqMDRFuqxL.mjs} +1 -1
- package/browser/esm/{CDelk7_2mgy_puiR.mjs → BefWPzywuI_Ptwju.mjs} +12 -12
- package/{cdn/assets/COLxuIHK4CwKSCmM.js → browser/esm/BfqHVT9RAMHzPrq22.mjs} +1 -1
- package/{cdn/assets/C0vo8lE4bLKFYxkh2.js → browser/esm/Bi82rHDsiL2lqeRo2.mjs} +1 -1
- package/browser/esm/{DlWcxpzc1O-m1M2B.mjs → Bjpm9ZVaFQRdne7s.mjs} +1 -1
- package/browser/esm/{DadeKQvFAZsAqr0O.mjs → BkU3OKqpa0ddsfDs.mjs} +2 -2
- package/{cdn/assets/XCCi1PHPbJ6YaXx3.js → browser/esm/BkU3OKqpa0ddsfDs2.mjs} +2 -2
- package/browser/esm/{DbqBX9ozs-Ibg67w.mjs → BmHI7i54YtVAcFrP.mjs} +5 -5
- package/{cdn/assets/OPJN-aKuq0geLnJ8.js → browser/esm/Bp36kaEEsGhP709t2.mjs} +1 -1
- package/browser/esm/{BE7zDEWoGoldNMWX2.mjs → Br0flZ59oGm_KTug2.mjs} +2 -2
- package/{cdn/assets/BlYbn-3NJeiQ8dVU.js → browser/esm/BrDePmlBu6Hb4zjJ.mjs} +1 -1
- package/browser/esm/{XR6551Psdm-EtuN0.mjs → BrUW8pfVTjf65sDi2.mjs} +2 -2
- package/browser/esm/{DlZq7EB3pYTCoBZR2.mjs → Bt3ndQy-OnI4OHTz.mjs} +1 -1
- package/{cdn/assets/D_0WWqsqXJL1liYE.js → browser/esm/BtPBnZB0UiICvNBH.mjs} +3 -3
- package/browser/esm/{Dyt46qi3aJZ-CbpB.mjs → Bu8wK5Vy7X9Vp_2S.mjs} +2 -2
- package/browser/esm/{SVBLkue4Zu6FnHvb.mjs → BuBAtTrlYVvU86de.mjs} +6 -6
- package/browser/esm/{KwY2kcMBX2jKweTI.mjs → BxetdicosmSVg2vW.mjs} +9 -9
- package/browser/esm/{CuV98lDmbEhW59Ae2.mjs → BxhPqvaARsOu1pOy2.mjs} +1378 -1649
- package/browser/esm/{EIHzG71M5NOvWayY.mjs → ByGJZ2rruqWUbaGY.mjs} +6 -6
- package/browser/esm/{CP--voqAl30cGmBl2.mjs → BzY-TCedGBSg3UzZ2.mjs} +7 -7
- package/browser/esm/{CRCjjm1HOTdtQ62k.mjs → C-X2_FUeulh-Fay1.mjs} +5 -5
- package/browser/esm/{Dbr_OAl6EZskoqcA2.mjs → C18TArpE7wOvMYXB2.mjs} +14 -14
- package/{cdn/assets/BG5ptu1QVVE32_SU.js → browser/esm/C2DL_mDwKLFZBqvN2.mjs} +1 -1
- package/browser/esm/{Bx_8Vgu2B9rmr3So.mjs → C55NEfrA6s_yuajX2.mjs} +1 -1
- package/browser/esm/{Bo5_yVXoppQHxkAs.mjs → C6eVL3m02S-Qj2uy2.mjs} +1 -1
- package/browser/esm/{CNYIGTIynWaiXpHk2.mjs → C7926vmEK1-oM95A2.mjs} +18 -18
- package/browser/esm/{0oEGfdAHhaLHKSti.mjs → C7Em8LjBH1VJoyfm.mjs} +1 -1
- package/browser/esm/{BGFPUYyanO54TIB42.mjs → C82u-7ClfP9SoGOY2.mjs} +10 -10
- package/{cdn/assets/C7svWLuGopr_jw0t.js → browser/esm/C8jJJ5X2nIRCaMcu2.mjs} +1 -1
- package/browser/esm/{D1n9gH9C8i-si_ty2.mjs → CBv1rU3xPDQ-215V2.mjs} +9 -9
- package/{cdn/assets/B2bYjv0KEa2vjuau2.js → browser/esm/CCIybQZ3Tgu4CxnN.mjs} +1 -1
- package/{cdn/assets/Bis-2jH6YBF6g66T2.js → browser/esm/CD-JsN04jY0VyY1v.mjs} +1 -1
- package/browser/esm/{BGp2qrSP8wpHTmzp2.mjs → CFnqyLJDpOXdxb3c2.mjs} +5 -5
- package/{cdn/assets/CIT0V8cmnyP4zirK2.js → browser/esm/CHCc5YuSbtNgC6qQ.mjs} +1 -1
- package/browser/esm/{D3X5GNunddfnKs212.mjs → CJfK3Zm2ZKVEv5Mv.mjs} +1 -1
- package/{cdn/assets/DUGWe5q5hsRZixNX2.js → browser/esm/COJLKiCysD7hs2jG.mjs} +1 -1
- package/{cdn/assets/Cum9BHrpjoznUf1x.js → browser/esm/COqCbm81u1WaCS7k.mjs} +1 -1
- package/browser/esm/{BiSNhmfge2gLrdUM.mjs → CWJBcuvUa2RVQMju.mjs} +3 -3
- package/browser/esm/{BOwbDihjRpkwOyYg.mjs → CY8tngENYkEZn2SB.mjs} +6 -6
- package/browser/esm/{Cluu6edX1vMT0APV.mjs → C__NPFffG8xrVl4W.mjs} +12 -12
- package/{cdn/assets/Dg79tbN27bDhGeRt.js → browser/esm/CaHBZElxMjo_v4LY2.mjs} +1 -1
- package/browser/esm/{wr5fEooS-ldJhkIW.mjs → Cl_mxlCr73V-Yg6k.mjs} +7552 -7522
- package/browser/esm/{BQemec4LLoAl92_B.mjs → CoqDXeaMS0XICCe2.mjs} +1 -1
- package/browser/esm/{DfsFfH7JQJvdJWFk2.mjs → CtIl_LU__yf7i0CI2.mjs} +17 -17
- package/browser/esm/D-oV3YlvN_279OAe.mjs +236 -0
- package/{cdn/assets/CBrZYomkgb7qvYFr2.js → browser/esm/D3aXs7hDPXNqjUte.mjs} +2 -2
- package/{cdn/assets/Gj5vl7eMC5BSe_81.js → browser/esm/D4cHE39d638a1U-y2.mjs} +1 -1
- package/browser/esm/{DJt8usFidNohlcHI.mjs → D5MFyg_gQzrtkU5q2.mjs} +1 -1
- package/browser/esm/{CIT0V8cmnyP4zirK.mjs → D9h6T10d18-OYsnY.mjs} +1 -1
- package/browser/esm/{clnF8RB-rpJTNpPY2.mjs → DCOuB4SkbT3JU9bd2.mjs} +7 -7
- package/browser/esm/{DZZ6PVue8DUBcarK2.mjs → DFHP3kC1VW25l54r2.mjs} +1 -1
- package/browser/esm/{acwoMYe1beI5Wrq12.mjs → DFfqXOHApBHKjPmq.mjs} +1 -1
- package/{cdn/assets/DVdhEB3_SE9GEpGw.js → browser/esm/DFgibCVRkv7ROc5v2.mjs} +1 -1
- package/browser/esm/{Tg2o581Nj1mxbygb.mjs → DIxQ75X7k8keCEPD.mjs} +3 -3
- package/{cdn/assets/Bhz4-fERBAhVf8ze2.js → browser/esm/DJfrSiVd9Hm9g2d2.mjs} +1 -1
- package/browser/esm/{DM4ub7OPobMAcSmy.mjs → DL_mqnTNaFcgm_nY.mjs} +2 -2
- package/browser/esm/{D8IjVu2OXXsBZUqt2.mjs → DLxFo71kHJsGXBZ3.mjs} +1 -1
- package/browser/esm/{BprRTOQ5s6y4jMpw.mjs → DNwEAT1MO-6FRFlC.mjs} +5 -5
- package/browser/esm/{BoUvCwncdWQjAB6z.mjs → DU8ox87tBW2BnWct.mjs} +16 -16
- package/browser/esm/{DTvl6pZYgFJuU2Pu.mjs → DZUjFTXDHp2HSvYN.mjs} +11 -11
- package/browser/esm/{4DbJWOjJvf-TOYkv2.mjs → D_Iw8uMiIvx2jhcv2.mjs} +1 -1
- package/browser/esm/{4UIqAp3dgLTz_jQl2.mjs → DaSrO6iF4NOXLpMI2.mjs} +1 -1
- package/browser/esm/{b3BWQGDBSQ4mCgD22.mjs → Dc5MbVn_75FtzgPY2.mjs} +1 -1
- package/{cdn/assets/D8jCy3zoIlOA1GAR2.js → browser/esm/DcKd5bjp1ZnTq_-x.mjs} +1 -1
- package/browser/esm/DcZJy7SSyaWDcelM.mjs +87 -0
- package/browser/esm/{BDn_jC98FsiXZwGr2.mjs → DdWhgxkT5YtvYarN.mjs} +1 -1
- package/{cdn/assets/D94ChP2mwu_ThODV.js → browser/esm/De8YQFKHRYztHtNy2.mjs} +1 -1
- package/browser/esm/{BoEpW3VXHHDA7k4Y2.mjs → DfDgl_4vSuF3nubw2.mjs} +21 -21
- package/browser/esm/{DhCFbzZIeOF7kqNn.mjs → DgCRnAf5wqM0QG4X2.mjs} +1 -1
- package/browser/esm/{DDA9KIxPv8iiAvvy2.mjs → DgmukBO5L3U9_0t42.mjs} +1 -1
- package/browser/esm/{DNTtMdjOWrGcqQGh.mjs → DhZ8HFnFgb6ij3dI.mjs} +112 -111
- package/browser/esm/{BYk8t-CVbU8h5jS6.mjs → DmxxEaNdjPB6nBgy.mjs} +1 -1
- package/browser/esm/{C2Mtau_YqokRY_Xs.mjs → DsGyEBTgXCOEpB4D.mjs} +31 -31
- package/browser/esm/{CCAmUEfkNvVwKNOo2.mjs → DxLzXk_tSrLv1u632.mjs} +1 -1
- package/browser/esm/{AlSePay9xNV3_6bb.mjs → DxkY3Q5VwWkfqW7t.mjs} +1 -1
- package/{cdn/assets/BXlBCVkeDEYvDBJB.js → browser/esm/DyQEm0-NZ41L--1K.mjs} +1 -1
- package/browser/esm/{CMA4SISwnTv_lg9j.mjs → Dy_DuOQMMsoys5uG.mjs} +37 -37
- package/browser/esm/{DNvbB1BNwBuI3ZDp.mjs → GZBYOLZMS5CK612Z.mjs} +8 -8
- package/browser/esm/{iaMUH1DY_mh9eilR2.mjs → KH2MZAMxGzfVMoKB2.mjs} +12 -12
- package/browser/esm/{C_VwHa0tEc_OcSRF2.mjs → KRAw_H4pyLSGG7VM2.mjs} +1 -1
- package/browser/esm/{CrIcPnRynBYfe_Pk.mjs → OF1t5e-IpoCN4nMo.mjs} +133 -133
- package/browser/esm/{zvbdtZ85j__-6Pqt2.mjs → RP044HPTvZ7fRPp62.mjs} +11 -11
- package/browser/esm/{CBXVfpoYV_x0IHcp.mjs → ZMzJhKJMzHflPVYY.mjs} +2 -2
- package/browser/esm/{CnMODHX8BiX4JiLR.mjs → cBQ4eqpoDrXn7JHn.mjs} +3 -3
- package/browser/esm/{DEVCQtXhk-o9aGOV2.mjs → dRE1rh6cW8nKpTsz2.mjs} +2 -2
- package/browser/esm/{B89OWCXpyImxK0eb2.mjs → fY2YKQMUdsYu7XiI.mjs} +1 -1
- package/browser/esm/{Cz7kfadeRVZBAMZ_.mjs → iHpxHAsf4TbCq-TE.mjs} +1 -1
- package/browser/esm/index.mjs +4 -4
- package/browser/esm/{i3SHwvlGdsJN8P5k.mjs → mGzBkmSW0FIS3l47.mjs} +1 -1
- package/browser/esm/{Cw3vteUwx6OB-6Iy.mjs → ooQCodfB4ck6IWqw.mjs} +1 -1
- package/browser/esm/{DEhdjB_Iw2iMcmZh2.mjs → pkHBfquSDF6569Gk2.mjs} +2 -2
- package/browser/esm/{BcdW5Jtz-XtqlpNg2.mjs → q3Mf-6we7Zn-SXlN2.mjs} +92 -92
- package/browser/esm/{h-_FZQM0bW_2jNsi.mjs → q9O6l04D06PeFt9r.mjs} +5 -5
- package/browser/esm/{CTuUdSmxH6QxGmNK.mjs → r5p8Wcz2C4nKJXvc.mjs} +3 -3
- package/browser/esm/{Q53pq80r1Yi_tt2g2.mjs → rFUbFjv5JlDQ1yJw2.mjs} +11 -11
- package/{cdn/assets/B7DAcnxzPv0cz6GS2.js → browser/esm/rTH3jO4xeLwX22po.mjs} +1 -1
- package/{cdn/assets/B-_shlNzdU5vK6-F.js → browser/esm/vFkFpwfIwu3oIJ542.mjs} +1 -1
- package/{cdn/assets/CiKHaK_kIAhKfCdO2.js → browser/esm/y7OPrnmnmsKf_AFC.mjs} +1 -1
- package/cdn/assets/{DFvNGCdvSx5VASsE.js → 2rpiEjMFb7cTkJWu.js} +2 -2
- package/cdn/assets/{BHQdCxqlomq-292-.js → 3fQDDuvcrnAkT5qe.js} +92 -92
- package/cdn/assets/{Bw8V5WPmS2yA3Nli.js → 4YGRiYPupFKq8BfP.js} +1 -1
- package/cdn/assets/{CIwWrEXfSN_3khPI2.js → 5DCw2IuKPn_ERodw.js} +1 -1
- package/cdn/assets/{B1rPJEAA5dgS-yuD2.js → 6NAkWncviZTFXMsY2.js} +9 -9
- package/{browser/esm/CUQpAR2c-_Pwu2Eu.mjs → cdn/assets/9cn1ewqq1BWmzgIL.js} +1 -1
- package/cdn/assets/{Do4OOIYh99i3VXc52.js → B1ZEbc_b-Hug9WON2.js} +1 -1
- package/{browser/esm/CeT8chcNlkKehyJE2.mjs → cdn/assets/B3PPwwyNEblsUOL82.js} +1 -1
- package/cdn/assets/{CB2GXUrOhyLmnsVF2.js → B3xtxS53C7jgKwfe2.js} +46 -46
- package/cdn/assets/{iV1cp5WFOBxaJU3W.js → B4g2Yf4whV01sYya.js} +1 -1
- package/cdn/assets/{AwPuLKuYMSM7s2v_2.js → B5IRoZY13t_fHSz42.js} +19 -19
- package/{browser/esm/Cfob6FEkwxaSK3jd2.mjs → cdn/assets/BASSDm-JY_bgolFA.js} +1 -1
- package/cdn/assets/{CCauT418WamqPMCO.js → BBmgXo0P8kU87RB4.js} +1 -1
- package/cdn/assets/{CjYlIFqHaDFiZlal2.js → BDYtqqyKrm2S3aWJ2.js} +5 -5
- package/cdn/assets/BNBvUyjF30xlfOmr.js +236 -0
- package/cdn/assets/{CZQe_58fmtS0SgdD2.js → BRSPE-Kbm0TK7bm42.js} +1 -1
- package/cdn/assets/{DGsj2g4x9odoy93a.js → BS7DCPO7VdYxiXF8.js} +1 -1
- package/cdn/assets/{BCECU4i5lxfS0Udy.js → BT8V24glIXLW0J7i2.js} +1 -1
- package/cdn/assets/{aFMcUoW7eSrX_WvX.js → BVM91MmuaEyh3X9n.js} +2 -2
- package/{browser/esm/DIzd82jYSriheVOz.mjs → cdn/assets/BX7-HB3e-_oTITi_.js} +3 -3
- package/cdn/assets/{Bcwk_FRKVLyPomW4.js → BbjFUZr9zWRsnpUT2.js} +111 -111
- package/{browser/esm/DhJ6QuQLZNVmamW_2.mjs → cdn/assets/BdTAWhP-loxlROWg.js} +1 -1
- package/{browser/esm/DTNjbBBLszx7DUAS.mjs → cdn/assets/Bdf9NRBqMDRFuqxL2.js} +1 -1
- package/cdn/assets/{Cjeb-kMHzEUFlM_l.js → BfmYSaC7YF8lHawu.js} +8 -8
- package/{browser/esm/COLxuIHK4CwKSCmM2.mjs → cdn/assets/BfqHVT9RAMHzPrq2.js} +1 -1
- package/{browser/esm/C0vo8lE4bLKFYxkh2.mjs → cdn/assets/Bi82rHDsiL2lqeRo2.js} +1 -1
- package/cdn/assets/{DlWcxpzc1O-m1M2B.js → Bjpm9ZVaFQRdne7s.js} +1 -1
- package/{browser/esm/OPJN-aKuq0geLnJ82.mjs → cdn/assets/Bp36kaEEsGhP709t.js} +1 -1
- package/{browser/esm/BlYbn-3NJeiQ8dVU.mjs → cdn/assets/BrDePmlBu6Hb4zjJ.js} +1 -1
- package/cdn/assets/{DxzX_-E3wr0c8-0b.js → BrYD9S8O_9gXuYHf.js} +3 -3
- package/cdn/assets/{DlZq7EB3pYTCoBZR.js → Bt3ndQy-OnI4OHTz.js} +1 -1
- package/cdn/assets/{NaYNBS42-TDUcEoM.js → BvuxB7CzGAv0w7by.js} +8 -8
- package/cdn/assets/{tEVV1QDIj2xjwhXe.js → BwMxbQa51h7P3IFw.js} +3 -3
- package/cdn/assets/{BZSwuzPkthzsadzX.js → ByU4uQWIIAoe9hoQ2.js} +10 -10
- package/cdn/assets/{CPrgeFAwr7BHqmHu.js → C0Nxz1Q33eJ2mdFL2.js} +13 -13
- package/cdn/assets/{BRVkA5J9pds0HKNi2.js → C0VNHurPIrPcmiu02.js} +2 -2
- package/cdn/assets/{C2cKoe4Zik7iVYe42.js → C13AOL3lFAH4T6nv2.js} +18 -18
- package/cdn/assets/{5frl5yk1BX9u5Bd42.js → C1Fgr1CHaaJCZwDE2.js} +19 -19
- package/{browser/esm/BG5ptu1QVVE32_SU2.mjs → cdn/assets/C2DL_mDwKLFZBqvN.js} +1 -1
- package/cdn/assets/{Cjrrmg-P0lKlzEfq2.js → C3wPGkvUzepIQRVC2.js} +121 -120
- package/cdn/assets/{Bx_8Vgu2B9rmr3So.js → C55NEfrA6s_yuajX.js} +1 -1
- package/cdn/assets/{JGftuh24rk6BMfkr2.js → C566hKAp9g__r7-72.js} +127 -127
- package/cdn/assets/{Bo5_yVXoppQHxkAs.js → C6eVL3m02S-Qj2uy.js} +1 -1
- package/{browser/esm/DwhwEhNA_QFs_EaZ.mjs → cdn/assets/C7Em8LjBH1VJoyfm.js} +1 -1
- package/cdn/assets/C7Em8LjBH1VJoyfm2.js +24 -0
- package/cdn/assets/{Dy9SlSZp3B0IfxZM.js → C7fY4QaenhDjniAr.js} +32 -32
- package/cdn/assets/{DsDi-rMPWyWzWitl.js → C8HjRahIuD14iG_b.js} +4 -4
- package/{browser/esm/C7svWLuGopr_jw0t2.mjs → cdn/assets/C8jJJ5X2nIRCaMcu.js} +1 -1
- package/cdn/assets/{GABbnj9qIWyEbare2.js → CA00G9Yi4uXcS5l5.js} +124 -125
- package/{browser/esm/B2bYjv0KEa2vjuau.mjs → cdn/assets/CCIybQZ3Tgu4CxnN2.js} +1 -1
- package/{browser/esm/Bis-2jH6YBF6g66T.mjs → cdn/assets/CD-JsN04jY0VyY1v2.js} +1 -1
- package/cdn/assets/{B6QNFqmlZvu6dS4Z2.js → CEP2pbRcOThbPSHu2.js} +10 -10
- package/cdn/assets/{D3X5GNunddfnKs21.js → CJfK3Zm2ZKVEv5Mv2.js} +1 -1
- package/cdn/assets/{DRJzNrQ15sOSjd2e2.js → CKFb0F8a8b7Bp8XG2.js} +12 -12
- package/{browser/esm/DUGWe5q5hsRZixNX.mjs → cdn/assets/COJLKiCysD7hs2jG2.js} +1 -1
- package/{browser/esm/Cum9BHrpjoznUf1x.mjs → cdn/assets/COqCbm81u1WaCS7k2.js} +1 -1
- package/cdn/assets/{DEgXvxiW0vq9ppwM2.js → CR_q2LxqSxi13Hij2.js} +7502 -7472
- package/cdn/assets/{Oh10DZZ2Ac49rAQC.js → C_zj-VriJ00f1MCn.js} +5 -5
- package/{browser/esm/Dg79tbN27bDhGeRt2.mjs → cdn/assets/CaHBZElxMjo_v4LY.js} +1 -1
- package/cdn/assets/{gB5jSIc2WRvZWgrs2.js → CaW2AIr71l8EwY4q.js} +5 -5
- package/cdn/assets/{I2O4wgRVKQfD0EvR.js → CajvXeO8GjmlYo1w.js} +3 -3
- package/cdn/assets/{DOFrZ-RMlv0mEbr62.js → Ck6OFgakjG9KRLkz2.js} +38 -38
- package/cdn/assets/{BQemec4LLoAl92_B.js → CoqDXeaMS0XICCe2.js} +1 -1
- package/cdn/assets/{DR7GcNKO8jkJSCQs.js → Csgvd2uwdSVvtxd0.js} +3 -3
- package/cdn/assets/{BrZcNYdz3ufxcsyF2.js → CxR_QBoT5nmLyrpM2.js} +10 -10
- package/{browser/esm/Gj5vl7eMC5BSe_812.mjs → cdn/assets/D4cHE39d638a1U-y.js} +1 -1
- package/cdn/assets/{DJt8usFidNohlcHI2.js → D5MFyg_gQzrtkU5q.js} +1 -1
- package/{browser/esm/DadeKQvFAZsAqr0O2.mjs → cdn/assets/D5nFDHDC5F0D8PyZ.js} +2 -2
- package/cdn/assets/{BH_TN28AGDJoWsiz.js → D6o4brLafnJRIFnU.js} +2 -2
- package/cdn/assets/{IfWL5kbc_82yS9Ek2.js → D8Ln6s5Q7xc7NoKg2.js} +15 -15
- package/cdn/assets/D9h6T10d18-OYsnY2.js +24 -0
- package/cdn/assets/{BP16A2unTwME_JUN.js → DA1nRTNBW1PtpWgT.js} +2 -2
- package/cdn/assets/{BPzCgPCFw6OXBqtP2.js → DFAAoXpOwrC4RlJR2.js} +11 -11
- package/cdn/assets/{DZZ6PVue8DUBcarK.js → DFHP3kC1VW25l54r.js} +1 -1
- package/cdn/assets/{acwoMYe1beI5Wrq1.js → DFfqXOHApBHKjPmq.js} +1 -1
- package/{browser/esm/DVdhEB3_SE9GEpGw2.mjs → cdn/assets/DFgibCVRkv7ROc5v.js} +1 -1
- package/cdn/assets/{B4o5v-hrdGJbyWK4.js → DFnfLBAD7P-akaff.js} +2 -2
- package/cdn/assets/{BUxPCLlW-ZMhy0kO.js → DIARlYhdv_2V83X8.js} +2 -2
- package/{browser/esm/Bhz4-fERBAhVf8ze.mjs → cdn/assets/DJfrSiVd9Hm9g2d2.js} +1 -1
- package/cdn/assets/{DdtqpY-XqWQemNlu.js → DLY3Gp_G16n4d85q.js} +6 -6
- package/cdn/assets/{D8IjVu2OXXsBZUqt.js → DLxFo71kHJsGXBZ32.js} +1 -1
- package/cdn/assets/{v49CyNYkIHP85Zly2.js → DVFxFNggaQDjhPuL2.js} +42 -42
- package/cdn/assets/{4DbJWOjJvf-TOYkv.js → D_Iw8uMiIvx2jhcv.js} +1 -1
- package/cdn/assets/{WkWv2DINRHwBdTOP.js → D_qtb6BEhWE61Z7C.js} +17 -17
- package/cdn/assets/{4UIqAp3dgLTz_jQl.js → DaSrO6iF4NOXLpMI.js} +1 -1
- package/cdn/assets/{DQJgLUaP7Ha_fkvr2.js → DavJsn-94WtXCnyy2.js} +1357 -1628
- package/cdn/assets/{b3BWQGDBSQ4mCgD2.js → Dc5MbVn_75FtzgPY.js} +1 -1
- package/{browser/esm/D8jCy3zoIlOA1GAR.mjs → cdn/assets/DcKd5bjp1ZnTq_-x2.js} +1 -1
- package/cdn/assets/{BDn_jC98FsiXZwGr.js → DdWhgxkT5YtvYarN2.js} +1 -1
- package/{browser/esm/D94ChP2mwu_ThODV2.mjs → cdn/assets/De8YQFKHRYztHtNy.js} +1 -1
- package/cdn/assets/{DJ1m0LQ8vRMX16Tx2.js → De94qdhWNQbkhAKb.js} +127 -127
- package/cdn/assets/{CAC_xDUcFxj4WkGc.js → DefFGyX5E__KiHEC.js} +199 -199
- package/cdn/assets/{DhCFbzZIeOF7kqNn2.js → DgCRnAf5wqM0QG4X.js} +1 -1
- package/cdn/assets/{DDA9KIxPv8iiAvvy.js → DgmukBO5L3U9_0t4.js} +1 -1
- package/cdn/assets/{95Rg6-R77DB8vhtt2.js → Dkba6grmCB6y_Yvs2.js} +12 -12
- package/cdn/assets/{CqFpYuZRY1Oa6Kdj.js → Dlk7gS21CL59t8cD.js} +11 -11
- package/cdn/assets/{BYk8t-CVbU8h5jS62.js → DmxxEaNdjPB6nBgy2.js} +1 -1
- package/cdn/assets/{BRXqd83y_8Jm2IXn.js → Dt3O9kdjcB6vva5A.js} +3 -3
- package/cdn/assets/{DHAWMS42nJvjdtuv2.js → Dt52g2i0t1p8L5mE2.js} +8 -8
- package/cdn/assets/{CCAmUEfkNvVwKNOo.js → DxLzXk_tSrLv1u63.js} +1 -1
- package/cdn/assets/{AlSePay9xNV3_6bb2.js → DxkY3Q5VwWkfqW7t2.js} +1 -1
- package/{browser/esm/BXlBCVkeDEYvDBJB.mjs → cdn/assets/DyQEm0-NZ41L--1K.js} +1 -1
- package/cdn/assets/{9zNnsHPCP6dNE6dt.js → HhQT-w3KhQYyLF3E.js} +3 -3
- package/cdn/assets/{C_VwHa0tEc_OcSRF.js → KRAw_H4pyLSGG7VM.js} +1 -1
- package/cdn/assets/{Mo49UfLrLCgf_5pV2.js → N2PDFuHeMIcJXi-I2.js} +146 -145
- package/cdn/assets/{BC5CAuRYyJJli2nd.js → OaIdw_jfk8n1tSOG.js} +2 -2
- package/cdn/assets/{-w9ufIOw-Om_-Wms2.js → P-5R1AyiA1bO8kls2.js} +7 -7
- package/cdn/assets/{BgJZVus3WAJnbiwZ2.js → RRJyZ2WtMoVN8bzW2.js} +22 -22
- package/cdn/assets/{C06Yqqvfz4f-vnXA.js → S2-ef6zfqD83qohl.js} +7 -7
- package/cdn/assets/{C8XBql0-rVxPPgdF.js → SY3JTpsm5Bpu0tXj.js} +8 -8
- package/cdn/assets/{bTb_qWNZ9gqpiDKP2.js → T7quzcPIEGcVdh0D2.js} +6 -6
- package/cdn/assets/{D4a2UOIcVrZtupKH.js → VLBw3i20lk_Yly9G.js} +3693 -3336
- package/cdn/assets/{BmcgeYHDyFh865ey.js → ZDs8hbqQmtSIaDZm.js} +3866 -2845
- package/cdn/assets/{Bb2eLL0IUxmGT8uG2.js → ZFmNH36WAkLLbTKE2.js} +8 -8
- package/cdn/assets/{BUHOArLYzXBeYzXy.js → aIjKRE7sQ1uohehj.js} +12 -12
- package/cdn/assets/{B89OWCXpyImxK0eb.js → fY2YKQMUdsYu7XiI.js} +1 -1
- package/cdn/assets/{Cz7kfadeRVZBAMZ_2.js → iHpxHAsf4TbCq-TE2.js} +1 -1
- package/cdn/assets/{i3SHwvlGdsJN8P5k2.js → mGzBkmSW0FIS3l472.js} +1 -1
- package/cdn/assets/{DAUF2tc_qrKzAbp32.js → ml6iN9Or0sV9rNHQ2.js} +13 -13
- package/cdn/assets/oclc-Ixh46_UsUpL.js +87 -0
- package/cdn/assets/{Cw3vteUwx6OB-6Iy.js → ooQCodfB4ck6IWqw.js} +1 -1
- package/cdn/assets/{DEhdjB_Iw2iMcmZh.js → pkHBfquSDF6569Gk.js} +2 -2
- package/cdn/assets/{DXLCCNbizOqKHb2c.js → q7pkii0gu8s26iBw.js} +2 -2
- package/{browser/esm/B7DAcnxzPv0cz6GS.mjs → cdn/assets/rTH3jO4xeLwX22po2.js} +1 -1
- package/cdn/assets/{B4ij2yZFJa5IX7Gk2.js → rynh3babuCEq2zBn2.js} +9 -9
- package/{browser/esm/DL_3sKPWBfJtpaG3.mjs → cdn/assets/uVz7RxSLXYsjkdHy.js} +2 -2
- package/{browser/esm/B-_shlNzdU5vK6-F2.mjs → cdn/assets/vFkFpwfIwu3oIJ54.js} +1 -1
- package/cdn/assets/{B2PZWx8od3IEHy4E2.js → w8ORLCpD4v-F7nl22.js} +7 -7
- package/{browser/esm/CiKHaK_kIAhKfCdO.mjs → cdn/assets/y7OPrnmnmsKf_AFC.js} +1 -1
- package/cdn/index.js +2 -2
- package/package.json +3 -3
- package/browser/cjs/2nTOupSTLJfwR2Xr2.cjs +0 -1
- package/browser/cjs/BjYqVy9NYB3ZmGEY.cjs +0 -32
- package/browser/cjs/BvUcpUKYVrCK5n2U.cjs +0 -14
- package/browser/cjs/C0PxB67bYqsO7V1G2.cjs +0 -1
- package/browser/cjs/C2XU-hUt1ESe-Lym2.cjs +0 -8
- package/browser/cjs/CClH6iclautDoj8x2.cjs +0 -1
- package/browser/cjs/CXIJNqmAzn6OpqX5.cjs +0 -5
- package/browser/cjs/CXsFagVr04vhY7Uo.cjs +0 -42
- package/browser/cjs/CZSCuGkDSx0WPqjF.cjs +0 -1
- package/browser/cjs/Cez2y8M7jx35Vxwz.cjs +0 -3
- package/browser/cjs/Csx2sg-1yBljNBbj.cjs +0 -1
- package/browser/cjs/Df-fdT9Ac1c258zN.cjs +0 -1
- package/browser/cjs/LZG5aDIiIkN0mGFD.cjs +0 -1
- package/browser/cjs/O9HAYiw9e8V75pJ92.cjs +0 -1
- package/browser/cjs/Ugq14m_1jIROW2RN2.cjs +0 -22
- package/browser/esm/BC57lU_SIXKxcZkP2.mjs +0 -280
- package/browser/esm/CfIyCu9_WLgJL_UT.mjs +0 -87
- package/cdn/assets/D14aC0o9d5RZrVJo.js +0 -280
- package/cdn/assets/DwhwEhNA_QFs_EaZ.js +0 -24
- package/cdn/assets/DwhwEhNA_QFs_EaZ2.js +0 -24
- package/cdn/assets/EcoVJH4is9c6hPnS.js +0 -87
- /package/browser/cjs/{507hQYooKKjnRzsZ2.cjs → 507hQYooKKjnRzsZ.cjs} +0 -0
- /package/browser/cjs/{B6vy56yEA1I3B74O2.cjs → B6vy56yEA1I3B74O.cjs} +0 -0
- /package/browser/cjs/{BvG8N7G_8CXIAlT-2.cjs → BvG8N7G_8CXIAlT-.cjs} +0 -0
- /package/browser/cjs/{C0g87ndP2zMUbX6f2.cjs → C0g87ndP2zMUbX6f.cjs} +0 -0
- /package/browser/cjs/{CFxueP0tbpmvY1Ip2.cjs → CFxueP0tbpmvY1Ip.cjs} +0 -0
- /package/browser/cjs/{CW-b31_-r-_raT8Y.cjs → CW-b31_-r-_raT8Y2.cjs} +0 -0
- /package/browser/cjs/{DF4l8xrxkcLkgExp.cjs → DF4l8xrxkcLkgExp2.cjs} +0 -0
- /package/browser/cjs/{DM7-R_ltoLbA9jde2.cjs → DM7-R_ltoLbA9jde.cjs} +0 -0
- /package/browser/cjs/{DSXLVieENYN9qXYl.cjs → DSXLVieENYN9qXYl2.cjs} +0 -0
- /package/browser/cjs/{DpFg69dDCPoOK2BY2.cjs → DpFg69dDCPoOK2BY.cjs} +0 -0
- /package/browser/cjs/{Dtxj9JR14A-uliu5.cjs → Dtxj9JR14A-uliu52.cjs} +0 -0
- /package/browser/cjs/{Dx7GQ4ALtNG3kshu.cjs → Dx7GQ4ALtNG3kshu2.cjs} +0 -0
- /package/browser/cjs/{a4xpA8d_d22-GKos.cjs → a4xpA8d_d22-GKos2.cjs} +0 -0
- /package/browser/cjs/{aONv0Ys3C8xmnaR8.cjs → aONv0Ys3C8xmnaR82.cjs} +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./Ytzw6iUYx5f19wfK.cjs"),n=require("./Bj3YkKmVIoQ3YtYm.cjs"),r=require("./BnXCqfKX491kQrtl.cjs"),i=require("./B1yQqy3iSI5uZPt3.cjs"),a=require("./CPcBvw4ZPwHVTUZF.cjs"),o=require("./ImnRKBYtNpv7bEa7.cjs"),s=require("./C03SW3gXtIOgEr3A.cjs"),c=require("./BmdFT-Ie0SY8YqFf.cjs"),l=require("./BjQ-fIDc7Z3qMcPY.cjs"),u=require("./CEEuvrhhkW5TgJnc.cjs"),d=require("./B6T_y0ce8SbjxV-I.cjs");var f=e.r(t.i(),1);function p(e){return i.m(`MuiSkeleton`,e)}i.p(`MuiSkeleton`,[`root`,`text`,`rectangular`,`rounded`,`circular`,`pulse`,`wave`,`withChildren`,`fitContent`,`heightAuto`]);var m=e.r(t.r(),1),h=c.Dt`
|
|
2
|
+
0% {
|
|
3
|
+
opacity: 1;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
50% {
|
|
7
|
+
opacity: 0.4;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
100% {
|
|
11
|
+
opacity: 1;
|
|
12
|
+
}
|
|
13
|
+
`,g=c.Dt`
|
|
14
|
+
0% {
|
|
15
|
+
transform: translateX(-100%);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
50% {
|
|
19
|
+
/* +0.5s of delay between each loop */
|
|
20
|
+
transform: translateX(100%);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
100% {
|
|
24
|
+
transform: translateX(100%);
|
|
25
|
+
}
|
|
26
|
+
`,_=typeof h==`string`?null:c.Et`
|
|
27
|
+
animation: ${h} 2s ease-in-out 0.5s infinite;
|
|
28
|
+
`,v=typeof g==`string`?null:c.Et`
|
|
29
|
+
&::after {
|
|
30
|
+
animation: ${g} 2s linear 0.5s infinite;
|
|
31
|
+
}
|
|
32
|
+
`,y=c.ut(`span`,{name:`MuiSkeleton`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,t[n.variant],!1!==n.animation&&t[n.animation],n.hasChildren&&t.withChildren,n.hasChildren&&!n.width&&t.fitContent,n.hasChildren&&!n.height&&t.heightAuto]}})(c.lt(({theme:e})=>{let t=(n=e.shape.borderRadius,String(n).match(/[\d.\-+]*\s*(.*)/)[1]||`px`);var n;let r=(i=e.shape.borderRadius,parseFloat(i));var i;let a=c.et(e,{animation:`none`}),o=c.et(e,{"&::after":{animation:`none`,display:`none`}});return{display:`block`,backgroundColor:e.vars?e.vars.palette.Skeleton.bg:e.alpha(e.palette.text.primary,e.palette.mode===`light`?.11:.13),height:`1.2em`,variants:[{props:{variant:`text`},style:{marginTop:0,marginBottom:0,height:`auto`,transformOrigin:`0 55%`,transform:`scale(1, 0.60)`,borderRadius:`${r}${t}/${Math.round(r/.6*10)/10}${t}`,"&:empty:before":{content:`"\\00a0"`}}},{props:{variant:`circular`},style:{borderRadius:`50%`}},{props:{variant:`rounded`},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:({ownerState:e})=>e.hasChildren,style:{"& > *":{visibility:`hidden`}}},{props:({ownerState:e})=>e.hasChildren&&!e.width,style:{maxWidth:`fit-content`}},{props:({ownerState:e})=>e.hasChildren&&!e.height,style:{height:`auto`}},{props:{animation:`pulse`},style:_||{animation:`${h} 2s ease-in-out 0.5s infinite`}},...a?[{props:{animation:`pulse`},style:a}]:[],{props:{animation:`wave`},style:{position:`relative`,overflow:`hidden`,WebkitMaskImage:`-webkit-radial-gradient(white, black)`,"&::after":{background:`linear-gradient(\n 90deg,\n transparent,\n ${(e.vars||e).palette.action.hover},\n transparent\n )`,content:`""`,position:`absolute`,transform:`translateX(-100%)`,bottom:0,left:0,right:0,top:0}}},{props:{animation:`wave`},style:v||{"&::after":{animation:`${g} 2s linear 0.5s infinite`}}},...o?[{props:{animation:`wave`},style:o}]:[]]}})),b=f.forwardRef(function(e,t){let n=c.ct({props:e,name:`MuiSkeleton`}),{animation:r=`pulse`,className:a,component:o=`span`,height:s,style:l,variant:u=`text`,width:d,...f}=n,h={...n,animation:r,component:o,variant:u,hasChildren:!!f.children},g=(e=>{let{classes:t,variant:n,animation:r,hasChildren:i,width:a,height:o}=e;return c._t({root:[`root`,n,r,i&&`withChildren`,i&&!a&&`fitContent`,i&&!o&&`heightAuto`]},p,t)})(h);return(0,m.jsx)(y,{as:o,ref:t,className:i.h(g.root,a),ownerState:h,...f,style:{width:d,height:s,...l}})}),x=`8 / 5`,S=e=>{let{entry:t}=e,n=(s.V()===`dark`?t.thumbnailDarkUrl:void 0)??t.thumbnailUrl;return(0,m.jsx)(C,{src:n},n)},C=e=>{let{src:t}=e,[n,a]=(0,f.useState)(t?`loading`:`failed`);return(0,m.jsx)(i.t,{className:`template-thumbnail`,sx:{position:`relative`,width:`100%`,aspectRatio:x,overflow:`hidden`,borderRadius:1,border:e=>`1px solid ${e.palette.divider}`,background:e=>e.palette.background.paper,transition:`border-color 150ms, box-shadow 150ms`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:n===`failed`?(0,m.jsx)(r.r,{iconKey:`FileNew`,style:{fontSize:`2.5rem`,opacity:.4}}):(0,m.jsx)(`img`,{src:t,alt:``,loading:`lazy`,draggable:!1,onLoad:()=>a(`loaded`),onError:()=>a(`failed`),style:{width:`100%`,height:`100%`,objectFit:`cover`,objectPosition:`top left`,opacity:+(n===`loaded`),transition:`opacity 150ms ease-out`}})})},w=e=>{let{entry:t,category:n,onSelect:r}=e;return(0,m.jsxs)(c.L,{className:`template-tile`,disableRipple:!0,onClick:r,"aria-label":n?`${t.title}, ${n.title}`:t.title,title:t.description,sx:{display:`flex`,flexDirection:`column`,alignItems:`stretch`,textAlign:`left`,gap:.75,padding:1,borderRadius:1,"&:hover .template-thumbnail, &.Mui-focusVisible .template-thumbnail":{borderColor:e=>e.palette.primary.main,boxShadow:3},"&.Mui-focusVisible":{outline:e=>`2px solid ${e.palette.primary.main}`,outlineOffset:`-2px`}},children:[(0,m.jsx)(S,{entry:t}),(0,m.jsxs)(i.t,{sx:{minWidth:0},children:[(0,m.jsx)(c.N,{variant:`subtitle2`,component:`div`,noWrap:!0,children:t.title}),n?(0,m.jsx)(c.N,{variant:`caption`,component:`div`,noWrap:!0,sx:{color:`text.secondary`},children:n.title}):null]})]})},T=()=>(0,m.jsxs)(i.t,{sx:{padding:1,display:`flex`,flexDirection:`column`,gap:.75},children:[(0,m.jsx)(b,{variant:`rectangular`,sx:{width:`100%`,height:`auto`,aspectRatio:x,borderRadius:1}}),(0,m.jsx)(b,{variant:`text`,width:`60%`}),(0,m.jsx)(b,{variant:`text`,width:`35%`})]}),E=(0,f.memo)((0,f.forwardRef)((e,t)=>{let{catalog:n,onSelect:r,filter:o,groupBy:s,renderTile:l,tileMinWidth:u=180,emptyLabel:d,visibleRows:p,sx:h=i.Et.EmptyCssProperties,style:g,className:_,onKeyDown:v,...y}=e,b=i.Tt(),x=(0,f.useRef)(null),[S,C]=(0,f.useState)(0),E=(0,f.useRef)(null);E.current=()=>{let e=x.current?.querySelector(`.template-grid`)?.firstElementChild,t=(e?.offsetHeight?e:e?.firstElementChild)?.getBoundingClientRect().height;t&&C(t)},(0,f.useLayoutEffect)(()=>{p&&E.current?.()}),(0,f.useEffect)(()=>{let e=x.current;if(!p||!e)return;let t=new ResizeObserver(()=>E.current?.());return t.observe(e),()=>t.disconnect()},[p]);let D,O=(0,f.useMemo)(()=>new Map(n.categories.map(e=>[e.id,e])),[n.categories]),k=(0,f.useMemo)(()=>{let e=o?n.entries.filter(o):n.entries;if(!s)return[{key:null,entries:e}];let t=new Map;for(let e of n.categories)t.set(e.id,[]);for(let n of e){let e=s(n),r=t.get(e);r||t.set(e,r=[]),r.push(n)}return[...t].filter(([,e])=>e.length>0).map(([e,t])=>({key:e,title:O.get(e)?.title??e,entries:t}))},[n.entries,n.categories,O,o,s]),A={display:`grid`,gridTemplateColumns:`repeat(auto-fill, minmax(${u}px, 1fr))`,gap:`8px`};return D=n.status===`loading`?(0,m.jsx)(i.t,{className:`template-grid`,sx:A,"aria-busy":`true`,"aria-label":b(`template.loading`),children:Array.from({length:6},(e,t)=>(0,m.jsx)(T,{},t))}):n.status===`error`?(0,m.jsxs)(i.t,{sx:{display:`flex`,flexDirection:`column`,alignItems:`center`,gap:1,padding:4,textAlign:`center`},children:[(0,m.jsx)(c.N,{variant:`body2`,sx:{color:`text.secondary`},children:b(`template.loadFailed`)}),(0,m.jsx)(c.D,{variant:`outlined`,size:`small`,onClick:n.retry,children:b(`template.retry`)})]}):k.every(e=>e.entries.length===0)?(0,m.jsx)(c.N,{variant:`body2`,sx:{color:`text.secondary`,padding:4,textAlign:`center`},children:d??b(`template.empty`)}):k.map(e=>(0,m.jsxs)(i.t,{role:`group`,"aria-label":e.title,children:[e.title?(0,m.jsx)(c.N,{variant:`overline`,component:`div`,sx:{color:`text.secondary`,paddingX:1},children:e.title}):null,(0,m.jsx)(i.t,{className:`template-grid`,sx:A,children:e.entries.map(e=>{let t={category:O.get(e.category),onSelect:()=>r?.(e)};return l?(0,m.jsx)(i.t,{sx:{display:`contents`},children:l(e,t)},e.id):(0,m.jsx)(w,{entry:e,...t},e.id)})})]},e.key??``)),(0,m.jsx)(i.t,{ref:t,className:a.t(_,`template-panel`),sx:h,style:p&&S?{boxSizing:`content-box`,scrollbarGutter:`stable`,height:`${Math.ceil(p*S+8*(p-1))}px`,minHeight:`${Math.ceil(S)}px`,...g}:g,...y,children:(0,m.jsx)(i.t,{ref:x,onKeyDown:e=>{if(v?.(e),e.defaultPrevented)return;let t=x.current;if(!t)return;let n=Array.from(t.querySelectorAll(`.template-tile`)),r=n.indexOf(document.activeElement);if(r<0)return;let i=n[r].offsetTop,a=n.findIndex(e=>e.offsetTop===i&&e.parentElement===n[r].parentElement),o=0;for(;n[a+o]?.offsetTop===i;)o++;let s=r;switch(e.key){case`ArrowRight`:s=r+1;break;case`ArrowLeft`:s=r-1;break;case`ArrowDown`:s=r+Math.max(1,o);break;case`ArrowUp`:s=r-Math.max(1,o);break;case`Home`:s=0;break;case`End`:s=n.length-1;break;default:return}s=Math.max(0,Math.min(n.length-1,s)),e.preventDefault(),n[s].focus()},children:D})})}));E.displayName=`TemplatePanel`;var D=(e,t,n)=>{let r=t.trim().toLowerCase();return!r||[e.title,e.description,n?.title,...e.tags??[]].some(e=>e?.toLowerCase().includes(r))},O=e=>{let{value:t,onChange:n,sx:a}=e,o=i.Tt();return(0,m.jsx)(l.t,{size:`small`,value:t,placeholder:o(`template.search`),onChange:e=>n(e.target.value),onKeyDown:e=>{e.key===`Escape`&&t&&(e.stopPropagation(),n(``))},sx:a,slotProps:{input:{sx:{backgroundColor:`background.paper`},startAdornment:(0,m.jsx)(d.t,{position:`start`,children:(0,m.jsx)(r.r,{iconKey:`Find`})}),endAdornment:t?(0,m.jsx)(d.t,{position:`end`,children:(0,m.jsx)(u.T,{"aria-label":o(`template.clearSearch`),propsTooltip:{label:o(`template.clearSearch`)},onMouseDown:e=>{e.button===0&&e.preventDefault()},onClick:()=>n(``),icon:(0,m.jsx)(r.r,{iconKey:`Close`}),size:`small`})}):void 0},htmlInput:{spellCheck:!1,autoComplete:`off`,"aria-label":o(`template.search`)}}})},k=/^\d+\.\d+\.\d+-([0-9A-Za-z-]+)/.exec(o.c)?.[1],A=`https://unpkg.com/@sheetxl/templates-workbook${k?`@${k}`:``}/dist`,j=`templates-workbook`,M=e=>e.replace(/\.[^/.]+$/,``).replace(/([a-z])([A-Z])/g,`$1 $2`).replace(/[-_]+/g,` `).trim().replace(/\b\w/g,e=>e.toUpperCase()),N=(e,t)=>{let n=`${e}${e.endsWith(`/`)?``:`/`}${j}/${t}`;return typeof document>`u`?n:new URL(n,document.baseURI).href},P=e=>typeof e==`string`&&e?e:void 0,F=new Map,I=(e=A)=>{let t=F.get(e);return t||(t=(async()=>{let t=(await n.H(`templates`,j,e)).find(e=>e.meta?.schema!==void 0);if(!t)throw Error(`No template catalog found at '${e}'.`);return Math.floor(Number(t.meta?.schema))===1?((e,t)=>{let n=Array.isArray(e.meta?.categories)?e.meta.categories:[],r=[],i=new Set;for(let e of n){let t=P(e?.id);t&&!i.has(t)&&(i.add(t),r.push({id:t,title:P(e.title)??M(t),description:P(e.description),icon:P(e.icon)}))}let a=[];for(let n of e.entries){let e=n.path,o=e.split(`/`);if(o.length!==2||!/\.(?:xlsx|sxl|csv)$/i.test(e))continue;let s=P(n.category)??o[0];i.has(s)||(i.add(s),r.push({id:s,title:M(s)}));let c=P(n.thumbnail),l=P(n.thumbnailDark);a.push({id:e,title:P(n.title)??M(o[1]),category:s,description:P(n.description),tags:Array.isArray(n.tags)?n.tags.filter(e=>typeof e==`string`):void 0,thumbnailUrl:c?N(t,c):void 0,thumbnailDarkUrl:l?N(t,l):void 0,sourceUrl:N(t,e)})}return{categories:r,entries:a}})(t,e):(console.warn(`Template catalog at '${e}' has schema ${t.meta?.schema}; expected 1.`),{categories:[],entries:[]})})(),F.set(e,t),t.catch(()=>{F.delete(e)})),t},L=(e={})=>{let{path:t=A}=e,[n,r]=(0,f.useState)(0),[i,a]=(0,f.useState)({status:`loading`,categories:[],entries:[]});return(0,f.useEffect)(()=>{let e=!1;return a(e=>e.status===`loading`?e:{status:`loading`,categories:[],entries:[]}),I(t).then(t=>{e||a({status:`ready`,...t})},t=>{e||a({status:`error`,categories:[],entries:[],error:t})}),()=>{e=!0}},[t,n]),{...i,retry:(0,f.useCallback)(()=>{r(e=>e+1)},[])}};Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return D}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return L}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return I}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return O}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return E}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./Bj3YkKmVIoQ3YtYm.cjs"),t=require("./BPWKnUtyoTrtW567.cjs"),n=require("./B-t_DeDrhWtCFPcI.cjs"),r=require("./Cez2y8M7jx35Vxwz.cjs"),i=require("./CHMgm0vAbEBS1mVW.cjs"),a=require("./C0m8l7d1fHu9CO2M.cjs"),o=require("./JrW6on2mNQQ3NXKs.cjs");var s=class{constructor(e){this.list=e}get length(){return this.list.length}item(e){return this.list[e]}forEach(e,t){let n=this.list,r=n.length;for(let t=0;t<r;t++)e(n[t],t,this)}entries(){return this.list.entries()}keys(){return this.list.keys()}values(){return this.list.values()}[Symbol.iterator](){return this.list.values()}},c=e=>!0===e||e===`1`||e===`on`||e===`true`||!1!==e&&e!==`0`&&e!==`off`&&e!==`false`&&null,l=e=>{let t=parseInt(e);return isNaN(t)?null:t},u=e=>{let t=parseFloat(e);return isNaN(t)?null:t},d=new Map,f=class{constructor(t,n,r,i,a,o=null,s=e.I.EmptyObject){this._fileLocation=``,this._parent=t,this.sharedShared=n,this.currentPath=r,this.elemRoot=i,this.jsonRoot=a,t?(this._fileLocation=t._fileLocation,this._getRef=t._getRef,this._getRefs=t._getRefs,this._serializeElement=t._serializeElement,this._readEmbeddedPart=t._readEmbeddedPart):(o&&(this._fileLocation=o),s?.getRef&&(this._getRef=(e,t,n)=>s?.getRef?.(e,t,n,s?.parsedRefs)),s?.getRefs&&(this._getRefs=e=>s?.getRefs?.(e,s?.parsedRefs)),this._onWarning=s?.onWarning,this._addPerson=s?.addPerson,this._serializeElement=s?.serializeElement,this._readEmbeddedPart=s?.readEmbeddedPart)}getRef(e,t=!1){return this._getRef?.(e,this._fileLocation,t)??null}readEmbeddedPart(e){return this._readEmbeddedPart?.(e,this._fileLocation)??null}getRelationships(){return this._getRefs?.(this._fileLocation)??d}getPath(){return this.currentPath}getFileLocation(){return this._fileLocation}getElemRoot(){return this.elemRoot}getJsonRoot(){return this.jsonRoot}warn(e,t){this._raiseWarning(e,this.getFileLocation(),t?.onceKey)}_raiseWarning(e,t,n){this._onWarning?this._onWarning(e,t,n):this._parent?this._parent._raiseWarning(e,t,n):console.warn(e)}serializeElement(e){return this._serializeElement?.(e)??null}addPerson(e){return typeof e==`string`&&(e={displayName:e}),this._addPerson?this._addPerson(e):this._parent?this._parent?._addPerson?.(e)??null:null}getVisitorParamsState(){return this.sharedShared.getVisitorParamsState()}evaluate(e,t){if(!e)return t;let n=[t],r=e.split(`/`),i=r.length;for(let e=0;e<i;e++){let t=r[e];if(t===``||t===`.`)continue;let a=[],o=(t===`*`||t===`**`)&&e!==i-1;for(let i of n)if(i)if(o){let t=r[e+1];t&&t!==``&&t!==`.`&&(this._findDescendants(i,t,a),e++)}else if(t===`*`||t===`**`){if(!i.childNodes)continue;let e=i.childNodes,t=e.length;for(let n=0;n<t;n++){let t=e[n];t.nodeType===1&&a.push(t)}}else{if(!i.childNodes)continue;let e=i.childNodes,n=e.length;for(let r=0;r<n;r++){let n=e[r];if(n.nodeType!==1)continue;let i=n;this._matchesElementName(i,t)&&a.push(i)}}if(n=a,n.length===0)return null}return n.length===1?n[0]:n.length===0?null:new s(n)}_matchesElementName(e,t){return t.includes(`:`)?(e.tagName||e.nodeName)===t:e.localName===t}_findDescendants(e,t,n){if(!e||!e.childNodes)return;let r=e.childNodes,i=r.length;for(let e=0;e<i;e++){let i=r[e];if(i.nodeType!==1)continue;let a=i;this._matchesElementName(a,t)&&n.push(a),this._findDescendants(a,t,n)}}getFromPath(t,n){return e.I.getFromPath(t,n)}setToPath(t,n,r){return e.I.setToPath(t,n,r)}getValAttrAsString(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?n.getAttribute(`val`)??null:null}getValAttrAsBoolean(e,t,n=!1){let r=this.evaluate(e,t);if(!r)return null;let i=r.hasAttribute(`val`)?r.getAttribute(`val`):void 0;return i==null?n:i===`1`||i===`on`||i===`true`||i!==`0`&&i!==`off`&&i!==`false`&&n}getValAttrAsInteger(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?parseInt(n.getAttribute(`val`))??null:null}getValAttrAsFloat(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?parseFloat(n.getAttribute(`val`))??null:null}get BOOLEAN_COPY(){return c}get INT_COPY(){return l}get FLOAT_COPY(){return u}copyFromAttribute(e,t,n,r=t,i=null){if(!e||!n||!e.hasAttribute(t))return;let a=e.getAttribute(t);if(i){if(Array.isArray(i)){let e=i.length;for(let t=0;t<e;t++)if(a==null||(a=i[t](a),a==null))return}else if(a==null||(a=i(a),a==null))return}this.setToPath(n,r,a)}},p=i.r({isBlank:()=>y,isNotBlank:()=>b,length:()=>x,parseRotation:()=>m,parseValAttrAsBoolean:()=>g,parseValAttrAsFloat:()=>v,parseValAttrAsInteger:()=>_,parseValAttrAsString:()=>h}),m=(t,n)=>{if(!t||!t.hasAttribute(`rot`))return;let r=t.getAttribute(`rot`),i=e.I.roundAccurately(o.r(r),2);i!==-1e3&&(n.rotation=i)},h=(e,t,n,r,i)=>{let a=e.getValAttrAsString(r,t);a!==null&&(n[i]=a)},g=(e,t,n,r,i=r,a=null)=>{let o=e.getValAttrAsBoolean(r,t,a);o!==null&&(n[i]=o)},_=(e,t,n,r,i)=>{let a=e.getValAttrAsInteger(r,t);a!==null&&(n[i]=a)},v=(e,t,n,r,i,a=1)=>{let o=e.getValAttrAsFloat(r,t);o!==null&&(n[i]=o*a)},y=e=>!e||e.trim().length===0,b=e=>!y(e),x=e=>e?.length??0,S=class{constructor(e){this.jsonKey=e}visit(e,t,n){let r={};return n[this.jsonKey]=r,r}},C=class{visit(e,t,n){}getStroke(e,t){let n=e.evaluate(`ln`,t);return n?this.parseLn(e,n):{}}parseLn(e,t){let n={};t.hasAttribute(`algn`)&&(n.align=t.getAttribute(`algn`)),t.hasAttribute(`cap`)&&(n.lineCap=T(t.getAttribute(`cap`))),t.hasAttribute(`cmpd`)&&(n.compound=t.getAttribute(`cmpd`)),t.hasAttribute(`w`)&&(n.width=o.f(t.getAttribute(`w`)));let r=e.evaluate(`miter`,t);r&&(n.lineJoin=`miter`,r.hasAttribute(`lim`)&&(n.miterLimit=parseFloat(r.getAttribute(`lim`))/1e5)),e.evaluate(`bevel`,t)&&(n.lineJoin=`bevel`),e.evaluate(`round`,t)&&(n.lineJoin=`round`);let i=e.evaluate(`custDash`,t);if(i){let t=e.evaluate(`ds`,i);if(t&&t.length>0){let e=[];for(let n=0;n<t.length;n++){let r=t.item(n);e.push(o.m(r.getAttribute(`d`)??``)),e.push(o.m(r.getAttribute(`sp`)??``))}n.dash=e}}let a=e.evaluate(`prstDash`,t);a&&a.hasAttribute(`val`)&&(n.dash=a.getAttribute(`val`)),this.parseEndElement(e,t,n,`headEnd`,`head`),this.parseEndElement(e,t,n,`tailEnd`,`tail`);let s=this.getFill(e,t);return s&&(n.fill=s),n}parseEndElement(e,t,n,r,i){let a=e.evaluate(r,t);if(a&&(a.hasAttribute(`type`)&&(n[i+`Type`]=a.getAttribute(`type`)),a.hasAttribute(`len`)||a.hasAttribute(`w`))){let e=a.getAttribute(`len`)||`med`,t=a.getAttribute(`w`)||`med`;n[i+`Size`]=e+`-`+t}}getEffects(e,t){let n=e.evaluate(`effectLst`,t);if(!n)return null;let r=[],i=n.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processEffectElement(e,n,n.localName);if(a===void 0)return;r.push(a)}return r}processEffectElement(e,t,n){switch(n){case`outerShdw`:{let n={type:r.m.Type.OuterShadow,color:this.processAdjColor(e,t)};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`blurRad`)&&(n.blur=o.f(t.getAttribute(`blurRad`))),t.hasAttribute(`algn`)&&(n.alignment=t.getAttribute(`algn`)),t.hasAttribute(`rotWithShape`)&&(n.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),t.hasAttribute(`sx`)&&(n.scaleX=o.m(t.getAttribute(`sx`))),t.hasAttribute(`sy`)&&(n.scaleY=o.m(t.getAttribute(`sy`))),t.hasAttribute(`kx`)&&(n.skewX=o.r(t.getAttribute(`kx`))),t.hasAttribute(`ky`)&&(n.skewY=o.r(t.getAttribute(`ky`))),n}case`innerShdw`:{let n={type:r.m.Type.InnerShadow,color:this.processAdjColor(e,t)};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`blurRad`)&&(n.blur=o.f(t.getAttribute(`blurRad`))),n}case`prstShdw`:{let n={type:r.m.Type.PresetShadow,color:this.processAdjColor(e,t),preset:t.getAttribute(`prst`)??void 0};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),n}case`glow`:{let n={type:r.m.Type.Glow,color:this.processAdjColor(e,t)};return t.hasAttribute(`rad`)&&(n.radius=o.f(t.getAttribute(`rad`))),n}case`softEdge`:{let e={type:r.m.Type.SoftEdge};return t.hasAttribute(`rad`)&&(e.radius=o.f(t.getAttribute(`rad`))),e}case`reflection`:{let e={type:r.m.Type.Reflection};return t.hasAttribute(`blurRad`)&&(e.blur=o.f(t.getAttribute(`blurRad`))),t.hasAttribute(`dist`)&&(e.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(e.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`fadeDir`)&&(e.fadeAngle=o.r(t.getAttribute(`fadeDir`))),t.hasAttribute(`stA`)&&(e.startAlpha=o.m(t.getAttribute(`stA`))),t.hasAttribute(`stPos`)&&(e.startPosition=o.m(t.getAttribute(`stPos`))),t.hasAttribute(`endA`)&&(e.endAlpha=o.m(t.getAttribute(`endA`))),t.hasAttribute(`endPos`)&&(e.endPosition=o.m(t.getAttribute(`endPos`))),t.hasAttribute(`sx`)&&(e.scaleX=o.m(t.getAttribute(`sx`))),t.hasAttribute(`sy`)&&(e.scaleY=o.m(t.getAttribute(`sy`))),t.hasAttribute(`kx`)&&(e.skewX=o.r(t.getAttribute(`kx`))),t.hasAttribute(`ky`)&&(e.skewY=o.r(t.getAttribute(`ky`))),t.hasAttribute(`algn`)&&(e.alignment=t.getAttribute(`algn`)),t.hasAttribute(`rotWithShape`)&&(e.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),e}default:return}}getFill(e,t){if(e.evaluate(`noFill`,t))return{type:n.T.Type.None};let r=e.evaluate(`solidFill`,t);if(r){let t=this.processAdjColor(e,r);if(t)return{type:n.T.Type.Solid,color:t}}let i=e.evaluate(`gradFill`,t);if(i)return this.processGradFill(e,i);let a=e.evaluate(`pattFill`,t);if(a)return this.processPatternFill(e,a);let o=e.evaluate(`blipFill`,t);return o?this.processImageFill(e,o):null}processGradFill(e,t){let r={type:n.T.Type.Gradient};t.hasAttribute(`rotWithShape`)&&(r.isRotatedWithShape=t.getAttribute(`rotWithShape`)===`1`);let i=e.evaluate(`lin`,t);i&&(r.gradientType=n.T.GradientType.Linear,i.hasAttribute(`ang`)&&(r.angle=o.r(i.getAttribute(`ang`))),i.hasAttribute(`scaled`)&&(r.scaled=o.t(i.getAttribute(`scaled`))));let a={};t.hasAttribute(`flip`)&&(a.mirror=t.getAttribute(`flip`)),Object.keys(a).length>0&&(r.tile=a);let s=e.evaluate(`path`,t);if(s){s.hasAttribute(`path`)&&(r.gradientType=w(s.getAttribute(`path`)));let t=e.evaluate(`fillToRect`,s);t&&(r.focus=this.getRect(t))}let c=e.evaluate(`tileRect`,t);c&&(r.tile||={},r.tile.bounds=this.getRect(c));let l=[],u=e.evaluate(`gsLst/gs`,t),d=u?u.length:0;for(let t=0;t<d;t++){let n=u.item(t),r={offset:o.m(n.getAttribute(`pos`)??``),color:this.processAdjColor(e,n)};l.push(r)}return l.length>0&&(r.stops=l),r}getRect(e){let t={};return e.hasAttribute(`t`)&&(t.t=o.m(e.getAttribute(`t`))),e.hasAttribute(`l`)&&(t.l=o.m(e.getAttribute(`l`))),e.hasAttribute(`b`)&&(t.b=o.m(e.getAttribute(`b`))),e.hasAttribute(`r`)&&(t.r=o.m(e.getAttribute(`r`))),Object.keys(t).length===0?null:t}processImageFill(e,t){let r={type:n.T.Type.Image};return t.hasAttribute(`rotWithShape`)&&(r.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),t.hasAttribute(`dpi`)&&(r.dpi=t.getAttribute(`dpi`)),r.ref=`https://www.sheetxl.com/logo-color-padded-white.jpg`,r.tile=!1,r}processPatternFill(e,t){let r={type:n.T.Type.Pattern};r.patternType=t.getAttribute(`prst`);let i=e.evaluate(`bgClr`,t);if(i){let t=this.processAdjColor(e,i);t&&(r.background=t)}let a=e.evaluate(`fgClr`,t);if(a){let t=this.processAdjColor(e,a);t&&(r.foreground=t)}return r}processAdjColor(e,t){let n=e.evaluate(`hslClr`,t);if(n)return this.processHslClr(e,n);let r=e.evaluate(`prstClr`,t);if(r)return this.processClrWithValAttribute(e,r);let i=e.evaluate(`schemeClr`,t);if(i)return this.processClrWithValAttribute(e,i);let a=e.evaluate(`sysClr`,t);if(a){let t=this.processClrWithValAttribute(e,a),n=a.getAttribute(`lastClr`);return t&&n&&(t+=` lastClr ${n}`),t}let o=e.evaluate(`scrgbClr`,t);if(o)return this.processScrgbClrElement(e,o);let s=e.evaluate(`srgbClr`,t);return s?this.processSrgbClrElement(e,s):null}processScrgbClrElement(e,t){let n=`lrgba(`+o.m(t.getAttribute(`r`)??``)+`,`+o.m(t.getAttribute(`g`)??``)+`,`+o.m(t.getAttribute(`b`)??``)+`)`;return n+=this.processAdjustments(e,t),n}processSrgbClrElement(e,t){let n=t.getAttribute(`val`);return n+=this.processAdjustments(e,t),n}processHslClr(e,t){let n=`hsl(`+o.r(t.getAttribute(`hue`)??``)+`,`+o.m(t.getAttribute(`sat`)??``)+`,`+o.m(t.getAttribute(`lum`)??``)+`)`;return n+=this.processAdjustments(e,t),n}processClrWithValAttribute(e,t){let n=t.getAttribute(`val`);if(!n)return null;let r=n;return r+=this.processAdjustments(e,t),r}processAdjustments(e,t){let n=``,r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1){let t=i.localName;n+=t===`hue`||t===`hueOff`||t===`hueMod`?this.processAdjustmentElement(e,i,t,6e4):t===`gray`||t===`comp`||t===`inv`||t===`gamma`||t===`invGamma`?this.processAdjustmentElement(e,i,t,1):t===`alpha`||t===`alphaOff`||t===`alphaMod`?this.processAdjustmentElement(e,i,t,1e5):this.processAdjustmentElement(e,i,t)}}return n}processAdjustmentElement(e,t,n,r=1e3){let i=t.getAttribute(`val`);return i?` ${n} ${!i||parseFloat(i)/r}`:` ${n}`}},w=e=>e===`circle`?`radial`:e,T=e=>{if(e===`rnd`)return`round`;if(e===`flat`)return`butt`;if(e===`sq`)return`square`;throw Error(`Invalid lineCap type: `+e)},E=class extends C{visit(e,t,n){try{let r=e.evaluate(`xfrm`,t);if(r){m(r,n);let t={x:0,y:0,width:0,height:0},i=e.evaluate(`off`,r);i&&(t.x=o.h(i.getAttribute(`x`))??0,t.y=o.h(i.getAttribute(`y`))??0);let a=e.evaluate(`ext`,r);i&&(t.width=o.h(a.getAttribute(`cx`))??0,t.height=o.h(a.getAttribute(`cy`))??0),n.bounds=t}let i=e.evaluate(`prstGeom`,t);i?.hasAttribute(`prst`)?n.geometry=i?.getAttribute(`prst`):e.evaluate(`customGeom`,t)&&e.warn(`Custom shape geometry is not supported; the shape keeps its bounds only.`,{onceKey:`xlsx.shape.customGeometry`});let a=this.getFill(e,t);a&&Object.keys(a).length>0&&(n.fill=a);let s=this.getStroke(e,t);return s&&Object.keys(s).length>0&&(n.stroke=s),n}catch(t){e.warn(`Unable to read shape properties: ${t?.message??t}`,{onceKey:`xlsx.shape.unreadable`})}}},D=class{visit(e,t,n){let r={};if(h(e,t,r,`grouping`,`grouping`),g(e,t,r,`varyColors`,`varyColors`),v(e,t,r,`gapWidth`,`gapWidth`,.01),v(e,t,r,`overlap`,`overlap`,.01),this.parseType(e,t,r),_(e,t,r,`bubbleScale`,`bubbleScale`),g(e,t,r,`showNegBubbles`,`showNegativeBubbleValues`),g(e,t,r,`sizeRepresents`,`bubbleSizeRepresentsWidth`),_(e,t,r,`firstSliceAng`,`startAngle`),_(e,t,r,`holeSize`,`holeSize`),h(e,t,r,`scatterStyle`,`scatterStyle`),this.parseAxisIds(e,t,r),Object.keys(r).length>0){let t=e.getVisitorParamsState().get(`types`);t||(e.warn(`A chart type was read outside a chart; its types were started fresh.`,{onceKey:`xlsx.chart.typesState`}),t=[],e.getVisitorParamsState().set(`types`,t)),t.push(r)}return r}parseType(e,t,n){switch(t.localName){case`areaChart`:n.type=`area`;break;case`bubbleChart`:n.type=`bubble`;break;case`doughnutChart`:case`ofPieType`:case`pieChart`:n.type=`pie`;break;case`lineChart`:n.type=`line`;break;case`scatterChart`:n.type=`scatter`}}parseAxisIds(e,t,n){let r=e.evaluate(`axId`,t);r&&r.length!==0&&(n.xAxisId=r.item(0).getAttribute(`val`),n.yAxisId=r.item(1).getAttribute(`val`))}},O=(e,t,n)=>{if(!0===e.getValAttrAsBoolean(`invertIfNegative`,t))if(e.evaluate(`extLst/ext/invertSolidFillFmt`,t)){if(n.fill&&n.fillNegative){let t=e.getFromPath(n,`fill.solid.adjs`);t&&e.setToPath(n,`fillNegative.solid.adjs`,t)}}else{let e={val:`FFFFFF`},t={};t.solid=e,n.fillNegative=t;let r={val:`000000`},i={};i.solid=r;let a={};a.fill=i,n.strokeNegative=a}},k=class extends C{constructor(e=`text`){super(),this._jsonKey=e}getTextPath(){return this._jsonKey}visit(e,t,n){let r=e.getFromPath(n,this.getTextPath());return r||={},this.parseTextElement(e,t,r,!1),Object.keys(r).length>0&&e.setToPath(n,this.getTextPath(),r),n}parseTextElement(e,t,n,r){let i=e.evaluate(`p/pPr/defRPr`,t)??e.evaluate(`defRPr`,t),a=i?.length===void 0?i:i.item(0);a&&(this.parseTextProperties(e,a,n),new E().visit(e,a,n));let o=n.runs??[],s=e.evaluate(`p/r`,t)??e.evaluate(`r`,t),c=t=>{let n={},r=e.evaluate(`t`,t),i=e.evaluate(`rPr`,t);i&&this.parseTextProperties(e,i,n),r&&r.firstChild?n.text=r.firstChild.textContent??``:t.textContent&&(n.text=t.textContent??``),Object.keys(n).length>0&&o.push(n)};if(s?.length!==void 0)for(let e=0;s&&e<s.length;e++)c(s.item(e));else c(s||t);o.length>0&&(n.runs=o);let l=e.evaluate(`bodyPr`,t);l&&m(l,n)}parseTextProperties(e,t,r){if(!t)return;t.hasAttribute(`sz`)&&(r.size=parseFloat(t.getAttribute(`sz`))/100),t.hasAttribute(`b`)&&(r.weight=t.getAttribute(`b`)===`1`?700:400),t.hasAttribute(`i`)&&(r.italic=t.getAttribute(`i`)===`1`),t.hasAttribute(`u`)&&(r.underline=t.getAttribute(`u`)),t.hasAttribute(`strike`)&&(r.strike=t.getAttribute(`strike`));let i=this.getFill(e,t);i&&Object.keys(i).length>0&&(r.color=i);let a=e.evaluate(`latin`,t);if(a&&!a.getAttribute(`typeface`).startsWith(`+`)){let e=r.font??{};if(a.hasAttribute(`typeface`)&&(e.family=a.getAttribute(`typeface`)),a.hasAttribute(`panose`)){let t=a.getAttribute(`panose`);t&&(e.fallbacks=[n.v.getPanoseFallback(t)])}a.hasAttribute(`pitchFamily`)&&(e.pitch=a.getAttribute(`pitchFamily`)),a.hasAttribute(`charset`)&&(e.charset=a.getAttribute(`charset`)),Object.keys(e).length>0&&(r.font=e)}}},A=class{visit(e,t,n){}processDataBarColor(e,t,n,r,i=`auto`){if(!t)return;let a=o.l(e=>t.getAttribute(e),i);return a&&(n[r]=a),n}processFonts(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;t<a;t++){let a=r.item(t);if(a.nodeType===1&&a.localName===`font`){let t={};this.processFont(e,a,t),n[i++]=t}}return n}processFont(e,t,r){e.getValAttrAsBoolean(`b`,t,!0)&&(r.weight=700),e.getValAttrAsBoolean(`i`,t,!0)&&(r.style=n.v.Style.Italic),e.getValAttrAsBoolean(`strike`,t,!0)&&(r.strike=!0);let i=e.evaluate(`u`,t);i&&(r.underline=i.getAttribute(`val`)||n.v.UnderlineStyle.Single),h(e,t,r,`vertAlign`,`verticalAlign`),r.verticalAlign===`superscript`?r.verticalAlign=n.v.VerticalAlignment.Super:r.verticalAlign===`subscript`&&(r.verticalAlign=n.v.VerticalAlignment.Sub),v(e,t,r,`sz`,`size`);let a=e.evaluate(`color`,t);this.processDataBarColor(e,a,r,`color`),r.color||=`auto`,h(e,t,r,`name`,`family`),h(e,t,r,`rFont`,`family`);let o=e.evaluate(`family`,t);if(o){let e=o.getAttribute(`val`);if(e)switch(e){case`1`:r.fallbacks=[`serif`];break;case`2`:r.fallbacks=[`sans-serif`];break;case`3`:r.fallbacks=[`monospace`];break;case`4`:r.fallbacks=[`cursive`];break;case`5`:r.fallbacks=[`fantasy`]}}return h(e,t,r,`scheme`,`scheme`),r.family!==void 0&&r.scheme===void 0&&(r.scheme=n.v.Scheme.None),g(e,t,r,`shadow`,`shadow`,!0),g(e,t,r,`outline`,`outline`,!0),e.getValAttrAsBoolean(`condense`,t,!0)&&(r.letterSpacing=-1),e.getValAttrAsBoolean(`extend`,t,!0)&&(r.letterSpacing=1),_(e,t,r,`charset`,`charset`),r}processFills(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;t<a;t++){let a=r.item(t);a.nodeType===1&&a.localName===`fill`&&this.processFill(e,a,n,i++)}return n}processFill(e,t,r,i){let a={type:n.T.Type.None},o=t.childNodes,s=!1,c=o.length;for(let t=0;!s&&t<c;t++){let n=o.item(t);n.nodeType===1&&(n.localName===`gradientFill`?(this.processGradientFill(e,n,a),s=!0):n.localName===`patternFill`&&(this.processPatternFill(e,n,a),s=!0))}return r[i]=a,r}processGradientFill(e,t,r){if(!t)return;r.type=n.T.Type.Gradient;let i=[];r.stops=i;let a=t.getAttribute(`type`);a&&(r.gradientType=a);let o=t.hasAttribute(`degree`)?parseFloat(t.getAttribute(`degree`)):0;(o+90)%360!=0&&(r.angle=(o+90)%360),(t.hasAttribute(`left`)||t.hasAttribute(`top`)||t.hasAttribute(`right`)||t.hasAttribute(`bottom`))&&(r.focus={left:j(t.getAttribute(`left`)),top:j(t.getAttribute(`top`)),right:j(t.getAttribute(`right`)),bottom:j(t.getAttribute(`bottom`))});let s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType===1&&n.localName===`stop`){let t={};i.push(t),t.offset=parseFloat(n.getAttribute(`position`)??``);let r=e.evaluate(`color`,n);this.processDataBarColor(e,r,t,`color`)}}return r}processPatternFill(e,t,r){if(!t)return;let i=e.getVisitorParamsState().get(`processingDXFs`),a=t.getAttribute(`patternType`)||(i?n.T.BuiltInSheetPattern.Solid:n.T.BuiltInSheetPattern.None);if(a===n.T.BuiltInSheetPattern.None)return{none:!0};r.type=n.T.Type.Pattern,a&&(r.patternType=a);let o=`foreground`,s=`background`,c=r.patternType===n.T.BuiltInSheetPattern.Solid&&i,l=c?`dk1`:`lt1`,u=c?`lt1`:`dk1`;if(c){let e=o;o=s,s=e}let d=e.evaluate(`fgColor`,t);this.processDataBarColor(e,d,r,o,l);let f=e.evaluate(`bgColor`,t);return this.processDataBarColor(e,f,r,s,u),c&&(r.foreground||=`lt1`,r.background||=`dk1`),r}processBorders(e,t,n,r){if(!t)return;let i=t.childNodes,a=0,o=i.length;for(let t=0;t<o;t++){let o=i.item(t);o.nodeType===1&&o.localName===`border`&&this.processBorder(e,o,n,a++,r)}return n}processBorder(e,t,r,i,a){if(!t)return;let o={};return this.processBorderStroke(e,t,o,n.Z.Edge.Left),this.processBorderStroke(e,t,o,n.Z.Edge.Right),a?(o.right||o.left)&&(o.right?o.vertical={...o.right}:o.vertical={...o.left}):this.processBorderStroke(e,t,o,n.Z.Edge.Vertical),this.processBorderStroke(e,t,o,n.Z.Edge.Top),this.processBorderStroke(e,t,o,n.Z.Edge.Bottom),a?(o.bottom||o.top)&&(o.bottom?o.horizontal={...o.bottom}:o.horizontal={...o.top}):this.processBorderStroke(e,t,o,n.Z.Edge.Horizontal),r[i]=o,r}processBorderStroke(e,t,r,i){if(!t)return;let a=e.evaluate(i,t);if(!a)return;let o={};a.hasAttribute(`style`)?o.style=a.getAttribute(`style`):e.getVisitorParamsState().get(`processingDXFs`)&&(o.style=n.Z.StrokeStyle.None);let s=e.evaluate(`color`,a);return s&&this.processDataBarColor(e,s,o,`color`),Object.keys(o).length>0?r[i]=o:null}},j=e=>{if(!e)return 0;let t=parseFloat(e);return isNaN(t)?0:t},ee={auto:`auto`,autoNoTable:`automaticExceptTables`,manual:`manual`},M=class{visit(e,t,n){if(!t)return;let r=e.evaluate(`*/cNvPr`,t);return r.item&&(r=r.item(0)),r&&(e.copyFromAttribute(r,`name`,n),e.copyFromAttribute(r,`descr`,n,`description`),e.copyFromAttribute(r,`hidden`,n,`hidden`,e.BOOLEAN_COPY),e.copyFromAttribute(r,`id`,n)),n}setContent(e,t){let n=e;n.name!==void 0&&(t.name=n.name,delete n.name),n.description!==void 0&&(t.description=n.description,delete n.description),e.content=t}},N=class extends M{visit(e,t,n){if(!t)return;if(e.getPath().includes(`Fallback`)&&n.content){let r=n.content.json;return n.content.type===`sp`&&r?.xml&&r.fallbackXml===void 0&&(r.fallbackXml=e.serializeElement(t)??void 0),n}n=super.visit(e,t,n);let r=e.evaluate(`nvSpPr/cNvSpPr`,t);if(r){let t=e.evaluate(`spLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i=e.evaluate(`*/cNvPr`,t);i?.item&&(i=i.item(0));let a=i?.getAttribute?.(`id`),o=a?parseInt(a,10):void 0,s={type:`sp`,xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o};return this.setContent(n,{type:`sp`,json:s}),s}},P=`richTypes`,F=`richData`,I=e=>{let t=e.getAttribute(`val`);return t!==`0`&&t!==`false`},te={1:`serif`,2:`sans-serif`,3:`monospace`,4:`cursive`,5:`fantasy`};function ne(e){let t={},r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType===1)switch(i.localName){case`b`:t.weight=I(i)?700:400;break;case`i`:t.style=I(i)?n.v.Style.Italic:n.v.Style.Normal;break;case`strike`:t.strike=I(i);break;case`outline`:t.outline=I(i);break;case`shadow`:t.shadow=I(i);break;case`extend`:t.extend=I(i);break;case`u`:t.underline=i.getAttribute(`val`)||n.v.UnderlineStyle.Single;break;case`vertAlign`:{let e=i.getAttribute(`val`);e===`superscript`?t.verticalAlign=n.v.VerticalAlignment.Super:e===`subscript`?t.verticalAlign=n.v.VerticalAlignment.Sub:e===`baseline`&&(t.verticalAlign=n.v.VerticalAlignment.Baseline);break}case`sz`:{let e=parseFloat(i.getAttribute(`val`)??``);isNaN(e)||(t.size=e);break}case`rFont`:{let e=i.getAttribute(`val`);e&&(t.family=e);break}case`family`:{let e=te[i.getAttribute(`val`)??``];e&&(t.fallbacks=[e]);break}case`charset`:{let e=parseInt(i.getAttribute(`val`)??``,10);isNaN(e)||(t.charset=e);break}case`scheme`:{let e=i.getAttribute(`val`);e&&(t.scheme=e);break}case`color`:{let e=i.getAttribute(`rgb`);if(e&&!i.hasAttribute(`theme`)){t.color=`#`+(e.length===8?e.substring(2):e).toUpperCase();break}let n=o.l(e=>i.getAttribute(e));n&&(t.color=n);break}}}return Object.keys(t).length>0?t:null}var re=class{visit(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);i.nodeType===1&&i.localName===`Relationship`&&this.processRelationship(e,i,n)}return n}processRelationship(e,t,n){let r={};e.copyFromAttribute(t,`Target`,r,`target`),e.copyFromAttribute(t,`Type`,r,`type`),e.copyFromAttribute(t,`TargetMode`,r,`targetMode`),n[t.getAttribute(`Id`)]=r}},ie=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processProperty(e,n);a&&r.push(a)}return r.length>0&&(n.properties=r),r}processProperty(e,t){if(t)return t.getAttribute(`xsi:type`),{key:t.localName,value:t.textContent||``}}},L=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processProperty(e,n);a&&r.push(a)}return r.length>0&&(n.properties=r),r}processProperty(e,t){if(t)return{key:t.localName,value:t.textContent||``}}},R=class{visit(e,t,n){return g(e,t,n,`roundedCorners`,`roundedCorners`),_(e,t,n,`.//AlternateContent/Fallback/style`,`styleId`),e.getVisitorParamsState().set(`types`,[]),e.getVisitorParamsState().set(`axes`,new Map),n.range=null,n}afterVisit(e,t,n){let r={};n.types=r;let i={},a=0,o={},s=0,c=e.getVisitorParamsState().get(`axes`),l=e.getVisitorParamsState().get(`types`),u=l.length;for(let e=0;e<u;e++){let t=l[e];if(t.xAxisId){let r=t.xAxisId,o=c.get(r);i[e+``]=o,t.offsetXAxis=e,delete t.xAxisId,n.xAxes=i,i.length=++a}if(t.yAxisId){let r=t.yAxisId,i=c.get(r);o[e+``]=i,t.offsetYAxis=e,delete t.yAxisId,n.yAxes=o,o.length=++s}r[e+``]=t}r.length=l.length;let d=e.getVisitorParamsState().get(`series`);if(!d||d.length===0)return;let f={};n.series=f;let p=d.length;for(let e=0;e<p;e++)f[e+``]=d[e];f.length=p,e.getVisitorParamsState().delete(`types`),e.getVisitorParamsState().delete(`axes`),e.getVisitorParamsState().delete(`series`)}},z=class{visit(e,t,n){let r={};return n.plotArea=r,r}},B=E,V=class extends D{parseType(e,t,n){let r=e.getValAttrAsString(`barDir`,t);r&&(n.type=r===`col`?`column`:`bar`)}},H=D,U=class{constructor(e){this.jsonKey=e}visit(e,t,n){let r={},i=r,a=e.getValAttrAsString(`idx`,t);a!==null&&(i={},i[a]=r);let o=e.getValAttrAsBoolean(`delete`,t);this.parseNumFormat(e,t,r),!0===o?(r.showBubbleSize=!1,r.showCatName=!1,r.showLeaderLines=!1,r.showPercentage=!1,r.showSerName=!1,r.showVal=!1,r.showLegendKey=!1):(g(e,t,r,`showBubbleSize`,`showBubbleSize`),g(e,t,r,`showCatName`,`showCatName`),g(e,t,r,`showLeaderLines`,`showLeaderLines`),g(e,t,r,`showPercent`,`showPercentage`),g(e,t,r,`showSerName`,`showSerName`),g(e,t,r,`showVal`,`showVal`),g(e,t,r,`showLegendKey`,`showLegendKey`));let s=e.evaluate(`separator`,t);return s!==null&&(r.separator=s.textContent),h(e,t,r,`dLblPos`,`position`),n[this.jsonKey]=i,r}parseNumFormat(e,t,n){let r=e.evaluate(`numFmt`,t);r&&(n.formatCode=r.getAttribute(`formatCode`),r.hasAttribute(`sourceLinked`)&&(n.sourceLinked=r.getAttribute(`sourceLinked`)===`1`))}},W=class{visit(e,t,n){let r={};_(e,t,r,`explosion`,`explosion`);let i=e.evaluate(`cat/*/f`,t);i||=e.evaluate(`xVal/*/f`,t);let a=null;i!==null&&i.firstChild!==null&&(a=i.firstChild.nodeValue),i||(i=e.evaluate(`cat/strLit`,t),i||=e.evaluate(`cat/numLit`,t),i&&(a=this.parsePointsAsString(e,i))),a!==null&&(r.xRange=a);let o=e.evaluate(`val/*/f`,t);o||=e.evaluate(`yVal/*/f`,t);let s=null;o&&o.firstChild&&(s=o.firstChild.nodeValue),o||(o=e.evaluate(`val/numLit`,t),o!==null&&(s=this.parsePointsAsString(e,o))),s!==null&&(r.valRange=s),this.parseTitleRangeOrValue(e,t,r),_(e,t,r,`idx`,`idx`),g(e,t,r,`smooth`,`smooth`),r.offsetChart=e.getVisitorParamsState().get(`types`).length-1;let c=e.getVisitorParamsState().get(`series`);return c||(c=[],e.getVisitorParamsState().set(`series`,c)),c.push(r),r}parseTitleRangeOrValue(e,t,n){let r=e.evaluate(`tx/strRef/f`,t);if(r!==null){let t=r.firstChild.nodeValue;e.setToPath(n,`title.range`,t)}else{let r=e.evaluate(`tx/v`,t);r!==null&&e.setToPath(n,`title.text.simpleRun`,r.firstChild.nodeValue)}}parsePointsAsString(e,t){let n=`{`,r=e.getValAttrAsInteger(`ptCount`,t),i=e.evaluate(`pt`,t),a=[];for(let n=0;i&&r&&n<r;n++){let r=null,i=e.evaluate(`pt[@idx='`+n+`']/v`,t);i&&(r=i.textContent),a[n]=r}for(let e=0;e<a.length;e++)e>0&&(n+=`,`),a[e]!==void 0&&(n+=a[e]);return n+=`}`,n}afterVisit(e,t,n){O(e,t,n);let r=e.getFromPath(n,`points`);if(r){let t=Object.keys(r);for(let i=0;i<t.length;i++){let a=t[i],o=e.getFromPath(r,a);if(!o)continue;let s=e.getFromPath(o,`markers`);s&&(e.setToPath(n,`markers.points.`+a,s),delete o.markers)}}}},G=class{DataPointVisitor(){}visit(e,t,n){let r=e.getFromPath(n,`points`),i=null;r?i=r:(i={},e.setToPath(n,`points`,i));let a={},o=e.getValAttrAsString(`idx`,t);return o!==null&&(i[o]=a),g(e,t,a,`bubble3D`,`bubble3D`),_(e,t,a,`explosion`,`explosion`),O(e,t,a),a}},K=class{visit(e,t,n){let r=t.parentNode.localName;if(r===`ser`||r===`dPt`){let r={},i=e.getValAttrAsString(`size`,t);i!==null&&(r.size=i);let a=e.getValAttrAsString(`symbol`,t);return a&&(r.type=a),n.markers=r,r}return null}},q=class{visit(e,t,n){let r={};this.parseScaling(e,t,r),v(e,t,r,`majorUnit`,`majorUnits`),v(e,t,r,`minorUnit`,`minorUnits`),g(e,t,r,`delete`,`shown`),this.parseOrientation(e,t,r),this.parseNumFormat(e,t,r),h(e,t,r,`majorTickMark`,`majorTickMarks`),h(e,t,r,`minorTickMark`,`minorTickMarks`),h(e,t,r,`crosses`,`crosses`),v(e,t,r,`crossesAt`,`crosses`),h(e,t,r,`crossBetween`,`crossBetween`),this.parseLabelAlign(e,t,r),_(e,t,r,`lblOffset`,`labelOffset`),h(e,t,r,`tickLblPos`,`labelPosition`);let i=e.getValAttrAsInteger(`noMultiLvlLbl`,t);r.labelMultiLevel=i!==null&&i===0,_(e,t,r,`tickMarkSkip`,`tickMarkSkip`),_(e,t,r,`tickLblSkip`,`labelInterval`),this.parseDisplayCustOrBuiltInUnit(t,e,r),this.parseTimeUnits(e,t,r,`majorUnitDates`,`majorTimeUnit`,`majorUnit`),this.parseTimeUnits(e,t,r,`minorUnitDates`,`minorTimeUnit`,`minorUnit`),h(e,t,r,`baseTimeUnit`,`baseUnitDates`),e.getVisitorParamsState().get(`axes`)||(e.warn(`An axis was read outside a chart; its axes were started fresh.`,{onceKey:`xlsx.chart.axesState`}),e.getVisitorParamsState().set(`axes`,new Map));let a=e.getValAttrAsString(`axId`,t);return e.getVisitorParamsState().get(`axes`).set(a,r),r}parseTimeUnits(e,t,n,r,i,a){let o={},s=e.getValAttrAsString(i,t);s!==null&&(o.dem=s,o.amt=e.getValAttrAsString(a,t)),Object.keys(o).length>0&&(n[r]=o)}parseDisplayCustOrBuiltInUnit(e,t,n){let r=t.getValAttrAsString(`dispUnits/builtInUnit`,e);r||=t.getValAttrAsString(`dispUnits/custUnit`,e),r&&(n.displayUnits=r)}parseLabelAlign(e,t,n){let r=e.getValAttrAsString(`lblAlgn`,t);r!==null&&(r===`ctr`?n.labelAlign=`center`:r===`l`?n.labelAlign=`left`:r===`r`&&(n.labelAlign=`right`))}parseOrientation(e,t,n){let r=e.getValAttrAsString(`AxPos`,t);r!==null&&(r===`b`?n.orientation=`bottom`:r===`l`?n.orientation=`left`:r===`r`?n.orientation=`right`:r===`t`&&(n.orientation=`top`))}parseNumFormat(e,t,n){let r={},i=e.evaluate(`numFmt`,t);i!==null&&(i.hasAttribute(`formatCode`)&&(r.formatCode=i.getAttribute(`formatCode`)),i.hasAttribute(`sourceLinked`)&&(r.sourceLinked=i.getAttribute(`sourceLinked`)===`1`)),Object.keys(r).length>0&&(n.labels=r)}parseScaling(e,t,n){let r=e.getValAttrAsString(`scaling/orientation`,t);r!==null&&(n.inverted=r!==`minMax`);let i=e.getValAttrAsFloat(`scaling/logBase`,t);i!==null&&(n.logBase=i,n.scaleType=`log`),v(e,t,n,`scaling/max`,`max`),v(e,t,n,`scaling/min`,`min`)}afterVisit(e,t,n){n.fill&&n.labels&&(n.labels.fill=n.fill,delete n.fill);let r=e.getValAttrAsBoolean(`delete`,t);r!==null&&(e.setToPath(n,`labels.shown`,!0!==r),e.setToPath(n,`shown`,!0!==r));let i=e.getFromPath(n,`dispUnits.displayUnitsLabel`);i&&(e.setToPath(n,`displayUnitsLabel`,i),delete n.dispUnits);let a=e.evaluate(`title`,t);e.setToPath(n,`title.shown`,a!==null);let o=e.evaluate(`minorGridlines`,t);e.setToPath(n,`gridLinesMinor.shown`,o!==null);let s=e.evaluate(`majorGridlines`,t);e.setToPath(n,`gridLinesMajor.shown`,s!==null)}},J=k,Y=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`series`),i=e.getValAttrAsInteger(`idx`,t),a=i===null?void 0:r[i];if(a){let n=e.getFromPath(a,`title`);n||(n={},e.setToPath(a,`title`,n));let r=n,i=e.getValAttrAsBoolean(`delete`,t);return i!==null&&(r.shown=!i),r}return n}},ae=class{visit(e,t,n){let r={};return g(e,t,r,`overlay`,`overlay`),h(e,t,r,`legendPos`,`position`),n.legend=r,r}},oe=class extends E{visit(e,t,n){let r=this.getFill(e,t);Object.keys(r).length>0&&(n.fillNegative=r);let i=this.getStroke(e,t);return Object.keys(i).length>0&&(n.strokeNegative=i),n}},X=class extends k{constructor(e=`title`){super(e)}parseTitleRangeOrValue(e,t,n){let r=e.evaluate(`tx/strRef/f`,t)??null;if(r){let t=r.firstElementChild.nodeValue;e.setToPath(n,`range`,t)}}visit(e,t,n){let r={};g(e,t,r,`overlay`,`overlay`),n[this._jsonKey]=r;let i=e.getFromPath(r,this.getTextPath());i||={},this.parseTitleRangeOrValue(e,t,r);let a=e.evaluate(`txPr`,t);a&&this.parseTextElement(e,a,i,!1);let o=e.evaluate(`tx/rich`,t);return o&&this.parseTextElement(e,o,i,!0),Object.keys(i).length>0&&e.setToPath(r,`text`,i),r}afterVisit(e,t,n){if(n?.text){let e=n.text?.rotation??null;e!==null&&(n.rotation=parseInt(e),delete n.title.rotation)}}},se=class{visit(e,t,n){let r=e.evaluate(`manualLayout`,t);if(r){let t={};v(e,r,t,`x`,`x`),v(e,r,t,`y`,`y`),v(e,r,t,`w`,`w`),v(e,r,t,`h`,`h`),h(e,r,t,`xMode`,`xMode`),h(e,r,t,`yMode`,`yMode`),h(e,r,t,`wMode`,`wMode`),h(e,r,t,`hMode`,`hMode`),Object.keys(t).length>0&&(n.manualLayout=t)}return n}},ce=class{visit(e,t,n){return n.name=t.getAttribute(`name`),n}},le=class extends C{visit(e,t,n){let r={};r.name=t.getAttribute(`name`);let i=t.childNodes,a=i.length;for(let n=0;n<a;n++){let a=i.item(n);if(a.nodeType===1){let n=a.localName,i=e.evaluate(n,t);r[n]=this.processAdjColor(e,i)}}return Object.keys(r).length>0&&(n.colors=r),r}},ue=class{visit(e,t,n){let r={};r.name=t.getAttribute(`name`);let i=e.evaluate(`majorFont`,t),a=this.processFontElement(e,i,{});a&&(r.majorFont=a.family,a.fallbacks&&(r.majorFallbacks=a.fallbacks));let o=e.evaluate(`minorFont`,t),s=this.processFontElement(e,o,{});return s&&(r.minorFont=s.family,s.fallbacks&&(r.minorFallbacks=s.fallbacks)),n.fonts=r,r}processFontElement(e,t,r){if(!t)return;let i=e.evaluate(`latin`,t);if(!i)return;let a=i.getAttribute(`typeface`);a&&(r.family=a);let o=i.getAttribute(`panose`);return o&&(r.fallbacks=[n.v.getPanoseFallback(o)]),r}},de=class extends C{visit(e,t,n){let r=this.parseFillList(e,t,`fillStyleLst`),i=this.parseLnList(e,t,`lnStyleLst`),a=this.parseEffectStyleList(e,t,`effectStyleLst`),o=this.parseFillList(e,t,`bgFillStyleLst`);if(r&&i&&a&&o)return n.fillStyleLst=r,n.lnStyleLst=i,n.effectStyleLst=a,void(n.bgFillStyleLst=o);let s=e.serializeElement(t);s&&(n.formatSchemeXml=s)}parseFillList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1)continue;let r=this.parseFillListItem(e,n);if(r===void 0)return;i.push(r)}return i}parseFillListItem(e,t){switch(t.localName){case`noFill`:return{type:n.T.Type.None};case`solidFill`:{let r=this.processAdjColor(e,t);return r?{type:n.T.Type.Solid,color:r}:void 0}case`gradFill`:return this.processGradFill(e,t);case`pattFill`:return this.processPatternFill(e,t);default:return}}parseLnList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType===1){if(e.evaluate(`headEnd`,n)||e.evaluate(`tailEnd`,n))return;i.push(this.parseLn(e,n))}}return i}parseEffectStyleList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1)continue;if(e.evaluate(`scene3d`,n)||e.evaluate(`sp3d`,n))return;let r=this.getEffects(e,n);if(r===void 0)return;i.push(r??[])}return i}},fe=class{visit(e,t,n){if(!t)return;let r={},i=t.getAttribute(`r:id`);if(i){let t=e.getRef(i);typeof t==`string`&&(r.address=t)}return e.copyFromAttribute(t,`tooltip`,r,`screenTip`),e.copyFromAttribute(t,`history`,r,`history`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`tgtFrame`,r,`target`),n.hyperlink=r,r}},pe=class{visit(e,t,n){if(!t)return;let r={},i=[];return this.processFilterColumns(e,t,i,n),i.length>0&&(r.conditions=i),Object.keys(r).length>0&&(n.filter=r),r}processColorFilter(e,t){let r={},i={operator:n.lt.BuiltInOperatorNames.Color,param:r};return e.copyFromAttribute(t,`cellColor`,r,`cellColor`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`dxfId`,r,`styleId`,e.INT_COPY),i}processCustomFilter(e,t){return a.at({operator:t.getAttribute(`operator`),val:t.getAttribute(`val`)})}processCustomFilters(e,t){let r=t.getAttribute(`and`),i=r===`and`||r===`1`;t.getAttribute(`val`);let a=[],o={operator:i?n.lt.BuiltInOperatorNames.And:n.lt.BuiltInOperatorNames.Or,param:a},s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType!==1)continue;let r=null;n.localName===`customFilter`&&(r=this.processCustomFilter(e,n)),r&&a.push(r)}return a.length===1?a[0]:o}processDynamicFilter(e,t){let r={},i={operator:n.lt.BuiltInOperatorNames.TimePeriod,param:r},a=t.getAttribute(`type`);return a===`aboveAverage`?a=n.lt.AverageType.Above:a===`belowAverage`&&(a=n.lt.AverageType.Below),Object.values(n.lt.AverageType).includes(a)?(i.operator=n.lt.BuiltInOperatorNames.Average,e.copyFromAttribute(t,`val`,r,`stdDevs`,e.INT_COPY)):e.copyFromAttribute(t,`val`,r,`anchorDate`,e.INT_COPY),e.copyFromAttribute(t,`type`,r,`operator`),e.copyFromAttribute(t,`maxVal`,r,`maxVal`,e.INT_COPY),i}processDateGroupItem(e,t){let n={};return e.copyFromAttribute(t,`dateTimeGrouping`,n,`group`),e.copyFromAttribute(t,`day`,n,`day`,e.INT_COPY),e.copyFromAttribute(t,`hour`,n,`hour`,e.INT_COPY),e.copyFromAttribute(t,`minute`,n,`minute`,e.INT_COPY),e.copyFromAttribute(t,`month`,n,`month`,e.INT_COPY),e.copyFromAttribute(t,`second`,n,`second`,e.INT_COPY),e.copyFromAttribute(t,`year`,n,`year`,e.INT_COPY),n}processFilterItem(e,t){if(t.hasAttribute(`val`))return t.getAttribute(`val`)}processFilters(e,t){let r={},i={operator:n.lt.BuiltInOperatorNames.InSet,param:r};e.copyFromAttribute(t,`blank`,i,`blank`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calendarType`,i,`calendarType`);let a=[],o=[],s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType===1){if(n.localName===`dateGroupItem`){let t=this.processDateGroupItem(e,n);t&&a.push(t)}else if(n.localName===`filter`){let t=this.processFilterItem(e,n);t!==void 0&&o.push(t)}}}return a.length>0&&(r.dateGroups=a),o.length>0&&(r.items=o),i}processIcon(e,t){let r={},i={operator:n.lt.BuiltInOperatorNames.Icon,param:r};return e.copyFromAttribute(t,`iconId`,r,`iconId`,e.INT_COPY),e.copyFromAttribute(t,`iconSet`,r),i}processTop10(e,t){let r={},i={operator:n.lt.BuiltInOperatorNames.TopN,param:r};return e.copyFromAttribute(t,`filterVal`,r,`filterVal`,e.FLOAT_COPY),e.copyFromAttribute(t,`percent`,r,`percent`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`top`,r,`top`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`val`,r,`val`,e.FLOAT_COPY),i}processFilterCriteria(e,t){if(!t)return;let n,r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);i.nodeType===1&&(i.localName===`colorFilter`?n=this.processColorFilter(e,i):i.localName===`customFilters`?n=this.processCustomFilters(e,i):i.localName===`dynamicFilter`?n=this.processDynamicFilter(e,i):i.localName===`filters`?n=this.processFilters(e,i):i.localName===`iconFilter`?n=this.processIcon(e,i):i.localName===`top10`&&(n=this.processTop10(e,i)))}return n}processFilterColumn(e,t,n){if(!t)return null;if(!t.hasAttribute(`colId`))return;let r=parseInt(t.getAttribute(`colId`)),i=!1;if(t.hasAttribute(`hiddenButton`)&&(i=o.t(t.getAttribute(`hiddenButton`))),i&&n){let e=n.hiddenButtons;e||(e=[],n.hiddenButtons=e),e.push(r)}let a=!1;if(t.hasAttribute(`showButton`)&&(a=o.t(t.getAttribute(`showButton`))),a&&n){let e=n.showButtons;!0!==e&&(e||(e=[],n.showButtons=e),e[r]=!0)}let s=this.processFilterCriteria(e,t);return s?(s.index=r,s):null}processFilterColumns(e,t,n,r){if(!t)return;let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);if(a.nodeType===1&&a.localName===`filterColumn`){let t=this.processFilterColumn(e,a,r);t&&n.push(t)}}return n}},me=class{visit(e,r,i){if(!r)return;let a=r.getAttribute(`ref`),s={};r.hasAttribute(`caseSensitive`)&&(s.collatorOptions=o.t(r.getAttribute(`caseSensitive`))?n.j.CaseSensitiveOptions:n.j.CaseInsensitiveOptions);let c=r.getAttribute(`sortMethod`);c!=null&&c!==`none`&&(c===`stroke`?s.collatorOptions={...s.collatorOptions,collation:`stroke`}:c===`pinYin`&&(s.collatorOptions={...s.collatorOptions,collation:`pinyin`}));let l={};r.hasAttribute(`columnSort`)&&o.t(r.getAttribute(`columnSort`))&&(l.axis=t.l.Axis.Column);let u=n.Mt.fastStringToRange(a),d=[];return this.processSortConditions(e,r,d,u,s),d.length>0&&(l.sorts=d),Object.keys(d).length>0&&(i.sort=l),l}processSortCondition(e,t,r,i){if(!t)return null;let a={};if(!t.hasAttribute(`ref`))return void e.warn(`A sort condition has no ref; it was dropped.`,{onceKey:`xlsx.sheet.sort.noRef`});if(t.hasAttribute(`ref`)){let e=t.getAttribute(`ref`),i=n.Mt.fastStringToRange(e);a.index=r?i.colStart-r.colStart:i.colStart}let s={...i};return a.criteria=s,s.reverse=!1,t.hasAttribute(`descending`)&&(s.reverse=o.t(t.getAttribute(`descending`))),e.copyFromAttribute(t,`sortBy`,s,`sortOn`),e.copyFromAttribute(t,`dxfId`,s),e.copyFromAttribute(t,`iconSet`,s),e.copyFromAttribute(t,`customList`,s),a}processSortConditions(e,t,n,r,i){if(!t)return;let a=t.childNodes,o=a.length;for(let t=0;t<o;t++){let o=a.item(t);if(o.nodeType===1&&o.localName===`sortCondition`){let t=this.processSortCondition(e,o,r,i);t&&n.push(t)}}}},Z=class extends A{visit(e,t,r){this.processNumFmts(e,e.evaluate(`numFmts`,t),null),e.getVisitorParamsState().set(`colorsToProcess`,new Set);let i={fills:{},fonts:{},borders:{}};this.processFonts(e,e.evaluate(`fonts`,t),i.fonts),this.processFills(e,e.evaluate(`fills`,t),i.fills),this.processBorders(e,e.evaluate(`borders`,t),i.borders,!0),i.fills[0]={type:n.T.Type.None},i.fills[1]={type:n.T.Type.Pattern,patternType:n.T.BuiltInSheetPattern.Gray125},i.borders[0]={bottom:{style:n.Z.StrokeStyle.None},left:{style:n.Z.StrokeStyle.None},right:{style:n.Z.StrokeStyle.None},top:{style:n.Z.StrokeStyle.None}};let a=[];this.processXFs(e,e.evaluate(`cellStyleXfs`,t),a,i,null,!1);let o=new Map;if(a.length>0){let n=[];this.processCellStyles(e,e.evaluate(`cellStyles`,t),n,a,o),r.named=n}let s=[];this.processXFs(e,e.evaluate(`cellXfs`,t),s,i,o),Object.keys(s).length>0&&(r.direct=s);let c=this.collectHiddenXfs(e.evaluate(`cellXfs`,t));c.size>0&&e.getVisitorParamsState().set(`hiddenXfs`,c);let l=[];return this.processDXFs(e,e.evaluate(`dxfs`,t),l),this.processTableStyles(e,e.evaluate(`tableStyles`,t),r,l),this.processIndexColors(e,e.evaluate(`colors/indexedColors`,t),r),this.processMruColors(e,e.evaluate(`colors/mruColors`,t),r),r}processIndexColors(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`rgbColor`){let t={color:null};this.processDataBarColor(e,n,t,`color`),t.color&&r.push(t.color)}}n.indexedColors=r}processMruColors(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`color`){let t={color:null};this.processDataBarColor(e,n,t,`color`),t.color&&r.push(t.color)}}r.length>0&&(n.mruColors=r)}processNumFmts(e,t,n){if(!t)return;let r=new Map;if(e.getVisitorParamsState().set(`numFmts`,r),!t)return;let i=t.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);if(t.nodeType===1&&t.localName===`numFmt`){let e=t.getAttribute(`numFmtId`),n=t.getAttribute(`formatCode`);if(e&&n){let t=n;r.set(parseInt(e),t)}}}}processXFs(e,t,n,r,i=null,a=!0){if(!t)return;let o=t.childNodes,s=o.length;for(let t=0;t<s;t++){let s=o.item(t);if(s.nodeType===1&&s.localName===`xf`){let t={};this.processXF(e,s,t,r,i,a),n.push(t)}}}processXF(e,t,r,i,a,s){if(!t)return;let c=t.getAttribute(`xfId`);if(c&&a){let e=a.get(parseInt(c));e&&e!==n.st.BuiltInName.Normal&&(r.named=e)}let l=e=>!(!s&&t.hasAttribute(e))||o.t(t.getAttribute(e)),u=e=>!s||t.hasAttribute(e)&&o.t(t.getAttribute(e)),d=s?`0`:void 0;if(l(`applyFont`)){let e=t.getAttribute(`fontId`)??d;if(e!==void 0&&(e!==`0`||u(`applyFont`))){let t=i.fonts[e];t!==void 0&&(r.font=t)}}if(l(`applyFill`)){let e=t.getAttribute(`fillId`)??d;if(e!==void 0&&(e!==`0`||u(`applyFill`))){let t=i.fills[e];t!==void 0&&Object.keys(t).length>0&&(r.fill=t)}}if(l(`applyBorder`)){let e=t.getAttribute(`borderId`)??d;if(e!==void 0&&(e!==`0`||u(`applyBorder`))){let t=i.borders[e];t!==void 0&&(r.borders=t)}}if(l(`applyNumberFormat`)){let n=t.getAttribute(`numFmtId`)??d;if(n!==void 0&&(n!==`0`||u(`applyNumberFormat`))){let t,i=parseInt(n),a=e.getVisitorParamsState();if(a){let e=a.get(`numFmts`);e&&(t=e.get(i)),r.numberFormat=t??i}else e.warn(`Number formats were unavailable; a cell format was not read.`,{onceKey:`xlsx.style.numberFormat.state`})}}if(l(`applyAlignment`)){let n=e.evaluate(`alignment`,t);(n||u(`applyAlignment`))&&this.processAlignment(e,n,r)}if(l(`applyProtection`)){let n=e.evaluate(`protection`,t);(n||u(`applyProtection`))&&this.processProtection(e,n,r)}let f=o.t(t.getAttribute(`quotePrefix`)??``);f&&(r.quotePrefix=f)}processAlignment(e,t,r){let i={};if(t?.hasAttribute(`horizontal`)?i.horizontal=t.getAttribute(`horizontal`):i.horizontal=n.et.HorizontalAlignment.General,t?.hasAttribute(`vertical`)?i.vertical=t.getAttribute(`vertical`):i.vertical=n.et.VerticalAlignment.Bottom,t?.hasAttribute(`indent`)?i.indent=parseInt(t.getAttribute(`indent`)):i.indent=0,t?.hasAttribute(`relativeIndent`)?i.relativeIndent=parseInt(t.getAttribute(`relativeIndent`)):i.relativeIndent=0,o.t(t?.getAttribute(`wrapText`)??``)?i.overflow=n.et.Overflow.Wrap:i.overflow=n.et.Overflow.Visible,o.t(t?.getAttribute(`shrinkToFit`)??``)&&(i.overflow=n.et.Overflow.Shrink),t?.hasAttribute(`textRotation`)){let e=parseFloat(t.getAttribute(`textRotation`));e>0&&e<=90?e=360-e:e>90&&e<=180?e-=90:e===255&&(e=0,i.stacked=!0),i.rotation=e}else i.rotation=0;t?.hasAttribute(`justifyLastLine`)&&(i.justifyLastLine=o.t(t.getAttribute(`justifyLastLine`)));let a=t?.getAttribute(`readingOrder`);return a&&(a===`0`?i.readingDirection=n.et.ReadingDirection.Auto:a===`1`?i.readingDirection=n.et.ReadingDirection.LeftToRight:a===`2`?i.readingDirection=n.et.ReadingDirection.RightToLeft:e.warn(`Invalid readingOrder '${a}'; the direction was left automatic.`,{onceKey:`xlsx.style.readingOrder`})),Object.keys(i).length>0&&(r.alignment=i),r}collectHiddenXfs(e){let t=new Set;if(!e)return t;let n=e.childNodes,r=0;for(let e=0;e<n.length;e++){let i=n.item(e);if(i.nodeType!==1||i.localName!==`xf`)continue;let a=i.childNodes;for(let e=0;e<a.length;e++){let n=a.item(e);n.nodeType===1&&n.localName===`protection`&&o.t(n.getAttribute(`hidden`)??``)&&t.add(r)}r++}return t}processProtection(e,t,n){if(!t)return;let r=t.getAttribute(`locked`);return n.protection={alwaysUnlocked:!!r&&!o.t(r)},n}processDXF(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1&&i.localName===`font`){let t={};this.processFont(e,i,t),n.font=t}else if(i.nodeType===1&&i.localName===`fill`){let t=[];this.processFill(e,i,t,0),t.length>0&&t[0]&&(n.fill=t[0])}else if(i.nodeType===1&&i.localName===`border`){let t=[];this.processBorder(e,i,t,0,!1),t.length>0&&t[0]&&(n.borders=t[0])}else if(i.nodeType===1&&i.localName===`numFmt`){let e=i.getAttribute(`formatCode`);if(e)n.numberFormat=e;else{let e=i.getAttribute(`numFmtId`);e&&(n.numberFormat=Number(e))}}else i.nodeType===1&&i.localName===`alignment`&&this.processAlignment(e,i,n)}}processDXFs(e,t,n){if(!t)return;e.getVisitorParamsState().set(`processingDXFs`,!0);let r=new Map;e.getVisitorParamsState().set(`dxfs`,r);let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);if(a.nodeType===1&&a.localName===`dxf`){let t={};this.processDXF(e,a,t);let i=n.length;r.set(i,t),n.push(t)}}e.getVisitorParamsState().delete(`processingDXFs`)}processTableStyle(e,t,n,r,i=!1){let a=t.getAttribute(`name`),s={name:a};t.hasAttribute(`table`)&&(s.table=o.t(t.getAttribute(`table`))),t.hasAttribute(`pivot`)&&(s.pivot=o.t(t.getAttribute(`pivot`))),i&&!s.pivot&&r.unshift(null);let c=t.childNodes,l=c.length;for(let t=0;t<l;t++){let n=c.item(t);if(n.nodeType===1&&n.localName===`tableStyleElement`){let t=n.getAttribute(`type`),i=n.getAttribute(`dxfId`),a=i==null?void 0:r?.[i];a||=(e.warn(`A table style names a format that does not exist (dxfId '${i}').`,{onceKey:`xlsx.style.tableStyle.dxf`}),{}),s[t]=a;let o=null;n.hasAttribute(`size`)&&(o=parseInt(n.getAttribute(`size`))),o&&!isNaN(o)&&(a.size=o)}}delete s.name,n[a]=s}processTableStyles(e,t,n,r,i){if(!t)return;let a={},o=t.getAttribute(`defaultTableStyle`);o&&(a.defaultTableStyle=o);let s=t.getAttribute(`defaultPivotStyle`);s&&(a.defaultPivotStyle=s);let c=t.childNodes,l={},u=c.length;for(let t=0;t<u;t++){let n=c.item(t);n.nodeType===1&&n.localName===`tableStyle`&&this.processTableStyle(e,n,l,r,i)}return Object.keys(l).length>0&&(a.styles=l),Object.keys(a).length>0&&(n.tables=a),n}processCellStyles(e,t,r,i,a){if(!t)return;let s=t.childNodes,c=s.length;for(let e=0;e<c;e++){let t=s.item(e);if(t.nodeType===1&&t.localName===`cellStyle`){let e=parseInt(t.getAttribute(`xfId`)??``),s=t.getAttribute(`name`),c=t.getAttribute(`builtinId`),l=s;if(c!==null){let e=n.st.builtInNameFromId(parseInt(c));e!==void 0&&(l=e)}if(a.set(e,l),!i[e])continue;let u={name:l,style:i[e]};t.getAttribute(`hidden`)&&(u.hidden=o.t(t.getAttribute(`hidden`))),t.getAttribute(`iLevel`)&&(u.iLevel=parseInt(t.getAttribute(`iLevel`))),r.push(u)}}}afterVisit(e,t,n){}},he=class extends A{visit(e,t,n){return this.processSheetRefs(e,e.evaluate(`sheets`,t),n),this.processExternalReferences(e,e.evaluate(`externalReferences`,t),n),this.processBookViews(e,e.evaluate(`bookViews`,t),n),this.processDefinedNames(e,e.evaluate(`definedNames`,t),n),this.processCalcPr(e,e.evaluate(`calcPr`,t),n),this.processPivotCaches(e,e.evaluate(`pivotCaches`,t),n),this.processWorkbookProtection(e,e.evaluate(`workbookProtection`,t),n),this.processWorkbookPr(e,e.evaluate(`workbookPr`,t),n),n}processPassword(e,t,n,r=`workbook`,i=`password`){if(!t)return;let a={};e.copyFromAttribute(t,`${r}AlgorithmName`,a,`algorithm`),e.copyFromAttribute(t,`${r}HashValue`,a,`hash`),e.copyFromAttribute(t,`${r}SaltValue`,a,`salt`),e.copyFromAttribute(t,`${r}SpinCount`,a,`spinCount`,e.INT_COPY),Object.keys(a).length>0&&(n[i]=a)}processWorkbookProtection(e,t,n){if(!t)return;let r={};this.processPassword(e,t,r,`workbook`,`password`),this.processPassword(e,t,r,`revisions`,`revisionsPassword`);for(let e of a.n)r[e.key]=a.P(e,t.getAttribute(e.attribute));return n.protection=r,n}processCalcPr(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`calcMode`,r,`calcMode`,e=>ee[e]??null),e.copyFromAttribute(t,`fullCalcOnLoad`,r,`fullCalcOnLoad`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calcOnSave`,r,`calcOnSave`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calcCompleted`,r,`calcCompleted`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`fullPrecision`,r,`fullPrecision`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`forceFullCalc`,r,`forceFullCalc`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`concurrentCalc`,r,`concurrentCalc`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`refMode`,r,`refMode`),e.copyFromAttribute(t,`iterate`,r,`iterate`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`iterateCount`,r,`maxIteration`,e.INT_COPY),e.copyFromAttribute(t,`iterateDelta`,r,`maxIterateChange`,e.FLOAT_COPY);let i=t.getAttribute(`calcId`);i!==null&&e.getVisitorParamsState().set(`calcId`,i),n.calc=r}processSheetRefs(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);n.nodeType===1&&n.localName===`sheet`&&this.processSheetRef(e,n,r)}n.sheets=r}processSheetRef(e,t,n){let r={};e.copyFromAttribute(t,`name`,r,`name`),e.copyFromAttribute(t,`state`,r,`visibility`),e.copyFromAttribute(t,`sheetId`,r,`sheetId`,e.INT_COPY);let i=t.getAttribute(`r:id`),a=e.getRef(i);a&&(r.sheet=a),n.push(r)}processExternalReferences(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`externalReference`){let t=n.getAttribute(`r:id`),i=t?e.getRef(t):null;r.push(i??null)}}r.length>0&&(n.externalBooks=r)}processPivotCaches(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1||n.localName!==`pivotCache`)continue;let a=parseInt(n.getAttribute(`cacheId`)??``,10),o=n.getAttribute(`r:id`);if(isNaN(a)||!o)continue;let s=e.readEmbeddedPart(o);s&&r.push({cacheId:a,part:s})}r.length>0&&(n.pivotCaches=r)}processBookViews(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;i<1&&t<a;t++){let a=r.item(t);a.nodeType===1&&a.localName===`workbookView`&&(this.processWorkbookView(e,a,n),i++)}}processWorkbookView(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`activeTab`,r,`activeSheetId`,[e.INT_COPY,e=>e]),t.hasAttribute(`activeTab`)||(r.activeSheetId=0),e.copyFromAttribute(t,`showHorizontalScroll`,r,`showHorizontalScrollbar`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`showVerticalScroll`,r,`showVerticalScrollbar`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`showSheetTabs`,r,`showTabs`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`tabRatio`,r,`tabRatio`,[e.FLOAT_COPY,e=>e]),Object.keys(r).length>0&&(n.view=r)}processDefineName(e,t,n,r){if(!t)return;let i={},a=t.firstChild;if(a&&a.nodeType===3&&(i.ref=a.textContent),e.copyFromAttribute(t,`name`,i),e.copyFromAttribute(t,`comment`,i),e.copyFromAttribute(t,`hidden`,i,`hidden`,e.BOOLEAN_COPY),t.hasAttribute(`localSheetId`)){let n=t.getAttribute(`localSheetId`);if(!r[n]?.name)return void e.warn(`Defined name '${t.getAttribute(`name`)}' references a sheet with localSheetId '${n}' which does not exist.`);i.scope=r[n].name}e.copyFromAttribute(t,`customMenu`,i),e.copyFromAttribute(t,`description`,i),e.copyFromAttribute(t,`statusBar`,i),e.copyFromAttribute(t,`help`,i),e.copyFromAttribute(t,`shortcutKey`,i),e.copyFromAttribute(t,`function`,i,`function`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`functionGroupId`,i,`functionGroupId`,e.INT_COPY),e.copyFromAttribute(t,`publishToServer`,i,`publishToServer`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`vbProcedure`,i,`vbProcedure`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`xlm`,i,`xlm`,e.BOOLEAN_COPY),Object.keys(i).length>0&&n.push(i)}processDefinedNames(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);a.nodeType===1&&a.localName===`definedName`&&this.processDefineName(e,a,r,n.sheets)}r.length>0&&(n.names=r)}processWorkbookPr(e,t,n){t&&(e.copyFromAttribute(t,`date1904`,n,`date1904`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`codeName`,n,`codeName`),e.copyFromAttribute(t,`updateLinks`,n,`updateLinks`))}afterVisit(e,t,n){}},ge=class{visit(e,t,n){let r={};return e.copyFromAttribute(t,`ref`,n,`r`),e.getVisitorParamsState().set(`ref`,n.r),n.v=r,e.copyFromAttribute(t,`name`,r),e.copyFromAttribute(t,`displayName`,r),e.copyFromAttribute(t,`headerRowCount`,r,`headerRowCount`,e.INT_COPY),e.copyFromAttribute(t,`totalsRowCount`,r,`totalsRowCount`,e.INT_COPY),this.processTableColumns(e,t,r),this.processTableStyleInfo(e,t,r),e.copyFromAttribute(t,`id`,r),e.copyFromAttribute(t,`comment`,r,`description`),e.copyFromAttribute(t,`connectionId`,r,`connectionId`,e.INT_COPY),e.copyFromAttribute(t,`tableType`,r),e.copyFromAttribute(t,`published`,r,`published`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`insertRow`,r,`insertRow`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`insertRowShift`,r,`insertRowShift`,e.BOOLEAN_COPY),r.totalsRowShown=t.getAttribute(`totalsRowShown`)!==`0`,r}afterVisit(e,t,n){let r=n.v;if(e.evaluate(`autoFilter`,t)){if(Array.isArray(r.hiddenButtons)){let e=r.hiddenButtons.length;e===0?r.hiddenButtons=!1:e===r.columns?.length&&(r.hiddenButtons=!0)}}else r.hiddenButtons=!0,r.showButtons=!1;return r}processTableStyleInfo(e,t,n){if(!t)return;let r=t.childNodes,i={},a=r.length;for(let t=0;t<a;t++){let n=r.item(t);n.nodeType===1&&n.localName===`tableStyleInfo`&&(e.copyFromAttribute(n,`name`,i),e.copyFromAttribute(n,`showColumnStripes`,i,`showColumnStripes`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showFirstColumn`,i,`showFirstColumn`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showLastColumn`,i,`showLastColumn`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showRowStripes`,i,`showRowStripes`,e.BOOLEAN_COPY))}Object.keys(i).length>0&&(n.style=i)}processTableColumn(e,t,n){if(!t)return null;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1&&i.localName===`tableColumn`){let t={};e.copyFromAttribute(i,`name`,t),e.copyFromAttribute(i,`id`,t),e.copyFromAttribute(i,`uniqueName`,t),e.copyFromAttribute(i,`queryTableFieldId`,t),e.copyFromAttribute(i,`totalsRowLabel`,t);let r=i.getAttribute(`totalsRowFunction`);if(r!==null)if(r===`custom`){let n=e.evaluate(`totalsRowFormula`,i);n&&(t.totalsRowFormula=n.textContent)}else t.totalsRowFormula=r;e.copyFromAttribute(i,`totalsRowLabel`,t);let a=e.evaluate(`calculatedColumnFormula`,i);a?.textContent&&(t.calculatedColumnFormula=a.textContent),n.push(t)}}return n}processTableColumns(e,t,n){let r=t.childNodes,i=[],a=r.length;for(let t=0;t<a;t++){let n=r.item(t);n.nodeType===1&&n.localName===`tableColumns`&&this.processTableColumn(e,n,i)}i.length>0&&(n.columns=i)}},_e=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`ref`);if(r){let n=e.getVisitorParamsState().get(`descriptions`);n&&(n.add(r,t.getAttribute(`altText`)),n.add(r,t.getAttribute(`altTextSummary`)))}return e.copyFromAttribute(t,`altText`,n),e.copyFromAttribute(t,`altTextSummary`,n),n}},ve=class{visit(e,t,n){let r=t.childNodes,i=r.length,a=null;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1){t.localName===`externalBook`&&(a=t);break}}if(!a)return n;t.getAttribute(`mc:Ignorable`)&&(n.mceIgnorable=!0);let o=a.getAttribute(`r:id`);o&&(n.__bookRelId=o);let s=this._findAbsoluteUrlRelId(a);return s&&(n.__absoluteUrlRelId=s),n.sheetNames=[],this.processSheetNames(e,a,n),this.processDefinedNames(e,a,n),this.processSheetDataSet(e,a,n),n}processSheetNames(e,t,n){let r=this._findChild(t,`sheetNames`);if(!r)return;let i=r.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);t.nodeType===1&&t.localName===`sheetName`&&n.sheetNames.push(t.getAttribute(`val`)??``)}}processDefinedNames(e,t,n){let r=this._findChild(t,`definedNames`);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let e=0;e<o;e++){let t=a.item(e);if(t.nodeType!==1||t.localName!==`definedName`)continue;let n=t.getAttribute(`name`);if(!n)continue;let r={name:n,refersTo:t.getAttribute(`refersTo`)??``},o=t.getAttribute(`sheetId`);o!==null&&(r.sheetIndex=parseInt(o,10)),i.push(r)}i.length>0&&(n.definedNames=i)}processSheetDataSet(e,t,n){let r=this._findChild(t,`sheetDataSet`);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1||n.localName!==`sheetData`)continue;let r=n.getAttribute(`sheetId`);if(r===null)continue;let o=this.processSheetData(e,n);o.sheetIndex=parseInt(r,10),n.getAttribute(`refreshError`)===`1`&&(o.refreshError=!0),i.push(o)}i.length>0&&(n.sheetDataSet=i)}processSheetData(e,t){let r=new n.D.Builder,i=t.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);if(t.nodeType!==1||t.localName!==`row`)continue;let a=t.childNodes,o=a.length;for(let e=0;e<o;e++){let t=a.item(e);if(t.nodeType!==1||t.localName!==`cell`)continue;let i=t.getAttribute(`r`);if(!i)continue;let o=n.Mt.fastStringToCell(i);if(o?.rowIndex===void 0||o?.colIndex===void 0)continue;let s=this._readCellValue(t);s!==void 0&&r.pushAt(o.rowIndex,o.colIndex,s)}}return{sheetIndex:-1,data:r.build()?.tuples??[]}}_readCellValue(e){let n=this._findChild(e,`v`)?.textContent?.trim();if(n!==void 0&&n!==``)switch(e.getAttribute(`t`)){case null:case`n`:return parseFloat(n);case`b`:return n===`1`||n===`true`;case`str`:default:return n;case`e`:{let e=t.i.getBuiltInByLabel(n);return e?{t:`e`,v:e.getCode()}:n}}}_findChild(e,t){let n=e.childNodes,r=n.length;for(let e=0;e<r;e++){let r=n.item(e);if(r.nodeType===1&&r.localName===t)return r}return null}_findAbsoluteUrlRelId(e){let t=this._findChild(e,`alternateUrls`);return t?this._findChild(t,`absoluteUrl`)?.getAttribute(`r:id`)??null:null}},ye=class{visit(e,t,n){e.copyFromAttribute(t,`name`,n),e.copyFromAttribute(t,`sourceName`,n);let r=e.evaluate(`*/tableSlicerCache`,t);return r?(e.copyFromAttribute(r,`tableId`,n),e.copyFromAttribute(r,`column`,n,`columnId`),e.copyFromAttribute(r,`crossFilter`,n),n):(e.warn(`A slicer names no table; it was not imported.`,{onceKey:`xlsx.slicer.cacheDefinition`}),n)}},be=class{visit(e,t,n){let r=n.slicers;r||(r={},n.slicers=r);let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);n.nodeType===1&&n.localName===`slicer`&&this.processSlicer(e,n,r)}return r}processSlicer(e,t,n){if(!t)return;let r={};n[t.getAttribute(`name`)]=r;let i=t.getAttribute(`cache`),a=e.getVisitorParamsState().get(`slicerCaches`);if(i){let e=a.get(i);e&&(r.columnId=e.columnId,r.tableId=e.tableId)}e.copyFromAttribute(t,`caption`,r),e.copyFromAttribute(t,`startItem`,r,`startItem`,e.INT_COPY),e.copyFromAttribute(t,`columnCount`,r,`columnCount`,e.INT_COPY),e.copyFromAttribute(t,`showCaption`,r,`showCaption`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`level`,r,`level`,e.INT_COPY),e.copyFromAttribute(t,`style`,r),e.copyFromAttribute(t,`locked`,r,`locked`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`rowHeight`,r,`rowHeight`,e.INT_COPY)}},xe=class{visit(e,t,n){return n}},Q=class{visit(e,t,n){if(!t)return;let r={};return e.copyFromAttribute(t,`editAs`,r,`anchorType`),r.anchor={},t.localName===`absoluteAnchor`?(r.anchorType=`absolute`,this.processAbsoluteCoord(e,e.evaluate(`xdr:pos`,t),r.anchor,`from`,`x`,`y`),this.processAbsoluteCoord(e,e.evaluate(`xdr:ext`,t),r.anchor,`to`,`cx`,`cy`)):t.localName===`oneCellAnchor`?(this.processOffsetCoord(e,e.evaluate(`from`,t),r.anchor,`from`),this.processAbsoluteCoord(e,e.evaluate(`xdr:ext`,t),r.anchor,`to`,`cx`,`cy`)):(this.processOffsetCoord(e,e.evaluate(`from`,t),r.anchor,`from`),this.processOffsetCoord(e,e.evaluate(`to`,t),r.anchor,`to`)),n.movables||=[],n.movables.push(r),r}processAbsoluteCoord(e,t,n,r,i,a){if(!t)return;let s={x:0,y:0};return s.x=o.h(t.getAttribute(i)),s.y=o.h(t.getAttribute(a)),r===`from`?n.tl=s:n.br=s,n}processOffsetCoord(e,t,n,r){if(!t)return;let i={c:0,r:0,x:0,y:0};return e.evaluate(`col`,t)&&(i.c=parseInt(e.evaluate(`col`,t).textContent)),e.evaluate(`row`,t)&&(i.r=parseInt(e.evaluate(`row`,t).textContent)),e.evaluate(`colOff`,t)&&(i.x=o.h(e.evaluate(`colOff`,t).textContent)),e.evaluate(`rowOff`,t)&&(i.y=o.h(e.evaluate(`rowOff`,t).textContent)),r===`from`?n.tl=i:n.br=i,n}},Se=class extends M{visit(e,t,n){if(!t)return;n=super.visit(e,t,n);let r=e.evaluate(`nvGraphicFramePr/cNvGraphicFramePr`,t);if(r){let t=e.evaluate(`graphicFrameLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i={type:`graphicFrame`,json:{}},a=e.evaluate(`graphic/graphicData`,t).childNodes,o=a.length;for(let n=0;n<o;n++){let r=a.item(n);if(r.nodeType===1)try{let n=r.localName;n===`chart`?n=`chart`:n===`slicer`&&(n=`slicer`),i.type=n;let a=r.getAttribute(`r:id`);if(n===`chart`&&a){let n=e.evaluate(`*/cNvPr`,t);n?.item&&(n=n.item(0));let r=n?.getAttribute?.(`id`),o=r?parseInt(r,10):void 0;i.json={xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o,part:e.readEmbeddedPart(a)??void 0}}else a&&(i.json=e.getRef(a))}catch(t){e.warn(`Unable to read a graphic frame: ${t?.message??t}`,{onceKey:`xlsx.drawing.graphicFrame`})}}return i&&this.setContent(n,i),i}},Ce=N,we=class extends M{visit(e,t,n){if(!t)return;let r=super.visit(e,t,n),i=e.evaluate(`nvPicPr/cNvPicPr`,t);if(i){e.copyFromAttribute(t,`preferRelativeResize`,r,`preferRelativeResize`,e.BOOLEAN_COPY);let n=e.evaluate(`picLocks`,i);if(n){n.hasAttribute(`noChangeAspect`)&&(r.lockAspect=n.getAttribute(`noChangeAspect`)===`1`);let t={};e.copyFromAttribute(n,`noChangeArrowheads`,r,`noChangeArrowheads`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noChangeShapeType`,r,`noChangeShapeType`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noEditPoints`,r,`noEditPoints`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noAdjustHandles`,r,`noAdjustHandles`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noCrop`,r,`noCrop`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noGrp`,r,`noGrp`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noMove`,r,`noMove`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noResize`,r,`noResize`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noRot`,r,`noRot`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noSelect`,r,`noSelect`,e.BOOLEAN_COPY),Object.keys(t).length>0&&(r.locks=t)}}let a,o=e.evaluate(`blipFill/blip`,t);if(o){let t;if(t=o.getAttribute(`r:embed`)??o.getAttribute(`embed`),t||=o.getAttribute(`r:link`)??o.getAttribute(`link`),!t)return void e.warn(`A picture names no image; it was not imported.`,{onceKey:`xlsx.drawing.picture.noRel`});a=e.getRef(t,!0)}let s={resId:a};return this.setContent(n,{type:`picture`,json:s}),r}},Te=class extends N{visit(e,t,n){if(!t)return;let r=n;n=super.visit(e,t,n);let i=e.evaluate(`nvGrpSpPr/cNvGrpSpPr`,t);if(i){let t=e.evaluate(`grpSpLocks`,i);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}e.warn(`Unable to import '${r.content?.name}', group shapes are not supported.`);let a={};return n.content={type:`grpSp`,json:a},a}},Ee=class extends N{visit(e,t,n){if(!t)return;n=super.visit(e,t,n);let r=e.evaluate(`nvCxnSpPr/cNvCxnSpPr`,t);if(r){let t=e.evaluate(`cxnSpLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i=e.evaluate(`*/cNvPr`,t);i?.item&&(i=i.item(0));let a=i?.getAttribute?.(`id`),o=a?parseInt(a,10):void 0,s={type:`cxnSp`,xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o};return n.content={type:`cxnSp`,json:s},s}},De=class{visit(e,t,n){let r=[],i=new Map,a={cells:[],values:[]},o=t.childNodes;for(let e=0;e<o.length;e++){let t=o.item(e);if(t.nodeType===1)switch(t.localName){case`metadataTypes`:this._parseMetadataTypes(t,r,i);break;case`futureMetadata`:this._attachFutureMetadata(t,i);break;case`cellMetadata`:this._resolveBlocks(t,r,a.cells);break;case`valueMetadata`:this._resolveBlocks(t,r,a.values)}}return n.metadata=a,a}_parseMetadataTypes(e,t,n){let r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType===1&&i.localName===`metadataType`){let e=this._parseMetadataType(i);t.push(e),n.set(e.name,e)}}}_parseMetadataType(e){let t={name:e.getAttribute(`name`)??``,_blocks:[]},n=e.getAttribute(`minSupportedVersion`);n!=null&&(t.minSupportedVersion=Number(n));for(let n of[`copy`,`pasteAll`,`pasteValues`,`merge`,`splitFirst`,`splitAll`,`rowColShift`,`clearFormats`,`clearComments`,`assign`,`coerce`,`cellMeta`,`adjust`,`trans`,`delete`,`edit`])e.getAttribute(n)===`1`&&(t[n]=!0);return t}_attachFutureMetadata(e,t){let n=e.getAttribute(`name`)??``,r=t.get(n);if(!r)return;let i=e.childNodes;for(let e=0;e<i.length;e++){let t=i.item(e);t.nodeType===1&&t.localName===`bk`&&r._blocks.push(this._parseFutureBlock(t))}}_parseFutureBlock(e){let t={},n=e.childNodes;for(let e=0;e<n.length;e++){let r=n.item(e);if(r.nodeType!==1||r.localName!==`extLst`)continue;let i=r.childNodes;for(let e=0;e<i.length;e++){let n=i.item(e);if(n.nodeType!==1||n.localName!==`ext`)continue;let r=n.childNodes;for(let e=0;e<r.length;e++){let n=r.item(e);n.nodeType===1&&(n.localName===`dynamicArrayProperties`?(t.fDynamic=n.getAttribute(`fDynamic`)===`1`,t.fCollapsed=n.getAttribute(`fCollapsed`)===`1`):n.localName===`rvb`&&(t.richValueIndex=Number(n.getAttribute(`i`)??`0`)))}}}return t}_resolveBlocks(e,t,n){let r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);i.nodeType===1&&i.localName===`bk`&&n.push(this._resolveBlock(i,t))}}_resolveBlock(e,t){let n=new Map,r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType!==1||i.localName!==`rc`)continue;let a=Number(i.getAttribute(`t`)),o=Number(i.getAttribute(`v`)),s=t[a-1];if(!s)continue;let{_blocks:c,...l}=s,u={...l};for(let e of Object.keys(u))u[e]===void 0&&delete u[e];let d=c[o];d&&(d.fDynamic!==void 0&&(u.fDynamic=d.fDynamic,u.fCollapsed=d.fCollapsed??!1),d.richValueIndex!==void 0&&(u.richValueIndex=d.richValueIndex)),n.set(s.name,u)}return n}},$=class{visit(e,t,n){let r=e.getVisitorParamsState().get(P);r||(r=[],e.getVisitorParamsState().set(P,r));let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`s`){let t={type:n.getAttribute(`t`)??`n`,keys:[]};this.processKeys(e,n,t),r.push(t)}}return n.richTypes=r,r}processKeys(e,t,n){let r=t.childNodes,i=r.length,a=n.keys;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1&&t.localName===`k`){let e=t.getAttribute(`n`),n=t.getAttribute(`t`);a.push([e,n])}}}},Oe=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`richTypes`);if(!r)return void e.warn(`RichValueFound but not type.`);let i=e.getVisitorParamsState().get(F);i||(i=[],e.getVisitorParamsState().set(F,i));let a=t.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType===1&&n.localName===`rv`){let t=r[n.getAttribute(`s`)],a={type:t.type};this.processValues(e,n,a,t);let o=this.mapType(e,a);i.push(o)}}return n.richData=i,i}mapType(e,n){if(n.type===`_error`){let e=n.errorType;if(e)try{n=t.i.getBuiltInByCode(e+1)??t.i.BuiltIn.Unknown}catch{}}return n}processValues(e,t,n,r){let i=t.childNodes,a=i.length;r.type;let o=r.keys;for(let t=0;t<a;t++){let r=i.item(t);if(r.nodeType===1&&r.localName===`v`){let i=o[t];if(!i)return void e.warn(`Invalid richData`);let a=i[0],s=i[1],c=r.textContent;s===`i`&&(c=Number(c)),n[a]=c}}}},ke=class{visit(e,t,n){if(!t)return;let r=[];this.processAuthors(e,e.evaluate(`authors`,t),r),r.length>0&&(n.authors=r);let i=[];return n.comments=i,i}processAuthors(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1&&t.localName===`author`){let e=t.firstChild;e&&e.nodeType===3&&n.push(e.textContent)}}}},Ae=class{visit(e,t,n){if(!t)return;let r=t.getAttribute(`ref`);if(!r)return;let i={content:``};if(t.hasAttribute(`authorId`)){let e=parseInt(t.getAttribute(`authorId`),10);isNaN(e)||(i.authorId=e)}return i.content=function(e){if(!e)return``;let t=[],n=!0,r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType===1){if(i.localName===`t`)t.push({text:i.textContent??``});else if(i.localName===`r`){let e={text:``},r=i.childNodes;for(let t=0;t<r.length;t++){let n=r.item(t);if(n.nodeType===1){if(n.localName===`t`)e.text+=n.textContent??``;else if(n.localName===`rPr`){let t=ne(n);t&&(e.font=t)}}}e.font&&(n=!1),t.push(e)}}}return t.length===0?e.textContent??``:n?t.map(e=>e.text).join(``):{runs:t}}(e.evaluate(`text`,t)),n.push({r,v:i}),i}},je=class{visit(e,t,n){if(!t)return;let r=[];return n.comments=r,r}},Me=class{visit(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`id`,r,`id`,o.c);let i=t.getAttribute(`ref`);e.copyFromAttribute(t,`personId`,r,`personId`,o.c),e.copyFromAttribute(t,`parentId`,r,`parentId`,o.c);let a=t.getAttribute(`dT`);a&&(r.dt=function(e){let t=/^(.*T\d{2}:\d{2}:\d{2})(?:\.(\d+))?(Z|[+-]\d{2}:?\d{2})?$/i.exec(e.trim());if(!t)return e;let[,n,r,i]=t;return`${n}${r?`.${(r+`00`).substring(0,3)}`:``}${i??`Z`}`}(a)),t.hasAttribute(`done`)&&(r.done=o.t(t.getAttribute(`done`)));let s=function(e){let t,n=e.childNodes;for(let e=0;e<n.length;e++){let r=n.item(e);if(r.nodeType!==1||r.localName!==`mentions`)continue;let i=r.childNodes;for(let e=0;e<i.length;e++){let n=i.item(e);if(n.nodeType!==1||n.localName!==`mention`)continue;let r=n.getAttribute(`mentionId`),a=n.getAttribute(`mentionpersonId`);if(!r||!a)continue;let s={id:o.c(r),personId:o.c(a)},c=parseInt(n.getAttribute(`startIndex`)??``,10);isNaN(c)||(s.startIndex=c);let l=parseInt(n.getAttribute(`length`)??``,10);isNaN(l)||(s.length=l),(t??=[]).push(s)}}return t}(t);return s&&(r.mentions=s),n.push({r:i,v:r}),r}},Ne=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`person`){let t={};e.copyFromAttribute(n,`id`,t,`id`,o.c),e.copyFromAttribute(n,`displayName`,t),e.copyFromAttribute(n,`userId`,t,`userId`,o.c),e.copyFromAttribute(n,`providerId`,t),r.push(t)}}return r.length>0&&(n.persons=r),r}},Pe=class{constructor(e,t){this.path=e,this.visitor=t}};exports.DOMTransformer=class{constructor(){this.visitorsByXmlTagName=new Map,this.scopedVisitorsByXmlTagName=new Map,this.visitorParamsState=null,this.registerVisitor(`Relationships`,new re),this.registerVisitor(`cp:coreProperties`,new ie),this.registerVisitor(`Properties`,new L),this.registerVisitor(`spPr`,new B),this.registerVisitor(`txBody`,new J),this.registerVisitor(`txPr`,new J),this.registerVisitor(`c:chartSpace`,new R),this.registerVisitor(`c:plotArea`,new z),this.registerVisitor(`c:barChart`,new V),this.registerVisitor(`c:doughnutChart`,new H),this.registerVisitor(`c:lineChart`,new H),this.registerVisitor(`c:ofPieType`,new H),this.registerVisitor(`c:pieChart`,new H),this.registerVisitor(`c:scatterChart`,new H),this.registerVisitor(`c:barChart`,new U(`dataLabels`),`dLbls`),this.registerVisitor(`c:doughnutChart`,new U(`dataLabels`),`dLbls`),this.registerVisitor(`c:lineChart`,new U(`dataLabels`),`dLbls`),this.registerVisitor(`c:ofPieType`,new U(`dataLabels`),`dLbls`),this.registerVisitor(`c:pieChart`,new U(`dataLabels`),`dLbls`),this.registerVisitor(`c:scatterChart`,new U(`dataLabels`),`dLbls`),this.registerVisitor(`c:ser`,new W),this.registerVisitor(`c:dPt`,new G),this.registerVisitor(`c:marker`,new K),this.registerVisitor(`c:catAx`,new q),this.registerVisitor(`c:valAx`,new q),this.registerVisitor(`c:dateAx`,new q),this.registerVisitor(`c:majorGridlines`,new S(`gridLinesMajor`)),this.registerVisitor(`c:minorGridlines`,new S(`gridLinesMinor`)),this.registerVisitor(`c:chartSpace`,null,`txPr`),this.registerVisitor(`c:catAx`,new J(`labels.text`),`txPr`),this.registerVisitor(`c:valAx`,new J(`labels.text`),`txPr`),this.registerVisitor(`c:dateAx`,new J(`labels.text`),`txPr`),this.registerVisitor(`c:legend`,new ae),this.registerVisitor(`c:legend`,new J(`labels.text`),`txPr`),this.registerVisitor(`c:legendEntry`,new Y),this.registerVisitor(`c:ser`,new oe,`extLst/ext/invertSolidFillFmt/spPr`),this.registerVisitor(`c:ser`,new U(`labels`),`dLbls`),this.registerVisitor(`c:dLbl`,new U(`points`)),this.registerVisitor(`c:title`,new X),this.registerVisitor(`c:title`,null,`tx/rich`),this.registerVisitor(`c:title`,null,`txPr`),this.registerVisitor(`c:layout`,new se),this.registerVisitor(`c:dispUnits`,new S(`dispUnits`)),this.registerVisitor(`c:dispUnitsLbl`,new X(`displayUnitsLabel`)),this.registerVisitor(`c:dispUnitsLbl`,new J,`tx/rich`),this.registerVisitor(`a:theme`,new ce),this.registerVisitor(`a:theme`,new le,`themeElements/clrScheme`),this.registerVisitor(`a:theme`,new ue,`themeElements/fontScheme`),this.registerVisitor(`a:theme`,new de,`themeElements/fmtScheme`),this.registerVisitor(`autoFilter`,new pe),this.registerVisitor(`sortState`,new me),this.registerVisitor(`s:workbook`,new he),this.registerVisitor(`styleSheet`,new Z),this.registerVisitor(`x14:table`,new _e),this.registerVisitor(`table`,new ge),this.registerVisitor(`externalLink`,new ve),this.registerVisitor(`hlinkClick`,new fe),this.registerVisitor(`wsDr`,new xe),this.registerVisitor(`twoCellAnchor`,new Q),this.registerVisitor(`oneCellAnchor`,new Q),this.registerVisitor(`absoluteAnchor`,new Q),this.registerVisitor(`graphicFrame`,new Se),this.registerVisitor(`sp`,new Ce),this.registerVisitor(`grpSp`,new Te),this.registerVisitor(`cxnSp`,new Ee),this.registerVisitor(`pic`,new we),this.registerVisitor(`metadata`,new De),this.registerVisitor(`rvStructures`,new $),this.registerVisitor(`rvData`,new Oe),this.registerVisitor(`comments`,new ke),this.registerVisitor(`comment`,new Ae),this.registerVisitor(`ThreadedComments`,new je),this.registerVisitor(`threadedComment`,new Me),this.registerVisitor(`threadedComment`,new J(`content`),`text`),this.registerVisitor(`personList`,new Ne),this.registerVisitor(`slicerCacheDefinition`,new ye),this.registerVisitor(`slicers`,new be)}registerVisitor(e,t,n=null){e.indexOf(`:`)===-1&&(e=`*:`+e);let r=e.split(`:`),i=r.length>1?r[1]:r[0];if(!n)return this.visitorsByXmlTagName.set(i,t),void this.visitorsByXmlTagName.set(e,t);let a=this.scopedVisitorsByXmlTagName.get(i);a||(a=[],this.scopedVisitorsByXmlTagName.set(i,a),this.scopedVisitorsByXmlTagName.set(e,a)),a.push(new Pe(n,t))}parseDxf(t,n=``,r=e.I.EmptyObject){this.visitorParamsState||=new Map;let i=this.visitorParamsState,a=i.get(`processingDXFs`);i.set(`processingDXFs`,!0);try{let e=new f(null,this,`/dxf`,t,{},n,r),i={};return new Z().processDXF(e,t,i),i}finally{a===void 0?i.delete(`processingDXFs`):i.set(`processingDXFs`,a)}}getVisitorParamsState(){return this.visitorParamsState}transform(t,n,r=e.I.EmptyObject){let i=t.documentElement;this.visitorParamsState&&!r?.paramMap||(this.visitorParamsState=r?.paramMap??new Map);let a={},o=this.visitorsByXmlTagName.get(i.nodeName);if(o||=this.visitorsByXmlTagName.get(i.localName),!o)throw Error(`A visitor for the root element: '${i.nodeName}' or '${i.localName}' must be registered.`);let s=`/`+i.localName,c=new f(null,this,s,i,a,n,r),l=[];this._doWalk(o,c,l,i,a,n,r);let u=l.length;for(let e=0;e<u;e++){let t=l[e];try{t.visitor?.afterVisit?.(t.context,t.elemParent,t.jsonParent)}catch(e){t.context.warn(`Unable to finish reading '${t.context.getPath()}': ${e?.message??e}`,{onceKey:`xlsx.transform.afterVisit`})}}return a}_walkScoped(e,t,n,r,i,a,o){let s=this.scopedVisitorsByXmlTagName.get(e),c=s?s.length:0;for(let l=0;l<c;l++){let c=s[l],u=null;try{u=t.evaluate(c.path,r)}catch{t.warn(`Invalid path '${c.path}' for '${e}'.`,{onceKey:`xlsx.transform.invalidPath`})}if(!u)continue;let d=e=>{let s=e.localName,l=e.parentNode;for(;l&&l!==r;)s=l.localName+`/`+s,l=l.parentNode;let u=t.getPath()+`/`+s;if(c.visitor){let r=new f(t,this,u,t.getElemRoot(),t.getJsonRoot(),a,o);this._doWalk(c.visitor,r,n,e,i,a,o)}};if(u.length>0){let e=u,t=e.length;for(let n=0;n<t;n++)d(e.item(n))}else d(u)}}_doWalk(e,t,n,r,i,a,o){let s=null;e&&(n.push({visitor:e,context:t,elemParent:r,jsonParent:i}),s=e.visit(t,r,i)),s||=i;let c=r.localName;this._walkScoped(c,t,n,r,s,a,o);let l=this.visitorsByXmlTagName,u=t.getElemRoot(),d=t.getJsonRoot(),p=r.childNodes,m=p.length;for(let e=0;e<m;e++){let r=p.item(e);if(r.nodeType!==1)continue;let c=r,m=c.nodeName,h=l.get(m);h||=(m=c.localName,l.get(m));let g=t.getPath()+`/`+m,_=new f(t,this,g,u,d,a,o);this._doWalk(h,_,n,c,s??i,a,o)}return s}},exports.ExecutionContext=f,exports.NumberUtils=o.o,exports.VisitorUtils=p;
|
|
1
|
+
const e=require("./Bj3YkKmVIoQ3YtYm.cjs"),t=require("./BPWKnUtyoTrtW567.cjs"),n=require("./BCaRwsX64XTvboxS.cjs"),r=require("./ImnRKBYtNpv7bEa7.cjs"),i=require("./CHMgm0vAbEBS1mVW.cjs"),a=require("./DXGjBmROptbxP3On.cjs"),o=require("./BInT189S2DdzvIhp.cjs");var s=class{constructor(e){this.list=e}get length(){return this.list.length}item(e){return this.list[e]}forEach(e,t){let n=this.list,r=n.length;for(let t=0;t<r;t++)e(n[t],t,this)}entries(){return this.list.entries()}keys(){return this.list.keys()}values(){return this.list.values()}[Symbol.iterator](){return this.list.values()}},c=e=>!0===e||e===`1`||e===`on`||e===`true`||!1!==e&&e!==`0`&&e!==`off`&&e!==`false`&&null,l=e=>{let t=parseInt(e);return isNaN(t)?null:t},u=e=>{let t=parseFloat(e);return isNaN(t)?null:t},d=new Map,f=class{constructor(t,n,r,i,a,o=null,s=e.I.EmptyObject){this._fileLocation=``,this._parent=t,this.sharedShared=n,this.currentPath=r,this.elemRoot=i,this.jsonRoot=a,t?(this._fileLocation=t._fileLocation,this._getRef=t._getRef,this._getRefs=t._getRefs,this._serializeElement=t._serializeElement,this._readEmbeddedPart=t._readEmbeddedPart):(o&&(this._fileLocation=o),s?.getRef&&(this._getRef=(e,t,n)=>s?.getRef?.(e,t,n,s?.parsedRefs)),s?.getRefs&&(this._getRefs=e=>s?.getRefs?.(e,s?.parsedRefs)),this._onWarning=s?.onWarning,this._addPerson=s?.addPerson,this._serializeElement=s?.serializeElement,this._readEmbeddedPart=s?.readEmbeddedPart)}getRef(e,t=!1){return this._getRef?.(e,this._fileLocation,t)??null}readEmbeddedPart(e){return this._readEmbeddedPart?.(e,this._fileLocation)??null}getRelationships(){return this._getRefs?.(this._fileLocation)??d}getPath(){return this.currentPath}getFileLocation(){return this._fileLocation}getElemRoot(){return this.elemRoot}getJsonRoot(){return this.jsonRoot}warn(e,t){this._raiseWarning(e,this.getFileLocation(),t?.onceKey)}_raiseWarning(e,t,n){this._onWarning?this._onWarning(e,t,n):this._parent?this._parent._raiseWarning(e,t,n):console.warn(e)}serializeElement(e){return this._serializeElement?.(e)??null}addPerson(e){return typeof e==`string`&&(e={displayName:e}),this._addPerson?this._addPerson(e):this._parent?this._parent?._addPerson?.(e)??null:null}getVisitorParamsState(){return this.sharedShared.getVisitorParamsState()}evaluate(e,t){if(!e)return t;let n=[t],r=e.split(`/`),i=r.length;for(let e=0;e<i;e++){let t=r[e];if(t===``||t===`.`)continue;let a=[],o=(t===`*`||t===`**`)&&e!==i-1;for(let i of n)if(i)if(o){let t=r[e+1];t&&t!==``&&t!==`.`&&(this._findDescendants(i,t,a),e++)}else if(t===`*`||t===`**`){if(!i.childNodes)continue;let e=i.childNodes,t=e.length;for(let n=0;n<t;n++){let t=e[n];t.nodeType===1&&a.push(t)}}else{if(!i.childNodes)continue;let e=i.childNodes,n=e.length;for(let r=0;r<n;r++){let n=e[r];if(n.nodeType!==1)continue;let i=n;this._matchesElementName(i,t)&&a.push(i)}}if(n=a,n.length===0)return null}return n.length===1?n[0]:n.length===0?null:new s(n)}_matchesElementName(e,t){return t.includes(`:`)?(e.tagName||e.nodeName)===t:e.localName===t}_findDescendants(e,t,n){if(!e||!e.childNodes)return;let r=e.childNodes,i=r.length;for(let e=0;e<i;e++){let i=r[e];if(i.nodeType!==1)continue;let a=i;this._matchesElementName(a,t)&&n.push(a),this._findDescendants(a,t,n)}}getFromPath(t,n){return e.I.getFromPath(t,n)}setToPath(t,n,r){return e.I.setToPath(t,n,r)}getValAttrAsString(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?n.getAttribute(`val`)??null:null}getValAttrAsBoolean(e,t,n=!1){let r=this.evaluate(e,t);if(!r)return null;let i=r.hasAttribute(`val`)?r.getAttribute(`val`):void 0;return i==null?n:i===`1`||i===`on`||i===`true`||i!==`0`&&i!==`off`&&i!==`false`&&n}getValAttrAsInteger(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?parseInt(n.getAttribute(`val`))??null:null}getValAttrAsFloat(e,t){let n=this.evaluate(e,t);return n&&n.hasAttribute(`val`)?parseFloat(n.getAttribute(`val`))??null:null}get BOOLEAN_COPY(){return c}get INT_COPY(){return l}get FLOAT_COPY(){return u}copyFromAttribute(e,t,n,r=t,i=null){if(!e||!n||!e.hasAttribute(t))return;let a=e.getAttribute(t);if(i){if(Array.isArray(i)){let e=i.length;for(let t=0;t<e;t++)if(a==null||(a=i[t](a),a==null))return}else if(a==null||(a=i(a),a==null))return}this.setToPath(n,r,a)}},p=i.r({isBlank:()=>y,isNotBlank:()=>b,length:()=>x,parseRotation:()=>m,parseValAttrAsBoolean:()=>g,parseValAttrAsFloat:()=>v,parseValAttrAsInteger:()=>_,parseValAttrAsString:()=>h}),m=(t,n)=>{if(!t||!t.hasAttribute(`rot`))return;let r=t.getAttribute(`rot`),i=e.I.roundAccurately(o.r(r),2);i!==-1e3&&(n.rotation=i)},h=(e,t,n,r,i)=>{let a=e.getValAttrAsString(r,t);a!==null&&(n[i]=a)},g=(e,t,n,r,i=r,a=null)=>{let o=e.getValAttrAsBoolean(r,t,a);o!==null&&(n[i]=o)},_=(e,t,n,r,i)=>{let a=e.getValAttrAsInteger(r,t);a!==null&&(n[i]=a)},v=(e,t,n,r,i,a=1)=>{let o=e.getValAttrAsFloat(r,t);o!==null&&(n[i]=o*a)},y=e=>!e||e.trim().length===0,b=e=>!y(e),x=e=>e?.length??0,S=class{constructor(e){this.jsonKey=e}visit(e,t,n){let r={};return n[this.jsonKey]=r,r}},C=class{visit(e,t,n){}getStroke(e,t){let n=e.evaluate(`ln`,t);return n?this.parseLn(e,n):{}}parseLn(e,t){let n={};t.hasAttribute(`algn`)&&(n.align=t.getAttribute(`algn`)),t.hasAttribute(`cap`)&&(n.lineCap=T(t.getAttribute(`cap`))),t.hasAttribute(`cmpd`)&&(n.compound=t.getAttribute(`cmpd`)),t.hasAttribute(`w`)&&(n.width=o.f(t.getAttribute(`w`)));let r=e.evaluate(`miter`,t);r&&(n.lineJoin=`miter`,r.hasAttribute(`lim`)&&(n.miterLimit=parseFloat(r.getAttribute(`lim`))/1e5)),e.evaluate(`bevel`,t)&&(n.lineJoin=`bevel`),e.evaluate(`round`,t)&&(n.lineJoin=`round`);let i=e.evaluate(`custDash`,t);if(i){let t=e.evaluate(`ds`,i);if(t&&t.length>0){let e=[];for(let n=0;n<t.length;n++){let r=t.item(n);e.push(o.m(r.getAttribute(`d`)??``)),e.push(o.m(r.getAttribute(`sp`)??``))}n.dash=e}}let a=e.evaluate(`prstDash`,t);a&&a.hasAttribute(`val`)&&(n.dash=a.getAttribute(`val`)),this.parseEndElement(e,t,n,`headEnd`,`head`),this.parseEndElement(e,t,n,`tailEnd`,`tail`);let s=this.getFill(e,t);return s&&(n.fill=s),n}parseEndElement(e,t,n,r,i){let a=e.evaluate(r,t);if(a&&(a.hasAttribute(`type`)&&(n[i+`Type`]=a.getAttribute(`type`)),a.hasAttribute(`len`)||a.hasAttribute(`w`))){let e=a.getAttribute(`len`)||`med`,t=a.getAttribute(`w`)||`med`;n[i+`Size`]=e+`-`+t}}getEffects(e,t){let n=e.evaluate(`effectLst`,t);if(!n)return null;let r=[],i=n.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processEffectElement(e,n,n.localName);if(a===void 0)return;r.push(a)}return r}processEffectElement(e,t,n){switch(n){case`outerShdw`:{let n={type:r.m.Type.OuterShadow,color:this.processAdjColor(e,t)};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`blurRad`)&&(n.blur=o.f(t.getAttribute(`blurRad`))),t.hasAttribute(`algn`)&&(n.alignment=t.getAttribute(`algn`)),t.hasAttribute(`rotWithShape`)&&(n.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),t.hasAttribute(`sx`)&&(n.scaleX=o.m(t.getAttribute(`sx`))),t.hasAttribute(`sy`)&&(n.scaleY=o.m(t.getAttribute(`sy`))),t.hasAttribute(`kx`)&&(n.skewX=o.r(t.getAttribute(`kx`))),t.hasAttribute(`ky`)&&(n.skewY=o.r(t.getAttribute(`ky`))),n}case`innerShdw`:{let n={type:r.m.Type.InnerShadow,color:this.processAdjColor(e,t)};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`blurRad`)&&(n.blur=o.f(t.getAttribute(`blurRad`))),n}case`prstShdw`:{let n={type:r.m.Type.PresetShadow,color:this.processAdjColor(e,t),preset:t.getAttribute(`prst`)??void 0};return t.hasAttribute(`dist`)&&(n.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(n.angle=o.r(t.getAttribute(`dir`))),n}case`glow`:{let n={type:r.m.Type.Glow,color:this.processAdjColor(e,t)};return t.hasAttribute(`rad`)&&(n.radius=o.f(t.getAttribute(`rad`))),n}case`softEdge`:{let e={type:r.m.Type.SoftEdge};return t.hasAttribute(`rad`)&&(e.radius=o.f(t.getAttribute(`rad`))),e}case`reflection`:{let e={type:r.m.Type.Reflection};return t.hasAttribute(`blurRad`)&&(e.blur=o.f(t.getAttribute(`blurRad`))),t.hasAttribute(`dist`)&&(e.distance=o.f(t.getAttribute(`dist`))),t.hasAttribute(`dir`)&&(e.angle=o.r(t.getAttribute(`dir`))),t.hasAttribute(`fadeDir`)&&(e.fadeAngle=o.r(t.getAttribute(`fadeDir`))),t.hasAttribute(`stA`)&&(e.startAlpha=o.m(t.getAttribute(`stA`))),t.hasAttribute(`stPos`)&&(e.startPosition=o.m(t.getAttribute(`stPos`))),t.hasAttribute(`endA`)&&(e.endAlpha=o.m(t.getAttribute(`endA`))),t.hasAttribute(`endPos`)&&(e.endPosition=o.m(t.getAttribute(`endPos`))),t.hasAttribute(`sx`)&&(e.scaleX=o.m(t.getAttribute(`sx`))),t.hasAttribute(`sy`)&&(e.scaleY=o.m(t.getAttribute(`sy`))),t.hasAttribute(`kx`)&&(e.skewX=o.r(t.getAttribute(`kx`))),t.hasAttribute(`ky`)&&(e.skewY=o.r(t.getAttribute(`ky`))),t.hasAttribute(`algn`)&&(e.alignment=t.getAttribute(`algn`)),t.hasAttribute(`rotWithShape`)&&(e.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),e}default:return}}getFill(e,t){if(e.evaluate(`noFill`,t))return{type:n.h.Type.None};let r=e.evaluate(`solidFill`,t);if(r){let t=this.processAdjColor(e,r);if(t)return{type:n.h.Type.Solid,color:t}}let i=e.evaluate(`gradFill`,t);if(i)return this.processGradFill(e,i);let a=e.evaluate(`pattFill`,t);if(a)return this.processPatternFill(e,a);let o=e.evaluate(`blipFill`,t);return o?this.processImageFill(e,o):null}processGradFill(e,t){let r={type:n.h.Type.Gradient};t.hasAttribute(`rotWithShape`)&&(r.isRotatedWithShape=t.getAttribute(`rotWithShape`)===`1`);let i=e.evaluate(`lin`,t);i&&(r.gradientType=n.h.GradientType.Linear,i.hasAttribute(`ang`)&&(r.angle=o.r(i.getAttribute(`ang`))),i.hasAttribute(`scaled`)&&(r.scaled=o.t(i.getAttribute(`scaled`))));let a={};t.hasAttribute(`flip`)&&(a.mirror=t.getAttribute(`flip`)),Object.keys(a).length>0&&(r.tile=a);let s=e.evaluate(`path`,t);if(s){s.hasAttribute(`path`)&&(r.gradientType=w(s.getAttribute(`path`)));let t=e.evaluate(`fillToRect`,s);t&&(r.focus=this.getRect(t))}let c=e.evaluate(`tileRect`,t);c&&(r.tile||={},r.tile.bounds=this.getRect(c));let l=[],u=e.evaluate(`gsLst/gs`,t),d=u?u.length:0;for(let t=0;t<d;t++){let n=u.item(t),r={offset:o.m(n.getAttribute(`pos`)??``),color:this.processAdjColor(e,n)};l.push(r)}return l.length>0&&(r.stops=l),r}getRect(e){let t={};return e.hasAttribute(`t`)&&(t.t=o.m(e.getAttribute(`t`))),e.hasAttribute(`l`)&&(t.l=o.m(e.getAttribute(`l`))),e.hasAttribute(`b`)&&(t.b=o.m(e.getAttribute(`b`))),e.hasAttribute(`r`)&&(t.r=o.m(e.getAttribute(`r`))),Object.keys(t).length===0?null:t}processImageFill(e,t){let r={type:n.h.Type.Image};return t.hasAttribute(`rotWithShape`)&&(r.isRotatedWithShape=o.t(t.getAttribute(`rotWithShape`))),t.hasAttribute(`dpi`)&&(r.dpi=t.getAttribute(`dpi`)),r.ref=`https://www.sheetxl.com/logo-color-padded-white.jpg`,r.tile=!1,r}processPatternFill(e,t){let r={type:n.h.Type.Pattern};r.patternType=t.getAttribute(`prst`);let i=e.evaluate(`bgClr`,t);if(i){let t=this.processAdjColor(e,i);t&&(r.background=t)}let a=e.evaluate(`fgClr`,t);if(a){let t=this.processAdjColor(e,a);t&&(r.foreground=t)}return r}processAdjColor(e,t){let n=e.evaluate(`hslClr`,t);if(n)return this.processHslClr(e,n);let r=e.evaluate(`prstClr`,t);if(r)return this.processClrWithValAttribute(e,r);let i=e.evaluate(`schemeClr`,t);if(i)return this.processClrWithValAttribute(e,i);let a=e.evaluate(`sysClr`,t);if(a){let t=this.processClrWithValAttribute(e,a),n=a.getAttribute(`lastClr`);return t&&n&&(t+=` lastClr ${n}`),t}let o=e.evaluate(`scrgbClr`,t);if(o)return this.processScrgbClrElement(e,o);let s=e.evaluate(`srgbClr`,t);return s?this.processSrgbClrElement(e,s):null}processScrgbClrElement(e,t){let n=`lrgba(`+o.m(t.getAttribute(`r`)??``)+`,`+o.m(t.getAttribute(`g`)??``)+`,`+o.m(t.getAttribute(`b`)??``)+`)`;return n+=this.processAdjustments(e,t),n}processSrgbClrElement(e,t){let n=t.getAttribute(`val`);return n+=this.processAdjustments(e,t),n}processHslClr(e,t){let n=`hsl(`+o.r(t.getAttribute(`hue`)??``)+`,`+o.m(t.getAttribute(`sat`)??``)+`,`+o.m(t.getAttribute(`lum`)??``)+`)`;return n+=this.processAdjustments(e,t),n}processClrWithValAttribute(e,t){let n=t.getAttribute(`val`);if(!n)return null;let r=n;return r+=this.processAdjustments(e,t),r}processAdjustments(e,t){let n=``,r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1){let t=i.localName;n+=t===`hue`||t===`hueOff`||t===`hueMod`?this.processAdjustmentElement(e,i,t,6e4):t===`gray`||t===`comp`||t===`inv`||t===`gamma`||t===`invGamma`?this.processAdjustmentElement(e,i,t,1):t===`alpha`||t===`alphaOff`||t===`alphaMod`?this.processAdjustmentElement(e,i,t,1e5):this.processAdjustmentElement(e,i,t)}}return n}processAdjustmentElement(e,t,n,r=1e3){let i=t.getAttribute(`val`);return i?` ${n} ${!i||parseFloat(i)/r}`:` ${n}`}},w=e=>e===`circle`?`radial`:e,T=e=>{if(e===`rnd`)return`round`;if(e===`flat`)return`butt`;if(e===`sq`)return`square`;throw Error(`Invalid lineCap type: `+e)},E=class extends C{visit(e,t,n){try{let r=e.evaluate(`xfrm`,t);if(r){m(r,n);let t={x:0,y:0,width:0,height:0},i=e.evaluate(`off`,r);i&&(t.x=o.h(i.getAttribute(`x`))??0,t.y=o.h(i.getAttribute(`y`))??0);let a=e.evaluate(`ext`,r);i&&(t.width=o.h(a.getAttribute(`cx`))??0,t.height=o.h(a.getAttribute(`cy`))??0),n.bounds=t}let i=e.evaluate(`prstGeom`,t);i?.hasAttribute(`prst`)?n.geometry=i?.getAttribute(`prst`):e.evaluate(`customGeom`,t)&&e.warn(`Custom shape geometry is not supported; the shape keeps its bounds only.`,{onceKey:`xlsx.shape.customGeometry`});let a=this.getFill(e,t);a&&Object.keys(a).length>0&&(n.fill=a);let s=this.getStroke(e,t);return s&&Object.keys(s).length>0&&(n.stroke=s),n}catch(t){e.warn(`Unable to read shape properties: ${t?.message??t}`,{onceKey:`xlsx.shape.unreadable`})}}},D=class{visit(e,t,n){let r={};if(h(e,t,r,`grouping`,`grouping`),g(e,t,r,`varyColors`,`varyColors`),v(e,t,r,`gapWidth`,`gapWidth`,.01),v(e,t,r,`overlap`,`overlap`,.01),this.parseType(e,t,r),_(e,t,r,`bubbleScale`,`bubbleScale`),g(e,t,r,`showNegBubbles`,`showNegativeBubbleValues`),g(e,t,r,`sizeRepresents`,`bubbleSizeRepresentsWidth`),_(e,t,r,`firstSliceAng`,`startAngle`),_(e,t,r,`holeSize`,`holeSize`),h(e,t,r,`scatterStyle`,`scatterStyle`),this.parseAxisIds(e,t,r),Object.keys(r).length>0){let t=e.getVisitorParamsState().get(`types`);t||(e.warn(`A chart type was read outside a chart; its types were started fresh.`,{onceKey:`xlsx.chart.typesState`}),t=[],e.getVisitorParamsState().set(`types`,t)),t.push(r)}return r}parseType(e,t,n){switch(t.localName){case`areaChart`:n.type=`area`;break;case`bubbleChart`:n.type=`bubble`;break;case`doughnutChart`:case`ofPieType`:case`pieChart`:n.type=`pie`;break;case`lineChart`:n.type=`line`;break;case`scatterChart`:n.type=`scatter`}}parseAxisIds(e,t,n){let r=e.evaluate(`axId`,t);r&&r.length!==0&&(n.xAxisId=r.item(0).getAttribute(`val`),n.yAxisId=r.item(1).getAttribute(`val`))}},O=(e,t,n)=>{if(!0===e.getValAttrAsBoolean(`invertIfNegative`,t))if(e.evaluate(`extLst/ext/invertSolidFillFmt`,t)){if(n.fill&&n.fillNegative){let t=e.getFromPath(n,`fill.solid.adjs`);t&&e.setToPath(n,`fillNegative.solid.adjs`,t)}}else{let e={val:`FFFFFF`},t={};t.solid=e,n.fillNegative=t;let r={val:`000000`},i={};i.solid=r;let a={};a.fill=i,n.strokeNegative=a}},k=class extends C{constructor(e=`text`){super(),this._jsonKey=e}getTextPath(){return this._jsonKey}visit(e,t,n){let r=e.getFromPath(n,this.getTextPath());return r||={},this.parseTextElement(e,t,r,!1),Object.keys(r).length>0&&e.setToPath(n,this.getTextPath(),r),n}parseTextElement(e,t,n,r){let i=e.evaluate(`p/pPr/defRPr`,t)??e.evaluate(`defRPr`,t),a=i?.length===void 0?i:i.item(0);a&&(this.parseTextProperties(e,a,n),new E().visit(e,a,n));let o=n.runs??[],s=e.evaluate(`p/r`,t)??e.evaluate(`r`,t),c=t=>{let n={},r=e.evaluate(`t`,t),i=e.evaluate(`rPr`,t);i&&this.parseTextProperties(e,i,n),r&&r.firstChild?n.text=r.firstChild.textContent??``:t.textContent&&(n.text=t.textContent??``),Object.keys(n).length>0&&o.push(n)};if(s?.length!==void 0)for(let e=0;s&&e<s.length;e++)c(s.item(e));else c(s||t);o.length>0&&(n.runs=o);let l=e.evaluate(`bodyPr`,t);l&&m(l,n)}parseTextProperties(e,t,r){if(!t)return;t.hasAttribute(`sz`)&&(r.size=parseFloat(t.getAttribute(`sz`))/100),t.hasAttribute(`b`)&&(r.weight=t.getAttribute(`b`)===`1`?700:400),t.hasAttribute(`i`)&&(r.italic=t.getAttribute(`i`)===`1`),t.hasAttribute(`u`)&&(r.underline=t.getAttribute(`u`)),t.hasAttribute(`strike`)&&(r.strike=t.getAttribute(`strike`));let i=this.getFill(e,t);i&&Object.keys(i).length>0&&(r.color=i);let a=e.evaluate(`latin`,t);if(a&&!a.getAttribute(`typeface`).startsWith(`+`)){let e=r.font??{};if(a.hasAttribute(`typeface`)&&(e.family=a.getAttribute(`typeface`)),a.hasAttribute(`panose`)){let t=a.getAttribute(`panose`);t&&(e.fallbacks=[n.p.getPanoseFallback(t)])}a.hasAttribute(`pitchFamily`)&&(e.pitch=a.getAttribute(`pitchFamily`)),a.hasAttribute(`charset`)&&(e.charset=a.getAttribute(`charset`)),Object.keys(e).length>0&&(r.font=e)}}},A=class{visit(e,t,n){}processDataBarColor(e,t,n,r,i=`auto`){if(!t)return;let a=o.l(e=>t.getAttribute(e),i);return a&&(n[r]=a),n}processFonts(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;t<a;t++){let a=r.item(t);if(a.nodeType===1&&a.localName===`font`){let t={};this.processFont(e,a,t),n[i++]=t}}return n}processFont(e,t,r){e.getValAttrAsBoolean(`b`,t,!0)&&(r.weight=700),e.getValAttrAsBoolean(`i`,t,!0)&&(r.style=n.p.Style.Italic),e.getValAttrAsBoolean(`strike`,t,!0)&&(r.strike=!0);let i=e.evaluate(`u`,t);i&&(r.underline=i.getAttribute(`val`)||n.p.UnderlineStyle.Single),h(e,t,r,`vertAlign`,`verticalAlign`),r.verticalAlign===`superscript`?r.verticalAlign=n.p.VerticalAlignment.Super:r.verticalAlign===`subscript`&&(r.verticalAlign=n.p.VerticalAlignment.Sub),v(e,t,r,`sz`,`size`);let a=e.evaluate(`color`,t);this.processDataBarColor(e,a,r,`color`),r.color||=`auto`,h(e,t,r,`name`,`family`),h(e,t,r,`rFont`,`family`);let o=e.evaluate(`family`,t);if(o){let e=o.getAttribute(`val`);if(e)switch(e){case`1`:r.fallbacks=[`serif`];break;case`2`:r.fallbacks=[`sans-serif`];break;case`3`:r.fallbacks=[`monospace`];break;case`4`:r.fallbacks=[`cursive`];break;case`5`:r.fallbacks=[`fantasy`]}}return h(e,t,r,`scheme`,`scheme`),r.family!==void 0&&r.scheme===void 0&&(r.scheme=n.p.Scheme.None),g(e,t,r,`shadow`,`shadow`,!0),g(e,t,r,`outline`,`outline`,!0),e.getValAttrAsBoolean(`condense`,t,!0)&&(r.letterSpacing=-1),e.getValAttrAsBoolean(`extend`,t,!0)&&(r.letterSpacing=1),_(e,t,r,`charset`,`charset`),r}processFills(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;t<a;t++){let a=r.item(t);a.nodeType===1&&a.localName===`fill`&&this.processFill(e,a,n,i++)}return n}processFill(e,t,r,i){let a={type:n.h.Type.None},o=t.childNodes,s=!1,c=o.length;for(let t=0;!s&&t<c;t++){let n=o.item(t);n.nodeType===1&&(n.localName===`gradientFill`?(this.processGradientFill(e,n,a),s=!0):n.localName===`patternFill`&&(this.processPatternFill(e,n,a),s=!0))}return r[i]=a,r}processGradientFill(e,t,r){if(!t)return;r.type=n.h.Type.Gradient;let i=[];r.stops=i;let a=t.getAttribute(`type`);a&&(r.gradientType=a);let o=t.hasAttribute(`degree`)?parseFloat(t.getAttribute(`degree`)):0;(o+90)%360!=0&&(r.angle=(o+90)%360),(t.hasAttribute(`left`)||t.hasAttribute(`top`)||t.hasAttribute(`right`)||t.hasAttribute(`bottom`))&&(r.focus={left:j(t.getAttribute(`left`)),top:j(t.getAttribute(`top`)),right:j(t.getAttribute(`right`)),bottom:j(t.getAttribute(`bottom`))});let s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType===1&&n.localName===`stop`){let t={};i.push(t),t.offset=parseFloat(n.getAttribute(`position`)??``);let r=e.evaluate(`color`,n);this.processDataBarColor(e,r,t,`color`)}}return r}processPatternFill(e,t,r){if(!t)return;let i=e.getVisitorParamsState().get(`processingDXFs`),a=t.getAttribute(`patternType`)||(i?n.h.BuiltInSheetPattern.Solid:n.h.BuiltInSheetPattern.None);if(a===n.h.BuiltInSheetPattern.None)return{none:!0};r.type=n.h.Type.Pattern,a&&(r.patternType=a);let o=`foreground`,s=`background`,c=r.patternType===n.h.BuiltInSheetPattern.Solid&&i,l=c?`dk1`:`lt1`,u=c?`lt1`:`dk1`;if(c){let e=o;o=s,s=e}let d=e.evaluate(`fgColor`,t);this.processDataBarColor(e,d,r,o,l);let f=e.evaluate(`bgColor`,t);return this.processDataBarColor(e,f,r,s,u),c&&(r.foreground||=`lt1`,r.background||=`dk1`),r}processBorders(e,t,n,r){if(!t)return;let i=t.childNodes,a=0,o=i.length;for(let t=0;t<o;t++){let o=i.item(t);o.nodeType===1&&o.localName===`border`&&this.processBorder(e,o,n,a++,r)}return n}processBorder(e,t,r,i,a){if(!t)return;let o={};return this.processBorderStroke(e,t,o,n.B.Edge.Left),this.processBorderStroke(e,t,o,n.B.Edge.Right),a?(o.right||o.left)&&(o.right?o.vertical={...o.right}:o.vertical={...o.left}):this.processBorderStroke(e,t,o,n.B.Edge.Vertical),this.processBorderStroke(e,t,o,n.B.Edge.Top),this.processBorderStroke(e,t,o,n.B.Edge.Bottom),a?(o.bottom||o.top)&&(o.bottom?o.horizontal={...o.bottom}:o.horizontal={...o.top}):this.processBorderStroke(e,t,o,n.B.Edge.Horizontal),r[i]=o,r}processBorderStroke(e,t,r,i){if(!t)return;let a=e.evaluate(i,t);if(!a)return;let o={};a.hasAttribute(`style`)?o.style=a.getAttribute(`style`):e.getVisitorParamsState().get(`processingDXFs`)&&(o.style=n.B.StrokeStyle.None);let s=e.evaluate(`color`,a);return s&&this.processDataBarColor(e,s,o,`color`),Object.keys(o).length>0?r[i]=o:null}},j=e=>{if(!e)return 0;let t=parseFloat(e);return isNaN(t)?0:t},ee={auto:`auto`,autoNoTable:`automaticExceptTables`,manual:`manual`},M=class{visit(e,t,n){if(!t)return;let r=e.evaluate(`*/cNvPr`,t);return r.item&&(r=r.item(0)),r&&(e.copyFromAttribute(r,`name`,n),e.copyFromAttribute(r,`descr`,n,`description`),e.copyFromAttribute(r,`hidden`,n,`hidden`,e.BOOLEAN_COPY),e.copyFromAttribute(r,`id`,n)),n}setContent(e,t){let n=e;n.name!==void 0&&(t.name=n.name,delete n.name),n.description!==void 0&&(t.description=n.description,delete n.description),e.content=t}},N=class extends M{visit(e,t,n){if(!t)return;if(e.getPath().includes(`Fallback`)&&n.content){let r=n.content.json;return n.content.type===`sp`&&r?.xml&&r.fallbackXml===void 0&&(r.fallbackXml=e.serializeElement(t)??void 0),n}n=super.visit(e,t,n);let r=e.evaluate(`nvSpPr/cNvSpPr`,t);if(r){let t=e.evaluate(`spLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i=e.evaluate(`*/cNvPr`,t);i?.item&&(i=i.item(0));let a=i?.getAttribute?.(`id`),o=a?parseInt(a,10):void 0,s={type:`sp`,xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o};return this.setContent(n,{type:`sp`,json:s}),s}},P=`richTypes`,F=`richData`,I=e=>{let t=e.getAttribute(`val`);return t!==`0`&&t!==`false`},te={1:`serif`,2:`sans-serif`,3:`monospace`,4:`cursive`,5:`fantasy`};function ne(e){let t={},r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType===1)switch(i.localName){case`b`:t.weight=I(i)?700:400;break;case`i`:t.style=I(i)?n.p.Style.Italic:n.p.Style.Normal;break;case`strike`:t.strike=I(i);break;case`outline`:t.outline=I(i);break;case`shadow`:t.shadow=I(i);break;case`extend`:t.extend=I(i);break;case`u`:t.underline=i.getAttribute(`val`)||n.p.UnderlineStyle.Single;break;case`vertAlign`:{let e=i.getAttribute(`val`);e===`superscript`?t.verticalAlign=n.p.VerticalAlignment.Super:e===`subscript`?t.verticalAlign=n.p.VerticalAlignment.Sub:e===`baseline`&&(t.verticalAlign=n.p.VerticalAlignment.Baseline);break}case`sz`:{let e=parseFloat(i.getAttribute(`val`)??``);isNaN(e)||(t.size=e);break}case`rFont`:{let e=i.getAttribute(`val`);e&&(t.family=e);break}case`family`:{let e=te[i.getAttribute(`val`)??``];e&&(t.fallbacks=[e]);break}case`charset`:{let e=parseInt(i.getAttribute(`val`)??``,10);isNaN(e)||(t.charset=e);break}case`scheme`:{let e=i.getAttribute(`val`);e&&(t.scheme=e);break}case`color`:{let e=i.getAttribute(`rgb`);if(e&&!i.hasAttribute(`theme`)){t.color=`#`+(e.length===8?e.substring(2):e).toUpperCase();break}let n=o.l(e=>i.getAttribute(e));n&&(t.color=n);break}}}return Object.keys(t).length>0?t:null}var re=class{visit(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);i.nodeType===1&&i.localName===`Relationship`&&this.processRelationship(e,i,n)}return n}processRelationship(e,t,n){let r={};e.copyFromAttribute(t,`Target`,r,`target`),e.copyFromAttribute(t,`Type`,r,`type`),e.copyFromAttribute(t,`TargetMode`,r,`targetMode`),n[t.getAttribute(`Id`)]=r}},ie=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processProperty(e,n);a&&r.push(a)}return r.length>0&&(n.properties=r),r}processProperty(e,t){if(t)return t.getAttribute(`xsi:type`),{key:t.localName,value:t.textContent||``}}},L=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1)continue;let a=this.processProperty(e,n);a&&r.push(a)}return r.length>0&&(n.properties=r),r}processProperty(e,t){if(t)return{key:t.localName,value:t.textContent||``}}},R=class{visit(e,t,n){return g(e,t,n,`roundedCorners`,`roundedCorners`),_(e,t,n,`.//AlternateContent/Fallback/style`,`styleId`),e.getVisitorParamsState().set(`types`,[]),e.getVisitorParamsState().set(`axes`,new Map),n.range=null,n}afterVisit(e,t,n){let r={};n.types=r;let i={},a=0,o={},s=0,c=e.getVisitorParamsState().get(`axes`),l=e.getVisitorParamsState().get(`types`),u=l.length;for(let e=0;e<u;e++){let t=l[e];if(t.xAxisId){let r=t.xAxisId,o=c.get(r);i[e+``]=o,t.offsetXAxis=e,delete t.xAxisId,n.xAxes=i,i.length=++a}if(t.yAxisId){let r=t.yAxisId,i=c.get(r);o[e+``]=i,t.offsetYAxis=e,delete t.yAxisId,n.yAxes=o,o.length=++s}r[e+``]=t}r.length=l.length;let d=e.getVisitorParamsState().get(`series`);if(!d||d.length===0)return;let f={};n.series=f;let p=d.length;for(let e=0;e<p;e++)f[e+``]=d[e];f.length=p,e.getVisitorParamsState().delete(`types`),e.getVisitorParamsState().delete(`axes`),e.getVisitorParamsState().delete(`series`)}},z=class{visit(e,t,n){let r={};return n.plotArea=r,r}},B=E,V=class extends D{parseType(e,t,n){let r=e.getValAttrAsString(`barDir`,t);r&&(n.type=r===`col`?`column`:`bar`)}},H=D,U=class{constructor(e){this.jsonKey=e}visit(e,t,n){let r={},i=r,a=e.getValAttrAsString(`idx`,t);a!==null&&(i={},i[a]=r);let o=e.getValAttrAsBoolean(`delete`,t);this.parseNumFormat(e,t,r),!0===o?(r.showBubbleSize=!1,r.showCatName=!1,r.showLeaderLines=!1,r.showPercentage=!1,r.showSerName=!1,r.showVal=!1,r.showLegendKey=!1):(g(e,t,r,`showBubbleSize`,`showBubbleSize`),g(e,t,r,`showCatName`,`showCatName`),g(e,t,r,`showLeaderLines`,`showLeaderLines`),g(e,t,r,`showPercent`,`showPercentage`),g(e,t,r,`showSerName`,`showSerName`),g(e,t,r,`showVal`,`showVal`),g(e,t,r,`showLegendKey`,`showLegendKey`));let s=e.evaluate(`separator`,t);return s!==null&&(r.separator=s.textContent),h(e,t,r,`dLblPos`,`position`),n[this.jsonKey]=i,r}parseNumFormat(e,t,n){let r=e.evaluate(`numFmt`,t);r&&(n.formatCode=r.getAttribute(`formatCode`),r.hasAttribute(`sourceLinked`)&&(n.sourceLinked=r.getAttribute(`sourceLinked`)===`1`))}},W=class{visit(e,t,n){let r={};_(e,t,r,`explosion`,`explosion`);let i=e.evaluate(`cat/*/f`,t);i||=e.evaluate(`xVal/*/f`,t);let a=null;i!==null&&i.firstChild!==null&&(a=i.firstChild.nodeValue),i||(i=e.evaluate(`cat/strLit`,t),i||=e.evaluate(`cat/numLit`,t),i&&(a=this.parsePointsAsString(e,i))),a!==null&&(r.xRange=a);let o=e.evaluate(`val/*/f`,t);o||=e.evaluate(`yVal/*/f`,t);let s=null;o&&o.firstChild&&(s=o.firstChild.nodeValue),o||(o=e.evaluate(`val/numLit`,t),o!==null&&(s=this.parsePointsAsString(e,o))),s!==null&&(r.valRange=s),this.parseTitleRangeOrValue(e,t,r),_(e,t,r,`idx`,`idx`),g(e,t,r,`smooth`,`smooth`),r.offsetChart=e.getVisitorParamsState().get(`types`).length-1;let c=e.getVisitorParamsState().get(`series`);return c||(c=[],e.getVisitorParamsState().set(`series`,c)),c.push(r),r}parseTitleRangeOrValue(e,t,n){let r=e.evaluate(`tx/strRef/f`,t);if(r!==null){let t=r.firstChild.nodeValue;e.setToPath(n,`title.range`,t)}else{let r=e.evaluate(`tx/v`,t);r!==null&&e.setToPath(n,`title.text.simpleRun`,r.firstChild.nodeValue)}}parsePointsAsString(e,t){let n=`{`,r=e.getValAttrAsInteger(`ptCount`,t),i=e.evaluate(`pt`,t),a=[];for(let n=0;i&&r&&n<r;n++){let r=null,i=e.evaluate(`pt[@idx='`+n+`']/v`,t);i&&(r=i.textContent),a[n]=r}for(let e=0;e<a.length;e++)e>0&&(n+=`,`),a[e]!==void 0&&(n+=a[e]);return n+=`}`,n}afterVisit(e,t,n){O(e,t,n);let r=e.getFromPath(n,`points`);if(r){let t=Object.keys(r);for(let i=0;i<t.length;i++){let a=t[i],o=e.getFromPath(r,a);if(!o)continue;let s=e.getFromPath(o,`markers`);s&&(e.setToPath(n,`markers.points.`+a,s),delete o.markers)}}}},G=class{DataPointVisitor(){}visit(e,t,n){let r=e.getFromPath(n,`points`),i=null;r?i=r:(i={},e.setToPath(n,`points`,i));let a={},o=e.getValAttrAsString(`idx`,t);return o!==null&&(i[o]=a),g(e,t,a,`bubble3D`,`bubble3D`),_(e,t,a,`explosion`,`explosion`),O(e,t,a),a}},K=class{visit(e,t,n){let r=t.parentNode.localName;if(r===`ser`||r===`dPt`){let r={},i=e.getValAttrAsString(`size`,t);i!==null&&(r.size=i);let a=e.getValAttrAsString(`symbol`,t);return a&&(r.type=a),n.markers=r,r}return null}},q=class{visit(e,t,n){let r={};this.parseScaling(e,t,r),v(e,t,r,`majorUnit`,`majorUnits`),v(e,t,r,`minorUnit`,`minorUnits`),g(e,t,r,`delete`,`shown`),this.parseOrientation(e,t,r),this.parseNumFormat(e,t,r),h(e,t,r,`majorTickMark`,`majorTickMarks`),h(e,t,r,`minorTickMark`,`minorTickMarks`),h(e,t,r,`crosses`,`crosses`),v(e,t,r,`crossesAt`,`crosses`),h(e,t,r,`crossBetween`,`crossBetween`),this.parseLabelAlign(e,t,r),_(e,t,r,`lblOffset`,`labelOffset`),h(e,t,r,`tickLblPos`,`labelPosition`);let i=e.getValAttrAsInteger(`noMultiLvlLbl`,t);r.labelMultiLevel=i!==null&&i===0,_(e,t,r,`tickMarkSkip`,`tickMarkSkip`),_(e,t,r,`tickLblSkip`,`labelInterval`),this.parseDisplayCustOrBuiltInUnit(t,e,r),this.parseTimeUnits(e,t,r,`majorUnitDates`,`majorTimeUnit`,`majorUnit`),this.parseTimeUnits(e,t,r,`minorUnitDates`,`minorTimeUnit`,`minorUnit`),h(e,t,r,`baseTimeUnit`,`baseUnitDates`),e.getVisitorParamsState().get(`axes`)||(e.warn(`An axis was read outside a chart; its axes were started fresh.`,{onceKey:`xlsx.chart.axesState`}),e.getVisitorParamsState().set(`axes`,new Map));let a=e.getValAttrAsString(`axId`,t);return e.getVisitorParamsState().get(`axes`).set(a,r),r}parseTimeUnits(e,t,n,r,i,a){let o={},s=e.getValAttrAsString(i,t);s!==null&&(o.dem=s,o.amt=e.getValAttrAsString(a,t)),Object.keys(o).length>0&&(n[r]=o)}parseDisplayCustOrBuiltInUnit(e,t,n){let r=t.getValAttrAsString(`dispUnits/builtInUnit`,e);r||=t.getValAttrAsString(`dispUnits/custUnit`,e),r&&(n.displayUnits=r)}parseLabelAlign(e,t,n){let r=e.getValAttrAsString(`lblAlgn`,t);r!==null&&(r===`ctr`?n.labelAlign=`center`:r===`l`?n.labelAlign=`left`:r===`r`&&(n.labelAlign=`right`))}parseOrientation(e,t,n){let r=e.getValAttrAsString(`AxPos`,t);r!==null&&(r===`b`?n.orientation=`bottom`:r===`l`?n.orientation=`left`:r===`r`?n.orientation=`right`:r===`t`&&(n.orientation=`top`))}parseNumFormat(e,t,n){let r={},i=e.evaluate(`numFmt`,t);i!==null&&(i.hasAttribute(`formatCode`)&&(r.formatCode=i.getAttribute(`formatCode`)),i.hasAttribute(`sourceLinked`)&&(r.sourceLinked=i.getAttribute(`sourceLinked`)===`1`)),Object.keys(r).length>0&&(n.labels=r)}parseScaling(e,t,n){let r=e.getValAttrAsString(`scaling/orientation`,t);r!==null&&(n.inverted=r!==`minMax`);let i=e.getValAttrAsFloat(`scaling/logBase`,t);i!==null&&(n.logBase=i,n.scaleType=`log`),v(e,t,n,`scaling/max`,`max`),v(e,t,n,`scaling/min`,`min`)}afterVisit(e,t,n){n.fill&&n.labels&&(n.labels.fill=n.fill,delete n.fill);let r=e.getValAttrAsBoolean(`delete`,t);r!==null&&(e.setToPath(n,`labels.shown`,!0!==r),e.setToPath(n,`shown`,!0!==r));let i=e.getFromPath(n,`dispUnits.displayUnitsLabel`);i&&(e.setToPath(n,`displayUnitsLabel`,i),delete n.dispUnits);let a=e.evaluate(`title`,t);e.setToPath(n,`title.shown`,a!==null);let o=e.evaluate(`minorGridlines`,t);e.setToPath(n,`gridLinesMinor.shown`,o!==null);let s=e.evaluate(`majorGridlines`,t);e.setToPath(n,`gridLinesMajor.shown`,s!==null)}},J=k,Y=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`series`),i=e.getValAttrAsInteger(`idx`,t),a=i===null?void 0:r[i];if(a){let n=e.getFromPath(a,`title`);n||(n={},e.setToPath(a,`title`,n));let r=n,i=e.getValAttrAsBoolean(`delete`,t);return i!==null&&(r.shown=!i),r}return n}},ae=class{visit(e,t,n){let r={};return g(e,t,r,`overlay`,`overlay`),h(e,t,r,`legendPos`,`position`),n.legend=r,r}},oe=class extends E{visit(e,t,n){let r=this.getFill(e,t);Object.keys(r).length>0&&(n.fillNegative=r);let i=this.getStroke(e,t);return Object.keys(i).length>0&&(n.strokeNegative=i),n}},X=class extends k{constructor(e=`title`){super(e)}parseTitleRangeOrValue(e,t,n){let r=e.evaluate(`tx/strRef/f`,t)??null;if(r){let t=r.firstElementChild.nodeValue;e.setToPath(n,`range`,t)}}visit(e,t,n){let r={};g(e,t,r,`overlay`,`overlay`),n[this._jsonKey]=r;let i=e.getFromPath(r,this.getTextPath());i||={},this.parseTitleRangeOrValue(e,t,r);let a=e.evaluate(`txPr`,t);a&&this.parseTextElement(e,a,i,!1);let o=e.evaluate(`tx/rich`,t);return o&&this.parseTextElement(e,o,i,!0),Object.keys(i).length>0&&e.setToPath(r,`text`,i),r}afterVisit(e,t,n){if(n?.text){let e=n.text?.rotation??null;e!==null&&(n.rotation=parseInt(e),delete n.title.rotation)}}},se=class{visit(e,t,n){let r=e.evaluate(`manualLayout`,t);if(r){let t={};v(e,r,t,`x`,`x`),v(e,r,t,`y`,`y`),v(e,r,t,`w`,`w`),v(e,r,t,`h`,`h`),h(e,r,t,`xMode`,`xMode`),h(e,r,t,`yMode`,`yMode`),h(e,r,t,`wMode`,`wMode`),h(e,r,t,`hMode`,`hMode`),Object.keys(t).length>0&&(n.manualLayout=t)}return n}},ce=class{visit(e,t,n){return n.name=t.getAttribute(`name`),n}},le=class extends C{visit(e,t,n){let r={};r.name=t.getAttribute(`name`);let i=t.childNodes,a=i.length;for(let n=0;n<a;n++){let a=i.item(n);if(a.nodeType===1){let n=a.localName,i=e.evaluate(n,t);r[n]=this.processAdjColor(e,i)}}return Object.keys(r).length>0&&(n.colors=r),r}},ue=class{visit(e,t,n){let r={};r.name=t.getAttribute(`name`);let i=e.evaluate(`majorFont`,t),a=this.processFontElement(e,i,{});a&&(r.majorFont=a.family,a.fallbacks&&(r.majorFallbacks=a.fallbacks));let o=e.evaluate(`minorFont`,t),s=this.processFontElement(e,o,{});return s&&(r.minorFont=s.family,s.fallbacks&&(r.minorFallbacks=s.fallbacks)),n.fonts=r,r}processFontElement(e,t,r){if(!t)return;let i=e.evaluate(`latin`,t);if(!i)return;let a=i.getAttribute(`typeface`);a&&(r.family=a);let o=i.getAttribute(`panose`);return o&&(r.fallbacks=[n.p.getPanoseFallback(o)]),r}},de=class extends C{visit(e,t,n){let r=this.parseFillList(e,t,`fillStyleLst`),i=this.parseLnList(e,t,`lnStyleLst`),a=this.parseEffectStyleList(e,t,`effectStyleLst`),o=this.parseFillList(e,t,`bgFillStyleLst`);if(r&&i&&a&&o)return n.fillStyleLst=r,n.lnStyleLst=i,n.effectStyleLst=a,void(n.bgFillStyleLst=o);let s=e.serializeElement(t);s&&(n.formatSchemeXml=s)}parseFillList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1)continue;let r=this.parseFillListItem(e,n);if(r===void 0)return;i.push(r)}return i}parseFillListItem(e,t){switch(t.localName){case`noFill`:return{type:n.h.Type.None};case`solidFill`:{let r=this.processAdjColor(e,t);return r?{type:n.h.Type.Solid,color:r}:void 0}case`gradFill`:return this.processGradFill(e,t);case`pattFill`:return this.processPatternFill(e,t);default:return}}parseLnList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType===1){if(e.evaluate(`headEnd`,n)||e.evaluate(`tailEnd`,n))return;i.push(this.parseLn(e,n))}}return i}parseEffectStyleList(e,t,n){let r=e.evaluate(n,t);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1)continue;if(e.evaluate(`scene3d`,n)||e.evaluate(`sp3d`,n))return;let r=this.getEffects(e,n);if(r===void 0)return;i.push(r??[])}return i}},fe=class{visit(e,t,n){if(!t)return;let r={},i=t.getAttribute(`r:id`);if(i){let t=e.getRef(i);typeof t==`string`&&(r.address=t)}return e.copyFromAttribute(t,`tooltip`,r,`screenTip`),e.copyFromAttribute(t,`history`,r,`history`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`tgtFrame`,r,`target`),n.hyperlink=r,r}},pe=class{visit(e,t,n){if(!t)return;let r={},i=[];return this.processFilterColumns(e,t,i,n),i.length>0&&(r.conditions=i),Object.keys(r).length>0&&(n.filter=r),r}processColorFilter(e,t){let r={},i={operator:n.tt.BuiltInOperatorNames.Color,param:r};return e.copyFromAttribute(t,`cellColor`,r,`cellColor`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`dxfId`,r,`styleId`,e.INT_COPY),i}processCustomFilter(e,t){return a.at({operator:t.getAttribute(`operator`),val:t.getAttribute(`val`)})}processCustomFilters(e,t){let r=t.getAttribute(`and`),i=r===`and`||r===`1`;t.getAttribute(`val`);let a=[],o={operator:i?n.tt.BuiltInOperatorNames.And:n.tt.BuiltInOperatorNames.Or,param:a},s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType!==1)continue;let r=null;n.localName===`customFilter`&&(r=this.processCustomFilter(e,n)),r&&a.push(r)}return a.length===1?a[0]:o}processDynamicFilter(e,t){let r={},i={operator:n.tt.BuiltInOperatorNames.TimePeriod,param:r},a=t.getAttribute(`type`);return a===`aboveAverage`?a=n.tt.AverageType.Above:a===`belowAverage`&&(a=n.tt.AverageType.Below),Object.values(n.tt.AverageType).includes(a)?(i.operator=n.tt.BuiltInOperatorNames.Average,e.copyFromAttribute(t,`val`,r,`stdDevs`,e.INT_COPY)):e.copyFromAttribute(t,`val`,r,`anchorDate`,e.INT_COPY),e.copyFromAttribute(t,`type`,r,`operator`),e.copyFromAttribute(t,`maxVal`,r,`maxVal`,e.INT_COPY),i}processDateGroupItem(e,t){let n={};return e.copyFromAttribute(t,`dateTimeGrouping`,n,`group`),e.copyFromAttribute(t,`day`,n,`day`,e.INT_COPY),e.copyFromAttribute(t,`hour`,n,`hour`,e.INT_COPY),e.copyFromAttribute(t,`minute`,n,`minute`,e.INT_COPY),e.copyFromAttribute(t,`month`,n,`month`,e.INT_COPY),e.copyFromAttribute(t,`second`,n,`second`,e.INT_COPY),e.copyFromAttribute(t,`year`,n,`year`,e.INT_COPY),n}processFilterItem(e,t){if(t.hasAttribute(`val`))return t.getAttribute(`val`)}processFilters(e,t){let r={},i={operator:n.tt.BuiltInOperatorNames.InSet,param:r};e.copyFromAttribute(t,`blank`,i,`blank`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calendarType`,i,`calendarType`);let a=[],o=[],s=t.childNodes,c=s.length;for(let t=0;t<c;t++){let n=s.item(t);if(n.nodeType===1){if(n.localName===`dateGroupItem`){let t=this.processDateGroupItem(e,n);t&&a.push(t)}else if(n.localName===`filter`){let t=this.processFilterItem(e,n);t!==void 0&&o.push(t)}}}return a.length>0&&(r.dateGroups=a),o.length>0&&(r.items=o),i}processIcon(e,t){let r={},i={operator:n.tt.BuiltInOperatorNames.Icon,param:r};return e.copyFromAttribute(t,`iconId`,r,`iconId`,e.INT_COPY),e.copyFromAttribute(t,`iconSet`,r),i}processTop10(e,t){let r={},i={operator:n.tt.BuiltInOperatorNames.TopN,param:r};return e.copyFromAttribute(t,`filterVal`,r,`filterVal`,e.FLOAT_COPY),e.copyFromAttribute(t,`percent`,r,`percent`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`top`,r,`top`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`val`,r,`val`,e.FLOAT_COPY),i}processFilterCriteria(e,t){if(!t)return;let n,r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);i.nodeType===1&&(i.localName===`colorFilter`?n=this.processColorFilter(e,i):i.localName===`customFilters`?n=this.processCustomFilters(e,i):i.localName===`dynamicFilter`?n=this.processDynamicFilter(e,i):i.localName===`filters`?n=this.processFilters(e,i):i.localName===`iconFilter`?n=this.processIcon(e,i):i.localName===`top10`&&(n=this.processTop10(e,i)))}return n}processFilterColumn(e,t,n){if(!t)return null;if(!t.hasAttribute(`colId`))return;let r=parseInt(t.getAttribute(`colId`)),i=!1;if(t.hasAttribute(`hiddenButton`)&&(i=o.t(t.getAttribute(`hiddenButton`))),i&&n){let e=n.hiddenButtons;e||(e=[],n.hiddenButtons=e),e.push(r)}let a=!1;if(t.hasAttribute(`showButton`)&&(a=o.t(t.getAttribute(`showButton`))),a&&n){let e=n.showButtons;!0!==e&&(e||(e=[],n.showButtons=e),e[r]=!0)}let s=this.processFilterCriteria(e,t);return s?(s.index=r,s):null}processFilterColumns(e,t,n,r){if(!t)return;let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);if(a.nodeType===1&&a.localName===`filterColumn`){let t=this.processFilterColumn(e,a,r);t&&n.push(t)}}return n}},me=class{visit(e,r,i){if(!r)return;let a=r.getAttribute(`ref`),s={};r.hasAttribute(`caseSensitive`)&&(s.collatorOptions=o.t(r.getAttribute(`caseSensitive`))?n.$.CaseSensitiveOptions:n.$.CaseInsensitiveOptions);let c=r.getAttribute(`sortMethod`);c!=null&&c!==`none`&&(c===`stroke`?s.collatorOptions={...s.collatorOptions,collation:`stroke`}:c===`pinYin`&&(s.collatorOptions={...s.collatorOptions,collation:`pinyin`}));let l={};r.hasAttribute(`columnSort`)&&o.t(r.getAttribute(`columnSort`))&&(l.axis=t.l.Axis.Column);let u=n.Rt.fastStringToRange(a),d=[];return this.processSortConditions(e,r,d,u,s),d.length>0&&(l.sorts=d),Object.keys(d).length>0&&(i.sort=l),l}processSortCondition(e,t,r,i){if(!t)return null;let a={};if(!t.hasAttribute(`ref`))return void e.warn(`A sort condition has no ref; it was dropped.`,{onceKey:`xlsx.sheet.sort.noRef`});if(t.hasAttribute(`ref`)){let e=t.getAttribute(`ref`),i=n.Rt.fastStringToRange(e);a.index=r?i.colStart-r.colStart:i.colStart}let s={...i};return a.criteria=s,s.reverse=!1,t.hasAttribute(`descending`)&&(s.reverse=o.t(t.getAttribute(`descending`))),e.copyFromAttribute(t,`sortBy`,s,`sortOn`),e.copyFromAttribute(t,`dxfId`,s),e.copyFromAttribute(t,`iconSet`,s),e.copyFromAttribute(t,`customList`,s),a}processSortConditions(e,t,n,r,i){if(!t)return;let a=t.childNodes,o=a.length;for(let t=0;t<o;t++){let o=a.item(t);if(o.nodeType===1&&o.localName===`sortCondition`){let t=this.processSortCondition(e,o,r,i);t&&n.push(t)}}}},Z=class extends A{visit(e,t,r){this.processNumFmts(e,e.evaluate(`numFmts`,t),null),e.getVisitorParamsState().set(`colorsToProcess`,new Set);let i={fills:{},fonts:{},borders:{}};this.processFonts(e,e.evaluate(`fonts`,t),i.fonts),this.processFills(e,e.evaluate(`fills`,t),i.fills),this.processBorders(e,e.evaluate(`borders`,t),i.borders,!0),i.fills[0]={type:n.h.Type.None},i.fills[1]={type:n.h.Type.Pattern,patternType:n.h.BuiltInSheetPattern.Gray125},i.borders[0]={bottom:{style:n.B.StrokeStyle.None},left:{style:n.B.StrokeStyle.None},right:{style:n.B.StrokeStyle.None},top:{style:n.B.StrokeStyle.None}};let a=[];this.processXFs(e,e.evaluate(`cellStyleXfs`,t),a,i,null,!1);let o=new Map;if(a.length>0){let n=[];this.processCellStyles(e,e.evaluate(`cellStyles`,t),n,a,o),r.named=n}let s=[];this.processXFs(e,e.evaluate(`cellXfs`,t),s,i,o),Object.keys(s).length>0&&(r.direct=s);let c=this.collectHiddenXfs(e.evaluate(`cellXfs`,t));c.size>0&&e.getVisitorParamsState().set(`hiddenXfs`,c);let l=[];return this.processDXFs(e,e.evaluate(`dxfs`,t),l),this.processTableStyles(e,e.evaluate(`tableStyles`,t),r,l),this.processIndexColors(e,e.evaluate(`colors/indexedColors`,t),r),this.processMruColors(e,e.evaluate(`colors/mruColors`,t),r),r}processIndexColors(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`rgbColor`){let t={color:null};this.processDataBarColor(e,n,t,`color`),t.color&&r.push(t.color)}}n.indexedColors=r}processMruColors(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`color`){let t={color:null};this.processDataBarColor(e,n,t,`color`),t.color&&r.push(t.color)}}r.length>0&&(n.mruColors=r)}processNumFmts(e,t,n){if(!t)return;let r=new Map;if(e.getVisitorParamsState().set(`numFmts`,r),!t)return;let i=t.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);if(t.nodeType===1&&t.localName===`numFmt`){let e=t.getAttribute(`numFmtId`),n=t.getAttribute(`formatCode`);if(e&&n){let t=n;r.set(parseInt(e),t)}}}}processXFs(e,t,n,r,i=null,a=!0){if(!t)return;let o=t.childNodes,s=o.length;for(let t=0;t<s;t++){let s=o.item(t);if(s.nodeType===1&&s.localName===`xf`){let t={};this.processXF(e,s,t,r,i,a),n.push(t)}}}processXF(e,t,r,i,a,s){if(!t)return;let c=t.getAttribute(`xfId`);if(c&&a){let e=a.get(parseInt(c));e&&e!==n.X.BuiltInName.Normal&&(r.named=e)}let l=e=>!(!s&&t.hasAttribute(e))||o.t(t.getAttribute(e)),u=e=>!s||t.hasAttribute(e)&&o.t(t.getAttribute(e)),d=s?`0`:void 0;if(l(`applyFont`)){let e=t.getAttribute(`fontId`)??d;if(e!==void 0&&(e!==`0`||u(`applyFont`))){let t=i.fonts[e];t!==void 0&&(r.font=t)}}if(l(`applyFill`)){let e=t.getAttribute(`fillId`)??d;if(e!==void 0&&(e!==`0`||u(`applyFill`))){let t=i.fills[e];t!==void 0&&Object.keys(t).length>0&&(r.fill=t)}}if(l(`applyBorder`)){let e=t.getAttribute(`borderId`)??d;if(e!==void 0&&(e!==`0`||u(`applyBorder`))){let t=i.borders[e];t!==void 0&&(r.borders=t)}}if(l(`applyNumberFormat`)){let n=t.getAttribute(`numFmtId`)??d;if(n!==void 0&&(n!==`0`||u(`applyNumberFormat`))){let t,i=parseInt(n),a=e.getVisitorParamsState();if(a){let e=a.get(`numFmts`);e&&(t=e.get(i)),r.numberFormat=t??i}else e.warn(`Number formats were unavailable; a cell format was not read.`,{onceKey:`xlsx.style.numberFormat.state`})}}if(l(`applyAlignment`)){let n=e.evaluate(`alignment`,t);(n||u(`applyAlignment`))&&this.processAlignment(e,n,r)}if(l(`applyProtection`)){let n=e.evaluate(`protection`,t);(n||u(`applyProtection`))&&this.processProtection(e,n,r)}let f=o.t(t.getAttribute(`quotePrefix`)??``);f&&(r.quotePrefix=f)}processAlignment(e,t,r){let i={};if(t?.hasAttribute(`horizontal`)?i.horizontal=t.getAttribute(`horizontal`):i.horizontal=n.U.HorizontalAlignment.General,t?.hasAttribute(`vertical`)?i.vertical=t.getAttribute(`vertical`):i.vertical=n.U.VerticalAlignment.Bottom,t?.hasAttribute(`indent`)?i.indent=parseInt(t.getAttribute(`indent`)):i.indent=0,t?.hasAttribute(`relativeIndent`)?i.relativeIndent=parseInt(t.getAttribute(`relativeIndent`)):i.relativeIndent=0,o.t(t?.getAttribute(`wrapText`)??``)?i.overflow=n.U.Overflow.Wrap:i.overflow=n.U.Overflow.Visible,o.t(t?.getAttribute(`shrinkToFit`)??``)&&(i.overflow=n.U.Overflow.Shrink),t?.hasAttribute(`textRotation`)){let e=parseFloat(t.getAttribute(`textRotation`));e>0&&e<=90?e=360-e:e>90&&e<=180?e-=90:e===255&&(e=0,i.stacked=!0),i.rotation=e}else i.rotation=0;t?.hasAttribute(`justifyLastLine`)&&(i.justifyLastLine=o.t(t.getAttribute(`justifyLastLine`)));let a=t?.getAttribute(`readingOrder`);return a&&(a===`0`?i.readingDirection=n.U.ReadingDirection.Auto:a===`1`?i.readingDirection=n.U.ReadingDirection.LeftToRight:a===`2`?i.readingDirection=n.U.ReadingDirection.RightToLeft:e.warn(`Invalid readingOrder '${a}'; the direction was left automatic.`,{onceKey:`xlsx.style.readingOrder`})),Object.keys(i).length>0&&(r.alignment=i),r}collectHiddenXfs(e){let t=new Set;if(!e)return t;let n=e.childNodes,r=0;for(let e=0;e<n.length;e++){let i=n.item(e);if(i.nodeType!==1||i.localName!==`xf`)continue;let a=i.childNodes;for(let e=0;e<a.length;e++){let n=a.item(e);n.nodeType===1&&n.localName===`protection`&&o.t(n.getAttribute(`hidden`)??``)&&t.add(r)}r++}return t}processProtection(e,t,n){if(!t)return;let r=t.getAttribute(`locked`);return n.protection={alwaysUnlocked:!!r&&!o.t(r)},n}processDXF(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1&&i.localName===`font`){let t={};this.processFont(e,i,t),n.font=t}else if(i.nodeType===1&&i.localName===`fill`){let t=[];this.processFill(e,i,t,0),t.length>0&&t[0]&&(n.fill=t[0])}else if(i.nodeType===1&&i.localName===`border`){let t=[];this.processBorder(e,i,t,0,!1),t.length>0&&t[0]&&(n.borders=t[0])}else if(i.nodeType===1&&i.localName===`numFmt`){let e=i.getAttribute(`formatCode`);if(e)n.numberFormat=e;else{let e=i.getAttribute(`numFmtId`);e&&(n.numberFormat=Number(e))}}else i.nodeType===1&&i.localName===`alignment`&&this.processAlignment(e,i,n)}}processDXFs(e,t,n){if(!t)return;e.getVisitorParamsState().set(`processingDXFs`,!0);let r=new Map;e.getVisitorParamsState().set(`dxfs`,r);let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);if(a.nodeType===1&&a.localName===`dxf`){let t={};this.processDXF(e,a,t);let i=n.length;r.set(i,t),n.push(t)}}e.getVisitorParamsState().delete(`processingDXFs`)}processTableStyle(e,t,n,r,i=!1){let a=t.getAttribute(`name`),s={name:a};t.hasAttribute(`table`)&&(s.table=o.t(t.getAttribute(`table`))),t.hasAttribute(`pivot`)&&(s.pivot=o.t(t.getAttribute(`pivot`))),i&&!s.pivot&&r.unshift(null);let c=t.childNodes,l=c.length;for(let t=0;t<l;t++){let n=c.item(t);if(n.nodeType===1&&n.localName===`tableStyleElement`){let t=n.getAttribute(`type`),i=n.getAttribute(`dxfId`),a=i==null?void 0:r?.[i];a||=(e.warn(`A table style names a format that does not exist (dxfId '${i}').`,{onceKey:`xlsx.style.tableStyle.dxf`}),{}),s[t]=a;let o=null;n.hasAttribute(`size`)&&(o=parseInt(n.getAttribute(`size`))),o&&!isNaN(o)&&(a.size=o)}}delete s.name,n[a]=s}processTableStyles(e,t,n,r,i){if(!t)return;let a={},o=t.getAttribute(`defaultTableStyle`);o&&(a.defaultTableStyle=o);let s=t.getAttribute(`defaultPivotStyle`);s&&(a.defaultPivotStyle=s);let c=t.childNodes,l={},u=c.length;for(let t=0;t<u;t++){let n=c.item(t);n.nodeType===1&&n.localName===`tableStyle`&&this.processTableStyle(e,n,l,r,i)}return Object.keys(l).length>0&&(a.styles=l),Object.keys(a).length>0&&(n.tables=a),n}processCellStyles(e,t,r,i,a){if(!t)return;let s=t.childNodes,c=s.length;for(let e=0;e<c;e++){let t=s.item(e);if(t.nodeType===1&&t.localName===`cellStyle`){let e=parseInt(t.getAttribute(`xfId`)??``),s=t.getAttribute(`name`),c=t.getAttribute(`builtinId`),l=s;if(c!==null){let e=n.X.builtInNameFromId(parseInt(c));e!==void 0&&(l=e)}if(a.set(e,l),!i[e])continue;let u={name:l,style:i[e]};t.getAttribute(`hidden`)&&(u.hidden=o.t(t.getAttribute(`hidden`))),t.getAttribute(`iLevel`)&&(u.iLevel=parseInt(t.getAttribute(`iLevel`))),r.push(u)}}}afterVisit(e,t,n){}},he=class extends A{visit(e,t,n){return this.processSheetRefs(e,e.evaluate(`sheets`,t),n),this.processExternalReferences(e,e.evaluate(`externalReferences`,t),n),this.processBookViews(e,e.evaluate(`bookViews`,t),n),this.processDefinedNames(e,e.evaluate(`definedNames`,t),n),this.processCalcPr(e,e.evaluate(`calcPr`,t),n),this.processPivotCaches(e,e.evaluate(`pivotCaches`,t),n),this.processWorkbookProtection(e,e.evaluate(`workbookProtection`,t),n),this.processWorkbookPr(e,e.evaluate(`workbookPr`,t),n),n}processPassword(e,t,n,r=`workbook`,i=`password`){if(!t)return;let a={};e.copyFromAttribute(t,`${r}AlgorithmName`,a,`algorithm`),e.copyFromAttribute(t,`${r}HashValue`,a,`hash`),e.copyFromAttribute(t,`${r}SaltValue`,a,`salt`),e.copyFromAttribute(t,`${r}SpinCount`,a,`spinCount`,e.INT_COPY),Object.keys(a).length>0&&(n[i]=a)}processWorkbookProtection(e,t,n){if(!t)return;let r={};this.processPassword(e,t,r,`workbook`,`password`),this.processPassword(e,t,r,`revisions`,`revisionsPassword`);for(let e of a.n)r[e.key]=a.P(e,t.getAttribute(e.attribute));return n.protection=r,n}processCalcPr(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`calcMode`,r,`calcMode`,e=>ee[e]??null),e.copyFromAttribute(t,`fullCalcOnLoad`,r,`fullCalcOnLoad`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calcOnSave`,r,`calcOnSave`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`calcCompleted`,r,`calcCompleted`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`fullPrecision`,r,`fullPrecision`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`forceFullCalc`,r,`forceFullCalc`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`concurrentCalc`,r,`concurrentCalc`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`refMode`,r,`refMode`),e.copyFromAttribute(t,`iterate`,r,`iterate`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`iterateCount`,r,`maxIteration`,e.INT_COPY),e.copyFromAttribute(t,`iterateDelta`,r,`maxIterateChange`,e.FLOAT_COPY);let i=t.getAttribute(`calcId`);i!==null&&e.getVisitorParamsState().set(`calcId`,i),n.calc=r}processSheetRefs(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);n.nodeType===1&&n.localName===`sheet`&&this.processSheetRef(e,n,r)}n.sheets=r}processSheetRef(e,t,n){let r={};e.copyFromAttribute(t,`name`,r,`name`),e.copyFromAttribute(t,`state`,r,`visibility`),e.copyFromAttribute(t,`sheetId`,r,`sheetId`,e.INT_COPY);let i=t.getAttribute(`r:id`),a=e.getRef(i);a&&(r.sheet=a),n.push(r)}processExternalReferences(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`externalReference`){let t=n.getAttribute(`r:id`),i=t?e.getRef(t):null;r.push(i??null)}}r.length>0&&(n.externalBooks=r)}processPivotCaches(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType!==1||n.localName!==`pivotCache`)continue;let a=parseInt(n.getAttribute(`cacheId`)??``,10),o=n.getAttribute(`r:id`);if(isNaN(a)||!o)continue;let s=e.readEmbeddedPart(o);s&&r.push({cacheId:a,part:s})}r.length>0&&(n.pivotCaches=r)}processBookViews(e,t,n){if(!t)return;let r=t.childNodes,i=0,a=r.length;for(let t=0;i<1&&t<a;t++){let a=r.item(t);a.nodeType===1&&a.localName===`workbookView`&&(this.processWorkbookView(e,a,n),i++)}}processWorkbookView(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`activeTab`,r,`activeSheetId`,[e.INT_COPY,e=>e]),t.hasAttribute(`activeTab`)||(r.activeSheetId=0),e.copyFromAttribute(t,`showHorizontalScroll`,r,`showHorizontalScrollbar`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`showVerticalScroll`,r,`showVerticalScrollbar`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`showSheetTabs`,r,`showTabs`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`tabRatio`,r,`tabRatio`,[e.FLOAT_COPY,e=>e]),Object.keys(r).length>0&&(n.view=r)}processDefineName(e,t,n,r){if(!t)return;let i={},a=t.firstChild;if(a&&a.nodeType===3&&(i.ref=a.textContent),e.copyFromAttribute(t,`name`,i),e.copyFromAttribute(t,`comment`,i),e.copyFromAttribute(t,`hidden`,i,`hidden`,e.BOOLEAN_COPY),t.hasAttribute(`localSheetId`)){let n=t.getAttribute(`localSheetId`);if(!r[n]?.name)return void e.warn(`Defined name '${t.getAttribute(`name`)}' references a sheet with localSheetId '${n}' which does not exist.`);i.scope=r[n].name}e.copyFromAttribute(t,`customMenu`,i),e.copyFromAttribute(t,`description`,i),e.copyFromAttribute(t,`statusBar`,i),e.copyFromAttribute(t,`help`,i),e.copyFromAttribute(t,`shortcutKey`,i),e.copyFromAttribute(t,`function`,i,`function`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`functionGroupId`,i,`functionGroupId`,e.INT_COPY),e.copyFromAttribute(t,`publishToServer`,i,`publishToServer`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`vbProcedure`,i,`vbProcedure`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`xlm`,i,`xlm`,e.BOOLEAN_COPY),Object.keys(i).length>0&&n.push(i)}processDefinedNames(e,t,n){if(!t)return;let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let a=i.item(t);a.nodeType===1&&a.localName===`definedName`&&this.processDefineName(e,a,r,n.sheets)}r.length>0&&(n.names=r)}processWorkbookPr(e,t,n){t&&(e.copyFromAttribute(t,`date1904`,n,`date1904`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`codeName`,n,`codeName`),e.copyFromAttribute(t,`updateLinks`,n,`updateLinks`))}afterVisit(e,t,n){}},ge=class{visit(e,t,n){let r={};return e.copyFromAttribute(t,`ref`,n,`r`),e.getVisitorParamsState().set(`ref`,n.r),n.v=r,e.copyFromAttribute(t,`name`,r),e.copyFromAttribute(t,`displayName`,r),e.copyFromAttribute(t,`headerRowCount`,r,`headerRowCount`,e.INT_COPY),e.copyFromAttribute(t,`totalsRowCount`,r,`totalsRowCount`,e.INT_COPY),this.processTableColumns(e,t,r),this.processTableStyleInfo(e,t,r),e.copyFromAttribute(t,`id`,r),e.copyFromAttribute(t,`comment`,r,`description`),e.copyFromAttribute(t,`connectionId`,r,`connectionId`,e.INT_COPY),e.copyFromAttribute(t,`tableType`,r),e.copyFromAttribute(t,`published`,r,`published`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`insertRow`,r,`insertRow`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`insertRowShift`,r,`insertRowShift`,e.BOOLEAN_COPY),r.totalsRowShown=t.getAttribute(`totalsRowShown`)!==`0`,r}afterVisit(e,t,n){let r=n.v;if(e.evaluate(`autoFilter`,t)){if(Array.isArray(r.hiddenButtons)){let e=r.hiddenButtons.length;e===0?r.hiddenButtons=!1:e===r.columns?.length&&(r.hiddenButtons=!0)}}else r.hiddenButtons=!0,r.showButtons=!1;return r}processTableStyleInfo(e,t,n){if(!t)return;let r=t.childNodes,i={},a=r.length;for(let t=0;t<a;t++){let n=r.item(t);n.nodeType===1&&n.localName===`tableStyleInfo`&&(e.copyFromAttribute(n,`name`,i),e.copyFromAttribute(n,`showColumnStripes`,i,`showColumnStripes`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showFirstColumn`,i,`showFirstColumn`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showLastColumn`,i,`showLastColumn`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`showRowStripes`,i,`showRowStripes`,e.BOOLEAN_COPY))}Object.keys(i).length>0&&(n.style=i)}processTableColumn(e,t,n){if(!t)return null;let r=t.childNodes,i=r.length;for(let t=0;t<i;t++){let i=r.item(t);if(i.nodeType===1&&i.localName===`tableColumn`){let t={};e.copyFromAttribute(i,`name`,t),e.copyFromAttribute(i,`id`,t),e.copyFromAttribute(i,`uniqueName`,t),e.copyFromAttribute(i,`queryTableFieldId`,t),e.copyFromAttribute(i,`totalsRowLabel`,t);let r=i.getAttribute(`totalsRowFunction`);if(r!==null)if(r===`custom`){let n=e.evaluate(`totalsRowFormula`,i);n&&(t.totalsRowFormula=n.textContent)}else t.totalsRowFormula=r;e.copyFromAttribute(i,`totalsRowLabel`,t);let a=e.evaluate(`calculatedColumnFormula`,i);a?.textContent&&(t.calculatedColumnFormula=a.textContent),n.push(t)}}return n}processTableColumns(e,t,n){let r=t.childNodes,i=[],a=r.length;for(let t=0;t<a;t++){let n=r.item(t);n.nodeType===1&&n.localName===`tableColumns`&&this.processTableColumn(e,n,i)}i.length>0&&(n.columns=i)}},_e=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`ref`);if(r){let n=e.getVisitorParamsState().get(`descriptions`);n&&(n.add(r,t.getAttribute(`altText`)),n.add(r,t.getAttribute(`altTextSummary`)))}return e.copyFromAttribute(t,`altText`,n),e.copyFromAttribute(t,`altTextSummary`,n),n}},ve=class{visit(e,t,n){let r=t.childNodes,i=r.length,a=null;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1){t.localName===`externalBook`&&(a=t);break}}if(!a)return n;t.getAttribute(`mc:Ignorable`)&&(n.mceIgnorable=!0);let o=a.getAttribute(`r:id`);o&&(n.__bookRelId=o);let s=this._findAbsoluteUrlRelId(a);return s&&(n.__absoluteUrlRelId=s),n.sheetNames=[],this.processSheetNames(e,a,n),this.processDefinedNames(e,a,n),this.processSheetDataSet(e,a,n),n}processSheetNames(e,t,n){let r=this._findChild(t,`sheetNames`);if(!r)return;let i=r.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);t.nodeType===1&&t.localName===`sheetName`&&n.sheetNames.push(t.getAttribute(`val`)??``)}}processDefinedNames(e,t,n){let r=this._findChild(t,`definedNames`);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let e=0;e<o;e++){let t=a.item(e);if(t.nodeType!==1||t.localName!==`definedName`)continue;let n=t.getAttribute(`name`);if(!n)continue;let r={name:n,refersTo:t.getAttribute(`refersTo`)??``},o=t.getAttribute(`sheetId`);o!==null&&(r.sheetIndex=parseInt(o,10)),i.push(r)}i.length>0&&(n.definedNames=i)}processSheetDataSet(e,t,n){let r=this._findChild(t,`sheetDataSet`);if(!r)return;let i=[],a=r.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType!==1||n.localName!==`sheetData`)continue;let r=n.getAttribute(`sheetId`);if(r===null)continue;let o=this.processSheetData(e,n);o.sheetIndex=parseInt(r,10),n.getAttribute(`refreshError`)===`1`&&(o.refreshError=!0),i.push(o)}i.length>0&&(n.sheetDataSet=i)}processSheetData(e,t){let r=new n.rt.Builder,i=t.childNodes,a=i.length;for(let e=0;e<a;e++){let t=i.item(e);if(t.nodeType!==1||t.localName!==`row`)continue;let a=t.childNodes,o=a.length;for(let e=0;e<o;e++){let t=a.item(e);if(t.nodeType!==1||t.localName!==`cell`)continue;let i=t.getAttribute(`r`);if(!i)continue;let o=n.Rt.fastStringToCell(i);if(o?.rowIndex===void 0||o?.colIndex===void 0)continue;let s=this._readCellValue(t);s!==void 0&&r.pushAt(o.rowIndex,o.colIndex,s)}}return{sheetIndex:-1,data:r.build()?.tuples??[]}}_readCellValue(e){let n=this._findChild(e,`v`)?.textContent?.trim();if(n!==void 0&&n!==``)switch(e.getAttribute(`t`)){case null:case`n`:return parseFloat(n);case`b`:return n===`1`||n===`true`;case`str`:default:return n;case`e`:{let e=t.i.getBuiltInByLabel(n);return e?{t:`e`,v:e.getCode()}:n}}}_findChild(e,t){let n=e.childNodes,r=n.length;for(let e=0;e<r;e++){let r=n.item(e);if(r.nodeType===1&&r.localName===t)return r}return null}_findAbsoluteUrlRelId(e){let t=this._findChild(e,`alternateUrls`);return t?this._findChild(t,`absoluteUrl`)?.getAttribute(`r:id`)??null:null}},ye=class{visit(e,t,n){e.copyFromAttribute(t,`name`,n),e.copyFromAttribute(t,`sourceName`,n);let r=e.evaluate(`*/tableSlicerCache`,t);return r?(e.copyFromAttribute(r,`tableId`,n),e.copyFromAttribute(r,`column`,n,`columnId`),e.copyFromAttribute(r,`crossFilter`,n),n):(e.warn(`A slicer names no table; it was not imported.`,{onceKey:`xlsx.slicer.cacheDefinition`}),n)}},be=class{visit(e,t,n){let r=n.slicers;r||(r={},n.slicers=r);let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);n.nodeType===1&&n.localName===`slicer`&&this.processSlicer(e,n,r)}return r}processSlicer(e,t,n){if(!t)return;let r={};n[t.getAttribute(`name`)]=r;let i=t.getAttribute(`cache`),a=e.getVisitorParamsState().get(`slicerCaches`);if(i){let e=a.get(i);e&&(r.columnId=e.columnId,r.tableId=e.tableId)}e.copyFromAttribute(t,`caption`,r),e.copyFromAttribute(t,`startItem`,r,`startItem`,e.INT_COPY),e.copyFromAttribute(t,`columnCount`,r,`columnCount`,e.INT_COPY),e.copyFromAttribute(t,`showCaption`,r,`showCaption`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`level`,r,`level`,e.INT_COPY),e.copyFromAttribute(t,`style`,r),e.copyFromAttribute(t,`locked`,r,`locked`,e.BOOLEAN_COPY),e.copyFromAttribute(t,`rowHeight`,r,`rowHeight`,e.INT_COPY)}},xe=class{visit(e,t,n){return n}},Q=class{visit(e,t,n){if(!t)return;let r={};return e.copyFromAttribute(t,`editAs`,r,`anchorType`),r.anchor={},t.localName===`absoluteAnchor`?(r.anchorType=`absolute`,this.processAbsoluteCoord(e,e.evaluate(`xdr:pos`,t),r.anchor,`from`,`x`,`y`),this.processAbsoluteCoord(e,e.evaluate(`xdr:ext`,t),r.anchor,`to`,`cx`,`cy`)):t.localName===`oneCellAnchor`?(this.processOffsetCoord(e,e.evaluate(`from`,t),r.anchor,`from`),this.processAbsoluteCoord(e,e.evaluate(`xdr:ext`,t),r.anchor,`to`,`cx`,`cy`)):(this.processOffsetCoord(e,e.evaluate(`from`,t),r.anchor,`from`),this.processOffsetCoord(e,e.evaluate(`to`,t),r.anchor,`to`)),n.movables||=[],n.movables.push(r),r}processAbsoluteCoord(e,t,n,r,i,a){if(!t)return;let s={x:0,y:0};return s.x=o.h(t.getAttribute(i)),s.y=o.h(t.getAttribute(a)),r===`from`?n.tl=s:n.br=s,n}processOffsetCoord(e,t,n,r){if(!t)return;let i={c:0,r:0,x:0,y:0};return e.evaluate(`col`,t)&&(i.c=parseInt(e.evaluate(`col`,t).textContent)),e.evaluate(`row`,t)&&(i.r=parseInt(e.evaluate(`row`,t).textContent)),e.evaluate(`colOff`,t)&&(i.x=o.h(e.evaluate(`colOff`,t).textContent)),e.evaluate(`rowOff`,t)&&(i.y=o.h(e.evaluate(`rowOff`,t).textContent)),r===`from`?n.tl=i:n.br=i,n}},Se=class extends M{visit(e,t,n){if(!t)return;n=super.visit(e,t,n);let r=e.evaluate(`nvGraphicFramePr/cNvGraphicFramePr`,t);if(r){let t=e.evaluate(`graphicFrameLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i={type:`graphicFrame`,json:{}},a=e.evaluate(`graphic/graphicData`,t).childNodes,o=a.length;for(let n=0;n<o;n++){let r=a.item(n);if(r.nodeType===1)try{let n=r.localName;n===`chart`?n=`chart`:n===`slicer`&&(n=`slicer`),i.type=n;let a=r.getAttribute(`r:id`);if(n===`chart`&&a){let n=e.evaluate(`*/cNvPr`,t);n?.item&&(n=n.item(0));let r=n?.getAttribute?.(`id`),o=r?parseInt(r,10):void 0;i.json={xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o,part:e.readEmbeddedPart(a)??void 0}}else a&&(i.json=e.getRef(a))}catch(t){e.warn(`Unable to read a graphic frame: ${t?.message??t}`,{onceKey:`xlsx.drawing.graphicFrame`})}}return i&&this.setContent(n,i),i}},Ce=N,we=class extends M{visit(e,t,n){if(!t)return;let r=super.visit(e,t,n),i=e.evaluate(`nvPicPr/cNvPicPr`,t);if(i){e.copyFromAttribute(t,`preferRelativeResize`,r,`preferRelativeResize`,e.BOOLEAN_COPY);let n=e.evaluate(`picLocks`,i);if(n){n.hasAttribute(`noChangeAspect`)&&(r.lockAspect=n.getAttribute(`noChangeAspect`)===`1`);let t={};e.copyFromAttribute(n,`noChangeArrowheads`,r,`noChangeArrowheads`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noChangeShapeType`,r,`noChangeShapeType`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noEditPoints`,r,`noEditPoints`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noAdjustHandles`,r,`noAdjustHandles`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noCrop`,r,`noCrop`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noGrp`,r,`noGrp`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noMove`,r,`noMove`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noResize`,r,`noResize`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noRot`,r,`noRot`,e.BOOLEAN_COPY),e.copyFromAttribute(n,`noSelect`,r,`noSelect`,e.BOOLEAN_COPY),Object.keys(t).length>0&&(r.locks=t)}}let a,o=e.evaluate(`blipFill/blip`,t);if(o){let t;if(t=o.getAttribute(`r:embed`)??o.getAttribute(`embed`),t||=o.getAttribute(`r:link`)??o.getAttribute(`link`),!t)return void e.warn(`A picture names no image; it was not imported.`,{onceKey:`xlsx.drawing.picture.noRel`});a=e.getRef(t,!0)}let s={resId:a};return this.setContent(n,{type:`picture`,json:s}),r}},Te=class extends N{visit(e,t,n){if(!t)return;let r=n;n=super.visit(e,t,n);let i=e.evaluate(`nvGrpSpPr/cNvGrpSpPr`,t);if(i){let t=e.evaluate(`grpSpLocks`,i);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}e.warn(`Unable to import '${r.content?.name}', group shapes are not supported.`);let a={};return n.content={type:`grpSp`,json:a},a}},Ee=class extends N{visit(e,t,n){if(!t)return;n=super.visit(e,t,n);let r=e.evaluate(`nvCxnSpPr/cNvCxnSpPr`,t);if(r){let t=e.evaluate(`cxnSpLocks`,r);if(t){t.hasAttribute(`noChangeAspect`)&&(n.lockAspect=t.getAttribute(`noChangeAspect`)===`1`);let e={};Object.keys(e).length>0&&(n.locks=e)}}let i=e.evaluate(`*/cNvPr`,t);i?.item&&(i=i.item(0));let a=i?.getAttribute?.(`id`),o=a?parseInt(a,10):void 0,s={type:`cxnSp`,xml:e.serializeElement(t)??void 0,sourceId:o===void 0||isNaN(o)?void 0:o};return n.content={type:`cxnSp`,json:s},s}},De=class{visit(e,t,n){let r=[],i=new Map,a={cells:[],values:[]},o=t.childNodes;for(let e=0;e<o.length;e++){let t=o.item(e);if(t.nodeType===1)switch(t.localName){case`metadataTypes`:this._parseMetadataTypes(t,r,i);break;case`futureMetadata`:this._attachFutureMetadata(t,i);break;case`cellMetadata`:this._resolveBlocks(t,r,a.cells);break;case`valueMetadata`:this._resolveBlocks(t,r,a.values)}}return n.metadata=a,a}_parseMetadataTypes(e,t,n){let r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType===1&&i.localName===`metadataType`){let e=this._parseMetadataType(i);t.push(e),n.set(e.name,e)}}}_parseMetadataType(e){let t={name:e.getAttribute(`name`)??``,_blocks:[]},n=e.getAttribute(`minSupportedVersion`);n!=null&&(t.minSupportedVersion=Number(n));for(let n of[`copy`,`pasteAll`,`pasteValues`,`merge`,`splitFirst`,`splitAll`,`rowColShift`,`clearFormats`,`clearComments`,`assign`,`coerce`,`cellMeta`,`adjust`,`trans`,`delete`,`edit`])e.getAttribute(n)===`1`&&(t[n]=!0);return t}_attachFutureMetadata(e,t){let n=e.getAttribute(`name`)??``,r=t.get(n);if(!r)return;let i=e.childNodes;for(let e=0;e<i.length;e++){let t=i.item(e);t.nodeType===1&&t.localName===`bk`&&r._blocks.push(this._parseFutureBlock(t))}}_parseFutureBlock(e){let t={},n=e.childNodes;for(let e=0;e<n.length;e++){let r=n.item(e);if(r.nodeType!==1||r.localName!==`extLst`)continue;let i=r.childNodes;for(let e=0;e<i.length;e++){let n=i.item(e);if(n.nodeType!==1||n.localName!==`ext`)continue;let r=n.childNodes;for(let e=0;e<r.length;e++){let n=r.item(e);n.nodeType===1&&(n.localName===`dynamicArrayProperties`?(t.fDynamic=n.getAttribute(`fDynamic`)===`1`,t.fCollapsed=n.getAttribute(`fCollapsed`)===`1`):n.localName===`rvb`&&(t.richValueIndex=Number(n.getAttribute(`i`)??`0`)))}}}return t}_resolveBlocks(e,t,n){let r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);i.nodeType===1&&i.localName===`bk`&&n.push(this._resolveBlock(i,t))}}_resolveBlock(e,t){let n=new Map,r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType!==1||i.localName!==`rc`)continue;let a=Number(i.getAttribute(`t`)),o=Number(i.getAttribute(`v`)),s=t[a-1];if(!s)continue;let{_blocks:c,...l}=s,u={...l};for(let e of Object.keys(u))u[e]===void 0&&delete u[e];let d=c[o];d&&(d.fDynamic!==void 0&&(u.fDynamic=d.fDynamic,u.fCollapsed=d.fCollapsed??!1),d.richValueIndex!==void 0&&(u.richValueIndex=d.richValueIndex)),n.set(s.name,u)}return n}},$=class{visit(e,t,n){let r=e.getVisitorParamsState().get(P);r||(r=[],e.getVisitorParamsState().set(P,r));let i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`s`){let t={type:n.getAttribute(`t`)??`n`,keys:[]};this.processKeys(e,n,t),r.push(t)}}return n.richTypes=r,r}processKeys(e,t,n){let r=t.childNodes,i=r.length,a=n.keys;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1&&t.localName===`k`){let e=t.getAttribute(`n`),n=t.getAttribute(`t`);a.push([e,n])}}}},Oe=class{visit(e,t,n){let r=e.getVisitorParamsState().get(`richTypes`);if(!r)return void e.warn(`RichValueFound but not type.`);let i=e.getVisitorParamsState().get(F);i||(i=[],e.getVisitorParamsState().set(F,i));let a=t.childNodes,o=a.length;for(let t=0;t<o;t++){let n=a.item(t);if(n.nodeType===1&&n.localName===`rv`){let t=r[n.getAttribute(`s`)],a={type:t.type};this.processValues(e,n,a,t);let o=this.mapType(e,a);i.push(o)}}return n.richData=i,i}mapType(e,n){if(n.type===`_error`){let e=n.errorType;if(e)try{n=t.i.getBuiltInByCode(e+1)??t.i.BuiltIn.Unknown}catch{}}return n}processValues(e,t,n,r){let i=t.childNodes,a=i.length;r.type;let o=r.keys;for(let t=0;t<a;t++){let r=i.item(t);if(r.nodeType===1&&r.localName===`v`){let i=o[t];if(!i)return void e.warn(`Invalid richData`);let a=i[0],s=i[1],c=r.textContent;s===`i`&&(c=Number(c)),n[a]=c}}}},ke=class{visit(e,t,n){if(!t)return;let r=[];this.processAuthors(e,e.evaluate(`authors`,t),r),r.length>0&&(n.authors=r);let i=[];return n.comments=i,i}processAuthors(e,t,n){if(!t)return;let r=t.childNodes,i=r.length;for(let e=0;e<i;e++){let t=r.item(e);if(t.nodeType===1&&t.localName===`author`){let e=t.firstChild;e&&e.nodeType===3&&n.push(e.textContent)}}}},Ae=class{visit(e,t,n){if(!t)return;let r=t.getAttribute(`ref`);if(!r)return;let i={content:``};if(t.hasAttribute(`authorId`)){let e=parseInt(t.getAttribute(`authorId`),10);isNaN(e)||(i.authorId=e)}return i.content=function(e){if(!e)return``;let t=[],n=!0,r=e.childNodes;for(let e=0;e<r.length;e++){let i=r.item(e);if(i.nodeType===1){if(i.localName===`t`)t.push({text:i.textContent??``});else if(i.localName===`r`){let e={text:``},r=i.childNodes;for(let t=0;t<r.length;t++){let n=r.item(t);if(n.nodeType===1){if(n.localName===`t`)e.text+=n.textContent??``;else if(n.localName===`rPr`){let t=ne(n);t&&(e.font=t)}}}e.font&&(n=!1),t.push(e)}}}return t.length===0?e.textContent??``:n?t.map(e=>e.text).join(``):{runs:t}}(e.evaluate(`text`,t)),n.push({r,v:i}),i}},je=class{visit(e,t,n){if(!t)return;let r=[];return n.comments=r,r}},Me=class{visit(e,t,n){if(!t)return;let r={};e.copyFromAttribute(t,`id`,r,`id`,o.c);let i=t.getAttribute(`ref`);e.copyFromAttribute(t,`personId`,r,`personId`,o.c),e.copyFromAttribute(t,`parentId`,r,`parentId`,o.c);let a=t.getAttribute(`dT`);a&&(r.dt=function(e){let t=/^(.*T\d{2}:\d{2}:\d{2})(?:\.(\d+))?(Z|[+-]\d{2}:?\d{2})?$/i.exec(e.trim());if(!t)return e;let[,n,r,i]=t;return`${n}${r?`.${(r+`00`).substring(0,3)}`:``}${i??`Z`}`}(a)),t.hasAttribute(`done`)&&(r.done=o.t(t.getAttribute(`done`)));let s=function(e){let t,n=e.childNodes;for(let e=0;e<n.length;e++){let r=n.item(e);if(r.nodeType!==1||r.localName!==`mentions`)continue;let i=r.childNodes;for(let e=0;e<i.length;e++){let n=i.item(e);if(n.nodeType!==1||n.localName!==`mention`)continue;let r=n.getAttribute(`mentionId`),a=n.getAttribute(`mentionpersonId`);if(!r||!a)continue;let s={id:o.c(r),personId:o.c(a)},c=parseInt(n.getAttribute(`startIndex`)??``,10);isNaN(c)||(s.startIndex=c);let l=parseInt(n.getAttribute(`length`)??``,10);isNaN(l)||(s.length=l),(t??=[]).push(s)}}return t}(t);return s&&(r.mentions=s),n.push({r:i,v:r}),r}},Ne=class{visit(e,t,n){let r=[],i=t.childNodes,a=i.length;for(let t=0;t<a;t++){let n=i.item(t);if(n.nodeType===1&&n.localName===`person`){let t={};e.copyFromAttribute(n,`id`,t,`id`,o.c),e.copyFromAttribute(n,`displayName`,t),e.copyFromAttribute(n,`userId`,t,`userId`,o.c),e.copyFromAttribute(n,`providerId`,t),r.push(t)}}return r.length>0&&(n.persons=r),r}},Pe=class{constructor(e,t){this.path=e,this.visitor=t}};exports.DOMTransformer=class{constructor(){this.visitorsByXmlTagName=new Map,this.scopedVisitorsByXmlTagName=new Map,this.visitorParamsState=null,this.registerVisitor(`Relationships`,new re),this.registerVisitor(`cp:coreProperties`,new ie),this.registerVisitor(`Properties`,new L),this.registerVisitor(`spPr`,new B),this.registerVisitor(`txBody`,new J),this.registerVisitor(`txPr`,new J),this.registerVisitor(`c:chartSpace`,new R),this.registerVisitor(`c:plotArea`,new z),this.registerVisitor(`c:barChart`,new V),this.registerVisitor(`c:doughnutChart`,new H),this.registerVisitor(`c:lineChart`,new H),this.registerVisitor(`c:ofPieType`,new H),this.registerVisitor(`c:pieChart`,new H),this.registerVisitor(`c:scatterChart`,new H),this.registerVisitor(`c:barChart`,new U(`dataLabels`),`dLbls`),this.registerVisitor(`c:doughnutChart`,new U(`dataLabels`),`dLbls`),this.registerVisitor(`c:lineChart`,new U(`dataLabels`),`dLbls`),this.registerVisitor(`c:ofPieType`,new U(`dataLabels`),`dLbls`),this.registerVisitor(`c:pieChart`,new U(`dataLabels`),`dLbls`),this.registerVisitor(`c:scatterChart`,new U(`dataLabels`),`dLbls`),this.registerVisitor(`c:ser`,new W),this.registerVisitor(`c:dPt`,new G),this.registerVisitor(`c:marker`,new K),this.registerVisitor(`c:catAx`,new q),this.registerVisitor(`c:valAx`,new q),this.registerVisitor(`c:dateAx`,new q),this.registerVisitor(`c:majorGridlines`,new S(`gridLinesMajor`)),this.registerVisitor(`c:minorGridlines`,new S(`gridLinesMinor`)),this.registerVisitor(`c:chartSpace`,null,`txPr`),this.registerVisitor(`c:catAx`,new J(`labels.text`),`txPr`),this.registerVisitor(`c:valAx`,new J(`labels.text`),`txPr`),this.registerVisitor(`c:dateAx`,new J(`labels.text`),`txPr`),this.registerVisitor(`c:legend`,new ae),this.registerVisitor(`c:legend`,new J(`labels.text`),`txPr`),this.registerVisitor(`c:legendEntry`,new Y),this.registerVisitor(`c:ser`,new oe,`extLst/ext/invertSolidFillFmt/spPr`),this.registerVisitor(`c:ser`,new U(`labels`),`dLbls`),this.registerVisitor(`c:dLbl`,new U(`points`)),this.registerVisitor(`c:title`,new X),this.registerVisitor(`c:title`,null,`tx/rich`),this.registerVisitor(`c:title`,null,`txPr`),this.registerVisitor(`c:layout`,new se),this.registerVisitor(`c:dispUnits`,new S(`dispUnits`)),this.registerVisitor(`c:dispUnitsLbl`,new X(`displayUnitsLabel`)),this.registerVisitor(`c:dispUnitsLbl`,new J,`tx/rich`),this.registerVisitor(`a:theme`,new ce),this.registerVisitor(`a:theme`,new le,`themeElements/clrScheme`),this.registerVisitor(`a:theme`,new ue,`themeElements/fontScheme`),this.registerVisitor(`a:theme`,new de,`themeElements/fmtScheme`),this.registerVisitor(`autoFilter`,new pe),this.registerVisitor(`sortState`,new me),this.registerVisitor(`s:workbook`,new he),this.registerVisitor(`styleSheet`,new Z),this.registerVisitor(`x14:table`,new _e),this.registerVisitor(`table`,new ge),this.registerVisitor(`externalLink`,new ve),this.registerVisitor(`hlinkClick`,new fe),this.registerVisitor(`wsDr`,new xe),this.registerVisitor(`twoCellAnchor`,new Q),this.registerVisitor(`oneCellAnchor`,new Q),this.registerVisitor(`absoluteAnchor`,new Q),this.registerVisitor(`graphicFrame`,new Se),this.registerVisitor(`sp`,new Ce),this.registerVisitor(`grpSp`,new Te),this.registerVisitor(`cxnSp`,new Ee),this.registerVisitor(`pic`,new we),this.registerVisitor(`metadata`,new De),this.registerVisitor(`rvStructures`,new $),this.registerVisitor(`rvData`,new Oe),this.registerVisitor(`comments`,new ke),this.registerVisitor(`comment`,new Ae),this.registerVisitor(`ThreadedComments`,new je),this.registerVisitor(`threadedComment`,new Me),this.registerVisitor(`threadedComment`,new J(`content`),`text`),this.registerVisitor(`personList`,new Ne),this.registerVisitor(`slicerCacheDefinition`,new ye),this.registerVisitor(`slicers`,new be)}registerVisitor(e,t,n=null){e.indexOf(`:`)===-1&&(e=`*:`+e);let r=e.split(`:`),i=r.length>1?r[1]:r[0];if(!n)return this.visitorsByXmlTagName.set(i,t),void this.visitorsByXmlTagName.set(e,t);let a=this.scopedVisitorsByXmlTagName.get(i);a||(a=[],this.scopedVisitorsByXmlTagName.set(i,a),this.scopedVisitorsByXmlTagName.set(e,a)),a.push(new Pe(n,t))}parseDxf(t,n=``,r=e.I.EmptyObject){this.visitorParamsState||=new Map;let i=this.visitorParamsState,a=i.get(`processingDXFs`);i.set(`processingDXFs`,!0);try{let e=new f(null,this,`/dxf`,t,{},n,r),i={};return new Z().processDXF(e,t,i),i}finally{a===void 0?i.delete(`processingDXFs`):i.set(`processingDXFs`,a)}}getVisitorParamsState(){return this.visitorParamsState}transform(t,n,r=e.I.EmptyObject){let i=t.documentElement;this.visitorParamsState&&!r?.paramMap||(this.visitorParamsState=r?.paramMap??new Map);let a={},o=this.visitorsByXmlTagName.get(i.nodeName);if(o||=this.visitorsByXmlTagName.get(i.localName),!o)throw Error(`A visitor for the root element: '${i.nodeName}' or '${i.localName}' must be registered.`);let s=`/`+i.localName,c=new f(null,this,s,i,a,n,r),l=[];this._doWalk(o,c,l,i,a,n,r);let u=l.length;for(let e=0;e<u;e++){let t=l[e];try{t.visitor?.afterVisit?.(t.context,t.elemParent,t.jsonParent)}catch(e){t.context.warn(`Unable to finish reading '${t.context.getPath()}': ${e?.message??e}`,{onceKey:`xlsx.transform.afterVisit`})}}return a}_walkScoped(e,t,n,r,i,a,o){let s=this.scopedVisitorsByXmlTagName.get(e),c=s?s.length:0;for(let l=0;l<c;l++){let c=s[l],u=null;try{u=t.evaluate(c.path,r)}catch{t.warn(`Invalid path '${c.path}' for '${e}'.`,{onceKey:`xlsx.transform.invalidPath`})}if(!u)continue;let d=e=>{let s=e.localName,l=e.parentNode;for(;l&&l!==r;)s=l.localName+`/`+s,l=l.parentNode;let u=t.getPath()+`/`+s;if(c.visitor){let r=new f(t,this,u,t.getElemRoot(),t.getJsonRoot(),a,o);this._doWalk(c.visitor,r,n,e,i,a,o)}};if(u.length>0){let e=u,t=e.length;for(let n=0;n<t;n++)d(e.item(n))}else d(u)}}_doWalk(e,t,n,r,i,a,o){let s=null;e&&(n.push({visitor:e,context:t,elemParent:r,jsonParent:i}),s=e.visit(t,r,i)),s||=i;let c=r.localName;this._walkScoped(c,t,n,r,s,a,o);let l=this.visitorsByXmlTagName,u=t.getElemRoot(),d=t.getJsonRoot(),p=r.childNodes,m=p.length;for(let e=0;e<m;e++){let r=p.item(e);if(r.nodeType!==1)continue;let c=r,m=c.nodeName,h=l.get(m);h||=(m=c.localName,l.get(m));let g=t.getPath()+`/`+m,_=new f(t,this,g,u,d,a,o);this._doWalk(h,_,n,c,s??i,a,o)}return s}},exports.ExecutionContext=f,exports.NumberUtils=o.o,exports.VisitorUtils=p;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./Ytzw6iUYx5f19wfK.cjs"),n=require("./BnXCqfKX491kQrtl.cjs"),r=require("./B1yQqy3iSI5uZPt3.cjs"),i=require("./BPWKnUtyoTrtW567.cjs"),a=require("./
|
|
1
|
+
const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./Ytzw6iUYx5f19wfK.cjs"),n=require("./BnXCqfKX491kQrtl.cjs"),r=require("./B1yQqy3iSI5uZPt3.cjs"),i=require("./BPWKnUtyoTrtW567.cjs"),a=require("./BCaRwsX64XTvboxS.cjs"),o=require("./ImnRKBYtNpv7bEa7.cjs"),s=require("./BmdFT-Ie0SY8YqFf.cjs"),c=require("./DKdgEj89ChMWaDQz.cjs"),l=require("./D3gV1sduXTeibviI.cjs"),u=require("./Bzd1x5C01LQtiSb0.cjs"),d=require("./BbXbe-bwCJLD279F.cjs");var f=e.r(t.i(),1),p=e.r(t.r(),1),m={width:`64px`,flex:`0 0 auto`},h={flex:`1 1 0`,minWidth:`120px`},g={flex:`1 1 0`,minWidth:`140px`},_={width:`34px`,flex:`0 0 auto`,display:`flex`,justifyContent:`center`},v={minWidth:`112px`,flex:`0 0 auto`,display:`flex`,alignItems:`center`,justifyContent:`flex-end`},y={color:e=>e.palette.text.secondary,fontWeight:500,paddingLeft:`14px`},b={display:`flex`,alignItems:`center`,gap:e=>e.spacing(1),padding:e=>e.spacing(.75,1),border:e=>`1px solid ${e.palette.divider}`,borderRadius:e=>e.spacing(1.25)},x=e=>{let t=e,n=``;for(;t>=0;)n=String.fromCharCode(65+t%26)+n,t=Math.floor(t/26)-1;return n},S=0,C=()=>`level-`+S++,w=e=>e?.sensitivity===a.$.CaseSensitiveOptions.sensitivity,T=(0,f.memo)(e=>{let{initialValue:t,context:o,onInput:S,onDone:T,...D}=e,O=r.Tt(),k=(0,f.useRef)(o?.()),A=k.current?.range,j=k.current?.cell,[M,N]=(0,f.useState)(()=>({...a.$.DefaultRangeOptions,...t})),[P,F]=(0,f.useState)(()=>{let e=t?.sorts??[],n=[];for(let t=0;t<e.length;t++)n.push({key:C(),index:e[t].index??t,criteria:{...e[t].criteria}});return n.length===0&&n.push({key:C(),index:0,criteria:{}}),n}),I=M.axis??i.l.Axis.Row,L=I===i.l.Axis.Row,R=(0,f.useRef)(null),z=(0,f.useRef)(!1);d.t(R,!0,z);let B=(0,f.useMemo)(()=>{let e=[],t=[],n=A?.getDefaultSortCriteria(I,j);if(!n)return{labels:e,offsets:t};let r=A.getSheet(),i=n.coords,a=r.getRange(i).getUsedRange({features:[]})?.getCoords();if(!a)return{labels:e,offsets:t};let o=L?i.colStart:i.rowStart,s=L?a.colEnd:a.rowEnd,c=L?r.getRange(i).getColumnHeaders():r.getRange(i).getRowHeaders(),l=!!M.includeHidden,u=e=>{if(!l&&c.at(e-o).isHidden())return!1;let t=L?{colStart:e,colEnd:e,rowStart:i.rowStart,rowEnd:a.rowEnd}:{rowStart:e,rowEnd:e,colStart:i.colStart,colEnd:a.colEnd};return!!r.getRange(t).forEach(()=>({break:!0}),{features:[]})},d=o+(n.options.sorts?.[0]?.index??0),f=[],p=Math.min(d,s),m=p+1,h=!0;for(;f.length<500;){let e=p>=o,t=m<=s;if(!e&&!t)break;!e||!h&&t?(u(m)&&(f.push(m),h=!0),m++):(u(p)&&(f.push(p),h=!1),p--)}f.sort((e,t)=>e-t);for(let r=0;r<f.length;r++){let a=f[r]-o,s=M.hasHeader?n.headers?.get(a):void 0;t.push(a),e.push(s||(L?O(`sort.columnLabel`,{name:x(i.colStart+a)}):O(`sort.rowLabel`,{name:`${i.rowStart+a+1}`})))}return{labels:e,offsets:t}},[A,j,I,L,M.hasHeader,M.includeHidden,O]),V=r.X(e=>{let t=B.offsets.indexOf(e);return t===-1?L?O(`sort.columnLabel`,{name:x(e)}):O(`sort.rowLabel`,{name:`${e+1}`}):B.labels[t]},[B,L,O]),H=(0,f.useMemo)(()=>{let e=B.offsets.length;if(e>0&&P.length>e)return O(`sort.tooManyLevels`,{count:`${e}`});let t=new Set;for(let e=0;e<P.length;e++){if(t.has(P[e].index))return O(`sort.duplicateField`,{name:V(P[e].index)});t.add(P[e].index)}return null},[P,B,V,O]),U=r.X((e,t)=>{F(n=>n.map(n=>n.key===e?{...n,...t}:n))},[]),W=r.X((e,t,n)=>{n&&(z.current=!0),F(n=>{if(t<0||t>=n.length)return n;let r=[...n];return r.splice(t,0,...r.splice(e,1)),r})},[]),G=r.X(e=>{let n;if(e===`Sort`){let e=P.map(e=>{let t={...e.criteria};return delete t.collatorOptions,{index:e.index,criteria:t}});n={...t,...M,reverse:P[0]?.criteria.reverse??M.reverse,sorts:e}}S?.(n),T?.(n)},[P,M,T,S,t]),K=(0,f.useMemo)(()=>P.map(e=>e.key),[P]);return(0,p.jsx)(s.v,{title:O(`sort.title`),options:[{id:`Sort`,label:()=>O(`sort.action`),disabled:()=>H!==null},`Cancel`],onDone:G,...D,children:(0,p.jsxs)(r.t,{sx:{display:`flex`,flexDirection:`column`,gap:e=>e.spacing(1.5),minWidth:`560px`},children:[(0,p.jsxs)(r.t,{sx:{display:`flex`,flexDirection:`column`},children:[(0,p.jsx)(r.t,{sx:{padding:e=>e.spacing(0,.5)},children:(0,p.jsxs)(r.t,{sx:{...b,borderColor:`transparent`,paddingTop:0,paddingBottom:0},children:[(0,p.jsx)(r.t,{sx:m}),(0,p.jsx)(s.N,{variant:`body2`,sx:{...h,...y},children:O(L?`sort.column`:`sort.row`)}),(0,p.jsx)(s.N,{variant:`body2`,sx:{...g,...y},children:O(`sort.sortOn`)}),(0,p.jsx)(s.N,{variant:`body2`,sx:{..._,...y,paddingLeft:0},children:O(`sort.order`)}),(0,p.jsx)(r.t,{sx:v})]})}),(0,p.jsxs)(r.t,{ref:R,sx:{display:`flex`,flexDirection:`column`,gap:e=>e.spacing(.75),padding:e=>e.spacing(.5),maxHeight:`320px`,overflowY:`auto`},children:[(0,p.jsx)(d.r,{ids:K,scrollRef:R,onMove:(e,t)=>W(e,t,!0),children:P.map((e,t)=>(0,p.jsx)(d.n,{id:e.key,disabled:P.length<=1,children:(0,p.jsx)(E,{level:e,position:t,count:P.length,fields:B,labelForField:V,isRowSort:L,onChange:U,onMoveBy:e=>W(t,t+e,!1),onDuplicate:()=>{F(n=>{let r=[...n];return r.splice(t+1,0,{...e,key:C(),criteria:{...e.criteria}}),r})},onDelete:()=>F(t=>t.filter(t=>t.key!==e.key))})},e.key))}),(0,p.jsxs)(r.t,{sx:{...b,borderColor:`transparent`,flex:`0 0 auto`,paddingTop:0,paddingBottom:0},children:[(0,p.jsx)(s.N,{variant:`body2`,sx:{...m,color:e=>e.palette.text.secondary},children:O(`sort.thenBy`)}),(0,p.jsx)(s.f,{disableInteractive:!0,title:O(`sort.addLevel`),children:(0,p.jsx)(s.F,{size:`small`,className:`sxl-sort-addLevel`,"aria-label":O(`sort.addLevel`),onClick:()=>{F(e=>{let t=new Set(e.map(e=>e.index)),n=B.offsets.find(e=>!t.has(e));return[...e,{key:C(),index:n??0,criteria:{}}]})},children:(0,p.jsx)(n.r,{iconKey:`Insert`})})})]})]})]}),H===null?null:(0,p.jsx)(s.N,{variant:`body2`,className:`sxl-sort-refusal`,sx:{color:e=>e.palette.error.main},children:H}),(0,p.jsxs)(r.t,{sx:{display:`flex`,flexWrap:`wrap`,alignItems:`center`,columnGap:e=>e.spacing(2),rowGap:e=>e.spacing(1.5),borderTop:e=>`1px solid ${e.palette.divider}`,paddingTop:e=>e.spacing(1)},children:[(0,p.jsx)(l.t,{control:(0,p.jsx)(l.n,{size:`small`,checked:!!M.hasHeader,onChange:()=>N(e=>({...e,hasHeader:!e.hasHeader}))}),label:O(`sort.hasHeader`)}),(0,p.jsx)(l.t,{control:(0,p.jsx)(l.n,{size:`small`,checked:w(M.collatorOptions),onChange:()=>N(e=>({...e,collatorOptions:w(e.collatorOptions)?a.$.CaseInsensitiveOptions:a.$.CaseSensitiveOptions}))}),label:O(`sort.caseSensitive`)}),(0,p.jsx)(l.t,{control:(0,p.jsx)(l.n,{size:`small`,checked:!!M.includeHidden,onChange:()=>N(e=>({...e,includeHidden:!e.includeHidden}))}),label:O(`sort.includeHidden`)}),(0,p.jsxs)(c.v,{size:`small`,sx:{minWidth:`180px`},children:[(0,p.jsx)(c.h,{id:`sxl-sort-orientation-label`,children:O(`sort.orientation`)}),(0,p.jsxs)(c.t,{size:`small`,className:`sxl-sort-orientation`,labelId:`sxl-sort-orientation-label`,label:O(`sort.orientation`),value:I,onChange:e=>{let t=e.target.value;N(e=>({...e,axis:t}))},children:[(0,p.jsx)(u.t,{value:i.l.Axis.Row,children:O(`sort.orientationTopToBottom`)}),(0,p.jsx)(u.t,{value:i.l.Axis.Column,children:O(`sort.orientationLeftToRight`)})]})]})]})]})})}),E=(0,f.memo)(e=>{let{level:t,position:i,count:a,fields:l,labelForField:d,isRowSort:y,onChange:x,onMoveBy:S,onDuplicate:C,onDelete:w}=e,T=r.Tt(),E=t.criteria.sortOn??o.d.SortOn.Value,D=!!t.criteria.reverse,O=(0,f.useMemo)(()=>{let e=l.offsets.map((e,t)=>({offset:e,label:l.labels[t]}));return l.offsets.includes(t.index)||e.push({offset:t.index,label:d(t.index)}),e},[l,t.index,d]),k=(e,t,r,i,a)=>(0,p.jsx)(s.f,{disableInteractive:!0,title:e,children:(0,p.jsx)(`div`,{children:(0,p.jsx)(s.F,{size:`small`,className:`sxl-sort-${t}`,"aria-label":e,disabled:i,sx:{padding:`2px`},onClick:a,children:(0,p.jsx)(n.r,{style:{transform:`scale(0.85)`},iconKey:r})})})});return(0,p.jsxs)(r.t,{sx:{...b,"&:hover, &:focus-within":{boxShadow:1,"& .sxl-sort-level-actions":{opacity:1,pointerEvents:`auto`}}},children:[(0,p.jsx)(s.N,{variant:`body2`,sx:m,children:T(i===0?`sort.sortBy`:`sort.thenBy`)}),(0,p.jsx)(c.t,{size:`small`,className:`sxl-sort-field`,value:t.index,sx:h,"aria-label":T(y?`sort.column`:`sort.row`),onChange:e=>x(t.key,{index:Number(e.target.value)}),children:O.map(e=>(0,p.jsx)(u.t,{value:e.offset,children:e.label},e.offset))}),(0,p.jsxs)(c.t,{size:`small`,className:`sxl-sort-on`,value:E,sx:g,"aria-label":T(`sort.sortOn`),onChange:e=>{x(t.key,{criteria:{...t.criteria,sortOn:e.target.value}})},children:[(0,p.jsx)(u.t,{value:o.d.SortOn.Value,children:T(`sort.sortOnValue`)}),(0,p.jsxs)(u.t,{value:o.d.SortOn.FillColor,disabled:!0,children:[T(`sort.sortOnFillColor`),(0,p.jsx)(s.N,{variant:`caption`,sx:{marginLeft:1,opacity:.7},children:T(`sort.notSupported`)})]}),(0,p.jsxs)(u.t,{value:o.d.SortOn.FontColor,disabled:!0,children:[T(`sort.sortOnFontColor`),(0,p.jsx)(s.N,{variant:`caption`,sx:{marginLeft:1,opacity:.7},children:T(`sort.notSupported`)})]}),(0,p.jsxs)(u.t,{value:o.d.SortOn.Icon,disabled:!0,children:[T(`sort.sortOnIcon`),(0,p.jsx)(s.N,{variant:`caption`,sx:{marginLeft:1,opacity:.7},children:T(`sort.notSupported`)})]})]}),(0,p.jsx)(r.t,{sx:_,children:(0,p.jsx)(s.f,{disableInteractive:!0,title:T(D?`sort.descending`:`sort.ascending`),children:(0,p.jsx)(s.F,{size:`small`,className:`sxl-sort-order`,"aria-label":T(D?`sort.descending`:`sort.ascending`),onClick:()=>x(t.key,{criteria:{...t.criteria,reverse:!D}}),children:(0,p.jsx)(n.r,{iconKey:D?`SortDecrease`:`SortIncrease`})})})}),(0,p.jsxs)(r.t,{className:`sxl-sort-level-actions`,sx:{...v,opacity:0,pointerEvents:`none`,transition:`opacity 0.2s ease`},children:[a>1&&k(T(`sort.moveUp`),`moveUp`,`CardMoveUp`,i===0,()=>S(-1)),a>1&&k(T(`sort.moveDown`),`moveDown`,`CardMoveDown`,i===a-1,()=>S(1)),k(T(`sort.copyLevel`),`copyLevel`,`CardDuplicate`,!1,C),k(T(`sort.deleteLevel`),`deleteLevel`,`Delete`,a<=1,w)]})]})});E.displayName=`SortLevelCard`,exports.SortDialog=T,exports.default=T;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require("./BvG8N7G_8CXIAlT-.cjs"),exports.loadCompiledModule=async function(e,t){let n=e;return t?.sourceMap&&(n+=`\n//# sourceMappingURL=${t.sourceMap}`),Function(`url`,`return import(url)`)(`data:text/javascript,${encodeURIComponent(n)}`)};
|