@salla.sa/twilight-theme-engine 1.0.136 → 1.0.138

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.
Files changed (353) hide show
  1. package/dist/{AddToCartForm-RG4ANO47.js → AddToCartForm-P3IXCYO7.js} +4 -3
  2. package/dist/AddToCartForm-P3IXCYO7.js.map +1 -0
  3. package/dist/{BlogAuthorPage-JEYNAFRH.js → BlogAuthorPage-UJYMW4ZL.js} +18 -17
  4. package/dist/BlogAuthorPage-UJYMW4ZL.js.map +1 -0
  5. package/dist/{BlogCategoryPage-IIAXWMHD.js → BlogCategoryPage-3XO42UFX.js} +18 -17
  6. package/dist/BlogCategoryPage-3XO42UFX.js.map +1 -0
  7. package/dist/{BlogPage-NKYICNRT.js → BlogPage-5SQNDQ7L.js} +16 -15
  8. package/dist/BlogPage-5SQNDQ7L.js.map +1 -0
  9. package/dist/{BlogSinglePage-FBO4NQL5.js → BlogSinglePage-XSRKZYUI.js} +16 -15
  10. package/dist/BlogSinglePage-XSRKZYUI.js.map +1 -0
  11. package/dist/{BlogTagPage-WZIUPBEM.js → BlogTagPage-CFXWHUJR.js} +18 -17
  12. package/dist/BlogTagPage-CFXWHUJR.js.map +1 -0
  13. package/dist/{BrandsPage-EN6MZV6T.js → BrandsPage-APYVP4M2.js} +17 -16
  14. package/dist/BrandsPage-APYVP4M2.js.map +1 -0
  15. package/dist/{Breadcrumb-COB4TMMI.js → Breadcrumb-M4DBOMXW.js} +16 -15
  16. package/dist/Breadcrumb-M4DBOMXW.js.map +1 -0
  17. package/dist/{CartItem-SYQZHA2F.js → CartItem-BXZDBDLA.js} +16 -15
  18. package/dist/CartItem-BXZDBDLA.js.map +1 -0
  19. package/dist/{CartSummary-YQN7N6JW.js → CartSummary-NT7N6ERQ.js} +16 -15
  20. package/dist/CartSummary-NT7N6ERQ.js.map +1 -0
  21. package/dist/{Copyright-II2URAIP.js → Copyright-IJDVQWOS.js} +4 -3
  22. package/dist/Copyright-IJDVQWOS.js.map +1 -0
  23. package/dist/{CustomerLayout-75NK34WK.js → CustomerLayout-UNEDHUO2.js} +16 -15
  24. package/dist/CustomerLayout-UNEDHUO2.js.map +1 -0
  25. package/dist/{Footer-6MYG4POU.js → Footer-QX5BCDUK.js} +6 -5
  26. package/dist/{Footer-6MYG4POU.js.map → Footer-QX5BCDUK.js.map} +1 -1
  27. package/dist/{Header-KXX42XKB.js → Header-EAOIXJNS.js} +9 -8
  28. package/dist/{Header-KXX42XKB.js.map → Header-EAOIXJNS.js.map} +1 -1
  29. package/dist/{LoyaltyPage-R4KWVGLW.js → LoyaltyPage-3VOLW5OQ.js} +16 -15
  30. package/dist/LoyaltyPage-3VOLW5OQ.js.map +1 -0
  31. package/dist/{LoyaltyPointsPage-L7HG54RQ.js → LoyaltyPointsPage-IMHJHCZV.js} +7 -6
  32. package/dist/LoyaltyPointsPage-IMHJHCZV.js.map +1 -0
  33. package/dist/{MainMenu-KI4BAA7W.js → MainMenu-ML6OQT53.js} +6 -5
  34. package/dist/MainMenu-ML6OQT53.js.map +1 -0
  35. package/dist/{MasterLayout-WQ3VWDAA.js → MasterLayout-UCQA73I3.js} +16 -15
  36. package/dist/{MasterLayout-WQ3VWDAA.js.map → MasterLayout-UCQA73I3.js.map} +1 -1
  37. package/dist/{MobileMenu-LJXKYKRI.js → MobileMenu-5JHOT4DP.js} +17 -16
  38. package/dist/MobileMenu-5JHOT4DP.js.map +1 -0
  39. package/dist/{NotificationsPage-4TUPN24E.js → NotificationsPage-C373Z2KC.js} +16 -15
  40. package/dist/NotificationsPage-C373Z2KC.js.map +1 -0
  41. package/dist/{OrderSinglePage-N3YGXCKL.js → OrderSinglePage-YYTU72JY.js} +17 -16
  42. package/dist/OrderSinglePage-YYTU72JY.js.map +1 -0
  43. package/dist/{OrdersPage-V3WNW2WZ.js → OrdersPage-2F43AA76.js} +16 -15
  44. package/dist/OrdersPage-2F43AA76.js.map +1 -0
  45. package/dist/{PageSingle-H5YA47EG.js → PageSingle-2FIESLYJ.js} +4 -3
  46. package/dist/PageSingle-2FIESLYJ.js.map +1 -0
  47. package/dist/{ProductDetails-EHRMQR7F.js → ProductDetails-TNULRGXM.js} +5 -4
  48. package/dist/ProductDetails-TNULRGXM.js.map +1 -0
  49. package/dist/{ProfilePage-3GRY4RSA.js → ProfilePage-4VSU6H3S.js} +16 -15
  50. package/dist/ProfilePage-4VSU6H3S.js.map +1 -0
  51. package/dist/{ReviewsPage-SPHK5MCS.js → ReviewsPage-65CYIATI.js} +4 -3
  52. package/dist/ReviewsPage-65CYIATI.js.map +1 -0
  53. package/dist/{SeoCartWidget-P2QQ62AF.js → SeoCartWidget-UHJJLLCU.js} +16 -15
  54. package/dist/SeoCartWidget-UHJJLLCU.js.map +1 -0
  55. package/dist/{SettingsPage-YFN32XOV.js → SettingsPage-2JHRIGFS.js} +16 -15
  56. package/dist/SettingsPage-2JHRIGFS.js.map +1 -0
  57. package/dist/{StoreClosedNotification-3RU33TF6.js → StoreClosedNotification-ADSYNO7O.js} +17 -16
  58. package/dist/{StoreClosedNotification-3RU33TF6.js.map → StoreClosedNotification-ADSYNO7O.js.map} +1 -1
  59. package/dist/{TestimonialsPage-4W6SXN24.js → TestimonialsPage-PYFKXCQP.js} +4 -3
  60. package/dist/TestimonialsPage-PYFKXCQP.js.map +1 -0
  61. package/dist/{ThankYouPage-56AIK3QG.js → ThankYouPage-VHUAKQF7.js} +16 -15
  62. package/dist/ThankYouPage-VHUAKQF7.js.map +1 -0
  63. package/dist/{WalletPage-FLB4OCK4.js → WalletPage-NG2DJAUE.js} +17 -16
  64. package/dist/WalletPage-NG2DJAUE.js.map +1 -0
  65. package/dist/{WishlistPage-H6KGJYRT.js → WishlistPage-GFOKEWL3.js} +18 -17
  66. package/dist/WishlistPage-GFOKEWL3.js.map +1 -0
  67. package/dist/api/advertisement.js +2 -2
  68. package/dist/api/apps.js +2 -2
  69. package/dist/api/blog.js +3 -3
  70. package/dist/api/brands.js +3 -3
  71. package/dist/api/cart.js +3 -3
  72. package/dist/api/category.js +3 -3
  73. package/dist/api/client.js +1 -1
  74. package/dist/api/home.js +2 -2
  75. package/dist/api/loyalty.js +3 -3
  76. package/dist/api/menu.js +2 -2
  77. package/dist/api/notification.js +2 -2
  78. package/dist/api/order.js +3 -3
  79. package/dist/api/page.js +3 -3
  80. package/dist/api/product.js +3 -3
  81. package/dist/api/profile.js +1 -1
  82. package/dist/api/store.d.ts.map +1 -1
  83. package/dist/api/store.js +2 -2
  84. package/dist/api/translations.js +2 -2
  85. package/dist/api/user.js +2 -2
  86. package/dist/api/wallet.js +2 -2
  87. package/dist/api/wishlist.js +4 -4
  88. package/dist/{chunk-LPVWRPMV.js → chunk-35D6CKKX.js} +4 -4
  89. package/dist/{chunk-LPVWRPMV.js.map → chunk-35D6CKKX.js.map} +1 -1
  90. package/dist/{chunk-V4E6JFS4.js → chunk-3QR6T7KW.js} +12 -10
  91. package/dist/chunk-3QR6T7KW.js.map +1 -0
  92. package/dist/{chunk-F324WS4B.js → chunk-5FEFYFTS.js} +3 -3
  93. package/dist/{chunk-F324WS4B.js.map → chunk-5FEFYFTS.js.map} +1 -1
  94. package/dist/{chunk-RYAOXNRA.js → chunk-5MNGLNIJ.js} +3 -3
  95. package/dist/{chunk-RYAOXNRA.js.map → chunk-5MNGLNIJ.js.map} +1 -1
  96. package/dist/{chunk-PLFD6UWD.js → chunk-6EOAIIHL.js} +3 -3
  97. package/dist/{chunk-PLFD6UWD.js.map → chunk-6EOAIIHL.js.map} +1 -1
  98. package/dist/{chunk-BFPTMZ4G.js → chunk-6KZUGNCS.js} +3 -3
  99. package/dist/{chunk-BFPTMZ4G.js.map → chunk-6KZUGNCS.js.map} +1 -1
  100. package/dist/{chunk-EDK4U4WQ.js → chunk-A7KXUBPT.js} +49 -6
  101. package/dist/chunk-A7KXUBPT.js.map +1 -0
  102. package/dist/{chunk-DIA2LU6I.js → chunk-CJZ3MJ3Y.js} +11 -9
  103. package/dist/chunk-CJZ3MJ3Y.js.map +1 -0
  104. package/dist/{chunk-OIL6F7S2.js → chunk-DMS6PZXN.js} +4 -4
  105. package/dist/{chunk-OIL6F7S2.js.map → chunk-DMS6PZXN.js.map} +1 -1
  106. package/dist/{chunk-TUIB74QX.js → chunk-EGJ2SV6O.js} +43 -59
  107. package/dist/chunk-EGJ2SV6O.js.map +1 -0
  108. package/dist/{chunk-D262IAAT.js → chunk-EJ66I5SH.js} +4 -4
  109. package/dist/{chunk-D262IAAT.js.map → chunk-EJ66I5SH.js.map} +1 -1
  110. package/dist/chunk-EOQPV6KS.js +25 -0
  111. package/dist/chunk-EOQPV6KS.js.map +1 -0
  112. package/dist/{chunk-WXE5OK4N.js → chunk-FVHAKOEH.js} +3 -3
  113. package/dist/{chunk-WXE5OK4N.js.map → chunk-FVHAKOEH.js.map} +1 -1
  114. package/dist/{chunk-NZ6REC6S.js → chunk-GJFK3SU5.js} +4 -4
  115. package/dist/{chunk-NZ6REC6S.js.map → chunk-GJFK3SU5.js.map} +1 -1
  116. package/dist/{chunk-C76QBKQT.js → chunk-HEWFF3KI.js} +3 -3
  117. package/dist/{chunk-C76QBKQT.js.map → chunk-HEWFF3KI.js.map} +1 -1
  118. package/dist/{chunk-6TT5VHUM.js → chunk-HG75MP47.js} +3 -3
  119. package/dist/{chunk-6TT5VHUM.js.map → chunk-HG75MP47.js.map} +1 -1
  120. package/dist/{chunk-W37R3JJ7.js → chunk-ITZ543CK.js} +3 -3
  121. package/dist/{chunk-W37R3JJ7.js.map → chunk-ITZ543CK.js.map} +1 -1
  122. package/dist/{chunk-UA4F3ZR3.js → chunk-JFKHKDSK.js} +4 -4
  123. package/dist/{chunk-UA4F3ZR3.js.map → chunk-JFKHKDSK.js.map} +1 -1
  124. package/dist/{chunk-NBVI4H4K.js → chunk-JXLZTGQN.js} +3 -3
  125. package/dist/{chunk-NBVI4H4K.js.map → chunk-JXLZTGQN.js.map} +1 -1
  126. package/dist/chunk-KLVEKLFL.js +16 -0
  127. package/dist/chunk-KLVEKLFL.js.map +1 -0
  128. package/dist/chunk-KYMWEUN2.js +10 -0
  129. package/dist/chunk-KYMWEUN2.js.map +1 -0
  130. package/dist/{chunk-KSPVQQ7J.js → chunk-LMMDVLAB.js} +5 -5
  131. package/dist/{chunk-KSPVQQ7J.js.map → chunk-LMMDVLAB.js.map} +1 -1
  132. package/dist/{chunk-XNNKW6FA.js → chunk-MWAXFBGG.js} +3 -3
  133. package/dist/{chunk-XNNKW6FA.js.map → chunk-MWAXFBGG.js.map} +1 -1
  134. package/dist/{chunk-DESMKK54.js → chunk-OSYUGCRG.js} +4 -4
  135. package/dist/{chunk-DESMKK54.js.map → chunk-OSYUGCRG.js.map} +1 -1
  136. package/dist/{chunk-6O5EFNDM.js → chunk-OXBMZSKL.js} +4 -4
  137. package/dist/{chunk-6O5EFNDM.js.map → chunk-OXBMZSKL.js.map} +1 -1
  138. package/dist/{chunk-VE34Y3Z3.js → chunk-P43VADN7.js} +3 -3
  139. package/dist/{chunk-VE34Y3Z3.js.map → chunk-P43VADN7.js.map} +1 -1
  140. package/dist/{chunk-PB2K5LRO.js → chunk-PBFLXHKM.js} +3 -3
  141. package/dist/{chunk-PB2K5LRO.js.map → chunk-PBFLXHKM.js.map} +1 -1
  142. package/dist/{chunk-J37FMLCI.js → chunk-R4BPODDJ.js} +3 -3
  143. package/dist/{chunk-J37FMLCI.js.map → chunk-R4BPODDJ.js.map} +1 -1
  144. package/dist/{chunk-THDD2H3C.js → chunk-R73HXW5D.js} +4 -4
  145. package/dist/{chunk-THDD2H3C.js.map → chunk-R73HXW5D.js.map} +1 -1
  146. package/dist/{chunk-YV5VCWQF.js → chunk-S5ZKI3TY.js} +4 -4
  147. package/dist/{chunk-YV5VCWQF.js.map → chunk-S5ZKI3TY.js.map} +1 -1
  148. package/dist/{chunk-ZAVUF234.js → chunk-S7FNMT24.js} +3 -3
  149. package/dist/{chunk-ZAVUF234.js.map → chunk-S7FNMT24.js.map} +1 -1
  150. package/dist/{chunk-MMXLOECO.js → chunk-SAYYMA6E.js} +9 -8
  151. package/dist/chunk-SAYYMA6E.js.map +1 -0
  152. package/dist/{chunk-DE7OXJXT.js → chunk-TK6A4UON.js} +4 -4
  153. package/dist/{chunk-DE7OXJXT.js.map → chunk-TK6A4UON.js.map} +1 -1
  154. package/dist/{chunk-RVPFDYQ2.js → chunk-TVAXTMMQ.js} +3 -3
  155. package/dist/{chunk-RVPFDYQ2.js.map → chunk-TVAXTMMQ.js.map} +1 -1
  156. package/dist/{chunk-BXQZXOFK.js → chunk-TWLJ2RII.js} +11 -9
  157. package/dist/chunk-TWLJ2RII.js.map +1 -0
  158. package/dist/{chunk-B6CGVRJ7.js → chunk-U6EB7GM3.js} +4 -4
  159. package/dist/{chunk-B6CGVRJ7.js.map → chunk-U6EB7GM3.js.map} +1 -1
  160. package/dist/{chunk-F73QPQX7.js → chunk-UXS3QCHM.js} +34 -28
  161. package/dist/chunk-UXS3QCHM.js.map +1 -0
  162. package/dist/{chunk-JLJKIXDT.js → chunk-VFQNVPFH.js} +13 -9
  163. package/dist/chunk-VFQNVPFH.js.map +1 -0
  164. package/dist/chunk-VYGA5AT5.js +27 -0
  165. package/dist/chunk-VYGA5AT5.js.map +1 -0
  166. package/dist/{chunk-3RHCWLJT.js → chunk-WC2ZDV4J.js} +3 -3
  167. package/dist/{chunk-3RHCWLJT.js.map → chunk-WC2ZDV4J.js.map} +1 -1
  168. package/dist/{chunk-ITNE6DTO.js → chunk-YPRSS27D.js} +4 -4
  169. package/dist/{chunk-ITNE6DTO.js.map → chunk-YPRSS27D.js.map} +1 -1
  170. package/dist/components/cart/index.js +2 -1
  171. package/dist/components/cart/lazy.d.ts +3 -3
  172. package/dist/components/cart/lazy.d.ts.map +1 -1
  173. package/dist/components/common/index.js +2 -1
  174. package/dist/components/common/lazy.d.ts +5 -5
  175. package/dist/components/common/lazy.d.ts.map +1 -1
  176. package/dist/components/drawer/index.js +14 -13
  177. package/dist/components/home/index.js +18 -17
  178. package/dist/components/home/lazy.d.ts +1 -1
  179. package/dist/components/home/lazy.d.ts.map +1 -1
  180. package/dist/components/layout/MasterLayout.d.ts.map +1 -1
  181. package/dist/components/layout/index.js +5 -4
  182. package/dist/components/layout/lazy.d.ts +6 -6
  183. package/dist/components/layout/lazy.d.ts.map +1 -1
  184. package/dist/components/live-editor/index.d.ts.map +1 -1
  185. package/dist/components/modal/index.js +2 -1
  186. package/dist/components/modal/lazy.d.ts +1 -1
  187. package/dist/components/modal/lazy.d.ts.map +1 -1
  188. package/dist/components/navigation/lazy.d.ts +2 -2
  189. package/dist/components/navigation/lazy.d.ts.map +1 -1
  190. package/dist/components/product/index.js +15 -14
  191. package/dist/components/product/lazy.d.ts +2 -2
  192. package/dist/components/product/lazy.d.ts.map +1 -1
  193. package/dist/components/store/index.js +15 -14
  194. package/dist/components/store/lazy.d.ts +2 -2
  195. package/dist/components/store/lazy.d.ts.map +1 -1
  196. package/dist/components/tracking/index.js +4 -3
  197. package/dist/components/tracking/index.js.map +1 -1
  198. package/dist/components/tracking/lazy.d.ts +2 -2
  199. package/dist/components/tracking/lazy.d.ts.map +1 -1
  200. package/dist/dev/editor/index.js +1 -1
  201. package/dist/dev/index.js +1 -1
  202. package/dist/{document-class-4JUQ44JX.js → document-class-IGGYSGCU.js} +12 -11
  203. package/dist/{document-class-4JUQ44JX.js.map → document-class-IGGYSGCU.js.map} +1 -1
  204. package/dist/hooks/index.js +14 -13
  205. package/dist/hooks/registerDefaultHooks.d.ts.map +1 -1
  206. package/dist/hooks/useGtm.js +14 -13
  207. package/dist/hooks/useMoney.js +14 -13
  208. package/dist/hooks/useStore.js +14 -13
  209. package/dist/hooks/useUser.js +3 -3
  210. package/dist/index.js +14 -13
  211. package/dist/index.js.map +1 -1
  212. package/dist/{navigation-6KY4HODP.js → navigation-FUHRDRAN.js} +4 -4
  213. package/dist/{navigation-6KY4HODP.js.map → navigation-FUHRDRAN.js.map} +1 -1
  214. package/dist/{navigation-QYWF2VGQ.js → navigation-MJYWGH7A.js} +5 -5
  215. package/dist/{navigation-QYWF2VGQ.js.map → navigation-MJYWGH7A.js.map} +1 -1
  216. package/dist/{not-found-3M6US423.js → not-found-VVI6BXAZ.js} +17 -16
  217. package/dist/not-found-VVI6BXAZ.js.map +1 -0
  218. package/dist/providers/DocumentSyncRegistry.d.ts +3 -3
  219. package/dist/providers/DocumentSyncRegistry.d.ts.map +1 -1
  220. package/dist/providers/index.js +14 -13
  221. package/dist/providers/navigation-setups.d.ts +3 -3
  222. package/dist/providers/navigation-setups.d.ts.map +1 -1
  223. package/dist/routes/account/notifications/index.d.ts +2 -2
  224. package/dist/routes/account/notifications/index.d.ts.map +1 -1
  225. package/dist/routes/account/orders/index.d.ts +4 -4
  226. package/dist/routes/account/orders/index.d.ts.map +1 -1
  227. package/dist/routes/account/orders.js +5 -4
  228. package/dist/routes/account/profile/index.d.ts +2 -2
  229. package/dist/routes/account/profile/index.d.ts.map +1 -1
  230. package/dist/routes/account/settings/index.d.ts +2 -2
  231. package/dist/routes/account/settings/index.d.ts.map +1 -1
  232. package/dist/routes/account/wallet/index.d.ts +2 -2
  233. package/dist/routes/account/wallet/index.d.ts.map +1 -1
  234. package/dist/routes/account/wishlist/index.d.ts +2 -2
  235. package/dist/routes/account/wishlist/index.d.ts.map +1 -1
  236. package/dist/routes/account.js +20 -18
  237. package/dist/routes/account.js.map +1 -1
  238. package/dist/routes/blog/index.d.ts +10 -10
  239. package/dist/routes/blog/index.d.ts.map +1 -1
  240. package/dist/routes/blog.js +15 -13
  241. package/dist/routes/blog.js.map +1 -1
  242. package/dist/routes/brands/index.d.ts +2 -2
  243. package/dist/routes/brands/index.d.ts.map +1 -1
  244. package/dist/routes/brands.js +7 -5
  245. package/dist/routes/brands.js.map +1 -1
  246. package/dist/routes/cart.js +22 -21
  247. package/dist/routes/cart.js.map +1 -1
  248. package/dist/routes/home.js +19 -18
  249. package/dist/routes/index.js +3 -3
  250. package/dist/routes/lazy.d.ts +22 -22
  251. package/dist/routes/lazy.d.ts.map +1 -1
  252. package/dist/routes/loyalty/index.d.ts +4 -4
  253. package/dist/routes/loyalty/index.d.ts.map +1 -1
  254. package/dist/routes/loyalty.js +8 -8
  255. package/dist/routes/loyalty.js.map +1 -1
  256. package/dist/routes/page/index.d.ts +2 -2
  257. package/dist/routes/page/index.d.ts.map +1 -1
  258. package/dist/routes/page.js +7 -5
  259. package/dist/routes/page.js.map +1 -1
  260. package/dist/routes/product-listing.js +20 -19
  261. package/dist/routes/product-listing.js.map +1 -1
  262. package/dist/routes/product.js +18 -17
  263. package/dist/routes/product.js.map +1 -1
  264. package/dist/routes/root/beforeLoad.d.ts +32 -13
  265. package/dist/routes/root/beforeLoad.d.ts.map +1 -1
  266. package/dist/routes/seo-redirects.js +3 -3
  267. package/dist/routes/testimonials/index.d.ts +4 -4
  268. package/dist/routes/testimonials/index.d.ts.map +1 -1
  269. package/dist/routes/testimonials.js +5 -5
  270. package/dist/routes/testimonials.js.map +1 -1
  271. package/dist/routes/thank-you/index.d.ts +2 -2
  272. package/dist/routes/thank-you/index.d.ts.map +1 -1
  273. package/dist/routes/thank-you.js +6 -6
  274. package/dist/routes/thank-you.js.map +1 -1
  275. package/dist/skeleton.js +19 -18
  276. package/dist/{store-lookup-UDGPAAWQ.js → store-lookup-2P7PQVXE.js} +8 -8
  277. package/dist/{store-lookup-UDGPAAWQ.js.map → store-lookup-2P7PQVXE.js.map} +1 -1
  278. package/dist/tanstack/router.d.ts.map +1 -1
  279. package/dist/tanstack.js +12 -11
  280. package/dist/tanstack.js.map +1 -1
  281. package/dist/utils/index.js +2 -2
  282. package/dist/utils/lazy-component.d.ts +26 -0
  283. package/dist/utils/lazy-component.d.ts.map +1 -0
  284. package/package.json +1 -1
  285. package/tailwind/components/cart/lazy.ts.txt +6 -4
  286. package/tailwind/components/common/lazy.ts.txt +6 -6
  287. package/tailwind/components/home/lazy.ts.txt +2 -2
  288. package/tailwind/components/layout/MasterLayout.tsx.txt +5 -4
  289. package/tailwind/components/layout/lazy.ts.txt +11 -7
  290. package/tailwind/components/live-editor/index.tsx.txt +3 -2
  291. package/tailwind/components/modal/lazy.ts.txt +2 -2
  292. package/tailwind/components/navigation/lazy.ts.txt +5 -3
  293. package/tailwind/components/product/lazy.ts.txt +3 -3
  294. package/tailwind/components/store/lazy.ts.txt +3 -3
  295. package/tailwind/components/tracking/lazy.ts.txt +3 -3
  296. package/tailwind/routes/account/notifications/index.tsx.txt +3 -2
  297. package/tailwind/routes/account/orders/index.tsx.txt +6 -3
  298. package/tailwind/routes/account/profile/index.tsx.txt +3 -2
  299. package/tailwind/routes/account/settings/index.tsx.txt +3 -2
  300. package/tailwind/routes/account/wallet/index.tsx.txt +5 -2
  301. package/tailwind/routes/account/wishlist/index.tsx.txt +3 -2
  302. package/tailwind/routes/blog/index.tsx.txt +9 -6
  303. package/tailwind/routes/brands/index.tsx.txt +5 -2
  304. package/tailwind/routes/lazy.ts.txt +23 -23
  305. package/tailwind/routes/loyalty/index.tsx.txt +4 -3
  306. package/tailwind/routes/page/index.tsx.txt +5 -2
  307. package/tailwind/routes/root/beforeLoad.ts.txt +80 -19
  308. package/tailwind/routes/testimonials/index.tsx.txt +4 -3
  309. package/tailwind/routes/thank-you/index.tsx.txt +3 -2
  310. package/dist/AddToCartForm-RG4ANO47.js.map +0 -1
  311. package/dist/BlogAuthorPage-JEYNAFRH.js.map +0 -1
  312. package/dist/BlogCategoryPage-IIAXWMHD.js.map +0 -1
  313. package/dist/BlogPage-NKYICNRT.js.map +0 -1
  314. package/dist/BlogSinglePage-FBO4NQL5.js.map +0 -1
  315. package/dist/BlogTagPage-WZIUPBEM.js.map +0 -1
  316. package/dist/BrandsPage-EN6MZV6T.js.map +0 -1
  317. package/dist/Breadcrumb-COB4TMMI.js.map +0 -1
  318. package/dist/CartItem-SYQZHA2F.js.map +0 -1
  319. package/dist/CartSummary-YQN7N6JW.js.map +0 -1
  320. package/dist/Copyright-II2URAIP.js.map +0 -1
  321. package/dist/CustomerLayout-75NK34WK.js.map +0 -1
  322. package/dist/LoyaltyPage-R4KWVGLW.js.map +0 -1
  323. package/dist/LoyaltyPointsPage-L7HG54RQ.js.map +0 -1
  324. package/dist/MainMenu-KI4BAA7W.js.map +0 -1
  325. package/dist/MobileMenu-LJXKYKRI.js.map +0 -1
  326. package/dist/NotificationsPage-4TUPN24E.js.map +0 -1
  327. package/dist/OrderSinglePage-N3YGXCKL.js.map +0 -1
  328. package/dist/OrdersPage-V3WNW2WZ.js.map +0 -1
  329. package/dist/PageSingle-H5YA47EG.js.map +0 -1
  330. package/dist/ProductDetails-EHRMQR7F.js.map +0 -1
  331. package/dist/ProfilePage-3GRY4RSA.js.map +0 -1
  332. package/dist/ReviewsPage-SPHK5MCS.js.map +0 -1
  333. package/dist/SeoCartWidget-P2QQ62AF.js.map +0 -1
  334. package/dist/SettingsPage-YFN32XOV.js.map +0 -1
  335. package/dist/TestimonialsPage-4W6SXN24.js.map +0 -1
  336. package/dist/ThankYouPage-56AIK3QG.js.map +0 -1
  337. package/dist/WalletPage-FLB4OCK4.js.map +0 -1
  338. package/dist/WishlistPage-H6KGJYRT.js.map +0 -1
  339. package/dist/chunk-7V5HOZW4.js +0 -10
  340. package/dist/chunk-7V5HOZW4.js.map +0 -1
  341. package/dist/chunk-BXQZXOFK.js.map +0 -1
  342. package/dist/chunk-DIA2LU6I.js.map +0 -1
  343. package/dist/chunk-EDK4U4WQ.js.map +0 -1
  344. package/dist/chunk-F73QPQX7.js.map +0 -1
  345. package/dist/chunk-IZ4MRCNY.js +0 -14
  346. package/dist/chunk-IZ4MRCNY.js.map +0 -1
  347. package/dist/chunk-JLJKIXDT.js.map +0 -1
  348. package/dist/chunk-MMXLOECO.js.map +0 -1
  349. package/dist/chunk-SDJVSRTL.js +0 -21
  350. package/dist/chunk-SDJVSRTL.js.map +0 -1
  351. package/dist/chunk-TUIB74QX.js.map +0 -1
  352. package/dist/chunk-V4E6JFS4.js.map +0 -1
  353. package/dist/not-found-3M6US423.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { type FC, type LazyExoticComponent } from 'react';
