@sheetxl/sdk 0.4.18 → 0.4.20

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 (103) hide show
  1. package/browser/cjs/{MOgoHITH-ACocbbL.cjs → B8nuUUIsnE-6vbAQ.cjs} +1 -1
  2. package/browser/cjs/{CiwovCSkpgl-bQ05.cjs → BHa5nV8AH6dlgs29.cjs} +1 -1
  3. package/browser/cjs/{D0ndeduwAXfDM5zb.cjs → BRvrxzKBJ-g1N73t.cjs} +4 -4
  4. package/browser/cjs/{BIDLC_eDQmtTBSiU.cjs → BTPJz0JSs5PWhtbO.cjs} +1 -1
  5. package/browser/cjs/{Cb2p7K5RIq2_e9yG.cjs → BTa_vDbaAzt6YXV1.cjs} +1 -1
  6. package/browser/cjs/{mf6tD7RMpxcTOPa7.cjs → BVwLRpPOJOkPiLVI.cjs} +1 -1
  7. package/browser/cjs/{bTX86za4lD1qKA2c.cjs → Ba3X8U1ch1pBFv_a.cjs} +2 -2
  8. package/browser/cjs/{ZoEJgFl5JtHAMJRA.cjs → BfMzZ_GULllzBk6l.cjs} +1 -1
  9. package/browser/cjs/{C8mgXVD7aJ0kL3cZ.cjs → BkFMWwFWaisNXSf2.cjs} +2 -2
  10. package/browser/cjs/{vmndpln6VSihKju3.cjs → BvS85P-7zLIudyqb.cjs} +1 -1
  11. package/browser/cjs/{c_vK2AcQRH4Z1mOf.cjs → Bw07AlLqg6ZIoMRL.cjs} +1 -1
  12. package/browser/cjs/{DYY4R9783ao6XPnq.cjs → C2DyH3SwPIgmFosH.cjs} +3 -3
  13. package/browser/cjs/{CrN-7tm1jDkW1nkZ.cjs → C4KbNJbRD0LfrFFV.cjs} +1 -1
  14. package/browser/cjs/{B16Za-BFwVSZCL2F.cjs → CEW45o7VnarqfsgH.cjs} +2 -2
  15. package/browser/cjs/{96I4TmbxNMXxwmus.cjs → CFwigDisNJzRlbSY.cjs} +1 -1
  16. package/browser/cjs/{CZKr-HfqerG4ae_1.cjs → CHIrWDL1wDd2pj7r.cjs} +1 -1
  17. package/browser/cjs/{Dc0ACDFHNbN2VrFS.cjs → CW9IcRQqCCBSJ1g0.cjs} +1 -1
  18. package/browser/cjs/{CakZh5cWa2vFHGhw.cjs → CYueUIoDZwYE9fRk.cjs} +1 -1
  19. package/browser/cjs/{pU4QF2C9D_-Xdu8i.cjs → CZ4_zpdkkZ0zH7aN.cjs} +1 -1
  20. package/browser/cjs/{B1lw2muyV3mfkypu.cjs → CbYFnsibjJUHV0xm.cjs} +1 -1
  21. package/browser/cjs/{MGyd1lueCpKy3gCn.cjs → CgISg2QUFvnxelIg.cjs} +1 -1
  22. package/browser/cjs/{BR38h2HGYOahC2dp.cjs → CxXM6xsDd2bFDSNd.cjs} +1 -1
  23. package/browser/cjs/{Dw4MzZ6XFcFXyqGM.cjs → D9SMcp02EIWqiYk0.cjs} +1 -1
  24. package/browser/cjs/{CDCaZG7DWMhVyfHG.cjs → D_zdscoLJ72sNgWv.cjs} +4 -4
  25. package/browser/cjs/{B-mV_peXT7VfxQQr.cjs → HoZidg9qBDX62oNO.cjs} +1 -1
  26. package/browser/cjs/{Z80-f8z0s7CfgJ1P.cjs → We0naT5G_vQo6RkK.cjs} +1 -1
  27. package/browser/cjs/{fi5RftkQIn1rYCiT.cjs → XxdMKuC0y29VOQ05.cjs} +1 -1
  28. package/browser/cjs/{DqZ7Si9Z65K5mwHo.cjs → ZJeHuklpnM-x2Uor.cjs} +1 -1
  29. package/browser/cjs/{DiJmlpPTUKIMehnP.cjs → aBAvcAfOvtWy7o9B.cjs} +1 -1
  30. package/browser/cjs/{B0M7GsaOu4qcC7yK.cjs → gn5aPOY6C-poXjky.cjs} +1 -1
  31. package/browser/cjs/index.cjs +2 -2
  32. package/browser/cjs/{HHCe0eJPV7Hu-Mrv.cjs → lTo12h7XrLmPRVhi.cjs} +1 -1
  33. package/browser/cjs/{BKM0CTaGyY5RPizC.cjs → mf_wa0ubPjGaRkSW.cjs} +2 -2
  34. package/browser/cjs/wcsUsHAbDuK3rvVp.cjs +60 -0
  35. package/{node/esm/BV-oHWKicVdc02ib.mjs → browser/esm/9tFMamEgahdtRDzr.mjs} +1 -1
  36. package/browser/esm/{B3Rp7WjCvala1UrI.mjs → B0RFp5vlJWj9U4Wn.mjs} +2 -2
  37. package/browser/esm/{BcXKG5xteM2ZAI-r.mjs → BNS7zLc3zoynBPYO.mjs} +2 -2
  38. package/browser/esm/{aNjleesiDlbcqt-A.mjs → BNURhfAYTEVJWTYT.mjs} +1 -1
  39. package/browser/esm/{CBkNkKjAmyWHMYQc.mjs → BcUYcXaMbk6W8AWk.mjs} +1 -1
  40. package/browser/esm/{CnD7cW89ne_E4Ptr.mjs → BikAM7lQn1NrVPNP.mjs} +1 -1
  41. package/browser/esm/{D0i1akdvlYD31OBX.mjs → BoB-LPOX1uKjZhKH.mjs} +1 -1
  42. package/{node/esm/C8n8dqMkkLOM9j1o.mjs → browser/esm/Bqc8bvJoWC0_qUKU.mjs} +1 -1
  43. package/browser/esm/{BwMRnRU4Wpk560An.mjs → C0d1-jgvvUt3Bpg9.mjs} +4 -4
  44. package/browser/esm/{n-ON8zha7KmSHnGP.mjs → CDbE_dl8edWRC33Z.mjs} +1 -1
  45. package/{node/esm/CkMDCQIqDEiEQiNA.mjs → browser/esm/CivKgcEQiXpDFLHE.mjs} +1 -1
  46. package/browser/esm/{Ccxt5fhksxnt3obj.mjs → CqYcEZmhnI3bq0wV.mjs} +2 -2
  47. package/browser/esm/{CnFvwDOPMYbsziTX.mjs → D3YTY3N6YHU69ymA.mjs} +1 -1
  48. package/browser/esm/{DniYiVoKuIMtovWX.mjs → DIePzm-XT-alFdDB.mjs} +1 -1
  49. package/browser/esm/{p3NY1BIiGf0UeYJe.mjs → DK_FQ6Q7AZUprApR.mjs} +5053 -5041
  50. package/{node/esm/B3csp6-HbdBEL4X8.mjs → browser/esm/DOK9VvFQyTAsf7SL.mjs} +1 -1
  51. package/browser/esm/{CRaEV0zlfuoEo-et.mjs → DP9RiXAeb1fiRFpG.mjs} +1 -1
  52. package/browser/esm/{DbCZH7lgS9omy6tP.mjs → DV9p0Ai4HUPYjT-H.mjs} +2 -2
  53. package/{node/esm/oFnfjoAJzyR1JmLH.mjs → browser/esm/DaJrKgrSikJvUv0q.mjs} +1 -1
  54. package/browser/esm/{BGYEnWE6FSOJdQ4x.mjs → DbvBy4EEBdPhE-8G.mjs} +1 -1
  55. package/{node/esm/BSayvvpavgmqIk43.mjs → browser/esm/DdDDFLZKFx1DAkKM.mjs} +1 -1
  56. package/browser/esm/{CFp2ymnFAVc8cym1.mjs → DhIglmQyhLXPjrbo.mjs} +4 -4
  57. package/{node/esm/CaM4A9aDY4eWavlM.mjs → browser/esm/DlNI2fuUSYxsUPt8.mjs} +1 -1
  58. package/browser/esm/{eTQ3bt3FTgJF4uBY.mjs → DoIENSc8L0Rof6Kz.mjs} +3 -3
  59. package/browser/esm/{DmXgfCwpavOHgM7U.mjs → DuvsEieHOiBb-GPZ.mjs} +1 -1
  60. package/{node/esm/By4pttWeS96ZhKd4.mjs → browser/esm/HTDFLMWuQb82Y-GF.mjs} +1 -1
  61. package/browser/esm/{HJ22m0DaQ0RI0un0.mjs → _q37vK_NIykwwqbg.mjs} +1 -1
  62. package/{node/esm/Y1vg4AQASwdL9KOw.mjs → browser/esm/aF3uflTbayaEj07D.mjs} +1 -1
  63. package/{node/esm/DKQjWsfROqvR_0if.mjs → browser/esm/bIOUtGNQ6YQktkYZ.mjs} +1 -1
  64. package/browser/esm/{D00n5KHOIv4JfYd5.mjs → fP2GLQ5W7VVbn5TA.mjs} +1 -1
  65. package/{node/esm/COI00WKkmFkU2tiM.mjs → browser/esm/iYqJLAQld4jtK1Be.mjs} +1 -1
  66. package/browser/esm/index.mjs +2 -2
  67. package/{node/esm/CKcGjFcPopTjr7lT.mjs → browser/esm/io70M3K8dlSe5V-4.mjs} +1 -1
  68. package/browser/esm/{BMOgQaOgpaurekew.mjs → mxJXDPqwl0wNxd66.mjs} +1 -1
  69. package/licenses/dependencies.txt +3 -3
  70. package/{browser/esm/BV-oHWKicVdc02ib.mjs → node/esm/9tFMamEgahdtRDzr.mjs} +1 -1
  71. package/node/esm/{B_zasTHoHvhPdeSH.mjs → B7ZcsKf8cxOEMq7p.mjs} +1 -1
  72. package/node/esm/{Dznoem2aPvZH1oI7.mjs → BI2k0XM8cAqRUH3e.mjs} +3 -3
  73. package/node/esm/{aNjleesiDlbcqt-A.mjs → BNURhfAYTEVJWTYT.mjs} +1 -1
  74. package/node/esm/{Ck12455NivY1Mxcb.mjs → BPSX88j1UHZNFlgn.mjs} +1 -1
  75. package/node/esm/{DwkWtlm3wKOKAC8i.mjs → BXc12GgwQ08R7S8e.mjs} +1 -1
  76. package/node/esm/{CgRxax_SEz8PgPGx.mjs → BcQcJWzyihj46-gX.mjs} +4 -4
  77. package/node/esm/{Dnx_5oPANvmxDVr0.mjs → BpBhk74DpxGo00aZ.mjs} +1 -1
  78. package/{browser/esm/C8n8dqMkkLOM9j1o.mjs → node/esm/Bqc8bvJoWC0_qUKU.mjs} +1 -1
  79. package/node/esm/{CbppxT93KkjVJRQ-.mjs → C4d62D9fLTRjV7rI.mjs} +2 -2
  80. package/node/esm/{Pay7Q8xaBXR8Xmez.mjs → C6lX28OYg20N0MeO.mjs} +1 -1
  81. package/node/esm/{BgNphncScMzrejwn.mjs → CDjHCv3dEEOY9Foy.mjs} +1 -1
  82. package/node/esm/{Cn3J66kCPWuRgghy.mjs → CHnRYVDwiNY7YZxQ.mjs} +1 -1
  83. package/{browser/esm/CkMDCQIqDEiEQiNA.mjs → node/esm/CivKgcEQiXpDFLHE.mjs} +1 -1
  84. package/node/esm/{CnFvwDOPMYbsziTX.mjs → D3YTY3N6YHU69ymA.mjs} +1 -1
  85. package/{browser/esm/B3csp6-HbdBEL4X8.mjs → node/esm/DOK9VvFQyTAsf7SL.mjs} +1 -1
  86. package/node/esm/{CRaEV0zlfuoEo-et.mjs → DP9RiXAeb1fiRFpG.mjs} +1 -1
  87. package/node/esm/{DqgV9yP7BYsuiJZo.mjs → D_13otLly5j8n5Gg.mjs} +2 -2
  88. package/{browser/esm/oFnfjoAJzyR1JmLH.mjs → node/esm/DaJrKgrSikJvUv0q.mjs} +1 -1
  89. package/{browser/esm/BSayvvpavgmqIk43.mjs → node/esm/DdDDFLZKFx1DAkKM.mjs} +1 -1
  90. package/{browser/esm/CaM4A9aDY4eWavlM.mjs → node/esm/DlNI2fuUSYxsUPt8.mjs} +1 -1
  91. package/node/esm/{qvv-Pq01UNL7eRrC.mjs → Dsf-AEKpZlzGOrcG.mjs} +1 -1
  92. package/{browser/esm/By4pttWeS96ZhKd4.mjs → node/esm/HTDFLMWuQb82Y-GF.mjs} +1 -1
  93. package/node/esm/{Erh1OKURDV0ri0SY.mjs → MrOJ8ENTixputV8_.mjs} +1 -1
  94. package/node/esm/{Ce3EISvfYzbMOOii.mjs → Tl8jbxaeK1y9aMPJ.mjs} +1 -1
  95. package/{browser/esm/Y1vg4AQASwdL9KOw.mjs → node/esm/aF3uflTbayaEj07D.mjs} +1 -1
  96. package/{browser/esm/DKQjWsfROqvR_0if.mjs → node/esm/bIOUtGNQ6YQktkYZ.mjs} +1 -1
  97. package/{browser/esm/COI00WKkmFkU2tiM.mjs → node/esm/iYqJLAQld4jtK1Be.mjs} +1 -1
  98. package/node/esm/index.mjs +282 -278
  99. package/{browser/esm/CKcGjFcPopTjr7lT.mjs → node/esm/io70M3K8dlSe5V-4.mjs} +1 -1
  100. package/node/esm/{BMOgQaOgpaurekew.mjs → mxJXDPqwl0wNxd66.mjs} +1 -1
  101. package/node/esm/{bv3-9x5QfIuZgtDa.mjs → rpVHlxg6GM8pJL5c.mjs} +2 -2
  102. package/package.json +5 -5
  103. package/browser/cjs/CSIba2XXGZO3bOXm.cjs +0 -60
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.18
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.20
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.18
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.20
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,10 +1,10 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.18
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.20
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});let c=class{constructor(e){this._worker=null,this._nextId=1,this._pendingRequests=new Map,this._workerFactory=e}start(){if(typeof Worker>"u")throw new Error("Web Workers are not supported in this environment.");return this._worker||(this._worker=this._workerFactory(),this._worker.onmessage=e=>{const{id:n,result:t,error:r}=e.data,o=this._pendingRequests.get(n);if(o)if(this._pendingRequests.delete(n),r){const i=new Error(r.message);i.stack=r.stack,r.cause&&(i.cause=r.cause),o.reject(i)}else o.resolve(t)},this._worker.onerror=e=>{console.error("Worker error:",e),this._pendingRequests.forEach(n=>{n.reject(new Error(`Worker failed: ${e.message}`))}),this._pendingRequests.clear(),this._worker=null}),Promise.resolve()}execute(e){if(!this._worker)throw new Error("Worker is not initialized. Call start() first.");const n=this._nextId++;return new Promise((t,r)=>{this._pendingRequests.set(n,{resolve:t,reject:r}),this._worker.postMessage({id:n,params:e})})}terminate(){this._worker&&(this._worker.terminate(),this._worker=null)}};class u{constructor(n){this._onExecute=n}execute(n){return this._onExecute(n)}start(){return Promise.resolve()}terminate(){}}const s=`/**
7
- * @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.4.18
7
+ * @license @sheetxl/primitives - Primitives - Base types for SheetXL functions. - v0.4.20
8
8
  *
9
9
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
10
10
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -223,7 +223,7 @@ var v;
223
223
  return n = typeof e == "string" ? tt.get(e) : rt.get(e), n || (n = v.Unknown), new n(t, r);
224
224
  }, v.getBuiltInById = (e) => Te.get(e) || Et;
225
225
  /**
226
- * @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.4.18
226
+ * @license @sheetxl/utils - Utils - Utilities used by most SheetXL components. - v0.4.20
227
227
  *
228
228
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
229
229
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1498,4 +1498,4 @@ var or = /* @__PURE__ */ Object.freeze({
1498
1498
  __proto__: null,
1499
1499
  initialize: nr
1500
1500
  });
1501
- `,a=typeof self<"u"&&self.Blob&&new Blob(["URL.revokeObjectURL(import.meta.url);",s],{type:"text/javascript;charset=utf-8"});function d(e){let n;try{if(n=a&&(self.URL||self.webkitURL).createObjectURL(a),!n)throw"";const t=new Worker(n,{type:"module",name:e?.name});return t.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(n)}),t}catch{return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(s),{type:"module",name:e?.name})}}const l=async()=>{const{compileModule:e}=await Promise.resolve().then(()=>require("./CDCaZG7DWMhVyfHG.cjs")),n=new u(t=>e(t));return await n.start(),n};exports.createCompilerWorker=async function(){if(typeof process<"u"&&process.versions?.node&&typeof Worker>"u")return await l();if(typeof Worker<"u"){const e=new c(()=>new d);try{return await e.start(),e}catch(n){console.error("Failed to start TypescriptCompiler worker reverting to fallback:",n)}}return await l()};
1501
+ `,a=typeof self<"u"&&self.Blob&&new Blob(["URL.revokeObjectURL(import.meta.url);",s],{type:"text/javascript;charset=utf-8"});function d(e){let n;try{if(n=a&&(self.URL||self.webkitURL).createObjectURL(a),!n)throw"";const t=new Worker(n,{type:"module",name:e?.name});return t.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(n)}),t}catch{return new Worker("data:text/javascript;charset=utf-8,"+encodeURIComponent(s),{type:"module",name:e?.name})}}const l=async()=>{const{compileModule:e}=await Promise.resolve().then(()=>require("./D_zdscoLJ72sNgWv.cjs")),n=new u(t=>e(t));return await n.start(),n};exports.createCompilerWorker=async function(){if(typeof process<"u"&&process.versions?.node&&typeof Worker>"u")return await l();if(typeof Worker<"u"){const e=new c(()=>new d);try{return await e.start(),e}catch(n){console.error("Failed to start TypescriptCompiler worker reverting to fallback:",n)}}return await l()};
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.18
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.20
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.18
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.20
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.18
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.20
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,9 +1,9 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.18
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.20
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./CSIba2XXGZO3bOXm.cjs");var vo=typeof global=="object"&&global&&global.Object===Object&&global,Ps=typeof self=="object"&&self&&self.Object===Object&&self,Ct=vo||Ps||Function("return this")(),Et=Ct.Symbol,No=Object.prototype,ws=No.hasOwnProperty,Ms=No.toString,Ee=Et?Et.toStringTag:void 0,Us=Object.prototype.toString,Wr=Et?Et.toStringTag:void 0;function Yt(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Wr&&Wr in Object(t)?function(e){var n=ws.call(e,Ee),r=e[Ee];try{e[Ee]=void 0;var i=!0}catch{}var o=Ms.call(e);return i&&(n?e[Ee]=r:delete e[Ee]),o}(t):function(e){return Us.call(e)}(t)}function Nt(t){return t!=null&&typeof t=="object"}function pn(t){return typeof t=="symbol"||Nt(t)&&Yt(t)=="[object Symbol]"}function mn(t,e){for(var n=-1,r=t==null?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}var D=Array.isArray,Gr=Et?Et.prototype:void 0,Kr=Gr?Gr.toString:void 0;function yo(t){if(typeof t=="string")return t;if(D(t))return mn(t,yo)+"";if(pn(t))return Kr?Kr.call(t):"";var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}var Fs=/\s/,Ds=/^\s+/;function js(t){return t&&t.slice(0,function(e){for(var n=e.length;n--&&Fs.test(e.charAt(n)););return n}(t)+1).replace(Ds,"")}function gt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Bs=/^[-+]0x[0-9a-f]+$/i,$s=/^0b[01]+$/i,Ws=/^0o[0-7]+$/i,Gs=parseInt,Ks=1/0;function zs(t){return t?(t=function(e){if(typeof e=="number")return e;if(pn(e))return NaN;if(gt(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=gt(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=js(e);var r=$s.test(e);return r||Ws.test(e)?Gs(e.slice(2),r?2:8):Bs.test(e)?NaN:+e}(t))===Ks||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:t===0?t:0}function En(t){var e=zs(t),n=e%1;return e==e?n?e-n:e:0}function le(t){return t}function Kt(t){if(!gt(t))return!1;var e=Yt(t);return e=="[object Function]"||e=="[object GeneratorFunction]"||e=="[object AsyncFunction]"||e=="[object Proxy]"}var zr,xn=Ct["__core-js_shared__"],Vr=(zr=/[^.]+$/.exec(xn&&xn.keys&&xn.keys.IE_PROTO||""))?"Symbol(src)_1."+zr:"",Vs=Function.prototype.toString;function ee(t){if(t!=null){try{return Vs.call(t)}catch{}try{return t+""}catch{}}return""}var Hs=/^\[object .+?Constructor\]$/,Ys=Function.prototype,Xs=Object.prototype,qs=Ys.toString,Zs=Xs.hasOwnProperty,Qs=RegExp("^"+qs.call(Zs).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Js(t){return!(!gt(t)||(e=t,Vr&&Vr in e))&&(Kt(t)?Qs:Hs).test(ee(t));var e}function ne(t,e){var n=function(r,i){return r?.[i]}(t,e);return Js(n)?n:void 0}var nr=ne(Ct,"WeakMap"),Hr=Object.create,ta=function(){function t(){}return function(e){if(!gt(e))return{};if(Hr)return Hr(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function q(){}var ea=Date.now,Yr,Cn,kn,nn=function(){try{var t=ne(Object,"defineProperty");return t({},"",{}),t}catch{}}(),na=nn?function(t,e){return nn(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:le,ra=(Yr=na,Cn=0,kn=0,function(){var t=ea(),e=16-(t-kn);if(kn=t,e>0){if(++Cn>=800)return arguments[0]}else Cn=0;return Yr.apply(void 0,arguments)});function Ro(t,e){for(var n=-1,r=t==null?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}function Oo(t,e,n,r){for(var i=t.length,o=n+-1;++o<i;)if(e(t[o],o,t))return o;return-1}function ia(t){return t!=t}function Tr(t,e,n){return e==e?function(r,i,o){for(var s=o-1,a=r.length;++s<a;)if(r[s]===i)return s;return-1}(t,e,n):Oo(t,ia,n)}function So(t,e){return!!(t!=null&&t.length)&&Tr(t,e,0)>-1}var oa=/^(?:0|[1-9]\d*)$/;function gn(t,e){var n=typeof t;return!!(e=e??9007199254740991)&&(n=="number"||n!="symbol"&&oa.test(t))&&t>-1&&t%1==0&&t<e}function Ar(t,e,n){e=="__proto__"&&nn?nn(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Me(t,e){return t===e||t!=t&&e!=e}var sa=Object.prototype.hasOwnProperty;function Tn(t,e,n){var r=t[e];sa.call(t,e)&&Me(r,n)&&(n!==void 0||e in t)||Ar(t,e,n)}function rr(t,e,n,r){var i=!n;n||(n={});for(var o=-1,s=e.length;++o<s;){var a=e[o],c=void 0;c===void 0&&(c=t[a]),i?Ar(n,a,c):Tn(n,a,c)}return n}var Xr=Math.max;function Ir(t,e){return ra(function(n,r,i){return r=Xr(r===void 0?n.length-1:r,0),function(){for(var o=arguments,s=-1,a=Xr(o.length-r,0),c=Array(a);++s<a;)c[s]=o[r+s];s=-1;for(var u=Array(r+1);++s<r;)u[s]=o[s];return u[r]=i(c),function(l,h,f){switch(f.length){case 0:return l.call(h);case 1:return l.call(h,f[0]);case 2:return l.call(h,f[0],f[1]);case 3:return l.call(h,f[0],f[1],f[2])}return l.apply(h,f)}(n,this,u)}}(t,e,le),t+"")}function vr(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=9007199254740991}function kt(t){return t!=null&&vr(t.length)&&!Kt(t)}function _o(t,e,n){if(!gt(n))return!1;var r=typeof e;return!!(r=="number"?kt(n)&&gn(e,n.length):r=="string"&&e in n)&&Me(n[e],t)}var aa=Object.prototype;function Ue(t){var e=t&&t.constructor;return t===(typeof e=="function"&&e.prototype||aa)}function qr(t){return Nt(t)&&Yt(t)=="[object Arguments]"}var Lo=Object.prototype,ca=Lo.hasOwnProperty,ua=Lo.propertyIsEnumerable,An=qr(function(){return arguments}())?qr:function(t){return Nt(t)&&ca.call(t,"callee")&&!ua.call(t,"callee")},xo=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Zr=xo&&typeof module=="object"&&module&&!module.nodeType&&module,Qr=Zr&&Zr.exports===xo?Ct.Buffer:void 0,Ce=(Qr?Qr.isBuffer:void 0)||function(){return!1},K={};function In(t){return function(e){return t(e)}}K["[object Float32Array]"]=K["[object Float64Array]"]=K["[object Int8Array]"]=K["[object Int16Array]"]=K["[object Int32Array]"]=K["[object Uint8Array]"]=K["[object Uint8ClampedArray]"]=K["[object Uint16Array]"]=K["[object Uint32Array]"]=!0,K["[object Arguments]"]=K["[object Array]"]=K["[object ArrayBuffer]"]=K["[object Boolean]"]=K["[object DataView]"]=K["[object Date]"]=K["[object Error]"]=K["[object Function]"]=K["[object Map]"]=K["[object Number]"]=K["[object Object]"]=K["[object RegExp]"]=K["[object Set]"]=K["[object String]"]=K["[object WeakMap]"]=!1;var Co=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Oe=Co&&typeof module=="object"&&module&&!module.nodeType&&module,bn=Oe&&Oe.exports===Co&&vo.process,Vt=function(){try{var t=Oe&&Oe.require&&Oe.require("util").types;return t||bn&&bn.binding&&bn.binding("util")}catch{}}(),Jr=Vt&&Vt.isTypedArray,Nr=Jr?In(Jr):function(t){return Nt(t)&&vr(t.length)&&!!K[Yt(t)]},la=Object.prototype.hasOwnProperty;function ko(t,e){var n=D(t),r=!n&&An(t),i=!n&&!r&&Ce(t),o=!n&&!r&&!i&&Nr(t),s=n||r||i||o,a=s?function(l,h){for(var f=-1,d=Array(l);++f<l;)d[f]=h(f);return d}(t.length,String):[],c=a.length;for(var u in t)!e&&!la.call(t,u)||s&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||gn(u,c))||a.push(u);return a}function bo(t,e){return function(n){return t(e(n))}}var ha=bo(Object.keys,Object),fa=Object.prototype.hasOwnProperty;function Po(t){if(!Ue(t))return ha(t);var e=[];for(var n in Object(t))fa.call(t,n)&&n!="constructor"&&e.push(n);return e}function Tt(t){return kt(t)?ko(t):Po(t)}var Pn,da=Object.prototype.hasOwnProperty,lt=(Pn=function(t,e){if(Ue(e)||kt(e))rr(e,Tt(e),t);else for(var n in e)da.call(e,n)&&Tn(t,n,e[n])},Ir(function(t,e){var n=-1,r=e.length,i=r>1?e[r-1]:void 0,o=r>2?e[2]:void 0;for(i=Pn.length>3&&typeof i=="function"?(r--,i):void 0,o&&_o(e[0],e[1],o)&&(i=r<3?void 0:i,r=1),t=Object(t);++n<r;){var s=e[n];s&&Pn(t,s,n,i)}return t})),pa=Object.prototype.hasOwnProperty;function ma(t){if(!gt(t))return function(i){var o=[];if(i!=null)for(var s in Object(i))o.push(s);return o}(t);var e=Ue(t),n=[];for(var r in t)(r!="constructor"||!e&&pa.call(t,r))&&n.push(r);return n}function wo(t){return kt(t)?ko(t,!0):ma(t)}var Ea=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ga=/^\w*$/;function yr(t,e){if(D(t))return!1;var n=typeof t;return!(n!="number"&&n!="symbol"&&n!="boolean"&&t!=null&&!pn(t))||ga.test(t)||!Ea.test(t)||e!=null&&t in Object(e)}var ge=ne(Object,"create"),Ta=Object.prototype.hasOwnProperty,Aa=Object.prototype.hasOwnProperty;function Zt(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Be(t,e){for(var n=t.length;n--;)if(Me(t[n][0],e))return n;return-1}Zt.prototype.clear=function(){this.__data__=ge?ge(null):{},this.size=0},Zt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Zt.prototype.get=function(t){var e=this.__data__;if(ge){var n=e[t];return n==="__lodash_hash_undefined__"?void 0:n}return Ta.call(e,t)?e[t]:void 0},Zt.prototype.has=function(t){var e=this.__data__;return ge?e[t]!==void 0:Aa.call(e,t)},Zt.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ge&&e===void 0?"__lodash_hash_undefined__":e,this};var Ia=Array.prototype.splice;function Bt(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Bt.prototype.clear=function(){this.__data__=[],this.size=0},Bt.prototype.delete=function(t){var e=this.__data__,n=Be(e,t);return!(n<0)&&(n==e.length-1?e.pop():Ia.call(e,n,1),--this.size,!0)},Bt.prototype.get=function(t){var e=this.__data__,n=Be(e,t);return n<0?void 0:e[n][1]},Bt.prototype.has=function(t){return Be(this.__data__,t)>-1},Bt.prototype.set=function(t,e){var n=this.__data__,r=Be(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};var ke=ne(Ct,"Map");function $e(t,e){var n,r,i=t.__data__;return((r=typeof(n=e))=="string"||r=="number"||r=="symbol"||r=="boolean"?n!=="__proto__":n===null)?i[typeof e=="string"?"string":"hash"]:i.map}function $t(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}$t.prototype.clear=function(){this.size=0,this.__data__={hash:new Zt,map:new(ke||Bt),string:new Zt}},$t.prototype.delete=function(t){var e=$e(this,t).delete(t);return this.size-=e?1:0,e},$t.prototype.get=function(t){return $e(this,t).get(t)},$t.prototype.has=function(t){return $e(this,t).has(t)},$t.prototype.set=function(t,e){var n=$e(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function Rr(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Rr.Cache||$t),n}Rr.Cache=$t;var va=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Na=/\\(\\)?/g,ya=function(t){var e=Rr(t,function(r){return n.size===500&&n.clear(),r}),n=e.cache;return e}(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(va,function(n,r,i,o){e.push(i?o.replace(Na,"$1"):r||n)}),e});function vn(t,e){return D(t)?t:yr(t,e)?[t]:ya(function(n){return n==null?"":yo(n)}(t))}function Fe(t){if(typeof t=="string"||pn(t))return t;var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function Or(t,e){for(var n=0,r=(e=vn(e,t)).length;t!=null&&n<r;)t=t[Fe(e[n++])];return n&&n==r?t:void 0}function Sr(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}var ti=Et?Et.isConcatSpreadable:void 0;function Ra(t){return D(t)||An(t)||!!(ti&&t&&t[ti])}function _r(t,e,n,r,i){var o=-1,s=t.length;for(n||(n=Ra),i||(i=[]);++o<s;){var a=t[o];n(a)?Sr(i,a):r||(i[i.length]=a)}return i}function It(t){return t!=null&&t.length?_r(t):[]}var Mo=bo(Object.getPrototypeOf,Object);function Uo(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}function Oa(t,e,n,r){var i=-1,o=t==null?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function Lt(t){var e=this.__data__=new Bt(t);this.size=e.size}Lt.prototype.clear=function(){this.__data__=new Bt,this.size=0},Lt.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Lt.prototype.get=function(t){return this.__data__.get(t)},Lt.prototype.has=function(t){return this.__data__.has(t)},Lt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Bt){var r=n.__data__;if(!ke||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new $t(r)}return n.set(t,e),this.size=n.size,this};var Fo=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ei=Fo&&typeof module=="object"&&module&&!module.nodeType&&module,ni=ei&&ei.exports===Fo?Ct.Buffer:void 0,ri=ni?ni.allocUnsafe:void 0;function Lr(t,e){for(var n=-1,r=t==null?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}function Do(){return[]}var Sa=Object.prototype.propertyIsEnumerable,ii=Object.getOwnPropertySymbols,xr=ii?function(t){return t==null?[]:(t=Object(t),Lr(ii(t),function(e){return Sa.call(t,e)}))}:Do,_a=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Sr(e,xr(t)),t=Mo(t);return e}:Do;function jo(t,e,n){var r=e(t);return D(t)?r:Sr(r,n(t))}function ir(t){return jo(t,Tt,xr)}var or=ne(Ct,"DataView"),sr=ne(Ct,"Promise"),ce=ne(Ct,"Set"),oi="[object Map]",si="[object Promise]",ai="[object Set]",ci="[object WeakMap]",ui="[object DataView]",La=ee(or),xa=ee(ke),Ca=ee(sr),ka=ee(ce),ba=ee(nr),pt=Yt;(or&&pt(new or(new ArrayBuffer(1)))!=ui||ke&&pt(new ke)!=oi||sr&&pt(sr.resolve())!=si||ce&&pt(new ce)!=ai||nr&&pt(new nr)!=ci)&&(pt=function(t){var e=Yt(t),n=e=="[object Object]"?t.constructor:void 0,r=n?ee(n):"";if(r)switch(r){case La:return ui;case xa:return oi;case Ca:return si;case ka:return ai;case ba:return ci}return e});var Pa=Object.prototype.hasOwnProperty,rn=Ct.Uint8Array,wa=/\w*$/,li=Et?Et.prototype:void 0,hi=li?li.valueOf:void 0;function Ma(t,e,n){var r,i,o,s,a,c=t.constructor;switch(e){case"[object ArrayBuffer]":return a=new(s=t).constructor(s.byteLength),new rn(a).set(new rn(s)),a;case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return o=(i=t).buffer,new i.constructor(o,i.byteOffset,i.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(u){var l=u.buffer;return new u.constructor(l,u.byteOffset,u.length)}(t);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return function(u){var l=new u.constructor(u.source,wa.exec(u));return l.lastIndex=u.lastIndex,l}(t);case"[object Symbol]":return r=t,hi?Object(hi.call(r)):{}}}var fi=Vt&&Vt.isMap,Ua=fi?In(fi):function(t){return Nt(t)&&pt(t)=="[object Map]"},di=Vt&&Vt.isSet,Fa=di?In(di):function(t){return Nt(t)&&pt(t)=="[object Set]"},Bo="[object Arguments]",$o="[object Function]",Wo="[object Object]",W={};function Xe(t,e,n,r,i,o){var s;if(s!==void 0)return s;if(!gt(t))return t;var a=D(t);if(a)return s=function(f){var d=f.length,E=new f.constructor(d);return d&&typeof f[0]=="string"&&Pa.call(f,"index")&&(E.index=f.index,E.input=f.input),E}(t),function(f,d){var E=-1,I=f.length;for(d||(d=Array(I));++E<I;)d[E]=f[E];return d}(t,s);var c=pt(t),u=c==$o||c=="[object GeneratorFunction]";if(Ce(t))return function(f){var d=f.length,E=ri?ri(d):new f.constructor(d);return f.copy(E),E}(t);if(c==Wo||c==Bo||u&&!i)return s=u?{}:function(f){return typeof f.constructor!="function"||Ue(f)?{}:ta(Mo(f))}(t),function(f,d){return rr(f,xr(f),d)}(t,function(f,d){return f&&rr(d,Tt(d),f)}(s,t));if(!W[c])return i?t:{};s=Ma(t,c),o||(o=new Lt);var l=o.get(t);if(l)return l;o.set(t,s),Fa(t)?t.forEach(function(f){s.add(Xe(f,e,n,f,t,o))}):Ua(t)&&t.forEach(function(f,d){s.set(d,Xe(f,e,n,d,t,o))});var h=a?void 0:ir(t);return Ro(h||t,function(f,d){h&&(f=t[d=f]),Tn(s,d,Xe(f,e,n,d,t,o))}),s}W[Bo]=W["[object Array]"]=W["[object ArrayBuffer]"]=W["[object DataView]"]=W["[object Boolean]"]=W["[object Date]"]=W["[object Float32Array]"]=W["[object Float64Array]"]=W["[object Int8Array]"]=W["[object Int16Array]"]=W["[object Int32Array]"]=W["[object Map]"]=W["[object Number]"]=W[Wo]=W["[object RegExp]"]=W["[object Set]"]=W["[object String]"]=W["[object Symbol]"]=W["[object Uint8Array]"]=W["[object Uint8ClampedArray]"]=W["[object Uint16Array]"]=W["[object Uint32Array]"]=!0,W["[object Error]"]=W[$o]=W["[object WeakMap]"]=!1;function tt(t){return Xe(t,4)}function De(t){for(var e=-1,n=t==null?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i}function ue(t){var e=-1,n=t==null?0:t.length;for(this.__data__=new $t;++e<n;)this.add(t[e])}function Go(t,e){for(var n=-1,r=t==null?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function Cr(t,e){return t.has(e)}ue.prototype.add=ue.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},ue.prototype.has=function(t){return this.__data__.has(t)};function pi(t,e,n,r,i,o){var s=1&n,a=t.length,c=e.length;if(a!=c&&!(s&&c>a))return!1;var u=o.get(t),l=o.get(e);if(u&&l)return u==e&&l==t;var h=-1,f=!0,d=2&n?new ue:void 0;for(o.set(t,e),o.set(e,t);++h<a;){var E=t[h],I=e[h];if(r)var _=s?r(I,E,h,e,t,o):r(E,I,h,t,e,o);if(_!==void 0){if(_)continue;f=!1;break}if(d){if(!Go(e,function(T,m){if(!Cr(d,m)&&(E===T||i(E,T,n,r,o)))return d.push(m)})){f=!1;break}}else if(E!==I&&!i(E,I,n,r,o)){f=!1;break}}return o.delete(t),o.delete(e),f}function Da(t){var e=-1,n=Array(t.size);return t.forEach(function(r,i){n[++e]=[i,r]}),n}function kr(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}var mi=Et?Et.prototype:void 0,wn=mi?mi.valueOf:void 0,ja=Object.prototype.hasOwnProperty,Ei="[object Arguments]",gi="[object Array]",We="[object Object]",Ti=Object.prototype.hasOwnProperty;function Ba(t,e,n,r,i,o){var s=D(t),a=D(e),c=s?gi:pt(t),u=a?gi:pt(e),l=(c=c==Ei?We:c)==We,h=(u=u==Ei?We:u)==We,f=c==u;if(f&&Ce(t)){if(!Ce(e))return!1;s=!0,l=!1}if(f&&!l)return o||(o=new Lt),s||Nr(t)?pi(t,e,n,r,i,o):function(T,m,p,A,S,g,O){switch(p){case"[object DataView]":if(T.byteLength!=m.byteLength||T.byteOffset!=m.byteOffset)return!1;T=T.buffer,m=m.buffer;case"[object ArrayBuffer]":return!(T.byteLength!=m.byteLength||!g(new rn(T),new rn(m)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Me(+T,+m);case"[object Error]":return T.name==m.name&&T.message==m.message;case"[object RegExp]":case"[object String]":return T==m+"";case"[object Map]":var N=Da;case"[object Set]":var v=1&A;if(N||(N=kr),T.size!=m.size&&!v)return!1;var y=O.get(T);if(y)return y==m;A|=2,O.set(T,m);var U=pi(N(T),N(m),A,S,g,O);return O.delete(T),U;case"[object Symbol]":if(wn)return wn.call(T)==wn.call(m)}return!1}(t,e,c,n,r,i,o);if(!(1&n)){var d=l&&Ti.call(t,"__wrapped__"),E=h&&Ti.call(e,"__wrapped__");if(d||E){var I=d?t.value():t,_=E?e.value():e;return o||(o=new Lt),i(I,_,n,r,o)}}return!!f&&(o||(o=new Lt),function(T,m,p,A,S,g){var O=1&p,N=ir(T),v=N.length;if(v!=ir(m).length&&!O)return!1;for(var y=v;y--;){var U=N[y];if(!(O?U in m:ja.call(m,U)))return!1}var M=g.get(T),F=g.get(m);if(M&&F)return M==m&&F==T;var $=!0;g.set(T,m),g.set(m,T);for(var C=O;++y<v;){var k=T[U=N[y]],j=m[U];if(A)var Y=O?A(j,k,U,m,T,g):A(k,j,U,T,m,g);if(!(Y===void 0?k===j||S(k,j,p,A,g):Y)){$=!1;break}C||(C=U=="constructor")}if($&&!C){var B=T.constructor,et=m.constructor;B==et||!("constructor"in T)||!("constructor"in m)||typeof B=="function"&&B instanceof B&&typeof et=="function"&&et instanceof et||($=!1)}return g.delete(T),g.delete(m),$}(t,e,n,r,i,o))}function br(t,e,n,r,i){return t===e||(t==null||e==null||!Nt(t)&&!Nt(e)?t!=t&&e!=e:Ba(t,e,n,r,br,i))}function Ko(t){return t==t&&!gt(t)}function zo(t,e){return function(n){return n!=null&&n[t]===e&&(e!==void 0||t in Object(n))}}function $a(t){var e=function(n){for(var r=Tt(n),i=r.length;i--;){var o=r[i],s=n[o];r[i]=[o,s,Ko(s)]}return r}(t);return e.length==1&&e[0][2]?zo(e[0][0],e[0][1]):function(n){return n===t||function(r,i,o,s){var a=o.length,c=a;if(r==null)return!c;for(r=Object(r);a--;){var u=o[a];if(u[2]?u[1]!==r[u[0]]:!(u[0]in r))return!1}for(;++a<c;){var l=(u=o[a])[0],h=r[l],f=u[1];if(u[2]){if(h===void 0&&!(l in r))return!1}else if(!br(f,h,3,s,new Lt))return!1}return!0}(n,0,e)}}function Wa(t,e){return t!=null&&e in Object(t)}function Vo(t,e,n){for(var r=-1,i=(e=vn(e,t)).length,o=!1;++r<i;){var s=Fe(e[r]);if(!(o=t!=null&&n(t,s)))break;t=t[s]}return o||++r!=i?o:!!(i=t==null?0:t.length)&&vr(i)&&gn(s,i)&&(D(t)||An(t))}function Ga(t,e){return yr(t)&&Ko(e)?zo(Fe(t),e):function(n){var r=function(i,o,s){var a=i==null?void 0:Or(i,o);return a===void 0?s:a}(n,t);return r===void 0&&r===e?function(i,o){return i!=null&&Vo(i,o,Wa)}(n,t):br(e,r,3)}}function Ka(t){return yr(t)?(e=Fe(t),function(n){return n?.[e]}):function(n){return function(r){return Or(r,n)}}(t);var e}function xt(t){return typeof t=="function"?t:t==null?le:typeof t=="object"?D(t)?Ga(t[0],t[1]):$a(t):Ka(t)}function za(t,e,n,r){for(var i=-1,o=t==null?0:t.length;++i<o;){var s=t[i];e(r,s,n(s),t)}return r}var Va=function(t,e,n){for(var r=-1,i=Object(t),o=n(t),s=o.length;s--;){var a=o[++r];if(e(i[a],a,i)===!1)break}return t},Ai,re=(Ai=function(t,e){return t&&Va(t,e,Tt)},function(t,e){if(t==null)return t;if(!kt(t))return Ai(t,e);for(var n=t.length,r=-1,i=Object(t);++r<n&&e(i[r],r,i)!==!1;);return t});function Ha(t,e,n,r){return re(t,function(i,o,s){e(r,i,n(i),s)}),r}var Ho=Object.prototype,Ya=Ho.hasOwnProperty,Pr=Ir(function(t,e){t=Object(t);var n=-1,r=e.length,i=r>2?e[2]:void 0;for(i&&_o(e[0],e[1],i)&&(r=1);++n<r;)for(var o=e[n],s=wo(o),a=-1,c=s.length;++a<c;){var u=s[a],l=t[u];(l===void 0||Me(l,Ho[u])&&!Ya.call(t,u))&&(t[u]=o[u])}return t});function Ii(t){return Nt(t)&&kt(t)}var on=Ir(function(t,e){return Ii(t)?function(n,r,i,o){var s=-1,a=So,c=!0,u=n.length,l=[],h=r.length;if(!u)return l;r.length>=200&&(a=Cr,c=!1,r=new ue(r));t:for(;++s<u;){var f=n[s],d=f;if(f=f!==0?f:0,c&&d==d){for(var E=h;E--;)if(r[E]===d)continue t;l.push(f)}else a(r,d,o)||l.push(f)}return l}(t,_r(e,0,Ii,!0)):[]});function he(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}function J(t,e,n){var r=t==null?0:t.length;return r?Uo(t,(e=e===void 0?1:En(e))<0?0:e,r):[]}function be(t,e,n){var r=t==null?0:t.length;return r?Uo(t,0,(e=r-(e=e===void 0?1:En(e)))<0?0:e):[]}function b(t,e){var n;return(D(t)?Ro:re)(t,typeof(n=e)=="function"?n:le)}function Xa(t,e){for(var n=-1,r=t==null?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function qa(t,e){var n=!0;return re(t,function(r,i,o){return n=!!e(r,i,o)}),n}function vt(t,e,n){return(D(t)?Xa:qa)(t,xt(e))}function Yo(t,e){var n=[];return re(t,function(r,i,o){e(r,i,o)&&n.push(r)}),n}function dt(t,e){return(D(t)?Lr:Yo)(t,xt(e))}var Za=Math.max,vi,fe=(vi=function(t,e,n){var r=t==null?0:t.length;if(!r)return-1;var i=n==null?0:En(n);return i<0&&(i=Za(r+i,0)),Oo(t,xt(e),i)},function(t,e,n){var r=Object(t);if(!kt(t)){var i=xt(e);t=Tt(t),e=function(s){return i(r[s],s,r)}}var o=vi(t,e,n);return o>-1?r[i?t[o]:o]:void 0});function yt(t){return t&&t.length?t[0]:void 0}function Qa(t,e){var n=-1,r=kt(t)?Array(t.length):[];return re(t,function(i,o,s){r[++n]=e(i,o,s)}),r}function L(t,e){return(D(t)?mn:Qa)(t,xt(e))}function mt(t,e){return _r(L(t,e))}var Ni,yi,Ja=Object.prototype.hasOwnProperty,tc=(Ni=function(t,e,n){Ja.call(t,n)?t[n].push(e):Ar(t,n,[e])},function(t,e){var n=D(t)?za:Ha,r=yi?yi():{};return n(t,Ni,xt(e),r)}),ec=Object.prototype.hasOwnProperty;function nc(t,e){return t!=null&&ec.call(t,e)}function x(t,e){return t!=null&&Vo(t,e,nc)}function at(t){return typeof t=="string"||!D(t)&&Nt(t)&&Yt(t)=="[object String]"}function Z(t){return t==null?[]:function(e,n){return mn(n,function(r){return e[r]})}(t,Tt(t))}var rc=Math.max;function it(t,e,n,r){t=kt(t)?t:Z(t),n=n?En(n):0;var i=t.length;return n<0&&(n=rc(i+n,0)),at(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&Tr(t,e,n)>-1}function Ri(t,e,n){return t!=null&&t.length?Tr(t,e,0):-1}var ic=Object.prototype.hasOwnProperty;function G(t){if(t==null)return!0;if(kt(t)&&(D(t)||typeof t=="string"||typeof t.splice=="function"||Ce(t)||Nr(t)||An(t)))return!t.length;var e=pt(t);if(e=="[object Map]"||e=="[object Set]")return!t.size;if(Ue(t))return!Po(t).length;for(var n in t)if(ic.call(t,n))return!1;return!0}var Oi=Vt&&Vt.isRegExp,Wt=Oi?In(Oi):function(t){return Nt(t)&&Yt(t)=="[object RegExp]"};function Gt(t){return t===void 0}function oc(t,e,n,r){if(!gt(t))return t;for(var i=-1,o=(e=vn(e,t)).length,s=o-1,a=t;a!=null&&++i<o;){var c=Fe(e[i]),u=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return t;if(i!=s){var l=a[c];(u=void 0)==void 0&&(u=gt(l)?l:gn(e[i+1])?[]:{})}Tn(a,c,u),a=a[c]}return t}function Rt(t,e){if(t==null)return{};var n=mn(function(r){return jo(r,wo,_a)}(t),function(r){return[r]});return e=xt(e),function(r,i,o){for(var s=-1,a=i.length,c={};++s<a;){var u=i[s],l=Or(r,u);o(l,u)&&oc(c,vn(u,r),l)}return c}(t,n,function(r,i){return e(r,i[0])})}function sc(t,e,n,r,i){return i(t,function(o,s,a){n=r?(r=!1,o):e(n,o,s,a)}),n}function ht(t,e,n){var r=D(t)?Oa:sc,i=arguments.length<3;return r(t,xt(e),n,i,re)}function Nn(t,e){return(D(t)?Lr:Yo)(t,function(n){if(typeof n!="function")throw new TypeError("Expected a function");return function(){var r=arguments;switch(r.length){case 0:return!n.call(this);case 1:return!n.call(this,r[0]);case 2:return!n.call(this,r[0],r[1]);case 3:return!n.call(this,r[0],r[1],r[2])}return!n.apply(this,r)}}(xt(e)))}function ac(t,e){var n;return re(t,function(r,i,o){return!(n=e(r,i,o))}),!!n}function Xo(t,e,n){return(D(t)?Go:ac)(t,xt(e))}var cc=ce&&1/kr(new ce([,-0]))[1]==1/0?function(t){return new ce(t)}:q;function ar(t){return t&&t.length?function(e,n,r){var i=-1,o=So,s=e.length,a=!0,c=[],u=c;if(s>=200){var l=cc(e);if(l)return kr(l);a=!1,o=Cr,u=new ue}else u=c;t:for(;++i<s;){var h=e[i],f=h;if(h=h!==0?h:0,a&&f==f){for(var d=u.length;d--;)if(u[d]===f)continue t;c.push(h)}else o(u,f,r)||(u!==c&&u.push(f),c.push(h))}return c}(t):[]}function cr(t){console&&console.error&&console.error(`Error: ${t}`)}function qo(t){console&&console.warn&&console.warn(`Warning: ${t}`)}function Zo(t){const e=new Date().getTime(),n=t();return{time:new Date().getTime()-e,value:n}}function Qo(t){function e(){}e.prototype=t;const n=new e;function r(){return typeof n.bar}return r(),r(),t}function uc(t){return at((e=t).LABEL)&&e.LABEL!==""?t.LABEL:t.name;var e}class bt{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){this._definition=e}accept(e){e.visit(this),b(this.definition,n=>{n.accept(e)})}}class ft extends bt{constructor(e){super([]),this.idx=1,lt(this,Rt(e,n=>n!==void 0))}set definition(e){}get definition(){return this.referencedRule!==void 0?this.referencedRule.definition:[]}accept(e){e.visit(this)}}class de extends bt{constructor(e){super(e.definition),this.orgText="",lt(this,Rt(e,n=>n!==void 0))}}class ut extends bt{constructor(e){super(e.definition),this.ignoreAmbiguities=!1,lt(this,Rt(e,n=>n!==void 0))}}class ct extends bt{constructor(e){super(e.definition),this.idx=1,lt(this,Rt(e,n=>n!==void 0))}}class Pt extends bt{constructor(e){super(e.definition),this.idx=1,lt(this,Rt(e,n=>n!==void 0))}}class wt extends bt{constructor(e){super(e.definition),this.idx=1,lt(this,Rt(e,n=>n!==void 0))}}class Q extends bt{constructor(e){super(e.definition),this.idx=1,lt(this,Rt(e,n=>n!==void 0))}}class Ot extends bt{constructor(e){super(e.definition),this.idx=1,lt(this,Rt(e,n=>n!==void 0))}}class St extends bt{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){super(e.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,lt(this,Rt(e,n=>n!==void 0))}}class z{constructor(e){this.idx=1,lt(this,Rt(e,n=>n!==void 0))}accept(e){e.visit(this)}}function qe(t){function e(n){return L(n,qe)}if(t instanceof ft){const n={type:"NonTerminal",name:t.nonTerminalName,idx:t.idx};return at(t.label)&&(n.label=t.label),n}if(t instanceof ut)return{type:"Alternative",definition:e(t.definition)};if(t instanceof ct)return{type:"Option",idx:t.idx,definition:e(t.definition)};if(t instanceof Pt)return{type:"RepetitionMandatory",idx:t.idx,definition:e(t.definition)};if(t instanceof wt)return{type:"RepetitionMandatoryWithSeparator",idx:t.idx,separator:qe(new z({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof Ot)return{type:"RepetitionWithSeparator",idx:t.idx,separator:qe(new z({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof Q)return{type:"Repetition",idx:t.idx,definition:e(t.definition)};if(t instanceof St)return{type:"Alternation",idx:t.idx,definition:e(t.definition)};if(t instanceof z){const n={type:"Terminal",name:t.terminalType.name,label:uc(t.terminalType),idx:t.idx};at(t.label)&&(n.terminalLabel=t.label);const r=t.terminalType.PATTERN;return t.terminalType.PATTERN&&(n.pattern=Wt(r)?r.source:r),n}if(t instanceof de)return{type:"Rule",name:t.name,orgText:t.orgText,definition:e(t.definition)};throw Error("non exhaustive match")}class pe{visit(e){const n=e;switch(n.constructor){case ft:return this.visitNonTerminal(n);case ut:return this.visitAlternative(n);case ct:return this.visitOption(n);case Pt:return this.visitRepetitionMandatory(n);case wt:return this.visitRepetitionMandatoryWithSeparator(n);case Ot:return this.visitRepetitionWithSeparator(n);case Q:return this.visitRepetition(n);case St:return this.visitAlternation(n);case z:return this.visitTerminal(n);case de:return this.visitRule(n);default:throw Error("non exhaustive match")}}visitNonTerminal(e){}visitAlternative(e){}visitOption(e){}visitRepetition(e){}visitRepetitionMandatory(e){}visitRepetitionMandatoryWithSeparator(e){}visitRepetitionWithSeparator(e){}visitAlternation(e){}visitTerminal(e){}visitRule(e){}}function sn(t,e=[]){return t instanceof ct||t instanceof Q||t instanceof Ot||(t instanceof St?Xo(t.definition,n=>sn(n,e)):!(t instanceof ft&&it(e,t))&&t instanceof bt&&(t instanceof ft&&e.push(t),vt(t.definition,n=>sn(n,e))))}function _t(t){if(t instanceof ft)return"SUBRULE";if(t instanceof ct)return"OPTION";if(t instanceof St)return"OR";if(t instanceof Pt)return"AT_LEAST_ONE";if(t instanceof wt)return"AT_LEAST_ONE_SEP";if(t instanceof Ot)return"MANY_SEP";if(t instanceof Q)return"MANY";if(t instanceof z)return"CONSUME";throw Error("non exhaustive match")}class yn{walk(e,n=[]){b(e.definition,(r,i)=>{const o=J(e.definition,i+1);if(r instanceof ft)this.walkProdRef(r,o,n);else if(r instanceof z)this.walkTerminal(r,o,n);else if(r instanceof ut)this.walkFlat(r,o,n);else if(r instanceof ct)this.walkOption(r,o,n);else if(r instanceof Pt)this.walkAtLeastOne(r,o,n);else if(r instanceof wt)this.walkAtLeastOneSep(r,o,n);else if(r instanceof Ot)this.walkManySep(r,o,n);else if(r instanceof Q)this.walkMany(r,o,n);else{if(!(r instanceof St))throw Error("non exhaustive match");this.walkOr(r,o,n)}})}walkTerminal(e,n,r){}walkProdRef(e,n,r){}walkFlat(e,n,r){const i=n.concat(r);this.walk(e,i)}walkOption(e,n,r){const i=n.concat(r);this.walk(e,i)}walkAtLeastOne(e,n,r){const i=[new ct({definition:e.definition})].concat(n,r);this.walk(e,i)}walkAtLeastOneSep(e,n,r){const i=Si(e,n,r);this.walk(e,i)}walkMany(e,n,r){const i=[new ct({definition:e.definition})].concat(n,r);this.walk(e,i)}walkManySep(e,n,r){const i=Si(e,n,r);this.walk(e,i)}walkOr(e,n,r){const i=n.concat(r);b(e.definition,o=>{const s=new ut({definition:[o]});this.walk(s,i)})}}function Si(t,e,n){return[new ct({definition:[new z({terminalType:t.separator})].concat(t.definition)})].concat(e,n)}function Se(t){if(t instanceof ft)return Se(t.referencedRule);if(t instanceof z)return[t.terminalType];if(function(e){return e instanceof ut||e instanceof ct||e instanceof Q||e instanceof Pt||e instanceof wt||e instanceof Ot||e instanceof z||e instanceof de}(t))return function(e){let n=[];const r=e.definition;let i,o=0,s=r.length>o,a=!0;for(;s&&a;)i=r[o],a=sn(i),n=n.concat(Se(i)),o+=1,s=r.length>o;return ar(n)}(t);if(function(e){return e instanceof St}(t))return function(e){const n=L(e.definition,r=>Se(r));return ar(It(n))}(t);throw Error("non exhaustive match")}const Jo="_~IN~_";class lc extends yn{constructor(e){super(),this.topProd=e,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(e,n,r){}walkProdRef(e,n,r){const i=(o=e.referencedRule,s=e.idx,o.name+s+Jo+this.topProd.name);var o,s;const a=n.concat(r),c=Se(new ut({definition:a}));this.follows[i]=c}}function P(t){return t.charCodeAt(0)}function Mn(t,e){Array.isArray(t)?t.forEach(function(n){e.push(n)}):e.push(t)}function Te(t,e){if(t[e]===!0)throw"duplicate flag "+e;t[e],t[e]=!0}function ie(t){if(t===void 0)throw Error("Internal Error - Should never get here!");return!0}function _i(t){return t.type==="Character"}const an=[];for(let t=P("0");t<=P("9");t++)an.push(t);const cn=[P("_")].concat(an);for(let t=P("a");t<=P("z");t++)cn.push(t);for(let t=P("A");t<=P("Z");t++)cn.push(t);const Li=[P(" "),P("\f"),P(`
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./wcsUsHAbDuK3rvVp.cjs");var vo=typeof global=="object"&&global&&global.Object===Object&&global,Ps=typeof self=="object"&&self&&self.Object===Object&&self,Ct=vo||Ps||Function("return this")(),Et=Ct.Symbol,No=Object.prototype,ws=No.hasOwnProperty,Ms=No.toString,Ee=Et?Et.toStringTag:void 0,Us=Object.prototype.toString,Wr=Et?Et.toStringTag:void 0;function Yt(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Wr&&Wr in Object(t)?function(e){var n=ws.call(e,Ee),r=e[Ee];try{e[Ee]=void 0;var i=!0}catch{}var o=Ms.call(e);return i&&(n?e[Ee]=r:delete e[Ee]),o}(t):function(e){return Us.call(e)}(t)}function Nt(t){return t!=null&&typeof t=="object"}function pn(t){return typeof t=="symbol"||Nt(t)&&Yt(t)=="[object Symbol]"}function mn(t,e){for(var n=-1,r=t==null?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}var D=Array.isArray,Gr=Et?Et.prototype:void 0,Kr=Gr?Gr.toString:void 0;function yo(t){if(typeof t=="string")return t;if(D(t))return mn(t,yo)+"";if(pn(t))return Kr?Kr.call(t):"";var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}var Fs=/\s/,Ds=/^\s+/;function js(t){return t&&t.slice(0,function(e){for(var n=e.length;n--&&Fs.test(e.charAt(n)););return n}(t)+1).replace(Ds,"")}function gt(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Bs=/^[-+]0x[0-9a-f]+$/i,$s=/^0b[01]+$/i,Ws=/^0o[0-7]+$/i,Gs=parseInt,Ks=1/0;function zs(t){return t?(t=function(e){if(typeof e=="number")return e;if(pn(e))return NaN;if(gt(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=gt(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=js(e);var r=$s.test(e);return r||Ws.test(e)?Gs(e.slice(2),r?2:8):Bs.test(e)?NaN:+e}(t))===Ks||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:t===0?t:0}function En(t){var e=zs(t),n=e%1;return e==e?n?e-n:e:0}function le(t){return t}function Kt(t){if(!gt(t))return!1;var e=Yt(t);return e=="[object Function]"||e=="[object GeneratorFunction]"||e=="[object AsyncFunction]"||e=="[object Proxy]"}var zr,xn=Ct["__core-js_shared__"],Vr=(zr=/[^.]+$/.exec(xn&&xn.keys&&xn.keys.IE_PROTO||""))?"Symbol(src)_1."+zr:"",Vs=Function.prototype.toString;function ee(t){if(t!=null){try{return Vs.call(t)}catch{}try{return t+""}catch{}}return""}var Hs=/^\[object .+?Constructor\]$/,Ys=Function.prototype,Xs=Object.prototype,qs=Ys.toString,Zs=Xs.hasOwnProperty,Qs=RegExp("^"+qs.call(Zs).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Js(t){return!(!gt(t)||(e=t,Vr&&Vr in e))&&(Kt(t)?Qs:Hs).test(ee(t));var e}function ne(t,e){var n=function(r,i){return r?.[i]}(t,e);return Js(n)?n:void 0}var nr=ne(Ct,"WeakMap"),Hr=Object.create,ta=function(){function t(){}return function(e){if(!gt(e))return{};if(Hr)return Hr(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function q(){}var ea=Date.now,Yr,Cn,kn,nn=function(){try{var t=ne(Object,"defineProperty");return t({},"",{}),t}catch{}}(),na=nn?function(t,e){return nn(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:le,ra=(Yr=na,Cn=0,kn=0,function(){var t=ea(),e=16-(t-kn);if(kn=t,e>0){if(++Cn>=800)return arguments[0]}else Cn=0;return Yr.apply(void 0,arguments)});function Ro(t,e){for(var n=-1,r=t==null?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}function Oo(t,e,n,r){for(var i=t.length,o=n+-1;++o<i;)if(e(t[o],o,t))return o;return-1}function ia(t){return t!=t}function Tr(t,e,n){return e==e?function(r,i,o){for(var s=o-1,a=r.length;++s<a;)if(r[s]===i)return s;return-1}(t,e,n):Oo(t,ia,n)}function So(t,e){return!!(t!=null&&t.length)&&Tr(t,e,0)>-1}var oa=/^(?:0|[1-9]\d*)$/;function gn(t,e){var n=typeof t;return!!(e=e??9007199254740991)&&(n=="number"||n!="symbol"&&oa.test(t))&&t>-1&&t%1==0&&t<e}function Ar(t,e,n){e=="__proto__"&&nn?nn(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Me(t,e){return t===e||t!=t&&e!=e}var sa=Object.prototype.hasOwnProperty;function Tn(t,e,n){var r=t[e];sa.call(t,e)&&Me(r,n)&&(n!==void 0||e in t)||Ar(t,e,n)}function rr(t,e,n,r){var i=!n;n||(n={});for(var o=-1,s=e.length;++o<s;){var a=e[o],c=void 0;c===void 0&&(c=t[a]),i?Ar(n,a,c):Tn(n,a,c)}return n}var Xr=Math.max;function Ir(t,e){return ra(function(n,r,i){return r=Xr(r===void 0?n.length-1:r,0),function(){for(var o=arguments,s=-1,a=Xr(o.length-r,0),c=Array(a);++s<a;)c[s]=o[r+s];s=-1;for(var u=Array(r+1);++s<r;)u[s]=o[s];return u[r]=i(c),function(l,h,f){switch(f.length){case 0:return l.call(h);case 1:return l.call(h,f[0]);case 2:return l.call(h,f[0],f[1]);case 3:return l.call(h,f[0],f[1],f[2])}return l.apply(h,f)}(n,this,u)}}(t,e,le),t+"")}function vr(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=9007199254740991}function kt(t){return t!=null&&vr(t.length)&&!Kt(t)}function _o(t,e,n){if(!gt(n))return!1;var r=typeof e;return!!(r=="number"?kt(n)&&gn(e,n.length):r=="string"&&e in n)&&Me(n[e],t)}var aa=Object.prototype;function Ue(t){var e=t&&t.constructor;return t===(typeof e=="function"&&e.prototype||aa)}function qr(t){return Nt(t)&&Yt(t)=="[object Arguments]"}var Lo=Object.prototype,ca=Lo.hasOwnProperty,ua=Lo.propertyIsEnumerable,An=qr(function(){return arguments}())?qr:function(t){return Nt(t)&&ca.call(t,"callee")&&!ua.call(t,"callee")},xo=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Zr=xo&&typeof module=="object"&&module&&!module.nodeType&&module,Qr=Zr&&Zr.exports===xo?Ct.Buffer:void 0,Ce=(Qr?Qr.isBuffer:void 0)||function(){return!1},K={};function In(t){return function(e){return t(e)}}K["[object Float32Array]"]=K["[object Float64Array]"]=K["[object Int8Array]"]=K["[object Int16Array]"]=K["[object Int32Array]"]=K["[object Uint8Array]"]=K["[object Uint8ClampedArray]"]=K["[object Uint16Array]"]=K["[object Uint32Array]"]=!0,K["[object Arguments]"]=K["[object Array]"]=K["[object ArrayBuffer]"]=K["[object Boolean]"]=K["[object DataView]"]=K["[object Date]"]=K["[object Error]"]=K["[object Function]"]=K["[object Map]"]=K["[object Number]"]=K["[object Object]"]=K["[object RegExp]"]=K["[object Set]"]=K["[object String]"]=K["[object WeakMap]"]=!1;var Co=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Oe=Co&&typeof module=="object"&&module&&!module.nodeType&&module,bn=Oe&&Oe.exports===Co&&vo.process,Vt=function(){try{var t=Oe&&Oe.require&&Oe.require("util").types;return t||bn&&bn.binding&&bn.binding("util")}catch{}}(),Jr=Vt&&Vt.isTypedArray,Nr=Jr?In(Jr):function(t){return Nt(t)&&vr(t.length)&&!!K[Yt(t)]},la=Object.prototype.hasOwnProperty;function ko(t,e){var n=D(t),r=!n&&An(t),i=!n&&!r&&Ce(t),o=!n&&!r&&!i&&Nr(t),s=n||r||i||o,a=s?function(l,h){for(var f=-1,d=Array(l);++f<l;)d[f]=h(f);return d}(t.length,String):[],c=a.length;for(var u in t)!e&&!la.call(t,u)||s&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||gn(u,c))||a.push(u);return a}function bo(t,e){return function(n){return t(e(n))}}var ha=bo(Object.keys,Object),fa=Object.prototype.hasOwnProperty;function Po(t){if(!Ue(t))return ha(t);var e=[];for(var n in Object(t))fa.call(t,n)&&n!="constructor"&&e.push(n);return e}function Tt(t){return kt(t)?ko(t):Po(t)}var Pn,da=Object.prototype.hasOwnProperty,lt=(Pn=function(t,e){if(Ue(e)||kt(e))rr(e,Tt(e),t);else for(var n in e)da.call(e,n)&&Tn(t,n,e[n])},Ir(function(t,e){var n=-1,r=e.length,i=r>1?e[r-1]:void 0,o=r>2?e[2]:void 0;for(i=Pn.length>3&&typeof i=="function"?(r--,i):void 0,o&&_o(e[0],e[1],o)&&(i=r<3?void 0:i,r=1),t=Object(t);++n<r;){var s=e[n];s&&Pn(t,s,n,i)}return t})),pa=Object.prototype.hasOwnProperty;function ma(t){if(!gt(t))return function(i){var o=[];if(i!=null)for(var s in Object(i))o.push(s);return o}(t);var e=Ue(t),n=[];for(var r in t)(r!="constructor"||!e&&pa.call(t,r))&&n.push(r);return n}function wo(t){return kt(t)?ko(t,!0):ma(t)}var Ea=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ga=/^\w*$/;function yr(t,e){if(D(t))return!1;var n=typeof t;return!(n!="number"&&n!="symbol"&&n!="boolean"&&t!=null&&!pn(t))||ga.test(t)||!Ea.test(t)||e!=null&&t in Object(e)}var ge=ne(Object,"create"),Ta=Object.prototype.hasOwnProperty,Aa=Object.prototype.hasOwnProperty;function Zt(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Be(t,e){for(var n=t.length;n--;)if(Me(t[n][0],e))return n;return-1}Zt.prototype.clear=function(){this.__data__=ge?ge(null):{},this.size=0},Zt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Zt.prototype.get=function(t){var e=this.__data__;if(ge){var n=e[t];return n==="__lodash_hash_undefined__"?void 0:n}return Ta.call(e,t)?e[t]:void 0},Zt.prototype.has=function(t){var e=this.__data__;return ge?e[t]!==void 0:Aa.call(e,t)},Zt.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ge&&e===void 0?"__lodash_hash_undefined__":e,this};var Ia=Array.prototype.splice;function Bt(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Bt.prototype.clear=function(){this.__data__=[],this.size=0},Bt.prototype.delete=function(t){var e=this.__data__,n=Be(e,t);return!(n<0)&&(n==e.length-1?e.pop():Ia.call(e,n,1),--this.size,!0)},Bt.prototype.get=function(t){var e=this.__data__,n=Be(e,t);return n<0?void 0:e[n][1]},Bt.prototype.has=function(t){return Be(this.__data__,t)>-1},Bt.prototype.set=function(t,e){var n=this.__data__,r=Be(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};var ke=ne(Ct,"Map");function $e(t,e){var n,r,i=t.__data__;return((r=typeof(n=e))=="string"||r=="number"||r=="symbol"||r=="boolean"?n!=="__proto__":n===null)?i[typeof e=="string"?"string":"hash"]:i.map}function $t(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}$t.prototype.clear=function(){this.size=0,this.__data__={hash:new Zt,map:new(ke||Bt),string:new Zt}},$t.prototype.delete=function(t){var e=$e(this,t).delete(t);return this.size-=e?1:0,e},$t.prototype.get=function(t){return $e(this,t).get(t)},$t.prototype.has=function(t){return $e(this,t).has(t)},$t.prototype.set=function(t,e){var n=$e(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function Rr(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Rr.Cache||$t),n}Rr.Cache=$t;var va=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Na=/\\(\\)?/g,ya=function(t){var e=Rr(t,function(r){return n.size===500&&n.clear(),r}),n=e.cache;return e}(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(va,function(n,r,i,o){e.push(i?o.replace(Na,"$1"):r||n)}),e});function vn(t,e){return D(t)?t:yr(t,e)?[t]:ya(function(n){return n==null?"":yo(n)}(t))}function Fe(t){if(typeof t=="string"||pn(t))return t;var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function Or(t,e){for(var n=0,r=(e=vn(e,t)).length;t!=null&&n<r;)t=t[Fe(e[n++])];return n&&n==r?t:void 0}function Sr(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}var ti=Et?Et.isConcatSpreadable:void 0;function Ra(t){return D(t)||An(t)||!!(ti&&t&&t[ti])}function _r(t,e,n,r,i){var o=-1,s=t.length;for(n||(n=Ra),i||(i=[]);++o<s;){var a=t[o];n(a)?Sr(i,a):r||(i[i.length]=a)}return i}function It(t){return t!=null&&t.length?_r(t):[]}var Mo=bo(Object.getPrototypeOf,Object);function Uo(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}function Oa(t,e,n,r){var i=-1,o=t==null?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function Lt(t){var e=this.__data__=new Bt(t);this.size=e.size}Lt.prototype.clear=function(){this.__data__=new Bt,this.size=0},Lt.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Lt.prototype.get=function(t){return this.__data__.get(t)},Lt.prototype.has=function(t){return this.__data__.has(t)},Lt.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Bt){var r=n.__data__;if(!ke||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new $t(r)}return n.set(t,e),this.size=n.size,this};var Fo=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ei=Fo&&typeof module=="object"&&module&&!module.nodeType&&module,ni=ei&&ei.exports===Fo?Ct.Buffer:void 0,ri=ni?ni.allocUnsafe:void 0;function Lr(t,e){for(var n=-1,r=t==null?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}function Do(){return[]}var Sa=Object.prototype.propertyIsEnumerable,ii=Object.getOwnPropertySymbols,xr=ii?function(t){return t==null?[]:(t=Object(t),Lr(ii(t),function(e){return Sa.call(t,e)}))}:Do,_a=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Sr(e,xr(t)),t=Mo(t);return e}:Do;function jo(t,e,n){var r=e(t);return D(t)?r:Sr(r,n(t))}function ir(t){return jo(t,Tt,xr)}var or=ne(Ct,"DataView"),sr=ne(Ct,"Promise"),ce=ne(Ct,"Set"),oi="[object Map]",si="[object Promise]",ai="[object Set]",ci="[object WeakMap]",ui="[object DataView]",La=ee(or),xa=ee(ke),Ca=ee(sr),ka=ee(ce),ba=ee(nr),pt=Yt;(or&&pt(new or(new ArrayBuffer(1)))!=ui||ke&&pt(new ke)!=oi||sr&&pt(sr.resolve())!=si||ce&&pt(new ce)!=ai||nr&&pt(new nr)!=ci)&&(pt=function(t){var e=Yt(t),n=e=="[object Object]"?t.constructor:void 0,r=n?ee(n):"";if(r)switch(r){case La:return ui;case xa:return oi;case Ca:return si;case ka:return ai;case ba:return ci}return e});var Pa=Object.prototype.hasOwnProperty,rn=Ct.Uint8Array,wa=/\w*$/,li=Et?Et.prototype:void 0,hi=li?li.valueOf:void 0;function Ma(t,e,n){var r,i,o,s,a,c=t.constructor;switch(e){case"[object ArrayBuffer]":return a=new(s=t).constructor(s.byteLength),new rn(a).set(new rn(s)),a;case"[object Boolean]":case"[object Date]":return new c(+t);case"[object DataView]":return o=(i=t).buffer,new i.constructor(o,i.byteOffset,i.byteLength);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(u){var l=u.buffer;return new u.constructor(l,u.byteOffset,u.length)}(t);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(t);case"[object RegExp]":return function(u){var l=new u.constructor(u.source,wa.exec(u));return l.lastIndex=u.lastIndex,l}(t);case"[object Symbol]":return r=t,hi?Object(hi.call(r)):{}}}var fi=Vt&&Vt.isMap,Ua=fi?In(fi):function(t){return Nt(t)&&pt(t)=="[object Map]"},di=Vt&&Vt.isSet,Fa=di?In(di):function(t){return Nt(t)&&pt(t)=="[object Set]"},Bo="[object Arguments]",$o="[object Function]",Wo="[object Object]",W={};function Xe(t,e,n,r,i,o){var s;if(s!==void 0)return s;if(!gt(t))return t;var a=D(t);if(a)return s=function(f){var d=f.length,E=new f.constructor(d);return d&&typeof f[0]=="string"&&Pa.call(f,"index")&&(E.index=f.index,E.input=f.input),E}(t),function(f,d){var E=-1,I=f.length;for(d||(d=Array(I));++E<I;)d[E]=f[E];return d}(t,s);var c=pt(t),u=c==$o||c=="[object GeneratorFunction]";if(Ce(t))return function(f){var d=f.length,E=ri?ri(d):new f.constructor(d);return f.copy(E),E}(t);if(c==Wo||c==Bo||u&&!i)return s=u?{}:function(f){return typeof f.constructor!="function"||Ue(f)?{}:ta(Mo(f))}(t),function(f,d){return rr(f,xr(f),d)}(t,function(f,d){return f&&rr(d,Tt(d),f)}(s,t));if(!W[c])return i?t:{};s=Ma(t,c),o||(o=new Lt);var l=o.get(t);if(l)return l;o.set(t,s),Fa(t)?t.forEach(function(f){s.add(Xe(f,e,n,f,t,o))}):Ua(t)&&t.forEach(function(f,d){s.set(d,Xe(f,e,n,d,t,o))});var h=a?void 0:ir(t);return Ro(h||t,function(f,d){h&&(f=t[d=f]),Tn(s,d,Xe(f,e,n,d,t,o))}),s}W[Bo]=W["[object Array]"]=W["[object ArrayBuffer]"]=W["[object DataView]"]=W["[object Boolean]"]=W["[object Date]"]=W["[object Float32Array]"]=W["[object Float64Array]"]=W["[object Int8Array]"]=W["[object Int16Array]"]=W["[object Int32Array]"]=W["[object Map]"]=W["[object Number]"]=W[Wo]=W["[object RegExp]"]=W["[object Set]"]=W["[object String]"]=W["[object Symbol]"]=W["[object Uint8Array]"]=W["[object Uint8ClampedArray]"]=W["[object Uint16Array]"]=W["[object Uint32Array]"]=!0,W["[object Error]"]=W[$o]=W["[object WeakMap]"]=!1;function tt(t){return Xe(t,4)}function De(t){for(var e=-1,n=t==null?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i}function ue(t){var e=-1,n=t==null?0:t.length;for(this.__data__=new $t;++e<n;)this.add(t[e])}function Go(t,e){for(var n=-1,r=t==null?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}function Cr(t,e){return t.has(e)}ue.prototype.add=ue.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},ue.prototype.has=function(t){return this.__data__.has(t)};function pi(t,e,n,r,i,o){var s=1&n,a=t.length,c=e.length;if(a!=c&&!(s&&c>a))return!1;var u=o.get(t),l=o.get(e);if(u&&l)return u==e&&l==t;var h=-1,f=!0,d=2&n?new ue:void 0;for(o.set(t,e),o.set(e,t);++h<a;){var E=t[h],I=e[h];if(r)var _=s?r(I,E,h,e,t,o):r(E,I,h,t,e,o);if(_!==void 0){if(_)continue;f=!1;break}if(d){if(!Go(e,function(T,m){if(!Cr(d,m)&&(E===T||i(E,T,n,r,o)))return d.push(m)})){f=!1;break}}else if(E!==I&&!i(E,I,n,r,o)){f=!1;break}}return o.delete(t),o.delete(e),f}function Da(t){var e=-1,n=Array(t.size);return t.forEach(function(r,i){n[++e]=[i,r]}),n}function kr(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}var mi=Et?Et.prototype:void 0,wn=mi?mi.valueOf:void 0,ja=Object.prototype.hasOwnProperty,Ei="[object Arguments]",gi="[object Array]",We="[object Object]",Ti=Object.prototype.hasOwnProperty;function Ba(t,e,n,r,i,o){var s=D(t),a=D(e),c=s?gi:pt(t),u=a?gi:pt(e),l=(c=c==Ei?We:c)==We,h=(u=u==Ei?We:u)==We,f=c==u;if(f&&Ce(t)){if(!Ce(e))return!1;s=!0,l=!1}if(f&&!l)return o||(o=new Lt),s||Nr(t)?pi(t,e,n,r,i,o):function(T,m,p,A,S,g,O){switch(p){case"[object DataView]":if(T.byteLength!=m.byteLength||T.byteOffset!=m.byteOffset)return!1;T=T.buffer,m=m.buffer;case"[object ArrayBuffer]":return!(T.byteLength!=m.byteLength||!g(new rn(T),new rn(m)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Me(+T,+m);case"[object Error]":return T.name==m.name&&T.message==m.message;case"[object RegExp]":case"[object String]":return T==m+"";case"[object Map]":var N=Da;case"[object Set]":var v=1&A;if(N||(N=kr),T.size!=m.size&&!v)return!1;var y=O.get(T);if(y)return y==m;A|=2,O.set(T,m);var U=pi(N(T),N(m),A,S,g,O);return O.delete(T),U;case"[object Symbol]":if(wn)return wn.call(T)==wn.call(m)}return!1}(t,e,c,n,r,i,o);if(!(1&n)){var d=l&&Ti.call(t,"__wrapped__"),E=h&&Ti.call(e,"__wrapped__");if(d||E){var I=d?t.value():t,_=E?e.value():e;return o||(o=new Lt),i(I,_,n,r,o)}}return!!f&&(o||(o=new Lt),function(T,m,p,A,S,g){var O=1&p,N=ir(T),v=N.length;if(v!=ir(m).length&&!O)return!1;for(var y=v;y--;){var U=N[y];if(!(O?U in m:ja.call(m,U)))return!1}var M=g.get(T),F=g.get(m);if(M&&F)return M==m&&F==T;var $=!0;g.set(T,m),g.set(m,T);for(var C=O;++y<v;){var k=T[U=N[y]],j=m[U];if(A)var Y=O?A(j,k,U,m,T,g):A(k,j,U,T,m,g);if(!(Y===void 0?k===j||S(k,j,p,A,g):Y)){$=!1;break}C||(C=U=="constructor")}if($&&!C){var B=T.constructor,et=m.constructor;B==et||!("constructor"in T)||!("constructor"in m)||typeof B=="function"&&B instanceof B&&typeof et=="function"&&et instanceof et||($=!1)}return g.delete(T),g.delete(m),$}(t,e,n,r,i,o))}function br(t,e,n,r,i){return t===e||(t==null||e==null||!Nt(t)&&!Nt(e)?t!=t&&e!=e:Ba(t,e,n,r,br,i))}function Ko(t){return t==t&&!gt(t)}function zo(t,e){return function(n){return n!=null&&n[t]===e&&(e!==void 0||t in Object(n))}}function $a(t){var e=function(n){for(var r=Tt(n),i=r.length;i--;){var o=r[i],s=n[o];r[i]=[o,s,Ko(s)]}return r}(t);return e.length==1&&e[0][2]?zo(e[0][0],e[0][1]):function(n){return n===t||function(r,i,o,s){var a=o.length,c=a;if(r==null)return!c;for(r=Object(r);a--;){var u=o[a];if(u[2]?u[1]!==r[u[0]]:!(u[0]in r))return!1}for(;++a<c;){var l=(u=o[a])[0],h=r[l],f=u[1];if(u[2]){if(h===void 0&&!(l in r))return!1}else if(!br(f,h,3,s,new Lt))return!1}return!0}(n,0,e)}}function Wa(t,e){return t!=null&&e in Object(t)}function Vo(t,e,n){for(var r=-1,i=(e=vn(e,t)).length,o=!1;++r<i;){var s=Fe(e[r]);if(!(o=t!=null&&n(t,s)))break;t=t[s]}return o||++r!=i?o:!!(i=t==null?0:t.length)&&vr(i)&&gn(s,i)&&(D(t)||An(t))}function Ga(t,e){return yr(t)&&Ko(e)?zo(Fe(t),e):function(n){var r=function(i,o,s){var a=i==null?void 0:Or(i,o);return a===void 0?s:a}(n,t);return r===void 0&&r===e?function(i,o){return i!=null&&Vo(i,o,Wa)}(n,t):br(e,r,3)}}function Ka(t){return yr(t)?(e=Fe(t),function(n){return n?.[e]}):function(n){return function(r){return Or(r,n)}}(t);var e}function xt(t){return typeof t=="function"?t:t==null?le:typeof t=="object"?D(t)?Ga(t[0],t[1]):$a(t):Ka(t)}function za(t,e,n,r){for(var i=-1,o=t==null?0:t.length;++i<o;){var s=t[i];e(r,s,n(s),t)}return r}var Va=function(t,e,n){for(var r=-1,i=Object(t),o=n(t),s=o.length;s--;){var a=o[++r];if(e(i[a],a,i)===!1)break}return t},Ai,re=(Ai=function(t,e){return t&&Va(t,e,Tt)},function(t,e){if(t==null)return t;if(!kt(t))return Ai(t,e);for(var n=t.length,r=-1,i=Object(t);++r<n&&e(i[r],r,i)!==!1;);return t});function Ha(t,e,n,r){return re(t,function(i,o,s){e(r,i,n(i),s)}),r}var Ho=Object.prototype,Ya=Ho.hasOwnProperty,Pr=Ir(function(t,e){t=Object(t);var n=-1,r=e.length,i=r>2?e[2]:void 0;for(i&&_o(e[0],e[1],i)&&(r=1);++n<r;)for(var o=e[n],s=wo(o),a=-1,c=s.length;++a<c;){var u=s[a],l=t[u];(l===void 0||Me(l,Ho[u])&&!Ya.call(t,u))&&(t[u]=o[u])}return t});function Ii(t){return Nt(t)&&kt(t)}var on=Ir(function(t,e){return Ii(t)?function(n,r,i,o){var s=-1,a=So,c=!0,u=n.length,l=[],h=r.length;if(!u)return l;r.length>=200&&(a=Cr,c=!1,r=new ue(r));t:for(;++s<u;){var f=n[s],d=f;if(f=f!==0?f:0,c&&d==d){for(var E=h;E--;)if(r[E]===d)continue t;l.push(f)}else a(r,d,o)||l.push(f)}return l}(t,_r(e,0,Ii,!0)):[]});function he(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}function J(t,e,n){var r=t==null?0:t.length;return r?Uo(t,(e=e===void 0?1:En(e))<0?0:e,r):[]}function be(t,e,n){var r=t==null?0:t.length;return r?Uo(t,0,(e=r-(e=e===void 0?1:En(e)))<0?0:e):[]}function b(t,e){var n;return(D(t)?Ro:re)(t,typeof(n=e)=="function"?n:le)}function Xa(t,e){for(var n=-1,r=t==null?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function qa(t,e){var n=!0;return re(t,function(r,i,o){return n=!!e(r,i,o)}),n}function vt(t,e,n){return(D(t)?Xa:qa)(t,xt(e))}function Yo(t,e){var n=[];return re(t,function(r,i,o){e(r,i,o)&&n.push(r)}),n}function dt(t,e){return(D(t)?Lr:Yo)(t,xt(e))}var Za=Math.max,vi,fe=(vi=function(t,e,n){var r=t==null?0:t.length;if(!r)return-1;var i=n==null?0:En(n);return i<0&&(i=Za(r+i,0)),Oo(t,xt(e),i)},function(t,e,n){var r=Object(t);if(!kt(t)){var i=xt(e);t=Tt(t),e=function(s){return i(r[s],s,r)}}var o=vi(t,e,n);return o>-1?r[i?t[o]:o]:void 0});function yt(t){return t&&t.length?t[0]:void 0}function Qa(t,e){var n=-1,r=kt(t)?Array(t.length):[];return re(t,function(i,o,s){r[++n]=e(i,o,s)}),r}function L(t,e){return(D(t)?mn:Qa)(t,xt(e))}function mt(t,e){return _r(L(t,e))}var Ni,yi,Ja=Object.prototype.hasOwnProperty,tc=(Ni=function(t,e,n){Ja.call(t,n)?t[n].push(e):Ar(t,n,[e])},function(t,e){var n=D(t)?za:Ha,r=yi?yi():{};return n(t,Ni,xt(e),r)}),ec=Object.prototype.hasOwnProperty;function nc(t,e){return t!=null&&ec.call(t,e)}function x(t,e){return t!=null&&Vo(t,e,nc)}function at(t){return typeof t=="string"||!D(t)&&Nt(t)&&Yt(t)=="[object String]"}function Z(t){return t==null?[]:function(e,n){return mn(n,function(r){return e[r]})}(t,Tt(t))}var rc=Math.max;function it(t,e,n,r){t=kt(t)?t:Z(t),n=n?En(n):0;var i=t.length;return n<0&&(n=rc(i+n,0)),at(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&Tr(t,e,n)>-1}function Ri(t,e,n){return t!=null&&t.length?Tr(t,e,0):-1}var ic=Object.prototype.hasOwnProperty;function G(t){if(t==null)return!0;if(kt(t)&&(D(t)||typeof t=="string"||typeof t.splice=="function"||Ce(t)||Nr(t)||An(t)))return!t.length;var e=pt(t);if(e=="[object Map]"||e=="[object Set]")return!t.size;if(Ue(t))return!Po(t).length;for(var n in t)if(ic.call(t,n))return!1;return!0}var Oi=Vt&&Vt.isRegExp,Wt=Oi?In(Oi):function(t){return Nt(t)&&Yt(t)=="[object RegExp]"};function Gt(t){return t===void 0}function oc(t,e,n,r){if(!gt(t))return t;for(var i=-1,o=(e=vn(e,t)).length,s=o-1,a=t;a!=null&&++i<o;){var c=Fe(e[i]),u=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return t;if(i!=s){var l=a[c];(u=void 0)==void 0&&(u=gt(l)?l:gn(e[i+1])?[]:{})}Tn(a,c,u),a=a[c]}return t}function Rt(t,e){if(t==null)return{};var n=mn(function(r){return jo(r,wo,_a)}(t),function(r){return[r]});return e=xt(e),function(r,i,o){for(var s=-1,a=i.length,c={};++s<a;){var u=i[s],l=Or(r,u);o(l,u)&&oc(c,vn(u,r),l)}return c}(t,n,function(r,i){return e(r,i[0])})}function sc(t,e,n,r,i){return i(t,function(o,s,a){n=r?(r=!1,o):e(n,o,s,a)}),n}function ht(t,e,n){var r=D(t)?Oa:sc,i=arguments.length<3;return r(t,xt(e),n,i,re)}function Nn(t,e){return(D(t)?Lr:Yo)(t,function(n){if(typeof n!="function")throw new TypeError("Expected a function");return function(){var r=arguments;switch(r.length){case 0:return!n.call(this);case 1:return!n.call(this,r[0]);case 2:return!n.call(this,r[0],r[1]);case 3:return!n.call(this,r[0],r[1],r[2])}return!n.apply(this,r)}}(xt(e)))}function ac(t,e){var n;return re(t,function(r,i,o){return!(n=e(r,i,o))}),!!n}function Xo(t,e,n){return(D(t)?Go:ac)(t,xt(e))}var cc=ce&&1/kr(new ce([,-0]))[1]==1/0?function(t){return new ce(t)}:q;function ar(t){return t&&t.length?function(e,n,r){var i=-1,o=So,s=e.length,a=!0,c=[],u=c;if(s>=200){var l=cc(e);if(l)return kr(l);a=!1,o=Cr,u=new ue}else u=c;t:for(;++i<s;){var h=e[i],f=h;if(h=h!==0?h:0,a&&f==f){for(var d=u.length;d--;)if(u[d]===f)continue t;c.push(h)}else o(u,f,r)||(u!==c&&u.push(f),c.push(h))}return c}(t):[]}function cr(t){console&&console.error&&console.error(`Error: ${t}`)}function qo(t){console&&console.warn&&console.warn(`Warning: ${t}`)}function Zo(t){const e=new Date().getTime(),n=t();return{time:new Date().getTime()-e,value:n}}function Qo(t){function e(){}e.prototype=t;const n=new e;function r(){return typeof n.bar}return r(),r(),t}function uc(t){return at((e=t).LABEL)&&e.LABEL!==""?t.LABEL:t.name;var e}class bt{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){this._definition=e}accept(e){e.visit(this),b(this.definition,n=>{n.accept(e)})}}class ft extends bt{constructor(e){super([]),this.idx=1,lt(this,Rt(e,n=>n!==void 0))}set definition(e){}get definition(){return this.referencedRule!==void 0?this.referencedRule.definition:[]}accept(e){e.visit(this)}}class de extends bt{constructor(e){super(e.definition),this.orgText="",lt(this,Rt(e,n=>n!==void 0))}}class ut extends bt{constructor(e){super(e.definition),this.ignoreAmbiguities=!1,lt(this,Rt(e,n=>n!==void 0))}}class ct extends bt{constructor(e){super(e.definition),this.idx=1,lt(this,Rt(e,n=>n!==void 0))}}class Pt extends bt{constructor(e){super(e.definition),this.idx=1,lt(this,Rt(e,n=>n!==void 0))}}class wt extends bt{constructor(e){super(e.definition),this.idx=1,lt(this,Rt(e,n=>n!==void 0))}}class Q extends bt{constructor(e){super(e.definition),this.idx=1,lt(this,Rt(e,n=>n!==void 0))}}class Ot extends bt{constructor(e){super(e.definition),this.idx=1,lt(this,Rt(e,n=>n!==void 0))}}class St extends bt{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){super(e.definition),this.idx=1,this.ignoreAmbiguities=!1,this.hasPredicates=!1,lt(this,Rt(e,n=>n!==void 0))}}class z{constructor(e){this.idx=1,lt(this,Rt(e,n=>n!==void 0))}accept(e){e.visit(this)}}function qe(t){function e(n){return L(n,qe)}if(t instanceof ft){const n={type:"NonTerminal",name:t.nonTerminalName,idx:t.idx};return at(t.label)&&(n.label=t.label),n}if(t instanceof ut)return{type:"Alternative",definition:e(t.definition)};if(t instanceof ct)return{type:"Option",idx:t.idx,definition:e(t.definition)};if(t instanceof Pt)return{type:"RepetitionMandatory",idx:t.idx,definition:e(t.definition)};if(t instanceof wt)return{type:"RepetitionMandatoryWithSeparator",idx:t.idx,separator:qe(new z({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof Ot)return{type:"RepetitionWithSeparator",idx:t.idx,separator:qe(new z({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof Q)return{type:"Repetition",idx:t.idx,definition:e(t.definition)};if(t instanceof St)return{type:"Alternation",idx:t.idx,definition:e(t.definition)};if(t instanceof z){const n={type:"Terminal",name:t.terminalType.name,label:uc(t.terminalType),idx:t.idx};at(t.label)&&(n.terminalLabel=t.label);const r=t.terminalType.PATTERN;return t.terminalType.PATTERN&&(n.pattern=Wt(r)?r.source:r),n}if(t instanceof de)return{type:"Rule",name:t.name,orgText:t.orgText,definition:e(t.definition)};throw Error("non exhaustive match")}class pe{visit(e){const n=e;switch(n.constructor){case ft:return this.visitNonTerminal(n);case ut:return this.visitAlternative(n);case ct:return this.visitOption(n);case Pt:return this.visitRepetitionMandatory(n);case wt:return this.visitRepetitionMandatoryWithSeparator(n);case Ot:return this.visitRepetitionWithSeparator(n);case Q:return this.visitRepetition(n);case St:return this.visitAlternation(n);case z:return this.visitTerminal(n);case de:return this.visitRule(n);default:throw Error("non exhaustive match")}}visitNonTerminal(e){}visitAlternative(e){}visitOption(e){}visitRepetition(e){}visitRepetitionMandatory(e){}visitRepetitionMandatoryWithSeparator(e){}visitRepetitionWithSeparator(e){}visitAlternation(e){}visitTerminal(e){}visitRule(e){}}function sn(t,e=[]){return t instanceof ct||t instanceof Q||t instanceof Ot||(t instanceof St?Xo(t.definition,n=>sn(n,e)):!(t instanceof ft&&it(e,t))&&t instanceof bt&&(t instanceof ft&&e.push(t),vt(t.definition,n=>sn(n,e))))}function _t(t){if(t instanceof ft)return"SUBRULE";if(t instanceof ct)return"OPTION";if(t instanceof St)return"OR";if(t instanceof Pt)return"AT_LEAST_ONE";if(t instanceof wt)return"AT_LEAST_ONE_SEP";if(t instanceof Ot)return"MANY_SEP";if(t instanceof Q)return"MANY";if(t instanceof z)return"CONSUME";throw Error("non exhaustive match")}class yn{walk(e,n=[]){b(e.definition,(r,i)=>{const o=J(e.definition,i+1);if(r instanceof ft)this.walkProdRef(r,o,n);else if(r instanceof z)this.walkTerminal(r,o,n);else if(r instanceof ut)this.walkFlat(r,o,n);else if(r instanceof ct)this.walkOption(r,o,n);else if(r instanceof Pt)this.walkAtLeastOne(r,o,n);else if(r instanceof wt)this.walkAtLeastOneSep(r,o,n);else if(r instanceof Ot)this.walkManySep(r,o,n);else if(r instanceof Q)this.walkMany(r,o,n);else{if(!(r instanceof St))throw Error("non exhaustive match");this.walkOr(r,o,n)}})}walkTerminal(e,n,r){}walkProdRef(e,n,r){}walkFlat(e,n,r){const i=n.concat(r);this.walk(e,i)}walkOption(e,n,r){const i=n.concat(r);this.walk(e,i)}walkAtLeastOne(e,n,r){const i=[new ct({definition:e.definition})].concat(n,r);this.walk(e,i)}walkAtLeastOneSep(e,n,r){const i=Si(e,n,r);this.walk(e,i)}walkMany(e,n,r){const i=[new ct({definition:e.definition})].concat(n,r);this.walk(e,i)}walkManySep(e,n,r){const i=Si(e,n,r);this.walk(e,i)}walkOr(e,n,r){const i=n.concat(r);b(e.definition,o=>{const s=new ut({definition:[o]});this.walk(s,i)})}}function Si(t,e,n){return[new ct({definition:[new z({terminalType:t.separator})].concat(t.definition)})].concat(e,n)}function Se(t){if(t instanceof ft)return Se(t.referencedRule);if(t instanceof z)return[t.terminalType];if(function(e){return e instanceof ut||e instanceof ct||e instanceof Q||e instanceof Pt||e instanceof wt||e instanceof Ot||e instanceof z||e instanceof de}(t))return function(e){let n=[];const r=e.definition;let i,o=0,s=r.length>o,a=!0;for(;s&&a;)i=r[o],a=sn(i),n=n.concat(Se(i)),o+=1,s=r.length>o;return ar(n)}(t);if(function(e){return e instanceof St}(t))return function(e){const n=L(e.definition,r=>Se(r));return ar(It(n))}(t);throw Error("non exhaustive match")}const Jo="_~IN~_";class lc extends yn{constructor(e){super(),this.topProd=e,this.follows={}}startWalking(){return this.walk(this.topProd),this.follows}walkTerminal(e,n,r){}walkProdRef(e,n,r){const i=(o=e.referencedRule,s=e.idx,o.name+s+Jo+this.topProd.name);var o,s;const a=n.concat(r),c=Se(new ut({definition:a}));this.follows[i]=c}}function P(t){return t.charCodeAt(0)}function Mn(t,e){Array.isArray(t)?t.forEach(function(n){e.push(n)}):e.push(t)}function Te(t,e){if(t[e]===!0)throw"duplicate flag "+e;t[e],t[e]=!0}function ie(t){if(t===void 0)throw Error("Internal Error - Should never get here!");return!0}function _i(t){return t.type==="Character"}const an=[];for(let t=P("0");t<=P("9");t++)an.push(t);const cn=[P("_")].concat(an);for(let t=P("a");t<=P("z");t++)cn.push(t);for(let t=P("A");t<=P("Z");t++)cn.push(t);const Li=[P(" "),P("\f"),P(`
7
7
  `),P("\r"),P(" "),P("\v"),P(" "),P(" "),P(" "),P(" "),P(" "),P(" "),P(" "),P(" "),P(" "),P(" "),P(" "),P(" "),P(" "),P(" "),P("\u2028"),P("\u2029"),P(" "),P(" "),P(" "),P("\uFEFF")],hc=/[0-9a-fA-F]/,Ge=/[0-9]/,fc=/[1-9]/;class ur{visitChildren(e){for(const n in e){const r=e[n];e.hasOwnProperty(n)&&(r.type!==void 0?this.visit(r):Array.isArray(r)&&r.forEach(i=>{this.visit(i)},this))}}visit(e){switch(e.type){case"Pattern":this.visitPattern(e);break;case"Flags":this.visitFlags(e);break;case"Disjunction":this.visitDisjunction(e);break;case"Alternative":this.visitAlternative(e);break;case"StartAnchor":this.visitStartAnchor(e);break;case"EndAnchor":this.visitEndAnchor(e);break;case"WordBoundary":this.visitWordBoundary(e);break;case"NonWordBoundary":this.visitNonWordBoundary(e);break;case"Lookahead":this.visitLookahead(e);break;case"NegativeLookahead":this.visitNegativeLookahead(e);break;case"Character":this.visitCharacter(e);break;case"Set":this.visitSet(e);break;case"Group":this.visitGroup(e);break;case"GroupBackReference":this.visitGroupBackReference(e);break;case"Quantifier":this.visitQuantifier(e)}this.visitChildren(e)}visitPattern(e){}visitFlags(e){}visitDisjunction(e){}visitAlternative(e){}visitStartAnchor(e){}visitEndAnchor(e){}visitWordBoundary(e){}visitNonWordBoundary(e){}visitLookahead(e){}visitNegativeLookahead(e){}visitCharacter(e){}visitSet(e){}visitGroup(e){}visitGroupBackReference(e){}visitQuantifier(e){}}let Ze={};const dc=new class{constructor(){this.idx=0,this.input="",this.groupIdx=0}saveState(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}}restoreState(t){this.idx=t.idx,this.input=t.input,this.groupIdx=t.groupIdx}pattern(t){this.idx=0,this.input=t,this.groupIdx=0,this.consumeChar("/");const e=this.disjunction();this.consumeChar("/");const n={type:"Flags",loc:{begin:this.idx,end:t.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};for(;this.isRegExpFlag();)switch(this.popChar()){case"g":Te(n,"global");break;case"i":Te(n,"ignoreCase");break;case"m":Te(n,"multiLine");break;case"u":Te(n,"unicode");break;case"y":Te(n,"sticky")}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:n,value:e,loc:this.loc(0)}}disjunction(){const t=[],e=this.idx;for(t.push(this.alternative());this.peekChar()==="|";)this.consumeChar("|"),t.push(this.alternative());return{type:"Disjunction",value:t,loc:this.loc(e)}}alternative(){const t=[],e=this.idx;for(;this.isTerm();)t.push(this.term());return{type:"Alternative",value:t,loc:this.loc(e)}}term(){return this.isAssertion()?this.assertion():this.atom()}assertion(){const t=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(t)};case"$":return{type:"EndAnchor",loc:this.loc(t)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(t)};case"B":return{type:"NonWordBoundary",loc:this.loc(t)}}throw Error("Invalid Assertion Escape");case"(":let e;switch(this.consumeChar("?"),this.popChar()){case"=":e="Lookahead";break;case"!":e="NegativeLookahead"}ie(e);const n=this.disjunction();return this.consumeChar(")"),{type:e,value:n,loc:this.loc(t)}}return function(){throw Error("Internal Error - Should never get here!")}()}quantifier(t=!1){let e;const n=this.idx;switch(this.popChar()){case"*":e={atLeast:0,atMost:1/0};break;case"+":e={atLeast:1,atMost:1/0};break;case"?":e={atLeast:0,atMost:1};break;case"{":const r=this.integerIncludingZero();switch(this.popChar()){case"}":e={atLeast:r,atMost:r};break;case",":let i;this.isDigit()?(i=this.integerIncludingZero(),e={atLeast:r,atMost:i}):e={atLeast:r,atMost:1/0},this.consumeChar("}")}if(t===!0&&e===void 0)return;ie(e)}if(t!==!0||e!==void 0)return ie(e)?(this.peekChar(0)==="?"?(this.consumeChar("?"),e.greedy=!1):e.greedy=!0,e.type="Quantifier",e.loc=this.loc(n),e):void 0}atom(){let t;const e=this.idx;switch(this.peekChar()){case".":t=this.dotAll();break;case"\\":t=this.atomEscape();break;case"[":t=this.characterClass();break;case"(":t=this.group()}if(t===void 0&&this.isPatternCharacter()&&(t=this.patternCharacter()),ie(t))return t.loc=this.loc(e),this.isQuantifier()&&(t.quantifier=this.quantifier()),t}dotAll(){return this.consumeChar("."),{type:"Set",complement:!0,value:[P(`
