@salla.sa/twilight-components 2.14.431 → 2.14.433

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 (445) hide show
  1. package/dist/cjs/{filepond-DfW5cyCe.js → filepond-m9UIfD4r.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-BDWsEvaC.js → filepond-plugin-file-poster-CCNucuJo.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-Bto6gxLP.js → filepond-plugin-file-validate-size-c8aiCeyd.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-B6YfHTAx.js → filepond-plugin-file-validate-type-DKXNy-pI.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-C-LqaX6L.js → filepond-plugin-image-edit-BeXjDMoa.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-CV0h895x.js → filepond-plugin-image-exif-orientation-BeoKq6Qa.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-DWzrBxJB.js → filepond-plugin-image-preview-DNGNnW2v.js} +1 -1
  8. package/dist/cjs/{functions-CB5lb0VM.js → functions-B5wriSSk.js} +1 -1
  9. package/dist/cjs/{index-D7Syi0Lt.js → index-DRte8uD2.js} +1 -1
  10. package/dist/cjs/{index-CPVUhQsG.js → index-ouHUBEmn.js} +14 -6
  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 +3 -3
  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-cashback-banner.cjs.entry.js +77 -0
  25. package/dist/cjs/salla-comment-form_8.cjs.entry.js +23 -7
  26. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-count-down.cjs.entry.js +2 -2
  30. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-filters-widget.cjs.entry.js +3 -3
  34. package/dist/cjs/salla-filters.cjs.entry.js +2 -2
  35. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-gifting.cjs.entry.js +3 -3
  37. package/dist/cjs/salla-hook.cjs.entry.js +2 -2
  38. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-list-tile.cjs.entry.js +2 -2
  41. package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
  42. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  44. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +8 -8
  45. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  46. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +50 -0
  47. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
  48. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  49. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +4 -4
  50. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +2 -2
  52. package/dist/cjs/salla-map.cjs.entry.js +4 -4
  53. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +4 -4
  56. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
  57. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
  58. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
  60. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-offer-modal.cjs.entry.js +2 -2
  62. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
  66. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +2 -2
  68. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
  70. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  73. package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
  74. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  75. package/dist/cjs/salla-product-card_2.cjs.entry.js +6 -6
  76. package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
  77. package/dist/cjs/salla-products-list.cjs.entry.js +34 -3
  78. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-reward-action_4.cjs.entry.js +11 -11
  82. package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
  83. package/dist/cjs/salla-search.cjs.entry.js +6 -6
  84. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  85. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  87. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  88. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  89. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-tooltip.cjs.entry.js +3 -3
  91. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  95. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  97. package/dist/cjs/{tracked-promise-Duwj6C7F.js → tracked-promise-CBS0Jv4T.js} +1 -1
  98. package/dist/cjs/twilight.cjs.js +2 -2
  99. package/dist/cjs/{vanilla-picker-C-53deqE.js → vanilla-picker-B4KqFjgH.js} +1 -1
  100. package/dist/collection/assets/svg/money.svg +3 -0
  101. package/dist/collection/assets/svg/star-filled.svg +10 -0
  102. package/dist/collection/collection-manifest.json +2 -0
  103. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +14 -5
  104. package/dist/collection/components/salla-cashback-banner/salla-cashback-banner.css +0 -0
  105. package/dist/collection/components/salla-cashback-banner/salla-cashback-banner.js +74 -0
  106. package/dist/collection/components/salla-comments/salla-comment-item.js +20 -3
  107. package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
  108. package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
  109. package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
  110. package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
  111. package/dist/collection/components/salla-filters/salla-filters.js +1 -1
  112. package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
  113. package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
  114. package/dist/collection/components/salla-hook/salla-hook.js +1 -1
  115. package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
  116. package/dist/collection/components/salla-loading/salla-loading.js +1 -1
  117. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
  118. package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
  119. package/dist/collection/components/salla-loyalty-points-banner/salla-loyalty-points-banner.css +0 -0
  120. package/dist/collection/components/salla-loyalty-points-banner/salla-loyalty-points-banner.js +54 -0
  121. package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
  122. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +3 -3
  123. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  124. package/dist/collection/components/salla-loyalty-program/salla-reward-action.js +1 -1
  125. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  126. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  127. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
  128. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  129. package/dist/collection/components/salla-map/salla-map.js +3 -3
  130. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  131. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  132. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  133. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
  134. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  135. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  136. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  137. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  138. package/dist/collection/components/salla-order-edit/salla-order-edit-product-card.js +1 -1
  139. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  140. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  141. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  142. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  143. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  144. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  145. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  146. package/dist/collection/components/salla-products-list/salla-products-list.js +33 -2
  147. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  148. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
  149. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  150. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  151. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  152. package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
  153. package/dist/collection/components/salla-search/salla-search.js +5 -5
  154. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  155. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  156. package/dist/collection/components/salla-social/salla-social.js +1 -1
  157. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  158. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  159. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  160. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  161. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  162. package/dist/collection/components/salla-tooltip/salla-tooltip.css +4 -4
  163. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  164. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  165. package/dist/components/index.js +2 -2
  166. package/dist/components/salla-bullet-delivery.js +14 -5
  167. package/dist/components/salla-cashback-banner.d.ts +11 -0
  168. package/dist/components/salla-cashback-banner.js +96 -0
  169. package/dist/components/salla-comment-item2.js +36 -13
  170. package/dist/components/salla-comments.js +24 -18
  171. package/dist/components/salla-conditional-fields2.js +1 -1
  172. package/dist/components/salla-count-down2.js +1 -1
  173. package/dist/components/salla-datetime-picker2.js +1 -1
  174. package/dist/components/salla-file-upload2.js +2 -2
  175. package/dist/components/salla-filters-widget2.js +2 -2
  176. package/dist/components/salla-filters.js +1 -1
  177. package/dist/components/salla-gifting.js +2 -2
  178. package/dist/components/salla-hook.js +1 -1
  179. package/dist/components/salla-list-tile2.js +1 -1
  180. package/dist/components/salla-loading2.js +1 -1
  181. package/dist/components/salla-localization-modal.js +1 -1
  182. package/dist/components/salla-loyalty-hero2.js +3 -3
  183. package/dist/components/salla-loyalty-point2.js +3 -3
  184. package/dist/components/salla-loyalty-points-banner.d.ts +11 -0
  185. package/dist/components/salla-loyalty-points-banner.js +69 -0
  186. package/dist/components/salla-loyalty-prize-item.js +1 -1
  187. package/dist/components/salla-loyalty-reward.js +2 -2
  188. package/dist/components/salla-maintenance-alert.js +1 -1
  189. package/dist/components/salla-map2.js +3 -3
  190. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  191. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  192. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  193. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  194. package/dist/components/salla-multiple-bundle-product.js +1 -1
  195. package/dist/components/salla-notification-item2.js +1 -1
  196. package/dist/components/salla-offer-modal.js +1 -1
  197. package/dist/components/salla-order-details.js +1 -1
  198. package/dist/components/salla-order-edit-product-card.js +1 -1
  199. package/dist/components/salla-order-summary.js +1 -1
  200. package/dist/components/salla-payments.js +2 -2
  201. package/dist/components/salla-placeholder2.js +1 -1
  202. package/dist/components/salla-price-range2.js +2 -2
  203. package/dist/components/salla-product-availability2.js +1 -1
  204. package/dist/components/salla-product-card2.js +5 -5
  205. package/dist/components/salla-product-size-guide.js +2 -2
  206. package/dist/components/salla-products-list2.js +33 -2
  207. package/dist/components/salla-quantity-input2.js +1 -1
  208. package/dist/components/salla-quick-buy2.js +1 -1
  209. package/dist/components/salla-review-card2.js +1 -1
  210. package/dist/components/salla-reviews-page.js +1 -1
  211. package/dist/components/salla-reviews.js +1 -1
  212. package/dist/components/salla-reward-action2.js +1 -1
  213. package/dist/components/salla-reward-card2.js +1 -1
  214. package/dist/components/salla-reward-details2.js +3 -3
  215. package/dist/components/salla-reward-exchange2.js +3 -3
  216. package/dist/components/salla-scopes.js +1 -1
  217. package/dist/components/salla-search.js +5 -5
  218. package/dist/components/salla-searchable-dropdown2.js +4 -4
  219. package/dist/components/salla-skeleton2.js +1 -1
  220. package/dist/components/salla-social-share.js +1 -1
  221. package/dist/components/salla-social.js +1 -1
  222. package/dist/components/salla-tab-content2.js +1 -1
  223. package/dist/components/salla-tab-header2.js +1 -1
  224. package/dist/components/salla-tabs2.js +1 -1
  225. package/dist/components/salla-tel-input2.js +1 -1
  226. package/dist/components/salla-tooltip2.js +2 -2
  227. package/dist/components/salla-user-settings.js +1 -1
  228. package/dist/esm/{filepond-b3O-B3ro.js → filepond-CKWIup4S.js} +1 -1
  229. package/dist/esm/{filepond-plugin-file-poster-DGa9Q6FE.js → filepond-plugin-file-poster-Bh-xu68e.js} +1 -1
  230. package/dist/esm/{filepond-plugin-file-validate-size-Bn9iVzLj.js → filepond-plugin-file-validate-size-D49X-Kke.js} +1 -1
  231. package/dist/esm/{filepond-plugin-file-validate-type-BjHBoevq.js → filepond-plugin-file-validate-type-CdrHe--C.js} +1 -1
  232. package/dist/esm/{filepond-plugin-image-edit-CJ2XCDbB.js → filepond-plugin-image-edit-CJW0RVuR.js} +1 -1
  233. package/dist/esm/{filepond-plugin-image-exif-orientation-DUb8DStt.js → filepond-plugin-image-exif-orientation-DLAbuFUC.js} +1 -1
  234. package/dist/esm/{filepond-plugin-image-preview-BCzQEooP.js → filepond-plugin-image-preview-CgwlEcnw.js} +1 -1
  235. package/dist/esm/{functions-hDIweVRL.js → functions-DEq2D5r8.js} +1 -1
  236. package/dist/esm/{index-DFzcviYn.js → index-BAMBfQio.js} +1 -1
  237. package/dist/esm/{index-Dnvn8dmm.js → index-lMbG1CIQ.js} +14 -6
  238. package/dist/esm/loader.js +3 -3
  239. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  240. package/dist/esm/salla-accordion_6.entry.js +2 -2
  241. package/dist/esm/salla-add-product-button_5.entry.js +3 -3
  242. package/dist/esm/salla-advertisement.entry.js +1 -1
  243. package/dist/esm/salla-alert_2.entry.js +1 -1
  244. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  245. package/dist/esm/salla-apps-icons.entry.js +1 -1
  246. package/dist/esm/salla-badge.entry.js +1 -1
  247. package/dist/esm/salla-booking-field_7.entry.js +16 -16
  248. package/dist/esm/salla-bullet-delivery_2.entry.js +19 -10
  249. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  250. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  251. package/dist/esm/salla-cashback-banner.entry.js +75 -0
  252. package/dist/esm/salla-comment-form_8.entry.js +23 -7
  253. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  254. package/dist/esm/salla-contacts.entry.js +1 -1
  255. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  256. package/dist/esm/salla-count-down.entry.js +2 -2
  257. package/dist/esm/salla-custom-fields.entry.js +1 -1
  258. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  259. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  260. package/dist/esm/salla-filters-widget.entry.js +3 -3
  261. package/dist/esm/salla-filters.entry.js +2 -2
  262. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  263. package/dist/esm/salla-gifting.entry.js +3 -3
  264. package/dist/esm/salla-hook.entry.js +2 -2
  265. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  266. package/dist/esm/salla-installment.entry.js +1 -1
  267. package/dist/esm/salla-list-tile.entry.js +2 -2
  268. package/dist/esm/salla-localization-modal.entry.js +2 -2
  269. package/dist/esm/salla-login-modal.entry.js +1 -1
  270. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  271. package/dist/esm/salla-loyalty-hero_2.entry.js +8 -8
  272. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  273. package/dist/esm/salla-loyalty-points-banner.entry.js +48 -0
  274. package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
  275. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  276. package/dist/esm/salla-loyalty-reward.entry.js +4 -4
  277. package/dist/esm/salla-loyalty.entry.js +1 -1
  278. package/dist/esm/salla-maintenance-alert.entry.js +2 -2
  279. package/dist/esm/salla-map.entry.js +4 -4
  280. package/dist/esm/salla-menu.entry.js +1 -1
  281. package/dist/esm/salla-metadata.entry.js +1 -1
  282. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  283. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  284. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  285. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  286. package/dist/esm/salla-notification-item.entry.js +2 -2
  287. package/dist/esm/salla-notifications.entry.js +1 -1
  288. package/dist/esm/salla-offer-modal.entry.js +2 -2
  289. package/dist/esm/salla-offer.entry.js +1 -1
  290. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  291. package/dist/esm/salla-order-details-options.entry.js +1 -1
  292. package/dist/esm/salla-order-details.entry.js +2 -2
  293. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  294. package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
  295. package/dist/esm/salla-order-edit.entry.js +1 -1
  296. package/dist/esm/salla-order-summary.entry.js +2 -2
  297. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  298. package/dist/esm/salla-orders.entry.js +1 -1
  299. package/dist/esm/salla-payments.entry.js +3 -3
  300. package/dist/esm/salla-placeholder.entry.js +2 -2
  301. package/dist/esm/salla-price-range.entry.js +3 -3
  302. package/dist/esm/salla-product-card_2.entry.js +6 -6
  303. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  304. package/dist/esm/salla-products-list.entry.js +34 -3
  305. package/dist/esm/salla-progress-bar.entry.js +1 -1
  306. package/dist/esm/salla-quick-order.entry.js +1 -1
  307. package/dist/esm/salla-rating-modal.entry.js +1 -1
  308. package/dist/esm/salla-reward-action_4.entry.js +11 -11
  309. package/dist/esm/salla-scopes.entry.js +2 -2
  310. package/dist/esm/salla-search.entry.js +6 -6
  311. package/dist/esm/salla-skeleton.entry.js +2 -2
  312. package/dist/esm/salla-slider.entry.js +1 -1
  313. package/dist/esm/salla-social-share.entry.js +2 -2
  314. package/dist/esm/salla-social.entry.js +2 -2
  315. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  316. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  317. package/dist/esm/salla-tooltip.entry.js +3 -3
  318. package/dist/esm/salla-trust-badges.entry.js +1 -1
  319. package/dist/esm/salla-user-menu.entry.js +1 -1
  320. package/dist/esm/salla-user-profile.entry.js +1 -1
  321. package/dist/esm/salla-user-settings.entry.js +2 -2
  322. package/dist/esm/salla-verify.entry.js +1 -1
  323. package/dist/esm/salla-wallet.entry.js +1 -1
  324. package/dist/esm/{tracked-promise-p08m2zyv.js → tracked-promise-Cuxl89VM.js} +1 -1
  325. package/dist/esm/twilight.js +3 -3
  326. package/dist/esm/{vanilla-picker-kSO_chM-.js → vanilla-picker--tIjHzZT.js} +1 -1
  327. package/dist/twilight/p-00142abc.entry.js +4 -0
  328. package/dist/twilight/{p-424110b5.entry.js → p-05a6fc4e.entry.js} +1 -1
  329. package/dist/twilight/p-0a1966cf.entry.js +4 -0
  330. package/dist/twilight/p-0bf5b2a3.entry.js +4 -0
  331. package/dist/twilight/{p-d82818ee.entry.js → p-0f19a6eb.entry.js} +1 -1
  332. package/dist/twilight/{p-2160352a.entry.js → p-0f712ca6.entry.js} +1 -1
  333. package/dist/twilight/{p-1c03ceaa.entry.js → p-139d18e4.entry.js} +1 -1
  334. package/dist/twilight/{p-348ce789.entry.js → p-18dbc68c.entry.js} +1 -1
  335. package/dist/twilight/{p-a1766fe4.entry.js → p-1ced495f.entry.js} +1 -1
  336. package/dist/twilight/p-22dd6342.entry.js +4 -0
  337. package/dist/twilight/{p-bcdf2adf.entry.js → p-25c7c765.entry.js} +1 -1
  338. package/dist/twilight/{p-fd792b46.entry.js → p-25d4c3e7.entry.js} +1 -1
  339. package/dist/twilight/{p-102747d8.entry.js → p-28701b83.entry.js} +1 -1
  340. package/dist/twilight/p-29b528fe.entry.js +4 -0
  341. package/dist/twilight/{p-7e288aab.entry.js → p-2caab1dd.entry.js} +1 -1
  342. package/dist/twilight/p-2e11b913.entry.js +4 -0
  343. package/dist/twilight/{p-09b8f823.entry.js → p-30ca11a7.entry.js} +1 -1
  344. package/dist/twilight/{p-e0c8d60c.entry.js → p-386d36ff.entry.js} +1 -1
  345. package/dist/twilight/{p-88032655.entry.js → p-3c2c9e2b.entry.js} +1 -1
  346. package/dist/twilight/{p-e206ecc7.entry.js → p-42868687.entry.js} +1 -1
  347. package/dist/twilight/{p-26b9358b.entry.js → p-434232b8.entry.js} +1 -1
  348. package/dist/twilight/{p-74998089.entry.js → p-46c69187.entry.js} +1 -1
  349. package/dist/twilight/{p-4ec18be2.entry.js → p-477d3cde.entry.js} +1 -1
  350. package/dist/twilight/{p-c936ef8d.entry.js → p-484c2f42.entry.js} +1 -1
  351. package/dist/twilight/{p-e47f98ab.entry.js → p-5309c2b6.entry.js} +1 -1
  352. package/dist/twilight/{p-3c631cc0.entry.js → p-55801b41.entry.js} +1 -1
  353. package/dist/twilight/{p-f6c2599b.entry.js → p-579e1d3f.entry.js} +1 -1
  354. package/dist/twilight/{p-2431c606.entry.js → p-58a182ef.entry.js} +1 -1
  355. package/dist/twilight/{p-d3b4dfd4.entry.js → p-5b0ccf4b.entry.js} +1 -1
  356. package/dist/twilight/{p-41119cdb.entry.js → p-5dc05ab0.entry.js} +1 -1
  357. package/dist/twilight/{p-402b5980.entry.js → p-602eb37d.entry.js} +1 -1
  358. package/dist/twilight/{p-10ad1b83.entry.js → p-63b2e9e4.entry.js} +1 -1
  359. package/dist/twilight/{p-666df999.entry.js → p-64364d27.entry.js} +1 -1
  360. package/dist/twilight/{p-8c7058b1.entry.js → p-646309b3.entry.js} +1 -1
  361. package/dist/twilight/{p-8ef02612.entry.js → p-6a6cc844.entry.js} +1 -1
  362. package/dist/twilight/{p-d118fae4.entry.js → p-6c4b0954.entry.js} +1 -1
  363. package/dist/twilight/p-6db2ed2d.entry.js +4 -0
  364. package/dist/twilight/{p-fbda5922.entry.js → p-6fe6361d.entry.js} +1 -1
  365. package/dist/twilight/{p-d4094247.entry.js → p-7060ae7d.entry.js} +1 -1
  366. package/dist/twilight/p-75cd1309.entry.js +4 -0
  367. package/dist/twilight/{p-abe7a229.entry.js → p-76147eb1.entry.js} +1 -1
  368. package/dist/twilight/{p-cf73d667.entry.js → p-77d6879d.entry.js} +1 -1
  369. package/dist/twilight/{p-835fa9b4.entry.js → p-781b8258.entry.js} +1 -1
  370. package/dist/twilight/{p-7095939b.entry.js → p-7906db6c.entry.js} +1 -1
  371. package/dist/twilight/{p-bd45359c.entry.js → p-793b143f.entry.js} +1 -1
  372. package/dist/twilight/{p-97b0e5fe.entry.js → p-7a067b88.entry.js} +1 -1
  373. package/dist/twilight/{p-d2551363.entry.js → p-7e74750a.entry.js} +1 -1
  374. package/dist/twilight/{p-809250a3.entry.js → p-83407903.entry.js} +1 -1
  375. package/dist/twilight/{p-4cc4260a.entry.js → p-87fc46f3.entry.js} +1 -1
  376. package/dist/twilight/{p-8eb27675.entry.js → p-8b19a6cd.entry.js} +1 -1
  377. package/dist/twilight/{p-b5281c36.entry.js → p-9029fe2f.entry.js} +1 -1
  378. package/dist/twilight/p-9561c440.entry.js +4 -0
  379. package/dist/twilight/{p-4d15bde7.entry.js → p-98409d9d.entry.js} +1 -1
  380. package/dist/twilight/{p-29bb512b.entry.js → p-999d8514.entry.js} +1 -1
  381. package/dist/twilight/{p-eb9fd475.entry.js → p-99cde2bd.entry.js} +1 -1
  382. package/dist/twilight/p-9b4b6171.entry.js +4 -0
  383. package/dist/twilight/{p-094dc909.entry.js → p-9baa8e69.entry.js} +1 -1
  384. package/dist/twilight/{p-D9Fh8EvL.js → p-AO-xClM5.js} +1 -1
  385. package/dist/twilight/{p-CUMuR5KH.js → p-BbPW5sNk.js} +1 -1
  386. package/dist/twilight/p-BxVFPdKb.js +9 -0
  387. package/dist/twilight/{p-lDyZ4jxE.js → p-C0kfWMMc.js} +1 -1
  388. package/dist/twilight/{p-B7njTcyQ.js → p-C7BsTxLN.js} +1 -1
  389. package/dist/twilight/{p-CWSAc4x3.js → p-CZ4us-OW.js} +1 -1
  390. package/dist/twilight/{p-uGRgz5pT.js → p-DTVc8PSy.js} +1 -1
  391. package/dist/twilight/{p-C9apxUCF.js → p-DkFvXnTU.js} +1 -1
  392. package/dist/twilight/{p-CZzwVBvr.js → p-YBYQ1IRq.js} +1 -1
  393. package/dist/twilight/{p-3d031db4.entry.js → p-ab717a96.entry.js} +1 -1
  394. package/dist/twilight/{p-ed7410d9.entry.js → p-ad4003fd.entry.js} +1 -1
  395. package/dist/twilight/{p-f0e36346.entry.js → p-ade89f79.entry.js} +1 -1
  396. package/dist/twilight/{p-bd1539f4.entry.js → p-ae107cb6.entry.js} +1 -1
  397. package/dist/twilight/p-akcJQPrL.js +9 -0
  398. package/dist/twilight/{p-4dfa5176.entry.js → p-b4b03890.entry.js} +1 -1
  399. package/dist/twilight/p-b5658790.entry.js +4 -0
  400. package/dist/twilight/{p-7ee53da2.entry.js → p-b9793df6.entry.js} +1 -1
  401. package/dist/twilight/{p-80b61a76.entry.js → p-ba06196b.entry.js} +1 -1
  402. package/dist/twilight/{p-888b361e.entry.js → p-c8a460c0.entry.js} +1 -1
  403. package/dist/twilight/p-c9dc08e9.entry.js +4 -0
  404. package/dist/twilight/{p-e825da6f.entry.js → p-cbbbf280.entry.js} +1 -1
  405. package/dist/twilight/{p-c3416bea.entry.js → p-cc9e266a.entry.js} +1 -1
  406. package/dist/twilight/{p-5e353422.entry.js → p-ce844f61.entry.js} +1 -1
  407. package/dist/twilight/p-d1b2c259.entry.js +4 -0
  408. package/dist/twilight/p-d2edf700.entry.js +4 -0
  409. package/dist/twilight/{p-bd24ad46.entry.js → p-d5ae1bd3.entry.js} +1 -1
  410. package/dist/twilight/{p-a0374cc5.entry.js → p-d72d82c2.entry.js} +1 -1
  411. package/dist/twilight/{p-d44de146.entry.js → p-da6e4d60.entry.js} +1 -1
  412. package/dist/twilight/p-deaa32fd.entry.js +4 -0
  413. package/dist/twilight/{p-7ca7130b.entry.js → p-e0fa2bc5.entry.js} +1 -1
  414. package/dist/twilight/{p-23f9bac7.entry.js → p-e3b11077.entry.js} +1 -1
  415. package/dist/twilight/{p-32387b75.entry.js → p-e5535ac3.entry.js} +1 -1
  416. package/dist/twilight/{p-a5b9b1db.entry.js → p-e9799703.entry.js} +1 -1
  417. package/dist/twilight/{p-4ecb3a12.entry.js → p-ea4cf5c5.entry.js} +1 -1
  418. package/dist/twilight/{p-d58be43c.entry.js → p-f3597f21.entry.js} +1 -1
  419. package/dist/twilight/{p-af191f0c.entry.js → p-f424854a.entry.js} +1 -1
  420. package/dist/twilight/{p-b3a426a1.entry.js → p-f5f8ab50.entry.js} +1 -1
  421. package/dist/twilight/{p-a037b850.entry.js → p-fc2d0c94.entry.js} +1 -1
  422. package/dist/twilight/{p-Bbi316x0.js → p-jvvBvp8R.js} +1 -1
  423. package/dist/twilight/{p-Dnvn8dmm.js → p-lMbG1CIQ.js} +2 -2
  424. package/dist/twilight/twilight.esm.js +1 -1
  425. package/dist/types/components/salla-cashback-banner/salla-cashback-banner.d.ts +20 -0
  426. package/dist/types/components/salla-comments/interfaces.d.ts +1 -0
  427. package/dist/types/components/salla-comments/salla-comment-item.d.ts +3 -0
  428. package/dist/types/components/salla-loyalty-points-banner/salla-loyalty-points-banner.d.ts +12 -0
  429. package/dist/types/components.d.ts +26 -0
  430. package/package.json +5 -5
  431. package/dist/twilight/p-1dd5a941.entry.js +0 -4
  432. package/dist/twilight/p-20824b36.entry.js +0 -4
  433. package/dist/twilight/p-22b1ab5e.entry.js +0 -4
  434. package/dist/twilight/p-2a88b328.entry.js +0 -4
  435. package/dist/twilight/p-2d47d5fd.entry.js +0 -4
  436. package/dist/twilight/p-5158bd60.entry.js +0 -4
  437. package/dist/twilight/p-56a5491f.entry.js +0 -4
  438. package/dist/twilight/p-640a439c.entry.js +0 -4
  439. package/dist/twilight/p-653349e0.entry.js +0 -4
  440. package/dist/twilight/p-6788c2fb.entry.js +0 -4
  441. package/dist/twilight/p-B798epj8.js +0 -9
  442. package/dist/twilight/p-BpqRyGw0.js +0 -9
  443. package/dist/twilight/p-d064a0b8.entry.js +0 -4
  444. package/dist/twilight/p-e20c4393.entry.js +0 -4
  445. package/dist/twilight/p-f80b718e.entry.js +0 -4