1
+ import type { ComponentType } from 'react';
2
2
  /**
3
3
  * Registry for framework-specific document sync components.
4
4
  * Each framework (tanstack, nextjs, etc.) can register its own sync component.
@@ -11,10 +11,10 @@ import { type FC, type LazyExoticComponent } from 'react';
11
11
  * registerDocumentSync('my-framework', lazy(() => import('./my-document-sync')));
12
12
  * ```
13
13
  */
14
- export declare const routeDocumentSyncs: Record<string, LazyExoticComponent<FC>>;
14
+ export declare const routeDocumentSyncs: Record<string, ComponentType>;
15
15
  /**
16
16
  * Register a framework-specific document sync component.
17
17
  * Convenience function for adding new frameworks to the registry.
18
18
  */
19
- export declare function registerDocumentSync(framework: string, component: LazyExoticComponent<FC>): void;
19
+ export declare function registerDocumentSync(framework: string, component: ComponentType): void;
20
20
  //# sourceMappingURL=DocumentSyncRegistry.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DocumentSyncRegistry.d.ts","sourceRoot":"","sources":["../../src/providers/DocumentSyncRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,EAAE,EAAE,KAAK,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEhE;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,EAAE,CAAC,CAQtE,CAAC;AAEF;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,mBAAmB,CAAC,EAAE,CAAC,GAAG,IAAI,CAEhG"}
