@salla.sa/twilight-components 2.14.548 → 2.14.550

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 (340) hide show
  1. package/dist/cjs/{Helper-6RI07gZo.js → Helper-D1YsoJud.js} +46 -0
  2. package/dist/cjs/{filepond-CGA4aTUA.js → filepond-B-8syvXC.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-poster-DyVz7vP9.js → filepond-plugin-file-poster-DxfU_d7d.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-size-CgzYDBcU.js → filepond-plugin-file-validate-size-C0XIW0bl.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-file-validate-type-Dx2CbMZ9.js → filepond-plugin-file-validate-type-BHyBHLOg.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-edit-D3aTsFmD.js → filepond-plugin-image-edit-Dnni9gl-.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-exif-orientation-BW3usWts.js → filepond-plugin-image-exif-orientation-C7pHXy9M.js} +1 -1
  8. package/dist/cjs/{filepond-plugin-image-preview-Bb7_UNPY.js → filepond-plugin-image-preview-CFttWV9E.js} +1 -1
  9. package/dist/cjs/{index-BssNhL-x.js → index-CHvvKGJc.js} +7 -3
  10. package/dist/cjs/{intlTelInput-B7QYiZ0d.js → intlTelInput--yv-lZaU.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +2 -2
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +2 -2
  15. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-applied-filters.cjs.entry.js +175 -0
  19. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-attachment-view_9.cjs.entry.js +11 -11
  21. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-basket-gap.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-comment-form_9.cjs.entry.js +2 -2
  30. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-filters-widget.cjs.entry.js +10 -11
  38. package/dist/cjs/salla-filters.cjs.entry.js +14 -79
  39. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +2 -2
  43. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  46. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  47. package/dist/cjs/salla-loyalty-banner_10.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-exchange-product-card.cjs.entry.js +1 -1
  49. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  50. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-map_2.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-notification-item_2.cjs.entry.js +2 -2
  62. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-cancel.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-order-options-modal_2.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-shipments.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-orders.cjs.entry.js +2 -2
  77. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-products-list.cjs.entry.js +2 -2
  83. package/dist/cjs/salla-products-slider.cjs.entry.js +2 -2
  84. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +2 -2
  86. package/dist/cjs/salla-rating-modal.cjs.entry.js +2 -2
  87. package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-review-order-item.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-search.cjs.entry.js +2 -2
  91. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  98. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  100. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  101. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  102. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  103. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  104. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +1 -1
  105. package/dist/cjs/twilight.cjs.js +2 -2
  106. package/dist/cjs/{vanilla-picker-H1di5S1s.js → vanilla-picker-D-X0hQ7w.js} +1 -1
  107. package/dist/collection/Helpers/Helper.js +28 -0
  108. package/dist/collection/collection-manifest.json +1 -0
  109. package/dist/collection/components/salla-applied-filters/salla-applied-filters.css +115 -0
  110. package/dist/collection/components/salla-applied-filters/salla-applied-filters.js +185 -0
  111. package/dist/collection/components/salla-filters/salla-filters.css +0 -119
  112. package/dist/collection/components/salla-filters/salla-filters.js +27 -73
  113. package/dist/components/Helper.js +47 -1
  114. package/dist/components/index.js +3 -3
  115. package/dist/components/salla-applied-filters.d.ts +11 -0
  116. package/dist/components/salla-applied-filters.js +195 -0
  117. package/dist/components/salla-filters-widget2.js +2 -21
  118. package/dist/components/salla-filters.js +10 -76
  119. package/dist/esm/{Helper-CBmYxrzX.js → Helper-DsjZ6kte.js} +47 -1
  120. package/dist/esm/{filepond-plugin-file-poster-DrmkMK37.js → filepond-plugin-file-poster-bfSOezL4.js} +1 -1
  121. package/dist/esm/{filepond-plugin-file-validate-size-fRXLDtKY.js → filepond-plugin-file-validate-size-DagZiT3e.js} +1 -1
  122. package/dist/esm/{filepond-plugin-file-validate-type-9x4CtZKy.js → filepond-plugin-file-validate-type-Cf4JwDq-.js} +1 -1
  123. package/dist/esm/{filepond-plugin-image-edit-BTjvSjn9.js → filepond-plugin-image-edit-DWZ8nbdr.js} +1 -1
  124. package/dist/esm/{filepond-plugin-image-exif-orientation-CnSOx2Lm.js → filepond-plugin-image-exif-orientation-NHp2unXf.js} +1 -1
  125. package/dist/esm/{filepond-plugin-image-preview-Cy0Nd8Xr.js → filepond-plugin-image-preview-BSi_AIFs.js} +1 -1
  126. package/dist/esm/{filepond-CXmbiROU.js → filepond-rGVsy4ep.js} +1 -1
  127. package/dist/esm/{index-B64o_70M.js → index-Bf2Z6A1M.js} +7 -3
  128. package/dist/esm/{intlTelInput-FF2eKbuC.js → intlTelInput-DLtsxnoY.js} +1 -1
  129. package/dist/esm/loader.js +3 -3
  130. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  131. package/dist/esm/salla-accordion_6.entry.js +2 -2
  132. package/dist/esm/salla-add-product-button_5.entry.js +2 -2
  133. package/dist/esm/salla-advertisement.entry.js +1 -1
  134. package/dist/esm/salla-alert_2.entry.js +1 -1
  135. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  136. package/dist/esm/salla-applied-filters.entry.js +173 -0
  137. package/dist/esm/salla-apps-icons.entry.js +1 -1
  138. package/dist/esm/salla-attachment-view_9.entry.js +11 -11
  139. package/dist/esm/salla-badge.entry.js +1 -1
  140. package/dist/esm/salla-basket-gap.entry.js +1 -1
  141. package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
  142. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  143. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  144. package/dist/esm/salla-cart-summary-card.entry.js +1 -1
  145. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  146. package/dist/esm/salla-comment-factors.entry.js +1 -1
  147. package/dist/esm/salla-comment-form_9.entry.js +2 -2
  148. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  149. package/dist/esm/salla-contacts.entry.js +1 -1
  150. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  151. package/dist/esm/salla-count-down.entry.js +1 -1
  152. package/dist/esm/salla-custom-fields.entry.js +1 -1
  153. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  154. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  155. package/dist/esm/salla-filters-widget.entry.js +2 -3
  156. package/dist/esm/salla-filters.entry.js +8 -73
  157. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  158. package/dist/esm/salla-gifting.entry.js +1 -1
  159. package/dist/esm/salla-hook.entry.js +1 -1
  160. package/dist/esm/salla-infinite-scroll.entry.js +2 -2
  161. package/dist/esm/salla-installment.entry.js +1 -1
  162. package/dist/esm/salla-list-tile.entry.js +1 -1
  163. package/dist/esm/salla-localization-modal.entry.js +1 -1
  164. package/dist/esm/salla-login-modal.entry.js +1 -1
  165. package/dist/esm/salla-loyalty-banner_10.entry.js +1 -1
  166. package/dist/esm/salla-loyalty-exchange-product-card.entry.js +1 -1
  167. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  168. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  169. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  170. package/dist/esm/salla-loyalty.entry.js +1 -1
  171. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  172. package/dist/esm/salla-map_2.entry.js +1 -1
  173. package/dist/esm/salla-menu.entry.js +1 -1
  174. package/dist/esm/salla-metadata.entry.js +1 -1
  175. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  176. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  177. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  178. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  179. package/dist/esm/salla-notification-item_2.entry.js +2 -2
  180. package/dist/esm/salla-offer-modal.entry.js +1 -1
  181. package/dist/esm/salla-offer.entry.js +1 -1
  182. package/dist/esm/salla-order-branch.entry.js +1 -1
  183. package/dist/esm/salla-order-cancel.entry.js +1 -1
  184. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  185. package/dist/esm/salla-order-details-options.entry.js +1 -1
  186. package/dist/esm/salla-order-details.entry.js +1 -1
  187. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  188. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  189. package/dist/esm/salla-order-edit.entry.js +1 -1
  190. package/dist/esm/salla-order-options-modal_2.entry.js +1 -1
  191. package/dist/esm/salla-order-shipments.entry.js +1 -1
  192. package/dist/esm/salla-order-summary.entry.js +1 -1
  193. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  194. package/dist/esm/salla-orders.entry.js +2 -2
  195. package/dist/esm/salla-payments.entry.js +1 -1
  196. package/dist/esm/salla-placeholder.entry.js +1 -1
  197. package/dist/esm/salla-price-range.entry.js +1 -1
  198. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  199. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  200. package/dist/esm/salla-products-list.entry.js +2 -2
  201. package/dist/esm/salla-products-slider.entry.js +2 -2
  202. package/dist/esm/salla-quick-order.entry.js +1 -1
  203. package/dist/esm/salla-rating-modal-v2.entry.js +2 -2
  204. package/dist/esm/salla-rating-modal.entry.js +2 -2
  205. package/dist/esm/salla-review-factors-tags.entry.js +1 -1
  206. package/dist/esm/salla-review-order-item.entry.js +1 -1
  207. package/dist/esm/salla-scopes.entry.js +1 -1
  208. package/dist/esm/salla-search.entry.js +2 -2
  209. package/dist/esm/salla-skeleton.entry.js +1 -1
  210. package/dist/esm/salla-slider.entry.js +1 -1
  211. package/dist/esm/salla-social-share.entry.js +1 -1
  212. package/dist/esm/salla-social.entry.js +1 -1
  213. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  214. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  215. package/dist/esm/salla-tooltip.entry.js +1 -1
  216. package/dist/esm/salla-trust-badges.entry.js +1 -1
  217. package/dist/esm/salla-user-menu.entry.js +1 -1
  218. package/dist/esm/salla-user-profile.entry.js +1 -1
  219. package/dist/esm/salla-user-settings.entry.js +1 -1
  220. package/dist/esm/salla-verify.entry.js +1 -1
  221. package/dist/esm/salla-wallet.entry.js +1 -1
  222. package/dist/esm/salla-wishlist-actions.entry.js +1 -1
  223. package/dist/esm/twilight.js +3 -3
  224. package/dist/esm/{vanilla-picker-DMNociUd.js → vanilla-picker-AjTapsL5.js} +1 -1
  225. package/dist/twilight/{p-fa0467a7.entry.js → p-018456c8.entry.js} +1 -1
  226. package/dist/twilight/{p-441ee14a.entry.js → p-03db1fe6.entry.js} +1 -1
  227. package/dist/twilight/p-0739e769.entry.js +4 -0
  228. package/dist/twilight/{p-5273dbb2.entry.js → p-09c1d9c8.entry.js} +1 -1
  229. package/dist/twilight/{p-b8cd26a7.entry.js → p-0c4c4419.entry.js} +1 -1
  230. package/dist/twilight/{p-3b7cbf05.entry.js → p-0ccba871.entry.js} +1 -1
  231. package/dist/twilight/{p-cacf3c75.entry.js → p-0d199866.entry.js} +1 -1
  232. package/dist/twilight/{p-5f9b8ada.entry.js → p-0da8a64f.entry.js} +1 -1
  233. package/dist/twilight/{p-2f64c3b3.entry.js → p-0dc61077.entry.js} +1 -1
  234. package/dist/twilight/{p-0dfd760b.entry.js → p-0e12c9ca.entry.js} +1 -1
  235. package/dist/twilight/{p-522fb030.entry.js → p-0fb44a3c.entry.js} +1 -1
  236. package/dist/twilight/{p-1edbb249.entry.js → p-12d74e96.entry.js} +1 -1
  237. package/dist/twilight/{p-55cbacd7.entry.js → p-13fb9b74.entry.js} +1 -1
  238. package/dist/twilight/{p-440687a4.entry.js → p-1653256e.entry.js} +1 -1
  239. package/dist/twilight/{p-f12f8db3.entry.js → p-17c30aa6.entry.js} +1 -1
  240. package/dist/twilight/{p-f99550d8.entry.js → p-1c662f1d.entry.js} +1 -1
  241. package/dist/twilight/{p-233b9115.entry.js → p-2607ac8e.entry.js} +1 -1
  242. package/dist/twilight/{p-63a2ee05.entry.js → p-27396f6f.entry.js} +1 -1
  243. package/dist/twilight/{p-c9b1ad01.entry.js → p-277f3a46.entry.js} +1 -1
  244. package/dist/twilight/{p-6cd863b9.entry.js → p-2c212d54.entry.js} +1 -1
  245. package/dist/twilight/p-2f2771de.entry.js +4 -0
  246. package/dist/twilight/{p-309f771b.entry.js → p-33842645.entry.js} +1 -1
  247. package/dist/twilight/{p-be916b5f.entry.js → p-34240222.entry.js} +1 -1
  248. package/dist/twilight/{p-5c9e4502.entry.js → p-3615a99b.entry.js} +1 -1
  249. package/dist/twilight/{p-647832d9.entry.js → p-3627d945.entry.js} +1 -1
  250. package/dist/twilight/{p-b4fda5f4.entry.js → p-38b4dfa9.entry.js} +1 -1
  251. package/dist/twilight/{p-5ab11313.entry.js → p-3a4160c2.entry.js} +1 -1
  252. package/dist/twilight/{p-74a1a32f.entry.js → p-434f3557.entry.js} +1 -1
  253. package/dist/twilight/{p-63acbca7.entry.js → p-44ee3af8.entry.js} +1 -1
  254. package/dist/twilight/{p-6451e759.entry.js → p-4d3e018b.entry.js} +1 -1
  255. package/dist/twilight/{p-569ad58b.entry.js → p-4df5f9a0.entry.js} +1 -1
  256. package/dist/twilight/{p-b17c6f84.entry.js → p-4f1102f8.entry.js} +1 -1
  257. package/dist/twilight/{p-52607d64.entry.js → p-5256180e.entry.js} +1 -1
  258. package/dist/twilight/{p-9dbf3ff4.entry.js → p-5383a324.entry.js} +1 -1
  259. package/dist/twilight/{p-c26f1183.entry.js → p-57b7cd9f.entry.js} +1 -1
  260. package/dist/twilight/{p-77fa0f9f.entry.js → p-581eeaf8.entry.js} +1 -1
  261. package/dist/twilight/{p-8e293878.entry.js → p-5a4f7313.entry.js} +1 -1
  262. package/dist/twilight/{p-b16264a3.entry.js → p-649ced48.entry.js} +1 -1
  263. package/dist/twilight/{p-897b8824.entry.js → p-69d75b45.entry.js} +1 -1
  264. package/dist/twilight/{p-e0f3e985.entry.js → p-6e78cc02.entry.js} +1 -1
  265. package/dist/twilight/{p-c8dae54b.entry.js → p-785cee9b.entry.js} +1 -1
  266. package/dist/twilight/{p-e354292f.entry.js → p-7b6fa77f.entry.js} +1 -1
  267. package/dist/twilight/{p-2ddabee9.entry.js → p-7e101885.entry.js} +1 -1
  268. package/dist/twilight/{p-971b8ff5.entry.js → p-7e9d98c3.entry.js} +1 -1
  269. package/dist/twilight/{p-13978ff2.entry.js → p-8838ad5c.entry.js} +1 -1
  270. package/dist/twilight/{p-db4dc7cc.entry.js → p-8cf65dbf.entry.js} +1 -1
  271. package/dist/twilight/{p-40d4ccbb.entry.js → p-8e0bdbbc.entry.js} +1 -1
  272. package/dist/twilight/{p-991fa4ad.entry.js → p-95a3b9b9.entry.js} +1 -1
  273. package/dist/twilight/{p-c5d1b2e4.entry.js → p-97136699.entry.js} +1 -1
  274. package/dist/twilight/{p-1485dedd.entry.js → p-9ae3a15c.entry.js} +1 -1
  275. package/dist/twilight/{p-b4f2f280.entry.js → p-9cbc4733.entry.js} +1 -1
  276. package/dist/twilight/{p-8e631629.entry.js → p-9e702ebb.entry.js} +1 -1
  277. package/dist/twilight/p-9ee1e01c.entry.js +4 -0
  278. package/dist/twilight/{p-66ece3d6.entry.js → p-9f1d1b76.entry.js} +1 -1
  279. package/dist/twilight/{p-b4d47e7c.entry.js → p-9fdb6380.entry.js} +1 -1
  280. package/dist/twilight/{p-UxfFm_QX.js → p-B-Q5WD6p.js} +1 -1
  281. package/dist/twilight/{p-DBnECOny.js → p-B59qdBmY.js} +2 -2
  282. package/dist/twilight/{p-GwasjFLA.js → p-BdsgfewR.js} +1 -1
  283. package/dist/twilight/{p-B64o_70M.js → p-Bf2Z6A1M.js} +1 -1
  284. package/dist/twilight/{p-Bh11vKua.js → p-BlDax_46.js} +1 -1
  285. package/dist/twilight/{p-0MyCcOKI.js → p-CG1Rwy3q.js} +1 -1
  286. package/dist/twilight/{p-BK166pHQ.js → p-CMQ7Gxqu.js} +1 -1
  287. package/dist/twilight/{p-DWqu98fW.js → p-CPqpCDCi.js} +1 -1
  288. package/dist/twilight/p-D6rFREuQ.js +4 -0
  289. package/dist/twilight/{p-DrJZdc5M.js → p-DfIHi_xi.js} +1 -1
  290. package/dist/twilight/{p-87227eb2.entry.js → p-a3eb15e4.entry.js} +1 -1
  291. package/dist/twilight/{p-ba32a9d2.entry.js → p-a818352a.entry.js} +1 -1
  292. package/dist/twilight/{p-63cebaef.entry.js → p-a8d6804c.entry.js} +1 -1
  293. package/dist/twilight/{p-b0a87a8d.entry.js → p-aa71f393.entry.js} +1 -1
  294. package/dist/twilight/{p-7c2a0a8b.entry.js → p-b017b72e.entry.js} +1 -1
  295. package/dist/twilight/{p-9a617c41.entry.js → p-b19102f6.entry.js} +1 -1
  296. package/dist/twilight/{p-5f860460.entry.js → p-b2380c6b.entry.js} +1 -1
  297. package/dist/twilight/{p-9ae25175.entry.js → p-b452c8a0.entry.js} +1 -1
  298. package/dist/twilight/{p-7eca6506.entry.js → p-b603a180.entry.js} +1 -1
  299. package/dist/twilight/{p-ace041b9.entry.js → p-b7b4231f.entry.js} +1 -1
  300. package/dist/twilight/{p-0c7bdda5.entry.js → p-bc595ee3.entry.js} +1 -1
  301. package/dist/twilight/{p-56e553e4.entry.js → p-bd3fef37.entry.js} +1 -1
  302. package/dist/twilight/{p-e4db462b.entry.js → p-bded58cb.entry.js} +1 -1
  303. package/dist/twilight/{p-26c750c8.entry.js → p-be95b40b.entry.js} +1 -1
  304. package/dist/twilight/{p-1ad71324.entry.js → p-c0c561b9.entry.js} +1 -1
  305. package/dist/twilight/{p-1628c63c.entry.js → p-c24f6325.entry.js} +1 -1
  306. package/dist/twilight/{p-d0847af9.entry.js → p-c31b966f.entry.js} +1 -1
  307. package/dist/twilight/{p-3eb853f9.entry.js → p-c56725b9.entry.js} +1 -1
  308. package/dist/twilight/{p-1ce848ab.entry.js → p-c818e0eb.entry.js} +1 -1
  309. package/dist/twilight/{p-840dd411.entry.js → p-cd51e722.entry.js} +1 -1
  310. package/dist/twilight/{p-923a35da.entry.js → p-cf21323d.entry.js} +1 -1
  311. package/dist/twilight/{p-660a552a.entry.js → p-cfac0aa1.entry.js} +1 -1
  312. package/dist/twilight/{p-a5199e7d.entry.js → p-cfbf287b.entry.js} +1 -1
  313. package/dist/twilight/{p-49c7dc56.entry.js → p-d2556680.entry.js} +1 -1
  314. package/dist/twilight/{p-04cc5898.entry.js → p-d2c204f4.entry.js} +1 -1
  315. package/dist/twilight/{p-177e9071.entry.js → p-d63ca8bb.entry.js} +1 -1
  316. package/dist/twilight/{p-37b73a97.entry.js → p-d65a6462.entry.js} +1 -1
  317. package/dist/twilight/{p-b0500232.entry.js → p-dfaf0617.entry.js} +1 -1
  318. package/dist/twilight/{p-cb02e6db.entry.js → p-e284728d.entry.js} +1 -1
  319. package/dist/twilight/{p-7ce5c2cd.entry.js → p-e54cc4f8.entry.js} +1 -1
  320. package/dist/twilight/{p-19b03612.entry.js → p-e8a1c501.entry.js} +1 -1
  321. package/dist/twilight/{p-e826d3aa.entry.js → p-e8b220e1.entry.js} +1 -1
  322. package/dist/twilight/{p-a867beee.entry.js → p-ebb73bcc.entry.js} +1 -1
  323. package/dist/twilight/{p-003648b5.entry.js → p-efa79191.entry.js} +1 -1
  324. package/dist/twilight/{p-d7e4f0f8.entry.js → p-f1322c8e.entry.js} +1 -1
  325. package/dist/twilight/{p-a0e8ca67.entry.js → p-f2e5f1fd.entry.js} +1 -1
  326. package/dist/twilight/{p-602e632c.entry.js → p-f586c239.entry.js} +1 -1
  327. package/dist/twilight/{p-74c7cc02.entry.js → p-fc587040.entry.js} +1 -1
  328. package/dist/twilight/{p-BcGXp0zm.js → p-uOF6Cufg.js} +1 -1
  329. package/dist/twilight/twilight.esm.js +1 -1
  330. package/dist/types/Helpers/Helper.d.ts +10 -0
  331. package/dist/types/components/salla-applied-filters/salla-applied-filters.d.ts +37 -0
  332. package/dist/types/components/salla-filters/salla-filters.d.ts +3 -11
  333. package/dist/types/components.d.ts +17 -0
  334. package/package.json +5 -5
  335. package/dist/cjs/interfaces-DZDQwN6-.js +0 -23
  336. package/dist/esm/interfaces-DL4h2bc3.js +0 -23
  337. package/dist/twilight/p-3f460184.entry.js +0 -4
  338. package/dist/twilight/p-DL4h2bc3.js +0 -4
  339. package/dist/twilight/p-DOBDDG4K.js +0 -4
  340. package/dist/twilight/p-a7fccb9c.entry.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{p as e,g as a,b as t}from"./p-B64o_70M.js";export{s as setNonce}from"./p-B64o_70M.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await a(),t(JSON.parse('[["p-e354292f",[[0,"salla-offer-modal",{"offer":[32],"offer_name":[32],"offer_message":[32],"hasError":[32],"errorMessage":[32],"productID":[32],"offer_type":[32],"translationLoaded":[32],"addToCartLabel":[32],"open":[64],"showOffer":[64]}]]],["p-55cbacd7",[[0,"salla-multiple-bundle-product",{"bundleSections":[1,"bundle-sections"],"parsedSections":[32]},null,{"bundleSections":["parseProducts"]}]]],["p-b17c6f84",[[0,"salla-basket-gap",{"limit":[2],"products":[32],"isLoading":[32],"canRender":[32],"title":[32],"addToCartLabel":[32],"weightLabel":[32],"discountLabel":[32]}]]],["p-19b03612",[[0,"salla-order-edit",{"orderId":[8,"order-id"],"orderData":[1,"order-data"],"excludedCategories":[1,"excluded-categories"],"order":[32],"loading":[32],"error":[32],"saveLoading":[32],"payload":[32],"expired":[32],"editPreview":[32],"productSearchQuery":[32],"productsListKey":[32],"productsListSource":[32],"productsListSourceValue":[32],"selectedProductToAdd":[32],"addProductQuantity":[32],"addProductLoading":[32],"addProductConfirmLoading":[32],"mobileProductsModalMounted":[32],"isMobileViewport":[32],"isRTL":[32]},[[0,"orderEditProductSelected","handleProductSelected"],[0,"orderItemUpdated","handleItemUpdated"],[0,"orderItemRemoved","handleItemRemoved"]]]]],["p-7eca6506",[[4,"salla-gifting",{"productId":[2,"product-id"],"widgetTitle":[1,"widget-title"],"widgetSubtitle":[1,"widget-subtitle"],"physicalProducts":[4,"physical-products"],"physical":[4],"vertical":[4],"formSelector":[1025,"form-selector"],"sectionTitle":[32],"sectionSubtitle":[32],"sectionBtnText":[32],"giftDetails":[32],"selectImageForYourGift":[32],"selectImageOrUpload":[32],"selectGiftMessage":[32],"giftText":[32],"giftCustomText":[32],"textId":[32],"incorrectGiftText":[32],"nextStep":[32],"senderNameLabel":[32],"receiverNameFieldLabel":[32],"receiverMobileFieldLabel":[32],"receiverCountryFieldLabel":[32],"ksa":[32],"selectCountry":[32],"selectCity":[32],"selectCityInfo":[32],"cityChangeNotice":[32],"receiverCityFieldLabel":[32],"receiverRegionFieldLabel":[32],"selectRegion":[32],"receiverEmailFieldLabel":[32],"emailPlaceholder":[32],"sendLater":[32],"selectSendDateAndTime":[32],"canNotEditOrderAfterSelectDate":[32],"sendGift":[32],"donationRequired":[32],"currentStep":[32],"showCalendar":[32],"showGiftText":[32],"currentLang":[32],"parentClass":[32],"errors":[32],"gift":[32],"selectedGiftTextOption":[32],"selectedCountryId":[32],"selectedCountryCode":[32],"loadingCities":[32],"loadingRegions":[32],"regions":[32],"selectedRegionId":[32],"isKSA":[32],"selectedCountry":[32],"selectedRegion":[32],"displayedCities":[32],"selectedCity":[32],"searchingCities":[32],"enableCityAjaxSearch":[32],"citySearchQuery":[32],"parsedFormData":[32],"showTextArea":[32],"selectedImage":[32],"uploadedImage":[32],"selectedText":[32],"senderName":[32],"errorMessage":[32],"hasError":[32],"quantity":[32],"deliveryDate":[32],"timeZone":[32],"receiverName":[32],"receiverMobile":[32],"receiverCountryCode":[32],"receiverEmail":[32],"hostId":[32],"disableClass":[32],"receiverCity":[32],"open":[64],"close":[64],"goToStep2":[64]}]]],["p-9a617c41",[[4,"salla-loyalty",{"prizePoints":[1544,"prize-points"],"customerPoints":[1538,"customer-points"],"prizeTitle":[1537,"prize-title"],"allowEmail":[4,"allow-email"],"allowMobile":[4,"allow-mobile"],"requireEmail":[4,"require-email"],"guestMessage":[1025,"guest-message"],"loyaltyProgram":[32],"activeTabType":[32],"tabsKey":[32],"buttonLoading":[32],"selectedItem":[32],"askConfirmation":[32],"is_loggedin":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"close":[64],"resetExchange":[64],"exchangeLoyaltyPoint":[64]},[[0,"tabSelected","onTabSelected"]]]]],["p-04cc5898",[[0,"salla-order-details",{"orderDetails":[1,"order-details"],"parsedOrderDetailsData":[32]},null,{"orderDetails":["parseOrderDetailsData"]}]]],["p-cb02e6db",[[4,"salla-product-size-guide",{"guides":[32],"productId":[32],"placeholder_title":[32],"placeholder_description":[32],"modal_title":[32],"hasError":[32],"open":[64],"close":[64]}]]],["p-74c7cc02",[[0,"salla-review-order-item",{"productId":[8,"product-id"],"orderItem":[32],"fetchOrderId":[32],"productRatings":[32],"allowUpdate":[32]},null,{"productId":["onProductIdChange"]}]]],["p-a0e8ca67",[[0,"salla-offer",{"productCardComponent":[1,"product-card-component"],"offersList":[32],"userCurrency":[32],"title":[32],"currentPage":[32],"hasCustomComponent":[32],"canRender":[32],"showOffer":[32],"showAllOffersModal":[32],"showProductsModal":[32],"selectedOfferProducts":[32],"collapsedOffers":[32],"expandedCategories":[32],"productsLoaded":[32],"offer_with_price_text":[32],"with_discount_text":[32],"product_discount_text":[32],"special_offer_text":[32],"buy_quantity_text":[32],"products_link_text":[32],"min_spend_text":[32],"min_items_text":[32],"product_text":[32]}]]],["p-ace041b9",[[0,"salla-custom-fields",{"fields":[1],"isEditable":[4,"is-editable"],"fileUploadUrl":[1,"file-upload-url"],"parsedFields":[32],"fieldErrors":[32],"isSubmitting":[32],"setFields":[64],"getFieldValues":[64],"validateFields":[64]}]]],["p-87227eb2",[[4,"salla-scopes",{"selection":[1],"searchDisplayLimit":[2,"search-display-limit"],"translationLoaded":[32],"mode":[32],"current_scope":[32],"scopes":[32],"originalScopesList":[32],"selected_scope":[32],"isOpenedBefore":[32],"hasError":[32],"loading":[32],"close":[64],"open":[64],"handleSubmit":[64]}]]],["p-f99550d8",[[0,"salla-delivery-promise",{"isDeliveryPromiseEnabled":[32],"isLoginCycleEnabled":[32],"canRender":[32],"labels":[32],"selectedLabel":[32],"deliveryMessage":[32],"hasError":[32],"errorMessage":[32],"isLoadingPromises":[32],"selectedCityLoginCycle":[32],"selectedBranchLoginCycle":[32],"cities":[32],"selectedCity":[32],"isLoadingCities":[32],"cityPendingSelection":[32],"modalCities":[32],"isSearchingCities":[32]}]]],["p-6451e759",[[0,"salla-localization-modal",{"language":[1537],"currency":[1537],"showTrigger":[1540,"show-trigger"],"languages":[32],"currencies":[32],"hasError":[32],"errorMessage":[32],"open":[64],"close":[64],"submit":[64]}]]],["p-3f460184",[[0,"salla-filters",{"filters":[1040],"isSidebarOpen":[32],"filtersData":[32],"apply":[32],"reset":[32],"selectedTitle":[32],"appliedOpen":[32],"getFilters":[64],"applyFilters":[64],"resetFilters":[64]}]]],["p-309f771b",[[0,"salla-quick-order",{"quickOrderTitle":[1025,"quick-order-title"],"subTitle":[1025,"sub-title"],"payButtonTitle":[1025,"pay-button-title"],"confirmPayButtonTitle":[1025,"confirm-pay-button-title"],"agreementText":[1025,"agreement-text"],"isEmailRequired":[1028,"is-email-required"],"productId":[1025,"product-id"],"thanksMessage":[1025,"thanks-message"],"quickOrderStyle":[1025,"quick-order-style"],"user":[32],"isAvailable":[32],"oneClick":[32],"expanded":[32],"isTermsRequired":[32],"countryCode":[32],"submitSucess":[32],"placeHolderEmail":[32],"emailOptional":[32],"agreementShowText":[32],"agreementModalHead":[32],"userNameLabel":[32],"termsChecked":[32]}]]],["p-26c750c8",[[4,"salla-user-menu",{"inline":[516],"avatarOnly":[516,"avatar-only"],"showHeader":[516,"show-header"],"relativeDropdown":[516,"relative-dropdown"],"showTrigger":[1540,"show-trigger"],"accountLoading":[32],"opened":[32],"notifications":[32],"orders":[32],"pending_orders":[32],"wishlist":[32],"profile":[32],"rating":[32],"wallet":[32],"settings":[32],"loyalty_points":[32],"logout":[32],"hello":[32],"first_name":[32],"last_name":[32],"avatar":[32],"is_loggedIn":[32],"badges":[32],"sallaAccountEnabled":[32],"walletBalance":[32],"walletBalanceLoading":[32],"hasBadges":[32],"profileUrl":[32],"OrderUpdate":[32]}]]],["p-e826d3aa",[[0,"salla-user-profile",{"minAge":[2,"min-age"],"userData":[32],"isEditable":[32],"disableAction":[32],"isLoading":[32],"first_name_trans":[32],"last_name_trans":[32],"birthday_trans":[32],"birthday_placeholder_trans":[32],"gender_trans":[32],"gender_placeholder_trans":[32],"male_trans":[32],"female_trans":[32],"email_trans":[32],"mobile_trans":[32],"save_btn_trans":[32],"drag_and_drop_trans":[32],"browse_trans":[32],"email_required_trans":[32],"invalid_email_trans":[32]}]]],["p-63cebaef",[[0,"salla-user-settings",{"deleteAccount":[32],"deleteAccountDesc":[32],"deleteConfirmTitle":[32],"deleteAccountWarning":[32],"cancelLabel":[32],"deleteOtpTitle":[32],"deleteOtpInstruction":[32],"deleteConfirmOtp":[32],"sendViaPhone":[32],"sendViaEmail":[32],"deleteSuccessTitle":[32],"deleteSuccessMessage":[32],"okLabel":[32],"cancelDeletionRequest":[32],"deleteAccountPending":[32],"deletePendingDays":[32],"resendAfterLabel":[32],"resendLabel":[32],"promotionalMsgs":[32],"hideMyName":[32],"hideMyNameDesc":[32],"promotionalMsgsDesc":[32],"currentStep":[32],"isDeletePending":[32],"otpType":[32],"otpHasError":[32],"otpErrorMessage":[32],"isSubmitting":[32],"isVerifyingOtp":[32],"isSwitchingChannel":[32],"resendAfter":[32],"showResendLink":[32],"canHideName":[32],"isHiddenName":[32],"isNotifiable":[32]}]]],["p-5273dbb2",[[0,"salla-bottom-alert",{"type":[513],"icon":[513],"message":[513],"actionUrl":[513,"action-url"],"actionLabel":[513,"action-label"],"storeId":[32],"template":[32],"loading":[32],"templateData":[32],"defaultMessage":[32],"defaultActionLabel":[32],"storeFeatures":[32],"storeDetails":[32],"storePrice":[32],"storePriceDetails":[32],"theDeveloper":[32],"templateInformation":[32],"buyTheTemplate":[32],"isRtl":[32],"storeName":[32],"salla":[32],"readyStores":[32],"moreDetailsLabel":[32]}],[4,"salla-alert",{"message":[1],"variant":[1],"icon":[1]}]]],["p-c8dae54b",[[0,"salla-order-cancel",{"orderId":[8,"order-id"],"cancellationReasons":[1,"cancellation-reasons"],"reasons":[32],"selectedReasonId":[32],"reasonNote":[32],"confirmLoading":[32],"loading":[32],"modalTitleLabel":[32],"questionLabel":[32],"subtitleLabel":[32],"confirmLabel":[32],"backLabel":[32],"notePlaceholder":[32],"charLimitLabel":[32]},null,{"cancellationReasons":["onCancellationReasonsChange"]}]]],["p-c5d1b2e4",[[0,"salla-search",{"placeholder":[4],"inline":[4],"oval":[4],"height":[2],"maxWords":[2,"max-words"],"showAction":[4,"show-action"],"translationLoaded":[32],"results":[32],"loading":[32],"typing":[32],"debounce":[32],"search_term":[32]},[[0,"keydown","handleKeyDown"]],{"search_term":["handleSearch"]}]]],["p-660a552a",[[4,"salla-verify",{"display":[1],"type":[1025],"autoReload":[4,"auto-reload"],"supportWebAuth":[4,"support-web-auth"],"translationLoaded":[32],"title":[32],"resendAfter":[32],"hasError":[32],"errorMessage":[32],"isProfileVerify":[32],"getCode":[64],"open":[64]}]]],["p-971b8ff5",[[0,"salla-cart-coupons",{"availableCoupons":[32],"cartTotal":[32],"cartTotalReady":[32],"currentCoupon":[32],"couponInputValue":[32],"couponError":[32],"isApplying":[32],"appliedCoupons":[32],"multiCoupon":[32],"selectCoupon":[64]}]]],["p-40d4ccbb",[[0,"salla-cart-summary-card",{"validateForms":[4,"validate-forms"],"cartCount":[32],"cartTotal":[32],"cartTotalDiscount":[32],"cartSubTotal":[32],"cartOptionsTotal":[32],"cartShippingCost":[32],"cartTaxAmount":[32],"cartHasShipping":[32],"isOpen":[32],"isDesktop":[32],"isLoading":[32],"summaryLabel":[32],"itemsTotalLabel":[32],"itemsTotalNoTaxLabel":[32],"optionsTotalLabel":[32],"shippingCostLabel":[32],"vatTaxLabel":[32],"savedLabel":[32],"discountBadge":[32],"finalTotalLabel":[32],"pricesTaxedLabel":[32],"completeOrderLabel":[32],"openSummaryLabel":[32],"closeSummaryLabel":[32],"itemsCountTemplate":[32]}]]],["p-49c7dc56",[[0,"salla-conditional-offer",{"offer":[32],"products":[32],"isLoading":[32],"canRender":[32]}]]],["p-77fa0f9f",[[0,"salla-edit-order-button",{"orderId":[8,"order-id"],"order":[32],"loading":[32]},null,{"orderId":["onOrderIdChange"]}]]],["p-c26f1183",[[0,"salla-loyalty-points-history",{"loyaltyPointsArray":[32],"balance":[32],"isLoadingLoyalty":[32],"nextPageUrlLoyalty":[32]}]]],["p-0c7bdda5",[[0,"salla-next-order-coupon",{"coupon":[32],"isLoading":[32],"titlePercentTpl":[32],"titleFixedTpl":[32],"badgeLabel":[32],"minSpendTpl":[32],"expiresTpl":[32],"shopNowLabel":[32],"copyLabel":[32],"copiedLabel":[32]}]]],["p-13978ff2",[[0,"salla-order-summary",{"orderId":[514,"order-id"],"codeCopied":[32],"noItemFound":[32],"order_items":[32]}]]],["p-ba32a9d2",[[0,"salla-wallet",{"transactionsArray":[32],"balance":[32],"isLoading":[32],"nextPageUrl":[32]}]]],["p-1ad71324",[[0,"salla-wishlist-actions",{"menuOpen":[32],"hasProducts":[32],"specificMode":[32],"selectedIds":[32],"loadedProductCount":[32],"isSharing":[32],"shareUrl":[32],"shareLabel":[32],"shareAllLabel":[32],"shareSpecificLabel":[32],"selectAllLabel":[32],"cancelLabel":[32],"shareModalTitle":[32],"shareSpecific":[64],"cancelSpecific":[64],"shareAll":[64],"shareSelected":[64]}]]],["p-522fb030",[[0,"salla-cookies-bar",{"isVisible":[32],"step":[32],"isMobile":[32],"titleLabel":[32],"saveLabel":[32],"messageLabel":[32],"linkLabel":[32],"acceptLabel":[32],"acceptAllLabel":[32],"customizeLabel":[32],"essentialTitleLabel":[32],"essentialDescriptionLabel":[32],"essentialBadgeLabel":[32],"performanceTitleLabel":[32],"performanceDescriptionLabel":[32],"performanceEnabled":[32],"functionsTitleLabel":[32],"functionsDescriptionLabel":[32],"functionsEnabled":[32],"adsTitleLabel":[32],"adsDescriptionLabel":[32],"adsEnabled":[32],"accept":[64],"reject":[64],"open":[64]}]]],["p-b0500232",[[0,"salla-menu",{"source":[1],"sourceValue":[1,"source-value"],"topnav":[4],"useReactLink":[4,"use-react-link"],"limit":[2],"withCookiePreferences":[4,"with-cookie-preferences"],"menus":[32]}]]],["p-e0f3e985",[[0,"salla-orders",{"params":[16],"loadMoreText":[1,"load-more-text"],"orderNumberText":[32],"totalOrderText":[32],"orderDateText":[32],"orderStatusText":[32],"noOrderText":[32],"load_more_text_trans":[32],"languageCode":[32],"orders":[32],"pagination":[32],"hasInfiniteScroll":[32],"total":[32],"nextPage":[32],"showPlaceholder":[32]}]]],["p-923a35da",[[0,"salla-tiered-offer",{"tieredOfferData":[32],"apiOfferData":[32],"currentTierIndex":[32],"currentTier":[32],"activeTabTier":[32],"canRender":[32],"isLoading":[32],"loyaltyProgramText":[32],"currentTierText":[32],"discountText":[32],"benefitText":[32]}]]],["p-2f64c3b3",[[0,"salla-cart-item-offers",{"quantity":[2],"offers":[1],"itemId":[1,"item-id"],"productPrice":[2,"product-price"],"internalQuantity":[32],"internalOffers":[32],"internalProductPrice":[32],"showAll":[32],"freeLabel":[32],"receivedOffer":[32],"discountAmountLabel":[32],"showMoreOffers":[32]}],[4,"salla-cart-summary",{"showCartLabel":[4,"show-cart-label"],"cartSummaryCount":[32],"cartSummaryTotal":[32],"cartLabel":[32],"animateToCart":[64]}]]],["p-cacf3c75",[[0,"salla-advertisement",{"position":[32],"advertisements":[32],"advertIcon":[32],"currentSlug":[32]}]]],["p-5f9b8ada",[[0,"salla-app-install-alert",{"data":[32],"ctaLink":[32],"open":[32],"closing":[32]}]]],["p-63a2ee05",[[0,"salla-apps-icons",{"hideTitle":[4,"hide-title"],"appsTitle":[1,"apps-title"],"vertical":[4],"apps":[32]}]]],["p-f12f8db3",[[0,"salla-cashback-banner",{"cashbackData":[32],"productId":[32]}]]],["p-8e293878",[[0,"salla-contacts",{"contactsTitle":[1025,"contacts-title"],"hideTitle":[4,"hide-title"],"isHeader":[4,"is-header"],"horizontal":[4],"iconsOnly":[4,"icons-only"],"contacts":[32],"iconsList":[32]}]]],["p-3b7cbf05",[[0,"salla-fulfillment-methods",{"methods":[32],"shouldRender":[32]}]]],["p-3eb853f9",[[1,"salla-hook",{"name":[1],"mount":[64]}]]],["p-d7e4f0f8",[[4,"salla-infinite-scroll",{"nextPage":[1,"next-page"],"autoload":[1028],"container":[1],"loadMoreText":[1,"load-more-text"],"item":[1],"loadMore":[32],"noMore":[32],"failedToLoad":[32]}]]],["p-0dfd760b",[[0,"salla-installment",{"price":[1],"language":[1],"currency":[1],"country":[1],"tabbyIsActive":[32],"spotiiIsActive":[32],"tamaraIsActive":[32],"mispayActive":[32],"emkanIsActive":[32],"madfuActive":[32],"rajehiIsActive":[32],"klarnaIsActive":[32],"installment_sheria_text":[32]}]]],["p-63acbca7",[[0,"salla-loyalty-points-banner",{"pointsData":[32],"productId":[32]}]]],["p-d0847af9",[[0,"salla-loyalty-prize-item",{"item":[16]}]]],["p-b8cd26a7",[[0,"salla-maintenance-alert",{"title":[32],"message":[32],"buttonTitle":[32]}]]],["p-897b8824",[[0,"salla-metadata",{"entity":[1],"entityId":[8,"entity-id"],"specs":[32],"download":[32]}]]],["p-66ece3d6",[[0,"salla-order-branch",{"stackCards":[516,"stack-cards"],"branchData":[32],"isLoading":[32]}]]],["p-a5199e7d",[[0,"salla-order-edit-product-card",{"product":[1]}]]],["p-e4db462b",[[0,"salla-order-shipments",{"orderId":[8,"order-id"],"shipments":[32]},null,{"orderId":["onOrderIdChange"]}]]],["p-db4dc7cc",[[0,"salla-order-totals-card",{"order":[1],"summary":[32]},null,{"order":["handleOrderChange"]}]]],["p-b4d47e7c",[[0,"salla-payments",{"exclude":[1040]}]]],["p-6cd863b9",[[0,"salla-product-card-embed",{"productId":[8,"product-id"],"align":[513],"source":[513],"loading":[32],"hasError":[32],"productData":[32]}]]],["p-7ce5c2cd",[[0,"salla-social",{"links":[32],"iconsList":[32]}]]],["p-b4fda5f4",[[0,"salla-trust-badges",{"dark":[4],"commercialRegisterLabel":[32],"freelanceLabel":[32]}]]],["p-441ee14a",[[0,"salla-order-edit-item",{"item":[16],"orderId":[8,"order-id"],"quantity":[32]},null,{"item":["handleItemChange"]}]]],["p-2ddabee9",[[0,"salla-rating-modal",{"orderId":[1032,"order-id"],"productId":[1032,"product-id"],"order":[32],"hasError":[32],"showContactWidget":[32],"errorMessage":[32],"images":[32],"productImages":[32],"editItemImages":[32],"contact_body":[32],"editMode":[32],"defaultMode":[32],"deleteMode":[32],"shouldOpenDeleteModal":[32],"editType":[32],"editFeedbackId":[32],"deleteFeedbackId":[32],"editItem":[32],"loyaltyImageRatingPoints":[32],"enableNewPopUp":[32],"setOrder":[64],"open":[64],"close":[64]}]]],["p-602e632c",[[0,"salla-order-details-multiple-bundle-product",{"productDetails":[16,"product-details"],"collapsible":[4],"placeholderImage":[1,"placeholder-image"]}]]],["p-a7fccb9c",[[4,"salla-filters-widget",{"withLoadMore":[1028,"with-load-more"],"filtersData":[16,"filters-data"],"option":[16],"isOpen":[32],"isShowMore":[32],"showMoreLabel":[32],"showLessLabel":[32],"page":[32],"searchQuery":[32],"filteredCount":[32],"setWidgetHeight":[64],"reset":[64],"showMore":[64],"toggleWidget":[64]}]]],["p-b0a87a8d",[[0,"salla-login-modal",{"isEmailAllowed":[1028,"is-email-allowed"],"isMobileAllowed":[1028,"is-mobile-allowed"],"isEmailRequired":[1028,"is-email-required"],"supportWebAuth":[516,"support-web-auth"],"inline":[516],"storeId":[1032,"store-id"],"api":[1],"headers":[1025],"withoutReload":[1028,"without-reload"],"source":[32],"messages":[32],"isClosable":[32],"iframeLoaded":[32],"scrolling":[32],"direction":[32],"canRenderIframe":[32],"open":[64]}]]],["p-647832d9",[[0,"salla-notifications",{"loadMoreText":[1,"load-more-text"],"itemPerPage":[2,"item-per-page"],"pagination":[32],"total":[32],"showPlaceholder":[32],"nextPage":[32],"no_notifications_trans":[32],"load_more_text_trans":[32]}],[0,"salla-notification-item",{"notification":[16]}]]],["p-5f860460",[[4,"salla-social-share",{"url":[1537],"urlName":[513,"url-name"],"platforms":[513],"mode":[513],"modalTitle":[1,"modal-title"],"opened":[32],"copied":[32],"allPlatforms":[32],"platformIcons":[32],"convertedPlatforms":[32],"open":[64],"close":[64],"refresh":[64]},null,{"url":["onUrlChanged"]}]]],["p-9dbf3ff4",[[4,"salla-slider",{"blockTitle":[513,"block-title"],"listenToThumbnailsOption":[516,"listen-to-thumbnails-option"],"blockSubtitle":[513,"block-subtitle"],"displayAllUrl":[513,"display-all-url"],"arrowsCentered":[516,"arrows-centered"],"verticalThumbs":[516,"vertical-thumbs"],"gridThumbs":[516,"grid-thumbs"],"vertical":[516],"autoHeight":[516,"auto-height"],"showControls":[516,"show-controls"],"controlsOuter":[516,"controls-outer"],"showThumbsControls":[4,"show-thumbs-controls"],"staticWhenSingle":[516,"static-when-single"],"autoPlay":[4,"auto-play"],"slidesPerView":[1,"slides-per-view"],"pagination":[4],"centered":[4],"loop":[4],"direction":[1537],"type":[1],"sliderConfig":[520,"slider-config"],"thumbsConfig":[520,"thumbs-config"],"currentIndex":[32],"isEnd":[32],"isBeginning":[32],"displayAllTitle":[32],"isDesktopViewport":[32],"sliderInstance":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"slideToLoop":[64],"slideNextLoop":[64],"slidePrevLoop":[64],"slideReset":[64],"slideToClosest":[64],"update":[64],"updateAutoHeight":[64],"updateSlides":[64],"updateProgress":[64],"updateSlidesClasses":[64],"getSlides":[64],"updateSize":[64],"sliderInit":[64],"thumbsSliderInstance":[64],"thumbsSliderInit":[64],"thumbsSliderUpdate":[64],"thumbsSliderUpdateSlides":[64],"getThumbsUpdateSize":[64],"thumbsSlideTo":[64],"getThumbsSlides":[64]}]]],["p-9ae25175",[[4,"salla-quantity-input",{"cartItemId":[8,"cart-item-id"],"disableInput":[32],"quantity":[32],"fireChangeEvent":[32],"decrease":[64],"increase":[64],"setValue":[64]},null,{"quantity":["watchPropHandler"]}],[0,"salla-attachments",{"attachments":[1],"images":[1],"videos":[1],"rating":[1],"productRatings":[1,"product-ratings"],"productId":[8,"product-id"],"maxVisible":[2,"max-visible"],"clickable":[4]}],[0,"salla-tel-input",{"phone":[1025],"autofocus":[516],"name":[1],"disabled":[4],"countryCode":[1025,"country-code"],"mobileRequired":[32],"countryCodeLabel":[32],"mobileLabel":[32],"tooShort":[32],"tooLong":[32],"invalidCountryCode":[32],"invalidNumber":[32],"errorMap":[32],"getValues":[64],"isValid":[64]}],[0,"salla-booking-field",{"option":[16],"productId":[2,"product-id"],"bookNowLabel":[32],"editLabel":[32],"bookedLabel":[32],"selectDate":[32],"bookingUrl":[32],"iframeReady":[32],"reservations":[32],"reservationsInput":[32]}],[4,"salla-color-picker",{"name":[1],"required":[4],"color":[1537],"format":[1],"showCancelButton":[4,"show-cancel-button"],"showTextField":[4,"show-text-field"],"enableAlpha":[4,"enable-alpha"],"widgetColor":[32],"setPickerOption":[64],"movePopUp":[64],"setColorValue":[64],"openPicker":[64],"closePicker":[64],"destroyPicker":[64]}],[4,"salla-conditional-fields",null,[[0,"change","changeHandler"],[0,"input","changeHandler"]]],[0,"salla-datetime-picker",{"value":[1537],"required":[4],"name":[513],"placeholder":[1],"allowInput":[4,"allow-input"],"allowInvalidPreload":[4,"allow-invalid-preload"],"altFormat":[1,"alt-format"],"altInput":[4,"alt-input"],"altInputClass":[1,"alt-input-class"],"appendTo":[16,"append-to"],"ariaDateFormat":[1,"aria-date-format"],"autoFillDefaultTime":[4,"auto-fill-default-time"],"clickOpens":[4,"click-opens"],"closeOnSelect":[4,"close-on-select"],"conjunction":[1],"dateFormat":[1,"date-format"],"defaultDate":[8,"default-date"],"defaultHour":[2,"default-hour"],"defaultMinute":[2,"default-minute"],"defaultSeconds":[2,"default-seconds"],"disable":[16],"disableMobile":[4,"disable-mobile"],"enable":[16],"enableSeconds":[4,"enable-seconds"],"enableTime":[4,"enable-time"],"formatDate":[16,"format-date"],"hourIncrement":[2,"hour-increment"],"inline":[4],"locale":[1],"maxDate":[8,"max-date"],"maxTime":[8,"max-time"],"minDate":[8,"min-date"],"minTime":[8,"min-time"],"minuteIncrement":[2,"minute-increment"],"mode":[1],"monthSelectorType":[1,"month-selector-type"],"nextArrow":[1,"next-arrow"],"noCalendar":[4,"no-calendar"],"dateParser":[16,"date-parser"],"position":[1],"positionElement":[16,"position-element"],"prevArrow":[1,"prev-arrow"],"shorthandCurrentMonth":[4,"shorthand-current-month"],"static":[4],"showMonths":[2,"show-months"],"time_24hr":[4,"time_-2-4hr"],"weekNumbers":[4,"week-numbers"],"wrap":[4],"disabled":[4]}],[0,"salla-file-upload",{"value":[1544],"files":[513],"height":[513],"cartItemId":[1,"cart-item-id"],"profileImage":[516,"profile-image"],"name":[1537],"payloadName":[1,"payload-name"],"payloadParams":[16,"payload-params"],"type":[1],"accept":[1537],"fileId":[2,"file-id"],"url":[1025],"method":[1],"formData":[1,"form-data"],"required":[4],"maxFileSize":[1,"max-file-size"],"disabled":[4],"allowDrop":[4,"allow-drop"],"allowBrowse":[4,"allow-browse"],"allowPaste":[4,"allow-paste"],"allowMultiple":[4,"allow-multiple"],"enableGallery":[516,"enable-gallery"],"allowReplace":[4,"allow-replace"],"allowRevert":[4,"allow-revert"],"allowRemove":[4,"allow-remove"],"allowProcess":[4,"allow-process"],"allowReorder":[4,"allow-reorder"],"allowImagePreview":[4,"allow-image-preview"],"imagePreviewHeight":[2,"image-preview-height"],"filePosterHeight":[2,"file-poster-height"],"storeAsFile":[4,"store-as-file"],"forceRevert":[4,"force-revert"],"maxFilesCount":[2,"max-files-count"],"maxParallelUploads":[2,"max-parallel-uploads"],"maxImagesCount":[2,"max-images-count"],"maxVideosCount":[2,"max-videos-count"],"maxVideoFileSize":[1,"max-video-file-size"],"maxVideoDuration":[2,"max-video-duration"],"checkValidity":[4,"check-validity"],"itemInsertLocation":[1,"item-insert-location"],"itemInsertInterval":[2,"item-insert-interval"],"credits":[4],"dropOnPage":[4,"drop-on-page"],"dropOnElement":[4,"drop-on-element"],"dropValidation":[4,"drop-validation"],"ignoredFiles":[16,"ignored-files"],"instantUpload":[1028,"instant-upload"],"chunkUploads":[4,"chunk-uploads"],"chunkForce":[4,"chunk-force"],"chunkSize":[2,"chunk-size"],"chunkRetryDelays":[16,"chunk-retry-delays"],"labelDecimalSeparator":[1,"label-decimal-separator"],"labelThousandsSeparator":[1,"label-thousands-separator"],"labelIdle":[1025,"label-idle"],"iconRemove":[1,"icon-remove"],"iconProcess":[1,"icon-process"],"iconRetry":[1,"icon-retry"],"iconUndo":[1,"icon-undo"],"max_images_count":[32],"max_videos_count":[32],"max_count_hint":[32],"video_too_large":[32],"video_too_long":[32],"uploadedFiles":[32],"isListScrollerListenerAdded":[32],"showMaxCountHint":[32],"previewFiles":[32],"setOption":[64]}],[0,"salla-attachment-view",{"attachments":[1],"isOpen":[32],"activeIndex":[32],"open":[64],"close":[64]}]]],["p-7c2a0a8b",[[0,"salla-multiple-bundle-product-details",{"sections":[16],"selectedProducts":[32],"canSelectBundleProduct":[64]},null,{"sections":["handleSectionsChange"]}],[0,"salla-multiple-bundle-product-cart",{"sections":[16],"itemNumber":[32]}]]],["p-5ab11313",[[0,"salla-rating-modal-v2",{"orderId":[1032,"order-id"],"productId":[1032,"product-id"],"order":[32],"hasError":[32],"showContactWidget":[32],"errorMessage":[32],"images":[32],"productImages":[32],"editItemImages":[32],"productReviewFactors":[32],"editFactorRatings":[32],"productMainRatings":[32],"productFactorRatings":[32],"editMainRating":[32],"contact_body":[32],"editMode":[32],"defaultMode":[32],"deleteMode":[32],"shouldOpenDeleteModal":[32],"editType":[32],"editFeedbackId":[32],"deleteFeedbackId":[32],"editItem":[32],"allowAttachImages":[32],"allowAttachVideos":[32],"allowContactSupport":[32],"uploadCounts":[32],"uploadImageCounts":[32],"uploadVideoCounts":[32],"hasUploadsInProgress":[32],"loyaltyImageRatingPoints":[32],"setOrder":[64],"open":[64],"openEditModal":[64],"openDeleteModal":[64],"close":[64]}]]],["p-37b73a97",[[0,"salla-progress-bar",{"donation":[1],"target":[1026],"value":[1026],"height":[1025],"header":[1025],"stripped":[1028],"message":[1025],"unit":[1025],"color":[1025],"hideUnits":[4,"hide-units"]}],[4,"salla-map",{"name":[1],"required":[4],"readonly":[4],"searchable":[1028],"lat":[1026],"lng":[1026],"apiKey":[1025,"api-key"],"modalTitle":[1,"modal-title"],"zoom":[1026],"theme":[1025],"modalActivityTitle":[32],"confirmButtonTitle":[32],"locateButtonTitle":[32],"locateButtonEdit":[32],"searchPlaceholder":[32],"searchInputValue":[32],"formattedAddress":[32],"geolocationError":[32],"searchInput":[32],"mapInput":[32],"mapElement":[32],"selectedLat":[32],"selectedLng":[32],"reportValidity":[64],"open":[64]}]]],["p-b4f2f280",[[0,"salla-order-details-options",{"options":[1],"bordered":[4],"placeholderImage":[1,"placeholder-image"],"optionsData":[32]}]]],["p-1628c63c",[[0,"salla-comment-factors",{"factors":[16]}]]],["p-8e631629",[[0,"salla-price-range",{"minPrice":[1032,"min-price"],"maxPrice":[1032,"max-price"],"option":[16],"filtersData":[520,"filters-data"],"min":[32],"max":[32],"priceOptions":[32],"moreThanLabel":[32],"lessThanLabel":[32],"toLabel":[32],"fromLabel":[32],"typing":[32],"isMin":[32],"isRTL":[32],"reset":[64]}]]],["p-c9b1ad01",[[0,"salla-loyalty-exchange-product-card",{"product":[8],"hasCustomCard":[32]}]]],["p-be916b5f",[[0,"salla-bullet-delivery",{"activeTab":[32],"isLoggedIn":[32],"viewMode":[32],"countries":[32],"regions":[32],"cities":[32],"districts":[32],"loadingRegions":[32],"selectedCountry":[32],"selectedRegion":[32],"selectedCity":[32],"selectedDistrict":[32],"districtName":[32],"savedAddresses":[32],"selectedSavedAddress":[32],"selectedSessionAddress":[32],"branches":[32],"filteredBranches":[32],"selectedBranch":[32],"branchSearchQuery":[32],"loadingCountries":[32],"loadingCities":[32],"loadingDistricts":[32],"loadingBranches":[32],"loadingNearestBranch":[32],"locationError":[32],"savingAddress":[32],"loadingSavedAddresses":[32],"showCartWillBeClearedBanner":[32],"countrySearchQuery":[32],"regionSearchQuery":[32],"citySearchQuery":[32],"districtSearchQuery":[32],"searchingCountries":[32],"searchingRegions":[32],"searchingCities":[32],"searchingDistricts":[32],"displayedCountries":[32],"displayedRegions":[32],"displayedCities":[32],"displayedDistricts":[32],"allocationOutOfCoverageMessage":[32],"mapLocationData":[32],"addressToken":[32],"loadingToken":[32],"mapReady":[32],"mapStep":[32],"addressDescription":[32],"reverseGeocoding":[32],"newAddressForm":[32],"open":[64],"close":[64]}],[0,"salla-searchable-dropdown",{"label":[1],"placeholder":[1],"items":[16],"selectedItem":[16,"selected-item"],"loading":[4],"searching":[4],"disabled":[4],"required":[4],"noResultsText":[1,"no-results-text"],"inputId":[1,"input-id"],"searchQuery":[1,"search-query"],"clientSearch":[4,"client-search"],"dropUp":[4,"drop-up"],"searchable":[4],"keepParentScroll":[4,"keep-parent-scroll"],"isOpen":[32],"focusedIndex":[32],"clientSearchQuery":[32]},null,{"items":["onItemsChange"]}]]],["p-56e553e4",[[0,"salla-products-list",{"source":[1537],"sourceValue":[1032,"source-value"],"limit":[1026],"sortBy":[1025,"sort-by"],"filtersResults":[1540,"filters-results"],"horizontalCards":[516,"horizontal-cards"],"rowCards":[516,"row-cards"],"compactCards":[516,"compact-cards"],"autoload":[1028],"loadMoreText":[1,"load-more-text"],"productCardComponent":[1,"product-card-component"],"includes":[1040],"selectable":[1540],"page":[32],"nextPage":[32],"hasInfiniteScroll":[32],"hasCustomComponent":[32],"sourceValueIsValid":[32],"placeholderText":[32],"endOfText":[32],"failedLoadMore":[32],"currentPage":[32],"currentCategoryIdFilter":[32],"isReady":[32],"showPlaceholder":[32],"switchToNormalBehavior":[32],"parsedFilters":[32],"filtersSnapshot":[32],"setFilters":[64],"reload":[64],"loadMore":[64],"getSelected":[64],"getLoadedProducts":[64],"selectAll":[64],"clearSelection":[64]},null,{"selectable":["onSelectableChanged"]}]]],["p-1edbb249",[[0,"salla-review-factors-tags",{"factors":[16],"orderId":[2,"order-id"],"ratingId":[2,"rating-id"],"productId":[2,"product-id"],"itemId":[2,"item-id"],"loadedFactors":[32]},null,{"factors":["onPropsChange"],"orderId":["onPropsChange"],"ratingId":["onPropsChange"],"productId":["onPropsChange"],"itemId":["onPropsChange"]}]]],["p-003648b5",[[0,"salla-bought-together",{"limit":[2],"recommendations":[32],"selectedIds":[32],"isLoading":[32],"canRender":[32],"isAdding":[32],"title":[32],"subtitle":[32],"buyTogetherFor":[32]}],[4,"salla-add-product-button",{"channels":[513],"subscribedOptions":[1,"subscribed-options"],"hasPreOrder":[516,"has-pre-order"],"quickBuy":[1540,"quick-buy"],"quantity":[514],"donatingAmount":[514,"donating-amount"],"notifyOptionsAvailability":[516,"notify-options-availability"],"productId":[520,"product-id"],"supportStickyBar":[516,"support-sticky-bar"],"productStatus":[513,"product-status"],"productType":[513,"product-type"],"hasOutOfStockOption":[32],"hasSubscribedOptions":[32],"selectedOptions":[32],"showQuickBuy":[32],"isApplePayActive":[32],"buyNowText":[32],"isDesktopViewport":[32]}],[0,"salla-quick-buy",{"type":[1025],"productType":[1025,"product-type"],"productId":[1025,"product-id"],"cartId":[1025,"cart-id"],"amount":[1538],"currency":[1025],"options":[16],"isRequireShipping":[1028,"is-require-shipping"],"applePayOnly":[1028,"apple-pay-only"],"validateHost":[1025,"validate-host"],"supportedNetworks":[1040,"supported-networks"],"supportedCountries":[1040,"supported-countries"],"isApplePayActive":[32],"quickBuy":[32]}],[0,"salla-product-availability",{"channels":[1],"notifyOptionsAvailability":[4,"notify-options-availability"],"productId":[2,"product-id"],"isSubscribed":[1028,"is-subscribed"],"translationLoaded":[32],"title_":[32]},null,{"channels":["channelsWatcher"]}],[0,"salla-product-options",{"productAvailable":[1028,"product-available"],"productId":[8,"product-id"],"options":[1],"hideOutLabel":[1,"hide-out-label"],"uniqueKey":[1,"unique-key"],"bundleContext":[1,"bundle-context"],"config":[1],"noPadding":[4,"no-padding"],"optionsData":[32],"outOfStockText":[32],"donationAmount":[32],"selectDonationAmount":[32],"selectAmount":[32],"isCustomDonation":[32],"selectedOptions":[32],"canDisabled":[32],"selectedSkus":[32],"selectedOutSkus":[32],"disableCardValue":[32],"availableDigitalCardValues":[32],"userInitiatedValidation":[32],"isCartMode":[32],"availabilityMap":[32],"setOptionsData":[64],"getOptionsData":[64],"getSelectedOptionsData":[64],"reportValidity":[64],"hasOutOfStockOption":[64],"getSelectedOptions":[64],"getOption":[64],"seedSelectedOptions":[64],"enterCartMode":[64],"enableUserInitiatedValidation":[64],"validateAndScroll":[64]}]]],["p-440687a4",[[0,"salla-products-slider",{"blockTitle":[1,"block-title"],"subTitle":[1,"sub-title"],"sliderId":[1,"slider-id"],"displayAllUrl":[1,"display-all-url"],"autoplay":[1028],"source":[1537],"sourceValue":[1,"source-value"],"limit":[1026],"sliderConfig":[520,"slider-config"],"sliderProps":[16,"slider-props"],"productCardComponent":[1,"product-card-component"],"includes":[1040],"productsData":[32],"isReady":[32],"sourceValueIsValid":[32],"hasCustomComponent":[32],"apiUrl":[32],"parsedSourceValue":[32]},null,{"isReady":["onReadyChanged"]}]]],["p-fa0467a7",[[1,"salla-multiple-bundle-product-options-modal",{"product":[32],"sectionId":[32],"sectionIndex":[32],"productIndex":[32],"selectedOptions":[32],"optionsResetTokens":[32],"isLoading":[32],"hasUnsavedChanges":[32],"validationErrors":[32],"open":[64],"close":[64],"refreshOptionsState":[64]},null,{"product":["handleProductChange"]}],[0,"salla-multiple-bundle-product-slider",{"section":[16],"sectionIndex":[2,"section-index"],"selectedProducts":[16,"selected-products"],"isSelectionLocked":[4,"is-selection-locked"],"selectionLimit":[2,"selection-limit"],"savedOptionsByInstance":[32]},[[4,"optionsSaved","handleOptionsSaved"]]]]],["p-177e9071",[[4,"salla-tooltip",{"text":[1],"targetId":[1,"target-id"],"theme":[1],"show":[32]},[[9,"mouseover","handleMouseOver"],[9,"mouseout","handleMouseOut"]]]]],["p-1485dedd",[[4,"salla-list-tile",{"href":[1],"target":[1]}]]],["p-74a1a32f",[[4,"salla-badge",{"size":[1],"color":[1],"bg":[1]}]]],["p-1ce848ab",[[0,"salla-count-down",{"date":[1],"preOrder":[1,"pre-order"],"horizontal":[4],"withButton":[4,"with-button"],"prefixText":[1,"prefix-text"],"buttonHref":[1,"button-href"],"buttonText":[1,"button-text"],"buttonIcon":[1,"button-icon"],"boxed":[4],"size":[1],"color":[1],"labeled":[4],"endText":[1,"end-text"],"boxColor":[1,"box-color"],"boxTheme":[1,"box-theme"],"listPadding":[1,"list-padding"],"digits":[1],"endOfDay":[4,"end-of-day"],"autoSegments":[4,"auto-segments"],"daysLabel":[32],"hoursLabel":[32],"minutesLabel":[32],"secondsLabel":[32],"endLabel":[32],"invalidDate":[32],"offerEnded":[32],"parseFailed":[32],"countInterval":[32],"days":[32],"hours":[32],"minutes":[32],"seconds":[32],"showDays":[32],"showHours":[32],"endCountDown":[64]}]]],["p-52607d64",[[0,"salla-loyalty-program",{"currentPrize":[32],"currentProductId":[32],"collapsed":[32],"animatedPoints":[32]}],[0,"salla-loyalty-panel",{"prizePoints":[1537,"prize-points"],"customerPoints":[1538,"customer-points"],"prizeTitle":[1537,"prize-title"],"currentPrize":[32],"currentProductId":[32]}],[0,"salla-loyalty-banner"],[0,"salla-loyalty-reward",{"size":[1],"prize":[16],"group":[1]}],[0,"salla-loyalty-point",{"point":[16]}],[4,"salla-loyalty-hero",{"image":[1],"name":[1],"description":[1]}],[0,"salla-reward-details",{"prize":[16],"refreshKey":[32],"includedProductsData":[32]},[[0,"loyaltyProductExchange","handleProductExchange"]],{"prize":["handlePrizeChange"]}],[4,"salla-reward-card",{"prize":[16]}],[0,"salla-reward-action",{"prize":[16]}],[0,"salla-reward-exchange",{"prize":[16],"productId":[2,"product-id"]}]]],["p-840dd411",[[4,"salla-accordion-body"],[4,"salla-accordion-head",{"collapsible":[4],"collapsed":[1540]}]]],["p-a867beee",[[4,"salla-placeholder",{"icon":[1],"alignment":[1],"iconSize":[1,"icon-size"],"translationLoaded":[32]}]]],["p-5c9e4502",[[4,"salla-tab-content",{"name":[1],"isSelected":[32],"getChild":[64]}],[4,"salla-tab-header",{"name":[1],"activeClass":[1,"active-class"],"height":[8],"centered":[4],"isSelected":[32],"getChild":[64]}],[4,"salla-tabs",{"backgroundColor":[1,"background-color"],"vertical":[4]},[[0,"tabSelected","onSelectedTab"]]]]],["p-233b9115",[[0,"salla-breadcrumb",{"breadcrumbs":[32]}],[4,"salla-drawer",{"isClosable":[1028,"is-closable"],"width":[513],"position":[513],"visible":[516],"hasSkeleton":[516,"has-skeleton"],"isLoading":[1540,"is-loading"],"subTitleFirst":[4,"sub-title-first"],"noPadding":[4,"no-padding"],"subTitle":[1,"sub-title"],"centered":[4],"iconStyle":[1,"icon-style"],"drawerTitle":[32],"open":[64],"close":[64],"setTitle":[64],"loading":[64],"stopLoading":[64]},[[0,"keyup","handleKeyUp"]],{"visible":["handleVisible"]}],[4,"salla-accordion",{"collapsible":[4],"bordered":[4],"size":[1],"collapsed":[1540],"dir":[32]},[[4,"salla::language.change","directionChangedHandler"],[0,"accordionToggle","handleCollapse"]]],[4,"salla-modal",{"isClosable":[1028,"is-closable"],"width":[513],"customWidth":[1,"custom-width"],"position":[513],"visible":[516],"hasSkeleton":[516,"has-skeleton"],"isLoading":[1540,"is-loading"],"subTitleFirst":[4,"sub-title-first"],"noPadding":[4,"no-padding"],"subTitle":[1,"sub-title"],"centered":[4],"iconStyle":[1,"icon-style"],"showBack":[516,"show-back"],"modalTitle":[32],"open":[64],"close":[64],"setTitle":[64],"loading":[64],"stopLoading":[64]},[[0,"keyup","handleKeyUp"]],{"visible":["handleVisible"]}],[0,"salla-loading",{"size":[8],"width":[8],"color":[1],"bgColor":[1,"bg-color"]}],[4,"salla-button",{"shape":[513],"color":[513],"fill":[513],"size":[513],"width":[513],"loading":[516],"disabled":[516],"loaderPosition":[1,"loader-position"],"href":[1],"type":[513],"load":[64],"stop":[64],"setText":[64],"disable":[64],"enable":[64]}]]],["p-991fa4ad",[[0,"salla-comments",{"itemId":[2,"item-id"],"loadMoreText":[1,"load-more-text"],"hideForm":[4,"hide-form"],"blockTitle":[1,"block-title"],"hideTitle":[4,"hide-title"],"type":[1],"showFormAvatar":[4,"show-form-avatar"],"hideBought":[4,"hide-bought"],"sort":[1],"testimonials":[4],"comments":[32],"pagination":[32],"total":[32],"showPlaceholder":[32],"nextPage":[32],"mostHelpfulLabel":[32],"verifiedPurchasesLabel":[32],"noComments":[32],"comment_title":[32],"comment_name":[32],"placeholder_text":[32],"showRatingSummary":[32],"allowLikes":[32],"allowVerifiedPurchasesFilter":[32],"reload":[64]},[[0,"commentAdded","onCommentAdded"]]],[0,"salla-verified-review",{"productId":[520,"product-id"],"ready":[32],"eligible":[32],"order":[32],"productImage":[32],"productImageAlt":[32],"loyaltyPoints":[32],"titlePurchasedLabel":[32],"titleNotPurchasedLabel":[32],"subtitleLabel":[32],"badgeLabel":[32],"orderMetaLabel":[32],"ctaLabel":[32],"loyaltyLabel":[32],"rateLimitMessage":[32],"rateLimited":[32]}],[0,"salla-reviews",{"displayAllLink":[516,"display-all-link"],"source":[513],"sourceValue":[513,"source-value"],"limit":[514],"type":[1],"sort":[1],"hideCustomerInfo":[4,"hide-customer-info"],"reviews":[32],"isRTL":[32],"showReviews":[32],"testimonialText":[32],"displayAllLinkText":[32]}],[0,"salla-reviews-page",{"reviews":[32],"isLoading":[32],"pagination":[32],"sort":[32]}],[0,"salla-reviews-summary",{"itemId":[2,"item-id"],"data":[32],"canRender":[32],"basedOnLabel":[32],"recommendedLabel":[32],"showRatingSummary":[32],"recommendationOnly":[32],"showRecommendation":[32]}],[0,"salla-comment-form",{"type":[1537],"showAvatar":[4,"show-avatar"],"itemId":[1544,"item-id"],"placeholder":[32],"submitText":[32],"canComment":[32]}],[0,"salla-review-card",{"review":[16],"currentSlide":[32],"purchasedCount":[32],"showPurchaseCount":[32]}],[0,"salla-comment-item",{"comment":[16],"hideBought":[16,"hide-bought"],"locked_trans":[32],"has_bought_trans":[32],"rated_trans":[32],"waiting_approval_trans":[32],"has_order_trans":[32],"allowLikes":[32],"allowAttachImages":[32],"allowAttachVideos":[32],"helpfulLabel":[32],"reviewDetailsLabel":[32],"likesCount":[32],"likedComments":[32],"showReviewFactors":[32]}],[0,"salla-rating-stars",{"name":[1],"size":[1],"value":[2],"reviews":[2],"withLabel":[4,"with-label"],"labelBeforeStars":[4,"label-before-stars"],"editable":[4],"tag":[4],"translationsLoaded":[32],"labels":[32],"reviewLabel":[32],"selectedStar":[32]}]]],["p-b16264a3",[[4,"salla-product-card",{"product":[1],"horizontal":[4],"shadowOnHover":[4,"shadow-on-hover"],"hideAddBtn":[4,"hide-add-btn"],"fullImage":[4,"full-image"],"minimal":[4],"isSpecial":[4,"is-special"],"showQuantity":[4,"show-quantity"],"compact":[516],"productData":[32],"fitImageHeight":[32],"remained":[32],"outOfStock":[32],"donationAmount":[32],"startingPrice":[32],"addToCart":[32],"placeholder":[32]}],[0,"salla-order-options-modal",{"orderOptions":[32],"basePrice":[32],"liveTotal":[32],"isSubmitting":[32],"sessionId":[32],"paymentMode":[32],"title":[32],"subtitle":[32],"submitLabel":[32],"totalLabel":[32],"requiredMessage":[32],"open":[64],"close":[64]}]]],["p-569ad58b",[[0,"salla-skeleton",{"type":[1],"width":[1],"height":[1]}]]]]'),e))));
4
+ import{p as e,g as a,b as t}from"./p-Bf2Z6A1M.js";export{s as setNonce}from"./p-Bf2Z6A1M.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await a(),t(JSON.parse('[["p-7b6fa77f",[[0,"salla-offer-modal",{"offer":[32],"offer_name":[32],"offer_message":[32],"hasError":[32],"errorMessage":[32],"productID":[32],"offer_type":[32],"translationLoaded":[32],"addToCartLabel":[32],"open":[64],"showOffer":[64]}]]],["p-13fb9b74",[[0,"salla-multiple-bundle-product",{"bundleSections":[1,"bundle-sections"],"parsedSections":[32]},null,{"bundleSections":["parseProducts"]}]]],["p-4f1102f8",[[0,"salla-basket-gap",{"limit":[2],"products":[32],"isLoading":[32],"canRender":[32],"title":[32],"addToCartLabel":[32],"weightLabel":[32],"discountLabel":[32]}]]],["p-e8a1c501",[[0,"salla-order-edit",{"orderId":[8,"order-id"],"orderData":[1,"order-data"],"excludedCategories":[1,"excluded-categories"],"order":[32],"loading":[32],"error":[32],"saveLoading":[32],"payload":[32],"expired":[32],"editPreview":[32],"productSearchQuery":[32],"productsListKey":[32],"productsListSource":[32],"productsListSourceValue":[32],"selectedProductToAdd":[32],"addProductQuantity":[32],"addProductLoading":[32],"addProductConfirmLoading":[32],"mobileProductsModalMounted":[32],"isMobileViewport":[32],"isRTL":[32]},[[0,"orderEditProductSelected","handleProductSelected"],[0,"orderItemUpdated","handleItemUpdated"],[0,"orderItemRemoved","handleItemRemoved"]]]]],["p-b603a180",[[4,"salla-gifting",{"productId":[2,"product-id"],"widgetTitle":[1,"widget-title"],"widgetSubtitle":[1,"widget-subtitle"],"physicalProducts":[4,"physical-products"],"physical":[4],"vertical":[4],"formSelector":[1025,"form-selector"],"sectionTitle":[32],"sectionSubtitle":[32],"sectionBtnText":[32],"giftDetails":[32],"selectImageForYourGift":[32],"selectImageOrUpload":[32],"selectGiftMessage":[32],"giftText":[32],"giftCustomText":[32],"textId":[32],"incorrectGiftText":[32],"nextStep":[32],"senderNameLabel":[32],"receiverNameFieldLabel":[32],"receiverMobileFieldLabel":[32],"receiverCountryFieldLabel":[32],"ksa":[32],"selectCountry":[32],"selectCity":[32],"selectCityInfo":[32],"cityChangeNotice":[32],"receiverCityFieldLabel":[32],"receiverRegionFieldLabel":[32],"selectRegion":[32],"receiverEmailFieldLabel":[32],"emailPlaceholder":[32],"sendLater":[32],"selectSendDateAndTime":[32],"canNotEditOrderAfterSelectDate":[32],"sendGift":[32],"donationRequired":[32],"currentStep":[32],"showCalendar":[32],"showGiftText":[32],"currentLang":[32],"parentClass":[32],"errors":[32],"gift":[32],"selectedGiftTextOption":[32],"selectedCountryId":[32],"selectedCountryCode":[32],"loadingCities":[32],"loadingRegions":[32],"regions":[32],"selectedRegionId":[32],"isKSA":[32],"selectedCountry":[32],"selectedRegion":[32],"displayedCities":[32],"selectedCity":[32],"searchingCities":[32],"enableCityAjaxSearch":[32],"citySearchQuery":[32],"parsedFormData":[32],"showTextArea":[32],"selectedImage":[32],"uploadedImage":[32],"selectedText":[32],"senderName":[32],"errorMessage":[32],"hasError":[32],"quantity":[32],"deliveryDate":[32],"timeZone":[32],"receiverName":[32],"receiverMobile":[32],"receiverCountryCode":[32],"receiverEmail":[32],"hostId":[32],"disableClass":[32],"receiverCity":[32],"open":[64],"close":[64],"goToStep2":[64]}]]],["p-b19102f6",[[4,"salla-loyalty",{"prizePoints":[1544,"prize-points"],"customerPoints":[1538,"customer-points"],"prizeTitle":[1537,"prize-title"],"allowEmail":[4,"allow-email"],"allowMobile":[4,"allow-mobile"],"requireEmail":[4,"require-email"],"guestMessage":[1025,"guest-message"],"loyaltyProgram":[32],"activeTabType":[32],"tabsKey":[32],"buttonLoading":[32],"selectedItem":[32],"askConfirmation":[32],"is_loggedin":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"close":[64],"resetExchange":[64],"exchangeLoyaltyPoint":[64]},[[0,"tabSelected","onTabSelected"]]]]],["p-d2c204f4",[[0,"salla-order-details",{"orderDetails":[1,"order-details"],"parsedOrderDetailsData":[32]},null,{"orderDetails":["parseOrderDetailsData"]}]]],["p-e284728d",[[4,"salla-product-size-guide",{"guides":[32],"productId":[32],"placeholder_title":[32],"placeholder_description":[32],"modal_title":[32],"hasError":[32],"open":[64],"close":[64]}]]],["p-fc587040",[[0,"salla-review-order-item",{"productId":[8,"product-id"],"orderItem":[32],"fetchOrderId":[32],"productRatings":[32],"allowUpdate":[32]},null,{"productId":["onProductIdChange"]}]]],["p-f2e5f1fd",[[0,"salla-offer",{"productCardComponent":[1,"product-card-component"],"offersList":[32],"userCurrency":[32],"title":[32],"currentPage":[32],"hasCustomComponent":[32],"canRender":[32],"showOffer":[32],"showAllOffersModal":[32],"showProductsModal":[32],"selectedOfferProducts":[32],"collapsedOffers":[32],"expandedCategories":[32],"productsLoaded":[32],"offer_with_price_text":[32],"with_discount_text":[32],"product_discount_text":[32],"special_offer_text":[32],"buy_quantity_text":[32],"products_link_text":[32],"min_spend_text":[32],"min_items_text":[32],"product_text":[32]}]]],["p-b7b4231f",[[0,"salla-custom-fields",{"fields":[1],"isEditable":[4,"is-editable"],"fileUploadUrl":[1,"file-upload-url"],"parsedFields":[32],"fieldErrors":[32],"isSubmitting":[32],"setFields":[64],"getFieldValues":[64],"validateFields":[64]}]]],["p-a3eb15e4",[[4,"salla-scopes",{"selection":[1],"searchDisplayLimit":[2,"search-display-limit"],"translationLoaded":[32],"mode":[32],"current_scope":[32],"scopes":[32],"originalScopesList":[32],"selected_scope":[32],"isOpenedBefore":[32],"hasError":[32],"loading":[32],"close":[64],"open":[64],"handleSubmit":[64]}]]],["p-1c662f1d",[[0,"salla-delivery-promise",{"isDeliveryPromiseEnabled":[32],"isLoginCycleEnabled":[32],"canRender":[32],"labels":[32],"selectedLabel":[32],"deliveryMessage":[32],"hasError":[32],"errorMessage":[32],"isLoadingPromises":[32],"selectedCityLoginCycle":[32],"selectedBranchLoginCycle":[32],"cities":[32],"selectedCity":[32],"isLoadingCities":[32],"cityPendingSelection":[32],"modalCities":[32],"isSearchingCities":[32]}]]],["p-4d3e018b",[[0,"salla-localization-modal",{"language":[1537],"currency":[1537],"showTrigger":[1540,"show-trigger"],"languages":[32],"currencies":[32],"hasError":[32],"errorMessage":[32],"open":[64],"close":[64],"submit":[64]}]]],["p-9ee1e01c",[[0,"salla-filters",{"filters":[1040],"isSidebarOpen":[32],"filtersData":[32],"apply":[32],"getFilters":[64],"applyFilters":[64],"resetFilters":[64],"removeFilter":[64]}]]],["p-33842645",[[0,"salla-quick-order",{"quickOrderTitle":[1025,"quick-order-title"],"subTitle":[1025,"sub-title"],"payButtonTitle":[1025,"pay-button-title"],"confirmPayButtonTitle":[1025,"confirm-pay-button-title"],"agreementText":[1025,"agreement-text"],"isEmailRequired":[1028,"is-email-required"],"productId":[1025,"product-id"],"thanksMessage":[1025,"thanks-message"],"quickOrderStyle":[1025,"quick-order-style"],"user":[32],"isAvailable":[32],"oneClick":[32],"expanded":[32],"isTermsRequired":[32],"countryCode":[32],"submitSucess":[32],"placeHolderEmail":[32],"emailOptional":[32],"agreementShowText":[32],"agreementModalHead":[32],"userNameLabel":[32],"termsChecked":[32]}]]],["p-be95b40b",[[4,"salla-user-menu",{"inline":[516],"avatarOnly":[516,"avatar-only"],"showHeader":[516,"show-header"],"relativeDropdown":[516,"relative-dropdown"],"showTrigger":[1540,"show-trigger"],"accountLoading":[32],"opened":[32],"notifications":[32],"orders":[32],"pending_orders":[32],"wishlist":[32],"profile":[32],"rating":[32],"wallet":[32],"settings":[32],"loyalty_points":[32],"logout":[32],"hello":[32],"first_name":[32],"last_name":[32],"avatar":[32],"is_loggedIn":[32],"badges":[32],"sallaAccountEnabled":[32],"walletBalance":[32],"walletBalanceLoading":[32],"hasBadges":[32],"profileUrl":[32],"OrderUpdate":[32]}]]],["p-e8b220e1",[[0,"salla-user-profile",{"minAge":[2,"min-age"],"userData":[32],"isEditable":[32],"disableAction":[32],"isLoading":[32],"first_name_trans":[32],"last_name_trans":[32],"birthday_trans":[32],"birthday_placeholder_trans":[32],"gender_trans":[32],"gender_placeholder_trans":[32],"male_trans":[32],"female_trans":[32],"email_trans":[32],"mobile_trans":[32],"save_btn_trans":[32],"drag_and_drop_trans":[32],"browse_trans":[32],"email_required_trans":[32],"invalid_email_trans":[32]}]]],["p-a8d6804c",[[0,"salla-user-settings",{"deleteAccount":[32],"deleteAccountDesc":[32],"deleteConfirmTitle":[32],"deleteAccountWarning":[32],"cancelLabel":[32],"deleteOtpTitle":[32],"deleteOtpInstruction":[32],"deleteConfirmOtp":[32],"sendViaPhone":[32],"sendViaEmail":[32],"deleteSuccessTitle":[32],"deleteSuccessMessage":[32],"okLabel":[32],"cancelDeletionRequest":[32],"deleteAccountPending":[32],"deletePendingDays":[32],"resendAfterLabel":[32],"resendLabel":[32],"promotionalMsgs":[32],"hideMyName":[32],"hideMyNameDesc":[32],"promotionalMsgsDesc":[32],"currentStep":[32],"isDeletePending":[32],"otpType":[32],"otpHasError":[32],"otpErrorMessage":[32],"isSubmitting":[32],"isVerifyingOtp":[32],"isSwitchingChannel":[32],"resendAfter":[32],"showResendLink":[32],"canHideName":[32],"isHiddenName":[32],"isNotifiable":[32]}]]],["p-09c1d9c8",[[0,"salla-bottom-alert",{"type":[513],"icon":[513],"message":[513],"actionUrl":[513,"action-url"],"actionLabel":[513,"action-label"],"storeId":[32],"template":[32],"loading":[32],"templateData":[32],"defaultMessage":[32],"defaultActionLabel":[32],"storeFeatures":[32],"storeDetails":[32],"storePrice":[32],"storePriceDetails":[32],"theDeveloper":[32],"templateInformation":[32],"buyTheTemplate":[32],"isRtl":[32],"storeName":[32],"salla":[32],"readyStores":[32],"moreDetailsLabel":[32]}],[4,"salla-alert",{"message":[1],"variant":[1],"icon":[1]}]]],["p-785cee9b",[[0,"salla-order-cancel",{"orderId":[8,"order-id"],"cancellationReasons":[1,"cancellation-reasons"],"reasons":[32],"selectedReasonId":[32],"reasonNote":[32],"confirmLoading":[32],"loading":[32],"modalTitleLabel":[32],"questionLabel":[32],"subtitleLabel":[32],"confirmLabel":[32],"backLabel":[32],"notePlaceholder":[32],"charLimitLabel":[32]},null,{"cancellationReasons":["onCancellationReasonsChange"]}]]],["p-97136699",[[0,"salla-search",{"placeholder":[4],"inline":[4],"oval":[4],"height":[2],"maxWords":[2,"max-words"],"showAction":[4,"show-action"],"translationLoaded":[32],"results":[32],"loading":[32],"typing":[32],"debounce":[32],"search_term":[32]},[[0,"keydown","handleKeyDown"]],{"search_term":["handleSearch"]}]]],["p-cfac0aa1",[[4,"salla-verify",{"display":[1],"type":[1025],"autoReload":[4,"auto-reload"],"supportWebAuth":[4,"support-web-auth"],"translationLoaded":[32],"title":[32],"resendAfter":[32],"hasError":[32],"errorMessage":[32],"isProfileVerify":[32],"getCode":[64],"open":[64]}]]],["p-7e9d98c3",[[0,"salla-cart-coupons",{"availableCoupons":[32],"cartTotal":[32],"cartTotalReady":[32],"currentCoupon":[32],"couponInputValue":[32],"couponError":[32],"isApplying":[32],"appliedCoupons":[32],"multiCoupon":[32],"selectCoupon":[64]}]]],["p-8e0bdbbc",[[0,"salla-cart-summary-card",{"validateForms":[4,"validate-forms"],"cartCount":[32],"cartTotal":[32],"cartTotalDiscount":[32],"cartSubTotal":[32],"cartOptionsTotal":[32],"cartShippingCost":[32],"cartTaxAmount":[32],"cartHasShipping":[32],"isOpen":[32],"isDesktop":[32],"isLoading":[32],"summaryLabel":[32],"itemsTotalLabel":[32],"itemsTotalNoTaxLabel":[32],"optionsTotalLabel":[32],"shippingCostLabel":[32],"vatTaxLabel":[32],"savedLabel":[32],"discountBadge":[32],"finalTotalLabel":[32],"pricesTaxedLabel":[32],"completeOrderLabel":[32],"openSummaryLabel":[32],"closeSummaryLabel":[32],"itemsCountTemplate":[32]}]]],["p-d2556680",[[0,"salla-conditional-offer",{"offer":[32],"products":[32],"isLoading":[32],"canRender":[32]}]]],["p-581eeaf8",[[0,"salla-edit-order-button",{"orderId":[8,"order-id"],"order":[32],"loading":[32]},null,{"orderId":["onOrderIdChange"]}]]],["p-57b7cd9f",[[0,"salla-loyalty-points-history",{"loyaltyPointsArray":[32],"balance":[32],"isLoadingLoyalty":[32],"nextPageUrlLoyalty":[32]}]]],["p-bc595ee3",[[0,"salla-next-order-coupon",{"coupon":[32],"isLoading":[32],"titlePercentTpl":[32],"titleFixedTpl":[32],"badgeLabel":[32],"minSpendTpl":[32],"expiresTpl":[32],"shopNowLabel":[32],"copyLabel":[32],"copiedLabel":[32]}]]],["p-8838ad5c",[[0,"salla-order-summary",{"orderId":[514,"order-id"],"codeCopied":[32],"noItemFound":[32],"order_items":[32]}]]],["p-a818352a",[[0,"salla-wallet",{"transactionsArray":[32],"balance":[32],"isLoading":[32],"nextPageUrl":[32]}]]],["p-c0c561b9",[[0,"salla-wishlist-actions",{"menuOpen":[32],"hasProducts":[32],"specificMode":[32],"selectedIds":[32],"loadedProductCount":[32],"isSharing":[32],"shareUrl":[32],"shareLabel":[32],"shareAllLabel":[32],"shareSpecificLabel":[32],"selectAllLabel":[32],"cancelLabel":[32],"shareModalTitle":[32],"shareSpecific":[64],"cancelSpecific":[64],"shareAll":[64],"shareSelected":[64]}]]],["p-0fb44a3c",[[0,"salla-cookies-bar",{"isVisible":[32],"step":[32],"isMobile":[32],"titleLabel":[32],"saveLabel":[32],"messageLabel":[32],"linkLabel":[32],"acceptLabel":[32],"acceptAllLabel":[32],"customizeLabel":[32],"essentialTitleLabel":[32],"essentialDescriptionLabel":[32],"essentialBadgeLabel":[32],"performanceTitleLabel":[32],"performanceDescriptionLabel":[32],"performanceEnabled":[32],"functionsTitleLabel":[32],"functionsDescriptionLabel":[32],"functionsEnabled":[32],"adsTitleLabel":[32],"adsDescriptionLabel":[32],"adsEnabled":[32],"accept":[64],"reject":[64],"open":[64]}]]],["p-dfaf0617",[[0,"salla-menu",{"source":[1],"sourceValue":[1,"source-value"],"topnav":[4],"useReactLink":[4,"use-react-link"],"limit":[2],"withCookiePreferences":[4,"with-cookie-preferences"],"menus":[32]}]]],["p-6e78cc02",[[0,"salla-orders",{"params":[16],"loadMoreText":[1,"load-more-text"],"orderNumberText":[32],"totalOrderText":[32],"orderDateText":[32],"orderStatusText":[32],"noOrderText":[32],"load_more_text_trans":[32],"languageCode":[32],"orders":[32],"pagination":[32],"hasInfiniteScroll":[32],"total":[32],"nextPage":[32],"showPlaceholder":[32]}]]],["p-cf21323d",[[0,"salla-tiered-offer",{"tieredOfferData":[32],"apiOfferData":[32],"currentTierIndex":[32],"currentTier":[32],"activeTabTier":[32],"canRender":[32],"isLoading":[32],"loyaltyProgramText":[32],"currentTierText":[32],"discountText":[32],"benefitText":[32]}]]],["p-0dc61077",[[0,"salla-cart-item-offers",{"quantity":[2],"offers":[1],"itemId":[1,"item-id"],"productPrice":[2,"product-price"],"internalQuantity":[32],"internalOffers":[32],"internalProductPrice":[32],"showAll":[32],"freeLabel":[32],"receivedOffer":[32],"discountAmountLabel":[32],"showMoreOffers":[32]}],[4,"salla-cart-summary",{"showCartLabel":[4,"show-cart-label"],"cartSummaryCount":[32],"cartSummaryTotal":[32],"cartLabel":[32],"animateToCart":[64]}]]],["p-0d199866",[[0,"salla-advertisement",{"position":[32],"advertisements":[32],"advertIcon":[32],"currentSlug":[32]}]]],["p-0da8a64f",[[0,"salla-app-install-alert",{"data":[32],"ctaLink":[32],"open":[32],"closing":[32]}]]],["p-0739e769",[[0,"salla-applied-filters",{"filters":[32],"filtersData":[32],"clearAllLabel":[32],"removeLabel":[32]}]]],["p-27396f6f",[[0,"salla-apps-icons",{"hideTitle":[4,"hide-title"],"appsTitle":[1,"apps-title"],"vertical":[4],"apps":[32]}]]],["p-17c30aa6",[[0,"salla-cashback-banner",{"cashbackData":[32],"productId":[32]}]]],["p-5a4f7313",[[0,"salla-contacts",{"contactsTitle":[1025,"contacts-title"],"hideTitle":[4,"hide-title"],"isHeader":[4,"is-header"],"horizontal":[4],"iconsOnly":[4,"icons-only"],"contacts":[32],"iconsList":[32]}]]],["p-0ccba871",[[0,"salla-fulfillment-methods",{"methods":[32],"shouldRender":[32]}]]],["p-c56725b9",[[1,"salla-hook",{"name":[1],"mount":[64]}]]],["p-f1322c8e",[[4,"salla-infinite-scroll",{"nextPage":[1,"next-page"],"autoload":[1028],"container":[1],"loadMoreText":[1,"load-more-text"],"item":[1],"loadMore":[32],"noMore":[32],"failedToLoad":[32]}]]],["p-0e12c9ca",[[0,"salla-installment",{"price":[1],"language":[1],"currency":[1],"country":[1],"tabbyIsActive":[32],"spotiiIsActive":[32],"tamaraIsActive":[32],"mispayActive":[32],"emkanIsActive":[32],"madfuActive":[32],"rajehiIsActive":[32],"klarnaIsActive":[32],"installment_sheria_text":[32]}]]],["p-44ee3af8",[[0,"salla-loyalty-points-banner",{"pointsData":[32],"productId":[32]}]]],["p-c31b966f",[[0,"salla-loyalty-prize-item",{"item":[16]}]]],["p-0c4c4419",[[0,"salla-maintenance-alert",{"title":[32],"message":[32],"buttonTitle":[32]}]]],["p-69d75b45",[[0,"salla-metadata",{"entity":[1],"entityId":[8,"entity-id"],"specs":[32],"download":[32]}]]],["p-9f1d1b76",[[0,"salla-order-branch",{"stackCards":[516,"stack-cards"],"branchData":[32],"isLoading":[32]}]]],["p-cfbf287b",[[0,"salla-order-edit-product-card",{"product":[1]}]]],["p-bded58cb",[[0,"salla-order-shipments",{"orderId":[8,"order-id"],"shipments":[32]},null,{"orderId":["onOrderIdChange"]}]]],["p-8cf65dbf",[[0,"salla-order-totals-card",{"order":[1],"summary":[32]},null,{"order":["handleOrderChange"]}]]],["p-9fdb6380",[[0,"salla-payments",{"exclude":[1040]}]]],["p-2c212d54",[[0,"salla-product-card-embed",{"productId":[8,"product-id"],"align":[513],"source":[513],"loading":[32],"hasError":[32],"productData":[32]}]]],["p-e54cc4f8",[[0,"salla-social",{"links":[32],"iconsList":[32]}]]],["p-38b4dfa9",[[0,"salla-trust-badges",{"dark":[4],"commercialRegisterLabel":[32],"freelanceLabel":[32]}]]],["p-03db1fe6",[[0,"salla-order-edit-item",{"item":[16],"orderId":[8,"order-id"],"quantity":[32]},null,{"item":["handleItemChange"]}]]],["p-7e101885",[[0,"salla-rating-modal",{"orderId":[1032,"order-id"],"productId":[1032,"product-id"],"order":[32],"hasError":[32],"showContactWidget":[32],"errorMessage":[32],"images":[32],"productImages":[32],"editItemImages":[32],"contact_body":[32],"editMode":[32],"defaultMode":[32],"deleteMode":[32],"shouldOpenDeleteModal":[32],"editType":[32],"editFeedbackId":[32],"deleteFeedbackId":[32],"editItem":[32],"loyaltyImageRatingPoints":[32],"enableNewPopUp":[32],"setOrder":[64],"open":[64],"close":[64]}]]],["p-f586c239",[[0,"salla-order-details-multiple-bundle-product",{"productDetails":[16,"product-details"],"collapsible":[4],"placeholderImage":[1,"placeholder-image"]}]]],["p-2f2771de",[[4,"salla-filters-widget",{"withLoadMore":[1028,"with-load-more"],"filtersData":[16,"filters-data"],"option":[16],"isOpen":[32],"isShowMore":[32],"showMoreLabel":[32],"showLessLabel":[32],"page":[32],"searchQuery":[32],"filteredCount":[32],"setWidgetHeight":[64],"reset":[64],"showMore":[64],"toggleWidget":[64]}]]],["p-aa71f393",[[0,"salla-login-modal",{"isEmailAllowed":[1028,"is-email-allowed"],"isMobileAllowed":[1028,"is-mobile-allowed"],"isEmailRequired":[1028,"is-email-required"],"supportWebAuth":[516,"support-web-auth"],"inline":[516],"storeId":[1032,"store-id"],"api":[1],"headers":[1025],"withoutReload":[1028,"without-reload"],"source":[32],"messages":[32],"isClosable":[32],"iframeLoaded":[32],"scrolling":[32],"direction":[32],"canRenderIframe":[32],"open":[64]}]]],["p-3627d945",[[0,"salla-notifications",{"loadMoreText":[1,"load-more-text"],"itemPerPage":[2,"item-per-page"],"pagination":[32],"total":[32],"showPlaceholder":[32],"nextPage":[32],"no_notifications_trans":[32],"load_more_text_trans":[32]}],[0,"salla-notification-item",{"notification":[16]}]]],["p-b2380c6b",[[4,"salla-social-share",{"url":[1537],"urlName":[513,"url-name"],"platforms":[513],"mode":[513],"modalTitle":[1,"modal-title"],"opened":[32],"copied":[32],"allPlatforms":[32],"platformIcons":[32],"convertedPlatforms":[32],"open":[64],"close":[64],"refresh":[64]},null,{"url":["onUrlChanged"]}]]],["p-5383a324",[[4,"salla-slider",{"blockTitle":[513,"block-title"],"listenToThumbnailsOption":[516,"listen-to-thumbnails-option"],"blockSubtitle":[513,"block-subtitle"],"displayAllUrl":[513,"display-all-url"],"arrowsCentered":[516,"arrows-centered"],"verticalThumbs":[516,"vertical-thumbs"],"gridThumbs":[516,"grid-thumbs"],"vertical":[516],"autoHeight":[516,"auto-height"],"showControls":[516,"show-controls"],"controlsOuter":[516,"controls-outer"],"showThumbsControls":[4,"show-thumbs-controls"],"staticWhenSingle":[516,"static-when-single"],"autoPlay":[4,"auto-play"],"slidesPerView":[1,"slides-per-view"],"pagination":[4],"centered":[4],"loop":[4],"direction":[1537],"type":[1],"sliderConfig":[520,"slider-config"],"thumbsConfig":[520,"thumbs-config"],"currentIndex":[32],"isEnd":[32],"isBeginning":[32],"displayAllTitle":[32],"isDesktopViewport":[32],"sliderInstance":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"slideToLoop":[64],"slideNextLoop":[64],"slidePrevLoop":[64],"slideReset":[64],"slideToClosest":[64],"update":[64],"updateAutoHeight":[64],"updateSlides":[64],"updateProgress":[64],"updateSlidesClasses":[64],"getSlides":[64],"updateSize":[64],"sliderInit":[64],"thumbsSliderInstance":[64],"thumbsSliderInit":[64],"thumbsSliderUpdate":[64],"thumbsSliderUpdateSlides":[64],"getThumbsUpdateSize":[64],"thumbsSlideTo":[64],"getThumbsSlides":[64]}]]],["p-b452c8a0",[[4,"salla-quantity-input",{"cartItemId":[8,"cart-item-id"],"disableInput":[32],"quantity":[32],"fireChangeEvent":[32],"decrease":[64],"increase":[64],"setValue":[64]},null,{"quantity":["watchPropHandler"]}],[0,"salla-attachments",{"attachments":[1],"images":[1],"videos":[1],"rating":[1],"productRatings":[1,"product-ratings"],"productId":[8,"product-id"],"maxVisible":[2,"max-visible"],"clickable":[4]}],[0,"salla-tel-input",{"phone":[1025],"autofocus":[516],"name":[1],"disabled":[4],"countryCode":[1025,"country-code"],"mobileRequired":[32],"countryCodeLabel":[32],"mobileLabel":[32],"tooShort":[32],"tooLong":[32],"invalidCountryCode":[32],"invalidNumber":[32],"errorMap":[32],"getValues":[64],"isValid":[64]}],[0,"salla-booking-field",{"option":[16],"productId":[2,"product-id"],"bookNowLabel":[32],"editLabel":[32],"bookedLabel":[32],"selectDate":[32],"bookingUrl":[32],"iframeReady":[32],"reservations":[32],"reservationsInput":[32]}],[4,"salla-color-picker",{"name":[1],"required":[4],"color":[1537],"format":[1],"showCancelButton":[4,"show-cancel-button"],"showTextField":[4,"show-text-field"],"enableAlpha":[4,"enable-alpha"],"widgetColor":[32],"setPickerOption":[64],"movePopUp":[64],"setColorValue":[64],"openPicker":[64],"closePicker":[64],"destroyPicker":[64]}],[4,"salla-conditional-fields",null,[[0,"change","changeHandler"],[0,"input","changeHandler"]]],[0,"salla-datetime-picker",{"value":[1537],"required":[4],"name":[513],"placeholder":[1],"allowInput":[4,"allow-input"],"allowInvalidPreload":[4,"allow-invalid-preload"],"altFormat":[1,"alt-format"],"altInput":[4,"alt-input"],"altInputClass":[1,"alt-input-class"],"appendTo":[16,"append-to"],"ariaDateFormat":[1,"aria-date-format"],"autoFillDefaultTime":[4,"auto-fill-default-time"],"clickOpens":[4,"click-opens"],"closeOnSelect":[4,"close-on-select"],"conjunction":[1],"dateFormat":[1,"date-format"],"defaultDate":[8,"default-date"],"defaultHour":[2,"default-hour"],"defaultMinute":[2,"default-minute"],"defaultSeconds":[2,"default-seconds"],"disable":[16],"disableMobile":[4,"disable-mobile"],"enable":[16],"enableSeconds":[4,"enable-seconds"],"enableTime":[4,"enable-time"],"formatDate":[16,"format-date"],"hourIncrement":[2,"hour-increment"],"inline":[4],"locale":[1],"maxDate":[8,"max-date"],"maxTime":[8,"max-time"],"minDate":[8,"min-date"],"minTime":[8,"min-time"],"minuteIncrement":[2,"minute-increment"],"mode":[1],"monthSelectorType":[1,"month-selector-type"],"nextArrow":[1,"next-arrow"],"noCalendar":[4,"no-calendar"],"dateParser":[16,"date-parser"],"position":[1],"positionElement":[16,"position-element"],"prevArrow":[1,"prev-arrow"],"shorthandCurrentMonth":[4,"shorthand-current-month"],"static":[4],"showMonths":[2,"show-months"],"time_24hr":[4,"time_-2-4hr"],"weekNumbers":[4,"week-numbers"],"wrap":[4],"disabled":[4]}],[0,"salla-file-upload",{"value":[1544],"files":[513],"height":[513],"cartItemId":[1,"cart-item-id"],"profileImage":[516,"profile-image"],"name":[1537],"payloadName":[1,"payload-name"],"payloadParams":[16,"payload-params"],"type":[1],"accept":[1537],"fileId":[2,"file-id"],"url":[1025],"method":[1],"formData":[1,"form-data"],"required":[4],"maxFileSize":[1,"max-file-size"],"disabled":[4],"allowDrop":[4,"allow-drop"],"allowBrowse":[4,"allow-browse"],"allowPaste":[4,"allow-paste"],"allowMultiple":[4,"allow-multiple"],"enableGallery":[516,"enable-gallery"],"allowReplace":[4,"allow-replace"],"allowRevert":[4,"allow-revert"],"allowRemove":[4,"allow-remove"],"allowProcess":[4,"allow-process"],"allowReorder":[4,"allow-reorder"],"allowImagePreview":[4,"allow-image-preview"],"imagePreviewHeight":[2,"image-preview-height"],"filePosterHeight":[2,"file-poster-height"],"storeAsFile":[4,"store-as-file"],"forceRevert":[4,"force-revert"],"maxFilesCount":[2,"max-files-count"],"maxParallelUploads":[2,"max-parallel-uploads"],"maxImagesCount":[2,"max-images-count"],"maxVideosCount":[2,"max-videos-count"],"maxVideoFileSize":[1,"max-video-file-size"],"maxVideoDuration":[2,"max-video-duration"],"checkValidity":[4,"check-validity"],"itemInsertLocation":[1,"item-insert-location"],"itemInsertInterval":[2,"item-insert-interval"],"credits":[4],"dropOnPage":[4,"drop-on-page"],"dropOnElement":[4,"drop-on-element"],"dropValidation":[4,"drop-validation"],"ignoredFiles":[16,"ignored-files"],"instantUpload":[1028,"instant-upload"],"chunkUploads":[4,"chunk-uploads"],"chunkForce":[4,"chunk-force"],"chunkSize":[2,"chunk-size"],"chunkRetryDelays":[16,"chunk-retry-delays"],"labelDecimalSeparator":[1,"label-decimal-separator"],"labelThousandsSeparator":[1,"label-thousands-separator"],"labelIdle":[1025,"label-idle"],"iconRemove":[1,"icon-remove"],"iconProcess":[1,"icon-process"],"iconRetry":[1,"icon-retry"],"iconUndo":[1,"icon-undo"],"max_images_count":[32],"max_videos_count":[32],"max_count_hint":[32],"video_too_large":[32],"video_too_long":[32],"uploadedFiles":[32],"isListScrollerListenerAdded":[32],"showMaxCountHint":[32],"previewFiles":[32],"setOption":[64]}],[0,"salla-attachment-view",{"attachments":[1],"isOpen":[32],"activeIndex":[32],"open":[64],"close":[64]}]]],["p-b017b72e",[[0,"salla-multiple-bundle-product-details",{"sections":[16],"selectedProducts":[32],"canSelectBundleProduct":[64]},null,{"sections":["handleSectionsChange"]}],[0,"salla-multiple-bundle-product-cart",{"sections":[16],"itemNumber":[32]}]]],["p-3a4160c2",[[0,"salla-rating-modal-v2",{"orderId":[1032,"order-id"],"productId":[1032,"product-id"],"order":[32],"hasError":[32],"showContactWidget":[32],"errorMessage":[32],"images":[32],"productImages":[32],"editItemImages":[32],"productReviewFactors":[32],"editFactorRatings":[32],"productMainRatings":[32],"productFactorRatings":[32],"editMainRating":[32],"contact_body":[32],"editMode":[32],"defaultMode":[32],"deleteMode":[32],"shouldOpenDeleteModal":[32],"editType":[32],"editFeedbackId":[32],"deleteFeedbackId":[32],"editItem":[32],"allowAttachImages":[32],"allowAttachVideos":[32],"allowContactSupport":[32],"uploadCounts":[32],"uploadImageCounts":[32],"uploadVideoCounts":[32],"hasUploadsInProgress":[32],"loyaltyImageRatingPoints":[32],"setOrder":[64],"open":[64],"openEditModal":[64],"openDeleteModal":[64],"close":[64]}]]],["p-d65a6462",[[0,"salla-progress-bar",{"donation":[1],"target":[1026],"value":[1026],"height":[1025],"header":[1025],"stripped":[1028],"message":[1025],"unit":[1025],"color":[1025],"hideUnits":[4,"hide-units"]}],[4,"salla-map",{"name":[1],"required":[4],"readonly":[4],"searchable":[1028],"lat":[1026],"lng":[1026],"apiKey":[1025,"api-key"],"modalTitle":[1,"modal-title"],"zoom":[1026],"theme":[1025],"modalActivityTitle":[32],"confirmButtonTitle":[32],"locateButtonTitle":[32],"locateButtonEdit":[32],"searchPlaceholder":[32],"searchInputValue":[32],"formattedAddress":[32],"geolocationError":[32],"searchInput":[32],"mapInput":[32],"mapElement":[32],"selectedLat":[32],"selectedLng":[32],"reportValidity":[64],"open":[64]}]]],["p-9cbc4733",[[0,"salla-order-details-options",{"options":[1],"bordered":[4],"placeholderImage":[1,"placeholder-image"],"optionsData":[32]}]]],["p-c24f6325",[[0,"salla-comment-factors",{"factors":[16]}]]],["p-9e702ebb",[[0,"salla-price-range",{"minPrice":[1032,"min-price"],"maxPrice":[1032,"max-price"],"option":[16],"filtersData":[520,"filters-data"],"min":[32],"max":[32],"priceOptions":[32],"moreThanLabel":[32],"lessThanLabel":[32],"toLabel":[32],"fromLabel":[32],"typing":[32],"isMin":[32],"isRTL":[32],"reset":[64]}]]],["p-277f3a46",[[0,"salla-loyalty-exchange-product-card",{"product":[8],"hasCustomCard":[32]}]]],["p-34240222",[[0,"salla-bullet-delivery",{"activeTab":[32],"isLoggedIn":[32],"viewMode":[32],"countries":[32],"regions":[32],"cities":[32],"districts":[32],"loadingRegions":[32],"selectedCountry":[32],"selectedRegion":[32],"selectedCity":[32],"selectedDistrict":[32],"districtName":[32],"savedAddresses":[32],"selectedSavedAddress":[32],"selectedSessionAddress":[32],"branches":[32],"filteredBranches":[32],"selectedBranch":[32],"branchSearchQuery":[32],"loadingCountries":[32],"loadingCities":[32],"loadingDistricts":[32],"loadingBranches":[32],"loadingNearestBranch":[32],"locationError":[32],"savingAddress":[32],"loadingSavedAddresses":[32],"showCartWillBeClearedBanner":[32],"countrySearchQuery":[32],"regionSearchQuery":[32],"citySearchQuery":[32],"districtSearchQuery":[32],"searchingCountries":[32],"searchingRegions":[32],"searchingCities":[32],"searchingDistricts":[32],"displayedCountries":[32],"displayedRegions":[32],"displayedCities":[32],"displayedDistricts":[32],"allocationOutOfCoverageMessage":[32],"mapLocationData":[32],"addressToken":[32],"loadingToken":[32],"mapReady":[32],"mapStep":[32],"addressDescription":[32],"reverseGeocoding":[32],"newAddressForm":[32],"open":[64],"close":[64]}],[0,"salla-searchable-dropdown",{"label":[1],"placeholder":[1],"items":[16],"selectedItem":[16,"selected-item"],"loading":[4],"searching":[4],"disabled":[4],"required":[4],"noResultsText":[1,"no-results-text"],"inputId":[1,"input-id"],"searchQuery":[1,"search-query"],"clientSearch":[4,"client-search"],"dropUp":[4,"drop-up"],"searchable":[4],"keepParentScroll":[4,"keep-parent-scroll"],"isOpen":[32],"focusedIndex":[32],"clientSearchQuery":[32]},null,{"items":["onItemsChange"]}]]],["p-bd3fef37",[[0,"salla-products-list",{"source":[1537],"sourceValue":[1032,"source-value"],"limit":[1026],"sortBy":[1025,"sort-by"],"filtersResults":[1540,"filters-results"],"horizontalCards":[516,"horizontal-cards"],"rowCards":[516,"row-cards"],"compactCards":[516,"compact-cards"],"autoload":[1028],"loadMoreText":[1,"load-more-text"],"productCardComponent":[1,"product-card-component"],"includes":[1040],"selectable":[1540],"page":[32],"nextPage":[32],"hasInfiniteScroll":[32],"hasCustomComponent":[32],"sourceValueIsValid":[32],"placeholderText":[32],"endOfText":[32],"failedLoadMore":[32],"currentPage":[32],"currentCategoryIdFilter":[32],"isReady":[32],"showPlaceholder":[32],"switchToNormalBehavior":[32],"parsedFilters":[32],"filtersSnapshot":[32],"setFilters":[64],"reload":[64],"loadMore":[64],"getSelected":[64],"getLoadedProducts":[64],"selectAll":[64],"clearSelection":[64]},null,{"selectable":["onSelectableChanged"]}]]],["p-12d74e96",[[0,"salla-review-factors-tags",{"factors":[16],"orderId":[2,"order-id"],"ratingId":[2,"rating-id"],"productId":[2,"product-id"],"itemId":[2,"item-id"],"loadedFactors":[32]},null,{"factors":["onPropsChange"],"orderId":["onPropsChange"],"ratingId":["onPropsChange"],"productId":["onPropsChange"],"itemId":["onPropsChange"]}]]],["p-efa79191",[[0,"salla-bought-together",{"limit":[2],"recommendations":[32],"selectedIds":[32],"isLoading":[32],"canRender":[32],"isAdding":[32],"title":[32],"subtitle":[32],"buyTogetherFor":[32]}],[4,"salla-add-product-button",{"channels":[513],"subscribedOptions":[1,"subscribed-options"],"hasPreOrder":[516,"has-pre-order"],"quickBuy":[1540,"quick-buy"],"quantity":[514],"donatingAmount":[514,"donating-amount"],"notifyOptionsAvailability":[516,"notify-options-availability"],"productId":[520,"product-id"],"supportStickyBar":[516,"support-sticky-bar"],"productStatus":[513,"product-status"],"productType":[513,"product-type"],"hasOutOfStockOption":[32],"hasSubscribedOptions":[32],"selectedOptions":[32],"showQuickBuy":[32],"isApplePayActive":[32],"buyNowText":[32],"isDesktopViewport":[32]}],[0,"salla-quick-buy",{"type":[1025],"productType":[1025,"product-type"],"productId":[1025,"product-id"],"cartId":[1025,"cart-id"],"amount":[1538],"currency":[1025],"options":[16],"isRequireShipping":[1028,"is-require-shipping"],"applePayOnly":[1028,"apple-pay-only"],"validateHost":[1025,"validate-host"],"supportedNetworks":[1040,"supported-networks"],"supportedCountries":[1040,"supported-countries"],"isApplePayActive":[32],"quickBuy":[32]}],[0,"salla-product-availability",{"channels":[1],"notifyOptionsAvailability":[4,"notify-options-availability"],"productId":[2,"product-id"],"isSubscribed":[1028,"is-subscribed"],"translationLoaded":[32],"title_":[32]},null,{"channels":["channelsWatcher"]}],[0,"salla-product-options",{"productAvailable":[1028,"product-available"],"productId":[8,"product-id"],"options":[1],"hideOutLabel":[1,"hide-out-label"],"uniqueKey":[1,"unique-key"],"bundleContext":[1,"bundle-context"],"config":[1],"noPadding":[4,"no-padding"],"optionsData":[32],"outOfStockText":[32],"donationAmount":[32],"selectDonationAmount":[32],"selectAmount":[32],"isCustomDonation":[32],"selectedOptions":[32],"canDisabled":[32],"selectedSkus":[32],"selectedOutSkus":[32],"disableCardValue":[32],"availableDigitalCardValues":[32],"userInitiatedValidation":[32],"isCartMode":[32],"availabilityMap":[32],"setOptionsData":[64],"getOptionsData":[64],"getSelectedOptionsData":[64],"reportValidity":[64],"hasOutOfStockOption":[64],"getSelectedOptions":[64],"getOption":[64],"seedSelectedOptions":[64],"enterCartMode":[64],"enableUserInitiatedValidation":[64],"validateAndScroll":[64]}]]],["p-1653256e",[[0,"salla-products-slider",{"blockTitle":[1,"block-title"],"subTitle":[1,"sub-title"],"sliderId":[1,"slider-id"],"displayAllUrl":[1,"display-all-url"],"autoplay":[1028],"source":[1537],"sourceValue":[1,"source-value"],"limit":[1026],"sliderConfig":[520,"slider-config"],"sliderProps":[16,"slider-props"],"productCardComponent":[1,"product-card-component"],"includes":[1040],"productsData":[32],"isReady":[32],"sourceValueIsValid":[32],"hasCustomComponent":[32],"apiUrl":[32],"parsedSourceValue":[32]},null,{"isReady":["onReadyChanged"]}]]],["p-018456c8",[[1,"salla-multiple-bundle-product-options-modal",{"product":[32],"sectionId":[32],"sectionIndex":[32],"productIndex":[32],"selectedOptions":[32],"optionsResetTokens":[32],"isLoading":[32],"hasUnsavedChanges":[32],"validationErrors":[32],"open":[64],"close":[64],"refreshOptionsState":[64]},null,{"product":["handleProductChange"]}],[0,"salla-multiple-bundle-product-slider",{"section":[16],"sectionIndex":[2,"section-index"],"selectedProducts":[16,"selected-products"],"isSelectionLocked":[4,"is-selection-locked"],"selectionLimit":[2,"selection-limit"],"savedOptionsByInstance":[32]},[[4,"optionsSaved","handleOptionsSaved"]]]]],["p-d63ca8bb",[[4,"salla-tooltip",{"text":[1],"targetId":[1,"target-id"],"theme":[1],"show":[32]},[[9,"mouseover","handleMouseOver"],[9,"mouseout","handleMouseOut"]]]]],["p-9ae3a15c",[[4,"salla-list-tile",{"href":[1],"target":[1]}]]],["p-434f3557",[[4,"salla-badge",{"size":[1],"color":[1],"bg":[1]}]]],["p-c818e0eb",[[0,"salla-count-down",{"date":[1],"preOrder":[1,"pre-order"],"horizontal":[4],"withButton":[4,"with-button"],"prefixText":[1,"prefix-text"],"buttonHref":[1,"button-href"],"buttonText":[1,"button-text"],"buttonIcon":[1,"button-icon"],"boxed":[4],"size":[1],"color":[1],"labeled":[4],"endText":[1,"end-text"],"boxColor":[1,"box-color"],"boxTheme":[1,"box-theme"],"listPadding":[1,"list-padding"],"digits":[1],"endOfDay":[4,"end-of-day"],"autoSegments":[4,"auto-segments"],"daysLabel":[32],"hoursLabel":[32],"minutesLabel":[32],"secondsLabel":[32],"endLabel":[32],"invalidDate":[32],"offerEnded":[32],"parseFailed":[32],"countInterval":[32],"days":[32],"hours":[32],"minutes":[32],"seconds":[32],"showDays":[32],"showHours":[32],"endCountDown":[64]}]]],["p-5256180e",[[0,"salla-loyalty-program",{"currentPrize":[32],"currentProductId":[32],"collapsed":[32],"animatedPoints":[32]}],[0,"salla-loyalty-panel",{"prizePoints":[1537,"prize-points"],"customerPoints":[1538,"customer-points"],"prizeTitle":[1537,"prize-title"],"currentPrize":[32],"currentProductId":[32]}],[0,"salla-loyalty-banner"],[0,"salla-loyalty-reward",{"size":[1],"prize":[16],"group":[1]}],[0,"salla-loyalty-point",{"point":[16]}],[4,"salla-loyalty-hero",{"image":[1],"name":[1],"description":[1]}],[0,"salla-reward-details",{"prize":[16],"refreshKey":[32],"includedProductsData":[32]},[[0,"loyaltyProductExchange","handleProductExchange"]],{"prize":["handlePrizeChange"]}],[4,"salla-reward-card",{"prize":[16]}],[0,"salla-reward-action",{"prize":[16]}],[0,"salla-reward-exchange",{"prize":[16],"productId":[2,"product-id"]}]]],["p-cd51e722",[[4,"salla-accordion-body"],[4,"salla-accordion-head",{"collapsible":[4],"collapsed":[1540]}]]],["p-ebb73bcc",[[4,"salla-placeholder",{"icon":[1],"alignment":[1],"iconSize":[1,"icon-size"],"translationLoaded":[32]}]]],["p-3615a99b",[[4,"salla-tab-content",{"name":[1],"isSelected":[32],"getChild":[64]}],[4,"salla-tab-header",{"name":[1],"activeClass":[1,"active-class"],"height":[8],"centered":[4],"isSelected":[32],"getChild":[64]}],[4,"salla-tabs",{"backgroundColor":[1,"background-color"],"vertical":[4]},[[0,"tabSelected","onSelectedTab"]]]]],["p-2607ac8e",[[0,"salla-breadcrumb",{"breadcrumbs":[32]}],[4,"salla-drawer",{"isClosable":[1028,"is-closable"],"width":[513],"position":[513],"visible":[516],"hasSkeleton":[516,"has-skeleton"],"isLoading":[1540,"is-loading"],"subTitleFirst":[4,"sub-title-first"],"noPadding":[4,"no-padding"],"subTitle":[1,"sub-title"],"centered":[4],"iconStyle":[1,"icon-style"],"drawerTitle":[32],"open":[64],"close":[64],"setTitle":[64],"loading":[64],"stopLoading":[64]},[[0,"keyup","handleKeyUp"]],{"visible":["handleVisible"]}],[4,"salla-accordion",{"collapsible":[4],"bordered":[4],"size":[1],"collapsed":[1540],"dir":[32]},[[4,"salla::language.change","directionChangedHandler"],[0,"accordionToggle","handleCollapse"]]],[4,"salla-modal",{"isClosable":[1028,"is-closable"],"width":[513],"customWidth":[1,"custom-width"],"position":[513],"visible":[516],"hasSkeleton":[516,"has-skeleton"],"isLoading":[1540,"is-loading"],"subTitleFirst":[4,"sub-title-first"],"noPadding":[4,"no-padding"],"subTitle":[1,"sub-title"],"centered":[4],"iconStyle":[1,"icon-style"],"showBack":[516,"show-back"],"modalTitle":[32],"open":[64],"close":[64],"setTitle":[64],"loading":[64],"stopLoading":[64]},[[0,"keyup","handleKeyUp"]],{"visible":["handleVisible"]}],[0,"salla-loading",{"size":[8],"width":[8],"color":[1],"bgColor":[1,"bg-color"]}],[4,"salla-button",{"shape":[513],"color":[513],"fill":[513],"size":[513],"width":[513],"loading":[516],"disabled":[516],"loaderPosition":[1,"loader-position"],"href":[1],"type":[513],"load":[64],"stop":[64],"setText":[64],"disable":[64],"enable":[64]}]]],["p-95a3b9b9",[[0,"salla-comments",{"itemId":[2,"item-id"],"loadMoreText":[1,"load-more-text"],"hideForm":[4,"hide-form"],"blockTitle":[1,"block-title"],"hideTitle":[4,"hide-title"],"type":[1],"showFormAvatar":[4,"show-form-avatar"],"hideBought":[4,"hide-bought"],"sort":[1],"testimonials":[4],"comments":[32],"pagination":[32],"total":[32],"showPlaceholder":[32],"nextPage":[32],"mostHelpfulLabel":[32],"verifiedPurchasesLabel":[32],"noComments":[32],"comment_title":[32],"comment_name":[32],"placeholder_text":[32],"showRatingSummary":[32],"allowLikes":[32],"allowVerifiedPurchasesFilter":[32],"reload":[64]},[[0,"commentAdded","onCommentAdded"]]],[0,"salla-verified-review",{"productId":[520,"product-id"],"ready":[32],"eligible":[32],"order":[32],"productImage":[32],"productImageAlt":[32],"loyaltyPoints":[32],"titlePurchasedLabel":[32],"titleNotPurchasedLabel":[32],"subtitleLabel":[32],"badgeLabel":[32],"orderMetaLabel":[32],"ctaLabel":[32],"loyaltyLabel":[32],"rateLimitMessage":[32],"rateLimited":[32]}],[0,"salla-reviews",{"displayAllLink":[516,"display-all-link"],"source":[513],"sourceValue":[513,"source-value"],"limit":[514],"type":[1],"sort":[1],"hideCustomerInfo":[4,"hide-customer-info"],"reviews":[32],"isRTL":[32],"showReviews":[32],"testimonialText":[32],"displayAllLinkText":[32]}],[0,"salla-reviews-page",{"reviews":[32],"isLoading":[32],"pagination":[32],"sort":[32]}],[0,"salla-reviews-summary",{"itemId":[2,"item-id"],"data":[32],"canRender":[32],"basedOnLabel":[32],"recommendedLabel":[32],"showRatingSummary":[32],"recommendationOnly":[32],"showRecommendation":[32]}],[0,"salla-comment-form",{"type":[1537],"showAvatar":[4,"show-avatar"],"itemId":[1544,"item-id"],"placeholder":[32],"submitText":[32],"canComment":[32]}],[0,"salla-review-card",{"review":[16],"currentSlide":[32],"purchasedCount":[32],"showPurchaseCount":[32]}],[0,"salla-comment-item",{"comment":[16],"hideBought":[16,"hide-bought"],"locked_trans":[32],"has_bought_trans":[32],"rated_trans":[32],"waiting_approval_trans":[32],"has_order_trans":[32],"allowLikes":[32],"allowAttachImages":[32],"allowAttachVideos":[32],"helpfulLabel":[32],"reviewDetailsLabel":[32],"likesCount":[32],"likedComments":[32],"showReviewFactors":[32]}],[0,"salla-rating-stars",{"name":[1],"size":[1],"value":[2],"reviews":[2],"withLabel":[4,"with-label"],"labelBeforeStars":[4,"label-before-stars"],"editable":[4],"tag":[4],"translationsLoaded":[32],"labels":[32],"reviewLabel":[32],"selectedStar":[32]}]]],["p-649ced48",[[4,"salla-product-card",{"product":[1],"horizontal":[4],"shadowOnHover":[4,"shadow-on-hover"],"hideAddBtn":[4,"hide-add-btn"],"fullImage":[4,"full-image"],"minimal":[4],"isSpecial":[4,"is-special"],"showQuantity":[4,"show-quantity"],"compact":[516],"productData":[32],"fitImageHeight":[32],"remained":[32],"outOfStock":[32],"donationAmount":[32],"startingPrice":[32],"addToCart":[32],"placeholder":[32]}],[0,"salla-order-options-modal",{"orderOptions":[32],"basePrice":[32],"liveTotal":[32],"isSubmitting":[32],"sessionId":[32],"paymentMode":[32],"title":[32],"subtitle":[32],"submitLabel":[32],"totalLabel":[32],"requiredMessage":[32],"open":[64],"close":[64]}]]],["p-4df5f9a0",[[0,"salla-skeleton",{"type":[1],"width":[1],"height":[1]}]]]]'),e))));
@@ -3,6 +3,7 @@ import { Review } from "../../src/components/salla-reviews/interfaces";
3
3
  import { Product as SallaProduct } from "@salla.sa/twilight/types/common";
4
4
  import { ListItem } from 'schema-dts';
5
5
  import { Product } from '@salla.sa/twilight/types/common';
6
+ import { Filter } from "../components/salla-filters/interfaces";
6
7
  declare class Helper {
7
8
  private debounce_;
8
9
  private includes;
@@ -17,6 +18,15 @@ declare class Helper {
17
18
  getPageTitleForSource(source: any): any;
18
19
  getProductsSourceValue(source: any, sourceValue: any): any;
19
20
  extractFiltersFromUrl(searchParams: any): {};
21
+ /**
22
+ * Resolve i18n labels for the known filter groups (category/brand/rating/price)
23
+ * and normalize the `rating` group's `{min,max}` values into a plain 1-5 star
24
+ * array. Shared by salla-filters (the filter panel) and salla-applied-filters
25
+ * (the applied chips) so both agree on the same group labels. Returns shallow
26
+ * copies rather than mutating in place, since both components receive the
27
+ * same `filters::fetched` payload by reference.
28
+ */
29
+ resolveFilterLabels(filters: Filter[]): Filter[];
20
30
  injectExtraFieldsToResponse(response: {
21
31
  data: Product[];
22
32
  }): Promise<{
@@ -0,0 +1,37 @@
1
+ import { Filter } from '../salla-filters/interfaces';
2
+ export declare class SallaAppliedFilters {
3
+ filters: Filter[];
4
+ filtersData: Record<string, unknown>;
5
+ clearAllLabel: string;
6
+ removeLabel: string;
7
+ private readonly translationDefaults;
8
+ componentWillLoad(): Promise<void>;
9
+ private getInitialFiltersData;
10
+ /**
11
+ * salla-filters reconciles its own filtersData synchronously in its `filters::fetched`
12
+ * handler, dropping any key whose filter group no longer exists in the fresh backend
13
+ * response (e.g. a disabled category). Pull that reconciled state instead of keeping our
14
+ * own copy sourced from the raw URL, which would otherwise go stale forever — it's only
15
+ * ever updated by user-driven `salla-filters::changed`/`reset` events, never by a fetch.
16
+ * Deferred a tick so it runs after salla-filters' own (synchronous) listener, regardless
17
+ * of which component happened to register its `filters::fetched` listener first.
18
+ */
19
+ private syncFiltersDataFromFiltersElement;
20
+ /**
21
+ * Register bilingual (ar/en) defaults for our keys, without overriding any
22
+ * translation that already exists in the store/central translations.
23
+ */
24
+ private registerTranslationDefaults;
25
+ private loadTranslations;
26
+ /**
27
+ * Flatten the selected filtersData into displayable chips, resolving the
28
+ * human label for each group + option from `this.filters`. Selections that
29
+ * can't be resolved to a known option (e.g. the auto-added base category)
30
+ * are skipped. Ported from salla-filters, which no longer renders this UI.
31
+ */
32
+ private getAppliedFilters;
33
+ private getFiltersElement;
34
+ private removeFilter;
35
+ private clearAll;
36
+ render(): any;
37
+ }
@@ -13,9 +13,6 @@ export declare class SallaFilters {
13
13
  isSidebarOpen: boolean;
14
14
  filtersData: object | any;
15
15
  apply: string;
16
- reset: string;
17
- selectedTitle: string;
18
- appliedOpen: boolean;
19
16
  /**
20
17
  * Custom event fired when the selected filters are changed.
21
18
  */
@@ -41,17 +38,12 @@ export declare class SallaFilters {
41
38
  * @private
42
39
  */
43
40
  private handleOptionChange;
44
- /**
45
- * Flatten the selected filtersData into displayable chips, resolving the
46
- * human label for each group + option from `this.filters`. Selections that
47
- * can't be resolved to a known option (e.g. the auto-added base category)
48
- * are skipped.
49
- */
50
- private getAppliedFilters;
51
41
  /**
52
42
  * Remove a single applied filter — the direct inverse of handleOptionChange.
43
+ * Public so salla-applied-filters (which owns the applied-chips UI) can
44
+ * drive removal on the live salla-filters element it reads chips from.
53
45
  */
54
- private removeFilter;
46
+ removeFilter(chip: any): Promise<void>;
55
47
  render(): any;
56
48
  componentDidLoad(): void;
57
49
  }
@@ -188,6 +188,8 @@ export namespace Components {
188
188
  }
189
189
  interface SallaAppInstallAlert {
190
190
  }
191
+ interface SallaAppliedFilters {
192
+ }
191
193
  interface SallaAppsIcons {
192
194
  /**
193
195
  * The title to display.
@@ -1389,6 +1391,10 @@ export namespace Components {
1389
1391
  * Method to get filter data.
1390
1392
  */
1391
1393
  "getFilters": () => Promise<any>;
1394
+ /**
1395
+ * Remove a single applied filter — the direct inverse of handleOptionChange. Public so salla-applied-filters (which owns the applied-chips UI) can drive removal on the live salla-filters element it reads chips from.
1396
+ */
1397
+ "removeFilter": (chip: any) => Promise<void>;
1392
1398
  /**
1393
1399
  * Reset selected filters.
1394
1400
  */
@@ -3805,6 +3811,12 @@ declare global {
3805
3811
  prototype: HTMLSallaAppInstallAlertElement;
3806
3812
  new (): HTMLSallaAppInstallAlertElement;
3807
3813
  };
3814
+ interface HTMLSallaAppliedFiltersElement extends Components.SallaAppliedFilters, HTMLStencilElement {
3815
+ }
3816
+ var HTMLSallaAppliedFiltersElement: {
3817
+ prototype: HTMLSallaAppliedFiltersElement;
3818
+ new (): HTMLSallaAppliedFiltersElement;
3819
+ };
3808
3820
  interface HTMLSallaAppsIconsElement extends Components.SallaAppsIcons, HTMLStencilElement {
3809
3821
  }
3810
3822
  var HTMLSallaAppsIconsElement: {
@@ -5177,6 +5189,7 @@ declare global {
5177
5189
  "salla-advertisement": HTMLSallaAdvertisementElement;
5178
5190
  "salla-alert": HTMLSallaAlertElement;
5179
5191
  "salla-app-install-alert": HTMLSallaAppInstallAlertElement;
5192
+ "salla-applied-filters": HTMLSallaAppliedFiltersElement;
5180
5193
  "salla-apps-icons": HTMLSallaAppsIconsElement;
5181
5194
  "salla-attachment-view": HTMLSallaAttachmentViewElement;
5182
5195
  "salla-attachments": HTMLSallaAttachmentsElement;
@@ -5448,6 +5461,8 @@ declare namespace LocalJSX {
5448
5461
  }
5449
5462
  interface SallaAppInstallAlert {
5450
5463
  }
5464
+ interface SallaAppliedFilters {
5465
+ }
5451
5466
  interface SallaAppsIcons {
5452
5467
  /**
5453
5468
  * The title to display.
@@ -8585,6 +8600,7 @@ declare namespace LocalJSX {
8585
8600
  "salla-advertisement": SallaAdvertisement;
8586
8601
  "salla-alert": SallaAlert;
8587
8602
  "salla-app-install-alert": SallaAppInstallAlert;
8603
+ "salla-applied-filters": SallaAppliedFilters;
8588
8604
  "salla-apps-icons": SallaAppsIcons;
8589
8605
  "salla-attachment-view": SallaAttachmentView;
8590
8606
  "salla-attachments": SallaAttachments;
@@ -8746,6 +8762,7 @@ declare module "@stencil/core" {
8746
8762
  "salla-advertisement": LocalJSX.SallaAdvertisement & JSXBase.HTMLAttributes<HTMLSallaAdvertisementElement>;
8747
8763
  "salla-alert": LocalJSX.SallaAlert & JSXBase.HTMLAttributes<HTMLSallaAlertElement>;
8748
8764
  "salla-app-install-alert": LocalJSX.SallaAppInstallAlert & JSXBase.HTMLAttributes<HTMLSallaAppInstallAlertElement>;
8765
+ "salla-applied-filters": LocalJSX.SallaAppliedFilters & JSXBase.HTMLAttributes<HTMLSallaAppliedFiltersElement>;
8749
8766
  "salla-apps-icons": LocalJSX.SallaAppsIcons & JSXBase.HTMLAttributes<HTMLSallaAppsIconsElement>;
8750
8767
  /**
8751
8768
  * A reusable lightbox for viewing image/video attachments in a modal with a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salla.sa/twilight-components",
3
- "version": "2.14.548",
3
+ "version": "2.14.550",
4
4
  "license": "GPL-3.0",
5
5
  "author": "Salla Team <support@salla.dev> (https://salla.dev)",
6
6
  "bugs": {
@@ -82,9 +82,9 @@
82
82
  },
83
83
  "dependencies": {
84
84
  "@googlemaps/markerclusterer": "2.6.2",
85
- "@salla.sa/applepay": "2.14.548",
86
- "@salla.sa/twilight": "2.14.548",
87
- "@salla.sa/twilight-tailwind-theme": "2.14.548",
85
+ "@salla.sa/applepay": "2.14.550",
86
+ "@salla.sa/twilight": "2.14.550",
87
+ "@salla.sa/twilight-tailwind-theme": "2.14.550",
88
88
  "@salla.sa/ui-address-autocomplete-widget": "1.2.1",
89
89
  "@salla.sa/ui-google-map-render": "1.2.1",
90
90
  "@types/node": "^20.4.8",
@@ -105,5 +105,5 @@
105
105
  "vanilla-lazyload": "^17.8.5",
106
106
  "vanilla-picker": "^2.12.2"
107
107
  },
108
- "gitHead": "5bb64a4e0274986f1b4ea28bb4d17098b5f0f6d8"
108
+ "gitHead": "d56e898580204c4631301a9a07668c28b56bf7f5"
109
109
  }
@@ -1,23 +0,0 @@
1
- /*!
2
- * Crafted with ❤ by Salla
3
- */
4
- 'use strict';
5
-
6
- exports.FilterOptionTypes = void 0;
7
- (function (FilterOptionTypes) {
8
- // CATEGORIES = "categories",
9
- // BRANDs = "brands",
10
- // RATING = "rating",
11
- // PRICE = "price",
12
- // RADIO = "radio",
13
- FilterOptionTypes["VALUES"] = "values";
14
- FilterOptionTypes["VARIANTS"] = "variants";
15
- FilterOptionTypes["MINIMUM"] = "minimum";
16
- FilterOptionTypes["RANGE"] = "range";
17
- })(exports.FilterOptionTypes || (exports.FilterOptionTypes = {}));
18
- var FilterOptionInputType;
19
- (function (FilterOptionInputType) {
20
- FilterOptionInputType["VALUES"] = "values";
21
- FilterOptionInputType["VARIANT"] = "variants";
22
- FilterOptionInputType["RANGE"] = "range";
23
- })(FilterOptionInputType || (FilterOptionInputType = {}));
@@ -1,23 +0,0 @@
1
- /*!
2
- * Crafted with ❤ by Salla
3
- */
4
- var FilterOptionTypes;
5
- (function (FilterOptionTypes) {
6
- // CATEGORIES = "categories",
7
- // BRANDs = "brands",
8
- // RATING = "rating",
9
- // PRICE = "price",
10
- // RADIO = "radio",
11
- FilterOptionTypes["VALUES"] = "values";
12
- FilterOptionTypes["VARIANTS"] = "variants";
13
- FilterOptionTypes["MINIMUM"] = "minimum";
14
- FilterOptionTypes["RANGE"] = "range";
15
- })(FilterOptionTypes || (FilterOptionTypes = {}));
16
- var FilterOptionInputType;
17
- (function (FilterOptionInputType) {
18
- FilterOptionInputType["VALUES"] = "values";
19
- FilterOptionInputType["VARIANT"] = "variants";
20
- FilterOptionInputType["RANGE"] = "range";
21
- })(FilterOptionInputType || (FilterOptionInputType = {}));
22
-
23
- export { FilterOptionTypes as F };
@@ -1,4 +0,0 @@
1
- /*!
2
- * Crafted with ❤ by Salla
3
- */
4
- import{r as t,c as e,h as i,H as r,a as s}from"./p-B64o_70M.js";import{F as o}from"./p-DL4h2bc3.js";import{H as a}from"./p-DOBDDG4K.js";import"./p-CgtvEd63.js";const l=class{constructor(i){t(this,i),this.changed=e(this,"changed"),this.isReady=!1,this.isInitialFetch=!0,this.filtersData={},this.appliedOpen=!0,salla.event.on("filters::hidden",(()=>this.host.style.display="none")),salla.lang.onLoaded((()=>{this.apply=salla.lang.get("pages.checkout.apply"),this.reset=salla.lang.get("pages.categories.filters_reset"),this.selectedTitle=salla.lang.getWithDefault("pages.categories.selected_filters","لقد اخترت")})),salla.event.on("filters::fetched",(({filters:t})=>{this.host.style.display="";let e={};this.filters=t.map((t=>{if(t.label={category_id:salla.lang.get("common.titles.categories"),brand_id:salla.lang.get("common.titles.brands"),rating:salla.lang.get("pages.categories.filter_rating"),price:salla.lang.get("pages.categories.filter_price")}[t.key]||t.label,"rating"==t.key){t.type=o.VALUES;let{max:e,min:i}=t.values;t.values=[5,4,3,2,1].filter((t=>t>=i||t<=e))}this.filtersData.variants&&t.type==o.VARIANTS&&(e.variants=this.filtersData.variants),this.filtersData[t.key]&&t.type!==o.VARIANTS&&(e[t.key]=this.filtersData[t.key]);let i=new URLSearchParams(window.location.search),r=!1;for(let t of i.keys())if(t.includes("filters")){r=!0;break}if(this.isInitialFetch&&"product.index"==salla.config.get("page.slug")&&0==Object.keys(e).length&&!r){let t=window.location.href,i=salla.config.get("page.id"),r=-1!==t.indexOf("?")?"&":"?",s=t+r+"filters[category_id]="+i;e.category_id=i,window.history.pushState({path:s},"",s)}return t})),this.isInitialFetch=!1,this.filtersData=e,this.host.childNodes.forEach((async t=>t.setWidgetHeight&&await t.setWidgetHeight()))}))}async componentWillLoad(){try{const t=new URLSearchParams(window.location.search);this.filtersData=await a.extractFiltersFromUrl(t)}catch(t){console.warn("failed to get filters from URL",t.message)}}async getFilters(){return this.filtersData}async applyFilters(){if(!this.isReady)return;let t=Object.keys(this.filtersData).length>0;setTimeout((()=>{if(t){let t=new URL(window.location.href);for(const[e]of t.searchParams.entries())e.startsWith("filters")&&t.searchParams.delete(e);let e=this.encodeFilters(this.filtersData),i=t.search.split("&").filter((t=>!t.includes("filters"))).join("&");t.search=i?t.search.split("&filters")[0]+"&"+e:`?${e}`,window.history.pushState({},"",t.href)}else{let t=new URL(window.location.href);t.searchParams?.delete("filters"),window.history.pushState({},"",t.toString())}salla.event.emit("salla-filters::changed",this.filtersData),this.changed.emit(this.filtersData)}),300)}encodeFilters(t,e="filters"){const i=[];for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const s=t[r],o=e?`${e}[${r}]`:r;Array.isArray(s)?s.forEach((t=>i.push(`${o}[]=${t}`))):i.push("object"==typeof s&&null!==s?this.encodeFilters(s,o):`${o}=${s}`)}return i.join("&")}async resetFilters(){return this.removeFiltersQueryParams(),this.filtersData={},this.host.childNodes.forEach((t=>t.reset&&t.reset())),salla.event.emit("salla-filters::reset"),this.applyFilters()}removeFiltersQueryParams(){const t=new URLSearchParams(window.location.search),e=Array.from(t.keys()).filter((t=>!t.startsWith("filters["))).map((e=>`${encodeURIComponent(e)}=${encodeURIComponent(t.get(e))}`)).join("&"),i=e?`${window.location.pathname}?${e}`:window.location.pathname;window.history.pushState({},"",i)}handleOptionChange(t,e,i){e.type===o.RANGE&&(this.filtersData[e.key]=i);let r=t.target.checked;if(e.type===o.VARIANTS)this.filtersData.variants=this.filtersData.variants||{},r&&(this.filtersData.variants[e.key]=i),r||delete this.filtersData.variants[e.key];else if("radio"==t.target.type)r&&(this.filtersData[e.key]=i),r||delete this.filtersData[e.key];else if("checkbox"==t.target.type){const t=this.filtersData[e.key];this.filtersData[e.key]=Array.isArray(t)?t:null!=t?[t]:[],r?this.filtersData[e.key].push(i):this.filtersData[e.key]=this.filtersData[e.key].filter((t=>t!=i)),this.filtersData[e.key].length||delete this.filtersData[e.key]}this.filtersData={...this.filtersData},this.applyFilters()}getAppliedFilters(){const t=[],e=this.filtersData||{};for(const i of Object.keys(e)){if("variants"===i){const r=this.filters?.find((t=>t.type===o.VARIANTS));for(const s of Object.keys(e.variants||{})){const a=e.variants[s],l=r?.values?.find((t=>(t.key||t.value)==a));l&&t.push({key:i,variantKey:s,value:a,type:o.VARIANTS,groupLabel:r?.label,optionLabel:l.value})}continue}const r=this.filters?.find((t=>t.key===i));if(!r)continue;const s=e[i];if(r.type===o.RANGE||s&&"object"==typeof s&&!Array.isArray(s)){t.push({key:i,value:s,type:o.RANGE,groupLabel:r.label,optionLabel:`${s.min} - ${s.max}`});continue}if("category_id"===i&&!Array.isArray(s)&&"product.index"==salla.config.get("page.slug")&&s==salla.config.get("page.id"))continue;const a=Array.isArray(s)?s:[s];for(const e of a){const s=r.values?.find((t=>("number"==typeof t?t:t.key||t.value)==e)),o="rating"===r.key?`${e}`:s&&"number"!=typeof s?s.value:void 0;null!=o&&t.push({key:i,value:e,type:r.type,groupLabel:r.label,optionLabel:o})}}return t}removeFilter(t){if(t.type===o.VARIANTS)this.filtersData.variants&&(delete this.filtersData.variants[t.variantKey],Object.keys(this.filtersData.variants).length||delete this.filtersData.variants);else if(t.type===o.RANGE)delete this.filtersData[t.key];else{const e=this.filtersData[t.key];Array.isArray(e)?(this.filtersData[t.key]=e.filter((e=>e!=t.value)),this.filtersData[t.key].length||delete this.filtersData[t.key]):delete this.filtersData[t.key]}this.filtersData={...this.filtersData},this.applyFilters()}render(){const t=this.getAppliedFilters(),e=salla.lang.getWithDefault("common.elements.delete","Remove");return i(r,{key:"f0493d0e85ebb9e6612a1edc6cd7f45e7473017e"},t.length?i("div",{class:"s-filters-applied s-filters-widget-container"},i("h3",{class:"s-filters-widget-title",onClick:()=>this.appliedOpen=!this.appliedOpen},i("span",null,this.selectedTitle),i("span",{class:"s-filters-widget-plusminus "+(this.appliedOpen?"s-filters-widget-plusminus-active":"")})),i("div",{class:"s-filters-widget-content "+(this.appliedOpen?"s-filters-widget-opened":"s-filters-widget-closed")},i("div",{class:"s-filters-widget-values"},t.map((t=>i("div",{class:"s-filters-label s-filters-applied-item"},i("span",{class:"s-filters-option-name"},t.groupLabel,": ",t.optionLabel),i("button",{type:"button",class:"s-filters-applied-remove","aria-label":`${e} ${t.groupLabel}: ${t.optionLabel}`,onClick:()=>this.removeFilter(t)},i("i",{class:"sicon-cancel","aria-hidden":"true"})))))),i("div",{class:"s-filters-footer"},i("salla-button",{color:"gray",fill:"outline",onClick:()=>this.resetFilters()},this.reset)))):"",this.filters?.map((t=>i("salla-filters-widget",{option:t,filtersData:this.filtersData,onChanged:({detail:{event:t,option:e,value:i}})=>{this.handleOptionChange(t,e,i)}}))))}componentDidLoad(){this.isReady=!0}get host(){return s(this)}};l.style='/*!twlt*/:host{display:block}.s-rating-stars-small{line-height:12px}.s-filters-radio{background-image:none !important}.s-filters-applied-remove{pointer-events:auto !important;cursor:pointer}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.s-filters-checkbox{height:1.25rem;width:1.25rem;border-radius:6px;--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));color:var(--color-primary)}.s-filters-checkbox:focus{--tw-ring-color:transparent}.s-filters-radio{position:relative;height:1rem;width:1rem;--tw-border-opacity:1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1));--tw-bg-opacity:1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1)) !important;color:var(--color-primary)}.s-filters-radio:focus{--tw-ring-color:transparent}.s-filters-radio:where([dir="ltr"],[dir="ltr"] *){margin-right:0.75rem}.s-filters-radio:where([dir="rtl"],[dir="rtl"] *){margin-left:0.75rem}.s-filters-radio:checked{border-color:var(--color-primary)}.s-filters-radio:checked::after{position:absolute;left:0.125rem;top:0.125rem;display:block;height:0.625rem;width:0.625rem;border-radius:9999px;background-color:var(--color-primary);--tw-content:\'\';content:var(--tw-content)}.s-filters-radio:checked:hover{border-color:var(--color-primary)}.s-filters-radio:checked:focus{border-color:var(--color-primary)}.s-filters-label{position:relative;margin-bottom:0.75rem;display:flex;cursor:pointer;align-items:center;font-size:0.875rem;line-height:1.25rem;font-weight:500}.s-filters-label:last-child{margin-bottom:0px}.s-filters-option-name{margin-left:0.5rem;margin-right:0.5rem;--tw-text-opacity:1;color:rgb(129 127 127 / var(--tw-text-opacity, 1))}.s-filters-footer{margin-top:1rem;display:flex}.s-filters-footer salla-button{flex:1 1 0%}.s-filters-footer salla-button button{width:100%}.s-filters-applied-item{justify-content:space-between}.s-filters-applied-remove{cursor:pointer;border-width:0px;background-color:transparent;padding:0px;color:inherit}.s-filters-widget-container{display:block;overflow:hidden;border-radius:var(--s-radius, 0.25rem);--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding-left:1rem;padding-right:1rem;padding-top:1.25rem;padding-bottom:0.5rem}@media (min-width: 768px){.s-filters-widget-container{margin-bottom:1.25rem;padding-bottom:1.25rem;padding-top:1.25rem}}.s-filters-widget-content{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms}.s-filters-widget-opened{visibility:visible;opacity:1}.s-filters-widget-closed{visibility:hidden;height:0px !important;padding:0px;opacity:0}.s-filters-widget-title{display:flex;cursor:pointer;align-items:center;justify-content:space-between;font-size:1rem;line-height:1.5rem;font-weight:700}.s-filters-widget-values{overflow:hidden;padding-top:1rem;transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms}.s-filters-widget-plusminus{position:relative;height:0.75rem;width:0.75rem;--tw-rotate:90deg;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.s-filters-widget-plusminus::before{position:absolute;left:0px;top:50%;display:block;height:0.125rem;width:100%;--tw-bg-opacity:1;background-color:rgb(153 153 153 / var(--tw-bg-opacity, 1));transition-property:0.35s;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;--tw-content:\'\';content:var(--tw-content)}.s-filters-widget-plusminus::after{position:absolute;left:0px;top:50%;display:block;height:0.125rem;width:100%;--tw-bg-opacity:1;background-color:rgb(153 153 153 / var(--tw-bg-opacity, 1));transition-property:0.35s;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms;--tw-content:\'\';content:var(--tw-content)}.s-filters-widget-plusminus-active:before{transform:translatey(-50%) rotate(-90deg);opacity:0}.s-filters-widget-plusminus-active:after{transform:translatey(-50%) rotate(0);background-color:var(--color-primary)}.s-filters-widget-plusminus:before{transform:translatey(-50%)}.s-filters-widget-plusminus:after{transform:translatey(-50%) rotate(90deg)}';export{l as salla_filters}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Crafted with ❤ by Salla
3
- */
4
- var a,n;!function(a){a.VALUES="values",a.VARIANTS="variants",a.MINIMUM="minimum",a.RANGE="range"}(a||(a={})),function(a){a.VALUES="values",a.VARIANT="variants",a.RANGE="range"}(n||(n={}));export{a as F}
@@ -1,4 +0,0 @@
1
- /*!
2
- * Crafted with ❤ by Salla
3
- */
4
- import{a as e}from"./p-CgtvEd63.js";salla.event.setMaxListeners(100);var t=new class{setIncludes(e){return this.includes=e,this}toggleElementClassIf(e,t,r,a){t=Array.isArray(t)?t:t.split(" "),r=Array.isArray(r)?r:r.split(" ");let s=a(e);return e?.classList.remove(...s?r:t),e?.classList.add(...s?t:r),this}toggleClassIf(e,t,r,a){return document.querySelectorAll(e).forEach((e=>this.toggleElementClassIf(e,t,r,a))),this}isValidEmail(e){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase())}filterEmojies(e){return e.replace(/(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff]|[\u0023-\u0039]\ufe0f?\u20e3|\u3299|\u3297|\u303d|\u3030|\u24c2|\ud83c[\udd70-\udd71]|\ud83c[\udd7e-\udd7f]|\ud83c\udd8e|\ud83c[\udd91-\udd9a]|\ud83c[\udde6-\uddff]|\ud83c[\ude01-\ude02]|\ud83c\ude1a|\ud83c\ude2f|\ud83c[\ude32-\ude3a]|\ud83c[\ude50-\ude51]|\u203c|\u2049|[\u25aa-\u25ab]|\u25b6|\u25c0|[\u25fb-\u25fe]|\u00a9|\u00ae|\u2122|\u2139|\ud83c\udc04|[\u2600-\u26FF]|\u2b05|\u2b06|\u2b07|\u2b1b|\u2b1c|\u2b50|\u2b55|\u231a|\u231b|\u2328|\u23cf|[\u23e9-\u23f3]|[\u23f8-\u23fa]|\ud83c\udccf|\u2934|\u2935|[\u2190-\u21ff])/g,"")}debounce(e,...t){return this.debounce_||(this.debounce_=salla.helpers.debounce(((e,...t)=>e(...t)),500)),this.debounce_(e,...t)}getProductsSource(e){return{"brands.single":"brands","product.index":"categories","product.index.latest":"latest","product.index.offers":"offers","product.index.search":"search","customer.wishlist":"wishlist","landing-page":"landing-page","product.index.tag":"tags","product.index.sales":"sales","components.most_sales_products":"sales"}[e||salla.config.get("page.slug")]||e||"latest"}getApiSource(e){return{recently:"selected"}[e]||e}getPageTitleForSource(e){return(e={brands:"common.titles.brands",latest:"blocks.home.latest_products",offers:"common.titles.discounts",reorder:"common.titles.products",sales:"common.titles.most_sales"}[e])?salla.lang.get(e):""}getProductsSourceValue(e,t){const r=this.getProductsSource(e);let a=null;if(t)try{a="string"==typeof t?JSON.parse(t):t}catch(e){console.error("Failed to parse JSON string in sourceValue:",e)}if(!["search","json","offers","latest","sales","related"].includes(r)){if(Array.isArray(a)&&a.length)return a;if(Array.isArray(a)&&!a.length)return"";if("number"==typeof a)return[a];if(!t&&["categories","tags","brands"].includes(e))return[salla.config.get("page.id")]}return a||t?a||t:"search"===r?new URLSearchParams(window.location.search).get("q")||"":salla.config.get("page.id")}extractFiltersFromUrl(e){let t={};return e.forEach(((e,r)=>{const a=r.match(/^filters\[(.*?)\](\[(.*?)\])?$/u);if(a){const r=a[1],s=a[3];""===s||/^\d+$/.test(s)?(t[r]=Array.isArray(t[r])?t[r]:[],t[r].push(e)):s?(t[r]=t[r]||{},t[r][s]=e):t[r]=e}else{const a=r.match(/^(.*?)$/u);a&&(t[a[1]]=e)}})),t}async injectExtraFieldsToResponse(e){if(!e||!this.includes)return e;const t=e.data.map((e=>e.id));try{const{data:r}=await this.fetchImagesAndOptions(t);if(this.injectOptionsAndImages(e.data,r),!this.includes.includes("metadata"))return e;const a=await salla.api.metadata.fetchValues("product",t);return e.data.forEach((e=>{e.metadata=a.data.find((t=>parseInt(t.entity_id)===parseInt(e.id)))})),e}catch(e){throw console.error("Error in injectExtraFieldsToResponse:",e),e}}fetchImagesAndOptions(e){return this.productsIncludes().length?salla.api.product.fetchOptions(e,{with:this.productsIncludes()}):Promise.resolve({data:[]})}injectOptionsAndImages(e,t){return t.length?e.map((e=>(this.includes.filter((e=>"metadata"!==e)).forEach((r=>{const a=t.find((t=>parseInt(t.id)===parseInt(e.id)));e[r]=a?a[r]:null})),e))):null}productsIncludes(){return this.includes?.filter((e=>"metadata"!=e))}saveSource(e,t){if(t)try{sessionStorage.setItem(e,t)}catch(e){salla.logger.warn("Error saving source to session storage")}}saveProductSource(e){this.saveSource("s-viewed-source",e)}saveProductPosition(e){if(null!=e&&""!==e)try{sessionStorage.setItem("s-viewed-position",String(e))}catch(e){salla.logger.warn("Error saving position to session storage")}}saveAddToCartSource(e){this.saveSource("s-add-to-cart-source",e)}parseJson(e){if("string"!=typeof e)return e;try{return JSON.parse(e)}catch(e){salla.logger.error("Failed to parse includes as JSON:",e)}return null}getProductSchemaMarkupScript(e){const t=document.createElement("script");return t.type="application/ld+json",t.text=JSON.stringify({"@context":"http://schema.org","@type":"Product",name:e?.name,image:e?.image?.url||e?.thumbnail,description:e?.description,brand:{"@type":"Brand",logo:e?.brand?.logo},offers:{"@type":"Offer",price:e?.price}}),t}createProductSchema(e,t){let r={productID:`${e.id}`,"@type":"Product",name:e.name,url:e.url,image:e.image.url||e.image,description:e.description||e.subtitle||e.name,...e.sku&&e.sku.length>0&&{sku:e.sku},offers:{"@type":"Offer",url:e.url,priceCurrency:e.currency,price:e.price,itemCondition:"NewCondition",availability:e.is_available?"InStock":"OutOfStock",priceValidUntil:e.discount_ends||new Date((new Date).setDate((new Date).getDate()+7)).toISOString().split("T")[0],priceSpecification:{"@type":"PriceSpecification",price:e.regular_price,priceCurrency:e.currency,valueAddedTaxIncluded:e.is_taxable},seller:{"@type":"Organization",name:salla.config.get("store.name")},shippingDetails:{"@type":"OfferShippingDetails",shippingRate:{"@type":"MonetaryAmount",value:"0",currency:e.currency||"SAR"},deliveryTime:{"@type":"ShippingDeliveryTime",businessDays:{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"]},cutoffTime:"14:00"}},hasMerchantReturnPolicy:{"@type":"MerchantReturnPolicy",returnPolicyCategory:"https://schema.org/MerchantReturnFiniteReturnWindow",merchantReturnDays:30,returnMethod:"https://schema.org/ReturnByMail",returnFees:"https://schema.org/FreeReturn"}}};return e.rating?.stars&&(r.aggregateRating={"@type":"AggregateRating",ratingValue:e.rating.stars,reviewCount:e.rating.count}),{"@type":"ListItem",position:t,item:r}}generateProductSchema(e){const t="salla-product-schema-script";if(document.getElementById(t))return void salla.logger.warn(`already added schema-script with id (${t})!`);const r=document.createElement("script");r.type="application/ld+json",r.id=t;const a={"@context":"https://schema.org","@type":"ItemList",name:salla.config.get("page.title"),itemListElement:e.map(((e,t)=>this.createProductSchema(e,t+1)))};r.textContent=JSON.stringify(a),document.head.appendChild(r)}formatDateFromString(e,t,r="en"){const a={en:"Invalid Date",ar:"تاريخ غير صالح"};if(!e||"string"!=typeof e||""===e.trim())return a[r];let s;if(/^\d+$/.test(e)){const t=parseInt(e);s=new Date(t>1e12?t:1e3*t)}else s=new Date(e);return isNaN(s.getTime())?a[r]:`${{en:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ar:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت"]}[r][s.getDay()]} ${t(s.getDate(),"en"===r)} ${{en:["January","February","March","April","May","June","July","August","September","October","November","December"],ar:["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"]}[r][s.getMonth()]} ${t(s.getFullYear(),"en"===r)}`}copyToClipboard(e){var t=e.target.innerText;navigator.clipboard.writeText(t).then((()=>{console.log("Text copied to clipboard: "+t)})).catch((e=>{console.error("Unable to copy text to clipboard",e)}))}animateItems(t){t&&e({targets:t,opacity:[0,1],duration:1200,translateY:[20,0],delay:function(e,t){return 100*t},easing:"easeOutExpo",complete:function(){t.forEach((e=>{e.classList.add("animated")}))}})}createReviewObject(e){return{"@type":"Review",author:{"@type":"Person",name:e.name},reviewBody:e.content,reviewRating:{"@type":"Rating",bestRating:"5",ratingValue:e.stars,worstRating:"1"}}}generateReviewSchema(e){const t=document.createElement("script");t.type="application/ld+json";const r={"@context":"http://schema.org/","@type":"Store",name:salla.config.get("store.name"),url:salla.config.get("store.url"),address:"الرياض",review:e.map((e=>this.createReviewObject(e))),aggregateRating:{"@type":"AggregateRating",ratingValue:e.reduce(((e,t)=>e+t.stars),0)/e.length,reviewCount:e.length}};t.textContent=JSON.stringify(r),document.head.appendChild(t)}availabilityChannels(){let e=salla.config.get("store.settings.product.availability_notify");if(!e)return"";let t=[];return e.email&&t.push("email"),(e.sms||e.mobile||e.whatsapp)&&t.push("sms"),t.join(",")}syncWishlistIcons(e,t){e?.querySelectorAll(t).forEach((e=>{const t=e.product?.id,r="number"==typeof t?t:Number(t);if(Number.isNaN(r))return;const a=salla.wishlist.api.has(r);e.querySelectorAll(".s-product-card-wishlist-btn, .btn--wishlist").forEach((e=>{e.classList.toggle("s-product-card-wishlist-added",a),e.classList.toggle("wishlist-added",a)}))}))}};export{t as H}