@salla.sa/twilight-components 2.14.429 → 2.14.430

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 (424) hide show
  1. package/dist/cjs/{filepond--V9rRgVA.js → filepond-Cirhmv0g.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-DzvswSJb.js → filepond-plugin-file-poster-CFJdxZnt.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-C5wUWXz6.js → filepond-plugin-file-validate-size-D_c252fB.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-HA2w2_fC.js → filepond-plugin-file-validate-type-CmQlvhLj.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-CXrhd-IB.js → filepond-plugin-image-edit-CVkvUofN.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-BJnamgw6.js → filepond-plugin-image-exif-orientation-B5qI46w6.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-CmdkZJij.js → filepond-plugin-image-preview-CFlJws8x.js} +1 -1
  8. package/dist/cjs/{functions-DPnm948J.js → functions-DikM8tjQ.js} +1 -1
  9. package/dist/cjs/{index-D3xsx646.js → index-BPCJbQAt.js} +2 -2
  10. package/dist/cjs/{index-DRfjMaC1.js → index-qdhDUBe_.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +2 -2
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +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 +17 -17
  21. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +208 -8
  22. package/dist/cjs/salla-cart-coupons.cjs.entry.js +2 -2
  23. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +2 -2
  24. package/dist/cjs/salla-comment-form_8.cjs.entry.js +8 -8
  25. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-count-down.cjs.entry.js +2 -2
  29. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-filters-widget.cjs.entry.js +3 -3
  33. package/dist/cjs/salla-filters.cjs.entry.js +2 -2
  34. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-gifting.cjs.entry.js +3 -3
  36. package/dist/cjs/salla-hook.cjs.entry.js +2 -2
  37. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-list-tile.cjs.entry.js +2 -2
  40. package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
  41. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +2 -2
  43. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +8 -8
  44. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +3 -3
  45. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
  46. package/dist/cjs/salla-loyalty-program.cjs.entry.js +3 -3
  47. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +4 -4
  48. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +2 -2
  50. package/dist/cjs/salla-map.cjs.entry.js +4 -4
  51. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +4 -4
  54. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
  55. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
  56. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-notification-item.cjs.entry.js +2 -2
  58. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-offer-modal.cjs.entry.js +2 -2
  60. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
  64. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +2 -2
  66. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
  68. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  71. package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
  72. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  73. package/dist/cjs/salla-product-card_2.cjs.entry.js +6 -6
  74. package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
  75. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-reward-action_4.cjs.entry.js +11 -11
  80. package/dist/cjs/salla-scopes.cjs.entry.js +2 -2
  81. package/dist/cjs/salla-search.cjs.entry.js +6 -6
  82. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  83. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  85. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  86. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  87. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  89. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  93. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  95. package/dist/cjs/{tracked-promise-CFp5Besf.js → tracked-promise-CIjCJ7rC.js} +1 -1
  96. package/dist/cjs/twilight.cjs.js +1 -1
  97. package/dist/cjs/{vanilla-picker-Jk2F9CAy.js → vanilla-picker-DS2OnhRa.js} +1 -1
  98. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +204 -4
  99. package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +1 -1
  100. package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -1
  101. package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -1
  102. package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -1
  103. package/dist/collection/components/salla-comments/salla-comment-item.js +3 -3
  104. package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
  105. package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
  106. package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
  107. package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
  108. package/dist/collection/components/salla-filters/salla-filters.js +1 -1
  109. package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
  110. package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
  111. package/dist/collection/components/salla-hook/salla-hook.js +1 -1
  112. package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
  113. package/dist/collection/components/salla-loading/salla-loading.js +1 -1
  114. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
  115. package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
  116. package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
  117. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +3 -3
  118. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  119. package/dist/collection/components/salla-loyalty-program/salla-reward-action.js +1 -1
  120. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  121. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  122. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
  123. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  124. package/dist/collection/components/salla-map/salla-map.js +3 -3
  125. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  126. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  127. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  128. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
  129. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  130. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  131. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  132. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  133. package/dist/collection/components/salla-order-edit/salla-order-edit-product-card.js +1 -1
  134. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  135. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  136. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  137. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  138. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  139. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  140. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  141. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  142. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
  143. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  144. package/dist/collection/components/salla-reviews/salla-reviews.js +1 -1
  145. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  146. package/dist/collection/components/salla-scopes/salla-scopes.js +1 -1
  147. package/dist/collection/components/salla-search/salla-search.js +5 -5
  148. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  149. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  150. package/dist/collection/components/salla-social/salla-social.js +1 -1
  151. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  152. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  153. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  154. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  155. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  156. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  157. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  158. package/dist/components/index.js +2 -2
  159. package/dist/components/salla-bullet-delivery.js +203 -3
  160. package/dist/components/salla-cart-coupons.js +1 -1
  161. package/dist/components/salla-cart-summary.js +1 -1
  162. package/dist/components/salla-color-picker2.js +1 -1
  163. package/dist/components/salla-comment-form2.js +1 -1
  164. package/dist/components/salla-comment-item2.js +3 -3
  165. package/dist/components/salla-conditional-fields2.js +1 -1
  166. package/dist/components/salla-count-down2.js +1 -1
  167. package/dist/components/salla-datetime-picker2.js +1 -1
  168. package/dist/components/salla-file-upload2.js +2 -2
  169. package/dist/components/salla-filters-widget2.js +2 -2
  170. package/dist/components/salla-filters.js +1 -1
  171. package/dist/components/salla-gifting.js +2 -2
  172. package/dist/components/salla-hook.js +1 -1
  173. package/dist/components/salla-list-tile2.js +1 -1
  174. package/dist/components/salla-loading2.js +1 -1
  175. package/dist/components/salla-localization-modal.js +1 -1
  176. package/dist/components/salla-loyalty-hero2.js +3 -3
  177. package/dist/components/salla-loyalty-point2.js +3 -3
  178. package/dist/components/salla-loyalty-prize-item.js +1 -1
  179. package/dist/components/salla-loyalty-reward.js +2 -2
  180. package/dist/components/salla-maintenance-alert.js +1 -1
  181. package/dist/components/salla-map2.js +3 -3
  182. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  183. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  184. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  185. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  186. package/dist/components/salla-multiple-bundle-product.js +1 -1
  187. package/dist/components/salla-notification-item2.js +1 -1
  188. package/dist/components/salla-offer-modal.js +1 -1
  189. package/dist/components/salla-order-details.js +1 -1
  190. package/dist/components/salla-order-edit-product-card.js +1 -1
  191. package/dist/components/salla-order-summary.js +1 -1
  192. package/dist/components/salla-payments.js +2 -2
  193. package/dist/components/salla-placeholder2.js +1 -1
  194. package/dist/components/salla-price-range2.js +2 -2
  195. package/dist/components/salla-product-availability2.js +1 -1
  196. package/dist/components/salla-product-card2.js +5 -5
  197. package/dist/components/salla-product-size-guide.js +2 -2
  198. package/dist/components/salla-quantity-input2.js +1 -1
  199. package/dist/components/salla-quick-buy2.js +1 -1
  200. package/dist/components/salla-review-card2.js +1 -1
  201. package/dist/components/salla-reviews-page.js +1 -1
  202. package/dist/components/salla-reviews.js +1 -1
  203. package/dist/components/salla-reward-action2.js +1 -1
  204. package/dist/components/salla-reward-card2.js +1 -1
  205. package/dist/components/salla-reward-details2.js +3 -3
  206. package/dist/components/salla-reward-exchange2.js +3 -3
  207. package/dist/components/salla-scopes.js +1 -1
  208. package/dist/components/salla-search.js +5 -5
  209. package/dist/components/salla-searchable-dropdown2.js +4 -4
  210. package/dist/components/salla-skeleton2.js +1 -1
  211. package/dist/components/salla-social-share.js +1 -1
  212. package/dist/components/salla-social.js +1 -1
  213. package/dist/components/salla-tab-content2.js +1 -1
  214. package/dist/components/salla-tab-header2.js +1 -1
  215. package/dist/components/salla-tabs2.js +1 -1
  216. package/dist/components/salla-tel-input2.js +1 -1
  217. package/dist/components/salla-tooltip2.js +1 -1
  218. package/dist/components/salla-user-settings.js +1 -1
  219. package/dist/esm/{filepond-fJKURtC4.js → filepond-DiU0XQ9e.js} +1 -1
  220. package/dist/esm/{filepond-plugin-file-poster-Ll-3yUwR.js → filepond-plugin-file-poster-DtjI61lL.js} +1 -1
  221. package/dist/esm/{filepond-plugin-file-validate-size-2D44oWIJ.js → filepond-plugin-file-validate-size-Dqu64lGR.js} +1 -1
  222. package/dist/esm/{filepond-plugin-file-validate-type-08Jawn6d.js → filepond-plugin-file-validate-type-DcD09bJn.js} +1 -1
  223. package/dist/esm/{filepond-plugin-image-edit-DmEVMjMi.js → filepond-plugin-image-edit-DVNXwam7.js} +1 -1
  224. package/dist/esm/{filepond-plugin-image-exif-orientation-DJo_07yV.js → filepond-plugin-image-exif-orientation-DkFCziSJ.js} +1 -1
  225. package/dist/esm/{filepond-plugin-image-preview-Nd-PQAho.js → filepond-plugin-image-preview-DmXXOhqL.js} +1 -1
  226. package/dist/esm/{functions-GnOlk8am.js → functions-BrNcFMBn.js} +1 -1
  227. package/dist/esm/{index-DR8BHH7X.js → index-BvVpL-WS.js} +2 -2
  228. package/dist/esm/{index-Ba0YDJC7.js → index-ZLiIwsdw.js} +1 -1
  229. package/dist/esm/loader.js +2 -2
  230. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  231. package/dist/esm/salla-accordion_6.entry.js +2 -2
  232. package/dist/esm/salla-add-product-button_5.entry.js +3 -3
  233. package/dist/esm/salla-advertisement.entry.js +1 -1
  234. package/dist/esm/salla-alert_2.entry.js +1 -1
  235. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  236. package/dist/esm/salla-apps-icons.entry.js +1 -1
  237. package/dist/esm/salla-badge.entry.js +1 -1
  238. package/dist/esm/salla-booking-field_7.entry.js +17 -17
  239. package/dist/esm/salla-bullet-delivery_2.entry.js +208 -8
  240. package/dist/esm/salla-cart-coupons.entry.js +2 -2
  241. package/dist/esm/salla-cart-item-offers_2.entry.js +2 -2
  242. package/dist/esm/salla-comment-form_8.entry.js +8 -8
  243. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  244. package/dist/esm/salla-contacts.entry.js +1 -1
  245. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  246. package/dist/esm/salla-count-down.entry.js +2 -2
  247. package/dist/esm/salla-custom-fields.entry.js +1 -1
  248. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  249. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  250. package/dist/esm/salla-filters-widget.entry.js +3 -3
  251. package/dist/esm/salla-filters.entry.js +2 -2
  252. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  253. package/dist/esm/salla-gifting.entry.js +3 -3
  254. package/dist/esm/salla-hook.entry.js +2 -2
  255. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  256. package/dist/esm/salla-installment.entry.js +1 -1
  257. package/dist/esm/salla-list-tile.entry.js +2 -2
  258. package/dist/esm/salla-localization-modal.entry.js +2 -2
  259. package/dist/esm/salla-login-modal.entry.js +1 -1
  260. package/dist/esm/salla-loyalty-banner.entry.js +2 -2
  261. package/dist/esm/salla-loyalty-hero_2.entry.js +8 -8
  262. package/dist/esm/salla-loyalty-panel.entry.js +3 -3
  263. package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
  264. package/dist/esm/salla-loyalty-program.entry.js +3 -3
  265. package/dist/esm/salla-loyalty-reward.entry.js +4 -4
  266. package/dist/esm/salla-loyalty.entry.js +1 -1
  267. package/dist/esm/salla-maintenance-alert.entry.js +2 -2
  268. package/dist/esm/salla-map.entry.js +4 -4
  269. package/dist/esm/salla-menu.entry.js +1 -1
  270. package/dist/esm/salla-metadata.entry.js +1 -1
  271. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  272. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  273. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  274. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  275. package/dist/esm/salla-notification-item.entry.js +2 -2
  276. package/dist/esm/salla-notifications.entry.js +1 -1
  277. package/dist/esm/salla-offer-modal.entry.js +2 -2
  278. package/dist/esm/salla-offer.entry.js +1 -1
  279. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  280. package/dist/esm/salla-order-details-options.entry.js +1 -1
  281. package/dist/esm/salla-order-details.entry.js +2 -2
  282. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  283. package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
  284. package/dist/esm/salla-order-edit.entry.js +1 -1
  285. package/dist/esm/salla-order-summary.entry.js +2 -2
  286. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  287. package/dist/esm/salla-orders.entry.js +1 -1
  288. package/dist/esm/salla-payments.entry.js +3 -3
  289. package/dist/esm/salla-placeholder.entry.js +2 -2
  290. package/dist/esm/salla-price-range.entry.js +3 -3
  291. package/dist/esm/salla-product-card_2.entry.js +6 -6
  292. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  293. package/dist/esm/salla-products-list.entry.js +1 -1
  294. package/dist/esm/salla-progress-bar.entry.js +1 -1
  295. package/dist/esm/salla-quick-order.entry.js +1 -1
  296. package/dist/esm/salla-rating-modal.entry.js +1 -1
  297. package/dist/esm/salla-reward-action_4.entry.js +11 -11
  298. package/dist/esm/salla-scopes.entry.js +2 -2
  299. package/dist/esm/salla-search.entry.js +6 -6
  300. package/dist/esm/salla-skeleton.entry.js +2 -2
  301. package/dist/esm/salla-slider.entry.js +1 -1
  302. package/dist/esm/salla-social-share.entry.js +2 -2
  303. package/dist/esm/salla-social.entry.js +2 -2
  304. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  305. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  306. package/dist/esm/salla-tooltip.entry.js +2 -2
  307. package/dist/esm/salla-trust-badges.entry.js +1 -1
  308. package/dist/esm/salla-user-menu.entry.js +1 -1
  309. package/dist/esm/salla-user-profile.entry.js +1 -1
  310. package/dist/esm/salla-user-settings.entry.js +2 -2
  311. package/dist/esm/salla-verify.entry.js +1 -1
  312. package/dist/esm/salla-wallet.entry.js +1 -1
  313. package/dist/esm/{tracked-promise-BTkBmrok.js → tracked-promise-C9WWqUqk.js} +1 -1
  314. package/dist/esm/twilight.js +2 -2
  315. package/dist/esm/{vanilla-picker-f4lmttLY.js → vanilla-picker-M17sW8cB.js} +1 -1
  316. package/dist/twilight/{p-65839961.entry.js → p-00d72f65.entry.js} +1 -1
  317. package/dist/twilight/{p-83c1d4b2.entry.js → p-01743b1b.entry.js} +1 -1
  318. package/dist/twilight/{p-6e26c815.entry.js → p-026a05cb.entry.js} +1 -1
  319. package/dist/twilight/{p-8709e981.entry.js → p-06eb8972.entry.js} +1 -1
  320. package/dist/twilight/{p-824dd42e.entry.js → p-08389628.entry.js} +1 -1
  321. package/dist/twilight/{p-e0244c37.entry.js → p-097a8bae.entry.js} +1 -1
  322. package/dist/twilight/{p-8fad5c91.entry.js → p-0e609779.entry.js} +1 -1
  323. package/dist/twilight/{p-3910e00f.entry.js → p-1196255d.entry.js} +1 -1
  324. package/dist/twilight/{p-e0af89bc.entry.js → p-16f9d2a1.entry.js} +1 -1
  325. package/dist/twilight/{p-4482e672.entry.js → p-1950f3f2.entry.js} +1 -1
  326. package/dist/twilight/{p-ed6007e1.entry.js → p-1baaaada.entry.js} +1 -1
  327. package/dist/twilight/{p-72b1e6ed.entry.js → p-1e988f4f.entry.js} +1 -1
  328. package/dist/twilight/{p-fca971a6.entry.js → p-21a987de.entry.js} +1 -1
  329. package/dist/twilight/{p-96d644b8.entry.js → p-23ae52f8.entry.js} +1 -1
  330. package/dist/twilight/p-252ff6d9.entry.js +4 -0
  331. package/dist/twilight/{p-c4960804.entry.js → p-29acddf7.entry.js} +1 -1
  332. package/dist/twilight/p-2d62e0d2.entry.js +4 -0
  333. package/dist/twilight/{p-7edaa78b.entry.js → p-2e494246.entry.js} +1 -1
  334. package/dist/twilight/{p-d567481d.entry.js → p-31026ed7.entry.js} +1 -1
  335. package/dist/twilight/{p-6f3da0b7.entry.js → p-3f17453a.entry.js} +1 -1
  336. package/dist/twilight/{p-1c8726e2.entry.js → p-3f2c6512.entry.js} +1 -1
  337. package/dist/twilight/{p-44b289bb.entry.js → p-42a27ec9.entry.js} +1 -1
  338. package/dist/twilight/{p-6c58235e.entry.js → p-45e5092c.entry.js} +1 -1
  339. package/dist/twilight/{p-c52aac33.entry.js → p-460c3223.entry.js} +1 -1
  340. package/dist/twilight/{p-59f47a08.entry.js → p-477f5f80.entry.js} +1 -1
  341. package/dist/twilight/p-4802218f.entry.js +4 -0
  342. package/dist/twilight/{p-807db423.entry.js → p-4c3ccd8a.entry.js} +1 -1
  343. package/dist/twilight/{p-b20265f2.entry.js → p-4c3de6bc.entry.js} +1 -1
  344. package/dist/twilight/{p-08c6172b.entry.js → p-4d385abd.entry.js} +1 -1
  345. package/dist/twilight/{p-f2b204a4.entry.js → p-4ff3b253.entry.js} +1 -1
  346. package/dist/twilight/{p-df173474.entry.js → p-52fefe92.entry.js} +1 -1
  347. package/dist/twilight/{p-154e782d.entry.js → p-563ad8b1.entry.js} +1 -1
  348. package/dist/twilight/{p-5c347cd5.entry.js → p-56c0c112.entry.js} +1 -1
  349. package/dist/twilight/{p-400257fd.entry.js → p-575d8494.entry.js} +1 -1
  350. package/dist/twilight/{p-bc76d253.entry.js → p-5955e77e.entry.js} +1 -1
  351. package/dist/twilight/{p-ed8951c5.entry.js → p-5d308bb3.entry.js} +1 -1
  352. package/dist/twilight/{p-9f320350.entry.js → p-5d56bb46.entry.js} +1 -1
  353. package/dist/twilight/{p-f579e8ef.entry.js → p-60fe0718.entry.js} +1 -1
  354. package/dist/twilight/p-617b25dc.entry.js +4 -0
  355. package/dist/twilight/{p-9bde5e3c.entry.js → p-694b9e1f.entry.js} +1 -1
  356. package/dist/twilight/p-6af137a9.entry.js +4 -0
  357. package/dist/twilight/{p-6339390a.entry.js → p-6c30d08d.entry.js} +1 -1
  358. package/dist/twilight/{p-4f873363.entry.js → p-6ce4476a.entry.js} +1 -1
  359. package/dist/twilight/{p-bc47e256.entry.js → p-74925d4d.entry.js} +1 -1
  360. package/dist/twilight/{p-3a2fdd6f.entry.js → p-7637fd8b.entry.js} +1 -1
  361. package/dist/twilight/p-79520f52.entry.js +4 -0
  362. package/dist/twilight/{p-d617d844.entry.js → p-7a0941a8.entry.js} +1 -1
  363. package/dist/twilight/{p-1e7d16a3.entry.js → p-887262a1.entry.js} +1 -1
  364. package/dist/twilight/{p-ccfe690a.entry.js → p-8a82dd88.entry.js} +1 -1
  365. package/dist/twilight/p-8cda9c21.entry.js +4 -0
  366. package/dist/twilight/p-9020f3d2.entry.js +4 -0
  367. package/dist/twilight/{p-74eb04ec.entry.js → p-91a41b34.entry.js} +1 -1
  368. package/dist/twilight/{p-bcf201a8.entry.js → p-964ce7a3.entry.js} +1 -1
  369. package/dist/twilight/{p-beb17e29.entry.js → p-98ac84a4.entry.js} +1 -1
  370. package/dist/twilight/{p-612c5b08.entry.js → p-9ad307d8.entry.js} +1 -1
  371. package/dist/twilight/{p-5999d681.entry.js → p-9bcd73b0.entry.js} +1 -1
  372. package/dist/twilight/{p-CdbTKQNp.js → p-BUrZI2aM.js} +1 -1
  373. package/dist/twilight/{p-DR8BHH7X.js → p-BvVpL-WS.js} +1 -1
  374. package/dist/twilight/{p-CmDT48y4.js → p-C6A85BEB.js} +1 -1
  375. package/dist/twilight/{p-Bc2RLvfZ.js → p-C9hd13aU.js} +1 -1
  376. package/dist/twilight/{p-cvulr5dQ.js → p-CIL3hdhP.js} +1 -1
  377. package/dist/twilight/{p-hkzTCOEy.js → p-CWNDCXYi.js} +1 -1
  378. package/dist/twilight/{p-kg7IhfAv.js → p-CwQDINE8.js} +1 -1
  379. package/dist/twilight/{p-Dtp3srRX.js → p-D2QeP02t.js} +1 -1
  380. package/dist/twilight/{p-CiAXtUPQ.js → p-DxsOI9Zt.js} +1 -1
  381. package/dist/twilight/{p-NohMjDY2.js → p-PA3S2KT3.js} +1 -1
  382. package/dist/twilight/{p-Dqb1Ri2Y.js → p-XZtgFy1u.js} +1 -1
  383. package/dist/twilight/{p-103dc47c.entry.js → p-a0e3c5fa.entry.js} +1 -1
  384. package/dist/twilight/{p-835c43e6.entry.js → p-a54ee481.entry.js} +1 -1
  385. package/dist/twilight/{p-64376e97.entry.js → p-a80f8392.entry.js} +1 -1
  386. package/dist/twilight/{p-78ce73ba.entry.js → p-ab6a7327.entry.js} +1 -1
  387. package/dist/twilight/{p-a9cbd414.entry.js → p-af6de590.entry.js} +1 -1
  388. package/dist/twilight/{p-4da58baf.entry.js → p-b03b5c76.entry.js} +1 -1
  389. package/dist/twilight/p-b56d69e0.entry.js +4 -0
  390. package/dist/twilight/{p-c707f55b.entry.js → p-bb38dce1.entry.js} +1 -1
  391. package/dist/twilight/{p-ff75f1c4.entry.js → p-bc40de55.entry.js} +1 -1
  392. package/dist/twilight/{p-19bb31a5.entry.js → p-c5e3a68c.entry.js} +1 -1
  393. package/dist/twilight/{p-cb8a1223.entry.js → p-cded196b.entry.js} +1 -1
  394. package/dist/twilight/{p-c47e85e9.entry.js → p-e12e156c.entry.js} +1 -1
  395. package/dist/twilight/{p-1208793a.entry.js → p-e21e3a18.entry.js} +1 -1
  396. package/dist/twilight/p-e2300aa7.entry.js +4 -0
  397. package/dist/twilight/{p-745329af.entry.js → p-e29c5879.entry.js} +1 -1
  398. package/dist/twilight/p-e4567da1.entry.js +4 -0
  399. package/dist/twilight/{p-38a8f05e.entry.js → p-e484f70f.entry.js} +1 -1
  400. package/dist/twilight/{p-5ecf2b26.entry.js → p-e48c91a0.entry.js} +1 -1
  401. package/dist/twilight/{p-42cc9b33.entry.js → p-e60ed35e.entry.js} +1 -1
  402. package/dist/twilight/{p-8bfca6eb.entry.js → p-e7df2d02.entry.js} +1 -1
  403. package/dist/twilight/{p-2d705236.entry.js → p-e8737d37.entry.js} +1 -1
  404. package/dist/twilight/{p-99d0fd61.entry.js → p-e90e7777.entry.js} +1 -1
  405. package/dist/twilight/{p-b59b7153.entry.js → p-ec502a59.entry.js} +1 -1
  406. package/dist/twilight/{p-624503ee.entry.js → p-f0088314.entry.js} +1 -1
  407. package/dist/twilight/{p-5ebbec76.entry.js → p-f6d8db91.entry.js} +1 -1
  408. package/dist/twilight/{p-d01e76f4.entry.js → p-f94fcd4d.entry.js} +1 -1
  409. package/dist/twilight/{p-2e8588ca.entry.js → p-fb0e561e.entry.js} +1 -1
  410. package/dist/twilight/{p-D0FlIX_Z.js → p-s-nQXrWR.js} +1 -1
  411. package/dist/twilight/twilight.esm.js +1 -1
  412. package/dist/types/components/salla-bullet-delivery/salla-bullet-delivery.d.ts +32 -0
  413. package/package.json +5 -5
  414. package/dist/twilight/p-031f8d35.entry.js +0 -4
  415. package/dist/twilight/p-097e2ba0.entry.js +0 -4
  416. package/dist/twilight/p-0ccf332d.entry.js +0 -4
  417. package/dist/twilight/p-30256e5f.entry.js +0 -4
  418. package/dist/twilight/p-308cfcab.entry.js +0 -4
  419. package/dist/twilight/p-3cc1582f.entry.js +0 -4
  420. package/dist/twilight/p-3ec34eae.entry.js +0 -4
  421. package/dist/twilight/p-c00d4e23.entry.js +0 -4
  422. package/dist/twilight/p-c137e672.entry.js +0 -4
  423. package/dist/twilight/p-e0750731.entry.js +0 -4
  424. package/dist/twilight/p-f245d317.entry.js +0 -4
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DR8BHH7X.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BvVpL-WS.js';
5
5
  import { W as WishListIcon } from './star-ZT7ehBBk.js';
6
6
  import { C as CheckCircle2 } from './check-circle2-BV4kqbdL.js';
7
7
  import { H as Helper } from './Helper-DFMXF2_h.js';
@@ -1,13 +1,13 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-DR8BHH7X.js';
5
- import { c as closeModals, b as brand_path, f as formattedPointsJsx } from './functions-GnOlk8am.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-BvVpL-WS.js';
5
+ import { c as closeModals, b as brand_path, f as formattedPointsJsx } from './functions-BrNcFMBn.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
7
  import { S as SITag } from './tag-cgSL_BIo.js';
8
8
  import { S as SICheck } from './check-BZp0rKEO.js';
9
9
  import { S as SICancel } from './cancel-8Tsmrwno.js';
10
- import { T as TrackedPromise } from './tracked-promise-BTkBmrok.js';
10
+ import { T as TrackedPromise } from './tracked-promise-C9WWqUqk.js';
11
11
 
12
12
  const sallaLoyaltyProgramCss$3 = "";
13
13
 
@@ -30,7 +30,7 @@ const SallaRewardAction = class {
30
30
  };
31
31
  }
