@popcraft/kit 0.26.1 → 0.27.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-FXAQKU67.js +44 -0
- package/dist/chunks/api-4L2MWQD6.js +29 -0
- package/dist/chunks/apply-SUBGDFJR.js +46 -0
- package/dist/chunks/audio-decode-ZMRZXQVD.js +54 -0
- package/dist/chunks/audio-import-565M6T3Y.js +126 -0
- package/dist/chunks/audio-plan-VZWXU3LZ.js +46 -0
- package/dist/chunks/board-export-CVKVWAZN.js +180 -0
- package/dist/chunks/browser-2TRJFGKI.js +179 -0
- package/dist/chunks/build-4MSJUNGW.js +55 -0
- package/dist/chunks/builtin-RDXZ3VKJ.js +114 -0
- package/dist/chunks/check-TOUPHHMH.js +56 -0
- package/dist/chunks/check-template-SDNZ7FRK.js +2272 -0
- package/dist/chunks/chunk-22GTRC7O.js +28 -0
- package/dist/chunks/chunk-22OGBPCZ.js +360 -0
- package/dist/chunks/chunk-23VWJAHF.js +36 -0
- package/dist/chunks/chunk-26XYYBAW.js +220 -0
- package/dist/chunks/chunk-2BALGH5K.js +422 -0
- package/dist/chunks/chunk-2BI45Z6G.js +202 -0
- package/dist/chunks/chunk-2BRUCU5U.js +98 -0
- package/dist/chunks/chunk-2BUIEJDY.js +260 -0
- package/dist/chunks/chunk-2C3L5LVY.js +248 -0
- package/dist/chunks/chunk-2DIUPOKV.js +83 -0
- package/dist/chunks/chunk-2DYZWFLX.js +191 -0
- package/dist/chunks/chunk-2EYOEOXD.js +368 -0
- package/dist/chunks/chunk-2FHRHPFL.js +187 -0
- package/dist/chunks/chunk-2GKJJQ73.js +877 -0
- package/dist/chunks/chunk-2GMTUCUJ.js +184 -0
- package/dist/chunks/chunk-2GVF7IGE.js +118 -0
- package/dist/chunks/chunk-2IUO36W6.js +258 -0
- package/dist/chunks/chunk-2K2L4XDB.js +94 -0
- package/dist/chunks/chunk-2K3ISVYQ.js +46 -0
- package/dist/chunks/chunk-2M7AO4LW.js +229 -0
- package/dist/chunks/chunk-2M7TWDRX.js +95 -0
- package/dist/chunks/chunk-2NZRISRD.js +121 -0
- package/dist/chunks/chunk-2OBB7PRF.js +97 -0
- package/dist/chunks/chunk-2OHBHE3L.js +208 -0
- package/dist/chunks/chunk-2OMDWYKY.js +127 -0
- package/dist/chunks/chunk-2OU7FO3L.js +200 -0
- package/dist/chunks/chunk-2SL4ZSV3.js +204 -0
- package/dist/chunks/chunk-2SUC2WRD.js +362 -0
- package/dist/chunks/chunk-2TJQJ45J.js +33 -0
- package/dist/chunks/chunk-2WNVHMJ4.js +109 -0
- package/dist/chunks/chunk-2ZMOGRI6.js +77 -0
- package/dist/chunks/chunk-33D6OUHA.js +23 -0
- package/dist/chunks/chunk-33NSCTJ3.js +110 -0
- package/dist/chunks/chunk-33V7H2KM.js +210 -0
- package/dist/chunks/chunk-3423GLUJ.js +180 -0
- package/dist/chunks/chunk-34OTJ2Z2.js +108 -0
- package/dist/chunks/chunk-35K7AIYU.js +251 -0
- package/dist/chunks/chunk-35Z6GZMD.js +289 -0
- package/dist/chunks/chunk-37QJ5VS5.js +415 -0
- package/dist/chunks/chunk-37SP4EL7.js +200 -0
- package/dist/chunks/chunk-37WN7N3C.js +574 -0
- package/dist/chunks/chunk-3CZMDPY7.js +375 -0
- package/dist/chunks/chunk-3F73XXLO.js +174 -0
- package/dist/chunks/chunk-3GBE6JT6.js +133 -0
- package/dist/chunks/chunk-3GYHAAIM.js +165 -0
- package/dist/chunks/chunk-3GZSEUZJ.js +45 -0
- package/dist/chunks/chunk-3HDTUGYD.js +130 -0
- package/dist/chunks/chunk-3IAIPC3T.js +114 -0
- package/dist/chunks/chunk-3J62XABV.js +386 -0
- package/dist/chunks/chunk-3JKWADSZ.js +175 -0
- package/dist/chunks/chunk-3LE6EFI5.js +1403 -0
- package/dist/chunks/chunk-3O3UZV57.js +45 -0
- package/dist/chunks/chunk-3OS2POT6.js +257 -0
- package/dist/chunks/chunk-3PIDYDPF.js +27 -0
- package/dist/chunks/chunk-3PISNZSW.js +71 -0
- package/dist/chunks/chunk-3PQTPXTD.js +190 -0
- package/dist/chunks/chunk-3Q2A4VDM.js +178 -0
- package/dist/chunks/chunk-3RF2A2BM.js +89 -0
- package/dist/chunks/chunk-3SXCX5CX.js +340 -0
- package/dist/chunks/chunk-3TBNWHDN.js +177 -0
- package/dist/chunks/chunk-3TI6TH32.js +105 -0
- package/dist/chunks/chunk-3ZOOG55K.js +382 -0
- package/dist/chunks/chunk-42SSJNTE.js +209 -0
- package/dist/chunks/chunk-452V27S5.js +293 -0
- package/dist/chunks/chunk-45UIMDI7.js +47 -0
- package/dist/chunks/chunk-45XHFVGI.js +119 -0
- package/dist/chunks/chunk-463ECSVS.js +307 -0
- package/dist/chunks/chunk-46AZXELT.js +83 -0
- package/dist/chunks/chunk-46SBGZ2E.js +118 -0
- package/dist/chunks/chunk-46SD3IIV.js +109 -0
- package/dist/chunks/chunk-4ATC4PZM.js +218 -0
- package/dist/chunks/chunk-4CKOT4UL.js +414 -0
- package/dist/chunks/chunk-4CTCPEYN.js +115 -0
- package/dist/chunks/chunk-4DBLDQBD.js +23 -0
- package/dist/chunks/chunk-4HBUGRVB.js +126 -0
- package/dist/chunks/chunk-4JMMRCIR.js +214 -0
- package/dist/chunks/chunk-4NHKI4IM.js +263 -0
- package/dist/chunks/chunk-4P5TO6PF.js +173 -0
- package/dist/chunks/chunk-4PVKDLHJ.js +135 -0
- package/dist/chunks/chunk-4RMXC4WI.js +182 -0
- package/dist/chunks/chunk-4ROGR3T6.js +23 -0
- package/dist/chunks/chunk-4RXT7A2D.js +146 -0
- package/dist/chunks/chunk-4T5ZUQEA.js +122 -0
- package/dist/chunks/chunk-4TLGHFML.js +161 -0
- package/dist/chunks/chunk-4TXY7XOT.js +70 -0
- package/dist/chunks/chunk-4VGECIAR.js +179 -0
- package/dist/chunks/chunk-4XNA4TPD.js +127 -0
- package/dist/chunks/chunk-4Y5YFPKN.js +106 -0
- package/dist/chunks/chunk-4YCBTNIB.js +36 -0
- package/dist/chunks/chunk-4Z25DTKG.js +23 -0
- package/dist/chunks/chunk-52M2UFIL.js +33 -0
- package/dist/chunks/chunk-534HVQHQ.js +81 -0
- package/dist/chunks/chunk-54AACP3R.js +436 -0
- package/dist/chunks/chunk-54IJHQTM.js +104 -0
- package/dist/chunks/chunk-55IT24BE.js +135 -0
- package/dist/chunks/chunk-55QRKJDP.js +84 -0
- package/dist/chunks/chunk-55XINATM.js +192 -0
- package/dist/chunks/chunk-565NQUD2.js +338 -0
- package/dist/chunks/chunk-56BJ2OFH.js +728 -0
- package/dist/chunks/chunk-5754YXDH.js +333 -0
- package/dist/chunks/chunk-5AHPURP3.js +162 -0
- package/dist/chunks/chunk-5BQDBYWD.js +88 -0
- package/dist/chunks/chunk-5BUA5TYP.js +115 -0
- package/dist/chunks/chunk-5E7OJMTX.js +109 -0
- package/dist/chunks/chunk-5EHNTSDZ.js +339 -0
- package/dist/chunks/chunk-5ENW344P.js +115 -0
- package/dist/chunks/chunk-5EWTIPN3.js +123 -0
- package/dist/chunks/chunk-5F7WELAM.js +70 -0
- package/dist/chunks/chunk-5FNLPUHT.js +277 -0
- package/dist/chunks/chunk-5JYBLZ45.js +111 -0
- package/dist/chunks/chunk-5KJYCXG2.js +136 -0
- package/dist/chunks/chunk-5NR3YEQY.js +36 -0
- package/dist/chunks/chunk-5NWSKT62.js +107 -0
- package/dist/chunks/chunk-5TZW527P.js +33 -0
- package/dist/chunks/chunk-5UHEGNLC.js +152 -0
- package/dist/chunks/chunk-5UNT233A.js +84 -0
- package/dist/chunks/chunk-5W64LX77.js +23 -0
- package/dist/chunks/chunk-5WDTUTKS.js +303 -0
- package/dist/chunks/chunk-62I2BHYZ.js +101 -0
- package/dist/chunks/chunk-62NCRFT4.js +210 -0
- package/dist/chunks/chunk-63A2X4WF.js +23 -0
- package/dist/chunks/chunk-63ZDTCWX.js +135 -0
- package/dist/chunks/chunk-6732B54W.js +75 -0
- package/dist/chunks/chunk-67K3PVMM.js +166 -0
- package/dist/chunks/chunk-6B5HEMFW.js +79 -0
- package/dist/chunks/chunk-6CKUVNJV.js +301 -0
- package/dist/chunks/chunk-6DJKALQ4.js +172 -0
- package/dist/chunks/chunk-6DW47UUS.js +80 -0
- package/dist/chunks/chunk-6DXDRKSA.js +159 -0
- package/dist/chunks/chunk-6DXW3VII.js +33 -0
- package/dist/chunks/chunk-6ETJHHAZ.js +76 -0
- package/dist/chunks/chunk-6HEZUSRF.js +589 -0
- package/dist/chunks/chunk-6HFCPKOY.js +198 -0
- package/dist/chunks/chunk-6HT4ZRXW.js +293 -0
- package/dist/chunks/chunk-6IJBIRX7.js +213 -0
- package/dist/chunks/chunk-6IVZYYDV.js +95 -0
- package/dist/chunks/chunk-6KLF6QCU.js +30 -0
- package/dist/chunks/chunk-6MAAF5EX.js +345 -0
- package/dist/chunks/chunk-6P7GZXBJ.js +290 -0
- package/dist/chunks/chunk-6QHAQLJ4.js +1221 -0
- package/dist/chunks/chunk-6QPNEEBS.js +165 -0
- package/dist/chunks/chunk-6RDEF74A.js +290 -0
- package/dist/chunks/chunk-6S2FGUXV.js +114 -0
- package/dist/chunks/chunk-6S3M25CY.js +23 -0
- package/dist/chunks/chunk-6SRDXA7T.js +91 -0
- package/dist/chunks/chunk-6T7BTWMK.js +215 -0
- package/dist/chunks/chunk-6TU5EOB2.js +199 -0
- package/dist/chunks/chunk-6XW3FM64.js +250 -0
- package/dist/chunks/chunk-72Y6DLVI.js +97 -0
- package/dist/chunks/chunk-72ZEAS6D.js +147 -0
- package/dist/chunks/chunk-76JHVYMO.js +238 -0
- package/dist/chunks/chunk-76KSULKM.js +224 -0
- package/dist/chunks/chunk-772MSCGO.js +50 -0
- package/dist/chunks/chunk-7AB2BIMV.js +23 -0
- package/dist/chunks/chunk-7AQNONVH.js +147 -0
- package/dist/chunks/chunk-7CZELH57.js +105 -0
- package/dist/chunks/chunk-7FKWM6MZ.js +320 -0
- package/dist/chunks/chunk-7FPHDDSY.js +161 -0
- package/dist/chunks/chunk-7IJDMP7O.js +607 -0
- package/dist/chunks/chunk-7JMWKDE4.js +23 -0
- package/dist/chunks/chunk-7KB5VTJM.js +162 -0
- package/dist/chunks/chunk-7MXSR5CC.js +138 -0
- package/dist/chunks/chunk-7OS2VWUA.js +77 -0
- package/dist/chunks/chunk-7S5UVTPT.js +478 -0
- package/dist/chunks/chunk-7USFB6HS.js +62 -0
- package/dist/chunks/chunk-7WFWNN3B.js +349 -0
- package/dist/chunks/chunk-7WW34IBB.js +1417 -0
- package/dist/chunks/chunk-7YOOT7S2.js +55 -0
- package/dist/chunks/chunk-7Z2IZENW.js +237 -0
- package/dist/chunks/chunk-A266OXHI.js +133 -0
- package/dist/chunks/chunk-A3FZPKDN.js +111 -0
- package/dist/chunks/chunk-A4XVASWR.js +33 -0
- package/dist/chunks/chunk-A54EEE5P.js +23 -0
- package/dist/chunks/chunk-A5SSYKGK.js +102 -0
- package/dist/chunks/chunk-A6G3NLOQ.js +86 -0
- package/dist/chunks/chunk-ABGYLQSM.js +94 -0
- package/dist/chunks/chunk-AD3PLAPU.js +130 -0
- package/dist/chunks/chunk-AE2KNNNM.js +86 -0
- package/dist/chunks/chunk-AJKKIGTI.js +169 -0
- package/dist/chunks/chunk-AMQYSVV7.js +45 -0
- package/dist/chunks/chunk-ANX4H3O4.js +174 -0
- package/dist/chunks/chunk-AOBMCBYB.js +92 -0
- package/dist/chunks/chunk-APB5BUR6.js +78 -0
- package/dist/chunks/chunk-ARFLHX76.js +23 -0
- package/dist/chunks/chunk-ARVU5SYW.js +100 -0
- package/dist/chunks/chunk-AS3ZBWWD.js +33 -0
- package/dist/chunks/chunk-ASQLSWJW.js +957 -0
- package/dist/chunks/chunk-AX24VLAZ.js +104 -0
- package/dist/chunks/chunk-AYZLEEHB.js +95 -0
- package/dist/chunks/chunk-AZILNU5S.js +36 -0
- package/dist/chunks/chunk-AZLVGTTN.js +151 -0
- package/dist/chunks/chunk-AZTVKXCV.js +92 -0
- package/dist/chunks/chunk-B2BA2KQV.js +242 -0
- package/dist/chunks/chunk-B2F6XQDS.js +305 -0
- package/dist/chunks/chunk-B4V4FPRS.js +41 -0
- package/dist/chunks/chunk-B725OBTW.js +219 -0
- package/dist/chunks/chunk-BABNQ5TT.js +42 -0
- package/dist/chunks/chunk-BBIYVCQO.js +150 -0
- package/dist/chunks/chunk-BD2BHE7M.js +396 -0
- package/dist/chunks/chunk-BDU2OUVJ.js +2662 -0
- package/dist/chunks/chunk-BEPHEEMH.js +240 -0
- package/dist/chunks/chunk-BGYERCGL.js +224 -0
- package/dist/chunks/chunk-BKG7RZ4F.js +145 -0
- package/dist/chunks/chunk-BKQRHR3F.js +155 -0
- package/dist/chunks/chunk-BMJYYBHY.js +45 -0
- package/dist/chunks/chunk-BRKA7MCS.js +97 -0
- package/dist/chunks/chunk-BS4NQQCX.js +320 -0
- package/dist/chunks/chunk-BSRN7YRL.js +99 -0
- package/dist/chunks/chunk-BSSTHYOA.js +76 -0
- package/dist/chunks/chunk-BVKTIGGZ.js +112 -0
- package/dist/chunks/chunk-BVNEMAK6.js +447 -0
- package/dist/chunks/chunk-BYSBG2NJ.js +77 -0
- package/dist/chunks/chunk-BZAKET67.js +130 -0
- package/dist/chunks/chunk-BZAVHVGT.js +33 -0
- package/dist/chunks/chunk-BZW2VFFP.js +128 -0
- package/dist/chunks/chunk-C3FDXUDC.js +180 -0
- package/dist/chunks/chunk-C3OI7EOK.js +201 -0
- package/dist/chunks/chunk-C6TIZNKI.js +185 -0
- package/dist/chunks/chunk-C6YZMC3O.js +123 -0
- package/dist/chunks/chunk-C76PNDY5.js +23 -0
- package/dist/chunks/chunk-CACIHLA6.js +129 -0
- package/dist/chunks/chunk-CD4ZBM2O.js +108 -0
- package/dist/chunks/chunk-CDTD3QPR.js +104 -0
- package/dist/chunks/chunk-CE4Y24RT.js +134 -0
- package/dist/chunks/chunk-CEGLKKGE.js +313 -0
- package/dist/chunks/chunk-CFOGQB7S.js +112 -0
- package/dist/chunks/chunk-CFY777FO.js +251 -0
- package/dist/chunks/chunk-CHTIM34X.js +49 -0
- package/dist/chunks/chunk-CIK7WH4K.js +544 -0
- package/dist/chunks/chunk-CJCTVXHT.js +173 -0
- package/dist/chunks/chunk-CKE7WEVG.js +446 -0
- package/dist/chunks/chunk-CL3OA3NF.js +39 -0
- package/dist/chunks/chunk-CL3QWMKD.js +23 -0
- package/dist/chunks/chunk-CLZ4C2AP.js +41 -0
- package/dist/chunks/chunk-CNA4ENDY.js +145 -0
- package/dist/chunks/chunk-CR2PH2FG.js +206 -0
- package/dist/chunks/chunk-CSYNHIFK.js +312 -0
- package/dist/chunks/chunk-CUV2OTUF.js +186 -0
- package/dist/chunks/chunk-CVAXC2WF.js +120 -0
- package/dist/chunks/chunk-CWHNQJLR.js +110 -0
- package/dist/chunks/chunk-CWWBLX7J.js +317 -0
- package/dist/chunks/chunk-CZTI5GGL.js +197 -0
- package/dist/chunks/chunk-D2FTGWG6.js +286 -0
- package/dist/chunks/chunk-D4XXJ6NS.js +152 -0
- package/dist/chunks/chunk-D5P33HRU.js +45 -0
- package/dist/chunks/chunk-D7G2S55M.js +197 -0
- package/dist/chunks/chunk-D7G6KBZR.js +261 -0
- package/dist/chunks/chunk-D7IAH4XF.js +299 -0
- package/dist/chunks/chunk-DCUIVFEU.js +178 -0
- package/dist/chunks/chunk-DDEO3GDO.js +262 -0
- package/dist/chunks/chunk-DE4LRCYX.js +304 -0
- package/dist/chunks/chunk-DECP3A2X.js +81 -0
- package/dist/chunks/chunk-DEEIO54R.js +177 -0
- package/dist/chunks/chunk-DEFIDHH4.js +342 -0
- package/dist/chunks/chunk-DEZFUOPJ.js +82 -0
- package/dist/chunks/chunk-DFXTG6WK.js +94 -0
- package/dist/chunks/chunk-DGXYUOUK.js +82 -0
- package/dist/chunks/chunk-DH7N62C5.js +77 -0
- package/dist/chunks/chunk-DI7TLG42.js +45 -0
- package/dist/chunks/chunk-DIEIV56X.js +126 -0
- package/dist/chunks/chunk-DLLC25I4.js +171 -0
- package/dist/chunks/chunk-DLQRSLRX.js +269 -0
- package/dist/chunks/chunk-DNLHYUDE.js +1677 -0
- package/dist/chunks/chunk-DNX4QQPR.js +142 -0
- package/dist/chunks/chunk-DOQNYAO4.js +33 -0
- package/dist/chunks/chunk-DOSL3YCH.js +1136 -0
- package/dist/chunks/chunk-DP532NTI.js +358 -0
- package/dist/chunks/chunk-DPP3C3RR.js +292 -0
- package/dist/chunks/chunk-DR3V37PE.js +106 -0
- package/dist/chunks/chunk-DRF3WODB.js +133 -0
- package/dist/chunks/chunk-DSCIRAXT.js +130 -0
- package/dist/chunks/chunk-DU2HVXBT.js +156 -0
- package/dist/chunks/chunk-DUYXVO4K.js +179 -0
- package/dist/chunks/chunk-DWBUNPHN.js +164 -0
- package/dist/chunks/chunk-DWWRZELM.js +326 -0
- package/dist/chunks/chunk-DX3RJFX2.js +136 -0
- package/dist/chunks/chunk-E247N4MX.js +140 -0
- package/dist/chunks/chunk-E2WIBUND.js +81 -0
- package/dist/chunks/chunk-E3TBWICU.js +291 -0
- package/dist/chunks/chunk-E5DYSCXH.js +188 -0
- package/dist/chunks/chunk-E5LH5ORQ.js +91 -0
- package/dist/chunks/chunk-E5UJUXLU.js +425 -0
- package/dist/chunks/chunk-E7E7YEHN.js +84 -0
- package/dist/chunks/chunk-EDJ2MPSL.js +43 -0
- package/dist/chunks/chunk-EDSI4GCZ.js +80 -0
- package/dist/chunks/chunk-ELTV7HFK.js +159 -0
- package/dist/chunks/chunk-EMAFPS3U.js +80 -0
- package/dist/chunks/chunk-EMXFUF2G.js +48 -0
- package/dist/chunks/chunk-ENLJMQMY.js +55 -0
- package/dist/chunks/chunk-EO7PGXRU.js +59 -0
- package/dist/chunks/chunk-EOUWAOLN.js +147 -0
- package/dist/chunks/chunk-EQIQJRMS.js +23 -0
- package/dist/chunks/chunk-EQX6LUDW.js +90 -0
- package/dist/chunks/chunk-ESKHTEXT.js +298 -0
- package/dist/chunks/chunk-ETU3QMKY.js +119 -0
- package/dist/chunks/chunk-EUZP5W26.js +102 -0
- package/dist/chunks/chunk-EV4V3HMG.js +85 -0
- package/dist/chunks/chunk-EW2AGBZ7.js +362 -0
- package/dist/chunks/chunk-EWQJJWQQ.js +192 -0
- package/dist/chunks/chunk-EXHO4BV7.js +33 -0
- package/dist/chunks/chunk-EXLY42BO.js +72 -0
- package/dist/chunks/chunk-EYL7EVLT.js +83 -0
- package/dist/chunks/chunk-EZ5EHRXJ.js +30 -0
- package/dist/chunks/chunk-F24AI4XL.js +287 -0
- package/dist/chunks/chunk-F2LJK2RM.js +44 -0
- package/dist/chunks/chunk-F2NVREWI.js +110 -0
- package/dist/chunks/chunk-F3FZ7EHL.js +97 -0
- package/dist/chunks/chunk-F3WJO75K.js +119 -0
- package/dist/chunks/chunk-F4BKE6H4.js +94 -0
- package/dist/chunks/chunk-F4IEPTNU.js +106 -0
- package/dist/chunks/chunk-F6BZTRE2.js +96 -0
- package/dist/chunks/chunk-F74GKSQY.js +193 -0
- package/dist/chunks/chunk-F7KEBXGY.js +100 -0
- package/dist/chunks/chunk-FAJ7IUEN.js +131 -0
- package/dist/chunks/chunk-FALZFQIZ.js +146 -0
- package/dist/chunks/chunk-FCYWS6B6.js +221 -0
- package/dist/chunks/chunk-FDQ6655B.js +1469 -0
- package/dist/chunks/chunk-FEJYW55H.js +278 -0
- package/dist/chunks/chunk-FEXYF3BM.js +324 -0
- package/dist/chunks/chunk-FG5HN5G5.js +345 -0
- package/dist/chunks/chunk-FHP3JU2P.js +11742 -0
- package/dist/chunks/chunk-FHQTMDZW.js +33 -0
- package/dist/chunks/chunk-FIH5MBST.js +224 -0
- package/dist/chunks/chunk-FJDBEF4E.js +23 -0
- package/dist/chunks/chunk-FKTABUBT.js +180 -0
- package/dist/chunks/chunk-FLBQAGKK.js +30 -0
- package/dist/chunks/chunk-FLC2AW3S.js +363 -0
- package/dist/chunks/chunk-FM3TMFDW.js +232 -0
- package/dist/chunks/chunk-FM7KGCIY.js +342 -0
- package/dist/chunks/chunk-FNHTZXG2.js +165 -0
- package/dist/chunks/chunk-FPTSX43B.js +260 -0
- package/dist/chunks/chunk-FQMYMSEF.js +336 -0
- package/dist/chunks/chunk-FRF2AI5G.js +101 -0
- package/dist/chunks/chunk-FSRJRWUX.js +213 -0
- package/dist/chunks/chunk-FSVWBDEL.js +468 -0
- package/dist/chunks/chunk-FTYHYYLQ.js +128 -0
- package/dist/chunks/chunk-FU7HUS2Q.js +172 -0
- package/dist/chunks/chunk-FVFQRJMM.js +277 -0
- package/dist/chunks/chunk-FVNIEOE5.js +102 -0
- package/dist/chunks/chunk-FX2D3SJ7.js +41 -0
- package/dist/chunks/chunk-FXTHRGF7.js +78 -0
- package/dist/chunks/chunk-G2LKUTT4.js +163 -0
- package/dist/chunks/chunk-G3O3LAEV.js +52 -0
- package/dist/chunks/chunk-G46F3ZQ3.js +346 -0
- package/dist/chunks/chunk-G4ECXDD5.js +282 -0
- package/dist/chunks/chunk-G5QXGUIL.js +115 -0
- package/dist/chunks/chunk-G7GTWBG7.js +252 -0
- package/dist/chunks/chunk-G7SNGSTO.js +139 -0
- package/dist/chunks/chunk-GBDSMYJY.js +23 -0
- package/dist/chunks/chunk-GBPFCKQ5.js +73 -0
- package/dist/chunks/chunk-GC6YOCLA.js +108 -0
- package/dist/chunks/chunk-GDRAU2V3.js +267 -0
- package/dist/chunks/chunk-GDUMY3VG.js +689 -0
- package/dist/chunks/chunk-GFKWCH3X.js +336 -0
- package/dist/chunks/chunk-GG5GJCJW.js +249 -0
- package/dist/chunks/chunk-GHHBB3HM.js +255 -0
- package/dist/chunks/chunk-GIVDB53J.js +33 -0
- package/dist/chunks/chunk-GJ7UE2VM.js +195 -0
- package/dist/chunks/chunk-GK5G53LH.js +97 -0
- package/dist/chunks/chunk-GLVMSG3Z.js +170 -0
- package/dist/chunks/chunk-GON4YIDO.js +147 -0
- package/dist/chunks/chunk-GQT7GENG.js +172 -0
- package/dist/chunks/chunk-GSTT4ZJV.js +99 -0
- package/dist/chunks/chunk-GTCLGM63.js +185 -0
- package/dist/chunks/chunk-GTGQTVBS.js +106 -0
- package/dist/chunks/chunk-GTM6WYJ5.js +98 -0
- package/dist/chunks/chunk-GTO4KWGT.js +156 -0
- package/dist/chunks/chunk-GX2XKKQW.js +390 -0
- package/dist/chunks/chunk-GXI2S4NX.js +335 -0
- package/dist/chunks/chunk-GYCS3VW4.js +399 -0
- package/dist/chunks/chunk-H4FWDRWB.js +23 -0
- package/dist/chunks/chunk-H4YKWLAI.js +45 -0
- package/dist/chunks/chunk-H4YNMTKK.js +40 -0
- package/dist/chunks/chunk-H5CB7PJR.js +33 -0
- package/dist/chunks/chunk-H5PWJYXS.js +272 -0
- package/dist/chunks/chunk-H5SCN5T6.js +117 -0
- package/dist/chunks/chunk-H6JMWTCJ.js +366 -0
- package/dist/chunks/chunk-H6WKO5QW.js +454 -0
- package/dist/chunks/chunk-H6YCYLYZ.js +110 -0
- package/dist/chunks/chunk-H727MKVS.js +33 -0
- package/dist/chunks/chunk-HBFKLUFA.js +135 -0
- package/dist/chunks/chunk-HBP3C6IQ.js +139 -0
- package/dist/chunks/chunk-HBVCWZJK.js +315 -0
- package/dist/chunks/chunk-HCTGJVYO.js +23 -0
- package/dist/chunks/chunk-HDJIX7KX.js +156 -0
- package/dist/chunks/chunk-HE3OVZGS.js +33 -0
- package/dist/chunks/chunk-HEKGYJTP.js +290 -0
- package/dist/chunks/chunk-HERRWIM6.js +52 -0
- package/dist/chunks/chunk-HFOPRXS2.js +235 -0
- package/dist/chunks/chunk-HGLB3YDV.js +50 -0
- package/dist/chunks/chunk-HHACNMOR.js +125 -0
- package/dist/chunks/chunk-HHQYOV6U.js +165 -0
- package/dist/chunks/chunk-HI6OGR7I.js +120 -0
- package/dist/chunks/chunk-HJHD43UA.js +123 -0
- package/dist/chunks/chunk-HKBTA5MM.js +89 -0
- package/dist/chunks/chunk-HMX7PNXM.js +242 -0
- package/dist/chunks/chunk-HNI6H3SO.js +179 -0
- package/dist/chunks/chunk-HNTIXOVT.js +104 -0
- package/dist/chunks/chunk-HRKAIVXW.js +153 -0
- package/dist/chunks/chunk-HRSTM5QE.js +82 -0
- package/dist/chunks/chunk-HSEZJEX2.js +55 -0
- package/dist/chunks/chunk-HUFJWJF3.js +140 -0
- package/dist/chunks/chunk-HUKONNGD.js +95 -0
- package/dist/chunks/chunk-HUPSBVNF.js +30 -0
- package/dist/chunks/chunk-HXDMGTRU.js +155 -0
- package/dist/chunks/chunk-HZA67W6J.js +685 -0
- package/dist/chunks/chunk-I3CK3A7O.js +225 -0
- package/dist/chunks/chunk-I3H35HAN.js +176 -0
- package/dist/chunks/chunk-I3IJQS6X.js +214 -0
- package/dist/chunks/chunk-I43XELLO.js +405 -0
- package/dist/chunks/chunk-I5QX5MLP.js +81 -0
- package/dist/chunks/chunk-I77LKR4D.js +33 -0
- package/dist/chunks/chunk-I7LZ6Z3I.js +123 -0
- package/dist/chunks/chunk-IAZ6ZZHG.js +149 -0
- package/dist/chunks/chunk-IC46SRYM.js +33 -0
- package/dist/chunks/chunk-ICDLRUOK.js +224 -0
- package/dist/chunks/chunk-IE2R747Y.js +304 -0
- package/dist/chunks/chunk-IEHHAKQQ.js +132 -0
- package/dist/chunks/chunk-IEO3PJKS.js +106 -0
- package/dist/chunks/chunk-IEU3YXYL.js +228 -0
- package/dist/chunks/chunk-IEVDSTOY.js +564 -0
- package/dist/chunks/chunk-IF7RJRCJ.js +166 -0
- package/dist/chunks/chunk-IIPHMA7G.js +263 -0
- package/dist/chunks/chunk-IIVWQKSU.js +160 -0
- package/dist/chunks/chunk-IMUKVHPX.js +60 -0
- package/dist/chunks/chunk-IN4YAXQR.js +23 -0
- package/dist/chunks/chunk-INKJRB7A.js +77 -0
- package/dist/chunks/chunk-IORRSM6U.js +221 -0
- package/dist/chunks/chunk-IOVXB42Y.js +122 -0
- package/dist/chunks/chunk-IPUXZ4MD.js +226 -0
- package/dist/chunks/chunk-IQ2RIDIQ.js +55 -0
- package/dist/chunks/chunk-ISC7EBTM.js +84 -0
- package/dist/chunks/chunk-ITDNDQB6.js +150 -0
- package/dist/chunks/chunk-IUBQTPZK.js +86 -0
- package/dist/chunks/chunk-IVIASNK7.js +172 -0
- package/dist/chunks/chunk-IVNS7OYN.js +23 -0
- package/dist/chunks/chunk-IW2NETIQ.js +155 -0
- package/dist/chunks/chunk-IWVUOPR7.js +172 -0
- package/dist/chunks/chunk-J2DAGUJZ.js +82 -0
- package/dist/chunks/chunk-J4RN4ZYM.js +33 -0
- package/dist/chunks/chunk-J7AZM6H3.js +181 -0
- package/dist/chunks/chunk-JA7TRIN5.js +97 -0
- package/dist/chunks/chunk-JADFKYOD.js +129 -0
- package/dist/chunks/chunk-JD3X6LV4.js +23 -0
- package/dist/chunks/chunk-JD3YSMGH.js +90 -0
- package/dist/chunks/chunk-JDI6T3QN.js +197 -0
- package/dist/chunks/chunk-JF5USU5E.js +330 -0
- package/dist/chunks/chunk-JFZ6TYLB.js +422 -0
- package/dist/chunks/chunk-JHPYRB2W.js +158 -0
- package/dist/chunks/chunk-JIYKSSTX.js +344 -0
- package/dist/chunks/chunk-JJGGRAQI.js +651 -0
- package/dist/chunks/chunk-JL7F7MGF.js +366 -0
- package/dist/chunks/chunk-JLAOG3LE.js +209 -0
- package/dist/chunks/chunk-JMGTVSNK.js +525 -0
- package/dist/chunks/chunk-JMR7IEM7.js +202 -0
- package/dist/chunks/chunk-JNQ35ROB.js +93 -0
- package/dist/chunks/chunk-JP2WVBBI.js +118 -0
- package/dist/chunks/chunk-JQRICLMZ.js +239 -0
- package/dist/chunks/chunk-JRJ6QMTK.js +93 -0
- package/dist/chunks/chunk-JRWHRC62.js +78 -0
- package/dist/chunks/chunk-JSSKZ3G2.js +411 -0
- package/dist/chunks/chunk-JSUHQBUX.js +163 -0
- package/dist/chunks/chunk-JT7IIMKX.js +183 -0
- package/dist/chunks/chunk-JTDGUWL7.js +134 -0
- package/dist/chunks/chunk-JU3P5EMV.js +142 -0
- package/dist/chunks/chunk-JU3RQO2E.js +209 -0
- package/dist/chunks/chunk-JU52JYOO.js +78 -0
- package/dist/chunks/chunk-JUHRBSJL.js +176 -0
- package/dist/chunks/chunk-JV5GEMWH.js +329 -0
- package/dist/chunks/chunk-JV7BHTHG.js +150 -0
- package/dist/chunks/chunk-JVGIEI37.js +90 -0
- package/dist/chunks/chunk-JX3POSFD.js +283 -0
- package/dist/chunks/chunk-JYHZEIKU.js +23 -0
- package/dist/chunks/chunk-JYMWMLBW.js +147 -0
- package/dist/chunks/chunk-JZS7PJZ6.js +86 -0
- package/dist/chunks/chunk-K2HUEWY5.js +152 -0
- package/dist/chunks/chunk-K2TXXWJG.js +153 -0
- package/dist/chunks/chunk-K2XSE7PL.js +105 -0
- package/dist/chunks/chunk-K4LGWP7D.js +304 -0
- package/dist/chunks/chunk-K5TJUDZF.js +23 -0
- package/dist/chunks/chunk-K7LZ3NCN.js +130 -0
- package/dist/chunks/chunk-KCECJPVX.js +149 -0
- package/dist/chunks/chunk-KCGQF6RC.js +50 -0
- package/dist/chunks/chunk-KCVX77FZ.js +104 -0
- package/dist/chunks/chunk-KD3DG7OQ.js +144 -0
- package/dist/chunks/chunk-KFHZUY3Y.js +336 -0
- package/dist/chunks/chunk-KGITCDXP.js +65 -0
- package/dist/chunks/chunk-KGWGYVY4.js +103 -0
- package/dist/chunks/chunk-KIRGOCTH.js +93 -0
- package/dist/chunks/chunk-KISDATKJ.js +163 -0
- package/dist/chunks/chunk-KJCQNSJQ.js +33 -0
- package/dist/chunks/chunk-KKJRZKRP.js +87 -0
- package/dist/chunks/chunk-KKTKRH7A.js +740 -0
- package/dist/chunks/chunk-KLWQOR2L.js +303 -0
- package/dist/chunks/chunk-KM6BSJGJ.js +139 -0
- package/dist/chunks/chunk-KPCSMJ26.js +209 -0
- package/dist/chunks/chunk-KPTABNJZ.js +128 -0
- package/dist/chunks/chunk-KPXVFVVR.js +168 -0
- package/dist/chunks/chunk-KQT2UCKL.js +49 -0
- package/dist/chunks/chunk-KRHC4YYL.js +95 -0
- package/dist/chunks/chunk-KSDVJCSI.js +120 -0
- package/dist/chunks/chunk-KSP7OPPU.js +97 -0
- package/dist/chunks/chunk-KUO2LZLS.js +141 -0
- package/dist/chunks/chunk-KW2ZDLLT.js +198 -0
- package/dist/chunks/chunk-KW5ALU56.js +217 -0
- package/dist/chunks/chunk-KWGZ2B3G.js +110 -0
- package/dist/chunks/chunk-KXBJKFQW.js +192 -0
- package/dist/chunks/chunk-KXEZ6XU4.js +270 -0
- package/dist/chunks/chunk-KYD64ACB.js +165 -0
- package/dist/chunks/chunk-L254V7PK.js +215 -0
- package/dist/chunks/chunk-L3KPZJRO.js +33 -0
- package/dist/chunks/chunk-L4R45CY6.js +113 -0
- package/dist/chunks/chunk-L4VNBPA2.js +37 -0
- package/dist/chunks/chunk-L5NBJX5G.js +36 -0
- package/dist/chunks/chunk-L6636QML.js +33 -0
- package/dist/chunks/chunk-L6NMZDUT.js +120 -0
- package/dist/chunks/chunk-LAHAEDVW.js +331 -0
- package/dist/chunks/chunk-LAHSBNS4.js +97 -0
- package/dist/chunks/chunk-LDJV74T6.js +103 -0
- package/dist/chunks/chunk-LDUVMQY7.js +56 -0
- package/dist/chunks/chunk-LEJD2XV2.js +45 -0
- package/dist/chunks/chunk-LFVW2A7W.js +217 -0
- package/dist/chunks/chunk-LHFP2R63.js +87 -0
- package/dist/chunks/chunk-LHQZV6BD.js +282 -0
- package/dist/chunks/chunk-LIRHNG4B.js +626 -0
- package/dist/chunks/chunk-LIWVQKFF.js +181 -0
- package/dist/chunks/chunk-LJP56PXB.js +84 -0
- package/dist/chunks/chunk-LKLUJYEY.js +137 -0
- package/dist/chunks/chunk-LKQYGONY.js +23 -0
- package/dist/chunks/chunk-LL54J6WR.js +443 -0
- package/dist/chunks/chunk-LLIF6562.js +163 -0
- package/dist/chunks/chunk-LNBYZM4Q.js +102 -0
- package/dist/chunks/chunk-LNTOLNPZ.js +226 -0
- package/dist/chunks/chunk-LQED652V.js +33 -0
- package/dist/chunks/chunk-LQO3XEPZ.js +887 -0
- package/dist/chunks/chunk-LRQNULTZ.js +138 -0
- package/dist/chunks/chunk-LTRFSREO.js +161 -0
- package/dist/chunks/chunk-LVOFB6WX.js +23 -0
- package/dist/chunks/chunk-LVPVIGUM.js +407 -0
- package/dist/chunks/chunk-LWGHTMB2.js +149 -0
- package/dist/chunks/chunk-M3IOQYHL.js +146 -0
- package/dist/chunks/chunk-M3YJZRJP.js +167 -0
- package/dist/chunks/chunk-M4RTFMPV.js +104 -0
- package/dist/chunks/chunk-M5LCGN3P.js +147 -0
- package/dist/chunks/chunk-M5XCZEGW.js +273 -0
- package/dist/chunks/chunk-M6LUAHCH.js +122 -0
- package/dist/chunks/chunk-MAMMRWVE.js +23 -0
- package/dist/chunks/chunk-MBP2HYT3.js +358 -0
- package/dist/chunks/chunk-MCC4SXYB.js +45 -0
- package/dist/chunks/chunk-MDU2XGW5.js +930 -0
- package/dist/chunks/chunk-MEOAVLYQ.js +152 -0
- package/dist/chunks/chunk-MFKQVC7Y.js +183 -0
- package/dist/chunks/chunk-MFN6I2SS.js +45 -0
- package/dist/chunks/chunk-MGZKOT5T.js +105 -0
- package/dist/chunks/chunk-MH2RBMHQ.js +23 -0
- package/dist/chunks/chunk-MH7A4LKQ.js +1309 -0
- package/dist/chunks/chunk-MHA7I2IT.js +400 -0
- package/dist/chunks/chunk-MHMHBKDD.js +23 -0
- package/dist/chunks/chunk-MNXDQ5JD.js +167 -0
- package/dist/chunks/chunk-MOREWWL5.js +33 -0
- package/dist/chunks/chunk-MP7ASX2Q.js +103 -0
- package/dist/chunks/chunk-MPFSNDXP.js +225 -0
- package/dist/chunks/chunk-MQ5CLP6Y.js +100 -0
- package/dist/chunks/chunk-MQA5NVCI.js +146 -0
- package/dist/chunks/chunk-MSN26MAC.js +36 -0
- package/dist/chunks/chunk-MTAXOUTV.js +151 -0
- package/dist/chunks/chunk-MTG6STOB.js +99 -0
- package/dist/chunks/chunk-MU2EHNIH.js +178 -0
- package/dist/chunks/chunk-MUXBO7R5.js +131 -0
- package/dist/chunks/chunk-MV64ENH6.js +45 -0
- package/dist/chunks/chunk-MW6AUMIJ.js +87 -0
- package/dist/chunks/chunk-MY2GUA3Z.js +194 -0
- package/dist/chunks/chunk-N2UZF6MV.js +23 -0
- package/dist/chunks/chunk-N32DET4Y.js +141 -0
- package/dist/chunks/chunk-N3CQYI3B.js +304 -0
- package/dist/chunks/chunk-N45J7SVZ.js +41 -0
- package/dist/chunks/chunk-N5JKJXJX.js +260 -0
- package/dist/chunks/chunk-NA7TBGMD.js +108 -0
- package/dist/chunks/chunk-NAQTUC2A.js +140 -0
- package/dist/chunks/chunk-NAUEKVAH.js +108 -0
- package/dist/chunks/chunk-NBG5MRCW.js +738 -0
- package/dist/chunks/chunk-NBTUSMXF.js +270 -0
- package/dist/chunks/chunk-NF5JBQJW.js +234 -0
- package/dist/chunks/chunk-NI2BJVG6.js +118 -0
- package/dist/chunks/chunk-NINUBA7T.js +201 -0
- package/dist/chunks/chunk-NITUBY6C.js +462 -0
- package/dist/chunks/chunk-NLHX7SAK.js +105 -0
- package/dist/chunks/chunk-NML6QG3V.js +123 -0
- package/dist/chunks/chunk-NNNWNAKR.js +173 -0
- package/dist/chunks/chunk-NQYAOOEL.js +157 -0
- package/dist/chunks/chunk-NTLJYZ64.js +77 -0
- package/dist/chunks/chunk-NUCIOZDY.js +113 -0
- package/dist/chunks/chunk-NURSPTT3.js +250 -0
- package/dist/chunks/chunk-NUXUM3QO.js +283 -0
- package/dist/chunks/chunk-NY6NJWZH.js +79 -0
- package/dist/chunks/chunk-NYBLIBKK.js +149 -0
- package/dist/chunks/chunk-O33POMOM.js +45 -0
- package/dist/chunks/chunk-O3D4O5KZ.js +122 -0
- package/dist/chunks/chunk-O3I46LK2.js +168 -0
- package/dist/chunks/chunk-O3YWP3C4.js +174 -0
- package/dist/chunks/chunk-O7APDMKU.js +162 -0
- package/dist/chunks/chunk-OAFO76BH.js +199 -0
- package/dist/chunks/chunk-OBMUU4LV.js +237 -0
- package/dist/chunks/chunk-OBSGEBEQ.js +93 -0
- package/dist/chunks/chunk-OCPB42WX.js +84 -0
- package/dist/chunks/chunk-ODS7J5ZT.js +146 -0
- package/dist/chunks/chunk-ODT4QS6Z.js +327 -0
- package/dist/chunks/chunk-OFAGEISK.js +157 -0
- package/dist/chunks/chunk-OFNGUJJY.js +112 -0
- package/dist/chunks/chunk-OGH5F4RT.js +80 -0
- package/dist/chunks/chunk-OGTA7MSU.js +80 -0
- package/dist/chunks/chunk-OGWEIRJE.js +96 -0
- package/dist/chunks/chunk-OHWEXH56.js +80 -0
- package/dist/chunks/chunk-OKSYESUC.js +190 -0
- package/dist/chunks/chunk-OLSOJ5GT.js +36 -0
- package/dist/chunks/chunk-OMSXEPRG.js +94 -0
- package/dist/chunks/chunk-ONTEUDRJ.js +231 -0
- package/dist/chunks/chunk-OOGYRLMA.js +177 -0
- package/dist/chunks/chunk-OOXGET6Y.js +191 -0
- package/dist/chunks/chunk-OQSAQTZ4.js +170 -0
- package/dist/chunks/chunk-OSPZV4ZI.js +44 -0
- package/dist/chunks/chunk-OT6OZQMJ.js +145 -0
- package/dist/chunks/chunk-OTAJ2WFF.js +117 -0
- package/dist/chunks/chunk-OTHMSE5E.js +164 -0
- package/dist/chunks/chunk-OUEUIBYB.js +265 -0
- package/dist/chunks/chunk-OVFOE4K4.js +169 -0
- package/dist/chunks/chunk-OVL6WOFA.js +206 -0
- package/dist/chunks/chunk-OVRZZL4T.js +231 -0
- package/dist/chunks/chunk-OWIO3C5E.js +94 -0
- package/dist/chunks/chunk-P3KIWKZJ.js +898 -0
- package/dist/chunks/chunk-P5QEUQ2R.js +158 -0
- package/dist/chunks/chunk-P5YFWNFD.js +207 -0
- package/dist/chunks/chunk-P6A4DMFP.js +109 -0
- package/dist/chunks/chunk-P6IQL6TU.js +152 -0
- package/dist/chunks/chunk-P7IKFM3I.js +91 -0
- package/dist/chunks/chunk-P7NRYPQN.js +391 -0
- package/dist/chunks/chunk-P7YVY4OM.js +100 -0
- package/dist/chunks/chunk-PAAI5GK5.js +160 -0
- package/dist/chunks/chunk-PBPVNQ6C.js +311 -0
- package/dist/chunks/chunk-PDRP3MFT.js +1393 -0
- package/dist/chunks/chunk-PEDXBG6V.js +103 -0
- package/dist/chunks/chunk-PGEWL5VQ.js +183 -0
- package/dist/chunks/chunk-PHLSGDZO.js +412 -0
- package/dist/chunks/chunk-PHMIM7KL.js +23 -0
- package/dist/chunks/chunk-PI6LBMNQ.js +215 -0
- package/dist/chunks/chunk-PJ42H4M7.js +166 -0
- package/dist/chunks/chunk-PL2JHOAX.js +154 -0
- package/dist/chunks/chunk-PLMFRRPV.js +74 -0
- package/dist/chunks/chunk-POFOI7NO.js +23 -0
- package/dist/chunks/chunk-PPNY57IP.js +169 -0
- package/dist/chunks/chunk-PPOZXGES.js +110 -0
- package/dist/chunks/chunk-PS5RV42A.js +100 -0
- package/dist/chunks/chunk-PV5XGV4R.js +1132 -0
- package/dist/chunks/chunk-PXIJTYFP.js +23 -0
- package/dist/chunks/chunk-PXU5BZ5Q.js +163 -0
- package/dist/chunks/chunk-PXXNO37G.js +278 -0
- package/dist/chunks/chunk-PZXBOQZN.js +124 -0
- package/dist/chunks/chunk-Q2KKD6ZJ.js +81 -0
- package/dist/chunks/chunk-Q4CXHJGI.js +378 -0
- package/dist/chunks/chunk-Q4XGUTJ6.js +95 -0
- package/dist/chunks/chunk-Q53R7LSS.js +165 -0
- package/dist/chunks/chunk-Q7Z7SSGS.js +118 -0
- package/dist/chunks/chunk-QB6YRK3L.js +163 -0
- package/dist/chunks/chunk-QCDYH3HO.js +90 -0
- package/dist/chunks/chunk-QCHB42M2.js +366 -0
- package/dist/chunks/chunk-QFFXZQH5.js +203 -0
- package/dist/chunks/chunk-QFHBBUYD.js +177 -0
- package/dist/chunks/chunk-QFKHAMJT.js +54 -0
- package/dist/chunks/chunk-QFO73T6R.js +30 -0
- package/dist/chunks/chunk-QGQ5WBFV.js +88 -0
- package/dist/chunks/chunk-QJ3IVD6I.js +122 -0
- package/dist/chunks/chunk-QJFFKYDX.js +107 -0
- package/dist/chunks/chunk-QJYW4TDU.js +220 -0
- package/dist/chunks/chunk-QK7KCBKG.js +261 -0
- package/dist/chunks/chunk-QKCUV6KR.js +163 -0
- package/dist/chunks/chunk-QLECHYCJ.js +153 -0
- package/dist/chunks/chunk-QN3BFID6.js +127 -0
- package/dist/chunks/chunk-QN5YGANO.js +130 -0
- package/dist/chunks/chunk-QN6B2GIZ.js +133 -0
- package/dist/chunks/chunk-QO36H4KI.js +78 -0
- package/dist/chunks/chunk-QOI27VGG.js +244 -0
- package/dist/chunks/chunk-QORYWNNT.js +138 -0
- package/dist/chunks/chunk-QPA4DBIP.js +53 -0
- package/dist/chunks/chunk-QSHK6PII.js +111 -0
- package/dist/chunks/chunk-QUSSG2ZK.js +169 -0
- package/dist/chunks/chunk-QX7BYX2M.js +11047 -0
- package/dist/chunks/chunk-QXQNRAPH.js +139 -0
- package/dist/chunks/chunk-QZEOSULK.js +41 -0
- package/dist/chunks/chunk-QZQZGVYO.js +144 -0
- package/dist/chunks/chunk-R2HH6LHS.js +1845 -0
- package/dist/chunks/chunk-R3RPQEL2.js +317 -0
- package/dist/chunks/chunk-R7QF6R3N.js +261 -0
- package/dist/chunks/chunk-RAOCFOTR.js +55 -0
- package/dist/chunks/chunk-RBGMDAOV.js +166 -0
- package/dist/chunks/chunk-RBZB4MT3.js +382 -0
- package/dist/chunks/chunk-RDQXFRUQ.js +125 -0
- package/dist/chunks/chunk-REID2NPP.js +119 -0
- package/dist/chunks/chunk-RF7F33MU.js +279 -0
- package/dist/chunks/chunk-RFPT4JQQ.js +60 -0
- package/dist/chunks/chunk-RJVW2OTT.js +115 -0
- package/dist/chunks/chunk-RKKOMZO6.js +33 -0
- package/dist/chunks/chunk-RKYIRB7C.js +39 -0
- package/dist/chunks/chunk-RMDC4ZOI.js +122 -0
- package/dist/chunks/chunk-RO4FESUC.js +282 -0
- package/dist/chunks/chunk-ROZDIKU2.js +36 -0
- package/dist/chunks/chunk-RPNX3W37.js +93 -0
- package/dist/chunks/chunk-RTLHQOM3.js +78 -0
- package/dist/chunks/chunk-RUI7USG5.js +85 -0
- package/dist/chunks/chunk-RX4M6KST.js +287 -0
- package/dist/chunks/chunk-RXDPCSLD.js +390 -0
- package/dist/chunks/chunk-RXG7T7TH.js +51 -0
- package/dist/chunks/chunk-RYCXNOJY.js +100 -0
- package/dist/chunks/chunk-RZ6BQ24D.js +121 -0
- package/dist/chunks/chunk-S2NXTQYX.js +135 -0
- package/dist/chunks/chunk-S2PW3D5R.js +185 -0
- package/dist/chunks/chunk-S37F4WD5.js +262 -0
- package/dist/chunks/chunk-S3XKFDBM.js +140 -0
- package/dist/chunks/chunk-S4K6WYPE.js +116 -0
- package/dist/chunks/chunk-S7BGSBZS.js +33 -0
- package/dist/chunks/chunk-S7V2MJIH.js +90 -0
- package/dist/chunks/chunk-SAEVORI3.js +78 -0
- package/dist/chunks/chunk-SAVABDVA.js +198 -0
- package/dist/chunks/chunk-SC3KJUK4.js +61 -0
- package/dist/chunks/chunk-SCECZ7O2.js +131 -0
- package/dist/chunks/chunk-SCREZMKA.js +143 -0
- package/dist/chunks/chunk-SEGMYWT5.js +204 -0
- package/dist/chunks/chunk-SFTN3236.js +155 -0
- package/dist/chunks/chunk-SHB7PSPV.js +93 -0
- package/dist/chunks/chunk-SJIJXDZF.js +79 -0
- package/dist/chunks/chunk-SK7C77RP.js +230 -0
- package/dist/chunks/chunk-SKDZZLVY.js +23 -0
- package/dist/chunks/chunk-SLQKGCIA.js +86 -0
- package/dist/chunks/chunk-SOBXZNTD.js +162 -0
- package/dist/chunks/chunk-SPRPUZ3H.js +112 -0
- package/dist/chunks/chunk-SQG4G3PA.js +336 -0
- package/dist/chunks/chunk-SQMEMBWT.js +777 -0
- package/dist/chunks/chunk-SQTZKZ4G.js +23 -0
- package/dist/chunks/chunk-SR4TP75H.js +98 -0
- package/dist/chunks/chunk-SRAJ5PNX.js +106 -0
- package/dist/chunks/chunk-SRROMFBW.js +315 -0
- package/dist/chunks/chunk-ST677U2P.js +198 -0
- package/dist/chunks/chunk-STD7SM5H.js +137 -0
- package/dist/chunks/chunk-SUMRUI7X.js +412 -0
- package/dist/chunks/chunk-SUOFNWHY.js +89 -0
- package/dist/chunks/chunk-SWKYIIDD.js +48 -0
- package/dist/chunks/chunk-SWZHIH46.js +115 -0
- package/dist/chunks/chunk-SXDEXQBW.js +68 -0
- package/dist/chunks/chunk-SXK76ZOH.js +331 -0
- package/dist/chunks/chunk-SXUNSSRJ.js +33 -0
- package/dist/chunks/chunk-T26BMAIP.js +297 -0
- package/dist/chunks/chunk-T3HQZPPR.js +77 -0
- package/dist/chunks/chunk-TAGXQCXV.js +62 -0
- package/dist/chunks/chunk-TARJUWS6.js +170 -0
- package/dist/chunks/chunk-TBOT7VW7.js +45 -0
- package/dist/chunks/chunk-TCDV5UY2.js +170 -0
- package/dist/chunks/chunk-TCKVH2X6.js +176 -0
- package/dist/chunks/chunk-TDE7TW2F.js +154 -0
- package/dist/chunks/chunk-TEFJW4NZ.js +85 -0
- package/dist/chunks/chunk-TGSO26VR.js +340 -0
- package/dist/chunks/chunk-TH56ELBN.js +156 -0
- package/dist/chunks/chunk-TH62QPUN.js +112 -0
- package/dist/chunks/chunk-THO74VRS.js +298 -0
- package/dist/chunks/chunk-THQQDD4D.js +92 -0
- package/dist/chunks/chunk-THSQSLZ2.js +262 -0
- package/dist/chunks/chunk-TIC26HFV.js +122 -0
- package/dist/chunks/chunk-TJCXGMBS.js +209 -0
- package/dist/chunks/chunk-TKFFIQV4.js +23 -0
- package/dist/chunks/chunk-TM4LPOUZ.js +1649 -0
- package/dist/chunks/chunk-TNE5Z6IB.js +95 -0
- package/dist/chunks/chunk-TOG2O2P2.js +104 -0
- package/dist/chunks/chunk-TORA6ZBF.js +92 -0
- package/dist/chunks/chunk-TQ3U7WSC.js +145 -0
- package/dist/chunks/chunk-TRKY4KBA.js +41 -0
- package/dist/chunks/chunk-TSETHLMX.js +512 -0
- package/dist/chunks/chunk-TSZLSYVJ.js +75 -0
- package/dist/chunks/chunk-TTYZYD3I.js +558 -0
- package/dist/chunks/chunk-TUJKLV6B.js +261 -0
- package/dist/chunks/chunk-TVHRTJZQ.js +150 -0
- package/dist/chunks/chunk-TVR72SGP.js +117 -0
- package/dist/chunks/chunk-TWSGXSNX.js +479 -0
- package/dist/chunks/chunk-TX2GRMVH.js +632 -0
- package/dist/chunks/chunk-TXR7ODD5.js +23 -0
- package/dist/chunks/chunk-TXS6YZU7.js +94 -0
- package/dist/chunks/chunk-TY3HO5DD.js +196 -0
- package/dist/chunks/chunk-U2YFUJ7J.js +106 -0
- package/dist/chunks/chunk-U4DTMXZV.js +33 -0
- package/dist/chunks/chunk-U4U7QJ4C.js +75 -0
- package/dist/chunks/chunk-U5CWENRS.js +361 -0
- package/dist/chunks/chunk-U66C744L.js +141 -0
- package/dist/chunks/chunk-U7KFCH5U.js +23 -0
- package/dist/chunks/chunk-U7KVOBXZ.js +157 -0
- package/dist/chunks/chunk-UAIFVQOA.js +156 -0
- package/dist/chunks/chunk-UBCYP6QI.js +260 -0
- package/dist/chunks/chunk-UEPHAAVS.js +83 -0
- package/dist/chunks/chunk-UEWGZ7ZN.js +106 -0
- package/dist/chunks/chunk-UHA23T2C.js +1574 -0
- package/dist/chunks/chunk-UHQDLMCA.js +182 -0
- package/dist/chunks/chunk-UJS5YPK4.js +484 -0
- package/dist/chunks/chunk-UK34EPJD.js +138 -0
- package/dist/chunks/chunk-UKEUGRG4.js +194 -0
- package/dist/chunks/chunk-UL2VPV72.js +247 -0
- package/dist/chunks/chunk-UL47XQC4.js +90 -0
- package/dist/chunks/chunk-UMHPXVRM.js +457 -0
- package/dist/chunks/chunk-UQCMMG7O.js +161 -0
- package/dist/chunks/chunk-UQXM4EU6.js +84 -0
- package/dist/chunks/chunk-URAYGWW3.js +153 -0
- package/dist/chunks/chunk-USJFXSQX.js +172 -0
- package/dist/chunks/chunk-UTMEN2SL.js +88 -0
- package/dist/chunks/chunk-UUOJPCLB.js +102 -0
- package/dist/chunks/chunk-UVRRQDSC.js +187 -0
- package/dist/chunks/chunk-UXMVCEV6.js +139 -0
- package/dist/chunks/chunk-UXTRBMKW.js +146 -0
- package/dist/chunks/chunk-V25RKIHS.js +136 -0
- package/dist/chunks/chunk-V3D27EBS.js +23 -0
- package/dist/chunks/chunk-V4QT5TNS.js +97 -0
- package/dist/chunks/chunk-V5YL5VIW.js +111 -0
- package/dist/chunks/chunk-V5Z7HEWL.js +23 -0
- package/dist/chunks/chunk-V7XHUGX5.js +226 -0
- package/dist/chunks/chunk-VB2QT3P7.js +10425 -0
- package/dist/chunks/chunk-VB3JCUHE.js +106 -0
- package/dist/chunks/chunk-VB3UA2ZJ.js +112 -0
- package/dist/chunks/chunk-VCA2FKMF.js +464 -0
- package/dist/chunks/chunk-VCH5W7EW.js +487 -0
- package/dist/chunks/chunk-VDAZRVVL.js +117 -0
- package/dist/chunks/chunk-VDNB6BVC.js +83 -0
- package/dist/chunks/chunk-VEEHHRGB.js +84 -0
- package/dist/chunks/chunk-VELAO7KY.js +95 -0
- package/dist/chunks/chunk-VETL4UOP.js +124 -0
- package/dist/chunks/chunk-VF2CGZGQ.js +428 -0
- package/dist/chunks/chunk-VHB3NN3N.js +206 -0
- package/dist/chunks/chunk-VHNJSBLQ.js +305 -0
- package/dist/chunks/chunk-VI4XLCBB.js +196 -0
- package/dist/chunks/chunk-VIDOT3BT.js +803 -0
- package/dist/chunks/chunk-VJ65B6XT.js +116 -0
- package/dist/chunks/chunk-VJKFEJPG.js +112 -0
- package/dist/chunks/chunk-VJTMGZIF.js +159 -0
- package/dist/chunks/chunk-VKZ2VJZJ.js +105 -0
- package/dist/chunks/chunk-VLB4KIHU.js +10182 -0
- package/dist/chunks/chunk-VMP4CDDC.js +33 -0
- package/dist/chunks/chunk-VNOEAP4Z.js +1307 -0
- package/dist/chunks/chunk-VQ3P562E.js +480 -0
- package/dist/chunks/chunk-VQFCNLSU.js +157 -0
- package/dist/chunks/chunk-VRMOABZB.js +170 -0
- package/dist/chunks/chunk-VSCIKRIG.js +385 -0
- package/dist/chunks/chunk-VVMN2PBM.js +97 -0
- package/dist/chunks/chunk-VW3PMAH4.js +100 -0
- package/dist/chunks/chunk-VYPACEAR.js +256 -0
- package/dist/chunks/chunk-VZRR2GPU.js +194 -0
- package/dist/chunks/chunk-W2UFHFDJ.js +45 -0
- package/dist/chunks/chunk-W3G3WOBH.js +81 -0
- package/dist/chunks/chunk-W5N2TFEA.js +149 -0
- package/dist/chunks/chunk-W5NE37NW.js +141 -0
- package/dist/chunks/chunk-W6DLY4HH.js +60 -0
- package/dist/chunks/chunk-W7KBVCTT.js +103 -0
- package/dist/chunks/chunk-WABAIWOA.js +101 -0
- package/dist/chunks/chunk-WBFFALRV.js +246 -0
- package/dist/chunks/chunk-WF4LNUA3.js +212 -0
- package/dist/chunks/chunk-WHJTTP23.js +33 -0
- package/dist/chunks/chunk-WHNMFGHU.js +182 -0
- package/dist/chunks/chunk-WIPYOZHQ.js +45 -0
- package/dist/chunks/chunk-WIV4BZGQ.js +112 -0
- package/dist/chunks/chunk-WJVPTFHW.js +274 -0
- package/dist/chunks/chunk-WKRGGLHZ.js +74 -0
- package/dist/chunks/chunk-WLLBZZXO.js +185 -0
- package/dist/chunks/chunk-WLMST5SL.js +276 -0
- package/dist/chunks/chunk-WMKIEPED.js +358 -0
- package/dist/chunks/chunk-WMRGILUM.js +79 -0
- package/dist/chunks/chunk-WTDOX47Q.js +100 -0
- package/dist/chunks/chunk-WUZXZD2D.js +497 -0
- package/dist/chunks/chunk-WYZC5IPY.js +624 -0
- package/dist/chunks/chunk-WZG7BJQ2.js +93 -0
- package/dist/chunks/chunk-X3LPS3PL.js +330 -0
- package/dist/chunks/chunk-X4YMXKKS.js +23 -0
- package/dist/chunks/chunk-X6SXY6RV.js +102 -0
- package/dist/chunks/chunk-X6UZTNWO.js +255 -0
- package/dist/chunks/chunk-XADSA6WW.js +503 -0
- package/dist/chunks/chunk-XAFCPB5K.js +181 -0
- package/dist/chunks/chunk-XBTWL72L.js +33 -0
- package/dist/chunks/chunk-XCAEZS56.js +351 -0
- package/dist/chunks/chunk-XDGH7XJ2.js +150 -0
- package/dist/chunks/chunk-XDGHQLMH.js +150 -0
- package/dist/chunks/chunk-XESYDWO7.js +175 -0
- package/dist/chunks/chunk-XET6DOYD.js +71 -0
- package/dist/chunks/chunk-XEYLCUTG.js +198 -0
- package/dist/chunks/chunk-XFJ4FYVP.js +87 -0
- package/dist/chunks/chunk-XFTO6R7G.js +261 -0
- package/dist/chunks/chunk-XG6DFZPR.js +361 -0
- package/dist/chunks/chunk-XGCZEVSE.js +95 -0
- package/dist/chunks/chunk-XGMZFZLX.js +368 -0
- package/dist/chunks/chunk-XJCR63LR.js +283 -0
- package/dist/chunks/chunk-XJLAC2XI.js +80 -0
- package/dist/chunks/chunk-XM6DIAFX.js +204 -0
- package/dist/chunks/chunk-XNUUN63I.js +108 -0
- package/dist/chunks/chunk-XNZ23ICS.js +151 -0
- package/dist/chunks/chunk-XOWCJUZX.js +104 -0
- package/dist/chunks/chunk-XVM6A5DD.js +251 -0
- package/dist/chunks/chunk-XVZVE7VD.js +514 -0
- package/dist/chunks/chunk-XYY2NQK6.js +327 -0
- package/dist/chunks/chunk-XZ6FGNG5.js +105 -0
- package/dist/chunks/chunk-XZC37K4Q.js +284 -0
- package/dist/chunks/chunk-Y2GSCCDX.js +23 -0
- package/dist/chunks/chunk-Y34IK6FH.js +1804 -0
- package/dist/chunks/chunk-Y3JRZECN.js +189 -0
- package/dist/chunks/chunk-Y3NU24MO.js +172 -0
- package/dist/chunks/chunk-Y5O7OZA6.js +222 -0
- package/dist/chunks/chunk-Y66RYOXD.js +163 -0
- package/dist/chunks/chunk-Y7RIDQCI.js +79 -0
- package/dist/chunks/chunk-YAAK4UP3.js +97 -0
- package/dist/chunks/chunk-YAMPOT4S.js +122 -0
- package/dist/chunks/chunk-YBMFHVGV.js +152 -0
- package/dist/chunks/chunk-YD4VVZCN.js +47 -0
- package/dist/chunks/chunk-YD7SOI6Q.js +177 -0
- package/dist/chunks/chunk-YEBP2C5D.js +266 -0
- package/dist/chunks/chunk-YENQRE5H.js +100 -0
- package/dist/chunks/chunk-YGFUDVW6.js +152 -0
- package/dist/chunks/chunk-YGVGBYZU.js +181 -0
- package/dist/chunks/chunk-YH5Q2ZLB.js +166 -0
- package/dist/chunks/chunk-YHIH4NOY.js +149 -0
- package/dist/chunks/chunk-YHJ2I4YG.js +164 -0
- package/dist/chunks/chunk-YHP27F72.js +53 -0
- package/dist/chunks/chunk-YHWRHA6C.js +53 -0
- package/dist/chunks/chunk-YI7AYYKO.js +77 -0
- package/dist/chunks/chunk-YIVOJEIX.js +66 -0
- package/dist/chunks/chunk-YOII6SJF.js +197 -0
- package/dist/chunks/chunk-YPESQICC.js +38 -0
- package/dist/chunks/chunk-YPFVTYA2.js +192 -0
- package/dist/chunks/chunk-YTJRWEJA.js +471 -0
- package/dist/chunks/chunk-YTSZJ5GS.js +91 -0
- package/dist/chunks/chunk-YVUYNEKE.js +200 -0
- package/dist/chunks/chunk-YXEKA5PU.js +33 -0
- package/dist/chunks/chunk-YYIFIWE7.js +195 -0
- package/dist/chunks/chunk-YZB4M5WN.js +151 -0
- package/dist/chunks/chunk-Z2J4D33F.js +231 -0
- package/dist/chunks/chunk-Z46TW6X2.js +184 -0
- package/dist/chunks/chunk-Z7TZTRPQ.js +45 -0
- package/dist/chunks/chunk-ZALRNSW5.js +107 -0
- package/dist/chunks/chunk-ZAO3BCZ4.js +42 -0
- package/dist/chunks/chunk-ZAO4CXUV.js +23 -0
- package/dist/chunks/chunk-ZC635HJD.js +361 -0
- package/dist/chunks/chunk-ZD42XWVU.js +160 -0
- package/dist/chunks/chunk-ZI7GDM35.js +161 -0
- package/dist/chunks/chunk-ZIHKLSPG.js +171 -0
- package/dist/chunks/chunk-ZKZ5QU5V.js +33 -0
- package/dist/chunks/chunk-ZMDDFSDE.js +187 -0
- package/dist/chunks/chunk-ZMVSPG6H.js +82 -0
- package/dist/chunks/chunk-ZPEGEDPD.js +33 -0
- package/dist/chunks/chunk-ZTXZVDQO.js +196 -0
- package/dist/chunks/chunk-ZU3VB6IG.js +266 -0
- package/dist/chunks/chunk-ZUYAAMGW.js +121 -0
- package/dist/chunks/chunk-ZV2V2KK5.js +141 -0
- package/dist/chunks/chunk-ZV5CIVTN.js +98 -0
- package/dist/chunks/chunk-ZWQL5ND2.js +85 -0
- package/dist/chunks/chunk-ZWSJXS2P.js +101 -0
- package/dist/chunks/chunk-ZWYDL5WG.js +137 -0
- package/dist/chunks/chunk-ZXO6X6TJ.js +130 -0
- package/dist/chunks/chunk-ZXT7BHFK.js +567 -0
- package/dist/chunks/client-GXOJ2SK7.js +167 -0
- package/dist/chunks/client-JNBB55EX.js +44 -0
- package/dist/chunks/client-VLRSGSMT.js +31 -0
- package/dist/chunks/client-actions-MLXNUGSS.js +156 -0
- package/dist/chunks/components-X4JLTAOS.js +71 -0
- package/dist/chunks/dangerous-SETMYTN3.js +116 -0
- package/dist/chunks/document-library-2UNJ53LK.js +62 -0
- package/dist/chunks/editor-seams-OQAFOJI4.js +157 -0
- package/dist/chunks/editor-store-NJ4MRUTP.js +135 -0
- package/dist/chunks/export-2ZFGGPUM.js +67 -0
- package/dist/chunks/export-fills-VS4VV6C4.js +35 -0
- package/dist/chunks/export-watermark-5LBWAZ3S.js +142 -0
- package/dist/chunks/eyedropper-PUDJWNPC.js +345 -0
- package/dist/chunks/fonts-6AMHDLOR.js +39 -0
- package/dist/chunks/generate-media-UGEZAXCP.js +253 -0
- package/dist/chunks/headless-F7NGN6XS.js +186 -0
- package/dist/chunks/host-PYXRSU3A.js +239 -0
- package/dist/chunks/host-XQG4NNEM.js +167 -0
- package/dist/chunks/import-M3S5YSER.js +702 -0
- package/dist/chunks/import-merge-GMGMRNJH.js +35 -0
- package/dist/chunks/instances-44O2OKTS.js +79 -0
- package/dist/chunks/integrations-VDSIL3YY.js +115 -0
- package/dist/chunks/invariants-Y4REIFB4.js +61 -0
- package/dist/chunks/kit-modules-IMP2JUFH.js +18 -0
- package/dist/chunks/libraries-6THB6H5C.js +298 -0
- package/dist/chunks/library-previews-3IG5DPMU.js +199 -0
- package/dist/chunks/live-LQ4LJE5T.js +308 -0
- package/dist/chunks/lottie-FVEYORWJ.js +85 -0
- package/dist/chunks/media-tool-O5HQES6N.js +328 -0
- package/dist/chunks/new-file-IXRI5FF2.js +125 -0
- package/dist/chunks/next-commerce-RQ2DGR26.js +66 -0
- package/dist/chunks/page-thumbnails-M24U3JAO.js +133 -0
- package/dist/chunks/pdf-GMZAPMRD.js +1216 -0
- package/dist/chunks/pdf-import-B6EZYYQC.js +370 -0
- package/dist/chunks/plan-GRXCHH66.js +82 -0
- package/dist/chunks/player-check-WN2GR2PK.js +113 -0
- package/dist/chunks/plugin-KEBRTQTN.js +123 -0
- package/dist/chunks/plugin-import-EA7N6PND.js +660 -0
- package/dist/chunks/pptx-EAWSIPT4.js +309 -0
- package/dist/chunks/presence-OL4OBWO7.js +123 -0
- package/dist/chunks/preview-media-YVIYCXA6.js +121 -0
- package/dist/chunks/project-UVM2AYVW.js +1648 -0
- package/dist/chunks/publish-site-RXV2YI2W.js +154 -0
- package/dist/chunks/publish-store-EUI6UU5O.js +93 -0
- package/dist/chunks/raster-actions-HRPA4JHC.js +225 -0
- package/dist/chunks/reference-images-MA3YCEO6.js +62 -0
- package/dist/chunks/resolvers-XK3LPQEY.js +138 -0
- package/dist/chunks/review-kits-6HMTH4T4.js +41 -0
- package/dist/chunks/runner-CLMKK5RT.js +1229 -0
- package/dist/chunks/runtime-G3ZENLKG.js +32 -0
- package/dist/chunks/shader-preview-4VQPTGDS.js +518 -0
- package/dist/chunks/shaper-5ZNY5DTX.js +64 -0
- package/dist/chunks/sites-3JKAKXQN.js +33 -0
- package/dist/chunks/store-VTBBTRHZ.js +220 -0
- package/dist/chunks/storefront-IHRHTJKS.js +327 -0
- package/dist/chunks/storefront-prepare-3NO4J3C5.js +33 -0
- package/dist/chunks/stress-document-VC4CJ2LR.js +126 -0
- package/dist/chunks/svg-export-NYENZCJL.js +80 -0
- package/dist/chunks/svg-place-ABKQLXWN.js +39 -0
- package/dist/chunks/sync-C75YXPKS.js +149 -0
- package/dist/chunks/tabs-T2JJYBAR.js +307 -0
- package/dist/chunks/team-P5YGDX25.js +44 -0
- package/dist/chunks/templates-E2RSOQGW.js +181 -0
- package/dist/chunks/theme-store-KIOR4H4Y.js +39 -0
- package/dist/chunks/tools-UIBU4UDE.js +35 -0
- package/dist/chunks/tree-CXIRATHO.js +72 -0
- package/dist/chunks/ui-commands-BHPGYGOX.js +265 -0
- package/dist/chunks/use-ZU574W54.js +45 -0
- package/dist/chunks/versions-ZH26XLWN.js +307 -0
- package/dist/chunks/video-EKB3VOPB.js +75 -0
- package/dist/chunks/web-CRD2WZ6X.js +170 -0
- package/dist/fonts/chars.txt +1 -1
- package/dist/index.js +62 -61
- package/dist/lib/document/libraries.js +4 -3
- package/dist/lib/document/photo-frames.js +4 -3
- package/dist/lib/document/print-pages.js +3 -2
- package/dist/lib/document/scene-graph.js +3 -2
- package/dist/lib/editor/prototype-connect.js +4 -3
- package/dist/lib/engine/text/fallback-fonts.js +4 -4
- package/dist/lib/engine/text/measure.js +5 -5
- package/dist/lib/extensions/qr/encoder.js +28 -0
- package/dist/lib/marketplace/motion.js +9 -8
- package/dist/lib/motion/audio-clips.js +3 -3
- package/dist/lib/motion/author.js +10 -9
- package/dist/lib/motion/key-selection.js +4 -4
- package/dist/lib/motion/pose.js +11 -10
- package/dist/lib/motion/present.js +17 -16
- package/dist/lib/motion/presets.js +11 -10
- package/dist/lib/motion/spatial.js +4 -4
- package/dist/lib/motion/text-animators.js +4 -4
- package/dist/lib/presets/page-presets.js +2 -1
- package/dist/lib/slides/slides.js +4 -3
- package/dist/lib/templates/apply.js +5 -4
- package/dist/lib/templates/capabilities.js +12 -11
- package/dist/lib/templates/capture.js +6 -5
- package/dist/lib/templates/finish.js +22 -21
- package/dist/lib/templates/layout.js +10 -9
- package/dist/lib/templates/resize.js +5 -4
- package/dist/lib/templates/text-measurer.js +6 -6
- package/dist/lib/templates/upload.js +7 -6
- package/dist/lib/templates/vocabulary.js +6 -5
- package/dist/lib/units/units.js +34 -0
- package/dist/migrations/board-meta.js +7 -6
- package/dist/migrations/brand-media.js +26 -25
- package/dist/migrations/brand-slots.js +4 -3
- package/dist/migrations/categories.js +7 -6
- package/dist/migrations/hug-content.js +11 -10
- package/dist/migrations/index.js +59 -58
- package/dist/migrations/min-type.js +13 -12
- package/dist/migrations/text-on-dark.js +6 -5
- package/dist/migrations/timeline-facets.js +25 -24
- package/dist/migrations/violet-ink.js +6 -5
- package/dist/seed/files.json +1 -1
- package/dist/templates/anime/character.js +41 -40
- package/dist/templates/anime/duel.js +44 -43
- package/dist/templates/anime/morning.js +44 -43
- package/dist/templates/anime/rain.js +44 -43
- package/dist/templates/anime/shared.js +42 -41
- package/dist/templates/anime/starlight.js +44 -43
- package/dist/templates/anime/titan.js +44 -43
- package/dist/templates/app/festival-presale-electronic-ticket.js +46 -45
- package/dist/templates/app/festival-presale-family-ticket.js +46 -45
- package/dist/templates/app/festival-presale-folk-ticket.js +46 -45
- package/dist/templates/app/festival-presale-food-ticket.js +46 -45
- package/dist/templates/app/festival-presale-jazz-ticket.js +46 -45
- package/dist/templates/app/festival-presale-street-ticket.js +47 -46
- package/dist/templates/app/music/build.js +27 -26
- package/dist/templates/app/music/world.js +11 -10
- package/dist/templates/app/music-grove.js +42 -41
- package/dist/templates/app/music-nightline.js +42 -41
- package/dist/templates/app/music-orbit.js +42 -41
- package/dist/templates/app/music-undertow.js +42 -41
- package/dist/templates/app/onboarding-carousel.js +40 -39
- package/dist/templates/app/saas-store-paywall.js +40 -39
- package/dist/templates/app/splash.js +40 -39
- package/dist/templates/app/success-confetti.js +40 -39
- package/dist/templates/app/tour-tickets-june-ticket.js +40 -39
- package/dist/templates/app/tour-tickets-tide-ticket.js +40 -39
- package/dist/templates/app/tour-tickets-wreck-ticket.js +40 -39
- package/dist/templates/build.js +24 -23
- package/dist/templates/cards/index.js +42 -41
- package/dist/templates/cards/shared.js +40 -39
- package/dist/templates/cards/themes.js +41 -40
- package/dist/templates/count.js +16 -15
- package/dist/templates/data/bars.js +40 -39
- package/dist/templates/data/countdown-story.js +40 -39
- package/dist/templates/data/counters.js +40 -39
- package/dist/templates/data/donut.js +40 -39
- package/dist/templates/data/line.js +40 -39
- package/dist/templates/data/year-in-review.js +40 -39
- package/dist/templates/effects/glass-intro.js +40 -39
- package/dist/templates/effects/glass-promo.js +40 -39
- package/dist/templates/effects/grain-story.js +40 -39
- package/dist/templates/effects/grid-intro.js +40 -39
- package/dist/templates/effects/halftone-story.js +40 -39
- package/dist/templates/effects/mesh-story.js +40 -39
- package/dist/templates/effects/shader-title.js +40 -39
- package/dist/templates/email/april-fools-header.js +42 -41
- package/dist/templates/email/art-deco-invitation.js +42 -41
- package/dist/templates/email/autumn-harvest-header.js +42 -41
- package/dist/templates/email/back-to-school-header.js +42 -41
- package/dist/templates/email/black-friday-coupons-header.js +42 -41
- package/dist/templates/email/black-friday-header.js +41 -40
- package/dist/templates/email/black-friday-neon-header.js +44 -43
- package/dist/templates/email/black-friday-scratch-header.js +42 -41
- package/dist/templates/email/black-friday-ticker-header.js +42 -41
- package/dist/templates/email/broadsheet-weekly-edition-header.js +41 -40
- package/dist/templates/email/claymation-header.js +43 -42
- package/dist/templates/email/countdown-gif.js +41 -40
- package/dist/templates/email/cyberpunk-header.js +44 -43
- package/dist/templates/email/diwali-header.js +43 -42
- package/dist/templates/email/earth-day-header.js +43 -42
- package/dist/templates/email/festival-presale-electronic-header.js +46 -45
- package/dist/templates/email/festival-presale-family-header.js +46 -45
- package/dist/templates/email/festival-presale-folk-header.js +46 -45
- package/dist/templates/email/festival-presale-food-header.js +46 -45
- package/dist/templates/email/festival-presale-jazz-header.js +46 -45
- package/dist/templates/email/festival-presale-street-header.js +47 -46
- package/dist/templates/email/gothic-header.js +41 -40
- package/dist/templates/email/halloween-header.js +43 -42
- package/dist/templates/email/header-launch.js +41 -40
- package/dist/templates/email/header-newsletter.js +41 -40
- package/dist/templates/email/header-sale.js +41 -40
- package/dist/templates/email/lunar-new-year-header.js +43 -42
- package/dist/templates/email/manuscript-chronicle-header.js +42 -41
- package/dist/templates/email/new-year-header.js +43 -42
- package/dist/templates/email/noir-header.js +44 -43
- package/dist/templates/email/psychedelic-header.js +43 -42
- package/dist/templates/email/riso-zine-changelog-header.js +44 -43
- package/dist/templates/email/saas-mail-changelog.js +43 -42
- package/dist/templates/email/saas-mail-day-one.js +43 -42
- package/dist/templates/email/saas-mail-day-three.js +42 -41
- package/dist/templates/email/saas-mail-launch.js +42 -41
- package/dist/templates/email/saas-mail-payment-failed.js +42 -41
- package/dist/templates/email/saas-mail-sign-in-code.js +42 -41
- package/dist/templates/email/saas-mail-trial-ending.js +42 -41
- package/dist/templates/email/saas-mail-waitlist.js +42 -41
- package/dist/templates/email/shared.js +26 -25
- package/dist/templates/email/singles-day-header.js +43 -42
- package/dist/templates/email/solarpunk-header.js +43 -42
- package/dist/templates/email/space-opera-header.js +43 -42
- package/dist/templates/email/spring-bloom-header.js +43 -42
- package/dist/templates/email/style-bento-header.js +42 -41
- package/dist/templates/email/style-brutalist-header.js +42 -41
- package/dist/templates/email/style-dark-header.js +42 -41
- package/dist/templates/email/style-data-header.js +42 -41
- package/dist/templates/email/style-editorial-header.js +42 -41
- package/dist/templates/email/style-glass-header.js +43 -42
- package/dist/templates/email/style-gradient-header.js +42 -41
- package/dist/templates/email/style-maximal-header.js +42 -41
- package/dist/templates/email/style-pastel-header.js +43 -42
- package/dist/templates/email/style-sketch-header.js +43 -42
- package/dist/templates/email/style-swiss-header.js +42 -41
- package/dist/templates/email/style-terminal-header.js +44 -43
- package/dist/templates/email/summer-heatwave-header.js +43 -42
- package/dist/templates/email/tour-tickets-june-header.js +41 -40
- package/dist/templates/email/tour-tickets-tide-header.js +41 -40
- package/dist/templates/email/tour-tickets-wreck-header.js +41 -40
- package/dist/templates/email/transit-map-service-update.js +43 -42
- package/dist/templates/email/ukiyo-e-greeting-header.js +43 -42
- package/dist/templates/email/valentines-header.js +43 -42
- package/dist/templates/email/winter-cosy-header.js +44 -43
- package/dist/templates/email/winter-holidays-header.js +44 -43
- package/dist/templates/fonts.js +6 -6
- package/dist/templates/game/blossom-bash-puzzle.js +41 -40
- package/dist/templates/game/deckbound-roguelike.js +41 -40
- package/dist/templates/game/emberfall-rpg.js +41 -40
- package/dist/templates/game/hearthmoor-farm.js +41 -40
- package/dist/templates/game/index.js +54 -53
- package/dist/templates/game/iron-lotus-fighter.js +41 -40
- package/dist/templates/game/ironroot-rts.js +41 -40
- package/dist/templates/game/mossy-hollow-platformer.js +43 -42
- package/dist/templates/game/neon-apex-racing.js +41 -40
- package/dist/templates/game/platformer.js +42 -41
- package/dist/templates/game/pulse-riot-rhythm.js +41 -40
- package/dist/templates/game/shared.js +26 -25
- package/dist/templates/game/sprout-quest-pixel-platformer.js +43 -42
- package/dist/templates/game/vanta-fps.js +41 -40
- package/dist/templates/index.js +894 -867
- package/dist/templates/index.json +742 -0
- package/dist/templates/kinetic/letters.js +40 -39
- package/dist/templates/kinetic/lines.js +40 -39
- package/dist/templates/kinetic/typewriter.js +40 -39
- package/dist/templates/kinetic/word-swap.js +40 -39
- package/dist/templates/kinetic/words.js +40 -39
- package/dist/templates/kit.js +25 -24
- package/dist/templates/libraries/audio-reactive.js +40 -39
- package/dist/templates/libraries/loaders.js +40 -39
- package/dist/templates/libraries/micro-interactions.js +40 -39
- package/dist/templates/libraries/motion-essentials.js +40 -39
- package/dist/templates/libraries/toasts.js +40 -39
- package/dist/templates/lottie/ai.js +41 -40
- package/dist/templates/lottie/climate.js +41 -40
- package/dist/templates/lottie/commerce.js +41 -40
- package/dist/templates/lottie/education.js +41 -40
- package/dist/templates/lottie/fintech.js +41 -40
- package/dist/templates/lottie/food.js +41 -40
- package/dist/templates/lottie/health.js +41 -40
- package/dist/templates/lottie/index.js +65 -64
- package/dist/templates/lottie/lottie-kit.js +40 -39
- package/dist/templates/lottie/realestate.js +41 -40
- package/dist/templates/lottie/saas-ui-checklist.js +42 -41
- package/dist/templates/lottie/saas-ui-dashboard-hero.js +42 -41
- package/dist/templates/lottie/saas-ui-empty-data.js +42 -41
- package/dist/templates/lottie/saas-ui-empty-search.js +42 -41
- package/dist/templates/lottie/saas-ui-error-retry.js +42 -41
- package/dist/templates/lottie/saas-ui-file-upload.js +42 -41
- package/dist/templates/lottie/saas-ui-streaming-answer.js +42 -41
- package/dist/templates/lottie/saas-ui-sync-connected.js +42 -41
- package/dist/templates/lottie/saas-ui-trial-timeline.js +42 -41
- package/dist/templates/lottie/saas-ui-upgrade-unlocked.js +42 -41
- package/dist/templates/lottie/saas-ui.js +52 -51
- package/dist/templates/lottie/saas.js +41 -40
- package/dist/templates/lottie/security.js +41 -40
- package/dist/templates/lottie/techniques.js +41 -40
- package/dist/templates/lottie/travel.js +41 -40
- package/dist/templates/motion/ambient-loop.js +40 -39
- package/dist/templates/motion/app-icon-sting.js +40 -39
- package/dist/templates/motion/april-fools-infomercial-reel.js +42 -41
- package/dist/templates/motion/arcade-high-score.js +43 -42
- package/dist/templates/motion/art-deco-grand-opening.js +41 -40
- package/dist/templates/motion/autumn-harvest-year-reel.js +41 -40
- package/dist/templates/motion/back-to-school-timetable-reel.js +41 -40
- package/dist/templates/motion/bauhaus-launch-reel.js +41 -40
- package/dist/templates/motion/black-friday-coupons-deal-reel.js +42 -41
- package/dist/templates/motion/black-friday-coupons-last-day.js +42 -41
- package/dist/templates/motion/black-friday-deal-drop.js +40 -39
- package/dist/templates/motion/black-friday-neon-deal-reel.js +43 -42
- package/dist/templates/motion/black-friday-neon-last-day.js +43 -42
- package/dist/templates/motion/black-friday-scratch-countdown.js +41 -40
- package/dist/templates/motion/black-friday-scratch-deal-reel.js +41 -40
- package/dist/templates/motion/black-friday-scratch-last-day.js +41 -40
- package/dist/templates/motion/black-friday-ticker-deal-drop.js +41 -40
- package/dist/templates/motion/black-friday-ticker-last-call.js +42 -41
- package/dist/templates/motion/blueprint-rev-b-reel.js +42 -41
- package/dist/templates/motion/broadsheet-launch-reel.js +40 -39
- package/dist/templates/motion/broadsheet-milestone-post.js +41 -40
- package/dist/templates/motion/claymation-launch-reel.js +42 -41
- package/dist/templates/motion/comic-book-issue-reel.js +43 -42
- package/dist/templates/motion/countdown.js +40 -39
- package/dist/templates/motion/cyberpunk-lock-on-reel.js +43 -42
- package/dist/templates/motion/departure-board-reel.js +41 -40
- package/dist/templates/motion/diwali-lamps-reel.js +42 -41
- package/dist/templates/motion/earth-day-footprint-reel.js +42 -41
- package/dist/templates/motion/earth-day-pledge-post.js +42 -41
- package/dist/templates/motion/festival-presale-electronic-countdown.js +46 -45
- package/dist/templates/motion/festival-presale-electronic-lineup.js +46 -45
- package/dist/templates/motion/festival-presale-electronic-reel.js +46 -45
- package/dist/templates/motion/festival-presale-electronic-tier.js +46 -45
- package/dist/templates/motion/festival-presale-family-countdown.js +46 -45
- package/dist/templates/motion/festival-presale-family-lineup.js +46 -45
- package/dist/templates/motion/festival-presale-family-reel.js +46 -45
- package/dist/templates/motion/festival-presale-family-tier.js +46 -45
- package/dist/templates/motion/festival-presale-folk-countdown.js +46 -45
- package/dist/templates/motion/festival-presale-folk-lineup.js +46 -45
- package/dist/templates/motion/festival-presale-folk-reel.js +46 -45
- package/dist/templates/motion/festival-presale-folk-tier.js +46 -45
- package/dist/templates/motion/festival-presale-food-countdown.js +46 -45
- package/dist/templates/motion/festival-presale-food-lineup.js +46 -45
- package/dist/templates/motion/festival-presale-food-reel.js +46 -45
- package/dist/templates/motion/festival-presale-food-tier.js +46 -45
- package/dist/templates/motion/festival-presale-jazz-countdown.js +46 -45
- package/dist/templates/motion/festival-presale-jazz-lineup.js +46 -45
- package/dist/templates/motion/festival-presale-jazz-reel.js +46 -45
- package/dist/templates/motion/festival-presale-jazz-tier.js +46 -45
- package/dist/templates/motion/festival-presale-street-countdown.js +47 -46
- package/dist/templates/motion/festival-presale-street-lineup.js +47 -46
- package/dist/templates/motion/festival-presale-street-reel.js +47 -46
- package/dist/templates/motion/festival-presale-street-tier.js +47 -46
- package/dist/templates/motion/gothic-launch-reel.js +40 -39
- package/dist/templates/motion/halloween-graveyard-reel.js +42 -41
- package/dist/templates/motion/instagram-promo.js +40 -39
- package/dist/templates/motion/kinetic-headline.js +40 -39
- package/dist/templates/motion/landing-hero/index.js +44 -43
- package/dist/templates/motion/launch-trailer/document.js +894 -867
- package/dist/templates/motion/launch-trailer/index.js +44 -43
- package/dist/templates/motion/launch-trailer/scenes.js +43 -42
- package/dist/templates/motion/logo-reveal.js +40 -39
- package/dist/templates/motion/lower-third.js +40 -39
- package/dist/templates/motion/lunar-new-year-envelope-reel.js +42 -41
- package/dist/templates/motion/machined-trailer.js +42 -41
- package/dist/templates/motion/manuscript-launch-reel.js +41 -40
- package/dist/templates/motion/new-year-ball-drop-reel.js +42 -41
- package/dist/templates/motion/noir-case-reel.js +43 -42
- package/dist/templates/motion/pitch-title.js +40 -39
- package/dist/templates/motion/psychedelic-gig-reel.js +42 -41
- package/dist/templates/motion/riso-zine-launch-reel.js +43 -42
- package/dist/templates/motion/saas-ai-prompt.js +41 -40
- package/dist/templates/motion/saas-before-after.js +41 -40
- package/dist/templates/motion/saas-changelog-drop.js +41 -40
- package/dist/templates/motion/saas-film-webinar-opener.js +41 -40
- package/dist/templates/motion/saas-hook-features.js +41 -40
- package/dist/templates/motion/saas-mrr-milestone.js +41 -40
- package/dist/templates/motion/saas-screen-demo.js +42 -41
- package/dist/templates/motion/saas-store-install-ad.js +41 -40
- package/dist/templates/motion/saas-testimonial.js +41 -40
- package/dist/templates/motion/saas-vs-comparison.js +41 -40
- package/dist/templates/motion/singles-day-flash-post.js +42 -41
- package/dist/templates/motion/singles-day-live-reel.js +42 -41
- package/dist/templates/motion/smooth-loop.js +40 -39
- package/dist/templates/motion/solarpunk-rooftop-reel.js +42 -41
- package/dist/templates/motion/space-opera-countdown-reel.js +42 -41
- package/dist/templates/motion/spring-bloom-first-hundred-post.js +42 -41
- package/dist/templates/motion/spring-bloom-first-shoots-reel.js +42 -41
- package/dist/templates/motion/stat-pop.js +40 -39
- package/dist/templates/motion/style-bento-feature-demo.js +43 -42
- package/dist/templates/motion/style-bento-launch-reel.js +42 -41
- package/dist/templates/motion/style-brutalist-feature-demo.js +44 -43
- package/dist/templates/motion/style-brutalist-launch-reel.js +43 -42
- package/dist/templates/motion/style-dark-feature-demo.js +42 -41
- package/dist/templates/motion/style-dark-launch-reel.js +43 -42
- package/dist/templates/motion/style-data-feature-demo.js +43 -42
- package/dist/templates/motion/style-data-launch-reel.js +43 -42
- package/dist/templates/motion/style-editorial-feature-demo.js +43 -42
- package/dist/templates/motion/style-editorial-launch-reel.js +42 -41
- package/dist/templates/motion/style-glass-feature-demo.js +44 -43
- package/dist/templates/motion/style-glass-launch-reel.js +43 -42
- package/dist/templates/motion/style-gradient-feature-demo.js +43 -42
- package/dist/templates/motion/style-gradient-launch-reel.js +42 -41
- package/dist/templates/motion/style-maximal-feature-demo.js +43 -42
- package/dist/templates/motion/style-maximal-launch-reel.js +42 -41
- package/dist/templates/motion/style-pastel-feature-demo.js +44 -43
- package/dist/templates/motion/style-pastel-launch-reel.js +44 -43
- package/dist/templates/motion/style-sketch-feature-demo.js +44 -43
- package/dist/templates/motion/style-sketch-launch-reel.js +44 -43
- package/dist/templates/motion/style-swiss-feature-demo.js +44 -43
- package/dist/templates/motion/style-swiss-launch-reel.js +43 -42
- package/dist/templates/motion/style-terminal-feature-demo.js +45 -44
- package/dist/templates/motion/style-terminal-launch-reel.js +45 -44
- package/dist/templates/motion/summer-heatwave-lido-reel.js +42 -41
- package/dist/templates/motion/template-wall.js +42 -41
- package/dist/templates/motion/title-card-3d.js +40 -39
- package/dist/templates/motion/tour-tickets-june-city.js +40 -39
- package/dist/templates/motion/tour-tickets-june-dates.js +40 -39
- package/dist/templates/motion/tour-tickets-june-final.js +41 -40
- package/dist/templates/motion/tour-tickets-june-reel.js +40 -39
- package/dist/templates/motion/tour-tickets-tide-city.js +40 -39
- package/dist/templates/motion/tour-tickets-tide-dates.js +40 -39
- package/dist/templates/motion/tour-tickets-tide-final.js +41 -40
- package/dist/templates/motion/tour-tickets-tide-reel.js +40 -39
- package/dist/templates/motion/tour-tickets-wreck-city.js +40 -39
- package/dist/templates/motion/tour-tickets-wreck-dates.js +40 -39
- package/dist/templates/motion/tour-tickets-wreck-final.js +41 -40
- package/dist/templates/motion/tour-tickets-wreck-reel.js +40 -39
- package/dist/templates/motion/transit-map-line-opening.js +42 -41
- package/dist/templates/motion/transit-map-milestone-post.js +42 -41
- package/dist/templates/motion/ukiyo-e-launch-reel.js +42 -41
- package/dist/templates/motion/valentines-breakup-reel.js +42 -41
- package/dist/templates/motion/vaporwave-launch-reel.js +42 -41
- package/dist/templates/motion/winter-cosy-heads-down-post.js +43 -42
- package/dist/templates/motion/winter-cosy-hibernation-reel.js +43 -42
- package/dist/templates/motion/winter-holidays-advent-reel.js +43 -42
- package/dist/templates/motion-qa.js +33 -32
- package/dist/templates/motion3d/app-store-preview.js +41 -40
- package/dist/templates/motion3d/before-after-swing.js +41 -40
- package/dist/templates/motion3d/burger-reveal.js +41 -40
- package/dist/templates/motion3d/coverflow.js +41 -40
- package/dist/templates/motion3d/exploded-ui.js +41 -40
- package/dist/templates/motion3d/feature-flip.js +41 -40
- package/dist/templates/motion3d/kinetic-reveal.js +41 -40
- package/dist/templates/motion3d/laptop-reveal.js +41 -40
- package/dist/templates/motion3d/logo-extrude.js +41 -40
- package/dist/templates/motion3d/parallax-cascade.js +41 -40
- package/dist/templates/motion3d/phone-orbit.js +41 -40
- package/dist/templates/motion3d/pricing-fan.js +41 -40
- package/dist/templates/motion3d/product-turntable.js +41 -40
- package/dist/templates/motion3d/saas-film-cinematic-trailer.js +42 -41
- package/dist/templates/motion3d/screen-wall.js +41 -40
- package/dist/templates/motion3d/stage.js +26 -25
- package/dist/templates/motion3d/vertical-promo.js +41 -40
- package/dist/templates/music/edm-drop.js +41 -40
- package/dist/templates/music/festival-lineup.js +41 -40
- package/dist/templates/music/hiphop-lyrics.js +41 -40
- package/dist/templates/music/indie-poster.js +41 -40
- package/dist/templates/music/lofi-loop.js +41 -40
- package/dist/templates/music/podcast-audiogram.js +41 -40
- package/dist/templates/music/shared.js +26 -25
- package/dist/templates/music/synthwave-tunnel.js +41 -40
- package/dist/templates/print/everyday-save-the-date.js +42 -41
- package/dist/templates/print/everyday-specials-board.js +42 -41
- package/dist/templates/print/holidays-christmas-church-newsletter.js +40 -39
- package/dist/templates/print/holidays-christmas-eve-invitation.js +40 -39
- package/dist/templates/print/holidays-christmas-gift-tags.js +40 -39
- package/dist/templates/print/holidays-diwali-party-invitation.js +40 -39
- package/dist/templates/print/holidays-easter-activity-sheet.js +40 -39
- package/dist/templates/print/holidays-easter-egg-hunt-flyer.js +40 -39
- package/dist/templates/print/holidays-eid-dinner-invitation.js +40 -39
- package/dist/templates/print/holidays-eid-gift-tags.js +40 -39
- package/dist/templates/print/holidays-halloween-party-invitation.js +40 -39
- package/dist/templates/print/holidays-halloween-treat-labels.js +40 -39
- package/dist/templates/print/holidays-halloween-trunk-or-treat-poster.js +40 -39
- package/dist/templates/print/holidays-hanukkah-activity-sheet.js +40 -39
- package/dist/templates/print/holidays-hanukkah-party-invitation.js +40 -39
- package/dist/templates/print/holidays-lunar-new-year-banquet-menu.js +40 -39
- package/dist/templates/print/holidays-new-years-eve-poster.js +40 -39
- package/dist/templates/print/holidays-thanksgiving-dinner-menu.js +40 -39
- package/dist/templates/print/holidays-thanksgiving-place-cards.js +40 -39
- package/dist/templates/print/holidays-valentines-dinner-menu.js +40 -39
- package/dist/templates/print/printshop-booklet-open-day.js +98 -0
- package/dist/templates/print/printshop-brochure-community.js +96 -0
- package/dist/templates/print/printshop-brochure-dental.js +96 -0
- package/dist/templates/print/printshop-brochure-gym.js +95 -0
- package/dist/templates/print/printshop-brochure-landscaping.js +96 -0
- package/dist/templates/print/printshop-brochure-travel.js +97 -0
- package/dist/templates/print/printshop-card-architect.js +96 -0
- package/dist/templates/print/printshop-card-barber.js +96 -0
- package/dist/templates/print/printshop-card-cafe.js +96 -0
- package/dist/templates/print/printshop-card-developer.js +96 -0
- package/dist/templates/print/printshop-card-florist.js +96 -0
- package/dist/templates/print/printshop-card-lawyer.js +96 -0
- package/dist/templates/print/printshop-card-photographer.js +97 -0
- package/dist/templates/print/printshop-card-plumber.js +97 -0
- package/dist/templates/print/printshop-card-realtor.js +96 -0
- package/dist/templates/print/printshop-card-yoga.js +96 -0
- package/dist/templates/print/printshop-flyer-charity-run.js +95 -0
- package/dist/templates/print/printshop-flyer-farmers-market.js +96 -0
- package/dist/templates/print/printshop-flyer-garage-sale.js +96 -0
- package/dist/templates/print/printshop-flyer-grand-opening.js +98 -0
- package/dist/templates/print/printshop-flyer-lost-pet.js +95 -0
- package/dist/templates/print/printshop-flyer-tutoring.js +98 -0
- package/dist/templates/print/printshop-flyer-yard-work.js +96 -0
- package/dist/templates/print/printshop-poster-live-music.js +96 -0
- package/dist/templates/print/studio-class-timetable-poster.js +40 -39
- package/dist/templates/print/studio-portfolio-booklet.js +40 -39
- package/dist/templates/saas/email-decks-shared.js +41 -40
- package/dist/templates/saas/email-decks.js +54 -53
- package/dist/templates/saas/index.js +242 -241
- package/dist/templates/saas/launch-kit.js +50 -49
- package/dist/templates/saas/launch-video.js +50 -49
- package/dist/templates/saas/lottie-shared.js +41 -40
- package/dist/templates/saas/stores-shared.js +26 -25
- package/dist/templates/saas/stores.js +51 -50
- package/dist/templates/saas/style-bento-shared.js +11 -10
- package/dist/templates/saas/style-bento.js +54 -53
- package/dist/templates/saas/style-brutalist-shared.js +11 -10
- package/dist/templates/saas/style-brutalist.js +55 -54
- package/dist/templates/saas/style-dark.js +54 -53
- package/dist/templates/saas/style-data-shared.js +11 -10
- package/dist/templates/saas/style-data.js +55 -54
- package/dist/templates/saas/style-editorial-shared.js +11 -10
- package/dist/templates/saas/style-editorial.js +55 -54
- package/dist/templates/saas/style-glass-shared.js +12 -11
- package/dist/templates/saas/style-glass.js +55 -54
- package/dist/templates/saas/style-gradient-shared.js +11 -10
- package/dist/templates/saas/style-gradient.js +55 -54
- package/dist/templates/saas/style-maximal-shared.js +11 -10
- package/dist/templates/saas/style-maximal.js +54 -53
- package/dist/templates/saas/style-pastel-shared.js +12 -11
- package/dist/templates/saas/style-pastel.js +55 -54
- package/dist/templates/saas/style-sketch-shared.js +11 -10
- package/dist/templates/saas/style-sketch.js +55 -54
- package/dist/templates/saas/style-swiss-shared.js +11 -10
- package/dist/templates/saas/style-swiss.js +55 -54
- package/dist/templates/saas/style-terminal-shared.js +13 -12
- package/dist/templates/saas/style-terminal.js +56 -55
- package/dist/templates/saas/video-shared.js +11 -10
- package/dist/templates/saas/video.js +50 -49
- package/dist/templates/saas/web-shared.js +16 -15
- package/dist/templates/saas/web.js +53 -52
- package/dist/templates/scenes/before-after.js +40 -39
- package/dist/templates/scenes/carousel-video.js +41 -40
- package/dist/templates/scenes/saas-film-app-preview.js +42 -41
- package/dist/templates/scenes/saas-film-bright-trailer.js +41 -40
- package/dist/templates/scenes/saas-film-product-hunt-launch.js +41 -40
- package/dist/templates/scenes/saas-film-youtube-demo-kit.js +42 -41
- package/dist/templates/scenes/shared.js +26 -25
- package/dist/templates/scenes/story-ad.js +44 -43
- package/dist/templates/scenes/story-bakery.js +41 -40
- package/dist/templates/scenes/story-fitness.js +41 -40
- package/dist/templates/scenes/story-hotel.js +41 -40
- package/dist/templates/scenes/transitions-pack.js +41 -40
- package/dist/templates/scenes/web-scroll.js +41 -40
- package/dist/templates/shared/motion.js +11 -10
- package/dist/templates/shared/overlays.js +12 -11
- package/dist/templates/shared/pointer.js +11 -10
- package/dist/templates/slides/agenda.js +41 -40
- package/dist/templates/slides/deck.js +40 -39
- package/dist/templates/slides/education.js +41 -40
- package/dist/templates/slides/launch.js +41 -40
- package/dist/templates/slides/layouts.js +41 -40
- package/dist/templates/slides/pitch.js +41 -40
- package/dist/templates/slides/report.js +41 -40
- package/dist/templates/slides/saas-mail-investor-update.js +42 -41
- package/dist/templates/slides/saas-mail-seed-pitch.js +42 -41
- package/dist/templates/slides/sales.js +41 -40
- package/dist/templates/slides/section-divider.js +41 -40
- package/dist/templates/slides/title-card.js +41 -40
- package/dist/templates/slides/training.js +41 -40
- package/dist/templates/slides/webinar.js +41 -40
- package/dist/templates/slideshow/baby.js +42 -41
- package/dist/templates/slideshow/birthday.js +42 -41
- package/dist/templates/slideshow/holiday.js +42 -41
- package/dist/templates/slideshow/home.js +42 -41
- package/dist/templates/slideshow/index.js +49 -48
- package/dist/templates/slideshow/memorial.js +42 -41
- package/dist/templates/slideshow/shared.js +41 -40
- package/dist/templates/slideshow/travel.js +42 -41
- package/dist/templates/slideshow/wedding.js +42 -41
- package/dist/templates/social/april-fools-link-preview.js +42 -41
- package/dist/templates/social/april-fools-price-slash-post.js +42 -41
- package/dist/templates/social/arcade-boss-fight.js +43 -42
- package/dist/templates/social/arcade-level-up.js +43 -42
- package/dist/templates/social/art-deco-link-preview.js +41 -40
- package/dist/templates/social/art-deco-premiere-post.js +41 -40
- package/dist/templates/social/autumn-harvest-link-preview.js +41 -40
- package/dist/templates/social/autumn-harvest-thanks-post.js +41 -40
- package/dist/templates/social/back-to-school-link-preview.js +41 -40
- package/dist/templates/social/back-to-school-report-card-post.js +41 -40
- package/dist/templates/social/bauhaus-drift-post.js +41 -40
- package/dist/templates/social/bauhaus-link-preview.js +41 -40
- package/dist/templates/social/bauhaus-pricing-post.js +41 -40
- package/dist/templates/social/black-friday-ads.js +40 -39
- package/dist/templates/social/black-friday-countdown.js +40 -39
- package/dist/templates/social/black-friday-coupons-ads.js +41 -40
- package/dist/templates/social/black-friday-coupons-countdown.js +42 -41
- package/dist/templates/social/black-friday-neon-ads.js +43 -42
- package/dist/templates/social/black-friday-neon-countdown.js +43 -42
- package/dist/templates/social/black-friday-scratch-ads.js +41 -40
- package/dist/templates/social/black-friday-ticker-ads.js +41 -40
- package/dist/templates/social/black-friday-ticker-countdown.js +41 -40
- package/dist/templates/social/blueprint-dimension-post.js +42 -41
- package/dist/templates/social/blueprint-link-preview.js +42 -41
- package/dist/templates/social/blueprint-parts-list-post.js +42 -41
- package/dist/templates/social/broadsheet-hiring-classifieds.js +40 -39
- package/dist/templates/social/broadsheet-link-preview.js +40 -39
- package/dist/templates/social/claymation-link-preview.js +42 -41
- package/dist/templates/social/claymation-streak-post.js +42 -41
- package/dist/templates/social/comic-book-cover-preview.js +43 -42
- package/dist/templates/social/comic-book-strip-post.js +43 -42
- package/dist/templates/social/cyberpunk-implant-post.js +43 -42
- package/dist/templates/social/cyberpunk-link-preview.js +43 -42
- package/dist/templates/social/departure-board-pass-ad.js +41 -40
- package/dist/templates/social/departure-board-store-set.js +41 -40
- package/dist/templates/social/departure-board-thanks-post.js +41 -40
- package/dist/templates/social/diwali-link-preview.js +42 -41
- package/dist/templates/social/diwali-thanks-post.js +42 -41
- package/dist/templates/social/earth-day-link-preview.js +42 -41
- package/dist/templates/social/everyday-save-the-date-post.js +42 -41
- package/dist/templates/social/festival-presale-electronic-ads.js +46 -45
- package/dist/templates/social/festival-presale-family-ads.js +46 -45
- package/dist/templates/social/festival-presale-folk-ads.js +46 -45
- package/dist/templates/social/festival-presale-food-ads.js +46 -45
- package/dist/templates/social/festival-presale-jazz-ads.js +46 -45
- package/dist/templates/social/festival-presale-street-ads.js +47 -46
- package/dist/templates/social/gothic-feature-post.js +40 -39
- package/dist/templates/social/gothic-link-preview.js +40 -39
- package/dist/templates/social/halloween-link-preview.js +42 -41
- package/dist/templates/social/halloween-offer-post.js +42 -41
- package/dist/templates/social/holidays-diwali-sweet-shop-post.js +40 -39
- package/dist/templates/social/holidays-lunar-new-year-bakery-post.js +40 -39
- package/dist/templates/social/holidays-new-years-eve-shop-hours.js +40 -39
- package/dist/templates/social/holidays-thanksgiving-pie-orders-post.js +40 -39
- package/dist/templates/social/holidays-valentines-florist-post.js +40 -39
- package/dist/templates/social/lunar-new-year-greeting-post.js +42 -41
- package/dist/templates/social/lunar-new-year-link-preview.js +42 -41
- package/dist/templates/social/machined-link-preview.js +42 -41
- package/dist/templates/social/machined-plate-post.js +42 -41
- package/dist/templates/social/manuscript-chapter-post.js +41 -40
- package/dist/templates/social/manuscript-link-preview.js +41 -40
- package/dist/templates/social/new-year-link-preview.js +42 -41
- package/dist/templates/social/new-year-resolutions-post.js +42 -41
- package/dist/templates/social/noir-case-file.js +43 -42
- package/dist/templates/social/noir-feature-post.js +43 -42
- package/dist/templates/social/post-announcement.js +40 -39
- package/dist/templates/social/post-event.js +40 -39
- package/dist/templates/social/post-podcast.js +40 -39
- package/dist/templates/social/post-quote.js +40 -39
- package/dist/templates/social/post-sale.js +40 -39
- package/dist/templates/social/post-stat.js +40 -39
- package/dist/templates/social/post-testimonial.js +40 -39
- package/dist/templates/social/promo-announcement.js +40 -39
- package/dist/templates/social/promo-beat-drop.js +40 -39
- package/dist/templates/social/promo-event.js +40 -39
- package/dist/templates/social/promo-new-product.js +40 -39
- package/dist/templates/social/promo-quote-reveal.js +40 -39
- package/dist/templates/social/promo-sale-drop.js +40 -39
- package/dist/templates/social/promo-tip-list.js +40 -39
- package/dist/templates/social/psychedelic-lineup-post.js +42 -41
- package/dist/templates/social/psychedelic-link-preview.js +42 -41
- package/dist/templates/social/riso-zine-link-preview.js +43 -42
- package/dist/templates/social/riso-zine-mrr-poster.js +43 -42
- package/dist/templates/social/saas-kit-carousel.js +40 -39
- package/dist/templates/social/saas-kit-countdown-post.js +40 -39
- package/dist/templates/social/saas-kit-feature-drop.js +41 -40
- package/dist/templates/social/saas-kit-link-preview.js +40 -39
- package/dist/templates/social/saas-kit-live-post.js +40 -39
- package/dist/templates/social/saas-kit-mrr-card.js +40 -39
- package/dist/templates/social/saas-kit-ph-gallery.js +40 -39
- package/dist/templates/social/saas-kit-ph-thumb.js +40 -39
- package/dist/templates/social/saas-kit-youtube-thumbs.js +40 -39
- package/dist/templates/social/saas-store-b2b-ads.js +41 -40
- package/dist/templates/social/saas-store-caption-set.js +41 -40
- package/dist/templates/social/saas-store-chrome-kit.js +41 -40
- package/dist/templates/social/saas-store-ipad-set.js +41 -40
- package/dist/templates/social/saas-store-panorama.js +42 -41
- package/dist/templates/social/saas-store-play-kit.js +40 -39
- package/dist/templates/social/saas-store-story.js +41 -40
- package/dist/templates/social/singles-day-link-preview.js +42 -41
- package/dist/templates/social/solarpunk-impact-post.js +42 -41
- package/dist/templates/social/solarpunk-link-preview.js +42 -41
- package/dist/templates/social/space-opera-link-preview.js +42 -41
- package/dist/templates/social/space-opera-mission-patch-post.js +42 -41
- package/dist/templates/social/spring-bloom-link-preview.js +42 -41
- package/dist/templates/social/studio-class-timetable.js +40 -39
- package/dist/templates/social/studio-podcast-cover.js +40 -39
- package/dist/templates/social/style-bento-announcement.js +41 -40
- package/dist/templates/social/style-bento-link-preview.js +41 -40
- package/dist/templates/social/style-bento-milestone.js +41 -40
- package/dist/templates/social/style-bento-testimonial.js +42 -41
- package/dist/templates/social/style-brutalist-announcement.js +41 -40
- package/dist/templates/social/style-brutalist-link-preview.js +41 -40
- package/dist/templates/social/style-brutalist-milestone.js +42 -41
- package/dist/templates/social/style-brutalist-testimonial.js +41 -40
- package/dist/templates/social/style-dark-announcement.js +41 -40
- package/dist/templates/social/style-dark-link-preview.js +40 -39
- package/dist/templates/social/style-dark-milestone.js +41 -40
- package/dist/templates/social/style-dark-testimonial.js +42 -41
- package/dist/templates/social/style-data-announcement.js +41 -40
- package/dist/templates/social/style-data-link-preview.js +41 -40
- package/dist/templates/social/style-data-milestone.js +42 -41
- package/dist/templates/social/style-data-testimonial.js +42 -41
- package/dist/templates/social/style-editorial-announcement.js +41 -40
- package/dist/templates/social/style-editorial-link-preview.js +41 -40
- package/dist/templates/social/style-editorial-milestone.js +41 -40
- package/dist/templates/social/style-editorial-testimonial.js +42 -41
- package/dist/templates/social/style-glass-announcement.js +42 -41
- package/dist/templates/social/style-glass-link-preview.js +42 -41
- package/dist/templates/social/style-glass-milestone.js +42 -41
- package/dist/templates/social/style-glass-testimonial.js +43 -42
- package/dist/templates/social/style-gradient-announcement.js +41 -40
- package/dist/templates/social/style-gradient-link-preview.js +41 -40
- package/dist/templates/social/style-gradient-milestone.js +42 -41
- package/dist/templates/social/style-gradient-testimonial.js +42 -41
- package/dist/templates/social/style-maximal-announcement.js +41 -40
- package/dist/templates/social/style-maximal-link-preview.js +41 -40
- package/dist/templates/social/style-maximal-milestone.js +41 -40
- package/dist/templates/social/style-maximal-testimonial.js +42 -41
- package/dist/templates/social/style-pastel-announcement.js +42 -41
- package/dist/templates/social/style-pastel-link-preview.js +42 -41
- package/dist/templates/social/style-pastel-milestone.js +42 -41
- package/dist/templates/social/style-pastel-testimonial.js +43 -42
- package/dist/templates/social/style-sketch-announcement.js +42 -41
- package/dist/templates/social/style-sketch-link-preview.js +41 -40
- package/dist/templates/social/style-sketch-milestone.js +41 -40
- package/dist/templates/social/style-sketch-testimonial.js +42 -41
- package/dist/templates/social/style-swiss-announcement.js +41 -40
- package/dist/templates/social/style-swiss-link-preview.js +41 -40
- package/dist/templates/social/style-swiss-milestone.js +41 -40
- package/dist/templates/social/style-swiss-testimonial.js +42 -41
- package/dist/templates/social/style-terminal-announcement.js +43 -42
- package/dist/templates/social/style-terminal-link-preview.js +43 -42
- package/dist/templates/social/style-terminal-milestone.js +43 -42
- package/dist/templates/social/style-terminal-testimonial.js +44 -43
- package/dist/templates/social/summer-heatwave-link-preview.js +42 -41
- package/dist/templates/social/summer-heatwave-lolly-post.js +42 -41
- package/dist/templates/social/tour-tickets-june-ads.js +40 -39
- package/dist/templates/social/tour-tickets-tide-ads.js +40 -39
- package/dist/templates/social/tour-tickets-wreck-ads.js +40 -39
- package/dist/templates/social/transit-map-link-preview.js +42 -41
- package/dist/templates/social/ukiyo-e-link-preview.js +42 -41
- package/dist/templates/social/ukiyo-e-spike-post.js +42 -41
- package/dist/templates/social/valentines-link-preview.js +42 -41
- package/dist/templates/social/valentines-poem-post.js +42 -41
- package/dist/templates/social/vaporwave-feature-drop.js +41 -40
- package/dist/templates/social/vaporwave-link-preview.js +41 -40
- package/dist/templates/social/winter-cosy-link-preview.js +43 -42
- package/dist/templates/social/winter-holidays-link-preview.js +43 -42
- package/dist/templates/social/winter-holidays-thanks-post.js +43 -42
- package/dist/templates/stings/line-reveal.js +40 -39
- package/dist/templates/stings/sting-blur.js +40 -39
- package/dist/templates/stings/sting-pop.js +40 -39
- package/dist/templates/stings/sting-rise.js +40 -39
- package/dist/templates/stings/sting-shimmer.js +40 -39
- package/dist/templates/stings/word-swap.js +40 -39
- package/dist/templates/text/stat-counter.js +40 -39
- package/dist/templates/text/word-quote.js +40 -39
- package/dist/templates/themes/april-fools-shared.js +27 -26
- package/dist/templates/themes/april-fools.js +47 -46
- package/dist/templates/themes/arcade-shared.js +13 -12
- package/dist/templates/themes/arcade.js +47 -46
- package/dist/templates/themes/art-deco-shared.js +11 -10
- package/dist/templates/themes/art-deco.js +47 -46
- package/dist/templates/themes/autumn-harvest-shared.js +11 -10
- package/dist/templates/themes/autumn-harvest.js +47 -46
- package/dist/templates/themes/back-to-school-shared.js +11 -10
- package/dist/templates/themes/back-to-school.js +47 -46
- package/dist/templates/themes/bauhaus-shared.js +11 -10
- package/dist/templates/themes/bauhaus.js +46 -45
- package/dist/templates/themes/black-friday-coupons-shared.js +11 -10
- package/dist/templates/themes/black-friday-coupons.js +49 -48
- package/dist/templates/themes/black-friday-neon-shared.js +12 -11
- package/dist/templates/themes/black-friday-neon.js +50 -49
- package/dist/templates/themes/black-friday-scratch-shared.js +11 -10
- package/dist/templates/themes/black-friday-scratch.js +48 -47
- package/dist/templates/themes/black-friday-ticker-shared.js +11 -10
- package/dist/templates/themes/black-friday-ticker.js +49 -48
- package/dist/templates/themes/black-friday.js +46 -45
- package/dist/templates/themes/blueprint-shared.js +12 -11
- package/dist/templates/themes/blueprint.js +47 -46
- package/dist/templates/themes/broadsheet.js +47 -46
- package/dist/templates/themes/claymation-shared.js +12 -11
- package/dist/templates/themes/claymation.js +48 -47
- package/dist/templates/themes/comic-book-shared.js +13 -12
- package/dist/templates/themes/comic-book.js +47 -46
- package/dist/templates/themes/cyberpunk-shared.js +13 -12
- package/dist/templates/themes/cyberpunk.js +49 -48
- package/dist/templates/themes/departure-board-shared.js +11 -10
- package/dist/templates/themes/departure-board.js +46 -45
- package/dist/templates/themes/diwali-shared.js +12 -11
- package/dist/templates/themes/diwali.js +48 -47
- package/dist/templates/themes/earth-day-shared.js +12 -11
- package/dist/templates/themes/earth-day.js +48 -47
- package/dist/templates/themes/everyday-shared.js +12 -11
- package/dist/templates/themes/everyday.js +50 -49
- package/dist/templates/themes/festival-presale-electronic-kit.js +45 -44
- package/dist/templates/themes/festival-presale-family-a-shared.js +44 -43
- package/dist/templates/themes/festival-presale-family-a.js +69 -68
- package/dist/templates/themes/festival-presale-family-b-shared.js +44 -43
- package/dist/templates/themes/festival-presale-family-b.js +70 -69
- package/dist/templates/themes/festival-presale-family-kit.js +45 -44
- package/dist/templates/themes/festival-presale-folk-kit.js +45 -44
- package/dist/templates/themes/festival-presale-food-kit.js +45 -44
- package/dist/templates/themes/festival-presale-jazz-kit.js +45 -44
- package/dist/templates/themes/festival-presale-shared.js +18 -17
- package/dist/templates/themes/festival-presale-street-kit.js +46 -45
- package/dist/templates/themes/festival-presale.js +50 -49
- package/dist/templates/themes/gothic.js +46 -45
- package/dist/templates/themes/halloween-shared.js +12 -11
- package/dist/templates/themes/halloween.js +48 -47
- package/dist/templates/themes/holidays.js +63 -62
- package/dist/templates/themes/index.js +469 -442
- package/dist/templates/themes/lunar-new-year-shared.js +12 -11
- package/dist/templates/themes/lunar-new-year.js +48 -47
- package/dist/templates/themes/machined-shared.js +27 -26
- package/dist/templates/themes/machined.js +46 -45
- package/dist/templates/themes/manuscript-shared.js +11 -10
- package/dist/templates/themes/manuscript.js +47 -46
- package/dist/templates/themes/new-year-shared.js +12 -11
- package/dist/templates/themes/new-year.js +48 -47
- package/dist/templates/themes/noir-shared.js +13 -12
- package/dist/templates/themes/noir.js +49 -48
- package/dist/templates/themes/printshop-shared.js +116 -0
- package/dist/templates/themes/printshop.js +110 -1
- package/dist/templates/themes/psychedelic-shared.js +12 -11
- package/dist/templates/themes/psychedelic.js +48 -47
- package/dist/templates/themes/riso-zine-shared.js +13 -12
- package/dist/templates/themes/riso-zine.js +49 -48
- package/dist/templates/themes/singles-day-shared.js +12 -11
- package/dist/templates/themes/singles-day.js +48 -47
- package/dist/templates/themes/solarpunk-shared.js +12 -11
- package/dist/templates/themes/solarpunk.js +48 -47
- package/dist/templates/themes/space-opera-shared.js +12 -11
- package/dist/templates/themes/space-opera.js +48 -47
- package/dist/templates/themes/spring-bloom-shared.js +12 -11
- package/dist/templates/themes/spring-bloom.js +48 -47
- package/dist/templates/themes/studio.js +45 -44
- package/dist/templates/themes/summer-heatwave-shared.js +12 -11
- package/dist/templates/themes/summer-heatwave.js +48 -47
- package/dist/templates/themes/tour-tickets-page-shared.js +17 -16
- package/dist/templates/themes/tour-tickets.js +68 -67
- package/dist/templates/themes/transit-map-shared.js +12 -11
- package/dist/templates/themes/transit-map.js +48 -47
- package/dist/templates/themes/ukiyo-e-shared.js +12 -11
- package/dist/templates/themes/ukiyo-e.js +48 -47
- package/dist/templates/themes/valentines-shared.js +12 -11
- package/dist/templates/themes/valentines.js +48 -47
- package/dist/templates/themes/vaporwave-shared.js +11 -10
- package/dist/templates/themes/vaporwave.js +46 -45
- package/dist/templates/themes/winter-cosy-shared.js +12 -11
- package/dist/templates/themes/winter-cosy.js +49 -48
- package/dist/templates/themes/winter-holidays-shared.js +12 -11
- package/dist/templates/themes/winter-holidays.js +49 -48
- package/dist/templates/video/youtube-chapter.js +40 -39
- package/dist/templates/video/youtube-end-screen.js +40 -39
- package/dist/templates/video/youtube-intro.js +40 -39
- package/dist/templates/video/youtube-subscribe.js +40 -39
- package/dist/templates/web/app-ui.js +27 -26
- package/dist/templates/web/april-fools-landing.js +42 -41
- package/dist/templates/web/arcade-landing.js +43 -42
- package/dist/templates/web/art-deco-landing.js +41 -40
- package/dist/templates/web/autumn-harvest-landing.js +41 -40
- package/dist/templates/web/back-to-school-landing.js +41 -40
- package/dist/templates/web/bauhaus-landing.js +41 -40
- package/dist/templates/web/black-friday-coupons-landing.js +42 -41
- package/dist/templates/web/black-friday-landing.js +40 -39
- package/dist/templates/web/black-friday-neon-landing.js +42 -41
- package/dist/templates/web/black-friday-scratch-landing.js +41 -40
- package/dist/templates/web/black-friday-ticker-landing.js +41 -40
- package/dist/templates/web/blog-post.js +40 -39
- package/dist/templates/web/blueprint-landing.js +42 -41
- package/dist/templates/web/broadsheet-landing.js +40 -39
- package/dist/templates/web/claymation-landing.js +42 -41
- package/dist/templates/web/comic-book-landing.js +43 -42
- package/dist/templates/web/coming-soon-page.js +41 -40
- package/dist/templates/web/coming-soon.js +40 -39
- package/dist/templates/web/contact.js +41 -40
- package/dist/templates/web/cyberpunk-landing.js +43 -42
- package/dist/templates/web/daybreak-app.js +42 -41
- package/dist/templates/web/departure-board-download.js +41 -40
- package/dist/templates/web/diwali-landing.js +42 -41
- package/dist/templates/web/earth-day-landing.js +42 -41
- package/dist/templates/web/everyday-cafe.js +43 -42
- package/dist/templates/web/everyday-hotel.js +43 -42
- package/dist/templates/web/everyday-wedding.js +44 -43
- package/dist/templates/web/festival-presale-electronic.js +43 -42
- package/dist/templates/web/festival-presale-family.js +43 -42
- package/dist/templates/web/festival-presale-folk.js +43 -42
- package/dist/templates/web/festival-presale-food.js +43 -42
- package/dist/templates/web/festival-presale-jazz.js +43 -42
- package/dist/templates/web/festival-presale-street.js +44 -43
- package/dist/templates/web/forms.js +26 -25
- package/dist/templates/web/gothic-landing.js +40 -39
- package/dist/templates/web/halloween-landing.js +42 -41
- package/dist/templates/web/hero-animated.js +40 -39
- package/dist/templates/web/kindling-app.js +42 -41
- package/dist/templates/web/launch-waitlist.js +41 -40
- package/dist/templates/web/lunar-new-year-landing.js +42 -41
- package/dist/templates/web/machined-hero.js +42 -41
- package/dist/templates/web/manuscript-landing.js +41 -40
- package/dist/templates/web/marginalia-app.js +42 -41
- package/dist/templates/web/new-year-landing.js +42 -41
- package/dist/templates/web/noir-landing.js +43 -42
- package/dist/templates/web/page-404.js +40 -39
- package/dist/templates/web/portfolio-architect.js +41 -40
- package/dist/templates/web/portfolio-card-deck.js +41 -40
- package/dist/templates/web/portfolio-case-folio.js +41 -40
- package/dist/templates/web/portfolio-cube-gallery.js +41 -40
- package/dist/templates/web/portfolio-depth-tunnel.js +41 -40
- package/dist/templates/web/portfolio-editorial.js +41 -40
- package/dist/templates/web/portfolio-flip-wall.js +41 -40
- package/dist/templates/web/portfolio-index-list.js +41 -40
- package/dist/templates/web/portfolio-photographer.js +41 -40
- package/dist/templates/web/portfolio-reel-carousel.js +41 -40
- package/dist/templates/web/portfolio-shared.js +26 -25
- package/dist/templates/web/portfolio-sketchbook.js +41 -40
- package/dist/templates/web/portfolio-studio-grid.js +41 -40
- package/dist/templates/web/portfolio.js +40 -39
- package/dist/templates/web/portfolios.js +53 -52
- package/dist/templates/web/potluck-app.js +42 -41
- package/dist/templates/web/pricing-toggle.js +40 -39
- package/dist/templates/web/product-page.js +40 -39
- package/dist/templates/web/psychedelic-landing.js +42 -41
- package/dist/templates/web/riso-zine-landing.js +43 -42
- package/dist/templates/web/rsvp-invite.js +41 -40
- package/dist/templates/web/saas-ai-landing.js +41 -40
- package/dist/templates/web/saas-app-download.js +41 -40
- package/dist/templates/web/saas-case-study.js +41 -40
- package/dist/templates/web/saas-changelog.js +41 -40
- package/dist/templates/web/saas-comparison.js +41 -40
- package/dist/templates/web/saas-data-landing.js +41 -40
- package/dist/templates/web/saas-dev-landing.js +41 -40
- package/dist/templates/web/saas-indie-landing.js +41 -40
- package/dist/templates/web/saas-integrations.js +41 -40
- package/dist/templates/web/saas-security.js +41 -40
- package/dist/templates/web/saas-signup.js +41 -40
- package/dist/templates/web/saas-waitlist.js +41 -40
- package/dist/templates/web/saffron-app.js +42 -41
- package/dist/templates/web/shop-bloom.js +43 -42
- package/dist/templates/web/shop-circuit.js +43 -42
- package/dist/templates/web/shop-fieldwork.js +43 -42
- package/dist/templates/web/shop-greenhouse.js +43 -42
- package/dist/templates/web/shop-kiln.js +43 -42
- package/dist/templates/web/shop-marginalia.js +43 -42
- package/dist/templates/web/shop-ode.js +43 -42
- package/dist/templates/web/shop-shared.js +28 -27
- package/dist/templates/web/shop-static.js +43 -42
- package/dist/templates/web/shop-summit.js +43 -42
- package/dist/templates/web/shops.js +52 -51
- package/dist/templates/web/singles-day-landing.js +42 -41
- package/dist/templates/web/solarpunk-landing.js +42 -41
- package/dist/templates/web/space-opera-landing.js +42 -41
- package/dist/templates/web/spring-bloom-landing.js +42 -41
- package/dist/templates/web/studio-careers.js +40 -39
- package/dist/templates/web/style-bento-landing.js +43 -42
- package/dist/templates/web/style-bento-pricing.js +42 -41
- package/dist/templates/web/style-brutalist-landing.js +42 -41
- package/dist/templates/web/style-brutalist-pricing.js +42 -41
- package/dist/templates/web/style-dark-landing.js +43 -42
- package/dist/templates/web/style-dark-pricing.js +42 -41
- package/dist/templates/web/style-data-landing.js +44 -43
- package/dist/templates/web/style-data-pricing.js +42 -41
- package/dist/templates/web/style-editorial-landing.js +42 -41
- package/dist/templates/web/style-editorial-pricing.js +43 -42
- package/dist/templates/web/style-glass-landing.js +44 -43
- package/dist/templates/web/style-glass-pricing.js +43 -42
- package/dist/templates/web/style-gradient-landing.js +44 -43
- package/dist/templates/web/style-gradient-pricing.js +42 -41
- package/dist/templates/web/style-maximal-landing.js +43 -42
- package/dist/templates/web/style-maximal-pricing.js +42 -41
- package/dist/templates/web/style-pastel-landing.js +44 -43
- package/dist/templates/web/style-pastel-pricing.js +43 -42
- package/dist/templates/web/style-sketch-landing.js +44 -43
- package/dist/templates/web/style-sketch-pricing.js +42 -41
- package/dist/templates/web/style-swiss-landing.js +44 -43
- package/dist/templates/web/style-swiss-pricing.js +42 -41
- package/dist/templates/web/style-terminal-landing.js +45 -44
- package/dist/templates/web/style-terminal-pricing.js +44 -43
- package/dist/templates/web/summer-heatwave-landing.js +42 -41
- package/dist/templates/web/tempo-app.js +42 -41
- package/dist/templates/web/tour-tickets-june-landing.js +42 -41
- package/dist/templates/web/tour-tickets-tide-landing.js +42 -41
- package/dist/templates/web/tour-tickets-wreck-landing.js +42 -41
- package/dist/templates/web/transit-map-landing.js +42 -41
- package/dist/templates/web/ukiyo-e-landing.js +42 -41
- package/dist/templates/web/valentines-landing.js +42 -41
- package/dist/templates/web/vaporwave-landing.js +41 -40
- package/dist/templates/web/wayfarer-app.js +42 -41
- package/dist/templates/web/winter-cosy-landing.js +43 -42
- package/dist/templates/web/winter-holidays-landing.js +43 -42
- package/package.json +1 -1
- package/src/templates/print/printshop-booklet-open-day.ts +170 -0
- package/src/templates/print/printshop-brochure-community.ts +152 -0
- package/src/templates/print/printshop-brochure-dental.ts +157 -0
- package/src/templates/print/printshop-brochure-gym.ts +134 -0
- package/src/templates/print/printshop-brochure-landscaping.ts +143 -0
- package/src/templates/print/printshop-brochure-travel.ts +150 -0
- package/src/templates/print/printshop-card-architect.ts +91 -0
- package/src/templates/print/printshop-card-barber.ts +76 -0
- package/src/templates/print/printshop-card-cafe.ts +81 -0
- package/src/templates/print/printshop-card-developer.ts +78 -0
- package/src/templates/print/printshop-card-florist.ts +95 -0
- package/src/templates/print/printshop-card-lawyer.ts +68 -0
- package/src/templates/print/printshop-card-photographer.ts +66 -0
- package/src/templates/print/printshop-card-plumber.ts +85 -0
- package/src/templates/print/printshop-card-realtor.ts +78 -0
- package/src/templates/print/printshop-card-yoga.ts +72 -0
- package/src/templates/print/printshop-flyer-charity-run.ts +81 -0
- package/src/templates/print/printshop-flyer-farmers-market.ts +81 -0
- package/src/templates/print/printshop-flyer-garage-sale.ts +75 -0
- package/src/templates/print/printshop-flyer-grand-opening.ts +73 -0
- package/src/templates/print/printshop-flyer-lost-pet.ts +92 -0
- package/src/templates/print/printshop-flyer-tutoring.ts +89 -0
- package/src/templates/print/printshop-flyer-yard-work.ts +66 -0
- package/src/templates/print/printshop-poster-live-music.ts +85 -0
- package/src/templates/themes/printshop-shared.ts +289 -0
- package/src/templates/themes/printshop.ts +29 -1
- package/types/lib/extensions/qr/encoder.d.ts +22 -0
- package/types/lib/units/units.d.ts +23 -0
- package/types/templates/src/print/printshop-booklet-open-day.d.ts +2 -0
- package/types/templates/src/print/printshop-brochure-community.d.ts +2 -0
- package/types/templates/src/print/printshop-brochure-dental.d.ts +2 -0
- package/types/templates/src/print/printshop-brochure-gym.d.ts +2 -0
- package/types/templates/src/print/printshop-brochure-landscaping.d.ts +2 -0
- package/types/templates/src/print/printshop-brochure-travel.d.ts +2 -0
- package/types/templates/src/print/printshop-card-architect.d.ts +2 -0
- package/types/templates/src/print/printshop-card-barber.d.ts +2 -0
- package/types/templates/src/print/printshop-card-cafe.d.ts +2 -0
- package/types/templates/src/print/printshop-card-developer.d.ts +2 -0
- package/types/templates/src/print/printshop-card-florist.d.ts +2 -0
- package/types/templates/src/print/printshop-card-lawyer.d.ts +2 -0
- package/types/templates/src/print/printshop-card-photographer.d.ts +2 -0
- package/types/templates/src/print/printshop-card-plumber.d.ts +2 -0
- package/types/templates/src/print/printshop-card-realtor.d.ts +2 -0
- package/types/templates/src/print/printshop-card-yoga.d.ts +2 -0
- package/types/templates/src/print/printshop-flyer-charity-run.d.ts +2 -0
- package/types/templates/src/print/printshop-flyer-farmers-market.d.ts +2 -0
- package/types/templates/src/print/printshop-flyer-garage-sale.d.ts +2 -0
- package/types/templates/src/print/printshop-flyer-grand-opening.d.ts +2 -0
- package/types/templates/src/print/printshop-flyer-lost-pet.d.ts +2 -0
- package/types/templates/src/print/printshop-flyer-tutoring.d.ts +2 -0
- package/types/templates/src/print/printshop-flyer-yard-work.d.ts +2 -0
- package/types/templates/src/print/printshop-poster-live-music.d.ts +2 -0
- package/types/templates/src/themes/printshop-shared.d.ts +145 -0
- package/dist/chunks/agent-WHQ76GA2.js +0 -44
- package/dist/chunks/api-ZYWHZ57F.js +0 -29
- package/dist/chunks/apply-ET5FQFYT.js +0 -45
- package/dist/chunks/audio-decode-HUXWSV6E.js +0 -54
- package/dist/chunks/audio-import-RWXNZWGM.js +0 -126
- package/dist/chunks/audio-plan-UJGK3FTZ.js +0 -46
- package/dist/chunks/board-export-HVQGTKT3.js +0 -179
- package/dist/chunks/browser-534BCJIZ.js +0 -178
- package/dist/chunks/build-66H4M2N2.js +0 -54
- package/dist/chunks/builtin-CKR7EPWW.js +0 -113
- package/dist/chunks/check-STS3FPOI.js +0 -55
- package/dist/chunks/check-template-D6CJZPKH.js +0 -2271
- package/dist/chunks/chunk-23QLVI6N.js +0 -468
- package/dist/chunks/chunk-25OXSSV6.js +0 -182
- package/dist/chunks/chunk-26EMRZID.js +0 -84
- package/dist/chunks/chunk-27XAXJH5.js +0 -282
- package/dist/chunks/chunk-2AOG3QJA.js +0 -139
- package/dist/chunks/chunk-2BT2BDO5.js +0 -249
- package/dist/chunks/chunk-2FATHT2M.js +0 -172
- package/dist/chunks/chunk-2FP4HOKP.js +0 -10425
- package/dist/chunks/chunk-2H5U5KEE.js +0 -33
- package/dist/chunks/chunk-2JNZDSEL.js +0 -361
- package/dist/chunks/chunk-2KS3HQ6F.js +0 -304
- package/dist/chunks/chunk-2MMUSDPX.js +0 -50
- package/dist/chunks/chunk-2NC7ZTTZ.js +0 -135
- package/dist/chunks/chunk-2NW4DD6B.js +0 -293
- package/dist/chunks/chunk-2OPTKVTV.js +0 -315
- package/dist/chunks/chunk-2OTT3QQU.js +0 -624
- package/dist/chunks/chunk-2PDJJZIB.js +0 -41
- package/dist/chunks/chunk-2PLGARF4.js +0 -10182
- package/dist/chunks/chunk-2T5ZDYQ6.js +0 -342
- package/dist/chunks/chunk-2TMUU6HA.js +0 -172
- package/dist/chunks/chunk-2VHJKSPV.js +0 -358
- package/dist/chunks/chunk-2WU6JQAQ.js +0 -689
- package/dist/chunks/chunk-2YMF7EDZ.js +0 -304
- package/dist/chunks/chunk-2ZLLRLJO.js +0 -33
- package/dist/chunks/chunk-33BWMLIO.js +0 -366
- package/dist/chunks/chunk-34FGDB2O.js +0 -39
- package/dist/chunks/chunk-34XIUNLO.js +0 -153
- package/dist/chunks/chunk-35GLQVL4.js +0 -125
- package/dist/chunks/chunk-37HV26NG.js +0 -263
- package/dist/chunks/chunk-37NWFJGS.js +0 -176
- package/dist/chunks/chunk-3AKUN6U5.js +0 -84
- package/dist/chunks/chunk-3ANAQ4PN.js +0 -221
- package/dist/chunks/chunk-3BEXW5D3.js +0 -327
- package/dist/chunks/chunk-3DIQKPE4.js +0 -120
- package/dist/chunks/chunk-3FGJJQWX.js +0 -197
- package/dist/chunks/chunk-3GLMBR3G.js +0 -54
- package/dist/chunks/chunk-3H73T3ZV.js +0 -138
- package/dist/chunks/chunk-3KBEU5EY.js +0 -105
- package/dist/chunks/chunk-3KMIZI2Z.js +0 -123
- package/dist/chunks/chunk-3LN3ZIT5.js +0 -23
- package/dist/chunks/chunk-3M3BD7NP.js +0 -82
- package/dist/chunks/chunk-3SF333DQ.js +0 -59
- package/dist/chunks/chunk-3UN7YPXG.js +0 -97
- package/dist/chunks/chunk-3W2XXKDI.js +0 -95
- package/dist/chunks/chunk-3W42OET7.js +0 -37
- package/dist/chunks/chunk-42KAI6KA.js +0 -141
- package/dist/chunks/chunk-42X4TCTL.js +0 -340
- package/dist/chunks/chunk-43X3EJLW.js +0 -173
- package/dist/chunks/chunk-444FFYMH.js +0 -157
- package/dist/chunks/chunk-44FJYAY6.js +0 -153
- package/dist/chunks/chunk-4553CWMU.js +0 -177
- package/dist/chunks/chunk-4A5D7VND.js +0 -23
- package/dist/chunks/chunk-4AWBRTLS.js +0 -224
- package/dist/chunks/chunk-4CB6I63T.js +0 -436
- package/dist/chunks/chunk-4CBR4LNQ.js +0 -77
- package/dist/chunks/chunk-4IJV2JVR.js +0 -209
- package/dist/chunks/chunk-4IOALJXD.js +0 -250
- package/dist/chunks/chunk-4KIBRHBF.js +0 -33
- package/dist/chunks/chunk-4M5E7DIN.js +0 -101
- package/dist/chunks/chunk-4MUCVABL.js +0 -11047
- package/dist/chunks/chunk-4MXYEHF4.js +0 -168
- package/dist/chunks/chunk-4QY2QDYE.js +0 -287
- package/dist/chunks/chunk-4R3IQL5R.js +0 -218
- package/dist/chunks/chunk-4T4PYQ7F.js +0 -150
- package/dist/chunks/chunk-4WFUQIHQ.js +0 -97
- package/dist/chunks/chunk-4YLBUAHS.js +0 -78
- package/dist/chunks/chunk-522PGIDU.js +0 -98
- package/dist/chunks/chunk-523SCRDO.js +0 -197
- package/dist/chunks/chunk-55D3ZWGU.js +0 -210
- package/dist/chunks/chunk-55DEZAA7.js +0 -60
- package/dist/chunks/chunk-57DEJEWB.js +0 -84
- package/dist/chunks/chunk-57UHZNAX.js +0 -41
- package/dist/chunks/chunk-5A5DZTDI.js +0 -120
- package/dist/chunks/chunk-5DXO47S6.js +0 -255
- package/dist/chunks/chunk-5F3XJMF5.js +0 -175
- package/dist/chunks/chunk-5H4IQVHM.js +0 -151
- package/dist/chunks/chunk-5HSQYTGD.js +0 -167
- package/dist/chunks/chunk-5I3WYJ4A.js +0 -258
- package/dist/chunks/chunk-5IVURNAB.js +0 -160
- package/dist/chunks/chunk-5JUXDW3M.js +0 -23
- package/dist/chunks/chunk-5K4SCQIZ.js +0 -544
- package/dist/chunks/chunk-5L5Y6UFF.js +0 -210
- package/dist/chunks/chunk-5MBBIE3K.js +0 -217
- package/dist/chunks/chunk-5N2ZWKIC.js +0 -83
- package/dist/chunks/chunk-5NFNCGKW.js +0 -45
- package/dist/chunks/chunk-5NIK3BGQ.js +0 -124
- package/dist/chunks/chunk-5NPZMARV.js +0 -182
- package/dist/chunks/chunk-5RBFX2VW.js +0 -118
- package/dist/chunks/chunk-5RBWERLP.js +0 -170
- package/dist/chunks/chunk-5WOXBPD6.js +0 -55
- package/dist/chunks/chunk-5Z4QQVV2.js +0 -98
- package/dist/chunks/chunk-5ZDR3OY2.js +0 -106
- package/dist/chunks/chunk-62E4VSVQ.js +0 -177
- package/dist/chunks/chunk-65LTIYZ3.js +0 -23
- package/dist/chunks/chunk-66JE536K.js +0 -75
- package/dist/chunks/chunk-67AKXLTZ.js +0 -76
- package/dist/chunks/chunk-67K7G3CO.js +0 -305
- package/dist/chunks/chunk-67PV6XFS.js +0 -97
- package/dist/chunks/chunk-6CO6TKUK.js +0 -154
- package/dist/chunks/chunk-6D4WELK2.js +0 -385
- package/dist/chunks/chunk-6EL7PK63.js +0 -43
- package/dist/chunks/chunk-6GUZDQ42.js +0 -358
- package/dist/chunks/chunk-6II5Y5GO.js +0 -101
- package/dist/chunks/chunk-6IU62A5V.js +0 -106
- package/dist/chunks/chunk-6J4NJ3RD.js +0 -160
- package/dist/chunks/chunk-6LHRUVLH.js +0 -102
- package/dist/chunks/chunk-6MHD4VOF.js +0 -41
- package/dist/chunks/chunk-6ODAVRQE.js +0 -333
- package/dist/chunks/chunk-6OK2IWLO.js +0 -122
- package/dist/chunks/chunk-6QRV76NS.js +0 -514
- package/dist/chunks/chunk-6UD6V5RX.js +0 -202
- package/dist/chunks/chunk-6UY4KXX7.js +0 -336
- package/dist/chunks/chunk-6VEUV7CE.js +0 -226
- package/dist/chunks/chunk-6WJMEADE.js +0 -79
- package/dist/chunks/chunk-6YVJI7YP.js +0 -163
- package/dist/chunks/chunk-6ZRZZFFJ.js +0 -78
- package/dist/chunks/chunk-6ZSI57NT.js +0 -887
- package/dist/chunks/chunk-73Z2HZWA.js +0 -231
- package/dist/chunks/chunk-76DATBW6.js +0 -53
- package/dist/chunks/chunk-7AXMVF3J.js +0 -65
- package/dist/chunks/chunk-7B32CLHD.js +0 -265
- package/dist/chunks/chunk-7BTYSQVR.js +0 -173
- package/dist/chunks/chunk-7ECTB64K.js +0 -133
- package/dist/chunks/chunk-7GPHTP2K.js +0 -190
- package/dist/chunks/chunk-7INBGC42.js +0 -201
- package/dist/chunks/chunk-7JKBP3VM.js +0 -176
- package/dist/chunks/chunk-7JKEW3FU.js +0 -191
- package/dist/chunks/chunk-7KFKBX3N.js +0 -115
- package/dist/chunks/chunk-7KHA462B.js +0 -30
- package/dist/chunks/chunk-7KPDTTHU.js +0 -134
- package/dist/chunks/chunk-7LQ2I47G.js +0 -1393
- package/dist/chunks/chunk-7MJBK45T.js +0 -151
- package/dist/chunks/chunk-7MO42PGF.js +0 -105
- package/dist/chunks/chunk-7NG3BYSL.js +0 -957
- package/dist/chunks/chunk-7OMAUXKY.js +0 -172
- package/dist/chunks/chunk-7OZSDS2C.js +0 -101
- package/dist/chunks/chunk-7RCWGOCB.js +0 -242
- package/dist/chunks/chunk-7RF3V36M.js +0 -157
- package/dist/chunks/chunk-7RFQOH7P.js +0 -156
- package/dist/chunks/chunk-7RYUS5A5.js +0 -94
- package/dist/chunks/chunk-7TX2LTGT.js +0 -368
- package/dist/chunks/chunk-7U34Q6IW.js +0 -415
- package/dist/chunks/chunk-7UES5NYJ.js +0 -122
- package/dist/chunks/chunk-7VGXK2H6.js +0 -44
- package/dist/chunks/chunk-7XTNBH3P.js +0 -200
- package/dist/chunks/chunk-7XUO3NWS.js +0 -140
- package/dist/chunks/chunk-7XYMOV4V.js +0 -199
- package/dist/chunks/chunk-7YH6FPPU.js +0 -137
- package/dist/chunks/chunk-7ZSMQUEC.js +0 -276
- package/dist/chunks/chunk-A47CAVBP.js +0 -284
- package/dist/chunks/chunk-A57F757F.js +0 -102
- package/dist/chunks/chunk-A5PTS7KS.js +0 -84
- package/dist/chunks/chunk-A6BLJ3SF.js +0 -141
- package/dist/chunks/chunk-A6KIRUL5.js +0 -133
- package/dist/chunks/chunk-ACAMS6JJ.js +0 -50
- package/dist/chunks/chunk-ACQIQTNT.js +0 -146
- package/dist/chunks/chunk-AD6BJ76E.js +0 -79
- package/dist/chunks/chunk-AFZBMDWH.js +0 -45
- package/dist/chunks/chunk-AGETP7RA.js +0 -127
- package/dist/chunks/chunk-AHAWGFIK.js +0 -93
- package/dist/chunks/chunk-AHQCNEFP.js +0 -103
- package/dist/chunks/chunk-AIBWURIZ.js +0 -46
- package/dist/chunks/chunk-ALLLR7QA.js +0 -45
- package/dist/chunks/chunk-AN6M6BUL.js +0 -266
- package/dist/chunks/chunk-ANXU5UI7.js +0 -157
- package/dist/chunks/chunk-AOWWHODN.js +0 -238
- package/dist/chunks/chunk-AP72CZNM.js +0 -101
- package/dist/chunks/chunk-APY4HFW2.js +0 -192
- package/dist/chunks/chunk-ARFNMVWS.js +0 -97
- package/dist/chunks/chunk-ATFT4EC5.js +0 -135
- package/dist/chunks/chunk-ATWSHBSY.js +0 -464
- package/dist/chunks/chunk-AUFTMGC2.js +0 -104
- package/dist/chunks/chunk-AUL25LUQ.js +0 -106
- package/dist/chunks/chunk-AVOFHOYA.js +0 -187
- package/dist/chunks/chunk-AYIVMY5H.js +0 -299
- package/dist/chunks/chunk-AYQLPM4X.js +0 -142
- package/dist/chunks/chunk-AYYLMDOM.js +0 -192
- package/dist/chunks/chunk-AZOAKAJ6.js +0 -93
- package/dist/chunks/chunk-B25VXPQD.js +0 -95
- package/dist/chunks/chunk-B3MNQ4IT.js +0 -85
- package/dist/chunks/chunk-B55QPIJB.js +0 -191
- package/dist/chunks/chunk-B6FETJJI.js +0 -196
- package/dist/chunks/chunk-B6OBHTW7.js +0 -39
- package/dist/chunks/chunk-BAK4RKGW.js +0 -23
- package/dist/chunks/chunk-BBGWHXS2.js +0 -66
- package/dist/chunks/chunk-BDUWGH7O.js +0 -98
- package/dist/chunks/chunk-BE7VW2CC.js +0 -182
- package/dist/chunks/chunk-BFA4EFSN.js +0 -113
- package/dist/chunks/chunk-BFUMDBCI.js +0 -55
- package/dist/chunks/chunk-BGG3FLB4.js +0 -1132
- package/dist/chunks/chunk-BGTBM24T.js +0 -45
- package/dist/chunks/chunk-BJHZBFXA.js +0 -122
- package/dist/chunks/chunk-BKMWOXUU.js +0 -232
- package/dist/chunks/chunk-BL4RSQT6.js +0 -362
- package/dist/chunks/chunk-BM75UYYD.js +0 -1417
- package/dist/chunks/chunk-BOEQSRMF.js +0 -198
- package/dist/chunks/chunk-BORK64JO.js +0 -89
- package/dist/chunks/chunk-BPMNP5QY.js +0 -158
- package/dist/chunks/chunk-BQ5BOFP7.js +0 -164
- package/dist/chunks/chunk-BQI7QBSW.js +0 -33
- package/dist/chunks/chunk-BQYWEUSP.js +0 -102
- package/dist/chunks/chunk-BROGBEC3.js +0 -213
- package/dist/chunks/chunk-BSUY6UN4.js +0 -36
- package/dist/chunks/chunk-BSZKM4O2.js +0 -143
- package/dist/chunks/chunk-BTUCU5WK.js +0 -257
- package/dist/chunks/chunk-BTUNDBNF.js +0 -331
- package/dist/chunks/chunk-BUYWTVFD.js +0 -202
- package/dist/chunks/chunk-BV6AD3ON.js +0 -111
- package/dist/chunks/chunk-BVHWZXU6.js +0 -165
- package/dist/chunks/chunk-BW436IBB.js +0 -278
- package/dist/chunks/chunk-BWCTBX66.js +0 -36
- package/dist/chunks/chunk-BX22ZDJI.js +0 -149
- package/dist/chunks/chunk-BXK4ZLTK.js +0 -112
- package/dist/chunks/chunk-BYFMOWUN.js +0 -136
- package/dist/chunks/chunk-C25GIYR7.js +0 -214
- package/dist/chunks/chunk-C2GUOURQ.js +0 -116
- package/dist/chunks/chunk-C2VS3GO2.js +0 -70
- package/dist/chunks/chunk-C4AGJOVY.js +0 -76
- package/dist/chunks/chunk-C4GZUPP6.js +0 -462
- package/dist/chunks/chunk-C5WBGRQ4.js +0 -45
- package/dist/chunks/chunk-CD2KARZQ.js +0 -103
- package/dist/chunks/chunk-CEASY4HZ.js +0 -84
- package/dist/chunks/chunk-CEM3RQRA.js +0 -194
- package/dist/chunks/chunk-CFTHGAE7.js +0 -171
- package/dist/chunks/chunk-CGGPGDMW.js +0 -219
- package/dist/chunks/chunk-CGOCMPN2.js +0 -181
- package/dist/chunks/chunk-CHMVWKSN.js +0 -149
- package/dist/chunks/chunk-CHQCKK4H.js +0 -131
- package/dist/chunks/chunk-CICPMTJA.js +0 -97
- package/dist/chunks/chunk-CJF4SUIM.js +0 -90
- package/dist/chunks/chunk-CLBT7FXS.js +0 -166
- package/dist/chunks/chunk-COT7ADJM.js +0 -157
- package/dist/chunks/chunk-CR22GUVD.js +0 -106
- package/dist/chunks/chunk-CSVLUS7L.js +0 -196
- package/dist/chunks/chunk-CVDUPFS7.js +0 -145
- package/dist/chunks/chunk-CZNPUJ4Y.js +0 -251
- package/dist/chunks/chunk-D2GOQC3Y.js +0 -503
- package/dist/chunks/chunk-D3UF6F3C.js +0 -278
- package/dist/chunks/chunk-D3Z5EMLT.js +0 -77
- package/dist/chunks/chunk-D63BASZX.js +0 -135
- package/dist/chunks/chunk-D655SPLZ.js +0 -156
- package/dist/chunks/chunk-D6QCCHJU.js +0 -194
- package/dist/chunks/chunk-D7LV62QH.js +0 -177
- package/dist/chunks/chunk-D7QZMZZW.js +0 -262
- package/dist/chunks/chunk-DAGRKPQC.js +0 -104
- package/dist/chunks/chunk-DCRESUNT.js +0 -33
- package/dist/chunks/chunk-DG35OVDY.js +0 -121
- package/dist/chunks/chunk-DGVUABHJ.js +0 -145
- package/dist/chunks/chunk-DJ6V3YII.js +0 -305
- package/dist/chunks/chunk-DK6MQYT3.js +0 -90
- package/dist/chunks/chunk-DLAUIVKB.js +0 -574
- package/dist/chunks/chunk-DNPQAM7Z.js +0 -119
- package/dist/chunks/chunk-DPCDAR5C.js +0 -23
- package/dist/chunks/chunk-DPN76LYJ.js +0 -81
- package/dist/chunks/chunk-DQGDNONK.js +0 -178
- package/dist/chunks/chunk-DS5AWKBO.js +0 -27
- package/dist/chunks/chunk-DSZVEAXN.js +0 -90
- package/dist/chunks/chunk-DVCPVDK3.js +0 -87
- package/dist/chunks/chunk-DYVKKBVB.js +0 -144
- package/dist/chunks/chunk-E4GSEHQE.js +0 -188
- package/dist/chunks/chunk-E4JKR44C.js +0 -777
- package/dist/chunks/chunk-E4TT5GB5.js +0 -231
- package/dist/chunks/chunk-E54I2MKC.js +0 -170
- package/dist/chunks/chunk-E6HM7QFJ.js +0 -105
- package/dist/chunks/chunk-E72L5ZFA.js +0 -117
- package/dist/chunks/chunk-EAKVGU5Q.js +0 -100
- package/dist/chunks/chunk-EGE5P5DH.js +0 -93
- package/dist/chunks/chunk-EHE7LGYR.js +0 -62
- package/dist/chunks/chunk-EHEZ7I43.js +0 -90
- package/dist/chunks/chunk-EID6KTBD.js +0 -45
- package/dist/chunks/chunk-EIRH7MRQ.js +0 -346
- package/dist/chunks/chunk-EIUEB4KH.js +0 -23
- package/dist/chunks/chunk-ELFNBWSX.js +0 -186
- package/dist/chunks/chunk-ELHHMRTT.js +0 -42
- package/dist/chunks/chunk-ELXFNMXR.js +0 -23
- package/dist/chunks/chunk-EOEVCQSB.js +0 -1136
- package/dist/chunks/chunk-ESRJBXFP.js +0 -120
- package/dist/chunks/chunk-EVDH4DMC.js +0 -178
- package/dist/chunks/chunk-EVZO5NYU.js +0 -53
- package/dist/chunks/chunk-EXZQAJOW.js +0 -478
- package/dist/chunks/chunk-EYAHH6QG.js +0 -179
- package/dist/chunks/chunk-EZA4CAAQ.js +0 -378
- package/dist/chunks/chunk-F3NSIJFU.js +0 -93
- package/dist/chunks/chunk-F4W53JH7.js +0 -224
- package/dist/chunks/chunk-F4XUX3MS.js +0 -248
- package/dist/chunks/chunk-F55A5SHM.js +0 -317
- package/dist/chunks/chunk-F5RNPJLA.js +0 -92
- package/dist/chunks/chunk-F67ZOS5R.js +0 -335
- package/dist/chunks/chunk-FAWWAMXK.js +0 -331
- package/dist/chunks/chunk-FCGLOJPS.js +0 -163
- package/dist/chunks/chunk-FE5DTZ6M.js +0 -100
- package/dist/chunks/chunk-FEOWBE6S.js +0 -78
- package/dist/chunks/chunk-FEWW43GH.js +0 -175
- package/dist/chunks/chunk-FFDX6HWT.js +0 -114
- package/dist/chunks/chunk-FGOAYTFK.js +0 -33
- package/dist/chunks/chunk-FGX6GA7J.js +0 -320
- package/dist/chunks/chunk-FIITJQGO.js +0 -651
- package/dist/chunks/chunk-FJ6F5ZUF.js +0 -161
- package/dist/chunks/chunk-FLXRZXT5.js +0 -56
- package/dist/chunks/chunk-FNNWBBZD.js +0 -225
- package/dist/chunks/chunk-FO3TE3FI.js +0 -75
- package/dist/chunks/chunk-FOZA6WL5.js +0 -201
- package/dist/chunks/chunk-FQ4MQCY4.js +0 -342
- package/dist/chunks/chunk-FQ7KVLIF.js +0 -106
- package/dist/chunks/chunk-FQEHKLB4.js +0 -81
- package/dist/chunks/chunk-FQF5LJJZ.js +0 -195
- package/dist/chunks/chunk-FRC6W4J7.js +0 -102
- package/dist/chunks/chunk-FSALE4HC.js +0 -290
- package/dist/chunks/chunk-FT7BZAGU.js +0 -121
- package/dist/chunks/chunk-FTYSJVU4.js +0 -195
- package/dist/chunks/chunk-FYMJ3WN5.js +0 -155
- package/dist/chunks/chunk-FZUISQJV.js +0 -42
- package/dist/chunks/chunk-G3CBXDIT.js +0 -261
- package/dist/chunks/chunk-G3VSYXON.js +0 -484
- package/dist/chunks/chunk-G4LVKVTY.js +0 -117
- package/dist/chunks/chunk-G6CCWJF2.js +0 -23
- package/dist/chunks/chunk-G72OSJJR.js +0 -728
- package/dist/chunks/chunk-GACPMZBJ.js +0 -89
- package/dist/chunks/chunk-GCIMDU7R.js +0 -251
- package/dist/chunks/chunk-GCK4HO2K.js +0 -250
- package/dist/chunks/chunk-GCL65I22.js +0 -116
- package/dist/chunks/chunk-GCPZGQHW.js +0 -274
- package/dist/chunks/chunk-GDY3IYLD.js +0 -100
- package/dist/chunks/chunk-GFYS352X.js +0 -152
- package/dist/chunks/chunk-GH6JQF2K.js +0 -55
- package/dist/chunks/chunk-GHW6ACOW.js +0 -123
- package/dist/chunks/chunk-GII477RX.js +0 -23
- package/dist/chunks/chunk-GIUQ7LNF.js +0 -317
- package/dist/chunks/chunk-GJDCQOCE.js +0 -194
- package/dist/chunks/chunk-GJQZHRKC.js +0 -130
- package/dist/chunks/chunk-GK6W22BR.js +0 -139
- package/dist/chunks/chunk-GLBUUQTI.js +0 -99
- package/dist/chunks/chunk-GLTMEF4J.js +0 -135
- package/dist/chunks/chunk-GMB4WYVK.js +0 -134
- package/dist/chunks/chunk-GO25BIXT.js +0 -96
- package/dist/chunks/chunk-GOQTXQPV.js +0 -115
- package/dist/chunks/chunk-GPGJZVX3.js +0 -229
- package/dist/chunks/chunk-GQRBNG25.js +0 -166
- package/dist/chunks/chunk-GS5VTV2J.js +0 -139
- package/dist/chunks/chunk-GSO5N4SC.js +0 -133
- package/dist/chunks/chunk-GSSOAWUS.js +0 -128
- package/dist/chunks/chunk-GTK4DJXL.js +0 -567
- package/dist/chunks/chunk-GTLOJLPJ.js +0 -75
- package/dist/chunks/chunk-GUFGCBO2.js +0 -262
- package/dist/chunks/chunk-GUGAIXIT.js +0 -94
- package/dist/chunks/chunk-GUYGR6AW.js +0 -30
- package/dist/chunks/chunk-GWW2F7JG.js +0 -45
- package/dist/chunks/chunk-GYEO7CH3.js +0 -147
- package/dist/chunks/chunk-H26YKUAM.js +0 -366
- package/dist/chunks/chunk-H3BA2IIK.js +0 -128
- package/dist/chunks/chunk-H3NVZXJ5.js +0 -206
- package/dist/chunks/chunk-H464VL4G.js +0 -172
- package/dist/chunks/chunk-H55PKY2O.js +0 -220
- package/dist/chunks/chunk-H6EKEJV4.js +0 -70
- package/dist/chunks/chunk-H7OTSXZU.js +0 -94
- package/dist/chunks/chunk-HAI3SIXP.js +0 -81
- package/dist/chunks/chunk-HE5SGYHM.js +0 -84
- package/dist/chunks/chunk-HFNN7FMJ.js +0 -262
- package/dist/chunks/chunk-HGDHCHSO.js +0 -77
- package/dist/chunks/chunk-HGY3OVZK.js +0 -30
- package/dist/chunks/chunk-HHHJXBS5.js +0 -336
- package/dist/chunks/chunk-HIJLL5ZI.js +0 -118
- package/dist/chunks/chunk-HKTX73MR.js +0 -87
- package/dist/chunks/chunk-HN26SJED.js +0 -23
- package/dist/chunks/chunk-HNOSQ4DO.js +0 -361
- package/dist/chunks/chunk-HOU7XYB4.js +0 -217
- package/dist/chunks/chunk-HPUM2V3I.js +0 -82
- package/dist/chunks/chunk-HRDPBECW.js +0 -246
- package/dist/chunks/chunk-HRGWKORO.js +0 -345
- package/dist/chunks/chunk-HSQDMB2K.js +0 -124
- package/dist/chunks/chunk-HT6DOQUA.js +0 -47
- package/dist/chunks/chunk-HV5QAUCE.js +0 -151
- package/dist/chunks/chunk-HVEQSYOW.js +0 -1677
- package/dist/chunks/chunk-HWGQHJTZ.js +0 -197
- package/dist/chunks/chunk-HXVVWSU2.js +0 -106
- package/dist/chunks/chunk-HYXLDVOY.js +0 -141
- package/dist/chunks/chunk-I3EY73ZN.js +0 -162
- package/dist/chunks/chunk-I3NUEMNB.js +0 -179
- package/dist/chunks/chunk-I3RHYUXV.js +0 -23
- package/dist/chunks/chunk-I5HPPSPX.js +0 -351
- package/dist/chunks/chunk-I6MWTCQP.js +0 -33
- package/dist/chunks/chunk-IAK65YP6.js +0 -96
- package/dist/chunks/chunk-IAWRMWW4.js +0 -150
- package/dist/chunks/chunk-IBRFWNMV.js +0 -181
- package/dist/chunks/chunk-IC6XRKJG.js +0 -90
- package/dist/chunks/chunk-IDV57IK7.js +0 -136
- package/dist/chunks/chunk-IEHXEBWB.js +0 -108
- package/dist/chunks/chunk-IF3SOZME.js +0 -45
- package/dist/chunks/chunk-IG2AUD26.js +0 -50
- package/dist/chunks/chunk-IH24N2CC.js +0 -172
- package/dist/chunks/chunk-IHB4NV4F.js +0 -174
- package/dist/chunks/chunk-IMKT7O5A.js +0 -105
- package/dist/chunks/chunk-IMV7DAKI.js +0 -45
- package/dist/chunks/chunk-INRM27QC.js +0 -185
- package/dist/chunks/chunk-IO4MFU5C.js +0 -226
- package/dist/chunks/chunk-IPWLDDY3.js +0 -94
- package/dist/chunks/chunk-IQ74NY5P.js +0 -86
- package/dist/chunks/chunk-IQAODHBD.js +0 -340
- package/dist/chunks/chunk-IQLKQOGY.js +0 -169
- package/dist/chunks/chunk-ITPG3YG3.js +0 -118
- package/dist/chunks/chunk-IUTMCJ74.js +0 -106
- package/dist/chunks/chunk-IVRVMBJP.js +0 -234
- package/dist/chunks/chunk-IVWPP4GG.js +0 -99
- package/dist/chunks/chunk-IWCXBV7F.js +0 -215
- package/dist/chunks/chunk-IWDKPSQY.js +0 -183
- package/dist/chunks/chunk-IYETCGF3.js +0 -52
- package/dist/chunks/chunk-IZVGCX7U.js +0 -161
- package/dist/chunks/chunk-J2L7DXUN.js +0 -45
- package/dist/chunks/chunk-J56ELFCF.js +0 -270
- package/dist/chunks/chunk-J57CGYSM.js +0 -18
- package/dist/chunks/chunk-J6H3M4IY.js +0 -212
- package/dist/chunks/chunk-JAIYIP6L.js +0 -23
- package/dist/chunks/chunk-JC27DODL.js +0 -174
- package/dist/chunks/chunk-JDTWX2BA.js +0 -252
- package/dist/chunks/chunk-JDZUFOVW.js +0 -83
- package/dist/chunks/chunk-JEFOLSQ7.js +0 -155
- package/dist/chunks/chunk-JEO4U6NV.js +0 -33
- package/dist/chunks/chunk-JFYFRKFQ.js +0 -23
- package/dist/chunks/chunk-JH3KPNHY.js +0 -200
- package/dist/chunks/chunk-JHJZDSRY.js +0 -368
- package/dist/chunks/chunk-JIBS7RRQ.js +0 -33
- package/dist/chunks/chunk-JJ3QJKMQ.js +0 -130
- package/dist/chunks/chunk-JKH6OKNV.js +0 -33
- package/dist/chunks/chunk-JKJPNGVF.js +0 -23
- package/dist/chunks/chunk-JLREPL7K.js +0 -156
- package/dist/chunks/chunk-JM5TAWEJ.js +0 -196
- package/dist/chunks/chunk-JMITOAOY.js +0 -23
- package/dist/chunks/chunk-JNLLL7MB.js +0 -181
- package/dist/chunks/chunk-JOARTM32.js +0 -104
- package/dist/chunks/chunk-JQ4IWX6I.js +0 -77
- package/dist/chunks/chunk-JRUCZJ3M.js +0 -23
- package/dist/chunks/chunk-JS3ASMOQ.js +0 -149
- package/dist/chunks/chunk-JS3WPHS6.js +0 -214
- package/dist/chunks/chunk-JS4UFOGO.js +0 -33
- package/dist/chunks/chunk-JSQLIP5S.js +0 -23
- package/dist/chunks/chunk-JUKLSBS6.js +0 -269
- package/dist/chunks/chunk-JWU6KI2T.js +0 -273
- package/dist/chunks/chunk-JXJN7JTR.js +0 -127
- package/dist/chunks/chunk-JZ5QI5YE.js +0 -165
- package/dist/chunks/chunk-K2KCDBGK.js +0 -1574
- package/dist/chunks/chunk-K4T6CTEW.js +0 -95
- package/dist/chunks/chunk-K5ONHACP.js +0 -626
- package/dist/chunks/chunk-K7I2ZMLK.js +0 -114
- package/dist/chunks/chunk-KAIRVYU2.js +0 -184
- package/dist/chunks/chunk-KB4WAJ4N.js +0 -1804
- package/dist/chunks/chunk-KDTZE3MN.js +0 -33
- package/dist/chunks/chunk-KEUPYKNQ.js +0 -414
- package/dist/chunks/chunk-KFIV3T4O.js +0 -152
- package/dist/chunks/chunk-KG6VF5JW.js +0 -109
- package/dist/chunks/chunk-KIZQFIHP.js +0 -33
- package/dist/chunks/chunk-KJUAW7OV.js +0 -49
- package/dist/chunks/chunk-KK6AL2TF.js +0 -215
- package/dist/chunks/chunk-KKHOBYZE.js +0 -92
- package/dist/chunks/chunk-KKJ4N64J.js +0 -260
- package/dist/chunks/chunk-KL6KJC5A.js +0 -230
- package/dist/chunks/chunk-KM3ABZAK.js +0 -161
- package/dist/chunks/chunk-KMQWA7T6.js +0 -112
- package/dist/chunks/chunk-KNEF7RHV.js +0 -111
- package/dist/chunks/chunk-KNOICX2P.js +0 -97
- package/dist/chunks/chunk-KNOXIVNQ.js +0 -139
- package/dist/chunks/chunk-KQZLFMFP.js +0 -237
- package/dist/chunks/chunk-KR6NHTZJ.js +0 -260
- package/dist/chunks/chunk-KSDO2HPC.js +0 -307
- package/dist/chunks/chunk-KSHA7BKA.js +0 -156
- package/dist/chunks/chunk-KUHNMOWZ.js +0 -23
- package/dist/chunks/chunk-KUK7WKOL.js +0 -110
- package/dist/chunks/chunk-KVX6YMRZ.js +0 -100
- package/dist/chunks/chunk-KVYH6DV3.js +0 -60
- package/dist/chunks/chunk-KWAN6QN7.js +0 -153
- package/dist/chunks/chunk-KXV7QCS6.js +0 -261
- package/dist/chunks/chunk-KY3XX2UJ.js +0 -77
- package/dist/chunks/chunk-KYUJWTLY.js +0 -78
- package/dist/chunks/chunk-KZ3NKGHR.js +0 -23
- package/dist/chunks/chunk-KZJ4GRZP.js +0 -126
- package/dist/chunks/chunk-KZNG7IUV.js +0 -173
- package/dist/chunks/chunk-KZREGMFN.js +0 -30
- package/dist/chunks/chunk-KZY4UEEB.js +0 -109
- package/dist/chunks/chunk-L23WDECU.js +0 -62
- package/dist/chunks/chunk-L2K6NW2T.js +0 -147
- package/dist/chunks/chunk-L2QYFTRZ.js +0 -160
- package/dist/chunks/chunk-L3GEKYPY.js +0 -36
- package/dist/chunks/chunk-L5O6FICC.js +0 -386
- package/dist/chunks/chunk-L6ABOXVP.js +0 -150
- package/dist/chunks/chunk-L6KE6K42.js +0 -84
- package/dist/chunks/chunk-L6V4PKHB.js +0 -158
- package/dist/chunks/chunk-LANPM643.js +0 -204
- package/dist/chunks/chunk-LBLWJNSH.js +0 -260
- package/dist/chunks/chunk-LETTOQVZ.js +0 -112
- package/dist/chunks/chunk-LFN2QK7S.js +0 -226
- package/dist/chunks/chunk-LFR7ATG2.js +0 -100
- package/dist/chunks/chunk-LG2XD72G.js +0 -152
- package/dist/chunks/chunk-LH43X6AA.js +0 -108
- package/dist/chunks/chunk-LNYNCSII.js +0 -237
- package/dist/chunks/chunk-LOXNG5VS.js +0 -487
- package/dist/chunks/chunk-LPAIGKGT.js +0 -86
- package/dist/chunks/chunk-LPOQJQMN.js +0 -327
- package/dist/chunks/chunk-LPPT4VEY.js +0 -112
- package/dist/chunks/chunk-LQA6GSGH.js +0 -330
- package/dist/chunks/chunk-LR5TOR7B.js +0 -358
- package/dist/chunks/chunk-LRKSHZ3P.js +0 -74
- package/dist/chunks/chunk-LSTTIH5B.js +0 -55
- package/dist/chunks/chunk-LTI2C3OR.js +0 -261
- package/dist/chunks/chunk-LTJH2CUD.js +0 -95
- package/dist/chunks/chunk-LTR4YB5R.js +0 -86
- package/dist/chunks/chunk-LWG4JQGU.js +0 -110
- package/dist/chunks/chunk-LWLOPJMO.js +0 -231
- package/dist/chunks/chunk-LZKTWD6A.js +0 -72
- package/dist/chunks/chunk-M2THSWFE.js +0 -122
- package/dist/chunks/chunk-M4KL3DPA.js +0 -170
- package/dist/chunks/chunk-M4LB6GRG.js +0 -181
- package/dist/chunks/chunk-MAE4Y7CI.js +0 -74
- package/dist/chunks/chunk-MATJLOPZ.js +0 -85
- package/dist/chunks/chunk-MAWMFGYQ.js +0 -168
- package/dist/chunks/chunk-MBULS7WE.js +0 -105
- package/dist/chunks/chunk-MCOWMFFG.js +0 -344
- package/dist/chunks/chunk-MDBMQPE5.js +0 -1309
- package/dist/chunks/chunk-MEUDXXOC.js +0 -167
- package/dist/chunks/chunk-MG5BG3UL.js +0 -45
- package/dist/chunks/chunk-MG6EGDPZ.js +0 -91
- package/dist/chunks/chunk-MHCCDDEL.js +0 -290
- package/dist/chunks/chunk-MKAYDFNB.js +0 -82
- package/dist/chunks/chunk-MKELI7WJ.js +0 -189
- package/dist/chunks/chunk-MMSDJR5M.js +0 -185
- package/dist/chunks/chunk-MNDDSEQX.js +0 -48
- package/dist/chunks/chunk-MPUXUIIO.js +0 -267
- package/dist/chunks/chunk-MPX4AHMT.js +0 -145
- package/dist/chunks/chunk-MQAK3IVV.js +0 -190
- package/dist/chunks/chunk-MQOQHKRU.js +0 -139
- package/dist/chunks/chunk-MQTN7J46.js +0 -77
- package/dist/chunks/chunk-MQYNCRLU.js +0 -55
- package/dist/chunks/chunk-MSNVL4UH.js +0 -33
- package/dist/chunks/chunk-MSNY6JLH.js +0 -82
- package/dist/chunks/chunk-MTQHKQX5.js +0 -221
- package/dist/chunks/chunk-MV2TT2PR.js +0 -23
- package/dist/chunks/chunk-MV4Q6GKR.js +0 -184
- package/dist/chunks/chunk-MWCOTFZT.js +0 -103
- package/dist/chunks/chunk-MWLS5GQ3.js +0 -898
- package/dist/chunks/chunk-MWP2SKXL.js +0 -329
- package/dist/chunks/chunk-MXTFSKEL.js +0 -77
- package/dist/chunks/chunk-MZV2BIWU.js +0 -23
- package/dist/chunks/chunk-N4HQ3SZY.js +0 -23
- package/dist/chunks/chunk-N5GOLV2C.js +0 -407
- package/dist/chunks/chunk-N6HEBUKO.js +0 -382
- package/dist/chunks/chunk-N6J7YZ6V.js +0 -159
- package/dist/chunks/chunk-NAQNNLG6.js +0 -80
- package/dist/chunks/chunk-NCKWKNZM.js +0 -130
- package/dist/chunks/chunk-NDAKDGKF.js +0 -23
- package/dist/chunks/chunk-NEBEYJNW.js +0 -209
- package/dist/chunks/chunk-NG4G27X5.js +0 -163
- package/dist/chunks/chunk-NIGQBVSY.js +0 -315
- package/dist/chunks/chunk-NKAPBBXH.js +0 -203
- package/dist/chunks/chunk-NMLBDLIE.js +0 -179
- package/dist/chunks/chunk-NOUYPGGD.js +0 -151
- package/dist/chunks/chunk-NPLYQVNP.js +0 -607
- package/dist/chunks/chunk-NPYHFWX3.js +0 -94
- package/dist/chunks/chunk-NQV45XLR.js +0 -99
- package/dist/chunks/chunk-NRYGLRBG.js +0 -90
- package/dist/chunks/chunk-NSEKRUDK.js +0 -172
- package/dist/chunks/chunk-NSIM3D3V.js +0 -45
- package/dist/chunks/chunk-NSPPARTK.js +0 -85
- package/dist/chunks/chunk-NSVNPRJH.js +0 -282
- package/dist/chunks/chunk-NT36GG2Z.js +0 -23
- package/dist/chunks/chunk-NVZ4ZEJJ.js +0 -146
- package/dist/chunks/chunk-NX3RPXJU.js +0 -110
- package/dist/chunks/chunk-NZ5VNCRT.js +0 -83
- package/dist/chunks/chunk-NZI7YJV7.js +0 -23
- package/dist/chunks/chunk-NZZFMR4W.js +0 -61
- package/dist/chunks/chunk-O2YBCZIR.js +0 -23
- package/dist/chunks/chunk-O3RY2Q62.js +0 -103
- package/dist/chunks/chunk-O7FU3HG4.js +0 -149
- package/dist/chunks/chunk-OAPIYKVF.js +0 -192
- package/dist/chunks/chunk-OBDCP26R.js +0 -338
- package/dist/chunks/chunk-ODRUYJSH.js +0 -215
- package/dist/chunks/chunk-OFFAWAEF.js +0 -166
- package/dist/chunks/chunk-OHM5PI5I.js +0 -130
- package/dist/chunks/chunk-OKXB2MHH.js +0 -73
- package/dist/chunks/chunk-OLHCVNGT.js +0 -133
- package/dist/chunks/chunk-OLMT7BF7.js +0 -192
- package/dist/chunks/chunk-OLVHKTMC.js +0 -47
- package/dist/chunks/chunk-OMLAOOOG.js +0 -91
- package/dist/chunks/chunk-OMO2MNSS.js +0 -479
- package/dist/chunks/chunk-OMVAORFP.js +0 -33
- package/dist/chunks/chunk-ONSJ6MSX.js +0 -208
- package/dist/chunks/chunk-OO67GSCX.js +0 -349
- package/dist/chunks/chunk-OP6YYXB6.js +0 -117
- package/dist/chunks/chunk-OPK3RKPN.js +0 -104
- package/dist/chunks/chunk-OQ7ZEV57.js +0 -198
- package/dist/chunks/chunk-OQJ2G5AO.js +0 -209
- package/dist/chunks/chunk-ORBHMTCP.js +0 -80
- package/dist/chunks/chunk-ORDVTAMO.js +0 -411
- package/dist/chunks/chunk-OSJZJSXJ.js +0 -83
- package/dist/chunks/chunk-OSPTFS5E.js +0 -206
- package/dist/chunks/chunk-OTYBYVTX.js +0 -93
- package/dist/chunks/chunk-OUNB5GSN.js +0 -244
- package/dist/chunks/chunk-OV24V5O4.js +0 -293
- package/dist/chunks/chunk-OVOIJXG2.js +0 -128
- package/dist/chunks/chunk-OYUBSBLG.js +0 -79
- package/dist/chunks/chunk-OZV2XR2I.js +0 -45
- package/dist/chunks/chunk-P4ZHUPO2.js +0 -150
- package/dist/chunks/chunk-P4ZRRHC4.js +0 -23
- package/dist/chunks/chunk-P5VDKJNT.js +0 -80
- package/dist/chunks/chunk-P74VDMCX.js +0 -84
- package/dist/chunks/chunk-PAPJZRD7.js +0 -187
- package/dist/chunks/chunk-PCA6ECQE.js +0 -360
- package/dist/chunks/chunk-PCB2PAFM.js +0 -104
- package/dist/chunks/chunk-PD4C542K.js +0 -126
- package/dist/chunks/chunk-PDX3THKR.js +0 -123
- package/dist/chunks/chunk-PEAXERBE.js +0 -2662
- package/dist/chunks/chunk-PF5PDV2F.js +0 -146
- package/dist/chunks/chunk-PGV25F4D.js +0 -36
- package/dist/chunks/chunk-PH4WMZUW.js +0 -44
- package/dist/chunks/chunk-PHONUTLT.js +0 -152
- package/dist/chunks/chunk-PHSE5FLA.js +0 -163
- package/dist/chunks/chunk-PIFYRP25.js +0 -102
- package/dist/chunks/chunk-PMRHSHGG.js +0 -28
- package/dist/chunks/chunk-PMX6PODI.js +0 -400
- package/dist/chunks/chunk-PN2ELFM2.js +0 -303
- package/dist/chunks/chunk-PN6TDHID.js +0 -422
- package/dist/chunks/chunk-POZMG3M7.js +0 -71
- package/dist/chunks/chunk-PTQJHCXS.js +0 -49
- package/dist/chunks/chunk-PTSMHPBW.js +0 -174
- package/dist/chunks/chunk-PU2ZBXPG.js +0 -81
- package/dist/chunks/chunk-PUKGWYCM.js +0 -412
- package/dist/chunks/chunk-PZCYHYBE.js +0 -204
- package/dist/chunks/chunk-PZNXFV4R.js +0 -362
- package/dist/chunks/chunk-Q3OYSRER.js +0 -287
- package/dist/chunks/chunk-Q54IUW25.js +0 -97
- package/dist/chunks/chunk-Q6AQ2VFZ.js +0 -339
- package/dist/chunks/chunk-Q6JKBOPJ.js +0 -177
- package/dist/chunks/chunk-QAZ5GJE5.js +0 -147
- package/dist/chunks/chunk-QBBW3JXO.js +0 -185
- package/dist/chunks/chunk-QCR5T3OH.js +0 -23
- package/dist/chunks/chunk-QEFIATXH.js +0 -564
- package/dist/chunks/chunk-QEFODZ42.js +0 -30
- package/dist/chunks/chunk-QEN6F65G.js +0 -279
- package/dist/chunks/chunk-QGFSBYDV.js +0 -145
- package/dist/chunks/chunk-QKIEMMYK.js +0 -23
- package/dist/chunks/chunk-QKLYJT3K.js +0 -104
- package/dist/chunks/chunk-QKTHLBBR.js +0 -256
- package/dist/chunks/chunk-QLDIYTXI.js +0 -152
- package/dist/chunks/chunk-QM6EIEJE.js +0 -180
- package/dist/chunks/chunk-QOURHUJH.js +0 -38
- package/dist/chunks/chunk-QPS5K3W3.js +0 -164
- package/dist/chunks/chunk-QQ2YF6B6.js +0 -163
- package/dist/chunks/chunk-QQXKCMBJ.js +0 -104
- package/dist/chunks/chunk-QR7NZACV.js +0 -152
- package/dist/chunks/chunk-QRXU4XA6.js +0 -33
- package/dist/chunks/chunk-QTZ4RJGL.js +0 -291
- package/dist/chunks/chunk-QU3HYBR2.js +0 -92
- package/dist/chunks/chunk-QWXXQRYG.js +0 -40
- package/dist/chunks/chunk-QYM7YOKJ.js +0 -83
- package/dist/chunks/chunk-R4YTDW6H.js +0 -206
- package/dist/chunks/chunk-R5333SSV.js +0 -303
- package/dist/chunks/chunk-R63EHB4Z.js +0 -336
- package/dist/chunks/chunk-R6AB5UQB.js +0 -150
- package/dist/chunks/chunk-R6K4K6JG.js +0 -135
- package/dist/chunks/chunk-R6PLM65D.js +0 -366
- package/dist/chunks/chunk-RBJJXSSD.js +0 -33
- package/dist/chunks/chunk-RBJZDV6H.js +0 -106
- package/dist/chunks/chunk-RBOL7RVB.js +0 -179
- package/dist/chunks/chunk-RCEIDZMZ.js +0 -115
- package/dist/chunks/chunk-RCOCIATG.js +0 -149
- package/dist/chunks/chunk-RCRQ7WMZ.js +0 -23
- package/dist/chunks/chunk-RFR53U4L.js +0 -115
- package/dist/chunks/chunk-RJE5VY7O.js +0 -147
- package/dist/chunks/chunk-RJJ5K7RP.js +0 -159
- package/dist/chunks/chunk-RKYAW7R4.js +0 -363
- package/dist/chunks/chunk-RNCMM6YN.js +0 -108
- package/dist/chunks/chunk-RNE3HHJP.js +0 -447
- package/dist/chunks/chunk-ROPN4GX6.js +0 -97
- package/dist/chunks/chunk-RP4ZJIHB.js +0 -164
- package/dist/chunks/chunk-RPD5TXIO.js +0 -11574
- package/dist/chunks/chunk-RSTXTDT5.js +0 -166
- package/dist/chunks/chunk-RTVXZZGS.js +0 -199
- package/dist/chunks/chunk-RULOB6ZQ.js +0 -97
- package/dist/chunks/chunk-RVOPZKRI.js +0 -471
- package/dist/chunks/chunk-RX7WZ37F.js +0 -137
- package/dist/chunks/chunk-RZVFEYEK.js +0 -127
- package/dist/chunks/chunk-S2PWSHTX.js +0 -93
- package/dist/chunks/chunk-S3EXLZFD.js +0 -263
- package/dist/chunks/chunk-S3NSE4NA.js +0 -156
- package/dist/chunks/chunk-SACYN5AR.js +0 -85
- package/dist/chunks/chunk-SAMTI5NO.js +0 -589
- package/dist/chunks/chunk-SAZFANVO.js +0 -125
- package/dist/chunks/chunk-SBHJ5S5K.js +0 -390
- package/dist/chunks/chunk-SBS32QG7.js +0 -23
- package/dist/chunks/chunk-SBT2MVWO.js +0 -178
- package/dist/chunks/chunk-SIMWAITX.js +0 -53
- package/dist/chunks/chunk-SIT527DG.js +0 -283
- package/dist/chunks/chunk-SJJP5FC2.js +0 -283
- package/dist/chunks/chunk-SKI3KDPK.js +0 -77
- package/dist/chunks/chunk-SKQBN5GG.js +0 -36
- package/dist/chunks/chunk-SL3YMFF3.js +0 -235
- package/dist/chunks/chunk-SMESXLLV.js +0 -240
- package/dist/chunks/chunk-SNFG6SA7.js +0 -172
- package/dist/chunks/chunk-SO4JJZWJ.js +0 -81
- package/dist/chunks/chunk-SOHOKD4X.js +0 -1221
- package/dist/chunks/chunk-SQKGFR2S.js +0 -100
- package/dist/chunks/chunk-SQLJ3J3I.js +0 -740
- package/dist/chunks/chunk-SRV3FKYB.js +0 -1403
- package/dist/chunks/chunk-SRXOOQ7V.js +0 -106
- package/dist/chunks/chunk-SSLHOMPE.js +0 -277
- package/dist/chunks/chunk-SSWIMSBT.js +0 -140
- package/dist/chunks/chunk-ST4NENO6.js +0 -88
- package/dist/chunks/chunk-STDKBPBH.js +0 -110
- package/dist/chunks/chunk-STVSVT4C.js +0 -71
- package/dist/chunks/chunk-SW3XODVF.js +0 -183
- package/dist/chunks/chunk-SWFVP3CM.js +0 -130
- package/dist/chunks/chunk-SXMX3V2Z.js +0 -78
- package/dist/chunks/chunk-SXO5LDSA.js +0 -169
- package/dist/chunks/chunk-SXQAIHUO.js +0 -162
- package/dist/chunks/chunk-SYC67IMD.js +0 -95
- package/dist/chunks/chunk-T2BHMMFE.js +0 -52
- package/dist/chunks/chunk-T3DXKAED.js +0 -79
- package/dist/chunks/chunk-T3YKOEMP.js +0 -180
- package/dist/chunks/chunk-T4OKLSOQ.js +0 -161
- package/dist/chunks/chunk-T4UBHWJU.js +0 -45
- package/dist/chunks/chunk-T5FR3J24.js +0 -23
- package/dist/chunks/chunk-T5NF5C5E.js +0 -97
- package/dist/chunks/chunk-T5O34VL5.js +0 -94
- package/dist/chunks/chunk-T65VT3ZM.js +0 -92
- package/dist/chunks/chunk-T7OD5URR.js +0 -1307
- package/dist/chunks/chunk-TBWMIDNH.js +0 -1469
- package/dist/chunks/chunk-TC4AZFMQ.js +0 -107
- package/dist/chunks/chunk-TCBAN3ZG.js +0 -150
- package/dist/chunks/chunk-TCSFTSSR.js +0 -260
- package/dist/chunks/chunk-TFWI3EXL.js +0 -86
- package/dist/chunks/chunk-TH66P3UQ.js +0 -159
- package/dist/chunks/chunk-TI53R2DV.js +0 -304
- package/dist/chunks/chunk-TIR4D2ER.js +0 -80
- package/dist/chunks/chunk-TJBKMQY5.js +0 -162
- package/dist/chunks/chunk-TJZUJIYW.js +0 -177
- package/dist/chunks/chunk-TKALNXHI.js +0 -209
- package/dist/chunks/chunk-TKPHZU2F.js +0 -266
- package/dist/chunks/chunk-TKWGRTF7.js +0 -512
- package/dist/chunks/chunk-TLDAWBB4.js +0 -443
- package/dist/chunks/chunk-TMCVH5QO.js +0 -155
- package/dist/chunks/chunk-TNXHIOWB.js +0 -122
- package/dist/chunks/chunk-TOFXSXRQ.js +0 -169
- package/dist/chunks/chunk-TP2KNL6S.js +0 -149
- package/dist/chunks/chunk-TRHVHKR5.js +0 -23
- package/dist/chunks/chunk-TS4V7E67.js +0 -100
- package/dist/chunks/chunk-TTDAK276.js +0 -78
- package/dist/chunks/chunk-TVPE6K2U.js +0 -112
- package/dist/chunks/chunk-TXO2QN5D.js +0 -147
- package/dist/chunks/chunk-TZ5NW3IV.js +0 -33
- package/dist/chunks/chunk-TZYNLQ4E.js +0 -110
- package/dist/chunks/chunk-U2YDAMVK.js +0 -152
- package/dist/chunks/chunk-U3F7J6RR.js +0 -204
- package/dist/chunks/chunk-U4XOJ3TT.js +0 -213
- package/dist/chunks/chunk-U4Y2FVZJ.js +0 -82
- package/dist/chunks/chunk-U5AS76YA.js +0 -345
- package/dist/chunks/chunk-UALAIY37.js +0 -23
- package/dist/chunks/chunk-UD2G6QPJ.js +0 -33
- package/dist/chunks/chunk-UDARJY4Y.js +0 -255
- package/dist/chunks/chunk-UDOBRWO5.js +0 -78
- package/dist/chunks/chunk-UG5PVWY2.js +0 -95
- package/dist/chunks/chunk-UGBNLMMH.js +0 -224
- package/dist/chunks/chunk-UIJ6SAOK.js +0 -142
- package/dist/chunks/chunk-UJDY6YFD.js +0 -36
- package/dist/chunks/chunk-UK7B74BG.js +0 -283
- package/dist/chunks/chunk-UKMK7S4L.js +0 -109
- package/dist/chunks/chunk-UKOTMFHD.js +0 -88
- package/dist/chunks/chunk-UKTMAO46.js +0 -141
- package/dist/chunks/chunk-ULJUXZUQ.js +0 -497
- package/dist/chunks/chunk-UOOWCNXZ.js +0 -165
- package/dist/chunks/chunk-UOXO6AK6.js +0 -36
- package/dist/chunks/chunk-UOZTHF2O.js +0 -247
- package/dist/chunks/chunk-UPLGUWFS.js +0 -185
- package/dist/chunks/chunk-URV5TNKD.js +0 -23
- package/dist/chunks/chunk-USJANJIM.js +0 -146
- package/dist/chunks/chunk-UUS32JRH.js +0 -89
- package/dist/chunks/chunk-UV3DEZRM.js +0 -33
- package/dist/chunks/chunk-UX6CF46H.js +0 -140
- package/dist/chunks/chunk-UY3CLQDP.js +0 -272
- package/dist/chunks/chunk-UYAA3T6B.js +0 -120
- package/dist/chunks/chunk-V3LQLKM6.js +0 -170
- package/dist/chunks/chunk-V5DCDOVY.js +0 -88
- package/dist/chunks/chunk-V6DMYCRE.js +0 -23
- package/dist/chunks/chunk-VAAPY7KC.js +0 -1845
- package/dist/chunks/chunk-VB4GY7DW.js +0 -23
- package/dist/chunks/chunk-VBEE6M3D.js +0 -375
- package/dist/chunks/chunk-VD4LL6RD.js +0 -111
- package/dist/chunks/chunk-VEAXIGQM.js +0 -180
- package/dist/chunks/chunk-VFJMWRKJ.js +0 -36
- package/dist/chunks/chunk-VGAKOM6F.js +0 -228
- package/dist/chunks/chunk-VGL4PIVJ.js +0 -154
- package/dist/chunks/chunk-VH74O7C6.js +0 -312
- package/dist/chunks/chunk-VHID2WC4.js +0 -324
- package/dist/chunks/chunk-VHKK3BBB.js +0 -33
- package/dist/chunks/chunk-VK5OBJFV.js +0 -446
- package/dist/chunks/chunk-VK6F7365.js +0 -311
- package/dist/chunks/chunk-VL267K64.js +0 -33
- package/dist/chunks/chunk-VLIJMZNG.js +0 -80
- package/dist/chunks/chunk-VMDWC7QJ.js +0 -361
- package/dist/chunks/chunk-VO2UYBJY.js +0 -113
- package/dist/chunks/chunk-VO7MKAWN.js +0 -141
- package/dist/chunks/chunk-VOEOKURL.js +0 -292
- package/dist/chunks/chunk-VPQLZIO3.js +0 -428
- package/dist/chunks/chunk-VPTZKU2K.js +0 -121
- package/dist/chunks/chunk-VTPMAIDH.js +0 -222
- package/dist/chunks/chunk-VTQNFI7N.js +0 -930
- package/dist/chunks/chunk-VVHOR3DF.js +0 -131
- package/dist/chunks/chunk-VVN3KAPW.js +0 -454
- package/dist/chunks/chunk-VVQDNU52.js +0 -320
- package/dist/chunks/chunk-VXDAAHSF.js +0 -132
- package/dist/chunks/chunk-VXEM7JO3.js +0 -110
- package/dist/chunks/chunk-W3Q6GV45.js +0 -425
- package/dist/chunks/chunk-W4E7Z3DG.js +0 -738
- package/dist/chunks/chunk-W5YWXLCE.js +0 -45
- package/dist/chunks/chunk-W6UAQ6DN.js +0 -289
- package/dist/chunks/chunk-W7RWSPKN.js +0 -112
- package/dist/chunks/chunk-W7VALHFC.js +0 -33
- package/dist/chunks/chunk-WAQFZMU5.js +0 -685
- package/dist/chunks/chunk-WARWR4AM.js +0 -98
- package/dist/chunks/chunk-WC4LG7MP.js +0 -290
- package/dist/chunks/chunk-WCRFR3BV.js +0 -108
- package/dist/chunks/chunk-WDJ4BVQC.js +0 -129
- package/dist/chunks/chunk-WG6LYAED.js +0 -80
- package/dist/chunks/chunk-WGVVUU5A.js +0 -187
- package/dist/chunks/chunk-WGYJYTUW.js +0 -122
- package/dist/chunks/chunk-WI3METEB.js +0 -95
- package/dist/chunks/chunk-WIKXL2ZN.js +0 -261
- package/dist/chunks/chunk-WJGWZXWA.js +0 -41
- package/dist/chunks/chunk-WK6QZTRJ.js +0 -122
- package/dist/chunks/chunk-WKKRQKXU.js +0 -396
- package/dist/chunks/chunk-WKORSTFA.js +0 -147
- package/dist/chunks/chunk-WL4EUFYY.js +0 -105
- package/dist/chunks/chunk-WM6FTKQ6.js +0 -33
- package/dist/chunks/chunk-WPDREHUR.js +0 -298
- package/dist/chunks/chunk-WQCRPOG7.js +0 -137
- package/dist/chunks/chunk-WQGY4QGO.js +0 -23
- package/dist/chunks/chunk-WSBIPRFF.js +0 -399
- package/dist/chunks/chunk-WSI6NQ34.js +0 -220
- package/dist/chunks/chunk-WSQ45U3Y.js +0 -224
- package/dist/chunks/chunk-WT5ZDGYE.js +0 -632
- package/dist/chunks/chunk-WTENYPAW.js +0 -297
- package/dist/chunks/chunk-WTQXEVIS.js +0 -146
- package/dist/chunks/chunk-WUSJS47O.js +0 -197
- package/dist/chunks/chunk-WYALP6OZ.js +0 -115
- package/dist/chunks/chunk-WYEIROUG.js +0 -140
- package/dist/chunks/chunk-WYK7554A.js +0 -129
- package/dist/chunks/chunk-WYPPX23J.js +0 -108
- package/dist/chunks/chunk-WZV75ADP.js +0 -41
- package/dist/chunks/chunk-WZYNCLPL.js +0 -33
- package/dist/chunks/chunk-X25EL7VA.js +0 -166
- package/dist/chunks/chunk-X2LAKGCN.js +0 -270
- package/dist/chunks/chunk-X2OJBGEX.js +0 -33
- package/dist/chunks/chunk-X2WTTB5A.js +0 -138
- package/dist/chunks/chunk-X3YQV5D2.js +0 -200
- package/dist/chunks/chunk-X5ZAW3UD.js +0 -304
- package/dist/chunks/chunk-X63YCLFO.js +0 -525
- package/dist/chunks/chunk-X6OYKUI6.js +0 -104
- package/dist/chunks/chunk-X7N4DPVD.js +0 -193
- package/dist/chunks/chunk-XBHNGJZX.js +0 -209
- package/dist/chunks/chunk-XCINOVRB.js +0 -130
- package/dist/chunks/chunk-XDERHXLX.js +0 -119
- package/dist/chunks/chunk-XGTV37ET.js +0 -87
- package/dist/chunks/chunk-XHBBFIPP.js +0 -119
- package/dist/chunks/chunk-XHG4EDU5.js +0 -480
- package/dist/chunks/chunk-XHNEDVWS.js +0 -131
- package/dist/chunks/chunk-XJNGPIEY.js +0 -111
- package/dist/chunks/chunk-XMUP3KNZ.js +0 -123
- package/dist/chunks/chunk-XMZ2VFEP.js +0 -282
- package/dist/chunks/chunk-XNFRP76V.js +0 -391
- package/dist/chunks/chunk-XO7OHC3C.js +0 -412
- package/dist/chunks/chunk-XODSKZD3.js +0 -330
- package/dist/chunks/chunk-XONKEG3P.js +0 -45
- package/dist/chunks/chunk-XONKQBMX.js +0 -87
- package/dist/chunks/chunk-XPK367MG.js +0 -118
- package/dist/chunks/chunk-XPPJCY3L.js +0 -457
- package/dist/chunks/chunk-XQRPF7IS.js +0 -41
- package/dist/chunks/chunk-XREPYOLY.js +0 -144
- package/dist/chunks/chunk-XROLSQNP.js +0 -198
- package/dist/chunks/chunk-XTOTK6BR.js +0 -242
- package/dist/chunks/chunk-XWOWLBJD.js +0 -165
- package/dist/chunks/chunk-Y2AJUTJA.js +0 -33
- package/dist/chunks/chunk-Y2E3AWNB.js +0 -23
- package/dist/chunks/chunk-Y3JK4EM2.js +0 -33
- package/dist/chunks/chunk-Y44EMGGM.js +0 -108
- package/dist/chunks/chunk-Y4TH5A3X.js +0 -33
- package/dist/chunks/chunk-Y5JSPXXV.js +0 -163
- package/dist/chunks/chunk-YBSUX6DG.js +0 -118
- package/dist/chunks/chunk-YGBT5KDO.js +0 -162
- package/dist/chunks/chunk-YHEXONHE.js +0 -136
- package/dist/chunks/chunk-YHZV3GXE.js +0 -313
- package/dist/chunks/chunk-YJA3A2NO.js +0 -80
- package/dist/chunks/chunk-YKN5VVO3.js +0 -123
- package/dist/chunks/chunk-YKRUQI2J.js +0 -155
- package/dist/chunks/chunk-YLIHHN2E.js +0 -405
- package/dist/chunks/chunk-YM3ZR7I3.js +0 -130
- package/dist/chunks/chunk-YNTPYZ4O.js +0 -163
- package/dist/chunks/chunk-YRNCC3AU.js +0 -382
- package/dist/chunks/chunk-YSH5ULQP.js +0 -277
- package/dist/chunks/chunk-YTBNQMMV.js +0 -23
- package/dist/chunks/chunk-YTP2SUHA.js +0 -48
- package/dist/chunks/chunk-YUC53SFC.js +0 -146
- package/dist/chunks/chunk-YVZB4O24.js +0 -161
- package/dist/chunks/chunk-YWNEPET6.js +0 -422
- package/dist/chunks/chunk-Z2DLQN3C.js +0 -390
- package/dist/chunks/chunk-Z2UPJTSZ.js +0 -51
- package/dist/chunks/chunk-Z2V4H3OJ.js +0 -23
- package/dist/chunks/chunk-Z4NAG72O.js +0 -183
- package/dist/chunks/chunk-Z5DBP3EB.js +0 -165
- package/dist/chunks/chunk-Z5YN5STZ.js +0 -68
- package/dist/chunks/chunk-Z6VO2XOA.js +0 -239
- package/dist/chunks/chunk-Z7GZ3DRG.js +0 -138
- package/dist/chunks/chunk-ZBW3A2IQ.js +0 -336
- package/dist/chunks/chunk-ZCXTL6YN.js +0 -33
- package/dist/chunks/chunk-ZDXRCXNB.js +0 -251
- package/dist/chunks/chunk-ZEJPZ5YP.js +0 -198
- package/dist/chunks/chunk-ZHCQJWIN.js +0 -33
- package/dist/chunks/chunk-ZHPET45Q.js +0 -171
- package/dist/chunks/chunk-ZI4HZMXF.js +0 -119
- package/dist/chunks/chunk-ZI4JE6MD.js +0 -326
- package/dist/chunks/chunk-ZJSOITOR.js +0 -558
- package/dist/chunks/chunk-ZJYKLFG3.js +0 -138
- package/dist/chunks/chunk-ZK6HTKYA.js +0 -298
- package/dist/chunks/chunk-ZKGCYB6R.js +0 -301
- package/dist/chunks/chunk-ZKNQZ4Q3.js +0 -225
- package/dist/chunks/chunk-ZMHCS5BP.js +0 -33
- package/dist/chunks/chunk-ZP7U4KAD.js +0 -60
- package/dist/chunks/chunk-ZQS5T7ZT.js +0 -198
- package/dist/chunks/chunk-ZTEWVANC.js +0 -91
- package/dist/chunks/chunk-ZV7E5HA5.js +0 -803
- package/dist/chunks/chunk-ZWIF75NJ.js +0 -877
- package/dist/chunks/chunk-ZXCZSOJG.js +0 -79
- package/dist/chunks/chunk-ZXN3UORK.js +0 -117
- package/dist/chunks/chunk-ZZWSAKYW.js +0 -1649
- package/dist/chunks/client-SIXT4E6F.js +0 -31
- package/dist/chunks/client-SNV2OJSJ.js +0 -167
- package/dist/chunks/client-WPDU6XXI.js +0 -44
- package/dist/chunks/client-actions-3CUI4HN6.js +0 -155
- package/dist/chunks/components-3XH2YTL7.js +0 -70
- package/dist/chunks/dangerous-GKTS7DUY.js +0 -115
- package/dist/chunks/document-library-5CFZPFCI.js +0 -61
- package/dist/chunks/editor-seams-ZCJ2DYED.js +0 -156
- package/dist/chunks/editor-store-RYOXNOTI.js +0 -134
- package/dist/chunks/export-UT5LSLOT.js +0 -66
- package/dist/chunks/export-fills-JNG2GECL.js +0 -35
- package/dist/chunks/export-watermark-EKBVWP32.js +0 -141
- package/dist/chunks/eyedropper-XOS3CSL3.js +0 -344
- package/dist/chunks/fonts-QBT5X7PA.js +0 -39
- package/dist/chunks/generate-media-4EJ5TRMU.js +0 -252
- package/dist/chunks/headless-WKKIOOMP.js +0 -185
- package/dist/chunks/host-7LDOGDYJ.js +0 -166
- package/dist/chunks/host-KOQ3EAIT.js +0 -238
- package/dist/chunks/import-H6RGTXC4.js +0 -701
- package/dist/chunks/import-merge-FVSACEMJ.js +0 -34
- package/dist/chunks/instances-TOVKGDOA.js +0 -78
- package/dist/chunks/integrations-AMRKVDUG.js +0 -115
- package/dist/chunks/invariants-T57V3ETR.js +0 -60
- package/dist/chunks/kit-modules-NDNJBGK3.js +0 -18
- package/dist/chunks/libraries-BZ6QRS3Y.js +0 -297
- package/dist/chunks/library-previews-NE7I75Z5.js +0 -198
- package/dist/chunks/live-HOI5BULC.js +0 -307
- package/dist/chunks/lottie-XIFLID33.js +0 -84
- package/dist/chunks/media-tool-KKX2ZLBV.js +0 -327
- package/dist/chunks/new-file-RCQE4F54.js +0 -124
- package/dist/chunks/next-commerce-ZB2XL4LB.js +0 -65
- package/dist/chunks/page-thumbnails-E7O5QZNO.js +0 -132
- package/dist/chunks/pdf-PII6LL43.js +0 -1215
- package/dist/chunks/pdf-import-KWLE5ABR.js +0 -369
- package/dist/chunks/plan-XCUSB2BV.js +0 -81
- package/dist/chunks/player-check-FAXMQOBU.js +0 -112
- package/dist/chunks/plugin-CMKYLXZY.js +0 -122
- package/dist/chunks/plugin-import-Y5KBYIGC.js +0 -659
- package/dist/chunks/pptx-3WDDQG2F.js +0 -308
- package/dist/chunks/presence-4CHUQZZX.js +0 -122
- package/dist/chunks/preview-media-SPMCF6DE.js +0 -120
- package/dist/chunks/project-VI2TUZXH.js +0 -1647
- package/dist/chunks/publish-site-ZW6POOMI.js +0 -153
- package/dist/chunks/publish-store-6CWB2JTX.js +0 -92
- package/dist/chunks/raster-actions-TLKJZ4IK.js +0 -224
- package/dist/chunks/reference-images-5GYHYA47.js +0 -61
- package/dist/chunks/resolvers-AZLXVUCT.js +0 -137
- package/dist/chunks/review-kits-SULJJ5ZS.js +0 -40
- package/dist/chunks/runner-MCCYMANC.js +0 -1228
- package/dist/chunks/runtime-S7YOJ3EI.js +0 -32
- package/dist/chunks/shader-preview-3265UVYW.js +0 -517
- package/dist/chunks/shaper-VY2DSDZ7.js +0 -64
- package/dist/chunks/sites-3SMRSUBO.js +0 -33
- package/dist/chunks/store-XSI3RJIX.js +0 -219
- package/dist/chunks/storefront-WMBMCPLJ.js +0 -326
- package/dist/chunks/storefront-prepare-45NCUCPA.js +0 -33
- package/dist/chunks/stress-document-BIZURAM2.js +0 -125
- package/dist/chunks/svg-export-UQJCI4EY.js +0 -79
- package/dist/chunks/svg-place-IZ6QWR6R.js +0 -38
- package/dist/chunks/sync-AKHSLYBG.js +0 -148
- package/dist/chunks/tabs-DDIF6KDC.js +0 -306
- package/dist/chunks/team-6E6HWABB.js +0 -44
- package/dist/chunks/templates-XPCCSB2X.js +0 -180
- package/dist/chunks/theme-store-T6K3BK4F.js +0 -39
- package/dist/chunks/tools-DGOC6AJ4.js +0 -35
- package/dist/chunks/tree-B4TCC3BG.js +0 -71
- package/dist/chunks/ui-commands-MJBA6GXH.js +0 -264
- package/dist/chunks/use-EBVUUVA3.js +0 -44
- package/dist/chunks/versions-SYEHEHD2.js +0 -306
- package/dist/chunks/video-TVSDWUFH.js +0 -74
- package/dist/chunks/web-O6B3ZOF3.js +0 -169
- /package/dist/chunks/{chunk-5JMOP3JF.js → chunk-GBLJAFGZ.js} +0 -0
- /package/dist/chunks/{chunk-CQQUD43D.js → chunk-MELC4CJB.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-I3NUEMNB.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
|
-
};
|