1
+ {"version":3,"file":"DocumentSyncRegistry.d.ts","sourceRoot":"","sources":["../../src/providers/DocumentSyncRegistry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG3C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAQ5D,CAAC;AAEF;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,GAAG,IAAI,CAEtF"}
@@ -1,23 +1,23 @@
1
- export { TwilightProvider, registerDocumentSync, routeDocumentSyncs } from '../chunk-F73QPQX7.js';
1
+ export { TwilightProvider, registerDocumentSync, routeDocumentSyncs } from '../chunk-UXS3QCHM.js';
2
2
  import '../chunk-H2QBHOF2.js';
3
- import '../chunk-JLJKIXDT.js';
4
- import '../chunk-UA4F3ZR3.js';
3
+ import '../chunk-VFQNVPFH.js';
4
+ import '../chunk-JFKHKDSK.js';
5
5
  import '../chunk-N6ZE6HUX.js';
6
6
  import '../chunk-X55R4VVK.js';
7
- import '../chunk-ZAVUF234.js';
7
+ import '../chunk-S7FNMT24.js';
8
8
  import '../chunk-OXMUPNMH.js';
9
- import '../chunk-6TT5VHUM.js';
9
+ import '../chunk-HG75MP47.js';
10
10
  import '../chunk-VVZNW5CB.js';
11
11
  import '../chunk-WQPG22DY.js';
12
12
  import '../chunk-GD26FI4J.js';
13
13
  import '../chunk-Q7E4TNN7.js';
14
14
  import '../chunk-RYGEIQWO.js';
15
- export { NavigationInterceptor, NavigationProvider, NotFoundError, RedirectError, UnauthorizedError, configureNavigation, notFound, orThrow, orUnauthorized, redirect, unauthorized, useIsBlog, useIsBrands, useIsCart, useIsCustomer, useIsHome, useIsProduct, useIsSearch, useLocation, useNavigate, useRouteId } from '../chunk-W37R3JJ7.js';
15
+ export { NavigationInterceptor, NavigationProvider, NotFoundError, RedirectError, UnauthorizedError, configureNavigation, notFound, orThrow, orUnauthorized, redirect, unauthorized, useIsBlog, useIsBrands, useIsCart, useIsCustomer, useIsHome, useIsProduct, useIsSearch, useLocation, useNavigate, useRouteId } from '../chunk-ITZ543CK.js';
16
16
  export { RouteId } from '../chunk-OUW6WESU.js';
17
17
  import '../chunk-HOJ5E2PG.js';
18
18
  import '../chunk-HI5V5X3S.js';
19
- import '../chunk-F324WS4B.js';
20
- import '../chunk-RVPFDYQ2.js';
19
+ import '../chunk-5FEFYFTS.js';
20
+ import '../chunk-TVAXTMMQ.js';
21
21
  import '../chunk-MVT5AF2A.js';
22
22
  import '../chunk-Z653O7MX.js';
23
23
  import '../chunk-ZCH7W7DZ.js';
@@ -28,22 +28,22 @@ import '../chunk-7V36I5GT.js';
28
28
  import '../chunk-6WI7R2BD.js';
29
29
  import '../chunk-LFHYQ6AN.js';
30
30
  import '../chunk-OAMIDZKW.js';
31
- import '../chunk-PB2K5LRO.js';
31
+ import '../chunk-PBFLXHKM.js';
32
32
  import '../chunk-OQIIJRAS.js';
33
33
  import '../chunk-V2ZDTY6H.js';
34
- import '../chunk-XNNKW6FA.js';
34
+ import '../chunk-MWAXFBGG.js';
35
35
  import '../chunk-5XDPAKF5.js';
36
36
  import '../chunk-GCPEMNSU.js';
37
- import '../chunk-RYAOXNRA.js';
37
+ import '../chunk-5MNGLNIJ.js';
38
38
  import '../chunk-Z5M4YYWT.js';
39
39
  import '../chunk-TYNZ5B2B.js';
40
- import '../chunk-BXQZXOFK.js';
40
+ import '../chunk-TWLJ2RII.js';
41
41
  import '../chunk-AXW67SY7.js';
42
42
  export { LinkProvider, LinkProviderError, createLinkWithAdapter, useLinkAdapter } from '../chunk-BYMOPN2S.js';
43
43
  import '../chunk-SKLEJJ6M.js';
44
44
  import '../chunk-6BZ5TKEV.js';
45
45
  import '../chunk-FZKRSGLP.js';
46
- import '../chunk-7V5HOZW4.js';
46
+ import '../chunk-KYMWEUN2.js';
47
47
  import '../chunk-YA6ABQB7.js';
48
48
  import '../chunk-MWYKP7CI.js';
49
49
  import '../chunk-3E3ABCPC.js';
@@ -52,6 +52,7 @@ import '../chunk-FXVII733.js';
52
52
  export { SettingsError } from '../chunk-6K34BCUP.js';
53
53
  import '../chunk-T72DAX7R.js';
54
54
  export { useTwilight } from '../chunk-DF6FBKDN.js';
55
+ import '../chunk-VYGA5AT5.js';
55
56
  import '../chunk-DGUM43GV.js';
56
57
  //# sourceMappingURL=index.js.map
57
58
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
- import { type LazyExoticComponent, type FC, type ReactNode } from 'react';
2
- export declare const navigationSetups: Record<string, LazyExoticComponent<FC<{
1
+ import { type ComponentType, type ReactNode } from 'react';
2
+ export declare const navigationSetups: Record<string, ComponentType<{
3
3
  children: ReactNode;
4
- }>>>;
4
+ }>>;
5
5
  //# sourceMappingURL=navigation-setups.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"navigation-setups.d.ts","sourceRoot":"","sources":["../../src/providers/navigation-setups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,mBAAmB,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhF,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAAC,CAAC,CAK7F,CAAC"}
1
+ {"version":3,"file":"navigation-setups.d.ts","sourceRoot":"","sources":["../../src/providers/navigation-setups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGjE,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAAC,CAMnF,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { HeadDescriptor } from '../../../utils/head';
2
2
  import type { NotificationsPageProps } from './types';
3
3
  import type { TwilightContext } from '../../../twilight/context';
4
- export declare const NotificationsPage: import("react").LazyExoticComponent<typeof import("./NotificationsPage").NotificationsPage>;
4
+ export declare const NotificationsPage: import("../../../utils/lazy-component").LazyComponent<typeof import("./NotificationsPage").NotificationsPage>;
5
5
  export { notificationsLoader } from './loader';
6
6
  export type { NotificationsPageProps, Notification } from './types';
7
7
  export declare const Notifications: {
@@ -12,6 +12,6 @@ export declare const Notifications: {
12
12
  params: Record<string, never>;
13
13
  }) => Promise<Record<string, unknown>> | Record<string, unknown>) => Promise<NotificationsPageProps>;
14
14
  readonly head: (ctx: TwilightContext, data: NotificationsPageProps) => HeadDescriptor;
15
- readonly Component: import("react").LazyExoticComponent<typeof import("./NotificationsPage").NotificationsPage>;
15
+ readonly Component: import("../../../utils/lazy-component").LazyComponent<typeof import("./NotificationsPage").NotificationsPage>;
16
16
  };
17
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/routes/account/notifications/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAI1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAOjE,eAAO,MAAM,iBAAiB,6FAAwB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,YAAY,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEpE,eAAO,MAAM,aAAa;;4BAGhB;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,WAChB,CACP,IAAI,EAAE,sBAAsB,EAC5B,GAAG,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;KAAE,KACnC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC9D,OAAO,CAAC,sBAAsB,CAAC;yBAQtB,eAAe,QAAQ,sBAAsB,KAAG,cAAc;;CAMlE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/routes/account/notifications/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAI1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAQjE,eAAO,MAAM,iBAAiB,+GAAwB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC/C,YAAY,EAAE,sBAAsB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEpE,eAAO,MAAM,aAAa;;4BAGhB;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,WAChB,CACP,IAAI,EAAE,sBAAsB,EAC5B,GAAG,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;KAAE,KACnC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC9D,OAAO,CAAC,sBAAsB,CAAC;yBAQtB,eAAe,QAAQ,sBAAsB,KAAG,cAAc;;CAMlE,CAAC"}
@@ -2,8 +2,8 @@ import type { HeadDescriptor } from '../../../utils/head';
2
2
  import type { OrdersPageProps, OrderSinglePageProps, OrdersSearchParams } from './types';
3
3
  import type { IdParams } from '../../types';
4
4
  import type { TwilightContext } from '../../../twilight/context';
5
- export declare const OrdersPage: import("react").LazyExoticComponent<typeof import("./OrdersPage").OrdersPage>;
6
- export declare const OrderSinglePage: import("react").LazyExoticComponent<typeof import("./OrderSinglePage").OrderSinglePage>;
5
+ export declare const OrdersPage: import("../../../utils/lazy-component").LazyComponent<typeof import("./OrdersPage").OrdersPage>;
6
+ export declare const OrderSinglePage: import("../../../utils/lazy-component").LazyComponent<typeof import("./OrderSinglePage").OrderSinglePage>;
7
7
  export { ordersLoader, orderSingleLoader } from './loader';
8
8
  export type { OrdersPageProps, OrderSinglePageProps, OrdersSearchParams, OrdersQuery, } from './types';
9
9
  declare function ordersLoaderWithExtend(ctx: {
@@ -25,12 +25,12 @@ export declare const Orders: {
25
25
  readonly id: "customer.orders.index";
26
26
  readonly loader: typeof ordersLoaderWithExtend;
27
27
  readonly head: typeof ordersHead;
28
- readonly Component: import("react").LazyExoticComponent<typeof import("./OrdersPage").OrdersPage>;
28
+ readonly Component: import("../../../utils/lazy-component").LazyComponent<typeof import("./OrdersPage").OrdersPage>;
29
29
  };
30
30
  export declare const OrderSingle: {
31
31
  readonly id: "customer.orders.single";
32
32
  readonly loader: typeof orderSingleLoaderWithExtend;
33
33
  readonly head: typeof orderSingleHead;
34
- readonly Component: import("react").LazyExoticComponent<typeof import("./OrderSinglePage").OrderSinglePage>;
34
+ readonly Component: import("../../../utils/lazy-component").LazyComponent<typeof import("./OrderSinglePage").OrderSinglePage>;
35
35
  };
36
36
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/routes/account/orders/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAI1D,OAAO,KAAK,EAAE,eAAe,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AACzF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AASjE,eAAO,MAAM,UAAU,+EAAiB,CAAC;AACzC,eAAO,MAAM,eAAe,yFAAsB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC3D,YAAY,EACV,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EAClB,WAAW,GACZ,MAAM,SAAS,CAAC;AAEjB,iBAAe,sBAAsB,CACnC,GAAG,EAAE;IAAE,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,OA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AAO,MAAM,MAAM;;;;;CAKT,CAAC;AACX,eAAO,MAAM,WAAW;;;;;CAKd,CAAC"}
@@ -1,9 +1,9 @@
1
- export { OrderSingle, OrderSinglePage, Orders, OrdersPage, orderSingleLoader, ordersLoader } from '../../chunk-DIA2LU6I.js';
2
- import '../../chunk-NZ6REC6S.js';
1
+ export { OrderSingle, OrderSinglePage, Orders, OrdersPage, orderSingleLoader, ordersLoader } from '../../chunk-CJZ3MJ3Y.js';
2
+ import '../../chunk-GJFK3SU5.js';
3
3
  import '../../chunk-RYGEIQWO.js';
4
- import '../../chunk-W37R3JJ7.js';
4
+ import '../../chunk-ITZ543CK.js';
5
5
  import '../../chunk-OUW6WESU.js';
6
- import '../../chunk-RYAOXNRA.js';
6
+ import '../../chunk-5MNGLNIJ.js';
7
7
  import '../../chunk-Z5M4YYWT.js';
8
8
  import '../../chunk-3E3ABCPC.js';
9
9
  import '../../chunk-NHA4SBKG.js';
@@ -11,6 +11,7 @@ import '../../chunk-FXVII733.js';
11
11
  import '../../chunk-6K34BCUP.js';
12
12
  import '../../chunk-T72DAX7R.js';
13
13
  import '../../chunk-DF6FBKDN.js';
14
+ import '../../chunk-VYGA5AT5.js';
14
15
  import '../../chunk-DGUM43GV.js';
15
16
  //# sourceMappingURL=orders.js.map
16
17
  //# sourceMappingURL=orders.js.map
@@ -1,7 +1,7 @@
1
1
  import type { HeadDescriptor } from '../../../utils/head';
2
2
  import type { ProfilePageProps } from './types';
3
3
  import type { TwilightContext } from '../../../twilight/context';
4
- export declare const ProfilePage: import("react").LazyExoticComponent<typeof import("./ProfilePage").ProfilePage>;
4
+ export declare const ProfilePage: import("../../../utils/lazy-component").LazyComponent<typeof import("./ProfilePage").ProfilePage>;
5
5
  export { profileLoader } from './loader';
6
6
  export type { ProfilePageProps } from './types';
7
7
  export declare const Profile: {
@@ -12,6 +12,6 @@ export declare const Profile: {
12
12
  params: Record<string, never>;
13
13
  }) => Promise<Record<string, unknown>> | Record<string, unknown>) => Promise<ProfilePageProps>;
14
14
  readonly head: (ctx: TwilightContext, data: ProfilePageProps) => HeadDescriptor;
15
- readonly Component: import("react").LazyExoticComponent<typeof import("./ProfilePage").ProfilePage>;
15
+ readonly Component: import("../../../utils/lazy-component").LazyComponent<typeof import("./ProfilePage").ProfilePage>;
16
16
  };
17
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/routes/account/profile/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAI1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAOjE,eAAO,MAAM,WAAW,iFAAkB,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,OAAO;;4BAGV;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,WAChB,CACP,IAAI,EAAE,gBAAgB,EACtB,GAAG,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;KAAE,KACnC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC9D,OAAO,CAAC,gBAAgB,CAAC;yBAQhB,eAAe,QAAQ,gBAAgB,KAAG,cAAc;;CAM5D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/routes/account/profile/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAI1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAQjE,eAAO,MAAM,WAAW,mGAAkB,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,OAAO;;4BAGV;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,WAChB,CACP,IAAI,EAAE,gBAAgB,EACtB,GAAG,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;KAAE,KACnC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC9D,OAAO,CAAC,gBAAgB,CAAC;yBAQhB,eAAe,QAAQ,gBAAgB,KAAG,cAAc;;CAM5D,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import type { HeadDescriptor } from '../../../utils/head';
2
2
  import type { SettingsPageProps } from './types';
3
3
  import type { TwilightContext } from '../../../twilight/context';
4
- export declare const SettingsPage: import("react").LazyExoticComponent<typeof import("./SettingsPage").SettingsPage>;
4
+ export declare const SettingsPage: import("../../../utils/lazy-component").LazyComponent<typeof import("./SettingsPage").SettingsPage>;
5
5
  export { settingsLoader } from './loader';
6
6
  export type { SettingsPageProps } from './types';
7
7
  export declare const Settings: {
@@ -12,6 +12,6 @@ export declare const Settings: {
12
12
  params: Record<string, never>;
13
13
  }) => Promise<Record<string, unknown>> | Record<string, unknown>) => Promise<SettingsPageProps>;