32
32
  render() {
33
- return (h("div", { key: '475f3ee96420af61ec3ed127367a224fa86f7c34', class: "s-loyalty-program-rewards-modal-action" }, this.isShopNow(this.prize) ? (h("a", { href: this.prize.prize_url || salla.url.get(''), class: {
33
+ 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: {
34
34
  's-loyalty-program-rewards-action-base': true,
35
35
  's-loyalty-program-rewards-action-on': true,
36
36
  } }, salla.lang.get('pages.loyalty_program.shop_now'))) : (h("button", { onClick: this.handleClick, class: {
@@ -50,7 +50,7 @@ const SallaRewardCard = class {
50
50
  this.actionClick = createEvent(this, "actionClick");
51
51
  }
52
52
  render() {
53
- return (h(Host, { key: '0c53ae71f95b242db839dd897d7288b2d95b8a64', class: "s-loyalty-program-reward-host" }, h("div", { key: '758426d1813b9dcc47b9c8a4d739d523e9572fff', class: "s-loyalty-program-reward-container" }, h("div", { key: 'f7f5819d9fb48c40fb44cf01d28593103fc62593', onClick: (e) => this.areaClick.emit(e), role: "button" }, h("div", { key: '5b51e12b977e17ca4b0c981ea8c1e275e72fd32e', class: "s-loyalty-program-reward-img" }, h("img", { key: 'bcb3279ef5c20f1bdfefc56e75879f5b186ee81f', alt: "", src: this.prize.image || salla.url.cdn('images/s-empty.png'), class: "s-loyalty-program-rewards-img" })), h("div", { key: '72c3f61805cf30c54e41db61f559e82d56441e7b', class: "s-loyalty-program-reward-content" }, h("div", { key: '0da8285d5913727d662d7d8d42b20c757291db38', class: "s-loyalty-program-reward-points" }, h("salla-badge", { key: 'd2938a93d63abe2ccf9da4bd6f9c5fab902dae49', size: "xs" }, h("span", { key: '6a5d953b0c67edca8f2b74d5fab9de28e14c5b74', innerHTML: SIGift }), h("span", { key: 'a7f50ef7c770fd6e8f729b5e90c38f8e552dbdca', class: "s-loyalty-program-rewards-points" }, this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.points')))), h("div", { key: '52038fccca9e9a725000cff0f09ae27c1df84070', class: "s-loyalty-program-reward-title" }, h("span", { key: 'b584757e9514318eaf12c391055bebf1ef3cc3d3' }, this.prize.group_title)), h("div", { key: 'e07cf257344b9c5885b0e0cbfefd8140d6695689', class: "s-loyalty-program-reward-name" }, h("div", { key: 'b7ee859bdefce896e6aa8edaa33c61fef91a9188', class: "s-loyalty-program-rewards-name", id: `prize-${this.prize.id}` }, this.prize.name, this.prize.description ? `: ${this.prize.description}` : '')))), h("div", { key: '7316be44d9e00d7031a70067100430d283b1a729', class: "p-4" }, h("slot", { key: '5ac564614b3ff5420e7cc74d5e3d3ec4130d38b8', name: "action" }, h("button", { key: '4b8f3d3b3497b842c26be65657b623a1d4f1f6d7', 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')))))));
53
+ 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: SIGift }), 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')))))));
54
54
  }
55
55
  };
56
56
  SallaRewardCard.style = sallaLoyaltyProgramCss$2;
@@ -164,11 +164,11 @@ const SallaRewardDetails = class {
164
164
  }
165
165
  render() {
166
166
  const termsAndConditions = this.getTermsAndConditions();
167
- return (h("div", { key: 'a0d80e9a5a549bb5e57716222ab98b9bcdcd0d7a', class: "s-loyalty-program-reward-modal" }, h("div", { key: 'e085b601651f90de395d04ad06f901554fff1c9c', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: 'ce51fd02e41e864db3bace40315bf8cc40d2aacf', class: "s-loyalty-program-points-modal-info" }, !salla.url.is_page('cart') ? ''
167
+ 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') ? ''
168
168
  : h("button", { class: "s-loyalty-program-back-btn", onClick: () => closeModals(() => salla.event.dispatch('modal::open', 'loyalty-rewards-modal')) }, h("span", { class: {
169
169
  'sicon-arrow-right': document.documentElement.getAttribute('dir') === 'rtl',
170
170
  'sicon-arrow-left': document.documentElement.getAttribute('dir') === 'ltr',
171
- } })), this.prize.name)), h("div", { key: '262fc0c0ba8a2401d0a46f4a31cb142ed71aaee2', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: 'feff3505ef1cadb4b11499f4e5d4c60bc0818c3c', class: "s-loyalty-program-reward-details-header" }, h("div", { key: '6a206193ee11ff9efab3372324220cc081f5ee21', class: "s-loyalty-program-aspect-container" }, h("img", { key: 'a16fd353864eb9052a4418a01c5566fd9fae15e0', src: this.prize.image, alt: this.prize.name })), h("salla-badge", { key: 'f649e1b03bad2ad569425cb26eab179300bb455f', size: "sm", bg: "light" }, h("span", { key: '081b07570d4651792170d2219152ac5943e46219', innerHTML: SIGift }), h("span", { key: '3057fe2961639bf42961f016c01e3f9647946c40', 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: 'e4417eea725e80ec1c6e2b3992a75b03f08792de', class: "s-loyalty-program-reward-info-message" }, h("h1", { key: '023fde4c635d93c4e5ea2cfcb66e903e01f7b901', class: "s-loyalty-program-reward-info-message-heading" }, salla.lang.get('pages.loyalty_program.how_to_benefit_from_this_reward')), h("p", { key: 'ec5a1d1a18ba05ea9f6c8daf323bdf47e851f837', 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' ? '' : [
171
+ } })), 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: SIGift }), 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' ? '' : [
172
172
  h("salla-tab-header", { slot: "header", name: "included", style: {
173
173
  display: this.getItemsMarkers('excluded') === '000' ? 'none' : 'block',
174
174
  } }, h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: SICheck }), h("span", null, salla.lang.get(`pages.loyalty_program.included`))),
@@ -178,7 +178,7 @@ const SallaRewardDetails = class {
178
178
  display: this.getItemsMarkers('included') === '000' ? 'none' : 'block',
179
179
  } }, h("span", { class: "s-loyalty-program-reward-details-tab-icon", innerHTML: SICancel }), h("span", null, salla.lang.get(`pages.loyalty_program.excluded`))),
180
180
  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')))),
181
- ]))), h("salla-reward-action", { key: '0ef437efc19ef2f54da2e185414a2e7e4dc7a82e', onActionClick: e => this.actionClick.emit(e.detail), prize: this.prize })));
181
+ ]))), h("salla-reward-action", { key: '0cd81b0a505e43b9f08ee33ea06619ca393db43b', onActionClick: e => this.actionClick.emit(e.detail), prize: this.prize })));
182
182
  }
