@salla.sa/twilight-components 2.14.469 → 2.14.471

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 (334) hide show
  1. package/dist/cjs/{filepond-CG7dNZgq.js → filepond-nQfoJi-g.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-B1zrjwgr.js → filepond-plugin-file-poster-hJ9M3t0L.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-BqZtoWbe.js → filepond-plugin-file-validate-size-CgpDoJxO.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-BGmGKK9L.js → filepond-plugin-file-validate-type-B2KbrSbZ.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-CYeh6qmG.js → filepond-plugin-image-edit-BkNqlXrL.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-BEVpo-ZQ.js → filepond-plugin-image-exif-orientation-P3Zfw8MQ.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-C7MMEZFE.js → filepond-plugin-image-preview-CNXFmZth.js} +1 -1
  8. package/dist/cjs/{functions-CnBVKKGk.js → functions-B8CHu2z4.js} +1 -1
  9. package/dist/cjs/{index-BNOCK3IN.js → index-CPhoxBkB.js} +1 -1
  10. package/dist/cjs/{index-inmL4H71.js → index-GUQS0-Q-.js} +2 -2
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +22 -6
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +90 -29
  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-apps-icons.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
  21. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-gifting.cjs.entry.js +57 -24
  37. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  44. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +2 -2
  45. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  46. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  50. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +3 -3
  51. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-map.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  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-details-multiple-bundle-product.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-reward-action_4.cjs.entry.js +4 -4
  85. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  98. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  100. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
  101. package/dist/cjs/{tracked-promise-DvLhM2Sx.js → tracked-promise-B7zS9VE-.js} +1 -1
  102. package/dist/cjs/twilight.cjs.js +2 -2
  103. package/dist/cjs/{vanilla-picker-DtuN6WGq.js → vanilla-picker-1QrQ9HZi.js} +1 -1
  104. package/dist/collection/components/salla-breadcrumb/salla-breadcrumb.js +21 -5
  105. package/dist/collection/components/salla-gifting/salla-gifting.css +1 -1
  106. package/dist/collection/components/salla-gifting/salla-gifting.js +55 -22
  107. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +1 -1
  108. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  109. package/dist/collection/components/salla-product-options/availability-utils.js +54 -0
  110. package/dist/collection/components/salla-product-options/salla-product-options.js +40 -29
  111. package/dist/components/index.js +2 -2
  112. package/dist/components/salla-breadcrumb.js +21 -5
  113. package/dist/components/salla-gifting.js +56 -23
  114. package/dist/components/salla-loyalty-reward.js +1 -1
  115. package/dist/components/salla-product-options2.js +90 -28
  116. package/dist/components/salla-reward-card2.js +1 -1
  117. package/dist/esm/{filepond-D4dDq1wa.js → filepond-Doklzvb6.js} +1 -1
  118. package/dist/esm/{filepond-plugin-file-poster-CcnsMPSH.js → filepond-plugin-file-poster-BSBF1f0z.js} +1 -1
  119. package/dist/esm/{filepond-plugin-file-validate-size-qgEgRYkk.js → filepond-plugin-file-validate-size-CbaXmA8m.js} +1 -1
  120. package/dist/esm/{filepond-plugin-file-validate-type-BuFGnco8.js → filepond-plugin-file-validate-type-FjPelZ0O.js} +1 -1
  121. package/dist/esm/{filepond-plugin-image-edit-kS2Sie2d.js → filepond-plugin-image-edit-BmG7tc8Q.js} +1 -1
  122. package/dist/esm/{filepond-plugin-image-exif-orientation-Bjoh_of2.js → filepond-plugin-image-exif-orientation-DhRt-kLt.js} +1 -1
  123. package/dist/esm/{filepond-plugin-image-preview-b_VEHHGf.js → filepond-plugin-image-preview-DZ2XM7gt.js} +1 -1
  124. package/dist/esm/{functions-ISZQDw0y.js → functions-_-9PUSBv.js} +1 -1
  125. package/dist/esm/{index-CqC4wD_f.js → index-CJ2jUKh4.js} +1 -1
  126. package/dist/esm/{index-Cqh-ta1v.js → index-Cly9a4nm.js} +2 -2
  127. package/dist/esm/loader.js +3 -3
  128. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  129. package/dist/esm/salla-accordion_6.entry.js +22 -6
  130. package/dist/esm/salla-add-product-button_5.entry.js +90 -29
  131. package/dist/esm/salla-advertisement.entry.js +1 -1
  132. package/dist/esm/salla-alert_2.entry.js +1 -1
  133. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  134. package/dist/esm/salla-apps-icons.entry.js +1 -1
  135. package/dist/esm/salla-badge.entry.js +1 -1
  136. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  137. package/dist/esm/salla-bullet-delivery_2.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-cashback-banner.entry.js +1 -1
  141. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  142. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  143. package/dist/esm/salla-contacts.entry.js +1 -1
  144. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  145. package/dist/esm/salla-count-down.entry.js +1 -1
  146. package/dist/esm/salla-custom-fields.entry.js +1 -1
  147. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  148. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  149. package/dist/esm/salla-filters-widget.entry.js +1 -1
  150. package/dist/esm/salla-filters.entry.js +1 -1
  151. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  152. package/dist/esm/salla-gifting.entry.js +57 -24
  153. package/dist/esm/salla-hook.entry.js +1 -1
  154. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  155. package/dist/esm/salla-installment.entry.js +1 -1
  156. package/dist/esm/salla-list-tile.entry.js +1 -1
  157. package/dist/esm/salla-localization-modal.entry.js +1 -1
  158. package/dist/esm/salla-login-modal.entry.js +1 -1
  159. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  160. package/dist/esm/salla-loyalty-hero_2.entry.js +2 -2
  161. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  162. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  163. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  164. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  165. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  166. package/dist/esm/salla-loyalty-reward.entry.js +3 -3
  167. package/dist/esm/salla-loyalty.entry.js +1 -1
  168. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  169. package/dist/esm/salla-map.entry.js +1 -1
  170. package/dist/esm/salla-menu.entry.js +1 -1
  171. package/dist/esm/salla-metadata.entry.js +1 -1
  172. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  173. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  174. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  175. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  176. package/dist/esm/salla-notification-item.entry.js +1 -1
  177. package/dist/esm/salla-notifications.entry.js +1 -1
  178. package/dist/esm/salla-offer-modal.entry.js +1 -1
  179. package/dist/esm/salla-offer.entry.js +1 -1
  180. package/dist/esm/salla-order-branch.entry.js +1 -1
  181. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  182. package/dist/esm/salla-order-details-options.entry.js +1 -1
  183. package/dist/esm/salla-order-details.entry.js +1 -1
  184. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  185. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  186. package/dist/esm/salla-order-edit.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 +1 -1
  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_2.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 +1 -1
  197. package/dist/esm/salla-progress-bar.entry.js +1 -1
  198. package/dist/esm/salla-quick-order.entry.js +1 -1
  199. package/dist/esm/salla-rating-modal.entry.js +1 -1
  200. package/dist/esm/salla-reward-action_4.entry.js +4 -4
  201. package/dist/esm/salla-scopes.entry.js +1 -1
  202. package/dist/esm/salla-search.entry.js +1 -1
  203. package/dist/esm/salla-skeleton.entry.js +1 -1
  204. package/dist/esm/salla-slider.entry.js +1 -1
  205. package/dist/esm/salla-social-share.entry.js +1 -1
  206. package/dist/esm/salla-social.entry.js +1 -1
  207. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  208. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  209. package/dist/esm/salla-tooltip.entry.js +1 -1
  210. package/dist/esm/salla-trust-badges.entry.js +1 -1
  211. package/dist/esm/salla-user-menu.entry.js +1 -1
  212. package/dist/esm/salla-user-profile.entry.js +1 -1
  213. package/dist/esm/salla-user-settings.entry.js +1 -1
  214. package/dist/esm/salla-verify.entry.js +1 -1
  215. package/dist/esm/salla-wallet.entry.js +1 -1
  216. package/dist/esm/salla-wishlist-actions.entry.js +1 -1
  217. package/dist/esm/{tracked-promise-CH_UyK-l.js → tracked-promise-CdJOz1H_.js} +1 -1
  218. package/dist/esm/twilight.js +3 -3
  219. package/dist/esm/{vanilla-picker-PE31tu9y.js → vanilla-picker-B7uhKtBD.js} +1 -1
  220. package/dist/twilight/{p-a85d80b5.entry.js → p-005ac762.entry.js} +1 -1
  221. package/dist/twilight/p-00f3a2ec.entry.js +4 -0
  222. package/dist/twilight/{p-e06e37c1.entry.js → p-03d28343.entry.js} +1 -1
  223. package/dist/twilight/{p-71f2ba66.entry.js → p-05266229.entry.js} +1 -1
  224. package/dist/twilight/{p-74e0d0c2.entry.js → p-05fdfdc9.entry.js} +1 -1
  225. package/dist/twilight/{p-3b198162.entry.js → p-06a0b408.entry.js} +1 -1
  226. package/dist/twilight/{p-5701244a.entry.js → p-08d2e056.entry.js} +1 -1
  227. package/dist/twilight/{p-16c64a38.entry.js → p-0b6d87a5.entry.js} +1 -1
  228. package/dist/twilight/{p-d823cbcd.entry.js → p-0e9ae0e0.entry.js} +1 -1
  229. package/dist/twilight/{p-ce0410d5.entry.js → p-130b525c.entry.js} +1 -1
  230. package/dist/twilight/{p-51c30ec2.entry.js → p-14ca32a2.entry.js} +1 -1
  231. package/dist/twilight/{p-559bdcca.entry.js → p-16c9b4bd.entry.js} +1 -1
  232. package/dist/twilight/{p-219b14c4.entry.js → p-1938ad27.entry.js} +1 -1
  233. package/dist/twilight/{p-5d364fc2.entry.js → p-195589ec.entry.js} +1 -1
  234. package/dist/twilight/{p-e265d626.entry.js → p-20afc879.entry.js} +1 -1
  235. package/dist/twilight/{p-d6b6a8ad.entry.js → p-25f7fbc1.entry.js} +1 -1
  236. package/dist/twilight/{p-d23eeb0c.entry.js → p-288572d0.entry.js} +1 -1
  237. package/dist/twilight/{p-732bd9fb.entry.js → p-2d235234.entry.js} +1 -1
  238. package/dist/twilight/{p-f67639df.entry.js → p-39426e43.entry.js} +1 -1
  239. package/dist/twilight/{p-40eb9556.entry.js → p-39ff606c.entry.js} +1 -1
  240. package/dist/twilight/{p-227d11a0.entry.js → p-40e2fc5f.entry.js} +1 -1
  241. package/dist/twilight/{p-0cca1b63.entry.js → p-44abf289.entry.js} +1 -1
  242. package/dist/twilight/{p-2dbb3b49.entry.js → p-46b4c12f.entry.js} +1 -1
  243. package/dist/twilight/{p-15b3f969.entry.js → p-47080690.entry.js} +1 -1
  244. package/dist/twilight/{p-f64168cc.entry.js → p-48e85ee2.entry.js} +1 -1
  245. package/dist/twilight/{p-77d2312a.entry.js → p-4ba3ebb1.entry.js} +1 -1
  246. package/dist/twilight/{p-1db8b515.entry.js → p-4d368d57.entry.js} +1 -1
  247. package/dist/twilight/{p-cee7a8ad.entry.js → p-55b21f9b.entry.js} +1 -1
  248. package/dist/twilight/{p-49181c4a.entry.js → p-5971669a.entry.js} +1 -1
  249. package/dist/twilight/{p-1415eb5e.entry.js → p-5b8adb19.entry.js} +1 -1
  250. package/dist/twilight/{p-3e5a57cc.entry.js → p-5c0d795c.entry.js} +1 -1
  251. package/dist/twilight/{p-ccd8c960.entry.js → p-5ca57591.entry.js} +1 -1
  252. package/dist/twilight/{p-8db52fe9.entry.js → p-5fe6ac53.entry.js} +1 -1
  253. package/dist/twilight/{p-73d9e4c8.entry.js → p-63be9782.entry.js} +1 -1
  254. package/dist/twilight/{p-5334222c.entry.js → p-654af42c.entry.js} +1 -1
  255. package/dist/twilight/{p-c6be8afd.entry.js → p-6838ec3a.entry.js} +1 -1
  256. package/dist/twilight/{p-b7727021.entry.js → p-68fa9305.entry.js} +1 -1
  257. package/dist/twilight/{p-d63f2cbd.entry.js → p-6ba653dc.entry.js} +1 -1
  258. package/dist/twilight/{p-32d5d279.entry.js → p-6efce4b0.entry.js} +1 -1
  259. package/dist/twilight/{p-196fad8d.entry.js → p-72bc753c.entry.js} +1 -1
  260. package/dist/twilight/{p-4c370853.entry.js → p-7343e9d9.entry.js} +1 -1
  261. package/dist/twilight/{p-16b64bb5.entry.js → p-7874b654.entry.js} +1 -1
  262. package/dist/twilight/{p-2ba603bc.entry.js → p-79c2cc3c.entry.js} +1 -1
  263. package/dist/twilight/{p-93ec294d.entry.js → p-7e4e3e76.entry.js} +1 -1
  264. package/dist/twilight/{p-b16d8b19.entry.js → p-7ee71548.entry.js} +1 -1
  265. package/dist/twilight/p-7efa0246.entry.js +4 -0
  266. package/dist/twilight/{p-1c0f9fd9.entry.js → p-820ee5fe.entry.js} +1 -1
  267. package/dist/twilight/{p-fd180bd3.entry.js → p-821fd8c1.entry.js} +1 -1
  268. package/dist/twilight/{p-79c20964.entry.js → p-84207e00.entry.js} +1 -1
  269. package/dist/twilight/{p-798fb3c7.entry.js → p-86469c65.entry.js} +1 -1
  270. package/dist/twilight/{p-14a3277b.entry.js → p-8aca6bc0.entry.js} +1 -1
  271. package/dist/twilight/{p-36884c05.entry.js → p-8c404dbf.entry.js} +1 -1
  272. package/dist/twilight/{p-aec0a2df.entry.js → p-8d26f80c.entry.js} +1 -1
  273. package/dist/twilight/p-8e121e7c.entry.js +4 -0
  274. package/dist/twilight/{p-b6c0aa79.entry.js → p-92961807.entry.js} +1 -1
  275. package/dist/twilight/{p-38a791cb.entry.js → p-96825a64.entry.js} +1 -1
  276. package/dist/twilight/{p-8bcc3b86.entry.js → p-98f0f411.entry.js} +1 -1
  277. package/dist/twilight/p-99b127fa.entry.js +4 -0
  278. package/dist/twilight/{p-e0671ff1.entry.js → p-9b7ad2bd.entry.js} +1 -1
  279. package/dist/twilight/{p-78ff445c.entry.js → p-9ddfdc65.entry.js} +1 -1
  280. package/dist/twilight/{p-5fxCpxw5.js → p-BUcuXVwN.js} +1 -1
  281. package/dist/twilight/{p-CUfwD9kr.js → p-BpiX36Sb.js} +1 -1
  282. package/dist/twilight/{p-B0uENqSF.js → p-C-NwbNqh.js} +1 -1
  283. package/dist/twilight/p-CWrfZ9Qs.js +9 -0
  284. package/dist/twilight/{p-7FtjQghq.js → p-CXgdON62.js} +1 -1
  285. package/dist/twilight/{p-dKdk2xpB.js → p-CkxoydBy.js} +1 -1
  286. package/dist/twilight/{p-Cqh-ta1v.js → p-Cly9a4nm.js} +1 -1
  287. package/dist/twilight/{p-yyvPGK6r.js → p-D3bGV5Yn.js} +2 -2
  288. package/dist/twilight/{p-m2p-QAbu.js → p-DGWMOt94.js} +1 -1
  289. package/dist/twilight/{p-DZ18vMT2.js → p-DhE0-1Aj.js} +1 -1
  290. package/dist/twilight/{p-a918b812.entry.js → p-a47dccd1.entry.js} +1 -1
  291. package/dist/twilight/{p-681f8874.entry.js → p-a74197ee.entry.js} +1 -1
  292. package/dist/twilight/{p-d8f22e4b.entry.js → p-a900af64.entry.js} +1 -1
  293. package/dist/twilight/{p-7e185acf.entry.js → p-aae74199.entry.js} +1 -1
  294. package/dist/twilight/{p-badf4c9d.entry.js → p-af970c82.entry.js} +1 -1
  295. package/dist/twilight/{p-9785f314.entry.js → p-b07f1925.entry.js} +1 -1
  296. package/dist/twilight/{p-b295c1f1.entry.js → p-b0f0d7bc.entry.js} +1 -1
  297. package/dist/twilight/{p-dc8555bf.entry.js → p-b555a4aa.entry.js} +1 -1
  298. package/dist/twilight/{p-31bd852c.entry.js → p-b8b3c0fc.entry.js} +1 -1
  299. package/dist/twilight/{p-6e723d46.entry.js → p-b96e442c.entry.js} +1 -1
  300. package/dist/twilight/{p-J_27I63T.js → p-b9tXSwoW.js} +1 -1
  301. package/dist/twilight/{p-C3kw3FEZ.js → p-bo_zr0My.js} +1 -1
  302. package/dist/twilight/{p-6b6f9822.entry.js → p-c184157a.entry.js} +1 -1
  303. package/dist/twilight/{p-dca3b67e.entry.js → p-c5613717.entry.js} +1 -1
  304. package/dist/twilight/p-c5f3b4e2.entry.js +4 -0
  305. package/dist/twilight/{p-3d517178.entry.js → p-c992256d.entry.js} +1 -1
  306. package/dist/twilight/{p-9a3f27e9.entry.js → p-c9b37b12.entry.js} +1 -1
  307. package/dist/twilight/{p-7afe6e1a.entry.js → p-cdb0e80a.entry.js} +1 -1
  308. package/dist/twilight/p-d07ee0d6.entry.js +4 -0
  309. package/dist/twilight/{p-6590acee.entry.js → p-d7f528c7.entry.js} +1 -1
  310. package/dist/twilight/{p-06372aeb.entry.js → p-dab62284.entry.js} +1 -1
  311. package/dist/twilight/{p-19fe2b27.entry.js → p-db2d9d1c.entry.js} +1 -1
  312. package/dist/twilight/{p-4ee20a54.entry.js → p-e12da840.entry.js} +1 -1
  313. package/dist/twilight/{p-32a7cb85.entry.js → p-eb767e28.entry.js} +1 -1
  314. package/dist/twilight/{p-4b20872a.entry.js → p-ef345c2c.entry.js} +1 -1
  315. package/dist/twilight/{p-f0e96875.entry.js → p-f2d0b9d1.entry.js} +1 -1
  316. package/dist/twilight/{p-8b538bd7.entry.js → p-f5969e58.entry.js} +1 -1
  317. package/dist/twilight/{p-6d23fd92.entry.js → p-f6435c3c.entry.js} +1 -1
  318. package/dist/twilight/{p-17920aa7.entry.js → p-f9c1c247.entry.js} +1 -1
  319. package/dist/twilight/{p-d0c8435f.entry.js → p-fa0ebde1.entry.js} +1 -1
  320. package/dist/twilight/p-fbf4cb19.entry.js +4 -0
  321. package/dist/twilight/twilight.esm.js +1 -1
  322. package/dist/types/components/salla-breadcrumb/salla-breadcrumb.d.ts +1 -0
  323. package/dist/types/components/salla-gifting/salla-gifting.d.ts +9 -0
  324. package/dist/types/components/salla-product-options/availability-utils.d.ts +19 -0
  325. package/dist/types/components/salla-product-options/salla-product-options.d.ts +2 -0
  326. package/package.json +5 -5
  327. package/dist/twilight/p-054c9462.entry.js +0 -4
  328. package/dist/twilight/p-06c06719.entry.js +0 -4
  329. package/dist/twilight/p-0c7efc0b.entry.js +0 -4
  330. package/dist/twilight/p-293a6d6b.entry.js +0 -4
  331. package/dist/twilight/p-4a81a708.entry.js +0 -4
  332. package/dist/twilight/p-61ad2660.entry.js +0 -4
  333. package/dist/twilight/p-DyQ5MH6F.js +0 -9
  334. package/dist/twilight/p-dbdbb882.entry.js +0 -4
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-Cqh-ta1v.js';
4
+ import { r as registerInstance, h } from './index-Cly9a4nm.js';
5
5
 