8
8
  `),P("\r"),P("\u2028"),P("\u2029")]}}atomEscape(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}}decimalEscapeAtom(){return{type:"GroupBackReference",value:this.positiveInteger()}}characterClassEscape(){let t,e=!1;switch(this.popChar()){case"d":t=an;break;case"D":t=an,e=!0;break;case"s":t=Li;break;case"S":t=Li,e=!0;break;case"w":t=cn;break;case"W":t=cn,e=!0}if(ie(t))return{type:"Set",value:t,complement:e}}controlEscapeAtom(){let t;switch(this.popChar()){case"f":t=P("\f");break;case"n":t=P(`
9
9
  `);break;case"r":t=P("\r");break;case"t":t=P(" ");break;case"v":t=P("\v")}if(ie(t))return{type:"Character",value:t}}controlLetterEscapeAtom(){this.consumeChar("c");const t=this.popChar();if(/[a-zA-Z]/.test(t)===!1)throw Error("Invalid ");return{type:"Character",value:t.toUpperCase().charCodeAt(0)-64}}nulCharacterAtom(){return this.consumeChar("0"),{type:"Character",value:P("\0")}}hexEscapeSequenceAtom(){return this.consumeChar("x"),this.parseHexDigits(2)}regExpUnicodeEscapeSequenceAtom(){return this.consumeChar("u"),this.parseHexDigits(4)}identityEscapeAtom(){return{type:"Character",value:P(this.popChar())}}classPatternCharacterAtom(){switch(this.peekChar()){case`
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.18
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.20
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,9 +1,9 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.18
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.20
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
- */const yt=require("./CSIba2XXGZO3bOXm.cjs");function kt(Y,H){for(var k=0;k<H.length;k++){const P=H[k];if(typeof P!="string"&&!Array.isArray(P)){for(const N in P)if(N!=="default"&&!(N in Y)){const Q=Object.getOwnPropertyDescriptor(P,N);Q&&Object.defineProperty(Y,N,Q.get?Q:{enumerable:!0,get:()=>P[N]})}}}return Object.freeze(Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"}))}var ct,pt={exports:{}},gt=(ct||(ct=1,pt.exports=function Y(){var H,k=typeof self<"u"?self:typeof window<"u"?window:k!==void 0?k:{},P=!k.document&&!!k.postMessage,N=k.IS_PAPA_WORKER||!1,Q={},mt=0,o={};function B(t){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){var i=at(e);i.chunkSize=parseInt(i.chunkSize),e.step||e.chunk||(i.chunkSize=null),this._handle=new ht(i),(this._handle.streamer=this)._config=i}.call(this,t),this.parseChunk=function(e,i){var n=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<n){let c=this._config.newline;c||(r=this._config.quoteChar||'"',c=this._handle.guessLineEndings(e,r)),e=[...e.split(c).slice(n)].join(c)}this.isFirstChunk&&_(this._config.beforeFirstChunk)&&(r=this._config.beforeFirstChunk(e))!==void 0&&(e=r),this.isFirstChunk=!1,this._halted=!1,n=this._partialLine+e;var r=(this._partialLine="",this._handle.parse(n,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){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,N)k.postMessage({results:r,workerId:o.WORKER_ID,finished:n});else if(_(this._config.chunk)&&!i){if(this._config.chunk(r,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=r=void 0}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}this._halted=!0},this._sendError=function(e){_(this._config.error)?this._config.error(e):N&&this._config.error&&k.postMessage({workerId:o.WORKER_ID,error:e,finished:!1})}}function it(t){var e;(t=t||{}).chunkSize||(t.chunkSize=o.RemoteChunkSize),B.call(this,t),this._nextChunk=P?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(i){this._input=i,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(e=new XMLHttpRequest,this._config.withCredentials&&(e.withCredentials=this._config.withCredentials),P||(e.onload=J(this._chunkLoaded,this),e.onerror=J(this._chunkError,this)),e.open(this._config.downloadRequestBody?"POST":"GET",this._input,!P),this._config.downloadRequestHeaders){var i,n=this._config.downloadRequestHeaders;for(i in n)e.setRequestHeader(i,n[i])}var r;this._config.chunkSize&&(r=this._start+this._config.chunkSize-1,e.setRequestHeader("Range","bytes="+this._start+"-"+r));try{e.send(this._config.downloadRequestBody)}catch(c){this._chunkError(c.message)}P&&e.status===0&&this._chunkError()}},this._chunkLoaded=function(){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=i.getResponseHeader("Content-Range"))!==null?parseInt(i.substring(i.lastIndexOf("/")+1)):-1)(e),this.parseChunk(e.responseText)))},this._chunkError=function(i){i=e.statusText||i,this._sendError(new Error(i))}}function rt(t){(t=t||{}).chunkSize||(t.chunkSize=o.LocalChunkSize),B.call(this,t);var e,i,n=typeof FileReader<"u";this.stream=function(r){this._input=r,i=r.slice||r.webkitSlice||r.mozSlice,n?((e=new FileReader).onload=J(this._chunkLoaded,this),e.onerror=J(this._chunkError,this)):e=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var r=this._input,c=(this._config.chunkSize&&(c=Math.min(this._start+this._config.chunkSize,this._input.size),r=i.call(r,this._start,c)),e.readAsText(r,this._config.encoding));n||this._chunkLoaded({target:{result:c}})},this._chunkLoaded=function(r){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(r.target.result)},this._chunkError=function(){this._sendError(e.error)}}function X(t){var e;B.call(this,t=t||{}),this.stream=function(i){return e=i,this._nextChunk()},this._nextChunk=function(){var i,n;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)}}function nt(t){B.call(this,t=t||{});var e=[],i=!0,n=!1;this.pause=function(){B.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){B.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(r){this._input=r,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){n&&e.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):i=!0},this._streamData=J(function(r){try{e.push(typeof r=="string"?r:r.toString(this._config.encoding)),i&&(i=!1,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(c){this._streamError(c)}},this),this._streamError=J(function(r){this._streamCleanUp(),this._sendError(r)},this),this._streamEnd=J(function(){this._streamCleanUp(),n=!0,this._streamData("")},this),this._streamCleanUp=J(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function ht(t){var e,i,n,r,c=Math.pow(2,53),R=-c,I=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,z=/^((\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)))$/,p=this,E=0,a=0,F=!1,u=!1,g=[],s={data:[],errors:[],meta:{}};function O(h){return t.skipEmptyLines==="greedy"?h.join("").trim()==="":h.length===1&&h[0].length===0}function C(){if(s&&n&&(M("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+o.DefaultDelimiter+"'"),n=!1),t.skipEmptyLines&&(s.data=s.data.filter(function(l){return!O(l)})),T()){let l=function(S,L){_(t.transformHeader)&&(S=t.transformHeader(S,L)),g.push(S)};if(s)if(Array.isArray(s.data[0])){for(var h=0;T()&&h<s.data.length;h++)s.data[h].forEach(l);s.data.splice(0,1)}else s.data.forEach(l)}function d(l,S){for(var L=t.header?{}:[],b=0;b<l.length;b++){var y=b,m=l[b];m=((U,f)=>(v=>(t.dynamicTypingFunction&&t.dynamicTyping[v]===void 0&&(t.dynamicTyping[v]=t.dynamicTypingFunction(v)),(t.dynamicTyping[v]||t.dynamicTyping)===!0))(U)?f==="true"||f==="TRUE"||f!=="false"&&f!=="FALSE"&&((v=>{if(I.test(v)&&(v=parseFloat(v),R<v&&v<c))return 1})(f)?parseFloat(f):z.test(f)?new Date(f):f===""?null:f):f)(y=t.header?b>=g.length?"__parsed_extra":g[b]:y,m=t.transform?t.transform(m,y):m),y==="__parsed_extra"?(L[y]=L[y]||[],L[y].push(m)):L[y]=m}return t.header&&(b>g.length?M("FieldMismatch","TooManyFields","Too many fields: expected "+g.length+" fields but parsed "+b,a+S):b<g.length&&M("FieldMismatch","TooFewFields","Too few fields: expected "+g.length+" fields but parsed "+b,a+S)),L}var w;s&&(t.header||t.dynamicTyping||t.transform)&&(w=1,!s.data.length||Array.isArray(s.data[0])?(s.data=s.data.map(d),w=s.data.length):s.data=d(s.data,0),t.header&&s.meta&&(s.meta.fields=g),a+=w)}function T(){return t.header&&g.length===0}function M(h,d,w,l){h={type:h,code:d,message:w},l!==void 0&&(h.row=l),s.errors.push(h)}_(t.step)&&(r=t.step,t.step=function(h){s=h,T()?C():(C(),s.data.length!==0&&(E+=h.data.length,t.preview&&E>t.preview?i.abort():(s.data=s.data[0],r(s,p))))}),this.parse=function(h,d,w){var l=t.quoteChar||'"';return t.newline||(t.newline=this.guessLineEndings(h,l)),n=!1,t.delimiter?_(t.delimiter)&&(t.delimiter=t.delimiter(h),s.meta.delimiter=t.delimiter):((l=((S,L,b,y,m)=>{var U,f,v,$;m=m||[","," ","|",";",o.RECORD_SEP,o.UNIT_SEP];for(var Z=0;Z<m.length;Z++){for(var K,tt=m[Z],A=0,D=0,x=0,j=(v=void 0,new st({comments:y,delimiter:tt,newline:L,preview:10}).parse(S)),W=0;W<j.data.length;W++)b&&O(j.data[W])?x++:(D+=K=j.data[W].length,v===void 0?v=K:0<K&&(A+=Math.abs(K-v),v=K));0<j.data.length&&(D/=j.data.length-x),(f===void 0||A<=f)&&($===void 0||$<D)&&1.99<D&&(f=A,U=tt,$=D)}return{successful:!!(t.delimiter=U),bestDelimiter:U}})(h,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess)).successful?t.delimiter=l.bestDelimiter:(n=!0,t.delimiter=o.DefaultDelimiter),s.meta.delimiter=t.delimiter),l=at(t),t.preview&&t.header&&l.preview++,e=h,i=new st(l),s=i.parse(e,d,w),C(),F?{meta:{paused:!0}}:s||{meta:{paused:!1}}},this.paused=function(){return F},this.pause=function(){F=!0,i.abort(),e=_(t.chunk)?"":e.substring(i.getCharIndex())},this.resume=function(){p.streamer._halted?(F=!1,p.streamer.parseChunk(e,!0)):setTimeout(p.resume,3)},this.aborted=function(){return u},this.abort=function(){u=!0,i.abort(),s.meta.aborted=!0,_(t.complete)&&t.complete(s),e=""},this.guessLineEndings=function(h,d){h=h.substring(0,1048576),d=new RegExp(V(d)+"([^]*?)"+V(d),"gm");var w=(h=h.replace(d,"")).split("\r");if(h=1<(d=h.split(`
6
+ */const yt=require("./wcsUsHAbDuK3rvVp.cjs");function kt(Y,H){for(var k=0;k<H.length;k++){const P=H[k];if(typeof P!="string"&&!Array.isArray(P)){for(const N in P)if(N!=="default"&&!(N in Y)){const Q=Object.getOwnPropertyDescriptor(P,N);Q&&Object.defineProperty(Y,N,Q.get?Q:{enumerable:!0,get:()=>P[N]})}}}return Object.freeze(Object.defineProperty(Y,Symbol.toStringTag,{value:"Module"}))}var ct,pt={exports:{}},gt=(ct||(ct=1,pt.exports=function Y(){var H,k=typeof self<"u"?self:typeof window<"u"?window:k!==void 0?k:{},P=!k.document&&!!k.postMessage,N=k.IS_PAPA_WORKER||!1,Q={},mt=0,o={};function B(t){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){var i=at(e);i.chunkSize=parseInt(i.chunkSize),e.step||e.chunk||(i.chunkSize=null),this._handle=new ht(i),(this._handle.streamer=this)._config=i}.call(this,t),this.parseChunk=function(e,i){var n=parseInt(this._config.skipFirstNLines)||0;if(this.isFirstChunk&&0<n){let c=this._config.newline;c||(r=this._config.quoteChar||'"',c=this._handle.guessLineEndings(e,r)),e=[...e.split(c).slice(n)].join(c)}this.isFirstChunk&&_(this._config.beforeFirstChunk)&&(r=this._config.beforeFirstChunk(e))!==void 0&&(e=r),this.isFirstChunk=!1,this._halted=!1,n=this._partialLine+e;var r=(this._partialLine="",this._handle.parse(n,this._baseIndex,!this._finished));if(!this._handle.paused()&&!this._handle.aborted()){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,N)k.postMessage({results:r,workerId:o.WORKER_ID,finished:n});else if(_(this._config.chunk)&&!i){if(this._config.chunk(r,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);this._completeResults=r=void 0}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}this._halted=!0},this._sendError=function(e){_(this._config.error)?this._config.error(e):N&&this._config.error&&k.postMessage({workerId:o.WORKER_ID,error:e,finished:!1})}}function it(t){var e;(t=t||{}).chunkSize||(t.chunkSize=o.RemoteChunkSize),B.call(this,t),this._nextChunk=P?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(i){this._input=i,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(e=new XMLHttpRequest,this._config.withCredentials&&(e.withCredentials=this._config.withCredentials),P||(e.onload=J(this._chunkLoaded,this),e.onerror=J(this._chunkError,this)),e.open(this._config.downloadRequestBody?"POST":"GET",this._input,!P),this._config.downloadRequestHeaders){var i,n=this._config.downloadRequestHeaders;for(i in n)e.setRequestHeader(i,n[i])}var r;this._config.chunkSize&&(r=this._start+this._config.chunkSize-1,e.setRequestHeader("Range","bytes="+this._start+"-"+r));try{e.send(this._config.downloadRequestBody)}catch(c){this._chunkError(c.message)}P&&e.status===0&&this._chunkError()}},this._chunkLoaded=function(){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=i.getResponseHeader("Content-Range"))!==null?parseInt(i.substring(i.lastIndexOf("/")+1)):-1)(e),this.parseChunk(e.responseText)))},this._chunkError=function(i){i=e.statusText||i,this._sendError(new Error(i))}}function rt(t){(t=t||{}).chunkSize||(t.chunkSize=o.LocalChunkSize),B.call(this,t);var e,i,n=typeof FileReader<"u";this.stream=function(r){this._input=r,i=r.slice||r.webkitSlice||r.mozSlice,n?((e=new FileReader).onload=J(this._chunkLoaded,this),e.onerror=J(this._chunkError,this)):e=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var r=this._input,c=(this._config.chunkSize&&(c=Math.min(this._start+this._config.chunkSize,this._input.size),r=i.call(r,this._start,c)),e.readAsText(r,this._config.encoding));n||this._chunkLoaded({target:{result:c}})},this._chunkLoaded=function(r){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(r.target.result)},this._chunkError=function(){this._sendError(e.error)}}function X(t){var e;B.call(this,t=t||{}),this.stream=function(i){return e=i,this._nextChunk()},this._nextChunk=function(){var i,n;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)}}function nt(t){B.call(this,t=t||{});var e=[],i=!0,n=!1;this.pause=function(){B.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){B.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(r){this._input=r,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){n&&e.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),e.length?this.parseChunk(e.shift()):i=!0},this._streamData=J(function(r){try{e.push(typeof r=="string"?r:r.toString(this._config.encoding)),i&&(i=!1,this._checkIsFinished(),this.parseChunk(e.shift()))}catch(c){this._streamError(c)}},this),this._streamError=J(function(r){this._streamCleanUp(),this._sendError(r)},this),this._streamEnd=J(function(){this._streamCleanUp(),n=!0,this._streamData("")},this),this._streamCleanUp=J(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function ht(t){var e,i,n,r,c=Math.pow(2,53),R=-c,I=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,z=/^((\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)))$/,p=this,E=0,a=0,F=!1,u=!1,g=[],s={data:[],errors:[],meta:{}};function O(h){return t.skipEmptyLines==="greedy"?h.join("").trim()==="":h.length===1&&h[0].length===0}function C(){if(s&&n&&(M("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+o.DefaultDelimiter+"'"),n=!1),t.skipEmptyLines&&(s.data=s.data.filter(function(l){return!O(l)})),T()){let l=function(S,L){_(t.transformHeader)&&(S=t.transformHeader(S,L)),g.push(S)};if(s)if(Array.isArray(s.data[0])){for(var h=0;T()&&h<s.data.length;h++)s.data[h].forEach(l);s.data.splice(0,1)}else s.data.forEach(l)}function d(l,S){for(var L=t.header?{}:[],b=0;b<l.length;b++){var y=b,m=l[b];m=((U,f)=>(v=>(t.dynamicTypingFunction&&t.dynamicTyping[v]===void 0&&(t.dynamicTyping[v]=t.dynamicTypingFunction(v)),(t.dynamicTyping[v]||t.dynamicTyping)===!0))(U)?f==="true"||f==="TRUE"||f!=="false"&&f!=="FALSE"&&((v=>{if(I.test(v)&&(v=parseFloat(v),R<v&&v<c))return 1})(f)?parseFloat(f):z.test(f)?new Date(f):f===""?null:f):f)(y=t.header?b>=g.length?"__parsed_extra":g[b]:y,m=t.transform?t.transform(m,y):m),y==="__parsed_extra"?(L[y]=L[y]||[],L[y].push(m)):L[y]=m}return t.header&&(b>g.length?M("FieldMismatch","TooManyFields","Too many fields: expected "+g.length+" fields but parsed "+b,a+S):b<g.length&&M("FieldMismatch","TooFewFields","Too few fields: expected "+g.length+" fields but parsed "+b,a+S)),L}var w;s&&(t.header||t.dynamicTyping||t.transform)&&(w=1,!s.data.length||Array.isArray(s.data[0])?(s.data=s.data.map(d),w=s.data.length):s.data=d(s.data,0),t.header&&s.meta&&(s.meta.fields=g),a+=w)}function T(){return t.header&&g.length===0}function M(h,d,w,l){h={type:h,code:d,message:w},l!==void 0&&(h.row=l),s.errors.push(h)}_(t.step)&&(r=t.step,t.step=function(h){s=h,T()?C():(C(),s.data.length!==0&&(E+=h.data.length,t.preview&&E>t.preview?i.abort():(s.data=s.data[0],r(s,p))))}),this.parse=function(h,d,w){var l=t.quoteChar||'"';return t.newline||(t.newline=this.guessLineEndings(h,l)),n=!1,t.delimiter?_(t.delimiter)&&(t.delimiter=t.delimiter(h),s.meta.delimiter=t.delimiter):((l=((S,L,b,y,m)=>{var U,f,v,$;m=m||[","," ","|",";",o.RECORD_SEP,o.UNIT_SEP];for(var Z=0;Z<m.length;Z++){for(var K,tt=m[Z],A=0,D=0,x=0,j=(v=void 0,new st({comments:y,delimiter:tt,newline:L,preview:10}).parse(S)),W=0;W<j.data.length;W++)b&&O(j.data[W])?x++:(D+=K=j.data[W].length,v===void 0?v=K:0<K&&(A+=Math.abs(K-v),v=K));0<j.data.length&&(D/=j.data.length-x),(f===void 0||A<=f)&&($===void 0||$<D)&&1.99<D&&(f=A,U=tt,$=D)}return{successful:!!(t.delimiter=U),bestDelimiter:U}})(h,t.newline,t.skipEmptyLines,t.comments,t.delimitersToGuess)).successful?t.delimiter=l.bestDelimiter:(n=!0,t.delimiter=o.DefaultDelimiter),s.meta.delimiter=t.delimiter),l=at(t),t.preview&&t.header&&l.preview++,e=h,i=new st(l),s=i.parse(e,d,w),C(),F?{meta:{paused:!0}}:s||{meta:{paused:!1}}},this.paused=function(){return F},this.pause=function(){F=!0,i.abort(),e=_(t.chunk)?"":e.substring(i.getCharIndex())},this.resume=function(){p.streamer._halted?(F=!1,p.streamer.parseChunk(e,!0)):setTimeout(p.resume,3)},this.aborted=function(){return u},this.abort=function(){u=!0,i.abort(),s.meta.aborted=!0,_(t.complete)&&t.complete(s),e=""},this.guessLineEndings=function(h,d){h=h.substring(0,1048576),d=new RegExp(V(d)+"([^]*?)"+V(d),"gm");var w=(h=h.replace(d,"")).split("\r");if(h=1<(d=h.split(`
7
7
  `)).length&&d[0].length<w[0].length,w.length===1||h)return`
8
8
  `;for(var l=0,S=0;S<w.length;S++)w[S][0]===`
9
9
  `&&l++;return l>=w.length/2?`\r
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.18
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.20
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.18
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.4.20
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.