@@ -1141,7 +1141,7 @@ const SallaQuickBuy = /*@__PURE__*/ proxyCustomElement(class SallaQuickBuy exten
1141
1141
  });
1142
1142
  }
1143
1143
  render() {
1144
- return h(Host, { key: '5760621653a41e04a42beb51d982c41259250631' }, this.quickBuyButton());
1144
+ return h(Host, { key: 'c748ae20633d0002e23a3c7295d3235b3f543245' }, this.quickBuyButton());
1145
1145
  }
1146
1146
  quickBuyButton() {
1147
1147
  return h("apple-pay-button", { locale: salla?.config?.get?.('user.language_code') || 'ar', onClick: () => this.quickBuyHandler(), "data-quick-purchase": "applepay", class: "s-quick-buy-apple-pay", "data-is-applepay": "1", buttonstyle: "black", type: this.type });
@@ -172,7 +172,7 @@ const SallaReviewCard = /*@__PURE__*/ proxyCustomElement(class SallaReviewCard e
172
172
  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)));
173
173
  }
174
174
  render() {
175
- 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()));
175
+ 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()));
176
176
  }
177
177
  get el() { return this; }
178
178
  static get style() { return sallaReviewCardCss; }
@@ -685,7 +685,7 @@ const SallaReviewsPage$1 = /*@__PURE__*/ proxyCustomElement(class SallaReviewsPa
685
685
  return options.map(option => (h("option", { key: option.value, value: option.value, selected: option.value === this.sort }, option.label)));
686
686
  }
