@salla.sa/twilight-theme-engine 1.0.109 → 1.0.111
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/{AddToCartForm-ZIZKGYJR.js → AddToCartForm-LQUGORMR.js} +3 -3
- package/dist/{AddToCartForm-ZIZKGYJR.js.map → AddToCartForm-LQUGORMR.js.map} +1 -1
- package/dist/{BlogAuthorPage-GLAYDKIX.js → BlogAuthorPage-CNZRXDPQ.js} +27 -26
- package/dist/BlogAuthorPage-CNZRXDPQ.js.map +1 -0
- package/dist/{BlogCategoryPage-KPU6LYHK.js → BlogCategoryPage-MO5XBW4Z.js} +27 -26
- package/dist/BlogCategoryPage-MO5XBW4Z.js.map +1 -0
- package/dist/{BlogPage-VDDHOD33.js → BlogPage-EJZRH3YO.js} +25 -24
- package/dist/BlogPage-EJZRH3YO.js.map +1 -0
- package/dist/{BlogSinglePage-UWP5MFAS.js → BlogSinglePage-LO6O2MFG.js} +25 -24
- package/dist/BlogSinglePage-LO6O2MFG.js.map +1 -0
- package/dist/{BlogTagPage-V3Z4AD4C.js → BlogTagPage-HL6HTJ4I.js} +27 -26
- package/dist/BlogTagPage-HL6HTJ4I.js.map +1 -0
- package/dist/{BrandsPage-ARYKHCTB.js → BrandsPage-T6APSLYK.js} +26 -25
- package/dist/BrandsPage-T6APSLYK.js.map +1 -0
- package/dist/{Breadcrumb-XT2MP2ZW.js → Breadcrumb-W7JBOHPB.js} +25 -24
- package/dist/Breadcrumb-W7JBOHPB.js.map +1 -0
- package/dist/{CartItem-4VXVOKVF.js → CartItem-UELEXBHU.js} +25 -24
- package/dist/CartItem-UELEXBHU.js.map +1 -0
- package/dist/{CartSummary-K23PGOUL.js → CartSummary-6L6TXZOF.js} +25 -24
- package/dist/CartSummary-6L6TXZOF.js.map +1 -0
- package/dist/{Copyright-KBCQVD5Y.js → Copyright-YAIOATPE.js} +3 -3
- package/dist/{Copyright-KBCQVD5Y.js.map → Copyright-YAIOATPE.js.map} +1 -1
- package/dist/{CustomerLayout-B77ZKB4X.js → CustomerLayout-4XKCLHWW.js} +25 -24
- package/dist/CustomerLayout-4XKCLHWW.js.map +1 -0
- package/dist/{Footer-L52M4T24.js → Footer-UHLNZNUZ.js} +5 -4
- package/dist/{Footer-L52M4T24.js.map → Footer-UHLNZNUZ.js.map} +1 -1
- package/dist/Header-M3Q7KDF5.js +22 -0
- package/dist/{Header-QOAV23HD.js.map → Header-M3Q7KDF5.js.map} +1 -1
- package/dist/{LoyaltyPage-3OIZG2ZJ.js → LoyaltyPage-MUEAIXZJ.js} +25 -24
- package/dist/LoyaltyPage-MUEAIXZJ.js.map +1 -0
- package/dist/{LoyaltyPointsPage-I3O3JA7Q.js → LoyaltyPointsPage-GECERR3Q.js} +9 -8
- package/dist/LoyaltyPointsPage-GECERR3Q.js.map +1 -0
- package/dist/{MainMenu-VIDYUQNX.js → MainMenu-ZQLKN43L.js} +7 -7
- package/dist/{MainMenu-VIDYUQNX.js.map → MainMenu-ZQLKN43L.js.map} +1 -1
- package/dist/{MasterLayout-FY666JMR.js → MasterLayout-KVMF2U5Z.js} +25 -24
- package/dist/{MasterLayout-FY666JMR.js.map → MasterLayout-KVMF2U5Z.js.map} +1 -1
- package/dist/{MobileMenu-3ILQKCHA.js → MobileMenu-GPVASHD2.js} +26 -25
- package/dist/MobileMenu-GPVASHD2.js.map +1 -0
- package/dist/{NotificationsPage-EYTBUS36.js → NotificationsPage-5GQIDZH4.js} +25 -24
- package/dist/NotificationsPage-5GQIDZH4.js.map +1 -0
- package/dist/{OrderSinglePage-YHA5D2ZI.js → OrderSinglePage-6BCHQ3YG.js} +26 -25
- package/dist/OrderSinglePage-6BCHQ3YG.js.map +1 -0
- package/dist/{OrdersPage-4A2QINDX.js → OrdersPage-BPKE45CP.js} +25 -24
- package/dist/OrdersPage-BPKE45CP.js.map +1 -0
- package/dist/{PageSingle-ED24MS2Z.js → PageSingle-7BM4FJBH.js} +6 -6
- package/dist/{PageSingle-ED24MS2Z.js.map → PageSingle-7BM4FJBH.js.map} +1 -1
- package/dist/{ProductDetails-ZA5A66JW.js → ProductDetails-L65HAYDG.js} +7 -7
- package/dist/{ProductDetails-ZA5A66JW.js.map → ProductDetails-L65HAYDG.js.map} +1 -1
- package/dist/{ProfilePage-ZTYHIDGE.js → ProfilePage-IYGXRJQJ.js} +25 -24
- package/dist/ProfilePage-IYGXRJQJ.js.map +1 -0
- package/dist/{ReviewsPage-LTEOFKHW.js → ReviewsPage-6AOYLTID.js} +3 -3
- package/dist/{ReviewsPage-LTEOFKHW.js.map → ReviewsPage-6AOYLTID.js.map} +1 -1
- package/dist/{SeoCartWidget-3O35VZZO.js → SeoCartWidget-ANNRB6E7.js} +25 -24
- package/dist/SeoCartWidget-ANNRB6E7.js.map +1 -0
- package/dist/{SettingsPage-3VRJ3AYE.js → SettingsPage-ZRC7YUIB.js} +25 -24
- package/dist/SettingsPage-ZRC7YUIB.js.map +1 -0
- package/dist/StoreClosedNotification-TL32ZXVT.js +55 -0
- package/dist/{StoreClosedNotification-7KACKGVH.js.map → StoreClosedNotification-TL32ZXVT.js.map} +1 -1
- package/dist/{TestimonialsPage-LYJFX32D.js → TestimonialsPage-BEMMOE3M.js} +6 -6
- package/dist/{TestimonialsPage-LYJFX32D.js.map → TestimonialsPage-BEMMOE3M.js.map} +1 -1
- package/dist/{ThankYouPage-Z2S7MJ7J.js → ThankYouPage-ZMHWJAWO.js} +25 -24
- package/dist/ThankYouPage-ZMHWJAWO.js.map +1 -0
- package/dist/{WalletPage-EZ4RTLGE.js → WalletPage-WSPMXC2P.js} +26 -25
- package/dist/WalletPage-WSPMXC2P.js.map +1 -0
- package/dist/{WishlistPage-V7Z6GWQI.js → WishlistPage-G5O25DM5.js} +27 -26
- package/dist/WishlistPage-G5O25DM5.js.map +1 -0
- package/dist/api/advertisement.js +4 -4
- package/dist/api/apps.js +4 -4
- package/dist/api/blog.js +6 -6
- package/dist/api/brands.js +6 -6
- package/dist/api/cart.js +6 -6
- package/dist/api/category.js +6 -6
- package/dist/api/client.js +3 -3
- package/dist/api/home.js +4 -4
- package/dist/api/loyalty.js +6 -6
- package/dist/api/menu.js +4 -4
- package/dist/api/notification.js +4 -4
- package/dist/api/order.js +6 -6
- package/dist/api/page.js +6 -6
- package/dist/api/product.js +6 -6
- package/dist/api/profile.js +3 -3
- package/dist/api/store.js +4 -4
- package/dist/api/translations.js +4 -4
- package/dist/api/user.js +4 -4
- package/dist/api/wallet.js +4 -4
- package/dist/api/wishlist.js +7 -7
- package/dist/{chunk-SCL6EXHP.js → chunk-2OAG7V35.js} +8 -5
- package/dist/chunk-2OAG7V35.js.map +1 -0
- package/dist/{chunk-CQ6J4FKU.js → chunk-3ANDBTKR.js} +4 -4
- package/dist/{chunk-CQ6J4FKU.js.map → chunk-3ANDBTKR.js.map} +1 -1
- package/dist/{chunk-C7CJZ5DK.js → chunk-3DNVQVNY.js} +3 -3
- package/dist/{chunk-C7CJZ5DK.js.map → chunk-3DNVQVNY.js.map} +1 -1
- package/dist/{chunk-UCJNWQF2.js → chunk-4INSECDW.js} +3 -3
- package/dist/{chunk-UCJNWQF2.js.map → chunk-4INSECDW.js.map} +1 -1
- package/dist/{chunk-3WMGAFWX.js → chunk-56OZRZIZ.js} +4 -4
- package/dist/{chunk-3WMGAFWX.js.map → chunk-56OZRZIZ.js.map} +1 -1
- package/dist/{chunk-PFMTPKZO.js → chunk-6NV6T24C.js} +3 -3
- package/dist/{chunk-PFMTPKZO.js.map → chunk-6NV6T24C.js.map} +1 -1
- package/dist/{chunk-SGZ6TCHB.js → chunk-6T7FUHJY.js} +4 -4
- package/dist/{chunk-SGZ6TCHB.js.map → chunk-6T7FUHJY.js.map} +1 -1
- package/dist/{chunk-GIAXPCHD.js → chunk-6Z6BGS7P.js} +3 -3
- package/dist/{chunk-GIAXPCHD.js.map → chunk-6Z6BGS7P.js.map} +1 -1
- package/dist/{chunk-TTTI4W5F.js → chunk-BFA2U7P3.js} +4 -4
- package/dist/{chunk-TTTI4W5F.js.map → chunk-BFA2U7P3.js.map} +1 -1
- package/dist/{chunk-UO4HPAP5.js → chunk-BGVRYEPA.js} +8 -8
- package/dist/{chunk-UO4HPAP5.js.map → chunk-BGVRYEPA.js.map} +1 -1
- package/dist/{chunk-HSXQUHZO.js → chunk-CA3QVM6Y.js} +5 -5
- package/dist/{chunk-HSXQUHZO.js.map → chunk-CA3QVM6Y.js.map} +1 -1
- package/dist/{chunk-WX2UWLMW.js → chunk-CFARTPUQ.js} +3 -3
- package/dist/{chunk-WX2UWLMW.js.map → chunk-CFARTPUQ.js.map} +1 -1
- package/dist/{chunk-3QJCZSLR.js → chunk-E5PEYI5I.js} +5 -5
- package/dist/{chunk-3QJCZSLR.js.map → chunk-E5PEYI5I.js.map} +1 -1
- package/dist/{chunk-U46RGTYO.js → chunk-E7AO2Q32.js} +3 -3
- package/dist/{chunk-U46RGTYO.js.map → chunk-E7AO2Q32.js.map} +1 -1
- package/dist/{chunk-RJ5HY6PN.js → chunk-EJLVOWXU.js} +4 -4
- package/dist/{chunk-RJ5HY6PN.js.map → chunk-EJLVOWXU.js.map} +1 -1
- package/dist/{chunk-LG2UQKSH.js → chunk-FJQD3LTR.js} +4 -4
- package/dist/{chunk-LG2UQKSH.js.map → chunk-FJQD3LTR.js.map} +1 -1
- package/dist/{chunk-HSKRX3WR.js → chunk-FMSRB2TT.js} +4 -4
- package/dist/{chunk-HSKRX3WR.js.map → chunk-FMSRB2TT.js.map} +1 -1
- package/dist/{chunk-VM5Y62RM.js → chunk-FNM2OUPD.js} +4 -4
- package/dist/{chunk-VM5Y62RM.js.map → chunk-FNM2OUPD.js.map} +1 -1
- package/dist/{chunk-WAYZZVNX.js → chunk-GAGTCI3J.js} +4 -4
- package/dist/{chunk-WAYZZVNX.js.map → chunk-GAGTCI3J.js.map} +1 -1
- package/dist/{chunk-GGATZRAY.js → chunk-I7WSIN27.js} +3 -3
- package/dist/{chunk-GGATZRAY.js.map → chunk-I7WSIN27.js.map} +1 -1
- package/dist/{chunk-N5WT7UM3.js → chunk-IAHWLUFK.js} +3 -3
- package/dist/{chunk-N5WT7UM3.js.map → chunk-IAHWLUFK.js.map} +1 -1
- package/dist/{chunk-KPQEPQ4L.js → chunk-IRK7HSN6.js} +15 -9
- package/dist/chunk-IRK7HSN6.js.map +1 -0
- package/dist/{chunk-HGA5D4LJ.js → chunk-K7U46BT2.js} +4 -4
- package/dist/{chunk-HGA5D4LJ.js.map → chunk-K7U46BT2.js.map} +1 -1
- package/dist/{chunk-NEPWW7KM.js → chunk-LU5DRXS5.js} +3 -3
- package/dist/{chunk-NEPWW7KM.js.map → chunk-LU5DRXS5.js.map} +1 -1
- package/dist/{chunk-6V4SM23M.js → chunk-MEMJOJO4.js} +3 -3
- package/dist/{chunk-6V4SM23M.js.map → chunk-MEMJOJO4.js.map} +1 -1
- package/dist/{chunk-ZM4J5A4Z.js → chunk-MJ7TL42D.js} +3 -3
- package/dist/{chunk-ZM4J5A4Z.js.map → chunk-MJ7TL42D.js.map} +1 -1
- package/dist/{chunk-3MTOUUC7.js → chunk-MKCESZHW.js} +4 -4
- package/dist/{chunk-3MTOUUC7.js.map → chunk-MKCESZHW.js.map} +1 -1
- package/dist/{chunk-TOVC6CV7.js → chunk-MVBMVM22.js} +5 -5
- package/dist/{chunk-TOVC6CV7.js.map → chunk-MVBMVM22.js.map} +1 -1
- package/dist/{chunk-TUVDPELG.js → chunk-NYXV2PES.js} +8 -8
- package/dist/{chunk-TUVDPELG.js.map → chunk-NYXV2PES.js.map} +1 -1
- package/dist/{chunk-B272JNRU.js → chunk-OMY65JIW.js} +4 -4
- package/dist/{chunk-B272JNRU.js.map → chunk-OMY65JIW.js.map} +1 -1
- package/dist/{chunk-YDKPG3AP.js → chunk-ONRRKJWG.js} +7 -7
- package/dist/{chunk-YDKPG3AP.js.map → chunk-ONRRKJWG.js.map} +1 -1
- package/dist/chunk-OQIIJRAS.js +30 -0
- package/dist/chunk-OQIIJRAS.js.map +1 -0
- package/dist/{chunk-N6B4LPKS.js → chunk-PF2WSBJ7.js} +4 -4
- package/dist/{chunk-N6B4LPKS.js.map → chunk-PF2WSBJ7.js.map} +1 -1
- package/dist/{chunk-QEPZPPLH.js → chunk-PKJJ6Z7A.js} +3 -3
- package/dist/{chunk-QEPZPPLH.js.map → chunk-PKJJ6Z7A.js.map} +1 -1
- package/dist/{chunk-YUI6R2PA.js → chunk-POI4G5EA.js} +112 -7
- package/dist/chunk-POI4G5EA.js.map +1 -0
- package/dist/{chunk-I2ZO57UV.js → chunk-RCCVUE72.js} +6 -6
- package/dist/{chunk-I2ZO57UV.js.map → chunk-RCCVUE72.js.map} +1 -1
- package/dist/{chunk-P36CIH6E.js → chunk-ROTFC5YL.js} +7 -7
- package/dist/{chunk-P36CIH6E.js.map → chunk-ROTFC5YL.js.map} +1 -1
- package/dist/{chunk-VDBDYFAL.js → chunk-TL256OK3.js} +4 -4
- package/dist/{chunk-VDBDYFAL.js.map → chunk-TL256OK3.js.map} +1 -1
- package/dist/{chunk-4SZZPXM2.js → chunk-TMMK2VYE.js} +50 -17
- package/dist/chunk-TMMK2VYE.js.map +1 -0
- package/dist/{chunk-IRLKZ3LB.js → chunk-UAMMJPLQ.js} +21 -21
- package/dist/{chunk-IRLKZ3LB.js.map → chunk-UAMMJPLQ.js.map} +1 -1
- package/dist/{chunk-QZM4ZACO.js → chunk-UFQY2QQ4.js} +3 -3
- package/dist/{chunk-QZM4ZACO.js.map → chunk-UFQY2QQ4.js.map} +1 -1
- package/dist/chunk-ULC4J3PY.js +14 -0
- package/dist/{chunk-2RRZZYH4.js.map → chunk-ULC4J3PY.js.map} +1 -1
- package/dist/{chunk-UEOXX7N2.js → chunk-VFXAHTB3.js} +6 -6
- package/dist/{chunk-UEOXX7N2.js.map → chunk-VFXAHTB3.js.map} +1 -1
- package/dist/{chunk-IXFBHQ5P.js → chunk-WD576F4S.js} +3 -3
- package/dist/{chunk-IXFBHQ5P.js.map → chunk-WD576F4S.js.map} +1 -1
- package/dist/{chunk-WEN6FKY6.js → chunk-WN35SBLD.js} +3 -3
- package/dist/{chunk-WEN6FKY6.js.map → chunk-WN35SBLD.js.map} +1 -1
- package/dist/{chunk-L6TSHT52.js → chunk-X2JCU7GY.js} +3 -3
- package/dist/{chunk-L6TSHT52.js.map → chunk-X2JCU7GY.js.map} +1 -1
- package/dist/{chunk-YZDHDHSN.js → chunk-YYMKDBZV.js} +3 -3
- package/dist/{chunk-YZDHDHSN.js.map → chunk-YYMKDBZV.js.map} +1 -1
- package/dist/{chunk-N6JUOBYJ.js → chunk-Z4UTYKKV.js} +4 -4
- package/dist/{chunk-N6JUOBYJ.js.map → chunk-Z4UTYKKV.js.map} +1 -1
- package/dist/{chunk-NEKHAKA7.js → chunk-ZBFTBK4B.js} +96 -18
- package/dist/chunk-ZBFTBK4B.js.map +1 -0
- package/dist/{chunk-7JAOXOEW.js → chunk-ZDKQL2E4.js} +4 -4
- package/dist/{chunk-7JAOXOEW.js.map → chunk-ZDKQL2E4.js.map} +1 -1
- package/dist/{chunk-4CCCNO2Q.js → chunk-ZRT6L6TC.js} +3 -3
- package/dist/{chunk-4CCCNO2Q.js.map → chunk-ZRT6L6TC.js.map} +1 -1
- package/dist/components/cart/index.js +1 -1
- package/dist/components/common/index.js +1 -1
- package/dist/components/drawer/index.js +23 -22
- package/dist/components/home/index.js +27 -26
- package/dist/components/layout/Footer.d.ts.map +1 -1
- package/dist/components/layout/Header.d.ts.map +1 -1
- package/dist/components/layout/MadeWithSalla.d.ts +9 -0
- package/dist/components/layout/MadeWithSalla.d.ts.map +1 -0
- package/dist/components/layout/index.d.ts +2 -0
- package/dist/components/layout/index.d.ts.map +1 -1
- package/dist/components/layout/index.js +7 -6
- package/dist/components/product/index.js +24 -23
- package/dist/components/store/index.js +24 -23
- package/dist/components/toast/index.js +4 -4
- package/dist/dev/editor/index.js +2 -2
- package/dist/dev/index.js +2 -2
- package/dist/document-class-RXOPTIM2.js +29 -0
- package/dist/{document-class-2PMYG45N.js.map → document-class-RXOPTIM2.js.map} +1 -1
- package/dist/hooks/index.js +23 -22
- package/dist/hooks/useComments.js +3 -3
- package/dist/hooks/useGtm.js +23 -22
- package/dist/hooks/useMoney.js +23 -22
- package/dist/hooks/useProduct.js +3 -3
- package/dist/hooks/useStore.js +23 -22
- package/dist/hooks/useUser.js +5 -5
- package/dist/hooks/useWishlist.js +3 -3
- package/dist/index.js +23 -22
- package/dist/index.js.map +1 -1
- package/dist/native-app/index.js +3 -3
- package/dist/{navigation-3HNNCUGK.js → navigation-NM4AO2OX.js} +7 -7
- package/dist/{navigation-3HNNCUGK.js.map → navigation-NM4AO2OX.js.map} +1 -1
- package/dist/navigation-S5EUYOVI.js +14 -0
- package/dist/{navigation-GF4ODD46.js.map → navigation-S5EUYOVI.js.map} +1 -1
- package/dist/{not-found-5YCYDSHS.js → not-found-3XCUVPO3.js} +26 -25
- package/dist/not-found-3XCUVPO3.js.map +1 -0
- package/dist/providers/index.js +23 -22
- package/dist/routes/account/orders.js +8 -8
- package/dist/routes/account.js +17 -17
- package/dist/routes/blog.js +12 -12
- package/dist/routes/brands.js +8 -8
- package/dist/routes/cart.js +31 -30
- package/dist/routes/cart.js.map +1 -1
- package/dist/routes/home.js +28 -27
- package/dist/routes/index.js +6 -6
- package/dist/routes/loyalty.js +9 -9
- package/dist/routes/page.js +8 -8
- package/dist/routes/product-listing.js +29 -28
- package/dist/routes/product-listing.js.map +1 -1
- package/dist/routes/product.js +27 -26
- package/dist/routes/product.js.map +1 -1
- package/dist/routes/root/beforeLoad.d.ts +6 -0
- package/dist/routes/root/beforeLoad.d.ts.map +1 -1
- package/dist/routes/seo-redirects.js +6 -6
- package/dist/routes/testimonials.js +4 -3
- package/dist/routes/testimonials.js.map +1 -1
- package/dist/routes/thank-you.js +8 -8
- package/dist/skeleton.js +28 -27
- package/dist/{store-lookup-TK4QCWNT.js → store-lookup-LVKWUL6Z.js} +11 -11
- package/dist/{store-lookup-TK4QCWNT.js.map → store-lookup-LVKWUL6Z.js.map} +1 -1
- package/dist/tanstack/middleware/twilight.d.ts.map +1 -1
- package/dist/tanstack/store-base.d.ts +10 -2
- package/dist/tanstack/store-base.d.ts.map +1 -1
- package/dist/tanstack/templates/locale-wrapper.d.ts +2 -1
- package/dist/tanstack/templates/locale-wrapper.d.ts.map +1 -1
- package/dist/tanstack.js +42 -20
- package/dist/tanstack.js.map +1 -1
- package/dist/types/index.d.ts +8 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/utils/baseHead.d.ts +6 -1
- package/dist/utils/baseHead.d.ts.map +1 -1
- package/dist/utils/baseHead.js +3 -1
- package/dist/utils/cookies.d.ts +6 -0
- package/dist/utils/cookies.d.ts.map +1 -1
- package/dist/utils/index.js +6 -6
- package/dist/utils/language-cookie.d.ts +10 -0
- package/dist/utils/language-cookie.d.ts.map +1 -0
- package/dist/utils/shared-host-language.d.ts +72 -0
- package/dist/utils/shared-host-language.d.ts.map +1 -0
- package/dist/utils/store-base.d.ts +28 -6
- package/dist/utils/store-base.d.ts.map +1 -1
- package/dist/vite/index.js +41 -5
- package/dist/vite/index.js.map +1 -1
- package/package.json +1 -1
- package/tailwind/components/layout/Footer.tsx.txt +12 -5
- package/tailwind/components/layout/Header.tsx.txt +12 -1
- package/tailwind/components/layout/MadeWithSalla.tsx.txt +34 -0
- package/tailwind/components/layout/index.ts.txt +3 -0
- package/tailwind/routes/root/beforeLoad.ts.txt +53 -1
- package/dist/BlogAuthorPage-GLAYDKIX.js.map +0 -1
- package/dist/BlogCategoryPage-KPU6LYHK.js.map +0 -1
- package/dist/BlogPage-VDDHOD33.js.map +0 -1
- package/dist/BlogSinglePage-UWP5MFAS.js.map +0 -1
- package/dist/BlogTagPage-V3Z4AD4C.js.map +0 -1
- package/dist/BrandsPage-ARYKHCTB.js.map +0 -1
- package/dist/Breadcrumb-XT2MP2ZW.js.map +0 -1
- package/dist/CartItem-4VXVOKVF.js.map +0 -1
- package/dist/CartSummary-K23PGOUL.js.map +0 -1
- package/dist/CustomerLayout-B77ZKB4X.js.map +0 -1
- package/dist/Header-QOAV23HD.js +0 -22
- package/dist/LoyaltyPage-3OIZG2ZJ.js.map +0 -1
- package/dist/LoyaltyPointsPage-I3O3JA7Q.js.map +0 -1
- package/dist/MobileMenu-3ILQKCHA.js.map +0 -1
- package/dist/NotificationsPage-EYTBUS36.js.map +0 -1
- package/dist/OrderSinglePage-YHA5D2ZI.js.map +0 -1
- package/dist/OrdersPage-4A2QINDX.js.map +0 -1
- package/dist/ProfilePage-ZTYHIDGE.js.map +0 -1
- package/dist/SeoCartWidget-3O35VZZO.js.map +0 -1
- package/dist/SettingsPage-3VRJ3AYE.js.map +0 -1
- package/dist/StoreClosedNotification-7KACKGVH.js +0 -54
- package/dist/ThankYouPage-Z2S7MJ7J.js.map +0 -1
- package/dist/WalletPage-EZ4RTLGE.js.map +0 -1
- package/dist/WishlistPage-V7Z6GWQI.js.map +0 -1
- package/dist/chunk-2RRZZYH4.js +0 -14
- package/dist/chunk-4SZZPXM2.js.map +0 -1
- package/dist/chunk-KPQEPQ4L.js.map +0 -1
- package/dist/chunk-NEKHAKA7.js.map +0 -1
- package/dist/chunk-SCL6EXHP.js.map +0 -1
- package/dist/chunk-YUI6R2PA.js.map +0 -1
- package/dist/document-class-2PMYG45N.js +0 -29
- package/dist/navigation-GF4ODD46.js +0 -14
- package/dist/not-found-5YCYDSHS.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/utils/baseHead.ts"],"names":[],"mappings":";;;;AAWA,IAAM,aAAA,GAAwC;AAAA,EAC5C,EAAA,EAAI,OAAA;AAAA,EACJ,EAAA,EAAI;AACN,CAAA;AAKO,SAAS,iBAAiB,MAAA,EAAwB;AACvD,EAAA,IAAI,CAAC,MAAA,EAAQ,OAAO,aAAA,CAAc,eAAe,CAAA,IAAK,OAAA;AACtD,EAAA,MAAM,OAAO,MAAA,CAAO,KAAA,CAAM,MAAM,CAAA,CAAE,CAAC,EAAE,WAAA,EAAY;AAC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port { FALLBACK_LOCALE, isLocale } from '../providers/locale-constants';\nimport { resolveStoreBase, resolveStoreBaseFollowsLocale } from './store-identity';\nimport { splitLeadingSegment } from './store-base';\n\n// ============================================================================\n// Locale helpers\n// ============================================================================\n\n/** Maps ISO-639-1 locale codes to the og:locale format (language_TERRITORY). */\nconst LOCALE_OG_MAP: Record<string, string> = {\n ar: 'ar_AR',\n en: 'en_US',\n};\n\n/**\n * Converts an ISO-639-1 locale string to the og:locale format (e.g. `ar` → `ar_AR`).\n */\nexport function localeToOgLocale(locale: string): string {\n if (!locale) return LOCALE_OG_MAP[FALLBACK_LOCALE] ?? 'ar_AR';\n const base = locale.split(/[-_]/)[0].toLowerCase();\n return LOCALE_OG_MAP[base] ?? `${base}_${base.toUpperCase()}`;\n}\n\n/**\n * The page's own segments of an absolute URL's path: without the store's path (`storePath`, the\n * `/<username>` of a store without a domain) and without a locale beside it. The locale may sit\n * on either side: after the store in a store root (`/<username>/ar/shoes`), and in front of it in\n * the URLs the API hands out for a shared-host store (`/ar/<username>/shoes`).\n */\nfunction pageSegmentsOfUrl(pathname: string, storePath: string): string[] {\n const parts = pathname.split('/').filter(Boolean);\n const store = storePath.split('/').filter(Boolean);\n const storeAt = (index: number) =>\n store.length > 0 && store.every((segment, i) => parts[index + i] === segment);\n const localeAt = (index: number) => parts[index]?.length === 2;\n\n if (storeAt(0)) return parts.slice(store.length + (localeAt(store.length) ? 1 : 0));\n if (localeAt(0) && storeAt(1)) return parts.slice(1 + store.length);\n return parts.slice(localeAt(0) ? 1 : 0);\n}\n\n/**\n * Extracts the path portion from a URL or path string, removing any locale prefix and, from an\n * absolute URL, the store's own path (`storePath`, the `/<username>` of a store without a domain).\n */\nfunction extractPath(urlOrPath: string | undefined, storePath = ''): string {\n if (!urlOrPath) return '/';\n\n try {\n const parsed = new URL(urlOrPath);\n return '/' + pageSegmentsOfUrl(parsed.pathname, storePath).join('/');\n } catch {\n const pathParts = urlOrPath.split('/').filter(Boolean);\n if (pathParts.length > 0 && pathParts[0].length === 2) {\n pathParts.shift();\n }\n return '/' + pathParts.join('/');\n }\n}\n\n/**\n * The store's root URL from its store URL: the domain, plus the `/<username>` a store without\n * its own domain lives under, without a trailing locale.\n * \"https://saudiseamless.com/ar/\" → \"https://saudiseamless.com\"\n * \"https://salla.sa/my-store/ar/\" → \"https://salla.sa/my-store\"\n */\nfunction extractBaseUrl(storeUrl: string): string {\n try {\n const parsed = new URL(storeUrl);\n const segments = parsed.pathname.split('/').filter(Boolean);\n if (isLocale(segments[segments.length - 1])) segments.pop();\n return parsed.origin + segments.map((segment) => `/${segment}`).join('');\n } catch {\n return storeUrl.replace(/\\/[a-z]{2}\\/?$/i, '').replace(/\\/$/, '');\n }\n}\n\n/**\n * The store's root URL as pages are addressed now. On a Salla shared host that is\n * `https://demostore.salla.sa/<username>`: the API's `store.url` still carries the old\n * language segment (`/ar/<username>/`), which redirects, so it is not used there.\n */\nfunction storeRootUrl(storeUrl: string): string {\n const base = resolveStoreBase();\n if (base && resolveStoreBaseFollowsLocale()) {\n try {\n return `${new URL(storeUrl).origin}/${base}`;\n } catch {\n // Not an absolute URL: fall through to the generic rule.\n }\n }\n return extractBaseUrl(storeUrl);\n}\n\n/** Whether pages are addressed without a language segment (a Salla shared host). */\nfunction languageInQuery(): boolean {\n return Boolean(resolveStoreBase() && resolveStoreBaseFollowsLocale());\n}\n\n/**\n * A router path (`/ar/brands`) as a shared host addresses it: the leading locale comes off the\n * path and becomes `?lang=`, since the address carries no language. A path with no leading\n * locale takes `fallbackLocale` for its `?lang=`, or none when that is not given. `path` is\n * `''` for the store root.\n */\nfunction sharedHostPage(\n routerPath: string,\n fallbackLocale?: string\n): { path: string; search: string } {\n const { first, rest } = splitLeadingSegment(routerPath);\n const leading = isLocale(first);\n const remainder = leading ? rest : routerPath;\n const locale = leading ? first : fallbackLocale;\n return {\n path: remainder === '/' ? '' : remainder,\n search: locale ? `?lang=${encodeURIComponent(locale)}` : '',\n };\n}\n\n/**\n * `path` under the store's root URL, the way canonical URLs name a page.\n *\n * On a shared host `path` is the router's, with its virtual locale in front (`/ar/brands`),\n * and the page's address is `/<username>/brands?lang=ar`.\n */\nexport function storePageUrl(\n settings: StoreContext | null | undefined,\n path: string\n): string | undefined {\n const storeUrl = settings?.store?.url;\n if (!storeUrl) return undefined;\n const base = storeRootUrl(storeUrl);\n const page = languageInQuery()\n ? sharedHostPage(path)\n : { path: path === '/' ? '' : path, search: '' };\n if (!page.path && !page.search) return base;\n try {\n // Percent-encodes the decoded path the router hands over, and keeps escapes it left in.\n return new URL(`${base}${page.path}${page.search}`).href;\n } catch {\n return `${base}${page.path}${page.search}`;\n }\n}\n\n// ============================================================================\n// Hreflang alternates builder\n// ============================================================================\n\n/**\n * Builds hreflang alternate links for multilingual SEO.\n *\n * @param settings - StoreContext containing store and languages\n * @param path - Current route path from router (e.g., '/ar/products/123')\n */\nexport function buildHreflangAlternates(\n settings: StoreContext | null | undefined,\n path?: string\n): HeadDescriptor['alternateLanguages'] {\n const languages = settings?.languages;\n if (!languages?.length) {\n return undefined;\n }\n\n const baseUrl = settings?.store?.url ? storeRootUrl(settings.store.url) : '';\n const extractedPath = extractPath(path, baseUrl.replace(/^https?:\\/\\/[^/]+/, ''));\n const defaultLang = languages.find((l) => l.code === FALLBACK_LOCALE) ?? languages[0];\n const inQuery = languageInQuery();\n\n const buildUrl = (langCode: string) => {\n const pagePath = extractedPath === '/' ? '' : extractedPath;\n // On a shared host the language is not in the address; `?lang=` is how a link asks for one.\n return inQuery\n ? `${baseUrl}${pagePath}?lang=${encodeURIComponent(langCode)}`\n : `${baseUrl}/${langCode}${pagePath}`;\n };\n\n return [\n { hreflang: 'x-default', href: buildUrl(defaultLang.code) },\n ...languages.map((lang) => ({ hreflang: lang.code, href: buildUrl(lang.code) })),\n ];\n}\n\n// ============================================================================\n// Base head builder (for __root.tsx)\n// ============================================================================\n\n/**\n * Builds a base {@link HeadDescriptor} with store-wide OG and Twitter defaults.\n * Used in __root.tsx to set base metadata that can be overridden by child routes.\n *\n * Note: hreflang alternates, the canonical and og:url are only generated when\n * path is provided, since we need the current route path. Child routes call\n * buildHreflangAlternates directly with ctx.path.\n */\nexport function buildBaseHead(\n settings: StoreContext | null | undefined,\n locale: string = FALLBACK_LOCALE,\n path?: string\n): HeadDescriptor {\n const store = settings?.store;\n if (!store) return {};\n\n const title = store.meta?.title || store.name;\n const description = store.meta?.description || store.description || undefined;\n const keywords = store.meta?.keywords || undefined;\n const baseUrl = store.url ? storeRootUrl(store.url) : undefined;\n // A child route cannot replace a <link>, so a store-wide canonical would stick to every page.\n // On a shared host `path` is the router's, with the virtual locale in front: the address has\n // none, so it comes off and goes into `?lang=`, which keeps each language's page its own.\n const page = path && languageInQuery() ? sharedHostPage(path, locale) : null;\n const canonicalUrl =\n path && baseUrl\n ? page\n ? `${baseUrl}${page.path}${page.search}`\n : `${baseUrl}${path}`\n : undefined;\n const pagePath = path === '/' ? '' : path;\n const ogUrl =\n path && baseUrl ? (page ? canonicalUrl : `${baseUrl}/${locale}${pagePath}`) : undefined;\n\n // The store saves either a handle or a profile URL (https://x.com/<handle>).\n const twitterHandle = store.social?.twitter\n ?.split('?')[0]\n .replace(/\\/+$/, '')\n .split('/')\n .pop()\n ?.replace(/^@/, '');\n const twitterSite = twitterHandle ? `@${twitterHandle}` : undefined;\n\n return {\n title,\n ...(description ? { description } : {}),\n ...(keywords ? { keywords } : {}),\n ...(canonicalUrl ? { canonical: canonicalUrl } : {}),\n openGraph: {\n type: 'website',\n siteName: store.name,\n title,\n ...(description ? { description } : {}),\n ...(ogUrl ? { url: ogUrl } : {}),\n locale: localeToOgLocale(locale),\n ...(store.logo ? { images: store.logo } : {}),\n },\n twitter: {\n card: 'summary_large_image',\n title,\n ...(description ? { description } : {}),\n ...(twitterSite ? { site: twitterSite } : {}),\n ...(store.logo ? { images: store.logo } : {}),\n },\n ...(path ? { alternateLanguages: buildHreflangAlternates(settings, path) } : {}),\n };\n}\n"]}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { Header } from './chunk-
|
|
2
|
-
import { Footer } from './chunk-
|
|
3
|
-
import { resolveTwilightSdkUrl, TICKETING_SCRIPT_URL } from './chunk-
|
|
4
|
-
import { useDevSettingsOverrides } from './chunk-
|
|
5
|
-
import { apps } from './chunk-
|
|
1
|
+
import { Header } from './chunk-IRK7HSN6.js';
|
|
2
|
+
import { Footer } from './chunk-2OAG7V35.js';
|
|
3
|
+
import { resolveTwilightSdkUrl, TICKETING_SCRIPT_URL } from './chunk-MVBMVM22.js';
|
|
4
|
+
import { useDevSettingsOverrides } from './chunk-FMSRB2TT.js';
|
|
5
|
+
import { apps } from './chunk-6Z6BGS7P.js';
|
|
6
6
|
import { color } from './chunk-VVZNW5CB.js';
|
|
7
|
-
import { applyThemeHookSlots, installAppScope } from './chunk-
|
|
8
|
-
import { useLocation, useIsHome, NavigationInterceptor } from './chunk-
|
|
9
|
-
import { useUser } from './chunk-
|
|
7
|
+
import { applyThemeHookSlots, installAppScope } from './chunk-I7WSIN27.js';
|
|
8
|
+
import { useLocation, useIsHome, NavigationInterceptor } from './chunk-E5PEYI5I.js';
|
|
9
|
+
import { useUser } from './chunk-MJ7TL42D.js';
|
|
10
10
|
import { DocumentClassProvider, useDocumentClass } from './chunk-JWXJPJBO.js';
|
|
11
11
|
import { WidgetHead } from './chunk-V2ZDTY6H.js';
|
|
12
12
|
import { HookSlot } from './chunk-5XDPAKF5.js';
|
|
13
13
|
import { hookRegistry } from './chunk-GCPEMNSU.js';
|
|
14
|
-
import { getActiveCurrency } from './chunk-
|
|
14
|
+
import { getActiveCurrency } from './chunk-BFA2U7P3.js';
|
|
15
15
|
import { useTranslation, I18nProvider } from './chunk-TYNZ5B2B.js';
|
|
16
|
-
import { Toaster } from './chunk-
|
|
17
|
-
import { isNativeApp } from './chunk-
|
|
18
|
-
import { whenSallaLoaded, whenSallaReady, onSallaEvent, getSallaSDK, syncSdkLocale } from './chunk-
|
|
19
|
-
import { AUTH_TOKEN_COOKIE_NAME, rememberDevStoreId, clearAuthTokenCookie, syncScopeCookie, escapeForInlineScript } from './chunk-
|
|
16
|
+
import { Toaster } from './chunk-WD576F4S.js';
|
|
17
|
+
import { isNativeApp } from './chunk-YYMKDBZV.js';
|
|
18
|
+
import { whenSallaLoaded, whenSallaReady, onSallaEvent, getSallaSDK, syncSdkLocale } from './chunk-X2JCU7GY.js';
|
|
19
|
+
import { AUTH_TOKEN_COOKIE_NAME, rememberDevStoreId, clearAuthTokenCookie, syncScopeCookie, escapeForInlineScript } from './chunk-POI4G5EA.js';
|
|
20
20
|
import { getTwilightContext, subscribeTwilight, updateTwilightContext, hasTwilightSettings } from './chunk-QRHXAKJ3.js';
|
|
21
21
|
import { FALLBACK_LOCALE, getLanguageInfo } from './chunk-T72DAX7R.js';
|
|
22
22
|
import { useTwilight, TwilightContext } from './chunk-DF6FBKDN.js';
|
|
@@ -125,7 +125,7 @@ function ThemeDocumentSync({
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
// src/utils/engine-version.ts
|
|
128
|
-
var ENGINE_VERSION = "1.0.
|
|
128
|
+
var ENGINE_VERSION = "1.0.111" ;
|
|
129
129
|
|
|
130
130
|
// src/providers/twilight-init.ts
|
|
131
131
|
function getSalla() {
|
|
@@ -336,13 +336,13 @@ function useNativeSpaWebview() {
|
|
|
336
336
|
}
|
|
337
337
|
var navigationSetups = {
|
|
338
338
|
tanstack: lazy(
|
|
339
|
-
() => import('./navigation-
|
|
339
|
+
() => import('./navigation-S5EUYOVI.js').then((m) => ({ default: m.NavigationSetup }))
|
|
340
340
|
),
|
|
341
|
-
nextjs: lazy(() => import('./navigation-
|
|
341
|
+
nextjs: lazy(() => import('./navigation-NM4AO2OX.js').then((m) => ({ default: m.NavigationSetup })))
|
|
342
342
|
};
|
|
343
343
|
var routeDocumentSyncs = {
|
|
344
344
|
tanstack: lazy(
|
|
345
|
-
() => import('./document-class-
|
|
345
|
+
() => import('./document-class-RXOPTIM2.js').then((m) => ({
|
|
346
346
|
default: m.TanStackDocumentSync
|
|
347
347
|
}))
|
|
348
348
|
)
|
|
@@ -864,7 +864,7 @@ var LazySiftSnippet = lazy(
|
|
|
864
864
|
() => import('./SiftSnippet-5FCU6TR6.js').then((m) => ({ default: m.SiftSnippet }))
|
|
865
865
|
);
|
|
866
866
|
var LazyStoreClosedNotification = lazy(
|
|
867
|
-
() => import('./StoreClosedNotification-
|
|
867
|
+
() => import('./StoreClosedNotification-TL32ZXVT.js').then((m) => ({
|
|
868
868
|
default: m.StoreClosedNotification
|
|
869
869
|
}))
|
|
870
870
|
);
|
|
@@ -1108,7 +1108,7 @@ function SallaSdkScripts({ settings }) {
|
|
|
1108
1108
|
] });
|
|
1109
1109
|
}
|
|
1110
1110
|
var LazyStoreClosedNotification2 = lazy(
|
|
1111
|
-
() => import('./StoreClosedNotification-
|
|
1111
|
+
() => import('./StoreClosedNotification-TL32ZXVT.js').then((m) => ({
|
|
1112
1112
|
default: m.StoreClosedNotification
|
|
1113
1113
|
}))
|
|
1114
1114
|
);
|
|
@@ -1432,5 +1432,5 @@ function useStore() {
|
|
|
1432
1432
|
}
|
|
1433
1433
|
|
|
1434
1434
|
export { LazyMaintenancePage, LazyStoreClosedNotification2 as LazyStoreClosedNotification, MasterLayout, TwilightProvider, fastCheckoutScript, registerDefaultHooks, registerDocumentSync, routeDocumentSyncs, useBreadcrumbs, useDate, useGtm, useMoney, useNumber, useOpeningHours, usePageConfig, useStore };
|
|
1435
|
-
//# sourceMappingURL=chunk-
|
|
1436
|
-
//# sourceMappingURL=chunk-
|
|
1435
|
+
//# sourceMappingURL=chunk-UAMMJPLQ.js.map
|
|
1436
|
+
//# sourceMappingURL=chunk-UAMMJPLQ.js.map
|