6
6
  function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
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-Cqh-ta1v.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-Cly9a4nm.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-PE31tu9y.js').then(function (n) { return n.v; }).then(mod => {
361
+ this.pickerReady = import('./vanilla-picker-B7uhKtBD.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-D4dDq1wa.js').then(function (n) { return n.f; }),
822
- import('./filepond-plugin-file-validate-size-qgEgRYkk.js').then(function (n) { return n.f; }),
823
- import('./filepond-plugin-image-exif-orientation-Bjoh_of2.js').then(function (n) { return n.f; }),
824
- import('./filepond-plugin-image-preview-b_VEHHGf.js').then(function (n) { return n.f; }),
825
- import('./filepond-plugin-image-edit-kS2Sie2d.js').then(function (n) { return n.f; }),
826
- import('./filepond-plugin-file-validate-type-BuFGnco8.js').then(function (n) { return n.f; }),
827
- import('./filepond-plugin-file-poster-CcnsMPSH.js').then(function (n) { return n.f; })
821
+ import('./filepond-Doklzvb6.js').then(function (n) { return n.f; }),
822
+ import('./filepond-plugin-file-validate-size-CbaXmA8m.js').then(function (n) { return n.f; }),
823
+ import('./filepond-plugin-image-exif-orientation-DhRt-kLt.js').then(function (n) { return n.f; }),
824
+ import('./filepond-plugin-image-preview-DZ2XM7gt.js').then(function (n) { return n.f; }),
825
+ import('./filepond-plugin-image-edit-BmG7tc8Q.js').then(function (n) { return n.f; }),
826
+ import('./filepond-plugin-file-validate-type-FjPelZ0O.js').then(function (n) { return n.f; }),
827
+ import('./filepond-plugin-file-poster-BSBF1f0z.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-CqC4wD_f.js').then(function (n) { return n.i; });
1428
+ const telInputModule = await import('./index-CJ2jUKh4.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-Cqh-ta1v.js';
4
+ import { r as registerInstance, c as createEvent, h as h$4, H as Host, a as getElement } from './index-Cly9a4nm.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-Cqh-ta1v.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-Cly9a4nm.js';
5
5
 
6
6
  const sallaCartCouponsCss = "";
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-Cqh-ta1v.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-Cly9a4nm.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-Cqh-ta1v.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-Cly9a4nm.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, 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-Cqh-ta1v.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-Cly9a4nm.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-BXj4f_Qj.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-Cqh-ta1v.js';
4
+ import { r as registerInstance, h, H as Host } from './index-Cly9a4nm.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-Cqh-ta1v.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-Cly9a4nm.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-Cqh-ta1v.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-Cly9a4nm.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 } from './index-Cqh-ta1v.js';
4
+ import { r as registerInstance, h, H as Host } from './index-Cly9a4nm.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
 
@@ -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-Cqh-ta1v.js';
4
+ import { r as registerInstance, c as createEvent, h } from './index-Cly9a4nm.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-Cqh-ta1v.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-Cly9a4nm.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-Cqh-ta1v.js';
4
+ import { r as registerInstance, h, H as Host } from './index-Cly9a4nm.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-Cqh-ta1v.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-Cly9a4nm.js';
5
5
  import { H as Helper } from './Helper-BXj4f_Qj.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-Cqh-ta1v.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-Cly9a4nm.js';
5
5
  import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
6
6
  import { H as Helper } from './Helper-BXj4f_Qj.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-Cqh-ta1v.js';
4
+ import { r as registerInstance, h, H as Host } from './index-Cly9a4nm.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-Cqh-ta1v.js';
4
+ import { r as registerInstance, h } from './index-Cly9a4nm.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';
@@ -20,7 +20,7 @@ var Alert = `<!-- Generated by IcoMoon.io -->
20
20
  </svg>
21
21
  `;
22
22
 
23
- const sallaGiftingCss = ".s-gifting-steps-wrapper{transition:0.2s cubic-bezier(0.55, 0, 0.1, 1) 0s}.s-gifting-select{background-image:url(\"data:image/svg+xml;utf8,<svg version='1.1' fill='gray' xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><title>keyboard_arrow_down</title><path d='M9.875 11.104l6.125 6.125 6.125-6.125 1.875 1.875-8 8-8-8z'></path></svg>\");background-size:24px;background-repeat:no-repeat;background-position:99%;appearance:none}[dir=rtl] .s-gifting-select{background-position:5px}.s-gifting-widget-vertical .s-list-tile-item [slot=title]{display:flex;align-items:center;gap:1.5rem}.s-gifting-widget-vertical .s-list-tile-item-content{width:100%}.s-gifting-modal .s-searchable-dropdown-trigger{border-color:#d1d5db}.s-gifting-modal .s-searchable-dropdown-trigger:hover:not(.s-searchable-dropdown-trigger--disabled){border-color:#d1d5db}.s-gifting-modal .s-searchable-dropdown-trigger--open,.s-gifting-modal .s-searchable-dropdown-trigger:focus{border-color:var(--color-primary, #00897b);box-shadow:0 0 0 1px var(--color-primary, #00897b)}.s-gifting-modal .s-searchable-dropdown-trigger-placeholder{color:#000}.s-gifting-modal .s-gifting-image-section{margin-bottom:1.5rem}.s-gifting-modal .s-gifting-slider{margin-bottom:0.5rem}.s-gifting-modal .s-gifting-image{display:block}.s-gifting-modal .s-gifting-image img{display:block;width:auto;height:100px;object-fit:contain}.s-gifting-modal .s-gifting-image-section+.anime-item .s-gifting-text-title{margin-top:1rem}";
23
+ const sallaGiftingCss = ".s-gifting-steps-wrapper{transition:height 0.8s cubic-bezier(0.55, 0, 0.1, 1) 0s}.s-gifting-select{background-image:url(\"data:image/svg+xml;utf8,<svg version='1.1' fill='gray' xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><title>keyboard_arrow_down</title><path d='M9.875 11.104l6.125 6.125 6.125-6.125 1.875 1.875-8 8-8-8z'></path></svg>\");background-size:24px;background-repeat:no-repeat;background-position:99%;appearance:none}[dir=rtl] .s-gifting-select{background-position:5px}.s-gifting-widget-vertical .s-list-tile-item [slot=title]{display:flex;align-items:center;gap:1.5rem}.s-gifting-widget-vertical .s-list-tile-item-content{width:100%}.s-gifting-modal .s-searchable-dropdown-trigger{border-color:#d1d5db}.s-gifting-modal .s-searchable-dropdown-trigger:hover:not(.s-searchable-dropdown-trigger--disabled){border-color:#d1d5db}.s-gifting-modal .s-searchable-dropdown-trigger--open,.s-gifting-modal .s-searchable-dropdown-trigger:focus{border-color:var(--color-primary, #00897b);box-shadow:0 0 0 1px var(--color-primary, #00897b)}.s-gifting-modal .s-searchable-dropdown-trigger-placeholder{color:#000}.s-gifting-modal .s-gifting-image-section{margin-bottom:1.5rem}.s-gifting-modal .s-gifting-slider{margin-bottom:0.5rem}.s-gifting-modal .s-gifting-image{display:block}.s-gifting-modal .s-gifting-image img{display:block;width:auto;height:100px;object-fit:contain}.s-gifting-modal .s-gifting-image-section+.anime-item .s-gifting-text-title{margin-top:1rem}";
24
24
 
25
25
  const SallaGifting = class {
26
26
  constructor(hostRef) {
@@ -189,26 +189,25 @@ const SallaGifting = class {
189
189
  salla.event.dispatch('login::open', { withoutReload: true });
190
190
  return;
191
191
  }
192
+ // Reopen on step 1, but KEEP the user's selections (image / text / custom
193
+ // message / sender+receiver). The modal element is never destroyed, so its
194
+ // state and DOM survive close→reopen without a page refresh — we only reset
195
+ // the step view and clear anime.js's leftover inline styles so the slide
196
+ // doesn't reopen with step 2 painted on top.
197
+ this.resetStepsAnimation();
192
198
  this.currentStep = 1;
193
199
  this.parentClass = 'is-current-step-1';
194
200
  this.step2Animated = false;
195
- this.selectedText = undefined;
196
- this.selectedGiftTextOption = undefined;
197
- this.uploadedImage = undefined;
198
- this.selectedImage = undefined;
201
+ // Drop any stale inline height from the previous session's step (e.g. step 2,
202
+ // shorter for digital products) so reopening to step 1 isn't clipped. Cleared
203
+ // while the modal is hidden, so the later set won't animate.
204
+ this.stepsWrapper?.style.removeProperty('height');
199
205
  await this.modal.open();
200
206
  // Determine the appropriate method to call based on the `physicalProducts` flag
201
207
  const giftDetailsMethod = this.productId ? () => salla.product.getGiftProductDetails(this.productId) : () => salla.cart.getGiftCartDetails();
202
208
  return await salla.api.withoutNotifier(giftDetailsMethod)
203
209
  .then((response) => {
204
210
  this.gift = response.data;
205
- // Backward-compat: older BE responses omit these visibility flags. Treat a
206
- // missing flag as enabled so the image/text steps still render until the BE
207
- // that returns them is deployed. Use `??` so an explicit `false` is preserved.
208
- this.gift.show_texts = this.gift.show_texts ?? true;
209
- this.gift.show_images = this.gift.show_images ?? true;
210
- this.gift.show_custom_text = this.gift.show_custom_text ?? true;
211
- this.gift.show_image_upload = this.gift.show_image_upload ?? true;
212
211
  this.senderName = this.gift.sender_name;
213
212
  this.disableClass = this.gift?.show_image_upload ? '' : 'pointer-events-none';
214
213
  if (!this.gift.show_texts) {
@@ -224,11 +223,6 @@ const SallaGifting = class {
224
223
  this.parentClass = 'is-current-step-2';
225
224
  this.step2Animated = true;
226
225
  }
227
- else if (!this.gift.show_images) {
228
- // the slider lays out asynchronously,
229
- // so an early measurement would pin it too short and overlap the button.
230
- this.setWrapperHeight(1, 250, 5);
231
- }
232
226
  })
233
227
  .catch(e => {
234
228
  this.hasError = true;
@@ -239,6 +233,31 @@ const SallaGifting = class {
239
233
  skipStep1() {
240
234
  return !!this.gift && !this.gift.show_images && !this.gift.show_texts;
241
235
  }
236
+ /**
237
+ * anime.js writes inline transform/opacity onto the step containers and their
238
+ * `.anime-item` children while transitioning between steps. The modal is only
239
+ * hidden on close (the component is never destroyed), and Stencil never set
240
+ * those inline styles so it won't clear them on re-render. Without this reset,
241
+ * reopening keeps step 2 painted on top (leftover opacity/translate) while the
242
+ * markup is back on step 1 — clicks then fall through to step 1's uploader.
243
+ */
244
+ resetStepsAnimation() {
245
+ // `.anime-item` children carry no JSX-managed style, so clearing them fully is safe.
246
+ [this.step1Elems, this.step2Elems].forEach(stepEl => {
247
+ stepEl?.querySelectorAll('.anime-item')
248
+ .forEach(item => item.removeAttribute('style'));
249
+ });
250
+ // step 1 container can carry anime leftovers (goToStep1 animates it) and has
251
+ // no JSX-managed style, so a full clear is safe.
252
+ this.step1Elems?.removeAttribute('style');
253
+ // step 2 container is animated by goToStep2 too, but in the skip-step-1 case
254
+ // its style is JSX-managed. Only strip the anime-applied props so we don't
255
+ // fight Stencil's vnode-level style diffing (which would not restore it).
256
+ if (this.step2Elems && !this.skipStep1()) {
257
+ this.step2Elems.style.removeProperty('opacity');
258
+ this.step2Elems.style.removeProperty('transform');
259
+ }
260
+ }
242
261
  /**
243
262
  *
244
263
  * Hide / close the gifting modal window
@@ -304,7 +323,17 @@ const SallaGifting = class {
304
323
  if (withValidation && !this.validateStep1()) {
305
324
  return;
306
325
  }
307
- this.setWrapperHeight(2, 600, 0);
326
+ // Pin the wrapper to step 1's current height as an explicit px value first.
327
+ // The wrapper is `auto` on open, and CSS can't transition from `auto` — it
328
+ // would snap (flash straight to the big size). With a px starting point the
329
+ // grow to step 2 animates smoothly, in sync with the slide.
330
+ if (this.stepsWrapper && this.step1Elems) {
331
+ this.stepsWrapper.style.height = `${this.step1Elems.offsetHeight}px`;
332
+ }
333
+ // Step 2 is absolutely positioned, so its height is measurable even while it's
334
+ // translated off-screen. Grow right away (small delay only to flush the pending
335
+ // re-render and let the px start-height paint) so the background expands in sync.
336
+ this.setWrapperHeight(2, 50, 0);
308
337
  let stepNextAnime = new anime.timeline();
309
338
  stepNextAnime.add({
310
339
  targets: this.step1Elems.querySelectorAll(`#${this.hostId} .anime-item`),
@@ -635,8 +664,12 @@ const SallaGifting = class {
635
664
  this.setWrapperHeight(2, 150, 0);
636
665
  return;
637
666
  }
667
+ // A preset option from the list sends its id as `text_id`; the custom option
668
+ // sends the typed message as `text`.
669
+ const isCustomText = this.selectedGiftTextOption === 'custom';
638
670
  const giftPayload = {
639
- text: this.selectedText,
671
+ text: isCustomText ? this.selectedText : undefined,
672
+ text_id: !isCustomText && this.selectedGiftTextOption ? Number(this.selectedGiftTextOption) : undefined,
640
673
  sender_name: this.senderName,
641
674
  quantity: this.quantity,
642
675
  deliver_at: this.showCalendar ? this.deliveryDate : null,
@@ -709,7 +742,7 @@ const SallaGifting = class {
709
742
  }
710
743
  render() {
711
744
  return [
712
- h("div", { key: 'fdb6b68a052a9fa0a0d527edb25e3d7783cc47e9' }, h("salla-list-tile", { key: '3cfb7f37df96e924af7f977fd17f4161e40f83fe', class: this.generateClass() }, h("div", { key: '291a27d70bc43d6edac5c5838d93eaa6a51fb84a', slot: "title" }, this.vertical ? h("span", { innerHTML: SIGiftSharing }) : '', h("h3", { key: 'c49f119d84a279338c4478872883ba7356e118ce' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: '2ccfb84620132477c0845ffc0bbc257c350cdeb9', slot: "subtitle" }, h("div", { key: '2840a426b505f7fe7ac5c285ab9b74ca4f99ab55' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: 'e3560b1bc8a6c062417f3e2b7a91b5b20b4e1880', slot: "action" }, h("salla-button", { key: '5d96fb354f2845955344d782e693fe27a0fa2652', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '384ab549dc1942a600cc37c4df26008a8a05e9ab', name: "widget-btn-content" }, h("div", { key: '80d83cd6296f2e93ebbc0eada8737d65c76e4ce0', class: "s-gifting-widget-action-content" }, h("span", { key: '69f6686f6fe23bdab891ab12b295cf918ba0a8fb', innerHTML: SIGiftSharing }), " \u00A0", h("span", { key: '495c9e9b10dcb69a1335d0345d42a8323b52abef' }, this.sectionBtnText)))))), h("salla-modal", { key: '303a208c394aa2c91f2273b3909208c29266b490', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '985a4d292ea01cb7ff48b443afe854de6f293abf', slot: "loading" }, h("div", { key: 'ba2b61f3bebf33d04d7132a00d3334a35042646a', class: "s-gifting-skeleton" }, h("div", { key: '4c8d2a5f128407423fd0c3070907d7781fb92283', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: '8585263f0bcb523a5b537c3b13f9c2a0a3a898d0', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: 'dbd2c3efbe5c91563275c09efd832709b6ed6748', class: "s-gifting-modal-title" }, h("div", { key: '4885e29c71001b530be33a4cf585fd77cf434dfd', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: '6c248a65bcc92c51555f0dd8f6d10c6f9d4a2b9a', height: '15px', width: '150px' })))), h("div", { key: '07de64586572cea82b2561344b5922ad4f7cb2c1', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: '9a9e45772c6f5ce30a19ebcb53405032dfc25862', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'd1165987504fb2e5a7d013118b6ca5db2bf1523c', height: '230px' }), h("salla-skeleton", { key: '33cc657831541bcf6916c54c8dffca3b9933ccbb', height: '10px', width: '150px' }), h("salla-skeleton", { key: '46ff78b7725c57c955c73e9a71b9bf1c7340a354', height: '30px' }), h("salla-skeleton", { key: '520bd0a02c0bf4ef6109f014856dfad71d779aca', height: '40px' })))), h("slot", { key: '5519fd6df4f911b042f68f6825a563ce92f16733', name: "header" }), !!this.hasError ?
745
+ h("div", { key: 'b26068c5c6b0c40814e1cb67208afa352b1d913c' }, h("salla-list-tile", { key: '22189813371c56f1b66334d826c342d30dade34f', class: this.generateClass() }, h("div", { key: '5f9c597b87ab39d591144c4943feba0c775d645b', slot: "title" }, this.vertical ? h("span", { innerHTML: SIGiftSharing }) : '', h("h3", { key: '4341ea66f7d9a547d919be173476908c5d0f018a' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: 'f2eb13ddcd7810da368ea35e161addbef1af5ce4', slot: "subtitle" }, h("div", { key: '1b69dfbce6b7b7d94bbee4e325d8f65c2b34dcce' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: '6a8f526bcbb0a659e028155ce08aec2538e4fff2', slot: "action" }, h("salla-button", { key: '5cf31da452a173a487c4ea9dbd1356fd10d3b800', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '4aef407fd0a79b0172f0803a7134bd366ac6b034', name: "widget-btn-content" }, h("div", { key: '333273064da0b5071a7a7433ec7626ef00bd9e1e', class: "s-gifting-widget-action-content" }, h("span", { key: '913d82d641ed54218f20a76acefca855d1324427', innerHTML: SIGiftSharing }), " \u00A0", h("span", { key: 'acc39208f212714bef2c56bd9b5e5c482e3a7122' }, this.sectionBtnText)))))), h("salla-modal", { key: '9bceb2e1a4bb4c9880b220d679a0e295ba1ae732', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '0ea0746b7c11c98c8a6d9535771afb3a4681c1c1', slot: "loading" }, h("div", { key: '5dcfb9acd127f3cf786b626a1be7e9f27ff7ac31', class: "s-gifting-skeleton" }, h("div", { key: 'd5205c53714ca60277a82abce7fb12f0a01dd38d', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: 'fde7ede398b9edb638ade25677915747855584f2', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: '61bb2c36958080e37f83b9bc27ce05db5abb3230', class: "s-gifting-modal-title" }, h("div", { key: '10125cb25732100787b118f34a4e323aa215185c', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: '2ee525ae05fb6540bc0fdcaa846b14e4a476a297', height: '15px', width: '150px' })))), h("div", { key: '8e4544f3bd4a81c961259de27ebf255a998a5e4f', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: '237f0961f0748aeef3c5b77819234b3215f794e2', height: '10px', width: '150px' }), h("salla-skeleton", { key: '19510cb426335b9733ef4a34dc7b8e5bffe0c23c', height: '230px' }), h("salla-skeleton", { key: '78defffee0c94e9323ede7e12660ae234d84d019', height: '10px', width: '150px' }), h("salla-skeleton", { key: '21b800dff2bec3c1caea94115a37153e406eef11', height: '30px' }), h("salla-skeleton", { key: 'd8a08143339c184d05758d1497e22ad23cdac4f6', height: '40px' })))), h("slot", { key: '9ef7679d02250428236347b5bb4a080b04244a53', name: "header" }), !!this.hasError ?
713
746
  h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" }, this.errorMessage || salla.lang.get('common.errors.empty_results')), h("span", { slot: "description" }, " "))
714
747
  :
715
748
  [
@@ -720,8 +753,8 @@ const SallaGifting = class {
720
753
  h("salla-slider", { id: "gifting-slider", loop: false, "controls-outer": true, class: "s-gifting-slider", type: "carousel" }, h("div", { slot: "items" }, this.gift && this.gift.gift_images ?
721
754
  this.gift?.gift_images.map((item) => h("a", { class: "s-gifting-clickable s-gifting-image", onClick: () => this.setPreview(item) }, h("img", { src: item.url, alt: `${item.id}` }))) : ''))
722
755
  : "")), this.gift && this.gift.show_texts ?
723
- h("div", { class: "anime-item" }, h("div", { class: "s-gifting-modal-uploader-title s-gifting-text-title" }, this.giftText), h("div", { class: "s-form-group s-gifting-selectText", ref: el => this.textSelect = el }, h("select", { id: "gift-text-selection", name: "gift-text-selection", class: "s-form-control s-gifting-select", onChange: e => this.toggleGiftText(e) }, h("option", { "data-id": null, selected: true }, this.selectGiftMessage), this.gift && this.gift.gift_texts ?
724
- this.gift?.gift_texts.map((txt) => h("option", { "data-id": txt.id, value: txt.text, key: txt.id }, txt.text)) : '', this.gift && this.gift.show_custom_text ? h("option", { "data-id": "custom" }, this.giftCustomText) : null)), h("div", { class: this.showGiftText && this.gift && this.gift.show_custom_text ? "s-form-group s-gifting-textarea shown" : "s-form-group s-gifting-textarea hide", ref: (el) => this.customTextArea = el }, h("label", { htmlFor: "gift-custom-text", class: "s-form-label" }, this.giftCustomText), h("div", { class: "mt-1" }, h("textarea", { onInput: (event) => this.handleTextAreaChange(event), rows: 4, ref: (el) => this.textArea = el, name: "gift-custom-text", id: "gift-custom-text", class: "s-form-control" })))) : null, h("div", { class: "anime-item" }, h("salla-button", { color: "primary", width: "wide", onClick: () => this.goToStep2(!!this.gift?.show_texts) }, h("span", null, this.nextStep)))), h("div", { class: "s-gifting-step-two gift-step-2", style: this.skipStep1() ? { opacity: '1', transform: 'translateX(0)', position: 'relative' } : undefined, ref: el => this.step2Elems = el }, h("div", { class: this.step2ItemClass(this.errors?.['sender_name'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { htmlFor: "sender_name", class: "s-form-label" }, this.senderNameLabel), h("input", { type: "text", class: "s-form-control", name: "sender_name", id: "sender_name", value: this.senderName, onInput: (event) => this.handleSenderName(event), placeholder: "" }), this.errors && this.errors['sender_name'] ?
756
+ h("div", { class: "anime-item" }, h("div", { class: "s-gifting-modal-uploader-title s-gifting-text-title" }, this.giftText), h("div", { class: "s-form-group s-gifting-selectText", ref: el => this.textSelect = el }, h("select", { id: "gift-text-selection", name: "gift-text-selection", class: "s-form-control s-gifting-select", onChange: e => this.toggleGiftText(e) }, h("option", { "data-id": null, selected: !this.selectedGiftTextOption }, this.selectGiftMessage), this.gift && this.gift.gift_texts ?
757
+ this.gift?.gift_texts.map((txt) => h("option", { "data-id": txt.id, value: txt.text, key: txt.id, selected: String(this.selectedGiftTextOption) === String(txt.id) }, txt.text)) : '', this.gift && this.gift.show_custom_text ? h("option", { "data-id": "custom", selected: this.selectedGiftTextOption === 'custom' }, this.giftCustomText) : null)), h("div", { class: this.showGiftText && this.gift && this.gift.show_custom_text ? "s-form-group s-gifting-textarea shown" : "s-form-group s-gifting-textarea hide", ref: (el) => this.customTextArea = el }, h("label", { htmlFor: "gift-custom-text", class: "s-form-label" }, this.giftCustomText), h("div", { class: "mt-1" }, h("textarea", { onInput: (event) => this.handleTextAreaChange(event), rows: 4, ref: (el) => this.textArea = el, name: "gift-custom-text", id: "gift-custom-text", class: "s-form-control" })))) : null, h("div", { class: "anime-item" }, h("salla-button", { color: "primary", width: "wide", onClick: () => this.goToStep2(!!this.gift?.show_texts) }, h("span", null, this.nextStep)))), h("div", { class: "s-gifting-step-two gift-step-2", style: this.skipStep1() ? { opacity: '1', transform: 'translateX(0)', position: 'relative' } : undefined, ref: el => this.step2Elems = el }, h("div", { class: this.step2ItemClass(this.errors?.['sender_name'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { htmlFor: "sender_name", class: "s-form-label" }, this.senderNameLabel), h("input", { type: "text", class: "s-form-control", name: "sender_name", id: "sender_name", value: this.senderName, onInput: (event) => this.handleSenderName(event), placeholder: "" }), this.errors && this.errors['sender_name'] ?
725
758
  h("span", { class: "s-gifting-error" }, this.errors['sender_name']) : ''), h("div", { class: this.step2ItemClass(this.errors?.['receiver.name'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { htmlFor: "receiver_name", class: "s-form-label" }, this.receiverNameFieldLabel), h("input", { type: "text", class: "s-form-control", name: "receiver_name", id: "receiver_name", value: "", onInput: (event) => this.handleReceiverName(event), placeholder: "" }), this.errors && this.errors['receiver.name'] ?
726
759
  h("span", { class: "s-gifting-error" }, this.errors['receiver.name']) : ''), h("div", { class: this.step2ItemClass(this.errors?.['receiver.mobile'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label" }, this.receiverMobileFieldLabel), h("salla-tel-input", { class: "s-gifting-tel-input", phone: this.receiverMobile, countryCode: this.receiverCountryCode, onPhoneEntered: (e) => this.handlePhoneInputChange(e) }), this.errors && this.errors['receiver.mobile'] ?
727
760
  h("span", { class: "s-gifting-error" }, this.errors['receiver.mobile']) : ''), this.isPhysical() &&
@@ -732,7 +765,7 @@ const SallaGifting = class {
732
765
  h("div", { class: this.step2ItemClass(this.errors?.['receiver.city_id'] ? 's-form-group s-form-has-error' : 's-form-group') }, h("label", { class: "s-form-label", htmlFor: `${this.hostId}-city` }, this.receiverCityFieldLabel), h("salla-searchable-dropdown", { placeholder: this.selectCity, items: this.displayedCities, selectedItem: this.selectedCity, loading: this.loadingCities, searching: this.searchingCities, disabled: this.loadingCities || (this.isKSA && !this.selectedRegionId), required: true, inputId: `${this.hostId}-city`, searchQuery: this.citySearchQuery, clientSearch: !this.enableCityAjaxSearch, dropUp: true, keepParentScroll: true, onItemSelected: (e) => this.handleCitySelected(e.detail), onSearchInput: (e) => this.handleCitySearch(e.detail), onDropdownClosed: () => this.handleCityDropdownClosed() }), this.errors && this.errors['receiver.city_id'] ?
733
766
  h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.isPhysical() &&
734
767
  h("div", { class: this.step2ItemClass('s-gifting-info') }, h("span", { innerHTML: Alert }), h("span", null, this.selectCityInfo)), !this.isPhysical() && h("div", { class: this.step2ItemClass() }, h("label", { class: "s-gifting-schedule s-gifting-clickable", htmlFor: `schedule-${this.hostId}` }, h("input", { type: "checkbox", name: 'schedule', id: `schedule-${this.hostId}`, onChange: () => this.toggleCalendar(), class: "s-checkbox" }), h("span", { class: "s-form-label" }, " ", this.sendLater, " "))), h("div", { class: this.getCalendarClasses(), ref: (el) => this.calendarFormGroup = el }, h("label", { class: "s-form-label" }, this.selectSendDateAndTime), h("salla-datetime-picker", { value: this.deliveryDate, placeholder: this.selectSendDateAndTime, "enable-time": true, "date-format": "Y-m-d h:i K", onPicked: (event) => this.handleDateTimePicker(event) }), h("span", { class: "s-gifting-calendar-hint" }, this.canNotEditOrderAfterSelectDate)), h("div", { class: this.step2ItemClass('s-gifting-step-two-footer') }, !this.skipStep1() && h("a", { href: "#!", innerHTML: arrowLeft, onClick: (e) => this.goToStep1(e) }), h("salla-button", { onClick: () => this.submitForm(), color: "primary", width: 'wide' }, h("span", null, this.sendGift)))))
735
- ], h("slot", { key: '9413ec459b3b5dc137a90979990022b7ec1c6453', name: "footer" })))
768
+ ], h("slot", { key: 'e40029ee1e6fa463711fd088ba05c0edda5dd683', name: "footer" })))
736
769
  ];
737
770
  }
738
771
  };
@@ -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-Cqh-ta1v.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-Cly9a4nm.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-Cqh-ta1v.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-Cly9a4nm.js';
5
5
  import { H as Helper } from './Helper-BXj4f_Qj.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-Cqh-ta1v.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-Cly9a4nm.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-Cqh-ta1v.js';
4
+ import { r as registerInstance, h, H as Host } from './index-Cly9a4nm.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-Cqh-ta1v.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-Cly9a4nm.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-Cqh-ta1v.js';
4
+ import { r as registerInstance, h, F as Fragment, a as getElement } from './index-Cly9a4nm.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-Cqh-ta1v.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-Cly9a4nm.js';
5
5
  import { S as SIGift } from './gift-CXRKXFgT.js';
6
- import { T as TrackedPromise } from './tracked-promise-CH_UyK-l.js';
6
+ import { T as TrackedPromise } from './tracked-promise-CdJOz1H_.js';
7
7
 
8
8
  const sallaLoyaltyProgramCss = "";
9
9
 
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-Cqh-ta1v.js';
5
- import { c as closeModals, f as formattedPointsJsx, i as isUnitOrder } from './functions-ISZQDw0y.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-Cly9a4nm.js';
5
+ import { c as closeModals, f as formattedPointsJsx, i as isUnitOrder } from './functions-_-9PUSBv.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
7
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
8
8
  import { S as SIUserAdd } from './user-add-QpH8MU22.js';
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { h, r as registerInstance } from './index-Cqh-ta1v.js';
5
- import { n as normalizeLoyaltyData, c as closeModals } from './functions-ISZQDw0y.js';
4
+ import { h, r as registerInstance } from './index-Cly9a4nm.js';
5
+ import { n as normalizeLoyaltyData, c as closeModals } from './functions-_-9PUSBv.js';
6
6
  import { S as Star } from './star2-D4oPi1Ov.js';
7
7
  import { S as SICancel } from './cancel-8Tsmrwno.js';
8
8
  import { S as SIPercentage, a as SILayoutGrid } from './percentage-Bs6JxDkg.js';
9
9
  import { S as SIShipping } from './shipping-CZRcMGA9.js';
10
10
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
11
- import { T as TrackedPromise } from './tracked-promise-CH_UyK-l.js';
11
+ import { T as TrackedPromise } from './tracked-promise-CdJOz1H_.js';
12
12
 
13
13
  var PrizeImage = `<svg xmlns="http://www.w3.org/2000/svg" width="77" height="77" fill="none" viewBox="0 0 57 57"><rect width="56.3" height="55.9" x=".4" y=".2" fill="#FFF5E5" rx="27.9"/><g clip-path="url(#a)"><path fill="#EE9D0D" d="M16.7 27.5h17.5v12.2a1 1 0 0 1-1 1H17.7a1 1 0 0 1-1-1V27.5Z"/><path fill="#C7830B" d="M34.2 27.8v6l-6.8-6.3H34l.3.3Z"/><path fill="#C7830B" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EA2B2D" d="m29.9 15.8-.3.1a2.4 2.4 0 0 0-1.4 1.5l-.2.8-.4.2a2.4 2.4 0 0 0-1.1 1.4l4.2 3.9L33 21l.2-2.9a2.4 2.4 0 0 0-3.3-2.4ZM41.1 26.3v.2a2.4 2.4 0 0 1-1.5 1.6l-.7.3-.2.3a2.4 2.4 0 0 1-1.3 1.3l-4.2-4 2.4-2.5 2.9-.3a2.4 2.4 0 0 1 2.6 3.1Z"/><path fill="#CB2527" d="M23.7 27.5h3.5v13.1h-3.5V27.5Z"/><path fill="#EA2B2D" d="M16.7 32.3h17.5v3.5H16.7v-3.5Z"/><path fill="#CB2527" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EE9D0D" d="M25.3 18.7 38.6 31a1 1 0 0 1 0 1.4l-2.3 2.4-14.7-13.7 2.3-2.5a1 1 0 0 1 1.4 0Z"/><path fill="#CB2527" d="m30.3 23.4 3.2 3-3 3.2-3.2-3 3-3.2ZM31.8 22.8a.4.4 0 0 1-.3-.1l-.3-.4A5.9 5.9 0 0 1 30 18a.4.4 0 0 1 .9 0 5 5 0 0 0 1 3.7l.3.3a.4.4 0 0 1-.4.7Z"/><path fill="#EA2B2D" d="M30.7 23.7c-1.9.7-3.8 1-5.7.9h-1.1l1.9 1.7-.6 1.9 1.8-.6c1.7-.5 3.2-1.4 4.6-2.5l.3-.2-1.2-1.2Z"/><path fill="#CB2527" d="M37.8 26.4c-1.1 0-2.3-.3-3.2-1l-.4-.2a.4.4 0 0 1 0-.8.4.4 0 0 1 .5 0l.3.3a5 5 0 0 0 3.7.7.4.4 0 1 1 .2 1 6 6 0 0 1-1 0Z"/><path fill="#EA2B2D" d="M33.2 26c-.5 2-.7 3.9-.5 5.8l.1 1.1-1.9-1.8-1.8.7.4-1.8c.4-1.7 1.2-3.3 2.2-4.8l.2-.3 1.3 1.2Z"/><path fill="#6699CE" d="M21.5 17.4a.9.9 0 1 0 0-1.7.9.9 0 0 0 0 1.7Z"/><path fill="#FAA6B2" d="M16.7 27.5a.9.9 0 1 0 0-1.8.9.9 0 0 0 0 1.8Z"/><path fill="#A6DEFF" d="M18.4 17.9a.4.4 0 0 1-.4-.3v-.1a1.4 1.4 0 0 0-1.3-1 .4.4 0 0 1-.2-.8h.2a2.3 2.3 0 0 1 2.1 1.5.4.4 0 0 1-.4.7ZM20.6 25.6h-.2v-.1a1 1 0 0 0-1.1 0 .4.4 0 0 1-.5-.8 1.8 1.8 0 0 1 2 0 .4.4 0 0 1-.2.9Z"/><path fill="#EEB436" d="m17.6 18.6 1.3 1.2 1.8-.4-.7 1.7.9 1.6-1.8-.2-1.2 1.3-.4-1.8-1.7-.7 1.6-.9.2-1.8ZM23 26.6l-.5 1.8 1.2 1.3-1.8.2-1 1.5-.6-1.7-1.8-.4 1.4-1.1-.2-1.9 1.6 1 1.6-.7Z"/><path fill="#F72D2F" d="m33.2 26-2.5-2.3L33 21a4 4 0 0 1 2.6 2.4l-2.4 2.6Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M15.8 15.7h25.4v25H15.8z"/></clipPath></defs></svg>`;
14
14
 
@@ -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-Cqh-ta1v.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-Cly9a4nm.js';
5
5
 
6
6
  var MoneyIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
7
7
  <path d="M8.76604 2.86201C9.31804 2.61001 9.93304 2.41501 10.611 2.27701C11.289 2.13901 12 2.07001 12.744 2.07001C13.572 2.07001 14.364 2.15401 15.12 2.32201C15.84 2.49001 16.356 2.81401 16.668 3.29401C16.932 3.70201 17.064 4.26001 17.064 4.96801V13.032C17.064 13.416 16.95 13.752 16.722 14.04C16.506 14.304 16.227 14.493 15.885 14.607C15.543 14.721 15.204 14.742 14.868 14.67C14.196 14.514 13.488 14.436 12.744 14.436C12.084 14.436 11.442 14.502 10.818 14.634C10.23 14.754 9.70204 14.922 9.23404 15.138C8.68204 15.39 8.06704 15.585 7.38904 15.723C6.71104 15.861 6.00004 15.93 5.25604 15.93C4.42804 15.93 3.63604 15.846 2.88004 15.678C2.18404 15.522 1.68004 15.21 1.36804 14.742C1.08004 14.322 0.936035 13.752 0.936035 13.032V4.96801C0.936035 4.58401 1.05004 4.24801 1.27804 3.96001C1.49404 3.69601 1.77304 3.50701 2.11504 3.39301C2.45704 3.27901 2.79604 3.25801 3.13204 3.33001C3.80404 3.48601 4.51204 3.56401 5.25604 3.56401C5.91604 3.56401 6.55804 3.49801 7.18204 3.36601C7.77004 3.24601 8.29804 3.07801 8.76604 2.86201ZM11.25 9.00001C11.25 8.59201 11.148 8.21701 10.944 7.87501C10.74 7.53301 10.467 7.26001 10.125 7.05601C9.78304 6.85201 9.40804 6.75001 9.00004 6.75001C8.59204 6.75001 8.21704 6.85201 7.87504 7.05601C7.53304 7.26001 7.26004 7.53301 7.05604 7.87501C6.85204 8.21701 6.75004 8.59201 6.75004 9.00001C6.75004 9.40801 6.85204 9.78301 7.05604 10.125C7.26004 10.467 7.53304 10.74 7.87504 10.944C8.21704 11.148 8.59204 11.25 9.00004 11.25C9.40804 11.25 9.78304 11.148 10.125 10.944C10.467 10.74 10.74 10.467 10.944 10.125C11.148 9.78301 11.25 9.40801 11.25 9.00001ZM14.328 7.79401C14.076 7.75801 13.812 7.73401 13.536 7.72201C13.38 7.71001 13.245 7.75501 13.131 7.85701C13.017 7.95901 12.954 8.08801 12.942 8.24401C12.93 8.40001 12.975 8.53501 13.077 8.64901C13.179 8.76301 13.308 8.82601 13.464 8.83801C13.704 8.85001 13.938 8.87401 14.166 8.91001C14.322 8.93401 14.463 8.90101 14.589 8.81101C14.715 8.72101 14.787 8.59801 14.805 8.44201C14.823 8.28601 14.787 8.14501 14.697 8.01901C14.607 7.89301 14.484 7.81801 14.328 7.79401ZM4.53604 9.16201C4.29604 9.15001 4.06204 9.12601 3.83404 9.09001C3.67804 9.06601 3.53704 9.09901 3.41104 9.18901C3.28504 9.27901 3.21304 9.40201 3.19504 9.55801C3.17704 9.71401 3.21304 9.85501 3.30304 9.98101C3.39304 10.107 3.51604 10.182 3.67204 10.206C3.92404 10.242 4.18804 10.266 4.46404 10.278C4.62004 10.29 4.75504 10.245 4.86904 10.143C4.98304 10.041 5.04604 9.91201 5.05804 9.75601C5.07004 9.60001 5.02504 9.46501 4.92304 9.35101C4.82104 9.23701 4.69204 9.17401 4.53604 9.16201Z" fill="white"/>
@@ -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-Cqh-ta1v.js';
4
+ import { r as registerInstance, h, H as Host } from './index-Cly9a4nm.js';
5
5
  import { S as SIGift } from './gift-CXRKXFgT.js';
6
6
 
7
7
  const formatDate = (timestamp) => {
@@ -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 } from './index-Cqh-ta1v.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-Cly9a4nm.js';
5
5
 
6
6
  const sallaLoyaltyPrizeItemCss = "salla-loyalty-prize-item:hover{box-shadow:0 5px 15px 1px rgba(0, 0, 0, 0.04) !important}";
7
7
 
@@ -1,14 +1,14 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { h, r as registerInstance } from './index-Cqh-ta1v.js';
5
- import { n as normalizeLoyaltyData, a as nearestLowerMultiple, c as closeModals } from './functions-ISZQDw0y.js';
4
+ import { h, r as registerInstance } from './index-Cly9a4nm.js';
5
+ import { n as normalizeLoyaltyData, a as nearestLowerMultiple, c as closeModals } from './functions-_-9PUSBv.js';
6
6
  import { S as SIPercentage, a as SILayoutGrid } from './percentage-Bs6JxDkg.js';
7
7
  import { S as SIShipping } from './shipping-CZRcMGA9.js';
8
8
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
9
9
  import { S as SIUserAdd } from './user-add-QpH8MU22.js';
10
10
  import { S as SIGiftSharing } from './gift-sharing-0-eTJXSD.js';
11
- import { T as TrackedPromise } from './tracked-promise-CH_UyK-l.js';
11
+ import { T as TrackedPromise } from './tracked-promise-CdJOz1H_.js';
12
12
  import { a as anime } from './anime.es-CgtvEd63.js';
13
13
 
14
14
  var SICartUpload = `<!-- Generated by IcoMoon.io -->