@salla.sa/twilight-components 2.14.430 → 2.14.432

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 (426) hide show
  1. package/dist/cjs/{filepond-Cirhmv0g.js → filepond-B_l27yye.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-CFJdxZnt.js → filepond-plugin-file-poster-DZOhW2iP.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-D_c252fB.js → filepond-plugin-file-validate-size-BNaYb1U3.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-CmQlvhLj.js → filepond-plugin-file-validate-type-Cw8Znb0V.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-CVkvUofN.js → filepond-plugin-image-edit-DxnD0wqH.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-B5qI46w6.js → filepond-plugin-image-exif-orientation-DlLc6bZg.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-CFlJws8x.js → filepond-plugin-image-preview-LS71z4pj.js} +1 -1
  8. package/dist/cjs/{functions-DikM8tjQ.js → functions-Bli1zuDJ.js} +1 -1
  9. package/dist/cjs/{index-BPCJbQAt.js → index-Bkq8qG-X.js} +6 -6
  10. package/dist/cjs/{index-qdhDUBe_.js → index-fxto0lmo.js} +1 -1
  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 +2 -2
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +4 -4
  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 +16 -16
  21. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +19 -10
  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-comment-form_8.cjs.entry.js +23 -7
  25. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-count-down.cjs.entry.js +2 -2
  29. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-filters-widget.cjs.entry.js +3 -3
  33. package/dist/cjs/salla-filters.cjs.entry.js +2 -2
  34. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-gifting.cjs.entry.js +3 -3
  36. package/dist/cjs/salla-hook.cjs.entry.js +2 -2
  37. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-list-tile.cjs.entry.js +2 -2
  40. package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
  41. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  43. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +8 -8
  44. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  45. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
  46. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  47. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +4 -4
  48. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +2 -2
  50. package/dist/cjs/salla-map.cjs.entry.js +4 -4
  51. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +4 -4
  54. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
  55. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
  56. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
  58. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-offer-modal.cjs.entry.js +2 -2
  60. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
  64. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +2 -2
  66. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
  68. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  71. package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
  72. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  73. package/dist/cjs/salla-product-card_2.cjs.entry.js +6 -6
  74. package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
  75. package/dist/cjs/salla-products-list.cjs.entry.js +34 -3
  76. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-reward-action_4.cjs.entry.js +11 -11
  80. package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
  81. package/dist/cjs/salla-search.cjs.entry.js +6 -6
  82. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  83. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  85. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  86. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  87. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-tooltip.cjs.entry.js +3 -3
  89. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  93. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  95. package/dist/cjs/{tracked-promise-CIjCJ7rC.js → tracked-promise-Bg3_0LpQ.js} +1 -1
  96. package/dist/cjs/twilight.cjs.js +2 -2
  97. package/dist/cjs/{vanilla-picker-DS2OnhRa.js → vanilla-picker-C1EOe3vj.js} +1 -1
  98. package/dist/collection/components/salla-bought-together/salla-bought-together.css +0 -136
  99. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +14 -5
  100. package/dist/collection/components/salla-comments/salla-comment-item.js +20 -3
  101. package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
  102. package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
  103. package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
  104. package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
  105. package/dist/collection/components/salla-filters/salla-filters.js +1 -1
  106. package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
  107. package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
  108. package/dist/collection/components/salla-hook/salla-hook.js +1 -1
  109. package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
  110. package/dist/collection/components/salla-loading/salla-loading.js +1 -1
  111. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
  112. package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
  113. package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
  114. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +3 -3
  115. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  116. package/dist/collection/components/salla-loyalty-program/salla-reward-action.js +1 -1
  117. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  118. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  119. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
  120. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  121. package/dist/collection/components/salla-map/salla-map.js +3 -3
  122. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  123. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  124. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  125. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
  126. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  127. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  128. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  129. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  130. package/dist/collection/components/salla-order-edit/salla-order-edit-product-card.js +1 -1
  131. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  132. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  133. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  134. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  135. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  136. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  137. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  138. package/dist/collection/components/salla-products-list/salla-products-list.js +33 -2
  139. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  140. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
  141. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  142. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  143. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  144. package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
  145. package/dist/collection/components/salla-search/salla-search.js +5 -5
  146. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  147. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  148. package/dist/collection/components/salla-social/salla-social.js +1 -1
  149. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  150. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  151. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  152. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  153. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  154. package/dist/collection/components/salla-tooltip/salla-tooltip.css +4 -4
  155. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  156. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  157. package/dist/components/index.js +2 -2
  158. package/dist/components/salla-bought-together.js +1 -1
  159. package/dist/components/salla-bullet-delivery.js +14 -5
  160. package/dist/components/salla-comment-item2.js +36 -13
  161. package/dist/components/salla-comments.js +24 -18
  162. package/dist/components/salla-conditional-fields2.js +1 -1
  163. package/dist/components/salla-count-down2.js +1 -1
  164. package/dist/components/salla-datetime-picker2.js +1 -1
  165. package/dist/components/salla-file-upload2.js +2 -2
  166. package/dist/components/salla-filters-widget2.js +2 -2
  167. package/dist/components/salla-filters.js +1 -1
  168. package/dist/components/salla-gifting.js +2 -2
  169. package/dist/components/salla-hook.js +1 -1
  170. package/dist/components/salla-list-tile2.js +1 -1
  171. package/dist/components/salla-loading2.js +1 -1
  172. package/dist/components/salla-localization-modal.js +1 -1
  173. package/dist/components/salla-loyalty-hero2.js +3 -3
  174. package/dist/components/salla-loyalty-point2.js +3 -3
  175. package/dist/components/salla-loyalty-prize-item.js +1 -1
  176. package/dist/components/salla-loyalty-reward.js +2 -2
  177. package/dist/components/salla-maintenance-alert.js +1 -1
  178. package/dist/components/salla-map2.js +3 -3
  179. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  180. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  181. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  182. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  183. package/dist/components/salla-multiple-bundle-product.js +1 -1
  184. package/dist/components/salla-notification-item2.js +1 -1
  185. package/dist/components/salla-offer-modal.js +1 -1
  186. package/dist/components/salla-order-details.js +1 -1
  187. package/dist/components/salla-order-edit-product-card.js +1 -1
  188. package/dist/components/salla-order-summary.js +1 -1
  189. package/dist/components/salla-payments.js +2 -2
  190. package/dist/components/salla-placeholder2.js +1 -1
  191. package/dist/components/salla-price-range2.js +2 -2
  192. package/dist/components/salla-product-availability2.js +1 -1
  193. package/dist/components/salla-product-card2.js +5 -5
  194. package/dist/components/salla-product-size-guide.js +2 -2
  195. package/dist/components/salla-products-list2.js +33 -2
  196. package/dist/components/salla-quantity-input2.js +1 -1
  197. package/dist/components/salla-quick-buy2.js +1 -1
  198. package/dist/components/salla-review-card2.js +1 -1
  199. package/dist/components/salla-reviews-page.js +1 -1
  200. package/dist/components/salla-reviews.js +1 -1
  201. package/dist/components/salla-reward-action2.js +1 -1
  202. package/dist/components/salla-reward-card2.js +1 -1
  203. package/dist/components/salla-reward-details2.js +3 -3
  204. package/dist/components/salla-reward-exchange2.js +3 -3
  205. package/dist/components/salla-scopes.js +1 -1
  206. package/dist/components/salla-search.js +5 -5
  207. package/dist/components/salla-searchable-dropdown2.js +4 -4
  208. package/dist/components/salla-skeleton2.js +1 -1
  209. package/dist/components/salla-social-share.js +1 -1
  210. package/dist/components/salla-social.js +1 -1
  211. package/dist/components/salla-tab-content2.js +1 -1
  212. package/dist/components/salla-tab-header2.js +1 -1
  213. package/dist/components/salla-tabs2.js +1 -1
  214. package/dist/components/salla-tel-input2.js +1 -1
  215. package/dist/components/salla-tooltip2.js +2 -2
  216. package/dist/components/salla-user-settings.js +1 -1
  217. package/dist/esm/{filepond-DiU0XQ9e.js → filepond-HXomeZen.js} +1 -1
  218. package/dist/esm/{filepond-plugin-file-poster-DtjI61lL.js → filepond-plugin-file-poster-D4H-PD_s.js} +1 -1
  219. package/dist/esm/{filepond-plugin-file-validate-size-Dqu64lGR.js → filepond-plugin-file-validate-size-BS0ly_Mw.js} +1 -1
  220. package/dist/esm/{filepond-plugin-file-validate-type-DcD09bJn.js → filepond-plugin-file-validate-type-COwvXqLN.js} +1 -1
  221. package/dist/esm/{filepond-plugin-image-edit-DVNXwam7.js → filepond-plugin-image-edit-yo1lYVPu.js} +1 -1
  222. package/dist/esm/{filepond-plugin-image-exif-orientation-DkFCziSJ.js → filepond-plugin-image-exif-orientation-AQpLyT8N.js} +1 -1
  223. package/dist/esm/{filepond-plugin-image-preview-DmXXOhqL.js → filepond-plugin-image-preview-BTSkXVkI.js} +1 -1
  224. package/dist/esm/{functions-BrNcFMBn.js → functions-5z0tDgRf.js} +1 -1
  225. package/dist/esm/{index-BvVpL-WS.js → index-BJ40PU3w.js} +6 -6
  226. package/dist/esm/{index-ZLiIwsdw.js → index-BuJQW042.js} +1 -1
  227. package/dist/esm/loader.js +3 -3
  228. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  229. package/dist/esm/salla-accordion_6.entry.js +2 -2
  230. package/dist/esm/salla-add-product-button_5.entry.js +4 -4
  231. package/dist/esm/salla-advertisement.entry.js +1 -1
  232. package/dist/esm/salla-alert_2.entry.js +1 -1
  233. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  234. package/dist/esm/salla-apps-icons.entry.js +1 -1
  235. package/dist/esm/salla-badge.entry.js +1 -1
  236. package/dist/esm/salla-booking-field_7.entry.js +16 -16
  237. package/dist/esm/salla-bullet-delivery_2.entry.js +19 -10
  238. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  239. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  240. package/dist/esm/salla-comment-form_8.entry.js +23 -7
  241. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  242. package/dist/esm/salla-contacts.entry.js +1 -1
  243. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  244. package/dist/esm/salla-count-down.entry.js +2 -2
  245. package/dist/esm/salla-custom-fields.entry.js +1 -1
  246. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  247. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  248. package/dist/esm/salla-filters-widget.entry.js +3 -3
  249. package/dist/esm/salla-filters.entry.js +2 -2
  250. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  251. package/dist/esm/salla-gifting.entry.js +3 -3
  252. package/dist/esm/salla-hook.entry.js +2 -2
  253. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  254. package/dist/esm/salla-installment.entry.js +1 -1
  255. package/dist/esm/salla-list-tile.entry.js +2 -2
  256. package/dist/esm/salla-localization-modal.entry.js +2 -2
  257. package/dist/esm/salla-login-modal.entry.js +1 -1
  258. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  259. package/dist/esm/salla-loyalty-hero_2.entry.js +8 -8
  260. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  261. package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
  262. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  263. package/dist/esm/salla-loyalty-reward.entry.js +4 -4
  264. package/dist/esm/salla-loyalty.entry.js +1 -1
  265. package/dist/esm/salla-maintenance-alert.entry.js +2 -2
  266. package/dist/esm/salla-map.entry.js +4 -4
  267. package/dist/esm/salla-menu.entry.js +1 -1
  268. package/dist/esm/salla-metadata.entry.js +1 -1
  269. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  270. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  271. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  272. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  273. package/dist/esm/salla-notification-item.entry.js +2 -2
  274. package/dist/esm/salla-notifications.entry.js +1 -1
  275. package/dist/esm/salla-offer-modal.entry.js +2 -2
  276. package/dist/esm/salla-offer.entry.js +1 -1
  277. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  278. package/dist/esm/salla-order-details-options.entry.js +1 -1
  279. package/dist/esm/salla-order-details.entry.js +2 -2
  280. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  281. package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
  282. package/dist/esm/salla-order-edit.entry.js +1 -1
  283. package/dist/esm/salla-order-summary.entry.js +2 -2
  284. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  285. package/dist/esm/salla-orders.entry.js +1 -1
  286. package/dist/esm/salla-payments.entry.js +3 -3
  287. package/dist/esm/salla-placeholder.entry.js +2 -2
  288. package/dist/esm/salla-price-range.entry.js +3 -3
  289. package/dist/esm/salla-product-card_2.entry.js +6 -6
  290. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  291. package/dist/esm/salla-products-list.entry.js +34 -3
  292. package/dist/esm/salla-progress-bar.entry.js +1 -1
  293. package/dist/esm/salla-quick-order.entry.js +1 -1
  294. package/dist/esm/salla-rating-modal.entry.js +1 -1
  295. package/dist/esm/salla-reward-action_4.entry.js +11 -11
  296. package/dist/esm/salla-scopes.entry.js +2 -2
  297. package/dist/esm/salla-search.entry.js +6 -6
  298. package/dist/esm/salla-skeleton.entry.js +2 -2
  299. package/dist/esm/salla-slider.entry.js +1 -1
  300. package/dist/esm/salla-social-share.entry.js +2 -2
  301. package/dist/esm/salla-social.entry.js +2 -2
  302. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  303. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  304. package/dist/esm/salla-tooltip.entry.js +3 -3
  305. package/dist/esm/salla-trust-badges.entry.js +1 -1
  306. package/dist/esm/salla-user-menu.entry.js +1 -1
  307. package/dist/esm/salla-user-profile.entry.js +1 -1
  308. package/dist/esm/salla-user-settings.entry.js +2 -2
  309. package/dist/esm/salla-verify.entry.js +1 -1
  310. package/dist/esm/salla-wallet.entry.js +1 -1
  311. package/dist/esm/{tracked-promise-C9WWqUqk.js → tracked-promise-C8cy0NIq.js} +1 -1
  312. package/dist/esm/twilight.js +3 -3
  313. package/dist/esm/{vanilla-picker-M17sW8cB.js → vanilla-picker-CkNepO2l.js} +1 -1
  314. package/dist/twilight/{p-42a27ec9.entry.js → p-00aed63b.entry.js} +1 -1
  315. package/dist/twilight/{p-6ce4476a.entry.js → p-02011d32.entry.js} +1 -1
  316. package/dist/twilight/{p-3f2c6512.entry.js → p-0632dfef.entry.js} +1 -1
  317. package/dist/twilight/{p-a80f8392.entry.js → p-079fd3e3.entry.js} +1 -1
  318. package/dist/twilight/{p-XZtgFy1u.js → p-0AWfiLtG.js} +1 -1
  319. package/dist/twilight/{p-563ad8b1.entry.js → p-0fbe0573.entry.js} +1 -1
  320. package/dist/twilight/p-15105c61.entry.js +4 -0
  321. package/dist/twilight/{p-5955e77e.entry.js → p-178aae87.entry.js} +1 -1
  322. package/dist/twilight/{p-1196255d.entry.js → p-1a423637.entry.js} +1 -1
  323. package/dist/twilight/{p-ab6a7327.entry.js → p-1ed63470.entry.js} +1 -1
  324. package/dist/twilight/{p-026a05cb.entry.js → p-275770d0.entry.js} +1 -1
  325. package/dist/twilight/{p-91a41b34.entry.js → p-2976acab.entry.js} +1 -1
  326. package/dist/twilight/{p-60fe0718.entry.js → p-2ad11831.entry.js} +1 -1
  327. package/dist/twilight/{p-9bcd73b0.entry.js → p-2c17ff06.entry.js} +1 -1
  328. package/dist/twilight/{p-e48c91a0.entry.js → p-2d62cc4c.entry.js} +1 -1
  329. package/dist/twilight/{p-9020f3d2.entry.js → p-3279bfe3.entry.js} +1 -1
  330. package/dist/twilight/{p-3f17453a.entry.js → p-3f05e331.entry.js} +1 -1
  331. package/dist/twilight/{p-a54ee481.entry.js → p-3f9a1902.entry.js} +1 -1
  332. package/dist/twilight/{p-5d308bb3.entry.js → p-40d60687.entry.js} +1 -1
  333. package/dist/twilight/{p-694b9e1f.entry.js → p-43bee891.entry.js} +1 -1
  334. package/dist/twilight/p-460383f6.entry.js +4 -0
  335. package/dist/twilight/{p-16f9d2a1.entry.js → p-51b24d07.entry.js} +1 -1
  336. package/dist/twilight/p-587d868d.entry.js +4 -0
  337. package/dist/twilight/{p-f6d8db91.entry.js → p-5cd47a2a.entry.js} +1 -1
  338. package/dist/twilight/{p-74925d4d.entry.js → p-5cde2cb8.entry.js} +1 -1
  339. package/dist/twilight/{p-e484f70f.entry.js → p-5d077c6a.entry.js} +1 -1
  340. package/dist/twilight/{p-887262a1.entry.js → p-5f4c249f.entry.js} +1 -1
  341. package/dist/twilight/{p-00d72f65.entry.js → p-6130f608.entry.js} +1 -1
  342. package/dist/twilight/{p-98ac84a4.entry.js → p-6296eebd.entry.js} +1 -1
  343. package/dist/twilight/{p-ec502a59.entry.js → p-646e8f52.entry.js} +1 -1
  344. package/dist/twilight/{p-01743b1b.entry.js → p-6676e7ab.entry.js} +1 -1
  345. package/dist/twilight/{p-29acddf7.entry.js → p-676224c8.entry.js} +1 -1
  346. package/dist/twilight/p-6cd60db0.entry.js +4 -0
  347. package/dist/twilight/{p-1baaaada.entry.js → p-77c95706.entry.js} +1 -1
  348. package/dist/twilight/{p-5d56bb46.entry.js → p-79eea339.entry.js} +1 -1
  349. package/dist/twilight/{p-e7df2d02.entry.js → p-7af14cb7.entry.js} +1 -1
  350. package/dist/twilight/{p-0e609779.entry.js → p-7ca4d215.entry.js} +1 -1
  351. package/dist/twilight/p-7e74a3f8.entry.js +4 -0
  352. package/dist/twilight/p-8afcb7d2.entry.js +4 -0
  353. package/dist/twilight/{p-4ff3b253.entry.js → p-8b207eb9.entry.js} +1 -1
  354. package/dist/twilight/{p-4c3de6bc.entry.js → p-9119f35f.entry.js} +1 -1
  355. package/dist/twilight/{p-6c30d08d.entry.js → p-956ac53f.entry.js} +1 -1
  356. package/dist/twilight/p-9854f087.entry.js +4 -0
  357. package/dist/twilight/{p-460c3223.entry.js → p-9899dfe6.entry.js} +1 -1
  358. package/dist/twilight/{p-08389628.entry.js → p-9ca58cda.entry.js} +1 -1
  359. package/dist/twilight/{p-e29c5879.entry.js → p-9ce261f7.entry.js} +1 -1
  360. package/dist/twilight/{p-e60ed35e.entry.js → p-9e7bd84a.entry.js} +1 -1
  361. package/dist/twilight/{p-BvVpL-WS.js → p-BJ40PU3w.js} +1 -1
  362. package/dist/twilight/{p-C6A85BEB.js → p-BS8JieU8.js} +1 -1
  363. package/dist/twilight/{p-CwQDINE8.js → p-BY64RkRn.js} +1 -1
  364. package/dist/twilight/{p-C9hd13aU.js → p-Bun3xE9B.js} +1 -1
  365. package/dist/twilight/{p-s-nQXrWR.js → p-CFkS_w5i.js} +1 -1
  366. package/dist/twilight/{p-D2QeP02t.js → p-CYaVURSO.js} +1 -1
  367. package/dist/twilight/{p-DxsOI9Zt.js → p-Cln8qx5Q.js} +1 -1
  368. package/dist/twilight/{p-PA3S2KT3.js → p-D1RS-zwD.js} +1 -1
  369. package/dist/twilight/{p-BUrZI2aM.js → p-NA2JPuRY.js} +1 -1
  370. package/dist/twilight/{p-CIL3hdhP.js → p-_aEM4nUi.js} +1 -1
  371. package/dist/twilight/{p-8a82dd88.entry.js → p-a0005be9.entry.js} +1 -1
  372. package/dist/twilight/{p-bc40de55.entry.js → p-a18652ed.entry.js} +1 -1
  373. package/dist/twilight/{p-e8737d37.entry.js → p-a37100ea.entry.js} +1 -1
  374. package/dist/twilight/{p-56c0c112.entry.js → p-a7b03950.entry.js} +1 -1
  375. package/dist/twilight/{p-f94fcd4d.entry.js → p-ac58bd23.entry.js} +1 -1
  376. package/dist/twilight/{p-23ae52f8.entry.js → p-acfddda1.entry.js} +1 -1
  377. package/dist/twilight/{p-af6de590.entry.js → p-ad2ed5eb.entry.js} +1 -1
  378. package/dist/twilight/p-ad4ce4d9.entry.js +4 -0
  379. package/dist/twilight/{p-964ce7a3.entry.js → p-b191a231.entry.js} +1 -1
  380. package/dist/twilight/{p-7a0941a8.entry.js → p-b83da2aa.entry.js} +1 -1
  381. package/dist/twilight/p-bad7f522.entry.js +4 -0
  382. package/dist/twilight/{p-7637fd8b.entry.js → p-bb90ddc2.entry.js} +1 -1
  383. package/dist/twilight/{p-4802218f.entry.js → p-bfa0b7fe.entry.js} +1 -1
  384. package/dist/twilight/{p-1e988f4f.entry.js → p-c5523e29.entry.js} +1 -1
  385. package/dist/twilight/{p-31026ed7.entry.js → p-c632b364.entry.js} +1 -1
  386. package/dist/twilight/p-c8fb4dfa.entry.js +4 -0
  387. package/dist/twilight/{p-9ad307d8.entry.js → p-ca8e26b3.entry.js} +1 -1
  388. package/dist/twilight/{p-fb0e561e.entry.js → p-ccf24f28.entry.js} +1 -1
  389. package/dist/twilight/{p-477f5f80.entry.js → p-ce9405a3.entry.js} +1 -1
  390. package/dist/twilight/{p-2e494246.entry.js → p-d42cdc1a.entry.js} +1 -1
  391. package/dist/twilight/{p-575d8494.entry.js → p-d9d151cc.entry.js} +1 -1
  392. package/dist/twilight/{p-52fefe92.entry.js → p-dacde914.entry.js} +1 -1
  393. package/dist/twilight/{p-45e5092c.entry.js → p-df6636a5.entry.js} +1 -1
  394. package/dist/twilight/{p-f0088314.entry.js → p-e0ec707c.entry.js} +1 -1
  395. package/dist/twilight/p-e36cf20c.entry.js +4 -0
  396. package/dist/twilight/p-e386a27c.entry.js +4 -0
  397. package/dist/twilight/{p-e90e7777.entry.js → p-e4fc772b.entry.js} +1 -1
  398. package/dist/twilight/p-e6b3c87c.entry.js +4 -0
  399. package/dist/twilight/p-f058cd4d.entry.js +4 -0
  400. package/dist/twilight/{p-21a987de.entry.js → p-f26e212f.entry.js} +1 -1
  401. package/dist/twilight/{p-1950f3f2.entry.js → p-f2e0e6f0.entry.js} +1 -1
  402. package/dist/twilight/{p-b03b5c76.entry.js → p-f60083f9.entry.js} +1 -1
  403. package/dist/twilight/{p-e21e3a18.entry.js → p-f863328c.entry.js} +1 -1
  404. package/dist/twilight/{p-06eb8972.entry.js → p-fabe4232.entry.js} +1 -1
  405. package/dist/twilight/{p-4d385abd.entry.js → p-fbcde591.entry.js} +1 -1
  406. package/dist/twilight/{p-bb38dce1.entry.js → p-fc4090bd.entry.js} +1 -1
  407. package/dist/twilight/{p-a0e3c5fa.entry.js → p-ffff176d.entry.js} +1 -1
  408. package/dist/twilight/{p-CWNDCXYi.js → p-vXUmTMNT.js} +1 -1
  409. package/dist/twilight/twilight.esm.js +1 -1
  410. package/dist/types/components/salla-comments/interfaces.d.ts +1 -0
  411. package/dist/types/components/salla-comments/salla-comment-item.d.ts +3 -0
  412. package/package.json +5 -5
  413. package/dist/twilight/p-097a8bae.entry.js +0 -4
  414. package/dist/twilight/p-252ff6d9.entry.js +0 -4
  415. package/dist/twilight/p-2d62e0d2.entry.js +0 -4
  416. package/dist/twilight/p-4c3ccd8a.entry.js +0 -4
  417. package/dist/twilight/p-617b25dc.entry.js +0 -4
  418. package/dist/twilight/p-6af137a9.entry.js +0 -4
  419. package/dist/twilight/p-79520f52.entry.js +0 -4
  420. package/dist/twilight/p-8cda9c21.entry.js +0 -4
  421. package/dist/twilight/p-b56d69e0.entry.js +0 -4
  422. package/dist/twilight/p-c5e3a68c.entry.js +0 -4
  423. package/dist/twilight/p-cded196b.entry.js +0 -4
  424. package/dist/twilight/p-e12e156c.entry.js +0 -4
  425. package/dist/twilight/p-e2300aa7.entry.js +0 -4
  426. package/dist/twilight/p-e4567da1.entry.js +0 -4
