@salla.sa/twilight-components 2.14.554 → 2.14.556

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 (332) hide show
  1. package/dist/cjs/{Helper-D1YsoJud.js → Helper-N5wrs9vm.js} +36 -0
  2. package/dist/cjs/{filepond-plugin-file-poster-C18vZN4-.js → filepond-plugin-file-poster-DNZM6Czl.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-DDdErCkO.js → filepond-plugin-file-validate-size-BPMIodJt.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-BIIIZDTF.js → filepond-plugin-file-validate-type-DgYmyGCI.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-Dy_kmMTy.js → filepond-plugin-image-edit-B4itf01h.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-r9AvWT2R.js → filepond-plugin-image-exif-orientation-Dj43xu10.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-DFS8KaQR.js → filepond-plugin-image-preview-C6Gm9i9o.js} +1 -1
  8. package/dist/cjs/{filepond-ENm3Nngf.js → filepond-t0Yy69qV.js} +1 -1
  9. package/dist/cjs/{index-CdUTvkg8.js → index-DyL5Ypj3.js} +3 -3
  10. package/dist/cjs/{intlTelInput-D-fhnv0v.js → intlTelInput-BTUy-aYK.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +2 -2
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +2 -2
  15. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-applied-filters.cjs.entry.js +2 -2
  19. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-attachment-view_9.cjs.entry.js +11 -11
  21. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-basket-gap.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-bullet-delivery_3.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_9.cjs.entry.js +2 -2
  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 +1 -1
  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 +2 -2
  38. package/dist/cjs/salla-filters.cjs.entry.js +2 -2
  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 +2 -2
  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_10.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-exchange-product-card.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-map_3.cjs.entry.js +13 -9
  55. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-notification-item_2.cjs.entry.js +2 -2
  62. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-cancel.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-order-shipments.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-orders.cjs.entry.js +2 -2
  76. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-product-card.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-products-list.cjs.entry.js +21 -2
  83. package/dist/cjs/salla-products-slider.cjs.entry.js +7 -2
  84. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +2 -2
  86. package/dist/cjs/salla-rating-modal.cjs.entry.js +2 -2
  87. package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-review-order-item.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-search.cjs.entry.js +2 -2
  91. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  98. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  100. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  101. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  102. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  103. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
  104. package/dist/cjs/twilight.cjs.js +1 -1
  105. package/dist/cjs/{vanilla-picker-DkM8pn5M.js → vanilla-picker-C_t8j4f7.js} +1 -1
  106. package/dist/collection/Helpers/Helper.js +36 -0
  107. package/dist/collection/components/salla-products-list/salla-products-list.js +19 -0
  108. package/dist/collection/components/salla-products-slider/salla-products-slider.js +5 -0
  109. package/dist/collection/components/salla-slider/salla-slider.js +12 -8
  110. package/dist/components/Helper.js +36 -0
  111. package/dist/components/index.js +3 -3
  112. package/dist/components/salla-products-list2.js +19 -0
  113. package/dist/components/salla-products-slider2.js +5 -0
  114. package/dist/components/salla-slider2.js +12 -8
  115. package/dist/esm/{Helper-DsjZ6kte.js → Helper-Cql-WbqR.js} +36 -0
  116. package/dist/esm/{filepond-CfR9FvSg.js → filepond-Dl-e9LIA.js} +1 -1
  117. package/dist/esm/{filepond-plugin-file-poster-B6F5nK4V.js → filepond-plugin-file-poster-B44qzFr7.js} +1 -1
  118. package/dist/esm/{filepond-plugin-file-validate-size-BxIzTBd4.js → filepond-plugin-file-validate-size-DeewGi6D.js} +1 -1
  119. package/dist/esm/{filepond-plugin-file-validate-type-DfUPdGXA.js → filepond-plugin-file-validate-type-DquQHM9K.js} +1 -1
  120. package/dist/esm/{filepond-plugin-image-edit-Ddgh5YPx.js → filepond-plugin-image-edit-DPSC2V4u.js} +1 -1
  121. package/dist/esm/{filepond-plugin-image-exif-orientation-BHjeleJe.js → filepond-plugin-image-exif-orientation-A-4MC3po.js} +1 -1
  122. package/dist/esm/{filepond-plugin-image-preview-Cp3-aadR.js → filepond-plugin-image-preview-vvc3KNls.js} +1 -1
  123. package/dist/esm/{index-ku9UdoB5.js → index-BJmvvw9H.js} +3 -3
  124. package/dist/esm/{intlTelInput-BJzNl4Ic.js → intlTelInput-DFX9QeWQ.js} +1 -1
  125. package/dist/esm/loader.js +2 -2
  126. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  127. package/dist/esm/salla-accordion_6.entry.js +2 -2
  128. package/dist/esm/salla-add-product-button_5.entry.js +2 -2
  129. package/dist/esm/salla-advertisement.entry.js +1 -1
  130. package/dist/esm/salla-alert_2.entry.js +1 -1
  131. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  132. package/dist/esm/salla-applied-filters.entry.js +2 -2
  133. package/dist/esm/salla-apps-icons.entry.js +1 -1
  134. package/dist/esm/salla-attachment-view_9.entry.js +11 -11
  135. package/dist/esm/salla-badge.entry.js +1 -1
  136. package/dist/esm/salla-basket-gap.entry.js +1 -1
  137. package/dist/esm/salla-bullet-delivery_3.entry.js +1 -1
  138. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  139. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  140. package/dist/esm/salla-cart-summary-card.entry.js +1 -1
  141. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  142. package/dist/esm/salla-comment-factors.entry.js +1 -1
  143. package/dist/esm/salla-comment-form_9.entry.js +2 -2
  144. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  145. package/dist/esm/salla-contacts.entry.js +1 -1
  146. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  147. package/dist/esm/salla-count-down_2.entry.js +1 -1
  148. package/dist/esm/salla-custom-fields.entry.js +1 -1
  149. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  150. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  151. package/dist/esm/salla-filters-widget.entry.js +2 -2
  152. package/dist/esm/salla-filters.entry.js +2 -2
  153. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  154. package/dist/esm/salla-gifting.entry.js +1 -1
  155. package/dist/esm/salla-hook.entry.js +1 -1
  156. package/dist/esm/salla-infinite-scroll.entry.js +2 -2
  157. package/dist/esm/salla-installment.entry.js +1 -1
  158. package/dist/esm/salla-list-tile.entry.js +1 -1
  159. package/dist/esm/salla-localization-modal.entry.js +1 -1
  160. package/dist/esm/salla-login-modal.entry.js +1 -1
  161. package/dist/esm/salla-loyalty-banner_10.entry.js +1 -1
  162. package/dist/esm/salla-loyalty-exchange-product-card.entry.js +1 -1
  163. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  164. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  165. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  166. package/dist/esm/salla-loyalty.entry.js +1 -1
  167. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  168. package/dist/esm/salla-map_3.entry.js +13 -9
  169. package/dist/esm/salla-menu.entry.js +1 -1
  170. package/dist/esm/salla-metadata.entry.js +1 -1
  171. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  172. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  173. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  174. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  175. package/dist/esm/salla-notification-item_2.entry.js +2 -2
  176. package/dist/esm/salla-offer-modal.entry.js +1 -1
  177. package/dist/esm/salla-offer.entry.js +1 -1
  178. package/dist/esm/salla-order-branch.entry.js +1 -1
  179. package/dist/esm/salla-order-cancel.entry.js +1 -1
  180. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  181. package/dist/esm/salla-order-details-options.entry.js +1 -1
  182. package/dist/esm/salla-order-details.entry.js +1 -1
  183. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  184. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  185. package/dist/esm/salla-order-edit.entry.js +1 -1
  186. package/dist/esm/salla-order-shipments.entry.js +1 -1
  187. package/dist/esm/salla-order-summary.entry.js +1 -1
  188. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  189. package/dist/esm/salla-orders.entry.js +2 -2
  190. package/dist/esm/salla-payments.entry.js +1 -1
  191. package/dist/esm/salla-placeholder.entry.js +1 -1
  192. package/dist/esm/salla-price-range.entry.js +1 -1
  193. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  194. package/dist/esm/salla-product-card.entry.js +1 -1
  195. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  196. package/dist/esm/salla-products-list.entry.js +21 -2
  197. package/dist/esm/salla-products-slider.entry.js +7 -2
  198. package/dist/esm/salla-quick-order.entry.js +1 -1
  199. package/dist/esm/salla-rating-modal-v2.entry.js +2 -2
  200. package/dist/esm/salla-rating-modal.entry.js +2 -2
  201. package/dist/esm/salla-review-factors-tags.entry.js +1 -1
  202. package/dist/esm/salla-review-order-item.entry.js +1 -1
  203. package/dist/esm/salla-scopes.entry.js +1 -1
  204. package/dist/esm/salla-search.entry.js +2 -2
  205. package/dist/esm/salla-skeleton.entry.js +1 -1
  206. package/dist/esm/salla-social-share.entry.js +1 -1
  207. package/dist/esm/salla-social.entry.js +1 -1
  208. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  209. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  210. package/dist/esm/salla-tooltip.entry.js +1 -1
  211. package/dist/esm/salla-trust-badges.entry.js +1 -1
  212. package/dist/esm/salla-user-menu.entry.js +1 -1
  213. package/dist/esm/salla-user-profile.entry.js +1 -1
  214. package/dist/esm/salla-user-settings.entry.js +1 -1
  215. package/dist/esm/salla-verify.entry.js +1 -1
  216. package/dist/esm/salla-wallet.entry.js +1 -1
  217. package/dist/esm/salla-wishlist-actions.entry.js +1 -1
  218. package/dist/esm/twilight.js +2 -2
  219. package/dist/esm/{vanilla-picker-BUvwVv9C.js → vanilla-picker-Ld2F0WbU.js} +1 -1
  220. package/dist/twilight/{p-04b36a74.entry.js → p-08fa9f0b.entry.js} +1 -1
  221. package/dist/twilight/{p-e3c03f82.entry.js → p-0d3be88f.entry.js} +1 -1
  222. package/dist/twilight/{p-1ea8b6d8.entry.js → p-1066a05c.entry.js} +1 -1
  223. package/dist/twilight/{p-a8e3d089.entry.js → p-11afb8be.entry.js} +1 -1
  224. package/dist/twilight/{p-3ab74f2e.entry.js → p-12a43d43.entry.js} +1 -1
  225. package/dist/twilight/{p-1a469fb0.entry.js → p-13011571.entry.js} +1 -1
  226. package/dist/twilight/{p-6be9d80d.entry.js → p-164cb0d8.entry.js} +1 -1
  227. package/dist/twilight/{p-fb6d8401.entry.js → p-17522796.entry.js} +1 -1
  228. package/dist/twilight/{p-a24943e9.entry.js → p-1882e5b9.entry.js} +1 -1
  229. package/dist/twilight/{p-f5de77c3.entry.js → p-1b97e436.entry.js} +1 -1
  230. package/dist/twilight/{p-dfbdadbe.entry.js → p-275b49b7.entry.js} +1 -1
  231. package/dist/twilight/{p-17fadc87.entry.js → p-2815c25a.entry.js} +1 -1
  232. package/dist/twilight/{p-95e0a312.entry.js → p-291d6f2b.entry.js} +1 -1
  233. package/dist/twilight/{p-c5ce93d5.entry.js → p-2ce0c4ca.entry.js} +1 -1
  234. package/dist/twilight/{p-f28f5f74.entry.js → p-2f2956d9.entry.js} +1 -1
  235. package/dist/twilight/{p-1936f917.entry.js → p-2f59ef9c.entry.js} +1 -1
  236. package/dist/twilight/{p-123e9135.entry.js → p-2fddb802.entry.js} +1 -1
  237. package/dist/twilight/{p-99ff26ab.entry.js → p-3a1fd71a.entry.js} +1 -1
  238. package/dist/twilight/{p-9a0e1465.entry.js → p-3bba916f.entry.js} +1 -1
  239. package/dist/twilight/{p-c2b52564.entry.js → p-3eb18438.entry.js} +1 -1
  240. package/dist/twilight/{p-cf0a59a6.entry.js → p-3ec284fd.entry.js} +1 -1
  241. package/dist/twilight/{p-1eda5a96.entry.js → p-4023d48a.entry.js} +1 -1
  242. package/dist/twilight/{p-ad60b749.entry.js → p-427d38a0.entry.js} +1 -1
  243. package/dist/twilight/{p-fee06d0a.entry.js → p-45b85a45.entry.js} +1 -1
  244. package/dist/twilight/{p-ea4c9415.entry.js → p-4af910f1.entry.js} +1 -1
  245. package/dist/twilight/{p-26a18c7f.entry.js → p-4ca525cb.entry.js} +1 -1
  246. package/dist/twilight/{p-df068813.entry.js → p-4df9ca99.entry.js} +1 -1
  247. package/dist/twilight/{p-e747bb48.entry.js → p-4fdc296f.entry.js} +1 -1
  248. package/dist/twilight/{p-9486e09e.entry.js → p-5391291e.entry.js} +1 -1
  249. package/dist/twilight/{p-b574a386.entry.js → p-54b4dec6.entry.js} +1 -1
  250. package/dist/twilight/{p-f289cf85.entry.js → p-5527801b.entry.js} +1 -1
  251. package/dist/twilight/{p-94ee6712.entry.js → p-55c89592.entry.js} +1 -1
  252. package/dist/twilight/{p-5ff01328.entry.js → p-5ab257bf.entry.js} +1 -1
  253. package/dist/twilight/{p-ba461b3b.entry.js → p-5af2868f.entry.js} +1 -1
  254. package/dist/twilight/{p-0cf68108.entry.js → p-5b148ad4.entry.js} +1 -1
  255. package/dist/twilight/{p-3396b86e.entry.js → p-5ecc99df.entry.js} +1 -1
  256. package/dist/twilight/{p-2b21f1e9.entry.js → p-601013e8.entry.js} +1 -1
  257. package/dist/twilight/{p-01484bf0.entry.js → p-62dfd479.entry.js} +1 -1
  258. package/dist/twilight/{p-56ba07b9.entry.js → p-67efee3a.entry.js} +1 -1
  259. package/dist/twilight/{p-2c575150.entry.js → p-6b3e668c.entry.js} +1 -1
  260. package/dist/twilight/{p-166165af.entry.js → p-6d7629ee.entry.js} +1 -1
  261. package/dist/twilight/{p-6fa2b72f.entry.js → p-6e08f950.entry.js} +1 -1
  262. package/dist/twilight/{p-783dff94.entry.js → p-74f730e1.entry.js} +1 -1
  263. package/dist/twilight/{p-d26a4d0a.entry.js → p-75e126cc.entry.js} +1 -1
  264. package/dist/twilight/{p-2726700f.entry.js → p-7d0e8486.entry.js} +1 -1
  265. package/dist/twilight/{p-14276775.entry.js → p-7e7f0849.entry.js} +1 -1
  266. package/dist/twilight/{p-c4c39bd9.entry.js → p-88045527.entry.js} +1 -1
  267. package/dist/twilight/{p-4c7e19cf.entry.js → p-89a82ff5.entry.js} +1 -1
  268. package/dist/twilight/{p-796820a1.entry.js → p-8a640353.entry.js} +1 -1
  269. package/dist/twilight/{p-d87df6bb.entry.js → p-8d7bfcf6.entry.js} +1 -1
  270. package/dist/twilight/{p-8437142d.entry.js → p-90d5e633.entry.js} +1 -1
  271. package/dist/twilight/{p-d756ea47.entry.js → p-91351958.entry.js} +1 -1
  272. package/dist/twilight/{p-d19c812d.entry.js → p-918eb4b7.entry.js} +1 -1
  273. package/dist/twilight/{p-9aa24215.entry.js → p-91f9f647.entry.js} +1 -1
  274. package/dist/twilight/{p-c7910ae8.entry.js → p-92992a1e.entry.js} +1 -1
  275. package/dist/twilight/{p-a30c03f2.entry.js → p-95918a1a.entry.js} +1 -1
  276. package/dist/twilight/{p-c31a585e.entry.js → p-95b8806a.entry.js} +1 -1
  277. package/dist/twilight/{p-4046701a.entry.js → p-99702306.entry.js} +1 -1
  278. package/dist/twilight/{p-9c2b4ca2.entry.js → p-99af9a68.entry.js} +1 -1
  279. package/dist/twilight/p-BJmvvw9H.js +5 -0
  280. package/dist/twilight/{p-_vqDDk2C.js → p-BUfrGdXG.js} +1 -1
  281. package/dist/twilight/{p-Pyyf93a5.js → p-BscSw0sZ.js} +1 -1
  282. package/dist/twilight/{p-C1-96ybF.js → p-CLEHV1kt.js} +1 -1
  283. package/dist/twilight/p-CUSw0W26.js +4 -0
  284. package/dist/twilight/{p-Cr4_0D5C.js → p-DXzyepGb.js} +1 -1
  285. package/dist/twilight/{p-yevmK0Kl.js → p-DpFFhlK6.js} +1 -1
  286. package/dist/twilight/{p-gtQbb5kC.js → p-SDB-lCJg.js} +1 -1
  287. package/dist/twilight/{p-UhifliOR.js → p-VDJLgJLw.js} +1 -1
  288. package/dist/twilight/{p-0eRD7FGW.js → p-Ye-NG0xO.js} +1 -1
  289. package/dist/twilight/{p-6534ff1f.entry.js → p-a1738bf0.entry.js} +1 -1
  290. package/dist/twilight/p-a1ce8d6d.entry.js +4 -0
  291. package/dist/twilight/p-a893e7e3.entry.js +4 -0
  292. package/dist/twilight/{p-96fe4aab.entry.js → p-acc63da6.entry.js} +1 -1
  293. package/dist/twilight/{p-85a79d61.entry.js → p-b654ffbd.entry.js} +1 -1
  294. package/dist/twilight/{p-85cffeba.entry.js → p-ba5546ab.entry.js} +1 -1
  295. package/dist/twilight/{p-3fb91980.entry.js → p-bb082b47.entry.js} +1 -1
  296. package/dist/twilight/{p-6d9068ec.entry.js → p-bd68067a.entry.js} +1 -1
  297. package/dist/twilight/{p-fe2ab07f.entry.js → p-bfb82c90.entry.js} +1 -1
  298. package/dist/twilight/{p-c8fbf2b5.entry.js → p-c266feb3.entry.js} +1 -1
  299. package/dist/twilight/{p-04a4ad1e.entry.js → p-c4582e2b.entry.js} +1 -1
  300. package/dist/twilight/p-cb892619.entry.js +4 -0
  301. package/dist/twilight/{p-0cd9ed66.entry.js → p-cc3c48b4.entry.js} +1 -1
  302. package/dist/twilight/{p-8fedad10.entry.js → p-cddd3975.entry.js} +1 -1
  303. package/dist/twilight/{p-5fc810c0.entry.js → p-d16a17d2.entry.js} +1 -1
  304. package/dist/twilight/{p-fd6365cf.entry.js → p-d4263617.entry.js} +1 -1
  305. package/dist/twilight/{p-b0b3e350.entry.js → p-d5a486bb.entry.js} +1 -1
  306. package/dist/twilight/{p-02052c05.entry.js → p-d8808de5.entry.js} +1 -1
  307. package/dist/twilight/{p-cb0d5691.entry.js → p-d9e98286.entry.js} +1 -1
  308. package/dist/twilight/{p-dd9b7c3e.entry.js → p-dff3411a.entry.js} +1 -1
  309. package/dist/twilight/{p-eae027c3.entry.js → p-e0e614d1.entry.js} +1 -1
  310. package/dist/twilight/{p-f1a054c6.entry.js → p-e0f7a4e1.entry.js} +1 -1
  311. package/dist/twilight/{p-7401960d.entry.js → p-e1cca558.entry.js} +1 -1
  312. package/dist/twilight/{p-19160d81.entry.js → p-e209addd.entry.js} +1 -1
  313. package/dist/twilight/{p-5ed3f495.entry.js → p-e64ad9de.entry.js} +1 -1
  314. package/dist/twilight/{p-89fd6c49.entry.js → p-ec27e0f4.entry.js} +1 -1
  315. package/dist/twilight/{p-8f8ac48b.entry.js → p-f0c19b59.entry.js} +1 -1
  316. package/dist/twilight/{p-be7ff867.entry.js → p-f37147c7.entry.js} +1 -1
  317. package/dist/twilight/{p-e5a220c9.entry.js → p-f3eab493.entry.js} +1 -1
  318. package/dist/twilight/{p-fe7e6ccf.entry.js → p-f6e44ad6.entry.js} +1 -1
  319. package/dist/twilight/{p-64180f95.entry.js → p-fa1900ec.entry.js} +1 -1
  320. package/dist/twilight/{p-34193547.entry.js → p-fc0304bf.entry.js} +1 -1
  321. package/dist/twilight/{p-bd5aa915.entry.js → p-fdc36d7c.entry.js} +1 -1
  322. package/dist/twilight/{p-CzKSvXuO.js → p-pCB_h2Xn.js} +1 -1
  323. package/dist/twilight/twilight.esm.js +1 -1
  324. package/dist/types/Helpers/Helper.d.ts +27 -0
  325. package/dist/types/components/salla-products-list/salla-products-list.d.ts +1 -0
  326. package/dist/types/components/salla-products-slider/salla-products-slider.d.ts +1 -0
  327. package/package.json +5 -5
  328. package/dist/twilight/p-63b99e5f.entry.js +0 -4
  329. package/dist/twilight/p-D6rFREuQ.js +0 -4
  330. package/dist/twilight/p-aa0fa973.entry.js +0 -4
  331. package/dist/twilight/p-b047487a.entry.js +0 -4
  332. package/dist/twilight/p-ku9UdoB5.js +0 -5
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
 
8
8
  const sallaProductCardEmbedCss = "/*!twlt*/@charset \"UTF-8\";:host{display:inline-block;vertical-align:top;max-width:12rem}:host([align=left]){float:inline-start;margin-block-end:1em;margin-inline-end:1em;shape-outside:margin-box}:host([align=right]){float:inline-end;margin-block-end:1em;margin-inline-start:1em;shape-outside:margin-box}:host([align=center]){display:block;clear:both;margin-block:1em;margin-inline:auto}.s-product-card-embed-card{display:block}.visible{visibility:visible}.block{display:block}.flow-root{display:flow-root}.s-product-card-embed-card{display:block;max-width:12rem;shape-outside:margin-box}.s-product-card-embed-card custom-salla-product-card{--tw-shadow:0 0 28px 0px rgba(0 0 0 / .1);--tw-shadow-colored:0 0 28px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.s-product-card-embed-card-align-center{margin-left:auto;margin-right:auto}.s-product-card-embed-card-align-left{float:left;margin-right:1ch}.s-product-card-embed-card-align-right{float:right;margin-left:1ch}.s-product-card-embed-fallback{display:block}article:has(salla-product-card-embed)::after{clear:both;display:block;--tw-content:'';content:var(--tw-content)}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
  var star2 = require('./star2-R146a27p.js');
8
8
 
9
9
  var Heart = `<!-- Generated by IcoMoon.io -->
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
 
8
8
  var PencilRuler = `<!-- Generated by IcoMoon.io -->
9
9
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -3,10 +3,10 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
  var anime_es = require('./anime.es-BqW8JHZi.js');
8
8
  var shoppingBag = require('./shopping-bag-C1gvTVHr.js');
9
- var Helper = require('./Helper-D1YsoJud.js');
9
+ var Helper = require('./Helper-N5wrs9vm.js');
10
10
 
11
11
  const sallaProductsListCss = "/*!twlt*/.s-products-list-selectable-item{position:relative;border-radius:0.5rem;transition:box-shadow 0.15s ease-in-out}.s-products-list-item-selected{box-shadow:0 0 0 2px var(--color-primary)}.s-products-list-select-control{position:absolute;top:10px;inset-inline-start:10px;z-index:5;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.s-products-list-select-checkbox{appearance:none;-webkit-appearance:none;-moz-appearance:none;position:relative;width:22px;height:22px;margin:0;cursor:pointer;color:var(--color-primary);border:1px solid rgba(0, 0, 0, 0.15);border-radius:6px;background-color:#fff;box-shadow:0 1px 3px rgba(0, 0, 0, 0.2);transition:background-color 0.15s ease-in-out, border-color 0.15s ease-in-out}.s-products-list-select-checkbox:hover{border-color:var(--color-primary)}.s-products-list-select-checkbox:focus,.s-products-list-select-checkbox:focus-visible{outline:none;border-color:var(--color-primary);box-shadow:0 1px 3px rgba(0, 0, 0, 0.2), 0 0 0 3px color-mix(in srgb, var(--color-primary) 30%, transparent)}.s-products-list-select-checkbox:checked,.s-products-list-select-checkbox:checked:hover,.s-products-list-select-checkbox:checked:focus{background-color:var(--color-primary);border-color:var(--color-primary)}.s-products-list-select-checkbox:checked::after{content:\"\";position:absolute;top:50%;left:50%;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:translate(-50%, -60%) rotate(45deg)}.s-products-list-row-cards .s-products-list-select-control{top:50%;inset-inline-start:14px;transform:translateY(-50%)}.s-products-list-row-cards .s-products-list-selectable-item>:not(.s-products-list-select-control){padding-inline-start:2.75rem}.sticky{position:sticky}.block{display:block}.grid{display:grid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.s-products-list-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:2.5rem;padding-bottom:5rem;--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.s-products-list-placeholder p{padding-top:0.5rem;text-align:center;--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.s-products-list-placeholder span{margin-bottom:1rem;display:flex;height:8rem;width:8rem;align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity:1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1));font-size:3rem;line-height:1;--tw-text-opacity:1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.s-products-list-placeholder span svg{margin-left:auto;margin-right:auto;height:4rem;width:4rem;fill:#d1d5db;text-align:center}.s-button-btn{position:relative;display:inline-flex;flex:1 1 0%;user-select:none;flex-direction:row-reverse;align-items:center;justify-content:center;white-space:nowrap;border-radius:var(--s-radius, 0.25rem);border-style:solid;padding-left:1.5rem;padding-right:1.5rem;padding-bottom:0.625rem;padding-top:0.5rem;font-size:0.875rem;line-height:1.25rem;font-weight:700;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms}.s-button-btn:hover{opacity:0.8}.s-button-primary{border-width:1px;border-color:var(--color-primary);background-color:var(--color-primary);color:var(--color-primary-reverse)}.s-button-primary:hover{background-color:var(--color-primary-dark)}.s-button-text{pointer-events:none;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms}.s-button-loader{margin-left:0.5rem;margin-right:0.5rem;display:flex;align-items:center;justify-content:center;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.s-button-loader::before{display:inline-block;height:1rem;content:var(--tw-content);width:1rem}@keyframes spin{to{content:var(--tw-content);transform:rotate(360deg)}}.s-button-loader::before{animation:spin 1s linear infinite;border-radius:9999px;border-width:2px;border-style:solid;border-top-color:var(--color-primary);border-left-color:var(--color-primary);border-bottom-color:rgb(243 244 246 / var(--tw-border-opacity, 1));--tw-border-opacity:1;border-right-color:rgb(243 244 246 / var(--tw-border-opacity, 1));--tw-content:'';content:var(--tw-content)}.s-button-loader-center .s-button-loader{position:absolute;top:50%;left:50%;margin:0px !important;--tw-translate-y:-50%;--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.s-comments-item-like-btn .s-button-text{display:flex;flex-direction:row-reverse;gap:0.5rem}.s-hidden{display:none}.s-offer-products-list-single-column .s-products-list-wrapper{display:grid !important;grid-template-columns:repeat(1, minmax(0, 1fr)) !important;gap:0.75rem}.s-offer-drawer-card .s-products-list-compact-cards{margin-bottom:0px !important}.s-order-edit-products-list .s-products-list-wrapper{gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr))}@media (min-width: 769px){.s-order-edit-products-list .s-products-list-wrapper{grid-template-columns:repeat(3, minmax(0, 1fr))}}.s-order-edit-mobile-products-modal .products-list .s-products-list-wrapper{gap:0.625rem;grid-template-columns:repeat(2,minmax(0,1fr))}.s-products-list-wrapper{margin-bottom:2rem;display:grid}.s-products-list-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-top:2.5rem;padding-bottom:5rem;--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.s-products-list-placeholder p{padding-top:0.5rem;text-align:center;--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.s-products-list-row-cards{display:grid;gap:1rem}.s-products-list-vertical-cards{grid-template-columns:repeat(2, minmax(0, 1fr));gap:0.625rem}@media (min-width: 640px){.s-products-list-vertical-cards{gap:1rem}}@media (min-width: 768px){.s-products-list-vertical-cards{grid-template-columns:repeat(3, minmax(0, 1fr));gap:1.5rem}}@media (min-width: 1024px){.s-products-list-vertical-cards{grid-template-columns:repeat(4, minmax(0, 1fr))}}.s-products-list-loading-wrapper{display:flex;height:5rem;align-items:center;justify-content:center}.s-products-list-filters-results{grid-template-columns:repeat(2, minmax(0, 1fr));gap:0.625rem}@media (min-width: 640px){.s-products-list-filters-results{gap:1rem}}@media (min-width: 768px){.s-products-list-filters-results{grid-template-columns:repeat(3, minmax(0, 1fr));gap:1.5rem}}.s-products-list-horizontal-cards{grid-template-columns:repeat(1, minmax(0, 1fr));gap:1rem}@media (min-width: 640px){.s-products-list-horizontal-cards{gap:2rem}}@media (min-width: 1024px){.s-products-list-horizontal-cards{grid-template-columns:repeat(2, minmax(0, 1fr))}}.s-products-list-compact-cards{display:flex !important;flex-direction:column !important;gap:0px !important}.s-products-list-placeholder span{margin-bottom:1rem;display:flex;height:8rem;width:8rem;align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity:1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1));font-size:3rem;line-height:1;--tw-text-opacity:1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.s-products-list-placeholder span svg{margin-left:auto;margin-right:auto;height:4rem;width:4rem;fill:#d1d5db;text-align:center}";
12
12
 
@@ -58,6 +58,7 @@ const SallaProductsList = class {
58
58
  this.prevCategoryIdKey = 'prevCategoryId';
59
59
  this.isProcessing = false; // Tracks if we are processing data
60
60
  this.scrollTimeout = null;
61
+ this.requestId = null;
61
62
  this.boundScrollToLastViewedProduct = () => this.scrollToLastViewedProduct();
62
63
  this.boundHandleScroll = () => this.handleScroll();
63
64
  this.specialPagesWithoutIds = {
@@ -322,6 +323,9 @@ const SallaProductsList = class {
322
323
  if (anchor) {
323
324
  Helper.Helper.saveProductSource(this.getSource());
324
325
  Helper.Helper.saveProductPosition(product.position);
326
+ // `this.requestId` is the latest page's id, not necessarily the one that rendered
327
+ // this card — see the accepted limitation documented on Helper.saveRequestId.
328
+ Helper.Helper.saveRequestId(this.requestId);
325
329
  if (this.hasInfiniteScroll) {
326
330
  this.takeStateSnapshot();
327
331
  sessionStorage.setItem(this.lastViewedProductKey, product.id);
@@ -331,6 +335,7 @@ const SallaProductsList = class {
331
335
  // Add-to-cart clicked directly within the list (no navigation): persist the
332
336
  // position so the following Product Added event can attribute the clicked rank.
333
337
  Helper.Helper.saveProductPosition(product.position);
338
+ Helper.Helper.saveRequestId(this.requestId);
334
339
  }
335
340
  });
336
341
  if (this.selectable) {
@@ -758,6 +763,17 @@ const SallaProductsList = class {
758
763
  return;
759
764
  this.isProcessing = true;
760
765
  try {
766
+ try {
767
+ // fetch() hides custom response headers behind CORS unless the backend
768
+ // exposes them, so fall back to a `request_id` field in the JSON body.
769
+ const requestId = httpResponse?.headers?.get?.('s-request-id') || response?.request_id;
770
+ if (requestId) {
771
+ this.requestId = requestId;
772
+ }
773
+ }
774
+ catch {
775
+ // ignore
776
+ }
761
777
  if (!response.data?.length && this.infiniteScroll.pageIndex === 2) {
762
778
  this.showPlaceholder = true;
763
779
  salla.infiniteScroll.destroy(this.infiniteScroll);
@@ -1083,6 +1099,9 @@ const SallaProductsList = class {
1083
1099
  if (!response) {
1084
1100
  return [];
1085
1101
  }
1102
+ if (response._requestId) {
1103
+ this.requestId = response._requestId;
1104
+ }
1086
1105
  let source = this.getSource();
1087
1106
  if (response.cursor?.current === 1) {
1088
1107
  if (!this.isAuxiliaryProductsListSource()) {
@@ -3,8 +3,8 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
7
- var Helper = require('./Helper-D1YsoJud.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
+ var Helper = require('./Helper-N5wrs9vm.js');
8
8
  require('./anime.es-BqW8JHZi.js');
9
9
 
10
10
  const sallaProductsSliderCss = "/*!twlt*/.block{display:block}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.s-products-slider-wrapper{margin-bottom:2rem}@media (min-width: 768px){.s-products-slider-wrapper{margin-bottom:5rem}}@media (min-width: 1024px){.s-products-slider-wrapper{overflow:hidden}}.s-products-slider-wrapper:where([dir=\"ltr\"],[dir=\"ltr\"] *){padding-right:0px}.s-products-slider-wrapper:where([dir=\"rtl\"],[dir=\"rtl\"] *){padding-left:0px}.s-products-slider-card{height:auto !important;width:100%;max-width:250px;padding-left:0.5rem;padding-right:0.5rem}@media (min-width: 640px){.s-products-slider-card{width:50%;max-width:320px}}@media (min-width: 768px){.s-products-slider-card{width:33.333333%}}@media (min-width: 1024px){.s-products-slider-card{width:25%}}";
@@ -23,6 +23,7 @@ const SallaProductsSlider = class {
23
23
  */
24
24
  this.productCardComponent = 'custom-salla-product-card';
25
25
  this.apiUrl = '';
26
+ this.requestId = null;
26
27
  this.onWishlistStorageSynced = () => Helper.Helper.syncWishlistIcons(this.host, `${this.productCardComponent}, salla-product-card`);
27
28
  }
28
29
  componentWillLoad() {
@@ -63,6 +64,9 @@ const SallaProductsSlider = class {
63
64
  }))
64
65
  .then(response => Helper.Helper.injectExtraFieldsToResponse(response))
65
66
  .then(async (response) => {
67
+ if (response._requestId) {
68
+ this.requestId = response._requestId;
69
+ }
66
70
  this.productsData = await this.applyBeforeAppendItems(response.data);
67
71
  this.isReady = true;
68
72
  response.source = this.getSource();
@@ -106,6 +110,7 @@ const SallaProductsSlider = class {
106
110
  const handleClick = isLandingPage ? undefined : () => {
107
111
  Helper.Helper.saveProductSource(this.getSource());
108
112
  Helper.Helper.saveProductPosition(product.position);
113
+ Helper.Helper.saveRequestId(this.requestId);
109
114
  };
110
115
  if (this.hasCustomComponent && this.productCardComponent.toLowerCase() == 'custom-salla-product-card') {
111
116
  return index.h("div", { class: "s-products-slider-card", onClick: handleClick }, index.h("custom-salla-product-card", { product: product, source: this.getSource(), "source-value": this.getSourceValue() }));
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
  var iphoneX = require('./iphone-x-B683VspR.js');
8
8
  var mail = require('./mail-CO8cFZH7.js');
9
9
  var cancel = require('./cancel-De6vslRA.js');
@@ -3,11 +3,11 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
  var star = require('./star-DMzrN05M.js');
8
8
  var shippingFast = require('./shipping-fast-CsqEQE78.js');
9
9
  var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
10
- var Helper = require('./Helper-D1YsoJud.js');
10
+ var Helper = require('./Helper-N5wrs9vm.js');
11
11
  var image = require('./image-BoZ6Hums.js');
12
12
  var whatsapp2 = require('./whatsapp2-BdMd5Gx1.js');
13
13
  var mail = require('./mail-CO8cFZH7.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
  var anime_es = require('./anime.es-BqW8JHZi.js');
8
8
  var checkCircle2 = require('./check-circle2-BDvlT4_n.js');
9
9
  var image = require('./image-BoZ6Hums.js');
@@ -11,7 +11,7 @@ var mail = require('./mail-CO8cFZH7.js');
11
11
  var shippingFast = require('./shipping-fast-CsqEQE78.js');
12
12
  var star = require('./star-DMzrN05M.js');
13
13
  var whatsapp2 = require('./whatsapp2-BdMd5Gx1.js');
14
- var Helper = require('./Helper-D1YsoJud.js');
14
+ var Helper = require('./Helper-N5wrs9vm.js');
15
15
 
16
16
  const sallaRatingModalCss = "/*!twlt*/.s-rating-modal-uploader{overflow:visible}.s-rating-modal-uploader.is-opened{height:auto !important;opacity:1 !important;overflow:visible;pointer-events:auto !important;margin-bottom:1rem}.s-rating-modal-uploader .s-file-upload-gallery{overflow:visible}.s-rating-modal-edit-wrapper,.s-rating-modal-wrapper{transition:height 0.15s ease}.s-rating-modal-product-details{padding-bottom:0.5rem}.s-rating-modal-comment{margin-top:0.35rem}.s-rating-modal-product{margin-bottom:1rem}.s-rating-modal-product-img{position:absolute !important;inset:0;display:block;width:100% !important;max-width:100% !important;height:100% !important;object-fit:cover}.s-rating-modal-product-title{font-size:0.95rem;font-weight:600;line-height:1.5;margin:0}.s-rating-modal-stars-product{margin-top:0.5rem}.s-rating-modal-loyalty-points-note-container{display:flex;align-items:center;gap:0.625rem;width:100%;margin-top:1.5rem;margin-bottom:0.75rem;padding:0.75rem;border-radius:0.5rem;background-color:#E6F4EA}.s-rating-modal-loyalty-points-note-icon{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;color:#1B7F5C}.s-rating-modal-loyalty-points-note-icon svg{width:1.5rem;height:1.5rem;fill:currentColor}.s-rating-modal-loyalty-points-note-text{flex:1;margin:0;font-size:0.875rem;line-height:1.25rem;color:#1f2937}.s-rating-modal-product-details-main{display:flex;align-items:center;margin-bottom:0.5rem;padding-bottom:0;border-bottom:0}.s-rating-modal-product-info-row{display:flex;align-items:center;gap:0.6rem;margin-bottom:0.5rem;padding-bottom:0;border-bottom:0}.s-rating-modal-product-main-review{width:100%;text-align:right}.s-rating-modal-product-rating-rows{display:grid;gap:0.45rem;margin:0.2rem 0 0.7rem}.s-rating-modal-product-rating-row{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;min-height:2rem}.s-rating-modal-product-rating-row salla-rating-stars{flex-shrink:0}.s-rating-modal-product-rating-row .s-rating-stars-wrapper{align-items:center;min-height:1.75rem}.s-rating-modal-product-rating-row .s-rating-stars-label,.s-rating-modal-product-rating-row .s-rating-stars-label-without-tag{min-width:auto;min-height:1.25rem;line-height:1.25rem;font-size:0.8rem;color:#5b6470;white-space:nowrap;text-align:end;transition:opacity 0.15s ease}.s-rating-modal-product-rating-row .s-rating-stars-label--empty,.s-rating-modal-product-rating-row .s-rating-stars-label-without-tag--empty{opacity:0}.s-rating-modal-product-factor-name{color:#5b6470;font-size:0.9rem;line-height:1.25}.s-rating-modal-product-factor-required{color:#f87171;margin-inline-start:0.2rem}.s-rating-modal-product-img-wrap{position:relative;width:5rem !important;min-width:5rem !important;max-width:5rem !important;height:3.5rem !important;flex-shrink:0 !important;overflow:hidden;border-radius:0.375rem;background:#f3f4f6}.mt-0{margin-top:0px}.block{display:block}.hidden{display:none}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.s-comments-item-like-btn{margin-top:0.5rem}.s-comments-item-like-btn .s-button-text{display:flex;flex-direction:row-reverse;gap:0.5rem}.s-comments-item-like-btn span svg{height:0.75rem;width:0.75rem}.s-rating-modal-wrapper{margin-bottom:1.5rem;transition-property:all;transition-duration:100ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.s-rating-modal-edit-wrapper{margin-top:0.625rem}.s-rating-modal-footer{position:relative;display:flex;align-items:center;justify-content:space-between}.s-rating-modal-footer salla-button button{padding-left:1rem !important;padding-right:1rem !important;font-size:0.75rem !important}.s-rating-modal-btn{height:2.5rem;padding-left:1rem;padding-right:1rem;font-size:0.875rem;line-height:1.25rem;font-weight:700;color:var(--color-primary);transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms}.s-rating-modal-btn:hover{color:var(--color-primary-dark)}.s-rating-modal-dots{display:flex;flex-shrink:0;flex-grow:1;justify-content:center}.s-rating-modal-dots>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.375rem * var(--tw-space-x-reverse));margin-left:calc(0.375rem * calc(1 - var(--tw-space-x-reverse)))}.s-rating-modal-dots{text-align:center}.s-rating-modal-dots:where([dir=\"rtl\"],[dir=\"rtl\"] *)>:not([hidden])~:not([hidden]){--tw-space-x-reverse:1}.s-rating-modal-step-dot{height:0.625rem;width:0.625rem;border-radius:9999px;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms}.s-rating-modal-step{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:500ms}.s-rating-modal-active{--tw-translate-x:0px;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:1}.s-rating-modal-unactive{--tw-translate-x:0.75rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0}.s-rating-modal-hidden{display:none !important}.s-rating-modal-unvisiable{pointer-events:none;opacity:0}.s-rating-modal-step-wrap{position:relative;display:flex;flex-direction:column;align-items:center;padding-bottom:1rem}.s-rating-modal-product-details{position:relative;display:flex;flex:1 1 0%;flex-direction:column;padding-bottom:1rem}.s-rating-modal-product-details-main{display:flex;align-items:flex-start;justify-content:space-between}.s-rating-modal-product-details-main .s-rating-stars-wrapper{margin-bottom:0.375rem;flex-direction:column;align-items:center}@media (min-width: 640px){.s-rating-modal-product-details-main .s-rating-stars-wrapper{margin-bottom:0px;flex-direction:row;gap:0px}}.s-rating-modal-rounded-icon{position:relative;margin-bottom:0.25rem;display:flex;height:6rem;width:6rem;align-items:center;justify-content:center;overflow:hidden;border-radius:9999px;border-width:1px;--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.s-rating-modal-title{margin-bottom:0.25rem;font-size:1.125rem;line-height:1.75rem;font-weight:700}.s-rating-modal-subtitle{margin-bottom:0.25rem;padding-left:0.5rem;padding-right:0.5rem;text-align:center;font-size:0.875rem;line-height:1.25rem;--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.s-rating-modal-store-logo{width:4rem;object-fit:contain}.s-rating-modal-shipping-logo{height:100%;width:100%;object-fit:contain}.s-rating-modal-shipping-icon{font-size:3rem;line-height:1;color:var(--color-primary)}.s-rating-modal-comment{margin-bottom:0.5rem;height:5rem !important;width:100%;border-radius:0.375rem;border-width:1px;--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));padding:0.75rem;font-size:0.875rem;line-height:1.25rem;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.s-rating-modal-comment:focus{border-color:var(--color-primary)}.s-rating-modal-comment:is(.dark *){--tw-border-opacity:1;border-color:rgb(75 85 99 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.s-rating-modal-validation-msg{margin-top:-3px;line-height:1rem;--tw-text-opacity:1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.s-rating-modal-product{margin-bottom:1.5rem}.s-rating-modal-product:last-child{margin-bottom:0px}.s-rating-modal-product .rating-outer-form{display:flex}.s-rating-modal-product .rating-outer-form>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.5rem * var(--tw-space-x-reverse));margin-left:calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))}@media (min-width: 640px){.s-rating-modal-product .rating-outer-form>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}}.s-rating-modal-product .rating-outer-form:where([dir=\"rtl\"],[dir=\"rtl\"] *)>:not([hidden])~:not([hidden]){--tw-space-x-reverse:1}.s-rating-modal-product-img-wrap{height:3.5rem;width:auto;overflow:hidden;border-radius:0.375rem;--tw-bg-opacity:1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}@media (min-width: 640px){.s-rating-modal-product-img-wrap{width:5rem}}.s-rating-modal-product-img{position:relative;height:100%;width:100%;object-fit:cover;font-size:0px}.s-rating-modal-product-img::before{position:absolute;top:0px;left:0px;height:100%;width:100%;--tw-bg-opacity:1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1));--tw-content:'';content:var(--tw-content)}.s-rating-modal-product-title{margin-bottom:0.375rem;font-size:0.875rem;font-weight:700;line-height:1.25rem}.s-rating-modal-thanks{padding-left:2rem;padding-right:2rem;text-align:center;transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:500ms}.s-rating-modal-icon{display:inline-flex;height:5rem;width:5rem;align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity:1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1));color:var(--color-primary)}.s-rating-modal-icon svg{height:1.75rem;width:1.75rem;fill:var(--color-primary)}.s-rating-modal-thanks-title{margin-top:1rem;font-weight:700}.s-rating-modal-thanks-msg{margin-bottom:1.5rem;font-size:0.875rem;line-height:1.25rem;--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.s-rating-modal-thanks-btn{height:2.5rem;flex:none;display:inline-flex;flex:1 1 0%;align-items:center;justify-content:center;white-space:nowrap;border-radius:0.375rem;padding-left:1.5rem;padding-right:1.5rem;padding-bottom:0.625rem;padding-top:0.5rem;font-size:0.875rem;line-height:1.25rem;font-weight:700;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms}.s-rating-modal-thanks-btn:hover{opacity:0.8}.s-rating-modal-thanks-btn{border-width:1px;border-color:var(--color-primary);background-color:var(--color-primary);color:var(--color-primary-reverse)}.s-rating-modal-thanks-time{margin-top:0.75rem;display:block;height:1.5rem;font-size:0.875rem;line-height:1.25rem;--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.s-rating-modal-product-factors-card{margin-bottom:1rem;border-radius:0.5rem;--tw-bg-opacity:1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1));padding:1rem}.s-rating-modal-product-factors-heading{margin-bottom:0.75rem;font-size:0.875rem;line-height:1.25rem;font-weight:700;--tw-text-opacity:1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.s-rating-modal-stars-company{margin-bottom:1.25rem}.s-rating-modal-stars-company .s-rating-stars-wrapper{flex-direction:column;align-items:center;justify-content:center;gap:0.5rem}.s-rating-modal-stars-product .s-rating-stars-wrapper{flex-direction:column;align-items:center;justify-content:center}.s-rating-modal-upload-count{font-size:0.875rem;line-height:1.25rem;font-weight:500}.s-rating-modal-bg-gray{--tw-bg-opacity:1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.s-rating-modal-bg-primary{background-color:var(--color-primary)}unicode{unicode-bidi:plaintext}.s-rating-modal-wrap .s-modal-body{position:relative !important}.s-rating-modal-skeleton{display:flex;flex-direction:column;align-items:center;justify-content:center}.s-rating-modal-skeleton salla-skeleton:nth-child(1){margin-bottom:1.25rem}.s-rating-modal-skeleton salla-skeleton:nth-child(2){margin-bottom:0.75rem}.s-rating-modal-skeleton salla-skeleton:nth-child(3){margin-bottom:1.25rem}.s-rating-modal-skeleton salla-skeleton:nth-child(4){margin-bottom:2rem}.s-rating-modal-skeleton-footer{margin-top:1.5rem;display:flex;width:100%;justify-content:flex-end}.s-rating-modal-skeleton-footer salla-skeleton{margin-bottom:0px !important}.s-rating-modal-skeleton-stars{margin-bottom:0.75rem;display:flex;align-items:center}.s-rating-modal-skeleton-stars>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.5rem * var(--tw-space-x-reverse));margin-left:calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))}.s-rating-modal-skeleton-stars:where([dir=\"rtl\"],[dir=\"rtl\"] *)>:not([hidden])~:not([hidden]){--tw-space-x-reverse:1}.s-rating-modal-skeleton-stars div svg{width:25px;fill:currentColor;--tw-text-opacity:1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.s-rating-modal-uploader{height:0px;opacity:0;transition-property:all;transition-duration:100ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.s-rating-modal-uploader.is-opened{margin-bottom:1.5rem;overflow:visible}.s-rating-modal-uploader.is-closed{pointer-events:none;z-index:0}.s-rating-modal-uploader .filepond--drop-label{--tw-bg-opacity:1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.s-rating-modal-uploader .filepond--file-status .filepond--file-status-main{font-size:11px}.s-rating-modal-uploader .filepond--file-info-main{font-size:11px}.s-rating-modal-uploader li[data-filepond-item-state='load-invalid'] .filepond--file-info{display:none}.s-rating-modal-filepond-placeholder-text{font-size:0.75rem !important;line-height:1rem !important}.s-rating-modal-filepond-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center}.s-rating-modal-filepond-placeholder-icon{margin-bottom:0.25rem}.s-rating-modal-filepond-placeholder-icon svg{height:1.5rem;width:1.5rem;fill:#7c8082}.s-rating-modal-contact{margin-bottom:1rem;display:flex;align-items:center;justify-content:space-between;border-radius:0.375rem;--tw-bg-opacity:1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1));padding:0.5rem}.s-rating-modal-contact p{font-size:1rem;line-height:1.5rem;--tw-text-opacity:1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.s-rating-modal-contact-icons{display:flex;align-items:center;gap:0.5rem}.s-rating-modal-contact-icons span{display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:0.375rem;border-width:1px;--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:0.375rem}.s-rating-modal-contact-icons span svg{height:1rem;width:1rem;fill:var(--color-primary)}.s-rating-modal-footer-end{justify-content:flex-end}.s-rating-modal-delete-wrapper{text-align:center}.s-rating-modal-delete-wrapper h3{margin-top:1.25rem;font-size:1.125rem;line-height:1.75rem;--tw-text-opacity:1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.s-rating-modal-delete-wrapper p{margin-top:1.25rem;font-size:0.875rem;line-height:1.25rem;--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.s-rating-modal-delete-actions{margin-top:1.25rem;display:flex;align-items:center;gap:0.625rem}.s-rating-modal-delete-actions salla-button{width:100%}.s-rating-modal-delete-actions salla-button button{width:100%}";
17
17
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
  var star2 = require('./star2-R146a27p.js');
8
8
  var helpers = require('./helpers-ClOJIAG8.js');
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
  var helpers = require('./helpers-ClOJIAG8.js');
8
8
 
9
9
  const SallaReviewOrderItem = class {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
  var search = require('./search-c7Aa7lM9.js');
8
8
 
9
9
  var StoreAlt = `<!-- Generated by IcoMoon.io -->
@@ -3,9 +3,9 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
  var search = require('./search-c7Aa7lM9.js');
8
- var Helper = require('./Helper-D1YsoJud.js');
8
+ var Helper = require('./Helper-N5wrs9vm.js');
9
9
  require('./anime.es-BqW8JHZi.js');
10
10
 
11
11
  const sallaSearchCss = "/*!twlt*/.s-search-placeholder-wrapper{position:relative;display:inline-block}.s-search-input-wrapper{position:relative}.s-search-placeholder-trigger{cursor:pointer;appearance:none;text-align:start}.block{display:block}.inline{display:inline}.border{border-width:1px}.s-search-container{position:relative;z-index:99;max-height:14rem;border-radius:0.375rem;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.s-search-oval{border-radius:20px}.s-search-inline{min-width:220px}.s-search-container-open{max-height:24rem;border-radius:0px !important}.s-search-container-open .s-search-input{border-top-left-radius:0.375rem !important;border-top-right-radius:0.375rem !important;border-bottom-right-radius:0px !important;border-bottom-left-radius:0px !important;border-width:1px;--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.s-search-no-results .s-search-input{border-bottom-right-radius:0px;border-bottom-left-radius:0px;border-width:1px;--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.s-search-input{height:2.5rem;width:100%;border-radius:0.375rem;--tw-border-opacity:1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-top:0px;padding-bottom:0.125rem;font-size:0.875rem;line-height:1.25rem;--tw-text-opacity:1;color:rgb(75 85 99 / var(--tw-text-opacity, 1));transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms}.s-search-input:focus{--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));--tw-ring-color:transparent}.s-search-input:where([dir=\"ltr\"],[dir=\"ltr\"] *){padding-left:2.5rem}.s-search-input:where([dir=\"rtl\"],[dir=\"rtl\"] *){padding-right:2.5rem}.s-search-icon-wrap{position:absolute;top:50%;--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));line-height:1;--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.s-search-icon-wrap:where([dir=\"ltr\"],[dir=\"ltr\"] *){left:1rem}.s-search-icon-wrap:where([dir=\"rtl\"],[dir=\"rtl\"] *){right:1rem}.s-search-icon svg{height:1rem;width:1rem;fill:#9ca3af}.s-search-spinner-loader{display:block;height:1rem;width:1rem}@keyframes spin{to{transform:rotate(360deg)}}.s-search-spinner-loader{animation:spin 1s linear infinite;border-radius:9999px;border-width:2px;--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));border-right-color:var(--color-primary)}.s-search-results{position:absolute;margin:auto;max-height:24rem;width:100%;max-width:100%;overflow-y:auto;border-bottom-right-radius:0.375rem;border-bottom-left-radius:0.375rem;--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));--tw-shadow:0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.s-search-no-results{border-bottom-right-radius:0px !important;border-bottom-left-radius:0px !important}.s-search-no-results-placeholder{padding:1rem;text-align:center;font-size:0.875rem;line-height:1.25rem;--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.s-search-product{display:flex;height:100%;justify-content:space-around;overflow:hidden;border-bottom-width:1px;--tw-border-opacity:1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1));background-color:transparent;padding-left:1rem;padding-right:1rem;padding-top:0.75rem;padding-bottom:0.75rem;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms}.s-search-product:last-child{border-bottom-width:0px}.s-search-product:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}@media (min-width: 480px){.s-search-product{padding-left:1.25rem;padding-right:1.25rem}}.s-search-product-image-container{position:relative;height:3.5rem;width:5rem;overflow:hidden;border-radius:0.375rem;--tw-bg-opacity:1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.s-search-product-image{position:relative;height:100%;width:100%;object-fit:cover;font-size:0px}.s-search-product-image::before{position:absolute;top:0px;left:0px;height:100%;width:100%;--tw-bg-opacity:1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1));--tw-content:'';content:var(--tw-content)}.s-search-product-details{flex:1 1 0%;padding-top:0.25rem}.s-search-product-details:where([dir=\"ltr\"],[dir=\"ltr\"] *){padding-left:1rem}@media (min-width: 480px){.s-search-product-details:where([dir=\"ltr\"],[dir=\"ltr\"] *){padding-left:1.25rem}}.s-search-product-details:where([dir=\"rtl\"],[dir=\"rtl\"] *){padding-right:1rem}@media (min-width: 480px){.s-search-product-details:where([dir=\"rtl\"],[dir=\"rtl\"] *){padding-right:1.25rem}}.s-search-product-title{margin-bottom:0.375rem;display:flex;flex-direction:column;align-items:baseline;justify-content:flex-start;font-size:0.875rem;font-weight:700;line-height:1.5rem;--tw-text-opacity:1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.s-search-product-price{display:flex;width:100%;align-items:center;font-size:0.875rem;line-height:1.25rem;font-weight:700;color:var(--color-primary)}.s-search-product-regular-price{padding-left:0.75rem;padding-right:0.75rem;font-weight:500;--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1));text-decoration-line:line-through}.s-search-product-not-available{--tw-grayscale:grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.s-search-action{position:absolute;height:100%}.s-search-action:where([dir=\"ltr\"],[dir=\"ltr\"] *){right:0px}.s-search-action:where([dir=\"rtl\"],[dir=\"rtl\"] *){left:0px;border-top-right-radius:0px;border-bottom-right-radius:0px}.s-search-action-oval:where([dir=\"ltr\"],[dir=\"ltr\"] *){border-top-right-radius:9999px;border-bottom-right-radius:9999px}.s-search-action-oval:where([dir=\"rtl\"],[dir=\"rtl\"] *){border-top-left-radius:9999px;border-bottom-left-radius:9999px}.s-search-input-wrapper{position:relative;display:flex;flex-grow:1;align-items:center}.s-search-modal .s-modal-wrapper{align-items:flex-start;padding:0}.s-search-modal .s-modal-spacer{display:inline}.s-search-modal .s-modal-body{padding:0;width:700px;max-width:90%;margin-top:3.2rem;border-radius:0.5rem;background:transparent;overflow:visible;position:relative !important}.s-search-modal .s-modal-close{top:50%;transform:translateY(-50%)}";
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
 
8
8
  const sallaSkeletonCss = "/*!twlt*/:host{display:block}.s-loyalty-skeleton .s-loyalty-prize-item .s-skeleton-wrapper{margin-left:auto;margin-right:auto}.s-skeleton-wrapper{display:block}@keyframes pulse{50%{opacity:.5}}.s-skeleton-wrapper{animation:pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite}.s-skeleton-item{height:100%;width:100%;border-radius:0.375rem;--tw-bg-opacity:1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.s-skeleton-item:is(.dark *){--tw-bg-opacity:1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.s-skeleton-item-circular{border-radius:9999px}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
  var anime_es = require('./anime.es-BqW8JHZi.js');
8
8
  var facebook = require('./facebook-DbXua6B9.js');
9
9
  var mail = require('./mail-CO8cFZH7.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
  var facebook = require('./facebook-DbXua6B9.js');
8
8
 
9
9
  var instagram = `<!-- Generated by IcoMoon.io -->
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
 
8
8
  const sallaTabContentCss = "";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
 
8
8
  var DiscountType;
9
9
  (function (DiscountType) {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
 
8
8
  const sallaTooltipCss = "/*!twlt*/.s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-63%) translateY(-50%);background-color:var(--color-primary);color:var(--color-primary-reverse);bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:\"\";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--color-primary) transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}.block{display:block}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
 
8
8
  const sallaTrustBadgesCss = "/*!twlt*/.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.flex{display:flex}.hidden{display:none}.s-trust-badges-wrapper{display:flex;align-items:center}.s-trust-badges-wrapper>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.5rem * var(--tw-space-x-reverse));margin-left:calc(0.5rem * calc(1 - var(--tw-space-x-reverse)))}.s-trust-badges-wrapper:where([dir=\"rtl\"],[dir=\"rtl\"] *)>:not([hidden])~:not([hidden]){--tw-space-x-reverse:1}.s-trust-badges-label{margin-bottom:0.25rem;font-size:0.875rem;line-height:1.25rem}.s-trust-badges-number{font-size:0.875rem;line-height:1.25rem}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
  var keyboard_arrow_down = require('./keyboard_arrow_down-DHJ3FFZq.js');
8
8
  var bellRing = require('./bell-ring-BfKPinNo.js');
9
9
  var cart = require('./cart-s-x1Fshk.js');
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
  var interfaces = require('./interfaces-CRqrf5RX.js');
8
8
 
9
9
  const sallaUserProfileCss = "/*!twlt*/:host{display:block}.form-input{height:2.5rem;width:100%;border-radius:0.375rem;--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms}.form-input:focus{border-color:var(--color-primary);--tw-ring-color:transparent}.form-input:is(.dark *){--tw-border-opacity:1;border-color:rgb(75 85 99 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.form-input:focus:is(.dark *){border-color:var(--color-primary)}@media (min-width: 640px){.form-input{font-size:0.875rem;line-height:1.25rem}}.s-user-profile-wrapper{display:grid;grid-template-columns:repeat(1, minmax(0, 1fr));gap:1.5rem}@media (min-width: 640px){.s-user-profile-wrapper{grid-template-columns:repeat(2, minmax(0, 1fr));gap:2rem}}.s-user-profile-field-label{margin-bottom:0.5rem;display:block;font-size:0.875rem;line-height:1.25rem;font-weight:700;--tw-text-opacity:1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.s-user-profile-field-error{--tw-text-opacity:1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.s-user-profile-submit{margin-top:1.5rem;width:100%}.s-user-profile-filepond-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center}.s-user-profile-filepond-placeholder-icon{margin-bottom:0.25rem}.s-user-profile-filepond-placeholder-icon svg{height:1.5rem;width:1.5rem;fill:#7c8082}.s-user-profile-skeleton-wrapper{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));grid-template-rows:repeat(3, minmax(0, 1fr));gap:3rem}";
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
 
8
8
  var Bullhorn = `<!-- Generated by IcoMoon.io -->
9
9
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
  var mail = require('./mail-CO8cFZH7.js');
8
8
 
9
9
  var AndroidPhoneIcon = `<!-- Generated by IcoMoon.io -->
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
 
8
8
  const sallaWalletCss = "/*!twlt*/.s-wallet-table{min-width:100%}.s-wallet-table-balance-container{display:flex !important;align-items:center !important;justify-content:flex-start !important;gap:1rem}.s-wallet-table-balance-icon{border-radius:50%;width:52px;height:52px;font-size:25px;padding:16px 13px;background:var(--color-primary-reverse);color:var(--color-primary)}.s-wallet-table-empty-state{display:flex;flex-direction:column;align-items:center}.s-wallet-table-empty-state i{font-size:80px;margin:4rem 0 2rem;color:var(--infinte-color)}.s-wallet-table-transaction-status{padding:6px 19px !important;border-radius:20px;width:max-content;display:flex;align-items:center}.s-wallet-table-transaction-status-default{background:#fff6eb;color:#a46f29}.s-wallet-table-transaction-status-cashback{background:#effbf6;color:#00af6c}.s-wallet-table-transaction-status-refund{background:#ecf3fe;color:#5196f3}.s-wallet-table-transaction-status-purchase{background:#feecec;color:#f55157}.s-wallet-table-transaction-status-icons-success{color:#00af6c}.absolute{position:absolute}.relative{position:relative}.flex{display:flex}.table{display:table}.hidden{display:none}.items-center{align-items:center}.p-3{padding:0.75rem}.text-center{text-align:center}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:0.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.s-wallet-container>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(0.625rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.625rem * var(--tw-space-y-reverse))}@media (min-width: 768px){.s-wallet-container>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}}.s-wallet-mobile-title{display:inline-block;width:8rem;font-weight:400;--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.s-wallet-mobile-title{display:none}}.s-wallet-reference-id{display:none}@media (min-width: 768px){.s-wallet-reference-id{display:inline-block}}.s-wallet-buy-as-gift-icon{margin-left:0.25rem;margin-right:0.25rem;display:inline-block;color:var(--color-primary)}.s-wallet-copy-to-clipboard-button{display:flex;align-items:center}@media (min-width: 768px){.s-wallet-copy-to-clipboard-button{display:none}}.s-wallet-copy-to-clipboard-button salla-button{position:relative}.s-wallet-copy-to-clipboard-button-icon{pointer-events:none;font-size:0.75rem;line-height:1rem}.s-wallet-copy-to-clipboard-button-icon:where([dir=\"ltr\"],[dir=\"ltr\"] *){margin-left:0.25rem}.s-wallet-copy-to-clipboard-button-icon:where([dir=\"rtl\"],[dir=\"rtl\"] *){margin-right:0.25rem}@media (min-width: 768px){.s-wallet-status-container{margin-left:0px;margin-right:0px}}.s-wallet-status-container:where([dir=\"ltr\"],[dir=\"ltr\"] *){margin-left:auto}.s-wallet-status-container:where([dir=\"rtl\"],[dir=\"rtl\"] *){margin-right:auto}.s-wallet-status-container i{margin-top:0.25rem}.s-wallet-status-container i:where([dir=\"ltr\"],[dir=\"ltr\"] *){margin-right:0.25rem}.s-wallet-status-container i:where([dir=\"rtl\"],[dir=\"rtl\"] *){margin-left:0.25rem}.s-wallet-rated-text{--tw-text-opacity:1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.s-wallet-unrated-text{--tw-text-opacity:1;color:rgb(229 231 235 / var(--tw-text-opacity, 1))}.s-wallet-no-content{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;padding-top:2.5rem;padding-bottom:5rem;--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.s-wallet-no-content .icon{margin-bottom:1rem;display:flex;height:8rem;width:8rem;align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity:1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1));font-size:3rem;line-height:1;--tw-text-opacity:1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.s-wallet-no-content p{margin-bottom:1rem;font-size:1rem;line-height:1.5rem;--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.s-wallet-table{min-width:100%;border-collapse:separate}@media (min-width: 768px){.s-wallet-table{margin-bottom:-0.75rem;--tw-border-spacing-y:1.25rem;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}}.s-wallet-table-head{margin-bottom:1.25rem;display:none;--tw-bg-opacity:1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}@media (min-width: 768px){.s-wallet-table-head{display:table-header-group}}.s-wallet-table-head-tr-th{padding-left:1.5rem;padding-right:1.5rem;text-align:start;font-size:0.875rem;line-height:1.25rem;font-weight:500;text-transform:uppercase;letter-spacing:0.05em}.s-wallet-table-head-tr-th:where([dir=\"ltr\"],[dir=\"ltr\"] *){text-align:left}.s-wallet-table-head-tr-th:last-child:where([dir=\"ltr\"],[dir=\"ltr\"] *){text-align:right}.s-wallet-table-head-tr-th:where([dir=\"rtl\"],[dir=\"rtl\"] *){text-align:right}.s-wallet-table-head-tr-th:last-child:where([dir=\"rtl\"],[dir=\"rtl\"] *){text-align:left}.s-wallet-table-tbody-tr{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;overflow:hidden;border-radius:var(--s-radius, 0.25rem);border-bottom-width:8px;border-top-width:8px;--tw-border-opacity:1;border-color:rgb(249 250 251 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:0.5rem;transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:500ms}@media (min-width: 768px){.s-wallet-table-tbody-tr{display:table-row;flex-direction:row;flex-wrap:nowrap;padding:0px}}.s-wallet-table-tbody-tr-td{width:100%;white-space:nowrap;font-size:0.875rem;line-height:1.25rem}.s-wallet-table-tbody-tr-td:first-child{font-weight:700}@media (min-width: 768px){.s-wallet-table-tbody-tr-td{height:5rem;width:auto}.s-wallet-table-tbody-tr-td:last-child{text-align:end}.s-wallet-table-tbody-tr-td:first-child:where([dir=\"ltr\"],[dir=\"ltr\"] *){border-top-left-radius:0.375rem;border-bottom-left-radius:0.375rem}.s-wallet-table-tbody-tr-td:first-child:where([dir=\"rtl\"],[dir=\"rtl\"] *){border-top-right-radius:0.375rem;border-bottom-right-radius:0.375rem}}.s-wallet-table-tbody-tr-td:first-child{font-weight:700}.s-wallet-table-tbody-tr-td-content{position:relative;display:flex;align-items:center;justify-content:space-between;padding-left:0.5rem;padding-right:0.5rem;padding-top:0.25rem;padding-bottom:0.25rem;font-size:0.75rem;line-height:1rem}@media (min-width: 768px){.s-wallet-table-tbody-tr-td-content{padding-left:1.5rem;padding-right:1.5rem;padding-top:1.5rem;padding-bottom:1.5rem}}.s-wallet-table-tbody-tr-td-content:where([dir=\"ltr\"],[dir=\"ltr\"] *){padding-right:0.5rem}.s-wallet-table-tbody-tr-td-content:where([dir=\"rtl\"],[dir=\"rtl\"] *){padding-left:0.5rem}.s-wallet-table-tbody-tr a{position:absolute;top:0px;bottom:0px;display:block;width:100%}.s-wallet-table-tbody-tr a:where([dir=\"ltr\"],[dir=\"ltr\"] *){left:0px}.s-wallet-table-tbody-tr a:where([dir=\"rtl\"],[dir=\"rtl\"] *){right:0px}@media (min-width: 768px){.md\\:mx-0{margin-left:0px;margin-right:0px}.md\\:inline-block{display:inline-block}.md\\:hidden{display:none}}.ltr\\:ml-auto:where([dir=\"ltr\"],[dir=\"ltr\"] *){margin-left:auto}.ltr\\:mr-4:where([dir=\"ltr\"],[dir=\"ltr\"] *){margin-right:1rem}.rtl\\:ml-4:where([dir=\"rtl\"],[dir=\"rtl\"] *){margin-left:1rem}.rtl\\:mr-auto:where([dir=\"rtl\"],[dir=\"rtl\"] *){margin-right:auto}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
 
8
8
  const sallaWishlistActionsCss = "/*!twlt*/:host{display:block}.s-wishlist-actions-menu{min-width:200px;inset-inline-end:0;inset-inline-start:auto;list-style:none;margin:0;padding:4px 0;box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}.s-wishlist-actions-menu-item{display:block;width:100%;padding:10px 16px;text-align:start;font-size:0.875rem;color:#374151;background:transparent;cursor:pointer;white-space:nowrap}.s-wishlist-actions-menu-item:hover{background-color:#f3f4f6;color:var(--color-primary)}.s-wishlist-actions-panel{box-shadow:0 1px 3px rgba(0, 0, 0, 0.08)}.s-wishlist-actions-panel-select-all{user-select:none}.s-wishlist-actions-select-all:indeterminate,.s-wishlist-actions-select-all:indeterminate:hover,.s-wishlist-actions-select-all:indeterminate:focus{background-color:var(--color-primary);border-color:var(--color-primary)}.s-wishlist-actions-select-all:indeterminate::after{content:\"\";position:absolute;top:50%;left:50%;width:10px;height:2px;background:#fff;border:none;transform:translate(-50%, -50%)}.s-wishlist-actions-social-anchor{display:none}h1.s-wishlist-actions-page-title{text-align:start !important}.static{position:static}.absolute{position:absolute}.relative{position:relative}.z-20{z-index:20}.mb-3{margin-bottom:0.75rem}.mt-1{margin-top:0.25rem}.mt-3{margin-top:0.75rem}.flex{display:flex}.cursor-pointer{cursor:pointer}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:0.5rem}.gap-3{gap:0.75rem}.gap-4{gap:1rem}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:0.5rem}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.p-4{padding:1rem}.text-sm{font-size:0.875rem;line-height:1.25rem}.font-bold{font-weight:700}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.outline{outline-style:solid}";
9
9
 
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
 
8
8
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
9
9
  /*
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-CdUTvkg8.js');
6
+ var index = require('./index-DyL5Ypj3.js');
7
7
 
8
8
  function _mergeNamespaces(n, m) {
9
9
  m.forEach(function (e) {
@@ -236,6 +236,42 @@ class Helper {
236
236
  salla.logger.warn('Error saving position to session storage');
237
237
  }
238
238
  }
239
+ /**
240
+ * Persist the `s-request-id` of the products response the customer just interacted
241
+ * with, so the analytics event that follows can be attributed back to it.
242
+ *
243
+ * KNOWN LIMITATION — deliberate, accepted for this release.
244
+ * This is a single shared value, so the last interaction wins. Two flows can therefore
245
+ * attach the wrong request id to an event:
246
+ * 1. Infinite scroll — a later page overwrites this value while the earlier pages'
247
+ * cards are still on screen, so clicking a product from page 1 after page 2 has
248
+ * loaded attributes the event to the page-2 response.
249
+ * 2. Interleaved add-to-cart — `Product Added` only fires once the async cart request
250
+ * resolves. If the customer interacts with another product in the meantime, this
251
+ * value has already been replaced by the time the event reads it.
252
+ *
253
+ * Why this is safe to ship as-is: `request_id` is an analytics-attribution field only.
254
+ * It is never read by storefront logic, never affects the cart, pricing, the order, or
255
+ * anything the customer sees, and every read and write here is wrapped so it cannot
256
+ * throw. The worst outcome is one analytics row carrying a neighbouring request id —
257
+ * the event still fires, and its product, position and source fields stay correct.
258
+ * Both flows also need a specific interleaving to occur at all, so they are the
259
+ * exception rather than the norm.
260
+ *
261
+ * The fix is to key the stored value by product id instead of sharing one slot, which
262
+ * changes this method's signature and the session-storage schema. That is being handled
263
+ * as a follow-up enhancement rather than widening this PR.
264
+ */
265
+ saveRequestId(requestId) {
266
+ if (!requestId)
267
+ return;
268
+ try {
269
+ sessionStorage.setItem('s-request-id', requestId);
270
+ }
271
+ catch (error) {
272
+ salla.logger.warn('Error saving request id to session storage');
273
+ }
274
+ }
239
275
  saveAddToCartSource(source) {
240
276
  this.saveSource('s-add-to-cart-source', source);
241
277
  }
@@ -48,6 +48,7 @@ export class SallaProductsList {
48
48
  this.prevCategoryIdKey = 'prevCategoryId';
49
49
  this.isProcessing = false; // Tracks if we are processing data
50
50
  this.scrollTimeout = null;
51
+ this.requestId = null;
51
52
  this.boundScrollToLastViewedProduct = () => this.scrollToLastViewedProduct();
52
53
  this.boundHandleScroll = () => this.handleScroll();
53
54
  this.specialPagesWithoutIds = {
@@ -312,6 +313,9 @@ export class SallaProductsList {
312
313
  if (anchor) {
313
314
  Helper.saveProductSource(this.getSource());
314
315
  Helper.saveProductPosition(product.position);
316
+ // `this.requestId` is the latest page's id, not necessarily the one that rendered
317
+ // this card — see the accepted limitation documented on Helper.saveRequestId.
318
+ Helper.saveRequestId(this.requestId);
315
319
  if (this.hasInfiniteScroll) {
316
320
  this.takeStateSnapshot();
317
321
  sessionStorage.setItem(this.lastViewedProductKey, product.id);
@@ -321,6 +325,7 @@ export class SallaProductsList {
321
325
  // Add-to-cart clicked directly within the list (no navigation): persist the
322
326
  // position so the following Product Added event can attribute the clicked rank.
323
327
  Helper.saveProductPosition(product.position);
328
+ Helper.saveRequestId(this.requestId);
324
329
  }
325
330
  });
326
331
  if (this.selectable) {
@@ -748,6 +753,17 @@ export class SallaProductsList {
748
753
  return;
749
754
  this.isProcessing = true;
750
755
  try {
756
+ try {
757
+ // fetch() hides custom response headers behind CORS unless the backend
758
+ // exposes them, so fall back to a `request_id` field in the JSON body.
759
+ const requestId = httpResponse?.headers?.get?.('s-request-id') || response?.request_id;
760
+ if (requestId) {
761
+ this.requestId = requestId;
762
+ }
763
+ }
764
+ catch {
765
+ // ignore
766
+ }
751
767
  if (!response.data?.length && this.infiniteScroll.pageIndex === 2) {
752
768
  this.showPlaceholder = true;
753
769
  salla.infiniteScroll.destroy(this.infiniteScroll);
@@ -1073,6 +1089,9 @@ export class SallaProductsList {
1073
1089
  if (!response) {
1074
1090
  return [];
1075
1091
  }
1092
+ if (response._requestId) {
1093
+ this.requestId = response._requestId;
1094
+ }
1076
1095
  let source = this.getSource();
1077
1096
  if (response.cursor?.current === 1) {
1078
1097
  if (!this.isAuxiliaryProductsListSource()) {
@@ -17,6 +17,7 @@ export class SallaProductsSlider {
17
17
  */
18
18
  this.productCardComponent = 'custom-salla-product-card';
19
19
  this.apiUrl = '';
20
+ this.requestId = null;
20
21
  this.onWishlistStorageSynced = () => Helper.syncWishlistIcons(this.host, `${this.productCardComponent}, salla-product-card`);
21
22
  }
22
23
  componentWillLoad() {
@@ -57,6 +58,9 @@ export class SallaProductsSlider {
57
58
  }))
58
59
  .then(response => Helper.injectExtraFieldsToResponse(response))
59
60
  .then(async (response) => {
61
+ if (response._requestId) {
62
+ this.requestId = response._requestId;
63
+ }
60
64
  this.productsData = await this.applyBeforeAppendItems(response.data);
61
65
  this.isReady = true;
62
66
  response.source = this.getSource();
@@ -100,6 +104,7 @@ export class SallaProductsSlider {
100
104
  const handleClick = isLandingPage ? undefined : () => {
101
105
  Helper.saveProductSource(this.getSource());
102
106
  Helper.saveProductPosition(product.position);
107
+ Helper.saveRequestId(this.requestId);
103
108
  };
104
109
  if (this.hasCustomComponent && this.productCardComponent.toLowerCase() == 'custom-salla-product-card') {
105
110
  return h("div", { class: "s-products-slider-card", onClick: handleClick }, h("custom-salla-product-card", { product: product, source: this.getSource(), "source-value": this.getSourceValue() }));
@@ -336,16 +336,20 @@ export class SallaSlider {
336
336
  this.hasThumbSlot = !!this.host.querySelector('[slot="thumbs"]');
337
337
  if (this.listenToThumbnailsOption) {
338
338
  salla.event.on('product-options::change', data => {
339
- const isSupportedOptionType = ['thumbnail', 'color'].includes(data?.option?.type);
340
- const optionImageId = data?.detail?.option_value;
341
- if (!isSupportedOptionType || !optionImageId) {
339
+ if (!['thumbnail', 'color'].includes(data?.option?.type)) {
342
340
  return;
343
341
  }
344
- const slideIndex = this.sliderWrapper
345
- ?.querySelector(`[data-img-id="${optionImageId}"]`)
346
- ?.getAttribute('data-slid-index');
347
- if (slideIndex) {
348
- this.slideTo(parseInt(slideIndex), 300, false);
342
+ // Options with their own uploaded thumbnail carry the gallery image id in `color`.
343
+ const imageIds = [data?.detail?.option_value, data?.detail?.color]
344
+ .filter(value => value != null && /^\d+$/.test(String(value)));
345
+ for (const imageId of imageIds) {
346
+ const slideIndex = this.sliderWrapper
347
+ ?.querySelector(`[data-img-id="${CSS.escape(String(imageId))}"]`)
348
+ ?.getAttribute('data-slid-index');
349
+ if (slideIndex != null) {
350
+ this.slideTo(parseInt(slideIndex, 10), 300, false);
351
+ return;
352
+ }
349
353
  }
350
354
  });
351
355
  }