@akashjs/runtime 0.2.6 → 0.2.7
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/a11y.cjs +2 -0
- package/dist/a11y.cjs.map +1 -0
- package/dist/a11y.d.cts +99 -0
- package/dist/a11y.d.ts +99 -0
- package/dist/a11y.js +2 -0
- package/dist/a11y.js.map +1 -0
- package/dist/async-component.cjs +2 -0
- package/dist/async-component.cjs.map +1 -0
- package/dist/async-component.d.cts +44 -0
- package/dist/async-component.d.ts +44 -0
- package/dist/async-component.js +2 -0
- package/dist/async-component.js.map +1 -0
- package/dist/await-block.cjs +2 -0
- package/dist/await-block.cjs.map +1 -0
- package/dist/await-block.d.cts +37 -0
- package/dist/await-block.d.ts +37 -0
- package/dist/await-block.js +2 -0
- package/dist/await-block.js.map +1 -0
- package/dist/browser.cjs +2 -0
- package/dist/browser.cjs.map +1 -0
- package/dist/browser.d.cts +125 -0
- package/dist/browser.d.ts +125 -0
- package/dist/browser.js +2 -0
- package/dist/browser.js.map +1 -0
- package/dist/chunk-2HLDEWRT.cjs +2 -0
- package/dist/chunk-2HLDEWRT.cjs.map +1 -0
- package/dist/{chunk-2U643GJZ.cjs → chunk-2LKFIID7.cjs} +2 -2
- package/dist/{chunk-2U643GJZ.cjs.map → chunk-2LKFIID7.cjs.map} +1 -1
- package/dist/chunk-34PQECMN.cjs +2 -0
- package/dist/chunk-34PQECMN.cjs.map +1 -0
- package/dist/chunk-36VM3RJW.cjs +2 -0
- package/dist/chunk-36VM3RJW.cjs.map +1 -0
- package/dist/chunk-3PGU24B5.cjs +3 -0
- package/dist/chunk-3PGU24B5.cjs.map +1 -0
- package/dist/chunk-3XREYIJH.cjs +2 -0
- package/dist/chunk-3XREYIJH.cjs.map +1 -0
- package/dist/chunk-45DPEU7T.cjs +2 -0
- package/dist/chunk-45DPEU7T.cjs.map +1 -0
- package/dist/chunk-4J3QBQVW.js +4 -0
- package/dist/chunk-4J3QBQVW.js.map +1 -0
- package/dist/{chunk-2Q6SYE5O.cjs → chunk-4NQEIKH5.cjs} +2 -2
- package/dist/{chunk-2Q6SYE5O.cjs.map → chunk-4NQEIKH5.cjs.map} +1 -1
- package/dist/chunk-5QCWH6QA.cjs +4 -0
- package/dist/chunk-5QCWH6QA.cjs.map +1 -0
- package/dist/chunk-6O46EMQS.cjs +2 -0
- package/dist/chunk-6O46EMQS.cjs.map +1 -0
- package/dist/chunk-7IJUJUXE.cjs +2 -0
- package/dist/chunk-7IJUJUXE.cjs.map +1 -0
- package/dist/chunk-7UX5CSGZ.cjs +2 -0
- package/dist/chunk-7UX5CSGZ.cjs.map +1 -0
- package/dist/chunk-7VBH4F3P.js +2 -0
- package/dist/chunk-7VBH4F3P.js.map +1 -0
- package/dist/chunk-7ZPSYZHD.cjs +2 -0
- package/dist/chunk-7ZPSYZHD.cjs.map +1 -0
- package/dist/chunk-AOFLE33X.js +5 -0
- package/dist/chunk-AOFLE33X.js.map +1 -0
- package/dist/chunk-AQQQVDBQ.cjs +2 -0
- package/dist/chunk-AQQQVDBQ.cjs.map +1 -0
- package/dist/chunk-AXB5GHGO.js +2 -0
- package/dist/chunk-AXB5GHGO.js.map +1 -0
- package/dist/chunk-AZCELE44.cjs +2 -0
- package/dist/chunk-AZCELE44.cjs.map +1 -0
- package/dist/chunk-BB7P6HTR.js +2 -0
- package/dist/chunk-BB7P6HTR.js.map +1 -0
- package/dist/chunk-BGSF77LF.js +2 -0
- package/dist/chunk-BGSF77LF.js.map +1 -0
- package/dist/chunk-BHP3UTTQ.cjs +3 -0
- package/dist/chunk-BHP3UTTQ.cjs.map +1 -0
- package/dist/chunk-CP6SK2B4.js +2 -0
- package/dist/{chunk-5NHDEY2C.js.map → chunk-CP6SK2B4.js.map} +1 -1
- package/dist/chunk-DFYXFKCH.cjs +2 -0
- package/dist/chunk-DFYXFKCH.cjs.map +1 -0
- package/dist/chunk-DHFVVFZF.cjs +2 -0
- package/dist/chunk-DHFVVFZF.cjs.map +1 -0
- package/dist/chunk-DP7G45QM.cjs +13 -0
- package/dist/chunk-DP7G45QM.cjs.map +1 -0
- package/dist/chunk-E6RB7PRO.js +2 -0
- package/dist/chunk-E6RB7PRO.js.map +1 -0
- package/dist/chunk-F4FXIPR3.js +2 -0
- package/dist/chunk-F4FXIPR3.js.map +1 -0
- package/dist/chunk-F6VSSM2P.js +2 -0
- package/dist/chunk-F6VSSM2P.js.map +1 -0
- package/dist/chunk-FUVSCPU4.cjs +2 -0
- package/dist/chunk-FUVSCPU4.cjs.map +1 -0
- package/dist/chunk-FVF3T4JJ.js +2 -0
- package/dist/chunk-FVF3T4JJ.js.map +1 -0
- package/dist/chunk-FVWHMFX6.cjs +5 -0
- package/dist/chunk-FVWHMFX6.cjs.map +1 -0
- package/dist/chunk-IHEW6F2H.js +2 -0
- package/dist/chunk-IHEW6F2H.js.map +1 -0
- package/dist/chunk-IJS2EMSE.js +2 -0
- package/dist/chunk-IJS2EMSE.js.map +1 -0
- package/dist/chunk-IKVHLORY.cjs +11 -0
- package/dist/chunk-IKVHLORY.cjs.map +1 -0
- package/dist/chunk-IQGSDFBI.cjs +2 -0
- package/dist/chunk-IQGSDFBI.cjs.map +1 -0
- package/dist/chunk-J6KDUWX6.cjs +2 -0
- package/dist/chunk-J6KDUWX6.cjs.map +1 -0
- package/dist/chunk-JD3LDHUI.cjs +2 -0
- package/dist/chunk-JD3LDHUI.cjs.map +1 -0
- package/dist/chunk-JEYTB4AG.js +2 -0
- package/dist/chunk-JEYTB4AG.js.map +1 -0
- package/dist/chunk-JFLZJPVN.js +2 -0
- package/dist/chunk-JFLZJPVN.js.map +1 -0
- package/dist/chunk-JLPJ22CE.js +2 -0
- package/dist/chunk-JLPJ22CE.js.map +1 -0
- package/dist/chunk-JQCN42XX.js +2 -0
- package/dist/chunk-JQCN42XX.js.map +1 -0
- package/dist/chunk-K2HB5VFA.cjs +2 -0
- package/dist/chunk-K2HB5VFA.cjs.map +1 -0
- package/dist/chunk-K7TMUF3F.cjs +2 -0
- package/dist/chunk-K7TMUF3F.cjs.map +1 -0
- package/dist/chunk-KE7BJTCD.js +2 -0
- package/dist/chunk-KE7BJTCD.js.map +1 -0
- package/dist/chunk-KMEGUPH2.js +3 -0
- package/dist/chunk-KMEGUPH2.js.map +1 -0
- package/dist/chunk-KUPL3ZVD.js +2 -0
- package/dist/chunk-KUPL3ZVD.js.map +1 -0
- package/dist/chunk-L3ZZX36S.js +2 -0
- package/dist/chunk-L3ZZX36S.js.map +1 -0
- package/dist/chunk-LD4C62JY.cjs +2 -0
- package/dist/chunk-LD4C62JY.cjs.map +1 -0
- package/dist/chunk-LWQPLKL6.cjs +20 -0
- package/dist/chunk-LWQPLKL6.cjs.map +1 -0
- package/dist/chunk-M5IACTFC.cjs +17 -0
- package/dist/chunk-M5IACTFC.cjs.map +1 -0
- package/dist/chunk-MADMPRT2.js +20 -0
- package/dist/chunk-MADMPRT2.js.map +1 -0
- package/dist/chunk-MDHWM3C2.js +2 -0
- package/dist/chunk-MDHWM3C2.js.map +1 -0
- package/dist/chunk-N3ITIHHM.js +5 -0
- package/dist/chunk-N3ITIHHM.js.map +1 -0
- package/dist/chunk-N5APNCPB.js +2 -0
- package/dist/chunk-N5APNCPB.js.map +1 -0
- package/dist/{chunk-U53YRJNV.js → chunk-NBYFHJWB.js} +3 -3
- package/dist/{chunk-U53YRJNV.js.map → chunk-NBYFHJWB.js.map} +1 -1
- package/dist/chunk-NCXMNJUN.js +2 -0
- package/dist/chunk-NCXMNJUN.js.map +1 -0
- package/dist/chunk-NEQ5TENE.cjs +2 -0
- package/dist/chunk-NEQ5TENE.cjs.map +1 -0
- package/dist/chunk-NGU2W4PD.cjs +2 -0
- package/dist/chunk-NGU2W4PD.cjs.map +1 -0
- package/dist/{chunk-ZYVQQ5VR.cjs → chunk-NHDYQTC5.cjs} +3 -3
- package/dist/{chunk-ZYVQQ5VR.cjs.map → chunk-NHDYQTC5.cjs.map} +1 -1
- package/dist/chunk-NJXXC5JB.js +2 -0
- package/dist/chunk-NJXXC5JB.js.map +1 -0
- package/dist/chunk-NQEY7DR5.cjs +2 -0
- package/dist/chunk-NQEY7DR5.cjs.map +1 -0
- package/dist/chunk-OQV3NYDH.js +3 -0
- package/dist/chunk-OQV3NYDH.js.map +1 -0
- package/dist/chunk-OZ4GNBKA.js +2 -0
- package/dist/chunk-OZ4GNBKA.js.map +1 -0
- package/dist/chunk-PPNEAFKE.cjs +5 -0
- package/dist/chunk-PPNEAFKE.cjs.map +1 -0
- package/dist/chunk-PYASLKWF.js +2 -0
- package/dist/chunk-PYASLKWF.js.map +1 -0
- package/dist/chunk-Q6S7SUOM.js +2 -0
- package/dist/chunk-Q6S7SUOM.js.map +1 -0
- package/dist/chunk-QE2TJ6P5.cjs +2 -0
- package/dist/chunk-QE2TJ6P5.cjs.map +1 -0
- package/dist/chunk-QNVMBXVH.js +2 -0
- package/dist/chunk-QNVMBXVH.js.map +1 -0
- package/dist/chunk-QQ725EZL.js +2 -0
- package/dist/chunk-QQ725EZL.js.map +1 -0
- package/dist/chunk-QQTZQ6UX.cjs +2 -0
- package/dist/chunk-QQTZQ6UX.cjs.map +1 -0
- package/dist/{chunk-AVVJKYT3.cjs → chunk-QSPRVXFV.cjs} +2 -2
- package/dist/{chunk-AVVJKYT3.cjs.map → chunk-QSPRVXFV.cjs.map} +1 -1
- package/dist/chunk-QTQ6RUX4.cjs +5 -0
- package/dist/chunk-QTQ6RUX4.cjs.map +1 -0
- package/dist/chunk-R65RPMQX.cjs +2 -0
- package/dist/chunk-R65RPMQX.cjs.map +1 -0
- package/dist/chunk-R7NUVVHP.js +2 -0
- package/dist/{chunk-5A7KDBDU.js.map → chunk-R7NUVVHP.js.map} +1 -1
- package/dist/chunk-SXYPAP4B.js +2 -0
- package/dist/chunk-SXYPAP4B.js.map +1 -0
- package/dist/chunk-T2RVAQEU.js +2 -0
- package/dist/chunk-T2RVAQEU.js.map +1 -0
- package/dist/chunk-T7A5YOEG.cjs +2 -0
- package/dist/chunk-T7A5YOEG.cjs.map +1 -0
- package/dist/chunk-TDKDZ3QJ.cjs +2 -0
- package/dist/chunk-TDKDZ3QJ.cjs.map +1 -0
- package/dist/chunk-TFEHO7SF.cjs +2 -0
- package/dist/chunk-TFEHO7SF.cjs.map +1 -0
- package/dist/chunk-TSFY5HKB.js +17 -0
- package/dist/chunk-TSFY5HKB.js.map +1 -0
- package/dist/chunk-TYTEJYUQ.cjs +2 -0
- package/dist/chunk-TYTEJYUQ.cjs.map +1 -0
- package/dist/chunk-TZHEZW6R.js +11 -0
- package/dist/chunk-TZHEZW6R.js.map +1 -0
- package/dist/chunk-U65WRXZC.js +13 -0
- package/dist/chunk-U65WRXZC.js.map +1 -0
- package/dist/chunk-UT4MWGJ3.js +2 -0
- package/dist/chunk-UT4MWGJ3.js.map +1 -0
- package/dist/chunk-V2JDKH3W.cjs +2 -0
- package/dist/chunk-V2JDKH3W.cjs.map +1 -0
- package/dist/chunk-VNDSKBXQ.cjs +2 -0
- package/dist/chunk-VNDSKBXQ.cjs.map +1 -0
- package/dist/chunk-VO4FCKHM.js +2 -0
- package/dist/chunk-VO4FCKHM.js.map +1 -0
- package/dist/chunk-VUMMC2P5.js +2 -0
- package/dist/chunk-VUMMC2P5.js.map +1 -0
- package/dist/chunk-VUSNUBNI.js +2 -0
- package/dist/chunk-VUSNUBNI.js.map +1 -0
- package/dist/chunk-VWTULWXF.js +2 -0
- package/dist/{chunk-TKFJGLUO.js.map → chunk-VWTULWXF.js.map} +1 -1
- package/dist/chunk-VX7PSSOU.js +5 -0
- package/dist/chunk-VX7PSSOU.js.map +1 -0
- package/dist/chunk-WLSXJU2N.js +13 -0
- package/dist/chunk-WLSXJU2N.js.map +1 -0
- package/dist/chunk-WOZWFMOK.cjs +2 -0
- package/dist/chunk-WOZWFMOK.cjs.map +1 -0
- package/dist/chunk-WTDTVWCQ.cjs +2 -0
- package/dist/chunk-WTDTVWCQ.cjs.map +1 -0
- package/dist/chunk-WZ5ULION.js +2 -0
- package/dist/chunk-WZ5ULION.js.map +1 -0
- package/dist/chunk-XPLIEN2G.cjs +13 -0
- package/dist/chunk-XPLIEN2G.cjs.map +1 -0
- package/dist/chunk-XWVNLE2W.cjs +2 -0
- package/dist/chunk-XWVNLE2W.cjs.map +1 -0
- package/dist/chunk-XZR3J626.cjs +2 -0
- package/dist/chunk-XZR3J626.cjs.map +1 -0
- package/dist/chunk-YDO5KARN.js +2 -0
- package/dist/chunk-YDO5KARN.js.map +1 -0
- package/dist/chunk-YURIYBTN.cjs +2 -0
- package/dist/chunk-YURIYBTN.cjs.map +1 -0
- package/dist/chunk-YXKQTEPR.js +2 -0
- package/dist/chunk-YXKQTEPR.js.map +1 -0
- package/dist/chunk-Z6K4FYG6.js +2 -0
- package/dist/chunk-Z6K4FYG6.js.map +1 -0
- package/dist/chunk-ZJULEDLY.js +2 -0
- package/dist/chunk-ZJULEDLY.js.map +1 -0
- package/dist/{component-C1WnFcRp.d.ts → component-CPVtkASo.d.ts} +2 -3
- package/dist/{component-C1WnFcRp.d.cts → component-CxlupKuc.d.cts} +2 -3
- package/dist/composables.cjs +2 -0
- package/dist/composables.cjs.map +1 -0
- package/dist/composables.d.cts +103 -0
- package/dist/composables.d.ts +103 -0
- package/dist/composables.js +2 -0
- package/dist/composables.js.map +1 -0
- package/dist/{context-CB1mCq2h.d.cts → context-Cwt7QCpk.d.cts} +1 -9
- package/dist/{context-CB1mCq2h.d.ts → context-Cwt7QCpk.d.ts} +1 -9
- package/dist/core.cjs +1 -1
- package/dist/core.d.cts +5 -4
- package/dist/core.d.ts +5 -4
- package/dist/core.js +1 -1
- package/dist/css.cjs +2 -0
- package/dist/css.cjs.map +1 -0
- package/dist/css.d.cts +42 -0
- package/dist/css.d.ts +42 -0
- package/dist/css.js +2 -0
- package/dist/css.js.map +1 -0
- package/dist/data-table.cjs +2 -0
- package/dist/data-table.cjs.map +1 -0
- package/dist/data-table.d.cts +97 -0
- package/dist/data-table.d.ts +97 -0
- package/dist/data-table.js +2 -0
- package/dist/data-table.js.map +1 -0
- package/dist/deep-signal.cjs +2 -0
- package/dist/deep-signal.cjs.map +1 -0
- package/dist/deep-signal.d.cts +48 -0
- package/dist/deep-signal.d.ts +48 -0
- package/dist/deep-signal.js +2 -0
- package/dist/deep-signal.js.map +1 -0
- package/dist/defer.cjs +2 -0
- package/dist/defer.cjs.map +1 -0
- package/dist/defer.d.cts +55 -0
- package/dist/defer.d.ts +55 -0
- package/dist/defer.js +2 -0
- package/dist/defer.js.map +1 -0
- package/dist/deprecation.cjs +2 -0
- package/dist/deprecation.cjs.map +1 -0
- package/dist/deprecation.d.cts +119 -0
- package/dist/deprecation.d.ts +119 -0
- package/dist/deprecation.js +2 -0
- package/dist/deprecation.js.map +1 -0
- package/dist/{devtools-overlay-CJWKBTP4.js → devtools-overlay-3WRM6GKM.js} +3 -3
- package/dist/{devtools-overlay-CJWKBTP4.js.map → devtools-overlay-3WRM6GKM.js.map} +1 -1
- package/dist/{devtools-overlay-EQ3G755P.cjs → devtools-overlay-WJGSIB4N.cjs} +4 -4
- package/dist/{devtools-overlay-EQ3G755P.cjs.map → devtools-overlay-WJGSIB4N.cjs.map} +1 -1
- package/dist/devtools.cjs +2 -0
- package/dist/devtools.cjs.map +1 -0
- package/dist/devtools.d.cts +78 -0
- package/dist/devtools.d.ts +78 -0
- package/dist/devtools.js +2 -0
- package/dist/devtools.js.map +1 -0
- package/dist/di.cjs +2 -0
- package/dist/di.cjs.map +1 -0
- package/dist/di.d.cts +93 -0
- package/dist/di.d.ts +93 -0
- package/dist/di.js +2 -0
- package/dist/di.js.map +1 -0
- package/dist/directive.cjs +2 -0
- package/dist/directive.cjs.map +1 -0
- package/dist/directive.d.cts +102 -0
- package/dist/directive.d.ts +102 -0
- package/dist/directive.js +2 -0
- package/dist/directive.js.map +1 -0
- package/dist/error-boundary.cjs +2 -0
- package/dist/error-boundary.cjs.map +1 -0
- package/dist/error-boundary.d.cts +17 -0
- package/dist/error-boundary.d.ts +17 -0
- package/dist/error-boundary.js +2 -0
- package/dist/error-boundary.js.map +1 -0
- package/dist/error-hints.cjs +2 -0
- package/dist/error-hints.cjs.map +1 -0
- package/dist/error-hints.d.cts +17 -0
- package/dist/error-hints.d.ts +17 -0
- package/dist/error-hints.js +2 -0
- package/dist/error-hints.js.map +1 -0
- package/dist/errors.cjs +2 -0
- package/dist/errors.cjs.map +1 -0
- package/dist/errors.d.cts +35 -0
- package/dist/errors.d.ts +35 -0
- package/dist/errors.js +2 -0
- package/dist/errors.js.map +1 -0
- package/dist/event-bus.cjs +2 -0
- package/dist/event-bus.cjs.map +1 -0
- package/dist/event-bus.d.cts +68 -0
- package/dist/event-bus.d.ts +68 -0
- package/dist/event-bus.js +2 -0
- package/dist/event-bus.js.map +1 -0
- package/dist/event-modifiers.cjs +2 -0
- package/dist/event-modifiers.cjs.map +1 -0
- package/dist/event-modifiers.d.cts +130 -0
- package/dist/event-modifiers.d.ts +130 -0
- package/dist/event-modifiers.js +2 -0
- package/dist/event-modifiers.js.map +1 -0
- package/dist/flip.cjs +2 -0
- package/dist/flip.cjs.map +1 -0
- package/dist/flip.d.cts +66 -0
- package/dist/flip.d.ts +66 -0
- package/dist/flip.js +2 -0
- package/dist/flip.js.map +1 -0
- package/dist/head.cjs +2 -0
- package/dist/head.cjs.map +1 -0
- package/dist/head.d.cts +70 -0
- package/dist/head.d.ts +70 -0
- package/dist/head.js +2 -0
- package/dist/head.js.map +1 -0
- package/dist/hydration.cjs +2 -0
- package/dist/hydration.cjs.map +1 -0
- package/dist/hydration.d.cts +84 -0
- package/dist/hydration.d.ts +84 -0
- package/dist/hydration.js +2 -0
- package/dist/hydration.js.map +1 -0
- package/dist/image.cjs +2 -0
- package/dist/image.cjs.map +1 -0
- package/dist/image.d.cts +54 -0
- package/dist/image.d.ts +54 -0
- package/dist/image.js +2 -0
- package/dist/image.js.map +1 -0
- package/dist/index.cjs +1 -63
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +50 -3155
- package/dist/index.d.ts +50 -3155
- package/dist/index.js +1 -63
- package/dist/index.js.map +1 -1
- package/dist/infinite-scroll.cjs +2 -0
- package/dist/infinite-scroll.cjs.map +1 -0
- package/dist/infinite-scroll.d.cts +49 -0
- package/dist/infinite-scroll.d.ts +49 -0
- package/dist/infinite-scroll.js +2 -0
- package/dist/infinite-scroll.js.map +1 -0
- package/dist/leak-detector.cjs +2 -0
- package/dist/leak-detector.cjs.map +1 -0
- package/dist/leak-detector.d.cts +71 -0
- package/dist/leak-detector.d.ts +71 -0
- package/dist/leak-detector.js +2 -0
- package/dist/leak-detector.js.map +1 -0
- package/dist/machine.cjs +1 -1
- package/dist/machine.d.cts +1 -1
- package/dist/machine.d.ts +1 -1
- package/dist/machine.js +1 -1
- package/dist/offline.cjs +1 -1
- package/dist/offline.d.cts +1 -1
- package/dist/offline.d.ts +1 -1
- package/dist/offline.js +1 -1
- package/dist/perf.cjs +2 -0
- package/dist/perf.cjs.map +1 -0
- package/dist/perf.d.cts +97 -0
- package/dist/perf.d.ts +97 -0
- package/dist/perf.js +2 -0
- package/dist/perf.js.map +1 -0
- package/dist/pipes.cjs +2 -0
- package/dist/pipes.cjs.map +1 -0
- package/dist/pipes.d.cts +130 -0
- package/dist/pipes.d.ts +130 -0
- package/dist/pipes.js +2 -0
- package/dist/pipes.js.map +1 -0
- package/dist/plugin.cjs +2 -0
- package/dist/plugin.cjs.map +1 -0
- package/dist/plugin.d.cts +70 -0
- package/dist/plugin.d.ts +70 -0
- package/dist/plugin.js +2 -0
- package/dist/plugin.js.map +1 -0
- package/dist/portal.cjs +2 -0
- package/dist/portal.cjs.map +1 -0
- package/dist/portal.d.cts +30 -0
- package/dist/portal.d.ts +30 -0
- package/dist/portal.js +2 -0
- package/dist/portal.js.map +1 -0
- package/dist/pwa.cjs +1 -1
- package/dist/pwa.d.cts +1 -1
- package/dist/pwa.d.ts +1 -1
- package/dist/pwa.js +1 -1
- package/dist/query-state.cjs +2 -0
- package/dist/query-state.cjs.map +1 -0
- package/dist/query-state.d.cts +82 -0
- package/dist/query-state.d.ts +82 -0
- package/dist/query-state.js +2 -0
- package/dist/query-state.js.map +1 -0
- package/dist/reconcile.cjs +2 -0
- package/dist/reconcile.cjs.map +1 -0
- package/dist/reconcile.d.cts +42 -0
- package/dist/reconcile.d.ts +42 -0
- package/dist/reconcile.js +2 -0
- package/dist/reconcile.js.map +1 -0
- package/dist/scheduler-CKi1esN-.d.cts +9 -0
- package/dist/scheduler-CKi1esN-.d.ts +9 -0
- package/dist/security.cjs +2 -0
- package/dist/security.cjs.map +1 -0
- package/dist/security.d.cts +193 -0
- package/dist/security.d.ts +193 -0
- package/dist/security.js +2 -0
- package/dist/security.js.map +1 -0
- package/dist/seo.cjs +2 -0
- package/dist/seo.cjs.map +1 -0
- package/dist/seo.d.cts +118 -0
- package/dist/seo.d.ts +118 -0
- package/dist/seo.js +2 -0
- package/dist/seo.js.map +1 -0
- package/dist/{signals-C7XfOHHR.d.cts → signals-DionyGGY.d.cts} +7 -0
- package/dist/{signals-C7XfOHHR.d.ts → signals-DionyGGY.d.ts} +7 -0
- package/dist/snippets.cjs +2 -0
- package/dist/snippets.cjs.map +1 -0
- package/dist/snippets.d.cts +109 -0
- package/dist/snippets.d.ts +109 -0
- package/dist/snippets.js +2 -0
- package/dist/snippets.js.map +1 -0
- package/dist/ssg.cjs +2 -0
- package/dist/ssg.cjs.map +1 -0
- package/dist/ssg.d.cts +82 -0
- package/dist/ssg.d.ts +82 -0
- package/dist/ssg.js +2 -0
- package/dist/ssg.js.map +1 -0
- package/dist/ssr.cjs +1 -1
- package/dist/ssr.d.cts +2 -1
- package/dist/ssr.d.ts +2 -1
- package/dist/ssr.js +1 -1
- package/dist/store.cjs +1 -1
- package/dist/store.d.cts +1 -1
- package/dist/store.d.ts +1 -1
- package/dist/store.js +1 -1
- package/dist/suspense.cjs +2 -0
- package/dist/suspense.cjs.map +1 -0
- package/dist/suspense.d.cts +36 -0
- package/dist/suspense.d.ts +36 -0
- package/dist/suspense.js +2 -0
- package/dist/suspense.js.map +1 -0
- package/dist/switch.cjs +2 -0
- package/dist/switch.cjs.map +1 -0
- package/dist/switch.d.cts +48 -0
- package/dist/switch.d.ts +48 -0
- package/dist/switch.js +2 -0
- package/dist/switch.js.map +1 -0
- package/dist/sync.cjs +1 -1
- package/dist/sync.d.cts +1 -1
- package/dist/sync.d.ts +1 -1
- package/dist/sync.js +1 -1
- package/dist/test.cjs +2 -2
- package/dist/test.cjs.map +1 -1
- package/dist/test.d.cts +5 -4
- package/dist/test.d.ts +5 -4
- package/dist/test.js +2 -2
- package/dist/test.js.map +1 -1
- package/dist/theme.cjs +2 -0
- package/dist/theme.cjs.map +1 -0
- package/dist/theme.d.cts +56 -0
- package/dist/theme.d.ts +56 -0
- package/dist/theme.js +2 -0
- package/dist/theme.js.map +1 -0
- package/dist/toast.cjs +2 -0
- package/dist/toast.cjs.map +1 -0
- package/dist/toast.d.cts +66 -0
- package/dist/toast.d.ts +66 -0
- package/dist/toast.js +2 -0
- package/dist/toast.js.map +1 -0
- package/dist/transition.cjs +2 -0
- package/dist/transition.cjs.map +1 -0
- package/dist/transition.d.cts +90 -0
- package/dist/transition.d.ts +90 -0
- package/dist/transition.js +2 -0
- package/dist/transition.js.map +1 -0
- package/dist/tweened.cjs +2 -0
- package/dist/tweened.cjs.map +1 -0
- package/dist/tweened.d.cts +59 -0
- package/dist/tweened.d.ts +59 -0
- package/dist/tweened.js +2 -0
- package/dist/tweened.js.map +1 -0
- package/dist/types-DjZCk1xT.d.cts +4 -0
- package/dist/types-DjZCk1xT.d.ts +4 -0
- package/dist/view-transition.cjs +2 -0
- package/dist/view-transition.cjs.map +1 -0
- package/dist/view-transition.d.cts +80 -0
- package/dist/view-transition.d.ts +80 -0
- package/dist/view-transition.js +2 -0
- package/dist/view-transition.js.map +1 -0
- package/dist/virtual-list.cjs +2 -0
- package/dist/virtual-list.cjs.map +1 -0
- package/dist/virtual-list.d.cts +67 -0
- package/dist/virtual-list.d.ts +67 -0
- package/dist/virtual-list.js +2 -0
- package/dist/virtual-list.js.map +1 -0
- package/dist/watch.cjs +2 -0
- package/dist/watch.cjs.map +1 -0
- package/dist/watch.d.cts +70 -0
- package/dist/watch.d.ts +70 -0
- package/dist/watch.js +2 -0
- package/dist/watch.js.map +1 -0
- package/dist/web-component.cjs +2 -0
- package/dist/web-component.cjs.map +1 -0
- package/dist/web-component.d.cts +51 -0
- package/dist/web-component.d.ts +51 -0
- package/dist/web-component.js +2 -0
- package/dist/web-component.js.map +1 -0
- package/package.json +249 -11
- package/dist/chunk-35DJOBEO.cjs +0 -2
- package/dist/chunk-35DJOBEO.cjs.map +0 -1
- package/dist/chunk-3GRR4VW2.js +0 -13
- package/dist/chunk-3GRR4VW2.js.map +0 -1
- package/dist/chunk-5A7KDBDU.js +0 -2
- package/dist/chunk-5NHDEY2C.js +0 -2
- package/dist/chunk-6GGYM5SF.cjs +0 -5
- package/dist/chunk-6GGYM5SF.cjs.map +0 -1
- package/dist/chunk-EEILP4OL.cjs +0 -13
- package/dist/chunk-EEILP4OL.cjs.map +0 -1
- package/dist/chunk-FTTNKDZQ.js +0 -5
- package/dist/chunk-FTTNKDZQ.js.map +0 -1
- package/dist/chunk-H2HNKYN2.js +0 -2
- package/dist/chunk-H2HNKYN2.js.map +0 -1
- package/dist/chunk-TKFJGLUO.js +0 -2
package/dist/index.js
CHANGED
|
@@ -1,64 +1,2 @@
|
|
|
1
|
-
export{a as
|
|
2
|
-
.${e}-enter-active,
|
|
3
|
-
.${e}-exit-active {
|
|
4
|
-
transition: ${n} ${r} ${o};
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.${e}-enter-from,
|
|
8
|
-
.${e}-exit-to {
|
|
9
|
-
opacity: 0;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.${e}-enter-to,
|
|
13
|
-
.${e}-exit-from {
|
|
14
|
-
opacity: 1;
|
|
15
|
-
}
|
|
16
|
-
`.trim()}var ne=[];function Rn(){let e=ne;return ne=[],e}function On(e){if(!e||e.length===0)return "";let t="",n=e.reduce((o,s)=>s.title??o,""),r=e.reduce((o,s)=>s.titleTemplate??o,"");if(n){let o=r?r.replace("%s",n):n;t+=`<title>${o}</title>
|
|
17
|
-
`;}for(let o of e)for(let s of o.meta??[])t+=" <meta",s.name&&(t+=` name="${s.name}"`),s.property&&(t+=` property="${s.property}"`),s.httpEquiv&&(t+=` http-equiv="${s.httpEquiv}"`),t+=` content="${s.content}"`,t+=` />
|
|
18
|
-
`;for(let o of e)for(let s of o.link??[])t+=` <link rel="${s.rel}" href="${s.href}"`,s.type&&(t+=` type="${s.type}"`),t+=` />
|
|
19
|
-
`;return t}var te="data-akash-head";function _(e){let t=typeof e=="function"?e:()=>e;if(typeof document>"u")return ne.push(t()),()=>{};let n$1=[],r=n(()=>{let s=t();for(let i of n$1)i.remove();if(n$1.length=0,s.title){let i=s.titleTemplate?s.titleTemplate.replace("%s",s.title):s.title;document.title=i;}for(let i of s.meta??[]){let a=document.createElement("meta");a.setAttribute(te,""),i.name&&a.setAttribute("name",i.name),i.property&&a.setAttribute("property",i.property),i.httpEquiv&&a.setAttribute("http-equiv",i.httpEquiv),a.setAttribute("content",i.content),document.head.appendChild(a),n$1.push(a);}for(let i of s.link??[]){let a=document.createElement("link");a.setAttribute(te,""),a.setAttribute("rel",i.rel),a.setAttribute("href",i.href),i.type&&a.setAttribute("type",i.type),document.head.appendChild(a),n$1.push(a);}for(let i of s.script??[]){let a=document.createElement("script");a.setAttribute(te,""),i.src&&a.setAttribute("src",i.src),i.type&&a.setAttribute("type",i.type),i.async&&a.setAttribute("async",""),i.defer&&a.setAttribute("defer",""),i.innerHTML&&(a.textContent=i.innerHTML),document.head.appendChild(a),n$1.push(a);}if(s.htmlAttrs)for(let[i,a]of Object.entries(s.htmlAttrs))document.documentElement.setAttribute(i,a);if(s.bodyAttrs)for(let[i,a]of Object.entries(s.bodyAttrs))document.body.setAttribute(i,a);}),o=()=>{r();for(let s of n$1)s.remove();n$1.length=0;};try{y(o);}catch{}return o}function Dn(e){return e}function Ln(e,t){let n=[],r=[],o=[],s={},i=null,a=null,c={provide(u,l){h(u,l);},onError(u){r.push(u);},onBeforeMount(u){o.push(u);},config:s},d={use(u){return n.push(u),d},config(u,l){return s[u]=l,d},mount(u){if(a=typeof u=="string"?document.querySelector(u):u,!a)throw new Error(`[AkashJS] Mount target not found: ${u}`);for(let l of n)l.setup(c);for(let l of o)l();try{i=e(t??{}),a.appendChild(i);}catch(l){let p=l instanceof Error?l:new Error(String(l));if(r.length>0)for(let f of r)f(p);else throw p}},unmount(){i&&a&&(a.removeChild(i),i=null);}};return d}function Mn(e,t){let n=l(0),r=l(t?.immediate!==false),o=null;function s(){i(),o=setInterval(()=>n.update(a=>a+1),e);}function i(){o&&(clearInterval(o),o=null);}return r()&&s(),{count:(()=>n()),isActive:(()=>r()),pause(){r.set(false),i();},resume(){r.set(true),s();},reset(){n.set(0);},dispose(){i();}}}function In(e){let t=l(false),n=null;function r(){o(),t.set(false),n=setTimeout(()=>t.set(true),e);}function o(){n&&(clearTimeout(n),n=null);}return r(),{ready:(()=>t()),restart(){r();},dispose(){o();}}}function Hn(e,t){let n$1=l(e()),r=null;return n(()=>{let o=e();return r&&clearTimeout(r),r=setTimeout(()=>n$1.set(o),t),()=>{r&&clearTimeout(r);}}),(()=>n$1())}function jn(e,t){let n$1=l(e()),r=0,o=null;return n(()=>{let s=e(),i=Date.now(),a=i-r;return a>=t?(n$1.set(s),r=i):(o&&clearTimeout(o),o=setTimeout(()=>{n$1.set(s),r=Date.now();},t-a)),()=>{o&&clearTimeout(o);}}),(()=>n$1())}function _n(e=0,t){let n=t?.min??-1/0,r=t?.max??1/0,o=i=>Math.min(r,Math.max(n,i)),s=l(o(e));return {count:(()=>s()),inc(i=1){s.update(a=>o(a+i));},dec(i=1){s.update(a=>o(a-i));},set(i){s.set(o(i));},reset(){s.set(o(e));}}}function Fn(e=false){let t=l(e);return {value:(()=>t()),toggle(){t.update(n=>!n);},setTrue(){t.set(true);},setFalse(){t.set(false);}}}function Nn(e){let t,n$1=l(void 0);return n(()=>{let r=e();n$1.set(t),t=r;}),(()=>n$1())}function $n(e){if(typeof window>"u")return(()=>false);let t=window.matchMedia(e),n=l(t.matches),r=o=>n.set(o.matches);return t.addEventListener("change",r),(()=>n())}var Kn={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function Vn(e=Kn){let t=Object.entries(e).sort((i,a)=>i[1]-a[1]),n=l(typeof window<"u"?window.innerWidth:1024);if(typeof window<"u"){let i=()=>n.set(window.innerWidth);window.addEventListener("resize",i,{passive:true});}function r(){let i=n(),a="";for(let[c,d]of t)i>=d&&(a=c);return a||t[0]?.[0]||""}function o(i){let a=e[i];return a!==void 0&&n()>=a}function s(i){let a=e[i];return a!==void 0&&n()<a}return {current:r,gte:o,lt:s,width:(()=>n())}}function zn(e,t,n$1="local"){let r=typeof window<"u"?n$1==="local"?localStorage:sessionStorage:null,o=t;if(r)try{let i=r.getItem(e);i!==null&&(o=JSON.parse(i));}catch{}let s=l(o);return r&&(n(()=>{let i=s();try{r.setItem(e,JSON.stringify(i));}catch{}}),typeof window<"u"&&window.addEventListener("storage",i=>{if(i.key===e&&i.newValue!==null)try{s.set(JSON.parse(i.newValue));}catch{}})),s}function Wn(e){let t=l(""),n=l(false),r=e?.timeout??2e3,o=null;async function s(i){typeof navigator>"u"||!navigator.clipboard||(await navigator.clipboard.writeText(i),t.set(i),n.set(true),o&&clearTimeout(o),o=setTimeout(()=>n.set(false),r));}return {text:(()=>t()),copied:(()=>n()),copy:s}}function qn(){if(typeof window>"u")return(()=>true);let e=l(navigator.onLine);return window.addEventListener("online",()=>e.set(true)),window.addEventListener("offline",()=>e.set(false)),(()=>e())}function Bn(e){let t=l({latitude:null,longitude:null,accuracy:null,error:null,loading:true});return typeof navigator<"u"&&navigator.geolocation?navigator.geolocation.watchPosition(n=>{t.set({latitude:n.coords.latitude,longitude:n.coords.longitude,accuracy:n.coords.accuracy,error:null,loading:false});},n=>{t.set({latitude:null,longitude:null,accuracy:null,error:n,loading:false});},e):t.set({...t(),loading:false}),(()=>t())}function Un(){let e=l(typeof window<"u"?window.innerWidth:0),t=l(typeof window<"u"?window.innerHeight:0);return typeof window<"u"&&window.addEventListener("resize",()=>{e.set(window.innerWidth),t.set(window.innerHeight);},{passive:true}),{width:(()=>e()),height:(()=>t())}}function Gn(e,t,n={}){if(typeof document>"u")return ()=>{};let{events:r=["pointerdown"],ignore:o=[],active:s=true}=n,i=s;function a(){return typeof e=="function"?e():e}function c(l){let p=l.target;if(!p)return false;for(let f of o)if(typeof f=="string"){if(p.closest(f))return true}else if(f===p||f.contains(p))return true;return false}function d(l){if(!i)return;let p=a();if(!p)return;let f=l.target;p===f||p.contains(f)||c(l)||t(l);}for(let l of r)document.addEventListener(l,d,{passive:true,capture:true});let u=()=>{for(let l of r)document.removeEventListener(l,d,{capture:true});};return u.enable=()=>{i=true;},u.disable=()=>{i=false;},u}var Jn=B$1(e=>{let t=null,n=null;function r(){let o=e.props.target;return o?typeof o=="string"?document.querySelector(o)??document.body:o:document.body}return y(()=>{n&&t&&t.removeChild(n);}),()=>{t=r();let o=e.children();return n=u(o),t.appendChild(n),document.createComment("portal")}});var Qn=0;function Yn(e={}){let{maxVisible:t=5,defaultDuration:n=3e3,position:r="top-right"}=e,o=l([]),s=new Map;function i(u,l,p){let f=`toast-${++Qn}`,y=p?.duration??n,h=p?.dismissible??true,m={id:f,type:u,message:l,duration:y,dismissible:h,createdAt:Date.now()};if(o.update(v=>{let b=[...v,m];if(b.length>t){let k=b.shift();d(k.id);}return b}),y>0){let v=setTimeout(()=>a(f),y);s.set(f,v);}return f}function a(u){d(u),o.update(l=>l.filter(p=>p.id!==u));}function c(){for(let[u]of s)d(u);o.set([]);}function d(u){let l=s.get(u);l&&(clearTimeout(l),s.delete(u));}return {toasts:(()=>o()),position:r,success:(u,l)=>i("success",u,l),error:(u,l)=>i("error",u,l),info:(u,l)=>i("info",u,l),warning:(u,l)=>i("warning",u,l),add:i,dismiss:a,dismissAll:c}}function Xn(e={}){let{themes:t={light:{},dark:{}},storageKey:n$1="akash-theme",attribute:r="data-theme",syncSystem:o=true}=e,s=Object.keys(t);function i(){return typeof window>"u"?e.defaultTheme??"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function a(){if(typeof window<"u"&&n$1){let l=localStorage.getItem(n$1);if(l&&s.includes(l))return l}return e.defaultTheme??i()}let c=l(a()),d=m(()=>c()==="dark");function u(l){if(typeof document>"u")return;document.documentElement.setAttribute(r,l);let p=t[l];if(p)for(let[f,y]of Object.entries(p))document.documentElement.style.setProperty(f,y);document.documentElement.classList.remove(...s),document.documentElement.classList.add(l);}return n(()=>{let l=c();u(l),typeof window<"u"&&n$1&&localStorage.setItem(n$1,l);}),o&&typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",p=>{localStorage.getItem(n$1)||c.set(p.matches?"dark":"light");}),{current:()=>c(),isDark:d,set(l){s.includes(l)&&c.set(l);},toggle(){c.set(d()?"light":"dark");},setSystem(){typeof window<"u"&&n$1&&localStorage.removeItem(n$1),c.set(i());},themes:s}}function re(e,t,n,r,o=3){let s,i,a,c,d;typeof e=="object"?(s=e.scrollTop,i=e.containerHeight,a=e.itemHeight,c=e.totalItems,d=e.overscan??3):(s=e,i=t,a=n,c=r,d=o);let u=Math.floor(s/a),l=Math.ceil(i/a),p=Math.max(0,u-d),f=Math.min(c,u+l+d);return {start:p,end:f,totalHeight:c*a,offsetTop:p*a}}function Zn(e){let t=l(0),n=l(e.containerHeight??400),r=e.overscan??3,o=m(()=>re(t(),n(),e.itemHeight,e.items().length,r)),s=m(()=>{let c=o();return e.items().slice(c.start,c.end).map((d,u)=>({item:d,index:c.start+u}))});function i(c){let d=c.target;t.set(d.scrollTop);}function a(c){n.set(c);}return {range:o,visibleItems:s,onScroll:i,setContainerHeight:a,scrollTop:(()=>t())}}var er=B$1(e=>{let{itemHeight:t,containerHeight:n,overscan:r=3}=e.props,o=l(0);return ()=>{let s=e.props.each,i=n??400,a=re(o(),i,t,s.length,r),c=document.createElement("div");c.style.height=`${i}px`,c.style.overflow="auto",c.style.position="relative",c.addEventListener("scroll",()=>{o.set(c.scrollTop);},{passive:true});let d=document.createElement("div");d.style.height=`${a.totalHeight}px`,d.style.position="relative";let u$1=document.createElement("div");u$1.style.position="absolute",u$1.style.top=`${a.offsetTop}px`,u$1.style.left="0",u$1.style.right="0";for(let l=a.start;l<a.end;l++){let p=s[l];if(!p)continue;let f=u(e.props.children(p,l));f instanceof HTMLElement&&(f.style.height=`${t}px`),u$1.appendChild(f);}return d.appendChild(u$1),c.appendChild(d),c}});function tr(e){let t=typeof e=="function"?{loader:e}:e,{loader:n,loading:r,error:o,timeout:s,delay:i=200}=t,a=null,c=null,d=null;function u$1(){return c||(c=n().then(l=>{a=l.default;}).catch(l=>{d=l instanceof Error?l:new Error(String(l));}),c)}return B$1(l$1=>{let p=l("loading"),f=l(false);u$1().then(()=>{d?p.set("error"):p.set("ready");});let y=null;i>0?y=setTimeout(()=>f.set(true),i):f.set(true);let h=null;return s&&(h=setTimeout(()=>{p()==="loading"&&(d=new Error(`Async component timed out after ${s}ms`),p.set("error"));},s)),()=>{let m=p();return m!=="loading"&&(y&&clearTimeout(y),h&&clearTimeout(h)),m==="ready"&&a?a(l$1.props):m==="error"&&o&&d?u(o(d)):m==="loading"&&f()&&r?u(r()):document.createComment("async-loading")}})}function Te(e){let t=e.length;if(t===0)return [];let n=[],r=new Array(t).fill(-1),o=[];for(let a=0;a<t;a++){let c=e[a];if(c===-1)continue;let d=0,u=n.length;for(;d<u;){let l=d+u>>1;n[l]<c?d=l+1:u=l;}n[d]=c,o[d]=a,d>0&&(r[a]=o[d-1]);}let s=new Array(n.length),i=o[n.length-1];for(let a=n.length-1;a>=0;a--)s[a]=i,i=r[i];return s}function be(e,t){let n=[],r=new Map;for(let a=0;a<e.length;a++)r.set(e[a],a);let o=new Array(t.length);for(let a=0;a<t.length;a++)o[a]=r.get(t[a])??-1;let s=new Set(t);for(let a=0;a<e.length;a++)s.has(e[a])||n.push({type:"remove",oldIndex:a});let i=new Set(Te(o));for(let a=0;a<t.length;a++)o[a]===-1?n.push({type:"insert",newIndex:a}):i.has(a)||n.push({type:"move",newIndex:a,oldIndex:o[a]});return n}function nr(e,t){let n=be(e,t),r=0,o=0,s=0;for(let i of n)i.type==="insert"?r++:i.type==="move"?o++:s++;return {inserts:r,moves:o,removes:s}}var I=false,M=new Map,we=0;function rr(){I=true;}function or(){I=false,M.clear();}function ir(){return I}function sr(e){if(!I)return -1;let t=++we;return M.set(t,{id:t,createdAt:Date.now(),stackTrace:dr(),componentName:e??null,disposed:false}),t}function ar(e){if(!I||e===-1)return;let t=M.get(e);t&&(t.disposed=true,M.delete(e));}function cr(){return Array.from(M.values())}function xe(e=3e4){if(!I)return [];let t=Date.now(),n=[];for(let r of M.values())!r.disposed&&t-r.createdAt>e&&n.push({effectId:r.id,age:t-r.createdAt,componentName:r.componentName,stackTrace:r.stackTrace});return n}function lr(e=3e4){let t=xe(e);if(t.length!==0){console.warn(`[AkashJS] ${t.length} potential effect leak(s) detected:`);for(let n of t){let r=n.componentName?` in ${n.componentName}`:"";console.warn(` Effect #${n.effectId}${r} \u2014 active for ${(n.age/1e3).toFixed(1)}s`),n.stackTrace&&console.warn(` Created at:
|
|
20
|
-
${n.stackTrace}`);}}}function ur(){return {enabled:I,activeCount:M.size,totalTracked:we}}function dr(){try{let t=new Error().stack;return t?t.split(`
|
|
21
|
-
`).slice(3,8).join(`
|
|
22
|
-
`):null}catch{return null}}var pr=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])',"[contenteditable]"].join(", ");function fr(e,t={}){let{initialFocus:n,returnFocus:r=true,escapeDeactivates:o=true,allowOutsideClick:s=false,onDeactivate:i}=t,a=l(false),c=null;function d(){return typeof e=="function"?e():e}function u(){let h=d();return h?Array.from(h.querySelectorAll(pr)):[]}function l$1(h){if(h.key==="Escape"&&o){h.preventDefault(),y(),i?.();return}if(h.key!=="Tab")return;let m=u();if(m.length===0)return;let v=m[0],b=m[m.length-1];h.shiftKey?document.activeElement===v&&(h.preventDefault(),b.focus()):document.activeElement===b&&(h.preventDefault(),v.focus());}function p(h){if(!a()||s)return;let m=d();if(!m)return;let v=h.relatedTarget;if(v&&!m.contains(v)){let b=u();b.length>0&&b[0].focus();}}function f(){if(a())return;a.set(true),c=document.activeElement,document.addEventListener("keydown",l$1,true);let h=d();h&&h.addEventListener("focusout",p),requestAnimationFrame(()=>{if(n)(typeof n=="string"?d()?.querySelector(n):n)?.focus();else {let m=u();m.length>0&&m[0].focus();}});}function y(){if(!a())return;a.set(false),document.removeEventListener("keydown",l$1,true);let h=d();h&&h.removeEventListener("focusout",p),r&&c&&(c.focus(),c=null);}return {activate:f,deactivate:y,active:()=>a()}}var W=null;function mr(){if(W&&document.body.contains(W))return W;let e=document.createElement("div");return e.setAttribute("role","status"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),e.style.cssText=["position: absolute","width: 1px","height: 1px","padding: 0","margin: -1px","overflow: hidden","clip: rect(0,0,0,0)","white-space: nowrap","border: 0"].join("; "),document.body.appendChild(e),W=e,e}function gr(){return (e,t="polite")=>{if(typeof document>"u")return;let n=mr();n.setAttribute("aria-live",t),n.textContent="",requestAnimationFrame(()=>{n.textContent=e;});}}function yr(){let e=[],t=new Set,n=false;function r(i){for(let a of e)if(!(a.scope&&!t.has(a.scope))&&hr(i,a.key)){a.preventDefault!==false&&i.preventDefault(),a.handler(i);return}}function o(){n||typeof document>"u"||(document.addEventListener("keydown",r),n=true);}function s(i,a,c){let d={key:i,handler:a,scope:c?.scope,description:c?.description??"",preventDefault:c?.preventDefault};return e.push(d),o(),()=>{let u=e.indexOf(d);u!==-1&&e.splice(u,1);}}return {bind:s,enableScope(i){t.add(i);},disableScope(i){t.delete(i);},getBindings(){return e.map(i=>({key:vr(i.key),description:i.description??"",scope:i.scope}))},dispose(){e.length=0,typeof document<"u"&&document.removeEventListener("keydown",r),n=false;}}}function hr(e,t){let n=t.toLowerCase().split("+"),r=n.pop(),o=n.includes("mod"),s=n.includes("ctrl"),i=n.includes("shift"),a=n.includes("alt"),d=typeof navigator<"u"&&navigator.platform?.includes("Mac")?e.metaKey:e.ctrlKey;return o&&!d||s&&!e.ctrlKey||i&&!e.shiftKey||a&&!e.altKey?false:e.key.toLowerCase()===r||e.code.toLowerCase()===r}function vr(e){let t=typeof navigator<"u"&&navigator.platform?.includes("Mac");return e.replace(/mod/gi,t?"\u2318":"Ctrl").replace(/shift/gi,t?"\u21E7":"Shift").replace(/alt/gi,t?"\u2325":"Alt").replace(/\+/g,t?"":"+")}var Tr=B$1(e=>{let t=l(false),n=l(false);return ()=>{let{src:r,alt:o,width:s,height:i,loading:a="lazy",srcset:c,sizes:d,placeholder:u,blurDataUrl:l,class:p,fallbackSrc:f,onLoad:y,onError:h}=e.props,m=document.createElement("div");if(m.style.position="relative",m.style.display="inline-block",m.style.overflow="hidden",s&&(m.style.width=`${s}px`),i&&(m.style.height=`${i}px`),u==="blur"&&l&&!t()){let b=document.createElement("img");b.src=l,b.alt="",b.setAttribute("aria-hidden","true"),b.style.cssText="position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:blur(20px);transform:scale(1.1);",m.appendChild(b);}let v=document.createElement("img");if(v.alt=o,v.loading=a,n()&&f?v.src=f:v.src=r,c&&(v.srcset=c),d&&(v.sizes=d),s&&(v.width=s),i&&(v.height=i),p&&(v.className=p),v.style.display="block",v.style.width="100%",v.style.height="auto",v.addEventListener("load",()=>{t.set(true),y?.();}),v.addEventListener("error",b=>{n.set(true),h?.(b);}),a==="lazy"&&typeof IntersectionObserver<"u"){v.setAttribute("data-src",v.src);let b=v.src;v.removeAttribute("src");let k=new IntersectionObserver(T=>{T[0].isIntersecting&&(v.src=b,k.disconnect());},{rootMargin:"200px"});requestAnimationFrame(()=>{v.parentElement?k.observe(v):v.src=b;});}return m.appendChild(v),m}});function br(e){let{onLoadMore:t,hasMore:n,rootMargin:r="200px",threshold:o=0}=e,s=l(false),i=l(false),a=null,c=null,d=false;async function u(){if(!(s()||i()||d)){if(!n()){i.set(true);return}s.set(true);try{await t(),n()||i.set(!0);}finally{s.set(false);}}}function l$1(f){typeof IntersectionObserver>"u"||(a=new IntersectionObserver(y=>{y[0]?.isIntersecting&&u();},{rootMargin:r,threshold:o}),a.observe(f));}function p(){return c||(c=document.createElement("div"),c.setAttribute("data-akash-sentinel",""),c.style.height="1px",c.setAttribute("aria-hidden","true"),requestAnimationFrame(()=>{c&&!d&&l$1(c);}),c)}return {sentinel:p,loading:()=>s(),done:()=>i(),reset(){i.set(false),s.set(false);},dispose(){d=true,a?.disconnect(),a=null;}}}function Se(...e){let t=[];for(let n of e)if(n){if(typeof n=="string")t.push(n);else if(Array.isArray(n)){let r=Se(...n);r&&t.push(r);}else if(typeof n=="object")for(let[r,o]of Object.entries(n))o&&t.push(r);}return t.join(" ")}function wr(e){let t=[];for(let[n,r]of Object.entries(e)){if(r==null)continue;let o=oe(n),s=typeof r=="number"&&!Ee.has(n)?`${r}px`:String(r);t.push(`${o}: ${s}`);}return t.join("; ")}function xr(e,t){for(let[n,r]of Object.entries(t))if(r==null)e.style.removeProperty(oe(n));else {let o=typeof r=="number"&&!Ee.has(n)?`${r}px`:String(r);e.style.setProperty(oe(n),o);}}function oe(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}var Ee=new Set(["animationIterationCount","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","fillOpacity","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","fontWeight","gridColumn","gridRow","lineClamp","lineHeight","opacity","order","orphans","tabSize","widows","zIndex","zoom"]);function Sr(e){let{data:t,columns:n,pageSize:r=0,initialSort:o}=e,s=l(o??{column:null,direction:null}),i=l(""),a=l(1),c=l(Object.fromEntries(n.map(T=>[T.key,T.visible!==false]))),d=m(()=>{let T=c();return n.filter(x=>T[x.key])}),u=m(()=>{let T=i().toLowerCase().trim();if(!T)return t();let x=n.filter(C=>C.filterable),A=x.length>0?x:n;return t().filter(C=>A.some(R=>{let V=ie(C,R.key);return String(V).toLowerCase().includes(T)}))}),l$1=m(()=>{let{column:T,direction:x}=s(),A=[...u()];if(!T||!x)return A;let C=n.find(R=>R.key===T);return C?A.sort((R,V)=>{if(C.compare){let me=C.compare(R,V);return x==="desc"?-me:me}let nt=ie(R,T),rt=ie(V,T),fe=Er(nt,rt);return x==="desc"?-fe:fe}):A}),p=m(()=>u().length),f=m(()=>r<=0?1:Math.max(1,Math.ceil(p()/r))),y=m(()=>{let T=l$1();if(r<=0)return T;let x=(a()-1)*r;return T.slice(x,x+r)});function h(T){let x=s();x.column===T?x.direction==="asc"?s.set({column:T,direction:"desc"}):x.direction==="desc"?s.set({column:null,direction:null}):s.set({column:T,direction:"asc"}):s.set({column:T,direction:"asc"}),a.set(1);}function m$1(T){i.set(T),a.set(1);}function v(T){c.update(x=>({...x,[T]:!x[T]}));}function b(T){c.update(x=>({...x,[T]:true}));}function k(T){c.update(x=>({...x,[T]:false}));}return {rows:y,allRows:l$1,totalRows:p,visibleColumns:d,sortState:()=>s(),filterText:()=>i(),page:()=>a(),totalPages:f,sort:h,filter:m$1,toggleColumn:v,showColumn:b,hideColumn:k,nextPage(){a()<f()&&a.update(T=>T+1);},prevPage(){a()>1&&a.update(T=>T-1);},goToPage(T){a.set(Math.max(1,Math.min(T,f())));},reset(){s.set({column:null,direction:null}),i.set(""),a.set(1);}}}function ie(e,t){return t.split(".").reduce((n,r)=>n?.[r],e)}function Er(e,t){return e==null&&t==null?0:e==null?-1:t==null?1:typeof e=="number"&&typeof t=="number"?e-t:String(e).localeCompare(String(t))}function ke(e){let t=Array.isArray(e)?e:[e];for(let n of t){let r={"@context":"https://schema.org",...n};_({script:[{type:"application/ld+json",innerHTML:JSON.stringify(r)}]});}}function Ce(e){let t=[{property:"og:title",content:e.title}];e.description&&t.push({property:"og:description",content:e.description}),e.image&&t.push({property:"og:image",content:e.image}),e.url&&t.push({property:"og:url",content:e.url}),e.type&&t.push({property:"og:type",content:e.type}),e.siteName&&t.push({property:"og:site_name",content:e.siteName}),e.locale&&t.push({property:"og:locale",content:e.locale}),_({meta:t});}function Pe(e){let t=[{name:"twitter:title",content:e.title}];e.card&&t.push({name:"twitter:card",content:e.card}),e.description&&t.push({name:"twitter:description",content:e.description}),e.image&&t.push({name:"twitter:image",content:e.image}),e.site&&t.push({name:"twitter:site",content:e.site}),e.creator&&t.push({name:"twitter:creator",content:e.creator}),_({meta:t});}function kr(e){let t=[];e.description&&t.push({name:"description",content:e.description}),e.robots&&t.push({name:"robots",content:e.robots});let n=[];e.canonical&&n.push({rel:"canonical",href:e.canonical}),_({title:e.title,meta:t,link:n}),e.openGraph&&Ce(e.openGraph),e.twitter&&Pe(e.twitter),e.structuredData&&ke(e.structuredData);}function Cr(e,t){let n=`<?xml version="1.0" encoding="UTF-8"?>
|
|
23
|
-
`;n+=`<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
24
|
-
`;for(let r of t)n+=` <url>
|
|
25
|
-
`,n+=` <loc>${e}${r.url}</loc>
|
|
26
|
-
`,r.lastmod&&(n+=` <lastmod>${r.lastmod}</lastmod>
|
|
27
|
-
`),r.changefreq&&(n+=` <changefreq>${r.changefreq}</changefreq>
|
|
28
|
-
`),r.priority!=null&&(n+=` <priority>${r.priority}</priority>
|
|
29
|
-
`),n+=` </url>
|
|
30
|
-
`;return n+=`</urlset>
|
|
31
|
-
`,n}function Pr(e,t,...n){if(n.length>0&&n.every(r=>typeof r=="function")){let r=t(e);for(let o of n)r=o(r);return r}return t(e,...n)}function Ar(...e){return (t,...n)=>{let r=t;for(let o of e)r=o(r,...n);return r}}function Rr(e){return e}var Or=e=>String(e).toUpperCase(),Dr=e=>String(e).toLowerCase(),Lr=e=>{let t=String(e);return t.charAt(0).toUpperCase()+t.slice(1)},Mr=e=>String(e).replace(/\b\w/g,t=>t.toUpperCase()),Ir=e=>String(e).trim(),Hr=(e,t=50,n="...")=>{let r=String(e);return r.length<=t?r:r.slice(0,t-n.length)+n},jr=(e,t="medium",n)=>{let r=e instanceof Date?e:new Date(e);if(isNaN(r.getTime()))return String(e);if(t==="iso")return r.toISOString();let o=n??"en-US",s={short:{year:"2-digit",month:"numeric",day:"numeric"},medium:{year:"numeric",month:"numeric",day:"numeric"},long:{year:"numeric",month:"long",day:"numeric"},full:{weekday:"long",year:"numeric",month:"long",day:"numeric"},time:{hour:"numeric",minute:"2-digit"}};return new Intl.DateTimeFormat(o,s[t]).format(r)},_r=(e,t="USD",n)=>new Intl.NumberFormat(n??"en-US",{style:"currency",currency:t}).format(Number(e)),Fr=(e,t,n)=>{let r={};if(t){let[o,s]=t.split("-").map(Number);r.minimumFractionDigits=o,r.maximumFractionDigits=s??o;}return new Intl.NumberFormat(n??"en-US",r).format(Number(e))},Nr=(e,t=0,n)=>new Intl.NumberFormat(n??"en-US",{style:"percent",minimumFractionDigits:t,maximumFractionDigits:t}).format(Number(e)),$r=(e,t=2)=>JSON.stringify(e,null,t),Kr=(e,t,n)=>{let r=n??`${t}s`;return `${e} ${e===1?t:r}`},Vr=(e,t)=>{let r=(e instanceof Date?e.getTime():Number(e))-Date.now(),o=Math.abs(r),s=[[6e4,"second"],[36e5,"minute"],[864e5,"hour"],[2592e6,"day"],[31536e6,"month"],[1/0,"year"]],i={second:1e3,minute:6e4,hour:36e5,day:864e5,month:2592e6,year:31536e6},a="second";for(let[l,p]of s)if(o<l){a=p;break}let c=Math.round(r/i[a]);if(typeof Intl<"u"&&Intl.RelativeTimeFormat)return new Intl.RelativeTimeFormat(t??"en",{numeric:"auto"}).format(c,a);let d=Math.abs(c),u=c<0?"ago":"from now";return `${d} ${a}${d!==1?"s":""} ${u}`};function H(e){return {_type:"directive",hooks:e}}function zr(e){return H({mounted(t,n){let r=e(t,n);typeof r=="function"&&(t.__directiveCleanup=r);},unmounted(t){t.__directiveCleanup?.();}})}var $=Symbol("akash.directives");function Wr(e,t,n,r){let o={value:n,arg:r?.arg,modifiers:r?.modifiers},s=e[$]??[];s.push({directive:t,binding:o}),e[$]=s,t.hooks.mounted?.(e,o);}function qr(e,t,n){let o=(e[$]??[]).find(s=>s.directive===t);if(o){let s=o.binding.value;o.binding={...o.binding,value:n,oldValue:s},t.hooks.updated?.(e,o.binding);}}function Br(e){let t=e[$]??[];for(let n of t)n.directive.hooks.unmounted?.(e,n.binding);delete e[$];}var Ur=H({mounted(e){requestAnimationFrame(()=>e.focus());}}),Gr=H({mounted(e,{value:t}){let n=r=>{e.contains(r.target)||t();};document.addEventListener("click",n,true),e.__vClickOutside=n;},unmounted(e){document.removeEventListener("click",e.__vClickOutside,true),delete e.__vClickOutside;}}),Jr=H({mounted(e,{value:t}){let n=null,r=t.duration??500,o=()=>{n=setTimeout(t.handler,r);},s=()=>{n&&(clearTimeout(n),n=null);};e.addEventListener("pointerdown",o),e.addEventListener("pointerup",s),e.addEventListener("pointerleave",s),e.__vLongPress={start:o,cancel:s};},unmounted(e){let t=e.__vLongPress;t&&(e.removeEventListener("pointerdown",t.start),e.removeEventListener("pointerup",t.cancel),e.removeEventListener("pointerleave",t.cancel));}}),Qr=H({mounted(e,{value:t}){let n=new IntersectionObserver(r=>{t(r[0].isIntersecting);});n.observe(e),e.__vIntersect=n;},unmounted(e){e.__vIntersect?.disconnect();}}),Yr=H({mounted(e,{value:t}){let n=new ResizeObserver(r=>{t(r[0]);});n.observe(e),e.__vResize=n;},unmounted(e){e.__vResize?.disconnect();}});function Xr(e,t,n={}){let{props:r=[],shadow:o=true,styles:s}=n;class i extends HTMLElement{static get observedAttributes(){return r}_root;_mounted=false;_props={};constructor(){super(),this._root=o?this.attachShadow({mode:"open"}):this;}connectedCallback(){for(let c of r){let d=this.getAttribute(c);d!==null&&(this._props[c]=q(d));}this._render(),this._mounted=true;}disconnectedCallback(){for(;this._root.firstChild;)this._root.removeChild(this._root.firstChild);this._mounted=false;}attributeChangedCallback(c,d,u){this._props[c]=u!==null?q(u):void 0,this._mounted&&this._render();}_render(){for(;this._root.firstChild;)this._root.removeChild(this._root.firstChild);if(o&&s){let d=document.createElement("style");d.textContent=s,this._root.appendChild(d);}let c=t(this._props);this._root.appendChild(c);}setProps(c){Object.assign(this._props,c),this._mounted&&this._render();}}return typeof customElements<"u"&&!customElements.get(e)&&(n.extends?customElements.define(e,i,{extends:n.extends}):customElements.define(e,i)),i}function Zr(e,t={}){let{props:n=[],shadow:r=true,styles:o}=t;return class extends HTMLElement{static get observedAttributes(){return n}_root;_mounted=false;_props={};constructor(){super(),this._root=r?this.attachShadow({mode:"open"}):this;}connectedCallback(){for(let s of n){let i=this.getAttribute(s);i!==null&&(this._props[s]=q(i));}this._render(),this._mounted=true;}disconnectedCallback(){for(;this._root.firstChild;)this._root.removeChild(this._root.firstChild);this._mounted=false;}attributeChangedCallback(s,i,a){this._props[s]=a!==null?q(a):void 0,this._mounted&&this._render();}_render(){for(;this._root.firstChild;)this._root.removeChild(this._root.firstChild);if(r&&o){let s=document.createElement("style");s.textContent=o,this._root.appendChild(s);}this._root.appendChild(e(this._props));}}}function q(e){try{return JSON.parse(e)}catch{return e}}var eo=`<!DOCTYPE html>
|
|
32
|
-
<html lang="en">
|
|
33
|
-
<head>
|
|
34
|
-
<meta charset="UTF-8">
|
|
35
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
36
|
-
{{head}}
|
|
37
|
-
</head>
|
|
38
|
-
<body>
|
|
39
|
-
<div id="app">{{content}}</div>
|
|
40
|
-
{{scripts}}
|
|
41
|
-
</body>
|
|
42
|
-
</html>`;async function to(e){let{routes:t,render:n,outDir:r="dist",template:o=eo,onPage:s,onError:i,concurrency:a=5}=e,c=Date.now(),d=typeof t=="function"?await t():t,u={rendered:[],errors:[],duration:0};for(let l=0;l<d.length;l+=a){let p=d.slice(l,l+a);await Promise.all(p.map(async f=>{try{let y=await n(f),h=o.replace("{{content}}",y).replace("{{head}}","").replace("{{scripts}}",""),m=Ae(f);u.rendered.push({url:f,file:`${r}/${m}`,size:new Blob([h]).size}),s?.(f,h);}catch(y){let h=y instanceof Error?y:new Error(String(y));u.errors.push({url:f,error:h.message}),i?.(f,h);}}));}return u.duration=Date.now()-c,u}function no(e){return e.filter(t=>!t.path.includes(":")&&!t.path.includes("*")).map(t=>t.path)}function ro(e,t){return t.map(n=>{let r=e;for(let[o,s]of Object.entries(n))r=r.replace(`:${o}`,s);return r})}function Ae(e){let t=e.replace(/^\//,"").replace(/\/$/,"");return t?`${t}/index.html`:"index.html"}function oo(e,t){let n=`<?xml version="1.0" encoding="UTF-8"?>
|
|
43
|
-
`;n+=`<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
|
44
|
-
`;for(let r of t.rendered)n+=` <url>
|
|
45
|
-
`,n+=` <loc>${e}${r.url}</loc>
|
|
46
|
-
`,n+=` <lastmod>${new Date().toISOString().split("T")[0]}</lastmod>
|
|
47
|
-
`,n+=` </url>
|
|
48
|
-
`;return n+=`</urlset>
|
|
49
|
-
`,n}function Re(e$1,t,n$1,r){let o=[],s=e(),i=n(()=>{let a=String(n$1());for(let u of o)u.parentNode&&u.parentNode.removeChild(u);o=[];let c=r[a]??r._default,d=t.parentNode;if(c&&d){let u=s?f(s,c):c(),l=u instanceof DocumentFragment?Array.from(u.childNodes):[u];for(let p of l)d.insertBefore(p,t);o=l;}},{render:true});return ()=>{i();for(let a of o)a.parentNode&&a.parentNode.removeChild(a);}}var io=B$1(e=>()=>{let t=document.createElement("div");t.style.display="contents";let n=document.createComment("switch");t.appendChild(n);let r={...e.props.cases};return e.props.fallback&&(r._default=()=>u(e.props.fallback())),Re(t,n,()=>e.props.on,Object.fromEntries(Object.entries(r).map(([o,s])=>[o,()=>u(s())]))),t});function so(e,t){let n=String(e),r=t[n]??t._;return r?r(e):void 0}var ao=0;function co(e){return {_type:"provider",factory:e.factory,providedIn:e.providedIn,multi:e.multi,_id:Symbol(`provider-${++ao}`)}}var L=new Map;function De(e=[],t){let n=new Map,r=new Map,o=new Map;for(let i of e)o.set(i.provide._id,i);let s={get(i){let a=i._id;if(i.multi){if(r.has(a))return r.get(a);let u=[],l=o.get(a);if(l?.useFactory?u.push(l.useFactory()):l?.useValue!==void 0&&u.push(l.useValue),t?.has(i)){let p=t.get(i);Array.isArray(p)&&u.push(...p);}return r.set(a,u),u}if(n.has(a))return n.get(a);if(i.providedIn==="root"&&L.has(a))return L.get(a);let c=o.get(a);if(c){let u=lo(c,s);return n.set(a,u),u}if(t)return t.get(i);let d=i.factory();return i.providedIn==="root"?L.set(a,d):n.set(a,d),d},has(i){return n.has(i._id)||o.has(i._id)||i.providedIn==="root"&&L.has(i._id)?true:t?t.has(i):false},createChild(i){return De(i??[],s)},dispose(){n.clear(),r.clear();}};return s}function lo(e,t){return e.useValue!==void 0?e.useValue:e.useFactory?e.useFactory():e.useExisting?t.get(e.useExisting):e.provide.factory()}function uo(e){{if(e.providedIn==="root"){if(L.has(e._id))return L.get(e._id);let t=e.factory();return L.set(e._id,t),t}return e.factory()}}function po(){L.clear();}function fo(e,t={}){let{trigger:n="viewport",loading:r,error:o,prefetch:s=false,minLoadTime:i=0,rootMargin:a="200px"}=t,c=null,d=null,u$1=null;function l$1(){if(d)return d;let p=Date.now();return d=e().then(async f=>{let y=Date.now()-p;i>0&&y<i&&await new Promise(h=>setTimeout(h,i-y)),c=f.default;}).catch(f=>{u$1=f instanceof Error?f:new Error(String(f));}),d}return s&&l$1(),B$1(p=>{let f=l("idle");async function h(){f()==="idle"&&(f.set("loading"),await l$1(),f.set(u$1?"error":"ready"));}return ()=>{let m=document.createElement("div");m.style.display="contents";let v=f();return v==="ready"&&c?(m.appendChild(c(p.props)),m):v==="error"&&o&&u$1?(m.appendChild(u(o(u$1))),m):(r&&v==="loading"&&m.appendChild(u(r())),v==="idle"&&mo(m,n,h,a).then(b=>{}),m)}})}async function mo(e,t,n,r){return t==="immediate"?(n(),()=>{}):t==="viewport"?go(e,n,r):t==="interaction"||t==="hover"?yo(e,n,t):t==="idle"?ho(n):typeof t=="object"&&t.type==="timer"?vo(n,t.delay):typeof t=="object"&&t.type==="custom"?To(n,t.condition):(n(),()=>{})}function go(e,t,n){if(typeof IntersectionObserver>"u")return t(),()=>{};let r=new IntersectionObserver(o=>{o[0]?.isIntersecting&&(r.disconnect(),t());},{rootMargin:n});return requestAnimationFrame(()=>r.observe(e)),()=>r.disconnect()}function yo(e,t,n){let r=n==="hover"?["mouseenter","focusin"]:["click","mouseenter","focusin","touchstart"],o=()=>{for(let s of r)e.removeEventListener(s,o);t();};for(let s of r)e.addEventListener(s,o,{once:true,passive:true});return ()=>{for(let s of r)e.removeEventListener(s,o);}}function ho(e){if(typeof requestIdleCallback<"u"){let n=requestIdleCallback(()=>e());return ()=>cancelIdleCallback(n)}let t=setTimeout(e,200);return ()=>clearTimeout(t)}function vo(e,t){let n=setTimeout(e,t);return ()=>clearTimeout(n)}function To(e,t){let n=()=>{t()?e():requestAnimationFrame(n);};return requestAnimationFrame(n),()=>{}}function Le(){return typeof document<"u"&&"startViewTransition"in document}function bo(e,t={}){let{className:n,onBefore:r,onAfter:o,fallback:s="instant"}=t;if(r?.(),Le()){n&&document.documentElement.classList.add(n);let c=document.startViewTransition(async()=>{await e();});return {finished:c.finished.then(()=>{n&&document.documentElement.classList.remove(n),o?.();}),updateCallbackDone:c.updateCallbackDone,ready:c.ready,skipTransition:()=>c.skipTransition()}}if(s==="fade")return So(e,t);let i=e(),a=i instanceof Promise?i:Promise.resolve();return o?.(),{finished:a,updateCallbackDone:a,ready:Promise.resolve(),skipTransition:()=>{}}}function wo(e={}){let{duration:t="0.25s",easing:n="ease",oldAnimation:r,newAnimation:o}=e,s=`::view-transition-old(root),
|
|
50
|
-
::view-transition-new(root) {
|
|
51
|
-
`;return s+=` animation-duration: ${t};
|
|
52
|
-
`,s+=` animation-timing-function: ${n};
|
|
53
|
-
`,s+=`}
|
|
54
|
-
`,r&&(s+=`::view-transition-old(root) {
|
|
55
|
-
animation-name: ${r};
|
|
56
|
-
}
|
|
57
|
-
`),o&&(s+=`::view-transition-new(root) {
|
|
58
|
-
animation-name: ${o};
|
|
59
|
-
}
|
|
60
|
-
`),s}function xo(e,t){e.style.viewTransitionName=t;}function So(e,t){let n=document.documentElement,r=new Promise(async o=>{n.style.transition="opacity 0.15s ease",n.style.opacity="0",await new Promise(s=>setTimeout(s,150)),await e(),n.style.opacity="1",await new Promise(s=>setTimeout(s,150)),n.style.transition="",n.style.opacity="",t.onAfter?.(),o();});return {finished:r,updateCallbackDone:r,ready:Promise.resolve(),skipTransition:()=>{n.style.transition="",n.style.opacity="";}}}function Eo(e){return Array.isArray(e)?e.join(","):typeof e=="boolean"?e?"true":"false":String(e)}function ko(e,t){return typeof t=="number"?Number(e):typeof t=="boolean"?e==="true"||e==="1":Array.isArray(t)?e?e.split(","):[]:e}function B(){return typeof window>"u"?new URLSearchParams:new URLSearchParams(window.location.search)}function Co(e,t){if(typeof window>"u")return;let n=e.toString(),r=n?`${window.location.pathname}?${n}${window.location.hash}`:`${window.location.pathname}${window.location.hash}`;t==="push"?window.history.pushState(null,"",r):window.history.replaceState(null,"",r);}var K=new Map,Me=false;function Po(){Me||typeof window>"u"||(Me=true,window.addEventListener("popstate",()=>{let e=B();a(()=>{for(let[t,n]of K){let r=e.get(t),o=r!==null?n.deserialize(r):n.defaultValue;n.signal.set(o);}});}));}function Ie(e,t,n={}){let{serialize:r=m=>Eo(m),deserialize:o=m=>ko(m,t),history:s="replace",debounce:i=0,removeDefault:a=true}=n,d=B().get(e),u=d!==null?o(d):t,l$1=l(u);K.set(e,{signal:l$1,deserialize:o,defaultValue:t}),Po();let p=null,f=false,y=l$1.set;l$1.set=m=>{if(y(m),f);let v=()=>{let b=B();a&&m===t?b.delete(e):b.set(e,r(m)),Co(b,s);};i>0?(p&&clearTimeout(p),p=setTimeout(v,i)):v();};l$1.update;return l$1.update=m=>{l$1.set(m(l$1()));},l$1}function Ao(e,t){let n={};for(let[r,o]of Object.entries(e))n[r]=Ie(r,o.default,{serialize:o.serialize,deserialize:o.deserialize,history:t?.history});return n}function Ro(){if(typeof window>"u")return;let e=`${window.location.pathname}${window.location.hash}`;window.history.replaceState(null,"",e),a(()=>{for(let[,t]of K)t.signal.set(t.defaultValue);});}function Oo(){let e=B(),t={};return e.forEach((n,r)=>{t[r]=n;}),t}function Do(e){K.delete(e);}function Lo(){K.clear();}var se=typeof requestAnimationFrame=="function"?requestAnimationFrame:e=>setTimeout(()=>e(Date.now()),16),He=typeof cancelAnimationFrame=="function"?cancelAnimationFrame:e=>clearTimeout(e),je={linear:e=>e,cubicIn:e=>e*e*e,cubicOut:e=>1-Math.pow(1-e,3),cubicInOut:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,quadIn:e=>e*e,quadOut:e=>1-(1-e)*(1-e),quintOut:e=>1-Math.pow(1-e,5),bounceOut:e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,elasticOut:e=>e===0||e===1?e:Math.pow(2,-10*e)*Math.sin((e-.1)*5*Math.PI)+1};function Mo(e,t,n){return typeof e=="number"&&typeof t=="number"?e+(t-e)*n:n<.5?e:t}function Io(e,t={}){let{duration:n=400,easing:r=je.cubicOut,interpolate:o=Mo,delay:s=0}=t,i=l(e),a=l(e),c=0,d=false,u=(()=>i());return u.set=(l,p)=>{let f=p?.duration??n,y=p?.easing??r,h=p?.interpolate??o,m=p?.delay??s,v=i();return a.set(l),f===0?(i.set(l),Promise.resolve()):(d&&(He(c),d=false),new Promise(b=>{let k=performance.now()+m;d=true;function T(x){if(!d){b();return}let A=x-k;if(A<0){c=se(T);return}let C=Math.min(A/f,1),R=y(C);i.set(h(v,l,R)),C<1?c=se(T):(d=false,b());}c=se(T);}))},u.setImmediate=l=>{d&&(He(c),d=false),i.set(l),a.set(l);},u.target=()=>a(),u}function _e(e,t={}){let{duration:n=300,easing:r="cubic-bezier(0.2, 0, 0, 1)",delay:o=0,selector:s,keyAttribute:i="data-key",onComplete:a}=t,c=new Map;function d(){return Array.from(s?e.querySelectorAll(s):e.children)}function u(f){return f.getAttribute(i)??f.id??""}function l(){c=new Map;for(let f of d()){let y=u(f);if(y){let h=f.getBoundingClientRect();c.set(y,{left:h.left,top:h.top,width:h.width,height:h.height});}}}function p(){let f=d(),y=[];for(let m of f){let v=u(m),b=c.get(v);if(!b)continue;let k=m.getBoundingClientRect(),T=b.left-k.left,x=b.top-k.top,A=b.width/(k.width||1),C=b.height/(k.height||1);if(Math.abs(T)<.5&&Math.abs(x)<.5&&Math.abs(A-1)<.01&&Math.abs(C-1)<.01)continue;let R=m.animate([{transform:`translate(${T}px, ${x}px) scale(${A}, ${C})`},{transform:"translate(0, 0) scale(1, 1)"}],{duration:n,easing:r,delay:o,fill:"both"});y.push(R);}let h=new Set(f.map(u));for(let[m,v]of c)h.has(m);return c.clear(),new Promise(m=>{if(y.length===0){a?.(),m();return}Promise.all(y.map(v=>v.finished)).then(()=>{for(let v of y)v.cancel();a?.(),m();});})}return {measure:l,animate:p,async flip(f){return l(),f(),await new Promise(y=>requestAnimationFrame(y)),p()}}}async function Ho(e,t,n){return _e(e,n).flip(t)}var jo=B$1(e=>{let t=l({status:"pending"}),n=e.props.promise;return e.props.promise.then(r=>{e.props.promise===n&&t.set({status:"resolved",value:r});}).catch(r=>{e.props.promise===n&&t.set({status:"rejected",error:r instanceof Error?r:new Error(String(r))});}),()=>{let r=t();switch(r.status){case "pending":return e.props.pending?u(e.props.pending()):document.createComment("await-pending");case "resolved":return u(e.props.then(r.value));case "rejected":return e.props.catch?u(e.props.catch(r.error)):document.createComment("await-error")}}});function _o(e){let t=l({status:"pending"});return e.then(n=>t.set({status:"resolved",value:n})).catch(n=>t.set({status:"rejected",error:n instanceof Error?n:new Error(String(n))})),()=>t()}function Fe(e,t){return n=>{t.self&&n.target!==n.currentTarget||(t.preventDefault&&n.preventDefault(),t.stopPropagation&&n.stopPropagation(),t.stopImmediatePropagation&&n.stopImmediatePropagation?.(),e(n));}}function Fo(e,t,n,r={}){let o=Fe(n,r),s={once:r.once,capture:r.capture,passive:r.passive};return e.addEventListener(t,o,s),()=>e.removeEventListener(t,o,s)}function No(e){let t=l(e.clientWidth),n=l(e.clientHeight);return typeof ResizeObserver<"u"&&new ResizeObserver(o=>{let s=o[0];s&&(t.set(s.contentRect.width),n.set(s.contentRect.height));}).observe(e),{width:()=>t(),height:()=>n()}}function $o(e){let t=e??(typeof window<"u"?window:null),n=l(e?e.scrollLeft:window?.scrollX??0),r=l(e?e.scrollTop:window?.scrollY??0);if(t){let i=()=>{e?(n.set(e.scrollLeft),r.set(e.scrollTop)):(n.set(window.scrollX),r.set(window.scrollY));};t.addEventListener("scroll",i,{passive:true});}let o=r.set;r.set=i=>{o(i),e?e.scrollTop=i:window?.scrollTo(window.scrollX,i);};let s=n.set;return n.set=i=>{s(i),e?e.scrollLeft=i:window?.scrollTo(i,window.scrollY);},{scrollX:n,scrollY:r}}function Ko(){return l(null)}function Vo(e){return l(null)}function zo(e,t,n$1){e.name=typeof n$1=="string"?n$1:"",e.addEventListener("change",()=>{e.checked&&t.set(n$1);}),n(()=>{e.checked=t()===n$1;});}function Ne(e,t,n$1){return n(()=>{n$1()?e.classList.add(t):e.classList.remove(t);})}function Wo(e,t){let n=Object.entries(t).map(([r,o])=>Ne(e,r,o));return ()=>n.forEach(r=>r())}function $e(e,t,n$1){let r=t.replace(/[A-Z]/g,o=>`-${o.toLowerCase()}`);return n(()=>{let o=n$1();o==null?e.style.removeProperty(r):e.style.setProperty(r,typeof o=="number"?`${o}px`:String(o));})}function qo(e,t){let n=Object.entries(t).map(([r,o])=>$e(e,r,o));return ()=>n.forEach(r=>r())}function Bo(e){return e}function Uo(...e){let t={},n$1=[];for(let c of e)typeof c=="function"?n$1.push(c):typeof c=="object"&&c!==null&&(t=c);let{label:r="inspect",level:o="log",logger:s,when:i}=t,a={dispose:null,get values(){return n$1.map(c=>c())},get value(){return n$1.length===1?n$1[0]():n$1.map(c=>c())},label:r,sources:n$1.length};return a.dispose=n(()=>{if(i&&!i())return;let c=n$1.map(d=>d());s?s(r,...c):console[o](`[${r}]`,...c);}),a}function Go(e,t={}){let{method:n="POST",headers:r={},onSuccess:o,onError:s,fetch:i=globalThis.fetch.bind(globalThis)}=t,a=l(false),c=l(null),d=l(null);async function u(l){a.set(true),d.set(null);try{let p=await i(e,{method:n,headers:{"Content-Type":"application/json",...r},body:JSON.stringify(l)});if(!p.ok)throw new Error(`Form action failed: ${p.status}`);let f=await p.json();return c.set(f),a.set(!1),o?.(f),f}catch(p){let f=p instanceof Error?p:new Error(String(p));throw d.set(f),a.set(false),s?.(f),f}}return {url:e,method:n,submitting:()=>a(),result:()=>c(),error:()=>d(),handle(l){return p=>{p.preventDefault();let f=p.target,y=new FormData(f),h={...l};y.forEach((m,v)=>{h[v]=m;}),u(h);}},submit:u}}function Jo(e={}){if(typeof window>"u")return ()=>{};let{keyPrefix:t="akash-snapshot",capture:n=["scroll","forms"]}=e;function r(){let c={scrollX:window.scrollX,scrollY:window.scrollY,forms:{},timestamp:Date.now()};return n.includes("forms")&&document.querySelectorAll("form[id]").forEach(d=>{let u=d,l={};new FormData(u).forEach((p,f)=>{l[f]=String(p);}),c.forms[u.id]=l;}),c}function o(c){if(n.includes("scroll")&&requestAnimationFrame(()=>{window.scrollTo(c.scrollX,c.scrollY);}),n.includes("forms"))for(let[d,u]of Object.entries(c.forms)){let l=document.getElementById(d);if(l)for(let[p,f]of Object.entries(u)){let y=l.elements.namedItem(p);y&&(y.value=f);}}}let s=()=>`${t}-${window.location.pathname}`;function i(){try{let c=r();sessionStorage.setItem(s(),JSON.stringify(c));}catch{}}function a(){try{let c=sessionStorage.getItem(s());if(c){let d=JSON.parse(c);Date.now()-d.timestamp<1800*1e3&&o(d);}}catch{}}return window.addEventListener("beforeunload",i),window.addEventListener("popstate",()=>{requestAnimationFrame(a);}),performance.getEntriesByType("navigation")[0]?.type==="back_forward"&&requestAnimationFrame(a),()=>{window.removeEventListener("beforeunload",i);}}function ae(e,t,n$1={}){let{immediate:r=false,once:o=false,debounce:s,deep:i=false}=n$1,a=Array.isArray(e),c=a?e:[e],d=c.map(()=>{}),u=true,l=null,p=false,f=null,y=()=>{p=true,l&&clearTimeout(l),f?.();};f=n(()=>{let m=c.map(k=>k());if(u){u=false,d=i?m.map(Ke):[...m],r&&h(m,c.map(()=>{}));return}if(!(i?m.some((k,T)=>!Xo(k,d[T])):m.some((k,T)=>!Object.is(k,d[T]))))return;let b=[...d];d=i?m.map(Ke):[...m],h(m,b);});function h(m,v){if(p)return;let b=()=>{o&&(p=true,queueMicrotask(y)),a?t(m,v):t(m[0],v[0]);};s&&s>0?(l&&clearTimeout(l),l=setTimeout(b,s)):b();}return y}function Qo(e,t){return ae(e,t,{once:true})}function Yo(e,t,n){return ae(e,t,{debounce:n})}function Ke(e){if(e===null||typeof e!="object")return e;try{return JSON.parse(JSON.stringify(e))}catch{return e}}function Xo(e,t){if(Object.is(e,t))return true;if(e===null||t===null||typeof e!="object"||typeof t!="object")return false;try{return JSON.stringify(e)===JSON.stringify(t)}catch{return false}}var Ve=Symbol("deepSignal"),Zo=Symbol("deepRaw");function ei(e){let t=l(0),n=JSON.parse(JSON.stringify(e)),r=new Map;function o(d){let u=r.get(d);return u||(u=l(0),r.set(d,u)),u}let s=false;function i(d){if(s)return;let u=r.get(d);u&&u.update(l=>l+1);}function a(d,u){s=true;try{return d()}finally{s=false,i(u);}}function c(d,u=[]){return new Proxy(d,{get(l,p,f){if(p==="$raw")return JSON.parse(JSON.stringify(n));if(p==="$signal")return ()=>(t(),JSON.parse(JSON.stringify(n)));if(p===Ve)return t;if(p===Zo)return n;let y=Reflect.get(l,p,f),h=[...u,String(p)].join(".");if(o(h)(),Array.isArray(l)&&typeof y=="function"&&new Set(["push","pop","shift","unshift","splice","sort","reverse","fill","copyWithin"]).has(String(p))){let v=u.join(".")||"__root";return (...b)=>a(()=>y.apply(l,b),v)}return y!==null&&typeof y=="object"?c(y,[...u,String(p)]):y},set(l,p,f){let y=Reflect.set(l,p,f);return i([...u,String(p)].join(".")),t.update(h=>h+1),y},deleteProperty(l,p){let f=Reflect.deleteProperty(l,p);return i([...u,String(p)].join(".")),t.update(y=>y+1),f}})}return c(n)}function ti(e){return e.$raw??e}function ni(e){if(e===null||typeof e!="object")return false;try{return e[Ve]!==void 0}catch{return false}}function ze(){let e=new Map;function t(n){let r=e.get(n);return r||(r=new Set,e.set(n,r)),r}return {on(n,r){return t(n).add(r),()=>t(n).delete(r)},once(n,r){let o=s=>{t(n).delete(o),r(s);};return t(n).add(o),()=>t(n).delete(o)},emit(n,r){let o=e.get(n);if(o)for(let s of Array.from(o))s(r);},off(n,r){t(n).delete(r);},clear(n){n?e.delete(n):e.clear();},listenerCount(n){return e.get(n)?.size??0},hasListeners(n){return (e.get(n)?.size??0)>0}}}var ce=null;function ri(){return ce||(ce=ze()),ce}var oi=new Set(["a","abbr","address","article","aside","b","bdi","bdo","blockquote","br","caption","cite","code","col","colgroup","dd","del","details","dfn","div","dl","dt","em","figcaption","figure","footer","h1","h2","h3","h4","h5","h6","header","hr","i","img","ins","kbd","li","main","mark","nav","ol","p","pre","q","rp","rt","ruby","s","samp","section","small","span","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","time","tr","u","ul","var","wbr"]),ii=new Set(["alt","class","dir","href","id","lang","name","rel","src","style","tabindex","target","title","type","width","height","colspan","rowspan","scope","loading","decoding"]),si=/^(javascript|data|vbscript):/i,ai=/^on/i;function qe(e,t={}){if(typeof document>"u")return e.replace(/<[^>]*>/g,"");let{allowTags:n=[],allowAttrs:r=[],allowDataAttrs:o=true,allowAriaAttrs:s=true,allowStyle:i=false,tagFilter:a,attrFilter:c}=t,d=new Set([...oi,...n]),u=new Set([...ii,...r]);i||u.delete("style");let l=new DOMParser().parseFromString(e,"text/html");return Be(l.body,d,u,o,s,a,c),l.body.innerHTML}function Be(e,t,n,r,o,s,i){let a=Array.from(e.childNodes);for(let c of a)if(c.nodeType===Node.ELEMENT_NODE){let d=c,u=d.tagName.toLowerCase();if(!(s?s(u):t.has(u))){let f=document.createTextNode(d.textContent??"");e.replaceChild(f,c);continue}let p=Array.from(d.attributes);for(let f of p){let y=f.name.toLowerCase(),h=f.value;if(ai.test(y)){d.removeAttribute(f.name);continue}if(!(y.startsWith("data-")&&r)&&!(y.startsWith("aria-")&&o)){if(i&&!i(y,h,u)){d.removeAttribute(f.name);continue}if(!n.has(y)){d.removeAttribute(f.name);continue}if((y==="href"||y==="src")&&si.test(h)){d.removeAttribute(f.name);continue}}}Be(d,t,n,r,o,s,i);}}function ci(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function li(e,t){return n=>{e.innerHTML=qe(n,t);}}function Ue(e={}){let n={...{"default-src":["'self'"],"script-src":["'self'"],"style-src":["'self'","'unsafe-inline'"],"img-src":["'self'","data:","https:"],"font-src":["'self'","https:"],"connect-src":["'self'"],"frame-ancestors":["'none'"],"base-uri":["'self'"],"form-action":["'self'"],"object-src":["'none'"]},...e.directives};if(e.nonce){let r=`'nonce-${e.nonce}'`;n["script-src"]&&n["script-src"].push(r),n["style-src"]&&n["style-src"].push(r);}return e.reportUri&&(n["report-uri"]=[e.reportUri]),Object.entries(n).map(([r,o])=>`${r} ${o.join(" ")}`).join("; ")}function Ge(e={}){return e.reportOnly?"Content-Security-Policy-Report-Only":"Content-Security-Policy"}function ui(e={}){let t={};if(e.csp!==false){let n=e.csp??{};t[Ge(n)]=Ue(n);}if(e.frameOptions!==false&&(t["X-Frame-Options"]=e.frameOptions??"DENY"),e.contentTypeOptions!==false&&(t["X-Content-Type-Options"]="nosniff"),t["X-XSS-Protection"]=e.xssProtection?"1; mode=block":"0",e.hsts!==false){let n=e.hsts??{maxAge:31536e3,includeSubDomains:true},r=`max-age=${n.maxAge}`;n.includeSubDomains&&(r+="; includeSubDomains"),n.preload&&(r+="; preload"),t["Strict-Transport-Security"]=r;}if(e.referrerPolicy!==false&&(t["Referrer-Policy"]=e.referrerPolicy??"strict-origin-when-cross-origin"),e.permissionsPolicy!==false){let n=e.permissionsPolicy??{camera:[],microphone:[],geolocation:[],payment:[]};t["Permissions-Policy"]=Object.entries(n).map(([r,o])=>`${r}=(${o.join(" ")})`).join(", ");}return e.coop!==false&&(t["Cross-Origin-Opener-Policy"]=e.coop??"same-origin"),e.coep!==false&&(t["Cross-Origin-Embedder-Policy"]=e.coep??"require-corp"),t}function Je(e,...t){let n=new Set(["__proto__","constructor","prototype"]);for(let r of t)if(!(!r||typeof r!="object"))for(let o of Object.keys(r)){if(n.has(o))continue;let s=e[o],i=r[o];We(i)&&We(s)?e[o]=Je({...s},i):e[o]=i;}return e}function Qe(e){if(e===null||typeof e!="object")return e;Object.freeze(e);for(let t of Object.values(e))typeof t=="object"&&t!==null&&Qe(t);return e}function We(e){return e!==null&&typeof e=="object"&&Object.getPrototypeOf(e)===Object.prototype}async function di(e,t="sha384"){let r=new TextEncoder().encode(e),o=t==="sha256"?"SHA-256":t==="sha384"?"SHA-384":"SHA-512",s=await crypto.subtle.digest(o,r),i=new Uint8Array(s),a=btoa(String.fromCharCode(...i));return `${t}-${a}`}function Ye(){let e=new Uint8Array(32);return crypto.getRandomValues(e),Array.from(e,t=>t.toString(16).padStart(2,"0")).join("")}function pi(e={}){let{headerName:t="X-CSRF-Token",cookieName:n="csrf-token",tokenGenerator:r=Ye}=e,o=null;function s(){if(!o){if(typeof document<"u"){let a=document.cookie.match(new RegExp(`${n}=([^;]+)`));if(a)return o=a[1],o}o=r();}return o}return {interceptor:async(a,c)=>{let d=a.method.toUpperCase();return ["POST","PUT","PATCH","DELETE"].includes(d)&&a.headers.set(t,s()),c(a)},token:s,refresh(){o=r();}}}function fi(e,t={}){if(e==null)return null;let{allowedHosts:n,allowedProtocols:r=["http:","https:"],allowRelative:o=true}=t;if(e.startsWith("/")&&!e.startsWith("//"))return o?e:null;try{let s=new URL(e);return !r.includes(s.protocol)||n&&!n.includes(s.hostname)?null:s.toString()}catch{return null}}function mi(e){let{maxAttempts:t,windowMs:n}=e,r=[];return {check(){let o=Date.now();for(;r.length>0&&r[0]<o-n;)r.shift();return r.length>=t?false:(r.push(o),true)},remaining(){let o=Date.now();for(;r.length>0&&r[0]<o-n;)r.shift();return Math.max(0,t-r.length)},reset(){r.length=0;}}}var le=new Set,Xe=true,ue=null;function gi(e){Xe=e;}function yi(e){ue=e;}function hi(){le.clear();}function vi(e,t){let n=((...r)=>(Ze(t),e(...r)));return Object.keys(e).forEach(r=>{n[r]=e[r];}),n.__deprecated=t,n}function Ti(e,t){return Ze(t),e}function Ze(e){if(!Xe||le.has(e.name))return;le.add(e.name);let t=[`[AkashJS] DEPRECATED: ${e.name}() is deprecated since v${e.since}`];e.removeIn?t[0]+=` and will be removed in v${e.removeIn}.`:t[0]+=".",e.replacement&&t.push(` Migrate to: ${e.replacement}()`),e.message&&t.push(` ${e.message}`),t.push(` See: ${e.link??"https://akash.js.org/migration"}`);let n=t.join(`
|
|
61
|
-
`);ue?ue(n):typeof console<"u"&&console.warn(n);}var U=new Map;function bi(e){U.set(e.name,e);}function et(){return Array.from(U.values())}function wi(e){return et().filter(t=>t.stability===e)}function xi(e){return U.get(e)?.stability==="deprecated"}function Si(e){return U.get(e)?.deprecation??null}function Ei(e){let t=[],n=[],r=Object.entries(e);if(r.length===0)return {compatible:true,warnings:t,errors:n};let o=r.filter(([s])=>s.startsWith("@akashjs/"));if(o.length>1){let s=new Set(o.map(([,a])=>a.split(".")[0])),i=new Set(o.map(([,a])=>a.split(".").slice(0,2).join(".")));s.size>1?n.push(`Major version mismatch: ${o.map(([a,c])=>`${a}@${c}`).join(", ")}. All @akashjs packages should be on the same major version.`):i.size>1&&t.push(`Minor version mismatch: ${o.map(([a,c])=>`${a}@${c}`).join(", ")}. Consider updating all packages to the same version with \`akash update\`.`);}return {compatible:n.length===0,warnings:t,errors:n}}var ki=new Map,Ci=new Map;function G(e){let n=d()[e];if(!n)return null;let r=n.$snapshot(),o=n.$__meta,s={},i=[];if(o){for(let a of o.getterKeys)try{s[a]=n[a]();}catch{s[a]="<error>";}i.push(...o.actionKeys);}else for(let[a,c]of Object.entries(n))a.startsWith("$")||a in r||typeof c=="function"&&i.push(a);return {$id:e,state:r,getters:s,actions:i,subscriberCount:0}}var de=new Map,pe=new Map;function Pi(){return {stores(){return Object.keys(d())},store(e){return G(e)},storeSnapshots(){let e={};for(let t of Object.keys(d())){let n=G(t);n&&(e[t]=n);}return e},signals(){return [...ki.values()].map(e=>({name:e.name,value:e.read(),subscribers:e.subscriberCount}))},effects(){return [...Ci.values()].map(e=>({name:e.name,runs:e.runCount,isRender:e.isRender,sources:e.sourceCount}))},version(){return {runtime:"0.2.6"}},log(e){if(e){let t=G(e);t?(console.group(`\u{1F50D} Store: ${e}`),console.log("State:",t.state),console.log("Getters:",t.getters),console.log("Actions:",t.actions),console.groupEnd()):console.warn(`Store "${e}" not found. Available:`,Object.keys(d()));}else {let t=Object.keys(d());console.group("\u{1F50D} AkashJS Stores");for(let n of t){let r=G(n);r&&(console.group(n),console.log("State:",r.state),console.log("Getters:",r.getters),console.groupEnd());}console.groupEnd();}},startRecording(e){let t=d()[e];if(!t){console.warn(`Store "${e}" not found.`);return}let n=[];n.push({timestamp:Date.now(),state:t.$snapshot()});let r=t.$subscribe(o=>{n.push({timestamp:Date.now(),state:{...o}});});de.set(e,n),pe.set(e,r),console.log(`\u23FA Recording store "${e}". Call __AKASH_DEVTOOLS__.stopRecording("${e}") to view history.`);},stopRecording(e){let t=pe.get(e);t&&t(),pe.delete(e);let n=de.get(e)??[];return de.delete(e),console.log(`\u23F9 Stopped recording "${e}". ${n.length} snapshots captured.`),console.table(n.map((r,o)=>({"#":o,time:new Date(r.timestamp).toISOString().slice(11,23),state:JSON.stringify(r.state)}))),n}}}function Ai(e){let t=Pi();typeof globalThis<"u"&&(globalThis.__AKASH_DEVTOOLS__=t,console.log("%c\u{1F527} AkashJS DevTools installed. Access via __AKASH_DEVTOOLS__ in console.","color: #7c3aed; font-weight: bold;"),console.log(" .stores() \u2014 list stores"),console.log(' .store("id") \u2014 inspect store'),console.log(" .log() \u2014 pretty-print all stores"),console.log(' .log("id") \u2014 pretty-print one store'),console.log(' .startRecording("id") \u2014 record state changes'),console.log(' .stopRecording("id") \u2014 view recorded history'),console.log(" .signals() \u2014 list tracked signals"),console.log(" .effects() \u2014 list tracked effects")),e?.overlay&&import('./devtools-overlay-CJWKBTP4.js').then(n=>n.mountDevtoolsOverlay());}var tt=typeof process>"u"||process.env?.NODE_ENV!=="production",Ri=[{pattern:/Cannot set property '?(\w+)'? of/,hint:e=>`Did you try to reassign a signal? Use ${e[1]}.set(value) instead of ${e[1]} = value.`},{pattern:/(\w+) is not a function/,hint:e=>`"${e[1]}" may be a signal. Read it with ${e[1]}(), set it with ${e[1]}.set(value).`},{pattern:/Cannot read propert(?:y|ies) of (null|undefined)/,hint:()=>"A value is null/undefined. Use optional chaining (?.) or wrap in <Show when={value()}>."},{pattern:/(\w+)\.(?:forEach|map|filter|reduce) is not a function/,hint:e=>`"${e[1]}" might be a signal containing an array. Call ${e[1]}() first to get the value: ${e[1]}().map(...)`},{pattern:/(\w+)\.set is not a function/,hint:e=>`"${e[1]}" is not a writable signal. Only signal() values have .set(). Computed values are read-only.`},{pattern:/Maximum call stack size exceeded/,hint:()=>"Possible circular dependency. Check if two computed values or effects read and write to each other."}];function J(e){if(!tt)return e;for(let{pattern:t,hint:n}of Ri){let r=t.exec(e.message);if(r){e.message+=`
|
|
62
|
-
|
|
63
|
-
\u{1F4A1} Hint: ${n(r)}`;break}}return e}function Oi(){tt&&(typeof window<"u"&&(window.addEventListener("error",e=>{e.error instanceof Error&&J(e.error);}),window.addEventListener("unhandledrejection",e=>{e.reason instanceof Error&&J(e.reason);})),typeof process<"u"&&process.on&&process.on("uncaughtException",e=>{J(e),console.error(e),process.exit(1);}));}export{jo as Await,hn as ErrorBoundary,ye as HYDRATE_ATTR,Tr as Image,Jn as Portal,bn as Suspense,io as Switch,Pn as Transition,er as VirtualFor,Wr as applyDirective,xr as applyStyles,xo as assignTransitionName,_o as awaitSignal,Ne as bindClass,Wo as bindClasses,No as bindDimensions,Ko as bindElement,Vo as bindGroup,zo as bindGroupItem,$o as bindScroll,$e as bindStyle,qo as bindStyles,re as calculateRange,Lr as capitalize,Ar as chain,Ei as checkCompatibility,xe as checkForLeaks,xn as claimElement,Sn as claimText,po as clearProviders,Ro as clearQueryState,Rn as collectSSRHead,nr as countOps,Ln as createApp,pi as createCSRFInterceptor,Sr as createDataTable,ze as createEventBus,_e as createFlip,De as createInjector,mi as createRateLimiter,li as createSafeHTML,yn as createSlots,Yn as createToaster,wr as css,_r as currency,Se as cx,jr as date,Qe as deepFreeze,ei as deepSignal,fo as defer,tr as defineAsyncComponent,Xr as defineCustomElement,H as defineDirective,Go as defineFormAction,Rr as definePipe,Dn as definePlugin,co as defineProvider,Bo as defineSnippet,vi as deprecated,Ti as deprecatedValue,zr as directiveFromFn,or as disableLeakDetection,no as discoverStaticRoutes,je as easings,rr as enableLeakDetection,Jo as enableSnapshots,J as enhanceError,ve as enterTransition,ci as escapeHtml,Cn as exitTransition,kn as findHydrationBoundaries,Ho as flip,Ue as generateCSP,Ye as generateCSRFToken,ro as generatePaths,di as generateSRI,ui as generateSecurityHeaders,Cr as generateSitemap,An as generateTransitionCSS,wi as getAPIsByStability,cr as getActiveEffects,Ge as getCSPHeaderName,Si as getDeprecationInfo,ur as getLeakDetectionStats,Oo as getQueryParams,et as getRegisteredAPIs,vn as getSuspenseContext,he as getTransitionClasses,ri as globalEventBus,gn as hasSlot,ee as hydrate,uo as injectProvider,Uo as inspect,Ai as installDevtools,Oi as installErrorHints,ni as isDeepSignal,xi as isDeprecated,wn as isHydrationActive,ir as isLeakDetectionEnabled,$r as json,Te as longestIncreasingSubsequence,Dr as lowercase,so as match,Fr as number,Fo as onEvent,Nr as percent,Pr as pipe,Kr as plural,to as prerender,En as progressiveHydrate,be as reconcileKeys,bi as registerAPI,Tn as registerPending,Vr as relativeTime,Br as removeDirectives,Do as removeQueryState,On as renderHeadToString,mn as renderSlot,Re as renderSwitch,lr as reportLeaks,hi as resetDeprecationWarnings,Lo as resetQueryState,Je as safeMerge,qe as sanitize,fi as sanitizeURL,gi as setDeprecationWarnings,yi as setWarningHandler,oo as sitemapFromResults,bo as startViewTransition,Le as supportsViewTransitions,Mr as titleCase,Zr as toCustomElement,ti as toRaw,sr as trackEffect,Ir as trim,Hr as truncate,Io as tweened,ar as untrackEffect,qr as updateDirective,Or as uppercase,Ae as urlToFilePath,gr as useAnnounce,Vn as useBreakpoint,Gn as useClickOutside,Wn as useClipboard,_n as useCounter,Hn as useDebounce,fr as useFocusTrap,Bn as useGeolocation,_ as useHead,br as useInfiniteScroll,Mn as useInterval,yr as useKeyboard,$n as useMediaQuery,qn as useOnline,Ce as useOpenGraph,Nn as usePrevious,Ie as useQueryState,Ao as useQueryStates,kr as useSEO,zn as useStorage,ke as useStructuredData,Xn as useTheme,jn as useThrottle,In as useTimeout,Fn as useToggle,Pe as useTwitterCard,Zn as useVirtualList,Un as useWindowSize,Ur as vAutoFocus,Gr as vClickOutside,Qr as vIntersect,Jr as vLongPress,Yr as vResize,wo as viewTransitionCSS,ae as watch,Yo as watchDebounced,Qo as watchOnce,Fe as withModifiers};//# sourceMappingURL=index.js.map
|
|
1
|
+
export{d as assignTransitionName,b as startViewTransition,a as supportsViewTransitions,c as viewTransitionCSS}from'./chunk-WLSXJU2N.js';export{a as defineCustomElement,b as toCustomElement}from'./chunk-F4FXIPR3.js';export{b as discoverStaticRoutes,c as generatePaths,a as prerender,e as sitemapFromResults,d as urlToFilePath}from'./chunk-MADMPRT2.js';export{f as HYDRATE_ATTR,c as claimElement,d as claimText,g as findHydrationBoundaries,b as hydrate,a as isHydrationActive,e as progressiveHydrate}from'./chunk-JEYTB4AG.js';export{a as useInfiniteScroll}from'./chunk-QQ725EZL.js';export{c as countOps,a as longestIncreasingSubsequence,b as reconcileKeys}from'./chunk-UT4MWGJ3.js';export{g as checkForLeaks,b as disableLeakDetection,a as enableLeakDetection,f as getActiveEffects,i as getLeakDetectionStats,c as isLeakDetectionEnabled,h as reportLeaks,d as trackEffect,e as untrackEffect}from'./chunk-VX7PSSOU.js';export{b as useAnnounce,a as useFocusTrap,c as useKeyboard}from'./chunk-L3ZZX36S.js';export{c as installDevtools}from'./chunk-VUSNUBNI.js';export{a as enhanceError,b as installErrorHints}from'./chunk-4J3QBQVW.js';export{k as checkCompatibility,d as deprecated,e as deprecatedValue,h as getAPIsByStability,j as getDeprecationInfo,g as getRegisteredAPIs,i as isDeprecated,f as registerAPI,c as resetDeprecationWarnings,a as setDeprecationWarnings,b as setWarningHandler}from'./chunk-OQV3NYDH.js';export{a as defer}from'./chunk-KUPL3ZVD.js';export{c as applyStyles,b as css,a as cx}from'./chunk-E6RB7PRO.js';export{a as createDataTable}from'./chunk-OZ4GNBKA.js';export{f as capitalize,b as chain,k as currency,j as date,c as definePipe,n as json,e as lowercase,l as number,m as percent,a as pipe,o as plural,p as relativeTime,g as titleCase,h as trim,i as truncate,d as uppercase}from'./chunk-AXB5GHGO.js';export{c as applyDirective,a as defineDirective,b as directiveFromFn,e as removeDirectives,d as updateDirective,f as vAutoFocus,g as vClickOutside,i as vIntersect,h as vLongPress,j as vResize}from'./chunk-MDHWM3C2.js';export{h as bindClass,i as bindClasses,c as bindDimensions,e as bindElement,f as bindGroup,g as bindGroupItem,d as bindScroll,j as bindStyle,k as bindStyles,b as onEvent,a as withModifiers}from'./chunk-FVF3T4JJ.js';export{c as defineFormAction,a as defineSnippet,d as enableSnapshots,b as inspect}from'./chunk-7VBH4F3P.js';export{a as createEventBus,b as globalEventBus}from'./chunk-IJS2EMSE.js';export{k as createCSRFInterceptor,m as createRateLimiter,c as createSafeHTML,h as deepFreeze,b as escapeHtml,d as generateCSP,j as generateCSRFToken,i as generateSRI,f as generateSecurityHeaders,e as getCSPHeaderName,g as safeMerge,a as sanitize,l as sanitizeURL}from'./chunk-KMEGUPH2.js';export{a as easings,b as tweened}from'./chunk-T2RVAQEU.js';export{a as createFlip,b as flip}from'./chunk-JFLZJPVN.js';export{e as useCounter,c as useDebounce,a as useInterval,g as usePrevious,d as useThrottle,b as useTimeout,f as useToggle}from'./chunk-Z6K4FYG6.js';export{b as useBreakpoint,h as useClickOutside,d as useClipboard,f as useGeolocation,a as useMediaQuery,e as useOnline,c as useStorage,g as useWindowSize}from'./chunk-JQCN42XX.js';export{e as clearProviders,b as createInjector,a as defineProvider,d as injectProvider}from'./chunk-JLPJ22CE.js';export{b as createApp,a as definePlugin}from'./chunk-IHEW6F2H.js';export{a as createToaster}from'./chunk-PYASLKWF.js';export{a as useTheme}from'./chunk-QNVMBXVH.js';export{c as VirtualFor,a as calculateRange,b as useVirtualList}from'./chunk-Q6S7SUOM.js';export{a as defineAsyncComponent}from'./chunk-SXYPAP4B.js';export{a as Await,b as awaitSignal}from'./chunk-NJXXC5JB.js';export{b as Switch,c as match,a as renderSwitch}from'./chunk-YDO5KARN.js';export{a as Image}from'./chunk-ZJULEDLY.js';export{a as watch,c as watchDebounced,b as watchOnce}from'./chunk-N5APNCPB.js';export{a as deepSignal,c as isDeepSignal,b as toRaw}from'./chunk-BGSF77LF.js';export{c as clearQueryState,d as getQueryParams,e as removeQueryState,f as resetQueryState,a as useQueryState,b as useQueryStates}from'./chunk-F6VSSM2P.js';export{b as generateSWScript,a as registerServiceWorker,c as subscribePush}from'./chunk-NBYFHJWB.js';export{e as generateSitemap,b as useOpenGraph,d as useSEO,a as useStructuredData,c as useTwitterCard}from'./chunk-TZHEZW6R.js';export{a as collectSSRHead,b as renderHeadToString,c as useHead}from'./chunk-N3ITIHHM.js';export{d as Transition,b as enterTransition,c as exitTransition,e as generateTransitionCSS,a as getTransitionClasses}from'./chunk-TSFY5HKB.js';export{a as Portal}from'./chunk-WZ5ULION.js';export{a as ErrorBoundary}from'./chunk-NCXMNJUN.js';export{c as Suspense,a as getSuspenseContext,b as registerPending}from'./chunk-VO4FCKHM.js';import {l}from'./chunk-KE7BJTCD.js';export{k as For,j as Show,n as __getter,f as bindProperty,e as bindText,g as bindVisible,c as cloneTemplate,a as createElement,b as createText,s as defineComponent,m as insert,l as nodeToDOM,q as onError,o as onMount,p as onUnmount,r as ref,h as renderConditional,i as renderList,d as setProperty}from'./chunk-KE7BJTCD.js';export{e as createContext,c as getCurrentScope,g as inject,f as provide,d as runInScope}from'./chunk-VUMMC2P5.js';export{b as akashError,a as formatError,d as getAllErrorCodes,c as getErrorDef}from'./chunk-AOFLE33X.js';export{d as __getStoreInstances,c as clearStores,a as configureStores,b as defineStore}from'./chunk-VWTULWXF.js';export{b as isServerRendering,i as nodeToHtml,j as renderNodes,e as renderToStream,c as renderToString,d as renderToStringSync,f as ssrElement,h as ssrRaw,g as ssrText}from'./chunk-QTPP343X.js';export{a as LWWRegister,c as createLocalTransport,d as createSync,b as createWebSocketTransport,e as useCursor,f as useTypingIndicator}from'./chunk-BB7P6HTR.js';export{a as createOfflineStore}from'./chunk-CP6SK2B4.js';export{a as animate,d as animateGroup,c as animateSequence,e as animateSpring,b as animateStagger,g as defineStates,f as keyframes}from'./chunk-Q3E2UVUK.js';export{a as createMachine}from'./chunk-R7NUVVHP.js';export{a as batch,d as computed,e as effect,b as flushSync,g as on,c as signal,f as untrack}from'./chunk-YXKQTEPR.js';export{h as createTimer,i as formatProfile,e as getProfileSummary,c as isProfiling,g as measureAsync,f as measureSync,d as recordPerfEntry,a as startProfiling,b as stopProfiling}from'./chunk-U65WRXZC.js';function Qo(e,r){if(e&&typeof e=="function"){let t=e();return l(t)}return r?l(r()):document.createComment("empty slot")}function zo(e,r){if(!e)return false;let t=r&&typeof e=="object"?e[r]:e;if(!t||typeof t!="function")return false;let o=t();return !(o==null||o===false||typeof o=="string"&&o.trim()==="")}function Go(e,r){let t={},o=r??Object.keys(e);for(let i of o){let s=e[i];typeof s=="function"&&(t[i]=s);}return t}export{Go as createSlots,zo as hasSlot,Qo as renderSlot};//# sourceMappingURL=index.js.map
|
|
64
2
|
//# sourceMappingURL=index.js.map
|