@salla.sa/twilight-components 2.14.500 → 2.14.501

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 (346) hide show
  1. package/dist/cjs/catalog-recommendations-Bzt0HRy8.js +94 -0
  2. package/dist/cjs/{filepond-B9PtMjXt.js → filepond-YItpCyss.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-poster-CMd-UUZx.js → filepond-plugin-file-poster-BAPK8RK2.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-size-DpJalosf.js → filepond-plugin-file-validate-size--RuyRQn1.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-file-validate-type-CZjeYI0w.js → filepond-plugin-file-validate-type-CBvJsWh4.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-edit-Bl6fwgrn.js → filepond-plugin-image-edit-CIZ-WDGk.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-exif-orientation-BeQ8iCyg.js → filepond-plugin-image-exif-orientation-RE8rudTp.js} +1 -1
  8. package/dist/cjs/{filepond-plugin-image-preview-BkGKXzOB.js → filepond-plugin-image-preview-C17RG4r1.js} +1 -1
  9. package/dist/cjs/{functions-UaOjMOb2.js → functions-BYc4IT8l.js} +1 -1
  10. package/dist/cjs/{index-CQPk27Eg.js → index-CB_WYB8k.js} +1 -1
  11. package/dist/cjs/{index-Cd5xdrCT.js → index-CuQpJRcD.js} +6 -2
  12. package/dist/cjs/loader.cjs.js +2 -2
  13. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  15. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +6 -18
  16. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-basket-gap.cjs.entry.js +269 -0
  22. package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
  23. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-count-down_2.cjs.entry.js +4 -3
  34. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  48. package/dist/cjs/salla-loyalty-exchange-product-card_5.cjs.entry.js +3 -3
  49. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
  50. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  51. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  55. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +2 -2
  56. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-map_2.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-cancel.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  98. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  100. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  101. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  102. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  103. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  104. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  105. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  106. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
  107. package/dist/cjs/{tracked-promise-DwUVHl1m.js → tracked-promise-XZchciB1.js} +1 -1
  108. package/dist/cjs/twilight.cjs.js +2 -2
  109. package/dist/cjs/{vanilla-picker-BTiOI13l.js → vanilla-picker-DcFuBceg.js} +1 -1
  110. package/dist/collection/collection-manifest.json +1 -0
  111. package/dist/collection/components/salla-basket-gap/salla-basket-gap.css +3 -0
  112. package/dist/collection/components/salla-basket-gap/salla-basket-gap.js +306 -0
  113. package/dist/collection/components/salla-bought-together/salla-bought-together.js +5 -17
  114. package/dist/collection/components/salla-count-down/salla-count-down.js +3 -2
  115. package/dist/collection/shared/catalog-recommendations.js +89 -0
  116. package/dist/components/catalog-recommendations.js +91 -0
  117. package/dist/components/index.js +2 -2
  118. package/dist/components/salla-basket-gap.d.ts +11 -0
  119. package/dist/components/salla-basket-gap.js +402 -0
  120. package/dist/components/salla-bought-together.js +5 -17
  121. package/dist/components/salla-count-down2.js +3 -2
  122. package/dist/esm/catalog-recommendations-9fzJJ_Ox.js +91 -0
  123. package/dist/esm/{filepond-DjtqIoeD.js → filepond-DQgEXp69.js} +1 -1
  124. package/dist/esm/{filepond-plugin-file-poster-CFxoEHLP.js → filepond-plugin-file-poster-BE5-JUQb.js} +1 -1
  125. package/dist/esm/{filepond-plugin-file-validate-size-BnBRYL0y.js → filepond-plugin-file-validate-size-CwWpBym0.js} +1 -1
  126. package/dist/esm/{filepond-plugin-file-validate-type-Dr5ofT9v.js → filepond-plugin-file-validate-type-CovRSsjJ.js} +1 -1
  127. package/dist/esm/{filepond-plugin-image-edit-DyMeCzTZ.js → filepond-plugin-image-edit-DY-5oWCU.js} +1 -1
  128. package/dist/esm/{filepond-plugin-image-exif-orientation-ngtve06j.js → filepond-plugin-image-exif-orientation-DQROYLkj.js} +1 -1
  129. package/dist/esm/{filepond-plugin-image-preview-aqxBqAYf.js → filepond-plugin-image-preview-CZCR-9d7.js} +1 -1
  130. package/dist/esm/{functions-Drikk4uf.js → functions-DWD7tnLk.js} +1 -1
  131. package/dist/esm/{index-DuoSRdS5.js → index-DW5RMC3M.js} +6 -2
  132. package/dist/esm/{index-CaZkz-p0.js → index-VUPjm0uj.js} +1 -1
  133. package/dist/esm/loader.js +3 -3
  134. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  135. package/dist/esm/salla-accordion_6.entry.js +1 -1
  136. package/dist/esm/salla-add-product-button_5.entry.js +6 -18
  137. package/dist/esm/salla-advertisement.entry.js +1 -1
  138. package/dist/esm/salla-alert_2.entry.js +1 -1
  139. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  140. package/dist/esm/salla-apps-icons.entry.js +1 -1
  141. package/dist/esm/salla-badge.entry.js +1 -1
  142. package/dist/esm/salla-basket-gap.entry.js +267 -0
  143. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  144. package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
  145. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  146. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  147. package/dist/esm/salla-cart-summary-card.entry.js +1 -1
  148. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  149. package/dist/esm/salla-comment-factors.entry.js +1 -1
  150. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  151. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  152. package/dist/esm/salla-contacts.entry.js +1 -1
  153. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  154. package/dist/esm/salla-count-down_2.entry.js +4 -3
  155. package/dist/esm/salla-custom-fields.entry.js +1 -1
  156. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  157. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  158. package/dist/esm/salla-filters-widget.entry.js +1 -1
  159. package/dist/esm/salla-filters.entry.js +1 -1
  160. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  161. package/dist/esm/salla-gifting.entry.js +1 -1
  162. package/dist/esm/salla-hook.entry.js +1 -1
  163. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  164. package/dist/esm/salla-installment.entry.js +1 -1
  165. package/dist/esm/salla-list-tile.entry.js +1 -1
  166. package/dist/esm/salla-localization-modal.entry.js +1 -1
  167. package/dist/esm/salla-login-modal.entry.js +1 -1
  168. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  169. package/dist/esm/salla-loyalty-exchange-product-card_5.entry.js +3 -3
  170. package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
  171. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  172. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  173. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  174. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  175. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  176. package/dist/esm/salla-loyalty-reward.entry.js +2 -2
  177. package/dist/esm/salla-loyalty.entry.js +1 -1
  178. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  179. package/dist/esm/salla-map_2.entry.js +1 -1
  180. package/dist/esm/salla-menu.entry.js +1 -1
  181. package/dist/esm/salla-metadata.entry.js +1 -1
  182. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  183. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  184. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  185. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  186. package/dist/esm/salla-notification-item.entry.js +1 -1
  187. package/dist/esm/salla-notifications.entry.js +1 -1
  188. package/dist/esm/salla-offer-modal.entry.js +1 -1
  189. package/dist/esm/salla-offer.entry.js +1 -1
  190. package/dist/esm/salla-order-branch.entry.js +1 -1
  191. package/dist/esm/salla-order-cancel.entry.js +1 -1
  192. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  193. package/dist/esm/salla-order-details-options.entry.js +1 -1
  194. package/dist/esm/salla-order-details.entry.js +1 -1
  195. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  196. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  197. package/dist/esm/salla-order-edit.entry.js +1 -1
  198. package/dist/esm/salla-order-summary.entry.js +1 -1
  199. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  200. package/dist/esm/salla-orders.entry.js +1 -1
  201. package/dist/esm/salla-payments.entry.js +1 -1
  202. package/dist/esm/salla-placeholder.entry.js +1 -1
  203. package/dist/esm/salla-price-range.entry.js +1 -1
  204. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  205. package/dist/esm/salla-product-card_2.entry.js +1 -1
  206. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  207. package/dist/esm/salla-products-list.entry.js +1 -1
  208. package/dist/esm/salla-quick-order.entry.js +1 -1
  209. package/dist/esm/salla-rating-modal-v2.entry.js +1 -1
  210. package/dist/esm/salla-rating-modal.entry.js +1 -1
  211. package/dist/esm/salla-review-factors-tags.entry.js +1 -1
  212. package/dist/esm/salla-scopes.entry.js +1 -1
  213. package/dist/esm/salla-search.entry.js +1 -1
  214. package/dist/esm/salla-skeleton.entry.js +1 -1
  215. package/dist/esm/salla-slider.entry.js +1 -1
  216. package/dist/esm/salla-social-share.entry.js +1 -1
  217. package/dist/esm/salla-social.entry.js +1 -1
  218. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  219. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  220. package/dist/esm/salla-tooltip.entry.js +1 -1
  221. package/dist/esm/salla-trust-badges.entry.js +1 -1
  222. package/dist/esm/salla-user-menu.entry.js +1 -1
  223. package/dist/esm/salla-user-profile.entry.js +1 -1
  224. package/dist/esm/salla-user-settings.entry.js +1 -1
  225. package/dist/esm/salla-verify.entry.js +1 -1
  226. package/dist/esm/salla-wallet.entry.js +1 -1
  227. package/dist/esm/salla-wishlist-actions.entry.js +1 -1
  228. package/dist/esm/{tracked-promise-CUM6cNiF.js → tracked-promise-CZ98bqyM.js} +1 -1
  229. package/dist/esm/twilight.js +3 -3
  230. package/dist/esm/{vanilla-picker-kF8Cgi5q.js → vanilla-picker-DKozn4lm.js} +1 -1
  231. package/dist/twilight/{p-9cc2e54c.entry.js → p-015a4d45.entry.js} +1 -1
  232. package/dist/twilight/{p-a34c031b.entry.js → p-0708708b.entry.js} +1 -1
  233. package/dist/twilight/{p-03db477f.entry.js → p-0aea93dd.entry.js} +1 -1
  234. package/dist/twilight/{p-5cb10852.entry.js → p-0f2f8564.entry.js} +1 -1
  235. package/dist/twilight/{p-c3530e7a.entry.js → p-12f14fe5.entry.js} +1 -1
  236. package/dist/twilight/{p-d8c9d454.entry.js → p-1453e674.entry.js} +1 -1
  237. package/dist/twilight/{p-9a161a84.entry.js → p-17edd677.entry.js} +1 -1
  238. package/dist/twilight/{p-98186fb3.entry.js → p-18209070.entry.js} +1 -1
  239. package/dist/twilight/p-1decfdb8.entry.js +4 -0
  240. package/dist/twilight/{p-d54b75de.entry.js → p-210de87e.entry.js} +1 -1
  241. package/dist/twilight/{p-d3a9573e.entry.js → p-234752f4.entry.js} +1 -1
  242. package/dist/twilight/{p-0bc04e3f.entry.js → p-24f1c04b.entry.js} +1 -1
  243. package/dist/twilight/{p-2c9c0815.entry.js → p-254d24b3.entry.js} +1 -1
  244. package/dist/twilight/{p-f8d642b2.entry.js → p-29b848f7.entry.js} +1 -1
  245. package/dist/twilight/{p-d49130fc.entry.js → p-2abf736c.entry.js} +1 -1
  246. package/dist/twilight/{p-77d816b8.entry.js → p-2bc1991c.entry.js} +1 -1
  247. package/dist/twilight/{p-4fff03a8.entry.js → p-2fe13b65.entry.js} +1 -1
  248. package/dist/twilight/{p-0a1f28c9.entry.js → p-33710edf.entry.js} +1 -1
  249. package/dist/twilight/{p-1d75fdd9.entry.js → p-3f47b71b.entry.js} +1 -1
  250. package/dist/twilight/{p-72c9cd44.entry.js → p-41b9b2ef.entry.js} +1 -1
  251. package/dist/twilight/{p-9c798a1a.entry.js → p-42fb6aaa.entry.js} +1 -1
  252. package/dist/twilight/{p-e5c2df5a.entry.js → p-44403dab.entry.js} +1 -1
  253. package/dist/twilight/{p-56ba7f94.entry.js → p-47dd7a56.entry.js} +1 -1
  254. package/dist/twilight/{p-51bc9c4d.entry.js → p-485cd05f.entry.js} +1 -1
  255. package/dist/twilight/{p-99ff235e.entry.js → p-494f93d5.entry.js} +1 -1
  256. package/dist/twilight/{p-04fadfb3.entry.js → p-4aaba2ae.entry.js} +1 -1
  257. package/dist/twilight/{p-930ff69a.entry.js → p-4e60702f.entry.js} +1 -1
  258. package/dist/twilight/{p-0daa8221.entry.js → p-4ed58afc.entry.js} +1 -1
  259. package/dist/twilight/{p-c6d64b53.entry.js → p-4f1b17ce.entry.js} +1 -1
  260. package/dist/twilight/{p-54e43314.entry.js → p-4ff3fcc2.entry.js} +1 -1
  261. package/dist/twilight/{p-7df52f7b.entry.js → p-52465888.entry.js} +1 -1
  262. package/dist/twilight/{p-b0437615.entry.js → p-527c985e.entry.js} +1 -1
  263. package/dist/twilight/{p-bd2672ee.entry.js → p-5803461f.entry.js} +1 -1
  264. package/dist/twilight/{p-8658fefd.entry.js → p-5c81f957.entry.js} +1 -1
  265. package/dist/twilight/{p-953da0b5.entry.js → p-5f363172.entry.js} +1 -1
  266. package/dist/twilight/{p-be973f87.entry.js → p-60096faf.entry.js} +1 -1
  267. package/dist/twilight/{p-2c4f4539.entry.js → p-629b0300.entry.js} +1 -1
  268. package/dist/twilight/{p-c6b82041.entry.js → p-64bddbd4.entry.js} +1 -1
  269. package/dist/twilight/p-66b8ffe5.entry.js +4 -0
  270. package/dist/twilight/{p-74e009df.entry.js → p-686e0e20.entry.js} +1 -1
  271. package/dist/twilight/{p-01636f53.entry.js → p-693d1afd.entry.js} +1 -1
  272. package/dist/twilight/{p-cd65e560.entry.js → p-6c2bd4d3.entry.js} +1 -1
  273. package/dist/twilight/{p-9196b7a9.entry.js → p-6ea59d29.entry.js} +1 -1
  274. package/dist/twilight/{p-286d9ba3.entry.js → p-753c2036.entry.js} +1 -1
  275. package/dist/twilight/{p-0c1721e1.entry.js → p-7d4ea0b4.entry.js} +1 -1
  276. package/dist/twilight/{p-022343f3.entry.js → p-7d778acb.entry.js} +1 -1
  277. package/dist/twilight/{p-0b814320.entry.js → p-7fa1bb43.entry.js} +1 -1
  278. package/dist/twilight/{p-a2e8a9d1.entry.js → p-8091c1bb.entry.js} +1 -1
  279. package/dist/twilight/{p-15c3b0cc.entry.js → p-85238859.entry.js} +1 -1
  280. package/dist/twilight/{p-a96e5e06.entry.js → p-86b6bf59.entry.js} +1 -1
  281. package/dist/twilight/{p-eb2e3e67.entry.js → p-8a550a9b.entry.js} +1 -1
  282. package/dist/twilight/{p-7e730733.entry.js → p-8bd21221.entry.js} +1 -1
  283. package/dist/twilight/{p-67d7bd8b.entry.js → p-8c0b1195.entry.js} +1 -1
  284. package/dist/twilight/{p-f9a3f3f4.entry.js → p-8fded8e8.entry.js} +1 -1
  285. package/dist/twilight/{p-5fe29fcf.entry.js → p-90039201.entry.js} +1 -1
  286. package/dist/twilight/{p-DMHhYV48.js → p-9Gnw86AG.js} +1 -1
  287. package/dist/twilight/{p-168e3ad8.entry.js → p-9adcfb8f.entry.js} +1 -1
  288. package/dist/twilight/{p-a1d3a45f.entry.js → p-9b4a8482.entry.js} +1 -1
  289. package/dist/twilight/{p-39389b31.entry.js → p-9bfb9e67.entry.js} +1 -1
  290. package/dist/twilight/{p-19c6d83a.entry.js → p-9c7ed057.entry.js} +1 -1
  291. package/dist/twilight/{p-92d37b3e.entry.js → p-9ea31b28.entry.js} +1 -1
  292. package/dist/twilight/p-9fzJJ_Ox.js +4 -0
  293. package/dist/twilight/{p-lYj74H1f.js → p-BEd1gsDo.js} +1 -1
  294. package/dist/twilight/p-BOGl7WKm.js +4 -0
  295. package/dist/twilight/{p-CHOv1Smw.js → p-BOsr_t6U.js} +1 -1
  296. package/dist/twilight/{p-DYcV7UW8.js → p-Bk7FtCRB.js} +1 -1
  297. package/dist/twilight/{p-DYgnIxqR.js → p-BmLFLdi9.js} +1 -1
  298. package/dist/twilight/{p-DQXp-sN5.js → p-CTz-tTY_.js} +1 -1
  299. package/dist/twilight/{p-Ca84RIBI.js → p-D6IFHeYy.js} +1 -1
  300. package/dist/twilight/{p-kflOqry6.js → p-DKReyChR.js} +1 -1
  301. package/dist/twilight/{p-DuoSRdS5.js → p-DW5RMC3M.js} +1 -1
  302. package/dist/twilight/{p-KZ7SFw0C.js → p-Dha9oJHi.js} +1 -1
  303. package/dist/twilight/{p-BYpv9A8D.js → p-MxH_-y8s.js} +1 -1
  304. package/dist/twilight/{p-5a215130.entry.js → p-a7da83e9.entry.js} +1 -1
  305. package/dist/twilight/{p-2104f800.entry.js → p-a9d1a6ab.entry.js} +1 -1
  306. package/dist/twilight/{p-bdda14f6.entry.js → p-abffebe7.entry.js} +1 -1
  307. package/dist/twilight/{p-f4eba1d1.entry.js → p-b9babfe5.entry.js} +1 -1
  308. package/dist/twilight/{p-0604eb27.entry.js → p-bc890bf3.entry.js} +1 -1
  309. package/dist/twilight/{p-404d3645.entry.js → p-bc935da0.entry.js} +1 -1
  310. package/dist/twilight/{p-ecdf7027.entry.js → p-bd2359a7.entry.js} +1 -1
  311. package/dist/twilight/{p-92ec265b.entry.js → p-bd7ba620.entry.js} +1 -1
  312. package/dist/twilight/{p-7b9ed1e4.entry.js → p-bdfb4b2b.entry.js} +1 -1
  313. package/dist/twilight/{p-47c9e882.entry.js → p-be13f6cf.entry.js} +1 -1
  314. package/dist/twilight/{p-5f47eb12.entry.js → p-c0373e93.entry.js} +1 -1
  315. package/dist/twilight/{p-3c96d5af.entry.js → p-c2019c1f.entry.js} +1 -1
  316. package/dist/twilight/{p-dc6b3dfb.entry.js → p-c66582de.entry.js} +1 -1
  317. package/dist/twilight/{p-9e27778a.entry.js → p-cb675f91.entry.js} +1 -1
  318. package/dist/twilight/{p-ca0a62f9.entry.js → p-cc0b8dec.entry.js} +1 -1
  319. package/dist/twilight/{p-6e535738.entry.js → p-ce06372f.entry.js} +1 -1
  320. package/dist/twilight/{p-ae83c325.entry.js → p-ceb44ad7.entry.js} +1 -1
  321. package/dist/twilight/{p-0e6a0989.entry.js → p-cfe4f808.entry.js} +1 -1
  322. package/dist/twilight/{p-00d73870.entry.js → p-d047a409.entry.js} +1 -1
  323. package/dist/twilight/p-d63533f2.entry.js +4 -0
  324. package/dist/twilight/{p-a5eeb082.entry.js → p-d649f426.entry.js} +1 -1
  325. package/dist/twilight/{p-4fb48be8.entry.js → p-d89e140a.entry.js} +1 -1
  326. package/dist/twilight/{p-95d8a11b.entry.js → p-daaa9ef7.entry.js} +1 -1
  327. package/dist/twilight/{p-f060a3dd.entry.js → p-dbc38d79.entry.js} +1 -1
  328. package/dist/twilight/{p-74cac8a8.entry.js → p-dd7a835b.entry.js} +1 -1
  329. package/dist/twilight/{p-f9912293.entry.js → p-ddbaca65.entry.js} +1 -1
  330. package/dist/twilight/{p-90d53c9b.entry.js → p-e47540e1.entry.js} +1 -1
  331. package/dist/twilight/{p-f5ac65b4.entry.js → p-e8ada41e.entry.js} +1 -1
  332. package/dist/twilight/{p-061fdc55.entry.js → p-e9a35a7f.entry.js} +1 -1
  333. package/dist/twilight/{p-ca52add5.entry.js → p-ef77963a.entry.js} +1 -1
  334. package/dist/twilight/{p-d39bf8b5.entry.js → p-f2416b6d.entry.js} +1 -1
  335. package/dist/twilight/{p-aed6d4eb.entry.js → p-f9c12172.entry.js} +1 -1
  336. package/dist/twilight/{p-72291ad7.entry.js → p-fbc91885.entry.js} +1 -1
  337. package/dist/twilight/p-ff5a82a3.entry.js +4 -0
  338. package/dist/twilight/twilight.esm.js +1 -1
  339. package/dist/types/components/salla-basket-gap/salla-basket-gap.d.ts +52 -0
  340. package/dist/types/components.d.ts +23 -0
  341. package/dist/types/shared/catalog-recommendations.d.ts +2 -0
  342. package/package.json +5 -5
  343. package/dist/twilight/p-25ZR4Fc8.js +0 -4
  344. package/dist/twilight/p-2985e01e.entry.js +0 -4
  345. package/dist/twilight/p-931c44fb.entry.js +0 -4
  346. package/dist/twilight/p-982ccb80.entry.js +0 -4
