@sheetxl/mcp 0.8.0-beta.22 → 0.8.0-beta.24
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/assets/{BHsqPfJZrdKTbPLP.js → 2YT_wstXIH6UIigi.js} +1 -1
- package/assets/{DtvJg63vbDd6B7sD.js → 3VycPrqi6qgLOgGY.js} +6 -6
- package/assets/{DoScYrfTJOHXe-Ko.js → 6CBUVbF01Bedq0e2.js} +66 -66
- package/assets/{D-MsUF59BhikcNZt.js → 76dPHG5RYA7MUV_g.js} +3 -3
- package/assets/{DgVCjvTw9Df1DV1x.js → 7IzItpr7MkdnaAwh.js} +167 -167
- package/assets/{DevKDvFONeJ9euEq.js → 7vPlH3_rhJxmmBvG.js} +1 -1
- package/assets/{BV49J63s68Mj6lgF.js → 9GnbVPKozgrJpeLW.js} +1 -1
- package/assets/{VSbzBtGH0cA8VBsM.js → B-5mBXpY9i6-eCrZ.js} +39 -39
- package/assets/{4zyHb1mmcFfqwpjO.js → B-t1q2NS61c2B8E4.js} +1 -1
- package/assets/{BSdRn3B8QeJFflY6.js → B16G2473LTkZP6Mq.js} +157 -137
- package/assets/{DrLUi6vduqDLmQjl.js → B4uS01J0mrSJSftQ.js} +89 -89
- package/assets/{BzFIkeB_lheiTR7z.js → B6caaQsfOpFEgYQ4.js} +1 -1
- package/assets/{b-xk3WtCPBkC4E-Z.js → B7lATTNffVTrDsKE.js} +2 -2
- package/assets/{hhpAcu3tINDLk7Ov.js → B8bEJ65vQRqsfBlS.js} +5 -5
- package/assets/{ryaMyh_8KvmXVSJd.js → BAVltO4Xf7lC0Xr6.js} +1 -1
- package/assets/{3N6hsbh2WLceyO6T.js → BH7ctzMzOYVTGxzA.js} +1 -1
- package/assets/{HVwvDMZh0ZGR-hRT.js → BJqo8c5bFKjnq69G.js} +11 -11
- package/assets/{DEOkcuqKBFyRnY18.js → BJwiwzwx4Bl5L4Vq.js} +1 -1
- package/assets/{CT99WREgkKGpcDTO.js → BPNLZ07Bu_B8Yhf1.js} +1 -1
- package/assets/{CSKjFDYwiwn5XNnH.js → BWLavTnANLUerdS0.js} +2 -2
- package/assets/{Dvsld01DkmiNLjfP.js → BXWGS09xFG81nnIT.js} +1 -1
- package/assets/{C4-0s3Udk3v4ytSn.js → BaYk1vO2hP2S3_1w.js} +2 -2
- package/assets/{CHqnRMWNpLKcAWWn.js → BifwlrCmEVtjh_1U.js} +1 -1
- package/assets/{CYCqMEoWsry6_hrc.js → BjyXkr-CzV8mVx0t.js} +1 -1
- package/assets/{Ds5pLAwSN4lSbao6.js → BkHeIMSE7-LehRCs.js} +1 -1
- package/assets/{CwNKcoA7na7Ess3a.js → BkekCZ17YTtd07_C.js} +2 -2
- package/assets/{0jPw8-AyT6VbPuGO.js → BnNB_ejvNaLu6B3o.js} +1 -1
- package/assets/{BPZWfwUvFCLQInXN.js → BrJd9jVVv9SQzZol.js} +400 -400
- package/assets/{BRVEVVhj-8ZPrNyQ.js → BrYc6PLonux_gI6b.js} +223 -223
- package/assets/{Cu4VAHfmjXWfTMPu.js → BxwB3iTNSE1TgHkb.js} +1 -1
- package/assets/{DgYcOz0M0pmZf9x_.js → By1QPrSxtnRiJu0R.js} +2 -2
- package/assets/{B5VTjL9m0R-Icfaz.js → ByYJTTTUuu67hDF-.js} +4 -4
- package/assets/{CXk5vwFfosghrTKo.js → C-nA4SXN5hWHaxV6.js} +535 -535
- package/assets/{BnGNMsqG5CzUzmX7.js → C0uu0vLKQh0S508B.js} +23 -23
- package/assets/{BDq4iVyBh5lwX8pE.js → C6PNMev7cs5JLgwy.js} +1 -1
- package/assets/{C1PTfp7kVu3DqqZh.js → C9iFJ52KwQTePQ81.js} +8944 -8935
- package/assets/{xDx1vaNa2aCMs4_e.js → CCF6CwJ6cbeLRl23.js} +1 -1
- package/assets/{CAgQJrDxGEfoa7jn.js → CEk658HeLJk2cAjM.js} +3 -3
- package/assets/{Bf7Irm8Ua4s1T4xH.js → CFNtPYPfDPH-3BXK.js} +1 -1
- package/assets/{CHG9Q0uLAZdLXYVz.js → CFT_tDogP98gTbh7.js} +101 -101
- package/assets/{ze6Q8BiEw9RClBzZ.js → CFWwwr74qRKOBrg9.js} +1 -1
- package/assets/{Bi65BKwwiZYYZprq.js → CIY_RiLu1_FmRLAA.js} +1 -1
- package/assets/{D9ja7F9irHf9Iovx.js → CIw6ZC3K9x-ccacl.js} +1 -1
- package/assets/{1dUPpOVZSeeylKHv.js → CJ2hV-9ipqOEkLSG.js} +1 -1
- package/assets/{vazKaFOkHRriv7tX.js → CKD460cQOgwF6uSV.js} +1 -1
- package/assets/{zJoBN2CJdxEV7vdh.js → CM-q_J5aF6YXmjeu.js} +3 -3
- package/assets/{9AosCdy_xtdhLjN1.js → CR1aLf7CWEfPTO9a.js} +1 -1
- package/assets/{E9mta1q4VtVUusy5.js → CSXmTA6w6Pnbtqvb.js} +1 -1
- package/assets/{BI5L_Ysr8s0TQxdg.js → CT4czEKWIj1GeQN8.js} +1 -1
- package/assets/{D8dNiNpu9_L0NjGP.js → CUYQlZz5zWsUdmRy.js} +1 -1
- package/assets/{CGB4xgirbgEIN3tg.js → CbJWbjmv4bz4ppIZ.js} +356 -354
- package/assets/{Bx592y6pyOwTS2x7.js → Cf0zmfQYfJ7zM0Ya.js} +1 -1
- package/assets/{8csqJ8aGOdnKlrLl.js → Ch9w7xFxVMrvGuC_.js} +1 -1
- package/assets/{GGcMgq3ScY7Tv0PE.js → CmkgQ5-IG0BSCM3R.js} +3 -3
- package/assets/{BkqENH8xJ3_NQnD5.js → CmwNIrRssYuLN2fn.js} +422 -422
- package/assets/{sYakw2x8dcnpUlsX.js → CnI4Nli8vtWdFKvf.js} +3 -3
- package/assets/{DRd8gdwcr3EqtGkb.js → CnKX5SPVE2iuSK42.js} +1 -1
- package/assets/{BvKzhnweVF6GhjXh.js → CpvJUGg9ckuCIpIS.js} +1 -1
- package/assets/{DFQLoYLUO4TgDZPK.js → Cxzowsi6ASdZtzeI.js} +1 -1
- package/assets/{tIoHMgrZeRHWyxos.js → CzRvg04_TIbwBH5C.js} +3 -3
- package/assets/{BygXDW3XTdtR38aA.js → D-vo2bQyAmStQmD9.js} +1 -1
- package/assets/{DxNK3HVEzFdUou54.js → D6d1DKL15m52ZCuC.js} +1 -1
- package/assets/{Z5tQQ6IW5YBjblWX.js → D8k9de_hen-KqBWe.js} +1 -1
- package/assets/{91BKH9obG4IfBzhy.js → DE7G34oYbvrfXbJ7.js} +383 -378
- package/assets/{BrfsWImwRtf54LUU.js → DFVQIZ2zZyAphhCF.js} +1 -1
- package/assets/{D1tShC5iBlUoT2V2.js → DGI_8HyNF0eAv0P5.js} +1 -1
- package/assets/{C1yAmXrOu3iHV2cu.js → DGOgx3-IyO8bjF_t.js} +83 -83
- package/assets/{BXean6K6oDUxkzyd.js → DIgPlkEabQdKNUQn.js} +1 -1
- package/assets/{DmVQgN-N_HhYvakk.js → DJGYlGr2Zj7SkYqc.js} +1 -1
- package/assets/{DzGpZ2CQ1St9BF0y.js → DJfpKncnYnrr28G0.js} +1 -1
- package/assets/{CHnaSM8aMnQ2_VWW.js → DL8pez0eKo8arYPj.js} +3 -3
- package/assets/{tPa3RpqYRqCCCYf1.js → DM-yGHahbfA_uarn.js} +1 -1
- package/assets/{DHHYGjNwlLvja3dS.js → DMDTS0LH9Ke9t-3z.js} +1 -1
- package/assets/{D89TE5n8VKre9Gmp.js → DNSWaXblwhTtI3w7.js} +1 -1
- package/assets/{UgDy0WNXuV1sEnFW.js → DOSWSyKkK4eSi4PD.js} +2 -2
- package/assets/{CHpBOpoM9bCvQyn0.js → DPLTGglaPovTg9e5.js} +1 -1
- package/assets/{CpYgsvYMxV5SbRp3.js → DPYFRLJbHGlrcrJq.js} +2 -2
- package/assets/{DLbzfP7OOWhafkTq.js → DRq6lQLndj73WT35.js} +1 -1
- package/assets/{BUGEQS5WdiLcI_0X.js → DRzZ4bEyLRGVOLzV.js} +1 -1
- package/assets/{BUIjRIGTum7VuRFk.js → DUbIxDAzW1dzrtdI.js} +1 -1
- package/assets/{OfjHqYH31KqC5gVM.js → DXCTHw-ZutNIuo_2.js} +1 -1
- package/assets/{OtMeAlbq6tyW5Hnc.js → D_tdoUtUe7cApQJn.js} +4 -4
- package/assets/{DawLBAaNAAmo_P3Y.js → DaF9L7No8h8a-cqb.js} +2 -2
- package/assets/{DdDKDqtpIkzd-mXi.js → DaHD9SY75O8wDy3p.js} +2 -2
- package/assets/{CXqqaFgNeUVRGvEb.js → Daaro0HbHkKXkBP-.js} +2 -2
- package/assets/{BiC09_YKQPmlUklQ.js → DczQhB3mRSUw6GCf.js} +1 -1
- package/assets/Dfv_T_PQVL0O3lu5.js +14 -0
- package/assets/{B6pXiayrnDoDbQt1.js → Dhy6iU_09lrQnOAV.js} +47 -47
- package/assets/{Dbh-XVDw294AVLtl.js → Dk9zYXO3VoBhTdex.js} +1 -1
- package/assets/{DQIQR1t3IkC9wshP.js → DkQ4kxEKhKYQgfjK.js} +1 -1
- package/assets/{CSGN4rAf7CYnBDEa.js → Dlqk7XqKnAZ8Pcj3.js} +83 -83
- package/assets/{BaaVzb7xXROiWUhT.js → DqSBb1HmgeU7eg_i.js} +84 -84
- package/assets/{BgwCdHyXKQYFAl1M.js → Ds4TB1hn56-RK6_f.js} +1 -1
- package/assets/{VWEaItb0XvCoRiCT.js → DtVSjxL6N_7WyM8Z.js} +1 -1
- package/assets/{C9wlvcFyjQA59G-_.js → DuEtCJEnG_GnJzTX.js} +1 -1
- package/assets/{DdnALoxd3b8TLNla.js → DwNcvKM47ZHfvQM6.js} +1 -1
- package/assets/{CdtVv8YQ8PTmS4dz.js → DyiH3LlinD-38bG7.js} +1 -1
- package/assets/{hAVtdK6u2tlLI2cB.js → Jy-_0a72nn5Iv1NK.js} +1 -1
- package/assets/{Bzp3UtK_6fqEVlV8.js → KMzONx2Ps841nJHj.js} +8 -8
- package/assets/{CV729JV1mNyYCmrq.js → LM2rVDHdB0jVUFcT.js} +1 -1
- package/assets/{do_DTptu6c_xHJoZ.js → MosMza0-rXD8uHX_.js} +2 -2
- package/assets/{COVhUB0EotytQDHg.js → NAWWzA_hk4wYtsPP.js} +2 -2
- package/assets/{CufFcGwo5x95LSb7.js → P6V3JAiRpC3BWceC.js} +1 -1
- package/assets/{1U3DwsqHnOBwiGWn.js → TZnuVwhVjkOBax9F.js} +2 -2
- package/assets/{nSzQt54CIADky_tF.js → TdDTOcC1TYhk6UuR.js} +1 -1
- package/assets/{CGxhgXj5qKj_Ubcp.js → Xccc6oxtlSvJUDsC.js} +1 -1
- package/assets/{DAqaOCEQLmZRjcdR.js → a2e_g9YI3J-lUD7-.js} +1 -1
- package/assets/{D-N87jCOShDKTFDh.js → b8yACuWy67eIj_j2.js} +1 -1
- package/assets/{BlxrCp7d-SeM-2DW.js → bv3fZLUPzd14I58C.js} +631 -621
- package/assets/{CKhbbbjQ-_auMp3n.js → doqBmhonQlHp-1Ud.js} +1 -1
- package/assets/{BZxJKqVEO7B23XwE.js → fEfisM0E2fUYKIyU.js} +5 -5
- package/assets/{v5XZSqLd9ZV3kqcA.js → flby0g5gyZ9P2Wu2.js} +1 -1
- package/assets/{coTH4ab6CTEzw87b.js → g2Nu44uuSJFMzxEV.js} +2 -2
- package/assets/{Cahhn5OLNqRYy-n8.js → mZt9BTEejCJZ4YK4.js} +1 -1
- package/assets/{BnK6HEqT4rf1RoOG.js → qc7rA-Z3a4rkVQPx.js} +217 -217
- package/assets/{DsBXjYAgTUXAAWZZ.js → sJVPCrgeh0U6LbAK.js} +1 -1
- package/assets/{wWgI0JPoe_Wv0ceW.js → suLYEZBtGUhSYeB7.js} +1 -1
- package/assets/{WSiEiaP-NUEr9UaB.js → tWO-mE87mAuj1qih.js} +2 -2
- package/assets/{DdXp_iPwTOHAOvlL.js → xD41vsQY6h60lCqz.js} +1168 -1170
- package/assets/{C7zManFR1LEJXiwb.js → yz2PTfYm_8EGJPM5.js} +1 -1
- package/index.js +117 -117
- package/lib.js +1 -1
- package/licenses/dependencies.txt +12 -12
- package/package.json +4 -4
- package/screenshot-page/assets/{CFl15-2FAF9f3V7L.js → 0UZBKpOOsp7P-DkP.js} +2 -2
- package/screenshot-page/assets/{DfT1DMR1b5kiyYiV.js → B-0-chiwq4MIUQy9.js} +1 -1
- package/screenshot-page/assets/B7pXfEVkcbaMBMhc.js +1 -0
- package/screenshot-page/assets/BDRMUi2BsnBqytIq.js +2 -0
- package/screenshot-page/assets/BEjJHVSbtlsNtoq7.js +3 -0
- package/screenshot-page/assets/{BnZX0sxceYpvtg3I.js → BIuMiduMHSsTGacU.js} +2 -2
- package/screenshot-page/assets/BKwDvElKinpn1IK0.js +1 -0
- package/screenshot-page/assets/BPMQ22uISGOm3ymr.js +1 -0
- package/screenshot-page/assets/{adhmz3N2Kgq5eW66.js → BTJ1NNUzHotNDiDe.js} +2 -2
- package/screenshot-page/assets/BbT5KRhoeAKLzy54.js +2 -0
- package/screenshot-page/assets/{Dwv5Z_c2XS-hm-5y.js → BcZPWw18bdj_ZvA9.js} +1 -1
- package/screenshot-page/assets/{BEwl-ucV9Jfr0RoC.js → Bdb0azxGoCh6NBDk.js} +1 -1
- package/screenshot-page/assets/{CcOIj8c4N9KaWnD7.js → Bfq6-treWd_rRiWl.js} +1 -1
- package/screenshot-page/assets/{BGh5K-hHzy8mSVDr.js → Bg9UyX4yrB2mSdJt.js} +12 -12
- package/screenshot-page/assets/Bxq4FCQhyPbVhhaR.js +2 -0
- package/screenshot-page/assets/{zFbb8ESzwR_bE7IQ.js → CBP4y6KFPu24xhDT.js} +1 -1
- package/screenshot-page/assets/CI3Z1f4amZ9G2rPD.js +5 -0
- package/screenshot-page/assets/{COpZTXe_J1mSpeYD.js → CNB6WmYfGVZjlCKV.js} +1 -1
- package/screenshot-page/assets/{CXGgKVbVXjWzE0p6.js → CQ-33-es3XJ56pR4.js} +1 -1
- package/screenshot-page/assets/CSFFMEKyxEFaykqL.js +1 -0
- package/screenshot-page/assets/CXeJV1BW2CVemhPE.js +1 -0
- package/screenshot-page/assets/{Cmv8bpHaTWZ7Lmbt.js → C_YKEkTsGB_5gFNg.js} +2 -2
- package/screenshot-page/assets/CkxmJxdtjBIxYoMq.js +1 -0
- package/screenshot-page/assets/CtiTwHzd_ZSzd3W2.js +1 -0
- package/screenshot-page/assets/CwCu_r0BW41uLt3P.js +2 -0
- package/screenshot-page/assets/{DdusmeEPaU7CWT6e.js → Cx9eq2x1gIXGki3Q.js} +1 -1
- package/screenshot-page/assets/D43IayseD2Cy8OZo.js +4 -0
- package/screenshot-page/assets/{BftXEPOuf5Uwxpud.js → D6Ciix7JAZtdKqmj.js} +1 -1
- package/screenshot-page/assets/D6EXAYU-ZH8hjx_7.js +2 -0
- package/screenshot-page/assets/D7Yt7xmUlA6-Lq0Q.js +48 -0
- package/screenshot-page/assets/D8KyhLvfyjLZW92H.js +39 -0
- package/screenshot-page/assets/DACSL7FA_J91Z_H7.js +2 -0
- package/screenshot-page/assets/DBxAatsD6aWk7Zb6.js +586 -0
- package/screenshot-page/assets/DGkaCFHx4PsOJkFu.js +1 -0
- package/screenshot-page/assets/DM6hr-bvWV50-Oex.js +2 -0
- package/screenshot-page/assets/DOVt9zHz7FQ2KUQM.js +1 -0
- package/screenshot-page/assets/DR-og7vslxlOZd8j.js +1 -0
- package/screenshot-page/assets/DSTlKGmqncM7XHeW.js +1 -0
- package/screenshot-page/assets/Dh14XQinAphjZOKC.js +1 -0
- package/screenshot-page/assets/Dkf51CnZh2zPEGMd.js +1 -0
- package/screenshot-page/assets/{nM1r2xslndIMKlI2.js → DmDFKv_3APEWI-IY.js} +2 -2
- package/screenshot-page/assets/Dt8JxbBBr2TeDflQ.js +1 -0
- package/screenshot-page/assets/Dxi-bXNjS-CpC5Qr.js +1 -0
- package/screenshot-page/assets/{Bm9-R9keVK5Sx-8o.js → DynKB5GH-vfFMJEy.js} +1 -1
- package/screenshot-page/assets/{CZq2dMHs2MHHyyBl.js → FcTM4SB17cEX1M3X.js} +1 -1
- package/screenshot-page/assets/{B668_VaGrdcWRbkC.js → FqdZRM336KMEcsbU.js} +1 -1
- package/screenshot-page/assets/Oay0yGsGYgJDzy8r.js +1 -0
- package/screenshot-page/assets/Pt9ne0xkE2icD3Ih.js +1 -0
- package/screenshot-page/assets/QZg76Jflu3Q808W3.js +1 -0
- package/screenshot-page/assets/{BRemww1df2HKLd_k.js → WTrYzPnMQhYDILMR.js} +1 -1
- package/screenshot-page/assets/{CXUO3vYip3JPSJ7A.js → YH1wNXzhQbkuWxeS.js} +1 -1
- package/screenshot-page/assets/{CQ9C0-FcDZxrgC3T.js → a3fvt1Klg1uGE7p6.js} +7 -7
- package/screenshot-page/assets/{D8-mayyvvVE1a4JB.js → clrFU8i-0wNkmbs7.js} +1 -1
- package/screenshot-page/assets/{-cpi3yOZYn6GsYN4.js → gU2zeJaXoNh7QI_e.js} +2 -2
- package/screenshot-page/assets/r2HZG9_SMzF3__ID.js +13 -0
- package/screenshot-page/index.html +16 -16
- package/types/scripting-api.json +5747 -5744
- package/types/scripting.d.ts +27 -3
- package/assets/r-pk3RNq_HjMQFqr.js +0 -14
- package/screenshot-page/assets/0buGanYjZDNd9qAK.js +0 -39
- package/screenshot-page/assets/B2oadmu_j6WfNbZ1.js +0 -1
- package/screenshot-page/assets/BGWgIYge30MP6Xhz.js +0 -48
- package/screenshot-page/assets/BIQ7KK-buzeddVA9.js +0 -1
- package/screenshot-page/assets/BPRDGSNh0kvXRFUY.js +0 -1
- package/screenshot-page/assets/Bv2MgCMkg3EIQ6iE.js +0 -13
- package/screenshot-page/assets/BvaiwYJ5zZ0d5NRP.js +0 -1
- package/screenshot-page/assets/CAlTfQ_Gh-dURmUc.js +0 -1
- package/screenshot-page/assets/CCFxspvs5VzbYCfl.js +0 -1
- package/screenshot-page/assets/CCqTTfzZokVHIzs2.js +0 -1
- package/screenshot-page/assets/CPs_ARK8JCyz-yZg.js +0 -1
- package/screenshot-page/assets/CUeMb48Ucrm5dK5u.js +0 -1
- package/screenshot-page/assets/CjrHeIdacavAT_Ud.js +0 -3
- package/screenshot-page/assets/CqccUqSMYlwlf2ZU.js +0 -2
- package/screenshot-page/assets/CvmImq-Kbg9srxNr.js +0 -4
- package/screenshot-page/assets/D-3wYBqe4SWdE6bx.js +0 -2
- package/screenshot-page/assets/D-FWnGDbZ9BRDzPR.js +0 -1
- package/screenshot-page/assets/D717DArr-KKL0U6R.js +0 -1
- package/screenshot-page/assets/DM27mE98BNk1T18I.js +0 -1
- package/screenshot-page/assets/DN-T1DyRMKvxEJSK.js +0 -1
- package/screenshot-page/assets/DRdL1GN4SP7P8lSP.js +0 -2
- package/screenshot-page/assets/DcnhaY93LQd7kVdH.js +0 -2
- package/screenshot-page/assets/DigI6jhjHePzLgg1.js +0 -1
- package/screenshot-page/assets/DrDLCC0R2IV5VJd7.js +0 -1
- package/screenshot-page/assets/DuYb_otrRZZDq6-f.js +0 -2
- package/screenshot-page/assets/Dx0pUf3G4Oa3dGOk.js +0 -1
- package/screenshot-page/assets/JcgNMFaj_uqHSFxr.js +0 -1
- package/screenshot-page/assets/U_8_wApwfA7KmIG3.js +0 -586
- package/screenshot-page/assets/WZprjN2sb7HlraOb.js +0 -2
- package/screenshot-page/assets/qjoaeEBxfKWCHmqK.js +0 -2
- package/screenshot-page/assets/zALFdtoGJBN6m2Bn.js +0 -1
- package/screenshot-page/assets/zd1Z2E1NjFp2EWC7.js +0 -5
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/mcp - MCP server exposing SheetXL spreadsheet operations as tools and resources. - v0.8.0-beta.24
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { K as e, ht as t, m as r, mt as n, tt as a, u as o } from "./
|
|
8
|
-
import { t as i } from "./
|
|
9
|
-
import { t as s } from "./
|
|
7
|
+
import { K as e, ht as t, m as r, mt as n, tt as a, u as o } from "./DMDTS0LH9Ke9t-3z.js";
|
|
8
|
+
import { t as i } from "./DtVSjxL6N_7WyM8Z.js";
|
|
9
|
+
import { t as s } from "./BH7ctzMzOYVTGxzA.js";
|
|
10
10
|
function l(e) {
|
|
11
11
|
return !/^(-?\d|--)/.test(e);
|
|
12
12
|
}
|
|
@@ -623,7 +623,7 @@ var D = i({
|
|
|
623
623
|
}), x = {
|
|
624
624
|
getDeviceScale: () => D.getDeviceScale(),
|
|
625
625
|
getAdvanceBuilders: () => D.getAdvanceBuilders()
|
|
626
|
-
}, A = e("sdk:fonts-wasm", () => import("./
|
|
626
|
+
}, A = e("sdk:fonts-wasm", () => import("./CEk658HeLJk2cAjM.js"), { prefetch: !1 }), F = /^\p{White_Space}$/u, N = (e) => Math.max(0, Math.floor(e + .5)) || 0, B = class e {
|
|
627
627
|
constructor(e, t) {
|
|
628
628
|
this._perEm = /* @__PURE__ */ new Map(), this._units = /* @__PURE__ */ new Map(), this._unitsPerEm = 0, this._hinting = null, this._measureMissing = null, this._native = null, this._nativePending = [], this.family = e.family, this.weight = e.weight, this.italic = e.italic, this._vertical = t;
|
|
629
629
|
}
|
|
@@ -2341,14 +2341,15 @@ var At = {
|
|
|
2341
2341
|
int: 1,
|
|
2342
2342
|
frac: 0
|
|
2343
2343
|
}, Ft = (e, t) => e.replace(/\./, t.decimal), Nt = (e, t, r) => {
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2344
|
+
let n;
|
|
2345
|
+
1 === e ? n = e : (n = gt(e, Math.abs(t) >= 100 ? 4 : 5), n >= 10 && (n = 1, t++));
|
|
2346
|
+
const a = Math.abs(t);
|
|
2347
|
+
return [
|
|
2348
|
+
Ft(n + "", r),
|
|
2348
2349
|
r.exponent,
|
|
2349
2350
|
t < 0 ? r.negative : r.positive,
|
|
2350
|
-
|
|
2351
|
-
|
|
2351
|
+
a < 10 ? "0" : "",
|
|
2352
|
+
a
|
|
2352
2353
|
];
|
|
2353
2354
|
};
|
|
2354
2355
|
function Bt(e, t, r, n) {
|
|
@@ -7833,7 +7834,7 @@ function Rs(e, t, r) {
|
|
|
7833
7834
|
};
|
|
7834
7835
|
}
|
|
7835
7836
|
var Ps = [
|
|
7836
|
-
[() => import("./
|
|
7837
|
+
[() => import("./CSXmTA6w6Pnbtqvb.js"), [
|
|
7837
7838
|
"bentConnector2",
|
|
7838
7839
|
"bentConnector3",
|
|
7839
7840
|
"bentConnector4",
|
|
@@ -7846,7 +7847,7 @@ var Ps = [
|
|
|
7846
7847
|
"lineInv",
|
|
7847
7848
|
"straightConnector1"
|
|
7848
7849
|
]],
|
|
7849
|
-
[() => import("./
|
|
7850
|
+
[() => import("./7vPlH3_rhJxmmBvG.js"), [
|
|
7850
7851
|
"rect",
|
|
7851
7852
|
"round1Rect",
|
|
7852
7853
|
"round2DiagRect",
|
|
@@ -7857,7 +7858,7 @@ var Ps = [
|
|
|
7857
7858
|
"snip2SameRect",
|
|
7858
7859
|
"snipRoundRect"
|
|
7859
7860
|
]],
|
|
7860
|
-
[() => import("./
|
|
7861
|
+
[() => import("./CCF6CwJ6cbeLRl23.js"), [
|
|
7861
7862
|
"mathDivide",
|
|
7862
7863
|
"mathEqual",
|
|
7863
7864
|
"mathMinus",
|
|
@@ -7865,7 +7866,7 @@ var Ps = [
|
|
|
7865
7866
|
"mathNotEqual",
|
|
7866
7867
|
"mathPlus"
|
|
7867
7868
|
]],
|
|
7868
|
-
[() => import("./
|
|
7869
|
+
[() => import("./CJ2hV-9ipqOEkLSG.js"), [
|
|
7869
7870
|
"flowChartAlternateProcess",
|
|
7870
7871
|
"flowChartCollate",
|
|
7871
7872
|
"flowChartConnector",
|
|
@@ -7896,7 +7897,7 @@ var Ps = [
|
|
|
7896
7897
|
"flowChartSummingJunction",
|
|
7897
7898
|
"flowChartTerminator"
|
|
7898
7899
|
]],
|
|
7899
|
-
[() => import("./
|
|
7900
|
+
[() => import("./DkQ4kxEKhKYQgfjK.js"), [
|
|
7900
7901
|
"bentArrow",
|
|
7901
7902
|
"bentUpArrow",
|
|
7902
7903
|
"chevron",
|
|
@@ -7929,7 +7930,7 @@ var Ps = [
|
|
|
7929
7930
|
"upDownArrowCallout",
|
|
7930
7931
|
"uturnArrow"
|
|
7931
7932
|
]],
|
|
7932
|
-
[() => import("./
|
|
7933
|
+
[() => import("./DNSWaXblwhTtI3w7.js"), [
|
|
7933
7934
|
"accentBorderCallout1",
|
|
7934
7935
|
"accentBorderCallout2",
|
|
7935
7936
|
"accentBorderCallout3",
|
|
@@ -7947,7 +7948,7 @@ var Ps = [
|
|
|
7947
7948
|
"wedgeRectCallout",
|
|
7948
7949
|
"wedgeRoundRectCallout"
|
|
7949
7950
|
]],
|
|
7950
|
-
[() => import("./
|
|
7951
|
+
[() => import("./a2e_g9YI3J-lUD7-.js"), [
|
|
7951
7952
|
"doubleWave",
|
|
7952
7953
|
"ellipseRibbon",
|
|
7953
7954
|
"ellipseRibbon2",
|
|
@@ -7970,7 +7971,7 @@ var Ps = [
|
|
|
7970
7971
|
"verticalScroll",
|
|
7971
7972
|
"wave"
|
|
7972
7973
|
]],
|
|
7973
|
-
[() => import("./
|
|
7974
|
+
[() => import("./TdDTOcC1TYhk6UuR.js"), [
|
|
7974
7975
|
"actionButtonBackPrevious",
|
|
7975
7976
|
"actionButtonBeginning",
|
|
7976
7977
|
"actionButtonBlank",
|
|
@@ -7990,7 +7991,7 @@ var Ps = [
|
|
|
7990
7991
|
"plaqueTabs",
|
|
7991
7992
|
"squareTabs"
|
|
7992
7993
|
]],
|
|
7993
|
-
[() => import("./
|
|
7994
|
+
[() => import("./CIY_RiLu1_FmRLAA.js"), [
|
|
7994
7995
|
"arc",
|
|
7995
7996
|
"bevel",
|
|
7996
7997
|
"blockArc",
|
|
@@ -8049,7 +8050,7 @@ var Ps = [
|
|
|
8049
8050
|
}
|
|
8050
8051
|
return t;
|
|
8051
8052
|
};
|
|
8052
|
-
}, Es = Is(() => import("./
|
|
8053
|
+
}, Es = Is(() => import("./BaYk1vO2hP2S3_1w.js")), js = Is(() => import("./By1QPrSxtnRiJu0R.js")), Gs = null, Os = (e) => {
|
|
8053
8054
|
const t = /* @__PURE__ */ new Map();
|
|
8054
8055
|
for (const [r, n] of Object.entries(e.BUILT_IN)) {
|
|
8055
8056
|
const { cxn: a } = n;
|
|
@@ -8085,8 +8086,16 @@ var Ps = [
|
|
|
8085
8086
|
b: t,
|
|
8086
8087
|
hc: e / 2,
|
|
8087
8088
|
vc: t / 2
|
|
8088
|
-
}), qs = (e, t, r) => ({ ...r }), Ys = {
|
|
8089
|
+
}), qs = (e, t, r) => ({ ...r }), Ys = Object.freeze({}), Xs = (e) => {
|
|
8090
|
+
const t = {};
|
|
8091
|
+
for (const r of e.av ?? []) {
|
|
8092
|
+
const [e, , n] = r.split(" ");
|
|
8093
|
+
t[e] = Number(n);
|
|
8094
|
+
}
|
|
8095
|
+
return Object.freeze(t);
|
|
8096
|
+
}, Zs = {
|
|
8089
8097
|
pad: 0,
|
|
8098
|
+
defaults: Ys,
|
|
8090
8099
|
evaluate(e, t) {
|
|
8091
8100
|
const { r, b: n, hc: a, vc: o } = Js(e, t);
|
|
8092
8101
|
return {
|
|
@@ -8134,18 +8143,20 @@ var Ps = [
|
|
|
8134
8143
|
};
|
|
8135
8144
|
},
|
|
8136
8145
|
adjustmentsFromHandle: qs
|
|
8137
|
-
},
|
|
8146
|
+
}, Qs = (e, t, r) => {
|
|
8138
8147
|
const n = r ? { line: r } : void 0;
|
|
8139
8148
|
return {
|
|
8140
8149
|
pad: 0,
|
|
8150
|
+
defaults: Xs(t),
|
|
8141
8151
|
evaluate: (r, a, o) => e.evaluateGeometry(t, r, a, o, n),
|
|
8142
8152
|
adjustmentsFromHandle: (r, n, a, o, i, s) => e.adjustmentsFromHandle(t, r, n, a, o, i, s)
|
|
8143
8153
|
};
|
|
8144
|
-
},
|
|
8154
|
+
}, el = async (e, t) => {
|
|
8145
8155
|
const r = e.geometry ?? "rect";
|
|
8146
|
-
if ("rect" === r) return
|
|
8156
|
+
if ("rect" === r) return Zs;
|
|
8147
8157
|
if ("line" === r || "straightConnector1" === r) return ((e, t, r) => ({
|
|
8148
8158
|
pad: 0,
|
|
8159
|
+
defaults: Ys,
|
|
8149
8160
|
evaluate(n, a) {
|
|
8150
8161
|
const { r: o, b: i } = Js(n, a), s = `M0 0 L${Us(o)} ${Us(i)}`, l = "line" === e, u = [], d = {
|
|
8151
8162
|
x: 0,
|
|
@@ -8205,12 +8216,12 @@ var Ps = [
|
|
|
8205
8216
|
},
|
|
8206
8217
|
adjustmentsFromHandle: qs
|
|
8207
8218
|
}))(r, t, t ? await js() : null);
|
|
8208
|
-
if ("object" == typeof r) return
|
|
8219
|
+
if ("object" == typeof r) return Qs(await Es(), r, t);
|
|
8209
8220
|
if (n = r, !zs().has(n)) return null;
|
|
8210
8221
|
var n;
|
|
8211
8222
|
const [a, o] = await Promise.all([Es(), $s(r)]);
|
|
8212
|
-
return o ?
|
|
8213
|
-
},
|
|
8223
|
+
return o ? Qs(a, o, t) : null;
|
|
8224
|
+
}, tl = class e {
|
|
8214
8225
|
constructor(e, t, r, n) {
|
|
8215
8226
|
this._evaluator = e, this._width = t, this._height = r, this._adjustments = n, this._evaluated = e.evaluate(t, r, n);
|
|
8216
8227
|
}
|
|
@@ -8273,9 +8284,18 @@ var Ps = [
|
|
|
8273
8284
|
adjustmentsFromHandle(e, t, r) {
|
|
8274
8285
|
return this._evaluator.adjustmentsFromHandle(this._width, this._height, this._adjustments, e, t, r);
|
|
8275
8286
|
}
|
|
8276
|
-
|
|
8287
|
+
forEachAdjustment(e) {
|
|
8288
|
+
const t = this._evaluator.defaults;
|
|
8289
|
+
for (const [r, n] of Object.entries(this._evaluated.adjustments)) e(r, n, n === t[r]);
|
|
8290
|
+
}
|
|
8291
|
+
isAdjusted() {
|
|
8292
|
+
const e = this._evaluator.defaults;
|
|
8293
|
+
for (const [t, r] of Object.entries(this._evaluated.adjustments)) if (r !== e[t]) return !0;
|
|
8294
|
+
return !1;
|
|
8295
|
+
}
|
|
8296
|
+
}, rl = (e) => e instanceof tl ? e._getDrawnRect() : e.getPathBounds(), nl = async (e, t, r, n) => {
|
|
8277
8297
|
const a = await (async (e, t) => {
|
|
8278
|
-
const r = Rs(e, t), n = await
|
|
8298
|
+
const r = Rs(e, t), n = await el(e, ((e) => {
|
|
8279
8299
|
const t = e.stroke;
|
|
8280
8300
|
if (!t?.fill || t.fill.type === to.Type.None) return;
|
|
8281
8301
|
const r = Ks(t.headType, t.headWidth, t.headLength), n = Ks(t.tailType, t.tailWidth, t.tailLength);
|
|
@@ -8288,29 +8308,29 @@ var Ps = [
|
|
|
8288
8308
|
pad: Ws(r)
|
|
8289
8309
|
} : null;
|
|
8290
8310
|
})(e, t);
|
|
8291
|
-
return a ? new
|
|
8292
|
-
},
|
|
8311
|
+
return a ? new tl(a, r, n, e.adjustments) : null;
|
|
8312
|
+
}, al = r.PassThrough, ol = { properties: {
|
|
8293
8313
|
fill: Ji,
|
|
8294
8314
|
stroke: {
|
|
8295
8315
|
shorthand: (e) => "string" == typeof e ? { fill: e } : e?.isIStroke ? e.toJSON() : e,
|
|
8296
8316
|
properties: {
|
|
8297
8317
|
fill: Ji,
|
|
8298
|
-
width:
|
|
8299
|
-
lineJoin:
|
|
8300
|
-
lineCap:
|
|
8301
|
-
miterLimit:
|
|
8302
|
-
headType:
|
|
8303
|
-
headWidth:
|
|
8304
|
-
headLength:
|
|
8305
|
-
tailType:
|
|
8306
|
-
tailWidth:
|
|
8307
|
-
tailLength:
|
|
8308
|
-
dash:
|
|
8309
|
-
compound:
|
|
8310
|
-
align:
|
|
8318
|
+
width: al,
|
|
8319
|
+
lineJoin: al,
|
|
8320
|
+
lineCap: al,
|
|
8321
|
+
miterLimit: al,
|
|
8322
|
+
headType: al,
|
|
8323
|
+
headWidth: al,
|
|
8324
|
+
headLength: al,
|
|
8325
|
+
tailType: al,
|
|
8326
|
+
tailWidth: al,
|
|
8327
|
+
tailLength: al,
|
|
8328
|
+
dash: al,
|
|
8329
|
+
compound: al,
|
|
8330
|
+
align: al
|
|
8311
8331
|
}
|
|
8312
8332
|
}
|
|
8313
|
-
} },
|
|
8333
|
+
} }, il = class {
|
|
8314
8334
|
constructor(e) {
|
|
8315
8335
|
this._h = e;
|
|
8316
8336
|
}
|
|
@@ -8405,7 +8425,7 @@ var Ps = [
|
|
|
8405
8425
|
stroke: i?.stroke
|
|
8406
8426
|
}, l = { ...a };
|
|
8407
8427
|
void 0 !== l.stroke && (l.stroke = ys.toModifiers(l.stroke));
|
|
8408
|
-
const u = this._h.getStyles(), d = r.resolveTypedUpdates(l,
|
|
8428
|
+
const u = this._h.getStyles(), d = r.resolveTypedUpdates(l, ol, u, s) ?? {}, c = {};
|
|
8409
8429
|
return "fill" in a && (c.fill = d.fill), "stroke" in a && (c.stroke = d.stroke), 0 === Object.keys(c).length || this._h.write(c, {
|
|
8410
8430
|
...t,
|
|
8411
8431
|
description: n
|
|
@@ -8437,15 +8457,15 @@ var Ps = [
|
|
|
8437
8457
|
get isIShapeStyle() {
|
|
8438
8458
|
return !0;
|
|
8439
8459
|
}
|
|
8440
|
-
},
|
|
8460
|
+
}, sl = (e) => {
|
|
8441
8461
|
const t = Math.floor(((e % 360 + 360) % 360 + 45) / 90) % 4;
|
|
8442
8462
|
return 1 === t || 3 === t;
|
|
8443
|
-
},
|
|
8463
|
+
}, ll = (e, t) => sl(t) ? {
|
|
8444
8464
|
x: e.x + (e.width - e.height) / 2,
|
|
8445
8465
|
y: e.y + (e.height - e.width) / 2,
|
|
8446
8466
|
width: e.height,
|
|
8447
8467
|
height: e.width
|
|
8448
|
-
} : e,
|
|
8468
|
+
} : e, ul = (e) => "function" == typeof e?._getDrawnRect, dl = (e, t, r, n) => {
|
|
8449
8469
|
let a = t ?? {
|
|
8450
8470
|
l: 0,
|
|
8451
8471
|
t: 0,
|
|
@@ -8478,12 +8498,12 @@ var Ps = [
|
|
|
8478
8498
|
width: m - d,
|
|
8479
8499
|
height: h - c
|
|
8480
8500
|
};
|
|
8481
|
-
},
|
|
8482
|
-
|
|
8501
|
+
}, cl = (e, t) => Math.max(0, e.x - t.x, e.y - t.y, t.x + t.width - (e.x + e.width), t.y + t.height - (e.y + e.height)), ml = (e, t) => e.x <= t.x + t.width && t.x <= e.x + e.width && e.y <= t.y + t.height && t.y <= e.y + e.height, hl = 0, pl = () => hl, gl = () => {
|
|
8502
|
+
hl++;
|
|
8483
8503
|
};
|
|
8484
8504
|
(function(e) {
|
|
8485
8505
|
e.placeInParent = (e, t, n) => {
|
|
8486
|
-
const a = e.bounds, o = t.width > 0 ? a.width / t.width : 1, i = t.height > 0 ? a.height / t.height : 1, s = n.bounds, l = o !== i &&
|
|
8506
|
+
const a = e.bounds, o = t.width > 0 ? a.width / t.width : 1, i = t.height > 0 ? a.height / t.height : 1, s = n.bounds, l = o !== i && sl(n.rotation), u = l ? s.width * i : s.width * o, d = l ? s.height * o : s.height * i;
|
|
8487
8507
|
let c = (s.x + s.width / 2 - t.x) * o - a.width / 2, m = (s.y + s.height / 2 - t.y) * i - a.height / 2;
|
|
8488
8508
|
const h = e.flip.horizontal, p = e.flip.vertical;
|
|
8489
8509
|
h && (c = -c), p && (m = -m);
|
|
@@ -8505,7 +8525,7 @@ var Ps = [
|
|
|
8505
8525
|
const a = e.bounds, o = t.width > 0 ? a.width / t.width : 1, i = t.height > 0 ? a.height / t.height : 1, s = e.flip.horizontal, l = e.flip.vertical, u = r(s !== l ? e.rotation - n.rotation : n.rotation - e.rotation), d = -(e.rotation || 0) * Math.PI / 180, c = Math.cos(d), m = Math.sin(d), h = n.bounds.x + n.bounds.width / 2 - (a.x + a.width / 2), p = n.bounds.y + n.bounds.height / 2 - (a.y + a.height / 2);
|
|
8506
8526
|
let g = h * c - p * m, f = h * m + p * c;
|
|
8507
8527
|
s && (g = -g), l && (f = -f);
|
|
8508
|
-
const y = o !== i &&
|
|
8528
|
+
const y = o !== i && sl(u), S = y ? n.bounds.width / i : n.bounds.width / o, b = y ? n.bounds.height / o : n.bounds.height / i;
|
|
8509
8529
|
return {
|
|
8510
8530
|
bounds: {
|
|
8511
8531
|
x: (g + a.width / 2) / o + t.x - S / 2,
|
|
@@ -8560,7 +8580,7 @@ var Ps = [
|
|
|
8560
8580
|
return Object.is(t, -0) ? 0 : t;
|
|
8561
8581
|
};
|
|
8562
8582
|
})(xs || (xs = {}));
|
|
8563
|
-
var
|
|
8583
|
+
var fl = (e) => (e || 0) * Math.PI / 180, yl = (e) => {
|
|
8564
8584
|
const t = (e || 0) / 90;
|
|
8565
8585
|
if (Number.isInteger(t)) return [
|
|
8566
8586
|
[1, 0],
|
|
@@ -8568,25 +8588,25 @@ var pl = (e) => (e || 0) * Math.PI / 180, gl = (e) => {
|
|
|
8568
8588
|
[-1, 0],
|
|
8569
8589
|
[0, -1]
|
|
8570
8590
|
][(t % 4 + 4) % 4].slice();
|
|
8571
|
-
const r =
|
|
8591
|
+
const r = fl(e);
|
|
8572
8592
|
return [Math.cos(r), Math.sin(r)];
|
|
8573
|
-
},
|
|
8574
|
-
const { bounds: r, rotation: n, flip: a } = e, o = a.horizontal ? r.width - t.x : t.x, i = a.vertical ? r.height - t.y : t.y, s = o - r.width / 2, l = i - r.height / 2, [u, d] =
|
|
8593
|
+
}, Sl = (e, t) => {
|
|
8594
|
+
const { bounds: r, rotation: n, flip: a } = e, o = a.horizontal ? r.width - t.x : t.x, i = a.vertical ? r.height - t.y : t.y, s = o - r.width / 2, l = i - r.height / 2, [u, d] = yl(n);
|
|
8575
8595
|
return {
|
|
8576
8596
|
x: r.x + r.width / 2 + s * u - l * d,
|
|
8577
8597
|
y: r.y + r.height / 2 + s * d + l * u
|
|
8578
8598
|
};
|
|
8579
|
-
},
|
|
8580
|
-
start:
|
|
8599
|
+
}, bl = (e) => ({
|
|
8600
|
+
start: Sl(e, {
|
|
8581
8601
|
x: 0,
|
|
8582
8602
|
y: 0
|
|
8583
8603
|
}),
|
|
8584
|
-
end:
|
|
8604
|
+
end: Sl(e, {
|
|
8585
8605
|
x: e.bounds.width,
|
|
8586
8606
|
y: e.bounds.height
|
|
8587
8607
|
})
|
|
8588
|
-
}),
|
|
8589
|
-
const n = (e.x + t.x) / 2, a = (e.y + t.y) / 2, [o, i] =
|
|
8608
|
+
}), wl = (e, t, r = 0) => {
|
|
8609
|
+
const n = (e.x + t.x) / 2, a = (e.y + t.y) / 2, [o, i] = yl(-r), s = e.x - n, l = e.y - a, u = s * o - l * i, d = s * i + l * o, c = 2 * Math.abs(u), m = 2 * Math.abs(d);
|
|
8590
8610
|
return {
|
|
8591
8611
|
bounds: {
|
|
8592
8612
|
x: n - c / 2,
|
|
@@ -8600,10 +8620,10 @@ var pl = (e) => (e || 0) * Math.PI / 180, gl = (e) => {
|
|
|
8600
8620
|
vertical: d > 0
|
|
8601
8621
|
}
|
|
8602
8622
|
};
|
|
8603
|
-
},
|
|
8623
|
+
}, vl = 24, Cl = 4 / 3, Ml = (e, t, r) => {
|
|
8604
8624
|
const n = t.x - e.x, a = t.y - e.y;
|
|
8605
8625
|
return (Math.abs(Math.abs(n) - Math.abs(a)) < 1e-6 ? r % 2 == 1 : Math.abs(n) > Math.abs(a)) ? n >= 0 ? 0 : 2 : a >= 0 ? 1 : 3;
|
|
8606
|
-
},
|
|
8626
|
+
}, kl = (e, t) => {
|
|
8607
8627
|
switch ((t % 4 + 4) % 4) {
|
|
8608
8628
|
case 1: return {
|
|
8609
8629
|
x: -e.y,
|
|
@@ -8622,11 +8642,11 @@ var pl = (e) => (e || 0) * Math.PI / 180, gl = (e) => {
|
|
|
8622
8642
|
y: e.y
|
|
8623
8643
|
};
|
|
8624
8644
|
}
|
|
8625
|
-
},
|
|
8626
|
-
const r =
|
|
8645
|
+
}, Tl = (e, t) => {
|
|
8646
|
+
const r = kl({
|
|
8627
8647
|
x: e.x,
|
|
8628
8648
|
y: e.y
|
|
8629
|
-
}, t), n =
|
|
8649
|
+
}, t), n = kl({
|
|
8630
8650
|
x: e.x + e.width,
|
|
8631
8651
|
y: e.y + e.height
|
|
8632
8652
|
}, t);
|
|
@@ -8636,17 +8656,17 @@ var pl = (e) => (e || 0) * Math.PI / 180, gl = (e) => {
|
|
|
8636
8656
|
width: Math.abs(r.x - n.x),
|
|
8637
8657
|
height: Math.abs(r.y - n.y)
|
|
8638
8658
|
};
|
|
8639
|
-
},
|
|
8659
|
+
}, _l = (e) => ({
|
|
8640
8660
|
x: e.x,
|
|
8641
8661
|
y: -e.y
|
|
8642
|
-
}),
|
|
8643
|
-
const n = -e.direction, a = ((t.direction - e.direction) % 4 + 4) % 4, o = 1 === a, i = (e) => o ? kl(
|
|
8662
|
+
}), Dl = (e) => e.x + e.width, xl = (e) => e.y + e.height, Al = (e, t) => e.y < t && t < xl(e), Fl = (e, t, r) => {
|
|
8663
|
+
const n = -e.direction, a = ((t.direction - e.direction) % 4 + 4) % 4, o = 1 === a, i = (e) => o ? _l(kl(e, n)) : kl(e, n), s = (e) => o ? ((e) => ({
|
|
8644
8664
|
x: e.x,
|
|
8645
8665
|
y: -(e.y + e.height),
|
|
8646
8666
|
width: e.width,
|
|
8647
8667
|
height: e.height
|
|
8648
|
-
}))(
|
|
8649
|
-
const o = () => n.x >=
|
|
8668
|
+
}))(Tl(e, n)) : Tl(e, n), l = ((e, t, r, n, a) => {
|
|
8669
|
+
const o = () => n.x >= Dl(t) ? (Dl(t) + n.x) / 2 : e.x + vl, i = (e) => e ? Dl(t) <= n.x ? (Dl(t) + n.x) / 2 : r.x - vl : t.x >= Dl(n) ? (Dl(n) + t.x) / 2 : r.x + vl, s = (t, n, a) => [
|
|
8650
8670
|
e,
|
|
8651
8671
|
{
|
|
8652
8672
|
x: t,
|
|
@@ -8669,7 +8689,7 @@ var pl = (e) => (e || 0) * Math.PI / 180, gl = (e) => {
|
|
|
8669
8689
|
switch (a) {
|
|
8670
8690
|
case 2: {
|
|
8671
8691
|
if (r.x >= e.x) {
|
|
8672
|
-
const a = n.x >=
|
|
8692
|
+
const a = n.x >= Dl(t) ? (Dl(t) + n.x) / 2 : (e.x + r.x) / 2;
|
|
8673
8693
|
return [
|
|
8674
8694
|
e,
|
|
8675
8695
|
{
|
|
@@ -8684,13 +8704,13 @@ var pl = (e) => (e || 0) * Math.PI / 180, gl = (e) => {
|
|
|
8684
8704
|
];
|
|
8685
8705
|
}
|
|
8686
8706
|
let a;
|
|
8687
|
-
return a =
|
|
8707
|
+
return a = xl(t) <= n.y ? (xl(t) + n.y) / 2 : xl(n) <= t.y ? (xl(n) + t.y) / 2 : r.y >= e.y ? Math.max(xl(t), xl(n)) + vl : Math.min(t.y, n.y) - vl, s(o(), a, i(!0));
|
|
8688
8708
|
}
|
|
8689
8709
|
case 0: {
|
|
8690
8710
|
const a = e.y === r.y;
|
|
8691
|
-
if (n.x >=
|
|
8692
|
-
if (t.x >=
|
|
8693
|
-
const l = Math.max(e.x, r.x) +
|
|
8711
|
+
if (n.x >= Dl(t) && Al(n, e.y)) return s(o(), a ? xl(n) + vl : n.y - vl, i(!1));
|
|
8712
|
+
if (t.x >= Dl(n) && Al(t, r.y)) return s(o(), a ? t.y - vl : xl(t) + vl, i(!1));
|
|
8713
|
+
const l = Math.max(e.x, r.x) + vl;
|
|
8694
8714
|
return [
|
|
8695
8715
|
e,
|
|
8696
8716
|
{
|
|
@@ -8714,8 +8734,8 @@ var pl = (e) => (e || 0) * Math.PI / 180, gl = (e) => {
|
|
|
8714
8734
|
r
|
|
8715
8735
|
];
|
|
8716
8736
|
const a = o();
|
|
8717
|
-
let i =
|
|
8718
|
-
return
|
|
8737
|
+
let i = xl(t) <= n.y ? (xl(t) + n.y) / 2 : r.y - vl;
|
|
8738
|
+
return xl(t) > n.y && Math.min(a, r.x) < Dl(t) && Math.max(a, r.x) > t.x && (i = Math.min(i, t.y - vl)), [
|
|
8719
8739
|
e,
|
|
8720
8740
|
{
|
|
8721
8741
|
x: a,
|
|
@@ -8733,13 +8753,13 @@ var pl = (e) => (e || 0) * Math.PI / 180, gl = (e) => {
|
|
|
8733
8753
|
];
|
|
8734
8754
|
}
|
|
8735
8755
|
}
|
|
8736
|
-
})(i(e.point), s(e.box), i(t.point), s(t.box), o ? 3 : a).map((e) =>
|
|
8737
|
-
u > 3 && c.width < 1e-9 && (c.width =
|
|
8756
|
+
})(i(e.point), s(e.box), i(t.point), s(t.box), o ? 3 : a).map((e) => kl(o ? _l(e) : e, -n)), u = l.length, d = wl(l[0], l[u - 1], 90 * e.direction), c = { ...d.bounds };
|
|
8757
|
+
u > 3 && c.width < 1e-9 && (c.width = Cl), u > 4 && c.height < 1e-9 && (c.height = Cl);
|
|
8738
8758
|
const m = {
|
|
8739
8759
|
...d,
|
|
8740
8760
|
bounds: c
|
|
8741
8761
|
}, h = l.map((e) => ((e, t) => {
|
|
8742
|
-
const { bounds: r, rotation: n, flip: a } = e, o = t.x - (r.x + r.width / 2), i = t.y - (r.y + r.height / 2), [s, l] =
|
|
8762
|
+
const { bounds: r, rotation: n, flip: a } = e, o = t.x - (r.x + r.width / 2), i = t.y - (r.y + r.height / 2), [s, l] = yl(-n), u = r.width / 2 + o * s - i * l, d = r.height / 2 + o * l + i * s;
|
|
8743
8763
|
return {
|
|
8744
8764
|
x: a.horizontal ? r.width - u : u,
|
|
8745
8765
|
y: a.vertical ? r.height - d : d
|
|
@@ -8838,14 +8858,14 @@ var pl = (e) => (e || 0) * Math.PI / 180, gl = (e) => {
|
|
|
8838
8858
|
}
|
|
8839
8859
|
];
|
|
8840
8860
|
}
|
|
8841
|
-
})(u, c.width, c.height, g ?? {}).map((e) =>
|
|
8861
|
+
})(u, c.width, c.height, g ?? {}).map((e) => Sl(m, e));
|
|
8842
8862
|
return {
|
|
8843
8863
|
geometry: `${r ? "curvedConnector" : "bentConnector"}${u - 1}`,
|
|
8844
8864
|
adjustments: g,
|
|
8845
8865
|
placement: m,
|
|
8846
8866
|
points: f
|
|
8847
8867
|
};
|
|
8848
|
-
},
|
|
8868
|
+
}, Nl = (e, t, r) => {
|
|
8849
8869
|
if (!t) return null;
|
|
8850
8870
|
const n = e.getContent(), { width: a, height: o } = t.bounds, i = n.getConnections ? n.getConnections(a, o, {
|
|
8851
8871
|
adjustments: t.adjustments,
|
|
@@ -8877,7 +8897,7 @@ var pl = (e) => (e || 0) * Math.PI / 180, gl = (e) => {
|
|
|
8877
8897
|
}
|
|
8878
8898
|
])(a, o);
|
|
8879
8899
|
return i ? i.map((e) => {
|
|
8880
|
-
const r =
|
|
8900
|
+
const r = Sl(t, e), n = fl(e.ang), a = Sl(t, {
|
|
8881
8901
|
x: e.x + Math.cos(n),
|
|
8882
8902
|
y: e.y + Math.sin(n)
|
|
8883
8903
|
});
|
|
@@ -8888,30 +8908,30 @@ var pl = (e) => (e || 0) * Math.PI / 180, gl = (e) => {
|
|
|
8888
8908
|
};
|
|
8889
8909
|
var o, i;
|
|
8890
8910
|
}) : null;
|
|
8891
|
-
},
|
|
8911
|
+
}, Bl = (e) => {
|
|
8892
8912
|
const t = e.getContent();
|
|
8893
8913
|
return t._getSourceId ? t._getSourceId() : t.toJSON?.()?.sourceId;
|
|
8894
|
-
},
|
|
8914
|
+
}, Ll = (e, t) => {
|
|
8895
8915
|
const r = e.getContent();
|
|
8896
8916
|
if (!r._ensureSourceId) throw new a(`A ${r.getTypeDescription()} cannot be glued to while it is loading.`);
|
|
8897
8917
|
return r._ensureSourceId(t);
|
|
8898
|
-
},
|
|
8918
|
+
}, Rl = (e) => {
|
|
8899
8919
|
const t = e.getContent();
|
|
8900
8920
|
return t.isConnector?.() ? t.toJSON?.()?.connectorEnds ?? null : null;
|
|
8901
|
-
},
|
|
8921
|
+
}, Pl = (e) => {
|
|
8902
8922
|
const t = e.getContent(), r = t.getType();
|
|
8903
8923
|
return "group" === r || "shape" === r && (!t.isConnector || t.isConnector());
|
|
8904
|
-
},
|
|
8905
|
-
for (const r of
|
|
8924
|
+
}, Il = (e) => e.getMovables().getItems({ deep: !0 }), El = (e, t) => {
|
|
8925
|
+
for (const r of Il(e)) if (Bl(r) === t) return r;
|
|
8906
8926
|
return null;
|
|
8907
|
-
},
|
|
8927
|
+
}, jl = (e) => {
|
|
8908
8928
|
let t = 1;
|
|
8909
|
-
for (const r of
|
|
8910
|
-
const e =
|
|
8929
|
+
for (const r of Il(e)) {
|
|
8930
|
+
const e = Bl(r);
|
|
8911
8931
|
"number" == typeof e && e > t && (t = e);
|
|
8912
8932
|
}
|
|
8913
8933
|
return t + 1;
|
|
8914
|
-
},
|
|
8934
|
+
}, Gl = (e) => xs.placementOf(e), Ol = (e) => {
|
|
8915
8935
|
const { width: t, height: r } = e.bounds, n = [
|
|
8916
8936
|
{
|
|
8917
8937
|
x: 0,
|
|
@@ -8929,32 +8949,32 @@ var pl = (e) => (e || 0) * Math.PI / 180, gl = (e) => {
|
|
|
8929
8949
|
x: t,
|
|
8930
8950
|
y: r
|
|
8931
8951
|
}
|
|
8932
|
-
].map((t) =>
|
|
8952
|
+
].map((t) => Sl(e, t)), a = n.map((e) => e.x), o = n.map((e) => e.y), i = Math.min(...a), s = Math.min(...o);
|
|
8933
8953
|
return {
|
|
8934
8954
|
x: i,
|
|
8935
8955
|
y: s,
|
|
8936
8956
|
width: Math.max(...a) - i,
|
|
8937
8957
|
height: Math.max(...o) - s
|
|
8938
8958
|
};
|
|
8939
|
-
},
|
|
8959
|
+
}, zl = (e, t) => {
|
|
8940
8960
|
if (!e || !t || void 0 !== t.adjustments) return !1;
|
|
8941
8961
|
const r = e.bounds, n = t.bounds;
|
|
8942
8962
|
return r.width === n.width && r.height === n.height && (r.x !== n.x || r.y !== n.y) && (e.rotation || 0) === (t.rotation || 0) && e.flip.horizontal === t.flip.horizontal && e.flip.vertical === t.flip.vertical;
|
|
8943
|
-
},
|
|
8944
|
-
const i = r(t), s =
|
|
8963
|
+
}, $l = (e, t, r, n, a = (t) => El(e, t), o) => {
|
|
8964
|
+
const i = r(t), s = Rl(t);
|
|
8945
8965
|
if (!i || !s) return null;
|
|
8946
|
-
const l =
|
|
8966
|
+
const l = bl(i), u = {};
|
|
8947
8967
|
for (const e of ["start", "end"]) {
|
|
8948
8968
|
const i = s[e];
|
|
8949
8969
|
if (!i) continue;
|
|
8950
8970
|
const l = a(i.id);
|
|
8951
8971
|
if (!l || l === t) continue;
|
|
8952
|
-
const d = r(l), c =
|
|
8972
|
+
const d = r(l), c = Nl(l, d, n)?.find((e) => e.index === i.index);
|
|
8953
8973
|
if (!c || !d) continue;
|
|
8954
|
-
const m = o ?? Gl(
|
|
8974
|
+
const m = o ?? zl(Gl(l), d);
|
|
8955
8975
|
u[e] = {
|
|
8956
8976
|
site: c,
|
|
8957
|
-
box:
|
|
8977
|
+
box: Ol(d),
|
|
8958
8978
|
translated: m
|
|
8959
8979
|
};
|
|
8960
8980
|
}
|
|
@@ -8988,21 +9008,21 @@ var pl = (e) => (e || 0) * Math.PI / 180, gl = (e) => {
|
|
|
8988
9008
|
box: t
|
|
8989
9009
|
}, a = {
|
|
8990
9010
|
point: l[n],
|
|
8991
|
-
direction:
|
|
9011
|
+
direction: Ml(l[n], l[c], e.direction),
|
|
8992
9012
|
box: {
|
|
8993
9013
|
x: l[n].x,
|
|
8994
9014
|
y: l[n].y,
|
|
8995
9015
|
width: 0,
|
|
8996
9016
|
height: 0
|
|
8997
9017
|
}
|
|
8998
|
-
}, o = "start" === c ?
|
|
9018
|
+
}, o = "start" === c ? Fl(r, a, "curved" === d) : Fl(a, r, "curved" === d);
|
|
8999
9019
|
return {
|
|
9000
9020
|
placement: o.placement,
|
|
9001
9021
|
route: o
|
|
9002
9022
|
};
|
|
9003
9023
|
}
|
|
9004
9024
|
return {
|
|
9005
|
-
placement:
|
|
9025
|
+
placement: wl(l.start, l.end, i.rotation),
|
|
9006
9026
|
route: null
|
|
9007
9027
|
};
|
|
9008
9028
|
}
|
|
@@ -9014,7 +9034,7 @@ var pl = (e) => (e || 0) * Math.PI / 180, gl = (e) => {
|
|
|
9014
9034
|
x: h.site.x,
|
|
9015
9035
|
y: h.site.y
|
|
9016
9036
|
}, "elbow" === d || "curved" === d) {
|
|
9017
|
-
const e =
|
|
9037
|
+
const e = Fl({
|
|
9018
9038
|
point: l.start,
|
|
9019
9039
|
direction: m.site.direction,
|
|
9020
9040
|
box: m.box
|
|
@@ -9029,32 +9049,32 @@ var pl = (e) => (e || 0) * Math.PI / 180, gl = (e) => {
|
|
|
9029
9049
|
};
|
|
9030
9050
|
}
|
|
9031
9051
|
return {
|
|
9032
|
-
placement:
|
|
9052
|
+
placement: wl(l.start, l.end, i.rotation),
|
|
9033
9053
|
route: null
|
|
9034
9054
|
};
|
|
9035
|
-
},
|
|
9055
|
+
}, Hl = (e, t) => {
|
|
9036
9056
|
const { placement: r, route: n } = t, a = e.getBounds(), o = e.getFlip();
|
|
9037
9057
|
if (a && !xs.isSameBounds(a, r.bounds)) return !1;
|
|
9038
9058
|
if (o.horizontal !== r.flip.horizontal || o.vertical !== r.flip.vertical) return !1;
|
|
9039
9059
|
if ((e.getRotation() || 0) !== r.rotation) return !1;
|
|
9040
9060
|
if (!n) return !0;
|
|
9041
9061
|
const i = e.getContent();
|
|
9042
|
-
return i.getShapeType() === n.geometry &&
|
|
9043
|
-
},
|
|
9062
|
+
return i.getShapeType() === n.geometry && Ul(i.getAdjustments(), n.adjustments);
|
|
9063
|
+
}, Ul = (e, t) => {
|
|
9044
9064
|
const r = Object.keys(e), n = Object.keys(t ?? {});
|
|
9045
9065
|
return r.length === n.length && n.every((r) => e[r] === t[r]);
|
|
9046
|
-
},
|
|
9066
|
+
}, Kl = (e, t) => {
|
|
9047
9067
|
const r = [];
|
|
9048
9068
|
for (const n of e.getMovables().getItems({
|
|
9049
9069
|
type: "shape",
|
|
9050
9070
|
deep: !0
|
|
9051
9071
|
})) {
|
|
9052
|
-
if (!
|
|
9053
|
-
const a =
|
|
9054
|
-
a && !
|
|
9072
|
+
if (!Rl(n)) continue;
|
|
9073
|
+
const a = $l(e, n, Gl, t);
|
|
9074
|
+
a && !Hl(n, a) && r.push([n, a]);
|
|
9055
9075
|
}
|
|
9056
9076
|
return r;
|
|
9057
|
-
},
|
|
9077
|
+
}, Wl = (e, t) => {
|
|
9058
9078
|
const { placement: r, route: n } = t;
|
|
9059
9079
|
(e.getRotation() || 0) !== r.rotation && e.setRotation(r.rotation);
|
|
9060
9080
|
const a = e.getBounds();
|
|
@@ -9062,49 +9082,49 @@ var pl = (e) => (e || 0) * Math.PI / 180, gl = (e) => {
|
|
|
9062
9082
|
const o = e.getFlip();
|
|
9063
9083
|
if (o.horizontal === r.flip.horizontal && o.vertical === r.flip.vertical || e.setFlip(r.flip), !n) return;
|
|
9064
9084
|
const i = e.getContent();
|
|
9065
|
-
i.getShapeType() === n.geometry &&
|
|
9066
|
-
},
|
|
9085
|
+
i.getShapeType() === n.geometry && Ul(i.getAdjustments(), n.adjustments) || i._setRoute?.(n.geometry, n.adjustments);
|
|
9086
|
+
}, Vl = (e, t) => {
|
|
9067
9087
|
if (0 === t.size) return [];
|
|
9068
9088
|
const r = [];
|
|
9069
9089
|
for (const n of e.getMovables().getItems({
|
|
9070
9090
|
type: "shape",
|
|
9071
9091
|
deep: !0
|
|
9072
9092
|
})) {
|
|
9073
|
-
const e =
|
|
9093
|
+
const e = Rl(n);
|
|
9074
9094
|
e && (e.start && t.has(e.start.id) || e.end && t.has(e.end.id)) && r.push(n);
|
|
9075
9095
|
}
|
|
9076
9096
|
return r;
|
|
9077
|
-
},
|
|
9097
|
+
}, Jl = (e) => {
|
|
9078
9098
|
const t = /* @__PURE__ */ new Map();
|
|
9079
9099
|
for (const r of e) for (const e of [r, ...r.getMovables()?.getItems({ deep: !0 }) ?? []]) {
|
|
9080
|
-
const r =
|
|
9100
|
+
const r = Bl(e);
|
|
9081
9101
|
void 0 !== r && t.set(r, e);
|
|
9082
9102
|
}
|
|
9083
9103
|
return t;
|
|
9084
|
-
},
|
|
9085
|
-
if (
|
|
9086
|
-
const a =
|
|
9104
|
+
}, ql = /* @__PURE__ */ new WeakSet(), Yl = (e, t, r, n = !1) => {
|
|
9105
|
+
if (ql.has(t)) return;
|
|
9106
|
+
const a = Jl([t]), o = Vl(e, a);
|
|
9087
9107
|
if (0 !== o.length) {
|
|
9088
|
-
|
|
9108
|
+
ql.add(t);
|
|
9089
9109
|
try {
|
|
9090
|
-
const t = (t) => a.get(t) ??
|
|
9110
|
+
const t = (t) => a.get(t) ?? El(e, t);
|
|
9091
9111
|
for (const a of o) {
|
|
9092
|
-
const o =
|
|
9093
|
-
o &&
|
|
9112
|
+
const o = $l(e, a, Gl, r, t, n);
|
|
9113
|
+
o && Wl(a, o);
|
|
9094
9114
|
}
|
|
9095
9115
|
} finally {
|
|
9096
|
-
|
|
9116
|
+
ql.delete(t);
|
|
9097
9117
|
}
|
|
9098
9118
|
}
|
|
9099
|
-
},
|
|
9100
|
-
if (!
|
|
9101
|
-
|
|
9119
|
+
}, Xl = (e, t, r) => {
|
|
9120
|
+
if (!ql.has(t)) {
|
|
9121
|
+
ql.add(t);
|
|
9102
9122
|
try {
|
|
9103
|
-
const n =
|
|
9104
|
-
n &&
|
|
9123
|
+
const n = $l(e, t, Gl, r);
|
|
9124
|
+
n && Wl(t, n);
|
|
9105
9125
|
} finally {
|
|
9106
|
-
|
|
9126
|
+
ql.delete(t);
|
|
9107
9127
|
}
|
|
9108
9128
|
}
|
|
9109
9129
|
};
|
|
9110
|
-
export { ml as $,
|
|
9130
|
+
export { ml as $, ms as $t, An as A, Ko as At, cl as B, ai as Bt, Nl as C, Sa as Ct, ul as D, dl as Dt, ca as E, Ki as Et, Bo as F, Pl as Ft, z as G, Z as Gt, xs as H, Oo as Ht, Gl as I, Un as It, El as J, tt as Jt, We as K, Ro as Kt, Mn as L, $l as Lt, kn as M, Kl as Mt, to as N, jo as Nt, Ss as O, Jl as Ot, Ci as P, rn as Pt, jl as Q, ua as Qt, wl as R, Po as Rt, Ke as S, li as St, bl as T, Ti as Tt, _o as U, Zi as Ut, Mo as V, Vl as Vt, Ll as W, Hn as Wt, ee as X, $o as Xt, Zo as Y, Xn as Yt, No as Z, Xr as Zt, ya as _, rl as _t, da as a, nl as an, Qn as at, ki as b, Wl as bt, x as c, c as ct, bn as d, Ho as dt, sl as en, Eo as et, ba as f, Zr as ft, E as g, an as gt, _i as h, aa as ht, k as i, on as in, w as it, fa as j, Io as jt, wn as k, zo as kt, qo as l, Zn as lt, oo as m, Da as mt, pl as n, Sn as nn, ii as nt, Hi as o, K as on, Xl as ot, xn as p, Lo as pt, X as q, ni as qt, B as r, gl as rn, at as rt, ll as s, Fn as sn, Uo as st, yn as t, il as tn, qi as tt, Tn as u, Yl as ut, _n as v, nn as vt, wi as w, ao as wt, H as x, Xi as xt, no as y, Wo as yt, pn as z, Aa as zt };
|