183
183
  static get watchers() { return {
184
184
  "prize": ["handlePrizeChange"]
@@ -232,11 +232,11 @@ const SallaRewardExchange = class {
232
232
  this.reset(0);
233
233
  }
234
234
  render() {
235
- return (h(Host, { key: 'bbf843c0e37a56e494ab03443377cf0460e7af3d' }, h("div", { key: '4abbb59df236a8aad2edfceaa5983808095861b9', class: "s-loyalty-program-exchange-heading" }, h("div", { key: '701f4533e21f269626beeb09a91f1cd483fe74ec', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: 'd8008123034729908b05b55a5d360d43ae40e119', innerHTML: SIGift })), h("h2", { key: 'd7d6bdd5f11afd4b5c191f703f1abc073e907e0c' }, salla.lang.get('pages.loyalty_program.redeem_reward')), h("p", { key: 'a252cc2e2dc7724d5e9fddf051d6befe06854536' }, salla.lang.get('pages.loyalty_program.redeem_confirmation'), " ", h("span", { key: '4cb815a1382cfe9ad684c9636def9ff21a4c28ed' }, "(", this.prize.cost_points, " ", salla.lang.get('pages.loyalty_program.point'), ")"), " ", salla.lang.get('pages.loyalty_program.for'), " ", h("span", { key: '0cbbef3bfaf2aea16006f0892b23e8aedba2b564' }, "(", this.prize.name, ")"))), h("div", { key: 'ce38ef18312c8674b2d4b3a5903e7296fc9979f5', class: "s-loyalty-program-exchange-btns" }, h("button", { key: 'fe5d7cec57211d811a6215d48ca8de622bd93e62', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-confirm", onClick: () => this.handleConfirm() }, h("span", { key: 'faf587cbcc53de7ccf761cb2d7a94a8d0cfc813f', style: {
235
+ 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: SIGift })), 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: {
236
236
  opacity: this.exchange.status !== 'pending' ? '1' : '0',
237
- } }, salla.lang.get('common.elements.confirm')), h("span", { key: '0f0cdd023749431d6f31ce760ebe01ac88e6f966', class: "s-loyalty-program-exchange-loading", style: {
237
+ } }, salla.lang.get('common.elements.confirm')), h("span", { key: '28305ea46c0eaf1b751854c38e040ab712004400', class: "s-loyalty-program-exchange-loading", style: {
238
238
  opacity: this.exchange.status === 'pending' ? '1' : '0',
239
- } }, h("salla-loading", { key: '6191c1a572fd552a07b8c7793891398f80554088', color: "primary", size: 24 }))), h("button", { key: '0e8b3aa8ecafcb583cd3de51e3e9e5ade856041c', class: "s-loyalty-program-rewards-action-base s-loyalty-program-rewards-action-cancel", onClick: () => this.handleCancel() }, salla.lang.get('common.elements.cancel')))));
239
+ } }, 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')))));
240
240
  }
241
241
  };