@@ -0,0 +1,267 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DW5RMC3M.js';
5
+ import { f as fetchCartBoughtTogether } from './catalog-recommendations-9fzJJ_Ox.js';
6
+
7
+ const sallaBasketGapCss = ":host{display:block}";
8
+
9
+ const SallaBasketGap = class {
10
+ constructor(hostRef) {
11
+ registerInstance(this, hostRef);
12
+ /**
13
+ * Maximum number of recommendations to fetch.
14
+ */
15
+ this.limit = 10;
16
+ this.products = [];
17
+ this.isLoading = true;
18
+ this.canRender = true;
19
+ this.title = '';
20
+ this.addToCartLabel = '';
21
+ this.weightLabel = '';
22
+ this.discountLabel = '';
23
+ this.placeholder = '';
24
+ this.fetchGeneration = 0;
25
+ this.isSyncingCart = false;
26
+ this.cartItemChangedHandler = (response) => {
27
+ const items = response?.data?.cart?.items ?? [];
28
+ const ids = items.map((i) => String(i.product_id)).filter(Boolean);
29
+ // Reflect a newly added product in the cart list without a full page refresh.
30
+ this.syncCartItemsDom(items);
31
+ this.fetchRecommendations(ids);
32
+ };
33
+ this.beforeAddItemHandler = (data) => {
34
+ const id = String(data?.id ?? '');
35
+ if (id && this.products.some((p) => String(p.id) === id) && salla.cart?.api) {
36
+ salla.cart.api.addToCartSource = 'basket_gap';
37
+ }
38
+ };
39
+ this.addButtonSuccessHandler = (event) => {
40
+ const productId = event?.target?.getAttribute?.('product-id');
41
+ if (!productId)
42
+ return;
43
+ const product = this.products.find((p) => String(p.id) === String(productId));
44
+ if (!product)
45
+ return;
46
+ const items = event?.detail?.data?.items ?? [];
47
+ const cartItem = items.find((i) => String(i.product_id) === String(product.id)) ?? items.slice(-1)[0];
48
+ salla.event.emit('salla-basket-gap::product.added', [{
49
+ product,
50
+ position: this.products.indexOf(product) + 1,
51
+ cartItem,
52
+ cartId: event?.detail?.data?.id,
53
+ source: 'basket_gap',
54
+ }]);
55
+ };
56
+ salla.lang.onLoaded(() => {
57
+ this.title = salla.lang.get('pages.cart.basket_gap_title');
58
+ this.addToCartLabel = salla.lang.get('pages.cart.add_to_cart');
59
+ this.weightLabel = salla.lang.get('pages.products.weight');
60
+ this.discountLabel = salla.lang.get('pages.products.discount');
61
+ });
62
+ }
63
+ componentWillLoad() {
64
+ salla.onReady().then(() => {
65
+ if (!salla.config.get('store.settings.cart.basket_gap')) {
66
+ this.canRender = false;
67
+ this.isLoading = false;
68
+ return;
69
+ }
70
+ this.title = salla.lang.get('pages.cart.basket_gap_title');
71
+ this.addToCartLabel = salla.lang.get('pages.cart.add_to_cart');
72
+ this.weightLabel = salla.lang.get('pages.products.weight');
73
+ this.discountLabel = salla.lang.get('pages.products.discount');
74
+ this.placeholder = salla.url.asset(salla.config.get('theme.settings.placeholder'));
75
+ const cachedCart = salla.storage.get('cart');
76
+ const cachedIds = (cachedCart?.items ?? []).map((i) => String(i.product_id)).filter(Boolean);
77
+ if (cachedIds.length) {
78
+ return this.fetchRecommendations(cachedIds);
79
+ }
80
+ return salla.api.cart.details()
81
+ .then(({ data: { cart } }) => {
82
+ const objectIDs = (cart?.items ?? []).map((i) => String(i.product_id)).filter(Boolean);
83
+ return this.fetchRecommendations(objectIDs);
84
+ })
85
+ .catch(() => {
86
+ this.canRender = false;
87
+ this.isLoading = false;
88
+ });
89
+ });
90
+ }
91
+ componentDidLoad() {
92
+ this.positionUnderCartItems();
93
+ }
94
+ componentDidUpdate() {
95
+ document.lazyLoadInstance?.update(this.host.querySelectorAll('.lazy'));
96
+ this.positionUnderCartItems();
97
+ }
98
+ /**
99
+ * Cart item rows on the storefront cart page (excluding the order-options block).
100
+ * Kept defensive: themes that don't use the `form[id^="item-"]` pattern return none.
101
+ */
102
+ getCartItemForms(root = document) {
103
+ return Array.from(root.querySelectorAll('form[id^="item-"]'))
104
+ .filter((form) => !form.closest('.cart-options'));
105
+ }
106
+ /**
107
+ * The component is injected at the theme's `cart:items.end` hook, which may sit
108
+ * below the order options/offers. Move the host to render directly under the
109
+ * cart items. No-ops when the cart item pattern isn't present.
110
+ */
111
+ positionUnderCartItems() {
112
+ const items = this.getCartItemForms();
113
+ const lastItem = items[items.length - 1];
114
+ if (lastItem && lastItem.nextElementSibling !== this.host) {
115
+ lastItem.after(this.host);
116
+ }
117
+ }
118
+ /**
119
+ * Reflect a newly added product in the cart list without a full page reload.
120
+ * The whole item list is replaced with the fresh server-rendered rows because
121
+ * Salla re-assigns cart line-item ids on add, so diffing by id would duplicate
122
+ * the existing rows. No-ops on themes without the cart item markup.
123
+ */
124
+ syncCartItemsDom(cartItems) {
125
+ if (!cartItems?.length || this.isSyncingCart)
126
+ return;
127
+ const missing = cartItems.filter((item) => !document.getElementById('item-' + item.id));
128
+ if (!missing.length)
129
+ return;
130
+ this.isSyncingCart = true;
131
+ fetch(window.location.href, { headers: { 'X-Requested-With': 'XMLHttpRequest' }, credentials: 'same-origin' })
132
+ .then((res) => res.text())
133
+ .then((html) => {
134
+ const doc = new DOMParser().parseFromString(html, 'text/html');
135
+ const freshForms = this.getCartItemForms(doc);
136
+ const currentForms = this.getCartItemForms();
137
+ if (!freshForms.length || !currentForms.length)
138
+ return;
139
+ const firstCurrent = currentForms[0];
140
+ const parent = firstCurrent.parentElement;
141
+ if (!parent)
142
+ return;
143
+ // Insert the fresh rows in place of the current ones, then drop the old rows.
144
+ freshForms.forEach((form) => {
145
+ parent.insertBefore(document.importNode(form, true), firstCurrent);
146
+ });
147
+ currentForms.forEach((form) => form.remove());
148
+ document.lazyLoadInstance?.update?.();
149
+ this.positionUnderCartItems();
150
+ })
151
+ .catch(() => { })
152
+ .finally(() => { this.isSyncingCart = false; });
153
+ }
154
+ connectedCallback() {
155
+ salla.event.on('cart::item.added', this.cartItemChangedHandler);
156
+ salla.event.on('cart::item.deleted', this.cartItemChangedHandler);
157
+ // Tag adds originating from a basket-gap recommendation so the cart auto-track
158
+ // is suppressed in favour of our attributed `salla-basket-gap::product.added`.
159
+ salla.event.on('cart::before.add.item', this.beforeAddItemHandler);
160
+ this.host.addEventListener('success', this.addButtonSuccessHandler);
161
+ }
162
+ disconnectedCallback() {
163
+ salla.event.off('cart::item.added', this.cartItemChangedHandler);
164
+ salla.event.off('cart::item.deleted', this.cartItemChangedHandler);
165
+ salla.event.off('cart::before.add.item', this.beforeAddItemHandler);
166
+ this.host.removeEventListener('success', this.addButtonSuccessHandler);
167
+ }
168
+ // The recommendation API receives at most 5 cart product IDs, so it can return
169
+ // products that are already in the cart (those beyond the 5-item payload limit).
170
+ // We filter them out here to avoid showing items the customer already has.
171
+ // cartProductIds may be passed in directly from a live event payload; otherwise
172
+ // we fall back to storage (which can lag behind on the initial load path).
173
+ getCartProductIds(knownIds) {
174
+ if (knownIds?.length)
175
+ return new Set(knownIds);
176
+ const cart = salla.storage.get('cart');
177
+ return new Set((cart?.items ?? []).map((i) => String(i.product_id)).filter(Boolean));
178
+ }
179
+ fetchRecommendations(objectIDs) {
180
+ if (!objectIDs.length) {
181
+ this.canRender = false;
182
+ this.isLoading = false;
183
+ return Promise.resolve();
184
+ }
185
+ const generation = ++this.fetchGeneration;
186
+ return fetchCartBoughtTogether(objectIDs)
187
+ .then((ids) => {
188
+ if (generation !== this.fetchGeneration)
189
+ return;
190
+ // Pass objectIDs as the authoritative cart list so the filter is not
191
+ // affected by stale storage when called from a live cart event.
192
+ const cartIds = this.getCartProductIds(objectIDs);
193
+ const filteredIds = ids.filter(id => !cartIds.has(id));
194
+ if (!filteredIds.length) {
195
+ this.canRender = false;
196
+ return;
197
+ }
198
+ return this.fetchProducts(filteredIds.slice(0, this.limit), generation);
199
+ })
200
+ .catch(() => {
201
+ if (generation !== this.fetchGeneration)
202
+ return;
203
+ this.canRender = false;
204
+ })
205
+ .finally(() => {
206
+ if (generation !== this.fetchGeneration)
207
+ return;
208
+ this.isLoading = false;
209
+ });
210
+ }
211
+ fetchProducts(ids, generation) {
212
+ return salla.api.withoutNotifier(() => salla.product.api.fetch({
213
+ source: 'selected',
214
+ source_value: ids,
215
+ limit: this.limit,
216
+ })).then((response) => {
217
+ if (generation !== this.fetchGeneration)
218
+ return;
219
+ this.products = response?.data ?? [];
220
+ this.canRender = this.products.length > 0;
221
+ }).catch(() => {
222
+ if (generation !== this.fetchGeneration)
223
+ return;
224
+ this.canRender = false;
225
+ });
226
+ }
227
+ getDiscountLabel(product) {
228
+ if (product.promotion_title)
229
+ return product.promotion_title;
230
+ if (product.is_on_sale && product.regular_price > 0 && product.sale_price > 0) {
231
+ const percent = Math.round((1 - product.sale_price / product.regular_price) * 100);
232
+ return percent > 0 ? `${this.discountLabel} ${percent}%` : null;
233
+ }
234
+ return null;
235
+ }
236
+ formatDate(timestamp) {
237
+ const d = new Date(timestamp * 1000);
238
+ const mm = String(d.getMonth() + 1).padStart(2, '0');
239
+ const dd = String(d.getDate()).padStart(2, '0');
240
+ return `${d.getFullYear()}-${mm}-${dd}`;
241
+ }
242
+ getSkeletonView() {
243
+ return (h(Host, { class: "s-basket-gap-entry" }, h("div", { class: "s-basket-gap-skeleton" }, h("salla-skeleton", { height: "16px", width: "40%", style: { marginBottom: '16px' } }), Array(3).fill(null).map((_, i) => (h("div", { key: i, class: "s-basket-gap-skeleton-card" }, h("salla-skeleton", { height: "64px", width: "64px", style: { borderRadius: '8px', flexShrink: '0' } }), h("div", { class: "s-basket-gap-skeleton-info" }, h("salla-skeleton", { height: "14px", width: "50%" }), h("salla-skeleton", { height: "12px", width: "25%", style: { marginTop: '6px' } }), h("salla-skeleton", { height: "10px", width: "35%", style: { marginTop: '4px' } })), h("salla-skeleton", { height: "36px", width: "100px", style: { borderRadius: '6px', flexShrink: '0', marginInlineStart: 'auto' } })))))));
244
+ }
245
+ getProductCard(product) {
246
+ const discountLabel = this.getDiscountLabel(product);
247
+ return (h("div", { key: product.id, class: "s-basket-gap-card" }, h("a", { href: product.url, class: "s-basket-gap-card-image" }, h("img", { class: "lazy", src: this.placeholder, "data-src": product.image?.url, alt: product.image?.alt || product.name })), h("div", { class: "s-basket-gap-card-info" }, h("h3", { class: "s-basket-gap-card-name" }, h("a", { href: product.url }, product.name)), product.is_on_sale
248
+ ? h("div", { class: "s-basket-gap-card-sale-price" }, h("span", { innerHTML: salla.money(product.sale_price) }), h("del", { innerHTML: salla.money(product.regular_price) }))
249
+ : h("span", { class: "s-basket-gap-card-price", innerHTML: salla.money(product.price) }), product.weight_label && (h("span", { class: "s-basket-gap-card-weight" }, this.weightLabel, " ", product.weight_label))), (product.promotion_title || product.discount_ends || product.is_on_sale) && (h("div", { class: "s-basket-gap-card-offer" }, h("i", { class: "sicon-gift" }), discountLabel && h("span", null, discountLabel), product.discount_ends && [
250
+ h("salla-count-down", { date: this.formatDate(product.discount_ends), "end-of-day": true, digits: "en" }),
251
+ h("i", { class: "sicon-alarm" }),
252
+ ])), h("salla-add-product-button", { class: "s-basket-gap-card-btn", "product-id": product.id, "product-status": product.status, "product-type": product.type }, this.addToCartLabel)));
253
+ }
254
+ render() {
255
+ if (!this.canRender)
256
+ return null;
257
+ if (this.isLoading)
258
+ return this.getSkeletonView();
259
+ if (!this.products.length)
260
+ return null;
261
+ return (h(Host, { class: "s-basket-gap-entry" }, this.title && h("h2", { class: "s-basket-gap-title" }, this.title), h("div", { class: "s-basket-gap-list" }, this.products.map(product => this.getProductCard(product)))));
262
+ }
263
+ get host() { return getElement(this); }
264
+ };
265
+ SallaBasketGap.style = sallaBasketGapCss;
266
+
267
+ export { SallaBasketGap as salla_basket_gap };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DW5RMC3M.js';
5
5
  import { S as SICalendar } from './calendar-BkmanTR_.js';
