@sheetxl/sdk 0.6.9 → 0.6.11

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 (92) hide show
  1. package/browser/cjs/{DVM3soyC-zbXgExo.cjs → BFYDG5qsx5NnKbmL.cjs} +2 -2
  2. package/browser/cjs/{CfTRlNo_HTZZFEuN.cjs → BKXlE4xw0_7CZ-cj.cjs} +1 -1
  3. package/browser/cjs/{DDryg3xTKI0zp_Xv.cjs → BPm905ETO9Rm7xEA.cjs} +1 -1
  4. package/browser/cjs/{CZ-GKm79m2Dq1FIU.cjs → BRXuoGnLKFX0iGEK.cjs} +1 -1
  5. package/browser/cjs/{rAtFUbahZLz4vcRK.cjs → BZydpsUlRyxq33dn.cjs} +1 -1
  6. package/browser/cjs/{Be5HciXCsM30cTR7.cjs → Bjp6SpwCMr7F7XDc.cjs} +1 -1
  7. package/browser/cjs/{u2A6V0lmQVlAKTB9.cjs → BoalX-e5aTvbk6ZS.cjs} +1 -1
  8. package/browser/cjs/BwVG3czdgfHJZq2b.cjs +6 -0
  9. package/browser/cjs/{CpNtJM9WpyI8y-5F.cjs → C5aE0e4yb49hXZxP.cjs} +1 -1
  10. package/browser/cjs/{BqeQ2BMXQACCKLKR.cjs → C7E_8694EW1sP-pY.cjs} +1 -1
  11. package/browser/cjs/{COrnzi7VyRdNGAtQ.cjs → C9mkRbnc83WHBzfq.cjs} +1 -1
  12. package/browser/cjs/{CrrwQETWQp8gyGzt.cjs → CMuLGfAGSOHVooRJ.cjs} +1 -1
  13. package/browser/cjs/{B5NVMCBMKfgbOTc4.cjs → CVHSDn92ZAUg2hT6.cjs} +1 -1
  14. package/browser/cjs/{Dg0yGkSIwxOYsqXc.cjs → CYHdhG-YwgF30pQR.cjs} +1 -1
  15. package/browser/cjs/{mMPWgDE-9JGadTqF.cjs → CcHy9ET_0AoOGH3-.cjs} +2 -2
  16. package/browser/cjs/{JeoUZKrmKF_EKfRy.cjs → CeAqTHYb20jQ-EgX.cjs} +1 -1
  17. package/browser/cjs/{DPj8_WpiUxzFwf_c.cjs → DKh8QkElXnTnz70Y.cjs} +1 -1
  18. package/browser/cjs/{B5lDewVA1PK3TDqP.cjs → DKjzL2NzrTZUkMd4.cjs} +1 -1
  19. package/browser/cjs/{BiDzOTyDbSNj4VOt.cjs → DUksWASvIBVekZLH.cjs} +1 -1
  20. package/browser/cjs/D_2asXAjjqb1MQSo.cjs +6 -0
  21. package/browser/cjs/DdaSifgClArXfbZj.cjs +54 -0
  22. package/browser/cjs/{DmWwZQR-OyBY6PXa.cjs → DfoBdguJXjvZsdhs.cjs} +3 -3
  23. package/browser/cjs/{MCJHHxWHHzGpX5Pj.cjs → OFesyof4pRn9n6BX.cjs} +1 -1
  24. package/browser/cjs/{DCowa-GHy4wrT3ny.cjs → SNmBvUmtxYR9DEGK.cjs} +1 -1
  25. package/browser/cjs/{CSfNl6LDG8rDs7Vh.cjs → aHOXPfpjNgIR2ahP.cjs} +1 -1
  26. package/browser/cjs/index.cjs +2 -2
  27. package/browser/cjs/{Bc5uv_RCFvWQH2sX.cjs → umlSvj53ypBAsO6i.cjs} +1 -1
  28. package/browser/cjs/{CvAEOtGstfkPReLO.cjs → zkG3oUEZg_86HP8a.cjs} +1 -1
  29. package/{node/esm/Bkxeex4nj_DniWxU.mjs → browser/esm/2WCTXpmQ_zXr00dR.mjs} +1 -1
  30. package/{node/esm/CdU8MYA3WzuNRY66.mjs → browser/esm/3tHdTCn2N2Ai-aa2.mjs} +1 -1
  31. package/{node/esm/BYNlf3D1JaCJT1Sm.mjs → browser/esm/B87NL_k3SOOLqwau.mjs} +1 -1
  32. package/browser/esm/{B-PN1LO9ZcekyJdD.mjs → B8jnncFQL6kSvNA8.mjs} +1 -1
  33. package/browser/esm/{BQRt1YPdeVgJZLSD.mjs → B9G9meBN6KR1iHfF.mjs} +1 -1
  34. package/{node/esm/DKgDWEkiu_qFCNma.mjs → browser/esm/BHcVxaKDavX_AyMY.mjs} +1 -1
  35. package/{node/esm/wYkvd6ZmjX2kqgxt.mjs → browser/esm/BSr44CFvujt_XEqQ.mjs} +1 -1
  36. package/browser/esm/{B8_kh_q2PdM2s_22.mjs → BW7RBbJWOyc8XVol.mjs} +1 -1
  37. package/{node/esm/Cgl74-uOFxAcBYKC.mjs → browser/esm/BXkZuQ-0lXmV1EIN.mjs} +1 -1
  38. package/browser/esm/BuML5CZyyYM-EQZb.mjs +10 -0
  39. package/browser/esm/{mHgiqt2KqSX-_6UB.mjs → ByG-blWLsit1vu-b.mjs} +1 -1
  40. package/browser/esm/{3291c1rj8WenjX7h.mjs → CD9GGigM6jXuYSS8.mjs} +1 -1
  41. package/browser/esm/{BfEcDIr0wlZYaVPt.mjs → CHY2yV-VwIAwEa7u.mjs} +2 -2
  42. package/browser/esm/{B8aidKjp_wIBO8SO.mjs → CLix7948FIacIj_r.mjs} +1 -1
  43. package/browser/esm/{DXDuPqnIlaDg9Bsg.mjs → CQ9dBF9qXvcfB4QN.mjs} +1 -1
  44. package/browser/esm/{B-nJAhH1URIvWGvO.mjs → CYv1qOnVQIvi7d0l.mjs} +6735 -6731
  45. package/browser/esm/{ByzU5ZM-u2TxFUSV.mjs → ClK01MZAe1HZTl4g.mjs} +1 -1
  46. package/browser/esm/{SzvXJcSKqCKp7MW7.mjs → CnYUuciMeOJ7pmMb.mjs} +1 -1
  47. package/{node/esm/DWyMAP1M0WvcP0Me.mjs → browser/esm/CqsQGdokIfRXHM31.mjs} +1 -1
  48. package/{node/esm/CHVFSjWE79XfNsBY.mjs → browser/esm/DjTcXf0TcxIWNzvf.mjs} +1 -1
  49. package/browser/esm/{D2i5gEJCwxxsj-ux.mjs → Dz68gx-4a5NFxIwR.mjs} +1 -1
  50. package/browser/esm/{HS-RJV_pVb3hMRGf.mjs → VUsxt3O40sPqPww_.mjs} +1 -1
  51. package/browser/esm/{C6f9mZ_skWpYgtc1.mjs → hzLgUazsNKVVvoWO.mjs} +2 -2
  52. package/browser/esm/index.mjs +2 -2
  53. package/browser/esm/jeGBWsuFMi2y1vmE.mjs +10 -0
  54. package/browser/esm/{D-yMpq564ZJynZm3.mjs → ni5ddQNGrm94WxCB.mjs} +3 -3
  55. package/browser/esm/{2iGVJwp0jZAb4sOo.mjs → qufRtSOJ-1Rs8wCB.mjs} +1 -1
  56. package/browser/esm/{C4r37lDbEtNPTabo.mjs → vXio9h6XTorGXIHu.mjs} +1 -1
  57. package/{browser/esm/Bkxeex4nj_DniWxU.mjs → node/esm/2WCTXpmQ_zXr00dR.mjs} +1 -1
  58. package/{browser/esm/CdU8MYA3WzuNRY66.mjs → node/esm/3tHdTCn2N2Ai-aa2.mjs} +1 -1
  59. package/{browser/esm/BYNlf3D1JaCJT1Sm.mjs → node/esm/B87NL_k3SOOLqwau.mjs} +1 -1
  60. package/node/esm/{B-PN1LO9ZcekyJdD.mjs → B8jnncFQL6kSvNA8.mjs} +1 -1
  61. package/node/esm/{C3XutY3HQDbKs9_F.mjs → B9FNPAsnB8gsaXKo.mjs} +1 -1
  62. package/node/esm/{ECGQXemQN_h2Fa_I.mjs → BDiANu0RdLHHeDjE.mjs} +2 -2
  63. package/{browser/esm/DKgDWEkiu_qFCNma.mjs → node/esm/BHcVxaKDavX_AyMY.mjs} +1 -1
  64. package/{browser/esm/wYkvd6ZmjX2kqgxt.mjs → node/esm/BSr44CFvujt_XEqQ.mjs} +1 -1
  65. package/node/esm/{B8_kh_q2PdM2s_22.mjs → BW7RBbJWOyc8XVol.mjs} +1 -1
  66. package/{browser/esm/Cgl74-uOFxAcBYKC.mjs → node/esm/BXkZuQ-0lXmV1EIN.mjs} +1 -1
  67. package/node/esm/{mHgiqt2KqSX-_6UB.mjs → ByG-blWLsit1vu-b.mjs} +1 -1
  68. package/node/esm/{DhMkzgP5ZUGPbWt4.mjs → BysJqet7b2YMN6kV.mjs} +1 -1
  69. package/node/esm/{xwFWHagDYZrBek5N.mjs → C6CzYcWcgSF60FQh.mjs} +1 -1
  70. package/node/esm/{CubvDf2FFABZy6aD.mjs → CBEEVLGu7m369zSR.mjs} +1 -1
  71. package/node/esm/{3291c1rj8WenjX7h.mjs → CD9GGigM6jXuYSS8.mjs} +1 -1
  72. package/node/esm/CGWHAItceXFlvwC8.mjs +10 -0
  73. package/node/esm/{DXDuPqnIlaDg9Bsg.mjs → CQ9dBF9qXvcfB4QN.mjs} +1 -1
  74. package/node/esm/{TLURS9OWFDzxkOsy.mjs → CSi4kx--AQTJXWKa.mjs} +1 -1
  75. package/node/esm/CUoxGi8s6L-kzIKs.mjs +10 -0
  76. package/node/esm/{ByzU5ZM-u2TxFUSV.mjs → ClK01MZAe1HZTl4g.mjs} +1 -1
  77. package/node/esm/{SzvXJcSKqCKp7MW7.mjs → CnYUuciMeOJ7pmMb.mjs} +1 -1
  78. package/{browser/esm/DWyMAP1M0WvcP0Me.mjs → node/esm/CqsQGdokIfRXHM31.mjs} +1 -1
  79. package/{browser/esm/CHVFSjWE79XfNsBY.mjs → node/esm/DjTcXf0TcxIWNzvf.mjs} +1 -1
  80. package/node/esm/{HS-RJV_pVb3hMRGf.mjs → VUsxt3O40sPqPww_.mjs} +1 -1
  81. package/node/esm/{BrZW_9j5VY1Ogh6W.mjs → daDckEMoiAicWOsM.mjs} +1 -1
  82. package/node/esm/index.mjs +3135 -3123
  83. package/package.json +4 -4
  84. package/types/index.d.ts +4 -0
  85. package/types/scripting.d.ts +6 -2
  86. package/browser/cjs/B-cq8iLXLtEx64K_.cjs +0 -6
  87. package/browser/cjs/B9P689u0AgLxiPG8.cjs +0 -6
  88. package/browser/cjs/DZZ_YfMpgcdWxp3p.cjs +0 -54
  89. package/browser/esm/BJmHQ5a4p2-U7UCO.mjs +0 -10
  90. package/browser/esm/DdYl5U0Hb2weaCX1.mjs +0 -10
  91. package/node/esm/DpUupiDfq1Dyr_tQ.mjs +0 -10
  92. package/node/esm/qFyAHaYnpXLqwfOQ.mjs +0 -10