242
242
  __decorate([
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DR8BHH7X.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BvVpL-WS.js';
5
5
  import { S as Search } from './search-BscTeWDc.js';
6
6
 
7
7
  var StoreAlt = `<!-- Generated by IcoMoon.io -->
@@ -158,7 +158,7 @@ const SallaScopees = class {
158
158
  return salla.onReady();
159
159
  }
160
160
  render() {
161
- return (h(Host, { key: '3581a721b9a6863bf54dcdacb1c55ec0c412cf3c' }, h("salla-modal", { key: '3386595177109a490bb3ecada1484dd247e90f58', ref: modal => this.modal = modal, isClosable: !!(this.isOpenedBefore || (this.selection == 'optional')), class: "s-scopes-modal", isLoading: this.loading, "has-skeleton": true }, this.loading ?
161
+ 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 ?
162
162
  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%' }))))
163
163
  :
164
164
  [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 ?
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DR8BHH7X.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-BvVpL-WS.js';
5
5
  import { S as Search } from './search-BscTeWDc.js';
6
6
  import { H as Helper } from './Helper-DFMXF2_h.js';
7
7
  import './anime.es-CgtvEd63.js';
@@ -129,10 +129,10 @@ const SallaSearch = class {
129
129
  this.inputValue.length < 3 ? this.container.classList.remove('s-search-no-results') : '';
130
130
  }
131
131
  render() {
132
- const searchContent = (h("div", { key: 'a850e702d6693b06ee58242bd811f0b3fb79cc65', class: { 's-search-container': true, 's-search-inline': this.inline }, ref: container => (this.container = container) }, h("div", { key: 'b2b35a43bc93c72f30c51171e40ddc1ac859aff4', class: "s-search-input-wrapper" }, h("span", { key: '94734504edd9cb3459f3eefffc5564b576deefab', class: "s-search-icon-wrap" }, h("span", { key: 'f13a3ff73fdb0ad6bfa812263f0d468010565aef', class: "s-search-icon", innerHTML: this.loading ? '<i class="s-search-spinner-loader"/>' : Search })), h("input", { key: 'f687489b95cd7c7ea8915aa3a62e112e5635d641', 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: {
132
+ 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: {
133
133
  height: this.height + 'px',
134
134
  borderRadius: this.oval ? this.height / 2 + 'px' : '',
135
- } }), 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: '6f956b79e1807f04935ad04f31787c61cf29aa5d', class: "s-search-results" }, this.results?.data.map(product => (h("a", { href: product.url + '?from=search-bar', class: {
135
+ } }), 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: {
136
136
  's-search-product': true,
137
137
  's-search-product-not-available': !product.is_available,
138
138
  }, innerHTML: this.productSlot
@@ -141,9 +141,9 @@ const SallaSearch = class {
141
141
  .replace(/\{regular_price\}/g, product.is_on_sale && product.regular_price
142
142
  ? salla.money(product.regular_price)
143
143
  : '')
144
- .replace(/\{image\}/g, product.image.url) }))), h("p", { key: '1199156eebec6857f934bf53e065958a88b72b3f', ref: el => (this.noResults = el), class: "s-search-no-results-placeholder" }, salla.lang.get('common.elements.no_options')))));
145
- const modalContent = (h("salla-modal", { key: 'ca437b25a044e96106287ab908f17f2e51efb7b0', position: "top", class: "s-search-modal", ref: modal => (this.modal = modal) }, searchContent));
146
- const placeholderContent = (h("div", { key: '3af263b5044834c010d78ece354f91a7b50278cf', class: "s-search-placeholder-wrapper s-search-inline" }, h("div", { key: '970543471b3b069dea4a0e90f4c7512d2603b260', class: "s-search-input-wrapper" }, h("span", { key: '8d6ae3860975ef7b5870f3e1fe4176b2e6c5bfc5', class: "s-search-icon-wrap" }, h("span", { key: 'b37851998a7c2f7699dc473470985ea0f3b836c8', class: "s-search-icon", innerHTML: Search })), h("button", { key: 'c4b63f42425f646af93421ba55e0d3335792dd88', type: "button", class: "s-search-input s-search-placeholder-trigger", onClick: () => this.open(), style: {
144
+ .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')))));
145
+ const modalContent = (h("salla-modal", { key: '750da3f95c88a25660ef8a6e8f0bce1ca925174e', position: "top", class: "s-search-modal", ref: modal => (this.modal = modal) }, searchContent));
146
+ 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
147
  height: this.height + 'px',
148
148
  borderRadius: this.oval ? this.height / 2 + 'px' : '',
149
149
  } }, salla.lang.get('blocks.header.search_placeholder'))), modalContent));
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DR8BHH7X.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BvVpL-WS.js';
5
5
 
6
6
  const sallaSkeletonCss = ":host{display:block}";
7
7
 
@@ -26,7 +26,7 @@ const SallaSkeleton = class {
26
26
  's-skeleton-item': true,
27
27
  's-skeleton-item-circular': this.type == 'circle',
28
28
  };
29
- return (h(Host, { key: '2e14c27cb5a5403df46898ec1ae460fdd92f651f', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: '771d8d0c6640486cab15a70e47e8418edc77863e', class: classes }, "\u00A0")));
29
+ return (h(Host, { key: 'b422224774ac8c293a22fa184f5987f427751291', class: "s-skeleton-wrapper", style: { width: this.width, height: this.height } }, h("div", { key: 'a495f0c9d0c34831e5cbfba632a671dd472157b5', class: classes }, "\u00A0")));
30
30
  }
31
31
  };
32
32
  SallaSkeleton.style = sallaSkeletonCss;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DR8BHH7X.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BvVpL-WS.js';
5
5
  import { a as ArrowRightIcon, A as ArrowLeftIcon } from './keyboard_arrow_right-Vqpj4CWE.js';
6
6
 
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DR8BHH7X.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-BvVpL-WS.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
  import { f as facebook, t as twitter } from './facebook-CO-PeZ27.js';
7
7
  import { S as SIMail } from './mail-DLNIOD9t.js';
@@ -148,7 +148,7 @@ const SallaSocialShare = class {
148
148
  window.a2a?.init('page');
149
149
  }
150
150
  render() {
151
- return (h("div", { key: 'e8585bb94b5e8c8b3136fa242bccdbf5406b350e', class: "s-social-share-wrapper" }, h("slot", { key: '15e2187a3df06ccb32b505d5437ebcf9241046a4', name: 'widget' }, h("salla-button", { key: '99467cafadf06a67b087e6ba13709d0d1a612ecc', "aria-label": "Share", onClick: () => this.open(), class: "s-social-share-btn", shape: "icon", fill: "outline", color: "light" }, h("span", { key: '2b6538e88a074cd769af24b72f2629e21dff45a5', innerHTML: this.opened ? SICancel : ShareAlt }))), h("ul", { key: 'dc42096ad383c9e7504c5e132e8fe65f25192748', 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 => {
151
+ 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 ? SICancel : 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 => {
152
152
  return (h("li", null, h("a", { class: `a2a_button_${platform}`, "aria-label": `Share Via ${platform}` }, this.platformIcons.map((icon) => {
153
153
  if (icon.name === platform) {
154
154
  return h("span", { class: "s-social-share-icon", innerHTML: icon.icon });
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DR8BHH7X.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BvVpL-WS.js';
5
5
  import { f as facebook, t as twitter } from './facebook-CO-PeZ27.js';
6
6
 
7
7
  var instagram = `<!-- Generated by IcoMoon.io -->
@@ -55,7 +55,7 @@ const SallaSocial = class {
55
55
  }
56
56
  render() {
57
57
  const linksArray = this.getLinksArray();
58
- return (h(Host, { key: '921a2e9387ec6d8c450f222ecbb36f81be06cb30' }, h("ul", { key: 'b65fa02b40dcd077ec89076aea55f9cc664eb92e', class: "s-social-list" }, linksArray.map((link) => (h("li", { class: "s-social-link" }, h("div", { id: "social-slot", innerHTML: this.socialSlot
58
+ 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
59
  .replace(/\{icon\}/g, this.iconsList[link.type])
60
60
  .replace(/\{type\}/g, link.type)
61
61
  .replace(/\{link\}/g, link.value.toString()) })))))));
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, c as createEvent, a as getElement } from './index-DR8BHH7X.js';
4
+ import { r as registerInstance, h, c as createEvent, a as getElement } from './index-BvVpL-WS.js';
5
5
 
6
6
  const sallaTabContentCss = "";
7
7
 
@@ -31,7 +31,7 @@ const SallaTabContent = class {
31
31
  's-tabs-content': true,
32
32
  's-tabs-content-selected': this.isSelected
33
33
  };
34
- return (h("div", { key: '32762c93a41db3a20cd9fa98db182af388ecb084', class: classes }, h("slot", { key: '40caefc56a772c6f3f9a41650aec01a72e9e899b' })));
34
+ return (h("div", { key: '07449e9a8c02669df01af980ab470769b22ceaae', class: classes }, h("slot", { key: 'e48efaef70082540834811f60f9a475a2cbb35ea' })));
35
35
  }
36
36
  };
37
37
  SallaTabContent.style = sallaTabContentCss;
@@ -90,7 +90,7 @@ const SallaTabHeader = class {
90
90
  's-tabs-active': this.isSelected,
91
91
  };
92
92
  return [
93
- h("div", { key: 'ac33877e26aac4d67f1d0f1dfdd6f34197739d8f', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: 'bc8b9b519b480f0df2203b06bde1b82086f48a1e' })),
93
+ h("div", { key: '74998651760e992ecd7156a2c65fe03e09cfb365', class: classes, onClick: this.onClick.bind(this) }, h("slot", { key: '061767388550a7d4841aeb8ad447c5c3084410cb' })),
94
94
  ];
95
95
  }
96
96
  };
@@ -143,7 +143,7 @@ const SallaTabs = class {
143
143
  }
144
144
  render() {
145
145
  return [
146
- h("div", { key: 'b9b534860c70c17b22cad198696b80a5fae10d90', class: "s-tabs" }, h("div", { key: '7285d740077583bf211e7744d2db22e361989778', class: "s-tabs-header" }, h("slot", { key: '951159808cd26ce4994cbf69a3b0bed6100929dd', name: "header" })), h("div", { key: 'db550a026743862e8056b1a0f361da06cb78b4a3', class: "s-tabs-content-wrapper" }, h("slot", { key: '3b5dacf111e5e911c1f821e38bcbf578699cae33', name: "content" })))
146
+ 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" })))
147
147
  ];
148
148
  }
149
149
  get host() { return getElement(this); }
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DR8BHH7X.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BvVpL-WS.js';
5
5
 
6
6
  var DiscountType;
7
7
  (function (DiscountType) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-DR8BHH7X.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-BvVpL-WS.js';
5
5
 
6
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}";
7
7
 
@@ -31,7 +31,7 @@ const SallaTooltip = class {
31
31
  }
32
32
  render() {
33
33
  const validTheme = ['default', 'dark'].includes(this.theme) ? this.theme : 'default';
34
- return (h("div", { key: 'e88949e9f1d97170bc61a0ab37e221863b9bc79f', class: "s-tooltip-container" }, h("div", { key: '1e65ce349cab58449512ba02ab11028de7fd6aa4', class: `s-tooltip-item s-tooltip-item--${validTheme}`, style: { display: this.show ? 'block' : 'none' } }, this.text ? h("span", null, this.text) : h("slot", null))));
34
+ 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
35
  }
36
36
  get el() { return getElement(this); }
37
37
  };
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DR8BHH7X.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BvVpL-WS.js';
5
5
 
6
6
  const sallaTrustBadgesCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-DR8BHH7X.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-BvVpL-WS.js';
5
5
  import { A as ArrowDown } from './keyboard_arrow_down-DCZbpt2a.js';
6
6
  import { B as BellRing } from './bell-ring-D3mWkc-3.js';
7
7
  import { P as PendingOrdersIcon } from './cart-DY4LZmNP.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-DR8BHH7X.js';
4
+ import { r as registerInstance, h } from './index-BvVpL-WS.js';
5
5
  import { G as Genders } from './interfaces-OF8QcbMM.js';
6
6
 
7
7
  const sallaUserProfileCss = ":host{display:block}";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DR8BHH7X.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BvVpL-WS.js';
5
5
 
6
6
  var Bullhorn = `<!-- Generated by IcoMoon.io -->
7
7
  <svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
@@ -78,7 +78,7 @@ const SallaUserSettings = class {
78
78
  await salla.profile.delete().finally(() => this.confirmationModal.close());
79
79
  }
80
80
  render() {
81
- return (h(Host, { key: 'c130220b738d80f14cd4000b9eb4dd20df77980f', class: "s-user-settings-wrapper" }, this.canHideName && h("div", { key: '2bf49761f3437963ac75a6407d7ec98592417b3a', class: "s-user-settings-section" }, h("salla-list-tile", { key: '8a3c57c305433e0172175118b72e36901ca43fda' }, h("div", { key: '126853187b1c957f5a7bd81c0341bae24e8d87ea', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '0796752200d217095580a0855b8cb3c275b025ec', innerHTML: UserCancel })), h("div", { key: '6a2fb48adf9a08f2853f641f88d5744f1e5e79fd', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.hideMyName)), h("div", { key: '57d60c74311b8e556008ab1bfefc3dbc7fe14d26', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.hideMyNameDesc)), h("div", { key: '670446bf37f6aa476810e890d4f79904e39f5e72', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: 'aea20b164e6b47d3b23b55fd9d8ee445dc0515fe', class: "s-toggle" }, h("input", { key: '9fc592118faa754525faa49023909b6b1c62823a', class: "s-toggle-input", checked: this.isHiddenName, onChange: (e) => this.toggleSetting('is_hidden_name', e), type: "checkbox" }), h("div", { key: '485fb4402cb435fa55fd44b139bacc4502c9dd27', class: "s-toggle-switcher" }))))), h("div", { key: '2437e14c095e28e1cc626cb1cbf71dbd8337d954', class: "s-user-settings-section" }, h("salla-list-tile", { key: 'cec0fbe6bbfe56eff1054869f300b905c515bd4c' }, h("div", { key: '3c3a370d9eac62dc871eebad8329e75e6395d3fa', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '70d16c4a2bc42eac766273ca05f67d176c6d4374', innerHTML: Bullhorn })), h("div", { key: 'c341c8ad97cd2fffce8e3af294bfae434314a2e4', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.promotionalMsgs)), h("div", { key: '54bd0cc88488863f55a9104d04a9df78f3eb6bd7', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.promotionalMsgsDesc)), h("div", { key: 'f5efcfb1466f3df26ff8820ccdd85a73d6395fef', slot: 'action', class: "s-user-settings-section-action" }, h("label", { key: '8f1eaf0951abad13e01a0027a7975e50ad831094', class: "s-toggle" }, h("input", { key: '39ce354fc1d64e1540710fa06230e527c0bb0234', class: "s-toggle-input", checked: this.isNotifiable, onChange: (e) => this.toggleSetting('is_notifiable', e), type: "checkbox" }), h("div", { key: 'a40a9bbc22a3fd7a49a66fb4808abe79ad2d792e', class: "s-toggle-switcher" }))))), h("div", { key: '1ae760df718ca439c7cb1010c778b1b8f61f1b8f', class: "s-user-settings-section s-user-settings-section-deactivate-user" }, h("salla-list-tile", { key: 'da1fbd3e37d9ab35b4dac164801acfb55650e054' }, h("div", { key: '59f89006b21a2ff7bdcf63d16e5f67256877ce1d', slot: "icon", class: "s-user-settings-section-icon" }, h("span", { key: '53711d6f97340b6a1e3a430dbda8430adbcb00d0', innerHTML: UserOff })), h("div", { key: '485ddc81c283c70b948a9acab40c97e4dde8795b', slot: "title", class: "s-user-settings-section-title" }, this.capitalizeText(this.deactivateAccount)), h("div", { key: '10624a62c0b9bf822a2087d36f4d4ce77548c6dd', slot: "subtitle", class: "s-user-settings-section-subtitle" }, this.capitalizeText(this.deactivateDesc)), h("div", { key: 'f023d0193586f778860fda0b567eac30b9e913f5', slot: 'action', class: "s-user-settings-section-action" }, h("salla-button", { key: 'ffb0af3f744c8ae24a1143d577e2b8a065bad7d1', fill: "outline", color: "danger", shape: "btn", size: "medium", width: "normal", onClick: () => this.openDeactivateModal() }, this.capitalizeText(this.deactivateAccount))))), h("salla-modal", { key: 'ab93ecef93e4b79bcdade007ecfaea01631045bd', width: "sm", subTitle: this.capitalizeText(this.sorryForLeavingText), ref: modal => this.confirmationModal = modal }, h("span", { key: '50764fa29f599b2163f81ee110f98e41900e6d82', slot: 'icon', class: "s-user-settings-confirmation-icon", innerHTML: UserOff }), h("div", { key: '8c32d8c06fd1a86b1b585b648e4c66d8af89b2db', class: "s-user-settings-confirmation" }, h("div", { key: 'd5207ec65164615618977308a9a73a604fa5f122', class: "s-user-settings-confirmation-warning" }, this.capitalizeText(this.warningText)), h("div", { key: '7c1c4070c63620f995a14103426d54bbdf4cc4c5', class: "s-user-settings-confirmation-actions" }, h("salla-button", { key: '6ec7b830b1efd9d0acbe17a013d3ce3be2f0532b', width: "wide", onClick: () => this.confirmationModal.close() }, this.capitalizeText(this.keepAccount)), h("salla-button", { key: '17929fee163ae7088656ee54698444ef477b8e41', fill: 'outline', loading: this.buttonLoading, width: "wide", onClick: () => this.deleteAccount() }, this.capitalizeText(this.deactivateAccount)))))));
81
+ 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)))))));
82
82
  }
83
83
  };
84
84
  SallaUserSettings.style = sallaUserSettingsCss;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-DR8BHH7X.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-BvVpL-WS.js';
5
5
  import { S as SIMail } from './mail-DLNIOD9t.js';
6
6
 
7
7
  var AndroidPhoneIcon = `<!-- Generated by IcoMoon.io -->
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-DR8BHH7X.js';
4
+ import { r as registerInstance, h, H as Host } from './index-BvVpL-WS.js';
5
5
 