6
6
  import { A as ArrowDown } from './keyboard_arrow_down-DCZbpt2a.js';
7
7
  import { p as plusIcon, m as minusIcon } from './minus-DfeagqF1.js';
@@ -358,7 +358,7 @@ const SallaColorPicker = class {
358
358
  }
359
359
  }
360
360
  initColorPicker() {
361
- this.pickerReady = import('./vanilla-picker-kF8Cgi5q.js').then(function (n) { return n.v; }).then(mod => {
361
+ this.pickerReady = import('./vanilla-picker-DKozn4lm.js').then(function (n) { return n.v; }).then(mod => {
362
362
  const Picker = mod.default;
363
363
  const picker = new Picker({
364
364
  parent: this.host,
@@ -818,13 +818,13 @@ const SallaFileUpload = class {
818
818
  return;
819
819
  try {
820
820
  const [FilePondModule, FilePondPluginFileValidateSize, FilePondPluginImageExifOrientation, FilePondPluginImagePreview, FilePondPluginImageEdit, FilePondPluginFileValidateType, FilePondPluginFilePoster] = await Promise.all([
821
- import('./filepond-DjtqIoeD.js').then(function (n) { return n.f; }),
822
- import('./filepond-plugin-file-validate-size-BnBRYL0y.js').then(function (n) { return n.f; }),
823
- import('./filepond-plugin-image-exif-orientation-ngtve06j.js').then(function (n) { return n.f; }),
824
- import('./filepond-plugin-image-preview-aqxBqAYf.js').then(function (n) { return n.f; }),
825
- import('./filepond-plugin-image-edit-DyMeCzTZ.js').then(function (n) { return n.f; }),
826
- import('./filepond-plugin-file-validate-type-Dr5ofT9v.js').then(function (n) { return n.f; }),
827
- import('./filepond-plugin-file-poster-CFxoEHLP.js').then(function (n) { return n.f; })
821
+ import('./filepond-DQgEXp69.js').then(function (n) { return n.f; }),
822
+ import('./filepond-plugin-file-validate-size-CwWpBym0.js').then(function (n) { return n.f; }),
823
+ import('./filepond-plugin-image-exif-orientation-DQROYLkj.js').then(function (n) { return n.f; }),
824
+ import('./filepond-plugin-image-preview-CZCR-9d7.js').then(function (n) { return n.f; }),
825
+ import('./filepond-plugin-image-edit-DY-5oWCU.js').then(function (n) { return n.f; }),
826
+ import('./filepond-plugin-file-validate-type-CovRSsjJ.js').then(function (n) { return n.f; }),
827
+ import('./filepond-plugin-file-poster-BE5-JUQb.js').then(function (n) { return n.f; })
828
828
  ]);
829
829
  this.FilePond = FilePondModule;
830
830
  // Register plugins
@@ -1425,7 +1425,7 @@ const SallaTelInput = class {
1425
1425
  if (this.TelInput)
1426
1426
  return;
1427
1427
  try {
1428
- const telInputModule = await import('./index-CaZkz-p0.js').then(function (n) { return n.i; });
1428
+ const telInputModule = await import('./index-VUPjm0uj.js').then(function (n) { return n.i; });
1429
1429
  this.TelInput = telInputModule.default;
1430
1430
  }
1431
1431
  catch (error) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h as h$4, H as Host, a as getElement } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, c as createEvent, h as h$4, H as Host, a as getElement } from './index-DW5RMC3M.js';
5
5
  import { L as Location } from './location-BO5AoBAP.js';
6
6
  import { S as Search } from './search-BscTeWDc.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DW5RMC3M.js';
5
5
 
6
6
  const sallaCartCouponsCss = ".s-cart-coupons-applied-list{display:flex;flex-direction:column;gap:8px;margin-top:12px}.s-cart-coupons-applied-item{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;border-inline-start:3px solid #10b981}.s-cart-coupons-applied-code{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#111827}.s-cart-coupons-applied-code::before{content:\"\";width:7px;height:7px;border-radius:9999px;background:#10b981}.s-cart-coupons-applied-remove{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;color:#ef4444;background:transparent;border:0;border-radius:9999px;cursor:pointer;transition:background-color 0.15s ease, color 0.15s ease}.s-cart-coupons-applied-remove:hover{background:#fef2f2}.s-cart-coupons-applied-remove:disabled{opacity:0.5;cursor:not-allowed}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DW5RMC3M.js';
5
5
  import { S as SpecialDiscountIcon } from './special-discount-Ctkfc4K-.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
7
  import { T as TagMoneyIcon } from './tag-money-CJUR4sUM.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DW5RMC3M.js';
5
5
 
6
6
  const SKELETON_ROWS = [
7
7
  { label: '100px', value: '56px' },
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DW5RMC3M.js';
5
5
 
6
6
  var StarFilledIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
7
7
  <g clip-path="url(#clip0_5667_2008)">
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h } from './index-DW5RMC3M.js';
5
5
 
6
6
  const sallaCommentsCss = ":host{display:block}.s-comments-item-review-factors-toggle{display:inline-flex;align-items:center;gap:0.35rem;padding:0;border:0;background:transparent;color:#0f6a7c;font-size:0.9rem;font-weight:500;cursor:pointer}.s-comments-item-review-factors-chevron{line-height:1;transform:rotate(180deg);transition:transform 0.2s ease}.s-comments-item-review-factors-chevron.is-open{transform:rotate(0deg)}.s-comments-item-review-factors{border:1px solid #e8e8e8;background:rgba(255, 255, 255, 0.3);border-radius:0.6rem;width:min(100%, 26rem);max-width:100%;margin:0 0 1rem;padding:0.85rem 1rem}@media (max-width: 767px){.s-comments-item-review-factors{width:100%;padding:0.75rem}}.s-comments-item-review-factor-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;direction:ltr;min-width:0}@media (max-width: 767px){.s-comments-item-review-factor-row{flex-direction:row;align-items:stretch;gap:0.35rem}}.s-comments-item-review-factor-row+.s-comments-item-review-factor-row{margin-top:0.5rem}.s-comments-item-review-factor-label,.s-comments-item-review-factor-name{color:#4b5563;font-size:0.9rem;line-height:1.45}.s-comments-item-review-factor-name{min-width:6.5rem;text-align:end;flex-shrink:0}@media (max-width: 767px){.s-comments-item-review-factor-name{min-width:5rem;text-align:end}}.s-comments-item-review-factor-label{display:inline-block;min-width:4.75rem}@media (max-width: 767px){.s-comments-item-review-factor-label{min-width:0;flex:1 1 auto}}.s-comments-item-review-factor-value{display:inline-flex;align-items:center;gap:0.35rem;min-width:0}@media (max-width: 767px){.s-comments-item-review-factor-value{width:100%;justify-content:space-between;gap:0.25rem}}.s-comments-item-review-factor-stars{flex-shrink:0}.s-comments-item-review-factor-stars .s-rating-stars-wrapper{gap:0}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement, i as require_root, j as requireIsObject, k as requireIsSymbol, d as getDefaultExportFromCjs } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement, i as require_root, j as requireIsObject, k as requireIsSymbol, d as getDefaultExportFromCjs } from './index-DW5RMC3M.js';
5
5
  import { S as SICheck } from './check-BZp0rKEO.js';
6
6
  import { a as anime } from './anime.es-CgtvEd63.js';
7
7
  import { H as Helper } from './Helper-BQ9mvrt9.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DW5RMC3M.js';
5
5
 
6
6
  var DiscountType;
7
7
  (function (DiscountType) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DW5RMC3M.js';
5
5
  import { W as WhatsappIcon } from './whatsapp2-CgR-T_ZS.js';
6
6
  import { e as email } from './mail-DzAIgzdz.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DW5RMC3M.js';
5
5
 
6
6
  const sallaCookiesBarCss = ":host{display:block;overflow:visible}.s-cookies-bar{box-shadow:0 0 20px 4px rgba(0, 0, 0, 0.15)}.s-cookies-bar-btn--active{box-shadow:0 0 0 2px rgba(0, 0, 0, 0.08)}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DW5RMC3M.js';
5
5
 
6
6
  const sallaCountDownCss = ".s-count-down-horizontal{background-color:rgba(0, 0, 0, 0.06);background-color:color-mix(in srgb, var(--color-primary) 10%, transparent)}";
7
7
 
@@ -129,7 +129,8 @@ const SallaCountDown = class {
129
129
  return !isNaN(Date.parse(testedDate));
130
130
  }
131
131
  number(digit) {
132
- return salla.helpers.number(digit, this.digits === 'en');
132
+ const value = String(Math.max(0, Math.floor(digit))).padStart(2, '0');
133
+ return salla.helpers.number(value, this.digits === 'en');
133
134
  }
134
135
  startCountDown() {
135
136
  const normalized = this.normalizeDate(this.date);
@@ -232,7 +233,7 @@ const SallaCountDown = class {
232
233
  return this.renderCountDown();
233
234
  }
234
235
  render() {
235
- return (h(Host, { key: '966a6ce961c0cc07b937d9b8e328211377084d44', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''} ${this.horizontal ? 's-count-down-horizontal' : ''} ${this.withButton ? 's-count-down-with-button' : ''} ${this.offerEnded ? 's-count-down-ended' : ''}` }, this.renderPrefixText(), this.renderContent(), this.offerEnded && this.renderOfferEnded(), this.renderButton()));
236
+ return (h(Host, { key: 'e2805e528a52b71ad71f4f1f16a473947dafb5bc', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''} ${this.horizontal ? 's-count-down-horizontal' : ''} ${this.withButton ? 's-count-down-with-button' : ''} ${this.offerEnded ? 's-count-down-ended' : ''}` }, this.renderPrefixText(), this.renderContent(), this.offerEnded && this.renderOfferEnded(), this.renderButton()));
236
237
  }
237
238
  };
238
239
  SallaCountDown.style = sallaCountDownCss;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, c as createEvent, h } from './index-DW5RMC3M.js';
5
5
  import { C as CameraIcon } from './camera-C6jIkM-X.js';
6
6
  import { F as FormFieldTypes } from './interfaces-OF8QcbMM.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DW5RMC3M.js';
5
5
 
6
6
  const DEBUG_KEY = 'salla-delivery-promise-debug';
7
7
  function log(message, data) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DW5RMC3M.js';
5
5
 
6
6
  const sallaEditOrderButtonCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DW5RMC3M.js';
5
5
  import { H as Helper } from './Helper-BQ9mvrt9.js';
6
6
  import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
7
7
  import './anime.es-CgtvEd63.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DW5RMC3M.js';
5
5
  import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
6
6
  import { H as Helper } from './Helper-BQ9mvrt9.js';
7
7
  import './anime.es-CgtvEd63.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DW5RMC3M.js';
5
5
 
6
6
  const SallaFulfillmentMethods = class {
7
7
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h } from './index-DW5RMC3M.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
  import { a as arrowLeft } from './arrow-left-BedNk7k1.js';
7
7
  import { S as SICancel } from './cancel-8Tsmrwno.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DW5RMC3M.js';
5
5
 
6
6
  const SallaHook = class {
7
7
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DW5RMC3M.js';
5
5
  import { H as Helper } from './Helper-BQ9mvrt9.js';
6
6
  import './anime.es-CgtvEd63.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-DW5RMC3M.js';
5
5
 
6
6
  const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}.s-installment-klarna-wrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;padding:10px}.salla-y .s-installment-klarna-wrapper{border:1px solid var(--color-grey-dark);border-radius:12px}.s-installment-klarna-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h, H as Host } from './index-DW5RMC3M.js';
5
5
 
6
6
  const sallaListTileCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-DW5RMC3M.js';
5
5
 
6
6
  const SallaLocalizationModal = class {
7
7
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, F as Fragment, a as getElement } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h, F as Fragment, a as getElement } from './index-DW5RMC3M.js';
5
5
 
6
6
  const sallaLoginModalCss = "iframe{-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;-webkit-transition:height 0.3s;transition:height 0.3s;width:100%}";
7
7
 
@@ -1,9 +1,9 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DuoSRdS5.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-DW5RMC3M.js';
5
5
  import { S as SIGift } from './gift-CXRKXFgT.js';
6
- import { T as TrackedPromise } from './tracked-promise-CUM6cNiF.js';
6
+ import { T as TrackedPromise } from './tracked-promise-CZ98bqyM.js';
7
7
 
8
8
  const sallaLoyaltyProgramCss = "@media (max-width: 639px){.s-loyalty-program-modal .s-modal-body{position:relative !important;left:unset !important;bottom:unset !important;max-height:100dvh;overflow-y:auto !important}}.s-loyalty-exchange-card salla-product-card .s-product-card-image,.s-loyalty-exchange-card custom-salla-product-card .s-product-card-image{flex:none;aspect-ratio:1;overflow:hidden}.s-loyalty-exchange-card-btn{padding:0 1.25rem 1.25rem;margin-top:0.75rem}.s-loyalty-program-reward-details-products-grid{display:flex;flex-wrap:wrap;gap:1rem;margin-top:0.75rem}.s-loyalty-program-reward-details-products-grid>*{flex:1 1 100%;min-width:0;touch-action:pan-y}@media (min-width: 640px){.s-loyalty-program-reward-details-products-grid>*{flex-basis:calc((100% - 1rem) / 2)}}@media (min-width: 768px){.s-loyalty-program-reward-details-products-grid>*{flex-basis:calc((100% - 2rem) / 3)}}.s-loyalty-program-reward-details-products-grid>*:only-child{max-width:320px;margin-inline:auto}.s-loyalty-program-reward-details-products-grid:has(>*:nth-child(3))>*{flex-grow:0}";
9
9
 
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-DuoSRdS5.js';
5
- import { c as closeModals, b as brand_path, f as formattedPointsJsx } from './functions-Drikk4uf.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-DW5RMC3M.js';
5
+ import { c as closeModals, b as brand_path, f as formattedPointsJsx } from './functions-DWD7tnLk.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
7
  import { S as SITag } from './tag-cgSL_BIo.js';
8
8
  import { S as SICheck } from './check-BZp0rKEO.js';
9
9
  import { S as SICancel } from './cancel-8Tsmrwno.js';
10
- import { T as TrackedPromise } from './tracked-promise-CUM6cNiF.js';
10
+ import { T as TrackedPromise } from './tracked-promise-CZ98bqyM.js';
11
11
 
12
12
  const sallaLoyaltyProgramCss$4 = "@media (max-width: 639px){.s-loyalty-program-modal .s-modal-body{position:relative !important;left:unset !important;bottom:unset !important;max-height:100dvh;overflow-y:auto !important}}.s-loyalty-exchange-card salla-product-card .s-product-card-image,.s-loyalty-exchange-card custom-salla-product-card .s-product-card-image{flex:none;aspect-ratio:1;overflow:hidden}.s-loyalty-exchange-card-btn{padding:0 1.25rem 1.25rem;margin-top:0.75rem}.s-loyalty-program-reward-details-products-grid{display:flex;flex-wrap:wrap;gap:1rem;margin-top:0.75rem}.s-loyalty-program-reward-details-products-grid>*{flex:1 1 100%;min-width:0;touch-action:pan-y}@media (min-width: 640px){.s-loyalty-program-reward-details-products-grid>*{flex-basis:calc((100% - 1rem) / 2)}}@media (min-width: 768px){.s-loyalty-program-reward-details-products-grid>*{flex-basis:calc((100% - 2rem) / 3)}}.s-loyalty-program-reward-details-products-grid>*:only-child{max-width:320px;margin-inline:auto}.s-loyalty-program-reward-details-products-grid:has(>*:nth-child(3))>*{flex-grow:0}";
13
13