@farm.js/core 0.1.60 → 0.1.61
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/after.cjs +3 -3
- package/dist/after.mjs +2 -2
- package/dist/agent-mcp-handler-LPJ2CADR.mjs +19 -0
- package/dist/agent-mcp-handler-SJAHFSPI.cjs +19 -0
- package/dist/agent-runtime.cjs +59 -36
- package/dist/agent-runtime.mjs +58 -35
- package/dist/api/client.cjs +15 -16
- package/dist/api/client.mjs +13 -14
- package/dist/api/route-manager.cjs +39 -41
- package/dist/api/route-manager.mjs +38 -40
- package/dist/api/runtime.cjs +22 -24
- package/dist/api/runtime.mjs +22 -24
- package/dist/api.cjs +50 -52
- package/dist/api.mjs +49 -51
- package/dist/app-markdown.cjs +15 -15
- package/dist/app-markdown.mjs +14 -14
- package/dist/cache.cjs +7 -10
- package/dist/cache.mjs +6 -9
- package/dist/chunk-23MGIV4X.mjs +579 -0
- package/dist/chunk-27ZWSI3W.cjs +64 -0
- package/dist/chunk-2A3EQHXX.mjs +173 -0
- package/dist/chunk-2CQ74SP6.cjs +13 -0
- package/dist/chunk-2ELDTQRN.mjs +85 -0
- package/dist/chunk-2J7W2WND.mjs +149 -0
- package/dist/chunk-2NNMOPDN.mjs +237 -0
- package/dist/chunk-2PQNJXFM.mjs +20 -0
- package/dist/chunk-2SJ4RQ6P.cjs +57 -0
- package/dist/chunk-2UC36WAC.mjs +22 -0
- package/dist/chunk-2VQKKQ6D.mjs +51 -0
- package/dist/chunk-2Y3JRYVG.mjs +71 -0
- package/dist/chunk-35GKZR22.mjs +157 -0
- package/dist/chunk-3BU22U3M.cjs +237 -0
- package/dist/chunk-3KZS4SUS.mjs +414 -0
- package/dist/chunk-3SDFA7UF.cjs +701 -0
- package/dist/chunk-3TLO7SBY.cjs +240 -0
- package/dist/chunk-3UEVPCGW.mjs +435 -0
- package/dist/chunk-3WNDJT2E.cjs +109 -0
- package/dist/chunk-44SYJEG3.mjs +13 -0
- package/dist/chunk-45ZSJLDT.mjs +183 -0
- package/dist/chunk-4E5AEDKY.mjs +696 -0
- package/dist/chunk-4E5WBPEG.mjs +1157 -0
- package/dist/chunk-4GLOOWKE.mjs +1344 -0
- package/dist/chunk-4JCQDWPX.mjs +24 -0
- package/dist/chunk-4NU4GGTC.cjs +484 -0
- package/dist/chunk-4OOBRCJX.mjs +300 -0
- package/dist/chunk-4PPEPOZZ.cjs +21 -0
- package/dist/chunk-4RB44K6Z.mjs +94 -0
- package/dist/chunk-4SIYUGRY.mjs +93 -0
- package/dist/chunk-4WQ6PGSJ.cjs +367 -0
- package/dist/chunk-4WVJLURN.mjs +417 -0
- package/dist/chunk-4ZFL5GFN.cjs +520 -0
- package/dist/chunk-54UPOYFS.mjs +35 -0
- package/dist/chunk-55YI3RRB.mjs +192 -0
- package/dist/chunk-5I3OT426.cjs +11021 -0
- package/dist/chunk-5QIKR7RR.cjs +224 -0
- package/dist/chunk-5SJWVY6R.mjs +26 -0
- package/dist/chunk-5WI2S4CO.mjs +20 -0
- package/dist/chunk-63H6BKXG.cjs +389 -0
- package/dist/chunk-655RLQQL.mjs +43 -0
- package/dist/chunk-6EODJYCX.cjs +183 -0
- package/dist/chunk-6EXBPJ24.cjs +434 -0
- package/dist/chunk-6MVFL3R5.cjs +506 -0
- package/dist/chunk-6NT6S2VQ.mjs +180 -0
- package/dist/chunk-6QQDAAAZ.cjs +38 -0
- package/dist/chunk-6SJ2KJTA.mjs +314 -0
- package/dist/chunk-6SM5XXFS.cjs +70 -0
- package/dist/chunk-6V4TDWEC.cjs +455 -0
- package/dist/chunk-72ADZ6GQ.cjs +19 -0
- package/dist/chunk-72AK62H5.mjs +55 -0
- package/dist/chunk-75RZHGLS.cjs +135 -0
- package/dist/chunk-77GNHH2Z.cjs +236 -0
- package/dist/chunk-7DBXEASO.cjs +40 -0
- package/dist/chunk-7LTCDQRS.mjs +166 -0
- package/dist/chunk-7W3CPVXS.cjs +24 -0
- package/dist/chunk-A6WIQH5Z.cjs +31 -0
- package/dist/chunk-ADEA7PN3.cjs +1101 -0
- package/dist/chunk-AELACLOB.mjs +47 -0
- package/dist/chunk-AHGECQEW.mjs +49 -0
- package/dist/chunk-AI7QMY7O.cjs +41 -0
- package/dist/chunk-AJQTP4OO.mjs +212 -0
- package/dist/chunk-AMDMVWMI.cjs +39 -0
- package/dist/chunk-ARJWXNQL.cjs +256 -0
- package/dist/chunk-BCMSYSN2.mjs +183 -0
- package/dist/chunk-BIDYX3SL.cjs +91 -0
- package/dist/chunk-BJIYRUGQ.mjs +35 -0
- package/dist/chunk-BJPBQNIE.cjs +2355 -0
- package/dist/chunk-BO36SELV.cjs +395 -0
- package/dist/chunk-BOYNDCZL.mjs +54 -0
- package/dist/chunk-BPMATOP2.cjs +687 -0
- package/dist/chunk-BPOF5U4N.mjs +566 -0
- package/dist/chunk-BRYHOB4X.mjs +18 -0
- package/dist/chunk-BSC7JTOK.mjs +70 -0
- package/dist/chunk-BTHHUD7Q.mjs +51 -0
- package/dist/chunk-BUGNQIHC.mjs +449 -0
- package/dist/chunk-C4NCTZLM.mjs +22 -0
- package/dist/chunk-C4SPBWFM.cjs +26 -0
- package/dist/chunk-C5GUTBZK.cjs +173 -0
- package/dist/chunk-CBBLJMR5.mjs +74 -0
- package/dist/chunk-CBJJH36A.cjs +2187 -0
- package/dist/chunk-CGBDNNSM.cjs +664 -0
- package/dist/chunk-CI6E3UOH.cjs +314 -0
- package/dist/chunk-CMGMGHUZ.cjs +27 -0
- package/dist/chunk-CNOQY6Z7.mjs +156 -0
- package/dist/chunk-CQ6OSQ3K.mjs +36 -0
- package/dist/chunk-CU625VAY.mjs +13 -0
- package/dist/chunk-CVOSWIQA.mjs +15300 -0
- package/dist/chunk-CXEN47J3.mjs +550 -0
- package/dist/chunk-CXP5U3RW.cjs +54 -0
- package/dist/chunk-D227TIEN.cjs +1114 -0
- package/dist/chunk-D2BB47NB.cjs +157 -0
- package/dist/chunk-D2ULAULS.cjs +166 -0
- package/dist/chunk-D7JTOLFK.cjs +285 -0
- package/dist/chunk-DAATZTKJ.mjs +220 -0
- package/dist/chunk-DAO7JGTS.mjs +73 -0
- package/dist/chunk-DQQOKWYA.cjs +42 -0
- package/dist/chunk-DTSROJ5J.mjs +367 -0
- package/dist/chunk-DVM4FKZL.cjs +169 -0
- package/dist/chunk-DZ5ZVB2K.cjs +9 -0
- package/dist/chunk-E2ROOWQC.cjs +2225 -0
- package/dist/chunk-E3UK5IIB.cjs +593 -0
- package/dist/chunk-E5GNDG5F.mjs +701 -0
- package/dist/chunk-EA5K5BKU.mjs +455 -0
- package/dist/chunk-ECKF2BAM.cjs +403 -0
- package/dist/chunk-EK4QAEFZ.cjs +550 -0
- package/dist/chunk-EMLAPBEM.mjs +256 -0
- package/dist/chunk-ENLZ4R3Y.mjs +55 -0
- package/dist/chunk-EUV4YR3V.cjs +1362 -0
- package/dist/chunk-EWET4D2Y.mjs +395 -0
- package/dist/chunk-EZDQRNQ7.mjs +1496 -0
- package/dist/chunk-F2SE2VDO.mjs +65 -0
- package/dist/chunk-F3LTXB63.mjs +40 -0
- package/dist/chunk-F3VB7ONA.mjs +338 -0
- package/dist/chunk-F5QO4FNE.mjs +664 -0
- package/dist/chunk-FA2W42OV.mjs +25 -0
- package/dist/chunk-FDR64H6B.mjs +140 -0
- package/dist/chunk-FFFW3OQ7.cjs +65 -0
- package/dist/chunk-FJ3M4CUX.cjs +46 -0
- package/dist/chunk-FK6GO24V.cjs +54 -0
- package/dist/chunk-FNO7A7CM.cjs +1496 -0
- package/dist/chunk-FO427P6I.cjs +392 -0
- package/dist/chunk-FP2INE7H.mjs +113 -0
- package/dist/chunk-FUZEBRP3.mjs +593 -0
- package/dist/chunk-FZ6YYU2W.mjs +65 -0
- package/dist/chunk-G2KY33I6.mjs +202 -0
- package/dist/chunk-G4MWPDSE.mjs +19 -0
- package/dist/chunk-G643DQCH.cjs +13 -0
- package/dist/chunk-G7HXGLEC.cjs +175 -0
- package/dist/chunk-GC3SUL6M.mjs +109 -0
- package/dist/chunk-GCXWJJKH.mjs +169 -0
- package/dist/chunk-GHFS7RUB.mjs +152 -0
- package/dist/chunk-GQ3Z3IZI.cjs +241 -0
- package/dist/chunk-H4AMB6ZE.mjs +421 -0
- package/dist/chunk-H77NVNJ2.mjs +57 -0
- package/dist/chunk-HALDNTIV.mjs +2225 -0
- package/dist/chunk-HITLGIAO.cjs +55 -0
- package/dist/chunk-HLJ6MBUZ.cjs +183 -0
- package/dist/chunk-HOXTWRGB.mjs +484 -0
- package/dist/chunk-HREOKQWT.cjs +45 -0
- package/dist/chunk-I2BHUNBU.mjs +14 -0
- package/dist/chunk-I57LW5VZ.cjs +94 -0
- package/dist/chunk-IE7XCHH3.cjs +85 -0
- package/dist/chunk-IHNIDL6H.cjs +772 -0
- package/dist/chunk-IK6LVLKC.cjs +51 -0
- package/dist/chunk-IOEH4VWN.mjs +202 -0
- package/dist/chunk-IWZKTWHZ.cjs +435 -0
- package/dist/chunk-IZY3V5XW.mjs +23 -0
- package/dist/chunk-J63ZH5OQ.cjs +62 -0
- package/dist/chunk-J7FSKED3.cjs +93 -0
- package/dist/chunk-JBSVKMC5.mjs +28 -0
- package/dist/chunk-JDNHKPTD.cjs +22 -0
- package/dist/chunk-JG6DJF5A.mjs +238 -0
- package/dist/chunk-JGLC4TO3.cjs +192 -0
- package/dist/chunk-JM5XPKWH.mjs +41 -0
- package/dist/chunk-JNUWCDTF.cjs +1344 -0
- package/dist/chunk-JNZ4TDWM.mjs +445 -0
- package/dist/chunk-JPLUGGRV.mjs +230 -0
- package/dist/chunk-JSROZYYO.cjs +164 -0
- package/dist/chunk-KCMTCM6I.cjs +53 -0
- package/dist/chunk-KGB5UXJJ.mjs +27 -0
- package/dist/chunk-KGZIORNL.cjs +43 -0
- package/dist/chunk-KI3MESHB.mjs +224 -0
- package/dist/chunk-KIIMAWOJ.cjs +505 -0
- package/dist/chunk-KMTGADN3.mjs +95 -0
- package/dist/chunk-KN7K4VQN.mjs +236 -0
- package/dist/chunk-KNBBQHO2.cjs +51 -0
- package/dist/chunk-KR6CKSXT.cjs +15 -0
- package/dist/chunk-KXWRO25S.cjs +85 -0
- package/dist/chunk-L3KT7IXV.mjs +91 -0
- package/dist/chunk-LCCBO7PJ.cjs +46 -0
- package/dist/chunk-LIUGYUX3.cjs +22 -0
- package/dist/chunk-LPEX4YW6.mjs +13 -0
- package/dist/chunk-LSKZMJMP.cjs +65 -0
- package/dist/chunk-LSZAVSGY.mjs +1101 -0
- package/dist/chunk-LTNGXMQ6.cjs +55 -0
- package/dist/chunk-LYLEZIG3.cjs +73 -0
- package/dist/chunk-LYV44OIR.mjs +256 -0
- package/dist/chunk-M2L4MYDQ.cjs +14 -0
- package/dist/chunk-M7MKQXAF.cjs +87 -0
- package/dist/chunk-MKYBIIAQ.mjs +2187 -0
- package/dist/chunk-MQ3H6LT5.cjs +202 -0
- package/dist/chunk-MRMI32SN.cjs +1157 -0
- package/dist/chunk-MSSFIQGM.mjs +1002 -0
- package/dist/chunk-MT763TDW.cjs +43 -0
- package/dist/chunk-MVL2RAJW.mjs +62 -0
- package/dist/chunk-MWSK6C4J.cjs +18 -0
- package/dist/chunk-MWWVKDW3.cjs +169 -0
- package/dist/chunk-N2NAS2AM.cjs +725 -0
- package/dist/chunk-N46M65CI.mjs +54 -0
- package/dist/chunk-N4UOK6ZI.cjs +256 -0
- package/dist/chunk-NI2TCCTG.mjs +11020 -0
- package/dist/chunk-NO3WWW3N.cjs +192 -0
- package/dist/chunk-NPC7VWJE.mjs +277 -0
- package/dist/chunk-NRDBW4MP.mjs +45 -0
- package/dist/chunk-NRSN7G7E.mjs +42 -0
- package/dist/chunk-NYJMY3JA.cjs +156 -0
- package/dist/chunk-NZKJGRB3.cjs +230 -0
- package/dist/chunk-O6BCQV2T.mjs +46 -0
- package/dist/chunk-O6I6VWKK.mjs +493 -0
- package/dist/chunk-O6WAEAX3.mjs +2028 -0
- package/dist/chunk-O7BH5O46.mjs +175 -0
- package/dist/chunk-OFZUJMCU.mjs +601 -0
- package/dist/chunk-OHLSEQ57.mjs +910 -0
- package/dist/chunk-OHY2ZWUG.cjs +25 -0
- package/dist/chunk-OI6CMLWX.cjs +47 -0
- package/dist/chunk-ONUEYC6N.mjs +27 -0
- package/dist/chunk-OO7GXVSR.mjs +9 -0
- package/dist/chunk-OT6ZEW74.mjs +139 -0
- package/dist/chunk-OTC5BDGO.mjs +687 -0
- package/dist/chunk-OX6O6WVA.cjs +74 -0
- package/dist/chunk-OYEUREB6.cjs +35 -0
- package/dist/chunk-OZVEHHMA.cjs +194 -0
- package/dist/chunk-P5TJO5IS.mjs +240 -0
- package/dist/chunk-PCOTGFSM.cjs +139 -0
- package/dist/chunk-PNGWZFUQ.mjs +39 -0
- package/dist/chunk-PSV6XKPO.cjs +220 -0
- package/dist/chunk-PTZ2TVNE.cjs +178 -0
- package/dist/chunk-PZNL3WEG.mjs +772 -0
- package/dist/chunk-PZYCPSCC.cjs +35 -0
- package/dist/chunk-Q2KB32T4.mjs +690 -0
- package/dist/chunk-Q5B3KJBP.cjs +152 -0
- package/dist/chunk-QBK2AA4U.cjs +445 -0
- package/dist/chunk-QCFBDFRS.mjs +169 -0
- package/dist/chunk-QCVE2OCI.cjs +169 -0
- package/dist/chunk-QE6VAKLT.mjs +85 -0
- package/dist/chunk-QNPEUFHQ.cjs +27 -0
- package/dist/chunk-QORUJDIV.mjs +46 -0
- package/dist/chunk-QV4VE2OW.mjs +166 -0
- package/dist/chunk-QVKYGNVM.mjs +27 -0
- package/dist/chunk-QVYLBY73.mjs +93 -0
- package/dist/chunk-R3DS7A2T.mjs +21 -0
- package/dist/chunk-R5A5KNVX.cjs +20 -0
- package/dist/chunk-R5JIFR6B.cjs +42 -0
- package/dist/chunk-RHAZ22ZN.mjs +87 -0
- package/dist/chunk-RKPDESVW.cjs +15301 -0
- package/dist/chunk-RSOJ7DRT.mjs +506 -0
- package/dist/chunk-S3A45T7F.cjs +166 -0
- package/dist/chunk-S3FNNQHR.mjs +31 -0
- package/dist/chunk-S3JO3N4H.cjs +17 -0
- package/dist/chunk-S67OYZU7.mjs +711 -0
- package/dist/chunk-S6VYG6XU.cjs +493 -0
- package/dist/chunk-SAXPH6G5.mjs +169 -0
- package/dist/chunk-SC2WYWPF.mjs +241 -0
- package/dist/chunk-SDOTRX3V.cjs +690 -0
- package/dist/chunk-SEJ5N6SL.mjs +38 -0
- package/dist/chunk-SFGWNC43.mjs +97 -0
- package/dist/chunk-SHB3GYXI.mjs +285 -0
- package/dist/chunk-SHLXACIO.cjs +95 -0
- package/dist/chunk-SJNMVDDF.cjs +86 -0
- package/dist/chunk-SK35NQKK.cjs +27 -0
- package/dist/chunk-SKNL7VA2.mjs +42 -0
- package/dist/chunk-SLQCDJSO.mjs +18 -0
- package/dist/chunk-SOR334EB.cjs +149 -0
- package/dist/chunk-SU7MH53P.cjs +180 -0
- package/dist/chunk-SVRTJOUF.cjs +113 -0
- package/dist/chunk-SYQ3MOWW.cjs +73 -0
- package/dist/chunk-T4OGRVNS.mjs +392 -0
- package/dist/chunk-T5OJPTVN.cjs +417 -0
- package/dist/chunk-TE2G5ION.cjs +2028 -0
- package/dist/chunk-TFQG7TBC.mjs +43 -0
- package/dist/chunk-TIWHTW3Q.cjs +24 -0
- package/dist/chunk-TKJZFIML.cjs +20 -0
- package/dist/chunk-TKSCR644.cjs +414 -0
- package/dist/chunk-TVGP4BBZ.mjs +45 -0
- package/dist/chunk-U4KT7QP3.cjs +23 -0
- package/dist/chunk-UDNPLXW7.mjs +86 -0
- package/dist/chunk-UFDAAQFX.cjs +169 -0
- package/dist/chunk-UFDV5N3C.cjs +711 -0
- package/dist/chunk-UH6QN5NL.mjs +178 -0
- package/dist/chunk-UP4CW6WP.mjs +169 -0
- package/dist/chunk-UQZ4AYTH.cjs +168 -0
- package/dist/chunk-US2QVW3E.cjs +36 -0
- package/dist/chunk-UVW64BCB.cjs +910 -0
- package/dist/chunk-UWPLULNK.mjs +520 -0
- package/dist/chunk-UXFQ3UDA.cjs +140 -0
- package/dist/chunk-UYIHRDE4.cjs +97 -0
- package/dist/chunk-V2FTMRS7.mjs +223 -0
- package/dist/chunk-VB6UCX3V.cjs +421 -0
- package/dist/chunk-VEKFLAQM.cjs +300 -0
- package/dist/chunk-VILIPRS6.mjs +725 -0
- package/dist/chunk-VQLJWDVW.cjs +696 -0
- package/dist/chunk-W3B4PKAW.mjs +28 -0
- package/dist/chunk-W4E7WMXE.cjs +71 -0
- package/dist/chunk-W7LF2J2S.mjs +64 -0
- package/dist/chunk-WBKEZXWE.cjs +449 -0
- package/dist/chunk-WC5UV2HQ.cjs +212 -0
- package/dist/chunk-WMAPPDMM.cjs +28 -0
- package/dist/chunk-WMOGFOUJ.cjs +223 -0
- package/dist/chunk-WNSDDRNU.mjs +24 -0
- package/dist/chunk-WWFTAUFG.cjs +45 -0
- package/dist/chunk-WWIKMBRN.mjs +1362 -0
- package/dist/chunk-XCMCS4DA.mjs +1114 -0
- package/dist/chunk-XJJVLDM6.mjs +194 -0
- package/dist/chunk-XJXBIP67.cjs +277 -0
- package/dist/chunk-XNPDONUH.mjs +389 -0
- package/dist/chunk-XSIRSMAS.cjs +339 -0
- package/dist/chunk-XZNTNMHT.mjs +15 -0
- package/dist/chunk-Y5SJM2W7.cjs +579 -0
- package/dist/chunk-YDQZGSDS.mjs +2355 -0
- package/dist/chunk-YFILVET3.mjs +192 -0
- package/dist/chunk-YFPGHF5F.cjs +202 -0
- package/dist/chunk-YHOCRI4H.mjs +434 -0
- package/dist/chunk-YJRZR7VU.cjs +28 -0
- package/dist/chunk-YKX5BK66.cjs +46 -0
- package/dist/chunk-YOZYCI6Z.mjs +73 -0
- package/dist/chunk-YSCV4SJF.cjs +49 -0
- package/dist/chunk-YSLWRWWP.cjs +601 -0
- package/dist/chunk-YWMZUGIS.mjs +403 -0
- package/dist/chunk-YWN746US.cjs +1002 -0
- package/dist/chunk-YX3DBN4M.cjs +18 -0
- package/dist/chunk-Z2HLU4IX.cjs +238 -0
- package/dist/chunk-Z2RZJZIZ.mjs +168 -0
- package/dist/chunk-Z3HATSKO.mjs +46 -0
- package/dist/chunk-ZEG3OPIB.cjs +93 -0
- package/dist/chunk-ZLAT2CWY.mjs +135 -0
- package/dist/chunk-ZMMBIVQM.mjs +505 -0
- package/dist/chunk-ZMSZZXOR.mjs +164 -0
- package/dist/chunk-ZWM5KGAA.cjs +566 -0
- package/dist/chunk-ZZSRYEYU.mjs +53 -0
- package/dist/client/lifecycle.cjs +3 -3
- package/dist/client/lifecycle.mjs +2 -2
- package/dist/client-plugins.cjs +3 -3
- package/dist/client-plugins.mjs +2 -2
- package/dist/client.cjs +40 -45
- package/dist/client.mjs +39 -44
- package/dist/config.cjs +3 -3
- package/dist/config.mjs +2 -2
- package/dist/cron.cjs +9 -9
- package/dist/cron.mjs +8 -8
- package/dist/deferred.cjs +3 -3
- package/dist/deferred.mjs +2 -2
- package/dist/deployment.cjs +3 -3
- package/dist/deployment.mjs +2 -2
- package/dist/devtools-ERIKFEXX.mjs +472 -0
- package/dist/devtools-JZJJY5CK.cjs +472 -0
- package/dist/devtools-client-CXQ6PXI6.cjs +254 -0
- package/dist/devtools-client-HJS2T34Y.mjs +254 -0
- package/dist/devtools-ui-5GBDIGMK.cjs +1296 -0
- package/dist/devtools-ui-5KDAVPIF.mjs +1296 -0
- package/dist/docs.cjs +58 -66
- package/dist/docs.mjs +57 -65
- package/dist/env-types.cjs +4 -4
- package/dist/env-types.mjs +3 -3
- package/dist/env.cjs +4 -4
- package/dist/env.mjs +3 -3
- package/dist/environment/vite.cjs +3 -7
- package/dist/environment/vite.mjs +2 -6
- package/dist/environment.cjs +3 -3
- package/dist/environment.mjs +2 -2
- package/dist/font.cjs +3 -3
- package/dist/font.mjs +2 -2
- package/dist/headers.cjs +6 -8
- package/dist/headers.mjs +5 -7
- package/dist/i18n/client.cjs +30 -19
- package/dist/i18n/client.mjs +20 -9
- package/dist/i18n/index.cjs +6 -6
- package/dist/i18n/index.mjs +5 -5
- package/dist/i18n/server.cjs +10 -10
- package/dist/i18n/server.mjs +9 -9
- package/dist/image/server.cjs +5 -9
- package/dist/image/server.mjs +4 -8
- package/dist/image/sharp.cjs +20 -16
- package/dist/image/sharp.mjs +12 -8
- package/dist/image.cjs +18 -9
- package/dist/image.mjs +13 -4
- package/dist/index.cjs +174 -235
- package/dist/index.mjs +241 -302
- package/dist/instrumentation.cjs +5 -5
- package/dist/instrumentation.mjs +4 -4
- package/dist/integration-orm-55F7CII5.cjs +13 -0
- package/dist/integration-orm-KV5B3BGZ.mjs +13 -0
- package/dist/integrations.cjs +17 -23
- package/dist/integrations.mjs +18 -24
- package/dist/internal/app-markdown-runtime.cjs +13 -13
- package/dist/internal/app-markdown-runtime.mjs +12 -12
- package/dist/internal/build-runtime.cjs +133 -161
- package/dist/internal/build-runtime.mjs +121 -149
- package/dist/internal/cli-runtime.cjs +79 -101
- package/dist/internal/cli-runtime.mjs +79 -101
- package/dist/internal/client-error-overlay.cjs +49 -18
- package/dist/internal/client-error-overlay.mjs +45 -14
- package/dist/internal/client-runtime.cjs +59 -73
- package/dist/internal/client-runtime.mjs +52 -66
- package/dist/internal/compression-runtime.cjs +4 -4
- package/dist/internal/compression-runtime.mjs +3 -3
- package/dist/internal/config-runtime.cjs +65 -94
- package/dist/internal/config-runtime.mjs +51 -80
- package/dist/internal/docs-precompiled-runtime.cjs +24 -18
- package/dist/internal/docs-precompiled-runtime.mjs +20 -14
- package/dist/internal/infra-analytics-runtime.cjs +8 -22
- package/dist/internal/infra-analytics-runtime.mjs +6 -20
- package/dist/internal/isolated-boundary.cjs +4 -5
- package/dist/internal/isolated-boundary.mjs +3 -4
- package/dist/internal/metadata-image-runtime.cjs +7 -8
- package/dist/internal/metadata-image-runtime.mjs +6 -7
- package/dist/internal/product-telemetry-runtime.cjs +17 -5
- package/dist/internal/product-telemetry-runtime.mjs +15 -3
- package/dist/internal/production-node-env.cjs +3 -7
- package/dist/internal/production-node-env.mjs +2 -6
- package/dist/internal/production-runtime.cjs +90 -172
- package/dist/internal/production-runtime.mjs +114 -196
- package/dist/internal/request-cookies.cjs +3 -3
- package/dist/internal/request-cookies.mjs +2 -2
- package/dist/internal/server-tree.cjs +4 -7
- package/dist/internal/server-tree.mjs +5 -8
- package/dist/json-ld.cjs +16 -3
- package/dist/json-ld.mjs +16 -3
- package/dist/layers-UTB43B7A.mjs +18 -0
- package/dist/layers-VUWIOFEO.cjs +18 -0
- package/dist/manager-RT733VRK.mjs +14 -0
- package/dist/manager-XZ5TX7AO.cjs +14 -0
- package/dist/markdown.cjs +12 -19
- package/dist/markdown.mjs +11 -18
- package/dist/middleware.cjs +26 -34
- package/dist/middleware.mjs +30 -38
- package/dist/navigation.cjs +21 -22
- package/dist/navigation.mjs +20 -21
- package/dist/nitro-7F65EZZS.cjs +653 -0
- package/dist/nitro-MPZJGPXK.mjs +653 -0
- package/dist/node-module-bundle-L5L7JCZ4.mjs +11 -0
- package/dist/node-module-bundle-VAFZOXMJ.cjs +11 -0
- package/dist/observability.cjs +3 -3
- package/dist/observability.mjs +2 -2
- package/dist/og.cjs +1 -1
- package/dist/og.mjs +1 -1
- package/dist/plugin.cjs +124 -153
- package/dist/plugin.mjs +107 -136
- package/dist/query/client.cjs +69 -59
- package/dist/query/client.mjs +61 -51
- package/dist/query/index.cjs +4 -4
- package/dist/query/index.mjs +3 -3
- package/dist/query/parsers.cjs +3 -3
- package/dist/query/parsers.mjs +2 -2
- package/dist/query/server.cjs +11 -5
- package/dist/query/server.mjs +9 -3
- package/dist/renderer/react/client.cjs +1 -1
- package/dist/renderer/react/client.mjs +1 -1
- package/dist/renderer/react/server.cjs +14 -10
- package/dist/renderer/react/server.mjs +16 -12
- package/dist/renderer/react/vite.cjs +4 -1
- package/dist/renderer/react/vite.mjs +4 -1
- package/dist/renderer-client.cjs +77 -71
- package/dist/renderer-client.mjs +57 -51
- package/dist/renderer.cjs +3 -3
- package/dist/renderer.mjs +2 -2
- package/dist/request.cjs +4 -4
- package/dist/request.mjs +3 -3
- package/dist/router.cjs +5 -5
- package/dist/router.mjs +4 -4
- package/dist/routes.cjs +12 -14
- package/dist/routes.mjs +11 -13
- package/dist/schema-dev-notice-O67CPXJ6.mjs +56 -0
- package/dist/schema-dev-notice-Y7MQEFGN.cjs +56 -0
- package/dist/schema.cjs +3 -3
- package/dist/schema.mjs +2 -2
- package/dist/search-client-G3RICOFU.cjs +13 -0
- package/dist/search-client-KR7YRIVR.mjs +13 -0
- package/dist/server-action-security.cjs +7 -8
- package/dist/server-action-security.mjs +6 -7
- package/dist/server-fn-client.cjs +4 -4
- package/dist/server-fn-client.mjs +3 -3
- package/dist/server-fn.cjs +14 -15
- package/dist/server-fn.mjs +13 -14
- package/dist/server-plugins.cjs +15 -15
- package/dist/server-plugins.mjs +14 -14
- package/dist/server-query-client.cjs +8 -9
- package/dist/server-query-client.mjs +7 -8
- package/dist/server-query.cjs +16 -17
- package/dist/server-query.mjs +15 -16
- package/dist/server.cjs +199 -265
- package/dist/server.mjs +172 -238
- package/dist/storage.cjs +3 -7
- package/dist/storage.mjs +2 -6
- package/dist/testing.cjs +76 -59
- package/dist/testing.mjs +66 -49
- package/dist/theme/client.cjs +5 -5
- package/dist/theme/client.mjs +4 -4
- package/dist/theme/index.cjs +3 -3
- package/dist/theme/index.mjs +2 -2
- package/dist/theme/runtime.cjs +3 -3
- package/dist/theme/runtime.mjs +2 -2
- package/dist/theme/server.cjs +8 -8
- package/dist/theme/server.mjs +7 -7
- package/dist/version.cjs +3 -3
- package/dist/version.mjs +2 -2
- package/dist/vite.cjs +121 -166
- package/dist/vite.mjs +107 -152
- package/dist/workflows.cjs +13 -14
- package/dist/workflows.mjs +12 -13
- package/package.json +6 -1
- package/dist/after.d.mts +0 -25
- package/dist/after.d.ts +0 -25
- package/dist/agent-mcp-handler-7QMX2LUY.mjs +0 -18
- package/dist/agent-mcp-handler-OV4WRFBL.cjs +0 -18
- package/dist/agent-mcp.d-C-2S9bnP.d.mts +0 -115
- package/dist/agent-mcp.d-SIoCUP1I.d.ts +0 -115
- package/dist/agent-runtime.d.mts +0 -105
- package/dist/agent-runtime.d.ts +0 -105
- package/dist/analyzer-22BEYV7S.mjs +0 -1229
- package/dist/analyzer-LCSI3NSH.cjs +0 -1229
- package/dist/api/client.d.mts +0 -5
- package/dist/api/client.d.ts +0 -5
- package/dist/api/client.native.cjs +0 -45
- package/dist/api/client.native.d.mts +0 -23
- package/dist/api/client.native.d.ts +0 -23
- package/dist/api/client.native.mjs +0 -45
- package/dist/api/route-manager.d.mts +0 -119
- package/dist/api/route-manager.d.ts +0 -119
- package/dist/api/runtime.d.mts +0 -35
- package/dist/api/runtime.d.ts +0 -35
- package/dist/api-client.d-BNLXNCXJ.d.mts +0 -622
- package/dist/api-client.d-ddQBNGtu.d.ts +0 -622
- package/dist/api.d.mts +0 -103
- package/dist/api.d.ts +0 -103
- package/dist/app-manifest.d-DrSAHskY.d.mts +0 -120
- package/dist/app-manifest.d-Tb3CJpL4.d.ts +0 -120
- package/dist/app-markdown.d.mts +0 -48
- package/dist/app-markdown.d.ts +0 -48
- package/dist/app.d-CmWlYpZJ.d.ts +0 -569
- package/dist/app.d-D6QQM_kk.d.mts +0 -569
- package/dist/base-path.d-BOUV5ozD.d.mts +0 -10
- package/dist/base-path.d-BOUV5ozD.d.ts +0 -10
- package/dist/cache.d.mts +0 -333
- package/dist/cache.d.ts +0 -333
- package/dist/chunk-22W4FNTG.mjs +0 -538
- package/dist/chunk-23LVFSID.mjs +0 -182
- package/dist/chunk-25T5VXOE.mjs +0 -1093
- package/dist/chunk-2DA7CLY7.mjs +0 -560
- package/dist/chunk-2DLGV2ZG.mjs +0 -71
- package/dist/chunk-2FRLSDBT.cjs +0 -9
- package/dist/chunk-2HW5LWAH.cjs +0 -19
- package/dist/chunk-2I6PUKWJ.mjs +0 -44
- package/dist/chunk-2IAPKPEB.cjs +0 -368
- package/dist/chunk-2KMIJDY6.cjs +0 -20
- package/dist/chunk-2KTYMMWT.mjs +0 -1980
- package/dist/chunk-2NGZFOKG.mjs +0 -190
- package/dist/chunk-2OF5RPVU.cjs +0 -44
- package/dist/chunk-2WZTGPK6.mjs +0 -65
- package/dist/chunk-2XGBJSDV.cjs +0 -408
- package/dist/chunk-37PYUEK5.mjs +0 -533
- package/dist/chunk-3BIASUGR.cjs +0 -59
- package/dist/chunk-3EEET2Q5.cjs +0 -1044
- package/dist/chunk-3EIPOTZV.cjs +0 -272
- package/dist/chunk-3HLQTOVU.cjs +0 -6
- package/dist/chunk-3OJNNCDL.cjs +0 -2250
- package/dist/chunk-3OWVWZ6R.cjs +0 -60
- package/dist/chunk-3PX4AIXO.mjs +0 -437
- package/dist/chunk-3TL3AH25.cjs +0 -1035
- package/dist/chunk-3YMLUNL2.cjs +0 -251
- package/dist/chunk-46P5KNTE.mjs +0 -8
- package/dist/chunk-47JV57DA.cjs +0 -69
- package/dist/chunk-4BS3HSY7.cjs +0 -541
- package/dist/chunk-4DCWVSL2.cjs +0 -15
- package/dist/chunk-4JTQPOKO.cjs +0 -137
- package/dist/chunk-4MU4QCX4.mjs +0 -158
- package/dist/chunk-4P23B7DU.cjs +0 -433
- package/dist/chunk-4ZJ5C7UJ.cjs +0 -75
- package/dist/chunk-52Y3C3HG.mjs +0 -421
- package/dist/chunk-53EHWHT2.cjs +0 -166
- package/dist/chunk-55U5QIXQ.mjs +0 -35
- package/dist/chunk-5A77OEIG.cjs +0 -778
- package/dist/chunk-5C7XMKQ4.cjs +0 -410
- package/dist/chunk-5DX3O6TT.cjs +0 -266
- package/dist/chunk-5J45H65F.mjs +0 -48
- package/dist/chunk-5JNUYGNF.cjs +0 -1980
- package/dist/chunk-5OJVKXFV.cjs +0 -2072
- package/dist/chunk-5PZJ63PK.mjs +0 -17
- package/dist/chunk-5Y2P454O.cjs +0 -421
- package/dist/chunk-5Y4GYKKH.mjs +0 -13
- package/dist/chunk-5YPBFMBN.cjs +0 -19
- package/dist/chunk-65Y5SIBH.cjs +0 -112
- package/dist/chunk-6BJJYOFL.cjs +0 -293
- package/dist/chunk-6BLAY2VQ.mjs +0 -45
- package/dist/chunk-6CTFVBAT.cjs +0 -29
- package/dist/chunk-6FXBJPF5.cjs +0 -35
- package/dist/chunk-6HRAK7I5.mjs +0 -215
- package/dist/chunk-6IOZPJ3I.cjs +0 -549
- package/dist/chunk-6JHZPB52.cjs +0 -538
- package/dist/chunk-6UUH4N4J.mjs +0 -251
- package/dist/chunk-6XQSPIN6.cjs +0 -155
- package/dist/chunk-6YFC3ZFX.mjs +0 -449
- package/dist/chunk-6ZFRWRHO.mjs +0 -54
- package/dist/chunk-724WT3NI.mjs +0 -83
- package/dist/chunk-72KABRWN.mjs +0 -2072
- package/dist/chunk-72KCTHLV.cjs +0 -723
- package/dist/chunk-75XSZIRE.mjs +0 -180
- package/dist/chunk-7EPYN7GW.cjs +0 -30
- package/dist/chunk-7H45IJWO.mjs +0 -2250
- package/dist/chunk-7H4SVNC4.cjs +0 -700
- package/dist/chunk-7JUIK547.cjs +0 -62
- package/dist/chunk-7KJJ4SBS.cjs +0 -13
- package/dist/chunk-7PTISZSQ.cjs +0 -176
- package/dist/chunk-7PZVXMWG.mjs +0 -113
- package/dist/chunk-7S7AAK2D.mjs +0 -82
- package/dist/chunk-A25FXJ7D.cjs +0 -38
- package/dist/chunk-A2MN5PQJ.mjs +0 -527
- package/dist/chunk-A4PWGL46.mjs +0 -141
- package/dist/chunk-A5BJKSZE.cjs +0 -657
- package/dist/chunk-AER5I65K.mjs +0 -368
- package/dist/chunk-ALEUMLJN.mjs +0 -190
- package/dist/chunk-ANHZ6SUL.mjs +0 -657
- package/dist/chunk-AOKXITZ6.cjs +0 -16
- package/dist/chunk-AQLHD6HZ.cjs +0 -196
- package/dist/chunk-ATYTLVSI.cjs +0 -45
- package/dist/chunk-AY2YD5ZX.mjs +0 -34
- package/dist/chunk-AYP2YFVN.mjs +0 -168
- package/dist/chunk-AZQXXXDX.mjs +0 -80
- package/dist/chunk-B4CWYGCG.mjs +0 -541
- package/dist/chunk-BBPDJGCU.cjs +0 -157
- package/dist/chunk-BHJAYPYU.mjs +0 -387
- package/dist/chunk-BMQAPZXD.mjs +0 -31
- package/dist/chunk-BNH53KOT.cjs +0 -69
- package/dist/chunk-BPAXGCKX.mjs +0 -166
- package/dist/chunk-BPNOYILC.cjs +0 -450
- package/dist/chunk-BQWBHWEW.mjs +0 -252
- package/dist/chunk-BRWIVOV4.cjs +0 -48
- package/dist/chunk-BRYPZIMB.mjs +0 -6
- package/dist/chunk-BTZ5O6VM.cjs +0 -14
- package/dist/chunk-BUC3FDYC.cjs +0 -158
- package/dist/chunk-C64XOPBZ.mjs +0 -380
- package/dist/chunk-C7GJDVN4.mjs +0 -124
- package/dist/chunk-C7LCTVJ2.cjs +0 -30
- package/dist/chunk-CA7DNRHO.cjs +0 -164
- package/dist/chunk-CBKRS3M4.cjs +0 -453
- package/dist/chunk-CBOEJ5Z4.cjs +0 -1093
- package/dist/chunk-CI4UNQHO.cjs +0 -35
- package/dist/chunk-CKPTIEDX.cjs +0 -12
- package/dist/chunk-CL2ONP73.cjs +0 -180
- package/dist/chunk-CNNBFGL5.cjs +0 -252
- package/dist/chunk-CO6UYM2D.mjs +0 -172
- package/dist/chunk-CQL5ZGFU.cjs +0 -50
- package/dist/chunk-CSLUBKGG.mjs +0 -44
- package/dist/chunk-CU5SYTJG.mjs +0 -23
- package/dist/chunk-CV6MFQ4Y.mjs +0 -259
- package/dist/chunk-D22BUQKW.cjs +0 -82
- package/dist/chunk-D2LCAV6L.mjs +0 -79
- package/dist/chunk-D2X5MUF5.cjs +0 -1457
- package/dist/chunk-D4MRNBVF.cjs +0 -1462
- package/dist/chunk-D4XGKF67.cjs +0 -127
- package/dist/chunk-D7LTCK3U.mjs +0 -224
- package/dist/chunk-D7Y63SOY.mjs +0 -15
- package/dist/chunk-DMAP4RND.cjs +0 -998
- package/dist/chunk-DPJ66FSI.cjs +0 -491
- package/dist/chunk-DQJ2CIH7.cjs +0 -87
- package/dist/chunk-DU4VHHPJ.mjs +0 -157
- package/dist/chunk-DUIP64BF.cjs +0 -16
- package/dist/chunk-DV52ZS53.cjs +0 -40
- package/dist/chunk-DXUXQP2T.cjs +0 -142
- package/dist/chunk-DZPR2W6U.cjs +0 -593
- package/dist/chunk-DZZHTMWM.cjs +0 -190
- package/dist/chunk-E552H232.cjs +0 -154
- package/dist/chunk-E72UD6ME.mjs +0 -277
- package/dist/chunk-E7QOEV5Z.cjs +0 -449
- package/dist/chunk-EDPENAVO.mjs +0 -266
- package/dist/chunk-EFLNOZGH.mjs +0 -30
- package/dist/chunk-EFZGB7JC.cjs +0 -114
- package/dist/chunk-EGHPFXPZ.cjs +0 -590
- package/dist/chunk-EGVC4LIG.mjs +0 -697
- package/dist/chunk-EJCVG25Z.mjs +0 -49
- package/dist/chunk-EMDGXYUD.mjs +0 -75
- package/dist/chunk-EOXPRC2C.cjs +0 -48
- package/dist/chunk-ERMUL73L.cjs +0 -39
- package/dist/chunk-ES2LD2YD.mjs +0 -203
- package/dist/chunk-EV4SBMPX.mjs +0 -208
- package/dist/chunk-EVIWKPJV.cjs +0 -560
- package/dist/chunk-EVMXPJCB.mjs +0 -133
- package/dist/chunk-EX6ZSN5P.cjs +0 -224
- package/dist/chunk-EXUONJYV.mjs +0 -588
- package/dist/chunk-EZ34EHQP.mjs +0 -462
- package/dist/chunk-EZTKXD6P.cjs +0 -182
- package/dist/chunk-F3N52U7S.mjs +0 -138
- package/dist/chunk-F6Y7ZAPQ.mjs +0 -713
- package/dist/chunk-FBEBSAVI.cjs +0 -225
- package/dist/chunk-FEFCISOX.cjs +0 -102
- package/dist/chunk-FHURJABM.mjs +0 -45
- package/dist/chunk-FK25QSVC.cjs +0 -386
- package/dist/chunk-FN5UEC7I.mjs +0 -55
- package/dist/chunk-FORSVMEJ.mjs +0 -433
- package/dist/chunk-FSQMN2MQ.mjs +0 -386
- package/dist/chunk-FSXSQQTV.mjs +0 -79
- package/dist/chunk-GBMWLDCC.cjs +0 -138
- package/dist/chunk-GFT5AHAT.mjs +0 -423
- package/dist/chunk-GHNW564E.mjs +0 -1044
- package/dist/chunk-GL3ZDHKI.mjs +0 -274
- package/dist/chunk-GLOICKDO.mjs +0 -142
- package/dist/chunk-GNZIAJGB.mjs +0 -358
- package/dist/chunk-GSVJ3IIF.cjs +0 -173
- package/dist/chunk-GUZC226X.mjs +0 -164
- package/dist/chunk-GWXZS7K5.mjs +0 -24
- package/dist/chunk-GYMGK467.mjs +0 -214
- package/dist/chunk-H227LYHT.mjs +0 -88
- package/dist/chunk-H3ASZDT7.mjs +0 -42
- package/dist/chunk-H4WUWLQR.mjs +0 -16
- package/dist/chunk-HA7YRO53.cjs +0 -214
- package/dist/chunk-HASX6DC7.cjs +0 -150
- package/dist/chunk-HEPJIKKQ.cjs +0 -190
- package/dist/chunk-HLYRXN2I.cjs +0 -242
- package/dist/chunk-HNAISJFD.cjs +0 -215
- package/dist/chunk-HPP2II4Z.mjs +0 -332
- package/dist/chunk-HPWB57PZ.mjs +0 -9
- package/dist/chunk-HXNLKCWH.cjs +0 -13
- package/dist/chunk-HZOMT5DY.mjs +0 -30
- package/dist/chunk-I2BYNELA.cjs +0 -380
- package/dist/chunk-IAPTECEB.mjs +0 -48
- package/dist/chunk-IFHPDLIS.mjs +0 -1964
- package/dist/chunk-IFTGERT3.mjs +0 -408
- package/dist/chunk-IFXSBJPN.cjs +0 -713
- package/dist/chunk-IGL6CO6M.mjs +0 -9
- package/dist/chunk-ILMTRGBG.mjs +0 -6488
- package/dist/chunk-ITV4QQL2.cjs +0 -93
- package/dist/chunk-IYEY3JWJ.mjs +0 -186
- package/dist/chunk-JBK7UJOI.cjs +0 -156
- package/dist/chunk-JGAE5XPL.cjs +0 -26
- package/dist/chunk-JI5D7MXY.mjs +0 -137
- package/dist/chunk-JIBEFLQ7.cjs +0 -44
- package/dist/chunk-JMYXO572.cjs +0 -531
- package/dist/chunk-JNYFXL7X.mjs +0 -62
- package/dist/chunk-JPIUGDK4.mjs +0 -651
- package/dist/chunk-JRHGJVJH.mjs +0 -44
- package/dist/chunk-JSDV2NUN.mjs +0 -206
- package/dist/chunk-JXIYH2NO.cjs +0 -24
- package/dist/chunk-JYNNIGQO.cjs +0 -87
- package/dist/chunk-JYT7AN37.cjs +0 -79
- package/dist/chunk-K3RU5MOR.mjs +0 -80
- package/dist/chunk-K5EW7GUU.mjs +0 -417
- package/dist/chunk-K76CBYQM.mjs +0 -157
- package/dist/chunk-KBGZ5FD6.cjs +0 -17
- package/dist/chunk-KORZ6PRE.cjs +0 -64
- package/dist/chunk-KPAJWD3N.mjs +0 -168
- package/dist/chunk-KPOMS5RO.cjs +0 -237
- package/dist/chunk-KQH2COEJ.mjs +0 -42
- package/dist/chunk-KVW2M6PI.mjs +0 -341
- package/dist/chunk-L5JDKFMQ.cjs +0 -44
- package/dist/chunk-LB3DPQP6.cjs +0 -588
- package/dist/chunk-LIFUPCXW.cjs +0 -423
- package/dist/chunk-LJVNMGE3.mjs +0 -1035
- package/dist/chunk-LLZSYFOM.mjs +0 -6
- package/dist/chunk-LM55GS4R.mjs +0 -38
- package/dist/chunk-LNVGXUL3.cjs +0 -172
- package/dist/chunk-LQNW3ABP.cjs +0 -527
- package/dist/chunk-LRB5OVRT.cjs +0 -124
- package/dist/chunk-LSHX2H5G.cjs +0 -57
- package/dist/chunk-LT4VAF5Z.cjs +0 -1359
- package/dist/chunk-M25IONJP.mjs +0 -16
- package/dist/chunk-M53MIIXY.mjs +0 -172
- package/dist/chunk-MEQN6DDA.cjs +0 -341
- package/dist/chunk-MF3IA2AW.cjs +0 -25
- package/dist/chunk-MFQGU5CC.mjs +0 -127
- package/dist/chunk-MGKW5XZE.cjs +0 -40
- package/dist/chunk-MHLNWRCJ.cjs +0 -36
- package/dist/chunk-MMK4MZUN.mjs +0 -36
- package/dist/chunk-MNIR7I7B.mjs +0 -217
- package/dist/chunk-MPU5DOXX.cjs +0 -21
- package/dist/chunk-MTWXOEI4.cjs +0 -12683
- package/dist/chunk-MU5V7XHL.mjs +0 -172
- package/dist/chunk-N33DLJBC.mjs +0 -272
- package/dist/chunk-N35YPV4N.mjs +0 -48
- package/dist/chunk-N4AQNEXR.cjs +0 -17
- package/dist/chunk-N7XWC6BN.mjs +0 -21
- package/dist/chunk-NBIVGHAT.mjs +0 -50
- package/dist/chunk-NCIAP562.mjs +0 -27
- package/dist/chunk-NHD7BAKD.mjs +0 -1457
- package/dist/chunk-NK2VWS7P.cjs +0 -954
- package/dist/chunk-NQJDO7K7.cjs +0 -1010
- package/dist/chunk-NR63PD3P.mjs +0 -64
- package/dist/chunk-NRNAHZ57.mjs +0 -39
- package/dist/chunk-NWUHS6GV.cjs +0 -79
- package/dist/chunk-O27PLNQZ.cjs +0 -878
- package/dist/chunk-O4F3JUST.mjs +0 -176
- package/dist/chunk-OAJOQU5J.mjs +0 -225
- package/dist/chunk-OCS3PSYR.cjs +0 -51
- package/dist/chunk-OHWM2VI4.mjs +0 -29
- package/dist/chunk-OJO2GOM3.mjs +0 -69
- package/dist/chunk-OLGQZRW6.mjs +0 -700
- package/dist/chunk-OM7WILES.mjs +0 -100
- package/dist/chunk-ONG4RDW3.mjs +0 -155
- package/dist/chunk-OOJBBHYW.cjs +0 -38
- package/dist/chunk-OOZEU5KK.cjs +0 -18
- package/dist/chunk-OWQV6MLM.cjs +0 -82
- package/dist/chunk-OY5XDG24.cjs +0 -113
- package/dist/chunk-OYZXVBZP.cjs +0 -133
- package/dist/chunk-OZC2JPW6.cjs +0 -10
- package/dist/chunk-OZK2DS44.mjs +0 -203
- package/dist/chunk-P2355C6E.cjs +0 -186
- package/dist/chunk-PAKCHVUS.mjs +0 -450
- package/dist/chunk-PCXIJKPM.mjs +0 -878
- package/dist/chunk-PENBZAHJ.cjs +0 -88
- package/dist/chunk-PIUTGRDI.cjs +0 -358
- package/dist/chunk-PMJSG4JS.cjs +0 -152
- package/dist/chunk-PO5MXV5X.cjs +0 -13
- package/dist/chunk-PRFNLQSP.cjs +0 -277
- package/dist/chunk-PSUYE5HR.mjs +0 -25
- package/dist/chunk-PTLXHRJZ.mjs +0 -57
- package/dist/chunk-PZXYAWYG.cjs +0 -274
- package/dist/chunk-Q5B4LNON.mjs +0 -19
- package/dist/chunk-QAS7KE7J.cjs +0 -169
- package/dist/chunk-QGJ4FI2G.mjs +0 -723
- package/dist/chunk-QGOZLGVP.mjs +0 -0
- package/dist/chunk-QISW423S.cjs +0 -335
- package/dist/chunk-QMDU6QHN.mjs +0 -778
- package/dist/chunk-QMNWKQL4.cjs +0 -206
- package/dist/chunk-QOSDWGKT.mjs +0 -109
- package/dist/chunk-QPJ4MZTO.mjs +0 -60
- package/dist/chunk-QPNVDSFZ.mjs +0 -18
- package/dist/chunk-QQ44FYRO.cjs +0 -27
- package/dist/chunk-QRX4JRBO.cjs +0 -651
- package/dist/chunk-QSTRBKHZ.mjs +0 -102
- package/dist/chunk-R53QDV6T.cjs +0 -100
- package/dist/chunk-R5U7OIPI.cjs +0 -34
- package/dist/chunk-R62SF5R4.mjs +0 -410
- package/dist/chunk-RAWWCDCT.cjs +0 -697
- package/dist/chunk-RD623KW4.cjs +0 -203
- package/dist/chunk-RFKTJTWZ.mjs +0 -26
- package/dist/chunk-RI3EVPKD.cjs +0 -57
- package/dist/chunk-RLEALQEN.mjs +0 -998
- package/dist/chunk-RPUJHJHE.mjs +0 -453
- package/dist/chunk-RSEAX5MW.mjs +0 -44
- package/dist/chunk-RVGLYMJM.cjs +0 -259
- package/dist/chunk-S32PDOLO.mjs +0 -13
- package/dist/chunk-S6O2L47H.mjs +0 -549
- package/dist/chunk-SBDWCDS6.cjs +0 -8
- package/dist/chunk-SF3JB56B.mjs +0 -82
- package/dist/chunk-SG57PX7K.cjs +0 -65
- package/dist/chunk-SGBNF56S.cjs +0 -44
- package/dist/chunk-SHD265HW.cjs +0 -19
- package/dist/chunk-SHIWRBFI.cjs +0 -17
- package/dist/chunk-SJRCWF4Z.mjs +0 -237
- package/dist/chunk-SM2SYWAR.cjs +0 -49
- package/dist/chunk-SMUW7UST.mjs +0 -196
- package/dist/chunk-SNP33A33.cjs +0 -9
- package/dist/chunk-STF6VDYQ.cjs +0 -23
- package/dist/chunk-SUCDVKUB.cjs +0 -42
- package/dist/chunk-SVCUSOEF.mjs +0 -590
- package/dist/chunk-SX7EECTS.mjs +0 -156
- package/dist/chunk-SXCL2MIN.cjs +0 -208
- package/dist/chunk-SYW346ZN.cjs +0 -71
- package/dist/chunk-T4EW7AAD.mjs +0 -150
- package/dist/chunk-T4TBK5NY.mjs +0 -593
- package/dist/chunk-T7I62A4C.mjs +0 -12680
- package/dist/chunk-TGSEVBPO.mjs +0 -93
- package/dist/chunk-TJVUTGED.mjs +0 -531
- package/dist/chunk-TUOO6IK3.mjs +0 -87
- package/dist/chunk-TUPKMMXT.mjs +0 -173
- package/dist/chunk-TVCFY3KK.cjs +0 -217
- package/dist/chunk-U4BJKNIR.cjs +0 -224
- package/dist/chunk-UAQD67HM.mjs +0 -154
- package/dist/chunk-UB7RVEMX.mjs +0 -73
- package/dist/chunk-UDJY2ZGY.cjs +0 -6488
- package/dist/chunk-UIJOLBUL.mjs +0 -19
- package/dist/chunk-UNJZGVPU.cjs +0 -6
- package/dist/chunk-UPYIFH2H.cjs +0 -168
- package/dist/chunk-UR25Z5Z6.mjs +0 -135
- package/dist/chunk-UUMKLGUU.mjs +0 -69
- package/dist/chunk-UYSTTPYJ.cjs +0 -9277
- package/dist/chunk-UYTAP4FQ.cjs +0 -60
- package/dist/chunk-UZCMMJJT.cjs +0 -80
- package/dist/chunk-UZZ6IEQP.mjs +0 -169
- package/dist/chunk-V3UOEWCB.cjs +0 -46
- package/dist/chunk-V56632LA.cjs +0 -141
- package/dist/chunk-VE3FWJBO.mjs +0 -46
- package/dist/chunk-VFXE6NWR.mjs +0 -87
- package/dist/chunk-VGG74PSU.cjs +0 -712
- package/dist/chunk-VHIXGZYH.mjs +0 -9
- package/dist/chunk-VISQDC6W.mjs +0 -10
- package/dist/chunk-VIXTAVEA.mjs +0 -59
- package/dist/chunk-VM57CK74.cjs +0 -42
- package/dist/chunk-VOQ7XZZT.cjs +0 -157
- package/dist/chunk-VPTWKOCY.mjs +0 -1010
- package/dist/chunk-VQJHT2ND.mjs +0 -40
- package/dist/chunk-VR6QLTTX.mjs +0 -59
- package/dist/chunk-VU3MYZPO.mjs +0 -432
- package/dist/chunk-VVTJTMGQ.cjs +0 -135
- package/dist/chunk-VXCFJWK5.cjs +0 -59
- package/dist/chunk-VZY7MAVS.cjs +0 -432
- package/dist/chunk-W2RZ73IU.cjs +0 -387
- package/dist/chunk-W2ZXMMHA.mjs +0 -1462
- package/dist/chunk-W6QLRQ3V.mjs +0 -152
- package/dist/chunk-WCLLPR6H.mjs +0 -35
- package/dist/chunk-WEGAVN37.cjs +0 -45
- package/dist/chunk-WFVSAT7Y.cjs +0 -83
- package/dist/chunk-WNDAISB7.mjs +0 -51
- package/dist/chunk-WNLPQW7W.mjs +0 -19
- package/dist/chunk-WT6RAN2I.cjs +0 -41
- package/dist/chunk-WXFY5JIY.mjs +0 -20
- package/dist/chunk-WYL4ODZ4.mjs +0 -38
- package/dist/chunk-X2CZTWQA.mjs +0 -712
- package/dist/chunk-X333W5KV.cjs +0 -31
- package/dist/chunk-X3EFRVXY.mjs +0 -12
- package/dist/chunk-X3XUZWRB.mjs +0 -141
- package/dist/chunk-XGJVRPYL.cjs +0 -141
- package/dist/chunk-XMHERKSE.mjs +0 -224
- package/dist/chunk-XPIPMWY3.cjs +0 -1
- package/dist/chunk-XQ4DPO4G.mjs +0 -13
- package/dist/chunk-XQSYOVCW.cjs +0 -417
- package/dist/chunk-XR2ZIBQK.mjs +0 -57
- package/dist/chunk-XTG73QZA.cjs +0 -533
- package/dist/chunk-XURDCXNH.cjs +0 -48
- package/dist/chunk-XVSBALOY.cjs +0 -55
- package/dist/chunk-Y3WG64CP.cjs +0 -9
- package/dist/chunk-Y6FXYEAI.mjs +0 -10
- package/dist/chunk-Y7NN63LS.mjs +0 -40
- package/dist/chunk-YB44NKC2.cjs +0 -203
- package/dist/chunk-YDXLC4DW.cjs +0 -54
- package/dist/chunk-YI6FKTTN.cjs +0 -437
- package/dist/chunk-YIHRZBD7.cjs +0 -172
- package/dist/chunk-YKHRCY4T.cjs +0 -73
- package/dist/chunk-YP7YO3S3.mjs +0 -17
- package/dist/chunk-YSXTNSXS.mjs +0 -1359
- package/dist/chunk-YT3SLLZK.mjs +0 -242
- package/dist/chunk-YTVSWXEZ.cjs +0 -168
- package/dist/chunk-YWPNIYUP.mjs +0 -41
- package/dist/chunk-YX6AFPXC.mjs +0 -8
- package/dist/chunk-Z5A6CNV2.mjs +0 -60
- package/dist/chunk-Z64V4WZI.mjs +0 -17
- package/dist/chunk-ZDAEHG2O.cjs +0 -80
- package/dist/chunk-ZFUKPWFC.mjs +0 -9274
- package/dist/chunk-ZMHAFH4R.mjs +0 -491
- package/dist/chunk-ZNH6NR3H.cjs +0 -462
- package/dist/chunk-ZNXTU4YH.mjs +0 -114
- package/dist/chunk-ZOYKJBP5.cjs +0 -172
- package/dist/chunk-ZP32GNJQ.cjs +0 -1964
- package/dist/chunk-ZQ5BDNKW.mjs +0 -954
- package/dist/chunk-ZXK2EYQW.cjs +0 -8
- package/dist/chunk-ZZ2QKCKW.mjs +0 -293
- package/dist/chunk-recovery.d-lnQFzcQP.d.mts +0 -26
- package/dist/chunk-recovery.d-lnQFzcQP.d.ts +0 -26
- package/dist/client/lifecycle.d.mts +0 -1
- package/dist/client/lifecycle.d.ts +0 -1
- package/dist/client-cache.d-Deoqq-nM.d.ts +0 -76
- package/dist/client-cache.d-di_Nasxa.d.mts +0 -76
- package/dist/client-plugins.d-CgQQ-EAv.d.mts +0 -4009
- package/dist/client-plugins.d-vXrbcfJ1.d.ts +0 -4009
- package/dist/client-plugins.d.mts +0 -33
- package/dist/client-plugins.d.ts +0 -33
- package/dist/client.d.mts +0 -452
- package/dist/client.d.ts +0 -452
- package/dist/client.react-server.mjs +0 -2
- package/dist/config.d-DqZkLwef.d.mts +0 -337
- package/dist/config.d-DqZkLwef.d.ts +0 -337
- package/dist/config.d.mts +0 -40
- package/dist/config.d.ts +0 -40
- package/dist/cron.d.mts +0 -88
- package/dist/cron.d.ts +0 -88
- package/dist/deferred.d.mts +0 -44
- package/dist/deferred.d.ts +0 -44
- package/dist/deployment.d.mts +0 -36
- package/dist/deployment.d.ts +0 -36
- package/dist/desktop.cjs +0 -13
- package/dist/desktop.d.mts +0 -120
- package/dist/desktop.d.ts +0 -120
- package/dist/desktop.mjs +0 -13
- package/dist/dev-guard-2UW2KERP.cjs +0 -59
- package/dist/dev-guard-ONNMVQUN.mjs +0 -59
- package/dist/devtools-KQZ6SRCJ.mjs +0 -463
- package/dist/devtools-UF6JYHUN.cjs +0 -463
- package/dist/devtools-client-SU4XH46J.mjs +0 -250
- package/dist/devtools-client-X5OQCXDF.cjs +0 -250
- package/dist/devtools-ui-CYBVFLPH.mjs +0 -1265
- package/dist/devtools-ui-SYRUXUA7.cjs +0 -1265
- package/dist/docs.d.mts +0 -169
- package/dist/docs.d.ts +0 -169
- package/dist/endpoint.d-BgHn0lhl.d.ts +0 -370
- package/dist/endpoint.d-BkMSCRf6.d.mts +0 -370
- package/dist/env-types.d.mts +0 -12
- package/dist/env-types.d.ts +0 -12
- package/dist/env.d.mts +0 -65
- package/dist/env.d.ts +0 -65
- package/dist/environment/vite.d.mts +0 -31
- package/dist/environment/vite.d.ts +0 -31
- package/dist/environment.d.mts +0 -18
- package/dist/environment.d.ts +0 -18
- package/dist/font.d.mts +0 -95
- package/dist/font.d.ts +0 -95
- package/dist/generate-route-types.d-BL2pq6xC.d.ts +0 -33
- package/dist/generate-route-types.d-BoVDU8qX.d.mts +0 -33
- package/dist/headers.d.mts +0 -32
- package/dist/headers.d.ts +0 -32
- package/dist/i18n/client.d.mts +0 -32
- package/dist/i18n/client.d.ts +0 -32
- package/dist/i18n/index.d.mts +0 -3
- package/dist/i18n/index.d.ts +0 -3
- package/dist/i18n/server.d.mts +0 -30
- package/dist/i18n/server.d.ts +0 -30
- package/dist/image/server.d.mts +0 -59
- package/dist/image/server.d.ts +0 -59
- package/dist/image/sharp.d.mts +0 -20
- package/dist/image/sharp.d.ts +0 -20
- package/dist/image-config.d-CeDgNyX4.d.mts +0 -53
- package/dist/image-config.d-CeDgNyX4.d.ts +0 -53
- package/dist/image.d.mts +0 -39
- package/dist/image.d.ts +0 -39
- package/dist/index.d-BNNDpql4.d.ts +0 -20
- package/dist/index.d-BqcfqJvt.d.mts +0 -20
- package/dist/index.d-DlCELfhf.d.ts +0 -54
- package/dist/index.d-Dmfb7Kb_.d.mts +0 -54
- package/dist/index.d.mts +0 -1053
- package/dist/index.d.ts +0 -1053
- package/dist/instrumentation-runtime.d-CX9Zh-16.d.mts +0 -22
- package/dist/instrumentation-runtime.d-CX9Zh-16.d.ts +0 -22
- package/dist/instrumentation.d.mts +0 -7
- package/dist/instrumentation.d.ts +0 -7
- package/dist/integration-orm-52GPGTHO.cjs +0 -14
- package/dist/integration-orm-CO23MSFE.mjs +0 -14
- package/dist/integrations.d.mts +0 -33
- package/dist/integrations.d.ts +0 -33
- package/dist/internal/app-markdown-runtime.d.mts +0 -86
- package/dist/internal/app-markdown-runtime.d.ts +0 -86
- package/dist/internal/build-runtime.d.mts +0 -46
- package/dist/internal/build-runtime.d.ts +0 -46
- package/dist/internal/client-error-overlay.d.mts +0 -25
- package/dist/internal/client-error-overlay.d.ts +0 -25
- package/dist/internal/client-runtime.d.mts +0 -93
- package/dist/internal/client-runtime.d.ts +0 -93
- package/dist/internal/compression-runtime.d.mts +0 -48
- package/dist/internal/compression-runtime.d.ts +0 -48
- package/dist/internal/config-runtime.d.mts +0 -336
- package/dist/internal/config-runtime.d.ts +0 -336
- package/dist/internal/desktop-guard.cjs +0 -17
- package/dist/internal/desktop-guard.d.mts +0 -52
- package/dist/internal/desktop-guard.d.ts +0 -52
- package/dist/internal/desktop-guard.mjs +0 -17
- package/dist/internal/docs-precompiled-runtime.d.mts +0 -43
- package/dist/internal/docs-precompiled-runtime.d.ts +0 -43
- package/dist/internal/form-actions-client.cjs +0 -14
- package/dist/internal/form-actions-client.d.mts +0 -5
- package/dist/internal/form-actions-client.d.ts +0 -5
- package/dist/internal/form-actions-client.mjs +0 -14
- package/dist/internal/form-actions.cjs +0 -19
- package/dist/internal/form-actions.d.mts +0 -14
- package/dist/internal/form-actions.d.ts +0 -14
- package/dist/internal/form-actions.mjs +0 -19
- package/dist/internal/infra-analytics-runtime.d.mts +0 -16
- package/dist/internal/infra-analytics-runtime.d.ts +0 -16
- package/dist/internal/island-codec.cjs +0 -22
- package/dist/internal/island-codec.d.mts +0 -29
- package/dist/internal/island-codec.d.ts +0 -29
- package/dist/internal/island-codec.mjs +0 -22
- package/dist/internal/island-value-store.cjs +0 -10
- package/dist/internal/island-value-store.d.mts +0 -6
- package/dist/internal/island-value-store.d.ts +0 -6
- package/dist/internal/island-value-store.mjs +0 -10
- package/dist/internal/islands-boot.cjs +0 -211
- package/dist/internal/islands-boot.d.mts +0 -8
- package/dist/internal/islands-boot.d.ts +0 -8
- package/dist/internal/islands-boot.mjs +0 -211
- package/dist/internal/islands-runtime.cjs +0 -161
- package/dist/internal/islands-runtime.d.mts +0 -66
- package/dist/internal/islands-runtime.d.ts +0 -66
- package/dist/internal/islands-runtime.mjs +0 -161
- package/dist/internal/islands-server.cjs +0 -16
- package/dist/internal/islands-server.d.mts +0 -3
- package/dist/internal/islands-server.d.ts +0 -3
- package/dist/internal/islands-server.mjs +0 -16
- package/dist/internal/islx-client.cjs +0 -5
- package/dist/internal/islx-client.d.mts +0 -6
- package/dist/internal/islx-client.d.ts +0 -6
- package/dist/internal/islx-client.mjs +0 -3
- package/dist/internal/islx-react.cjs +0 -4
- package/dist/internal/islx-react.d.mts +0 -1
- package/dist/internal/islx-react.d.ts +0 -1
- package/dist/internal/islx-react.mjs +0 -2
- package/dist/internal/islx-server.cjs +0 -5
- package/dist/internal/islx-server.d.mts +0 -2
- package/dist/internal/islx-server.d.ts +0 -2
- package/dist/internal/islx-server.mjs +0 -3
- package/dist/internal/isolated-boundary.d.mts +0 -66
- package/dist/internal/isolated-boundary.d.ts +0 -66
- package/dist/internal/metadata-image-runtime.d.mts +0 -30
- package/dist/internal/metadata-image-runtime.d.ts +0 -30
- package/dist/internal/product-telemetry-runtime.d.mts +0 -45
- package/dist/internal/product-telemetry-runtime.d.ts +0 -45
- package/dist/internal/production-node-env.d.mts +0 -21
- package/dist/internal/production-node-env.d.ts +0 -21
- package/dist/internal/production-runtime.d.mts +0 -539
- package/dist/internal/production-runtime.d.ts +0 -539
- package/dist/internal/request-cookies.d.mts +0 -16
- package/dist/internal/request-cookies.d.ts +0 -16
- package/dist/internal/server-fn-transform.cjs +0 -13
- package/dist/internal/server-fn-transform.d.mts +0 -24
- package/dist/internal/server-fn-transform.d.ts +0 -24
- package/dist/internal/server-fn-transform.mjs +0 -13
- package/dist/internal/server-tree.d.mts +0 -50
- package/dist/internal/server-tree.d.ts +0 -50
- package/dist/island-value-protocol.d-BRayRghM.d.mts +0 -12
- package/dist/island-value-protocol.d-BRayRghM.d.ts +0 -12
- package/dist/island.d-CfGru1MO.d.mts +0 -9
- package/dist/island.d-CfGru1MO.d.ts +0 -9
- package/dist/json-ld.d.mts +0 -94
- package/dist/json-ld.d.ts +0 -94
- package/dist/layers-DMRXRL7F.cjs +0 -18
- package/dist/layers-T55SA47E.mjs +0 -18
- package/dist/layers.d-CcS42OGR.d.mts +0 -55
- package/dist/layers.d-CcS42OGR.d.ts +0 -55
- package/dist/lifecycle.d-C2aLBOwu.d.mts +0 -176
- package/dist/lifecycle.d-C2aLBOwu.d.ts +0 -176
- package/dist/manager-2LUKNX2N.cjs +0 -14
- package/dist/manager-H5ZM3HAM.mjs +0 -14
- package/dist/markdown.d.mts +0 -33
- package/dist/markdown.d.ts +0 -33
- package/dist/middleware.d.mts +0 -225
- package/dist/middleware.d.ts +0 -225
- package/dist/mobile.cjs +0 -9
- package/dist/mobile.d.mts +0 -132
- package/dist/mobile.d.ts +0 -132
- package/dist/mobile.mjs +0 -9
- package/dist/modules-VHD7BELU.mjs +0 -13
- package/dist/modules-WT5D3AWY.cjs +0 -13
- package/dist/native-specs-BD7HOTMJ.mjs +0 -15
- package/dist/native-specs-IQQRJOOW.cjs +0 -15
- package/dist/native-tree-6G5O53O3.cjs +0 -27
- package/dist/native-tree-VWNW2MQ2.mjs +0 -27
- package/dist/native.cjs +0 -87
- package/dist/native.d.mts +0 -72
- package/dist/native.d.ts +0 -72
- package/dist/native.mjs +0 -87
- package/dist/navigation-delegate.d-CnOTWOyi.d.mts +0 -29
- package/dist/navigation-delegate.d-JXx40JzR.d.ts +0 -29
- package/dist/navigation.d.mts +0 -51
- package/dist/navigation.d.ts +0 -51
- package/dist/nitro-FLN6DRGJ.mjs +0 -650
- package/dist/nitro-HXAZZQKY.cjs +0 -650
- package/dist/node-module-bundle-7JHPPF6B.mjs +0 -11
- package/dist/node-module-bundle-YJGYBOGK.cjs +0 -11
- package/dist/observability.d-B2363jB6.d.mts +0 -448
- package/dist/observability.d-B2363jB6.d.ts +0 -448
- package/dist/observability.d.mts +0 -2
- package/dist/observability.d.ts +0 -2
- package/dist/og.d.mts +0 -1
- package/dist/og.d.ts +0 -1
- package/dist/params.d-BALtrRim.d.ts +0 -15
- package/dist/params.d-ry-lxqmy.d.mts +0 -15
- package/dist/platform.cjs +0 -29
- package/dist/platform.d.mts +0 -24
- package/dist/platform.d.ts +0 -24
- package/dist/platform.mjs +0 -29
- package/dist/plugin-53SY5YBS.mjs +0 -32
- package/dist/plugin-HZIBL3DW.cjs +0 -32
- package/dist/plugin.d.mts +0 -58
- package/dist/plugin.d.ts +0 -58
- package/dist/port-C6GBH4C6.cjs +0 -419
- package/dist/port-WOOQ3V56.mjs +0 -419
- package/dist/production-runtime.d-CP5s6RuY.d.mts +0 -123
- package/dist/production-runtime.d-N-cE3pmy.d.ts +0 -123
- package/dist/production-vite.d-BQFAlG7n.d.mts +0 -13
- package/dist/production-vite.d-BQFAlG7n.d.ts +0 -13
- package/dist/programmatic-routes-client.d-CLG2N1yH.d.ts +0 -192
- package/dist/programmatic-routes-client.d-CPbNqtIi.d.mts +0 -192
- package/dist/query/client.d.mts +0 -61
- package/dist/query/client.d.ts +0 -61
- package/dist/query/index.d.mts +0 -90
- package/dist/query/index.d.ts +0 -90
- package/dist/query/parsers.d.mts +0 -29
- package/dist/query/parsers.d.ts +0 -29
- package/dist/query/server.d.mts +0 -55
- package/dist/query/server.d.ts +0 -55
- package/dist/render-plan.d-B9lAP3uX.d.ts +0 -25
- package/dist/render-plan.d-DZ-qjjdG.d.mts +0 -25
- package/dist/renderer/react/client.d.mts +0 -3
- package/dist/renderer/react/client.d.ts +0 -3
- package/dist/renderer/react/server.d.mts +0 -48
- package/dist/renderer/react/server.d.ts +0 -48
- package/dist/renderer/react/vite.d.mts +0 -4
- package/dist/renderer/react/vite.d.ts +0 -4
- package/dist/renderer-client.d.mts +0 -126
- package/dist/renderer-client.d.ts +0 -126
- package/dist/renderer.d.mts +0 -260
- package/dist/renderer.d.ts +0 -260
- package/dist/request.d-BiicaNxb.d.ts +0 -24
- package/dist/request.d-DV0oeUit.d.mts +0 -24
- package/dist/request.d.mts +0 -34
- package/dist/request.d.ts +0 -34
- package/dist/resolver.d-BHyZgpa7.d.ts +0 -14
- package/dist/resolver.d-JnZKKsc5.d.mts +0 -14
- package/dist/response.d-BolW0Vx_.d.mts +0 -10
- package/dist/response.d-BolW0Vx_.d.ts +0 -10
- package/dist/route-pattern.d-CVsVbq5n.d.mts +0 -13
- package/dist/route-pattern.d-CVsVbq5n.d.ts +0 -13
- package/dist/route-rendering.d-BrIKA51A.d.mts +0 -44
- package/dist/route-rendering.d-Iss0C7GR.d.ts +0 -44
- package/dist/route.d-BaVH3V0w.d.mts +0 -224
- package/dist/route.d-DBTEqifW.d.ts +0 -224
- package/dist/router.d-DjGn_al7.d.ts +0 -50
- package/dist/router.d-mNTbOGV_.d.mts +0 -50
- package/dist/router.d.mts +0 -36
- package/dist/router.d.ts +0 -36
- package/dist/routes.d-BKSjHuH9.d.ts +0 -231
- package/dist/routes.d-qd8Qf4LG.d.mts +0 -231
- package/dist/routes.d.mts +0 -273
- package/dist/routes.d.ts +0 -273
- package/dist/rsc-pipeline-SVLBTY7H.cjs +0 -83
- package/dist/rsc-pipeline-WBLBDQXA.mjs +0 -83
- package/dist/runtime-DGUOWSMF.cjs +0 -1313
- package/dist/runtime-HFZTVNFF.mjs +0 -1313
- package/dist/runtime.d-3iJAKptR.d.mts +0 -28
- package/dist/runtime.d-BNVbojF1.d.mts +0 -69
- package/dist/runtime.d-Bm_4hP5T.d.ts +0 -69
- package/dist/runtime.d-BtL3PCL3.d.ts +0 -28
- package/dist/schema-dev-notice-JMXEQWIQ.mjs +0 -54
- package/dist/schema-dev-notice-PLBFDTOF.cjs +0 -54
- package/dist/schema.d.mts +0 -115
- package/dist/schema.d.ts +0 -115
- package/dist/search-client-OXH6GBNO.mjs +0 -15
- package/dist/search-client-ZZLKVO5R.cjs +0 -15
- package/dist/server-action-security.d.mts +0 -45
- package/dist/server-action-security.d.ts +0 -45
- package/dist/server-client-bridge.d-DKWDl5NB.d.mts +0 -7
- package/dist/server-client-bridge.d-DKWDl5NB.d.ts +0 -7
- package/dist/server-fn-client.d.mts +0 -60
- package/dist/server-fn-client.d.ts +0 -60
- package/dist/server-fn-error.d-DrcH9cc1.d.mts +0 -26
- package/dist/server-fn-error.d-DrcH9cc1.d.ts +0 -26
- package/dist/server-fn.d.mts +0 -192
- package/dist/server-fn.d.ts +0 -192
- package/dist/server-plugins.d.mts +0 -65
- package/dist/server-plugins.d.ts +0 -65
- package/dist/server-query-client.d.mts +0 -26
- package/dist/server-query-client.d.ts +0 -26
- package/dist/server-query-runtime.d-DXRNhX_3.d.ts +0 -36
- package/dist/server-query-runtime.d-aP52iuL5.d.mts +0 -36
- package/dist/server-query.d.mts +0 -46
- package/dist/server-query.d.ts +0 -46
- package/dist/server.d.mts +0 -78
- package/dist/server.d.ts +0 -78
- package/dist/session-2Q72D4QV.cjs +0 -23
- package/dist/session-QZXZOPR2.mjs +0 -23
- package/dist/shell-render.d-CG6bPiiA.d.mts +0 -41
- package/dist/shell-render.d-CG6bPiiA.d.ts +0 -41
- package/dist/spa-router.d-DAtnNoBe.d.ts +0 -248
- package/dist/spa-router.d-DHDoXxDE.d.mts +0 -248
- package/dist/storage.d.mts +0 -60
- package/dist/storage.d.ts +0 -60
- package/dist/testing.d.mts +0 -110
- package/dist/testing.d.ts +0 -110
- package/dist/theme/client.d.mts +0 -10
- package/dist/theme/client.d.ts +0 -10
- package/dist/theme/index.d.mts +0 -6
- package/dist/theme/index.d.ts +0 -6
- package/dist/theme/runtime.d.mts +0 -13
- package/dist/theme/runtime.d.ts +0 -13
- package/dist/theme/server.d.mts +0 -8
- package/dist/theme/server.d.ts +0 -8
- package/dist/types.d-BnIqOn9w.d.mts +0 -73
- package/dist/types.d-BnIqOn9w.d.ts +0 -73
- package/dist/types.d-C41ePjvP.d.mts +0 -85
- package/dist/types.d-C41ePjvP.d.ts +0 -85
- package/dist/types.d-DQnyD3VD.d.mts +0 -30
- package/dist/types.d-DQnyD3VD.d.ts +0 -30
- package/dist/utils.d-DwZ-KLSB.d.ts +0 -54
- package/dist/utils.d-uKZcKJk4.d.mts +0 -54
- package/dist/version.d.mts +0 -3
- package/dist/version.d.ts +0 -3
- package/dist/vite.d.mts +0 -168
- package/dist/vite.d.ts +0 -168
- package/dist/workflows.d-CRMzQZ3k.d.mts +0 -188
- package/dist/workflows.d-CRMzQZ3k.d.ts +0 -188
- package/dist/workflows.d.mts +0 -1
- package/dist/workflows.d.ts +0 -1
package/dist/chunk-D2X5MUF5.cjs
DELETED
|
@@ -1,1457 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/mobile/native-theme.ts
|
|
2
|
-
var FARM_NATIVE_THEME = {
|
|
3
|
-
spacing: 4,
|
|
4
|
-
colors: {
|
|
5
|
-
"red-50": "#fef2f2",
|
|
6
|
-
"red-100": "#ffe2e2",
|
|
7
|
-
"red-200": "#ffc9c9",
|
|
8
|
-
"red-300": "#ffa2a2",
|
|
9
|
-
"red-400": "#ff6467",
|
|
10
|
-
"red-500": "#fb2c36",
|
|
11
|
-
"red-600": "#e7000b",
|
|
12
|
-
"red-700": "#c10007",
|
|
13
|
-
"red-800": "#9f0712",
|
|
14
|
-
"red-900": "#82181a",
|
|
15
|
-
"red-950": "#460809",
|
|
16
|
-
"orange-50": "#fff7ed",
|
|
17
|
-
"orange-100": "#ffedd4",
|
|
18
|
-
"orange-200": "#ffd6a7",
|
|
19
|
-
"orange-300": "#ffb86a",
|
|
20
|
-
"orange-400": "#ff8904",
|
|
21
|
-
"orange-500": "#ff6900",
|
|
22
|
-
"orange-600": "#f54900",
|
|
23
|
-
"orange-700": "#ca3500",
|
|
24
|
-
"orange-800": "#9f2d00",
|
|
25
|
-
"orange-900": "#7e2a0c",
|
|
26
|
-
"orange-950": "#441306",
|
|
27
|
-
"amber-50": "#fffbeb",
|
|
28
|
-
"amber-100": "#fef3c6",
|
|
29
|
-
"amber-200": "#fee685",
|
|
30
|
-
"amber-300": "#ffd230",
|
|
31
|
-
"amber-400": "#ffb900",
|
|
32
|
-
"amber-500": "#fe9a00",
|
|
33
|
-
"amber-600": "#e17100",
|
|
34
|
-
"amber-700": "#bb4d00",
|
|
35
|
-
"amber-800": "#973c00",
|
|
36
|
-
"amber-900": "#7b3306",
|
|
37
|
-
"amber-950": "#461901",
|
|
38
|
-
"yellow-50": "#fefce8",
|
|
39
|
-
"yellow-100": "#fef9c2",
|
|
40
|
-
"yellow-200": "#fff085",
|
|
41
|
-
"yellow-300": "#ffdf20",
|
|
42
|
-
"yellow-400": "#fdc700",
|
|
43
|
-
"yellow-500": "#f0b100",
|
|
44
|
-
"yellow-600": "#d08700",
|
|
45
|
-
"yellow-700": "#a65f00",
|
|
46
|
-
"yellow-800": "#894b00",
|
|
47
|
-
"yellow-900": "#733e0a",
|
|
48
|
-
"yellow-950": "#432004",
|
|
49
|
-
"lime-50": "#f7fee7",
|
|
50
|
-
"lime-100": "#ecfcca",
|
|
51
|
-
"lime-200": "#d8f999",
|
|
52
|
-
"lime-300": "#bbf451",
|
|
53
|
-
"lime-400": "#9ae600",
|
|
54
|
-
"lime-500": "#7ccf00",
|
|
55
|
-
"lime-600": "#5ea500",
|
|
56
|
-
"lime-700": "#497d00",
|
|
57
|
-
"lime-800": "#3c6300",
|
|
58
|
-
"lime-900": "#35530e",
|
|
59
|
-
"lime-950": "#192e03",
|
|
60
|
-
"green-50": "#f0fdf4",
|
|
61
|
-
"green-100": "#dcfce7",
|
|
62
|
-
"green-200": "#b9f8cf",
|
|
63
|
-
"green-300": "#7bf1a8",
|
|
64
|
-
"green-400": "#05df72",
|
|
65
|
-
"green-500": "#00c950",
|
|
66
|
-
"green-600": "#00a63e",
|
|
67
|
-
"green-700": "#008236",
|
|
68
|
-
"green-800": "#016630",
|
|
69
|
-
"green-900": "#0d542b",
|
|
70
|
-
"green-950": "#032e15",
|
|
71
|
-
"emerald-50": "#ecfdf5",
|
|
72
|
-
"emerald-100": "#d0fae5",
|
|
73
|
-
"emerald-200": "#a4f4cf",
|
|
74
|
-
"emerald-300": "#5ee9b5",
|
|
75
|
-
"emerald-400": "#00d492",
|
|
76
|
-
"emerald-500": "#00bc7d",
|
|
77
|
-
"emerald-600": "#009966",
|
|
78
|
-
"emerald-700": "#007a55",
|
|
79
|
-
"emerald-800": "#006045",
|
|
80
|
-
"emerald-900": "#004f3b",
|
|
81
|
-
"emerald-950": "#002c22",
|
|
82
|
-
"teal-50": "#f0fdfa",
|
|
83
|
-
"teal-100": "#cbfbf1",
|
|
84
|
-
"teal-200": "#96f7e4",
|
|
85
|
-
"teal-300": "#46ecd5",
|
|
86
|
-
"teal-400": "#00d5be",
|
|
87
|
-
"teal-500": "#00bba7",
|
|
88
|
-
"teal-600": "#009689",
|
|
89
|
-
"teal-700": "#00786f",
|
|
90
|
-
"teal-800": "#005f5a",
|
|
91
|
-
"teal-900": "#0b4f4a",
|
|
92
|
-
"teal-950": "#022f2e",
|
|
93
|
-
"cyan-50": "#ecfeff",
|
|
94
|
-
"cyan-100": "#cefafe",
|
|
95
|
-
"cyan-200": "#a2f4fd",
|
|
96
|
-
"cyan-300": "#53eafd",
|
|
97
|
-
"cyan-400": "#00d3f2",
|
|
98
|
-
"cyan-500": "#00b8db",
|
|
99
|
-
"cyan-600": "#0092b8",
|
|
100
|
-
"cyan-700": "#007595",
|
|
101
|
-
"cyan-800": "#005f78",
|
|
102
|
-
"cyan-900": "#104e64",
|
|
103
|
-
"cyan-950": "#053345",
|
|
104
|
-
"sky-50": "#f0f9ff",
|
|
105
|
-
"sky-100": "#dff2fe",
|
|
106
|
-
"sky-200": "#b8e6fe",
|
|
107
|
-
"sky-300": "#74d4ff",
|
|
108
|
-
"sky-400": "#00bcff",
|
|
109
|
-
"sky-500": "#00a6f4",
|
|
110
|
-
"sky-600": "#0084d1",
|
|
111
|
-
"sky-700": "#0069a8",
|
|
112
|
-
"sky-800": "#00598a",
|
|
113
|
-
"sky-900": "#024a70",
|
|
114
|
-
"sky-950": "#052f4a",
|
|
115
|
-
"blue-50": "#eff6ff",
|
|
116
|
-
"blue-100": "#dbeafe",
|
|
117
|
-
"blue-200": "#bedbff",
|
|
118
|
-
"blue-300": "#8ec5ff",
|
|
119
|
-
"blue-400": "#51a2ff",
|
|
120
|
-
"blue-500": "#2b7fff",
|
|
121
|
-
"blue-600": "#155dfc",
|
|
122
|
-
"blue-700": "#1447e6",
|
|
123
|
-
"blue-800": "#193cb8",
|
|
124
|
-
"blue-900": "#1c398e",
|
|
125
|
-
"blue-950": "#162456",
|
|
126
|
-
"indigo-50": "#eef2ff",
|
|
127
|
-
"indigo-100": "#e0e7ff",
|
|
128
|
-
"indigo-200": "#c6d2ff",
|
|
129
|
-
"indigo-300": "#a3b3ff",
|
|
130
|
-
"indigo-400": "#7c86ff",
|
|
131
|
-
"indigo-500": "#615fff",
|
|
132
|
-
"indigo-600": "#4f39f6",
|
|
133
|
-
"indigo-700": "#432dd7",
|
|
134
|
-
"indigo-800": "#372aac",
|
|
135
|
-
"indigo-900": "#312c85",
|
|
136
|
-
"indigo-950": "#1e1a4d",
|
|
137
|
-
"violet-50": "#f5f3ff",
|
|
138
|
-
"violet-100": "#ede9fe",
|
|
139
|
-
"violet-200": "#ddd6ff",
|
|
140
|
-
"violet-300": "#c4b4ff",
|
|
141
|
-
"violet-400": "#a684ff",
|
|
142
|
-
"violet-500": "#8e51ff",
|
|
143
|
-
"violet-600": "#7f22fe",
|
|
144
|
-
"violet-700": "#7008e7",
|
|
145
|
-
"violet-800": "#5d0ec0",
|
|
146
|
-
"violet-900": "#4d179a",
|
|
147
|
-
"violet-950": "#2f0d68",
|
|
148
|
-
"purple-50": "#faf5ff",
|
|
149
|
-
"purple-100": "#f3e8ff",
|
|
150
|
-
"purple-200": "#e9d4ff",
|
|
151
|
-
"purple-300": "#dab2ff",
|
|
152
|
-
"purple-400": "#c27aff",
|
|
153
|
-
"purple-500": "#ad46ff",
|
|
154
|
-
"purple-600": "#9810fa",
|
|
155
|
-
"purple-700": "#8200db",
|
|
156
|
-
"purple-800": "#6e11b0",
|
|
157
|
-
"purple-900": "#59168b",
|
|
158
|
-
"purple-950": "#3c0366",
|
|
159
|
-
"fuchsia-50": "#fdf4ff",
|
|
160
|
-
"fuchsia-100": "#fae8ff",
|
|
161
|
-
"fuchsia-200": "#f6cfff",
|
|
162
|
-
"fuchsia-300": "#f4a8ff",
|
|
163
|
-
"fuchsia-400": "#ed6aff",
|
|
164
|
-
"fuchsia-500": "#e12afb",
|
|
165
|
-
"fuchsia-600": "#c800de",
|
|
166
|
-
"fuchsia-700": "#a800b7",
|
|
167
|
-
"fuchsia-800": "#8a0194",
|
|
168
|
-
"fuchsia-900": "#721378",
|
|
169
|
-
"fuchsia-950": "#4b004f",
|
|
170
|
-
"pink-50": "#fdf2f8",
|
|
171
|
-
"pink-100": "#fce7f3",
|
|
172
|
-
"pink-200": "#fccee8",
|
|
173
|
-
"pink-300": "#fda5d5",
|
|
174
|
-
"pink-400": "#fb64b6",
|
|
175
|
-
"pink-500": "#f6339a",
|
|
176
|
-
"pink-600": "#e60076",
|
|
177
|
-
"pink-700": "#c6005c",
|
|
178
|
-
"pink-800": "#a3004c",
|
|
179
|
-
"pink-900": "#861043",
|
|
180
|
-
"pink-950": "#510424",
|
|
181
|
-
"rose-50": "#fff1f2",
|
|
182
|
-
"rose-100": "#ffe4e6",
|
|
183
|
-
"rose-200": "#ffccd3",
|
|
184
|
-
"rose-300": "#ffa1ad",
|
|
185
|
-
"rose-400": "#ff637e",
|
|
186
|
-
"rose-500": "#ff2056",
|
|
187
|
-
"rose-600": "#ec003f",
|
|
188
|
-
"rose-700": "#c70036",
|
|
189
|
-
"rose-800": "#a50036",
|
|
190
|
-
"rose-900": "#8b0836",
|
|
191
|
-
"rose-950": "#4d0218",
|
|
192
|
-
"slate-50": "#f8fafc",
|
|
193
|
-
"slate-100": "#f1f5f9",
|
|
194
|
-
"slate-200": "#e2e8f0",
|
|
195
|
-
"slate-300": "#cad5e2",
|
|
196
|
-
"slate-400": "#90a1b9",
|
|
197
|
-
"slate-500": "#62748e",
|
|
198
|
-
"slate-600": "#45556c",
|
|
199
|
-
"slate-700": "#314158",
|
|
200
|
-
"slate-800": "#1d293d",
|
|
201
|
-
"slate-900": "#0f172b",
|
|
202
|
-
"slate-950": "#020618",
|
|
203
|
-
"gray-50": "#f9fafb",
|
|
204
|
-
"gray-100": "#f3f4f6",
|
|
205
|
-
"gray-200": "#e5e7eb",
|
|
206
|
-
"gray-300": "#d1d5dc",
|
|
207
|
-
"gray-400": "#99a1af",
|
|
208
|
-
"gray-500": "#6a7282",
|
|
209
|
-
"gray-600": "#4a5565",
|
|
210
|
-
"gray-700": "#364153",
|
|
211
|
-
"gray-800": "#1e2939",
|
|
212
|
-
"gray-900": "#101828",
|
|
213
|
-
"gray-950": "#030712",
|
|
214
|
-
"zinc-50": "#fafafa",
|
|
215
|
-
"zinc-100": "#f4f4f5",
|
|
216
|
-
"zinc-200": "#e4e4e7",
|
|
217
|
-
"zinc-300": "#d4d4d8",
|
|
218
|
-
"zinc-400": "#9f9fa9",
|
|
219
|
-
"zinc-500": "#71717b",
|
|
220
|
-
"zinc-600": "#52525c",
|
|
221
|
-
"zinc-700": "#3f3f46",
|
|
222
|
-
"zinc-800": "#27272a",
|
|
223
|
-
"zinc-900": "#18181b",
|
|
224
|
-
"zinc-950": "#09090b",
|
|
225
|
-
"neutral-50": "#fafafa",
|
|
226
|
-
"neutral-100": "#f5f5f5",
|
|
227
|
-
"neutral-200": "#e5e5e5",
|
|
228
|
-
"neutral-300": "#d4d4d4",
|
|
229
|
-
"neutral-400": "#a1a1a1",
|
|
230
|
-
"neutral-500": "#737373",
|
|
231
|
-
"neutral-600": "#525252",
|
|
232
|
-
"neutral-700": "#404040",
|
|
233
|
-
"neutral-800": "#262626",
|
|
234
|
-
"neutral-900": "#171717",
|
|
235
|
-
"neutral-950": "#0a0a0a",
|
|
236
|
-
"stone-50": "#fafaf9",
|
|
237
|
-
"stone-100": "#f5f5f4",
|
|
238
|
-
"stone-200": "#e7e5e4",
|
|
239
|
-
"stone-300": "#d6d3d1",
|
|
240
|
-
"stone-400": "#a6a09b",
|
|
241
|
-
"stone-500": "#79716b",
|
|
242
|
-
"stone-600": "#57534d",
|
|
243
|
-
"stone-700": "#44403b",
|
|
244
|
-
"stone-800": "#292524",
|
|
245
|
-
"stone-900": "#1c1917",
|
|
246
|
-
"stone-950": "#0c0a09",
|
|
247
|
-
"mauve-50": "#fafafa",
|
|
248
|
-
"mauve-100": "#f3f1f3",
|
|
249
|
-
"mauve-200": "#e7e4e7",
|
|
250
|
-
"mauve-300": "#d7d0d7",
|
|
251
|
-
"mauve-400": "#a89ea9",
|
|
252
|
-
"mauve-500": "#79697b",
|
|
253
|
-
"mauve-600": "#594c5b",
|
|
254
|
-
"mauve-700": "#463947",
|
|
255
|
-
"mauve-800": "#2a212c",
|
|
256
|
-
"mauve-900": "#1d161e",
|
|
257
|
-
"mauve-950": "#0c090c",
|
|
258
|
-
"olive-50": "#fbfbf9",
|
|
259
|
-
"olive-100": "#f4f4f0",
|
|
260
|
-
"olive-200": "#e8e8e3",
|
|
261
|
-
"olive-300": "#d8d8d0",
|
|
262
|
-
"olive-400": "#abab9c",
|
|
263
|
-
"olive-500": "#7c7c67",
|
|
264
|
-
"olive-600": "#5b5b4b",
|
|
265
|
-
"olive-700": "#474739",
|
|
266
|
-
"olive-800": "#2b2b22",
|
|
267
|
-
"olive-900": "#1d1d16",
|
|
268
|
-
"olive-950": "#0c0c09",
|
|
269
|
-
"mist-50": "#f9fbfb",
|
|
270
|
-
"mist-100": "#f1f3f3",
|
|
271
|
-
"mist-200": "#e3e7e8",
|
|
272
|
-
"mist-300": "#d0d6d8",
|
|
273
|
-
"mist-400": "#9ca8ab",
|
|
274
|
-
"mist-500": "#67787c",
|
|
275
|
-
"mist-600": "#4b585b",
|
|
276
|
-
"mist-700": "#394447",
|
|
277
|
-
"mist-800": "#22292b",
|
|
278
|
-
"mist-900": "#161b1d",
|
|
279
|
-
"mist-950": "#090b0c",
|
|
280
|
-
"taupe-50": "#fbfaf9",
|
|
281
|
-
"taupe-100": "#f3f1f1",
|
|
282
|
-
"taupe-200": "#e8e4e3",
|
|
283
|
-
"taupe-300": "#d8d2d0",
|
|
284
|
-
"taupe-400": "#aba09c",
|
|
285
|
-
"taupe-500": "#7c6d67",
|
|
286
|
-
"taupe-600": "#5b4f4b",
|
|
287
|
-
"taupe-700": "#473c39",
|
|
288
|
-
"taupe-800": "#2b2422",
|
|
289
|
-
"taupe-900": "#1d1816",
|
|
290
|
-
"taupe-950": "#0c0a09",
|
|
291
|
-
black: "#000000",
|
|
292
|
-
white: "#ffffff"
|
|
293
|
-
},
|
|
294
|
-
text: {
|
|
295
|
-
xs: [12, 16],
|
|
296
|
-
sm: [14, 20],
|
|
297
|
-
base: [16, 24],
|
|
298
|
-
lg: [18, 28],
|
|
299
|
-
xl: [20, 28],
|
|
300
|
-
"2xl": [24, 32],
|
|
301
|
-
"3xl": [30, 36],
|
|
302
|
-
"4xl": [36, 40],
|
|
303
|
-
"5xl": [48, 48],
|
|
304
|
-
"6xl": [60, 60],
|
|
305
|
-
"7xl": [72, 72],
|
|
306
|
-
"8xl": [96, 96],
|
|
307
|
-
"9xl": [128, 128]
|
|
308
|
-
},
|
|
309
|
-
fontWeight: {
|
|
310
|
-
thin: 100,
|
|
311
|
-
extralight: 200,
|
|
312
|
-
light: 300,
|
|
313
|
-
normal: 400,
|
|
314
|
-
medium: 500,
|
|
315
|
-
semibold: 600,
|
|
316
|
-
bold: 700,
|
|
317
|
-
extrabold: 800,
|
|
318
|
-
black: 900
|
|
319
|
-
},
|
|
320
|
-
tracking: { tighter: -0.05, tight: -0.025, normal: 0, wide: 0.025, wider: 0.05, widest: 0.1 },
|
|
321
|
-
leading: { tight: 1.25, snug: 1.375, normal: 1.5, relaxed: 1.625, loose: 2 },
|
|
322
|
-
radius: { xs: 2, sm: 4, md: 6, lg: 8, xl: 12, "2xl": 16, "3xl": 24, "4xl": 32 },
|
|
323
|
-
container: {
|
|
324
|
-
"3xs": 256,
|
|
325
|
-
"2xs": 288,
|
|
326
|
-
xs: 320,
|
|
327
|
-
sm: 384,
|
|
328
|
-
md: 448,
|
|
329
|
-
lg: 512,
|
|
330
|
-
xl: 576,
|
|
331
|
-
"2xl": 672,
|
|
332
|
-
"3xl": 768,
|
|
333
|
-
"4xl": 896,
|
|
334
|
-
"5xl": 1024,
|
|
335
|
-
"6xl": 1152,
|
|
336
|
-
"7xl": 1280
|
|
337
|
-
}
|
|
338
|
-
};
|
|
339
|
-
|
|
340
|
-
// src/mobile/native-style.ts
|
|
341
|
-
var FARM_NATIVE_TEXT_KEYS = /* @__PURE__ */ new Set([
|
|
342
|
-
"color",
|
|
343
|
-
"fontSize",
|
|
344
|
-
"lineHeight",
|
|
345
|
-
"fontWeight",
|
|
346
|
-
"fontStyle",
|
|
347
|
-
"fontFamily",
|
|
348
|
-
"textAlign",
|
|
349
|
-
"letterSpacing",
|
|
350
|
-
"textTransform",
|
|
351
|
-
"textDecorationLine",
|
|
352
|
-
// `leading-*`: a multiple of the font size, or a fixed height. Either wins over the line
|
|
353
|
-
// height a `text-*` size sets, as in Tailwind.
|
|
354
|
-
"lineHeightScale",
|
|
355
|
-
"lineHeightPx"
|
|
356
|
-
]);
|
|
357
|
-
var ALL_SIDES = ["Top", "Right", "Bottom", "Left"];
|
|
358
|
-
var ALL_CORNERS = ["TopLeft", "TopRight", "BottomRight", "BottomLeft"];
|
|
359
|
-
var each = (keys, value) => Object.fromEntries(keys.map((key) => [key, value]));
|
|
360
|
-
var SIDES = {
|
|
361
|
-
t: ["Top"],
|
|
362
|
-
r: ["Right"],
|
|
363
|
-
b: ["Bottom"],
|
|
364
|
-
l: ["Left"],
|
|
365
|
-
x: ["Left", "Right"],
|
|
366
|
-
y: ["Top", "Bottom"],
|
|
367
|
-
s: ["Left"],
|
|
368
|
-
e: ["Right"]
|
|
369
|
-
};
|
|
370
|
-
var CORNERS = {
|
|
371
|
-
t: ["TopLeft", "TopRight"],
|
|
372
|
-
r: ["TopRight", "BottomRight"],
|
|
373
|
-
b: ["BottomLeft", "BottomRight"],
|
|
374
|
-
l: ["TopLeft", "BottomLeft"],
|
|
375
|
-
tl: ["TopLeft"],
|
|
376
|
-
tr: ["TopRight"],
|
|
377
|
-
br: ["BottomRight"],
|
|
378
|
-
bl: ["BottomLeft"]
|
|
379
|
-
};
|
|
380
|
-
var ALIGN = {
|
|
381
|
-
start: "flex-start",
|
|
382
|
-
end: "flex-end",
|
|
383
|
-
center: "center",
|
|
384
|
-
between: "space-between",
|
|
385
|
-
around: "space-around",
|
|
386
|
-
evenly: "space-evenly",
|
|
387
|
-
stretch: "stretch",
|
|
388
|
-
baseline: "baseline",
|
|
389
|
-
auto: "auto"
|
|
390
|
-
};
|
|
391
|
-
var DROPPED = /^(?:relative|cursor-.+|select-.+|outline-.+|pointer-events-.+)$/;
|
|
392
|
-
var DEFAULT_THEME = FARM_NATIVE_THEME;
|
|
393
|
-
var THEME = DEFAULT_THEME;
|
|
394
|
-
function withTheme(theme, run) {
|
|
395
|
-
const previous = THEME;
|
|
396
|
-
THEME = _nullishCoalesce(theme, () => ( DEFAULT_THEME));
|
|
397
|
-
try {
|
|
398
|
-
return run();
|
|
399
|
-
} finally {
|
|
400
|
-
THEME = previous;
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
function spacing(value) {
|
|
404
|
-
if (value === "px") return 1;
|
|
405
|
-
if (value === "auto") return "auto";
|
|
406
|
-
if (!/^\d+(?:\.5)?$/.test(value)) return void 0;
|
|
407
|
-
return Number(value) * THEME.spacing;
|
|
408
|
-
}
|
|
409
|
-
function size(value) {
|
|
410
|
-
if (value === "full") return "100%";
|
|
411
|
-
const fraction = /^(\d+)\/(\d+)$/.exec(value);
|
|
412
|
-
if (fraction) return `${Math.round(Number(fraction[1]) / Number(fraction[2]) * 1e4) / 100}%`;
|
|
413
|
-
return spacing(value);
|
|
414
|
-
}
|
|
415
|
-
function color(value) {
|
|
416
|
-
const [name, alpha] = value.split("/");
|
|
417
|
-
if (name === "transparent") return "transparent";
|
|
418
|
-
if (name === "current" || name === "inherit") return "currentColor";
|
|
419
|
-
const hex = THEME.colors[name];
|
|
420
|
-
if (!hex) return void 0;
|
|
421
|
-
if (alpha === void 0) return hex;
|
|
422
|
-
if (!/^\d{1,3}$/.test(alpha) || Number(alpha) > 100) return void 0;
|
|
423
|
-
return `${hex}${Math.round(Number(alpha) / 100 * 255).toString(16).padStart(2, "0")}`;
|
|
424
|
-
}
|
|
425
|
-
function utility(token) {
|
|
426
|
-
if (DROPPED.test(token)) return {};
|
|
427
|
-
switch (token) {
|
|
428
|
-
case "flex":
|
|
429
|
-
return { display: "flex", flexDirection: "row" };
|
|
430
|
-
case "flex-row":
|
|
431
|
-
return { flexDirection: "row" };
|
|
432
|
-
case "flex-col":
|
|
433
|
-
return { flexDirection: "column" };
|
|
434
|
-
case "flex-1":
|
|
435
|
-
return { flexGrow: 1, flexShrink: 1, flexBasis: 0 };
|
|
436
|
-
case "flex-auto":
|
|
437
|
-
return { flexGrow: 1, flexShrink: 1 };
|
|
438
|
-
case "flex-initial":
|
|
439
|
-
return { flexGrow: 0, flexShrink: 1 };
|
|
440
|
-
case "flex-none":
|
|
441
|
-
return { flexGrow: 0, flexShrink: 0 };
|
|
442
|
-
case "grow":
|
|
443
|
-
return { flexGrow: 1 };
|
|
444
|
-
case "grow-0":
|
|
445
|
-
return { flexGrow: 0 };
|
|
446
|
-
case "shrink":
|
|
447
|
-
return { flexShrink: 1 };
|
|
448
|
-
case "shrink-0":
|
|
449
|
-
return { flexShrink: 0 };
|
|
450
|
-
case "flex-nowrap":
|
|
451
|
-
return {};
|
|
452
|
-
case "flex-wrap":
|
|
453
|
-
return { flexWrap: "wrap" };
|
|
454
|
-
case "hidden":
|
|
455
|
-
return { display: "none" };
|
|
456
|
-
case "overflow-hidden":
|
|
457
|
-
return { overflow: "hidden" };
|
|
458
|
-
case "overflow-visible":
|
|
459
|
-
return { overflow: "visible" };
|
|
460
|
-
case "italic":
|
|
461
|
-
return { fontStyle: "italic" };
|
|
462
|
-
case "not-italic":
|
|
463
|
-
return { fontStyle: "normal" };
|
|
464
|
-
case "underline":
|
|
465
|
-
return { textDecorationLine: "underline" };
|
|
466
|
-
case "line-through":
|
|
467
|
-
return { textDecorationLine: "line-through" };
|
|
468
|
-
case "no-underline":
|
|
469
|
-
return { textDecorationLine: "none" };
|
|
470
|
-
case "uppercase":
|
|
471
|
-
case "lowercase":
|
|
472
|
-
case "capitalize":
|
|
473
|
-
return { textTransform: token };
|
|
474
|
-
case "normal-case":
|
|
475
|
-
return { textTransform: "none" };
|
|
476
|
-
case "text-left":
|
|
477
|
-
case "text-center":
|
|
478
|
-
case "text-right":
|
|
479
|
-
case "text-justify":
|
|
480
|
-
return { textAlign: token.slice(5) };
|
|
481
|
-
case "rounded":
|
|
482
|
-
return each(
|
|
483
|
-
ALL_CORNERS.map((corner) => `border${corner}Radius`),
|
|
484
|
-
THEME.radius.sm
|
|
485
|
-
);
|
|
486
|
-
case "border":
|
|
487
|
-
return {
|
|
488
|
-
...each(
|
|
489
|
-
ALL_SIDES.map((side) => `border${side}Width`),
|
|
490
|
-
1
|
|
491
|
-
),
|
|
492
|
-
...each(
|
|
493
|
-
ALL_SIDES.map((side) => `border${side}Color`),
|
|
494
|
-
"currentColor"
|
|
495
|
-
)
|
|
496
|
-
};
|
|
497
|
-
case "border-solid":
|
|
498
|
-
case "border-dashed":
|
|
499
|
-
case "border-dotted":
|
|
500
|
-
return { borderStyle: token.slice(7) };
|
|
501
|
-
case "border-none":
|
|
502
|
-
return { borderStyle: "none" };
|
|
503
|
-
}
|
|
504
|
-
let match = /^(items|justify|self)-([a-z]+)$/.exec(token);
|
|
505
|
-
if (match) {
|
|
506
|
-
const value = ALIGN[match[2]];
|
|
507
|
-
if (!value) return void 0;
|
|
508
|
-
const key = { items: "alignItems", justify: "justifyContent", self: "alignSelf" }[match[1]];
|
|
509
|
-
return { [key]: value };
|
|
510
|
-
}
|
|
511
|
-
match = /^(-?)(p|m)([trblxyse]?)-(.+)$/.exec(token);
|
|
512
|
-
if (match) {
|
|
513
|
-
const value = spacing(match[4]);
|
|
514
|
-
if (value === void 0 || match[2] === "p" && (value === "auto" || match[1]))
|
|
515
|
-
return void 0;
|
|
516
|
-
const signed = match[1] && typeof value === "number" ? -value : value;
|
|
517
|
-
const property = match[2] === "p" ? "padding" : "margin";
|
|
518
|
-
const sides2 = match[3] ? SIDES[match[3]] : ALL_SIDES;
|
|
519
|
-
return each(
|
|
520
|
-
sides2.map((side) => `${property}${side}`),
|
|
521
|
-
signed
|
|
522
|
-
);
|
|
523
|
-
}
|
|
524
|
-
match = /^gap(-[xy])?-(.+)$/.exec(token);
|
|
525
|
-
if (match) {
|
|
526
|
-
const value = spacing(match[2]);
|
|
527
|
-
if (typeof value !== "number") return void 0;
|
|
528
|
-
if (match[1] === "-x") return { columnGap: value };
|
|
529
|
-
if (match[1] === "-y") return { rowGap: value };
|
|
530
|
-
return { rowGap: value, columnGap: value };
|
|
531
|
-
}
|
|
532
|
-
match = /^(w|h|size|min-w|min-h|max-h)-(.+)$/.exec(token);
|
|
533
|
-
if (match) {
|
|
534
|
-
const value = size(match[2]);
|
|
535
|
-
if (value === void 0 || value === "auto" && match[1].includes("-")) return void 0;
|
|
536
|
-
if (match[1] === "size") return { width: value, height: value };
|
|
537
|
-
const key = {
|
|
538
|
-
w: "width",
|
|
539
|
-
h: "height",
|
|
540
|
-
"min-w": "minWidth",
|
|
541
|
-
"min-h": "minHeight",
|
|
542
|
-
"max-h": "maxHeight"
|
|
543
|
-
}[match[1]];
|
|
544
|
-
return value === "auto" ? {} : { [key]: value };
|
|
545
|
-
}
|
|
546
|
-
match = /^max-w-(.+)$/.exec(token);
|
|
547
|
-
if (match) {
|
|
548
|
-
if (match[1] === "none") return {};
|
|
549
|
-
if (match[1] === "full") return { maxWidth: "100%" };
|
|
550
|
-
const value = THEME.container[match[1]];
|
|
551
|
-
return value === void 0 ? void 0 : { maxWidth: value };
|
|
552
|
-
}
|
|
553
|
-
match = /^text-(.+)$/.exec(token);
|
|
554
|
-
if (match) {
|
|
555
|
-
const text = THEME.text[match[1]];
|
|
556
|
-
if (text) {
|
|
557
|
-
return Number.isFinite(text[1]) ? { fontSize: text[0], lineHeight: text[1] } : { fontSize: text[0] };
|
|
558
|
-
}
|
|
559
|
-
const value = color(match[1]);
|
|
560
|
-
return value === void 0 ? void 0 : { color: value };
|
|
561
|
-
}
|
|
562
|
-
match = /^font-(.+)$/.exec(token);
|
|
563
|
-
if (match) {
|
|
564
|
-
if (match[1] === "sans" || match[1] === "serif" || match[1] === "mono") {
|
|
565
|
-
return { fontFamily: match[1] };
|
|
566
|
-
}
|
|
567
|
-
const weight = THEME.fontWeight[match[1]];
|
|
568
|
-
return weight === void 0 ? void 0 : { fontWeight: weight };
|
|
569
|
-
}
|
|
570
|
-
match = /^leading-(.+)$/.exec(token);
|
|
571
|
-
if (match) {
|
|
572
|
-
if (match[1] === "none") return { lineHeightScale: 1 };
|
|
573
|
-
const scale = THEME.leading[match[1]];
|
|
574
|
-
if (scale !== void 0) return { lineHeightScale: scale };
|
|
575
|
-
const value = spacing(match[1]);
|
|
576
|
-
return typeof value === "number" ? { lineHeightPx: value } : void 0;
|
|
577
|
-
}
|
|
578
|
-
match = /^tracking-(.+)$/.exec(token);
|
|
579
|
-
if (match) {
|
|
580
|
-
const value = THEME.tracking[match[1]];
|
|
581
|
-
return value === void 0 ? void 0 : { letterSpacing: value };
|
|
582
|
-
}
|
|
583
|
-
match = /^bg-(.+)$/.exec(token);
|
|
584
|
-
if (match) {
|
|
585
|
-
const value = color(match[1]);
|
|
586
|
-
return value === void 0 ? void 0 : { backgroundColor: value };
|
|
587
|
-
}
|
|
588
|
-
match = /^border-([trblxy])$/.exec(token);
|
|
589
|
-
if (match) {
|
|
590
|
-
return each(
|
|
591
|
-
SIDES[match[1]].map((side) => `border${side}Width`),
|
|
592
|
-
1
|
|
593
|
-
);
|
|
594
|
-
}
|
|
595
|
-
match = /^border(?:-([trblxy]))?-(.+)$/.exec(token);
|
|
596
|
-
if (match) {
|
|
597
|
-
const sides2 = match[1] ? SIDES[match[1]] : ALL_SIDES;
|
|
598
|
-
if (/^(?:0|2|4|8)$/.test(match[2])) {
|
|
599
|
-
return Object.fromEntries(sides2.map((side) => [`border${side}Width`, Number(match[2])]));
|
|
600
|
-
}
|
|
601
|
-
const value = color(match[2]);
|
|
602
|
-
if (value === void 0) return void 0;
|
|
603
|
-
return Object.fromEntries(sides2.map((side) => [`border${side}Color`, value]));
|
|
604
|
-
}
|
|
605
|
-
match = /^rounded(?:-([trbl]{1,2}))?(?:-([a-z0-9]+))?$/.exec(token);
|
|
606
|
-
if (match) {
|
|
607
|
-
const radius = match[2] === void 0 ? THEME.radius.sm : match[2] === "none" ? 0 : match[2] === "full" ? 9999 : THEME.radius[match[2]];
|
|
608
|
-
if (radius === void 0) return void 0;
|
|
609
|
-
const corners = match[1] ? CORNERS[match[1]] : [...ALL_CORNERS];
|
|
610
|
-
if (!corners) return void 0;
|
|
611
|
-
return Object.fromEntries(corners.map((corner) => [`border${corner}Radius`, radius]));
|
|
612
|
-
}
|
|
613
|
-
match = /^opacity-(\d{1,3})$/.exec(token);
|
|
614
|
-
if (match && Number(match[1]) <= 100) return { opacity: Number(match[1]) / 100 };
|
|
615
|
-
return void 0;
|
|
616
|
-
}
|
|
617
|
-
function farmNativeClassProblem(token, theme) {
|
|
618
|
-
return withTheme(theme, () => classProblem(token));
|
|
619
|
-
}
|
|
620
|
-
function classProblem(token) {
|
|
621
|
-
const parts = token.split(":");
|
|
622
|
-
const base = parts.pop().replace(/^!/, "");
|
|
623
|
-
if (parts.some((variant) => variant !== "dark")) {
|
|
624
|
-
return `"${token}" needs a variant the native tier cannot apply`;
|
|
625
|
-
}
|
|
626
|
-
if (base.includes("[")) return `"${token}" is an arbitrary value`;
|
|
627
|
-
return utility(base) === void 0 ? `class "${token}" has no native-tier style` : void 0;
|
|
628
|
-
}
|
|
629
|
-
function resolveFarmNativeClasses(className, theme) {
|
|
630
|
-
return withTheme(theme, () => resolveClasses(className));
|
|
631
|
-
}
|
|
632
|
-
function resolveClasses(className) {
|
|
633
|
-
const light = [];
|
|
634
|
-
const darkParts = [];
|
|
635
|
-
const themedDark = [];
|
|
636
|
-
const darkTheme = THEME.darkColors ? { ...THEME, colors: { ...THEME.colors, ...THEME.darkColors } } : void 0;
|
|
637
|
-
const unsupported = [];
|
|
638
|
-
for (const token of className.split(/\s+/)) {
|
|
639
|
-
if (!token) continue;
|
|
640
|
-
if (classProblem(token)) {
|
|
641
|
-
unsupported.push(token);
|
|
642
|
-
continue;
|
|
643
|
-
}
|
|
644
|
-
const parts = token.split(":");
|
|
645
|
-
const base = parts.pop().replace(/^!/, "");
|
|
646
|
-
const resolved = utility(base);
|
|
647
|
-
(parts.length > 0 ? darkParts : light).push(resolved);
|
|
648
|
-
if (parts.length === 0 && darkTheme) {
|
|
649
|
-
const lightTheme = THEME;
|
|
650
|
-
THEME = darkTheme;
|
|
651
|
-
const dark2 = utility(base);
|
|
652
|
-
THEME = lightTheme;
|
|
653
|
-
if (dark2 && JSON.stringify(dark2) !== JSON.stringify(resolved)) themedDark.push(dark2);
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
const merge = (parts) => Object.assign(
|
|
657
|
-
{},
|
|
658
|
-
...parts.sort((left, right) => Object.keys(right).length - Object.keys(left).length)
|
|
659
|
-
);
|
|
660
|
-
const style = merge(light);
|
|
661
|
-
const dark = { ...merge(themedDark), ...merge(darkParts) };
|
|
662
|
-
return { style, ...Object.keys(dark).length > 0 ? { dark } : {}, unsupported };
|
|
663
|
-
}
|
|
664
|
-
function longhands(style) {
|
|
665
|
-
const [[key, value]] = Object.entries(style);
|
|
666
|
-
if (key === "gap") return { rowGap: value, columnGap: value };
|
|
667
|
-
if (key === "borderWidth")
|
|
668
|
-
return each(
|
|
669
|
-
ALL_SIDES.map((side) => `border${side}Width`),
|
|
670
|
-
value
|
|
671
|
-
);
|
|
672
|
-
if (key === "borderColor")
|
|
673
|
-
return each(
|
|
674
|
-
ALL_SIDES.map((side) => `border${side}Color`),
|
|
675
|
-
value
|
|
676
|
-
);
|
|
677
|
-
if (key === "borderRadius") {
|
|
678
|
-
return each(
|
|
679
|
-
ALL_CORNERS.map((corner) => `border${corner}Radius`),
|
|
680
|
-
value
|
|
681
|
-
);
|
|
682
|
-
}
|
|
683
|
-
return style;
|
|
684
|
-
}
|
|
685
|
-
var PX = /^(-?\d*\.?\d+)px$/;
|
|
686
|
-
function cssLength(value) {
|
|
687
|
-
if (value === "0") return 0;
|
|
688
|
-
if (value === "auto") return "auto";
|
|
689
|
-
const px = PX.exec(value);
|
|
690
|
-
if (px) return Number(px[1]);
|
|
691
|
-
if (/^-?\d*\.?\d+%$/.test(value)) return value;
|
|
692
|
-
const rem = /^(-?\d*\.?\d+)rem$/.exec(value);
|
|
693
|
-
return rem ? Number(rem[1]) * 16 : void 0;
|
|
694
|
-
}
|
|
695
|
-
var CSS_LENGTHS = new Set(
|
|
696
|
-
"gap row-gap column-gap padding-top padding-right padding-bottom padding-left margin-top margin-right margin-bottom margin-left width height min-width min-height max-width max-height border-width border-top-width border-right-width border-bottom-width border-left-width border-radius font-size line-height letter-spacing flex-basis".split(" ")
|
|
697
|
-
);
|
|
698
|
-
var CSS_KEYWORDS = {
|
|
699
|
-
display: /* @__PURE__ */ new Set(["flex", "none"]),
|
|
700
|
-
"flex-direction": /* @__PURE__ */ new Set(["row", "column"]),
|
|
701
|
-
"align-items": /* @__PURE__ */ new Set(["flex-start", "flex-end", "center", "stretch", "baseline"]),
|
|
702
|
-
"align-self": /* @__PURE__ */ new Set(["auto", "flex-start", "flex-end", "center", "stretch", "baseline"]),
|
|
703
|
-
"justify-content": /* @__PURE__ */ new Set([
|
|
704
|
-
"flex-start",
|
|
705
|
-
"flex-end",
|
|
706
|
-
"center",
|
|
707
|
-
"space-between",
|
|
708
|
-
"space-around",
|
|
709
|
-
"space-evenly"
|
|
710
|
-
]),
|
|
711
|
-
"font-style": /* @__PURE__ */ new Set(["normal", "italic"]),
|
|
712
|
-
"text-align": /* @__PURE__ */ new Set(["left", "center", "right", "justify"]),
|
|
713
|
-
"text-transform": /* @__PURE__ */ new Set(["none", "uppercase", "lowercase", "capitalize"]),
|
|
714
|
-
"text-decoration-line": /* @__PURE__ */ new Set(["none", "underline", "line-through"]),
|
|
715
|
-
"border-style": /* @__PURE__ */ new Set(["solid", "dashed", "dotted", "none"]),
|
|
716
|
-
overflow: /* @__PURE__ */ new Set(["hidden", "visible"])
|
|
717
|
-
};
|
|
718
|
-
var CSS_COLORS = /* @__PURE__ */ new Set(["color", "background-color", "border-color"]);
|
|
719
|
-
var CSS_NUMBERS = /* @__PURE__ */ new Set(["opacity", "flex-grow", "flex-shrink", "font-weight"]);
|
|
720
|
-
var SHORTHAND_SIDES = ["Top", "Right", "Bottom", "Left"];
|
|
721
|
-
var FARM_NATIVE_STYLE_PROPERTIES = new Set(
|
|
722
|
-
[
|
|
723
|
-
...CSS_LENGTHS,
|
|
724
|
-
...CSS_COLORS,
|
|
725
|
-
...CSS_NUMBERS,
|
|
726
|
-
...Object.keys(CSS_KEYWORDS),
|
|
727
|
-
"padding",
|
|
728
|
-
"margin",
|
|
729
|
-
"flex",
|
|
730
|
-
"flex-wrap"
|
|
731
|
-
].map((property) => property.replace(/-([a-z])/g, (_, letter) => letter.toUpperCase()))
|
|
732
|
-
);
|
|
733
|
-
function camel(property) {
|
|
734
|
-
return property.replace(/-([a-z])/g, (_, letter) => letter.toUpperCase());
|
|
735
|
-
}
|
|
736
|
-
function cssColor(value) {
|
|
737
|
-
if (/^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(value)) return value.toLowerCase();
|
|
738
|
-
if (value === "transparent" || value === "currentcolor") {
|
|
739
|
-
return value === "currentcolor" ? "currentColor" : value;
|
|
740
|
-
}
|
|
741
|
-
const rgb = /^rgba?\((\d{1,3})[ ,]+(\d{1,3})[ ,]+(\d{1,3})(?:[ ,/]+([\d.]+%?))?\)$/i.exec(value);
|
|
742
|
-
if (!rgb) return value === "white" ? "#ffffff" : value === "black" ? "#000000" : void 0;
|
|
743
|
-
const hex = rgb.slice(1, 4).map((channel) => Math.min(255, Number(channel)).toString(16).padStart(2, "0")).join("");
|
|
744
|
-
if (rgb[4] === void 0) return `#${hex}`;
|
|
745
|
-
const alpha = rgb[4].endsWith("%") ? Number(rgb[4].slice(0, -1)) / 100 : Number(rgb[4]);
|
|
746
|
-
return `#${hex}${Math.round(Math.min(1, alpha) * 255).toString(16).padStart(2, "0")}`;
|
|
747
|
-
}
|
|
748
|
-
var IGNORED_PROPERTIES = /* @__PURE__ */ new Set([
|
|
749
|
-
// No effect on a static, touch-only screen, or the shell owns it.
|
|
750
|
-
"cursor",
|
|
751
|
-
"outline",
|
|
752
|
-
"outline-offset",
|
|
753
|
-
"user-select",
|
|
754
|
-
"-webkit-user-select",
|
|
755
|
-
"-webkit-tap-highlight-color",
|
|
756
|
-
"pointer-events",
|
|
757
|
-
"box-sizing",
|
|
758
|
-
"color-scheme",
|
|
759
|
-
"appearance",
|
|
760
|
-
"-webkit-appearance",
|
|
761
|
-
"transition",
|
|
762
|
-
"transition-property",
|
|
763
|
-
"transition-duration",
|
|
764
|
-
"transition-timing-function",
|
|
765
|
-
"will-change",
|
|
766
|
-
"-webkit-font-smoothing",
|
|
767
|
-
"-moz-osx-font-smoothing",
|
|
768
|
-
"text-rendering"
|
|
769
|
-
]);
|
|
770
|
-
var BORDER_STYLES = /* @__PURE__ */ new Set(["solid", "dashed", "dotted", "none"]);
|
|
771
|
-
function sides(property, values) {
|
|
772
|
-
const [top, right = top, bottom = top, left = right] = values;
|
|
773
|
-
const ordered = [top, right, bottom, left];
|
|
774
|
-
return Object.fromEntries(
|
|
775
|
-
SHORTHAND_SIDES.map((side, index) => [property.replace("*", side), ordered[index]])
|
|
776
|
-
);
|
|
777
|
-
}
|
|
778
|
-
function border(value, side) {
|
|
779
|
-
const keys = side ? [side] : SHORTHAND_SIDES;
|
|
780
|
-
if (value === "none" || value === "0")
|
|
781
|
-
return each(
|
|
782
|
-
keys.map((key) => `border${key}Width`),
|
|
783
|
-
0
|
|
784
|
-
);
|
|
785
|
-
let width;
|
|
786
|
-
let style;
|
|
787
|
-
let color2;
|
|
788
|
-
for (const part of value.split(/\s+(?![^(]*\))/)) {
|
|
789
|
-
if (BORDER_STYLES.has(part)) style = part;
|
|
790
|
-
else if (cssLength(part) !== void 0 && width === void 0) width = cssLength(part);
|
|
791
|
-
else if (part === "thin") width = 1;
|
|
792
|
-
else if (cssColor(part)) color2 = cssColor(part);
|
|
793
|
-
else return void 0;
|
|
794
|
-
}
|
|
795
|
-
return {
|
|
796
|
-
...each(
|
|
797
|
-
keys.map((key) => `border${key}Width`),
|
|
798
|
-
style === "none" ? 0 : _nullishCoalesce(width, () => ( 3))
|
|
799
|
-
),
|
|
800
|
-
...color2 ? each(
|
|
801
|
-
keys.map((key) => `border${key}Color`),
|
|
802
|
-
color2
|
|
803
|
-
) : {},
|
|
804
|
-
...style ? { borderStyle: style } : {}
|
|
805
|
-
};
|
|
806
|
-
}
|
|
807
|
-
function resolveFarmNativeDeclaration(property, value) {
|
|
808
|
-
if (IGNORED_PROPERTIES.has(property) || value === "inherit" || value === "unset") return null;
|
|
809
|
-
switch (property) {
|
|
810
|
-
case "padding":
|
|
811
|
-
case "margin": {
|
|
812
|
-
const parts = value.split(/\s+/).map(cssLength);
|
|
813
|
-
if (parts.length > 4 || parts.some((part) => part === void 0)) return void 0;
|
|
814
|
-
if (property === "padding" && parts.includes("auto")) return void 0;
|
|
815
|
-
return sides(`${property}*`, parts);
|
|
816
|
-
}
|
|
817
|
-
case "gap": {
|
|
818
|
-
const parts = value.split(/\s+/).map(cssLength);
|
|
819
|
-
if (parts.length > 2 || parts.some((part) => typeof part !== "number")) return void 0;
|
|
820
|
-
return { rowGap: parts[0], columnGap: _nullishCoalesce(parts[1], () => ( parts[0])) };
|
|
821
|
-
}
|
|
822
|
-
case "border-radius": {
|
|
823
|
-
const parts = value.split(/\s+/).map(cssLength);
|
|
824
|
-
if (parts.length > 4 || parts.some((part) => typeof part !== "number")) return void 0;
|
|
825
|
-
const [a, b = a, c = a, d = b] = parts;
|
|
826
|
-
return {
|
|
827
|
-
borderTopLeftRadius: a,
|
|
828
|
-
borderTopRightRadius: b,
|
|
829
|
-
borderBottomRightRadius: c,
|
|
830
|
-
borderBottomLeftRadius: d
|
|
831
|
-
};
|
|
832
|
-
}
|
|
833
|
-
case "border":
|
|
834
|
-
return border(value, "");
|
|
835
|
-
case "border-top":
|
|
836
|
-
case "border-right":
|
|
837
|
-
case "border-bottom":
|
|
838
|
-
case "border-left":
|
|
839
|
-
return border(value, property[7].toUpperCase() + property.slice(8));
|
|
840
|
-
case "background-color": {
|
|
841
|
-
const parsed = cssColor(value);
|
|
842
|
-
return parsed ? { backgroundColor: parsed } : void 0;
|
|
843
|
-
}
|
|
844
|
-
case "background": {
|
|
845
|
-
const parsed = cssColor(value);
|
|
846
|
-
if (parsed) return { backgroundColor: parsed };
|
|
847
|
-
return value.split(/\s+/).every((part) => /^(?:none|0(?:%|px)?)$/.test(part)) ? { backgroundColor: "transparent" } : void 0;
|
|
848
|
-
}
|
|
849
|
-
case "display":
|
|
850
|
-
if (value === "flex" || value === "inline-flex") return { display: "flex" };
|
|
851
|
-
if (value === "block" || value === "flow-root") return {};
|
|
852
|
-
return value === "none" ? { display: "none" } : void 0;
|
|
853
|
-
case "flex-wrap":
|
|
854
|
-
return value === "nowrap" ? {} : value === "wrap" ? { flexWrap: "wrap" } : void 0;
|
|
855
|
-
case "flex":
|
|
856
|
-
if (/^\d+$/.test(value)) return { flexGrow: Number(value), flexShrink: 1, flexBasis: 0 };
|
|
857
|
-
if (value === "none") return { flexGrow: 0, flexShrink: 0 };
|
|
858
|
-
if (value === "auto") return { flexGrow: 1, flexShrink: 1 };
|
|
859
|
-
return void 0;
|
|
860
|
-
case "font":
|
|
861
|
-
return void 0;
|
|
862
|
-
case "font-family":
|
|
863
|
-
return {
|
|
864
|
-
fontFamily: /mono/.test(value) ? "mono" : /(?:^|,\s*)serif\b|georgia|times/.test(value) ? "serif" : "sans"
|
|
865
|
-
};
|
|
866
|
-
case "font-weight":
|
|
867
|
-
if (value === "bold") return { fontWeight: 700 };
|
|
868
|
-
if (value === "normal") return { fontWeight: 400 };
|
|
869
|
-
return /^\d{3}$/.test(value) ? { fontWeight: Number(value) } : void 0;
|
|
870
|
-
case "line-height":
|
|
871
|
-
if (/^\d*\.?\d+$/.test(value)) return { lineHeightScale: Number(value) };
|
|
872
|
-
if (value === "normal") return null;
|
|
873
|
-
return typeof cssLength(value) === "number" ? { lineHeightPx: cssLength(value) } : void 0;
|
|
874
|
-
case "text-decoration":
|
|
875
|
-
case "text-decoration-line":
|
|
876
|
-
return CSS_KEYWORDS["text-decoration-line"].has(value) ? { textDecorationLine: value } : void 0;
|
|
877
|
-
case "list-style":
|
|
878
|
-
case "list-style-type":
|
|
879
|
-
return value === "none" ? null : void 0;
|
|
880
|
-
case "align-items":
|
|
881
|
-
case "align-self":
|
|
882
|
-
case "justify-content":
|
|
883
|
-
value = value === "start" ? "flex-start" : value === "end" ? "flex-end" : value;
|
|
884
|
-
break;
|
|
885
|
-
case "text-align":
|
|
886
|
-
value = value === "start" ? "left" : value === "end" ? "right" : value;
|
|
887
|
-
break;
|
|
888
|
-
}
|
|
889
|
-
if (CSS_LENGTHS.has(property)) {
|
|
890
|
-
const length = cssLength(value);
|
|
891
|
-
return length === void 0 ? void 0 : longhands({ [camel(property)]: length });
|
|
892
|
-
}
|
|
893
|
-
if (CSS_COLORS.has(property)) {
|
|
894
|
-
const parsed = cssColor(value);
|
|
895
|
-
return parsed ? longhands({ [camel(property)]: parsed }) : void 0;
|
|
896
|
-
}
|
|
897
|
-
if (CSS_NUMBERS.has(property)) {
|
|
898
|
-
return /^\d*\.?\d+$/.test(value) ? { [camel(property)]: Number(value) } : void 0;
|
|
899
|
-
}
|
|
900
|
-
if (_optionalChain([CSS_KEYWORDS, 'access', _2 => _2[property], 'optionalAccess', _3 => _3.has, 'call', _4 => _4(value)])) return { [camel(property)]: value };
|
|
901
|
-
return void 0;
|
|
902
|
-
}
|
|
903
|
-
function splitFarmCssDeclarations(css) {
|
|
904
|
-
const out = [];
|
|
905
|
-
let depth = 0;
|
|
906
|
-
let start = 0;
|
|
907
|
-
const push = (end) => {
|
|
908
|
-
const text = css.slice(start, end);
|
|
909
|
-
const colon = text.indexOf(":");
|
|
910
|
-
if (colon > 0) {
|
|
911
|
-
out.push([
|
|
912
|
-
text.slice(0, colon).trim().toLowerCase(),
|
|
913
|
-
text.slice(colon + 1).replace(/\s*!important\s*$/i, "").trim()
|
|
914
|
-
]);
|
|
915
|
-
}
|
|
916
|
-
};
|
|
917
|
-
for (let index = 0; index < css.length; index += 1) {
|
|
918
|
-
const char = css[index];
|
|
919
|
-
if (char === "(") depth += 1;
|
|
920
|
-
else if (char === ")") depth = Math.max(0, depth - 1);
|
|
921
|
-
else if (char === ";" && depth === 0) {
|
|
922
|
-
push(index);
|
|
923
|
-
start = index + 1;
|
|
924
|
-
}
|
|
925
|
-
}
|
|
926
|
-
push(css.length);
|
|
927
|
-
return out;
|
|
928
|
-
}
|
|
929
|
-
function resolveFarmNativeInlineStyle(css) {
|
|
930
|
-
const style = {};
|
|
931
|
-
const unsupported = [];
|
|
932
|
-
for (const [property, raw] of splitFarmCssDeclarations(css)) {
|
|
933
|
-
const value = raw.toLowerCase();
|
|
934
|
-
if (!property) continue;
|
|
935
|
-
const resolved = resolveFarmNativeDeclaration(property, value);
|
|
936
|
-
if (resolved) Object.assign(style, resolved);
|
|
937
|
-
else if (resolved === void 0) unsupported.push(`${property}: ${value}`);
|
|
938
|
-
}
|
|
939
|
-
return { style, unsupported };
|
|
940
|
-
}
|
|
941
|
-
function oklchToHex(value) {
|
|
942
|
-
const match = /^oklch\(\s*([\d.]+)(%?)\s+([\d.]+)\s+([\d.]+|none)(?:deg)?\s*(?:\/\s*([\d.]+)(%?))?\s*\)$/.exec(
|
|
943
|
-
value
|
|
944
|
-
);
|
|
945
|
-
if (!match) return void 0;
|
|
946
|
-
const l = Number(match[1]) / (match[2] ? 100 : 1);
|
|
947
|
-
const c = Number(match[3]);
|
|
948
|
-
const h = (match[4] === "none" ? 0 : Number(match[4])) * Math.PI / 180;
|
|
949
|
-
const a = c * Math.cos(h);
|
|
950
|
-
const b = c * Math.sin(h);
|
|
951
|
-
const l_ = (l + 0.3963377774 * a + 0.2158037573 * b) ** 3;
|
|
952
|
-
const m_ = (l - 0.1055613458 * a - 0.0638541728 * b) ** 3;
|
|
953
|
-
const s_ = (l - 0.0894841775 * a - 1.291485548 * b) ** 3;
|
|
954
|
-
const linear = [
|
|
955
|
-
4.0767416621 * l_ - 3.3077115913 * m_ + 0.2309699292 * s_,
|
|
956
|
-
-1.2684380046 * l_ + 2.6097574011 * m_ - 0.3413193965 * s_,
|
|
957
|
-
-0.0041960863 * l_ - 0.7034186147 * m_ + 1.707614701 * s_
|
|
958
|
-
];
|
|
959
|
-
const hex = linear.map((channel) => {
|
|
960
|
-
const clamped = Math.min(1, Math.max(0, channel));
|
|
961
|
-
const gamma = clamped <= 31308e-7 ? 12.92 * clamped : 1.055 * clamped ** (1 / 2.4) - 0.055;
|
|
962
|
-
return Math.round(gamma * 255).toString(16).padStart(2, "0");
|
|
963
|
-
}).join("");
|
|
964
|
-
if (match[5] === void 0) return `#${hex}`;
|
|
965
|
-
const alpha = Number(match[5]) / (match[6] ? 100 : 1);
|
|
966
|
-
return `#${hex}${Math.round(Math.min(1, alpha) * 255).toString(16).padStart(2, "0")}`;
|
|
967
|
-
}
|
|
968
|
-
function themeColor(value) {
|
|
969
|
-
const parsed = cssColor(value.toLowerCase());
|
|
970
|
-
if (parsed && parsed !== "currentColor") return parsed;
|
|
971
|
-
return oklchToHex(value.toLowerCase());
|
|
972
|
-
}
|
|
973
|
-
function themeLength(value) {
|
|
974
|
-
const length = cssLength(value.trim());
|
|
975
|
-
return typeof length === "number" ? length : void 0;
|
|
976
|
-
}
|
|
977
|
-
function createFarmNativeTheme(declarations, vars = {
|
|
978
|
-
light: {},
|
|
979
|
-
dark: {}
|
|
980
|
-
}) {
|
|
981
|
-
const theme = {
|
|
982
|
-
spacing: DEFAULT_THEME.spacing,
|
|
983
|
-
colors: { ...DEFAULT_THEME.colors },
|
|
984
|
-
darkColors: {},
|
|
985
|
-
text: { ...DEFAULT_THEME.text },
|
|
986
|
-
fontWeight: { ...DEFAULT_THEME.fontWeight },
|
|
987
|
-
tracking: { ...DEFAULT_THEME.tracking },
|
|
988
|
-
leading: { ...DEFAULT_THEME.leading },
|
|
989
|
-
radius: { ...DEFAULT_THEME.radius },
|
|
990
|
-
container: { ...DEFAULT_THEME.container }
|
|
991
|
-
};
|
|
992
|
-
const namespaces = [
|
|
993
|
-
["color-", "colors"],
|
|
994
|
-
["text-", "text"],
|
|
995
|
-
["font-weight-", "fontWeight"],
|
|
996
|
-
["tracking-", "tracking"],
|
|
997
|
-
["leading-", "leading"],
|
|
998
|
-
["radius-", "radius"],
|
|
999
|
-
["container-", "container"]
|
|
1000
|
-
];
|
|
1001
|
-
const resolve = (value, scheme, depth = 0) => {
|
|
1002
|
-
const reference = /^var\(\s*(--[\w-]+)\s*(?:,\s*(.+))?\)$/.exec(value.trim());
|
|
1003
|
-
if (!reference) return value.trim();
|
|
1004
|
-
if (depth > 8) return void 0;
|
|
1005
|
-
const name = reference[1];
|
|
1006
|
-
const next = _nullishCoalesce((scheme === "dark" ? _nullishCoalesce(vars.dark[name], () => ( vars.light[name])) : vars.light[name]), () => ( reference[2]));
|
|
1007
|
-
return next === void 0 ? void 0 : resolve(next, scheme, depth + 1);
|
|
1008
|
-
};
|
|
1009
|
-
const lineHeights = [];
|
|
1010
|
-
for (const [rawName, value] of declarations) {
|
|
1011
|
-
const name = rawName.replace(/^--/, "");
|
|
1012
|
-
if (value.trim() === "initial") {
|
|
1013
|
-
if (name === "*") {
|
|
1014
|
-
for (const [, key] of namespaces) theme[key] = {};
|
|
1015
|
-
continue;
|
|
1016
|
-
}
|
|
1017
|
-
for (const [prefix, key] of namespaces) {
|
|
1018
|
-
if (!name.startsWith(prefix)) continue;
|
|
1019
|
-
const rest2 = name.slice(prefix.length);
|
|
1020
|
-
const values = theme[key];
|
|
1021
|
-
if (rest2.endsWith("*")) {
|
|
1022
|
-
for (const entry of Object.keys(values)) {
|
|
1023
|
-
if (entry.startsWith(rest2.slice(0, -1))) delete values[entry];
|
|
1024
|
-
}
|
|
1025
|
-
} else delete values[rest2];
|
|
1026
|
-
}
|
|
1027
|
-
continue;
|
|
1028
|
-
}
|
|
1029
|
-
const light = resolve(value, "light");
|
|
1030
|
-
if (name === "spacing") {
|
|
1031
|
-
const px = light === void 0 ? void 0 : themeLength(light);
|
|
1032
|
-
if (px !== void 0) theme.spacing = px;
|
|
1033
|
-
continue;
|
|
1034
|
-
}
|
|
1035
|
-
if (name.startsWith("color-")) {
|
|
1036
|
-
const key = name.slice(6);
|
|
1037
|
-
const color2 = light === void 0 ? void 0 : themeColor(light);
|
|
1038
|
-
const darkValue = resolve(value, "dark");
|
|
1039
|
-
const dark = darkValue === void 0 ? void 0 : themeColor(darkValue);
|
|
1040
|
-
delete theme.colors[key];
|
|
1041
|
-
delete theme.darkColors[key];
|
|
1042
|
-
if (color2) theme.colors[key] = color2;
|
|
1043
|
-
if (color2 && dark && dark !== color2) theme.darkColors[key] = dark;
|
|
1044
|
-
continue;
|
|
1045
|
-
}
|
|
1046
|
-
const lineHeight = /^text-(.+)--line-height$/.exec(name);
|
|
1047
|
-
if (lineHeight) {
|
|
1048
|
-
if (light !== void 0) lineHeights.push([lineHeight[1], light]);
|
|
1049
|
-
continue;
|
|
1050
|
-
}
|
|
1051
|
-
if (name.startsWith("text-") && !name.includes("--")) {
|
|
1052
|
-
const px = light === void 0 ? void 0 : themeLength(light);
|
|
1053
|
-
const key = name.slice(5);
|
|
1054
|
-
if (px === void 0) delete theme.text[key];
|
|
1055
|
-
else theme.text[key] = [px, _nullishCoalesce(_optionalChain([theme, 'access', _5 => _5.text, 'access', _6 => _6[key], 'optionalAccess', _7 => _7[1]]), () => ( Number.NaN))];
|
|
1056
|
-
continue;
|
|
1057
|
-
}
|
|
1058
|
-
const numeric = [
|
|
1059
|
-
["font-weight-", "fontWeight"],
|
|
1060
|
-
["leading-", "leading"]
|
|
1061
|
-
];
|
|
1062
|
-
const number = numeric.find(([prefix]) => name.startsWith(prefix));
|
|
1063
|
-
if (number) {
|
|
1064
|
-
const parsed = light === void 0 ? Number.NaN : Number(light);
|
|
1065
|
-
const key = name.slice(number[0].length);
|
|
1066
|
-
if (Number.isFinite(parsed)) theme[number[1]][key] = parsed;
|
|
1067
|
-
else delete theme[number[1]][key];
|
|
1068
|
-
continue;
|
|
1069
|
-
}
|
|
1070
|
-
if (name.startsWith("tracking-")) {
|
|
1071
|
-
const em = light === void 0 ? void 0 : /^(-?[\d.]+)em$/.exec(light.trim());
|
|
1072
|
-
const key = name.slice(9);
|
|
1073
|
-
if (em) theme.tracking[key] = Number(em[1]);
|
|
1074
|
-
else delete theme.tracking[key];
|
|
1075
|
-
continue;
|
|
1076
|
-
}
|
|
1077
|
-
for (const [prefix, key] of [
|
|
1078
|
-
["radius-", "radius"],
|
|
1079
|
-
["container-", "container"]
|
|
1080
|
-
]) {
|
|
1081
|
-
if (!name.startsWith(prefix)) continue;
|
|
1082
|
-
const px = light === void 0 ? void 0 : themeLength(light);
|
|
1083
|
-
if (px === void 0) delete theme[key][name.slice(prefix.length)];
|
|
1084
|
-
else theme[key][name.slice(prefix.length)] = px;
|
|
1085
|
-
}
|
|
1086
|
-
}
|
|
1087
|
-
for (const [size2, value] of lineHeights) {
|
|
1088
|
-
const text = theme.text[size2];
|
|
1089
|
-
if (!text) continue;
|
|
1090
|
-
const calc = /^calc\(\s*([\d.]+)\s*\/\s*([\d.]+)\s*\)$/.exec(value.trim());
|
|
1091
|
-
const ratio = calc ? Number(calc[1]) / Number(calc[2]) : Number(value);
|
|
1092
|
-
const px = Number.isFinite(ratio) ? Math.round(ratio * text[0] * 1e3) / 1e3 : themeLength(value);
|
|
1093
|
-
if (px !== void 0) theme.text[size2] = [text[0], px];
|
|
1094
|
-
}
|
|
1095
|
-
const { darkColors, ...rest } = theme;
|
|
1096
|
-
return Object.keys(darkColors).length > 0 ? { ...rest, darkColors } : rest;
|
|
1097
|
-
}
|
|
1098
|
-
|
|
1099
|
-
// src/mobile/native-css.ts
|
|
1100
|
-
var IGNORED_PSEUDO = /^:(?:hover|focus|focus-visible|focus-within|active|visited|target|checked|placeholder-shown|disabled|enabled|empty)$/;
|
|
1101
|
-
var DROPPED_AT_RULES = /^@(?:font-face|keyframes|-webkit-keyframes|property|page|import|charset|namespace|tailwind|config|plugin|source|custom-variant|variant|utility|theme)\b/;
|
|
1102
|
-
function stripComments(css) {
|
|
1103
|
-
return css.replace(/\/\*[\s\S]*?\*\//g, "");
|
|
1104
|
-
}
|
|
1105
|
-
function splitList(text) {
|
|
1106
|
-
const parts = [];
|
|
1107
|
-
let depth = 0;
|
|
1108
|
-
let start = 0;
|
|
1109
|
-
for (let index = 0; index < text.length; index += 1) {
|
|
1110
|
-
const char = text[index];
|
|
1111
|
-
if (char === "(" || char === "[") depth += 1;
|
|
1112
|
-
else if (char === ")" || char === "]") depth -= 1;
|
|
1113
|
-
else if (char === "," && depth === 0) {
|
|
1114
|
-
parts.push(text.slice(start, index).trim());
|
|
1115
|
-
start = index + 1;
|
|
1116
|
-
}
|
|
1117
|
-
}
|
|
1118
|
-
parts.push(text.slice(start).trim());
|
|
1119
|
-
return parts.filter(Boolean);
|
|
1120
|
-
}
|
|
1121
|
-
function parseCompound(text) {
|
|
1122
|
-
const compound = { classes: [], attributes: [], positions: [] };
|
|
1123
|
-
const token = /([a-zA-Z][\w-]*|\*)|#([\w-]+)|\.([\w-]+)|\[([\w-]+)(?:([~|^$*]?=)["']?([^"'\]]*)["']?)?\]|(::?[\w-]+)(\([^)]*\))?/gy;
|
|
1124
|
-
let match;
|
|
1125
|
-
let index = 0;
|
|
1126
|
-
while (index < text.length) {
|
|
1127
|
-
token.lastIndex = index;
|
|
1128
|
-
match = token.exec(text);
|
|
1129
|
-
if (!match) return void 0;
|
|
1130
|
-
index = token.lastIndex;
|
|
1131
|
-
if (match[1]) {
|
|
1132
|
-
if (match[1] !== "*") compound.tag = match[1].toLowerCase();
|
|
1133
|
-
} else if (match[2]) compound.id = match[2];
|
|
1134
|
-
else if (match[3]) compound.classes.push(match[3]);
|
|
1135
|
-
else if (match[4]) {
|
|
1136
|
-
if (match[5] && match[5] !== "=") return void 0;
|
|
1137
|
-
compound.attributes.push({ name: match[4].toLowerCase(), value: match[6] });
|
|
1138
|
-
} else if (match[7]) {
|
|
1139
|
-
if (match[8]) return void 0;
|
|
1140
|
-
if (match[7] === ":first-child" || match[7] === ":last-child") {
|
|
1141
|
-
compound.positions.push(match[7].slice(1));
|
|
1142
|
-
} else if (match[7] === ":root") compound.tag = "html";
|
|
1143
|
-
else if (IGNORED_PSEUDO.test(match[7])) return null;
|
|
1144
|
-
else return void 0;
|
|
1145
|
-
}
|
|
1146
|
-
}
|
|
1147
|
-
return compound;
|
|
1148
|
-
}
|
|
1149
|
-
function parseSelector(text) {
|
|
1150
|
-
const steps = [];
|
|
1151
|
-
let specificity = 0;
|
|
1152
|
-
const parts = text.replace(/\s*([>+~])\s*/g, " $1 ").trim().split(/\s+/);
|
|
1153
|
-
let combinator;
|
|
1154
|
-
for (let index = parts.length - 1; index >= 0; index -= 1) {
|
|
1155
|
-
const part = parts[index];
|
|
1156
|
-
if (part === ">" || part === "+" || part === "~") {
|
|
1157
|
-
combinator = part;
|
|
1158
|
-
continue;
|
|
1159
|
-
}
|
|
1160
|
-
const compound = parseCompound(part);
|
|
1161
|
-
if (compound === null) return null;
|
|
1162
|
-
if (compound === void 0) return void 0;
|
|
1163
|
-
if (steps.length > 0) steps[steps.length - 1].combinator = _nullishCoalesce(combinator, () => ( " "));
|
|
1164
|
-
steps.push({ compound });
|
|
1165
|
-
combinator = void 0;
|
|
1166
|
-
specificity += (compound.id ? 1e4 : 0) + (compound.classes.length + compound.attributes.length + compound.positions.length) * 100 + (compound.tag ? 1 : 0);
|
|
1167
|
-
}
|
|
1168
|
-
return steps.length > 0 ? { steps, specificity } : void 0;
|
|
1169
|
-
}
|
|
1170
|
-
function parseFarmNativeStylesheet(css) {
|
|
1171
|
-
const sheet = {
|
|
1172
|
-
rules: [],
|
|
1173
|
-
unknown: [],
|
|
1174
|
-
vars: { light: {}, dark: {} },
|
|
1175
|
-
layered: /* @__PURE__ */ new Set()
|
|
1176
|
-
};
|
|
1177
|
-
let order = 0;
|
|
1178
|
-
const walk = (text, context) => {
|
|
1179
|
-
let index = 0;
|
|
1180
|
-
while (index < text.length) {
|
|
1181
|
-
const open = text.indexOf("{", index);
|
|
1182
|
-
const semicolon = text.indexOf(";", index);
|
|
1183
|
-
if (open < 0) break;
|
|
1184
|
-
if (semicolon >= 0 && semicolon < open) {
|
|
1185
|
-
index = semicolon + 1;
|
|
1186
|
-
continue;
|
|
1187
|
-
}
|
|
1188
|
-
const prelude = text.slice(index, open).trim();
|
|
1189
|
-
let depth = 1;
|
|
1190
|
-
let close = open + 1;
|
|
1191
|
-
while (close < text.length && depth > 0) {
|
|
1192
|
-
if (text[close] === "{") depth += 1;
|
|
1193
|
-
else if (text[close] === "}") depth -= 1;
|
|
1194
|
-
close += 1;
|
|
1195
|
-
}
|
|
1196
|
-
const body = text.slice(open + 1, close - 1);
|
|
1197
|
-
index = close;
|
|
1198
|
-
if (prelude.startsWith("@")) {
|
|
1199
|
-
if (DROPPED_AT_RULES.test(prelude)) continue;
|
|
1200
|
-
if (/^@layer\b/.test(prelude)) {
|
|
1201
|
-
walk(body, { ...context, layered: true });
|
|
1202
|
-
} else if (/^@media\b/.test(prelude)) {
|
|
1203
|
-
const query = prelude.slice(6).trim();
|
|
1204
|
-
if (/^\(\s*prefers-color-scheme:\s*dark\s*\)$/.test(query))
|
|
1205
|
-
walk(body, { ...context, dark: true });
|
|
1206
|
-
else if (/^\(\s*prefers-color-scheme:\s*light\s*\)$/.test(query))
|
|
1207
|
-
walk(body, { ...context, light: true });
|
|
1208
|
-
else walk(body, { ...context, unknownMedia: prelude });
|
|
1209
|
-
} else if (/^@supports\b/.test(prelude)) {
|
|
1210
|
-
walk(body, context);
|
|
1211
|
-
} else {
|
|
1212
|
-
walk(body, { ...context, unknownMedia: prelude });
|
|
1213
|
-
}
|
|
1214
|
-
continue;
|
|
1215
|
-
}
|
|
1216
|
-
const declarations = splitFarmCssDeclarations(body);
|
|
1217
|
-
const applies = /@apply\b/.test(body);
|
|
1218
|
-
for (const text2 of splitList(prelude)) {
|
|
1219
|
-
const selector = parseSelector(text2);
|
|
1220
|
-
if (selector === null) continue;
|
|
1221
|
-
const subject = _optionalChain([selector, 'optionalAccess', _8 => _8.steps, 'access', _9 => _9[0], 'access', _10 => _10.compound]);
|
|
1222
|
-
if (context.layered) {
|
|
1223
|
-
for (const name of _nullishCoalesce(_optionalChain([subject, 'optionalAccess', _11 => _11.classes]), () => ( []))) sheet.layered.add(name);
|
|
1224
|
-
continue;
|
|
1225
|
-
}
|
|
1226
|
-
if (selector && selector.steps.length === 1 && _optionalChain([subject, 'optionalAccess', _12 => _12.tag]) === "html" && !subject.classes.length) {
|
|
1227
|
-
for (const [property, value] of declarations) {
|
|
1228
|
-
if (property.startsWith("--")) {
|
|
1229
|
-
(context.dark ? sheet.vars.dark : sheet.vars.light)[property] = value;
|
|
1230
|
-
}
|
|
1231
|
-
}
|
|
1232
|
-
}
|
|
1233
|
-
if (!selector || context.unknownMedia || applies) {
|
|
1234
|
-
const fallback = /(?:^|[\s>+~])([a-zA-Z][\w-]*)?((?:[.#:[][^\s>+~]*)?)$/.exec(text2);
|
|
1235
|
-
sheet.unknown.push({
|
|
1236
|
-
classes: [...(_nullishCoalesce(_optionalChain([fallback, 'optionalAccess', _13 => _13[2]]), () => ( ""))).matchAll(/\.([\w-]+)/g)].map((match) => match[1]),
|
|
1237
|
-
tag: _optionalChain([fallback, 'optionalAccess', _14 => _14[1], 'optionalAccess', _15 => _15.toLowerCase, 'call', _16 => _16()]),
|
|
1238
|
-
text: context.unknownMedia ? `${context.unknownMedia} ${text2}` : applies ? `${text2} { @apply }` : text2
|
|
1239
|
-
});
|
|
1240
|
-
continue;
|
|
1241
|
-
}
|
|
1242
|
-
if (context.light) continue;
|
|
1243
|
-
const own = declarations.filter(([property]) => !property.startsWith("--"));
|
|
1244
|
-
if (own.length > 0) {
|
|
1245
|
-
sheet.rules.push({
|
|
1246
|
-
selector,
|
|
1247
|
-
text: text2,
|
|
1248
|
-
declarations: own,
|
|
1249
|
-
dark: context.dark,
|
|
1250
|
-
order: order++
|
|
1251
|
-
});
|
|
1252
|
-
}
|
|
1253
|
-
}
|
|
1254
|
-
}
|
|
1255
|
-
};
|
|
1256
|
-
walk(stripComments(css), {});
|
|
1257
|
-
return sheet;
|
|
1258
|
-
}
|
|
1259
|
-
function classesOf(element) {
|
|
1260
|
-
return (_nullishCoalesce(element.attributes.class, () => ( ""))).split(/\s+/).filter(Boolean);
|
|
1261
|
-
}
|
|
1262
|
-
function matchesCompound(compound, element) {
|
|
1263
|
-
if (compound.tag && compound.tag !== element.tag) return false;
|
|
1264
|
-
if (compound.id && element.attributes.id !== compound.id) return false;
|
|
1265
|
-
if (compound.classes.length > 0) {
|
|
1266
|
-
const classes = classesOf(element);
|
|
1267
|
-
if (!compound.classes.every((name) => classes.includes(name))) return false;
|
|
1268
|
-
}
|
|
1269
|
-
for (const attribute of compound.attributes) {
|
|
1270
|
-
const value = attribute.name === "data-farm-shell" && element.tag === "html" ? _nullishCoalesce(element.attributes[attribute.name], () => ( "android")) : element.attributes[attribute.name];
|
|
1271
|
-
if (value === void 0) return false;
|
|
1272
|
-
if (attribute.value !== void 0 && value !== attribute.value) return false;
|
|
1273
|
-
}
|
|
1274
|
-
for (const position of compound.positions) {
|
|
1275
|
-
if (position === "first-child" && element.previous) return false;
|
|
1276
|
-
if (position === "last-child" && !element.last) return false;
|
|
1277
|
-
}
|
|
1278
|
-
return true;
|
|
1279
|
-
}
|
|
1280
|
-
function matches(selector, element) {
|
|
1281
|
-
const step = (index, target) => {
|
|
1282
|
-
if (!target) return false;
|
|
1283
|
-
const { compound, combinator } = selector.steps[index];
|
|
1284
|
-
if (!matchesCompound(compound, target)) return false;
|
|
1285
|
-
if (index === selector.steps.length - 1) return true;
|
|
1286
|
-
switch (combinator) {
|
|
1287
|
-
case ">":
|
|
1288
|
-
return step(index + 1, target.parent);
|
|
1289
|
-
case "+":
|
|
1290
|
-
return step(index + 1, target.previous);
|
|
1291
|
-
case "~":
|
|
1292
|
-
for (let sibling = target.previous; sibling; sibling = sibling.previous) {
|
|
1293
|
-
if (step(index + 1, sibling)) return true;
|
|
1294
|
-
}
|
|
1295
|
-
return false;
|
|
1296
|
-
default:
|
|
1297
|
-
for (let ancestor = target.parent; ancestor; ancestor = ancestor.parent) {
|
|
1298
|
-
if (step(index + 1, ancestor)) return true;
|
|
1299
|
-
}
|
|
1300
|
-
return false;
|
|
1301
|
-
}
|
|
1302
|
-
};
|
|
1303
|
-
return step(0, element);
|
|
1304
|
-
}
|
|
1305
|
-
function substitute(value, vars, depth = 0) {
|
|
1306
|
-
if (!value.includes("var(")) return value;
|
|
1307
|
-
if (depth > 8) return void 0;
|
|
1308
|
-
let missing = false;
|
|
1309
|
-
const replaced = value.replace(
|
|
1310
|
-
/var\(\s*(--[\w-]+)\s*(?:,\s*([^()]*(?:\([^()]*\))?[^()]*))?\)/g,
|
|
1311
|
-
(_, name, fallback) => {
|
|
1312
|
-
const resolved = _nullishCoalesce(vars[name], () => ( _optionalChain([fallback, 'optionalAccess', _17 => _17.trim, 'call', _18 => _18()])));
|
|
1313
|
-
if (resolved === void 0) {
|
|
1314
|
-
missing = true;
|
|
1315
|
-
return "";
|
|
1316
|
-
}
|
|
1317
|
-
return resolved;
|
|
1318
|
-
}
|
|
1319
|
-
);
|
|
1320
|
-
return missing ? void 0 : substitute(replaced, vars, depth + 1);
|
|
1321
|
-
}
|
|
1322
|
-
function cascadeFarmNativeStylesheets(sheets, element) {
|
|
1323
|
-
const style = {};
|
|
1324
|
-
const dark = {};
|
|
1325
|
-
const unsupported = [];
|
|
1326
|
-
const classes = classesOf(element);
|
|
1327
|
-
const matched = [];
|
|
1328
|
-
sheets.forEach((sheet, index) => {
|
|
1329
|
-
for (const rule of sheet.rules) {
|
|
1330
|
-
if (matches(rule.selector, element)) matched.push({ rule, sheet, index });
|
|
1331
|
-
}
|
|
1332
|
-
for (const unknown of sheet.unknown) {
|
|
1333
|
-
const touches = unknown.classes.some((name) => classes.includes(name)) || unknown.classes.length === 0 && unknown.tag === element.tag;
|
|
1334
|
-
if (touches) unsupported.push(`selector "${unknown.text}"`);
|
|
1335
|
-
}
|
|
1336
|
-
});
|
|
1337
|
-
matched.sort(
|
|
1338
|
-
(left, right) => left.rule.selector.specificity - right.rule.selector.specificity || left.index - right.index || left.rule.order - right.rule.order
|
|
1339
|
-
);
|
|
1340
|
-
for (const { rule, sheet } of matched) {
|
|
1341
|
-
for (const [property, raw] of rule.declarations) {
|
|
1342
|
-
const themes = rule.dark ? [dark] : [style, dark];
|
|
1343
|
-
for (const target of themes) {
|
|
1344
|
-
const vars = target === dark ? { ...sheet.vars.light, ...sheet.vars.dark } : sheet.vars.light;
|
|
1345
|
-
const value = substitute(raw, vars);
|
|
1346
|
-
const resolved = value === void 0 ? void 0 : resolveFarmNativeDeclaration(property, value.toLowerCase().trim());
|
|
1347
|
-
if (resolved === void 0) {
|
|
1348
|
-
const message = `${property}: ${raw}`;
|
|
1349
|
-
if (!unsupported.includes(message)) unsupported.push(message);
|
|
1350
|
-
break;
|
|
1351
|
-
}
|
|
1352
|
-
if (resolved) Object.assign(target, resolved);
|
|
1353
|
-
}
|
|
1354
|
-
}
|
|
1355
|
-
}
|
|
1356
|
-
for (const key of Object.keys(dark)) {
|
|
1357
|
-
if (dark[key] === style[key]) delete dark[key];
|
|
1358
|
-
}
|
|
1359
|
-
const layered = classes.filter((name) => sheets.some((sheet) => sheet.layered.has(name)));
|
|
1360
|
-
return { style, dark, unsupported, layered };
|
|
1361
|
-
}
|
|
1362
|
-
function inspectFarmNativeStylesheets(sheets, target) {
|
|
1363
|
-
const problems = [];
|
|
1364
|
-
let styled = false;
|
|
1365
|
-
const touches = (compound, subject) => "class" in target ? compound.classes.includes(target.class) : subject && compound.tag === target.tag && compound.classes.length === 0;
|
|
1366
|
-
for (const sheet of sheets) {
|
|
1367
|
-
for (const rule of sheet.rules) {
|
|
1368
|
-
if (!rule.selector.steps.some((step, index) => touches(step.compound, index === 0))) continue;
|
|
1369
|
-
styled = true;
|
|
1370
|
-
for (const [property, raw] of rule.declarations) {
|
|
1371
|
-
for (const vars of [sheet.vars.light, { ...sheet.vars.light, ...sheet.vars.dark }]) {
|
|
1372
|
-
const value = substitute(raw, vars);
|
|
1373
|
-
if (value === void 0 || resolveFarmNativeDeclaration(property, value.toLowerCase().trim()) === void 0) {
|
|
1374
|
-
const message = `"${rule.text} { ${property}: ${raw} }" has no native-tier style`;
|
|
1375
|
-
if (!problems.includes(message)) problems.push(message);
|
|
1376
|
-
break;
|
|
1377
|
-
}
|
|
1378
|
-
}
|
|
1379
|
-
}
|
|
1380
|
-
}
|
|
1381
|
-
for (const unknown of sheet.unknown) {
|
|
1382
|
-
const hit = "class" in target ? unknown.classes.includes(target.class) : unknown.classes.length === 0 && unknown.tag === target.tag;
|
|
1383
|
-
if (hit) {
|
|
1384
|
-
styled = true;
|
|
1385
|
-
problems.push(`"${unknown.text}" is CSS the native tier cannot apply`);
|
|
1386
|
-
}
|
|
1387
|
-
}
|
|
1388
|
-
}
|
|
1389
|
-
return { styled, problems };
|
|
1390
|
-
}
|
|
1391
|
-
function cascadeFarmNativeStylesheetsForElement(sheets, element, contextClasses = /* @__PURE__ */ new Set()) {
|
|
1392
|
-
const { tag, classes = [] } = element;
|
|
1393
|
-
const problems = [];
|
|
1394
|
-
const inherit = /* @__PURE__ */ new Set();
|
|
1395
|
-
const problem = (message) => {
|
|
1396
|
-
if (!problems.includes(message)) problems.push(message);
|
|
1397
|
-
};
|
|
1398
|
-
for (const sheet of sheets) {
|
|
1399
|
-
for (const rule of sheet.rules) {
|
|
1400
|
-
const [subject, ...context] = rule.selector.steps;
|
|
1401
|
-
const compound = subject.compound;
|
|
1402
|
-
if (compound.tag && compound.tag !== tag || compound.classes.some((name) => !classes.includes(name))) {
|
|
1403
|
-
continue;
|
|
1404
|
-
}
|
|
1405
|
-
const unreachable = context.some(
|
|
1406
|
-
(step) => step.compound.classes.length > 0 && step.compound.classes.some((name) => !contextClasses.has(name))
|
|
1407
|
-
);
|
|
1408
|
-
if (unreachable) continue;
|
|
1409
|
-
const shellOnly = tag === "html" && compound.attributes.every((attribute) => attribute.name === "data-farm-shell");
|
|
1410
|
-
if (context.length > 0 || compound.id || compound.positions.length > 0 || compound.attributes.length > 0 && !shellOnly) {
|
|
1411
|
-
problem(`"${rule.text}" depends on where <${tag}> renders`);
|
|
1412
|
-
continue;
|
|
1413
|
-
}
|
|
1414
|
-
for (const [property, value] of rule.declarations) {
|
|
1415
|
-
if (value.trim().toLowerCase() !== "inherit") continue;
|
|
1416
|
-
for (const key of _nullishCoalesce(INHERITABLE[property], () => ( []))) inherit.add(key);
|
|
1417
|
-
}
|
|
1418
|
-
}
|
|
1419
|
-
for (const unknown of sheet.unknown) {
|
|
1420
|
-
const touches = unknown.classes.length > 0 ? unknown.classes.some((name) => classes.includes(name)) : !unknown.tag || unknown.tag === tag;
|
|
1421
|
-
if (touches) problem(`"${unknown.text}" is CSS a port cannot apply`);
|
|
1422
|
-
}
|
|
1423
|
-
}
|
|
1424
|
-
const { style, dark, unsupported } = cascadeFarmNativeStylesheets(sheets, {
|
|
1425
|
-
tag,
|
|
1426
|
-
attributes: {
|
|
1427
|
-
...tag === "html" ? { "data-farm-shell": "" } : {},
|
|
1428
|
-
...classes.length > 0 ? { class: classes.join(" ") } : {}
|
|
1429
|
-
}
|
|
1430
|
-
});
|
|
1431
|
-
for (const message of unsupported) problem(`<${tag}> ${message}`);
|
|
1432
|
-
return { style, dark, inherit: [...inherit].sort(), problems };
|
|
1433
|
-
}
|
|
1434
|
-
var INHERITABLE = {
|
|
1435
|
-
font: ["fontFamily", "fontSize", "fontStyle", "fontWeight", "lineHeight"],
|
|
1436
|
-
"font-family": ["fontFamily"],
|
|
1437
|
-
"font-size": ["fontSize"],
|
|
1438
|
-
"font-style": ["fontStyle"],
|
|
1439
|
-
"font-weight": ["fontWeight"],
|
|
1440
|
-
"line-height": ["lineHeight"],
|
|
1441
|
-
"letter-spacing": ["letterSpacing"],
|
|
1442
|
-
color: ["color"],
|
|
1443
|
-
"text-align": ["textAlign"]
|
|
1444
|
-
};
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
exports.FARM_NATIVE_TEXT_KEYS = FARM_NATIVE_TEXT_KEYS; exports.farmNativeClassProblem = farmNativeClassProblem; exports.resolveFarmNativeClasses = resolveFarmNativeClasses; exports.FARM_NATIVE_STYLE_PROPERTIES = FARM_NATIVE_STYLE_PROPERTIES; exports.resolveFarmNativeInlineStyle = resolveFarmNativeInlineStyle; exports.createFarmNativeTheme = createFarmNativeTheme; exports.parseFarmNativeStylesheet = parseFarmNativeStylesheet; exports.cascadeFarmNativeStylesheets = cascadeFarmNativeStylesheets; exports.inspectFarmNativeStylesheets = inspectFarmNativeStylesheets; exports.cascadeFarmNativeStylesheetsForElement = cascadeFarmNativeStylesheetsForElement;
|