6
6
  const sallaWalletCss = ".s-wallet-table{min-width:100%}.s-wallet-table-balance-container{display:flex !important;align-items:center !important;justify-content:flex-start !important;gap:1rem}.s-wallet-table-balance-icon{border-radius:50%;width:52px;height:52px;font-size:25px;padding:16px 13px;background:var(--color-primary-reverse);color:var(--color-primary)}.s-wallet-table-empty-state{display:flex;flex-direction:column;align-items:center}.s-wallet-table-empty-state i{font-size:80px;margin:4rem 0 2rem;color:var(--infinte-color)}.s-wallet-table-transaction-status{padding:6px 19px !important;border-radius:20px;width:max-content;display:flex;align-items:center}.s-wallet-table-transaction-status-default{background:#fff6eb;color:#a46f29}.s-wallet-table-transaction-status-cashback{background:#effbf6;color:#00af6c}.s-wallet-table-transaction-status-refund{background:#ecf3fe;color:#5196f3}.s-wallet-table-transaction-status-purchase{background:#feecec;color:#f55157}.s-wallet-table-transaction-status-icons-success{color:#00af6c}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { f as forceUpdate } from './index-DR8BHH7X.js';
4
+ import { f as forceUpdate } from './index-BvVpL-WS.js';
5
5
 
