@sheetxl/studio-vanilla 0.6.11 → 0.6.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/cjs/{DSCY0h0k7_NGFAa9.cjs → 85va2-St3DCDHPWi.cjs} +1 -1
- package/browser/cjs/{sTEaI4C-lqFBtWvq.cjs → B83nqvOr_nMkM51I.cjs} +2 -2
- package/browser/cjs/{Chy6NUkZXtPqgrZR.cjs → BA3DFG2nrzDKBzaP.cjs} +2 -2
- package/browser/cjs/{kUPfWN5_ixae-NhP.cjs → BCHCINYLsB92fUd2.cjs} +1 -1
- package/browser/cjs/{BBrRZz5B2zoHAN9Y.cjs → BIUjmZ7HCNaQXoTG.cjs} +8 -8
- package/browser/cjs/{Dko_G-DbgBQsU8gK.cjs → BIqfwHs636pnurrX.cjs} +3 -3
- package/browser/cjs/{B6FgF4mYdSVu9k73.cjs → BQVmSIuGfNsnFzf2.cjs} +1 -1
- package/browser/cjs/{Bsh4gxB-AZa6vrho.cjs → BTxWGtgw_dE_0eih.cjs} +2 -2
- package/browser/cjs/{BR2feSbxQhiUx0ve.cjs → BbXgRYTl82jkiJaS.cjs} +1 -1
- package/browser/cjs/{Cn41imsLOCTVlRxR.cjs → BeDR_qSmp_PLY_Ni.cjs} +2 -2
- package/browser/cjs/{CXy8i5LdgNECIsU8.cjs → BeNeF7OU6_ZUh22o.cjs} +1 -1
- package/browser/cjs/{BykeMXuqQ1Tsu8VV.cjs → BrhEZihB-_ktU4T0.cjs} +50 -50
- package/browser/cjs/{BOyoY_HQ258IRL7A.cjs → ByCaPv9jy1xJhUpy.cjs} +4 -4
- package/browser/cjs/{B256ouyF_cklxHtX.cjs → C4EMf-yOeuX251Jh.cjs} +1 -1
- package/browser/cjs/{DLeD6vyjEjWPn6HD.cjs → C8AeV12HEQmDxrrQ.cjs} +2 -2
- package/browser/cjs/{bJoZrtU3DvP8WHgg.cjs → CALDtOfkcN6Jbojq.cjs} +1 -1
- package/browser/cjs/{BXsNN5OIqFIISk8z.cjs → CBtS7k3EP9UtqHZA.cjs} +2 -2
- package/browser/cjs/{C46TuR3F7SprGoGG.cjs → CJ0SZF-8BpXpqHLG.cjs} +1 -1
- package/browser/cjs/{B-iy63zNyyCfawO7.cjs → CWlyoyrXvR3BE-jk.cjs} +5 -5
- package/browser/cjs/CXScQ9sAbW2fVquw.cjs +6 -0
- package/browser/cjs/{CMpcVmK6NyIHZbQe.cjs → CasVQHVmCabxIFHY.cjs} +1 -1
- package/browser/cjs/{CKHVD5SXHioheGLB.cjs → CgBJ4g6tv3H_R9Kq.cjs} +1 -1
- package/browser/cjs/{CM5hMK1pUIh1eBbC.cjs → ChmjJCMH-Sj2mRSq.cjs} +20 -20
- package/browser/cjs/{D-tsTUrXJ9H8SVUo.cjs → Cjs1mwoaLDl4U-id.cjs} +1 -1
- package/browser/cjs/{Dvswt6wd4E_kc9U6.cjs → Cl4L7g73r_uCVljX.cjs} +4 -4
- package/browser/cjs/{CzmxW1qMzEA20ta2.cjs → Cqczoyf-mvCrVkOI.cjs} +2 -2
- package/browser/cjs/{CkUIJkk4tGcBLDzt.cjs → D7zeG4Dq9VVDwSCI.cjs} +1 -1
- package/browser/cjs/{DxTLX-Xu-p7q-rx1.cjs → DBKQY-gTKLMo6-YQ.cjs} +1 -1
- package/browser/cjs/{CaxLcPMfTfCP3HVM.cjs → DDuh_76jNqQi3oLw.cjs} +1 -1
- package/browser/cjs/{8kr1vhDEGTvGJAzA.cjs → DFT-gVNBVM8fGO8X.cjs} +1 -1
- package/browser/cjs/{DgmHf9dI4VJCZbDp.cjs → DGdTkgwo5VMpqkhB.cjs} +1 -1
- package/browser/cjs/{lVAnc94189QEW85A.cjs → DKGbGPckRJ9FAaOu.cjs} +2 -2
- package/browser/cjs/{BAhbxVlq2_8drv_m.cjs → DMJdnLcsnQ4_pLhU.cjs} +1 -1
- package/browser/cjs/{DtVW16ZMhSlBHrUI.cjs → DPQzQo_cVgr2USBG.cjs} +2 -2
- package/browser/cjs/{BjBwKyqsdtwBZmra.cjs → DQW4tBlpxAN0KXQU.cjs} +1 -1
- package/browser/cjs/DR3JN8rVWa74y02y.cjs +6 -0
- package/browser/cjs/{CUIFforYlaNEvC1I.cjs → Ddtzu7c4EPXHIcj3.cjs} +4 -4
- package/browser/cjs/{U2nILmJF7mZ0IwB0.cjs → DiVH7U1zQL9bIPWC.cjs} +2 -2
- package/browser/cjs/{BLDPuLeHWaJWwDmS.cjs → Dle9M9YwjxGPX_3i.cjs} +1 -1
- package/browser/cjs/{Ce_zwBSNT8mlAnXL.cjs → Dm-KbyB99BvHX4Kj.cjs} +1 -1
- package/browser/cjs/{BOq6rTMNi2H5ziRF.cjs → DnDQwTAcMZ5GJY8Z.cjs} +1 -1
- package/browser/cjs/{DEC-4LETKmaxAyGk.cjs → DnZMQJu4QVG8s-fn.cjs} +1 -1
- package/browser/cjs/{2EWWcHVDCZl4KBZh.cjs → DoeuZwPF0BW81fKT.cjs} +1 -1
- package/browser/cjs/{CyCkK_PTjuR-1olP.cjs → DqTSKOcPLPd5hE94.cjs} +1 -1
- package/browser/cjs/{D_q5Ft7rHeY_SEc_.cjs → DyeaxRojXEDcJmNz.cjs} +1 -1
- package/browser/cjs/{DfHcrDlwCCeVJVws.cjs → FdX2120MW2CEXVRc.cjs} +1 -1
- package/browser/cjs/{yXhxuzgDDWBV547R.cjs → LtiL0iFw0m26ARIc.cjs} +1 -1
- package/browser/cjs/{hvbMSwM_KarZIwXU.cjs → S9PRYtPVpUU_kcmv.cjs} +2 -2
- package/browser/cjs/{CxhPRHgwpIAMDc_a.cjs → _e73Vjd1NqFit8RL.cjs} +2 -2
- package/browser/cjs/{fCZqW0EpUS-vX5Ub.cjs → avSPDYdtIZXU6BVy.cjs} +1 -1
- package/browser/cjs/{CW9Eb3taF--hyjO6.cjs → bMuFKnmBsbIAepS_.cjs} +2 -2
- package/browser/cjs/{CS2tXWHBVQIU67gY.cjs → cVZC0sIrdzPDxhdC.cjs} +2 -2
- package/browser/cjs/{DM_MA2z9EviuPzoA.cjs → eDrXkhn28xrKJ3ya.cjs} +1 -1
- package/browser/cjs/index.cjs +2 -2
- package/browser/cjs/{Cq7t367tAjzZiHrA.cjs → ki0IuetxD1LusOEq.cjs} +1 -1
- package/browser/cjs/{D1nvLhV8dNYsMbTo.cjs → r6vlBldZ16g1uolO.cjs} +3 -3
- package/browser/cjs/{Ck_XSvnhc4XECkOd.cjs → rKX_hwcSaby8h2iH.cjs} +1 -1
- package/browser/cjs/{0g1QZyv2wrvbRsdS.cjs → t_AXht1hkkuNmw2N.cjs} +1 -1
- package/browser/esm/{CCfcJvj7nqz0qwrf.mjs → 29Sn9qQkO4LVQQCN.mjs} +1 -1
- package/browser/esm/{XrnAhMT2xm37Qcui.mjs → 76VvrZLkHuvhAsGN.mjs} +1 -1
- package/{cdn/assets/DmbiRnIM6oc8lzbG.js → browser/esm/AR0xdN94FQwwXbn9.mjs} +1 -1
- package/browser/esm/{BHguDOHteRDQL56G.mjs → B7ZM811lP5XYGPik.mjs} +1 -1
- package/browser/esm/{B413hlEwLRdL7jdK.mjs → BA3TCV9RT2qEC0xB.mjs} +9 -9
- package/browser/esm/{e9sNJT-C4juKOvPJ.mjs → BADK5eZr5gw7iuRF.mjs} +1 -1
- package/browser/esm/{QnOc_115EfuiMrV9.mjs → BQFzNGa2dsGEDk63.mjs} +2 -2
- package/browser/esm/{Ds6-ZtMzNBnapRPR.mjs → BYv_u70XXEBkT_cs.mjs} +1 -1
- package/browser/esm/{BaiPAiVsT4N84J6g.mjs → B_JqrBu4snd1mCAn.mjs} +2 -2
- package/browser/esm/{CcUOUH3-vLOcNeWo.mjs → B_hYStAOL_dOzrHe.mjs} +1 -1
- package/{cdn/assets/DeQF8cAfpEj04GBF.js → browser/esm/BbPCzb3P6bAIX34V.mjs} +1 -1
- package/{cdn/assets/BZ1qIk9UaulOvJeC.js → browser/esm/BoRdOfmhMnafZKpp.mjs} +1 -1
- package/{cdn/assets/Dz_Xpa7-vaKrl6gi.js → browser/esm/Bp4gXO1YggYh_6K-.mjs} +1 -1
- package/browser/esm/{B3lbG_j1N1BUm4A1.mjs → BpTPfzuAljxFXK_W.mjs} +1 -1
- package/browser/esm/{A0mKJagiIIafETKt.mjs → BzPlKUXEzPpB_g68.mjs} +6 -6
- package/browser/esm/{BjsepRAVD0aE76wy.mjs → Bzo80FZKYoESKlFb.mjs} +2 -2
- package/{cdn/assets/D3eToVxChBm1vskm.js → browser/esm/C-Ay0vwKnUkXnbuO.mjs} +1 -1
- package/browser/esm/{DMe6xRvjt3iQ0qa4.mjs → C9EHcO72-0BYtF6X.mjs} +2 -2
- package/browser/esm/{n5ivgVEV9XXtLNNI.mjs → CFhOaUfgpajcEzT4.mjs} +4 -4
- package/browser/esm/{DJfa0QB-LbuVDa-x.mjs → CJAKxm3wwhG-as_J.mjs} +45 -45
- package/{cdn/assets/CMnJNhH4Ay8dZGXp.js → browser/esm/CM4zwhrcqWhPALAe.mjs} +1 -1
- package/browser/esm/{cMpuf0nUKBKIvP6-.mjs → CRn4lFFQEAdHbc1M.mjs} +2 -2
- package/{cdn/assets/CPOvQuec4xYzOXDx.js → browser/esm/CamJyaespLDx13Dh.mjs} +1 -1
- package/browser/esm/{BxFQDHGfap0k7f8z.mjs → Cd6zSAicX966oPBT.mjs} +1 -1
- package/browser/esm/{CT8OrAikF_X8OlTe.mjs → CeyZOF9jknWRbv_d.mjs} +9 -9
- package/browser/esm/{BBSmKE3PyYmNnNG5.mjs → CgnBjUP2KrJ1LNiX.mjs} +4 -4
- package/browser/esm/{DgY0aShDtY6hxbQh.mjs → CiA5mkGar8N83Ic4.mjs} +2 -2
- package/{cdn/assets/Ckz0-uTyB9pPnWVd.js → browser/esm/CiaDxCDY_EsZby9w.mjs} +1 -1
- package/{cdn/assets/DqBww2VmIy1kjaRI.js → browser/esm/Cpi9GqXowtMM0FvH.mjs} +1 -1
- package/browser/esm/{Cecgq9vdu7WniaRl.mjs → CpvXecYYY7hudiEG.mjs} +1 -1
- package/{cdn/assets/f1sPjK-5gCikEO7x.js → browser/esm/Cs5vWhsVEbLA4gem.mjs} +1 -1
- package/browser/esm/{Jo81Ec76yqof_D2n.mjs → CuXsvRqqdXfQP5EM.mjs} +2 -2
- package/browser/esm/{be56x0hvyZjriF-C.mjs → CxqVBPbGSpS0kn2c.mjs} +2 -2
- package/browser/esm/{sFj63f4s74BFpJl4.mjs → D2AuFfFnooIsiOnO.mjs} +7069 -7064
- package/{cdn/assets/BWVfVWPfko24QQTK.js → browser/esm/D4JXMgZoY6e8jRBg.mjs} +1 -1
- package/{cdn/assets/BHC5dYgDe-yxi9pL.js → browser/esm/D6w1YhRYKtvFB_So.mjs} +1 -1
- package/browser/esm/{B6EnN2PTngU4fW3X.mjs → D7QWyRlUXJflAC3a.mjs} +4 -4
- package/browser/esm/{BKB3NbD6Z1Zx00fn.mjs → DBF1GJpLrjlM-6CC.mjs} +1 -1
- package/browser/esm/{7Dybvm0k5M0Rgxi9.mjs → DEisLoDkr9m-vJ1h.mjs} +3 -3
- package/{cdn/assets/DJVSp6k73bUNcSEM.js → browser/esm/DMa-cM-SjpZHaDfI.mjs} +1 -1
- package/browser/esm/{Cb39jxbqw2Riaewe.mjs → DOCbzL6fsqN0Lj-4.mjs} +2 -2
- package/browser/esm/{CAD2eGmHD0r_Cj4u.mjs → DSL1nO9X0e6fUT1o.mjs} +3 -3
- package/browser/esm/{CjHEGzsBP2ps07ya.mjs → DSxawwOgXGe57KpB.mjs} +1 -1
- package/browser/esm/{BtxyhWlEL5IaY_hm.mjs → DUhymiAI6BuvNbKJ.mjs} +11 -11
- package/browser/esm/{BrEA-Ll98LSBU5pb.mjs → DXYOC-KhV5LdDmIY.mjs} +1 -1
- package/browser/esm/{CBZnNZe8v548iJ_R.mjs → D_WqqxbwbGDsSsCl.mjs} +1 -1
- package/browser/esm/{CtlaeZi8a0W6xVye.mjs → Do7U-DkzG4JJUJe3.mjs} +1 -1
- package/browser/esm/{4BPCTIlF0pqI05ht.mjs → DuIvCvai3YZKxdLf.mjs} +1 -1
- package/browser/esm/{CjHoMkU6X3s9wTwJ.mjs → Dv4KM68IVqBp8HZ-.mjs} +1 -1
- package/browser/esm/{BYLVMtwTimlP_9hg.mjs → DvUB0bNvINn6oYy_.mjs} +3 -3
- package/{cdn/assets/B5ggAX8if47B8zgf.js → browser/esm/DwYLofBisLEysG7X.mjs} +34 -36
- package/browser/esm/{BEPO_VFY_vEEcx57.mjs → HTJovRKXdY2qgi_6.mjs} +1 -1
- package/browser/esm/{B371bLYYzBAadUNu.mjs → NbEKj1EeT3TPECvv.mjs} +6 -6
- package/{cdn/assets/DqvsG_Kt5h7OXOD4.js → browser/esm/PNvC5lw27NuD--Bq.mjs} +1 -1
- package/{cdn/assets/B9M_HdQR_7nCf0PF.js → browser/esm/SJ-UwheLV5pfR_jD.mjs} +3 -3
- package/browser/esm/{nSlm8uWfv0TKCPMH.mjs → gyJPHFTvBx6YCTMu.mjs} +8 -8
- package/browser/esm/index.mjs +2 -2
- package/browser/esm/{Dr3-VaDEehS5r3lW.mjs → lSJ-6GsnTin_DAf-.mjs} +1 -1
- package/cdn/assets/{KtA9rkFunJ_pznZ7.js → 25ums9tFCOUg3O2Q.js} +4 -4
- package/cdn/assets/{CCfcJvj7nqz0qwrf.js → 29Sn9qQkO4LVQQCN.js} +1 -1
- package/cdn/assets/{dBypFeuqSOAN27DS.js → 36SzenckOtIq8sv4.js} +4 -4
- package/cdn/assets/{DUeMOZjhpvJ_6uhS.js → 3Jv-_TB7f6AMsi_b.js} +97 -97
- package/cdn/assets/{DfFtQgx2dh9vIP0c.js → 41F2zE-NjrEaRUct.js} +19 -19
- package/cdn/assets/{DNwggyYaFafLdQV0.js → 4nLfCXAlUUohbH0F.js} +20 -20
- package/cdn/assets/{XrnAhMT2xm37Qcui.js → 76VvrZLkHuvhAsGN.js} +1 -1
- package/{browser/esm/DmbiRnIM6oc8lzbG.mjs → cdn/assets/AR0xdN94FQwwXbn9.js} +1 -1
- package/cdn/assets/{BHguDOHteRDQL56G.js → B7ZM811lP5XYGPik.js} +1 -1
- package/cdn/assets/{e9sNJT-C4juKOvPJ.js → BADK5eZr5gw7iuRF.js} +1 -1
- package/cdn/assets/{D6KyT1Esxw1TEgUu.js → BCgLmV2yUGlW6j0o.js} +2 -2
- package/cdn/assets/{BA84bb8x6bfiOlla.js → BErZItp6yDnW8EoI.js} +1 -1
- package/{browser/esm/CGkWXHIuW7Zea8eC.mjs → cdn/assets/BIaw6w__smOxTgrS.js} +28 -26
- package/cdn/assets/{BkDeNlXS9IF_cU9l.js → BJeCYOWmWd7Tdt4z.js} +10 -10
- package/cdn/assets/{CwiZnPVW2X9r3FKB.js → BLGd08GlRgwYIO_Y.js} +3 -3
- package/cdn/assets/{BXtrrp3TwXPldY5p.js → BUMAQHiE6B8VcRBt.js} +3 -3
- package/cdn/assets/{Ds6-ZtMzNBnapRPR.js → BYv_u70XXEBkT_cs.js} +1 -1
- package/cdn/assets/{CcUOUH3-vLOcNeWo.js → B_hYStAOL_dOzrHe.js} +1 -1
- package/{browser/esm/DeQF8cAfpEj04GBF.mjs → cdn/assets/BbPCzb3P6bAIX34V.js} +1 -1
- package/cdn/assets/{jCSnsi7oZvNEZ68R.js → BcZsnZ76Ig1BEjZI.js} +1 -1
- package/{browser/esm/BZ1qIk9UaulOvJeC.mjs → cdn/assets/BoRdOfmhMnafZKpp.js} +1 -1
- package/{browser/esm/Dz_Xpa7-vaKrl6gi.mjs → cdn/assets/Bp4gXO1YggYh_6K-.js} +1 -1
- package/cdn/assets/{B3lbG_j1N1BUm4A1.js → BpTPfzuAljxFXK_W.js} +1 -1
- package/{browser/esm/D3eToVxChBm1vskm.mjs → cdn/assets/C-Ay0vwKnUkXnbuO.js} +1 -1
- package/cdn/assets/{-sMQ5ptS-I77owZz.js → CI3Q-_9QUjsWi4jv.js} +6 -6
- package/cdn/assets/{D556jZ6f2NRUvUyF.js → CJB8tfn11J6m2Clz.js} +9246 -9241
- package/{browser/esm/CMnJNhH4Ay8dZGXp.mjs → cdn/assets/CM4zwhrcqWhPALAe.js} +1 -1
- package/cdn/assets/{CRGvn7E4ngCBM7q1.js → CROWrWkGO9UZHTdk.js} +2 -2
- package/{browser/esm/CPOvQuec4xYzOXDx.mjs → cdn/assets/CamJyaespLDx13Dh.js} +1 -1
- package/cdn/assets/{BxFQDHGfap0k7f8z.js → Cd6zSAicX966oPBT.js} +1 -1
- package/cdn/assets/{BWPDJIAKkspYDjeG.js → CeQD5RH8lpSuWO70.js} +16 -16
- package/{browser/esm/Ckz0-uTyB9pPnWVd.mjs → cdn/assets/CiaDxCDY_EsZby9w.js} +1 -1
- package/cdn/assets/{DaB2B7Zar-aUVirp.js → CoE8l1qq0IF7Mt-y.js} +2 -2
- package/cdn/assets/{CDl3cGYRe3FVTAa0.js → CoZhXKCBM0IPKnL_.js} +2 -2
- package/{browser/esm/DqBww2VmIy1kjaRI.mjs → cdn/assets/Cpi9GqXowtMM0FvH.js} +1 -1
- package/cdn/assets/{CC_ssLj3EZenV9ci.js → Cptaglf3icdDq0qQ.js} +3 -3
- package/cdn/assets/{Cecgq9vdu7WniaRl.js → CpvXecYYY7hudiEG.js} +1 -1
- package/{browser/esm/f1sPjK-5gCikEO7x.mjs → cdn/assets/Cs5vWhsVEbLA4gem.js} +1 -1
- package/{browser/esm/j8k5EUdYa05M8Dx4.mjs → cdn/assets/CuavCINiWUPmC7Vf.js} +3 -3
- package/cdn/assets/{L1HZTkI2V44CIIqF.js → D01fmVK5D7_USTVV.js} +10 -10
- package/{browser/esm/BWVfVWPfko24QQTK.mjs → cdn/assets/D4JXMgZoY6e8jRBg.js} +1 -1
- package/cdn/assets/{4_eVc_NHveHr_iYh.js → D6UyN94iMzzzdb1j.js} +14 -14
- package/{browser/esm/BHC5dYgDe-yxi9pL.mjs → cdn/assets/D6w1YhRYKtvFB_So.js} +1 -1
- package/cdn/assets/{BKB3NbD6Z1Zx00fn.js → DBF1GJpLrjlM-6CC.js} +1 -1
- package/cdn/assets/{rS6lMMOdCvbDI366.js → DH9hyBLBu3iKEDKB.js} +2 -2
- package/{browser/esm/DJVSp6k73bUNcSEM.mjs → cdn/assets/DMa-cM-SjpZHaDfI.js} +1 -1
- package/cdn/assets/{CjHEGzsBP2ps07ya.js → DSxawwOgXGe57KpB.js} +1 -1
- package/cdn/assets/{BrEA-Ll98LSBU5pb.js → DXYOC-KhV5LdDmIY.js} +1 -1
- package/cdn/assets/{CBZnNZe8v548iJ_R.js → D_WqqxbwbGDsSsCl.js} +1 -1
- package/cdn/assets/{DiiI8CNWqen-tunB.js → DlMTJf51lC636nM7.js} +4 -4
- package/cdn/assets/{4BPCTIlF0pqI05ht.js → DuIvCvai3YZKxdLf.js} +1 -1
- package/cdn/assets/{CjHoMkU6X3s9wTwJ.js → Dv4KM68IVqBp8HZ-.js} +1 -1
- package/cdn/assets/{BEPO_VFY_vEEcx57.js → HTJovRKXdY2qgi_6.js} +1 -1
- package/cdn/assets/{CZ8wwk5mEEEIq0FP.js → P3tZrt0e9QaxIsSj.js} +3 -3
- package/{browser/esm/DqvsG_Kt5h7OXOD4.mjs → cdn/assets/PNvC5lw27NuD--Bq.js} +1 -1
- package/cdn/assets/{IzSH40VnDHnVyGKo.js → dyXa5mldoVYOGp53.js} +2 -2
- package/cdn/assets/{CHBYGIRMkPSTfKHz.js → iGmpf_LzbJL2CsAa.js} +11 -11
- package/cdn/assets/{Bt7MaehKrr9HHrl_.js → kVuelG_XYHvC8tLV.js} +45 -45
- package/cdn/assets/{Dr3-VaDEehS5r3lW.js → lSJ-6GsnTin_DAf-.js} +1 -1
- package/cdn/assets/{BHqxKaUWRnqlOIwU.js → r1CnkJ31QoXTp_nk.js} +4 -4
- package/cdn/assets/{CiQ1bXvali4tgsRH.js → t-1W8YGdgV1JTqbk.js} +2 -2
- package/cdn/assets/tlI4qejEXDcDO0lI.js +43 -0
- package/cdn/assets/{CqLqtJUqZ_vShU25.js → wPWci8JgKtfKzAb-.js} +4 -4
- package/cdn/assets/{o4XtjKEYah97mq2L.js → wanybeV42m66cubX.js} +27 -27
- package/cdn/index.js +2 -2
- package/cdn/loader.js +1 -1
- package/package.json +3 -3
- package/browser/cjs/BWTZzkrzhBVcZcVO.cjs +0 -6
- package/browser/cjs/CA-866I7v6Zutlv9.cjs +0 -6
- package/cdn/assets/Dc1kMbzWjvllPqe1.js +0 -43
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { P as $s, n as D, X as ft, a as Ye, b as Ws, Z as Xt, E as jn, e as Gs, d as Ks, c as Xe, f as zs, M as se, Y as Ue, S as Fe } from "./CJB8tfn11J6m2Clz.js";
|
|
2
2
|
/**
|
|
3
|
-
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.
|
|
3
|
+
* @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.6.13
|
|
4
4
|
*
|
|
5
5
|
* (C) 2025-present SheetXL Inc. & Michael T. Ford
|
|
6
6
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -155,13 +155,13 @@ function Ln(t, e) {
|
|
|
155
155
|
function Fr(t, e, n) {
|
|
156
156
|
e == "__proto__" && pn ? pn(t, e, { configurable: !0, enumerable: !0, value: n, writable: !0 }) : t[e] = n;
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function ze(t, e) {
|
|
159
159
|
return t === e || t != t && e != e;
|
|
160
160
|
}
|
|
161
161
|
var ga = Object.prototype.hasOwnProperty;
|
|
162
162
|
function xn(t, e, n) {
|
|
163
163
|
var r = t[e];
|
|
164
|
-
ga.call(t, e) &&
|
|
164
|
+
ga.call(t, e) && ze(r, n) && (n !== void 0 || e in t) || Fr(t, e, n);
|
|
165
165
|
}
|
|
166
166
|
function pr(t, e, n, r) {
|
|
167
167
|
var i = !n;
|
|
@@ -204,7 +204,7 @@ function Mt(t) {
|
|
|
204
204
|
function $o(t, e, n) {
|
|
205
205
|
if (!Nt(n)) return !1;
|
|
206
206
|
var r = typeof e;
|
|
207
|
-
return !!(r == "number" ? Mt(n) && Ln(e, n.length) : r == "string" && e in n) &&
|
|
207
|
+
return !!(r == "number" ? Mt(n) && Ln(e, n.length) : r == "string" && e in n) && ze(n[e], t);
|
|
208
208
|
}
|
|
209
209
|
var Ta = Object.prototype;
|
|
210
210
|
function Ve(t) {
|
|
@@ -220,22 +220,22 @@ var Wo = Object.prototype, Aa = Wo.hasOwnProperty, Ia = Wo.propertyIsEnumerable,
|
|
|
220
220
|
return Ot(t) && Aa.call(t, "callee") && !Ia.call(t, "callee");
|
|
221
221
|
}, Go = typeof exports == "object" && exports && !exports.nodeType && exports, si = Go && typeof module == "object" && module && !module.nodeType && module, ai = si && si.exports === Go ? wt.Buffer : void 0, De = (ai ? ai.isBuffer : void 0) || function() {
|
|
222
222
|
return !1;
|
|
223
|
-
},
|
|
223
|
+
}, z = {};
|
|
224
224
|
function kn(t) {
|
|
225
225
|
return function(e) {
|
|
226
226
|
return t(e);
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
|
-
|
|
230
|
-
var
|
|
229
|
+
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;
|
|
230
|
+
var Ko = typeof exports == "object" && exports && !exports.nodeType && exports, ke = Ko && typeof module == "object" && module && !module.nodeType && module, Gn = ke && ke.exports === Ko && Mo.process, Zt = (function() {
|
|
231
231
|
try {
|
|
232
232
|
return ke && ke.require && ke.require("util").types || Gn && Gn.binding && Gn.binding("util");
|
|
233
233
|
} catch {
|
|
234
234
|
}
|
|
235
235
|
})(), ci = Zt && Zt.isTypedArray, Br = ci ? kn(ci) : function(t) {
|
|
236
|
-
return Ot(t) && jr(t.length) && !!
|
|
236
|
+
return Ot(t) && jr(t.length) && !!z[Jt(t)];
|
|
237
237
|
}, Na = Object.prototype.hasOwnProperty;
|
|
238
|
-
function
|
|
238
|
+
function zo(t, e) {
|
|
239
239
|
var n = B(t), r = !n && Cn(t), i = !n && !r && De(t), o = !n && !r && !i && Br(t), s = n || r || i || o, a = s ? (function(l, h) {
|
|
240
240
|
for (var N = -1, S = Array(l); ++N < l; ) S[N] = h(N);
|
|
241
241
|
return S;
|
|
@@ -256,21 +256,21 @@ function Ho(t) {
|
|
|
256
256
|
return e;
|
|
257
257
|
}
|
|
258
258
|
function yt(t) {
|
|
259
|
-
return Mt(t) ?
|
|
259
|
+
return Mt(t) ? zo(t) : Ho(t);
|
|
260
260
|
}
|
|
261
|
-
var
|
|
261
|
+
var Kn, va = Object.prototype.hasOwnProperty, pt = (Kn = function(t, e) {
|
|
262
262
|
if (Ve(e) || Mt(e)) pr(e, yt(e), t);
|
|
263
263
|
else for (var n in e) va.call(e, n) && xn(t, n, e[n]);
|
|
264
264
|
}, Dr(function(t, e) {
|
|
265
265
|
var n = -1, r = e.length, i = r > 1 ? e[r - 1] : void 0, o = r > 2 ? e[2] : void 0;
|
|
266
|
-
for (i =
|
|
266
|
+
for (i = Kn.length > 3 && typeof i == "function" ? (r--, i) : void 0, o && $o(e[0], e[1], o) && (i = r < 3 ? void 0 : i, r = 1), t = Object(t); ++n < r; ) {
|
|
267
267
|
var s = e[n];
|
|
268
|
-
s &&
|
|
268
|
+
s && Kn(t, s);
|
|
269
269
|
}
|
|
270
270
|
return t;
|
|
271
271
|
})), Oa = Object.prototype.hasOwnProperty;
|
|
272
272
|
function Yo(t) {
|
|
273
|
-
return Mt(t) ?
|
|
273
|
+
return Mt(t) ? zo(t, !0) : (function(e) {
|
|
274
274
|
if (!Nt(e)) return (function(o) {
|
|
275
275
|
var s = [];
|
|
276
276
|
if (o != null) for (var a in Object(o)) s.push(a);
|
|
@@ -296,7 +296,7 @@ function re(t) {
|
|
|
296
296
|
}
|
|
297
297
|
}
|
|
298
298
|
function qe(t, e) {
|
|
299
|
-
for (var n = t.length; n--; ) if (
|
|
299
|
+
for (var n = t.length; n--; ) if (ze(t[n][0], e)) return n;
|
|
300
300
|
return -1;
|
|
301
301
|
}
|
|
302
302
|
re.prototype.clear = function() {
|
|
@@ -454,7 +454,7 @@ bt.prototype.clear = function() {
|
|
|
454
454
|
return n.set(t, e), this.size = n.size, this;
|
|
455
455
|
};
|
|
456
456
|
var Zo = typeof exports == "object" && exports && !exports.nodeType && exports, li = Zo && typeof module == "object" && module && !module.nodeType && module, hi = li && li.exports === Zo ? wt.Buffer : void 0, fi = hi ? hi.allocUnsafe : void 0;
|
|
457
|
-
function
|
|
457
|
+
function Kr(t, e) {
|
|
458
458
|
for (var n = -1, r = t == null ? 0 : t.length, i = 0, o = []; ++n < r; ) {
|
|
459
459
|
var s = t[n];
|
|
460
460
|
e(s, n, t) && (o[i++] = s);
|
|
@@ -464,12 +464,12 @@ function zr(t, e) {
|
|
|
464
464
|
function Qo() {
|
|
465
465
|
return [];
|
|
466
466
|
}
|
|
467
|
-
var Ua = Object.prototype.propertyIsEnumerable, di = Object.getOwnPropertySymbols,
|
|
468
|
-
return t == null ? [] : (t = Object(t),
|
|
467
|
+
var Ua = Object.prototype.propertyIsEnumerable, di = Object.getOwnPropertySymbols, zr = di ? function(t) {
|
|
468
|
+
return t == null ? [] : (t = Object(t), Kr(di(t), function(e) {
|
|
469
469
|
return Ua.call(t, e);
|
|
470
470
|
}));
|
|
471
471
|
} : Qo, Fa = Object.getOwnPropertySymbols ? function(t) {
|
|
472
|
-
for (var e = []; t; ) Wr(e,
|
|
472
|
+
for (var e = []; t; ) Wr(e, zr(t)), t = Xo(t);
|
|
473
473
|
return e;
|
|
474
474
|
} : Qo;
|
|
475
475
|
function Jo(t, e, n) {
|
|
@@ -477,7 +477,7 @@ function Jo(t, e, n) {
|
|
|
477
477
|
return B(t) ? r : Wr(r, n(t));
|
|
478
478
|
}
|
|
479
479
|
function gr(t) {
|
|
480
|
-
return Jo(t, yt,
|
|
480
|
+
return Jo(t, yt, zr);
|
|
481
481
|
}
|
|
482
482
|
var Tr = ce(wt, "DataView"), Ar = ce(wt, "Promise"), pe = ce(wt, "Set"), pi = "[object Map]", mi = "[object Promise]", Ei = "[object Set]", gi = "[object WeakMap]", Ti = "[object DataView]", Da = ae(Tr), ja = ae(je), Ba = ae(Ar), $a = ae(pe), Wa = ae(dr), At = Jt;
|
|
483
483
|
(Tr && At(new Tr(new ArrayBuffer(1))) != Ti || je && At(new je()) != pi || Ar && At(Ar.resolve()) != mi || pe && At(new pe()) != Ei || dr && At(new dr()) != gi) && (At = function(t) {
|
|
@@ -496,7 +496,7 @@ var Tr = ce(wt, "DataView"), Ar = ce(wt, "Promise"), pe = ce(wt, "Set"), pi = "[
|
|
|
496
496
|
}
|
|
497
497
|
return e;
|
|
498
498
|
});
|
|
499
|
-
var Ga = Object.prototype.hasOwnProperty, mn = wt.Uint8Array,
|
|
499
|
+
var Ga = Object.prototype.hasOwnProperty, mn = wt.Uint8Array, Ka = /\w*$/, Ai = It ? It.prototype : void 0, Ii = Ai ? Ai.valueOf : void 0, Ni = Zt && Zt.isMap, za = Ni ? kn(Ni) : function(t) {
|
|
500
500
|
return Ot(t) && At(t) == "[object Map]";
|
|
501
501
|
}, yi = Zt && Zt.isSet, Va = yi ? kn(yi) : function(t) {
|
|
502
502
|
return Ot(t) && At(t) == "[object Set]";
|
|
@@ -519,7 +519,7 @@ function sn(t, e, n, r, i, o) {
|
|
|
519
519
|
if (h == ns || h == ts || N && !i) return s = N ? {} : (function(m) {
|
|
520
520
|
return typeof m.constructor != "function" || Ve(m) ? {} : ha(Xo(m));
|
|
521
521
|
})(t), (function(m, y) {
|
|
522
|
-
return pr(m,
|
|
522
|
+
return pr(m, zr(m), y);
|
|
523
523
|
})(t, (function(m, y) {
|
|
524
524
|
return m && pr(y, yt(y), m);
|
|
525
525
|
})(s, t));
|
|
@@ -552,7 +552,7 @@ function sn(t, e, n, r, i, o) {
|
|
|
552
552
|
return new I(m);
|
|
553
553
|
case "[object RegExp]":
|
|
554
554
|
return (function(E) {
|
|
555
|
-
var R = new E.constructor(E.source,
|
|
555
|
+
var R = new E.constructor(E.source, Ka.exec(E));
|
|
556
556
|
return R.lastIndex = E.lastIndex, R;
|
|
557
557
|
})(m);
|
|
558
558
|
case "[object Symbol]":
|
|
@@ -563,7 +563,7 @@ function sn(t, e, n, r, i, o) {
|
|
|
563
563
|
if (S) return S;
|
|
564
564
|
o.set(t, s), Va(t) ? t.forEach(function(m) {
|
|
565
565
|
s.add(sn(m, e, n, m, t, o));
|
|
566
|
-
}) :
|
|
566
|
+
}) : za(t) && t.forEach(function(m, y) {
|
|
567
567
|
s.set(y, sn(m, e, n, y, t, o));
|
|
568
568
|
});
|
|
569
569
|
var _ = l ? void 0 : gr(t);
|
|
@@ -637,7 +637,7 @@ G[ts] = G["[object Array]"] = G["[object ArrayBuffer]"] = G["[object DataView]"]
|
|
|
637
637
|
}, me.prototype.has = function(t) {
|
|
638
638
|
return this.__data__.has(t);
|
|
639
639
|
};
|
|
640
|
-
var vi = It ? It.prototype : void 0,
|
|
640
|
+
var vi = It ? It.prototype : void 0, zn = vi ? vi.valueOf : void 0, Ya = Object.prototype.hasOwnProperty, Oi = "[object Arguments]", Si = "[object Array]", Qe = "[object Object]", _i = Object.prototype.hasOwnProperty;
|
|
641
641
|
function Ir(t, e, n, r, i) {
|
|
642
642
|
return t === e || (t == null || e == null || !Ot(t) && !Ot(e) ? t != t && e != e : (function(o, s, a, c, u, l) {
|
|
643
643
|
var h = B(o), N = B(s), S = h ? Si : At(o), _ = N ? Si : At(s), m = (S = S == Oi ? Qe : S) == Qe, y = (_ = _ == Oi ? Qe : _) == Qe, p = S == _;
|
|
@@ -655,7 +655,7 @@ function Ir(t, e, n, r, i) {
|
|
|
655
655
|
case "[object Boolean]":
|
|
656
656
|
case "[object Date]":
|
|
657
657
|
case "[object Number]":
|
|
658
|
-
return
|
|
658
|
+
return ze(+f, +d);
|
|
659
659
|
case "[object Error]":
|
|
660
660
|
return f.name == d.name && f.message == d.message;
|
|
661
661
|
case "[object RegExp]":
|
|
@@ -672,7 +672,7 @@ function Ir(t, e, n, r, i) {
|
|
|
672
672
|
var C = Ri(O(f), O(d), E, R, M, L);
|
|
673
673
|
return L.delete(f), C;
|
|
674
674
|
case "[object Symbol]":
|
|
675
|
-
if (
|
|
675
|
+
if (zn) return zn.call(f) == zn.call(d);
|
|
676
676
|
}
|
|
677
677
|
return !1;
|
|
678
678
|
})(o, s, S, a, c, u, l);
|
|
@@ -805,7 +805,7 @@ var os = Object.prototype, Qa = os.hasOwnProperty, Nr = Dr(function(t, e) {
|
|
|
805
805
|
var n = -1, r = e.length, i = r > 2 ? e[2] : void 0;
|
|
806
806
|
for (i && $o(e[0], e[1], i) && (r = 1); ++n < r; ) for (var o = e[n], s = Yo(o), a = -1, c = s.length; ++a < c; ) {
|
|
807
807
|
var u = s[a], l = t[u];
|
|
808
|
-
(l === void 0 ||
|
|
808
|
+
(l === void 0 || ze(l, os[u]) && !Qa.call(t, u)) && (t[u] = o[u]);
|
|
809
809
|
}
|
|
810
810
|
return t;
|
|
811
811
|
});
|
|
@@ -863,7 +863,7 @@ function ss(t, e) {
|
|
|
863
863
|
}), n;
|
|
864
864
|
}
|
|
865
865
|
function gt(t, e) {
|
|
866
|
-
return (B(t) ?
|
|
866
|
+
return (B(t) ? Kr : ss)(t, Pt(e));
|
|
867
867
|
}
|
|
868
868
|
var bi, ec = Math.max, Te = (bi = function(t, e, n) {
|
|
869
869
|
var r = t == null ? 0 : t.length;
|
|
@@ -927,7 +927,7 @@ function wi(t, e, n) {
|
|
|
927
927
|
return t != null && t.length ? Ur(t, e, 0) : -1;
|
|
928
928
|
}
|
|
929
929
|
var cc = Object.prototype.hasOwnProperty;
|
|
930
|
-
function
|
|
930
|
+
function K(t) {
|
|
931
931
|
if (t == null) return !0;
|
|
932
932
|
if (Mt(t) && (B(t) || typeof t == "string" || typeof t.splice == "function" || De(t) || Br(t) || Cn(t))) return !t.length;
|
|
933
933
|
var e = At(t);
|
|
@@ -936,7 +936,7 @@ function z(t) {
|
|
|
936
936
|
for (var n in t) if (cc.call(t, n)) return !1;
|
|
937
937
|
return !0;
|
|
938
938
|
}
|
|
939
|
-
var Mi = Zt && Zt.isRegExp,
|
|
939
|
+
var Mi = Zt && Zt.isRegExp, Kt = Mi ? kn(Mi) : function(t) {
|
|
940
940
|
return Ot(t) && Jt(t) == "[object RegExp]";
|
|
941
941
|
};
|
|
942
942
|
function Ht(t) {
|
|
@@ -980,7 +980,7 @@ function dt(t, e, n) {
|
|
|
980
980
|
return r(t, Pt(e), n, i, ue);
|
|
981
981
|
}
|
|
982
982
|
function an(t, e) {
|
|
983
|
-
return (B(t) ?
|
|
983
|
+
return (B(t) ? Kr : ss)(t, (function(n) {
|
|
984
984
|
if (typeof n != "function") throw new TypeError("Expected a function");
|
|
985
985
|
return function() {
|
|
986
986
|
var r = arguments;
|
|
@@ -1154,7 +1154,7 @@ function cn(t) {
|
|
|
1154
1154
|
const n = { type: "Terminal", name: t.terminalType.name, label: dc(t.terminalType), idx: t.idx };
|
|
1155
1155
|
ut(t.label) && (n.terminalLabel = t.label);
|
|
1156
1156
|
const r = t.terminalType.PATTERN;
|
|
1157
|
-
return t.terminalType.PATTERN && (n.pattern =
|
|
1157
|
+
return t.terminalType.PATTERN && (n.pattern = Kt(r) ? r.source : r), n;
|
|
1158
1158
|
}
|
|
1159
1159
|
if (t instanceof Ae) return { type: "Rule", name: t.name, orgText: t.orgText, definition: e(t.definition) };
|
|
1160
1160
|
throw Error("non exhaustive match");
|
|
@@ -2061,7 +2061,7 @@ function Wi(t) {
|
|
|
2061
2061
|
}
|
|
2062
2062
|
function ds(t) {
|
|
2063
2063
|
const e = t.PATTERN;
|
|
2064
|
-
if (
|
|
2064
|
+
if (Kt(e)) return !1;
|
|
2065
2065
|
if (Yt(e) || b(e, "exec")) return !0;
|
|
2066
2066
|
if (ut(e)) return !1;
|
|
2067
2067
|
throw Error("non exhaustive match");
|
|
@@ -2080,7 +2080,7 @@ const Rc = { test: function(t) {
|
|
|
2080
2080
|
}, lastIndex: 0 };
|
|
2081
2081
|
function Gi(t, e) {
|
|
2082
2082
|
if (b(t, "LINE_BREAKS")) return !1;
|
|
2083
|
-
if (
|
|
2083
|
+
if (Kt(t.PATTERN)) {
|
|
2084
2084
|
try {
|
|
2085
2085
|
_r(e, t.PATTERN);
|
|
2086
2086
|
} catch (n) {
|
|
@@ -2092,7 +2092,7 @@ function Gi(t, e) {
|
|
|
2092
2092
|
if (ds(t)) return { issue: H.CUSTOM_LINE_BREAK };
|
|
2093
2093
|
throw Error("non exhaustive match");
|
|
2094
2094
|
}
|
|
2095
|
-
function
|
|
2095
|
+
function Ki(t) {
|
|
2096
2096
|
return k(t, (e) => ut(e) ? e.charCodeAt(0) : e);
|
|
2097
2097
|
}
|
|
2098
2098
|
function Yn(t, e, n) {
|
|
@@ -2110,7 +2110,7 @@ function Pe(t, e) {
|
|
|
2110
2110
|
function yn(t, e) {
|
|
2111
2111
|
return t.tokenTypeIdx === e.tokenTypeIdx;
|
|
2112
2112
|
}
|
|
2113
|
-
let
|
|
2113
|
+
let zi = 1;
|
|
2114
2114
|
const Vi = {};
|
|
2115
2115
|
function He(t) {
|
|
2116
2116
|
const e = (function(n) {
|
|
@@ -2118,13 +2118,13 @@ function He(t) {
|
|
|
2118
2118
|
for (; o; ) {
|
|
2119
2119
|
i = $e(Rt(k(i, (a) => a.CATEGORIES)));
|
|
2120
2120
|
const s = En(i, r);
|
|
2121
|
-
r = r.concat(s),
|
|
2121
|
+
r = r.concat(s), K(s) ? o = !1 : i = s;
|
|
2122
2122
|
}
|
|
2123
2123
|
return r;
|
|
2124
2124
|
})(t);
|
|
2125
2125
|
(function(n) {
|
|
2126
2126
|
w(n, (r) => {
|
|
2127
|
-
ms(r) || (Vi[
|
|
2127
|
+
ms(r) || (Vi[zi] = r, r.tokenTypeIdx = zi++), Hi(r) && !B(r.CATEGORIES) && (r.CATEGORIES = [r.CATEGORIES]), Hi(r) || (r.CATEGORIES = []), b(r, "categoryMatches") || (r.categoryMatches = []), b(r, "categoryMatchesMap") || (r.categoryMatchesMap = {});
|
|
2128
2128
|
});
|
|
2129
2129
|
})(e), (function(n) {
|
|
2130
2130
|
w(n, (r) => {
|
|
@@ -2205,7 +2205,7 @@ a boolean 2nd argument is no longer supported`);
|
|
|
2205
2205
|
this.lexerDefinitionWarning = this.lexerDefinitionWarning.concat((function(a, c, u) {
|
|
2206
2206
|
const l = [];
|
|
2207
2207
|
let h = !1;
|
|
2208
|
-
const N = an($e(Rt(Q(a.modes))), (_) => _[ne] === ot.NA), S =
|
|
2208
|
+
const N = an($e(Rt(Q(a.modes))), (_) => _[ne] === ot.NA), S = Ki(u);
|
|
2209
2209
|
return c && w(N, (_) => {
|
|
2210
2210
|
const m = Gi(_, S);
|
|
2211
2211
|
if (m !== !1) {
|
|
@@ -2244,13 +2244,13 @@ a boolean 2nd argument is no longer supported`);
|
|
|
2244
2244
|
const S = (function(m) {
|
|
2245
2245
|
const y = gt(m, (p) => {
|
|
2246
2246
|
const T = p[ne];
|
|
2247
|
-
return !(
|
|
2247
|
+
return !(Kt(T) || Yt(T) || b(T, "exec") || ut(T));
|
|
2248
2248
|
});
|
|
2249
2249
|
return { errors: k(y, (p) => ({ message: "Token Type: ->" + p.name + "<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.", type: H.INVALID_PATTERN, tokenTypes: [p] })), valid: En(m, y) };
|
|
2250
2250
|
})(N.valid), _ = S.valid;
|
|
2251
2251
|
return h = h.concat(S.errors), h = h.concat((function(m) {
|
|
2252
2252
|
let y = [];
|
|
2253
|
-
const p = gt(m, (T) =>
|
|
2253
|
+
const p = gt(m, (T) => Kt(T[ne]));
|
|
2254
2254
|
return y = y.concat((function(T) {
|
|
2255
2255
|
class g extends vr {
|
|
2256
2256
|
constructor() {
|
|
@@ -2311,13 +2311,13 @@ a boolean 2nd argument is no longer supported`);
|
|
|
2311
2311
|
})(_, l)), h = h.concat((function(m) {
|
|
2312
2312
|
const y = [], p = dt(m, (T, g, A) => {
|
|
2313
2313
|
const v = g.PATTERN;
|
|
2314
|
-
return v === ot.NA || (ut(v) ? T.push({ str: v, idx: A, tokenType: g }) :
|
|
2314
|
+
return v === ot.NA || (ut(v) ? T.push({ str: v, idx: A, tokenType: g }) : Kt(v) && (f = v, Te([".", "\\", "[", "]", "|", "^", "$", "(", ")", "?", "*", "+", "{"], (d) => f.source.indexOf(d) !== -1) === void 0) && T.push({ str: v.source, idx: A, tokenType: g })), T;
|
|
2315
2315
|
var f;
|
|
2316
2316
|
}, []);
|
|
2317
2317
|
return w(m, (T, g) => {
|
|
2318
2318
|
w(p, ({ str: A, idx: v, tokenType: f }) => {
|
|
2319
2319
|
if (g < v && (function(d, I) {
|
|
2320
|
-
if (
|
|
2320
|
+
if (Kt(I)) {
|
|
2321
2321
|
const E = I.exec(d);
|
|
2322
2322
|
return E !== null && E.index === 0;
|
|
2323
2323
|
}
|
|
@@ -2335,7 +2335,7 @@ See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;
|
|
|
2335
2335
|
}), y;
|
|
2336
2336
|
})(_)), h;
|
|
2337
2337
|
})(a, s));
|
|
2338
|
-
}),
|
|
2338
|
+
}), K(this.lexerDefinitionErrors)) {
|
|
2339
2339
|
let u;
|
|
2340
2340
|
He(a), this.TRACE_INIT("analyzeTokenTypes", () => {
|
|
2341
2341
|
u = (function(l, h) {
|
|
@@ -2344,7 +2344,7 @@ See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;
|
|
|
2344
2344
|
let S;
|
|
2345
2345
|
N("initCharCodeToOptimizedIndexMap", () => {
|
|
2346
2346
|
(function() {
|
|
2347
|
-
if (
|
|
2347
|
+
if (K(ln)) {
|
|
2348
2348
|
ln = new Array(65536);
|
|
2349
2349
|
for (let L = 0; L < 65536; L++) ln[L] = L > 255 ? 255 + ~~(L / 255) : L;
|
|
2350
2350
|
}
|
|
@@ -2356,7 +2356,7 @@ See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;
|
|
|
2356
2356
|
N("Transform Patterns", () => {
|
|
2357
2357
|
E = !1, _ = k(S, (L) => {
|
|
2358
2358
|
const O = L[ne];
|
|
2359
|
-
if (
|
|
2359
|
+
if (Kt(O)) {
|
|
2360
2360
|
const P = O.source;
|
|
2361
2361
|
return P.length !== 1 || P === "^" || P === "$" || P === "." || O.ignoreCase ? P.length !== 2 || P[0] !== "\\" || at(["d", "D", "s", "S", "t", "r", "n", "t", "0", "c", "b", "B", "f", "v", "w", "W"], P[1]) ? h.useSticky ? Wi(O) : $i(O) : P[1] : P;
|
|
2362
2362
|
}
|
|
@@ -2384,7 +2384,7 @@ See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;
|
|
|
2384
2384
|
if (O) return B(O) ? k(O, (P) => wi(S, P)) : [wi(S, O)];
|
|
2385
2385
|
}), T = k(S, (L) => L.PUSH_MODE), g = k(S, (L) => b(L, "POP_MODE"));
|
|
2386
2386
|
}), N("Line Terminator Handling", () => {
|
|
2387
|
-
const L =
|
|
2387
|
+
const L = Ki(h.lineTerminatorCharacters);
|
|
2388
2388
|
A = k(S, (O) => !1), h.positionTracking !== "onlyOffset" && (A = k(S, (O) => b(O, "LINE_BREAKS") ? !!O.LINE_BREAKS : Gi(O, L) === !1 && _r(L, O.PATTERN)));
|
|
2389
2389
|
}), N("Misc Mapping #2", () => {
|
|
2390
2390
|
v = k(S, ds), f = k(_, yc), d = dt(S, (L, O) => {
|
|
@@ -2404,13 +2404,13 @@ See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;
|
|
|
2404
2404
|
const $ = qt(typeof C == "string" ? C.charCodeAt(0) : C);
|
|
2405
2405
|
x !== $ && (x = $, Yn(L, $, I[P]));
|
|
2406
2406
|
});
|
|
2407
|
-
} else if (
|
|
2407
|
+
} else if (Kt(O.PATTERN)) if (O.PATTERN.unicode) R = !1, h.ensureOptimizations && Rr(`${Nn} Unable to analyze < ${O.PATTERN.toString()} > pattern.
|
|
2408
2408
|
The regexp unicode flag is not currently supported by the regexp-to-ast library.
|
|
2409
2409
|
This will disable the lexer's first char optimizations.
|
|
2410
2410
|
For details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE`);
|
|
2411
2411
|
else {
|
|
2412
2412
|
const x = Tc(O.PATTERN, h.ensureOptimizations);
|
|
2413
|
-
|
|
2413
|
+
K(x) && (R = !1), w(x, (C) => {
|
|
2414
2414
|
Yn(L, C, I[P]);
|
|
2415
2415
|
});
|
|
2416
2416
|
}
|
|
@@ -2424,7 +2424,7 @@ See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;
|
|
|
2424
2424
|
}), this.patternIdxToConfig[c] = u.patternIdxToConfig, this.charCodeToPatternIdxToConfig[c] = u.charCodeToPatternIdxToConfig, this.emptyGroups = pt({}, this.emptyGroups, u.emptyGroups), this.hasCustom = u.hasCustom || this.hasCustom, this.canModeBeOptimized[c] = u.canBeOptimized;
|
|
2425
2425
|
}
|
|
2426
2426
|
});
|
|
2427
|
-
}), this.defaultMode = i.defaultMode, !
|
|
2427
|
+
}), this.defaultMode = i.defaultMode, !K(this.lexerDefinitionErrors) && !this.config.deferDefinitionErrorsHandling) {
|
|
2428
2428
|
const a = k(this.lexerDefinitionErrors, (c) => c.message).join(`-----------------------
|
|
2429
2429
|
`);
|
|
2430
2430
|
throw new Error(`Errors detected in definition of Lexer:
|
|
@@ -2442,7 +2442,7 @@ See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;
|
|
|
2442
2442
|
this.hasCustom ? (this.addToken = this.addTokenUsingPush, this.handlePayload = this.handlePayloadWithCustom) : (this.addToken = this.addTokenUsingMemberAccess, this.handlePayload = this.handlePayloadNoCustom);
|
|
2443
2443
|
}), this.TRACE_INIT("Failed Optimization Warnings", () => {
|
|
2444
2444
|
const a = dt(this.canModeBeOptimized, (c, u, l) => (u === !1 && c.push(l), c), []);
|
|
2445
|
-
if (n.ensureOptimizations && !
|
|
2445
|
+
if (n.ensureOptimizations && !K(a)) throw Error(`Lexer Modes: < ${a.join(", ")} > cannot be optimized.
|
|
2446
2446
|
Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode.
|
|
2447
2447
|
Or inspect the console log for details on how to resolve these issues.`);
|
|
2448
2448
|
}), this.TRACE_INIT("clearRegExpParserCache", () => {
|
|
@@ -2453,7 +2453,7 @@ See https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE`;
|
|
|
2453
2453
|
});
|
|
2454
2454
|
}
|
|
2455
2455
|
tokenize(e, n = this.defaultMode) {
|
|
2456
|
-
if (!
|
|
2456
|
+
if (!K(this.lexerDefinitionErrors)) {
|
|
2457
2457
|
const r = k(this.lexerDefinitionErrors, (i) => i.message).join(`-----------------------
|
|
2458
2458
|
`);
|
|
2459
2459
|
throw new Error(`Unable to Tokenize because Errors detected in definition of Lexer:
|
|
@@ -2718,7 +2718,7 @@ class _c extends Pn {
|
|
|
2718
2718
|
}
|
|
2719
2719
|
}
|
|
2720
2720
|
updateExpectedNext() {
|
|
2721
|
-
|
|
2721
|
+
K(this.ruleStack) ? (this.nextProductionName = "", this.nextProductionOccurrence = 0, this.isAtEndOfPath = !0) : (this.nextProductionName = this.ruleStack.pop(), this.nextProductionOccurrence = this.occurrenceStack.pop());
|
|
2722
2722
|
}
|
|
2723
2723
|
}
|
|
2724
2724
|
class Lc extends _c {
|
|
@@ -2794,7 +2794,7 @@ function Lr(t, e, n = []) {
|
|
|
2794
2794
|
r = o(a);
|
|
2795
2795
|
} else {
|
|
2796
2796
|
if (s instanceof xt) return w(s.definition, (a) => {
|
|
2797
|
-
|
|
2797
|
+
K(a.definition) === !1 && (r = o(a.definition));
|
|
2798
2798
|
}), r;
|
|
2799
2799
|
if (!(s instanceof V)) throw Error("non exhaustive match");
|
|
2800
2800
|
n.push(s.terminalType);
|
|
@@ -2808,14 +2808,14 @@ function Ts(t, e, n, r) {
|
|
|
2808
2808
|
const i = "EXIT_NONE_TERMINAL", o = [i], s = "EXIT_ALTERNATIVE";
|
|
2809
2809
|
let a = !1;
|
|
2810
2810
|
const c = e.length, u = c - r - 1, l = [], h = [];
|
|
2811
|
-
for (h.push({ idx: -1, def: t, ruleStack: [], occurrenceStack: [] }); !
|
|
2811
|
+
for (h.push({ idx: -1, def: t, ruleStack: [], occurrenceStack: [] }); !K(h); ) {
|
|
2812
2812
|
const N = h.pop();
|
|
2813
2813
|
if (N === s) {
|
|
2814
2814
|
a && ge(h).idx <= u && h.pop();
|
|
2815
2815
|
continue;
|
|
2816
2816
|
}
|
|
2817
2817
|
const S = N.def, _ = N.idx, m = N.ruleStack, y = N.occurrenceStack;
|
|
2818
|
-
if (
|
|
2818
|
+
if (K(S)) continue;
|
|
2819
2819
|
const p = S[0];
|
|
2820
2820
|
if (p === i) {
|
|
2821
2821
|
const T = { idx: _, def: tt(S), ruleStack: We(m), occurrenceStack: We(y) };
|
|
@@ -2931,7 +2931,7 @@ function Pc(t, e, n) {
|
|
|
2931
2931
|
const r = vt(t, (o) => o.length === 1), i = t.length;
|
|
2932
2932
|
if (r && !n) {
|
|
2933
2933
|
const o = Rt(t);
|
|
2934
|
-
if (o.length === 1 &&
|
|
2934
|
+
if (o.length === 1 && K(o[0].categoryMatches)) {
|
|
2935
2935
|
const s = o[0].tokenTypeIdx;
|
|
2936
2936
|
return function() {
|
|
2937
2937
|
return this.LA(1).tokenTypeIdx === s;
|
|
@@ -3060,7 +3060,7 @@ function Is(t, e) {
|
|
|
3060
3060
|
const u = a[c];
|
|
3061
3061
|
for (let l = 0; l < u.length; l++) {
|
|
3062
3062
|
const h = u[l].partialPath, N = u[l].suffixDef, S = Xn(h);
|
|
3063
|
-
if (Mc(i, S, c) ||
|
|
3063
|
+
if (Mc(i, S, c) || K(N) || h.length === e) {
|
|
3064
3064
|
const _ = r[c];
|
|
3065
3065
|
if (kr(_, h) === !1) {
|
|
3066
3066
|
_.push(h);
|
|
@@ -3106,7 +3106,7 @@ function kr(t, e) {
|
|
|
3106
3106
|
return !1;
|
|
3107
3107
|
}
|
|
3108
3108
|
function so(t) {
|
|
3109
|
-
return vt(t, (e) => vt(e, (n) => vt(n, (r) =>
|
|
3109
|
+
return vt(t, (e) => vt(e, (n) => vt(n, (r) => K(r.categoryMatches))));
|
|
3110
3110
|
}
|
|
3111
3111
|
function Uc(t) {
|
|
3112
3112
|
return `${kt(t)}_#_${t.idx}_#_${Ns(t)}`;
|
|
@@ -3145,7 +3145,7 @@ class Fc extends Ie {
|
|
|
3145
3145
|
}
|
|
3146
3146
|
function ys(t, e, n, r = []) {
|
|
3147
3147
|
const i = [], o = hn(e.definition);
|
|
3148
|
-
if (
|
|
3148
|
+
if (K(o)) return [];
|
|
3149
3149
|
{
|
|
3150
3150
|
const s = t.name;
|
|
3151
3151
|
at(o, t) && i.push({ message: n.buildLeftRecursionError({ topLevelRule: t, leftRecursionPath: r }), type: st.LEFT_RECURSION, ruleName: s });
|
|
@@ -3158,7 +3158,7 @@ function ys(t, e, n, r = []) {
|
|
|
3158
3158
|
}
|
|
3159
3159
|
function hn(t) {
|
|
3160
3160
|
let e = [];
|
|
3161
|
-
if (
|
|
3161
|
+
if (K(t)) return e;
|
|
3162
3162
|
const n = St(t);
|
|
3163
3163
|
if (n instanceof mt) e.push(n.referencedRule);
|
|
3164
3164
|
else if (n instanceof ht || n instanceof lt || n instanceof Ft || n instanceof Dt || n instanceof Lt || n instanceof J) e = e.concat(hn(n.definition));
|
|
@@ -3247,14 +3247,14 @@ const Zn = 1024, Qn = 1280, nn = 1536;
|
|
|
3247
3247
|
function Jn(t, e, n) {
|
|
3248
3248
|
return n | e | t;
|
|
3249
3249
|
}
|
|
3250
|
-
class
|
|
3250
|
+
class Kc {
|
|
3251
3251
|
constructor(e) {
|
|
3252
3252
|
var n;
|
|
3253
|
-
this.maxLookahead = (n = e?.maxLookahead) !== null && n !== void 0 ? n :
|
|
3253
|
+
this.maxLookahead = (n = e?.maxLookahead) !== null && n !== void 0 ? n : zt.maxLookahead;
|
|
3254
3254
|
}
|
|
3255
3255
|
validate(e) {
|
|
3256
3256
|
const n = this.validateNoLeftRecursion(e.rules);
|
|
3257
|
-
if (
|
|
3257
|
+
if (K(n)) {
|
|
3258
3258
|
const r = this.validateEmptyOrAlternatives(e.rules), i = this.validateAmbiguousAlternationAlternatives(e.rules, this.maxLookahead), o = this.validateSomeNonEmptyLookaheadPath(e.rules, this.maxLookahead);
|
|
3259
3259
|
return [...n, ...r, ...i, ...o];
|
|
3260
3260
|
}
|
|
@@ -3266,7 +3266,7 @@ class zc {
|
|
|
3266
3266
|
validateEmptyOrAlternatives(e) {
|
|
3267
3267
|
return Tt(e, (n) => (function(r, i) {
|
|
3268
3268
|
const o = new br();
|
|
3269
|
-
return r.accept(o), Tt(o.alternations, (s) => Tt(We(s.definition), (a, c) =>
|
|
3269
|
+
return r.accept(o), Tt(o.alternations, (s) => Tt(We(s.definition), (a, c) => K(Ts([a], [], Pe, 1)) ? [{ message: i.buildEmptyAlternationError({ topLevelRule: r, alternation: s, emptyChoiceIdx: c }), type: st.NONE_LAST_EMPTY_ALT, ruleName: r.name, occurrence: s.idx, alternative: c + 1 }] : []));
|
|
3270
3270
|
})(n, oe));
|
|
3271
3271
|
}
|
|
3272
3272
|
validateAmbiguousAlternationAlternatives(e, n) {
|
|
@@ -3317,7 +3317,7 @@ class zc {
|
|
|
3317
3317
|
const c = new Dc();
|
|
3318
3318
|
a.accept(c), w(c.allProductions, (u) => {
|
|
3319
3319
|
const l = io(u), h = u.maxLookahead || i;
|
|
3320
|
-
if (
|
|
3320
|
+
if (K(Rt(Cr(u.idx, a, l, h)[0]))) {
|
|
3321
3321
|
const N = o.buildEmptyRepetitionError({ topLevelRule: a, repetition: u });
|
|
3322
3322
|
s.push({ message: N, type: st.NO_NON_EMPTY_LOOKAHEAD, ruleName: a.name });
|
|
3323
3323
|
}
|
|
@@ -3373,7 +3373,7 @@ function uo(t, e) {
|
|
|
3373
3373
|
function lo(t, e) {
|
|
3374
3374
|
Object.defineProperty(t, "name", { enumerable: !1, configurable: !0, writable: !1, value: e });
|
|
3375
3375
|
}
|
|
3376
|
-
function
|
|
3376
|
+
function zc(t, e) {
|
|
3377
3377
|
const n = yt(t), r = n.length;
|
|
3378
3378
|
for (let i = 0; i < r; i++) {
|
|
3379
3379
|
const o = t[n[i]], s = o.length;
|
|
@@ -3423,7 +3423,7 @@ function Rn(t) {
|
|
|
3423
3423
|
}
|
|
3424
3424
|
const fn = Yr(ie, "", NaN, NaN, NaN, NaN, NaN, NaN);
|
|
3425
3425
|
Object.freeze(fn);
|
|
3426
|
-
const
|
|
3426
|
+
const zt = Object.freeze({ recoveryEnabled: !1, maxLookahead: 3, dynamicTokensEnabled: !1, outputCst: !0, errorMessageProvider: gs, nodeLocationTracking: "none", traceInitPerf: !1, skipValidations: !1 }), on = Object.freeze({ recoveryValueFunc: () => {
|
|
3427
3427
|
}, resyncEnabled: !0 });
|
|
3428
3428
|
var st, tr;
|
|
3429
3429
|
(function(t) {
|
|
@@ -3465,7 +3465,7 @@ class Ge {
|
|
|
3465
3465
|
})(s, o.errMsgProvider);
|
|
3466
3466
|
})({ rules: Q(this.gastProductionsCache) }), this.definitionErrors = this.definitionErrors.concat(r);
|
|
3467
3467
|
}), this.TRACE_INIT("Grammar Validations", () => {
|
|
3468
|
-
if (
|
|
3468
|
+
if (K(r) && this.skipValidations === !1) {
|
|
3469
3469
|
const s = (o = { rules: Q(this.gastProductionsCache), tokenTypes: Q(this.tokensMap), errMsgProvider: oe, grammarName: n }, (function(c, u, l, h) {
|
|
3470
3470
|
const N = Tt(c, (y) => (function(p, T) {
|
|
3471
3471
|
const g = new Fc();
|
|
@@ -3500,7 +3500,7 @@ class Ge {
|
|
|
3500
3500
|
this.definitionErrors = this.definitionErrors.concat(s, a);
|
|
3501
3501
|
}
|
|
3502
3502
|
var i, o;
|
|
3503
|
-
}),
|
|
3503
|
+
}), K(this.definitionErrors) && (this.recoveryEnabled && this.TRACE_INIT("computeAllProdsFollows", () => {
|
|
3504
3504
|
const i = (function(o) {
|
|
3505
3505
|
const s = {};
|
|
3506
3506
|
return w(o, (a) => {
|
|
@@ -3512,7 +3512,7 @@ class Ge {
|
|
|
3512
3512
|
}), this.TRACE_INIT("ComputeLookaheadFunctions", () => {
|
|
3513
3513
|
var i, o;
|
|
3514
3514
|
(o = (i = this.lookaheadStrategy).initialize) === null || o === void 0 || o.call(i, { rules: Q(this.gastProductionsCache) }), this.preComputeLookaheadFunctions(Q(this.gastProductionsCache));
|
|
3515
|
-
})), !Ge.DEFER_DEFINITION_ERRORS_HANDLING && !
|
|
3515
|
+
})), !Ge.DEFER_DEFINITION_ERRORS_HANDLING && !K(this.definitionErrors)) throw e = k(this.definitionErrors, (i) => i.message), new Error(`Parser Definition Errors detected:
|
|
3516
3516
|
${e.join(`
|
|
3517
3517
|
-------------------------------
|
|
3518
3518
|
`)}`);
|
|
@@ -3525,12 +3525,12 @@ class Ge {
|
|
|
3525
3525
|
Please use the <IGNORE_AMBIGUITIES> flag on the relevant DSL method instead.
|
|
3526
3526
|
See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#IGNORING_AMBIGUITIES
|
|
3527
3527
|
For further details.`);
|
|
3528
|
-
this.skipValidations = b(n, "skipValidations") ? n.skipValidations :
|
|
3528
|
+
this.skipValidations = b(n, "skipValidations") ? n.skipValidations : zt.skipValidations;
|
|
3529
3529
|
}
|
|
3530
3530
|
}
|
|
3531
3531
|
Ge.DEFER_DEFINITION_ERRORS_HANDLING = !1, tr = Ge, [class {
|
|
3532
3532
|
initRecoverable(t) {
|
|
3533
|
-
this.firstAfterRepMap = {}, this.resyncFollows = {}, this.recoveryEnabled = b(t, "recoveryEnabled") ? t.recoveryEnabled :
|
|
3533
|
+
this.firstAfterRepMap = {}, this.resyncFollows = {}, this.recoveryEnabled = b(t, "recoveryEnabled") ? t.recoveryEnabled : zt.recoveryEnabled, this.recoveryEnabled && (this.attemptInRepetitionRecovery = Gc);
|
|
3534
3534
|
}
|
|
3535
3535
|
getTokenToInsert(t) {
|
|
3536
3536
|
const e = Yr(t, "", NaN, NaN, NaN, NaN, NaN, NaN);
|
|
@@ -3577,7 +3577,7 @@ Ge.DEFER_DEFINITION_ERRORS_HANDLING = !1, tr = Ge, [class {
|
|
|
3577
3577
|
return this.canRecoverWithSingleTokenInsertion(t, e) || this.canRecoverWithSingleTokenDeletion(t);
|
|
3578
3578
|
}
|
|
3579
3579
|
canRecoverWithSingleTokenInsertion(t, e) {
|
|
3580
|
-
if (!this.canTokenTypeBeInsertedInRecovery(t) ||
|
|
3580
|
+
if (!this.canTokenTypeBeInsertedInRecovery(t) || K(e)) return !1;
|
|
3581
3581
|
const n = this.LA(1);
|
|
3582
3582
|
return Te(e, (r) => this.tokenMatcher(n, r)) !== void 0;
|
|
3583
3583
|
}
|
|
@@ -3633,7 +3633,7 @@ Ge.DEFER_DEFINITION_ERRORS_HANDLING = !1, tr = Ge, [class {
|
|
|
3633
3633
|
}
|
|
3634
3634
|
}, class {
|
|
3635
3635
|
initLooksAhead(t) {
|
|
3636
|
-
this.dynamicTokensEnabled = b(t, "dynamicTokensEnabled") ? t.dynamicTokensEnabled :
|
|
3636
|
+
this.dynamicTokensEnabled = b(t, "dynamicTokensEnabled") ? t.dynamicTokensEnabled : zt.dynamicTokensEnabled, this.maxLookahead = b(t, "maxLookahead") ? t.maxLookahead : zt.maxLookahead, this.lookaheadStrategy = b(t, "lookaheadStrategy") ? t.lookaheadStrategy : new Kc({ maxLookahead: this.maxLookahead }), this.lookAheadFuncsCache = /* @__PURE__ */ new Map();
|
|
3637
3637
|
}
|
|
3638
3638
|
preComputeLookaheadFunctions(t) {
|
|
3639
3639
|
w(t, (e) => {
|
|
@@ -3680,7 +3680,7 @@ Ge.DEFER_DEFINITION_ERRORS_HANDLING = !1, tr = Ge, [class {
|
|
|
3680
3680
|
}
|
|
3681
3681
|
}, class {
|
|
3682
3682
|
initTreeBuilder(t) {
|
|
3683
|
-
if (this.CST_STACK = [], this.outputCst = t.outputCst, this.nodeLocationTracking = b(t, "nodeLocationTracking") ? t.nodeLocationTracking :
|
|
3683
|
+
if (this.CST_STACK = [], this.outputCst = t.outputCst, this.nodeLocationTracking = b(t, "nodeLocationTracking") ? t.nodeLocationTracking : zt.nodeLocationTracking, this.outputCst) if (/full/i.test(this.nodeLocationTracking)) this.recoveryEnabled ? (this.setNodeLocationFromToken = uo, this.setNodeLocationFromNode = uo, this.cstPostRule = Z, this.setInitialNodeLocation = this.setInitialNodeLocationFullRecovery) : (this.setNodeLocationFromToken = Z, this.setNodeLocationFromNode = Z, this.cstPostRule = this.cstPostRuleFull, this.setInitialNodeLocation = this.setInitialNodeLocationFullRegular);
|
|
3684
3684
|
else if (/onlyOffset/i.test(this.nodeLocationTracking)) this.recoveryEnabled ? (this.setNodeLocationFromToken = co, this.setNodeLocationFromNode = co, this.cstPostRule = Z, this.setInitialNodeLocation = this.setInitialNodeLocationOnlyOffsetRecovery) : (this.setNodeLocationFromToken = Z, this.setNodeLocationFromNode = Z, this.cstPostRule = this.cstPostRuleOnlyOffset, this.setInitialNodeLocation = this.setInitialNodeLocationOnlyOffsetRegular);
|
|
3685
3685
|
else {
|
|
3686
3686
|
if (!/none/i.test(this.nodeLocationTracking)) throw Error(`Invalid <nodeLocationTracking> config option: "${t.nodeLocationTracking}"`);
|
|
@@ -3736,7 +3736,7 @@ Ge.DEFER_DEFINITION_ERRORS_HANDLING = !1, tr = Ge, [class {
|
|
|
3736
3736
|
}, validateVisitor: function() {
|
|
3737
3737
|
const i = (o = this, $e(k(gt(n, (s) => Yt(o[s]) === !1), (s) => ({ msg: `Missing visitor method: <${s}> on ${o.constructor.name} CST Visitor.`, type: Pr.MISSING_METHOD, methodName: s }))));
|
|
3738
3738
|
var o;
|
|
3739
|
-
if (!
|
|
3739
|
+
if (!K(i)) {
|
|
3740
3740
|
const s = k(i, (a) => a.msg);
|
|
3741
3741
|
throw Error(`Errors Detected in CST Visitor <${this.constructor.name}>:
|
|
3742
3742
|
${s.join(`
|
|
@@ -3758,7 +3758,7 @@ Ge.DEFER_DEFINITION_ERRORS_HANDLING = !1, tr = Ge, [class {
|
|
|
3758
3758
|
lo(i, e + "BaseSemanticsWithDefaults");
|
|
3759
3759
|
const o = Object.create(r.prototype);
|
|
3760
3760
|
return w(n, (s) => {
|
|
3761
|
-
o[s] =
|
|
3761
|
+
o[s] = zc;
|
|
3762
3762
|
}), (i.prototype = o).constructor = i, i;
|
|
3763
3763
|
})(this.className, yt(this.gastProductionsCache), this.getBaseCstVisitorConstructor());
|
|
3764
3764
|
return this.baseCstVisitorWithDefaultsConstructor = t, t;
|
|
@@ -3819,7 +3819,7 @@ Ge.DEFER_DEFINITION_ERRORS_HANDLING = !1, tr = Ge, [class {
|
|
|
3819
3819
|
See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0
|
|
3820
3820
|
For Further details.`);
|
|
3821
3821
|
if (B(t)) {
|
|
3822
|
-
if (
|
|
3822
|
+
if (K(t)) throw Error(`A Token Vocabulary cannot be empty.
|
|
3823
3823
|
Note that the first argument for the parser constructor
|
|
3824
3824
|
is no longer a Token vector (since v4.0).`);
|
|
3825
3825
|
if (typeof t[0].startOffset == "number") throw Error(`The Parser constructor no longer accepts a token vector as the first argument.
|
|
@@ -3835,7 +3835,7 @@ Ge.DEFER_DEFINITION_ERRORS_HANDLING = !1, tr = Ge, [class {
|
|
|
3835
3835
|
this.tokensMap = et(t);
|
|
3836
3836
|
}
|
|
3837
3837
|
this.tokensMap.EOF = ie;
|
|
3838
|
-
const n = vt(b(t, "modes") ? Rt(Q(t.modes)) : Q(t), (r) =>
|
|
3838
|
+
const n = vt(b(t, "modes") ? Rt(Q(t.modes)) : Q(t), (r) => K(r.categoryMatches));
|
|
3839
3839
|
this.tokenMatcher = n ? yn : Pe, He(Q(this.tokensMap));
|
|
3840
3840
|
}
|
|
3841
3841
|
defineRule(t, e, n) {
|
|
@@ -4355,7 +4355,7 @@ Make sure that all grammar rule definitions are done before 'performSelfAnalysis
|
|
|
4355
4355
|
}
|
|
4356
4356
|
}, class {
|
|
4357
4357
|
initErrorHandler(t) {
|
|
4358
|
-
this._errors = [], this.errorMessageProvider = b(t, "errorMessageProvider") ? t.errorMessageProvider :
|
|
4358
|
+
this._errors = [], this.errorMessageProvider = b(t, "errorMessageProvider") ? t.errorMessageProvider : zt.errorMessageProvider;
|
|
4359
4359
|
}
|
|
4360
4360
|
SAVE_ERROR(t) {
|
|
4361
4361
|
if (en(t)) return t.context = { ruleStack: this.getHumanReadableRuleStack(), ruleOccurrenceStack: et(this.RULE_OCCURRENCE_STACK) }, this._errors.push(t), t;
|
|
@@ -4506,7 +4506,7 @@ Make sure that all grammar rule definitions are done before 'performSelfAnalysis
|
|
|
4506
4506
|
if (b(t, "traceInitPerf")) {
|
|
4507
4507
|
const e = t.traceInitPerf, n = typeof e == "number";
|
|
4508
4508
|
this.traceInitMaxIdent = n ? e : 1 / 0, this.traceInitPerf = n ? e > 0 : e;
|
|
4509
|
-
} else this.traceInitMaxIdent = 0, this.traceInitPerf =
|
|
4509
|
+
} else this.traceInitMaxIdent = 0, this.traceInitPerf = zt.traceInitPerf;
|
|
4510
4510
|
this.traceInitIndent = -1;
|
|
4511
4511
|
}
|
|
4512
4512
|
TRACE_INIT(t, e) {
|
|
@@ -4528,7 +4528,7 @@ Make sure that all grammar rule definitions are done before 'performSelfAnalysis
|
|
|
4528
4528
|
});
|
|
4529
4529
|
});
|
|
4530
4530
|
class Yc extends Ge {
|
|
4531
|
-
constructor(e, n =
|
|
4531
|
+
constructor(e, n = zt) {
|
|
4532
4532
|
const r = et(n);
|
|
4533
4533
|
r.outputCst = !1, super(e, r);
|
|
4534
4534
|
}
|
|
@@ -4607,7 +4607,7 @@ const Qt = { boolean: 3, string: 2, number: 1 }, bu = (t, e) => {
|
|
|
4607
4607
|
if (n.isIReferenceRange && (n = n.getCoords()), n.colStart === void 0) return D.BuiltIn.Ref;
|
|
4608
4608
|
const i = r(e, n);
|
|
4609
4609
|
return i ? t.getReference(i) : D.BuiltIn.Null;
|
|
4610
|
-
},
|
|
4610
|
+
}, Ku = { "+": (t, e, n) => de(t, e, n, bu), "-": (t, e, n) => de(t, e, n, Pu), "*": (t, e, n) => de(t, e, n, Fs), "/": (t, e, n) => de(t, e, n, Ds), "^": (t, e, n) => de(t, e, n, wu), " ": (t, e, n, r) => _e(t, e, n, Xt.intersectRanges), ":": (t, e, n, r) => _e(t, e, n, Xt.unionRanges), ".:.": (t, e, n, r) => {
|
|
4611
4611
|
const i = _e(t, e, n, Xt.unionRanges);
|
|
4612
4612
|
return t.getFunction("TRIMRANGE").execute(i, 3, 3);
|
|
4613
4613
|
}, ".:": (t, e, n, r) => {
|
|
@@ -4620,7 +4620,7 @@ const Qt = { boolean: 3, string: 2, number: 1 }, bu = (t, e) => {
|
|
|
4620
4620
|
if (i !== null && i.colStart !== void 0 && (i = r.getValueAt(i.rowStart, i.colStart)), o !== null && o.colStart !== void 0 && (o = r.getValueAt(o.rowStart, o.colStart)), typeof i == "string" && typeof o == "string") return s(i, o);
|
|
4621
4621
|
let a, c;
|
|
4622
4622
|
return i?.isIRange ? a = i : o?.isIRange && (c = o), a || c ? (a || (a = r.getRange(i)), a.broadcast(o, s, Gu)) : s(i = Ue(i, Fe(i, !0), se.String), o = Ue(o, Fe(o, !0), se.String));
|
|
4623
|
-
})(t, e, n, Mu), "=": (t, e, n) => he(t, e, n, Uu), "<>": (t, e, n) => he(t, e, n, Fu), ">": (t, e, n) => he(t, e, n, Du), "<": (t, e, n) => he(t, e, n, Bu), ">=": (t, e, n) => he(t, e, n, ju), "<=": (t, e, n) => he(t, e, n, $u) },
|
|
4623
|
+
})(t, e, n, Mu), "=": (t, e, n) => he(t, e, n, Uu), "<>": (t, e, n) => he(t, e, n, Fu), ">": (t, e, n) => he(t, e, n, Du), "<": (t, e, n) => he(t, e, n, Bu), ">=": (t, e, n) => he(t, e, n, ju), "<=": (t, e, n) => he(t, e, n, $u) }, zu = { "-": (t, e) => Eo("-", e), "+": (t, e) => Eo("+", e), "@": (t, e) => {
|
|
4624
4624
|
if (!e || !e.isIReferenceRange) return e;
|
|
4625
4625
|
const n = e.getCoords(), r = e, i = t.getPosition(), o = r.getHeight(), s = r.getWidth();
|
|
4626
4626
|
if (s > 1 && o > 1) return D.BuiltIn.Value;
|
|
@@ -4695,7 +4695,7 @@ function yo(t) {
|
|
|
4695
4695
|
function vn(t) {
|
|
4696
4696
|
return { type: "error", value: t ? D.getBuiltInByLabel(t.toUpperCase()) : D.BuiltIn.Ref, inputs: null, isReference: !0 };
|
|
4697
4697
|
}
|
|
4698
|
-
function
|
|
4698
|
+
function Ke(t, e) {
|
|
4699
4699
|
return (function n(r, i) {
|
|
4700
4700
|
const o = r.inputs;
|
|
4701
4701
|
let s;
|
|
@@ -4711,14 +4711,14 @@ function ze(t, e) {
|
|
|
4711
4711
|
})(t, void 0) || this;
|
|
4712
4712
|
}
|
|
4713
4713
|
function dn(t, e) {
|
|
4714
|
-
let n = 0, r =
|
|
4714
|
+
let n = 0, r = Ke(t, (g) => {
|
|
4715
4715
|
const A = { ...g };
|
|
4716
4716
|
return A.evalIndex = n++, A;
|
|
4717
4717
|
});
|
|
4718
4718
|
const i = new Array(n), o = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Map();
|
|
4719
4719
|
let a;
|
|
4720
4720
|
const c = /* @__PURE__ */ new Map(), u = [], l = [];
|
|
4721
|
-
r =
|
|
4721
|
+
r = Ke(r, (g, A) => {
|
|
4722
4722
|
const v = g.type, f = g.evalIndex;
|
|
4723
4723
|
if (i[f] = null, g.isReference) {
|
|
4724
4724
|
const d = g, I = { node: g, index: c.size, op: null, value: null, inputs: null };
|
|
@@ -4768,7 +4768,7 @@ function dn(t, e) {
|
|
|
4768
4768
|
}
|
|
4769
4769
|
E[R] = O;
|
|
4770
4770
|
}
|
|
4771
|
-
i[f] =
|
|
4771
|
+
i[f] = zs(E);
|
|
4772
4772
|
}
|
|
4773
4773
|
else {
|
|
4774
4774
|
if (v !== "empty") return u.push(g), g;
|
|
@@ -4798,10 +4798,10 @@ function dn(t, e) {
|
|
|
4798
4798
|
const A = u[g], v = A.type;
|
|
4799
4799
|
if (v === "infix") {
|
|
4800
4800
|
const f = A.value;
|
|
4801
|
-
A.fn =
|
|
4801
|
+
A.fn = Ku[f];
|
|
4802
4802
|
} else if (v === "prefix") {
|
|
4803
4803
|
const f = A.value;
|
|
4804
|
-
A.fn =
|
|
4804
|
+
A.fn = zu[f];
|
|
4805
4805
|
} else if (v === "postfix") {
|
|
4806
4806
|
const f = A.value;
|
|
4807
4807
|
A.fn = Vu[f];
|
|
@@ -5212,7 +5212,7 @@ class vl extends Yc {
|
|
|
5212
5212
|
const o = r.tokens;
|
|
5213
5213
|
this.input = o, this.inputTextLength = n.length;
|
|
5214
5214
|
const s = e.getPosition();
|
|
5215
|
-
return this.position = s, this.astErrors = [], this.reset(), i = this.intersectOp(), i =
|
|
5215
|
+
return this.position = s, this.astErrors = [], this.reset(), i = this.intersectOp(), i = Ke(i, (a, c) => {
|
|
5216
5216
|
let u = a.type;
|
|
5217
5217
|
if (u === "function" && a.value && a.value.toUpperCase().startsWith("_XLFN.")) {
|
|
5218
5218
|
const l = a.value.substring(6);
|
|
@@ -5305,7 +5305,7 @@ class Me {
|
|
|
5305
5305
|
if (c.type !== "cell") throw a.op === "named" ? new Error("Cannot setReference for a named reference") : new Error(`Invalidate reference index: ${e}`);
|
|
5306
5306
|
_ = c.evalIndex;
|
|
5307
5307
|
}
|
|
5308
|
-
const y = this._compiled.ast, p =
|
|
5308
|
+
const y = this._compiled.ast, p = Ke(y, (A) => {
|
|
5309
5309
|
if (!A || !A.isReference) return;
|
|
5310
5310
|
const v = A.type;
|
|
5311
5311
|
if (!n && Bs.includes(A.value)) {
|
|
@@ -5397,7 +5397,7 @@ class Me {
|
|
|
5397
5397
|
let a = this._compiled;
|
|
5398
5398
|
if (n !== void 0) {
|
|
5399
5399
|
let f;
|
|
5400
|
-
if (
|
|
5400
|
+
if (Ke(a.ast, (d) => {
|
|
5401
5401
|
d.evalIndex === n && (f = d);
|
|
5402
5402
|
}), !f) throw new Error(`Invalid evalIndex: ${n}`);
|
|
5403
5403
|
a = dn(f, a.error);
|
|
@@ -5523,7 +5523,7 @@ class Me {
|
|
|
5523
5523
|
if (i.type === "cell") return this;
|
|
5524
5524
|
if (i.value === "@") return this;
|
|
5525
5525
|
if (!r) return this;
|
|
5526
|
-
const o = Gs(n) +
|
|
5526
|
+
const o = Gs(n) + Ks(e);
|
|
5527
5527
|
if (r.has(o)) return this;
|
|
5528
5528
|
const s = dn(Ce("@", i, !0), this._compiled.error);
|
|
5529
5529
|
return new Me(this._options, s);
|