@@ -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-BvVpL-WS.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BJ40PU3w.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-BvVpL-WS.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BJ40PU3w.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, 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-BvVpL-WS.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-BJ40PU3w.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-DFMXF2_h.js';
@@ -75,6 +75,7 @@ const SallaCommentItem = class {
75
75
  constructor(hostRef) {
76
76
  registerInstance(this, hostRef);
77
77
  // Translations
78
+ this.locked_trans = salla.lang.get('blocks.comments.locked');
78
79
  this.has_bought_trans = salla.lang.get('blocks.comments.has_bought');
79
80
  this.rated_trans = salla.lang.get('pages.rating.rated');
80
81
  this.waiting_approval_trans = salla.lang.get('blocks.comments.waiting_approval');
@@ -94,8 +95,12 @@ const SallaCommentItem = class {
94
95
  const setTranslations = async () => {
95
96
  await setNestedAsync('ar.trans', 'blocks.comments.helpful', 'مفيد');
96
97
  await setNestedAsync('en.trans', 'blocks.comments.helpful', 'Helpful');
98
+ await setNestedAsync('ar.trans', 'blocks.comments.locked', 'الرد غير ظاهر لباقي العملاء');
99
+ await setNestedAsync('en.trans', 'blocks.comments.locked', 'The reply is not visible to other customers');
97
100
  this.helpfulLabel = salla.lang.getWithDefault('blocks.comments.helpful', 'مفيد');
101
+ this.locked_trans = salla.lang.getWithDefault('blocks.comments.locked', 'الرد غير ظاهر لباقي العملاء');
98
102
  };
103
+ this.locked_trans = salla.lang.get('blocks.comments.locked');
99
104
  this.has_bought_trans = salla.lang.get('blocks.comments.has_bought');
100
105
  this.rated_trans = salla.lang.get('pages.rating.rated');
101
106
  this.waiting_approval_trans = salla.lang.get('blocks.comments.waiting_approval');
@@ -104,6 +109,8 @@ const SallaCommentItem = class {
104
109
  });
105
110
  }
106
111
  componentDidLoad() {
112
+ if (!this.comment)
113
+ return;
107
114
  this.likesCount = this.comment.likes_count;
108
115
  try {
109
116
  this.likedComments = JSON.parse(localStorage.getItem('liked_comments') || '[]');
@@ -183,20 +190,29 @@ const SallaCommentItem = class {
183
190
  }
184
191
  localStorage.setItem('liked_comments', JSON.stringify(this.likedComments));
185
192
  }
193
+ isPrivateComment(comment) {
194
+ return comment.status === 'hidden';
195
+ }
186
196
  PinnedIcon() {
187
197
  return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", width: "16", height: "16", color: "#555555", fill: "none", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("path", { d: "M12 16V21" }), h("path", { d: "M8 5.2918C8 5.02079 8 4.88529 8.01312 4.77132C8.1194 3.84789 8.84789 3.1194 9.77133 3.01312C9.88529 3 10.0208 3 10.2918 3H13.7082C13.9792 3 14.1147 3 14.2287 3.01312C15.1521 3.1194 15.8806 3.84789 15.9869 4.77132C16 4.88529 16 5.02079 16 5.2918C16 5.37885 16 5.42237 15.9967 5.46264C15.9708 5.78281 15.7927 6.07104 15.5179 6.2374C15.4834 6.25832 15.4444 6.27779 15.3666 6.31672L15.1055 6.44726C14.7021 6.64897 14.5003 6.74983 14.3681 6.90564C14.26 7.03286 14.1856 7.18509 14.1515 7.34846C14.1097 7.54854 14.1539 7.76968 14.2424 8.21197L15 12H15.3333C15.9533 12 16.2633 12 16.5176 12.0681C17.2078 12.2531 17.7469 12.7922 17.9319 13.4824C18 13.7367 18 14.0467 18 14.6667C18 14.9767 18 15.1317 17.9659 15.2588C17.8735 15.6039 17.6039 15.8735 17.2588 15.9659C17.1317 16 16.9767 16 16.6667 16H7.33333C7.02334 16 6.86835 16 6.74118 15.9659C6.39609 15.8735 6.12654 15.6039 6.03407 15.2588C6 15.1317 6 14.9767 6 14.6667C6 14.0467 6 13.7367 6.06815 13.4824C6.25308 12.7922 6.79218 12.2531 7.48236 12.0681C7.73669 12 8.04669 12 8.66667 12H9L9.75761 8.21197C9.84606 7.76968 9.89029 7.54854 9.84852 7.34846C9.81441 7.18509 9.73995 7.03286 9.63194 6.90564C9.49965 6.74983 9.29794 6.64897 8.89452 6.44726L8.63344 6.31672C8.55558 6.27779 8.51665 6.25832 8.48208 6.2374C8.20731 6.07104 8.02917 5.78281 8.00326 5.46264C8 5.42237 8 5.37885 8 5.2918Z" })));
188
198
  }
199
+ LockedIcon() {
200
+ return (h("svg", { width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M3.5 4.66683V4.0835C3.5 2.1505 5.067 0.583496 7 0.583496C8.93299 0.583496 10.5 2.1505 10.5 4.0835V4.66683H11.6667C11.9888 4.66683 12.25 4.928 12.25 5.25016V12.2502C12.25 12.5723 11.9888 12.8335 11.6667 12.8335H2.33333C2.01117 12.8335 1.75 12.5723 1.75 12.2502V5.25016C1.75 4.928 2.01117 4.66683 2.33333 4.66683H3.5ZM11.0833 5.8335H2.91667V11.6668H11.0833V5.8335ZM6.41667 9.1774C6.06795 8.97568 5.83333 8.59867 5.83333 8.16683C5.83333 7.52248 6.35565 7.00016 7 7.00016C7.64435 7.00016 8.16667 7.52248 8.16667 8.16683C8.16667 8.59867 7.93205 8.97568 7.58333 9.1774V10.5002H6.41667V9.1774ZM4.66667 4.66683H9.33333V4.0835C9.33333 2.79483 8.28864 1.75016 7 1.75016C5.71134 1.75016 4.66667 2.79483 4.66667 4.0835V4.66683Z", fill: "#555555" })));
201
+ }
189
202
  render() {
203
+ if (!this.comment) {
204
+ return null;
205
+ }
190
206
  let isAdmin = this.comment.type == 'admin';
191
- return (h(Host, { key: '3f9d4b98cff2dd49259d3386b4996b905f92d7db', class: isAdmin ? 's-comments-item-admin' : 's-comments-item' }, h("div", { key: '1348f11b2e553be483f60c5c558d3e800f050700', class: { "s-comments-item-wrapper": !isAdmin, "s-comments-item-admin-wrapper": isAdmin }, id: `s-comments-item-${this.comment.id}` }, h("div", { key: '0587afd7ae1fc27b12fc4fd2c9ef4bf9e919d04a', class: "s-comments-item-inner s-comments-flex-1" }, isAdmin && h("span", { key: '40009b2b3b9af60481d0e40d5fb919076ab43b10', class: "s-comments-item-reply-icon", innerHTML: Reply }), h("div", { key: '8f0563811445046ecf5ce3abe6ee6d7d1ec4a235', class: "s-comments-item-avatar" }, h("img", { key: '5f82bb9d3a5c4c340f37b8e48af3edce42c133f8', "data-src": this.comment?.avatar, alt: this.comment?.name, src: this.comment?.avatar, class: "s-comments-item-avatar-img lazy" })), h("div", { key: '34581ee9fddaa2f79ee933efb65c2e354010f37a', class: "s-comments-flex-1" }, h("div", { key: 'e03fc074d5ac8ddf183e3b081001e73dd62a7116', class: "s-comments-item-user-wrapper" }, h("div", { key: '6ea5e07eb9fa35d7673019628e6fde4605b74e0c', class: "s-comments-item-user-info" }, h("h3", { key: '18d7cf8c8b8125138a544bd10027ae7503f2f3a6', class: this.comment.is_pinned ? "s-comments-item-user-info-name" : "s-comments-item-user-info-name-with-margin" }, this.comment?.name), this.comment.is_pinned ?
207
+ return (h(Host, { class: isAdmin ? 's-comments-item-admin' : 's-comments-item' }, h("div", { class: { "s-comments-item-wrapper": !isAdmin, "s-comments-item-admin-wrapper": isAdmin }, id: `s-comments-item-${this.comment.id}` }, h("div", { class: "s-comments-item-inner s-comments-flex-1" }, isAdmin && h("span", { class: "s-comments-item-reply-icon", innerHTML: Reply }), h("div", { class: "s-comments-item-avatar" }, h("img", { "data-src": this.comment?.avatar, alt: this.comment?.name, src: this.comment?.avatar, class: "s-comments-item-avatar-img lazy" })), h("div", { class: "s-comments-flex-1" }, h("div", { class: "s-comments-item-user-wrapper" }, h("div", { class: "s-comments-item-user-info" }, h("h3", { class: this.comment.is_pinned ? "s-comments-item-user-info-name" : "s-comments-item-user-info-name-with-margin" }, this.comment?.name), this.comment.is_pinned ?
192
208
  h("div", { class: "s-comments-item-pinned-icon-with-margin" }, this.PinnedIcon())
193
209
  : null, (this.comment.has_order || !!this.comment.rating) && !this.comment.is_pending && !this.hideBought ?
194
210
  h("div", { class: "s-comments-flex" }, this.comment.has_order ?
195
211
  [h("span", { class: "s-comments-item-has-order-check-icon", innerHTML: SICheck }), h("span", { class: "s-comments-item-has-order-check-text" }, this.has_bought_trans, " ", this.comment.rating ? ', ' : '')] : null, !!this.comment.rating ?
196
212
  h("span", { class: "s-comments-item-rated-widget" }, this.rated_trans) : null)
197
- : null), h("p", { key: '694c2079d3379966994af7040fe4542481a53e66', class: "s-comments-item-timestamp s-ltr" }, this.getDate(this.comment.created_at?.date), h("span", { key: '734ca2eb6bf846c661007a1b9c41f22c47923b27', class: "s-comments-item-time" }, " - ", this.getTime(this.comment.created_at?.date))), !!this.comment.rating || !!this.comment.stars ?
213
+ : null), h("p", { class: "s-comments-item-timestamp s-ltr" }, this.getDate(this.comment.created_at?.date), h("span", { class: "s-comments-item-time" }, " - ", this.getTime(this.comment.created_at?.date))), !!this.comment.rating || !!this.comment.stars ?
198
214
  h("salla-rating-stars", { size: "mini", class: "s-comments-item-stars", value: this.comment.rating || this.comment.stars })
199
- : null), h("div", { key: '45e32a0759536f8c9e8bc8b823d50c931bdd1e23', class: "s-comments-item-content" }, h("p", { key: '9edf2cdfd489f77214d7a1ecae8a99943dfd4ece', innerHTML: this.comment.content }), this.allowAttachImages && h("div", { key: 'bbba6c62c4d13289137c634f5413880dfa572ab4', class: "s-comments-item-images" }, this.comment.images.map((image, index) => (h("img", { key: index, src: image, alt: "", onClick: () => this.modal.open() }))), h("salla-modal", { key: 'cd5c48b8cf3e1c9457a2fb60a42859cbd91aa996', ref: modal => this.modal = modal, width: "sm" }, h("salla-slider", { key: '304bc9417e6d7fd0e310127dce4e56a1c6ce00ea', id: `s-comments-item-${this.comment.id}-images`, class: "s-comments-item-images-slider", type: "thumbs", "auto-height": true, showControls: this.comment.images.length > 1 ? true : false, "show-thumbs-controls": "false" }, h("div", { key: '50401766737293c42fa7ba3b351b6db736fd92eb', slot: 'items' }, this.comment.images.map((image, index) => (h("img", { key: index, src: image, alt: "" })))), h("div", { key: '6b9a50da0b67497dfae21b52044850329d8712b5', slot: "thumbs" }, this.comment.images.map((image, index) => (h("div", { class: "s-comments-item-images-slider-thumb" }, h("img", { key: index, src: image, alt: "" })))))))), this.allowLikes && !isAdmin && !!this.comment.id && salla.url.is_page('product.single') ? h("salla-button", { ref: el => this.likeBtn = el, class: `s-comments-item-like-btn ${this.likedComments.includes(this.comment.id) ? 'liked' : ''}`, loaderPosition: 'center', fill: 'outline', size: 'small', onClick: () => this.toggleLike() }, h("span", null, this.helpfulLabel, " ", this.likesCount > 0 ? `(${this.likesCount})` : ''), h("span", { innerHTML: ThumbsUp })) : '', this.comment.is_pending ?
215
+ : null), h("div", { class: "s-comments-item-content" }, h("div", { class: "s-comments-item-content-container" }, this.isPrivateComment(this.comment) ? (h("div", { id: `s-comments-item-${this.comment.id}-locked-icon`, class: "s-comments-item-pinned-icon" }, this.LockedIcon())) : null, h("p", { innerHTML: this.comment.content })), this.isPrivateComment(this.comment) ? (h("salla-tooltip", { text: this.locked_trans, targetId: `s-comments-item-${this.comment.id}-locked-icon` })) : null, this.allowAttachImages && h("div", { class: "s-comments-item-images" }, this.comment.images.map((image, index) => (h("img", { key: index, src: image, alt: "", onClick: () => this.modal.open() }))), h("salla-modal", { ref: modal => this.modal = modal, width: "sm" }, h("salla-slider", { id: `s-comments-item-${this.comment.id}-images`, class: "s-comments-item-images-slider", type: "thumbs", "auto-height": true, showControls: this.comment.images.length > 1 ? true : false, "show-thumbs-controls": "false" }, h("div", { slot: 'items' }, this.comment.images.map((image, index) => (h("img", { key: index, src: image, alt: "" })))), h("div", { slot: "thumbs" }, this.comment.images.map((image, index) => (h("div", { class: "s-comments-item-images-slider-thumb" }, h("img", { key: index, src: image, alt: "" })))))))), this.allowLikes && !isAdmin && !!this.comment.id && salla.url.is_page('product.single') ? h("salla-button", { ref: el => this.likeBtn = el, class: `s-comments-item-like-btn ${this.likedComments.includes(this.comment.id) ? 'liked' : ''}`, loaderPosition: 'center', fill: 'outline', size: 'small', onClick: () => this.toggleLike() }, h("span", null, this.helpfulLabel, " ", this.likesCount > 0 ? `(${this.likesCount})` : ''), h("span", { innerHTML: ThumbsUp })) : '', this.comment.is_pending ?
200
216
  h("span", { class: "s-comments-item-pending-text" }, this.waiting_approval_trans) : null))), !!this.getReplies().length && !isAdmin ?
201
217
  this.getReplies().map((reply) => {
202
218
  return h("div", null, h("salla-comment-item", { comment: reply }));
@@ -823,7 +839,7 @@ const SallaReviewCard = class {
823
839
  return (h("a", { href: this.review?.product?.url, class: "s-review-card-product-container" }, h("img", { alt: product.image?.alt || "Product", src: product.image?.url, class: "s-review-card-product-image", width: 60, height: 60, loading: "lazy", decoding: "async", draggable: false }), h("div", { class: "s-review-card-product-details" }, h("p", { class: "s-review-card-product-details-name" }, product.name), this.showPurchaseCount ? h("p", { class: "s-review-card-product-details-purchase-count" }, h("span", { innerHTML: IconFire2 }), this.purchasedCount) : null)));
824
840
  }
825
841
  render() {
826
- return h("div", { key: '9a151b0ef70c1b3cdad503ecd01ea2520f112fe6', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), h("div", { key: 'f20dacd0f86f72ab510b03025e7cbc671804b1d3', class: "s-review-card-content" }, this.renderHeader(), h("p", { key: '48779d52192ea137c0f04fc7155923df16a32687', class: "s-review-card-review-content", innerHTML: this.review?.content }), renderDivider(), this.renderProductInfo()));
842
+ return h("div", { key: 'ec2ded8609dba5e1bbd86056a6dbc9021f36a212', class: "s-review-card-container" }, this.renderSlider(), this.renderSingleImage(), renderDivider(), h("div", { key: 'd1ee883d27ebb03c2877f2ec8d2b5fcb11eaa3e5', class: "s-review-card-content" }, this.renderHeader(), h("p", { key: '787ec1bef7fd4b2916f6b106e075ff1a87b06f81', class: "s-review-card-review-content", innerHTML: this.review?.content }), renderDivider(), this.renderProductInfo()));
827
843
  }
828
844
  get el() { return getElement(this); }
829
845
  };
@@ -920,7 +936,7 @@ const SallaReviews = class {
920
936
  });
921
937
  }
922
938
  render() {
923
- return (h("div", { key: '3c5c5e820a4567aed77da08c8d39306b95488964', class: "s-reviews-container" }, h("div", { key: '876e908d6ab7387e3ab46662e6a4f543505d510e', class: "s-reviews-header-wrapper" }, h("h1", { key: 'b3cc0eb790da0152c56147ffea9939bc2de14644', class: "s-reviews-header" }, this.testimonialText), !!this.displayAllLink ? (h("a", { href: this.displayAllURL, class: "s-reviews-display-all" }, this.displayAllLinkText, h("span", { class: "s-reviews-display-all-icon", innerHTML: arrowLeft }))) : null), h("salla-slider", { key: 'f3ea6d4d3a6bc394d6f519a5ca6d6a29f8b1b597', centered: true, "slides-per-view": 1, type: "testimonials", class: "s-reviews-testimonials-slider", "controls-outer": true, "auto-play": true, id: `testimonials-${this.source}-slider` }, h("div", { key: 'cee3080ca7abbd34f5a48d2705005861941672c3', slot: "items" }, this.reviews.map((item, index) => (h("div", { key: index, class: "s-reviews-swiper-slide" }, h("div", { class: "s-reviews-testimonial" }, h("div", { class: "s-reviews-testimonial__inner" }, h("div", { class: "s-reviews-testimonial__avatar" }, h("img", { src: 'images/s-empty.png', "data-src": item.avatar, alt: item.name ? item.name : 'testimonial-' + index, class: "lazy" })), h("div", { class: "s-reviews-testimonial__text" }, h("p", { innerHTML: item.content }), h("div", { class: "s-reviews-testimonial__name_wrapper" }, h("div", { class: "s-reviews-testimonial__info" }, item.name && h("h2", null, `${item.name}`)), h("div", { class: "s-reviews-testimonial__rating" }, h("salla-rating-stars", { size: "small", value: item.stars })))), h("span", { class: "s-reviews-testimonial__icon", innerHTML: IconQuoteOpen }))))))))));
939
+ return (h("div", { key: '889f426abadef56e0bfbde908d5066945c7a8543', class: "s-reviews-container" }, h("div", { key: '2965a05ba4845b9662f473a9ebd170c57cf36451', class: "s-reviews-header-wrapper" }, h("h1", { key: 'c9a77566e31c32657b0db3adbe2a49fe0c0f65e0', class: "s-reviews-header" }, this.testimonialText), !!this.displayAllLink ? (h("a", { href: this.displayAllURL, class: "s-reviews-display-all" }, this.displayAllLinkText, h("span", { class: "s-reviews-display-all-icon", innerHTML: arrowLeft }))) : null), h("salla-slider", { key: '40dd000abc65ae509b451f19919f55972eeb6af3', centered: true, "slides-per-view": 1, type: "testimonials", class: "s-reviews-testimonials-slider", "controls-outer": true, "auto-play": true, id: `testimonials-${this.source}-slider` }, h("div", { key: 'fd32e5d7fa8b49ed07d45585d5da2acc23d0e7f2', slot: "items" }, this.reviews.map((item, index) => (h("div", { key: index, class: "s-reviews-swiper-slide" }, h("div", { class: "s-reviews-testimonial" }, h("div", { class: "s-reviews-testimonial__inner" }, h("div", { class: "s-reviews-testimonial__avatar" }, h("img", { src: 'images/s-empty.png', "data-src": item.avatar, alt: item.name ? item.name : 'testimonial-' + index, class: "lazy" })), h("div", { class: "s-reviews-testimonial__text" }, h("p", { innerHTML: item.content }), h("div", { class: "s-reviews-testimonial__name_wrapper" }, h("div", { class: "s-reviews-testimonial__info" }, item.name && h("h2", null, `${item.name}`)), h("div", { class: "s-reviews-testimonial__rating" }, h("salla-rating-stars", { size: "small", value: item.stars })))), h("span", { class: "s-reviews-testimonial__icon", innerHTML: IconQuoteOpen }))))))))));
924
940
  }
925
941
  };
926
942
  SallaReviews.style = sallaReviewsCss;
@@ -1600,7 +1616,7 @@ const SallaReviewsPage = class {
1600
1616
  return options.map(option => (h("option", { key: option.value, value: option.value, selected: option.value === this.sort }, option.label)));
1601
1617
  }
1602
1618
  render() {
1603
- return (h("host", { key: 'c949e768d14e2a1b09d9713a00e4f7e3ece8494d' }, h("div", { key: 'cba6a0f42d8c4b6ada502f11e8b23706d1b2cb02', class: "s-reviews-page-header-wrapper" }, h("h2", { key: '954b29180f2774d19880a818206290546eb2f894', class: "s-reviews-page-title" }, this.langTitlesReviews, h("span", { key: '2ce1fbba3c90459e2abe66b079938d633d97dfc5', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), h("div", { key: 'b76259c0e5658be0e85f3d05d4f77f2f4cf0e9e1', class: "s-reviews-page-filter-wrapper" }, h("label", { key: '73215696da07429818a092ea0b6c77a27cadef62', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), h("select", { key: 'a3155253634e0727698fc3c2a7152cb4b560439b', onChange: (e) => this.handleSorting(e), disabled: !this.reviews.length, class: "s-reviews-page-filter" }, this.renderSortingOptions()))), this.reviews.length ? h("main", { class: "s-reviews-page-grid", ref: el => {
1619
+ return (h("host", { key: '9d393d47dde31817178d398dacf0be9d1961f487' }, h("div", { key: '2109c18f3cf9ebb5769291ee88dc733e2b96759f', class: "s-reviews-page-header-wrapper" }, h("h2", { key: 'f9259ac0832ea3041a517ee3dd8dccb41a3bd903', class: "s-reviews-page-title" }, this.langTitlesReviews, h("span", { key: 'f49098ca0e3f911669c610a310dbf331922e9b8a', class: "s-reviews-page-count" }, "(", this.langRatingReviews, ")")), h("div", { key: '739397b8f7389cfab453d435868b20be49871d6d', class: "s-reviews-page-filter-wrapper" }, h("label", { key: '92bd0f40b758f394ca3c1604ba207653e2263bac', class: "s-reviews-page-filter-label", htmlFor: "testimonials-filter" }, this.langSorting), h("select", { key: 'a2b42e0c18c9192a3ff33f61ca21e50355655ed4', onChange: (e) => this.handleSorting(e), disabled: !this.reviews.length, class: "s-reviews-page-filter" }, this.renderSortingOptions()))), this.reviews.length ? h("main", { class: "s-reviews-page-grid", ref: el => {
1604
1620
  this.wrapper = el;
1605
1621
  } }, this.reviews.map(review => (h("salla-review-card", { key: review.id, review: review }))))
1606
1622
  : h("div", { class: "s-products-list-placeholder" }, h("span", { innerHTML: ShoppingBag }), h("p", null, this.placeholderText)), this.pagination?.links?.next && this.reviews.length ? (h("div", { class: "s-reviews-page-load-more-container" }, h("salla-button", { class: "s-reviews-page-load-more-btn", loading: this.isLoading, onClick: () => this.infiniteScroll?.loadNextPage(), onKeyUp: () => this.infiniteScroll?.loadNextPage() }, this.langLoadMore))) : null));
@@ -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-BvVpL-WS.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BJ40PU3w.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-BvVpL-WS.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BJ40PU3w.js';
5
5
  import { W as WhatsappIcon } from './whatsapp2-CgR-T_ZS.js';
6
6
  import { S as SIMail } from './mail-DLNIOD9t.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-BvVpL-WS.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BJ40PU3w.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)}";
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-BvVpL-WS.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BJ40PU3w.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
 
@@ -232,7 +232,7 @@ const SallaCountDown = class {
232
232
  return this.renderCountDown();
233
233
  }
234
234
  render() {
235
- return (h(Host, { key: '5061e1fab03966fc62e46d4529c4ee07ed01df35', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''} ${this.horizontal ? 's-count-down-horizontal' : ''} ${this.withButton ? 's-count-down-with-button' : ''} ${this.offerEnded ? 's-count-down-ended' : ''}` }, this.renderPrefixText(), this.renderContent(), this.offerEnded && this.renderOfferEnded(), this.renderButton()));
235
+ return (h(Host, { key: 'b9b5d0e038afdf2dd88da15eb711752d2a9a45af', class: `s-count-down-wrapper ${this.preOrder && this.isValidDate(this.date) ? 's-count-down-pre-order' : ''} ${this.horizontal ? 's-count-down-horizontal' : ''} ${this.withButton ? 's-count-down-with-button' : ''} ${this.offerEnded ? 's-count-down-ended' : ''}` }, this.renderPrefixText(), this.renderContent(), this.offerEnded && this.renderOfferEnded(), this.renderButton()));
236
236
  }
237
237
  };
238
238
  SallaCountDown.style = sallaCountDownCss;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h } from './index-BvVpL-WS.js';
4
+ import { r as registerInstance, c as createEvent, h } from './index-BJ40PU3w.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-BvVpL-WS.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BJ40PU3w.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-BvVpL-WS.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BJ40PU3w.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-BvVpL-WS.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BJ40PU3w.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.js';
6
6
  import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
7
7
  import './anime.es-CgtvEd63.js';
@@ -169,12 +169,12 @@ const SallaFiltersWidget = class {
169
169
  return h("span", { class: "s-filters-option-name" }, label);
170
170
  }
171
171
  render() {
172
- return (h(Host, { key: 'e93cfb9f1f6daeb8a2121ccb36a3cf135a55e902', class: "s-filters-widget-container" }, h("h3", { key: 'd5ef45d78e0119e2ac997ded417e310c0a797c34', class: "s-filters-widget-title", onClick: () => this.toggleWidget() }, h("span", { key: 'fe4df56fad0d290395d78588456fb7d00a20ed43' }, this.option.label), h("span", { key: 'c961f86b5e06437dfdd145e164da5fe326500032', class: `s-filters-widget-plusminus ${this.isOpen ? 's-filters-widget-plusminus-active' : ''}` })), h("div", { key: '7cf1ed1b562bf16acc481f682965567d8bc1813c', class: "s-filters-widget-content", ref: (el) => this.widgetContent = el }, Array.isArray(this.option.values) && this.option.values.length > 5 && (h("div", { key: '275427371f48fdfc8ef8b80b9d3e11fa247f7d7a', class: "s-filters-widget-search-wrapper", style: { padding: '8px 0', marginBottom: '8px' } }, h("input", { key: '473c082ed9f7415beba445d36a121027eaadbbe1', type: "text", class: "s-filters-widget-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder') || 'بحث...', value: this.searchQuery, onInput: (e) => this.searchQuery = e.target.value }))), h("div", { key: 'e45654731cdd801345acc5b3311d9ddab3020035', class: "s-filters-widget-values", ref: (el) => this.widgetValues = el }, h("slot", { key: '5ae673157a4b579a000901b04db8e375a52565e7' }), this.option.type !== FilterOptionTypes.RANGE
172
+ return (h(Host, { key: 'a3377234cae7a9565f403d859e60ee71cb9b9e00', class: "s-filters-widget-container" }, h("h3", { key: 'd797565b06c795a6b19d5fa6c93da583e291cc01', class: "s-filters-widget-title", onClick: () => this.toggleWidget() }, h("span", { key: '35e933096973744c332cfb3a0346b57f7dd28a76' }, this.option.label), h("span", { key: '2c27dacf5242da14f2cddca9f99af09bb9cb3bea', class: `s-filters-widget-plusminus ${this.isOpen ? 's-filters-widget-plusminus-active' : ''}` })), h("div", { key: '6f85c5af558a2b47e9779225d2fb9b99d2dd78e5', class: "s-filters-widget-content", ref: (el) => this.widgetContent = el }, Array.isArray(this.option.values) && this.option.values.length > 5 && (h("div", { key: 'd6c9fe9baf08d095346d52e5e6836ca7a26dae7f', class: "s-filters-widget-search-wrapper", style: { padding: '8px 0', marginBottom: '8px' } }, h("input", { key: '44ac9fc9e7488165acccbac8a7bd95a3f863dab8', type: "text", class: "s-filters-widget-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder') || 'بحث...', value: this.searchQuery, onInput: (e) => this.searchQuery = e.target.value }))), h("div", { key: 'a8350384975504985098f0b9f1ae6c086537886b', class: "s-filters-widget-values", ref: (el) => this.widgetValues = el }, h("slot", { key: '20acece0e29070b6f1359ab1d3f16e928d461742' }), this.option.type !== FilterOptionTypes.RANGE
173
173
  ? this.renderFilterOption(this.option)
174
174
  : h("salla-price-range", { onChanged: (event) => {
175
175
  this.changed.emit(event.detail);
176
176
  }, ref: price => this.priceRange = price, filtersData: this.filtersData, option: this.option })), this.withLoadMore && (!this.searchQuery || this.filteredCount > this.initialItemCount) &&
177
- h("a", { key: '8ec08429d8fb31b338e6f9f9cf455b5ba2155cb8', class: "s-filters-widget-more", onClick: () => this.showMore() }, !this.isShowMore ? this.showMoreLabel : this.showLessLabel))));
177
+ h("a", { key: 'a628397d54fc254fe36458c4bbdca0dad0a0e6ad', class: "s-filters-widget-more", onClick: () => this.showMore() }, !this.isShowMore ? this.showMoreLabel : this.showLessLabel))));
178
178
  }
179
179
  get host() { return getElement(this); }
180
180
  };
@@ -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-BvVpL-WS.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BJ40PU3w.js';
5
5
  import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
6
6
  import { H as Helper } from './Helper-DFMXF2_h.js';
7
7
  import './anime.es-CgtvEd63.js';
@@ -193,7 +193,7 @@ const SallaFilters = class {
193
193
  this.applyFilters();
194
194
  }
195
195
  render() {
196
- return h(Host, { key: 'f3c454fc20472dca6fe646c9121028a2c045808f' }, this.filters?.map(option => h("salla-filters-widget", { option: option, filtersData: this.filtersData, onChanged: ({ detail: { event, option, value } }) => {
196
+ return h(Host, { key: '8fe009d0a0b52956fa634544aa414e554b77a128' }, this.filters?.map(option => h("salla-filters-widget", { option: option, filtersData: this.filtersData, onChanged: ({ detail: { event, option, value } }) => {
197
197
  this.handleOptionChange(event, option, value);
198
198
  } })), this.filters?.length ? h("div", { class: "s-filters-footer" }, h("salla-button", { color: 'gray', fill: 'outline', onClick: () => this.resetFilters() }, this.reset)) : '');
199
199
  }
@@ -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-BvVpL-WS.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BJ40PU3w.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-BvVpL-WS.js';
4
+ import { r as registerInstance, h } from './index-BJ40PU3w.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';
@@ -554,7 +554,7 @@ const SallaGifting = class {
554
554
  }
555
555
  render() {
556
556
  return [
557
- h("div", { key: 'ea8b7581fc816b2984ec7a8c9f0d5bfb30710577' }, h("salla-list-tile", { key: '44e4b948c467ecbec4934f894af3e88a01567338', class: this.generateClass() }, h("div", { key: 'c36ccc48ff4209d2aad05123981c8efad4de8642', slot: "title" }, this.vertical ? h("span", { innerHTML: SIGiftSharing }) : '', h("h3", { key: 'd5cfd335582f2af620ef50ae92b431b3fdf84b71' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: '9623168820eefb63c833dd14c68c1dc20afe1cd1', slot: "subtitle" }, h("div", { key: 'e2fda7dc68054c0f382f61d74a578589b565a544' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: 'e888e024772c0ef848e4a4113b218bb4e05d78db', slot: "action" }, h("salla-button", { key: 'd443bfd1f5925299a4e0510fae8fc175d390b55a', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '8df23b83891ee2abf644cde76675ca6bb796db79', name: "widget-btn-content" }, h("div", { key: '6b5153a1f1b9d5e127093c3fcc96e2a0fa4954f4', class: "s-gifting-widget-action-content" }, h("span", { key: '41a7f2e88c8046d7211abf5d7fc9d3f533c02292', innerHTML: SIGiftSharing }), " \u00A0", h("span", { key: '45ea8eac19ca9cccf37cd34d8f84211e6172cd45' }, this.sectionBtnText)))))), h("salla-modal", { key: '5bd076c54c4d072886671653e536c649763785b1', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '378d12f388bd0627355af5b4e57929c00ae28044', slot: "loading" }, h("div", { key: '1b738d4b461a9ebe3a5184f4de727bb1b4b45890', class: "s-gifting-skeleton" }, h("div", { key: '660c901f477536e68d2a3bacd028438c9726b968', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: '46f8e45a0a38c10784fc5f3505092e65ed2bba3a', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: '09b3356d736e5eb46bb51df2e2fa539dc9d8c99f', class: "s-gifting-modal-title" }, h("div", { key: 'cc8cb7dece64c65d5891e32e49588316e9009f6c', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: '41b30274a655babdd0c9e26e74dc3f0bdd4a2aea', height: '15px', width: '150px' })))), h("div", { key: 'b241162827a085279f646452a151d6483a37cc8e', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: '5ac15a8e94b50ea03cd033375b08f9e4406a7e17', height: '10px', width: '150px' }), h("salla-skeleton", { key: '697e157e475df0cb71b79e3752019f522ed847a3', height: '230px' }), h("salla-skeleton", { key: '8a5e586c059b765f6425d7060a18e8d799be3c4f', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'e1ee17daef6904b8302b0f4437e99b221bd6b236', height: '30px' }), h("salla-skeleton", { key: '9dfbca00f18a37348eb83021ef4fec073685fe7d', height: '40px' })))), h("slot", { key: 'da2c687a186ed115acee04cc683eff3a6a73168f', name: "header" }), !!this.hasError ?
557
+ h("div", { key: '2bc4ff1b223c9b1f2e50e36c7f6e6f0448f5a51d' }, h("salla-list-tile", { key: 'b5cf74b6d00c292a1c654c695d316a0a34e70c30', class: this.generateClass() }, h("div", { key: '2e229e46039a9bbf071bc65534733c9da61545f8', slot: "title" }, this.vertical ? h("span", { innerHTML: SIGiftSharing }) : '', h("h3", { key: 'b067244c213dd0c3c64f795f07b4c27f57c661f5' }, !!this.widgetTitle ? this.widgetTitle : this.sectionTitle)), h("div", { key: 'a8804b65526bfde36bbb82302d667bc10052ff4b', slot: "subtitle" }, h("div", { key: 'cf2ca350ab3884baa192ce1c043719eb8f9a0120' }, !!this.widgetSubtitle ? this.widgetSubtitle : this.sectionSubtitle)), h("div", { key: 'f68182d4324c4b56893b63e046e4298c519e449e', slot: "action" }, h("salla-button", { key: '6cf71ec0311dfe7804f4634ae1203e0ae65150be', color: "primary", fill: "outline", width: "wide", class: "s-gifting-widget-action", onClick: () => this.handleGiftButtonClick() }, h("slot", { key: '9b00d0c0c7a594e7e9635a79a6b4a472da73ebe3', name: "widget-btn-content" }, h("div", { key: 'a73ed9d6322c4484180f68e7c8fb7a3b4e5bdb8a', class: "s-gifting-widget-action-content" }, h("span", { key: '0ce7ec753ab1ec30269127a8426a36d55d983a6e', innerHTML: SIGiftSharing }), " \u00A0", h("span", { key: 'ae35a5669a30e7abb61e5d540224c2be5baae82a' }, this.sectionBtnText)))))), h("salla-modal", { key: 'dee19984ecc71f6e10c330121361359d00408448', id: this.hostId, isLoading: true, class: "s-gifting-modal", width: "sm", ref: modal => this.modal = modal }, h("div", { key: '10eee2481652b157c44b16d34097ffcce9325d81', slot: "loading" }, h("div", { key: '325446006a0bf5d6d480c8935912fe976ccd453d', class: "s-gifting-skeleton" }, h("div", { key: 'f256cc302b946906262450f0bb023912d034aa13', class: "s-gifting-modal-header" }, h("salla-skeleton", { key: '75bf0e81841a4c41e4105f19bd3e4fbf67ece325', type: 'circle', height: '5rem', width: '5rem' }), h("h2", { key: '64661720e2f94f6d8b86087d3a03538a1a419202', class: "s-gifting-modal-title" }, h("div", { key: 'd5000d6903f5a7b61beb6a0a88291953e1344ba3', class: "s-gifting-modal-badge-wrapper" }, h("salla-skeleton", { key: '07efd33b877468df617bab4cd2f1b73e73f2d284', height: '15px', width: '150px' })))), h("div", { key: '6fb9d9abf7e211a6ecc45ee50283d37d1755b220', class: "s-gifting-skeleton-content" }, h("salla-skeleton", { key: 'ed76848f4c017334dea4f12c07ec6556646c397f', height: '10px', width: '150px' }), h("salla-skeleton", { key: 'cfe3e107536dac9e5b1524770eb6990ab3b6460b', height: '230px' }), h("salla-skeleton", { key: 'a35af25d98f5758bf442759841536fed09f6cdd2', height: '10px', width: '150px' }), h("salla-skeleton", { key: '6950704fb24a07807542723f2752b6a734090d42', height: '30px' }), h("salla-skeleton", { key: 'bd65f98a07ee8d041434b9b475ce4c355318f586', height: '40px' })))), h("slot", { key: 'e946b5c7a4146d0118d321d860d332d17c3f931e', name: "header" }), !!this.hasError ?
558
558
  h("salla-placeholder", { alignment: "center" }, h("span", { slot: "title" }, this.errorMessage || salla.lang.get('common.errors.empty_results')), h("span", { slot: "description" }, " "))
559
559
  :
560
560
  [
@@ -574,7 +574,7 @@ const SallaGifting = class {
574
574
  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" }, this.receiverCityFieldLabel), h("select", { name: "city", "aria-label": salla.lang.get('blocks.buy_as_gift.select_city'), class: "s-form-control", onChange: (event) => this.handleReceiverCity(event), disabled: this.loadingCities || (this.isKSA && !this.selectedRegionId) }, h("option", { value: "", selected: true }, this.loadingCities ? salla.lang.get('common.elements.loading') : this.selectCity), this.gift?.cities?.map((city) => (h("option", { value: city.id }, city.name)))), this.errors && this.errors['receiver.city_id'] ?
575
575
  h("span", { class: "s-gifting-error" }, this.errors['receiver.city_id']) : ''), this.isPhysical() &&
576
576
  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') }, 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)))))
577
- ], h("slot", { key: '20793a5a50c708c93be79df033e43a36e615d075', name: "footer" })))
577
+ ], h("slot", { key: '579cbbcc59818051def887c38e4d0eed6e690737', name: "footer" })))
578
578
  ];
579
579
  }
580
580
  };
@@ -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-BvVpL-WS.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BJ40PU3w.js';
5
5
 
6
6
  const SallaHook = class {
7
7
  constructor(hostRef) {
@@ -15,7 +15,7 @@ const SallaHook = class {
15
15
  this.host.before(element);
16
16
  }
17
17
  render() {
18
- return h(Host, { key: '618467f6911198a5cbf4270694544575e585af27' });
18
+ return h(Host, { key: '499483c55f2e1122d80768cd43e47f8e127a62b4' });
19
19
  }
20
20
  async componentDidLoad() {
21
21
  // Register this component for hooks system, already on it logic to run componentDidLoad trigger
@@ -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-BvVpL-WS.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BJ40PU3w.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.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-BvVpL-WS.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BJ40PU3w.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}";
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-BvVpL-WS.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BJ40PU3w.js';
5
5
 
6
6
  const sallaListTileCss = "";
7
7
 
@@ -24,7 +24,7 @@ const SallaListTile = class {
24
24
  };
25
25
  }
26
26
  render() {
27
- return (h(Host, { key: 'e1528afcea1eda05a5ce206e95791e7611d24dd0' }, h("a", { key: '749a73c76d68ad36f1a6609ada69778662d56566', class: this.generateClass(), href: this.href || "#", target: this.target, "aria-label": "List Tile Link" }, h("div", { key: '7bfd448f86790b2afe0b7a5b8a5460c3b2be66ee', class: "s-list-tile-item-icon" }, h("slot", { key: '383e28a8832483e8ecc61e4f48a3ff1fe5db1038', name: 'icon' })), h("div", { key: 'c42bf126a9ff4014a4e2d85ff12b41d1a88a0e03', class: "s-list-tile-item-content" }, h("div", { key: '18a4a9ebd39e3a710f70dc33554d24e3c2850e53', class: "s-list-tile-item-title" }, h("slot", { key: '7211d627511bf2448cf161f40cc82b1822dd1e7a', name: 'title' })), h("div", { key: '044a7d76e05841f484387c7ed299107f33c9bc21', class: "s-list-tile-item-subtitle" }, h("slot", { key: 'df131034f1c5434722543e25552caed142794d55', name: "subtitle" }))), h("div", { key: '37abe0abab720da11cd55660578ec256c062e763', class: "s-list-tile-item-action" }, h("slot", { key: 'fcac02da17981ef4c6fa3cea50c551e3010352d9', name: 'action' })))));
27
+ return (h(Host, { key: 'bb33776d01406ff1e04bbdc741312f1a17ac3b7b' }, h("a", { key: '386b417c954bf4b2bac34e40d9bae19db7f61ec3', class: this.generateClass(), href: this.href || "#", target: this.target, "aria-label": "List Tile Link" }, h("div", { key: 'cbcd8c6f92a4cbe7afbd8797c36ae6f529abed1c', class: "s-list-tile-item-icon" }, h("slot", { key: 'bff76fdb467b2491f0c3b40bd7f475eda23fa9c8', name: 'icon' })), h("div", { key: 'c80e7c032abedea8d5929d8bb36a642336724fe1', class: "s-list-tile-item-content" }, h("div", { key: '2bea0273bb4c012e0f9f7ee948b14bc9ea8afc2a', class: "s-list-tile-item-title" }, h("slot", { key: '60c872b9ec9b369ba65452abad7860b3ba6ba640', name: 'title' })), h("div", { key: 'fbb1b6e49284c74f2933f056aa16fcbc25526703', class: "s-list-tile-item-subtitle" }, h("slot", { key: '5ad1bba1b71db13d4deb594ccb0f5898f24d2f23', name: "subtitle" }))), h("div", { key: '96358bf7ed34907a799efd8c6fb2caae6ca02f43', class: "s-list-tile-item-action" }, h("slot", { key: '8d496724103f0c3959845c8f5d4e662a3095c09e', name: 'action' })))));
28
28
  }
29
29
  };
30
30
  SallaListTile.style = sallaListTileCss;
@@ -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-BvVpL-WS.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-BJ40PU3w.js';
5
5
 
6
6
  const SallaLocalizationModal = class {
7
7
  constructor(hostRef) {
@@ -207,7 +207,7 @@ const SallaLocalizationModal = class {
207
207
  this.showTrigger
208
208
  ? h("button", { type: "button", onClick: () => this.open(), class: "s-localization-modal-trigger-btn" }, h("span", null, this.getLanguageName()), h("span", { class: "s-localization-modal-trigger-separator" }, "|"), " ", h("span", { innerHTML: this.getCurrencySymbol() }))
209
209
  : '',
210
- h("salla-modal", { key: '8b26a4e0224a049aee503c06ec288eb2dcbd00db', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, h("div", { key: 'b28c8375f6491ad8fab684dab4d203a9d23fd417', slot: 'loading' }, h("div", { key: '26967b5d8accc26b75aa0a361506341b00cc1ef7', class: "s-localization-modal-skeleton" }, h("salla-skeleton", { key: 'a97f5ceee4c1173030ec29781ee6571c50e02865', width: '25%', height: '15px' }), h("div", { key: '51edca3871e46c692b89651281e94b1716f3cade', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: '5e8e3fb5c956be5a681025c7cfce59648dcc75e7', width: '25%', height: '15px' }), h("div", { key: 'd16e6d8bed9300337f84bad366e2731799363fb2', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: '952633850a514afbf702d8e6afe30470ff201673', height: '40px', width: '100%' }))), !!this.hasError ?
210
+ h("salla-modal", { key: '862b768f3a0f9abe079703030bb686178d418ca7', isLoading: true, class: "s-hidden", ref: modal => this.modal = modal, width: "xs" }, h("div", { key: '96ce8b449b2c96718de083df1b39bf19d18e4543', slot: 'loading' }, h("div", { key: '44ba3efdf44d8758b9824dfbee98081549aad41f', class: "s-localization-modal-skeleton" }, h("salla-skeleton", { key: '66c85016f14871d05eb296691962ddf0e5b8a512', width: '25%', height: '15px' }), h("div", { key: 'e3e0a9cf51572f13456f82d9b08a14a132a01657', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: '4c60b249bd54e0850471967d176a789f38f95841', width: '25%', height: '15px' }), h("div", { key: '7da8613b052a1dab1b34cf54fad755f703b68e5a', class: "s-localization-modal-skeleton-content" }, [...Array(4)].map(() => h("div", { class: "s-localization-modal-skeleton-item" }, h("div", { class: "s-localization-modal-skeleton-item-flex" }, h("salla-skeleton", { type: 'circle', height: '16px', width: '16px' }), h("salla-skeleton", { height: '10px', width: '100px' })), h("salla-skeleton", { height: '15px', width: '20px' })))), h("salla-skeleton", { key: 'b465504898a6861d5cce2456444cc81e7bc61376', height: '40px', width: '100%' }))), !!this.hasError ?
211
211
  h("salla-placeholder", { alignment: "center" }, h("span", { slot: "description" }, this.errorMessage)) :
212
212
  h("div", { class: "s-localization-modal-inner" }, this.languages.length > 1 ?
213
213
  h("div", { class: "s-localization-modal-section" }, h("label", { class: "s-localization-modal-title" }, Salla.lang.get('common.titles.language')), h("div", { class: "s-localization-modal-section-inner" }, this.languages.length < 6 ?
@@ -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-BvVpL-WS.js';
4
+ import { r as registerInstance, h, F as Fragment, a as getElement } from './index-BJ40PU3w.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,10 +1,10 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-BvVpL-WS.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-BJ40PU3w.js';
5
5
  import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
- import { T as TrackedPromise } from './tracked-promise-C9WWqUqk.js';
7
+ import { T as TrackedPromise } from './tracked-promise-C8cy0NIq.js';
8
8
 
9
9
  const sallaLoyaltyProgramCss = "";
10
10
 
@@ -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-BvVpL-WS.js';
5
- import { c as closeModals, f as formattedPointsJsx } from './functions-BrNcFMBn.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BJ40PU3w.js';
5
+ import { c as closeModals, f as formattedPointsJsx } from './functions-5z0tDgRf.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';
@@ -19,13 +19,13 @@ const SallaLoyaltyHero = class {
19
19
  registerInstance(this, hostRef);
20
20
  }
21
21
  render() {
22
- return (h(Host, { key: '3393f0d9f023c524b73eda48086f8fc25ec471ca' }, h("section", { key: 'f3d8332554c22a87b1f55a517009195c22ace65a', class: "s-loyalty-program-hero-container" }, h("div", { key: '5b746fb87ad0cc66bb08d46a70117258bc80e548', class: "s-loyalty-program-hero-background", style: {
22
+ return (h(Host, { key: 'f273bd77fb72c44195d5c59028505a217e4fb2f2' }, h("section", { key: 'dfe6196286fe59610bd084fbf0513bae4dfbe254', class: "s-loyalty-program-hero-container" }, h("div", { key: 'bcbcf95e78477768d050093294147fb6d9777046', class: "s-loyalty-program-hero-background", style: {
23
23
  backgroundImage: `url(${this.image})`,
24
- } }, this.image ? h("div", { class: "s-loyalty-program-hero-overlay" }) : '', h("div", { key: 'd265b684f565221d1e32375e215a224f9e37a29b', class: {
24
+ } }, this.image ? h("div", { class: "s-loyalty-program-hero-overlay" }) : '', h("div", { key: '61ea985f1105f98da5a6bc58ddce42e88b23df28', class: {
25
25
  's-loyalty-program-hero-content': true,
26
26
  's-loyalty-program-hero-white': !!this.image,
27
27
  's-loyalty-program-hero-gray': !this.image,
28
- } }, h("div", { key: '747b6d5d110ed4f07308f50d5fdbdb0e49ab22bf' }, h("h1", { key: 'e2aea10327e863bab41a4c5c5ccb10d3869408a7', class: "s-loyalty-program-hero-title" }, this.name || h("span", { key: '509d9916ec042f27634061f2c6942662b71b87cb', style: { color: 'transparent', backgroundColor: '#666', borderRadius: '12px' } }, "name")), h("p", { key: '7161ffe3f223758f9b5c4b904ae7e36a940b7757', class: "s-loyalty-program-hero-description" }, this.description || h("span", { key: '60ca3aa104de52b3efa303c7d517fbe9370eb724', style: { color: 'transparent', backgroundColor: '#666', borderRadius: '12px' } }, "description"))), h("slot", { key: '24795c8373dfb546e7bb9bd841646a24455c72af', name: "action" }))), h("div", { key: '2400cfc7f43acc5d94e647feb370d162074a5e68', class: "s-loyalty-program-hero-footer" }, h("div", { key: '00b01de76c0278a2900cd6ae7dfb7dfe9f16b5a1', class: "s-loyalty-program-hero-slot-container" }, h("slot", { key: '969566f21e651ff1f4833ef6e671700ecffe9072', name: "crosspoint" }))))));
28
+ } }, h("div", { key: '74b4e725bc91e72fb4512533e9d91dccd2f2a040' }, h("h1", { key: '3f9b8a0d9a1fc9c58007049b91f4852c0e7a9470', class: "s-loyalty-program-hero-title" }, this.name || h("span", { key: 'a404bae08a1d4922b73eef9122f540b4a5a412ae', style: { color: 'transparent', backgroundColor: '#666', borderRadius: '12px' } }, "name")), h("p", { key: '04df0835694628c383d8cbb5455400d47bcce501', class: "s-loyalty-program-hero-description" }, this.description || h("span", { key: 'c0d757cbffaf88a4f40dd1a61444189d36c40763', style: { color: 'transparent', backgroundColor: '#666', borderRadius: '12px' } }, "description"))), h("slot", { key: 'cd347b02a9c588dca9d98723c7e06adfba5662f8', name: "action" }))), h("div", { key: '261ed03dd2f3ea1ae218b82bf6f2897321fd18c2', class: "s-loyalty-program-hero-footer" }, h("div", { key: 'bf78eba028f33115c6d6ea11bd613bef7202e100', class: "s-loyalty-program-hero-slot-container" }, h("slot", { key: 'd061f05ef8d7959a226b2a3b2d5d915ac525dbe0', name: "crosspoint" }))))));
29
29
  }
30
30
  };
31
31
  SallaLoyaltyHero.style = sallaLoyaltyProgramCss$1;
@@ -204,7 +204,7 @@ const SallaLoyaltyPoint = class {
204
204
  }
205
205
  }
206
206
  render() {
207
- return (h("div", { key: 'c2c34afc4b10f2386728dbe537b847481bd5e706' }, h("div", { key: 'cf57ff9cfc3a2f55bfe8af17f2cc7c83c9d0615b', onClick: () => closeModals(() => this.modal.open()), class: "s-loyalty-program-point-wrapper" }, h("div", { key: '407eb761249e7872fb999dc79ce0a8943bcf3708', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-sm s-loyalty-program-circle-variant-fill" }, h("span", { key: 'ac7813b4ce28250a61894387626930cbf259f569', class: this.point.icon })), h("div", { key: '8725b5639e3ba8aec39d592e115ea9d31bb11b0f', class: "s-loyalty-program-points-badge-mobile" }, h("salla-badge", { key: 'dc458d557e251481bcb001cf13f410ff9c572883', size: "xs", bg: "transparent" }, h("span", { key: '0389b4b3ce11a28e7366ac5b8fe030a366ca2a1b', innerHTML: SIGift }), formattedPointsJsx(this.point))), h("div", { key: 'd8f06d0a2bf23d720f2945816974527513b92aea', class: "s-loyalty-program-points-badge-desktop" }, h("salla-badge", { key: '4b004b8aab8b15bfc2d669179c8699be544eb5d1', size: "sm", bg: "transparent" }, h("span", { key: '87f0a45143185f28520b49b4b690e1449174e0ef', innerHTML: SIGift }), formattedPointsJsx(this.point))), h("p", { key: 'ae51344446f70798cb00a11a24a3c37d3c0a1fd5', class: "s-loyalty-program-point-description" }, this.point.name), this.point.is_completed ?
207
+ return (h("div", { key: '1a96a88716d9fa2b3e8aac4864a025824c48d36a' }, h("div", { key: '13bc00fa473bfb16b272d751b45ad7384db0fc43', onClick: () => closeModals(() => this.modal.open()), class: "s-loyalty-program-point-wrapper" }, h("div", { key: 'a7d6d5f9692c7454d6bd9aa350c4934ec1704002', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-sm s-loyalty-program-circle-variant-fill" }, h("span", { key: '2e26922099bbc8d1d46d48d807f09b195868a262', class: this.point.icon })), h("div", { key: 'ea7c80d9fd595d1e319fb9840cfa7dc439ad2bbb', class: "s-loyalty-program-points-badge-mobile" }, h("salla-badge", { key: '76c01bd0380e5729989ae4b748d7e59f334b40b8', size: "xs", bg: "transparent" }, h("span", { key: 'b459db33b3926952415e2ac6a9b383a53467bc7f', innerHTML: SIGift }), formattedPointsJsx(this.point))), h("div", { key: '528f5f6e1c36c637b69684d95ec304f9c129400e', class: "s-loyalty-program-points-badge-desktop" }, h("salla-badge", { key: '9360900b49e9b122c3de07ad08de0cc0e8eccec4', size: "sm", bg: "transparent" }, h("span", { key: '7786c402cb6b946f9fd6402e1d066ad58ae4c0d4', innerHTML: SIGift }), formattedPointsJsx(this.point))), h("p", { key: 'e6e4e93f0cdbd7dfd0dc39f279cac0bbb9ca4fa8', class: "s-loyalty-program-point-description" }, this.point.name), this.point.is_completed ?
208
208
  h("a", { class: {
209
209
  's-loyalty-program-points-action': true,
210
210
  's-loyalty-program-points-action-completed': this.point.is_completed,
@@ -214,7 +214,7 @@ const SallaLoyaltyPoint = class {
214
214
  's-loyalty-program-points-action': true,
215
215
  's-loyalty-program-points-action-completed': this.point.is_completed,
216
216
  's-loyalty-program-points-action-incomplete': !this.point.is_completed,
217
- } }, this.point.description)), h("salla-modal", { key: '1acb15d8523cc832e102551e74ab3520d1e92ae0', ref: modal => this.modal = modal, class: "s-loyalty-program-point-modal s-loyalty-program-modal", width: window.matchMedia('(min-width: 768px)').matches ? 'md' : 'sm', noPadding: true }, h("div", { key: '0c7e1436747cbb7a54a5f572b7ae22ee4a59b1bb', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: 'b0995df3565e1a90c49910616cb343579ea69074', class: "s-loyalty-program-points-modal-info" }, this.point.name)), h("div", { key: '22d8548b682e06ba9fb3af4c293d25fa2db9ef3b', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: '32a51e4329358e92dafa4e3e92c34d3565bd965d', class: "s-loyalty-program-points-modal-main" }, h("div", { key: '5736f71eeae6b6f6ec3bf86baa15623c3a80865c', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: 'e9ff991b8037e7e6bc5eb3f8d50e060bc780a448', class: this.point.icon })), h("salla-badge", { key: '7f93b524618636ddeb796fa119d96c7c03d9f0ab', size: "sm", bg: "light" }, h("span", { key: '1b0e6167064c6f2f0b8ff42c55f5e4a545d67c20', innerHTML: SIGift }), h("span", { key: '846e078c3f70572b965dc9bd02697f68ed18005f', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.point)))), this.getSubHeading(this.point), h("div", { key: '94d2e8b86d93c7470478731e76416e34b71be01f', class: "s-loyalty-program-points-modal-details" }, h("div", { key: 'ad4d571f3467c6b129c774de1165df75b3563eb5', class: "s-loyalty-program-points-chains-wrapper" }, h("ul", { key: '873b6b7d36a2bde224e516a52e7f478f20bf08d6', class: "s-loyalty-program-points-chain-list" }, !!this.point.steps && Object.keys(this.point.steps).length > 0
217
+ } }, this.point.description)), h("salla-modal", { key: '1b4bbdf4a31b15a05de6e82eaba7e41623bb7926', ref: modal => this.modal = modal, class: "s-loyalty-program-point-modal s-loyalty-program-modal", width: window.matchMedia('(min-width: 768px)').matches ? 'md' : 'sm', noPadding: true }, h("div", { key: 'dd47de6d728d0e242ba907df2ad5efac90eca3bc', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: '5b683091ac479ada36a8a653379973399ef7a9e9', class: "s-loyalty-program-points-modal-info" }, this.point.name)), h("div", { key: '76a05aedcc3b13f44709e369bf16c9c992689406', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: 'a71c0eb9f39a103728974e687dfcb9be5d8d9be7', class: "s-loyalty-program-points-modal-main" }, h("div", { key: 'de83e494131791cae7df3782489be5f1d2ffcb4d', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: '2c8faf8db0b4984d0c9319e18343e41d9a6d0d26', class: this.point.icon })), h("salla-badge", { key: 'b29e2f350840663bb36dff05124aa58a3c774640', size: "sm", bg: "light" }, h("span", { key: '0d6cc163f3b14710bca60c5e4fb9c602ff8416a1', innerHTML: SIGift }), h("span", { key: 'a9ddb1a5ed1c69e0c2017691f67d360f189d4b37', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.point)))), this.getSubHeading(this.point), h("div", { key: '3327f05f80fec2ddceed0e6f230f0a99020445cc', class: "s-loyalty-program-points-modal-details" }, h("div", { key: 'd5505b3ab399f5d0b668c02bbf441eee33b4a1b2', class: "s-loyalty-program-points-chains-wrapper" }, h("ul", { key: 'dc9b64ad5795e87a12ffd104c5d6bbbade1c2a2e', class: "s-loyalty-program-points-chain-list" }, !!this.point.steps && Object.keys(this.point.steps).length > 0
218
218
  ? Object.values(this.point.steps).map((step, idx) => {
219
219
  const stepsArray = Object.values(this.point.steps);
220
220
  const isLastItem = idx === stepsArray.length - 1;
@@ -223,7 +223,7 @@ const SallaLoyaltyPoint = class {
223
223
  : this.point.conditions?.map((condition, idx) => {
224
224
  const isLastItem = idx === this.point.conditions.length - 1;
225
225
  return (h("li", { class: "s-loyalty-program-points-chain-item" }, h("div", { class: "s-loyalty-program-points-chain-icon" }, h("div", { class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xs s-loyalty-program-circle-variant-outline-primary" }, sicons[condition.key]), !isLastItem && h("div", { class: "s-loyalty-program-points-chain-line" })), h("div", { class: "s-loyalty-program-points-chain-content" }, h("salla-badge", { size: "xs", color: "primary-900", bg: "primary-100" }, h("span", { innerHTML: SIGift }), formattedPointsJsx(condition.points ?? 0)), h("p", { class: "s-loyalty-program-points-chain-description" }, condition.name))));
226
- }))), this.getTrailingContent(this.point)), !this.point.branches?.length ? '' : h("div", { class: "s-loyalty-program-points-modal-list" }, h("div", { class: "s-loyalty-program-point-details-branches" }, h("h2", null, salla.lang.get('pages.loyalty_program.branches')), h("p", null, salla.lang.get('pages.loyalty_program.shop_from_branches'))), h("div", { class: "s-loyalty-program-points-modal-list-wrapper" }, h("ul", null, this.point.branches.map((branch) => (h("li", { class: "s-loyalty-program-points-modal-list-item" }, h("p", null, branch.name), h("salla-badge", { size: "sm", bg: "transparent" }, h("span", { innerHTML: SIGift }), h("a", { href: branch.location ? `https://www.google.com/maps?q=${branch.location.lat},${branch.location.lon}` : '#', target: "_blank", rel: "noopener noreferrer" }, branch.address_description))))))))), h("div", { key: 'de2c761361aa393b9d332502a1ec1b4f95cd88da', class: "s-loyalty-program-points-modal-action" }, h("a", { key: '473df75678e7d82639bf67a95da94dda684dc93f', href: this.point.url, onClick: (e) => (e.stopPropagation(), this.handleAction(e, this.point)), class: {
226
+ }))), this.getTrailingContent(this.point)), !this.point.branches?.length ? '' : h("div", { class: "s-loyalty-program-points-modal-list" }, h("div", { class: "s-loyalty-program-point-details-branches" }, h("h2", null, salla.lang.get('pages.loyalty_program.branches')), h("p", null, salla.lang.get('pages.loyalty_program.shop_from_branches'))), h("div", { class: "s-loyalty-program-points-modal-list-wrapper" }, h("ul", null, this.point.branches.map((branch) => (h("li", { class: "s-loyalty-program-points-modal-list-item" }, h("p", null, branch.name), h("salla-badge", { size: "sm", bg: "transparent" }, h("span", { innerHTML: SIGift }), h("a", { href: branch.location ? `https://www.google.com/maps?q=${branch.location.lat},${branch.location.lon}` : '#', target: "_blank", rel: "noopener noreferrer" }, branch.address_description))))))))), h("div", { key: '685d0de853bd3becf1c10529768a5952b6365517', class: "s-loyalty-program-points-modal-action" }, h("a", { key: '806543e483c0872139ee395ee9ba2dbe27061564', href: this.point.url, onClick: (e) => (e.stopPropagation(), this.handleAction(e, this.point)), class: {
227
227
  's-loyalty-program-points-action': true,
228
228
  's-loyalty-program-points-action-completed': this.point.is_completed,
229
229
  's-loyalty-program-points-action-incomplete': !this.point.is_completed,
@@ -1,15 +1,15 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { h, r as registerInstance } from './index-BvVpL-WS.js';
4
+ import { h, r as registerInstance } from './index-BJ40PU3w.js';
5
5
  import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
- import { n as normalizeLoyaltyData, c as closeModals } from './functions-BrNcFMBn.js';
6
+ import { n as normalizeLoyaltyData, c as closeModals } from './functions-5z0tDgRf.js';
7
7
  import { S as Star } from './star2-D4oPi1Ov.js';
8
8
  import { S as SICancel } from './cancel-8Tsmrwno.js';
9
9
  import { S as SIPercentage, a as SILayoutGrid } from './percentage-Bs6JxDkg.js';
10
10
  import { S as SIShipping } from './shipping-CZRcMGA9.js';
11
11
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
12
- import { T as TrackedPromise } from './tracked-promise-C9WWqUqk.js';
12
+ import { T as TrackedPromise } from './tracked-promise-C8cy0NIq.js';
13
13
 
14
14
  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>`;
15
15
 
@@ -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-BvVpL-WS.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-BJ40PU3w.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
 
@@ -14,7 +14,7 @@ const SallaLoyaltyPrizeItem = class {
14
14
  this.prizeItemSelected.emit(this.item);
15
15
  }
16
16
  render() {
17
- return (h(Host, { key: '91162ebf1e2f76c4b90df9518d57a136e71fa573' }, h("div", { key: '80416871b0f60857b3279525bdaa87327b75890a', onClick: this.onPrizeItemClick.bind(this) }, h("img", { key: 'd7afdc106a822c0f7640136bec591bfa48fe1802', class: "s-loyalty-prize-item-image", src: this.item.image, alt: this.item.name }), h("div", { key: '727f131b7fa00b75aab57f2bb5ea4616f0d3929a', class: "s-loyalty-prize-item-title" }, this.item.name), h("div", { key: '6e2b9263b7d2c1b7a9e372ede63a6b10a23b0d1d', class: "s-loyalty-prize-item-subtitle" }, this.item.description), h("div", { key: '97b7710e76e3d73afe68abe6e8094483960884da', class: "s-loyalty-prize-item-points" }, this.item.cost_points, " ", salla.lang.get('pages.loyalty_program.point')))));
17
+ return (h(Host, { key: '601dbcf73e68678eecc912c14c2b1be612a78551' }, h("div", { key: '074f8b4cb736bfabd5885d9df77bf74e7c4829a1', onClick: this.onPrizeItemClick.bind(this) }, h("img", { key: '4bec672992f7e998bde639295831a5c9ad5f5088', class: "s-loyalty-prize-item-image", src: this.item.image, alt: this.item.name }), h("div", { key: 'c8f858a7f406fe8e9123c57df627a4b6a2cbd719', class: "s-loyalty-prize-item-title" }, this.item.name), h("div", { key: '81b954aa730e07c7f32ee538692581dede3543db', class: "s-loyalty-prize-item-subtitle" }, this.item.description), h("div", { key: 'b7baeada2da364fec6ee7bd606b595b1f652d8a8', class: "s-loyalty-prize-item-points" }, this.item.cost_points, " ", salla.lang.get('pages.loyalty_program.point')))));
18
18
  }
19
19
  };
20
20
  SallaLoyaltyPrizeItem.style = sallaLoyaltyPrizeItemCss;