@sheetxl/studio-vanilla 0.7.28-beta.1 → 0.7.28-beta.2

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.
Files changed (296) hide show
  1. package/browser/cjs/{DzFomdBHjGaNmf9k.cjs → 0udzrkQg8Nf9nRbI.cjs} +1 -1
  2. package/browser/cjs/{CEKe4OJVmivE8S6J2.cjs → 3xD-77z5V9IlNXjn2.cjs} +1 -1
  3. package/browser/cjs/{BmKOnx8nv-NTlFiI.cjs → B37bgauMls6bQwyP.cjs} +1 -1
  4. package/browser/cjs/{CAEF_wXnxI6o5BkS.cjs → BFDhFIqPaIRivcO3.cjs} +1 -1
  5. package/browser/cjs/{BJcTL0FyQfZaEmdT2.cjs → BH_9BSdzWI3sYvEo2.cjs} +1 -1
  6. package/browser/cjs/{nE4y6hua6AwWSil72.cjs → BREMLtxkQhtNSVra.cjs} +1 -1
  7. package/browser/cjs/{ByYBv7ERPfiCLOep.cjs → BeYzZkmTef6nGcoR.cjs} +2 -2
  8. package/browser/cjs/{Dbl2A7TmMPREP_KG.cjs → Bf2M1sdVR89d3yxg.cjs} +1 -1
  9. package/browser/cjs/{DPhkr2uj1ztiCS7Y.cjs → BqJIWrtud1IdCny_.cjs} +1 -1
  10. package/browser/cjs/{D60W9LgbU6Bi_PzU.cjs → BtuU_zhIvl9orhXJ2.cjs} +1 -1
  11. package/browser/cjs/{DUtS5ZvrQ_7EIazD2.cjs → C1nECuaXDUkYlVQY2.cjs} +1 -1
  12. package/browser/cjs/{BW48QUIyFJAiIyBv.cjs → CBXWKzJggj62dtpP.cjs} +1 -1
  13. package/browser/cjs/{DBIR20dXG4vtH3Kj.cjs → CFSMFEE8YXmRYGPL.cjs} +1 -1
  14. package/browser/cjs/{yy-Vk4KWt1Zu2vkd.cjs → CFnnvEHNOFcAUaHE.cjs} +1 -1
  15. package/browser/cjs/{Bizh6EM71ecxo_oY.cjs → CUCXS7BrMsSnSXVr.cjs} +1 -1
  16. package/browser/cjs/{DfgKbLE2Zvp8mcF7.cjs → CVvPoEKURol1Aftd.cjs} +1 -1
  17. package/browser/cjs/{DF0hku8nbQSV3M-j2.cjs → Ca4DwcXOTqVuUOVq2.cjs} +1 -1
  18. package/browser/cjs/{CK2JeifKkJzOm0o92.cjs → CcLfDX6uHge33mwb2.cjs} +1 -1
  19. package/browser/cjs/{DW8_bnb11oQKDj662.cjs → Cdi9twdv4KfAl5I72.cjs} +2 -2
  20. package/browser/cjs/{C6_0FaW_bjOw24La.cjs → Crk724Yv2awixZFL.cjs} +4 -4
  21. package/browser/cjs/{BvRcbY1-Wkb5Sx-4.cjs → DE8xPZdgqnIs7vdp.cjs} +8 -8
  22. package/browser/cjs/{T7_onhE6Jrpob9tI2.cjs → DMNRMppC1tGKEiCa2.cjs} +1 -1
  23. package/browser/cjs/{BSh3rXFX2OUJtD5l.cjs → Di-65J92p03pfERi.cjs} +2 -2
  24. package/browser/cjs/{CraVh3dIK_NDeAvS.cjs → LObFxO4TDyRQ2l05.cjs} +2 -2
  25. package/browser/cjs/{7qAC9w7dw4oS0-F3.cjs → VRIZX6-JADRk2Iao.cjs} +1 -1
  26. package/browser/cjs/{9jOdey6595kpc4f_2.cjs → X5Grge615whs1q_I2.cjs} +1 -1
  27. package/browser/cjs/{Dmi2hSyQu_Js-GEu.cjs → Y37Q7YjNKfaPg9qC.cjs} +1 -1
  28. package/browser/cjs/dJ3N_yPCcdiUsFNY.cjs +3 -0
  29. package/browser/cjs/index.cjs +1 -1
  30. package/browser/cjs/{DfkGb1hUnmE0XFjK.cjs → jQhVJbABYXmAnYFf.cjs} +1 -1
  31. package/browser/cjs/{DqDDTZZVqW3IbjXy.cjs → jgba8pT4LamzxlS8.cjs} +1 -1
  32. package/browser/cjs/{CIPn136n4B06G4iH.cjs → pb5LnC0Ye1NBoRvg.cjs} +1 -1
  33. package/browser/esm/{gByeADNOXJBuXzPx.mjs → 0HCb-Mkw8Otpj9B6.mjs} +11 -11
  34. package/browser/esm/{CNqvhcQrG2-81fOD.mjs → 39GslBYZKZUJpjcX.mjs} +1 -1
  35. package/browser/esm/{qatUNqy1unWjxJRn.mjs → 9LhOHxxuP2jO-YDv.mjs} +10 -10
  36. package/{cdn/assets/CqHkXhh2PbxRyYjJ.js → browser/esm/9XJnug1pfQreKXZr2.mjs} +1 -1
  37. package/browser/esm/{BEvXGI5EzVSXLxga.mjs → AS-KiFBez1nwB_vC.mjs} +5 -5
  38. package/browser/esm/{CBNL1frWoMOsUu_T2.mjs → B-cVGeAqeE1MJbcg2.mjs} +9 -9
  39. package/browser/esm/{DUqRWxlJFr43EfUh2.mjs → B27wXIrrKNvUzMGE.mjs} +1 -1
  40. package/browser/esm/{DKSKOqX0lMeM6AqD.mjs → B2pyobtSQ_9fn__o.mjs} +197 -197
  41. package/browser/esm/{A1VpPEggRj4IfGDD.mjs → B3N4rAHBBKghSNf-.mjs} +706 -706
  42. package/{cdn/assets/7-3GSszGuM6fKYQX.js → browser/esm/B609gZLpNve9hsr-2.mjs} +1 -1
  43. package/browser/esm/{DehYydhsh3tj9AnM2.mjs → B6mzT3jt8PsKgBWH2.mjs} +46 -46
  44. package/{cdn/assets/D1a8t7B7xKy_wr9i.js → browser/esm/B9epCKVFFaq_fX4j.mjs} +1 -1
  45. package/browser/esm/{eJXoOdaV3zHUV2do.mjs → B9yaWiEn9khUlCmT.mjs} +5 -5
  46. package/{cdn/assets/CvRpuDeuhP-pmiUv2.js → browser/esm/BCcFKm-VY0gZ0TzZ.mjs} +1 -1
  47. package/browser/esm/{lgDQkp3FOzQOe0LY.mjs → BDJXGdb3hQGrna00.mjs} +480 -481
  48. package/browser/esm/{DDQ55nRejL3ziHCe2.mjs → BFIwPtz-TW4VvaZR.mjs} +1 -1
  49. package/{cdn/assets/D2f2lwn364O9E4vh2.js → browser/esm/BHdUUWliTWsGcyUW.mjs} +2 -2
  50. package/{cdn/assets/Dd6FJoDWApFB2CCi.js → browser/esm/BIklj1nwWIcZCmKp2.mjs} +1 -1
  51. package/browser/esm/{KFUePxyJYgymI0S1.mjs → BJahzXLdJMKJrGJ8.mjs} +1 -1
  52. package/browser/esm/{aq4qmGuAhtzPqF-6.mjs → BJhMeXHgj2izJPad.mjs} +7 -7
  53. package/browser/esm/{DonDOr6JcdNxotw-.mjs → BJkZVLqBoBngX2V-2.mjs} +1 -1
  54. package/browser/esm/{CNqsb1dCdP38edL_.mjs → BKY2gKXOB637hih-.mjs} +6 -6
  55. package/browser/esm/{C6l5aRmgsP8d19lu.mjs → BVGcECvfrJsTA5kD.mjs} +2 -2
  56. package/browser/esm/{DKI0PCE8wcuvwtKy2.mjs → BVLamiPGpKQKiyPW2.mjs} +13 -13
  57. package/browser/esm/{BvJNXsx20jqbrG3K2.mjs → BVRLpEysZKAgHCqC.mjs} +1 -1
  58. package/browser/esm/{DYhc53MZjX6LHNsG.mjs → BXOm0hdx068QsENe.mjs} +3 -3
  59. package/{cdn/assets/1Inmee-wv-0FPFfs2.js → browser/esm/BXzrl80_N9hn_346.mjs} +1 -1
  60. package/browser/esm/{V7W9wEgRnVm5FcO92.mjs → BZ6ssyp3xvgxb4Ux2.mjs} +11 -11
  61. package/browser/esm/{DpBY9n_Yx6svVSLX.mjs → BZDhc9cFdvb2DZp52.mjs} +12 -12
  62. package/{cdn/assets/Dy8wseROvsKI36oO.js → browser/esm/Ba0_2fGhHSS7kV2l2.mjs} +1 -1
  63. package/browser/esm/{DMcrCWg1n2i_h8d-.mjs → BfkghIcy-zOKLz4c.mjs} +2 -2
  64. package/browser/esm/{Chxj04DLMGbqyjr22.mjs → BfmngO7uzIcK9Lux2.mjs} +5 -5
  65. package/browser/esm/{COYX5UfgqbqvXL532.mjs → Bi2jbQd8mecebnRM2.mjs} +4 -4
  66. package/{cdn/assets/BQMwLQz7v1tKKNjw.js → browser/esm/BkgfJjCizaRuC_N52.mjs} +1 -1
  67. package/browser/esm/{CVuIEusZ_eVLJx48.mjs → BmNqTvvRVjF_c1qz.mjs} +3 -3
  68. package/browser/esm/{_XwhJFKYQwxornq8.mjs → BnFl2afy78teEcaD.mjs} +4 -4
  69. package/browser/esm/{COyyediFP8-Jte0d.mjs → Bp1kaqNxSV0Hskwb.mjs} +7 -7
  70. package/browser/esm/{BT5ZFPRdhl589SPM.mjs → BrmKrgxwVxzOs8v9.mjs} +2 -2
  71. package/browser/esm/{C7esccqlKiSdYnvL2.mjs → BsGIsDAUk9bSNC2-2.mjs} +1 -1
  72. package/browser/esm/{BhnhFOdBLUIQ-spn.mjs → Btdn9KXWaFikV2VI.mjs} +3 -3
  73. package/browser/esm/{Ct164XKB4haoxV99.mjs → BwYNDge9HsfAlKEk.mjs} +5 -5
  74. package/browser/esm/{CBNIXGGRiR3NBppk.mjs → C0Cbiq1ZKs0s-oUn.mjs} +2 -2
  75. package/browser/esm/{Cvv50xExjeFnfiNy.mjs → C5wklWg-nVHGfhda.mjs} +6 -6
  76. package/browser/esm/{BPefT37WNgwR2ugY.mjs → C8KBkOocNYDNWBDu.mjs} +2 -2
  77. package/browser/esm/{BukYUcUVuCJLUCTU.mjs → CCH2N2D6f4m3sxHV.mjs} +131 -131
  78. package/browser/esm/{hBx61KP4CdznZp-N2.mjs → CDVkQjbphikzy5cP2.mjs} +1 -1
  79. package/browser/esm/{C6JzMmLaess-T_-r.mjs → CH-EdTSDEYE7IaBC.mjs} +180 -180
  80. package/browser/esm/{pRwq1uOrNbhmZ0mM2.mjs → CMBLrQ2K32IKaZHu.mjs} +2 -2
  81. package/{cdn/assets/BVHJ8ud9-agkHUcd.js → browser/esm/COZ775SOX8hXz68T2.mjs} +1 -1
  82. package/{cdn/assets/KwAARJU7IGYWDuYf.js → browser/esm/COgR28nGHeL59WLY.mjs} +1 -1
  83. package/browser/esm/{1KR1J6vxDpw_yLbU2.mjs → CQhIZf112hMPFsjD2.mjs} +1 -1
  84. package/browser/esm/{Cdgq7c9nPgcoTg8v.mjs → CTZpbsb07-ieZ8Sv.mjs} +1 -1
  85. package/{cdn/assets/DkLusJh15CZ_-XSG.js → browser/esm/CTdaEmBnApCaYU--.mjs} +1 -1
  86. package/browser/esm/{sckQOed44XHUgmEM.mjs → CTpri2fSv5dZbUwJ.mjs} +246 -246
  87. package/browser/esm/{Bk6d2dZzmAPEN5-k2.mjs → CTsLj1vEfSqm_tm42.mjs} +1 -1
  88. package/browser/esm/{B86Q74Vxyg1crDy4.mjs → CVtQ8m0S6nnXk7XH.mjs} +6 -6
  89. package/browser/esm/{ESGNq4ULp2pm2AAl2.mjs → CZDNrQuttGG8SW_a2.mjs} +7 -7
  90. package/browser/esm/{6Q0Zeea07mEpzLeJ2.mjs → CZVi5-MceLzKtZCX2.mjs} +1 -1
  91. package/browser/esm/{k0J0jqbt6JQcSNRf.mjs → CbGZtQlImYkXEGhI.mjs} +6 -6
  92. package/{cdn/assets/BFWULyy65RLrorZ7.js → browser/esm/Ccj-Gq_hyRtb93R-.mjs} +1 -1
  93. package/browser/esm/{DFoGNYjZCQlfoclz.mjs → CkRTvOlXWFrTaFLB.mjs} +4 -4
  94. package/{cdn/assets/DhYuSZrGEgUmal-k2.js → browser/esm/Cl5KKGUmrf4e7lB32.mjs} +1 -1
  95. package/{cdn/assets/Sz8Cy_HaoUpTYt0h.js → browser/esm/ClIlIFc_63tI2r9S2.mjs} +1 -1
  96. package/browser/esm/{BH8YLTY6BUcMBwtX.mjs → CpD0Rq1ei0UW4wvV.mjs} +1 -1
  97. package/browser/esm/{CxM2lbNqq--4xN8h.mjs → CshVZ7dBZzXK1qdP.mjs} +5 -5
  98. package/browser/esm/{DjR_YrztipUHz-Pb.mjs → CtCW25b0E8FaH1jL.mjs} +3 -3
  99. package/browser/esm/{DhXISrCGYlstWBHR2.mjs → CtPuA7JjziKZTOy4.mjs} +1 -1
  100. package/browser/esm/{Ba0-kvrjrj0hGe1K2.mjs → CukE7coIERV0PmeU2.mjs} +6 -6
  101. package/{cdn/assets/DSV2cLpO0S6ZhgXx.js → browser/esm/CwRqY3jy0pkU72Ty2.mjs} +1 -1
  102. package/{cdn/assets/BCNx4EnDw46A38bE.js → browser/esm/CySaHP1TkAtt7IqW.mjs} +2 -2
  103. package/browser/esm/{BJ6H2o3H404XGe252.mjs → D-YuVmmS-kKcV9xr.mjs} +1 -1
  104. package/browser/esm/{CfQJnZ2htSmYPsF3.mjs → D0OOkDRea_6_jbt2.mjs} +1 -1
  105. package/browser/esm/{3aV4jURdjixaD7Td.mjs → D2fjpIsYf8xbJ3qt2.mjs} +1 -1
  106. package/browser/esm/{LPgfxd0W2GLAgBzu.mjs → D8iYbJIpITf1DL9N.mjs} +3 -3
  107. package/browser/esm/{CLFhHEElqfJHtm21.mjs → DBVG6J7cidK5K5QE.mjs} +6 -6
  108. package/browser/esm/{DXWY-hAdW5OyWrwd.mjs → DCILZE5X4dLAM7Qa.mjs} +161 -161
  109. package/browser/esm/{C4LCzL4eMbnmxScR.mjs → DD_-Q_s0aq0ehCRj.mjs} +2 -2
  110. package/browser/esm/{CVoRtI07Syww8cUA.mjs → DJl3zpaAG7xtX-vB.mjs} +13 -13
  111. package/browser/esm/{snzQyFpbHKBoouMl2.mjs → DJoktru8Ln1idAEk2.mjs} +7 -7
  112. package/browser/esm/{BT809Dj7TlZHoSyZ2.mjs → DL-6XEhXlHkvgtF_2.mjs} +1 -1
  113. package/browser/esm/{DOQiJP4o3Yv2roFN.mjs → DMXx0lIMiLsQgbVK.mjs} +5 -5
  114. package/browser/esm/{C5r3DKfkpQkm-_LU2.mjs → DRU8HlvNdJ-IdDad2.mjs} +8 -8
  115. package/{cdn/assets/CQ-1iT2BBp1-8btC.js → browser/esm/DUVV-c3N8XuG8lyr2.mjs} +1 -1
  116. package/{cdn/assets/D1On-UnlXgc4TMJi2.js → browser/esm/DYhGe1HslNmi3MWF.mjs} +1 -1
  117. package/browser/esm/{CueJgED9ejHaXzfs2.mjs → DafUQqzTsegjuTX92.mjs} +7 -7
  118. package/browser/esm/{aMyBfKW2geFo8ZLl.mjs → DavD7unX6vAvDq49.mjs} +1 -1
  119. package/browser/esm/{BgK2h0kYTNVq8lHv.mjs → DbmQdZUcujE_ICGk.mjs} +3 -3
  120. package/{cdn/assets/BlABxqvzU3ccpiI22.js → browser/esm/DcTAnKNgB4UiSyH-2.mjs} +1 -1
  121. package/{cdn/assets/DX4LgT_oDH8L8ynK.js → browser/esm/DeY3vEbV4T2WgYP22.mjs} +1 -1
  122. package/browser/esm/{B181HHVOosiCdcW9.mjs → DnS-xX8jkMERhPbF.mjs} +8 -8
  123. package/{cdn/assets/BUqPCIYNlP_6pm4M.js → browser/esm/Dnk-x1RHZ-HCYKGy2.mjs} +1 -1
  124. package/browser/esm/{oQtJFGKyYOTaSkZn.mjs → DpjPEgS5W70lK0GU.mjs} +12 -12
  125. package/browser/esm/{CSfpN1f335foeZWr.mjs → DqJYCOxMI0h7olt5.mjs} +1 -1
  126. package/browser/esm/{CdS03qdFlfnGS4GS2.mjs → Dr0aqIJxcsRdzQox2.mjs} +7 -7
  127. package/browser/esm/{DgGD0naBo-36VC2J.mjs → Ds-v1MKCCCRK5y__2.mjs} +1 -1
  128. package/browser/esm/{Db1UHrYoIsMVbE28.mjs → DvFh-0k-PvKrKwkt.mjs} +5 -5
  129. package/browser/esm/{BGQ__v6SnaHlNG-Q.mjs → DwGeIZ6nCjk9UiXk2.mjs} +1 -1
  130. package/{cdn/assets/CONqbv4wIi-kv-2L.js → browser/esm/DyDgU8THo8GBGQ4M.mjs} +1 -1
  131. package/browser/esm/{BH4J1ujX7bAH0qMe.mjs → DzujlnEzr0M92mNz.mjs} +1 -1
  132. package/browser/esm/{C2HOJ1mltRzbTUl62.mjs → EHwbgKRgADVAwQbs2.mjs} +11 -11
  133. package/browser/esm/{Cf3oUL1hNajeyVed2.mjs → GjOmlUOFqz90L-9x2.mjs} +8 -8
  134. package/browser/esm/{CssrS9cKuhz46r6y.mjs → GzFeH6oCN6eWnXbX.mjs} +4 -4
  135. package/{cdn/assets/whPiKYlX_LjBPzcR.js → browser/esm/HA0CYoHHAU5VgVW5.mjs} +1 -1
  136. package/browser/esm/{Yp8HnZ2LZWDER3Db.mjs → IPVHjbNIjyMsOxUR.mjs} +1 -1
  137. package/{cdn/assets/BQTeVQNim2463X6I2.js → browser/esm/MIcNDPtZ2tOqEJLi.mjs} +1 -1
  138. package/browser/esm/{EmSNRoqlc2C8WKZI2.mjs → TJB9Rw8_wY-D-aKa2.mjs} +1 -1
  139. package/browser/esm/{-T6bQcEJ9HLY7UHV.mjs → Wy-cTg0gDeXuKv0a2.mjs} +1 -1
  140. package/{cdn/assets/Co-Q8GHNdftJgZAY.js → browser/esm/Z4L_LGr5jeXjCPo6.mjs} +1 -1
  141. package/browser/esm/{BrtMkOA8Tryg59WN.mjs → ZFZ3X4ek1OFa4xKm.mjs} +3 -3
  142. package/browser/esm/{DIaucc8UrX6oVZGM.mjs → ejd62mg_zHpVGhbH.mjs} +7 -7
  143. package/{cdn/assets/CNUTA9WVNU3KeDzf2.js → browser/esm/gd127f9DAewQX3YF.mjs} +2 -2
  144. package/browser/esm/index.mjs +4 -4
  145. package/browser/esm/{FxykwtLK380Ynhjh.mjs → ioECgEEk-HCEo_qL.mjs} +1 -1
  146. package/browser/esm/{dzdZI0rQ6gtonL0G2.mjs → me8l7609yOrUhpBU2.mjs} +1 -1
  147. package/browser/esm/{BYzW6nCCA9mf7lE02.mjs → qxXoiVui214rfZng2.mjs} +15 -15
  148. package/{cdn/assets/BgAJsJ2qMSFQT33B.js → browser/esm/tEoFD7IKo7vDcL80.mjs} +206 -206
  149. package/browser/esm/{BhydwJ4RldNTRaas.mjs → uwB2_ERsYGldq4on2.mjs} +1 -1
  150. package/browser/esm/{CVvr_1-LCX19jk4e.mjs → ytk4-EolaWr77_nC.mjs} +2 -2
  151. package/browser/esm/{CHbhZ3r3ql2BYXDc2.mjs → zsqoPH22vSCRd7nP2.mjs} +1 -1
  152. package/cdn/assets/{CNqvhcQrG2-81fOD.js → 39GslBYZKZUJpjcX.js} +1 -1
  153. package/{browser/esm/B3_8_CGA-MEUvzHP.mjs → cdn/assets/7R7r4iHAxN8rnOmW2.js} +2 -2
  154. package/{browser/esm/CqHkXhh2PbxRyYjJ2.mjs → cdn/assets/9XJnug1pfQreKXZr.js} +1 -1
  155. package/cdn/assets/{BK7l8_lemkR1wuwy.js → B0iMXJrxCR1TmwMa2.js} +8 -8
  156. package/cdn/assets/{o5R9zv1BlAEkrwCo2.js → B102zq0Z2de_ly2m.js} +197 -197
  157. package/cdn/assets/{DUqRWxlJFr43EfUh.js → B27wXIrrKNvUzMGE2.js} +1 -1
  158. package/{browser/esm/7-3GSszGuM6fKYQX2.mjs → cdn/assets/B609gZLpNve9hsr-.js} +1 -1
  159. package/cdn/assets/{D_rEOwaZCyZlVVgW.js → B9HUtdLQ29C5hAM2.js} +2 -2
  160. package/{browser/esm/D1a8t7B7xKy_wr9i2.mjs → cdn/assets/B9epCKVFFaq_fX4j.js} +1 -1
  161. package/{browser/esm/CvRpuDeuhP-pmiUv.mjs → cdn/assets/BCcFKm-VY0gZ0TzZ.js} +1 -1
  162. package/cdn/assets/{DDQ55nRejL3ziHCe.js → BFIwPtz-TW4VvaZR2.js} +1 -1
  163. package/{browser/esm/Dd6FJoDWApFB2CCi2.mjs → cdn/assets/BIklj1nwWIcZCmKp.js} +1 -1
  164. package/cdn/assets/{KFUePxyJYgymI0S12.js → BJahzXLdJMKJrGJ82.js} +1 -1
  165. package/cdn/assets/{DonDOr6JcdNxotw-2.js → BJkZVLqBoBngX2V-.js} +1 -1
  166. package/cdn/assets/{DBYkGTlfV1b47Hy6.js → BO2RVHzXl9yxZmKM.js} +3 -3
  167. package/cdn/assets/{CDZEsA19vbvMOvWY.js → BOSnQONqTqkqjHEU.js} +6 -6
  168. package/cdn/assets/{2EKKj_VAMBjNhQyV.js → BQvxcrhV7qxXjTHq.js} +2 -2
  169. package/cdn/assets/{BvJNXsx20jqbrG3K.js → BVRLpEysZKAgHCqC.js} +1 -1
  170. package/cdn/assets/{DSwGGo-dqmuSJU4c2.js → BXRMXZjJExEHTMfL2.js} +11 -11
  171. package/{browser/esm/1Inmee-wv-0FPFfs.mjs → cdn/assets/BXzrl80_N9hn_3462.js} +1 -1
  172. package/{browser/esm/Dy8wseROvsKI36oO2.mjs → cdn/assets/Ba0_2fGhHSS7kV2l.js} +1 -1
  173. package/{browser/esm/BQMwLQz7v1tKKNjw2.mjs → cdn/assets/BkgfJjCizaRuC_N5.js} +1 -1
  174. package/cdn/assets/{HdeBTuGyZOTOnlxd.js → Boe-L-sc0zC0Cw5N.js} +3 -3
  175. package/cdn/assets/{C7esccqlKiSdYnvL.js → BsGIsDAUk9bSNC2-.js} +1 -1
  176. package/cdn/assets/{BsxzxAPB4jEzEk-H2.js → BvONQrMoKCUSnkqN.js} +10 -10
  177. package/cdn/assets/{C_4w0ioMakQrO0i0.js → BwJlIoU5gbBMo6Q5.js} +3 -3
  178. package/cdn/assets/{DydlbsZLg69j6R5g2.js → BwbtHh-oXpG5mLZu2.js} +4 -4
  179. package/cdn/assets/{BtlAVeuTyW0FoJO42.js → ByJlomQcLV_4oZGw2.js} +4 -4
  180. package/cdn/assets/{B0LfV8NixGPYcBo92.js → C5yCm-TSfx74xL002.js} +8 -8
  181. package/cdn/assets/{BRus7kfM7SjEN70e2.js → C6v7rU3plIdoUWre2.js} +8 -8
  182. package/cdn/assets/{CW8lbman_jNmJl5d2.js → C8cUmy4K0YRcXOBu2.js} +9 -9
  183. package/cdn/assets/{hBx61KP4CdznZp-N.js → CDVkQjbphikzy5cP.js} +1 -1
  184. package/cdn/assets/{C8V4AJb4DdsmksEn2.js → CKGUrocJnCQ7uGt72.js} +480 -481
  185. package/cdn/assets/{pRwq1uOrNbhmZ0mM.js → CMBLrQ2K32IKaZHu.js} +2 -2
  186. package/{browser/esm/BVHJ8ud9-agkHUcd2.mjs → cdn/assets/COZ775SOX8hXz68T.js} +1 -1
  187. package/{browser/esm/KwAARJU7IGYWDuYf.mjs → cdn/assets/COgR28nGHeL59WLY.js} +1 -1
  188. package/cdn/assets/{Dz_GMq1kFESpvRRw2.js → COnOkTReK4TBuBx52.js} +12 -12
  189. package/cdn/assets/{1KR1J6vxDpw_yLbU.js → CQhIZf112hMPFsjD.js} +1 -1
  190. package/cdn/assets/{Cdgq7c9nPgcoTg8v.js → CTZpbsb07-ieZ8Sv.js} +1 -1
  191. package/{browser/esm/DkLusJh15CZ_-XSG2.mjs → cdn/assets/CTdaEmBnApCaYU--2.js} +1 -1
  192. package/cdn/assets/{Bk6d2dZzmAPEN5-k.js → CTsLj1vEfSqm_tm4.js} +1 -1
  193. package/{browser/esm/Bm8bttobs_RXO3av.mjs → cdn/assets/CTzZ6Xzw63GKixmU2.js} +206 -206
  194. package/cdn/assets/{B_bAdpPn5j1VFdEp.js → CVuIbopxUvt0-2rL.js} +7 -7
  195. package/cdn/assets/{CwfmCx2Ke4_FHoNA2.js → CWdwxTP6ZBP_KJE42.js} +7 -7
  196. package/cdn/assets/{DM7EYwNo9Xadex4L.js → CXULuRUQ4TAsm84q.js} +2 -2
  197. package/cdn/assets/{6Q0Zeea07mEpzLeJ.js → CZVi5-MceLzKtZCX.js} +1 -1
  198. package/cdn/assets/{BlZs6OBbHaWLHdyw2.js → CbWjq5gAF4Empxh12.js} +14 -14
  199. package/{browser/esm/BFWULyy65RLrorZ7.mjs → cdn/assets/Ccj-Gq_hyRtb93R-.js} +1 -1
  200. package/cdn/assets/{B17NIGOPfL-7fbgM.js → Cge4sxB_4OwAQwod.js} +3 -3
  201. package/cdn/assets/{B2bOeapx8xiCLxqL.js → CiIadd7oAsvq2iR9.js} +7 -7
  202. package/cdn/assets/{BvkiXQcXBMKUOItw.js → CkqsTJkl1cuZl14R.js} +6 -6
  203. package/cdn/assets/{BqujNTf--SuDncdC.js → Cl2Y6toZDsktHGlZ.js} +1705 -1704
  204. package/{browser/esm/DhYuSZrGEgUmal-k.mjs → cdn/assets/Cl5KKGUmrf4e7lB3.js} +1 -1
  205. package/{browser/esm/Sz8Cy_HaoUpTYt0h2.mjs → cdn/assets/ClIlIFc_63tI2r9S.js} +1 -1
  206. package/cdn/assets/{BH4J1ujX7bAH0qMe2.js → CpD0Rq1ei0UW4wvV2.js} +1 -1
  207. package/cdn/assets/{FR8EiuZjHCo_J-S2.js → CqFZWOO-31j7rHdf.js} +6 -6
  208. package/cdn/assets/{DhXISrCGYlstWBHR.js → CtPuA7JjziKZTOy42.js} +1 -1
  209. package/cdn/assets/{DFDuIPMXHvVuEUbr.js → CurA0H2pTTmFWY4N.js} +2 -2
  210. package/cdn/assets/{68Hv9gRdAVje7VBa2.js → CvC5oy9uXPzktYaz2.js} +3 -3
  211. package/{browser/esm/DSV2cLpO0S6ZhgXx2.mjs → cdn/assets/CwRqY3jy0pkU72Ty.js} +1 -1
  212. package/cdn/assets/{DI64FmdWeq_LEKJc2.js → CyhnDYQf3_cdp52w2.js} +98 -98
  213. package/cdn/assets/{CbLEZjCqlIOy_N9_2.js → CzQUeHmA3XvLXm-s2.js} +7 -7
  214. package/cdn/assets/{BJ6H2o3H404XGe25.js → D-YuVmmS-kKcV9xr2.js} +1 -1
  215. package/cdn/assets/D0OOkDRea_6_jbt2.js +24 -0
  216. package/cdn/assets/D0OOkDRea_6_jbt22.js +24 -0
  217. package/cdn/assets/{3aV4jURdjixaD7Td.js → D2fjpIsYf8xbJ3qt.js} +1 -1
  218. package/cdn/assets/{Bvm882bTb1-lNGnV.js → D4e9Z6yAYtli_UZy.js} +12 -12
  219. package/{browser/esm/DAaOeIPOo0FIBMxD.mjs → cdn/assets/D5F6MTHIhDIafUlO.js} +2 -2
  220. package/cdn/assets/{BT809Dj7TlZHoSyZ.js → DL-6XEhXlHkvgtF_.js} +1 -1
  221. package/cdn/assets/{DvjL9HtpbeTQiPsP.js → DMBv9-cZDNgrEPnj.js} +13 -13
  222. package/{browser/esm/CQ-1iT2BBp1-8btC2.mjs → cdn/assets/DUVV-c3N8XuG8lyr.js} +1 -1
  223. package/cdn/assets/{BiDbxIo_Dg-LwZSG.js → DWX7iaXMf0PrhOuh.js} +3 -3
  224. package/cdn/assets/{DM43PoUsN4Z2MKGv.js → DXnM0BURZgjm8R2W.js} +8 -8
  225. package/{browser/esm/D1On-UnlXgc4TMJi.mjs → cdn/assets/DYhGe1HslNmi3MWF2.js} +1 -1
  226. package/cdn/assets/{BcE0tCVATqH2DBXy.js → DZn5mtzClpE29qV5.js} +2 -2
  227. package/cdn/assets/{By3qfCkjrY1zpWuS.js → D_olfPNNH0l8JrFu.js} +197 -197
  228. package/cdn/assets/{D1zjNJZna0d4gavs2.js → DacWhkcqwjK3VnAA2.js} +16 -16
  229. package/cdn/assets/{aMyBfKW2geFo8ZLl2.js → DavD7unX6vAvDq492.js} +1 -1
  230. package/{browser/esm/BlABxqvzU3ccpiI22.mjs → cdn/assets/DcTAnKNgB4UiSyH-2.js} +1 -1
  231. package/cdn/assets/{Bh6yJtlVASN4H0732.js → Dctsk-QW8KKUje0b2.js} +13 -13
  232. package/{browser/esm/DX4LgT_oDH8L8ynK.mjs → cdn/assets/DeY3vEbV4T2WgYP2.js} +1 -1
  233. package/cdn/assets/{BGYLyOTa6Y58vnCV.js → DfzSY0wpTYYTWIY2.js} +8 -8
  234. package/cdn/assets/{0p987xGFUx0c99X0.js → Dm-vUbnccwQ63uHt.js} +4 -4
  235. package/{browser/esm/BUqPCIYNlP_6pm4M.mjs → cdn/assets/Dnk-x1RHZ-HCYKGy.js} +1 -1
  236. package/cdn/assets/{BrX2wKaY8H8My2Oe2.js → Dp_KsQdcEefYydgO2.js} +240 -240
  237. package/cdn/assets/{CSfpN1f335foeZWr2.js → DqJYCOxMI0h7olt52.js} +1 -1
  238. package/cdn/assets/{DgGD0naBo-36VC2J2.js → Ds-v1MKCCCRK5y__.js} +1 -1
  239. package/cdn/assets/{BWZ0ZtidQ4G3pcKO.js → DtFr2Mm_KqU6PZfY.js} +8 -8
  240. package/cdn/assets/{MkMSXY8qQyay8SYA.js → Dungsxp8KcjLsV23.js} +7 -7
  241. package/cdn/assets/{BGQ__v6SnaHlNG-Q2.js → DwGeIZ6nCjk9UiXk.js} +1 -1
  242. package/cdn/assets/{CvzRrID9YjfTwDuS2.js → Dwplym5bjb2VhwM82.js} +3 -3
  243. package/{browser/esm/CONqbv4wIi-kv-2L.mjs → cdn/assets/DyDgU8THo8GBGQ4M.js} +1 -1
  244. package/cdn/assets/{CLNQrXyj4goOCX7I2.js → DzRXZ_mhd60oh-A52.js} +9 -9
  245. package/cdn/assets/{DnPzMeDwU1jIwV-F2.js → Dzxg4kLxKyMklPNe2.js} +3 -3
  246. package/{browser/esm/whPiKYlX_LjBPzcR2.mjs → cdn/assets/HA0CYoHHAU5VgVW5.js} +1 -1
  247. package/cdn/assets/{DixF46mCuD3POuzl2.js → HfJJBylzZ4Z4VNp82.js} +6 -6
  248. package/cdn/assets/{Yp8HnZ2LZWDER3Db.js → IPVHjbNIjyMsOxUR2.js} +1 -1
  249. package/{browser/esm/BQTeVQNim2463X6I.mjs → cdn/assets/MIcNDPtZ2tOqEJLi.js} +1 -1
  250. package/cdn/assets/{385X3fXUstHKtEEF2.js → SHgLeVOmAOO6qQOR2.js} +7 -7
  251. package/cdn/assets/{DMjYAxfgXGEkymiO.js → TGZuqw2NN_OSIJO0.js} +2 -2
  252. package/cdn/assets/{EmSNRoqlc2C8WKZI.js → TJB9Rw8_wY-D-aKa.js} +1 -1
  253. package/cdn/assets/{CkASBS4AqNOy0df52.js → TikP0KAVISVw72_42.js} +161 -161
  254. package/cdn/assets/{Be9keF2r4uCzJZJx2.js → WMPhjIQfI4mQp3Bg.js} +8 -8
  255. package/cdn/assets/{-T6bQcEJ9HLY7UHV.js → Wy-cTg0gDeXuKv0a.js} +1 -1
  256. package/{browser/esm/Co-Q8GHNdftJgZAY2.mjs → cdn/assets/Z4L_LGr5jeXjCPo62.js} +1 -1
  257. package/cdn/assets/{D8NtGU-FHZgnbC0i.js → _fGcdybbKg6_ekOp.js} +2 -2
  258. package/cdn/assets/{CDEkMCYntkMJxwBi2.js → bY52psG3lmpa706j2.js} +3 -3
  259. package/cdn/assets/{BdfjaNIltJNsXLvf2.js → dL4ou82v-pjouw0s2.js} +12 -12
  260. package/cdn/assets/{FxykwtLK380Ynhjh2.js → ioECgEEk-HCEo_qL2.js} +1 -1
  261. package/cdn/assets/{D76lWYCrAdSMKvm_2.js → kaSysgj5TE-xQXsG2.js} +5 -5
  262. package/cdn/assets/{BJ95rY1UBb83xuD52.js → ko_gqiF0zCGAHO1l2.js} +9 -9
  263. package/cdn/assets/{dzdZI0rQ6gtonL0G.js → me8l7609yOrUhpBU.js} +1 -1
  264. package/cdn/assets/{CKYDcG1HSXTvQl6K2.js → nBpkSj6rxz09lHp42.js} +7 -7
  265. package/cdn/assets/{Dd_TEe3cUSRc5o_s.js → nzKpfea1MNkFBMak.js} +7 -7
  266. package/cdn/assets/{n4um87qBckL9pgR9.js → olHQykNiRoLYpdJB.js} +5 -5
  267. package/{browser/esm/DHfiSgLq1g6VAhWI.mjs → cdn/assets/q1AmoBDraQE-T8im2.js} +2 -2
  268. package/cdn/assets/{BD5W4MjL2vYljVhR.js → r4hni7MWaP9SUvzC.js} +7 -7
  269. package/cdn/assets/{Bh64Y2xehO25OC_t.js → s_afm7GAx-6Ktr_x.js} +4228 -4228
  270. package/cdn/assets/{BhydwJ4RldNTRaas.js → uwB2_ERsYGldq4on.js} +1 -1
  271. package/cdn/assets/{ChszL_ibfMtBV0z3.js → w9gI9mzOHGtRSOFe.js} +2 -2
  272. package/cdn/assets/{Ay1mO-24lauwvlWS2.js → xH_Bg7r0fryoCvSl2.js} +12 -12
  273. package/cdn/assets/{CHbhZ3r3ql2BYXDc.js → zsqoPH22vSCRd7nP.js} +1 -1
  274. package/cdn/index.js +2 -2
  275. package/package.json +3 -3
  276. package/browser/cjs/Brqufbzvg4y0YTM0.cjs +0 -3
  277. package/cdn/assets/BH8YLTY6BUcMBwtX.js +0 -24
  278. package/cdn/assets/BH8YLTY6BUcMBwtX2.js +0 -24
  279. /package/browser/cjs/{507hQYooKKjnRzsZ.cjs → 507hQYooKKjnRzsZ2.cjs} +0 -0
  280. /package/browser/cjs/{BK0SCfN_VZYqBxoQ.cjs → BK0SCfN_VZYqBxoQ2.cjs} +0 -0
  281. /package/browser/cjs/{BWDfauDHqB6U_2ka2.cjs → BWDfauDHqB6U_2ka.cjs} +0 -0
  282. /package/browser/cjs/{C2uDl8VIJqh58YF_2.cjs → C2uDl8VIJqh58YF_.cjs} +0 -0
  283. /package/browser/cjs/{C9C-pr-T_ThweQX92.cjs → C9C-pr-T_ThweQX9.cjs} +0 -0
  284. /package/browser/cjs/{CnZfa45XxA-9Jhmp.cjs → CnZfa45XxA-9Jhmp2.cjs} +0 -0
  285. /package/browser/cjs/{CpJJh4UnFl1_qFui.cjs → CpJJh4UnFl1_qFui2.cjs} +0 -0
  286. /package/browser/cjs/{CrZlUtdX1h2RUnCP.cjs → CrZlUtdX1h2RUnCP2.cjs} +0 -0
  287. /package/browser/cjs/{D8-KovdJ0LjxqCe2.cjs → D8-KovdJ0LjxqCe22.cjs} +0 -0
  288. /package/browser/cjs/{DCIlWcGDrp-5PDoA2.cjs → DCIlWcGDrp-5PDoA.cjs} +0 -0
  289. /package/browser/cjs/{DDnGLOLTqLFsdUDS2.cjs → DDnGLOLTqLFsdUDS.cjs} +0 -0
  290. /package/browser/cjs/{DG2kqsWRUtVugjay2.cjs → DG2kqsWRUtVugjay.cjs} +0 -0
  291. /package/browser/cjs/{EeOVMRq7TuptFKTc.cjs → EeOVMRq7TuptFKTc2.cjs} +0 -0
  292. /package/browser/cjs/{aONv0Ys3C8xmnaR82.cjs → aONv0Ys3C8xmnaR8.cjs} +0 -0
  293. /package/browser/cjs/{bM25C5avKgBAJVfk.cjs → bM25C5avKgBAJVfk2.cjs} +0 -0
  294. /package/browser/cjs/{fqTQ_p3ehzUvc1tF.cjs → fqTQ_p3ehzUvc1tF2.cjs} +0 -0
  295. /package/browser/cjs/{h3dw1jAp2J5Pu4p32.cjs → h3dw1jAp2J5Pu4p3.cjs} +0 -0
  296. /package/browser/cjs/{z_rZE1OHFPpdGBh42.cjs → z_rZE1OHFPpdGBh4.cjs} +0 -0