14
14
  readonly head: (ctx: TwilightContext, data: SettingsPageProps) => HeadDescriptor;
15
- readonly Component: import("react").LazyExoticComponent<typeof import("./SettingsPage").SettingsPage>;
15
+ readonly Component: import("../../../utils/lazy-component").LazyComponent<typeof import("./SettingsPage").SettingsPage>;
16
16
  };
17
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/routes/account/settings/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAI1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAOjE,eAAO,MAAM,YAAY,mFAAmB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,eAAO,MAAM,QAAQ;;4BAGX;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,WAChB,CACP,IAAI,EAAE,iBAAiB,EACvB,GAAG,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;KAAE,KACnC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC9D,OAAO,CAAC,iBAAiB,CAAC;yBAQjB,eAAe,QAAQ,iBAAiB,KAAG,cAAc;;CAM7D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/routes/account/settings/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAI1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAQjE,eAAO,MAAM,YAAY,qGAAmB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,eAAO,MAAM,QAAQ;;4BAGX;QAAE,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,WAChB,CACP,IAAI,EAAE,iBAAiB,EACvB,GAAG,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;KAAE,KACnC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC9D,OAAO,CAAC,iBAAiB,CAAC;yBAQjB,eAAe,QAAQ,iBAAiB,KAAG,cAAc;;CAM7D,CAAC"}
@@ -2,7 +2,7 @@ import type { HeadDescriptor } from '../../../utils/head';
2
2
  import type { WalletPageProps } from './types';
