@popcraft/kit 0.27.0 → 0.28.0
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/dist/chunks/agent-3IO2MQXT.js +44 -0
- package/dist/chunks/api-SP5CMW7F.js +29 -0
- package/dist/chunks/apply-LUCVU7TU.js +46 -0
- package/dist/chunks/audio-decode-E6N6MHAU.js +54 -0
- package/dist/chunks/audio-import-3Z62QUMO.js +126 -0
- package/dist/chunks/audio-plan-XCLKFOGN.js +46 -0
- package/dist/chunks/board-export-QD2ONGX4.js +180 -0
- package/dist/chunks/browser-CFQO5M6X.js +179 -0
- package/dist/chunks/build-43GNNWJ3.js +55 -0
- package/dist/chunks/builtin-KQUM4MIA.js +114 -0
- package/dist/chunks/check-YEUL35K4.js +56 -0
- package/dist/chunks/check-template-LXLNPG35.js +2272 -0
- package/dist/chunks/chunk-22MPA4IE.js +123 -0
- package/dist/chunks/chunk-234UUHAO.js +97 -0
- package/dist/chunks/chunk-24WDINXR.js +78 -0
- package/dist/chunks/chunk-26LBQ4U7.js +345 -0
- package/dist/chunks/chunk-26Q7IQNC.js +163 -0
- package/dist/chunks/chunk-27YMC5AY.js +198 -0
- package/dist/chunks/chunk-2BQSZ253.js +101 -0
- package/dist/chunks/chunk-2CBRXI3K.js +168 -0
- package/dist/chunks/chunk-2CG562HY.js +90 -0
- package/dist/chunks/chunk-2DA5D6I6.js +100 -0
- package/dist/chunks/chunk-2DAABF4P.js +50 -0
- package/dist/chunks/chunk-2EKSBH2F.js +412 -0
- package/dist/chunks/chunk-2EWRQCCX.js +53 -0
- package/dist/chunks/chunk-2EYT3ITU.js +23 -0
- package/dist/chunks/chunk-2FZPBRST.js +78 -0
- package/dist/chunks/chunk-2H3MGV44.js +221 -0
- package/dist/chunks/chunk-2HNKHUIM.js +72 -0
- package/dist/chunks/chunk-2HTVRI5B.js +120 -0
- package/dist/chunks/chunk-2I2MXO46.js +206 -0
- package/dist/chunks/chunk-2JPRXBFT.js +85 -0
- package/dist/chunks/chunk-2MA4J2NB.js +108 -0
- package/dist/chunks/chunk-2O2SQWFM.js +78 -0
- package/dist/chunks/chunk-2OHTLX5Q.js +23 -0
- package/dist/chunks/chunk-2OPRUK4H.js +198 -0
- package/dist/chunks/chunk-2RIJH7KQ.js +45 -0
- package/dist/chunks/chunk-2UHQQHLM.js +33 -0
- package/dist/chunks/chunk-2UQ4PJIR.js +84 -0
- package/dist/chunks/chunk-2USDXNV5.js +23 -0
- package/dist/chunks/chunk-2VVK55LY.js +567 -0
- package/dist/chunks/chunk-2WW3NZKU.js +100 -0
- package/dist/chunks/chunk-2ZNAOSEC.js +131 -0
- package/dist/chunks/chunk-37IECHQ4.js +102 -0
- package/dist/chunks/chunk-37IU3FCE.js +203 -0
- package/dist/chunks/chunk-3A7UEI42.js +368 -0
- package/dist/chunks/chunk-3BAZYOXH.js +368 -0
- package/dist/chunks/chunk-3CEM5OCL.js +98 -0
- package/dist/chunks/chunk-3H6LCNN3.js +185 -0
- package/dist/chunks/chunk-3JATRR7F.js +151 -0
- package/dist/chunks/chunk-3JEPJPVH.js +196 -0
- package/dist/chunks/chunk-3JFQP3DU.js +169 -0
- package/dist/chunks/chunk-3KLQGNBF.js +86 -0
- package/dist/chunks/chunk-3LVNM5W5.js +95 -0
- package/dist/chunks/chunk-3MKVAIUO.js +163 -0
- package/dist/chunks/chunk-3MPKI6AV.js +103 -0
- package/dist/chunks/chunk-3NG7VCLV.js +33 -0
- package/dist/chunks/chunk-3OBWHBPC.js +265 -0
- package/dist/chunks/chunk-3P25DDKV.js +77 -0
- package/dist/chunks/chunk-3PDVXDJK.js +49 -0
- package/dist/chunks/chunk-3Q2AXHC5.js +78 -0
- package/dist/chunks/chunk-3RWDSSCV.js +82 -0
- package/dist/chunks/chunk-3SCDA6PX.js +141 -0
- package/dist/chunks/chunk-3SH4CW54.js +75 -0
- package/dist/chunks/chunk-3TDZ7EHU.js +181 -0
- package/dist/chunks/chunk-3TV4OZ6H.js +42 -0
- package/dist/chunks/chunk-3U4IRK5N.js +386 -0
- package/dist/chunks/chunk-3UMGYMRV.js +108 -0
- package/dist/chunks/chunk-3WEX7V6E.js +53 -0
- package/dist/chunks/chunk-3WTQ2N6P.js +45 -0
- package/dist/chunks/chunk-3X7DCNA6.js +83 -0
- package/dist/chunks/chunk-3XDZFIIU.js +116 -0
- package/dist/chunks/chunk-3XKX7TB6.js +161 -0
- package/dist/chunks/chunk-3XOP7HTA.js +75 -0
- package/dist/chunks/chunk-3XTMIVG7.js +36 -0
- package/dist/chunks/chunk-3Y5M7O2V.js +304 -0
- package/dist/chunks/chunk-3Y6FIXG5.js +103 -0
- package/dist/chunks/chunk-3ZBMVQZF.js +179 -0
- package/dist/chunks/chunk-3ZEZFWLD.js +123 -0
- package/dist/chunks/chunk-3ZLFSO5W.js +23 -0
- package/dist/chunks/chunk-3ZMCXXON.js +173 -0
- package/dist/chunks/chunk-3ZWEHFTK.js +171 -0
- package/dist/chunks/chunk-425XLZ2A.js +158 -0
- package/dist/chunks/chunk-42US55XD.js +361 -0
- package/dist/chunks/chunk-433EGZOB.js +263 -0
- package/dist/chunks/chunk-44FL67Z7.js +23 -0
- package/dist/chunks/chunk-45XLB3BX.js +362 -0
- package/dist/chunks/chunk-47WJUQHX.js +160 -0
- package/dist/chunks/chunk-4A7NSQCW.js +201 -0
- package/dist/chunks/chunk-4D3DLVRV.js +156 -0
- package/dist/chunks/chunk-4E4SK3SF.js +174 -0
- package/dist/chunks/chunk-4EXT5JUJ.js +98 -0
- package/dist/chunks/chunk-4F2O72MY.js +36 -0
- package/dist/chunks/chunk-4H4WUES6.js +36 -0
- package/dist/chunks/chunk-4HDMTDUE.js +257 -0
- package/dist/chunks/chunk-4IK4KMX5.js +178 -0
- package/dist/chunks/chunk-4IQVJYBC.js +161 -0
- package/dist/chunks/chunk-4IZPAZRM.js +166 -0
- package/dist/chunks/chunk-4JCFTUS2.js +344 -0
- package/dist/chunks/chunk-4K3GCTEM.js +137 -0
- package/dist/chunks/chunk-4KRWGTGN.js +111 -0
- package/dist/chunks/chunk-4KY6RFT6.js +194 -0
- package/dist/chunks/chunk-4LV6DRF5.js +105 -0
- package/dist/chunks/chunk-4NOVCNPI.js +104 -0
- package/dist/chunks/chunk-4NRBGRPH.js +70 -0
- package/dist/chunks/chunk-4OCOQ64W.js +140 -0
- package/dist/chunks/chunk-4OPXN6FV.js +74 -0
- package/dist/chunks/chunk-4P37VTOP.js +113 -0
- package/dist/chunks/chunk-4RWM3ZLU.js +109 -0
- package/dist/chunks/chunk-4S4ZUNUV.js +589 -0
- package/dist/chunks/chunk-4SSHMA7M.js +214 -0
- package/dist/chunks/chunk-4SY2XWYN.js +94 -0
- package/dist/chunks/chunk-4TZ6PPNQ.js +115 -0
- package/dist/chunks/chunk-4U4SVHHD.js +38 -0
- package/dist/chunks/chunk-4VYXGZXR.js +83 -0
- package/dist/chunks/chunk-4XIRD5SD.js +62 -0
- package/dist/chunks/chunk-4XZQ3GML.js +147 -0
- package/dist/chunks/chunk-4ZEQM52L.js +145 -0
- package/dist/chunks/chunk-57SYLF3L.js +170 -0
- package/dist/chunks/chunk-5CHBFCES.js +85 -0
- package/dist/chunks/chunk-5EQBPZGD.js +135 -0
- package/dist/chunks/chunk-5F7OMJ2X.js +89 -0
- package/dist/chunks/chunk-5FHTPPGJ.js +104 -0
- package/dist/chunks/chunk-5FYINUUD.js +149 -0
- package/dist/chunks/chunk-5GJ7H5PS.js +607 -0
- package/dist/chunks/chunk-5HOWK6RB.js +1393 -0
- package/dist/chunks/chunk-5IGBILWX.js +626 -0
- package/dist/chunks/chunk-5ITCBPHM.js +115 -0
- package/dist/chunks/chunk-5JL6NV2H.js +23 -0
- package/dist/chunks/chunk-5LI47J2L.js +77 -0
- package/dist/chunks/chunk-5LTVKXLO.js +90 -0
- package/dist/chunks/chunk-5MARUJG3.js +87 -0
- package/dist/chunks/chunk-5MH7OLKP.js +77 -0
- package/dist/chunks/chunk-5MTWUBTF.js +105 -0
- package/dist/chunks/chunk-5O5RALJ5.js +230 -0
- package/dist/chunks/chunk-5OIUSDRS.js +97 -0
- package/dist/chunks/chunk-5PI3C3N2.js +102 -0
- package/dist/chunks/chunk-5QVTV2SE.js +86 -0
- package/dist/chunks/chunk-5THYFUD4.js +153 -0
- package/dist/chunks/chunk-5TYQWSMY.js +144 -0
- package/dist/chunks/chunk-5ZO77A6Z.js +375 -0
- package/dist/chunks/chunk-65PZMQTZ.js +77 -0
- package/dist/chunks/chunk-6ASYYQGH.js +446 -0
- package/dist/chunks/chunk-6B2LLTJO.js +266 -0
- package/dist/chunks/chunk-6BFM53T6.js +82 -0
- package/dist/chunks/chunk-6BKDD5SH.js +1403 -0
- package/dist/chunks/chunk-6DHLGDGF.js +23 -0
- package/dist/chunks/chunk-6EVF5YVS.js +428 -0
- package/dist/chunks/chunk-6FNZMF5A.js +90 -0
- package/dist/chunks/chunk-6GKZ7JCN.js +252 -0
- package/dist/chunks/chunk-6H6CPAC3.js +94 -0
- package/dist/chunks/chunk-6HEGFXGE.js +81 -0
- package/dist/chunks/chunk-6HPYSHIK.js +202 -0
- package/dist/chunks/chunk-6JI7A4D3.js +33 -0
- package/dist/chunks/chunk-6LT2N2KW.js +224 -0
- package/dist/chunks/chunk-6LYFFL3G.js +422 -0
- package/dist/chunks/chunk-6NCYCPYQ.js +399 -0
- package/dist/chunks/chunk-6NFSU7BT.js +116 -0
- package/dist/chunks/chunk-6RVFIUZ4.js +366 -0
- package/dist/chunks/chunk-6T4DPTH7.js +42 -0
- package/dist/chunks/chunk-6UDT6MWK.js +130 -0
- package/dist/chunks/chunk-6UHALCH5.js +134 -0
- package/dist/chunks/chunk-6UPUWT6K.js +105 -0
- package/dist/chunks/chunk-6UUFZIJJ.js +340 -0
- package/dist/chunks/chunk-6WMCBIAB.js +99 -0
- package/dist/chunks/chunk-6WPUI5JS.js +33 -0
- package/dist/chunks/chunk-6X73UQMN.js +315 -0
- package/dist/chunks/chunk-6XGGSKFB.js +103 -0
- package/dist/chunks/chunk-6YPTFCNV.js +361 -0
- package/dist/chunks/chunk-73AL4UXD.js +317 -0
- package/dist/chunks/chunk-754WFWZO.js +215 -0
- package/dist/chunks/chunk-75IB5CW4.js +80 -0
- package/dist/chunks/chunk-75MNAOYW.js +79 -0
- package/dist/chunks/chunk-77T65EIJ.js +224 -0
- package/dist/chunks/chunk-77ZHGYM6.js +277 -0
- package/dist/chunks/chunk-7ALVCXI7.js +10425 -0
- package/dist/chunks/chunk-7B5L2Y23.js +33 -0
- package/dist/chunks/chunk-7BKXGY3B.js +287 -0
- package/dist/chunks/chunk-7BYXKJKL.js +147 -0
- package/dist/chunks/chunk-7DNGTR5E.js +1469 -0
- package/dist/chunks/chunk-7DOQDF7G.js +183 -0
- package/dist/chunks/chunk-7DRB4SGD.js +145 -0
- package/dist/chunks/chunk-7E2VOT72.js +41 -0
- package/dist/chunks/chunk-7EGGD4GL.js +226 -0
- package/dist/chunks/chunk-7EONBDFL.js +141 -0
- package/dist/chunks/chunk-7EWB745I.js +278 -0
- package/dist/chunks/chunk-7GJ5AULA.js +330 -0
- package/dist/chunks/chunk-7GTL6FY6.js +131 -0
- package/dist/chunks/chunk-7HALJXGF.js +108 -0
- package/dist/chunks/chunk-7I72ANNE.js +360 -0
- package/dist/chunks/chunk-7IGXNPLA.js +112 -0
- package/dist/chunks/chunk-7JIIBDQW.js +142 -0
- package/dist/chunks/chunk-7JS3643N.js +106 -0
- package/dist/chunks/chunk-7KDQF6KG.js +165 -0
- package/dist/chunks/chunk-7M2CS277.js +104 -0
- package/dist/chunks/chunk-7SWH7XHI.js +135 -0
- package/dist/chunks/chunk-7TOBRHG3.js +171 -0
- package/dist/chunks/chunk-7UQOLUP6.js +262 -0
- package/dist/chunks/chunk-7VSIT3NZ.js +82 -0
- package/dist/chunks/chunk-7XBGAOHO.js +118 -0
- package/dist/chunks/chunk-7XFAWKCV.js +84 -0
- package/dist/chunks/chunk-A2FFPWHS.js +298 -0
- package/dist/chunks/chunk-A4QREEW5.js +327 -0
- package/dist/chunks/chunk-A5UZDPGT.js +244 -0
- package/dist/chunks/chunk-A6SB7NOY.js +225 -0
- package/dist/chunks/chunk-A7CAGFMX.js +177 -0
- package/dist/chunks/chunk-A7CKA7IQ.js +115 -0
- package/dist/chunks/chunk-A7JW4EKF.js +23 -0
- package/dist/chunks/chunk-A7XJ6FEX.js +405 -0
- package/dist/chunks/chunk-A7XZHT56.js +172 -0
- package/dist/chunks/chunk-AAOWLMV2.js +262 -0
- package/dist/chunks/chunk-AAZGGYA7.js +108 -0
- package/dist/chunks/chunk-ABNQGDFM.js +180 -0
- package/dist/chunks/chunk-ABWB7F73.js +152 -0
- package/dist/chunks/chunk-ABZRPLQR.js +11047 -0
- package/dist/chunks/chunk-ACSE7S4L.js +139 -0
- package/dist/chunks/chunk-ADDF3PG2.js +36 -0
- package/dist/chunks/chunk-ADGM2OOO.js +182 -0
- package/dist/chunks/chunk-ADQIGVPH.js +247 -0
- package/dist/chunks/chunk-ADQQXKKS.js +110 -0
- package/dist/chunks/chunk-AF3A4WTB.js +1309 -0
- package/dist/chunks/chunk-AJSYQ2TP.js +52 -0
- package/dist/chunks/chunk-ANLLTEPD.js +33 -0
- package/dist/chunks/chunk-AOK3WJHN.js +94 -0
- package/dist/chunks/chunk-AP5PIKGL.js +462 -0
- package/dist/chunks/chunk-API2DUG7.js +51 -0
- package/dist/chunks/chunk-AQKTAAYU.js +49 -0
- package/dist/chunks/chunk-ATQX7RI5.js +339 -0
- package/dist/chunks/chunk-AURCNHI6.js +91 -0
- package/dist/chunks/chunk-AUUKA6IM.js +23 -0
- package/dist/chunks/chunk-AVC2HFQC.js +170 -0
- package/dist/chunks/chunk-AYAC5U7I.js +155 -0
- package/dist/chunks/chunk-AYU6MWZH.js +898 -0
- package/dist/chunks/chunk-B3MTSFJG.js +140 -0
- package/dist/chunks/chunk-B3VLD52D.js +48 -0
- package/dist/chunks/chunk-B3Y5M33J.js +317 -0
- package/dist/chunks/chunk-B4EGHMEA.js +155 -0
- package/dist/chunks/chunk-B57SSY2O.js +192 -0
- package/dist/chunks/chunk-BDFVBIFZ.js +150 -0
- package/dist/chunks/chunk-BDY4NBHF.js +142 -0
- package/dist/chunks/chunk-BFDJ66XO.js +251 -0
- package/dist/chunks/chunk-BG4JAOLD.js +33 -0
- package/dist/chunks/chunk-BIDE6WTV.js +362 -0
- package/dist/chunks/chunk-BIVWQTM3.js +277 -0
- package/dist/chunks/chunk-BIYRGLYD.js +1132 -0
- package/dist/chunks/chunk-BK66PAPC.js +122 -0
- package/dist/chunks/chunk-BKQF4LBF.js +262 -0
- package/dist/chunks/chunk-BL4W6KLJ.js +141 -0
- package/dist/chunks/chunk-BL5HAZSZ.js +95 -0
- package/dist/chunks/chunk-BLA5AWJL.js +261 -0
- package/dist/chunks/chunk-BLGDO7O2.js +47 -0
- package/dist/chunks/chunk-BLS2FSRI.js +412 -0
- package/dist/chunks/chunk-BLSX3CQH.js +479 -0
- package/dist/chunks/chunk-BNFWP7AE.js +166 -0
- package/dist/chunks/chunk-BNNKWUKG.js +330 -0
- package/dist/chunks/chunk-BOW2HHC3.js +165 -0
- package/dist/chunks/chunk-BPWCDUIR.js +139 -0
- package/dist/chunks/chunk-BR64YMBC.js +304 -0
- package/dist/chunks/chunk-BTN3GXND.js +151 -0
- package/dist/chunks/chunk-BV6P6W4G.js +213 -0
- package/dist/chunks/chunk-BVO56VGK.js +33 -0
- package/dist/chunks/chunk-BVTFNQHE.js +93 -0
- package/dist/chunks/chunk-BWBV27KV.js +215 -0
- package/dist/chunks/chunk-BWK7XM43.js +443 -0
- package/dist/chunks/chunk-BWYRNXOW.js +98 -0
- package/dist/chunks/chunk-BXRQWNQP.js +390 -0
- package/dist/chunks/chunk-BXXJZVD7.js +112 -0
- package/dist/chunks/chunk-BYGDRODR.js +101 -0
- package/dist/chunks/chunk-BYJ2WM4B.js +159 -0
- package/dist/chunks/chunk-BZAXF2QM.js +132 -0
- package/dist/chunks/chunk-C4S5X6OI.js +156 -0
- package/dist/chunks/chunk-C5MWRYUG.js +160 -0
- package/dist/chunks/chunk-C5VZKVV3.js +41 -0
- package/dist/chunks/chunk-C7DGHC7O.js +133 -0
- package/dist/chunks/chunk-C7JIAYZQ.js +1804 -0
- package/dist/chunks/chunk-CCVWH3WR.js +33 -0
- package/dist/chunks/chunk-CCXDWSZF.js +176 -0
- package/dist/chunks/chunk-CDKVJEWL.js +56 -0
- package/dist/chunks/chunk-CESGLL2Z.js +118 -0
- package/dist/chunks/chunk-CFUT3GUW.js +126 -0
- package/dist/chunks/chunk-CGIDWEMB.js +117 -0
- package/dist/chunks/chunk-CGWEKCTX.js +209 -0
- package/dist/chunks/chunk-CHGZ7XCB.js +181 -0
- package/dist/chunks/chunk-CHI76HGC.js +85 -0
- package/dist/chunks/chunk-CINT7SGD.js +166 -0
- package/dist/chunks/chunk-CMM7HCYN.js +190 -0
- package/dist/chunks/chunk-CN567E5R.js +191 -0
- package/dist/chunks/chunk-CNHIZTT4.js +33 -0
- package/dist/chunks/chunk-CQU6L5KI.js +100 -0
- package/dist/chunks/chunk-CQVGT6JL.js +127 -0
- package/dist/chunks/chunk-CRGTRFOC.js +303 -0
- package/dist/chunks/chunk-CSKQENT5.js +180 -0
- package/dist/chunks/chunk-CT5WYDCJ.js +93 -0
- package/dist/chunks/chunk-CULVUNUN.js +33 -0
- package/dist/chunks/chunk-CUXLKZQE.js +71 -0
- package/dist/chunks/chunk-CWA2Z6DX.js +228 -0
- package/dist/chunks/chunk-CWRXI56A.js +33 -0
- package/dist/chunks/chunk-CYAZUUHQ.js +181 -0
- package/dist/chunks/chunk-CZNXK5TD.js +222 -0
- package/dist/chunks/chunk-D52RY4MX.js +196 -0
- package/dist/chunks/chunk-D53OL26O.js +93 -0
- package/dist/chunks/chunk-D7VAI65Y.js +161 -0
- package/dist/chunks/chunk-DBHKT3OF.js +351 -0
- package/dist/chunks/chunk-DBOQOWMM.js +115 -0
- package/dist/chunks/chunk-DD6LBHCD.js +178 -0
- package/dist/chunks/chunk-DFEJPHA3.js +454 -0
- package/dist/chunks/chunk-DHIRL7A5.js +100 -0
- package/dist/chunks/chunk-DHLNKBJZ.js +94 -0
- package/dist/chunks/chunk-DIRLPFVB.js +49 -0
- package/dist/chunks/chunk-DJO6ZESZ.js +106 -0
- package/dist/chunks/chunk-DKTK2XAP.js +188 -0
- package/dist/chunks/chunk-DLD4ALKU.js +512 -0
- package/dist/chunks/chunk-DLMGCPW6.js +52 -0
- package/dist/chunks/chunk-DNRQIT6F.js +92 -0
- package/dist/chunks/chunk-DP5B6CFR.js +111 -0
- package/dist/chunks/chunk-DTDC3YMP.js +130 -0
- package/dist/chunks/chunk-DUWKRNUB.js +411 -0
- package/dist/chunks/chunk-DWJJXN4F.js +193 -0
- package/dist/chunks/chunk-DX3AAW6D.js +198 -0
- package/dist/chunks/chunk-DXNSY37G.js +81 -0
- package/dist/chunks/chunk-DY5636EQ.js +101 -0
- package/dist/chunks/chunk-DYNWTMMJ.js +150 -0
- package/dist/chunks/chunk-DZGHE43A.js +1845 -0
- package/dist/chunks/chunk-DZL5C2TL.js +41 -0
- package/dist/chunks/chunk-DZLDJ4CS.js +48 -0
- package/dist/chunks/chunk-E23RMPXE.js +229 -0
- package/dist/chunks/chunk-E2ABI6LF.js +181 -0
- package/dist/chunks/chunk-E2KUDR34.js +119 -0
- package/dist/chunks/chunk-E3LBLOOZ.js +172 -0
- package/dist/chunks/chunk-E3NLAUPT.js +105 -0
- package/dist/chunks/chunk-E4FOPCAB.js +291 -0
- package/dist/chunks/chunk-E5H76UCM.js +106 -0
- package/dist/chunks/chunk-E64G57X2.js +169 -0
- package/dist/chunks/chunk-E7EDBCD6.js +45 -0
- package/dist/chunks/chunk-EBRLEQLX.js +23 -0
- package/dist/chunks/chunk-ECOABGTY.js +173 -0
- package/dist/chunks/chunk-ED7Y45O6.js +146 -0
- package/dist/chunks/chunk-EEIFFCN7.js +111 -0
- package/dist/chunks/chunk-EEJWV2RT.js +290 -0
- package/dist/chunks/chunk-EFAXXGRJ.js +129 -0
- package/dist/chunks/chunk-EHR3RD77.js +151 -0
- package/dist/chunks/chunk-EJJWTPIJ.js +106 -0
- package/dist/chunks/chunk-EJSUNHTY.js +158 -0
- package/dist/chunks/chunk-EKDBZDZ4.js +30 -0
- package/dist/chunks/chunk-EKLOI2CY.js +83 -0
- package/dist/chunks/chunk-ELENT3KD.js +81 -0
- package/dist/chunks/chunk-ELVCNFR5.js +49 -0
- package/dist/chunks/chunk-EMWRJP7G.js +30 -0
- package/dist/chunks/chunk-EN2ELVE7.js +122 -0
- package/dist/chunks/chunk-EOKX5ZAA.js +23 -0
- package/dist/chunks/chunk-EQA5ISJ2.js +366 -0
- package/dist/chunks/chunk-EQBNW7TY.js +358 -0
- package/dist/chunks/chunk-ER3P6IXP.js +175 -0
- package/dist/chunks/chunk-EXFVLVE5.js +327 -0
- package/dist/chunks/chunk-EXQTHPCA.js +77 -0
- package/dist/chunks/chunk-EZG7ANO7.js +167 -0
- package/dist/chunks/chunk-EZJUUE24.js +138 -0
- package/dist/chunks/chunk-F2PBXASC.js +209 -0
- package/dist/chunks/chunk-F4JJMXUL.js +86 -0
- package/dist/chunks/chunk-F4RKDQDW.js +42 -0
- package/dist/chunks/chunk-F5WA22ZB.js +415 -0
- package/dist/chunks/chunk-F6BTGDWR.js +226 -0
- package/dist/chunks/chunk-F6JQTMKE.js +2662 -0
- package/dist/chunks/chunk-FADAWV7Y.js +112 -0
- package/dist/chunks/chunk-FANY7ZBH.js +36 -0
- package/dist/chunks/chunk-FBJGZJR4.js +36 -0
- package/dist/chunks/chunk-FCU4M2R2.js +382 -0
- package/dist/chunks/chunk-FCYA4SMC.js +161 -0
- package/dist/chunks/chunk-FEAE472U.js +128 -0
- package/dist/chunks/chunk-FF6EQU7S.js +146 -0
- package/dist/chunks/chunk-FIZ7SNNG.js +107 -0
- package/dist/chunks/chunk-FKFO746P.js +218 -0
- package/dist/chunks/chunk-FKQ52JRZ.js +99 -0
- package/dist/chunks/chunk-FL56UOAZ.js +45 -0
- package/dist/chunks/chunk-FMYHTC2D.js +84 -0
- package/dist/chunks/chunk-FNJBV3KK.js +177 -0
- package/dist/chunks/chunk-FNWB6JRL.js +100 -0
- package/dist/chunks/chunk-FOI47LLO.js +55 -0
- package/dist/chunks/chunk-FOWJ2L6V.js +187 -0
- package/dist/chunks/chunk-FOYRYMHH.js +292 -0
- package/dist/chunks/chunk-FP4SPG3O.js +220 -0
- package/dist/chunks/chunk-FP7SU6CO.js +120 -0
- package/dist/chunks/chunk-FPI666D6.js +242 -0
- package/dist/chunks/chunk-FRFPLJAC.js +33 -0
- package/dist/chunks/chunk-FRJQO4PM.js +632 -0
- package/dist/chunks/chunk-FTRCCGJX.js +183 -0
- package/dist/chunks/chunk-FVXGTHQ6.js +122 -0
- package/dist/chunks/chunk-FYZE5X6P.js +163 -0
- package/dist/chunks/chunk-FZBESKWX.js +270 -0
- package/dist/chunks/chunk-G2C2BDDU.js +777 -0
- package/dist/chunks/chunk-G5FH6A2A.js +33 -0
- package/dist/chunks/chunk-G6ULNT6D.js +487 -0
- package/dist/chunks/chunk-GBSPGGDA.js +125 -0
- package/dist/chunks/chunk-GCF7FGZT.js +186 -0
- package/dist/chunks/chunk-GCTYXD7O.js +147 -0
- package/dist/chunks/chunk-GDHZXZXC.js +97 -0
- package/dist/chunks/chunk-GEHMJQZQ.js +270 -0
- package/dist/chunks/chunk-GFLMOS7X.js +23 -0
- package/dist/chunks/chunk-GFRBSNVT.js +196 -0
- package/dist/chunks/chunk-GG3OC3YD.js +149 -0
- package/dist/chunks/chunk-GH53MIPY.js +225 -0
- package/dist/chunks/chunk-GHDLH3ZV.js +50 -0
- package/dist/chunks/chunk-GJHWABWC.js +163 -0
- package/dist/chunks/chunk-GKOXC2OE.js +184 -0
- package/dist/chunks/chunk-GLTQCZO5.js +263 -0
- package/dist/chunks/chunk-GNESAHSU.js +290 -0
- package/dist/chunks/chunk-GODTKJ6T.js +91 -0
- package/dist/chunks/chunk-GOJ66S7S.js +41 -0
- package/dist/chunks/chunk-GOUZ7RRC.js +163 -0
- package/dist/chunks/chunk-GP5MCS3K.js +110 -0
- package/dist/chunks/chunk-GPJZXBSB.js +298 -0
- package/dist/chunks/chunk-GQHEKNN4.js +464 -0
- package/dist/chunks/chunk-GQXOKRLV.js +55 -0
- package/dist/chunks/chunk-GT6SQNRO.js +514 -0
- package/dist/chunks/chunk-GU6DXKLQ.js +60 -0
- package/dist/chunks/chunk-GW543IMW.js +136 -0
- package/dist/chunks/chunk-GW6HJZVI.js +23 -0
- package/dist/chunks/chunk-GWBA6QWB.js +198 -0
- package/dist/chunks/chunk-GWSQFWTU.js +337 -0
- package/dist/chunks/chunk-H2DTSCBH.js +122 -0
- package/dist/chunks/chunk-H2EM44FP.js +82 -0
- package/dist/chunks/chunk-H3OKEONE.js +102 -0
- package/dist/chunks/chunk-H4DXH5CE.js +200 -0
- package/dist/chunks/chunk-H4TBDFPI.js +237 -0
- package/dist/chunks/chunk-H6KJO2IE.js +177 -0
- package/dist/chunks/chunk-H6UEZMCD.js +156 -0
- package/dist/chunks/chunk-HC4QNCM6.js +156 -0
- package/dist/chunks/chunk-HEUBQUFW.js +165 -0
- package/dist/chunks/chunk-HGIFZAZ5.js +103 -0
- package/dist/chunks/chunk-HGWSQWOO.js +149 -0
- package/dist/chunks/chunk-HHU2HYX3.js +33 -0
- package/dist/chunks/chunk-HIIXISGI.js +28 -0
- package/dist/chunks/chunk-HJANYVK6.js +83 -0
- package/dist/chunks/chunk-HJD6UMN3.js +159 -0
- package/dist/chunks/chunk-HNTO5N3U.js +68 -0
- package/dist/chunks/chunk-HNZDTUS6.js +385 -0
- package/dist/chunks/chunk-HOUSGEWG.js +33 -0
- package/dist/chunks/chunk-HP3PE2Z5.js +185 -0
- package/dist/chunks/chunk-HPYRSOC2.js +329 -0
- package/dist/chunks/chunk-HRPXQYOM.js +390 -0
- package/dist/chunks/chunk-HRWTCVRJ.js +62 -0
- package/dist/chunks/chunk-HSDDSCU2.js +23 -0
- package/dist/chunks/chunk-HSEJSKCZ.js +23 -0
- package/dist/chunks/chunk-HSQF6XIL.js +192 -0
- package/dist/chunks/chunk-HVRRBDHI.js +261 -0
- package/dist/chunks/chunk-HWISHYSF.js +685 -0
- package/dist/chunks/chunk-HWUEQAKT.js +100 -0
- package/dist/chunks/chunk-HZPOUEP7.js +304 -0
- package/dist/chunks/chunk-I37J5BFJ.js +23 -0
- package/dist/chunks/chunk-I5BJZ2EP.js +108 -0
- package/dist/chunks/chunk-I5SWFXDQ.js +320 -0
- package/dist/chunks/chunk-I6CNJXSP.js +121 -0
- package/dist/chunks/chunk-I6YBJEQF.js +250 -0
- package/dist/chunks/chunk-I7BMCGLT.js +95 -0
- package/dist/chunks/chunk-IBDVJ5GI.js +282 -0
- package/dist/chunks/chunk-IBIX7Y6I.js +117 -0
- package/dist/chunks/chunk-IC7ODAXZ.js +153 -0
- package/dist/chunks/chunk-ICQ3MEJD.js +162 -0
- package/dist/chunks/chunk-IGGMWNOE.js +23 -0
- package/dist/chunks/chunk-IIA3K7BG.js +94 -0
- package/dist/chunks/chunk-IIY5DPI6.js +283 -0
- package/dist/chunks/chunk-ILCO6ARV.js +33 -0
- package/dist/chunks/chunk-IM4JSVWC.js +141 -0
- package/dist/chunks/chunk-INUZFAXL.js +80 -0
- package/dist/chunks/chunk-INXTJMRZ.js +33 -0
- package/dist/chunks/chunk-IO5TH7QB.js +80 -0
- package/dist/chunks/chunk-IOSC6C22.js +100 -0
- package/dist/chunks/chunk-IQ657UIW.js +45 -0
- package/dist/chunks/chunk-ISYVYIAM.js +39 -0
- package/dist/chunks/chunk-ITHK2RHQ.js +102 -0
- package/dist/chunks/chunk-ITON5P7L.js +457 -0
- package/dist/chunks/chunk-IWJCK3FS.js +88 -0
- package/dist/chunks/chunk-IXORLILF.js +197 -0
- package/dist/chunks/chunk-J23JIEZH.js +157 -0
- package/dist/chunks/chunk-J2QYQLDZ.js +199 -0
- package/dist/chunks/chunk-J2XABSMI.js +145 -0
- package/dist/chunks/chunk-J44XSY4E.js +33 -0
- package/dist/chunks/chunk-J53OCPC5.js +210 -0
- package/dist/chunks/chunk-J5DPX25I.js +206 -0
- package/dist/chunks/chunk-J6P3GHB5.js +152 -0
- package/dist/chunks/chunk-J6SIFWFU.js +137 -0
- package/dist/chunks/chunk-J6VLUGLL.js +84 -0
- package/dist/chunks/chunk-J7F4CJU7.js +110 -0
- package/dist/chunks/chunk-JBPR2Z7C.js +110 -0
- package/dist/chunks/chunk-JCNY57YG.js +266 -0
- package/dist/chunks/chunk-JET54K37.js +114 -0
- package/dist/chunks/chunk-JEW5ZNGH.js +183 -0
- package/dist/chunks/chunk-JFTJCMHU.js +80 -0
- package/dist/chunks/chunk-JJJOXI7V.js +197 -0
- package/dist/chunks/chunk-JMX7WXHT.js +127 -0
- package/dist/chunks/chunk-JSDYTF62.js +324 -0
- package/dist/chunks/chunk-JT4H46NF.js +79 -0
- package/dist/chunks/chunk-JTS77T5M.js +119 -0
- package/dist/chunks/chunk-JVLSOGYW.js +127 -0
- package/dist/chunks/chunk-JVWLKZJX.js +111 -0
- package/dist/chunks/chunk-JWVQI6D7.js +260 -0
- package/dist/chunks/chunk-JYRMPLMQ.js +88 -0
- package/dist/chunks/chunk-JZEP32DK.js +146 -0
- package/dist/chunks/chunk-K2IU3NDJ.js +349 -0
- package/dist/chunks/chunk-K3AHT723.js +89 -0
- package/dist/chunks/chunk-K4G6MWRN.js +48 -0
- package/dist/chunks/chunk-K4T6TGHQ.js +95 -0
- package/dist/chunks/chunk-K55HYJZG.js +80 -0
- package/dist/chunks/chunk-K5H4DH3X.js +689 -0
- package/dist/chunks/chunk-K5YIFPWT.js +133 -0
- package/dist/chunks/chunk-K6XFKHWH.js +87 -0
- package/dist/chunks/chunk-K7YBKISD.js +136 -0
- package/dist/chunks/chunk-KB2APT3F.js +231 -0
- package/dist/chunks/chunk-KD355OAG.js +185 -0
- package/dist/chunks/chunk-KIYNE7WE.js +45 -0
- package/dist/chunks/chunk-KLPFTCJH.js +140 -0
- package/dist/chunks/chunk-KLUVUDVQ.js +55 -0
- package/dist/chunks/chunk-KMLYT7TJ.js +106 -0
- package/dist/chunks/chunk-KN2ITIR6.js +33 -0
- package/dist/chunks/chunk-KN7SSV2V.js +150 -0
- package/dist/chunks/chunk-KQKUWUSL.js +90 -0
- package/dist/chunks/chunk-KTT3KZZD.js +81 -0
- package/dist/chunks/chunk-KTYS7L57.js +287 -0
- package/dist/chunks/chunk-KVVS44JW.js +165 -0
- package/dist/chunks/chunk-KXCOJBYR.js +284 -0
- package/dist/chunks/chunk-KY5WVP63.js +86 -0
- package/dist/chunks/chunk-KYG7DDL7.js +312 -0
- package/dist/chunks/chunk-KYXVOPWA.js +336 -0
- package/dist/chunks/chunk-L2W2G2KZ.js +18 -0
- package/dist/chunks/chunk-L3QPEMK7.js +18 -0
- package/dist/chunks/chunk-L4W4WXEQ.js +92 -0
- package/dist/chunks/chunk-L6KJN6AN.js +96 -0
- package/dist/chunks/chunk-L6PLIUQ6.js +130 -0
- package/dist/chunks/chunk-L7J7MNPX.js +120 -0
- package/dist/chunks/chunk-LE252FAT.js +104 -0
- package/dist/chunks/chunk-LFURIWYH.js +94 -0
- package/dist/chunks/chunk-LG5U3MCE.js +217 -0
- package/dist/chunks/chunk-LJ7UVIBB.js +238 -0
- package/dist/chunks/chunk-LKHQNMNK.js +224 -0
- package/dist/chunks/chunk-LLAUFEJ2.js +23 -0
- package/dist/chunks/chunk-LLROQLO5.js +128 -0
- package/dist/chunks/chunk-LNMWGKWY.js +101 -0
- package/dist/chunks/chunk-LQ6RR2JJ.js +163 -0
- package/dist/chunks/chunk-LQSACTOJ.js +135 -0
- package/dist/chunks/chunk-LSFOSFHY.js +106 -0
- package/dist/chunks/chunk-LTFV6OO6.js +98 -0
- package/dist/chunks/chunk-LTW2N23R.js +251 -0
- package/dist/chunks/chunk-LU2IMHZ2.js +43 -0
- package/dist/chunks/chunk-LUDLET43.js +79 -0
- package/dist/chunks/chunk-LV2EYEEZ.js +358 -0
- package/dist/chunks/chunk-LVE2GGWW.js +170 -0
- package/dist/chunks/chunk-LVUKF2ZJ.js +293 -0
- package/dist/chunks/chunk-LX63YJZN.js +250 -0
- package/dist/chunks/chunk-LXJ5GSSG.js +178 -0
- package/dist/chunks/chunk-LXMFPWZL.js +206 -0
- package/dist/chunks/chunk-LXRON6OD.js +77 -0
- package/dist/chunks/chunk-M4MCDEIZ.js +282 -0
- package/dist/chunks/chunk-M5GHIFZF.js +172 -0
- package/dist/chunks/chunk-M7CST3N3.js +152 -0
- package/dist/chunks/chunk-M7O3KD2B.js +297 -0
- package/dist/chunks/chunk-MAGM3TQO.js +436 -0
- package/dist/chunks/chunk-MAQPYJA3.js +574 -0
- package/dist/chunks/chunk-MARXVXSB.js +336 -0
- package/dist/chunks/chunk-MB4SZQZZ.js +110 -0
- package/dist/chunks/chunk-MBCZDXNJ.js +283 -0
- package/dist/chunks/chunk-MBGLHLND.js +558 -0
- package/dist/chunks/chunk-MBHNFGWC.js +50 -0
- package/dist/chunks/chunk-MCKG6QX2.js +184 -0
- package/dist/chunks/chunk-MDYAC3PQ.js +172 -0
- package/dist/chunks/chunk-MFOII22C.js +152 -0
- package/dist/chunks/chunk-MGNHRCCC.js +564 -0
- package/dist/chunks/chunk-MHPT6STE.js +112 -0
- package/dist/chunks/chunk-MI6KHIRW.js +139 -0
- package/dist/chunks/chunk-MIGB2O3L.js +94 -0
- package/dist/chunks/chunk-MIYEOI6M.js +130 -0
- package/dist/chunks/chunk-MJH2BDAK.js +60 -0
- package/dist/chunks/chunk-MJYI4KQM.js +174 -0
- package/dist/chunks/chunk-MM7KMUL5.js +336 -0
- package/dist/chunks/chunk-MMAVLIPB.js +97 -0
- package/dist/chunks/chunk-MNDC3U5A.js +149 -0
- package/dist/chunks/chunk-MOOQLYYT.js +209 -0
- package/dist/chunks/chunk-MOT2SSUB.js +447 -0
- package/dist/chunks/chunk-MOTFRSCT.js +169 -0
- package/dist/chunks/chunk-MOZKAMPM.js +414 -0
- package/dist/chunks/chunk-MQ4BPHC7.js +274 -0
- package/dist/chunks/chunk-MRV3E2EE.js +174 -0
- package/dist/chunks/chunk-MS6IV2R6.js +97 -0
- package/dist/chunks/chunk-MSHRIXQN.js +95 -0
- package/dist/chunks/chunk-MSIDDCKK.js +237 -0
- package/dist/chunks/chunk-MSNZ2GPI.js +407 -0
- package/dist/chunks/chunk-MTD3UAQT.js +1221 -0
- package/dist/chunks/chunk-MUCMPECC.js +96 -0
- package/dist/chunks/chunk-MVJ4CNIS.js +76 -0
- package/dist/chunks/chunk-MVQZM66U.js +192 -0
- package/dist/chunks/chunk-MWDQXDTY.js +378 -0
- package/dist/chunks/chunk-MZIN3GFP.js +177 -0
- package/dist/chunks/chunk-N346T6XX.js +166 -0
- package/dist/chunks/chunk-N3NKWOAO.js +23 -0
- package/dist/chunks/chunk-N3U5RRU4.js +45 -0
- package/dist/chunks/chunk-N42BSADC.js +45 -0
- package/dist/chunks/chunk-N4RZWGKS.js +157 -0
- package/dist/chunks/chunk-N5PEJ2ED.js +272 -0
- package/dist/chunks/chunk-N6LPSBNV.js +194 -0
- package/dist/chunks/chunk-NCHRPDBI.js +23 -0
- package/dist/chunks/chunk-NDEYG5BL.js +182 -0
- package/dist/chunks/chunk-NDIYBZZN.js +260 -0
- package/dist/chunks/chunk-NDT2GAQB.js +110 -0
- package/dist/chunks/chunk-NGOTLBAH.js +118 -0
- package/dist/chunks/chunk-NHIPJSDL.js +363 -0
- package/dist/chunks/chunk-NHRXYSGC.js +107 -0
- package/dist/chunks/chunk-NHS7GZQR.js +167 -0
- package/dist/chunks/chunk-NJL5AVGP.js +33 -0
- package/dist/chunks/chunk-NKCNOAP7.js +93 -0
- package/dist/chunks/chunk-NKPVGUES.js +217 -0
- package/dist/chunks/chunk-NKWQTL7Z.js +304 -0
- package/dist/chunks/chunk-NM7KJ6FC.js +135 -0
- package/dist/chunks/chunk-NMQHXHJI.js +738 -0
- package/dist/chunks/chunk-NOIKWH3Y.js +85 -0
- package/dist/chunks/chunk-NPDMH7SK.js +117 -0
- package/dist/chunks/chunk-NPERIY2A.js +79 -0
- package/dist/chunks/chunk-NPNME2KR.js +231 -0
- package/dist/chunks/chunk-NPPBZLKV.js +23 -0
- package/dist/chunks/chunk-NPRCRBFK.js +176 -0
- package/dist/chunks/chunk-NPWKOZZN.js +260 -0
- package/dist/chunks/chunk-NQ3DZIE3.js +46 -0
- package/dist/chunks/chunk-NR5RN7US.js +155 -0
- package/dist/chunks/chunk-NRSNYFX3.js +162 -0
- package/dist/chunks/chunk-NZ5FENBP.js +65 -0
- package/dist/chunks/chunk-NZOMGT4D.js +33 -0
- package/dist/chunks/chunk-NZOP52FH.js +136 -0
- package/dist/chunks/chunk-O33TJXH7.js +100 -0
- package/dist/chunks/chunk-O3ACXK6A.js +182 -0
- package/dist/chunks/chunk-O3CVHFKN.js +190 -0
- package/dist/chunks/chunk-O5VR35YF.js +624 -0
- package/dist/chunks/chunk-O77ER23W.js +197 -0
- package/dist/chunks/chunk-O7EH7HK3.js +202 -0
- package/dist/chunks/chunk-OBKMS3SK.js +125 -0
- package/dist/chunks/chunk-OD7MLMDI.js +251 -0
- package/dist/chunks/chunk-OF4U6WZY.js +118 -0
- package/dist/chunks/chunk-OHMCTY3O.js +177 -0
- package/dist/chunks/chunk-OJPRHXKO.js +468 -0
- package/dist/chunks/chunk-OKPS6SW3.js +33 -0
- package/dist/chunks/chunk-OLN3HKZY.js +53 -0
- package/dist/chunks/chunk-ON4BY37T.js +134 -0
- package/dist/chunks/chunk-OPXRIMO6.js +199 -0
- package/dist/chunks/chunk-OQ7SHERU.js +293 -0
- package/dist/chunks/chunk-OVQ7SWIP.js +422 -0
- package/dist/chunks/chunk-OWBQK2UK.js +335 -0
- package/dist/chunks/chunk-OZHF2ESV.js +425 -0
- package/dist/chunks/chunk-P2OVML2N.js +124 -0
- package/dist/chunks/chunk-P3MU5S6K.js +145 -0
- package/dist/chunks/chunk-P4W4GAOM.js +267 -0
- package/dist/chunks/chunk-P5PZB7Y3.js +151 -0
- package/dist/chunks/chunk-P67UFSRZ.js +338 -0
- package/dist/chunks/chunk-P6OTVGHW.js +221 -0
- package/dist/chunks/chunk-P6V6PORV.js +47 -0
- package/dist/chunks/chunk-PAN2ZQRQ.js +180 -0
- package/dist/chunks/chunk-PBH67OWN.js +164 -0
- package/dist/chunks/chunk-PDQBHG27.js +36 -0
- package/dist/chunks/chunk-PE3DKE2I.js +37 -0
- package/dist/chunks/chunk-PEF63ILS.js +86 -0
- package/dist/chunks/chunk-PELYSOIZ.js +209 -0
- package/dist/chunks/chunk-PHDKGPB7.js +76 -0
- package/dist/chunks/chunk-PHUC6QFK.js +299 -0
- package/dist/chunks/chunk-PJMG4UNR.js +106 -0
- package/dist/chunks/chunk-PKL33WAR.js +208 -0
- package/dist/chunks/chunk-PLIB3HSM.js +249 -0
- package/dist/chunks/chunk-PLRZROAA.js +36 -0
- package/dist/chunks/chunk-PMKS2LIA.js +55 -0
- package/dist/chunks/chunk-PMSNN6ZW.js +82 -0
- package/dist/chunks/chunk-PMWNKKXK.js +133 -0
- package/dist/chunks/chunk-PMYBU4M5.js +189 -0
- package/dist/chunks/chunk-PO3CV3TH.js +1574 -0
- package/dist/chunks/chunk-POL5ZLMP.js +88 -0
- package/dist/chunks/chunk-PQ2TNM5X.js +11806 -0
- package/dist/chunks/chunk-PQ3IT764.js +160 -0
- package/dist/chunks/chunk-PQKTEEKH.js +152 -0
- package/dist/chunks/chunk-PQX5YGUY.js +122 -0
- package/dist/chunks/chunk-PRSJRJZL.js +212 -0
- package/dist/chunks/chunk-PTPLM4WY.js +92 -0
- package/dist/chunks/chunk-PTZRGUD5.js +53 -0
- package/dist/chunks/chunk-PV2J3GZ6.js +240 -0
- package/dist/chunks/chunk-PWK25CWA.js +214 -0
- package/dist/chunks/chunk-PXLZER2D.js +331 -0
- package/dist/chunks/chunk-Q4E7XMVR.js +161 -0
- package/dist/chunks/chunk-Q4EKAQIZ.js +140 -0
- package/dist/chunks/chunk-Q7IOFKZ3.js +87 -0
- package/dist/chunks/chunk-QA6WO353.js +23 -0
- package/dist/chunks/chunk-QBXMZSAN.js +135 -0
- package/dist/chunks/chunk-QC56JNQ6.js +175 -0
- package/dist/chunks/chunk-QGM5NN4K.js +887 -0
- package/dist/chunks/chunk-QHNAYYZ7.js +47 -0
- package/dist/chunks/chunk-QIDJA4GV.js +153 -0
- package/dist/chunks/chunk-QKHM5QFJ.js +139 -0
- package/dist/chunks/chunk-QKXFXEX3.js +130 -0
- package/dist/chunks/chunk-QL34CUYT.js +172 -0
- package/dist/chunks/chunk-QL6BNDNX.js +119 -0
- package/dist/chunks/chunk-QLL2Z2OE.js +173 -0
- package/dist/chunks/chunk-QMDAPY3F.js +152 -0
- package/dist/chunks/chunk-QNROEOZC.js +121 -0
- package/dist/chunks/chunk-QOKOJDTL.js +139 -0
- package/dist/chunks/chunk-QPP64ZB6.js +123 -0
- package/dist/chunks/chunk-QRTRVFO7.js +45 -0
- package/dist/chunks/chunk-QSMZLVVY.js +59 -0
- package/dist/chunks/chunk-QTWZMRJN.js +204 -0
- package/dist/chunks/chunk-QU3LNQYB.js +33 -0
- package/dist/chunks/chunk-QU5QTJ4D.js +163 -0
- package/dist/chunks/chunk-QU6I6MIF.js +1188 -0
- package/dist/chunks/chunk-QWM5AFON.js +95 -0
- package/dist/chunks/chunk-QWWPDN6Q.js +93 -0
- package/dist/chunks/chunk-R3OABS2Z.js +215 -0
- package/dist/chunks/chunk-R43R37VW.js +484 -0
- package/dist/chunks/chunk-R565UIW6.js +93 -0
- package/dist/chunks/chunk-R5BP7EWL.js +326 -0
- package/dist/chunks/chunk-R7CXAHCY.js +78 -0
- package/dist/chunks/chunk-RA6YEINN.js +740 -0
- package/dist/chunks/chunk-RAMQUN4E.js +290 -0
- package/dist/chunks/chunk-RC43QQOT.js +195 -0
- package/dist/chunks/chunk-RCXRHBXV.js +23 -0
- package/dist/chunks/chunk-RDCMKX77.js +382 -0
- package/dist/chunks/chunk-RDX2GRRB.js +258 -0
- package/dist/chunks/chunk-RG42FB7R.js +269 -0
- package/dist/chunks/chunk-RGT72LK4.js +129 -0
- package/dist/chunks/chunk-RH5IV5TC.js +95 -0
- package/dist/chunks/chunk-RHBH54AQ.js +79 -0
- package/dist/chunks/chunk-RHUY4FND.js +146 -0
- package/dist/chunks/chunk-RJKVDAMS.js +160 -0
- package/dist/chunks/chunk-RKBDOWDQ.js +39 -0
- package/dist/chunks/chunk-RMUQKE67.js +503 -0
- package/dist/chunks/chunk-RNH7G5NX.js +121 -0
- package/dist/chunks/chunk-ROZF74YL.js +23 -0
- package/dist/chunks/chunk-RPGEHTS2.js +342 -0
- package/dist/chunks/chunk-RPTDNDDV.js +93 -0
- package/dist/chunks/chunk-RQI3UGPO.js +104 -0
- package/dist/chunks/chunk-RQOLXMIJ.js +497 -0
- package/dist/chunks/chunk-RS7MUPOC.js +97 -0
- package/dist/chunks/chunk-RSLS5O6W.js +41 -0
- package/dist/chunks/chunk-RSP7J7C2.js +103 -0
- package/dist/chunks/chunk-RXV4AT4H.js +154 -0
- package/dist/chunks/chunk-RYZM4G25.js +23 -0
- package/dist/chunks/chunk-RZNXRJY6.js +60 -0
- package/dist/chunks/chunk-RZTCXSHH.js +358 -0
- package/dist/chunks/chunk-S4SZYPJX.js +224 -0
- package/dist/chunks/chunk-S5DZVLIX.js +95 -0
- package/dist/chunks/chunk-S5F7MGWJ.js +141 -0
- package/dist/chunks/chunk-S64EHZD4.js +261 -0
- package/dist/chunks/chunk-S6JLLFOR.js +55 -0
- package/dist/chunks/chunk-S6Y5ZJAX.js +23 -0
- package/dist/chunks/chunk-S7S63UGX.js +195 -0
- package/dist/chunks/chunk-S7WWYPKZ.js +480 -0
- package/dist/chunks/chunk-SARO2HG5.js +112 -0
- package/dist/chunks/chunk-SC7XIHBW.js +311 -0
- package/dist/chunks/chunk-SD7KY4QP.js +146 -0
- package/dist/chunks/chunk-SF6PPH43.js +99 -0
- package/dist/chunks/chunk-SFEPOOS3.js +90 -0
- package/dist/chunks/chunk-SIECJVGD.js +80 -0
- package/dist/chunks/chunk-SJNJAD5I.js +201 -0
- package/dist/chunks/chunk-SJRVZJDC.js +89 -0
- package/dist/chunks/chunk-SK7QPEHZ.js +239 -0
- package/dist/chunks/chunk-SKSFSBCI.js +112 -0
- package/dist/chunks/chunk-SM5F2WVR.js +157 -0
- package/dist/chunks/chunk-SN6Z5LZR.js +217 -0
- package/dist/chunks/chunk-SQWWCPWW.js +172 -0
- package/dist/chunks/chunk-STPXOQIS.js +187 -0
- package/dist/chunks/chunk-SVFNQSI3.js +33 -0
- package/dist/chunks/chunk-SVNSFGC6.js +152 -0
- package/dist/chunks/chunk-SW4DBSQF.js +235 -0
- package/dist/chunks/chunk-SWI5NHBF.js +123 -0
- package/dist/chunks/chunk-SWMVN6LB.js +544 -0
- package/dist/chunks/chunk-SXYAJD2D.js +147 -0
- package/dist/chunks/chunk-SYXMAC2V.js +23 -0
- package/dist/chunks/chunk-T24MPYQU.js +102 -0
- package/dist/chunks/chunk-T3VF33TN.js +10182 -0
- package/dist/chunks/chunk-T4G2CNVB.js +23 -0
- package/dist/chunks/chunk-T4VUY347.js +45 -0
- package/dist/chunks/chunk-T66GYVOV.js +45 -0
- package/dist/chunks/chunk-T7GOGRQ4.js +194 -0
- package/dist/chunks/chunk-T7LD3RE4.js +84 -0
- package/dist/chunks/chunk-T7Z2SCXH.js +44 -0
- package/dist/chunks/chunk-TBIN5TYU.js +333 -0
- package/dist/chunks/chunk-TCCUBJX3.js +52 -0
- package/dist/chunks/chunk-TCGHG7E7.js +1649 -0
- package/dist/chunks/chunk-TCPVXNZL.js +23 -0
- package/dist/chunks/chunk-TDRYQJJQ.js +279 -0
- package/dist/chunks/chunk-TDS2NNHK.js +23 -0
- package/dist/chunks/chunk-TFED6QQH.js +91 -0
- package/dist/chunks/chunk-TGQLU4NO.js +112 -0
- package/dist/chunks/chunk-TI2GYY24.js +97 -0
- package/dist/chunks/chunk-TIDGUGYW.js +104 -0
- package/dist/chunks/chunk-TJ4Y4EFJ.js +33 -0
- package/dist/chunks/chunk-TKGXMLYM.js +44 -0
- package/dist/chunks/chunk-TKVPIGS2.js +23 -0
- package/dist/chunks/chunk-TL7NMXQI.js +33 -0
- package/dist/chunks/chunk-TLTX5TSQ.js +102 -0
- package/dist/chunks/chunk-TMRAMVNU.js +77 -0
- package/dist/chunks/chunk-TNDPWWQB.js +164 -0
- package/dist/chunks/chunk-TNYGWO2D.js +366 -0
- package/dist/chunks/chunk-TOKXICI5.js +238 -0
- package/dist/chunks/chunk-TSOWAAG7.js +157 -0
- package/dist/chunks/chunk-TTXEBIPF.js +255 -0
- package/dist/chunks/chunk-TVLAY2LP.js +400 -0
- package/dist/chunks/chunk-TVSIURIG.js +74 -0
- package/dist/chunks/chunk-TXAQ46B5.js +313 -0
- package/dist/chunks/chunk-TXX4U5TX.js +112 -0
- package/dist/chunks/chunk-TYC6Z2RV.js +45 -0
- package/dist/chunks/chunk-TYYOVVOE.js +213 -0
- package/dist/chunks/chunk-TZAQWC3P.js +278 -0
- package/dist/chunks/chunk-U23TZHAR.js +45 -0
- package/dist/chunks/chunk-U3I5VG77.js +106 -0
- package/dist/chunks/chunk-U4BCYGF5.js +99 -0
- package/dist/chunks/chunk-U5CRX2HP.js +391 -0
- package/dist/chunks/chunk-U5DXH3UW.js +80 -0
- package/dist/chunks/chunk-U5FCX7GO.js +169 -0
- package/dist/chunks/chunk-UA2D4E4J.js +154 -0
- package/dist/chunks/chunk-UAEYBIAS.js +471 -0
- package/dist/chunks/chunk-UCDSCDOQ.js +172 -0
- package/dist/chunks/chunk-UGQ4QHOU.js +144 -0
- package/dist/chunks/chunk-UI3TUGCZ.js +261 -0
- package/dist/chunks/chunk-UIJIXIOA.js +105 -0
- package/dist/chunks/chunk-UIZA5OPU.js +232 -0
- package/dist/chunks/chunk-UKJJTO36.js +115 -0
- package/dist/chunks/chunk-ULUQRJJX.js +107 -0
- package/dist/chunks/chunk-UNMZFPDE.js +156 -0
- package/dist/chunks/chunk-UOQ2RQ2R.js +305 -0
- package/dist/chunks/chunk-UOWBPIMV.js +106 -0
- package/dist/chunks/chunk-UPACGKBT.js +109 -0
- package/dist/chunks/chunk-UPQ3AMRO.js +207 -0
- package/dist/chunks/chunk-UPUYZHPU.js +23 -0
- package/dist/chunks/chunk-USC65JOS.js +220 -0
- package/dist/chunks/chunk-UTWEPBDR.js +204 -0
- package/dist/chunks/chunk-UVQU3UDH.js +45 -0
- package/dist/chunks/chunk-UYAZBNKJ.js +260 -0
- package/dist/chunks/chunk-UYCW2LOM.js +87 -0
- package/dist/chunks/chunk-UYISR26G.js +204 -0
- package/dist/chunks/chunk-UYIWEAXY.js +346 -0
- package/dist/chunks/chunk-UZVZLIGO.js +179 -0
- package/dist/chunks/chunk-V23USFNB.js +52 -0
- package/dist/chunks/chunk-V3EVIXR6.js +108 -0
- package/dist/chunks/chunk-V4A2BT2G.js +138 -0
- package/dist/chunks/chunk-V55NTQVV.js +33 -0
- package/dist/chunks/chunk-V6E7ZSXR.js +118 -0
- package/dist/chunks/chunk-V6LAFIO7.js +150 -0
- package/dist/chunks/chunk-V73HTUVX.js +133 -0
- package/dist/chunks/chunk-V7B4WVDN.js +123 -0
- package/dist/chunks/chunk-V7G6P5MV.js +104 -0
- package/dist/chunks/chunk-VAGQAESH.js +84 -0
- package/dist/chunks/chunk-VB6TVBG4.js +73 -0
- package/dist/chunks/chunk-VD6R2QMV.js +151 -0
- package/dist/chunks/chunk-VDLZC4QB.js +33 -0
- package/dist/chunks/chunk-VF7IPUX3.js +159 -0
- package/dist/chunks/chunk-VGAWTJEY.js +103 -0
- package/dist/chunks/chunk-VISNQCQ7.js +149 -0
- package/dist/chunks/chunk-VIXBR43B.js +109 -0
- package/dist/chunks/chunk-VIZLCLW6.js +23 -0
- package/dist/chunks/chunk-VKVYJ7DL.js +130 -0
- package/dist/chunks/chunk-VODMRVJ2.js +23 -0
- package/dist/chunks/chunk-VRPWGBHZ.js +126 -0
- package/dist/chunks/chunk-VRUNIVKS.js +138 -0
- package/dist/chunks/chunk-VSIUDJU4.js +66 -0
- package/dist/chunks/chunk-VU7Q6SMP.js +153 -0
- package/dist/chunks/chunk-VWDWJ2HS.js +155 -0
- package/dist/chunks/chunk-VXEZ7GCF.js +209 -0
- package/dist/chunks/chunk-VXI2H46A.js +114 -0
- package/dist/chunks/chunk-W2FRE53Y.js +315 -0
- package/dist/chunks/chunk-WBZ6O2YF.js +185 -0
- package/dist/chunks/chunk-WCOWVSVF.js +340 -0
- package/dist/chunks/chunk-WEWXG2CE.js +131 -0
- package/dist/chunks/chunk-WGBQLWRJ.js +33 -0
- package/dist/chunks/chunk-WH264KIG.js +192 -0
- package/dist/chunks/chunk-WIXD3W3K.js +147 -0
- package/dist/chunks/chunk-WJQVIYPJ.js +23 -0
- package/dist/chunks/chunk-WL6H4VCU.js +92 -0
- package/dist/chunks/chunk-WNYY2ZEL.js +45 -0
- package/dist/chunks/chunk-WPG3KDMD.js +176 -0
- package/dist/chunks/chunk-WQB7AKX5.js +23 -0
- package/dist/chunks/chunk-WS2TADAD.js +150 -0
- package/dist/chunks/chunk-WS7GR4CP.js +128 -0
- package/dist/chunks/chunk-WSKS6VCW.js +162 -0
- package/dist/chunks/chunk-WSLOFDMJ.js +147 -0
- package/dist/chunks/chunk-WSZEVKC4.js +23 -0
- package/dist/chunks/chunk-WUKIHT4P.js +33 -0
- package/dist/chunks/chunk-WVLI54ZP.js +70 -0
- package/dist/chunks/chunk-WWFWLNW3.js +187 -0
- package/dist/chunks/chunk-WWUFCX2A.js +71 -0
- package/dist/chunks/chunk-WWUM5HP7.js +283 -0
- package/dist/chunks/chunk-WX3TMBD2.js +246 -0
- package/dist/chunks/chunk-WXHIFWNU.js +170 -0
- package/dist/chunks/chunk-WYKRBS6G.js +273 -0
- package/dist/chunks/chunk-X4KTJGIE.js +23 -0
- package/dist/chunks/chunk-X63YCLFO.js +525 -0
- package/dist/chunks/chunk-X7X27RUX.js +164 -0
- package/dist/chunks/chunk-X7XXYC2K.js +331 -0
- package/dist/chunks/chunk-XEEH4ISM.js +168 -0
- package/dist/chunks/chunk-XESZ3SEU.js +143 -0
- package/dist/chunks/chunk-XG3AD5KN.js +30 -0
- package/dist/chunks/chunk-XGXFZUBL.js +104 -0
- package/dist/chunks/chunk-XINTIW5E.js +78 -0
- package/dist/chunks/chunk-XIOUNY4A.js +226 -0
- package/dist/chunks/chunk-XISXZK26.js +218 -0
- package/dist/chunks/chunk-XITT4RJT.js +728 -0
- package/dist/chunks/chunk-XJSW2Y3W.js +261 -0
- package/dist/chunks/chunk-XKFXWXG2.js +149 -0
- package/dist/chunks/chunk-XM6KYP4P.js +165 -0
- package/dist/chunks/chunk-XMGRGGKC.js +282 -0
- package/dist/chunks/chunk-XMKD6TGV.js +54 -0
- package/dist/chunks/chunk-XMMRRTQI.js +113 -0
- package/dist/chunks/chunk-XNGMZ26E.js +109 -0
- package/dist/chunks/chunk-XOEW6FWD.js +1677 -0
- package/dist/chunks/chunk-XOOCG6RF.js +86 -0
- package/dist/chunks/chunk-XOYSVVUN.js +1136 -0
- package/dist/chunks/chunk-XPJLJR4H.js +122 -0
- package/dist/chunks/chunk-XQ2NAUDH.js +30 -0
- package/dist/chunks/chunk-XQVVYTBT.js +289 -0
- package/dist/chunks/chunk-XR2UJOEP.js +97 -0
- package/dist/chunks/chunk-XR4BGYD2.js +45 -0
- package/dist/chunks/chunk-XRYFAV6G.js +248 -0
- package/dist/chunks/chunk-XVHBTAGX.js +200 -0
- package/dist/chunks/chunk-XWC2TQK2.js +166 -0
- package/dist/chunks/chunk-XWO3J5VV.js +170 -0
- package/dist/chunks/chunk-XZQ6ISBZ.js +97 -0
- package/dist/chunks/chunk-XZVEOMKS.js +179 -0
- package/dist/chunks/chunk-Y3BYY6XO.js +61 -0
- package/dist/chunks/chunk-Y3NTQY4C.js +305 -0
- package/dist/chunks/chunk-Y4B4RW6U.js +41 -0
- package/dist/chunks/chunk-Y4VEVXAB.js +105 -0
- package/dist/chunks/chunk-Y5XMMBAT.js +23 -0
- package/dist/chunks/chunk-Y6BRK75M.js +256 -0
- package/dist/chunks/chunk-Y76UUTKY.js +100 -0
- package/dist/chunks/chunk-Y7C47PCA.js +117 -0
- package/dist/chunks/chunk-Y7FYKOMJ.js +234 -0
- package/dist/chunks/chunk-YC4SESWC.js +307 -0
- package/dist/chunks/chunk-YCVFOOQ7.js +200 -0
- package/dist/chunks/chunk-YEQNI34T.js +105 -0
- package/dist/chunks/chunk-YFELWM5S.js +51 -0
- package/dist/chunks/chunk-YHLIOY2L.js +803 -0
- package/dist/chunks/chunk-YJM44O6J.js +23 -0
- package/dist/chunks/chunk-YJQ5LCWJ.js +90 -0
- package/dist/chunks/chunk-YJUW4JAE.js +84 -0
- package/dist/chunks/chunk-YKCKOAYX.js +23 -0
- package/dist/chunks/chunk-YKT3L2MV.js +478 -0
- package/dist/chunks/chunk-YM4RTW3Z.js +91 -0
- package/dist/chunks/chunk-YMATPHFY.js +84 -0
- package/dist/chunks/chunk-YNIWKMPH.js +81 -0
- package/dist/chunks/chunk-YOIWIDWG.js +255 -0
- package/dist/chunks/chunk-YOZ6R64J.js +30 -0
- package/dist/chunks/chunk-YQFUMZF2.js +342 -0
- package/dist/chunks/chunk-YRBDW2XM.js +301 -0
- package/dist/chunks/chunk-YSCSUN3O.js +150 -0
- package/dist/chunks/chunk-YSW7UO2P.js +877 -0
- package/dist/chunks/chunk-YTOVQGUR.js +191 -0
- package/dist/chunks/chunk-YTPFE3FV.js +120 -0
- package/dist/chunks/chunk-YVDEMMNE.js +162 -0
- package/dist/chunks/chunk-YXNMSVQP.js +77 -0
- package/dist/chunks/chunk-YYX6ZGHY.js +198 -0
- package/dist/chunks/chunk-Z32WFOKI.js +115 -0
- package/dist/chunks/chunk-Z3TS4OOX.js +97 -0
- package/dist/chunks/chunk-Z6NCIE4G.js +97 -0
- package/dist/chunks/chunk-Z7JENU47.js +242 -0
- package/dist/chunks/chunk-Z7OQUTVR.js +23 -0
- package/dist/chunks/chunk-Z7W7XNJX.js +361 -0
- package/dist/chunks/chunk-ZBEUEUOZ.js +396 -0
- package/dist/chunks/chunk-ZDPMPKKU.js +1307 -0
- package/dist/chunks/chunk-ZFFXEI5W.js +130 -0
- package/dist/chunks/chunk-ZFIZO25F.js +83 -0
- package/dist/chunks/chunk-ZGC4B6TJ.js +33 -0
- package/dist/chunks/chunk-ZGOOG4WK.js +163 -0
- package/dist/chunks/chunk-ZGSS2RNN.js +122 -0
- package/dist/chunks/chunk-ZLQEO5ZX.js +303 -0
- package/dist/chunks/chunk-ZMFO3Y73.js +930 -0
- package/dist/chunks/chunk-ZMU3U5NT.js +320 -0
- package/dist/chunks/chunk-ZMZK25HE.js +146 -0
- package/dist/chunks/chunk-ZNPWT5DP.js +119 -0
- package/dist/chunks/chunk-ZOHD4DSB.js +197 -0
- package/dist/chunks/chunk-ZQAZ7BSU.js +231 -0
- package/dist/chunks/chunk-ZQJFBTF7.js +276 -0
- package/dist/chunks/chunk-ZRFOQYY5.js +124 -0
- package/dist/chunks/chunk-ZS6ZP3QM.js +651 -0
- package/dist/chunks/chunk-ZSOQR4VS.js +75 -0
- package/dist/chunks/chunk-ZT6M4M4U.js +1417 -0
- package/dist/chunks/chunk-ZUWYSRQL.js +345 -0
- package/dist/chunks/chunk-ZX7SNPB7.js +78 -0
- package/dist/chunks/chunk-ZXYVACNM.js +95 -0
- package/dist/chunks/chunk-ZYYVP5PU.js +122 -0
- package/dist/chunks/chunk-ZYZ4UT45.js +957 -0
- package/dist/chunks/chunk-ZZ5T6MX3.js +50 -0
- package/dist/chunks/client-2BTM3HNE.js +31 -0
- package/dist/chunks/client-LLKKAYXS.js +44 -0
- package/dist/chunks/client-SS2J4WKN.js +167 -0
- package/dist/chunks/client-actions-M23KKWY6.js +156 -0
- package/dist/chunks/client-store-V6YXN7XC.js +33 -0
- package/dist/chunks/components-SN5KGG5N.js +71 -0
- package/dist/chunks/dangerous-DLEUSVOT.js +116 -0
- package/dist/chunks/document-library-3SETNVJ6.js +62 -0
- package/dist/chunks/editor-seams-WTRRLSBZ.js +157 -0
- package/dist/chunks/editor-store-Y5JVOHB7.js +135 -0
- package/dist/chunks/export-4QLZWEWR.js +67 -0
- package/dist/chunks/export-fills-D4KQPTSM.js +35 -0
- package/dist/chunks/export-watermark-USXY427O.js +142 -0
- package/dist/chunks/eyedropper-AQWXO46L.js +345 -0
- package/dist/chunks/fonts-C5LF4OCG.js +39 -0
- package/dist/chunks/generate-media-VFVS22UO.js +253 -0
- package/dist/chunks/headless-IJUGCOAE.js +186 -0
- package/dist/chunks/host-BJ7UQSQD.js +167 -0
- package/dist/chunks/host-FSBZFWYU.js +239 -0
- package/dist/chunks/import-RHSWMRVI.js +702 -0
- package/dist/chunks/import-merge-BMA3XDPJ.js +35 -0
- package/dist/chunks/instances-YMSEYFPJ.js +79 -0
- package/dist/chunks/integrations-HRTPNLLI.js +115 -0
- package/dist/chunks/invariants-YFRO6I4V.js +61 -0
- package/dist/chunks/kit-modules-ZYHOUPCW.js +18 -0
- package/dist/chunks/libraries-T2HDZDIC.js +298 -0
- package/dist/chunks/library-previews-KDBJEPDK.js +199 -0
- package/dist/chunks/live-2ZLFQTPT.js +308 -0
- package/dist/chunks/lottie-TUZRKWLR.js +85 -0
- package/dist/chunks/media-tool-ZFCGDRQT.js +328 -0
- package/dist/chunks/new-file-5VVDXNXE.js +125 -0
- package/dist/chunks/next-commerce-57C5EAOK.js +66 -0
- package/dist/chunks/page-thumbnails-S7LG34LC.js +133 -0
- package/dist/chunks/pdf-H7STZIDN.js +1216 -0
- package/dist/chunks/pdf-import-CKJXI5JP.js +370 -0
- package/dist/chunks/plan-K3VCVZUU.js +82 -0
- package/dist/chunks/player-check-U3VAM2YY.js +113 -0
- package/dist/chunks/plugin-OVX7RRTV.js +123 -0
- package/dist/chunks/plugin-import-2MDRVRIE.js +660 -0
- package/dist/chunks/pptx-AZ6UE3LB.js +309 -0
- package/dist/chunks/presence-Y3AMKCD3.js +123 -0
- package/dist/chunks/preview-media-TNMCEJA4.js +121 -0
- package/dist/chunks/project-4ESJRYF7.js +1648 -0
- package/dist/chunks/publish-site-DVNMOKZ5.js +154 -0
- package/dist/chunks/publish-store-HMMOOHTA.js +93 -0
- package/dist/chunks/raster-actions-B7445DO4.js +225 -0
- package/dist/chunks/reference-images-4KCCQUPF.js +62 -0
- package/dist/chunks/resolvers-STX3TOFT.js +138 -0
- package/dist/chunks/review-kits-LNM4JJRT.js +41 -0
- package/dist/chunks/runner-TMEGMTXD.js +1229 -0
- package/dist/chunks/runtime-WMLX5IGB.js +32 -0
- package/dist/chunks/shader-preview-V45CPULP.js +518 -0
- package/dist/chunks/shaper-6FLVHO5C.js +64 -0
- package/dist/chunks/sites-QGITEOXU.js +33 -0
- package/dist/chunks/store-TKV7PCNN.js +220 -0
- package/dist/chunks/storefront-5HTD3PRF.js +327 -0
- package/dist/chunks/storefront-prepare-YFCBTLJI.js +33 -0
- package/dist/chunks/stress-document-5UEC5JOD.js +126 -0
- package/dist/chunks/svg-export-CAVR573D.js +80 -0
- package/dist/chunks/svg-place-KZ3CJRP3.js +39 -0
- package/dist/chunks/sync-ALN2DIIG.js +149 -0
- package/dist/chunks/tabs-YBBPRHFT.js +307 -0
- package/dist/chunks/team-X4R4TJ3R.js +44 -0
- package/dist/chunks/templates-ATZYK7OX.js +181 -0
- package/dist/chunks/theme-store-T6K3BK4F.js +39 -0
- package/dist/chunks/tools-7LZALPGP.js +35 -0
- package/dist/chunks/tree-HDY6P7DQ.js +72 -0
- package/dist/chunks/ui-commands-NT7NF7V2.js +265 -0
- package/dist/chunks/use-4TVNRURF.js +45 -0
- package/dist/chunks/versions-EJYRIX55.js +307 -0
- package/dist/chunks/video-7QNTHUII.js +75 -0
- package/dist/chunks/web-YL36NJZZ.js +170 -0
- package/dist/index.js +59 -59
- package/dist/lib/document/instances.js +3 -3
- package/dist/lib/document/libraries.js +5 -5
- package/dist/lib/document/photo-frames.js +5 -5
- package/dist/lib/document/print-pages.js +4 -4
- package/dist/lib/document/scene-graph.js +4 -4
- package/dist/lib/editor/prototype-connect.js +5 -5
- package/dist/lib/engine/text/fallback-fonts.js +4 -4
- package/dist/lib/engine/text/measure.js +5 -5
- package/dist/lib/marketplace/motion.js +9 -9
- package/dist/lib/motion/audio-clips.js +5 -5
- package/dist/lib/motion/author.js +10 -10
- package/dist/lib/motion/key-selection.js +6 -6
- package/dist/lib/motion/pose.js +11 -11
- package/dist/lib/motion/present.js +17 -17
- package/dist/lib/motion/presets.js +11 -11
- package/dist/lib/motion/properties.js +2 -2
- package/dist/lib/motion/shader-audio.js +4 -4
- package/dist/lib/motion/spatial.js +6 -6
- package/dist/lib/motion/text-animators.js +6 -6
- package/dist/lib/slides/slides.js +5 -5
- package/dist/lib/templates/apply.js +6 -6
- package/dist/lib/templates/capabilities.js +10 -10
- package/dist/lib/templates/capture.js +7 -7
- package/dist/lib/templates/finish.js +20 -20
- package/dist/lib/templates/layout.js +11 -11
- package/dist/lib/templates/resize.js +6 -6
- package/dist/lib/templates/text-measurer.js +6 -6
- package/dist/lib/templates/upload.js +2 -2
- package/dist/lib/templates/vocabulary.js +2 -2
- package/dist/migrations/board-meta.js +8 -8
- package/dist/migrations/brand-media.js +26 -26
- package/dist/migrations/brand-slots.js +5 -5
- package/dist/migrations/categories.js +2 -2
- package/dist/migrations/hug-content.js +12 -12
- package/dist/migrations/index.js +54 -54
- package/dist/migrations/min-type.js +14 -14
- package/dist/migrations/text-on-dark.js +7 -7
- package/dist/migrations/timeline-facets.js +23 -23
- package/dist/migrations/violet-ink.js +7 -7
- package/dist/seed/files.json +1 -1
- package/dist/templates/anime/character.js +39 -39
- package/dist/templates/anime/duel.js +42 -42
- package/dist/templates/anime/morning.js +42 -42
- package/dist/templates/anime/rain.js +42 -42
- package/dist/templates/anime/shared.js +40 -40
- package/dist/templates/anime/starlight.js +42 -42
- package/dist/templates/anime/titan.js +42 -42
- package/dist/templates/app/festival-presale-electronic-ticket.js +44 -44
- package/dist/templates/app/festival-presale-family-ticket.js +44 -44
- package/dist/templates/app/festival-presale-folk-ticket.js +44 -44
- package/dist/templates/app/festival-presale-food-ticket.js +44 -44
- package/dist/templates/app/festival-presale-jazz-ticket.js +44 -44
- package/dist/templates/app/festival-presale-street-ticket.js +45 -45
- package/dist/templates/app/music/build.js +27 -27
- package/dist/templates/app/music/world.js +11 -11
- package/dist/templates/app/music-grove.js +40 -40
- package/dist/templates/app/music-nightline.js +40 -40
- package/dist/templates/app/music-orbit.js +40 -40
- package/dist/templates/app/music-undertow.js +40 -40
- package/dist/templates/app/onboarding-carousel.js +38 -38
- package/dist/templates/app/saas-store-paywall.js +38 -38
- package/dist/templates/app/splash.js +38 -38
- package/dist/templates/app/success-confetti.js +38 -38
- package/dist/templates/app/tour-tickets-june-ticket.js +38 -38
- package/dist/templates/app/tour-tickets-tide-ticket.js +38 -38
- package/dist/templates/app/tour-tickets-wreck-ticket.js +38 -38
- package/dist/templates/build.js +22 -22
- package/dist/templates/cards/index.js +40 -40
- package/dist/templates/cards/shared.js +38 -38
- package/dist/templates/cards/themes.js +39 -39
- package/dist/templates/count.js +14 -14
- package/dist/templates/data/bars.js +38 -38
- package/dist/templates/data/countdown-story.js +38 -38
- package/dist/templates/data/counters.js +38 -38
- package/dist/templates/data/donut.js +38 -38
- package/dist/templates/data/line.js +38 -38
- package/dist/templates/data/year-in-review.js +38 -38
- package/dist/templates/effects/glass-intro.js +38 -38
- package/dist/templates/effects/glass-promo.js +38 -38
- package/dist/templates/effects/grain-story.js +38 -38
- package/dist/templates/effects/grid-intro.js +38 -38
- package/dist/templates/effects/halftone-story.js +38 -38
- package/dist/templates/effects/mesh-story.js +38 -38
- package/dist/templates/effects/shader-title.js +38 -38
- package/dist/templates/email/april-fools-header.js +40 -40
- package/dist/templates/email/art-deco-invitation.js +40 -40
- package/dist/templates/email/autumn-harvest-header.js +40 -40
- package/dist/templates/email/back-to-school-header.js +40 -40
- package/dist/templates/email/black-friday-coupons-header.js +40 -40
- package/dist/templates/email/black-friday-header.js +39 -39
- package/dist/templates/email/black-friday-neon-header.js +42 -42
- package/dist/templates/email/black-friday-scratch-header.js +40 -40
- package/dist/templates/email/black-friday-ticker-header.js +40 -40
- package/dist/templates/email/broadsheet-weekly-edition-header.js +39 -39
- package/dist/templates/email/claymation-header.js +41 -41
- package/dist/templates/email/countdown-gif.js +39 -39
- package/dist/templates/email/cyberpunk-header.js +42 -42
- package/dist/templates/email/diwali-header.js +41 -41
- package/dist/templates/email/earth-day-header.js +41 -41
- package/dist/templates/email/festival-presale-electronic-header.js +44 -44
- package/dist/templates/email/festival-presale-family-header.js +44 -44
- package/dist/templates/email/festival-presale-folk-header.js +44 -44
- package/dist/templates/email/festival-presale-food-header.js +44 -44
- package/dist/templates/email/festival-presale-jazz-header.js +44 -44
- package/dist/templates/email/festival-presale-street-header.js +45 -45
- package/dist/templates/email/gothic-header.js +39 -39
- package/dist/templates/email/halloween-header.js +41 -41
- package/dist/templates/email/header-launch.js +39 -39
- package/dist/templates/email/header-newsletter.js +39 -39
- package/dist/templates/email/header-sale.js +39 -39
- package/dist/templates/email/lunar-new-year-header.js +41 -41
- package/dist/templates/email/manuscript-chronicle-header.js +40 -40
- package/dist/templates/email/new-year-header.js +41 -41
- package/dist/templates/email/noir-header.js +42 -42
- package/dist/templates/email/psychedelic-header.js +41 -41
- package/dist/templates/email/riso-zine-changelog-header.js +42 -42
- package/dist/templates/email/saas-mail-changelog.js +41 -41
- package/dist/templates/email/saas-mail-day-one.js +41 -41
- package/dist/templates/email/saas-mail-day-three.js +40 -40
- package/dist/templates/email/saas-mail-launch.js +40 -40
- package/dist/templates/email/saas-mail-payment-failed.js +40 -40
- package/dist/templates/email/saas-mail-sign-in-code.js +40 -40
- package/dist/templates/email/saas-mail-trial-ending.js +40 -40
- package/dist/templates/email/saas-mail-waitlist.js +40 -40
- package/dist/templates/email/shared.js +26 -26
- package/dist/templates/email/singles-day-header.js +41 -41
- package/dist/templates/email/solarpunk-header.js +41 -41
- package/dist/templates/email/space-opera-header.js +41 -41
- package/dist/templates/email/spring-bloom-header.js +41 -41
- package/dist/templates/email/style-bento-header.js +40 -40
- package/dist/templates/email/style-brutalist-header.js +40 -40
- package/dist/templates/email/style-dark-header.js +40 -40
- package/dist/templates/email/style-data-header.js +40 -40
- package/dist/templates/email/style-editorial-header.js +40 -40
- package/dist/templates/email/style-glass-header.js +41 -41
- package/dist/templates/email/style-gradient-header.js +40 -40
- package/dist/templates/email/style-maximal-header.js +40 -40
- package/dist/templates/email/style-pastel-header.js +41 -41
- package/dist/templates/email/style-sketch-header.js +41 -41
- package/dist/templates/email/style-swiss-header.js +40 -40
- package/dist/templates/email/style-terminal-header.js +42 -42
- package/dist/templates/email/summer-heatwave-header.js +41 -41
- package/dist/templates/email/tour-tickets-june-header.js +39 -39
- package/dist/templates/email/tour-tickets-tide-header.js +39 -39
- package/dist/templates/email/tour-tickets-wreck-header.js +39 -39
- package/dist/templates/email/transit-map-service-update.js +41 -41
- package/dist/templates/email/ukiyo-e-greeting-header.js +41 -41
- package/dist/templates/email/valentines-header.js +41 -41
- package/dist/templates/email/winter-cosy-header.js +42 -42
- package/dist/templates/email/winter-holidays-header.js +42 -42
- package/dist/templates/fonts.js +6 -6
- package/dist/templates/game/blossom-bash-puzzle.js +39 -39
- package/dist/templates/game/deckbound-roguelike.js +39 -39
- package/dist/templates/game/emberfall-rpg.js +39 -39
- package/dist/templates/game/hearthmoor-farm.js +39 -39
- package/dist/templates/game/index.js +52 -52
- package/dist/templates/game/iron-lotus-fighter.js +39 -39
- package/dist/templates/game/ironroot-rts.js +39 -39
- package/dist/templates/game/mossy-hollow-platformer.js +41 -41
- package/dist/templates/game/neon-apex-racing.js +39 -39
- package/dist/templates/game/platformer.js +40 -40
- package/dist/templates/game/pulse-riot-rhythm.js +39 -39
- package/dist/templates/game/shared.js +26 -26
- package/dist/templates/game/sprout-quest-pixel-platformer.js +41 -41
- package/dist/templates/game/vanta-fps.js +39 -39
- package/dist/templates/index.js +905 -895
- package/dist/templates/index.json +307 -0
- package/dist/templates/kinetic/letters.js +38 -38
- package/dist/templates/kinetic/lines.js +38 -38
- package/dist/templates/kinetic/typewriter.js +38 -38
- package/dist/templates/kinetic/word-swap.js +38 -38
- package/dist/templates/kinetic/words.js +38 -38
- package/dist/templates/kit.js +25 -25
- package/dist/templates/libraries/audio-reactive.js +40 -40
- package/dist/templates/libraries/loaders.js +38 -38
- package/dist/templates/libraries/micro-interactions.js +38 -38
- package/dist/templates/libraries/motion-essentials.js +38 -38
- package/dist/templates/libraries/toasts.js +38 -38
- package/dist/templates/lottie/ai.js +39 -39
- package/dist/templates/lottie/climate.js +39 -39
- package/dist/templates/lottie/commerce.js +39 -39
- package/dist/templates/lottie/education.js +39 -39
- package/dist/templates/lottie/fintech.js +39 -39
- package/dist/templates/lottie/food.js +39 -39
- package/dist/templates/lottie/health.js +39 -39
- package/dist/templates/lottie/index.js +63 -63
- package/dist/templates/lottie/lottie-kit.js +38 -38
- package/dist/templates/lottie/realestate.js +39 -39
- package/dist/templates/lottie/saas-ui-checklist.js +40 -40
- package/dist/templates/lottie/saas-ui-dashboard-hero.js +40 -40
- package/dist/templates/lottie/saas-ui-empty-data.js +40 -40
- package/dist/templates/lottie/saas-ui-empty-search.js +40 -40
- package/dist/templates/lottie/saas-ui-error-retry.js +40 -40
- package/dist/templates/lottie/saas-ui-file-upload.js +40 -40
- package/dist/templates/lottie/saas-ui-streaming-answer.js +40 -40
- package/dist/templates/lottie/saas-ui-sync-connected.js +40 -40
- package/dist/templates/lottie/saas-ui-trial-timeline.js +40 -40
- package/dist/templates/lottie/saas-ui-upgrade-unlocked.js +40 -40
- package/dist/templates/lottie/saas-ui.js +50 -50
- package/dist/templates/lottie/saas.js +39 -39
- package/dist/templates/lottie/security.js +39 -39
- package/dist/templates/lottie/techniques.js +39 -39
- package/dist/templates/lottie/travel.js +39 -39
- package/dist/templates/motion/ambient-loop.js +38 -38
- package/dist/templates/motion/app-icon-sting.js +38 -38
- package/dist/templates/motion/april-fools-infomercial-reel.js +40 -40
- package/dist/templates/motion/arcade-high-score.js +41 -41
- package/dist/templates/motion/art-deco-grand-opening.js +39 -39
- package/dist/templates/motion/autumn-harvest-year-reel.js +39 -39
- package/dist/templates/motion/back-to-school-timetable-reel.js +39 -39
- package/dist/templates/motion/bauhaus-launch-reel.js +39 -39
- package/dist/templates/motion/black-friday-coupons-deal-reel.js +40 -40
- package/dist/templates/motion/black-friday-coupons-last-day.js +40 -40
- package/dist/templates/motion/black-friday-deal-drop.js +38 -38
- package/dist/templates/motion/black-friday-neon-deal-reel.js +41 -41
- package/dist/templates/motion/black-friday-neon-last-day.js +41 -41
- package/dist/templates/motion/black-friday-scratch-countdown.js +39 -39
- package/dist/templates/motion/black-friday-scratch-deal-reel.js +39 -39
- package/dist/templates/motion/black-friday-scratch-last-day.js +39 -39
- package/dist/templates/motion/black-friday-ticker-deal-drop.js +39 -39
- package/dist/templates/motion/black-friday-ticker-last-call.js +40 -40
- package/dist/templates/motion/blueprint-rev-b-reel.js +40 -40
- package/dist/templates/motion/broadsheet-launch-reel.js +38 -38
- package/dist/templates/motion/broadsheet-milestone-post.js +39 -39
- package/dist/templates/motion/claymation-launch-reel.js +40 -40
- package/dist/templates/motion/comic-book-issue-reel.js +41 -41
- package/dist/templates/motion/countdown.js +38 -38
- package/dist/templates/motion/cyberpunk-lock-on-reel.js +41 -41
- package/dist/templates/motion/departure-board-reel.js +39 -39
- package/dist/templates/motion/diwali-lamps-reel.js +40 -40
- package/dist/templates/motion/earth-day-footprint-reel.js +40 -40
- package/dist/templates/motion/earth-day-pledge-post.js +40 -40
- package/dist/templates/motion/festival-presale-electronic-countdown.js +44 -44
- package/dist/templates/motion/festival-presale-electronic-lineup.js +44 -44
- package/dist/templates/motion/festival-presale-electronic-reel.js +44 -44
- package/dist/templates/motion/festival-presale-electronic-tier.js +44 -44
- package/dist/templates/motion/festival-presale-family-countdown.js +44 -44
- package/dist/templates/motion/festival-presale-family-lineup.js +44 -44
- package/dist/templates/motion/festival-presale-family-reel.js +44 -44
- package/dist/templates/motion/festival-presale-family-tier.js +44 -44
- package/dist/templates/motion/festival-presale-folk-countdown.js +44 -44
- package/dist/templates/motion/festival-presale-folk-lineup.js +44 -44
- package/dist/templates/motion/festival-presale-folk-reel.js +44 -44
- package/dist/templates/motion/festival-presale-folk-tier.js +44 -44
- package/dist/templates/motion/festival-presale-food-countdown.js +44 -44
- package/dist/templates/motion/festival-presale-food-lineup.js +44 -44
- package/dist/templates/motion/festival-presale-food-reel.js +44 -44
- package/dist/templates/motion/festival-presale-food-tier.js +44 -44
- package/dist/templates/motion/festival-presale-jazz-countdown.js +44 -44
- package/dist/templates/motion/festival-presale-jazz-lineup.js +44 -44
- package/dist/templates/motion/festival-presale-jazz-reel.js +44 -44
- package/dist/templates/motion/festival-presale-jazz-tier.js +44 -44
- package/dist/templates/motion/festival-presale-street-countdown.js +45 -45
- package/dist/templates/motion/festival-presale-street-lineup.js +45 -45
- package/dist/templates/motion/festival-presale-street-reel.js +45 -45
- package/dist/templates/motion/festival-presale-street-tier.js +45 -45
- package/dist/templates/motion/gothic-launch-reel.js +38 -38
- package/dist/templates/motion/halloween-graveyard-reel.js +40 -40
- package/dist/templates/motion/instagram-promo.js +38 -38
- package/dist/templates/motion/kinetic-headline.js +38 -38
- package/dist/templates/motion/landing-hero/index.js +42 -42
- package/dist/templates/motion/launch-trailer/document.js +905 -895
- package/dist/templates/motion/launch-trailer/index.js +42 -42
- package/dist/templates/motion/launch-trailer/scenes.js +41 -41
- package/dist/templates/motion/logo-reveal.js +38 -38
- package/dist/templates/motion/lower-third.js +38 -38
- package/dist/templates/motion/lunar-new-year-envelope-reel.js +40 -40
- package/dist/templates/motion/machined-trailer.js +40 -40
- package/dist/templates/motion/manuscript-launch-reel.js +39 -39
- package/dist/templates/motion/new-year-ball-drop-reel.js +40 -40
- package/dist/templates/motion/noir-case-reel.js +41 -41
- package/dist/templates/motion/pitch-title.js +38 -38
- package/dist/templates/motion/psychedelic-gig-reel.js +40 -40
- package/dist/templates/motion/riso-zine-launch-reel.js +41 -41
- package/dist/templates/motion/saas-ai-prompt.js +39 -39
- package/dist/templates/motion/saas-before-after.js +39 -39
- package/dist/templates/motion/saas-changelog-drop.js +39 -39
- package/dist/templates/motion/saas-film-webinar-opener.js +39 -39
- package/dist/templates/motion/saas-hook-features.js +39 -39
- package/dist/templates/motion/saas-mrr-milestone.js +39 -39
- package/dist/templates/motion/saas-screen-demo.js +40 -40
- package/dist/templates/motion/saas-store-install-ad.js +39 -39
- package/dist/templates/motion/saas-testimonial.js +39 -39
- package/dist/templates/motion/saas-vs-comparison.js +39 -39
- package/dist/templates/motion/singles-day-flash-post.js +40 -40
- package/dist/templates/motion/singles-day-live-reel.js +40 -40
- package/dist/templates/motion/smooth-loop.js +38 -38
- package/dist/templates/motion/solarpunk-rooftop-reel.js +40 -40
- package/dist/templates/motion/space-opera-countdown-reel.js +40 -40
- package/dist/templates/motion/spring-bloom-first-hundred-post.js +40 -40
- package/dist/templates/motion/spring-bloom-first-shoots-reel.js +40 -40
- package/dist/templates/motion/stat-pop.js +38 -38
- package/dist/templates/motion/style-bento-feature-demo.js +41 -41
- package/dist/templates/motion/style-bento-launch-reel.js +40 -40
- package/dist/templates/motion/style-brutalist-feature-demo.js +42 -42
- package/dist/templates/motion/style-brutalist-launch-reel.js +41 -41
- package/dist/templates/motion/style-dark-feature-demo.js +40 -40
- package/dist/templates/motion/style-dark-launch-reel.js +41 -41
- package/dist/templates/motion/style-data-feature-demo.js +41 -41
- package/dist/templates/motion/style-data-launch-reel.js +41 -41
- package/dist/templates/motion/style-editorial-feature-demo.js +41 -41
- package/dist/templates/motion/style-editorial-launch-reel.js +40 -40
- package/dist/templates/motion/style-glass-feature-demo.js +42 -42
- package/dist/templates/motion/style-glass-launch-reel.js +41 -41
- package/dist/templates/motion/style-gradient-feature-demo.js +41 -41
- package/dist/templates/motion/style-gradient-launch-reel.js +40 -40
- package/dist/templates/motion/style-maximal-feature-demo.js +41 -41
- package/dist/templates/motion/style-maximal-launch-reel.js +40 -40
- package/dist/templates/motion/style-pastel-feature-demo.js +42 -42
- package/dist/templates/motion/style-pastel-launch-reel.js +42 -42
- package/dist/templates/motion/style-sketch-feature-demo.js +42 -42
- package/dist/templates/motion/style-sketch-launch-reel.js +42 -42
- package/dist/templates/motion/style-swiss-feature-demo.js +42 -42
- package/dist/templates/motion/style-swiss-launch-reel.js +41 -41
- package/dist/templates/motion/style-terminal-feature-demo.js +43 -43
- package/dist/templates/motion/style-terminal-launch-reel.js +43 -43
- package/dist/templates/motion/summer-heatwave-lido-reel.js +40 -40
- package/dist/templates/motion/template-wall.js +40 -40
- package/dist/templates/motion/title-card-3d.js +38 -38
- package/dist/templates/motion/tour-tickets-june-city.js +38 -38
- package/dist/templates/motion/tour-tickets-june-dates.js +38 -38
- package/dist/templates/motion/tour-tickets-june-final.js +39 -39
- package/dist/templates/motion/tour-tickets-june-reel.js +38 -38
- package/dist/templates/motion/tour-tickets-tide-city.js +38 -38
- package/dist/templates/motion/tour-tickets-tide-dates.js +38 -38
- package/dist/templates/motion/tour-tickets-tide-final.js +39 -39
- package/dist/templates/motion/tour-tickets-tide-reel.js +38 -38
- package/dist/templates/motion/tour-tickets-wreck-city.js +38 -38
- package/dist/templates/motion/tour-tickets-wreck-dates.js +38 -38
- package/dist/templates/motion/tour-tickets-wreck-final.js +39 -39
- package/dist/templates/motion/tour-tickets-wreck-reel.js +38 -38
- package/dist/templates/motion/transit-map-line-opening.js +40 -40
- package/dist/templates/motion/transit-map-milestone-post.js +40 -40
- package/dist/templates/motion/ukiyo-e-launch-reel.js +40 -40
- package/dist/templates/motion/valentines-breakup-reel.js +40 -40
- package/dist/templates/motion/vaporwave-launch-reel.js +40 -40
- package/dist/templates/motion/winter-cosy-heads-down-post.js +41 -41
- package/dist/templates/motion/winter-cosy-hibernation-reel.js +41 -41
- package/dist/templates/motion/winter-holidays-advent-reel.js +41 -41
- package/dist/templates/motion-qa.js +33 -33
- package/dist/templates/motion3d/app-store-preview.js +39 -39
- package/dist/templates/motion3d/before-after-swing.js +39 -39
- package/dist/templates/motion3d/burger-reveal.js +39 -39
- package/dist/templates/motion3d/coverflow.js +39 -39
- package/dist/templates/motion3d/exploded-ui.js +39 -39
- package/dist/templates/motion3d/feature-flip.js +39 -39
- package/dist/templates/motion3d/kinetic-reveal.js +39 -39
- package/dist/templates/motion3d/laptop-reveal.js +39 -39
- package/dist/templates/motion3d/logo-extrude.js +39 -39
- package/dist/templates/motion3d/parallax-cascade.js +39 -39
- package/dist/templates/motion3d/phone-orbit.js +39 -39
- package/dist/templates/motion3d/pricing-fan.js +39 -39
- package/dist/templates/motion3d/product-turntable.js +39 -39
- package/dist/templates/motion3d/saas-film-cinematic-trailer.js +40 -40
- package/dist/templates/motion3d/screen-wall.js +39 -39
- package/dist/templates/motion3d/stage.js +26 -26
- package/dist/templates/motion3d/vertical-promo.js +39 -39
- package/dist/templates/music/edm-drop.js +41 -41
- package/dist/templates/music/festival-lineup.js +41 -41
- package/dist/templates/music/hiphop-lyrics.js +41 -41
- package/dist/templates/music/indie-poster.js +41 -41
- package/dist/templates/music/lofi-loop.js +41 -41
- package/dist/templates/music/parts.js +5 -5
- package/dist/templates/music/podcast-audiogram.js +41 -41
- package/dist/templates/music/shared.js +26 -26
- package/dist/templates/music/synthwave-tunnel.js +41 -41
- package/dist/templates/print/everyday-save-the-date.js +40 -40
- package/dist/templates/print/everyday-specials-board.js +40 -40
- package/dist/templates/print/holidays-christmas-church-newsletter.js +38 -38
- package/dist/templates/print/holidays-christmas-eve-invitation.js +38 -38
- package/dist/templates/print/holidays-christmas-gift-tags.js +38 -38
- package/dist/templates/print/holidays-diwali-party-invitation.js +38 -38
- package/dist/templates/print/holidays-easter-activity-sheet.js +38 -38
- package/dist/templates/print/holidays-easter-egg-hunt-flyer.js +38 -38
- package/dist/templates/print/holidays-eid-dinner-invitation.js +38 -38
- package/dist/templates/print/holidays-eid-gift-tags.js +38 -38
- package/dist/templates/print/holidays-halloween-party-invitation.js +38 -38
- package/dist/templates/print/holidays-halloween-treat-labels.js +38 -38
- package/dist/templates/print/holidays-halloween-trunk-or-treat-poster.js +38 -38
- package/dist/templates/print/holidays-hanukkah-activity-sheet.js +38 -38
- package/dist/templates/print/holidays-hanukkah-party-invitation.js +38 -38
- package/dist/templates/print/holidays-lunar-new-year-banquet-menu.js +38 -38
- package/dist/templates/print/holidays-new-years-eve-poster.js +38 -38
- package/dist/templates/print/holidays-thanksgiving-dinner-menu.js +38 -38
- package/dist/templates/print/holidays-thanksgiving-place-cards.js +38 -38
- package/dist/templates/print/holidays-valentines-dinner-menu.js +38 -38
- package/dist/templates/print/printshop-booklet-open-day.js +39 -39
- package/dist/templates/print/printshop-brochure-community.js +39 -39
- package/dist/templates/print/printshop-brochure-dental.js +39 -39
- package/dist/templates/print/printshop-brochure-gym.js +39 -39
- package/dist/templates/print/printshop-brochure-landscaping.js +39 -39
- package/dist/templates/print/printshop-brochure-travel.js +39 -39
- package/dist/templates/print/printshop-card-architect.js +39 -39
- package/dist/templates/print/printshop-card-barber.js +39 -39
- package/dist/templates/print/printshop-card-cafe.js +39 -39
- package/dist/templates/print/printshop-card-developer.js +39 -39
- package/dist/templates/print/printshop-card-florist.js +39 -39
- package/dist/templates/print/printshop-card-lawyer.js +39 -39
- package/dist/templates/print/printshop-card-photographer.js +39 -39
- package/dist/templates/print/printshop-card-plumber.js +39 -39
- package/dist/templates/print/printshop-card-realtor.js +39 -39
- package/dist/templates/print/printshop-card-yoga.js +39 -39
- package/dist/templates/print/printshop-flyer-charity-run.js +39 -39
- package/dist/templates/print/printshop-flyer-farmers-market.js +39 -39
- package/dist/templates/print/printshop-flyer-garage-sale.js +39 -39
- package/dist/templates/print/printshop-flyer-grand-opening.js +39 -39
- package/dist/templates/print/printshop-flyer-lost-pet.js +39 -39
- package/dist/templates/print/printshop-flyer-tutoring.js +39 -39
- package/dist/templates/print/printshop-flyer-yard-work.js +39 -39
- package/dist/templates/print/printshop-poster-live-music.js +39 -39
- package/dist/templates/print/studio-class-timetable-poster.js +38 -38
- package/dist/templates/print/studio-portfolio-booklet.js +38 -38
- package/dist/templates/saas/email-decks-shared.js +39 -39
- package/dist/templates/saas/email-decks.js +52 -52
- package/dist/templates/saas/index.js +240 -240
- package/dist/templates/saas/launch-kit.js +48 -48
- package/dist/templates/saas/launch-video.js +48 -48
- package/dist/templates/saas/lottie-shared.js +39 -39
- package/dist/templates/saas/stores-shared.js +26 -26
- package/dist/templates/saas/stores.js +49 -49
- package/dist/templates/saas/style-bento-shared.js +11 -11
- package/dist/templates/saas/style-bento.js +52 -52
- package/dist/templates/saas/style-brutalist-shared.js +11 -11
- package/dist/templates/saas/style-brutalist.js +53 -53
- package/dist/templates/saas/style-dark.js +52 -52
- package/dist/templates/saas/style-data-shared.js +11 -11
- package/dist/templates/saas/style-data.js +53 -53
- package/dist/templates/saas/style-editorial-shared.js +11 -11
- package/dist/templates/saas/style-editorial.js +53 -53
- package/dist/templates/saas/style-glass-shared.js +12 -12
- package/dist/templates/saas/style-glass.js +53 -53
- package/dist/templates/saas/style-gradient-shared.js +11 -11
- package/dist/templates/saas/style-gradient.js +53 -53
- package/dist/templates/saas/style-maximal-shared.js +11 -11
- package/dist/templates/saas/style-maximal.js +52 -52
- package/dist/templates/saas/style-pastel-shared.js +12 -12
- package/dist/templates/saas/style-pastel.js +53 -53
- package/dist/templates/saas/style-sketch-shared.js +11 -11
- package/dist/templates/saas/style-sketch.js +53 -53
- package/dist/templates/saas/style-swiss-shared.js +11 -11
- package/dist/templates/saas/style-swiss.js +53 -53
- package/dist/templates/saas/style-terminal-shared.js +13 -13
- package/dist/templates/saas/style-terminal.js +54 -54
- package/dist/templates/saas/video-shared.js +11 -11
- package/dist/templates/saas/video.js +48 -48
- package/dist/templates/saas/web-shared.js +16 -16
- package/dist/templates/saas/web.js +51 -51
- package/dist/templates/scenes/before-after.js +38 -38
- package/dist/templates/scenes/carousel-video.js +39 -39
- package/dist/templates/scenes/saas-film-app-preview.js +40 -40
- package/dist/templates/scenes/saas-film-bright-trailer.js +39 -39
- package/dist/templates/scenes/saas-film-product-hunt-launch.js +39 -39
- package/dist/templates/scenes/saas-film-youtube-demo-kit.js +40 -40
- package/dist/templates/scenes/shared.js +26 -26
- package/dist/templates/scenes/story-ad.js +42 -42
- package/dist/templates/scenes/story-bakery.js +39 -39
- package/dist/templates/scenes/story-fitness.js +39 -39
- package/dist/templates/scenes/story-hotel.js +39 -39
- package/dist/templates/scenes/transitions-pack.js +39 -39
- package/dist/templates/scenes/web-scroll.js +39 -39
- package/dist/templates/shared/motion.js +11 -11
- package/dist/templates/shared/overlays.js +12 -12
- package/dist/templates/shared/pointer.js +11 -11
- package/dist/templates/slides/agenda.js +39 -39
- package/dist/templates/slides/deck.js +38 -38
- package/dist/templates/slides/education.js +39 -39
- package/dist/templates/slides/launch.js +39 -39
- package/dist/templates/slides/layouts.js +39 -39
- package/dist/templates/slides/pitch.js +39 -39
- package/dist/templates/slides/report.js +39 -39
- package/dist/templates/slides/saas-mail-investor-update.js +40 -40
- package/dist/templates/slides/saas-mail-seed-pitch.js +40 -40
- package/dist/templates/slides/sales.js +39 -39
- package/dist/templates/slides/section-divider.js +39 -39
- package/dist/templates/slides/title-card.js +39 -39
- package/dist/templates/slides/training.js +39 -39
- package/dist/templates/slides/webinar.js +39 -39
- package/dist/templates/slideshow/adoption.js +102 -0
- package/dist/templates/slideshow/baby.js +41 -41
- package/dist/templates/slideshow/birthday.js +41 -41
- package/dist/templates/slideshow/graduation.js +102 -0
- package/dist/templates/slideshow/holiday.js +41 -41
- package/dist/templates/slideshow/home.js +41 -41
- package/dist/templates/slideshow/index.js +48 -48
- package/dist/templates/slideshow/lease.js +102 -0
- package/dist/templates/slideshow/memorial.js +41 -41
- package/dist/templates/slideshow/photos.js +1 -1
- package/dist/templates/slideshow/portfolio.js +102 -0
- package/dist/templates/slideshow/product.js +102 -0
- package/dist/templates/slideshow/recipe.js +102 -0
- package/dist/templates/slideshow/shared.js +40 -40
- package/dist/templates/slideshow/team.js +102 -0
- package/dist/templates/slideshow/travel.js +41 -41
- package/dist/templates/slideshow/wedding.js +41 -41
- package/dist/templates/slideshow/year.js +102 -0
- package/dist/templates/social/april-fools-link-preview.js +40 -40
- package/dist/templates/social/april-fools-price-slash-post.js +40 -40
- package/dist/templates/social/arcade-boss-fight.js +41 -41
- package/dist/templates/social/arcade-level-up.js +41 -41
- package/dist/templates/social/art-deco-link-preview.js +39 -39
- package/dist/templates/social/art-deco-premiere-post.js +39 -39
- package/dist/templates/social/autumn-harvest-link-preview.js +39 -39
- package/dist/templates/social/autumn-harvest-thanks-post.js +39 -39
- package/dist/templates/social/back-to-school-link-preview.js +39 -39
- package/dist/templates/social/back-to-school-report-card-post.js +39 -39
- package/dist/templates/social/bauhaus-drift-post.js +39 -39
- package/dist/templates/social/bauhaus-link-preview.js +39 -39
- package/dist/templates/social/bauhaus-pricing-post.js +39 -39
- package/dist/templates/social/black-friday-ads.js +38 -38
- package/dist/templates/social/black-friday-countdown.js +38 -38
- package/dist/templates/social/black-friday-coupons-ads.js +39 -39
- package/dist/templates/social/black-friday-coupons-countdown.js +40 -40
- package/dist/templates/social/black-friday-neon-ads.js +41 -41
- package/dist/templates/social/black-friday-neon-countdown.js +41 -41
- package/dist/templates/social/black-friday-scratch-ads.js +39 -39
- package/dist/templates/social/black-friday-ticker-ads.js +39 -39
- package/dist/templates/social/black-friday-ticker-countdown.js +39 -39
- package/dist/templates/social/blueprint-dimension-post.js +40 -40
- package/dist/templates/social/blueprint-link-preview.js +40 -40
- package/dist/templates/social/blueprint-parts-list-post.js +40 -40
- package/dist/templates/social/broadsheet-hiring-classifieds.js +38 -38
- package/dist/templates/social/broadsheet-link-preview.js +38 -38
- package/dist/templates/social/claymation-link-preview.js +40 -40
- package/dist/templates/social/claymation-streak-post.js +40 -40
- package/dist/templates/social/comic-book-cover-preview.js +41 -41
- package/dist/templates/social/comic-book-strip-post.js +41 -41
- package/dist/templates/social/cyberpunk-implant-post.js +41 -41
- package/dist/templates/social/cyberpunk-link-preview.js +41 -41
- package/dist/templates/social/departure-board-pass-ad.js +39 -39
- package/dist/templates/social/departure-board-store-set.js +39 -39
- package/dist/templates/social/departure-board-thanks-post.js +39 -39
- package/dist/templates/social/diwali-link-preview.js +40 -40
- package/dist/templates/social/diwali-thanks-post.js +40 -40
- package/dist/templates/social/earth-day-link-preview.js +40 -40
- package/dist/templates/social/everyday-save-the-date-post.js +40 -40
- package/dist/templates/social/festival-presale-electronic-ads.js +44 -44
- package/dist/templates/social/festival-presale-family-ads.js +44 -44
- package/dist/templates/social/festival-presale-folk-ads.js +44 -44
- package/dist/templates/social/festival-presale-food-ads.js +44 -44
- package/dist/templates/social/festival-presale-jazz-ads.js +44 -44
- package/dist/templates/social/festival-presale-street-ads.js +45 -45
- package/dist/templates/social/gothic-feature-post.js +38 -38
- package/dist/templates/social/gothic-link-preview.js +38 -38
- package/dist/templates/social/halloween-link-preview.js +40 -40
- package/dist/templates/social/halloween-offer-post.js +40 -40
- package/dist/templates/social/holidays-diwali-sweet-shop-post.js +38 -38
- package/dist/templates/social/holidays-lunar-new-year-bakery-post.js +38 -38
- package/dist/templates/social/holidays-new-years-eve-shop-hours.js +38 -38
- package/dist/templates/social/holidays-thanksgiving-pie-orders-post.js +38 -38
- package/dist/templates/social/holidays-valentines-florist-post.js +38 -38
- package/dist/templates/social/lunar-new-year-greeting-post.js +40 -40
- package/dist/templates/social/lunar-new-year-link-preview.js +40 -40
- package/dist/templates/social/machined-link-preview.js +40 -40
- package/dist/templates/social/machined-plate-post.js +40 -40
- package/dist/templates/social/manuscript-chapter-post.js +39 -39
- package/dist/templates/social/manuscript-link-preview.js +39 -39
- package/dist/templates/social/new-year-link-preview.js +40 -40
- package/dist/templates/social/new-year-resolutions-post.js +40 -40
- package/dist/templates/social/noir-case-file.js +41 -41
- package/dist/templates/social/noir-feature-post.js +41 -41
- package/dist/templates/social/post-announcement.js +38 -38
- package/dist/templates/social/post-event.js +38 -38
- package/dist/templates/social/post-podcast.js +38 -38
- package/dist/templates/social/post-quote.js +38 -38
- package/dist/templates/social/post-sale.js +38 -38
- package/dist/templates/social/post-stat.js +38 -38
- package/dist/templates/social/post-testimonial.js +38 -38
- package/dist/templates/social/promo-announcement.js +38 -38
- package/dist/templates/social/promo-beat-drop.js +38 -38
- package/dist/templates/social/promo-event.js +38 -38
- package/dist/templates/social/promo-new-product.js +38 -38
- package/dist/templates/social/promo-quote-reveal.js +38 -38
- package/dist/templates/social/promo-sale-drop.js +38 -38
- package/dist/templates/social/promo-tip-list.js +38 -38
- package/dist/templates/social/psychedelic-lineup-post.js +40 -40
- package/dist/templates/social/psychedelic-link-preview.js +40 -40
- package/dist/templates/social/riso-zine-link-preview.js +41 -41
- package/dist/templates/social/riso-zine-mrr-poster.js +41 -41
- package/dist/templates/social/saas-kit-carousel.js +38 -38
- package/dist/templates/social/saas-kit-countdown-post.js +38 -38
- package/dist/templates/social/saas-kit-feature-drop.js +39 -39
- package/dist/templates/social/saas-kit-link-preview.js +38 -38
- package/dist/templates/social/saas-kit-live-post.js +38 -38
- package/dist/templates/social/saas-kit-mrr-card.js +38 -38
- package/dist/templates/social/saas-kit-ph-gallery.js +38 -38
- package/dist/templates/social/saas-kit-ph-thumb.js +38 -38
- package/dist/templates/social/saas-kit-youtube-thumbs.js +38 -38
- package/dist/templates/social/saas-store-b2b-ads.js +39 -39
- package/dist/templates/social/saas-store-caption-set.js +39 -39
- package/dist/templates/social/saas-store-chrome-kit.js +39 -39
- package/dist/templates/social/saas-store-ipad-set.js +39 -39
- package/dist/templates/social/saas-store-panorama.js +40 -40
- package/dist/templates/social/saas-store-play-kit.js +38 -38
- package/dist/templates/social/saas-store-story.js +39 -39
- package/dist/templates/social/singles-day-link-preview.js +40 -40
- package/dist/templates/social/solarpunk-impact-post.js +40 -40
- package/dist/templates/social/solarpunk-link-preview.js +40 -40
- package/dist/templates/social/space-opera-link-preview.js +40 -40
- package/dist/templates/social/space-opera-mission-patch-post.js +40 -40
- package/dist/templates/social/spring-bloom-link-preview.js +40 -40
- package/dist/templates/social/studio-class-timetable.js +38 -38
- package/dist/templates/social/studio-podcast-cover.js +38 -38
- package/dist/templates/social/style-bento-announcement.js +39 -39
- package/dist/templates/social/style-bento-link-preview.js +39 -39
- package/dist/templates/social/style-bento-milestone.js +39 -39
- package/dist/templates/social/style-bento-testimonial.js +40 -40
- package/dist/templates/social/style-brutalist-announcement.js +39 -39
- package/dist/templates/social/style-brutalist-link-preview.js +39 -39
- package/dist/templates/social/style-brutalist-milestone.js +40 -40
- package/dist/templates/social/style-brutalist-testimonial.js +39 -39
- package/dist/templates/social/style-dark-announcement.js +39 -39
- package/dist/templates/social/style-dark-link-preview.js +38 -38
- package/dist/templates/social/style-dark-milestone.js +39 -39
- package/dist/templates/social/style-dark-testimonial.js +40 -40
- package/dist/templates/social/style-data-announcement.js +39 -39
- package/dist/templates/social/style-data-link-preview.js +39 -39
- package/dist/templates/social/style-data-milestone.js +40 -40
- package/dist/templates/social/style-data-testimonial.js +40 -40
- package/dist/templates/social/style-editorial-announcement.js +39 -39
- package/dist/templates/social/style-editorial-link-preview.js +39 -39
- package/dist/templates/social/style-editorial-milestone.js +39 -39
- package/dist/templates/social/style-editorial-testimonial.js +40 -40
- package/dist/templates/social/style-glass-announcement.js +40 -40
- package/dist/templates/social/style-glass-link-preview.js +40 -40
- package/dist/templates/social/style-glass-milestone.js +40 -40
- package/dist/templates/social/style-glass-testimonial.js +41 -41
- package/dist/templates/social/style-gradient-announcement.js +39 -39
- package/dist/templates/social/style-gradient-link-preview.js +39 -39
- package/dist/templates/social/style-gradient-milestone.js +40 -40
- package/dist/templates/social/style-gradient-testimonial.js +40 -40
- package/dist/templates/social/style-maximal-announcement.js +39 -39
- package/dist/templates/social/style-maximal-link-preview.js +39 -39
- package/dist/templates/social/style-maximal-milestone.js +39 -39
- package/dist/templates/social/style-maximal-testimonial.js +40 -40
- package/dist/templates/social/style-pastel-announcement.js +40 -40
- package/dist/templates/social/style-pastel-link-preview.js +40 -40
- package/dist/templates/social/style-pastel-milestone.js +40 -40
- package/dist/templates/social/style-pastel-testimonial.js +41 -41
- package/dist/templates/social/style-sketch-announcement.js +40 -40
- package/dist/templates/social/style-sketch-link-preview.js +39 -39
- package/dist/templates/social/style-sketch-milestone.js +39 -39
- package/dist/templates/social/style-sketch-testimonial.js +40 -40
- package/dist/templates/social/style-swiss-announcement.js +39 -39
- package/dist/templates/social/style-swiss-link-preview.js +39 -39
- package/dist/templates/social/style-swiss-milestone.js +39 -39
- package/dist/templates/social/style-swiss-testimonial.js +40 -40
- package/dist/templates/social/style-terminal-announcement.js +41 -41
- package/dist/templates/social/style-terminal-link-preview.js +41 -41
- package/dist/templates/social/style-terminal-milestone.js +41 -41
- package/dist/templates/social/style-terminal-testimonial.js +42 -42
- package/dist/templates/social/summer-heatwave-link-preview.js +40 -40
- package/dist/templates/social/summer-heatwave-lolly-post.js +40 -40
- package/dist/templates/social/tour-tickets-june-ads.js +38 -38
- package/dist/templates/social/tour-tickets-tide-ads.js +38 -38
- package/dist/templates/social/tour-tickets-wreck-ads.js +38 -38
- package/dist/templates/social/transit-map-link-preview.js +40 -40
- package/dist/templates/social/ukiyo-e-link-preview.js +40 -40
- package/dist/templates/social/ukiyo-e-spike-post.js +40 -40
- package/dist/templates/social/valentines-link-preview.js +40 -40
- package/dist/templates/social/valentines-poem-post.js +40 -40
- package/dist/templates/social/vaporwave-feature-drop.js +39 -39
- package/dist/templates/social/vaporwave-link-preview.js +39 -39
- package/dist/templates/social/winter-cosy-link-preview.js +41 -41
- package/dist/templates/social/winter-holidays-link-preview.js +41 -41
- package/dist/templates/social/winter-holidays-thanks-post.js +41 -41
- package/dist/templates/stings/line-reveal.js +38 -38
- package/dist/templates/stings/sting-blur.js +38 -38
- package/dist/templates/stings/sting-pop.js +38 -38
- package/dist/templates/stings/sting-rise.js +38 -38
- package/dist/templates/stings/sting-shimmer.js +38 -38
- package/dist/templates/stings/word-swap.js +38 -38
- package/dist/templates/text/stat-counter.js +38 -38
- package/dist/templates/text/word-quote.js +38 -38
- package/dist/templates/themes/april-fools-shared.js +27 -27
- package/dist/templates/themes/april-fools.js +45 -45
- package/dist/templates/themes/arcade-shared.js +13 -13
- package/dist/templates/themes/arcade.js +45 -45
- package/dist/templates/themes/art-deco-shared.js +11 -11
- package/dist/templates/themes/art-deco.js +45 -45
- package/dist/templates/themes/autumn-harvest-shared.js +11 -11
- package/dist/templates/themes/autumn-harvest.js +45 -45
- package/dist/templates/themes/back-to-school-shared.js +11 -11
- package/dist/templates/themes/back-to-school.js +45 -45
- package/dist/templates/themes/bauhaus-shared.js +11 -11
- package/dist/templates/themes/bauhaus.js +44 -44
- package/dist/templates/themes/black-friday-coupons-shared.js +11 -11
- package/dist/templates/themes/black-friday-coupons.js +47 -47
- package/dist/templates/themes/black-friday-neon-shared.js +12 -12
- package/dist/templates/themes/black-friday-neon.js +48 -48
- package/dist/templates/themes/black-friday-scratch-shared.js +11 -11
- package/dist/templates/themes/black-friday-scratch.js +46 -46
- package/dist/templates/themes/black-friday-ticker-shared.js +11 -11
- package/dist/templates/themes/black-friday-ticker.js +47 -47
- package/dist/templates/themes/black-friday.js +44 -44
- package/dist/templates/themes/blueprint-shared.js +12 -12
- package/dist/templates/themes/blueprint.js +45 -45
- package/dist/templates/themes/broadsheet.js +45 -45
- package/dist/templates/themes/claymation-shared.js +12 -12
- package/dist/templates/themes/claymation.js +46 -46
- package/dist/templates/themes/comic-book-shared.js +13 -13
- package/dist/templates/themes/comic-book.js +45 -45
- package/dist/templates/themes/comic-hero.js +14 -0
- package/dist/templates/themes/comic-indie.js +14 -0
- package/dist/templates/themes/cyberpunk-shared.js +13 -13
- package/dist/templates/themes/cyberpunk.js +47 -47
- package/dist/templates/themes/departure-board-shared.js +11 -11
- package/dist/templates/themes/departure-board.js +44 -44
- package/dist/templates/themes/diwali-shared.js +12 -12
- package/dist/templates/themes/diwali.js +46 -46
- package/dist/templates/themes/earth-day-shared.js +12 -12
- package/dist/templates/themes/earth-day.js +46 -46
- package/dist/templates/themes/everyday-shared.js +12 -12
- package/dist/templates/themes/everyday.js +48 -48
- package/dist/templates/themes/festival-presale-electronic-kit.js +43 -43
- package/dist/templates/themes/festival-presale-family-a-shared.js +42 -42
- package/dist/templates/themes/festival-presale-family-a.js +67 -67
- package/dist/templates/themes/festival-presale-family-b-shared.js +42 -42
- package/dist/templates/themes/festival-presale-family-b.js +68 -68
- package/dist/templates/themes/festival-presale-family-kit.js +43 -43
- package/dist/templates/themes/festival-presale-folk-kit.js +43 -43
- package/dist/templates/themes/festival-presale-food-kit.js +43 -43
- package/dist/templates/themes/festival-presale-jazz-kit.js +43 -43
- package/dist/templates/themes/festival-presale-shared.js +18 -18
- package/dist/templates/themes/festival-presale-street-kit.js +44 -44
- package/dist/templates/themes/festival-presale.js +48 -48
- package/dist/templates/themes/gothic.js +44 -44
- package/dist/templates/themes/halloween-shared.js +12 -12
- package/dist/templates/themes/halloween.js +46 -46
- package/dist/templates/themes/holidays.js +61 -61
- package/dist/templates/themes/index.js +480 -467
- package/dist/templates/themes/lunar-new-year-shared.js +12 -12
- package/dist/templates/themes/lunar-new-year.js +46 -46
- package/dist/templates/themes/machined-shared.js +27 -27
- package/dist/templates/themes/machined.js +44 -44
- package/dist/templates/themes/manuscript-shared.js +11 -11
- package/dist/templates/themes/manuscript.js +45 -45
- package/dist/templates/themes/memories.js +95 -1
- package/dist/templates/themes/new-year-shared.js +12 -12
- package/dist/templates/themes/new-year.js +46 -46
- package/dist/templates/themes/noir-shared.js +13 -13
- package/dist/templates/themes/noir.js +47 -47
- package/dist/templates/themes/printshop-shared.js +26 -26
- package/dist/templates/themes/printshop.js +63 -63
- package/dist/templates/themes/psychedelic-shared.js +12 -12
- package/dist/templates/themes/psychedelic.js +46 -46
- package/dist/templates/themes/riso-zine-shared.js +13 -13
- package/dist/templates/themes/riso-zine.js +47 -47
- package/dist/templates/themes/singles-day-shared.js +12 -12
- package/dist/templates/themes/singles-day.js +46 -46
- package/dist/templates/themes/solarpunk-shared.js +12 -12
- package/dist/templates/themes/solarpunk.js +46 -46
- package/dist/templates/themes/space-opera-shared.js +12 -12
- package/dist/templates/themes/space-opera.js +46 -46
- package/dist/templates/themes/spring-bloom-shared.js +12 -12
- package/dist/templates/themes/spring-bloom.js +46 -46
- package/dist/templates/themes/studio.js +43 -43
- package/dist/templates/themes/summer-heatwave-shared.js +12 -12
- package/dist/templates/themes/summer-heatwave.js +46 -46
- package/dist/templates/themes/tour-tickets-page-shared.js +17 -17
- package/dist/templates/themes/tour-tickets.js +66 -66
- package/dist/templates/themes/transit-map-shared.js +12 -12
- package/dist/templates/themes/transit-map.js +46 -46
- package/dist/templates/themes/ukiyo-e-shared.js +12 -12
- package/dist/templates/themes/ukiyo-e.js +46 -46
- package/dist/templates/themes/valentines-shared.js +12 -12
- package/dist/templates/themes/valentines.js +46 -46
- package/dist/templates/themes/vaporwave-shared.js +11 -11
- package/dist/templates/themes/vaporwave.js +44 -44
- package/dist/templates/themes/winter-cosy-shared.js +12 -12
- package/dist/templates/themes/winter-cosy.js +47 -47
- package/dist/templates/themes/winter-holidays-shared.js +12 -12
- package/dist/templates/themes/winter-holidays.js +47 -47
- package/dist/templates/video/youtube-chapter.js +38 -38
- package/dist/templates/video/youtube-end-screen.js +38 -38
- package/dist/templates/video/youtube-intro.js +38 -38
- package/dist/templates/video/youtube-subscribe.js +38 -38
- package/dist/templates/web/app-ui.js +27 -27
- package/dist/templates/web/april-fools-landing.js +40 -40
- package/dist/templates/web/arcade-landing.js +41 -41
- package/dist/templates/web/art-deco-landing.js +39 -39
- package/dist/templates/web/autumn-harvest-landing.js +39 -39
- package/dist/templates/web/back-to-school-landing.js +39 -39
- package/dist/templates/web/bauhaus-landing.js +39 -39
- package/dist/templates/web/black-friday-coupons-landing.js +40 -40
- package/dist/templates/web/black-friday-landing.js +38 -38
- package/dist/templates/web/black-friday-neon-landing.js +40 -40
- package/dist/templates/web/black-friday-scratch-landing.js +39 -39
- package/dist/templates/web/black-friday-ticker-landing.js +39 -39
- package/dist/templates/web/blog-post.js +38 -38
- package/dist/templates/web/blueprint-landing.js +40 -40
- package/dist/templates/web/broadsheet-landing.js +38 -38
- package/dist/templates/web/claymation-landing.js +40 -40
- package/dist/templates/web/comic-book-landing.js +41 -41
- package/dist/templates/web/coming-soon-page.js +39 -39
- package/dist/templates/web/coming-soon.js +38 -38
- package/dist/templates/web/contact.js +39 -39
- package/dist/templates/web/cyberpunk-landing.js +41 -41
- package/dist/templates/web/daybreak-app.js +40 -40
- package/dist/templates/web/departure-board-download.js +39 -39
- package/dist/templates/web/diwali-landing.js +40 -40
- package/dist/templates/web/earth-day-landing.js +40 -40
- package/dist/templates/web/everyday-cafe.js +41 -41
- package/dist/templates/web/everyday-hotel.js +41 -41
- package/dist/templates/web/everyday-wedding.js +42 -42
- package/dist/templates/web/festival-presale-electronic.js +41 -41
- package/dist/templates/web/festival-presale-family.js +41 -41
- package/dist/templates/web/festival-presale-folk.js +41 -41
- package/dist/templates/web/festival-presale-food.js +41 -41
- package/dist/templates/web/festival-presale-jazz.js +41 -41
- package/dist/templates/web/festival-presale-street.js +42 -42
- package/dist/templates/web/forms.js +26 -26
- package/dist/templates/web/gothic-landing.js +38 -38
- package/dist/templates/web/halloween-landing.js +40 -40
- package/dist/templates/web/hero-animated.js +38 -38
- package/dist/templates/web/kindling-app.js +40 -40
- package/dist/templates/web/launch-waitlist.js +39 -39
- package/dist/templates/web/lunar-new-year-landing.js +40 -40
- package/dist/templates/web/machined-hero.js +40 -40
- package/dist/templates/web/manuscript-landing.js +39 -39
- package/dist/templates/web/marginalia-app.js +40 -40
- package/dist/templates/web/new-year-landing.js +40 -40
- package/dist/templates/web/noir-landing.js +41 -41
- package/dist/templates/web/page-404.js +38 -38
- package/dist/templates/web/portfolio-architect.js +39 -39
- package/dist/templates/web/portfolio-card-deck.js +39 -39
- package/dist/templates/web/portfolio-case-folio.js +39 -39
- package/dist/templates/web/portfolio-cube-gallery.js +39 -39
- package/dist/templates/web/portfolio-depth-tunnel.js +39 -39
- package/dist/templates/web/portfolio-editorial.js +39 -39
- package/dist/templates/web/portfolio-flip-wall.js +39 -39
- package/dist/templates/web/portfolio-index-list.js +39 -39
- package/dist/templates/web/portfolio-photographer.js +39 -39
- package/dist/templates/web/portfolio-reel-carousel.js +39 -39
- package/dist/templates/web/portfolio-shared.js +26 -26
- package/dist/templates/web/portfolio-sketchbook.js +39 -39
- package/dist/templates/web/portfolio-studio-grid.js +39 -39
- package/dist/templates/web/portfolio.js +38 -38
- package/dist/templates/web/portfolios.js +51 -51
- package/dist/templates/web/potluck-app.js +40 -40
- package/dist/templates/web/pricing-toggle.js +38 -38
- package/dist/templates/web/product-page.js +38 -38
- package/dist/templates/web/psychedelic-landing.js +40 -40
- package/dist/templates/web/riso-zine-landing.js +41 -41
- package/dist/templates/web/rsvp-invite.js +39 -39
- package/dist/templates/web/saas-ai-landing.js +39 -39
- package/dist/templates/web/saas-app-download.js +39 -39
- package/dist/templates/web/saas-case-study.js +39 -39
- package/dist/templates/web/saas-changelog.js +39 -39
- package/dist/templates/web/saas-comparison.js +39 -39
- package/dist/templates/web/saas-data-landing.js +39 -39
- package/dist/templates/web/saas-dev-landing.js +39 -39
- package/dist/templates/web/saas-indie-landing.js +39 -39
- package/dist/templates/web/saas-integrations.js +39 -39
- package/dist/templates/web/saas-security.js +39 -39
- package/dist/templates/web/saas-signup.js +39 -39
- package/dist/templates/web/saas-waitlist.js +39 -39
- package/dist/templates/web/saffron-app.js +40 -40
- package/dist/templates/web/shop-bloom.js +41 -41
- package/dist/templates/web/shop-circuit.js +41 -41
- package/dist/templates/web/shop-fieldwork.js +41 -41
- package/dist/templates/web/shop-greenhouse.js +41 -41
- package/dist/templates/web/shop-kiln.js +41 -41
- package/dist/templates/web/shop-marginalia.js +41 -41
- package/dist/templates/web/shop-ode.js +41 -41
- package/dist/templates/web/shop-shared.js +28 -28
- package/dist/templates/web/shop-static.js +41 -41
- package/dist/templates/web/shop-summit.js +41 -41
- package/dist/templates/web/shops.js +50 -50
- package/dist/templates/web/singles-day-landing.js +40 -40
- package/dist/templates/web/solarpunk-landing.js +40 -40
- package/dist/templates/web/space-opera-landing.js +40 -40
- package/dist/templates/web/spring-bloom-landing.js +40 -40
- package/dist/templates/web/studio-careers.js +38 -38
- package/dist/templates/web/style-bento-landing.js +41 -41
- package/dist/templates/web/style-bento-pricing.js +40 -40
- package/dist/templates/web/style-brutalist-landing.js +40 -40
- package/dist/templates/web/style-brutalist-pricing.js +40 -40
- package/dist/templates/web/style-dark-landing.js +41 -41
- package/dist/templates/web/style-dark-pricing.js +40 -40
- package/dist/templates/web/style-data-landing.js +42 -42
- package/dist/templates/web/style-data-pricing.js +40 -40
- package/dist/templates/web/style-editorial-landing.js +40 -40
- package/dist/templates/web/style-editorial-pricing.js +41 -41
- package/dist/templates/web/style-glass-landing.js +42 -42
- package/dist/templates/web/style-glass-pricing.js +41 -41
- package/dist/templates/web/style-gradient-landing.js +42 -42
- package/dist/templates/web/style-gradient-pricing.js +40 -40
- package/dist/templates/web/style-maximal-landing.js +41 -41
- package/dist/templates/web/style-maximal-pricing.js +40 -40
- package/dist/templates/web/style-pastel-landing.js +42 -42
- package/dist/templates/web/style-pastel-pricing.js +41 -41
- package/dist/templates/web/style-sketch-landing.js +42 -42
- package/dist/templates/web/style-sketch-pricing.js +40 -40
- package/dist/templates/web/style-swiss-landing.js +42 -42
- package/dist/templates/web/style-swiss-pricing.js +40 -40
- package/dist/templates/web/style-terminal-landing.js +43 -43
- package/dist/templates/web/style-terminal-pricing.js +42 -42
- package/dist/templates/web/summer-heatwave-landing.js +40 -40
- package/dist/templates/web/tempo-app.js +40 -40
- package/dist/templates/web/tour-tickets-june-landing.js +40 -40
- package/dist/templates/web/tour-tickets-tide-landing.js +40 -40
- package/dist/templates/web/tour-tickets-wreck-landing.js +40 -40
- package/dist/templates/web/transit-map-landing.js +40 -40
- package/dist/templates/web/ukiyo-e-landing.js +40 -40
- package/dist/templates/web/valentines-landing.js +40 -40
- package/dist/templates/web/vaporwave-landing.js +39 -39
- package/dist/templates/web/wayfarer-app.js +40 -40
- package/dist/templates/web/winter-cosy-landing.js +41 -41
- package/dist/templates/web/winter-holidays-landing.js +41 -41
- package/package.json +1 -1
- package/src/templates/slideshow/adoption.ts +33 -0
- package/src/templates/slideshow/graduation.ts +30 -0
- package/src/templates/slideshow/lease.ts +34 -0
- package/src/templates/slideshow/photos.ts +50 -0
- package/src/templates/slideshow/portfolio.ts +31 -0
- package/src/templates/slideshow/product.ts +32 -0
- package/src/templates/slideshow/recipe.ts +32 -0
- package/src/templates/slideshow/shared.ts +8 -1
- package/src/templates/slideshow/team.ts +35 -0
- package/src/templates/slideshow/year.ts +36 -0
- package/src/templates/themes/comic-hero.ts +5 -0
- package/src/templates/themes/comic-indie.ts +5 -0
- package/src/templates/themes/index.ts +4 -0
- package/src/templates/themes/memories.ts +9 -1
- package/types/templates/src/slideshow/adoption.d.ts +4 -0
- package/types/templates/src/slideshow/graduation.d.ts +4 -0
- package/types/templates/src/slideshow/lease.d.ts +4 -0
- package/types/templates/src/slideshow/photos.d.ts +350 -0
- package/types/templates/src/slideshow/portfolio.d.ts +4 -0
- package/types/templates/src/slideshow/product.d.ts +4 -0
- package/types/templates/src/slideshow/recipe.d.ts +4 -0
- package/types/templates/src/slideshow/shared.d.ts +2 -0
- package/types/templates/src/slideshow/team.d.ts +4 -0
- package/types/templates/src/slideshow/year.d.ts +4 -0
- package/types/templates/src/themes/comic-hero.d.ts +3 -0
- package/types/templates/src/themes/comic-indie.d.ts +3 -0
- package/dist/chunks/agent-FXAQKU67.js +0 -44
- package/dist/chunks/api-4L2MWQD6.js +0 -29
- package/dist/chunks/apply-SUBGDFJR.js +0 -46
- package/dist/chunks/audio-decode-ZMRZXQVD.js +0 -54
- package/dist/chunks/audio-import-565M6T3Y.js +0 -126
- package/dist/chunks/audio-plan-VZWXU3LZ.js +0 -46
- package/dist/chunks/board-export-CVKVWAZN.js +0 -180
- package/dist/chunks/browser-2TRJFGKI.js +0 -179
- package/dist/chunks/build-4MSJUNGW.js +0 -55
- package/dist/chunks/builtin-RDXZ3VKJ.js +0 -114
- package/dist/chunks/check-TOUPHHMH.js +0 -56
- package/dist/chunks/check-template-SDNZ7FRK.js +0 -2272
- package/dist/chunks/chunk-22GTRC7O.js +0 -28
- package/dist/chunks/chunk-22OGBPCZ.js +0 -360
- package/dist/chunks/chunk-23VWJAHF.js +0 -36
- package/dist/chunks/chunk-26XYYBAW.js +0 -220
- package/dist/chunks/chunk-2BALGH5K.js +0 -422
- package/dist/chunks/chunk-2BI45Z6G.js +0 -202
- package/dist/chunks/chunk-2BRUCU5U.js +0 -98
- package/dist/chunks/chunk-2BUIEJDY.js +0 -260
- package/dist/chunks/chunk-2C3L5LVY.js +0 -248
- package/dist/chunks/chunk-2DIUPOKV.js +0 -83
- package/dist/chunks/chunk-2DYZWFLX.js +0 -191
- package/dist/chunks/chunk-2EYOEOXD.js +0 -368
- package/dist/chunks/chunk-2FHRHPFL.js +0 -187
- package/dist/chunks/chunk-2GKJJQ73.js +0 -877
- package/dist/chunks/chunk-2GMTUCUJ.js +0 -184
- package/dist/chunks/chunk-2GVF7IGE.js +0 -118
- package/dist/chunks/chunk-2IUO36W6.js +0 -258
- package/dist/chunks/chunk-2K2L4XDB.js +0 -94
- package/dist/chunks/chunk-2K3ISVYQ.js +0 -46
- package/dist/chunks/chunk-2M7AO4LW.js +0 -229
- package/dist/chunks/chunk-2M7TWDRX.js +0 -95
- package/dist/chunks/chunk-2NZRISRD.js +0 -121
- package/dist/chunks/chunk-2OBB7PRF.js +0 -97
- package/dist/chunks/chunk-2OHBHE3L.js +0 -208
- package/dist/chunks/chunk-2OMDWYKY.js +0 -127
- package/dist/chunks/chunk-2OU7FO3L.js +0 -200
- package/dist/chunks/chunk-2SL4ZSV3.js +0 -204
- package/dist/chunks/chunk-2SUC2WRD.js +0 -362
- package/dist/chunks/chunk-2TJQJ45J.js +0 -33
- package/dist/chunks/chunk-2WNVHMJ4.js +0 -109
- package/dist/chunks/chunk-2ZMOGRI6.js +0 -77
- package/dist/chunks/chunk-33D6OUHA.js +0 -23
- package/dist/chunks/chunk-33NSCTJ3.js +0 -110
- package/dist/chunks/chunk-33V7H2KM.js +0 -210
- package/dist/chunks/chunk-3423GLUJ.js +0 -180
- package/dist/chunks/chunk-34OTJ2Z2.js +0 -108
- package/dist/chunks/chunk-35K7AIYU.js +0 -251
- package/dist/chunks/chunk-35Z6GZMD.js +0 -289
- package/dist/chunks/chunk-37QJ5VS5.js +0 -415
- package/dist/chunks/chunk-37SP4EL7.js +0 -200
- package/dist/chunks/chunk-37WN7N3C.js +0 -574
- package/dist/chunks/chunk-3CCNGD3B.js +0 -18
- package/dist/chunks/chunk-3CZMDPY7.js +0 -375
- package/dist/chunks/chunk-3F73XXLO.js +0 -174
- package/dist/chunks/chunk-3GBE6JT6.js +0 -133
- package/dist/chunks/chunk-3GYHAAIM.js +0 -165
- package/dist/chunks/chunk-3GZSEUZJ.js +0 -45
- package/dist/chunks/chunk-3HDTUGYD.js +0 -130
- package/dist/chunks/chunk-3IAIPC3T.js +0 -114
- package/dist/chunks/chunk-3J62XABV.js +0 -386
- package/dist/chunks/chunk-3JKWADSZ.js +0 -175
- package/dist/chunks/chunk-3LE6EFI5.js +0 -1403
- package/dist/chunks/chunk-3O3UZV57.js +0 -45
- package/dist/chunks/chunk-3OS2POT6.js +0 -257
- package/dist/chunks/chunk-3PISNZSW.js +0 -71
- package/dist/chunks/chunk-3PQTPXTD.js +0 -190
- package/dist/chunks/chunk-3Q2A4VDM.js +0 -178
- package/dist/chunks/chunk-3RF2A2BM.js +0 -89
- package/dist/chunks/chunk-3SXCX5CX.js +0 -340
- package/dist/chunks/chunk-3TBNWHDN.js +0 -177
- package/dist/chunks/chunk-3TI6TH32.js +0 -105
- package/dist/chunks/chunk-3ZOB33EA.js +0 -103
- package/dist/chunks/chunk-3ZOOG55K.js +0 -382
- package/dist/chunks/chunk-42SSJNTE.js +0 -209
- package/dist/chunks/chunk-452V27S5.js +0 -293
- package/dist/chunks/chunk-45UIMDI7.js +0 -47
- package/dist/chunks/chunk-45XHFVGI.js +0 -119
- package/dist/chunks/chunk-463ECSVS.js +0 -307
- package/dist/chunks/chunk-46AZXELT.js +0 -83
- package/dist/chunks/chunk-46SBGZ2E.js +0 -118
- package/dist/chunks/chunk-46SD3IIV.js +0 -109
- package/dist/chunks/chunk-4ATC4PZM.js +0 -218
- package/dist/chunks/chunk-4CKOT4UL.js +0 -414
- package/dist/chunks/chunk-4CTCPEYN.js +0 -115
- package/dist/chunks/chunk-4DBLDQBD.js +0 -23
- package/dist/chunks/chunk-4HBUGRVB.js +0 -126
- package/dist/chunks/chunk-4JMMRCIR.js +0 -214
- package/dist/chunks/chunk-4NHKI4IM.js +0 -263
- package/dist/chunks/chunk-4P5TO6PF.js +0 -173
- package/dist/chunks/chunk-4PVKDLHJ.js +0 -135
- package/dist/chunks/chunk-4RMXC4WI.js +0 -182
- package/dist/chunks/chunk-4ROGR3T6.js +0 -23
- package/dist/chunks/chunk-4RXT7A2D.js +0 -146
- package/dist/chunks/chunk-4T5ZUQEA.js +0 -122
- package/dist/chunks/chunk-4TLGHFML.js +0 -161
- package/dist/chunks/chunk-4TXY7XOT.js +0 -70
- package/dist/chunks/chunk-4VGECIAR.js +0 -179
- package/dist/chunks/chunk-4XNA4TPD.js +0 -127
- package/dist/chunks/chunk-4Y5YFPKN.js +0 -106
- package/dist/chunks/chunk-4YCBTNIB.js +0 -36
- package/dist/chunks/chunk-4Z25DTKG.js +0 -23
- package/dist/chunks/chunk-52M2UFIL.js +0 -33
- package/dist/chunks/chunk-534HVQHQ.js +0 -81
- package/dist/chunks/chunk-54AACP3R.js +0 -436
- package/dist/chunks/chunk-54IJHQTM.js +0 -104
- package/dist/chunks/chunk-55IT24BE.js +0 -135
- package/dist/chunks/chunk-55QRKJDP.js +0 -84
- package/dist/chunks/chunk-55XINATM.js +0 -192
- package/dist/chunks/chunk-565NQUD2.js +0 -338
- package/dist/chunks/chunk-56BJ2OFH.js +0 -728
- package/dist/chunks/chunk-5754YXDH.js +0 -333
- package/dist/chunks/chunk-5AHPURP3.js +0 -162
- package/dist/chunks/chunk-5BQDBYWD.js +0 -88
- package/dist/chunks/chunk-5BUA5TYP.js +0 -115
- package/dist/chunks/chunk-5E7OJMTX.js +0 -109
- package/dist/chunks/chunk-5EHNTSDZ.js +0 -339
- package/dist/chunks/chunk-5ENW344P.js +0 -115
- package/dist/chunks/chunk-5EWTIPN3.js +0 -123
- package/dist/chunks/chunk-5F7WELAM.js +0 -70
- package/dist/chunks/chunk-5FNLPUHT.js +0 -277
- package/dist/chunks/chunk-5JYBLZ45.js +0 -111
- package/dist/chunks/chunk-5KJYCXG2.js +0 -136
- package/dist/chunks/chunk-5NR3YEQY.js +0 -36
- package/dist/chunks/chunk-5NWSKT62.js +0 -107
- package/dist/chunks/chunk-5TZW527P.js +0 -33
- package/dist/chunks/chunk-5UHEGNLC.js +0 -152
- package/dist/chunks/chunk-5UNT233A.js +0 -84
- package/dist/chunks/chunk-5W64LX77.js +0 -23
- package/dist/chunks/chunk-5WDTUTKS.js +0 -303
- package/dist/chunks/chunk-62I2BHYZ.js +0 -101
- package/dist/chunks/chunk-62NCRFT4.js +0 -210
- package/dist/chunks/chunk-63A2X4WF.js +0 -23
- package/dist/chunks/chunk-63ZDTCWX.js +0 -135
- package/dist/chunks/chunk-6732B54W.js +0 -75
- package/dist/chunks/chunk-67K3PVMM.js +0 -166
- package/dist/chunks/chunk-6B5HEMFW.js +0 -79
- package/dist/chunks/chunk-6CKUVNJV.js +0 -301
- package/dist/chunks/chunk-6DJKALQ4.js +0 -172
- package/dist/chunks/chunk-6DW47UUS.js +0 -80
- package/dist/chunks/chunk-6DXDRKSA.js +0 -159
- package/dist/chunks/chunk-6DXW3VII.js +0 -33
- package/dist/chunks/chunk-6ETJHHAZ.js +0 -76
- package/dist/chunks/chunk-6HEZUSRF.js +0 -589
- package/dist/chunks/chunk-6HFCPKOY.js +0 -198
- package/dist/chunks/chunk-6HT4ZRXW.js +0 -293
- package/dist/chunks/chunk-6IJBIRX7.js +0 -213
- package/dist/chunks/chunk-6IVZYYDV.js +0 -95
- package/dist/chunks/chunk-6KLF6QCU.js +0 -30
- package/dist/chunks/chunk-6MAAF5EX.js +0 -345
- package/dist/chunks/chunk-6P7GZXBJ.js +0 -290
- package/dist/chunks/chunk-6QHAQLJ4.js +0 -1221
- package/dist/chunks/chunk-6QPNEEBS.js +0 -165
- package/dist/chunks/chunk-6RDEF74A.js +0 -290
- package/dist/chunks/chunk-6S2FGUXV.js +0 -114
- package/dist/chunks/chunk-6S3M25CY.js +0 -23
- package/dist/chunks/chunk-6SRDXA7T.js +0 -91
- package/dist/chunks/chunk-6T7BTWMK.js +0 -215
- package/dist/chunks/chunk-6TU5EOB2.js +0 -199
- package/dist/chunks/chunk-6XW3FM64.js +0 -250
- package/dist/chunks/chunk-72Y6DLVI.js +0 -97
- package/dist/chunks/chunk-72ZEAS6D.js +0 -147
- package/dist/chunks/chunk-76JHVYMO.js +0 -238
- package/dist/chunks/chunk-76KSULKM.js +0 -224
- package/dist/chunks/chunk-772MSCGO.js +0 -50
- package/dist/chunks/chunk-7AB2BIMV.js +0 -23
- package/dist/chunks/chunk-7AQNONVH.js +0 -147
- package/dist/chunks/chunk-7CZELH57.js +0 -105
- package/dist/chunks/chunk-7FKWM6MZ.js +0 -320
- package/dist/chunks/chunk-7FPHDDSY.js +0 -161
- package/dist/chunks/chunk-7IJDMP7O.js +0 -607
- package/dist/chunks/chunk-7JMWKDE4.js +0 -23
- package/dist/chunks/chunk-7KB5VTJM.js +0 -162
- package/dist/chunks/chunk-7MXSR5CC.js +0 -138
- package/dist/chunks/chunk-7OS2VWUA.js +0 -77
- package/dist/chunks/chunk-7S5UVTPT.js +0 -478
- package/dist/chunks/chunk-7USFB6HS.js +0 -62
- package/dist/chunks/chunk-7WFWNN3B.js +0 -349
- package/dist/chunks/chunk-7WW34IBB.js +0 -1417
- package/dist/chunks/chunk-7YOOT7S2.js +0 -55
- package/dist/chunks/chunk-7Z2IZENW.js +0 -237
- package/dist/chunks/chunk-A266OXHI.js +0 -133
- package/dist/chunks/chunk-A3FZPKDN.js +0 -111
- package/dist/chunks/chunk-A4XVASWR.js +0 -33
- package/dist/chunks/chunk-A54EEE5P.js +0 -23
- package/dist/chunks/chunk-A5SSYKGK.js +0 -102
- package/dist/chunks/chunk-A6G3NLOQ.js +0 -86
- package/dist/chunks/chunk-ABGYLQSM.js +0 -94
- package/dist/chunks/chunk-AD3PLAPU.js +0 -130
- package/dist/chunks/chunk-AE2KNNNM.js +0 -86
- package/dist/chunks/chunk-AJKKIGTI.js +0 -169
- package/dist/chunks/chunk-AMQYSVV7.js +0 -45
- package/dist/chunks/chunk-ANX4H3O4.js +0 -174
- package/dist/chunks/chunk-AOBMCBYB.js +0 -92
- package/dist/chunks/chunk-APB5BUR6.js +0 -78
- package/dist/chunks/chunk-ARFLHX76.js +0 -23
- package/dist/chunks/chunk-ARVU5SYW.js +0 -100
- package/dist/chunks/chunk-AS3ZBWWD.js +0 -33
- package/dist/chunks/chunk-ASQLSWJW.js +0 -957
- package/dist/chunks/chunk-AX24VLAZ.js +0 -104
- package/dist/chunks/chunk-AYZLEEHB.js +0 -95
- package/dist/chunks/chunk-AZILNU5S.js +0 -36
- package/dist/chunks/chunk-AZLVGTTN.js +0 -151
- package/dist/chunks/chunk-AZTVKXCV.js +0 -92
- package/dist/chunks/chunk-B2BA2KQV.js +0 -242
- package/dist/chunks/chunk-B2F6XQDS.js +0 -305
- package/dist/chunks/chunk-B4V4FPRS.js +0 -41
- package/dist/chunks/chunk-B725OBTW.js +0 -219
- package/dist/chunks/chunk-BABNQ5TT.js +0 -42
- package/dist/chunks/chunk-BBIYVCQO.js +0 -150
- package/dist/chunks/chunk-BD2BHE7M.js +0 -396
- package/dist/chunks/chunk-BDU2OUVJ.js +0 -2662
- package/dist/chunks/chunk-BEPHEEMH.js +0 -240
- package/dist/chunks/chunk-BGYERCGL.js +0 -224
- package/dist/chunks/chunk-BKG7RZ4F.js +0 -145
- package/dist/chunks/chunk-BKQRHR3F.js +0 -155
- package/dist/chunks/chunk-BMJYYBHY.js +0 -45
- package/dist/chunks/chunk-BRKA7MCS.js +0 -97
- package/dist/chunks/chunk-BS4NQQCX.js +0 -320
- package/dist/chunks/chunk-BSRN7YRL.js +0 -99
- package/dist/chunks/chunk-BSSTHYOA.js +0 -76
- package/dist/chunks/chunk-BVKTIGGZ.js +0 -112
- package/dist/chunks/chunk-BVNEMAK6.js +0 -447
- package/dist/chunks/chunk-BYSBG2NJ.js +0 -77
- package/dist/chunks/chunk-BZAKET67.js +0 -130
- package/dist/chunks/chunk-BZAVHVGT.js +0 -33
- package/dist/chunks/chunk-BZW2VFFP.js +0 -128
- package/dist/chunks/chunk-C3FDXUDC.js +0 -180
- package/dist/chunks/chunk-C3OI7EOK.js +0 -201
- package/dist/chunks/chunk-C6TIZNKI.js +0 -185
- package/dist/chunks/chunk-C6YZMC3O.js +0 -123
- package/dist/chunks/chunk-C76PNDY5.js +0 -23
- package/dist/chunks/chunk-CACIHLA6.js +0 -129
- package/dist/chunks/chunk-CD4ZBM2O.js +0 -108
- package/dist/chunks/chunk-CDTD3QPR.js +0 -104
- package/dist/chunks/chunk-CE4Y24RT.js +0 -134
- package/dist/chunks/chunk-CEGLKKGE.js +0 -313
- package/dist/chunks/chunk-CFOGQB7S.js +0 -112
- package/dist/chunks/chunk-CFY777FO.js +0 -251
- package/dist/chunks/chunk-CHTIM34X.js +0 -49
- package/dist/chunks/chunk-CIK7WH4K.js +0 -544
- package/dist/chunks/chunk-CJCTVXHT.js +0 -173
- package/dist/chunks/chunk-CKE7WEVG.js +0 -446
- package/dist/chunks/chunk-CL3OA3NF.js +0 -39
- package/dist/chunks/chunk-CL3QWMKD.js +0 -23
- package/dist/chunks/chunk-CLZ4C2AP.js +0 -41
- package/dist/chunks/chunk-CNA4ENDY.js +0 -145
- package/dist/chunks/chunk-CR2PH2FG.js +0 -206
- package/dist/chunks/chunk-CSYNHIFK.js +0 -312
- package/dist/chunks/chunk-CUV2OTUF.js +0 -186
- package/dist/chunks/chunk-CVAXC2WF.js +0 -120
- package/dist/chunks/chunk-CWHNQJLR.js +0 -110
- package/dist/chunks/chunk-CWWBLX7J.js +0 -317
- package/dist/chunks/chunk-CZTI5GGL.js +0 -197
- package/dist/chunks/chunk-D4XXJ6NS.js +0 -152
- package/dist/chunks/chunk-D5P33HRU.js +0 -45
- package/dist/chunks/chunk-D7G2S55M.js +0 -197
- package/dist/chunks/chunk-D7G6KBZR.js +0 -261
- package/dist/chunks/chunk-D7IAH4XF.js +0 -299
- package/dist/chunks/chunk-DCUIVFEU.js +0 -178
- package/dist/chunks/chunk-DDEO3GDO.js +0 -262
- package/dist/chunks/chunk-DE4LRCYX.js +0 -304
- package/dist/chunks/chunk-DEEIO54R.js +0 -177
- package/dist/chunks/chunk-DEFIDHH4.js +0 -342
- package/dist/chunks/chunk-DEZFUOPJ.js +0 -82
- package/dist/chunks/chunk-DFXTG6WK.js +0 -94
- package/dist/chunks/chunk-DGXYUOUK.js +0 -82
- package/dist/chunks/chunk-DH7N62C5.js +0 -77
- package/dist/chunks/chunk-DI7TLG42.js +0 -45
- package/dist/chunks/chunk-DIEIV56X.js +0 -126
- package/dist/chunks/chunk-DLLC25I4.js +0 -171
- package/dist/chunks/chunk-DLQRSLRX.js +0 -269
- package/dist/chunks/chunk-DNLHYUDE.js +0 -1677
- package/dist/chunks/chunk-DNX4QQPR.js +0 -142
- package/dist/chunks/chunk-DOQNYAO4.js +0 -33
- package/dist/chunks/chunk-DOSL3YCH.js +0 -1136
- package/dist/chunks/chunk-DP532NTI.js +0 -358
- package/dist/chunks/chunk-DPP3C3RR.js +0 -292
- package/dist/chunks/chunk-DR3V37PE.js +0 -106
- package/dist/chunks/chunk-DRF3WODB.js +0 -133
- package/dist/chunks/chunk-DSCIRAXT.js +0 -130
- package/dist/chunks/chunk-DU2HVXBT.js +0 -156
- package/dist/chunks/chunk-DUYXVO4K.js +0 -179
- package/dist/chunks/chunk-DWBUNPHN.js +0 -164
- package/dist/chunks/chunk-DWWRZELM.js +0 -326
- package/dist/chunks/chunk-DX3RJFX2.js +0 -136
- package/dist/chunks/chunk-E247N4MX.js +0 -140
- package/dist/chunks/chunk-E2WIBUND.js +0 -81
- package/dist/chunks/chunk-E3TBWICU.js +0 -291
- package/dist/chunks/chunk-E5DYSCXH.js +0 -188
- package/dist/chunks/chunk-E5LH5ORQ.js +0 -91
- package/dist/chunks/chunk-E5UJUXLU.js +0 -425
- package/dist/chunks/chunk-E7E7YEHN.js +0 -84
- package/dist/chunks/chunk-EDJ2MPSL.js +0 -43
- package/dist/chunks/chunk-EDSI4GCZ.js +0 -80
- package/dist/chunks/chunk-ELTV7HFK.js +0 -159
- package/dist/chunks/chunk-EMAFPS3U.js +0 -80
- package/dist/chunks/chunk-EMXFUF2G.js +0 -48
- package/dist/chunks/chunk-ENLJMQMY.js +0 -55
- package/dist/chunks/chunk-EO7PGXRU.js +0 -59
- package/dist/chunks/chunk-EOUWAOLN.js +0 -147
- package/dist/chunks/chunk-EQIQJRMS.js +0 -23
- package/dist/chunks/chunk-EQX6LUDW.js +0 -90
- package/dist/chunks/chunk-ESKHTEXT.js +0 -298
- package/dist/chunks/chunk-ETU3QMKY.js +0 -119
- package/dist/chunks/chunk-EUZP5W26.js +0 -102
- package/dist/chunks/chunk-EV4V3HMG.js +0 -85
- package/dist/chunks/chunk-EW2AGBZ7.js +0 -362
- package/dist/chunks/chunk-EWQJJWQQ.js +0 -192
- package/dist/chunks/chunk-EXHO4BV7.js +0 -33
- package/dist/chunks/chunk-EXLY42BO.js +0 -72
- package/dist/chunks/chunk-EYL7EVLT.js +0 -83
- package/dist/chunks/chunk-EZ5EHRXJ.js +0 -30
- package/dist/chunks/chunk-F24AI4XL.js +0 -287
- package/dist/chunks/chunk-F2LJK2RM.js +0 -44
- package/dist/chunks/chunk-F2NVREWI.js +0 -110
- package/dist/chunks/chunk-F3FZ7EHL.js +0 -97
- package/dist/chunks/chunk-F3WJO75K.js +0 -119
- package/dist/chunks/chunk-F4BKE6H4.js +0 -94
- package/dist/chunks/chunk-F4IEPTNU.js +0 -106
- package/dist/chunks/chunk-F6BZTRE2.js +0 -96
- package/dist/chunks/chunk-F74GKSQY.js +0 -193
- package/dist/chunks/chunk-F7KEBXGY.js +0 -100
- package/dist/chunks/chunk-FAJ7IUEN.js +0 -131
- package/dist/chunks/chunk-FALZFQIZ.js +0 -146
- package/dist/chunks/chunk-FCYWS6B6.js +0 -221
- package/dist/chunks/chunk-FDQ6655B.js +0 -1469
- package/dist/chunks/chunk-FEJYW55H.js +0 -278
- package/dist/chunks/chunk-FEXYF3BM.js +0 -324
- package/dist/chunks/chunk-FG5HN5G5.js +0 -345
- package/dist/chunks/chunk-FHP3JU2P.js +0 -11742
- package/dist/chunks/chunk-FHQTMDZW.js +0 -33
- package/dist/chunks/chunk-FIH5MBST.js +0 -224
- package/dist/chunks/chunk-FJDBEF4E.js +0 -23
- package/dist/chunks/chunk-FKTABUBT.js +0 -180
- package/dist/chunks/chunk-FLBQAGKK.js +0 -30
- package/dist/chunks/chunk-FLC2AW3S.js +0 -363
- package/dist/chunks/chunk-FM3TMFDW.js +0 -232
- package/dist/chunks/chunk-FM7KGCIY.js +0 -342
- package/dist/chunks/chunk-FNHTZXG2.js +0 -165
- package/dist/chunks/chunk-FPTSX43B.js +0 -260
- package/dist/chunks/chunk-FQMYMSEF.js +0 -336
- package/dist/chunks/chunk-FRF2AI5G.js +0 -101
- package/dist/chunks/chunk-FSRJRWUX.js +0 -213
- package/dist/chunks/chunk-FSVWBDEL.js +0 -468
- package/dist/chunks/chunk-FTYHYYLQ.js +0 -128
- package/dist/chunks/chunk-FU7HUS2Q.js +0 -172
- package/dist/chunks/chunk-FVFQRJMM.js +0 -277
- package/dist/chunks/chunk-FVNIEOE5.js +0 -102
- package/dist/chunks/chunk-FX2D3SJ7.js +0 -41
- package/dist/chunks/chunk-FXTHRGF7.js +0 -78
- package/dist/chunks/chunk-G2LKUTT4.js +0 -163
- package/dist/chunks/chunk-G3O3LAEV.js +0 -52
- package/dist/chunks/chunk-G46F3ZQ3.js +0 -346
- package/dist/chunks/chunk-G4ECXDD5.js +0 -282
- package/dist/chunks/chunk-G5QXGUIL.js +0 -115
- package/dist/chunks/chunk-G7GTWBG7.js +0 -252
- package/dist/chunks/chunk-G7SNGSTO.js +0 -139
- package/dist/chunks/chunk-GBDSMYJY.js +0 -23
- package/dist/chunks/chunk-GBPFCKQ5.js +0 -73
- package/dist/chunks/chunk-GC6YOCLA.js +0 -108
- package/dist/chunks/chunk-GD45G3CY.js +0 -99
- package/dist/chunks/chunk-GDRAU2V3.js +0 -267
- package/dist/chunks/chunk-GDUMY3VG.js +0 -689
- package/dist/chunks/chunk-GFKWCH3X.js +0 -336
- package/dist/chunks/chunk-GG5GJCJW.js +0 -249
- package/dist/chunks/chunk-GHHBB3HM.js +0 -255
- package/dist/chunks/chunk-GIVDB53J.js +0 -33
- package/dist/chunks/chunk-GJ7UE2VM.js +0 -195
- package/dist/chunks/chunk-GK5G53LH.js +0 -97
- package/dist/chunks/chunk-GLVMSG3Z.js +0 -170
- package/dist/chunks/chunk-GON4YIDO.js +0 -147
- package/dist/chunks/chunk-GQT7GENG.js +0 -172
- package/dist/chunks/chunk-GSTT4ZJV.js +0 -99
- package/dist/chunks/chunk-GTCLGM63.js +0 -185
- package/dist/chunks/chunk-GTGQTVBS.js +0 -106
- package/dist/chunks/chunk-GTM6WYJ5.js +0 -98
- package/dist/chunks/chunk-GTO4KWGT.js +0 -156
- package/dist/chunks/chunk-GX2XKKQW.js +0 -390
- package/dist/chunks/chunk-GXI2S4NX.js +0 -335
- package/dist/chunks/chunk-GYCS3VW4.js +0 -399
- package/dist/chunks/chunk-H4FWDRWB.js +0 -23
- package/dist/chunks/chunk-H4YKWLAI.js +0 -45
- package/dist/chunks/chunk-H5CB7PJR.js +0 -33
- package/dist/chunks/chunk-H5PWJYXS.js +0 -272
- package/dist/chunks/chunk-H5SCN5T6.js +0 -117
- package/dist/chunks/chunk-H6JMWTCJ.js +0 -366
- package/dist/chunks/chunk-H6WKO5QW.js +0 -454
- package/dist/chunks/chunk-H6YCYLYZ.js +0 -110
- package/dist/chunks/chunk-H727MKVS.js +0 -33
- package/dist/chunks/chunk-HBFKLUFA.js +0 -135
- package/dist/chunks/chunk-HBP3C6IQ.js +0 -139
- package/dist/chunks/chunk-HBVCWZJK.js +0 -315
- package/dist/chunks/chunk-HCTGJVYO.js +0 -23
- package/dist/chunks/chunk-HDJIX7KX.js +0 -156
- package/dist/chunks/chunk-HE3OVZGS.js +0 -33
- package/dist/chunks/chunk-HEKGYJTP.js +0 -290
- package/dist/chunks/chunk-HERRWIM6.js +0 -52
- package/dist/chunks/chunk-HFOPRXS2.js +0 -235
- package/dist/chunks/chunk-HGLB3YDV.js +0 -50
- package/dist/chunks/chunk-HHACNMOR.js +0 -125
- package/dist/chunks/chunk-HI6OGR7I.js +0 -120
- package/dist/chunks/chunk-HJHD43UA.js +0 -123
- package/dist/chunks/chunk-HKBTA5MM.js +0 -89
- package/dist/chunks/chunk-HMX7PNXM.js +0 -242
- package/dist/chunks/chunk-HNI6H3SO.js +0 -179
- package/dist/chunks/chunk-HNTIXOVT.js +0 -104
- package/dist/chunks/chunk-HRKAIVXW.js +0 -153
- package/dist/chunks/chunk-HRSTM5QE.js +0 -82
- package/dist/chunks/chunk-HSEZJEX2.js +0 -55
- package/dist/chunks/chunk-HUFJWJF3.js +0 -140
- package/dist/chunks/chunk-HUKONNGD.js +0 -95
- package/dist/chunks/chunk-HUPSBVNF.js +0 -30
- package/dist/chunks/chunk-HXDMGTRU.js +0 -155
- package/dist/chunks/chunk-HZA67W6J.js +0 -685
- package/dist/chunks/chunk-I3CK3A7O.js +0 -225
- package/dist/chunks/chunk-I3H35HAN.js +0 -176
- package/dist/chunks/chunk-I3IJQS6X.js +0 -214
- package/dist/chunks/chunk-I43XELLO.js +0 -405
- package/dist/chunks/chunk-I5QX5MLP.js +0 -81
- package/dist/chunks/chunk-I77LKR4D.js +0 -33
- package/dist/chunks/chunk-I7LZ6Z3I.js +0 -123
- package/dist/chunks/chunk-IAZ6ZZHG.js +0 -149
- package/dist/chunks/chunk-IC46SRYM.js +0 -33
- package/dist/chunks/chunk-ICDLRUOK.js +0 -224
- package/dist/chunks/chunk-IE2R747Y.js +0 -304
- package/dist/chunks/chunk-IEHHAKQQ.js +0 -132
- package/dist/chunks/chunk-IEO3PJKS.js +0 -106
- package/dist/chunks/chunk-IEU3YXYL.js +0 -228
- package/dist/chunks/chunk-IEVDSTOY.js +0 -564
- package/dist/chunks/chunk-IF7RJRCJ.js +0 -166
- package/dist/chunks/chunk-IIPHMA7G.js +0 -263
- package/dist/chunks/chunk-IIVWQKSU.js +0 -160
- package/dist/chunks/chunk-IMUKVHPX.js +0 -60
- package/dist/chunks/chunk-IN4YAXQR.js +0 -23
- package/dist/chunks/chunk-INKJRB7A.js +0 -77
- package/dist/chunks/chunk-IORRSM6U.js +0 -221
- package/dist/chunks/chunk-IOVXB42Y.js +0 -122
- package/dist/chunks/chunk-IPUXZ4MD.js +0 -226
- package/dist/chunks/chunk-IQ2RIDIQ.js +0 -55
- package/dist/chunks/chunk-ISC7EBTM.js +0 -84
- package/dist/chunks/chunk-ITDNDQB6.js +0 -150
- package/dist/chunks/chunk-IUBQTPZK.js +0 -86
- package/dist/chunks/chunk-IVIASNK7.js +0 -172
- package/dist/chunks/chunk-IVNS7OYN.js +0 -23
- package/dist/chunks/chunk-IW2NETIQ.js +0 -155
- package/dist/chunks/chunk-IWVUOPR7.js +0 -172
- package/dist/chunks/chunk-J2DAGUJZ.js +0 -82
- package/dist/chunks/chunk-J4RN4ZYM.js +0 -33
- package/dist/chunks/chunk-J7AZM6H3.js +0 -181
- package/dist/chunks/chunk-JA7TRIN5.js +0 -97
- package/dist/chunks/chunk-JADFKYOD.js +0 -129
- package/dist/chunks/chunk-JD3X6LV4.js +0 -23
- package/dist/chunks/chunk-JD3YSMGH.js +0 -90
- package/dist/chunks/chunk-JDI6T3QN.js +0 -197
- package/dist/chunks/chunk-JF5USU5E.js +0 -330
- package/dist/chunks/chunk-JFZ6TYLB.js +0 -422
- package/dist/chunks/chunk-JHPYRB2W.js +0 -158
- package/dist/chunks/chunk-JIYKSSTX.js +0 -344
- package/dist/chunks/chunk-JJGGRAQI.js +0 -651
- package/dist/chunks/chunk-JL7F7MGF.js +0 -366
- package/dist/chunks/chunk-JLAOG3LE.js +0 -209
- package/dist/chunks/chunk-JMGTVSNK.js +0 -525
- package/dist/chunks/chunk-JMR7IEM7.js +0 -202
- package/dist/chunks/chunk-JNQ35ROB.js +0 -93
- package/dist/chunks/chunk-JP2WVBBI.js +0 -118
- package/dist/chunks/chunk-JQRICLMZ.js +0 -239
- package/dist/chunks/chunk-JRJ6QMTK.js +0 -93
- package/dist/chunks/chunk-JRWHRC62.js +0 -78
- package/dist/chunks/chunk-JSSKZ3G2.js +0 -411
- package/dist/chunks/chunk-JSUHQBUX.js +0 -163
- package/dist/chunks/chunk-JT7IIMKX.js +0 -183
- package/dist/chunks/chunk-JTDGUWL7.js +0 -134
- package/dist/chunks/chunk-JU3P5EMV.js +0 -142
- package/dist/chunks/chunk-JU3RQO2E.js +0 -209
- package/dist/chunks/chunk-JU52JYOO.js +0 -78
- package/dist/chunks/chunk-JUHRBSJL.js +0 -176
- package/dist/chunks/chunk-JV5GEMWH.js +0 -329
- package/dist/chunks/chunk-JV7BHTHG.js +0 -150
- package/dist/chunks/chunk-JVGIEI37.js +0 -90
- package/dist/chunks/chunk-JX3POSFD.js +0 -283
- package/dist/chunks/chunk-JYHZEIKU.js +0 -23
- package/dist/chunks/chunk-JYMWMLBW.js +0 -147
- package/dist/chunks/chunk-JZS7PJZ6.js +0 -86
- package/dist/chunks/chunk-K2HUEWY5.js +0 -152
- package/dist/chunks/chunk-K2TXXWJG.js +0 -153
- package/dist/chunks/chunk-K2XSE7PL.js +0 -105
- package/dist/chunks/chunk-K4LGWP7D.js +0 -304
- package/dist/chunks/chunk-K5TJUDZF.js +0 -23
- package/dist/chunks/chunk-K7LZ3NCN.js +0 -130
- package/dist/chunks/chunk-KCECJPVX.js +0 -149
- package/dist/chunks/chunk-KCGQF6RC.js +0 -50
- package/dist/chunks/chunk-KCVX77FZ.js +0 -104
- package/dist/chunks/chunk-KD3DG7OQ.js +0 -144
- package/dist/chunks/chunk-KFHZUY3Y.js +0 -336
- package/dist/chunks/chunk-KGITCDXP.js +0 -65
- package/dist/chunks/chunk-KGWGYVY4.js +0 -103
- package/dist/chunks/chunk-KIRGOCTH.js +0 -93
- package/dist/chunks/chunk-KISDATKJ.js +0 -163
- package/dist/chunks/chunk-KJCQNSJQ.js +0 -33
- package/dist/chunks/chunk-KKJRZKRP.js +0 -87
- package/dist/chunks/chunk-KKTKRH7A.js +0 -740
- package/dist/chunks/chunk-KLWQOR2L.js +0 -303
- package/dist/chunks/chunk-KM6BSJGJ.js +0 -139
- package/dist/chunks/chunk-KPCSMJ26.js +0 -209
- package/dist/chunks/chunk-KPTABNJZ.js +0 -128
- package/dist/chunks/chunk-KPXVFVVR.js +0 -168
- package/dist/chunks/chunk-KQT2UCKL.js +0 -49
- package/dist/chunks/chunk-KRHC4YYL.js +0 -95
- package/dist/chunks/chunk-KSDVJCSI.js +0 -120
- package/dist/chunks/chunk-KSP7OPPU.js +0 -97
- package/dist/chunks/chunk-KUO2LZLS.js +0 -141
- package/dist/chunks/chunk-KVQ7R7FV.js +0 -52
- package/dist/chunks/chunk-KW2ZDLLT.js +0 -198
- package/dist/chunks/chunk-KW5ALU56.js +0 -217
- package/dist/chunks/chunk-KWGZ2B3G.js +0 -110
- package/dist/chunks/chunk-KXBJKFQW.js +0 -192
- package/dist/chunks/chunk-KXEZ6XU4.js +0 -270
- package/dist/chunks/chunk-KYD64ACB.js +0 -165
- package/dist/chunks/chunk-L254V7PK.js +0 -215
- package/dist/chunks/chunk-L3KPZJRO.js +0 -33
- package/dist/chunks/chunk-L4R45CY6.js +0 -113
- package/dist/chunks/chunk-L4VNBPA2.js +0 -37
- package/dist/chunks/chunk-L5NBJX5G.js +0 -36
- package/dist/chunks/chunk-L6636QML.js +0 -33
- package/dist/chunks/chunk-L6NMZDUT.js +0 -120
- package/dist/chunks/chunk-LAHAEDVW.js +0 -331
- package/dist/chunks/chunk-LAHSBNS4.js +0 -97
- package/dist/chunks/chunk-LDJV74T6.js +0 -103
- package/dist/chunks/chunk-LDUVMQY7.js +0 -56
- package/dist/chunks/chunk-LEJD2XV2.js +0 -45
- package/dist/chunks/chunk-LFVW2A7W.js +0 -217
- package/dist/chunks/chunk-LHFP2R63.js +0 -87
- package/dist/chunks/chunk-LHQZV6BD.js +0 -282
- package/dist/chunks/chunk-LIRHNG4B.js +0 -626
- package/dist/chunks/chunk-LIWVQKFF.js +0 -181
- package/dist/chunks/chunk-LJP56PXB.js +0 -84
- package/dist/chunks/chunk-LKQYGONY.js +0 -23
- package/dist/chunks/chunk-LL54J6WR.js +0 -443
- package/dist/chunks/chunk-LLIF6562.js +0 -163
- package/dist/chunks/chunk-LNBYZM4Q.js +0 -102
- package/dist/chunks/chunk-LNTOLNPZ.js +0 -226
- package/dist/chunks/chunk-LQED652V.js +0 -33
- package/dist/chunks/chunk-LQO3XEPZ.js +0 -887
- package/dist/chunks/chunk-LRQNULTZ.js +0 -138
- package/dist/chunks/chunk-LTRFSREO.js +0 -161
- package/dist/chunks/chunk-LVOFB6WX.js +0 -23
- package/dist/chunks/chunk-LVPVIGUM.js +0 -407
- package/dist/chunks/chunk-LWGHTMB2.js +0 -149
- package/dist/chunks/chunk-M3IOQYHL.js +0 -146
- package/dist/chunks/chunk-M3YJZRJP.js +0 -167
- package/dist/chunks/chunk-M4RTFMPV.js +0 -104
- package/dist/chunks/chunk-M5LCGN3P.js +0 -147
- package/dist/chunks/chunk-M5XCZEGW.js +0 -273
- package/dist/chunks/chunk-M6LUAHCH.js +0 -122
- package/dist/chunks/chunk-MAMMRWVE.js +0 -23
- package/dist/chunks/chunk-MBP2HYT3.js +0 -358
- package/dist/chunks/chunk-MCC4SXYB.js +0 -45
- package/dist/chunks/chunk-MDU2XGW5.js +0 -930
- package/dist/chunks/chunk-MEOAVLYQ.js +0 -152
- package/dist/chunks/chunk-MFKQVC7Y.js +0 -183
- package/dist/chunks/chunk-MFN6I2SS.js +0 -45
- package/dist/chunks/chunk-MGZKOT5T.js +0 -105
- package/dist/chunks/chunk-MH2RBMHQ.js +0 -23
- package/dist/chunks/chunk-MH7A4LKQ.js +0 -1309
- package/dist/chunks/chunk-MHA7I2IT.js +0 -400
- package/dist/chunks/chunk-MHMHBKDD.js +0 -23
- package/dist/chunks/chunk-MNXDQ5JD.js +0 -167
- package/dist/chunks/chunk-MOREWWL5.js +0 -33
- package/dist/chunks/chunk-MP7ASX2Q.js +0 -103
- package/dist/chunks/chunk-MPFSNDXP.js +0 -225
- package/dist/chunks/chunk-MQ5CLP6Y.js +0 -100
- package/dist/chunks/chunk-MQA5NVCI.js +0 -146
- package/dist/chunks/chunk-MSN26MAC.js +0 -36
- package/dist/chunks/chunk-MTAXOUTV.js +0 -151
- package/dist/chunks/chunk-MTG6STOB.js +0 -99
- package/dist/chunks/chunk-MU2EHNIH.js +0 -178
- package/dist/chunks/chunk-MUXBO7R5.js +0 -131
- package/dist/chunks/chunk-MV64ENH6.js +0 -45
- package/dist/chunks/chunk-MW6AUMIJ.js +0 -87
- package/dist/chunks/chunk-MY2GUA3Z.js +0 -194
- package/dist/chunks/chunk-N2UZF6MV.js +0 -23
- package/dist/chunks/chunk-N32DET4Y.js +0 -141
- package/dist/chunks/chunk-N3CQYI3B.js +0 -304
- package/dist/chunks/chunk-N45J7SVZ.js +0 -41
- package/dist/chunks/chunk-N5JKJXJX.js +0 -260
- package/dist/chunks/chunk-NA7TBGMD.js +0 -108
- package/dist/chunks/chunk-NAQTUC2A.js +0 -140
- package/dist/chunks/chunk-NAUEKVAH.js +0 -108
- package/dist/chunks/chunk-NBG5MRCW.js +0 -738
- package/dist/chunks/chunk-NBTUSMXF.js +0 -270
- package/dist/chunks/chunk-NF5JBQJW.js +0 -234
- package/dist/chunks/chunk-NI2BJVG6.js +0 -118
- package/dist/chunks/chunk-NIHPNDDJ.js +0 -238
- package/dist/chunks/chunk-NINUBA7T.js +0 -201
- package/dist/chunks/chunk-NITUBY6C.js +0 -462
- package/dist/chunks/chunk-NLHX7SAK.js +0 -105
- package/dist/chunks/chunk-NML6QG3V.js +0 -123
- package/dist/chunks/chunk-NNNWNAKR.js +0 -173
- package/dist/chunks/chunk-NQYAOOEL.js +0 -157
- package/dist/chunks/chunk-NTLJYZ64.js +0 -77
- package/dist/chunks/chunk-NUCIOZDY.js +0 -113
- package/dist/chunks/chunk-NURSPTT3.js +0 -250
- package/dist/chunks/chunk-NUXUM3QO.js +0 -283
- package/dist/chunks/chunk-NY6NJWZH.js +0 -79
- package/dist/chunks/chunk-NYBLIBKK.js +0 -149
- package/dist/chunks/chunk-O33POMOM.js +0 -45
- package/dist/chunks/chunk-O3D4O5KZ.js +0 -122
- package/dist/chunks/chunk-O3I46LK2.js +0 -168
- package/dist/chunks/chunk-O3YWP3C4.js +0 -174
- package/dist/chunks/chunk-O7APDMKU.js +0 -162
- package/dist/chunks/chunk-OAFO76BH.js +0 -199
- package/dist/chunks/chunk-OBMUU4LV.js +0 -237
- package/dist/chunks/chunk-OBSGEBEQ.js +0 -93
- package/dist/chunks/chunk-OCPB42WX.js +0 -84
- package/dist/chunks/chunk-ODS7J5ZT.js +0 -146
- package/dist/chunks/chunk-ODT4QS6Z.js +0 -327
- package/dist/chunks/chunk-OFAGEISK.js +0 -157
- package/dist/chunks/chunk-OFNGUJJY.js +0 -112
- package/dist/chunks/chunk-OGH5F4RT.js +0 -80
- package/dist/chunks/chunk-OGTA7MSU.js +0 -80
- package/dist/chunks/chunk-OGWEIRJE.js +0 -96
- package/dist/chunks/chunk-OHWEXH56.js +0 -80
- package/dist/chunks/chunk-OKSYESUC.js +0 -190
- package/dist/chunks/chunk-OLSOJ5GT.js +0 -36
- package/dist/chunks/chunk-OMSXEPRG.js +0 -94
- package/dist/chunks/chunk-ONTEUDRJ.js +0 -231
- package/dist/chunks/chunk-OOGYRLMA.js +0 -177
- package/dist/chunks/chunk-OOXGET6Y.js +0 -191
- package/dist/chunks/chunk-OQSAQTZ4.js +0 -170
- package/dist/chunks/chunk-OSPZV4ZI.js +0 -44
- package/dist/chunks/chunk-OT6OZQMJ.js +0 -145
- package/dist/chunks/chunk-OTAJ2WFF.js +0 -117
- package/dist/chunks/chunk-OTHMSE5E.js +0 -164
- package/dist/chunks/chunk-OUEUIBYB.js +0 -265
- package/dist/chunks/chunk-OVFOE4K4.js +0 -169
- package/dist/chunks/chunk-OVL6WOFA.js +0 -206
- package/dist/chunks/chunk-OVRZZL4T.js +0 -231
- package/dist/chunks/chunk-OWIO3C5E.js +0 -94
- package/dist/chunks/chunk-P3KIWKZJ.js +0 -898
- package/dist/chunks/chunk-P5QEUQ2R.js +0 -158
- package/dist/chunks/chunk-P5YFWNFD.js +0 -207
- package/dist/chunks/chunk-P6A4DMFP.js +0 -109
- package/dist/chunks/chunk-P6IQL6TU.js +0 -152
- package/dist/chunks/chunk-P7IKFM3I.js +0 -91
- package/dist/chunks/chunk-P7NRYPQN.js +0 -391
- package/dist/chunks/chunk-P7YVY4OM.js +0 -100
- package/dist/chunks/chunk-PAAI5GK5.js +0 -160
- package/dist/chunks/chunk-PBPVNQ6C.js +0 -311
- package/dist/chunks/chunk-PDRP3MFT.js +0 -1393
- package/dist/chunks/chunk-PEDXBG6V.js +0 -103
- package/dist/chunks/chunk-PGEWL5VQ.js +0 -183
- package/dist/chunks/chunk-PHLSGDZO.js +0 -412
- package/dist/chunks/chunk-PHMIM7KL.js +0 -23
- package/dist/chunks/chunk-PI6LBMNQ.js +0 -215
- package/dist/chunks/chunk-PJ42H4M7.js +0 -166
- package/dist/chunks/chunk-PL2JHOAX.js +0 -154
- package/dist/chunks/chunk-PLMFRRPV.js +0 -74
- package/dist/chunks/chunk-POFOI7NO.js +0 -23
- package/dist/chunks/chunk-PPNY57IP.js +0 -169
- package/dist/chunks/chunk-PPOZXGES.js +0 -110
- package/dist/chunks/chunk-PS5RV42A.js +0 -100
- package/dist/chunks/chunk-PTXYK6OH.js +0 -160
- package/dist/chunks/chunk-PV5XGV4R.js +0 -1132
- package/dist/chunks/chunk-PXIJTYFP.js +0 -23
- package/dist/chunks/chunk-PXU5BZ5Q.js +0 -163
- package/dist/chunks/chunk-PXXNO37G.js +0 -278
- package/dist/chunks/chunk-PZXBOQZN.js +0 -124
- package/dist/chunks/chunk-Q2KKD6ZJ.js +0 -81
- package/dist/chunks/chunk-Q4CXHJGI.js +0 -378
- package/dist/chunks/chunk-Q4XGUTJ6.js +0 -95
- package/dist/chunks/chunk-Q53R7LSS.js +0 -165
- package/dist/chunks/chunk-Q7Z7SSGS.js +0 -118
- package/dist/chunks/chunk-QB6YRK3L.js +0 -163
- package/dist/chunks/chunk-QCDYH3HO.js +0 -90
- package/dist/chunks/chunk-QCHB42M2.js +0 -366
- package/dist/chunks/chunk-QFFXZQH5.js +0 -203
- package/dist/chunks/chunk-QFHBBUYD.js +0 -177
- package/dist/chunks/chunk-QFKHAMJT.js +0 -54
- package/dist/chunks/chunk-QFO73T6R.js +0 -30
- package/dist/chunks/chunk-QGQ5WBFV.js +0 -88
- package/dist/chunks/chunk-QJ3IVD6I.js +0 -122
- package/dist/chunks/chunk-QJFFKYDX.js +0 -107
- package/dist/chunks/chunk-QJYW4TDU.js +0 -220
- package/dist/chunks/chunk-QK7KCBKG.js +0 -261
- package/dist/chunks/chunk-QKCUV6KR.js +0 -163
- package/dist/chunks/chunk-QLECHYCJ.js +0 -153
- package/dist/chunks/chunk-QN3BFID6.js +0 -127
- package/dist/chunks/chunk-QN5YGANO.js +0 -130
- package/dist/chunks/chunk-QN6B2GIZ.js +0 -133
- package/dist/chunks/chunk-QO36H4KI.js +0 -78
- package/dist/chunks/chunk-QOI27VGG.js +0 -244
- package/dist/chunks/chunk-QPA4DBIP.js +0 -53
- package/dist/chunks/chunk-QSHK6PII.js +0 -111
- package/dist/chunks/chunk-QUSSG2ZK.js +0 -169
- package/dist/chunks/chunk-QX7BYX2M.js +0 -11047
- package/dist/chunks/chunk-QXQNRAPH.js +0 -139
- package/dist/chunks/chunk-QZEOSULK.js +0 -41
- package/dist/chunks/chunk-QZQZGVYO.js +0 -144
- package/dist/chunks/chunk-R2HH6LHS.js +0 -1845
- package/dist/chunks/chunk-R3RPQEL2.js +0 -317
- package/dist/chunks/chunk-R7QF6R3N.js +0 -261
- package/dist/chunks/chunk-RAOCFOTR.js +0 -55
- package/dist/chunks/chunk-RBGMDAOV.js +0 -166
- package/dist/chunks/chunk-RBZB4MT3.js +0 -382
- package/dist/chunks/chunk-RDQXFRUQ.js +0 -125
- package/dist/chunks/chunk-REID2NPP.js +0 -119
- package/dist/chunks/chunk-RF7F33MU.js +0 -279
- package/dist/chunks/chunk-RFPT4JQQ.js +0 -60
- package/dist/chunks/chunk-RJVW2OTT.js +0 -115
- package/dist/chunks/chunk-RKKOMZO6.js +0 -33
- package/dist/chunks/chunk-RKYIRB7C.js +0 -39
- package/dist/chunks/chunk-RMDC4ZOI.js +0 -122
- package/dist/chunks/chunk-RO4FESUC.js +0 -282
- package/dist/chunks/chunk-ROZDIKU2.js +0 -36
- package/dist/chunks/chunk-RPNX3W37.js +0 -93
- package/dist/chunks/chunk-RTLHQOM3.js +0 -78
- package/dist/chunks/chunk-RUI7USG5.js +0 -85
- package/dist/chunks/chunk-RX4M6KST.js +0 -287
- package/dist/chunks/chunk-RXDPCSLD.js +0 -390
- package/dist/chunks/chunk-RXG7T7TH.js +0 -51
- package/dist/chunks/chunk-RYCXNOJY.js +0 -100
- package/dist/chunks/chunk-RZ6BQ24D.js +0 -121
- package/dist/chunks/chunk-S2NXTQYX.js +0 -135
- package/dist/chunks/chunk-S2PW3D5R.js +0 -185
- package/dist/chunks/chunk-S37F4WD5.js +0 -262
- package/dist/chunks/chunk-S3XKFDBM.js +0 -140
- package/dist/chunks/chunk-S4K6WYPE.js +0 -116
- package/dist/chunks/chunk-S7BGSBZS.js +0 -33
- package/dist/chunks/chunk-S7V2MJIH.js +0 -90
- package/dist/chunks/chunk-SAEVORI3.js +0 -78
- package/dist/chunks/chunk-SAVABDVA.js +0 -198
- package/dist/chunks/chunk-SC3KJUK4.js +0 -61
- package/dist/chunks/chunk-SCECZ7O2.js +0 -131
- package/dist/chunks/chunk-SCREZMKA.js +0 -143
- package/dist/chunks/chunk-SEGMYWT5.js +0 -204
- package/dist/chunks/chunk-SFTN3236.js +0 -155
- package/dist/chunks/chunk-SHB7PSPV.js +0 -93
- package/dist/chunks/chunk-SJIJXDZF.js +0 -79
- package/dist/chunks/chunk-SK7C77RP.js +0 -230
- package/dist/chunks/chunk-SKDZZLVY.js +0 -23
- package/dist/chunks/chunk-SLQKGCIA.js +0 -86
- package/dist/chunks/chunk-SOBXZNTD.js +0 -162
- package/dist/chunks/chunk-SPRPUZ3H.js +0 -112
- package/dist/chunks/chunk-SQG4G3PA.js +0 -336
- package/dist/chunks/chunk-SQMEMBWT.js +0 -777
- package/dist/chunks/chunk-SQTZKZ4G.js +0 -23
- package/dist/chunks/chunk-SR4TP75H.js +0 -98
- package/dist/chunks/chunk-SRAJ5PNX.js +0 -106
- package/dist/chunks/chunk-SRROMFBW.js +0 -315
- package/dist/chunks/chunk-ST677U2P.js +0 -198
- package/dist/chunks/chunk-STD7SM5H.js +0 -137
- package/dist/chunks/chunk-SUMRUI7X.js +0 -412
- package/dist/chunks/chunk-SUOFNWHY.js +0 -89
- package/dist/chunks/chunk-SWKYIIDD.js +0 -48
- package/dist/chunks/chunk-SWZHIH46.js +0 -115
- package/dist/chunks/chunk-SXDEXQBW.js +0 -68
- package/dist/chunks/chunk-SXK76ZOH.js +0 -331
- package/dist/chunks/chunk-SXUNSSRJ.js +0 -33
- package/dist/chunks/chunk-T26BMAIP.js +0 -297
- package/dist/chunks/chunk-T3HQZPPR.js +0 -77
- package/dist/chunks/chunk-TAGXQCXV.js +0 -62
- package/dist/chunks/chunk-TARJUWS6.js +0 -170
- package/dist/chunks/chunk-TBOT7VW7.js +0 -45
- package/dist/chunks/chunk-TCDV5UY2.js +0 -170
- package/dist/chunks/chunk-TCKVH2X6.js +0 -176
- package/dist/chunks/chunk-TDE7TW2F.js +0 -154
- package/dist/chunks/chunk-TEFJW4NZ.js +0 -85
- package/dist/chunks/chunk-TGFZWVG6.js +0 -101
- package/dist/chunks/chunk-TGSO26VR.js +0 -340
- package/dist/chunks/chunk-TH56ELBN.js +0 -156
- package/dist/chunks/chunk-TH62QPUN.js +0 -112
- package/dist/chunks/chunk-THO74VRS.js +0 -298
- package/dist/chunks/chunk-THQQDD4D.js +0 -92
- package/dist/chunks/chunk-THSQSLZ2.js +0 -262
- package/dist/chunks/chunk-TIC26HFV.js +0 -122
- package/dist/chunks/chunk-TJCXGMBS.js +0 -209
- package/dist/chunks/chunk-TKFFIQV4.js +0 -23
- package/dist/chunks/chunk-TM4LPOUZ.js +0 -1649
- package/dist/chunks/chunk-TNE5Z6IB.js +0 -95
- package/dist/chunks/chunk-TOG2O2P2.js +0 -104
- package/dist/chunks/chunk-TORA6ZBF.js +0 -92
- package/dist/chunks/chunk-TQ3U7WSC.js +0 -145
- package/dist/chunks/chunk-TRKY4KBA.js +0 -41
- package/dist/chunks/chunk-TSETHLMX.js +0 -512
- package/dist/chunks/chunk-TSZLSYVJ.js +0 -75
- package/dist/chunks/chunk-TTYZYD3I.js +0 -558
- package/dist/chunks/chunk-TUJKLV6B.js +0 -261
- package/dist/chunks/chunk-TVHRTJZQ.js +0 -150
- package/dist/chunks/chunk-TVR72SGP.js +0 -117
- package/dist/chunks/chunk-TWSGXSNX.js +0 -479
- package/dist/chunks/chunk-TX2GRMVH.js +0 -632
- package/dist/chunks/chunk-TXR7ODD5.js +0 -23
- package/dist/chunks/chunk-TXS6YZU7.js +0 -94
- package/dist/chunks/chunk-TY3HO5DD.js +0 -196
- package/dist/chunks/chunk-TZHWIVE5.js +0 -1188
- package/dist/chunks/chunk-U2YFUJ7J.js +0 -106
- package/dist/chunks/chunk-U4DTMXZV.js +0 -33
- package/dist/chunks/chunk-U4U7QJ4C.js +0 -75
- package/dist/chunks/chunk-U5CWENRS.js +0 -361
- package/dist/chunks/chunk-U66C744L.js +0 -141
- package/dist/chunks/chunk-U7KFCH5U.js +0 -23
- package/dist/chunks/chunk-U7KVOBXZ.js +0 -157
- package/dist/chunks/chunk-UAIFVQOA.js +0 -156
- package/dist/chunks/chunk-UBCYP6QI.js +0 -260
- package/dist/chunks/chunk-UEPHAAVS.js +0 -83
- package/dist/chunks/chunk-UEWGZ7ZN.js +0 -106
- package/dist/chunks/chunk-UHA23T2C.js +0 -1574
- package/dist/chunks/chunk-UHQDLMCA.js +0 -182
- package/dist/chunks/chunk-UJS5YPK4.js +0 -484
- package/dist/chunks/chunk-UK34EPJD.js +0 -138
- package/dist/chunks/chunk-UKEUGRG4.js +0 -194
- package/dist/chunks/chunk-UL2VPV72.js +0 -247
- package/dist/chunks/chunk-UL47XQC4.js +0 -90
- package/dist/chunks/chunk-UMHPXVRM.js +0 -457
- package/dist/chunks/chunk-UQCMMG7O.js +0 -161
- package/dist/chunks/chunk-UQXM4EU6.js +0 -84
- package/dist/chunks/chunk-URAYGWW3.js +0 -153
- package/dist/chunks/chunk-USJFXSQX.js +0 -172
- package/dist/chunks/chunk-UTMEN2SL.js +0 -88
- package/dist/chunks/chunk-UUOJPCLB.js +0 -102
- package/dist/chunks/chunk-UVRRQDSC.js +0 -187
- package/dist/chunks/chunk-UXMVCEV6.js +0 -139
- package/dist/chunks/chunk-UXTRBMKW.js +0 -146
- package/dist/chunks/chunk-V25RKIHS.js +0 -136
- package/dist/chunks/chunk-V3D27EBS.js +0 -23
- package/dist/chunks/chunk-V4QT5TNS.js +0 -97
- package/dist/chunks/chunk-V5YL5VIW.js +0 -111
- package/dist/chunks/chunk-V5Z7HEWL.js +0 -23
- package/dist/chunks/chunk-V7XHUGX5.js +0 -226
- package/dist/chunks/chunk-VB2QT3P7.js +0 -10425
- package/dist/chunks/chunk-VB3JCUHE.js +0 -106
- package/dist/chunks/chunk-VB3UA2ZJ.js +0 -112
- package/dist/chunks/chunk-VCA2FKMF.js +0 -464
- package/dist/chunks/chunk-VCH5W7EW.js +0 -487
- package/dist/chunks/chunk-VDAZRVVL.js +0 -117
- package/dist/chunks/chunk-VDNB6BVC.js +0 -83
- package/dist/chunks/chunk-VEEHHRGB.js +0 -84
- package/dist/chunks/chunk-VELAO7KY.js +0 -95
- package/dist/chunks/chunk-VETL4UOP.js +0 -124
- package/dist/chunks/chunk-VF2CGZGQ.js +0 -428
- package/dist/chunks/chunk-VHB3NN3N.js +0 -206
- package/dist/chunks/chunk-VHNJSBLQ.js +0 -305
- package/dist/chunks/chunk-VI4XLCBB.js +0 -196
- package/dist/chunks/chunk-VIDOT3BT.js +0 -803
- package/dist/chunks/chunk-VJ65B6XT.js +0 -116
- package/dist/chunks/chunk-VJKFEJPG.js +0 -112
- package/dist/chunks/chunk-VJTMGZIF.js +0 -159
- package/dist/chunks/chunk-VKMQPITY.js +0 -86
- package/dist/chunks/chunk-VKZ2VJZJ.js +0 -105
- package/dist/chunks/chunk-VLB4KIHU.js +0 -10182
- package/dist/chunks/chunk-VMP4CDDC.js +0 -33
- package/dist/chunks/chunk-VNOEAP4Z.js +0 -1307
- package/dist/chunks/chunk-VQ3P562E.js +0 -480
- package/dist/chunks/chunk-VQFCNLSU.js +0 -157
- package/dist/chunks/chunk-VRMOABZB.js +0 -170
- package/dist/chunks/chunk-VSCIKRIG.js +0 -385
- package/dist/chunks/chunk-VVMN2PBM.js +0 -97
- package/dist/chunks/chunk-VW3PMAH4.js +0 -100
- package/dist/chunks/chunk-VYPACEAR.js +0 -256
- package/dist/chunks/chunk-VZRR2GPU.js +0 -194
- package/dist/chunks/chunk-W2UFHFDJ.js +0 -45
- package/dist/chunks/chunk-W3G3WOBH.js +0 -81
- package/dist/chunks/chunk-W5N2TFEA.js +0 -149
- package/dist/chunks/chunk-W5NE37NW.js +0 -141
- package/dist/chunks/chunk-W6DLY4HH.js +0 -60
- package/dist/chunks/chunk-W7KBVCTT.js +0 -103
- package/dist/chunks/chunk-WABAIWOA.js +0 -101
- package/dist/chunks/chunk-WBFFALRV.js +0 -246
- package/dist/chunks/chunk-WF4LNUA3.js +0 -212
- package/dist/chunks/chunk-WHJTTP23.js +0 -33
- package/dist/chunks/chunk-WHNMFGHU.js +0 -182
- package/dist/chunks/chunk-WIPYOZHQ.js +0 -45
- package/dist/chunks/chunk-WIV4BZGQ.js +0 -112
- package/dist/chunks/chunk-WJVPTFHW.js +0 -274
- package/dist/chunks/chunk-WKRGGLHZ.js +0 -74
- package/dist/chunks/chunk-WLLBZZXO.js +0 -185
- package/dist/chunks/chunk-WLMST5SL.js +0 -276
- package/dist/chunks/chunk-WMKIEPED.js +0 -358
- package/dist/chunks/chunk-WMRGILUM.js +0 -79
- package/dist/chunks/chunk-WTDOX47Q.js +0 -100
- package/dist/chunks/chunk-WUZXZD2D.js +0 -497
- package/dist/chunks/chunk-WYZC5IPY.js +0 -624
- package/dist/chunks/chunk-WZG7BJQ2.js +0 -93
- package/dist/chunks/chunk-X3LPS3PL.js +0 -330
- package/dist/chunks/chunk-X4YMXKKS.js +0 -23
- package/dist/chunks/chunk-X6SXY6RV.js +0 -102
- package/dist/chunks/chunk-X6UZTNWO.js +0 -255
- package/dist/chunks/chunk-XADSA6WW.js +0 -503
- package/dist/chunks/chunk-XAFCPB5K.js +0 -181
- package/dist/chunks/chunk-XBTWL72L.js +0 -33
- package/dist/chunks/chunk-XCAEZS56.js +0 -351
- package/dist/chunks/chunk-XDGH7XJ2.js +0 -150
- package/dist/chunks/chunk-XDGHQLMH.js +0 -150
- package/dist/chunks/chunk-XESYDWO7.js +0 -175
- package/dist/chunks/chunk-XET6DOYD.js +0 -71
- package/dist/chunks/chunk-XEYLCUTG.js +0 -198
- package/dist/chunks/chunk-XFJ4FYVP.js +0 -87
- package/dist/chunks/chunk-XFTO6R7G.js +0 -261
- package/dist/chunks/chunk-XG6DFZPR.js +0 -361
- package/dist/chunks/chunk-XGCZEVSE.js +0 -95
- package/dist/chunks/chunk-XGMZFZLX.js +0 -368
- package/dist/chunks/chunk-XJCR63LR.js +0 -283
- package/dist/chunks/chunk-XJLAC2XI.js +0 -80
- package/dist/chunks/chunk-XM6DIAFX.js +0 -204
- package/dist/chunks/chunk-XNUUN63I.js +0 -108
- package/dist/chunks/chunk-XNZ23ICS.js +0 -151
- package/dist/chunks/chunk-XOWCJUZX.js +0 -104
- package/dist/chunks/chunk-XVM6A5DD.js +0 -251
- package/dist/chunks/chunk-XVZVE7VD.js +0 -514
- package/dist/chunks/chunk-XYY2NQK6.js +0 -327
- package/dist/chunks/chunk-XZ6FGNG5.js +0 -105
- package/dist/chunks/chunk-XZC37K4Q.js +0 -284
- package/dist/chunks/chunk-Y2GSCCDX.js +0 -23
- package/dist/chunks/chunk-Y34IK6FH.js +0 -1804
- package/dist/chunks/chunk-Y3JRZECN.js +0 -189
- package/dist/chunks/chunk-Y3NU24MO.js +0 -172
- package/dist/chunks/chunk-Y5O7OZA6.js +0 -222
- package/dist/chunks/chunk-Y66RYOXD.js +0 -163
- package/dist/chunks/chunk-Y7RIDQCI.js +0 -79
- package/dist/chunks/chunk-YAAK4UP3.js +0 -97
- package/dist/chunks/chunk-YAMPOT4S.js +0 -122
- package/dist/chunks/chunk-YBMFHVGV.js +0 -152
- package/dist/chunks/chunk-YD4VVZCN.js +0 -47
- package/dist/chunks/chunk-YD7SOI6Q.js +0 -177
- package/dist/chunks/chunk-YEBP2C5D.js +0 -266
- package/dist/chunks/chunk-YENQRE5H.js +0 -100
- package/dist/chunks/chunk-YGFUDVW6.js +0 -152
- package/dist/chunks/chunk-YGVGBYZU.js +0 -181
- package/dist/chunks/chunk-YH5Q2ZLB.js +0 -166
- package/dist/chunks/chunk-YHIH4NOY.js +0 -149
- package/dist/chunks/chunk-YHJ2I4YG.js +0 -164
- package/dist/chunks/chunk-YHP27F72.js +0 -53
- package/dist/chunks/chunk-YHWRHA6C.js +0 -53
- package/dist/chunks/chunk-YI7AYYKO.js +0 -77
- package/dist/chunks/chunk-YIVOJEIX.js +0 -66
- package/dist/chunks/chunk-YOII6SJF.js +0 -197
- package/dist/chunks/chunk-YPESQICC.js +0 -38
- package/dist/chunks/chunk-YPFVTYA2.js +0 -192
- package/dist/chunks/chunk-YTJRWEJA.js +0 -471
- package/dist/chunks/chunk-YTSZJ5GS.js +0 -91
- package/dist/chunks/chunk-YVUYNEKE.js +0 -200
- package/dist/chunks/chunk-YXEKA5PU.js +0 -33
- package/dist/chunks/chunk-YYIFIWE7.js +0 -195
- package/dist/chunks/chunk-YZB4M5WN.js +0 -151
- package/dist/chunks/chunk-Z2J4D33F.js +0 -231
- package/dist/chunks/chunk-Z46TW6X2.js +0 -184
- package/dist/chunks/chunk-Z7TZTRPQ.js +0 -45
- package/dist/chunks/chunk-ZALRNSW5.js +0 -107
- package/dist/chunks/chunk-ZAO3BCZ4.js +0 -42
- package/dist/chunks/chunk-ZAO4CXUV.js +0 -23
- package/dist/chunks/chunk-ZC635HJD.js +0 -361
- package/dist/chunks/chunk-ZD42XWVU.js +0 -160
- package/dist/chunks/chunk-ZI7GDM35.js +0 -161
- package/dist/chunks/chunk-ZIHKLSPG.js +0 -171
- package/dist/chunks/chunk-ZKZ5QU5V.js +0 -33
- package/dist/chunks/chunk-ZMDDFSDE.js +0 -187
- package/dist/chunks/chunk-ZMVSPG6H.js +0 -82
- package/dist/chunks/chunk-ZPEGEDPD.js +0 -33
- package/dist/chunks/chunk-ZTXZVDQO.js +0 -196
- package/dist/chunks/chunk-ZU3VB6IG.js +0 -266
- package/dist/chunks/chunk-ZUYAAMGW.js +0 -121
- package/dist/chunks/chunk-ZV2V2KK5.js +0 -141
- package/dist/chunks/chunk-ZV5CIVTN.js +0 -98
- package/dist/chunks/chunk-ZWQL5ND2.js +0 -85
- package/dist/chunks/chunk-ZWSJXS2P.js +0 -101
- package/dist/chunks/chunk-ZWYDL5WG.js +0 -137
- package/dist/chunks/chunk-ZXO6X6TJ.js +0 -130
- package/dist/chunks/chunk-ZXT7BHFK.js +0 -567
- package/dist/chunks/client-GXOJ2SK7.js +0 -167
- package/dist/chunks/client-JNBB55EX.js +0 -44
- package/dist/chunks/client-VLRSGSMT.js +0 -31
- package/dist/chunks/client-actions-MLXNUGSS.js +0 -156
- package/dist/chunks/client-store-AFPAZKZE.js +0 -33
- package/dist/chunks/components-X4JLTAOS.js +0 -71
- package/dist/chunks/dangerous-SETMYTN3.js +0 -116
- package/dist/chunks/document-library-2UNJ53LK.js +0 -62
- package/dist/chunks/editor-seams-OQAFOJI4.js +0 -157
- package/dist/chunks/editor-store-NJ4MRUTP.js +0 -135
- package/dist/chunks/export-2ZFGGPUM.js +0 -67
- package/dist/chunks/export-fills-VS4VV6C4.js +0 -35
- package/dist/chunks/export-watermark-5LBWAZ3S.js +0 -142
- package/dist/chunks/eyedropper-PUDJWNPC.js +0 -345
- package/dist/chunks/fonts-6AMHDLOR.js +0 -39
- package/dist/chunks/generate-media-UGEZAXCP.js +0 -253
- package/dist/chunks/headless-F7NGN6XS.js +0 -186
- package/dist/chunks/host-PYXRSU3A.js +0 -239
- package/dist/chunks/host-XQG4NNEM.js +0 -167
- package/dist/chunks/import-M3S5YSER.js +0 -702
- package/dist/chunks/import-merge-GMGMRNJH.js +0 -35
- package/dist/chunks/instances-44O2OKTS.js +0 -79
- package/dist/chunks/integrations-VDSIL3YY.js +0 -115
- package/dist/chunks/invariants-Y4REIFB4.js +0 -61
- package/dist/chunks/kit-modules-IMP2JUFH.js +0 -18
- package/dist/chunks/libraries-6THB6H5C.js +0 -298
- package/dist/chunks/library-previews-3IG5DPMU.js +0 -199
- package/dist/chunks/live-LQ4LJE5T.js +0 -308
- package/dist/chunks/lottie-FVEYORWJ.js +0 -85
- package/dist/chunks/media-tool-O5HQES6N.js +0 -328
- package/dist/chunks/new-file-IXRI5FF2.js +0 -125
- package/dist/chunks/next-commerce-RQ2DGR26.js +0 -66
- package/dist/chunks/page-thumbnails-M24U3JAO.js +0 -133
- package/dist/chunks/pdf-GMZAPMRD.js +0 -1216
- package/dist/chunks/pdf-import-B6EZYYQC.js +0 -370
- package/dist/chunks/plan-GRXCHH66.js +0 -82
- package/dist/chunks/player-check-WN2GR2PK.js +0 -113
- package/dist/chunks/plugin-KEBRTQTN.js +0 -123
- package/dist/chunks/plugin-import-EA7N6PND.js +0 -660
- package/dist/chunks/pptx-EAWSIPT4.js +0 -309
- package/dist/chunks/presence-OL4OBWO7.js +0 -123
- package/dist/chunks/preview-media-YVIYCXA6.js +0 -121
- package/dist/chunks/project-UVM2AYVW.js +0 -1648
- package/dist/chunks/publish-site-RXV2YI2W.js +0 -154
- package/dist/chunks/publish-store-EUI6UU5O.js +0 -93
- package/dist/chunks/raster-actions-HRPA4JHC.js +0 -225
- package/dist/chunks/reference-images-MA3YCEO6.js +0 -62
- package/dist/chunks/resolvers-XK3LPQEY.js +0 -138
- package/dist/chunks/review-kits-6HMTH4T4.js +0 -41
- package/dist/chunks/runner-CLMKK5RT.js +0 -1229
- package/dist/chunks/runtime-G3ZENLKG.js +0 -32
- package/dist/chunks/shader-preview-4VQPTGDS.js +0 -518
- package/dist/chunks/shaper-5ZNY5DTX.js +0 -64
- package/dist/chunks/sites-3JKAKXQN.js +0 -33
- package/dist/chunks/store-VTBBTRHZ.js +0 -220
- package/dist/chunks/storefront-IHRHTJKS.js +0 -327
- package/dist/chunks/storefront-prepare-3NO4J3C5.js +0 -33
- package/dist/chunks/stress-document-VC4CJ2LR.js +0 -126
- package/dist/chunks/svg-export-NYENZCJL.js +0 -80
- package/dist/chunks/svg-place-ABKQLXWN.js +0 -39
- package/dist/chunks/sync-C75YXPKS.js +0 -149
- package/dist/chunks/tabs-T2JJYBAR.js +0 -307
- package/dist/chunks/team-P5YGDX25.js +0 -44
- package/dist/chunks/templates-E2RSOQGW.js +0 -181
- package/dist/chunks/theme-store-KIOR4H4Y.js +0 -39
- package/dist/chunks/tools-UIBU4UDE.js +0 -35
- package/dist/chunks/tree-CXIRATHO.js +0 -72
- package/dist/chunks/ui-commands-BHPGYGOX.js +0 -265
- package/dist/chunks/use-ZU574W54.js +0 -45
- package/dist/chunks/versions-ZH26XLWN.js +0 -307
- package/dist/chunks/video-EKB3VOPB.js +0 -75
- package/dist/chunks/web-CRD2WZ6X.js +0 -170
- /package/dist/chunks/{chunk-GBLJAFGZ.js → chunk-CXBTOEZ6.js} +0 -0
- /package/dist/chunks/{chunk-MELC4CJB.js → chunk-FIIOCXDS.js} +0 -0
|
@@ -1,2662 +0,0 @@
|
|
|
1
|
-
import { createRequire as __popcraftRequire } from 'node:module';
|
|
2
|
-
import { fileURLToPath as __popcraftPath } from 'node:url';
|
|
3
|
-
import { dirname as __popcraftDirname } from 'node:path';
|
|
4
|
-
const require = __popcraftRequire(import.meta.url);
|
|
5
|
-
const __filename = __popcraftPath(import.meta.url);
|
|
6
|
-
const __dirname = __popcraftDirname(__filename);
|
|
7
|
-
import {
|
|
8
|
-
init_palettes,
|
|
9
|
-
presetPalette
|
|
10
|
-
} from "./chunk-OGA5VCNY.js";
|
|
11
|
-
import {
|
|
12
|
-
init_page_presets,
|
|
13
|
-
kindForCategory,
|
|
14
|
-
presetById,
|
|
15
|
-
presetPx
|
|
16
|
-
} from "./chunk-HHQYOV6U.js";
|
|
17
|
-
import {
|
|
18
|
-
encodeCels,
|
|
19
|
-
init_cells
|
|
20
|
-
} from "./chunk-SZSJX54N.js";
|
|
21
|
-
import {
|
|
22
|
-
init_instance_layout,
|
|
23
|
-
instanceChildBox,
|
|
24
|
-
setSceneApi
|
|
25
|
-
} from "./chunk-4PE7EX3N.js";
|
|
26
|
-
import {
|
|
27
|
-
effectiveComponentProperties,
|
|
28
|
-
init_instances,
|
|
29
|
-
withPropertyPaths
|
|
30
|
-
} from "./chunk-NIHPNDDJ.js";
|
|
31
|
-
import {
|
|
32
|
-
init_variables,
|
|
33
|
-
resolveNodeVariables
|
|
34
|
-
} from "./chunk-OYXVKB4X.js";
|
|
35
|
-
import {
|
|
36
|
-
blursOf,
|
|
37
|
-
init_effects,
|
|
38
|
-
shadowsOf
|
|
39
|
-
} from "./chunk-TZHWIVE5.js";
|
|
40
|
-
import {
|
|
41
|
-
init_layout_access,
|
|
42
|
-
readCachedTextLayout
|
|
43
|
-
} from "./chunk-MFNTHBR5.js";
|
|
44
|
-
import {
|
|
45
|
-
init_scene3d,
|
|
46
|
-
scene3dOf,
|
|
47
|
-
sceneLayers,
|
|
48
|
-
setVirtualResolver
|
|
49
|
-
} from "./chunk-MF4NUZBE.js";
|
|
50
|
-
import {
|
|
51
|
-
fromAffine,
|
|
52
|
-
init_transform3d,
|
|
53
|
-
mul4,
|
|
54
|
-
projectRect,
|
|
55
|
-
sceneFrame
|
|
56
|
-
} from "./chunk-7ECF2YL5.js";
|
|
57
|
-
import {
|
|
58
|
-
IDENTITY,
|
|
59
|
-
aabbOf,
|
|
60
|
-
apply,
|
|
61
|
-
decompose,
|
|
62
|
-
determinant,
|
|
63
|
-
init_transform,
|
|
64
|
-
invert,
|
|
65
|
-
lengthScale,
|
|
66
|
-
localCentre,
|
|
67
|
-
localMatrix,
|
|
68
|
-
multiply,
|
|
69
|
-
nearestAngle,
|
|
70
|
-
nodeFlips,
|
|
71
|
-
restValue,
|
|
72
|
-
withoutFlips
|
|
73
|
-
} from "./chunk-PSVLITJE.js";
|
|
74
|
-
import {
|
|
75
|
-
init_dist_node,
|
|
76
|
-
v4_default
|
|
77
|
-
} from "./chunk-CQPFKV2N.js";
|
|
78
|
-
import {
|
|
79
|
-
createColor,
|
|
80
|
-
createDefaultSceneNodeProps,
|
|
81
|
-
createSolidPaint,
|
|
82
|
-
init_types
|
|
83
|
-
} from "./chunk-CVWCFBOJ.js";
|
|
84
|
-
import {
|
|
85
|
-
init_define_POPCRAFT_COMPONENT_IDS
|
|
86
|
-
} from "./chunk-6VMOKHMF.js";
|
|
87
|
-
import {
|
|
88
|
-
__esm,
|
|
89
|
-
__export,
|
|
90
|
-
__toCommonJS
|
|
91
|
-
} from "./chunk-LJSVREWM.js";
|
|
92
|
-
|
|
93
|
-
// lib/engine/routing.ts
|
|
94
|
-
function calculateOrthogonalPath(options) {
|
|
95
|
-
const { startPos, endPos, startDir, endDir, minSegmentLength = 20, obstacles, obstaclePadding = 14 } = options;
|
|
96
|
-
if (obstacles && obstacles.length > 0) {
|
|
97
|
-
const routed = routeAroundObstacles(startPos, endPos, startDir, endDir, obstacles, obstaclePadding, minSegmentLength);
|
|
98
|
-
if (routed) return routed;
|
|
99
|
-
}
|
|
100
|
-
const p1 = getPointAtDistance(startPos, startDir, minSegmentLength);
|
|
101
|
-
const p2 = getPointAtDistance(endPos, endDir, minSegmentLength);
|
|
102
|
-
const pts = [startPos, p1];
|
|
103
|
-
const isHoriz = (dir) => dir === "LEFT" || dir === "RIGHT" || dir === "CENTER";
|
|
104
|
-
if (isHoriz(startDir) && isHoriz(endDir)) {
|
|
105
|
-
const midX = (p1.x + p2.x) / 2;
|
|
106
|
-
pts.push({ x: midX, y: p1.y });
|
|
107
|
-
pts.push({ x: midX, y: p2.y });
|
|
108
|
-
} else if (!isHoriz(startDir) && !isHoriz(endDir)) {
|
|
109
|
-
const midY = (p1.y + p2.y) / 2;
|
|
110
|
-
pts.push({ x: p1.x, y: midY });
|
|
111
|
-
pts.push({ x: p2.x, y: midY });
|
|
112
|
-
} else if (isHoriz(startDir) && !isHoriz(endDir)) {
|
|
113
|
-
pts.push({ x: p2.x, y: p1.y });
|
|
114
|
-
} else {
|
|
115
|
-
pts.push({ x: p1.x, y: p2.y });
|
|
116
|
-
}
|
|
117
|
-
pts.push(p2);
|
|
118
|
-
pts.push(endPos);
|
|
119
|
-
return dedupe(pts);
|
|
120
|
-
}
|
|
121
|
-
function getPointAtDistance(pos, dir, dist) {
|
|
122
|
-
switch (dir) {
|
|
123
|
-
case "TOP":
|
|
124
|
-
return { x: pos.x, y: pos.y - dist };
|
|
125
|
-
case "BOTTOM":
|
|
126
|
-
return { x: pos.x, y: pos.y + dist };
|
|
127
|
-
case "LEFT":
|
|
128
|
-
return { x: pos.x - dist, y: pos.y };
|
|
129
|
-
case "RIGHT":
|
|
130
|
-
return { x: pos.x + dist, y: pos.y };
|
|
131
|
-
case "CENTER":
|
|
132
|
-
return { ...pos };
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
function dedupe(pts) {
|
|
136
|
-
const out = [];
|
|
137
|
-
for (let i = 0; i < pts.length; i++) {
|
|
138
|
-
if (i === 0 || Math.abs(pts[i].x - pts[i - 1].x) > 0.1 || Math.abs(pts[i].y - pts[i - 1].y) > 0.1) {
|
|
139
|
-
out.push(pts[i]);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
return out;
|
|
143
|
-
}
|
|
144
|
-
function inflate(r, p) {
|
|
145
|
-
return { x: r.x - p, y: r.y - p, w: r.w + 2 * p, h: r.h + 2 * p };
|
|
146
|
-
}
|
|
147
|
-
function segmentBlocked(ax, ay, bx, by, rects) {
|
|
148
|
-
const EPS = 0.01;
|
|
149
|
-
if (Math.abs(ay - by) < EPS) {
|
|
150
|
-
const y = ay;
|
|
151
|
-
const lo = Math.min(ax, bx), hi = Math.max(ax, bx);
|
|
152
|
-
for (const r of rects) {
|
|
153
|
-
const top = r.y, bot = r.y + r.h, left = r.x, right = r.x + r.w;
|
|
154
|
-
if (y > top + EPS && y < bot - EPS && hi > left + EPS && lo < right - EPS) return true;
|
|
155
|
-
}
|
|
156
|
-
} else {
|
|
157
|
-
const x = ax;
|
|
158
|
-
const lo = Math.min(ay, by), hi = Math.max(ay, by);
|
|
159
|
-
for (const r of rects) {
|
|
160
|
-
const top = r.y, bot = r.y + r.h, left = r.x, right = r.x + r.w;
|
|
161
|
-
if (x > left + EPS && x < right - EPS && hi > top + EPS && lo < bot - EPS) return true;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
return false;
|
|
165
|
-
}
|
|
166
|
-
function pointInsideAny(x, y, rects) {
|
|
167
|
-
const EPS = 0.01;
|
|
168
|
-
for (const r of rects) {
|
|
169
|
-
if (x > r.x + EPS && x < r.x + r.w - EPS && y > r.y + EPS && y < r.y + r.h - EPS) return true;
|
|
170
|
-
}
|
|
171
|
-
return false;
|
|
172
|
-
}
|
|
173
|
-
function uniqSorted(vals) {
|
|
174
|
-
const s = vals.slice().sort((a, b) => a - b);
|
|
175
|
-
const out = [];
|
|
176
|
-
for (const v of s) if (out.length === 0 || Math.abs(v - out[out.length - 1]) > 0.5) out.push(v);
|
|
177
|
-
return out;
|
|
178
|
-
}
|
|
179
|
-
function routeAroundObstacles(start, end, startDir, endDir, obstacles, padding, stub) {
|
|
180
|
-
const infl = obstacles.map((o) => inflate(o, padding));
|
|
181
|
-
const s1 = getPointAtDistance(start, startDir, stub);
|
|
182
|
-
const e1 = getPointAtDistance(end, endDir, stub);
|
|
183
|
-
let minX = Math.min(s1.x, e1.x), maxX = Math.max(s1.x, e1.x);
|
|
184
|
-
let minY = Math.min(s1.y, e1.y), maxY = Math.max(s1.y, e1.y);
|
|
185
|
-
for (const r of infl) {
|
|
186
|
-
minX = Math.min(minX, r.x);
|
|
187
|
-
maxX = Math.max(maxX, r.x + r.w);
|
|
188
|
-
minY = Math.min(minY, r.y);
|
|
189
|
-
maxY = Math.max(maxY, r.y + r.h);
|
|
190
|
-
}
|
|
191
|
-
const ring = padding + stub;
|
|
192
|
-
const xsRaw = [s1.x, e1.x, minX - ring, maxX + ring];
|
|
193
|
-
const ysRaw = [s1.y, e1.y, minY - ring, maxY + ring];
|
|
194
|
-
for (const r of infl) {
|
|
195
|
-
xsRaw.push(r.x, r.x + r.w);
|
|
196
|
-
ysRaw.push(r.y, r.y + r.h);
|
|
197
|
-
}
|
|
198
|
-
const X = uniqSorted(xsRaw);
|
|
199
|
-
const Y = uniqSorted(ysRaw);
|
|
200
|
-
if (X.length * Y.length > 4e3) return null;
|
|
201
|
-
const ix = (v) => X.findIndex((x) => Math.abs(x - v) < 0.5);
|
|
202
|
-
const iy = (v) => Y.findIndex((y) => Math.abs(y - v) < 0.5);
|
|
203
|
-
const si = ix(s1.x), sj = iy(s1.y), ti = ix(e1.x), tj = iy(e1.y);
|
|
204
|
-
if (si < 0 || sj < 0 || ti < 0 || tj < 0) return null;
|
|
205
|
-
if (pointInsideAny(s1.x, s1.y, infl) || pointInsideAny(e1.x, e1.y, infl)) return null;
|
|
206
|
-
const W = X.length, H = Y.length;
|
|
207
|
-
const cell = (i, j) => j * W + i;
|
|
208
|
-
const N = W * H;
|
|
209
|
-
const TURN = stub * 1.5;
|
|
210
|
-
const startAxis = startDir === "CENTER" ? 0 : HORIZ(startDir) ? 1 : 2;
|
|
211
|
-
const g = new Float64Array(N * 3).fill(Infinity);
|
|
212
|
-
const cameFrom = new Int32Array(N * 3).fill(-1);
|
|
213
|
-
const heurTarget = { x: X[ti], y: Y[tj] };
|
|
214
|
-
const h = (i, j) => Math.abs(X[i] - heurTarget.x) + Math.abs(Y[j] - heurTarget.y);
|
|
215
|
-
const heap = [];
|
|
216
|
-
const fscore = [];
|
|
217
|
-
const push = (id, f) => {
|
|
218
|
-
heap.push(id);
|
|
219
|
-
fscore.push(f);
|
|
220
|
-
let c = heap.length - 1;
|
|
221
|
-
while (c > 0) {
|
|
222
|
-
const p = c - 1 >> 1;
|
|
223
|
-
if (fscore[p] <= fscore[c]) break;
|
|
224
|
-
[heap[p], heap[c]] = [heap[c], heap[p]];
|
|
225
|
-
[fscore[p], fscore[c]] = [fscore[c], fscore[p]];
|
|
226
|
-
c = p;
|
|
227
|
-
}
|
|
228
|
-
};
|
|
229
|
-
const pop = () => {
|
|
230
|
-
const top = heap[0];
|
|
231
|
-
const lastId = heap.pop();
|
|
232
|
-
const lastF = fscore.pop();
|
|
233
|
-
if (heap.length > 0) {
|
|
234
|
-
heap[0] = lastId;
|
|
235
|
-
fscore[0] = lastF;
|
|
236
|
-
let c = 0;
|
|
237
|
-
for (; ; ) {
|
|
238
|
-
const l = 2 * c + 1, r = 2 * c + 2;
|
|
239
|
-
let m = c;
|
|
240
|
-
if (l < heap.length && fscore[l] < fscore[m]) m = l;
|
|
241
|
-
if (r < heap.length && fscore[r] < fscore[m]) m = r;
|
|
242
|
-
if (m === c) break;
|
|
243
|
-
[heap[m], heap[c]] = [heap[c], heap[m]];
|
|
244
|
-
[fscore[m], fscore[c]] = [fscore[c], fscore[m]];
|
|
245
|
-
c = m;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
return top;
|
|
249
|
-
};
|
|
250
|
-
const startState = cell(si, sj) * 3 + startAxis;
|
|
251
|
-
g[startState] = 0;
|
|
252
|
-
push(startState, h(si, sj));
|
|
253
|
-
const targetCell = cell(ti, tj);
|
|
254
|
-
let endState = -1;
|
|
255
|
-
while (heap.length > 0) {
|
|
256
|
-
const state = pop();
|
|
257
|
-
const c = Math.floor(state / 3);
|
|
258
|
-
const axis = state % 3;
|
|
259
|
-
if (c === targetCell) {
|
|
260
|
-
endState = state;
|
|
261
|
-
break;
|
|
262
|
-
}
|
|
263
|
-
const i = c % W, j = Math.floor(c / W);
|
|
264
|
-
const gc = g[state];
|
|
265
|
-
const moves = [
|
|
266
|
-
{ ni: i - 1, nj: j, ax: 1 },
|
|
267
|
-
{ ni: i + 1, nj: j, ax: 1 },
|
|
268
|
-
{ ni: i, nj: j - 1, ax: 2 },
|
|
269
|
-
{ ni: i, nj: j + 1, ax: 2 }
|
|
270
|
-
];
|
|
271
|
-
for (const mv of moves) {
|
|
272
|
-
if (mv.ni < 0 || mv.ni >= W || mv.nj < 0 || mv.nj >= H) continue;
|
|
273
|
-
if (segmentBlocked(X[i], Y[j], X[mv.ni], Y[mv.nj], infl)) continue;
|
|
274
|
-
const len = Math.abs(X[mv.ni] - X[i]) + Math.abs(Y[mv.nj] - Y[j]);
|
|
275
|
-
const turn = axis !== 0 && axis !== mv.ax ? TURN : 0;
|
|
276
|
-
const ns = cell(mv.ni, mv.nj) * 3 + mv.ax;
|
|
277
|
-
const ng = gc + len + turn;
|
|
278
|
-
if (ng < g[ns]) {
|
|
279
|
-
g[ns] = ng;
|
|
280
|
-
cameFrom[ns] = state;
|
|
281
|
-
push(ns, ng + h(mv.ni, mv.nj));
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
if (endState < 0) return null;
|
|
286
|
-
const way = [];
|
|
287
|
-
let s = endState;
|
|
288
|
-
while (s >= 0) {
|
|
289
|
-
const c = Math.floor(s / 3);
|
|
290
|
-
way.push({ x: X[c % W], y: Y[Math.floor(c / W)] });
|
|
291
|
-
s = cameFrom[s];
|
|
292
|
-
}
|
|
293
|
-
way.reverse();
|
|
294
|
-
return dedupe([start, ...way, end]);
|
|
295
|
-
}
|
|
296
|
-
function trimPolyline(pts, startTrim, endTrim) {
|
|
297
|
-
if (pts.length < 2) return null;
|
|
298
|
-
if (startTrim <= 0 && endTrim <= 0) return pts;
|
|
299
|
-
const n = pts.length;
|
|
300
|
-
const cum = new Array(n);
|
|
301
|
-
cum[0] = 0;
|
|
302
|
-
for (let i = 1; i < n; i++) {
|
|
303
|
-
cum[i] = cum[i - 1] + Math.hypot(pts[i].x - pts[i - 1].x, pts[i].y - pts[i - 1].y);
|
|
304
|
-
}
|
|
305
|
-
const total = cum[n - 1];
|
|
306
|
-
const s0 = Math.max(0, startTrim);
|
|
307
|
-
const s1 = total - Math.max(0, endTrim);
|
|
308
|
-
const EPS = 1e-3;
|
|
309
|
-
if (s1 - s0 < EPS) return null;
|
|
310
|
-
const pointAt = (s) => {
|
|
311
|
-
let i = 1;
|
|
312
|
-
while (i < n - 1 && cum[i] <= s) i++;
|
|
313
|
-
const segLen = cum[i] - cum[i - 1];
|
|
314
|
-
const t = segLen > 1e-6 ? (s - cum[i - 1]) / segLen : 0;
|
|
315
|
-
return {
|
|
316
|
-
x: pts[i - 1].x + (pts[i].x - pts[i - 1].x) * t,
|
|
317
|
-
y: pts[i - 1].y + (pts[i].y - pts[i - 1].y) * t
|
|
318
|
-
};
|
|
319
|
-
};
|
|
320
|
-
const out = [pointAt(s0)];
|
|
321
|
-
for (let i = 1; i < n - 1; i++) {
|
|
322
|
-
if (cum[i] > s0 + EPS && cum[i] < s1 - EPS) out.push(pts[i]);
|
|
323
|
-
}
|
|
324
|
-
out.push(pointAt(s1));
|
|
325
|
-
return out;
|
|
326
|
-
}
|
|
327
|
-
function calculateBezierPath(options, steps = 30) {
|
|
328
|
-
const { startPos, endPos, startDir, endDir } = options;
|
|
329
|
-
const dx = endPos.x - startPos.x;
|
|
330
|
-
const dy = endPos.y - startPos.y;
|
|
331
|
-
const dist = Math.max(Math.hypot(dx, dy) * 0.4, 40);
|
|
332
|
-
const actualDist = Math.hypot(dx, dy);
|
|
333
|
-
const numSteps = Math.max(30, Math.min(150, Math.floor(actualDist / 3)));
|
|
334
|
-
let cp1 = getPointAtDistance(startPos, startDir, dist);
|
|
335
|
-
let cp2 = getPointAtDistance(endPos, endDir, dist);
|
|
336
|
-
if (startDir === "CENTER") cp1 = { x: startPos.x + dx * 0.25, y: startPos.y + dy * 0.25 };
|
|
337
|
-
if (endDir === "CENTER") cp2 = { x: endPos.x - dx * 0.25, y: endPos.y - dy * 0.25 };
|
|
338
|
-
const pts = [];
|
|
339
|
-
for (let i = 0; i <= numSteps; i++) {
|
|
340
|
-
const t = i / numSteps;
|
|
341
|
-
const u = 1 - t;
|
|
342
|
-
const tt = t * t;
|
|
343
|
-
const uu = u * u;
|
|
344
|
-
const uuu = uu * u;
|
|
345
|
-
const ttt = tt * t;
|
|
346
|
-
const pX = uuu * startPos.x + 3 * uu * t * cp1.x + 3 * u * tt * cp2.x + ttt * endPos.x;
|
|
347
|
-
const pY = uuu * startPos.y + 3 * uu * t * cp1.y + 3 * u * tt * cp2.y + ttt * endPos.y;
|
|
348
|
-
pts.push({ x: pX, y: pY });
|
|
349
|
-
}
|
|
350
|
-
return dedupe(pts);
|
|
351
|
-
}
|
|
352
|
-
var HORIZ;
|
|
353
|
-
var init_routing = __esm({
|
|
354
|
-
"lib/engine/routing.ts"() {
|
|
355
|
-
"use strict";
|
|
356
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
357
|
-
HORIZ = (d) => d === "LEFT" || d === "RIGHT" || d === "CENTER";
|
|
358
|
-
}
|
|
359
|
-
});
|
|
360
|
-
|
|
361
|
-
// lib/engine/geometry/flatten.ts
|
|
362
|
-
function flattenQuadratic(x1, y1, cx, cy, x2, y2, points, tolerance) {
|
|
363
|
-
const dx = x2 - x1;
|
|
364
|
-
const dy = y2 - y1;
|
|
365
|
-
const d = Math.abs(dy * cx - dx * cy + x2 * y1 - y2 * x1);
|
|
366
|
-
const len = Math.sqrt(dx * dx + dy * dy);
|
|
367
|
-
if (len > 0 && d / len <= tolerance) {
|
|
368
|
-
points.push(x2, y2);
|
|
369
|
-
return;
|
|
370
|
-
}
|
|
371
|
-
const x12 = (x1 + cx) / 2;
|
|
372
|
-
const y12 = (y1 + cy) / 2;
|
|
373
|
-
const x23 = (cx + x2) / 2;
|
|
374
|
-
const y23 = (cy + y2) / 2;
|
|
375
|
-
const x123 = (x12 + x23) / 2;
|
|
376
|
-
const y123 = (y12 + y23) / 2;
|
|
377
|
-
flattenQuadratic(x1, y1, x12, y12, x123, y123, points, tolerance);
|
|
378
|
-
flattenQuadratic(x123, y123, x23, y23, x2, y2, points, tolerance);
|
|
379
|
-
}
|
|
380
|
-
function flattenCubic(x1, y1, c1x, c1y, c2x, c2y, x2, y2, points, tolerance) {
|
|
381
|
-
const dx = x2 - x1;
|
|
382
|
-
const dy = y2 - y1;
|
|
383
|
-
const d1 = Math.abs(dy * c1x - dx * c1y + x2 * y1 - y2 * x1);
|
|
384
|
-
const d2 = Math.abs(dy * c2x - dx * c2y + x2 * y1 - y2 * x1);
|
|
385
|
-
const len = Math.sqrt(dx * dx + dy * dy);
|
|
386
|
-
if (len > 0 && (d1 + d2) / len <= tolerance) {
|
|
387
|
-
points.push(x2, y2);
|
|
388
|
-
return;
|
|
389
|
-
}
|
|
390
|
-
const x12 = (x1 + c1x) / 2;
|
|
391
|
-
const y12 = (y1 + c1y) / 2;
|
|
392
|
-
const x23 = (c1x + c2x) / 2;
|
|
393
|
-
const y23 = (c1y + c2y) / 2;
|
|
394
|
-
const x34 = (c2x + x2) / 2;
|
|
395
|
-
const y34 = (c2y + y2) / 2;
|
|
396
|
-
const x123 = (x12 + x23) / 2;
|
|
397
|
-
const y123 = (y12 + y23) / 2;
|
|
398
|
-
const x234 = (x23 + x34) / 2;
|
|
399
|
-
const y234 = (y23 + y34) / 2;
|
|
400
|
-
const x1234 = (x123 + x234) / 2;
|
|
401
|
-
const y1234 = (y123 + y234) / 2;
|
|
402
|
-
flattenCubic(x1, y1, x12, y12, x123, y123, x1234, y1234, points, tolerance);
|
|
403
|
-
flattenCubic(x1234, y1234, x234, y234, x34, y34, x2, y2, points, tolerance);
|
|
404
|
-
}
|
|
405
|
-
function flattenPaths(paths, tolerance = DEFAULT_TOLERANCE) {
|
|
406
|
-
const result = [];
|
|
407
|
-
for (const path of paths) {
|
|
408
|
-
if (!path.points || path.points.length === 0) continue;
|
|
409
|
-
const flatPoints = [];
|
|
410
|
-
flatPoints.push(path.points[0].x, path.points[0].y);
|
|
411
|
-
for (let i = 1; i < path.points.length; i++) {
|
|
412
|
-
const prev = path.points[i - 1];
|
|
413
|
-
const curr = path.points[i];
|
|
414
|
-
if (prev.handleOut && curr.handleIn) {
|
|
415
|
-
flattenCubic(
|
|
416
|
-
prev.x,
|
|
417
|
-
prev.y,
|
|
418
|
-
prev.handleOut.x,
|
|
419
|
-
prev.handleOut.y,
|
|
420
|
-
curr.handleIn.x,
|
|
421
|
-
curr.handleIn.y,
|
|
422
|
-
curr.x,
|
|
423
|
-
curr.y,
|
|
424
|
-
flatPoints,
|
|
425
|
-
tolerance
|
|
426
|
-
);
|
|
427
|
-
} else if (prev.handleOut) {
|
|
428
|
-
flattenQuadratic(
|
|
429
|
-
prev.x,
|
|
430
|
-
prev.y,
|
|
431
|
-
prev.handleOut.x,
|
|
432
|
-
prev.handleOut.y,
|
|
433
|
-
curr.x,
|
|
434
|
-
curr.y,
|
|
435
|
-
flatPoints,
|
|
436
|
-
tolerance
|
|
437
|
-
);
|
|
438
|
-
} else if (curr.handleIn) {
|
|
439
|
-
flattenQuadratic(
|
|
440
|
-
prev.x,
|
|
441
|
-
prev.y,
|
|
442
|
-
curr.handleIn.x,
|
|
443
|
-
curr.handleIn.y,
|
|
444
|
-
curr.x,
|
|
445
|
-
curr.y,
|
|
446
|
-
flatPoints,
|
|
447
|
-
tolerance
|
|
448
|
-
);
|
|
449
|
-
} else {
|
|
450
|
-
flatPoints.push(curr.x, curr.y);
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
if (path.closed && path.points.length > 1) {
|
|
454
|
-
const curr = path.points[0];
|
|
455
|
-
const prev = path.points[path.points.length - 1];
|
|
456
|
-
if (prev.handleOut && curr.handleIn) {
|
|
457
|
-
flattenCubic(
|
|
458
|
-
prev.x,
|
|
459
|
-
prev.y,
|
|
460
|
-
prev.handleOut.x,
|
|
461
|
-
prev.handleOut.y,
|
|
462
|
-
curr.handleIn.x,
|
|
463
|
-
curr.handleIn.y,
|
|
464
|
-
curr.x,
|
|
465
|
-
curr.y,
|
|
466
|
-
flatPoints,
|
|
467
|
-
tolerance
|
|
468
|
-
);
|
|
469
|
-
} else if (prev.handleOut) {
|
|
470
|
-
flattenQuadratic(
|
|
471
|
-
prev.x,
|
|
472
|
-
prev.y,
|
|
473
|
-
prev.handleOut.x,
|
|
474
|
-
prev.handleOut.y,
|
|
475
|
-
curr.x,
|
|
476
|
-
curr.y,
|
|
477
|
-
flatPoints,
|
|
478
|
-
tolerance
|
|
479
|
-
);
|
|
480
|
-
} else if (curr.handleIn) {
|
|
481
|
-
flattenQuadratic(
|
|
482
|
-
prev.x,
|
|
483
|
-
prev.y,
|
|
484
|
-
curr.handleIn.x,
|
|
485
|
-
curr.handleIn.y,
|
|
486
|
-
curr.x,
|
|
487
|
-
curr.y,
|
|
488
|
-
flatPoints,
|
|
489
|
-
tolerance
|
|
490
|
-
);
|
|
491
|
-
} else {
|
|
492
|
-
flatPoints.push(curr.x, curr.y);
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
result.push(flatPoints);
|
|
496
|
-
}
|
|
497
|
-
return result;
|
|
498
|
-
}
|
|
499
|
-
var DEFAULT_TOLERANCE;
|
|
500
|
-
var init_flatten = __esm({
|
|
501
|
-
"lib/engine/geometry/flatten.ts"() {
|
|
502
|
-
"use strict";
|
|
503
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
504
|
-
DEFAULT_TOLERANCE = 0.25;
|
|
505
|
-
}
|
|
506
|
-
});
|
|
507
|
-
|
|
508
|
-
// lib/engine/text/glyph-linear.ts
|
|
509
|
-
function glyphLinear(g) {
|
|
510
|
-
if (g.xform) return g.xform;
|
|
511
|
-
if (!g.angle) return null;
|
|
512
|
-
const c = Math.cos(g.angle), s = Math.sin(g.angle);
|
|
513
|
-
return [c, s, -s, c];
|
|
514
|
-
}
|
|
515
|
-
var init_glyph_linear = __esm({
|
|
516
|
-
"lib/engine/text/glyph-linear.ts"() {
|
|
517
|
-
"use strict";
|
|
518
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
519
|
-
}
|
|
520
|
-
});
|
|
521
|
-
|
|
522
|
-
// lib/engine/text/outline-sdf.ts
|
|
523
|
-
function flattenPath(commands, t, line, tolerance = FLATTEN_TOLERANCE) {
|
|
524
|
-
const X = (x) => t.sx * x + t.tx;
|
|
525
|
-
const Y = (y) => t.sy * y + t.ty;
|
|
526
|
-
let sx = 0, sy = 0, cx = 0, cy = 0, open = false;
|
|
527
|
-
const close = () => {
|
|
528
|
-
if (open && (cx !== sx || cy !== sy)) line(cx, cy, sx, sy);
|
|
529
|
-
cx = sx;
|
|
530
|
-
cy = sy;
|
|
531
|
-
open = false;
|
|
532
|
-
};
|
|
533
|
-
for (const c of commands) {
|
|
534
|
-
const a = c.args;
|
|
535
|
-
switch (c.command) {
|
|
536
|
-
case "moveTo":
|
|
537
|
-
close();
|
|
538
|
-
sx = cx = X(a[0]);
|
|
539
|
-
sy = cy = Y(a[1]);
|
|
540
|
-
break;
|
|
541
|
-
case "lineTo": {
|
|
542
|
-
const x = X(a[0]), y = Y(a[1]);
|
|
543
|
-
line(cx, cy, x, y);
|
|
544
|
-
cx = x;
|
|
545
|
-
cy = y;
|
|
546
|
-
open = true;
|
|
547
|
-
break;
|
|
548
|
-
}
|
|
549
|
-
case "quadraticCurveTo": {
|
|
550
|
-
const x1 = X(a[0]), y1 = Y(a[1]), x2 = X(a[2]), y2 = Y(a[3]);
|
|
551
|
-
const dd = Math.hypot(cx - 2 * x1 + x2, cy - 2 * y1 + y2);
|
|
552
|
-
const n = Math.min(256, Math.max(1, Math.ceil(Math.sqrt(dd / (4 * tolerance)))));
|
|
553
|
-
let px = cx, py = cy;
|
|
554
|
-
for (let i = 1; i <= n; i++) {
|
|
555
|
-
const u = i / n, v = 1 - u;
|
|
556
|
-
const x = v * v * cx + 2 * u * v * x1 + u * u * x2;
|
|
557
|
-
const y = v * v * cy + 2 * u * v * y1 + u * u * y2;
|
|
558
|
-
line(px, py, x, y);
|
|
559
|
-
px = x;
|
|
560
|
-
py = y;
|
|
561
|
-
}
|
|
562
|
-
cx = x2;
|
|
563
|
-
cy = y2;
|
|
564
|
-
open = true;
|
|
565
|
-
break;
|
|
566
|
-
}
|
|
567
|
-
case "bezierCurveTo": {
|
|
568
|
-
const x1 = X(a[0]), y1 = Y(a[1]), x2 = X(a[2]), y2 = Y(a[3]), x3 = X(a[4]), y3 = Y(a[5]);
|
|
569
|
-
const dd = Math.max(Math.hypot(cx - 2 * x1 + x2, cy - 2 * y1 + y2), Math.hypot(x1 - 2 * x2 + x3, y1 - 2 * y2 + y3));
|
|
570
|
-
const n = Math.min(256, Math.max(1, Math.ceil(Math.sqrt(0.75 * dd / tolerance))));
|
|
571
|
-
let px = cx, py = cy;
|
|
572
|
-
for (let i = 1; i <= n; i++) {
|
|
573
|
-
const u = i / n, v = 1 - u;
|
|
574
|
-
const b0 = v * v * v, b1 = 3 * u * v * v, b2 = 3 * u * u * v, b3 = u * u * u;
|
|
575
|
-
const x = b0 * cx + b1 * x1 + b2 * x2 + b3 * x3;
|
|
576
|
-
const y = b0 * cy + b1 * y1 + b2 * y2 + b3 * y3;
|
|
577
|
-
line(px, py, x, y);
|
|
578
|
-
px = x;
|
|
579
|
-
py = y;
|
|
580
|
-
}
|
|
581
|
-
cx = x3;
|
|
582
|
-
cy = y3;
|
|
583
|
-
open = true;
|
|
584
|
-
break;
|
|
585
|
-
}
|
|
586
|
-
case "closePath":
|
|
587
|
-
close();
|
|
588
|
-
break;
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
close();
|
|
592
|
-
}
|
|
593
|
-
var FLATTEN_TOLERANCE;
|
|
594
|
-
var init_outline_sdf = __esm({
|
|
595
|
-
"lib/engine/text/outline-sdf.ts"() {
|
|
596
|
-
"use strict";
|
|
597
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
598
|
-
FLATTEN_TOLERANCE = 5e-3;
|
|
599
|
-
}
|
|
600
|
-
});
|
|
601
|
-
|
|
602
|
-
// lib/engine/text/text-rings.ts
|
|
603
|
-
function glyphTransform(g) {
|
|
604
|
-
const s = g.unitScale ?? 0;
|
|
605
|
-
return { sx: s, sy: -s, tx: g.penX ?? g.x, ty: g.baseline ?? g.y };
|
|
606
|
-
}
|
|
607
|
-
function glyphOutline(g) {
|
|
608
|
-
if (g.gid === void 0 || !g.font || !g.unitScale) return null;
|
|
609
|
-
let glyph;
|
|
610
|
-
try {
|
|
611
|
-
glyph = g.font.getGlyph(g.gid);
|
|
612
|
-
} catch {
|
|
613
|
-
return null;
|
|
614
|
-
}
|
|
615
|
-
const commands = glyph?.path?.commands;
|
|
616
|
-
if (!commands?.length) return null;
|
|
617
|
-
const t = glyphTransform(g);
|
|
618
|
-
const turn = glyphTurn(g);
|
|
619
|
-
return { commands, place: (x, y) => turn(t.sx * x + t.tx, t.sy * y + t.ty) };
|
|
620
|
-
}
|
|
621
|
-
function glyphTurn(g) {
|
|
622
|
-
const t = glyphTransform(g);
|
|
623
|
-
const m = glyphLinear(g);
|
|
624
|
-
return (x, y) => m ? [t.tx + (x - t.tx) * m[0] + (y - t.ty) * m[2], t.ty + (x - t.tx) * m[1] + (y - t.ty) * m[3]] : [x, y];
|
|
625
|
-
}
|
|
626
|
-
function glyphInstancesToRings(instances) {
|
|
627
|
-
const rings = [];
|
|
628
|
-
for (const g of instances) {
|
|
629
|
-
if (g.gid === void 0 || !g.font || !g.unitScale) continue;
|
|
630
|
-
let glyph;
|
|
631
|
-
try {
|
|
632
|
-
glyph = g.font.getGlyph(g.gid);
|
|
633
|
-
} catch {
|
|
634
|
-
continue;
|
|
635
|
-
}
|
|
636
|
-
const commands = glyph?.path?.commands;
|
|
637
|
-
if (!commands?.length) continue;
|
|
638
|
-
let current = [];
|
|
639
|
-
const push = () => {
|
|
640
|
-
if (current.length >= 3) rings.push(closeRing(current));
|
|
641
|
-
current = [];
|
|
642
|
-
};
|
|
643
|
-
const t = glyphTransform(g);
|
|
644
|
-
const turn = glyphTurn(g);
|
|
645
|
-
flattenPath(commands, t, (x0, y0, x1, y1) => {
|
|
646
|
-
const [ax, ay] = turn(x0, y0), [bx, by] = turn(x1, y1);
|
|
647
|
-
const last = current[current.length - 1];
|
|
648
|
-
if (!last || last[0] !== ax || last[1] !== ay) {
|
|
649
|
-
push();
|
|
650
|
-
current.push([ax, ay]);
|
|
651
|
-
}
|
|
652
|
-
current.push([bx, by]);
|
|
653
|
-
});
|
|
654
|
-
push();
|
|
655
|
-
}
|
|
656
|
-
return rings;
|
|
657
|
-
}
|
|
658
|
-
function closeRing(r) {
|
|
659
|
-
const a = r[0];
|
|
660
|
-
const b = r[r.length - 1];
|
|
661
|
-
return a[0] === b[0] && a[1] === b[1] ? r : [...r, [a[0], a[1]]];
|
|
662
|
-
}
|
|
663
|
-
var init_text_rings = __esm({
|
|
664
|
-
"lib/engine/text/text-rings.ts"() {
|
|
665
|
-
"use strict";
|
|
666
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
667
|
-
init_glyph_linear();
|
|
668
|
-
init_outline_sdf();
|
|
669
|
-
}
|
|
670
|
-
});
|
|
671
|
-
|
|
672
|
-
// lib/engine/geometry/shape-outline.ts
|
|
673
|
-
function shapeToRings(node, ox, oy) {
|
|
674
|
-
const w = node.width;
|
|
675
|
-
const h = node.height;
|
|
676
|
-
const cx = ox + w / 2;
|
|
677
|
-
const cy = oy + h / 2;
|
|
678
|
-
const rot = (node.rotation || 0) * Math.PI / 180;
|
|
679
|
-
const cosR = Math.cos(rot);
|
|
680
|
-
const sinR = Math.sin(rot);
|
|
681
|
-
const place2 = (lx, ly) => {
|
|
682
|
-
const dx = ox + lx - cx;
|
|
683
|
-
const dy = oy + ly - cy;
|
|
684
|
-
return [cx + dx * cosR - dy * sinR, cy + dx * sinR + dy * cosR];
|
|
685
|
-
};
|
|
686
|
-
const closeRing2 = (r) => {
|
|
687
|
-
if (r.length && (r[0][0] !== r[r.length - 1][0] || r[0][1] !== r[r.length - 1][1])) r.push([r[0][0], r[0][1]]);
|
|
688
|
-
return r;
|
|
689
|
-
};
|
|
690
|
-
switch (node.type) {
|
|
691
|
-
case "ELLIPSE": {
|
|
692
|
-
const rx = w / 2, ry = h / 2;
|
|
693
|
-
const ring = [];
|
|
694
|
-
for (let i = 0; i < ELLIPSE_SEGMENTS; i++) {
|
|
695
|
-
const a = i / ELLIPSE_SEGMENTS * Math.PI * 2;
|
|
696
|
-
ring.push(place2(w / 2 + rx * Math.cos(a), h / 2 + ry * Math.sin(a)));
|
|
697
|
-
}
|
|
698
|
-
return [closeRing2(ring)];
|
|
699
|
-
}
|
|
700
|
-
case "POLYGON": {
|
|
701
|
-
const n = Math.max(3, node.pointCount || 3);
|
|
702
|
-
const rx = w / 2, ry = h / 2;
|
|
703
|
-
const ring = [];
|
|
704
|
-
for (let i = 0; i < n; i++) {
|
|
705
|
-
const a = -Math.PI / 2 + i / n * Math.PI * 2;
|
|
706
|
-
ring.push(place2(w / 2 + rx * Math.cos(a), h / 2 + ry * Math.sin(a)));
|
|
707
|
-
}
|
|
708
|
-
return [closeRing2(ring)];
|
|
709
|
-
}
|
|
710
|
-
case "STAR": {
|
|
711
|
-
const n = Math.max(3, node.pointCount || 5);
|
|
712
|
-
const inner = node.innerRadius ?? 0.4;
|
|
713
|
-
const rx = w / 2, ry = h / 2;
|
|
714
|
-
const ring = [];
|
|
715
|
-
for (let i = 0; i < n * 2; i++) {
|
|
716
|
-
const a = -Math.PI / 2 + i / (n * 2) * Math.PI * 2;
|
|
717
|
-
const f = i % 2 === 0 ? 1 : inner;
|
|
718
|
-
ring.push(place2(w / 2 + rx * f * Math.cos(a), h / 2 + ry * f * Math.sin(a)));
|
|
719
|
-
}
|
|
720
|
-
return [closeRing2(ring)];
|
|
721
|
-
}
|
|
722
|
-
case "VECTOR": {
|
|
723
|
-
const paths = node.paths;
|
|
724
|
-
if (!paths || paths.length === 0) return [];
|
|
725
|
-
const flat = flattenPaths(paths);
|
|
726
|
-
return flat.filter((p) => p.length >= 6).map((p) => {
|
|
727
|
-
const ring = [];
|
|
728
|
-
for (let i = 0; i < p.length; i += 2) ring.push(place2(p[i], p[i + 1]));
|
|
729
|
-
return closeRing2(ring);
|
|
730
|
-
});
|
|
731
|
-
}
|
|
732
|
-
case "TEXT": {
|
|
733
|
-
const layout = readCachedTextLayout(node.id);
|
|
734
|
-
if (!layout) return [];
|
|
735
|
-
return glyphInstancesToRings(layout.instances).map((ring) => ring.map(([lx, ly]) => place2(lx, ly)));
|
|
736
|
-
}
|
|
737
|
-
case "LINE":
|
|
738
|
-
case "ARROW":
|
|
739
|
-
return [];
|
|
740
|
-
// no fillable area
|
|
741
|
-
default: {
|
|
742
|
-
return [closeRing2([place2(0, 0), place2(w, 0), place2(w, h), place2(0, h)])];
|
|
743
|
-
}
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
function tableCellGeom(table) {
|
|
747
|
-
const colCount = table.colCount || 5, rowCount = table.rowCount || 5;
|
|
748
|
-
const colWidths = table.colWidths && table.colWidths.length ? table.colWidths : Array(colCount).fill(140);
|
|
749
|
-
const rowHeights = table.rowHeights && table.rowHeights.length ? table.rowHeights : Array(rowCount).fill(32);
|
|
750
|
-
return { colWidths, rowHeights };
|
|
751
|
-
}
|
|
752
|
-
function tableCellRect(table, r, c) {
|
|
753
|
-
const { colWidths, rowHeights } = tableCellGeom(table);
|
|
754
|
-
let x = 0;
|
|
755
|
-
for (let i = 0; i < c; i++) x += colWidths[i] || 140;
|
|
756
|
-
let y = 0;
|
|
757
|
-
for (let i = 0; i < r; i++) y += rowHeights[i] || 32;
|
|
758
|
-
return { x, y, w: colWidths[c] || 140, h: rowHeights[r] || 32 };
|
|
759
|
-
}
|
|
760
|
-
function tableCellAnchor(table, r, c, edge) {
|
|
761
|
-
const rc = tableCellRect(table, r, c);
|
|
762
|
-
switch (edge) {
|
|
763
|
-
case "TOP":
|
|
764
|
-
return { x: rc.x + rc.w / 2, y: rc.y };
|
|
765
|
-
case "BOTTOM":
|
|
766
|
-
return { x: rc.x + rc.w / 2, y: rc.y + rc.h };
|
|
767
|
-
case "LEFT":
|
|
768
|
-
return { x: rc.x, y: rc.y + rc.h / 2 };
|
|
769
|
-
case "RIGHT":
|
|
770
|
-
return { x: rc.x + rc.w, y: rc.y + rc.h / 2 };
|
|
771
|
-
default:
|
|
772
|
-
return { x: rc.x + rc.w / 2, y: rc.y + rc.h / 2 };
|
|
773
|
-
}
|
|
774
|
-
}
|
|
775
|
-
function getConnectorAnchorLocal(node, position) {
|
|
776
|
-
const w = node.width || 1;
|
|
777
|
-
const h = node.height || 1;
|
|
778
|
-
if (node.type === "TABLE") {
|
|
779
|
-
const m = /^(\d+),(\d+):(TOP|BOTTOM|LEFT|RIGHT)$/.exec(position);
|
|
780
|
-
if (m) return tableCellAnchor(node, +m[1], +m[2], m[3]);
|
|
781
|
-
}
|
|
782
|
-
const bbox = {
|
|
783
|
-
TOP: { x: w / 2, y: 0 },
|
|
784
|
-
BOTTOM: { x: w / 2, y: h },
|
|
785
|
-
LEFT: { x: 0, y: h / 2 },
|
|
786
|
-
RIGHT: { x: w, y: h / 2 },
|
|
787
|
-
CENTER: { x: w / 2, y: h / 2 }
|
|
788
|
-
};
|
|
789
|
-
const pos = position in bbox ? position : "CENTER";
|
|
790
|
-
if (pos === "CENTER") return bbox.CENTER;
|
|
791
|
-
const boxy = /* @__PURE__ */ new Set([
|
|
792
|
-
"RECTANGLE",
|
|
793
|
-
"FRAME",
|
|
794
|
-
"IMAGE",
|
|
795
|
-
"TEXT",
|
|
796
|
-
"STICKY",
|
|
797
|
-
"GROUP",
|
|
798
|
-
"SECTION",
|
|
799
|
-
"COMPONENT",
|
|
800
|
-
"COMPONENT_SET",
|
|
801
|
-
"INSTANCE",
|
|
802
|
-
"TABLE",
|
|
803
|
-
"SLICE"
|
|
804
|
-
]);
|
|
805
|
-
if (boxy.has(node.type)) return bbox[pos];
|
|
806
|
-
const key = `${node.id}:${Math.round(w)}x${Math.round(h)}:${node.type}`;
|
|
807
|
-
let anchors = _anchorCache.get(key);
|
|
808
|
-
if (!anchors) {
|
|
809
|
-
anchors = { ...bbox };
|
|
810
|
-
let rings = [];
|
|
811
|
-
try {
|
|
812
|
-
rings = shapeToRings({ ...node, rotation: 0 }, 0, 0);
|
|
813
|
-
} catch {
|
|
814
|
-
rings = [];
|
|
815
|
-
}
|
|
816
|
-
if (rings.length) {
|
|
817
|
-
const yc = h / 2;
|
|
818
|
-
let minX = Infinity, maxX = -Infinity;
|
|
819
|
-
const xc = w / 2;
|
|
820
|
-
let minY = Infinity, maxY = -Infinity;
|
|
821
|
-
for (const ring of rings) {
|
|
822
|
-
for (let i = 1; i < ring.length; i++) {
|
|
823
|
-
const [x1, y1] = ring[i - 1], [x2, y2] = ring[i];
|
|
824
|
-
if (y1 <= yc && y2 >= yc || y2 <= yc && y1 >= yc) {
|
|
825
|
-
if (y1 !== y2) {
|
|
826
|
-
const t = (yc - y1) / (y2 - y1);
|
|
827
|
-
const x = x1 + t * (x2 - x1);
|
|
828
|
-
if (x < minX) minX = x;
|
|
829
|
-
if (x > maxX) maxX = x;
|
|
830
|
-
}
|
|
831
|
-
}
|
|
832
|
-
if (x1 <= xc && x2 >= xc || x2 <= xc && x1 >= xc) {
|
|
833
|
-
if (x1 !== x2) {
|
|
834
|
-
const t = (xc - x1) / (x2 - x1);
|
|
835
|
-
const y = y1 + t * (y2 - y1);
|
|
836
|
-
if (y < minY) minY = y;
|
|
837
|
-
if (y > maxY) maxY = y;
|
|
838
|
-
}
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
}
|
|
842
|
-
if (minX !== Infinity) {
|
|
843
|
-
anchors.LEFT = { x: minX, y: yc };
|
|
844
|
-
anchors.RIGHT = { x: maxX, y: yc };
|
|
845
|
-
}
|
|
846
|
-
if (minY !== Infinity) {
|
|
847
|
-
anchors.TOP = { x: xc, y: minY };
|
|
848
|
-
anchors.BOTTOM = { x: xc, y: maxY };
|
|
849
|
-
}
|
|
850
|
-
}
|
|
851
|
-
if (_anchorCache.size > 512) _anchorCache.clear();
|
|
852
|
-
_anchorCache.set(key, anchors);
|
|
853
|
-
}
|
|
854
|
-
return anchors[pos];
|
|
855
|
-
}
|
|
856
|
-
function connectorPositionDir(position) {
|
|
857
|
-
const m = /(TOP|BOTTOM|LEFT|RIGHT|CENTER)$/.exec(position || "");
|
|
858
|
-
return m ? m[1] : "CENTER";
|
|
859
|
-
}
|
|
860
|
-
var ELLIPSE_SEGMENTS, _anchorCache;
|
|
861
|
-
var init_shape_outline = __esm({
|
|
862
|
-
"lib/engine/geometry/shape-outline.ts"() {
|
|
863
|
-
"use strict";
|
|
864
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
865
|
-
init_flatten();
|
|
866
|
-
init_layout_access();
|
|
867
|
-
init_text_rings();
|
|
868
|
-
ELLIPSE_SEGMENTS = 64;
|
|
869
|
-
_anchorCache = /* @__PURE__ */ new Map();
|
|
870
|
-
}
|
|
871
|
-
});
|
|
872
|
-
|
|
873
|
-
// lib/document/scene-graph.ts
|
|
874
|
-
function virtualRootOf(host, doc) {
|
|
875
|
-
if (!host) return void 0;
|
|
876
|
-
if (host.type === "INSTANCE") return host.mainComponentId || void 0;
|
|
877
|
-
if (host.type === "FRAME") {
|
|
878
|
-
const frame = host;
|
|
879
|
-
if (doc) {
|
|
880
|
-
const { effectiveMasterId: effectiveMasterId2 } = (init_print_pages(), __toCommonJS(print_pages_exports));
|
|
881
|
-
return effectiveMasterId2(doc, frame);
|
|
882
|
-
}
|
|
883
|
-
return frame.print?.masterId;
|
|
884
|
-
}
|
|
885
|
-
return void 0;
|
|
886
|
-
}
|
|
887
|
-
function virtualChildId(parent, childId) {
|
|
888
|
-
if (parent.type === "INSTANCE" || parent.type === "FRAME" && parent.print?.masterId && !parent.id.includes("::")) return `${parent.id}::${childId}`;
|
|
889
|
-
if (parent.id.includes("::")) return `${parent.id.split("::").slice(0, -1).join("::")}::${childId}`;
|
|
890
|
-
return childId;
|
|
891
|
-
}
|
|
892
|
-
function chainOverrides(nodes, parts) {
|
|
893
|
-
let merged = {};
|
|
894
|
-
for (let k = 0; k < parts.length - 1; k++) {
|
|
895
|
-
const raw = nodes[parts[k]];
|
|
896
|
-
if (!raw) break;
|
|
897
|
-
const node = k === 0 ? raw : { ...raw, ...merged[raw.id] };
|
|
898
|
-
if (node.type === "INSTANCE") merged = { ...node.overrides || {}, ...merged };
|
|
899
|
-
}
|
|
900
|
-
return merged;
|
|
901
|
-
}
|
|
902
|
-
function resolveVirtualNode(nodes, id, opts) {
|
|
903
|
-
if (!id) return null;
|
|
904
|
-
if (!id.includes("::")) return nodes[id] || null;
|
|
905
|
-
const posed = nodes[id];
|
|
906
|
-
if (posed) return posed;
|
|
907
|
-
const parts = id.split("::");
|
|
908
|
-
const instanceId = parts[0];
|
|
909
|
-
const targetId = parts[parts.length - 1];
|
|
910
|
-
const instance = nodes[instanceId];
|
|
911
|
-
const target = nodes[targetId];
|
|
912
|
-
const rootId = virtualRootOf(instance);
|
|
913
|
-
if (!instance || !rootId || !target) return null;
|
|
914
|
-
const overrides = instance.type === "INSTANCE" ? chainOverrides(nodes, parts)[targetId] || {} : {};
|
|
915
|
-
let parentId;
|
|
916
|
-
if (parts.length === 2) {
|
|
917
|
-
parentId = target.parentId === rootId ? instanceId : `${instanceId}::${target.parentId}`;
|
|
918
|
-
} else {
|
|
919
|
-
const ownerId = parts.slice(0, -1).join("::");
|
|
920
|
-
const owner = resolveVirtualNode(nodes, ownerId, opts);
|
|
921
|
-
const ownerRoot = virtualRootOf(owner ?? void 0);
|
|
922
|
-
parentId = target.parentId === ownerRoot ? ownerId : `${ownerId}::${target.parentId}`;
|
|
923
|
-
}
|
|
924
|
-
const resolved = { ...target, ...overrides, id, parentId };
|
|
925
|
-
const refs = resolved.componentPropertyReferences;
|
|
926
|
-
let props = null;
|
|
927
|
-
if (refs?.characters || refs?.visible) {
|
|
928
|
-
props = effectiveComponentProperties(nodes, parts);
|
|
929
|
-
if (refs.characters && typeof props[refs.characters] === "string") resolved.characters = props[refs.characters];
|
|
930
|
-
if (refs.visible && typeof props[refs.visible] === "boolean") resolved.visible = props[refs.visible];
|
|
931
|
-
}
|
|
932
|
-
if (resolved.componentPropertyPaths || resolved.motion?.tracks) {
|
|
933
|
-
const shown = withPropertyPaths(resolved, props ?? effectiveComponentProperties(nodes, parts));
|
|
934
|
-
if (shown !== resolved) Object.assign(resolved, shown);
|
|
935
|
-
}
|
|
936
|
-
if (resolved.type === "INSTANCE" && instance.type === "INSTANCE") {
|
|
937
|
-
const ref = resolved.componentPropertyReferences?.mainComponent;
|
|
938
|
-
const v = ref ? instance.componentProperties?.[ref] : void 0;
|
|
939
|
-
if (typeof v === "string" && nodes[v]) resolved.mainComponentId = v;
|
|
940
|
-
}
|
|
941
|
-
if (opts?.layout !== false) {
|
|
942
|
-
const box = instanceChildBox(nodes, id);
|
|
943
|
-
if (box) {
|
|
944
|
-
resolved.x = box.x;
|
|
945
|
-
resolved.y = box.y;
|
|
946
|
-
resolved.width = box.width;
|
|
947
|
-
resolved.height = box.height;
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
return resolved;
|
|
951
|
-
}
|
|
952
|
-
function createDocument(name = "Untitled", settings) {
|
|
953
|
-
const pageId = v4_default();
|
|
954
|
-
const page = {
|
|
955
|
-
id: pageId,
|
|
956
|
-
name: "Page 1",
|
|
957
|
-
type: "PAGE",
|
|
958
|
-
x: 0,
|
|
959
|
-
y: 0,
|
|
960
|
-
width: 0,
|
|
961
|
-
height: 0,
|
|
962
|
-
rotation: 0,
|
|
963
|
-
opacity: 1,
|
|
964
|
-
visible: true,
|
|
965
|
-
locked: false,
|
|
966
|
-
parentId: null,
|
|
967
|
-
childIds: [],
|
|
968
|
-
backgroundColor: createColor(0.12, 0.12, 0.13)
|
|
969
|
-
};
|
|
970
|
-
return {
|
|
971
|
-
id: v4_default(),
|
|
972
|
-
name,
|
|
973
|
-
pages: [pageId],
|
|
974
|
-
nodes: {
|
|
975
|
-
[pageId]: page
|
|
976
|
-
},
|
|
977
|
-
...settings ? { settings } : {}
|
|
978
|
-
};
|
|
979
|
-
}
|
|
980
|
-
function createPage(name = "New Page") {
|
|
981
|
-
return {
|
|
982
|
-
id: v4_default(),
|
|
983
|
-
name,
|
|
984
|
-
type: "PAGE",
|
|
985
|
-
x: 0,
|
|
986
|
-
y: 0,
|
|
987
|
-
width: 0,
|
|
988
|
-
height: 0,
|
|
989
|
-
rotation: 0,
|
|
990
|
-
opacity: 1,
|
|
991
|
-
visible: true,
|
|
992
|
-
locked: false,
|
|
993
|
-
parentId: null,
|
|
994
|
-
childIds: [],
|
|
995
|
-
backgroundColor: createColor(0.12, 0.12, 0.13)
|
|
996
|
-
};
|
|
997
|
-
}
|
|
998
|
-
function createRectangle(props = {}) {
|
|
999
|
-
return {
|
|
1000
|
-
id: v4_default(),
|
|
1001
|
-
name: "Rectangle",
|
|
1002
|
-
type: "RECTANGLE",
|
|
1003
|
-
x: 0,
|
|
1004
|
-
y: 0,
|
|
1005
|
-
width: 100,
|
|
1006
|
-
height: 100,
|
|
1007
|
-
rotation: 0,
|
|
1008
|
-
opacity: 1,
|
|
1009
|
-
visible: true,
|
|
1010
|
-
locked: false,
|
|
1011
|
-
parentId: null,
|
|
1012
|
-
childIds: [],
|
|
1013
|
-
...createDefaultSceneNodeProps(),
|
|
1014
|
-
...props
|
|
1015
|
-
};
|
|
1016
|
-
}
|
|
1017
|
-
function createEllipse(props = {}) {
|
|
1018
|
-
return {
|
|
1019
|
-
id: v4_default(),
|
|
1020
|
-
name: "Ellipse",
|
|
1021
|
-
type: "ELLIPSE",
|
|
1022
|
-
x: 0,
|
|
1023
|
-
y: 0,
|
|
1024
|
-
width: 100,
|
|
1025
|
-
height: 100,
|
|
1026
|
-
rotation: 0,
|
|
1027
|
-
opacity: 1,
|
|
1028
|
-
visible: true,
|
|
1029
|
-
locked: false,
|
|
1030
|
-
parentId: null,
|
|
1031
|
-
childIds: [],
|
|
1032
|
-
...createDefaultSceneNodeProps(),
|
|
1033
|
-
...props
|
|
1034
|
-
};
|
|
1035
|
-
}
|
|
1036
|
-
function createSticky(props = {}) {
|
|
1037
|
-
return {
|
|
1038
|
-
id: v4_default(),
|
|
1039
|
-
name: "Sticky Note",
|
|
1040
|
-
type: "STICKY",
|
|
1041
|
-
x: 0,
|
|
1042
|
-
y: 0,
|
|
1043
|
-
width: 200,
|
|
1044
|
-
height: 200,
|
|
1045
|
-
rotation: 0,
|
|
1046
|
-
opacity: 1,
|
|
1047
|
-
visible: true,
|
|
1048
|
-
locked: false,
|
|
1049
|
-
parentId: null,
|
|
1050
|
-
childIds: [],
|
|
1051
|
-
text: "",
|
|
1052
|
-
authorName: "Unknown",
|
|
1053
|
-
...createDefaultSceneNodeProps(),
|
|
1054
|
-
fills: [createSolidPaint(createColor(1, 0.9, 0.4, 1))],
|
|
1055
|
-
// Default yellow sticky color
|
|
1056
|
-
...props
|
|
1057
|
-
};
|
|
1058
|
-
}
|
|
1059
|
-
function createLine(props = {}) {
|
|
1060
|
-
return {
|
|
1061
|
-
id: v4_default(),
|
|
1062
|
-
name: "Line",
|
|
1063
|
-
type: "LINE",
|
|
1064
|
-
x: 0,
|
|
1065
|
-
y: 0,
|
|
1066
|
-
width: 100,
|
|
1067
|
-
height: 0,
|
|
1068
|
-
rotation: 0,
|
|
1069
|
-
opacity: 1,
|
|
1070
|
-
visible: true,
|
|
1071
|
-
locked: false,
|
|
1072
|
-
parentId: null,
|
|
1073
|
-
childIds: [],
|
|
1074
|
-
...createDefaultSceneNodeProps(),
|
|
1075
|
-
fills: [],
|
|
1076
|
-
// Lines typically have no fill
|
|
1077
|
-
strokes: [{
|
|
1078
|
-
color: createColor(0, 0, 0),
|
|
1079
|
-
width: 2,
|
|
1080
|
-
alignment: "CENTER",
|
|
1081
|
-
cap: "ROUND",
|
|
1082
|
-
join: "ROUND",
|
|
1083
|
-
dashPattern: []
|
|
1084
|
-
}],
|
|
1085
|
-
startPoint: { x: 0, y: 0 },
|
|
1086
|
-
endPoint: { x: 100, y: 0 },
|
|
1087
|
-
...props
|
|
1088
|
-
};
|
|
1089
|
-
}
|
|
1090
|
-
function createArrow(props = {}) {
|
|
1091
|
-
return {
|
|
1092
|
-
id: v4_default(),
|
|
1093
|
-
name: "Arrow",
|
|
1094
|
-
type: "ARROW",
|
|
1095
|
-
x: 0,
|
|
1096
|
-
y: 0,
|
|
1097
|
-
width: 100,
|
|
1098
|
-
height: 0,
|
|
1099
|
-
rotation: 0,
|
|
1100
|
-
opacity: 1,
|
|
1101
|
-
visible: true,
|
|
1102
|
-
locked: false,
|
|
1103
|
-
parentId: null,
|
|
1104
|
-
childIds: [],
|
|
1105
|
-
...createDefaultSceneNodeProps(),
|
|
1106
|
-
fills: [],
|
|
1107
|
-
strokes: [{
|
|
1108
|
-
color: createColor(0, 0, 0),
|
|
1109
|
-
width: 2,
|
|
1110
|
-
alignment: "CENTER",
|
|
1111
|
-
cap: "ROUND",
|
|
1112
|
-
join: "ROUND",
|
|
1113
|
-
dashPattern: []
|
|
1114
|
-
}],
|
|
1115
|
-
startPoint: { x: 0, y: 0 },
|
|
1116
|
-
endPoint: { x: 100, y: 0 },
|
|
1117
|
-
startArrowhead: "NONE",
|
|
1118
|
-
endArrowhead: "ARROW",
|
|
1119
|
-
...props
|
|
1120
|
-
};
|
|
1121
|
-
}
|
|
1122
|
-
function createPolygon(props = {}) {
|
|
1123
|
-
return {
|
|
1124
|
-
id: v4_default(),
|
|
1125
|
-
name: "Polygon",
|
|
1126
|
-
type: "POLYGON",
|
|
1127
|
-
x: 0,
|
|
1128
|
-
y: 0,
|
|
1129
|
-
width: 100,
|
|
1130
|
-
height: 100,
|
|
1131
|
-
rotation: 0,
|
|
1132
|
-
opacity: 1,
|
|
1133
|
-
visible: true,
|
|
1134
|
-
locked: false,
|
|
1135
|
-
parentId: null,
|
|
1136
|
-
childIds: [],
|
|
1137
|
-
...createDefaultSceneNodeProps(),
|
|
1138
|
-
pointCount: 3,
|
|
1139
|
-
// triangle by default
|
|
1140
|
-
...props
|
|
1141
|
-
};
|
|
1142
|
-
}
|
|
1143
|
-
function createStar(props = {}) {
|
|
1144
|
-
return {
|
|
1145
|
-
id: v4_default(),
|
|
1146
|
-
name: "Star",
|
|
1147
|
-
type: "STAR",
|
|
1148
|
-
x: 0,
|
|
1149
|
-
y: 0,
|
|
1150
|
-
width: 100,
|
|
1151
|
-
height: 100,
|
|
1152
|
-
rotation: 0,
|
|
1153
|
-
opacity: 1,
|
|
1154
|
-
visible: true,
|
|
1155
|
-
locked: false,
|
|
1156
|
-
parentId: null,
|
|
1157
|
-
childIds: [],
|
|
1158
|
-
...createDefaultSceneNodeProps(),
|
|
1159
|
-
pointCount: 5,
|
|
1160
|
-
innerRadius: 0.4,
|
|
1161
|
-
...props
|
|
1162
|
-
};
|
|
1163
|
-
}
|
|
1164
|
-
function createSection(props = {}) {
|
|
1165
|
-
return {
|
|
1166
|
-
id: v4_default(),
|
|
1167
|
-
name: "Section",
|
|
1168
|
-
type: "SECTION",
|
|
1169
|
-
x: 0,
|
|
1170
|
-
y: 0,
|
|
1171
|
-
width: 400,
|
|
1172
|
-
height: 300,
|
|
1173
|
-
rotation: 0,
|
|
1174
|
-
opacity: 1,
|
|
1175
|
-
visible: true,
|
|
1176
|
-
locked: false,
|
|
1177
|
-
parentId: null,
|
|
1178
|
-
childIds: [],
|
|
1179
|
-
backgroundColor: createColor(0.2, 0.2, 0.22),
|
|
1180
|
-
...props
|
|
1181
|
-
};
|
|
1182
|
-
}
|
|
1183
|
-
function createSlice(props = {}) {
|
|
1184
|
-
return {
|
|
1185
|
-
id: v4_default(),
|
|
1186
|
-
name: "Slice",
|
|
1187
|
-
type: "SLICE",
|
|
1188
|
-
x: 0,
|
|
1189
|
-
y: 0,
|
|
1190
|
-
width: 100,
|
|
1191
|
-
height: 100,
|
|
1192
|
-
rotation: 0,
|
|
1193
|
-
opacity: 1,
|
|
1194
|
-
visible: true,
|
|
1195
|
-
locked: false,
|
|
1196
|
-
parentId: null,
|
|
1197
|
-
childIds: [],
|
|
1198
|
-
exportSettings: [{
|
|
1199
|
-
format: "PNG",
|
|
1200
|
-
suffix: "",
|
|
1201
|
-
scale: 1,
|
|
1202
|
-
constraint: { type: "SCALE", value: 1 }
|
|
1203
|
-
}],
|
|
1204
|
-
...props
|
|
1205
|
-
};
|
|
1206
|
-
}
|
|
1207
|
-
function createFrame(props = {}) {
|
|
1208
|
-
return {
|
|
1209
|
-
id: v4_default(),
|
|
1210
|
-
name: "Frame",
|
|
1211
|
-
type: "FRAME",
|
|
1212
|
-
x: 0,
|
|
1213
|
-
y: 0,
|
|
1214
|
-
width: 375,
|
|
1215
|
-
height: 667,
|
|
1216
|
-
rotation: 0,
|
|
1217
|
-
opacity: 1,
|
|
1218
|
-
visible: true,
|
|
1219
|
-
locked: false,
|
|
1220
|
-
parentId: null,
|
|
1221
|
-
childIds: [],
|
|
1222
|
-
...createDefaultSceneNodeProps(),
|
|
1223
|
-
fills: [createSolidPaint(createColor(1, 1, 1))],
|
|
1224
|
-
clipsContent: true,
|
|
1225
|
-
backgroundColor: createColor(1, 1, 1),
|
|
1226
|
-
layoutMode: "NONE",
|
|
1227
|
-
primaryAxisAlignItems: "MIN",
|
|
1228
|
-
counterAxisAlignItems: "MIN",
|
|
1229
|
-
padding: { top: 0, right: 0, bottom: 0, left: 0 },
|
|
1230
|
-
itemSpacing: 0,
|
|
1231
|
-
interactions: [],
|
|
1232
|
-
overflowScrolling: "NONE",
|
|
1233
|
-
isFlowStartingPoint: false,
|
|
1234
|
-
...props
|
|
1235
|
-
};
|
|
1236
|
-
}
|
|
1237
|
-
function createText(props = {}) {
|
|
1238
|
-
return {
|
|
1239
|
-
id: v4_default(),
|
|
1240
|
-
name: "Text",
|
|
1241
|
-
type: "TEXT",
|
|
1242
|
-
x: 0,
|
|
1243
|
-
y: 0,
|
|
1244
|
-
width: 200,
|
|
1245
|
-
height: 48,
|
|
1246
|
-
rotation: 0,
|
|
1247
|
-
opacity: 1,
|
|
1248
|
-
visible: true,
|
|
1249
|
-
locked: false,
|
|
1250
|
-
parentId: null,
|
|
1251
|
-
childIds: [],
|
|
1252
|
-
...createDefaultSceneNodeProps(),
|
|
1253
|
-
fills: [createSolidPaint(createColor(0, 0, 0))],
|
|
1254
|
-
characters: "",
|
|
1255
|
-
// New text starts at 40 (its box: one auto line, ~1.2× the size).
|
|
1256
|
-
fontSize: 40,
|
|
1257
|
-
fontFamily: "Inter",
|
|
1258
|
-
fontWeight: 400,
|
|
1259
|
-
fontStyle: "normal",
|
|
1260
|
-
textAlign: "LEFT",
|
|
1261
|
-
verticalAlign: "TOP",
|
|
1262
|
-
lineHeight: "AUTO",
|
|
1263
|
-
letterSpacing: 0,
|
|
1264
|
-
paragraphSpacing: 0,
|
|
1265
|
-
paragraphIndent: 0,
|
|
1266
|
-
textDecoration: "NONE",
|
|
1267
|
-
textCase: "ORIGINAL",
|
|
1268
|
-
textAutoResize: "WIDTH_AND_HEIGHT",
|
|
1269
|
-
interactions: [],
|
|
1270
|
-
...props
|
|
1271
|
-
};
|
|
1272
|
-
}
|
|
1273
|
-
function createGroup(childIds = []) {
|
|
1274
|
-
return {
|
|
1275
|
-
id: v4_default(),
|
|
1276
|
-
name: "Group",
|
|
1277
|
-
type: "GROUP",
|
|
1278
|
-
x: 0,
|
|
1279
|
-
y: 0,
|
|
1280
|
-
width: 0,
|
|
1281
|
-
height: 0,
|
|
1282
|
-
rotation: 0,
|
|
1283
|
-
opacity: 1,
|
|
1284
|
-
visible: true,
|
|
1285
|
-
locked: false,
|
|
1286
|
-
parentId: null,
|
|
1287
|
-
childIds
|
|
1288
|
-
};
|
|
1289
|
-
}
|
|
1290
|
-
function createVector(props = {}) {
|
|
1291
|
-
return {
|
|
1292
|
-
id: v4_default(),
|
|
1293
|
-
name: "Vector",
|
|
1294
|
-
type: "VECTOR",
|
|
1295
|
-
x: 0,
|
|
1296
|
-
y: 0,
|
|
1297
|
-
width: 100,
|
|
1298
|
-
height: 100,
|
|
1299
|
-
rotation: 0,
|
|
1300
|
-
opacity: 1,
|
|
1301
|
-
visible: true,
|
|
1302
|
-
locked: false,
|
|
1303
|
-
parentId: null,
|
|
1304
|
-
childIds: [],
|
|
1305
|
-
...createDefaultSceneNodeProps(),
|
|
1306
|
-
paths: [],
|
|
1307
|
-
fillRule: "NONZERO",
|
|
1308
|
-
...props
|
|
1309
|
-
};
|
|
1310
|
-
}
|
|
1311
|
-
function createBoolean(operation, childIds = [], props = {}) {
|
|
1312
|
-
return {
|
|
1313
|
-
id: v4_default(),
|
|
1314
|
-
name: `Boolean (${operation.toLowerCase()})`,
|
|
1315
|
-
type: "BOOLEAN",
|
|
1316
|
-
x: 0,
|
|
1317
|
-
y: 0,
|
|
1318
|
-
width: 100,
|
|
1319
|
-
height: 100,
|
|
1320
|
-
rotation: 0,
|
|
1321
|
-
opacity: 1,
|
|
1322
|
-
visible: true,
|
|
1323
|
-
locked: false,
|
|
1324
|
-
parentId: null,
|
|
1325
|
-
childIds,
|
|
1326
|
-
...createDefaultSceneNodeProps(),
|
|
1327
|
-
booleanOperation: operation,
|
|
1328
|
-
// Children are stored relative to this node, like a group's. The marker exists so the one-time
|
|
1329
|
-
// migration in the store can tell an already-converted boolean from one written before the change.
|
|
1330
|
-
booleanChildSpace: "LOCAL",
|
|
1331
|
-
paths: [],
|
|
1332
|
-
fillRule: "NONZERO",
|
|
1333
|
-
...props
|
|
1334
|
-
};
|
|
1335
|
-
}
|
|
1336
|
-
function createPixelGrid(props = {}) {
|
|
1337
|
-
const cell = props.cellSize ?? 10;
|
|
1338
|
-
const pw = Math.max(1, Math.min(2048, Math.round(props.pixelWidth ?? (props.width ? props.width / cell : 32))));
|
|
1339
|
-
const ph = Math.max(1, Math.min(2048, Math.round(props.pixelHeight ?? (props.height ? props.height / cell : 32))));
|
|
1340
|
-
const { cellSize: _c, width: _w, height: _h, ...rest } = props;
|
|
1341
|
-
return {
|
|
1342
|
-
id: v4_default(),
|
|
1343
|
-
name: "Pixel canvas",
|
|
1344
|
-
type: "PIXEL_GRID",
|
|
1345
|
-
x: 0,
|
|
1346
|
-
y: 0,
|
|
1347
|
-
width: pw * cell,
|
|
1348
|
-
height: ph * cell,
|
|
1349
|
-
rotation: 0,
|
|
1350
|
-
opacity: 1,
|
|
1351
|
-
visible: true,
|
|
1352
|
-
locked: false,
|
|
1353
|
-
parentId: null,
|
|
1354
|
-
childIds: [],
|
|
1355
|
-
...createDefaultSceneNodeProps(),
|
|
1356
|
-
fills: [],
|
|
1357
|
-
strokes: [],
|
|
1358
|
-
pixelWidth: pw,
|
|
1359
|
-
pixelHeight: ph,
|
|
1360
|
-
colorMode: "RGBA",
|
|
1361
|
-
palette: presetPalette("PICO-8"),
|
|
1362
|
-
transparentIndex: 0,
|
|
1363
|
-
frames: [{ id: v4_default(), cels: encodeCels(new Uint32Array(pw * ph)), duration: 100 }],
|
|
1364
|
-
activeFrame: 0,
|
|
1365
|
-
tags: [],
|
|
1366
|
-
onionSkin: { enabled: false, prev: 1, next: 1, opacity: 0.35 },
|
|
1367
|
-
tiledMode: "NONE",
|
|
1368
|
-
...rest
|
|
1369
|
-
};
|
|
1370
|
-
}
|
|
1371
|
-
function createImage(imageUrl, props = {}) {
|
|
1372
|
-
return {
|
|
1373
|
-
id: v4_default(),
|
|
1374
|
-
name: "Image",
|
|
1375
|
-
type: "IMAGE",
|
|
1376
|
-
x: 0,
|
|
1377
|
-
y: 0,
|
|
1378
|
-
width: 200,
|
|
1379
|
-
height: 200,
|
|
1380
|
-
rotation: 0,
|
|
1381
|
-
opacity: 1,
|
|
1382
|
-
visible: true,
|
|
1383
|
-
locked: false,
|
|
1384
|
-
parentId: null,
|
|
1385
|
-
childIds: [],
|
|
1386
|
-
...createDefaultSceneNodeProps(),
|
|
1387
|
-
// Image nodes draw their imageUrl; a (default grey) fill would be drawn over it instead.
|
|
1388
|
-
fills: [],
|
|
1389
|
-
imageUrl,
|
|
1390
|
-
scaleMode: "FILL",
|
|
1391
|
-
...props
|
|
1392
|
-
};
|
|
1393
|
-
}
|
|
1394
|
-
function createRaster(props = {}) {
|
|
1395
|
-
return {
|
|
1396
|
-
id: v4_default(),
|
|
1397
|
-
name: "Paint layer",
|
|
1398
|
-
type: "RASTER",
|
|
1399
|
-
x: 0,
|
|
1400
|
-
y: 0,
|
|
1401
|
-
width: 1024,
|
|
1402
|
-
height: 768,
|
|
1403
|
-
rotation: 0,
|
|
1404
|
-
opacity: 1,
|
|
1405
|
-
visible: true,
|
|
1406
|
-
locked: false,
|
|
1407
|
-
parentId: null,
|
|
1408
|
-
childIds: [],
|
|
1409
|
-
...createDefaultSceneNodeProps(),
|
|
1410
|
-
fills: [],
|
|
1411
|
-
strokes: [],
|
|
1412
|
-
pixelWidth: 1024,
|
|
1413
|
-
pixelHeight: 768,
|
|
1414
|
-
rasterTiles: {},
|
|
1415
|
-
...props
|
|
1416
|
-
};
|
|
1417
|
-
}
|
|
1418
|
-
function createComponent(props = {}) {
|
|
1419
|
-
return {
|
|
1420
|
-
id: v4_default(),
|
|
1421
|
-
name: "Component",
|
|
1422
|
-
type: "COMPONENT",
|
|
1423
|
-
x: 0,
|
|
1424
|
-
y: 0,
|
|
1425
|
-
width: 100,
|
|
1426
|
-
height: 100,
|
|
1427
|
-
rotation: 0,
|
|
1428
|
-
opacity: 1,
|
|
1429
|
-
visible: true,
|
|
1430
|
-
locked: false,
|
|
1431
|
-
parentId: null,
|
|
1432
|
-
childIds: [],
|
|
1433
|
-
componentPropertyDefinitions: {},
|
|
1434
|
-
...createDefaultSceneNodeProps(),
|
|
1435
|
-
...props
|
|
1436
|
-
};
|
|
1437
|
-
}
|
|
1438
|
-
function createComponentSet(props = {}) {
|
|
1439
|
-
return {
|
|
1440
|
-
id: v4_default(),
|
|
1441
|
-
name: "Component Set",
|
|
1442
|
-
type: "COMPONENT_SET",
|
|
1443
|
-
x: 0,
|
|
1444
|
-
y: 0,
|
|
1445
|
-
width: 200,
|
|
1446
|
-
height: 200,
|
|
1447
|
-
rotation: 0,
|
|
1448
|
-
opacity: 1,
|
|
1449
|
-
visible: true,
|
|
1450
|
-
locked: false,
|
|
1451
|
-
parentId: null,
|
|
1452
|
-
childIds: [],
|
|
1453
|
-
componentPropertyDefinitions: {},
|
|
1454
|
-
...createDefaultSceneNodeProps(),
|
|
1455
|
-
...props
|
|
1456
|
-
};
|
|
1457
|
-
}
|
|
1458
|
-
function createInstance(mainComponentId, props = {}) {
|
|
1459
|
-
return {
|
|
1460
|
-
id: v4_default(),
|
|
1461
|
-
name: "Instance",
|
|
1462
|
-
type: "INSTANCE",
|
|
1463
|
-
x: 0,
|
|
1464
|
-
y: 0,
|
|
1465
|
-
width: 100,
|
|
1466
|
-
height: 100,
|
|
1467
|
-
rotation: 0,
|
|
1468
|
-
opacity: 1,
|
|
1469
|
-
visible: true,
|
|
1470
|
-
locked: false,
|
|
1471
|
-
parentId: null,
|
|
1472
|
-
childIds: [],
|
|
1473
|
-
...createDefaultSceneNodeProps(),
|
|
1474
|
-
mainComponentId,
|
|
1475
|
-
overrides: {},
|
|
1476
|
-
componentProperties: {},
|
|
1477
|
-
...props
|
|
1478
|
-
};
|
|
1479
|
-
}
|
|
1480
|
-
function createInstanceOf(main, props = {}) {
|
|
1481
|
-
const m = main;
|
|
1482
|
-
return createInstance(main.id, {
|
|
1483
|
-
name: main.name,
|
|
1484
|
-
width: main.width,
|
|
1485
|
-
height: main.height,
|
|
1486
|
-
fills: m.fills ?? [],
|
|
1487
|
-
strokes: m.strokes ?? [],
|
|
1488
|
-
effects: m.effects ?? [],
|
|
1489
|
-
cornerRadius: m.cornerRadius ?? 0,
|
|
1490
|
-
...props
|
|
1491
|
-
});
|
|
1492
|
-
}
|
|
1493
|
-
function addNode(document, node, parentId) {
|
|
1494
|
-
const parent = document.nodes[parentId];
|
|
1495
|
-
if (!parent) {
|
|
1496
|
-
console.error("Parent node not found:", parentId);
|
|
1497
|
-
return document;
|
|
1498
|
-
}
|
|
1499
|
-
const updatedParent = {
|
|
1500
|
-
...parent,
|
|
1501
|
-
childIds: [...parent.childIds, node.id]
|
|
1502
|
-
};
|
|
1503
|
-
const updatedNode = {
|
|
1504
|
-
...node,
|
|
1505
|
-
parentId
|
|
1506
|
-
};
|
|
1507
|
-
return {
|
|
1508
|
-
...document,
|
|
1509
|
-
nodes: {
|
|
1510
|
-
...document.nodes,
|
|
1511
|
-
[parentId]: updatedParent,
|
|
1512
|
-
[node.id]: updatedNode
|
|
1513
|
-
}
|
|
1514
|
-
};
|
|
1515
|
-
}
|
|
1516
|
-
function removeNode(document, nodeId) {
|
|
1517
|
-
const node = document.nodes[nodeId];
|
|
1518
|
-
if (!node) return document;
|
|
1519
|
-
const newNodes = { ...document.nodes };
|
|
1520
|
-
if (node.parentId) {
|
|
1521
|
-
const parent = newNodes[node.parentId];
|
|
1522
|
-
if (parent) {
|
|
1523
|
-
newNodes[node.parentId] = {
|
|
1524
|
-
...parent,
|
|
1525
|
-
childIds: parent.childIds.filter((id) => id !== nodeId)
|
|
1526
|
-
};
|
|
1527
|
-
}
|
|
1528
|
-
}
|
|
1529
|
-
function removeRecursive(id) {
|
|
1530
|
-
const n = newNodes[id];
|
|
1531
|
-
if (n && n.childIds) {
|
|
1532
|
-
n.childIds.forEach(removeRecursive);
|
|
1533
|
-
}
|
|
1534
|
-
delete newNodes[id];
|
|
1535
|
-
}
|
|
1536
|
-
removeRecursive(nodeId);
|
|
1537
|
-
return {
|
|
1538
|
-
...document,
|
|
1539
|
-
nodes: newNodes
|
|
1540
|
-
};
|
|
1541
|
-
}
|
|
1542
|
-
function updateNode(document, nodeId, updates) {
|
|
1543
|
-
const node = document.nodes[nodeId];
|
|
1544
|
-
if (!node) return document;
|
|
1545
|
-
return {
|
|
1546
|
-
...document,
|
|
1547
|
-
nodes: {
|
|
1548
|
-
...document.nodes,
|
|
1549
|
-
[nodeId]: { ...node, ...updates }
|
|
1550
|
-
}
|
|
1551
|
-
};
|
|
1552
|
-
}
|
|
1553
|
-
function getDescendants(document, nodeId) {
|
|
1554
|
-
const result = [];
|
|
1555
|
-
const node = document.nodes[nodeId];
|
|
1556
|
-
if (!node) return result;
|
|
1557
|
-
function collectChildren(id) {
|
|
1558
|
-
const n = document.nodes[id];
|
|
1559
|
-
if (n) {
|
|
1560
|
-
result.push(n);
|
|
1561
|
-
n.childIds.forEach(collectChildren);
|
|
1562
|
-
}
|
|
1563
|
-
}
|
|
1564
|
-
node.childIds.forEach(collectChildren);
|
|
1565
|
-
return result;
|
|
1566
|
-
}
|
|
1567
|
-
function getAncestors(document, nodeId) {
|
|
1568
|
-
const ancestors = [];
|
|
1569
|
-
const node = document.nodes[nodeId];
|
|
1570
|
-
if (!node) return ancestors;
|
|
1571
|
-
let current = node;
|
|
1572
|
-
while (current.parentId) {
|
|
1573
|
-
const parent = document.nodes[current.parentId];
|
|
1574
|
-
if (parent) {
|
|
1575
|
-
ancestors.push(parent);
|
|
1576
|
-
current = parent;
|
|
1577
|
-
} else {
|
|
1578
|
-
break;
|
|
1579
|
-
}
|
|
1580
|
-
}
|
|
1581
|
-
return ancestors;
|
|
1582
|
-
}
|
|
1583
|
-
function applyConstraints(document, parentId, oldW, oldH, newW, newH) {
|
|
1584
|
-
const parent = document.nodes[parentId];
|
|
1585
|
-
if (!parent || !parent.childIds || parent.childIds.length === 0) return document;
|
|
1586
|
-
if (oldW === 0 || oldH === 0) return document;
|
|
1587
|
-
if (oldW === newW && oldH === newH) return document;
|
|
1588
|
-
if (parent.layoutMode && parent.layoutMode !== "NONE") {
|
|
1589
|
-
return document;
|
|
1590
|
-
}
|
|
1591
|
-
let newDoc = { ...document, nodes: { ...document.nodes } };
|
|
1592
|
-
const deltaW = newW - oldW;
|
|
1593
|
-
const deltaH = newH - oldH;
|
|
1594
|
-
const scaleX = newW / oldW;
|
|
1595
|
-
const scaleY = newH / oldH;
|
|
1596
|
-
for (const childId of parent.childIds) {
|
|
1597
|
-
const child = newDoc.nodes[childId];
|
|
1598
|
-
if (!child) continue;
|
|
1599
|
-
const hConstraint = child.constraints?.horizontal || "MIN";
|
|
1600
|
-
const vConstraint = child.constraints?.vertical || "MIN";
|
|
1601
|
-
let newX = child.x;
|
|
1602
|
-
let newChildW = child.width;
|
|
1603
|
-
let newY = child.y;
|
|
1604
|
-
let newChildH = child.height;
|
|
1605
|
-
switch (hConstraint) {
|
|
1606
|
-
case "MIN":
|
|
1607
|
-
break;
|
|
1608
|
-
case "MAX":
|
|
1609
|
-
newX += deltaW;
|
|
1610
|
-
break;
|
|
1611
|
-
case "CENTER":
|
|
1612
|
-
newX += deltaW / 2;
|
|
1613
|
-
break;
|
|
1614
|
-
case "STRETCH":
|
|
1615
|
-
newChildW = Math.max(1, newChildW + deltaW);
|
|
1616
|
-
break;
|
|
1617
|
-
case "SCALE":
|
|
1618
|
-
newX *= scaleX;
|
|
1619
|
-
newChildW = Math.max(1, newChildW * scaleX);
|
|
1620
|
-
break;
|
|
1621
|
-
}
|
|
1622
|
-
switch (vConstraint) {
|
|
1623
|
-
case "MIN":
|
|
1624
|
-
break;
|
|
1625
|
-
case "MAX":
|
|
1626
|
-
newY += deltaH;
|
|
1627
|
-
break;
|
|
1628
|
-
case "CENTER":
|
|
1629
|
-
newY += deltaH / 2;
|
|
1630
|
-
break;
|
|
1631
|
-
case "STRETCH":
|
|
1632
|
-
newChildH = Math.max(1, newChildH + deltaH);
|
|
1633
|
-
break;
|
|
1634
|
-
case "SCALE":
|
|
1635
|
-
newY *= scaleY;
|
|
1636
|
-
newChildH = Math.max(1, newChildH * scaleY);
|
|
1637
|
-
break;
|
|
1638
|
-
}
|
|
1639
|
-
if (newX !== child.x || newY !== child.y || newChildW !== child.width || newChildH !== child.height) {
|
|
1640
|
-
newDoc.nodes[childId] = {
|
|
1641
|
-
...child,
|
|
1642
|
-
x: newX,
|
|
1643
|
-
y: newY,
|
|
1644
|
-
width: newChildW,
|
|
1645
|
-
height: newChildH
|
|
1646
|
-
};
|
|
1647
|
-
if (newChildW !== child.width || newChildH !== child.height) {
|
|
1648
|
-
if ("childIds" in child && child.childIds && child.childIds.length > 0) {
|
|
1649
|
-
newDoc = applyConstraints(newDoc, childId, child.width, child.height, newChildW, newChildH);
|
|
1650
|
-
}
|
|
1651
|
-
}
|
|
1652
|
-
}
|
|
1653
|
-
}
|
|
1654
|
-
return newDoc;
|
|
1655
|
-
}
|
|
1656
|
-
function getRenderableNodes(document, pageId) {
|
|
1657
|
-
const result = [];
|
|
1658
|
-
function collectNodes(nodeId) {
|
|
1659
|
-
const node = document.nodes[nodeId];
|
|
1660
|
-
if (!node || !node.visible) return;
|
|
1661
|
-
if (node.type !== "PAGE") {
|
|
1662
|
-
result.push(node);
|
|
1663
|
-
}
|
|
1664
|
-
if (node.type === "PAGE") {
|
|
1665
|
-
node.childIds.forEach(collectNodes);
|
|
1666
|
-
}
|
|
1667
|
-
}
|
|
1668
|
-
collectNodes(pageId);
|
|
1669
|
-
return result;
|
|
1670
|
-
}
|
|
1671
|
-
function moveNodeInZOrder(document, nodeId, direction) {
|
|
1672
|
-
const node = document.nodes[nodeId];
|
|
1673
|
-
if (!node || !node.parentId) return document;
|
|
1674
|
-
const parent = document.nodes[node.parentId];
|
|
1675
|
-
if (!parent) return document;
|
|
1676
|
-
const siblings = [...parent.childIds];
|
|
1677
|
-
const currentIndex = siblings.indexOf(nodeId);
|
|
1678
|
-
if (currentIndex === -1) return document;
|
|
1679
|
-
siblings.splice(currentIndex, 1);
|
|
1680
|
-
let newIndex;
|
|
1681
|
-
switch (direction) {
|
|
1682
|
-
case "up":
|
|
1683
|
-
newIndex = Math.min(currentIndex + 1, siblings.length);
|
|
1684
|
-
break;
|
|
1685
|
-
case "down":
|
|
1686
|
-
newIndex = Math.max(currentIndex - 1, 0);
|
|
1687
|
-
break;
|
|
1688
|
-
case "top":
|
|
1689
|
-
newIndex = siblings.length;
|
|
1690
|
-
break;
|
|
1691
|
-
case "bottom":
|
|
1692
|
-
newIndex = 0;
|
|
1693
|
-
break;
|
|
1694
|
-
}
|
|
1695
|
-
siblings.splice(newIndex, 0, nodeId);
|
|
1696
|
-
return {
|
|
1697
|
-
...document,
|
|
1698
|
-
nodes: {
|
|
1699
|
-
...document.nodes,
|
|
1700
|
-
[node.parentId]: { ...parent, childIds: siblings }
|
|
1701
|
-
}
|
|
1702
|
-
};
|
|
1703
|
-
}
|
|
1704
|
-
function uprightBounds(t, width, height) {
|
|
1705
|
-
const hw = width / 2 * t.scaleX, hh = height / 2 * t.scaleY;
|
|
1706
|
-
return { minX: t.cx - hw, minY: t.cy - hh, maxX: t.cx + hw, maxY: t.cy + hh };
|
|
1707
|
-
}
|
|
1708
|
-
function unmirroredMatrix(t, width, height) {
|
|
1709
|
-
return withoutFlips(t.matrix, t.flipX, t.flipY, width, height);
|
|
1710
|
-
}
|
|
1711
|
-
function lineShaftEnds(t, width) {
|
|
1712
|
-
const hw = width / 2 * t.scaleX;
|
|
1713
|
-
const cos = Math.cos(t.rotationRad), sin = Math.sin(t.rotationRad);
|
|
1714
|
-
return [{ x: t.cx - hw * cos, y: t.cy - hw * sin }, { x: t.cx + hw * cos, y: t.cy + hw * sin }];
|
|
1715
|
-
}
|
|
1716
|
-
function place(outer, node, scroll) {
|
|
1717
|
-
const local = localMatrix(node, false, scroll?.x ?? 0, scroll?.y ?? 0);
|
|
1718
|
-
const flips = nodeFlips(node);
|
|
1719
|
-
return {
|
|
1720
|
-
m: outer === ROOT ? local : multiply(outer.m, local),
|
|
1721
|
-
flipX: outer.flipX !== flips.flipX,
|
|
1722
|
-
flipY: outer.flipY !== flips.flipY,
|
|
1723
|
-
angle: outer.sense * ((node.rotation || 0) * Math.PI / 180) + outer.angle,
|
|
1724
|
-
sense: flips.flipX === flips.flipY ? outer.sense : -outer.sense,
|
|
1725
|
-
conformal: outer.conformal && Math.abs(restValue(node, "scaleX")) === Math.abs(restValue(node, "scaleY"))
|
|
1726
|
-
};
|
|
1727
|
-
}
|
|
1728
|
-
function decomposed(outer, node, p) {
|
|
1729
|
-
const [lx, ly] = localCentre(node);
|
|
1730
|
-
const [cx, cy] = outer === ROOT ? [lx, ly] : apply(outer.m, lx, ly);
|
|
1731
|
-
const q = decompose(withoutFlips(p.m, p.flipX, p.flipY, node.width, node.height));
|
|
1732
|
-
return { cx, cy, rotationRad: p.conformal ? p.angle : q.rotation, flipX: p.flipX, flipY: p.flipY, scaleX: q.scaleX, scaleY: q.scaleY, matrix: p.m };
|
|
1733
|
-
}
|
|
1734
|
-
function detachedTransform(node) {
|
|
1735
|
-
return decomposed(ROOT, node, place(ROOT, node));
|
|
1736
|
-
}
|
|
1737
|
-
function rootPlacement(m, outer) {
|
|
1738
|
-
const mirrored = determinant(m) < 0;
|
|
1739
|
-
const q = decompose(m);
|
|
1740
|
-
const uniform = Math.abs(Math.abs(q.scaleX) - Math.abs(q.scaleY)) < 1e-9 && Math.abs(q.skew) < 1e-9;
|
|
1741
|
-
return {
|
|
1742
|
-
m: outer === ROOT ? m : multiply(m, outer.m),
|
|
1743
|
-
flipX: outer.flipX !== mirrored,
|
|
1744
|
-
flipY: outer.flipY,
|
|
1745
|
-
angle: outer.angle + q.rotation,
|
|
1746
|
-
sense: mirrored ? -outer.sense : outer.sense,
|
|
1747
|
-
conformal: outer.conformal && uniform
|
|
1748
|
-
};
|
|
1749
|
-
}
|
|
1750
|
-
function createResolver(nodes, scrollState, roots) {
|
|
1751
|
-
const placed = /* @__PURE__ */ new Map();
|
|
1752
|
-
const frames = /* @__PURE__ */ new Map();
|
|
1753
|
-
const transforms = /* @__PURE__ */ new Map();
|
|
1754
|
-
const rootFrames = /* @__PURE__ */ new Map();
|
|
1755
|
-
const outerOf = (node) => {
|
|
1756
|
-
const m = roots?.get(node.id);
|
|
1757
|
-
if (!m) return frameOf(node.parentId);
|
|
1758
|
-
let p = rootFrames.get(node.id);
|
|
1759
|
-
if (!p) {
|
|
1760
|
-
p = rootPlacement(m, frameOf(node.parentId));
|
|
1761
|
-
rootFrames.set(node.id, p);
|
|
1762
|
-
}
|
|
1763
|
-
return p;
|
|
1764
|
-
};
|
|
1765
|
-
const placementOf = (id) => {
|
|
1766
|
-
const cached = placed.get(id);
|
|
1767
|
-
if (cached !== void 0) return cached;
|
|
1768
|
-
const node = resolveVirtualNode(nodes, id);
|
|
1769
|
-
const hit = node ? { node, p: place(outerOf(node), node) } : null;
|
|
1770
|
-
placed.set(id, hit);
|
|
1771
|
-
return hit;
|
|
1772
|
-
};
|
|
1773
|
-
function frameOf(containerId) {
|
|
1774
|
-
if (!containerId) return ROOT;
|
|
1775
|
-
const cached = frames.get(containerId);
|
|
1776
|
-
if (cached) return cached;
|
|
1777
|
-
const c = placementOf(containerId);
|
|
1778
|
-
let frame = ROOT;
|
|
1779
|
-
if (c && c.node.type !== "PAGE") {
|
|
1780
|
-
const scroll = scrollState?.[c.node.id];
|
|
1781
|
-
frame = scroll ? place(outerOf(c.node), c.node, scroll) : c.p;
|
|
1782
|
-
}
|
|
1783
|
-
frames.set(containerId, frame);
|
|
1784
|
-
return frame;
|
|
1785
|
-
}
|
|
1786
|
-
return {
|
|
1787
|
-
matrixOf: (id) => placementOf(id)?.p.m ?? IDENTITY,
|
|
1788
|
-
transformOf: (id) => {
|
|
1789
|
-
const cached = transforms.get(id);
|
|
1790
|
-
if (cached) return cached;
|
|
1791
|
-
const hit = placementOf(id);
|
|
1792
|
-
if (!hit) return ZERO_TRANSFORM;
|
|
1793
|
-
const t = decomposed(outerOf(hit.node), hit.node, hit.p);
|
|
1794
|
-
transforms.set(id, t);
|
|
1795
|
-
return t;
|
|
1796
|
-
}
|
|
1797
|
-
};
|
|
1798
|
-
}
|
|
1799
|
-
function createWorldMatrixResolver(nodes, scrollState) {
|
|
1800
|
-
return createResolver(nodes, scrollState).matrixOf;
|
|
1801
|
-
}
|
|
1802
|
-
function createWorldTransformResolver(nodes, scrollState, roots) {
|
|
1803
|
-
return createResolver(nodes, scrollState, roots).transformOf;
|
|
1804
|
-
}
|
|
1805
|
-
function cachedResolver(nodes) {
|
|
1806
|
-
let r = resolverCache.get(nodes);
|
|
1807
|
-
if (!r) {
|
|
1808
|
-
r = createResolver(nodes);
|
|
1809
|
-
resolverCache.set(nodes, r);
|
|
1810
|
-
}
|
|
1811
|
-
return r;
|
|
1812
|
-
}
|
|
1813
|
-
function getWorldTransform(document, nodeId, scrollState) {
|
|
1814
|
-
return (scrollState ? createResolver(document.nodes, scrollState) : cachedResolver(document.nodes)).transformOf(nodeId);
|
|
1815
|
-
}
|
|
1816
|
-
function getWorldMatrix(document, nodeId, scrollState) {
|
|
1817
|
-
return (scrollState ? createResolver(document.nodes, scrollState) : cachedResolver(document.nodes)).matrixOf(nodeId);
|
|
1818
|
-
}
|
|
1819
|
-
function placementUnder(document, nodeId, newParentId) {
|
|
1820
|
-
const node = resolveVirtualNode(document.nodes, nodeId);
|
|
1821
|
-
if (!node) return null;
|
|
1822
|
-
const parent = resolveVirtualNode(document.nodes, newParentId);
|
|
1823
|
-
const inv = !parent || parent.type === "PAGE" ? IDENTITY : invert(getWorldMatrix(document, newParentId));
|
|
1824
|
-
if (!inv) return null;
|
|
1825
|
-
const local = multiply(inv, getWorldMatrix(document, nodeId));
|
|
1826
|
-
let flipH = !!node.flipHorizontal;
|
|
1827
|
-
const flipV = !!node.flipVertical;
|
|
1828
|
-
let m = withoutFlips(local, flipH, flipV, 0, 0);
|
|
1829
|
-
if (determinant(m) < 0) {
|
|
1830
|
-
flipH = !flipH;
|
|
1831
|
-
m = withoutFlips(m, true, false, 0, 0);
|
|
1832
|
-
}
|
|
1833
|
-
const q = decompose(m);
|
|
1834
|
-
const w = node.width, h = node.height;
|
|
1835
|
-
const ax = restValue(node, "anchorX"), ay = restValue(node, "anchorY");
|
|
1836
|
-
const [px, py] = apply(local, ax * w, ay * h);
|
|
1837
|
-
const scale = (key, v) => {
|
|
1838
|
-
const next = Math.abs(v - 1) < 1e-9 ? void 0 : v;
|
|
1839
|
-
return next === void 0 && node[key] === void 0 ? {} : { [key]: next };
|
|
1840
|
-
};
|
|
1841
|
-
return {
|
|
1842
|
-
x: px - ax * w - restValue(node, "translateX"),
|
|
1843
|
-
y: py - ay * h - restValue(node, "translateY"),
|
|
1844
|
-
rotation: nearestAngle(q.rotation * 180 / Math.PI, node.rotation || 0),
|
|
1845
|
-
...scale("scaleX", q.scaleX),
|
|
1846
|
-
...scale("scaleY", q.scaleY),
|
|
1847
|
-
...flipH !== !!node.flipHorizontal ? { flipHorizontal: flipH } : {}
|
|
1848
|
-
};
|
|
1849
|
-
}
|
|
1850
|
-
function componentsDrawnBy(document, rootId) {
|
|
1851
|
-
const out = /* @__PURE__ */ new Set();
|
|
1852
|
-
const stack = [rootId];
|
|
1853
|
-
const seen = /* @__PURE__ */ new Set();
|
|
1854
|
-
while (stack.length) {
|
|
1855
|
-
const id = stack.pop();
|
|
1856
|
-
if (seen.has(id)) continue;
|
|
1857
|
-
seen.add(id);
|
|
1858
|
-
const n = document.nodes[id];
|
|
1859
|
-
if (!n) continue;
|
|
1860
|
-
if (n.type === "INSTANCE" && n.mainComponentId) {
|
|
1861
|
-
const main = n.mainComponentId;
|
|
1862
|
-
out.add(main);
|
|
1863
|
-
stack.push(main);
|
|
1864
|
-
}
|
|
1865
|
-
if ("childIds" in n && n.childIds) for (const c of n.childIds) stack.push(c);
|
|
1866
|
-
}
|
|
1867
|
-
return out;
|
|
1868
|
-
}
|
|
1869
|
-
function wouldCreateCycle(document, nodeId, newParentId) {
|
|
1870
|
-
if (nodeId === newParentId) return true;
|
|
1871
|
-
const chain = [document.nodes[newParentId], ...getAncestors(document, newParentId)].filter(Boolean);
|
|
1872
|
-
if (chain.some((a) => a.id === nodeId)) return true;
|
|
1873
|
-
const drawn = componentsDrawnBy(document, nodeId);
|
|
1874
|
-
if (!drawn.size) return false;
|
|
1875
|
-
const enclosing = new Set(chain.filter((a) => a.type === "COMPONENT" || a.type === "COMPONENT_SET").map((a) => a.id));
|
|
1876
|
-
for (const c of drawn) if (enclosing.has(c)) return true;
|
|
1877
|
-
for (const c of drawn) {
|
|
1878
|
-
const comp = document.nodes[c];
|
|
1879
|
-
if (!comp) continue;
|
|
1880
|
-
for (const a of [comp, ...getAncestors(document, c)]) if (enclosing.has(a.id)) return true;
|
|
1881
|
-
}
|
|
1882
|
-
return false;
|
|
1883
|
-
}
|
|
1884
|
-
function wrapInComponent(document, ids, fallbackParentId, name = "Component") {
|
|
1885
|
-
const nodes = ids.map((id) => resolveVirtualNode(document.nodes, id)).filter(Boolean);
|
|
1886
|
-
if (!nodes.length) return null;
|
|
1887
|
-
let minX = Infinity, minY = Infinity, maxX = -Infinity, maxY = -Infinity;
|
|
1888
|
-
for (const n of nodes) {
|
|
1889
|
-
const b = uprightBounds(getWorldTransform(document, n.id), n.width, n.height);
|
|
1890
|
-
minX = Math.min(minX, b.minX);
|
|
1891
|
-
minY = Math.min(minY, b.minY);
|
|
1892
|
-
maxX = Math.max(maxX, b.maxX);
|
|
1893
|
-
maxY = Math.max(maxY, b.maxY);
|
|
1894
|
-
}
|
|
1895
|
-
const top = nodes.filter((n) => !n.parentId || !ids.includes(n.parentId));
|
|
1896
|
-
const parentId = (top[0] || nodes[0]).parentId ?? fallbackParentId;
|
|
1897
|
-
const parentNode = document.nodes[parentId];
|
|
1898
|
-
let x = minX, y = minY;
|
|
1899
|
-
if (parentNode && parentNode.type !== "PAGE") {
|
|
1900
|
-
const pw = getWorldTransform(document, parentId);
|
|
1901
|
-
x = minX - (pw.cx - parentNode.width / 2);
|
|
1902
|
-
y = minY - (pw.cy - parentNode.height / 2);
|
|
1903
|
-
}
|
|
1904
|
-
const component = createComponent({ x, y, width: maxX - minX, height: maxY - minY, name, fills: [], componentPropertyDefinitions: {} });
|
|
1905
|
-
let doc = addNode(document, component, parentId);
|
|
1906
|
-
for (const id of ids) {
|
|
1907
|
-
if (!doc.nodes[id]) continue;
|
|
1908
|
-
const placed = placementUnder(doc, id, component.id);
|
|
1909
|
-
if (placed) doc = updateNode(doc, id, placed);
|
|
1910
|
-
doc = reparentNode(doc, id, component.id);
|
|
1911
|
-
}
|
|
1912
|
-
return { document: doc, componentId: component.id };
|
|
1913
|
-
}
|
|
1914
|
-
function reparentNode(document, nodeId, newParentId, index) {
|
|
1915
|
-
const node = document.nodes[nodeId];
|
|
1916
|
-
if (!node) return document;
|
|
1917
|
-
const newParent = document.nodes[newParentId];
|
|
1918
|
-
if (!newParent) return document;
|
|
1919
|
-
if (wouldCreateCycle(document, nodeId, newParentId)) return document;
|
|
1920
|
-
const newNodes = { ...document.nodes };
|
|
1921
|
-
const updatedOldParentChildIds = node.parentId && newNodes[node.parentId] ? newNodes[node.parentId].childIds.filter((id) => id !== nodeId) : [];
|
|
1922
|
-
if (node.parentId && newNodes[node.parentId]) {
|
|
1923
|
-
newNodes[node.parentId] = {
|
|
1924
|
-
...newNodes[node.parentId],
|
|
1925
|
-
childIds: updatedOldParentChildIds
|
|
1926
|
-
};
|
|
1927
|
-
}
|
|
1928
|
-
const targetParentChildIds = node.parentId === newParentId ? updatedOldParentChildIds : [...newParent.childIds];
|
|
1929
|
-
if (index !== void 0) {
|
|
1930
|
-
targetParentChildIds.splice(index, 0, nodeId);
|
|
1931
|
-
} else {
|
|
1932
|
-
targetParentChildIds.push(nodeId);
|
|
1933
|
-
}
|
|
1934
|
-
newNodes[newParentId] = {
|
|
1935
|
-
...newNodes[newParentId],
|
|
1936
|
-
childIds: targetParentChildIds
|
|
1937
|
-
};
|
|
1938
|
-
newNodes[nodeId] = {
|
|
1939
|
-
...node,
|
|
1940
|
-
parentId: newParentId
|
|
1941
|
-
};
|
|
1942
|
-
return {
|
|
1943
|
-
...document,
|
|
1944
|
-
nodes: newNodes
|
|
1945
|
-
};
|
|
1946
|
-
}
|
|
1947
|
-
function duplicateNode(document, nodeId, offset = { x: 10, y: 10 }) {
|
|
1948
|
-
const node = document.nodes[nodeId];
|
|
1949
|
-
if (!node || !node.parentId) {
|
|
1950
|
-
return { document, newNodeId: "" };
|
|
1951
|
-
}
|
|
1952
|
-
function cloneNode(n) {
|
|
1953
|
-
const newNode2 = {
|
|
1954
|
-
...n,
|
|
1955
|
-
id: v4_default(),
|
|
1956
|
-
name: `${n.name} Copy`,
|
|
1957
|
-
x: n.x + offset.x,
|
|
1958
|
-
y: n.y + offset.y,
|
|
1959
|
-
childIds: []
|
|
1960
|
-
};
|
|
1961
|
-
const anyNode = newNode2;
|
|
1962
|
-
if (Array.isArray(anyNode.cells)) anyNode.cells = anyNode.cells.map((row) => row.map((c) => ({ ...c })));
|
|
1963
|
-
if (Array.isArray(anyNode.colWidths)) anyNode.colWidths = [...anyNode.colWidths];
|
|
1964
|
-
if (Array.isArray(anyNode.rowHeights)) anyNode.rowHeights = [...anyNode.rowHeights];
|
|
1965
|
-
return newNode2;
|
|
1966
|
-
}
|
|
1967
|
-
const newNode = cloneNode(node);
|
|
1968
|
-
let doc = addNode(document, newNode, node.parentId);
|
|
1969
|
-
function cloneChildren(originalId, newParentId) {
|
|
1970
|
-
const original = document.nodes[originalId];
|
|
1971
|
-
if (!original) return;
|
|
1972
|
-
original.childIds.forEach((childId) => {
|
|
1973
|
-
const child = document.nodes[childId];
|
|
1974
|
-
if (child) {
|
|
1975
|
-
const newChild = cloneNode(child);
|
|
1976
|
-
newChild.x = child.x;
|
|
1977
|
-
newChild.y = child.y;
|
|
1978
|
-
doc = addNode(doc, newChild, newParentId);
|
|
1979
|
-
cloneChildren(childId, newChild.id);
|
|
1980
|
-
}
|
|
1981
|
-
});
|
|
1982
|
-
}
|
|
1983
|
-
cloneChildren(nodeId, newNode.id);
|
|
1984
|
-
return { document: doc, newNodeId: newNode.id };
|
|
1985
|
-
}
|
|
1986
|
-
function getNodeBounds(document, nodeId) {
|
|
1987
|
-
const node = document.nodes[nodeId];
|
|
1988
|
-
if (!node) return null;
|
|
1989
|
-
if (node.childIds.length === 0) {
|
|
1990
|
-
return {
|
|
1991
|
-
x: node.x,
|
|
1992
|
-
y: node.y,
|
|
1993
|
-
width: node.width,
|
|
1994
|
-
height: node.height
|
|
1995
|
-
};
|
|
1996
|
-
}
|
|
1997
|
-
let minX = Infinity;
|
|
1998
|
-
let minY = Infinity;
|
|
1999
|
-
let maxX = -Infinity;
|
|
2000
|
-
let maxY = -Infinity;
|
|
2001
|
-
function updateBounds(n) {
|
|
2002
|
-
minX = Math.min(minX, n.x);
|
|
2003
|
-
minY = Math.min(minY, n.y);
|
|
2004
|
-
maxX = Math.max(maxX, n.x + n.width);
|
|
2005
|
-
maxY = Math.max(maxY, n.y + n.height);
|
|
2006
|
-
}
|
|
2007
|
-
if (node.type !== "PAGE" && node.type !== "GROUP") {
|
|
2008
|
-
updateBounds(node);
|
|
2009
|
-
}
|
|
2010
|
-
const descendants = getDescendants(document, nodeId);
|
|
2011
|
-
descendants.forEach(updateBounds);
|
|
2012
|
-
if (minX === Infinity) return null;
|
|
2013
|
-
return {
|
|
2014
|
-
x: minX,
|
|
2015
|
-
y: minY,
|
|
2016
|
-
width: maxX - minX,
|
|
2017
|
-
height: maxY - minY
|
|
2018
|
-
};
|
|
2019
|
-
}
|
|
2020
|
-
function getWorldRenderBounds(document, nodeId) {
|
|
2021
|
-
let minX = Infinity;
|
|
2022
|
-
let minY = Infinity;
|
|
2023
|
-
let maxX = -Infinity;
|
|
2024
|
-
let maxY = -Infinity;
|
|
2025
|
-
function bleedFor(node) {
|
|
2026
|
-
const scene = node;
|
|
2027
|
-
let bleed = 0;
|
|
2028
|
-
let maxStrokeW = 0;
|
|
2029
|
-
for (const s of scene.strokes ?? []) {
|
|
2030
|
-
const w = Array.isArray(s.width) ? Math.max(...s.width) : s.width;
|
|
2031
|
-
maxStrokeW = Math.max(maxStrokeW, w || 0);
|
|
2032
|
-
if (s.alignment === "OUTSIDE") bleed = Math.max(bleed, w);
|
|
2033
|
-
else if (s.alignment === "CENTER") bleed = Math.max(bleed, w / 2);
|
|
2034
|
-
}
|
|
2035
|
-
if (node.type === "LINE" || node.type === "ARROW") {
|
|
2036
|
-
if (node.type === "ARROW" && maxStrokeW === 0) maxStrokeW = 2;
|
|
2037
|
-
bleed = Math.max(bleed, maxStrokeW / 2);
|
|
2038
|
-
if (scene.startArrowhead && scene.startArrowhead !== "NONE" || scene.endArrowhead && scene.endArrowhead !== "NONE") {
|
|
2039
|
-
bleed = Math.max(bleed, Math.max(8, maxStrokeW * 4));
|
|
2040
|
-
}
|
|
2041
|
-
}
|
|
2042
|
-
for (const sh of shadowsOf(scene, document.styles)) {
|
|
2043
|
-
if (sh.type !== "DROP_SHADOW") continue;
|
|
2044
|
-
const reach = Math.max(Math.abs(sh.offset.x), Math.abs(sh.offset.y)) + sh.blur + sh.spread;
|
|
2045
|
-
bleed = Math.max(bleed, reach);
|
|
2046
|
-
}
|
|
2047
|
-
for (const bl of blursOf(scene, document.styles)) {
|
|
2048
|
-
if (bl.type === "LAYER") bleed = Math.max(bleed, bl.radius);
|
|
2049
|
-
}
|
|
2050
|
-
return bleed;
|
|
2051
|
-
}
|
|
2052
|
-
const world = cachedResolver(document.nodes);
|
|
2053
|
-
function visit(id) {
|
|
2054
|
-
const raw = document.nodes[id];
|
|
2055
|
-
if (!raw || !raw.visible) return;
|
|
2056
|
-
const node = resolveNodeVariables(raw, document.variables, document.variableCollections, document.activeVariableModes);
|
|
2057
|
-
const m = world.matrixOf(id);
|
|
2058
|
-
const b = aabbOf(m, node.width, node.height, bleedFor(node) * lengthScale(m));
|
|
2059
|
-
minX = Math.min(minX, b.minX);
|
|
2060
|
-
minY = Math.min(minY, b.minY);
|
|
2061
|
-
maxX = Math.max(maxX, b.maxX);
|
|
2062
|
-
maxY = Math.max(maxY, b.maxY);
|
|
2063
|
-
const clips = "clipsContent" in node && node.clipsContent;
|
|
2064
|
-
if (clips || node.type === "BOOLEAN") return;
|
|
2065
|
-
const scene = scene3dOf(node);
|
|
2066
|
-
if (scene) {
|
|
2067
|
-
const frame = sceneFrame(scene, node.width, node.height);
|
|
2068
|
-
const toWorld = mul4(mul4(fromAffine(m), frame.projection), frame.view);
|
|
2069
|
-
for (const card of sceneLayers(document.nodes, id)) {
|
|
2070
|
-
const pad = bleedFor(card.node);
|
|
2071
|
-
for (const [x, y] of projectRect(mul4(toWorld, card.model), -pad, -pad, card.node.width + pad, card.node.height + pad)) {
|
|
2072
|
-
minX = Math.min(minX, x);
|
|
2073
|
-
minY = Math.min(minY, y);
|
|
2074
|
-
maxX = Math.max(maxX, x);
|
|
2075
|
-
maxY = Math.max(maxY, y);
|
|
2076
|
-
}
|
|
2077
|
-
}
|
|
2078
|
-
return;
|
|
2079
|
-
}
|
|
2080
|
-
node.childIds.forEach(visit);
|
|
2081
|
-
}
|
|
2082
|
-
visit(nodeId);
|
|
2083
|
-
if (minX === Infinity) return null;
|
|
2084
|
-
return { minX, minY, maxX, maxY };
|
|
2085
|
-
}
|
|
2086
|
-
function gatherLineObstacles(document, line, startAbs, endAbs) {
|
|
2087
|
-
const excluded = /* @__PURE__ */ new Set([line.id]);
|
|
2088
|
-
for (const att of [line.connectorStart, line.connectorEnd]) {
|
|
2089
|
-
if (att && att.nodeId && document.nodes[att.nodeId]) {
|
|
2090
|
-
excluded.add(att.nodeId);
|
|
2091
|
-
for (const a of getAncestors(document, att.nodeId)) excluded.add(a.id);
|
|
2092
|
-
for (const d of getDescendants(document, att.nodeId)) excluded.add(d.id);
|
|
2093
|
-
}
|
|
2094
|
-
}
|
|
2095
|
-
const margin = 160;
|
|
2096
|
-
const rMinX = Math.min(startAbs.x, endAbs.x) - margin;
|
|
2097
|
-
const rMaxX = Math.max(startAbs.x, endAbs.x) + margin;
|
|
2098
|
-
const rMinY = Math.min(startAbs.y, endAbs.y) - margin;
|
|
2099
|
-
const rMaxY = Math.max(startAbs.y, endAbs.y) + margin;
|
|
2100
|
-
const rects = [];
|
|
2101
|
-
for (const n of Object.values(document.nodes)) {
|
|
2102
|
-
if (excluded.has(n.id) || n.visible === false || !OBSTACLE_TYPES.has(n.type)) continue;
|
|
2103
|
-
const { minX: ax, minY: ay, maxX: bx, maxY: by } = aabbOf(getWorldMatrix(document, n.id), n.width, n.height);
|
|
2104
|
-
if (bx < rMinX || ax > rMaxX || by < rMinY || ay > rMaxY) continue;
|
|
2105
|
-
rects.push({ x: ax, y: ay, w: bx - ax, h: by - ay });
|
|
2106
|
-
if (rects.length >= 40) break;
|
|
2107
|
-
}
|
|
2108
|
-
return rects;
|
|
2109
|
-
}
|
|
2110
|
-
function connectorIdsOf(nodes) {
|
|
2111
|
-
let ids = connectorIdCache.get(nodes);
|
|
2112
|
-
if (!ids) {
|
|
2113
|
-
ids = [];
|
|
2114
|
-
for (const id in nodes) {
|
|
2115
|
-
const t = nodes[id].type;
|
|
2116
|
-
if (t === "LINE" || t === "ARROW") ids.push(id);
|
|
2117
|
-
}
|
|
2118
|
-
connectorIdCache.set(nodes, ids);
|
|
2119
|
-
}
|
|
2120
|
-
return ids;
|
|
2121
|
-
}
|
|
2122
|
-
function carryConnectorIds(from, to) {
|
|
2123
|
-
if (from === to) return;
|
|
2124
|
-
const ids = connectorIdCache.get(from);
|
|
2125
|
-
if (ids && !connectorIdCache.has(to)) connectorIdCache.set(to, ids);
|
|
2126
|
-
}
|
|
2127
|
-
function updateConnectors(document, movedNodeIds) {
|
|
2128
|
-
const movedSet = new Set(movedNodeIds);
|
|
2129
|
-
const stack = [...movedNodeIds];
|
|
2130
|
-
while (stack.length) {
|
|
2131
|
-
const n = document.nodes[stack.pop()];
|
|
2132
|
-
if (n && Array.isArray(n.childIds)) {
|
|
2133
|
-
for (const cid of n.childIds) if (!movedSet.has(cid)) {
|
|
2134
|
-
movedSet.add(cid);
|
|
2135
|
-
stack.push(cid);
|
|
2136
|
-
}
|
|
2137
|
-
}
|
|
2138
|
-
}
|
|
2139
|
-
const ids = connectorIdsOf(document.nodes);
|
|
2140
|
-
if (ids.length === 0) return document;
|
|
2141
|
-
const connectors = [];
|
|
2142
|
-
for (const id of ids) {
|
|
2143
|
-
const node = document.nodes[id];
|
|
2144
|
-
if (node) connectors.push(node);
|
|
2145
|
-
}
|
|
2146
|
-
const affectedLineIds = /* @__PURE__ */ new Set();
|
|
2147
|
-
for (const node of connectors) {
|
|
2148
|
-
{
|
|
2149
|
-
const line = node;
|
|
2150
|
-
if (movedSet.has(line.id) || line.connectorStart && movedSet.has(line.connectorStart.nodeId) || line.connectorEnd && movedSet.has(line.connectorEnd.nodeId)) {
|
|
2151
|
-
affectedLineIds.add(line.id);
|
|
2152
|
-
}
|
|
2153
|
-
}
|
|
2154
|
-
}
|
|
2155
|
-
const movedBoxes = [];
|
|
2156
|
-
for (const id of movedSet) {
|
|
2157
|
-
const n = document.nodes[id];
|
|
2158
|
-
if (!n || n.type === "LINE" || n.type === "ARROW") continue;
|
|
2159
|
-
const b = uprightBounds(getWorldTransform(document, id), n.width, n.height);
|
|
2160
|
-
movedBoxes.push({ x0: b.minX, y0: b.minY, x1: b.maxX, y1: b.maxY });
|
|
2161
|
-
}
|
|
2162
|
-
if (movedBoxes.length) {
|
|
2163
|
-
const M = 48;
|
|
2164
|
-
for (const node of connectors) {
|
|
2165
|
-
if (node.routingMode !== "ORTHOGONAL") continue;
|
|
2166
|
-
if (affectedLineIds.has(node.id)) continue;
|
|
2167
|
-
const rp = node.routingPoints;
|
|
2168
|
-
if (!Array.isArray(rp) || rp.length === 0) continue;
|
|
2169
|
-
let lx0 = Infinity, ly0 = Infinity, lx1 = -Infinity, ly1 = -Infinity;
|
|
2170
|
-
for (const p of rp) {
|
|
2171
|
-
lx0 = Math.min(lx0, p.x);
|
|
2172
|
-
ly0 = Math.min(ly0, p.y);
|
|
2173
|
-
lx1 = Math.max(lx1, p.x);
|
|
2174
|
-
ly1 = Math.max(ly1, p.y);
|
|
2175
|
-
}
|
|
2176
|
-
for (const b of movedBoxes) {
|
|
2177
|
-
if (lx1 >= b.x0 - M && lx0 <= b.x1 + M && ly1 >= b.y0 - M && ly0 <= b.y1 + M) {
|
|
2178
|
-
affectedLineIds.add(node.id);
|
|
2179
|
-
break;
|
|
2180
|
-
}
|
|
2181
|
-
}
|
|
2182
|
-
}
|
|
2183
|
-
}
|
|
2184
|
-
if (affectedLineIds.size === 0) return document;
|
|
2185
|
-
const newDoc = { ...document, nodes: { ...document.nodes } };
|
|
2186
|
-
for (const lineId of affectedLineIds) {
|
|
2187
|
-
const line = newDoc.nodes[lineId];
|
|
2188
|
-
const [shaftA, shaftB] = lineShaftEnds(getWorldTransform(document, line.id), line.width);
|
|
2189
|
-
const routed = (line.routingMode === "ORTHOGONAL" || line.routingMode === "BEZIER") && Array.isArray(line.routingPoints) && line.routingPoints.length >= 2;
|
|
2190
|
-
let absA = routed ? { x: line.routingPoints[0].x, y: line.routingPoints[0].y } : shaftA;
|
|
2191
|
-
let absB = routed ? { x: line.routingPoints[line.routingPoints.length - 1].x, y: line.routingPoints[line.routingPoints.length - 1].y } : shaftB;
|
|
2192
|
-
const getTargetAbs = (attachment) => {
|
|
2193
|
-
if (!attachment) return null;
|
|
2194
|
-
const targetNode = newDoc.nodes[attachment.nodeId];
|
|
2195
|
-
if (!targetNode) return null;
|
|
2196
|
-
const a = getConnectorAnchorLocal(targetNode, attachment.position);
|
|
2197
|
-
const [x, y] = apply(unmirroredMatrix(getWorldTransform(document, targetNode.id), targetNode.width, targetNode.height), a.x, a.y);
|
|
2198
|
-
return { x, y };
|
|
2199
|
-
};
|
|
2200
|
-
const newA = getTargetAbs(line.connectorStart);
|
|
2201
|
-
const newB = getTargetAbs(line.connectorEnd);
|
|
2202
|
-
if (newA) absA = newA;
|
|
2203
|
-
if (newB) absB = newB;
|
|
2204
|
-
if (!newA && !newB) continue;
|
|
2205
|
-
const inverseTransformPoint = (worldPt, parentId) => {
|
|
2206
|
-
const parentNode = newDoc.nodes[parentId];
|
|
2207
|
-
if (!parentNode || parentNode.type === "PAGE") return worldPt;
|
|
2208
|
-
const inv = invert(getWorldMatrix(document, parentId));
|
|
2209
|
-
if (!inv) return worldPt;
|
|
2210
|
-
const [x, y] = apply(inv, worldPt.x, worldPt.y);
|
|
2211
|
-
return { x, y };
|
|
2212
|
-
};
|
|
2213
|
-
let parentA = absA;
|
|
2214
|
-
let parentB = absB;
|
|
2215
|
-
if (line.parentId) {
|
|
2216
|
-
parentA = inverseTransformPoint(absA, line.parentId);
|
|
2217
|
-
parentB = inverseTransformPoint(absB, line.parentId);
|
|
2218
|
-
}
|
|
2219
|
-
const dx = parentB.x - parentA.x;
|
|
2220
|
-
const dy = parentB.y - parentA.y;
|
|
2221
|
-
const newWidth = Math.hypot(dx, dy);
|
|
2222
|
-
const newRotation = Math.atan2(dy, dx) * 180 / Math.PI;
|
|
2223
|
-
const updatedLine = {
|
|
2224
|
-
...line,
|
|
2225
|
-
width: newWidth,
|
|
2226
|
-
rotation: newRotation,
|
|
2227
|
-
x: (parentA.x + parentB.x) / 2 - newWidth / 2,
|
|
2228
|
-
y: (parentA.y + parentB.y) / 2 - Math.max(line.strokeWeight || 1, 2) / 2,
|
|
2229
|
-
height: Math.max(line.strokeWeight || 1, 2)
|
|
2230
|
-
};
|
|
2231
|
-
if (line.routingMode === "ORTHOGONAL" || line.routingMode === "BEZIER") {
|
|
2232
|
-
const getDir = (attach, defaultDir) => {
|
|
2233
|
-
if (!attach) return defaultDir;
|
|
2234
|
-
return connectorPositionDir(attach.position);
|
|
2235
|
-
};
|
|
2236
|
-
const sDir = getDir(line.connectorStart, "CENTER");
|
|
2237
|
-
const eDir = getDir(line.connectorEnd, "CENTER");
|
|
2238
|
-
const routeOpts = {
|
|
2239
|
-
startPos: absA,
|
|
2240
|
-
endPos: absB,
|
|
2241
|
-
startDir: sDir,
|
|
2242
|
-
endDir: eDir
|
|
2243
|
-
};
|
|
2244
|
-
if (line.routingMode === "ORTHOGONAL") {
|
|
2245
|
-
routeOpts.obstacles = gatherLineObstacles(newDoc, line, absA, absB);
|
|
2246
|
-
}
|
|
2247
|
-
const pts = line.routingMode === "BEZIER" ? calculateBezierPath(routeOpts) : calculateOrthogonalPath(routeOpts);
|
|
2248
|
-
updatedLine.routingPoints = pts;
|
|
2249
|
-
if (pts.length > 0) {
|
|
2250
|
-
let minX = Infinity, minY = Infinity, maxX = -Infinity, maxY = -Infinity;
|
|
2251
|
-
for (const p of pts) {
|
|
2252
|
-
minX = Math.min(minX, p.x);
|
|
2253
|
-
minY = Math.min(minY, p.y);
|
|
2254
|
-
maxX = Math.max(maxX, p.x);
|
|
2255
|
-
maxY = Math.max(maxY, p.y);
|
|
2256
|
-
}
|
|
2257
|
-
const originLocal = line.parentId ? inverseTransformPoint({ x: minX, y: minY }, line.parentId) : { x: minX, y: minY };
|
|
2258
|
-
updatedLine.width = Math.max(1, maxX - minX);
|
|
2259
|
-
updatedLine.height = Math.max(1, maxY - minY);
|
|
2260
|
-
updatedLine.x = originLocal.x;
|
|
2261
|
-
updatedLine.y = originLocal.y;
|
|
2262
|
-
updatedLine.rotation = 0;
|
|
2263
|
-
}
|
|
2264
|
-
} else {
|
|
2265
|
-
updatedLine.routingPoints = void 0;
|
|
2266
|
-
}
|
|
2267
|
-
newDoc.nodes[lineId] = updatedLine;
|
|
2268
|
-
}
|
|
2269
|
-
carryConnectorIds(document.nodes, newDoc.nodes);
|
|
2270
|
-
return newDoc;
|
|
2271
|
-
}
|
|
2272
|
-
var ZERO_TRANSFORM, ROOT, resolverCache, OBSTACLE_TYPES, connectorIdCache;
|
|
2273
|
-
var init_scene_graph = __esm({
|
|
2274
|
-
"lib/document/scene-graph.ts"() {
|
|
2275
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
2276
|
-
init_dist_node();
|
|
2277
|
-
init_effects();
|
|
2278
|
-
init_variables();
|
|
2279
|
-
init_instances();
|
|
2280
|
-
init_instance_layout();
|
|
2281
|
-
init_cells();
|
|
2282
|
-
init_palettes();
|
|
2283
|
-
init_transform();
|
|
2284
|
-
init_types();
|
|
2285
|
-
init_scene3d();
|
|
2286
|
-
init_transform3d();
|
|
2287
|
-
init_routing();
|
|
2288
|
-
init_shape_outline();
|
|
2289
|
-
ZERO_TRANSFORM = { cx: 0, cy: 0, rotationRad: 0, flipX: false, flipY: false, scaleX: 1, scaleY: 1, matrix: IDENTITY };
|
|
2290
|
-
ROOT = { m: IDENTITY, flipX: false, flipY: false, angle: 0, sense: 1, conformal: true };
|
|
2291
|
-
resolverCache = /* @__PURE__ */ new WeakMap();
|
|
2292
|
-
setVirtualResolver(resolveVirtualNode);
|
|
2293
|
-
OBSTACLE_TYPES = /* @__PURE__ */ new Set([
|
|
2294
|
-
"FRAME",
|
|
2295
|
-
"RECTANGLE",
|
|
2296
|
-
"ELLIPSE",
|
|
2297
|
-
"POLYGON",
|
|
2298
|
-
"STAR",
|
|
2299
|
-
"TEXT",
|
|
2300
|
-
"VECTOR",
|
|
2301
|
-
"BOOLEAN",
|
|
2302
|
-
"TABLE",
|
|
2303
|
-
"COMPONENT",
|
|
2304
|
-
"COMPONENT_SET",
|
|
2305
|
-
"INSTANCE",
|
|
2306
|
-
"STICKY",
|
|
2307
|
-
"IMAGE"
|
|
2308
|
-
]);
|
|
2309
|
-
connectorIdCache = /* @__PURE__ */ new WeakMap();
|
|
2310
|
-
setSceneApi({ resolve: resolveVirtualNode, childId: virtualChildId, rootOf: virtualRootOf });
|
|
2311
|
-
}
|
|
2312
|
-
});
|
|
2313
|
-
|
|
2314
|
-
// lib/document/print-pages.ts
|
|
2315
|
-
var print_pages_exports = {};
|
|
2316
|
-
__export(print_pages_exports, {
|
|
2317
|
-
addHeaderFooterToMaster: () => addHeaderFooterToMaster,
|
|
2318
|
-
assignMaster: () => assignMaster,
|
|
2319
|
-
createMasterPage: () => createMasterPage,
|
|
2320
|
-
createPrintPage: () => createPrintPage,
|
|
2321
|
-
currentPrintPage: () => currentPrintPage,
|
|
2322
|
-
documentFromPreset: () => documentFromPreset,
|
|
2323
|
-
effectiveMasterId: () => effectiveMasterId,
|
|
2324
|
-
foldGuides: () => foldGuides,
|
|
2325
|
-
foldGuidesAt: () => foldGuidesAt,
|
|
2326
|
-
foldsOn: () => foldsOn,
|
|
2327
|
-
isFixedPageKind: () => isFixedPageKind,
|
|
2328
|
-
isMasterPage: () => isMasterPage,
|
|
2329
|
-
isPrintPage: () => isPrintPage,
|
|
2330
|
-
jobPageSize: () => jobPageSize,
|
|
2331
|
-
listMasterPages: () => listMasterPages,
|
|
2332
|
-
listPrintPages: () => listPrintPages,
|
|
2333
|
-
pagePosition: () => pagePosition,
|
|
2334
|
-
placePrintPages: () => placePrintPages,
|
|
2335
|
-
printPageOf: () => printPageOf,
|
|
2336
|
-
reorderPrintPages: () => reorderPrintPages,
|
|
2337
|
-
settingsFromPreset: () => settingsFromPreset
|
|
2338
|
-
});
|
|
2339
|
-
function listPrintPages(doc, pageId) {
|
|
2340
|
-
const page = doc.nodes[pageId];
|
|
2341
|
-
if (!page) return [];
|
|
2342
|
-
return ordered(page.childIds.map((id) => doc.nodes[id]).filter(isPrintPage));
|
|
2343
|
-
}
|
|
2344
|
-
function listMasterPages(doc, pageId) {
|
|
2345
|
-
const page = doc.nodes[pageId];
|
|
2346
|
-
if (!page) return [];
|
|
2347
|
-
return ordered(page.childIds.map((id) => doc.nodes[id]).filter(isMasterPage));
|
|
2348
|
-
}
|
|
2349
|
-
function printPageOf(nodes, nodeId) {
|
|
2350
|
-
let cur = nodes[nodeId.includes("::") ? nodeId.split("::")[0] : nodeId];
|
|
2351
|
-
while (cur && cur.type !== "PAGE") {
|
|
2352
|
-
if (cur.type === "FRAME" && cur.print?.isPrintPage) return cur;
|
|
2353
|
-
cur = cur.parentId ? nodes[cur.parentId] : void 0;
|
|
2354
|
-
}
|
|
2355
|
-
return null;
|
|
2356
|
-
}
|
|
2357
|
-
function currentPrintPage(doc, pageId, o = {}) {
|
|
2358
|
-
const pages = listPrintPages(doc, pageId);
|
|
2359
|
-
if (!pages.length) return null;
|
|
2360
|
-
for (const id of o.selection ?? []) {
|
|
2361
|
-
const owner = printPageOf(doc.nodes, id);
|
|
2362
|
-
if (owner && pages.some((p) => p.id === owner.id)) return owner;
|
|
2363
|
-
}
|
|
2364
|
-
const c = o.centre;
|
|
2365
|
-
if (c) {
|
|
2366
|
-
const inside = pages.find((p) => c.x >= p.x && c.x <= p.x + p.width && c.y >= p.y && c.y <= p.y + p.height);
|
|
2367
|
-
if (inside) return inside;
|
|
2368
|
-
let best = pages[0], bestD = Infinity;
|
|
2369
|
-
for (const p of pages) {
|
|
2370
|
-
const dx = Math.max(p.x - c.x, 0, c.x - (p.x + p.width));
|
|
2371
|
-
const dy = Math.max(p.y - c.y, 0, c.y - (p.y + p.height));
|
|
2372
|
-
const d = dx * dx + dy * dy;
|
|
2373
|
-
if (d < bestD) {
|
|
2374
|
-
bestD = d;
|
|
2375
|
-
best = p;
|
|
2376
|
-
}
|
|
2377
|
-
}
|
|
2378
|
-
return best;
|
|
2379
|
-
}
|
|
2380
|
-
return pages[0];
|
|
2381
|
-
}
|
|
2382
|
-
function jobPageSize(doc) {
|
|
2383
|
-
const size = doc.settings?.pageSize;
|
|
2384
|
-
if (!size) return void 0;
|
|
2385
|
-
const preset = presetById(size.presetId);
|
|
2386
|
-
const of = preset?.sheetOf ? presetById(preset.sheetOf.presetId) : void 0;
|
|
2387
|
-
if (of) {
|
|
2388
|
-
const px = presetPx(of);
|
|
2389
|
-
return { width: px.width, height: px.height };
|
|
2390
|
-
}
|
|
2391
|
-
return { width: size.width, height: size.height };
|
|
2392
|
-
}
|
|
2393
|
-
function settingsFromPreset(preset) {
|
|
2394
|
-
const px = presetPx(preset);
|
|
2395
|
-
const s = {
|
|
2396
|
-
kind: kindForCategory(preset.category),
|
|
2397
|
-
pageSize: { width: px.width, height: px.height, presetId: preset.id }
|
|
2398
|
-
};
|
|
2399
|
-
if (preset.unit !== "px") s.units = preset.unit;
|
|
2400
|
-
if (preset.dpi) s.dpi = preset.dpi;
|
|
2401
|
-
if (px.bleed) s.bleed = edges(px.bleed);
|
|
2402
|
-
if (px.margin) s.margins = edges(px.margin);
|
|
2403
|
-
return s;
|
|
2404
|
-
}
|
|
2405
|
-
function pagePosition(index, size, facing) {
|
|
2406
|
-
if (!facing) return { x: index * (size.width + gutter(size.width)), y: 0 };
|
|
2407
|
-
const spread = Math.ceil(index / 2);
|
|
2408
|
-
const right = index % 2 === 0;
|
|
2409
|
-
return { x: right ? size.width : 0, y: spread * (size.height + gutter(size.width)) };
|
|
2410
|
-
}
|
|
2411
|
-
function placePrintPages(doc, pageId) {
|
|
2412
|
-
const patches = {};
|
|
2413
|
-
const facing = doc.settings?.facingPages;
|
|
2414
|
-
const place2 = (frames, at) => frames.forEach((f, i) => {
|
|
2415
|
-
const p = at(i, f);
|
|
2416
|
-
if (f.x !== p.x || f.y !== p.y) patches[f.id] = { ...patches[f.id] ?? {}, ...p };
|
|
2417
|
-
});
|
|
2418
|
-
place2(listPrintPages(doc, pageId), (i, f) => pagePosition(i, f, facing));
|
|
2419
|
-
place2(listMasterPages(doc, pageId), (i, f) => masterPosition(i, f));
|
|
2420
|
-
return patches;
|
|
2421
|
-
}
|
|
2422
|
-
function foldGuides(preset, width, height) {
|
|
2423
|
-
if (!preset.folds) return [];
|
|
2424
|
-
const span = preset.folds.axis === "X" ? width : height;
|
|
2425
|
-
return preset.folds.at.map((t) => ({ id: v4_default(), axis: preset.folds.axis, pos: Math.round(t * span), kind: "FOLD" }));
|
|
2426
|
-
}
|
|
2427
|
-
function foldGuidesAt(preset, frame) {
|
|
2428
|
-
if (!preset?.folds) return [];
|
|
2429
|
-
return foldGuides(preset, frame.width, frame.height).map((g) => ({ ...g, pos: g.pos + (g.axis === "X" ? frame.x : frame.y) }));
|
|
2430
|
-
}
|
|
2431
|
-
function createPrintPage(doc, pageId, opts = {}) {
|
|
2432
|
-
const existing = listPrintPages(doc, pageId);
|
|
2433
|
-
const preset = opts.preset ?? presetById(doc.settings?.pageSize?.presetId);
|
|
2434
|
-
const size = preset ? presetPx(preset) : { width: doc.settings?.pageSize?.width ?? 816, height: doc.settings?.pageSize?.height ?? 1056 };
|
|
2435
|
-
const index = existing.length;
|
|
2436
|
-
const last = existing[existing.length - 1];
|
|
2437
|
-
const frame = createFrame({
|
|
2438
|
-
name: opts.name ?? `Page ${index + 1}`,
|
|
2439
|
-
...pagePosition(index, size, doc.settings?.facingPages),
|
|
2440
|
-
width: size.width,
|
|
2441
|
-
height: size.height,
|
|
2442
|
-
fills: [{ type: "SOLID", color: createColor(1, 1, 1), opacity: 1, visible: true }],
|
|
2443
|
-
clipsContent: true,
|
|
2444
|
-
print: { isPrintPage: true, index, ...last?.print?.masterId ? { masterId: last.print.masterId } : {} }
|
|
2445
|
-
});
|
|
2446
|
-
frame.parentId = pageId;
|
|
2447
|
-
return frame;
|
|
2448
|
-
}
|
|
2449
|
-
function createMasterPage(doc, pageId, opts = {}) {
|
|
2450
|
-
const masters = listMasterPages(doc, pageId);
|
|
2451
|
-
const preset = presetById(doc.settings?.pageSize?.presetId);
|
|
2452
|
-
const size = preset ? presetPx(preset) : { width: doc.settings?.pageSize?.width ?? 816, height: doc.settings?.pageSize?.height ?? 1056 };
|
|
2453
|
-
const index = masters.length;
|
|
2454
|
-
const frame = createFrame({
|
|
2455
|
-
name: opts.name ?? `${MASTER_NAMES[index % MASTER_NAMES.length]}-Master`,
|
|
2456
|
-
...masterPosition(index, size),
|
|
2457
|
-
width: size.width,
|
|
2458
|
-
height: size.height,
|
|
2459
|
-
fills: [{ type: "SOLID", color: createColor(1, 1, 1), opacity: 1, visible: true }],
|
|
2460
|
-
clipsContent: true,
|
|
2461
|
-
print: { isPrintPage: true, isMaster: true, index }
|
|
2462
|
-
});
|
|
2463
|
-
frame.parentId = pageId;
|
|
2464
|
-
return frame;
|
|
2465
|
-
}
|
|
2466
|
-
function assignMaster(doc, pageIds, masterId) {
|
|
2467
|
-
const patches = {};
|
|
2468
|
-
if (masterId && !isMasterPage(doc.nodes[masterId])) return patches;
|
|
2469
|
-
for (const id of pageIds) {
|
|
2470
|
-
const f = doc.nodes[id];
|
|
2471
|
-
if (!isPrintPage(f) || (f.print.masterId ?? void 0) === masterId) continue;
|
|
2472
|
-
const { masterId: _drop, ...rest } = f.print;
|
|
2473
|
-
patches[id] = { print: masterId ? { ...rest, masterId } : rest };
|
|
2474
|
-
}
|
|
2475
|
-
return patches;
|
|
2476
|
-
}
|
|
2477
|
-
function effectiveMasterId(doc, frame) {
|
|
2478
|
-
const print = frame.print;
|
|
2479
|
-
if (!print || print.isMaster || !frame.parentId) return void 0;
|
|
2480
|
-
const pages = listPrintPages(doc, frame.parentId);
|
|
2481
|
-
const index = pages.findIndex((p) => p.id === frame.id);
|
|
2482
|
-
if (index < 0) return print.masterId;
|
|
2483
|
-
if (index === 0 && print.masterIdFirst && isMasterPage(doc.nodes[print.masterIdFirst])) return print.masterIdFirst;
|
|
2484
|
-
if (doc.settings?.facingPages && index >= 0) {
|
|
2485
|
-
const isRight = (index + 1) % 2 === 1;
|
|
2486
|
-
if (!isRight && print.masterIdLeft && isMasterPage(doc.nodes[print.masterIdLeft])) return print.masterIdLeft;
|
|
2487
|
-
if (isRight && print.masterIdRight && isMasterPage(doc.nodes[print.masterIdRight])) return print.masterIdRight;
|
|
2488
|
-
}
|
|
2489
|
-
return print.masterId;
|
|
2490
|
-
}
|
|
2491
|
-
function addHeaderFooterToMaster(doc, masterId, kind) {
|
|
2492
|
-
const master = doc.nodes[masterId];
|
|
2493
|
-
if (!isMasterPage(master)) return null;
|
|
2494
|
-
const margin = 36;
|
|
2495
|
-
const height = 24;
|
|
2496
|
-
const y = kind === "header" ? margin : Math.max(margin, master.height - margin - height);
|
|
2497
|
-
const text = createText({
|
|
2498
|
-
name: kind === "header" ? "Header" : "Footer",
|
|
2499
|
-
x: margin,
|
|
2500
|
-
y,
|
|
2501
|
-
width: Math.max(40, master.width - margin * 2),
|
|
2502
|
-
height,
|
|
2503
|
-
characters: kind === "footer" ? "{{page}}" : "Header",
|
|
2504
|
-
fontSize: 10,
|
|
2505
|
-
textAlign: kind === "footer" ? "CENTER" : "LEFT"
|
|
2506
|
-
});
|
|
2507
|
-
const next = addNode(doc, text, masterId);
|
|
2508
|
-
const band = kind === "header" ? { headerHeight: margin + height + 8 } : { footerHeight: margin + height + 8 };
|
|
2509
|
-
const updated = {
|
|
2510
|
-
...next,
|
|
2511
|
-
nodes: {
|
|
2512
|
-
...next.nodes,
|
|
2513
|
-
[masterId]: {
|
|
2514
|
-
...next.nodes[masterId],
|
|
2515
|
-
print: { ...next.nodes[masterId].print, ...band }
|
|
2516
|
-
}
|
|
2517
|
-
}
|
|
2518
|
-
};
|
|
2519
|
-
return { doc: updated, textId: text.id };
|
|
2520
|
-
}
|
|
2521
|
-
function reorderPrintPages(doc, pageId, orderedIds) {
|
|
2522
|
-
const current = listPrintPages(doc, pageId);
|
|
2523
|
-
const rest = current.map((f) => f.id).filter((id) => !orderedIds.includes(id));
|
|
2524
|
-
const patches = {};
|
|
2525
|
-
[...orderedIds, ...rest].forEach((id, index) => {
|
|
2526
|
-
const f = doc.nodes[id];
|
|
2527
|
-
if (isPrintPage(f) && f.print.index !== index) patches[id] = { print: { ...f.print, index } };
|
|
2528
|
-
});
|
|
2529
|
-
const renumbered = { ...doc, nodes: { ...doc.nodes } };
|
|
2530
|
-
for (const id in patches) renumbered.nodes[id] = { ...doc.nodes[id], ...patches[id] };
|
|
2531
|
-
const placed = placePrintPages(renumbered, pageId);
|
|
2532
|
-
for (const id in placed) patches[id] = { ...patches[id] ?? {}, ...placed[id] };
|
|
2533
|
-
return patches;
|
|
2534
|
-
}
|
|
2535
|
-
function documentFromPreset(name, preset) {
|
|
2536
|
-
const doc = createDocument(name, settingsFromPreset(preset));
|
|
2537
|
-
const pageId = doc.pages[0];
|
|
2538
|
-
const first = createPrintPage(doc, pageId, { preset, name: isFixedPageKind(doc.settings?.kind) ? "Page 1" : preset.name });
|
|
2539
|
-
if (!isFixedPageKind(doc.settings?.kind)) delete first.print;
|
|
2540
|
-
const page = doc.nodes[pageId];
|
|
2541
|
-
doc.nodes[first.id] = first;
|
|
2542
|
-
doc.nodes[pageId] = { ...page, childIds: [...page.childIds, first.id] };
|
|
2543
|
-
const guides = foldGuides(preset, first.width, first.height).map((g) => ({ ...g, pos: g.pos + (g.axis === "X" ? first.x : first.y) }));
|
|
2544
|
-
if (guides.length) doc.nodes[pageId].guides = guides;
|
|
2545
|
-
return doc;
|
|
2546
|
-
}
|
|
2547
|
-
var isFixedPageKind, isPrintPage, isMasterPage, ordered, edges, gutter, masterPosition, foldsOn, MASTER_NAMES;
|
|
2548
|
-
var init_print_pages = __esm({
|
|
2549
|
-
"lib/document/print-pages.ts"() {
|
|
2550
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
2551
|
-
init_dist_node();
|
|
2552
|
-
init_scene_graph();
|
|
2553
|
-
init_types();
|
|
2554
|
-
init_page_presets();
|
|
2555
|
-
isFixedPageKind = (kind) => kind === "PRINT" || kind === "SOCIAL" || kind === "PRESENTATION" || kind === "EMAIL";
|
|
2556
|
-
isPrintPage = (n) => !!n && n.type === "FRAME" && !!n.print?.isPrintPage && !n.print?.isMaster;
|
|
2557
|
-
isMasterPage = (n) => !!n && n.type === "FRAME" && !!n.print?.isMaster;
|
|
2558
|
-
ordered = (frames) => frames.map((f, i) => ({ f, i })).sort((a, b) => (a.f.print.index ?? Infinity) - (b.f.print.index ?? Infinity) || a.f.y - b.f.y || a.f.x - b.f.x || a.i - b.i).map((x) => x.f);
|
|
2559
|
-
edges = (v) => ({ top: v, right: v, bottom: v, left: v });
|
|
2560
|
-
gutter = (w) => Math.round(w * 0.15);
|
|
2561
|
-
masterPosition = (index, size) => ({
|
|
2562
|
-
x: index * (size.width + gutter(size.width)),
|
|
2563
|
-
y: -(size.height + 2 * gutter(size.width))
|
|
2564
|
-
});
|
|
2565
|
-
foldsOn = (guides, frame) => (guides ?? []).filter((g) => g.kind === "FOLD" && (g.axis === "X" ? g.pos >= frame.x && g.pos <= frame.x + frame.width : g.pos >= frame.y && g.pos <= frame.y + frame.height));
|
|
2566
|
-
MASTER_NAMES = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
2567
|
-
}
|
|
2568
|
-
});
|
|
2569
|
-
|
|
2570
|
-
export {
|
|
2571
|
-
calculateOrthogonalPath,
|
|
2572
|
-
trimPolyline,
|
|
2573
|
-
calculateBezierPath,
|
|
2574
|
-
init_routing,
|
|
2575
|
-
flattenPaths,
|
|
2576
|
-
init_flatten,
|
|
2577
|
-
glyphLinear,
|
|
2578
|
-
init_glyph_linear,
|
|
2579
|
-
glyphOutline,
|
|
2580
|
-
glyphInstancesToRings,
|
|
2581
|
-
init_text_rings,
|
|
2582
|
-
shapeToRings,
|
|
2583
|
-
init_shape_outline,
|
|
2584
|
-
isFixedPageKind,
|
|
2585
|
-
isPrintPage,
|
|
2586
|
-
isMasterPage,
|
|
2587
|
-
listPrintPages,
|
|
2588
|
-
listMasterPages,
|
|
2589
|
-
printPageOf,
|
|
2590
|
-
currentPrintPage,
|
|
2591
|
-
jobPageSize,
|
|
2592
|
-
settingsFromPreset,
|
|
2593
|
-
pagePosition,
|
|
2594
|
-
placePrintPages,
|
|
2595
|
-
foldGuides,
|
|
2596
|
-
foldGuidesAt,
|
|
2597
|
-
foldsOn,
|
|
2598
|
-
createPrintPage,
|
|
2599
|
-
createMasterPage,
|
|
2600
|
-
assignMaster,
|
|
2601
|
-
effectiveMasterId,
|
|
2602
|
-
addHeaderFooterToMaster,
|
|
2603
|
-
reorderPrintPages,
|
|
2604
|
-
documentFromPreset,
|
|
2605
|
-
init_print_pages,
|
|
2606
|
-
virtualRootOf,
|
|
2607
|
-
virtualChildId,
|
|
2608
|
-
chainOverrides,
|
|
2609
|
-
resolveVirtualNode,
|
|
2610
|
-
createDocument,
|
|
2611
|
-
createPage,
|
|
2612
|
-
createRectangle,
|
|
2613
|
-
createEllipse,
|
|
2614
|
-
createSticky,
|
|
2615
|
-
createLine,
|
|
2616
|
-
createArrow,
|
|
2617
|
-
createPolygon,
|
|
2618
|
-
createStar,
|
|
2619
|
-
createSection,
|
|
2620
|
-
createSlice,
|
|
2621
|
-
createFrame,
|
|
2622
|
-
createText,
|
|
2623
|
-
createGroup,
|
|
2624
|
-
createVector,
|
|
2625
|
-
createBoolean,
|
|
2626
|
-
createPixelGrid,
|
|
2627
|
-
createImage,
|
|
2628
|
-
createRaster,
|
|
2629
|
-
createComponent,
|
|
2630
|
-
createComponentSet,
|
|
2631
|
-
createInstance,
|
|
2632
|
-
createInstanceOf,
|
|
2633
|
-
addNode,
|
|
2634
|
-
removeNode,
|
|
2635
|
-
updateNode,
|
|
2636
|
-
getDescendants,
|
|
2637
|
-
getAncestors,
|
|
2638
|
-
applyConstraints,
|
|
2639
|
-
getRenderableNodes,
|
|
2640
|
-
moveNodeInZOrder,
|
|
2641
|
-
uprightBounds,
|
|
2642
|
-
unmirroredMatrix,
|
|
2643
|
-
lineShaftEnds,
|
|
2644
|
-
detachedTransform,
|
|
2645
|
-
createWorldMatrixResolver,
|
|
2646
|
-
createWorldTransformResolver,
|
|
2647
|
-
getWorldTransform,
|
|
2648
|
-
getWorldMatrix,
|
|
2649
|
-
placementUnder,
|
|
2650
|
-
componentsDrawnBy,
|
|
2651
|
-
wouldCreateCycle,
|
|
2652
|
-
wrapInComponent,
|
|
2653
|
-
reparentNode,
|
|
2654
|
-
duplicateNode,
|
|
2655
|
-
getNodeBounds,
|
|
2656
|
-
getWorldRenderBounds,
|
|
2657
|
-
gatherLineObstacles,
|
|
2658
|
-
connectorIdsOf,
|
|
2659
|
-
carryConnectorIds,
|
|
2660
|
-
updateConnectors,
|
|
2661
|
-
init_scene_graph
|
|
2662
|
-
};
|