@@ -1 +1 @@
1
- const e=require("./BnccBYHCCq9TGFx4.cjs"),t=require("./DDPxHIqx8aIbqTRE.cjs"),n=require("./C6_0FaW_bjOw24La.cjs"),r=require("./Brqufbzvg4y0YTM0.cjs"),i=require("./CHMgm0vAbEBS1mVW.cjs"),a=require("./DPhkr2uj1ztiCS7Y.cjs"),o=require("./ByYBv7ERPfiCLOep.cjs");var s=new Uint8Array,c=class e{constructor(e,t,n){this.buffers=new Map,this.zip=e,this.entries=t,this.rawBuffer=n}static normalize(e){return e.startsWith(`/`)?e.slice(1):e}static async create(t){let n=t instanceof Blob?s:t instanceof Uint8Array?t:new Uint8Array(t),r=new o.L(t instanceof Blob?new o.u(t):new o.c(n)),i=new Map;for(let e of await r.getEntries())e.directory||i.set(e.filename,e);return new e(r,i,n)}getNames(){return[...this.entries.keys()]}has(t){return this.entries.has(e.normalize(t))}uncompressedSize(t){return this.entries.get(e.normalize(t))?.uncompressedSize??0}async getBuffer(t){let n=e.normalize(t),r=this.buffers.get(n);if(r)return r;let i=this.entries.get(n);if(!i)return null;let a=await i.getData(new o.m);return this.buffers.set(n,a),a}async prefetch(e){let t=[];for(let[n,r]of this.entries)!this.buffers.has(n)&&e(n,r)&&t.push(r.getData(new o.m).then(e=>{this.buffers.set(n,e)}));await Promise.all(t)}getEntry(t){return this.buffers.get(e.normalize(t))??null}async getTextStream(t,n){let r=this.entries.get(e.normalize(t));if(!r)return null;let i=new TransformStream;r.getData(i.writable).catch(()=>{});let a=i.readable.getReader(),o=new TextDecoder(`utf-8`);return new ReadableStream({async pull(e){let{value:t,done:r}=await a.read();if(r){let t=o.decode();t&&e.enqueue(t),e.close();return}n?.(t.byteLength);let i=o.decode(t,{stream:!0});i&&e.enqueue(i)}}).getReader()}getRawEntry(t){let n=this.entries.get(e.normalize(t));if(!n||n.encrypted)return null;let r=n.offset;if(r+30>this.rawBuffer.byteLength)return null;let i=new DataView(this.rawBuffer.buffer,this.rawBuffer.byteOffset+r,30);if(i.getUint32(0,!0)!==67324752)return null;let a=r+30+i.getUint16(26,!0)+i.getUint16(28,!0),o=a+n.compressedSize;return o>this.rawBuffer.byteLength?null:{data:this.rawBuffer.subarray(a,o),compressionMethod:n.compressionMethod,signature:n.signature}}async close(){await this.zip.close()}},l=class{constructor(e){this._sink=e,this._samples=[],this._t0=u(),this._tPrev=this._t0,this._heapPrev=d()}mark(e){let t=u(),n=d(),r={label:e,tMs:t-this._t0,dtMs:t-this._tPrev,heapBytes:n,dHeapBytes:n!==void 0&&this._heapPrev!==void 0?n-this._heapPrev:void 0,rssBytes:f()};this._tPrev=t,this._heapPrev=n,this._samples.push(r),this._sink?.(r)}samples(){return this._samples}toTable(){return this._samples.map(e=>({phase:e.label,tMs:Math.round(e.tMs),dtMs:Math.round(e.dtMs),heapMB:e.heapBytes===void 0?`—`:p(e.heapBytes/1048576),dHeapMB:e.dHeapBytes===void 0?`—`:p(e.dHeapBytes/1048576),rssMB:e.rssBytes===void 0?`—`:p(e.rssBytes/1048576)}))}},u=typeof performance==`object`&&typeof performance.now==`function`?()=>performance.now():()=>Date.now();function d(){let e=typeof performance==`object`?performance.memory:void 0;if(e&&typeof e.usedJSHeapSize==`number`)return e.usedJSHeapSize;let t=globalThis.process;return typeof t==`object`&&typeof t.memoryUsage==`function`?t.memoryUsage().heapUsed:void 0}function f(){let e=globalThis.process;if(typeof e==`object`&&typeof e.memoryUsage==`function`)return e.memoryUsage().rss}function p(e){return Math.round(10*e)/10}var m=`:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿`,h=`-${m}.0-9·̀-ͯ‿-⁀`,g=(RegExp(`^[${m}]$`,`u`),RegExp(`^[${h}]$`,`u`),RegExp(`^[${m}][${h}]*$`,`u`)),_=(RegExp(`^[${h}]+$`,`u`),[32,10,13,9]);function v(e){return e>=65&&e<=90||e>=97&&e<=122||e===58||e===95||e===8204||e===8205||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}var y=`:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿`,b=`-${y}.0-9·̀-ͯ‿-⁀`;RegExp(`^[${y}]$`,`u`),RegExp(`^[${b}]$`,`u`),RegExp(`^[${y}][${b}]*$`,`u`),RegExp(`^[${b}]+$`,`u`);var x=`A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿`,ee=`-${x}.0-9·̀-ͯ‿-⁀`,S=(RegExp(`^[${x}]$`,`u`),RegExp(`^[${ee}]$`,`u`),RegExp(`^[${x}][${ee}]*$`,`u`));function te(e){return e>=65&&e<=90||e===95||e>=97&&e<=122||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}var C,w,T=function(e){return e===32||e===10||e===13||e===9},E=function(e){return e>=32&&e<=55295||e===10||e===13||e===9||e>=57344&&e<=65533||e>=65536&&e<=1114111},D=v,O=function(e){return v(e)||e>=48&&e<=57||e===45||e===46||e===183||e>=768&&e<=879||e>=8255&&e<=8256},k=_,A=g,j=function(e){return e>=1&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111},M=te,N=function(e){return te(e)||e===45||e===46||e>=48&&e<=57||e===183||e>=768&&e<=879||e>=8255&&e<=8256},P=S,F=`http://www.w3.org/XML/1998/namespace`,I=`http://www.w3.org/2000/xmlns/`,ne={__proto__:null,xml:F,xmlns:I},L={__proto__:null,amp:`&`,gt:`>`,lt:`<`,quot:`"`,apos:`'`},R=-1,z=-2,B=13,V=33,H=10,U=60,W=61,G=62,K=63,re=93,ie=e=>e===34||e===39,ae=[34,39],oe=[...ae,91,G],se=[...ae,U,re],q=[W,K,...k],J=[...k,G,38,U];function ce(e,t,n){switch(t){case`xml`:n!==F&&e.fail(`xml prefix must be bound to ${F}.`);break;case`xmlns`:n!==I&&e.fail(`xmlns prefix must be bound to ${I}.`)}switch(n){case I:e.fail(t===``?`the default namespace may not be set to ${n}.`:`may not assign a prefix (even "xmlns") to the URI ${I}.`);break;case F:switch(t){case`xml`:break;case``:e.fail(`the default namespace may not be set to ${n}.`);break;default:e.fail(`may not assign the xml namespace to another prefix.`)}}}var le=e=>P.test(e),ue=e=>A.test(e),de={xmldecl:`xmlDeclHandler`,text:`textHandler`,processinginstruction:`piHandler`,doctype:`doctypeHandler`,comment:`commentHandler`,opentagstart:`openTagStartHandler`,attribute:`attributeHandler`,opentag:`openTagHandler`,closetag:`closeTagHandler`,cdata:`cdataHandler`,error:`errorHandler`,end:`endHandler`,ready:`readyHandler`},Y=class{get closed(){return this._closed}constructor(e){this.i=0,this.prevI=0,this.opt=e??{},this.fragmentOpt=!!this.opt.fragment;let t=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=!1!==this.opt.position,this.fileName=this.opt.fileName,t){this.nameStartCheck=M,this.nameCheck=N,this.isName=le,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns={__proto__:null,...ne};let e=this.opt.additionalNamespaces;e!=null&&(function(e,t){for(let n of Object.keys(t))ce(e,n,t[n])}(this,e),Object.assign(this.ns,e))}else this.nameStartCheck=D,this.nameCheck=O,this.isName=ue,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}_init(){this.openWakaBang=``,this.text=``,this.name=``,this.piTarget=``,this.entity=``,this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk=``,this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];let{fragmentOpt:e}=this;this.state=e?B:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=e,this.xmlDeclPossible=!e,this.xmlDeclExpects=[`version`],this.entityReturnState=void 0;let{defaultXMLVersion:t}=this.opt;if(t===void 0){if(!0===this.opt.forceXMLVersion)throw Error(`forceXMLVersion set but defaultXMLVersion is not set`);t=`1.0`}this.setXMLVersion(t),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(L),this.readyHandler?.()}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(e,t){this[de[e]]=t}off(e){this[de[e]]=void 0}makeError(e){let t=this.fileName??``;return this.trackPosition&&(t.length>0&&(t+=`:`),t+=`${this.line}:${this.column}`),t.length>0&&(t+=`: `),Error(t+e)}fail(e){let t=this.makeError(e),n=this.errorHandler;if(n===void 0)throw t;return n(t),this}write(e){if(this.closed)return this.fail(`cannot write after close.`);let t=!1;e===null?(t=!0,e=``):typeof e==`object`&&(e=e.toString()),this.carriedFromPrevious!==void 0&&(e=`${this.carriedFromPrevious}${e}`,this.carriedFromPrevious=void 0);let n=e.length,r=e.charCodeAt(n-1);!t&&(r===13||r>=55296&&r<=56319)&&(this.carriedFromPrevious=e[n-1],n--,e=e.slice(0,n));let{stateTable:i}=this;for(this.chunk=e,this.i=0;this.i<n;)i[this.state].call(this);return this.chunkPosition+=n,t?this.end():this}close(){return this.write(null)}getCode10(){let e=this.chunk,t=this.i;if(this.prevI=t,this.i++,t>=e.length)return R;let n=e.charCodeAt(t);if(this.column++,n<55296){if(n>=32||n===9)return n;switch(n){case H:return this.line++,this.column=0,this.positionAtNewLine=this.position,H;case 13:return e.charCodeAt(t+1)===H&&(this.i=t+2),this.line++,this.column=0,this.positionAtNewLine=this.position,z;default:return this.fail(`disallowed character.`),n}}if(n>56319)return n>=57344&&n<=65533||this.fail(`disallowed character.`),n;let r=65536+1024*(n-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,r>1114111&&this.fail(`disallowed character.`),r}getCode11(){let{chunk:e,i:t}=this;if(this.prevI=t,this.i=t+1,t>=e.length)return R;let n=e.charCodeAt(t);if(this.column++,n<55296){if(n>31&&n<127||n>159&&n!==8232||n===9)return n;switch(n){case H:return this.line++,this.column=0,this.positionAtNewLine=this.position,H;case 13:{let n=e.charCodeAt(t+1);n!==H&&n!==133||(this.i=t+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,z;default:return this.fail(`disallowed character.`),n}}if(n>56319)return n>=57344&&n<=65533||this.fail(`disallowed character.`),n;let r=65536+1024*(n-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,r>1114111&&this.fail(`disallowed character.`),r}getCodeNorm(){let e=this.getCode();return e===z?H:e}unGet(){this.i=this.prevI,this.column--}captureTo(e){let{i:t}=this,{chunk:n}=this;for(;;){let r=this.getCode(),i=r===z,a=i?H:r;if(a===R||e.includes(a))return this.text+=n.slice(t,this.prevI),a;i&&(this.text+=`${n.slice(t,this.prevI)}\n`,t=this.i)}}captureToChar(e){let{i:t}=this,{chunk:n}=this;for(;;){let r=this.getCode();switch(r){case z:this.text+=`${n.slice(t,this.prevI)}\n`,t=this.i,r=H;break;case R:return this.text+=n.slice(t),!1}if(r===e)return this.text+=n.slice(t,this.prevI),!0}}captureNameChars(){let{chunk:e,i:t}=this;for(;;){let n=this.getCode();if(n===R)return this.name+=e.slice(t),R;if(!O(n))return this.name+=e.slice(t,this.prevI),n===z?H:n}}skipSpaces(){for(;;){let e=this.getCodeNorm();if(e===R||!T(e))return e}}setXMLVersion(e){this.currentXMLVersion=e,e===`1.0`?(this.isChar=E,this.getCode=this.getCode10):(this.isChar=j,this.getCode=this.getCode11)}sBegin(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){let e=this.i,t=this.skipSpaces();switch(this.prevI!==e&&(this.xmlDeclPossible=!1),t){case U:if(this.state=15,this.text.length!==0)throw Error(`no-empty text at start`);break;case R:break;default:this.unGet(),this.state=B,this.xmlDeclPossible=!1}}sDoctype(){let e=this.captureTo(oe);switch(e){case G:this.doctypeHandler?.(this.text),this.text=``,this.state=B,this.doctype=!0;break;case R:break;default:this.text+=String.fromCodePoint(e),e===91?this.state=4:ie(e)&&(this.state=3,this.q=e)}}sDoctypeQuote(){let e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.q=null,this.state=2)}sDTD(){let e=this.captureTo(se);e!==R&&(this.text+=String.fromCodePoint(e),e===re?this.state=2:e===U?this.state=6:ie(e)&&(this.state=5,this.q=e))}sDTDQuoted(){let e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.state=4,this.q=null)}sDTDOpenWaka(){let e=this.getCodeNorm();switch(this.text+=String.fromCodePoint(e),e){case 33:this.state=7,this.openWakaBang=``;break;case K:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){let e=String.fromCodePoint(this.getCodeNorm()),t=this.openWakaBang+=e;this.text+=e,t!==`-`&&(this.state=t===`--`?8:4,this.openWakaBang=``)}sDTDComment(){this.captureToChar(45)&&(this.text+=`-`,this.state=9)}sDTDCommentEnding(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),this.state=e===45?10:8}sDTDCommentEnded(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===G?this.state=4:(this.fail(`malformed comment.`),this.state=8)}sDTDPI(){this.captureToChar(K)&&(this.text+=`?`,this.state=12)}sDTDPIEnding(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===G&&(this.state=4)}sText(){this.tags.length===0?this.handleTextOutsideRoot():this.handleTextInRoot()}sEntity(){let{i:e}=this,{chunk:t}=this;t:for(;;)switch(this.getCode()){case z:this.entity+=`${t.slice(e,this.prevI)}\n`,e=this.i;break;case 59:{let n,{entityReturnState:r}=this,i=this.entity+t.slice(e,this.prevI);this.state=r,i===``?(this.fail(`empty entity name.`),n=`&;`):(n=this.parseEntity(i),this.entity=``),r===B&&this.textHandler===void 0||(this.text+=n);break t}case R:this.entity+=t.slice(e);break t}}sOpenWaka(){let e=this.getCode();if(D(e))this.state=34,this.unGet(),this.xmlDeclPossible=!1;else switch(e){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang=``,this.xmlDeclPossible=!1;break;case K:this.state=23;break;default:this.fail(`disallowed character in tag name`),this.state=B,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case`[CDATA[`:this.sawRoot||this.reportedTextBeforeRoot||(this.fail(`text data outside of root node.`),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail(`text data outside of root node.`),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang=``;break;case`--`:this.state=17,this.openWakaBang=``;break;case`DOCTYPE`:this.state=2,(this.doctype||this.sawRoot)&&this.fail(`inappropriately located doctype declaration.`),this.openWakaBang=``;break;default:this.openWakaBang.length>=7&&this.fail(`incorrect syntax.`)}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){let e=this.getCodeNorm();e===45?(this.state=19,this.commentHandler?.(this.text),this.text=``):(this.text+=`-${String.fromCodePoint(e)}`,this.state=17)}sCommentEnded(){let e=this.getCodeNorm();e===G?this.state=B:(this.fail(`malformed comment.`),this.text+=`--${String.fromCodePoint(e)}`,this.state=17)}sCData(){this.captureToChar(re)&&(this.state=21)}sCDataEnding(){let e=this.getCodeNorm();e===re?this.state=22:(this.text+=`]${String.fromCodePoint(e)}`,this.state=20)}sCDataEnding2(){let e=this.getCodeNorm();switch(e){case G:this.cdataHandler?.(this.text),this.text=``,this.state=B;break;case re:this.text+=`]`;break;default:this.text+=`]]${String.fromCodePoint(e)}`,this.state=20}}sPIFirstChar(){let e=this.getCodeNorm();this.nameStartCheck(e)?(this.piTarget+=String.fromCodePoint(e),this.state=24):e===K||T(e)?(this.fail(`processing instruction without a target.`),this.state=e===K?26:25):(this.fail(`disallowed character in processing instruction name.`),this.piTarget+=String.fromCodePoint(e),this.state=24)}sPIRest(){let{chunk:e,i:t}=this;for(;;){let n=this.getCodeNorm();if(n===R)return void(this.piTarget+=e.slice(t));if(!this.nameCheck(n)){this.piTarget+=e.slice(t,this.prevI);let r=n===K;r||T(n)?this.piTarget===`xml`?(this.xmlDeclPossible||this.fail(`an XML declaration must be at the start of the document.`),this.state=r?V:27):this.state=r?26:25:(this.fail(`disallowed character in processing instruction name.`),this.piTarget+=String.fromCodePoint(n));break}}}sPIBody(){if(this.text.length===0){let e=this.getCodeNorm();e===K?this.state=26:T(e)||(this.text=String.fromCodePoint(e))}else this.captureToChar(K)&&(this.state=26)}sPIEnding(){let e=this.getCodeNorm();if(e===G){let{piTarget:e}=this;e.toLowerCase()===`xml`&&this.fail(`the XML declaration must appear at the start of the document.`),this.piHandler?.({target:e,body:this.text}),this.piTarget=this.text=``,this.state=B}else e===K?this.text+=`?`:(this.text+=`?${String.fromCodePoint(e)}`,this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){let e=this.skipSpaces();e===K?this.state=V:e!==R&&(this.state=28,this.name=String.fromCodePoint(e))}sXMLDeclName(){let e=this.captureTo(q);if(e===K)return this.state=V,this.name+=this.text,this.text=``,void this.fail(`XML declaration is incomplete.`);if(T(e)||e===W){if(this.name+=this.text,this.text=``,!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail(`did not expect any more name/value pairs.`);break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(`, `)}`)}this.state=e===W?30:29}}sXMLDeclEq(){let e=this.getCodeNorm();if(e===K)return this.state=V,void this.fail(`XML declaration is incomplete.`);T(e)||(e!==W&&this.fail(`value required.`),this.state=30)}sXMLDeclValueStart(){let e=this.getCodeNorm();if(e===K)return this.state=V,void this.fail(`XML declaration is incomplete.`);T(e)||(ie(e)?this.q=e:(this.fail(`value must be quoted.`),this.q=32),this.state=31)}sXMLDeclValue(){let e=this.captureTo([this.q,K]);if(e===K)return this.state=V,this.text=``,void this.fail(`XML declaration is incomplete.`);if(e===R)return;let t=this.text;switch(this.text=``,this.name){case`version`:{this.xmlDeclExpects=[`encoding`,`standalone`];let e=t;this.xmlDecl.version=e,/^1\.[0-9]+$/.test(e)?this.opt.forceXMLVersion||this.setXMLVersion(e):this.fail(`version number must match /^1\\.[0-9]+$/.`);break}case`encoding`:/^[A-Za-z][A-Za-z0-9._-]*$/.test(t)||this.fail(`encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/.`),this.xmlDeclExpects=[`standalone`],this.xmlDecl.encoding=t;break;case`standalone`:t!==`yes`&&t!==`no`&&this.fail(`standalone value must match "yes" or "no".`),this.xmlDeclExpects=[],this.xmlDecl.standalone=t}this.name=``,this.state=32}sXMLDeclSeparator(){let e=this.getCodeNorm();e===K?this.state=V:(T(e)||(this.fail(`whitespace required.`),this.unGet()),this.state=27)}sXMLDeclEnding(){this.getCodeNorm()===G?(this.piTarget===`xml`?this.name!==`version`&&this.xmlDeclExpects.includes(`version`)&&this.fail(`XML declaration must contain a version.`):this.fail(`processing instructions are not allowed before root.`),this.xmlDeclHandler?.(this.xmlDecl),this.name=``,this.piTarget=this.text=``,this.state=B):this.fail(`The character ? is disallowed anywhere in XML declarations.`),this.xmlDeclPossible=!1}sOpenTag(){let e=this.captureNameChars();if(e===R)return;let t=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name=``,this.xmlnsOpt&&(this.topNS=t.ns=Object.create(null)),this.openTagStartHandler?.(t),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail(`documents may contain only one root.`),e){case G:this.openTag();break;case 47:this.state=35;break;default:T(e)||this.fail(`disallowed character in tag name.`),this.state=36}}sOpenTagSlash(){this.getCode()===G?this.openSelfClosingTag():(this.fail(`forward-slash in opening tag not followed by >.`),this.state=36)}sAttrib(){let e=this.skipSpaces();e!==R&&(D(e)?(this.unGet(),this.state=37):e===G?this.openTag():e===47?this.state=35:this.fail(`disallowed character in attribute name.`))}sAttribName(){let e=this.captureNameChars();e===W?this.state=39:T(e)?this.state=38:e===G?(this.fail(`attribute without value.`),this.pushAttrib(this.name,this.name),this.name=this.text=``,this.openTag()):e!==R&&this.fail(`disallowed character in attribute name.`)}sAttribNameSawWhite(){let e=this.skipSpaces();switch(e){case R:return;case W:this.state=39;break;default:this.fail(`attribute without value.`),this.text=``,this.name=``,e===G?this.openTag():D(e)?(this.unGet(),this.state=37):(this.fail(`disallowed character in attribute name.`),this.state=36)}}sAttribValue(){let e=this.getCodeNorm();ie(e)?(this.q=e,this.state=40):T(e)||(this.fail(`unquoted attribute value.`),this.state=42,this.unGet())}sAttribValueQuoted(){let{q:e,chunk:t}=this,{i:n}=this;for(;;)switch(this.getCode()){case e:this.pushAttrib(this.name,this.text+t.slice(n,this.prevI)),this.name=this.text=``,this.q=null,this.state=41;return;case 38:this.text+=t.slice(n,this.prevI),this.state=14,this.entityReturnState=40;return;case H:case z:case 9:this.text+=`${t.slice(n,this.prevI)} `,n=this.i;break;case U:this.text+=t.slice(n,this.prevI),this.fail(`disallowed character.`);return;case R:this.text+=t.slice(n);return}}sAttribValueClosed(){let e=this.getCodeNorm();T(e)?this.state=36:e===G?this.openTag():e===47?this.state=35:D(e)?(this.fail(`no whitespace between attributes.`),this.unGet(),this.state=37):this.fail(`disallowed character in attribute name.`)}sAttribValueUnquoted(){let e=this.captureTo(J);switch(e){case 38:this.state=14,this.entityReturnState=42;break;case U:this.fail(`disallowed character.`);break;case R:break;default:this.text.includes(`]]>`)&&this.fail(`the string "]]>" is disallowed in char data.`),this.pushAttrib(this.name,this.text),this.name=this.text=``,e===G?this.openTag():this.state=36}}sCloseTag(){let e=this.captureNameChars();e===G?this.closeTag():T(e)?this.state=44:e!==R&&this.fail(`disallowed character in closing tag.`)}sCloseTagSawWhite(){switch(this.skipSpaces()){case G:this.closeTag();break;case R:break;default:this.fail(`disallowed character in closing tag.`)}}handleTextInRoot(){let{i:e,forbiddenState:t}=this,{chunk:n,textHandler:r}=this;t:for(;;)switch(this.getCode()){case U:if(this.state=15,r!==void 0){let{text:t}=this,i=n.slice(e,this.prevI);t.length===0?i.length!==0&&r(i):(r(t+i),this.text=``)}t=0;break t;case 38:this.state=14,this.entityReturnState=B,r!==void 0&&(this.text+=n.slice(e,this.prevI)),t=0;break t;case re:switch(t){case 0:t=1;break;case 1:t=2;break;case 2:break;default:throw Error(`impossible state`)}break;case G:t===2&&this.fail(`the string "]]>" is disallowed in char data.`),t=0;break;case z:r!==void 0&&(this.text+=`${n.slice(e,this.prevI)}\n`),e=this.i,t=0;break;case R:r!==void 0&&(this.text+=n.slice(e));break t;default:t=0}this.forbiddenState=t}handleTextOutsideRoot(){let{i:e}=this,{chunk:t,textHandler:n}=this,r=!1;t:for(;;){let i=this.getCode();switch(i){case U:if(this.state=15,n!==void 0){let{text:r}=this,i=t.slice(e,this.prevI);r.length===0?i.length!==0&&n(i):(n(r+i),this.text=``)}break t;case 38:this.state=14,this.entityReturnState=B,n!==void 0&&(this.text+=t.slice(e,this.prevI)),r=!0;break t;case z:n!==void 0&&(this.text+=`${t.slice(e,this.prevI)}\n`),e=this.i;break;case R:n!==void 0&&(this.text+=t.slice(e));break t;default:T(i)||(r=!0)}}r&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail(`text data outside of root node.`),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail(`text data outside of root node.`),this.reportedTextAfterRoot=!0))}pushAttribNS(e,t){let{prefix:n,local:r}=this.qName(e),i={name:e,prefix:n,local:r,value:t};if(this.attribList.push(i),this.attributeHandler?.(i),n===`xmlns`){let e=t.trim();this.currentXMLVersion===`1.0`&&e===``&&this.fail(`invalid attempt to undefine prefix in XML 1.0`),this.topNS[r]=e,ce(this,r,e)}else if(e===`xmlns`){let e=t.trim();this.topNS[``]=e,ce(this,``,e)}}pushAttribPlain(e,t){let n={name:e,value:t};this.attribList.push(n),this.attributeHandler?.(n)}end(){this.sawRoot||this.fail(`document must contain a root element.`);let{tags:e}=this;for(;e.length>0;){let t=e.pop();this.fail(`unclosed tag: ${t.name}`)}this.state!==0&&this.state!==B&&this.fail(`unexpected end.`);let{text:t}=this;return t.length!==0&&(this.textHandler?.(t),this.text=``),this._closed=!0,this.endHandler?.(),this._init(),this}resolve(e){let t=this.topNS[e];if(t!==void 0)return t;let{tags:n}=this;for(let r=n.length-1;r>=0;r--)if(t=n[r].ns[e],t!==void 0)return t;return t=this.ns[e],t===void 0?this.opt.resolvePrefix?.(e):t}qName(e){let t=e.indexOf(`:`);if(t===-1)return{prefix:``,local:e};let n=e.slice(t+1),r=e.slice(0,t);return(r===``||n===``||n.includes(`:`))&&this.fail(`malformed name: ${e}.`),{prefix:r,local:n}}processAttribsNS(){let{attribList:e}=this,t=this.tag;{let{prefix:e,local:n}=this.qName(t.name);t.prefix=e,t.local=n;let r=t.uri=this.resolve(e)??``;e!==``&&(e===`xmlns`&&this.fail(`tags may not have "xmlns" as prefix.`),r===``&&(this.fail(`unbound namespace prefix: ${JSON.stringify(e)}.`),t.uri=e))}if(e.length===0)return;let{attributes:n}=t,r=new Set;for(let t of e){let e,i,{name:a,prefix:o,local:s}=t;o===``?(e=a===`xmlns`?I:``,i=a):(e=this.resolve(o),e===void 0&&(this.fail(`unbound namespace prefix: ${JSON.stringify(o)}.`),e=o),i=`{${e}}${s}`),r.has(i)&&this.fail(`duplicate attribute: ${i}.`),r.add(i),t.uri=e,n[a]=t}this.attribList=[]}processAttribsPlain(){let{attribList:e}=this,t=this.tag.attributes;for(let{name:n,value:r}of e)t[n]!==void 0&&this.fail(`duplicate attribute: ${n}.`),t[n]=r;this.attribList=[]}openTag(){this.processAttribs();let{tags:e}=this,t=this.tag;t.isSelfClosing=!1,this.openTagHandler?.(t),e.push(t),this.state=B,this.name=``}openSelfClosingTag(){this.processAttribs();let{tags:e}=this,t=this.tag;t.isSelfClosing=!0,this.openTagHandler?.(t),this.closeTagHandler?.(t),(this.tag=e[e.length-1]??null)===null&&(this.closedRoot=!0),this.state=B,this.name=``}closeTag(){let{tags:e,name:t}=this;if(this.state=B,this.name=``,t===``)return this.fail(`weird empty close tag.`),void(this.text+=`</>`);let n=this.closeTagHandler,r=e.length;for(;r-->0;){let r=this.tag=e.pop();if(this.topNS=r.ns,n?.(r),r.name===t)break;this.fail(`unexpected close tag: ${t}.`)}r===0?this.closedRoot=!0:r<0&&(this.fail(`unmatched closing tag: ${t}.`),this.text+=`</${t}>`)}parseEntity(e){if(e[0]!==`#`){let t=this.ENTITIES[e];return t===void 0?(this.fail(this.isName(e)?`undefined entity.`:`disallowed character in entity name.`),`&${e};`):t}let t=NaN;return e[1]===`x`&&/^#x[0-9a-f]+$/i.test(e)?t=parseInt(e.slice(2),16):/^#[0-9]+$/.test(e)&&(t=parseInt(e.slice(1),10)),this.isChar(t)?String.fromCodePoint(t):(this.fail(`malformed character entity.`),`&${e};`)}};(w=C||={}).Events={XmlDecl:`xmldecl`,Text:`text`,ProcessingInstruction:`processinginstruction`,Doctype:`doctype`,Comment:`comment`,OpenTagStart:`opentagstart`,Attribute:`attribute`,OpenTag:`opentag`,CloseTag:`closetag`,CDdata:`cdata`,Error:`error`,End:`end`,Ready:`ready`},w.parseStream=async(e,t,n)=>{let r,i=new Y({position:!1,...n});t.onOpenTagStart&&i.on(C.Events.OpenTagStart,t.onOpenTagStart),t.onOpenTag&&i.on(C.Events.OpenTag,t.onOpenTag),t.onCloseTag&&i.on(C.Events.CloseTag,t.onCloseTag),t.onAttribute&&i.on(C.Events.Attribute,t.onAttribute),t.onText&&i.on(C.Events.Text,t.onText),t.onError&&i.on(C.Events.Error,t.onError);let a=t.onEnd;for(a&&i.on(C.Events.End,()=>{r=a()});;){let{value:t,done:n}=await e.read();if(n)break;i.write(t)}return i.close(),r};var X=e=>!0===e||e===`1`||e===`on`||e===`true`||!1!==e&&e!==`0`&&e!==`off`&&e!==`false`&&null,Z=e=>{let t=parseInt(e);return isNaN(t)?null:t},Q=e=>{let t=parseFloat(e);return isNaN(t)?null:t},$=null,fe=class{constructor(){this._registeredVisitors=new Map}registerVisitor(e){this._registeredVisitors.set(e.from,e)}createEventHandler(e,t,n){let r=this._registeredVisitors,i=[],a=[],o=null,s=null,c=null,l=null,u=[],d={key:null,source:e,parent:null},f=null,p=!1,m=(e,t)=>{let n=c.attributes[e];if(t){if(Array.isArray(t)){let e=t.length;for(let r=0;r<e;r++)if(n==null||(n=t[r](n),n==null))return}else if(n==null||(n=t(n),n==null))return}return n},h={getSource:()=>f?.source??null,setSource:e=>{f.source=e},setKey:e=>{f.key=e},getFrom:()=>c,getAttribute:(e,t)=>m(e,t)??null,hasAttribute:e=>h.getAttribute(e)!==null,getParent:()=>{let e=u[u.length-2];return e.parent??e.source},getPath:()=>{let e=[],t=a.length;for(let n=0;n<t;n++)e.push(a[n].local);return e.join(`\\`)},parseAttribute:m,copyToObject:(e,t,n,r)=>{let i=m(r??t,n);i!==void 0&&(e[t]=i)},copyTo:(e,t,n)=>{let r=m(n??e,t);r!==void 0&&(f.source[e]=r)},warn:e=>{n?n?.(e):console.warn(e)}};return{onOpenTag:e=>{let t=e.name,n=t.indexOf(`:`);n!==-1&&(t=t.slice(n+1));let m=(i.length>0?i[i.length-1]:r).get(t);if(o={local:t,visitor:m,tag:e,destination:null},p)return a.push(o),s=t,void(c=e);l=o?.visitor??null,s=t,c=e;let g=!!m&&m.to===null;if(m&&!g&&m.scope){let e=m.scope(h);e===null?g=!0:e&&(i.push(e),o.pushedScope=!0)}m&&(a.length===0?(f=d,o.destination=f,o.pushedDestination=!0,u.push(f)):g?(f=null,o.destination=null):m.transparent?o.destination=f:(f={key:null,source:{},parent:null},o.destination=f,o.pushedDestination=!0,u.push(f))),a.push(o),p=g;let _=l?.openTag?.(h);_!==void 0&&(f.parent=_)},onCloseTag:e=>{let t=e.name,r=t.indexOf(`:`);if(r!==-1&&(t=t.slice(r+1)),t!==s)throw Error(`mismatch open/close tag: '${t}'/'${s}'`);p||l?.closeTag?.(h);let m=a.pop()??null;o=a[a.length-1]??null,m?.pushedScope&&i.pop();let g=m?.destination;if(g&&m.pushedDestination){u.pop(),f=u[u.length-1]??d;let e=m.visitor;e&&e.to&&g.source!==void 0&&(Array.isArray(e.to)?f.source.push?f.source.push(g.source):n?.(`Unable to parse array for ${e.from} at ${h.getPath()}`):g.key?f.source[g.key]=g.source:typeof e.to==`string`&&(f.source[e.to]=g.source))}s=o?.local??null,c=o?.tag??null,l=o?.visitor??null,p=!o?.destination},onText:e=>{l?.text?.(e,h)},onEnd:t}}},pe=`IFERROR(${o.h}(`,me=pe.toUpperCase(),he=o.x.toUpperCase(),ge={kind:`none`},_e={kind:`spilled`},ve=(e,t)=>{if(e.charCodeAt(t)!==34)return null;let n=``,r=t+1;for(;r<e.length;)if(e.charCodeAt(r)===34){if(e.charCodeAt(r+1)!==34)return{value:n,end:r+1};n+=`"`,r+=2}else n+=e[r],r++;return null},ye=e=>{let t=[],n=0;for(;n<e.length;){let r=e.charCodeAt(n);if(r===34){let t=ve(e,n);if(t===null)break;n=t.end;continue}if(!(r>=65&&r<=90||r>=97&&r<=122||r===95)){n++;continue}let i=n+1;for(;i<e.length;){let t=e.charCodeAt(i);if(!(t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===95||t===46))break;i++}e.charCodeAt(i)===40&&t.push(e.slice(n,i).toUpperCase().replace(/^_XLFN\./,``).replace(/^_XLWS\./,``)),n=i}return t},be=e=>{let t=0,n=0;for(let r=0;r<e.length;r++){let i=e[r];if(i!==`"`&&i!==`'`){if(i===`[`)n++;else if(i===`]`)n>0&&n--;else if(n===0){if(i===`(`)t++;else if(i===`)`&&(t--,t<0))return!1}}else{for(r++;r<e.length;){if(e[r]===i){if(e[r+1]===i){r+=2;continue}break}r++}if(r>=e.length)return!1}}return t===0&&n===0},xe=class{static{this.Collapsed=1}static{this.CustomFormat=2}static{this.CustomHeight=4}static{this.Hidden=8}static{this.Ht=16}static{this.OutlineLevel=32}static{this.Ph=64}static{this.R=128}static{this.S=256}static{this.Spans=512}static{this.ThickBot=1024}static{this.ThickTop=2048}},Se=(e,t,n)=>{if(e[0].value[0]===e[1].value[0])return t},Ce={colStart:0,colEnd:0,rowStart:0,rowEnd:0},we=e=>{let t=e.indexOf(`:`);return t===-1?e:e.slice(t+1)},Te={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":`workbooks`,"application/vnd.ms-excel.sheet.macroEnabled.main+xml":`workbooks`,"application/vnd.ms-excel.sheet.binary.macroEnabled.main":`workbooks`,"application/vnd.ms-excel.addin.macroEnabled.main+xml":`workbooks`,"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":`workbooks`,"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":`sheets`,"application/vnd.ms-excel.worksheet":`sheets`,"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":`charts`,"application/vnd.ms-excel.chartsheet":`charts`,"application/vnd.ms-excel.macrosheet+xml":`macros`,"application/vnd.ms-excel.macrosheet":`macros`,"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":`dialogs`,"application/vnd.ms-excel.dialogsheet":`dialogs`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":`strs`,"application/vnd.ms-excel.sharedStrings":`strs`,"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":`styles`,"application/vnd.ms-excel.styles":`styles`,"application/vnd.openxmlformats-package.core-properties+xml":`coreprops`,"application/vnd.openxmlformats-officedocument.custom-properties+xml":`custprops`,"application/vnd.openxmlformats-officedocument.extended-properties+xml":`extprops`,"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":`comments`,"application/vnd.ms-excel.comments":`comments`,"application/vnd.ms-excel.threadedcomments+xml":`threadedcomments`,"application/vnd.ms-excel.person+xml":`people`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":`metadata`,"application/vnd.ms-excel.sheetMetadata":`metadata`,"application/vnd.ms-excel.externalLink":`links`,"application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":`links`,"application/vnd.openxmlformats-officedocument.theme+xml":`themes`},Ee=e=>e.startsWith(`/`)?e.slice(1):e,De=/^xl\/(worksheets|chartsheets)\/[^/]+\.xml$/i;exports.readXLSX=async(s,u)=>{let{password:d,onVBA:f,profile:p,createWorkbookOptions:m={},...h}=u??{},g=m.origin&&typeof m.origin!=`string`?m.origin:null,_=p?new l(typeof p==`function`?p:void 0):null,v=[],y=u?.progress,b=y?.onProgress?y.onProgress.bind(y):void 0,x=s.byteLength,ee=0,S=0,te=b?e=>{if(ee<=0)return;S+=e;let t=Math.min(x,Math.round(S/ee*x));b(t,x)}:void 0,w=Promise.resolve().then(()=>require("./DfkGb1hUnmE0XFjK.cjs")),T=null;try{T=new DOMParser}catch{}let E=null;try{E=new XMLSerializer}catch{}let D,O,k,A=null;T||(A=Promise.resolve().then(()=>require("./DLYEQZzAGuSAmJsp.cjs")).then(e=>i.t(e.default,1)));try{let[e,t]=await Promise.all([A,w]);D=new t.DOMTransformer,O=T??new e.DOMParser,k=E??new e.XMLSerializer}catch(e){throw Error(`Unable to load XLSX parser.`,{cause:e})}let j,M=e=>k.serializeToString(e);try{j=await c.create(s)}catch(t){throw new e.s(`Unable to parse as an Excel document. Try to save as '.xlsx' and try again.`,{cause:t})}_?.mark(`zip-open`);try{if(!j.has(`[Content_Types].xml`))throw new e.s(`Unable to parse as an Excel document. Try to save as '.xlsx' and try again.`);let i=e=>{let t=j.getEntry(e);return t?{content:t}:void 0},s={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],metadata:[],people:[],sst:``,style:``,defaults:{}};{let e=(e=>({onOpenTag:t=>{let n=(e=>{let t=e.indexOf(`:`);return t===-1?e:e.slice(t+1)})(t.name),r=t.attributes;if(n===`Override`){let t=r.ContentType,n=r.PartName;if(!t||!n)return;let i=Te[t],a=i?e[i]:void 0;Array.isArray(a)&&a.push(n)}else if(n===`Default`){let t=r.Extension,n=r.ContentType;t&&(e.defaults[t.toLowerCase()]=n)}},onEnd:()=>{e.sst=e.strs.length>0?e.strs[0]:``,e.style=e.styles.length>0?e.styles[0]:``},onError:e=>{(e=>{v.push([e,`[Content_Types].xml`])})(`Error parsing content types: ${e?.message??e}`)}}))(s),t=await j.getTextStream(`[Content_Types].xml`);if(!t)throw Error(`Error parsing content types: '[Content_Types].xml'`);try{await C.parseStream(t,e,{xmlns:!1})}catch(e){throw Error(`Error parsing content types: '[Content_Types].xml'`,{cause:e})}g&&await j.getBuffer(`[Content_Types].xml`)}_?.mark(`content-types`);let c=s.sst,l=new Set;for(let e of s.sheets)l.add(Ee(e));c&&l.add(Ee(c));for(let e of l)ee+=j.uncompressedSize(e);if(await j.prefetch(e=>!l.has(e)&&!De.test(e)),_?.mark(`prefetch-side-parts`),s.workbooks.length===0){let e=a.n(`_rels/.rels`,i,O,D);if(e){for(let t of e.values())if(t.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`&&t.target){s.workbooks.push(t.target);break}}}if(s.workbooks.length===0)throw new e.s(`Unable to parse as an Excel document. Try to save as '.xlsx' and try again.`);s.richstructure=[`/xl/richData/rdrichvaluestructure.xml`],s.richdata=[`/xl/richData/rdrichvalue.xml`];let u=m?.resources??new n.Zt,d=u.beginPersist(),h={},S=new Set,w=new Map;w.set(`richTypes`,[]);let T=[];w.set(`dummyWrapped`,T);let E=a.c(`metadata`,s,i,O,D).entries().next()?.value?.[1]?.metadata;E&&w.set(`metadata`,E);let k=new Map,A=[],N=(e,t=k)=>{let n=e.lastIndexOf(`/`),r=e.substring(0,n+1)+`_rels/`+e.substring(n+1,e.length)+`.rels`,o=t.get(r);return o||(o=a.n(r,i,O,D,z),t.set(r,o)),o},P=(r,s,c,l=k)=>{let f=N(s,l).get(r),p=f?.target;if(!p)return null;if(f.targetMode===`External`){if(!c)return f.target;let e=u.add({source:{external:f.target}});return e.addReference(h),S.add(e),d.toResourceId(e)}let m=s.lastIndexOf(`/`),g=s.substring(0,m+1);p.startsWith(`/`)||(p=g+p),p=a.u(p);let _=D?.getVisitorParamsState().get(`dxfs`),y=l.get(p);if(!y)if(f.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet`){let r={};y=r,A.push((async()=>{let i=((r,i,s,c,l,u,d,f)=>{let p=new fe,m=new n.M.TransposedBuilder,h=null;p.registerVisitor({from:`autoFilter`,to:`autoTable`,openTag:e=>{let t=e.getAttribute(`ref`),r=n.X.fastStringToRange(t);e.getSource().r=r,e.getSource().v={}},closeTag:e=>{let t=e.getSource(),n=t.v,r=n.hiddenButtons;if(Array.isArray(r)){let e=r.length,i=t.r,a=i.colEnd-i.colStart+1;e===0?n.hiddenButtons=!1:e===a&&(n.hiddenButtons=!0)}}}),p.registerVisitor({from:`conditionalFormatting`,to:{},openTag:e=>{let t=e.getParent();t.conditionals||=[];let n=e.getAttribute(`sqref`);n&&=n.trim().split(/\s+/).join(`,`);let r={r:n,conditionals:t.conditionals},i=e.getAttribute(`pivot`,X);i!==null&&(r.pivot=i),e.setSource(r)}}),p.registerVisitor({from:`cfRule`,to:{},openTag:e=>{let t=e.getParent();if(!t?.r)return;let n=e.getSource()??{};t.pivot!==void 0&&(n.pivot=t.pivot),t.conditionals.push({r:t.r,v:null,rule:n}),e.copyToObject(n,`type`,$),e.copyToObject(n,`priority`,Z),e.copyToObject(n,`stopIfTrue`,X);let r=e.getAttribute(`dxfId`,Z);if(r!==null){let t=c?.get(r);t||=(u?.(`Unable to load conditional color. Invalid dxfI: '${r}' at '${e.getPath()}'.`),{}),n.style=t}e.copyToObject(n,`aboveAverage`,X),e.copyToObject(n,`equalAverage`,X),e.copyToObject(n,`stdDev`,Z),e.copyToObject(n,`bottom`,X),e.copyToObject(n,`percent`,X),e.copyToObject(n,`rank`,Z),e.copyToObject(n,`operator`,$),e.copyToObject(n,`text`,$),e.copyToObject(n,`timePeriod`,$)},closeTag:e=>{let t=e.getParent();if(!t?.r)return;let n=t.conditionals[t.conditionals.length-1],r=n?.rule;if(!r)return;let i={},a=o.i(r,u);a&&(i.condition=a),r.style&&(i.style=r.style),r.scale&&(i.scale=r.scale),r.stopIfTrue&&(i.stopIfTrue=!0),r.pivot&&(i.pivot=!0),n.v=i,n.priority=r.priority,r.x14Id&&(n.x14Id=r.x14Id),delete n.rule}});let g=e=>{let t=e.conditions??[],n=[];for(let e=0;e<t.length;e++){let r=t[e],i={};r.type&&(i.type=r.type),r.value!==void 0&&(i.value=r.value),r.exclusive&&(i.exclusive=!0),n.push(i)}return n};p.registerVisitor({from:`colorScale`,to:{},openTag:e=>{},closeTag:e=>{let t=e.getSource(),r=t.colors??[],i=g(t);for(let e=0;e<i.length;e++)i[e].color=r[e];e.getParent().scale={type:n.lt.ScaleType.ColorScale,stops:i}}}),p.registerVisitor({from:`dataBar`,to:{},openTag:e=>{e.copyTo(`maxLength`,Z),e.copyTo(`minLength`,Z),e.copyTo(`showValue`,X)},closeTag:e=>{let t=e.getSource(),r={type:n.lt.ScaleType.DataBar,stops:g(t)},i=t.colors?.[0];i&&(r.color=i),t.minLength!==void 0&&(r.minLength=t.minLength),t.maxLength!==void 0&&(r.maxLength=t.maxLength),t.showValue!==void 0&&(r.showValue=t.showValue),e.getParent().scale=r}}),p.registerVisitor({from:`iconSet`,to:{},openTag:e=>{e.copyTo(`iconSet`,$),e.copyTo(`reverse`,X),e.copyTo(`showValue`,X)},closeTag:e=>{let t=e.getSource(),r={type:n.lt.ScaleType.IconSet,stops:g(t)};t.iconSet!==void 0&&(r.iconSet=t.iconSet),t.reverse!==void 0&&(r.reverse=t.reverse),t.showValue!==void 0&&(r.showValue=t.showValue),e.getParent().scale=r}}),p.registerVisitor({from:`formula`,to:{},text:(e,t)=>{let n=t.getParent(),r=n.formulas;r||(r=[],n.formulas=r),r.push(e)}}),p.registerVisitor({from:`cfvo`,to:{},openTag:e=>{let t=e.getParent();t.conditions||=[];let r=e.getSource();t.conditions.push(r),e.copyTo(`type`,$),r.type===n.lt.ColorStopType.Formula?e.copyTo(`value`,$,`val`):e.copyTo(`value`,Q,`val`),!1===e.getAttribute(`gte`,X)&&(r.exclusive=!0)}}),p.registerVisitor({from:`color`,to:{},openTag:e=>{let t=e.getParent();t.colors||=[];let n=a.o(t=>e.getAttribute(t));t.colors.push(n)}}),p.registerVisitor({from:`filterColumn`,to:{},openTag:e=>{let t=e.getParent().v,n=parseInt(e.getAttribute(`colId`)),r=e.getSource();r.index=n;let i=t.filter;i||(i={conditions:[]},t.filter=i);let a=i.conditions;if(a||(a=[],i.conditions=a),a.push(r),e.getAttribute(`hiddenButton`,X)&&t){let e=t.hiddenButtons;e||(e=[],t.hiddenButtons=e),e.push(n)}if(e.getAttribute(`showButton`,X)&&t){let e=t.showButtons;e||(e=[],t.showButtons=e),e.push(n)}return r}}),p.registerVisitor({from:`colorFilter`,openTag:e=>{let t=e.getParent(),r={};t.operator=n.j.BuiltInOperatorNames.Color,t.param=r,e.copyToObject(r,`cellColor`),e.copyToObject(r,`styleId`,Z,`dxfId`)}}),p.registerVisitor({from:`iconFilter`,openTag:e=>{let t=e.getParent(),r={};t.operator=n.j.BuiltInOperatorNames.Icon,t.param=r,e.copyToObject(r,`iconId`,Z),e.copyToObject(r,`iconSet`,$)}}),p.registerVisitor({from:`top10`,openTag:e=>{let t=e.getParent(),r={};t.operator=n.j.BuiltInOperatorNames.TopN,t.param=r,e.copyToObject(r,`filterVal`,Q),e.copyToObject(r,`percent`,X),e.copyToObject(r,`top`,X),e.copyToObject(r,`limit`,Q,`val`)}}),p.registerVisitor({from:`dynamicFilter`,openTag:e=>{let t=e.getParent(),r={};t.operator=n.j.BuiltInOperatorNames.TimePeriod,t.param=r;let i=e.getAttribute(`type`);Object.values(n.j.AverageType).includes(i)?(t.operator=n.j.BuiltInOperatorNames.Average,e.copyToObject(r,`stdDevs`,Z,`val`)):e.copyToObject(r,`anchorDate`,Z,`val`),e.copyToObject(r,`operator`,$,`type`),e.copyToObject(r,`maxVal`,Q,`maxVal`)}}),p.registerVisitor({from:`filters`,to:{},openTag:e=>{let t=e.getParent(),r={};return t.operator=n.j.BuiltInOperatorNames.InSet,t.param=r,e.copyToObject(r,`blank`,X),e.copyToObject(r,`calendarType`,$),r}}),p.registerVisitor({from:`filter`,openTag:e=>{let t=e.getParent(),n=t.items;n||(n=[],t.items=n),n.push(e.getAttribute(`val`,$))}}),p.registerVisitor({from:`dateGroupItem`,to:{},openTag:e=>{let t=e.getParent(),n=t.dateGroups;n||(n=[],t.dateGroups=n),n.push(e.getSource()),e.copyTo(`group`,$,`dateTimeGrouping`),e.copyTo(`day`,Z),e.copyTo(`hour`,Z),e.copyTo(`minute`,Z),e.copyTo(`month`,Z),e.copyTo(`second`,Z),e.copyTo(`year`,Z)}}),p.registerVisitor({from:`customFilters`,openTag:e=>{let t=e.getParent(),r=e.getAttribute(`and`),i=r===`and`||r===`1`;e.getAttribute(`val`);let a=[];return t.operator=i?n.j.BuiltInOperatorNames.And:n.j.BuiltInOperatorNames.Or,t.param={conditions:a},e.setSource(t),a},closeTag:e=>{e.getSource().param.conditions.length}}),p.registerVisitor({from:`customFilter`,openTag:e=>{let t,n=e.getParent();Array.isArray(n)?(t={},n.push(t)):t=n,e.copyToObject(t,`operator`),e.copyToObject(t,`param`,$,`val`)}}),p.registerVisitor({from:`sortState`,to:{},openTag:e=>{let t=e.getParent(),n=t.v;n&&(n.sort={},e.setSource(t))}}),p.registerVisitor({from:`sortCondition`,to:{},openTag:e=>{let t=e.getParent(),r=t.v;if(!r)return;let i=r.sort;if(!i)return;let a=i.sorts;a||(a=[],i.sorts=a);let o=e.getAttribute(`ref`),s=0;if(o){let e=n.X.fastStringToRange(o,Ce).colStart,r=t.r,i=r.colStart;s=r?e-i:e}let c={};e.copyToObject(c,`sortOn`,$,`sortBy`),e.copyToObject(c,`dxfId`,$,`sortBy`),e.copyToObject(c,`iconSet`,$),e.copyToObject(c,`customList`,$),c.reverse=e.getAttribute(`descending`,X)??!1;let l={index:s,criteria:c};a.push(l)}}),p.registerVisitor({from:`AlternateContent`,to:null});let _=e=>{h=e.getSource(),e.copyTo(`topLeft`,$,`topLeftCell`);let t=a.p(e.getAttribute(`defaultGridColor`)),n=e.getAttribute(`colorId`);n===null||t||(e.getSource().gridLineColor=`index`+parseFloat(n)),e.copyTo(`showZeros`,X),e.copyTo(`showFormulas`,X),e.copyTo(`zoomScale`,Z),e.copyTo(`showRowHeaders`,X,`showRowColHeaders`),e.copyTo(`showColumnHeaders`,X,`showRowColHeaders`),e.copyTo(`showRowGridlines`,X,`showGridLines`),e.copyTo(`showColumnGridlines`,X,`showGridLines`),e.copyTo(`rightToLeft`,X)};p.registerVisitor({from:`sheetView`,to:`view`,openTag:e=>{_(e)},closeTag:()=>{h=null}}),p.registerVisitor({from:`customSheetViews`,to:`customSheetViews`,openTag:e=>{e.setSource([])}}),p.registerVisitor({from:`customSheetView`,to:[],openTag:e=>{_(e)},closeTag:()=>{h=null}}),p.registerVisitor({from:`selection`,to:`selection`,openTag:e=>{if(!h)return;e.copyTo(`cell`,$,`activeCell`),e.copyTo(`rangeIndex`,Z,`activeCellId`);let t=e.getAttribute(`activeCell`),n=e.getAttribute(`sqref`);n&&n!==t&&(e.getSource().ranges=n.trim().split(/\s+/))}}),p.registerVisitor({from:`pane`,to:null,openTag:e=>{if(h&&e.getAttribute(`state`)===`frozen`){let t={};h.freezePanes=t,e.copyToObject(t,`topLeft`,$,`topLeftCell`);let r=(h.topLeft?n.X.fastStringToCell(h.topLeft):void 0)??{colIndex:0,rowIndex:0},i={colIndex:0,rowIndex:0};e.copyToObject(i,`colIndex`,Z,`xSplit`),e.copyToObject(i,`rowIndex`,Z,`ySplit`);let a={colIndex:r.colIndex+i.colIndex,rowIndex:r.rowIndex+i.rowIndex};t.coords=n.X.cellToString(a)}}}),p.registerVisitor({from:`tabColor`,to:null,openTag:e=>{let t=a.o(t=>e.getAttribute(t));t&&(r.tabColor=t)}}),p.registerVisitor({from:`pageSetUpPr`,to:`pageSetUpPr`,openTag:e=>{}}),p.registerVisitor({from:`outlinePr`,to:`outlinePr`,openTag:e=>{}}),p.registerVisitor({from:`pageMargins`,to:`pageMargins`,openTag:e=>{e.copyTo(`bottom`,Q),e.copyTo(`footer`,Q),e.copyTo(`header`,Q),e.copyTo(`left`,Q),e.copyTo(`right`,Q),e.copyTo(`top`,Q),e.copyTo(`bottom`,Q)}}),p.registerVisitor({from:`pageSetup`,to:`pageSetup`,openTag:e=>{e.copyTo(`blackAndWhite`,X),e.copyTo(`cellComments`),e.copyTo(`copies`,Z),e.copyTo(`draft`,X),e.copyTo(`errors`),e.copyTo(`firstPageNumber`,Z),e.copyTo(`fitToHeight`,Z),e.copyTo(`fitToWidth`,Z),e.copyTo(`horizontalDpi`,Z),e.copyTo(`orientation`),e.copyTo(`pageOrder`),e.copyTo(`paperSize`,Z),e.copyTo(`scale`,Z),e.copyTo(`useFirstPageNumber`,X),e.copyTo(`usePrinterDefaults`,X),e.copyTo(`verticalDpi`,Z)}}),p.registerVisitor({from:`printOptions`,to:`printOptions`,openTag:e=>{e.copyTo(`gridLines`,X),e.copyTo(`gridLinesSet`,X),e.copyTo(`headings`,X),e.copyTo(`horizontalCentered`,X),e.copyTo(`verticalCentered`,X)}}),p.registerVisitor({from:`headerFoot`,to:`headerFoot`,openTag:e=>{}}),p.registerVisitor({from:`mergeCells`,to:`merges`,openTag:e=>{e.setSource([])}}),p.registerVisitor({from:`dataValidations`,to:`validations`,openTag:e=>{e.setSource([])}});let v={from:`dataValidation`,to:[],openTag:e=>{let t=e.getAttribute(`sqref`);t&&=t.trim().split(/\s+/).join(`,`);let n={},r={r:t,v:n,rule:{type:e.getAttribute(`type`)??void 0,operator:e.getAttribute(`operator`)??void 0}};!0===e.getAttribute(`showDropDown`,X)&&(n.hideDropdown=!0),e.copyToObject(n,`alert`,$,`error`),e.copyToObject(n,`alertTitle`,$,`errorTitle`),e.copyToObject(n,`showAlertMessage`,X,`showErrorMessage`),n.alertStyle=e.getAttribute(`errorStyle`)??`stop`,e.copyToObject(n,`imeMode`),e.copyToObject(n,`prompt`),e.copyToObject(n,`promptTitle`),e.copyToObject(n,`showPromptMessage`,X,`showInputMessage`),e.setSource(r)},closeTag:e=>{let t=e.getSource();if(!t?.rule)return;let n=o.r(t.rule,u);n&&(e.getAttribute(`allowBlank`,X)&&(n.includeBlanks=!0),t.v.condition=n),delete t.rule}};p.registerVisitor(v),p.registerVisitor({from:`formula1`,to:{},text:(e,t)=>{let n=t.getParent().rule;n?.type&&(n.formula1=o.S(e,n.type))}}),p.registerVisitor({from:`formula2`,to:{},text:(e,t)=>{let n=t.getParent().rule;n?.type&&(n.formula2=o.S(e,n.type))}}),p.registerVisitor({from:`picture`,to:`picture`,openTag:e=>{let t=e.getAttribute(`r:id`);if(!t)return void console.warn(`no rId found for picture`,e.getPath());let n=i(t,!0);e.getSource().resId=n}});let y={from:`slicer`,to:{},openTag:e=>{let t=e.getAttribute(`r:id`);if(!t)return void console.warn(`no rId found for picture`,e.getPath());let n=i(t)?.slicers,r=e.getParent();r.slicers||={};let a=Object.keys(n);for(let e of a)r.slicers[e]=n[e]}};p.registerVisitor(y);let b=(e,t)=>({from:e,to:{},openTag:e=>{e.setSource(``)},text:(e,t)=>{t.setSource((t.getSource()??``)+e)},closeTag:e=>{t(String(e.getSource()??``),e)}}),x=new Map;x.set(`dataValidations`,{from:`dataValidations`,to:`validations`,openTag:e=>{let t=e.getParent();e.setSource(t.validations??[])},closeTag:e=>{(e.getSource()?.length??0)===0&&e.setSource(void 0)}}),x.set(`dataValidation`,{...v,closeTag:e=>{v.closeTag(e);let t=e.getSource();t&&!t.r&&(e.warn(`x14 dataValidation with no xm:sqref was dropped.`),e.setSource(void 0))}});let ee=e=>({from:e,to:{},openTag:t=>{t.setSource({rule:t.getParent()?.rule,key:e})}});x.set(`formula1`,ee(`formula1`)),x.set(`formula2`,ee(`formula2`)),x.set(`f`,b(`f`,(e,t)=>{let n=t.getParent(),r=n?.rule;r&&(r[n.key]=o.S(e,r.type))})),x.set(`sqref`,b(`sqref`,(e,t)=>{let n=t.getParent(),r=e.trim();n&&r&&(n.r=r.split(/\s+/).join(`,`))}));let S=new Map,te=[],C=new Map;C.set(`conditionalFormattings`,{from:`conditionalFormattings`,transparent:!0}),C.set(`conditionalFormatting`,{from:`conditionalFormatting`,to:{},openTag:e=>{e.setSource({rules:[]})},closeTag:e=>{let t=e.getSource(),n=t?.rules??[];for(let e=0;e<n.length;e++){let r=n[e];r.sqref=t.sqref,r.id?S.set(r.id,r):te.push(r)}}}),C.set(`cfRule`,{from:`cfRule`,to:{},openTag:e=>{e.copyTo(`id`,$),e.copyTo(`type`,$),e.copyTo(`priority`,Z)},closeTag:e=>{let t=e.getSource();t&&e.getParent()?.rules?.push(t)}}),C.set(`sqref`,b(`sqref`,(e,t)=>{let n=t.getParent(),r=e.trim();n&&r&&(n.sqref=r)})),C.set(`dataBar`,{from:`dataBar`,to:{},openTag:e=>{e.copyTo(`minLength`,Z),e.copyTo(`maxLength`,Z),e.copyTo(`gradient`,X),e.copyTo(`border`,X),e.copyTo(`direction`,$),e.copyTo(`axisPosition`,$),e.copyTo(`negativeBarColorSameAsPositive`,X),e.copyTo(`negativeBarBorderColorSameAsPositive`,X)},closeTag:e=>{e.getParent().dataBar=e.getSource()}}),C.set(`iconSet`,{from:`iconSet`,to:{},openTag:e=>{e.copyTo(`iconSet`,$),e.copyTo(`custom`,X),e.copyTo(`reverse`,X),e.copyTo(`showValue`,X)},closeTag:e=>{e.getParent().iconSet=e.getSource()}}),C.set(`cfvo`,{from:`cfvo`,to:{},openTag:e=>{let t=e.getParent();t.conditions||=[];let n=e.getSource();t.conditions.push(n),e.copyTo(`type`,$),!1===e.getAttribute(`gte`,X)&&(n.exclusive=!0)}}),C.set(`f`,b(`f`,(e,t)=>{let n=t.getParent();if(!n)return;let r=e.trim(),i=Number(r);n.value=r.length>0&&Number.isFinite(i)?i:e}));let w=e=>({from:e,to:{},openTag:t=>{let n=a.o(e=>t.getAttribute(e));n&&(t.getParent()[e]=n)}});C.set(`borderColor`,w(`borderColor`)),C.set(`negativeFillColor`,w(`negativeFillColor`)),C.set(`negativeBorderColor`,w(`negativeBorderColor`)),C.set(`axisColor`,w(`axisColor`)),C.set(`cfIcon`,{from:`cfIcon`,to:{},openTag:e=>{let t=e.getAttribute(`iconSet`),n=e.getAttribute(`iconId`,Z);if(t===null||n===null)return;let r=e.getParent();r.icons||=[],r.icons.push({set:t,id:n})}});let T=new Map;T.set(`id`,b(`id`,(e,t)=>{let n=t.getParent(),r=e.trim();n&&r&&(n.x14Id=r)}));let E=new Map;E.set(`slicerList`,{from:`slicerList`,transparent:!0}),E.set(`slicer`,y);let D=new Map([[o.t(o.s),x],[o.t(o.p),C],[o.t(o.H),C],[o.t(o.f),T],[o.t(o.M),E],[o.t(o.j),E]]),O=new Set;p.registerVisitor({from:`extLst`,transparent:!0}),p.registerVisitor({from:`ext`,transparent:!0,scope:e=>{let t=e.getAttribute(`uri`),n=o.t(t),r=D.get(n);if(r)return r;if(!o.b.has(n)&&!O.has(n)){O.add(n);let r=o.N[n];e.warn(r?`Extension content '${r}' (${t}) is not read; it will be lost on resave.`:`Unknown extension content (uri ${t}) is not read; it will be lost on resave.`)}return null}}),p.registerVisitor({from:`mergeCell`,to:[],openTag:e=>{let t=e.getAttribute(`ref`);e.setSource(t)}}),p.registerVisitor({from:`hyperlinks`,to:`hyperlinks`,openTag:e=>{e.setSource([])}}),p.registerVisitor({from:`hyperlink`,to:[],openTag:e=>{let t=e.getAttribute(`r:id`),n=e.getAttribute(`ref`);if(!n)return void console.warn(`No ref found for hyperlink`);e.setKey(n);let r=t?i(t):``;if(typeof r!=`string`)return void console.warn(`Invalid address `,r);r.endsWith(`\\`)&&(r=r.substring(0,r.length-1));let a=e.getAttribute(`location`);if(a&&(r+=`#`+a),!r)return void console.warn(`No address found for hyperlink. r:id`,t);let o,s=e.getAttribute(`tooltip`);o=s?{address:r,screenTip:s}:r,e.setSource({r:n,v:o})}}),p.registerVisitor({from:`drawing`,to:`movables`,openTag:e=>{let t=e.getAttribute(`r:id`);if(!t)return;let n=i(t);n?e.setSource(n.movables):console.warn(`no drawing found for rId`,t)}}),p.registerVisitor({from:`tableParts`,to:`tables`,openTag:e=>{e.setSource([])}}),p.registerVisitor({from:`tablePart`,to:[],openTag:e=>{let t=e.getAttribute(`r:id`);if(!t)return;let n=i(t);n?e.setSource(n):console.warn(`no table found for rId`,t)}});let k=(e,t)=>{t.conditions?.length&&(e.stops=g(t)),t.minLength!==void 0&&(e.minLength=t.minLength),t.maxLength!==void 0&&(e.maxLength=t.maxLength),(t.gradient??1)&&(e.gradient=!0),t.border&&t.borderColor&&(e.borderColor=t.borderColor),!t.negativeBarColorSameAsPositive&&t.negativeFillColor&&(e.negativeFillColor=t.negativeFillColor),!(t.negativeBarBorderColorSameAsPositive??1)&&t.negativeBorderColor&&(e.negativeBorderColor=t.negativeBorderColor),t.axisColor&&(e.axisColor=t.axisColor),t.axisPosition!==`middle`&&t.axisPosition!==`none`||(e.axisPosition=t.axisPosition),t.direction!==`leftToRight`&&t.direction!==`rightToLeft`||(e.direction=t.direction)},A=(e,t)=>{t.conditions?.length&&(e.stops=g(t)),t.iconSet&&t.iconSet!==e.iconSet&&(e.iconSet=t.iconSet),t.icons?.length&&(e.icon=t.icons),t.reverse!==void 0&&(e.reverse=t.reverse),t.showValue!==void 0&&(e.showValue=t.showValue)},j=e=>{if(e.type!==`iconSet`||!e.iconSet||!e.sqref)return null;let t={type:n.lt.ScaleType.IconSet,stops:[]};return A(t,e.iconSet),{r:e.sqref.split(/\s+/).join(`,`),v:{scale:t},priority:e.priority}};p.registerVisitor({from:`worksheet`,to:{},openTag:e=>{},closeTag:e=>{let t=e.getSource(),r=t?.conditionals;if(r)for(let e=0;e<r.length;e++){let t=r[e],i=t.x14Id;if(!i)continue;delete t.x14Id;let a=S.get(i);if(!a)continue;S.delete(i);let o=t.v?.scale;a.dataBar&&o?.type===n.lt.ScaleType.DataBar?k(o,a.dataBar):a.iconSet&&o?.type===n.lt.ScaleType.IconSet&&A(o,a.iconSet)}let i=[...S.values(),...te];for(let e=0;e<i.length;e++){let n=j(i[e]);n?(r||(r=[],t.conditionals=r),r.push(n)):u?.(`x14-only conditional formatting rule (type '${i[e].type??`unknown`}') is not read and will be lost on resave.`)}if(r){r.length>1&&r.sort((e,t)=>(e.priority??1/0)-(t.priority??1/0));for(let e=0;e<r.length;e++)delete r[e].priority}}}),p.registerVisitor({from:`customProperties`,to:`customProperties`,openTag:e=>{e.setSource([])},closeTag:e=>{let t=e.getSource();t.length>0&&(e.getParent().customProperties=t)}}),p.registerVisitor({from:`customPr`,to:{},openTag:e=>{let t=e.getParent();e.copyTo(`name`);let n=e.getAttribute(`r:id`);if(!n)return void console.warn(`no rId found for customProperties`,e.getPath());let r=i(n,!0),a=e.getSource();a.resId=r,t.push(a)}}),p.registerVisitor({from:`sheetProtection`,to:`protection`,openTag:e=>{let t=!1;if(e.hasAttribute(`sheet`)&&X(e.getAttribute(`sheet`))&&(t=!0),!t)return void e.setSource(void 0);let n=e=>!0===e||e===`1`||e===`on`||e===`true`||!1!==e&&e!==`0`&&e!==`off`&&e!==`false`&&null;e.copyTo(`autoTable`,n),e.copyTo(`deleteColumns`,n),e.copyTo(`formatCells`,n),e.copyTo(`formatColumns`,n),e.copyTo(`formatRows`,n),e.copyTo(`insertColumns`,n),e.copyTo(`insertHyperlinks`,n),e.copyTo(`insertRows`,n),e.copyTo(`objects`,n),e.copyTo(`pivotTables`,n),e.copyTo(`scenarios`,n),e.copyTo(`selectLockedCells`,n),e.copyTo(`selectUnlockedCells`,n),e.copyTo(`sort`,n);let r={};e.copyToObject(r,`hash`,$,`hashValue`),e.copyToObject(r,`algorithm`,$,`algorithmName`),e.copyToObject(r,`salt`,$,`saltValue`),e.copyToObject(r,`spinCount`,Z),Object.keys(r).length>0&&(e.getSource().password=r)}}),p.registerVisitor({from:`protectedRanges`,to:`protectedRanges`,openTag:e=>{e.setSource([])}}),p.registerVisitor({from:`protectedRange`,to:[],openTag:e=>{let t=e.getAttribute(`sqref`);t&&=t.trim().split(/\s+/).join(`,`);let n={},r={r:t,v:n};e.copyToObject(n,`name`),e.copyToObject(n,`securityDescriptor`);let i={};e.copyToObject(i,`hash`,$,`hashValue`),e.copyToObject(i,`algorithm`,$,`algorithmName`),e.copyToObject(i,`salt`,$,`saltValue`),e.copyToObject(i,`spinCount`,Z),Object.keys(i).length>0&&(n.password=i),e.setSource(r)},closeTag:e=>{let t=e.getSource();t?.r&&t.v.name||e.setSource(void 0)}}),p.registerVisitor({from:`sheetFormatPr`,to:`sheetFormatPr`,openTag:e=>{e.copyToObject(r,`defaultColSize`,Q,`defaultColWidth`),e.copyToObject(r,`outlineLevelCol`,Z,`outlineLevelCol`);let t=e.getAttribute(`customHeight`);t!==`1`&&t!==`true`||e.copyToObject(r,`defaultRowSize`,Q,`defaultRowHeight`),e.copyToObject(r,`outlineLevelRow`,Z,`outlineLevelRow`)}}),p.registerVisitor({from:`cols`,to:`cols`,openTag:e=>{e.setSource([])}}),p.registerVisitor({from:`col`,to:[],openTag:e=>{let t=e.getSource(),r=e.getAttribute(`min`),i=e.getAttribute(`max`),a=r===void 0?0:parseInt(r)-1,o=i===void 0?a:parseInt(i)-1;t.r=n.X.runToString(a,o,!0);let s={};t.v=s,e.copyToObject(s,`sz`,Q,`width`),e.copyToObject(s,`csz`,X,`customWidth`),e.copyToObject(s,`h`,X,`hidden`),e.copyToObject(s,`l`,Z,`outlineLevel`),e.copyToObject(s,`s`,Z,`style`)}}),p.registerVisitor({from:`oleObjects`,to:null,openTag:e=>{e.warn(`'OLE Objects' are not supported.`)}});let M=!1,N=!1,P=0,F=``,I=e=>{let t=e.indexOf(`:`);return t===-1?e:e.slice(t+1)};return((r,i,a,o,s,c,l)=>{let u=!1,d=!1,f=[],p=!1,m=null,h=null,g=null,_=null,v=null,y=null,b=l?.get(`richData`)??e.A.EmptyArray,x=l?.get(`dummyWrapped`)??null,ee=n.X.normalizeA1ToR1C1,S=e.l.createConflatingRanges(),te=new Map,C=[],w=!1,T=!1,E=null,D=!1,O=e.l.createConflatingRanges(),k=!1,A=-1,j=-1,M=null,N=null,P=null,F=[],I=null,ne=-2,L=0,R=``,z=``,B=``,V=``,H=``,U=``,W=``,G=``,K=``,re=``,ie=``,ae=``,oe=``,se=``,q=!0,J=null,ce=!1,le=!1,ue=null,de=0;return{...a,onEnd:()=>{F.length>0&&(i.rows=n.X.runsToRefs(F,!1));let o=S.done(Se),s=o.length;if(s>0){let e=new Set;for(let t=0;t<C.length;t++)e.add(C[t][0].split(`:`)[0]);let t=Array(s);for(let r=0;r<s;r++){let i=o[r],a=n.X.rangeToString(i),s=i.value[1],c=n.X.resolveRelativeToA1(s,i.rowStart,i.colStart);c&&!e.has(a.split(`:`)[0])&&be(c)&&(c=`__sxl.INTERSECT(${c})`),t[r]=[a,c]}i.formulas=t}let c=O.done(!0),l=c.length;if(l>0){let e=Array(l);for(let t=0;t<l;t++){let r=c[t];e[t]=n.X.rangeToString(r)}i.volatile=e}C.length>0&&(i.formulaArray=[...C]);let u=f.length;if(u>0){f.sort(e.l.createRangeComparator(t.l.Axis.Column));let r=f[0],a=r.colStart,o=r.colEnd,s=r.rowEnd,c=r.value,l=[];l.push(r);let d=null;for(let e=1;e<u;e++)d=f[e],c!==d.value||a!==d.colStart||o!==d.colEnd||s+1!==d.rowEnd?(l.push(d),r=d,a=r.colStart,o=r.colEnd,s=r.rowEnd,c=r.value):(s=d.rowEnd,r.rowEnd=s);let p=l.length,m=Array(p);for(let e=0;e<p;e++){let t=l[e];m[e]=[n.X.rangeToString(t),t.value]}i.directStyles=m}let d=r.build();d&&(i.data=d.tuples),a?.onEnd?.()},onOpenTag:e=>{let r=e.name,o=r.indexOf(`:`);if(o!==-1&&(r=r.slice(o+1)),de++,de%196608==0&&s?.(de),N){let t=e.attributes;switch(r){case`v`:d=!0;break;case`f`:switch(p=!0,t.t??null){case null:case`normal`:break;case`shared`:let e=t.si;h=t.ref,m=e;break;case`array`:h=t.ref,E=h;break;case`datatable`:h=t.ref,p=!0}let e=t.ca;e!==void 0&&(D=e===`1`);break;case`is`:k=!0;return}k&&!p&&c?.onOpenTag?.(e);return}if(u){if(r===`c`){N=e;let r=e.attributes,i=r.r;j=n.X.fastStringToCol(i);let a=r.t;a===void 0?P=null:(P=a,P===`str`&&(k=!0));let o=r.s;o===void 0&&(ue!==null||le)&&(o=`0`),o!==void 0&&(o=parseInt(o),J&&J.value===o&&J.colEnd+1===j?J.colEnd=j:(J={colStart:j,rowStart:A,colEnd:j,rowEnd:A,value:o},f.push(J))),E=null,T=!1;let s=r.cm;w=s!==void 0&&(e=>{let t=l?.get(`metadata`)?.cells;if(!t)return!1;let n=parseInt(e,10);return!(!Number.isFinite(n)||n<1)&&!0===t[n-1]?.get(`XLDAPR`)?.fDynamic})(s);let c=r.vm;if(c!==void 0){let e=b[parseInt(c)-1];if(t.a.isError(e)){let n=e.getCode();M={t:`e`,v:n},w&&n===t.a.Code.Spill&&(T=!0)}}}}else{if(r===`row`){u=!0;let t=e.attributes.r;if(A=parseInt(t)-1,L=0,z=e.attributes.customHeight,z!==void 0&&(L|=xe.CustomHeight),z!==K&&(q=!0,K=z),R=e.attributes.ht,R!==void 0&&(L|=xe.Ht),R!==G&&(q=!0,G=R),B=e.attributes.hidden,B!==void 0&&(L|=xe.Hidden),B!==re&&(q=!0,re=B),H=e.attributes.s,H!==void 0&&(L|=xe.S),H!==ae&&(q=!0,ae=H),V=e.attributes.customFormat,V!==void 0&&(L|=xe.CustomFormat),V!==ie&&(q=!0,ie=V),U=e.attributes.outlineLevel,U!==void 0&&(L|=xe.OutlineLevel),U!==oe&&(q=!0,oe=U),W=e.attributes.collapsed,W!==void 0&&(L|=xe.Collapsed),W!==se&&(q=!0,se=W),L!==0)if(ne+1!==A||q){let e=z!==void 0&&(z===`1`||z===`true`),t=V!==void 0&&(V===`1`||V===`true`);ue=t&&H!==void 0?H:null,t&&ue===null&&(ue=`0`),I={min:A,max:A,value:{sz:R===void 0?-1:parseFloat(R),csz:e,h:B!==void 0&&(B===`1`||B===`true`),s:ue===null?void 0:ue===`0`?0:parseInt(ue),l:U===void 0||U===`0`?0:parseInt(U),cl:W!==void 0&&(W===`1`||W===`true`)}},F.push(I)}else I.max=A;ne=A,q=!1;return}if(!ce&&r===`sheetData`){ce=!0;let e=i.cols,t=e?e.length:0;for(let n=0;!le&&n<t;n++)e[n].v.s&&(le=!0)}a?.onOpenTag?.(e)}},onCloseTag:e=>{let t=e.name;if(!p||t!==`c`&&t!==`f`||(m&&(_=te.get(m)??null),_&&(S.append(A,j,_),D&&O.append(A,j)),E!==null&&C.push([E,w?T?`dynamicSpillError`:`dynamic`:`static`]),p=!1,_=null,m=null,h=null,d=!1,D=!1,E=null,w=!1,T=!1),N){let n=t.indexOf(`:`);if(n!==-1&&(t=t.slice(n+1)),k)if(t===`is`||t===`v`){let e=c?.onEnd?.();e!=null&&r.pushAt(A,j,``+e)}else t!==`f`&&c?.onCloseTag?.(e);d&&=!1,t===`c`&&(N=null,k=!1);return}if(u)return u=!1,void(J=null);a?.onCloseTag?.(e)},onText:e=>{let s=e.trim();if(d){switch(M=null,P){case null:case`n`:M=parseFloat(s);break;case`b`:M=s===`1`||s===`true`;break;case`s`:M=s;break;case`e`:if(s===`#VALUE!`){let e=N.attributes.vm;if(e!==void 0){let n=b[parseInt(e)-1];if(t.a.isError(n)){M={t:`e`,v:n.getCode()};break}}}let e=t.a.getBuiltInByLabel(s);e?M={t:`e`,v:e.getCode()}:(M=s,o?.(`Unknown formula error '${s}' in cell ${n.X.cellToString({colIndex:j,rowIndex:A})}`));break;case`str`:case`inlineStr`:k=!0}M!==null&&r.pushAt(A,j,M)}if(m){if(v===m)_=y;else{if(_=te.get(m)??null,!_){let e=[];g=ee(s,A,j,e),_=[g,e,s],te.set(m,_)}v=m,y=_}m=null}if(p){if(x!==null){let e=(e=>{if(e.length<pe.length||e.slice(0,pe.length).toUpperCase()!==me)return ge;let t=ve(e,pe.length);if(t===null||e.charCodeAt(t.end)!==41||e.charCodeAt(t.end+1)!==44||e.charCodeAt(e.length-1)!==41)return ge;let n=t.value;return n.toUpperCase()===he?_e:n.length===0?ge:{kind:`formula`,formula:n}})(s);e.kind!==`none`&&x.push({sheet:i,rowIndex:A,colIndex:j,formula:e.kind===`formula`?e.formula:null})}let e=[];g=ee(s,A,j,e),_=[g,e,s]}k?c?.onText?.(e):u||a?.onText?.(s)}}})(m,r,p.createEventHandler(r,()=>{},u),u,void 0,{onOpenTag:e=>{M=!0;let t=I(e.name);t===`t`||t===`v`?P===0&&(N=!0):t!==`rPh`&&t!==`phoneticPr`||P++},onText:e=>{N&&(F+=e)},onCloseTag:e=>{let t=I(e.name);t===`t`||t===`v`?N=!1:t!==`rPh`&&t!==`phoneticPr`||P>0&&P--},onEnd:()=>{if(!M)return;let e=s(o.O(F));return M=!1,N=!1,P=0,F=``,e},onError:e=>{}},f)})(r,(e,t=!1)=>P(e,p,t)??null,W,_,0,(e,t)=>{let n=t?`${t} (${p})`:p;v.push([e,n])},0,w),s=await j.getTextStream(p,te);if(s)try{await C.parseStream(s,i,{xmlns:!1})}catch(e){throw console.warn(`Error parsing sheet: '${p}'`,e),Error(`Error parsing sheet: '${p}'`,{cause:e})}let c,u=N(p,l),d=new Map;if(u){let t;if(u.forEach((e,t)=>{e.type===`http://schemas.microsoft.com/office/2017/10/relationships/threadedComment`&&(c=P(t,p,!1,l)?.comments,c&&c.forEach(e=>{let t=e.v;d.set(t.id,e)}))}),u.forEach((e,n)=>{e.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments`&&(t=P(n,p,!1,l))}),t||c){let n=c??[],i=t?.authors,o=t?.comments,s=o?o.length:0;if(o)for(let t=0;t<s;t++){let r=o[t];if(!r)continue;let s=r.v,c=i&&s.personId!==void 0?i[s.personId]:s.personId;if(c&&c.startsWith(`tc=`)&&(c=a.d(c.substring(3)),d.has(c)))continue;let l=R({displayName:c}),u={id:e.A.uuidV4(),personId:l.id,done:!1,asNote:!0,content:s.content};n.push({r:r.r,v:u})}r.comments=n}}})())}else if(f.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink`){let e=a.a(p,i,O,D,z);if(e&&Object.keys(e).length!==0){let t=e,n=[];N(p,l)?.forEach(e=>{e.targetMode===`External`&&e.type&&e.target&&n.push({type:e.type,target:e.target})}),t.identity=n,y=t}else y=null}else y=c?a.l(p,i,(e,t)=>{let n=u.add({source:{buffer:e}});return n.addReference(h),S.add(n),d.toResourceId(n)},z):a.a(p,i,O,D,z);return y};a.c(`coreprops`,s,i,O,D),a.c(`extprops`,s,i,O,D);let F=new Map,I=new Map,ne=a.c(`people`,s,i,O,D),L=null;if(ne.size>0&&(L=ne.entries().next()?.value?.[1]?.persons,L)){let e=L.length;for(let t=0;t<e;t++){let e=L[t];F.set(e.id,e),e.displayName!==void 0&&I.set(e.displayName,e)}}let R=t=>{if(!t)return;if(t.id&&F.has(t.id))return F.get(t.id);let n=t.displayName;if(!t.id){if(n){let e=I.get(n);if(e)return e}t.id=e.A.uuidV4()}let r=F.get(t.id);if(r)return r;let i=t;return F.set(t.id,i),n&&I.set(n,i),L||=[],L.push(i),i},z={paramMap:w,getRefs:N,getRef:P,parsedRefs:k,addPerson:R,serializeElement:M},B=[];if(c){let e=await j.getTextStream(c,te);if(e){let t=(()=>{let e=!1,t=!1,n=0,r=``;return{onOpenTag:i=>{let a=we(i.name);a===`t`?e&&n===0&&(t=!0):a===`si`?(e=!0,r=``,n=0):a!==`rPh`&&a!==`phoneticPr`||n++},onText:e=>{t&&(r+=e)},onCloseTag:i=>{let a=we(i.name);a===`t`?t=!1:a===`si`?((e=>{B.push(e)})(o.O(r)),e=!1,r=``):a!==`rPh`&&a!==`phoneticPr`||n>0&&n--},onError:e=>{(e=>{v.push([e,c])})(`Error parsing shared strings: ${e?.message??e}`)}}})();try{await C.parseStream(e,t,{xmlns:!1})}catch(e){throw console.warn(`Error parsing shared strings: '${c}'`,e),Error(`Error parsing shared strings: '${c}'`,{cause:e})}}}_?.mark(`shared-strings`);let V=B.length,H=new Map,U=V,W=e=>{let t=H.get(e);if(t!==void 0)return t;let n=U;return H.set(e,U++),B.push(e),n},G=[];s.slicersCache=G;let K=j.getNames(),re=K.length;for(let e=0;e<re;e++){let t=K[e];t&&t.startsWith(`xl/slicerCache`)&&G.push(`/${t}`)}let ie=a.c(`slicersCache`,s,i,O,D,z),ae=new Map;ie.forEach(e=>{let t=e.name;delete e.name,ae.set(t,e)}),w.set(`slicerCaches`,ae),a.c(`richstructure`,s,i,O,D,z),a.c(`richdata`,s,i,O,D,z);let oe=a.c(`themes`,s,i,O,D,z),se=null;if(oe&&oe.entries){let e=oe.entries().next();e?.value?.[1]&&(se=e.value[1])}let q=new n.Ht(se),J=a.c(`styles`,s,i,O,D,z).entries().next()?.value?.[1];J&&=JSON.parse(e.F.JSONStableStringify(J));let ce=a.c(`workbooks`,s,i,O,D,z);_?.mark(`side-parts-json`),await Promise.all(A),b&&ee>0&&(b(x,x),await new Promise(e=>setTimeout(e,0))),_?.mark(`sheets`);let le={...ce.entries().next().value?.[1],styles:J,theme:q.toJSON()};if(B.length>0&&(le.strings=B),L&&L.length>0&&(le.people=L),f){let e=j.getEntry(`xl/vbaProject.bin`);if(e)try{let{VBAProject:t}=await Promise.resolve().then(()=>require("./DG-AY_xO8RKHtEBE.cjs")),n=t.extract(e);n?(f?.(n),le.vba=n):v.push([`Unable to parse VBA project.`,`xl/vbaProject.bin`])}catch(e){v.push([`Error extracting VBA: ${e?.message??e}`,`xl/vbaProject.bin`])}}let ue=null,de={...m,resources:u,json:le,formulaTransform:o.z(()=>ue?.getCalculation())};de.disableLoadAutoFit===void 0&&(de.disableLoadAutoFit=!1),_?.mark(`json-assembled`);let Y=new r.m(de);if(ue=Y,_?.mark(`workbook-constructed`),T.length>0){await Y.whenCalculationReady();let e=new Map,t=le.sheets??[],n=Y.getSheets().getItems();for(let r=0;r<t.length;r++){let i=t[r]?.sheet,a=n[r];i&&a&&e.set(i,a)}((e,t,n)=>{if(t.length===0)return;let r=e.getCalculation().getFunctions(),i=new Map,a=e=>{let t=i.get(e);return t===void 0&&(t=r.getByName(e)!==null,i.set(e,t)),t},o=new Map;for(let e of t){let t=o.get(e.sheet);t||(t=[],o.set(e.sheet,t)),t.push(e)}for(let[e,t]of o){let r=n.get(e);if(!r)continue;let i=(e,t)=>`${e},${t}`,o=new Set;for(let e of t)e.formula===null&&o.add(i(e.rowIndex,e.colIndex));for(let e of t){if(e.formula===null)continue;let t=ye(e.formula),n=!0;for(let e of t)if(!a(e)){n=!1;break}if(!n)continue;let s=[],c=[[e.rowIndex,e.colIndex]],l=new Set([i(e.rowIndex,e.colIndex)]);for(;c.length>0;){let[e,t]=c.pop(),n=[[e+1,t],[e-1,t],[e,t+1],[e,t-1]];for(let[e,t]of n){let n=i(e,t);!l.has(n)&&o.has(n)&&(l.add(n),s.push([e,t]),c.push([e,t]))}}for(let[e,t]of s)o.delete(i(e,t)),r.getRange({rowStart:e,colStart:t,rowEnd:e,colEnd:t}).clear();r.getRange({rowStart:e.rowIndex,colStart:e.colIndex,rowEnd:e.rowIndex,colEnd:e.colIndex}).setValue(`=`+e.formula)}}})(Y,T,e)}if(S.forEach(e=>{e.deleteReference(h)}),d.endPersist(),g){o.a(g);let e=new Map,t=0;for(let n of j.getNames()){let r=j.getEntry(n);if(!r)continue;let i=j.getRawEntry(n),a=i?{data:r,uncompressedSize:j.uncompressedSize(n),raw:{compressedData:i.data,compressionMethod:i.compressionMethod,signature:i.signature}}:{data:r,uncompressedSize:j.uncompressedSize(n)};e.set(n,a),t+=r.byteLength}if(t>67108864)v.push([`Source package too large to retain (${t} bytes, limit ${o.n}); unmodeled parts will be dropped on save.`,`SourcePackage`]);else if(e.size>0){let t=new o.R(e);o.v(g,t);let n=Y.getSheets().getItems(),r=Y.getTransactions().addListener({onCommitEnd:e=>{let n=e.getOperation()?.name;n!==`insertCells`&&n!==`deleteCells`||t.markStructuralChange()}}),i=Y.addListeners({onSheetsChange:()=>{let e=Y.getSheets().getItems();(e.length!==n.length||e.some((e,t)=>e!==n[t]))&&t.markStructuralChange(),n=e}});Y.addListeners({onClose:()=>{r(),i(),o.a(g)}})}}if(v.length&&y?.onWarning)for(let e of v){let[t,n]=e;y.onWarning(t,n)}return _&&!0===p&&console.table(_.toTable()),Y}catch(t){let n=`Unable to parse XLSX.`;throw t instanceof e.C&&(n=`Unable to open XLSX. There are too many rows or columns.`),Error(n,{cause:t})}finally{await j.close().catch(()=>{})}};
1
+ const e=require("./BnccBYHCCq9TGFx4.cjs"),t=require("./DDPxHIqx8aIbqTRE.cjs"),n=require("./Crk724Yv2awixZFL.cjs"),r=require("./dJ3N_yPCcdiUsFNY.cjs"),i=require("./CHMgm0vAbEBS1mVW.cjs"),a=require("./BqJIWrtud1IdCny_.cjs"),o=require("./BeYzZkmTef6nGcoR.cjs");var s=new Uint8Array,c=class e{constructor(e,t,n){this.buffers=new Map,this.zip=e,this.entries=t,this.rawBuffer=n}static normalize(e){return e.startsWith(`/`)?e.slice(1):e}static async create(t){let n=t instanceof Blob?s:t instanceof Uint8Array?t:new Uint8Array(t),r=new o.L(t instanceof Blob?new o.u(t):new o.c(n)),i=new Map;for(let e of await r.getEntries())e.directory||i.set(e.filename,e);return new e(r,i,n)}getNames(){return[...this.entries.keys()]}has(t){return this.entries.has(e.normalize(t))}uncompressedSize(t){return this.entries.get(e.normalize(t))?.uncompressedSize??0}async getBuffer(t){let n=e.normalize(t),r=this.buffers.get(n);if(r)return r;let i=this.entries.get(n);if(!i)return null;let a=await i.getData(new o.m);return this.buffers.set(n,a),a}async prefetch(e){let t=[];for(let[n,r]of this.entries)!this.buffers.has(n)&&e(n,r)&&t.push(r.getData(new o.m).then(e=>{this.buffers.set(n,e)}));await Promise.all(t)}getEntry(t){return this.buffers.get(e.normalize(t))??null}async getTextStream(t,n){let r=this.entries.get(e.normalize(t));if(!r)return null;let i=new TransformStream;r.getData(i.writable).catch(()=>{});let a=i.readable.getReader(),o=new TextDecoder(`utf-8`);return new ReadableStream({async pull(e){let{value:t,done:r}=await a.read();if(r){let t=o.decode();t&&e.enqueue(t),e.close();return}n?.(t.byteLength);let i=o.decode(t,{stream:!0});i&&e.enqueue(i)}}).getReader()}getRawEntry(t){let n=this.entries.get(e.normalize(t));if(!n||n.encrypted)return null;let r=n.offset;if(r+30>this.rawBuffer.byteLength)return null;let i=new DataView(this.rawBuffer.buffer,this.rawBuffer.byteOffset+r,30);if(i.getUint32(0,!0)!==67324752)return null;let a=r+30+i.getUint16(26,!0)+i.getUint16(28,!0),o=a+n.compressedSize;return o>this.rawBuffer.byteLength?null:{data:this.rawBuffer.subarray(a,o),compressionMethod:n.compressionMethod,signature:n.signature}}async close(){await this.zip.close()}},l=class{constructor(e){this._sink=e,this._samples=[],this._t0=u(),this._tPrev=this._t0,this._heapPrev=d()}mark(e){let t=u(),n=d(),r={label:e,tMs:t-this._t0,dtMs:t-this._tPrev,heapBytes:n,dHeapBytes:n!==void 0&&this._heapPrev!==void 0?n-this._heapPrev:void 0,rssBytes:f()};this._tPrev=t,this._heapPrev=n,this._samples.push(r),this._sink?.(r)}samples(){return this._samples}toTable(){return this._samples.map(e=>({phase:e.label,tMs:Math.round(e.tMs),dtMs:Math.round(e.dtMs),heapMB:e.heapBytes===void 0?`—`:p(e.heapBytes/1048576),dHeapMB:e.dHeapBytes===void 0?`—`:p(e.dHeapBytes/1048576),rssMB:e.rssBytes===void 0?`—`:p(e.rssBytes/1048576)}))}},u=typeof performance==`object`&&typeof performance.now==`function`?()=>performance.now():()=>Date.now();function d(){let e=typeof performance==`object`?performance.memory:void 0;if(e&&typeof e.usedJSHeapSize==`number`)return e.usedJSHeapSize;let t=globalThis.process;return typeof t==`object`&&typeof t.memoryUsage==`function`?t.memoryUsage().heapUsed:void 0}function f(){let e=globalThis.process;if(typeof e==`object`&&typeof e.memoryUsage==`function`)return e.memoryUsage().rss}function p(e){return Math.round(10*e)/10}var m=`:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿`,h=`-${m}.0-9·̀-ͯ‿-⁀`,g=(RegExp(`^[${m}]$`,`u`),RegExp(`^[${h}]$`,`u`),RegExp(`^[${m}][${h}]*$`,`u`)),_=(RegExp(`^[${h}]+$`,`u`),[32,10,13,9]);function v(e){return e>=65&&e<=90||e>=97&&e<=122||e===58||e===95||e===8204||e===8205||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}var y=`:A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿`,b=`-${y}.0-9·̀-ͯ‿-⁀`;RegExp(`^[${y}]$`,`u`),RegExp(`^[${b}]$`,`u`),RegExp(`^[${y}][${b}]*$`,`u`),RegExp(`^[${b}]+$`,`u`);var x=`A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿`,ee=`-${x}.0-9·̀-ͯ‿-⁀`,S=(RegExp(`^[${x}]$`,`u`),RegExp(`^[${ee}]$`,`u`),RegExp(`^[${x}][${ee}]*$`,`u`));function te(e){return e>=65&&e<=90||e===95||e>=97&&e<=122||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}var C,w,T=function(e){return e===32||e===10||e===13||e===9},E=function(e){return e>=32&&e<=55295||e===10||e===13||e===9||e>=57344&&e<=65533||e>=65536&&e<=1114111},D=v,O=function(e){return v(e)||e>=48&&e<=57||e===45||e===46||e===183||e>=768&&e<=879||e>=8255&&e<=8256},k=_,A=g,j=function(e){return e>=1&&e<=55295||e>=57344&&e<=65533||e>=65536&&e<=1114111},M=te,N=function(e){return te(e)||e===45||e===46||e>=48&&e<=57||e===183||e>=768&&e<=879||e>=8255&&e<=8256},P=S,F=`http://www.w3.org/XML/1998/namespace`,I=`http://www.w3.org/2000/xmlns/`,ne={__proto__:null,xml:F,xmlns:I},L={__proto__:null,amp:`&`,gt:`>`,lt:`<`,quot:`"`,apos:`'`},R=-1,z=-2,B=13,V=33,H=10,U=60,W=61,G=62,K=63,re=93,ie=e=>e===34||e===39,ae=[34,39],oe=[...ae,91,G],se=[...ae,U,re],q=[W,K,...k],J=[...k,G,38,U];function ce(e,t,n){switch(t){case`xml`:n!==F&&e.fail(`xml prefix must be bound to ${F}.`);break;case`xmlns`:n!==I&&e.fail(`xmlns prefix must be bound to ${I}.`)}switch(n){case I:e.fail(t===``?`the default namespace may not be set to ${n}.`:`may not assign a prefix (even "xmlns") to the URI ${I}.`);break;case F:switch(t){case`xml`:break;case``:e.fail(`the default namespace may not be set to ${n}.`);break;default:e.fail(`may not assign the xml namespace to another prefix.`)}}}var le=e=>P.test(e),ue=e=>A.test(e),de={xmldecl:`xmlDeclHandler`,text:`textHandler`,processinginstruction:`piHandler`,doctype:`doctypeHandler`,comment:`commentHandler`,opentagstart:`openTagStartHandler`,attribute:`attributeHandler`,opentag:`openTagHandler`,closetag:`closeTagHandler`,cdata:`cdataHandler`,error:`errorHandler`,end:`endHandler`,ready:`readyHandler`},Y=class{get closed(){return this._closed}constructor(e){this.i=0,this.prevI=0,this.opt=e??{},this.fragmentOpt=!!this.opt.fragment;let t=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=!1!==this.opt.position,this.fileName=this.opt.fileName,t){this.nameStartCheck=M,this.nameCheck=N,this.isName=le,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns={__proto__:null,...ne};let e=this.opt.additionalNamespaces;e!=null&&(function(e,t){for(let n of Object.keys(t))ce(e,n,t[n])}(this,e),Object.assign(this.ns,e))}else this.nameStartCheck=D,this.nameCheck=O,this.isName=ue,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}_init(){this.openWakaBang=``,this.text=``,this.name=``,this.piTarget=``,this.entity=``,this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk=``,this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];let{fragmentOpt:e}=this;this.state=e?B:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=e,this.xmlDeclPossible=!e,this.xmlDeclExpects=[`version`],this.entityReturnState=void 0;let{defaultXMLVersion:t}=this.opt;if(t===void 0){if(!0===this.opt.forceXMLVersion)throw Error(`forceXMLVersion set but defaultXMLVersion is not set`);t=`1.0`}this.setXMLVersion(t),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(L),this.readyHandler?.()}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(e,t){this[de[e]]=t}off(e){this[de[e]]=void 0}makeError(e){let t=this.fileName??``;return this.trackPosition&&(t.length>0&&(t+=`:`),t+=`${this.line}:${this.column}`),t.length>0&&(t+=`: `),Error(t+e)}fail(e){let t=this.makeError(e),n=this.errorHandler;if(n===void 0)throw t;return n(t),this}write(e){if(this.closed)return this.fail(`cannot write after close.`);let t=!1;e===null?(t=!0,e=``):typeof e==`object`&&(e=e.toString()),this.carriedFromPrevious!==void 0&&(e=`${this.carriedFromPrevious}${e}`,this.carriedFromPrevious=void 0);let n=e.length,r=e.charCodeAt(n-1);!t&&(r===13||r>=55296&&r<=56319)&&(this.carriedFromPrevious=e[n-1],n--,e=e.slice(0,n));let{stateTable:i}=this;for(this.chunk=e,this.i=0;this.i<n;)i[this.state].call(this);return this.chunkPosition+=n,t?this.end():this}close(){return this.write(null)}getCode10(){let e=this.chunk,t=this.i;if(this.prevI=t,this.i++,t>=e.length)return R;let n=e.charCodeAt(t);if(this.column++,n<55296){if(n>=32||n===9)return n;switch(n){case H:return this.line++,this.column=0,this.positionAtNewLine=this.position,H;case 13:return e.charCodeAt(t+1)===H&&(this.i=t+2),this.line++,this.column=0,this.positionAtNewLine=this.position,z;default:return this.fail(`disallowed character.`),n}}if(n>56319)return n>=57344&&n<=65533||this.fail(`disallowed character.`),n;let r=65536+1024*(n-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,r>1114111&&this.fail(`disallowed character.`),r}getCode11(){let{chunk:e,i:t}=this;if(this.prevI=t,this.i=t+1,t>=e.length)return R;let n=e.charCodeAt(t);if(this.column++,n<55296){if(n>31&&n<127||n>159&&n!==8232||n===9)return n;switch(n){case H:return this.line++,this.column=0,this.positionAtNewLine=this.position,H;case 13:{let n=e.charCodeAt(t+1);n!==H&&n!==133||(this.i=t+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,z;default:return this.fail(`disallowed character.`),n}}if(n>56319)return n>=57344&&n<=65533||this.fail(`disallowed character.`),n;let r=65536+1024*(n-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,r>1114111&&this.fail(`disallowed character.`),r}getCodeNorm(){let e=this.getCode();return e===z?H:e}unGet(){this.i=this.prevI,this.column--}captureTo(e){let{i:t}=this,{chunk:n}=this;for(;;){let r=this.getCode(),i=r===z,a=i?H:r;if(a===R||e.includes(a))return this.text+=n.slice(t,this.prevI),a;i&&(this.text+=`${n.slice(t,this.prevI)}\n`,t=this.i)}}captureToChar(e){let{i:t}=this,{chunk:n}=this;for(;;){let r=this.getCode();switch(r){case z:this.text+=`${n.slice(t,this.prevI)}\n`,t=this.i,r=H;break;case R:return this.text+=n.slice(t),!1}if(r===e)return this.text+=n.slice(t,this.prevI),!0}}captureNameChars(){let{chunk:e,i:t}=this;for(;;){let n=this.getCode();if(n===R)return this.name+=e.slice(t),R;if(!O(n))return this.name+=e.slice(t,this.prevI),n===z?H:n}}skipSpaces(){for(;;){let e=this.getCodeNorm();if(e===R||!T(e))return e}}setXMLVersion(e){this.currentXMLVersion=e,e===`1.0`?(this.isChar=E,this.getCode=this.getCode10):(this.isChar=j,this.getCode=this.getCode11)}sBegin(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){let e=this.i,t=this.skipSpaces();switch(this.prevI!==e&&(this.xmlDeclPossible=!1),t){case U:if(this.state=15,this.text.length!==0)throw Error(`no-empty text at start`);break;case R:break;default:this.unGet(),this.state=B,this.xmlDeclPossible=!1}}sDoctype(){let e=this.captureTo(oe);switch(e){case G:this.doctypeHandler?.(this.text),this.text=``,this.state=B,this.doctype=!0;break;case R:break;default:this.text+=String.fromCodePoint(e),e===91?this.state=4:ie(e)&&(this.state=3,this.q=e)}}sDoctypeQuote(){let e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.q=null,this.state=2)}sDTD(){let e=this.captureTo(se);e!==R&&(this.text+=String.fromCodePoint(e),e===re?this.state=2:e===U?this.state=6:ie(e)&&(this.state=5,this.q=e))}sDTDQuoted(){let e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.state=4,this.q=null)}sDTDOpenWaka(){let e=this.getCodeNorm();switch(this.text+=String.fromCodePoint(e),e){case 33:this.state=7,this.openWakaBang=``;break;case K:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){let e=String.fromCodePoint(this.getCodeNorm()),t=this.openWakaBang+=e;this.text+=e,t!==`-`&&(this.state=t===`--`?8:4,this.openWakaBang=``)}sDTDComment(){this.captureToChar(45)&&(this.text+=`-`,this.state=9)}sDTDCommentEnding(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),this.state=e===45?10:8}sDTDCommentEnded(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===G?this.state=4:(this.fail(`malformed comment.`),this.state=8)}sDTDPI(){this.captureToChar(K)&&(this.text+=`?`,this.state=12)}sDTDPIEnding(){let e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===G&&(this.state=4)}sText(){this.tags.length===0?this.handleTextOutsideRoot():this.handleTextInRoot()}sEntity(){let{i:e}=this,{chunk:t}=this;t:for(;;)switch(this.getCode()){case z:this.entity+=`${t.slice(e,this.prevI)}\n`,e=this.i;break;case 59:{let n,{entityReturnState:r}=this,i=this.entity+t.slice(e,this.prevI);this.state=r,i===``?(this.fail(`empty entity name.`),n=`&;`):(n=this.parseEntity(i),this.entity=``),r===B&&this.textHandler===void 0||(this.text+=n);break t}case R:this.entity+=t.slice(e);break t}}sOpenWaka(){let e=this.getCode();if(D(e))this.state=34,this.unGet(),this.xmlDeclPossible=!1;else switch(e){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang=``,this.xmlDeclPossible=!1;break;case K:this.state=23;break;default:this.fail(`disallowed character in tag name`),this.state=B,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case`[CDATA[`:this.sawRoot||this.reportedTextBeforeRoot||(this.fail(`text data outside of root node.`),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail(`text data outside of root node.`),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang=``;break;case`--`:this.state=17,this.openWakaBang=``;break;case`DOCTYPE`:this.state=2,(this.doctype||this.sawRoot)&&this.fail(`inappropriately located doctype declaration.`),this.openWakaBang=``;break;default:this.openWakaBang.length>=7&&this.fail(`incorrect syntax.`)}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){let e=this.getCodeNorm();e===45?(this.state=19,this.commentHandler?.(this.text),this.text=``):(this.text+=`-${String.fromCodePoint(e)}`,this.state=17)}sCommentEnded(){let e=this.getCodeNorm();e===G?this.state=B:(this.fail(`malformed comment.`),this.text+=`--${String.fromCodePoint(e)}`,this.state=17)}sCData(){this.captureToChar(re)&&(this.state=21)}sCDataEnding(){let e=this.getCodeNorm();e===re?this.state=22:(this.text+=`]${String.fromCodePoint(e)}`,this.state=20)}sCDataEnding2(){let e=this.getCodeNorm();switch(e){case G:this.cdataHandler?.(this.text),this.text=``,this.state=B;break;case re:this.text+=`]`;break;default:this.text+=`]]${String.fromCodePoint(e)}`,this.state=20}}sPIFirstChar(){let e=this.getCodeNorm();this.nameStartCheck(e)?(this.piTarget+=String.fromCodePoint(e),this.state=24):e===K||T(e)?(this.fail(`processing instruction without a target.`),this.state=e===K?26:25):(this.fail(`disallowed character in processing instruction name.`),this.piTarget+=String.fromCodePoint(e),this.state=24)}sPIRest(){let{chunk:e,i:t}=this;for(;;){let n=this.getCodeNorm();if(n===R)return void(this.piTarget+=e.slice(t));if(!this.nameCheck(n)){this.piTarget+=e.slice(t,this.prevI);let r=n===K;r||T(n)?this.piTarget===`xml`?(this.xmlDeclPossible||this.fail(`an XML declaration must be at the start of the document.`),this.state=r?V:27):this.state=r?26:25:(this.fail(`disallowed character in processing instruction name.`),this.piTarget+=String.fromCodePoint(n));break}}}sPIBody(){if(this.text.length===0){let e=this.getCodeNorm();e===K?this.state=26:T(e)||(this.text=String.fromCodePoint(e))}else this.captureToChar(K)&&(this.state=26)}sPIEnding(){let e=this.getCodeNorm();if(e===G){let{piTarget:e}=this;e.toLowerCase()===`xml`&&this.fail(`the XML declaration must appear at the start of the document.`),this.piHandler?.({target:e,body:this.text}),this.piTarget=this.text=``,this.state=B}else e===K?this.text+=`?`:(this.text+=`?${String.fromCodePoint(e)}`,this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){let e=this.skipSpaces();e===K?this.state=V:e!==R&&(this.state=28,this.name=String.fromCodePoint(e))}sXMLDeclName(){let e=this.captureTo(q);if(e===K)return this.state=V,this.name+=this.text,this.text=``,void this.fail(`XML declaration is incomplete.`);if(T(e)||e===W){if(this.name+=this.text,this.text=``,!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail(`did not expect any more name/value pairs.`);break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(`, `)}`)}this.state=e===W?30:29}}sXMLDeclEq(){let e=this.getCodeNorm();if(e===K)return this.state=V,void this.fail(`XML declaration is incomplete.`);T(e)||(e!==W&&this.fail(`value required.`),this.state=30)}sXMLDeclValueStart(){let e=this.getCodeNorm();if(e===K)return this.state=V,void this.fail(`XML declaration is incomplete.`);T(e)||(ie(e)?this.q=e:(this.fail(`value must be quoted.`),this.q=32),this.state=31)}sXMLDeclValue(){let e=this.captureTo([this.q,K]);if(e===K)return this.state=V,this.text=``,void this.fail(`XML declaration is incomplete.`);if(e===R)return;let t=this.text;switch(this.text=``,this.name){case`version`:{this.xmlDeclExpects=[`encoding`,`standalone`];let e=t;this.xmlDecl.version=e,/^1\.[0-9]+$/.test(e)?this.opt.forceXMLVersion||this.setXMLVersion(e):this.fail(`version number must match /^1\\.[0-9]+$/.`);break}case`encoding`:/^[A-Za-z][A-Za-z0-9._-]*$/.test(t)||this.fail(`encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/.`),this.xmlDeclExpects=[`standalone`],this.xmlDecl.encoding=t;break;case`standalone`:t!==`yes`&&t!==`no`&&this.fail(`standalone value must match "yes" or "no".`),this.xmlDeclExpects=[],this.xmlDecl.standalone=t}this.name=``,this.state=32}sXMLDeclSeparator(){let e=this.getCodeNorm();e===K?this.state=V:(T(e)||(this.fail(`whitespace required.`),this.unGet()),this.state=27)}sXMLDeclEnding(){this.getCodeNorm()===G?(this.piTarget===`xml`?this.name!==`version`&&this.xmlDeclExpects.includes(`version`)&&this.fail(`XML declaration must contain a version.`):this.fail(`processing instructions are not allowed before root.`),this.xmlDeclHandler?.(this.xmlDecl),this.name=``,this.piTarget=this.text=``,this.state=B):this.fail(`The character ? is disallowed anywhere in XML declarations.`),this.xmlDeclPossible=!1}sOpenTag(){let e=this.captureNameChars();if(e===R)return;let t=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name=``,this.xmlnsOpt&&(this.topNS=t.ns=Object.create(null)),this.openTagStartHandler?.(t),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail(`documents may contain only one root.`),e){case G:this.openTag();break;case 47:this.state=35;break;default:T(e)||this.fail(`disallowed character in tag name.`),this.state=36}}sOpenTagSlash(){this.getCode()===G?this.openSelfClosingTag():(this.fail(`forward-slash in opening tag not followed by >.`),this.state=36)}sAttrib(){let e=this.skipSpaces();e!==R&&(D(e)?(this.unGet(),this.state=37):e===G?this.openTag():e===47?this.state=35:this.fail(`disallowed character in attribute name.`))}sAttribName(){let e=this.captureNameChars();e===W?this.state=39:T(e)?this.state=38:e===G?(this.fail(`attribute without value.`),this.pushAttrib(this.name,this.name),this.name=this.text=``,this.openTag()):e!==R&&this.fail(`disallowed character in attribute name.`)}sAttribNameSawWhite(){let e=this.skipSpaces();switch(e){case R:return;case W:this.state=39;break;default:this.fail(`attribute without value.`),this.text=``,this.name=``,e===G?this.openTag():D(e)?(this.unGet(),this.state=37):(this.fail(`disallowed character in attribute name.`),this.state=36)}}sAttribValue(){let e=this.getCodeNorm();ie(e)?(this.q=e,this.state=40):T(e)||(this.fail(`unquoted attribute value.`),this.state=42,this.unGet())}sAttribValueQuoted(){let{q:e,chunk:t}=this,{i:n}=this;for(;;)switch(this.getCode()){case e:this.pushAttrib(this.name,this.text+t.slice(n,this.prevI)),this.name=this.text=``,this.q=null,this.state=41;return;case 38:this.text+=t.slice(n,this.prevI),this.state=14,this.entityReturnState=40;return;case H:case z:case 9:this.text+=`${t.slice(n,this.prevI)} `,n=this.i;break;case U:this.text+=t.slice(n,this.prevI),this.fail(`disallowed character.`);return;case R:this.text+=t.slice(n);return}}sAttribValueClosed(){let e=this.getCodeNorm();T(e)?this.state=36:e===G?this.openTag():e===47?this.state=35:D(e)?(this.fail(`no whitespace between attributes.`),this.unGet(),this.state=37):this.fail(`disallowed character in attribute name.`)}sAttribValueUnquoted(){let e=this.captureTo(J);switch(e){case 38:this.state=14,this.entityReturnState=42;break;case U:this.fail(`disallowed character.`);break;case R:break;default:this.text.includes(`]]>`)&&this.fail(`the string "]]>" is disallowed in char data.`),this.pushAttrib(this.name,this.text),this.name=this.text=``,e===G?this.openTag():this.state=36}}sCloseTag(){let e=this.captureNameChars();e===G?this.closeTag():T(e)?this.state=44:e!==R&&this.fail(`disallowed character in closing tag.`)}sCloseTagSawWhite(){switch(this.skipSpaces()){case G:this.closeTag();break;case R:break;default:this.fail(`disallowed character in closing tag.`)}}handleTextInRoot(){let{i:e,forbiddenState:t}=this,{chunk:n,textHandler:r}=this;t:for(;;)switch(this.getCode()){case U:if(this.state=15,r!==void 0){let{text:t}=this,i=n.slice(e,this.prevI);t.length===0?i.length!==0&&r(i):(r(t+i),this.text=``)}t=0;break t;case 38:this.state=14,this.entityReturnState=B,r!==void 0&&(this.text+=n.slice(e,this.prevI)),t=0;break t;case re:switch(t){case 0:t=1;break;case 1:t=2;break;case 2:break;default:throw Error(`impossible state`)}break;case G:t===2&&this.fail(`the string "]]>" is disallowed in char data.`),t=0;break;case z:r!==void 0&&(this.text+=`${n.slice(e,this.prevI)}\n`),e=this.i,t=0;break;case R:r!==void 0&&(this.text+=n.slice(e));break t;default:t=0}this.forbiddenState=t}handleTextOutsideRoot(){let{i:e}=this,{chunk:t,textHandler:n}=this,r=!1;t:for(;;){let i=this.getCode();switch(i){case U:if(this.state=15,n!==void 0){let{text:r}=this,i=t.slice(e,this.prevI);r.length===0?i.length!==0&&n(i):(n(r+i),this.text=``)}break t;case 38:this.state=14,this.entityReturnState=B,n!==void 0&&(this.text+=t.slice(e,this.prevI)),r=!0;break t;case z:n!==void 0&&(this.text+=`${t.slice(e,this.prevI)}\n`),e=this.i;break;case R:n!==void 0&&(this.text+=t.slice(e));break t;default:T(i)||(r=!0)}}r&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail(`text data outside of root node.`),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail(`text data outside of root node.`),this.reportedTextAfterRoot=!0))}pushAttribNS(e,t){let{prefix:n,local:r}=this.qName(e),i={name:e,prefix:n,local:r,value:t};if(this.attribList.push(i),this.attributeHandler?.(i),n===`xmlns`){let e=t.trim();this.currentXMLVersion===`1.0`&&e===``&&this.fail(`invalid attempt to undefine prefix in XML 1.0`),this.topNS[r]=e,ce(this,r,e)}else if(e===`xmlns`){let e=t.trim();this.topNS[``]=e,ce(this,``,e)}}pushAttribPlain(e,t){let n={name:e,value:t};this.attribList.push(n),this.attributeHandler?.(n)}end(){this.sawRoot||this.fail(`document must contain a root element.`);let{tags:e}=this;for(;e.length>0;){let t=e.pop();this.fail(`unclosed tag: ${t.name}`)}this.state!==0&&this.state!==B&&this.fail(`unexpected end.`);let{text:t}=this;return t.length!==0&&(this.textHandler?.(t),this.text=``),this._closed=!0,this.endHandler?.(),this._init(),this}resolve(e){let t=this.topNS[e];if(t!==void 0)return t;let{tags:n}=this;for(let r=n.length-1;r>=0;r--)if(t=n[r].ns[e],t!==void 0)return t;return t=this.ns[e],t===void 0?this.opt.resolvePrefix?.(e):t}qName(e){let t=e.indexOf(`:`);if(t===-1)return{prefix:``,local:e};let n=e.slice(t+1),r=e.slice(0,t);return(r===``||n===``||n.includes(`:`))&&this.fail(`malformed name: ${e}.`),{prefix:r,local:n}}processAttribsNS(){let{attribList:e}=this,t=this.tag;{let{prefix:e,local:n}=this.qName(t.name);t.prefix=e,t.local=n;let r=t.uri=this.resolve(e)??``;e!==``&&(e===`xmlns`&&this.fail(`tags may not have "xmlns" as prefix.`),r===``&&(this.fail(`unbound namespace prefix: ${JSON.stringify(e)}.`),t.uri=e))}if(e.length===0)return;let{attributes:n}=t,r=new Set;for(let t of e){let e,i,{name:a,prefix:o,local:s}=t;o===``?(e=a===`xmlns`?I:``,i=a):(e=this.resolve(o),e===void 0&&(this.fail(`unbound namespace prefix: ${JSON.stringify(o)}.`),e=o),i=`{${e}}${s}`),r.has(i)&&this.fail(`duplicate attribute: ${i}.`),r.add(i),t.uri=e,n[a]=t}this.attribList=[]}processAttribsPlain(){let{attribList:e}=this,t=this.tag.attributes;for(let{name:n,value:r}of e)t[n]!==void 0&&this.fail(`duplicate attribute: ${n}.`),t[n]=r;this.attribList=[]}openTag(){this.processAttribs();let{tags:e}=this,t=this.tag;t.isSelfClosing=!1,this.openTagHandler?.(t),e.push(t),this.state=B,this.name=``}openSelfClosingTag(){this.processAttribs();let{tags:e}=this,t=this.tag;t.isSelfClosing=!0,this.openTagHandler?.(t),this.closeTagHandler?.(t),(this.tag=e[e.length-1]??null)===null&&(this.closedRoot=!0),this.state=B,this.name=``}closeTag(){let{tags:e,name:t}=this;if(this.state=B,this.name=``,t===``)return this.fail(`weird empty close tag.`),void(this.text+=`</>`);let n=this.closeTagHandler,r=e.length;for(;r-->0;){let r=this.tag=e.pop();if(this.topNS=r.ns,n?.(r),r.name===t)break;this.fail(`unexpected close tag: ${t}.`)}r===0?this.closedRoot=!0:r<0&&(this.fail(`unmatched closing tag: ${t}.`),this.text+=`</${t}>`)}parseEntity(e){if(e[0]!==`#`){let t=this.ENTITIES[e];return t===void 0?(this.fail(this.isName(e)?`undefined entity.`:`disallowed character in entity name.`),`&${e};`):t}let t=NaN;return e[1]===`x`&&/^#x[0-9a-f]+$/i.test(e)?t=parseInt(e.slice(2),16):/^#[0-9]+$/.test(e)&&(t=parseInt(e.slice(1),10)),this.isChar(t)?String.fromCodePoint(t):(this.fail(`malformed character entity.`),`&${e};`)}};(w=C||={}).Events={XmlDecl:`xmldecl`,Text:`text`,ProcessingInstruction:`processinginstruction`,Doctype:`doctype`,Comment:`comment`,OpenTagStart:`opentagstart`,Attribute:`attribute`,OpenTag:`opentag`,CloseTag:`closetag`,CDdata:`cdata`,Error:`error`,End:`end`,Ready:`ready`},w.parseStream=async(e,t,n)=>{let r,i=new Y({position:!1,...n});t.onOpenTagStart&&i.on(C.Events.OpenTagStart,t.onOpenTagStart),t.onOpenTag&&i.on(C.Events.OpenTag,t.onOpenTag),t.onCloseTag&&i.on(C.Events.CloseTag,t.onCloseTag),t.onAttribute&&i.on(C.Events.Attribute,t.onAttribute),t.onText&&i.on(C.Events.Text,t.onText),t.onError&&i.on(C.Events.Error,t.onError);let a=t.onEnd;for(a&&i.on(C.Events.End,()=>{r=a()});;){let{value:t,done:n}=await e.read();if(n)break;i.write(t)}return i.close(),r};var X=e=>!0===e||e===`1`||e===`on`||e===`true`||!1!==e&&e!==`0`&&e!==`off`&&e!==`false`&&null,Z=e=>{let t=parseInt(e);return isNaN(t)?null:t},Q=e=>{let t=parseFloat(e);return isNaN(t)?null:t},$=null,fe=class{constructor(){this._registeredVisitors=new Map}registerVisitor(e){this._registeredVisitors.set(e.from,e)}createEventHandler(e,t,n){let r=this._registeredVisitors,i=[],a=[],o=null,s=null,c=null,l=null,u=[],d={key:null,source:e,parent:null},f=null,p=!1,m=(e,t)=>{let n=c.attributes[e];if(t){if(Array.isArray(t)){let e=t.length;for(let r=0;r<e;r++)if(n==null||(n=t[r](n),n==null))return}else if(n==null||(n=t(n),n==null))return}return n},h={getSource:()=>f?.source??null,setSource:e=>{f.source=e},setKey:e=>{f.key=e},getFrom:()=>c,getAttribute:(e,t)=>m(e,t)??null,hasAttribute:e=>h.getAttribute(e)!==null,getParent:()=>{let e=u[u.length-2];return e.parent??e.source},getPath:()=>{let e=[],t=a.length;for(let n=0;n<t;n++)e.push(a[n].local);return e.join(`\\`)},parseAttribute:m,copyToObject:(e,t,n,r)=>{let i=m(r??t,n);i!==void 0&&(e[t]=i)},copyTo:(e,t,n)=>{let r=m(n??e,t);r!==void 0&&(f.source[e]=r)},warn:e=>{n?n?.(e):console.warn(e)}};return{onOpenTag:e=>{let t=e.name,n=t.indexOf(`:`);n!==-1&&(t=t.slice(n+1));let m=(i.length>0?i[i.length-1]:r).get(t);if(o={local:t,visitor:m,tag:e,destination:null},p)return a.push(o),s=t,void(c=e);l=o?.visitor??null,s=t,c=e;let g=!!m&&m.to===null;if(m&&!g&&m.scope){let e=m.scope(h);e===null?g=!0:e&&(i.push(e),o.pushedScope=!0)}m&&(a.length===0?(f=d,o.destination=f,o.pushedDestination=!0,u.push(f)):g?(f=null,o.destination=null):m.transparent?o.destination=f:(f={key:null,source:{},parent:null},o.destination=f,o.pushedDestination=!0,u.push(f))),a.push(o),p=g;let _=l?.openTag?.(h);_!==void 0&&(f.parent=_)},onCloseTag:e=>{let t=e.name,r=t.indexOf(`:`);if(r!==-1&&(t=t.slice(r+1)),t!==s)throw Error(`mismatch open/close tag: '${t}'/'${s}'`);p||l?.closeTag?.(h);let m=a.pop()??null;o=a[a.length-1]??null,m?.pushedScope&&i.pop();let g=m?.destination;if(g&&m.pushedDestination){u.pop(),f=u[u.length-1]??d;let e=m.visitor;e&&e.to&&g.source!==void 0&&(Array.isArray(e.to)?f.source.push?f.source.push(g.source):n?.(`Unable to parse array for ${e.from} at ${h.getPath()}`):g.key?f.source[g.key]=g.source:typeof e.to==`string`&&(f.source[e.to]=g.source))}s=o?.local??null,c=o?.tag??null,l=o?.visitor??null,p=!o?.destination},onText:e=>{l?.text?.(e,h)},onEnd:t}}},pe=`IFERROR(${o.h}(`,me=pe.toUpperCase(),he=o.x.toUpperCase(),ge={kind:`none`},_e={kind:`spilled`},ve=(e,t)=>{if(e.charCodeAt(t)!==34)return null;let n=``,r=t+1;for(;r<e.length;)if(e.charCodeAt(r)===34){if(e.charCodeAt(r+1)!==34)return{value:n,end:r+1};n+=`"`,r+=2}else n+=e[r],r++;return null},ye=e=>{let t=[],n=0;for(;n<e.length;){let r=e.charCodeAt(n);if(r===34){let t=ve(e,n);if(t===null)break;n=t.end;continue}if(!(r>=65&&r<=90||r>=97&&r<=122||r===95)){n++;continue}let i=n+1;for(;i<e.length;){let t=e.charCodeAt(i);if(!(t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57||t===95||t===46))break;i++}e.charCodeAt(i)===40&&t.push(e.slice(n,i).toUpperCase().replace(/^_XLFN\./,``).replace(/^_XLWS\./,``)),n=i}return t},be=e=>{let t=0,n=0;for(let r=0;r<e.length;r++){let i=e[r];if(i!==`"`&&i!==`'`){if(i===`[`)n++;else if(i===`]`)n>0&&n--;else if(n===0){if(i===`(`)t++;else if(i===`)`&&(t--,t<0))return!1}}else{for(r++;r<e.length;){if(e[r]===i){if(e[r+1]===i){r+=2;continue}break}r++}if(r>=e.length)return!1}}return t===0&&n===0},xe=class{static{this.Collapsed=1}static{this.CustomFormat=2}static{this.CustomHeight=4}static{this.Hidden=8}static{this.Ht=16}static{this.OutlineLevel=32}static{this.Ph=64}static{this.R=128}static{this.S=256}static{this.Spans=512}static{this.ThickBot=1024}static{this.ThickTop=2048}},Se=(e,t,n)=>{if(e[0].value[0]===e[1].value[0])return t},Ce={colStart:0,colEnd:0,rowStart:0,rowEnd:0},we=e=>{let t=e.indexOf(`:`);return t===-1?e:e.slice(t+1)},Te={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":`workbooks`,"application/vnd.ms-excel.sheet.macroEnabled.main+xml":`workbooks`,"application/vnd.ms-excel.sheet.binary.macroEnabled.main":`workbooks`,"application/vnd.ms-excel.addin.macroEnabled.main+xml":`workbooks`,"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":`workbooks`,"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":`sheets`,"application/vnd.ms-excel.worksheet":`sheets`,"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":`charts`,"application/vnd.ms-excel.chartsheet":`charts`,"application/vnd.ms-excel.macrosheet+xml":`macros`,"application/vnd.ms-excel.macrosheet":`macros`,"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":`dialogs`,"application/vnd.ms-excel.dialogsheet":`dialogs`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":`strs`,"application/vnd.ms-excel.sharedStrings":`strs`,"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":`styles`,"application/vnd.ms-excel.styles":`styles`,"application/vnd.openxmlformats-package.core-properties+xml":`coreprops`,"application/vnd.openxmlformats-officedocument.custom-properties+xml":`custprops`,"application/vnd.openxmlformats-officedocument.extended-properties+xml":`extprops`,"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":`comments`,"application/vnd.ms-excel.comments":`comments`,"application/vnd.ms-excel.threadedcomments+xml":`threadedcomments`,"application/vnd.ms-excel.person+xml":`people`,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":`metadata`,"application/vnd.ms-excel.sheetMetadata":`metadata`,"application/vnd.ms-excel.externalLink":`links`,"application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":`links`,"application/vnd.openxmlformats-officedocument.theme+xml":`themes`},Ee=e=>e.startsWith(`/`)?e.slice(1):e,De=/^xl\/(worksheets|chartsheets)\/[^/]+\.xml$/i;exports.readXLSX=async(s,u)=>{let{password:d,onVBA:f,profile:p,createWorkbookOptions:m={},...h}=u??{},g=m.origin&&typeof m.origin!=`string`?m.origin:null,_=p?new l(typeof p==`function`?p:void 0):null,v=[],y=u?.progress,b=y?.onProgress?y.onProgress.bind(y):void 0,x=s.byteLength,ee=0,S=0,te=b?e=>{if(ee<=0)return;S+=e;let t=Math.min(x,Math.round(S/ee*x));b(t,x)}:void 0,w=Promise.resolve().then(()=>require("./jQhVJbABYXmAnYFf.cjs")),T=null;try{T=new DOMParser}catch{}let E=null;try{E=new XMLSerializer}catch{}let D,O,k,A=null;T||(A=Promise.resolve().then(()=>require("./DLYEQZzAGuSAmJsp.cjs")).then(e=>i.t(e.default,1)));try{let[e,t]=await Promise.all([A,w]);D=new t.DOMTransformer,O=T??new e.DOMParser,k=E??new e.XMLSerializer}catch(e){throw Error(`Unable to load XLSX parser.`,{cause:e})}let j,M=e=>k.serializeToString(e);try{j=await c.create(s)}catch(t){throw new e.s(`Unable to parse as an Excel document. Try to save as '.xlsx' and try again.`,{cause:t})}_?.mark(`zip-open`);try{if(!j.has(`[Content_Types].xml`))throw new e.s(`Unable to parse as an Excel document. Try to save as '.xlsx' and try again.`);let i=e=>{let t=j.getEntry(e);return t?{content:t}:void 0},s={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],metadata:[],people:[],sst:``,style:``,defaults:{}};{let e=(e=>({onOpenTag:t=>{let n=(e=>{let t=e.indexOf(`:`);return t===-1?e:e.slice(t+1)})(t.name),r=t.attributes;if(n===`Override`){let t=r.ContentType,n=r.PartName;if(!t||!n)return;let i=Te[t],a=i?e[i]:void 0;Array.isArray(a)&&a.push(n)}else if(n===`Default`){let t=r.Extension,n=r.ContentType;t&&(e.defaults[t.toLowerCase()]=n)}},onEnd:()=>{e.sst=e.strs.length>0?e.strs[0]:``,e.style=e.styles.length>0?e.styles[0]:``},onError:e=>{(e=>{v.push([e,`[Content_Types].xml`])})(`Error parsing content types: ${e?.message??e}`)}}))(s),t=await j.getTextStream(`[Content_Types].xml`);if(!t)throw Error(`Error parsing content types: '[Content_Types].xml'`);try{await C.parseStream(t,e,{xmlns:!1})}catch(e){throw Error(`Error parsing content types: '[Content_Types].xml'`,{cause:e})}g&&await j.getBuffer(`[Content_Types].xml`)}_?.mark(`content-types`);let c=s.sst,l=new Set;for(let e of s.sheets)l.add(Ee(e));c&&l.add(Ee(c));for(let e of l)ee+=j.uncompressedSize(e);if(await j.prefetch(e=>!l.has(e)&&!De.test(e)),_?.mark(`prefetch-side-parts`),s.workbooks.length===0){let e=a.n(`_rels/.rels`,i,O,D);if(e){for(let t of e.values())if(t.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument`&&t.target){s.workbooks.push(t.target);break}}}if(s.workbooks.length===0)throw new e.s(`Unable to parse as an Excel document. Try to save as '.xlsx' and try again.`);s.richstructure=[`/xl/richData/rdrichvaluestructure.xml`],s.richdata=[`/xl/richData/rdrichvalue.xml`];let u=m?.resources??new n.Yt,d=u.beginPersist(),h={},S=new Set,w=new Map;w.set(`richTypes`,[]);let T=[];w.set(`dummyWrapped`,T);let E=a.c(`metadata`,s,i,O,D).entries().next()?.value?.[1]?.metadata;E&&w.set(`metadata`,E);let k=new Map,A=[],N=(e,t=k)=>{let n=e.lastIndexOf(`/`),r=e.substring(0,n+1)+`_rels/`+e.substring(n+1,e.length)+`.rels`,o=t.get(r);return o||(o=a.n(r,i,O,D,z),t.set(r,o)),o},P=(r,s,c,l=k)=>{let f=N(s,l).get(r),p=f?.target;if(!p)return null;if(f.targetMode===`External`){if(!c)return f.target;let e=u.add({source:{external:f.target}});return e.addReference(h),S.add(e),d.toResourceId(e)}let m=s.lastIndexOf(`/`),g=s.substring(0,m+1);p.startsWith(`/`)||(p=g+p),p=a.u(p);let _=D?.getVisitorParamsState().get(`dxfs`),y=l.get(p);if(!y)if(f.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet`){let r={};y=r,A.push((async()=>{let i=((r,i,s,c,l,u,d,f)=>{let p=new fe,m=new n.r.TransposedBuilder,h=null;p.registerVisitor({from:`autoFilter`,to:`autoTable`,openTag:e=>{let t=e.getAttribute(`ref`),r=n.X.fastStringToRange(t);e.getSource().r=r,e.getSource().v={}},closeTag:e=>{let t=e.getSource(),n=t.v,r=n.hiddenButtons;if(Array.isArray(r)){let e=r.length,i=t.r,a=i.colEnd-i.colStart+1;e===0?n.hiddenButtons=!1:e===a&&(n.hiddenButtons=!0)}}}),p.registerVisitor({from:`conditionalFormatting`,to:{},openTag:e=>{let t=e.getParent();t.conditionals||=[];let n=e.getAttribute(`sqref`);n&&=n.trim().split(/\s+/).join(`,`);let r={r:n,conditionals:t.conditionals},i=e.getAttribute(`pivot`,X);i!==null&&(r.pivot=i),e.setSource(r)}}),p.registerVisitor({from:`cfRule`,to:{},openTag:e=>{let t=e.getParent();if(!t?.r)return;let n=e.getSource()??{};t.pivot!==void 0&&(n.pivot=t.pivot),t.conditionals.push({r:t.r,v:null,rule:n}),e.copyToObject(n,`type`,$),e.copyToObject(n,`priority`,Z),e.copyToObject(n,`stopIfTrue`,X);let r=e.getAttribute(`dxfId`,Z);if(r!==null){let t=c?.get(r);t||=(u?.(`Unable to load conditional color. Invalid dxfI: '${r}' at '${e.getPath()}'.`),{}),n.style=t}e.copyToObject(n,`aboveAverage`,X),e.copyToObject(n,`equalAverage`,X),e.copyToObject(n,`stdDev`,Z),e.copyToObject(n,`bottom`,X),e.copyToObject(n,`percent`,X),e.copyToObject(n,`rank`,Z),e.copyToObject(n,`operator`,$),e.copyToObject(n,`text`,$),e.copyToObject(n,`timePeriod`,$)},closeTag:e=>{let t=e.getParent();if(!t?.r)return;let n=t.conditionals[t.conditionals.length-1],r=n?.rule;if(!r)return;let i={},a=o.i(r,u);a&&(i.condition=a),r.style&&(i.style=r.style),r.scale&&(i.scale=r.scale),r.stopIfTrue&&(i.stopIfTrue=!0),r.pivot&&(i.pivot=!0),n.v=i,n.priority=r.priority,r.x14Id&&(n.x14Id=r.x14Id),delete n.rule}});let g=e=>{let t=e.conditions??[],n=[];for(let e=0;e<t.length;e++){let r=t[e],i={};r.type&&(i.type=r.type),r.value!==void 0&&(i.value=r.value),r.exclusive&&(i.exclusive=!0),n.push(i)}return n};p.registerVisitor({from:`colorScale`,to:{},openTag:e=>{},closeTag:e=>{let t=e.getSource(),r=t.colors??[],i=g(t);for(let e=0;e<i.length;e++)i[e].color=r[e];e.getParent().scale={type:n.ct.ScaleType.ColorScale,stops:i}}}),p.registerVisitor({from:`dataBar`,to:{},openTag:e=>{e.copyTo(`maxLength`,Z),e.copyTo(`minLength`,Z),e.copyTo(`showValue`,X)},closeTag:e=>{let t=e.getSource(),r={type:n.ct.ScaleType.DataBar,stops:g(t)},i=t.colors?.[0];i&&(r.color=i),t.minLength!==void 0&&(r.minLength=t.minLength),t.maxLength!==void 0&&(r.maxLength=t.maxLength),t.showValue!==void 0&&(r.showValue=t.showValue),e.getParent().scale=r}}),p.registerVisitor({from:`iconSet`,to:{},openTag:e=>{e.copyTo(`iconSet`,$),e.copyTo(`reverse`,X),e.copyTo(`showValue`,X)},closeTag:e=>{let t=e.getSource(),r={type:n.ct.ScaleType.IconSet,stops:g(t)};t.iconSet!==void 0&&(r.iconSet=t.iconSet),t.reverse!==void 0&&(r.reverse=t.reverse),t.showValue!==void 0&&(r.showValue=t.showValue),e.getParent().scale=r}}),p.registerVisitor({from:`formula`,to:{},text:(e,t)=>{let n=t.getParent(),r=n.formulas;r||(r=[],n.formulas=r),r.push(e)}}),p.registerVisitor({from:`cfvo`,to:{},openTag:e=>{let t=e.getParent();t.conditions||=[];let r=e.getSource();t.conditions.push(r),e.copyTo(`type`,$),r.type===n.ct.ColorStopType.Formula?e.copyTo(`value`,$,`val`):e.copyTo(`value`,Q,`val`),!1===e.getAttribute(`gte`,X)&&(r.exclusive=!0)}}),p.registerVisitor({from:`color`,to:{},openTag:e=>{let t=e.getParent();t.colors||=[];let n=a.o(t=>e.getAttribute(t));t.colors.push(n)}}),p.registerVisitor({from:`filterColumn`,to:{},openTag:e=>{let t=e.getParent().v,n=parseInt(e.getAttribute(`colId`)),r=e.getSource();r.index=n;let i=t.filter;i||(i={conditions:[]},t.filter=i);let a=i.conditions;if(a||(a=[],i.conditions=a),a.push(r),e.getAttribute(`hiddenButton`,X)&&t){let e=t.hiddenButtons;e||(e=[],t.hiddenButtons=e),e.push(n)}if(e.getAttribute(`showButton`,X)&&t){let e=t.showButtons;e||(e=[],t.showButtons=e),e.push(n)}return r}}),p.registerVisitor({from:`colorFilter`,openTag:e=>{let t=e.getParent(),r={};t.operator=n.F.BuiltInOperatorNames.Color,t.param=r,e.copyToObject(r,`cellColor`),e.copyToObject(r,`styleId`,Z,`dxfId`)}}),p.registerVisitor({from:`iconFilter`,openTag:e=>{let t=e.getParent(),r={};t.operator=n.F.BuiltInOperatorNames.Icon,t.param=r,e.copyToObject(r,`iconId`,Z),e.copyToObject(r,`iconSet`,$)}}),p.registerVisitor({from:`top10`,openTag:e=>{let t=e.getParent(),r={};t.operator=n.F.BuiltInOperatorNames.TopN,t.param=r,e.copyToObject(r,`filterVal`,Q),e.copyToObject(r,`percent`,X),e.copyToObject(r,`top`,X),e.copyToObject(r,`limit`,Q,`val`)}}),p.registerVisitor({from:`dynamicFilter`,openTag:e=>{let t=e.getParent(),r={};t.operator=n.F.BuiltInOperatorNames.TimePeriod,t.param=r;let i=e.getAttribute(`type`);Object.values(n.F.AverageType).includes(i)?(t.operator=n.F.BuiltInOperatorNames.Average,e.copyToObject(r,`stdDevs`,Z,`val`)):e.copyToObject(r,`anchorDate`,Z,`val`),e.copyToObject(r,`operator`,$,`type`),e.copyToObject(r,`maxVal`,Q,`maxVal`)}}),p.registerVisitor({from:`filters`,to:{},openTag:e=>{let t=e.getParent(),r={};return t.operator=n.F.BuiltInOperatorNames.InSet,t.param=r,e.copyToObject(r,`blank`,X),e.copyToObject(r,`calendarType`,$),r}}),p.registerVisitor({from:`filter`,openTag:e=>{let t=e.getParent(),n=t.items;n||(n=[],t.items=n),n.push(e.getAttribute(`val`,$))}}),p.registerVisitor({from:`dateGroupItem`,to:{},openTag:e=>{let t=e.getParent(),n=t.dateGroups;n||(n=[],t.dateGroups=n),n.push(e.getSource()),e.copyTo(`group`,$,`dateTimeGrouping`),e.copyTo(`day`,Z),e.copyTo(`hour`,Z),e.copyTo(`minute`,Z),e.copyTo(`month`,Z),e.copyTo(`second`,Z),e.copyTo(`year`,Z)}}),p.registerVisitor({from:`customFilters`,openTag:e=>{let t=e.getParent(),r=e.getAttribute(`and`),i=r===`and`||r===`1`;e.getAttribute(`val`);let a=[];return t.operator=i?n.F.BuiltInOperatorNames.And:n.F.BuiltInOperatorNames.Or,t.param={conditions:a},e.setSource(t),a},closeTag:e=>{e.getSource().param.conditions.length}}),p.registerVisitor({from:`customFilter`,openTag:e=>{let t,n=e.getParent();Array.isArray(n)?(t={},n.push(t)):t=n,e.copyToObject(t,`operator`),e.copyToObject(t,`param`,$,`val`)}}),p.registerVisitor({from:`sortState`,to:{},openTag:e=>{let t=e.getParent(),n=t.v;n&&(n.sort={},e.setSource(t))}}),p.registerVisitor({from:`sortCondition`,to:{},openTag:e=>{let t=e.getParent(),r=t.v;if(!r)return;let i=r.sort;if(!i)return;let a=i.sorts;a||(a=[],i.sorts=a);let o=e.getAttribute(`ref`),s=0;if(o){let e=n.X.fastStringToRange(o,Ce).colStart,r=t.r,i=r.colStart;s=r?e-i:e}let c={};e.copyToObject(c,`sortOn`,$,`sortBy`),e.copyToObject(c,`dxfId`,$,`sortBy`),e.copyToObject(c,`iconSet`,$),e.copyToObject(c,`customList`,$),c.reverse=e.getAttribute(`descending`,X)??!1;let l={index:s,criteria:c};a.push(l)}}),p.registerVisitor({from:`AlternateContent`,to:null});let _=e=>{h=e.getSource(),e.copyTo(`topLeft`,$,`topLeftCell`);let t=a.p(e.getAttribute(`defaultGridColor`)),n=e.getAttribute(`colorId`);n===null||t||(e.getSource().gridLineColor=`index`+parseFloat(n)),e.copyTo(`showZeros`,X),e.copyTo(`showFormulas`,X),e.copyTo(`zoomScale`,Z),e.copyTo(`showRowHeaders`,X,`showRowColHeaders`),e.copyTo(`showColumnHeaders`,X,`showRowColHeaders`),e.copyTo(`showRowGridlines`,X,`showGridLines`),e.copyTo(`showColumnGridlines`,X,`showGridLines`),e.copyTo(`rightToLeft`,X)};p.registerVisitor({from:`sheetView`,to:`view`,openTag:e=>{_(e)},closeTag:()=>{h=null}}),p.registerVisitor({from:`customSheetViews`,to:`customSheetViews`,openTag:e=>{e.setSource([])}}),p.registerVisitor({from:`customSheetView`,to:[],openTag:e=>{_(e)},closeTag:()=>{h=null}}),p.registerVisitor({from:`selection`,to:`selection`,openTag:e=>{if(!h)return;e.copyTo(`cell`,$,`activeCell`),e.copyTo(`rangeIndex`,Z,`activeCellId`);let t=e.getAttribute(`activeCell`),n=e.getAttribute(`sqref`);n&&n!==t&&(e.getSource().ranges=n.trim().split(/\s+/))}}),p.registerVisitor({from:`pane`,to:null,openTag:e=>{if(h&&e.getAttribute(`state`)===`frozen`){let t={};h.freezePanes=t,e.copyToObject(t,`topLeft`,$,`topLeftCell`);let r=(h.topLeft?n.X.fastStringToCell(h.topLeft):void 0)??{colIndex:0,rowIndex:0},i={colIndex:0,rowIndex:0};e.copyToObject(i,`colIndex`,Z,`xSplit`),e.copyToObject(i,`rowIndex`,Z,`ySplit`);let a={colIndex:r.colIndex+i.colIndex,rowIndex:r.rowIndex+i.rowIndex};t.coords=n.X.cellToString(a)}}}),p.registerVisitor({from:`tabColor`,to:null,openTag:e=>{let t=a.o(t=>e.getAttribute(t));t&&(r.tabColor=t)}}),p.registerVisitor({from:`pageSetUpPr`,to:`pageSetUpPr`,openTag:e=>{}}),p.registerVisitor({from:`outlinePr`,to:`outlinePr`,openTag:e=>{}}),p.registerVisitor({from:`pageMargins`,to:`pageMargins`,openTag:e=>{e.copyTo(`bottom`,Q),e.copyTo(`footer`,Q),e.copyTo(`header`,Q),e.copyTo(`left`,Q),e.copyTo(`right`,Q),e.copyTo(`top`,Q),e.copyTo(`bottom`,Q)}}),p.registerVisitor({from:`pageSetup`,to:`pageSetup`,openTag:e=>{e.copyTo(`blackAndWhite`,X),e.copyTo(`cellComments`),e.copyTo(`copies`,Z),e.copyTo(`draft`,X),e.copyTo(`errors`),e.copyTo(`firstPageNumber`,Z),e.copyTo(`fitToHeight`,Z),e.copyTo(`fitToWidth`,Z),e.copyTo(`horizontalDpi`,Z),e.copyTo(`orientation`),e.copyTo(`pageOrder`),e.copyTo(`paperSize`,Z),e.copyTo(`scale`,Z),e.copyTo(`useFirstPageNumber`,X),e.copyTo(`usePrinterDefaults`,X),e.copyTo(`verticalDpi`,Z)}}),p.registerVisitor({from:`printOptions`,to:`printOptions`,openTag:e=>{e.copyTo(`gridLines`,X),e.copyTo(`gridLinesSet`,X),e.copyTo(`headings`,X),e.copyTo(`horizontalCentered`,X),e.copyTo(`verticalCentered`,X)}}),p.registerVisitor({from:`headerFoot`,to:`headerFoot`,openTag:e=>{}}),p.registerVisitor({from:`mergeCells`,to:`merges`,openTag:e=>{e.setSource([])}}),p.registerVisitor({from:`dataValidations`,to:`validations`,openTag:e=>{e.setSource([])}});let v={from:`dataValidation`,to:[],openTag:e=>{let t=e.getAttribute(`sqref`);t&&=t.trim().split(/\s+/).join(`,`);let n={},r={r:t,v:n,rule:{type:e.getAttribute(`type`)??void 0,operator:e.getAttribute(`operator`)??void 0}};!0===e.getAttribute(`showDropDown`,X)&&(n.hideDropdown=!0),e.copyToObject(n,`alert`,$,`error`),e.copyToObject(n,`alertTitle`,$,`errorTitle`),e.copyToObject(n,`showAlertMessage`,X,`showErrorMessage`),n.alertStyle=e.getAttribute(`errorStyle`)??`stop`,e.copyToObject(n,`imeMode`),e.copyToObject(n,`prompt`),e.copyToObject(n,`promptTitle`),e.copyToObject(n,`showPromptMessage`,X,`showInputMessage`),e.setSource(r)},closeTag:e=>{let t=e.getSource();if(!t?.rule)return;let n=o.r(t.rule,u);n&&(e.getAttribute(`allowBlank`,X)&&(n.includeBlanks=!0),t.v.condition=n),delete t.rule}};p.registerVisitor(v),p.registerVisitor({from:`formula1`,to:{},text:(e,t)=>{let n=t.getParent().rule;n?.type&&(n.formula1=o.S(e,n.type))}}),p.registerVisitor({from:`formula2`,to:{},text:(e,t)=>{let n=t.getParent().rule;n?.type&&(n.formula2=o.S(e,n.type))}}),p.registerVisitor({from:`picture`,to:`picture`,openTag:e=>{let t=e.getAttribute(`r:id`);if(!t)return void console.warn(`no rId found for picture`,e.getPath());let n=i(t,!0);e.getSource().resId=n}});let y={from:`slicer`,to:{},openTag:e=>{let t=e.getAttribute(`r:id`);if(!t)return void console.warn(`no rId found for picture`,e.getPath());let n=i(t)?.slicers,r=e.getParent();r.slicers||={};let a=Object.keys(n);for(let e of a)r.slicers[e]=n[e]}};p.registerVisitor(y);let b=(e,t)=>({from:e,to:{},openTag:e=>{e.setSource(``)},text:(e,t)=>{t.setSource((t.getSource()??``)+e)},closeTag:e=>{t(String(e.getSource()??``),e)}}),x=new Map;x.set(`dataValidations`,{from:`dataValidations`,to:`validations`,openTag:e=>{let t=e.getParent();e.setSource(t.validations??[])},closeTag:e=>{(e.getSource()?.length??0)===0&&e.setSource(void 0)}}),x.set(`dataValidation`,{...v,closeTag:e=>{v.closeTag(e);let t=e.getSource();t&&!t.r&&(e.warn(`x14 dataValidation with no xm:sqref was dropped.`),e.setSource(void 0))}});let ee=e=>({from:e,to:{},openTag:t=>{t.setSource({rule:t.getParent()?.rule,key:e})}});x.set(`formula1`,ee(`formula1`)),x.set(`formula2`,ee(`formula2`)),x.set(`f`,b(`f`,(e,t)=>{let n=t.getParent(),r=n?.rule;r&&(r[n.key]=o.S(e,r.type))})),x.set(`sqref`,b(`sqref`,(e,t)=>{let n=t.getParent(),r=e.trim();n&&r&&(n.r=r.split(/\s+/).join(`,`))}));let S=new Map,te=[],C=new Map;C.set(`conditionalFormattings`,{from:`conditionalFormattings`,transparent:!0}),C.set(`conditionalFormatting`,{from:`conditionalFormatting`,to:{},openTag:e=>{e.setSource({rules:[]})},closeTag:e=>{let t=e.getSource(),n=t?.rules??[];for(let e=0;e<n.length;e++){let r=n[e];r.sqref=t.sqref,r.id?S.set(r.id,r):te.push(r)}}}),C.set(`cfRule`,{from:`cfRule`,to:{},openTag:e=>{e.copyTo(`id`,$),e.copyTo(`type`,$),e.copyTo(`priority`,Z)},closeTag:e=>{let t=e.getSource();t&&e.getParent()?.rules?.push(t)}}),C.set(`sqref`,b(`sqref`,(e,t)=>{let n=t.getParent(),r=e.trim();n&&r&&(n.sqref=r)})),C.set(`dataBar`,{from:`dataBar`,to:{},openTag:e=>{e.copyTo(`minLength`,Z),e.copyTo(`maxLength`,Z),e.copyTo(`gradient`,X),e.copyTo(`border`,X),e.copyTo(`direction`,$),e.copyTo(`axisPosition`,$),e.copyTo(`negativeBarColorSameAsPositive`,X),e.copyTo(`negativeBarBorderColorSameAsPositive`,X)},closeTag:e=>{e.getParent().dataBar=e.getSource()}}),C.set(`iconSet`,{from:`iconSet`,to:{},openTag:e=>{e.copyTo(`iconSet`,$),e.copyTo(`custom`,X),e.copyTo(`reverse`,X),e.copyTo(`showValue`,X)},closeTag:e=>{e.getParent().iconSet=e.getSource()}}),C.set(`cfvo`,{from:`cfvo`,to:{},openTag:e=>{let t=e.getParent();t.conditions||=[];let n=e.getSource();t.conditions.push(n),e.copyTo(`type`,$),!1===e.getAttribute(`gte`,X)&&(n.exclusive=!0)}}),C.set(`f`,b(`f`,(e,t)=>{let n=t.getParent();if(!n)return;let r=e.trim(),i=Number(r);n.value=r.length>0&&Number.isFinite(i)?i:e}));let w=e=>({from:e,to:{},openTag:t=>{let n=a.o(e=>t.getAttribute(e));n&&(t.getParent()[e]=n)}});C.set(`borderColor`,w(`borderColor`)),C.set(`negativeFillColor`,w(`negativeFillColor`)),C.set(`negativeBorderColor`,w(`negativeBorderColor`)),C.set(`axisColor`,w(`axisColor`)),C.set(`cfIcon`,{from:`cfIcon`,to:{},openTag:e=>{let t=e.getAttribute(`iconSet`),n=e.getAttribute(`iconId`,Z);if(t===null||n===null)return;let r=e.getParent();r.icons||=[],r.icons.push({set:t,id:n})}});let T=new Map;T.set(`id`,b(`id`,(e,t)=>{let n=t.getParent(),r=e.trim();n&&r&&(n.x14Id=r)}));let E=new Map;E.set(`slicerList`,{from:`slicerList`,transparent:!0}),E.set(`slicer`,y);let D=new Map([[o.t(o.s),x],[o.t(o.p),C],[o.t(o.H),C],[o.t(o.f),T],[o.t(o.M),E],[o.t(o.j),E]]),O=new Set;p.registerVisitor({from:`extLst`,transparent:!0}),p.registerVisitor({from:`ext`,transparent:!0,scope:e=>{let t=e.getAttribute(`uri`),n=o.t(t),r=D.get(n);if(r)return r;if(!o.b.has(n)&&!O.has(n)){O.add(n);let r=o.N[n];e.warn(r?`Extension content '${r}' (${t}) is not read; it will be lost on resave.`:`Unknown extension content (uri ${t}) is not read; it will be lost on resave.`)}return null}}),p.registerVisitor({from:`mergeCell`,to:[],openTag:e=>{let t=e.getAttribute(`ref`);e.setSource(t)}}),p.registerVisitor({from:`hyperlinks`,to:`hyperlinks`,openTag:e=>{e.setSource([])}}),p.registerVisitor({from:`hyperlink`,to:[],openTag:e=>{let t=e.getAttribute(`r:id`),n=e.getAttribute(`ref`);if(!n)return void console.warn(`No ref found for hyperlink`);e.setKey(n);let r=t?i(t):``;if(typeof r!=`string`)return void console.warn(`Invalid address `,r);r.endsWith(`\\`)&&(r=r.substring(0,r.length-1));let a=e.getAttribute(`location`);if(a&&(r+=`#`+a),!r)return void console.warn(`No address found for hyperlink. r:id`,t);let o,s=e.getAttribute(`tooltip`);o=s?{address:r,screenTip:s}:r,e.setSource({r:n,v:o})}}),p.registerVisitor({from:`drawing`,to:`movables`,openTag:e=>{let t=e.getAttribute(`r:id`);if(!t)return;let n=i(t);n?e.setSource(n.movables):console.warn(`no drawing found for rId`,t)}}),p.registerVisitor({from:`tableParts`,to:`tables`,openTag:e=>{e.setSource([])}}),p.registerVisitor({from:`tablePart`,to:[],openTag:e=>{let t=e.getAttribute(`r:id`);if(!t)return;let n=i(t);n?e.setSource(n):console.warn(`no table found for rId`,t)}});let k=(e,t)=>{t.conditions?.length&&(e.stops=g(t)),t.minLength!==void 0&&(e.minLength=t.minLength),t.maxLength!==void 0&&(e.maxLength=t.maxLength),(t.gradient??1)&&(e.gradient=!0),t.border&&t.borderColor&&(e.borderColor=t.borderColor),!t.negativeBarColorSameAsPositive&&t.negativeFillColor&&(e.negativeFillColor=t.negativeFillColor),!(t.negativeBarBorderColorSameAsPositive??1)&&t.negativeBorderColor&&(e.negativeBorderColor=t.negativeBorderColor),t.axisColor&&(e.axisColor=t.axisColor),t.axisPosition!==`middle`&&t.axisPosition!==`none`||(e.axisPosition=t.axisPosition),t.direction!==`leftToRight`&&t.direction!==`rightToLeft`||(e.direction=t.direction)},A=(e,t)=>{t.conditions?.length&&(e.stops=g(t)),t.iconSet&&t.iconSet!==e.iconSet&&(e.iconSet=t.iconSet),t.icons?.length&&(e.icon=t.icons),t.reverse!==void 0&&(e.reverse=t.reverse),t.showValue!==void 0&&(e.showValue=t.showValue)},j=e=>{if(e.type!==`iconSet`||!e.iconSet||!e.sqref)return null;let t={type:n.ct.ScaleType.IconSet,stops:[]};return A(t,e.iconSet),{r:e.sqref.split(/\s+/).join(`,`),v:{scale:t},priority:e.priority}};p.registerVisitor({from:`worksheet`,to:{},openTag:e=>{},closeTag:e=>{let t=e.getSource(),r=t?.conditionals;if(r)for(let e=0;e<r.length;e++){let t=r[e],i=t.x14Id;if(!i)continue;delete t.x14Id;let a=S.get(i);if(!a)continue;S.delete(i);let o=t.v?.scale;a.dataBar&&o?.type===n.ct.ScaleType.DataBar?k(o,a.dataBar):a.iconSet&&o?.type===n.ct.ScaleType.IconSet&&A(o,a.iconSet)}let i=[...S.values(),...te];for(let e=0;e<i.length;e++){let n=j(i[e]);n?(r||(r=[],t.conditionals=r),r.push(n)):u?.(`x14-only conditional formatting rule (type '${i[e].type??`unknown`}') is not read and will be lost on resave.`)}if(r){r.length>1&&r.sort((e,t)=>(e.priority??1/0)-(t.priority??1/0));for(let e=0;e<r.length;e++)delete r[e].priority}}}),p.registerVisitor({from:`customProperties`,to:`customProperties`,openTag:e=>{e.setSource([])},closeTag:e=>{let t=e.getSource();t.length>0&&(e.getParent().customProperties=t)}}),p.registerVisitor({from:`customPr`,to:{},openTag:e=>{let t=e.getParent();e.copyTo(`name`);let n=e.getAttribute(`r:id`);if(!n)return void console.warn(`no rId found for customProperties`,e.getPath());let r=i(n,!0),a=e.getSource();a.resId=r,t.push(a)}}),p.registerVisitor({from:`sheetProtection`,to:`protection`,openTag:e=>{let t=!1;if(e.hasAttribute(`sheet`)&&X(e.getAttribute(`sheet`))&&(t=!0),!t)return void e.setSource(void 0);let n=e=>!0===e||e===`1`||e===`on`||e===`true`||!1!==e&&e!==`0`&&e!==`off`&&e!==`false`&&null;e.copyTo(`autoTable`,n),e.copyTo(`deleteColumns`,n),e.copyTo(`formatCells`,n),e.copyTo(`formatColumns`,n),e.copyTo(`formatRows`,n),e.copyTo(`insertColumns`,n),e.copyTo(`insertHyperlinks`,n),e.copyTo(`insertRows`,n),e.copyTo(`objects`,n),e.copyTo(`pivotTables`,n),e.copyTo(`scenarios`,n),e.copyTo(`selectLockedCells`,n),e.copyTo(`selectUnlockedCells`,n),e.copyTo(`sort`,n);let r={};e.copyToObject(r,`hash`,$,`hashValue`),e.copyToObject(r,`algorithm`,$,`algorithmName`),e.copyToObject(r,`salt`,$,`saltValue`),e.copyToObject(r,`spinCount`,Z),Object.keys(r).length>0&&(e.getSource().password=r)}}),p.registerVisitor({from:`protectedRanges`,to:`protectedRanges`,openTag:e=>{e.setSource([])}}),p.registerVisitor({from:`protectedRange`,to:[],openTag:e=>{let t=e.getAttribute(`sqref`);t&&=t.trim().split(/\s+/).join(`,`);let n={},r={r:t,v:n};e.copyToObject(n,`name`),e.copyToObject(n,`securityDescriptor`);let i={};e.copyToObject(i,`hash`,$,`hashValue`),e.copyToObject(i,`algorithm`,$,`algorithmName`),e.copyToObject(i,`salt`,$,`saltValue`),e.copyToObject(i,`spinCount`,Z),Object.keys(i).length>0&&(n.password=i),e.setSource(r)},closeTag:e=>{let t=e.getSource();t?.r&&t.v.name||e.setSource(void 0)}}),p.registerVisitor({from:`sheetFormatPr`,to:`sheetFormatPr`,openTag:e=>{e.copyToObject(r,`defaultColSize`,Q,`defaultColWidth`),e.copyToObject(r,`outlineLevelCol`,Z,`outlineLevelCol`);let t=e.getAttribute(`customHeight`);t!==`1`&&t!==`true`||e.copyToObject(r,`defaultRowSize`,Q,`defaultRowHeight`),e.copyToObject(r,`outlineLevelRow`,Z,`outlineLevelRow`)}}),p.registerVisitor({from:`cols`,to:`cols`,openTag:e=>{e.setSource([])}}),p.registerVisitor({from:`col`,to:[],openTag:e=>{let t=e.getSource(),r=e.getAttribute(`min`),i=e.getAttribute(`max`),a=r===void 0?0:parseInt(r)-1,o=i===void 0?a:parseInt(i)-1;t.r=n.X.runToString(a,o,!0);let s={};t.v=s,e.copyToObject(s,`sz`,Q,`width`),e.copyToObject(s,`csz`,X,`customWidth`),e.copyToObject(s,`h`,X,`hidden`),e.copyToObject(s,`l`,Z,`outlineLevel`),e.copyToObject(s,`s`,Z,`style`)}}),p.registerVisitor({from:`oleObjects`,to:null,openTag:e=>{e.warn(`'OLE Objects' are not supported.`)}});let M=!1,N=!1,P=0,F=``,I=e=>{let t=e.indexOf(`:`);return t===-1?e:e.slice(t+1)};return((r,i,a,o,s,c,l)=>{let u=!1,d=!1,f=[],p=!1,m=null,h=null,g=null,_=null,v=null,y=null,b=l?.get(`richData`)??e.A.EmptyArray,x=l?.get(`dummyWrapped`)??null,ee=n.X.normalizeA1ToR1C1,S=e.l.createConflatingRanges(),te=new Map,C=[],w=!1,T=!1,E=null,D=!1,O=e.l.createConflatingRanges(),k=!1,A=-1,j=-1,M=null,N=null,P=null,F=[],I=null,ne=-2,L=0,R=``,z=``,B=``,V=``,H=``,U=``,W=``,G=``,K=``,re=``,ie=``,ae=``,oe=``,se=``,q=!0,J=null,ce=!1,le=!1,ue=null,de=0;return{...a,onEnd:()=>{F.length>0&&(i.rows=n.X.runsToRefs(F,!1));let o=S.done(Se),s=o.length;if(s>0){let e=new Set;for(let t=0;t<C.length;t++)e.add(C[t][0].split(`:`)[0]);let t=Array(s);for(let r=0;r<s;r++){let i=o[r],a=n.X.rangeToString(i),s=i.value[1],c=n.X.resolveRelativeToA1(s,i.rowStart,i.colStart);c&&!e.has(a.split(`:`)[0])&&be(c)&&(c=`__sxl.INTERSECT(${c})`),t[r]=[a,c]}i.formulas=t}let c=O.done(!0),l=c.length;if(l>0){let e=Array(l);for(let t=0;t<l;t++){let r=c[t];e[t]=n.X.rangeToString(r)}i.volatile=e}C.length>0&&(i.formulaArray=[...C]);let u=f.length;if(u>0){f.sort(e.l.createRangeComparator(t.l.Axis.Column));let r=f[0],a=r.colStart,o=r.colEnd,s=r.rowEnd,c=r.value,l=[];l.push(r);let d=null;for(let e=1;e<u;e++)d=f[e],c!==d.value||a!==d.colStart||o!==d.colEnd||s+1!==d.rowEnd?(l.push(d),r=d,a=r.colStart,o=r.colEnd,s=r.rowEnd,c=r.value):(s=d.rowEnd,r.rowEnd=s);let p=l.length,m=Array(p);for(let e=0;e<p;e++){let t=l[e];m[e]=[n.X.rangeToString(t),t.value]}i.directStyles=m}let d=r.build();d&&(i.data=d.tuples),a?.onEnd?.()},onOpenTag:e=>{let r=e.name,o=r.indexOf(`:`);if(o!==-1&&(r=r.slice(o+1)),de++,de%196608==0&&s?.(de),N){let t=e.attributes;switch(r){case`v`:d=!0;break;case`f`:switch(p=!0,t.t??null){case null:case`normal`:break;case`shared`:let e=t.si;h=t.ref,m=e;break;case`array`:h=t.ref,E=h;break;case`datatable`:h=t.ref,p=!0}let e=t.ca;e!==void 0&&(D=e===`1`);break;case`is`:k=!0;return}k&&!p&&c?.onOpenTag?.(e);return}if(u){if(r===`c`){N=e;let r=e.attributes,i=r.r;j=n.X.fastStringToCol(i);let a=r.t;a===void 0?P=null:(P=a,P===`str`&&(k=!0));let o=r.s;o===void 0&&(ue!==null||le)&&(o=`0`),o!==void 0&&(o=parseInt(o),J&&J.value===o&&J.colEnd+1===j?J.colEnd=j:(J={colStart:j,rowStart:A,colEnd:j,rowEnd:A,value:o},f.push(J))),E=null,T=!1;let s=r.cm;w=s!==void 0&&(e=>{let t=l?.get(`metadata`)?.cells;if(!t)return!1;let n=parseInt(e,10);return!(!Number.isFinite(n)||n<1)&&!0===t[n-1]?.get(`XLDAPR`)?.fDynamic})(s);let c=r.vm;if(c!==void 0){let e=b[parseInt(c)-1];if(t.a.isError(e)){let n=e.getCode();M={t:`e`,v:n},w&&n===t.a.Code.Spill&&(T=!0)}}}}else{if(r===`row`){u=!0;let t=e.attributes.r;if(A=parseInt(t)-1,L=0,z=e.attributes.customHeight,z!==void 0&&(L|=xe.CustomHeight),z!==K&&(q=!0,K=z),R=e.attributes.ht,R!==void 0&&(L|=xe.Ht),R!==G&&(q=!0,G=R),B=e.attributes.hidden,B!==void 0&&(L|=xe.Hidden),B!==re&&(q=!0,re=B),H=e.attributes.s,H!==void 0&&(L|=xe.S),H!==ae&&(q=!0,ae=H),V=e.attributes.customFormat,V!==void 0&&(L|=xe.CustomFormat),V!==ie&&(q=!0,ie=V),U=e.attributes.outlineLevel,U!==void 0&&(L|=xe.OutlineLevel),U!==oe&&(q=!0,oe=U),W=e.attributes.collapsed,W!==void 0&&(L|=xe.Collapsed),W!==se&&(q=!0,se=W),L!==0)if(ne+1!==A||q){let e=z!==void 0&&(z===`1`||z===`true`),t=V!==void 0&&(V===`1`||V===`true`);ue=t&&H!==void 0?H:null,t&&ue===null&&(ue=`0`),I={min:A,max:A,value:{sz:R===void 0?-1:parseFloat(R),csz:e,h:B!==void 0&&(B===`1`||B===`true`),s:ue===null?void 0:ue===`0`?0:parseInt(ue),l:U===void 0||U===`0`?0:parseInt(U),cl:W!==void 0&&(W===`1`||W===`true`)}},F.push(I)}else I.max=A;ne=A,q=!1;return}if(!ce&&r===`sheetData`){ce=!0;let e=i.cols,t=e?e.length:0;for(let n=0;!le&&n<t;n++)e[n].v.s&&(le=!0)}a?.onOpenTag?.(e)}},onCloseTag:e=>{let t=e.name;if(!p||t!==`c`&&t!==`f`||(m&&(_=te.get(m)??null),_&&(S.append(A,j,_),D&&O.append(A,j)),E!==null&&C.push([E,w?T?`dynamicSpillError`:`dynamic`:`static`]),p=!1,_=null,m=null,h=null,d=!1,D=!1,E=null,w=!1,T=!1),N){let n=t.indexOf(`:`);if(n!==-1&&(t=t.slice(n+1)),k)if(t===`is`||t===`v`){let e=c?.onEnd?.();e!=null&&r.pushAt(A,j,``+e)}else t!==`f`&&c?.onCloseTag?.(e);d&&=!1,t===`c`&&(N=null,k=!1);return}if(u)return u=!1,void(J=null);a?.onCloseTag?.(e)},onText:e=>{let s=e.trim();if(d){switch(M=null,P){case null:case`n`:M=parseFloat(s);break;case`b`:M=s===`1`||s===`true`;break;case`s`:M=s;break;case`e`:if(s===`#VALUE!`){let e=N.attributes.vm;if(e!==void 0){let n=b[parseInt(e)-1];if(t.a.isError(n)){M={t:`e`,v:n.getCode()};break}}}let e=t.a.getBuiltInByLabel(s);e?M={t:`e`,v:e.getCode()}:(M=s,o?.(`Unknown formula error '${s}' in cell ${n.X.cellToString({colIndex:j,rowIndex:A})}`));break;case`str`:case`inlineStr`:k=!0}M!==null&&r.pushAt(A,j,M)}if(m){if(v===m)_=y;else{if(_=te.get(m)??null,!_){let e=[];g=ee(s,A,j,e),_=[g,e,s],te.set(m,_)}v=m,y=_}m=null}if(p){if(x!==null){let e=(e=>{if(e.length<pe.length||e.slice(0,pe.length).toUpperCase()!==me)return ge;let t=ve(e,pe.length);if(t===null||e.charCodeAt(t.end)!==41||e.charCodeAt(t.end+1)!==44||e.charCodeAt(e.length-1)!==41)return ge;let n=t.value;return n.toUpperCase()===he?_e:n.length===0?ge:{kind:`formula`,formula:n}})(s);e.kind!==`none`&&x.push({sheet:i,rowIndex:A,colIndex:j,formula:e.kind===`formula`?e.formula:null})}let e=[];g=ee(s,A,j,e),_=[g,e,s]}k?c?.onText?.(e):u||a?.onText?.(s)}}})(m,r,p.createEventHandler(r,()=>{},u),u,void 0,{onOpenTag:e=>{M=!0;let t=I(e.name);t===`t`||t===`v`?P===0&&(N=!0):t!==`rPh`&&t!==`phoneticPr`||P++},onText:e=>{N&&(F+=e)},onCloseTag:e=>{let t=I(e.name);t===`t`||t===`v`?N=!1:t!==`rPh`&&t!==`phoneticPr`||P>0&&P--},onEnd:()=>{if(!M)return;let e=s(o.O(F));return M=!1,N=!1,P=0,F=``,e},onError:e=>{}},f)})(r,(e,t=!1)=>P(e,p,t)??null,W,_,0,(e,t)=>{let n=t?`${t} (${p})`:p;v.push([e,n])},0,w),s=await j.getTextStream(p,te);if(s)try{await C.parseStream(s,i,{xmlns:!1})}catch(e){throw console.warn(`Error parsing sheet: '${p}'`,e),Error(`Error parsing sheet: '${p}'`,{cause:e})}let c,u=N(p,l),d=new Map;if(u){let t;if(u.forEach((e,t)=>{e.type===`http://schemas.microsoft.com/office/2017/10/relationships/threadedComment`&&(c=P(t,p,!1,l)?.comments,c&&c.forEach(e=>{let t=e.v;d.set(t.id,e)}))}),u.forEach((e,n)=>{e.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments`&&(t=P(n,p,!1,l))}),t||c){let n=c??[],i=t?.authors,o=t?.comments,s=o?o.length:0;if(o)for(let t=0;t<s;t++){let r=o[t];if(!r)continue;let s=r.v,c=i&&s.personId!==void 0?i[s.personId]:s.personId;if(c&&c.startsWith(`tc=`)&&(c=a.d(c.substring(3)),d.has(c)))continue;let l=R({displayName:c}),u={id:e.A.uuidV4(),personId:l.id,done:!1,asNote:!0,content:s.content};n.push({r:r.r,v:u})}r.comments=n}}})())}else if(f.type===`http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink`){let e=a.a(p,i,O,D,z);if(e&&Object.keys(e).length!==0){let t=e,n=[];N(p,l)?.forEach(e=>{e.targetMode===`External`&&e.type&&e.target&&n.push({type:e.type,target:e.target})}),t.identity=n,y=t}else y=null}else y=c?a.l(p,i,(e,t)=>{let n=u.add({source:{buffer:e}});return n.addReference(h),S.add(n),d.toResourceId(n)},z):a.a(p,i,O,D,z);return y};a.c(`coreprops`,s,i,O,D),a.c(`extprops`,s,i,O,D);let F=new Map,I=new Map,ne=a.c(`people`,s,i,O,D),L=null;if(ne.size>0&&(L=ne.entries().next()?.value?.[1]?.persons,L)){let e=L.length;for(let t=0;t<e;t++){let e=L[t];F.set(e.id,e),e.displayName!==void 0&&I.set(e.displayName,e)}}let R=t=>{if(!t)return;if(t.id&&F.has(t.id))return F.get(t.id);let n=t.displayName;if(!t.id){if(n){let e=I.get(n);if(e)return e}t.id=e.A.uuidV4()}let r=F.get(t.id);if(r)return r;let i=t;return F.set(t.id,i),n&&I.set(n,i),L||=[],L.push(i),i},z={paramMap:w,getRefs:N,getRef:P,parsedRefs:k,addPerson:R,serializeElement:M},B=[];if(c){let e=await j.getTextStream(c,te);if(e){let t=(()=>{let e=!1,t=!1,n=0,r=``;return{onOpenTag:i=>{let a=we(i.name);a===`t`?e&&n===0&&(t=!0):a===`si`?(e=!0,r=``,n=0):a!==`rPh`&&a!==`phoneticPr`||n++},onText:e=>{t&&(r+=e)},onCloseTag:i=>{let a=we(i.name);a===`t`?t=!1:a===`si`?((e=>{B.push(e)})(o.O(r)),e=!1,r=``):a!==`rPh`&&a!==`phoneticPr`||n>0&&n--},onError:e=>{(e=>{v.push([e,c])})(`Error parsing shared strings: ${e?.message??e}`)}}})();try{await C.parseStream(e,t,{xmlns:!1})}catch(e){throw console.warn(`Error parsing shared strings: '${c}'`,e),Error(`Error parsing shared strings: '${c}'`,{cause:e})}}}_?.mark(`shared-strings`);let V=B.length,H=new Map,U=V,W=e=>{let t=H.get(e);if(t!==void 0)return t;let n=U;return H.set(e,U++),B.push(e),n},G=[];s.slicersCache=G;let K=j.getNames(),re=K.length;for(let e=0;e<re;e++){let t=K[e];t&&t.startsWith(`xl/slicerCache`)&&G.push(`/${t}`)}let ie=a.c(`slicersCache`,s,i,O,D,z),ae=new Map;ie.forEach(e=>{let t=e.name;delete e.name,ae.set(t,e)}),w.set(`slicerCaches`,ae),a.c(`richstructure`,s,i,O,D,z),a.c(`richdata`,s,i,O,D,z);let oe=a.c(`themes`,s,i,O,D,z),se=null;if(oe&&oe.entries){let e=oe.entries().next();e?.value?.[1]&&(se=e.value[1])}let q=new n.Ht(se),J=a.c(`styles`,s,i,O,D,z).entries().next()?.value?.[1];J&&=JSON.parse(e.F.JSONStableStringify(J));let ce=a.c(`workbooks`,s,i,O,D,z);_?.mark(`side-parts-json`),await Promise.all(A),b&&ee>0&&(b(x,x),await new Promise(e=>setTimeout(e,0))),_?.mark(`sheets`);let le={...ce.entries().next().value?.[1],styles:J,theme:q.toJSON()};if(B.length>0&&(le.strings=B),L&&L.length>0&&(le.people=L),f){let e=j.getEntry(`xl/vbaProject.bin`);if(e)try{let{VBAProject:t}=await Promise.resolve().then(()=>require("./DG-AY_xO8RKHtEBE.cjs")),n=t.extract(e);n?(f?.(n),le.vba=n):v.push([`Unable to parse VBA project.`,`xl/vbaProject.bin`])}catch(e){v.push([`Error extracting VBA: ${e?.message??e}`,`xl/vbaProject.bin`])}}let ue=null,de={...m,resources:u,json:le,formulaTransform:o.z(()=>ue?.getCalculation())};de.disableLoadAutoFit===void 0&&(de.disableLoadAutoFit=!1),_?.mark(`json-assembled`);let Y=new r.m(de);if(ue=Y,_?.mark(`workbook-constructed`),T.length>0){await Y.whenCalculationReady();let e=new Map,t=le.sheets??[],n=Y.getSheets().getItems();for(let r=0;r<t.length;r++){let i=t[r]?.sheet,a=n[r];i&&a&&e.set(i,a)}((e,t,n)=>{if(t.length===0)return;let r=e.getCalculation().getFunctions(),i=new Map,a=e=>{let t=i.get(e);return t===void 0&&(t=r.getByName(e)!==null,i.set(e,t)),t},o=new Map;for(let e of t){let t=o.get(e.sheet);t||(t=[],o.set(e.sheet,t)),t.push(e)}for(let[e,t]of o){let r=n.get(e);if(!r)continue;let i=(e,t)=>`${e},${t}`,o=new Set;for(let e of t)e.formula===null&&o.add(i(e.rowIndex,e.colIndex));for(let e of t){if(e.formula===null)continue;let t=ye(e.formula),n=!0;for(let e of t)if(!a(e)){n=!1;break}if(!n)continue;let s=[],c=[[e.rowIndex,e.colIndex]],l=new Set([i(e.rowIndex,e.colIndex)]);for(;c.length>0;){let[e,t]=c.pop(),n=[[e+1,t],[e-1,t],[e,t+1],[e,t-1]];for(let[e,t]of n){let n=i(e,t);!l.has(n)&&o.has(n)&&(l.add(n),s.push([e,t]),c.push([e,t]))}}for(let[e,t]of s)o.delete(i(e,t)),r.getRange({rowStart:e,colStart:t,rowEnd:e,colEnd:t}).clear();r.getRange({rowStart:e.rowIndex,colStart:e.colIndex,rowEnd:e.rowIndex,colEnd:e.colIndex}).setValue(`=`+e.formula)}}})(Y,T,e)}if(S.forEach(e=>{e.deleteReference(h)}),d.endPersist(),g){o.a(g);let e=new Map,t=0;for(let n of j.getNames()){let r=j.getEntry(n);if(!r)continue;let i=j.getRawEntry(n),a=i?{data:r,uncompressedSize:j.uncompressedSize(n),raw:{compressedData:i.data,compressionMethod:i.compressionMethod,signature:i.signature}}:{data:r,uncompressedSize:j.uncompressedSize(n)};e.set(n,a),t+=r.byteLength}if(t>67108864)v.push([`Source package too large to retain (${t} bytes, limit ${o.n}); unmodeled parts will be dropped on save.`,`SourcePackage`]);else if(e.size>0){let t=new o.R(e);o.v(g,t);let n=Y.getSheets().getItems(),r=Y.getTransactions().addListener({onCommitEnd:e=>{let n=e.getOperation()?.name;n!==`insertCells`&&n!==`deleteCells`||t.markStructuralChange()}}),i=Y.addListeners({onSheetsChange:()=>{let e=Y.getSheets().getItems();(e.length!==n.length||e.some((e,t)=>e!==n[t]))&&t.markStructuralChange(),n=e}});Y.addListeners({onClose:()=>{r(),i(),o.a(g)}})}}if(v.length&&y?.onWarning)for(let e of v){let[t,n]=e;y.onWarning(t,n)}return _&&!0===p&&console.table(_.toTable()),Y}catch(t){let n=`Unable to parse XLSX.`;throw t instanceof e.C&&(n=`Unable to open XLSX. There are too many rows or columns.`),Error(n,{cause:t})}finally{await j.close().catch(()=>{})}};
@@ -1 +1 @@
1
- const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./BnccBYHCCq9TGFx4.cjs");var n=e.n({ScriptCompiler:()=>l,loadCompiledModule:()=>r});async function r(e,t){let{loadCompiledModule:n}=await Promise.resolve().then(()=>require("./Dx79LP1-YCQg8B87.cjs"));return n(e,t)}var i=null,a=null,o=null,s=null;async function c(){return s||=(async()=>(await Promise.resolve().then(()=>require("./C_IEgjM-hSJCv6Gm.cjs"))).initialize())(),s}var l=Object.freeze({compile:async function(e){if(!e?.source)return{module:null,diagnostics:[]};if(a&&t.A.deepEqual(a,e))return i;let n=await(await async function(){if(o)return o;let{TypeScriptCompiler:e}=await Promise.resolve().then(()=>require("./BmKOnx8nv-NTlFiI.cjs"));return o=new e}()).compileModule(e);return i=n,a=e,n},lint:async function(e,t){if(!e)return[];let[n,{lintScript:r}]=await Promise.all([c(),Promise.resolve().then(()=>require("./BVN0uo1XwTCtE2mh.cjs"))]);return r(n,e,t)},cleanup:function(){o&&(o.terminate(),o=null,i=null)}});Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return n}});
1
+ const e=require("./B7_pDFYCVzt-3hUs.cjs"),t=require("./BnccBYHCCq9TGFx4.cjs");var n=e.n({ScriptCompiler:()=>l,loadCompiledModule:()=>r});async function r(e,t){let{loadCompiledModule:n}=await Promise.resolve().then(()=>require("./Dx79LP1-YCQg8B87.cjs"));return n(e,t)}var i=null,a=null,o=null,s=null;async function c(){return s||=(async()=>(await Promise.resolve().then(()=>require("./C_IEgjM-hSJCv6Gm.cjs"))).initialize())(),s}var l=Object.freeze({compile:async function(e){if(!e?.source)return{module:null,diagnostics:[]};if(a&&t.A.deepEqual(a,e))return i;let n=await(await async function(){if(o)return o;let{TypeScriptCompiler:e}=await Promise.resolve().then(()=>require("./B37bgauMls6bQwyP.cjs"));return o=new e}()).compileModule(e);return i=n,a=e,n},lint:async function(e,t){if(!e)return[];let[n,{lintScript:r}]=await Promise.all([c(),Promise.resolve().then(()=>require("./BVN0uo1XwTCtE2mh.cjs"))]);return r(n,e,t)},cleanup:function(){o&&(o.terminate(),o=null,i=null)}});Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return n}});
@@ -1,19 +1,19 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.2
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { r as e } from "./BFWULyy65RLrorZ7.mjs";
8
- import { i as t, r as n } from "./BPefT37WNgwR2ugY.mjs";
9
- import { r } from "./BEvXGI5EzVSXLxga.mjs";
10
- import { Et as i, Xt as a, t as o, tt as s } from "./Db1UHrYoIsMVbE28.mjs";
11
- import { N as c } from "./Cvv50xExjeFnfiNy.mjs";
12
- import { t as l } from "./CNqsb1dCdP38edL_.mjs";
13
- import { t as u } from "./COyyediFP8-Jte0d.mjs";
14
- import { F as d, Ft as f, I as p, N as m, a as h, f as g, h as _, it as v, x as y, y as b, z as x } from "./sckQOed44XHUgmEM.mjs";
15
- import { t as S } from "./k0J0jqbt6JQcSNRf.mjs";
16
- import { n as C, r as w } from "./qatUNqy1unWjxJRn.mjs";
7
+ import { r as e } from "./Ccj-Gq_hyRtb93R-.mjs";
8
+ import { i as t, r as n } from "./C8KBkOocNYDNWBDu.mjs";
9
+ import { r } from "./AS-KiFBez1nwB_vC.mjs";
10
+ import { Et as i, Xt as a, t as o, tt as s } from "./DvFh-0k-PvKrKwkt.mjs";
11
+ import { N as c } from "./C5wklWg-nVHGfhda.mjs";
12
+ import { t as l } from "./BKY2gKXOB637hih-.mjs";
13
+ import { t as u } from "./Bp1kaqNxSV0Hskwb.mjs";
14
+ import { F as d, Ft as f, I as p, N as m, a as h, f as g, h as _, it as v, x as y, y as b, z as x } from "./CTpri2fSv5dZbUwJ.mjs";
15
+ import { t as S } from "./CbGZtQlImYkXEGhI.mjs";
16
+ import { n as C, r as w } from "./9LhOHxxuP2jO-YDv.mjs";
17
17
  var T = e(t(), 1), E = e(n(), 1), D = (0, T.memo)((e) => {
18
18
  let { context: t, selected: n, onChangeSelected: p, onActivate: h, autoFocus: g = !1, className: _ } = e, y = a(), C = x(), [w, D] = (0, T.useState)([]), [O, k] = (0, T.useState)("*"), [A, j] = (0, T.useState)(""), [M, N] = (0, T.useState)(""), [P, F] = (0, T.useState)([]), [I, L] = (0, T.useState)(null), R = (z = O) === "*" ? void 0 : z;
19
19
  var z;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.2
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,18 +1,18 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.2
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { r as e } from "./BFWULyy65RLrorZ7.mjs";
8
- import { i as t, r as n } from "./BPefT37WNgwR2ugY.mjs";
9
- import { r } from "./BEvXGI5EzVSXLxga.mjs";
10
- import { Xt as ee, t as i } from "./Db1UHrYoIsMVbE28.mjs";
11
- import { h as a } from "./DOQiJP4o3Yv2roFN.mjs";
12
- import { t as te } from "./CNqsb1dCdP38edL_.mjs";
13
- import { Ft as o, P as ne, i as s } from "./sckQOed44XHUgmEM.mjs";
14
- import { t as c } from "./k0J0jqbt6JQcSNRf.mjs";
15
- import { t as l } from "./Yp8HnZ2LZWDER3Db.mjs";
7
+ import { r as e } from "./Ccj-Gq_hyRtb93R-.mjs";
8
+ import { i as t, r as n } from "./C8KBkOocNYDNWBDu.mjs";
9
+ import { r } from "./AS-KiFBez1nwB_vC.mjs";
10
+ import { Xt as ee, t as i } from "./DvFh-0k-PvKrKwkt.mjs";
11
+ import { h as a } from "./DMXx0lIMiLsQgbVK.mjs";
12
+ import { t as te } from "./BKY2gKXOB637hih-.mjs";
13
+ import { Ft as o, P as ne, i as s } from "./CTpri2fSv5dZbUwJ.mjs";
14
+ import { t as c } from "./CbGZtQlImYkXEGhI.mjs";
15
+ import { t as l } from "./IPVHjbNIjyMsOxUR.mjs";
16
16
  var u = e(t(), 1), d = e(n(), 1), f = typeof window < "u" && window.HTMLElement !== void 0 && typeof document < "u";
17
17
  u.createContext(null).displayName = "HookFormControlContext", f ? u.useLayoutEffect : u.useEffect;
18
18
  var p = u.createContext(null);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.2
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,12 +1,12 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.2
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { r as e } from "./BFWULyy65RLrorZ7.mjs";
8
- import { i as t, r as n } from "./BPefT37WNgwR2ugY.mjs";
9
- import { A as r } from "./FxykwtLK380Ynhjh.mjs";
7
+ import { r as e } from "./Ccj-Gq_hyRtb93R-.mjs";
8
+ import { i as t, r as n } from "./C8KBkOocNYDNWBDu.mjs";
9
+ import { A as r } from "./ioECgEEk-HCEo_qL.mjs";
10
10
  var i = e(t(), 1), a = e(n(), 1);
11
11
  function o(e) {
12
12
  if (typeof e == "function") return e;
@@ -277,7 +277,7 @@ var d = function() {
277
277
  }
278
278
  };
279
279
  }();
280
- d.register("base", () => import("./COYX5UfgqbqvXL532.mjs")), d.register("cf", () => import("./BlABxqvzU3ccpiI22.mjs"));
280
+ d.register("base", () => import("./Bi2jbQd8mecebnRM2.mjs")), d.register("cf", () => import("./DcTAnKNgB4UiSyH-2.mjs"));
281
281
  var f = (e) => (0, a.jsx)("svg", {
282
282
  ...e,
283
283
  children: (0, a.jsx)("path", {})
@@ -1,17 +1,17 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.2
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { r as e } from "./BFWULyy65RLrorZ7.mjs";
8
- import { i as t, r as n } from "./BPefT37WNgwR2ugY.mjs";
9
- import { Et as r, Xt as i, t as a, tt as o } from "./Db1UHrYoIsMVbE28.mjs";
10
- import { N as s, i as c } from "./Cvv50xExjeFnfiNy.mjs";
11
- import { h as l, p as u, t as d } from "./DOQiJP4o3Yv2roFN.mjs";
12
- import { t as f } from "./CNqsb1dCdP38edL_.mjs";
13
- import { t as p } from "./COyyediFP8-Jte0d.mjs";
14
- import { l as m } from "./CSfpN1f335foeZWr.mjs";
7
+ import { r as e } from "./Ccj-Gq_hyRtb93R-.mjs";
8
+ import { i as t, r as n } from "./C8KBkOocNYDNWBDu.mjs";
9
+ import { Et as r, Xt as i, t as a, tt as o } from "./DvFh-0k-PvKrKwkt.mjs";
10
+ import { N as s, i as c } from "./C5wklWg-nVHGfhda.mjs";
11
+ import { h as l, p as u, t as d } from "./DMXx0lIMiLsQgbVK.mjs";
12
+ import { t as f } from "./BKY2gKXOB637hih-.mjs";
13
+ import { t as p } from "./Bp1kaqNxSV0Hskwb.mjs";
14
+ import { l as m } from "./DqJYCOxMI0h7olt5.mjs";
15
15
  var h = e(t(), 1), g = e(n(), 1), _ = [
16
16
  "Autofit",
17
17
  "Ok",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.2
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.