3
3
  import type { LoaderContext } from '../../types';
4
4
  import type { TwilightContext } from '../../../twilight/context';
5
- export declare const WalletPage: import("react").LazyExoticComponent<typeof import("./WalletPage").WalletPage>;
5
+ export declare const WalletPage: import("../../../utils/lazy-component").LazyComponent<typeof import("./WalletPage").WalletPage>;
6
6
  export { walletLoader } from './loader';
7
7
  export type { WalletPageProps } from './types';
8
8
  export declare const Wallet: {
@@ -11,6 +11,6 @@ export declare const Wallet: {
11
11
  params: Record<string, never>;
12
12
  }) => Promise<Record<string, unknown>> | Record<string, unknown>) => Promise<WalletPageProps>;
13
13
  readonly head: (ctx: TwilightContext, data: WalletPageProps) => HeadDescriptor;
14
- readonly Component: import("react").LazyExoticComponent<typeof import("./WalletPage").WalletPage>;
14
+ readonly Component: import("../../../utils/lazy-component").LazyComponent<typeof import("./WalletPage").WalletPage>;
15
15
  };
16
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/routes/account/wallet/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAI1D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2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AAe,KAAG,cAAc;;CAM3D,CAAC"}
@@ -2,7 +2,7 @@ import type { HeadDescriptor } from '../../../utils/head';
2
2
  import type { WishlistPageProps } from './types';
3
3
  import type { LoaderContext } from '../../types';
4
4
  import type { TwilightContext } from '../../../twilight/context';
5
- export declare const WishlistPage: import("react").LazyExoticComponent<typeof import("./WishlistPage").WishlistPage>;
5
+ export declare const WishlistPage: import("../../../utils/lazy-component").LazyComponent<typeof import("./WishlistPage").WishlistPage>;
6
6
  export { wishlistLoader } from './loader';
7
7
  export type { WishlistPageProps } from './types';
8
8
  export declare const Wishlist: {
@@ -11,6 +11,6 @@ export declare const Wishlist: {
11
11
  params: Record<string, never>;
12
12
  }) => Promise<Record<string, unknown>> | Record<string, unknown>) => Promise<WishlistPageProps>;
13
13
  readonly head: (ctx: TwilightContext, data: WishlistPageProps) => HeadDescriptor;
14
- readonly Component: import("react").LazyExoticComponent<typeof import("./WishlistPage").WishlistPage>;
14
+ readonly Component: import("../../../utils/lazy-component").LazyComponent<typeof import("./WishlistPage").WishlistPage>;
15
15
  };
16
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/routes/account/wishlist/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAI1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAOjE,eAAO,MAAM,YAAY,mFAAmB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,eAAO,MAAM,QAAQ;;2BAGZ,aAAa,WACT,CACP,IAAI,EAAE,iBAAiB,EACvB,GAAG,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;KAAE,KACnC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC9D,OAAO,CAAC,iBAAiB,CAAC;yBAQjB,eAAe,QAAQ,iBAAiB,KAAG,cAAc;;CAM7D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/routes/account/wishlist/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAI1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAQjE,eAAO,MAAM,YAAY,qGAAmB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,eAAO,MAAM,QAAQ;;2BAGZ,aAAa,WACT,CACP,IAAI,EAAE,iBAAiB,EACvB,GAAG,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAA;KAAE,KACnC,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC9D,OAAO,CAAC,iBAAiB,CAAC;yBAQjB,eAAe,QAAQ,iBAAiB,KAAG,cAAc;;CAM7D,CAAC"}
@@ -1,13 +1,13 @@
1
- import { wallet } from '../chunk-NBVI4H4K.js';
2
- export { OrderSingle, OrderSinglePage, Orders, OrdersPage, orderSingleLoader, ordersLoader } from '../chunk-DIA2LU6I.js';
3
- import '../chunk-NZ6REC6S.js';
4
- import { notification } from '../chunk-3RHCWLJT.js';
5
- import { wishlist } from '../chunk-DE7OXJXT.js';
6
- import '../chunk-B6CGVRJ7.js';
1
+ import { wallet } from '../chunk-JXLZTGQN.js';
2
+ export { OrderSingle, OrderSinglePage, Orders, OrdersPage, orderSingleLoader, ordersLoader } from '../chunk-CJZ3MJ3Y.js';
3
+ import '../chunk-GJFK3SU5.js';
4
+ import { notification } from '../chunk-WC2ZDV4J.js';
5
+ import { wishlist } from '../chunk-TK6A4UON.js';
6
+ import '../chunk-U6EB7GM3.js';
7
7
  import { buildHreflangAlternates } from '../chunk-RYGEIQWO.js';
8
- import { unauthorized, orUnauthorized } from '../chunk-W37R3JJ7.js';
8
+ import { unauthorized, orUnauthorized } from '../chunk-ITZ543CK.js';
9
9
  import { RouteId } from '../chunk-OUW6WESU.js';
10
- import { getAuthToken } from '../chunk-RYAOXNRA.js';
10
+ import { getAuthToken } from '../chunk-5MNGLNIJ.js';
11
11
  import '../chunk-Z5M4YYWT.js';
12
12
  import '../chunk-3E3ABCPC.js';
13
13
  import '../chunk-NHA4SBKG.js';
@@ -15,8 +15,8 @@ import '../chunk-FXVII733.js';
15
15
  import { getTwilightContext } from '../chunk-6K34BCUP.js';
16
16
  import '../chunk-T72DAX7R.js';
17
17
  import '../chunk-DF6FBKDN.js';
18
+ import { lazyComponent } from '../chunk-VYGA5AT5.js';
18
19
  import '../chunk-DGUM43GV.js';
19
- import { lazy } from 'react';
20
20
 
21
21
  // src/routes/account/profile/loader.ts
