@salla.sa/twilight-theme-engine 1.0.27 → 1.0.28
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-VXGCOHDM.js → AddToCartForm-IWVO64M7.js} +3 -3
- package/dist/{AddToCartForm-VXGCOHDM.js.map → AddToCartForm-IWVO64M7.js.map} +1 -1
- package/dist/{BlogAuthorPage-SW4ON5XJ.js → BlogAuthorPage-UONQGYTP.js} +13 -13
- package/dist/{BlogAuthorPage-SW4ON5XJ.js.map → BlogAuthorPage-UONQGYTP.js.map} +1 -1
- package/dist/{BlogCategoryPage-B2DJLJL7.js → BlogCategoryPage-CAJTWGJ6.js} +13 -13
- package/dist/{BlogCategoryPage-B2DJLJL7.js.map → BlogCategoryPage-CAJTWGJ6.js.map} +1 -1
- package/dist/{BlogPage-MHXGHBUO.js → BlogPage-I2IWYXVG.js} +11 -11
- package/dist/{BlogPage-MHXGHBUO.js.map → BlogPage-I2IWYXVG.js.map} +1 -1
- package/dist/{BlogSinglePage-LB26NVFT.js → BlogSinglePage-K5HNRZEZ.js} +11 -11
- package/dist/{BlogSinglePage-LB26NVFT.js.map → BlogSinglePage-K5HNRZEZ.js.map} +1 -1
- package/dist/{BlogTagPage-YGERJE5Q.js → BlogTagPage-4JRERM6S.js} +13 -13
- package/dist/{BlogTagPage-YGERJE5Q.js.map → BlogTagPage-4JRERM6S.js.map} +1 -1
- package/dist/{BrandsPage-IVIOQFUA.js → BrandsPage-CT4FPSXN.js} +11 -11
- package/dist/{BrandsPage-IVIOQFUA.js.map → BrandsPage-CT4FPSXN.js.map} +1 -1
- package/dist/{Breadcrumb-O7G52SSJ.js → Breadcrumb-7PRRXYSW.js} +11 -11
- package/dist/{Breadcrumb-O7G52SSJ.js.map → Breadcrumb-7PRRXYSW.js.map} +1 -1
- package/dist/{CartItem-BKINMGDW.js → CartItem-D2CHYGEH.js} +11 -11
- package/dist/{CartItem-BKINMGDW.js.map → CartItem-D2CHYGEH.js.map} +1 -1
- package/dist/{CartSummary-SWPZE5UA.js → CartSummary-N47IDRQR.js} +11 -11
- package/dist/{CartSummary-SWPZE5UA.js.map → CartSummary-N47IDRQR.js.map} +1 -1
- package/dist/{Copyright-OUFZSYUC.js → Copyright-3PU36ZHD.js} +3 -3
- package/dist/{Copyright-OUFZSYUC.js.map → Copyright-3PU36ZHD.js.map} +1 -1
- package/dist/{CustomerLayout-ANZGEYJT.js → CustomerLayout-WY6V5RLJ.js} +11 -11
- package/dist/{CustomerLayout-ANZGEYJT.js.map → CustomerLayout-WY6V5RLJ.js.map} +1 -1
- package/dist/{Footer-NKQBTZPC.js → Footer-OF6HYDT7.js} +11 -11
- package/dist/{Footer-NKQBTZPC.js.map → Footer-OF6HYDT7.js.map} +1 -1
- package/dist/{Header-I3GZLFSJ.js → Header-LDRXI6GS.js} +4 -4
- package/dist/{Header-I3GZLFSJ.js.map → Header-LDRXI6GS.js.map} +1 -1
- package/dist/{LoyaltyPage-CCSYQCHG.js → LoyaltyPage-WWK4OBN7.js} +12 -12
- package/dist/{LoyaltyPage-CCSYQCHG.js.map → LoyaltyPage-WWK4OBN7.js.map} +1 -1
- package/dist/{MainMenu-DYKJZUXQ.js → MainMenu-G3S7VA6V.js} +6 -6
- package/dist/{MainMenu-DYKJZUXQ.js.map → MainMenu-G3S7VA6V.js.map} +1 -1
- package/dist/{MasterLayout-SYTQADVT.js → MasterLayout-R2SPK6UT.js} +11 -11
- package/dist/{MasterLayout-SYTQADVT.js.map → MasterLayout-R2SPK6UT.js.map} +1 -1
- package/dist/{MobileMenu-EQ5J2E6S.js → MobileMenu-5UTAZN25.js} +12 -12
- package/dist/{MobileMenu-EQ5J2E6S.js.map → MobileMenu-5UTAZN25.js.map} +1 -1
- package/dist/{NotificationsPage-SOTUJ2MC.js → NotificationsPage-OBEEYRYG.js} +11 -11
- package/dist/{NotificationsPage-SOTUJ2MC.js.map → NotificationsPage-OBEEYRYG.js.map} +1 -1
- package/dist/{OrderSinglePage-AZONXICQ.js → OrderSinglePage-GES4DPXH.js} +12 -12
- package/dist/{OrderSinglePage-AZONXICQ.js.map → OrderSinglePage-GES4DPXH.js.map} +1 -1
- package/dist/{OrdersPage-7ESRJSJV.js → OrdersPage-LNSRSB4C.js} +12 -12
- package/dist/{OrdersPage-7ESRJSJV.js.map → OrdersPage-LNSRSB4C.js.map} +1 -1
- package/dist/{PageSingle-OOD3A7VA.js → PageSingle-MFCH3CEI.js} +3 -3
- package/dist/{PageSingle-OOD3A7VA.js.map → PageSingle-MFCH3CEI.js.map} +1 -1
- package/dist/{ProductDetails-N2PG47ZF.js → ProductDetails-IT7NJKFR.js} +3 -3
- package/dist/{ProductDetails-N2PG47ZF.js.map → ProductDetails-IT7NJKFR.js.map} +1 -1
- package/dist/{ProfilePage-OHWKBB6E.js → ProfilePage-3SFVX5TR.js} +11 -11
- package/dist/{ProfilePage-OHWKBB6E.js.map → ProfilePage-3SFVX5TR.js.map} +1 -1
- package/dist/{SeoCartWidget-JV64FLXE.js → SeoCartWidget-S6OZ55C4.js} +11 -11
- package/dist/{SeoCartWidget-JV64FLXE.js.map → SeoCartWidget-S6OZ55C4.js.map} +1 -1
- package/dist/{SettingsPage-ADRCOT7F.js → SettingsPage-B6PQYWWH.js} +11 -11
- package/dist/{SettingsPage-ADRCOT7F.js.map → SettingsPage-B6PQYWWH.js.map} +1 -1
- package/dist/{StoreClosedNotification-FTYE7ZL3.js → StoreClosedNotification-JLYGKTZH.js} +12 -12
- package/dist/{StoreClosedNotification-FTYE7ZL3.js.map → StoreClosedNotification-JLYGKTZH.js.map} +1 -1
- package/dist/{TestimonialsPage-FBCNAU5C.js → TestimonialsPage-CZ2LIFOH.js} +3 -3
- package/dist/{TestimonialsPage-FBCNAU5C.js.map → TestimonialsPage-CZ2LIFOH.js.map} +1 -1
- package/dist/{ThankYouPage-SB53OMFR.js → ThankYouPage-IGGPBXT2.js} +11 -11
- package/dist/{ThankYouPage-SB53OMFR.js.map → ThankYouPage-IGGPBXT2.js.map} +1 -1
- package/dist/{WalletPage-XG37YGN7.js → WalletPage-RQBVIZV4.js} +12 -12
- package/dist/{WalletPage-XG37YGN7.js.map → WalletPage-RQBVIZV4.js.map} +1 -1
- package/dist/{WishlistPage-PM37IPUH.js → WishlistPage-LBU6IZAK.js} +12 -12
- package/dist/{WishlistPage-PM37IPUH.js.map → WishlistPage-LBU6IZAK.js.map} +1 -1
- package/dist/api/apps.js +3 -3
- package/dist/api/brands.js +3 -3
- package/dist/api/cart.js +3 -3
- package/dist/api/category.js +3 -3
- package/dist/api/client.d.ts +9 -0
- package/dist/api/client.d.ts.map +1 -1
- package/dist/api/client.js +2 -2
- package/dist/api/home.js +3 -3
- package/dist/api/loyalty.js +3 -3
- package/dist/api/menu.js +3 -3
- package/dist/api/notification.js +3 -3
- package/dist/api/order.js +3 -3
- package/dist/api/page.js +3 -3
- package/dist/api/product.js +3 -3
- package/dist/api/profile.js +2 -2
- package/dist/api/store.d.ts +2 -24
- package/dist/api/store.d.ts.map +1 -1
- package/dist/api/store.js +3 -3
- package/dist/api/translations.js +3 -3
- package/dist/api/user.js +3 -3
- package/dist/api/wishlist.js +3 -3
- package/dist/{chunk-GUAM3RX2.js → chunk-3KRYKGMY.js} +3 -3
- package/dist/{chunk-GUAM3RX2.js.map → chunk-3KRYKGMY.js.map} +1 -1
- package/dist/{chunk-4HXLDKIV.js → chunk-3MEAEE7K.js} +3 -3
- package/dist/{chunk-4HXLDKIV.js.map → chunk-3MEAEE7K.js.map} +1 -1
- package/dist/{chunk-GLRQJVTK.js → chunk-3Z7TBM7W.js} +3 -3
- package/dist/{chunk-GLRQJVTK.js.map → chunk-3Z7TBM7W.js.map} +1 -1
- package/dist/{chunk-C7ZFBA7A.js → chunk-66CUW6VR.js} +4 -4
- package/dist/{chunk-C7ZFBA7A.js.map → chunk-66CUW6VR.js.map} +1 -1
- package/dist/{chunk-AIODAVGT.js → chunk-6MREJTVB.js} +3 -3
- package/dist/{chunk-AIODAVGT.js.map → chunk-6MREJTVB.js.map} +1 -1
- package/dist/{chunk-NGGPWAAN.js → chunk-75HMCUTB.js} +3 -3
- package/dist/{chunk-NGGPWAAN.js.map → chunk-75HMCUTB.js.map} +1 -1
- package/dist/{chunk-SSZUSUPD.js → chunk-ALUEX3YC.js} +3 -3
- package/dist/{chunk-SSZUSUPD.js.map → chunk-ALUEX3YC.js.map} +1 -1
- package/dist/{chunk-P5M6ZWBT.js → chunk-AU7PMZV4.js} +3 -3
- package/dist/{chunk-P5M6ZWBT.js.map → chunk-AU7PMZV4.js.map} +1 -1
- package/dist/{chunk-5V5MFZEC.js → chunk-C3UUGHTX.js} +3 -3
- package/dist/{chunk-5V5MFZEC.js.map → chunk-C3UUGHTX.js.map} +1 -1
- package/dist/{chunk-BJPYNISN.js → chunk-DOOZU75W.js} +3 -3
- package/dist/{chunk-BJPYNISN.js.map → chunk-DOOZU75W.js.map} +1 -1
- package/dist/{chunk-6CRRDUBY.js → chunk-EIFCJLBN.js} +3 -3
- package/dist/{chunk-6CRRDUBY.js.map → chunk-EIFCJLBN.js.map} +1 -1
- package/dist/{chunk-7TI7IGND.js → chunk-ELOCFIZE.js} +5 -5
- package/dist/{chunk-7TI7IGND.js.map → chunk-ELOCFIZE.js.map} +1 -1
- package/dist/{chunk-BQDXQ6P7.js → chunk-EXRS5IAC.js} +3 -3
- package/dist/{chunk-BQDXQ6P7.js.map → chunk-EXRS5IAC.js.map} +1 -1
- package/dist/{chunk-EQYBGXF4.js → chunk-EZSYN4P3.js} +8 -5
- package/dist/chunk-EZSYN4P3.js.map +1 -0
- package/dist/{chunk-WBHBCGQI.js → chunk-F27YMAOM.js} +3 -3
- package/dist/{chunk-WBHBCGQI.js.map → chunk-F27YMAOM.js.map} +1 -1
- package/dist/chunk-FE6ULRVJ.js +14 -0
- package/dist/{chunk-MRITQZH2.js.map → chunk-FE6ULRVJ.js.map} +1 -1
- package/dist/{chunk-HUPUM4VJ.js → chunk-GL3ZWX64.js} +3 -3
- package/dist/{chunk-HUPUM4VJ.js.map → chunk-GL3ZWX64.js.map} +1 -1
- package/dist/{chunk-JYF7VBSH.js → chunk-I4PD6BEP.js} +3 -3
- package/dist/{chunk-JYF7VBSH.js.map → chunk-I4PD6BEP.js.map} +1 -1
- package/dist/{chunk-ZYMBBAEK.js → chunk-IK6X5HMK.js} +3 -3
- package/dist/{chunk-ZYMBBAEK.js.map → chunk-IK6X5HMK.js.map} +1 -1
- package/dist/{chunk-RM33XVYB.js → chunk-JTJKKF6S.js} +11 -11
- package/dist/{chunk-RM33XVYB.js.map → chunk-JTJKKF6S.js.map} +1 -1
- package/dist/{chunk-W7IJFM5X.js → chunk-K5V67DOI.js} +8 -8
- package/dist/{chunk-W7IJFM5X.js.map → chunk-K5V67DOI.js.map} +1 -1
- package/dist/{chunk-P2SWZ265.js → chunk-NGYYCFTS.js} +3 -3
- package/dist/{chunk-P2SWZ265.js.map → chunk-NGYYCFTS.js.map} +1 -1
- package/dist/{chunk-57C2UPS7.js → chunk-NMOAEWI6.js} +6 -6
- package/dist/{chunk-57C2UPS7.js.map → chunk-NMOAEWI6.js.map} +1 -1
- package/dist/{chunk-GSNKBCDJ.js → chunk-NR2XM4KT.js} +3 -3
- package/dist/{chunk-GSNKBCDJ.js.map → chunk-NR2XM4KT.js.map} +1 -1
- package/dist/{chunk-W3V547Y7.js → chunk-OEGDGMRX.js} +3 -3
- package/dist/{chunk-W3V547Y7.js.map → chunk-OEGDGMRX.js.map} +1 -1
- package/dist/{chunk-ZYKBHBBH.js → chunk-QZ6I5CA7.js} +10 -23
- package/dist/chunk-QZ6I5CA7.js.map +1 -0
- package/dist/{chunk-EQZNBNXU.js → chunk-WBLT4Y4A.js} +5 -5
- package/dist/{chunk-EQZNBNXU.js.map → chunk-WBLT4Y4A.js.map} +1 -1
- package/dist/{chunk-H5MWYWOK.js → chunk-WS4563U3.js} +5 -5
- package/dist/{chunk-H5MWYWOK.js.map → chunk-WS4563U3.js.map} +1 -1
- package/dist/{chunk-RCH73ORE.js → chunk-YFINXDSK.js} +4 -4
- package/dist/{chunk-RCH73ORE.js.map → chunk-YFINXDSK.js.map} +1 -1
- package/dist/{chunk-QCWPF7W4.js → chunk-YZUNEFDM.js} +21 -14
- package/dist/chunk-YZUNEFDM.js.map +1 -0
- package/dist/{chunk-3CPZ4SMV.js → chunk-ZAJOW3MZ.js} +3 -3
- package/dist/{chunk-3CPZ4SMV.js.map → chunk-ZAJOW3MZ.js.map} +1 -1
- package/dist/{chunk-IK2A36AH.js → chunk-ZCLXL3VH.js} +3 -3
- package/dist/{chunk-IK2A36AH.js.map → chunk-ZCLXL3VH.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 +9 -9
- package/dist/components/home/index.js +12 -12
- package/dist/components/layout/index.js +5 -5
- package/dist/components/product/index.js +10 -10
- package/dist/components/store/index.js +11 -11
- package/dist/{document-class-VVEBZ36M.js → document-class-44DOTPY6.js} +9 -9
- package/dist/{document-class-VVEBZ36M.js.map → document-class-44DOTPY6.js.map} +1 -1
- package/dist/hooks/index.js +9 -9
- package/dist/hooks/useGtm.js +9 -9
- package/dist/hooks/useMoney.js +9 -9
- package/dist/hooks/useStore.js +9 -9
- package/dist/hooks/useUser.js +4 -4
- package/dist/index.js +9 -9
- package/dist/{not-found-ZOHONXYT.js → not-found-XS5AQUB3.js} +11 -11
- package/dist/{not-found-ZOHONXYT.js.map → not-found-XS5AQUB3.js.map} +1 -1
- package/dist/providers/index.js +9 -9
- package/dist/routes/account/orders.js +4 -4
- package/dist/routes/account.js +12 -12
- package/dist/routes/blog.js +8 -8
- package/dist/routes/brands.js +4 -4
- package/dist/routes/cart.js +17 -17
- package/dist/routes/home.js +14 -14
- package/dist/routes/loyalty.js +4 -4
- package/dist/routes/page.js +4 -4
- package/dist/routes/product-listing.js +14 -14
- package/dist/routes/product.js +12 -12
- package/dist/routes/testimonials.js +1 -1
- package/dist/routes/thank-you.js +4 -4
- package/dist/skeleton.js +14 -14
- package/dist/tanstack.js +8 -8
- package/dist/utils/cookies.d.ts +11 -0
- package/dist/utils/cookies.d.ts.map +1 -1
- package/dist/utils/index.js +2 -2
- package/dist/utils/runtime-env.d.ts.map +1 -1
- package/dist/utils/sdk-helpers.d.ts +10 -4
- package/dist/utils/sdk-helpers.d.ts.map +1 -1
- package/dist/utils/store-identity.d.ts +28 -0
- package/dist/utils/store-identity.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-EQYBGXF4.js.map +0 -1
- package/dist/chunk-MRITQZH2.js +0 -14
- package/dist/chunk-QCWPF7W4.js.map +0 -1
- package/dist/chunk-ZYKBHBBH.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/utils/cookies.ts","../src/utils/inline-script.ts","../src/utils/runtime-env.ts","../src/utils/store-identity.ts","../src/utils/sdk-helpers.ts"],"names":[],"mappings":";;;AAAO,IAAM,sBAAA,GAAyB;AAC/B,IAAM,iBAAA,GAAoB,OAAA;AAoB1B,IAAM,oBAAA,GAAuB,WAAA;AAG7B,IAAM,cAAA,GAAiB,SAAA;AAUvB,SAAS,aAAa,GAAA,EAA+C;AAC1E,EAAA,IAAI,CAAC,KAAK,OAAO,IAAA;AACjB,EAAA,OAAO,oBAAA,CAAqB,IAAA,CAAK,GAAG,CAAA,GAAI,GAAA,GAAM,IAAA;AAChD;AAGO,SAAS,0BAA0B,YAAA,EAA4C;AACpF,EAAA,OAAO,YAAA,CAAa,uBAAA,CAAwB,YAAA,EAAc,oBAAoB,CAAC,CAAA;AACjF;AAqBO,IAAM,cAAA,GAAoC,CAAC,sBAAsB,CAAA;AAGxE,SAAS,WAAW,IAAA,EAAsB;AACxC,EAAA,MAAM,OAAA,GAAU,IAAA,CAAK,IAAA,EAAK,CAAE,WAAA,EAAY;AAExC,EAAA,IAAI,OAAA,CAAQ,UAAA,CAAW,GAAG,CAAA,EAAG,OAAO,OAAA,CAAQ,KAAA,CAAM,CAAA,EA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AAc7B,SAAS,mBAAmB,QAAA,EAA2B;AAC5D,EAAA,OAAO,uBAAuB,QAAQ,CAAA;AACxC;AAKO,SAAS,WAAA,GAA+C;AAC7D,EAAA,IAAI,CAAC,WAAW,OAAO,MAAA;AACvB,EAAA,OAAO,MAAA,CAAO,KAAA;AAChB;AAoBO,SAAS,cAAc,MAAA,EAAsB;AAClD,EAAA,MAAM,MAAM,WAAA,EAAY;AACxB,EAAA,IAAI,CAAC,GAAA,IAAO,CAAC,MAAA,EAAQ;AACrB,EAAA,IAAI;AACF,IAAA,GAAA,CAAI,IAAA,EAAM,YAAY,MAAM,CAAA;AAC5B,IAAA,GAAA,CAAI,GAAA,EAAK,SAAA,GAAY,iBAAA,EAAmB,MAAM,CAAA;AAG9C,IAAA,GAAA,CAAI,MAAA,EAAQ,GAAA,GAAM,oBAAA,EAAsB,MAAM,CAAA;AAAA,EAChD,CAAA,CAAA,MAAQ;AAAA,EAER;AACF","file":"chunk-YZUNEFDM.js","sourcesContent":["export const AUTH_TOKEN_COOKIE_NAME = 'token';\nexport const SCOPE_COOKIE_NAME = 'scope';\n\n/**\n * Which store this request is for, when the hostname does not say.\n *\n * A live storefront is reached at its own domain, so the hostname identifies it\n * and nothing else is needed. A preview is not: every theme under review is\n * served from the one preview hostname, so the store has to be named some other\n * way — the dispatcher takes it from `?storeId=` and puts it here, the same way\n * it remembers which theme to serve.\n *\n * Written by the dispatcher rather than the theme, and set on the *forwarded\n * request* as well as the response, because the response cookie only arrives in\n * time for the second page load and the first one has to render too.\n *\n * The literal is a contract with `STORE_COOKIE` in store-front-dispacher\n * (`src/dispatch/preview.ts`), and **nothing checks the two agree**. Drift does\n * not fail loudly — it renders somebody else's shop. Grep both repos before\n * changing it.\n */\nexport const STORE_ID_COOKIE_NAME = 'salla_sid';\n\n/** Query parameter naming the store, on a host that serves more than one. */\nexport const STORE_ID_PARAM = 'storeId';\n\n/**\n * A store id is an integer, and anything else is not a store id.\n *\n * Validated rather than passed through because this value ends up in an upstream\n * API path. Leading zeroes, signs, decimals and whitespace are all rejected: the\n * point is a single canonical form, not the widest set of things that could be\n * coerced into a number.\n */\nexport function parseStoreId(raw: string | null | undefined): string | null {\n if (!raw) return null;\n return /^[1-9][0-9]{0,18}$/.test(raw) ? raw : null;\n}\n\n/** The store id the dispatcher left in the cookie, or null when absent or malformed. */\nexport function extractStoreIdFromCookies(cookieHeader: string | null): string | null {\n return parseStoreId(extractTokenFromCookies(cookieHeader, STORE_ID_COOKIE_NAME));\n}\n\n/**\n * The only hosts on which a request may name its own store.\n *\n * **This is a security boundary, not a convenience.** On a merchant's own domain\n * the hostname *is* the store, and it is the only thing that may decide. A theme\n * that also honoured `?storeId=` there would let anyone open\n * `https://reefperfumes.com/?storeId=<someone else>` and be served a different\n * merchant's shop from the domain its owner controls — their branding, their\n * customers' address bar, somebody else's catalogue — and the cookie would keep\n * serving it for the rest of that browser's session. Salla points SaaS domains\n * at this dispatcher, so those hostnames are real and reachable.\n *\n * The override exists for one situation: a host that serves many stores and so\n * cannot identify one from its name. That is the preview host, where every theme\n * under review answers on the same address, and local development.\n *\n * Adding an entry grants that host the ability to render any store on request.\n * Add nothing that a merchant's traffic reaches.\n */\nexport const STORE_ID_HOSTS: readonly string[] = ['preview.salla.design'];\n\n/** The hostname alone — a port never distinguishes one host's authority from another's. */\nfunction hostnameOf(host: string): string {\n const trimmed = host.trim().toLowerCase();\n // IPv6 literals are bracketed, and the colons inside them are not a port.\n if (trimmed.startsWith('[')) return trimmed.slice(0, trimmed.indexOf(']') + 1) || trimmed;\n const colon = trimmed.indexOf(':');\n return colon === -1 ? trimmed : trimmed.slice(0, colon);\n}\n\nfunction isLoopback(hostname: string): boolean {\n return (\n hostname === 'localhost' ||\n hostname === '127.0.0.1' ||\n hostname === '[::1]' ||\n hostname.endsWith('.localhost')\n );\n}\n\n/**\n * Whether this host is allowed to let the request choose a store.\n *\n * Deliberately an allowlist of exact hostnames plus loopback. No suffix matching:\n * a rule like \"anything ending in salla.design\" is one wildcard DNS record away\n * from admitting a host nobody meant to admit, and the list of hosts that serve\n * more than one store is short and known.\n */\nexport function allowsRequestStoreId(host: string | null | undefined): boolean {\n if (!host) return false;\n const hostname = hostnameOf(host);\n return STORE_ID_HOSTS.includes(hostname) || isLoopback(hostname);\n}\n\n/**\n * Whether this host *is* a store, so its name can be used as the identifier.\n *\n * The exact inverse of {@link allowsRequestStoreId}, and deliberately written as\n * one so the two can never disagree: a host that may name its store is a host\n * that serves more than one, and a host that serves more than one cannot be the\n * answer to \"which store is this?\". `preview.salla.design` and `localhost:5188`\n * are not shops; asking the API about them earns a 422 and a page that reads as\n * a broken theme.\n */\nexport function hostIdentifiesStore(host: string | null | undefined): boolean {\n return Boolean(host) && !allowsRequestStoreId(host);\n}\n\n/**\n * The store this request names, on a host permitted to name one.\n *\n * The host check is inside this function rather than at its call site, because a\n * call site is a thing someone can add without reading this comment. There is no\n * way to ask \"what store did the request name?\" without also asking \"is this a\n * host that may say?\" — get it wrong and the answer is a security bug that looks\n * like a feature.\n *\n * Between the two permitted sources the URL wins, the same precedence the\n * dispatcher uses for the theme and for the same reason: a link is how someone\n * switches, and a cookie they cannot see should never beat the address they\n * just typed.\n */\nexport function resolveRequestStoreId(\n url: string,\n cookieHeader: string | null,\n host: string | null | undefined\n): string | null {\n if (!allowsRequestStoreId(host)) return null;\n\n let fromQuery: string | null = null;\n try {\n fromQuery = parseStoreId(new URL(url).searchParams.get(STORE_ID_PARAM));\n } catch {\n /* a relative or malformed URL simply names no store */\n }\n return fromQuery ?? extractStoreIdFromCookies(cookieHeader);\n}\n\n/**\n * Deletes the auth `token` cookie. This cookie is written client-side by the theme\n * (TwilightProvider), not by the SDK — `salla.cookie.clearAll()` only clears its own\n * allowlist and leaves `token` behind — so logout must clear it here. Client-only.\n */\nexport function clearAuthTokenCookie(): void {\n if (typeof document === 'undefined') return;\n document.cookie = `${AUTH_TOKEN_COOKIE_NAME}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/`;\n}\n\nexport function extractTokenFromCookies(\n cookieHeader: string | null,\n cookieName: string\n): string | null {\n if (!cookieHeader) return null;\n\n const prefix = `${cookieName}=`;\n let start = 0;\n\n while (start < cookieHeader.length) {\n const idx = cookieHeader.indexOf(prefix, start);\n if (idx === -1) return null;\n\n const prevChar = idx > 0 ? cookieHeader[idx - 1] : '';\n if (prevChar === '' || prevChar === ';' || prevChar === ' ') {\n let end = cookieHeader.indexOf(';', idx);\n if (end === -1) end = cookieHeader.length;\n\n const value = cookieHeader.slice(idx + prefix.length, end).trim();\n try {\n return decodeURIComponent(value) || null;\n } catch {\n return value || null;\n }\n }\n\n start = idx + prefix.length;\n }\n\n return null;\n}\n\n/**\n * Reads the active scope id from the `scope` cookie, which Salla persists as a\n * JSON object (e.g. `{\"id\":123,\"type\":\"branch\"}`). Returns null when the cookie\n * is missing or unparseable. Used server-side, where `salla.storage` is absent.\n */\nexport function extractScopeIdFromCookies(cookieHeader: string | null): string | null {\n const raw = extractTokenFromCookies(cookieHeader, SCOPE_COOKIE_NAME);\n if (!raw) return null;\n try {\n const scope = JSON.parse(raw) as { id?: number | string | null };\n return scope?.id != null ? String(scope.id) : null;\n } catch {\n return null;\n }\n}\n\n/**\n * The branch the Salla SDK persisted in its storage (`salla.storage.get('scope')`),\n * which it stores either as `{ id, type }` or as a bare id.\n *\n * Returns `undefined` when the SDK storage API isn't ready yet — deliberately\n * distinct from `null` (\"no branch selected\"), so callers can't mistake a\n * not-yet-hydrated SDK for a cleared selection. Client-only.\n */\nexport function readSdkScopeId(): string | null | undefined {\n const storage = typeof window !== 'undefined' ? window.salla?.storage : undefined;\n if (typeof storage?.get !== 'function') return undefined;\n\n const scope = storage.get(SCOPE_COOKIE_NAME) as\n { id?: number | string | null } | number | string | null;\n const id = typeof scope === 'object' && scope !== null ? scope.id : scope;\n return id != null ? String(id) : null;\n}\n\n/** One year — the SDK keeps the selected branch in localStorage indefinitely. */\nconst SCOPE_COOKIE_MAX_AGE = 60 * 60 * 24 * 365;\n\n/**\n * Mirrors the branch the Salla SDK selected into the `scope` cookie so the SERVER\n * can see it. The SDK persists the selection in localStorage ONLY and writes no\n * cookie, so without this the server computes scope=null for every visitor who\n * picked a branch while the client computes the branch id — the dehydrated settings\n * query key never matches and the client refetches store settings on every page\n * load (SAL-122).\n *\n * Written in the SDK's own JSON shape so {@link extractScopeIdFromCookies} parses it.\n * Returns true when the cookie was (re)written. Client-only; no-op on the server.\n */\nexport function writeScopeCookie(scopeId: string | null): boolean {\n if (typeof document === 'undefined') return false;\n if (extractScopeIdFromCookies(document.cookie) === scopeId) return false;\n\n if (scopeId == null) {\n document.cookie = `${SCOPE_COOKIE_NAME}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/`;\n return true;\n }\n\n const value = encodeURIComponent(JSON.stringify({ id: scopeId }));\n document.cookie = `${SCOPE_COOKIE_NAME}=${value}; path=/; max-age=${SCOPE_COOKIE_MAX_AGE}; samesite=lax`;\n return true;\n}\n\n/**\n * Keeps the `scope` cookie in step with the SDK's selected branch. Call on every\n * client navigation; it no-ops while the SDK storage API is still hydrating so a\n * late-loading SDK can't wipe a valid cookie.\n */\nexport function syncScopeCookie(): boolean {\n const scopeId = readSdkScopeId();\n return scopeId === undefined ? false : writeScopeCookie(scopeId);\n}\n","/**\n * Escape a JSON-stringified value for safe embedding inside an inline `<script>` body.\n *\n * The head injects script bodies raw, so a `</script>` inside partner-set data would break out\n * of the tag; U+2028/U+2029 are line terminators in JS but not in JSON, so they must go too.\n */\nexport function escapeForInlineScript(value: string): string {\n return value\n .replace(/</g, '\\\\u003c')\n .replace(/>/g, '\\\\u003e')\n .replace(/&/g, '\\\\u0026')\n .replace(/\\u2028/g, '\\\\u2028')\n .replace(/\\u2029/g, '\\\\u2029');\n}\n","import { escapeForInlineScript } from './inline-script';\nimport { getRequestStore } from '../twilight/context';\nimport { hostIdentifiesStore } from './cookies';\n\n/** Where `rootHead` publishes the SSR-resolved env for the browser bundle to read. */\nconst RUNTIME_ENV_KEY = '__SALLA_RUNTIME_ENV__';\n\n/** The env values that must agree between the SSR render and the hydrated client. */\nexport interface RuntimeEnv {\n /** Store API base — `VITE_API_URL`. */\n apiBase?: string;\n /** Store identifier — `VITE_STORE_DOMAIN`. */\n storeIdentifier?: string;\n}\n\n/**\n * A build-time `import.meta.env` var, falling back to the worker's runtime `process.env`\n * (wrangler `vars`, exposed via the `nodejs_compat_populate_process_env` flag).\n */\nexport function readEnv(key: string): string | undefined {\n try {\n const vite = (import.meta as unknown as { env?: Record<string, string | undefined> }).env?.[\n key\n ];\n if (vite) return vite;\n } catch {\n /* import.meta.env not available in all environments */\n }\n return typeof process !== 'undefined' ? process.env?.[key] : undefined;\n}\n\n/**\n * What this runtime resolves from its own env — server-side that includes the worker vars.\n * Prefers what the server already published, so re-rendering the head during hydration yields\n * the same script instead of dropping it.\n */\nexport function resolveRuntimeEnv(): RuntimeEnv {\n const injected = getInjectedRuntimeEnv();\n const { storeId, requestHost } = getRequestStore();\n return {\n apiBase: injected.apiBase || readEnv('VITE_API_URL'),\n // The request outranks the build-time var here for the same reason it does\n // in `resolveStoreIdentifier`, and this is the copy that reaches the\n // browser: publish the store SSR actually rendered, or hydration resolves\n // again from a URL whose `?storeId=` the dispatcher has already stripped and\n // queries a different store than the markup it is hydrating.\n storeIdentifier:\n injected.storeIdentifier ||\n storeId ||\n (hostIdentifiesStore(requestHost) ? requestHost : null) ||\n readEnv('VITE_STORE_DOMAIN'),\n };\n}\n\n/**\n * The env the SSR worker resolved, as handed to the browser by `rootHead`. Empty on the server\n * and on a client whose head carried nothing.\n *\n * Worker `vars` are *runtime* env: they live in `process.env` on the server only, while\n * `import.meta.env` is substituted at build time. A bundle built without those vars therefore\n * sees `undefined` in the browser and silently falls back to the production defaults — SSR\n * would render off the configured backend while every post-hydration fetch hits another one.\n */\nexport function getInjectedRuntimeEnv(): RuntimeEnv {\n const holder = globalThis as typeof globalThis & { [RUNTIME_ENV_KEY]?: RuntimeEnv };\n return holder[RUNTIME_ENV_KEY] ?? {};\n}\n\n/**\n * Inline head `<script>` body publishing the server-resolved env, or null when there is nothing\n * to publish (no overrides configured — the defaults already agree on both sides).\n */\nexport function renderRuntimeEnvScript(env: RuntimeEnv = resolveRuntimeEnv()): string | null {\n const set = Object.entries(env).filter(([, value]) => Boolean(value));\n if (!set.length) return null;\n const json = escapeForInlineScript(JSON.stringify(Object.fromEntries(set)));\n return `window.${RUNTIME_ENV_KEY}=${json};`;\n}\n","/**\n * @fileoverview Which store to ask about — the one answer, in one place.\n *\n * This lived in two places once. `api/store.ts` learned to read the store a\n * request names, and `utils/sdk-helpers.ts` — the copy `api/client.ts` actually\n * sets the `store-identifier` header from — did not. So the resolver that had\n * been taught the answer was consulted for a null check and thrown away, every\n * outgoing request carried an empty identifier, the API answered\n * `422 Store Identifier not found`, and every published theme rendered\n * \"Store Unavailable\" while its tests passed: the client's suite mocked the\n * resolver, and the resolver's suite never went near a request.\n *\n * Hence one module, imported by both. If a third place ever needs a store\n * identifier, it imports this — a second implementation is the bug, not a\n * refactor away from it.\n *\n * See `docs/store-identity.md` for the full picture, including the security\n * boundary on who may name a store.\n */\nimport { getRequestStore } from '../twilight/context';\nimport { hostIdentifiesStore } from './cookies';\nimport { getInjectedRuntimeEnv, readEnv } from './runtime-env';\n\n/**\n * Which store to ask about, in the order the answers can be trusted.\n *\n * A deployed theme worker is published with **no vars and no bindings** — the\n * script metadata carries `main_module`, compatibility settings, assets and tags\n * and nothing else — so `VITE_STORE_DOMAIN` exists only where a build baked it\n * in, which is local development. In production this function used to reach the\n * end of that chain and return the empty string, `store.settings` refused to\n * call with no identifier, and the root loader threw \"Store Unavailable\" — a\n * theme that renders its own failure page for every visitor of every store.\n *\n * The order:\n *\n * 1. what the caller passed, which is always deliberate;\n * 2. the store this request names — the `?storeId=` a preview was opened with,\n * then the cookie remembering it — seeded by `twilightMiddleware`, and only\n * on a host permitted to name one;\n * 3. what SSR already resolved and published, so the hydrated client asks about\n * the same store the server rendered instead of resolving again from a URL\n * that no longer names it;\n * 4. the request's own host, which *is* the identity of a live storefront —\n * but only when that host is a storefront. `preview.salla.design` and\n * `localhost` serve many stores, so their names identify none;\n * 5. `VITE_STORE_DOMAIN`, last, because a build-time constant is a development\n * convenience and must never outrank what the request actually said.\n */\nexport function resolveStoreIdentifier(explicit?: string): string {\n if (explicit) return explicit;\n\n const { storeId, requestHost } = getRequestStore();\n if (storeId) return storeId;\n\n const injected = getInjectedRuntimeEnv().storeIdentifier;\n if (injected) return injected;\n\n if (hostIdentifiesStore(requestHost)) return requestHost as string;\n\n // The browser's own address, for a client render that reached neither of the\n // above — a live storefront, where the host is the store.\n const browserHost = typeof window !== 'undefined' ? window.location.host : null;\n if (hostIdentifiesStore(browserHost)) return browserHost as string;\n\n return readEnv('VITE_STORE_DOMAIN') || readEnv('STORE_DOMAIN') || '';\n}\n","export type { StoreContext } from '../api/store';\nimport { resolveStoreIdentifier } from './store-identity';\n\nconst isBrowser = typeof window !== 'undefined';\n\n/**\n * Which store to ask the API about — see {@link resolveStoreIdentifier}.\n *\n * A delegation, not a second implementation. This name is the one on the wire\n * (`api/client.ts` sets the `store-identifier` header from it) and the one\n * themes import from `@salla.sa/twilight-theme-engine/utils`, so it stays; what\n * it must never do again is answer differently from the resolver everything\n * else asks. It had its own copy of the order once, missing the store the\n * request names and preferring the build-time `VITE_STORE_DOMAIN` that a\n * deployed worker does not have — so every published theme sent an empty\n * identifier and rendered \"Store Unavailable\".\n */\nexport function getStoreIdentifier(explicit?: string): string {\n return resolveStoreIdentifier(explicit);\n}\n\n/**\n * Get Salla SDK instance if available\n */\nexport function getSallaSDK(): typeof window.salla | undefined {\n if (!isBrowser) return undefined;\n return window.salla;\n}\n\n/**\n * Push the active route locale onto the Salla SDK.\n *\n * Why this is needed (and why it must run on every navigation):\n * - The SDK seeds its locale from `navigator.language` — the theme sets no `s-lang`\n * cookie or `window.locale` — so an English browser starts the SDK in `en` even on\n * an `/ar` store.\n * - The SDK fixes its axios `accept-language` header ONCE, at init. `salla.lang.setLocale`\n * only swaps UI translations (it never touches the header), and `salla.init()` is a\n * no-op after `Salla.status === 'ready'`, so the header never refreshes on its own.\n * - `profile::info.fetched` (login / profile refresh on navigation) overrides the header\n * to the *account's* language.\n *\n * Net result without this: `salla.api.*` calls (cart/product details) return data in the\n * wrong locale — e.g. English cart item names on `/ar/cart` — intermittently, depending on\n * load order and whether a profile fetch ran. Re-asserting the URL locale here keeps the\n * header correct. No-op on the server and until the SDK exposes the methods.\n */\nexport function syncSdkLocale(locale: string): void {\n const sdk = getSallaSDK();\n if (!sdk || !locale) return;\n try {\n sdk.lang?.setLocale?.(locale);\n sdk.api?.setHeader?.('accept-language', locale);\n // The localization modal swaps `/${user.language_code}/` in the URL on submit;\n // the SDK never sets this locally, so without it the switch reloads the same page.\n sdk.config?.set?.('user.language_code', locale);\n } catch {\n // SDK partially loaded — the header is re-asserted on the next navigation.\n }\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { api } from './chunk-
|
|
1
|
+
import { api } from './chunk-EZSYN4P3.js';
|
|
2
2
|
import { getTwilightContext } from './chunk-XITF2PHC.js';
|
|
3
3
|
import { queryOptions } from '@tanstack/react-query';
|
|
4
4
|
|
|
@@ -23,5 +23,5 @@ var menu = {
|
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
export { menu };
|
|
26
|
-
//# sourceMappingURL=chunk-
|
|
27
|
-
//# sourceMappingURL=chunk-
|
|
26
|
+
//# sourceMappingURL=chunk-ZAJOW3MZ.js.map
|
|
27
|
+
//# sourceMappingURL=chunk-ZAJOW3MZ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/api/menu.ts"],"names":[],"mappings":";;;;AAKO,IAAM,IAAA,GAAO;AAAA,EAClB,QAAQ,YAAiC;AACvC,IAAA,MAAM,EAAE,MAAA,EAAO,GAAI,kBAAA,EAAmB;AACtC,IAAA,MAAM,EAAE,IAAA,EAAK,GAAI,MAAM,GAAA,CAAI,IA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AC;AAAA,EAClB,CAAA;AAAA,EAEA,OAAA,EAAS;AAAA,IACP,MAAA,EAAQ,MACN,YAAA,CAAa;AAAA,MACX,UAAU,CAAC,OAAA,EAAS,QAAA,EAAU,kBAAA,GAAqB,MAAM,CAAA;AAAA,MACzD,OAAA,EAAS,MAAM,IAAA,CAAK,MAAA,EAAO;AAAA,MAC3B,SAAA,EAAW,IAAI,EAAA,GAAK;AAAA,KACrB;AAAA;AAEP","file":"chunk-ZAJOW3MZ.js","sourcesContent":["import { queryOptions } from '@tanstack/react-query';\nimport { api } from './client';\nimport { getTwilightContext } from '../twilight/context';\nimport type { MenuItem } from '../types';\n\nexport const menu = {\n header: async (): Promise<MenuItem[]> => {\n const { locale } = getTwilightContext();\n const { data } = await api.get(`menus/header?lang=${locale}`).json<{ data: MenuItem[] }>();\n return data || [];\n },\n\n footer: async (): Promise<MenuItem[]> => {\n const { locale } = getTwilightContext();\n const { data } = await api.get(`menus/footer?lang=${locale}`).json<{ data: MenuItem[] }>();\n return data || [];\n },\n\n queries: {\n header: () =>\n queryOptions({\n queryKey: ['menus', 'header', getTwilightContext().locale],\n queryFn: () => menu.header(),\n staleTime: 5 * 60 * 1000,\n }),\n },\n};\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { orThrow } from './chunk-MAQPYTER.js';
|
|
2
|
-
import { getAuthToken, api } from './chunk-
|
|
2
|
+
import { getAuthToken, api } from './chunk-EZSYN4P3.js';
|
|
3
3
|
import { queryOptions } from '@tanstack/react-query';
|
|
4
4
|
|
|
5
5
|
var loyalty = {
|
|
@@ -29,5 +29,5 @@ var loyalty = {
|
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
export { loyalty };
|
|
32
|
-
//# sourceMappingURL=chunk-
|
|
33
|
-
//# sourceMappingURL=chunk-
|
|
32
|
+
//# sourceMappingURL=chunk-ZCLXL3VH.js.map
|
|
33
|
+
//# sourceMappingURL=chunk-ZCLXL3VH.js.map
|
|
@@ -1 +1 @@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AAA,EAEzD,kBAAkB,YAA6B;AAC7C,IAAA,MAAM,WAAW,MAAM,GAAA,CAAI,GAAA,CAAI,gBAAgB,EAAE,IAAA,EAA2B;AAC5E,IAAA,OAAO,QAAA,CAAS,OAAA;AAAA,EAClB,CAAA;AAAA,EAEA,OAAA,EAAS;AAAA,IACP,MAAA,EAAQ,MACN,YAAA,CAAa;AAAA,MACX,QAAA,EAAU,CAAC,SAAS,CAAA;AAAA,MACpB,OAAA,EAAS,MAAM,OAAA,CAAQ,GAAA;AAAI,KAC5B,CAAA;AAAA,IACH,MAAA,EAAQ,MACN,YAAA,CAA4B;AAAA,MAC1B,QAAA,EAAU,CAAC,SAAA,EAAW,QAAQ,CAAA;AAAA,MAC9B,OAAA,EAAS,MAAM,OAAA,CAAQ,gBAAA,EAAiB;AAAA;AAAA;AAAA,MAGxC,OAAA,EAAS,CAAC,CAAC,YAAA,EAAa;AAAA,MACxB,SAAA,EAAW;AAAA,KACZ;AAAA;AAEP","file":"chunk-ZCLXL3VH.js","sourcesContent":["import { queryOptions } from '@tanstack/react-query';\nimport { api, getAuthToken } from './client';\nimport type { Loyalty, PointBalanceResponse } from '../routes/loyalty/types';\nimport { orThrow } from '../providers/NavigationProvider';\n\nexport const loyalty = {\n get: async (): Promise<Loyalty> => {\n const { data } = await api.get('loyalty').json<{ data: Loyalty }>();\n return data;\n },\n\n getOrThrow: (): Promise<Loyalty> => orThrow(loyalty.get()),\n\n getPointsBalance: async (): Promise<number> => {\n const response = await api.get('balance/points').json<PointBalanceResponse>();\n return response.balance;\n },\n\n queries: {\n detail: () =>\n queryOptions({\n queryKey: ['loyalty'],\n queryFn: () => loyalty.get(),\n }),\n points: () =>\n queryOptions<number | null>({\n queryKey: ['loyalty', 'points'],\n queryFn: () => loyalty.getPointsBalance(),\n // Points are customer-scoped; skip for guests (no token) — the request would\n // otherwise 400 with `token_not_provided`.\n enabled: !!getAuthToken(),\n staleTime: 30_000,\n }),\n },\n};\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { LazyCartItem as CartItem, LazyCartSummary as CartSummary, LazySeoCartWidget as SeoCartWidget } from '../../chunk-
|
|
1
|
+
export { LazyCartItem as CartItem, LazyCartSummary as CartSummary, LazySeoCartWidget as SeoCartWidget } from '../../chunk-FE6ULRVJ.js';
|
|
2
2
|
import '../../chunk-DGUM43GV.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { BlogSkeleton, LazyBreadcrumb as Breadcrumb, BreadcrumbSkeleton, LazyCurrencySymbol as CurrencySymbol, CustomerLayoutSkeleton, CustomerPageSkeleton, DeferredData, LazyErrorPage as ErrorPage, Image, LazyNoContent as NoContent, PageSkeleton, ProductCardSkeleton, ProductDetailSkeleton, ProductGridSkeleton, LazyRenderWhenVisible as RenderWhenVisible, SkeletonPulse, resolveDeferred } from '../../chunk-
|
|
1
|
+
export { BlogSkeleton, LazyBreadcrumb as Breadcrumb, BreadcrumbSkeleton, LazyCurrencySymbol as CurrencySymbol, CustomerLayoutSkeleton, CustomerPageSkeleton, DeferredData, LazyErrorPage as ErrorPage, Image, LazyNoContent as NoContent, PageSkeleton, ProductCardSkeleton, ProductDetailSkeleton, ProductGridSkeleton, LazyRenderWhenVisible as RenderWhenVisible, SkeletonPulse, resolveDeferred } from '../../chunk-I4PD6BEP.js';
|
|
2
2
|
export { Link } from '../../chunk-AXW67SY7.js';
|
|
3
3
|
import '../../chunk-BYMOPN2S.js';
|
|
4
4
|
import '../../chunk-DGUM43GV.js';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export { Drawer } from '../../chunk-6TKIUG5C.js';
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
2
|
+
import '../../chunk-JTJKKF6S.js';
|
|
3
|
+
import '../../chunk-WBLT4Y4A.js';
|
|
4
4
|
import '../../chunk-JKIRRMBU.js';
|
|
5
5
|
import '../../chunk-2JV6WZ6O.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-3MEAEE7K.js';
|
|
7
7
|
import '../../chunk-VVZNW5CB.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-3Z7TBM7W.js';
|
|
9
9
|
import '../../chunk-MAQPYTER.js';
|
|
10
10
|
import '../../chunk-MTONGOJD.js';
|
|
11
11
|
import '../../chunk-C5X6CVXC.js';
|
|
12
|
-
import '../../chunk-
|
|
13
|
-
import '../../chunk-
|
|
14
|
-
import '../../chunk-
|
|
15
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-EXRS5IAC.js';
|
|
13
|
+
import '../../chunk-C3UUGHTX.js';
|
|
14
|
+
import '../../chunk-EZSYN4P3.js';
|
|
15
|
+
import '../../chunk-YZUNEFDM.js';
|
|
16
16
|
import '../../chunk-XITF2PHC.js';
|
|
17
17
|
import '../../chunk-TP3LCGE7.js';
|
|
18
18
|
import '../../chunk-Z653O7MX.js';
|
|
@@ -29,7 +29,7 @@ import '../../chunk-YMVLYYLU.js';
|
|
|
29
29
|
import '../../chunk-RJPPO3ET.js';
|
|
30
30
|
import '../../chunk-Q7VWURUR.js';
|
|
31
31
|
import '../../chunk-GU2KUQVD.js';
|
|
32
|
-
import '../../chunk-
|
|
32
|
+
import '../../chunk-I4PD6BEP.js';
|
|
33
33
|
import '../../chunk-AXW67SY7.js';
|
|
34
34
|
import '../../chunk-BYMOPN2S.js';
|
|
35
35
|
import '../../chunk-6BZ5TKEV.js';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export { BundleComponent, ComponentErrorBoundary, DefaultHomeComponents, FeaturedProductsStyle1, FeaturedProductsStyle2, FeaturedProductsStyle3, FixedBanner, FixedProducts, HomeComponentRenderer, ParallaxBackground, PhotosSlider, ProductsSlider, SquarePhotos, StoreFeatures, LazyTestimonials as Testimonials, Youtube, registerHomeComponentConfig, registerHomeComponents } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
1
|
+
export { BundleComponent, ComponentErrorBoundary, DefaultHomeComponents, FeaturedProductsStyle1, FeaturedProductsStyle2, FeaturedProductsStyle3, FixedBanner, FixedProducts, HomeComponentRenderer, ParallaxBackground, PhotosSlider, ProductsSlider, SquarePhotos, StoreFeatures, LazyTestimonials as Testimonials, Youtube, registerHomeComponentConfig, registerHomeComponents } from '../../chunk-ELOCFIZE.js';
|
|
2
|
+
import '../../chunk-6MREJTVB.js';
|
|
3
|
+
import '../../chunk-NMOAEWI6.js';
|
|
4
4
|
import '../../chunk-G7ALL4BC.js';
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-JTJKKF6S.js';
|
|
6
|
+
import '../../chunk-WBLT4Y4A.js';
|
|
7
7
|
import '../../chunk-JKIRRMBU.js';
|
|
8
8
|
import '../../chunk-2JV6WZ6O.js';
|
|
9
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-3MEAEE7K.js';
|
|
10
10
|
import '../../chunk-VVZNW5CB.js';
|
|
11
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-3Z7TBM7W.js';
|
|
12
12
|
import '../../chunk-MAQPYTER.js';
|
|
13
13
|
import '../../chunk-MTONGOJD.js';
|
|
14
14
|
import '../../chunk-C5X6CVXC.js';
|
|
15
|
-
import '../../chunk-
|
|
16
|
-
import '../../chunk-
|
|
17
|
-
import '../../chunk-
|
|
18
|
-
import '../../chunk-
|
|
15
|
+
import '../../chunk-EXRS5IAC.js';
|
|
16
|
+
import '../../chunk-C3UUGHTX.js';
|
|
17
|
+
import '../../chunk-EZSYN4P3.js';
|
|
18
|
+
import '../../chunk-YZUNEFDM.js';
|
|
19
19
|
import '../../chunk-XITF2PHC.js';
|
|
20
20
|
import '../../chunk-TP3LCGE7.js';
|
|
21
21
|
import '../../chunk-Z653O7MX.js';
|
|
@@ -32,7 +32,7 @@ import '../../chunk-YMVLYYLU.js';
|
|
|
32
32
|
import '../../chunk-RJPPO3ET.js';
|
|
33
33
|
import '../../chunk-Q7VWURUR.js';
|
|
34
34
|
import '../../chunk-GU2KUQVD.js';
|
|
35
|
-
import '../../chunk-
|
|
35
|
+
import '../../chunk-I4PD6BEP.js';
|
|
36
36
|
import '../../chunk-AXW67SY7.js';
|
|
37
37
|
import '../../chunk-BYMOPN2S.js';
|
|
38
38
|
import '../../chunk-6BZ5TKEV.js';
|
|
@@ -5,19 +5,19 @@ import '../../chunk-DF6FBKDN.js';
|
|
|
5
5
|
import '../../chunk-DGUM43GV.js';
|
|
6
6
|
import { lazy } from 'react';
|
|
7
7
|
|
|
8
|
-
var LazyHeader = lazy(() => import('../../Header-
|
|
9
|
-
var LazyFooter = lazy(() => import('../../Footer-
|
|
8
|
+
var LazyHeader = lazy(() => import('../../Header-LDRXI6GS.js').then((m) => ({ default: m.Header })));
|
|
9
|
+
var LazyFooter = lazy(() => import('../../Footer-OF6HYDT7.js').then((m) => ({ default: m.Footer })));
|
|
10
10
|
var LazyCopyright = lazy(
|
|
11
|
-
() => import('../../Copyright-
|
|
11
|
+
() => import('../../Copyright-3PU36ZHD.js').then((m) => ({ default: m.Copyright }))
|
|
12
12
|
);
|
|
13
13
|
var LazyMasterLayout = lazy(
|
|
14
|
-
() => import('../../MasterLayout-
|
|
14
|
+
() => import('../../MasterLayout-R2SPK6UT.js').then((m) => ({ default: m.MasterLayout }))
|
|
15
15
|
);
|
|
16
16
|
var LazyWidgetHead = lazy(
|
|
17
17
|
() => import('../../WidgetHead-RWL7D3CT.js').then((m) => ({ default: m.WidgetHead }))
|
|
18
18
|
);
|
|
19
19
|
var LazyCustomerLayout = lazy(
|
|
20
|
-
() => import('../../CustomerLayout-
|
|
20
|
+
() => import('../../CustomerLayout-WY6V5RLJ.js').then((m) => ({ default: m.CustomerLayout }))
|
|
21
21
|
);
|
|
22
22
|
|
|
23
23
|
export { LazyCopyright as Copyright, LazyCustomerLayout as CustomerLayout, LazyFooter as Footer, LazyHeader as Header, LazyMasterLayout as MasterLayout, LazyWidgetHead as WidgetHead };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { LazyAddToCartForm as AddToCartForm, ProductCard, LazyProductDetails as ProductDetails, ProductGallery } from '../../chunk-
|
|
1
|
+
export { LazyAddToCartForm as AddToCartForm, ProductCard, LazyProductDetails as ProductDetails, ProductGallery } from '../../chunk-NMOAEWI6.js';
|
|
2
2
|
import '../../chunk-G7ALL4BC.js';
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-JTJKKF6S.js';
|
|
4
|
+
import '../../chunk-WBLT4Y4A.js';
|
|
5
5
|
import '../../chunk-JKIRRMBU.js';
|
|
6
6
|
import '../../chunk-2JV6WZ6O.js';
|
|
7
|
-
import '../../chunk-
|
|
7
|
+
import '../../chunk-3MEAEE7K.js';
|
|
8
8
|
import '../../chunk-VVZNW5CB.js';
|
|
9
|
-
import '../../chunk-
|
|
9
|
+
import '../../chunk-3Z7TBM7W.js';
|
|
10
10
|
import '../../chunk-MAQPYTER.js';
|
|
11
11
|
import '../../chunk-MTONGOJD.js';
|
|
12
12
|
import '../../chunk-C5X6CVXC.js';
|
|
13
|
-
import '../../chunk-
|
|
14
|
-
import '../../chunk-
|
|
15
|
-
import '../../chunk-
|
|
16
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-EXRS5IAC.js';
|
|
14
|
+
import '../../chunk-C3UUGHTX.js';
|
|
15
|
+
import '../../chunk-EZSYN4P3.js';
|
|
16
|
+
import '../../chunk-YZUNEFDM.js';
|
|
17
17
|
import '../../chunk-XITF2PHC.js';
|
|
18
18
|
import '../../chunk-TP3LCGE7.js';
|
|
19
19
|
import '../../chunk-Z653O7MX.js';
|
|
@@ -30,7 +30,7 @@ import '../../chunk-YMVLYYLU.js';
|
|
|
30
30
|
import '../../chunk-RJPPO3ET.js';
|
|
31
31
|
import '../../chunk-Q7VWURUR.js';
|
|
32
32
|
import '../../chunk-GU2KUQVD.js';
|
|
33
|
-
import '../../chunk-
|
|
33
|
+
import '../../chunk-I4PD6BEP.js';
|
|
34
34
|
import '../../chunk-AXW67SY7.js';
|
|
35
35
|
import '../../chunk-BYMOPN2S.js';
|
|
36
36
|
import '../../chunk-6BZ5TKEV.js';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { StoreClosedNotification } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
1
|
+
export { StoreClosedNotification } from '../../chunk-F27YMAOM.js';
|
|
2
|
+
import '../../chunk-JTJKKF6S.js';
|
|
3
|
+
import '../../chunk-WBLT4Y4A.js';
|
|
4
4
|
import '../../chunk-JKIRRMBU.js';
|
|
5
5
|
import '../../chunk-2JV6WZ6O.js';
|
|
6
|
-
import '../../chunk-
|
|
6
|
+
import '../../chunk-3MEAEE7K.js';
|
|
7
7
|
import '../../chunk-VVZNW5CB.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-3Z7TBM7W.js';
|
|
9
9
|
import '../../chunk-MAQPYTER.js';
|
|
10
10
|
import '../../chunk-MTONGOJD.js';
|
|
11
11
|
import '../../chunk-C5X6CVXC.js';
|
|
12
|
-
import '../../chunk-
|
|
13
|
-
import '../../chunk-
|
|
14
|
-
import '../../chunk-
|
|
15
|
-
import '../../chunk-
|
|
12
|
+
import '../../chunk-EXRS5IAC.js';
|
|
13
|
+
import '../../chunk-C3UUGHTX.js';
|
|
14
|
+
import '../../chunk-EZSYN4P3.js';
|
|
15
|
+
import '../../chunk-YZUNEFDM.js';
|
|
16
16
|
import '../../chunk-XITF2PHC.js';
|
|
17
17
|
import '../../chunk-TP3LCGE7.js';
|
|
18
18
|
import '../../chunk-Z653O7MX.js';
|
|
@@ -29,7 +29,7 @@ import '../../chunk-YMVLYYLU.js';
|
|
|
29
29
|
import '../../chunk-RJPPO3ET.js';
|
|
30
30
|
import '../../chunk-Q7VWURUR.js';
|
|
31
31
|
import '../../chunk-GU2KUQVD.js';
|
|
32
|
-
import '../../chunk-
|
|
32
|
+
import '../../chunk-I4PD6BEP.js';
|
|
33
33
|
import '../../chunk-AXW67SY7.js';
|
|
34
34
|
import '../../chunk-BYMOPN2S.js';
|
|
35
35
|
import '../../chunk-6BZ5TKEV.js';
|
|
@@ -42,7 +42,7 @@ import '../../chunk-DGUM43GV.js';
|
|
|
42
42
|
import { lazy } from 'react';
|
|
43
43
|
|
|
44
44
|
var LazyStoreClosedNotification = lazy(
|
|
45
|
-
() => import('../../StoreClosedNotification-
|
|
45
|
+
() => import('../../StoreClosedNotification-JLYGKTZH.js').then((m) => ({
|
|
46
46
|
default: m.StoreClosedNotification
|
|
47
47
|
}))
|
|
48
48
|
);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { RouteDocumentSync, TanStackDocumentSync, tanstackDocumentAdapter, useTanstackDocumentAttrs } from './chunk-
|
|
1
|
+
export { RouteDocumentSync, TanStackDocumentSync, tanstackDocumentAdapter, useTanstackDocumentAttrs } from './chunk-K5V67DOI.js';
|
|
2
2
|
import './chunk-Z4Y55HWX.js';
|
|
3
3
|
import './chunk-D2UOBR4H.js';
|
|
4
4
|
import './chunk-MQ4UTXPR.js';
|
|
5
5
|
import './chunk-B3EFOE57.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
import './chunk-QZ6I5CA7.js';
|
|
7
|
+
import './chunk-NR2XM4KT.js';
|
|
8
8
|
import './chunk-TZ3E5BN4.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
9
|
+
import './chunk-3MEAEE7K.js';
|
|
10
|
+
import './chunk-3Z7TBM7W.js';
|
|
11
11
|
import './chunk-MAQPYTER.js';
|
|
12
12
|
import './chunk-MTONGOJD.js';
|
|
13
|
-
import './chunk-
|
|
14
|
-
import './chunk-
|
|
13
|
+
import './chunk-EZSYN4P3.js';
|
|
14
|
+
import './chunk-YZUNEFDM.js';
|
|
15
15
|
import './chunk-XITF2PHC.js';
|
|
16
16
|
import './chunk-JWXJPJBO.js';
|
|
17
17
|
import './chunk-CW625T2E.js';
|
|
@@ -19,5 +19,5 @@ import './chunk-TYNZ5B2B.js';
|
|
|
19
19
|
import './chunk-T72DAX7R.js';
|
|
20
20
|
import './chunk-DF6FBKDN.js';
|
|
21
21
|
import './chunk-DGUM43GV.js';
|
|
22
|
-
//# sourceMappingURL=document-class-
|
|
23
|
-
//# sourceMappingURL=document-class-
|
|
22
|
+
//# sourceMappingURL=document-class-44DOTPY6.js.map
|
|
23
|
+
//# sourceMappingURL=document-class-44DOTPY6.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"document-class-
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"document-class-44DOTPY6.js"}
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { registerDefaultHooks, useBreadcrumbs, useDate, useGtm, useMoney, useNumber, useOpeningHours, usePageConfig, useStore } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { registerDefaultHooks, useBreadcrumbs, useDate, useGtm, useMoney, useNumber, useOpeningHours, usePageConfig, useStore } from '../chunk-JTJKKF6S.js';
|
|
2
|
+
import '../chunk-WBLT4Y4A.js';
|
|
3
3
|
import '../chunk-JKIRRMBU.js';
|
|
4
4
|
import '../chunk-2JV6WZ6O.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-3MEAEE7K.js';
|
|
6
6
|
import '../chunk-VVZNW5CB.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-3Z7TBM7W.js';
|
|
8
8
|
import '../chunk-MAQPYTER.js';
|
|
9
9
|
import '../chunk-MTONGOJD.js';
|
|
10
10
|
export { useHook } from '../chunk-C5X6CVXC.js';
|
|
11
|
-
export { useUser } from '../chunk-
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-
|
|
11
|
+
export { useUser } from '../chunk-EXRS5IAC.js';
|
|
12
|
+
import '../chunk-C3UUGHTX.js';
|
|
13
|
+
import '../chunk-EZSYN4P3.js';
|
|
14
|
+
import '../chunk-YZUNEFDM.js';
|
|
15
15
|
import '../chunk-XITF2PHC.js';
|
|
16
16
|
export { HookName } from '../chunk-TP3LCGE7.js';
|
|
17
17
|
export { useAsset } from '../chunk-Z653O7MX.js';
|
|
@@ -28,7 +28,7 @@ export { useComments } from '../chunk-YMVLYYLU.js';
|
|
|
28
28
|
import '../chunk-RJPPO3ET.js';
|
|
29
29
|
export { HookSlot, useIsClient } from '../chunk-Q7VWURUR.js';
|
|
30
30
|
export { HookRegistry, defineHooks, hookRegistry } from '../chunk-GU2KUQVD.js';
|
|
31
|
-
import '../chunk-
|
|
31
|
+
import '../chunk-I4PD6BEP.js';
|
|
32
32
|
import '../chunk-AXW67SY7.js';
|
|
33
33
|
import '../chunk-BYMOPN2S.js';
|
|
34
34
|
export { useAsyncFn } from '../chunk-6BZ5TKEV.js';
|
package/dist/hooks/useGtm.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { useGtm } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { useGtm } from '../chunk-JTJKKF6S.js';
|
|
2
|
+
import '../chunk-WBLT4Y4A.js';
|
|
3
3
|
import '../chunk-JKIRRMBU.js';
|
|
4
4
|
import '../chunk-2JV6WZ6O.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-3MEAEE7K.js';
|
|
6
6
|
import '../chunk-VVZNW5CB.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-3Z7TBM7W.js';
|
|
8
8
|
import '../chunk-MAQPYTER.js';
|
|
9
9
|
import '../chunk-MTONGOJD.js';
|
|
10
10
|
import '../chunk-C5X6CVXC.js';
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-EXRS5IAC.js';
|
|
12
|
+
import '../chunk-C3UUGHTX.js';
|
|
13
|
+
import '../chunk-EZSYN4P3.js';
|
|
14
|
+
import '../chunk-YZUNEFDM.js';
|
|
15
15
|
import '../chunk-XITF2PHC.js';
|
|
16
16
|
import '../chunk-TP3LCGE7.js';
|
|
17
17
|
import '../chunk-Z653O7MX.js';
|
|
@@ -28,7 +28,7 @@ import '../chunk-YMVLYYLU.js';
|
|
|
28
28
|
import '../chunk-RJPPO3ET.js';
|
|
29
29
|
import '../chunk-Q7VWURUR.js';
|
|
30
30
|
import '../chunk-GU2KUQVD.js';
|
|
31
|
-
import '../chunk-
|
|
31
|
+
import '../chunk-I4PD6BEP.js';
|
|
32
32
|
import '../chunk-AXW67SY7.js';
|
|
33
33
|
import '../chunk-BYMOPN2S.js';
|
|
34
34
|
import '../chunk-6BZ5TKEV.js';
|
package/dist/hooks/useMoney.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { useMoney } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { useMoney } from '../chunk-JTJKKF6S.js';
|
|
2
|
+
import '../chunk-WBLT4Y4A.js';
|
|
3
3
|
import '../chunk-JKIRRMBU.js';
|
|
4
4
|
import '../chunk-2JV6WZ6O.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-3MEAEE7K.js';
|
|
6
6
|
import '../chunk-VVZNW5CB.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-3Z7TBM7W.js';
|
|
8
8
|
import '../chunk-MAQPYTER.js';
|
|
9
9
|
import '../chunk-MTONGOJD.js';
|
|
10
10
|
import '../chunk-C5X6CVXC.js';
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-EXRS5IAC.js';
|
|
12
|
+
import '../chunk-C3UUGHTX.js';
|
|
13
|
+
import '../chunk-EZSYN4P3.js';
|
|
14
|
+
import '../chunk-YZUNEFDM.js';
|
|
15
15
|
import '../chunk-XITF2PHC.js';
|
|
16
16
|
import '../chunk-TP3LCGE7.js';
|
|
17
17
|
import '../chunk-Z653O7MX.js';
|
|
@@ -28,7 +28,7 @@ import '../chunk-YMVLYYLU.js';
|
|
|
28
28
|
import '../chunk-RJPPO3ET.js';
|
|
29
29
|
import '../chunk-Q7VWURUR.js';
|
|
30
30
|
import '../chunk-GU2KUQVD.js';
|
|
31
|
-
import '../chunk-
|
|
31
|
+
import '../chunk-I4PD6BEP.js';
|
|
32
32
|
import '../chunk-AXW67SY7.js';
|
|
33
33
|
import '../chunk-BYMOPN2S.js';
|
|
34
34
|
import '../chunk-6BZ5TKEV.js';
|
package/dist/hooks/useStore.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { useStore } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { useStore } from '../chunk-JTJKKF6S.js';
|
|
2
|
+
import '../chunk-WBLT4Y4A.js';
|
|
3
3
|
import '../chunk-JKIRRMBU.js';
|
|
4
4
|
import '../chunk-2JV6WZ6O.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-3MEAEE7K.js';
|
|
6
6
|
import '../chunk-VVZNW5CB.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-3Z7TBM7W.js';
|
|
8
8
|
import '../chunk-MAQPYTER.js';
|
|
9
9
|
import '../chunk-MTONGOJD.js';
|
|
10
10
|
import '../chunk-C5X6CVXC.js';
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
14
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-EXRS5IAC.js';
|
|
12
|
+
import '../chunk-C3UUGHTX.js';
|
|
13
|
+
import '../chunk-EZSYN4P3.js';
|
|
14
|
+
import '../chunk-YZUNEFDM.js';
|
|
15
15
|
import '../chunk-XITF2PHC.js';
|
|
16
16
|
import '../chunk-TP3LCGE7.js';
|
|
17
17
|
import '../chunk-Z653O7MX.js';
|
|
@@ -28,7 +28,7 @@ import '../chunk-YMVLYYLU.js';
|
|
|
28
28
|
import '../chunk-RJPPO3ET.js';
|
|
29
29
|
import '../chunk-Q7VWURUR.js';
|
|
30
30
|
import '../chunk-GU2KUQVD.js';
|
|
31
|
-
import '../chunk-
|
|
31
|
+
import '../chunk-I4PD6BEP.js';
|
|
32
32
|
import '../chunk-AXW67SY7.js';
|
|
33
33
|
import '../chunk-BYMOPN2S.js';
|
|
34
34
|
import '../chunk-6BZ5TKEV.js';
|
package/dist/hooks/useUser.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { useUser } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
export { useUser } from '../chunk-EXRS5IAC.js';
|
|
2
|
+
import '../chunk-C3UUGHTX.js';
|
|
3
|
+
import '../chunk-EZSYN4P3.js';
|
|
4
|
+
import '../chunk-YZUNEFDM.js';
|
|
5
5
|
import '../chunk-XITF2PHC.js';
|
|
6
6
|
import '../chunk-T72DAX7R.js';
|
|
7
7
|
import '../chunk-DGUM43GV.js';
|
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { registry } from './chunk-G7ALL4BC.js';
|
|
2
2
|
export { ComponentRegistry, registry } from './chunk-G7ALL4BC.js';
|
|
3
|
-
export { TwilightProvider } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { TwilightProvider } from './chunk-JTJKKF6S.js';
|
|
4
|
+
import './chunk-WBLT4Y4A.js';
|
|
5
5
|
import './chunk-JKIRRMBU.js';
|
|
6
6
|
import './chunk-2JV6WZ6O.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-3MEAEE7K.js';
|
|
8
8
|
import './chunk-VVZNW5CB.js';
|
|
9
|
-
import './chunk-
|
|
9
|
+
import './chunk-3Z7TBM7W.js';
|
|
10
10
|
export { useIsBlog, useIsBrands, useIsCart, useIsCustomer, useIsHome, useIsProduct, useIsSearch, useRouteId } from './chunk-MAQPYTER.js';
|
|
11
11
|
export { RouteId } from './chunk-MTONGOJD.js';
|
|
12
12
|
import './chunk-C5X6CVXC.js';
|
|
13
|
-
import './chunk-
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
13
|
+
import './chunk-EXRS5IAC.js';
|
|
14
|
+
import './chunk-C3UUGHTX.js';
|
|
15
|
+
import './chunk-EZSYN4P3.js';
|
|
16
|
+
import './chunk-YZUNEFDM.js';
|
|
17
17
|
export { SettingsError } from './chunk-XITF2PHC.js';
|
|
18
18
|
export { HookName } from './chunk-TP3LCGE7.js';
|
|
19
19
|
import './chunk-Z653O7MX.js';
|
|
@@ -30,7 +30,7 @@ import './chunk-YMVLYYLU.js';
|
|
|
30
30
|
import './chunk-RJPPO3ET.js';
|
|
31
31
|
import './chunk-Q7VWURUR.js';
|
|
32
32
|
import './chunk-GU2KUQVD.js';
|
|
33
|
-
import './chunk-
|
|
33
|
+
import './chunk-I4PD6BEP.js';
|
|
34
34
|
import './chunk-AXW67SY7.js';
|
|
35
35
|
import './chunk-BYMOPN2S.js';
|
|
36
36
|
import './chunk-6BZ5TKEV.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import './chunk-JTJKKF6S.js';
|
|
2
|
+
import './chunk-WBLT4Y4A.js';
|
|
3
3
|
import './chunk-JKIRRMBU.js';
|
|
4
4
|
import './chunk-2JV6WZ6O.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-3MEAEE7K.js';
|
|
6
6
|
import './chunk-VVZNW5CB.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-3Z7TBM7W.js';
|
|
8
8
|
import './chunk-MAQPYTER.js';
|
|
9
9
|
import './chunk-MTONGOJD.js';
|
|
10
10
|
import './chunk-C5X6CVXC.js';
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
13
|
-
import './chunk-
|
|
14
|
-
import './chunk-
|
|
11
|
+
import './chunk-EXRS5IAC.js';
|
|
12
|
+
import './chunk-C3UUGHTX.js';
|
|
13
|
+
import './chunk-EZSYN4P3.js';
|
|
14
|
+
import './chunk-YZUNEFDM.js';
|
|
15
15
|
import './chunk-XITF2PHC.js';
|
|
16
16
|
import './chunk-TP3LCGE7.js';
|
|
17
17
|
import './chunk-Z653O7MX.js';
|
|
@@ -28,7 +28,7 @@ import './chunk-YMVLYYLU.js';
|
|
|
28
28
|
import './chunk-RJPPO3ET.js';
|
|
29
29
|
import { HookSlot } from './chunk-Q7VWURUR.js';
|
|
30
30
|
import './chunk-GU2KUQVD.js';
|
|
31
|
-
import { LazyErrorPage } from './chunk-
|
|
31
|
+
import { LazyErrorPage } from './chunk-I4PD6BEP.js';
|
|
32
32
|
import './chunk-AXW67SY7.js';
|
|
33
33
|
import './chunk-BYMOPN2S.js';
|
|
34
34
|
import './chunk-6BZ5TKEV.js';
|
|
@@ -68,5 +68,5 @@ function NotFoundPage(props = {}) {
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
export { NotFoundPage };
|
|
71
|
-
//# sourceMappingURL=not-found-
|
|
72
|
-
//# sourceMappingURL=not-found-
|
|
71
|
+
//# sourceMappingURL=not-found-XS5AQUB3.js.map
|
|
72
|
+
//# sourceMappingURL=not-found-XS5AQUB3.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/routes/not-found.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkBO,SAAS,YAAA,CAAa,KAAA,GAA2B,EAAC,EAAG;AAC1D,EAAA,MAAM,EAAE,CAAA,EAAE,GAAI,cAAA,EAAe;AAE7B,EAA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,uBACE,IAAA;AAAA,IAAC,aAAA;AAAA,IAAA;AAAA,MACC,IAAA,EAAM,GAAA;AAAA,MACN,KAAA;AAAA,MACA,OAAA;AAAA,MACA,UAAA,EAAY,YAAA;AAAA,MACZ,UAAA,EAAY,YAAA;AAAA,MACZ,aAAA;AAAA,MAEA,QAAA,EAAA;AAAA,wBAAA,GAAA,CAAC,QAAA,EAAA,EAAS,MAAK,gBAAA,EAAiB,CAAA;AAAA,wBAChC,GAAA,CAAC,QAAA,EAAA,EAAS,IAAA,EAAK,kBAAA,EAAmB,CAAA;AAAA,wBAClC,GAAA,CAAC,QAAA,EAAA,EAAS,IAAA,EAAK,cAAA,EAAe;AAAA;AAAA;AAAA,GAChC;AAEJ","file":"not-found-XS5AQUB3.js","sourcesContent":["import type { ComponentType, ReactNode } from 'react';\nimport { HookSlot } from '../hooks';\nimport { useTranslation } from '../providers/I18nProvider';\nimport { ErrorPage } from '../components/common';\n\nexport interface NotFoundPageProps {\n title?: string;\n message?: string;\n showHomeLink?: boolean;\n homeLinkText?: string;\n LinkComponent?: ComponentType<{\n to: string;\n className?: string;\n style?: React.CSSProperties;\n children: ReactNode;\n }>;\n}\n\nexport function NotFoundPage(props: NotFoundPageProps = {}) {\n const { t } = useTranslation();\n\n const {\n title = t('common.errors.404') || 'Page Not Found',\n message = t('common.errors.error_occurred') ||\n 'The page you are looking for does not exist or has been moved.',\n showHomeLink = true,\n homeLinkText = t('common.elements.back_home') || 'Back to Home',\n LinkComponent,\n } = props;\n\n return (\n <ErrorPage\n code={404}\n title={title}\n message={message}\n showAction={showHomeLink}\n actionText={homeLinkText}\n LinkComponent={LinkComponent}\n >\n <HookSlot name=\"notfound:start\" />\n <HookSlot name=\"notfound:content\" />\n <HookSlot name=\"notfound:end\" />\n </ErrorPage>\n );\n}\n"]}
|