687
687
  render() {
688
- 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 => {
688
+ 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 => {
689
689
  this.wrapper = el;
690
690
  } }, this.reviews.map(review => (h("salla-review-card", { key: review.id, review: review }))))
691
691
  : 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));
@@ -98,7 +98,7 @@ const SallaReviews$1 = /*@__PURE__*/ proxyCustomElement(class SallaReviews exten
98
98
  });
99
99
  }
100
100
  render() {
101
- 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: IconArrowLeft }))) : 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 }))))))))));
101
+ 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: IconArrowLeft }))) : 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 }))))))))));
102
102
  }
103
103
  static get style() { return sallaReviewsCss; }
104
104
  }, [0, "salla-reviews", {
@@ -26,7 +26,7 @@ const SallaRewardAction = /*@__PURE__*/ proxyCustomElement(class SallaRewardActi
26
26
  };
27
27
  }
28
28
  render() {
29
- return (h("div", { key: 'bdbd4616b4235f6203f6ce845915231252e410b9', class: "s-loyalty-program-rewards-modal-action" }, this.isShopNow(this.prize) ? (h("a", { href: this.prize.prize_url || salla.url.get(''), class: {
29
+ return (h("div", { key: '95d6e753d49c7cb69e6f5e25ef6ccf3f916f4022', class: "s-loyalty-program-rewards-modal-action" }, this.isShopNow(this.prize) ? (h("a", { href: this.prize.prize_url || salla.url.get(''), class: {
30
30
  's-loyalty-program-rewards-action-base': true,
31
31
  's-loyalty-program-rewards-action-on': true,
32
32
  } }, salla.lang.get('pages.loyalty_program.shop_now'))) : (h("button", { onClick: this.handleClick, class: {
@@ -15,7 +15,7 @@ const SallaRewardCard = /*@__PURE__*/ proxyCustomElement(class SallaRewardCard e
15
15
  this.actionClick = createEvent(this, "actionClick", 7);
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: 'a13d4ce7130e149a7d53cd658a7cf1eb1d8dd100', class: "s-loyalty-program-reward-host" }, h("div", { key: '8b61a8ad95502574abebba338bef0cc8baefd170', class: "s-loyalty-program-reward-container" }, h("div", { key: '252c5f7ed0299788bdad07923f7100c3fddd4797', onClick: (e) => this.areaClick.emit(e), role: "button" }, h("div", { key: '76710607d71278f728a99c5623538e65edfafda0', class: "s-loyalty-program-reward-img" }, h("img", { key: '9499a0191dd6bd19ccab82b61423bdeebbcc089b', alt: "", src: this.prize.image || salla.url.cdn('images/s-empty.png'), class: "s-loyalty-program-rewards-img" })), h("div", { key: '8f38202736f0e06e2b27051d8c6c5e337af14f6a', class: "s-loyalty-program-reward-content" }, h("div", { key: '5ecf0944b52a0a311a6259ae41720bea2f4f2509', class: "s-loyalty-program-reward-points" }, h("salla-badge", { key: '76d56c20ab53aff3b0fc3ccaf11b704fa1651f94', size: "xs" }, h("span", { key: '269cf77f62cae141e8e4dd3eff0c48c82269b631', innerHTML: loyaltyProgramIcon }), h("span", { key: '0e9e4f185037da81ef485d60660155c4f8f68fb5', class: "s-loyalty-program-rewards-points" }, this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.points')))), h("div", { key: '56835d3390b78a67976dfd38d0135a0700098af3', class: "s-loyalty-program-reward-title" }, h("span", { key: '215b4885f41fa774a8ced374f8b0af0ba64adf72' }, this.prize.group_title)), h("div", { key: '80b36794dbe4fbb7830a0d9e92b67800f082d464', class: "s-loyalty-program-reward-name" }, h("div", { key: 'e2601da4127fb76af29c2006f2353f79c84c079e', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name, this.prize.description ? `: ${this.prize.description}` : '')))), h("div", { key: '867ee3b26ff542577746f9df91c057eb3d017cda', class: "p-4" }, h("slot", { key: 'bfc94e408a5034c3ab635b9da119b6c3bc59ee30', name: "action" }, h("button", { key: '532a5f1bf553b718aef2cedb52a020e5304c315e', onClick: (e) => this.actionClick.emit(e.detail), class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-on" }, salla.lang.get('pages.loyalty_program.show_reward')))))));
18
+ return (h(Host, { key: '900a20618e1b3ce82778aa99715baf61689f3eee', class: "s-loyalty-program-reward-host" }, h("div", { key: '95b326008c2799ee7d38b48bc57e0860a9386184', class: "s-loyalty-program-reward-container" }, h("div", { key: 'd846dc36fa4494ed9ac6152a982f18598936969f', onClick: (e) => this.areaClick.emit(e), role: "button" }, h("div", { key: 'b8d23796827e4b07f6c271c50fa0e4aeb59f82fc', class: "s-loyalty-program-reward-img" }, h("img", { key: '04a52401941d8a731e8d310397b1ad735bfe44db', alt: "", src: this.prize.image || salla.url.cdn('images/s-empty.png'), class: "s-loyalty-program-rewards-img" })), h("div", { key: '64fa967c98d615d7b16859c9d14b60e0c53fc5aa', class: "s-loyalty-program-reward-content" }, h("div", { key: 'bb8c34ce8f3bcec9599c87b56bea6abd793187df', class: "s-loyalty-program-reward-points" }, h("salla-badge", { key: 'f7d0a396cf754d1e8f9e8fddee53a7d545311148', size: "xs" }, h("span", { key: '36f4e1ed873f1a231e2d5e51a2a8cc36bdcedfee', innerHTML: loyaltyProgramIcon }), h("span", { key: '638b3ecefbfcb424869987ab33478e67d9b5d9b8', class: "s-loyalty-program-rewards-points" }, this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.points')))), h("div", { key: '6f8386fccf201836d76a86e7fe5e6d3461bb5540', class: "s-loyalty-program-reward-title" }, h("span", { key: '6d6692c44d6bac35da40108514471a3c56884d81' }, this.prize.group_title)), h("div", { key: '6ad9ad90728ac7f882ff8db9cfadb5a6e12f3e25', class: "s-loyalty-program-reward-name" }, h("div", { key: 'ef4344c7cb67785a4cd66d36e303e40a610a5375', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name, this.prize.description ? `: ${this.prize.description}` : '')))), h("div", { key: '5eee5a4f8b10cd790ce41e4a99d94f86bd26dd3b', class: "p-4" }, h("slot", { key: '359d50033cdd3cce41901401bf0b75ba9c5aea1f', name: "action" }, h("button", { key: 'ea7aa1c5cd50937a27cef7580e508a1e3f8f852d', onClick: (e) => this.actionClick.emit(e.detail), class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-on" }, salla.lang.get('pages.loyalty_program.show_reward')))))));
19
19
  }
20
20
  static get style() { return sallaLoyaltyProgramCss; }
21
21
  }, [4, "salla-reward-card", {
@@ -136,11 +136,11 @@ const SallaRewardDetails = /*@__PURE__*/ proxyCustomElement(class SallaRewardDet
136
136
  }
137
137
  render() {
138
138
  const termsAndConditions = this.getTermsAndConditions();
139
- return (h("div", { key: '0b8a972497119c50d39d901377840ae94bea4803', class: "s-loyalty-program-reward-modal" }, h("div", { key: '7734b32566c4a61c8c7558504a82a4690b64e152', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: '6d50ac091561a56020f716fe29e3f2cb91595003', class: "s-loyalty-program-points-modal-info" }, !salla.url.is_page('cart') ? ''
139
+ return (h("div", { key: '280d646eff094c16596ca31ee57f4bd104958f8c', class: "s-loyalty-program-reward-modal" }, h("div", { key: 'a39d376f170684f754c4357dc64d02b5ffbb1ed2', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: '654e061c8852461a5248248ed2d95ef02a8a4711', class: "s-loyalty-program-points-modal-info" }, !salla.url.is_page('cart') ? ''
140
140
  : h("button", { class: "s-loyalty-program-back-btn", onClick: () => closeModals(() => salla.event.dispatch('modal::open', 'loyalty-rewards-modal')) }, h("span", { class: {
141
141
  'sicon-arrow-right': document.documentElement.getAttribute('dir') === 'rtl',
142
142
  'sicon-arrow-left': document.documentElement.getAttribute('dir') === 'ltr',
143
- } })), this.prize.name)), h("div", { key: '31ab58d67b858ee8533d17b66d7a81b89084252b', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: '5570bab1fb84e9acb57a68de3f9a11f80cd8d837', class: "s-loyalty-program-reward-details-header" }, h("div", { key: '44b90e963212d73d6cf86130a42592bdbfb6f13c', class: "s-loyalty-program-aspect-container" }, h("img", { key: 'b5f59c28e3a1ec054bbe0faa2a0631ff64ac680b', src: this.prize.image, alt: this.prize.name })), h("salla-badge", { key: 'de5842c1b82b8fafbc50d1dd60a1214df2fa2d58', size: "sm", bg: "light" }, h("span", { key: '9b0e87b211f03156999cdfd13dd7ee2d73d94b8e', innerHTML: loyaltyProgramIcon }), h("span", { key: 'cf97b450eb9e4ab52640f6054f4e3cba4f328c49', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.prize.cost_points)))), !termsAndConditions.length ? '' : h("div", { class: "s-loyalty-program-terms-and-conditions" }, h("h1", { class: "s-loyalty-program-terms-and-conditions-heading" }, salla.lang.get('pages.loyalty_program.terms_and_conditions')), h("ul", { class: "s-loyalty-program-terms-and-conditions-list" }, termsAndConditions.map(([title, points]) => (h("li", { class: "s-loyalty-program-terms-and-conditions-item" }, h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, title), h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, points)))))), h("div", { key: 'cdbdfcd8b8e8376fdd295560e28b5140266a183e', class: "s-loyalty-program-reward-info-message" }, h("h1", { key: '11db7e2fa04d23661a4ac3adcefffeb8cf934787', class: "s-loyalty-program-reward-info-message-heading" }, salla.lang.get('pages.loyalty_program.how_to_benefit_from_this_reward')), h("p", { key: '075847d05133e9beb15bd432ccefa1f18105933f', class: "s-loyalty-program-reward-info-message-content" }, this.getItemsMarkersText())), (this.prize.key === 'FREE_SHIPPING' || this.getItemsMarkers('both') === '000000') ? '' : h("div", { class: "s-loyalty-program-reward-details" }, h("salla-tabs", { key: this.refreshKey }, this.getItemsMarkers('included') === '000' ? '' : [
143
+ } })), this.prize.name)), h("div", { key: '8dce07ce81b0d6879efc0cba88523b6d3daf42bb', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: 'f288d7483911af0bbc17a824ee4397ad0b3ef367', class: "s-loyalty-program-reward-details-header" }, h("div", { key: '87686174a3a8c17558d0a97180cb4756a1edbefe', class: "s-loyalty-program-aspect-container" }, h("img", { key: '31461e1503c50715f160e75cf7ffad59939fb93c', src: this.prize.image, alt: this.prize.name })), h("salla-badge", { key: 'ed1fc08260885fa865279a9d2fc6af35c01e2bdc', size: "sm", bg: "light" }, h("span", { key: '26eec953f9c5f3fa5aa118828faec50a4477e013', innerHTML: loyaltyProgramIcon }), h("span", { key: 'db3bf908be0f28534e121da9e692d801d2ee6cf9', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.prize.cost_points)))), !termsAndConditions.length ? '' : h("div", { class: "s-loyalty-program-terms-and-conditions" }, h("h1", { class: "s-loyalty-program-terms-and-conditions-heading" }, salla.lang.get('pages.loyalty_program.terms_and_conditions')), h("ul", { class: "s-loyalty-program-terms-and-conditions-list" }, termsAndConditions.map(([title, points]) => (h("li", { class: "s-loyalty-program-terms-and-conditions-item" }, h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, title), h("span", { class: "s-loyalty-program-terms-and-conditions-content" }, points)))))), h("div", { key: 'bfdc4d22117ae86f3bb2140546b4b5a8ecd35f8e', class: "s-loyalty-program-reward-info-message" }, h("h1", { key: 'f03b30c0372fd83e4fa7815bbd76d307c6fbe3c1', class: "s-loyalty-program-reward-info-message-heading" }, salla.lang.get('pages.loyalty_program.how_to_benefit_from_this_reward')), h("p", { key: '245acd0b8438230ff5d503e5819abb581f0ba14a', class: "s-loyalty-program-reward-info-message-content" }, this.getItemsMarkersText())), (this.prize.key === 'FREE_SHIPPING' || this.getItemsMarkers('both') === '000000') ? '' : h("div", { class: "s-loyalty-program-reward-details" }, h("salla-tabs", { key: this.refreshKey }, this.getItemsMarkers('included') === '000' ? '' : [
144
144
  h("salla-tab-header", { slot: "header", name: "included", style: {
145
145
  display: this.getItemsMarkers('excluded') === '000' ? 'none' : 'block',
146
146
  } }, h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: IconVerified }), h("span", null, salla.lang.get(`pages.loyalty_program.included`))),
@@ -150,7 +150,7 @@ const SallaRewardDetails = /*@__PURE__*/ proxyCustomElement(class SallaRewardDet
150
150
  display: this.getItemsMarkers('included') === '000' ? 'none' : 'block',
151
151
  } }, h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: Cancel }), h("span", null, salla.lang.get(`pages.loyalty_program.excluded`))),
152
152
  h("salla-tab-content", { slot: "content", name: "excluded" }, h("div", { class: "s-loyalty-program-reward-details-items-wrapper" }, this.getCategoriesJsx(this.getIncludedItems(this.prize.excludedCategories, this.prize.excluded_category_ids), salla.lang.get('pages.loyalty_program.excluded_categories')), this.getBrandsJsx(this.getIncludedItems(this.prize.excludedBrands, this.prize.excluded_brand_ids), salla.lang.get('pages.loyalty_program.excluded_brands')), this.getProductsJsx(this.getProductIds(this.prize.excluded_product_ids), salla.lang.get('pages.loyalty_program.excluded_products')))),
153
- ]))), h("salla-reward-action", { key: '0cd81b0a505e43b9f08ee33ea06619ca393db43b', onActionClick: e => this.actionClick.emit(e.detail), prize: this.prize })));
153
+ ]))), h("salla-reward-action", { key: 'e129546afde7da7fe66e250ce4de67d4523727be', onActionClick: e => this.actionClick.emit(e.detail), prize: this.prize })));
154
154
  }
155
155
  static get watchers() { return {
156
156
  "prize": ["handlePrizeChange"]
@@ -44,11 +44,11 @@ const SallaRewardExchange = /*@__PURE__*/ proxyCustomElement(class SallaRewardEx
44
44
  this.reset(0);
45
45
  }
46
46
  render() {
47
- return (h(Host, { key: '38d826b427ea2494a2b322f2e647760c06172f1f' }, h("div", { key: '4f3a226245690a950e45c8fb1916c8a869836527', class: "s-loyalty-program-exchange-heading" }, h("div", { key: 'cd9e833d40eb9b334ca0ac2a6934fbbc162bd709', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: '25b5f20c6ac89dd61993262f33ddb3b2d9fbca60', innerHTML: loyaltyProgramIcon })), h("h2", { key: 'b038247cabf701df1d8626f55a384008d95146ce' }, salla.lang.get('pages.loyalty_program.redeem_reward')), h("p", { key: '513239deb27d0b08c44f00d2678f612c5c663608' }, salla.lang.get('pages.loyalty_program.redeem_confirmation'), " ", h("span", { key: 'caf89bbeca9ebdff5bf78938b4d926d8e9c5282f' }, "(", this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.point'), ")"), " ", salla.lang.get('pages.loyalty_program.for'), " ", h("span", { key: 'a221c1b33887673ad152e3a9f0562834ba476bf3' }, "(", this.prize.name, ")"))), h("div", { key: '5cd17f13e0f7323b259d28bb015361faca7e68b7', class: "s-loyalty-program-exchange-btns" }, h("button", { key: '706be94bbe88f53834bc559f32a5309793b20009', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-confirm", onClick: () => this.handleConfirm() }, h("span", { key: '689e1b4a1b14f03265bdcc5ecb9206c3a91e1be7', style: {
47
+ return (h(Host, { key: '9f9e5833308a37e4fdf6b6032e42b094544a66ee' }, h("div", { key: 'a85b810c09dc44de7ed8d6889ae00c488f49bf2e', class: "s-loyalty-program-exchange-heading" }, h("div", { key: '50fc0bca341e0650a8fe0fdeb5d93353ea331643', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: '978449d432fe380771a43dc9f99c69065889af43', innerHTML: loyaltyProgramIcon })), h("h2", { key: 'bc271df18a64c7931cc4741f1202485f4ac158f9' }, salla.lang.get('pages.loyalty_program.redeem_reward')), h("p", { key: '1d6fe9a9bbedd1701a7a792e0d3641d0fe549434' }, salla.lang.get('pages.loyalty_program.redeem_confirmation'), " ", h("span", { key: 'a9b451ca79b31bb6446d65ce74162636ab18d9a0' }, "(", this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.point'), ")"), " ", salla.lang.get('pages.loyalty_program.for'), " ", h("span", { key: '0ce60c117ab20043bd813f4a71f152a5e680fea5' }, "(", this.prize.name, ")"))), h("div", { key: '903aed1d96b6fb7ca76eebde9fdca90cbeae7d40', class: "s-loyalty-program-exchange-btns" }, h("button", { key: 'ce35e626628d93b949d29d5500bff5c69b9ef917', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-confirm", onClick: () => this.handleConfirm() }, h("span", { key: 'cd65c0ffc2ded6b3be8762c6a978be62247d751c', style: {
48
48
  opacity: this.exchange.status !== 'pending' ? '1' : '0',
49
- } }, salla.lang.get('common.elements.confirm')), h("span", { key: '28305ea46c0eaf1b751854c38e040ab712004400', class: "s-loyalty-program-exchange-loading", style: {
49
+ } }, salla.lang.get('common.elements.confirm')), h("span", { key: '7cf2af5515142b582b80ec4ad692f7d6e3475142', class: "s-loyalty-program-exchange-loading", style: {
50
50
  opacity: this.exchange.status === 'pending' ? '1' : '0',
51
- } }, h("salla-loading", { key: 'e64b1aff037bee089b29a2e36f1aa42706b0e1a3', color: "primary", size: 24 }))), h("button", { key: 'a62735e39160b8d09333aeb661ebe41d9184b04b', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-cancel", onClick: () => this.handleCancel() }, salla.lang.get('common.elements.cancel')))));
51
+ } }, h("salla-loading", { key: 'd75aaa299b326ab9b15f9e77c122d3fca090273a', color: "primary", size: 24 }))), h("button", { key: 'beadc051a5a75d34ea7a906c0ce97124bfa02596', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-cancel", onClick: () => this.handleCancel() }, salla.lang.get('common.elements.cancel')))));
52
52
  }
53
53
  static get style() { return sallaLoyaltyProgramCss; }
54
54
  }, [0, "salla-reward-exchange", {
@@ -165,7 +165,7 @@ const SallaScopees = /*@__PURE__*/ proxyCustomElement(class SallaScopees extends
165
165
  return salla.onReady();
166
166
  }
167
167
  render() {
168
- return (h(Host, { key: 'e56e919be3c3327068feb47172dd27fcb6d1f358' }, h("salla-modal", { key: 'b9214e22cfef954d0b3e848c7df637c7e4ef1941', ref: modal => this.modal = modal, isClosable: !!(this.isOpenedBefore || (this.selection == 'optional')), class: "s-scopes-modal", isLoading: this.loading, "has-skeleton": true }, this.loading ?
168
+ return (h(Host, { key: '3b477eba55e3d9b8067b5b2e889a66a038cdfeaa' }, h("salla-modal", { key: '82aefd868b472b3f2265140845ab40eb8a2afa72', ref: modal => this.modal = modal, isClosable: !!(this.isOpenedBefore || (this.selection == 'optional')), class: "s-scopes-modal", isLoading: this.loading, "has-skeleton": true }, this.loading ?
169
169
  h("div", { slot: "loading" }, h("div", { class: "s-scopes-skeleton" }, h("salla-list-tile", { class: "s-scopes-header" }, h("div", { slot: "icon", class: "s-scopes-header-icon" }, h("salla-skeleton", { type: "circle" })), h("div", { slot: "title", class: "s-scopes-header-title mb-5" }, h("salla-skeleton", { height: '15px', width: '50%' })), h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, h("salla-skeleton", { height: '10px' }), h("salla-skeleton", { height: '10px', width: '75%' }))), h("div", { class: "s-scopes-skeleton-search" }, h("salla-skeleton", { height: '10px', width: '50%' }), h("salla-skeleton", { height: '30px', width: '100%' })), h("div", { class: "s-scopes-skeleton-scopes" }, h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' }), h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' }), h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' }), h("salla-skeleton", { height: '10px', width: '30%' }), h("salla-skeleton", { height: '10px', width: '25%' })), h("div", { class: "s-scopes-skeleton-btn" }, h("salla-skeleton", { height: '40px', width: '100%' }))))
170
170
  :
171
171
  [h("salla-list-tile", { class: this.originalScopesList?.length ? "s-scopes-header block" : "s-hidden" }, h("div", { slot: "icon", class: "s-scopes-header-icon", innerHTML: StoreAlt }), h("div", { slot: "title", class: "s-scopes-header-title" }, salla.lang.get('blocks.scope.you_are_browse_store_from')), h("div", { slot: "subtitle", class: "s-scopes-header-subtitle" }, !!this.selected_scope ? this.selected_scope.name : "")), h("div", { class: "s-scopes-wrap" }, !!this.originalScopesList?.length && h("h4", { class: "s-scopes-title" }, this.getFormTitle()), this.originalScopesList?.length > this.searchDisplayLimit ?
@@ -132,10 +132,10 @@ const SallaSearch$1 = /*@__PURE__*/ proxyCustomElement(class SallaSearch extends
132
132
  this.inputValue.length < 3 ? this.container.classList.remove('s-search-no-results') : '';
133
133
  }
134
134
  render() {
135
- const searchContent = (h("div", { key: 'b06db6c683ddd6b7526f36f52b70bfbed233d794', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => (this.container = container) }, h("div", { key: '7b48dc54c8f9fe61917d53413218114795118624', class: "s-search-input-wrapper" }, h("span", { key: '36433d070ac04fdcb2a4b812214e4a9d3f835f8f', class: "s-search-icon-wrap" }, h("span", { key: 'ad1ecad04369bbba7bae65515b5b668e6a6c1ec1', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : Search })), h("input", { key: 'd62e3da473498659881c8537bbe23eea17dd08ed', type: "search", enterkeyhint: "search", autocomplete: "off", class: "s-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder'), onInput: (e) => this.limitWordsAndSearch(e), onKeyDown: e => this.handleKeyDown(e), ref: input => (this.searchInput = input), style: {
135
+ const searchContent = (h("div", { key: '9ed37ceb9eb7ef3468b69b0f9efaecdbc071f52a', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => (this.container = container) }, h("div", { key: 'bc83f0c8cc26d23c4b26b98438666c1053300ae9', class: "s-search-input-wrapper" }, h("span", { key: '5d5537a2cd6b4deadaf6451f0f301ee609ec07b6', class: "s-search-icon-wrap" }, h("span", { key: '36151c40fe3c6e48d028980c405592947d762bcc', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : Search })), h("input", { key: '3b488e2282d93b2df22309434753ce94f4ab9b8b', type: "search", enterkeyhint: "search", autocomplete: "off", class: "s-search-input", placeholder: salla.lang.get('blocks.header.search_placeholder'), onInput: (e) => this.limitWordsAndSearch(e), onKeyDown: e => this.handleKeyDown(e), ref: input => (this.searchInput = input), style: {
136
136
  height: this.height + 'px',
137
137
  borderRadius: this.oval ? this.height / 2 + 'px' : '',
138
- } }), this.showAction ? (h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && h("span", { innerHTML: Search }))) : null), h("div", { key: 'fde9c1f1569fce8e93df96581baa66b4c631f1f5', class: "s-search-results" }, this.results?.data.map(product => (h("a", { href: product.url + '?from=search-bar', class: {
138
+ } }), this.showAction ? (h("salla-button", { loading: this.loading, class: { 's-search-action': true, 's-search-action-oval': this.oval }, onClick: () => this.handleActionClick() }, !this.loading && h("span", { innerHTML: Search }))) : null), h("div", { key: 'e5310efe972f797f6b0be3cd283c531799852380', class: "s-search-results" }, this.results?.data.map(product => (h("a", { href: product.url + '?from=search-bar', class: {
139
139
  's-search-product': true,
140
140
  's-search-product-not-available': !product.is_available,
141
141
  }, innerHTML: this.productSlot
@@ -144,9 +144,9 @@ const SallaSearch$1 = /*@__PURE__*/ proxyCustomElement(class SallaSearch extends
144
144
  .replace(/\{regular_price\}/g, product.is_on_sale && product.regular_price
145
145
  ? salla.money(product.regular_price)
146
146
  : '')
147
- .replace(/\{image\}/g, product.image.url) }))), h("p", { key: 'd28734b50e0d0454989ed9eceaa6801989f137fa', ref: el => (this.noResults = el), class: "s-search-no-results-placeholder" }, salla.lang.get('common.elements.no_options')))));
148
- const modalContent = (h("salla-modal", { key: '750da3f95c88a25660ef8a6e8f0bce1ca925174e', position: "top", class: "s-search-modal", ref: modal => (this.modal = modal) }, searchContent));
149
- const placeholderContent = (h("div", { key: 'ed56148c59e717c6d5b303ebac07bf1a24d9e077', class: "s-search-placeholder-wrapper s-search-inline" }, h("div", { key: '26e23154580364496230e702169029256c867d9b', class: "s-search-input-wrapper" }, h("span", { key: 'a0f9b50db5c8f4f88e508cc8381ecb73861207df', class: "s-search-icon-wrap" }, h("span", { key: '1e8524ee131c600eebbcac51c58d36744daca12b', class: "s-search-icon", innerHTML: Search })), h("button", { key: '38457f0b067d7a77acfad6fb0d991e34c0eda6b5', type: "button", class: "s-search-input s-search-placeholder-trigger", onClick: () => this.open(), style: {
147
+ .replace(/\{image\}/g, product.image.url) }))), h("p", { key: 'b3ca75a3641d75a445e9b187dd7f91d0f3a053e1', ref: el => (this.noResults = el), class: "s-search-no-results-placeholder" }, salla.lang.get('common.elements.no_options')))));
148
+ const modalContent = (h("salla-modal", { key: '1bdb2348d3af824ba5b6d624f9613ed406145e5b', position: "top", class: "s-search-modal", ref: modal => (this.modal = modal) }, searchContent));
149
+ const placeholderContent = (h("div", { key: '90a4dd34c763e9390c8cc5caf09b0f8af67a671a', class: "s-search-placeholder-wrapper s-search-inline" }, h("div", { key: '2baf596e2163e42c6b1537b23297d791f76dd382', class: "s-search-input-wrapper" }, h("span", { key: '3048a62a758cb3b5a61a50f7c7e4af1fb6f013b1', class: "s-search-icon-wrap" }, h("span", { key: '3b0336f934d449c189e01c5c9072915781779280', class: "s-search-icon", innerHTML: Search })), h("button", { key: '991d1ff811b93c2700e6526efbc2948117e58669', type: "button", class: "s-search-input s-search-placeholder-trigger", onClick: () => this.open(), style: {
150
150
  height: this.height + 'px',
151
151
  borderRadius: this.oval ? this.height / 2 + 'px' : '',
152
152
  } }, salla.lang.get('blocks.header.search_placeholder'))), modalContent));
@@ -179,18 +179,18 @@ const SallaSearchableDropdown = /*@__PURE__*/ proxyCustomElement(class SallaSear
179
179
  render() {
180
180
  const hasSelection = this.selectedItem != null;
181
181
  const listboxId = `${this.inputId}-listbox`;
182
- return (h(Host, { key: '20ebf4b42f8bb595862cddb8e187a0e568a7f441', class: "s-searchable-dropdown" }, h("div", { key: '76e4f06d8e7f936d1140cb7c6e25b06297ad22f3', class: { 's-searchable-dropdown': true, 's-searchable-dropdown--open': this.isOpen } }, this.label && (h("label", { key: 'f6752361bc4c7cfa8f1a67bb34027d46e0bac1e0', class: "s-searchable-dropdown-label", htmlFor: this.inputId }, this.label, this.required && h("span", { key: 'bc255f1c31d409e8d1d7d632561158b451117e6b', class: "s-searchable-dropdown-required" }, " *"))), h("div", { key: 'e1694099e37ffb36394f1114f592ac9240442cfb', class: {
182
+ return (h(Host, { key: 'cdb96259f3951c9e2a068e1aa170e3dd1b60331c', class: "s-searchable-dropdown" }, h("div", { key: 'e4a4523e6fc13a00b06c949080a00c217aa07b4d', class: { 's-searchable-dropdown': true, 's-searchable-dropdown--open': this.isOpen } }, this.label && (h("label", { key: '9e8d9d1157e2236357512b74cc96622287764347', class: "s-searchable-dropdown-label", htmlFor: this.inputId }, this.label, this.required && h("span", { key: 'a5e66b934d13d113de8b5c033fc26d8982e52fba', class: "s-searchable-dropdown-required" }, " *"))), h("div", { key: '42ddef68f5177532a143b4569115fd5b7e006fa3', class: {
183
183
  's-searchable-dropdown-trigger': true,
184
184
  's-searchable-dropdown-trigger--disabled': this.disabled || this.loading,
185
185
  's-searchable-dropdown-trigger--open': this.isOpen,
186
- }, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), h("i", { key: 'aed25a8ad3046651d984621e2a9b8f473f8830a5', class: {
186
+ }, role: "combobox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-controls": listboxId, "aria-disabled": this.disabled || this.loading ? 'true' : 'false', tabIndex: this.disabled || this.loading ? -1 : 0, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hasSelection ? (h("span", { class: "s-searchable-dropdown-trigger-text" }, this.getDisplayName(this.selectedItem))) : (h("span", { class: "s-searchable-dropdown-trigger-placeholder" }, this.placeholder)), h("i", { key: 'd0af58c577361ea1f64bcb8e8e6bcf82f662bc71', class: {
187
187
  'sicon-keyboard_arrow_down': true,
188
188
  's-searchable-dropdown-trigger-icon': true,
189
189
  's-searchable-dropdown-trigger-icon--open': this.isOpen,
190
- }, "aria-hidden": "true" })), this.isOpen && (h("div", { key: '2a89c11a2e94549be786211f4284c6ae44a451d4', class: {
190
+ }, "aria-hidden": "true" })), this.isOpen && (h("div", { key: '5452d81395fdfe59925ff7d07ec7660909f5ce63', class: {
191
191
  's-searchable-dropdown-panel': true,
192
192
  's-searchable-dropdown-panel--up': this.dropUp,
193
- }, ref: (el) => (this.panelRef = el) }, h("div", { key: '99a429ded15743eb160e353e398eadb98fbdffaf', class: "s-searchable-dropdown-search-wrap" }, h("i", { key: '58982ae6527a4ba06136bee2afc2d420b5e9ec14', class: "sicon-search s-searchable-dropdown-search-icon", "aria-hidden": "true" }), h("input", { key: '953c944186a9e2ae8f55faf9014087584cb52abf', ref: (el) => (this.searchInputRef = el), id: this.inputId, type: "text", class: "s-searchable-dropdown-search-input", placeholder: this.placeholder, value: this.clientSearch ? this.clientSearchQuery : this.searchQuery, onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchKeyDown, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": listboxId })), h("div", { key: '3fdd7d03aeec99976f505cf33a8775150fe520e3', id: listboxId, class: "s-searchable-dropdown-list s-scrollbar", role: "listbox" }, this.renderListContent()))))));
193
+ }, ref: (el) => (this.panelRef = el) }, h("div", { key: '5b7e286c7ce3128f3c0fc1a8983d524042ea66fd', class: "s-searchable-dropdown-search-wrap" }, h("i", { key: '0dde5c7d2125e8346e53a4fd42eccfc7615f5ea0', class: "sicon-search s-searchable-dropdown-search-icon", "aria-hidden": "true" }), h("input", { key: '1c483ac2d199cbd7b086bc016878b00d51798b84', ref: (el) => (this.searchInputRef = el), id: this.inputId, type: "text", class: "s-searchable-dropdown-search-input", placeholder: this.placeholder, value: this.clientSearch ? this.clientSearchQuery : this.searchQuery, onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchKeyDown, autocomplete: "off", "aria-autocomplete": "list", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-controls": listboxId })), h("div", { key: 'f10f0a612008f4d0863685a238d6baefd7903a66', id: listboxId, class: "s-searchable-dropdown-list s-scrollbar", role: "listbox" }, this.renderListContent()))))));
194
194
  }
195
195
  renderListContent() {
196
196
  if (this.searching || this.loading) {
@@ -27,7 +27,7 @@ const SallaSkeleton = /*@__PURE__*/ proxyCustomElement(class SallaSkeleton exten
27
27
  's-skeleton-item': true,
28
28
  's-skeleton-item-circular': this.type == 'circle',
29
29
  };
30
- return (h(Host, { key: 'b422224774ac8c293a22fa184f5987f427751291', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: 'a495f0c9d0c34831e5cbfba632a671dd472157b5', class: classes }, "\u00A0")));
30
+ return (h(Host, { key: 'f645a6a85c27f28f0f4753a21f0a635bd29b1066', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '7146a8905fd164c30ed54729e6e1d7a23b1df94e', class: classes }, "\u00A0")));
31
31
  }
32
32
  static get style() { return sallaSkeletonCss; }
33
33
  }, [0, "salla-skeleton", {
@@ -150,7 +150,7 @@ const SallaSocialShare$1 = /*@__PURE__*/ proxyCustomElement(class SallaSocialSha
150
150
  window.a2a?.init('page');
151
151
  }
152
152
  render() {
153
- return (h("div", { key: '244707099dffd175ac9199a3b2db60e6ccd8901f', class: "s-social-share-wrapper" }, h("slot", { key: 'f8f5939c39df206c9e655b72f2bfebdaa1518a21', name: 'widget' }, h("salla-button", { key: '7f2bdb0adc9f7d6d346c4502457751cf95e5c446', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: '4d2f7b9b9ce06751a38532fef1b35fdd1ebf777d', innerHTML: this.opened ? Cancel : ShareAlt }))), h("ul", { key: '62bd77e9abe9277328339dffd8b979f50e55a54f', ref: el => this.shareMenu = el, class: "s-social-share-list a2a_kit share", "data-a2a-url": this.url ? this.url : window.location.href, "data-a2a-title": this.urlName ? this.urlName : document.title }, this.platforms.split(',').map(platform => {
153
+ return (h("div", { key: '52c1d99308e8512060d0b28bfe9e8bbe6d9e421d', class: "s-social-share-wrapper" }, h("slot", { key: '9086cdb5e2a3f1544e8711c8c9c7b166fa81cb75', name: 'widget' }, h("salla-button", { key: 'b32d67924c0fd2d75bc01d026a81cc4eea06a53e', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: 'a18db03d476a004e779ad1b7696678dc871b4c2b', innerHTML: this.opened ? Cancel : ShareAlt }))), h("ul", { key: '133254b1c2a797fca7b8e0af40f397d8e8e7651f', ref: el => this.shareMenu = el, class: "s-social-share-list a2a_kit share", "data-a2a-url": this.url ? this.url : window.location.href, "data-a2a-title": this.urlName ? this.urlName : document.title }, this.platforms.split(',').map(platform => {
154
154
  return (h("li", null, h("a", { class: `a2a_button_${platform}`, "aria-label": `Share Via ${platform}` }, this.platformIcons.map((icon) => {
155
155
  if (icon.name === platform) {
156
156
  return h("span", { class: "s-social-share-icon", innerHTML: icon.icon });
@@ -56,7 +56,7 @@ const SallaSocial$1 = /*@__PURE__*/ proxyCustomElement(class SallaSocial extends
56
56
  }
57
57
  render() {
58
58
  const linksArray = this.getLinksArray();
59
- return (h(Host, { key: '3eda16ffb523669f5b698c78f3b98e5d3111b325' }, h("ul", { key: '1dca750f2be3948139fdacf7f53a1d1452ec37af', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
59
+ return (h(Host, { key: 'b3377f6f933a69e9b9b8d633b6825d0f7fa1f6b0' }, h("ul", { key: 'ee82940597a4a18a721415c9c192adedbcd2c67d', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
60
60
  .replace(/\{icon\}/g, this.iconsList[link.type])
61
61
  .replace(/\{type\}/g, link.type)
62
62
  .replace(/\{link\}/g, link.value.toString()) })))))));
@@ -32,7 +32,7 @@ const SallaTabContent = /*@__PURE__*/ proxyCustomElement(class SallaTabContent e
32
32
  's-tabs-content': true,
33
33
  's-tabs-content-selected': this.isSelected
34
34
  };
35
- return (h("div", { key: '07449e9a8c02669df01af980ab470769b22ceaae', class: classes }, h("slot", { key: 'e48efaef70082540834811f60f9a475a2cbb35ea' })));
35
+ return (h("div", { key: '7e434cb1ef165f74434be7a81332ac03b75b7fbf', class: classes }, h("slot", { key: 'cf6f81543421fddcd25ae6a4110101e749065e58' })));
36
36
  }
37
37
  static get style() { return sallaTabContentCss; }
38
38
  }, [4, "salla-tab-content", {
@@ -58,7 +58,7 @@ const SallaTabHeader = /*@__PURE__*/ proxyCustomElement(class SallaTabHeader ext
58
58
  's-tabs-active': this.isSelected,
59
59
  };
60
60
  return [
61
- h("div", { key: '74998651760e992ecd7156a2c65fe03e09cfb365', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: '061767388550a7d4841aeb8ad447c5c3084410cb' })),
61
+ h("div", { key: '83a46a1c9b08bbbfeae3db10a482a50930645e26', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: '14f194bf5d1152f4fb0976a5784e00fda3504f5e' })),
62
62
  ];
63
63
  }
64
64
  static get style() { return sallaTabHeaderCss; }
@@ -51,7 +51,7 @@ const SallaTabs = /*@__PURE__*/ proxyCustomElement(class SallaTabs extends HTMLE
51
51
  }
52
52
  render() {
53
53
  return [
54
- h("div", { key: 'ca22c220d70aa825f10c645d3993fb72948944a9', class: "s-tabs" }, h("div", { key: '00a506e74704e76f4d2890d1201528bb17826aa1', class: "s-tabs-header" }, h("slot", { key: 'e0c0c4b621994137a83a51292667e9acf4ff39c5', name: "header" })), h("div", { key: '7fdb971d2c60ff37c130449533e3b44d8d7e3a83', class: "s-tabs-content-wrapper" }, h("slot", { key: '72160d870ba9007b5a74d09a798265cbbc387efa', name: "content" })))
54
+ h("div", { key: '5584079da6ec0297e1b5b0696b951d9a1e59737a', class: "s-tabs" }, h("div", { key: '7ccbf64b3dd3b8a0cc26dbac085b0a6b4fdd674b', class: "s-tabs-header" }, h("slot", { key: 'aad3107a146bb0ee7130b17ebb622fdb5cf6b1e7', name: "header" })), h("div", { key: '4f6a38f41b7788162549123fed9c8a256e3f7c94', class: "s-tabs-content-wrapper" }, h("slot", { key: '51cb020f8f95c76959c3b3f730d8763419570b43', name: "content" })))
55
55
  ];
56
56
  }
57
57
  get host() { return this; }
@@ -129,7 +129,7 @@ const SallaTelInput = /*@__PURE__*/ proxyCustomElement(class SallaTelInput exten
129
129
  }
130
130
  }
131
131
  render() {
132
- return (h(Host, { key: '52617befb5152051a2be9f65a96a4f2a8577e6c4', class: "s-tel-input" }, h("input", { key: '7f6e7cc0b8cde9139cfdf6fb0ba0d6efe48bcb3b', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: 'c5b21209ee941ae455516e3b4e9c503e8c52f3c5', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: 'a09cb211e141996066ade2a6e8b901696de65bb7', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
132
+ return (h(Host, { key: 'f9dbd104d08e371c2d948d4e2f521f180f0e9728', class: "s-tel-input" }, h("input", { key: '88d9aec228b90558b51d94efca25404603fa028b', type: "tel", disabled: this.disabled, name: this.name, value: this.phone, onChange: (event) => this.handleCountryInput(event), ref: el => this.phoneInput = el, enterkeyhint: "next", autocomplete: "tel", class: "s-tel-input-control tel-input s-ltr" }), h("span", { key: '3e143a4a2021889e0c2dec33968ec7cf127cf635', class: "s-tel-input-error-msg", ref: el => this.errorMsg = el }), h("input", { key: 'bec80ffbd16d6f36a70205bcdc3dae180270be62', type: "hidden", name: "country_code", value: this.countryCode, ref: el => this.countryCodeInput = el, class: "country_code" })));
133
133
  }
134
134
  componentDidLoad() {
135
135
  this.initTelInput();
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
5
5
 
6
- const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-39%);background-color:#baf3e6;color:#004d5a;bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:\"\";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#baf3e6 transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}";
6
+ const sallaTooltipCss = ".s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-63%) translateY(-50%);background-color:var(--color-primary);color:var(--color-primary-reverse);bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;opacity:0;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:\"\";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--color-primary) transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}";
7
7
 
8
8
  const SallaTooltip = /*@__PURE__*/ proxyCustomElement(class SallaTooltip extends HTMLElement {
9
9
  constructor() {
@@ -32,7 +32,7 @@ const SallaTooltip = /*@__PURE__*/ proxyCustomElement(class SallaTooltip extends
32
32
  }
33
33
  render() {
34
34
  const validTheme = ['default', 'dark'].includes(this.theme) ? this.theme : 'default';
35
- return (h("div", { key: '62b83d29f0c62d93fa493494f810a5bfbd8423bf', class: "s-tooltip-container" }, h("div", { key: '23b1760656599e63e3ce2d7ec669475f17d932fd', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? h("span", null, this.text) : h("slot", null))));
35
+ return (h("div", { key: 'cc5a63847902e9030444f09e503884b89911804e', class: "s-tooltip-container" }, h("div", { key: '8c468cff2093ab72b6021af8935dea9089208d06', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? h("span", null, this.text) : h("slot", null))));
36
36
  }
37
37
  get el() { return this; }
38
38
  static get style() { return sallaTooltipCss; }
@@ -83,7 +83,7 @@ const SallaUserSettings$1 = /*@__PURE__*/ proxyCustomElement(class SallaUserSett
83
83
  await salla.profile.delete().finally(() => this.confirmationModal.close());
84
84
  }
85
85
  render() {
86
- return (h(Host, { key: 'd5cdafbb882bfac9b9604a246df93ed698577d83', class: "s-user-settings-wrapper" }, this.canHideName && h("div", { key: '84ab3744fec66aa61c626c377e1dc59e3a41b4d5', class: "s-user-settings-section" }, h("salla-list-tile", { key: '39494a613096611f63778fc147b01440bba9af06' }, h("div", { key: '2aa0f7582f1590d036b7f649710125bb74751c84', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '54d75c7bb262247b3e1caff46b47c6dc5e0f7b8f', innerHTML: UserCancel })), h("div", { key: '7cf196cec61f67515e4deeb9006876fb31c89fde', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: 'e554cd922c97cd6aeec02d637cb138f37b17cf9d', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: '75af7edd3d365e8f8e9ca37dd7670b7fb58a9bbd', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: '11c2829b508147cfaa7a7e58625301e1a1590980', class: "s-toggle" }, h("input", { key: '49394f1a904c2053b1dc960b2895120a8c6795d4', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: '982f7ae509e335bddb9852bd147dd9963f04c1c5', class: "s-toggle-switcher" }))))), h("div", { key: '7c0276263f599160e129f77df0d2a6125aad900a', class: "s-user-settings-section" }, h("salla-list-tile", { key: 'd248a1b634ef8639c0b39937cf9b30e673ac0d26' }, h("div", { key: '365bb3f400a96ddd434c2e902b7b280ca1805fb7', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '398a3ffea087ffbdd78639ad72fefbf8f04eb202', innerHTML: Bullhorn })), h("div", { key: 'ee0b0f8e2d2c974cf14d50677eb23d21dceed745', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: '890e4bd4d13f9decd3595a95ac370f3c6fe33810', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: '073fc9d0f17b70afbf1e174707075a17f471af30', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: '2a3b31b294ec0f81ac476f38d457a75d45532bac', class: "s-toggle" }, h("input", { key: '78a9df7c3c4c826acf044b650021ade2c2bad054', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: '8167ce78297b174eb1b55c66c03fdc394c63282d', class: "s-toggle-switcher" }))))), h("div", { key: '13ed578bab3f587daceb1a7573bb1b3881ecd57e', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", { key: '3177d1bbfaf00279b5c36f5305ae13729d5f2160' }, h("div", { key: '23b3c3b7fff5b51678e68b39aa7b4de9e54dbf21', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '4dbfb202a3419590fd9efd6585cb35f44cbb70d8', innerHTML: UserOff })), h("div", { key: '1929b9ac8930bcd7a09322b9767f5edd42488ea4', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { key: 'f28baf1e5a1dd05572e8d5dbc6cee4fe352eb821', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { key: '1f315571afcac490b6e19a06b0cd3000e76c2ed3', slot: 'action', class: "s-user-settings-section-action" }, h("salla-button", { key: '5bbd31e5df4eb1339a84621616671c7e0aae0903', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), h("salla-modal", { key: '67949f4efafdcb160d2a02af3e0ae7eb1cd7edcc', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, h("span", { key: 'a23293ebc5a46ac41375abc1ad83dbdd7b4cd2e5', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { key: '3134591a10759a22b9a17335a0ec33e80e8a094b', class: "s-user-settings-confirmation" }, h("div", { key: 'df0b762a441326bf5ea1cc3973e5d0cc6132ba13', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { key: '68c52e34dda9e407cc2435efbeb33b5665749f3f', class: "s-user-settings-confirmation-actions" }, h("salla-button", { key: '3f64972422ab639412b711d5ceb41ed0fb07e5e9', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { key: '64774bd0dee3fd1f4b61b1471ba4bec8e9a1257f', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
86
+ return (h(Host, { key: '3b503ea1843a9fa0931a7c3478822994140f1a8d', class: "s-user-settings-wrapper" }, this.canHideName && h("div", { key: '5e4874063fbd5936351f92ea04b9b303c0bd49a3', class: "s-user-settings-section" }, h("salla-list-tile", { key: '6a966de44e40d51e03f1b81f9e170e8d716084e7' }, h("div", { key: '1f5f4ab2d595253304d977c34ad0b4f86c88d900', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: 'f93006050cd12ea0ad453c7ada465422519f0833', innerHTML: UserCancel })), h("div", { key: '7e8f6021ecf415cbbdfc5b7279b3d06370159df2', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: 'd4faf62bde6ef5e9ebad40058e411aa56ed14eff', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: '1f285539e0627b62b0072a02c51d7134d560a733', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: 'fae13b1910d84447218d493745b523c40f41376f', class: "s-toggle" }, h("input", { key: '1d36c238f51814e0b201b957182109f2721a8581', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: '829fd12d0b4693ccb412767594f6c4060962f027', class: "s-toggle-switcher" }))))), h("div", { key: '3eb2c9d0deacc89cba4ec04788d11e0f25724f84', class: "s-user-settings-section" }, h("salla-list-tile", { key: 'a81db53d1ab9f8477325e279f9e54c58047f4ac2' }, h("div", { key: '8f9368d8ad52ed31872cf95a408c6ffd8da4279c', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '2d7e0c5bf9c54b657ea5ba3299cf09e3d3666e9b', innerHTML: Bullhorn })), h("div", { key: '6a6471a37d98522aa3d118fce39af89b45971b9b', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: '3844d2bb30e191cdd32681dd4b6601bb6b29975c', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: '5eba79efdc171ab9bd0b6b10d0782a3a50d914e7', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: '22a4c9433aad0060c2b61c8baa982d9634ddd9e7', class: "s-toggle" }, h("input", { key: '784dc34cdf5f539bf63f788369dcd9a83e4cddb4', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: '138bf3b64ef06eb0ccc420e6774feaa5cf296c3d', class: "s-toggle-switcher" }))))), h("div", { key: '04b416e46d89a4acceb2fa17f480729751d78fa5', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", { key: 'c5a3d7e16b97d773219c14de9f51ea6280bd5784' }, h("div", { key: '90f4db05c86c64a33ec9cc39565524a01f44ccd4', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '4cef5fd2411d81a23cc8e9bcd399d5dbd360be6c', innerHTML: UserOff })), h("div", { key: '57d16bf204b0854355368049aab0b45d398da6fc', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { key: '596c8d4c165f2bd71f5c70ec984aa86252841493', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { key: 'c5912d000eaa947223013fc562e0a3607bb0c6d5', slot: 'action', class: "s-user-settings-section-action" }, h("salla-button", { key: '9501681d074dc16fbe82c2ded6bc73bb045715e7', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), h("salla-modal", { key: '34ebc1adaabccbc44f5f742305c087c2916d310a', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, h("span", { key: '8e3c8f4bccc605051d092ea0f507808157faacc8', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { key: '0e9cfb8c990bf86cf846d25e8f17c8823212a651', class: "s-user-settings-confirmation" }, h("div", { key: '672ab4c5689ff9fa0a2af07d3ddcc77f8babd7ce', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { key: '65f5e0eaeab3b4f28998dc84e2ba225fac44c294', class: "s-user-settings-confirmation-actions" }, h("salla-button", { key: '7f19101736ff2e2e1ad932cbd84e01ab19520d9b', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { key: '80a161ac2fbe61d9ba1f0999f6a055aa378f05bd', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
87
87
  }
88
88
  static get style() { return sallaUserSettingsCss; }
89
89
  }, [0, "salla-user-settings", {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-Dnvn8dmm.js';
4
+ import { d as getDefaultExportFromCjs } from './index-lMbG1CIQ.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-Dnvn8dmm.js';
4
+ import { d as getDefaultExportFromCjs } from './index-lMbG1CIQ.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-Dnvn8dmm.js';
4
+ import { d as getDefaultExportFromCjs } from './index-lMbG1CIQ.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-Dnvn8dmm.js';
4
+ import { d as getDefaultExportFromCjs } from './index-lMbG1CIQ.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-Dnvn8dmm.js';
4
+ import { d as getDefaultExportFromCjs } from './index-lMbG1CIQ.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-Dnvn8dmm.js';
4
+ import { d as getDefaultExportFromCjs } from './index-lMbG1CIQ.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-Dnvn8dmm.js';
4
+ import { d as getDefaultExportFromCjs } from './index-lMbG1CIQ.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { h } from './index-Dnvn8dmm.js';
4
+ import { h } from './index-lMbG1CIQ.js';
5
5
 
6
6
  function nearestLowerMultiple(number, multipleOf = window.matchMedia('(min-width: 768px)').matches ? 3 : 2) {
7
7
  return number < multipleOf ? number : number - (number % multipleOf);
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-Dnvn8dmm.js';
4
+ import { d as getDefaultExportFromCjs } from './index-lMbG1CIQ.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {