@sheetxl/mcp 0.0.0-stage → 0.8.0-beta.14
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/LICENSE.md +11 -0
- package/README.md +72 -2
- package/agent/instructions.md +66 -0
- package/assets/2zIY9Xuml4y8NI05.js +596 -0
- package/assets/33QTHR3r6ZujxFx8.js +18 -0
- package/assets/8vRAQlvTcvMLeio0.js +1131 -0
- package/assets/9MRZ5Yc2RBgcqZSp.js +594 -0
- package/assets/9dbZwzIWefGss7is.js +52 -0
- package/assets/B-1_xSqUFCJ6jNjn.js +9109 -0
- package/assets/B-jE7tAMA559MtNt.js +37 -0
- package/assets/B5xHa5bjZu5ONrm5.js +638 -0
- package/assets/B66aeGYrHLbGpuN9.js +9137 -0
- package/assets/B6BP5l2qmeZhqVV7.js +7 -0
- package/assets/B6b9ytNrHR-ijcOa.js +30 -0
- package/assets/B9QlqO6n3MCBsvoj.js +504 -0
- package/assets/B9qiPx_BXxo1jgcx.js +2368 -0
- package/assets/B9w1dNK8pNq-Z1P3.js +142 -0
- package/assets/BDZ1FGc1zFqO1nK7.js +4036 -0
- package/assets/BFwNQZVRnbNt-gRJ.js +2260 -0
- package/assets/BMnNvUCJu35tT_aO.js +19 -0
- package/assets/BNfBq8Eic3Cl-f6A.js +184 -0
- package/assets/BOF64A2D2KKcv_fo.js +15 -0
- package/assets/BOcWUnxWSG1d5Ljc.js +447 -0
- package/assets/BW8XjynUqlfvuQUV.js +37 -0
- package/assets/BWsXOU_jh_cA8m8I.js +12 -0
- package/assets/BXC6616BWEWNZ2-D.js +63 -0
- package/assets/BYtBi8vLoB41QkV8.js +656 -0
- package/assets/B_-VPqfsse8AlCTm.js +81 -0
- package/assets/BiAEoWSl8c6jcUnS.js +28 -0
- package/assets/BkBCkgPNrFR5N9fo.js +19 -0
- package/assets/BmxgDCZk_aMDms4i.js +639 -0
- package/assets/BoTScfjgygCozDVi.js +23 -0
- package/assets/BwisWvPpXRhyIP4O.js +15 -0
- package/assets/ByziR0Anm39Bw0Bc.js +1556 -0
- package/assets/C-5LlJ5qhC7Ef0gV.js +12996 -0
- package/assets/C-CNmTrzNS-ZlQ8j.js +1760 -0
- package/assets/C1rIlmARlinuie5E.js +45 -0
- package/assets/C1w8NQeox7_92swz.js +35 -0
- package/assets/C2Rgsb69SnMOohGt.js +23 -0
- package/assets/C55MTJ_5qW94RElE.js +7514 -0
- package/assets/CBNNl8igIyeHY4St.js +780 -0
- package/assets/CDGeuGB9CBXeCIm6.js +12 -0
- package/assets/CH9M37mRwnS0t9wM.js +104 -0
- package/assets/CHHJZPAuM3OjbzF6.js +402 -0
- package/assets/CMTDUipnLiOj5pbe.js +610 -0
- package/assets/COFze3jkZDQRSij9.js +4437 -0
- package/assets/CPDkdp0yI4DwUHGZ.js +119 -0
- package/assets/CULV-2mwmqYYpAjM.js +119 -0
- package/assets/CVFTQ0OwsUt03r4o.js +146 -0
- package/assets/CXM1IYmE-TDInPwr.js +118 -0
- package/assets/CcLPa6zB5PH3OG2O.js +10289 -0
- package/assets/CdF5MxGnISAZ41oQ.js +359 -0
- package/assets/CeDqeFLuUfN8UIGx.js +17 -0
- package/assets/CfiVUfpeONJ3rf31.js +28 -0
- package/assets/Cfvhcua4c6onouhP.js +14 -0
- package/assets/CgjR_TiVOcuxg5tO.js +16 -0
- package/assets/CjwzOAnab_dpAqiG.js +144 -0
- package/assets/Cm3Q_-DDdnVHRBxr.js +351 -0
- package/assets/CpOhY88x6AgVxvTz.js +49 -0
- package/assets/CtpcYuBFU6fxsUhs.js +71 -0
- package/assets/CutEBbZl8oFbTlXZ.js +171 -0
- package/assets/CwJyw5Yxpj4PGh14.js +28 -0
- package/assets/CwdOInoJwCxXnhog.js +7 -0
- package/assets/D2_T0KSaye0ncjQa.js +6294 -0
- package/assets/D2w3KjYuONW1G1kX.js +86 -0
- package/assets/D3BAmD-1AfFtHdC6.js +242 -0
- package/assets/D81iH5MJJfq2t9FP.js +32 -0
- package/assets/D94hlZEaHtGHdN_K.js +202 -0
- package/assets/DBFXsbIHDxbMBrzV.js +319 -0
- package/assets/DCHsM8bfVisYJFTT.js +1783 -0
- package/assets/DIy1659Yv5-fD69E.js +123 -0
- package/assets/DK0VM9-qrEXBm8Ud.js +223 -0
- package/assets/DPazQ_nZv-sXUwO3.js +45 -0
- package/assets/DSSrCrejjpWoszj7.js +33 -0
- package/assets/DTlvhtB9hvPdbdxu.js +60493 -0
- package/assets/DUUt1z6Y_cpxEpYY.js +24 -0
- package/assets/DUYoUViqY5U6uQX3.js +18 -0
- package/assets/DUzaW_op2vBTwOOI.js +18 -0
- package/assets/DWTpPijG5yeNFR0W.js +14 -0
- package/assets/DZRp3_yqPS6Lshho.js +32 -0
- package/assets/DZZ5R3msiytVNCqK.js +199 -0
- package/assets/Df2IAW-O7Gwl7V1l.js +7 -0
- package/assets/Dfd7kvLIFNqu-m-r.js +51 -0
- package/assets/Dg7xy50qHwqkYd4g.js +1135 -0
- package/assets/DihigEGfNCLR8UPN.js +8 -0
- package/assets/DkFK1iu4vqjLZMja.js +3011 -0
- package/assets/DkPXpv81Y5teMd-R.js +20 -0
- package/assets/Dl87mJoXDkCkzBi7.js +3917 -0
- package/assets/DnmjS548g7nY6EUS.js +1860 -0
- package/assets/DoIU_ohoCBwTZV9G.js +310 -0
- package/assets/Doqy_uDSQTCv6a6X.js +35 -0
- package/assets/DpGuA6U12gwyGHEM.js +369 -0
- package/assets/DuZ6DXQGttY3Lrhd.js +5220 -0
- package/assets/Du_JrYiYGJo5_B9H.js +12 -0
- package/assets/DvD_K4M5HgJ4uJ8L.js +7 -0
- package/assets/EeSGsbh_r4N-qs4w.js +96 -0
- package/assets/GnXTzeDYWWeEf5yV.js +55 -0
- package/assets/HKLw8b2xTdu5c1w5.js +63 -0
- package/assets/KpCEdfpsHnfkyqjx.js +37 -0
- package/assets/OU7gC5JF-lyDOOid.js +27 -0
- package/assets/PRSerWiAGYu8MVnd.js +304 -0
- package/assets/PmooYGqWqoTxPExF.js +449 -0
- package/assets/QXKcNTuZqOauSidr.js +58 -0
- package/assets/ThqyayHHaBxzfaAt.js +255 -0
- package/assets/TzsPqmpG77I4ewVt.js +173 -0
- package/assets/UX2ywz3gr7q-MlHr.js +105 -0
- package/assets/W-MzzQHZuRxr8adc.js +2346 -0
- package/assets/ZBYHyJs7CQgnnHfR.js +362 -0
- package/assets/ZTEO4JX22YIOkrJg.js +8338 -0
- package/assets/a7BoASyT8yQZY9hJ.js +22 -0
- package/assets/aqguaobnu61szXWM.js +22 -0
- package/assets/cdIvC9t9tYtVn4nc.js +405 -0
- package/assets/cv7k-VAIJtYeL9k4.js +23 -0
- package/assets/ddJqSu7gXUkXjGxZ.js +13 -0
- package/assets/eHAVGCUcMAfNjEGt.js +7 -0
- package/assets/hRLLK6I6m0uGKWo8.js +32 -0
- package/assets/mcFLzsOH35mvmd3C.js +145 -0
- package/assets/st-UQngeBG4hwKoy.js +47 -0
- package/assets/w8YWSMNTTn45ImnB.js +857 -0
- package/assets/yNiBIhsMP9BCWd67.js +28 -0
- package/assets/zu-72oKE_gCkrozc.js +540 -0
- package/index.js +8070 -0
- package/lib.js +7 -0
- package/licenses/dependencies.txt +1552 -0
- package/package.json +44 -3
- package/resources/contents.json +333 -0
- package/resources/fonts/@sheetxl/sdk/aptos-bold-italic.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-bold-italic.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-bold-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-bold.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-bold.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-bold.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-bold-italic.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-bold-italic.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-bold-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-bold.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-bold.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-bold.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-italic.hinted.json +124 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-italic.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-regular.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-regular.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-display-regular.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-italic.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-italic.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-bold-italic.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-bold-italic.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-bold-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-bold.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-bold.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-bold.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-italic.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-italic.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-regular.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-regular.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-narrow-regular.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/aptos-regular.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/aptos-regular.metrics.json +221 -0
- package/resources/fonts/@sheetxl/sdk/aptos-regular.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/arial-bold-italic.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/arial-bold-italic.metrics.json +139 -0
- package/resources/fonts/@sheetxl/sdk/arial-bold-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/arial-bold.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/arial-bold.metrics.json +139 -0
- package/resources/fonts/@sheetxl/sdk/arial-bold.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/arial-italic.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/arial-italic.metrics.json +139 -0
- package/resources/fonts/@sheetxl/sdk/arial-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/arial-regular.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/arial-regular.metrics.json +139 -0
- package/resources/fonts/@sheetxl/sdk/arial-regular.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/calibri-bold-italic.hinted.json +122 -0
- package/resources/fonts/@sheetxl/sdk/calibri-bold-italic.metrics.json +137 -0
- package/resources/fonts/@sheetxl/sdk/calibri-bold-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/calibri-bold.hinted.json +122 -0
- package/resources/fonts/@sheetxl/sdk/calibri-bold.metrics.json +137 -0
- package/resources/fonts/@sheetxl/sdk/calibri-bold.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/calibri-italic.hinted.json +121 -0
- package/resources/fonts/@sheetxl/sdk/calibri-italic.metrics.json +137 -0
- package/resources/fonts/@sheetxl/sdk/calibri-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/calibri-regular.hinted.json +121 -0
- package/resources/fonts/@sheetxl/sdk/calibri-regular.metrics.json +137 -0
- package/resources/fonts/@sheetxl/sdk/calibri-regular.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/cambria-bold-italic.hinted.json +105 -0
- package/resources/fonts/@sheetxl/sdk/cambria-bold-italic.metrics.json +66 -0
- package/resources/fonts/@sheetxl/sdk/cambria-bold-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/cambria-bold.hinted.json +108 -0
- package/resources/fonts/@sheetxl/sdk/cambria-bold.metrics.json +66 -0
- package/resources/fonts/@sheetxl/sdk/cambria-bold.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/cambria-italic.hinted.json +102 -0
- package/resources/fonts/@sheetxl/sdk/cambria-italic.metrics.json +66 -0
- package/resources/fonts/@sheetxl/sdk/cambria-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/cambria-regular.hinted.json +110 -0
- package/resources/fonts/@sheetxl/sdk/cambria-regular.metrics.json +66 -0
- package/resources/fonts/@sheetxl/sdk/cambria-regular.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/contents.json +646 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-bold-italic.hinted.json +11 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-bold-italic.metrics.json +143 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-bold-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-bold.hinted.json +11 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-bold.metrics.json +143 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-bold.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-italic.hinted.json +11 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-italic.metrics.json +143 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-regular.hinted.json +11 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-regular.metrics.json +143 -0
- package/resources/fonts/@sheetxl/sdk/courier-new-regular.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-bold-italic.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-bold-italic.metrics.json +141 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-bold-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-bold.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-bold.metrics.json +141 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-bold.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-italic.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-italic.metrics.json +143 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-italic.rows.json +8 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-regular.hinted.json +125 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-regular.metrics.json +141 -0
- package/resources/fonts/@sheetxl/sdk/times-new-roman-regular.rows.json +8 -0
- package/resources/locales/@sheetxl/formulas/contents.json +9 -0
- package/resources/locales/@sheetxl/formulas/de/functions.json +298 -0
- package/resources/locales/@sheetxl/formulas-extended/contents.json +9 -0
- package/resources/locales/@sheetxl/formulas-extended/de/functions.json +59 -0
- package/resources/locales/@sheetxl/sdk/contents.json +19 -0
- package/resources/locales/@sheetxl/sdk/de/grammar.json +16 -0
- package/resources/locales/@sheetxl/sdk/de/model.msg.json +710 -0
- package/resources/locales/@sheetxl/sdk/en/model.msg.json +732 -0
- package/screenshot-page/assets/-cpi3yOZYn6GsYN4.js +9 -0
- package/screenshot-page/assets/-i_fTASJeu9NdNH_.js +7 -0
- package/screenshot-page/assets/04d8koPx6lzeMYRQ.js +39 -0
- package/screenshot-page/assets/0MTaPYjKud2Q9QG9.js +1 -0
- package/screenshot-page/assets/21oAESJyBGXeHegm.js +2 -0
- package/screenshot-page/assets/3Ls_kOvlQseMV8Q0.js +1 -0
- package/screenshot-page/assets/4qZpl2QCzneWdmJO.js +1 -0
- package/screenshot-page/assets/6IEV7KeOEbBdrthj.js +1 -0
- package/screenshot-page/assets/8QrkTrKHDnMBb7q4.js +1 -0
- package/screenshot-page/assets/9w0ECZmzGUyk3F_O.js +1 -0
- package/screenshot-page/assets/AjS2PipZDIH3BXB2.js +1 -0
- package/screenshot-page/assets/B-KIwD5F_5S-NsPg.js +1 -0
- package/screenshot-page/assets/B-sAzW5ROrhvMGM4.js +1 -0
- package/screenshot-page/assets/B0FQypGas6gbGT_U.js +1 -0
- package/screenshot-page/assets/B2IQMVqTZT1rUnib.js +1 -0
- package/screenshot-page/assets/B2g3jiFIQ4Qjh5gG.js +1 -0
- package/screenshot-page/assets/B4PbXdzBe9BsoZ0e.js +2 -0
- package/screenshot-page/assets/B5GO9v4p9L70Xb9i.js +1 -0
- package/screenshot-page/assets/B8y_eLNCGnXLEIaE.js +1 -0
- package/screenshot-page/assets/BCl5buf87xUgIfEB.js +2 -0
- package/screenshot-page/assets/BEuMvXYIa9A1JacY.js +1 -0
- package/screenshot-page/assets/BEwl-ucV9Jfr0RoC.js +1 -0
- package/screenshot-page/assets/BFaiQZKle44Rhyou.js +1 -0
- package/screenshot-page/assets/BHqg55S-4_OoAu3P.js +2 -0
- package/screenshot-page/assets/BNgLvS2bLOYKRguv.js +1 -0
- package/screenshot-page/assets/BQAN82ftWBiLJT3r.js +1 -0
- package/screenshot-page/assets/BQfe-XTIOGeUnD9B.js +1 -0
- package/screenshot-page/assets/BQnELVV0uR4T4ItQ.js +1 -0
- package/screenshot-page/assets/BRVZJ0OGJg9XJro6.js +1 -0
- package/screenshot-page/assets/BRqSWCr2mTVNFquQ.js +1 -0
- package/screenshot-page/assets/BTOQaSn9DDyJPUlX.js +1 -0
- package/screenshot-page/assets/BUGXf2DEBog16Slb.js +2 -0
- package/screenshot-page/assets/BUjI304IvdJnFXH3.js +1 -0
- package/screenshot-page/assets/BYRwTzX1q407lHUS.js +2 -0
- package/screenshot-page/assets/Baz0SC2AgGyxMX72.js +1 -0
- package/screenshot-page/assets/BbP9KThfrodyosvn.js +1 -0
- package/screenshot-page/assets/BcOdl17EeFSxnAiq.js +1 -0
- package/screenshot-page/assets/BclKeOKIOBjijhsu.js +1 -0
- package/screenshot-page/assets/Bf7xq8PyF4ohjMzP.js +2 -0
- package/screenshot-page/assets/BimyzECCZl-NESff.js +1 -0
- package/screenshot-page/assets/BkLH7JH3A93TXFJi.js +1 -0
- package/screenshot-page/assets/BksaQEoZr5OWq-_d.js +3 -0
- package/screenshot-page/assets/Bor_tayB4yBfNOH5.js +2 -0
- package/screenshot-page/assets/BowRIybLgENunTOT.js +1 -0
- package/screenshot-page/assets/Bp7se0JaDGrzfSA_.js +1 -0
- package/screenshot-page/assets/Bwql3QifB2cv7Mqp.js +3 -0
- package/screenshot-page/assets/Bx61vmiWY0Xvx9qs.js +1 -0
- package/screenshot-page/assets/ByY3fmwyDPAyOLdo.js +1 -0
- package/screenshot-page/assets/Bz2U7weS0spa8Xbh.js +1 -0
- package/screenshot-page/assets/Bz5V1tmiy5gbT9ys.js +1 -0
- package/screenshot-page/assets/Bz9v1lgjvbu4QnOs.js +2 -0
- package/screenshot-page/assets/C1k_VrZqlpiUigCP.js +1 -0
- package/screenshot-page/assets/C2Wh2h27c7FUb8Yk.js +1 -0
- package/screenshot-page/assets/C6oLDVnuCS9LGkkH.js +1 -0
- package/screenshot-page/assets/C81mK8aZKZAAS-AB.js +1 -0
- package/screenshot-page/assets/C9SC-cEIt6gdhZRw.js +1 -0
- package/screenshot-page/assets/CE0MnsfMjqV2ICzk.js +57 -0
- package/screenshot-page/assets/CE8MCCIiwjOVwBBW.js +1 -0
- package/screenshot-page/assets/CFOaI8g7pJuPzsyk.js +1 -0
- package/screenshot-page/assets/CG3ynup87FmG-kkX.js +1 -0
- package/screenshot-page/assets/CHlWgOAlcRCjVuhg.js +1 -0
- package/screenshot-page/assets/CIged53b3hHKxa-o.js +1 -0
- package/screenshot-page/assets/CNQczIR5xcE5u5fT.js +1 -0
- package/screenshot-page/assets/CSUd8n1H0VBfREnk.js +2 -0
- package/screenshot-page/assets/CSlBTkRDITCC8JRB.js +1 -0
- package/screenshot-page/assets/CV2jr9hpQOG2OG0C.js +1 -0
- package/screenshot-page/assets/CXGgKVbVXjWzE0p6.js +1 -0
- package/screenshot-page/assets/CXKCmZ_TRyGaB9Ob.js +1 -0
- package/screenshot-page/assets/CXUO3vYip3JPSJ7A.js +1 -0
- package/screenshot-page/assets/CXwbGzavyvYgDbWU.js +1 -0
- package/screenshot-page/assets/CZf9s6otzzoaBlSs.js +1 -0
- package/screenshot-page/assets/CZvwQEeVhBilgKLG.js +1 -0
- package/screenshot-page/assets/Ca6nxdhEuLLty3d7.js +2 -0
- package/screenshot-page/assets/CbUDukmvDZmVfhJH.js +1 -0
- package/screenshot-page/assets/CbXtAM7H-Jg_J0dk.js +1 -0
- package/screenshot-page/assets/CctIRGMFmARVi2KT.js +1 -0
- package/screenshot-page/assets/Cenh1POxiGMxIQlv.js +1 -0
- package/screenshot-page/assets/ChSvXfVMLxZsP9zG.js +8 -0
- package/screenshot-page/assets/Ci5NtzhJLll1kxGf.js +10 -0
- package/screenshot-page/assets/CjngjJNheGaVRvZp.js +1 -0
- package/screenshot-page/assets/ClzdIJrFdInttVJA.js +1 -0
- package/screenshot-page/assets/CnPgk3HcIziOcskY.js +10 -0
- package/screenshot-page/assets/CnXLpFE_vFrJ5Jbf.js +1 -0
- package/screenshot-page/assets/CnZJ44ncMxZ4ivcB.js +586 -0
- package/screenshot-page/assets/CpbohdgEaEsVDi9J.js +1 -0
- package/screenshot-page/assets/CqR3hGrC956TkCMj.js +20 -0
- package/screenshot-page/assets/Cr1tQKUBVKOQl3QC.js +1 -0
- package/screenshot-page/assets/Cv8FG9PPBkkPw86e.js +1 -0
- package/screenshot-page/assets/CvL9XK3Ht1mP-rGz.js +4 -0
- package/screenshot-page/assets/CykecBozGGFl26KA.js +3940 -0
- package/screenshot-page/assets/CzTizxHhb-CI_ajE.js +1 -0
- package/screenshot-page/assets/CzzEl3lAkZopkwhC.js +1 -0
- package/screenshot-page/assets/D-LgRj0s-PAVqY-L.js +1 -0
- package/screenshot-page/assets/D-XR1MGhwn7Jqj60.js +1 -0
- package/screenshot-page/assets/D47ePD4x1lVazNdl.js +7 -0
- package/screenshot-page/assets/D6Jpaz2YkhOfzxDB.js +1 -0
- package/screenshot-page/assets/D9zCVZpnJBfNSNO2.js +1 -0
- package/screenshot-page/assets/DDQWM8rNYCYzKa9R.js +1 -0
- package/screenshot-page/assets/DDpAoGAPzo1c4vl5.js +27 -0
- package/screenshot-page/assets/DGXDfjkGZjMRAXPg.js +5 -0
- package/screenshot-page/assets/DHa5_U58lSwCnpmG.js +1 -0
- package/screenshot-page/assets/DKVB6ddRfDJatYid.js +1 -0
- package/screenshot-page/assets/DM9U7u7FQK0jcwh4.js +1 -0
- package/screenshot-page/assets/DNDaHmkQrQTaCHhV.js +1 -0
- package/screenshot-page/assets/DQ0kGd99-fXxuNYk.js +1 -0
- package/screenshot-page/assets/DQWHkaQeNXft9j8b.js +2 -0
- package/screenshot-page/assets/DRVfGdmVBvktrZ1t.js +1 -0
- package/screenshot-page/assets/DRrM-dY9nM7nDRpV.js +1 -0
- package/screenshot-page/assets/DT2x1gO3f2G5NfeB.js +1 -0
- package/screenshot-page/assets/DU3FmyUH0RjPIBd-.js +1 -0
- package/screenshot-page/assets/DUJzubL4qqOyizfu.js +1 -0
- package/screenshot-page/assets/DVueE--eOrZPrqrm.js +1 -0
- package/screenshot-page/assets/DWiI5I3RtoKvVT66.js +1 -0
- package/screenshot-page/assets/DYJSIlNxrNw8qk-w.js +1 -0
- package/screenshot-page/assets/DYRbCudWTaiE_Sjc.js +1 -0
- package/screenshot-page/assets/DZDRRw-62D6Zw7qs.js +1 -0
- package/screenshot-page/assets/D_H2dlsQ8PJ0r1WD.js +10 -0
- package/screenshot-page/assets/DaKZ4-Li_ULIIwnK.js +1 -0
- package/screenshot-page/assets/DadZXeaVK5UXSHIi.js +1 -0
- package/screenshot-page/assets/Db_VGqQo2G2JgXWW.js +1 -0
- package/screenshot-page/assets/DceNHPrRLok2At-X.js +1 -0
- package/screenshot-page/assets/DcrVJCyDwGKeil2U.js +1 -0
- package/screenshot-page/assets/DeAKjatTVaZ0u_FY.js +1 -0
- package/screenshot-page/assets/DmMZ4pd492HPw_3_.js +1 -0
- package/screenshot-page/assets/DmbuCapSSCYIa3yk.js +1 -0
- package/screenshot-page/assets/Dpepompn_NhpSncR.js +1 -0
- package/screenshot-page/assets/DqM1wwsmN1J4MXMm.js +1 -0
- package/screenshot-page/assets/DqYhS4mcQfOe96hU.js +1 -0
- package/screenshot-page/assets/DsL71n5SxCVjL6Ho.js +2 -0
- package/screenshot-page/assets/DyGpT6t96jrvgJes.js +1 -0
- package/screenshot-page/assets/DyLWQxXXTw5uwPVy.js +30 -0
- package/screenshot-page/assets/DyYVf8O1rhg3YmjW.js +1 -0
- package/screenshot-page/assets/DyxJBLjUkeDuu96F.js +1 -0
- package/screenshot-page/assets/DzZRUd0p22CBa27b.js +1 -0
- package/screenshot-page/assets/HclGiUj8dZXDFmoM.js +1 -0
- package/screenshot-page/assets/IRtoU5oVgBWu9rnK.js +2 -0
- package/screenshot-page/assets/IfF7Tv-nhz6Ikpn0.js +1 -0
- package/screenshot-page/assets/J73KTOmdZGNmnq-z.js +1 -0
- package/screenshot-page/assets/J_xJVgE7YlmeU-ZO.js +6 -0
- package/screenshot-page/assets/KoxRo2J_cwB_yOd5.js +2 -0
- package/screenshot-page/assets/LVtV_IPhPQroHRui.js +1 -0
- package/screenshot-page/assets/MNoPOsydrUv1UGU8.js +2 -0
- package/screenshot-page/assets/Miyn0clMq0rovRIo.js +1 -0
- package/screenshot-page/assets/Rm5Sf5E6t8bk_Y3r.js +1 -0
- package/screenshot-page/assets/b3AbgxQkoaCiBi15.js +1 -0
- package/screenshot-page/assets/fGlPAximvsxzPzGA.js +1 -0
- package/screenshot-page/assets/gG0AFZ45VxS_moMw.js +2 -0
- package/screenshot-page/assets/nHThFXCAZFOM_npq.js +1 -0
- package/screenshot-page/assets/pRykm05ElquZBk_a.js +1 -0
- package/screenshot-page/assets/qm3VY0bH7F7EgSdi.js +2 -0
- package/screenshot-page/assets/rPOkVKdPbFpTG6AY.js +1 -0
- package/screenshot-page/assets/w3bV7wggRayUYTd-.js +1 -0
- package/screenshot-page/assets/zFbb8ESzwR_bE7IQ.js +1 -0
- package/screenshot-page/assets/zHHZFbk5RXnrxbOc.js +42 -0
- package/screenshot-page/index.html +44 -0
- package/screenshot-page/resources/contents.json +333 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-bold-italic.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-bold-italic.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-bold-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-bold.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-bold.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-bold.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-bold-italic.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-bold-italic.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-bold-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-bold.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-bold.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-bold.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-italic.hinted.json +124 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-italic.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-regular.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-regular.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-display-regular.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-italic.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-italic.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-bold-italic.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-bold-italic.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-bold-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-bold.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-bold.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-bold.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-italic.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-italic.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-regular.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-regular.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-narrow-regular.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-regular.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-regular.metrics.json +221 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/aptos-regular.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-bold-italic.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-bold-italic.metrics.json +139 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-bold-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-bold.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-bold.metrics.json +139 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-bold.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-italic.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-italic.metrics.json +139 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-regular.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-regular.metrics.json +139 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/arial-regular.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-bold-italic.hinted.json +122 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-bold-italic.metrics.json +137 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-bold-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-bold.hinted.json +122 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-bold.metrics.json +137 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-bold.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-italic.hinted.json +121 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-italic.metrics.json +137 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-regular.hinted.json +121 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-regular.metrics.json +137 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/calibri-regular.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-bold-italic.hinted.json +105 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-bold-italic.metrics.json +66 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-bold-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-bold.hinted.json +108 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-bold.metrics.json +66 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-bold.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-italic.hinted.json +102 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-italic.metrics.json +66 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-regular.hinted.json +110 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-regular.metrics.json +66 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/cambria-regular.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/contents.json +646 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-bold-italic.hinted.json +11 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-bold-italic.metrics.json +143 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-bold-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-bold.hinted.json +11 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-bold.metrics.json +143 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-bold.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-italic.hinted.json +11 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-italic.metrics.json +143 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-regular.hinted.json +11 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-regular.metrics.json +143 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/courier-new-regular.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-bold-italic.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-bold-italic.metrics.json +141 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-bold-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-bold.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-bold.metrics.json +141 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-bold.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-italic.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-italic.metrics.json +143 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-italic.rows.json +8 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-regular.hinted.json +125 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-regular.metrics.json +141 -0
- package/screenshot-page/resources/fonts/@sheetxl/sdk/times-new-roman-regular.rows.json +8 -0
- package/screenshot-page/resources/locales/@sheetxl/formulas/contents.json +9 -0
- package/screenshot-page/resources/locales/@sheetxl/formulas/de/functions.json +298 -0
- package/screenshot-page/resources/locales/@sheetxl/formulas-extended/contents.json +9 -0
- package/screenshot-page/resources/locales/@sheetxl/formulas-extended/de/functions.json +59 -0
- package/screenshot-page/resources/locales/@sheetxl/sdk/contents.json +19 -0
- package/screenshot-page/resources/locales/@sheetxl/sdk/de/grammar.json +16 -0
- package/screenshot-page/resources/locales/@sheetxl/sdk/de/model.msg.json +710 -0
- package/screenshot-page/resources/locales/@sheetxl/sdk/en/model.msg.json +732 -0
- package/types/index.d.ts +1 -0
- package/types/lib.d.ts +2 -0
- package/types/scripting-api.json +10855 -0
- package/types/scripting-enums.json +1339 -0
- package/types/scripting.d.ts +49295 -0
- package/types/src/SessionRegistry.d.ts +630 -0
- package/types/src/index.d.ts +3 -0
- package/types/src/instances.d.ts +104 -0
- package/types/src/lib/Types.d.ts +17 -0
- package/types/src/lib/index.d.ts +2 -0
- package/types/src/lib/runReport.d.ts +158 -0
- package/types/src/lib.d.ts +2 -0
- package/types/src/prepareRun.d.ts +56 -0
- package/types/src/relay.d.ts +102 -0
- package/types/src/screenshot.d.ts +23 -0
- package/types/src/server.d.ts +37 -0
- package/types/src/taskStore.d.ts +28 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=[[`0 r vc`,`cd4 hc b`,`cd2 l vc`,`3cd4 hc t`],[`3cd4 hc t`,`cd2 l vc`,`cd4 hc b`,`0 r vc`]],t=Object.freeze({rect:{cxn:1,paths:[{d:`M l t L r t L r b L l b Z`}]},round1Rect:{av:[`adj val 16667`],gd:[`a pin 0 adj 50000`,`dx1 */ ss a 100000`,`x1 +- r 0 dx1`,`idx */ dx1 29289 100000`,`ir +- r 0 idx`],ah:[`xy adj _ x1 t 0 50000 _ _`],cxn:1,rect:`l t ir b`,paths:[{d:`M l t L x1 t A dx1 dx1 3cd4 cd4 L r b L l b Z`}]},round2DiagRect:{av:[`adj1 val 16667`,`adj2 val 0`],gd:[`a1 pin 0 adj1 50000`,`a2 pin 0 adj2 50000`,`x1 */ ss a1 100000`,`y1 +- b 0 x1`,`a */ ss a2 100000`,`x2 +- r 0 a`,`y2 +- b 0 a`,`dx1 */ x1 29289 100000`,`dx2 */ a 29289 100000`,`d +- dx1 0 dx2`,`dx ?: d dx1 dx2`,`ir +- r 0 dx`,`ib +- b 0 dx`],ah:[`xy adj1 _ x1 t 0 50000 _ _`,`xy adj2 _ x2 t 0 50000 _ _`],cxn:0,rect:`dx dx ir ib`,paths:[{d:`M x1 t L x2 t A a a 3cd4 cd4 L r y1 A x1 x1 0 cd4 L a b A a a cd4 cd4 L l x1 A x1 x1 cd2 cd4 Z`}]},round2SameRect:{av:[`adj1 val 16667`,`adj2 val 0`],gd:[`a1 pin 0 adj1 50000`,`a2 pin 0 adj2 50000`,`tx1 */ ss a1 100000`,`tx2 +- r 0 tx1`,`bx1 */ ss a2 100000`,`bx2 +- r 0 bx1`,`by1 +- b 0 bx1`,`d +- tx1 0 bx1`,`tdx */ tx1 29289 100000`,`bdx */ bx1 29289 100000`,`il ?: d tdx bdx`,`ir +- r 0 il`,`ib +- b 0 bdx`],ah:[`xy adj1 _ tx2 t 0 50000 _ _`,`xy adj2 _ bx1 b 0 50000 _ _`],cxn:0,rect:`il tdx ir ib`,paths:[{d:`M tx1 t L tx2 t A tx1 tx1 3cd4 cd4 L r by1 A bx1 bx1 0 cd4 L bx1 b A bx1 bx1 cd4 cd4 L l tx1 A tx1 tx1 cd2 cd4 Z`}]},roundRect:{av:[`adj val 16667`],gd:[`a pin 0 adj 50000`,`x1 */ ss a 100000`,`x2 +- r 0 x1`,`y2 +- b 0 x1`,`il */ x1 29289 100000`,`ir +- r 0 il`,`ib +- b 0 il`],ah:[`xy adj _ x1 t 0 50000 _ _`],cxn:1,rect:`il il ir ib`,paths:[{d:`M l x1 A x1 x1 cd2 cd4 L x2 t A x1 x1 3cd4 cd4 L r y2 A x1 x1 0 cd4 L x1 b A x1 x1 cd4 cd4 Z`}]},snip1Rect:{av:[`adj val 16667`],gd:[`a pin 0 adj 50000`,`dx1 */ ss a 100000`,`x1 +- r 0 dx1`,`it */ dx1 1 2`,`ir +/ x1 r 2`],ah:[`xy adj _ x1 t 0 50000 _ _`],cxn:0,rect:`l it ir b`,paths:[{d:`M l t L x1 t L r dx1 L r b L l b Z`}]},snip2DiagRect:{av:[`adj1 val 0`,`adj2 val 16667`],gd:[`a1 pin 0 adj1 50000`,`a2 pin 0 adj2 50000`,`lx1 */ ss a1 100000`,`lx2 +- r 0 lx1`,`ly1 +- b 0 lx1`,`rx1 */ ss a2 100000`,`rx2 +- r 0 rx1`,`ry1 +- b 0 rx1`,`d +- lx1 0 rx1`,`dx ?: d lx1 rx1`,`il */ dx 1 2`,`ir +- r 0 il`,`ib +- b 0 il`],ah:[`xy adj1 _ lx1 t 0 50000 _ _`,`xy adj2 _ rx2 t 0 50000 _ _`],cxn:0,rect:`il il ir ib`,paths:[{d:`M lx1 t L rx2 t L r rx1 L r ly1 L lx2 b L rx1 b L l ry1 L l lx1 Z`}]},snip2SameRect:{av:[`adj1 val 16667`,`adj2 val 0`],gd:[`a1 pin 0 adj1 50000`,`a2 pin 0 adj2 50000`,`tx1 */ ss a1 100000`,`tx2 +- r 0 tx1`,`bx1 */ ss a2 100000`,`bx2 +- r 0 bx1`,`by1 +- b 0 bx1`,`d +- tx1 0 bx1`,`dx ?: d tx1 bx1`,`il */ dx 1 2`,`ir +- r 0 il`,`it */ tx1 1 2`,`ib +/ by1 b 2`],ah:[`xy adj1 _ tx2 t 0 50000 _ _`,`xy adj2 _ bx1 b 0 50000 _ _`],cxn:0,rect:`il it ir ib`,paths:[{d:`M tx1 t L tx2 t L r tx1 L r by1 L bx2 b L bx1 b L l by1 L l tx1 Z`}]},snipRoundRect:{av:[`adj1 val 16667`,`adj2 val 16667`],gd:[`a1 pin 0 adj1 50000`,`a2 pin 0 adj2 50000`,`x1 */ ss a1 100000`,`dx2 */ ss a2 100000`,`x2 +- r 0 dx2`,`il */ x1 29289 100000`,`ir +/ x2 r 2`],ah:[`xy adj1 _ x1 t 0 50000 _ _`,`xy adj2 _ x2 t 0 50000 _ _`],cxn:0,rect:`il il ir b`,paths:[{d:`M x1 t L x2 t L r dx2 L r b L l b L l x1 A x1 x1 cd2 cd4 Z`}]}});export{t as BUILT_IN,e as CXN_SHARED};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={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.`},a1:{d:`is a logical value that specifies the reference style: A1 style = 1 or TRUE; R1C1 style = 0 or FALSE.`},sheetText:{d:`is text specifying the name of the worksheet to be used as the external reference.`}}},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.`}}},ARRAY_CONSTRAIN:{s:`Constrains an array result to a specified size.`,c:`Sheets`,p:{inputRange:{d:`The range to constrain.`},numRows:{d:`The number of rows the result should contain.`},numCols:{d:`The number of columns the result should contain.`}}},ARRAYFORMULA:{s:`Enables the display of values returned from an array formula into multiple rows and/or columns.`,c:`Sheets`,p:{arrayFormula:{d:`A range, a mathematical expression over ranges of the same size, or a function that returns a result of more than one cell.`}}},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.`},value:{d:`are 1 to 254 numbers, cell references, defined names, formulas, functions, or text arguments from which CHOOSE selects.`}}},CHOOSECOLS:{s:`Returns columns from an array or reference.`,p:{array:{d:`The array or reference from which to choose columns.`},colNum:{d:`The number of the column to be returned.`}}},CHOOSEROWS:{s:`Returns rows from an array or reference.`,p:{array:{d:`The array or reference from which to choose rows.`},rowNum:{d:`The number of the row to be returned.`}}},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.`}}},EXPAND:{p:{array:{},row:{},columns:{},padWith:{}}},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.`}}},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.`}}},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.`},fieldItem:{d:`the field/item pairs to refer to.`},"fieldItem.field":{d:`field to refer to.`},"fieldItem.item":{d:`field item to refer to.`}},h:`Unimplemented Pivot`},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. tableArray can be a reference to a range or a range name.`},rowIndexNum:{d:`is the row number in tableArray 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.`}}},HSTACK:{s:`Horizontally stacks arrays into one array.`,p:{array:{d:`An array or reference to be stacked.`}}},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 linkLocation text.`}}},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.`}}},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, colNum is required.`},colNum:{d:`selects the column in Array or Reference from which to return a value. If omitted, rowNum is required.`},areaNum:{d:`selects the area in Array or Reference from which to return a value. If omitted, the first area is used.`}}},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 refText: R1C1-style = FALSE; A1-style = TRUE.`}}},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 lookupVector 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 lookupVector.`}}},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.`}}},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.`}}},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:`are 1 to 38 parameters that specify a piece of data.`}},h:`Unimplemented Connectivity`},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.`}}},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.`},by:{d:`the ranges to sort on and the direction for each.`},"by.byArray":{d:`the range or array to sort on.`},"by.sortOrder":{d:`a number indicating the desired sort order; 1 for ascending order (default), -1 for descending order.`}}},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.`}}},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.`},scanByColumn:{d:`Scan the array by column. By default, the array is scanned by row.`}}},TOROW:{s:`Returns the array as one row.`,p:{array:{d:`The array or reference to return as a row.`},ignore:{d:`Whether to ignore certain types of values. By default, no values are ignored.`},scanByColumn:{d:`Scan the array by column. By default, the array is scanned by row.`}}},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.`},colTrimMode:{d:`Column trim direction. 0 - none. 1 - leading, 2 - trailing, 3 - both.`}}},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.`},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.`}}},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. tableArray can be a reference to a range or a range name.`},colIndexNum:{d:`is the column number in tableArray 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.`}}},VSTACK:{s:`Vertically stacks arrays into one array.`,p:{array:{d:`An array or reference to be stacked.`}}},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.`}}},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 row.`},padWith:{d:`The value with which to pad. The default is #N/A.`}}},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.`},matchMode:{d:`0=exact (default), -1=exact/next-smaller, 1=exact/next-larger, 2=wildcard`},searchMode:{d:`1=first→last (default), -1=last→first, 2=binary asc, -2=binary desc`}}},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:`0=exact (default), -1=exact/next-smaller, 1=exact/next-larger, 2=wildcard`},searchMode:{d:`1=first→last (default), -1=last→first, 2=binary asc, -2=binary desc`}}}},t={ImageSizing:{s:`How IMAGE sizes the picture in its cell.`,m:{"Fit to cell":{d:`Fits the picture in the cell, keeping its aspect ratio.`},"Fill cell":{d:`Fills the cell, ignoring the picture's aspect ratio.`},"Original size":{d:`Keeps the picture's own size, which may overflow the cell.`},"Custom size":{d:`Uses the height and width given.`}}},MatchType:{s:`How MATCH compares the lookup value with the values in the array.`,m:{"Less than":{d:`The largest value that is less than or equal to the lookup value. The array must be sorted in ascending order.`},"Exact match":{d:`The first value that is exactly equal to the lookup value. The array can be in any order.`},"Greater than":{d:`The smallest value that is greater than or equal to the lookup value. The array must be sorted in descending order.`}}},SortOrder:{s:`The direction SORT and SORTBY sort a key in.`,m:{Ascending:{d:`Smallest to largest.`},Descending:{d:`Largest to smallest.`}}},IgnoreValues:{s:`Which values to leave out.`,m:{"Keep all values":{d:`Keep every value, blanks and errors included.`},"Ignore blanks":{d:`Leave out blank cells.`},"Ignore errors":{d:`Leave out error values.`},"Ignore blanks and errors":{d:`Leave out blank cells and error values.`}}},MatchMode:{s:`How XLOOKUP and XMATCH match the lookup value.`,m:{"Exact match":{d:`Only an item equal to the lookup value.`},"Exact match or next smaller item":{d:`An item equal to the lookup value, or else the next smaller item.`},"Exact match or next larger item":{d:`An item equal to the lookup value, or else the next larger item.`},"Wildcard character match":{d:`The lookup value may use *, ? and ~ as wildcards.`}}},SearchMode:{s:`The order in which XLOOKUP and XMATCH search.`,m:{"Search first-to-last":{d:`Search from the first item to the last.`},"Search last-to-first":{d:`Search from the last item to the first.`},"Binary search (sorted ascending order)":{d:`A binary search of items sorted in ascending order.`},"Binary search (sorted descending order)":{d:`A binary search of items sorted in descending order.`}}}};export{e as default,t as enums};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,t,n){let r=e.metrics(t);return function(e,t){let n=Math.max(0,t-(e.ascent+e.descent));return{lineHeight:t,lineGap:n,baseline:Math.floor(n/2)+e.ascent}}(r,n?n(e,t):r.lineHeight)}export{e as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={LINEST:{s:`Returns statistics that describe a linear trend matching known data points, by fitting a straight line using the least squares method.`,p:{knownYs:{d:`is the set of y-values you already know in the relationship y = mx + b.`},knownXs:{d:`is an optional set of x-values that you may already know in the relationship y = mx + b.`},constant:{d:`is a logical value: the constant b is calculated normally if Const = TRUE; b is set equal to 0 if Const = FALSE.`},stats:{d:`is a logical value: return additional regression statistics = TRUE; return m-coefficients and the constant b = FALSE.`}}},LOGEST:{s:`Returns statistics that describe an exponential curve matching known data points.`,p:{knownYs:{d:`is the set of y-values you already know in the relationship y = b*m^x.`},knownXs:{d:`is an optional set of x-values that you may already know in the relationship y = b*m^x.`},constant:{d:`is a logical value: the constant b is calculated normally if Const = TRUE; b is set equal to 1 if Const = FALSE.`},stats:{d:`is a logical value: return additional regression statistics = TRUE; return m-coefficients and the constant b = FALSE.`}}},TREND:{s:`Returns values along a linear trend fitted to known data points.`,p:{knownYs:{d:`The known y-values in the relationship y = mx + b.`},knownXs:{d:`Optional x-values. Defaults to {1,2,3,...,n}.`},newXs:{d:`The x-values for which to predict y. Defaults to knownX.`},constant:{d:`If FALSE, forces the constant b to zero. Defaults to TRUE.`}}},GROWTH:{s:`Returns numbers in an exponential growth trend matching known data points.`,p:{knownYs:{d:`is the set of y-values you already know in the relationship y = b*m^x, an array or range of positive numbers.`},knownXs:{d:`is an optional set of x-values that you may already know in the relationship y = b*m^x, an array or range the same size as Known_y's.`},newXs:{d:`are new x-values for which you want GROWTH to return corresponding y-values.`},constant:{d:`is a logical value: the constant b is calculated normally if Const = TRUE; b is set equal to 1 if Const = FALSE.`}}}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as e}from"./CvL9XK3Ht1mP-rGz.js";import{n as t}from"./Cenh1POxiGMxIQlv.js";var n=async(n,r)=>{let i=n;(function(e){if(e.byteLength<4)return!1;let t=new Uint8Array(e),n={gzip:[31,139],zip:[80,75,3,4],bz2:[66,90,104],br:[206,178,207,129]},r=Object.keys(n);for(let e=0;e<r.length;e++){let i=r[e],a=n[i],o=!0;for(let e=0;e<a.length;e++)if(t[e]!==a[e]){o=!1;break}if(o)return i}return!1})(i)&&(i=await t(i));let a=new TextDecoder().decode(i),o=JSON.parse(a),s={...r?.createWorkbookOptions??{},json:o};return new e(s)};export{n as readSXL};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=`movable-connect`;export{e as t};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CykecBozGGFl26KA.js","./HclGiUj8dZXDFmoM.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{t as e}from"./HclGiUj8dZXDFmoM.js";var t=class{constructor(e={}){this.workerWrapper=null}async getWorkerWrapper(){if(this.workerWrapper)return this.workerWrapper;let{createCompilerWorker:t}=await e(async()=>{let{createCompilerWorker:e}=await import(`./CykecBozGGFl26KA.js`);return{createCompilerWorker:e}},__vite__mapDeps([0,1]),import.meta.url);return this.workerWrapper=await t(),this.workerWrapper}async compileModule(e){try{return(await this.getWorkerWrapper()).execute(e)}catch(e){throw console.error(`Failed to compile using worker:`,e),e}}terminate(){this.workerWrapper?.terminate(),this.workerWrapper=null}};export{t as TypeScriptCompiler};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./-cpi3yOZYn6GsYN4.js";import{C as t,Z as n,y as r}from"./ChSvXfVMLxZsP9zG.js";import{X as i}from"./DGXDfjkGZjMRAXPg.js";import{t as a}from"./J73KTOmdZGNmnq-z.js";import{i as o,n as s,r as c,t as l}from"./CIged53b3hHKxa-o.js";var u=e(),d={cropAspect1x1:[1,1],cropAspect2x3:[2,3],cropAspect3x4:[3,4],cropAspect3x5:[3,5],cropAspect4x5:[4,5],cropAspect3x2:[3,2],cropAspect4x3:[4,3],cropAspect5x3:[5,3],cropAspect5x4:[5,4],cropAspect16x9:[16,9],cropAspect16x10:[16,10]},f={renderer:e=>{let t=e.movable.getContent();return(0,u.jsx)(s,{loadingPanel:(0,u.jsx)(`div`,{style:{position:`absolute`,width:`100%`,height:`100%`}}),picture:t,description:t.getDescription()??t.getName?.()??void 0,...e})},commands:(e,s)=>{let{sheet:u,movable:f,notifier:p}=s,m=f.getContent(),h=async e=>{try{await e()}catch(e){p?.showError?.(e)}},g=m.isReadOnly()?[n(`reason.sheetProtected`)]:[],_=m.toJSON().locks?.noCrop?[n(`reason.pictureCropLocked`)]:g;e.updateCommand(`cropToShape`,{tags:[`noTransaction`,`noRepeat`],disabledReasons:_,callback:e=>h(()=>{let t=typeof e==`object`&&e?e.geometry:e;m.setShapeType(typeof t==`string`?t:`rect`)})});for(let[t,[r,i]]of Object.entries(d))e.updateCommand(t,{tags:[`noTransaction`,`noRepeat`],disabledReasons:_,callback:()=>h(()=>{let e=l(f.getBounds(),m.getCrop(),r/i);return u.doBatch(()=>{f.setBounds(e.bounds),m.setCrop(e.crop)},{description:n(`op.setPictureCrop`)})})});let v=e=>()=>h(async()=>{let t=await m.getDetails();m.setCrop(e(f.getBounds(),t.getNaturalSize()))});e.updateCommand(`cropFill`,{tags:[`noTransaction`,`noRepeat`],disabledReasons:_,callback:v(o)}),e.updateCommand(`cropFit`,{tags:[`noTransaction`,`noRepeat`],disabledReasons:_,callback:v(c)});let y=m.getHyperlink(),b=y?[]:[n(`reason.pictureNoHyperlink`)];e.updateCommand(`updatePictureHyperlink`,{tags:[`noTransaction`,`noRepeat`],callback:()=>{a(m,u,p)}}),e.updateCommand(`openPictureHyperlink`,{tags:[`noTransaction`,`noRepeat`],disabledReasons:b,callback:()=>h(async()=>{await m.getHyperlink()?.open()})}),e.updateCommand(`deletePictureHyperlink`,{tags:[`noTransaction`,`noRepeat`],disabledReasons:y?g:b,callback:()=>h(()=>{m.setHyperlink(null)})});let x=async e=>{let t=await(async e=>{let t=await Promise.resolve(p?.showBusy?.(r(n(`op.setPictureResource`)))??null);try{let t=u.getResources().add(e);return await t.toBuffer(),t}catch(e){let t=e;if(typeof t!=`string`){console.warn(e);let n=typeof e?.cause==`string`?e.cause:``,i=typeof e?.message==`string`?e.message:``;n&&(i=i?`${i} (${n})`:n),t=r(`error.insertImage.unresolved`,{detail:i})}return p?.showMessage?.(t,{type:i.Error}),null}finally{t?.()}})(e);t&&m.setResource(t)};e.updateCommand(`changePictureFromFile`,{tags:[`noTransaction`,`noRepeat`],callback:async e=>{let n=null,r=null;typeof e==`string`?r=e:n=e??null,(n||(n=await t.openFileDialog(r??`image/*`),n))&&await x({source:{file:await Promise.resolve(n)}})}}),e.updateCommand(`changePictureFromURL`,{tags:[`noTransaction`,`noRepeat`],callback:async e=>{if(!e){let t=await p?.showInput?.({title:r(`dialog.changePicture.title`),description:r(`dialog.changePicture.description`),inputLabel:r(`dialog.insertImage.inputLabel`),initialValue:`https://picsum.photos/360`,propsInput:{style:{minWidth:`440px`}},options:[{id:`Change`,label:()=>r(`dialog.change`)}]});if(!t||t.option!==`Change`)return;e=t.input}e&&await x({source:{fetch:e}})}})}};export{f as PictureKind};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BRqSWCr2mTVNFquQ.js","./CvL9XK3Ht1mP-rGz.js","./HclGiUj8dZXDFmoM.js","./ChSvXfVMLxZsP9zG.js","./3Ls_kOvlQseMV8Q0.js","./DcrVJCyDwGKeil2U.js","./Ca6nxdhEuLLty3d7.js","./nHThFXCAZFOM_npq.js","./BcOdl17EeFSxnAiq.js","./CnZJ44ncMxZ4ivcB.js","./BQnELVV0uR4T4ItQ.js","./CnXLpFE_vFrJ5Jbf.js","./21oAESJyBGXeHegm.js","./Cenh1POxiGMxIQlv.js","./-i_fTASJeu9NdNH_.js","./BCl5buf87xUgIfEB.js","./9w0ECZmzGUyk3F_O.js","./KoxRo2J_cwB_yOd5.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{t as e}from"./HclGiUj8dZXDFmoM.js";import{B as t}from"./ChSvXfVMLxZsP9zG.js";import{n}from"./Bor_tayB4yBfNOH5.js";import{r}from"./9w0ECZmzGUyk3F_O.js";var i=r({MAX_WORKBOOK_NAME_SIZE:()=>96,isReservedFileNameChar:()=>s,isValidFileName:()=>c}),a=/^(con|prn|aux|nul|com\d|lpt\d)$/i,o=/[<>:"/\\|?*\u0000-\u001F]/,s=e=>o.test(e),c=e=>!(!e||e.length>255)&&!o.test(e)&&!a.test(e)&&e!==`.`&&e!==`..`,l=t(`io:sxlReader`,()=>e(()=>import(`./BRqSWCr2mTVNFquQ.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url)),u=t(`io:sxlWriter`,()=>e(()=>import(`./-i_fTASJeu9NdNH_.js`),__vite__mapDeps([14,13]),import.meta.url)),d=async(e,t)=>(await l.load()).readSXL(e,t),f=e=>async(t,n)=>(await u.load()).writeSXL(t,{...n,compress:n?.compress??e.compress,whiteSpace:n?.whiteSpace??e.whiteSpace}),p={key:`SheetXL`,description:`SheetXL Workbook`,mimeType:`application/vnd.sheetxl.sheet`,exts:[`sxl`],handler:d},m={key:`JSON`,description:`SheetXL Workbook (JSON)`,mimeType:`application/json`,exts:[`json`],handler:d},h={key:`SheetXL`,mimeType:`application/vnd.sheetxl.sheet`,description:`SheetXL Workbook`,exts:[`sxl`],handler:f({compress:!0,whiteSpace:0})},g={key:`JSON`,mimeType:`application/json`,description:`SheetXL Workbook (JSON)`,exts:[`json`],advanced:!0,handler:f({compress:!1,whiteSpace:2})},_={name:`SXLPlugin`,version:`0.8.0-beta.14`,description:`Import and export SXL format`,author:`SheetXL`,async register(e){await e.registerReadFormat(p),await e.registerReadFormat(m),await e.registerWriteFormat(h),await e.registerWriteFormat(g)}},v=t(`io:csvReader`,()=>e(()=>import(`./BCl5buf87xUgIfEB.js`),__vite__mapDeps([15,2,8,1,3,4,5,6,7,9,10,11,12,16]),import.meta.url)),y=t(`io:csvWriter`,()=>e(()=>import(`./KoxRo2J_cwB_yOd5.js`),__vite__mapDeps([17,2,16]),import.meta.url)),b={key:`CSV`,description:`Comma Separated Values`,mimeType:`text/csv`,exts:[`csv`],handler:async(e,t)=>(await v.load()).readCSV(e,t)},x={key:`CSV`,mimeType:`text/csv`,description:`Comma Separated Values`,exts:[`csv`],handler:async(e,t)=>(await y.load()).writeCSV(e,t)},S={name:`CSVPlugin`,version:`0.8.0-beta.14`,description:`Import and export CSV format`,author:`SheetXL`,async register(e){await e.registerReadFormat(b),await e.registerWriteFormat(x)}},C={name:`@sheetxl/io`,version:`0.8.0-beta.14`,description:`Built-in I/O formats for SheetXL`,author:`SheetXL`,async register(e){await _.register(e),await S.register(e),await n.register(e)}};export{S as CSVPlugin,C as IOPlugin,i as IOUtils,_ as SXLPlugin};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={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.`}}},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.`}}},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.`},basis:{d:`is the type of day count basis to use.`}}},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.`}}},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.`}}},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.`}}},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.`}}}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={CONVERT:{s:`Converts a number from one measurement system to another.`,p:{number:{d:`is the value in fromUnit to convert.`},fromUnit:{d:`is the units for number.`},toUnit:{d:`is the units for the result.`}}}};export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e;(function(e){e.MAX_TEXT_LENGTH=32767;let t=e.MAX_SIGNIFICANT_DIGITS=15;e.truncateNumberText=function(e){let n=e.length;if(n<=t)return e;let r=0,i=null;for(let a=0;a<n;a++){let n=e.charCodeAt(a);if(n>=48&&n<=57){if(r===0&&n===48)continue;r++,r>t&&((i??=e.split(``))[a]=`0`)}else if((n===69||n===101)&&r>0)break}return i===null?e:i.join(``)};let n=e.MIN_NUMBER=22250738585072014e-324;e.flushSubnormal=function(e){return e>-n&&e<n?0:e},e.isNumberTextInRange=function(e,t=`.`){let n=e.length;if(n<309&&e.indexOf(`E`)<0&&e.indexOf(`e`)<0)return!0;let r=t.charCodeAt(0),i=!1,a=!1,o=!1,s=0,c=0,l=0,u=0;for(;u<n;u++){let t=e.charCodeAt(u);if(t>=48&&t<=57)i=!0,a?(l++,o||(t===48?c++:o=!0)):(o||t!==48)&&(o=!0,s++);else if(t===r)a=!0;else if((t===69||t===101)&&i)break}let d=0;if(u<n){let t=u+1,r=!1,i=e.charCodeAt(t);i===45?(r=!0,t++):i===43&&t++;let a=0;for(;t<n;t++){let n=e.charCodeAt(t);if(n<48||n>57)break;d=10*d+(n-48),a++}if(a===0)return!0;r&&(d=-d)}if(o){let e=(s>0?s-1:-(c+1))+d;return e>=-309&&e<=307}let f=d-l;return f>=-308&&f<=308}})(e||={});var t,n,r,i,a={Number:`number`,String:`string`,Boolean:`boolean`,Error:`error`,RichData:`richData`,Null:`null`},o={...a,Date:`date`},s={...a,Reference:`reference`,Array:`array`,Lambda:`lambda`,Omitted:`omitted`},c=/[.*+?^${}()|[\]\\]/,l=e=>c.test(e)?`\\`+e:e,u={isWildCard:e=>typeof e==`string`&&/[*?]/.test(e),toRegex:(e,t,n=!1)=>{let r=``,i=e.length;for(let t=0;t<i;t++){let n=e[t];if(n===`~`){let n=e[t+1];n!==`*`&&n!==`?`&&n!==`~`||(r+=l(n),t++)}else r+=n===`*`?`[\\s\\S]*`:n===`?`?`[\\s\\S]`:l(n)}return RegExp(n===`start`?`^${r}`:n?`^${r}$`:r,t)}},d=e=>typeof e==`object`&&!!e&&!0===e.isLazy;(n=t||={}).Axis={Column:`column`,Row:`row`},n.AxisSelection={...t.Axis,Both:`both`},n.Direction={Up:`up`,Down:`down`,Left:`left`,Right:`right`},(r||={}).Aggregate={Count:`count`,NumericalCount:`numericalCount`,Sum:`sum`,Average:`average`,StdDev:`stdDev`,PopulationStdDev:`stdDevP`,Variance:`var`,PopulationVariance:`varP`,Min:`min`,Max:`max`},function(e){let t=e.Code={Parse:0,Null:1,Div0:2,Value:3,Ref:4,Name:5,Num:6,NA:7,GettingData:8,Spill:9,Connect:10,Blocked:11,Unknown:12,Field:13,Calc:14,Busy:16,Python:19,Timeout:20},n=e.Label={Parse:`#PARSE!`,Null:`#NULL!`,Div0:`#DIV/0!`,Value:`#VALUE!`,Ref:`#REF!`,Name:`#NAME?`,Num:`#NUM!`,NA:`#N/A`,GettingData:`#GETTING_DATA`,Spill:`#SPILL!`,Connect:`#CONNECT!`,Blocked:`#BLOCKED!`,Unknown:`#UNKNOWN!`,Field:`#FIELD!`,Calc:`#CALC!`,Busy:`#BUSY!`,Python:`#PYTHON!`,Timeout:`#TIMEOUT!`};class r extends Error{constructor(e,t,n,r){super(n,r),this._label=t,this._code=e,this.details=r}static{this.code=i.Code.Unknown}get isFormulaError(){return!0}getLabel(){return this._label}getCode(){return this._code}equals(e){return!!e&&(this._code===e._code||this._code===e.code)}get[Symbol.toStringTag](){return`[FormulaError]`}toString(){return this._label}}e.Known=r;class a extends r{constructor(e,r){super(t.Parse,n.Parse,e,r)}static{this.code=i.Code.Parse}getDetails(){let e=this.details;return{line:e?.line??1,column:e?.column??1,offset:e?.offset??0,length:e?.length??0}}}e.Parse=a;class o extends r{constructor(e,r){super(t.Null,n.Null,e,r)}static{this.code=i.Code.Null}}e.Null=o;class s extends r{constructor(e,r){super(t.Div0,n.Div0,e,r)}static{this.code=i.Code.Div0}}e.Div0=s;class c extends r{constructor(e,r){super(t.Value,n.Value,e,r)}static{this.code=i.Code.Value}}e.Value=c;class l extends r{constructor(e,r){super(t.Ref,n.Ref,e,r)}static{this.code=i.Code.Ref}}e.Ref=l;class u extends r{constructor(e,r){super(t.Name,n.Name,e,r)}static{this.code=i.Code.Name}}e.Name=u;class d extends r{constructor(e,r){super(t.Num,n.Num,e,r)}static{this.code=i.Code.Num}}e.Num=d;class f extends r{constructor(e,r){super(t.NA,n.NA,e,r)}static{this.code=i.Code.NA}}e.NA=f;class p extends r{constructor(e,r){super(t.GettingData,n.GettingData,e,r)}static{this.code=i.Code.GettingData}}e.GettingData=p;class m extends r{constructor(e,r){super(t.Spill,n.Spill,e,r)}static{this.code=i.Code.Spill}}e.Spill=m;class h extends r{constructor(e,r){super(t.Connect,n.Connect,e,r)}static{this.code=i.Code.Connect}}e.Connect=h;class g extends r{constructor(e,r){super(t.Blocked,n.Blocked,e,r)}static{this.code=i.Code.Blocked}}e.Blocked=g;class _ extends r{constructor(e,r){super(t.Unknown,n.Unknown,e,r)}static{this.code=i.Code.Unknown}}e.Unknown=_;class v extends r{constructor(e,r){super(t.Field,n.Field,e,r)}static{this.code=i.Code.Field}}e.Field=v;class y extends r{constructor(e,r){super(t.Calc,n.Calc,e,r)}static{this.code=i.Code.Calc}}e.Calc=y;class b extends r{constructor(e,r){super(t.Busy,n.Busy,e,r)}static{this.code=i.Code.Busy}}e.Busy=b;class x extends r{constructor(e,r){super(t.Python,n.Python,e,r)}static{this.code=i.Code.Python}}e.Python=x;class S extends r{constructor(e,r){super(t.Timeout,n.Timeout,e,r)}static{this.code=i.Code.Timeout}}e.Timeout=S}(i||={});var f={};f[i.Code.Parse]=i.Parse,f[i.Code.Null]=i.Null,f[i.Code.Div0]=i.Div0,f[i.Code.Value]=i.Value,f[i.Code.Ref]=i.Ref,f[i.Code.Name]=i.Name,f[i.Code.Num]=i.Num,f[i.Code.NA]=i.NA,f[i.Code.GettingData]=i.GettingData,f[i.Code.Spill]=i.Spill,f[i.Code.Connect]=i.Connect,f[i.Code.Blocked]=i.Blocked,f[i.Code.Unknown]=i.Unknown,f[i.Code.Field]=i.Field,f[i.Code.Calc]=i.Calc,f[i.Code.Busy]=i.Busy,f[i.Code.Python]=i.Python,f[i.Code.Timeout]=i.Timeout;var p=new Map,m=new Map,h=new Map,g=new Map,_=Object.keys(f);for(let e=0;e<_.length;e++){let t=f[_[e]],n=new t;h.set(n.getLabel(),t),g.set(n.getCode(),t),p.set(n.getLabel(),n),m.set(n.getCode(),n)}(function(e){let t=e.getBuiltInByCode=e=>m.get(e);e.BuiltIn={Parse:t(i.Code.Parse),Null:t(i.Code.Null),Div0:t(i.Code.Div0),Value:t(i.Code.Value),Ref:t(i.Code.Ref),Name:t(i.Code.Name),Num:t(i.Code.Num),NA:t(i.Code.NA),GettingData:t(i.Code.GettingData),Spill:t(i.Code.Spill),Connect:t(i.Code.Connect),Blocked:t(i.Code.Blocked),Unknown:t(i.Code.Unknown),Field:t(i.Code.Field),Calc:t(i.Code.Calc),Busy:t(i.Code.Busy),Python:t(i.Code.Python),Timeout:t(i.Code.Timeout)},e.newTypedError=(e,t,n)=>{let r;return r=typeof e==`string`?h.get(e):g.get(e),r||=i.Unknown,new r(t,n)},e.getBuiltInByLabel=e=>p.get(e),e.isError=function(e,t){return!!e&&!0===e.isFormulaError&&(t===void 0||e.getCode()===t)}})(i||={});var v=class{constructor(e){this._subscribeFn=e}subscribe(e,t,n){let r=typeof e==`object`?{next:e.next||(()=>{}),error:e.error||(()=>{}),complete:e.complete||(()=>{}),unsubscribe:()=>{}}:{next:e||(()=>{}),error:t||(()=>{}),complete:n||(()=>{}),unsubscribe:()=>{}},i=this._subscribeFn(r);return r.unsubscribe=()=>{typeof i==`function`&&i()},r}},y=class{createRange(e,t,n){throw x(`createRange`)}flattenAreas(e){throw x(`flattenAreas`)}getReference(e,t){throw x(`getReference`)}getResizedReference(e,t,n){throw x(`getResizedReference`)}getNumberFormat(e,t){throw x(`getNumberFormat`)}fromSerialDate(e,t){throw x(`fromSerialDate`)}toSerialDate(e,t){throw x(`toSerialDate`)}getDateParts(e,t){throw x(`getDateParts`)}getSerialDate(e,t,n,r,i,a,o){throw x(`getSerialDate`)}getNow(){throw x(`getNow`)}getRandom(){return Math.random()}getValueAt(e,t,n,r){return null}getEntireCoords(){return T}isValidDate(e,t){return e instanceof Date||Object.prototype.toString.call(e)===`[object Date]`?!isNaN(e.getTime()):!t&&typeof e==`number`&&!(e<0||e>D)}getRow(){return 0}getColumn(){return 0}isImplicitIntersect(){return!1}getFormulaAt(e,t,n){return null}getSpillAt(e,t,n){return null}getSheetIndex(e){return-1}getSheetCount(){return 1}markVolatile(){}defer(e,t){}formatResults(e){}filterHidden(e,t){return e}filterTotals(e){return e}getFunction(e){return null}getAddress(e,t){throw x(`getAddress`)}parseAsSerialDate(e,t){throw x(`parseAsSerialDate`)}parseAsDate(e,t){throw x(`parseAsDate`)}parseAsNumber(e,t){throw x(`parseAsNumber`)}createCriteria(e,t){throw x(`createCriteria`)}createGrouping(e,t){throw x(`createGrouping`)}parseAsLiteral(e){let t=e.toUpperCase();return t===`TRUE`||t!==`FALSE`&&i.getBuiltInByLabel(t)}toText(e){return typeof e==`string`?e:e==null?``:typeof e==`boolean`?e?`TRUE`:`FALSE`:e?.isFormulaError?e.getLabel():String(e)}compare(e,t,n){if(e===t)return 0;let r=b(e),i=b(t);return r===i?e<t?-1:+(e>t):r<i?-1:1}getRuntime(){return E}getArgs(){throw new w(S)}createRichData(e,t){throw new w(C)}},b=e=>{if(e==null)return 0;switch(typeof e){case`number`:return 1;case`string`:return 2;case`boolean`:return 3;default:return 4}},x=e=>new w(`FormulaContext.${e}() is only valid while a function body is running. A deferred executor reads its workbook through ctx.getFormulaContext().`),S=`FormulaContext.getArgs() is only valid while a function body is running`,C=`FormulaContext.createRichData() needs a workbook being calculated`,w=class extends Error{constructor(e=`Not implemented in StubbedFormulaContext`){super(e),this.name=`NotImplementedError`}},T=Object.freeze({colStart:0,rowStart:0,colEnd:2**14-1,rowEnd:2**20-1}),E={isDate1904:()=>!1,getLocale:()=>A.tag,getLocaleProfile:()=>A,isR1C1:()=>!1,getNow:()=>0,getRandom:()=>Math.random(),getLocation:()=>`unknown`,getVersion:()=>`1.0.0`,getOS:()=>`unknown`,getUser:()=>`unidentified`,getDescription:()=>`Stubbed Formula Context`},D=2958465,O=new y,k=class{constructor(){this._scope=O,this._argsFn=null}_setScope(e){this._scope=e??O}_getScope(){return this._scope}_setArgsProvider(e){this._argsFn=e}getNumberFormat(e,t){return this._getScope().getNumberFormat(e,t)}getEntireCoords(){return this._getScope().getEntireCoords()??T}parseAsSerialDate(e,t){return this._getScope().parseAsSerialDate(e,t)}parseAsDate(e,t){return this._getScope().parseAsDate(e,t)}parseAsNumber(e,t){return this._getScope().parseAsNumber(e,t)}createCriteria(e,t){return this._getScope().createCriteria(e,t)}createGrouping(e,t){return this._getScope().createGrouping(e,t)}parseAsLiteral(e){let t=this._getScope();return t.parseAsLiteral?t.parseAsLiteral(e):O.parseAsLiteral(e)}toText(e){return this._getScope().toText(e)}isValidDate(e,t=!1){return this._getScope().isValidDate(e,t)}fromSerialDate(e,t=!1){return this._getScope().fromSerialDate(e,t)}toSerialDate(e,t=!1){return this._getScope().toSerialDate(e,t)}getDateParts(e,t){return this._getScope().getDateParts(e,t)}getSerialDate(e,t,n,r=0,i=0,a=0,o=0){return this._getScope().getSerialDate(e,t,n,r,i,a,o)}getNow(){return this._getScope().getNow()}getRandom(){return this._getScope().getRandom?.()??Math.random()}createRange(e,t,n){return this._getScope().createRange(e,t,n)}flattenAreas(e){if(!Array.isArray(e))return e;let t=[];for(let n=0;n<e.length;n++){let r=e[n],{rows:i,columns:a}=r.getShape();for(let e=0;e<i;e++)for(let n=0;n<a;n++)t.push(r.getValueAt(e,n))}return this.createRange(t.length,1,(e,n)=>t[n.rowIndex])}getRow(){return this._getScope().getRow?.()??0}getColumn(){return this._getScope().getColumn?.()??0}isImplicitIntersect(){return this._getScope().isImplicitIntersect?.()??!1}getReference(e,t){return this._getScope().getReference(e,t)}getResizedReference(e,t,n){return this._getScope().getResizedReference(e,t,n)}getValueAt(e,t,n){return this._getScope().getValueAt(e,t,n)}getFormulaAt(e,t,n){return this._getScope().getFormulaAt?.(e,t,n)??null}getSpillAt(e,t,n){return this._getScope().getSpillAt?.(e,t,n)??null}getSheetIndex(e){return this._getScope().getSheetIndex?.(e)??-1}getSheetCount(){return this._getScope().getSheetCount?.()??1}markVolatile(){this._getScope().markVolatile?.()}defer(e,t){return this._getScope().defer?.(e,t)}formatResults(e){this._getScope().formatResults?.(e)}filterHidden(e,t){return this._getScope().filterHidden?.(e,t)??e}filterTotals(e){return this._getScope().filterTotals?.(e)??e}getFunction(e){return this._getScope().getFunction?.(e)??null}getAddress(e,t){return this._getScope().getAddress(e,t)}compare(e,t,n){return this._getScope().compare?.(e,t,n)??O.compare(e,t,n)}getRuntime(){return this._getScope().getRuntime()}createRichData(e,t){let n=this._getScope();return n.createRichData?n.createRichData(e,t):O.createRichData(e,t)}getArgs(){let e=this._argsFn,t=e?e():null;if(!t)throw new w(S);return t}get[Symbol.toStringTag](){return`[FormulaContext]`}toString(){return this._getScope()?.toString?.()??`{STUB SCOPE}`}},A=Object.freeze({tag:`en-US`,numberingSystem:`latn`,decimal:`.`,group:`,`,grouping:[3],minusSign:`-`,percentSign:`%`,permilleSign:`‰`,currencyCode:`USD`,currencySymbol:`$`,currencyDisplay:`symbol`,currencyPosition:`before`,currencySpacing:`tight`,date:Object.freeze({calendar:`gregory`,short:`M/d/yy`,medium:`MMM d, y`,long:`MMMM d, y`,timeShort:`h:mm a`,timeLong:`h:mm:ss a`,am:`AM`,pm:`PM`,firstDay:0,weekend:[6,0],monthsWide:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],monthsAbbr:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],weekdaysWide:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],weekdaysAbbr:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],hour12:!0}),listSeparator:`,`,csvDelimiter:`,`,rtl:!1,collator:Object.freeze({sensitivity:`base`,numeric:!0})}),j=new k;export{j as a,t as c,i,u as l,d as n,o,e as r,s,a as t,v as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={ENCODEURL:{s:`Returns a URL-encoded string.`,p:{text:{d:`is a string to be URL encoded.`}}},WEBSERVICE:{s:`Retrieves data from a web service.`,p:{url:{d:`is the URL of the web service.`}}}};export{e as default};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BUjI304IvdJnFXH3.js","./-cpi3yOZYn6GsYN4.js","./CbXtAM7H-Jg_J0dk.js","./ChSvXfVMLxZsP9zG.js","./HclGiUj8dZXDFmoM.js","./DGXDfjkGZjMRAXPg.js","./DQWHkaQeNXft9j8b.js","./J73KTOmdZGNmnq-z.js","./CIged53b3hHKxa-o.js","./CXGgKVbVXjWzE0p6.js","./BEwl-ucV9Jfr0RoC.js","./B4PbXdzBe9BsoZ0e.js","./DmbuCapSSCYIa3yk.js","./Ca6nxdhEuLLty3d7.js","./3Ls_kOvlQseMV8Q0.js","./nHThFXCAZFOM_npq.js","./CZf9s6otzzoaBlSs.js","./CbUDukmvDZmVfhJH.js","./CXUO3vYip3JPSJ7A.js","./BHqg55S-4_OoAu3P.js","./C9SC-cEIt6gdhZRw.js","./BFaiQZKle44Rhyou.js","./BowRIybLgENunTOT.js","./gG0AFZ45VxS_moMw.js","./BTOQaSn9DDyJPUlX.js","./zFbb8ESzwR_bE7IQ.js","./DDQWM8rNYCYzKa9R.js","./CSUd8n1H0VBfREnk.js","./C2Wh2h27c7FUb8Yk.js","./B-KIwD5F_5S-NsPg.js","./DKVB6ddRfDJatYid.js","./CpbohdgEaEsVDi9J.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{n as e}from"./CbXtAM7H-Jg_J0dk.js";import{i as t,t as n}from"./-cpi3yOZYn6GsYN4.js";import{n as r}from"./CXGgKVbVXjWzE0p6.js";import{t as i}from"./HclGiUj8dZXDFmoM.js";import{B as a}from"./ChSvXfVMLxZsP9zG.js";import{$ as o,et as s}from"./DGXDfjkGZjMRAXPg.js";import{S as c}from"./B4PbXdzBe9BsoZ0e.js";var l=e(t(),1),u=n(),d=Object.freeze({x:0,y:0,width:0,height:0}),f=(e,t,n)=>{let r=n?.bounds??e.getBounds(),i=r?t.toPaneBounds(r):d,a=s.getDevicePixelRatio();return{left:s.snapDeviceEdge(i.x,a),top:s.snapDeviceEdge(i.y,a),width:i.width,height:i.height,rotation:n?.rotation??(e.getRotation()||0),flip:n?.flip??e.getFlip()}},p=`data-movable-id`,m=e=>{let t=e;for(let e=t.getParent();e;e=t.getParent())t=e;return t},h=(e,t,n)=>{let r=[],i=t;for(;i&&i!==n;){let e=i.getAttribute?.(p);e&&r.unshift(e),i=i.parentElement}if(r.length===0)return e;let a=[e];for(let e of r){let t=a[a.length-1].getMovables()?.getItems().find(t=>t.getId()===e);if(!t)break;a.push(t)}let o=a.length-1;for(let e=o;e>=0;e--)if(a[e].isSelected())return a[Math.min(e+1,o)];let s=e.getRange().getWorksheet().getView().getMovableSelection().getContainer();return s&&m(s)===e?a[Math.min(g(s)+1,o)]:e},g=e=>{let t=0;for(let n=e.getParent();n;n=n.getParent())t++;return t},_=(0,l.createContext)(new Map),v=(0,l.memo)(({movable:e,preview:t,onHost:n,children:i})=>{let a=c(),[,o]=(0,l.useReducer)(e=>e+1,0);r(e,{onBoundsChange:()=>o(),onAnyChange:()=>o()});let s=(0,l.useCallback)(t=>{n(e,t)},[e,n]),d=f(e,a,t);return(0,u.jsx)(`div`,{className:`movable-adornment`,ref:s,style:{position:`absolute`,left:d.left,top:d.top,width:d.width,height:d.height,transform:d.rotation?`rotate(${d.rotation}deg)`:void 0,transformOrigin:`center`,zIndex:3001,pointerEvents:`none`},children:i})});v.displayName=`MovableAdornment`;var y={nw:[-1,-1],n:[0,-1],ne:[1,-1],w:[-1,0],e:[1,0],sw:[-1,1],s:[0,1],se:[1,1]},b=[`ew-resize`,`nwse-resize`,`ns-resize`,`nesw-resize`],x=(e,t)=>{let n=180*Math.atan2(e[1],e[0])/Math.PI+t;return b[(Math.round(n/45)%4+4)%4]},S=(0,l.memo)(e=>{let{directions:t,rotation:n,isDragging:r=!1,onResizeStart:i,onResize:a,onResizeEnd:o,onResizeCancel:s,context:c=!1,onMoveStart:d,children:f}=e,p=(0,l.useRef)(null),m=(0,l.useCallback)(e=>{if(e.button!==0)return;e.stopPropagation(),e.preventDefault();let t=y[e.currentTarget.dataset.direction??``];t&&i()&&(p.current={pointerId:e.pointerId,direction:t,press:{x:e.clientX,y:e.clientY}},e.currentTarget.setPointerCapture(e.pointerId))},[i]),h=(0,l.useCallback)(e=>{let t=p.current;t&&t.pointerId===e.pointerId&&(e.stopPropagation(),a(t.direction,[e.clientX-t.press.x,e.clientY-t.press.y],e.shiftKey))},[a]),g=(0,l.useCallback)(e=>{let t=p.current;t&&t.pointerId===e.pointerId&&(e.stopPropagation(),p.current=null,o())},[o]),_=(0,l.useCallback)(e=>{let t=p.current;t&&t.pointerId===e.pointerId&&(p.current=null,s())},[s]),v=(0,l.useCallback)(e=>{e.button===0&&(e.stopPropagation(),e.preventDefault(),d?.(e.nativeEvent))},[d]);return(0,u.jsxs)(`div`,{className:[`movable-control`,r?`dragging`:null,c?`context`:null].filter(Boolean).join(` `),children:[f,(0,u.jsx)(`div`,{className:`movable-control-outline`}),t.map(e=>{let t=y[e];return t?(0,u.jsx)(`div`,{className:`movable-control-handle`,"data-direction":e,style:{left:50*(t[0]+1)+`%`,top:50*(t[1]+1)+`%`,cursor:x(t,n)},onPointerDown:m,onPointerMove:h,onPointerUp:g,onPointerCancel:_},e):null}),d?(0,u.jsx)(`div`,{className:`movable-move-handle`,onPointerDown:v,children:(0,u.jsx)(`svg`,{viewBox:`0 0 24 24`,"aria-hidden":`true`,children:(0,u.jsx)(`path`,{d:`M10 9h4V6h3l-5-5-5 5h3v3zm-1 1H6V7l-5 5 5 5v-3h3v-4zm14 2-5-5v3h-3v4h3v3l5-5zm-9 3h-4v3H7l5 5 5-5h-3v-3z`})})}):null]})});S.displayName=`MovableControl`;var C=new Map,w=new Map,T=new Map,E=new Set,D=()=>{for(let e of[...E])e()},O=!1,k=()=>{O||(O=!0,function(e){e(`picture`,()=>i(()=>import(`./BUjI304IvdJnFXH3.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]),import.meta.url),{select:e=>e.PictureKind}),e(`chart`,()=>i(()=>import(`./CbUDukmvDZmVfhJH.js`),__vite__mapDeps([17,2,1,18,3,4,5,6,19,20]),import.meta.url),{select:e=>e.ChartKind}),e(`slicer`,()=>i(()=>import(`./BFaiQZKle44Rhyou.js`),__vite__mapDeps([21,2,1,9,10,3,4,5,6,22,13,14,15]),import.meta.url),{select:e=>e.SlicerKind}),e(`shape`,()=>i(()=>import(`./gG0AFZ45VxS_moMw.js`),__vite__mapDeps([23,2,1,9,10,3,4,5,6,11,24,25,20,13,14,15,12,16]),import.meta.url),{select:e=>e.ShapeKind,selectionShadow:!1}),e(`group`,()=>i(()=>import(`./DDQWM8rNYCYzKa9R.js`),__vite__mapDeps([26,2,1,9,11,3,4,5,6]),import.meta.url),{select:({GroupEditor:e})=>t=>(0,u.jsx)(e,{...t,container:t.movable.getContent()})}),e(`note`,()=>i(()=>import(`./CSUd8n1H0VBfREnk.js`),__vite__mapDeps([27,2,1,9,18,5,3,4,6,25,13,14,15]),import.meta.url),{select:({NoteEditor:e})=>t=>{let{onContextMenuCapture:n,...r}=t;return(0,u.jsx)(e,{...r,note:t.movable.getContent()})}}),e(`error`,()=>i(()=>import(`./C2Wh2h27c7FUb8Yk.js`).then(e=>e.t),__vite__mapDeps([28,29,2,1,30,18,5,3,4,6]),import.meta.url),{select:({ErrorContentFrame:e})=>t=>(0,u.jsx)(e,{...t})});let t=(t,n)=>{e(t,()=>i(()=>import(`./CpbohdgEaEsVDi9J.js`),__vite__mapDeps([31,2,1,9,13,4,3,14,15]),import.meta.url),{select:n})};t(`button`,e=>e.ButtonRenderer),t(`checkBox`,e=>e.CheckBoxRenderer),t(`optionButton`,e=>e.OptionButtonRenderer),t(`listBox`,e=>e.ListBoxRenderer),t(`dropDown`,e=>e.DropDownRenderer),t(`scrollBar`,e=>e.ScrollBarRenderer),t(`spinner`,e=>e.SpinnerRenderer),t(`groupBox`,e=>e.GroupBoxRenderer),t(`label`,e=>e.LabelRenderer),t(`editBox`,e=>e.UnmodeledControlRenderer),t(`dialog`,e=>e.UnmodeledControlRenderer),t(`formControl`,e=>e.UnmodeledControlRenderer)}(H))},A=e=>(k(),w.get(e)??C.get(e)),j=e=>{let{movable:t,fallback:n,children:r}=e,[,i]=(0,l.useReducer)(e=>e+1,0),a=t.isContentLoaded();return o(!a),(0,l.useEffect)(()=>{if(a)return;let e=!0;return t.whenContentLoaded().then(()=>{e&&i()}),()=>{e=!1}},[t,a]),(0,u.jsx)(u.Fragment,{children:a?r:n})},M=e=>{let[,t]=(0,l.useReducer)(e=>e+1,0),n=e.module;return(0,l.useEffect)(()=>{if(n)return;let r=!0,i=L(()=>{r&&e.module&&t()});return e.loadModule().catch(()=>{}),()=>{r=!1,i()}},[e,n]),n},N=e=>{let t=M(e.kind),[n,r]=(0,l.useState)(!1);if((0,l.useEffect)(()=>{if(t)return;let n=!0;return e.kind.loadModule().catch(()=>{n&&r(!0)}),()=>{n=!1}},[e.kind,t]),o(!t&&!n),!t)return(0,u.jsx)(u.Fragment,{children:e.fallback});let i=t.renderer;return(0,u.jsx)(i,{...e.props})},P=(e,t,n,r)=>{let i=a(e,t,{select:e=>{let t=n?.select?n.select(e):e,r=typeof(i=t)==`object`&&i!==null&&`renderer`in i?t:{renderer:t};var i;return l.module=r,l.control=r.control,l.loaded=!0,D(),r},prefetch:!1!==n?.prefetch&&(r??!0)}),o=null,s=n?.fallback??null,c=e=>(0,u.jsx)(j,{movable:e.movable,fallback:s,children:(0,u.jsx)(N,{kind:l,fallback:s,props:e})}),l={Renderer:n?.hitArea===`content`?c:e=>(0,u.jsx)(`div`,{className:`movable-content`,style:e.style,children:c(e)}),loaded:!1,control:void 0,LazyControl:e=>{let t=M(l)?.control??S;return(0,u.jsx)(t,{...e})},ownShadow:!1===n?.selectionShadow,loadModule:()=>(o??=i.load().then(e=>(o=null,e),t=>{throw o=null,console.warn(`The renderer '${e}' could not be loaded; its movables are drawn as the fallback.`,t),t}),o),module:void 0,lazyModule:i};return l};function F(e){let t=A(e);if(!t?.module)return;let n=T.get(e);n&&!n.pane&&n.load().catch(()=>{});let{control:r,commands:i,toolbar:a,pane:o}=t.module;return{type:e,control:r,commands:i,toolbar:a,pane:n?n.pane:o}}async function I(e){let t=A(e);if(t){try{await t.loadModule(),await T.get(e)?.load()}catch{return}return F(e)}}function L(e){return E.add(e),()=>{E.delete(e)}}function R(e){return!A(e)?.ownShadow}function z(e){let t=A(e);if(t)return t.loaded?t.control:t.LazyControl}function B(e){return A(e)?.Renderer}function V(){return k(),[...new Set([...C.keys(),...w.keys()])]}function H(e,t,n){C.set(e,P(`movable-renderer:built-in:${e}`,t,{hitArea:`content`,...n},()=>!w.has(e)))}export{V as a,I as c,h as d,B as f,F as i,L as l,m,S as n,z as o,p,R as r,_ as s,v as t,f as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./HclGiUj8dZXDFmoM.js";var t=null;async function n(){return t||=new Promise(async(n,r)=>{try{let t=`0.20.2`,r=`https://esm.sh/esbuild-wasm@${t}`,i=`https://esm.sh/esbuild-wasm@${t}/esbuild.wasm`,a=(await e(async()=>{let{default:e}=await import(r);return{default:e}},[],import.meta.url)).default;await a.initialize({wasmURL:i,worker:!1}),n(a)}catch(e){console.error(`Error initializing esbuild:`,e),t=null,r(Error(`The script bundler could not be loaded. Check your connection and try again.`,{cause:e}))}})}export{n as initialize};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={ASC:{s:`Converts a string to full-width characters to half-width. Uses the double-byte character set (DBCS).`,p:{text:{d:`is a text or a reference to a cell containing text.`}},h:`DBCS`},ARRAYTOTEXT:{s:`Returns a text representation of an array.`,p:{array:{d:`the array to represent as text.`},format:{d:`0 for relaxed format, 1 for strict format.`}}},CHAR:{s:`Returns the character specified by the code number from the character set for your computer.`,p:{number:{d:`is a number between 1 and 255 specifying which character you want.`}}},CLEAN:{s:`Removes all nonprintable characters from text.`,p:{text:{d:`is the text you want to clean.`}}},CODE:{s:`Returns the Unicode value of the first character in a text string.`,p:{text:{d:`is the text string whose Unicode value you want.`}}},CONCAT:{s:`Concatenates a list or range of text strings.`,p:{text:{d:`are 1 to 252 text strings or ranges to be joined.`}}},CONCATENATE:{s:`Joins several text strings into one text string.`,c:`Compatibility`,p:{text:{d:`is the first text string or range to be joined.`}}},DETECTLANGUAGE:{s:`Detects the language of a given text.`,p:{text:{d:`is the text to detect the language for.`}},h:`Unimplemented Connectivity`},DBCS:{s:`Changes half-width characters to full-width characters. Uses the double-byte character set (DBCS).`,p:{text:{d:`is a text or a reference to a cell containing text.`}},h:`DBCS`},DOLLAR:{s:`Converts a number to text in currency format.`,p:{number:{d:`is the number to convert.`},decimals:{d:`is the number of digits to the right of the decimal point.`}}},EXACT:{s:`Checks whether two text strings are exactly the same, and returns TRUE or FALSE. EXACT is case-sensitive.`,p:{text1:{d:`is the first text string.`},text2:{d:`is the second text string.`}}},FIND:{s:`Returns the starting position of one text string within another text string. FIND is case-sensitive.`,p:{findText:{d:`Returns the starting position of one text string within another text string. FIND is case-sensitive.`},withinText:{d:`is the text you want to search.`},startNum:{d:`specifies the character at which to start the search. The first character in withinText is character number 1.`}}},FINDB:{s:`Finds the starting position of one text string with another text string. FINDB is case-sensitive. Use with double-byte characters.`,p:{findText:{d:`is the text you want to find.`},withinText:{d:`is the text you want to search.`},startNum:{d:`is the position in withinText to start searching.`}},h:`DBCS`},FIXED:{s:`Rounds a number to the specified number of decimals and returns the result as text with or without commas`,p:{number:{d:`is the number you want to round and convert to text.`},decimals:{d:`is the number of digits to the right of the decimal point.`},noCommas:{d:`is a logical value: do not display commas in the returned text = TRUE; do display commas in the returned text = FALSE.`}}},JOIN:{s:`Concatenates elements of an array or range with a delimiter.`,c:`Sheets`,p:{delimiter:{d:`The delimiter to place between values.`},value:{d:`The array or range to join.`}}},LEFT:{s:`Returns the specified number of characters from the start of a text string.`,p:{text:{d:`is the text string from which you want to extract characters.`},numChars:{d:`specifies how many characters you want LEFT to extract.`}}},LEFTB:{s:`Returns the leftmost numBytes characters from text. Uses double-byte characters.`,p:{text:{d:`is the text string from which you want to extract characters.`},numBytes:{d:`is the number of bytes to extract.`}},h:`DBCS`},LEN:{s:`Returns the number of characters in a text string.`,p:{text:{d:`is the text whose length you want to find. Spaces count as characters.`}}},LENB:{s:`Returns the number of bytes in a text string. Uses double-byte characters.`,p:{text:{d:`is the text string from which you want to extract characters.`}}},LOWER:{s:`Converts all letters in a text string to lowercase.`,p:{text:{d:`is the text you want to convert to lowercase. Characters in Text that are not letters are not changed.`}}},MID:{s:`Returns the characters from the middle of a text string, given a starting position and length.`,p:{text:{d:`is the text string from which you want to extract characters.`},startNum:{d:`is the position of the first character you want to extract.`},numChars:{d:`specifies how many characters to return from Text.`}}},MIDB:{s:`Returns characters from the middle of a text string. Uses double-byte characters.`,p:{text:{d:`is the text string from which you want to extract characters.`},startNum:{d:`is the position of the first character you want to extract.`},numBytes:{d:`is the number of bytes to extract.`}},h:`DBCS`},NUMBERVALUE:{s:`Converts text to number in a locale-independent manner.`,p:{text:{d:`is the text string you want to convert.`},decimalSeparator:{d:`is the character that separates the integer part from the decimal part of the number.`},groupSeparator:{d:`is the character that separates groups of thousands.`}}},PROPER:{s:`Converts the first letter of each word in a text string to uppercase.`,p:{text:{d:`is the text string you want to convert.`}}},REPLACE:{s:`Replaces part of a text string with a different text string.`,p:{oldText:{d:`is the text string to be changed.`},startNum:{d:`is the position of the first character you want to replace.`},numChars:{d:`is the number of characters to replace.`},newText:{d:`is the text string that will replace oldText.`}}},REPLACEB:{s:`Replaces part of a text string with a different text string using the number of bytes. Uses the double-byte character set (DBCS).`,p:{oldText:{d:`is the text string to be changed.`},startNum:{d:`is the position of the first character you want to replace.`},numBytes:{d:`is the number of bytes to replace.`},newText:{d:`is the text string that will replace oldText.`}},h:`DBCS`},REPT:{s:`Repeats text a given number of times.`,p:{text:{d:`is the text you want to repeat.`},numberTimes:{d:`is the number of times you want to repeat text.`}}},RIGHT:{s:`Returns the specified number of characters from the end of a text string.`,p:{text:{d:`is the text string that contains the characters you want to extract.`},numChars:{d:`specifies how many characters you want to extract.`}}},RIGHTB:{s:`Returns the rightmost numBytes characters from text. Uses double-byte characters.`,p:{text:{d:`is the text string from which you want to extract characters.`},numBytes:{d:`is the number of bytes to extract.`}}},SEARCH:{s:`Returns the number of the character at which a specific character or text string is first found, reading left to right (not case-sensitive).`,p:{findText:{d:`is the text you want to find.`},withinText:{d:`is the text in which you want to search for findText.`},startNum:{d:`is the character number in withinText, counting from the left, at which you want to start searching.`}}},SEARCHB:{s:`Returns the number of the character at which a specific character or text string is first found, reading left to right (not case-sensitive). Uses the double-byte character set (DBCS).`,p:{findText:{d:`is the text you want to find.`},withinText:{d:`is the text in which you want to search for findText.`},startBytes:{d:`is the character number in withinText, counting from the left, at which you want to start searching.`}},h:`DBCS`},SPLIT:{s:`Splits text around a specified delimiter.`,c:`Sheets`,p:{text:{d:`The text to split.`},delimiter:{d:`The character or string to split around.`},splitByEach:{d:`Whether to split around each character in delimiter individually. Default TRUE.`},removeEmptyText:{d:`Whether to remove empty strings from results. Default TRUE.`}}},SUBSTITUTE:{s:`Replaces existing text with new text in a text string.`,p:{text:{d:`is the text or the reference to a cell containing text in which you want to substitute characters.`},oldText:{d:`is the existing text you want to replace. If the case of oldText does not match the case of text, SUBSTITUTE will not replace the text.`},newText:{d:`is the text you want to replace oldText with.`},instanceNum:{d:`specifies which occurrence of oldText you want to replace. If omitted, every instance of oldText is replaced.`}}},T:{s:`Checks whether a value is text, and returns the text if it is, or returns double quotes (empty text) if it is not.`,p:{value:{d:`is the value to test.`}}},TEXT:{s:`Converts a value to text in a specific number format.`,p:{value:{d:`is a number, a formula that evaluates to a numeric value, or a reference to a cell containing a numeric value.`},formatText:{d:`is a text string that defines the number format to use.`}}},TEXTAFTER:{s:`Returns text that's after delimiting characters.`,p:{text:{d:`The text you want to search for the delimiter.`},delimiter:{d:`The character or string to use as a delimiter.`},instanceNum:{d:`The desired occurrence of delimiter. The default is 1. A negative number searches from the end.`},matchMode:{d:`Searches the text for a delimiter match. By default, a case-sensitive match is done.`},matchEnd:{d:`Whether to match the delimiter against the end of text. By default, they're not matched.`},ifNotFound:{d:`Returned if no match is found. By default, #N/A is returned.`}}},TEXTBEFORE:{s:`Returns text that's before delimiting characters.`,p:{text:{d:`The text you want to search for the delimiter.`},delimiter:{d:`The character or string to use as a delimiter.`},instanceNum:{d:`The desired occurrence of delimiter. The default is 1. A negative number searches from the end.`},matchMode:{d:"Whether to use case-sensitive (0) or case-insensitive (1) match (defaults to `0`)."},matchEnd:{d:`Whether to match the delimiter against the end of text. By default, they're not matched.`},ifNotFound:{d:`Returned if no match is found. By default, #N/A is returned.`}}},TEXTJOIN:{s:`Concatenates a list or range of text strings using a delimiter.`,p:{delimiter:{d:`Character or string to insert between each text item.`},ignoreEmpty:{d:`if TRUE(default), ignores empty cells.`},text:{d:`are 1 to 252 text strings or ranges to be joined.`}}},TEXTSPLIT:{s:`Splits text into rows or columns using delimiters.`,p:{text:{d:`The text to split.`},colDelimiter:{d:`The column delimiter(s) - can be string or array of strings.`},rowDelimiter:{d:`The row delimiter(s), null/undefined means no row splitting.`},ignoreEmpty:{d:"Whether to ignore empty values (defaults to `false`)."},matchMode:{d:"Whether to use case-sensitive (0) or case-insensitive (1) match (defaults to `0`)."},padWith:{d:"Value to use for padding if matrix is uneven (defaults to `#N/A`)."}}},TRANSLATE:{s:`Translate a text string from one language to another using the Microsoft Translator service.`,p:{text:{d:`The text to translate.`},sourceLanguage:{d:`Specifiy the source language your text is currently in. Expressed as a two-letter language code.`},targetLanguage:{d:`Specifiy the source language you want your text to be translated to. Expressed as a two-letter language code.`}},h:`Unsupported Connectivity`},TRIM:{s:`Removes all spaces from text except for single spaces between words.`,p:{text:{d:`The text from which you want to remove extra spaces.`}}},UNICHAR:{s:`Returns the Unicode character referenced by the given numeric value.`,p:{number:{d:`is the Unicode number representing a character.`}}},UNICODE:{s:`Returns the number (code point) corresponding to the first character of the text.`,p:{text:{d:`is the character that you want the Unicode value of.`}}},UPPER:{s:`Converts a text string to all uppercase letters.`,p:{text:{d:`is the text you want converted to uppercase, a reference or a text string.`}}},VALUE:{s:`Converts a text string that represents a number to a number.`,p:{text:{d:`is the text enclosed in quotation marks or a reference to a cell containing the text you want to convert.`}}},VALUETOTEXT:{s:`Returns a text representation of a value.`,p:{value:{d:`the value to represent as text.`},format:{d:`the format of the text.`}}}};export{e as default};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{G as e,Lt as t,U as n}from"./Ca6nxdhEuLLty3d7.js";var r=[`customMenu`,`description`,`help`,`statusBar`,`shortcutKey`],i=[`function`,`vbProcedure`,`xlm`,`publishToServer`,`workbookParameter`],a=/<!\[CDATA\[([\s\S]*?)\]\]>|<!--[\s\S]*?-->|<\?[\s\S]*?\?>|<!DOCTYPE[^>]*>|<(\/?)([^\s/>]+)((?:\s+[^\s=/>]+\s*=\s*(?:"[^"]*"|'[^']*'))*)\s*(\/?)>|([^<]+)/g,o={amp:`&`,lt:`<`,gt:`>`,quot:`"`,apos:`'`},s=e=>e.indexOf(`&`)===-1?e:e.replace(/&(#x[0-9a-fA-F]+|#\d+|\w+);/g,(e,t)=>{if(t[0]!==`#`)return o[t]??e;let n=t[1]===`x`?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Number.isFinite(n)?String.fromCodePoint(n):e}),c=e=>{let t=e.indexOf(`:`);return t===-1?e:e.slice(t+1)},l=e=>{let t={name:``,qname:``,attrs:``,children:[],start:0,end:e.length,contentStart:0,contentEnd:e.length},n=[t];a.lastIndex=0;for(let t=a.exec(e);t;t=a.exec(e)){let e=n[n.length-1];if(t[1]!==void 0)e.children.push(t[1]);else if(t[6]!==void 0)e.children.push(s(t[6]));else if(t[3]!==void 0){if(t[2]){if(n.length>1){let e=n.pop();e.contentEnd=t.index,e.end=t.index+t[0].length}continue}let r=t.index+t[0].length,i={name:c(t[3]),qname:t[3],attrs:t[4]??``,children:[],start:t.index,end:r,contentStart:r,contentEnd:r};e.children.push(i),t[5]||n.push(i)}}return t.children.find(e=>typeof e!=`string`)??null},u=e=>e.children.filter(e=>typeof e!=`string`),d=e=>{let t=``;for(let n of e.children)typeof n==`string`&&(t+=n);return t},f=`http://schemas.openxmlformats.org/drawingml/2006/chart`,ee=`http://purl.oclc.org/ooxml/drawingml/chart`,p=`http://schemas.openxmlformats.org/drawingml/2006/main`,te=`http://purl.oclc.org/ooxml/drawingml/main`,m=`http://schemas.openxmlformats.org/officeDocument/2006/relationships`,ne=`http://schemas.microsoft.com/office/drawing/2012/chart`,re=`http://schemas.microsoft.com/office/drawing/2014/chartex`,ie=`http://www.w3.org/XML/1998/namespace`,h={c:`c`,a:`a`,r:`r`,c15:`c15`,cx:`cx`},ae=e=>e===f||e===ee,oe=e=>e===p||e===te,se=e=>e===re,ce=Object.freeze({xml:ie}),le=/([^\s=]+)\s*=\s*(?:"([^"]*)"|'([^']*)')/g,g=e=>{let t=[];le.lastIndex=0;for(let n=le.exec(e.attrs);n;n=le.exec(e.attrs))t.push([n[1],s(n[2]??n[3]??``)]);return t},_=(e,t)=>{let n=null;for(let[r,i]of g(e))r===`xmlns`?(n??={...t})[``]=i:r.startsWith(`xmlns:`)&&((n??={...t})[r.slice(6)]=i);return n??t},ue=(e,t)=>t[(e=>{let t=e.indexOf(`:`);return t===-1?``:e.slice(0,t)})(e.qname)],v=class{constructor(){this._parts=[]}open(e,t,n=!1){let r=`<`+e;if(t)for(let[e,n]of t)r+=` ${e}="${de(n)}"`;return this._parts.push(r+(n?`/>`:`>`)),this}close(e){return this._parts.push(`</${e}>`),this}val(e,t){return this.open(e,[[`val`,t]],!0)}text(e){return this._parts.push((e=>e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`))(e)),this}raw(e){return this._parts.push(e),this}toString(){return this._parts.join(``)}},de=e=>e.replace(/&/g,`&`).replace(/</g,`<`).replace(/"/g,`"`),y=e=>e===`1`||e===`true`||e!==`0`&&e!==`false`&&null,b=e=>e?`1`:`0`,fe=/^[-+]?(?:\d+\.?\d*|\.\d+)(?:[eE][-+]?\d+)?$/,x=e=>{let t=y(e);return t===null?fe.test(e)?String(Number(e)):e:b(t)},pe=new Set(`date1904.roundedCorners.autoTitleDeleted.plotVisOnly.showDLblsOverMax.varyColors.marker.smooth.invertIfNegative.bubble3D.delete.showLegendKey.showVal.showCatName.showSerName.showPercent.showBubbleSize.showLeaderLines.overlay.rAngAx.showHorzBorder.showVertBorder.showOutline.showKeys.auto.noMultiLvlLbl.wireframe.showNegBubbles.autoUpdate.applyToFront.applyToSides.applyToEnd.chartObject.data.formatting.selection.userInterface`.split(`.`)),me=(e,t,n=!1)=>{let r=_(e,t),i=ue(e,r)??``,a=[];for(let[t,n]of g(e)){if(t===`xmlns`||t.startsWith(`xmlns:`))continue;let e=t.indexOf(`:`),i=e===-1?t:`{${r[t.slice(0,e)]??t.slice(0,e)}}${t.slice(e+1)}`;a.push(`${i}=${JSON.stringify(x(n))}`)}let o=u(e),s=o.length===0?e.children.join(``):``;a.length===0&&o.length===0&&s===``&&ae(i)&&pe.has(e.name)&&a.push(`val="1"`),a.sort();let c=`<{${i}}${e.name}${a.length?` `+a.join(` `):``}>`;if(o.length>0){let t=[];for(let i of e.children)typeof i==`string`?i.trim()!==``&&t.push(JSON.stringify(i)):t.push(me(i,r,n));n&&t.sort(),c+=t.join(``)}else s!==``&&(c+=JSON.stringify(s));return c+`</>`},he=class{constructor(e,t){this.xml=e,this.rootScope=t,this.kept=0,this.reordered=0;let n=Object.values(t).find(ae)??f,r=oe(t[h.a])?t[h.a]:p;this.writeScope={...t,[h.c]:n,[h.cx]:re,[h.a]:r,[h.r]:t[h.r]??m}}markupOf(e,t){let n=this.xml.slice(e.start,e.end),r=new Set(g(e).map(([e])=>e).filter(e=>e===`xmlns`||e.startsWith(`xmlns:`))),i=``;for(let e of Object.keys(t))e!==`xml`&&t[e]!==this.rootScope[e]&&(r.has(e===``?`xmlns`:`xmlns:${e}`)||(i+=e===``?` xmlns="${t[e]}"`:` xmlns:${e}="${t[e]}"`));if(i){let t=1+e.qname.length;n=n.slice(0,t)+i+n.slice(t)}return n}},ge=(e,t)=>{switch(e){case`c`:return ae(t);case`c15`:return t===ne;case`cx`:return se(t);default:return oe(t)}},S=(e,t,n,r)=>{let i=_(e,n),a={},o,s;for(let[n,r]of g(e)){let e=t.attributes?.find(e=>e.name===n),i=e?e.read(r):void 0;e&&i!==void 0&&x(e.write(i))===x(r)?a[e.key]=i:(o??={})[n]=r}let c=-1,l=``,d={};for(let n of u(e)){let e=_(n,i),o=ue(n,e),u=t.fields.findIndex(e=>e.tags.includes(n.name)&&ge(e.ns,o)),f=u===-1?null:t.fields[u],ee=f&&!f.many?f.get?f.get(a):a[f.key]:void 0,p=u>c||u===c&&!!f?.many;if(f&&ee===void 0&&(p||!f.many)){let t=f.read(n,e,r);if(t!==void 0){f.many?(a[f.key]??=[]).push(t):f.set?f.set(a,t):a[f.key]=t,d[f.key]=(d[f.key]??0)+1,p?(c=u,l=n.name):r.reordered++;continue}}let te=c===-1?null:t.fields[c],m={after:l,xml:r.markupOf(n,i)};te?.many&&(m.at=d[te.key]),(s??=[]).push(m)}return(o||s)&&(a.unknown={},s&&(a.unknown.elements=s),o&&(a.unknown.attributes=o)),t.afterRead?.(a,e,i,r),a},C=(e,t,n,r)=>{let i=[];for(let e of r.attributes??[]){let t=n[e.key];t!==void 0&&i.push([e.name,e.write(t)])}let a=n.unknown;if(a?.attributes)for(let e of Object.keys(a.attributes))i.push([e,a.attributes[e]]);for(let e of r.declares?.(n)??[])i.some(([t])=>t===e[0])||i.push(e);let o=new v,s=a?.elements?[...a.elements]:[],c=e=>{for(let t=0;t<s.length;t++)e(s[t])&&(o.raw(s[t].xml),s.splice(t--,1))};c(e=>e.after===``);for(let e of r.fields){let t=e.get?e.get(n):n[e.key],r=t=>e.tags.includes(t.after);if(e.many){let n=t??[];for(let t=0;t<n.length;t++)e.write(o,n[t]),c(e=>r(e)&&e.at===t+1)}else t!==void 0&&e.write(o,t);c(r)}c(()=>!0);let l=o.toString();l===``?e.open(t,i,!0):e.open(t,i).raw(l).close(t)},w=(e,t)=>`${h[e]}:${t}`,T=(e,t,n=e,r=`c`)=>({tags:[e],key:n,ns:r,read:e=>{let n=(e=>{if(u(e).length>0)return;let t=null;for(let[n,r]of g(e)){if(n!==`val`)return;t=r}return t})(e);if(n===void 0)return;if(t===`bool`)return n===null||(y(n)??void 0);if(n===null)return;if(t===`str`)return n;let r=Number(n);return Number.isFinite(r)&&(t!==`int`||Number.isInteger(r))&&x(String(r))===x(n)?r:void 0},write:(n,i)=>{n.val(w(r,e),t===`bool`?b(i):String(i))}}),E=(e,t=e,n=`c`)=>({tags:[e],key:t,ns:n,read:e=>{if(!(u(e).length>0||g(e).some(([e])=>!e.startsWith(`xmlns`))))return d(e)},write:(t,r)=>{let i=w(n,e);r===``?t.open(i,null,!0):t.open(i).text(r).close(i)}}),D=(e,t,n=e,r)=>{let i=r?.ns??`c`,a=typeof t==`function`?t:()=>t;return{tags:[e],key:n,ns:i,many:r?.many,read:(e,t,n)=>S(e,a(),t,n),write:(t,n)=>C(t,w(i,e),n,a())}},O=(e,t,n=e,r=1)=>({name:e,key:n,read:e=>{if(t===`str`)return e;if(t===`bool`)return y(e)??void 0;let n=Number(e);return Number.isFinite(n)&&(t!==`int`||Number.isInteger(n))?r===1?n:n/r:void 0},write:e=>t===`bool`?b(e):t===`str`?e:String(r===1?e:Math.round(e*r))}),_e=(e,t,n,r)=>({name:e,key:t,read:n,write:r}),ve=e=>({...e,read:(t,n,r)=>{let i=e.read(t,n,r);if(i===void 0)return;let a=new v;e.write(a,i);let o=((e,t)=>{let n=l(e);return n?me(n,t):null})(a.toString(),r.writeScope)===me(t,n);return o||r.kept++,o?i:void 0}}),k=e=>`a:${e}`,ye=new Set([`bg1`,`tx1`,`bg2`,`tx2`,`accent1`,`accent2`,`accent3`,`accent4`,`accent5`,`accent6`,`hlink`,`folHlink`,`phClr`,`dk1`,`lt1`,`dk2`,`lt2`]),be=new Set(`scrollBar.background.activeCaption.inactiveCaption.menu.window.windowFrame.menuText.windowText.captionText.activeBorder.inactiveBorder.appWorkspace.highlight.highlightText.btnFace.btnShadow.grayText.btnText.inactiveCaptionText.btnHighlight.3dDkShadow.3dLight.infoText.infoBk.hotLight.gradientActiveCaption.gradientInactiveCaption.menuHighlight.menuBar`.split(`.`)),xe=[`scrgbClr`,`srgbClr`,`hslClr`,`sysClr`,`schemeClr`,`prstClr`],Se=e=>e===`hue`||e===`hueOff`||e===`hueMod`?6e4:e===`alpha`||e===`alphaOff`||e===`alphaMod`?1e5:1e3,A=(e,t)=>{let n={};for(let[r,i]of g(e)){if(!t.includes(r))return null;n[r]=i}return n},j=/^-?\d+$/,Ce=e=>{let t=u(e);return t.length===0?null:t.length>1||!xe.includes(t[0].name)?void 0:(e=>{let t;switch(e.name){case`scrgbClr`:{let n=A(e,[`r`,`g`,`b`]);if(!(n&&j.test(n.r??``)&&j.test(n.g??``)&&j.test(n.b??``)))return;t=`lrgb(${Number(n.r)/1e3},${Number(n.g)/1e3},${Number(n.b)/1e3})`;break}case`hslClr`:{let n=A(e,[`hue`,`sat`,`lum`]);if(!(n&&j.test(n.hue??``)&&j.test(n.sat??``)&&j.test(n.lum??``)))return;t=`hsl(${Number(n.hue)/6e4},${Number(n.sat)/1e3},${Number(n.lum)/1e3})`;break}case`sysClr`:{let n=A(e,[`val`,`lastClr`]);if(!n?.val||!be.has(n.val))return;t=n.lastClr===void 0?n.val:`${n.val} lastClr ${n.lastClr}`;break}default:{let n=A(e,[`val`]);if(!n?.val||/\s/.test(n.val)||(ye.has(n.val)?`schemeClr`:/^[0-9A-Fa-f]{6}$/.test(n.val)?`srgbClr`:`prstClr`)!==e.name)return;t=n.val}}for(let n of u(e)){if(u(n).length>0)return;let e=A(n,[`val`]);if(!e)return;if(e.val!==void 0){if(!j.test(e.val))return;t+=` ${n.name} ${Number(e.val)/Se(n.name)}`}else t+=` ${n.name}`}return t})(t[0])},we=/^-?(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?$/i,Te=(e,n)=>{let r=(e=>{let t=e.trim(),n=/^[a-z]+\([^)]*\)|^[^\s,]+/i.exec(t)?.[0]??t,r=t.slice(n.length).split(/\s*,\s*|\s+/).filter(e=>e!==``);return[n.replace(/\s+/g,``),...r]})(n),i=r.shift(),a,o,s=/^(lrgb|hsl)\(([^,]+),([^,]+),([^)]+)\)$/.exec(i);if(s?.[1]===`lrgb`)a=`scrgbClr`,o=[[`r`,String(Math.round(1e3*Number(s[2])))],[`g`,String(Math.round(1e3*Number(s[3])))],[`b`,String(Math.round(1e3*Number(s[4])))]];else if(s?.[1]===`hsl`)a=`hslClr`,o=[[`hue`,String(Math.round(6e4*Number(s[2])))],[`sat`,String(Math.round(1e3*Number(s[3])))],[`lum`,String(Math.round(1e3*Number(s[4])))]];else if(r[0]===`lastClr`||be.has(i))a=`sysClr`,o=[[`val`,i]],r[0]===`lastClr`&&(r.shift(),o.push([`lastClr`,r.shift()]));else{let e=(e=>{if(ye.has(e)||/^[0-9A-Fa-f]{6}$/.test(e)||/^[a-z]+$/i.test(e))return null;let n;try{n=new t(e)}catch{return null}let r=n.getType();return r===`hex`||r===`rgb`||r===`hsl`?n.toHex().toString(!1).replace(`#`,``).toUpperCase():null})(i);a=e?`srgbClr`:ye.has(i)?`schemeClr`:/^[0-9A-Fa-f]{6}$/.test(i)?`srgbClr`:`prstClr`,o=[[`val`,e??i]]}if(r.length!==0){e.open(k(a),o);for(let t=0;t<r.length;t++){let n=r[t];t+1<r.length&&we.test(r[t+1])?e.val(k(n),String(Math.round(Number(r[++t])*Se(n)))):e.open(k(n),null,!0)}e.close(k(a))}else e.open(k(a),o,!0)},M=(e,t,n,r)=>{n===void 0?e.open(k(t),r,!0):(e.open(k(t),r),Te(e,n),e.close(k(t)))},Ee=[`noFill`,`solidFill`,`gradFill`,`pattFill`,`grpFill`],De=e=>{let t=A(e,[`l`,`t`,`r`,`b`]);if(!t)return;let n={};return t.l!==void 0&&(n.left=Number(t.l)/1e3),t.t!==void 0&&(n.top=Number(t.t)/1e3),t.r!==void 0&&(n.right=Number(t.r)/1e3),t.b!==void 0&&(n.bottom=Number(t.b)/1e3),n},Oe=(e,t,n)=>{let r=[];n.left!==void 0&&r.push([`l`,String(Math.round(1e3*n.left))]),n.top!==void 0&&r.push([`t`,String(Math.round(1e3*n.top))]),n.right!==void 0&&r.push([`r`,String(Math.round(1e3*n.right))]),n.bottom!==void 0&&r.push([`b`,String(Math.round(1e3*n.bottom))]),e.open(k(t),r,!0)},ke=t=>{switch(t.name){case`noFill`:return u(t).length===0&&g(t).length===0?{type:e.Type.None}:void 0;case`grpFill`:return u(t).length===0&&g(t).length===0?{type:e.Type.Group}:void 0;case`solidFill`:{if(g(t).length>0)return;let n=Ce(t);return n===void 0?void 0:n===null?{type:e.Type.Solid}:{type:e.Type.Solid,color:n}}case`gradFill`:return(t=>{let n=A(t,[`rotWithShape`,`flip`]);if(!n)return;let r={type:e.Type.Gradient};if(n.rotWithShape!==void 0){let e=y(n.rotWithShape);if(e===null)return;r.isRotatedWithShape=e}n.flip!==void 0&&(r.flip=n.flip);for(let n of u(t))if(n.name===`gsLst`){let e=[];for(let t of u(n)){let n=t.name===`gs`?A(t,[`pos`]):null,r=n&&j.test(n.pos??``)?Ce(t):void 0;if(!r)return;e.push({offset:Number(n.pos)/1e5,color:r})}r.stops=e}else if(n.name===`lin`){let t=A(n,[`ang`,`scaled`]);if(!t||u(n).length>0)return;if(r.gradientType=e.GradientType.Linear,t.ang!==void 0){if(!j.test(t.ang))return;r.angle=(Number(t.ang)/6e4+90)%360}if(t.scaled!==void 0){let e=y(t.scaled);if(e===null)return;r.scaled=e}}else if(n.name===`path`){let t=A(n,[`path`]);if(!t)return;r.gradientType=t.path===`circle`?e.GradientType.Path:t.path;let i=u(n);if(i.length>1||i.length===1&&i[0].name!==`fillToRect`)return;if(i.length===1){let e=De(i[0]);if(!e)return;r.focus={left:(e.left??0)/100,top:(e.top??0)/100,right:1-(e.right??0)/100,bottom:1-(e.bottom??0)/100}}}else{if(n.name!==`tileRect`)return;{let e=De(n);if(!e)return;r.tileRect=e}}return r})(t);case`pattFill`:{let n=A(t,[`prst`]);if(!n)return;let r={type:e.Type.Pattern};n.prst!==void 0&&(r.patternType=n.prst);for(let e of u(t)){let t=e.name===`fgClr`||e.name===`bgClr`?Ce(e):void 0;if(!t)return;e.name===`fgClr`?r.foreground=t:r.background=t}return r}}},Ae=(t,n)=>{switch(n.type){case e.Type.None:t.open(k(`noFill`),null,!0);return;case e.Type.Group:t.open(k(`grpFill`),null,!0);return;case e.Type.Solid:M(t,`solidFill`,n.color);return;case e.Type.Gradient:((t,n)=>{let r=[];if(n.flip!==void 0&&r.push([`flip`,n.flip]),n.isRotatedWithShape!==void 0&&r.push([`rotWithShape`,b(n.isRotatedWithShape)]),t.open(k(`gradFill`),r),n.stops){t.open(k(`gsLst`));for(let e of n.stops){let{offset:n,color:r}=typeof e==`string`?{offset:0,color:e}:e;M(t,`gs`,r,[[`pos`,String(Math.round(1e5*(n??0)))]])}t.close(k(`gsLst`))}if(n.gradientType===e.GradientType.Linear){let e=[];n.angle!==void 0&&e.push([`ang`,String(Math.round((n.angle-90+360)%360*6e4))]),n.scaled!==void 0&&e.push([`scaled`,b(n.scaled)]),t.open(k(`lin`),e,!0)}else if(n.gradientType!==void 0){let r=n.gradientType===e.GradientType.Path?`circle`:n.gradientType;n.focus?(t.open(k(`path`),[[`path`,r]]),Oe(t,`fillToRect`,{left:100*n.focus.left,top:100*n.focus.top,right:100*(1-n.focus.right),bottom:100*(1-n.focus.bottom)}),t.close(k(`path`))):t.open(k(`path`),[[`path`,r]],!0)}n.tileRect&&Oe(t,`tileRect`,n.tileRect),t.close(k(`gradFill`))})(t,n);return;case e.Type.Pattern:{let e=n,r=e.patternType===void 0?[]:[[`prst`,e.patternType]];e.foreground===void 0&&e.background===void 0?t.open(k(`pattFill`),r,!0):(t.open(k(`pattFill`),r),e.foreground!==void 0&&M(t,`fgClr`,e.foreground),e.background!==void 0&&M(t,`bgClr`,e.background),t.close(k(`pattFill`)));return}}throw Error(`A chart cannot write a fill of type '${n.type}'.`)},je=e=>ve({tags:Ee,key:e,ns:`a`,read:e=>ke(e),write:(e,t)=>Ae(e,t)}),Me={tags:[`effectLst`],key:`effects`,ns:`a`,read:e=>u(e).length===0&&g(e).length===0?[]:void 0,write:(e,t)=>{if(t.length>0)throw Error(`A chart cannot write effects yet.`);e.open(k(`effectLst`),null,!0)}},Ne={rnd:`round`,flat:`butt`,sq:`square`},Pe=(e,t)=>({tags:[e],key:`${t}Type`,ns:`a`,read:e=>{let t=A(e,[`type`,`w`,`len`]);if(t&&!(u(e).length>0)&&Object.keys(t).length!==0)return t},write:(t,n)=>{let r=[];for(let e of[`type`,`w`,`len`])n[e]!==void 0&&r.push([e,n[e]]);t.open(k(e),r,!0)},get:e=>{let n={};return e[`${t}Type`]!==void 0&&(n.type=e[`${t}Type`]),e[`${t}Width`]!==void 0&&(n.w=e[`${t}Width`]),e[`${t}Length`]!==void 0&&(n.len=e[`${t}Length`]),Object.keys(n).length>0?n:void 0},set:(e,n)=>{n.type!==void 0&&(e[`${t}Type`]=n.type),n.w!==void 0&&(e[`${t}Width`]=n.w),n.len!==void 0&&(e[`${t}Length`]=n.len)}}),Fe={attributes:[O(`w`,`int`,`width`,12700),_e(`cap`,`lineCap`,e=>Ne[e],e=>Object.keys(Ne).find(t=>Ne[t]===e)),O(`cmpd`,`str`,`compound`),O(`algn`,`str`,`align`)],fields:[je(`fill`),{tags:[`prstDash`,`custDash`],key:`dash`,ns:`a`,read:e=>{if(e.name===`prstDash`){let t=A(e,[`val`]);return t?.val!==void 0&&u(e).length===0?t.val:void 0}if(g(e).length>0)return;let t=[];for(let n of u(e)){let e=n.name===`ds`?A(n,[`d`,`sp`]):null;if(!e||!j.test(e.d??``)||!j.test(e.sp??``))return;t.push(Number(e.d)/1e3,Number(e.sp)/1e3)}return t},write:(e,t)=>{if(typeof t!=`string`){e.open(k(`custDash`));for(let n=0;n<t.length;n+=2)e.open(k(`ds`),[[`d`,String(Math.round(1e3*t[n]))],[`sp`,String(Math.round(1e3*t[n+1]))]],!0);e.close(k(`custDash`))}else e.val(k(`prstDash`),t)}},{tags:[`round`,`bevel`,`miter`],key:`lineJoin`,ns:`a`,read:e=>{let t=A(e,e.name===`miter`?[`lim`]:[]);if(t&&!(u(e).length>0)&&(t.lim===void 0||j.test(t.lim)))return{join:e.name,limit:t.lim===void 0?void 0:Number(t.lim)/1e5}},write:(e,t)=>{e.open(k(t.join),t.limit===void 0?null:[[`lim`,String(Math.round(1e5*t.limit))]],!0)},get:e=>e.lineJoin?{join:e.lineJoin,limit:e.miterLimit}:void 0,set:(e,t)=>{e.lineJoin=t.join,t.limit!==void 0&&(e.miterLimit=t.limit)}},Pe(`headEnd`,`head`),Pe(`tailEnd`,`tail`)]},Ie=e=>ve(D(`ln`,Fe,e,{ns:`a`})),Le={fields:[je(`fill`),Ie(`stroke`),Me]},N=(e,t,r)=>({tags:[e],key:t,ns:`a`,read:e=>{let t=A(e,[`typeface`]);if(!(t?.typeface===void 0||u(e).length>0))return r&&t.typeface===`+mn-${r}`?n.ThemeFamily.Body:r&&t.typeface===`+mj-${r}`?n.ThemeFamily.Heading:t.typeface},write:(t,i)=>{let a=r?i===n.ThemeFamily.Body?`+mn-${r}`:i===n.ThemeFamily.Heading?`+mj-${r}`:i:i;t.open(k(e),[[`typeface`,a]],!0)}}),Re=(e,t,n)=>{let r=Object.fromEntries(Object.entries(n).map(([e,t])=>[t,e]));return _e(e,t,e=>r[e],e=>n[e]??e)},P={attributes:[O(`lang`,`str`,`language`),O(`altLang`,`str`,`alternateLanguage`),O(`sz`,`int`,`size`,100),_e(`b`,`weight`,e=>{let t=y(e);return t===null?void 0:t?700:400},e=>b(e>=600)),_e(`i`,`style`,e=>{let t=y(e);return t===null?void 0:t?`italic`:`normal`},e=>b(e===`italic`)),Re(`u`,`underline`,{none:`none`,words:`words`,single:`sng`,double:`dbl`,heavy:`heavy`,dotted:`dotted`,dottedHeavy:`dottedHeavy`,dash:`dash`,dashHeavy:`dashHeavy`,dashLong:`dashLong`,dashLongHeavy:`dashLongHeavy`,dotDash:`dotDash`,dotDashHeavy:`dotDashHeavy`,dotDotDash:`dotDotDash`,dotDotDashHeavy:`dotDotDashHeavy`,wavy:`wavy`,wavyHeavy:`wavyHeavy`,wavyDouble:`wavyDbl`}),Re(`strike`,`strike`,{none:`noStrike`,single:`sngStrike`,double:`dblStrike`}),O(`kern`,`int`,`kerning`,100),Re(`cap`,`capitals`,{none:`none`,small:`small`,all:`all`}),O(`spc`,`int`,`letterSpacing`,100),O(`normalizeH`,`bool`,`normalizeHeight`),O(`baseline`,`int`,`baseline`,1e3)],fields:[Ie(`outline`),je(`color`),Me,N(`latin`,`latin`,`lt`),N(`ea`,`eastAsian`,`ea`),N(`cs`,`complexScript`,`cs`),N(`sym`,`symbol`)]},ze={attributes:[O(`algn`,`str`,`align`),O(`rtl`,`bool`,`rtl`)],fields:[D(`defRPr`,P,`defaultRun`,{ns:`a`})]},Be={fields:[D(`rPr`,P,`rPr`,{ns:`a`}),{tags:[`t`],key:`text`,ns:`a`,read:e=>{if(u(e).length>0)return;let t=!1;for(let[n,r]of g(e))if(n!==`xmlns`&&!n.startsWith(`xmlns:`)){if(n!==`xml:space`||r!==`preserve`)return;t=!0}return{text:d(e),preserve:t}},get:e=>e.text===void 0?void 0:{text:e.text,preserve:!0===e.preserveSpace},set:(e,t)=>{e.text=t.text,t.preserve&&(e.preserveSpace=!0)},write:(e,t)=>{let n=k(`t`),r=t.preserve?[[`xml:space`,`preserve`]]:null;t.text===``?e.open(n,r,!0):e.open(n,r).text(t.text).close(n)}}]},Ve={attributes:[O(`id`,`str`,`id`),O(`type`,`str`,`type`)],fields:Be.fields},He={fields:[D(`rPr`,P,`rPr`,{ns:`a`})]},Ue={fields:[D(`pPr`,ze,`pPr`,{ns:`a`}),{tags:[`r`,`br`,`fld`],key:`runs`,ns:`a`,many:!0,read:(e,t,n)=>{if(e.name===`br`)return{...S(e,He,t,n),text:`
|
|
2
|
+
`,break:!0};if(e.name===`r`){let r=S(e,Be,t,n);return r.text===void 0?void 0:r}let{id:r,type:i,...a}=S(e,Ve,t,n);return r===void 0?void 0:(a.text??=``,a.field=i===void 0?{id:r}:{id:r,type:i},a)},write:(e,t)=>{if(t.break){let{text:n,break:r,...i}=t;C(e,k(`br`),i,He)}else if(t.field){let{field:n,...r}=t;C(e,k(`fld`),{...r,id:n.id,type:n.type},Ve)}else C(e,k(`r`),t,Be)}},D(`endParaRPr`,P,`endRun`,{ns:`a`})]},We={fields:[D(`bodyPr`,{attributes:[O(`rot`,`int`,`rotation`,6e4),O(`spcFirstLastPara`,`bool`,`spcFirstLastPara`),O(`vertOverflow`,`str`,`vertOverflow`),O(`horzOverflow`,`str`,`horzOverflow`),O(`vert`,`str`,`vert`),O(`wrap`,`str`,`wrap`),O(`lIns`,`int`,`lIns`),O(`tIns`,`int`,`tIns`),O(`rIns`,`int`,`rIns`),O(`bIns`,`int`,`bIns`),O(`anchor`,`str`,`anchor`),O(`anchorCtr`,`bool`,`anchorCtr`)],fields:[]},`bodyPr`,{ns:`a`}),D(`lstStyle`,{fields:[]},`lstStyle`,{ns:`a`}),D(`p`,Ue,`paragraphs`,{ns:`a`,many:!0})]},F=()=>D(`spPr`,Le),I=()=>D(`txPr`,We),Ge={attributes:[O(`idx`,`int`),O(`formatCode`,`str`)],fields:[E(`v`)]},Ke={fields:[E(`formatCode`),T(`ptCount`,`int`),D(`pt`,Ge,`points`,{many:!0})]},qe={fields:[T(`ptCount`,`int`),D(`pt`,Ge,`points`,{many:!0})]},Je={fields:[T(`ptCount`,`int`),D(`lvl`,{fields:[D(`pt`,Ge,`points`,{many:!0})]},`levels`,{many:!0})]},Ye={fields:[E(`f`),D(`numCache`,Ke,`cache`)]},Xe={fields:[E(`f`),D(`strCache`,qe,`cache`)]},Ze={fields:[E(`f`),D(`multiLvlStrCache`,Je,`cache`)]},Qe=D(`datalabelsRange`,{fields:[E(`f`,`f`,`c15`),D(`dlblRangeCache`,qe,`cache`,{ns:`c15`})]},`datalabelsRange`,{ns:`c15`}),$e={...Qe,read:(e,t,n)=>t[h.c15]===ne?Qe.read(e,t,n):void 0},et=T(`showDataLabelsRange`,`bool`,`showDataLabelsRange`,`c15`),tt={...et,read:(e,t,n)=>t[h.c15]===ne?et.read(e,t,n):void 0},nt={fields:[D(`ext`,{attributes:[O(`uri`,`str`)],fields:[$e,tt],declares:e=>e.datalabelsRange!==void 0||e.showDataLabelsRange!==void 0?[[`xmlns:${h.c15}`,ne]]:[]},`extensions`,{many:!0})]},rt={fields:[D(`multiLvlStrRef`,Ze),D(`numRef`,Ye),D(`numLit`,Ke),D(`strRef`,Xe),D(`strLit`,qe)]},it={fields:[D(`strRef`,Xe),E(`v`)]},at={fields:[D(`strRef`,Xe),D(`rich`,We)]},ot={attributes:[O(`formatCode`,`str`),O(`sourceLinked`,`bool`)],fields:[]},L={fields:[D(`manualLayout`,{fields:[T(`layoutTarget`,`str`),T(`xMode`,`str`),T(`yMode`,`str`),T(`wMode`,`str`),T(`hMode`,`str`),T(`x`,`num`),T(`y`,`num`),T(`w`,`num`),T(`h`,`num`)]})]},st={fields:[D(`tx`,at),D(`layout`,L),T(`overlay`,`bool`),F(),I()]},ct={fields:[F()]},lt={fields:[T(`symbol`,`str`),T(`size`,`int`),F()]},ut={fields:[T(`idx`,`int`),T(`invertIfNegative`,`bool`),D(`marker`,lt),T(`bubble3D`,`bool`),T(`explosion`,`int`),F()]},dt=()=>[D(`numFmt`,ot),F(),I(),T(`dLblPos`,`str`),T(`showLegendKey`,`bool`),T(`showVal`,`bool`),T(`showCatName`,`bool`),T(`showSerName`,`bool`),T(`showPercent`,`bool`),T(`showBubbleSize`,`bool`),E(`separator`)],ft={fields:[D(`dLbl`,{fields:[T(`idx`,`int`),T(`delete`,`bool`),D(`layout`,L),D(`tx`,at),...dt(),D(`extLst`,nt)]},`labels`,{many:!0}),T(`delete`,`bool`),...dt(),T(`showLeaderLines`,`bool`),D(`leaderLines`,ct),D(`extLst`,nt)]},pt={fields:[D(`layout`,L),D(`tx`,at),D(`numFmt`,ot),F(),I()]},mt={fields:[E(`name`),F(),T(`trendlineType`,`str`),T(`order`,`int`),T(`period`,`int`),T(`forward`,`num`),T(`backward`,`num`),T(`intercept`,`num`),T(`dispRSqr`,`bool`),T(`dispEq`,`bool`),D(`trendlineLbl`,pt)]},ht={fields:[T(`errDir`,`str`),T(`errBarType`,`str`),T(`errValType`,`str`),T(`noEndCap`,`bool`),D(`plus`,rt),D(`minus`,rt),T(`val`,`num`),F(),D(`extLst`,nt)]},gt={fields:[T(`gapWidth`,`int`),D(`upBars`,ct),D(`downBars`,ct)]},R=()=>[T(`idx`,`int`),T(`order`,`int`),D(`tx`,it),F()],z=()=>D(`dPt`,ut,`points`,{many:!0}),B=()=>D(`dLbls`,ft),V=()=>D(`trendline`,mt,`trendlines`,{many:!0}),H=()=>D(`errBars`,ht,`errBars`,{many:!0}),U=e=>D(e,rt),W=()=>D(`extLst`,nt),_t={bar:{fields:[...R(),T(`invertIfNegative`,`bool`),z(),B(),V(),H(),U(`cat`),U(`val`),T(`shape`,`str`),W()]},line:{fields:[...R(),D(`marker`,lt),z(),B(),V(),H(),U(`cat`),U(`val`),T(`smooth`,`bool`),W()]},area:{fields:[...R(),z(),B(),V(),H(),U(`cat`),U(`val`),W()]},pie:{fields:[...R(),T(`explosion`,`int`),z(),B(),U(`cat`),U(`val`),W()]},scatter:{fields:[...R(),D(`marker`,lt),z(),B(),V(),H(),U(`xVal`),U(`yVal`),T(`smooth`,`bool`),W()]},bubble:{fields:[...R(),T(`invertIfNegative`,`bool`),z(),B(),V(),H(),U(`xVal`),U(`yVal`),U(`bubbleSize`),T(`bubble3D`,`bool`),W()]},radar:{fields:[...R(),D(`marker`,lt),z(),B(),U(`cat`),U(`val`),W()]},surface:{fields:[...R(),U(`cat`),U(`val`),W()]}},G=e=>D(`ser`,_t[e],`series`,{many:!0}),K=()=>({...T(`axId`,`int`,`axIds`),many:!0}),q=(e,t)=>D(e,ct,e,{many:t}),vt={tags:[`custSplit`],key:`custSplit`,ns:`c`,read:(e,t,n)=>{let r=S(e,{fields:[{...T(`secondPiePt`,`int`,`points`),many:!0}]},t,n);return r.unknown?void 0:r.points??[]},write:(e,t)=>{C(e,`c:custSplit`,{points:t},{fields:[{...T(`secondPiePt`,`int`,`points`),many:!0}]})}},yt={fields:[T(`idx`,`int`),F()]},bt={tags:[`bandFmts`],key:`bandFmts`,ns:`c`,read:(e,t,n)=>{let r=S(e,{fields:[D(`bandFmt`,yt,`formats`,{many:!0})]},t,n);return r.unknown?void 0:r.formats??[]},write:(e,t)=>{C(e,`c:bandFmts`,{formats:t},{fields:[D(`bandFmt`,yt,`formats`,{many:!0})]})}},xt={areaChart:{type:`area`,codec:{fields:[T(`grouping`,`str`),T(`varyColors`,`bool`),G(`area`),B(),q(`dropLines`),K()]}},area3DChart:{type:`area`,is3D:!0,codec:{fields:[T(`grouping`,`str`),T(`varyColors`,`bool`),G(`area`),B(),q(`dropLines`),T(`gapDepth`,`int`),K()]}},lineChart:{type:`line`,codec:{fields:[T(`grouping`,`str`),T(`varyColors`,`bool`),G(`line`),B(),q(`dropLines`),q(`hiLowLines`),D(`upDownBars`,gt),T(`marker`,`bool`),T(`smooth`,`bool`),K()]}},line3DChart:{type:`line`,is3D:!0,codec:{fields:[T(`grouping`,`str`),T(`varyColors`,`bool`),G(`line`),B(),q(`dropLines`),T(`gapDepth`,`int`),K()]}},stockChart:{type:`stock`,codec:{fields:[G(`line`),B(),q(`dropLines`),q(`hiLowLines`),D(`upDownBars`,gt),K()]}},radarChart:{type:`radar`,codec:{fields:[T(`radarStyle`,`str`),T(`varyColors`,`bool`),G(`radar`),B(),K()]}},scatterChart:{type:`scatter`,codec:{fields:[T(`scatterStyle`,`str`),T(`varyColors`,`bool`),G(`scatter`),B(),K()]}},pieChart:{type:`pie`,codec:{fields:[T(`varyColors`,`bool`),G(`pie`),B(),T(`firstSliceAng`,`int`)]}},pie3DChart:{type:`pie`,is3D:!0,codec:{fields:[T(`varyColors`,`bool`),G(`pie`),B()]}},doughnutChart:{type:`doughnut`,codec:{fields:[T(`varyColors`,`bool`),G(`pie`),B(),T(`firstSliceAng`,`int`),T(`holeSize`,`int`)]}},barChart:{type:`bar`,codec:{fields:[T(`barDir`,`str`),T(`grouping`,`str`),T(`varyColors`,`bool`),G(`bar`),B(),T(`gapWidth`,`int`),T(`overlap`,`int`),q(`serLines`,!0),K()]}},bar3DChart:{type:`bar`,is3D:!0,codec:{fields:[T(`barDir`,`str`),T(`grouping`,`str`),T(`varyColors`,`bool`),G(`bar`),B(),T(`gapWidth`,`int`),T(`gapDepth`,`int`),T(`shape`,`str`),K()]}},ofPieChart:{type:`ofPie`,codec:{fields:[T(`ofPieType`,`str`),T(`varyColors`,`bool`),G(`pie`),B(),T(`gapWidth`,`int`),T(`splitType`,`str`),T(`splitPos`,`num`),vt,T(`secondPieSize`,`int`),q(`serLines`,!0)]}},surfaceChart:{type:`surface`,codec:{fields:[T(`wireframe`,`bool`),G(`surface`),bt,K()]}},surface3DChart:{type:`surface`,is3D:!0,codec:{fields:[T(`wireframe`,`bool`),G(`surface`),bt,K()]}},bubbleChart:{type:`bubble`,codec:{fields:[T(`varyColors`,`bool`),G(`bubble`),B(),T(`bubble3D`,`bool`),T(`bubbleScale`,`int`),T(`showNegBubbles`,`bool`),T(`sizeRepresents`,`str`),K()]}}},St={tags:Object.keys(xt),key:`groups`,ns:`c`,many:!0,read:(e,t,n)=>{let{type:r,is3D:i,codec:a}=xt[e.name],o=S(e,a,t,n);return o.series??=[],o.axIds??=[],i?{type:r,is3D:i,...o}:{type:r,...o}},write:(e,t)=>{let n=(e=>`${e.type}${e.is3D?`3D`:``}Chart`)(t),{type:r,is3D:i,...a}=Et(t);C(e,`c:${n}`,a,xt[n].codec)}},Ct=[`ctr`,`l`,`r`,`t`,`b`],wt=e=>{switch(e.type){case`bar`:return e.is3D?[]:e.grouping===`stacked`||e.grouping===`percentStacked`?[`ctr`,`inEnd`,`inBase`]:[`ctr`,`inEnd`,`inBase`,`outEnd`];case`line`:return e.is3D?[]:Ct;case`stock`:case`scatter`:case`bubble`:return Ct;case`pie`:case`ofPie`:return[`ctr`,`inEnd`,`outEnd`,`bestFit`];default:return[]}},Tt=(e,t)=>t?.dLblPos!==void 0&&!e.includes(t.dLblPos),Et=e=>{let t=wt(e),n=e=>{if(!Tt(t,e))return e;let{dLblPos:n,...r}=e;return r},r=e=>e.labels?{...n(e),labels:e.labels.map(n)}:n(e);return{...e,...e.dLbls?{dLbls:r(e.dLbls)}:{},series:e.series.map(e=>e.dLbls?{...e,dLbls:r(e.dLbls)}:e)}},Dt={fields:[T(`logBase`,`num`),T(`orientation`,`str`),T(`max`,`num`),T(`min`,`num`)]},Ot={fields:[D(`layout`,L),D(`tx`,at),F(),I()]},kt={fields:[T(`custUnit`,`num`),T(`builtInUnit`,`str`),D(`dispUnitsLbl`,Ot)]},At=()=>[T(`axId`,`int`),D(`scaling`,Dt),T(`delete`,`bool`),T(`axPos`,`str`),q(`majorGridlines`),q(`minorGridlines`),D(`title`,st),D(`numFmt`,ot),T(`majorTickMark`,`str`),T(`minorTickMark`,`str`),T(`tickLblPos`,`str`),F(),I(),T(`crossAx`,`int`),T(`crosses`,`str`),T(`crossesAt`,`num`)],J={valAx:{type:`val`,codec:{fields:[...At(),T(`crossBetween`,`str`),T(`majorUnit`,`num`),T(`minorUnit`,`num`),D(`dispUnits`,kt)]}},catAx:{type:`cat`,codec:{fields:[...At(),T(`auto`,`bool`),T(`lblAlgn`,`str`),T(`lblOffset`,`int`),T(`tickLblSkip`,`int`),T(`tickMarkSkip`,`int`),T(`noMultiLvlLbl`,`bool`)]}},dateAx:{type:`date`,codec:{fields:[...At(),T(`auto`,`bool`),T(`lblOffset`,`int`),T(`baseTimeUnit`,`str`),T(`majorUnit`,`num`),T(`majorTimeUnit`,`str`),T(`minorUnit`,`num`),T(`minorTimeUnit`,`str`)]}},serAx:{type:`ser`,codec:{fields:[...At(),T(`tickLblSkip`,`int`),T(`tickMarkSkip`,`int`)]}}},jt={tags:Object.keys(J),key:`axes`,ns:`c`,many:!0,read:(e,t,n)=>({type:J[e.name].type,...S(e,J[e.name].codec,t,n)}),write:(e,t)=>{let{type:n,...r}=t,i=`${n}Ax`;C(e,`c:${i}`,r,J[i].codec)}},Mt={fields:[T(`showHorzBorder`,`bool`),T(`showVertBorder`,`bool`),T(`showOutline`,`bool`),T(`showKeys`,`bool`),F(),I()]},Nt={fields:[D(`layout`,L),St,jt,D(`dTable`,Mt),F()],afterRead:e=>{e.groups??=[],e.axes??=[]}},Pt={fields:[T(`rotX`,`int`),T(`hPercent`,`int`),T(`rotY`,`int`),T(`depthPercent`,`int`),T(`rAngAx`,`bool`),T(`perspective`,`int`)]},Ft={fields:[T(`thickness`,`int`),F()]},It={fields:[T(`idx`,`int`),T(`delete`,`bool`),I()]},Lt={fields:[T(`legendPos`,`str`),D(`legendEntry`,It,`entries`,{many:!0}),D(`layout`,L),T(`overlay`,`bool`),F(),I()]},Rt={fields:[D(`title`,st),T(`autoTitleDeleted`,`bool`),D(`view3D`,Pt),D(`floor`,Ft),D(`sideWall`,Ft),D(`backWall`,Ft),D(`plotArea`,Nt),D(`legend`,Lt),T(`plotVisOnly`,`bool`),T(`dispBlanksAs`,`str`),T(`showDLblsOverMax`,`bool`)]},zt={fields:[E(`name`),T(`fmtId`,`int`)]},Bt={fields:[T(`date1904`,`bool`),T(`lang`,`str`),T(`roundedCorners`,`bool`),T(`style`,`int`),D(`pivotSource`,zt),D(`chart`,Rt),F(),I()]},Vt=e=>{let t=l(e);if(!t||t.name!==`chartSpace`)return null;let n=_(t,ce);if(!ae(ue(t,n)))return null;let r=new he(e,n);return{model:S(t,Bt,ce,r),kept:r.kept,reordered:r.reordered}},Ht=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
|
|
3
|
+
`,Ut=e=>{let t={...e.unknown?.attributes},n=(e,n)=>{t[`xmlns:${e}`]??=n};n(h.c,f),n(h.a,p),n(h.r,m);let r=new v().raw(Ht);return((e,t)=>{C(e,`c:chartSpace`,t,Bt)})(r,{...e,unknown:{...e.unknown,attributes:t}}),r.toString()},Wt=(e,t)=>{if(t&&(n=e,!(n.chart?.plotArea?.groups??[]).some(e=>{let t=wt(e),n=e=>Tt(t,e)||!!e?.labels?.some(e=>Tt(t,e));return n(e.dLbls)||e.series.some(e=>n(e.dLbls))}))){let n=Vt(t);if(n&&JSON.stringify(n.model)===JSON.stringify(e))return t}var n;return Ut(e)},Y=(e,t,n=e,r)=>D(e,t,n,{ns:`cx`,many:r}),X=()=>Y(`spPr`,Le),Z=()=>Y(`txPr`,We),Gt=()=>Y(`numFmt`,ot),Kt=e=>({name:e,key:e,read:e=>{if(e===`auto`)return`auto`;let t=Number(e);return e.trim()!==``&&Number.isFinite(t)?t:void 0},write:e=>String(e)}),qt=e=>g(e).filter(([e])=>e!==`xmlns`&&!e.startsWith(`xmlns:`)),Jt=e=>({tags:[e],key:e,ns:`cx`,read:e=>{if(u(e).length>0)return;let t={f:d(e)};for(let[n,r]of qt(e)){if(n!==`dir`||r!==`col`&&r!==`row`)return;t.dir=r}return t.f===``?void 0:t},write:(t,n)=>{let r=w(`cx`,e);t.open(r,n.dir?[[`dir`,n.dir]]:null).text(n.f).close(r)}}),Yt={attributes:[O(`ptCount`,`int`),O(`formatCode`,`str`),O(`name`,`str`)],fields:[{tags:[`pt`],key:`points`,ns:`cx`,many:!0,read:e=>{if(u(e).length>0)return;let t=qt(e);if(t.length!==1||t[0][0]!==`idx`)return;let n=Number(t[0][1]);return Number.isInteger(n)&&x(String(n))===x(t[0][1])?{idx:n,v:d(e)}:void 0},write:(e,t)=>{let n=w(`cx`,`pt`);t.v===``?e.open(n,[[`idx`,String(t.idx)]],!0):e.open(n,[[`idx`,String(t.idx)]]).text(t.v).close(n)}}]},Xt={attributes:[O(`type`,`str`)],fields:[Jt(`f`),Jt(`nf`),Y(`lvl`,Yt,`levels`,!0)]},Zt=new Set([`val`,`x`,`y`,`size`,`colorVal`]),Qt=new Set([`cat`,`colorStr`,`entityId`]),$t={fields:[Y(`data`,{attributes:[O(`id`,`int`)],fields:[{tags:[`numDim`,`strDim`],key:`dimensions`,ns:`cx`,many:!0,read:(e,t,n)=>{let r=S(e,Xt,t,n);return(e.name===`numDim`?Zt:Qt).has(r.type)?r:void 0},write:(e,t)=>{C(e,w(`cx`,Zt.has(t.type)?`numDim`:`strDim`),t,Xt)}}],afterRead:e=>{e.dimensions??=[]}},`data`,!0)],afterRead:e=>{e.data??=[]}},en={fields:[Y(`txData`,{fields:[Jt(`f`),E(`v`,`v`,`cx`)]}),Y(`rich`,We)]},tn=()=>[O(`pos`,`str`),O(`align`,`str`),O(`overlay`,`bool`)],nn={attributes:tn(),fields:[Y(`tx`,en),X(),Z()]},rn={attributes:tn(),fields:[X(),Z()]},an={attributes:[O(`seriesName`,`bool`),O(`categoryName`,`bool`),O(`value`,`bool`)],fields:[]},on=()=>[Gt(),X(),Z(),Y(`visibility`,an),E(`separator`,`separator`,`cx`)],sn={attributes:[O(`idx`,`int`),O(`pos`,`str`)],fields:on()},cn={attributes:[O(`idx`,`int`)],fields:[]},ln={attributes:[O(`pos`,`str`)],fields:[...on(),Y(`dataLabel`,sn,`labels`,!0),Y(`dataLabelHidden`,cn,`hiddenLabels`,!0)]},un={attributes:[O(`idx`,`int`)],fields:[X()]},dn={attributes:[`connectorLines`,`meanLine`,`meanMarker`,`nonoutliers`,`outliers`].map(e=>O(e,`bool`)),fields:[]},fn={attributes:[O(`intervalClosed`,`str`),Kt(`underflow`),Kt(`overflow`)],fields:[T(`binSize`,`num`,`binSize`,`cx`),T(`binCount`,`int`,`binCount`,`cx`)]},pn={fields:[{...T(`idx`,`int`,`indexes`,`cx`),many:!0}]},mn={fields:[T(`parentLabelLayout`,`str`,`parentLabelLayout`,`cx`),T(`regionLabelLayout`,`str`,`regionLabelLayout`,`cx`),Y(`visibility`,dn),Y(`aggregation`,{fields:[]}),Y(`binning`,fn),Y(`statistics`,{attributes:[O(`quartileMethod`,`str`)],fields:[]}),{tags:[`subtotals`],key:`subtotals`,ns:`cx`,read:(e,t,n)=>{let r=S(e,pn,t,n);return r.unknown?void 0:r.indexes??[]},write:(e,t)=>{C(e,w(`cx`,`subtotals`),{indexes:t},pn)}}]},hn={attributes:[O(`layoutId`,`str`),O(`hidden`,`bool`),O(`ownerIdx`,`int`),O(`uniqueId`,`str`),O(`formatIdx`,`int`)],fields:[Y(`tx`,en),X(),Y(`dataPt`,un,`points`,!0),Y(`dataLabels`,ln),T(`dataId`,`int`,`dataId`,`cx`),Y(`layoutPr`,mn),{...T(`axisId`,`int`,`axisIds`,`cx`),many:!0}]},gn={fields:[Y(`plotSurface`,{fields:[X()]}),Y(`series`,hn,`series`,!0)],afterRead:e=>{e.series??=[]}},_n={fields:[Y(`tx`,en),X(),Z()]},vn={fields:[X()]},yn={attributes:[O(`type`,`str`)],fields:[]},bn={attributes:[O(`id`,`int`),O(`hidden`,`bool`)],fields:[Y(`catScaling`,{attributes:[O(`gapWidth`,`num`)],fields:[]}),Y(`valScaling`,{attributes:[`max`,`min`,`majorUnit`,`minorUnit`].map(e=>O(e,`num`)),fields:[]}),Y(`title`,_n),Y(`units`,{attributes:[O(`unit`,`str`)],fields:[Y(`unitsLabel`,_n)]}),Y(`majorGridlines`,vn),Y(`minorGridlines`,vn),Y(`majorTickMarks`,yn),Y(`minorTickMarks`,yn),Y(`tickLabels`,{fields:[]}),Gt(),X(),Z()]},xn={fields:[Y(`plotAreaRegion`,gn),Y(`axis`,bn,`axes`,!0),X()],afterRead:e=>{e.axes??=[]}},Sn={fields:[Y(`title`,nn),Y(`plotArea`,xn),Y(`legend`,rn)]},Cn={fields:[Y(`chartData`,$t),Y(`chart`,Sn),X(),Z()]},wn={waterfall:`waterfall`,clusteredColumn:`histogram`,boxWhisker:`boxWhisker`,treemap:`treemap`,sunburst:`sunburst`,funnel:`funnel`,regionMap:`regionMap`},Tn=Object.fromEntries(Object.entries(wn).map(([e,t])=>[t,e])),En=new Set(Object.values(wn)),Dn=`paretoLine`,On={cat:`cat`,val:`val`,x:`xVal`,y:`yVal`,size:`bubbleSize`,colorVal:`color`,colorStr:`color`,entityId:`entityId`},kn=new Set([`val`,`x`,`y`,`size`,`colorVal`]),An=[`cat`,`colorStr`,`entityId`,`x`,`y`,`val`,`size`,`colorVal`],Q=e=>{for(let t of Object.keys(e))e[t]===void 0&&delete e[t];return e},$=e=>Q({f:e.f,dir:e.dir}),jn=e=>e&&Q({strRef:e.txData?.f?$(e.txData.f):void 0,v:e.txData?.v,rich:e.rich,unknown:e.unknown}),Mn=e=>e&&Q({tx:jn(e.tx),overlay:e.overlay,spPr:e.spPr,txPr:e.txPr,pos:e.pos,align:e.align,unknown:e.unknown}),Nn=e=>Q({numFmt:e.numFmt,spPr:e.spPr,txPr:e.txPr,dLblPos:e.pos,showSerName:e.visibility?.seriesName,showCatName:e.visibility?.categoryName,showVal:e.visibility?.value,separator:e.separator,unknown:e.unknown}),Pn=e=>{if(!e)return;let t=Nn(e),n=[...(e.labels??[]).map(e=>({idx:e.idx,...Nn(e)})),...(e.hiddenLabels??[]).map(e=>({idx:e.idx,delete:!0}))];return n.length>0&&(t.labels=n),t},Fn=(e,t)=>{let n=(e??[]).map(e=>({...e}));for(let e of[...t??[]].sort((e,t)=>e-t)){let t=n.find(t=>t.idx===e);t?t.subtotal=!0:n.push({idx:e,subtotal:!0})}return n.length>0?n:void 0},In=e=>{if(!e)return;let{subtotals:t,...n}=e;return Object.keys(n).length>0?n:void 0},Ln=e=>Q({ptCount:e.ptCount,formatCode:e.formatCode,name:e.name,points:(e.points??[]).map(e=>({idx:e.idx,v:e.v})),unknown:e.unknown}),Rn=e=>{let t=kn.has(e.type),n=e.levels?.map(Ln),r={};return e.f?r[t?`numRef`:`strRef`]=Q({...$(e.f),cache:n?{levels:n}:void 0}):r[t?`numLit`:`strLit`]=Q({levels:n}),e.nf&&(r.nf=$(e.nf)),e.unknown&&(r.unknown=e.unknown),r},zn=(e,t)=>{let n=Q({idx:e.formatIdx,hidden:e.hidden,uniqueId:e.uniqueId,tx:jn(e.tx),spPr:e.spPr,points:Fn(e.points,e.layoutPr?.subtotals),dLbls:Pn(e.dataLabels),layoutPr:In(e.layoutPr),unknown:e.unknown});for(let e of t?.dimensions??[]){let t=On[e.type];t&&!n[t]&&(n[t]=Rn(e))}return n},Bn=e=>Q({idx:e.formatIdx,hidden:e.hidden,uniqueId:e.uniqueId,tx:jn(e.tx),spPr:e.spPr,points:Fn(e.points,e.layoutPr?.subtotals),dLbls:Pn(e.dataLabels),layoutPr:In(e.layoutPr),axIds:e.axisIds,unknown:e.unknown}),Vn=(e,t)=>{let n=new Map(t.map(e=>[e.id,e])),r=[],i=[],a=null;for(let t of e?.series??[]){if(t.layoutId===Dn){let e=t.ownerIdx===void 0?null:i[t.ownerIdx];e&&!e.cumulativeLine&&(e.cumulativeLine=Bn(t)),i.push(null);continue}let e=wn[t.layoutId]??t.layoutId,o=t.axisIds??[];a&&a.type===e&&JSON.stringify(a.axIds)===JSON.stringify(o)||(a={type:e,series:[],axIds:o},r.push(a));let s=zn(t,t.dataId===void 0?void 0:n.get(t.dataId));a.series.push(s),i.push(s)}return r},Hn=e=>{let t=e.catScaling??e.valScaling;return Q({type:e.catScaling||!e.valScaling?`cat`:`val`,axId:e.id,scaling:Q({max:e.valScaling?.max,min:e.valScaling?.min,gapWidth:e.catScaling?.gapWidth,unknown:t?.unknown}),delete:e.hidden,majorGridlines:e.majorGridlines,minorGridlines:e.minorGridlines,title:Mn(e.title),numFmt:e.numFmt,majorTickMark:e.majorTickMarks?.type,minorTickMark:e.minorTickMarks?.type,tickLblPos:e.tickLabels?void 0:`none`,spPr:e.spPr,txPr:e.txPr,majorUnit:e.valScaling?.majorUnit,minorUnit:e.valScaling?.minorUnit,dispUnits:e.units&&Q({builtInUnit:e.units.unit,dispUnitsLbl:Mn(e.units.unitsLabel),unknown:e.units.unknown}),unknown:e.unknown})},Un=e=>e&&Q({txData:e.strRef||e.v!==void 0?Q({f:e.strRef?$(e.strRef):void 0,v:e.v}):void 0,rich:e.rich,unknown:e.unknown}),Wn=e=>e&&Q({tx:Un(e.tx),spPr:e.spPr,txPr:e.txPr,unknown:e.unknown}),Gn=e=>{let t=e.showSerName!==void 0||e.showCatName!==void 0||e.showVal!==void 0;return Q({pos:e.dLblPos,numFmt:e.numFmt,spPr:e.spPr,txPr:e.txPr,visibility:t?Q({seriesName:e.showSerName,categoryName:e.showCatName,value:e.showVal}):void 0,separator:e.separator,unknown:e.unknown})},Kn=e=>!0===e.delete&&Object.keys(e).every(e=>e===`idx`||e===`delete`),qn=e=>{if(!e)return;let t=Gn(e),n=(e.labels??[]).filter(e=>!Kn(e)).map(e=>({idx:e.idx,...Gn(e)})),r=(e.labels??[]).filter(Kn).map(e=>({idx:e.idx}));return n.length>0&&(t.labels=n),r.length>0&&(t.hiddenLabels=r),t},Jn=e=>{let t=(e??[]).filter(e=>Object.keys(e).some(e=>e!==`idx`&&e!==`subtotal`)).map(({subtotal:e,...t})=>t);return t.length>0?t:void 0},Yn=(e,t,n)=>{let r=(t??[]).filter(e=>e.subtotal).map(e=>e.idx).sort((e,t)=>e-t);return r.length!==0||n?{...e,subtotals:r}:e},Xn=e=>Q({ptCount:e.ptCount,formatCode:e.formatCode,name:e.name,points:e.points.length>0?e.points.map(e=>({idx:e.idx,v:e.v})):void 0,unknown:e.unknown}),Zn=(e,t)=>e===`color`?t.strRef||t.strLit?`colorStr`:`colorVal`:Object.keys(On).find(t=>On[t]===e),Qn=e=>{let t=[];for(let n of[`cat`,`val`,`xVal`,`yVal`,`bubbleSize`,`color`,`entityId`]){let r=e[n];if(!r)continue;let i=r.numRef??r.strRef,a=(i?i.cache:r.numLit??r.strLit)?.levels;t.push(Q({type:Zn(n,r),f:i?$(i):void 0,nf:r.nf?$(r.nf):void 0,levels:a&&a.length>0?a.map(Xn):void 0,unknown:r.unknown}))}return t.sort((e,t)=>An.indexOf(e.type)-An.indexOf(t.type))},$n=e=>{let t=e.scaling??{},n=e.type===`cat`||e.type===`date`;return Q({id:e.axId,hidden:e.delete,catScaling:n?Q({gapWidth:t.gapWidth,unknown:t.unknown}):void 0,valScaling:n?void 0:Q({max:t.max,min:t.min,majorUnit:e.majorUnit,minorUnit:e.minorUnit,unknown:t.unknown}),title:Wn(e.title),units:e.dispUnits&&Q({unit:e.dispUnits.builtInUnit,unitsLabel:Wn(e.dispUnits.dispUnitsLbl),unknown:e.dispUnits.unknown}),majorGridlines:e.majorGridlines,minorGridlines:e.minorGridlines,majorTickMarks:e.majorTickMark?{type:e.majorTickMark}:void 0,minorTickMarks:e.minorTickMark?{type:e.minorTickMark}:void 0,tickLabels:e.tickLblPos===`none`?void 0:{},numFmt:e.numFmt,spPr:e.spPr,txPr:e.txPr,unknown:e.unknown})},er=e=>{let t=e.chart,n=t?.plotArea,r=[],i=[],a=[];for(let e of n?.groups??[]){let t=Tn[e.type];if(t)for(let n of e.series){let o=Qn(n),s;if(o.length>0){let e=JSON.stringify(o);s=a.indexOf(e),s===-1&&(s=i.length,i.push({id:s,dimensions:o}),a.push(e))}let c=r.length;r.push(Q({layoutId:t,hidden:n.hidden,uniqueId:n.uniqueId,formatIdx:n.idx,tx:Un(n.tx),spPr:n.spPr,points:Jn(n.points),dataLabels:qn(n.dLbls),dataId:s,layoutPr:Yn(n.layoutPr,n.points,e.type===`waterfall`),axisIds:e.axIds.length>0?e.axIds:void 0,unknown:n.unknown}));let l=n.cumulativeLine;l&&r.push(Q({layoutId:Dn,hidden:l.hidden,ownerIdx:c,uniqueId:l.uniqueId,formatIdx:l.idx,tx:Un(l.tx),spPr:l.spPr,points:Jn(l.points),dataLabels:qn(l.dLbls),layoutPr:Yn(l.layoutPr,l.points,!1),axisIds:l.axIds,unknown:l.unknown}))}}let o=t?.legend;return Q({chartData:{data:i},chart:Q({title:(s=t?.title,s&&Q({pos:s.pos,align:s.align,overlay:s.overlay,tx:Un(s.tx),spPr:s.spPr,txPr:s.txPr,unknown:s.unknown})),plotArea:Q({plotAreaRegion:Q({plotSurface:n?.plotSurface,series:r}),axes:(n?.axes??[]).map($n),spPr:n?.spPr,unknown:n?.unknown}),legend:o&&Q({pos:o.legendPos===`tr`?`r`:o.legendPos,align:o.align,overlay:o.overlay,spPr:o.spPr,txPr:o.txPr,unknown:o.unknown}),unknown:t?.unknown}),spPr:e.spPr,txPr:e.txPr,unknown:e.unknown});var s},tr=(e,t)=>{if(e===t)return!0;if(typeof e!=`object`||typeof t!=`object`||e===null||t===null||Array.isArray(e)!==Array.isArray(t))return!1;let n=e=>Object.keys(e).filter(t=>e[t]!==void 0),r=n(e),i=n(t);return r.length===i.length&&r.every(n=>tr(e[n],t[n]))},nr=(e,t)=>tr(e,er(t)),rr=e=>{let t=l(e);if(!t||t.name!==`chartSpace`)return null;let n=_(t,ce);if(!se(ue(t,n)))return null;let r=new he(e,n),i=S(t,Cn,ce,r),a=(e=>{let t=e.chart,n=t?.plotArea,r=t?.legend;return Q({chart:Q({title:Mn(t?.title),plotArea:Q({groups:Vn(n?.plotAreaRegion,e.chartData?.data??[]),axes:(n?.axes??[]).map(Hn),spPr:n?.spPr,plotSurface:n?.plotAreaRegion?.plotSurface,unknown:n?.unknown}),legend:r&&Q({legendPos:r.pos,align:r.align,overlay:r.overlay,spPr:r.spPr,txPr:r.txPr,unknown:r.unknown}),unknown:t?.unknown}),spPr:e.spPr,txPr:e.txPr,unknown:e.unknown})})(i);return{model:a,kept:r.kept,reordered:r.reordered,lossy:!nr(i,a)}},ir=e=>{let t={...e.unknown?.attributes},n=(e,n)=>{t[`xmlns:${e}`]??=n};n(h.a,p),n(h.r,m),n(h.cx,re);let r=er(e),i=new v().raw(Ht);return((e,t)=>{C(e,w(`cx`,`chartSpace`),t,Cn)})(i,{...r,unknown:{...r.unknown,attributes:t}}),i.toString()},ar=(e,t)=>{if(t){let n=rr(t);if(n&&JSON.stringify(n.model)===JSON.stringify(e))return t}return ir(e)},or={chart:{relType:`http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart`,contentType:`application/vnd.openxmlformats-officedocument.drawingml.chart+xml`,path:`../charts/chart{n}.xml`,graphicUri:f},chartEx:{relType:`http://schemas.microsoft.com/office/2014/relationships/chartEx`,contentType:`application/vnd.ms-office.chartex+xml`,path:`../charts/chartEx{n}.xml`,graphicUri:re}},sr=new Set([`area`,`bar`,`line`,`pie`,`doughnut`,`ofPie`,`scatter`,`bubble`,`radar`,`stock`,`surface`]),cr=e=>e===or.chartEx.relType?`chartEx`:e===or.chart.relType?`chart`:null,lr=e=>sr.has(e)?`chart`:En.has(e)?`chartEx`:null,ur=e=>{let t=Vt(e);if(t)return{model:t.model,family:`chart`,kept:t.kept,lossy:!1};let n=rr(e);return n?{model:n.model,family:`chartEx`,kept:n.kept,lossy:n.lossy}:null},dr=e=>{if(Array.isArray(e))return e.map(dr);if(typeof e!=`object`||!e)return e;let t={};for(let[n,r]of Object.entries(e))n!==`unknown`&&(t[n]=dr(r));return t},fr=(e,t)=>{let n=e.chart?.plotArea?.groups??[],r=n.map(e=>lr(e.type)).find(e=>e!==null)??t?.family??`chart`,i=n.filter(e=>lr(e.type)!==r).map(e=>e.type),a=e;if(i.length>0){let t={...e.chart.plotArea,groups:n.filter(e=>lr(e.type)===r)};a={...e,chart:{...e.chart,plotArea:t}}}let o=(t?.family??r)===r;o||(a=dr(a));let s=o?t?.xml:void 0;return{family:r,leftOut:i,xml:r===`chartEx`?ar(a,s):Wt(a,s)}};export{r as a,or as i,fr as n,ur as o,i as r,cr as t};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CXwbGzavyvYgDbWU.js","./ChSvXfVMLxZsP9zG.js","./HclGiUj8dZXDFmoM.js","./CHlWgOAlcRCjVuhg.js","./IfF7Tv-nhz6Ikpn0.js","./Bwql3QifB2cv7Mqp.js","./Ca6nxdhEuLLty3d7.js","./3Ls_kOvlQseMV8Q0.js","./nHThFXCAZFOM_npq.js","./BcOdl17EeFSxnAiq.js","./CnZJ44ncMxZ4ivcB.js","./DcrVJCyDwGKeil2U.js","./BQnELVV0uR4T4ItQ.js","./CnXLpFE_vFrJ5Jbf.js","./21oAESJyBGXeHegm.js","./CvL9XK3Ht1mP-rGz.js","./B5GO9v4p9L70Xb9i.js","./04d8koPx6lzeMYRQ.js","./D_H2dlsQ8PJ0r1WD.js","./BksaQEoZr5OWq-_d.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{t as e}from"./HclGiUj8dZXDFmoM.js";import{B as t}from"./ChSvXfVMLxZsP9zG.js";var n=[208,207,17,224,161,177,26,225],r=async()=>(await e(async()=>{let{OffCryptoEncryption:e}=await import(`./CXwbGzavyvYgDbWU.js`);return{OffCryptoEncryption:e}},__vite__mapDeps([0,1,2,3]),import.meta.url)).OffCryptoEncryption,i={key:`offcrypto`,description:`Office Document Encryption`,detect:async e=>!!(e=>{if(e.byteLength<n.length)return!1;let t=new Uint8Array(e,0,n.length);for(let e=0;e<n.length;e++)if(t[e]!==n[e])return!1;return!0})(e)&&(await r()).detect(e),decode:async(e,t)=>(await r()).decode(e,t),encode:async(e,t)=>(await r()).encode(e,t)},a=t(`io-xlsx:reader`,()=>e(()=>import(`./IfF7Tv-nhz6Ikpn0.js`).then(e=>e.t),__vite__mapDeps([4,5,2,1,6,7,8,9,10,11,12,13,14,15,16,17]),import.meta.url)),o=t(`io-xlsx:writer`,()=>e(()=>import(`./D_H2dlsQ8PJ0r1WD.js`),__vite__mapDeps([18,1,2,6,7,8,9,10,11,12,13,14,15,17,16,19]),import.meta.url)),s=`Excel`,c=`ExcelMacro`,l=`ExcelTemplate`,u=`ExcelMacroTemplate`,d=[s,c,l,u],f={key:s,description:`Excel Workbook`,mimeType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`,exts:[`xlsx`,`xls`],handler:async(e,t)=>(await a.load()).readXLSX(e,t)},p={key:c,description:`Excel Macro-Enabled Workbook`,mimeType:`application/vnd.ms-excel.sheet.macroEnabled.12`,exts:[`xlsm`],handler:async(e,t)=>(await a.load()).readXLSX(e,t)},m={key:l,description:`Excel Template`,mimeType:`application/vnd.openxmlformats-officedocument.spreadsheetml.template`,exts:[`xltx`],handler:async(e,t)=>(await a.load()).readXLSX(e,t)},h={key:u,description:`Excel Macro-Enabled Template`,mimeType:`application/vnd.ms-excel.template.macroEnabled.12`,exts:[`xltm`],handler:async(e,t)=>(await a.load()).readXLSX(e,t)},g={key:s,mimeType:`application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`,description:`Excel Workbook`,exts:[`xlsx`],handler:async(e,t)=>(await o.load()).writeXLSX(e,{...t,macroEnabled:!1})},_={key:c,mimeType:`application/vnd.ms-excel.sheet.macroEnabled.12`,description:`Excel Macro-Enabled Workbook`,exts:[`xlsm`],handler:async(e,t)=>(await o.load()).writeXLSX(e,{...t,macroEnabled:!0})},v={key:l,mimeType:`application/vnd.openxmlformats-officedocument.spreadsheetml.template`,description:`Excel Template`,exts:[`xltx`],handler:async(e,t)=>(await o.load()).writeXLSX(e,{...t,macroEnabled:!1,template:!0})},y={key:u,mimeType:`application/vnd.ms-excel.template.macroEnabled.12`,description:`Excel Macro-Enabled Template`,exts:[`xltm`],handler:async(e,t)=>(await o.load()).writeXLSX(e,{...t,macroEnabled:!0,template:!0})},b={name:`@sheetxl/io-xlsx`,version:`0.8.0-beta.14`,description:`XLSX I/O formats for SheetXL`,author:`SheetXL`,async register(e){await e.registerReadFormat(f),await e.registerReadFormat(p),await e.registerReadFormat(m),await e.registerReadFormat(h),await e.registerWriteFormat(g),await e.registerWriteFormat(_),await e.registerWriteFormat(v),await e.registerWriteFormat(y),await e.registerEncryption(i)}};export{b as n,d as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=(e,t)=>{let n=t?.getSlicerStyles();return n?(n.getByName(e)??n.getByName(`SlicerStyleLight1`))?.getProperties()??null:null},t=(e,t,n)=>{let r=`${e?`Selected`:`Unselected`}ItemWith${t?`Data`:`NoData`}`;return n?`hovered${r}`:r.charAt(0).toLowerCase()+r.slice(1)},n=(e,t)=>{let n={};if(!e||!t)return n;let r=e=>{if(e)return t.parseColor(e)?.toCSS(`adaptive`)??void 0},i=e.font;if(i){(i.weight??400)>=700&&(n.fontWeight=`bold`);let e=r(i.color);e&&(n.color=e)}let a=e.fill;if(a?.type===`gradient`&&a.stops?.length){let e=a.stops.length,t=a.stops.map((t,n)=>{let i=t&&typeof t==`object`&&`color`in t?t:{color:t},a=i.offset??(e>1?n/(e-1):0);return`${r(i.color)??`transparent`} ${100*a}%`});n.background=`linear-gradient(${a.angle??0}deg, ${t.join(`, `)})`}else if(a?.type===`pattern`&&a.patternType!==`none`){let e=r(a.foreground);e&&(n.background=e)}else if(a?.type===`solid`){let e=r(a.color);e&&(n.background=e)}let o=e.borders;if(o)for(let e of[`left`,`right`,`top`,`bottom`]){let t=o[e];if(!t||t.style===`none`)continue;let i=r(t.color);i&&(n[`border${e.charAt(0).toUpperCase()}${e.slice(1)}`]=`1px solid ${i}`)}return n};export{n,e as r,t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=[[`3cd4 hc t`,`cd2 l vc`,`cd4 hc b`,`0 r vc`],[`3cd4 hc t`,`3cd4 il it`,`cd2 l vc`,`cd4 il ib`,`cd4 hc b`,`cd4 ir ib`,`0 r vc`,`3cd4 ir it`],[`3cd4 hc t`,`cd2 wd4 vc`,`cd4 hc b`,`0 x2 vc`]],t=Object.freeze({flowChartAlternateProcess:{gd:[`x2 +- r 0 ssd6`,`y2 +- b 0 ssd6`,`il */ ssd6 29289 100000`,`ir +- r 0 il`,`ib +- b 0 il`],cxn:0,rect:`il il ir ib`,paths:[{d:`M l ssd6 A ssd6 ssd6 cd2 cd4 L x2 t A ssd6 ssd6 3cd4 cd4 L r y2 A ssd6 ssd6 0 cd4 L ssd6 b A ssd6 ssd6 cd4 cd4 Z`}]},flowChartCollate:{gd:[`ir */ w 3 4`,`ib */ h 3 4`],cxn:[`3cd4 hc t`,`3cd4 hc vc`,`cd4 hc b`],rect:`wd4 hd4 ir ib`,paths:[{w:2,h:2,d:`M 0 0 L 2 0 L 1 1 L 2 2 L 0 2 L 1 1 Z`}]},flowChartConnector:{gd:[`idx cos wd2 2700000`,`idy sin hd2 2700000`,`il +- hc 0 idx`,`ir +- hc idx 0`,`it +- vc 0 idy`,`ib +- vc idy 0`],cxn:1,rect:`il it ir ib`,paths:[{d:`M l vc A wd2 hd2 cd2 cd4 A wd2 hd2 3cd4 cd4 A wd2 hd2 0 cd4 A wd2 hd2 cd4 cd4 Z`}]},flowChartDecision:{gd:[`ir */ w 3 4`,`ib */ h 3 4`],cxn:0,rect:`wd4 hd4 ir ib`,paths:[{w:2,h:2,d:`M 0 1 L 1 0 L 2 1 L 1 2 Z`}]},flowChartDelay:{gd:[`idx cos wd2 2700000`,`idy sin hd2 2700000`,`ir +- hc idx 0`,`it +- vc 0 idy`,`ib +- vc idy 0`],cxn:0,rect:`l it ir ib`,paths:[{d:`M l t L hc t A wd2 hd2 3cd4 cd2 L l b Z`}]},flowChartDisplay:{gd:[`x2 */ w 5 6`],cxn:0,rect:`wd6 t x2 b`,paths:[{w:6,h:6,d:`M 0 3 L 1 0 L 5 0 A 1 3 3cd4 cd2 L 1 6 Z`}]},flowChartDocument:{gd:[`y1 */ h 17322 21600`,`y2 */ h 20172 21600`],cxn:[`3cd4 hc t`,`cd2 l vc`,`cd4 hc y2`,`0 r vc`],rect:`l t r y1`,paths:[{w:21600,h:21600,d:`M 0 0 L 21600 0 L 21600 17322 C 10800 17322 10800 23922 0 20172 Z`}]},flowChartExtract:{gd:[`x2 */ w 3 4`],cxn:2,rect:`wd4 vc x2 b`,paths:[{w:2,h:2,d:`M 0 2 L 1 0 L 2 2 Z`}]},flowChartInputOutput:{gd:[`x3 */ w 2 5`,`x4 */ w 3 5`,`x5 */ w 4 5`,`x6 */ w 9 10`],cxn:[`3cd4 x4 t`,`3cd4 hc t`,`cd2 wd10 vc`,`cd4 x3 b`,`cd4 hc b`,`0 x6 vc`],rect:`wd5 t x5 b`,paths:[{w:5,h:5,d:`M 0 5 L 1 0 L 5 0 L 4 5 Z`}]},flowChartInternalStorage:{cxn:0,rect:`wd8 hd8 r b`,paths:[{s:0,w:1,h:1,d:`M 0 0 L 1 0 L 1 1 L 0 1 Z`},{f:`none`,w:8,h:8,d:`M 1 0 L 1 8 M 0 1 L 8 1`},{f:`none`,w:1,h:1,d:`M 0 0 L 1 0 L 1 1 L 0 1 Z`}]},flowChartMagneticDisk:{gd:[`y3 */ h 5 6`],cxn:[`3cd4 hc hd3`,`3cd4 hc t`,`cd2 l vc`,`cd4 hc b`,`0 r vc`],rect:`l hd3 r y3`,paths:[{s:0,w:6,h:6,d:`M 0 1 A 3 1 cd2 cd2 L 6 5 A 3 1 0 cd2 Z`},{f:`none`,w:6,h:6,d:`M 6 1 A 3 1 0 cd2`},{f:`none`,w:6,h:6,d:`M 0 1 A 3 1 cd2 cd2 L 6 5 A 3 1 0 cd2 Z`}]},flowChartMagneticDrum:{gd:[`x2 */ w 2 3`],cxn:[`3cd4 hc t`,`cd2 l vc`,`cd4 hc b`,`0 x2 vc`,`0 r vc`],rect:`wd6 t x2 b`,paths:[{s:0,w:6,h:6,d:`M 1 0 L 5 0 A 1 3 3cd4 cd2 L 1 6 A 1 3 cd4 cd2 Z`},{f:`none`,w:6,h:6,d:`M 5 6 A 1 3 cd4 cd2`},{f:`none`,w:6,h:6,d:`M 1 0 L 5 0 A 1 3 3cd4 cd2 L 1 6 A 1 3 cd4 cd2 Z`}]},flowChartMagneticTape:{gd:[`idx cos wd2 2700000`,`idy sin hd2 2700000`,`il +- hc 0 idx`,`ir +- hc idx 0`,`it +- vc 0 idy`,`ib +- vc idy 0`,`ang1 at2 w h`],cxn:0,rect:`il it ir ib`,paths:[{d:`M hc b A wd2 hd2 cd4 cd4 A wd2 hd2 cd2 cd4 A wd2 hd2 3cd4 cd4 A wd2 hd2 0 ang1 L r ib L r b Z`}]},flowChartManualInput:{cxn:[`3cd4 hc hd10`,`cd2 l vc`,`cd4 hc b`,`0 r vc`],rect:`l hd5 r b`,paths:[{w:5,h:5,d:`M 0 1 L 5 0 L 5 5 L 0 5 Z`}]},flowChartManualOperation:{gd:[`x3 */ w 4 5`,`x4 */ w 9 10`],cxn:[`3cd4 hc t`,`cd2 wd10 vc`,`cd4 hc b`,`0 x4 vc`],rect:`wd5 t x3 b`,paths:[{w:5,h:5,d:`M 0 0 L 5 0 L 4 5 L 1 5 Z`}]},flowChartMerge:{gd:[`x2 */ w 3 4`],cxn:2,rect:`wd4 t x2 vc`,paths:[{w:2,h:2,d:`M 0 0 L 2 0 L 1 2 Z`}]},flowChartMultidocument:{gd:[`y2 */ h 3675 21600`,`y8 */ h 20782 21600`,`x3 */ w 9298 21600`,`x4 */ w 12286 21600`,`x5 */ w 18595 21600`],cxn:[`3cd4 x4 t`,`cd2 l vc`,`cd4 x3 y8`,`0 r vc`],rect:`l y2 x5 y8`,paths:[{s:0,w:21600,h:21600,d:`M 0 20782 C 9298 23542 9298 18022 18595 18022 L 18595 3675 L 0 3675 Z M 1532 3675 L 1532 1815 L 20000 1815 L 20000 16252 C 19298 16252 18595 16352 18595 16352 L 18595 3675 Z M 2972 1815 L 2972 0 L 21600 0 L 21600 14392 C 20800 14392 20000 14467 20000 14467 L 20000 1815 Z`},{f:`none`,w:21600,h:21600,d:`M 0 3675 L 18595 3675 L 18595 18022 C 9298 18022 9298 23542 0 20782 Z M 1532 3675 L 1532 1815 L 20000 1815 L 20000 16252 C 19298 16252 18595 16352 18595 16352 M 2972 1815 L 2972 0 L 21600 0 L 21600 14392 C 20800 14392 20000 14467 20000 14467`},{f:`none`,s:0,w:21600,h:21600,d:`M 0 20782 C 9298 23542 9298 18022 18595 18022 L 18595 16352 C 18595 16352 19298 16252 20000 16252 L 20000 14467 C 20000 14467 20800 14392 21600 14392 L 21600 0 L 2972 0 L 2972 1815 L 1532 1815 L 1532 3675 L 0 3675 Z`}]},flowChartOfflineStorage:{gd:[`x4 */ w 3 4`],cxn:[`0 x4 vc`,`cd4 hc b`,`cd2 wd4 vc`,`3cd4 hc t`],rect:`wd4 t x4 vc`,paths:[{s:0,w:2,h:2,d:`M 0 0 L 2 0 L 1 2 Z`},{f:`none`,w:5,h:5,d:`M 2 4 L 3 4`},{f:`none`,w:2,h:2,d:`M 0 0 L 2 0 L 1 2 Z`}]},flowChartOffpageConnector:{gd:[`y1 */ h 4 5`],cxn:0,rect:`l t r y1`,paths:[{w:10,h:10,d:`M 0 0 L 10 0 L 10 8 L 5 10 L 0 8 Z`}]},flowChartOnlineStorage:{gd:[`x2 */ w 5 6`],cxn:[`3cd4 hc t`,`cd2 l vc`,`cd4 hc b`,`0 x2 vc`],rect:`wd6 t x2 b`,paths:[{w:6,h:6,d:`M 1 0 L 6 0 A 1 3 3cd4 -10800000 L 1 6 A 1 3 cd4 cd2 Z`}]},flowChartOr:{gd:[`idx cos wd2 2700000`,`idy sin hd2 2700000`,`il +- hc 0 idx`,`ir +- hc idx 0`,`it +- vc 0 idy`,`ib +- vc idy 0`],cxn:1,rect:`il it ir ib`,paths:[{s:0,d:`M l vc A wd2 hd2 cd2 cd4 A wd2 hd2 3cd4 cd4 A wd2 hd2 0 cd4 A wd2 hd2 cd4 cd4 Z`},{f:`none`,d:`M hc t L hc b M l vc L r vc`},{f:`none`,d:`M l vc A wd2 hd2 cd2 cd4 A wd2 hd2 3cd4 cd4 A wd2 hd2 0 cd4 A wd2 hd2 cd4 cd4 Z`}]},flowChartPredefinedProcess:{gd:[`x2 */ w 7 8`],cxn:0,rect:`wd8 t x2 b`,paths:[{s:0,w:1,h:1,d:`M 0 0 L 1 0 L 1 1 L 0 1 Z`},{f:`none`,w:8,h:8,d:`M 1 0 L 1 8 M 7 0 L 7 8`},{f:`none`,w:1,h:1,d:`M 0 0 L 1 0 L 1 1 L 0 1 Z`}]},flowChartPreparation:{gd:[`x2 */ w 4 5`],cxn:0,rect:`wd5 t x2 b`,paths:[{w:10,h:10,d:`M 0 5 L 2 0 L 8 0 L 10 5 L 8 10 L 2 10 Z`}]},flowChartProcess:{cxn:0,paths:[{w:1,h:1,d:`M 0 0 L 1 0 L 1 1 L 0 1 Z`}]},flowChartPunchedCard:{cxn:0,rect:`l hd5 r b`,paths:[{w:5,h:5,d:`M 0 1 L 1 0 L 5 0 L 5 5 L 0 5 Z`}]},flowChartPunchedTape:{gd:[`y2 */ h 9 10`,`ib */ h 4 5`],cxn:[`3cd4 hc hd10`,`cd2 l vc`,`cd4 hc y2`,`0 r vc`],rect:`l hd5 r ib`,paths:[{w:20,h:20,d:`M 0 2 A 5 2 cd2 -10800000 A 5 2 cd2 cd2 L 20 18 A 5 2 0 -10800000 A 5 2 0 cd2 Z`}]},flowChartSort:{gd:[`ir */ w 3 4`,`ib */ h 3 4`],cxn:0,rect:`wd4 hd4 ir ib`,paths:[{s:0,w:2,h:2,d:`M 0 1 L 1 0 L 2 1 L 1 2 Z`},{f:`none`,w:2,h:2,d:`M 0 1 L 2 1`},{f:`none`,w:2,h:2,d:`M 0 1 L 1 0 L 2 1 L 1 2 Z`}]},flowChartSummingJunction:{gd:[`idx cos wd2 2700000`,`idy sin hd2 2700000`,`il +- hc 0 idx`,`ir +- hc idx 0`,`it +- vc 0 idy`,`ib +- vc idy 0`],cxn:1,rect:`il it ir ib`,paths:[{s:0,d:`M l vc A wd2 hd2 cd2 cd4 A wd2 hd2 3cd4 cd4 A wd2 hd2 0 cd4 A wd2 hd2 cd4 cd4 Z`},{f:`none`,d:`M il it L ir ib M ir it L il ib`},{f:`none`,d:`M l vc A wd2 hd2 cd2 cd4 A wd2 hd2 3cd4 cd4 A wd2 hd2 0 cd4 A wd2 hd2 cd4 cd4 Z`}]},flowChartTerminator:{gd:[`il */ w 1018 21600`,`ir */ w 20582 21600`,`it */ h 3163 21600`,`ib */ h 18437 21600`],cxn:0,rect:`il it ir ib`,paths:[{w:21600,h:21600,d:`M 3475 0 L 18125 0 A 3475 10800 3cd4 cd2 L 3475 21600 A 3475 10800 cd4 cd2 Z`}]}});export{t as BUILT_IN,e as CXN_SHARED};
|