@sheetxl/studio-vanilla 0.3.4 → 0.3.6

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 (197) hide show
  1. package/browser/cjs/3JKPVnbyR3hJBHBj.cjs +6 -0
  2. package/browser/cjs/B1_gRcAH1cv26X_U.cjs +301 -0
  3. package/browser/cjs/B2fgcYTdhA0facdy.cjs +6 -0
  4. package/browser/cjs/B5cmz4f50xr5iF-S.cjs +19 -0
  5. package/browser/cjs/B7eLEpR9cmunfRfq.cjs +6 -0
  6. package/browser/cjs/BDUaerzhOJJZeQgS.cjs +6 -0
  7. package/browser/cjs/BDcLV5_cJTh8yhJI.cjs +7 -0
  8. package/browser/cjs/{CdVKz1bz20BYztuB.cjs → BOSNEoFPpJAjkRsv.cjs} +1 -1
  9. package/browser/cjs/{BDmE5OFneHwyeeiD.cjs → BSfmlz8MvlIKFx_N.cjs} +4 -4
  10. package/browser/cjs/Bdhft6pu1-bwMbfv.cjs +12 -0
  11. package/browser/cjs/BmbGW13BR2649OAV.cjs +6 -0
  12. package/browser/cjs/{DzE824T4cXRcKowY.cjs → Bu6q4vuUt_6LDbk_.cjs} +1 -1
  13. package/browser/cjs/{DD0VHDU8F1FiLKcs.cjs → CXe_6K7OT1AVSgAV.cjs} +1 -1
  14. package/browser/cjs/ChqJwXboF-6-bjIC.cjs +6 -0
  15. package/browser/cjs/CyA00uY0ivUSWJ17.cjs +6 -0
  16. package/browser/cjs/D1jsD18kKrFBRLo8.cjs +12 -0
  17. package/browser/cjs/{D-I49Eh-SQg7zJYX.cjs → DC0sGYXEVcjL3fEu.cjs} +1 -1
  18. package/browser/cjs/{BTgA_stiR3dZAHop.cjs → DQJ0sG5gEZSPPLGp.cjs} +2 -2
  19. package/browser/cjs/{WPXWuf9j-uwazW31.cjs → DUIyD1-nWzOytYDo.cjs} +2 -2
  20. package/browser/cjs/{yZrSgyFKPqsiym7z.cjs → D_RushRsBoa4Hd6w.cjs} +2 -2
  21. package/browser/cjs/{46C8cTP5D1fDfsPs.cjs → D_gx4EJ1Z1jqCpC2.cjs} +1 -1
  22. package/browser/cjs/Dgv9C5kP5-0zdZ_n.cjs +6 -0
  23. package/browser/cjs/{BB5pxJh1jhHsvVZ1.cjs → Dp_f-iB1lirYu5mz.cjs} +1 -1
  24. package/browser/cjs/P2nQEqe-ae2Lk91E.cjs +11 -0
  25. package/browser/cjs/{CpPM7Ir1EZB_8bER.cjs → SvTvsTn26UgPTXmE.cjs} +1 -1
  26. package/browser/cjs/index.cjs +2 -2
  27. package/browser/cjs/{CuldnUeQxpcu8oJ7.cjs → oIH2DXvUemx8KBZE.cjs} +1 -1
  28. package/{cdn/assets/RWhi_dOrWDICNt1t.js → browser/esm/BEdBgMB0JXu6qm1p.mjs} +1 -1
  29. package/browser/esm/{BNq1DlA_v8-hm8PQ.mjs → BUVsXfFhbzBtVoTV.mjs} +71 -70
  30. package/browser/esm/{DLJ1zBZE-WPdkpt2.mjs → BWoHBg8cjtJL9xBv.mjs} +132 -131
  31. package/{cdn/assets/DjHCn_TmfObC_aJ1.js → browser/esm/Bc8I4T3hDcq3Tbe7.mjs} +13 -13
  32. package/{cdn/assets/dQu9CDkkTpS5h580.js → browser/esm/BpIA1_q9rYZhuE_V.mjs} +8 -8
  33. package/browser/esm/{BjLCBG20KyjNKCpy.mjs → BwpZ-CB67KJ8A2Pd.mjs} +2 -2
  34. package/browser/esm/{Dq1oxXMudxqdJaKZ.mjs → CAUWxMHzGpG7-P5A.mjs} +11 -10
  35. package/{cdn/assets/CGUSbWH383tudMFu.js → browser/esm/CFw_ZTxUHsgd5Pf5.mjs} +10 -10
  36. package/browser/esm/{CTdGamCv2VtpI05C.mjs → CIG-Y2tRBFYerBVK.mjs} +1 -1
  37. package/browser/esm/{s8U6UEvd4LQsvEnH.mjs → CRLFplTpJUvecqqq.mjs} +1 -1
  38. package/browser/esm/{CeWIrhJ_bsxOl7mw.mjs → CanwhkFG9e2Ojys-.mjs} +24 -23
  39. package/browser/esm/CcGOjkDDVya2Ff-b.mjs +50 -0
  40. package/browser/esm/{BfNo01-WwZl_5N1M.mjs → Ce53t5Ez6mDQoNNS.mjs} +192 -191
  41. package/browser/esm/{pxRv4ndPNkOMM_s3.mjs → Cmk4lwRc0QJqs2cT.mjs} +13 -13
  42. package/{cdn/assets/CG-YuIoWsi12_nu9.js → browser/esm/CnI4MLBb2ZtZInkh.mjs} +10 -10
  43. package/{cdn/assets/CNhPYXS_v3a2ATBg.js → browser/esm/CrZPGKZDaJ-22LSg.mjs} +791 -788
  44. package/{cdn/assets/Dl02UNFD2tNwtHQ9.js → browser/esm/D-GTj1DQOn_EIw_N.mjs} +1 -1
  45. package/{cdn/assets/ct9ztJbQB16MJoyP.js → browser/esm/D0YFJdBci18KKVSS.mjs} +7 -7
  46. package/{cdn/assets/BY5dcSv5nxuvXMsr.js → browser/esm/D7__-CZBbVdVmNms.mjs} +13 -13
  47. package/{cdn/assets/C-oc6cc0wXRVBFx2.js → browser/esm/DRX3PxyWmwYCO1oC.mjs} +1 -1
  48. package/browser/esm/DtS8vZkP_9xxg-8G.mjs +24893 -0
  49. package/browser/esm/{BXMZNx8rs4_V8pQL.mjs → DuOzS4aDJybvfnas.mjs} +2 -2
  50. package/browser/esm/{C2Ik_RfF43fmFDeS.mjs → ekyugPyyyBIdZgfX.mjs} +1 -1
  51. package/browser/esm/{BrWhLiIy81LKNSUX.mjs → evOdu9Z-9G0PNrGI.mjs} +1 -1
  52. package/browser/esm/{qchlbvmOxrybWJep.mjs → goTiQtfGVEDiRLX3.mjs} +1 -1
  53. package/browser/esm/index.mjs +2 -2
  54. package/browser/esm/{FCkxbRy2XiqD3GdL.mjs → ius8cYWSRDNFx-QU.mjs} +12 -12
  55. package/{browser/esm/BoL2rsWK1YyT1PP7.mjs → cdn/assets/6GT7WcmdWYVxOobM.js} +8 -8
  56. package/{browser/esm/RWhi_dOrWDICNt1t.mjs → cdn/assets/BEdBgMB0JXu6qm1p.js} +1 -1
  57. package/cdn/assets/{6tFlyQMvtppXfmuU.js → BH-qA3U2gj7snkKJ.js} +24 -23
  58. package/{browser/esm/im3UoVISx3VXhEFp.mjs → cdn/assets/BPeDOIBYCZkjaWRD.js} +13 -13
  59. package/cdn/assets/{mAWImp_J2v8z8hbZ.js → BVIGf25ixd6wvJVI.js} +132 -131
  60. package/cdn/assets/{BPStm90FUYfOgibU.js → BcGPdpUCizGdDlXm.js} +12 -12
  61. package/cdn/assets/Be-_CFU80fx1X1E9.js +50 -0
  62. package/cdn/assets/{CTdGamCv2VtpI05C.js → CIG-Y2tRBFYerBVK.js} +1 -1
  63. package/cdn/assets/{s8U6UEvd4LQsvEnH.js → CRLFplTpJUvecqqq.js} +1 -1
  64. package/cdn/assets/{BKDQtGZxRUUzBmnI.js → ChD-x-lrZKLslGbg.js} +2 -2
  65. package/cdn/assets/{COFTB6OufFls7NP1.js → CkMou3XlV2mmYqmq.js} +11 -10
  66. package/cdn/assets/{BMb4pCD8O5vK2p1B.js → Cx6czat4u0MrS9wL.js} +2 -2
  67. package/{browser/esm/Dl02UNFD2tNwtHQ9.mjs → cdn/assets/D-GTj1DQOn_EIw_N.js} +1 -1
  68. package/{browser/esm/GbTp1_3jFZu0Ex24.mjs → cdn/assets/D0YFJdBci18KKVSS.js} +7 -7
  69. package/{browser/esm/C-oc6cc0wXRVBFx2.mjs → cdn/assets/DRX3PxyWmwYCO1oC.js} +1 -1
  70. package/{browser/esm/CZRLp5H9dSrMEgaI.mjs → cdn/assets/DS9Og6WSj_kNksiq.js} +10 -10
  71. package/cdn/assets/De8HwbKM7sZJMZSq.js +24740 -0
  72. package/{browser/esm/CKHDKAaHkwZHUkoS.mjs → cdn/assets/DfoJr75R0GrjAv-i.js} +10 -10
  73. package/cdn/assets/{DYgFWlitgXmKdN_I.js → Dw1Rz_MNeT4QWFeY.js} +192 -191
  74. package/{browser/esm/Br4TnuxGRULZDhCA.mjs → cdn/assets/FSFNUan5QfhjNqMt.js} +791 -788
  75. package/cdn/assets/{Be9YovX6b_0gKXs5.js → Ijbe8IzzEjVScejo.js} +71 -70
  76. package/{browser/esm/Ddm9jggzrr5VJQ68.mjs → cdn/assets/YQRaiV0_mvhQsFVY.js} +13 -13
  77. package/cdn/assets/{LxoKYdUqZ4Zgxjza.js → _W5FqhFhYviNTP8H.js} +13 -13
  78. package/cdn/assets/{C2Ik_RfF43fmFDeS.js → ekyugPyyyBIdZgfX.js} +1 -1
  79. package/cdn/assets/{BrWhLiIy81LKNSUX.js → evOdu9Z-9G0PNrGI.js} +1 -1
  80. package/cdn/assets/{qchlbvmOxrybWJep.js → goTiQtfGVEDiRLX3.js} +1 -1
  81. package/cdn/index.js +8 -8
  82. package/cdn/loader.js +1 -1
  83. package/package.json +8 -7
  84. package/browser/cjs/0dkhOl0ItVZXnHg_.cjs +0 -6
  85. package/browser/cjs/7Xjct_4bBSU-vad1.cjs +0 -6
  86. package/browser/cjs/B2kFbeodTh3Gk-aQ.cjs +0 -6
  87. package/browser/cjs/B5UGK4AzAC9SjXJp.cjs +0 -6
  88. package/browser/cjs/B9kurj8mOePUlJX2.cjs +0 -6
  89. package/browser/cjs/BDACVe5nzEmYknRm.cjs +0 -19
  90. package/browser/cjs/BG8OR9VWCkyIRwrw.cjs +0 -6
  91. package/browser/cjs/BML8p6hKVpqMb-13.cjs +0 -124
  92. package/browser/cjs/BeGusiaaShhfh7Ch.cjs +0 -7
  93. package/browser/cjs/BgJ-surJf8jSxqmk.cjs +0 -6
  94. package/browser/cjs/BgJFVvwpAWB3ssLE.cjs +0 -6
  95. package/browser/cjs/Bi8tk3LAhLkM7IXm.cjs +0 -6
  96. package/browser/cjs/BlYpCVX1NOGpcNB6.cjs +0 -7
  97. package/browser/cjs/BnZdvx8z2BIDZv9J.cjs +0 -355
  98. package/browser/cjs/BvnUfF0WlIXumm-E.cjs +0 -6
  99. package/browser/cjs/BwGs6fp9j-iFwDlB.cjs +0 -32
  100. package/browser/cjs/C4JyilwtB4aWsWnG.cjs +0 -6
  101. package/browser/cjs/C8PUqW17bEbzJthE.cjs +0 -6
  102. package/browser/cjs/CBTWDt8vxgXfkDfh.cjs +0 -6
  103. package/browser/cjs/CJ29qM66PMBNE3G9.cjs +0 -6
  104. package/browser/cjs/CKtzkomrFnDVY5SY.cjs +0 -11
  105. package/browser/cjs/CLarA_vLTlgU3TCF.cjs +0 -13
  106. package/browser/cjs/CN8Y9NZjRCPl8CqY.cjs +0 -6
  107. package/browser/cjs/CNIPdrSO6Xr2gkt9.cjs +0 -6
  108. package/browser/cjs/CNkEdWYoHRiw_Uez.cjs +0 -6
  109. package/browser/cjs/CPFRW8nnIVWYeQYn.cjs +0 -12
  110. package/browser/cjs/CZih4fqvAIVbCVO4.cjs +0 -6
  111. package/browser/cjs/Cx3wCYZR6BKbOtgk.cjs +0 -6
  112. package/browser/cjs/Cx8xafhEESu639Ig.cjs +0 -6
  113. package/browser/cjs/CzqzVoUeKxH16SDC.cjs +0 -6
  114. package/browser/cjs/D-GDPxpVRx45cdpQ.cjs +0 -6
  115. package/browser/cjs/D50Wzp-4UIlO9uVc.cjs +0 -6
  116. package/browser/cjs/DB9rOzEP0g0ZGfBj.cjs +0 -6
  117. package/browser/cjs/DIeyUTfGkxwK6bdT.cjs +0 -15
  118. package/browser/cjs/DX_oDw_K4CB6Ej9i.cjs +0 -6
  119. package/browser/cjs/DcNRcLtSOkHAK_Mt.cjs +0 -6
  120. package/browser/cjs/Df8ZAsCgZ69F33-C.cjs +0 -6
  121. package/browser/cjs/DfCiN8VOEQt4cw-x.cjs +0 -12
  122. package/browser/cjs/DnkG5azaxDtt-73G.cjs +0 -6
  123. package/browser/cjs/Dr_HVAdkD1bM9yrW.cjs +0 -6
  124. package/browser/cjs/KbKjJCMErVEwKqoi.cjs +0 -6
  125. package/browser/cjs/Px_DbuQFWhjhPilq.cjs +0 -6
  126. package/browser/cjs/VmYEO_-N9Cn7JpZN.cjs +0 -6
  127. package/browser/cjs/c4HmqMqg3ugRd4gl.cjs +0 -1501
  128. package/browser/cjs/jmPMUQMT7KTdf9Sr.cjs +0 -6
  129. package/browser/cjs/zRbLzzCcfjQpsQ4j.cjs +0 -6
  130. package/browser/esm/0M23_yfYSvrAB5iY.mjs +0 -472
  131. package/browser/esm/2sPP8EL_OzSYDsKu.mjs +0 -10
  132. package/browser/esm/3SiPV9yNzSbQVINg.mjs +0 -10
  133. package/browser/esm/6CkscKSECxQpy0v6.mjs +0 -10
  134. package/browser/esm/94SRg1Gxbdr9B75m.mjs +0 -10
  135. package/browser/esm/B2I1Hudz2EIGw59h.mjs +0 -10
  136. package/browser/esm/B2fqssq7kMsGIg5g.mjs +0 -10
  137. package/browser/esm/BBBP9totA24zTbqh.mjs +0 -10
  138. package/browser/esm/BEYxIKe5B75ADXWP.mjs +0 -5582
  139. package/browser/esm/BIHHiMjUvXmWQ6w_.mjs +0 -10
  140. package/browser/esm/BYRVuU6FUEX6XBFW.mjs +0 -10
  141. package/browser/esm/Bq_HFm6_6_ycs_gE.mjs +0 -48519
  142. package/browser/esm/Bs6fth_bBoNrYDwE.mjs +0 -21
  143. package/browser/esm/C-QHwmJCeB3o-mzv.mjs +0 -3934
  144. package/browser/esm/C0U_bX9Hj97edVC9.mjs +0 -10
  145. package/browser/esm/CC8aO_pPT-tkJK_H.mjs +0 -10
  146. package/browser/esm/CGxu5NKxrEXE8QIe.mjs +0 -24
  147. package/browser/esm/CbTDhJiJfpR6Btxp.mjs +0 -10
  148. package/browser/esm/CsUNORBKkJ7f3diG.mjs +0 -10
  149. package/browser/esm/CyYXh2ng_dKgHzbE.mjs +0 -29
  150. package/browser/esm/DRFsMc27LyLwGu56.mjs +0 -820
  151. package/browser/esm/DT09m4FGTu5N2LZJ.mjs +0 -10
  152. package/browser/esm/DUgyehn3re1zGQT5.mjs +0 -10
  153. package/browser/esm/DWOT4LkGXRN4FrJI.mjs +0 -10
  154. package/browser/esm/Dx1J8HBJdbrROP0v.mjs +0 -10
  155. package/browser/esm/Dz8v5MSOgkaH_zTd.mjs +0 -49
  156. package/browser/esm/F7oUe3nLrtaRYTas.mjs +0 -10
  157. package/browser/esm/L5HOBW-m9BjZTUuw.mjs +0 -10
  158. package/browser/esm/XL9-bWRsLjEvW1Y0.mjs +0 -10
  159. package/browser/esm/ZXuNMFT0sYh8ui7O.mjs +0 -1575
  160. package/browser/esm/gX1gbnkwbpalR57F.mjs +0 -12
  161. package/browser/esm/kagl0zcUDaK1IX_X.mjs +0 -10
  162. package/browser/esm/t7CffsKJY64LMXgS.mjs +0 -10
  163. package/browser/esm/x9wy-F3t5pNOvOIp.mjs +0 -425
  164. package/cdn/assets/2sPP8EL_OzSYDsKu.js +0 -10
  165. package/cdn/assets/3SiPV9yNzSbQVINg.js +0 -10
  166. package/cdn/assets/6CkscKSECxQpy0v6.js +0 -10
  167. package/cdn/assets/94SRg1Gxbdr9B75m.js +0 -10
  168. package/cdn/assets/B2I1Hudz2EIGw59h.js +0 -10
  169. package/cdn/assets/B2fqssq7kMsGIg5g.js +0 -10
  170. package/cdn/assets/BBBP9totA24zTbqh.js +0 -10
  171. package/cdn/assets/BD1S4plUUe1NPAqV.js +0 -425
  172. package/cdn/assets/BIHHiMjUvXmWQ6w_.js +0 -10
  173. package/cdn/assets/BYRVuU6FUEX6XBFW.js +0 -10
  174. package/cdn/assets/Bs6fth_bBoNrYDwE.js +0 -21
  175. package/cdn/assets/BzlAT8jiYfNV3kGy.js +0 -820
  176. package/cdn/assets/C0U_bX9Hj97edVC9.js +0 -10
  177. package/cdn/assets/CC8aO_pPT-tkJK_H.js +0 -10
  178. package/cdn/assets/CGxu5NKxrEXE8QIe.js +0 -24
  179. package/cdn/assets/CJOmvmuvywU33q7C.js +0 -3934
  180. package/cdn/assets/CbTDhJiJfpR6Btxp.js +0 -10
  181. package/cdn/assets/CsUNORBKkJ7f3diG.js +0 -10
  182. package/cdn/assets/DBq5E3hmvVO5ss1V.js +0 -5582
  183. package/cdn/assets/DT09m4FGTu5N2LZJ.js +0 -10
  184. package/cdn/assets/DUgyehn3re1zGQT5.js +0 -10
  185. package/cdn/assets/DWOT4LkGXRN4FrJI.js +0 -10
  186. package/cdn/assets/Det1P4Jrl9aZHFGe.js +0 -472
  187. package/cdn/assets/Dt3qIbvMvgQhNgeR.js +0 -1575
  188. package/cdn/assets/Dx1J8HBJdbrROP0v.js +0 -10
  189. package/cdn/assets/F7oUe3nLrtaRYTas.js +0 -10
  190. package/cdn/assets/L5HOBW-m9BjZTUuw.js +0 -10
  191. package/cdn/assets/U_ihCP2tbaRnqD2g.js +0 -48366
  192. package/cdn/assets/XL9-bWRsLjEvW1Y0.js +0 -10
  193. package/cdn/assets/Z4Ov3rzhXnezd-gU.js +0 -29
  194. package/cdn/assets/dR_uwa9znq6_hDmB.js +0 -49
  195. package/cdn/assets/gX1gbnkwbpalR57F.js +0 -12
  196. package/cdn/assets/kagl0zcUDaK1IX_X.js +0 -10
  197. package/cdn/assets/t7CffsKJY64LMXgS.js +0 -10