@@ -1,9 +1,9 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.9
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
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 G=require("./DZZ_YfMpgcdWxp3p.cjs"),w=require("@sheetxl/primitives"),X=require("@sheetxl/utils");var No=typeof global=="object"&&global&&global.Object===Object&&global,Ms=typeof self=="object"&&self&&self.Object===Object&&self,bt=No||Ms||Function("return this")(),Tt=bt.Symbol,Ro=Object.prototype,Us=Ro.hasOwnProperty,Fs=Ro.toString,Te=Tt?Tt.toStringTag:void 0,Ds=Object.prototype.toString,Kr=Tt?Tt.toStringTag:void 0;function qt(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Kr&&Kr in Object(t)?(function(e){var n=Us.call(e,Te),r=e[Te];try{e[Te]=void 0;var i=!0}catch{}var o=Fs.call(e);return i&&(n?e[Te]=r:delete e[Te]),o})(t):(function(e){return Ds.call(e)})(t)}function Rt(t){return t!=null&&typeof t=="object"}function En(t){return typeof t=="symbol"||Rt(t)&&qt(t)=="[object Symbol]"}function gn(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,zr=Tt?Tt.prototype:void 0,Vr=zr?zr.toString:void 0;function Oo(t){if(typeof t=="string")return t;if(D(t))return gn(t,Oo)+"";if(En(t))return Vr?Vr.call(t):"";var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}var js=/\s/,Bs=/^\s+/;function $s(t){return t&&t.slice(0,(function(e){for(var n=e.length;n--&&js.test(e.charAt(n)););return n})(t)+1).replace(Bs,"")}function At(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Ws=/^[-+]0x[0-9a-f]+$/i,Gs=/^0b[01]+$/i,Ks=/^0o[0-7]+$/i,zs=parseInt,Vs=1/0;function Hs(t){return t?(t=(function(e){if(typeof e=="number")return e;if(En(e))return NaN;if(At(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=At(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=$s(e);var r=Gs.test(e);return r||Ks.test(e)?zs(e.slice(2),r?2:8):Ws.test(e)?NaN:+e})(t))===Vs||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:t===0?t:0}function Tn(t){var e=Hs(t),n=e%1;return e==e?n?e-n:e:0}function fe(t){return t}function Vt(t){if(!At(t))return!1;var e=qt(t);return e=="[object Function]"||e=="[object GeneratorFunction]"||e=="[object AsyncFunction]"||e=="[object Proxy]"}var Hr,kn=bt["__core-js_shared__"],Yr=(Hr=/[^.]+$/.exec(kn&&kn.keys&&kn.keys.IE_PROTO||""))?"Symbol(src)_1."+Hr:"",Ys=Function.prototype.toString;function re(t){if(t!=null){try{return Ys.call(t)}catch{}try{return t+""}catch{}}return""}var Xs=/^\[object .+?Constructor\]$/,qs=Function.prototype,Zs=Object.prototype,Qs=qs.toString,Js=Zs.hasOwnProperty,ta=RegExp("^"+Qs.call(Js).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ea(t){return!(!At(t)||(e=t,Yr&&Yr in e))&&(Vt(t)?ta:Xs).test(re(t));var e}function ie(t,e){var n=(function(r,i){return r?.[i]})(t,e);return ea(n)?n:void 0}var ir=ie(bt,"WeakMap"),Xr=Object.create,na=(function(){function t(){}return function(e){if(!At(e))return{};if(Xr)return Xr(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}})();function Q(){}var ra=Date.now,qr,bn,Pn,on=(function(){try{var t=ie(Object,"defineProperty");return t({},"",{}),t}catch{}})(),ia=on?function(t,e){return on(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:fe,oa=(qr=ia,bn=0,Pn=0,function(){var t=ra(),e=16-(t-Pn);if(Pn=t,e>0){if(++bn>=800)return arguments[0]}else bn=0;return qr.apply(void 0,arguments)});function So(t,e){for(var n=-1,r=t==null?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}function _o(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 sa(t){return t!=t}function Ir(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):_o(t,sa,n)}function Lo(t,e){return!!(t!=null&&t.length)&&Ir(t,e,0)>-1}var aa=/^(?:0|[1-9]\d*)$/;function An(t,e){var n=typeof t;return!!(e=e??9007199254740991)&&(n=="number"||n!="symbol"&&aa.test(t))&&t>-1&&t%1==0&&t<e}function yr(t,e,n){e=="__proto__"&&on?on(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Fe(t,e){return t===e||t!=t&&e!=e}var ca=Object.prototype.hasOwnProperty;function In(t,e,n){var r=t[e];ca.call(t,e)&&Fe(r,n)&&(n!==void 0||e in t)||yr(t,e,n)}function or(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?yr(n,a,c):In(n,a,c)}return n}var Zr=Math.max;function vr(t,e){return oa((function(n,r,i){return r=Zr(r===void 0?n.length-1:r,0),function(){for(var o=arguments,s=-1,a=Zr(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,fe),t+"")}function Nr(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=9007199254740991}function Pt(t){return t!=null&&Nr(t.length)&&!Vt(t)}function xo(t,e,n){if(!At(n))return!1;var r=typeof e;return!!(r=="number"?Pt(n)&&An(e,n.length):r=="string"&&e in n)&&Fe(n[e],t)}var ua=Object.prototype;function De(t){var e=t&&t.constructor;return t===(typeof e=="function"&&e.prototype||ua)}function Qr(t){return Rt(t)&&qt(t)=="[object Arguments]"}var Co=Object.prototype,la=Co.hasOwnProperty,ha=Co.propertyIsEnumerable,yn=Qr((function(){return arguments})())?Qr:function(t){return Rt(t)&&la.call(t,"callee")&&!ha.call(t,"callee")},ko=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Jr=ko&&typeof module=="object"&&module&&!module.nodeType&&module,ti=Jr&&Jr.exports===ko?bt.Buffer:void 0,be=(ti?ti.isBuffer:void 0)||function(){return!1},z={};function vn(t){return function(e){return t(e)}}z["[object Float32Array]"]=z["[object Float64Array]"]=z["[object Int8Array]"]=z["[object Int16Array]"]=z["[object Int32Array]"]=z["[object Uint8Array]"]=z["[object Uint8ClampedArray]"]=z["[object Uint16Array]"]=z["[object Uint32Array]"]=!0,z["[object Arguments]"]=z["[object Array]"]=z["[object ArrayBuffer]"]=z["[object Boolean]"]=z["[object DataView]"]=z["[object Date]"]=z["[object Error]"]=z["[object Function]"]=z["[object Map]"]=z["[object Number]"]=z["[object Object]"]=z["[object RegExp]"]=z["[object Set]"]=z["[object String]"]=z["[object WeakMap]"]=!1;var bo=typeof exports=="object"&&exports&&!exports.nodeType&&exports,_e=bo&&typeof module=="object"&&module&&!module.nodeType&&module,wn=_e&&_e.exports===bo&&No.process,Yt=(function(){try{var t=_e&&_e.require&&_e.require("util").types;return t||wn&&wn.binding&&wn.binding("util")}catch{}})(),ei=Yt&&Yt.isTypedArray,Rr=ei?vn(ei):function(t){return Rt(t)&&Nr(t.length)&&!!z[qt(t)]},fa=Object.prototype.hasOwnProperty;function Po(t,e){var n=D(t),r=!n&&yn(t),i=!n&&!r&&be(t),o=!n&&!r&&!i&&Rr(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&&!fa.call(t,u)||s&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||An(u,c))||a.push(u);return a}function wo(t,e){return function(n){return t(e(n))}}var da=wo(Object.keys,Object),pa=Object.prototype.hasOwnProperty;function Mo(t){if(!De(t))return da(t);var e=[];for(var n in Object(t))pa.call(t,n)&&n!="constructor"&&e.push(n);return e}function It(t){return Pt(t)?Po(t):Mo(t)}var Mn,ma=Object.prototype.hasOwnProperty,ft=(Mn=function(t,e){if(De(e)||Pt(e))or(e,It(e),t);else for(var n in e)ma.call(e,n)&&In(t,n,e[n])},vr(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=Mn.length>3&&typeof i=="function"?(r--,i):void 0,o&&xo(e[0],e[1],o)&&(i=r<3?void 0:i,r=1),t=Object(t);++n<r;){var s=e[n];s&&Mn(t,s,n,i)}return t})),Ea=Object.prototype.hasOwnProperty;function ga(t){if(!At(t))return(function(i){var o=[];if(i!=null)for(var s in Object(i))o.push(s);return o})(t);var e=De(t),n=[];for(var r in t)(r!="constructor"||!e&&Ea.call(t,r))&&n.push(r);return n}function Uo(t){return Pt(t)?Po(t,!0):ga(t)}var Ta=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Aa=/^\w*$/;function Or(t,e){if(D(t))return!1;var n=typeof t;return!(n!="number"&&n!="symbol"&&n!="boolean"&&t!=null&&!En(t))||Aa.test(t)||!Ta.test(t)||e!=null&&t in Object(e)}var Ae=ie(Object,"create"),Ia=Object.prototype.hasOwnProperty,ya=Object.prototype.hasOwnProperty;function Jt(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 We(t,e){for(var n=t.length;n--;)if(Fe(t[n][0],e))return n;return-1}Jt.prototype.clear=function(){this.__data__=Ae?Ae(null):{},this.size=0},Jt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Jt.prototype.get=function(t){var e=this.__data__;if(Ae){var n=e[t];return n==="__lodash_hash_undefined__"?void 0:n}return Ia.call(e,t)?e[t]:void 0},Jt.prototype.has=function(t){var e=this.__data__;return Ae?e[t]!==void 0:ya.call(e,t)},Jt.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Ae&&e===void 0?"__lodash_hash_undefined__":e,this};var va=Array.prototype.splice;function Wt(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])}}Wt.prototype.clear=function(){this.__data__=[],this.size=0},Wt.prototype.delete=function(t){var e=this.__data__,n=We(e,t);return!(n<0)&&(n==e.length-1?e.pop():va.call(e,n,1),--this.size,!0)},Wt.prototype.get=function(t){var e=this.__data__,n=We(e,t);return n<0?void 0:e[n][1]},Wt.prototype.has=function(t){return We(this.__data__,t)>-1},Wt.prototype.set=function(t,e){var n=this.__data__,r=We(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};var Pe=ie(bt,"Map");function Ge(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 Gt(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])}}Gt.prototype.clear=function(){this.size=0,this.__data__={hash:new Jt,map:new(Pe||Wt),string:new Jt}},Gt.prototype.delete=function(t){var e=Ge(this,t).delete(t);return this.size-=e?1:0,e},Gt.prototype.get=function(t){return Ge(this,t).get(t)},Gt.prototype.has=function(t){return Ge(this,t).has(t)},Gt.prototype.set=function(t,e){var n=Ge(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function Sr(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(Sr.Cache||Gt),n}Sr.Cache=Gt;var Na=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ra=/\\(\\)?/g,Oa=(function(t){var e=Sr(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(Na,function(n,r,i,o){e.push(i?o.replace(Ra,"$1"):r||n)}),e});function Nn(t,e){return D(t)?t:Or(t,e)?[t]:Oa((function(n){return n==null?"":Oo(n)})(t))}function je(t){if(typeof t=="string"||En(t))return t;var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function _r(t,e){for(var n=0,r=(e=Nn(e,t)).length;t!=null&&n<r;)t=t[je(e[n++])];return n&&n==r?t:void 0}function Lr(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}var ni=Tt?Tt.isConcatSpreadable:void 0;function Sa(t){return D(t)||yn(t)||!!(ni&&t&&t[ni])}function xr(t,e,n,r,i){var o=-1,s=t.length;for(n||(n=Sa),i||(i=[]);++o<s;){var a=t[o];n(a)?Lr(i,a):r||(i[i.length]=a)}return i}function vt(t){return t!=null&&t.length?xr(t):[]}var Fo=wo(Object.getPrototypeOf,Object);function Do(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 _a(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 Ct(t){var e=this.__data__=new Wt(t);this.size=e.size}Ct.prototype.clear=function(){this.__data__=new Wt,this.size=0},Ct.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Ct.prototype.get=function(t){return this.__data__.get(t)},Ct.prototype.has=function(t){return this.__data__.has(t)},Ct.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Wt){var r=n.__data__;if(!Pe||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Gt(r)}return n.set(t,e),this.size=n.size,this};var jo=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ri=jo&&typeof module=="object"&&module&&!module.nodeType&&module,ii=ri&&ri.exports===jo?bt.Buffer:void 0,oi=ii?ii.allocUnsafe:void 0;function Cr(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 Bo(){return[]}var La=Object.prototype.propertyIsEnumerable,si=Object.getOwnPropertySymbols,kr=si?function(t){return t==null?[]:(t=Object(t),Cr(si(t),function(e){return La.call(t,e)}))}:Bo,xa=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Lr(e,kr(t)),t=Fo(t);return e}:Bo;function $o(t,e,n){var r=e(t);return D(t)?r:Lr(r,n(t))}function sr(t){return $o(t,It,kr)}var ar=ie(bt,"DataView"),cr=ie(bt,"Promise"),le=ie(bt,"Set"),ai="[object Map]",ci="[object Promise]",ui="[object Set]",li="[object WeakMap]",hi="[object DataView]",Ca=re(ar),ka=re(Pe),ba=re(cr),Pa=re(le),wa=re(ir),Et=qt;(ar&&Et(new ar(new ArrayBuffer(1)))!=hi||Pe&&Et(new Pe)!=ai||cr&&Et(cr.resolve())!=ci||le&&Et(new le)!=ui||ir&&Et(new ir)!=li)&&(Et=function(t){var e=qt(t),n=e=="[object Object]"?t.constructor:void 0,r=n?re(n):"";if(r)switch(r){case Ca:return hi;case ka:return ai;case ba:return ci;case Pa:return ui;case wa:return li}return e});var Ma=Object.prototype.hasOwnProperty,sn=bt.Uint8Array,Ua=/\w*$/,fi=Tt?Tt.prototype:void 0,di=fi?fi.valueOf:void 0;function Fa(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 sn(a).set(new sn(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,Ua.exec(u));return l.lastIndex=u.lastIndex,l})(t);case"[object Symbol]":return r=t,di?Object(di.call(r)):{}}}var pi=Yt&&Yt.isMap,Da=pi?vn(pi):function(t){return Rt(t)&&Et(t)=="[object Map]"},mi=Yt&&Yt.isSet,ja=mi?vn(mi):function(t){return Rt(t)&&Et(t)=="[object Set]"},Wo="[object Arguments]",Go="[object Function]",Ko="[object Object]",W={};function Ze(t,e,n,r,i,o){var s;if(s!==void 0)return s;if(!At(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"&&Ma.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=Et(t),u=c==Go||c=="[object GeneratorFunction]";if(be(t))return(function(f){var d=f.length,E=oi?oi(d):new f.constructor(d);return f.copy(E),E})(t);if(c==Ko||c==Wo||u&&!i)return s=u?{}:(function(f){return typeof f.constructor!="function"||De(f)?{}:na(Fo(f))})(t),(function(f,d){return or(f,kr(f),d)})(t,(function(f,d){return f&&or(d,It(d),f)})(s,t));if(!W[c])return i?t:{};s=Fa(t,c),o||(o=new Ct);var l=o.get(t);if(l)return l;o.set(t,s),ja(t)?t.forEach(function(f){s.add(Ze(f,e,n,f,t,o))}):Da(t)&&t.forEach(function(f,d){s.set(d,Ze(f,e,n,d,t,o))});var h=a?void 0:sr(t);return So(h||t,function(f,d){h&&(f=t[d=f]),In(s,d,Ze(f,e,n,d,t,o))}),s}W[Wo]=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[Ko]=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[Go]=W["[object WeakMap]"]=!1;function nt(t){return Ze(t,4)}function Be(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 he(t){var e=-1,n=t==null?0:t.length;for(this.__data__=new Gt;++e<n;)this.add(t[e])}function zo(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 br(t,e){return t.has(e)}he.prototype.add=he.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},he.prototype.has=function(t){return this.__data__.has(t)};function Ei(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 he:void 0;for(o.set(t,e),o.set(e,t);++h<a;){var E=t[h],I=e[h];if(r)var S=s?r(I,E,h,e,t,o):r(E,I,h,t,e,o);if(S!==void 0){if(S)continue;f=!1;break}if(d){if(!zo(e,function(T,m){if(!br(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 Ba(t){var e=-1,n=Array(t.size);return t.forEach(function(r,i){n[++e]=[i,r]}),n}function Pr(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}var gi=Tt?Tt.prototype:void 0,Un=gi?gi.valueOf:void 0,$a=Object.prototype.hasOwnProperty,Ti="[object Arguments]",Ai="[object Array]",Ke="[object Object]",Ii=Object.prototype.hasOwnProperty;function Wa(t,e,n,r,i,o){var s=D(t),a=D(e),c=s?Ai:Et(t),u=a?Ai:Et(e),l=(c=c==Ti?Ke:c)==Ke,h=(u=u==Ti?Ke:u)==Ke,f=c==u;if(f&&be(t)){if(!be(e))return!1;s=!0,l=!1}if(f&&!l)return o||(o=new Ct),s||Rr(t)?Ei(t,e,n,r,i,o):(function(T,m,p,A,O,g,R){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 sn(T),new sn(m)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Fe(+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 v=Ba;case"[object Set]":var y=1&A;if(v||(v=Pr),T.size!=m.size&&!y)return!1;var N=R.get(T);if(N)return N==m;A|=2,R.set(T,m);var U=Ei(v(T),v(m),A,O,g,R);return R.delete(T),U;case"[object Symbol]":if(Un)return Un.call(T)==Un.call(m)}return!1})(t,e,c,n,r,i,o);if(!(1&n)){var d=l&&Ii.call(t,"__wrapped__"),E=h&&Ii.call(e,"__wrapped__");if(d||E){var I=d?t.value():t,S=E?e.value():e;return o||(o=new Ct),i(I,S,n,r,o)}}return!!f&&(o||(o=new Ct),(function(T,m,p,A,O,g){var R=1&p,v=sr(T),y=v.length;if(y!=sr(m).length&&!R)return!1;for(var N=y;N--;){var U=v[N];if(!(R?U in m:$a.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 x=R;++N<y;){var C=T[U=v[N]],j=m[U];if(A)var q=R?A(j,C,U,m,T,g):A(C,j,U,T,m,g);if(!(q===void 0?C===j||O(C,j,p,A,g):q)){$=!1;break}x||(x=U=="constructor")}if($&&!x){var B=T.constructor,rt=m.constructor;B==rt||!("constructor"in T)||!("constructor"in m)||typeof B=="function"&&B instanceof B&&typeof rt=="function"&&rt instanceof rt||($=!1)}return g.delete(T),g.delete(m),$})(t,e,n,r,i,o))}function wr(t,e,n,r,i){return t===e||(t==null||e==null||!Rt(t)&&!Rt(e)?t!=t&&e!=e:Wa(t,e,n,r,wr,i))}function Vo(t){return t==t&&!At(t)}function Ho(t,e){return function(n){return n!=null&&n[t]===e&&(e!==void 0||t in Object(n))}}function Ga(t){var e=(function(n){for(var r=It(n),i=r.length;i--;){var o=r[i],s=n[o];r[i]=[o,s,Vo(s)]}return r})(t);return e.length==1&&e[0][2]?Ho(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(!wr(f,h,3,s,new Ct))return!1}return!0})(n,0,e)}}function Ka(t,e){return t!=null&&e in Object(t)}function Yo(t,e,n){for(var r=-1,i=(e=Nn(e,t)).length,o=!1;++r<i;){var s=je(e[r]);if(!(o=t!=null&&n(t,s)))break;t=t[s]}return o||++r!=i?o:!!(i=t==null?0:t.length)&&Nr(i)&&An(s,i)&&(D(t)||yn(t))}function za(t,e){return Or(t)&&Vo(e)?Ho(je(t),e):function(n){var r=(function(i,o,s){var a=i==null?void 0:_r(i,o);return a===void 0?s:a})(n,t);return r===void 0&&r===e?(function(i,o){return i!=null&&Yo(i,o,Ka)})(n,t):wr(e,r,3)}}function Va(t){return Or(t)?(e=je(t),function(n){return n?.[e]}):(function(n){return function(r){return _r(r,n)}})(t);var e}function kt(t){return typeof t=="function"?t:t==null?fe:typeof t=="object"?D(t)?za(t[0],t[1]):Ga(t):Va(t)}function Ha(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 Ya=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},yi,oe=(yi=function(t,e){return t&&Ya(t,e,It)},function(t,e){if(t==null)return t;if(!Pt(t))return yi(t,e);for(var n=t.length,r=-1,i=Object(t);++r<n&&e(i[r],r,i)!==!1;);return t});function Xa(t,e,n,r){return oe(t,function(i,o,s){e(r,i,n(i),s)}),r}var Xo=Object.prototype,qa=Xo.hasOwnProperty,Mr=vr(function(t,e){t=Object(t);var n=-1,r=e.length,i=r>2?e[2]:void 0;for(i&&xo(e[0],e[1],i)&&(r=1);++n<r;)for(var o=e[n],s=Uo(o),a=-1,c=s.length;++a<c;){var u=s[a],l=t[u];(l===void 0||Fe(l,Xo[u])&&!qa.call(t,u))&&(t[u]=o[u])}return t});function vi(t){return Rt(t)&&Pt(t)}var an=vr(function(t,e){return vi(t)?(function(n,r,i,o){var s=-1,a=Lo,c=!0,u=n.length,l=[],h=r.length;if(!u)return l;r.length>=200&&(a=br,c=!1,r=new he(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,xr(e,0,vi,!0)):[]});function de(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}function et(t,e,n){var r=t==null?0:t.length;return r?Do(t,(e=e===void 0?1:Tn(e))<0?0:e,r):[]}function we(t,e,n){var r=t==null?0:t.length;return r?Do(t,0,(e=r-(e=e===void 0?1:Tn(e)))<0?0:e):[]}function k(t,e){var n;return(D(t)?So:oe)(t,typeof(n=e)=="function"?n:fe)}function Za(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 oe(t,function(r,i,o){return n=!!e(r,i,o)}),n}function Nt(t,e,n){return(D(t)?Za:Qa)(t,kt(e))}function qo(t,e){var n=[];return oe(t,function(r,i,o){e(r,i,o)&&n.push(r)}),n}function mt(t,e){return(D(t)?Cr:qo)(t,kt(e))}var Ja=Math.max,Ni,pe=(Ni=function(t,e,n){var r=t==null?0:t.length;if(!r)return-1;var i=n==null?0:Tn(n);return i<0&&(i=Ja(r+i,0)),_o(t,kt(e),i)},function(t,e,n){var r=Object(t);if(!Pt(t)){var i=kt(e);t=It(t),e=function(s){return i(r[s],s,r)}}var o=Ni(t,e,n);return o>-1?r[i?t[o]:o]:void 0});function Ot(t){return t&&t.length?t[0]:void 0}function tc(t,e){var n=-1,r=Pt(t)?Array(t.length):[];return oe(t,function(i,o,s){r[++n]=e(i,o,s)}),r}function _(t,e){return(D(t)?gn:tc)(t,kt(e))}function gt(t,e){return xr(_(t,e))}var Ri,Oi,ec=Object.prototype.hasOwnProperty,nc=(Ri=function(t,e,n){ec.call(t,n)?t[n].push(e):yr(t,n,[e])},function(t,e){var n=D(t)?Ha:Xa,r=Oi?Oi():{};return n(t,Ri,kt(e),r)}),rc=Object.prototype.hasOwnProperty;function ic(t,e){return t!=null&&rc.call(t,e)}function L(t,e){return t!=null&&Yo(t,e,ic)}function ut(t){return typeof t=="string"||!D(t)&&Rt(t)&&qt(t)=="[object String]"}function J(t){return t==null?[]:(function(e,n){return gn(n,function(r){return e[r]})})(t,It(t))}var oc=Math.max;function st(t,e,n,r){t=Pt(t)?t:J(t),n=n?Tn(n):0;var i=t.length;return n<0&&(n=oc(i+n,0)),ut(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&Ir(t,e,n)>-1}function Si(t,e,n){return t!=null&&t.length?Ir(t,e,0):-1}var sc=Object.prototype.hasOwnProperty;function K(t){if(t==null)return!0;if(Pt(t)&&(D(t)||typeof t=="string"||typeof t.splice=="function"||be(t)||Rr(t)||yn(t)))return!t.length;var e=Et(t);if(e=="[object Map]"||e=="[object Set]")return!t.size;if(De(t))return!Mo(t).length;for(var n in t)if(sc.call(t,n))return!1;return!0}var _i=Yt&&Yt.isRegExp,Kt=_i?vn(_i):function(t){return Rt(t)&&qt(t)=="[object RegExp]"};function zt(t){return t===void 0}function ac(t,e,n,r){if(!At(t))return t;for(var i=-1,o=(e=Nn(e,t)).length,s=o-1,a=t;a!=null&&++i<o;){var c=je(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=At(l)?l:An(e[i+1])?[]:{})}In(a,c,u),a=a[c]}return t}function St(t,e){if(t==null)return{};var n=gn((function(r){return $o(r,Uo,xa)})(t),function(r){return[r]});return e=kt(e),(function(r,i,o){for(var s=-1,a=i.length,c={};++s<a;){var u=i[s],l=_r(r,u);o(l,u)&&ac(c,Nn(u,r),l)}return c})(t,n,function(r,i){return e(r,i[0])})}function cc(t,e,n,r,i){return i(t,function(o,s,a){n=r?(r=!1,o):e(n,o,s,a)}),n}function dt(t,e,n){var r=D(t)?_a:cc,i=arguments.length<3;return r(t,kt(e),n,i,oe)}function Rn(t,e){return(D(t)?Cr:qo)(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)}})(kt(e)))}function uc(t,e){var n;return oe(t,function(r,i,o){return!(n=e(r,i,o))}),!!n}function Zo(t,e,n){return(D(t)?zo:uc)(t,kt(e))}var lc=le&&1/Pr(new le([,-0]))[1]==1/0?function(t){return new le(t)}:Q;function ur(t){return t&&t.length?(function(e,n,r){var i=-1,o=Lo,s=e.length,a=!0,c=[],u=c;if(s>=200){var l=lc(e);if(l)return Pr(l);a=!1,o=br,u=new he}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 lr(t){console&&console.error&&console.error(`Error: ${t}`)}function Qo(t){console&&console.warn&&console.warn(`Warning: ${t}`)}function Jo(t){const e=new Date().getTime(),n=t();return{time:new Date().getTime()-e,value:n}}function ts(t){function e(){}e.prototype=t;const n=new e;function r(){return typeof n.bar}return r(),r(),t}function hc(t){return ut((e=t).LABEL)&&e.LABEL!==""?t.LABEL:t.name;var e}class wt{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){this._definition=e}accept(e){e.visit(this),k(this.definition,n=>{n.accept(e)})}}class pt extends wt{constructor(e){super([]),this.idx=1,ft(this,St(e,n=>n!==void 0))}set definition(e){}get definition(){return this.referencedRule!==void 0?this.referencedRule.definition:[]}accept(e){e.visit(this)}}class me extends wt{constructor(e){super(e.definition),this.orgText="",ft(this,St(e,n=>n!==void 0))}}class ht extends wt{constructor(e){super(e.definition),this.ignoreAmbiguities=!1,ft(this,St(e,n=>n!==void 0))}}class lt extends wt{constructor(e){super(e.definition),this.idx=1,ft(this,St(e,n=>n!==void 0))}}class Mt extends wt{constructor(e){super(e.definition),this.idx=1,ft(this,St(e,n=>n!==void 0))}}class Ut extends wt{constructor(e){super(e.definition),this.idx=1,ft(this,St(e,n=>n!==void 0))}}class tt extends wt{constructor(e){super(e.definition),this.idx=1,ft(this,St(e,n=>n!==void 0))}}class _t extends wt{constructor(e){super(e.definition),this.idx=1,ft(this,St(e,n=>n!==void 0))}}class Lt extends wt{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,ft(this,St(e,n=>n!==void 0))}}class V{constructor(e){this.idx=1,ft(this,St(e,n=>n!==void 0))}accept(e){e.visit(this)}}function Qe(t){function e(n){return _(n,Qe)}if(t instanceof pt){const n={type:"NonTerminal",name:t.nonTerminalName,idx:t.idx};return ut(t.label)&&(n.label=t.label),n}if(t instanceof ht)return{type:"Alternative",definition:e(t.definition)};if(t instanceof lt)return{type:"Option",idx:t.idx,definition:e(t.definition)};if(t instanceof Mt)return{type:"RepetitionMandatory",idx:t.idx,definition:e(t.definition)};if(t instanceof Ut)return{type:"RepetitionMandatoryWithSeparator",idx:t.idx,separator:Qe(new V({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof _t)return{type:"RepetitionWithSeparator",idx:t.idx,separator:Qe(new V({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof tt)return{type:"Repetition",idx:t.idx,definition:e(t.definition)};if(t instanceof Lt)return{type:"Alternation",idx:t.idx,definition:e(t.definition)};if(t instanceof V){const n={type:"Terminal",name:t.terminalType.name,label:hc(t.terminalType),idx:t.idx};ut(t.label)&&(n.terminalLabel=t.label);const r=t.terminalType.PATTERN;return t.terminalType.PATTERN&&(n.pattern=Kt(r)?r.source:r),n}if(t instanceof me)return{type:"Rule",name:t.name,orgText:t.orgText,definition:e(t.definition)};throw Error("non exhaustive match")}class Ee{visit(e){const n=e;switch(n.constructor){case pt:return this.visitNonTerminal(n);case ht:return this.visitAlternative(n);case lt:return this.visitOption(n);case Mt:return this.visitRepetitionMandatory(n);case Ut:return this.visitRepetitionMandatoryWithSeparator(n);case _t:return this.visitRepetitionWithSeparator(n);case tt:return this.visitRepetition(n);case Lt:return this.visitAlternation(n);case V:return this.visitTerminal(n);case me: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 cn(t,e=[]){return t instanceof lt||t instanceof tt||t instanceof _t||(t instanceof Lt?Zo(t.definition,n=>cn(n,e)):!(t instanceof pt&&st(e,t))&&t instanceof wt&&(t instanceof pt&&e.push(t),Nt(t.definition,n=>cn(n,e))))}function xt(t){if(t instanceof pt)return"SUBRULE";if(t instanceof lt)return"OPTION";if(t instanceof Lt)return"OR";if(t instanceof Mt)return"AT_LEAST_ONE";if(t instanceof Ut)return"AT_LEAST_ONE_SEP";if(t instanceof _t)return"MANY_SEP";if(t instanceof tt)return"MANY";if(t instanceof V)return"CONSUME";throw Error("non exhaustive match")}class On{walk(e,n=[]){k(e.definition,(r,i)=>{const o=et(e.definition,i+1);if(r instanceof pt)this.walkProdRef(r,o,n);else if(r instanceof V)this.walkTerminal(r,o,n);else if(r instanceof ht)this.walkFlat(r,o,n);else if(r instanceof lt)this.walkOption(r,o,n);else if(r instanceof Mt)this.walkAtLeastOne(r,o,n);else if(r instanceof Ut)this.walkAtLeastOneSep(r,o,n);else if(r instanceof _t)this.walkManySep(r,o,n);else if(r instanceof tt)this.walkMany(r,o,n);else{if(!(r instanceof Lt))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 lt({definition:e.definition})].concat(n,r);this.walk(e,i)}walkAtLeastOneSep(e,n,r){const i=Li(e,n,r);this.walk(e,i)}walkMany(e,n,r){const i=[new lt({definition:e.definition})].concat(n,r);this.walk(e,i)}walkManySep(e,n,r){const i=Li(e,n,r);this.walk(e,i)}walkOr(e,n,r){const i=n.concat(r);k(e.definition,o=>{const s=new ht({definition:[o]});this.walk(s,i)})}}function Li(t,e,n){return[new lt({definition:[new V({terminalType:t.separator})].concat(t.definition)})].concat(e,n)}function Le(t){if(t instanceof pt)return Le(t.referencedRule);if(t instanceof V)return[t.terminalType];if((function(e){return e instanceof ht||e instanceof lt||e instanceof tt||e instanceof Mt||e instanceof Ut||e instanceof _t||e instanceof V||e instanceof me})(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=cn(i),n=n.concat(Le(i)),o+=1,s=r.length>o;return ur(n)})(t);if((function(e){return e instanceof Lt})(t))return(function(e){const n=_(e.definition,r=>Le(r));return ur(vt(n))})(t);throw Error("non exhaustive match")}const es="_~IN~_";class fc extends On{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+es+this.topProd.name);var o,s;const a=n.concat(r),c=Le(new ht({definition:a}));this.follows[i]=c}}function b(t){return t.charCodeAt(0)}function Fn(t,e){Array.isArray(t)?t.forEach(function(n){e.push(n)}):e.push(t)}function Ie(t,e){if(t[e]===!0)throw"duplicate flag "+e;t[e],t[e]=!0}function se(t){if(t===void 0)throw Error("Internal Error - Should never get here!");return!0}function xi(t){return t.type==="Character"}const un=[];for(let t=b("0");t<=b("9");t++)un.push(t);const ln=[b("_")].concat(un);for(let t=b("a");t<=b("z");t++)ln.push(t);for(let t=b("A");t<=b("Z");t++)ln.push(t);const Ci=[b(" "),b("\f"),b(`
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const G=require("./DdaSifgClArXfbZj.cjs"),w=require("@sheetxl/primitives"),X=require("@sheetxl/utils");var No=typeof global=="object"&&global&&global.Object===Object&&global,Ms=typeof self=="object"&&self&&self.Object===Object&&self,bt=No||Ms||Function("return this")(),Tt=bt.Symbol,Ro=Object.prototype,Us=Ro.hasOwnProperty,Fs=Ro.toString,Te=Tt?Tt.toStringTag:void 0,Ds=Object.prototype.toString,Kr=Tt?Tt.toStringTag:void 0;function qt(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Kr&&Kr in Object(t)?(function(e){var n=Us.call(e,Te),r=e[Te];try{e[Te]=void 0;var i=!0}catch{}var o=Fs.call(e);return i&&(n?e[Te]=r:delete e[Te]),o})(t):(function(e){return Ds.call(e)})(t)}function Rt(t){return t!=null&&typeof t=="object"}function En(t){return typeof t=="symbol"||Rt(t)&&qt(t)=="[object Symbol]"}function gn(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,zr=Tt?Tt.prototype:void 0,Vr=zr?zr.toString:void 0;function Oo(t){if(typeof t=="string")return t;if(D(t))return gn(t,Oo)+"";if(En(t))return Vr?Vr.call(t):"";var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}var js=/\s/,Bs=/^\s+/;function $s(t){return t&&t.slice(0,(function(e){for(var n=e.length;n--&&js.test(e.charAt(n)););return n})(t)+1).replace(Bs,"")}function At(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Ws=/^[-+]0x[0-9a-f]+$/i,Gs=/^0b[01]+$/i,Ks=/^0o[0-7]+$/i,zs=parseInt,Vs=1/0;function Hs(t){return t?(t=(function(e){if(typeof e=="number")return e;if(En(e))return NaN;if(At(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=At(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=$s(e);var r=Gs.test(e);return r||Ks.test(e)?zs(e.slice(2),r?2:8):Ws.test(e)?NaN:+e})(t))===Vs||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:t===0?t:0}function Tn(t){var e=Hs(t),n=e%1;return e==e?n?e-n:e:0}function fe(t){return t}function Vt(t){if(!At(t))return!1;var e=qt(t);return e=="[object Function]"||e=="[object GeneratorFunction]"||e=="[object AsyncFunction]"||e=="[object Proxy]"}var Hr,kn=bt["__core-js_shared__"],Yr=(Hr=/[^.]+$/.exec(kn&&kn.keys&&kn.keys.IE_PROTO||""))?"Symbol(src)_1."+Hr:"",Ys=Function.prototype.toString;function re(t){if(t!=null){try{return Ys.call(t)}catch{}try{return t+""}catch{}}return""}var Xs=/^\[object .+?Constructor\]$/,qs=Function.prototype,Zs=Object.prototype,Qs=qs.toString,Js=Zs.hasOwnProperty,ta=RegExp("^"+Qs.call(Js).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ea(t){return!(!At(t)||(e=t,Yr&&Yr in e))&&(Vt(t)?ta:Xs).test(re(t));var e}function ie(t,e){var n=(function(r,i){return r?.[i]})(t,e);return ea(n)?n:void 0}var ir=ie(bt,"WeakMap"),Xr=Object.create,na=(function(){function t(){}return function(e){if(!At(e))return{};if(Xr)return Xr(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}})();function Q(){}var ra=Date.now,qr,bn,Pn,on=(function(){try{var t=ie(Object,"defineProperty");return t({},"",{}),t}catch{}})(),ia=on?function(t,e){return on(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:fe,oa=(qr=ia,bn=0,Pn=0,function(){var t=ra(),e=16-(t-Pn);if(Pn=t,e>0){if(++bn>=800)return arguments[0]}else bn=0;return qr.apply(void 0,arguments)});function So(t,e){for(var n=-1,r=t==null?0:t.length;++n<r&&e(t[n],n,t)!==!1;);return t}function _o(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 sa(t){return t!=t}function Ir(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):_o(t,sa,n)}function Lo(t,e){return!!(t!=null&&t.length)&&Ir(t,e,0)>-1}var aa=/^(?:0|[1-9]\d*)$/;function An(t,e){var n=typeof t;return!!(e=e??9007199254740991)&&(n=="number"||n!="symbol"&&aa.test(t))&&t>-1&&t%1==0&&t<e}function yr(t,e,n){e=="__proto__"&&on?on(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Fe(t,e){return t===e||t!=t&&e!=e}var ca=Object.prototype.hasOwnProperty;function In(t,e,n){var r=t[e];ca.call(t,e)&&Fe(r,n)&&(n!==void 0||e in t)||yr(t,e,n)}function or(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?yr(n,a,c):In(n,a,c)}return n}var Zr=Math.max;function vr(t,e){return oa((function(n,r,i){return r=Zr(r===void 0?n.length-1:r,0),function(){for(var o=arguments,s=-1,a=Zr(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,fe),t+"")}function Nr(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=9007199254740991}function Pt(t){return t!=null&&Nr(t.length)&&!Vt(t)}function xo(t,e,n){if(!At(n))return!1;var r=typeof e;return!!(r=="number"?Pt(n)&&An(e,n.length):r=="string"&&e in n)&&Fe(n[e],t)}var ua=Object.prototype;function De(t){var e=t&&t.constructor;return t===(typeof e=="function"&&e.prototype||ua)}function Qr(t){return Rt(t)&&qt(t)=="[object Arguments]"}var Co=Object.prototype,la=Co.hasOwnProperty,ha=Co.propertyIsEnumerable,yn=Qr((function(){return arguments})())?Qr:function(t){return Rt(t)&&la.call(t,"callee")&&!ha.call(t,"callee")},ko=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Jr=ko&&typeof module=="object"&&module&&!module.nodeType&&module,ti=Jr&&Jr.exports===ko?bt.Buffer:void 0,be=(ti?ti.isBuffer:void 0)||function(){return!1},z={};function vn(t){return function(e){return t(e)}}z["[object Float32Array]"]=z["[object Float64Array]"]=z["[object Int8Array]"]=z["[object Int16Array]"]=z["[object Int32Array]"]=z["[object Uint8Array]"]=z["[object Uint8ClampedArray]"]=z["[object Uint16Array]"]=z["[object Uint32Array]"]=!0,z["[object Arguments]"]=z["[object Array]"]=z["[object ArrayBuffer]"]=z["[object Boolean]"]=z["[object DataView]"]=z["[object Date]"]=z["[object Error]"]=z["[object Function]"]=z["[object Map]"]=z["[object Number]"]=z["[object Object]"]=z["[object RegExp]"]=z["[object Set]"]=z["[object String]"]=z["[object WeakMap]"]=!1;var bo=typeof exports=="object"&&exports&&!exports.nodeType&&exports,_e=bo&&typeof module=="object"&&module&&!module.nodeType&&module,wn=_e&&_e.exports===bo&&No.process,Yt=(function(){try{var t=_e&&_e.require&&_e.require("util").types;return t||wn&&wn.binding&&wn.binding("util")}catch{}})(),ei=Yt&&Yt.isTypedArray,Rr=ei?vn(ei):function(t){return Rt(t)&&Nr(t.length)&&!!z[qt(t)]},fa=Object.prototype.hasOwnProperty;function Po(t,e){var n=D(t),r=!n&&yn(t),i=!n&&!r&&be(t),o=!n&&!r&&!i&&Rr(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&&!fa.call(t,u)||s&&(u=="length"||i&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||An(u,c))||a.push(u);return a}function wo(t,e){return function(n){return t(e(n))}}var da=wo(Object.keys,Object),pa=Object.prototype.hasOwnProperty;function Mo(t){if(!De(t))return da(t);var e=[];for(var n in Object(t))pa.call(t,n)&&n!="constructor"&&e.push(n);return e}function It(t){return Pt(t)?Po(t):Mo(t)}var Mn,ma=Object.prototype.hasOwnProperty,ft=(Mn=function(t,e){if(De(e)||Pt(e))or(e,It(e),t);else for(var n in e)ma.call(e,n)&&In(t,n,e[n])},vr(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=Mn.length>3&&typeof i=="function"?(r--,i):void 0,o&&xo(e[0],e[1],o)&&(i=r<3?void 0:i,r=1),t=Object(t);++n<r;){var s=e[n];s&&Mn(t,s,n,i)}return t})),Ea=Object.prototype.hasOwnProperty;function ga(t){if(!At(t))return(function(i){var o=[];if(i!=null)for(var s in Object(i))o.push(s);return o})(t);var e=De(t),n=[];for(var r in t)(r!="constructor"||!e&&Ea.call(t,r))&&n.push(r);return n}function Uo(t){return Pt(t)?Po(t,!0):ga(t)}var Ta=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Aa=/^\w*$/;function Or(t,e){if(D(t))return!1;var n=typeof t;return!(n!="number"&&n!="symbol"&&n!="boolean"&&t!=null&&!En(t))||Aa.test(t)||!Ta.test(t)||e!=null&&t in Object(e)}var Ae=ie(Object,"create"),Ia=Object.prototype.hasOwnProperty,ya=Object.prototype.hasOwnProperty;function Jt(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 We(t,e){for(var n=t.length;n--;)if(Fe(t[n][0],e))return n;return-1}Jt.prototype.clear=function(){this.__data__=Ae?Ae(null):{},this.size=0},Jt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Jt.prototype.get=function(t){var e=this.__data__;if(Ae){var n=e[t];return n==="__lodash_hash_undefined__"?void 0:n}return Ia.call(e,t)?e[t]:void 0},Jt.prototype.has=function(t){var e=this.__data__;return Ae?e[t]!==void 0:ya.call(e,t)},Jt.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Ae&&e===void 0?"__lodash_hash_undefined__":e,this};var va=Array.prototype.splice;function Wt(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])}}Wt.prototype.clear=function(){this.__data__=[],this.size=0},Wt.prototype.delete=function(t){var e=this.__data__,n=We(e,t);return!(n<0)&&(n==e.length-1?e.pop():va.call(e,n,1),--this.size,!0)},Wt.prototype.get=function(t){var e=this.__data__,n=We(e,t);return n<0?void 0:e[n][1]},Wt.prototype.has=function(t){return We(this.__data__,t)>-1},Wt.prototype.set=function(t,e){var n=this.__data__,r=We(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};var Pe=ie(bt,"Map");function Ge(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 Gt(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])}}Gt.prototype.clear=function(){this.size=0,this.__data__={hash:new Jt,map:new(Pe||Wt),string:new Jt}},Gt.prototype.delete=function(t){var e=Ge(this,t).delete(t);return this.size-=e?1:0,e},Gt.prototype.get=function(t){return Ge(this,t).get(t)},Gt.prototype.has=function(t){return Ge(this,t).has(t)},Gt.prototype.set=function(t,e){var n=Ge(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function Sr(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(Sr.Cache||Gt),n}Sr.Cache=Gt;var Na=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ra=/\\(\\)?/g,Oa=(function(t){var e=Sr(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(Na,function(n,r,i,o){e.push(i?o.replace(Ra,"$1"):r||n)}),e});function Nn(t,e){return D(t)?t:Or(t,e)?[t]:Oa((function(n){return n==null?"":Oo(n)})(t))}function je(t){if(typeof t=="string"||En(t))return t;var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function _r(t,e){for(var n=0,r=(e=Nn(e,t)).length;t!=null&&n<r;)t=t[je(e[n++])];return n&&n==r?t:void 0}function Lr(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}var ni=Tt?Tt.isConcatSpreadable:void 0;function Sa(t){return D(t)||yn(t)||!!(ni&&t&&t[ni])}function xr(t,e,n,r,i){var o=-1,s=t.length;for(n||(n=Sa),i||(i=[]);++o<s;){var a=t[o];n(a)?Lr(i,a):r||(i[i.length]=a)}return i}function vt(t){return t!=null&&t.length?xr(t):[]}var Fo=wo(Object.getPrototypeOf,Object);function Do(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 _a(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 Ct(t){var e=this.__data__=new Wt(t);this.size=e.size}Ct.prototype.clear=function(){this.__data__=new Wt,this.size=0},Ct.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Ct.prototype.get=function(t){return this.__data__.get(t)},Ct.prototype.has=function(t){return this.__data__.has(t)},Ct.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Wt){var r=n.__data__;if(!Pe||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Gt(r)}return n.set(t,e),this.size=n.size,this};var jo=typeof exports=="object"&&exports&&!exports.nodeType&&exports,ri=jo&&typeof module=="object"&&module&&!module.nodeType&&module,ii=ri&&ri.exports===jo?bt.Buffer:void 0,oi=ii?ii.allocUnsafe:void 0;function Cr(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 Bo(){return[]}var La=Object.prototype.propertyIsEnumerable,si=Object.getOwnPropertySymbols,kr=si?function(t){return t==null?[]:(t=Object(t),Cr(si(t),function(e){return La.call(t,e)}))}:Bo,xa=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)Lr(e,kr(t)),t=Fo(t);return e}:Bo;function $o(t,e,n){var r=e(t);return D(t)?r:Lr(r,n(t))}function sr(t){return $o(t,It,kr)}var ar=ie(bt,"DataView"),cr=ie(bt,"Promise"),le=ie(bt,"Set"),ai="[object Map]",ci="[object Promise]",ui="[object Set]",li="[object WeakMap]",hi="[object DataView]",Ca=re(ar),ka=re(Pe),ba=re(cr),Pa=re(le),wa=re(ir),Et=qt;(ar&&Et(new ar(new ArrayBuffer(1)))!=hi||Pe&&Et(new Pe)!=ai||cr&&Et(cr.resolve())!=ci||le&&Et(new le)!=ui||ir&&Et(new ir)!=li)&&(Et=function(t){var e=qt(t),n=e=="[object Object]"?t.constructor:void 0,r=n?re(n):"";if(r)switch(r){case Ca:return hi;case ka:return ai;case ba:return ci;case Pa:return ui;case wa:return li}return e});var Ma=Object.prototype.hasOwnProperty,sn=bt.Uint8Array,Ua=/\w*$/,fi=Tt?Tt.prototype:void 0,di=fi?fi.valueOf:void 0;function Fa(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 sn(a).set(new sn(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,Ua.exec(u));return l.lastIndex=u.lastIndex,l})(t);case"[object Symbol]":return r=t,di?Object(di.call(r)):{}}}var pi=Yt&&Yt.isMap,Da=pi?vn(pi):function(t){return Rt(t)&&Et(t)=="[object Map]"},mi=Yt&&Yt.isSet,ja=mi?vn(mi):function(t){return Rt(t)&&Et(t)=="[object Set]"},Wo="[object Arguments]",Go="[object Function]",Ko="[object Object]",W={};function Ze(t,e,n,r,i,o){var s;if(s!==void 0)return s;if(!At(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"&&Ma.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=Et(t),u=c==Go||c=="[object GeneratorFunction]";if(be(t))return(function(f){var d=f.length,E=oi?oi(d):new f.constructor(d);return f.copy(E),E})(t);if(c==Ko||c==Wo||u&&!i)return s=u?{}:(function(f){return typeof f.constructor!="function"||De(f)?{}:na(Fo(f))})(t),(function(f,d){return or(f,kr(f),d)})(t,(function(f,d){return f&&or(d,It(d),f)})(s,t));if(!W[c])return i?t:{};s=Fa(t,c),o||(o=new Ct);var l=o.get(t);if(l)return l;o.set(t,s),ja(t)?t.forEach(function(f){s.add(Ze(f,e,n,f,t,o))}):Da(t)&&t.forEach(function(f,d){s.set(d,Ze(f,e,n,d,t,o))});var h=a?void 0:sr(t);return So(h||t,function(f,d){h&&(f=t[d=f]),In(s,d,Ze(f,e,n,d,t,o))}),s}W[Wo]=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[Ko]=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[Go]=W["[object WeakMap]"]=!1;function nt(t){return Ze(t,4)}function Be(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 he(t){var e=-1,n=t==null?0:t.length;for(this.__data__=new Gt;++e<n;)this.add(t[e])}function zo(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 br(t,e){return t.has(e)}he.prototype.add=he.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},he.prototype.has=function(t){return this.__data__.has(t)};function Ei(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 he:void 0;for(o.set(t,e),o.set(e,t);++h<a;){var E=t[h],I=e[h];if(r)var S=s?r(I,E,h,e,t,o):r(E,I,h,t,e,o);if(S!==void 0){if(S)continue;f=!1;break}if(d){if(!zo(e,function(T,m){if(!br(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 Ba(t){var e=-1,n=Array(t.size);return t.forEach(function(r,i){n[++e]=[i,r]}),n}function Pr(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}var gi=Tt?Tt.prototype:void 0,Un=gi?gi.valueOf:void 0,$a=Object.prototype.hasOwnProperty,Ti="[object Arguments]",Ai="[object Array]",Ke="[object Object]",Ii=Object.prototype.hasOwnProperty;function Wa(t,e,n,r,i,o){var s=D(t),a=D(e),c=s?Ai:Et(t),u=a?Ai:Et(e),l=(c=c==Ti?Ke:c)==Ke,h=(u=u==Ti?Ke:u)==Ke,f=c==u;if(f&&be(t)){if(!be(e))return!1;s=!0,l=!1}if(f&&!l)return o||(o=new Ct),s||Rr(t)?Ei(t,e,n,r,i,o):(function(T,m,p,A,O,g,R){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 sn(T),new sn(m)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Fe(+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 v=Ba;case"[object Set]":var y=1&A;if(v||(v=Pr),T.size!=m.size&&!y)return!1;var N=R.get(T);if(N)return N==m;A|=2,R.set(T,m);var U=Ei(v(T),v(m),A,O,g,R);return R.delete(T),U;case"[object Symbol]":if(Un)return Un.call(T)==Un.call(m)}return!1})(t,e,c,n,r,i,o);if(!(1&n)){var d=l&&Ii.call(t,"__wrapped__"),E=h&&Ii.call(e,"__wrapped__");if(d||E){var I=d?t.value():t,S=E?e.value():e;return o||(o=new Ct),i(I,S,n,r,o)}}return!!f&&(o||(o=new Ct),(function(T,m,p,A,O,g){var R=1&p,v=sr(T),y=v.length;if(y!=sr(m).length&&!R)return!1;for(var N=y;N--;){var U=v[N];if(!(R?U in m:$a.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 x=R;++N<y;){var C=T[U=v[N]],j=m[U];if(A)var q=R?A(j,C,U,m,T,g):A(C,j,U,T,m,g);if(!(q===void 0?C===j||O(C,j,p,A,g):q)){$=!1;break}x||(x=U=="constructor")}if($&&!x){var B=T.constructor,rt=m.constructor;B==rt||!("constructor"in T)||!("constructor"in m)||typeof B=="function"&&B instanceof B&&typeof rt=="function"&&rt instanceof rt||($=!1)}return g.delete(T),g.delete(m),$})(t,e,n,r,i,o))}function wr(t,e,n,r,i){return t===e||(t==null||e==null||!Rt(t)&&!Rt(e)?t!=t&&e!=e:Wa(t,e,n,r,wr,i))}function Vo(t){return t==t&&!At(t)}function Ho(t,e){return function(n){return n!=null&&n[t]===e&&(e!==void 0||t in Object(n))}}function Ga(t){var e=(function(n){for(var r=It(n),i=r.length;i--;){var o=r[i],s=n[o];r[i]=[o,s,Vo(s)]}return r})(t);return e.length==1&&e[0][2]?Ho(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(!wr(f,h,3,s,new Ct))return!1}return!0})(n,0,e)}}function Ka(t,e){return t!=null&&e in Object(t)}function Yo(t,e,n){for(var r=-1,i=(e=Nn(e,t)).length,o=!1;++r<i;){var s=je(e[r]);if(!(o=t!=null&&n(t,s)))break;t=t[s]}return o||++r!=i?o:!!(i=t==null?0:t.length)&&Nr(i)&&An(s,i)&&(D(t)||yn(t))}function za(t,e){return Or(t)&&Vo(e)?Ho(je(t),e):function(n){var r=(function(i,o,s){var a=i==null?void 0:_r(i,o);return a===void 0?s:a})(n,t);return r===void 0&&r===e?(function(i,o){return i!=null&&Yo(i,o,Ka)})(n,t):wr(e,r,3)}}function Va(t){return Or(t)?(e=je(t),function(n){return n?.[e]}):(function(n){return function(r){return _r(r,n)}})(t);var e}function kt(t){return typeof t=="function"?t:t==null?fe:typeof t=="object"?D(t)?za(t[0],t[1]):Ga(t):Va(t)}function Ha(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 Ya=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},yi,oe=(yi=function(t,e){return t&&Ya(t,e,It)},function(t,e){if(t==null)return t;if(!Pt(t))return yi(t,e);for(var n=t.length,r=-1,i=Object(t);++r<n&&e(i[r],r,i)!==!1;);return t});function Xa(t,e,n,r){return oe(t,function(i,o,s){e(r,i,n(i),s)}),r}var Xo=Object.prototype,qa=Xo.hasOwnProperty,Mr=vr(function(t,e){t=Object(t);var n=-1,r=e.length,i=r>2?e[2]:void 0;for(i&&xo(e[0],e[1],i)&&(r=1);++n<r;)for(var o=e[n],s=Uo(o),a=-1,c=s.length;++a<c;){var u=s[a],l=t[u];(l===void 0||Fe(l,Xo[u])&&!qa.call(t,u))&&(t[u]=o[u])}return t});function vi(t){return Rt(t)&&Pt(t)}var an=vr(function(t,e){return vi(t)?(function(n,r,i,o){var s=-1,a=Lo,c=!0,u=n.length,l=[],h=r.length;if(!u)return l;r.length>=200&&(a=br,c=!1,r=new he(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,xr(e,0,vi,!0)):[]});function de(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}function et(t,e,n){var r=t==null?0:t.length;return r?Do(t,(e=e===void 0?1:Tn(e))<0?0:e,r):[]}function we(t,e,n){var r=t==null?0:t.length;return r?Do(t,0,(e=r-(e=e===void 0?1:Tn(e)))<0?0:e):[]}function k(t,e){var n;return(D(t)?So:oe)(t,typeof(n=e)=="function"?n:fe)}function Za(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 oe(t,function(r,i,o){return n=!!e(r,i,o)}),n}function Nt(t,e,n){return(D(t)?Za:Qa)(t,kt(e))}function qo(t,e){var n=[];return oe(t,function(r,i,o){e(r,i,o)&&n.push(r)}),n}function mt(t,e){return(D(t)?Cr:qo)(t,kt(e))}var Ja=Math.max,Ni,pe=(Ni=function(t,e,n){var r=t==null?0:t.length;if(!r)return-1;var i=n==null?0:Tn(n);return i<0&&(i=Ja(r+i,0)),_o(t,kt(e),i)},function(t,e,n){var r=Object(t);if(!Pt(t)){var i=kt(e);t=It(t),e=function(s){return i(r[s],s,r)}}var o=Ni(t,e,n);return o>-1?r[i?t[o]:o]:void 0});function Ot(t){return t&&t.length?t[0]:void 0}function tc(t,e){var n=-1,r=Pt(t)?Array(t.length):[];return oe(t,function(i,o,s){r[++n]=e(i,o,s)}),r}function _(t,e){return(D(t)?gn:tc)(t,kt(e))}function gt(t,e){return xr(_(t,e))}var Ri,Oi,ec=Object.prototype.hasOwnProperty,nc=(Ri=function(t,e,n){ec.call(t,n)?t[n].push(e):yr(t,n,[e])},function(t,e){var n=D(t)?Ha:Xa,r=Oi?Oi():{};return n(t,Ri,kt(e),r)}),rc=Object.prototype.hasOwnProperty;function ic(t,e){return t!=null&&rc.call(t,e)}function L(t,e){return t!=null&&Yo(t,e,ic)}function ut(t){return typeof t=="string"||!D(t)&&Rt(t)&&qt(t)=="[object String]"}function J(t){return t==null?[]:(function(e,n){return gn(n,function(r){return e[r]})})(t,It(t))}var oc=Math.max;function st(t,e,n,r){t=Pt(t)?t:J(t),n=n?Tn(n):0;var i=t.length;return n<0&&(n=oc(i+n,0)),ut(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&Ir(t,e,n)>-1}function Si(t,e,n){return t!=null&&t.length?Ir(t,e,0):-1}var sc=Object.prototype.hasOwnProperty;function K(t){if(t==null)return!0;if(Pt(t)&&(D(t)||typeof t=="string"||typeof t.splice=="function"||be(t)||Rr(t)||yn(t)))return!t.length;var e=Et(t);if(e=="[object Map]"||e=="[object Set]")return!t.size;if(De(t))return!Mo(t).length;for(var n in t)if(sc.call(t,n))return!1;return!0}var _i=Yt&&Yt.isRegExp,Kt=_i?vn(_i):function(t){return Rt(t)&&qt(t)=="[object RegExp]"};function zt(t){return t===void 0}function ac(t,e,n,r){if(!At(t))return t;for(var i=-1,o=(e=Nn(e,t)).length,s=o-1,a=t;a!=null&&++i<o;){var c=je(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=At(l)?l:An(e[i+1])?[]:{})}In(a,c,u),a=a[c]}return t}function St(t,e){if(t==null)return{};var n=gn((function(r){return $o(r,Uo,xa)})(t),function(r){return[r]});return e=kt(e),(function(r,i,o){for(var s=-1,a=i.length,c={};++s<a;){var u=i[s],l=_r(r,u);o(l,u)&&ac(c,Nn(u,r),l)}return c})(t,n,function(r,i){return e(r,i[0])})}function cc(t,e,n,r,i){return i(t,function(o,s,a){n=r?(r=!1,o):e(n,o,s,a)}),n}function dt(t,e,n){var r=D(t)?_a:cc,i=arguments.length<3;return r(t,kt(e),n,i,oe)}function Rn(t,e){return(D(t)?Cr:qo)(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)}})(kt(e)))}function uc(t,e){var n;return oe(t,function(r,i,o){return!(n=e(r,i,o))}),!!n}function Zo(t,e,n){return(D(t)?zo:uc)(t,kt(e))}var lc=le&&1/Pr(new le([,-0]))[1]==1/0?function(t){return new le(t)}:Q;function ur(t){return t&&t.length?(function(e,n,r){var i=-1,o=Lo,s=e.length,a=!0,c=[],u=c;if(s>=200){var l=lc(e);if(l)return Pr(l);a=!1,o=br,u=new he}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 lr(t){console&&console.error&&console.error(`Error: ${t}`)}function Qo(t){console&&console.warn&&console.warn(`Warning: ${t}`)}function Jo(t){const e=new Date().getTime(),n=t();return{time:new Date().getTime()-e,value:n}}function ts(t){function e(){}e.prototype=t;const n=new e;function r(){return typeof n.bar}return r(),r(),t}function hc(t){return ut((e=t).LABEL)&&e.LABEL!==""?t.LABEL:t.name;var e}class wt{get definition(){return this._definition}set definition(e){this._definition=e}constructor(e){this._definition=e}accept(e){e.visit(this),k(this.definition,n=>{n.accept(e)})}}class pt extends wt{constructor(e){super([]),this.idx=1,ft(this,St(e,n=>n!==void 0))}set definition(e){}get definition(){return this.referencedRule!==void 0?this.referencedRule.definition:[]}accept(e){e.visit(this)}}class me extends wt{constructor(e){super(e.definition),this.orgText="",ft(this,St(e,n=>n!==void 0))}}class ht extends wt{constructor(e){super(e.definition),this.ignoreAmbiguities=!1,ft(this,St(e,n=>n!==void 0))}}class lt extends wt{constructor(e){super(e.definition),this.idx=1,ft(this,St(e,n=>n!==void 0))}}class Mt extends wt{constructor(e){super(e.definition),this.idx=1,ft(this,St(e,n=>n!==void 0))}}class Ut extends wt{constructor(e){super(e.definition),this.idx=1,ft(this,St(e,n=>n!==void 0))}}class tt extends wt{constructor(e){super(e.definition),this.idx=1,ft(this,St(e,n=>n!==void 0))}}class _t extends wt{constructor(e){super(e.definition),this.idx=1,ft(this,St(e,n=>n!==void 0))}}class Lt extends wt{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,ft(this,St(e,n=>n!==void 0))}}class V{constructor(e){this.idx=1,ft(this,St(e,n=>n!==void 0))}accept(e){e.visit(this)}}function Qe(t){function e(n){return _(n,Qe)}if(t instanceof pt){const n={type:"NonTerminal",name:t.nonTerminalName,idx:t.idx};return ut(t.label)&&(n.label=t.label),n}if(t instanceof ht)return{type:"Alternative",definition:e(t.definition)};if(t instanceof lt)return{type:"Option",idx:t.idx,definition:e(t.definition)};if(t instanceof Mt)return{type:"RepetitionMandatory",idx:t.idx,definition:e(t.definition)};if(t instanceof Ut)return{type:"RepetitionMandatoryWithSeparator",idx:t.idx,separator:Qe(new V({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof _t)return{type:"RepetitionWithSeparator",idx:t.idx,separator:Qe(new V({terminalType:t.separator})),definition:e(t.definition)};if(t instanceof tt)return{type:"Repetition",idx:t.idx,definition:e(t.definition)};if(t instanceof Lt)return{type:"Alternation",idx:t.idx,definition:e(t.definition)};if(t instanceof V){const n={type:"Terminal",name:t.terminalType.name,label:hc(t.terminalType),idx:t.idx};ut(t.label)&&(n.terminalLabel=t.label);const r=t.terminalType.PATTERN;return t.terminalType.PATTERN&&(n.pattern=Kt(r)?r.source:r),n}if(t instanceof me)return{type:"Rule",name:t.name,orgText:t.orgText,definition:e(t.definition)};throw Error("non exhaustive match")}class Ee{visit(e){const n=e;switch(n.constructor){case pt:return this.visitNonTerminal(n);case ht:return this.visitAlternative(n);case lt:return this.visitOption(n);case Mt:return this.visitRepetitionMandatory(n);case Ut:return this.visitRepetitionMandatoryWithSeparator(n);case _t:return this.visitRepetitionWithSeparator(n);case tt:return this.visitRepetition(n);case Lt:return this.visitAlternation(n);case V:return this.visitTerminal(n);case me: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 cn(t,e=[]){return t instanceof lt||t instanceof tt||t instanceof _t||(t instanceof Lt?Zo(t.definition,n=>cn(n,e)):!(t instanceof pt&&st(e,t))&&t instanceof wt&&(t instanceof pt&&e.push(t),Nt(t.definition,n=>cn(n,e))))}function xt(t){if(t instanceof pt)return"SUBRULE";if(t instanceof lt)return"OPTION";if(t instanceof Lt)return"OR";if(t instanceof Mt)return"AT_LEAST_ONE";if(t instanceof Ut)return"AT_LEAST_ONE_SEP";if(t instanceof _t)return"MANY_SEP";if(t instanceof tt)return"MANY";if(t instanceof V)return"CONSUME";throw Error("non exhaustive match")}class On{walk(e,n=[]){k(e.definition,(r,i)=>{const o=et(e.definition,i+1);if(r instanceof pt)this.walkProdRef(r,o,n);else if(r instanceof V)this.walkTerminal(r,o,n);else if(r instanceof ht)this.walkFlat(r,o,n);else if(r instanceof lt)this.walkOption(r,o,n);else if(r instanceof Mt)this.walkAtLeastOne(r,o,n);else if(r instanceof Ut)this.walkAtLeastOneSep(r,o,n);else if(r instanceof _t)this.walkManySep(r,o,n);else if(r instanceof tt)this.walkMany(r,o,n);else{if(!(r instanceof Lt))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 lt({definition:e.definition})].concat(n,r);this.walk(e,i)}walkAtLeastOneSep(e,n,r){const i=Li(e,n,r);this.walk(e,i)}walkMany(e,n,r){const i=[new lt({definition:e.definition})].concat(n,r);this.walk(e,i)}walkManySep(e,n,r){const i=Li(e,n,r);this.walk(e,i)}walkOr(e,n,r){const i=n.concat(r);k(e.definition,o=>{const s=new ht({definition:[o]});this.walk(s,i)})}}function Li(t,e,n){return[new lt({definition:[new V({terminalType:t.separator})].concat(t.definition)})].concat(e,n)}function Le(t){if(t instanceof pt)return Le(t.referencedRule);if(t instanceof V)return[t.terminalType];if((function(e){return e instanceof ht||e instanceof lt||e instanceof tt||e instanceof Mt||e instanceof Ut||e instanceof _t||e instanceof V||e instanceof me})(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=cn(i),n=n.concat(Le(i)),o+=1,s=r.length>o;return ur(n)})(t);if((function(e){return e instanceof Lt})(t))return(function(e){const n=_(e.definition,r=>Le(r));return ur(vt(n))})(t);throw Error("non exhaustive match")}const es="_~IN~_";class fc extends On{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+es+this.topProd.name);var o,s;const a=n.concat(r),c=Le(new ht({definition:a}));this.follows[i]=c}}function b(t){return t.charCodeAt(0)}function Fn(t,e){Array.isArray(t)?t.forEach(function(n){e.push(n)}):e.push(t)}function Ie(t,e){if(t[e]===!0)throw"duplicate flag "+e;t[e],t[e]=!0}function se(t){if(t===void 0)throw Error("Internal Error - Should never get here!");return!0}function xi(t){return t.type==="Character"}const un=[];for(let t=b("0");t<=b("9");t++)un.push(t);const ln=[b("_")].concat(un);for(let t=b("a");t<=b("z");t++)ln.push(t);for(let t=b("A");t<=b("Z");t++)ln.push(t);const Ci=[b(" "),b("\f"),b(`
7
7
  `),b("\r"),b(" "),b("\v"),b(" "),b(" "),b(" "),b(" "),b(" "),b(" "),b(" "),b(" "),b(" "),b(" "),b(" "),b(" "),b(" "),b(" "),b("\u2028"),b("\u2029"),b(" "),b(" "),b(" "),b("\uFEFF")],dc=/[0-9a-fA-F]/,ze=/[0-9]/,pc=/[1-9]/;class hr{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 Je={};const mc=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":Ie(n,"global");break;case"i":Ie(n,"ignoreCase");break;case"m":Ie(n,"multiLine");break;case"u":Ie(n,"unicode");break;case"y":Ie(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"}se(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;se(e)}if(t!==!0||e!==void 0)return se(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()),se(t))return t.loc=this.loc(e),this.isQuantifier()&&(t.quantifier=this.quantifier()),t}dotAll(){return this.consumeChar("."),{type:"Set",complement:!0,value:[b(`
8
8
  `),b("\r"),b("\u2028"),b("\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=un;break;case"D":t=un,e=!0;break;case"s":t=Ci;break;case"S":t=Ci,e=!0;break;case"w":t=ln;break;case"W":t=ln,e=!0}if(se(t))return{type:"Set",value:t,complement:e}}controlEscapeAtom(){let t;switch(this.popChar()){case"f":t=b("\f");break;case"n":t=b(`
9
9
  `);break;case"r":t=b("\r");break;case"t":t=b(" ");break;case"v":t=b("\v")}if(se(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:b("\0")}}hexEscapeSequenceAtom(){return this.consumeChar("x"),this.parseHexDigits(2)}regExpUnicodeEscapeSequenceAtom(){return this.consumeChar("u"),this.parseHexDigits(4)}identityEscapeAtom(){return{type:"Character",value:b(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.6.9
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
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.6.9
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
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.6.9
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
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.6.9
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
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.6.9
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
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.6.9
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
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.
@@ -0,0 +1,6 @@
1
+ "use strict";/**
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.default={ACCRINT:{s:"Returns the accrued interest for a security that pays periodic interest.",p:{issue:{d:"is the security's issue date, expressed as a serial date number"},firstInterest:{d:"is the security's first interest date, expressed as a serial date number"},settlement:{d:"is the security's settlement date, expressed as a serial date number"},rate:{d:"is the security's annual coupon rate"},par:{d:"is the security's par value"},frequency:{d:"is the number of coupon payments per year"},basis:{d:"is the type of day count basis to use",v:0},calcMethod:{d:"is a logical value: to accrued interest from issue date = TRUE; to calculate from last coupon payment date = FALSE",v:!0}}},ACCRINTM:{s:"Returns the accrued interest for a security that pays interest at maturity",p:{issue:{d:"is the security's issue date, expressed as a serial date number"},settlement:{d:"is the security's maturity date, expressed as a serial date number"},rate:{d:"is the security's annual coupon rate"},par:{d:"is the security's par value"},basis:{d:"is the type of day count basis to use",v:0}},h:"Unimplemented"},AMORLINC:{s:"Returns the prorated linear depreciation of an asset for each accounting period.",p:{cost:{d:"is the cost of the asset"},datePurchased:{d:"is the date the asset is purchased"},firstPeriod:{d:"is the date of the end of the first period"},salvarge:{d:"is the salvage value at the end of life of the asset."},period:{d:"is the period"},rate:{d:"is the rate of depreciation"},basis:{d:"year_basis : 0 for year of 360 days, 1 for actual, 3 for year of 365 days.",v:0}},h:"Unimplemented"},COUPDAYBS:{s:"Returns the number of days from the beginning of the coupon period to the settlement date",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},frequency:{d:"is the number of coupon payments per year"},basis:{d:"is the type of day count basis to use",v:0}},h:"Unimplemented"},COUPDAYS:{s:"Returns the number of days from the beginning of the coupon period to the settlement date",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},frequency:{d:"is the number of coupon payments per year"},basis:{d:"is the type of day count basis to use",v:0}}},COUPNCD:{s:"Returns the next coupon date after the settlement date",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},frequency:{d:"is the number of coupon payments per year"},basis:{d:"is the type of day count basis to use",v:0}},h:"Unimplemented"},COUPNUM:{s:"Returns the number of coupons payable between the settlement date and maturity date",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},frequency:{d:"is the number of coupon payments per year"},basis:{d:"is the type of day count basis to use",v:0}},h:"Unimplemented"},COUPPCD:{s:"Returns the previous coupon date before the settlement date",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},frequency:{d:"is the number of coupon payments per year"},basis:{d:"is the type of day count basis to use",v:0}},h:"Unimplemented"},CUMIPMT:{s:"Returns the cumulative interest paid between two periods",p:{rate:{d:"is the interest rate"},nper:{d:"is the total number of payment periods"},pv:{d:"is the present value of the investment"},startPeriod:{d:"is the first period in the calculation"},endPeriod:{d:"is the last period in the calculation"},type:{d:"is the timing of the payment"}}},CUMPRINC:{s:"Returns the cumulative principal paid on a loan between two periods",p:{rate:{d:"is the interest rate"},nper:{d:"is the total number of payment periods"},pv:{d:"is the present value of the investment"},startPeriod:{d:"is the first period in the calculation"},endPeriod:{d:"is the last period in the calculation"},type:{d:"is the timing of the payment"}}},DB:{s:"Returns the depreciation of an asset for a specified period using the fixed-declining balance method",p:{cost:{d:"is the initial cost of the asset"},salvage:{d:"is the salvage value at the end of the life of the asset"},life:{d:"is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset)"},period:{d:"is the period for which you want to calculate the depreciation. Period must use the same units as Life"},month:{d:"is the number of months in the first year",v:12}}},DDB:{s:"Returns the depreciation of an asset for a specified period using the double-declining balance method or some other method you specify",p:{cost:{d:"is the initial cost of the asset"},salvage:{d:"is the salvage value at the end of the life of the asset"},life:{d:"is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset)"},period:{d:"is the period for which you want to calculate the depreciation. Period must use the same units as Life"},factor:{d:"is the rate at which the balance declines",v:2}}},DISC:{s:"Returns the discount rate for a security",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},pr:{d:"is the security's price per $100 face value"},redemption:{d:"is the security's redemption value per $100 face value"},basis:{d:"is the type of day count basis to use",v:0}}},DOLLARDE:{s:"Converts a dollar price, expressed as a fraction, into a dollar price, expressed as a decimal number",p:{fractionalDollar:{d:"is a number expressed as a fraction"},fraction:{d:"is the integer to use in the denominator of the fraction"}}},DOLLARFR:{s:"Converts a dollar price, expressed as a decimal number, into a dollar price, expressed as a fraction",p:{decimalDollar:{d:"is a decimal number"},fraction:{d:"is the integer to use in the denominator of the fraction"}}},DURATION:{s:"Returns the annual duration of a security with periodic interest payments",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},coupon:{d:"is the security's annual coupon rate"},yld:{d:"is the security's annual yield"},frequency:{d:"is the number of coupon payments per year"},basis:{d:"is the type of day count basis to use",v:0}},h:"Unimplemented"},EFFECT:{s:"Returns the effective annual interest rate",p:{nominalRate:{d:"is the nominal interest rate"},npery:{d:"is the number of compounding periods per year"}}},FV:{s:"Returns the future value of an investment based on periodic, constant payments and a constant interest rate",p:{rate:{d:"is the interest rate"},nper:{d:"is the total number of payment periods"},pmt:{d:"is the payment made each period; it cannot change over the life of the investment"},pv:{d:"is the present value of the investment",v:0},type:{d:"Indicates when pmts are due.",v:0}}},FVSCHEDULE:{s:"Returns the future value of an initial principal after applying a series of compound interest rates",p:{principal:{d:"is the present value"},schedule:{d:"is an array of interest rates to apply"}}},INTRATE:{s:"Returns the interest rate for a fully invested security",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},investment:{d:"is the amount invested in the security"},redemption:{d:"is the amount to be received at maturity"},basis:{d:"is the type of day count basis to use",v:2}},h:"Unimplemented"},IPMT:{s:"Returns the interest payment for a given period for an investment, based on periodic, constant payments and a constant interest rate",p:{rate:{d:"is the interest rate"},per:{d:"is the period for which you want to find the interest and must be in the range 1 to Nper"},nper:{d:"is the total number of payment periods"},pv:{d:"is the present value of the investment"},fv:{d:"is the future value, or a cash balance you want to attain after the last payment is made",v:0},type:{d:"is a logical value representing the timing of payment: at the end of the period = 0, at the beginning of the period = 1",v:0}}},IRR:{s:"Returns the internal rate of return for a series of cash flows",p:{values:{d:"is an array or a reference to cells that contain numbers for which you want to calculate the internal rate of return"},guess:{d:"is a number that you guess is close to the result of IRR",v:.1}},h:"Unimplemented"},ISPMT:{s:"Returns the interest paid during a specific period of an investment",p:{rate:{d:"is the interest rate"},per:{d:"period for which you want to find the interest"},nper:{d:"number of payment periods in an investment"},pv:{d:"lump sum amount that a series of future payments is right now"}}},MDURATION:{s:"Returns the Macauley modified duration for a security with an assumed par value of $100",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},coupon:{d:"is the security's annual coupon rate"},yld:{d:"is the security's annual yield"},frequency:{d:"is the number of coupon payments per year"},basis:{d:"is the type of day count basis to use",v:2}},h:"Unimplemented"},MIRR:{s:"Returns the internal rate of return for a series of periodic cash flows, considering both cost of investment and interest on reinvestment of cash",p:{values:{d:"is an array or a reference to cells that contain numbers that represent a series of payments (negative) and income (positive) at regular periods"},financeRate:{d:"is the interest rate you pay on the money used in the cash flows"},reinvestRate:{d:"is the interest rate you receive on the cash flows as you reinvest them"}}},NOMINAL:{s:"Returns the annual nominal interest rate",p:{effectiveRate:{d:"is the effective interest rate"},npery:{d:"is the number of compounding periods per year@param npery"}}},NPER:{s:"Returns the number of periods for an investment based on periodic, constant payments and a constant interest rate",p:{rate:{d:"is the interest rate per period. For example, use 6%/4 for quarterly payments at 6% APR"},pmt:{d:"is the payment made each period; it cannot change over the life of the investment"},pv:{d:"is the present value, or the lump-sum amount that a series of future payments is worth now"},fv:{d:"is the future value, or a cash balance you want to attain after the last payment is made",v:0},type:{d:"is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0",v:0}}},NPV:{s:"Returns the net present value of an investment based on a discount rate and a series of future payments (negative values) and income (positive values)",p:{rate:{d:"is the rate of discount over the length of one period"},value:{d:"value1,value2,... are 1 to 254 payments and income, equally spaced in time and occurring at the end of each period"}}},ODDFPRICE:{s:"Returns the price per $100 face value of a security with an odd first period",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},issue:{d:"is the security's issue date, expressed as a serial date number"},firstCoupon:{d:"is the security's first coupon date, expressed as a serial date number"},yld:{d:"is the security's annual yield"},redemption:{d:"is the security's redemption value per $100 face value"},frequency:{d:"is the number of coupon payments per year"},basis:{d:"is the type of day count basis to use",v:0}},h:"Unimplemented"},ODDFYIELD:{s:"Returns the yield of a security with an odd first period",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},issue:{d:"is the security's issue date, expressed as a serial date number"},firstCoupon:{d:"is the security's first coupon date, expressed as a serial date number"},yld:{d:"is the security's annual yield"},redemption:{d:"is the amount to be received at maturity"},frequency:{d:"is the number of coupon payments per year"},basis:{d:"is the type of day count basis to use",v:0}},h:"Unimplemented"},ODDLPRICE:{s:"Returns the price per $100 face value of a security with an odd last period",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},lastInterest:{d:"is the security's last coupon date, expressed as a serial date number"},rate:{d:"is the interest rate"},yld:{d:"is the security's annual yield"},redemption:{d:"is the amount to be received at maturity"},frequency:{d:"is the number of coupon payments per year"},basis:{d:"is the type of day count basis to use",v:0}},h:"Unimplemented"},ODDLYIELD:{s:"Returns the yield of a security with an odd last period",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},lastInterest:{d:"is the security's last coupon date, expressed as a serial date number"},rate:{d:"is the interest rate"},pr:{d:"is the security's price"},redemption:{d:"is the amount to be received at maturity"},frequency:{d:"is the number of coupon payments per year"},basis:{d:"is the type of day count basis to use",v:0}},h:"Unimplemented"},PDURATION:{s:"Returns the number of periods required by an investment to reach a specified value",p:{rate:{d:"is the interest rate"},pv:{d:"is the present value of the investment"},fv:{d:"is the desired future value of the investment"}}},PMT:{s:"Calculates the payment for a loan based on constant payments and a constant interest rate",p:{rate:{d:"is the interest rate"},nper:{d:"is the total number of payment periods"},pv:{d:"is the present value of the investment"},fv:{d:"is the future value, or a cash balance you want to attain after the last payment is made",v:0},type:{d:"is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0",v:0}}},PRICE:{s:"Returns the price per $100 face value of a security that pays periodic interest",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},rate:{d:"is the interest rate"},yld:{d:"is the security's annual yield"},redemption:{d:"is the amount to be received at maturity"},frequency:{d:"is the number of coupon payments per year"},basis:{d:"is the type of day count basis to use",v:0}},h:"Unimplemented"},PRICEDISC:{s:"Returns the price per $100 face value of a discounted security",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},discount:{d:"is the security's discount rate"},redemption:{d:"is the amount to be received at maturity"},basis:{d:"is the type of day count basis to use",v:0}}},PRICEMAT:{s:"Returns the price per $100 face value of a security that pays interest at maturity",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},issue:{d:"is the security's issue date, expressed as a serial date number"},rate:{d:"is the interest rate"},yld:{d:"is the security's annual yield"},basis:{d:"is the type of day count basis to use",v:0}},h:"Unimplemented"},PV:{s:"Returns the present value of an investment: the total amount that a series of future payments is worth now",p:{rate:{d:"is the interest rate"},nper:{d:"is the total number of payment periods in an investment"},pmt:{d:"is the payment made each period and cannot change over the life of the investment"},fv:{d:"is the future value, or a cash balance you want to attain after the last payment is made",v:0},type:{d:"is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0",v:0}}},RATE:{s:"Returns the interest rate per period of a loan or an investment. For example, use 6%/4 for quarterly payments at 6% APR",p:{nper:{d:"is the total number of payment periods"},pmt:{d:"is the payment made each period and cannot change over the life of the loan or investment"},pv:{d:"is the present value: the total amount that a series of future payments is worth now"},fv:{d:"is the future value, or a cash balance you want to attain after the last payment is made",v:0},type:{d:"is a logical value: payment at the beginning of the period = 1; payment at the end of the period = 0",v:0},guess:{d:"is your guess for what the rate will be",v:.1}}},RECEIVED:{s:"Returns the amount received at maturity for a fully invested security",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},investment:{d:"is the amount invested in the security"},discount:{d:"is the security's discount rate"},basis:{d:"is the type of day count basis to use",v:0}},h:"Unimplemented"},RRI:{s:"Returns an equivalent interest rate for the growth of an investment",p:{nper:{d:"is the total number of payment periods"},pv:{d:"is the present value of the investment"},fv:{d:"is the future value of the investment"}}},SLN:{s:"Returns the straight-line depreciation of an asset for one period",p:{cost:{d:"is the initial cost of the asset"},salvage:{d:"is the salvage value at the end of the life of the asset"},life:{d:"is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset)"}}},STOCKHISTORY:{s:"Returns an array of historical quote data for a symbol and date range you specify.",p:{stock:{d:"Symbol of financial instrument to be considered or a Stock data type."},startDate:{d:"First date to return data from."},endDate:{d:"Last date to return data from."},interval:{d:"A number indicating the granularity of the data; 0 - Daily, 1 - Weekly, 2 - Monthly",v:0},headers:{d:"A logical value to add column header data; 0 - No column header, 1 - Show column header, 2 - Show instrument identifier and column header",v:1},properties:{d:"properties1,properties2,... A number indicating which column of data to return; 0 through 5",v:"[0, 1, 2, 3, 4]"}},h:"Unimplemented"},SYD:{s:"Returns the sum-of-years' digits depreciation of an asset for a specified period",p:{cost:{d:"is the initial cost of the asset"},salvage:{d:"is the salvage value at the end of the life of the asset"},life:{d:"is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset)"},per:{d:"is the period and must use the same units as Life"}}},TBILLEQ:{s:"Returns the bond-equivalent yield for a treasury bill",p:{settlement:{d:"is the Treasury bill's settlement date, expressed as a serial date number"},maturity:{d:"is the Treasury bill's maturity date, expressed as a serial date number"},discount:{d:"is the Treasury bill's discount rate"}}},TBILLPRICE:{s:"Returns the price per $100 face value for a treasury bill",p:{settlement:{d:"is the Treasury bill's settlement date, expressed as a serial date number"},maturity:{d:"is the Treasury bill's maturity date, expressed as a serial date number"},discount:{d:"is the Treasury bill's discount rate"}}},TBILLYIELD:{s:"Returns the yield for a treasury bill",p:{settlement:{d:"is the Treasury bill's settlement date, expressed as a serial date number"},maturity:{d:"is the Treasury bill's maturity date, expressed as a serial date number"},pr:{d:"is the Treasury Bill's price per $100 face value"}}},VDB:{s:"Returns the depreciation of an asset for any period you specify, including partial periods, using the double-declining balance method or some other method you specify",p:{cost:{d:"is the initial cost of the asset"},salvage:{d:"is the salvage value at the end of the life of the asset"},life:{d:"is the number of periods over which the asset is being depreciated (sometimes called the useful life of the asset)"},startPeriod:{d:"is the first period in the calculation"},endPeriod:{d:"is the last period in the calculation"},factor:{d:"is the rate at which the balance declines",v:2},noSwitch:{d:"switch to straight-line depreciation when depreciation is greater than the declining balance = FALSE; do not switch = TRUE",v:!1}},h:"Unimplemented"},XIRR:{s:"Returns the internal rate of return for a schedule of cash flows",p:{values:{d:"is a series of cash flows that correspond to a schedule of payments in dates"},dates:{d:"is a schedule of payment dates that corresponds to the cash flow payments"},guess:{d:"is a number that you guess is close to the result of XIRR",v:.1}},h:"Unimplemented"},XNPV:{s:"Returns the net present value for a schedule of cash flows",p:{rate:{d:"is the discount rate to apply to the cash flows"},values:{d:"is a series of cash flows that correspond to a schedule of payments in dates"},dates:{d:"is a schedule of payment dates that corresponds to the cash flow payments"}}},YIELD:{s:"Returns the yield on a security that pays periodic interest",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},rate:{d:"is the security's annual coupon rate"},pr:{d:"is the security's price per $100 face value"},redemption:{d:"is the security's redemption value per $100 face value"},frequency:{d:"is the number of coupon payments per year"},basis:{d:"is the type of day count basis to use",v:0}},h:"Unimplemented"},YIELDDISC:{s:"Returns the annual yield for a discounted security. For example, a treasury bill",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},pr:{d:"is the security's price per $100 face value"},redemption:{d:"is the security's redemption value per $100 face value"},frequency:{d:"is the number of coupon payments per year"},basis:{d:"is the type of day count basis to use",v:0}},h:"Unimplemented"},YIELDMAT:{s:"Returns the annual yield of a security that pays interest at maturity",p:{settlement:{d:"is the security's settlement date, expressed as a serial date number"},maturity:{d:"is the security's maturity date, expressed as a serial date number"},issue:{d:"is the security's issue date, expressed as a serial date number"},rate:{d:"is the interest rate"},pr:{d:"is the security's price per $100 face value"},basis:{d:"is the type of day count basis to use",v:0}},h:"Unimplemented"}};
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.9
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
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.6.9
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
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.6.9
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
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.6.9
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
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.6.9
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
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.6.9
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
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.6.9
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
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("./DZZ_YfMpgcdWxp3p.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("./DdaSifgClArXfbZj.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.6.9
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
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.6.9
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
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.6.9
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
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.6.9
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
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.
@@ -0,0 +1,6 @@
1
+ "use strict";/**
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.6.11
3
+ *
4
+ * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.default={ADDRESS:{s:"Creates a cell reference as text, given specified row and column numbers",p:{rowNum:{d:"is the row number to use in the cell reference: Row_number = 1 for row 1"},columnNum:{d:"is the column number to use in the cell reference. For example, Column_number = 4 for column D"},absNum:{d:"specifies the reference type: absolute = 1; absolute row/relative column = 2; relative row/absolute column = 3; relative = 4",v:1},a1:{d:"is a logical value that specifies the reference style: A1 style = 1 or TRUE; R1C1 style = 0 or FALSE",v:!0},sheetText:{d:"is text specifying the name of the worksheet to be used as the external reference",v:""}}},AREAS:{s:"Returns the number of areas in a reference. An area is a range of contiguous cells or a single cell",p:{references:{d:"is a reference to a cell or range of cells and can refer to multiple areas"}}},CHOOSE:{s:"Chooses a value or action to perform from a list of values, based on an index number",p:{indexNum:{d:"specifies which value argument is selected. Index_num must be between 1 and 254, or a formula or a reference to a number between 1 and 254"},value1:{d:"value1,value2,... are 1 to 254 numbers, cell references, defined names, formulas, functions, or text arguments from which CHOOSE selects"},value:{}}},CHOOSECOLS:{s:"Returns columns from an array or reference.",p:{array:{d:"The array or reference from which to choose columns."},colNum1:{d:"col_num1,col_num2,... The number of the column to be returned."},colNum:{}}},CHOOSEROWS:{s:"Returns rows from an array or reference.",p:{array:{d:"The array or reference from which to choose rows."},rowNum1:{d:"row_num1,row_num2,... The number of the row to be returned."},rowNum:{}}},COLUMN:{s:"Returns the column number of a reference",p:{reference:{d:"is the cell or range of contiguous cells for which you want the column number. If omitted, the cell containing the COLUMN function is used"}}},COLUMNS:{s:"Returns the number of columns in an array or reference",p:{array:{d:"is an array or array formula, or a reference to a range of cells for which you want the number of columns"}}},DROP:{s:"Drops rows or columns from array start or end.",p:{array:{d:"The array from which to drop rows or columns."},row:{d:"The number of rows to drop. A negative value drops from the end of the array."},columns:{d:"The number of columns to drop. A negative value drops from the end of the array.",v:0}},h:"Unimplemented"},EXPAND:{s:"Expands an array to the specified dimensions.",p:{array:{d:"The array to expand."},row:{d:"The number of rows in the expanded array. If missing, rows will not be expanded."},columns:{d:"The number of columns in the expanded array. If missing, columns will not be expanded.",v:0},padWidth:{d:"The value with which to pad. The default is #N/A.",v:"FormulaError.BuiltIn.NA"}},h:"Unimplemented"},FIELDVALUE:{s:"Extracts a value from a field of a given record",p:{value:{d:"The record from which you want to extract the field"},fieldName:{d:"The names of the field or fields that you want to extract"}},h:"Unimplemented"},FILTER:{s:"Filter a range or array",p:{array:{d:"the range or array to filter"},include:{d:"an array of booleans where TRUE represents a row or column to retain"},ifEmpty:{d:"return if no items are retained"}},h:"Unimplemented"},FORMULATEXT:{s:"Returns a formula as a string",p:{reference:{d:"is a reference to a formula"}}},GETPIVOTDATA:{s:"Extracts data stored in a PivotTable.",p:{dataField:{d:"is the name of the data field to extract data from"},pivotTable:{d:"is a reference to a cell or range of cells in the PivotTable that contains the data you want to retrieve"},field1:{d:"field1,field2,... field to refer to"},item1:{d:"item1,item2,... field item to refer to"}},h:"Unimplemented"},GROUPBY:{s:"Aggregate values by row fields",p:{rowFields:{d:"The range or array containing the row fields"},values:{d:"The range or array containing the values to aggregate"},fn:{d:"The function used to do the aggregations"},fieldHeaders:{d:"A number between 0 and 3 that specifies whether the field data has headers and whether field headers should be returned in the results",v:null},totalDepth:{d:"Show totals for the row fields. 0 for none, 1 for grand totals, 2 for grand total and first level subtotals, etc",v:2},sortOrder:{d:"The column index to sort the row fields on. A negative index will sort in reverse order",v:null},filterArray:{d:"param-534 paramName-535",v:null},fieldRelationship:{d:"The relationship of fields when multiple columns are supplied to the row_fields argument",v:0}},h:"Unimplemented"},HLOOKUP:{s:"Looks for a value in the top row of a table or array of values and returns the value in the same column from a row you specify",p:{lookupValue:{d:"is the value to be found in the first row of the table and can be a value, a reference, or a text string"},tableArray:{d:"is a table of text, numbers, or logical values in which data is looked up. Table_array can be a reference to a range or a range name"},rowIndexNum:{d:"is the row number in table_array from which the matching value should be returned. The first row of values in the table is row 1"},rangeLookup:{d:"is a logical value: to find the closest match in the top row (sorted in ascending order) = TRUE; find an exact match = FALSE",v:!0}}},HSTACK:{s:"Horizontally stacks arrays into one array.",p:{array1:{},array:{d:"array1,array2,... An array or reference to be stacked."}},h:"Unimplemented"},HYPERLINK:{s:"Creates a shortcut or jump that opens a document stored on your hard drive, a network server, or on the Internet",p:{linkLocation:{d:"is the text giving the path and file name to the document to be opened, a hard drive location, UNC address, or URL path"},friendlyName:{d:"is text or a number that is displayed in the cell. If omitted, the cell displays the Link_location text"}},h:"Unimplemented"},IMAGE:{s:"Returns an image from a given source",p:{source:{d:"The path of the source that points to the image"},alternateText:{d:"The alternative text that describes the image for accessibility"},sizing:{d:"The setting that determines the dimensions in which the image will be rendered in the cell"},height:{d:"The custom height of the image in pixels"},width:{d:"The custom width of the image in pixels"}},h:"Unimplemented"},INDEX:{s:"Returns a value or reference of the cell at the intersection of a particular row and column, in a given range",p:{array:{d:"is a range of cells or an array constant."},rowNum:{d:"selects the row in Array or Reference from which to return a value. If omitted, Column_num is required",v:0},colNum:{d:"selects the column in Array or Reference from which to return a value. If omitted, Row_num is required",v:0},areaNum:{d:"selects the area in Array or Reference from which to return a value. If omitted, the first area is used",v:1}}},INDIRECT:{s:"Returns the reference specified by a text string",p:{refText:{d:"is a reference to a cell that contains an A1- or R1C1-style reference, a name defined as a reference, or a reference to a cell as a text string"},a1:{d:"is a logical value that specifies the type of reference in Ref_text: R1C1-style = FALSE; A1-style = TRUE.",v:!0}}},LOOKUP:{s:"Looks up a value either from a one-row or one-column range or from an array. Provided for backward compatibility",p:{lookupValue:{d:"is a value that LOOKUP searches for in Lookup_vector and can be a number, text, a logical value, or a name or reference to a value"},lookupVector:{d:"is a range that contains only one row or one column of text, numbers, or logical values, placed in ascending order"},resultVector:{d:"is a range that contains only one row or column, the same size as Lookup_vector"}},h:"Unimplemented"},MATCH:{s:"Returns the relative position of an item in an array that matches a specified value in a specified order",p:{lookupValue:{d:"is the value you use to find the value you want in the array, a number, text, or logical value, or a reference to one of these"},lookupArray:{d:"is a contiguous range of cells containing possible lookup values, an array of values, or a reference to an array"},matchType:{d:"is a number 1, 0, or -1 indicating which value to return."}},h:"Unimplemented"},OFFSET:{s:"Returns a reference to a range that is a given number of rows and columns from a given reference",p:{reference:{d:"is the reference from which you want to base the offset, a reference to a cell or range of adjacent cells"},rows:{d:"is the number of rows, up or down, that you want the upper-left cell of the result to refer to"},cols:{d:"is the number of columns, to the left or right, that you want the upper-left cell of the result to refer to"},height:{d:"is the height, in number of rows, that you want the result to be, the same height as Reference if omitted"},width:{d:"is the width, in number of columns, that you want the result to be, the same width as Reference if omitted"}}},PIVOTBY:{p:{rowFields:{},colFields:{},values:{},fn:{},fieldHeaders:{v:null},rowTotalDepth:{v:2},rowSortOrder:{v:null},colTotalDepth:{v:2},colSortOrder:{v:null},filterArray:{v:null},relativeTo:{v:0}},h:"Unimplemented"},ROW:{s:"Returns the row number of a reference",p:{reference:{d:"is the cell or a single range of cells for which you want the row number; if omitted, returns the cell containing the ROW function"}}},ROWS:{s:"Returns the number of rows in a reference or array",p:{array:{d:"is an array, an array formula, or a reference to a range of cells for which you want the number of rows"}}},RTD:{s:"Retrieves the real-time data (RTD) from a program that supports COM automation",p:{progId:{d:"is the programmatic identifier (ProgID) of a registered COM automation add-in. Enclose the id in quotation marks"},server:{d:"is the name of the server that provides the real-time data. If running locally us an empty string"},topic:{d:"topic1,topic2,... are 1 to 38 parameters that specify a piece of data"}},h:"Unimplemented"},SORT:{s:"Sorts a range or array",p:{array:{d:"the range or array to sort"},sortIndex:{d:"a number indicating the row or column to sort by"},sortOrder:{d:"a number indicating the desired sort order; 1 for ascending order (default), -1 for descending order"},byCol:{d:"a logical value indicating the desired sort direction: FALSE to sort by row (default), TRUE to sort by column",v:!1}},h:"Unimplemented"},SORTBY:{s:"Sorts a range or array based on the values in a corresponding range or array",p:{array:{d:"the range or array to sort"},byArray1:{d:"by_array1,by_array2,... the range or array to sort on"},sortOrder:{d:"sort_order1,sort_order2,... a number indicating the desired sort order; 1 for ascending order (default), -1 for descending order"}},h:"Unimplemented"},TAKE:{s:"Returns rows or columns from array start or end.",p:{array:{d:"The array from which to take rows or columns."},rows:{d:"The number of rows to take. A negative value takes from the end of the array."},columns:{d:"The number of columns to take. A negative value takes from the end of the array.",v:0}},h:"Unimplemented"},TOCOL:{s:"Returns the array as one column.",p:{array:{d:"The array or reference to return as a column."},ignore:{d:"Whether to ignore certain types of values. By default, no values are ignored.",v:0},scanByColumn:{d:"Scan the array by column. By default, the array is scanned by row.",v:!1}},h:"Unimplemented"},TOROW:{s:"Returns the array as one row.",p:{array:{d:"The array or reference to return as a column."},ignore:{d:"Whether to ignore certain types of values. By default, no values are ignored.",v:0},scanByColumn:{d:"Scan the array by column. By default, the array is scanned by row.",v:!1}},h:"Unimplemented"},TRANSPOSE:{s:"Converts a vertical range of cells to a horizontal range, or vice versa",p:{array:{d:"is a range of cells on a worksheet or an array of values that you want to transpose"}}},TRIMRANGE:{s:"Trims a range to the last used cell in any direction.",p:{range:{d:"The range to be trimmed"},rowTrimMode:{d:"Row trim direction. 0 - none, 1 - leading, 2 - trailing, 3 - both.",v:3},colTrimMode:{d:"Column trim direction. 0 - none. 1 - leading, 2 - trailing, 3 - both.",v:3}}},UNIQUE:{s:"Returns the unique values from a range or array.",p:{array:{d:"the range or array from which to return unique rows or columns"},byCol:{d:"is a logical value: compare rows against each other and return the unique rows = FALSE; compare columns against each other and return the unique columns = TRUE",v:!1},exactlyOnce:{d:"is a logical value: return rows or columns that occur exactly once from the array = TRUE; return all distinct rows or columns from the array = FALSE",v:!1}},h:"Unimplemented"},VLOOKUP:{s:"Looks for a value in the leftmost column of a table, and then returns a value in the same row from a column you specify. By default, the table must be sorted in an ascending order",p:{lookupValue:{d:"is the value to be found in the first column of the table, and can be a value, a reference, or a text string"},tableArray:{d:"is a table of text, numbers, or logical values, in which data is retrieved. Table_array can be a reference to a range or a range name"},colIndexNum:{d:"is the column number in table_array from which the matching value should be returned. The first column of values in the table is column 1"},rangeLookup:{d:"is a logical value: to find the closest match in the first column (sorted in ascending order) = TRUE; find an exact match = FALSE",v:!0}}},VSTACK:{s:"Vertically stacks arrays into one array.",p:{array1:{d:"array1,array2,... An array or reference to be stacked."},array:{d:"array1,array2,... An array or reference to be stacked."}},h:"Unimplemented"},WRAPCOLS:{s:"Wraps a row or column vector after a specified number of values.",p:{vector:{d:"The vector or reference to wrap."},wrapCount:{d:"The maximum number of values per column."},padWith:{d:"The value with which to pad. The default is #N/A.",v:"FormulaError.BuiltIn.NA"}},h:"Unimplemented"},WRAPROWS:{s:"Wraps a row or column vector after a specified number of values.",p:{vector:{d:"The vector or reference to wrap."},wrapCount:{d:"The maximum number of values per column."},padWith:{d:"The value with which to pad. The default is #N/A.",v:"FormulaError.BuiltIn.NA"}},h:"Unimplemented"},XLOOKUP:{s:"Searches a range or an array for a match and returns the corresponding item from a second range or array. By default, an exact match is used",p:{lookupValue:{d:"is the value to search for"},lookupArray:{d:"is the array or range to search"},returnArray:{d:"is the array or range to return"},ifNotFound:{d:"returned if no match is found"},rangeLookup:{v:!0},matchMode:{d:"specify how to match lookup_value against the values in lookup_array"},searchMode:{d:"specify the search mode to use. By default, a first to last search will be used",v:!0}},h:"Unimplemented"},XMATCH:{s:"Returns the relative position of an item in an array. By default, an exact match is required",p:{lookupValue:{d:"is the value to search for"},lookupArray:{d:"is the array or range to search"},matchMode:{d:"specify how to match the lookup_value against the values in lookup_array"},searchMode:{d:"specify the search mode to use. By default, a first to last search will be used",v:!0}},h:"Unimplemented"}};