@popcraft/kit 2.0.1 → 2.1.1
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-TSLSDIZ7.js +44 -0
- package/dist/chunks/builtin-H6YOIATP.js +121 -0
- package/dist/chunks/buy-credits-JFWH2FVN.js +80 -0
- package/dist/chunks/check-template-VFEXYV4M.js +2413 -0
- package/dist/chunks/chunk-22F7EPVX.js +172 -0
- package/dist/chunks/chunk-22KJ3JZL.js +270 -0
- package/dist/chunks/chunk-235FEKZK.js +135 -0
- package/dist/chunks/chunk-23OUPS7W.js +33 -0
- package/dist/chunks/chunk-25PISO2F.js +23 -0
- package/dist/chunks/chunk-2BKPA6Y4.js +282 -0
- package/dist/chunks/chunk-2FGIORXE.js +210 -0
- package/dist/chunks/chunk-2G7XPWMP.js +239 -0
- package/dist/chunks/chunk-2IX5ZIH6.js +84 -0
- package/dist/chunks/chunk-2LBRUUPE.js +198 -0
- package/dist/chunks/chunk-2LOXSABB.js +89 -0
- package/dist/chunks/chunk-2LQELHXE.js +152 -0
- package/dist/chunks/chunk-2MLPQPYI.js +225 -0
- package/dist/chunks/chunk-2MYE2LS3.js +104 -0
- package/dist/chunks/chunk-2NAHHBYS.js +258 -0
- package/dist/chunks/chunk-2OQZUCPX.js +75 -0
- package/dist/chunks/chunk-2PKIXGRF.js +23 -0
- package/dist/chunks/chunk-2PUOT7D7.js +23 -0
- package/dist/chunks/chunk-2Q2RQ6GW.js +140 -0
- package/dist/chunks/chunk-2QVNKB4B.js +55 -0
- package/dist/chunks/chunk-2RFZTHNF.js +41 -0
- package/dist/chunks/chunk-2RGKPXH2.js +338 -0
- package/dist/chunks/chunk-2W3JZOAF.js +33 -0
- package/dist/chunks/chunk-2YJGU3KV.js +152 -0
- package/dist/chunks/chunk-2YSZ7YDC.js +250 -0
- package/dist/chunks/chunk-2ZPQT6WR.js +131 -0
- package/dist/chunks/chunk-325D2VTB.js +84 -0
- package/dist/chunks/chunk-33LZDK5M.js +115 -0
- package/dist/chunks/chunk-355O4WLG.js +168 -0
- package/dist/chunks/chunk-35BBAOTL.js +165 -0
- package/dist/chunks/chunk-36SCCSEM.js +247 -0
- package/dist/chunks/chunk-3AKH5JDC.js +54 -0
- package/dist/chunks/chunk-3BRSTTBH.js +777 -0
- package/dist/chunks/chunk-3BYZEUZ3.js +23 -0
- package/dist/chunks/chunk-3C3JKOXN.js +153 -0
- package/dist/chunks/chunk-3C623QFF.js +23 -0
- package/dist/chunks/chunk-3IF2EY7N.js +23 -0
- package/dist/chunks/chunk-3INKHOQC.js +146 -0
- package/dist/chunks/chunk-3IVTLWWG.js +218 -0
- package/dist/chunks/chunk-3JOTA7EB.js +1419 -0
- package/dist/chunks/chunk-3NDSXFU2.js +23 -0
- package/dist/chunks/chunk-3NLSCMZW.js +74 -0
- package/dist/chunks/chunk-3NPBD6AS.js +121 -0
- package/dist/chunks/chunk-3NT5PMWJ.js +23 -0
- package/dist/chunks/chunk-3OHYWADH.js +170 -0
- package/dist/chunks/chunk-3QJCMOGK.js +106 -0
- package/dist/chunks/chunk-3RTFJ6PY.js +47 -0
- package/dist/chunks/chunk-3S7LAQFC.js +80 -0
- package/dist/chunks/chunk-3SPKZSYF.js +135 -0
- package/dist/chunks/chunk-3TACXVZV.js +77 -0
- package/dist/chunks/chunk-3TP7DUPG.js +191 -0
- package/dist/chunks/chunk-3VM5BRMC.js +95 -0
- package/dist/chunks/chunk-3YDD45FM.js +90 -0
- package/dist/chunks/chunk-3YICBU43.js +234 -0
- package/dist/chunks/chunk-3YONJZXI.js +121 -0
- package/dist/chunks/chunk-3YSCPNDM.js +215 -0
- package/dist/chunks/chunk-3YXONWIJ.js +91 -0
- package/dist/chunks/chunk-444FZ7QE.js +185 -0
- package/dist/chunks/chunk-45IX6H4R.js +206 -0
- package/dist/chunks/chunk-4ABKTEOV.js +111 -0
- package/dist/chunks/chunk-4BCVARIN.js +82 -0
- package/dist/chunks/chunk-4ID6VIDT.js +174 -0
- package/dist/chunks/chunk-4ISDJG43.js +23 -0
- package/dist/chunks/chunk-4J76WO5T.js +163 -0
- package/dist/chunks/chunk-4JBKMOSA.js +33 -0
- package/dist/chunks/chunk-4KP4OZWA.js +262 -0
- package/dist/chunks/chunk-4LFZGFPQ.js +320 -0
- package/dist/chunks/chunk-4LKYD4XB.js +197 -0
- package/dist/chunks/chunk-4LSVSFRI.js +49 -0
- package/dist/chunks/chunk-4NEKRODJ.js +102 -0
- package/dist/chunks/chunk-4NFBAFW6.js +189 -0
- package/dist/chunks/chunk-4NPNWZMA.js +159 -0
- package/dist/chunks/chunk-4ONQ7YOK.js +123 -0
- package/dist/chunks/chunk-4QAZMJ5Z.js +88 -0
- package/dist/chunks/chunk-4S3KLOPA.js +166 -0
- package/dist/chunks/chunk-4SAGDNBJ.js +106 -0
- package/dist/chunks/chunk-4SLOWKGS.js +94 -0
- package/dist/chunks/chunk-4SX3ZZX7.js +180 -0
- package/dist/chunks/chunk-4TGLGW3X.js +153 -0
- package/dist/chunks/chunk-4TSMYNCF.js +224 -0
- package/dist/chunks/chunk-4TSXXYYE.js +422 -0
- package/dist/chunks/chunk-4V4CIANZ.js +97 -0
- package/dist/chunks/chunk-4WTOALP4.js +101 -0
- package/dist/chunks/chunk-4XBJA2NU.js +36 -0
- package/dist/chunks/chunk-4XL6STAO.js +78 -0
- package/dist/chunks/chunk-4XTFD5BC.js +77 -0
- package/dist/chunks/chunk-4XVR2ZWY.js +33 -0
- package/dist/chunks/chunk-4Y3BWUBH.js +23 -0
- package/dist/chunks/chunk-4Y4GZHUB.js +92 -0
- package/dist/chunks/chunk-4YSL6MDN.js +312 -0
- package/dist/chunks/chunk-4ZMSAPTD.js +122 -0
- package/dist/chunks/chunk-52H7XQSY.js +378 -0
- package/dist/chunks/chunk-52ISSBB2.js +23 -0
- package/dist/chunks/chunk-52NCJHSX.js +36 -0
- package/dist/chunks/chunk-54YT4UBV.js +197 -0
- package/dist/chunks/chunk-56Z5S2H3.js +77 -0
- package/dist/chunks/chunk-57HS45KP.js +214 -0
- package/dist/chunks/chunk-5AABYA2Q.js +81 -0
- package/dist/chunks/chunk-5BSKHZL5.js +290 -0
- package/dist/chunks/chunk-5GIP3ZC5.js +23 -0
- package/dist/chunks/chunk-5HQKCBJY.js +128 -0
- package/dist/chunks/chunk-5I2HWOFO.js +172 -0
- package/dist/chunks/chunk-5IMOKCRL.js +55 -0
- package/dist/chunks/chunk-5JXKH2PJ.js +197 -0
- package/dist/chunks/chunk-5LAGG32N.js +115 -0
- package/dist/chunks/chunk-5MAU4MW2.js +237 -0
- package/dist/chunks/chunk-5NWEWIKW.js +81 -0
- package/dist/chunks/chunk-5QEWPMQN.js +97 -0
- package/dist/chunks/chunk-5QW2KWH5.js +80 -0
- package/dist/chunks/chunk-5RH44KS3.js +206 -0
- package/dist/chunks/chunk-5TGZDBRL.js +55 -0
- package/dist/chunks/chunk-5XHC5QXQ.js +183 -0
- package/dist/chunks/chunk-63AZPKZY.js +113 -0
- package/dist/chunks/chunk-63DMJTBC.js +390 -0
- package/dist/chunks/chunk-66EUO47D.js +274 -0
- package/dist/chunks/chunk-66FTYOPY.js +889 -0
- package/dist/chunks/chunk-67S2TFAZ.js +108 -0
- package/dist/chunks/chunk-6A24MSQG.js +33 -0
- package/dist/chunks/chunk-6AKTTKMG.js +80 -0
- package/dist/chunks/chunk-6BHXTA3Q.js +96 -0
- package/dist/chunks/chunk-6D3OV6IZ.js +69 -0
- package/dist/chunks/chunk-6EG6J2P6.js +94 -0
- package/dist/chunks/chunk-6F467OQG.js +118 -0
- package/dist/chunks/chunk-6FYR3LXN.js +106 -0
- package/dist/chunks/chunk-6GMHMYZ2.js +23 -0
- package/dist/chunks/chunk-6HGWZM2J.js +89 -0
- package/dist/chunks/chunk-6JCHPGNL.js +265 -0
- package/dist/chunks/chunk-6LX4QTGY.js +33 -0
- package/dist/chunks/chunk-6MXPW2VC.js +106 -0
- package/dist/chunks/chunk-6R6AFZWK.js +97 -0
- package/dist/chunks/chunk-6UVXJ7F4.js +30 -0
- package/dist/chunks/chunk-6XT4SR2D.js +155 -0
- package/dist/chunks/chunk-6Z3G6CE4.js +71 -0
- package/dist/chunks/chunk-6Z5AE6UQ.js +231 -0
- package/dist/chunks/chunk-6Z6JN2HB.js +23 -0
- package/dist/chunks/chunk-75QDBS6R.js +149 -0
- package/dist/chunks/chunk-7AEK44HQ.js +41 -0
- package/dist/chunks/chunk-7BNKFBTW.js +161 -0
- package/dist/chunks/chunk-7CYLOIOR.js +120 -0
- package/dist/chunks/chunk-7D2JIX5U.js +101 -0
- package/dist/chunks/chunk-7EJGSZY5.js +462 -0
- package/dist/chunks/chunk-7ILLYRJB.js +99 -0
- package/dist/chunks/chunk-7J6LG54K.js +277 -0
- package/dist/chunks/chunk-7KX55PR3.js +166 -0
- package/dist/chunks/chunk-7MXXUPXE.js +361 -0
- package/dist/chunks/chunk-7N6GIZ2U.js +45 -0
- package/dist/chunks/chunk-7NITLL3X.js +209 -0
- package/dist/chunks/chunk-7NU2LVIW.js +181 -0
- package/dist/chunks/chunk-7NZQ6ZNS.js +130 -0
- package/dist/chunks/chunk-7T5DGKE2.js +23 -0
- package/dist/chunks/chunk-7TA6UP6H.js +97 -0
- package/dist/chunks/chunk-7TXRRPVP.js +114 -0
- package/dist/chunks/chunk-7UR2AVH6.js +231 -0
- package/dist/chunks/chunk-7VZNAJDE.js +127 -0
- package/dist/chunks/chunk-7Y3N4NZJ.js +108 -0
- package/dist/chunks/chunk-A3NYPXQB.js +122 -0
- package/dist/chunks/chunk-A7TBWA7W.js +191 -0
- package/dist/chunks/chunk-ABINQ255.js +187 -0
- package/dist/chunks/chunk-AC6NUJPA.js +87 -0
- package/dist/chunks/chunk-ACXNAMGE.js +217 -0
- package/dist/chunks/chunk-AE7Z2AWZ.js +346 -0
- package/dist/chunks/chunk-AFSFS2OI.js +90 -0
- package/dist/chunks/chunk-AHUA6SPE.js +38 -0
- package/dist/chunks/chunk-AIN4X4H3.js +41 -0
- package/dist/chunks/chunk-AIRXT2AD.js +71 -0
- package/dist/chunks/chunk-AJGGGIWQ.js +52 -0
- package/dist/chunks/chunk-AK7UJ6CK.js +257 -0
- package/dist/chunks/chunk-AKXA2UD3.js +97 -0
- package/dist/chunks/chunk-AL75JJYB.js +77 -0
- package/dist/chunks/chunk-AM4KEFB2.js +133 -0
- package/dist/chunks/chunk-ANC7YPKQ.js +157 -0
- package/dist/chunks/chunk-ANHRRLQ5.js +78 -0
- package/dist/chunks/chunk-AOQSFWM6.js +10311 -0
- package/dist/chunks/chunk-APVMCNFK.js +47 -0
- package/dist/chunks/chunk-AQ36XI6S.js +76 -0
- package/dist/chunks/chunk-ARAK3JWY.js +157 -0
- package/dist/chunks/chunk-ARP35JOS.js +1136 -0
- package/dist/chunks/chunk-ASD2QKKQ.js +45 -0
- package/dist/chunks/chunk-ASEZAAT2.js +217 -0
- package/dist/chunks/chunk-ATNUI5G2.js +342 -0
- package/dist/chunks/chunk-ATYZR3TG.js +626 -0
- package/dist/chunks/chunk-AVR3I67Z.js +33 -0
- package/dist/chunks/chunk-AVYZ66I7.js +303 -0
- package/dist/chunks/chunk-AW3NMN6C.js +410 -0
- package/dist/chunks/chunk-AWSUAGTZ.js +329 -0
- package/dist/chunks/chunk-AX6BRMJK.js +276 -0
- package/dist/chunks/chunk-AYLIUYXK.js +95 -0
- package/dist/chunks/chunk-B3GYGDSG.js +188 -0
- package/dist/chunks/chunk-B3TSSGWD.js +107 -0
- package/dist/chunks/chunk-B5WQ66YF.js +235 -0
- package/dist/chunks/chunk-B6ECJSQO.js +36 -0
- package/dist/chunks/chunk-B6MHGBYB.js +23 -0
- package/dist/chunks/chunk-BAMAOKNK.js +91 -0
- package/dist/chunks/chunk-BBCSYOHW.js +95 -0
- package/dist/chunks/chunk-BBN7V7TM.js +33 -0
- package/dist/chunks/chunk-BCCXENQK.js +94 -0
- package/dist/chunks/chunk-BDBV7IFG.js +194 -0
- package/dist/chunks/chunk-BDGPZDRM.js +140 -0
- package/dist/chunks/chunk-BELNTFRN.js +159 -0
- package/dist/chunks/chunk-BFDN4WOF.js +232 -0
- package/dist/chunks/chunk-BJGEGGQH.js +684 -0
- package/dist/chunks/chunk-BKDJXEUD.js +1845 -0
- package/dist/chunks/chunk-BL3DKSHQ.js +111 -0
- package/dist/chunks/chunk-BMMWBGH6.js +174 -0
- package/dist/chunks/chunk-BPHEJQP7.js +87 -0
- package/dist/chunks/chunk-BQ7ISNFW.js +172 -0
- package/dist/chunks/chunk-BUPCT2ZO.js +244 -0
- package/dist/chunks/chunk-BVVWI2W2.js +152 -0
- package/dist/chunks/chunk-BWM5I6T7.js +146 -0
- package/dist/chunks/chunk-BYEJQ35G.js +163 -0
- package/dist/chunks/chunk-C2DMIEQB.js +100 -0
- package/dist/chunks/chunk-C2Y4FS3O.js +123 -0
- package/dist/chunks/chunk-C4Z6XOH2.js +66 -0
- package/dist/chunks/chunk-C6X2LYLT.js +119 -0
- package/dist/chunks/chunk-C7CKP2D3.js +112 -0
- package/dist/chunks/chunk-C7GBJS24.js +152 -0
- package/dist/chunks/chunk-C7SYL5YW.js +168 -0
- package/dist/chunks/chunk-C7WYBNAG.js +139 -0
- package/dist/chunks/chunk-CBXOZOD6.js +84 -0
- package/dist/chunks/chunk-CCFW3NHS.js +190 -0
- package/dist/chunks/chunk-CEMTTNYZ.js +150 -0
- package/dist/chunks/chunk-CF6WBRWU.js +283 -0
- package/dist/chunks/chunk-CFLETTFC.js +112 -0
- package/dist/chunks/chunk-CGDZZTXM.js +270 -0
- package/dist/chunks/chunk-CLT2CPOR.js +199 -0
- package/dist/chunks/chunk-CN4NSN5T.js +71 -0
- package/dist/chunks/chunk-CP4OXO2E.js +110 -0
- package/dist/chunks/chunk-CP56EIVS.js +23 -0
- package/dist/chunks/chunk-CPQ3QQAM.js +260 -0
- package/dist/chunks/chunk-CTRJP5UA.js +190 -0
- package/dist/chunks/chunk-CV5M7GBY.js +326 -0
- package/dist/chunks/chunk-CVNPMUA3.js +115 -0
- package/dist/chunks/chunk-CWK2C7VF.js +176 -0
- package/dist/chunks/chunk-CXJIKBFI.js +97 -0
- package/dist/chunks/chunk-CYBIAZCA.js +151 -0
- package/dist/chunks/chunk-CYRYQLHD.js +179 -0
- package/dist/chunks/chunk-CZ5UEKR2.js +283 -0
- package/dist/chunks/chunk-CZ6P3YBE.js +133 -0
- package/dist/chunks/chunk-D2EO535O.js +375 -0
- package/dist/chunks/chunk-D4G2FZHO.js +33 -0
- package/dist/chunks/chunk-D4NGIS4E.js +194 -0
- package/dist/chunks/chunk-D4NTA4HK.js +119 -0
- package/dist/chunks/chunk-D6OTVNKE.js +252 -0
- package/dist/chunks/chunk-D7C5KL3Z.js +92 -0
- package/dist/chunks/chunk-D7YTBTI4.js +231 -0
- package/dist/chunks/chunk-DB3G6FPI.js +78 -0
- package/dist/chunks/chunk-DC6DJOTF.js +135 -0
- package/dist/chunks/chunk-DCFH4M6G.js +133 -0
- package/dist/chunks/chunk-DF4YW3RK.js +47 -0
- package/dist/chunks/chunk-DFSIFWIO.js +127 -0
- package/dist/chunks/chunk-DGRCX4VF.js +112 -0
- package/dist/chunks/chunk-DHMAWUZF.js +91 -0
- package/dist/chunks/chunk-DHQGPRGS.js +65 -0
- package/dist/chunks/chunk-DJI3QSA5.js +287 -0
- package/dist/chunks/chunk-DKM5YJWZ.js +251 -0
- package/dist/chunks/chunk-DLZPRTL4.js +214 -0
- package/dist/chunks/chunk-DMC4TTXA.js +125 -0
- package/dist/chunks/chunk-DNMCO7OC.js +154 -0
- package/dist/chunks/chunk-DNSOYQMP.js +125 -0
- package/dist/chunks/chunk-DOB6UHVL.js +136 -0
- package/dist/chunks/chunk-DPGZGAMN.js +277 -0
- package/dist/chunks/chunk-DPXIHO3N.js +101 -0
- package/dist/chunks/chunk-DQ6DCFJW.js +117 -0
- package/dist/chunks/chunk-DQVYRURD.js +172 -0
- package/dist/chunks/chunk-DSM7BTW3.js +898 -0
- package/dist/chunks/chunk-DTDCIHK7.js +274 -0
- package/dist/chunks/chunk-DUQCVGVA.js +98 -0
- package/dist/chunks/chunk-DWSQANEY.js +139 -0
- package/dist/chunks/chunk-DXGCWLV3.js +112 -0
- package/dist/chunks/chunk-DYBXCHQT.js +151 -0
- package/dist/chunks/chunk-DZUWPAR6.js +263 -0
- package/dist/chunks/chunk-E2AHTGDJ.js +169 -0
- package/dist/chunks/chunk-E2CAA2IT.js +170 -0
- package/dist/chunks/chunk-E2KDHY2S.js +105 -0
- package/dist/chunks/chunk-E325RANG.js +80 -0
- package/dist/chunks/chunk-E3FMI2D5.js +358 -0
- package/dist/chunks/chunk-E4HJFILK.js +95 -0
- package/dist/chunks/chunk-E63JU2IC.js +154 -0
- package/dist/chunks/chunk-E6E3D5C6.js +232 -0
- package/dist/chunks/chunk-EF4SGQIV.js +130 -0
- package/dist/chunks/chunk-EFNM5MEU.js +45 -0
- package/dist/chunks/chunk-EFP2BOWS.js +166 -0
- package/dist/chunks/chunk-EJA5WPYZ.js +102 -0
- package/dist/chunks/chunk-EJY6GUJY.js +180 -0
- package/dist/chunks/chunk-EKVZURLF.js +299 -0
- package/dist/chunks/chunk-EMA57G3X.js +57 -0
- package/dist/chunks/chunk-EMMBFSU3.js +142 -0
- package/dist/chunks/chunk-ENCRJFHO.js +70 -0
- package/dist/chunks/chunk-EOFXX6RY.js +209 -0
- package/dist/chunks/chunk-EPQSVBY2.js +93 -0
- package/dist/chunks/chunk-ERMVLMCC.js +305 -0
- package/dist/chunks/chunk-ESUGFKTB.js +337 -0
- package/dist/chunks/chunk-ET4PP27Q.js +88 -0
- package/dist/chunks/chunk-EXGD6GG4.js +110 -0
- package/dist/chunks/chunk-EY3FW2CF.js +336 -0
- package/dist/chunks/chunk-F2ABG4UU.js +279 -0
- package/dist/chunks/chunk-F2EN6I5C.js +100 -0
- package/dist/chunks/chunk-F7NNXWRZ.js +150 -0
- package/dist/chunks/chunk-FBJ6SAWS.js +106 -0
- package/dist/chunks/chunk-FCFAJAYR.js +80 -0
- package/dist/chunks/chunk-FCNIZD4O.js +181 -0
- package/dist/chunks/chunk-FD3XIFXK.js +181 -0
- package/dist/chunks/chunk-FFMINBSO.js +147 -0
- package/dist/chunks/chunk-FGBNS4EK.js +209 -0
- package/dist/chunks/chunk-FGFLFP6C.js +358 -0
- package/dist/chunks/chunk-FHESI2IC.js +28 -0
- package/dist/chunks/chunk-FIDUMHOK.js +73 -0
- package/dist/chunks/chunk-FJP7PR4K.js +1469 -0
- package/dist/chunks/chunk-FKSBCSPM.js +97 -0
- package/dist/chunks/chunk-FLVPDRDN.js +156 -0
- package/dist/chunks/chunk-FMC6L2XE.js +284 -0
- package/dist/chunks/chunk-FMFSNMHK.js +267 -0
- package/dist/chunks/chunk-FN3RSPL5.js +83 -0
- package/dist/chunks/chunk-FNVY7WKW.js +155 -0
- package/dist/chunks/chunk-FO6UJPNG.js +208 -0
- package/dist/chunks/chunk-FQ4CWKWA.js +324 -0
- package/dist/chunks/chunk-FQIU5P7Y.js +106 -0
- package/dist/chunks/chunk-FQVG73TB.js +45 -0
- package/dist/chunks/chunk-FRB4LVDS.js +163 -0
- package/dist/chunks/chunk-FSQI5WFE.js +187 -0
- package/dist/chunks/chunk-FSVUPYFQ.js +33 -0
- package/dist/chunks/chunk-FXJKOSCN.js +59 -0
- package/dist/chunks/chunk-FY7YNCAL.js +85 -0
- package/dist/chunks/chunk-FZDCTQXH.js +84 -0
- package/dist/chunks/chunk-G36AY2BY.js +161 -0
- package/dist/chunks/chunk-G3BNYGFG.js +45 -0
- package/dist/chunks/chunk-G5LEQFTU.js +50 -0
- package/dist/chunks/chunk-G5SMD5ER.js +282 -0
- package/dist/chunks/chunk-G6IMCITC.js +175 -0
- package/dist/chunks/chunk-G7JKZHQ6.js +162 -0
- package/dist/chunks/chunk-GBBLW5YI.js +112 -0
- package/dist/chunks/chunk-GBK7GE2W.js +172 -0
- package/dist/chunks/chunk-GCABWNQZ.js +87 -0
- package/dist/chunks/chunk-GCGKGBN6.js +45 -0
- package/dist/chunks/chunk-GCKWFU4H.js +106 -0
- package/dist/chunks/chunk-GCMMCEL6.js +45 -0
- package/dist/chunks/chunk-GEGKV36L.js +95 -0
- package/dist/chunks/chunk-GFCU5X4N.js +90 -0
- package/dist/chunks/chunk-GIMDWCKQ.js +95 -0
- package/dist/chunks/chunk-GJGG2YY5.js +23 -0
- package/dist/chunks/chunk-GK3TICCH.js +177 -0
- package/dist/chunks/chunk-GKSYZ2IR.js +33 -0
- package/dist/chunks/chunk-GLNPCJQ4.js +91 -0
- package/dist/chunks/chunk-GMY4HEOJ.js +170 -0
- package/dist/chunks/chunk-GPG2LPJS.js +213 -0
- package/dist/chunks/chunk-GQBCOZYP.js +255 -0
- package/dist/chunks/chunk-GQD7GFT4.js +23 -0
- package/dist/chunks/chunk-GULRAEGN.js +115 -0
- package/dist/chunks/chunk-GUV4ZZYS.js +141 -0
- package/dist/chunks/chunk-GVS3QU5W.js +75 -0
- package/dist/chunks/chunk-GWE3FQXV.js +117 -0
- package/dist/chunks/chunk-GWSLCMSD.js +23 -0
- package/dist/chunks/chunk-GX4AASIE.js +63 -0
- package/dist/chunks/chunk-H2CIRYBJ.js +90 -0
- package/dist/chunks/chunk-H2HQGUDG.js +147 -0
- package/dist/chunks/chunk-H5H3ZPRR.js +149 -0
- package/dist/chunks/chunk-H6BZQ6UK.js +134 -0
- package/dist/chunks/chunk-HBELYGHD.js +102 -0
- package/dist/chunks/chunk-HC2IYOD2.js +92 -0
- package/dist/chunks/chunk-HCAORKTJ.js +238 -0
- package/dist/chunks/chunk-HDJFM4P2.js +23 -0
- package/dist/chunks/chunk-HDRN6QDB.js +315 -0
- package/dist/chunks/chunk-HDRZININ.js +149 -0
- package/dist/chunks/chunk-HFGFQFUE.js +83 -0
- package/dist/chunks/chunk-HG2Z32MP.js +162 -0
- package/dist/chunks/chunk-HGP3AZA6.js +85 -0
- package/dist/chunks/chunk-HHO5Y6CL.js +163 -0
- package/dist/chunks/chunk-HHXFTSND.js +330 -0
- package/dist/chunks/chunk-HIW6EAKH.js +99 -0
- package/dist/chunks/chunk-HOZ6BTHX.js +104 -0
- package/dist/chunks/chunk-HP52JYE2.js +33 -0
- package/dist/chunks/chunk-HPHQ4KKN.js +50 -0
- package/dist/chunks/chunk-HRXB4S66.js +102 -0
- package/dist/chunks/chunk-HS2OB37Z.js +13744 -0
- package/dist/chunks/chunk-HS2Z7QL6.js +198 -0
- package/dist/chunks/chunk-HSYBJYFV.js +165 -0
- package/dist/chunks/chunk-HU73CC64.js +106 -0
- package/dist/chunks/chunk-HW35MHMP.js +226 -0
- package/dist/chunks/chunk-HWP4LATJ.js +36 -0
- package/dist/chunks/chunk-HX6H6W5L.js +33 -0
- package/dist/chunks/chunk-HXM37GJZ.js +138 -0
- package/dist/chunks/chunk-HYCADEBD.js +261 -0
- package/dist/chunks/chunk-HZEN6T63.js +145 -0
- package/dist/chunks/chunk-HZVXXISD.js +33 -0
- package/dist/chunks/chunk-I46X2JB4.js +396 -0
- package/dist/chunks/chunk-I4M2MC7H.js +198 -0
- package/dist/chunks/chunk-I5H2XKO4.js +177 -0
- package/dist/chunks/chunk-I72LUTZF.js +297 -0
- package/dist/chunks/chunk-I742QHYK.js +33 -0
- package/dist/chunks/chunk-IB55G6FQ.js +228 -0
- package/dist/chunks/chunk-ICBRHKKT.js +320 -0
- package/dist/chunks/chunk-ICXXKXWI.js +100 -0
- package/dist/chunks/chunk-IEL6NNGC.js +108 -0
- package/dist/chunks/chunk-IHN3Y5LH.js +177 -0
- package/dist/chunks/chunk-IJ6V47OH.js +78 -0
- package/dist/chunks/chunk-IJHSAD5T.js +94 -0
- package/dist/chunks/chunk-IKQVH64B.js +53 -0
- package/dist/chunks/chunk-IMKXXY52.js +200 -0
- package/dist/chunks/chunk-INFXT3Z6.js +10754 -0
- package/dist/chunks/chunk-INHXJSXS.js +108 -0
- package/dist/chunks/chunk-IODAFC6O.js +94 -0
- package/dist/chunks/chunk-IT3RBOMM.js +317 -0
- package/dist/chunks/chunk-ITKIK6CV.js +327 -0
- package/dist/chunks/chunk-IV7V5VXL.js +33 -0
- package/dist/chunks/chunk-IWOVPQ6Y.js +80 -0
- package/dist/chunks/chunk-IWQC7G7G.js +129 -0
- package/dist/chunks/chunk-IWS7DQSK.js +130 -0
- package/dist/chunks/chunk-IZVCXMHQ.js +103 -0
- package/dist/chunks/chunk-J3GF4KOK.js +36 -0
- package/dist/chunks/chunk-J6HP7J5C.js +147 -0
- package/dist/chunks/chunk-JD2DXOW3.js +160 -0
- package/dist/chunks/chunk-JD6IPGZL.js +60 -0
- package/dist/chunks/chunk-JFFJDXHN.js +48 -0
- package/dist/chunks/chunk-JGI2FYR3.js +87 -0
- package/dist/chunks/chunk-JMMO725N.js +137 -0
- package/dist/chunks/chunk-JMVDHXB6.js +100 -0
- package/dist/chunks/chunk-JN2PBVZB.js +54 -0
- package/dist/chunks/chunk-JQLYDLQ3.js +301 -0
- package/dist/chunks/chunk-JRNBMQZG.js +23 -0
- package/dist/chunks/chunk-JSMAHMOV.js +88 -0
- package/dist/chunks/chunk-JTGY44YR.js +97 -0
- package/dist/chunks/chunk-JTXP2MBW.js +39 -0
- package/dist/chunks/chunk-JVCJARRI.js +45 -0
- package/dist/chunks/chunk-JWTKVK2V.js +237 -0
- package/dist/chunks/chunk-JY43CRRJ.js +33 -0
- package/dist/chunks/chunk-JYNTWZXB.js +191 -0
- package/dist/chunks/chunk-JZXATUDC.js +169 -0
- package/dist/chunks/chunk-K2NNE3B4.js +146 -0
- package/dist/chunks/chunk-K2NZOERC.js +84 -0
- package/dist/chunks/chunk-K4E7GE7O.js +159 -0
- package/dist/chunks/chunk-K7PGQIN6.js +141 -0
- package/dist/chunks/chunk-KA2XCC2O.js +107 -0
- package/dist/chunks/chunk-KA3C5TIW.js +1307 -0
- package/dist/chunks/chunk-KBHADD3D.js +100 -0
- package/dist/chunks/chunk-KBLBETHM.js +30 -0
- package/dist/chunks/chunk-KD6GLJR6.js +156 -0
- package/dist/chunks/chunk-KD7ORVMP.js +226 -0
- package/dist/chunks/chunk-KE7N4TN5.js +194 -0
- package/dist/chunks/chunk-KEH2XH7J.js +139 -0
- package/dist/chunks/chunk-KGBWBPDW.js +185 -0
- package/dist/chunks/chunk-KGXZH52R.js +84 -0
- package/dist/chunks/chunk-KJD3NTUE.js +81 -0
- package/dist/chunks/chunk-KJO2KSQW.js +48 -0
- package/dist/chunks/chunk-KLCE4OXR.js +79 -0
- package/dist/chunks/chunk-KMTXOPWI.js +304 -0
- package/dist/chunks/chunk-KNIEAN7D.js +108 -0
- package/dist/chunks/chunk-KOA5PZ6D.js +165 -0
- package/dist/chunks/chunk-KPOW74WO.js +728 -0
- package/dist/chunks/chunk-KPQWP6TZ.js +131 -0
- package/dist/chunks/chunk-KQAZSHOI.js +220 -0
- package/dist/chunks/chunk-KQPUYQY2.js +512 -0
- package/dist/chunks/chunk-KR3VSRCX.js +157 -0
- package/dist/chunks/chunk-KRXQLBLC.js +221 -0
- package/dist/chunks/chunk-KSR3DYDM.js +179 -0
- package/dist/chunks/chunk-KVS6QF5H.js +39 -0
- package/dist/chunks/chunk-KVYLDCSL.js +161 -0
- package/dist/chunks/chunk-KZKWTVDV.js +156 -0
- package/dist/chunks/chunk-KZPB53I4.js +163 -0
- package/dist/chunks/chunk-L2Q676X4.js +240 -0
- package/dist/chunks/chunk-L5W7LITT.js +122 -0
- package/dist/chunks/chunk-LAFKD4T5.js +81 -0
- package/dist/chunks/chunk-LBSPU6F5.js +176 -0
- package/dist/chunks/chunk-LEDOJVRA.js +213 -0
- package/dist/chunks/chunk-LEGYDN46.js +123 -0
- package/dist/chunks/chunk-LELC4V7D.js +81 -0
- package/dist/chunks/chunk-LHDNKVL5.js +86 -0
- package/dist/chunks/chunk-LHZ6CGZN.js +138 -0
- package/dist/chunks/chunk-LIPC3OPX.js +135 -0
- package/dist/chunks/chunk-LJ7U2U37.js +161 -0
- package/dist/chunks/chunk-LJKONMOY.js +209 -0
- package/dist/chunks/chunk-LKBL3QLU.js +230 -0
- package/dist/chunks/chunk-LLOQWBAE.js +45 -0
- package/dist/chunks/chunk-LMPRJDWH.js +261 -0
- package/dist/chunks/chunk-LODA7N22.js +175 -0
- package/dist/chunks/chunk-LOXBH74Y.js +79 -0
- package/dist/chunks/chunk-LPEYYDHA.js +183 -0
- package/dist/chunks/chunk-LQLI3MHM.js +23 -0
- package/dist/chunks/chunk-LU2PAB4U.js +111 -0
- package/dist/chunks/chunk-LUAXVHMG.js +122 -0
- package/dist/chunks/chunk-LURW43PC.js +78 -0
- package/dist/chunks/chunk-LVVJRWEC.js +589 -0
- package/dist/chunks/chunk-LWALQVKN.js +33 -0
- package/dist/chunks/chunk-LYUYF2CZ.js +33 -0
- package/dist/chunks/chunk-LYX2MSCP.js +334 -0
- package/dist/chunks/chunk-LZVUBD6T.js +358 -0
- package/dist/chunks/chunk-M2GXFIDR.js +113 -0
- package/dist/chunks/chunk-M4GKQPAD.js +164 -0
- package/dist/chunks/chunk-M64I5GG5.js +104 -0
- package/dist/chunks/chunk-M6NDVWQF.js +293 -0
- package/dist/chunks/chunk-M73W4ZQL.js +218 -0
- package/dist/chunks/chunk-MAIKVPLD.js +53 -0
- package/dist/chunks/chunk-MAVW7O5D.js +150 -0
- package/dist/chunks/chunk-MBXXM3KV.js +97 -0
- package/dist/chunks/chunk-MCMCCS4W.js +204 -0
- package/dist/chunks/chunk-MCMET72P.js +118 -0
- package/dist/chunks/chunk-MDD4PFHF.js +125 -0
- package/dist/chunks/chunk-MEBBTUXG.js +107 -0
- package/dist/chunks/chunk-MHMNPPPX.js +133 -0
- package/dist/chunks/chunk-MHVAWPLB.js +104 -0
- package/dist/chunks/chunk-MHWSZAJG.js +198 -0
- package/dist/chunks/chunk-MIIRGL4R.js +126 -0
- package/dist/chunks/chunk-MMRT5F3K.js +164 -0
- package/dist/chunks/chunk-MQ6V2UZ3.js +49 -0
- package/dist/chunks/chunk-MS5IBTDF.js +344 -0
- package/dist/chunks/chunk-MXZJVYTC.js +242 -0
- package/dist/chunks/chunk-MZHAVPZB.js +123 -0
- package/dist/chunks/chunk-MZTYDIIR.js +192 -0
- package/dist/chunks/chunk-N3LPIVR6.js +272 -0
- package/dist/chunks/chunk-N5EPZOB5.js +23 -0
- package/dist/chunks/chunk-N6JYJXIC.js +110 -0
- package/dist/chunks/chunk-NAYP5Y2B.js +146 -0
- package/dist/chunks/chunk-NCR2DSAW.js +118 -0
- package/dist/chunks/chunk-NELM4YKZ.js +212 -0
- package/dist/chunks/chunk-NHJQEYVA.js +226 -0
- package/dist/chunks/chunk-NL5GCMG6.js +23 -0
- package/dist/chunks/chunk-NMN4ULNZ.js +251 -0
- package/dist/chunks/chunk-NNGYKDTU.js +84 -0
- package/dist/chunks/chunk-NOYL3SF5.js +44 -0
- package/dist/chunks/chunk-NP4MMXWL.js +53 -0
- package/dist/chunks/chunk-NSHSFX3F.js +298 -0
- package/dist/chunks/chunk-NSRABPT6.js +41 -0
- package/dist/chunks/chunk-NTXT3O4J.js +157 -0
- package/dist/chunks/chunk-NUB5BCTZ.js +184 -0
- package/dist/chunks/chunk-NV4HHIJK.js +80 -0
- package/dist/chunks/chunk-NVKOYOT7.js +77 -0
- package/dist/chunks/chunk-NYKRONTO.js +169 -0
- package/dist/chunks/chunk-O32OFBRQ.js +247 -0
- package/dist/chunks/chunk-O3MOIWLZ.js +109 -0
- package/dist/chunks/chunk-O4JXZSCV.js +109 -0
- package/dist/chunks/chunk-O5S6RCNR.js +147 -0
- package/dist/chunks/chunk-O64QIUGC.js +961 -0
- package/dist/chunks/chunk-O6W5C6XY.js +143 -0
- package/dist/chunks/chunk-O736UVB7.js +103 -0
- package/dist/chunks/chunk-OCTF75G4.js +83 -0
- package/dist/chunks/chunk-OF2LIVZK.js +150 -0
- package/dist/chunks/chunk-OFMZOJP4.js +178 -0
- package/dist/chunks/chunk-OHHZSBBS.js +1574 -0
- package/dist/chunks/chunk-OIHM6WQL.js +497 -0
- package/dist/chunks/chunk-OINDNCAQ.js +122 -0
- package/dist/chunks/chunk-OIXYUUP5.js +969 -0
- package/dist/chunks/chunk-OKTJUKRI.js +155 -0
- package/dist/chunks/chunk-OLDHIFJY.js +368 -0
- package/dist/chunks/chunk-OMBTROFJ.js +100 -0
- package/dist/chunks/chunk-OMXHVOOA.js +103 -0
- package/dist/chunks/chunk-ONPV6QWK.js +33 -0
- package/dist/chunks/chunk-ONXYXSYQ.js +559 -0
- package/dist/chunks/chunk-ORFEGQ2J.js +1834 -0
- package/dist/chunks/chunk-ORU4ZQRY.js +215 -0
- package/dist/chunks/chunk-OTKL67ZX.js +207 -0
- package/dist/chunks/chunk-OVMLERIX.js +118 -0
- package/dist/chunks/chunk-OY5UOH5Z.js +304 -0
- package/dist/chunks/chunk-OYHYTKSI.js +172 -0
- package/dist/chunks/chunk-P2CRN534.js +278 -0
- package/dist/chunks/chunk-P2DJAKEY.js +106 -0
- package/dist/chunks/chunk-P2YZ5T34.js +225 -0
- package/dist/chunks/chunk-P3EA6V2K.js +85 -0
- package/dist/chunks/chunk-P3OGLKVJ.js +33 -0
- package/dist/chunks/chunk-P6B36XB7.js +30 -0
- package/dist/chunks/chunk-P7AD3YMN.js +256 -0
- package/dist/chunks/chunk-PBLBJDKR.js +156 -0
- package/dist/chunks/chunk-PBXLB3PH.js +115 -0
- package/dist/chunks/chunk-PDLD6UJH.js +98 -0
- package/dist/chunks/chunk-PFQNQVIE.js +92 -0
- package/dist/chunks/chunk-PFSRAPDL.js +134 -0
- package/dist/chunks/chunk-PGWIJOUE.js +105 -0
- package/dist/chunks/chunk-PHKZR7RG.js +196 -0
- package/dist/chunks/chunk-PHYCJF33.js +100 -0
- package/dist/chunks/chunk-PKRXZ7DA.js +163 -0
- package/dist/chunks/chunk-PLDTTKWC.js +196 -0
- package/dist/chunks/chunk-PMHWTWRA.js +149 -0
- package/dist/chunks/chunk-PMLVPCF3.js +655 -0
- package/dist/chunks/chunk-PNLRWU6Z.js +42 -0
- package/dist/chunks/chunk-POCNJOJJ.js +169 -0
- package/dist/chunks/chunk-PPWXKBL4.js +204 -0
- package/dist/chunks/chunk-PQXQISBE.js +204 -0
- package/dist/chunks/chunk-PV7452YW.js +99 -0
- package/dist/chunks/chunk-PWVPU5HY.js +303 -0
- package/dist/chunks/chunk-PY6VBRGD.js +120 -0
- package/dist/chunks/chunk-PYMQC264.js +62 -0
- package/dist/chunks/chunk-Q2I35XQ2.js +60 -0
- package/dist/chunks/chunk-Q3DL7R35.js +160 -0
- package/dist/chunks/chunk-Q4YO35AI.js +187 -0
- package/dist/chunks/chunk-Q557FTIH.js +23 -0
- package/dist/chunks/chunk-Q57R5BMX.js +48 -0
- package/dist/chunks/chunk-Q5SVJLKR.js +100 -0
- package/dist/chunks/chunk-Q7QFVO3X.js +36 -0
- package/dist/chunks/chunk-QDRY7WF4.js +200 -0
- package/dist/chunks/chunk-QED52AIX.js +102 -0
- package/dist/chunks/chunk-QF6CALRO.js +382 -0
- package/dist/chunks/chunk-QIS76ZNJ.js +361 -0
- package/dist/chunks/chunk-QLPTEOER.js +105 -0
- package/dist/chunks/chunk-QM4VNS7Y.js +130 -0
- package/dist/chunks/chunk-QMIRCEK7.js +33 -0
- package/dist/chunks/chunk-QNDMWEPA.js +305 -0
- package/dist/chunks/chunk-QP5M5VIG.js +147 -0
- package/dist/chunks/chunk-QQUOKLFU.js +163 -0
- package/dist/chunks/chunk-QRJUGG2U.js +79 -0
- package/dist/chunks/chunk-QU47H2UD.js +68 -0
- package/dist/chunks/chunk-QUDDGWMU.js +282 -0
- package/dist/chunks/chunk-QZENWZT3.js +195 -0
- package/dist/chunks/chunk-R2VZ3DHO.js +170 -0
- package/dist/chunks/chunk-R3BOETXR.js +197 -0
- package/dist/chunks/chunk-R3HLIQCO.js +137 -0
- package/dist/chunks/chunk-R4VFVORH.js +307 -0
- package/dist/chunks/chunk-R6IJD62C.js +122 -0
- package/dist/chunks/chunk-R7IIQNX4.js +1403 -0
- package/dist/chunks/chunk-RA4VYYSU.js +93 -0
- package/dist/chunks/chunk-RA5BS2IW.js +152 -0
- package/dist/chunks/chunk-RAIVDSOS.js +198 -0
- package/dist/chunks/chunk-RAPIX2KF.js +23 -0
- package/dist/chunks/chunk-RARZOUT4.js +99 -0
- package/dist/chunks/chunk-RB36M3HB.js +415 -0
- package/dist/chunks/chunk-RBOCSHB3.js +142 -0
- package/dist/chunks/chunk-RBXB45RB.js +100 -0
- package/dist/chunks/chunk-RCTH22WV.js +23 -0
- package/dist/chunks/chunk-RFWMVJ5B.js +118 -0
- package/dist/chunks/chunk-RH3CBWVE.js +199 -0
- package/dist/chunks/chunk-RHTGAFKD.js +805 -0
- package/dist/chunks/chunk-RIBYGK4Z.js +76 -0
- package/dist/chunks/chunk-RJAIACQZ.js +70 -0
- package/dist/chunks/chunk-RL5CEUPL.js +266 -0
- package/dist/chunks/chunk-RL6JNMJ2.js +149 -0
- package/dist/chunks/chunk-RLIQBPDF.js +23 -0
- package/dist/chunks/chunk-RLKXTA4X.js +83 -0
- package/dist/chunks/chunk-RLRI6WAH.js +84 -0
- package/dist/chunks/chunk-RMUB2YD7.js +77 -0
- package/dist/chunks/chunk-RNAVFS66.js +23 -0
- package/dist/chunks/chunk-RNHXXSPU.js +45 -0
- package/dist/chunks/chunk-RNXRNDND.js +45 -0
- package/dist/chunks/chunk-ROQYAHDT.js +646 -0
- package/dist/chunks/chunk-RU42BEZF.js +119 -0
- package/dist/chunks/chunk-RUBQBHHO.js +72 -0
- package/dist/chunks/chunk-RV7JJ357.js +220 -0
- package/dist/chunks/chunk-RVT2MATB.js +1393 -0
- package/dist/chunks/chunk-RVZQBLHI.js +33 -0
- package/dist/chunks/chunk-RW6W4HYU.js +182 -0
- package/dist/chunks/chunk-RYMBZCTD.js +164 -0
- package/dist/chunks/chunk-RZC4JLQZ.js +124 -0
- package/dist/chunks/chunk-S24TIGBB.js +109 -0
- package/dist/chunks/chunk-S4UWIXN6.js +95 -0
- package/dist/chunks/chunk-S52LY3UR.js +136 -0
- package/dist/chunks/chunk-S5AEYTNP.js +93 -0
- package/dist/chunks/chunk-S5S3N5XN.js +23 -0
- package/dist/chunks/chunk-S6PPXMO6.js +42 -0
- package/dist/chunks/chunk-S73KBRCM.js +184 -0
- package/dist/chunks/chunk-SAAE46DR.js +307 -0
- package/dist/chunks/chunk-SADIHGAO.js +198 -0
- package/dist/chunks/chunk-SB77S2YD.js +182 -0
- package/dist/chunks/chunk-SBZJSPF5.js +77 -0
- package/dist/chunks/chunk-SDNKO4IV.js +144 -0
- package/dist/chunks/chunk-SFEKANHA.js +298 -0
- package/dist/chunks/chunk-SFRNPBO6.js +122 -0
- package/dist/chunks/chunk-SGDHGVXK.js +152 -0
- package/dist/chunks/chunk-SKMB75CJ.js +104 -0
- package/dist/chunks/chunk-SMB4E2GQ.js +261 -0
- package/dist/chunks/chunk-SMO2MUYJ.js +209 -0
- package/dist/chunks/chunk-SPHWPTAV.js +250 -0
- package/dist/chunks/chunk-SQB5O7YE.js +171 -0
- package/dist/chunks/chunk-SQEK3ST7.js +192 -0
- package/dist/chunks/chunk-SR6X6GKD.js +103 -0
- package/dist/chunks/chunk-SS4YLL4I.js +78 -0
- package/dist/chunks/chunk-STUC6FRK.js +224 -0
- package/dist/chunks/chunk-SUVMMN6N.js +86 -0
- package/dist/chunks/chunk-SWIYXVEI.js +79 -0
- package/dist/chunks/chunk-SWPLD6BP.js +173 -0
- package/dist/chunks/chunk-SXR7XU4I.js +96 -0
- package/dist/chunks/chunk-T472GBPT.js +174 -0
- package/dist/chunks/chunk-T5FDQKSP.js +115 -0
- package/dist/chunks/chunk-T7L2KPO4.js +83 -0
- package/dist/chunks/chunk-TA3DWSMR.js +73 -0
- package/dist/chunks/chunk-TAJW3QID.js +262 -0
- package/dist/chunks/chunk-TCPP5RWC.js +161 -0
- package/dist/chunks/chunk-TFJRLYPC.js +153 -0
- package/dist/chunks/chunk-TGDJVJSI.js +52 -0
- package/dist/chunks/chunk-THHWIUUA.js +399 -0
- package/dist/chunks/chunk-TJEB6B5P.js +249 -0
- package/dist/chunks/chunk-TJXACX4L.js +224 -0
- package/dist/chunks/chunk-TMIRLRD5.js +200 -0
- package/dist/chunks/chunk-TMVZESYU.js +111 -0
- package/dist/chunks/chunk-TMZ726BR.js +167 -0
- package/dist/chunks/chunk-TQ7KIYHM.js +149 -0
- package/dist/chunks/chunk-TRRSY6W3.js +145 -0
- package/dist/chunks/chunk-TTNVHG7J.js +151 -0
- package/dist/chunks/chunk-TUBD4ATK.js +86 -0
- package/dist/chunks/chunk-TVO6OQO2.js +242 -0
- package/dist/chunks/chunk-TWAWCRWC.js +139 -0
- package/dist/chunks/chunk-TWXPGGXQ.js +86 -0
- package/dist/chunks/chunk-TYCPYQXK.js +104 -0
- package/dist/chunks/chunk-U2F7JQG7.js +141 -0
- package/dist/chunks/chunk-U33EC5HQ.js +131 -0
- package/dist/chunks/chunk-U3PVDOFC.js +165 -0
- package/dist/chunks/chunk-U4CMDICS.js +150 -0
- package/dist/chunks/chunk-U5YBGRIV.js +74 -0
- package/dist/chunks/chunk-U67MBU5A.js +171 -0
- package/dist/chunks/chunk-U7LC6ZA6.js +103 -0
- package/dist/chunks/chunk-U7VFBOMW.js +188 -0
- package/dist/chunks/chunk-UBXL5GZD.js +192 -0
- package/dist/chunks/chunk-UBZ2ONVZ.js +145 -0
- package/dist/chunks/chunk-UCXTAFZZ.js +123 -0
- package/dist/chunks/chunk-UD5R2EL4.js +273 -0
- package/dist/chunks/chunk-UDLLUAYU.js +112 -0
- package/dist/chunks/chunk-UDODVDRN.js +685 -0
- package/dist/chunks/chunk-UFINQ424.js +23 -0
- package/dist/chunks/chunk-UFX2GXEN.js +91 -0
- package/dist/chunks/chunk-UI5JV3L4.js +70 -0
- package/dist/chunks/chunk-UIQ7OCCB.js +94 -0
- package/dist/chunks/chunk-UPK4JITG.js +60 -0
- package/dist/chunks/chunk-USIUSDOQ.js +141 -0
- package/dist/chunks/chunk-UUIYNBZI.js +292 -0
- package/dist/chunks/chunk-UVUBIGZD.js +93 -0
- package/dist/chunks/chunk-UWHAZ5GX.js +55 -0
- package/dist/chunks/chunk-UWJXVK2J.js +153 -0
- package/dist/chunks/chunk-V2P2TGQT.js +145 -0
- package/dist/chunks/chunk-V2UXRPWO.js +130 -0
- package/dist/chunks/chunk-V4UPAMMQ.js +331 -0
- package/dist/chunks/chunk-V4ZZ7CS5.js +391 -0
- package/dist/chunks/chunk-V6ZVJORK.js +304 -0
- package/dist/chunks/chunk-V7KZI5TG.js +44 -0
- package/dist/chunks/chunk-VAJC5RBD.js +41 -0
- package/dist/chunks/chunk-VAWZT6Y5.js +195 -0
- package/dist/chunks/chunk-VEWXW5HQ.js +848 -0
- package/dist/chunks/chunk-VGJ7EEHV.js +115 -0
- package/dist/chunks/chunk-VI5TZGMO.js +33 -0
- package/dist/chunks/chunk-VILHHVVE.js +128 -0
- package/dist/chunks/chunk-VIXJRH33.js +261 -0
- package/dist/chunks/chunk-VJPXMFBY.js +128 -0
- package/dist/chunks/chunk-VM7VI5VA.js +105 -0
- package/dist/chunks/chunk-VMD5ODI7.js +311 -0
- package/dist/chunks/chunk-VMTJMB5Z.js +97 -0
- package/dist/chunks/chunk-VNYATM7I.js +221 -0
- package/dist/chunks/chunk-VO565ZH2.js +23 -0
- package/dist/chunks/chunk-VOHLU5A7.js +49 -0
- package/dist/chunks/chunk-VP7QPGZP.js +260 -0
- package/dist/chunks/chunk-VQEX5T4I.js +33 -0
- package/dist/chunks/chunk-VQKPFKTW.js +23 -0
- package/dist/chunks/chunk-VRBHPWCQ.js +70 -0
- package/dist/chunks/chunk-VT5CUNX3.js +150 -0
- package/dist/chunks/chunk-VWOTSH7H.js +152 -0
- package/dist/chunks/chunk-VWYW2DTK.js +177 -0
- package/dist/chunks/chunk-VZPXWDMX.js +33 -0
- package/dist/chunks/chunk-W26KGDLO.js +146 -0
- package/dist/chunks/chunk-W2BV5BMO.js +360 -0
- package/dist/chunks/chunk-W6EIDQ7S.js +120 -0
- package/dist/chunks/chunk-W6PNQ4E4.js +45 -0
- package/dist/chunks/chunk-W75QCBCV.js +351 -0
- package/dist/chunks/chunk-W7HWYLOF.js +23 -0
- package/dist/chunks/chunk-W7IAHYST.js +362 -0
- package/dist/chunks/chunk-WA7ZDNWY.js +69 -0
- package/dist/chunks/chunk-WAEU27TH.js +98 -0
- package/dist/chunks/chunk-WAVENQRO.js +23 -0
- package/dist/chunks/chunk-WAYWFXXB.js +179 -0
- package/dist/chunks/chunk-WBYGOPQL.js +82 -0
- package/dist/chunks/chunk-WCF4FV5X.js +146 -0
- package/dist/chunks/chunk-WCQ7LVLM.js +108 -0
- package/dist/chunks/chunk-WDE45UKB.js +95 -0
- package/dist/chunks/chunk-WEKUFG2H.js +23 -0
- package/dist/chunks/chunk-WEKUUO4T.js +33 -0
- package/dist/chunks/chunk-WF2TS6JG.js +126 -0
- package/dist/chunks/chunk-WFIOZCBS.js +167 -0
- package/dist/chunks/chunk-WK4L2YAM.js +90 -0
- package/dist/chunks/chunk-WKE7ZZDF.js +45 -0
- package/dist/chunks/chunk-WLK2ZNFT.js +287 -0
- package/dist/chunks/chunk-WM7DKIXE.js +147 -0
- package/dist/chunks/chunk-WNXEFXPH.js +110 -0
- package/dist/chunks/chunk-WO5PG2HF.js +36 -0
- package/dist/chunks/chunk-WOULEKKE.js +122 -0
- package/dist/chunks/chunk-WP57R54N.js +166 -0
- package/dist/chunks/chunk-WQW4OQ4V.js +93 -0
- package/dist/chunks/chunk-WR5EM3YA.js +30 -0
- package/dist/chunks/chunk-WR6U2V2U.js +178 -0
- package/dist/chunks/chunk-WREOHLQD.js +45 -0
- package/dist/chunks/chunk-WTBI33QZ.js +2168 -0
- package/dist/chunks/chunk-WVAXCXH2.js +366 -0
- package/dist/chunks/chunk-WVH54XSA.js +33 -0
- package/dist/chunks/chunk-WXAXA2U2.js +166 -0
- package/dist/chunks/chunk-WY7VKGAH.js +176 -0
- package/dist/chunks/chunk-WYXAOAKZ.js +95 -0
- package/dist/chunks/chunk-WZVFQAPV.js +33 -0
- package/dist/chunks/chunk-X525UKAJ.js +158 -0
- package/dist/chunks/chunk-X5XQWXW3.js +78 -0
- package/dist/chunks/chunk-X6W3OFT6.js +45 -0
- package/dist/chunks/chunk-X6WC6UB2.js +173 -0
- package/dist/chunks/chunk-X74FX5AY.js +151 -0
- package/dist/chunks/chunk-X77ESFUL.js +77 -0
- package/dist/chunks/chunk-X7HG63Z6.js +136 -0
- package/dist/chunks/chunk-XDBUIXXW.js +36 -0
- package/dist/chunks/chunk-XFRCONOK.js +23 -0
- package/dist/chunks/chunk-XG5TP5ZZ.js +61 -0
- package/dist/chunks/chunk-XL5M4VPW.js +46 -0
- package/dist/chunks/chunk-XNIGJLOQ.js +82 -0
- package/dist/chunks/chunk-XPVRE3M6.js +66 -0
- package/dist/chunks/chunk-XPZZA66T.js +23 -0
- package/dist/chunks/chunk-XQNELUDS.js +33 -0
- package/dist/chunks/chunk-XQQ722CJ.js +63 -0
- package/dist/chunks/chunk-XRHOGZRN.js +120 -0
- package/dist/chunks/chunk-XSKXJX6J.js +135 -0
- package/dist/chunks/chunk-XTPP7SAM.js +23 -0
- package/dist/chunks/chunk-XVMA44YI.js +65 -0
- package/dist/chunks/chunk-Y2E4VI2G.js +89 -0
- package/dist/chunks/chunk-Y2XCDNZE.js +140 -0
- package/dist/chunks/chunk-Y37RQPXI.js +180 -0
- package/dist/chunks/chunk-Y3MHUXVL.js +51 -0
- package/dist/chunks/chunk-Y4BFZLMI.js +248 -0
- package/dist/chunks/chunk-Y4PAQJJB.js +129 -0
- package/dist/chunks/chunk-Y5P752JT.js +117 -0
- package/dist/chunks/chunk-Y6COPGTK.js +1309 -0
- package/dist/chunks/chunk-Y7QLVSSD.js +130 -0
- package/dist/chunks/chunk-YA2ZW7CR.js +117 -0
- package/dist/chunks/chunk-YAAZDJBL.js +163 -0
- package/dist/chunks/chunk-YAGVOQB4.js +50 -0
- package/dist/chunks/chunk-YC5BROLP.js +33 -0
- package/dist/chunks/chunk-YC673WDD.js +85 -0
- package/dist/chunks/chunk-YFLHEBHI.js +181 -0
- package/dist/chunks/chunk-YGDJHREC.js +124 -0
- package/dist/chunks/chunk-YGMBSJT3.js +260 -0
- package/dist/chunks/chunk-YIJVTT6M.js +23 -0
- package/dist/chunks/chunk-YIKINIAU.js +160 -0
- package/dist/chunks/chunk-YIOQBG7Y.js +102 -0
- package/dist/chunks/chunk-YKJ2W33C.js +305 -0
- package/dist/chunks/chunk-YL57SFRK.js +222 -0
- package/dist/chunks/chunk-YOBNMW2P.js +92 -0
- package/dist/chunks/chunk-YPAFREZN.js +366 -0
- package/dist/chunks/chunk-YPVCYDTZ.js +105 -0
- package/dist/chunks/chunk-YQ2QDNDJ.js +96 -0
- package/dist/chunks/chunk-YQV75JLA.js +266 -0
- package/dist/chunks/chunk-YSLZPCOH.js +119 -0
- package/dist/chunks/chunk-YXNGBYXP.js +140 -0
- package/dist/chunks/chunk-YYCD4UKR.js +158 -0
- package/dist/chunks/chunk-YYHIVGOM.js +79 -0
- package/dist/chunks/chunk-YYLL2WD2.js +94 -0
- package/dist/chunks/chunk-YZPEJD6G.js +71 -0
- package/dist/chunks/chunk-Z2QKY7J6.js +210 -0
- package/dist/chunks/chunk-Z3DBBAID.js +182 -0
- package/dist/chunks/chunk-Z4RAW5RQ.js +105 -0
- package/dist/chunks/chunk-Z5FF7IQS.js +215 -0
- package/dist/chunks/chunk-Z5MXYHEB.js +165 -0
- package/dist/chunks/chunk-Z7XHECOH.js +178 -0
- package/dist/chunks/chunk-ZAFQXZAR.js +121 -0
- package/dist/chunks/chunk-ZBASK5BH.js +138 -0
- package/dist/chunks/chunk-ZCDSZPCP.js +155 -0
- package/dist/chunks/chunk-ZGYD6KT5.js +255 -0
- package/dist/chunks/chunk-ZIPCAQIG.js +23 -0
- package/dist/chunks/chunk-ZJ7B7YKU.js +98 -0
- package/dist/chunks/chunk-ZJGYMU6A.js +53 -0
- package/dist/chunks/chunk-ZL7ERYHT.js +101 -0
- package/dist/chunks/chunk-ZLL7FMNB.js +97 -0
- package/dist/chunks/chunk-ZLNJCXUE.js +327 -0
- package/dist/chunks/chunk-ZMMQNZD6.js +55 -0
- package/dist/chunks/chunk-ZOHSJLGA.js +206 -0
- package/dist/chunks/chunk-ZOSNGXVU.js +193 -0
- package/dist/chunks/chunk-ZQOVQIKH.js +652 -0
- package/dist/chunks/chunk-ZT5L3K4V.js +109 -0
- package/dist/chunks/chunk-ZTFG6JL3.js +112 -0
- package/dist/chunks/chunk-ZULIAVTH.js +114 -0
- package/dist/chunks/chunk-ZVBPCTQU.js +202 -0
- package/dist/chunks/chunk-ZXR7CVPG.js +201 -0
- package/dist/chunks/chunk-ZZNPN4FE.js +74 -0
- package/dist/chunks/chunk-ZZWU4UKF.js +93 -0
- package/dist/chunks/client-5JG76IRY.js +31 -0
- package/dist/chunks/client-J2CEFNNJ.js +168 -0
- package/dist/chunks/client-USADLBHL.js +47 -0
- package/dist/chunks/client-actions-BDMDUTKV.js +170 -0
- package/dist/chunks/components-R2D3UTW2.js +78 -0
- package/dist/chunks/dangerous-CSMKGMH5.js +124 -0
- package/dist/chunks/delete-current-file-IPFR4LGR.js +163 -0
- package/dist/chunks/editor-seams-V6QN3NRV.js +183 -0
- package/dist/chunks/editor-store-LFC7Q6FA.js +148 -0
- package/dist/chunks/export-ZWF4Q7SZ.js +67 -0
- package/dist/chunks/export-watermark-4B3VT33V.js +157 -0
- package/dist/chunks/eyedropper-NQV6WLIO.js +355 -0
- package/dist/chunks/generate-media-667HC3DS.js +255 -0
- package/dist/chunks/host-MI5OA5ON.js +184 -0
- package/dist/chunks/host-WFZOO3JZ.js +246 -0
- package/dist/chunks/integrations-TKAQTJ4W.js +125 -0
- package/dist/chunks/libraries-PVZQHBBL.js +311 -0
- package/dist/chunks/live-E3E2EQSX.js +322 -0
- package/dist/chunks/lottie-EFY3WPC6.js +91 -0
- package/dist/chunks/media-tool-X7NIB5IC.js +237 -0
- package/dist/chunks/new-file-MGITD74I.js +140 -0
- package/dist/chunks/next-commerce-IFNKONWU.js +74 -0
- package/dist/chunks/pdf-HAC4JSHV.js +1218 -0
- package/dist/chunks/player-check-H7XGXXWB.js +119 -0
- package/dist/chunks/plugin-3YMDASGH.js +131 -0
- package/dist/chunks/plugin-import-NJ2ZP5RO.js +692 -0
- package/dist/chunks/presence-WTXABWRA.js +137 -0
- package/dist/chunks/project-AMUIERR4.js +1601 -0
- package/dist/chunks/publish-site-QROHMC5W.js +167 -0
- package/dist/chunks/publish-store-XTLNNMHO.js +100 -0
- package/dist/chunks/raster-actions-LFNRYKTH.js +233 -0
- package/dist/chunks/reference-images-DB2IDEWE.js +62 -0
- package/dist/chunks/registry-4M4N3IQT.js +49 -0
- package/dist/chunks/resolvers-RPGPN4SR.js +150 -0
- package/dist/chunks/runner-DEH434GQ.js +3546 -0
- package/dist/chunks/store-VBOC3NDV.js +235 -0
- package/dist/chunks/storefront-ROZDVGKJ.js +336 -0
- package/dist/chunks/storefront-prepare-4GVMVMLY.js +33 -0
- package/dist/chunks/svg-export-CNQLK5RK.js +84 -0
- package/dist/chunks/sync-4O2XASRY.js +162 -0
- package/dist/chunks/tabs-KO6KUDKI.js +320 -0
- package/dist/chunks/team-O2EEUEUW.js +47 -0
- package/dist/chunks/team-client-RTB6EDGA.js +158 -0
- package/dist/chunks/tools-2HIPIKFT.js +37 -0
- package/dist/chunks/tree-Q4SOEAM2.js +83 -0
- package/dist/chunks/ui-commands-L2H7GUOZ.js +191 -0
- package/dist/chunks/versions-A2OXUUBN.js +320 -0
- package/dist/chunks/web-PFNWTIRX.js +186 -0
- package/dist/index.js +7 -7
- package/dist/lib/templates/capabilities.js +4 -4
- package/dist/lib/templates/finish.js +5 -5
- package/dist/migrations/index.js +7 -7
- package/dist/migrations/timeline-facets.js +7 -7
- package/dist/templates/anime/character.js +8 -8
- package/dist/templates/anime/duel.js +10 -10
- package/dist/templates/anime/morning.js +10 -10
- package/dist/templates/anime/rain.js +10 -10
- package/dist/templates/anime/shared.js +9 -9
- package/dist/templates/anime/starlight.js +10 -10
- package/dist/templates/anime/titan.js +10 -10
- package/dist/templates/app/festival-presale-electronic-ticket.js +9 -9
- package/dist/templates/app/festival-presale-family-ticket.js +9 -9
- package/dist/templates/app/festival-presale-folk-ticket.js +9 -9
- package/dist/templates/app/festival-presale-food-ticket.js +9 -9
- package/dist/templates/app/festival-presale-jazz-ticket.js +9 -9
- package/dist/templates/app/festival-presale-street-ticket.js +9 -9
- package/dist/templates/app/music-grove.js +7 -7
- package/dist/templates/app/music-nightline.js +7 -7
- package/dist/templates/app/music-orbit.js +7 -7
- package/dist/templates/app/music-undertow.js +7 -7
- package/dist/templates/app/onboarding-carousel.js +7 -7
- package/dist/templates/app/saas-store-paywall.js +7 -7
- package/dist/templates/app/splash.js +7 -7
- package/dist/templates/app/success-confetti.js +7 -7
- package/dist/templates/app/tour-tickets-june-ticket.js +7 -7
- package/dist/templates/app/tour-tickets-tide-ticket.js +7 -7
- package/dist/templates/app/tour-tickets-wreck-ticket.js +7 -7
- package/dist/templates/build.js +6 -6
- package/dist/templates/cards/index.js +9 -9
- package/dist/templates/cards/shared.js +7 -7
- package/dist/templates/cards/themes.js +8 -8
- package/dist/templates/count.js +4 -4
- package/dist/templates/data/bars.js +7 -7
- package/dist/templates/data/countdown-story.js +7 -7
- package/dist/templates/data/counters.js +7 -7
- package/dist/templates/data/donut.js +7 -7
- package/dist/templates/data/line.js +7 -7
- package/dist/templates/data/year-in-review.js +7 -7
- package/dist/templates/effects/glass-intro.js +7 -7
- package/dist/templates/effects/glass-promo.js +7 -7
- package/dist/templates/effects/grain-story.js +7 -7
- package/dist/templates/effects/grid-intro.js +7 -7
- package/dist/templates/effects/halftone-story.js +7 -7
- package/dist/templates/effects/mesh-story.js +7 -7
- package/dist/templates/effects/shader-title.js +7 -7
- package/dist/templates/email/april-fools-header.js +7 -7
- package/dist/templates/email/art-deco-invitation.js +7 -7
- package/dist/templates/email/autumn-harvest-header.js +7 -7
- package/dist/templates/email/back-to-school-header.js +7 -7
- package/dist/templates/email/black-friday-coupons-header.js +7 -7
- package/dist/templates/email/black-friday-header.js +7 -7
- package/dist/templates/email/black-friday-neon-header.js +7 -7
- package/dist/templates/email/black-friday-scratch-header.js +7 -7
- package/dist/templates/email/black-friday-ticker-header.js +7 -7
- package/dist/templates/email/broadsheet-weekly-edition-header.js +7 -7
- package/dist/templates/email/claymation-header.js +7 -7
- package/dist/templates/email/countdown-gif.js +7 -7
- package/dist/templates/email/cyberpunk-header.js +7 -7
- package/dist/templates/email/diwali-header.js +7 -7
- package/dist/templates/email/earth-day-header.js +7 -7
- package/dist/templates/email/festival-presale-electronic-header.js +9 -9
- package/dist/templates/email/festival-presale-family-header.js +9 -9
- package/dist/templates/email/festival-presale-folk-header.js +9 -9
- package/dist/templates/email/festival-presale-food-header.js +9 -9
- package/dist/templates/email/festival-presale-jazz-header.js +9 -9
- package/dist/templates/email/festival-presale-street-header.js +9 -9
- package/dist/templates/email/gothic-header.js +7 -7
- package/dist/templates/email/halloween-header.js +7 -7
- package/dist/templates/email/header-launch.js +7 -7
- package/dist/templates/email/header-newsletter.js +7 -7
- package/dist/templates/email/header-sale.js +7 -7
- package/dist/templates/email/lunar-new-year-header.js +7 -7
- package/dist/templates/email/manuscript-chronicle-header.js +7 -7
- package/dist/templates/email/new-year-header.js +7 -7
- package/dist/templates/email/noir-header.js +7 -7
- package/dist/templates/email/psychedelic-header.js +7 -7
- package/dist/templates/email/riso-zine-changelog-header.js +7 -7
- package/dist/templates/email/saas-mail-changelog.js +9 -9
- package/dist/templates/email/saas-mail-day-one.js +9 -9
- package/dist/templates/email/saas-mail-day-three.js +9 -9
- package/dist/templates/email/saas-mail-launch.js +9 -9
- package/dist/templates/email/saas-mail-payment-failed.js +9 -9
- package/dist/templates/email/saas-mail-sign-in-code.js +9 -9
- package/dist/templates/email/saas-mail-trial-ending.js +9 -9
- package/dist/templates/email/saas-mail-waitlist.js +9 -9
- package/dist/templates/email/singles-day-header.js +7 -7
- package/dist/templates/email/solarpunk-header.js +7 -7
- package/dist/templates/email/space-opera-header.js +7 -7
- package/dist/templates/email/spring-bloom-header.js +7 -7
- package/dist/templates/email/style-bento-header.js +7 -7
- package/dist/templates/email/style-brutalist-header.js +7 -7
- package/dist/templates/email/style-dark-header.js +7 -7
- package/dist/templates/email/style-data-header.js +7 -7
- package/dist/templates/email/style-editorial-header.js +7 -7
- package/dist/templates/email/style-glass-header.js +7 -7
- package/dist/templates/email/style-gradient-header.js +7 -7
- package/dist/templates/email/style-maximal-header.js +7 -7
- package/dist/templates/email/style-pastel-header.js +7 -7
- package/dist/templates/email/style-sketch-header.js +7 -7
- package/dist/templates/email/style-swiss-header.js +7 -7
- package/dist/templates/email/style-terminal-header.js +7 -7
- package/dist/templates/email/summer-heatwave-header.js +7 -7
- package/dist/templates/email/tour-tickets-june-header.js +7 -7
- package/dist/templates/email/tour-tickets-tide-header.js +7 -7
- package/dist/templates/email/tour-tickets-wreck-header.js +7 -7
- package/dist/templates/email/transit-map-service-update.js +7 -7
- package/dist/templates/email/ukiyo-e-greeting-header.js +7 -7
- package/dist/templates/email/valentines-header.js +7 -7
- package/dist/templates/email/winter-cosy-header.js +7 -7
- package/dist/templates/email/winter-holidays-header.js +7 -7
- package/dist/templates/game/blossom-bash-puzzle.js +7 -7
- package/dist/templates/game/deckbound-roguelike.js +7 -7
- package/dist/templates/game/emberfall-rpg.js +7 -7
- package/dist/templates/game/hearthmoor-farm.js +7 -7
- package/dist/templates/game/index.js +20 -20
- package/dist/templates/game/iron-lotus-fighter.js +7 -7
- package/dist/templates/game/ironroot-rts.js +7 -7
- package/dist/templates/game/mossy-hollow-platformer.js +9 -9
- package/dist/templates/game/neon-apex-racing.js +7 -7
- package/dist/templates/game/platformer.js +8 -8
- package/dist/templates/game/pulse-riot-rhythm.js +7 -7
- package/dist/templates/game/sprout-quest-pixel-platformer.js +9 -9
- package/dist/templates/game/vanta-fps.js +7 -7
- package/dist/templates/index.js +825 -825
- package/dist/templates/kinetic/letters.js +7 -7
- package/dist/templates/kinetic/lines.js +7 -7
- package/dist/templates/kinetic/typewriter.js +7 -7
- package/dist/templates/kinetic/word-swap.js +7 -7
- package/dist/templates/kinetic/words.js +7 -7
- package/dist/templates/libraries/audio-reactive.js +7 -7
- package/dist/templates/libraries/loaders.js +7 -7
- package/dist/templates/libraries/micro-interactions.js +7 -7
- package/dist/templates/libraries/motion-essentials.js +7 -7
- package/dist/templates/libraries/toasts.js +7 -7
- package/dist/templates/lottie/ai.js +8 -8
- package/dist/templates/lottie/climate.js +8 -8
- package/dist/templates/lottie/commerce.js +8 -8
- package/dist/templates/lottie/education.js +8 -8
- package/dist/templates/lottie/fintech.js +8 -8
- package/dist/templates/lottie/food.js +8 -8
- package/dist/templates/lottie/health.js +8 -8
- package/dist/templates/lottie/index.js +32 -32
- package/dist/templates/lottie/lottie-kit.js +7 -7
- package/dist/templates/lottie/realestate.js +8 -8
- package/dist/templates/lottie/saas-ui-checklist.js +9 -9
- package/dist/templates/lottie/saas-ui-dashboard-hero.js +9 -9
- package/dist/templates/lottie/saas-ui-empty-data.js +9 -9
- package/dist/templates/lottie/saas-ui-empty-search.js +9 -9
- package/dist/templates/lottie/saas-ui-error-retry.js +9 -9
- package/dist/templates/lottie/saas-ui-file-upload.js +9 -9
- package/dist/templates/lottie/saas-ui-streaming-answer.js +9 -9
- package/dist/templates/lottie/saas-ui-sync-connected.js +9 -9
- package/dist/templates/lottie/saas-ui-trial-timeline.js +9 -9
- package/dist/templates/lottie/saas-ui-upgrade-unlocked.js +9 -9
- package/dist/templates/lottie/saas-ui.js +19 -19
- package/dist/templates/lottie/saas.js +8 -8
- package/dist/templates/lottie/security.js +8 -8
- package/dist/templates/lottie/techniques.js +8 -8
- package/dist/templates/lottie/travel.js +8 -8
- package/dist/templates/motion/ai-trailer/index.js +7 -7
- package/dist/templates/motion/ambient-loop.js +7 -7
- package/dist/templates/motion/app-icon-sting.js +7 -7
- package/dist/templates/motion/april-fools-infomercial-reel.js +7 -7
- package/dist/templates/motion/arcade-high-score.js +7 -7
- package/dist/templates/motion/art-deco-grand-opening.js +7 -7
- package/dist/templates/motion/autumn-harvest-year-reel.js +7 -7
- package/dist/templates/motion/back-to-school-timetable-reel.js +7 -7
- package/dist/templates/motion/bauhaus-launch-reel.js +7 -7
- package/dist/templates/motion/black-friday-coupons-deal-reel.js +7 -7
- package/dist/templates/motion/black-friday-coupons-last-day.js +7 -7
- package/dist/templates/motion/black-friday-deal-drop.js +7 -7
- package/dist/templates/motion/black-friday-neon-deal-reel.js +7 -7
- package/dist/templates/motion/black-friday-neon-last-day.js +7 -7
- package/dist/templates/motion/black-friday-scratch-countdown.js +7 -7
- package/dist/templates/motion/black-friday-scratch-deal-reel.js +7 -7
- package/dist/templates/motion/black-friday-scratch-last-day.js +7 -7
- package/dist/templates/motion/black-friday-ticker-deal-drop.js +7 -7
- package/dist/templates/motion/black-friday-ticker-last-call.js +7 -7
- package/dist/templates/motion/blueprint-rev-b-reel.js +7 -7
- package/dist/templates/motion/broadsheet-launch-reel.js +7 -7
- package/dist/templates/motion/broadsheet-milestone-post.js +7 -7
- package/dist/templates/motion/claymation-launch-reel.js +7 -7
- package/dist/templates/motion/comic-book-issue-reel.js +7 -7
- package/dist/templates/motion/countdown.js +7 -7
- package/dist/templates/motion/cyberpunk-lock-on-reel.js +7 -7
- package/dist/templates/motion/departure-board-reel.js +7 -7
- package/dist/templates/motion/diwali-lamps-reel.js +7 -7
- package/dist/templates/motion/earth-day-footprint-reel.js +7 -7
- package/dist/templates/motion/earth-day-pledge-post.js +7 -7
- package/dist/templates/motion/festival-presale-electronic-countdown.js +9 -9
- package/dist/templates/motion/festival-presale-electronic-lineup.js +9 -9
- package/dist/templates/motion/festival-presale-electronic-reel.js +9 -9
- package/dist/templates/motion/festival-presale-electronic-tier.js +9 -9
- package/dist/templates/motion/festival-presale-family-countdown.js +9 -9
- package/dist/templates/motion/festival-presale-family-lineup.js +9 -9
- package/dist/templates/motion/festival-presale-family-reel.js +9 -9
- package/dist/templates/motion/festival-presale-family-tier.js +9 -9
- package/dist/templates/motion/festival-presale-folk-countdown.js +9 -9
- package/dist/templates/motion/festival-presale-folk-lineup.js +9 -9
- package/dist/templates/motion/festival-presale-folk-reel.js +9 -9
- package/dist/templates/motion/festival-presale-folk-tier.js +9 -9
- package/dist/templates/motion/festival-presale-food-countdown.js +9 -9
- package/dist/templates/motion/festival-presale-food-lineup.js +9 -9
- package/dist/templates/motion/festival-presale-food-reel.js +9 -9
- package/dist/templates/motion/festival-presale-food-tier.js +9 -9
- package/dist/templates/motion/festival-presale-jazz-countdown.js +9 -9
- package/dist/templates/motion/festival-presale-jazz-lineup.js +9 -9
- package/dist/templates/motion/festival-presale-jazz-reel.js +9 -9
- package/dist/templates/motion/festival-presale-jazz-tier.js +9 -9
- package/dist/templates/motion/festival-presale-street-countdown.js +9 -9
- package/dist/templates/motion/festival-presale-street-lineup.js +9 -9
- package/dist/templates/motion/festival-presale-street-reel.js +9 -9
- package/dist/templates/motion/festival-presale-street-tier.js +9 -9
- package/dist/templates/motion/gothic-launch-reel.js +7 -7
- package/dist/templates/motion/halloween-graveyard-reel.js +7 -7
- package/dist/templates/motion/instagram-promo.js +7 -7
- package/dist/templates/motion/kinetic-headline.js +7 -7
- package/dist/templates/motion/landing-hero/index.js +9 -9
- package/dist/templates/motion/launch-trailer/document.js +825 -825
- package/dist/templates/motion/launch-trailer/index.js +9 -9
- package/dist/templates/motion/launch-trailer/scenes.js +8 -8
- package/dist/templates/motion/logo-reveal.js +7 -7
- package/dist/templates/motion/lower-third.js +7 -7
- package/dist/templates/motion/lunar-new-year-envelope-reel.js +7 -7
- package/dist/templates/motion/machined-trailer.js +7 -7
- package/dist/templates/motion/manuscript-launch-reel.js +7 -7
- package/dist/templates/motion/new-year-ball-drop-reel.js +7 -7
- package/dist/templates/motion/noir-case-reel.js +7 -7
- package/dist/templates/motion/pitch-title.js +7 -7
- package/dist/templates/motion/psychedelic-gig-reel.js +7 -7
- package/dist/templates/motion/riso-zine-launch-reel.js +7 -7
- package/dist/templates/motion/saas-ai-prompt.js +7 -7
- package/dist/templates/motion/saas-before-after.js +7 -7
- package/dist/templates/motion/saas-changelog-drop.js +7 -7
- package/dist/templates/motion/saas-film-webinar-opener.js +7 -7
- package/dist/templates/motion/saas-hook-features.js +7 -7
- package/dist/templates/motion/saas-mrr-milestone.js +7 -7
- package/dist/templates/motion/saas-screen-demo.js +7 -7
- package/dist/templates/motion/saas-store-install-ad.js +7 -7
- package/dist/templates/motion/saas-testimonial.js +7 -7
- package/dist/templates/motion/saas-vs-comparison.js +7 -7
- package/dist/templates/motion/singles-day-flash-post.js +7 -7
- package/dist/templates/motion/singles-day-live-reel.js +7 -7
- package/dist/templates/motion/smooth-loop.js +7 -7
- package/dist/templates/motion/solarpunk-rooftop-reel.js +7 -7
- package/dist/templates/motion/space-opera-countdown-reel.js +7 -7
- package/dist/templates/motion/spring-bloom-first-hundred-post.js +7 -7
- package/dist/templates/motion/spring-bloom-first-shoots-reel.js +7 -7
- package/dist/templates/motion/stat-pop.js +7 -7
- package/dist/templates/motion/style-bento-feature-demo.js +7 -7
- package/dist/templates/motion/style-bento-launch-reel.js +7 -7
- package/dist/templates/motion/style-brutalist-feature-demo.js +7 -7
- package/dist/templates/motion/style-brutalist-launch-reel.js +7 -7
- package/dist/templates/motion/style-dark-feature-demo.js +7 -7
- package/dist/templates/motion/style-dark-launch-reel.js +7 -7
- package/dist/templates/motion/style-data-feature-demo.js +7 -7
- package/dist/templates/motion/style-data-launch-reel.js +7 -7
- package/dist/templates/motion/style-editorial-feature-demo.js +7 -7
- package/dist/templates/motion/style-editorial-launch-reel.js +7 -7
- package/dist/templates/motion/style-glass-feature-demo.js +7 -7
- package/dist/templates/motion/style-glass-launch-reel.js +7 -7
- package/dist/templates/motion/style-gradient-feature-demo.js +7 -7
- package/dist/templates/motion/style-gradient-launch-reel.js +7 -7
- package/dist/templates/motion/style-maximal-beat-cut.js +7 -7
- package/dist/templates/motion/style-maximal-feature-demo.js +7 -7
- package/dist/templates/motion/style-maximal-launch-reel.js +7 -7
- package/dist/templates/motion/style-pastel-feature-demo.js +7 -7
- package/dist/templates/motion/style-pastel-launch-reel.js +7 -7
- package/dist/templates/motion/style-sketch-feature-demo.js +7 -7
- package/dist/templates/motion/style-sketch-launch-reel.js +7 -7
- package/dist/templates/motion/style-swiss-feature-demo.js +7 -7
- package/dist/templates/motion/style-swiss-launch-reel.js +7 -7
- package/dist/templates/motion/style-terminal-feature-demo.js +7 -7
- package/dist/templates/motion/style-terminal-launch-reel.js +7 -7
- package/dist/templates/motion/summer-heatwave-lido-reel.js +7 -7
- package/dist/templates/motion/template-wall.js +7 -7
- package/dist/templates/motion/title-card-3d.js +7 -7
- package/dist/templates/motion/tour-tickets-june-city.js +7 -7
- package/dist/templates/motion/tour-tickets-june-dates.js +7 -7
- package/dist/templates/motion/tour-tickets-june-final.js +7 -7
- package/dist/templates/motion/tour-tickets-june-reel.js +7 -7
- package/dist/templates/motion/tour-tickets-tide-city.js +7 -7
- package/dist/templates/motion/tour-tickets-tide-dates.js +7 -7
- package/dist/templates/motion/tour-tickets-tide-final.js +7 -7
- package/dist/templates/motion/tour-tickets-tide-reel.js +7 -7
- package/dist/templates/motion/tour-tickets-wreck-city.js +7 -7
- package/dist/templates/motion/tour-tickets-wreck-dates.js +7 -7
- package/dist/templates/motion/tour-tickets-wreck-final.js +7 -7
- package/dist/templates/motion/tour-tickets-wreck-reel.js +7 -7
- package/dist/templates/motion/transit-map-line-opening.js +7 -7
- package/dist/templates/motion/transit-map-milestone-post.js +7 -7
- package/dist/templates/motion/ukiyo-e-launch-reel.js +7 -7
- package/dist/templates/motion/valentines-breakup-reel.js +7 -7
- package/dist/templates/motion/vaporwave-launch-reel.js +7 -7
- package/dist/templates/motion/winter-cosy-heads-down-post.js +7 -7
- package/dist/templates/motion/winter-cosy-hibernation-reel.js +7 -7
- package/dist/templates/motion/winter-holidays-advent-reel.js +7 -7
- package/dist/templates/motion3d/app-store-preview.js +7 -7
- package/dist/templates/motion3d/before-after-swing.js +7 -7
- package/dist/templates/motion3d/burger-reveal.js +7 -7
- package/dist/templates/motion3d/coverflow.js +7 -7
- package/dist/templates/motion3d/exploded-ui.js +7 -7
- package/dist/templates/motion3d/feature-flip.js +7 -7
- package/dist/templates/motion3d/kinetic-reveal.js +7 -7
- package/dist/templates/motion3d/laptop-reveal.js +7 -7
- package/dist/templates/motion3d/logo-extrude.js +7 -7
- package/dist/templates/motion3d/parallax-cascade.js +7 -7
- package/dist/templates/motion3d/phone-orbit.js +7 -7
- package/dist/templates/motion3d/pricing-fan.js +7 -7
- package/dist/templates/motion3d/product-turntable.js +7 -7
- package/dist/templates/motion3d/saas-film-cinematic-trailer.js +7 -7
- package/dist/templates/motion3d/screen-wall.js +7 -7
- package/dist/templates/motion3d/vertical-promo.js +7 -7
- package/dist/templates/music/edm-drop.js +7 -7
- package/dist/templates/music/festival-lineup.js +7 -7
- package/dist/templates/music/hiphop-lyrics.js +7 -7
- package/dist/templates/music/indie-poster.js +7 -7
- package/dist/templates/music/lofi-loop.js +7 -7
- package/dist/templates/music/podcast-audiogram.js +7 -7
- package/dist/templates/music/synthwave-tunnel.js +7 -7
- package/dist/templates/print/comic-hero-cascade.js +7 -7
- package/dist/templates/print/comic-hero-chase.js +7 -7
- package/dist/templates/print/comic-hero-cover-modern.js +7 -7
- package/dist/templates/print/comic-hero-grid-break.js +7 -7
- package/dist/templates/print/comic-hero-interrogation.js +7 -7
- package/dist/templates/print/comic-hero-issue.js +18 -18
- package/dist/templates/print/comic-hero-manga-action.js +7 -7
- package/dist/templates/print/comic-hero-nested.js +7 -7
- package/dist/templates/print/comic-hero-overlap.js +7 -7
- package/dist/templates/print/comic-hero-parallel.js +7 -7
- package/dist/templates/print/comic-hero-pinup.js +7 -7
- package/dist/templates/print/comic-hero-widescreen.js +7 -7
- package/dist/templates/print/comic-modern-action-slant.js +7 -7
- package/dist/templates/print/comic-modern-cover-pulp.js +7 -7
- package/dist/templates/print/comic-modern-flashback.js +7 -7
- package/dist/templates/print/comic-modern-issue.js +16 -16
- package/dist/templates/print/comic-modern-nine-grid.js +7 -7
- package/dist/templates/print/comic-modern-page-classic.js +7 -7
- package/dist/templates/print/comic-modern-polyptych.js +7 -7
- package/dist/templates/print/comic-modern-radial.js +7 -7
- package/dist/templates/print/comic-modern-splash.js +7 -7
- package/dist/templates/print/comic-modern-spread.js +7 -7
- package/dist/templates/print/everyday-save-the-date.js +7 -7
- package/dist/templates/print/everyday-specials-board.js +7 -7
- package/dist/templates/print/holidays-christmas-church-newsletter.js +7 -7
- package/dist/templates/print/holidays-christmas-eve-invitation.js +7 -7
- package/dist/templates/print/holidays-christmas-gift-tags.js +7 -7
- package/dist/templates/print/holidays-diwali-party-invitation.js +7 -7
- package/dist/templates/print/holidays-easter-activity-sheet.js +7 -7
- package/dist/templates/print/holidays-easter-egg-hunt-flyer.js +7 -7
- package/dist/templates/print/holidays-eid-dinner-invitation.js +7 -7
- package/dist/templates/print/holidays-eid-gift-tags.js +7 -7
- package/dist/templates/print/holidays-halloween-party-invitation.js +7 -7
- package/dist/templates/print/holidays-halloween-treat-labels.js +7 -7
- package/dist/templates/print/holidays-halloween-trunk-or-treat-poster.js +7 -7
- package/dist/templates/print/holidays-hanukkah-activity-sheet.js +7 -7
- package/dist/templates/print/holidays-hanukkah-party-invitation.js +7 -7
- package/dist/templates/print/holidays-lunar-new-year-banquet-menu.js +7 -7
- package/dist/templates/print/holidays-new-years-eve-poster.js +7 -7
- package/dist/templates/print/holidays-thanksgiving-dinner-menu.js +7 -7
- package/dist/templates/print/holidays-thanksgiving-place-cards.js +7 -7
- package/dist/templates/print/holidays-valentines-dinner-menu.js +7 -7
- package/dist/templates/print/knit-christmas-tree-sweater.js +7 -7
- package/dist/templates/print/knit-nordic-snowflake-sweater.js +7 -7
- package/dist/templates/print/knit-snowflake-beanie.js +7 -7
- package/dist/templates/print/printshop-booklet-open-day.js +7 -7
- package/dist/templates/print/printshop-brochure-community.js +7 -7
- package/dist/templates/print/printshop-brochure-dental.js +7 -7
- package/dist/templates/print/printshop-brochure-gym.js +7 -7
- package/dist/templates/print/printshop-brochure-landscaping.js +7 -7
- package/dist/templates/print/printshop-brochure-travel.js +7 -7
- package/dist/templates/print/printshop-card-architect.js +7 -7
- package/dist/templates/print/printshop-card-barber.js +7 -7
- package/dist/templates/print/printshop-card-cafe.js +7 -7
- package/dist/templates/print/printshop-card-developer.js +7 -7
- package/dist/templates/print/printshop-card-florist.js +7 -7
- package/dist/templates/print/printshop-card-lawyer.js +7 -7
- package/dist/templates/print/printshop-card-photographer.js +7 -7
- package/dist/templates/print/printshop-card-plumber.js +7 -7
- package/dist/templates/print/printshop-card-realtor.js +7 -7
- package/dist/templates/print/printshop-card-yoga.js +7 -7
- package/dist/templates/print/printshop-flyer-charity-run.js +7 -7
- package/dist/templates/print/printshop-flyer-farmers-market.js +7 -7
- package/dist/templates/print/printshop-flyer-garage-sale.js +7 -7
- package/dist/templates/print/printshop-flyer-grand-opening.js +7 -7
- package/dist/templates/print/printshop-flyer-lost-pet.js +7 -7
- package/dist/templates/print/printshop-flyer-tutoring.js +7 -7
- package/dist/templates/print/printshop-flyer-yard-work.js +7 -7
- package/dist/templates/print/printshop-poster-live-music.js +7 -7
- package/dist/templates/print/studio-class-timetable-poster.js +7 -7
- package/dist/templates/print/studio-portfolio-booklet.js +7 -7
- package/dist/templates/saas/email-decks-shared.js +8 -8
- package/dist/templates/saas/email-decks.js +19 -19
- package/dist/templates/saas/index.js +190 -190
- package/dist/templates/saas/launch-kit.js +16 -16
- package/dist/templates/saas/launch-video.js +13 -13
- package/dist/templates/saas/lottie-shared.js +8 -8
- package/dist/templates/saas/stores.js +16 -16
- package/dist/templates/saas/style-bento.js +16 -16
- package/dist/templates/saas/style-brutalist.js +16 -16
- package/dist/templates/saas/style-dark.js +16 -16
- package/dist/templates/saas/style-data.js +16 -16
- package/dist/templates/saas/style-editorial.js +16 -16
- package/dist/templates/saas/style-glass.js +16 -16
- package/dist/templates/saas/style-gradient.js +16 -16
- package/dist/templates/saas/style-maximal.js +17 -17
- package/dist/templates/saas/style-pastel.js +16 -16
- package/dist/templates/saas/style-sketch.js +16 -16
- package/dist/templates/saas/style-swiss.js +16 -16
- package/dist/templates/saas/style-terminal.js +16 -16
- package/dist/templates/saas/video.js +15 -15
- package/dist/templates/saas/web.js +19 -19
- package/dist/templates/scenes/before-after.js +7 -7
- package/dist/templates/scenes/carousel-video.js +7 -7
- package/dist/templates/scenes/saas-film-app-preview.js +7 -7
- package/dist/templates/scenes/saas-film-bright-trailer.js +7 -7
- package/dist/templates/scenes/saas-film-product-hunt-launch.js +7 -7
- package/dist/templates/scenes/saas-film-youtube-demo-kit.js +7 -7
- package/dist/templates/scenes/story-ad.js +7 -7
- package/dist/templates/scenes/story-bakery.js +7 -7
- package/dist/templates/scenes/story-fitness.js +7 -7
- package/dist/templates/scenes/story-hotel.js +7 -7
- package/dist/templates/scenes/transitions-pack.js +7 -7
- package/dist/templates/scenes/web-scroll.js +7 -7
- package/dist/templates/slides/agenda.js +8 -8
- package/dist/templates/slides/deck.js +7 -7
- package/dist/templates/slides/education.js +8 -8
- package/dist/templates/slides/launch.js +8 -8
- package/dist/templates/slides/layouts.js +8 -8
- package/dist/templates/slides/pitch.js +8 -8
- package/dist/templates/slides/report.js +8 -8
- package/dist/templates/slides/saas-mail-investor-update.js +9 -9
- package/dist/templates/slides/saas-mail-seed-pitch.js +9 -9
- package/dist/templates/slides/sales.js +8 -8
- package/dist/templates/slides/section-divider.js +8 -8
- package/dist/templates/slides/title-card.js +8 -8
- package/dist/templates/slides/training.js +8 -8
- package/dist/templates/slides/webinar.js +8 -8
- package/dist/templates/slideshow/adoption.js +8 -8
- package/dist/templates/slideshow/baby.js +8 -8
- package/dist/templates/slideshow/birthday.js +8 -8
- package/dist/templates/slideshow/graduation.js +8 -8
- package/dist/templates/slideshow/holiday.js +8 -8
- package/dist/templates/slideshow/home.js +8 -8
- package/dist/templates/slideshow/index.js +15 -15
- package/dist/templates/slideshow/lease.js +8 -8
- package/dist/templates/slideshow/memorial.js +8 -8
- package/dist/templates/slideshow/portfolio.js +8 -8
- package/dist/templates/slideshow/product.js +8 -8
- package/dist/templates/slideshow/recipe.js +8 -8
- package/dist/templates/slideshow/shared.js +7 -7
- package/dist/templates/slideshow/team.js +8 -8
- package/dist/templates/slideshow/travel.js +8 -8
- package/dist/templates/slideshow/wedding.js +8 -8
- package/dist/templates/slideshow/year.js +8 -8
- package/dist/templates/social/april-fools-link-preview.js +7 -7
- package/dist/templates/social/april-fools-price-slash-post.js +7 -7
- package/dist/templates/social/arcade-boss-fight.js +7 -7
- package/dist/templates/social/arcade-level-up.js +7 -7
- package/dist/templates/social/art-deco-link-preview.js +7 -7
- package/dist/templates/social/art-deco-premiere-post.js +7 -7
- package/dist/templates/social/autumn-harvest-link-preview.js +7 -7
- package/dist/templates/social/autumn-harvest-thanks-post.js +7 -7
- package/dist/templates/social/back-to-school-link-preview.js +7 -7
- package/dist/templates/social/back-to-school-report-card-post.js +7 -7
- package/dist/templates/social/bauhaus-drift-post.js +7 -7
- package/dist/templates/social/bauhaus-link-preview.js +7 -7
- package/dist/templates/social/bauhaus-pricing-post.js +7 -7
- package/dist/templates/social/black-friday-ads.js +7 -7
- package/dist/templates/social/black-friday-countdown.js +7 -7
- package/dist/templates/social/black-friday-coupons-ads.js +7 -7
- package/dist/templates/social/black-friday-coupons-countdown.js +7 -7
- package/dist/templates/social/black-friday-neon-ads.js +7 -7
- package/dist/templates/social/black-friday-neon-countdown.js +7 -7
- package/dist/templates/social/black-friday-scratch-ads.js +7 -7
- package/dist/templates/social/black-friday-ticker-ads.js +7 -7
- package/dist/templates/social/black-friday-ticker-countdown.js +7 -7
- package/dist/templates/social/blueprint-dimension-post.js +7 -7
- package/dist/templates/social/blueprint-link-preview.js +7 -7
- package/dist/templates/social/blueprint-parts-list-post.js +7 -7
- package/dist/templates/social/broadsheet-hiring-classifieds.js +7 -7
- package/dist/templates/social/broadsheet-link-preview.js +7 -7
- package/dist/templates/social/claymation-link-preview.js +7 -7
- package/dist/templates/social/claymation-streak-post.js +7 -7
- package/dist/templates/social/comic-book-cover-preview.js +7 -7
- package/dist/templates/social/comic-book-strip-post.js +7 -7
- package/dist/templates/social/cyberpunk-implant-post.js +7 -7
- package/dist/templates/social/cyberpunk-link-preview.js +7 -7
- package/dist/templates/social/departure-board-pass-ad.js +7 -7
- package/dist/templates/social/departure-board-store-set.js +7 -7
- package/dist/templates/social/departure-board-thanks-post.js +7 -7
- package/dist/templates/social/diwali-link-preview.js +7 -7
- package/dist/templates/social/diwali-thanks-post.js +7 -7
- package/dist/templates/social/earth-day-link-preview.js +7 -7
- package/dist/templates/social/everyday-save-the-date-post.js +7 -7
- package/dist/templates/social/festival-presale-electronic-ads.js +9 -9
- package/dist/templates/social/festival-presale-family-ads.js +9 -9
- package/dist/templates/social/festival-presale-folk-ads.js +9 -9
- package/dist/templates/social/festival-presale-food-ads.js +9 -9
- package/dist/templates/social/festival-presale-jazz-ads.js +9 -9
- package/dist/templates/social/festival-presale-street-ads.js +9 -9
- package/dist/templates/social/gothic-feature-post.js +7 -7
- package/dist/templates/social/gothic-link-preview.js +7 -7
- package/dist/templates/social/halloween-link-preview.js +7 -7
- package/dist/templates/social/halloween-offer-post.js +7 -7
- package/dist/templates/social/holidays-diwali-sweet-shop-post.js +7 -7
- package/dist/templates/social/holidays-lunar-new-year-bakery-post.js +7 -7
- package/dist/templates/social/holidays-new-years-eve-shop-hours.js +7 -7
- package/dist/templates/social/holidays-thanksgiving-pie-orders-post.js +7 -7
- package/dist/templates/social/holidays-valentines-florist-post.js +7 -7
- package/dist/templates/social/lunar-new-year-greeting-post.js +7 -7
- package/dist/templates/social/lunar-new-year-link-preview.js +7 -7
- package/dist/templates/social/machined-link-preview.js +7 -7
- package/dist/templates/social/machined-plate-post.js +7 -7
- package/dist/templates/social/manuscript-chapter-post.js +7 -7
- package/dist/templates/social/manuscript-link-preview.js +7 -7
- package/dist/templates/social/new-year-link-preview.js +7 -7
- package/dist/templates/social/new-year-resolutions-post.js +7 -7
- package/dist/templates/social/noir-case-file.js +7 -7
- package/dist/templates/social/noir-feature-post.js +7 -7
- package/dist/templates/social/post-announcement.js +7 -7
- package/dist/templates/social/post-event.js +7 -7
- package/dist/templates/social/post-podcast.js +7 -7
- package/dist/templates/social/post-quote.js +7 -7
- package/dist/templates/social/post-sale.js +7 -7
- package/dist/templates/social/post-stat.js +7 -7
- package/dist/templates/social/post-testimonial.js +7 -7
- package/dist/templates/social/promo-announcement.js +7 -7
- package/dist/templates/social/promo-beat-drop.js +7 -7
- package/dist/templates/social/promo-event.js +7 -7
- package/dist/templates/social/promo-new-product.js +7 -7
- package/dist/templates/social/promo-quote-reveal.js +7 -7
- package/dist/templates/social/promo-sale-drop.js +7 -7
- package/dist/templates/social/promo-tip-list.js +7 -7
- package/dist/templates/social/psychedelic-lineup-post.js +7 -7
- package/dist/templates/social/psychedelic-link-preview.js +7 -7
- package/dist/templates/social/riso-zine-link-preview.js +7 -7
- package/dist/templates/social/riso-zine-mrr-poster.js +7 -7
- package/dist/templates/social/saas-kit-carousel.js +7 -7
- package/dist/templates/social/saas-kit-countdown-post.js +7 -7
- package/dist/templates/social/saas-kit-feature-drop.js +7 -7
- package/dist/templates/social/saas-kit-link-preview.js +7 -7
- package/dist/templates/social/saas-kit-live-post.js +7 -7
- package/dist/templates/social/saas-kit-mrr-card.js +7 -7
- package/dist/templates/social/saas-kit-ph-gallery.js +7 -7
- package/dist/templates/social/saas-kit-ph-thumb.js +7 -7
- package/dist/templates/social/saas-kit-youtube-thumbs.js +7 -7
- package/dist/templates/social/saas-store-b2b-ads.js +7 -7
- package/dist/templates/social/saas-store-caption-set.js +7 -7
- package/dist/templates/social/saas-store-chrome-kit.js +7 -7
- package/dist/templates/social/saas-store-ipad-set.js +7 -7
- package/dist/templates/social/saas-store-panorama.js +7 -7
- package/dist/templates/social/saas-store-play-kit.js +7 -7
- package/dist/templates/social/saas-store-story.js +7 -7
- package/dist/templates/social/singles-day-link-preview.js +7 -7
- package/dist/templates/social/solarpunk-impact-post.js +7 -7
- package/dist/templates/social/solarpunk-link-preview.js +7 -7
- package/dist/templates/social/space-opera-link-preview.js +7 -7
- package/dist/templates/social/space-opera-mission-patch-post.js +7 -7
- package/dist/templates/social/spring-bloom-link-preview.js +7 -7
- package/dist/templates/social/studio-class-timetable.js +7 -7
- package/dist/templates/social/studio-podcast-cover.js +7 -7
- package/dist/templates/social/style-bento-announcement.js +7 -7
- package/dist/templates/social/style-bento-link-preview.js +7 -7
- package/dist/templates/social/style-bento-milestone.js +7 -7
- package/dist/templates/social/style-bento-testimonial.js +7 -7
- package/dist/templates/social/style-brutalist-announcement.js +7 -7
- package/dist/templates/social/style-brutalist-link-preview.js +7 -7
- package/dist/templates/social/style-brutalist-milestone.js +7 -7
- package/dist/templates/social/style-brutalist-testimonial.js +7 -7
- package/dist/templates/social/style-dark-announcement.js +7 -7
- package/dist/templates/social/style-dark-link-preview.js +7 -7
- package/dist/templates/social/style-dark-milestone.js +7 -7
- package/dist/templates/social/style-dark-testimonial.js +7 -7
- package/dist/templates/social/style-data-announcement.js +7 -7
- package/dist/templates/social/style-data-link-preview.js +7 -7
- package/dist/templates/social/style-data-milestone.js +7 -7
- package/dist/templates/social/style-data-testimonial.js +7 -7
- package/dist/templates/social/style-editorial-announcement.js +7 -7
- package/dist/templates/social/style-editorial-link-preview.js +7 -7
- package/dist/templates/social/style-editorial-milestone.js +7 -7
- package/dist/templates/social/style-editorial-testimonial.js +7 -7
- package/dist/templates/social/style-glass-announcement.js +7 -7
- package/dist/templates/social/style-glass-link-preview.js +7 -7
- package/dist/templates/social/style-glass-milestone.js +7 -7
- package/dist/templates/social/style-glass-testimonial.js +7 -7
- package/dist/templates/social/style-gradient-announcement.js +7 -7
- package/dist/templates/social/style-gradient-link-preview.js +7 -7
- package/dist/templates/social/style-gradient-milestone.js +7 -7
- package/dist/templates/social/style-gradient-testimonial.js +7 -7
- package/dist/templates/social/style-maximal-announcement.js +7 -7
- package/dist/templates/social/style-maximal-link-preview.js +7 -7
- package/dist/templates/social/style-maximal-milestone.js +7 -7
- package/dist/templates/social/style-maximal-testimonial.js +7 -7
- package/dist/templates/social/style-pastel-announcement.js +7 -7
- package/dist/templates/social/style-pastel-link-preview.js +7 -7
- package/dist/templates/social/style-pastel-milestone.js +7 -7
- package/dist/templates/social/style-pastel-testimonial.js +7 -7
- package/dist/templates/social/style-sketch-announcement.js +7 -7
- package/dist/templates/social/style-sketch-link-preview.js +7 -7
- package/dist/templates/social/style-sketch-milestone.js +7 -7
- package/dist/templates/social/style-sketch-testimonial.js +7 -7
- package/dist/templates/social/style-swiss-announcement.js +7 -7
- package/dist/templates/social/style-swiss-link-preview.js +7 -7
- package/dist/templates/social/style-swiss-milestone.js +7 -7
- package/dist/templates/social/style-swiss-testimonial.js +7 -7
- package/dist/templates/social/style-terminal-announcement.js +7 -7
- package/dist/templates/social/style-terminal-link-preview.js +7 -7
- package/dist/templates/social/style-terminal-milestone.js +7 -7
- package/dist/templates/social/style-terminal-testimonial.js +7 -7
- package/dist/templates/social/summer-heatwave-link-preview.js +7 -7
- package/dist/templates/social/summer-heatwave-lolly-post.js +7 -7
- package/dist/templates/social/tour-tickets-june-ads.js +7 -7
- package/dist/templates/social/tour-tickets-tide-ads.js +7 -7
- package/dist/templates/social/tour-tickets-wreck-ads.js +7 -7
- package/dist/templates/social/transit-map-link-preview.js +7 -7
- package/dist/templates/social/ukiyo-e-link-preview.js +7 -7
- package/dist/templates/social/ukiyo-e-spike-post.js +7 -7
- package/dist/templates/social/valentines-link-preview.js +7 -7
- package/dist/templates/social/valentines-poem-post.js +7 -7
- package/dist/templates/social/vaporwave-feature-drop.js +7 -7
- package/dist/templates/social/vaporwave-link-preview.js +7 -7
- package/dist/templates/social/winter-cosy-link-preview.js +7 -7
- package/dist/templates/social/winter-holidays-link-preview.js +7 -7
- package/dist/templates/social/winter-holidays-thanks-post.js +7 -7
- package/dist/templates/stings/line-reveal.js +7 -7
- package/dist/templates/stings/sting-blur.js +7 -7
- package/dist/templates/stings/sting-pop.js +7 -7
- package/dist/templates/stings/sting-rise.js +7 -7
- package/dist/templates/stings/sting-shimmer.js +7 -7
- package/dist/templates/stings/word-swap.js +7 -7
- package/dist/templates/text/stat-counter.js +7 -7
- package/dist/templates/text/word-quote.js +7 -7
- package/dist/templates/themes/april-fools.js +12 -12
- package/dist/templates/themes/arcade.js +11 -11
- package/dist/templates/themes/art-deco.js +12 -12
- package/dist/templates/themes/autumn-harvest.js +12 -12
- package/dist/templates/themes/back-to-school.js +12 -12
- package/dist/templates/themes/bauhaus.js +12 -12
- package/dist/templates/themes/black-friday-coupons.js +13 -13
- package/dist/templates/themes/black-friday-neon.js +13 -13
- package/dist/templates/themes/black-friday-scratch.js +13 -13
- package/dist/templates/themes/black-friday-ticker.js +13 -13
- package/dist/templates/themes/black-friday.js +12 -12
- package/dist/templates/themes/blueprint.js +12 -12
- package/dist/templates/themes/broadsheet.js +13 -13
- package/dist/templates/themes/claymation.js +12 -12
- package/dist/templates/themes/comic-book.js +21 -21
- package/dist/templates/themes/comic-hero.js +19 -19
- package/dist/templates/themes/comic-indie.js +7 -7
- package/dist/templates/themes/cyberpunk.js +12 -12
- package/dist/templates/themes/departure-board.js +12 -12
- package/dist/templates/themes/diwali.js +12 -12
- package/dist/templates/themes/earth-day.js +12 -12
- package/dist/templates/themes/everyday.js +13 -13
- package/dist/templates/themes/festival-presale-electronic-kit.js +8 -8
- package/dist/templates/themes/festival-presale-family-a-shared.js +7 -7
- package/dist/templates/themes/festival-presale-family-a.js +32 -32
- package/dist/templates/themes/festival-presale-family-b-shared.js +7 -7
- package/dist/templates/themes/festival-presale-family-b.js +32 -32
- package/dist/templates/themes/festival-presale-family-kit.js +8 -8
- package/dist/templates/themes/festival-presale-folk-kit.js +8 -8
- package/dist/templates/themes/festival-presale-food-kit.js +8 -8
- package/dist/templates/themes/festival-presale-jazz-kit.js +8 -8
- package/dist/templates/themes/festival-presale-street-kit.js +8 -8
- package/dist/templates/themes/festival-presale.js +13 -13
- package/dist/templates/themes/gothic.js +12 -12
- package/dist/templates/themes/halloween.js +12 -12
- package/dist/templates/themes/holidays.js +33 -33
- package/dist/templates/themes/index.js +425 -425
- package/dist/templates/themes/lunar-new-year.js +12 -12
- package/dist/templates/themes/machined.js +11 -11
- package/dist/templates/themes/manuscript.js +12 -12
- package/dist/templates/themes/memories.js +16 -16
- package/dist/templates/themes/new-year.js +12 -12
- package/dist/templates/themes/noir.js +12 -12
- package/dist/templates/themes/printshop.js +31 -31
- package/dist/templates/themes/psychedelic.js +12 -12
- package/dist/templates/themes/riso-zine.js +12 -12
- package/dist/templates/themes/singles-day.js +12 -12
- package/dist/templates/themes/solarpunk.js +12 -12
- package/dist/templates/themes/space-opera.js +12 -12
- package/dist/templates/themes/spring-bloom.js +12 -12
- package/dist/templates/themes/studio.js +12 -12
- package/dist/templates/themes/summer-heatwave.js +12 -12
- package/dist/templates/themes/tour-tickets.js +31 -31
- package/dist/templates/themes/transit-map.js +12 -12
- package/dist/templates/themes/ukiyo-e.js +12 -12
- package/dist/templates/themes/valentines.js +12 -12
- package/dist/templates/themes/vaporwave.js +11 -11
- package/dist/templates/themes/winter-cosy.js +12 -12
- package/dist/templates/themes/winter-holidays.js +12 -12
- package/dist/templates/video/youtube-chapter.js +7 -7
- package/dist/templates/video/youtube-end-screen.js +7 -7
- package/dist/templates/video/youtube-intro.js +7 -7
- package/dist/templates/video/youtube-subscribe.js +7 -7
- package/dist/templates/web/april-fools-landing.js +7 -7
- package/dist/templates/web/arcade-landing.js +7 -7
- package/dist/templates/web/art-deco-landing.js +7 -7
- package/dist/templates/web/autumn-harvest-landing.js +7 -7
- package/dist/templates/web/back-to-school-landing.js +7 -7
- package/dist/templates/web/bauhaus-landing.js +7 -7
- package/dist/templates/web/black-friday-coupons-landing.js +7 -7
- package/dist/templates/web/black-friday-landing.js +7 -7
- package/dist/templates/web/black-friday-neon-landing.js +7 -7
- package/dist/templates/web/black-friday-scratch-landing.js +7 -7
- package/dist/templates/web/black-friday-ticker-landing.js +7 -7
- package/dist/templates/web/blog-post.js +7 -7
- package/dist/templates/web/blueprint-landing.js +7 -7
- package/dist/templates/web/broadsheet-landing.js +7 -7
- package/dist/templates/web/claymation-landing.js +7 -7
- package/dist/templates/web/comic-book-landing.js +7 -7
- package/dist/templates/web/coming-soon-page.js +7 -7
- package/dist/templates/web/coming-soon.js +7 -7
- package/dist/templates/web/contact.js +7 -7
- package/dist/templates/web/cyberpunk-landing.js +7 -7
- package/dist/templates/web/daybreak-app.js +7 -7
- package/dist/templates/web/departure-board-download.js +7 -7
- package/dist/templates/web/diwali-landing.js +7 -7
- package/dist/templates/web/earth-day-landing.js +7 -7
- package/dist/templates/web/everyday-cafe.js +7 -7
- package/dist/templates/web/everyday-hotel.js +7 -7
- package/dist/templates/web/everyday-wedding.js +7 -7
- package/dist/templates/web/festival-presale-electronic.js +7 -7
- package/dist/templates/web/festival-presale-family.js +7 -7
- package/dist/templates/web/festival-presale-folk.js +7 -7
- package/dist/templates/web/festival-presale-food.js +7 -7
- package/dist/templates/web/festival-presale-jazz.js +7 -7
- package/dist/templates/web/festival-presale-street.js +7 -7
- package/dist/templates/web/gothic-landing.js +7 -7
- package/dist/templates/web/halloween-landing.js +7 -7
- package/dist/templates/web/hero-animated.js +7 -7
- package/dist/templates/web/kindling-app.js +7 -7
- package/dist/templates/web/launch-waitlist.js +7 -7
- package/dist/templates/web/lunar-new-year-landing.js +7 -7
- package/dist/templates/web/machined-hero.js +7 -7
- package/dist/templates/web/manuscript-landing.js +7 -7
- package/dist/templates/web/marginalia-app.js +7 -7
- package/dist/templates/web/new-year-landing.js +7 -7
- package/dist/templates/web/noir-landing.js +7 -7
- package/dist/templates/web/page-404.js +7 -7
- package/dist/templates/web/portfolio-architect.js +7 -7
- package/dist/templates/web/portfolio-card-deck.js +7 -7
- package/dist/templates/web/portfolio-case-folio.js +7 -7
- package/dist/templates/web/portfolio-cube-gallery.js +7 -7
- package/dist/templates/web/portfolio-depth-tunnel.js +7 -7
- package/dist/templates/web/portfolio-editorial.js +7 -7
- package/dist/templates/web/portfolio-flip-wall.js +7 -7
- package/dist/templates/web/portfolio-index-list.js +7 -7
- package/dist/templates/web/portfolio-photographer.js +7 -7
- package/dist/templates/web/portfolio-reel-carousel.js +7 -7
- package/dist/templates/web/portfolio-sketchbook.js +7 -7
- package/dist/templates/web/portfolio-studio-grid.js +7 -7
- package/dist/templates/web/portfolio.js +7 -7
- package/dist/templates/web/portfolios.js +19 -19
- package/dist/templates/web/potluck-app.js +7 -7
- package/dist/templates/web/pricing-toggle.js +7 -7
- package/dist/templates/web/product-page.js +7 -7
- package/dist/templates/web/psychedelic-landing.js +7 -7
- package/dist/templates/web/riso-zine-landing.js +7 -7
- package/dist/templates/web/rsvp-invite.js +7 -7
- package/dist/templates/web/saas-ai-landing.js +7 -7
- package/dist/templates/web/saas-app-download.js +7 -7
- package/dist/templates/web/saas-case-study.js +7 -7
- package/dist/templates/web/saas-changelog.js +7 -7
- package/dist/templates/web/saas-comparison.js +7 -7
- package/dist/templates/web/saas-data-landing.js +7 -7
- package/dist/templates/web/saas-dev-landing.js +7 -7
- package/dist/templates/web/saas-indie-landing.js +7 -7
- package/dist/templates/web/saas-integrations.js +7 -7
- package/dist/templates/web/saas-security.js +7 -7
- package/dist/templates/web/saas-signup.js +7 -7
- package/dist/templates/web/saas-waitlist.js +7 -7
- package/dist/templates/web/saffron-app.js +7 -7
- package/dist/templates/web/shop-bloom.js +7 -7
- package/dist/templates/web/shop-circuit.js +7 -7
- package/dist/templates/web/shop-fieldwork.js +7 -7
- package/dist/templates/web/shop-greenhouse.js +7 -7
- package/dist/templates/web/shop-kiln.js +7 -7
- package/dist/templates/web/shop-marginalia.js +7 -7
- package/dist/templates/web/shop-ode.js +7 -7
- package/dist/templates/web/shop-static.js +7 -7
- package/dist/templates/web/shop-summit.js +7 -7
- package/dist/templates/web/shops.js +16 -16
- package/dist/templates/web/singles-day-landing.js +7 -7
- package/dist/templates/web/solarpunk-landing.js +7 -7
- package/dist/templates/web/space-opera-landing.js +7 -7
- package/dist/templates/web/spring-bloom-landing.js +7 -7
- package/dist/templates/web/studio-careers.js +7 -7
- package/dist/templates/web/style-bento-landing.js +7 -7
- package/dist/templates/web/style-bento-pricing.js +7 -7
- package/dist/templates/web/style-brutalist-landing.js +7 -7
- package/dist/templates/web/style-brutalist-pricing.js +7 -7
- package/dist/templates/web/style-dark-landing.js +7 -7
- package/dist/templates/web/style-dark-pricing.js +7 -7
- package/dist/templates/web/style-data-landing.js +7 -7
- package/dist/templates/web/style-data-pricing.js +7 -7
- package/dist/templates/web/style-editorial-landing.js +7 -7
- package/dist/templates/web/style-editorial-pricing.js +7 -7
- package/dist/templates/web/style-glass-landing.js +7 -7
- package/dist/templates/web/style-glass-pricing.js +7 -7
- package/dist/templates/web/style-gradient-landing.js +7 -7
- package/dist/templates/web/style-gradient-pricing.js +7 -7
- package/dist/templates/web/style-maximal-landing.js +7 -7
- package/dist/templates/web/style-maximal-pricing.js +7 -7
- package/dist/templates/web/style-pastel-landing.js +7 -7
- package/dist/templates/web/style-pastel-pricing.js +7 -7
- package/dist/templates/web/style-sketch-landing.js +7 -7
- package/dist/templates/web/style-sketch-pricing.js +7 -7
- package/dist/templates/web/style-swiss-landing.js +7 -7
- package/dist/templates/web/style-swiss-pricing.js +7 -7
- package/dist/templates/web/style-terminal-landing.js +7 -7
- package/dist/templates/web/style-terminal-pricing.js +7 -7
- package/dist/templates/web/summer-heatwave-landing.js +7 -7
- package/dist/templates/web/tempo-app.js +7 -7
- package/dist/templates/web/tour-tickets-june-landing.js +7 -7
- package/dist/templates/web/tour-tickets-tide-landing.js +7 -7
- package/dist/templates/web/tour-tickets-wreck-landing.js +7 -7
- package/dist/templates/web/transit-map-landing.js +7 -7
- package/dist/templates/web/ukiyo-e-landing.js +7 -7
- package/dist/templates/web/valentines-landing.js +7 -7
- package/dist/templates/web/vaporwave-landing.js +7 -7
- package/dist/templates/web/wayfarer-app.js +7 -7
- package/dist/templates/web/winter-cosy-landing.js +7 -7
- package/dist/templates/web/winter-holidays-landing.js +7 -7
- package/package.json +1 -1
- package/dist/chunks/agent-RS3FUOXH.js +0 -44
- package/dist/chunks/builtin-IVWW5R7O.js +0 -121
- package/dist/chunks/buy-credits-YRM6G2OD.js +0 -80
- package/dist/chunks/check-template-FT3VKHL6.js +0 -2413
- package/dist/chunks/chunk-22BWFKMY.js +0 -109
- package/dist/chunks/chunk-22FGDACV.js +0 -74
- package/dist/chunks/chunk-24OEAFQJ.js +0 -117
- package/dist/chunks/chunk-24PD6B4V.js +0 -728
- package/dist/chunks/chunk-24SN6LOF.js +0 -382
- package/dist/chunks/chunk-2AJZOZ5D.js +0 -23
- package/dist/chunks/chunk-2ASMTZMU.js +0 -204
- package/dist/chunks/chunk-2BOL6THE.js +0 -74
- package/dist/chunks/chunk-2C3JEKPS.js +0 -112
- package/dist/chunks/chunk-2CNW4MQS.js +0 -103
- package/dist/chunks/chunk-2CRDUUM3.js +0 -36
- package/dist/chunks/chunk-2E6TJ7A3.js +0 -142
- package/dist/chunks/chunk-2LKP4EZR.js +0 -235
- package/dist/chunks/chunk-2MAWYJ5S.js +0 -276
- package/dist/chunks/chunk-2O2LN4K2.js +0 -23
- package/dist/chunks/chunk-2OAKI2FI.js +0 -47
- package/dist/chunks/chunk-2OWO4NEH.js +0 -1469
- package/dist/chunks/chunk-2S6OK3TB.js +0 -107
- package/dist/chunks/chunk-2TUXV3RK.js +0 -82
- package/dist/chunks/chunk-2UERBNCY.js +0 -96
- package/dist/chunks/chunk-2WO3MFD6.js +0 -33
- package/dist/chunks/chunk-2XMYX76C.js +0 -176
- package/dist/chunks/chunk-2XQVTF2O.js +0 -91
- package/dist/chunks/chunk-2XUIEQFC.js +0 -49
- package/dist/chunks/chunk-2ZK4BKF3.js +0 -150
- package/dist/chunks/chunk-32KS4X2Z.js +0 -60
- package/dist/chunks/chunk-33RVPW4B.js +0 -82
- package/dist/chunks/chunk-34AB6HR5.js +0 -161
- package/dist/chunks/chunk-34JSDRER.js +0 -361
- package/dist/chunks/chunk-34SD6T2Q.js +0 -23
- package/dist/chunks/chunk-356VY7UL.js +0 -118
- package/dist/chunks/chunk-35A6EGAN.js +0 -266
- package/dist/chunks/chunk-35DPD7LA.js +0 -272
- package/dist/chunks/chunk-36DEAEYS.js +0 -136
- package/dist/chunks/chunk-37LWA7IA.js +0 -154
- package/dist/chunks/chunk-3C5OC2SY.js +0 -282
- package/dist/chunks/chunk-3CDK2SYI.js +0 -149
- package/dist/chunks/chunk-3CNLOXLO.js +0 -140
- package/dist/chunks/chunk-3DN2KWNZ.js +0 -136
- package/dist/chunks/chunk-3HEDPEWF.js +0 -63
- package/dist/chunks/chunk-3HJE2BOM.js +0 -41
- package/dist/chunks/chunk-3HMO67NJ.js +0 -79
- package/dist/chunks/chunk-3KAKAFE4.js +0 -151
- package/dist/chunks/chunk-3KY6CNPK.js +0 -175
- package/dist/chunks/chunk-3LCTLAFL.js +0 -185
- package/dist/chunks/chunk-3LROF4X2.js +0 -331
- package/dist/chunks/chunk-3MPFXCDH.js +0 -251
- package/dist/chunks/chunk-3RAXPWBA.js +0 -85
- package/dist/chunks/chunk-3RF3GGPP.js +0 -90
- package/dist/chunks/chunk-3V4BGAY7.js +0 -119
- package/dist/chunks/chunk-3VN3FYNM.js +0 -110
- package/dist/chunks/chunk-3WDKF6I7.js +0 -226
- package/dist/chunks/chunk-3ZF54K2K.js +0 -98
- package/dist/chunks/chunk-3ZNKHRYZ.js +0 -99
- package/dist/chunks/chunk-42KDQFX7.js +0 -287
- package/dist/chunks/chunk-42Y22JBU.js +0 -157
- package/dist/chunks/chunk-436ISUMQ.js +0 -172
- package/dist/chunks/chunk-43U7OHPI.js +0 -171
- package/dist/chunks/chunk-44TBNYOV.js +0 -258
- package/dist/chunks/chunk-44YCPZLE.js +0 -33
- package/dist/chunks/chunk-45SII4L7.js +0 -23
- package/dist/chunks/chunk-4A6H57DA.js +0 -47
- package/dist/chunks/chunk-4B6ICP7L.js +0 -105
- package/dist/chunks/chunk-4BRFLBFV.js +0 -92
- package/dist/chunks/chunk-4CSOSV4P.js +0 -95
- package/dist/chunks/chunk-4DVCEWMC.js +0 -70
- package/dist/chunks/chunk-4EYL4E5S.js +0 -36
- package/dist/chunks/chunk-4FJU6ZDM.js +0 -103
- package/dist/chunks/chunk-4HXQWLBG.js +0 -279
- package/dist/chunks/chunk-4IWJTV2B.js +0 -23
- package/dist/chunks/chunk-4JSGPHU2.js +0 -152
- package/dist/chunks/chunk-4NQT23CP.js +0 -145
- package/dist/chunks/chunk-4OFYXIFM.js +0 -320
- package/dist/chunks/chunk-4OJ2WBFO.js +0 -70
- package/dist/chunks/chunk-4OKOJ4WN.js +0 -111
- package/dist/chunks/chunk-4OSMFXHS.js +0 -102
- package/dist/chunks/chunk-4PHHUEXE.js +0 -131
- package/dist/chunks/chunk-4RDOD3F6.js +0 -251
- package/dist/chunks/chunk-4RO6EE5C.js +0 -30
- package/dist/chunks/chunk-4TZC4YFW.js +0 -198
- package/dist/chunks/chunk-4V7GLC6B.js +0 -103
- package/dist/chunks/chunk-4VBBAZ5X.js +0 -177
- package/dist/chunks/chunk-4VGRFAZO.js +0 -123
- package/dist/chunks/chunk-4VQPEUUT.js +0 -117
- package/dist/chunks/chunk-4XJERPHI.js +0 -293
- package/dist/chunks/chunk-4XSEGIBR.js +0 -23
- package/dist/chunks/chunk-4ZFGUOSI.js +0 -41
- package/dist/chunks/chunk-54BDAMB4.js +0 -220
- package/dist/chunks/chunk-572H7SO4.js +0 -213
- package/dist/chunks/chunk-57JXRDCB.js +0 -110
- package/dist/chunks/chunk-5B4TBS3J.js +0 -145
- package/dist/chunks/chunk-5EELXM44.js +0 -107
- package/dist/chunks/chunk-5GSFQBXH.js +0 -152
- package/dist/chunks/chunk-5H5XSXBR.js +0 -118
- package/dist/chunks/chunk-5HX3IITE.js +0 -212
- package/dist/chunks/chunk-5JAJXMKF.js +0 -118
- package/dist/chunks/chunk-5NPP4PGG.js +0 -181
- package/dist/chunks/chunk-5OSWJ5IC.js +0 -96
- package/dist/chunks/chunk-5PF2UEP4.js +0 -115
- package/dist/chunks/chunk-5S67HC3J.js +0 -33
- package/dist/chunks/chunk-5SR6IFB6.js +0 -90
- package/dist/chunks/chunk-5TQOUOPK.js +0 -151
- package/dist/chunks/chunk-5WO7TNZS.js +0 -247
- package/dist/chunks/chunk-5WUVN7GM.js +0 -898
- package/dist/chunks/chunk-5YWZWLYL.js +0 -174
- package/dist/chunks/chunk-62452IH2.js +0 -163
- package/dist/chunks/chunk-62SYONAO.js +0 -78
- package/dist/chunks/chunk-62TMYKAA.js +0 -150
- package/dist/chunks/chunk-64MY37WJ.js +0 -48
- package/dist/chunks/chunk-65Z556EW.js +0 -127
- package/dist/chunks/chunk-67CI6Q3R.js +0 -70
- package/dist/chunks/chunk-6BNSODLB.js +0 -97
- package/dist/chunks/chunk-6CNK7JLP.js +0 -155
- package/dist/chunks/chunk-6D3PGN4L.js +0 -198
- package/dist/chunks/chunk-6D5Z63SY.js +0 -69
- package/dist/chunks/chunk-6DIWDU3P.js +0 -156
- package/dist/chunks/chunk-6EU4HURO.js +0 -153
- package/dist/chunks/chunk-6FNBMKZ5.js +0 -133
- package/dist/chunks/chunk-6JW6SXSB.js +0 -265
- package/dist/chunks/chunk-6LXM6NI4.js +0 -117
- package/dist/chunks/chunk-6LYA6YHW.js +0 -80
- package/dist/chunks/chunk-6MGI7TFI.js +0 -115
- package/dist/chunks/chunk-6MHUJ6IO.js +0 -140
- package/dist/chunks/chunk-6OEOJ55R.js +0 -33
- package/dist/chunks/chunk-6PJE2MZU.js +0 -199
- package/dist/chunks/chunk-6PZEHIXD.js +0 -146
- package/dist/chunks/chunk-6RMA5WCZ.js +0 -45
- package/dist/chunks/chunk-6RON35TB.js +0 -222
- package/dist/chunks/chunk-6S3USZAL.js +0 -218
- package/dist/chunks/chunk-6T3TUQ4M.js +0 -70
- package/dist/chunks/chunk-6ULS3X3L.js +0 -23
- package/dist/chunks/chunk-6YC3WGBU.js +0 -399
- package/dist/chunks/chunk-6Z22MN35.js +0 -117
- package/dist/chunks/chunk-6ZKVUAEY.js +0 -23
- package/dist/chunks/chunk-73B5QI3C.js +0 -100
- package/dist/chunks/chunk-75HYVHKR.js +0 -147
- package/dist/chunks/chunk-75KT5KVO.js +0 -33
- package/dist/chunks/chunk-76WPIQKV.js +0 -86
- package/dist/chunks/chunk-77YCS7QL.js +0 -231
- package/dist/chunks/chunk-7CAGPU7B.js +0 -1136
- package/dist/chunks/chunk-7DBJAOZD.js +0 -23
- package/dist/chunks/chunk-7E6XFENB.js +0 -195
- package/dist/chunks/chunk-7EORF6ZG.js +0 -303
- package/dist/chunks/chunk-7FC3HXFN.js +0 -1403
- package/dist/chunks/chunk-7FHTM6PI.js +0 -112
- package/dist/chunks/chunk-7GM6L6KG.js +0 -88
- package/dist/chunks/chunk-7GW4GMES.js +0 -87
- package/dist/chunks/chunk-7HKKWAJS.js +0 -87
- package/dist/chunks/chunk-7HS5CYEH.js +0 -84
- package/dist/chunks/chunk-7I52INC2.js +0 -78
- package/dist/chunks/chunk-7JXY4YZZ.js +0 -182
- package/dist/chunks/chunk-7LR3I7NB.js +0 -163
- package/dist/chunks/chunk-7MUGYRAM.js +0 -304
- package/dist/chunks/chunk-7OQEXDWF.js +0 -237
- package/dist/chunks/chunk-7RUVCWFB.js +0 -100
- package/dist/chunks/chunk-7TNYFX2B.js +0 -161
- package/dist/chunks/chunk-7TXTAF73.js +0 -559
- package/dist/chunks/chunk-7UQ2ZIXX.js +0 -45
- package/dist/chunks/chunk-7VBMMNXJ.js +0 -84
- package/dist/chunks/chunk-7X5YCEJC.js +0 -23
- package/dist/chunks/chunk-7XMSSM5Y.js +0 -147
- package/dist/chunks/chunk-7Y3HLE6K.js +0 -164
- package/dist/chunks/chunk-7ZSXIS7R.js +0 -185
- package/dist/chunks/chunk-7ZUCKFK7.js +0 -53
- package/dist/chunks/chunk-A256CV2X.js +0 -188
- package/dist/chunks/chunk-A3NLNEZO.js +0 -176
- package/dist/chunks/chunk-A4CB47TD.js +0 -284
- package/dist/chunks/chunk-A7FFX52M.js +0 -138
- package/dist/chunks/chunk-A7NJESLP.js +0 -119
- package/dist/chunks/chunk-A7PE2QPN.js +0 -33
- package/dist/chunks/chunk-AAAKGCG4.js +0 -198
- package/dist/chunks/chunk-AATECGFF.js +0 -217
- package/dist/chunks/chunk-ABPNH6SL.js +0 -98
- package/dist/chunks/chunk-ABUZ35BU.js +0 -139
- package/dist/chunks/chunk-AD4ZYMWP.js +0 -209
- package/dist/chunks/chunk-AEE6DIVV.js +0 -33
- package/dist/chunks/chunk-AESWTLV5.js +0 -97
- package/dist/chunks/chunk-AEVRVQWI.js +0 -1574
- package/dist/chunks/chunk-AF5VUFSV.js +0 -172
- package/dist/chunks/chunk-AFIWYYIW.js +0 -150
- package/dist/chunks/chunk-AFLHAPMK.js +0 -97
- package/dist/chunks/chunk-AFV3ZJVT.js +0 -162
- package/dist/chunks/chunk-AHC2I76I.js +0 -124
- package/dist/chunks/chunk-AHYQLTHV.js +0 -84
- package/dist/chunks/chunk-AI5BTY4R.js +0 -52
- package/dist/chunks/chunk-AKUZGOWU.js +0 -242
- package/dist/chunks/chunk-ALK7BGFJ.js +0 -191
- package/dist/chunks/chunk-AM4GQ6UD.js +0 -230
- package/dist/chunks/chunk-ANYSAKHS.js +0 -188
- package/dist/chunks/chunk-ANZYGQGV.js +0 -252
- package/dist/chunks/chunk-AOQJSUZP.js +0 -152
- package/dist/chunks/chunk-AS332QIP.js +0 -266
- package/dist/chunks/chunk-AUPMB6ZM.js +0 -210
- package/dist/chunks/chunk-AWNNQU4L.js +0 -180
- package/dist/chunks/chunk-AXZTAGDM.js +0 -192
- package/dist/chunks/chunk-AYHKZ3YG.js +0 -23
- package/dist/chunks/chunk-B2HXAWRY.js +0 -23
- package/dist/chunks/chunk-B3JS7O54.js +0 -95
- package/dist/chunks/chunk-B3NLN362.js +0 -122
- package/dist/chunks/chunk-B53PVLF5.js +0 -304
- package/dist/chunks/chunk-B7DSPQ6B.js +0 -154
- package/dist/chunks/chunk-B7ZHHTE3.js +0 -122
- package/dist/chunks/chunk-BAEKDKG6.js +0 -225
- package/dist/chunks/chunk-BDD36ZWC.js +0 -119
- package/dist/chunks/chunk-BDMA5C7B.js +0 -28
- package/dist/chunks/chunk-BG6JR5LN.js +0 -208
- package/dist/chunks/chunk-BHFTYES6.js +0 -198
- package/dist/chunks/chunk-BITG2MWN.js +0 -125
- package/dist/chunks/chunk-BJ3YKV7G.js +0 -81
- package/dist/chunks/chunk-BJEMJCZJ.js +0 -1419
- package/dist/chunks/chunk-BKDY2EEP.js +0 -98
- package/dist/chunks/chunk-BLGT7AUD.js +0 -180
- package/dist/chunks/chunk-BNGZXPDQ.js +0 -92
- package/dist/chunks/chunk-BOGDYFBC.js +0 -91
- package/dist/chunks/chunk-BPIGK57H.js +0 -180
- package/dist/chunks/chunk-BPOBG5YN.js +0 -120
- package/dist/chunks/chunk-BQ4BXNF7.js +0 -147
- package/dist/chunks/chunk-BQ6PC34Z.js +0 -100
- package/dist/chunks/chunk-BQD2KWUA.js +0 -108
- package/dist/chunks/chunk-BREXQV4G.js +0 -77
- package/dist/chunks/chunk-BRWJ7CU6.js +0 -198
- package/dist/chunks/chunk-BTESWMFP.js +0 -182
- package/dist/chunks/chunk-BTFVVDM4.js +0 -172
- package/dist/chunks/chunk-BTOEEE4N.js +0 -283
- package/dist/chunks/chunk-BTZOLTUP.js +0 -105
- package/dist/chunks/chunk-BUA2VB4D.js +0 -80
- package/dist/chunks/chunk-BUH7HQMV.js +0 -126
- package/dist/chunks/chunk-BUWEFJWW.js +0 -358
- package/dist/chunks/chunk-BWCHVHDJ.js +0 -87
- package/dist/chunks/chunk-BWGTC4FK.js +0 -90
- package/dist/chunks/chunk-BX3PZC7L.js +0 -100
- package/dist/chunks/chunk-BZ6JZLHW.js +0 -204
- package/dist/chunks/chunk-BZKQQO5F.js +0 -50
- package/dist/chunks/chunk-C2GKMSED.js +0 -93
- package/dist/chunks/chunk-C5W3TT3U.js +0 -53
- package/dist/chunks/chunk-CCPQGD3W.js +0 -23
- package/dist/chunks/chunk-CDEKJ7XN.js +0 -163
- package/dist/chunks/chunk-CDOMVMMP.js +0 -189
- package/dist/chunks/chunk-CHFJUUAV.js +0 -102
- package/dist/chunks/chunk-CJ4N5AD4.js +0 -23
- package/dist/chunks/chunk-CL6VBZSB.js +0 -92
- package/dist/chunks/chunk-CL7AP75Y.js +0 -287
- package/dist/chunks/chunk-CLRN44W3.js +0 -75
- package/dist/chunks/chunk-CO4UTVNZ.js +0 -113
- package/dist/chunks/chunk-COTG4F5F.js +0 -23
- package/dist/chunks/chunk-CR7X2PX5.js +0 -250
- package/dist/chunks/chunk-CUTA7OLD.js +0 -23
- package/dist/chunks/chunk-CV3QR2BP.js +0 -112
- package/dist/chunks/chunk-CW24VQM3.js +0 -23
- package/dist/chunks/chunk-CW3VKWFW.js +0 -60
- package/dist/chunks/chunk-CWWWM3HZ.js +0 -111
- package/dist/chunks/chunk-CXJNSAOF.js +0 -104
- package/dist/chunks/chunk-CZRDPNM2.js +0 -107
- package/dist/chunks/chunk-D2NBF362.js +0 -165
- package/dist/chunks/chunk-D5FBE5PE.js +0 -128
- package/dist/chunks/chunk-D6MBV2UQ.js +0 -100
- package/dist/chunks/chunk-D7IZPPV5.js +0 -114
- package/dist/chunks/chunk-DDHLDNKX.js +0 -277
- package/dist/chunks/chunk-DDNP2A3W.js +0 -155
- package/dist/chunks/chunk-DE3DJHS4.js +0 -140
- package/dist/chunks/chunk-DEPD5ARG.js +0 -226
- package/dist/chunks/chunk-DF5G2P7O.js +0 -95
- package/dist/chunks/chunk-DFQYSOFV.js +0 -94
- package/dist/chunks/chunk-DGPKNOSH.js +0 -23
- package/dist/chunks/chunk-DHWC5GZU.js +0 -153
- package/dist/chunks/chunk-DHXSCSGE.js +0 -41
- package/dist/chunks/chunk-DIJFFNW6.js +0 -153
- package/dist/chunks/chunk-DJVPZTI3.js +0 -270
- package/dist/chunks/chunk-DKAA3PVR.js +0 -45
- package/dist/chunks/chunk-DKYMG7W6.js +0 -80
- package/dist/chunks/chunk-DMFNQELF.js +0 -146
- package/dist/chunks/chunk-DVF7M43L.js +0 -97
- package/dist/chunks/chunk-DW7VRFPR.js +0 -94
- package/dist/chunks/chunk-DWOSB5OG.js +0 -36
- package/dist/chunks/chunk-E3KSQX2C.js +0 -54
- package/dist/chunks/chunk-E3RDUS6J.js +0 -305
- package/dist/chunks/chunk-E547DCJN.js +0 -329
- package/dist/chunks/chunk-E5ERCS7Y.js +0 -125
- package/dist/chunks/chunk-E6BUVGEM.js +0 -173
- package/dist/chunks/chunk-E6WAJNWL.js +0 -135
- package/dist/chunks/chunk-E7WIDHOX.js +0 -83
- package/dist/chunks/chunk-EB6VKLAJ.js +0 -234
- package/dist/chunks/chunk-EBPSOIEX.js +0 -134
- package/dist/chunks/chunk-EC4DPVT5.js +0 -139
- package/dist/chunks/chunk-EDLLCVQF.js +0 -153
- package/dist/chunks/chunk-EEMK2O5N.js +0 -684
- package/dist/chunks/chunk-EEVNQCTV.js +0 -100
- package/dist/chunks/chunk-EFTPHBPV.js +0 -141
- package/dist/chunks/chunk-EFWNIBOC.js +0 -152
- package/dist/chunks/chunk-EG7WNJFZ.js +0 -396
- package/dist/chunks/chunk-EGEGJZ53.js +0 -94
- package/dist/chunks/chunk-EHD3XPWX.js +0 -115
- package/dist/chunks/chunk-EHI3JCQO.js +0 -106
- package/dist/chunks/chunk-EJ4MJX3F.js +0 -95
- package/dist/chunks/chunk-EJITHNSN.js +0 -85
- package/dist/chunks/chunk-EJW3Q7IH.js +0 -209
- package/dist/chunks/chunk-EQZ3DBTP.js +0 -187
- package/dist/chunks/chunk-ERUYVZWN.js +0 -141
- package/dist/chunks/chunk-ERWDZNYG.js +0 -97
- package/dist/chunks/chunk-ERXLK44F.js +0 -57
- package/dist/chunks/chunk-ESIPTDQU.js +0 -221
- package/dist/chunks/chunk-ET3M3L45.js +0 -152
- package/dist/chunks/chunk-EUDE4D7K.js +0 -122
- package/dist/chunks/chunk-EVJF76HM.js +0 -163
- package/dist/chunks/chunk-EYOTZLZU.js +0 -150
- package/dist/chunks/chunk-F2CTKRXI.js +0 -48
- package/dist/chunks/chunk-F2FMQL7K.js +0 -33
- package/dist/chunks/chunk-F4GWLG6D.js +0 -462
- package/dist/chunks/chunk-F5NYLQAB.js +0 -53
- package/dist/chunks/chunk-F6QGWFPB.js +0 -145
- package/dist/chunks/chunk-F6SANZFM.js +0 -55
- package/dist/chunks/chunk-F7X5VOWS.js +0 -889
- package/dist/chunks/chunk-FB5QNWPN.js +0 -33
- package/dist/chunks/chunk-FDWDRAIZ.js +0 -158
- package/dist/chunks/chunk-FETHDXOS.js +0 -45
- package/dist/chunks/chunk-FGT2PR3M.js +0 -100
- package/dist/chunks/chunk-FH6MB4GW.js +0 -55
- package/dist/chunks/chunk-FHHAH4JX.js +0 -124
- package/dist/chunks/chunk-FISVKK6C.js +0 -33
- package/dist/chunks/chunk-FJMFKIN6.js +0 -158
- package/dist/chunks/chunk-FNEIVQDB.js +0 -164
- package/dist/chunks/chunk-FPWANSII.js +0 -95
- package/dist/chunks/chunk-FQ3ODVZY.js +0 -226
- package/dist/chunks/chunk-FQ5YFJMO.js +0 -166
- package/dist/chunks/chunk-FQCAU4XR.js +0 -157
- package/dist/chunks/chunk-FT7OO4HQ.js +0 -215
- package/dist/chunks/chunk-FU36FPDB.js +0 -77
- package/dist/chunks/chunk-FVAHXWIY.js +0 -127
- package/dist/chunks/chunk-G26WBGPJ.js +0 -149
- package/dist/chunks/chunk-G3KOKY6V.js +0 -378
- package/dist/chunks/chunk-G46GUWS5.js +0 -102
- package/dist/chunks/chunk-G47UBPSH.js +0 -155
- package/dist/chunks/chunk-G4DND2YY.js +0 -277
- package/dist/chunks/chunk-G53KOC4Q.js +0 -215
- package/dist/chunks/chunk-G5EPTRRL.js +0 -135
- package/dist/chunks/chunk-GALZ2YLM.js +0 -59
- package/dist/chunks/chunk-GBHX43B5.js +0 -334
- package/dist/chunks/chunk-GCMUSV3X.js +0 -149
- package/dist/chunks/chunk-GDLIUWSE.js +0 -181
- package/dist/chunks/chunk-GDNEYB4A.js +0 -77
- package/dist/chunks/chunk-GHPHZCQG.js +0 -105
- package/dist/chunks/chunk-GICAJHIS.js +0 -169
- package/dist/chunks/chunk-GJPDO7I6.js +0 -93
- package/dist/chunks/chunk-GKQF7EEL.js +0 -78
- package/dist/chunks/chunk-GPKTIBCP.js +0 -1393
- package/dist/chunks/chunk-GPL3HMVB.js +0 -97
- package/dist/chunks/chunk-GRQJ3BOZ.js +0 -96
- package/dist/chunks/chunk-GSIGX663.js +0 -23
- package/dist/chunks/chunk-GSXNGDEE.js +0 -33
- package/dist/chunks/chunk-GTLUBIMV.js +0 -104
- package/dist/chunks/chunk-GUH5OQOI.js +0 -173
- package/dist/chunks/chunk-GWPGCYAL.js +0 -155
- package/dist/chunks/chunk-GYWMZPQ4.js +0 -249
- package/dist/chunks/chunk-H2HYMNZE.js +0 -415
- package/dist/chunks/chunk-H2UZYKHP.js +0 -150
- package/dist/chunks/chunk-H2Z5WIZP.js +0 -225
- package/dist/chunks/chunk-H352XCJB.js +0 -63
- package/dist/chunks/chunk-H4QVCQV6.js +0 -23
- package/dist/chunks/chunk-H4SK5XK2.js +0 -97
- package/dist/chunks/chunk-H5BD6PHR.js +0 -146
- package/dist/chunks/chunk-H6TG42U2.js +0 -263
- package/dist/chunks/chunk-HAEDOXDL.js +0 -105
- package/dist/chunks/chunk-HAHLPZQ7.js +0 -112
- package/dist/chunks/chunk-HBQ7VPU4.js +0 -181
- package/dist/chunks/chunk-HDETFPIN.js +0 -330
- package/dist/chunks/chunk-HG35IBKP.js +0 -200
- package/dist/chunks/chunk-HG3Y5ESR.js +0 -161
- package/dist/chunks/chunk-HH2ZVQRP.js +0 -257
- package/dist/chunks/chunk-HJBDANWK.js +0 -126
- package/dist/chunks/chunk-HJJEKFHW.js +0 -244
- package/dist/chunks/chunk-HJNGDHZV.js +0 -358
- package/dist/chunks/chunk-HLZGX7HB.js +0 -144
- package/dist/chunks/chunk-HMURFIQN.js +0 -108
- package/dist/chunks/chunk-HNRZCIZN.js +0 -80
- package/dist/chunks/chunk-HOGMSTNL.js +0 -61
- package/dist/chunks/chunk-HP2X54EY.js +0 -51
- package/dist/chunks/chunk-HPFYINN3.js +0 -45
- package/dist/chunks/chunk-HQA6OSBL.js +0 -95
- package/dist/chunks/chunk-HQOQPXMB.js +0 -151
- package/dist/chunks/chunk-HSTYJJJN.js +0 -327
- package/dist/chunks/chunk-HSZV7ZER.js +0 -33
- package/dist/chunks/chunk-HUWERBK6.js +0 -196
- package/dist/chunks/chunk-HXAYTOWN.js +0 -45
- package/dist/chunks/chunk-HYJ6EQAR.js +0 -191
- package/dist/chunks/chunk-HYOWCCUC.js +0 -187
- package/dist/chunks/chunk-I3S53MUL.js +0 -23
- package/dist/chunks/chunk-I4K6ISEA.js +0 -123
- package/dist/chunks/chunk-I5AQTS6L.js +0 -33
- package/dist/chunks/chunk-IB65ADPO.js +0 -178
- package/dist/chunks/chunk-IDT2MRKB.js +0 -255
- package/dist/chunks/chunk-IHO37NQ6.js +0 -299
- package/dist/chunks/chunk-IHUMZKMT.js +0 -346
- package/dist/chunks/chunk-II4H4JYF.js +0 -33
- package/dist/chunks/chunk-II52KAJB.js +0 -118
- package/dist/chunks/chunk-IIE24S5U.js +0 -133
- package/dist/chunks/chunk-IJXMVWTS.js +0 -207
- package/dist/chunks/chunk-ILRQOCLP.js +0 -84
- package/dist/chunks/chunk-INIGVJV7.js +0 -104
- package/dist/chunks/chunk-IOGNMJEI.js +0 -145
- package/dist/chunks/chunk-IPJVIWZO.js +0 -92
- package/dist/chunks/chunk-IQE7M6ER.js +0 -320
- package/dist/chunks/chunk-IQY2JUU3.js +0 -55
- package/dist/chunks/chunk-ISQY6SEP.js +0 -146
- package/dist/chunks/chunk-IUNA5S6S.js +0 -23
- package/dist/chunks/chunk-IWJXE4SI.js +0 -192
- package/dist/chunks/chunk-IXGOJYST.js +0 -99
- package/dist/chunks/chunk-J25U5P2Z.js +0 -159
- package/dist/chunks/chunk-J2TTCFAI.js +0 -93
- package/dist/chunks/chunk-J4MREGUV.js +0 -112
- package/dist/chunks/chunk-J57MSR45.js +0 -135
- package/dist/chunks/chunk-J6N4VNCH.js +0 -206
- package/dist/chunks/chunk-J75PNHXX.js +0 -337
- package/dist/chunks/chunk-J7P6VR3W.js +0 -39
- package/dist/chunks/chunk-J7Z6LABN.js +0 -86
- package/dist/chunks/chunk-JCX75KWD.js +0 -165
- package/dist/chunks/chunk-JEBI5VGB.js +0 -33
- package/dist/chunks/chunk-JEIHP4RL.js +0 -81
- package/dist/chunks/chunk-JGH7DVOY.js +0 -159
- package/dist/chunks/chunk-JH55LWXE.js +0 -33
- package/dist/chunks/chunk-JI555FYG.js +0 -391
- package/dist/chunks/chunk-JIFP4ESM.js +0 -95
- package/dist/chunks/chunk-JK5SSLPT.js +0 -351
- package/dist/chunks/chunk-JL7AFOSA.js +0 -261
- package/dist/chunks/chunk-JMLTHAW2.js +0 -110
- package/dist/chunks/chunk-JN7R72GT.js +0 -120
- package/dist/chunks/chunk-JOSZIMMK.js +0 -23
- package/dist/chunks/chunk-JQXLWHNV.js +0 -65
- package/dist/chunks/chunk-JRPCGVKL.js +0 -45
- package/dist/chunks/chunk-JSBHWMPG.js +0 -102
- package/dist/chunks/chunk-JSSK4J34.js +0 -106
- package/dist/chunks/chunk-JVH7ZPJX.js +0 -151
- package/dist/chunks/chunk-JVYKAV2D.js +0 -114
- package/dist/chunks/chunk-JXHR7OEX.js +0 -30
- package/dist/chunks/chunk-JXR3BKFD.js +0 -174
- package/dist/chunks/chunk-K2QQZYQD.js +0 -135
- package/dist/chunks/chunk-K3KF6LLO.js +0 -109
- package/dist/chunks/chunk-K4TYBVPO.js +0 -194
- package/dist/chunks/chunk-K7WB24UF.js +0 -85
- package/dist/chunks/chunk-KB646A4H.js +0 -214
- package/dist/chunks/chunk-KDM3HHI2.js +0 -139
- package/dist/chunks/chunk-KEHUTLNX.js +0 -184
- package/dist/chunks/chunk-KFP3F4UR.js +0 -100
- package/dist/chunks/chunk-KGQIS3LZ.js +0 -152
- package/dist/chunks/chunk-KGR5FYCY.js +0 -80
- package/dist/chunks/chunk-KHHZVJRF.js +0 -89
- package/dist/chunks/chunk-KIPYM566.js +0 -108
- package/dist/chunks/chunk-KIW3SWDM.js +0 -168
- package/dist/chunks/chunk-KKSWHPVU.js +0 -182
- package/dist/chunks/chunk-KLO46IZ2.js +0 -119
- package/dist/chunks/chunk-KN3Y6EZY.js +0 -105
- package/dist/chunks/chunk-KOIBYRH6.js +0 -77
- package/dist/chunks/chunk-KQQ4WQSB.js +0 -133
- package/dist/chunks/chunk-KRJWKISC.js +0 -33
- package/dist/chunks/chunk-KT3SCNRZ.js +0 -84
- package/dist/chunks/chunk-KU5MDYJU.js +0 -72
- package/dist/chunks/chunk-KWH7E6XC.js +0 -125
- package/dist/chunks/chunk-KYDOG7JP.js +0 -93
- package/dist/chunks/chunk-KYUWPD26.js +0 -136
- package/dist/chunks/chunk-L2HZ5QFV.js +0 -122
- package/dist/chunks/chunk-L4LLU4OR.js +0 -77
- package/dist/chunks/chunk-LAD77O5F.js +0 -178
- package/dist/chunks/chunk-LAHAW23S.js +0 -97
- package/dist/chunks/chunk-LC5KOCVW.js +0 -106
- package/dist/chunks/chunk-LCBX65MQ.js +0 -969
- package/dist/chunks/chunk-LD5DK63W.js +0 -23
- package/dist/chunks/chunk-LDPYDVM6.js +0 -140
- package/dist/chunks/chunk-LDQ35LVC.js +0 -33
- package/dist/chunks/chunk-LETCYNV7.js +0 -626
- package/dist/chunks/chunk-LGY7REUL.js +0 -232
- package/dist/chunks/chunk-LHMCKV65.js +0 -66
- package/dist/chunks/chunk-LIIYJFRB.js +0 -204
- package/dist/chunks/chunk-LIQG3BT3.js +0 -130
- package/dist/chunks/chunk-LIQPADZI.js +0 -197
- package/dist/chunks/chunk-LJR5TBRT.js +0 -106
- package/dist/chunks/chunk-LLJD4ZH2.js +0 -170
- package/dist/chunks/chunk-LNBRTXX2.js +0 -512
- package/dist/chunks/chunk-LOGJKLGZ.js +0 -69
- package/dist/chunks/chunk-LOKRB4BK.js +0 -163
- package/dist/chunks/chunk-LOLJ3NQG.js +0 -138
- package/dist/chunks/chunk-LPSWXSC6.js +0 -66
- package/dist/chunks/chunk-LTKGMDDL.js +0 -147
- package/dist/chunks/chunk-LYMQLJQL.js +0 -93
- package/dist/chunks/chunk-LYWO4OVL.js +0 -177
- package/dist/chunks/chunk-M2RHCOEM.js +0 -95
- package/dist/chunks/chunk-M2S4TLGP.js +0 -122
- package/dist/chunks/chunk-M37J5AXF.js +0 -166
- package/dist/chunks/chunk-M3BSKUTQ.js +0 -106
- package/dist/chunks/chunk-M3WSXWQZ.js +0 -23
- package/dist/chunks/chunk-M4KJ3FTU.js +0 -33
- package/dist/chunks/chunk-M7555UMD.js +0 -303
- package/dist/chunks/chunk-MA3ZYAKV.js +0 -103
- package/dist/chunks/chunk-MA56YJ2B.js +0 -422
- package/dist/chunks/chunk-MAC6KUUA.js +0 -23
- package/dist/chunks/chunk-MBLRF6V3.js +0 -142
- package/dist/chunks/chunk-MCM7JM3K.js +0 -68
- package/dist/chunks/chunk-MDGL63M7.js +0 -167
- package/dist/chunks/chunk-MEIELUWQ.js +0 -390
- package/dist/chunks/chunk-MGMQ2KJU.js +0 -292
- package/dist/chunks/chunk-MHYCNNBP.js +0 -317
- package/dist/chunks/chunk-MJO252B2.js +0 -121
- package/dist/chunks/chunk-MJOPADHH.js +0 -45
- package/dist/chunks/chunk-MM3ZOMKJ.js +0 -274
- package/dist/chunks/chunk-MMMTL4S2.js +0 -76
- package/dist/chunks/chunk-MORGT6U3.js +0 -172
- package/dist/chunks/chunk-MQ2CTQPN.js +0 -33
- package/dist/chunks/chunk-MQ6GP7EX.js +0 -120
- package/dist/chunks/chunk-MTGIATR3.js +0 -108
- package/dist/chunks/chunk-MU3HOWKP.js +0 -62
- package/dist/chunks/chunk-MXXAATXX.js +0 -77
- package/dist/chunks/chunk-MYUISXOO.js +0 -260
- package/dist/chunks/chunk-MZIXR6VF.js +0 -161
- package/dist/chunks/chunk-MZL6S2Q6.js +0 -160
- package/dist/chunks/chunk-N3R5EYST.js +0 -170
- package/dist/chunks/chunk-N5E7IOII.js +0 -646
- package/dist/chunks/chunk-N652KEJF.js +0 -33
- package/dist/chunks/chunk-N77LLMN4.js +0 -109
- package/dist/chunks/chunk-N7FGRZH7.js +0 -121
- package/dist/chunks/chunk-N7QELHZD.js +0 -23
- package/dist/chunks/chunk-NADK3ZPZ.js +0 -177
- package/dist/chunks/chunk-NBGUWYGK.js +0 -101
- package/dist/chunks/chunk-NCOD4UFL.js +0 -94
- package/dist/chunks/chunk-NF7MPL4T.js +0 -202
- package/dist/chunks/chunk-NG6VXEEL.js +0 -123
- package/dist/chunks/chunk-NGR3QIJW.js +0 -169
- package/dist/chunks/chunk-NHDOQPUU.js +0 -961
- package/dist/chunks/chunk-NHGVB5WB.js +0 -267
- package/dist/chunks/chunk-NJCJ2GN3.js +0 -84
- package/dist/chunks/chunk-NLBDX563.js +0 -197
- package/dist/chunks/chunk-NLJNFR4D.js +0 -109
- package/dist/chunks/chunk-NLP7LQUA.js +0 -200
- package/dist/chunks/chunk-NLSBRC7R.js +0 -41
- package/dist/chunks/chunk-NOYHKOLE.js +0 -106
- package/dist/chunks/chunk-NP43XRCO.js +0 -33
- package/dist/chunks/chunk-NP7VUGFB.js +0 -89
- package/dist/chunks/chunk-NPZVIDKL.js +0 -53
- package/dist/chunks/chunk-NR3ETE6E.js +0 -133
- package/dist/chunks/chunk-NRBYOTD4.js +0 -38
- package/dist/chunks/chunk-NRNJPO47.js +0 -312
- package/dist/chunks/chunk-NRWQXLBS.js +0 -112
- package/dist/chunks/chunk-NRX7V5RS.js +0 -84
- package/dist/chunks/chunk-NWUOEY3N.js +0 -86
- package/dist/chunks/chunk-NZ6HG3ZK.js +0 -130
- package/dist/chunks/chunk-NZKVA5TS.js +0 -163
- package/dist/chunks/chunk-O2WJE5KA.js +0 -23
- package/dist/chunks/chunk-O2WKZUNJ.js +0 -497
- package/dist/chunks/chunk-O5XBCI4F.js +0 -362
- package/dist/chunks/chunk-O6WIL2TR.js +0 -137
- package/dist/chunks/chunk-OBSU3P4D.js +0 -178
- package/dist/chunks/chunk-OG3HYZLC.js +0 -113
- package/dist/chunks/chunk-OHLHOQJK.js +0 -81
- package/dist/chunks/chunk-OIMOWJFK.js +0 -261
- package/dist/chunks/chunk-OIUVYBZP.js +0 -183
- package/dist/chunks/chunk-OKKXZJBC.js +0 -777
- package/dist/chunks/chunk-OLD3GDSH.js +0 -179
- package/dist/chunks/chunk-OMT3HYIB.js +0 -282
- package/dist/chunks/chunk-ONS4NBZ7.js +0 -48
- package/dist/chunks/chunk-ONWWHEMU.js +0 -181
- package/dist/chunks/chunk-OOT4ZGYE.js +0 -305
- package/dist/chunks/chunk-OPDH6JAE.js +0 -307
- package/dist/chunks/chunk-ORVFMO2O.js +0 -80
- package/dist/chunks/chunk-OSMWZTAJ.js +0 -298
- package/dist/chunks/chunk-OTN6QTDG.js +0 -83
- package/dist/chunks/chunk-OV343S3D.js +0 -179
- package/dist/chunks/chunk-OVGMJABD.js +0 -33
- package/dist/chunks/chunk-OVYJELTT.js +0 -42
- package/dist/chunks/chunk-OXKHXV7J.js +0 -270
- package/dist/chunks/chunk-OYOIIYGW.js +0 -156
- package/dist/chunks/chunk-OYTEIUMU.js +0 -123
- package/dist/chunks/chunk-OZ4NCP2D.js +0 -33
- package/dist/chunks/chunk-P2FUPFA5.js +0 -217
- package/dist/chunks/chunk-P43YJHNK.js +0 -79
- package/dist/chunks/chunk-P4IE7MK5.js +0 -45
- package/dist/chunks/chunk-P567523H.js +0 -191
- package/dist/chunks/chunk-PAO64QZA.js +0 -250
- package/dist/chunks/chunk-PCP4AT2W.js +0 -44
- package/dist/chunks/chunk-PCVYSBS4.js +0 -122
- package/dist/chunks/chunk-PD7POZC3.js +0 -89
- package/dist/chunks/chunk-PDA6U2CD.js +0 -2168
- package/dist/chunks/chunk-PDP4ZKX7.js +0 -255
- package/dist/chunks/chunk-PGU5K5D6.js +0 -194
- package/dist/chunks/chunk-PKOQZHV5.js +0 -23
- package/dist/chunks/chunk-PL5V5SSZ.js +0 -106
- package/dist/chunks/chunk-PMNTFGXM.js +0 -112
- package/dist/chunks/chunk-PN44HK4O.js +0 -170
- package/dist/chunks/chunk-PNCVGLRG.js +0 -168
- package/dist/chunks/chunk-PNGSRART.js +0 -23
- package/dist/chunks/chunk-POXVW3DV.js +0 -74
- package/dist/chunks/chunk-PP2ILW3M.js +0 -156
- package/dist/chunks/chunk-PQALLIVU.js +0 -101
- package/dist/chunks/chunk-PQDTQODZ.js +0 -190
- package/dist/chunks/chunk-PR6GSYWJ.js +0 -327
- package/dist/chunks/chunk-PSFAKL53.js +0 -45
- package/dist/chunks/chunk-PT5NRFFL.js +0 -83
- package/dist/chunks/chunk-PU7TLYYE.js +0 -183
- package/dist/chunks/chunk-PUK6FD7A.js +0 -83
- package/dist/chunks/chunk-PVFGJIK3.js +0 -342
- package/dist/chunks/chunk-PW3WJB2P.js +0 -81
- package/dist/chunks/chunk-PYC7Y6IR.js +0 -108
- package/dist/chunks/chunk-Q2TO6EHO.js +0 -161
- package/dist/chunks/chunk-QCMMEGSQ.js +0 -193
- package/dist/chunks/chunk-QELYSHVC.js +0 -848
- package/dist/chunks/chunk-QFP7YT3C.js +0 -206
- package/dist/chunks/chunk-QGDBR4ME.js +0 -375
- package/dist/chunks/chunk-QIEFKU62.js +0 -326
- package/dist/chunks/chunk-QK2WWDFU.js +0 -54
- package/dist/chunks/chunk-QK5B2HBS.js +0 -307
- package/dist/chunks/chunk-QNGL2YY7.js +0 -147
- package/dist/chunks/chunk-QNH5VED3.js +0 -163
- package/dist/chunks/chunk-QNMAEHPB.js +0 -91
- package/dist/chunks/chunk-QPOFCXUH.js +0 -172
- package/dist/chunks/chunk-QRZV2OBO.js +0 -45
- package/dist/chunks/chunk-QSNKBA5O.js +0 -33
- package/dist/chunks/chunk-QTDG5OH6.js +0 -87
- package/dist/chunks/chunk-QTIJL5SP.js +0 -232
- package/dist/chunks/chunk-QTQNT4A5.js +0 -194
- package/dist/chunks/chunk-QUAV3GFT.js +0 -128
- package/dist/chunks/chunk-QV7GPU45.js +0 -213
- package/dist/chunks/chunk-QVW5TKRW.js +0 -192
- package/dist/chunks/chunk-QXOZSDFP.js +0 -278
- package/dist/chunks/chunk-R6RHMJIV.js +0 -102
- package/dist/chunks/chunk-R7SIFAMQ.js +0 -1834
- package/dist/chunks/chunk-R7UUCQTK.js +0 -187
- package/dist/chunks/chunk-RBHKH3GR.js +0 -199
- package/dist/chunks/chunk-RBODCCN2.js +0 -50
- package/dist/chunks/chunk-RD6OM3UD.js +0 -146
- package/dist/chunks/chunk-RDGZQJ2Q.js +0 -130
- package/dist/chunks/chunk-RDMJAWFN.js +0 -52
- package/dist/chunks/chunk-RG2WRCVL.js +0 -13729
- package/dist/chunks/chunk-RH3QDH23.js +0 -368
- package/dist/chunks/chunk-RH4QOO6B.js +0 -81
- package/dist/chunks/chunk-RHFDKKCY.js +0 -103
- package/dist/chunks/chunk-RHXETOKL.js +0 -238
- package/dist/chunks/chunk-RIUR42EK.js +0 -33
- package/dist/chunks/chunk-RKPX4IXW.js +0 -104
- package/dist/chunks/chunk-RLEVNE4Z.js +0 -65
- package/dist/chunks/chunk-RMAOXSOE.js +0 -174
- package/dist/chunks/chunk-RNHTCMLQ.js +0 -149
- package/dist/chunks/chunk-ROMAKG2E.js +0 -104
- package/dist/chunks/chunk-RUCVOIAV.js +0 -215
- package/dist/chunks/chunk-RVY2BDHJ.js +0 -262
- package/dist/chunks/chunk-S24JVUZ6.js +0 -71
- package/dist/chunks/chunk-S25JSO4I.js +0 -777
- package/dist/chunks/chunk-S2GAPDUX.js +0 -167
- package/dist/chunks/chunk-S32SEM2O.js +0 -94
- package/dist/chunks/chunk-S52F63L3.js +0 -33
- package/dist/chunks/chunk-SAALMHAN.js +0 -78
- package/dist/chunks/chunk-SFGXZQHH.js +0 -122
- package/dist/chunks/chunk-SFRJBBEB.js +0 -184
- package/dist/chunks/chunk-SHMG4674.js +0 -220
- package/dist/chunks/chunk-SIZZ4USN.js +0 -23
- package/dist/chunks/chunk-SKBC5QRP.js +0 -97
- package/dist/chunks/chunk-SL5OW5MG.js +0 -169
- package/dist/chunks/chunk-SLGS6HKX.js +0 -224
- package/dist/chunks/chunk-SMJG2MGE.js +0 -23
- package/dist/chunks/chunk-SNIZSVCC.js +0 -55
- package/dist/chunks/chunk-SPT36YLL.js +0 -36
- package/dist/chunks/chunk-SQAXRHYK.js +0 -123
- package/dist/chunks/chunk-SRASDDYT.js +0 -170
- package/dist/chunks/chunk-STEWM7QO.js +0 -108
- package/dist/chunks/chunk-SV2STDY7.js +0 -131
- package/dist/chunks/chunk-SWM6YBYV.js +0 -361
- package/dist/chunks/chunk-SX7VOT2N.js +0 -152
- package/dist/chunks/chunk-T4B7SBSK.js +0 -85
- package/dist/chunks/chunk-T5CNKOPQ.js +0 -261
- package/dist/chunks/chunk-T5QJJYEC.js +0 -101
- package/dist/chunks/chunk-T6QUY7ML.js +0 -324
- package/dist/chunks/chunk-T7A53G4A.js +0 -248
- package/dist/chunks/chunk-TASTW64R.js +0 -82
- package/dist/chunks/chunk-TAZSGYEF.js +0 -138
- package/dist/chunks/chunk-TCVEFD2V.js +0 -166
- package/dist/chunks/chunk-TDQYYA5V.js +0 -23
- package/dist/chunks/chunk-TF323EOK.js +0 -115
- package/dist/chunks/chunk-TFFUBL3N.js +0 -60
- package/dist/chunks/chunk-THKBYEMN.js +0 -147
- package/dist/chunks/chunk-THZGQSWE.js +0 -23
- package/dist/chunks/chunk-TI7VRB6R.js +0 -33
- package/dist/chunks/chunk-TIKUHYZ3.js +0 -77
- package/dist/chunks/chunk-TIL6LFVN.js +0 -10754
- package/dist/chunks/chunk-TJD2HRUF.js +0 -80
- package/dist/chunks/chunk-TLPYI2NI.js +0 -190
- package/dist/chunks/chunk-TM4MU7TO.js +0 -360
- package/dist/chunks/chunk-TP7IPISR.js +0 -93
- package/dist/chunks/chunk-TQXSOQCP.js +0 -94
- package/dist/chunks/chunk-TRN6LKBZ.js +0 -242
- package/dist/chunks/chunk-TS3ZKPA2.js +0 -131
- package/dist/chunks/chunk-TSZB27DR.js +0 -260
- package/dist/chunks/chunk-TTIKCSEB.js +0 -105
- package/dist/chunks/chunk-TVKRIRV7.js +0 -175
- package/dist/chunks/chunk-TW6NSSXK.js +0 -410
- package/dist/chunks/chunk-TWKL45WS.js +0 -45
- package/dist/chunks/chunk-TWMSBQJM.js +0 -209
- package/dist/chunks/chunk-TWYLXC6K.js +0 -358
- package/dist/chunks/chunk-TX22URYR.js +0 -221
- package/dist/chunks/chunk-TXLM2BMO.js +0 -44
- package/dist/chunks/chunk-TZQA7OE4.js +0 -102
- package/dist/chunks/chunk-U2CUXMI2.js +0 -176
- package/dist/chunks/chunk-U7RB6KDH.js +0 -237
- package/dist/chunks/chunk-UBRDEHN4.js +0 -121
- package/dist/chunks/chunk-UC67CFRN.js +0 -315
- package/dist/chunks/chunk-UCRHXKSH.js +0 -262
- package/dist/chunks/chunk-UF3GUQH5.js +0 -30
- package/dist/chunks/chunk-UFSGE63A.js +0 -273
- package/dist/chunks/chunk-UFZIN5SR.js +0 -36
- package/dist/chunks/chunk-UGSPAT3B.js +0 -197
- package/dist/chunks/chunk-UIPZR5MF.js +0 -344
- package/dist/chunks/chunk-UKPNJFQ3.js +0 -200
- package/dist/chunks/chunk-ULNKEGLN.js +0 -149
- package/dist/chunks/chunk-UNEXZIT4.js +0 -130
- package/dist/chunks/chunk-UNKG3YKJ.js +0 -201
- package/dist/chunks/chunk-UR6GM5BR.js +0 -23
- package/dist/chunks/chunk-UXA6Q2YM.js +0 -135
- package/dist/chunks/chunk-UYZVM67B.js +0 -98
- package/dist/chunks/chunk-V37LUF5O.js +0 -196
- package/dist/chunks/chunk-V4YU4R34.js +0 -228
- package/dist/chunks/chunk-V5SFZSB4.js +0 -239
- package/dist/chunks/chunk-V66Z2LFI.js +0 -224
- package/dist/chunks/chunk-V7KUM3BX.js +0 -171
- package/dist/chunks/chunk-V7WEN5R6.js +0 -79
- package/dist/chunks/chunk-VAC3BEYR.js +0 -77
- package/dist/chunks/chunk-VBSA5JXF.js +0 -290
- package/dist/chunks/chunk-VBXMQVPV.js +0 -94
- package/dist/chunks/chunk-VEC2YS4Y.js +0 -141
- package/dist/chunks/chunk-VFKBU6WS.js +0 -1309
- package/dist/chunks/chunk-VGQFXFFC.js +0 -88
- package/dist/chunks/chunk-VHHVC3E7.js +0 -366
- package/dist/chunks/chunk-VIK5RVZO.js +0 -143
- package/dist/chunks/chunk-VIRE2IJM.js +0 -23
- package/dist/chunks/chunk-VJ4PDTYT.js +0 -139
- package/dist/chunks/chunk-VLFL4ZR7.js +0 -50
- package/dist/chunks/chunk-VLPKE5OM.js +0 -33
- package/dist/chunks/chunk-VMEIJMND.js +0 -304
- package/dist/chunks/chunk-VMXKPZKD.js +0 -23
- package/dist/chunks/chunk-VNVQCXES.js +0 -83
- package/dist/chunks/chunk-VO2G6W4R.js +0 -49
- package/dist/chunks/chunk-VOJ32H27.js +0 -336
- package/dist/chunks/chunk-VQMJYJNV.js +0 -1307
- package/dist/chunks/chunk-VQPABUEC.js +0 -366
- package/dist/chunks/chunk-VQYOV3MN.js +0 -73
- package/dist/chunks/chunk-VRTGUNT2.js +0 -33
- package/dist/chunks/chunk-VVRIX3LG.js +0 -338
- package/dist/chunks/chunk-VYXVXJF4.js +0 -101
- package/dist/chunks/chunk-VZXQIJXG.js +0 -163
- package/dist/chunks/chunk-W23BLXPT.js +0 -78
- package/dist/chunks/chunk-W2R45YDM.js +0 -95
- package/dist/chunks/chunk-W3EIUFJC.js +0 -162
- package/dist/chunks/chunk-W3NYXY5E.js +0 -39
- package/dist/chunks/chunk-W4YVZOAN.js +0 -197
- package/dist/chunks/chunk-W5B6TNG3.js +0 -110
- package/dist/chunks/chunk-W6B4KLZD.js +0 -209
- package/dist/chunks/chunk-W6ZIDU5T.js +0 -99
- package/dist/chunks/chunk-W7WUKI6F.js +0 -75
- package/dist/chunks/chunk-WB7T35FT.js +0 -42
- package/dist/chunks/chunk-WCLTLJZK.js +0 -179
- package/dist/chunks/chunk-WDOTTWO6.js +0 -97
- package/dist/chunks/chunk-WDSVR43E.js +0 -111
- package/dist/chunks/chunk-WE2HKGBH.js +0 -652
- package/dist/chunks/chunk-WEG75LIK.js +0 -90
- package/dist/chunks/chunk-WGH4CVYS.js +0 -685
- package/dist/chunks/chunk-WGQAKKZI.js +0 -46
- package/dist/chunks/chunk-WGVX6PXC.js +0 -71
- package/dist/chunks/chunk-WICLRDQZ.js +0 -166
- package/dist/chunks/chunk-WK62J56K.js +0 -23
- package/dist/chunks/chunk-WKKMXRUV.js +0 -90
- package/dist/chunks/chunk-WLLXSMNK.js +0 -130
- package/dist/chunks/chunk-WMJ4WBPI.js +0 -655
- package/dist/chunks/chunk-WNRSRDWM.js +0 -165
- package/dist/chunks/chunk-WORYGIZT.js +0 -100
- package/dist/chunks/chunk-WPXRIM5R.js +0 -146
- package/dist/chunks/chunk-WQ5B2GAD.js +0 -115
- package/dist/chunks/chunk-WQ74LRJI.js +0 -160
- package/dist/chunks/chunk-WQCDQOTJ.js +0 -156
- package/dist/chunks/chunk-WQOUZC4D.js +0 -210
- package/dist/chunks/chunk-WQQCF6NL.js +0 -172
- package/dist/chunks/chunk-WTKTLHOU.js +0 -301
- package/dist/chunks/chunk-WUTF3422.js +0 -104
- package/dist/chunks/chunk-WVOQOTWX.js +0 -78
- package/dist/chunks/chunk-WXI45JRY.js +0 -165
- package/dist/chunks/chunk-WY5UE33E.js +0 -33
- package/dist/chunks/chunk-X3HFUGD7.js +0 -231
- package/dist/chunks/chunk-X4ULTVQF.js +0 -99
- package/dist/chunks/chunk-X56FL55Q.js +0 -76
- package/dist/chunks/chunk-XBP6DUQY.js +0 -79
- package/dist/chunks/chunk-XBQCEVQW.js +0 -129
- package/dist/chunks/chunk-XCSO7XVS.js +0 -55
- package/dist/chunks/chunk-XDMBBQ44.js +0 -247
- package/dist/chunks/chunk-XDNFB4TS.js +0 -206
- package/dist/chunks/chunk-XF3B74OT.js +0 -130
- package/dist/chunks/chunk-XHG22X5P.js +0 -134
- package/dist/chunks/chunk-XHPPSQT7.js +0 -97
- package/dist/chunks/chunk-XJKYBDAO.js +0 -282
- package/dist/chunks/chunk-XKHIUVJ5.js +0 -159
- package/dist/chunks/chunk-XLCCAI5D.js +0 -23
- package/dist/chunks/chunk-XLHC7NTN.js +0 -92
- package/dist/chunks/chunk-XN325PUR.js +0 -150
- package/dist/chunks/chunk-XNNAHKAM.js +0 -23
- package/dist/chunks/chunk-XODZ6X7X.js +0 -23
- package/dist/chunks/chunk-XP6P2R3O.js +0 -297
- package/dist/chunks/chunk-XPJSZBHK.js +0 -73
- package/dist/chunks/chunk-XPXPSPRM.js +0 -86
- package/dist/chunks/chunk-XQBS2VBJ.js +0 -91
- package/dist/chunks/chunk-XSCH7XGI.js +0 -23
- package/dist/chunks/chunk-XU3DX7AI.js +0 -10311
- package/dist/chunks/chunk-XVGGUBC4.js +0 -589
- package/dist/chunks/chunk-XXK45HVS.js +0 -137
- package/dist/chunks/chunk-XXSOKSUQ.js +0 -231
- package/dist/chunks/chunk-XZEBPBCM.js +0 -198
- package/dist/chunks/chunk-XZOSIBIM.js +0 -1845
- package/dist/chunks/chunk-XZW24X26.js +0 -141
- package/dist/chunks/chunk-Y3PZN3AX.js +0 -36
- package/dist/chunks/chunk-Y6KOUCGO.js +0 -261
- package/dist/chunks/chunk-Y77EGRF6.js +0 -169
- package/dist/chunks/chunk-Y7KZ5OF5.js +0 -177
- package/dist/chunks/chunk-YBKBHLEY.js +0 -106
- package/dist/chunks/chunk-YBUBOH3P.js +0 -149
- package/dist/chunks/chunk-YDLHRF4U.js +0 -260
- package/dist/chunks/chunk-YDXP4WTW.js +0 -106
- package/dist/chunks/chunk-YEO34X3A.js +0 -160
- package/dist/chunks/chunk-YETU2A7I.js +0 -224
- package/dist/chunks/chunk-YFESMKQQ.js +0 -71
- package/dist/chunks/chunk-YGKTGJM2.js +0 -41
- package/dist/chunks/chunk-YH3SSR6G.js +0 -128
- package/dist/chunks/chunk-YIW5VSFK.js +0 -120
- package/dist/chunks/chunk-YJ6LEU2J.js +0 -78
- package/dist/chunks/chunk-YJEHJEX4.js +0 -47
- package/dist/chunks/chunk-YKIKRJ74.js +0 -84
- package/dist/chunks/chunk-YLGRUDW6.js +0 -166
- package/dist/chunks/chunk-YLWIXBTK.js +0 -118
- package/dist/chunks/chunk-YM6PJXNQ.js +0 -298
- package/dist/chunks/chunk-YNB5QZDP.js +0 -49
- package/dist/chunks/chunk-YQX3IV5C.js +0 -214
- package/dist/chunks/chunk-YVWMVSVP.js +0 -283
- package/dist/chunks/chunk-YXUBN6Z7.js +0 -129
- package/dist/chunks/chunk-YXVXP4MG.js +0 -218
- package/dist/chunks/chunk-YZLW4DFE.js +0 -305
- package/dist/chunks/chunk-Z2HJGR3A.js +0 -209
- package/dist/chunks/chunk-Z65YVTIN.js +0 -30
- package/dist/chunks/chunk-ZBNBRVIV.js +0 -45
- package/dist/chunks/chunk-ZDWEIQIE.js +0 -240
- package/dist/chunks/chunk-ZEKCLU2L.js +0 -88
- package/dist/chunks/chunk-ZFDDNQCQ.js +0 -311
- package/dist/chunks/chunk-ZGQMKX4X.js +0 -36
- package/dist/chunks/chunk-ZHW574NT.js +0 -45
- package/dist/chunks/chunk-ZITOQAQM.js +0 -274
- package/dist/chunks/chunk-ZJ5QPIBV.js +0 -115
- package/dist/chunks/chunk-ZJQK6N6E.js +0 -165
- package/dist/chunks/chunk-ZNQEAZWK.js +0 -36
- package/dist/chunks/chunk-ZOZ3V5DX.js +0 -111
- package/dist/chunks/chunk-ZPBD3O7T.js +0 -91
- package/dist/chunks/chunk-ZQFETLUJ.js +0 -122
- package/dist/chunks/chunk-ZQXUZNCB.js +0 -71
- package/dist/chunks/chunk-ZSSYBVOB.js +0 -164
- package/dist/chunks/chunk-ZT6SX43S.js +0 -115
- package/dist/chunks/chunk-ZTAOLM7L.js +0 -79
- package/dist/chunks/chunk-ZU2G72GQ.js +0 -157
- package/dist/chunks/chunk-ZVNMHMKW.js +0 -195
- package/dist/chunks/chunk-ZXWPGQM2.js +0 -45
- package/dist/chunks/chunk-ZYKXKIJQ.js +0 -157
- package/dist/chunks/chunk-ZZOVEG7Y.js +0 -256
- package/dist/chunks/client-CUSZUCKL.js +0 -168
- package/dist/chunks/client-P2N4HJDI.js +0 -31
- package/dist/chunks/client-URK3YYVX.js +0 -47
- package/dist/chunks/client-actions-BVZPKYVU.js +0 -170
- package/dist/chunks/components-D2X2JWWH.js +0 -78
- package/dist/chunks/dangerous-VLYOJ64W.js +0 -124
- package/dist/chunks/delete-current-file-3O3ZC5TD.js +0 -163
- package/dist/chunks/editor-seams-FDXTVQME.js +0 -183
- package/dist/chunks/editor-store-U3IBR5IB.js +0 -148
- package/dist/chunks/export-5OCOY5YP.js +0 -67
- package/dist/chunks/export-watermark-7V6Q2WDH.js +0 -157
- package/dist/chunks/eyedropper-E3CPFXF3.js +0 -355
- package/dist/chunks/generate-media-SINWPAL2.js +0 -255
- package/dist/chunks/host-LX5BAIAO.js +0 -184
- package/dist/chunks/host-ZCLOZGK7.js +0 -246
- package/dist/chunks/integrations-4D5N2HJ4.js +0 -125
- package/dist/chunks/libraries-UCNQ7N5Q.js +0 -311
- package/dist/chunks/live-H7TONE3V.js +0 -322
- package/dist/chunks/lottie-WJENERSB.js +0 -91
- package/dist/chunks/media-tool-ZZEYSUGK.js +0 -237
- package/dist/chunks/new-file-BVZJRZQ6.js +0 -140
- package/dist/chunks/next-commerce-5KRQYQY5.js +0 -74
- package/dist/chunks/pdf-LJ4WTABV.js +0 -1218
- package/dist/chunks/player-check-2PQRKOPH.js +0 -119
- package/dist/chunks/plugin-GLJN2F4L.js +0 -131
- package/dist/chunks/plugin-import-O7GNJMV2.js +0 -692
- package/dist/chunks/presence-UBWVP6PY.js +0 -137
- package/dist/chunks/project-TLJSABZU.js +0 -1601
- package/dist/chunks/publish-site-TW46EWEK.js +0 -167
- package/dist/chunks/publish-store-BDAQYXHD.js +0 -100
- package/dist/chunks/raster-actions-HC5OLH3T.js +0 -233
- package/dist/chunks/reference-images-FWIKE3UF.js +0 -62
- package/dist/chunks/registry-IWH5W2YN.js +0 -45
- package/dist/chunks/resolvers-Z3GFIWPW.js +0 -150
- package/dist/chunks/runner-7IOB2RD3.js +0 -3546
- package/dist/chunks/store-A7CHGORL.js +0 -235
- package/dist/chunks/storefront-L3R5KFQ4.js +0 -336
- package/dist/chunks/storefront-prepare-NS6G6MMT.js +0 -33
- package/dist/chunks/svg-export-SXF3SN5D.js +0 -84
- package/dist/chunks/sync-SYCWFNRY.js +0 -162
- package/dist/chunks/tabs-VSF6YMCN.js +0 -320
- package/dist/chunks/team-6CKYUXXU.js +0 -47
- package/dist/chunks/team-client-6RLJ7MYM.js +0 -158
- package/dist/chunks/tools-QK7JZ2JQ.js +0 -37
- package/dist/chunks/tree-FCCI3I2H.js +0 -83
- package/dist/chunks/ui-commands-IFHCVB6M.js +0 -191
- package/dist/chunks/versions-QKCND6B2.js +0 -320
- package/dist/chunks/web-E3ZJWOGA.js +0 -186
|
@@ -1,1834 +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
|
-
strokeBehindFill
|
|
9
|
-
} from "./chunk-44UEFX4Z.js";
|
|
10
|
-
import {
|
|
11
|
-
anchorOf,
|
|
12
|
-
hrefOf,
|
|
13
|
-
maxScaleOf,
|
|
14
|
-
opensNewTab,
|
|
15
|
-
pageScalingOf
|
|
16
|
-
} from "./chunk-EEHWGME6.js";
|
|
17
|
-
import {
|
|
18
|
-
stopsOf
|
|
19
|
-
} from "./chunk-7KVJX66N.js";
|
|
20
|
-
import {
|
|
21
|
-
machineOf,
|
|
22
|
-
machineSpec,
|
|
23
|
-
stateStretch
|
|
24
|
-
} from "./chunk-FZYQFW5T.js";
|
|
25
|
-
import {
|
|
26
|
-
isCommerceAction
|
|
27
|
-
} from "./chunk-BJEUPCOR.js";
|
|
28
|
-
import {
|
|
29
|
-
childrenOf
|
|
30
|
-
} from "./chunk-Y5DRBM5F.js";
|
|
31
|
-
import {
|
|
32
|
-
evaluatePose
|
|
33
|
-
} from "./chunk-MJKZDUX4.js";
|
|
34
|
-
import {
|
|
35
|
-
capability,
|
|
36
|
-
featureName,
|
|
37
|
-
followsVisibility,
|
|
38
|
-
isLive,
|
|
39
|
-
movesItself,
|
|
40
|
-
renderMode
|
|
41
|
-
} from "./chunk-MGMQ2KJU.js";
|
|
42
|
-
import {
|
|
43
|
-
getNativeExtension
|
|
44
|
-
} from "./chunk-XGC2MJQ3.js";
|
|
45
|
-
import {
|
|
46
|
-
screenModules
|
|
47
|
-
} from "./chunk-S25JSO4I.js";
|
|
48
|
-
import {
|
|
49
|
-
isPixelArt
|
|
50
|
-
} from "./chunk-HLPK64GC.js";
|
|
51
|
-
import {
|
|
52
|
-
breakpointsOf
|
|
53
|
-
} from "./chunk-UNLBBM3F.js";
|
|
54
|
-
import {
|
|
55
|
-
resolveTextNodeStyles
|
|
56
|
-
} from "./chunk-FM6YGPXM.js";
|
|
57
|
-
import {
|
|
58
|
-
ITEM_RECORD,
|
|
59
|
-
exprData,
|
|
60
|
-
hasItemToken,
|
|
61
|
-
itemMark,
|
|
62
|
-
itemMarks,
|
|
63
|
-
itemNode,
|
|
64
|
-
itemScope,
|
|
65
|
-
itemText,
|
|
66
|
-
pinnedRecord,
|
|
67
|
-
recordSlugs,
|
|
68
|
-
repeatRecords,
|
|
69
|
-
templateRecord,
|
|
70
|
-
withData
|
|
71
|
-
} from "./chunk-D3OJDBJY.js";
|
|
72
|
-
import {
|
|
73
|
-
fieldKey
|
|
74
|
-
} from "./chunk-QUOR4SUK.js";
|
|
75
|
-
import {
|
|
76
|
-
colorToHex8
|
|
77
|
-
} from "./chunk-J65G3EI7.js";
|
|
78
|
-
import {
|
|
79
|
-
frameRunsOn,
|
|
80
|
-
frameTimeline,
|
|
81
|
-
hasFrameMotion,
|
|
82
|
-
instancePoseAt,
|
|
83
|
-
isMotionComponent,
|
|
84
|
-
playbackOf,
|
|
85
|
-
timelineDuration
|
|
86
|
-
} from "./chunk-TUUV4LPG.js";
|
|
87
|
-
import {
|
|
88
|
-
init_scene_graph,
|
|
89
|
-
resolveVirtualNode
|
|
90
|
-
} from "./chunk-XLDMTJQY.js";
|
|
91
|
-
import {
|
|
92
|
-
init_instance_layout,
|
|
93
|
-
withInstanceBox
|
|
94
|
-
} from "./chunk-AJCJBDGI.js";
|
|
95
|
-
import {
|
|
96
|
-
init_expressions2 as init_expressions,
|
|
97
|
-
init_variables,
|
|
98
|
-
resolveNodeVariables,
|
|
99
|
-
variablesScope
|
|
100
|
-
} from "./chunk-X6UBPW5N.js";
|
|
101
|
-
import {
|
|
102
|
-
blursOf,
|
|
103
|
-
init_effects,
|
|
104
|
-
shadowsOf
|
|
105
|
-
} from "./chunk-NZKUQ5FE.js";
|
|
106
|
-
import {
|
|
107
|
-
init_scene3d,
|
|
108
|
-
is3DContext,
|
|
109
|
-
passesThrough,
|
|
110
|
-
scene3dOf
|
|
111
|
-
} from "./chunk-VW2FNPYI.js";
|
|
112
|
-
import {
|
|
113
|
-
has3DPlacement,
|
|
114
|
-
init_transform3d,
|
|
115
|
-
zoomPx
|
|
116
|
-
} from "./chunk-P4XICREO.js";
|
|
117
|
-
import {
|
|
118
|
-
init_transform,
|
|
119
|
-
restValue
|
|
120
|
-
} from "./chunk-ZPBARJPC.js";
|
|
121
|
-
import {
|
|
122
|
-
init_define_POPCRAFT_COMPONENT_IDS
|
|
123
|
-
} from "./chunk-MFWXJURX.js";
|
|
124
|
-
|
|
125
|
-
// lib/io/web/tree.ts
|
|
126
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
127
|
-
init_instance_layout();
|
|
128
|
-
init_variables();
|
|
129
|
-
init_scene3d();
|
|
130
|
-
|
|
131
|
-
// lib/code/props.ts
|
|
132
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
133
|
-
function propName(key) {
|
|
134
|
-
const words = key.split("#")[0].trim().split(/[^A-Za-z0-9]+/).filter(Boolean);
|
|
135
|
-
const name = words.map((w, i) => i === 0 ? w.charAt(0).toLowerCase() + w.slice(1) : w.charAt(0).toUpperCase() + w.slice(1)).join("");
|
|
136
|
-
return /^[A-Za-z_$]/.test(name) ? name : `p${name}`;
|
|
137
|
-
}
|
|
138
|
-
function componentOf(nodes, node) {
|
|
139
|
-
const c = node.type === "COMPONENT" ? node : node.type === "INSTANCE" ? nodes[node.mainComponentId] : void 0;
|
|
140
|
-
return c?.type === "COMPONENT" ? c : void 0;
|
|
141
|
-
}
|
|
142
|
-
function codeOf(nodes, node) {
|
|
143
|
-
if (node.type !== "COMPONENT" && node.type !== "INSTANCE") return null;
|
|
144
|
-
return componentOf(nodes, node)?.code ?? null;
|
|
145
|
-
}
|
|
146
|
-
var value = (v) => typeof v === "string" || typeof v === "number" || typeof v === "boolean" ? v : v && typeof v === "object" && "r" in v ? colorToHex8(v) : void 0;
|
|
147
|
-
function codeProps(nodes, node) {
|
|
148
|
-
const component = componentOf(nodes, node);
|
|
149
|
-
const out = {};
|
|
150
|
-
if (!component) return out;
|
|
151
|
-
const set = component.parentId ? nodes[component.parentId] : void 0;
|
|
152
|
-
const defs = (set?.type === "COMPONENT_SET" ? set.componentPropertyDefinitions : component.componentPropertyDefinitions) ?? {};
|
|
153
|
-
const given = node.type === "INSTANCE" ? node.componentProperties ?? {} : {};
|
|
154
|
-
for (const key of Object.keys(defs).sort()) {
|
|
155
|
-
const v = value(key in given ? given[key] : defs[key].defaultValue);
|
|
156
|
-
if (v !== void 0) out[propName(key)] = v;
|
|
157
|
-
}
|
|
158
|
-
out.width = Math.round(node.width);
|
|
159
|
-
out.height = Math.round(node.height);
|
|
160
|
-
return out;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
// lib/document/controls.ts
|
|
164
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
165
|
-
function fieldPart(nodes, id) {
|
|
166
|
-
const n = nodes[id];
|
|
167
|
-
if (!n) return null;
|
|
168
|
-
if (n.type === "TEXT") return id;
|
|
169
|
-
for (const c of n.childIds ?? []) {
|
|
170
|
-
const hit = fieldPart(nodes, c);
|
|
171
|
-
if (hit) return hit;
|
|
172
|
-
}
|
|
173
|
-
return null;
|
|
174
|
-
}
|
|
175
|
-
var cleanName = (raw) => raw.trim().replace(/[^A-Za-z0-9_-]+/g, "-").replace(/^-+|-+$/g, "");
|
|
176
|
-
|
|
177
|
-
// lib/io/web/tree.ts
|
|
178
|
-
init_expressions();
|
|
179
|
-
|
|
180
|
-
// lib/io/web/css.ts
|
|
181
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
182
|
-
init_effects();
|
|
183
|
-
|
|
184
|
-
// lib/io/web/paint.ts
|
|
185
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
186
|
-
var hex2 = (v) => Math.round(v * 255).toString(16).padStart(2, "0");
|
|
187
|
-
var toHex = (c) => `#${hex2(c.r)}${hex2(c.g)}${hex2(c.b)}`.toUpperCase();
|
|
188
|
-
function toRgba(c, a) {
|
|
189
|
-
const alpha = a !== void 0 ? a : c.a;
|
|
190
|
-
const [r, g, b] = [c.r, c.g, c.b].map((v) => Math.round(v * 255));
|
|
191
|
-
return alpha < 1 ? `rgba(${r}, ${g}, ${b}, ${Math.round(alpha * 100) / 100})` : `rgb(${r}, ${g}, ${b})`;
|
|
192
|
-
}
|
|
193
|
-
function gradientAngleDeg(paint) {
|
|
194
|
-
const h = paint.gradientHandlePositions;
|
|
195
|
-
const p0 = h?.[0] ?? { x: 0, y: 0.5 };
|
|
196
|
-
const p1 = h?.[1] ?? { x: 1, y: 0.5 };
|
|
197
|
-
return Math.round(Math.atan2(p1.x - p0.x, -(p1.y - p0.y)) * 180 / Math.PI);
|
|
198
|
-
}
|
|
199
|
-
var gradientStopsCSS = (paint) => (paint.gradientStops ?? []).map((s) => `${toRgba(s.color)} ${Math.round((s.position ?? 0) * 100)}%`).join(", ");
|
|
200
|
-
var IMAGE_FIT = {
|
|
201
|
-
FILL: "center / cover no-repeat",
|
|
202
|
-
CROP: "center / cover no-repeat",
|
|
203
|
-
FIT: "center / contain no-repeat",
|
|
204
|
-
TILE: "top left / auto repeat"
|
|
205
|
-
};
|
|
206
|
-
function paintToBackground(paint, opts = {}) {
|
|
207
|
-
if (paint.type === "SOLID" && paint.color) {
|
|
208
|
-
const alpha = (paint.opacity ?? 1) * paint.color.a;
|
|
209
|
-
return alpha < 1 ? toRgba(paint.color, alpha) : toHex(paint.color);
|
|
210
|
-
}
|
|
211
|
-
if (paint.type === "GRADIENT_LINEAR") return `linear-gradient(${gradientAngleDeg(paint)}deg, ${gradientStopsCSS(paint)})`;
|
|
212
|
-
if (paint.type === "GRADIENT_RADIAL") return `radial-gradient(circle, ${gradientStopsCSS(paint)})`;
|
|
213
|
-
if (paint.type === "GRADIENT_ANGULAR") return `conic-gradient(${gradientStopsCSS(paint)})`;
|
|
214
|
-
if (paint.type === "GRADIENT_DIAMOND") return `radial-gradient(closest-side, ${gradientStopsCSS(paint)})`;
|
|
215
|
-
if (paint.type === "IMAGE") {
|
|
216
|
-
const src = paint.imageUrl || paint.imageHash;
|
|
217
|
-
if (!src) return null;
|
|
218
|
-
return `url('${opts.fullImageUrl || src.length <= 64 ? src : src.slice(0, 64)}') ${IMAGE_FIT[paint.scaleMode ?? "FILL"]}`;
|
|
219
|
-
}
|
|
220
|
-
return null;
|
|
221
|
-
}
|
|
222
|
-
var swiftColor = (c) => {
|
|
223
|
-
const n = (v) => Math.round(v * 1e3) / 1e3;
|
|
224
|
-
return `Color(red: ${n(c.r)}, green: ${n(c.g)}, blue: ${n(c.b)}${(c.a ?? 1) < 1 ? `, opacity: ${Math.round((c.a ?? 1) * 100) / 100}` : ""})`;
|
|
225
|
-
};
|
|
226
|
-
var composeColor = (c) => `Color(0x${[c.a ?? 1, c.r, c.g, c.b].map((v) => Math.round(v * 255).toString(16).padStart(2, "0")).join("").toUpperCase()})`;
|
|
227
|
-
function parseCssColor(css) {
|
|
228
|
-
if (!css) return null;
|
|
229
|
-
const hex = /^#([0-9a-f]{6})$/i.exec(css.trim());
|
|
230
|
-
if (hex) {
|
|
231
|
-
const n = parseInt(hex[1], 16);
|
|
232
|
-
return { r: (n >> 16 & 255) / 255, g: (n >> 8 & 255) / 255, b: (n & 255) / 255, a: 1 };
|
|
233
|
-
}
|
|
234
|
-
const rgb = /^rgba?\(([^)]+)\)$/i.exec(css.trim());
|
|
235
|
-
if (!rgb) return null;
|
|
236
|
-
const parts = rgb[1].split(",").map((v) => Number(v.trim()));
|
|
237
|
-
if (parts.length < 3 || parts.some((v) => Number.isNaN(v))) return null;
|
|
238
|
-
return { r: parts[0] / 255, g: parts[1] / 255, b: parts[2] / 255, a: parts[3] ?? 1 };
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
// lib/io/web/css.ts
|
|
242
|
-
init_scene3d();
|
|
243
|
-
init_transform3d();
|
|
244
|
-
init_transform();
|
|
245
|
-
function stylePaints(styleId, styles) {
|
|
246
|
-
const s = styleId ? styles?.[styleId] : void 0;
|
|
247
|
-
return s?.type === "PAINT" ? s.paints ?? [] : null;
|
|
248
|
-
}
|
|
249
|
-
var visibleFills = (node, styles) => (stylePaints(node.fillStyleId, styles) ?? node.fills ?? []).filter((f) => f.visible !== false);
|
|
250
|
-
var round = (v) => Math.round(v * 100) / 100;
|
|
251
|
-
function transformParts(node, dx = 0, dy = 0) {
|
|
252
|
-
return [
|
|
253
|
-
dx + restValue(node, "translateX"),
|
|
254
|
-
dy + restValue(node, "translateY"),
|
|
255
|
-
restValue(node, "z"),
|
|
256
|
-
node.rotation || 0,
|
|
257
|
-
restValue(node, "rotateY"),
|
|
258
|
-
restValue(node, "rotateX"),
|
|
259
|
-
restValue(node, "scaleX") * (node.flipHorizontal ? -1 : 1),
|
|
260
|
-
restValue(node, "scaleY") * (node.flipVertical ? -1 : 1)
|
|
261
|
-
];
|
|
262
|
-
}
|
|
263
|
-
function transformFromParts(p, orbit) {
|
|
264
|
-
const [tx, ty, z, r, ry0, rx0, sx, sy] = p;
|
|
265
|
-
const ry = ry0 + (orbit?.rotateY ?? 0), rx = rx0 + (orbit?.rotateX ?? 0);
|
|
266
|
-
const parts = [];
|
|
267
|
-
if (tx || ty || z) parts.push(z ? `translate3d(${round(tx)}px, ${round(ty)}px, ${round(z)}px)` : `translate(${round(tx)}px, ${round(ty)}px)`);
|
|
268
|
-
if (r) parts.push(`rotate(${round(r)}deg)`);
|
|
269
|
-
if (ry) parts.push(`rotateY(${round(ry)}deg)`);
|
|
270
|
-
if (rx) parts.push(`rotateX(${round(rx)}deg)`);
|
|
271
|
-
if (sx !== 1 || sy !== 1) parts.push(`scale(${round(sx)}, ${round(sy)})`);
|
|
272
|
-
return parts.length ? parts.join(" ") : void 0;
|
|
273
|
-
}
|
|
274
|
-
var transformCss = (node) => transformFromParts(transformParts(node));
|
|
275
|
-
function styleMapFor(node, styles, opts = {}) {
|
|
276
|
-
const scene = node;
|
|
277
|
-
const out = {};
|
|
278
|
-
out.width = `${Math.round(node.width)}px`;
|
|
279
|
-
out.height = `${Math.round(node.height)}px`;
|
|
280
|
-
const transform = transformCss(node);
|
|
281
|
-
if (transform) out.transform = transform;
|
|
282
|
-
const ax = restValue(node, "anchorX"), ay = restValue(node, "anchorY");
|
|
283
|
-
if (transform && (ax !== 0.5 || ay !== 0.5)) out["transform-origin"] = `${round(ax * 100)}% ${round(ay * 100)}%`;
|
|
284
|
-
const scene3d = scene3dOf(node);
|
|
285
|
-
if (scene3d) {
|
|
286
|
-
out.perspective = `${round(zoomPx(scene3d.camera.focalLength, node.width))}px`;
|
|
287
|
-
out["perspective-origin"] = `${round((scene3d.originX ?? 0.5) * 100)}% ${round((scene3d.originY ?? 0.5) * 100)}%`;
|
|
288
|
-
out["transform-style"] = "preserve-3d";
|
|
289
|
-
} else if (has3DPlacement(node) && passesThrough(node)) out["transform-style"] = "preserve-3d";
|
|
290
|
-
if ((node.opacity ?? 1) !== 1) out.opacity = String(round(node.opacity ?? 1));
|
|
291
|
-
const bm = node.blendMode;
|
|
292
|
-
if (bm && bm !== "NORMAL" && bm !== "PASS_THROUGH") out["mix-blend-mode"] = bm.toLowerCase().replace(/_/g, "-");
|
|
293
|
-
const fills = visibleFills(node, styles);
|
|
294
|
-
const own = node.type === "IMAGE" && node.imageUrl ? [{ type: "IMAGE", imageUrl: node.imageUrl, scaleMode: node.scaleMode, visible: true }] : [];
|
|
295
|
-
const painted = [...fills, ...own];
|
|
296
|
-
if (node.type !== "TEXT" && painted.length) {
|
|
297
|
-
const layers = painted.map((f) => paintToBackground(f, opts)).filter((l) => !!l);
|
|
298
|
-
const over = (l) => /^(#|rgb)/.test(l) ? `linear-gradient(${l}, ${l})` : l;
|
|
299
|
-
if (layers.length) out.background = layers.map((l, i) => i === layers.length - 1 ? l : over(l)).join(", ");
|
|
300
|
-
}
|
|
301
|
-
const cr = scene.cornerRadius;
|
|
302
|
-
if (typeof cr === "number" && cr > 0) out["border-radius"] = `${cr}px`;
|
|
303
|
-
else if (Array.isArray(cr) && cr.some((r) => r > 0)) out["border-radius"] = cr.map((r) => `${r}px`).join(" ");
|
|
304
|
-
if (node.type === "ELLIPSE") out["border-radius"] = "50%";
|
|
305
|
-
const stroke = scene.strokes?.find((st) => st.visible !== false);
|
|
306
|
-
if (stroke && node.type === "TEXT") {
|
|
307
|
-
const w = Array.isArray(stroke.width) ? Math.max(...stroke.width) : stroke.width;
|
|
308
|
-
const behind = strokeBehindFill(node) || stroke.alignment === "OUTSIDE";
|
|
309
|
-
if (w > 0 && !(stroke.alignment === "INSIDE" && behind)) {
|
|
310
|
-
out["-webkit-text-stroke"] = `${stroke.alignment === "OUTSIDE" ? w * 2 : w}px ${toRgba({ ...stroke.color, a: (stroke.color.a ?? 1) * (stroke.opacity ?? 1) })}`;
|
|
311
|
-
out["paint-order"] = behind ? "stroke fill" : "normal";
|
|
312
|
-
}
|
|
313
|
-
} else if (stroke) {
|
|
314
|
-
const color = toHex(stroke.color);
|
|
315
|
-
if (Array.isArray(stroke.width)) {
|
|
316
|
-
out["border-style"] = "solid";
|
|
317
|
-
out["border-color"] = color;
|
|
318
|
-
out["border-width"] = stroke.width.map((w) => `${w}px`).join(" ");
|
|
319
|
-
} else if (stroke.alignment === "OUTSIDE") {
|
|
320
|
-
out.outline = `${stroke.width}px solid ${color}`;
|
|
321
|
-
} else {
|
|
322
|
-
out.border = `${stroke.width}px ${stroke.dashPattern?.length ? "dashed" : "solid"} ${color}`;
|
|
323
|
-
if (stroke.alignment === "INSIDE") out["box-sizing"] = "border-box";
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
const shadows = shadowsOf(node, styles).filter((s) => s.visible);
|
|
327
|
-
if (node.type === "TEXT") {
|
|
328
|
-
const drops = shadows.filter((s) => s.type === "DROP_SHADOW");
|
|
329
|
-
if (drops.length) out["text-shadow"] = drops.flatMap(textShadowCss).join(", ");
|
|
330
|
-
} else if (shadows.length) {
|
|
331
|
-
out["box-shadow"] = shadows.map((s) => `${s.type === "INNER_SHADOW" ? "inset " : ""}${s.offset.x}px ${s.offset.y}px ${s.blur}px ${s.spread}px ${toRgba(s.color)}`).join(", ");
|
|
332
|
-
}
|
|
333
|
-
const blurs = blursOf(node, styles);
|
|
334
|
-
const layer = blurs.find((b) => b.type === "LAYER");
|
|
335
|
-
const backdrop = blurs.find((b) => b.type === "BACKGROUND");
|
|
336
|
-
if (layer) out.filter = `blur(${layer.radius}px)`;
|
|
337
|
-
if (backdrop) out["backdrop-filter"] = `blur(${backdrop.radius}px)`;
|
|
338
|
-
if (node.type === "FRAME" || node.type === "COMPONENT" || node.type === "INSTANCE") {
|
|
339
|
-
const f = node;
|
|
340
|
-
Object.assign(out, flexDeclarations(f));
|
|
341
|
-
if (f.clipsContent) out.overflow = "hidden";
|
|
342
|
-
}
|
|
343
|
-
if (node.type === "TEXT") {
|
|
344
|
-
const t = node;
|
|
345
|
-
const tFills = visibleFills(t, styles);
|
|
346
|
-
out.margin = "0";
|
|
347
|
-
if (t.textAutoResize === "WIDTH_AND_HEIGHT") {
|
|
348
|
-
out.width = "max-content";
|
|
349
|
-
out.height = "auto";
|
|
350
|
-
out["white-space"] = "pre";
|
|
351
|
-
} else if (t.textAutoResize === "HEIGHT") out.height = "auto";
|
|
352
|
-
out["font-family"] = `"${t.fontFamily}", system-ui, sans-serif`;
|
|
353
|
-
out["font-size"] = `${t.fontSize}px`;
|
|
354
|
-
out["font-weight"] = String(t.fontWeight);
|
|
355
|
-
if (t.fontStyle === "italic") out["font-style"] = "italic";
|
|
356
|
-
out["line-height"] = t.lineHeight === "AUTO" ? "normal" : `${t.lineHeight}px`;
|
|
357
|
-
if (t.letterSpacing) out["letter-spacing"] = `${t.letterSpacing}px`;
|
|
358
|
-
out["text-align"] = t.textAlign.toLowerCase();
|
|
359
|
-
if (t.textDecoration === "UNDERLINE") out["text-decoration"] = "underline";
|
|
360
|
-
else if (t.textDecoration === "STRIKETHROUGH") out["text-decoration"] = "line-through";
|
|
361
|
-
const tc = t.textCase;
|
|
362
|
-
if (tc === "UPPER") out["text-transform"] = "uppercase";
|
|
363
|
-
else if (tc === "LOWER") out["text-transform"] = "lowercase";
|
|
364
|
-
else if (tc === "TITLE") out["text-transform"] = "capitalize";
|
|
365
|
-
const solid = tFills.find((f) => f.type === "SOLID" && f.color);
|
|
366
|
-
if (solid?.color) out.color = toHex(solid.color);
|
|
367
|
-
const grad = tFills.find((f) => f.type !== "SOLID");
|
|
368
|
-
const g = grad ? paintToBackground(grad) : null;
|
|
369
|
-
if (g) {
|
|
370
|
-
out.background = g;
|
|
371
|
-
out["-webkit-background-clip"] = "text";
|
|
372
|
-
out.color = "transparent";
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
return out;
|
|
376
|
-
}
|
|
377
|
-
function flexDeclarations(f) {
|
|
378
|
-
const out = {};
|
|
379
|
-
if (f.layoutMode !== "HORIZONTAL" && f.layoutMode !== "VERTICAL") return out;
|
|
380
|
-
out.display = "flex";
|
|
381
|
-
out["flex-direction"] = f.layoutMode === "HORIZONTAL" ? "row" : "column";
|
|
382
|
-
const justify = JUSTIFY[f.primaryAxisAlignItems ?? "MIN"];
|
|
383
|
-
const align = ALIGN[f.counterAxisAlignItems ?? "MIN"];
|
|
384
|
-
if (justify !== "flex-start") out["justify-content"] = justify;
|
|
385
|
-
if (align !== "flex-start") out["align-items"] = align;
|
|
386
|
-
out.gap = `${f.itemSpacing ?? 0}px`;
|
|
387
|
-
if (f.padding) {
|
|
388
|
-
out.padding = `${f.padding.top}px ${f.padding.right}px ${f.padding.bottom}px ${f.padding.left}px`;
|
|
389
|
-
if (f.padding.top || f.padding.right || f.padding.bottom || f.padding.left) out["box-sizing"] = "border-box";
|
|
390
|
-
}
|
|
391
|
-
return out;
|
|
392
|
-
}
|
|
393
|
-
var JUSTIFY = { MIN: "flex-start", MAX: "flex-end", CENTER: "center", SPACE_BETWEEN: "space-between" };
|
|
394
|
-
var ALIGN = { MIN: "flex-start", MAX: "flex-end", CENTER: "center", BASELINE: "baseline" };
|
|
395
|
-
var styleMapToCSSText = (m, indent = "") => Object.entries(m).map(([k, v]) => `${indent}${k}: ${v};`).join("\n");
|
|
396
|
-
var styleMapToInline = (m) => Object.entries(m).map(([k, v]) => `${k}:${v}`).join(";");
|
|
397
|
-
var camel = (k) => k.startsWith("--") ? k : (k.startsWith("-") ? k.replace(/^-/, "Webkit").replace(/-webkit-/i, "") : k).replace(/-([a-z])/g, (_, c) => c.toUpperCase());
|
|
398
|
-
var styleMapToJSX = (m) => Object.entries(m).map(([k, v]) => [camel(k), v.replace(/'/g, "\\'")]);
|
|
399
|
-
function textShadowCss(s) {
|
|
400
|
-
const color = toRgba(s.color);
|
|
401
|
-
const r = s.spread || 0;
|
|
402
|
-
if (r <= 0) return [`${s.offset.x}px ${s.offset.y}px ${s.blur}px ${color}`];
|
|
403
|
-
const out = [`${s.offset.x}px ${s.offset.y}px ${s.blur}px ${color}`];
|
|
404
|
-
for (const [ring, n] of [[r / 2, 8], [r, 16]]) {
|
|
405
|
-
for (let i = 0; i < n; i++) {
|
|
406
|
-
const a = i / n * Math.PI * 2;
|
|
407
|
-
out.push(`${round2(s.offset.x + Math.cos(a) * ring)}px ${round2(s.offset.y + Math.sin(a) * ring)}px ${s.blur}px ${color}`);
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
return out;
|
|
411
|
-
}
|
|
412
|
-
var round2 = (v) => Math.round(v * 100) / 100;
|
|
413
|
-
|
|
414
|
-
// lib/io/web/expressible.ts
|
|
415
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
416
|
-
function expressibility(node, styles) {
|
|
417
|
-
const c = capability(node, "css", styles);
|
|
418
|
-
return { css: c.reason === "", reason: c.reason, needsRaster: c.verdict === "raster" };
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
// lib/io/web/motion.ts
|
|
422
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
423
|
-
init_scene_graph();
|
|
424
|
-
|
|
425
|
-
// lib/io/web/keyframes.ts
|
|
426
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
427
|
-
var SAMPLE_RATE = 30;
|
|
428
|
-
var round3 = (v) => Math.round(v * 1e3) / 1e3;
|
|
429
|
-
var pct = (k) => Math.round(k * 1e5) / 1e3;
|
|
430
|
-
function transformOf(n, rest) {
|
|
431
|
-
return transformFromParts(transformParts(n, n.x - rest.x, n.y - rest.y)) ?? "none";
|
|
432
|
-
}
|
|
433
|
-
function declarationsOf(node, rest, style) {
|
|
434
|
-
return { ...style(node), transform: transformOf(node, rest), opacity: String(round3(node.visible === false ? 0 : node.opacity ?? 1)) };
|
|
435
|
-
}
|
|
436
|
-
var FIXED = /* @__PURE__ */ new Set(["position", "display", "left", "top", "right", "bottom", "inset", "animation", "animation-play-state", "transform-origin", "transform-style", "box-sizing", "isolation", "z-index"]);
|
|
437
|
-
var NUMBER = /-?\d+(?:\.\d+)?(?:e-?\d+)?/g;
|
|
438
|
-
function vectorOf(style, keys) {
|
|
439
|
-
const text = keys.map((k) => `${k}:${style[k] ?? ""}`).join(";");
|
|
440
|
-
return { shape: text.replace(NUMBER, "#"), v: (text.match(NUMBER) ?? []).map(Number) };
|
|
441
|
-
}
|
|
442
|
-
function thinSamples(times, samples, tol, pinned = []) {
|
|
443
|
-
const n = samples.length;
|
|
444
|
-
if (n <= 2) return samples.map((_, i) => i);
|
|
445
|
-
const keep = /* @__PURE__ */ new Set([0, n - 1, ...pinned]);
|
|
446
|
-
for (let i = 1; i < n; i++) if (samples[i].shape !== samples[i - 1].shape) {
|
|
447
|
-
keep.add(i - 1);
|
|
448
|
-
keep.add(i);
|
|
449
|
-
}
|
|
450
|
-
const sorted = () => [...keep].sort((a, b) => a - b);
|
|
451
|
-
const stack = [];
|
|
452
|
-
const kept = sorted();
|
|
453
|
-
for (let i = 1; i < kept.length; i++) stack.push([kept[i - 1], kept[i]]);
|
|
454
|
-
while (stack.length) {
|
|
455
|
-
const [a, b] = stack.pop();
|
|
456
|
-
if (b - a < 2 || samples[a].shape !== samples[b].shape) continue;
|
|
457
|
-
let worst = -1, at = -1;
|
|
458
|
-
for (let i = a + 1; i < b; i++) {
|
|
459
|
-
const k = (times[i] - times[a]) / (times[b] - times[a] || 1);
|
|
460
|
-
let err = 0;
|
|
461
|
-
samples[i].v.forEach((x, d) => {
|
|
462
|
-
const want = samples[a].v[d] + (samples[b].v[d] - samples[a].v[d]) * k;
|
|
463
|
-
err = Math.max(err, Math.abs(x - want) / tol[d]);
|
|
464
|
-
});
|
|
465
|
-
if (err > worst) {
|
|
466
|
-
worst = err;
|
|
467
|
-
at = i;
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
if (worst > 1) {
|
|
471
|
-
keep.add(at);
|
|
472
|
-
stack.push([a, at], [at, b]);
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
return sorted();
|
|
476
|
-
}
|
|
477
|
-
function keyframesOf(times, samples, length) {
|
|
478
|
-
const keys = [...new Set(samples.flatMap((s) => Object.keys(s)))].filter((k) => !FIXED.has(k));
|
|
479
|
-
const moving = keys.filter((k) => samples.some((s) => s[k] !== samples[0][k]));
|
|
480
|
-
if (!moving.length) return null;
|
|
481
|
-
const vectors = samples.map((s) => vectorOf(s, moving));
|
|
482
|
-
const dims = Math.max(...vectors.map((v) => v.v.length));
|
|
483
|
-
const range = Array.from({ length: dims }, (_, d) => {
|
|
484
|
-
let lo = Infinity, hi = -Infinity;
|
|
485
|
-
for (const v of vectors) if (d < v.v.length) {
|
|
486
|
-
lo = Math.min(lo, v.v[d]);
|
|
487
|
-
hi = Math.max(hi, v.v[d]);
|
|
488
|
-
}
|
|
489
|
-
return hi > lo ? hi - lo : 0;
|
|
490
|
-
});
|
|
491
|
-
const tol = range.map((r) => Math.max(1e-3, r * 3e-3));
|
|
492
|
-
const same = (a, b) => vectors[a].shape === vectors[b].shape && vectors[a].v.every((x, d) => Math.abs(x - vectors[b].v[d]) <= tol[d]);
|
|
493
|
-
const jumps = /* @__PURE__ */ new Set();
|
|
494
|
-
for (let i = 1; i < samples.length; i++) {
|
|
495
|
-
if (same(i - 1, i)) continue;
|
|
496
|
-
const stillBefore = i >= 2 && same(i - 2, i - 1);
|
|
497
|
-
if (!stillBefore) continue;
|
|
498
|
-
const words = vectors[i].shape !== vectors[i - 1].shape;
|
|
499
|
-
const far = !words && vectors[i].v.some((x, d) => range[d] > 0 && Math.abs(x - vectors[i - 1].v[d]) > range[d] * 0.2);
|
|
500
|
-
if (words || far) jumps.add(i);
|
|
501
|
-
}
|
|
502
|
-
const kept = thinSamples(times, vectors, tol, [...jumps].flatMap((i) => [i - 1, i]));
|
|
503
|
-
return kept.map((i) => {
|
|
504
|
-
const style = {};
|
|
505
|
-
for (const k of moving) if (samples[i][k] !== void 0) style[k] = samples[i][k];
|
|
506
|
-
return { offset: pct(times[i] / (length || 1)), style, ...jumps.has(i + 1) ? { step: true } : {} };
|
|
507
|
-
});
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
// lib/io/web/element.ts
|
|
511
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
512
|
-
var escapeHTML = (s) => s.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
513
|
-
function placementStyle(node, isRoot) {
|
|
514
|
-
if (node.place) return { ...node.place, ...node.place.position ? {} : node.layered || node.children.some((c) => c.positioning === "absolute") ? { position: "relative" } : {} };
|
|
515
|
-
const out = {};
|
|
516
|
-
if (node.positioning === "absolute" && !isRoot) {
|
|
517
|
-
out.position = "absolute";
|
|
518
|
-
out.left = `${node.x}px`;
|
|
519
|
-
out.top = `${node.y}px`;
|
|
520
|
-
} else if (node.layered || node.children.some((c) => c.positioning === "absolute") || isRoot) {
|
|
521
|
-
out.position = "relative";
|
|
522
|
-
}
|
|
523
|
-
return out;
|
|
524
|
-
}
|
|
525
|
-
var altFor = (node) => node.alt ?? node.name;
|
|
526
|
-
var roleOf = (node) => {
|
|
527
|
-
const alt = altFor(node);
|
|
528
|
-
return alt === "" ? { hidden: true } : { label: alt };
|
|
529
|
-
};
|
|
530
|
-
var roleAttrs = (role) => "hidden" in role ? ' aria-hidden="true"' : ` role="img" aria-label="${escapeHTML(role.label)}"`;
|
|
531
|
-
var labelSVG = (svg, node) => svg.replace(/^<svg\b/, `<svg${roleAttrs(roleOf(node))}`);
|
|
532
|
-
function imageRole(node) {
|
|
533
|
-
if (node.asset || node.text) return null;
|
|
534
|
-
if (node.type !== "IMAGE" && node.alt === void 0) return null;
|
|
535
|
-
return roleOf(node);
|
|
536
|
-
}
|
|
537
|
-
var imageRoleAttrs = (node) => {
|
|
538
|
-
const role = imageRole(node);
|
|
539
|
-
return role ? roleAttrs(role) : "";
|
|
540
|
-
};
|
|
541
|
-
function pictureOf(node) {
|
|
542
|
-
const a = node.asset;
|
|
543
|
-
if (!a) return null;
|
|
544
|
-
if (a.src) return { kind: "img", src: a.src };
|
|
545
|
-
if (a.svg) return { kind: "svg", svg: a.svg };
|
|
546
|
-
if (a.pngDataUrl) return { kind: "img", src: a.pngDataUrl };
|
|
547
|
-
return { kind: "missing", reason: a.reason, format: a.kind };
|
|
548
|
-
}
|
|
549
|
-
var hiddenAtStart = (spec, node) => {
|
|
550
|
-
const e = spec && node.uid !== void 0 ? spec.e[node.uid] : void 0;
|
|
551
|
-
return !!e && e[1][spec.m[e[0]]] === -1;
|
|
552
|
-
};
|
|
553
|
-
var HIDDEN_AT_START = { opacity: "0", visibility: "hidden", "pointer-events": "none", position: "absolute" };
|
|
554
|
-
var FIELD = { display: "block", border: "0", padding: "0", margin: "0", background: "none", outline: "none", font: "inherit", color: "inherit", "min-width": "0" };
|
|
555
|
-
var HEADING = { margin: "0", "font-size": "inherit", "font-weight": "inherit" };
|
|
556
|
-
var TAG_RESET = {
|
|
557
|
-
a: { display: "block", color: "inherit", "text-decoration": "none" },
|
|
558
|
-
button: { display: "block", border: "0", padding: "0", background: "none", font: "inherit", color: "inherit", "text-align": "inherit", cursor: "pointer" },
|
|
559
|
-
ul: { "list-style": "none", margin: "0", padding: "0" },
|
|
560
|
-
ol: { "list-style": "none", margin: "0", padding: "0" },
|
|
561
|
-
h1: HEADING,
|
|
562
|
-
h2: HEADING,
|
|
563
|
-
h3: HEADING,
|
|
564
|
-
h4: HEADING,
|
|
565
|
-
h5: HEADING,
|
|
566
|
-
h6: HEADING,
|
|
567
|
-
p: { margin: "0" },
|
|
568
|
-
figure: { margin: "0" },
|
|
569
|
-
span: { display: "block" },
|
|
570
|
-
label: { display: "block" },
|
|
571
|
-
form: { margin: "0" },
|
|
572
|
-
input: FIELD,
|
|
573
|
-
textarea: { ...FIELD, resize: "none" },
|
|
574
|
-
select: { ...FIELD, appearance: "none" }
|
|
575
|
-
};
|
|
576
|
-
var MOTION_PLAY_RULE = "[data-motion-play] [data-motion-child] { animation-play-state: running; }";
|
|
577
|
-
var CHECK_STYLE = "position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer";
|
|
578
|
-
function elementOf(node, ctx) {
|
|
579
|
-
const motion = ctx.still ? void 0 : node.motion;
|
|
580
|
-
const spec = ctx.spec ?? null;
|
|
581
|
-
const tag = node.input ? node.input.tag : node.link ? "a" : node.tag ?? (node.text ? "p" : "div");
|
|
582
|
-
const attrs = { ...node.attrs };
|
|
583
|
-
if (node.input) Object.assign(attrs, node.input.attrs);
|
|
584
|
-
if (node.link && !node.input) {
|
|
585
|
-
attrs.href = node.link.href;
|
|
586
|
-
if (node.link.newTab) {
|
|
587
|
-
attrs.target = "_blank";
|
|
588
|
-
attrs.rel = "noopener noreferrer";
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
return {
|
|
592
|
-
tag,
|
|
593
|
-
attrs,
|
|
594
|
-
// A tag's own look (a button's border, a link's underline, a list's bullets) is not the layer's: under its declarations.
|
|
595
|
-
style: { ...node.link || node.tag || node.input ? TAG_RESET[tag] : void 0, ...placementStyle(node, ctx.isRoot), ...node.style, ...motion ? motion.style : {}, ...hiddenAtStart(spec, node) ? HIDDEN_AT_START : {} },
|
|
596
|
-
// A field's words are its placeholder (an attribute), not its content.
|
|
597
|
-
...node.text && !node.input ? { text: node.text.characters } : {},
|
|
598
|
-
...node.text && node.runs && !node.input ? { runs: node.runs } : {},
|
|
599
|
-
...node.input ? { input: node.input } : {},
|
|
600
|
-
...node.html !== void 0 ? { html: node.html } : {},
|
|
601
|
-
...node.check ? { check: node.check } : {},
|
|
602
|
-
picture: pictureOf(node),
|
|
603
|
-
role: imageRole(node),
|
|
604
|
-
...motion ? { keyframes: motion.keyframes } : {},
|
|
605
|
-
...node.motionTrigger ? { motionTrigger: node.motionTrigger } : {},
|
|
606
|
-
...spec && node.uid !== void 0 ? { pc: { uid: node.uid, layer: node.name } } : {},
|
|
607
|
-
...ctx.listened?.has(node.id) ? { sm: node.id } : {}
|
|
608
|
-
};
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
// lib/io/web/motion.ts
|
|
612
|
-
function instanceWebMotion(doc, instance, style) {
|
|
613
|
-
const comp = instance.mainComponentId;
|
|
614
|
-
if (!comp || !isMotionComponent(doc.nodes, comp)) return null;
|
|
615
|
-
const m = playbackOf(doc.nodes, instance, comp);
|
|
616
|
-
const [a, b] = m.range;
|
|
617
|
-
const len = b - a;
|
|
618
|
-
if (len <= 0) return null;
|
|
619
|
-
const steps = Math.max(1, Math.ceil(len / 1e3 * SAMPLE_RATE));
|
|
620
|
-
const times = Array.from({ length: steps + 1 }, (_, i) => len * i / steps);
|
|
621
|
-
const samples = [];
|
|
622
|
-
for (let i = 0; i <= steps; i++) samples.push(instancePoseAt(doc.nodes, instance.id, a + len * i / steps));
|
|
623
|
-
const ids = /* @__PURE__ */ new Set();
|
|
624
|
-
for (const s of samples) for (const id in s) if (id.includes("::")) ids.add(id);
|
|
625
|
-
const children = /* @__PURE__ */ new Map();
|
|
626
|
-
const tag = instance.id.replace(/[^a-zA-Z0-9]/g, "").slice(-6);
|
|
627
|
-
let n = 0;
|
|
628
|
-
for (const id of ids) {
|
|
629
|
-
const restNode = resolveVirtualNode(doc.nodes, id);
|
|
630
|
-
if (!restNode) continue;
|
|
631
|
-
const frames = keyframesOf(times, samples.map((s) => declarationsOf(s[id] ?? restNode, restNode, style)), len);
|
|
632
|
-
if (!frames) continue;
|
|
633
|
-
children.set(id, {
|
|
634
|
-
name: `motion-${tag}-${n++}`,
|
|
635
|
-
frames,
|
|
636
|
-
durationMs: m.speed > 0 ? Math.round(len / m.speed) : 0,
|
|
637
|
-
delayMs: Math.round(m.start),
|
|
638
|
-
iterations: m.loop === "none" ? 1 : "infinite",
|
|
639
|
-
direction: m.loop === "pingpong" ? "alternate" : "normal",
|
|
640
|
-
fill: m.hold === "first" ? "backwards" : "both"
|
|
641
|
-
});
|
|
642
|
-
}
|
|
643
|
-
return children.size ? { trigger: m.trigger, children } : null;
|
|
644
|
-
}
|
|
645
|
-
function animationStyle(mo, trigger) {
|
|
646
|
-
const out = { animation: `${mo.name} ${mo.durationMs}ms linear ${mo.delayMs}ms ${mo.iterations} ${mo.direction} ${mo.fill}` };
|
|
647
|
-
if (trigger !== "load") out["animation-play-state"] = "paused";
|
|
648
|
-
return out;
|
|
649
|
-
}
|
|
650
|
-
var keyframesCSS = (mo) => `@keyframes ${mo.name} {
|
|
651
|
-
${mo.frames.map((f) => ` ${f.offset}% { ${Object.entries(f.style).map(([k, v]) => `${k}: ${v};`).join(" ")}${f.step ? " animation-timing-function: step-end;" : ""} }`).join("\n")}
|
|
652
|
-
}`;
|
|
653
|
-
var MOTION_SCRIPT = `(function () {
|
|
654
|
-
var play = function (el) { el.setAttribute('data-motion-play', '') };
|
|
655
|
-
document.querySelectorAll('[data-motion="click"]').forEach(function (el) { el.addEventListener('click', function () { play(el) }) });
|
|
656
|
-
document.querySelectorAll('[data-motion="hover"]').forEach(function (el) { el.addEventListener('mouseenter', function () { play(el) }) });
|
|
657
|
-
var seen = document.querySelectorAll('[data-motion="inView"]');
|
|
658
|
-
if (!('IntersectionObserver' in window)) { seen.forEach(play); return }
|
|
659
|
-
var io = new IntersectionObserver(function (entries) { entries.forEach(function (e) { if (e.isIntersecting) { play(e.target); io.unobserve(e.target) } }) }, { threshold: 0.25 });
|
|
660
|
-
seen.forEach(function (el) { io.observe(el) });
|
|
661
|
-
})();`;
|
|
662
|
-
|
|
663
|
-
// lib/io/web/responsive.ts
|
|
664
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
665
|
-
var px = (v) => `${Math.round(v * 100) / 100}px`;
|
|
666
|
-
var pct2 = (v) => `${Math.round(v * 1e4) / 100}%`;
|
|
667
|
-
var isStack = (f) => f?.layoutMode === "HORIZONTAL" || f?.layoutMode === "VERTICAL";
|
|
668
|
-
var isGrid = (f) => f?.layoutMode === "GRID";
|
|
669
|
-
var laysOut = (f) => isStack(f) || isGrid(f);
|
|
670
|
-
var track = (t) => {
|
|
671
|
-
if (!t || t.sizing === "FILL") return t?.value && /fr$/.test(t.value) ? t.value : "1fr";
|
|
672
|
-
if (t.sizing === "HUG") return "auto";
|
|
673
|
-
return /^[\d.]+$/.test(t.value) ? `${t.value}px` : t.value;
|
|
674
|
-
};
|
|
675
|
-
function containerStyle(f) {
|
|
676
|
-
const out = {};
|
|
677
|
-
if (isStack(f) && f.layoutWrap === "WRAP") {
|
|
678
|
-
out["flex-wrap"] = "wrap";
|
|
679
|
-
const cross = f.counterAxisSpacing ?? f.itemSpacing ?? 0;
|
|
680
|
-
const main = f.itemSpacing ?? 0;
|
|
681
|
-
if (cross !== main) out.gap = f.layoutMode === "HORIZONTAL" ? `${cross}px ${main}px` : `${main}px ${cross}px`;
|
|
682
|
-
out["align-content"] = "flex-start";
|
|
683
|
-
}
|
|
684
|
-
if (isGrid(f)) {
|
|
685
|
-
out.display = "grid";
|
|
686
|
-
const cols = f.layoutGridColumns ?? "AUTO";
|
|
687
|
-
out["grid-template-columns"] = cols === "AUTO" ? `repeat(auto-fill, minmax(${f.layoutGridMinColumnWidth ?? 100}px, 1fr))` : Array.from({ length: Math.max(1, cols) }, (_, i) => track(f.layoutGridColumnSizes?.[i])).join(" ");
|
|
688
|
-
const rows = f.layoutGridRows ?? "AUTO";
|
|
689
|
-
if (rows === "AUTO") out["grid-auto-rows"] = `minmax(${f.layoutGridMinRowHeight ?? 100}px, auto)`;
|
|
690
|
-
else out["grid-template-rows"] = Array.from({ length: Math.max(1, rows) }, (_, i) => track(f.layoutGridRowSizes?.[i])).join(" ");
|
|
691
|
-
const colGap = f.itemSpacing ?? 0, rowGap = f.counterAxisSpacing ?? colGap;
|
|
692
|
-
out.gap = rowGap === colGap ? `${colGap}px` : `${rowGap}px ${colGap}px`;
|
|
693
|
-
if (f.padding) {
|
|
694
|
-
out.padding = `${f.padding.top}px ${f.padding.right}px ${f.padding.bottom}px ${f.padding.left}px`;
|
|
695
|
-
if (f.padding.top || f.padding.right || f.padding.bottom || f.padding.left) out["box-sizing"] = "border-box";
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
const scroll = f.overflowScrolling;
|
|
699
|
-
if (scroll && scroll !== "NONE") {
|
|
700
|
-
out["overflow-x"] = scroll === "HORIZONTAL" || scroll === "BOTH" ? "auto" : "hidden";
|
|
701
|
-
out["overflow-y"] = scroll === "VERTICAL" || scroll === "BOTH" ? "auto" : "hidden";
|
|
702
|
-
}
|
|
703
|
-
return out;
|
|
704
|
-
}
|
|
705
|
-
var limits = (n) => {
|
|
706
|
-
const out = {};
|
|
707
|
-
if (n.minWidth !== void 0) out["min-width"] = px(n.minWidth);
|
|
708
|
-
if (n.maxWidth !== void 0) out["max-width"] = px(n.maxWidth);
|
|
709
|
-
if (n.minHeight !== void 0) out["min-height"] = px(n.minHeight);
|
|
710
|
-
if (n.maxHeight !== void 0) out["max-height"] = px(n.maxHeight);
|
|
711
|
-
return out;
|
|
712
|
-
};
|
|
713
|
-
function flowChild(node, parent) {
|
|
714
|
-
const style = { ...limits(node) };
|
|
715
|
-
const h = node.layoutSizingHorizontal ?? "FIXED", v = node.layoutSizingVertical ?? "FIXED";
|
|
716
|
-
if (isGrid(parent)) {
|
|
717
|
-
if (h !== "FIXED") style.width = h === "FILL" ? null : "fit-content";
|
|
718
|
-
if (v !== "FIXED") style.height = null;
|
|
719
|
-
return { style };
|
|
720
|
-
}
|
|
721
|
-
if (h === "FIXED" && style["max-width"] === void 0) style["max-width"] = "100%";
|
|
722
|
-
const row = parent.layoutMode === "HORIZONTAL";
|
|
723
|
-
const main = row ? h : v, cross = row ? v : h;
|
|
724
|
-
const mainProp = row ? "width" : "height", crossProp = row ? "height" : "width";
|
|
725
|
-
if (main === "FILL") {
|
|
726
|
-
style[mainProp] = null;
|
|
727
|
-
style.flex = "1 1 0";
|
|
728
|
-
if (style[`min-${mainProp}`] === void 0) style[`min-${mainProp}`] = "0";
|
|
729
|
-
} else {
|
|
730
|
-
if (main === "HUG") style[mainProp] = null;
|
|
731
|
-
style["flex-shrink"] = "0";
|
|
732
|
-
}
|
|
733
|
-
if (cross === "FILL") {
|
|
734
|
-
style[crossProp] = null;
|
|
735
|
-
style["align-self"] = "stretch";
|
|
736
|
-
} else {
|
|
737
|
-
if (cross === "HUG") style[crossProp] = null;
|
|
738
|
-
if ((parent.counterAxisAlignItems ?? "MIN") === "MIN") style["align-self"] = "flex-start";
|
|
739
|
-
}
|
|
740
|
-
const ar = node.aspectRatio;
|
|
741
|
-
if (ar && ar > 0 && v !== "FILL") {
|
|
742
|
-
style.height = null;
|
|
743
|
-
style["aspect-ratio"] = String(Math.round(ar * 1e4) / 1e4);
|
|
744
|
-
}
|
|
745
|
-
return { style };
|
|
746
|
-
}
|
|
747
|
-
function constrained(kind, pos, size, parentSize, start, end, sizeProp) {
|
|
748
|
-
const far = parentSize - pos - size;
|
|
749
|
-
switch (kind) {
|
|
750
|
-
case "MAX":
|
|
751
|
-
return { place: { [end]: px(far) }, style: {} };
|
|
752
|
-
case "STRETCH":
|
|
753
|
-
return { place: { [start]: px(pos), [end]: px(far) }, style: { [sizeProp]: null } };
|
|
754
|
-
// Its centre keeps its distance from the parent's centre.
|
|
755
|
-
case "CENTER":
|
|
756
|
-
return { place: { [start]: `calc(50% + ${px(pos - parentSize / 2)})` }, style: {} };
|
|
757
|
-
case "SCALE":
|
|
758
|
-
return parentSize > 0 ? { place: { [start]: pct2(pos / parentSize) }, style: { [sizeProp]: pct2(size / parentSize) } } : { place: { [start]: px(pos) }, style: {} };
|
|
759
|
-
default:
|
|
760
|
-
return { place: { [start]: px(pos) }, style: {} };
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
function placedChild(node, parent, frame = parent) {
|
|
764
|
-
const c = node.constraints ?? { horizontal: "MIN", vertical: "MIN" };
|
|
765
|
-
const x = constrained(c.horizontal, node.x, node.width, frame.width, "left", "right", "width");
|
|
766
|
-
const y = constrained(c.vertical, node.y, node.height, frame.height, "top", "bottom", "height");
|
|
767
|
-
return { style: { ...limits(node), ...x.style, ...y.style }, place: { position: "absolute", ...x.place, ...y.place } };
|
|
768
|
-
}
|
|
769
|
-
function webScaling(node) {
|
|
770
|
-
if (node.type !== "FRAME") return null;
|
|
771
|
-
const f = node;
|
|
772
|
-
const mode = pageScalingOf(f);
|
|
773
|
-
if (mode === "flow") return null;
|
|
774
|
-
const max = maxScaleOf(f);
|
|
775
|
-
return { mode, width: f.width, height: f.height, ...max !== void 0 ? { maxScale: max } : {} };
|
|
776
|
-
}
|
|
777
|
-
function scaleExpression(sc) {
|
|
778
|
-
if (sc.mode === "fixed") return null;
|
|
779
|
-
const w = px(sc.width), h = px(sc.height);
|
|
780
|
-
const ratios = `tan(atan2(100cqw, ${w})), tan(atan2(100cqh, ${h}))`;
|
|
781
|
-
const s = `${sc.mode === "fit" ? "min" : "max"}(${ratios})`;
|
|
782
|
-
return sc.maxScale !== void 0 ? `min(${s}, ${sc.maxScale})` : s;
|
|
783
|
-
}
|
|
784
|
-
var SCALED_PAGE = {
|
|
785
|
-
position: "fixed",
|
|
786
|
-
left: "0",
|
|
787
|
-
top: "0",
|
|
788
|
-
width: "100vw",
|
|
789
|
-
height: "100dvh",
|
|
790
|
-
"min-height": null,
|
|
791
|
-
"max-width": null
|
|
792
|
-
};
|
|
793
|
-
var SCALED_BOX = { "container-type": "size", overflow: "hidden" };
|
|
794
|
-
var SCALED_ROOT = { width: "100%", height: "100%", position: "relative", ...SCALED_BOX };
|
|
795
|
-
var LAYS_OUT = ["display", "flex-direction", "flex-wrap", "gap", "row-gap", "column-gap", "justify-content", "align-items", "align-content", "justify-items", "grid-template-columns", "grid-template-rows", "grid-auto-flow", "grid-auto-rows", "grid-auto-columns", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left"];
|
|
796
|
-
function wrapScaledContent(web, sc) {
|
|
797
|
-
const style = { width: px(sc.width), height: px(sc.height), "transform-origin": "center" };
|
|
798
|
-
const scale = scaleExpression(sc);
|
|
799
|
-
style.transform = `translate(-50%, -50%)${scale ? ` scale(${scale})` : ""}`;
|
|
800
|
-
if (web.style.background) style.background = web.style.background;
|
|
801
|
-
if (web.style["background-color"]) style["background-color"] = web.style["background-color"];
|
|
802
|
-
for (const k of LAYS_OUT) if (k in web.style) {
|
|
803
|
-
style[k] = web.style[k];
|
|
804
|
-
delete web.style[k];
|
|
805
|
-
}
|
|
806
|
-
web.children = [{
|
|
807
|
-
id: `${web.id}/content`,
|
|
808
|
-
name: `${web.name} content`,
|
|
809
|
-
type: "SCALED_CONTENT",
|
|
810
|
-
x: 0,
|
|
811
|
-
y: 0,
|
|
812
|
-
width: Math.round(sc.width),
|
|
813
|
-
height: Math.round(sc.height),
|
|
814
|
-
positioning: "absolute",
|
|
815
|
-
place: { position: "absolute", left: "50%", top: "50%" },
|
|
816
|
-
style,
|
|
817
|
-
alt: "",
|
|
818
|
-
children: web.children
|
|
819
|
-
}];
|
|
820
|
-
}
|
|
821
|
-
function siteLayout(node, parent, layout) {
|
|
822
|
-
const own = node.type === "FRAME" || node.type === "COMPONENT" || node.type === "INSTANCE" ? node : null;
|
|
823
|
-
if (!parent) {
|
|
824
|
-
if (own && webScaling(own)) return { style: { ...SCALED_PAGE, ...SCALED_BOX }, place: { position: "fixed" } };
|
|
825
|
-
const grows = !own || laysOut(own) || own.overflowScrolling === "NONE" || !own.overflowScrolling;
|
|
826
|
-
return { style: { ...limits(node), width: "100%", ...grows ? { height: null, "min-height": `max(${px(node.height)}, 100dvh)` } : {} }, place: { position: "relative" } };
|
|
827
|
-
}
|
|
828
|
-
const s = node;
|
|
829
|
-
const laid = layout && laysOut(layout) && s.layoutPositioning !== "ABSOLUTE" ? flowChild(s, layout) : placedChild(s, parent, parent.type === "INSTANCE" && layout ? layout : parent);
|
|
830
|
-
return own && webScaling(own) ? { ...laid, style: { ...laid.style, ...SCALED_BOX } } : laid;
|
|
831
|
-
}
|
|
832
|
-
|
|
833
|
-
// lib/io/web/richtext.ts
|
|
834
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
835
|
-
function runStyle(seg) {
|
|
836
|
-
const out = {};
|
|
837
|
-
if (seg.fontFamily) out["font-family"] = `"${seg.fontFamily}", system-ui, sans-serif`;
|
|
838
|
-
if (seg.fontSize) out["font-size"] = `${seg.fontSize}px`;
|
|
839
|
-
if (seg.fontWeight) out["font-weight"] = String(seg.fontWeight);
|
|
840
|
-
if (seg.fontStyle) out["font-style"] = seg.fontStyle;
|
|
841
|
-
if (seg.lineHeight !== void 0 && seg.lineHeight !== "AUTO") out["line-height"] = `${seg.lineHeight}px`;
|
|
842
|
-
if (seg.textDecoration === "UNDERLINE") out["text-decoration"] = "underline";
|
|
843
|
-
else if (seg.textDecoration === "STRIKETHROUGH") out["text-decoration"] = "line-through";
|
|
844
|
-
else if (seg.textDecoration === "NONE") out["text-decoration"] = "none";
|
|
845
|
-
if (seg.textCase === "UPPER") out["text-transform"] = "uppercase";
|
|
846
|
-
else if (seg.textCase === "LOWER") out["text-transform"] = "lowercase";
|
|
847
|
-
else if (seg.textCase === "TITLE") out["text-transform"] = "capitalize";
|
|
848
|
-
else if (seg.textCase === "ORIGINAL") out["text-transform"] = "none";
|
|
849
|
-
const solid = seg.fills?.find((f) => f.visible !== false && f.type === "SOLID" && f.color);
|
|
850
|
-
if (solid?.color) out.color = toHex(solid.color);
|
|
851
|
-
return out;
|
|
852
|
-
}
|
|
853
|
-
function textRuns(t) {
|
|
854
|
-
const text = t.characters ?? "";
|
|
855
|
-
const segs = [...t.styledSegments ?? []].filter((s) => s.end > s.start).sort((a, b) => a.start - b.start);
|
|
856
|
-
if (!segs.length && !t.link) return void 0;
|
|
857
|
-
const runs = [];
|
|
858
|
-
const push = (from, to, seg) => {
|
|
859
|
-
if (to <= from) return;
|
|
860
|
-
const link = seg?.link ?? t.link;
|
|
861
|
-
runs.push({ text: text.slice(from, to), style: seg ? runStyle(seg) : {}, ...link ? { link } : {} });
|
|
862
|
-
};
|
|
863
|
-
let at = 0;
|
|
864
|
-
for (const s of segs) {
|
|
865
|
-
const start = Math.max(at, Math.min(text.length, s.start)), end = Math.min(text.length, s.end);
|
|
866
|
-
push(at, start);
|
|
867
|
-
push(start, end, s);
|
|
868
|
-
at = Math.max(at, end);
|
|
869
|
-
}
|
|
870
|
-
push(at, text.length);
|
|
871
|
-
return runs;
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
// lib/io/web/tokens.ts
|
|
875
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
876
|
-
|
|
877
|
-
// lib/document/dev-mode.ts
|
|
878
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
879
|
-
function codeSyntaxFor(v, platform) {
|
|
880
|
-
const explicit = v.codeSyntax?.[platform];
|
|
881
|
-
if (explicit) return explicit;
|
|
882
|
-
const parts = v.name.split("/").map((p) => p.trim()).filter(Boolean);
|
|
883
|
-
if (platform === "WEB") return `--${parts.join("-").toLowerCase().replace(/[^a-z0-9-]+/g, "-")}`;
|
|
884
|
-
const camel2 = parts.map((p, i) => {
|
|
885
|
-
const w = p.replace(/[^A-Za-z0-9]+/g, " ").trim().split(/\s+/);
|
|
886
|
-
return w.map((x, j) => i === 0 && j === 0 ? x.toLowerCase() : x[0].toUpperCase() + x.slice(1).toLowerCase()).join("");
|
|
887
|
-
}).join("");
|
|
888
|
-
return platform === "iOS" ? `Tokens.${camel2}` : `Tokens.${camel2}`;
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
// lib/io/web/tokens.ts
|
|
892
|
-
var slug = (s) => s.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "") || "x";
|
|
893
|
-
var modeClass = (collection, mode) => `pc-${slug(collection.name)}-${slug(mode.name)}`;
|
|
894
|
-
var isColor = (v) => !!v && typeof v === "object" && "r" in v && "g" in v && "b" in v;
|
|
895
|
-
function cssValue(v, value2) {
|
|
896
|
-
if (v.type === "COLOR") return isColor(value2) ? (value2.a ?? 1) < 1 ? toRgba(value2) : toHex(value2) : null;
|
|
897
|
-
if (v.type === "FLOAT") return typeof value2 === "number" && Number.isFinite(value2) ? String(Math.round(value2 * 1e3) / 1e3) : null;
|
|
898
|
-
if (v.type === "STRING") return typeof value2 === "string" ? JSON.stringify(value2) : null;
|
|
899
|
-
return null;
|
|
900
|
-
}
|
|
901
|
-
function siteTokens(doc) {
|
|
902
|
-
const collections = Object.values(doc.variableCollections ?? {}).map((c) => ({
|
|
903
|
-
id: c.id,
|
|
904
|
-
name: c.name,
|
|
905
|
-
defaultMode: c.defaultModeId,
|
|
906
|
-
modes: c.modes.map((m) => ({ id: m.id, name: m.name, className: modeClass(c, m) }))
|
|
907
|
-
}));
|
|
908
|
-
const taken = /* @__PURE__ */ new Set();
|
|
909
|
-
const vars = [];
|
|
910
|
-
for (const v of Object.values(doc.variables ?? {}).sort((a, b) => a.name.localeCompare(b.name) || a.id.localeCompare(b.id))) {
|
|
911
|
-
const values = {};
|
|
912
|
-
for (const [mode, value2] of Object.entries(v.valuesByMode ?? {})) {
|
|
913
|
-
const css = cssValue(v, value2);
|
|
914
|
-
if (css !== null) values[mode] = css;
|
|
915
|
-
}
|
|
916
|
-
if (!Object.keys(values).length) continue;
|
|
917
|
-
let name = codeSyntaxFor(v, "WEB");
|
|
918
|
-
if (!name.startsWith("--")) name = `--${slug(name)}`;
|
|
919
|
-
if (taken.has(name)) name = `${name}-${v.id.replace(/[^a-zA-Z0-9]/g, "").slice(-4)}`;
|
|
920
|
-
taken.add(name);
|
|
921
|
-
vars.push({ id: v.id, name, type: v.type, collection: v.variableCollectionId, values });
|
|
922
|
-
}
|
|
923
|
-
const active = Object.entries(doc.activeVariableModes ?? {}).flatMap(([cid, mid]) => {
|
|
924
|
-
const c = collections.find((x) => x.id === cid);
|
|
925
|
-
const m = c && mid !== c.defaultMode ? c.modes.find((x) => x.id === mid) : void 0;
|
|
926
|
-
return m ? [m.className] : [];
|
|
927
|
-
});
|
|
928
|
-
return { collections, vars, active };
|
|
929
|
-
}
|
|
930
|
-
function tokensCSS(tokens) {
|
|
931
|
-
const rules = [];
|
|
932
|
-
const defaults = [];
|
|
933
|
-
const byMode = /* @__PURE__ */ new Map();
|
|
934
|
-
for (const v of tokens.vars) {
|
|
935
|
-
const c = tokens.collections.find((x) => x.id === v.collection);
|
|
936
|
-
const base = v.values[c?.defaultMode ?? ""] ?? Object.values(v.values)[0];
|
|
937
|
-
defaults.push(` ${v.name}: ${base};`);
|
|
938
|
-
if (v.type === "FLOAT") rules.push(`@property ${v.name} { syntax: '<number>'; inherits: true; initial-value: ${base}; }`);
|
|
939
|
-
for (const m of c?.modes ?? []) {
|
|
940
|
-
if (m.id === c.defaultMode || v.values[m.id] === void 0 || v.values[m.id] === base) continue;
|
|
941
|
-
(byMode.get(m.className) ?? byMode.set(m.className, []).get(m.className)).push(` ${v.name}: ${v.values[m.id]};`);
|
|
942
|
-
}
|
|
943
|
-
}
|
|
944
|
-
if (defaults.length) rules.push(`:root {
|
|
945
|
-
${defaults.join("\n")}
|
|
946
|
-
}`);
|
|
947
|
-
for (const [cls, lines] of byMode) rules.push(`.${cls} {
|
|
948
|
-
${lines.join("\n")}
|
|
949
|
-
}`);
|
|
950
|
-
return rules;
|
|
951
|
-
}
|
|
952
|
-
var px2 = (name) => `calc(var(${name}) * 1px)`;
|
|
953
|
-
var NUMBER_PROPS = {
|
|
954
|
-
width: ["width", px2],
|
|
955
|
-
height: ["height", px2],
|
|
956
|
-
opacity: ["opacity", (n) => `var(${n})`],
|
|
957
|
-
cornerRadius: ["border-radius", px2],
|
|
958
|
-
itemSpacing: ["gap", px2],
|
|
959
|
-
fontSize: ["font-size", px2],
|
|
960
|
-
letterSpacing: ["letter-spacing", px2]
|
|
961
|
-
};
|
|
962
|
-
function tokenStyle(raw, style, tokens) {
|
|
963
|
-
const name = (id) => id ? tokens.vars.find((v) => v.id === id)?.name : void 0;
|
|
964
|
-
const out = {};
|
|
965
|
-
const fills = (raw.fills ?? []).filter((f) => f.visible !== false);
|
|
966
|
-
const fill = fills.length === 1 && fills[0].type === "SOLID" && (fills[0].opacity ?? 1) === 1 ? name(fills[0].boundVariables?.color) : void 0;
|
|
967
|
-
if (fill) {
|
|
968
|
-
if (raw.type === "TEXT") {
|
|
969
|
-
if (style.color) out.color = `var(${fill})`;
|
|
970
|
-
} else if (style.background) out.background = `var(${fill})`;
|
|
971
|
-
}
|
|
972
|
-
const stroke = raw.strokes?.[0];
|
|
973
|
-
const strokeVar = name(stroke?.boundVariables?.color);
|
|
974
|
-
if (strokeVar) {
|
|
975
|
-
if (style["border-color"]) out["border-color"] = `var(${strokeVar})`;
|
|
976
|
-
for (const p of ["border", "outline"]) if (style[p]) out[p] = style[p].replace(/(#[0-9A-Fa-f]{3,8}|rgba?\([^)]*\))$/, `var(${strokeVar})`);
|
|
977
|
-
}
|
|
978
|
-
for (const [prop, id] of Object.entries(raw.boundVariables ?? {})) {
|
|
979
|
-
const rule = NUMBER_PROPS[prop];
|
|
980
|
-
const token = tokens.vars.find((v) => v.id === id);
|
|
981
|
-
if (!rule || !token || token.type !== "FLOAT" || style[rule[0]] === void 0) continue;
|
|
982
|
-
out[rule[0]] = rule[1](token.name);
|
|
983
|
-
}
|
|
984
|
-
return out;
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
// lib/io/web/timeline.ts
|
|
988
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
989
|
-
init_scene_graph();
|
|
990
|
-
function frameWebMotion(doc, frameId, style) {
|
|
991
|
-
const nodes = doc.nodes;
|
|
992
|
-
const frame = nodes[frameId];
|
|
993
|
-
if (!frame || !hasFrameMotion(nodes, frameId)) return null;
|
|
994
|
-
const len = timelineDuration(nodes, frameId);
|
|
995
|
-
if (!(len > 0)) return null;
|
|
996
|
-
const steps = Math.max(1, Math.ceil(len / 1e3 * SAMPLE_RATE));
|
|
997
|
-
const times = [];
|
|
998
|
-
const poses = [];
|
|
999
|
-
for (let i = 0; i <= steps; i++) {
|
|
1000
|
-
const t = len * i / steps;
|
|
1001
|
-
times.push(t);
|
|
1002
|
-
poses.push(evaluatePose(nodes, { kind: "frame", frameId }, t).nodes);
|
|
1003
|
-
}
|
|
1004
|
-
const ids = /* @__PURE__ */ new Set();
|
|
1005
|
-
for (const p of poses) for (const id in p) if (id !== frameId && p[id] !== nodes[id]) ids.add(id);
|
|
1006
|
-
const loops = frameRunsOn(nodes, frameId);
|
|
1007
|
-
const out = /* @__PURE__ */ new Map();
|
|
1008
|
-
const tag = frameId.replace(/[^a-zA-Z0-9]/g, "").slice(-6);
|
|
1009
|
-
let n = 0;
|
|
1010
|
-
for (const id of ids) {
|
|
1011
|
-
const rest = id.includes("::") ? resolveVirtualNode(nodes, id) : nodes[id];
|
|
1012
|
-
if (!rest || !underFrame(nodes, id, frameId)) continue;
|
|
1013
|
-
const frames = keyframesOf(times, poses.map((p) => declarationsOf(p[id] ?? rest, rest, style)), len);
|
|
1014
|
-
if (!frames) continue;
|
|
1015
|
-
out.set(id, {
|
|
1016
|
-
name: `timeline-${tag}-${n++}`,
|
|
1017
|
-
frames,
|
|
1018
|
-
durationMs: Math.round(len),
|
|
1019
|
-
delayMs: 0,
|
|
1020
|
-
iterations: loops ? "infinite" : 1,
|
|
1021
|
-
direction: "normal",
|
|
1022
|
-
fill: "both"
|
|
1023
|
-
});
|
|
1024
|
-
}
|
|
1025
|
-
return out.size ? out : null;
|
|
1026
|
-
}
|
|
1027
|
-
function underFrame(nodes, id, frameId) {
|
|
1028
|
-
const real = id.split("::")[0];
|
|
1029
|
-
for (let n = nodes[real]; n; n = n.parentId ? nodes[n.parentId] : void 0) if (n.id === frameId) return true;
|
|
1030
|
-
return false;
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
// lib/io/web/behaviors.ts
|
|
1034
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
1035
|
-
function siteSoundOf(c) {
|
|
1036
|
-
const keys = c.gain?.muted ? [] : (c.gain?.keys ?? []).filter((k) => typeof k.v === "number");
|
|
1037
|
-
return {
|
|
1038
|
-
src: `media://${c.mediaHash}`,
|
|
1039
|
-
hash: c.mediaHash,
|
|
1040
|
-
start: c.start,
|
|
1041
|
-
in: c.in,
|
|
1042
|
-
out: c.out,
|
|
1043
|
-
...c.loop ? { loop: true } : {},
|
|
1044
|
-
...c.fadeIn ? { fadeIn: c.fadeIn } : {},
|
|
1045
|
-
...c.fadeOut ? { fadeOut: c.fadeOut } : {},
|
|
1046
|
-
// The first key is the level a player that only keeps one uses; the curve is every key, in clip ms.
|
|
1047
|
-
...keys.length ? { gain: keys[0].v } : {},
|
|
1048
|
-
...keys.length > 1 ? { gainKeys: keys.map((k) => ({ t: k.t, v: k.v })) } : {},
|
|
1049
|
-
...c.speed && c.speed !== 1 ? { speed: c.speed } : {}
|
|
1050
|
-
};
|
|
1051
|
-
}
|
|
1052
|
-
var screenSound = (frame) => (frame?.timeline?.audio ?? []).filter((c) => !c.muted).map(siteSoundOf);
|
|
1053
|
-
var isScreen = (doc, id) => doc.nodes[id]?.type === "FRAME" && doc.nodes[doc.nodes[id].parentId ?? ""]?.type === "PAGE";
|
|
1054
|
-
function screenBehaviors(doc, frameId) {
|
|
1055
|
-
if (!isScreen(doc, frameId)) return null;
|
|
1056
|
-
const frame = doc.nodes[frameId];
|
|
1057
|
-
const out = {};
|
|
1058
|
-
const sound = screenSound(frame);
|
|
1059
|
-
if (sound.length) out.sound = sound;
|
|
1060
|
-
const modules = screenModules(doc, frameId);
|
|
1061
|
-
if (modules.length) out.modules = modules;
|
|
1062
|
-
const length = hasFrameMotion(doc.nodes, frameId) ? timelineDuration(doc.nodes, frameId) : 0;
|
|
1063
|
-
if (length > 0) out.timeline = { duration: length, stops: stopsOf(frameTimeline(doc.nodes, frameId).markers, [0, length]), loops: frameRunsOn(doc.nodes, frameId) };
|
|
1064
|
-
return Object.keys(out).length ? out : null;
|
|
1065
|
-
}
|
|
1066
|
-
var STATIC_REASON = "this export is still: it plays no motion, sound or game";
|
|
1067
|
-
function staticDropped(doc, frameId) {
|
|
1068
|
-
const b = screenBehaviors(doc, frameId);
|
|
1069
|
-
const out = [];
|
|
1070
|
-
if (b?.timeline) out.push({ feature: "timeline", reason: STATIC_REASON, nodeId: frameId });
|
|
1071
|
-
if (doc.nodes[frameId]?.stateMachine) out.push({ feature: "state machine", reason: STATIC_REASON, nodeId: frameId });
|
|
1072
|
-
if (b?.sound) out.push({ feature: "sound", reason: STATIC_REASON, nodeId: frameId });
|
|
1073
|
-
if (b?.modules?.length) out.push({ feature: "behavior modules", reason: STATIC_REASON, nodeId: frameId });
|
|
1074
|
-
return out;
|
|
1075
|
-
}
|
|
1076
|
-
function behaviorsDropped(tree, target, can = {}) {
|
|
1077
|
-
const b = tree.behaviors;
|
|
1078
|
-
if (!b) return [];
|
|
1079
|
-
const id = tree.root.id;
|
|
1080
|
-
const reason = `${target} has no player for it; a published site plays it`;
|
|
1081
|
-
return [
|
|
1082
|
-
...b.timeline && !can.timeline ? [{ feature: "timeline", reason, nodeId: id }] : [],
|
|
1083
|
-
...b.sound && !can.sound ? [{ feature: "sound", reason, nodeId: id }] : [],
|
|
1084
|
-
...b.modules?.length && !can.modules ? [{ feature: "behavior modules", reason, nodeId: id }] : []
|
|
1085
|
-
];
|
|
1086
|
-
}
|
|
1087
|
-
function mergeDropped(...lists) {
|
|
1088
|
-
const seen = /* @__PURE__ */ new Set();
|
|
1089
|
-
const out = [];
|
|
1090
|
-
for (const l of lists) for (const d of l ?? []) {
|
|
1091
|
-
const k = `${d.feature}\0${d.nodeId ?? ""}\0${d.reason}`;
|
|
1092
|
-
if (!seen.has(k)) {
|
|
1093
|
-
seen.add(k);
|
|
1094
|
-
out.push(d);
|
|
1095
|
-
}
|
|
1096
|
-
}
|
|
1097
|
-
return out;
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
// lib/io/web/interactive.ts
|
|
1101
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
1102
|
-
init_scene_graph();
|
|
1103
|
-
|
|
1104
|
-
// lib/io/web/state-machine.ts
|
|
1105
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
1106
|
-
|
|
1107
|
-
// lib/io/web/machine-runtime.ts
|
|
1108
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
1109
|
-
|
|
1110
|
-
// lib/io/web/generated/runtimes.ts
|
|
1111
|
-
init_define_POPCRAFT_COMPONENT_IDS();
|
|
1112
|
-
var PROTOTYPE_JS = 'function popcraftMount(root, spec) {\n var els = {}, state = {}, owned = {}, orbit = {}, last = {}, holds = {}, hist = [], timers = [];\n var nodes = [root].concat(Array.prototype.slice.call(root.querySelectorAll("[data-pc]")));\n nodes.forEach(function(el) {\n els[el.getAttribute("data-pc")] = el;\n });\n for (var m in spec.m) state[m] = spec.m[m];\n for (var u in spec.e) (owned[spec.e[u][0]] = owned[spec.e[u][0]] || []).push(u);\n var drags = {}, clicks = {};\n spec.on.forEach(function(o) {\n if (o[3] === "drag") drags[o[0]] = 1;\n if (o[3] === "click" || o[3] === "press") clicks[o[0]] = 1;\n });\n function lookIn(u2, st) {\n var e = spec.e[u2];\n if (!e) return -2;\n var i = e[1][st === void 0 ? state[e[0]] : st];\n return i === void 0 ? -1 : i;\n }\n function tf(f, o) {\n var ry = f[4] + (o ? o.ry : 0), rx = f[5] + (o ? o.rx : 0), p = [];\n if (f[0] || f[1] || f[2]) p.push(f[2] ? "translate3d(" + f[0] + "px, " + f[1] + "px, " + f[2] + "px)" : "translate(" + f[0] + "px, " + f[1] + "px)");\n if (f[3]) p.push("rotate(" + f[3] + "deg)");\n if (ry) p.push("rotateY(" + ry + "deg)");\n if (rx) p.push("rotateX(" + rx + "deg)");\n if (f[6] !== 1 || f[7] !== 1) p.push("scale(" + f[6] + ", " + f[7] + ")");\n return p.length ? p.join(" ") : "none";\n }\n function css(u2, i) {\n var L = spec.L[i], c = L[0];\n if (orbit[u2] && L[2]) c += ";transform:" + tf(L[2], orbit[u2]);\n if (drags[u2]) c += ";touch-action:none;user-select:none;-webkit-user-select:none";\n if (clicks[u2]) c += ";cursor:pointer";\n return c;\n }\n var HIDE = ";opacity:0;visibility:hidden;pointer-events:none;position:absolute";\n function set(u2, ms, ez) {\n var el = els[u2], i = lookIn(u2, void 0);\n if (!el || i === -2) return;\n var tr = ms ? ";transition:all " + ms + "ms " + ez : ";transition:none";\n if (i < 0) {\n el.style.cssText = (last[u2] || "") + HIDE + tr;\n return;\n }\n var c = css(u2, i), text = spec.L[i][1];\n if (text !== null && el.textContent !== text) el.textContent = text;\n if (ms && el.style.visibility === "hidden") {\n el.style.cssText = c + ";opacity:0;transition:none";\n void el.offsetWidth;\n }\n el.style.cssText = c + tr;\n last[u2] = c;\n }\n var ANIM = /(?:^|;)animation:[^;]*/;\n function anim(i) {\n var m2 = i >= 0 ? ANIM.exec(spec.L[i][0]) : null;\n return m2 ? m2[0] : "";\n }\n function go(m2, to, ms, ez, fromHistory) {\n if (!(m2 in state) || state[m2] === to) return;\n var list = owned[m2] || [];\n list.forEach(function(u2) {\n var a = lookIn(u2, void 0), b = lookIn(u2, to), el = els[u2];\n if (!el || a < 0 || !anim(a) || anim(a) === anim(b)) return;\n var cs = getComputedStyle(el);\n el.style.cssText = css(u2, a) + ";animation:none;transition:none;transform:" + cs.transform + ";opacity:" + cs.opacity;\n });\n void root.offsetWidth;\n if (m2 === "flow" && !fromHistory) hist.push(state[m2]);\n state[m2] = to;\n list.forEach(function(u2) {\n set(u2, ms, ez);\n });\n arm();\n }\n function active(u2, trig) {\n return spec.on.filter(function(o) {\n return String(o[0]) === String(u2) && o[3] === trig && state[o[1]] === o[2];\n });\n }\n function run(o, u2) {\n var a = o[4];\n if (a.k === "go") {\n if (a.hold) {\n if (!holds[u2]) holds[u2] = { m: a.m, back: state[a.m], ms: a.ms, ez: a.ez };\n }\n go(a.m, a.to, a.ms, a.ez, false);\n } else if (a.k === "back" && hist.length) {\n go(a.m, hist.pop(), 300, "ease-in-out", true);\n }\n }\n function release(u2) {\n var h = holds[u2];\n if (!h) return;\n delete holds[u2];\n go(h.m, h.back, h.ms, h.ez, true);\n }\n function chain(el) {\n var out = [];\n for (var n = el; n && n !== root.parentNode; n = n.parentNode) {\n var id2 = n.getAttribute && n.getAttribute("data-pc");\n if (id2 !== null && id2 !== void 0) out.push(id2);\n if (n === root) break;\n }\n return out;\n }\n function first(ids, trig) {\n for (var i = 0; i < ids.length; i++) {\n var a = active(ids[i], trig);\n if (a.length) return { u: ids[i], list: a };\n }\n return null;\n }\n function arm() {\n timers.forEach(clearTimeout);\n timers = [];\n spec.on.forEach(function(o) {\n if (o[3] === "timeout" && state[o[1]] === o[2]) timers.push(setTimeout(function() {\n if (state[o[1]] === o[2]) run(o, o[0]);\n }, o[5]));\n });\n }\n var over = [];\n function hover(ids) {\n var left = over.filter(function(u2) {\n return ids.indexOf(u2) < 0;\n }), entered = ids.filter(function(u2) {\n return over.indexOf(u2) < 0;\n });\n over = ids;\n left.forEach(function(u2) {\n release(u2);\n active(u2, "leave").forEach(function(o) {\n run(o, u2);\n });\n });\n entered.slice().reverse().forEach(function(u2) {\n active(u2, "hover").concat(active(u2, "enter")).forEach(function(o) {\n run(o, u2);\n });\n });\n }\n var press = null;\n function onMove(e) {\n if (press) {\n var dx = e.clientX - press.x, dy = e.clientY - press.y;\n if (!press.dragged && Math.abs(dx) + Math.abs(dy) > 5) {\n press.dragged = true;\n var d = first(press.ids, "drag");\n if (d) {\n var du = d.u;\n press.drag = d;\n d.list.forEach(function(o) {\n if (o[4].k !== "orbit") run(o, du);\n });\n }\n if (press.held) {\n release(press.held);\n press.held = null;\n }\n }\n if (press.drag) {\n var k = root.getBoundingClientRect().width / (root.offsetWidth || 1) || 1;\n press.drag.list.forEach(function(o) {\n var a = o[4];\n if (a.k !== "orbit") return;\n var cur = orbit[a.t] || { rx: 0, ry: 0 };\n orbit[a.t] = { rx: cur.rx, ry: cur.ry + (e.clientX - press.lx) / k * a.d };\n if (a.tilt) {\n var tc = orbit[a.tt] || { rx: 0, ry: 0 };\n orbit[a.tt] = { ry: tc.ry, rx: Math.max(a.lo, Math.min(a.hi, tc.rx - (e.clientY - press.ly) / k * a.d)) };\n }\n set(a.t, 0, "linear");\n if (a.tt !== a.t) set(a.tt, 0, "linear");\n });\n press.lx = e.clientX;\n press.ly = e.clientY;\n return;\n }\n }\n hover(chain(e.target));\n }\n function onDown(e) {\n var ids = chain(e.target);\n press = { x: e.clientX, y: e.clientY, lx: e.clientX, ly: e.clientY, ids, dragged: false, drag: null, held: null };\n if (first(ids, "drag") && root.setPointerCapture) {\n try {\n root.setPointerCapture(e.pointerId);\n } catch (err) {\n }\n }\n var p = first(ids, "press");\n if (p) {\n var pu = p.u;\n press.held = pu;\n p.list.forEach(function(o) {\n run(o, pu);\n });\n }\n }\n function onUp(e) {\n var p = press;\n press = null;\n if (!p) return;\n if (p.held) release(p.held);\n if (p.dragged) return;\n var c = first(p.ids, "click");\n if (c) {\n var cu = c.u;\n c.list.forEach(function(o) {\n run(o, cu);\n });\n }\n void e;\n }\n function onLeave() {\n if (!press) hover([]);\n }\n function onKey(e) {\n spec.on.forEach(function(o) {\n if (o[3] === "key" && state[o[1]] === o[2] && (!o[6] || o[6].toLowerCase() === String(e.key).toLowerCase())) run(o, o[0]);\n });\n }\n for (var id in els) set(id, 0, "linear");\n root.addEventListener("pointermove", onMove);\n root.addEventListener("pointerdown", onDown);\n root.addEventListener("pointerup", onUp);\n root.addEventListener("pointercancel", onUp);\n root.addEventListener("pointerleave", onLeave);\n window.addEventListener("keydown", onKey);\n arm();\n return function() {\n timers.forEach(clearTimeout);\n root.removeEventListener("pointermove", onMove);\n root.removeEventListener("pointerdown", onDown);\n root.removeEventListener("pointerup", onUp);\n root.removeEventListener("pointercancel", onUp);\n root.removeEventListener("pointerleave", onLeave);\n window.removeEventListener("keydown", onKey);\n };\n}';
|
|
1113
|
-
var MACHINE_JS = '"use strict";\nvar __popcraftMachine = (() => {\n var __defProp = Object.defineProperty;\n var __defProps = Object.defineProperties;\n var __getOwnPropDesc = Object.getOwnPropertyDescriptor;\n var __getOwnPropDescs = Object.getOwnPropertyDescriptors;\n var __getOwnPropNames = Object.getOwnPropertyNames;\n var __getOwnPropSymbols = Object.getOwnPropertySymbols;\n var __hasOwnProp = Object.prototype.hasOwnProperty;\n var __propIsEnum = Object.prototype.propertyIsEnumerable;\n var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;\n var __spreadValues = (a, b) => {\n for (var prop in b || (b = {}))\n if (__hasOwnProp.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n if (__getOwnPropSymbols)\n for (var prop of __getOwnPropSymbols(b)) {\n if (__propIsEnum.call(b, prop))\n __defNormalProp(a, prop, b[prop]);\n }\n return a;\n };\n var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));\n var __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n };\n var __copyProps = (to, from, except, desc) => {\n if (from && typeof from === "object" || typeof from === "function") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n };\n var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);\n\n // packages/runtime/src/machine.ts\n var machine_exports = {};\n __export(machine_exports, {\n ANY_STATE: () => ANY_STATE,\n evaluateMachineExpr: () => evaluateMachineExpr,\n popcraftMachine: () => popcraftMachine,\n popcraftMachineCore: () => popcraftMachineCore\n });\n\n // packages/runtime/src/expressions.ts\n function nearestNote(notes, t) {\n if (!(notes == null ? void 0 : notes.length)) return -1;\n let lo = 0, hi = notes.length - 1;\n while (hi - lo > 1) {\n const mid = lo + hi >> 1;\n if (notes[mid].t <= t) lo = mid;\n else hi = mid;\n }\n return Math.abs(notes[lo].t - t) <= Math.abs(notes[hi].t - t) ? lo : hi;\n }\n function nearestBeat(beats, t) {\n if (!(beats == null ? void 0 : beats.length)) return -1;\n let lo = 0, hi = beats.length - 1;\n while (hi - lo > 1) {\n const mid = lo + hi >> 1;\n if (beats[mid] <= t) lo = mid;\n else hi = mid;\n }\n return Math.abs(beats[lo] - t) <= Math.abs(beats[hi] - t) ? lo : hi;\n }\n var laneHash = (i) => {\n let h = i + 2654435769 | 0;\n h = Math.imul(h ^ h >>> 16, 2246822507);\n h = Math.imul(h ^ h >>> 13, 3266489909);\n return (h ^ h >>> 16) >>> 0;\n };\n function laneOfBeat(i, lanes) {\n const n = Math.max(1, Math.round(lanes));\n if (n === 1 || i < 0) return 0;\n let lane = laneHash(0) % n;\n for (let j = 1; j <= i; j++) lane = (lane + 1 + laneHash(j) % (n - 1)) % n;\n return lane;\n }\n var ExprMissing = class extends Error {\n };\n var num = (v) => {\n if (typeof v === "number") return Number.isFinite(v) ? v : 0;\n if (typeof v === "boolean") return v ? 1 : 0;\n if (typeof v === "string") {\n const n = Number(v);\n return Number.isFinite(n) ? n : 0;\n }\n return 0;\n };\n var truthy = (v) => typeof v === "string" ? v !== "" && v !== "false" : typeof v === "object" ? true : num(v) !== 0;\n var exprText = (v) => typeof v === "number" ? Number.isInteger(v) ? String(v) : String(Number(v.toFixed(4))) : typeof v === "object" ? "" : String(v);\n var finite = (n) => Number.isFinite(n) ? n : 0;\n var DAY = 864e5;\n var dayOf = (ms) => {\n const d = new Date(ms);\n return Math.floor(new Date(d.getFullYear(), d.getMonth(), d.getDate()).getTime() / DAY + 0.5);\n };\n var keyOf = (name) => exprText(name).toLowerCase().replace(/[^a-z0-9]+/g, "_").replace(/^_+|_+$/g, "");\n function rowsOf(data, collection, pairs) {\n const rows = data == null ? void 0 : data.rows(exprText(collection));\n if (!rows) throw new ExprMissing(`No collection "${exprText(collection)}"`);\n if (pairs.length < 2) return rows;\n return rows.filter((r) => {\n var _a;\n for (let i = 0; i + 1 < pairs.length; i += 2) if (!same((_a = r.values[keyOf(pairs[i])]) != null ? _a : "", pairs[i + 1])) return false;\n return true;\n });\n }\n var since = (rows, days) => {\n const from = dayOf(Date.now()) - Math.max(0, Math.round(num(days)));\n return rows.filter((r) => r.at === void 0 || dayOf(r.at) >= from);\n };\n var total = (rows, field) => {\n const k = keyOf(field);\n return finite(rows.reduce((t, r) => t + (Number(r.values[k]) || 0), 0));\n };\n var FUNCTIONS = {\n /** How many records: `count("Trips")`, `count("Trips", "status", "Booked")` (each pair is a field and its value). */\n count: (a, data) => rowsOf(data, a[0], a.slice(1)).length,\n /** A number field added up: `sum("Sessions", "minutes")`, `sum("Sessions", "minutes", "kind", "Run")`. */\n sum: (a, data) => total(rowsOf(data, a[0], a.slice(2)), a[1]),\n /** How many different values a field has: `distinct("Dishes", "by")` is how many people are cooking. */\n distinct: (a, data) => {\n const k = keyOf(a[1]);\n return new Set(rowsOf(data, a[0], a.slice(2)).map((r) => {\n var _a;\n return exprText((_a = r.values[k]) != null ? _a : "");\n })).size;\n },\n /** The largest value of a number field: `best("Sessions", "minutes")`. */\n best: (a, data) => {\n const k = keyOf(a[1]);\n return rowsOf(data, a[0], a.slice(2)).reduce((m, r) => Math.max(m, Number(r.values[k]) || 0), 0);\n },\n /** Records made in the last days: `countSince("Sessions", 6)` is this week, `countSince("Checks", 0, "habit", item_id)` today\'s. */\n countSince: (a, data) => since(rowsOf(data, a[0], a.slice(2)), a[1]).length,\n /** Records made on one day, counted back from today: `countOn("Checks", 1, "habit", item_name)` is yesterday\'s. */\n countOn: (a, data) => {\n const day = dayOf(Date.now()) - Math.max(0, Math.round(num(a[1])));\n return rowsOf(data, a[0], a.slice(2)).filter((r) => {\n var _a;\n return dayOf((_a = r.at) != null ? _a : Date.now()) === day;\n }).length;\n },\n /** A number field added up over the last days: `sumSince("Sessions", "minutes", 6)`. */\n sumSince: (a, data) => total(since(rowsOf(data, a[0], a.slice(3)), a[2]), a[1]),\n /** Days in a row with a record, up to today (or yesterday, while today is still open): `streak("Checks", "habit", item_id)`. */\n streak: (a, data) => {\n const days = new Set(rowsOf(data, a[0], a.slice(1)).map((r) => {\n var _a;\n return dayOf((_a = r.at) != null ? _a : Date.now());\n }));\n let d = dayOf(Date.now());\n if (!days.has(d)) d -= 1;\n let n = 0;\n while (days.has(d)) {\n n++;\n d--;\n }\n return n;\n },\n /** Today as words: `today()` \u2192 "Friday 2 October". */\n today: () => (/* @__PURE__ */ new Date()).toLocaleDateString(void 0, { weekday: "long", day: "numeric", month: "long" }),\n min: (a) => Math.min(...a.map(num)),\n max: (a) => Math.max(...a.map(num)),\n clamp: (a) => Math.min(Math.max(num(a[0]), num(a[1])), num(a[2])),\n abs: (a) => Math.abs(num(a[0])),\n sign: (a) => Math.sign(num(a[0])),\n floor: (a) => Math.floor(num(a[0])),\n ceil: (a) => Math.ceil(num(a[0])),\n round: (a) => {\n var _a;\n const d = Math.max(0, Math.min(6, Math.round(num((_a = a[1]) != null ? _a : 0))));\n const f = 10 ** d;\n return Math.round(num(a[0]) * f) / f;\n },\n sqrt: (a) => finite(Math.sqrt(Math.max(0, num(a[0])))),\n pow: (a) => finite(num(a[0]) ** num(a[1])),\n /** Linear blend from a to b by t (0\u20261). */\n mix: (a) => num(a[0]) + (num(a[1]) - num(a[0])) * num(a[2]),\n /** A whole random number from lo to hi inclusive (a crit roll, a loot drop). */\n random: (a) => {\n var _a, _b;\n const lo = Math.ceil(num((_a = a[0]) != null ? _a : 0)), hi = Math.floor(num((_b = a[1]) != null ? _b : 1));\n return lo + Math.floor(Math.random() * (hi - lo + 1));\n },\n /**\n * How far the music is from its nearest beat, ms: negative before it, positive after (`abs(beat()) < 50` is a hit\n * within 50 ms). The beats are the screen\'s (detected from its music); 0 with none.\n */\n beat: (_a, data) => {\n var _a2, _b;\n const i = nearestBeat(data == null ? void 0 : data.beats, (_a2 = data == null ? void 0 : data.time) != null ? _a2 : 0);\n return i < 0 ? 0 : finite(((_b = data == null ? void 0 : data.time) != null ? _b : 0) - data.beats[i]);\n },\n /** Which beat is nearest (0, 1, 2 \u2026): remember it to score each beat once. -1 with no beats. */\n beatIndex: (_a, data) => {\n var _a2;\n return nearestBeat(data == null ? void 0 : data.beats, (_a2 = data == null ? void 0 : data.time) != null ? _a2 : 0);\n },\n /** The lane (0 \u2026 lanes \u2212 1) the nearest beat\'s note falls in: `beatLane(4) == 2` when the third lane\'s key is right. */\n beatLane: (a, data) => {\n var _a, _b;\n return laneOfBeat(nearestBeat(data == null ? void 0 : data.beats, (_a = data == null ? void 0 : data.time) != null ? _a : 0), num((_b = a[0]) != null ? _b : 4));\n },\n /**\n * How far the music is from its nearest note, ms (negative before it): the chart\'s (`timeline.notes`), else the\n * nearest beat\'s, like `beat()`.\n */\n note: (_a, data) => {\n var _a2, _b, _c;\n if (!((_a2 = data == null ? void 0 : data.notes) == null ? void 0 : _a2.length)) return FUNCTIONS.beat([], data);\n const i = nearestNote(data.notes, (_b = data.time) != null ? _b : 0);\n return finite(((_c = data.time) != null ? _c : 0) - data.notes[i].t);\n },\n /** Which note is nearest (0, 1, 2 \u2026), by the chart, else by the beats: remember it to score each note once. */\n noteIndex: (_a, data) => {\n var _a2, _b, _c;\n return ((_a2 = data == null ? void 0 : data.notes) == null ? void 0 : _a2.length) ? nearestNote(data.notes, (_b = data.time) != null ? _b : 0) : nearestBeat(data == null ? void 0 : data.beats, (_c = data == null ? void 0 : data.time) != null ? _c : 0);\n },\n /**\n * The lane of the nearest note: the chart\'s, else `beatLane(lanes)` (lanes defaults to 4). `noteLane() == 2` when\n * the third lane\'s key is right.\n */\n noteLane: (a, data) => {\n var _a, _b, _c, _d;\n if (!((_a = data == null ? void 0 : data.notes) == null ? void 0 : _a.length)) return laneOfBeat(nearestBeat(data == null ? void 0 : data.beats, (_b = data == null ? void 0 : data.time) != null ? _b : 0), num((_c = a[0]) != null ? _c : 4));\n return Math.round(num(data.notes[nearestNote(data.notes, (_d = data.time) != null ? _d : 0)].lane));\n },\n /** Note `i`\'s time (ms) by the chart, else beat `i`\'s; -1 when there is no such note. */\n noteAt: (a, data) => {\n var _a, _b;\n const i = Math.round(num((_a = a[0]) != null ? _a : 0));\n if ((_b = data == null ? void 0 : data.notes) == null ? void 0 : _b.length) return i >= 0 && i < data.notes.length ? data.notes[i].t : -1;\n return (data == null ? void 0 : data.beats) && i >= 0 && i < data.beats.length ? data.beats[i] : -1;\n },\n /** How many notes the chart has (else how many beats). */\n noteCount: (_a, data) => {\n var _a2, _b, _c;\n return ((_a2 = data == null ? void 0 : data.notes) == null ? void 0 : _a2.length) ? data.notes.length : (_c = (_b = data == null ? void 0 : data.beats) == null ? void 0 : _b.length) != null ? _c : 0;\n },\n /** The clock, in ms (a cooldown: `usedAt = now()`, then `now() - usedAt >= 3000`). */\n now: () => Date.now(),\n /** The value as text. */\n text: (a) => {\n var _a;\n return exprText((_a = a[0]) != null ? _a : "");\n },\n /** A whole number zero-padded to `n` digits: `pad(420, 6)` \u2192 "000420". */\n pad: (a) => {\n var _a;\n const n = Math.round(num(a[0]));\n const s = String(Math.abs(n)).padStart(Math.max(0, Math.min(12, num((_a = a[1]) != null ? _a : 0))), "0");\n return n < 0 ? `-${s}` : s;\n },\n /** A number with exactly `d` decimals: `fixed(12.5, 2)` \u2192 "12.50". */\n fixed: (a) => {\n var _a;\n return num(a[0]).toFixed(Math.max(0, Math.min(6, Math.round(num((_a = a[1]) != null ? _a : 0)))));\n },\n /** A number with thousands separators: `group(12500)` \u2192 "12,500". */\n group: (a) => Math.round(num(a[0])).toLocaleString("en-US"),\n /** Milliseconds (or seconds with `s`) as a clock: `clock(83450)` \u2192 "1:23.45". */\n clock: (a) => {\n const ms = Math.max(0, num(a[0]));\n const m = Math.floor(ms / 6e4), s = Math.floor(ms / 1e3) % 60, cs = Math.floor(ms / 10) % 100;\n return `${m}:${String(s).padStart(2, "0")}.${String(cs).padStart(2, "0")}`;\n },\n /** Text length. */\n len: (a) => {\n var _a;\n return exprText((_a = a[0]) != null ? _a : "").length;\n },\n upper: (a) => {\n var _a;\n return exprText((_a = a[0]) != null ? _a : "").toUpperCase();\n }\n };\n var same = (a, b) => typeof a === "string" || typeof b === "string" ? exprText(a) === exprText(b) : typeof a === "object" || typeof b === "object" ? JSON.stringify(a) === JSON.stringify(b) : num(a) === num(b);\n\n // packages/runtime/src/machine.ts\n var ANY_STATE = "*";\n var MAX_STEPS = 16;\n function evaluateMachineExpr(n, get, key) {\n switch (n.k) {\n case "lit":\n return n.v;\n case "key":\n return key != null ? key : "";\n case "time":\n return 0;\n case "var": {\n const v = get(n.name);\n if (v === void 0) throw new Error(`No input "${n.name}"`);\n return v;\n }\n case "un": {\n const a = evaluateMachineExpr(n.a, get, key);\n return n.op === "-" ? -num(a) : !truthy(a);\n }\n case "if":\n return truthy(evaluateMachineExpr(n.c, get, key)) ? evaluateMachineExpr(n.a, get, key) : evaluateMachineExpr(n.b, get, key);\n case "call":\n if (!Object.prototype.hasOwnProperty.call(FUNCTIONS, n.fn)) throw new Error(`No function "${n.fn}"`);\n return FUNCTIONS[n.fn](n.args.map((a) => evaluateMachineExpr(a, get, key)));\n case "bin": {\n if (n.op === "&&") {\n const a2 = evaluateMachineExpr(n.a, get, key);\n return truthy(a2) ? evaluateMachineExpr(n.b, get, key) : a2;\n }\n if (n.op === "||") {\n const a2 = evaluateMachineExpr(n.a, get, key);\n return truthy(a2) ? a2 : evaluateMachineExpr(n.b, get, key);\n }\n const a = evaluateMachineExpr(n.a, get, key), b = evaluateMachineExpr(n.b, get, key);\n switch (n.op) {\n case "+":\n return typeof a === "string" || typeof b === "string" ? exprText(a) + exprText(b) : finite(num(a) + num(b));\n case "-":\n return finite(num(a) - num(b));\n case "*":\n return finite(num(a) * num(b));\n case "/":\n return num(b) === 0 ? 0 : finite(num(a) / num(b));\n case "%": {\n const m = num(b);\n return m === 0 ? 0 : (num(a) % m + m) % m;\n }\n case "<":\n return num(a) < num(b);\n case "<=":\n return num(a) <= num(b);\n case ">":\n return num(a) > num(b);\n case ">=":\n return num(a) >= num(b);\n case "==":\n return same(a, b);\n case "!=":\n return !same(a, b);\n }\n }\n }\n throw new Error("Bad expression");\n }\n var isKey = (type) => type === "keyDown" || type === "keyUp";\n function popcraftMachineCore(spec) {\n const start = (id) => {\n const t = spec.in[id];\n return !t || t[0] === "event" || t[1] === null ? void 0 : t[1];\n };\n const valueOf = (values, id) => Object.prototype.hasOwnProperty.call(values, id) ? values[id] : start(id);\n function holds(g, values, fired) {\n const t = spec.in[g[0]];\n if (!t) return false;\n if (t[0] === "event") return fired.has(g[0]);\n const v = valueOf(values, g[0]), w = g[2];\n switch (g[1]) {\n case "eq":\n return v === w;\n case "neq":\n return v !== w;\n case "gt":\n return typeof v === "number" && typeof w === "number" && v > w;\n case "gte":\n return typeof v === "number" && typeof w === "number" && v >= w;\n case "lt":\n return typeof v === "number" && typeof w === "number" && v < w;\n case "lte":\n return typeof v === "number" && typeof w === "number" && v <= w;\n }\n return false;\n }\n function apply(values, actions, key) {\n const out = __spreadValues({}, values);\n const fired = /* @__PURE__ */ new Set();\n const get = (name) => {\n for (const id in spec.in) if (spec.in[id][2] === name || id === name) {\n const v = spec.in[id][0] === "event" ? void 0 : valueOf(out, id);\n if (v !== void 0) return v;\n }\n return void 0;\n };\n for (const a of actions) {\n const t = spec.in[a[1]];\n if (!t) continue;\n const cur = valueOf(out, a[1]), by = typeof a[2] === "number" ? a[2] : 1;\n switch (a[0]) {\n case "set": {\n if (a.length > 3) {\n let v;\n try {\n v = evaluateMachineExpr(a[3], get, key);\n } catch (e) {\n break;\n }\n if (t[0] === "event") {\n if (truthy(v)) fired.add(a[1]);\n } else out[a[1]] = t[0] === "number" ? finite(num(v)) : t[0] === "boolean" ? truthy(v) : exprText(v);\n } else if (t[0] === "event") fired.add(a[1]);\n else if (a.length > 2 && a[2] !== null && typeof a[2] === typeof cur) out[a[1]] = a[2];\n break;\n }\n case "toggle":\n if (typeof cur === "boolean") out[a[1]] = !cur;\n break;\n case "increment":\n if (typeof cur === "number") out[a[1]] = cur + by;\n break;\n case "decrement":\n if (typeof cur === "number") out[a[1]] = cur - by;\n break;\n case "fire":\n if (t[0] === "event") fired.add(a[1]);\n break;\n case "reset": {\n const s = start(a[1]);\n if (s === void 0) delete out[a[1]];\n else out[a[1]] = s;\n break;\n }\n }\n }\n return { values: out, fired };\n }\n function next(r, fired) {\n const own = spec.t.filter((t) => t[0] === r.state);\n const any = spec.t.filter((t) => t[0] === ANY_STATE && t[1] !== r.state);\n for (const t of own.concat(any)) if (spec.s[t[1]] && t[2].every((g) => holds(g, r.values, fired))) return t;\n return null;\n }\n function enter(r, id) {\n const res = apply(r.values, spec.s[id] ? spec.s[id][4] : []);\n return { run: { state: id, values: res.values }, fired: res.fired };\n }\n function settle(r, fired = /* @__PURE__ */ new Set()) {\n let cur = r, ev = fired;\n for (let i = 0; i < MAX_STEPS; i++) {\n const t = next(cur, ev);\n if (!t) break;\n const n = enter(cur, t[1]);\n cur = t[3] !== void 0 ? __spreadProps(__spreadValues({}, n.run), { via: t[3] }) : n.run;\n ev = n.fired;\n }\n return cur;\n }\n function begin() {\n const first = spec.s[spec.i] ? spec.i : Object.keys(spec.s)[0];\n if (first === void 0) return null;\n const values = {};\n for (const k in spec.in) {\n const s = start(k);\n if (s !== void 0) values[k] = s;\n }\n const e = enter({ state: first, values }, first);\n return settle(e.run, e.fired);\n }\n function hears(l, type, chain, key, root = spec.r) {\n var _a;\n if (l[0] !== type) return false;\n if (type === "complete" || type === "frame") return true;\n if (isKey(type)) return !l[3] || String(l[3]).toLowerCase() === (key != null ? key : "").toLowerCase();\n const at = (_a = l[1]) != null ? _a : root;\n return !at || chain.indexOf(at) >= 0;\n }\n function heard(type, chain = [], key, root) {\n const out = [];\n spec.l.forEach((l, i) => {\n if (hears(l, type, chain, key, root === void 0 ? spec.r : root)) out.push(i);\n });\n return out;\n }\n function run(r, idx, key) {\n if (!idx.length) return r;\n const actions = [];\n for (const i of idx) actions.push(...spec.l[i][2]);\n const res = apply(r.values, actions, key);\n return settle(__spreadProps(__spreadValues({}, r), { values: res.values }), res.fired);\n }\n function dispatch(r, type, chain = [], key, root) {\n return run(r, heard(type, chain, key, root), key);\n }\n function frame(r, from, to) {\n const idx = [];\n spec.l.forEach((l, i) => {\n if (l[0] !== "frame") return;\n const d = l[4];\n if (typeof d !== "number" || (from < d || from === 0 && d <= 0) && d <= to) idx.push(i);\n });\n return run(r, idx);\n }\n function set(r, id, value) {\n const t = spec.in[id];\n if (!t) return r;\n const res = apply(r.values, [t[0] === "event" ? ["fire", id] : ["set", id, value === void 0 ? null : value]]);\n return settle(__spreadProps(__spreadValues({}, r), { values: res.values }), res.fired);\n }\n const ticks = spec.l.some((l) => l[0] === "frame");\n return { begin, dispatch, set, frame, holds, apply, next, settle, heard, hears, ticks };\n }\n function popcraftMachine(root, spec, env) {\n var _a;\n const w = env || ((_a = root.ownerDocument) == null ? void 0 : _a.defaultView) || window;\n const core = popcraftMachineCore(spec);\n let run = core.begin();\n let anims = [], t0 = 0, done = false, raf = 0, over = [], last = -1;\n if (!run) return function() {\n };\n function chain(el) {\n const out = [];\n for (let n = el; n && n !== root.parentNode; n = n.parentNode) {\n const id = n.getAttribute && n.getAttribute("data-sm");\n if (id) out.push(id);\n if (n === root) {\n if (spec.r && out.indexOf(spec.r) < 0) out.push(spec.r);\n break;\n }\n }\n return out;\n }\n function update(r) {\n if (r === run) return;\n const changed = r.state !== run.state;\n run = r;\n if (!changed) return;\n t0 = w.performance.now();\n done = false;\n last = -1;\n root.dispatchEvent(new w.CustomEvent("popcraft:state", { detail: { state: r.state, name: spec.s[r.state] ? spec.s[r.state][5] : r.state, values: r.values } }));\n }\n function tick(now) {\n const s = spec.s[run.state];\n if (s) {\n const a = s[0], b = s[1], played = Math.max(0, now - t0) * s[3];\n let t;\n if (s[2] && b > a) t = a + played % (b - a);\n else {\n t = Math.min(b, a + played);\n if (!done && a + played >= b) {\n done = true;\n update(core.dispatch(run, "complete", []));\n }\n }\n anims.forEach((x) => {\n x.currentTime = t;\n });\n }\n if (core.ticks) {\n const el = Math.max(0, now - t0), from = last < 0 ? 0 : last;\n last = el;\n update(core.frame(run, from, el));\n }\n raf = w.requestAnimationFrame(tick);\n }\n function on(type) {\n return function(e) {\n update(core.dispatch(run, type, chain(e.target)));\n };\n }\n function onMove(e) {\n const ids = chain(e.target);\n const left = over.filter((u) => ids.indexOf(u) < 0), entered = ids.filter((u) => over.indexOf(u) < 0);\n over = ids;\n if (left.length) update(core.dispatch(run, "pointerExit", left));\n if (entered.length) update(core.dispatch(run, "pointerEnter", entered));\n }\n function onLeave() {\n if (over.length) {\n const left = over;\n over = [];\n update(core.dispatch(run, "pointerExit", left));\n }\n }\n function onKey(type) {\n return function(e) {\n const t = e.target;\n if (e.repeat || e.metaKey || e.ctrlKey || t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable)) return;\n const r = core.dispatch(run, type, [], e.key);\n if (r !== run) {\n e.preventDefault();\n update(r);\n }\n };\n }\n const down = on("pointerDown"), up = on("pointerUp"), click = on("click"), keyDown = onKey("keyDown"), keyUp = onKey("keyUp");\n anims = root.getAnimations ? root.getAnimations({ subtree: true }) : [];\n anims.forEach((x) => {\n x.pause();\n });\n t0 = w.performance.now();\n root.addEventListener("pointerdown", down);\n root.addEventListener("pointerup", up);\n root.addEventListener("click", click);\n root.addEventListener("pointermove", onMove);\n root.addEventListener("pointerleave", onLeave);\n w.addEventListener("keydown", keyDown);\n w.addEventListener("keyup", keyUp);\n raf = w.requestAnimationFrame(tick);\n function byName(k) {\n if (spec.in[k]) return k;\n for (const id in spec.in) if (spec.in[id][2] === k) return id;\n return k;\n }\n const api = {\n state: () => run.state,\n values: () => run.values,\n set: (input, value) => {\n update(core.set(run, byName(input), value));\n },\n fire: (input) => {\n update(core.set(run, byName(input), void 0));\n },\n destroy: () => {\n w.cancelAnimationFrame(raf);\n root.removeEventListener("pointerdown", down);\n root.removeEventListener("pointerup", up);\n root.removeEventListener("click", click);\n root.removeEventListener("pointermove", onMove);\n root.removeEventListener("pointerleave", onLeave);\n w.removeEventListener("keydown", keyDown);\n w.removeEventListener("keyup", keyUp);\n }\n };\n root.popcraftMachine = api;\n return api.destroy;\n }\n return __toCommonJS(machine_exports);\n})();\nvar popcraftMachine = __popcraftMachine.popcraftMachine, popcraftMachineCore = __popcraftMachine.popcraftMachineCore;';
|
|
1114
|
-
|
|
1115
|
-
// lib/io/web/state-machine.ts
|
|
1116
|
-
function webStateMachine(doc, frameId) {
|
|
1117
|
-
const sm = machineOf(doc.nodes[frameId]);
|
|
1118
|
-
if (!sm || !doc.nodes[frameId]?.timeline) return null;
|
|
1119
|
-
const timeline = frameTimeline(doc.nodes, frameId);
|
|
1120
|
-
const duration = timelineDuration(doc.nodes, frameId);
|
|
1121
|
-
return machineSpec(sm, (s) => stateStretch(s, timeline, duration), frameId);
|
|
1122
|
-
}
|
|
1123
|
-
var machineLayers = (spec) => new Set((spec?.l ?? []).map((l) => l[1]).filter((id) => !!id));
|
|
1124
|
-
var machineScript = (spec) => `${MACHINE_JS}
|
|
1125
|
-
popcraftMachine(document.querySelector('[data-sm-root]'), ${JSON.stringify(spec)});`;
|
|
1126
|
-
|
|
1127
|
-
// lib/io/web/interactive.ts
|
|
1128
|
-
var FLOW = "flow";
|
|
1129
|
-
var interactionsOf = (n) => n?.interactions ?? [];
|
|
1130
|
-
var realId = (id) => id.includes("::") ? id.slice(id.lastIndexOf("::") + 2) : id;
|
|
1131
|
-
var nodeOf = (doc, id) => doc.nodes[id] ?? (id.includes("::") ? resolveVirtualNode(doc.nodes, id) ?? void 0 : void 0);
|
|
1132
|
-
function subtreeIds(doc, id, out = /* @__PURE__ */ new Set()) {
|
|
1133
|
-
if (out.has(id)) return out;
|
|
1134
|
-
const n = doc.nodes[id];
|
|
1135
|
-
if (!n) return out;
|
|
1136
|
-
out.add(id);
|
|
1137
|
-
if (n.type === "INSTANCE") subtreeIds(doc, n.mainComponentId, out);
|
|
1138
|
-
for (const c of n.childIds ?? []) subtreeIds(doc, c, out);
|
|
1139
|
-
return out;
|
|
1140
|
-
}
|
|
1141
|
-
function flowScreens(doc, startId) {
|
|
1142
|
-
const start = doc.nodes[startId];
|
|
1143
|
-
if (!start || start.type !== "FRAME" || doc.nodes[start.parentId ?? ""]?.type !== "PAGE") return [startId];
|
|
1144
|
-
const out = [startId];
|
|
1145
|
-
for (let i = 0; i < out.length; i++) {
|
|
1146
|
-
for (const id of subtreeIds(doc, out[i])) {
|
|
1147
|
-
for (const ix of interactionsOf(doc.nodes[id])) {
|
|
1148
|
-
const to = ix.action.navigationType === "NAVIGATE" ? ix.action.destinationId : null;
|
|
1149
|
-
const dest = to ? doc.nodes[to] : void 0;
|
|
1150
|
-
if (!dest || out.includes(dest.id) || dest.type !== "FRAME" || doc.nodes[dest.parentId ?? ""]?.type !== "PAGE") continue;
|
|
1151
|
-
if (Math.round(dest.width) !== Math.round(start.width) || Math.round(dest.height) !== Math.round(start.height)) continue;
|
|
1152
|
-
out.push(dest.id);
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1155
|
-
}
|
|
1156
|
-
return out;
|
|
1157
|
-
}
|
|
1158
|
-
function variantStates(doc, mainId) {
|
|
1159
|
-
const out = [mainId];
|
|
1160
|
-
for (let i = 0; i < out.length; i++) {
|
|
1161
|
-
for (const id of subtreeIds(doc, out[i])) {
|
|
1162
|
-
for (const ix of interactionsOf(doc.nodes[id])) {
|
|
1163
|
-
const to = ix.action.navigationType === "CHANGE_TO" ? ix.action.destinationId : null;
|
|
1164
|
-
if (to && !out.includes(to) && doc.nodes[to]?.type === "COMPONENT") out.push(to);
|
|
1165
|
-
}
|
|
1166
|
-
}
|
|
1167
|
-
}
|
|
1168
|
-
return out;
|
|
1169
|
-
}
|
|
1170
|
-
var stateName = (doc, id) => {
|
|
1171
|
-
const n = doc.nodes[id];
|
|
1172
|
-
const v = n?.variantProperties;
|
|
1173
|
-
return v ? Object.values(v).join(", ") : n?.name ?? id;
|
|
1174
|
-
};
|
|
1175
|
-
var TRIGGERS = {
|
|
1176
|
-
ON_CLICK: "click",
|
|
1177
|
-
ON_HOVER: "hover",
|
|
1178
|
-
ON_PRESS: "press",
|
|
1179
|
-
ON_DRAG: "drag",
|
|
1180
|
-
MOUSE_ENTER: "enter",
|
|
1181
|
-
MOUSE_LEAVE: "leave",
|
|
1182
|
-
AFTER_TIMEOUT: "timeout",
|
|
1183
|
-
KEY_DOWN: "key"
|
|
1184
|
-
};
|
|
1185
|
-
var EASINGS = { EASE_IN: "ease-in", EASE_OUT: "ease-out", EASE_IN_OUT: "ease-in-out", LINEAR: "linear", SPRING: "cubic-bezier(0.34, 1.56, 0.64, 1)" };
|
|
1186
|
-
var glideOf = (t) => !t || t.type === "INSTANT" || t.type === "CUT" ? { ms: 0, easing: "linear" } : { ms: Math.max(0, Math.round(t.duration)), easing: EASINGS[t.easing] ?? "ease-in-out" };
|
|
1187
|
-
function buildState(ctx, doc, id, machine, state, start, variantOf) {
|
|
1188
|
-
const expand = /* @__PURE__ */ new Map();
|
|
1189
|
-
const tree = buildPlainTree(doc, id, ctx.opts, start, { built: (web, _node, at) => {
|
|
1190
|
-
if (web.type === "INSTANCE") expand.set(web, at);
|
|
1191
|
-
} });
|
|
1192
|
-
for (const r of tree.rules ?? []) ctx.rules.add(r);
|
|
1193
|
-
if (tree.truncated) ctx.truncated = true;
|
|
1194
|
-
const ids = /* @__PURE__ */ new Map();
|
|
1195
|
-
const index = (w) => {
|
|
1196
|
-
ids.set(w.id, w);
|
|
1197
|
-
w.children.forEach(index);
|
|
1198
|
-
};
|
|
1199
|
-
index(tree.root);
|
|
1200
|
-
const visit = (w, owner, st, isRoot) => {
|
|
1201
|
-
w.owner = owner;
|
|
1202
|
-
w.looks = { [st]: lookOf(w, isRoot) };
|
|
1203
|
-
if (w.motion) ctx.keyframes.add(w.motion.keyframes);
|
|
1204
|
-
const node = nodeOf(doc, w.id);
|
|
1205
|
-
note(ctx, w, interactionsOf(doc.nodes[realId(w.id)]), owner, st, ids);
|
|
1206
|
-
const at = expand.get(w);
|
|
1207
|
-
const inst = node?.type === "INSTANCE" ? node : void 0;
|
|
1208
|
-
const states = inst && at && ctx.depth < 4 ? variantStates(doc, inst.mainComponentId) : [];
|
|
1209
|
-
if (inst && at && states.length > 1 && w.id !== variantOf) {
|
|
1210
|
-
const m = { id: `m${ctx.machines.length}`, initial: inst.mainComponentId, states: states.map((s) => ({ id: s, name: stateName(doc, s) })) };
|
|
1211
|
-
ctx.machines.push(m);
|
|
1212
|
-
w.machine = m;
|
|
1213
|
-
const perState = [];
|
|
1214
|
-
for (const s of states) {
|
|
1215
|
-
let kids;
|
|
1216
|
-
if (s === inst.mainComponentId) {
|
|
1217
|
-
kids = w.children;
|
|
1218
|
-
kids.forEach((c) => visit(c, m.id, s, false));
|
|
1219
|
-
} else {
|
|
1220
|
-
const shown = { ...doc, nodes: { ...doc.nodes, [inst.id]: { ...inst, mainComponentId: s } } };
|
|
1221
|
-
ctx.depth++;
|
|
1222
|
-
try {
|
|
1223
|
-
kids = buildState(ctx, shown, inst.id, m.id, s, at, inst.id).children;
|
|
1224
|
-
} finally {
|
|
1225
|
-
ctx.depth--;
|
|
1226
|
-
}
|
|
1227
|
-
}
|
|
1228
|
-
note(ctx, w, interactionsOf(doc.nodes[s]), m.id, s, ids, m.id);
|
|
1229
|
-
perState.push([s, kids]);
|
|
1230
|
-
}
|
|
1231
|
-
w.children = mergeChildren(perState, m.id, m.states.map((s) => s.id), ctx);
|
|
1232
|
-
} else if (w.id === variantOf) {
|
|
1233
|
-
w.children.forEach((c) => visit(c, owner, st, false));
|
|
1234
|
-
} else {
|
|
1235
|
-
if (inst) note(ctx, w, interactionsOf(doc.nodes[inst.mainComponentId]), owner, st, ids);
|
|
1236
|
-
w.children.forEach((c) => visit(c, owner, st, false));
|
|
1237
|
-
}
|
|
1238
|
-
};
|
|
1239
|
-
visit(tree.root, machine, state, !start);
|
|
1240
|
-
return tree.root;
|
|
1241
|
-
}
|
|
1242
|
-
function note(ctx, w, list, machine, state, ids, hostMachine) {
|
|
1243
|
-
if (!list.length) return;
|
|
1244
|
-
const at = ctx.pending.get(w) ?? [];
|
|
1245
|
-
for (const ix of list) at.push({ machine, state, ix, hostMachine: hostMachine ?? (machine !== FLOW ? machine : void 0), ids });
|
|
1246
|
-
ctx.pending.set(w, at);
|
|
1247
|
-
}
|
|
1248
|
-
function lookOf(w, isRoot) {
|
|
1249
|
-
return {
|
|
1250
|
-
style: { ...placementStyle(w, isRoot), ...w.style, ...w.motion?.style ?? {} },
|
|
1251
|
-
...w.text ? { text: w.text.characters } : {},
|
|
1252
|
-
...w.tf ? { tf: w.tf } : {}
|
|
1253
|
-
};
|
|
1254
|
-
}
|
|
1255
|
-
function keyed(kids) {
|
|
1256
|
-
const seen = /* @__PURE__ */ new Map();
|
|
1257
|
-
return kids.map((k) => {
|
|
1258
|
-
const base = `${k.name}\0${k.type}`;
|
|
1259
|
-
const i = seen.get(base) ?? 0;
|
|
1260
|
-
seen.set(base, i + 1);
|
|
1261
|
-
return [`${base}\0${i}`, k];
|
|
1262
|
-
});
|
|
1263
|
-
}
|
|
1264
|
-
function mergeChildren(perState, machine, states, ctx) {
|
|
1265
|
-
const order = [];
|
|
1266
|
-
const groups = /* @__PURE__ */ new Map();
|
|
1267
|
-
for (const [state, kids] of perState) {
|
|
1268
|
-
let after = -1;
|
|
1269
|
-
for (const [k, node] of keyed(kids)) {
|
|
1270
|
-
let at = order.indexOf(k);
|
|
1271
|
-
if (at < 0) {
|
|
1272
|
-
order.splice(after + 1, 0, k);
|
|
1273
|
-
at = after + 1;
|
|
1274
|
-
}
|
|
1275
|
-
after = at;
|
|
1276
|
-
(groups.get(k) ?? groups.set(k, []).get(k)).push([state, node]);
|
|
1277
|
-
}
|
|
1278
|
-
}
|
|
1279
|
-
return order.map((k) => mergeNode(groups.get(k), machine, states, ctx));
|
|
1280
|
-
}
|
|
1281
|
-
function mergeNode(items, machine, states, ctx) {
|
|
1282
|
-
const [, first] = items[0];
|
|
1283
|
-
if (first.owner !== machine) {
|
|
1284
|
-
for (const [, w] of items.slice(1)) alias(ctx, w, first);
|
|
1285
|
-
return first;
|
|
1286
|
-
}
|
|
1287
|
-
const looks = {};
|
|
1288
|
-
for (const s of states) looks[s] = null;
|
|
1289
|
-
for (const [s, w] of items) looks[s] = w.looks?.[s] ?? null;
|
|
1290
|
-
const merged = { ...first, looks };
|
|
1291
|
-
const pend = items.flatMap(([, w]) => ctx.pending.get(w) ?? []);
|
|
1292
|
-
if (pend.length) ctx.pending.set(merged, pend);
|
|
1293
|
-
for (const [, w] of items) if (w !== merged) alias(ctx, w, merged);
|
|
1294
|
-
if (first.machine) {
|
|
1295
|
-
for (const [, w] of items) if (w.machine && w.machine !== first.machine) ctx.renamed.set(w.machine.id, first.machine.id);
|
|
1296
|
-
}
|
|
1297
|
-
merged.children = first.machine ? first.children : mergeChildren(items.map(([s, w]) => [s, w.children]), machine, states, ctx);
|
|
1298
|
-
return merged;
|
|
1299
|
-
}
|
|
1300
|
-
function alias(ctx, from, to) {
|
|
1301
|
-
const a = ctx.alias ??= /* @__PURE__ */ new Map();
|
|
1302
|
-
a.set(from, to);
|
|
1303
|
-
}
|
|
1304
|
-
function mergedOf(ctx, w) {
|
|
1305
|
-
const a = ctx.alias;
|
|
1306
|
-
let cur = w;
|
|
1307
|
-
for (let i = 0; i < 16 && a?.has(cur); i++) cur = a.get(cur);
|
|
1308
|
-
return cur;
|
|
1309
|
-
}
|
|
1310
|
-
function actionOf(ctx, p) {
|
|
1311
|
-
const a = p.ix.action;
|
|
1312
|
-
const glide = glideOf(a.transition);
|
|
1313
|
-
const hold = p.ix.trigger === "ON_HOVER" || p.ix.trigger === "ON_PRESS";
|
|
1314
|
-
switch (a.navigationType) {
|
|
1315
|
-
case "NAVIGATE":
|
|
1316
|
-
return a.destinationId && ctx.screens.has(a.destinationId) ? { kind: "go", machine: FLOW, to: a.destinationId, ...glide, ...hold ? { hold } : {} } : null;
|
|
1317
|
-
case "BACK":
|
|
1318
|
-
return ctx.screens.size > 1 ? { kind: "back", machine: FLOW } : null;
|
|
1319
|
-
case "CHANGE_TO":
|
|
1320
|
-
return p.hostMachine && a.destinationId ? { kind: "go", machine: p.hostMachine, to: a.destinationId, ...glide, ...hold ? { hold } : {} } : null;
|
|
1321
|
-
case "ORBIT_3D": {
|
|
1322
|
-
const o = a.orbit ?? {};
|
|
1323
|
-
const uidOf = (id) => {
|
|
1324
|
-
const w = id ? p.ids.get(id) : void 0;
|
|
1325
|
-
return w ? mergedOf(ctx, w).uid : void 0;
|
|
1326
|
-
};
|
|
1327
|
-
const uid = uidOf(a.destinationId);
|
|
1328
|
-
const tiltUid = uidOf(o.tiltLayerId) ?? uid;
|
|
1329
|
-
return uid === void 0 || tiltUid === void 0 ? null : { kind: "orbit", target: uid, tiltTarget: tiltUid, degreesPerPx: o.degreesPerPx ?? 0.4, tilt: !!o.tilt, tiltRange: o.tiltRange ?? [-30, 30] };
|
|
1330
|
-
}
|
|
1331
|
-
default:
|
|
1332
|
-
return null;
|
|
1333
|
-
}
|
|
1334
|
-
}
|
|
1335
|
-
function buildWebTree(doc, nodeId, opts = {}) {
|
|
1336
|
-
const tree = buildTree(doc, nodeId, opts);
|
|
1337
|
-
const machine = opts.static || opts.stateMachine === false ? null : webStateMachine(doc, nodeId);
|
|
1338
|
-
return machine ? { ...tree, stateMachine: machine } : tree;
|
|
1339
|
-
}
|
|
1340
|
-
function buildTree(doc, nodeId, opts = {}) {
|
|
1341
|
-
if (opts.static || opts.target === "site") return buildPlainTree(doc, nodeId, opts);
|
|
1342
|
-
const screens = flowScreens(doc, nodeId);
|
|
1343
|
-
const anything = screens.length > 1 || [...subtreeIds(doc, nodeId)].some((id) => interactionsOf(doc.nodes[id]).some((ix) => ix.action.navigationType === "CHANGE_TO" || ix.action.navigationType === "ORBIT_3D"));
|
|
1344
|
-
if (!anything) return buildPlainTree(doc, nodeId, opts);
|
|
1345
|
-
const flow = { id: FLOW, initial: nodeId, states: screens.map((s) => ({ id: s, name: doc.nodes[s]?.name ?? s })) };
|
|
1346
|
-
const ctx = { doc, opts, screens: new Set(screens), machines: [flow], keyframes: /* @__PURE__ */ new Set(), rules: /* @__PURE__ */ new Set(), pending: /* @__PURE__ */ new Map(), depth: 0, renamed: /* @__PURE__ */ new Map() };
|
|
1347
|
-
const roots = screens.map((s) => [s, buildState(ctx, doc, s, FLOW, s)]);
|
|
1348
|
-
const truncated = !!ctx.truncated;
|
|
1349
|
-
const root = mergeNode(roots, FLOW, screens, ctx);
|
|
1350
|
-
let uid = 0;
|
|
1351
|
-
const number = (w) => {
|
|
1352
|
-
w.uid = uid++;
|
|
1353
|
-
w.children.forEach(number);
|
|
1354
|
-
};
|
|
1355
|
-
number(root);
|
|
1356
|
-
const place = (w) => {
|
|
1357
|
-
const pend = ctx.pending.get(w);
|
|
1358
|
-
if (pend) {
|
|
1359
|
-
const seen = /* @__PURE__ */ new Set();
|
|
1360
|
-
const on = [];
|
|
1361
|
-
for (const raw of pend) {
|
|
1362
|
-
const p = { ...raw, machine: ctx.renamed.get(raw.machine) ?? raw.machine, ...raw.hostMachine ? { hostMachine: ctx.renamed.get(raw.hostMachine) ?? raw.hostMachine } : {} };
|
|
1363
|
-
const trigger = TRIGGERS[p.ix.trigger];
|
|
1364
|
-
const action = trigger ? actionOf(ctx, p) : null;
|
|
1365
|
-
if (!trigger || !action) continue;
|
|
1366
|
-
const ix = { machine: p.machine, state: p.state, trigger, ...p.ix.triggerDelay ? { delay: p.ix.triggerDelay } : {}, ...p.ix.triggerKey ? { key: p.ix.triggerKey } : {}, action };
|
|
1367
|
-
const sig = JSON.stringify(ix);
|
|
1368
|
-
if (!seen.has(sig)) {
|
|
1369
|
-
seen.add(sig);
|
|
1370
|
-
on.push(ix);
|
|
1371
|
-
}
|
|
1372
|
-
}
|
|
1373
|
-
if (on.length) w.on = on;
|
|
1374
|
-
}
|
|
1375
|
-
w.children.forEach(place);
|
|
1376
|
-
};
|
|
1377
|
-
place(root);
|
|
1378
|
-
return { root, truncated, ...ctx.rules.size ? { rules: [...ctx.rules].sort() } : {}, interactive: { machines: ctx.machines.filter((m) => !ctx.renamed.has(m.id)), keyframes: [...ctx.keyframes] } };
|
|
1379
|
-
}
|
|
1380
|
-
|
|
1381
|
-
// lib/io/web/tree.ts
|
|
1382
|
-
var DEFAULT_NODE_CAP = 120;
|
|
1383
|
-
var EXPORT_NODE_CAP = 2e4;
|
|
1384
|
-
var PAINTED = ["background", "border", "border-style", "border-color", "border-width", "outline", "border-radius", "box-shadow", "box-sizing", "filter", "backdrop-filter"];
|
|
1385
|
-
var anchorMemo = /* @__PURE__ */ new WeakMap();
|
|
1386
|
-
function anchorTargets(doc) {
|
|
1387
|
-
const hit = anchorMemo.get(doc.nodes);
|
|
1388
|
-
if (hit) return hit;
|
|
1389
|
-
const out = /* @__PURE__ */ new Set();
|
|
1390
|
-
for (const id in doc.nodes) {
|
|
1391
|
-
const n = doc.nodes[id];
|
|
1392
|
-
if (n.semantics?.link?.kind === "anchor") out.add(n.semantics.link.nodeId);
|
|
1393
|
-
for (const ix of n.interactions ?? []) if (ix.action.link?.kind === "anchor" && ix.action.link.nodeId) out.add(ix.action.link.nodeId);
|
|
1394
|
-
}
|
|
1395
|
-
anchorMemo.set(doc.nodes, out);
|
|
1396
|
-
return out;
|
|
1397
|
-
}
|
|
1398
|
-
var SPRITE_MAX_DEPTH = 8;
|
|
1399
|
-
function gpuOnlyInstance(nodes, id, styles) {
|
|
1400
|
-
let leaves = 0;
|
|
1401
|
-
const visit = (nid, depth) => {
|
|
1402
|
-
const n = nodes[nid];
|
|
1403
|
-
if (!n || n.visible === false) return true;
|
|
1404
|
-
if (n.type === "PIXEL_GRID") {
|
|
1405
|
-
leaves++;
|
|
1406
|
-
return true;
|
|
1407
|
-
}
|
|
1408
|
-
if (depth > SPRITE_MAX_DEPTH) return false;
|
|
1409
|
-
const container = n.type === "INSTANCE" || n.type === "COMPONENT" || n.type === "FRAME" || n.type === "GROUP";
|
|
1410
|
-
const main = n.mainComponentId;
|
|
1411
|
-
const kids = n.childIds?.length ? n.childIds : main ? [main] : [];
|
|
1412
|
-
if (container) return kids.every((k) => visit(k, depth + 1));
|
|
1413
|
-
if (n.type === "TEXT") return false;
|
|
1414
|
-
const pictured = !expressibility(n, styles).css;
|
|
1415
|
-
if (pictured) leaves++;
|
|
1416
|
-
return pictured;
|
|
1417
|
-
};
|
|
1418
|
-
return visit(id, 0) && leaves > 0;
|
|
1419
|
-
}
|
|
1420
|
-
function prepared(node, doc) {
|
|
1421
|
-
let n = node;
|
|
1422
|
-
if (n.id.includes("::")) n = withInstanceBox(n, doc.nodes);
|
|
1423
|
-
n = resolveNodeVariables(n, doc.variables, doc.variableCollections, doc.activeVariableModes, exprData(doc));
|
|
1424
|
-
n = resolveTextNodeStyles(n, doc.styles ?? {});
|
|
1425
|
-
return n;
|
|
1426
|
-
}
|
|
1427
|
-
function layoutOf(node, nodes) {
|
|
1428
|
-
if (!node) return null;
|
|
1429
|
-
if (node.type === "INSTANCE") {
|
|
1430
|
-
const mainId = node.mainComponentId;
|
|
1431
|
-
const main = mainId ? nodes[mainId] : void 0;
|
|
1432
|
-
return main ?? null;
|
|
1433
|
-
}
|
|
1434
|
-
if (node.id.includes("::")) {
|
|
1435
|
-
const real = nodes[node.id.split("::").pop()];
|
|
1436
|
-
return real ?? node;
|
|
1437
|
-
}
|
|
1438
|
-
return node;
|
|
1439
|
-
}
|
|
1440
|
-
var isFlex = (f) => f?.layoutMode === "HORIZONTAL" || f?.layoutMode === "VERTICAL";
|
|
1441
|
-
var round4 = (v) => Math.round(v * 1e3) / 1e3;
|
|
1442
|
-
function buildPlainTree(doc, nodeId, opts = {}, start, hooks = {}) {
|
|
1443
|
-
const cap = opts.nodeCap ?? DEFAULT_NODE_CAP;
|
|
1444
|
-
const first = doc.nodes[nodeId] ?? (nodeId.includes("::") ? childLookup(doc, nodeId) : void 0);
|
|
1445
|
-
if (!first) throw new Error(`No node ${nodeId}`);
|
|
1446
|
-
let emitted = 0;
|
|
1447
|
-
let truncated = false;
|
|
1448
|
-
const stilled = [];
|
|
1449
|
-
let folds = 0;
|
|
1450
|
-
const tokens = opts.target === "site" && Object.keys(doc.variables ?? {}).length ? siteTokens(doc) : null;
|
|
1451
|
-
const anchored = anchorTargets(doc);
|
|
1452
|
-
const pageItem = () => {
|
|
1453
|
-
const c = opts.item && doc.collections?.[opts.item.collectionId];
|
|
1454
|
-
if (c && opts.item.recordId === ITEM_RECORD) return { collection: c, record: templateRecord(c), suffix: `~${ITEM_RECORD}` };
|
|
1455
|
-
const r = opts.item && doc.records?.[opts.item.recordId];
|
|
1456
|
-
return c && r ? { collection: c, record: r, suffix: "" } : null;
|
|
1457
|
-
};
|
|
1458
|
-
let item = pageItem();
|
|
1459
|
-
const scopeOf = (it) => itemScope(it.collection, it.record, withData(variablesScope(doc.variables, doc.variableCollections, doc.activeVariableModes), doc));
|
|
1460
|
-
const itemised = (node, raw, it) => itemNode(node, raw, it.collection, it.record, scopeOf(it));
|
|
1461
|
-
const itemLink = (link, it) => {
|
|
1462
|
-
const filled = it && link.kind === "url" ? { ...link, url: itemText(link.url, it.collection, it.record) } : it && (link.kind === "email" || link.kind === "tel") ? { ...link, value: itemText(link.value, it.collection, it.record) } : link;
|
|
1463
|
-
if (filled.kind === "screen") {
|
|
1464
|
-
const dest = doc.nodes[filled.frameId];
|
|
1465
|
-
const base = opts.routes?.[filled.frameId];
|
|
1466
|
-
const of = dest?.route?.collectionId;
|
|
1467
|
-
if (of && base !== void 0) {
|
|
1468
|
-
const slugField = it?.record.id === ITEM_RECORD && it.collection.id === of ? it.collection.fields.find((f) => f.id === it.collection.slugFieldId) ?? it.collection.fields.find((f) => f.type === "SLUG" || f.type === "TEXT") : void 0;
|
|
1469
|
-
if (slugField) return { link: filled, href: `${base === "/" ? "" : base}/${itemMark(fieldKey(slugField.name))}`, screen: filled.frameId };
|
|
1470
|
-
const slugs = recordSlugs(doc, of);
|
|
1471
|
-
const rec = it?.collection.id === of ? it.record.id : slugs.keys().next().value;
|
|
1472
|
-
const slug2 = rec ? slugs.get(rec) : void 0;
|
|
1473
|
-
return slug2 ? { link: filled, href: `${base === "/" ? "" : base}/${slug2}`, screen: `${filled.frameId}~${rec}` } : { link: filled, href: null };
|
|
1474
|
-
}
|
|
1475
|
-
return { link: filled, href: base ?? null, screen: filled.frameId };
|
|
1476
|
-
}
|
|
1477
|
-
if (filled.kind === "url" && it?.record.id === ITEM_RECORD && itemMarks(filled.url)) return { link: filled, href: filled.url.trim() };
|
|
1478
|
-
return { link: filled, href: hrefOf(filled, doc.nodes, opts.routes) };
|
|
1479
|
-
};
|
|
1480
|
-
const fields = /* @__PURE__ */ new Map();
|
|
1481
|
-
const styleOpts = { fullImageUrl: opts.fullImageUrls ?? opts.target === "site" };
|
|
1482
|
-
const stylesOf = (n) => styleMapFor(n, doc.styles, styleOpts);
|
|
1483
|
-
let motion = null;
|
|
1484
|
-
const timeline = !opts.static && !start && first.type === "FRAME" ? frameWebMotion(doc, first.id, (n) => stylesOf(prepared(n, doc))) : null;
|
|
1485
|
-
let nodesNow = doc.nodes;
|
|
1486
|
-
const build = (raw, parent, in3D, fold) => {
|
|
1487
|
-
const pinned = pinnedRecord(doc, raw);
|
|
1488
|
-
const outerItem = item, outerNodes = nodesNow;
|
|
1489
|
-
const pinnedTo = pinned ? doc.collections[pinned.collectionId] : void 0;
|
|
1490
|
-
const holds = raw.type === "INSTANCE" || !!raw.childIds?.length;
|
|
1491
|
-
const slugField = holds && pinnedTo?.schema && opts.listTemplates && opts.target === "site" ? pinnedTo.fields.find((f) => f.id === pinnedTo.slugFieldId) ?? pinnedTo.fields.find((f) => f.type === "SLUG") : void 0;
|
|
1492
|
-
if (pinned && pinnedTo) item = slugField ? { collection: pinnedTo, record: templateRecord(pinnedTo), suffix: item?.suffix ?? "" } : { collection: pinnedTo, record: pinned, suffix: item?.suffix ?? "" };
|
|
1493
|
-
if (item && raw.type === "INSTANCE" && raw.boundExpressions) {
|
|
1494
|
-
const shown = itemised(raw, raw, item);
|
|
1495
|
-
if (shown !== raw) nodesNow = { ...nodesNow, [raw.id]: shown };
|
|
1496
|
-
}
|
|
1497
|
-
try {
|
|
1498
|
-
const web = buildLayer(raw, parent, in3D, fold);
|
|
1499
|
-
if (!web || !pinned || !slugField) return web;
|
|
1500
|
-
const value2 = String(pinned.values[slugField.id] ?? "");
|
|
1501
|
-
return { ...web, children: [], repeat: { collectionId: pinnedTo.id, template: web.children, limit: 1, pick: { key: fieldKey(slugField.name), value: value2 } } };
|
|
1502
|
-
} finally {
|
|
1503
|
-
item = outerItem;
|
|
1504
|
-
nodesNow = outerNodes;
|
|
1505
|
-
}
|
|
1506
|
-
};
|
|
1507
|
-
const buildLayer = (raw, parent, in3D, fold) => {
|
|
1508
|
-
if (emitted >= cap) {
|
|
1509
|
-
truncated = true;
|
|
1510
|
-
return null;
|
|
1511
|
-
}
|
|
1512
|
-
emitted++;
|
|
1513
|
-
const node = item ? itemised(prepared(raw, doc), raw, item) : prepared(raw, doc);
|
|
1514
|
-
const waits = node.visible === false && parent !== null;
|
|
1515
|
-
if (waits && !(opts.target === "site" && followsVisibility(raw))) return null;
|
|
1516
|
-
const exp = expressibility(node, doc.styles);
|
|
1517
|
-
const f = layoutOf(node, doc.nodes) ?? node;
|
|
1518
|
-
const style = stylesOf(node);
|
|
1519
|
-
if (f !== node && !style.display) Object.assign(style, flexDeclarations(f));
|
|
1520
|
-
const through = in3D && passesThrough(raw, doc.nodes);
|
|
1521
|
-
const own = typeof node.opacity === "number" ? node.opacity : 1;
|
|
1522
|
-
if (through) {
|
|
1523
|
-
style["transform-style"] = "preserve-3d";
|
|
1524
|
-
delete style.opacity;
|
|
1525
|
-
style[foldVar(fold + 1)] = fold ? `calc(var(${foldVar(fold)}) * ${round4(own)})` : String(round4(own));
|
|
1526
|
-
folds = Math.max(folds, fold + 1);
|
|
1527
|
-
} else if (fold) style.opacity = own === 1 ? `var(${foldVar(fold)})` : `calc(var(${foldVar(fold)}) * ${round4(own)})`;
|
|
1528
|
-
if (own === 0) style["pointer-events"] = "none";
|
|
1529
|
-
if (clickable(raw) && !style.cursor) style.cursor = "pointer";
|
|
1530
|
-
const web = {
|
|
1531
|
-
id: item?.suffix ? `${node.id}${item.suffix}` : node.id,
|
|
1532
|
-
name: node.name || node.type,
|
|
1533
|
-
type: node.type,
|
|
1534
|
-
x: Math.round(node.x),
|
|
1535
|
-
y: Math.round(node.y),
|
|
1536
|
-
width: Math.round(node.width),
|
|
1537
|
-
height: Math.round(node.height),
|
|
1538
|
-
// Absolutely-positioned auto-layout children are taken out of the flow, exactly as the canvas does.
|
|
1539
|
-
// A grid's children are in its flow too: its tracks place them.
|
|
1540
|
-
positioning: (isFlex(layoutOf(parent, doc.nodes)) || layoutOf(parent, doc.nodes)?.layoutMode === "GRID") && node.layoutPositioning !== "ABSOLUTE" ? "flow" : "absolute",
|
|
1541
|
-
style,
|
|
1542
|
-
children: []
|
|
1543
|
-
};
|
|
1544
|
-
const scaling = webScaling(node);
|
|
1545
|
-
if (scaling) web.scaling = scaling;
|
|
1546
|
-
if (tokens) Object.assign(style, tokenStyle(raw, style, tokens));
|
|
1547
|
-
if (opts.target === "site") {
|
|
1548
|
-
const lay = siteLayout(node, parent, layoutOf(parent, doc.nodes));
|
|
1549
|
-
for (const [k, v] of Object.entries(lay.style)) {
|
|
1550
|
-
if (v === null) delete style[k];
|
|
1551
|
-
else style[k] = v;
|
|
1552
|
-
}
|
|
1553
|
-
if (laysOut(f) || f.overflowScrolling) Object.assign(style, containerStyle(f));
|
|
1554
|
-
if (node.type === "TEXT") {
|
|
1555
|
-
if (style["white-space"] === "pre") {
|
|
1556
|
-
style["white-space"] = "pre-wrap";
|
|
1557
|
-
style.width = "fit-content";
|
|
1558
|
-
}
|
|
1559
|
-
if (style["max-width"] === void 0) style["max-width"] = "100%";
|
|
1560
|
-
if (style.height && style.height !== "auto") {
|
|
1561
|
-
style["min-height"] = style.height;
|
|
1562
|
-
delete style.height;
|
|
1563
|
-
}
|
|
1564
|
-
}
|
|
1565
|
-
if (lay.place && (parent !== null || !start?.parent)) web.place = lay.place;
|
|
1566
|
-
}
|
|
1567
|
-
if (waits) web.hidden = true;
|
|
1568
|
-
const sem = node.semantics;
|
|
1569
|
-
if (sem) {
|
|
1570
|
-
if (sem.tag && sem.tag !== "div") web.tag = sem.tag;
|
|
1571
|
-
const attrs = {};
|
|
1572
|
-
if (sem.label) attrs["aria-label"] = sem.label;
|
|
1573
|
-
if (sem.hidden) attrs["aria-hidden"] = "true";
|
|
1574
|
-
if (Object.keys(attrs).length) web.attrs = attrs;
|
|
1575
|
-
const to = sem.link ? itemLink(sem.link, item) : null;
|
|
1576
|
-
if (to?.href) web.link = { href: to.href, ...opensNewTab(to.link) ? { newTab: true } : {}, ...to.screen ? { screen: to.screen } : {} };
|
|
1577
|
-
}
|
|
1578
|
-
const control = node.control;
|
|
1579
|
-
if (control) {
|
|
1580
|
-
const named = control.name ? { name: control.name } : {};
|
|
1581
|
-
if (control.kind === "FORM") {
|
|
1582
|
-
web.tag = "form";
|
|
1583
|
-
if (isCommerceAction(control.formAction)) web.action = control.formAction;
|
|
1584
|
-
} else if (control.kind === "BUTTON") {
|
|
1585
|
-
web.tag = "button";
|
|
1586
|
-
web.attrs = { ...web.attrs, type: control.buttonType ?? "submit", ...named, ...control.name && control.value !== void 0 ? { value: item && hasItemToken(control.value) ? itemText(control.value, item.collection, item.record) : control.value } : {} };
|
|
1587
|
-
} else if (control.kind === "CHECKBOX" || control.kind === "RADIO") {
|
|
1588
|
-
web.check = { attrs: { type: control.kind === "RADIO" ? "radio" : "checkbox", ...named, ...control.value !== void 0 ? { value: control.value } : {}, ...control.checked ? { checked: "" } : {}, ...control.required ? { required: "" } : {} }, ...control.variableId ? { variable: control.variableId } : {} };
|
|
1589
|
-
} else fields.set(fieldPart(doc.nodes, raw.id) ?? raw.id, control);
|
|
1590
|
-
}
|
|
1591
|
-
const control0 = fields.get(raw.id);
|
|
1592
|
-
const field = control0 && item && control0.value !== void 0 && hasItemToken(control0.value) ? { ...control0, value: itemText(control0.value, item.collection, item.record) } : control0;
|
|
1593
|
-
if (field) {
|
|
1594
|
-
const tag = field.kind === "TEXTAREA" ? "textarea" : field.kind === "SELECT" ? "select" : "input";
|
|
1595
|
-
const words = node.characters;
|
|
1596
|
-
web.input = {
|
|
1597
|
-
tag,
|
|
1598
|
-
attrs: {
|
|
1599
|
-
...tag === "input" ? { type: field.inputType ?? "text" } : {},
|
|
1600
|
-
...field.name ? { name: field.name } : {},
|
|
1601
|
-
...tag !== "select" && (field.placeholder ?? words) ? { placeholder: field.placeholder ?? words } : {},
|
|
1602
|
-
...field.required ? { required: "" } : {},
|
|
1603
|
-
...tag === "input" && field.value !== void 0 ? { value: field.value } : {},
|
|
1604
|
-
"aria-label": node.semantics?.label ?? field.placeholder ?? field.name ?? web.name
|
|
1605
|
-
},
|
|
1606
|
-
...tag === "select" ? { options: field.options ?? [] } : {},
|
|
1607
|
-
...tag !== "input" && field.value !== void 0 ? { value: field.value } : {},
|
|
1608
|
-
...field.variableId ? { variable: field.variableId } : {}
|
|
1609
|
-
};
|
|
1610
|
-
}
|
|
1611
|
-
if (sem?.anchor || anchored.has(node.id)) web.attrs = { ...web.attrs, id: anchorOf(node) };
|
|
1612
|
-
if (through) web.preserve3d = true;
|
|
1613
|
-
web.tf = transformParts(node);
|
|
1614
|
-
if (typeof node.altText === "string") web.alt = node.altText;
|
|
1615
|
-
if (parent === null) web.positioning = start?.parent ? web.positioning : "flow";
|
|
1616
|
-
if (f.layoutMode === "HORIZONTAL" || f.layoutMode === "VERTICAL") {
|
|
1617
|
-
web.layout = {
|
|
1618
|
-
direction: f.layoutMode === "HORIZONTAL" ? "row" : "column",
|
|
1619
|
-
gap: f.itemSpacing ?? 0,
|
|
1620
|
-
justify: JUSTIFY[f.primaryAxisAlignItems ?? "MIN"],
|
|
1621
|
-
align: ALIGN[f.counterAxisAlignItems ?? "MIN"],
|
|
1622
|
-
padding: f.padding ?? { top: 0, right: 0, bottom: 0, left: 0 }
|
|
1623
|
-
};
|
|
1624
|
-
}
|
|
1625
|
-
if (node.type === "TEXT") {
|
|
1626
|
-
const t = node;
|
|
1627
|
-
const solid = (t.fills ?? []).find((p) => p.visible !== false && p.type === "SOLID" && p.color);
|
|
1628
|
-
web.text = {
|
|
1629
|
-
characters: t.characters ?? "",
|
|
1630
|
-
align: t.textAlign,
|
|
1631
|
-
fontFamily: t.fontFamily,
|
|
1632
|
-
fontSize: t.fontSize,
|
|
1633
|
-
fontWeight: t.fontWeight,
|
|
1634
|
-
italic: t.fontStyle === "italic",
|
|
1635
|
-
...solid?.color ? { color: toHex(solid.color) } : {},
|
|
1636
|
-
...t.letterSpacing ? { letterSpacing: t.letterSpacing } : {},
|
|
1637
|
-
...t.lineHeight !== "AUTO" ? { lineHeight: t.lineHeight } : {}
|
|
1638
|
-
};
|
|
1639
|
-
const runs = textRuns(t);
|
|
1640
|
-
if (runs) web.runs = runs;
|
|
1641
|
-
}
|
|
1642
|
-
const tl = timeline?.get(node.id);
|
|
1643
|
-
const mo = tl ?? motion?.children.get(node.id);
|
|
1644
|
-
if (mo) web.motion = { style: animationStyle(mo, tl ? "load" : motion.trigger), keyframes: keyframesCSS(mo) };
|
|
1645
|
-
const ext = getNativeExtension(raw.type);
|
|
1646
|
-
if (ext?.toWeb) {
|
|
1647
|
-
const said = ext.toWeb(node, { escape: escapeHTML, color: (c) => toRgba({ ...c, a: c.a ?? 1 }) });
|
|
1648
|
-
if (said.tag) web.tag = said.tag;
|
|
1649
|
-
Object.assign(style, said.style);
|
|
1650
|
-
web.html = said.html;
|
|
1651
|
-
hooks.built?.(web, node, { parent, in3D, fold });
|
|
1652
|
-
return web;
|
|
1653
|
-
}
|
|
1654
|
-
const code = opts.target === "site" ? codeOf(doc.nodes, raw) : null;
|
|
1655
|
-
if (code && doc.codeModules?.[code.moduleId]) {
|
|
1656
|
-
for (const k of PAINTED) delete style[k];
|
|
1657
|
-
web.code = { module: code.moduleId, ...code.exportName ? { export: code.exportName } : {}, props: codeProps(doc.nodes, node) };
|
|
1658
|
-
hooks.built?.(web, node, { parent, in3D, fold });
|
|
1659
|
-
return web;
|
|
1660
|
-
}
|
|
1661
|
-
const sprite = opts.target === "site" && raw.type === "INSTANCE" && !raw.id.includes("::") && isLive(doc.nodes, raw.id) && gpuOnlyInstance(doc.nodes, raw.id, doc.styles);
|
|
1662
|
-
if (!exp.css || sprite) {
|
|
1663
|
-
for (const k of PAINTED) delete style[k];
|
|
1664
|
-
web.asset = { kind: opts.assetKind ?? (exp.needsRaster ? "png" : "svg"), reason: exp.reason || (sprite ? "an animated sprite" : ""), ...item?.suffix ? { of: node.id } : {} };
|
|
1665
|
-
if (isPixelArt(doc, raw.id)) style["image-rendering"] = "pixelated";
|
|
1666
|
-
if (sprite || opts.target === "site" && renderMode(node, { styles: doc.styles, live: isLive(doc.nodes, raw.id) }) === "island") web.island = true;
|
|
1667
|
-
hooks.built?.(web, node, { parent, in3D, fold });
|
|
1668
|
-
return web;
|
|
1669
|
-
}
|
|
1670
|
-
const lost = capability(node, "css", doc.styles).dropped.find((f2) => f2.startsWith("paint:"));
|
|
1671
|
-
if (lost && !node.id.includes("::")) {
|
|
1672
|
-
const site = opts.target === "site";
|
|
1673
|
-
style.isolation = "isolate";
|
|
1674
|
-
web.children.push({
|
|
1675
|
-
id: `${node.id}/backdrop${item?.suffix ?? ""}`,
|
|
1676
|
-
name: `${web.name} fill`,
|
|
1677
|
-
type: "BACKDROP",
|
|
1678
|
-
x: 0,
|
|
1679
|
-
y: 0,
|
|
1680
|
-
width: web.width,
|
|
1681
|
-
height: web.height,
|
|
1682
|
-
positioning: "absolute",
|
|
1683
|
-
...site ? { place: { position: "absolute", inset: "0" } } : {},
|
|
1684
|
-
style: { ...site ? {} : { width: `${web.width}px`, height: `${web.height}px` }, "border-radius": "inherit", overflow: "hidden", "z-index": "-1", "pointer-events": "none" },
|
|
1685
|
-
alt: "",
|
|
1686
|
-
asset: { kind: "png", reason: featureName(lost), of: node.id, self: true },
|
|
1687
|
-
...site && movesItself(raw) ? { island: true } : {},
|
|
1688
|
-
children: []
|
|
1689
|
-
});
|
|
1690
|
-
}
|
|
1691
|
-
const outer = motion;
|
|
1692
|
-
if (!motion && node.type === "INSTANCE" && !opts.static) {
|
|
1693
|
-
motion = instanceWebMotion(doc, node, (n) => stylesOf(prepared(n, doc)));
|
|
1694
|
-
if (motion && (motion.trigger !== "load" || opts.target === "site")) web.motionTrigger = motion.trigger;
|
|
1695
|
-
} else if (!motion && node.type === "INSTANCE" && opts.static && instanceWebMotion(doc, node, () => ({}))) {
|
|
1696
|
-
stilled.push({ feature: "motion", reason: STATIC_REASON, nodeId: web.id });
|
|
1697
|
-
}
|
|
1698
|
-
try {
|
|
1699
|
-
if (opts.includeChildren !== false) {
|
|
1700
|
-
const kids3D = in3D ? through : is3DContext(raw) && !raw.id.includes("::");
|
|
1701
|
-
const kidFold = through ? fold + 1 : 0;
|
|
1702
|
-
const repeat = raw.repeat;
|
|
1703
|
-
const collection = repeat && doc.collections?.[repeat.collectionId];
|
|
1704
|
-
if (repeat && collection && opts.target === "site") {
|
|
1705
|
-
const outerItem = item;
|
|
1706
|
-
const under = outerItem ? scopeOf(outerItem) : withData(variablesScope(doc.variables, doc.variableCollections, doc.activeVariableModes), doc);
|
|
1707
|
-
try {
|
|
1708
|
-
for (const record of repeatRecords(doc, repeat, under)) {
|
|
1709
|
-
item = { collection, record, suffix: `${outerItem?.suffix ?? ""}~${record.id}` };
|
|
1710
|
-
for (const child of childrenOf(node, nodesNow)) {
|
|
1711
|
-
const built = build(child, node, kids3D, kidFold);
|
|
1712
|
-
if (built) web.children.push(built);
|
|
1713
|
-
}
|
|
1714
|
-
}
|
|
1715
|
-
if (collection.perVisitor && !outerItem || collection.schema && opts.listTemplates) {
|
|
1716
|
-
item = { collection, record: templateRecord(collection), suffix: `~${ITEM_RECORD}` };
|
|
1717
|
-
const template = [];
|
|
1718
|
-
for (const child of childrenOf(node, nodesNow)) {
|
|
1719
|
-
const built = build(child, node, kids3D, kidFold);
|
|
1720
|
-
if (built) template.push(built);
|
|
1721
|
-
}
|
|
1722
|
-
const sortField = repeat.sort && collection.fields.find((f2) => f2.id === repeat.sort.fieldId);
|
|
1723
|
-
web.repeat = {
|
|
1724
|
-
collectionId: collection.id,
|
|
1725
|
-
template,
|
|
1726
|
-
...repeat.filter?.trim() ? { filter: repeat.filter } : {},
|
|
1727
|
-
...sortField ? { sort: { key: fieldKey(sortField.name), dir: repeat.sort.dir } } : {},
|
|
1728
|
-
...repeat.offset ? { offset: repeat.offset } : {},
|
|
1729
|
-
...repeat.limit ? { limit: repeat.limit } : {}
|
|
1730
|
-
};
|
|
1731
|
-
}
|
|
1732
|
-
} finally {
|
|
1733
|
-
item = outerItem;
|
|
1734
|
-
}
|
|
1735
|
-
} else for (const child of childrenOf(node, nodesNow)) {
|
|
1736
|
-
const built = build(child, node, kids3D, kidFold);
|
|
1737
|
-
if (built) web.children.push(...opts.target === "site" ? breakpointPictures(doc, child, built) : [built]);
|
|
1738
|
-
}
|
|
1739
|
-
}
|
|
1740
|
-
} finally {
|
|
1741
|
-
motion = outer;
|
|
1742
|
-
}
|
|
1743
|
-
if (web.children.some((c) => c.positioning === "absolute")) {
|
|
1744
|
-
for (const c of web.children) if (c.positioning === "flow") c.layered = true;
|
|
1745
|
-
}
|
|
1746
|
-
if (scaling && opts.target === "site") wrapScaledContent(web, scaling);
|
|
1747
|
-
else if (scaling && opts.scaleRoot && !parent) {
|
|
1748
|
-
Object.assign(web.style, SCALED_ROOT);
|
|
1749
|
-
wrapScaledContent(web, scaling);
|
|
1750
|
-
}
|
|
1751
|
-
hooks.built?.(web, node, { parent, in3D, fold });
|
|
1752
|
-
return web;
|
|
1753
|
-
};
|
|
1754
|
-
const root = build(first, start?.parent ?? null, start?.in3D ?? false, start?.fold ?? 0);
|
|
1755
|
-
if (!root) throw new Error("Node cap of 0");
|
|
1756
|
-
const screen = !start && opts.behaviors !== false && isScreen(doc, nodeId);
|
|
1757
|
-
const behaviors = screen && !opts.static ? screenBehaviors(doc, nodeId) : null;
|
|
1758
|
-
const dropped = mergeDropped(screen && opts.static ? staticDropped(doc, nodeId) : [], stilled);
|
|
1759
|
-
return { root, truncated, ...folds ? { rules: foldRules(folds) } : {}, ...tokens?.vars.length ? { tokens } : {}, ...behaviors ? { behaviors } : {}, ...dropped.length ? { dropped } : {} };
|
|
1760
|
-
}
|
|
1761
|
-
function breakpointPictures(doc, raw, built) {
|
|
1762
|
-
const r = raw.responsive;
|
|
1763
|
-
if (!built.asset || built.island || !r) return [built];
|
|
1764
|
-
const order = breakpointsOf(doc).map((b) => b.id);
|
|
1765
|
-
const redrawn = order.filter((b) => r[b]?.paths);
|
|
1766
|
-
if (!redrawn.length) return [built];
|
|
1767
|
-
const paths = JSON.stringify(raw.paths);
|
|
1768
|
-
const shown = [...redrawn].reverse().find((b) => JSON.stringify(r[b].paths) === paths) ?? null;
|
|
1769
|
-
const hide = (n) => ({ ...n, style: { ...n.style, display: "none" } });
|
|
1770
|
-
return [
|
|
1771
|
-
shown ? hide(built) : built,
|
|
1772
|
-
...redrawn.map((b) => {
|
|
1773
|
-
const alt = { ...built, id: `${built.id}@${b}`, children: [], asset: { kind: built.asset.kind, reason: built.asset.reason, of: built.asset.of ?? built.id, breakpoint: b } };
|
|
1774
|
-
return b === shown ? alt : hide(alt);
|
|
1775
|
-
})
|
|
1776
|
-
];
|
|
1777
|
-
}
|
|
1778
|
-
var foldVar = (depth) => `--pc-f${depth}`;
|
|
1779
|
-
var foldRules = (depth) => Array.from({ length: depth }, (_, i) => `@property ${foldVar(i + 1)} { syntax: '<number>'; inherits: true; initial-value: 1; }`);
|
|
1780
|
-
function childLookup(doc, id) {
|
|
1781
|
-
const at = id.lastIndexOf("::");
|
|
1782
|
-
const host = at > 0 ? id.slice(0, at) : "";
|
|
1783
|
-
const hostNode = doc.nodes[host] ?? (host.includes("::") ? childLookup(doc, host) : void 0);
|
|
1784
|
-
return hostNode ? childrenOf(hostNode, doc.nodes).find((c) => c.id === id) : void 0;
|
|
1785
|
-
}
|
|
1786
|
-
var clickable = (n) => !!n.semantics?.link || (n.interactions ?? []).some((ix) => ix.trigger === "ON_CLICK" || ix.trigger === "ON_PRESS");
|
|
1787
|
-
function flatten(node, out = []) {
|
|
1788
|
-
out.push(node);
|
|
1789
|
-
for (const c of node.children) flatten(c, out);
|
|
1790
|
-
return out;
|
|
1791
|
-
}
|
|
1792
|
-
|
|
1793
|
-
export {
|
|
1794
|
-
cleanName,
|
|
1795
|
-
swiftColor,
|
|
1796
|
-
composeColor,
|
|
1797
|
-
parseCssColor,
|
|
1798
|
-
styleMapFor,
|
|
1799
|
-
styleMapToCSSText,
|
|
1800
|
-
styleMapToInline,
|
|
1801
|
-
styleMapToJSX,
|
|
1802
|
-
expressibility,
|
|
1803
|
-
escapeHTML,
|
|
1804
|
-
placementStyle,
|
|
1805
|
-
altFor,
|
|
1806
|
-
labelSVG,
|
|
1807
|
-
imageRoleAttrs,
|
|
1808
|
-
pictureOf,
|
|
1809
|
-
MOTION_PLAY_RULE,
|
|
1810
|
-
CHECK_STYLE,
|
|
1811
|
-
elementOf,
|
|
1812
|
-
MOTION_SCRIPT,
|
|
1813
|
-
modeClass,
|
|
1814
|
-
siteTokens,
|
|
1815
|
-
tokensCSS,
|
|
1816
|
-
screenBehaviors,
|
|
1817
|
-
behaviorsDropped,
|
|
1818
|
-
mergeDropped,
|
|
1819
|
-
PROTOTYPE_JS,
|
|
1820
|
-
webStateMachine,
|
|
1821
|
-
machineLayers,
|
|
1822
|
-
machineScript,
|
|
1823
|
-
variantStates,
|
|
1824
|
-
buildWebTree,
|
|
1825
|
-
DEFAULT_NODE_CAP,
|
|
1826
|
-
EXPORT_NODE_CAP,
|
|
1827
|
-
SPRITE_MAX_DEPTH,
|
|
1828
|
-
prepared,
|
|
1829
|
-
buildPlainTree,
|
|
1830
|
-
breakpointPictures,
|
|
1831
|
-
foldVar,
|
|
1832
|
-
foldRules,
|
|
1833
|
-
flatten
|
|
1834
|
-
};
|