@@ -1,10 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.4
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- const t = { FILTERXML: { s: "Returns specific data from XML content using the specified XPath.", p: { xml: { d: "is a string in valid XML format." }, xpath: { d: "is a string in standard XPath format." } } } };
8
- export {
9
- t as default
10
- };
@@ -1,425 +0,0 @@
1
- import { h as yt } from "./U_ihCP2tbaRnqD2g.js";
2
- /**
3
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.4
4
- *
5
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
- * License: The license can be found at https://www.sheetxl.com/license.
7
- */
8
- var ct, pt = { exports: {} }, gt = (ct || (ct = 1, pt.exports = function Y() {
9
- var Q, k = typeof self < "u" ? self : typeof window < "u" ? window : k !== void 0 ? k : {}, P = !k.document && !!k.postMessage, B = k.IS_PAPA_WORKER || !1, J = {}, mt = 0, a = {};
10
- function K(t) {
11
- this._handle = null, this._finished = !1, this._completed = !1, this._halted = !1, this._input = null, this._baseIndex = 0, this._partialLine = "", this._rowCount = 0, this._start = 0, this._nextChunk = null, this.isFirstChunk = !0, this._completeResults = { data: [], errors: [], meta: {} }, function(e) {
12
- var i = at(e);
13
- i.chunkSize = parseInt(i.chunkSize), e.step || e.chunk || (i.chunkSize = null), this._handle = new ht(i), (this._handle.streamer = this)._config = i;
14
- }.call(this, t), this.parseChunk = function(e, i) {
15
- var n = parseInt(this._config.skipFirstNLines) || 0;
16
- if (this.isFirstChunk && 0 < n) {
17
- let l = this._config.newline;
18
- l || (r = this._config.quoteChar || '"', l = this._handle.guessLineEndings(e, r)), e = [...e.split(l).slice(n)].join(l);
19
- }
20
- this.isFirstChunk && _(this._config.beforeFirstChunk) && (r = this._config.beforeFirstChunk(e)) !== void 0 && (e = r), this.isFirstChunk = !1, this._halted = !1, n = this._partialLine + e;
21
- var r = (this._partialLine = "", this._handle.parse(n, this._baseIndex, !this._finished));
22
- if (!this._handle.paused() && !this._handle.aborted()) {
23
- if (e = r.meta.cursor, this._finished || (this._partialLine = n.substring(e - this._baseIndex), this._baseIndex = e), r && r.data && (this._rowCount += r.data.length), n = this._finished || this._config.preview && this._rowCount >= this._config.preview, B) k.postMessage({ results: r, workerId: a.WORKER_ID, finished: n });
24
- else if (_(this._config.chunk) && !i) {
25
- if (this._config.chunk(r, this._handle), this._handle.paused() || this._handle.aborted()) return void (this._halted = !0);
26
- this._completeResults = r = void 0;
27
- }
28
- return this._config.step || this._config.chunk || (this._completeResults.data = this._completeResults.data.concat(r.data), this._completeResults.errors = this._completeResults.errors.concat(r.errors), this._completeResults.meta = r.meta), this._completed || !n || !_(this._config.complete) || r && r.meta.aborted || (this._config.complete(this._completeResults, this._input), this._completed = !0), n || r && r.meta.paused || this._nextChunk(), r;
29
- }
30
- this._halted = !0;
31
- }, this._sendError = function(e) {
32
- _(this._config.error) ? this._config.error(e) : B && this._config.error && k.postMessage({ workerId: a.WORKER_ID, error: e, finished: !1 });
33
- };
34
- }
35
- function it(t) {
36
- var e;
37
- (t = t || {}).chunkSize || (t.chunkSize = a.RemoteChunkSize), K.call(this, t), this._nextChunk = P ? function() {
38
- this._readChunk(), this._chunkLoaded();
39
- } : function() {
40
- this._readChunk();
41
- }, this.stream = function(i) {
42
- this._input = i, this._nextChunk();
43
- }, this._readChunk = function() {
44
- if (this._finished) this._chunkLoaded();
45
- else {
46
- if (e = new XMLHttpRequest(), this._config.withCredentials && (e.withCredentials = this._config.withCredentials), P || (e.onload = $(this._chunkLoaded, this), e.onerror = $(this._chunkError, this)), e.open(this._config.downloadRequestBody ? "POST" : "GET", this._input, !P), this._config.downloadRequestHeaders) {
47
- var i, n = this._config.downloadRequestHeaders;
48
- for (i in n) e.setRequestHeader(i, n[i]);
49
- }
50
- var r;
51
- this._config.chunkSize && (r = this._start + this._config.chunkSize - 1, e.setRequestHeader("Range", "bytes=" + this._start + "-" + r));
52
- try {
53
- e.send(this._config.downloadRequestBody);
54
- } catch (l) {
55
- this._chunkError(l.message);
56
- }
57
- P && e.status === 0 && this._chunkError();
58
- }
59
- }, this._chunkLoaded = function() {
60
- var i;
61
- e.readyState === 4 && (e.status < 200 || 400 <= e.status ? this._chunkError() : (this._start += this._config.chunkSize || e.responseText.length, this._finished = !this._config.chunkSize || this._start >= ((i = (i = e).getResponseHeader("Content-Range")) !== null ? parseInt(i.substring(i.lastIndexOf("/") + 1)) : -1), this.parseChunk(e.responseText)));
62
- }, this._chunkError = function(i) {
63
- i = e.statusText || i, this._sendError(new Error(i));
64
- };
65
- }
66
- function rt(t) {
67
- (t = t || {}).chunkSize || (t.chunkSize = a.LocalChunkSize), K.call(this, t);
68
- var e, i, n = typeof FileReader < "u";
69
- this.stream = function(r) {
70
- this._input = r, i = r.slice || r.webkitSlice || r.mozSlice, n ? ((e = new FileReader()).onload = $(this._chunkLoaded, this), e.onerror = $(this._chunkError, this)) : e = new FileReaderSync(), this._nextChunk();
71
- }, this._nextChunk = function() {
72
- this._finished || this._config.preview && !(this._rowCount < this._config.preview) || this._readChunk();
73
- }, this._readChunk = function() {
74
- var r = this._input, l = (this._config.chunkSize && (l = Math.min(this._start + this._config.chunkSize, this._input.size), r = i.call(r, this._start, l)), e.readAsText(r, this._config.encoding));
75
- n || this._chunkLoaded({ target: { result: l } });
76
- }, this._chunkLoaded = function(r) {
77
- this._start += this._config.chunkSize, this._finished = !this._config.chunkSize || this._start >= this._input.size, this.parseChunk(r.target.result);
78
- }, this._chunkError = function() {
79
- this._sendError(e.error);
80
- };
81
- }
82
- function X(t) {
83
- var e;
84
- K.call(this, t = t || {}), this.stream = function(i) {
85
- return e = i, this._nextChunk();
86
- }, this._nextChunk = function() {
87
- var i, n;
88
- if (!this._finished) return i = this._config.chunkSize, e = i ? (n = e.substring(0, i), e.substring(i)) : (n = e, ""), this._finished = !e, this.parseChunk(n);
89
- };
90
- }
91
- function nt(t) {
92
- K.call(this, t = t || {});
93
- var e = [], i = !0, n = !1;
94
- this.pause = function() {
95
- K.prototype.pause.apply(this, arguments), this._input.pause();
96
- }, this.resume = function() {
97
- K.prototype.resume.apply(this, arguments), this._input.resume();
98
- }, this.stream = function(r) {
99
- this._input = r, this._input.on("data", this._streamData), this._input.on("end", this._streamEnd), this._input.on("error", this._streamError);
100
- }, this._checkIsFinished = function() {
101
- n && e.length === 1 && (this._finished = !0);
102
- }, this._nextChunk = function() {
103
- this._checkIsFinished(), e.length ? this.parseChunk(e.shift()) : i = !0;
104
- }, this._streamData = $(function(r) {
105
- try {
106
- e.push(typeof r == "string" ? r : r.toString(this._config.encoding)), i && (i = !1, this._checkIsFinished(), this.parseChunk(e.shift()));
107
- } catch (l) {
108
- this._streamError(l);
109
- }
110
- }, this), this._streamError = $(function(r) {
111
- this._streamCleanUp(), this._sendError(r);
112
- }, this), this._streamEnd = $(function() {
113
- this._streamCleanUp(), n = !0, this._streamData("");
114
- }, this), this._streamCleanUp = $(function() {
115
- this._input.removeListener("data", this._streamData), this._input.removeListener("end", this._streamEnd), this._input.removeListener("error", this._streamError);
116
- }, this);
117
- }
118
- function ht(t) {
119
- var e, i, n, r, l = Math.pow(2, 53), v = -l, z = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, w = /^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/, m = this, T = 0, o = 0, I = !1, u = !1, p = [], s = { data: [], errors: [], meta: {} };
120
- function C(h) {
121
- return t.skipEmptyLines === "greedy" ? h.join("").trim() === "" : h.length === 1 && h[0].length === 0;
122
- }
123
- function R() {
124
- if (s && n && (M("Delimiter", "UndetectableDelimiter", "Unable to auto-detect delimiting character; defaulted to '" + a.DefaultDelimiter + "'"), n = !1), t.skipEmptyLines && (s.data = s.data.filter(function(f) {
125
- return !C(f);
126
- })), L()) {
127
- let f = function(O, A) {
128
- _(t.transformHeader) && (O = t.transformHeader(O, A)), p.push(O);
129
- };
130
- if (s) if (Array.isArray(s.data[0])) {
131
- for (var h = 0; L() && h < s.data.length; h++) s.data[h].forEach(f);
132
- s.data.splice(0, 1);
133
- } else s.data.forEach(f);
134
- }
135
- function c(f, O) {
136
- for (var A = t.header ? {} : [], b = 0; b < f.length; b++) {
137
- var y = b, g = f[b];
138
- g = ((U, d) => {
139
- return S = U, t.dynamicTypingFunction && t.dynamicTyping[S] === void 0 && (t.dynamicTyping[S] = t.dynamicTypingFunction(S)), (t.dynamicTyping[S] || t.dynamicTyping) === !0 ? d === "true" || d === "TRUE" || d !== "false" && d !== "FALSE" && (((j) => {
140
- if (z.test(j) && (j = parseFloat(j), v < j && j < l)) return 1;
141
- })(d) ? parseFloat(d) : w.test(d) ? new Date(d) : d === "" ? null : d) : d;
142
- var S;
143
- })(y = t.header ? b >= p.length ? "__parsed_extra" : p[b] : y, g = t.transform ? t.transform(g, y) : g), y === "__parsed_extra" ? (A[y] = A[y] || [], A[y].push(g)) : A[y] = g;
144
- }
145
- return t.header && (b > p.length ? M("FieldMismatch", "TooManyFields", "Too many fields: expected " + p.length + " fields but parsed " + b, o + O) : b < p.length && M("FieldMismatch", "TooFewFields", "Too few fields: expected " + p.length + " fields but parsed " + b, o + O)), A;
146
- }
147
- var E;
148
- s && (t.header || t.dynamicTyping || t.transform) && (E = 1, !s.data.length || Array.isArray(s.data[0]) ? (s.data = s.data.map(c), E = s.data.length) : s.data = c(s.data, 0), t.header && s.meta && (s.meta.fields = p), o += E);
149
- }
150
- function L() {
151
- return t.header && p.length === 0;
152
- }
153
- function M(h, c, E, f) {
154
- h = { type: h, code: c, message: E }, f !== void 0 && (h.row = f), s.errors.push(h);
155
- }
156
- _(t.step) && (r = t.step, t.step = function(h) {
157
- s = h, L() ? R() : (R(), s.data.length !== 0 && (T += h.data.length, t.preview && T > t.preview ? i.abort() : (s.data = s.data[0], r(s, m))));
158
- }), this.parse = function(h, c, E) {
159
- var f = t.quoteChar || '"';
160
- return t.newline || (t.newline = this.guessLineEndings(h, f)), n = !1, t.delimiter ? _(t.delimiter) && (t.delimiter = t.delimiter(h), s.meta.delimiter = t.delimiter) : ((f = ((O, A, b, y, g) => {
161
- var U, d, S, j;
162
- g = g || [",", " ", "|", ";", a.RECORD_SEP, a.UNIT_SEP];
163
- for (var Z = 0; Z < g.length; Z++) {
164
- for (var W, tt = g[Z], F = 0, q = 0, x = 0, D = (S = void 0, new st({ comments: y, delimiter: tt, newline: A, preview: 10 }).parse(O)), H = 0; H < D.data.length; H++) b && C(D.data[H]) ? x++ : (q += W = D.data[H].length, S === void 0 ? S = W : 0 < W && (F += Math.abs(W - S), S = W));
165
- 0 < D.data.length && (q /= D.data.length - x), (d === void 0 || F <= d) && (j === void 0 || j < q) && 1.99 < q && (d = F, U = tt, j = q);
166
- }
167
- return { successful: !!(t.delimiter = U), bestDelimiter: U };
168
- })(h, t.newline, t.skipEmptyLines, t.comments, t.delimitersToGuess)).successful ? t.delimiter = f.bestDelimiter : (n = !0, t.delimiter = a.DefaultDelimiter), s.meta.delimiter = t.delimiter), f = at(t), t.preview && t.header && f.preview++, e = h, i = new st(f), s = i.parse(e, c, E), R(), I ? { meta: { paused: !0 } } : s || { meta: { paused: !1 } };
169
- }, this.paused = function() {
170
- return I;
171
- }, this.pause = function() {
172
- I = !0, i.abort(), e = _(t.chunk) ? "" : e.substring(i.getCharIndex());
173
- }, this.resume = function() {
174
- m.streamer._halted ? (I = !1, m.streamer.parseChunk(e, !0)) : setTimeout(m.resume, 3);
175
- }, this.aborted = function() {
176
- return u;
177
- }, this.abort = function() {
178
- u = !0, i.abort(), s.meta.aborted = !0, _(t.complete) && t.complete(s), e = "";
179
- }, this.guessLineEndings = function(h, c) {
180
- h = h.substring(0, 1048576), c = new RegExp(V(c) + "([^]*?)" + V(c), "gm");
181
- var E = (h = h.replace(c, "")).split("\r");
182
- if (h = 1 < (c = h.split(`
183
- `)).length && c[0].length < E[0].length, E.length === 1 || h) return `
184
- `;
185
- for (var f = 0, O = 0; O < E.length; O++) E[O][0] === `
186
- ` && f++;
187
- return f >= E.length / 2 ? `\r
188
- ` : "\r";
189
- };
190
- }
191
- function V(t) {
192
- return t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
193
- }
194
- function st(t) {
195
- var e = (t = t || {}).delimiter, i = t.newline, n = t.comments, r = t.step, l = t.preview, v = t.fastMode, z = null, w = !1, m = t.quoteChar == null ? '"' : t.quoteChar, T = m;
196
- if (t.escapeChar !== void 0 && (T = t.escapeChar), (typeof e != "string" || -1 < a.BAD_DELIMITERS.indexOf(e)) && (e = ","), n === e) throw new Error("Comment character same as delimiter");
197
- n === !0 ? n = "#" : (typeof n != "string" || -1 < a.BAD_DELIMITERS.indexOf(n)) && (n = !1), i !== `
198
- ` && i !== "\r" && i !== `\r
199
- ` && (i = `
200
- `);
201
- var o = 0, I = !1;
202
- this.parse = function(u, p, s) {
203
- if (typeof u != "string") throw new Error("Input must be a string");
204
- var C = u.length, R = e.length, L = i.length, M = n.length, h = _(r), c = [], E = [], f = [], O = o = 0;
205
- if (!u) return F();
206
- if (v || v !== !1 && u.indexOf(m) === -1) {
207
- for (var A = u.split(i), b = 0; b < A.length; b++) {
208
- if (f = A[b], o += f.length, b !== A.length - 1) o += i.length;
209
- else if (s) return F();
210
- if (!n || f.substring(0, M) !== n) {
211
- if (h) {
212
- if (c = [], j(f.split(e)), q(), I) return F();
213
- } else j(f.split(e));
214
- if (l && l <= b) return c = c.slice(0, l), F(!0);
215
- }
216
- }
217
- return F();
218
- }
219
- for (var y = u.indexOf(e, o), g = u.indexOf(i, o), U = new RegExp(V(T) + V(m), "g"), d = u.indexOf(m, o); ; ) if (u[o] === m) for (d = o, o++; ; ) {
220
- if ((d = u.indexOf(m, d + 1)) === -1) return s || E.push({ type: "Quotes", code: "MissingQuotes", message: "Quoted field unterminated", row: c.length, index: o }), W();
221
- if (d === C - 1) return W(u.substring(o, d).replace(U, m));
222
- if (m === T && u[d + 1] === T) d++;
223
- else if (m === T || d === 0 || u[d - 1] !== T) {
224
- y !== -1 && y < d + 1 && (y = u.indexOf(e, d + 1));
225
- var S = Z((g = g !== -1 && g < d + 1 ? u.indexOf(i, d + 1) : g) === -1 ? y : Math.min(y, g));
226
- if (u.substr(d + 1 + S, R) === e) {
227
- f.push(u.substring(o, d).replace(U, m)), u[o = d + 1 + S + R] !== m && (d = u.indexOf(m, o)), y = u.indexOf(e, o), g = u.indexOf(i, o);
228
- break;
229
- }
230
- if (S = Z(g), u.substring(d + 1 + S, d + 1 + S + L) === i) {
231
- if (f.push(u.substring(o, d).replace(U, m)), tt(d + 1 + S + L), y = u.indexOf(e, o), d = u.indexOf(m, o), h && (q(), I)) return F();
232
- if (l && c.length >= l) return F(!0);
233
- break;
234
- }
235
- E.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: c.length, index: o }), d++;
236
- }
237
- }
238
- else if (n && f.length === 0 && u.substring(o, o + M) === n) {
239
- if (g === -1) return F();
240
- o = g + L, g = u.indexOf(i, o), y = u.indexOf(e, o);
241
- } else if (y !== -1 && (y < g || g === -1)) f.push(u.substring(o, y)), o = y + R, y = u.indexOf(e, o);
242
- else {
243
- if (g === -1) break;
244
- if (f.push(u.substring(o, g)), tt(g + L), h && (q(), I)) return F();
245
- if (l && c.length >= l) return F(!0);
246
- }
247
- return W();
248
- function j(x) {
249
- c.push(x), O = o;
250
- }
251
- function Z(x) {
252
- return x !== -1 && (x = u.substring(d + 1, x)) && x.trim() === "" ? x.length : 0;
253
- }
254
- function W(x) {
255
- return s || (x === void 0 && (x = u.substring(o)), f.push(x), o = C, j(f), h && q()), F();
256
- }
257
- function tt(x) {
258
- o = x, j(f), f = [], g = u.indexOf(i, o);
259
- }
260
- function F(x) {
261
- if (t.header && !p && c.length && !w) {
262
- var D = c[0], H = /* @__PURE__ */ Object.create(null), ot = new Set(D);
263
- let ft = !1;
264
- for (let G = 0; G < D.length; G++) {
265
- let N = D[G];
266
- if (H[N = _(t.transformHeader) ? t.transformHeader(N, G) : N]) {
267
- let et, lt = H[N];
268
- for (; et = N + "_" + lt, lt++, ot.has(et); ) ;
269
- ot.add(et), D[G] = et, H[N]++, ft = !0, (z = z === null ? {} : z)[et] = N;
270
- } else H[N] = 1, D[G] = N;
271
- ot.add(N);
272
- }
273
- ft && console.warn("Duplicate headers found and renamed."), w = !0;
274
- }
275
- return { data: c, errors: E, meta: { delimiter: e, linebreak: i, aborted: I, truncated: !!x, cursor: O + (p || 0), renamedHeaders: z } };
276
- }
277
- function q() {
278
- r(F()), c = [], E = [];
279
- }
280
- }, this.abort = function() {
281
- I = !0;
282
- }, this.getCharIndex = function() {
283
- return o;
284
- };
285
- }
286
- function _t(t) {
287
- var e = t.data, i = J[e.workerId], n = !1;
288
- if (e.error) i.userError(e.error, e.file);
289
- else if (e.results && e.results.data) {
290
- var r = { abort: function() {
291
- n = !0, ut(e.workerId, { data: [], errors: [], meta: { aborted: !0 } });
292
- }, pause: dt, resume: dt };
293
- if (_(i.userStep)) {
294
- for (var l = 0; l < e.results.data.length && (i.userStep({ data: e.results.data[l], errors: e.results.errors, meta: e.results.meta }, r), !n); l++) ;
295
- delete e.results;
296
- } else _(i.userChunk) && (i.userChunk(e.results, r, e.file), delete e.results);
297
- }
298
- e.finished && !n && ut(e.workerId, e.results);
299
- }
300
- function ut(t, e) {
301
- var i = J[t];
302
- _(i.userComplete) && i.userComplete(e), i.terminate(), delete J[t];
303
- }
304
- function dt() {
305
- throw new Error("Not implemented.");
306
- }
307
- function at(t) {
308
- if (typeof t != "object" || t === null) return t;
309
- var e, i = Array.isArray(t) ? [] : {};
310
- for (e in t) i[e] = at(t[e]);
311
- return i;
312
- }
313
- function $(t, e) {
314
- return function() {
315
- t.apply(e, arguments);
316
- };
317
- }
318
- function _(t) {
319
- return typeof t == "function";
320
- }
321
- return a.parse = function(t, e) {
322
- var i, n = (e = e || {}).dynamicTyping || !1;
323
- if (_(n) && (e.dynamicTypingFunction = n, n = {}), e.dynamicTyping = n, e.transform = !!_(e.transform) && e.transform, !e.worker || !a.WORKERS_SUPPORTED) return n = null, a.NODE_STREAM_INPUT, typeof t == "string" ? (t = (i = t).charCodeAt(0) !== 65279 ? i : i.slice(1), n = new (e.download ? it : X)(e)) : t.readable === !0 && _(t.read) && _(t.on) ? n = new nt(e) : (k.File && t instanceof File || t instanceof Object) && (n = new rt(e)), n.stream(t);
324
- (n = (() => {
325
- var r, l, v;
326
- return !!a.WORKERS_SUPPORTED && (l = k.URL || k.webkitURL || null, v = Y.toString(), r = a.BLOB_URL || (a.BLOB_URL = l.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ", "(", v, ")();"], { type: "text/javascript" }))), (r = new k.Worker(r)).onmessage = _t, r.id = mt++, J[r.id] = r);
327
- })()).userStep = e.step, n.userChunk = e.chunk, n.userComplete = e.complete, n.userError = e.error, e.step = _(e.step), e.chunk = _(e.chunk), e.complete = _(e.complete), e.error = _(e.error), delete e.worker, n.postMessage({ input: t, config: e, workerId: n.id });
328
- }, a.unparse = function(t, e) {
329
- var i = !1, n = !0, r = ",", l = `\r
330
- `, v = '"', z = v + v, w = !1, m = null, T = !1, o = ((() => {
331
- if (typeof e == "object") {
332
- if (typeof e.delimiter != "string" || a.BAD_DELIMITERS.filter(function(p) {
333
- return e.delimiter.indexOf(p) !== -1;
334
- }).length || (r = e.delimiter), typeof e.quotes != "boolean" && typeof e.quotes != "function" && !Array.isArray(e.quotes) || (i = e.quotes), typeof e.skipEmptyLines != "boolean" && typeof e.skipEmptyLines != "string" || (w = e.skipEmptyLines), typeof e.newline == "string" && (l = e.newline), typeof e.quoteChar == "string" && (v = e.quoteChar), typeof e.header == "boolean" && (n = e.header), Array.isArray(e.columns)) {
335
- if (e.columns.length === 0) throw new Error("Option columns is empty");
336
- m = e.columns;
337
- }
338
- e.escapeChar !== void 0 && (z = e.escapeChar + v), e.escapeFormulae instanceof RegExp ? T = e.escapeFormulae : typeof e.escapeFormulae == "boolean" && e.escapeFormulae && (T = /^[=+\-@\t\r].*$/);
339
- }
340
- })(), new RegExp(V(v), "g"));
341
- if (typeof t == "string" && (t = JSON.parse(t)), Array.isArray(t)) {
342
- if (!t.length || Array.isArray(t[0])) return I(null, t, w);
343
- if (typeof t[0] == "object") return I(m || Object.keys(t[0]), t, w);
344
- } else if (typeof t == "object") return typeof t.data == "string" && (t.data = JSON.parse(t.data)), Array.isArray(t.data) && (t.fields || (t.fields = t.meta && t.meta.fields || m), t.fields || (t.fields = Array.isArray(t.data[0]) ? t.fields : typeof t.data[0] == "object" ? Object.keys(t.data[0]) : []), Array.isArray(t.data[0]) || typeof t.data[0] == "object" || (t.data = [t.data])), I(t.fields || [], t.data || [], w);
345
- throw new Error("Unable to serialize unrecognized input");
346
- function I(p, s, C) {
347
- var R = "", L = (typeof p == "string" && (p = JSON.parse(p)), typeof s == "string" && (s = JSON.parse(s)), Array.isArray(p) && 0 < p.length), M = !Array.isArray(s[0]);
348
- if (L && n) {
349
- for (var h = 0; h < p.length; h++) 0 < h && (R += r), R += u(p[h], h);
350
- 0 < s.length && (R += l);
351
- }
352
- for (var c = 0; c < s.length; c++) {
353
- var E = (L ? p : s[c]).length, f = !1, O = L ? Object.keys(s[c]).length === 0 : s[c].length === 0;
354
- if (C && !L && (f = C === "greedy" ? s[c].join("").trim() === "" : s[c].length === 1 && s[c][0].length === 0), C === "greedy" && L) {
355
- for (var A = [], b = 0; b < E; b++) {
356
- var y = M ? p[b] : b;
357
- A.push(s[c][y]);
358
- }
359
- f = A.join("").trim() === "";
360
- }
361
- if (!f) {
362
- for (var g = 0; g < E; g++) {
363
- 0 < g && !O && (R += r);
364
- var U = L && M ? p[g] : g;
365
- R += u(s[c][U], g);
366
- }
367
- c < s.length - 1 && (!C || 0 < E && !O) && (R += l);
368
- }
369
- }
370
- return R;
371
- }
372
- function u(p, s) {
373
- var C, R;
374
- return p == null ? "" : p.constructor === Date ? JSON.stringify(p).slice(1, 25) : (R = !1, T && typeof p == "string" && T.test(p) && (p = "'" + p, R = !0), C = p.toString().replace(o, z), (R = R || i === !0 || typeof i == "function" && i(p, s) || Array.isArray(i) && i[s] || ((L, M) => {
375
- for (var h = 0; h < M.length; h++) if (-1 < L.indexOf(M[h])) return !0;
376
- return !1;
377
- })(C, a.BAD_DELIMITERS) || -1 < C.indexOf(r) || C.charAt(0) === " " || C.charAt(C.length - 1) === " ") ? v + C + v : C);
378
- }
379
- }, a.RECORD_SEP = "", a.UNIT_SEP = "", a.BYTE_ORDER_MARK = "\uFEFF", a.BAD_DELIMITERS = ["\r", `
380
- `, '"', a.BYTE_ORDER_MARK], a.WORKERS_SUPPORTED = !P && !!k.Worker, a.NODE_STREAM_INPUT = 1, a.LocalChunkSize = 10485760, a.RemoteChunkSize = 5242880, a.DefaultDelimiter = ",", a.Parser = st, a.ParserHandle = ht, a.NetworkStreamer = it, a.FileStreamer = rt, a.StringStreamer = X, a.ReadableStreamStreamer = nt, k.jQuery && ((Q = k.jQuery).fn.parse = function(t) {
381
- var e = t.config || {}, i = [];
382
- return this.each(function(l) {
383
- if (Q(this).prop("tagName").toUpperCase() !== "INPUT" || Q(this).attr("type").toLowerCase() !== "file" || !k.FileReader || !this.files || this.files.length === 0) return !0;
384
- for (var v = 0; v < this.files.length; v++) i.push({ file: this.files[v], inputElem: this, instanceConfig: Q.extend({}, e) });
385
- }), n(), this;
386
- function n() {
387
- if (i.length === 0) _(t.complete) && t.complete();
388
- else {
389
- var l, v, z, w = i[0];
390
- if (_(t.before)) {
391
- var m = t.before(w.file, w.inputElem);
392
- if (typeof m == "object") {
393
- if (m.action === "abort") return l = w.file, v = w.inputElem, z = m.reason, void (_(t.error) && t.error({ name: "AbortError" }, l, v, z));
394
- if (m.action === "skip") return void r();
395
- typeof m.config == "object" && (w.instanceConfig = Q.extend(w.instanceConfig, m.config));
396
- } else if (m === "skip") return void r();
397
- }
398
- var T = w.instanceConfig.complete;
399
- w.instanceConfig.complete = function(o) {
400
- _(T) && T(o, w.file, w.inputElem), r();
401
- }, a.parse(w.file, w.instanceConfig);
402
- }
403
- }
404
- function r() {
405
- i.splice(0, 1), n();
406
- }
407
- }), B && (k.onmessage = function(t) {
408
- t = t.data, a.WORKER_ID === void 0 && t && (a.WORKER_ID = t.workerId), typeof t.input == "string" ? k.postMessage({ workerId: a.WORKER_ID, results: a.parse(t.input, t.config), finished: !0 }) : (k.File && t.input instanceof File || t.input instanceof Object) && (t = a.parse(t.input, t.config)) && k.postMessage({ workerId: a.WORKER_ID, results: t, finished: !0 });
409
- }), (it.prototype = Object.create(K.prototype)).constructor = it, (rt.prototype = Object.create(K.prototype)).constructor = rt, (X.prototype = Object.create(X.prototype)).constructor = X, (nt.prototype = Object.create(K.prototype)).constructor = nt, a;
410
- }()), pt.exports);
411
- const bt = function(Y, Q) {
412
- for (var k = 0; k < Q.length; k++) {
413
- const P = Q[k];
414
- if (typeof P != "string" && !Array.isArray(P)) {
415
- for (const B in P) if (B !== "default" && !(B in Y)) {
416
- const J = Object.getOwnPropertyDescriptor(P, B);
417
- J && Object.defineProperty(Y, B, J.get ? J : { enumerable: !0, get: () => P[B] });
418
- }
419
- }
420
- }
421
- return Object.freeze(Object.defineProperty(Y, Symbol.toStringTag, { value: "Module" }));
422
- }({ __proto__: null, default: yt(gt) }, [gt]);
423
- export {
424
- bt as p
425
- };
@@ -1,10 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.4
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- const e = { DAVERAGE: { s: "Averages the values in a column in a list or database that match conditions you specify", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DCOUNT: { s: "Counts the cells containing numbers in the field (column) of records in the database that match the conditions you specify", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DCOUNTA: { s: "Counts nonblank cells in the field (column) of records in the database that match the conditions you specify", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DGET: { s: "Extracts from a database a single record that matches the conditions you specify", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DMAX: { s: "Returns the largest number in the field (column) of records in the database that match the conditions you specify", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DMIN: { s: "Returns the smallest number in the field (column) of records in the database that match the conditions you specify", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DPRODUCT: { s: "Multiplies the values in the field (column) of records in the database that match the conditions you specify", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DSTDEV: { s: "Estimates the standard deviation based on a sample from selected database entries", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DSTDEVP: { s: "Calculates the standard deviation based on the entire population of selected database entries", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DSUM: { s: "Adds the numbers in the field (column) of records in the database that match the conditions you specify", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DVAR: { s: "Estimates variance based on a sample from selected database entries", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" }, DVARP: { s: "Calculates variance based on the entire population of selected database entries", p: { database: { d: "is the range of cells that makes up the list or database. A database is a list of related data" }, field: { d: "is either the label of the column in double quotation marks or a number that represents the column's position in the list" }, criteria: { d: "is the range of cells that contains the conditions you specify. The range includes a column label and one cell below the label for a condition" } }, h: "Unimplemented" } };
8
- export {
9
- e as default
10
- };
@@ -1,10 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.4
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- const e = { CELL: { s: "Returns information about the cell.", p: { infoType: { d: "The type of information to return." }, reference: {} } }, "ERROR.TYPE": { s: "Returns a number matching an error value", p: { errorVal: { d: "is the error value for which you want the identifying number, and can be an actual error value or a reference to a cell containing an error value." } } }, INFO: { s: "Returns information about the current operating system.", p: { typeText: { d: "The type of information to return" } } }, ISBLANK: { s: "Checks whether a reference is to an empty cell, and returns TRUE or FALSE", p: { value: { d: "is the cell or a name that refers to the cell you want to test" } } }, ISERR: { s: "Checks whether a value is an error other than #N/A, and returns TRUE or FALSE", p: { value: { d: "is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value" } } }, ISERROR: { s: "Checks whether a value is an error, and returns TRUE or FALSE", p: { value: { d: "is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value" } } }, ISEVEN: { s: "Returns TRUE if the number is even", p: { number: { d: "is the value to test" } } }, ISFORMULA: { s: "Checks whether a reference is to a cell containing a formula, and returns TRUE or FALSE", p: { reference: { d: "is a reference to the cell you want to test. Reference can be a cell reference, a formula, or name that refers to a cell" } } }, ISLOGICAL: { s: "Checks whether a value is a logical value (TRUE or FALSE), and returns TRUE or FALSE", p: { value: { d: "is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value" } } }, ISNA: { s: "Checks whether a value is #N/A, and returns TRUE or FALSE", p: { value: { d: "is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value" } } }, ISNONTEXT: { s: "Checks whether a value is not text (blank cells are not text), and returns TRUE or FALSE", p: { value: { d: "is the value you want tested: a cell; a formula; or a name referring to a cell, formula, or value" } } }, ISNUMBER: { s: "Checks whether a value is not text (blank cells are not text), and returns TRUE or FALSE", p: { value: { d: "is the value you want tested: a cell; a formula; or a name referring to a cell, formula, or value" } } }, ISODD: { s: "Returns TRUE if the number is odd", p: { number: { d: "is the value to test" } } }, ISOMITTED: { s: "Checks whether the value is omitted, and returns TRUE or FALSE", p: { argument: { d: "is the value you want to test, such as a LAMBDA parameter" } } }, ISREF: { s: "Checks whether a value is a reference, and returns TRUE or FALSE", p: { value: { d: "is the value you want to test. Value can refer to a cell, a formula, or a name that refers to a cell, formula, or value" } } }, ISTEXT: { s: "Converts a value to text in a specific number format", p: { value: { d: "is a number, a formula that evaluates to a numeric value, or a reference to a cell containing a numeric value" } } }, N: { s: "Converts non-number value to a number, dates to serial numbers, TRUE to 1, anything else to 0 (zero)", p: { value: { d: "is the value to convert" } } }, NA: { s: "Returns the #N/A error value", p: {} }, SHEET: { s: "Returns the sheet number of the referenced sheet", p: { value: { d: "is the name of a sheet or a reference that you want the sheet number of. If omitted the number of the sheet containing the function is returned" } } }, SHEETS: { s: "Returns the number of sheets in a reference", p: { reference: { d: "is a reference for which you want to know the number of sheets it contains. If omitted the number of sheets in the workbook containing the function is returned" } } }, TYPE: { s: "Returns an integer representing the data type of a value: number = 1; text = 2; logical value = 4; error value = 16; array = 64; compound data = 128", p: { value: { d: "is the value to check" } } } };
8
- export {
9
- e as default
10
- };
@@ -1,21 +0,0 @@
1
- /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.4
3
- *
4
- * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
6
- */
7
- let e = null;
8
- async function n() {
9
- return e || (e = new Promise(async (i, l) => {
10
- let r = null;
11
- try {
12
- r = await import("https://esm.sh/typescript@5.7.2");
13
- } catch (t) {
14
- console.error("Error initializing Browser TypeScript module:", t);
15
- }
16
- r || console.log("use script fallback"), i(r);
17
- }), e);
18
- }
19
- export {
20
- n as initialize
21
- };