22
22
  async function profileLoader(_ctx) {
@@ -31,8 +31,8 @@ async function profileLoader(_ctx) {
31
31
  }
32
32
 
33
33
  // src/routes/account/profile/index.tsx
34
- var LazyProfilePage = lazy(
35
- () => import('../ProfilePage-3GRY4RSA.js').then((m) => ({ default: m.ProfilePage }))
34
+ var LazyProfilePage = lazyComponent(
35
+ () => import('../ProfilePage-4VSU6H3S.js').then((m) => ({ default: m.ProfilePage }))
36
36
  );
37
37
  var ProfilePage = LazyProfilePage;
38
38
  var Profile = {
@@ -73,8 +73,8 @@ async function wishlistLoader(ctx) {
73
73
  }
74
74
 
75
75
  // src/routes/account/wishlist/index.tsx
76
- var LazyWishlistPage = lazy(
77
- () => import('../WishlistPage-H6KGJYRT.js').then((m) => ({ default: m.WishlistPage }))
76
+ var LazyWishlistPage = lazyComponent(
77
+ () => import('../WishlistPage-GFOKEWL3.js').then((m) => ({ default: m.WishlistPage }))
78
78
  );
79
79
  var WishlistPage = LazyWishlistPage;
80
80
  var Wishlist = {
@@ -116,7 +116,9 @@ async function walletLoader(ctx) {
116
116
  }
117
117
 
118
118
  // src/routes/account/wallet/index.tsx
119
- var LazyWalletPage = lazy(() => import('../WalletPage-FLB4OCK4.js').then((m) => ({ default: m.WalletPage })));
119
+ var LazyWalletPage = lazyComponent(
120
+ () => import('../WalletPage-NG2DJAUE.js').then((m) => ({ default: m.WalletPage }))
121
+ );
120
122
  var WalletPage = LazyWalletPage;
121
123
  var Wallet = {
122
124
  id: RouteId.CUSTOMER_WALLET,
@@ -151,8 +153,8 @@ async function notificationsLoader(_ctx) {
151
153
  }
152
154
 
153
155
  // src/routes/account/notifications/index.tsx
154
- var LazyNotificationsPage = lazy(
155
- () => import('../NotificationsPage-4TUPN24E.js').then((m) => ({ default: m.NotificationsPage }))
156
+ var LazyNotificationsPage = lazyComponent(
157
+ () => import('../NotificationsPage-C373Z2KC.js').then((m) => ({ default: m.NotificationsPage }))
156
158
  );
157
159
  var NotificationsPage = LazyNotificationsPage;
158
160
  var Notifications = {
@@ -184,8 +186,8 @@ async function settingsLoader(_ctx) {
184
186
  }
185
187
 
186
188
  // src/routes/account/settings/index.tsx
187
- var LazySettingsPage = lazy(
188
- () => import('../SettingsPage-YFN32XOV.js').then((m) => ({ default: m.SettingsPage }))
189
+ var LazySettingsPage = lazyComponent(
190
+ () => import('../SettingsPage-2JHRIGFS.js').then((m) => ({ default: m.SettingsPage }))
189
191
  );
190
192
  var SettingsPage = LazySettingsPage;
191
193
  var Settings = {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/routes/account/profile/loader.ts","../../src/routes/account/profile/index.tsx","../../src/routes/account/wishlist/loader.ts","../../src/routes/account/wishlist/index.tsx","../../src/routes/account/wallet/loader.ts","../../src/routes/account/wallet/index.tsx","../../src/routes/account/notifications/loader.ts","../../src/routes/account/notifications/index.tsx","../../src/routes/account/settings/loader.ts","../../src/routes/account/settings/index.tsx"],"names":["lazy"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAMA,eAAsB,cAAc,IAAA,EAAqD;AACvF,EAAA,IAAI,CAAC,YAAA,EAAa,EAAG,MAAM,YAAA,EAAa;AACxC,EAAA,MAAM,EAAE,IAAA,EAAK,GAAI,kBAAA,EAAmB;AACpC,EAAA,OAAO;AAAA,IACL,IAAA,EAAM;AAAA,MACJ,KAAA,EAAO,IAAA,CAAK,CAAA,CAAE,uBAAuB,CAAA,IAAK,SAAA;AAAA,MAC1C,MAAM,OAAA,CAAQ;AAAA;AAChB,GACF;AACF;;;ACPA,IAAM,eAAA,GAAkB,IAAA;AAAA,EAAK,MAC3B,OAAO,4BAAe,CAAA,CAAE,IAAA,CAAK,CAAC,CAAA,MAAO,EAAE,OAAA,EAAS,CAAA,CAAE,WAAA,EAAY,CAAE;AAClE,CAAA;AAEO,IAAM,WAAA,GAAc;AAIpB,IAAM,OAAA,GAAU;AAAA,EACrB,IAAI,OAAA,CAAQ,gBAAA;AAAA,EACZ,MAAA,EAAQ,OACN,IAAA,EACA,MAAA,KAI8B;AAC9B,IAAA,MAAM,IAAA,GAAO,MAAM,aAAA,CAAc,EAAE,QAAQ,IAAA,CAAK,MAAA,IAAU,MAAM,CAAA;AAChE,IAAA,IAAI,MAAA,EAAQ;AACV,MAAA,MAAM,KAAA,GAAQ,MAAM,MAAA,CAAO,IAAA,EAAM,EAAE,MAAA,EAAQ,IAAI,CAAA;AAC/C,MAAA,OAAO,EAAE,GAAG,IAAA,EAAM,GAAG,KAAA,EAAM;AAAA,IAC7B;AACA,IAAA,O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ACxC,EAAA,MAAM,EAAE,IAAA,EAAK,GAAI,kBAAA,EAAmB;AACpC,EAAA,OAAO;AAAA;AAAA,IAEL,IAAA,EAAM,EAAE,KAAA,EAAO,IAAA,CAAK,EAAE,wBAAwB,CAAA,IAAK,UAAA,EAAY,IAAA,EAAM,mBAAA;AAAoB,GAC3F;AACF;;;ACJA,IAAM,gBAAA,GAAmBA,IAAAA;AAAA,EAAK,MAC5B,OAAO,6BAAgB,CAAA,CAAE,IAAA,CAAK,CAAC,CAAA,MAAO,EAAE,OAAA,EAAS,CAAA,CAAE,YAAA,EAAa,CAAE;AACpE,CAAA;AAEO,IAAM,YAAA,GAAe;AAIrB,IAAM,QAAA,GAAW;AAAA,EACtB,IAAI,OAAA,CAAQ,iBAAA;AAAA,EACZ,MAAA,EAAQ,OACN,IAAA,EACA,MAAA,KAI+B;AAC/B,IAAA,MAAM,IAAA,GAAO,MAAM,cAAA,CAAe,EAAE,QAAQ,IAAA,CAAK,MAAA,IAAU,MAAM,CAAA;AACjE,IAAA,IAAI,MAAA,EAAQ;AACV,MAAA,MAAM,KAAA,GAAQ,MAAM,MAAA,CAAO,IAAA,EAAM,EAAE,MAAA,EAAQ,IAAI,CAAA;AAC/C,MAAA,OAAO,EAAE,GAAG,IAAA,EAAM,GAAG,KAAA,EAAM;AAAA,IAC7B;AACA,IAAA,OAAO,IAAA;AAAA,EACT,CAAA;AAAA,EACA,IAAA,EAAM,CAAC,GAAA,EAAsB,IAAA,MAA6C;AAAA,IACxE,KAAA,EAAO,KAAK,IAAA,CAAK,KAAA;AAAA,IACjB,WAAA,EAAa,KAAK,IAAA,CAAK,WAAA;AAAA,IACvB,oBAAoB,uBAAA,CAAwB,GAAA,CAAI,QAAA,EAAU,GAAA,CAAI,SAAS,QAAQ;AAAA,GACjF,CAAA;AAAA,EACA,SAAA,EAAW;AACb","file":"account.js","sourcesContent":["import type { ProfilePageProps } from './types';\nimport { getTwilightContext } from '../../../twilight/context';\nimport { unauthorized } from '../../../providers/NavigationProvider';\nimport { getAuthToken } from '../../../api/client';\nimport { RouteId } from '../../../router/route-ids';\n\nexport async function profileLoader(_ctx: { locale: string }): Promise<ProfilePageProps> {\n if (!getAuthToken()) throw unauthorized();\n const { i18n } = getTwilightContext();\n return {\n page: {\n title: i18n.t('common.titles.profile') || 'Profile',\n slug: RouteId.CUSTOMER_PROFILE,\n },\n };\n}\n","import type { HeadDescriptor } from '../../../utils/head';\nimport { buildHreflangAlternates } from '../../../utils/baseHead';\nimport { lazy } from 'react';\nimport { profileLoader } from './loader';\nimport type { ProfilePageProps } from './types';\nimport type { TwilightContext } from '../../../twilight/context';\nimport { RouteId } from '../../../router/route-ids';\n\nconst LazyProfilePage = lazy(() =>\n import('./ProfilePage').then((m) => ({ default: m.ProfilePage }))\n);\n\nexport const ProfilePage = LazyProfilePage;\nexport { profileLoader } from './loader';\nexport type { ProfilePageProps } from './types';\n\nexport const Profile = {\n id: RouteId.CUSTOMER_PROFILE,\n loader: async (\n _ctx: { locale?: string },\n extend?: (\n data: ProfilePageProps,\n ctx: { params: Record<string, never> }\n ) => Promise<Record<string, unknown>> | Record<string, unknown>\n ): Promise<ProfilePageProps> => {\n const data = await profileLoader({ locale: _ctx.locale ?? 'ar' });\n if (extend) {\n const extra = await extend(data, { params: {} });\n return { ...data, ...extra } as ProfilePageProps;\n }\n return data;\n },\n head: (ctx: TwilightContext, data: ProfilePageProps): HeadDescriptor => ({\n title: data.page.title,\n description: data.page.description,\n alternateLanguages: buildHreflangAlternates(ctx.settings, ctx.location.pathname),\n }),\n Component: LazyProfilePage,\n} as const;\n","import type { WishlistPageProps } from './types';\nimport type { LoaderContext } from '../../types';\nimport { wishlist } from '../../../api/wishlist';\nimport { getTwilightContext } from '../../../twilight/context';\nimport { orUnauthorized, unauthorized } from '../../../providers/NavigationProvider';\nimport { getAuthToken } from '../../../api/client';\nimport { RouteId } from '../../../router/route-ids';\n\nexport async function wishlistLoader(ctx: LoaderContext): Promise<WishlistPageProps> {\n if (!getAuthToken()) throw unauthorized();\n const pageNum = Number(ctx.search?.page) || 1;\n const data = await orUnauthorized(wishlist.list({ page: pageNum }));\n\n const i18n = getTwilightContext().i18n;\n return {\n page: {\n title: i18n.t('common.titles.wishlist') || 'Wishlist',\n slug: RouteId.CUSTOMER_WISHLIST,\n },\n query: { page: pageNum },\n products: data.items,\n pagination: {\n next: data.next,\n },\n };\n}\n","import type { HeadDescriptor } from '../../../utils/head';\nimport { buildHreflangAlternates } from '../../../utils/baseHead';\nimport { lazy } from 'react';\nimport { wishlistLoader } from './loader';\nimport type { WishlistPageProps } from './types';\nimport type { LoaderContext } from '../../types';\nimport type { TwilightContext } from '../../../twilight/context';\nimport { RouteId } from '../../../router/route-ids';\n\nconst LazyWishlistPage = lazy(() =>\n import('./WishlistPage').then((m) => ({ default: m.WishlistPage }))\n);\n\nexport const WishlistPage = LazyWishlistPage;\nexport { wishlistLoader } from './loader';\nexport type { WishlistPageProps } from './types';\n\nexport const Wishlist = {\n id: RouteId.CUSTOMER_WISHLIST,\n loader: async (\n ctx: LoaderContext,\n extend?: (\n data: WishlistPageProps,\n ctx: { params: Record<string, never> }\n ) => Promise<Record<string, unknown>> | Record<string, unknown>\n ): Promise<WishlistPageProps> => {\n const data = await wishlistLoader(ctx);\n if (extend) {\n const extra = await extend(data, { params: {} });\n return { ...data, ...extra } as WishlistPageProps;\n }\n return data;\n },\n head: (ctx: TwilightContext, data: WishlistPageProps): HeadDescriptor => ({\n title: data.page.title,\n description: data.page.description,\n alternateLanguages: buildHreflangAlternates(ctx.settings, ctx.location.pathname),\n }),\n Component: LazyWishlistPage,\n} as const;\n","import type { WalletPageProps } from './types';\nimport type { LoaderContext } from '../../types';\nimport { wallet } from '../../../api/wallet';\nimport { getTwilightContext } from '../../../twilight/context';\nimport { orUnauthorized, unauthorized } from '../../../providers/NavigationProvider';\nimport { getAuthToken } from '../../../api/client';\nimport { RouteId } from '../../../router/route-ids';\n\nexport async function walletLoader(ctx: LoaderContext): Promise<WalletPageProps> {\n if (!getAuthToken()) throw unauthorized();\n const pageNum = Number(ctx.search?.page) || 1;\n const data = await orUnauthorized(wallet.list({ page: pageNum }));\n\n const i18n = getTwilightContext().i18n;\n return {\n page: {\n title: i18n.t('common.titles.wallet') || 'Wallet',\n slug: RouteId.CUSTOMER_WALLET,\n },\n query: { page: pageNum },\n transactions: data.items,\n balance: data.balance,\n pagination: {\n next: data.next,\n },\n };\n}\n","import type { HeadDescriptor } from '../../../utils/head';\nimport { buildHreflangAlternates } from '../../../utils/baseHead';\nimport { lazy } from 'react';\nimport { walletLoader } from './loader';\nimport type { WalletPageProps } from './types';\nimport type { LoaderContext } from '../../types';\nimport type { TwilightContext } from '../../../twilight/context';\nimport { RouteId } from '../../../router/route-ids';\n\nconst LazyWalletPage = lazy(() => import('./WalletPage').then((m) => ({ default: m.WalletPage })));\n\nexport const WalletPage = LazyWalletPage;\nexport { walletLoader } from './loader';\nexport type { WalletPageProps } from './types';\n\nexport const Wallet = {\n id: RouteId.CUSTOMER_WALLET,\n loader: async (\n ctx: LoaderContext,\n extend?: (\n data: WalletPageProps,\n ctx: { params: Record<string, never> }\n ) => Promise<Record<string, unknown>> | Record<string, unknown>\n ): Promise<WalletPageProps> => {\n const data = await walletLoader(ctx);\n if (extend) {\n const extra = await extend(data, { params: {} });\n return { ...data, ...extra } as WalletPageProps;\n }\n return data;\n },\n head: (ctx: TwilightContext, data: WalletPageProps): HeadDescriptor => ({\n title: data.page.title,\n description: data.page.description,\n alternateLanguages: buildHreflangAlternates(ctx.settings, ctx.location.pathname),\n }),\n Component: LazyWalletPage,\n} as const;\n","import { notification } from '../../../api/notification';\nimport { getTwilightContext } from '../../../twilight/context';\nimport { orUnauthorized, unauthorized } from '../../../providers/NavigationProvider';\nimport { getAuthToken } from '../../../api/client';\nimport type { NotificationsPageProps } from './types';\nimport { RouteId } from '../../../router/route-ids';\n\nexport async function notificationsLoader(_ctx: {\n locale: string;\n}): Promise<NotificationsPageProps> {\n if (!getAuthToken()) throw unauthorized();\n const i18n = getTwilightContext().i18n;\n const response = await orUnauthorized(notification.list());\n\n return {\n page: {\n title: i18n.t('common.titles.notifications') || 'Notifications',\n slug: RouteId.CUSTOMER_NOTIFICATIONS,\n },\n notifications: response.data,\n };\n}\n","import type { HeadDescriptor } from '../../../utils/head';\nimport { buildHreflangAlternates } from '../../../utils/baseHead';\nimport { lazy } from 'react';\nimport { notificationsLoader } from './loader';\nimport type { NotificationsPageProps } from './types';\nimport type { TwilightContext } from '../../../twilight/context';\nimport { RouteId } from '../../../router/route-ids';\n\nconst LazyNotificationsPage = lazy(() =>\n import('./NotificationsPage').then((m) => ({ default: m.NotificationsPage }))\n);\n\nexport const NotificationsPage = LazyNotificationsPage;\nexport { notificationsLoader } from './loader';\nexport type { NotificationsPageProps, Notification } from './types';\n\nexport const Notifications = {\n id: RouteId.CUSTOMER_NOTIFICATIONS,\n loader: async (\n _ctx: { locale?: string },\n extend?: (\n data: NotificationsPageProps,\n ctx: { params: Record<string, never> }\n ) => Promise<Record<string, unknown>> | Record<string, unknown>\n ): Promise<NotificationsPageProps> => {\n const data = await notificationsLoader({ locale: _ctx.locale ?? 'ar' });\n if (extend) {\n const extra = await extend(data, { params: {} });\n return { ...data, ...extra } as NotificationsPageProps;\n }\n return data;\n },\n head: (ctx: TwilightContext, data: NotificationsPageProps): HeadDescriptor => ({\n title: data.page.title,\n description: data.page.description,\n alternateLanguages: buildHreflangAlternates(ctx.settings, ctx.location.pathname),\n }),\n Component: LazyNotificationsPage,\n} as const;\n","import type { SettingsPageProps } from './types';\nimport { getTwilightContext } from '../../../twilight/context';\nimport { unauthorized } from '../../../providers/NavigationProvider';\nimport { getAuthToken } from '../../../api/client';\n\nexport async function settingsLoader(_ctx: { locale: string }): Promise<SettingsPageProps> {\n if (!getAuthToken()) throw unauthorized();\n const { i18n } = getTwilightContext();\n return {\n // Twig's slug for this page; the advertisements API does not filter it, as on Twig.\n page: { title: i18n.t('common.titles.settings') || 'Settings', slug: 'customer-settings' },\n };\n}\n","import type { HeadDescriptor } from '../../../utils/head';\nimport { buildHreflangAlternates } from '../../../utils/baseHead';\nimport { lazy } from 'react';\nimport { settingsLoader } from './loader';\nimport type { SettingsPageProps } from './types';\nimport type { TwilightContext } from '../../../twilight/context';\nimport { RouteId } from '../../../router/route-ids';\n\nconst LazySettingsPage = lazy(() =>\n import('./SettingsPage').then((m) => ({ default: m.SettingsPage }))\n);\n\nexport const SettingsPage = LazySettingsPage;\nexport { settingsLoader } from './loader';\nexport type { SettingsPageProps } from './types';\n\nexport const Settings = {\n id: RouteId.CUSTOMER_SETTINGS,\n loader: async (\n _ctx: { locale?: string },\n extend?: (\n data: SettingsPageProps,\n ctx: { params: Record<string, never> }\n ) => Promise<Record<string, unknown>> | Record<string, unknown>\n ): Promise<SettingsPageProps> => {\n const data = await settingsLoader({ locale: _ctx.locale ?? 'ar' });\n if (extend) {\n const extra = await extend(data, { params: {} });\n return { ...data, ...extra } as SettingsPageProps;\n }\n return data;\n },\n head: (ctx: TwilightContext, data: SettingsPageProps): HeadDescriptor => ({\n title: data.page.title,\n description: data.page.description,\n alternateLanguages: buildHreflangAlternates(ctx.settings, ctx.location.pathname),\n }),\n Component: LazySettingsPage,\n} as const;\n"]}
1
+ {"version":3,"sources":["../../src/routes/account/profile/loader.ts","../../src/routes/account/profile/index.tsx","../../src/routes/account/wishlist/loader.ts","../../src/routes/account/wishlist/index.tsx","../../src/routes/account/wallet/loader.ts","../../src/routes/account/wallet/index.tsx","../../src/routes/account/notifications/loader.ts","../../src/routes/account/notifications/index.tsx","../../src/routes/account/settings/loader.ts","../../src/routes/account/settings/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAMA,eAAsB,cAAc,IAAA,EAAqD;AACvF,EAAA,IAAI,CAAC,YAAA,EAAa,EAAG,MAAM,YAAA,EAAa;AACxC,EAAA,MAAM,EAAE,IAAA,EAAK,GAAI,kBAAA,EAAmB;AACpC,EAAA,OAAO;AAAA,IACL,IAAA,EAAM;A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AAQ,OACN,IAAA,EACA,MAAA,KAI+B;AAC/B,IAAA,MAAM,IAAA,GAAO,MAAM,cAAA,CAAe,EAAE,QAAQ,IAAA,CAAK,MAAA,IAAU,MAAM,CAAA;AACjE,IAAA,IAAI,MAAA,EAAQ;AACV,MAAA,MAAM,KAAA,GAAQ,MAAM,MAAA,CAAO,IAAA,EAAM,EAAE,MAAA,EAAQ,IAAI,CAAA;AAC/C,MAAA,OAAO,EAAE,GAAG,IAAA,EAAM,GAAG,KAAA,EAAM;AAAA,IAC7B;AACA,IAAA,OAAO,IAAA;AAAA,EACT,CAAA;AAAA,EACA,IAAA,EAAM,CAAC,GAAA,EAAsB,IAAA,MAA6C;AAAA,IACxE,KAAA,EAAO,KAAK,IAAA,CAAK,KAAA;AAAA,IACjB,WAAA,EAAa,KAAK,IAAA,CAAK,WAAA;AAAA,IACvB,oBAAoB,uBAAA,CAAwB,GAAA,CAAI,QAAA,EAAU,GAAA,CAAI,SAAS,QAAQ;AAAA,GACjF,CAAA;AAAA,EACA,SAAA,EAAW;AACb","file":"account.js","sourcesContent":["import type { ProfilePageProps } from './types';\nimport { getTwilightContext } from '../../../twilight/context';\nimport { unauthorized } from '../../../providers/NavigationProvider';\nimport { getAuthToken } from '../../../api/client';\nimport { RouteId } from '../../../router/route-ids';\n\nexport async function profileLoader(_ctx: { locale: string }): Promise<ProfilePageProps> {\n if (!getAuthToken()) throw unauthorized();\n const { i18n } = getTwilightContext();\n return {\n page: {\n title: i18n.t('common.titles.profile') || 'Profile',\n slug: RouteId.CUSTOMER_PROFILE,\n },\n };\n}\n","import type { HeadDescriptor } from '../../../utils/head';\nimport { buildHreflangAlternates } from '../../../utils/baseHead';\n\nimport { profileLoader } from './loader';\nimport type { ProfilePageProps } from './types';\nimport type { TwilightContext } from '../../../twilight/context';\nimport { RouteId } from '../../../router/route-ids';\nimport { lazyComponent } from '../../../utils/lazy-component';\n\nconst LazyProfilePage = lazyComponent(() =>\n import('./ProfilePage').then((m) => ({ default: m.ProfilePage }))\n);\n\nexport const ProfilePage = LazyProfilePage;\nexport { profileLoader } from './loader';\nexport type { ProfilePageProps } from './types';\n\nexport const Profile = {\n id: RouteId.CUSTOMER_PROFILE,\n loader: async (\n _ctx: { locale?: string },\n extend?: (\n data: ProfilePageProps,\n ctx: { params: Record<string, never> }\n ) => Promise<Record<string, unknown>> | Record<string, unknown>\n ): Promise<ProfilePageProps> => {\n const data = await profileLoader({ locale: _ctx.locale ?? 'ar' });\n if (extend) {\n const extra = await extend(data, { params: {} });\n return { ...data, ...extra } as ProfilePageProps;\n }\n return data;\n },\n head: (ctx: TwilightContext, data: ProfilePageProps): HeadDescriptor => ({\n title: data.page.title,\n description: data.page.description,\n alternateLanguages: buildHreflangAlternates(ctx.settings, ctx.location.pathname),\n }),\n Component: LazyProfilePage,\n} as const;\n","import type { WishlistPageProps } from './types';\nimport type { LoaderContext } from '../../types';\nimport { wishlist } from '../../../api/wishlist';\nimport { getTwilightContext } from '../../../twilight/context';\nimport { orUnauthorized, unauthorized } from '../../../providers/NavigationProvider';\nimport { getAuthToken } from '../../../api/client';\nimport { RouteId } from '../../../router/route-ids';\n\nexport async function wishlistLoader(ctx: LoaderContext): Promise<WishlistPageProps> {\n if (!getAuthToken()) throw unauthorized();\n const pageNum = Number(ctx.search?.page) || 1;\n const data = await orUnauthorized(wishlist.list({ page: pageNum }));\n\n const i18n = getTwilightContext().i18n;\n return {\n page: {\n title: i18n.t('common.titles.wishlist') || 'Wishlist',\n slug: RouteId.CUSTOMER_WISHLIST,\n },\n query: { page: pageNum },\n products: data.items,\n pagination: {\n next: data.next,\n },\n };\n}\n","import type { HeadDescriptor } from '../../../utils/head';\nimport { buildHreflangAlternates } from '../../../utils/baseHead';\n\nimport { wishlistLoader } from './loader';\nimport type { WishlistPageProps } from './types';\nimport type { LoaderContext } from '../../types';\nimport type { TwilightContext } from '../../../twilight/context';\nimport { RouteId } from '../../../router/route-ids';\nimport { lazyComponent } from '../../../utils/lazy-component';\n\nconst LazyWishlistPage = lazyComponent(() =>\n import('./WishlistPage').then((m) => ({ default: m.WishlistPage }))\n);\n\nexport const WishlistPage = LazyWishlistPage;\nexport { wishlistLoader } from './loader';\nexport type { WishlistPageProps } from './types';\n\nexport const Wishlist = {\n id: RouteId.CUSTOMER_WISHLIST,\n loader: async (\n ctx: LoaderContext,\n extend?: (\n data: WishlistPageProps,\n ctx: { params: Record<string, never> }\n ) => Promise<Record<string, unknown>> | Record<string, unknown>\n ): Promise<WishlistPageProps> => {\n const data = await wishlistLoader(ctx);\n if (extend) {\n const extra = await extend(data, { params: {} });\n return { ...data, ...extra } as WishlistPageProps;\n }\n return data;\n },\n head: (ctx: TwilightContext, data: WishlistPageProps): HeadDescriptor => ({\n title: data.page.title,\n description: data.page.description,\n alternateLanguages: buildHreflangAlternates(ctx.settings, ctx.location.pathname),\n }),\n Component: LazyWishlistPage,\n} as const;\n","import type { WalletPageProps } from './types';\nimport type { LoaderContext } from '../../types';\nimport { wallet } from '../../../api/wallet';\nimport { getTwilightContext } from '../../../twilight/context';\nimport { orUnauthorized, unauthorized } from '../../../providers/NavigationProvider';\nimport { getAuthToken } from '../../../api/client';\nimport { RouteId } from '../../../router/route-ids';\n\nexport async function walletLoader(ctx: LoaderContext): Promise<WalletPageProps> {\n if (!getAuthToken()) throw unauthorized();\n const pageNum = Number(ctx.search?.page) || 1;\n const data = await orUnauthorized(wallet.list({ page: pageNum }));\n\n const i18n = getTwilightContext().i18n;\n return {\n page: {\n title: i18n.t('common.titles.wallet') || 'Wallet',\n slug: RouteId.CUSTOMER_WALLET,\n },\n query: { page: pageNum },\n transactions: data.items,\n balance: data.balance,\n pagination: {\n next: data.next,\n },\n };\n}\n","import type { HeadDescriptor } from '../../../utils/head';\nimport { buildHreflangAlternates } from '../../../utils/baseHead';\n\nimport { walletLoader } from './loader';\nimport type { WalletPageProps } from './types';\nimport type { LoaderContext } from '../../types';\nimport type { TwilightContext } from '../../../twilight/context';\nimport { RouteId } from '../../../router/route-ids';\nimport { lazyComponent } from '../../../utils/lazy-component';\n\nconst LazyWalletPage = lazyComponent(() =>\n import('./WalletPage').then((m) => ({ default: m.WalletPage }))\n);\n\nexport const WalletPage = LazyWalletPage;\nexport { walletLoader } from './loader';\nexport type { WalletPageProps } from './types';\n\nexport const Wallet = {\n id: RouteId.CUSTOMER_WALLET,\n loader: async (\n ctx: LoaderContext,\n extend?: (\n data: WalletPageProps,\n ctx: { params: Record<string, never> }\n ) => Promise<Record<string, unknown>> | Record<string, unknown>\n ): Promise<WalletPageProps> => {\n const data = await walletLoader(ctx);\n if (extend) {\n const extra = await extend(data, { params: {} });\n return { ...data, ...extra } as WalletPageProps;\n }\n return data;\n },\n head: (ctx: TwilightContext, data: WalletPageProps): HeadDescriptor => ({\n title: data.page.title,\n description: data.page.description,\n alternateLanguages: buildHreflangAlternates(ctx.settings, ctx.location.pathname),\n }),\n Component: LazyWalletPage,\n} as const;\n","import { notification } from '../../../api/notification';\nimport { getTwilightContext } from '../../../twilight/context';\nimport { orUnauthorized, unauthorized } from '../../../providers/NavigationProvider';\nimport { getAuthToken } from '../../../api/client';\nimport type { NotificationsPageProps } from './types';\nimport { RouteId } from '../../../router/route-ids';\n\nexport async function notificationsLoader(_ctx: {\n locale: string;\n}): Promise<NotificationsPageProps> {\n if (!getAuthToken()) throw unauthorized();\n const i18n = getTwilightContext().i18n;\n const response = await orUnauthorized(notification.list());\n\n return {\n page: {\n title: i18n.t('common.titles.notifications') || 'Notifications',\n slug: RouteId.CUSTOMER_NOTIFICATIONS,\n },\n notifications: response.data,\n };\n}\n","import type { HeadDescriptor } from '../../../utils/head';\nimport { buildHreflangAlternates } from '../../../utils/baseHead';\n\nimport { notificationsLoader } from './loader';\nimport type { NotificationsPageProps } from './types';\nimport type { TwilightContext } from '../../../twilight/context';\nimport { RouteId } from '../../../router/route-ids';\nimport { lazyComponent } from '../../../utils/lazy-component';\n\nconst LazyNotificationsPage = lazyComponent(() =>\n import('./NotificationsPage').then((m) => ({ default: m.NotificationsPage }))\n);\n\nexport const NotificationsPage = LazyNotificationsPage;\nexport { notificationsLoader } from './loader';\nexport type { NotificationsPageProps, Notification } from './types';\n\nexport const Notifications = {\n id: RouteId.CUSTOMER_NOTIFICATIONS,\n loader: async (\n _ctx: { locale?: string },\n extend?: (\n data: NotificationsPageProps,\n ctx: { params: Record<string, never> }\n ) => Promise<Record<string, unknown>> | Record<string, unknown>\n ): Promise<NotificationsPageProps> => {\n const data = await notificationsLoader({ locale: _ctx.locale ?? 'ar' });\n if (extend) {\n const extra = await extend(data, { params: {} });\n return { ...data, ...extra } as NotificationsPageProps;\n }\n return data;\n },\n head: (ctx: TwilightContext, data: NotificationsPageProps): HeadDescriptor => ({\n title: data.page.title,\n description: data.page.description,\n alternateLanguages: buildHreflangAlternates(ctx.settings, ctx.location.pathname),\n }),\n Component: LazyNotificationsPage,\n} as const;\n","import type { SettingsPageProps } from './types';\nimport { getTwilightContext } from '../../../twilight/context';\nimport { unauthorized } from '../../../providers/NavigationProvider';\nimport { getAuthToken } from '../../../api/client';\n\nexport async function settingsLoader(_ctx: { locale: string }): Promise<SettingsPageProps> {\n if (!getAuthToken()) throw unauthorized();\n const { i18n } = getTwilightContext();\n return {\n // Twig's slug for this page; the advertisements API does not filter it, as on Twig.\n page: { title: i18n.t('common.titles.settings') || 'Settings', slug: 'customer-settings' },\n };\n}\n","import type { HeadDescriptor } from '../../../utils/head';\nimport { buildHreflangAlternates } from '../../../utils/baseHead';\n\nimport { settingsLoader } from './loader';\nimport type { SettingsPageProps } from './types';\nimport type { TwilightContext } from '../../../twilight/context';\nimport { RouteId } from '../../../router/route-ids';\nimport { lazyComponent } from '../../../utils/lazy-component';\n\nconst LazySettingsPage = lazyComponent(() =>\n import('./SettingsPage').then((m) => ({ default: m.SettingsPage }))\n);\n\nexport const SettingsPage = LazySettingsPage;\nexport { settingsLoader } from './loader';\nexport type { SettingsPageProps } from './types';\n\nexport const Settings = {\n id: RouteId.CUSTOMER_SETTINGS,\n loader: async (\n _ctx: { locale?: string },\n extend?: (\n data: SettingsPageProps,\n ctx: { params: Record<string, never> }\n ) => Promise<Record<string, unknown>> | Record<string, unknown>\n ): Promise<SettingsPageProps> => {\n const data = await settingsLoader({ locale: _ctx.locale ?? 'ar' });\n if (extend) {\n const extra = await extend(data, { params: {} });\n return { ...data, ...extra } as SettingsPageProps;\n }\n return data;\n },\n head: (ctx: TwilightContext, data: SettingsPageProps): HeadDescriptor => ({\n title: data.page.title,\n description: data.page.description,\n alternateLanguages: buildHreflangAlternates(ctx.settings, ctx.location.pathname),\n }),\n Component: LazySettingsPage,\n} as const;\n"]}
@@ -2,11 +2,11 @@ import type { HeadDescriptor } from '../../utils/head';
2
2
  import type { BlogPageProps, BlogSinglePageProps, BlogAuthorLoaderData, BlogCategoryLoaderData, BlogTagLoaderData, ArticleSummary, ArticleDetail, ArticleStats, ArticleMeta, BlogCategory as BlogCategoryType, CategoryMeta, BlogTag as BlogTagType, BlogAuthor as BlogAuthorType } from './types';
3
3
  import type { IdParams, SlugIdParams } from '../types';
4
4
  import type { TwilightContext } from '../../twilight/context';
5
- export declare const BlogPage: import("react").LazyExoticComponent<typeof import("./BlogPage").BlogPage>;
6
- export declare const BlogSinglePage: import("react").LazyExoticComponent<typeof import("./BlogSinglePage").BlogSinglePage>;
7
- export declare const BlogAuthorPage: import("react").LazyExoticComponent<typeof import("./BlogAuthorPage").BlogAuthorPage>;
8
- export declare const BlogCategoryPage: import("react").LazyExoticComponent<typeof import("./BlogCategoryPage").BlogCategoryPage>;
9
- export declare const BlogTagPage: import("react").LazyExoticComponent<typeof import("./BlogTagPage").BlogTagPage>;
5
+ export declare const BlogPage: import("../../utils/lazy-component").LazyComponent<typeof import("./BlogPage").BlogPage>;
6
+ export declare const BlogSinglePage: import("../../utils/lazy-component").LazyComponent<typeof import("./BlogSinglePage").BlogSinglePage>;
7
+ export declare const BlogAuthorPage: import("../../utils/lazy-component").LazyComponent<typeof import("./BlogAuthorPage").BlogAuthorPage>;
8
+ export declare const BlogCategoryPage: import("../../utils/lazy-component").LazyComponent<typeof import("./BlogCategoryPage").BlogCategoryPage>;
9
+ export declare const BlogTagPage: import("../../utils/lazy-component").LazyComponent<typeof import("./BlogTagPage").BlogTagPage>;
10
10
  export { blogLoader, blogSingleLoader, blogAuthorLoader, blogCategoryLoader, blogTagLoader, } from './loader';
11
11
  export type { BlogAuthorLoaderData, BlogCategoryLoaderData, BlogTagLoaderData, BlogPageProps, BlogSinglePageProps, ArticleSummary, ArticleDetail, ArticleStats, ArticleMeta, BlogCategoryType, CategoryMeta, BlogTagType, BlogAuthorType, };
12
12
  declare function blogLoaderWithExtend(_ctx?: {
@@ -47,30 +47,30 @@ export declare const Blog: {
47
47
  readonly id: "blog.index";
48
48
  readonly loader: typeof blogLoaderWithExtend;
49
49
  readonly head: typeof blogHead;
50
- readonly Component: import("react").LazyExoticComponent<typeof import("./BlogPage").BlogPage>;
50
+ readonly Component: import("../../utils/lazy-component").LazyComponent<typeof import("./BlogPage").BlogPage>;
51
51
  };
52
52
  export declare const BlogSingle: {
53
53
  readonly id: "blog.single";
54
54
  readonly loader: typeof blogSingleLoaderWithExtend;
55
55
  readonly head: typeof blogSingleHead;
56
- readonly Component: import("react").LazyExoticComponent<typeof import("./BlogSinglePage").BlogSinglePage>;
56
+ readonly Component: import("../../utils/lazy-component").LazyComponent<typeof import("./BlogSinglePage").BlogSinglePage>;
57
57
  };
58
58
  export declare const BlogAuthorRoute: {
59
59
  readonly id: "blog.index.author";
60
60
  readonly loader: typeof blogAuthorLoaderWithExtend;
61
61
  readonly head: typeof blogAuthorHead;
62
- readonly Component: import("react").LazyExoticComponent<typeof import("./BlogAuthorPage").BlogAuthorPage>;
62
+ readonly Component: import("../../utils/lazy-component").LazyComponent<typeof import("./BlogAuthorPage").BlogAuthorPage>;
63
63
  };
64
64
  export declare const BlogCategoryRoute: {
65
65
  readonly id: "blog.index.category";
66
66
  readonly loader: typeof blogCategoryLoaderWithExtend;
67
67
  readonly head: typeof blogCategoryHead;
68
- readonly Component: import("react").LazyExoticComponent<typeof import("./BlogCategoryPage").BlogCategoryPage>;
68
+ readonly Component: import("../../utils/lazy-component").LazyComponent<typeof import("./BlogCategoryPage").BlogCategoryPage>;
69
69
  };
70
70
  export declare const BlogTagRoute: {
71
71
  readonly id: "blog.index.tag";
72
72
  readonly loader: typeof blogTagLoaderWithExtend;
73
73
  readonly head: typeof blogTagHead;
74
- readonly Component: import("react").LazyExoticComponent<typeof import("./BlogTagPage").BlogTagPage>;
74
+ readonly Component: import("../../utils/lazy-component").LazyComponent<typeof import("./BlogTagPage").BlogTagPage>;
75
75
  };
76
76
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/routes/blog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAUvD,OAAO,KAAK,EACV,aAAa,EACb,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,YAAY,EACZ,WAAW,EACX,YAAY,IAAI,gBAAgB,EAChC,YAAY,EACZ,OAAO,IAAI,WAAW,EACtB,UAAU,IAAI,cAAc,EAC7B,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAiB9D,eAAO,MAAM,QAAQ,2EAAe,CAAC;AACrC,eAAO,MAAM,cAAc,uFAAqB,CAAC;AACjD,eAAO,MAAM,cAAc,uFAAqB,CAAC;AACjD,eAAO,MAAM,gBAAgB,2FAAuB,CAAC;AACrD,eAAO,MAAM,WAAW,iFAAkB,CAAC;AAC3C,OAAO,EACL,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,GACd,MAAM,UAAU,CAAC;AAClB,YAAY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