6
6
  function TrackedPromise(fn, options = {}) {
7
7
  options = Object.assign({ initialData: undefined, initialStatus: 'idle' }, options);
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { p as promiseResolve, g as globalScripts, b as bootstrapLazy } from './index-DR8BHH7X.js';
5
- export { s as setNonce } from './index-DR8BHH7X.js';
4
+ import { p as promiseResolve, g as globalScripts, b as bootstrapLazy } from './index-BvVpL-WS.js';
5
+ export { s as setNonce } from './index-BvVpL-WS.js';
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Browser v4.35.1 | MIT Licensed | https://stenciljs.com
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-DR8BHH7X.js';
4
+ import { d as getDefaultExportFromCjs } from './index-BvVpL-WS.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{r as t,h as s,H as a}from"./p-DR8BHH7X.js";const l=class{constructor(s){t(this,s),this.order=null,this.loading=!0}async componentWillLoad(){await salla.onReady(),await this.loadOrder()}async onOrderIdChange(){this.loading=!0,this.order=null,await this.loadOrder()}get paymentUrl(){return this.order?.customer_editing?.payment_url}async loadOrder(){const t=this.orderId||salla.config.get("page.id");if(t)try{const s=await salla.order.api.getDetails(t);this.order=s?.data??s??null}catch(t){salla.logger?.warn?.("[salla-edit-order-button] failed to fetch order details",t),this.order=null}finally{this.loading=!1}else this.loading=!1}renderEditButton(){return s("salla-count-down",{prefixText:salla.lang.getWithDefault("pages.orders.edit_within","يمكنك التعديل خلال"),buttonHref:this.order?.edit_url,buttonText:salla.lang.getWithDefault("pages.orders.edit_order","تعديل الطلب"),buttonIcon:"sicon-edit",date:this.order?.editable_until,horizontal:!0,autoSegments:!0,withButton:!0,labeled:!1,size:"sm",color:"primary"})}render(){return this.loading||!this.order?null:this.order?.is_editable?s(a,null,this.renderEditButton()):this.paymentUrl?s(a,null,s("salla-button",{href:this.paymentUrl,color:"primary",size:"small"},s("i",{class:"sicon-wallet"}),salla.lang.getWithDefault("pages.orders.pay_difference","دفع فارق المبلغ"))):null}static get watchers(){return{orderId:["onOrderIdChange"]}}};l.style=":host{display:block}";export{l as salla_edit_order_button}
4
+ import{r as t,h as s,H as a}from"./p-BvVpL-WS.js";const l=class{constructor(s){t(this,s),this.order=null,this.loading=!0}async componentWillLoad(){await salla.onReady(),await this.loadOrder()}async onOrderIdChange(){this.loading=!0,this.order=null,await this.loadOrder()}get paymentUrl(){return this.order?.customer_editing?.payment_url}async loadOrder(){const t=this.orderId||salla.config.get("page.id");if(t)try{const s=await salla.order.api.getDetails(t);this.order=s?.data??s??null}catch(t){salla.logger?.warn?.("[salla-edit-order-button] failed to fetch order details",t),this.order=null}finally{this.loading=!1}else this.loading=!1}renderEditButton(){return s("salla-count-down",{prefixText:salla.lang.getWithDefault("pages.orders.edit_within","يمكنك التعديل خلال"),buttonHref:this.order?.edit_url,buttonText:salla.lang.getWithDefault("pages.orders.edit_order","تعديل الطلب"),buttonIcon:"sicon-edit",date:this.order?.editable_until,horizontal:!0,autoSegments:!0,withButton:!0,labeled:!1,size:"sm",color:"primary"})}render(){return this.loading||!this.order?null:this.order?.is_editable?s(a,null,this.renderEditButton()):this.paymentUrl?s(a,null,s("salla-button",{href:this.paymentUrl,color:"primary",size:"small"},s("i",{class:"sicon-wallet"}),salla.lang.getWithDefault("pages.orders.pay_difference","دفع فارق المبلغ"))):null}static get watchers(){return{orderId:["onOrderIdChange"]}}};l.style=":host{display:block}";export{l as salla_edit_order_button}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{r as s,h as t,H as i}from"./p-DR8BHH7X.js";const r=class{constructor(t){s(this,t),this.placeholderImage=salla.url.cdn("images/s-empty.png")}getProductImage(){return this.productDetails?.image?"string"==typeof this.productDetails.image?this.productDetails.image:this.productDetails.image.url||this.placeholderImage||salla.url.cdn("images/s-empty.png"):this.placeholderImage}getProductImageAlt(){return this.productDetails?.image&&"string"!=typeof this.productDetails.image?this.productDetails.image.alt||this.productDetails?.name||"":this.productDetails?.name||""}getAccordionId(){return`accordion-${this.productDetails?.id||"default"}`}getAccordionKey(){return this.productDetails?.id||"default"}shouldBeCollapsible(){return void 0!==this.collapsible?this.collapsible:this.productDetails?.options?.length>0}renderOptions(){return this.productDetails?.options?.length?t("salla-accordion-body",null,t("div",{class:"s-order-details-options"},t("salla-order-details-options",{options:this.productDetails.options}))):null}render(){if(!this.productDetails)return null;const s=this.shouldBeCollapsible();return t(i,{class:"s-order-details-bundle-wrapper"},t("salla-accordion",{key:this.getAccordionKey(),collapsed:!1,bordered:!0,collapsible:s,id:this.getAccordionId(),size:"sm"},t("salla-accordion-head",null,t("div",{class:"s-order-details-product"},t("div",{class:"s-order-details-product-content"},t("div",{class:"s-order-details-product-info"},t("div",{class:"s-order-details-product-image"},t("img",{src:this.getProductImage(),alt:this.getProductImageAlt()})),t("div",{class:"s-order-details-product-details"},t("a",{href:this.productDetails?.url||"#",class:"s-order-details-product-name"},this.productDetails?.name||""),this.productDetails?.quantity&&t("span",{class:"s-order-details-product-quantity"},"×",this.productDetails.quantity)))))),this.renderOptions()))}};r.style="";export{r as salla_order_details_multiple_bundle_product}
4
+ import{r as s,h as t,H as i}from"./p-BvVpL-WS.js";const r=class{constructor(t){s(this,t),this.placeholderImage=salla.url.cdn("images/s-empty.png")}getProductImage(){return this.productDetails?.image?"string"==typeof this.productDetails.image?this.productDetails.image:this.productDetails.image.url||this.placeholderImage||salla.url.cdn("images/s-empty.png"):this.placeholderImage}getProductImageAlt(){return this.productDetails?.image&&"string"!=typeof this.productDetails.image?this.productDetails.image.alt||this.productDetails?.name||"":this.productDetails?.name||""}getAccordionId(){return`accordion-${this.productDetails?.id||"default"}`}getAccordionKey(){return this.productDetails?.id||"default"}shouldBeCollapsible(){return void 0!==this.collapsible?this.collapsible:this.productDetails?.options?.length>0}renderOptions(){return this.productDetails?.options?.length?t("salla-accordion-body",null,t("div",{class:"s-order-details-options"},t("salla-order-details-options",{options:this.productDetails.options}))):null}render(){if(!this.productDetails)return null;const s=this.shouldBeCollapsible();return t(i,{class:"s-order-details-bundle-wrapper"},t("salla-accordion",{key:this.getAccordionKey(),collapsed:!1,bordered:!0,collapsible:s,id:this.getAccordionId(),size:"sm"},t("salla-accordion-head",null,t("div",{class:"s-order-details-product"},t("div",{class:"s-order-details-product-content"},t("div",{class:"s-order-details-product-info"},t("div",{class:"s-order-details-product-image"},t("img",{src:this.getProductImage(),alt:this.getProductImageAlt()})),t("div",{class:"s-order-details-product-details"},t("a",{href:this.productDetails?.url||"#",class:"s-order-details-product-name"},this.productDetails?.name||""),this.productDetails?.quantity&&t("span",{class:"s-order-details-product-quantity"},"×",this.productDetails.quantity)))))),this.renderOptions()))}};r.style="";export{r as salla_order_details_multiple_bundle_product}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{r as s,h as e,a as t}from"./p-DR8BHH7X.js";var o,i;!function(s){s.ProductDetail="product.single",s.Cart="cart"}(o||(o={})),function(s){s.Conditional="conditional",s.PercentageOrFixed="fixed",s.DiscountsTable="discounts_table",s.Bank="bank",s.BuyXGetY="buy_x_get_y",s.SpecialPrice="special_price",s.Percentage="percentage",s.FixedAmount="fixed_amount"}(i||(i={}));const r=class{constructor(e){s(this,e),this.productCardComponent="salla-product-card",this.offersList=[],this.canRender=!1,this.showOffer=salla.config.get("store.settings.product.show_special_offers"),this.showAllOffersModal=!1,this.showProductsModal=!1,this.selectedOfferProducts=[],this.collapsedOffers={},this.expandedCategories={},this.productsLoaded=!1,this.offer_with_price_text=salla.lang.get("pages.offer.with_price",{price:""}),this.with_discount_text=salla.lang.get("pages.products.with_a_discount"),this.product_discount_text=salla.lang.get("pages.products.discount"),this.special_offer_text=salla.lang.get("pages.products.special_offer"),this.buy_quantity_text=s=>salla.lang.get("pages.offer.buy_quantity",{quantity:s}),this.products_link_text=salla.lang.get("pages.offer.included_products","المنتجات المشمولة"),this.min_spend_text=(s,e)=>salla.lang.get("pages.offer.min_spend_amount",{amount:s,currency:e},`بحد أدنى ${s} ${e} من مبلغ الشراء`),this.min_items_text=s=>salla.lang.get("pages.offer.min_items",{items:s},`بحد أدنى ${s} منتجات`),this.product_text=salla.lang.get("common.elements.product","منتج"),salla.lang.onLoaded((()=>{this.offer_with_price_text=salla.lang.get("pages.offer.with_price"),this.with_discount_text=salla.lang.get("pages.products.with_a_discount"),this.product_discount_text=salla.lang.get("pages.products.discount"),this.special_offer_text=salla.lang.get("pages.products.special_offer"),this.buy_quantity_text(0),this.products_link_text=salla.lang.get("pages.offer.included_products","المنتجات المشمولة"),this.min_spend_text=(s,e)=>salla.lang.get("pages.offer.min_spend_amount",{amount:s,currency:e},`بحد أدنى ${s} ${e} من مبلغ الشراء`),this.min_items_text=s=>salla.lang.get("pages.offer.min_items",{items:s},`بحد أدنى ${s} منتجات`),this.product_text=salla.lang.get("common.elements.product","منتج")})),salla.onReady((()=>{this.currentPage=salla.config.get("page.slug");const s=salla.config.get("currencies")||{},e=salla.config.get("user.currency_code");this.userCurrency=s[e]||{symbol:"",code:e||"SAR",name:""}}))}async getEndpointByPageName(){return this.currentPage==o.Cart?`offers/cart/${await Salla.cart.getCurrentCartId()}`:this.currentPage==o.ProductDetail?`offers/product/${salla.config.get("page.id")}`:"offers"}emitPromotionViewed(){if(!(this.offersList.length&&this.canRender&&this.showOffer))return;const s=this.offersList.slice(0,5).map(((s,e)=>({id:s.id,name:s.title,creative:s.description||"",position:e+1})));salla.event.emit("salla::offer.promotion.viewed",s)}emitPromotionClicked(s,e=1){if(!(this.offersList.length&&this.canRender&&this.showOffer))return;const t=s||this.offersList[0];salla.event.emit("salla::offer.promotion.clicked",[{id:t.id,name:t.title,creative:t.description||"",position:e}])}componentWillLoad(){return this.hasCustomComponent=!!customElements.get(this.productCardComponent),new Promise((s=>salla.onReady(s))).then((()=>{if(this.showOffer=!salla.url.is_page("product.single")||salla.config.get("store.settings.product.show_special_offers"),!this.showOffer)throw new Error("Merchant disabled showing the offers on product page")})).then((async()=>salla.api.request(await this.getEndpointByPageName()))).then((async s=>{if(!(this.offersList=s.data).length)throw new Error("salla-offers:: There is no offers!");if(this.offersList=this.offersList.filter((s=>[i.SpecialPrice,i.Bank,i.BuyXGetY,i.DiscountsTable,i.PercentageOrFixed,i.Percentage,i.FixedAmount].includes(s.type))),!this.offersList.length)throw new Error("salla-offers:: No supported offer types found!");let e=null;this.offersList.some((s=>{const e=s.details;return"category"===e.apply_to&&e.targets||"categories"===e.apply_to&&e.targets||s.type===i.BuyXGetY&&("categories"===e.get?.source||"category"===e.get?.source)}))&&(e=(await salla.product.api.categories()).data);const t=new Set;for(const s of this.offersList){const e=s.details;"product"!==e.apply_to&&"products"!==e.apply_to||!e.targets||e.targets.forEach((s=>t.add(s))),s.type===i.BuyXGetY&&"products"===e.get?.source&&e.get?.source_value&&e.get.source_value.forEach((s=>t.add(s))),s.type!==i.BuyXGetY||"products"!==e.buy?.source&&"product"!==e.buy?.source||!e.buy?.source_value||e.buy.source_value.forEach((s=>t.add(s)))}let o={};if(t.size>0)try{const s=await salla.product.api.fetch({source:"selected",source_value:Array.from(t)});o=Object.fromEntries(s.data.map((s=>[s.id,s])))}catch(s){o={}}for(const s of this.offersList){const t=s.details;if(("category"===t.apply_to&&t.targets||"categories"===t.apply_to&&t.targets)&&e&&(t.categories=this.findCategories(e,t.targets)),"product"!==t.apply_to&&"products"!==t.apply_to||!t.targets||(t.products=t.targets.map((s=>o[s])).filter(Boolean)),"brand"===t.apply_to&&t.targets&&(t.brands=t.targets),"tag"===t.apply_to&&t.targets&&(t.tags=t.targets),s.type===i.BuyXGetY&&t.get){const s=t.get;"products"===s.source&&s.source_value?s.products=s.source_value.map((s=>o[s])).filter(Boolean):("categories"===s.source||"category"===s.source)&&e&&s.source_value&&(s.categories=this.findCategories(e,s.source_value),t.categories=s.categories)}if(s.type===i.BuyXGetY&&t.buy){const s=t.buy;"products"!==s.source&&"product"!==s.source||!s.source_value||(s.products=s.source_value.map((s=>o[s])).filter(Boolean))}}return this.offersList})).then((()=>{this.canRender=!0})).catch((s=>{salla.logger.warn(s)}))}componentDidLoad(){let s=this.host.querySelector(".s-slider-block__title-nav");s?.classList.add("s-offer-bank-payment-nav"),this.emitPromotionViewed()}findCategories(s,e){let t=[];for(const o of s)e.includes(o.id_||o.id)&&t.push(o),o.sub_categories?.length>0&&(t=t.concat(this.findCategories(o.sub_categories,e)));return t}render(){if(!this.offersList.length||!this.canRender||!this.showOffer)return null;const s=salla.lang.get("pages.offer.offers_title","عروض المنتج"),t=salla.lang.get("pages.offer.offers_subtitle","احصل على المنتج بسعر مخفض مع أفضل العروض");return[e("div",{class:"s-offer-wrapper"},e("salla-slider",{type:"carousel",id:"offers-slider","block-title":s,"block-subTitle":t,"show-controls":this.offersList.length>1},e("div",{slot:"items"},this.offersList.slice(0,5).map(((s,e)=>this.renderOfferCard(s,e+1))),this.offersList.length>5&&this.renderShowMoreCard()))),this.renderAllOffersModal(),this.renderProductsModal()]}renderShowMoreCard(){return e("div",{class:"s-offer-slide-one-fourth swiper-slide",onClick:s=>{s.preventDefault(),s.stopPropagation(),this.openAllOffersModal()}},e("div",{class:"s-offer-card s-offer-show-more-card"},e("i",{class:"sicon-add s-offer-show-more-icon"}),e("h3",{class:"s-offer-show-more-title"},salla.lang.get("pages.offer.show_more_offers","عرض المزيد من العروض"))))}openAllOffersModal(){this.showAllOffersModal=!0}closeAllOffersModal(){this.showAllOffersModal=!1}closeProductsModal(){this.showProductsModal=!1,this.selectedOfferProducts=[],this.productsLoaded=!1}handleAccordionToggle(s,e){this.collapsedOffers={...this.collapsedOffers,[s]:e}}getOfferProducts(s){const e=s.details;return e.products&&e.products.length>0?e.products:s.type===i.BuyXGetY&&e.get?.products?e.get.products:[]}renderProductsLinkForModalCard(s,t){const o=this.getOfferProducts(s);return o&&0!==o.length?e("div",{class:"s-offer-products-link",onClick:s=>{s.stopPropagation(),this.selectedOfferProducts=o,this.showProductsModal=!0}},e("span",{class:"s-offer-products-link-text"},this.products_link_text),t&&e("i",{class:"sicon-keyboard_arrow_down s-offer-products-link-icon"})):null}renderAllOffersModal(){return e("salla-drawer",{visible:this.showAllOffersModal,position:"right",width:"md","no-padding":!0,"drawer-title":salla.lang.get("pages.offer.all_offers_title","جميع العروض"),onDrawerVisibilityChanged:s=>!s.detail&&this.closeAllOffersModal()},e("div",{class:"s-offer-drawer-content"},this.offersList.map(((s,e)=>this.renderModalOfferCard(s,e+1)))))}renderProductsModal(){return e("salla-drawer",{visible:this.showProductsModal,width:"md",position:"right","no-padding":!0,"drawer-title":this.products_link_text,onDrawerVisibilityChanged:s=>!s.detail&&this.closeProductsModal()},e("div",{class:"s-offer-products-drawer-content"},this.selectedOfferProducts?.length>0?e("div",null,!this.productsLoaded&&e("div",{class:"flex items-center justify-center p-8"},e("salla-loading",{size:"24"})),e("salla-products-list",{source:"selected","source-value":JSON.stringify(this.selectedOfferProducts.map((s=>s.id))),"product-card-component":this.productCardComponent,"horizontal-cards":!0,"compact-cards":!0,includes:["images"],onProductsFetched:()=>this.productsLoaded=!0})):e("div",{class:"p-4 text-center text-gray-500"},salla.lang.get("blocks.products.no_products_found","لا توجد منتجات"))))}renderModalOfferCard(s,t=1){const o=this.getOfferProducts(s),r=o&&o.length>0,a=!1!==this.collapsedOffers[s.id];return e("div",{class:"s-offer-drawer-card"},e("div",{class:"s-offer-card-main",onClick:()=>this.emitPromotionClicked(s,t)},e("div",{class:"s-offer-card-icon"},this.getOfferIcon(s.type)),e("div",{class:"s-offer-card-content"},e("h3",{class:"s-offer-card-title",title:s.title},s.title),s.description&&e("p",{class:"s-offer-card-description"},s.description),s.type===i.DiscountsTable?e("div",{class:"s-offer-card-details"},this.renderDiscountTableOfferContent(s)):s.type===i.PercentageOrFixed||s.type===i.Percentage||s.type===i.FixedAmount?e("div",{class:"s-offer-card-details"},this.renderPercentageOrFixedOfferContent(s),this.renderOfferCategories(s),this.renderOfferBrands(s),this.renderOfferTags(s)):e("div",{class:"s-offer-card-details"},this.renderOfferCategories(s),this.renderOfferBrands(s),this.renderOfferTags(s)))),r&&e("salla-accordion",{collapsed:a,collapsible:!0,size:"sm",onClick:s=>s.stopPropagation(),onAccordionToggle:e=>this.handleAccordionToggle(s.id,e.detail.payload.collapsed)},e("salla-accordion-head",{collapsible:!0,collapsed:a},e("div",{slot:"title",class:"s-offer-products-thumbnails"},e("span",{class:"s-offer-products-title"},this.products_link_text,e("i",{class:`sicon-keyboard_arrow_${a?"down":"up"} s-offer-products-link-icon`})),e("div",{class:"s-offer-products-thumbnails-stack"},o.slice(0,3).map(((s,t)=>e("div",{class:"s-offer-product-thumbnail",style:{zIndex:`${t+1}`}},e("img",{src:s.thumbnail||s.image?.url||salla.url.cdn("images/s-empty.png"),alt:s.name})))),o.length>3&&e("div",{class:"s-offer-products-more-count",style:{zIndex:"7"}},"+",o.length-3)))),e("salla-accordion-body",null,e("div",{class:"s-offer-products-content"},e("salla-products-list",{source:"selected","source-value":JSON.stringify(o.map((s=>s.id))),"product-card-component":this.productCardComponent,"horizontal-cards":!0,"compact-cards":!0,includes:["images"]})))))}renderOfferCard(s,t=1){return e("div",{class:"s-offer-slide-one-fourth swiper-slide",onClick:()=>this.emitPromotionClicked(s,t)},e("div",{class:"s-offer-card"},e("div",{class:"s-offer-card-icon"},this.getOfferIcon(s.type)),e("div",{class:"s-offer-card-content"},e("h3",{class:"s-offer-card-title",title:s.title},s.title),s.description&&e("p",{class:"s-offer-card-description"},s.description),e("div",{class:"s-offer-card-details"},s.type===i.DiscountsTable?this.renderDiscountTableOfferContent(s):s.type===i.PercentageOrFixed||s.type===i.Percentage||s.type===i.FixedAmount?[this.renderPercentageOrFixedOfferContent(s),this.renderOfferCategories(s),this.renderOfferBrands(s),this.renderOfferTags(s)]:[this.renderOfferCategories(s),this.renderOfferBrands(s),this.renderOfferTags(s)],this.renderProductsLinkForModalCard(s,!1)))))}getOfferIcon(s){return e("i",{class:{[i.DiscountsTable]:"sicon-discount-calculator",[i.Bank]:"sicon-bank",[i.SpecialPrice]:"sicon-fire",[i.BuyXGetY]:"sicon-gift",[i.PercentageOrFixed]:"sicon-special-discount",[i.Percentage]:"sicon-special-discount",[i.FixedAmount]:"sicon-special-discount"}[s]||"sicon-discount"})}renderDiscountTableOfferContent(s){const t=s.details.discounts||[];return t.length?e("div",null,e("div",{class:"s-offer-card-description"},salla.lang.get("pages.offer.discount_table_subtitle","وفر اكتر بشراء منتجات أكثر")),e("table",{class:"s-offer-discount-table"},e("tbody",null,this.groupDiscountsByRows(t,3).map(((s,t)=>e("tr",{key:t},s.map(((s,t)=>e("td",{key:t},e("div",{class:"s-offer-discount-percentage"},s.percentage,"%"),e("div",{class:"s-offer-discount-condition"},this.formatDiscountCondition(s))))))))))):null}renderPercentageOrFixedOfferContent(s){const t=s.details;return t.discount_value||t.min_spend>0||t.min_items>0?e("div",{class:"s-offer-percentage-fixed-content"},t.min_spend>0&&e("div",{class:"s-offer-min-spend"},this.min_spend_text(t.min_spend,this.userCurrency?.symbol||"")),t.min_items>0&&e("div",{class:"s-offer-min-items"},this.min_items_text(t.min_items))):null}groupDiscountsByRows(s,e){const t=[];for(let o=0;o<s.length;o+=e)t.push(s.slice(o,o+e));return t}formatDiscountCondition(s){return s.discounted_amount?`${s.discounted_amount} ${this.userCurrency?.symbol||""}`:null!=s.quantity?this.buy_quantity_text(s.quantity):`1 ${this.product_text}`}renderOfferCategories(s){const t=s.details;let o=t.categories||[];if(s.type===i.BuyXGetY&&t.get?.categories&&(o=t.get.categories),!o.length)return null;const r=this.expandedCategories[s.id],a=o.length>3,l=r?o:o.slice(0,3);return e("div",{class:"s-offer-categories"},e("div",{class:"s-offer-categories-list"},l.map(((s,t)=>e("a",{key:t,class:"s-offer-category-item",href:s.url||salla.url.create("categories",s.id||s.id_)},s.name))),a&&e("span",{class:"s-offer-categories-toggle",onClick:e=>{e.preventDefault(),e.stopPropagation(),this.toggleCategoryExpansion(s.id)}},r?e("span",null,e("i",{class:"sicon-keyboard_arrow_up"})," ",salla.lang.get("common.elements.hide","إخفاء")):e("span",null,salla.lang.get("common.elements.show","عرض")," ","+"+(o.length-3)," ",e("i",{class:"sicon-keyboard_arrow_down"})))))}renderOfferBrands(s){const t=s.details.brands||[];if(!t.length)return null;const o=this.expandedCategories[s.id],i=t.length>3,r=o?t:t.slice(0,3);return e("div",{class:"s-offer-categories"},e("div",{class:"s-offer-categories-list"},r.map(((s,t)=>e("a",{key:t,class:"s-offer-category-item",href:s.url},s.name))),i&&e("span",{class:"s-offer-categories-toggle",onClick:e=>{e.preventDefault(),e.stopPropagation(),this.toggleCategoryExpansion(s.id)}},o?e("span",null,e("i",{class:"sicon-keyboard_arrow_up"})," ",salla.lang.get("common.elements.hide","إخفاء")):e("span",null,salla.lang.get("common.elements.show","عرض")," ","+"+(t.length-3)," ",e("i",{class:"sicon-keyboard_arrow_down"})))))}renderOfferTags(s){const t=s.details.tags||[];if(!t.length)return null;const o=this.expandedCategories[s.id],i=t.length>3,r=o?t:t.slice(0,3);return e("div",{class:"s-offer-categories"},e("div",{class:"s-offer-categories-list"},r.map(((s,t)=>e("a",{key:t,class:"s-offer-category-item",href:s.url||salla.url.create("tags",s.id)},s.name))),i&&e("span",{class:"s-offer-categories-toggle",onClick:e=>{e.preventDefault(),e.stopPropagation(),this.toggleCategoryExpansion(s.id)}},o?e("span",null,e("i",{class:"sicon-keyboard_arrow_up"})," ",salla.lang.get("common.elements.hide","إخفاء")):e("span",null,salla.lang.get("common.elements.show","عرض")," ","+"+(t.length-3)," ",e("i",{class:"sicon-keyboard_arrow_down"})))))}toggleCategoryExpansion(s){this.expandedCategories={...this.expandedCategories,[s]:!this.expandedCategories[s]}}get host(){return t(this)}};r.style=":host .s-drawer-close:where([dir=rtl],[dir=rtl] *){left:0}";export{r as salla_offer}
4
+ import{r as s,h as e,a as t}from"./p-BvVpL-WS.js";var o,i;!function(s){s.ProductDetail="product.single",s.Cart="cart"}(o||(o={})),function(s){s.Conditional="conditional",s.PercentageOrFixed="fixed",s.DiscountsTable="discounts_table",s.Bank="bank",s.BuyXGetY="buy_x_get_y",s.SpecialPrice="special_price",s.Percentage="percentage",s.FixedAmount="fixed_amount"}(i||(i={}));const r=class{constructor(e){s(this,e),this.productCardComponent="salla-product-card",this.offersList=[],this.canRender=!1,this.showOffer=salla.config.get("store.settings.product.show_special_offers"),this.showAllOffersModal=!1,this.showProductsModal=!1,this.selectedOfferProducts=[],this.collapsedOffers={},this.expandedCategories={},this.productsLoaded=!1,this.offer_with_price_text=salla.lang.get("pages.offer.with_price",{price:""}),this.with_discount_text=salla.lang.get("pages.products.with_a_discount"),this.product_discount_text=salla.lang.get("pages.products.discount"),this.special_offer_text=salla.lang.get("pages.products.special_offer"),this.buy_quantity_text=s=>salla.lang.get("pages.offer.buy_quantity",{quantity:s}),this.products_link_text=salla.lang.get("pages.offer.included_products","المنتجات المشمولة"),this.min_spend_text=(s,e)=>salla.lang.get("pages.offer.min_spend_amount",{amount:s,currency:e},`بحد أدنى ${s} ${e} من مبلغ الشراء`),this.min_items_text=s=>salla.lang.get("pages.offer.min_items",{items:s},`بحد أدنى ${s} منتجات`),this.product_text=salla.lang.get("common.elements.product","منتج"),salla.lang.onLoaded((()=>{this.offer_with_price_text=salla.lang.get("pages.offer.with_price"),this.with_discount_text=salla.lang.get("pages.products.with_a_discount"),this.product_discount_text=salla.lang.get("pages.products.discount"),this.special_offer_text=salla.lang.get("pages.products.special_offer"),this.buy_quantity_text(0),this.products_link_text=salla.lang.get("pages.offer.included_products","المنتجات المشمولة"),this.min_spend_text=(s,e)=>salla.lang.get("pages.offer.min_spend_amount",{amount:s,currency:e},`بحد أدنى ${s} ${e} من مبلغ الشراء`),this.min_items_text=s=>salla.lang.get("pages.offer.min_items",{items:s},`بحد أدنى ${s} منتجات`),this.product_text=salla.lang.get("common.elements.product","منتج")})),salla.onReady((()=>{this.currentPage=salla.config.get("page.slug");const s=salla.config.get("currencies")||{},e=salla.config.get("user.currency_code");this.userCurrency=s[e]||{symbol:"",code:e||"SAR",name:""}}))}async getEndpointByPageName(){return this.currentPage==o.Cart?`offers/cart/${await Salla.cart.getCurrentCartId()}`:this.currentPage==o.ProductDetail?`offers/product/${salla.config.get("page.id")}`:"offers"}emitPromotionViewed(){if(!(this.offersList.length&&this.canRender&&this.showOffer))return;const s=this.offersList.slice(0,5).map(((s,e)=>({id:s.id,name:s.title,creative:s.description||"",position:e+1})));salla.event.emit("salla::offer.promotion.viewed",s)}emitPromotionClicked(s,e=1){if(!(this.offersList.length&&this.canRender&&this.showOffer))return;const t=s||this.offersList[0];salla.event.emit("salla::offer.promotion.clicked",[{id:t.id,name:t.title,creative:t.description||"",position:e}])}componentWillLoad(){return this.hasCustomComponent=!!customElements.get(this.productCardComponent),new Promise((s=>salla.onReady(s))).then((()=>{if(this.showOffer=!salla.url.is_page("product.single")||salla.config.get("store.settings.product.show_special_offers"),!this.showOffer)throw new Error("Merchant disabled showing the offers on product page")})).then((async()=>salla.api.request(await this.getEndpointByPageName()))).then((async s=>{if(!(this.offersList=s.data).length)throw new Error("salla-offers:: There is no offers!");if(this.offersList=this.offersList.filter((s=>[i.SpecialPrice,i.Bank,i.BuyXGetY,i.DiscountsTable,i.PercentageOrFixed,i.Percentage,i.FixedAmount].includes(s.type))),!this.offersList.length)throw new Error("salla-offers:: No supported offer types found!");let e=null;this.offersList.some((s=>{const e=s.details;return"category"===e.apply_to&&e.targets||"categories"===e.apply_to&&e.targets||s.type===i.BuyXGetY&&("categories"===e.get?.source||"category"===e.get?.source)}))&&(e=(await salla.product.api.categories()).data);const t=new Set;for(const s of this.offersList){const e=s.details;"product"!==e.apply_to&&"products"!==e.apply_to||!e.targets||e.targets.forEach((s=>t.add(s))),s.type===i.BuyXGetY&&"products"===e.get?.source&&e.get?.source_value&&e.get.source_value.forEach((s=>t.add(s))),s.type!==i.BuyXGetY||"products"!==e.buy?.source&&"product"!==e.buy?.source||!e.buy?.source_value||e.buy.source_value.forEach((s=>t.add(s)))}let o={};if(t.size>0)try{const s=await salla.product.api.fetch({source:"selected",source_value:Array.from(t)});o=Object.fromEntries(s.data.map((s=>[s.id,s])))}catch(s){o={}}for(const s of this.offersList){const t=s.details;if(("category"===t.apply_to&&t.targets||"categories"===t.apply_to&&t.targets)&&e&&(t.categories=this.findCategories(e,t.targets)),"product"!==t.apply_to&&"products"!==t.apply_to||!t.targets||(t.products=t.targets.map((s=>o[s])).filter(Boolean)),"brand"===t.apply_to&&t.targets&&(t.brands=t.targets),"tag"===t.apply_to&&t.targets&&(t.tags=t.targets),s.type===i.BuyXGetY&&t.get){const s=t.get;"products"===s.source&&s.source_value?s.products=s.source_value.map((s=>o[s])).filter(Boolean):("categories"===s.source||"category"===s.source)&&e&&s.source_value&&(s.categories=this.findCategories(e,s.source_value),t.categories=s.categories)}if(s.type===i.BuyXGetY&&t.buy){const s=t.buy;"products"!==s.source&&"product"!==s.source||!s.source_value||(s.products=s.source_value.map((s=>o[s])).filter(Boolean))}}return this.offersList})).then((()=>{this.canRender=!0})).catch((s=>{salla.logger.warn(s)}))}componentDidLoad(){let s=this.host.querySelector(".s-slider-block__title-nav");s?.classList.add("s-offer-bank-payment-nav"),this.emitPromotionViewed()}findCategories(s,e){let t=[];for(const o of s)e.includes(o.id_||o.id)&&t.push(o),o.sub_categories?.length>0&&(t=t.concat(this.findCategories(o.sub_categories,e)));return t}render(){if(!this.offersList.length||!this.canRender||!this.showOffer)return null;const s=salla.lang.get("pages.offer.offers_title","عروض المنتج"),t=salla.lang.get("pages.offer.offers_subtitle","احصل على المنتج بسعر مخفض مع أفضل العروض");return[e("div",{class:"s-offer-wrapper"},e("salla-slider",{type:"carousel",id:"offers-slider","block-title":s,"block-subTitle":t,"show-controls":this.offersList.length>1},e("div",{slot:"items"},this.offersList.slice(0,5).map(((s,e)=>this.renderOfferCard(s,e+1))),this.offersList.length>5&&this.renderShowMoreCard()))),this.renderAllOffersModal(),this.renderProductsModal()]}renderShowMoreCard(){return e("div",{class:"s-offer-slide-one-fourth swiper-slide",onClick:s=>{s.preventDefault(),s.stopPropagation(),this.openAllOffersModal()}},e("div",{class:"s-offer-card s-offer-show-more-card"},e("i",{class:"sicon-add s-offer-show-more-icon"}),e("h3",{class:"s-offer-show-more-title"},salla.lang.get("pages.offer.show_more_offers","عرض المزيد من العروض"))))}openAllOffersModal(){this.showAllOffersModal=!0}closeAllOffersModal(){this.showAllOffersModal=!1}closeProductsModal(){this.showProductsModal=!1,this.selectedOfferProducts=[],this.productsLoaded=!1}handleAccordionToggle(s,e){this.collapsedOffers={...this.collapsedOffers,[s]:e}}getOfferProducts(s){const e=s.details;return e.products&&e.products.length>0?e.products:s.type===i.BuyXGetY&&e.get?.products?e.get.products:[]}renderProductsLinkForModalCard(s,t){const o=this.getOfferProducts(s);return o&&0!==o.length?e("div",{class:"s-offer-products-link",onClick:s=>{s.stopPropagation(),this.selectedOfferProducts=o,this.showProductsModal=!0}},e("span",{class:"s-offer-products-link-text"},this.products_link_text),t&&e("i",{class:"sicon-keyboard_arrow_down s-offer-products-link-icon"})):null}renderAllOffersModal(){return e("salla-drawer",{visible:this.showAllOffersModal,position:"right",width:"md","no-padding":!0,"drawer-title":salla.lang.get("pages.offer.all_offers_title","جميع العروض"),onDrawerVisibilityChanged:s=>!s.detail&&this.closeAllOffersModal()},e("div",{class:"s-offer-drawer-content"},this.offersList.map(((s,e)=>this.renderModalOfferCard(s,e+1)))))}renderProductsModal(){return e("salla-drawer",{visible:this.showProductsModal,width:"md",position:"right","no-padding":!0,"drawer-title":this.products_link_text,onDrawerVisibilityChanged:s=>!s.detail&&this.closeProductsModal()},e("div",{class:"s-offer-products-drawer-content"},this.selectedOfferProducts?.length>0?e("div",null,!this.productsLoaded&&e("div",{class:"flex items-center justify-center p-8"},e("salla-loading",{size:"24"})),e("salla-products-list",{source:"selected","source-value":JSON.stringify(this.selectedOfferProducts.map((s=>s.id))),"product-card-component":this.productCardComponent,"horizontal-cards":!0,"compact-cards":!0,includes:["images"],onProductsFetched:()=>this.productsLoaded=!0})):e("div",{class:"p-4 text-center text-gray-500"},salla.lang.get("blocks.products.no_products_found","لا توجد منتجات"))))}renderModalOfferCard(s,t=1){const o=this.getOfferProducts(s),r=o&&o.length>0,a=!1!==this.collapsedOffers[s.id];return e("div",{class:"s-offer-drawer-card"},e("div",{class:"s-offer-card-main",onClick:()=>this.emitPromotionClicked(s,t)},e("div",{class:"s-offer-card-icon"},this.getOfferIcon(s.type)),e("div",{class:"s-offer-card-content"},e("h3",{class:"s-offer-card-title",title:s.title},s.title),s.description&&e("p",{class:"s-offer-card-description"},s.description),s.type===i.DiscountsTable?e("div",{class:"s-offer-card-details"},this.renderDiscountTableOfferContent(s)):s.type===i.PercentageOrFixed||s.type===i.Percentage||s.type===i.FixedAmount?e("div",{class:"s-offer-card-details"},this.renderPercentageOrFixedOfferContent(s),this.renderOfferCategories(s),this.renderOfferBrands(s),this.renderOfferTags(s)):e("div",{class:"s-offer-card-details"},this.renderOfferCategories(s),this.renderOfferBrands(s),this.renderOfferTags(s)))),r&&e("salla-accordion",{collapsed:a,collapsible:!0,size:"sm",onClick:s=>s.stopPropagation(),onAccordionToggle:e=>this.handleAccordionToggle(s.id,e.detail.payload.collapsed)},e("salla-accordion-head",{collapsible:!0,collapsed:a},e("div",{slot:"title",class:"s-offer-products-thumbnails"},e("span",{class:"s-offer-products-title"},this.products_link_text,e("i",{class:`sicon-keyboard_arrow_${a?"down":"up"} s-offer-products-link-icon`})),e("div",{class:"s-offer-products-thumbnails-stack"},o.slice(0,3).map(((s,t)=>e("div",{class:"s-offer-product-thumbnail",style:{zIndex:`${t+1}`}},e("img",{src:s.thumbnail||s.image?.url||salla.url.cdn("images/s-empty.png"),alt:s.name})))),o.length>3&&e("div",{class:"s-offer-products-more-count",style:{zIndex:"7"}},"+",o.length-3)))),e("salla-accordion-body",null,e("div",{class:"s-offer-products-content"},e("salla-products-list",{source:"selected","source-value":JSON.stringify(o.map((s=>s.id))),"product-card-component":this.productCardComponent,"horizontal-cards":!0,"compact-cards":!0,includes:["images"]})))))}renderOfferCard(s,t=1){return e("div",{class:"s-offer-slide-one-fourth swiper-slide",onClick:()=>this.emitPromotionClicked(s,t)},e("div",{class:"s-offer-card"},e("div",{class:"s-offer-card-icon"},this.getOfferIcon(s.type)),e("div",{class:"s-offer-card-content"},e("h3",{class:"s-offer-card-title",title:s.title},s.title),s.description&&e("p",{class:"s-offer-card-description"},s.description),e("div",{class:"s-offer-card-details"},s.type===i.DiscountsTable?this.renderDiscountTableOfferContent(s):s.type===i.PercentageOrFixed||s.type===i.Percentage||s.type===i.FixedAmount?[this.renderPercentageOrFixedOfferContent(s),this.renderOfferCategories(s),this.renderOfferBrands(s),this.renderOfferTags(s)]:[this.renderOfferCategories(s),this.renderOfferBrands(s),this.renderOfferTags(s)],this.renderProductsLinkForModalCard(s,!1)))))}getOfferIcon(s){return e("i",{class:{[i.DiscountsTable]:"sicon-discount-calculator",[i.Bank]:"sicon-bank",[i.SpecialPrice]:"sicon-fire",[i.BuyXGetY]:"sicon-gift",[i.PercentageOrFixed]:"sicon-special-discount",[i.Percentage]:"sicon-special-discount",[i.FixedAmount]:"sicon-special-discount"}[s]||"sicon-discount"})}renderDiscountTableOfferContent(s){const t=s.details.discounts||[];return t.length?e("div",null,e("div",{class:"s-offer-card-description"},salla.lang.get("pages.offer.discount_table_subtitle","وفر اكتر بشراء منتجات أكثر")),e("table",{class:"s-offer-discount-table"},e("tbody",null,this.groupDiscountsByRows(t,3).map(((s,t)=>e("tr",{key:t},s.map(((s,t)=>e("td",{key:t},e("div",{class:"s-offer-discount-percentage"},s.percentage,"%"),e("div",{class:"s-offer-discount-condition"},this.formatDiscountCondition(s))))))))))):null}renderPercentageOrFixedOfferContent(s){const t=s.details;return t.discount_value||t.min_spend>0||t.min_items>0?e("div",{class:"s-offer-percentage-fixed-content"},t.min_spend>0&&e("div",{class:"s-offer-min-spend"},this.min_spend_text(t.min_spend,this.userCurrency?.symbol||"")),t.min_items>0&&e("div",{class:"s-offer-min-items"},this.min_items_text(t.min_items))):null}groupDiscountsByRows(s,e){const t=[];for(let o=0;o<s.length;o+=e)t.push(s.slice(o,o+e));return t}formatDiscountCondition(s){return s.discounted_amount?`${s.discounted_amount} ${this.userCurrency?.symbol||""}`:null!=s.quantity?this.buy_quantity_text(s.quantity):`1 ${this.product_text}`}renderOfferCategories(s){const t=s.details;let o=t.categories||[];if(s.type===i.BuyXGetY&&t.get?.categories&&(o=t.get.categories),!o.length)return null;const r=this.expandedCategories[s.id],a=o.length>3,l=r?o:o.slice(0,3);return e("div",{class:"s-offer-categories"},e("div",{class:"s-offer-categories-list"},l.map(((s,t)=>e("a",{key:t,class:"s-offer-category-item",href:s.url||salla.url.create("categories",s.id||s.id_)},s.name))),a&&e("span",{class:"s-offer-categories-toggle",onClick:e=>{e.preventDefault(),e.stopPropagation(),this.toggleCategoryExpansion(s.id)}},r?e("span",null,e("i",{class:"sicon-keyboard_arrow_up"})," ",salla.lang.get("common.elements.hide","إخفاء")):e("span",null,salla.lang.get("common.elements.show","عرض")," ","+"+(o.length-3)," ",e("i",{class:"sicon-keyboard_arrow_down"})))))}renderOfferBrands(s){const t=s.details.brands||[];if(!t.length)return null;const o=this.expandedCategories[s.id],i=t.length>3,r=o?t:t.slice(0,3);return e("div",{class:"s-offer-categories"},e("div",{class:"s-offer-categories-list"},r.map(((s,t)=>e("a",{key:t,class:"s-offer-category-item",href:s.url},s.name))),i&&e("span",{class:"s-offer-categories-toggle",onClick:e=>{e.preventDefault(),e.stopPropagation(),this.toggleCategoryExpansion(s.id)}},o?e("span",null,e("i",{class:"sicon-keyboard_arrow_up"})," ",salla.lang.get("common.elements.hide","إخفاء")):e("span",null,salla.lang.get("common.elements.show","عرض")," ","+"+(t.length-3)," ",e("i",{class:"sicon-keyboard_arrow_down"})))))}renderOfferTags(s){const t=s.details.tags||[];if(!t.length)return null;const o=this.expandedCategories[s.id],i=t.length>3,r=o?t:t.slice(0,3);return e("div",{class:"s-offer-categories"},e("div",{class:"s-offer-categories-list"},r.map(((s,t)=>e("a",{key:t,class:"s-offer-category-item",href:s.url||salla.url.create("tags",s.id)},s.name))),i&&e("span",{class:"s-offer-categories-toggle",onClick:e=>{e.preventDefault(),e.stopPropagation(),this.toggleCategoryExpansion(s.id)}},o?e("span",null,e("i",{class:"sicon-keyboard_arrow_up"})," ",salla.lang.get("common.elements.hide","إخفاء")):e("span",null,salla.lang.get("common.elements.show","عرض")," ","+"+(t.length-3)," ",e("i",{class:"sicon-keyboard_arrow_down"})))))}toggleCategoryExpansion(s){this.expandedCategories={...this.expandedCategories,[s]:!this.expandedCategories[s]}}get host(){return t(this)}};r.style=":host .s-drawer-close:where([dir=rtl],[dir=rtl] *){left:0}";export{r as salla_offer}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{r as e,h as c,H as s}from"./p-DR8BHH7X.js";const a=class{constructor(c){e(this,c),this.translationLoaded=!1,this.icon='\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n<title>inbox</title>\n<path d="M31.984 19.797l-2.667-17.333c-0.1-0.651-0.659-1.131-1.317-1.131h-24c-0.659 0-1.217 0.48-1.317 1.131l-2.667 17.333c-0.011 0.067-0.016 0.135-0.016 0.203v6.667c0 2.205 1.795 4 4 4h24c2.205 0 4-1.795 4-4v-6.667c0-0.068-0.005-0.136-0.016-0.203zM5.144 4h21.712l2.256 14.667h-9.112c-0.736 0-1.333 0.596-1.333 1.333 0 1.471-1.196 2.667-2.667 2.667s-2.667-1.196-2.667-2.667c0-0.737-0.597-1.333-1.333-1.333h-9.112zM29.333 26.667c0 0.736-0.599 1.333-1.333 1.333h-24c-0.735 0-1.333-0.597-1.333-1.333v-5.333h8.168c0.593 2.299 2.684 4 5.165 4s4.571-1.701 5.165-4h8.168z"></path>\n</svg>\n',this.alignment="left",this.iconSize="md",salla.lang.onLoaded((()=>{this.translationLoaded=!0}))}alignmentClass(){return{"s-placeholder-wrapper":!0,"s-placeholder-align-left":"left"==this.alignment,"s-placeholder-align-center":"center"==this.alignment,"s-placeholder-align-right":"right"==this.alignment}}render(){return c(s,{key:"c3b5fc484ce954bdbd3f7f42e8cb2320bcdf7eee",class:this.alignmentClass()},c("div",{key:"8c9f89515a3f33f3904e0bd244527ab5638a6481",class:`s-placeholder-icon s-placeholder-icon-${this.iconSize}`,innerHTML:this.icon}),c("div",{key:"446700f7b323ca5d786a276aece557629d415d73",class:"s-placeholder-title"},c("slot",{key:"0a857e65b6048e6d765b86c37953a54e47ae450d",name:"title"},c("span",{key:"a9b1ab5b3ec757e4acca3dc85df8e3b185f0b33e"},salla.lang.get("common.elements.no_options")))),c("div",{key:"8215c957d6e7450b2d2c3901c76b6ccf7352bebe",class:"s-placeholder-description"},c("slot",{key:"747c43255cff93f3fcc5d75c620a03d05801cec8",name:"description"},c("span",{key:"0bf8926e73635ad868fef5c8436f98e529fe0ced"},salla.lang.get("common.errors.empty_results")))))}};a.style="";export{a as salla_placeholder}
4
+ import{r as e,h as c,H as s}from"./p-BvVpL-WS.js";const a=class{constructor(c){e(this,c),this.translationLoaded=!1,this.icon='\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n<title>inbox</title>\n<path d="M31.984 19.797l-2.667-17.333c-0.1-0.651-0.659-1.131-1.317-1.131h-24c-0.659 0-1.217 0.48-1.317 1.131l-2.667 17.333c-0.011 0.067-0.016 0.135-0.016 0.203v6.667c0 2.205 1.795 4 4 4h24c2.205 0 4-1.795 4-4v-6.667c0-0.068-0.005-0.136-0.016-0.203zM5.144 4h21.712l2.256 14.667h-9.112c-0.736 0-1.333 0.596-1.333 1.333 0 1.471-1.196 2.667-2.667 2.667s-2.667-1.196-2.667-2.667c0-0.737-0.597-1.333-1.333-1.333h-9.112zM29.333 26.667c0 0.736-0.599 1.333-1.333 1.333h-24c-0.735 0-1.333-0.597-1.333-1.333v-5.333h8.168c0.593 2.299 2.684 4 5.165 4s4.571-1.701 5.165-4h8.168z"></path>\n</svg>\n',this.alignment="left",this.iconSize="md",salla.lang.onLoaded((()=>{this.translationLoaded=!0}))}alignmentClass(){return{"s-placeholder-wrapper":!0,"s-placeholder-align-left":"left"==this.alignment,"s-placeholder-align-center":"center"==this.alignment,"s-placeholder-align-right":"right"==this.alignment}}render(){return c(s,{key:"455339c316c1e09806bf65a8bf627e32c0d1fa43",class:this.alignmentClass()},c("div",{key:"3b56c2bb2efa16c70e5ec46c0c7c61e5a4f41c05",class:`s-placeholder-icon s-placeholder-icon-${this.iconSize}`,innerHTML:this.icon}),c("div",{key:"77b65ca2475563deabeadb419bd232176cf7f1b9",class:"s-placeholder-title"},c("slot",{key:"37d5de9a4daaec1808eb8edc34cb038720e7bc44",name:"title"},c("span",{key:"cafe31940c9e645bacc9062b765d09292e45fb4c"},salla.lang.get("common.elements.no_options")))),c("div",{key:"e6394dd74a534e4549d02247a63bf82979ecb69e",class:"s-placeholder-description"},c("slot",{key:"926cb9c8b088ceaa14e9913e82f34e12553ff522",name:"description"},c("span",{key:"4f888fbb0d0714818df98ec7b9d544dc98568ea0"},salla.lang.get("common.errors.empty_results")))))}};a.style="";export{a as salla_placeholder}