@salla.sa/twilight-components 2.14.549 → 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 (341) hide show
  1. package/dist/cjs/{Helper-6RI07gZo.js → Helper-D1YsoJud.js} +46 -0
  2. package/dist/cjs/{filepond-COUccQWv.js → filepond-B-8syvXC.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-poster-B_yyvbJ6.js → filepond-plugin-file-poster-DxfU_d7d.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-size-KDZtJpSs.js → filepond-plugin-file-validate-size-C0XIW0bl.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-file-validate-type-Dbm_-1V2.js → filepond-plugin-file-validate-type-BHyBHLOg.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-edit-C-q8yFXi.js → filepond-plugin-image-edit-Dnni9gl-.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-exif-orientation-C2Q2chpj.js → filepond-plugin-image-exif-orientation-C7pHXy9M.js} +1 -1
  8. package/dist/cjs/{filepond-plugin-image-preview-DVK8eIMv.js → filepond-plugin-image-preview-CFttWV9E.js} +1 -1
  9. package/dist/cjs/{index-CSq9uCjw.js → index-CHvvKGJc.js} +6 -2
  10. package/dist/cjs/{intlTelInput-NQOLNYxO.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-My41190Y.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 +2 -2
  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-C4_NyGjO.js → filepond-plugin-file-poster-bfSOezL4.js} +1 -1
  121. package/dist/esm/{filepond-plugin-file-validate-size-DVV7mZ-K.js → filepond-plugin-file-validate-size-DagZiT3e.js} +1 -1
  122. package/dist/esm/{filepond-plugin-file-validate-type-DT1IX9KM.js → filepond-plugin-file-validate-type-Cf4JwDq-.js} +1 -1
  123. package/dist/esm/{filepond-plugin-image-edit-RrqhOPfq.js → filepond-plugin-image-edit-DWZ8nbdr.js} +1 -1
  124. package/dist/esm/{filepond-plugin-image-exif-orientation-Dc9_Qlva.js → filepond-plugin-image-exif-orientation-NHp2unXf.js} +1 -1
  125. package/dist/esm/{filepond-plugin-image-preview-Iu7ULzAy.js → filepond-plugin-image-preview-BSi_AIFs.js} +1 -1
  126. package/dist/esm/{filepond-CA4TWKuz.js → filepond-rGVsy4ep.js} +1 -1
  127. package/dist/esm/{index-C0qiFNJn.js → index-Bf2Z6A1M.js} +6 -2
  128. package/dist/esm/{intlTelInput-CrkMI_sC.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-Cf9pEgos.js → vanilla-picker-AjTapsL5.js} +1 -1
  225. package/dist/twilight/{p-ae96e338.entry.js → p-018456c8.entry.js} +1 -1
  226. package/dist/twilight/{p-7122a097.entry.js → p-03db1fe6.entry.js} +1 -1
  227. package/dist/twilight/p-0739e769.entry.js +4 -0
  228. package/dist/twilight/{p-b8da968d.entry.js → p-09c1d9c8.entry.js} +1 -1
  229. package/dist/twilight/{p-b217fea1.entry.js → p-0c4c4419.entry.js} +1 -1
  230. package/dist/twilight/{p-73db9793.entry.js → p-0ccba871.entry.js} +1 -1
  231. package/dist/twilight/{p-5d71c16a.entry.js → p-0d199866.entry.js} +1 -1
  232. package/dist/twilight/{p-34889d17.entry.js → p-0da8a64f.entry.js} +1 -1
  233. package/dist/twilight/{p-a9554697.entry.js → p-0dc61077.entry.js} +1 -1
  234. package/dist/twilight/{p-88148fed.entry.js → p-0e12c9ca.entry.js} +1 -1
  235. package/dist/twilight/{p-b73b7e15.entry.js → p-0fb44a3c.entry.js} +1 -1
  236. package/dist/twilight/{p-a5f477fd.entry.js → p-12d74e96.entry.js} +1 -1
  237. package/dist/twilight/{p-95117a08.entry.js → p-13fb9b74.entry.js} +1 -1
  238. package/dist/twilight/{p-fba13fd5.entry.js → p-1653256e.entry.js} +1 -1
  239. package/dist/twilight/{p-7bdf543a.entry.js → p-17c30aa6.entry.js} +1 -1
  240. package/dist/twilight/{p-c2005d4a.entry.js → p-1c662f1d.entry.js} +1 -1
  241. package/dist/twilight/{p-bbd2cb8c.entry.js → p-2607ac8e.entry.js} +1 -1
  242. package/dist/twilight/{p-8c086859.entry.js → p-27396f6f.entry.js} +1 -1
  243. package/dist/twilight/{p-e190e1cf.entry.js → p-277f3a46.entry.js} +1 -1
  244. package/dist/twilight/{p-4358c48e.entry.js → p-2c212d54.entry.js} +1 -1
  245. package/dist/twilight/p-2f2771de.entry.js +4 -0
  246. package/dist/twilight/{p-6da4a9b3.entry.js → p-33842645.entry.js} +1 -1
  247. package/dist/twilight/{p-5be5be8b.entry.js → p-34240222.entry.js} +1 -1
  248. package/dist/twilight/{p-7f11af86.entry.js → p-3615a99b.entry.js} +1 -1
  249. package/dist/twilight/{p-4ebdef90.entry.js → p-3627d945.entry.js} +1 -1
  250. package/dist/twilight/{p-1adf1893.entry.js → p-38b4dfa9.entry.js} +1 -1
  251. package/dist/twilight/{p-dc51e991.entry.js → p-3a4160c2.entry.js} +1 -1
  252. package/dist/twilight/{p-c15eeb62.entry.js → p-434f3557.entry.js} +1 -1
  253. package/dist/twilight/{p-84181d45.entry.js → p-44ee3af8.entry.js} +1 -1
  254. package/dist/twilight/{p-2a64e50b.entry.js → p-4d3e018b.entry.js} +1 -1
  255. package/dist/twilight/{p-0357b501.entry.js → p-4df5f9a0.entry.js} +1 -1
  256. package/dist/twilight/{p-ed5d8787.entry.js → p-4f1102f8.entry.js} +1 -1
  257. package/dist/twilight/{p-e2d501f5.entry.js → p-5256180e.entry.js} +1 -1
  258. package/dist/twilight/{p-354da069.entry.js → p-5383a324.entry.js} +1 -1
  259. package/dist/twilight/{p-a5185029.entry.js → p-57b7cd9f.entry.js} +1 -1
  260. package/dist/twilight/{p-e4c3ca60.entry.js → p-581eeaf8.entry.js} +1 -1
  261. package/dist/twilight/{p-ecaf7d87.entry.js → p-5a4f7313.entry.js} +1 -1
  262. package/dist/twilight/{p-f3bd1c09.entry.js → p-649ced48.entry.js} +1 -1
  263. package/dist/twilight/{p-32af49cd.entry.js → p-69d75b45.entry.js} +1 -1
  264. package/dist/twilight/{p-dc7f11e4.entry.js → p-6e78cc02.entry.js} +1 -1
  265. package/dist/twilight/{p-344f751a.entry.js → p-785cee9b.entry.js} +1 -1
  266. package/dist/twilight/{p-28efc3a8.entry.js → p-7b6fa77f.entry.js} +1 -1
  267. package/dist/twilight/{p-453f92f9.entry.js → p-7e101885.entry.js} +1 -1
  268. package/dist/twilight/{p-a72bf47b.entry.js → p-7e9d98c3.entry.js} +1 -1
  269. package/dist/twilight/{p-42efd1b1.entry.js → p-8838ad5c.entry.js} +1 -1
  270. package/dist/twilight/{p-6da0b2b3.entry.js → p-8cf65dbf.entry.js} +1 -1
  271. package/dist/twilight/{p-8fa81b10.entry.js → p-8e0bdbbc.entry.js} +1 -1
  272. package/dist/twilight/{p-5364f42e.entry.js → p-95a3b9b9.entry.js} +1 -1
  273. package/dist/twilight/{p-d322a3e8.entry.js → p-97136699.entry.js} +1 -1
  274. package/dist/twilight/{p-c82b8aa7.entry.js → p-9ae3a15c.entry.js} +1 -1
  275. package/dist/twilight/{p-368beadc.entry.js → p-9cbc4733.entry.js} +1 -1
  276. package/dist/twilight/{p-c72a1861.entry.js → p-9e702ebb.entry.js} +1 -1
  277. package/dist/twilight/p-9ee1e01c.entry.js +4 -0
  278. package/dist/twilight/{p-ee7530fe.entry.js → p-9f1d1b76.entry.js} +1 -1
  279. package/dist/twilight/{p-6bedb896.entry.js → p-9fdb6380.entry.js} +1 -1
  280. package/dist/twilight/{p-CyO2XGkr.js → p-B-Q5WD6p.js} +1 -1
  281. package/dist/twilight/{p-i-tkvIE0.js → p-B59qdBmY.js} +1 -1
  282. package/dist/twilight/{p-BeFR_h3q.js → p-BdsgfewR.js} +1 -1
  283. package/dist/twilight/{p-C0qiFNJn.js → p-Bf2Z6A1M.js} +1 -1
  284. package/dist/twilight/{p-l7Rr63jq.js → p-BlDax_46.js} +1 -1
  285. package/dist/twilight/{p-yV2X3Oc1.js → p-CG1Rwy3q.js} +1 -1
  286. package/dist/twilight/{p-CW2JQnYK.js → p-CMQ7Gxqu.js} +1 -1
  287. package/dist/twilight/{p-C7NprL2x.js → p-CPqpCDCi.js} +1 -1
  288. package/dist/twilight/p-D6rFREuQ.js +4 -0
  289. package/dist/twilight/p-DfIHi_xi.js +9 -0
  290. package/dist/twilight/{p-27b6fd51.entry.js → p-a3eb15e4.entry.js} +1 -1
  291. package/dist/twilight/{p-7a1169f6.entry.js → p-a818352a.entry.js} +1 -1
  292. package/dist/twilight/{p-bf9cc549.entry.js → p-a8d6804c.entry.js} +1 -1
  293. package/dist/twilight/{p-b3ba53c5.entry.js → p-aa71f393.entry.js} +1 -1
  294. package/dist/twilight/{p-4cfccc31.entry.js → p-b017b72e.entry.js} +1 -1
  295. package/dist/twilight/{p-e36310e2.entry.js → p-b19102f6.entry.js} +1 -1
  296. package/dist/twilight/{p-945b3f38.entry.js → p-b2380c6b.entry.js} +1 -1
  297. package/dist/twilight/{p-86cec54b.entry.js → p-b452c8a0.entry.js} +1 -1
  298. package/dist/twilight/{p-499ccb8b.entry.js → p-b603a180.entry.js} +1 -1
  299. package/dist/twilight/{p-0dea4239.entry.js → p-b7b4231f.entry.js} +1 -1
  300. package/dist/twilight/{p-3c99951e.entry.js → p-bc595ee3.entry.js} +1 -1
  301. package/dist/twilight/{p-0d44c47f.entry.js → p-bd3fef37.entry.js} +1 -1
  302. package/dist/twilight/{p-4a8b3e89.entry.js → p-bded58cb.entry.js} +1 -1
  303. package/dist/twilight/{p-adbf6324.entry.js → p-be95b40b.entry.js} +1 -1
  304. package/dist/twilight/{p-b5028411.entry.js → p-c0c561b9.entry.js} +1 -1
  305. package/dist/twilight/{p-8f2f8693.entry.js → p-c24f6325.entry.js} +1 -1
  306. package/dist/twilight/{p-a30ae3e6.entry.js → p-c31b966f.entry.js} +1 -1
  307. package/dist/twilight/{p-4d149e9e.entry.js → p-c56725b9.entry.js} +1 -1
  308. package/dist/twilight/{p-a9b9deb9.entry.js → p-c818e0eb.entry.js} +1 -1
  309. package/dist/twilight/{p-b2662a4f.entry.js → p-cd51e722.entry.js} +1 -1
  310. package/dist/twilight/{p-7e26332e.entry.js → p-cf21323d.entry.js} +1 -1
  311. package/dist/twilight/{p-862f7fda.entry.js → p-cfac0aa1.entry.js} +1 -1
  312. package/dist/twilight/{p-14f2c393.entry.js → p-cfbf287b.entry.js} +1 -1
  313. package/dist/twilight/{p-875beddd.entry.js → p-d2556680.entry.js} +1 -1
  314. package/dist/twilight/{p-e806b976.entry.js → p-d2c204f4.entry.js} +1 -1
  315. package/dist/twilight/{p-b6d259be.entry.js → p-d63ca8bb.entry.js} +1 -1
  316. package/dist/twilight/{p-709af483.entry.js → p-d65a6462.entry.js} +1 -1
  317. package/dist/twilight/{p-33c2f3bc.entry.js → p-dfaf0617.entry.js} +1 -1
  318. package/dist/twilight/{p-a243d3cc.entry.js → p-e284728d.entry.js} +1 -1
  319. package/dist/twilight/{p-a909aff5.entry.js → p-e54cc4f8.entry.js} +1 -1
  320. package/dist/twilight/{p-55c716a4.entry.js → p-e8a1c501.entry.js} +1 -1
  321. package/dist/twilight/{p-5d261682.entry.js → p-e8b220e1.entry.js} +1 -1
  322. package/dist/twilight/{p-a37a692a.entry.js → p-ebb73bcc.entry.js} +1 -1
  323. package/dist/twilight/{p-f51a1326.entry.js → p-efa79191.entry.js} +1 -1
  324. package/dist/twilight/{p-c0d89d74.entry.js → p-f1322c8e.entry.js} +1 -1
  325. package/dist/twilight/{p-ab86dc29.entry.js → p-f2e5f1fd.entry.js} +1 -1
  326. package/dist/twilight/{p-a8561cc8.entry.js → p-f586c239.entry.js} +1 -1
  327. package/dist/twilight/{p-c3bed022.entry.js → p-fc587040.entry.js} +1 -1
  328. package/dist/twilight/{p-ClV-F79e.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-01b52f2f.entry.js +0 -4
  338. package/dist/twilight/p-B3th5No1.js +0 -9
  339. package/dist/twilight/p-DL4h2bc3.js +0 -4
  340. package/dist/twilight/p-DOBDDG4K.js +0 -4
  341. package/dist/twilight/p-c55c576c.entry.js +0 -4
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { p as promiseResolve, g as globalScripts, b as bootstrapLazy } from './index-C0qiFNJn.js';
5
- export { s as setNonce } from './index-C0qiFNJn.js';
4
+ import { p as promiseResolve, g as globalScripts, b as bootstrapLazy } from './index-Bf2Z6A1M.js';
5
+ export { s as setNonce } from './index-Bf2Z6A1M.js';
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Browser v4.35.1 | MIT Licensed | https://stenciljs.com
@@ -19,5 +19,5 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await globalScripts();
22
- return bootstrapLazy(JSON.parse("[[\"salla-offer-modal\",[[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]}]]],[\"salla-multiple-bundle-product\",[[0,\"salla-multiple-bundle-product\",{\"bundleSections\":[1,\"bundle-sections\"],\"parsedSections\":[32]},null,{\"bundleSections\":[\"parseProducts\"]}]]],[\"salla-basket-gap\",[[0,\"salla-basket-gap\",{\"limit\":[2],\"products\":[32],\"isLoading\":[32],\"canRender\":[32],\"title\":[32],\"addToCartLabel\":[32],\"weightLabel\":[32],\"discountLabel\":[32]}]]],[\"salla-order-edit\",[[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\"]]]]],[\"salla-gifting\",[[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]}]]],[\"salla-loyalty\",[[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\"]]]]],[\"salla-order-details\",[[0,\"salla-order-details\",{\"orderDetails\":[1,\"order-details\"],\"parsedOrderDetailsData\":[32]},null,{\"orderDetails\":[\"parseOrderDetailsData\"]}]]],[\"salla-product-size-guide\",[[4,\"salla-product-size-guide\",{\"guides\":[32],\"productId\":[32],\"placeholder_title\":[32],\"placeholder_description\":[32],\"modal_title\":[32],\"hasError\":[32],\"open\":[64],\"close\":[64]}]]],[\"salla-review-order-item\",[[0,\"salla-review-order-item\",{\"productId\":[8,\"product-id\"],\"orderItem\":[32],\"fetchOrderId\":[32],\"productRatings\":[32],\"allowUpdate\":[32]},null,{\"productId\":[\"onProductIdChange\"]}]]],[\"salla-offer\",[[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]}]]],[\"salla-custom-fields\",[[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]}]]],[\"salla-scopes\",[[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]}]]],[\"salla-delivery-promise\",[[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]}]]],[\"salla-localization-modal\",[[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]}]]],[\"salla-filters\",[[0,\"salla-filters\",{\"filters\":[1040],\"isSidebarOpen\":[32],\"filtersData\":[32],\"apply\":[32],\"reset\":[32],\"selectedTitle\":[32],\"appliedOpen\":[32],\"getFilters\":[64],\"applyFilters\":[64],\"resetFilters\":[64]}]]],[\"salla-quick-order\",[[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]}]]],[\"salla-user-menu\",[[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]}]]],[\"salla-user-profile\",[[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]}]]],[\"salla-user-settings\",[[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]}]]],[\"salla-alert_2\",[[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]}]]],[\"salla-order-cancel\",[[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\"]}]]],[\"salla-search\",[[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\"]}]]],[\"salla-verify\",[[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]}]]],[\"salla-cart-coupons\",[[0,\"salla-cart-coupons\",{\"availableCoupons\":[32],\"cartTotal\":[32],\"cartTotalReady\":[32],\"currentCoupon\":[32],\"couponInputValue\":[32],\"couponError\":[32],\"isApplying\":[32],\"appliedCoupons\":[32],\"multiCoupon\":[32],\"selectCoupon\":[64]}]]],[\"salla-cart-summary-card\",[[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]}]]],[\"salla-conditional-offer\",[[0,\"salla-conditional-offer\",{\"offer\":[32],\"products\":[32],\"isLoading\":[32],\"canRender\":[32]}]]],[\"salla-edit-order-button\",[[0,\"salla-edit-order-button\",{\"orderId\":[8,\"order-id\"],\"order\":[32],\"loading\":[32]},null,{\"orderId\":[\"onOrderIdChange\"]}]]],[\"salla-loyalty-points-history\",[[0,\"salla-loyalty-points-history\",{\"loyaltyPointsArray\":[32],\"balance\":[32],\"isLoadingLoyalty\":[32],\"nextPageUrlLoyalty\":[32]}]]],[\"salla-next-order-coupon\",[[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]}]]],[\"salla-order-summary\",[[0,\"salla-order-summary\",{\"orderId\":[514,\"order-id\"],\"codeCopied\":[32],\"noItemFound\":[32],\"order_items\":[32]}]]],[\"salla-wallet\",[[0,\"salla-wallet\",{\"transactionsArray\":[32],\"balance\":[32],\"isLoading\":[32],\"nextPageUrl\":[32]}]]],[\"salla-wishlist-actions\",[[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]}]]],[\"salla-cookies-bar\",[[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]}]]],[\"salla-menu\",[[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]}]]],[\"salla-orders\",[[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]}]]],[\"salla-tiered-offer\",[[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]}]]],[\"salla-cart-item-offers_2\",[[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]}]]],[\"salla-advertisement\",[[0,\"salla-advertisement\",{\"position\":[32],\"advertisements\":[32],\"advertIcon\":[32],\"currentSlug\":[32]}]]],[\"salla-app-install-alert\",[[0,\"salla-app-install-alert\",{\"data\":[32],\"ctaLink\":[32],\"open\":[32],\"closing\":[32]}]]],[\"salla-apps-icons\",[[0,\"salla-apps-icons\",{\"hideTitle\":[4,\"hide-title\"],\"appsTitle\":[1,\"apps-title\"],\"vertical\":[4],\"apps\":[32]}]]],[\"salla-cashback-banner\",[[0,\"salla-cashback-banner\",{\"cashbackData\":[32],\"productId\":[32]}]]],[\"salla-contacts\",[[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]}]]],[\"salla-fulfillment-methods\",[[0,\"salla-fulfillment-methods\",{\"methods\":[32],\"shouldRender\":[32]}]]],[\"salla-hook\",[[1,\"salla-hook\",{\"name\":[1],\"mount\":[64]}]]],[\"salla-infinite-scroll\",[[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]}]]],[\"salla-installment\",[[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]}]]],[\"salla-loyalty-points-banner\",[[0,\"salla-loyalty-points-banner\",{\"pointsData\":[32],\"productId\":[32]}]]],[\"salla-loyalty-prize-item\",[[0,\"salla-loyalty-prize-item\",{\"item\":[16]}]]],[\"salla-maintenance-alert\",[[0,\"salla-maintenance-alert\",{\"title\":[32],\"message\":[32],\"buttonTitle\":[32]}]]],[\"salla-metadata\",[[0,\"salla-metadata\",{\"entity\":[1],\"entityId\":[8,\"entity-id\"],\"specs\":[32],\"download\":[32]}]]],[\"salla-order-branch\",[[0,\"salla-order-branch\",{\"stackCards\":[516,\"stack-cards\"],\"branchData\":[32],\"isLoading\":[32]}]]],[\"salla-order-edit-product-card\",[[0,\"salla-order-edit-product-card\",{\"product\":[1]}]]],[\"salla-order-shipments\",[[0,\"salla-order-shipments\",{\"orderId\":[8,\"order-id\"],\"shipments\":[32]},null,{\"orderId\":[\"onOrderIdChange\"]}]]],[\"salla-order-totals-card\",[[0,\"salla-order-totals-card\",{\"order\":[1],\"summary\":[32]},null,{\"order\":[\"handleOrderChange\"]}]]],[\"salla-payments\",[[0,\"salla-payments\",{\"exclude\":[1040]}]]],[\"salla-product-card-embed\",[[0,\"salla-product-card-embed\",{\"productId\":[8,\"product-id\"],\"align\":[513],\"source\":[513],\"loading\":[32],\"hasError\":[32],\"productData\":[32]}]]],[\"salla-social\",[[0,\"salla-social\",{\"links\":[32],\"iconsList\":[32]}]]],[\"salla-trust-badges\",[[0,\"salla-trust-badges\",{\"dark\":[4],\"commercialRegisterLabel\":[32],\"freelanceLabel\":[32]}]]],[\"salla-order-edit-item\",[[0,\"salla-order-edit-item\",{\"item\":[16],\"orderId\":[8,\"order-id\"],\"quantity\":[32]},null,{\"item\":[\"handleItemChange\"]}]]],[\"salla-rating-modal\",[[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]}]]],[\"salla-order-details-multiple-bundle-product\",[[0,\"salla-order-details-multiple-bundle-product\",{\"productDetails\":[16,\"product-details\"],\"collapsible\":[4],\"placeholderImage\":[1,\"placeholder-image\"]}]]],[\"salla-filters-widget\",[[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]}]]],[\"salla-login-modal\",[[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]}]]],[\"salla-notification-item_2\",[[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]}]]],[\"salla-social-share\",[[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\"]}]]],[\"salla-slider\",[[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]}]]],[\"salla-attachment-view_9\",[[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]}]]],[\"salla-multiple-bundle-product-cart_2\",[[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]}]]],[\"salla-rating-modal-v2\",[[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]}]]],[\"salla-map_2\",[[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]}]]],[\"salla-order-details-options\",[[0,\"salla-order-details-options\",{\"options\":[1],\"bordered\":[4],\"placeholderImage\":[1,\"placeholder-image\"],\"optionsData\":[32]}]]],[\"salla-comment-factors\",[[0,\"salla-comment-factors\",{\"factors\":[16]}]]],[\"salla-price-range\",[[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]}]]],[\"salla-loyalty-exchange-product-card\",[[0,\"salla-loyalty-exchange-product-card\",{\"product\":[8],\"hasCustomCard\":[32]}]]],[\"salla-bullet-delivery_2\",[[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\"]}]]],[\"salla-products-list\",[[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\"]}]]],[\"salla-review-factors-tags\",[[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\"]}]]],[\"salla-add-product-button_5\",[[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]}]]],[\"salla-products-slider\",[[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\"]}]]],[\"salla-multiple-bundle-product-options-modal_2\",[[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\"]]]]],[\"salla-tooltip\",[[4,\"salla-tooltip\",{\"text\":[1],\"targetId\":[1,\"target-id\"],\"theme\":[1],\"show\":[32]},[[9,\"mouseover\",\"handleMouseOver\"],[9,\"mouseout\",\"handleMouseOut\"]]]]],[\"salla-list-tile\",[[4,\"salla-list-tile\",{\"href\":[1],\"target\":[1]}]]],[\"salla-badge\",[[4,\"salla-badge\",{\"size\":[1],\"color\":[1],\"bg\":[1]}]]],[\"salla-count-down\",[[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]}]]],[\"salla-loyalty-banner_10\",[[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\"]}]]],[\"salla-accordion-body_2\",[[4,\"salla-accordion-body\"],[4,\"salla-accordion-head\",{\"collapsible\":[4],\"collapsed\":[1540]}]]],[\"salla-placeholder\",[[4,\"salla-placeholder\",{\"icon\":[1],\"alignment\":[1],\"iconSize\":[1,\"icon-size\"],\"translationLoaded\":[32]}]]],[\"salla-tab-content_3\",[[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\"]]]]],[\"salla-accordion_6\",[[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]}]]],[\"salla-comment-form_9\",[[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]}]]],[\"salla-order-options-modal_2\",[[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]}]]],[\"salla-skeleton\",[[0,\"salla-skeleton\",{\"type\":[1],\"width\":[1],\"height\":[1]}]]]]"), options);
22
+ return bootstrapLazy(JSON.parse("[[\"salla-offer-modal\",[[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]}]]],[\"salla-multiple-bundle-product\",[[0,\"salla-multiple-bundle-product\",{\"bundleSections\":[1,\"bundle-sections\"],\"parsedSections\":[32]},null,{\"bundleSections\":[\"parseProducts\"]}]]],[\"salla-basket-gap\",[[0,\"salla-basket-gap\",{\"limit\":[2],\"products\":[32],\"isLoading\":[32],\"canRender\":[32],\"title\":[32],\"addToCartLabel\":[32],\"weightLabel\":[32],\"discountLabel\":[32]}]]],[\"salla-order-edit\",[[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\"]]]]],[\"salla-gifting\",[[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]}]]],[\"salla-loyalty\",[[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\"]]]]],[\"salla-order-details\",[[0,\"salla-order-details\",{\"orderDetails\":[1,\"order-details\"],\"parsedOrderDetailsData\":[32]},null,{\"orderDetails\":[\"parseOrderDetailsData\"]}]]],[\"salla-product-size-guide\",[[4,\"salla-product-size-guide\",{\"guides\":[32],\"productId\":[32],\"placeholder_title\":[32],\"placeholder_description\":[32],\"modal_title\":[32],\"hasError\":[32],\"open\":[64],\"close\":[64]}]]],[\"salla-review-order-item\",[[0,\"salla-review-order-item\",{\"productId\":[8,\"product-id\"],\"orderItem\":[32],\"fetchOrderId\":[32],\"productRatings\":[32],\"allowUpdate\":[32]},null,{\"productId\":[\"onProductIdChange\"]}]]],[\"salla-offer\",[[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]}]]],[\"salla-custom-fields\",[[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]}]]],[\"salla-scopes\",[[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]}]]],[\"salla-delivery-promise\",[[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]}]]],[\"salla-localization-modal\",[[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]}]]],[\"salla-filters\",[[0,\"salla-filters\",{\"filters\":[1040],\"isSidebarOpen\":[32],\"filtersData\":[32],\"apply\":[32],\"getFilters\":[64],\"applyFilters\":[64],\"resetFilters\":[64],\"removeFilter\":[64]}]]],[\"salla-quick-order\",[[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]}]]],[\"salla-user-menu\",[[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]}]]],[\"salla-user-profile\",[[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]}]]],[\"salla-user-settings\",[[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]}]]],[\"salla-alert_2\",[[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]}]]],[\"salla-order-cancel\",[[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\"]}]]],[\"salla-search\",[[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\"]}]]],[\"salla-verify\",[[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]}]]],[\"salla-cart-coupons\",[[0,\"salla-cart-coupons\",{\"availableCoupons\":[32],\"cartTotal\":[32],\"cartTotalReady\":[32],\"currentCoupon\":[32],\"couponInputValue\":[32],\"couponError\":[32],\"isApplying\":[32],\"appliedCoupons\":[32],\"multiCoupon\":[32],\"selectCoupon\":[64]}]]],[\"salla-cart-summary-card\",[[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]}]]],[\"salla-conditional-offer\",[[0,\"salla-conditional-offer\",{\"offer\":[32],\"products\":[32],\"isLoading\":[32],\"canRender\":[32]}]]],[\"salla-edit-order-button\",[[0,\"salla-edit-order-button\",{\"orderId\":[8,\"order-id\"],\"order\":[32],\"loading\":[32]},null,{\"orderId\":[\"onOrderIdChange\"]}]]],[\"salla-loyalty-points-history\",[[0,\"salla-loyalty-points-history\",{\"loyaltyPointsArray\":[32],\"balance\":[32],\"isLoadingLoyalty\":[32],\"nextPageUrlLoyalty\":[32]}]]],[\"salla-next-order-coupon\",[[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]}]]],[\"salla-order-summary\",[[0,\"salla-order-summary\",{\"orderId\":[514,\"order-id\"],\"codeCopied\":[32],\"noItemFound\":[32],\"order_items\":[32]}]]],[\"salla-wallet\",[[0,\"salla-wallet\",{\"transactionsArray\":[32],\"balance\":[32],\"isLoading\":[32],\"nextPageUrl\":[32]}]]],[\"salla-wishlist-actions\",[[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]}]]],[\"salla-cookies-bar\",[[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]}]]],[\"salla-menu\",[[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]}]]],[\"salla-orders\",[[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]}]]],[\"salla-tiered-offer\",[[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]}]]],[\"salla-cart-item-offers_2\",[[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]}]]],[\"salla-advertisement\",[[0,\"salla-advertisement\",{\"position\":[32],\"advertisements\":[32],\"advertIcon\":[32],\"currentSlug\":[32]}]]],[\"salla-app-install-alert\",[[0,\"salla-app-install-alert\",{\"data\":[32],\"ctaLink\":[32],\"open\":[32],\"closing\":[32]}]]],[\"salla-applied-filters\",[[0,\"salla-applied-filters\",{\"filters\":[32],\"filtersData\":[32],\"clearAllLabel\":[32],\"removeLabel\":[32]}]]],[\"salla-apps-icons\",[[0,\"salla-apps-icons\",{\"hideTitle\":[4,\"hide-title\"],\"appsTitle\":[1,\"apps-title\"],\"vertical\":[4],\"apps\":[32]}]]],[\"salla-cashback-banner\",[[0,\"salla-cashback-banner\",{\"cashbackData\":[32],\"productId\":[32]}]]],[\"salla-contacts\",[[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]}]]],[\"salla-fulfillment-methods\",[[0,\"salla-fulfillment-methods\",{\"methods\":[32],\"shouldRender\":[32]}]]],[\"salla-hook\",[[1,\"salla-hook\",{\"name\":[1],\"mount\":[64]}]]],[\"salla-infinite-scroll\",[[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]}]]],[\"salla-installment\",[[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]}]]],[\"salla-loyalty-points-banner\",[[0,\"salla-loyalty-points-banner\",{\"pointsData\":[32],\"productId\":[32]}]]],[\"salla-loyalty-prize-item\",[[0,\"salla-loyalty-prize-item\",{\"item\":[16]}]]],[\"salla-maintenance-alert\",[[0,\"salla-maintenance-alert\",{\"title\":[32],\"message\":[32],\"buttonTitle\":[32]}]]],[\"salla-metadata\",[[0,\"salla-metadata\",{\"entity\":[1],\"entityId\":[8,\"entity-id\"],\"specs\":[32],\"download\":[32]}]]],[\"salla-order-branch\",[[0,\"salla-order-branch\",{\"stackCards\":[516,\"stack-cards\"],\"branchData\":[32],\"isLoading\":[32]}]]],[\"salla-order-edit-product-card\",[[0,\"salla-order-edit-product-card\",{\"product\":[1]}]]],[\"salla-order-shipments\",[[0,\"salla-order-shipments\",{\"orderId\":[8,\"order-id\"],\"shipments\":[32]},null,{\"orderId\":[\"onOrderIdChange\"]}]]],[\"salla-order-totals-card\",[[0,\"salla-order-totals-card\",{\"order\":[1],\"summary\":[32]},null,{\"order\":[\"handleOrderChange\"]}]]],[\"salla-payments\",[[0,\"salla-payments\",{\"exclude\":[1040]}]]],[\"salla-product-card-embed\",[[0,\"salla-product-card-embed\",{\"productId\":[8,\"product-id\"],\"align\":[513],\"source\":[513],\"loading\":[32],\"hasError\":[32],\"productData\":[32]}]]],[\"salla-social\",[[0,\"salla-social\",{\"links\":[32],\"iconsList\":[32]}]]],[\"salla-trust-badges\",[[0,\"salla-trust-badges\",{\"dark\":[4],\"commercialRegisterLabel\":[32],\"freelanceLabel\":[32]}]]],[\"salla-order-edit-item\",[[0,\"salla-order-edit-item\",{\"item\":[16],\"orderId\":[8,\"order-id\"],\"quantity\":[32]},null,{\"item\":[\"handleItemChange\"]}]]],[\"salla-rating-modal\",[[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]}]]],[\"salla-order-details-multiple-bundle-product\",[[0,\"salla-order-details-multiple-bundle-product\",{\"productDetails\":[16,\"product-details\"],\"collapsible\":[4],\"placeholderImage\":[1,\"placeholder-image\"]}]]],[\"salla-filters-widget\",[[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]}]]],[\"salla-login-modal\",[[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]}]]],[\"salla-notification-item_2\",[[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]}]]],[\"salla-social-share\",[[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\"]}]]],[\"salla-slider\",[[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]}]]],[\"salla-attachment-view_9\",[[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]}]]],[\"salla-multiple-bundle-product-cart_2\",[[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]}]]],[\"salla-rating-modal-v2\",[[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]}]]],[\"salla-map_2\",[[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]}]]],[\"salla-order-details-options\",[[0,\"salla-order-details-options\",{\"options\":[1],\"bordered\":[4],\"placeholderImage\":[1,\"placeholder-image\"],\"optionsData\":[32]}]]],[\"salla-comment-factors\",[[0,\"salla-comment-factors\",{\"factors\":[16]}]]],[\"salla-price-range\",[[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]}]]],[\"salla-loyalty-exchange-product-card\",[[0,\"salla-loyalty-exchange-product-card\",{\"product\":[8],\"hasCustomCard\":[32]}]]],[\"salla-bullet-delivery_2\",[[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\"]}]]],[\"salla-products-list\",[[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\"]}]]],[\"salla-review-factors-tags\",[[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\"]}]]],[\"salla-add-product-button_5\",[[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]}]]],[\"salla-products-slider\",[[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\"]}]]],[\"salla-multiple-bundle-product-options-modal_2\",[[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\"]]]]],[\"salla-tooltip\",[[4,\"salla-tooltip\",{\"text\":[1],\"targetId\":[1,\"target-id\"],\"theme\":[1],\"show\":[32]},[[9,\"mouseover\",\"handleMouseOver\"],[9,\"mouseout\",\"handleMouseOut\"]]]]],[\"salla-list-tile\",[[4,\"salla-list-tile\",{\"href\":[1],\"target\":[1]}]]],[\"salla-badge\",[[4,\"salla-badge\",{\"size\":[1],\"color\":[1],\"bg\":[1]}]]],[\"salla-count-down\",[[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]}]]],[\"salla-loyalty-banner_10\",[[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\"]}]]],[\"salla-accordion-body_2\",[[4,\"salla-accordion-body\"],[4,\"salla-accordion-head\",{\"collapsible\":[4],\"collapsed\":[1540]}]]],[\"salla-placeholder\",[[4,\"salla-placeholder\",{\"icon\":[1],\"alignment\":[1],\"iconSize\":[1,\"icon-size\"],\"translationLoaded\":[32]}]]],[\"salla-tab-content_3\",[[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\"]]]]],[\"salla-accordion_6\",[[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]}]]],[\"salla-comment-form_9\",[[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]}]]],[\"salla-order-options-modal_2\",[[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]}]]],[\"salla-skeleton\",[[0,\"salla-skeleton\",{\"type\":[1],\"width\":[1],\"height\":[1]}]]]]"), options);
23
23
  });
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-C0qiFNJn.js';
4
+ import { d as getDefaultExportFromCjs } from './index-Bf2Z6A1M.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{r as t,c as s,h as i,H as e,a as n}from"./p-C0qiFNJn.js";import{A as o,a as l}from"./p-Vqpj4CWE.js";const d=class{constructor(i){t(this,i),this.optionsSaved=s(this,"optionsSaved"),this.productSelected=s(this,"productSelected"),this.product=null,this.sectionId=null,this.sectionIndex=0,this.productIndex=0,this.selectedOptions={},this.optionsResetTokens={},this.isLoading=!1,this.hasUnsavedChanges=!1,this.validationErrors=[],this.isProductAlreadySelected=!1}generateCacheKey(t,s,i){return`${t||"unknown"}-${s||0}-${i||"unknown"}`}handleProductChange(t){setTimeout((()=>{this.modal&&t&&this.modal.setTitle(t.name||"")}),100),this.validationErrors=[],this.hasUnsavedChanges=!1}async open(){this.modal?(this.isLoading=!0,this.product?.name&&this.modal.setTitle(this.product.name),this.modal.open(),setTimeout((async()=>{this.product?.id&&await this.initializeSelectedOptions(),this.product?.name&&this.modal.setTitle(this.product.name),this.modal.stopLoading(),this.isLoading=!1}),300)):requestAnimationFrame((()=>this.open()))}async close(){this.modal&&this.modal.close()}async refreshOptionsState(){this.selectedOptions={...this.selectedOptions}}componentDidLoad(){this.modalOpenListener=t=>{this.product=t.product,this.sectionId=t.sectionId||null,this.sectionIndex=t.sectionIndex||0,this.productIndex=t.productIndex||0,this.isProductAlreadySelected=!!t.isProductAlreadySelected,this.open()},salla.event.on("multiple-bundle-product-modal::open",this.modalOpenListener),this.clearOptionsListener=t=>{t&&t.productId&&this.clearProductOptions(t.productId,t.sectionId,t.productIndex)},salla.event.on("multiple-bundle-product-modal::clear-options",this.clearOptionsListener),this.optionChangeListener=t=>{const s=t.detail||t,{option:i,detail:e}=s,n=i||s.option_id&&this.product?.options?.find((t=>t.id===s.option_id||String(t.id)===String(s.option_id))),o=e||(s.id?s:null);this.product?.id&&n&&this.handleOptionChange(Number(this.product.id),n,o)},salla.event.on("product-options::change",this.optionChangeListener),this.checkboxChangeListener=t=>{const s=t.target;if(s&&"checkbox"===s.type&&s.name&&s.name.includes("bundle[")&&s.name.includes("][id]")){const t=s.name.match(/^bundle\[([^\]]+)\]\[([^\]]+)\]\[id\]$/);if(t&&!s.checked){if("true"===s.getAttribute("data-selection-locked"))return void(s.checked=!0);const[,i,e]=t,n=s.value,o=this.host.closest("form");this.cleanupProductDeselection({sectionId:i,productIndex:parseInt(e,10),productId:n,form:o,uncheckedInput:s})}}},document.addEventListener("change",this.checkboxChangeListener)}disconnectedCallback(){this.checkboxChangeListener&&document.removeEventListener("change",this.checkboxChangeListener),this.optionChangeListener&&salla.event.off("product-options::change",this.optionChangeListener),this.modalOpenListener&&salla.event.off("multiple-bundle-product-modal::open",this.modalOpenListener),this.clearOptionsListener&&salla.event.off("multiple-bundle-product-modal::clear-options",this.clearOptionsListener)}cleanupProductDeselection(t){const{sectionId:s,productIndex:i,productId:e,form:n,uncheckedInput:o}=t;if(this.clearProductOptions(e,s,i),n){const t=`bundle[${s}][${i}]`;Array.from(n.querySelectorAll(`input[name^="${t}"]`)).forEach((s=>{if(s===o)return;const i="hidden"===s.type,n=s.getAttribute("data-product-id")===String(e)&&s.name?.startsWith(t);(i||n)&&s.remove()})),requestAnimationFrame((()=>{const t=new window.Event("change",{bubbles:!0});n.dispatchEvent(t)}))}}generateFormInputName(t,s,i){return`bundle[${t}][${s}][options][${i}]`}async initializeSelectedOptions(){if(!this.product?.id)return;const t=this.product.id,s=this.generateCacheKey(this.sectionId,this.productIndex,t),i=document.querySelector(`salla-product-options[product-id="${t}"]`);if(i)try{const t=await i.getSelectedOptions();t&&t.length>0&&(this.selectedOptions={...this.selectedOptions,[s]:t})}catch(t){console.warn("Could not initialize selected options:",t)}}clearProductOptions(t,s,i){const e={...this.selectedOptions};if(null==s||null==i||Number.isNaN(i)){const s=`-${String(t)}`,i=[];Object.keys(e).forEach((t=>{t.endsWith(s)&&(delete e[t],i.push(t))})),i.forEach((t=>this.bumpOptionsResetToken(t)))}else{const n=this.generateCacheKey(s,i,t);delete e[n],this.bumpOptionsResetToken(n)}this.selectedOptions=e,this.validationErrors=[],this.hasUnsavedChanges=!1}bumpOptionsResetToken(t){t&&(this.optionsResetTokens={...this.optionsResetTokens,[t]:(this.optionsResetTokens[t]||0)+1})}async handleOptionChange(t,s,i){const e=this.generateCacheKey(this.sectionId,this.productIndex,t),n=document.querySelector(`salla-product-options[product-id="${t}"]`);let o=[];if(n)try{o=await n.getSelectedOptions()||[]}catch(t){console.warn("Could not get current selections from component:",t)}if(o.length>0)this.selectedOptions={...this.selectedOptions,[e]:o};else if(this.selectedOptions[e]&&this.selectedOptions[e].length>0){const t=[...this.selectedOptions[e]||[]],n=t.findIndex((t=>t.option_id===s.id));n>-1?i&&null!=i.id?t[n]={...i,option_id:s.id}:t.splice(n,1):i&&null!=i.id&&t.push({...i,option_id:s.id}),this.selectedOptions={...this.selectedOptions,[e]:t}}else i&&null!=i.id&&(this.selectedOptions={...this.selectedOptions,[e]:[{...i,option_id:s.id}]});this.hasUnsavedChanges=!0,this.validationErrors=[]}async validateOptions(){if(!this.product?.options)return!0;const t=[],s=this.product.id,i=this.generateCacheKey(this.sectionId,this.productIndex,s),e=document.querySelector(`salla-product-options[product-id="${s}"]`);let n=[];if(e)try{n=await e.getSelectedOptions()||[];const t=this.selectedOptions[i]||[];(t.length>n.length||0===n.length&&t.length>0)&&(n=t)}catch(t){n=this.selectedOptions[i]||[]}else n=this.selectedOptions[i]||[];return 0===n.length&&t.push(salla.lang.get("pages.products.no_options_selected")),this.product.options.forEach((s=>{s.required&&(n.some((t=>t.option_id==s.id))||t.push(salla.lang.get("pages.products.required_option_missing",{option:s.name})))})),this.validationErrors=t,0===t.length}async onSave(t){t.preventDefault();const s=this.product?.id;if(!s)return;const i=this.generateCacheKey(this.sectionId,this.productIndex,s);if(await new Promise((t=>setTimeout(t,100))),await this.validateOptions()){if(!this.isProductAlreadySelected&&null!=this.sectionId){const t=this.host.closest("salla-multiple-bundle-product-details");if(!await(t?.canSelectBundleProduct(this.sectionId,s)))return void salla.notify.error(salla.lang.getWithDefault("pages.products.bundle_selection_limit_reached","لا يمكنك اختيار المزيد من المنتجات في هذا القسم"))}this.isLoading=!0;try{const t=document.querySelector(`salla-product-options[product-id="${s}"]`);let e=await(t?.getSelectedOptions());if((!e||0===e.length)&&this.selectedOptions[i]?.length>0&&(e=this.selectedOptions[i]),!e||0===e.length)return void(this.isLoading=!1);this.selectedOptions={...this.selectedOptions,[i]:e};const n=this.host.closest("form");if(!n)return void(this.isLoading=!1);const o=`bundle[${this.sectionId}][${this.productIndex}]`;Array.from(n.querySelectorAll(`input[name^="${o}"][type="hidden"]`)).forEach((t=>t.remove())),Array.from(n.querySelectorAll(`[data-product-id="${s}"][name^="${o}"]`)).forEach((t=>t.remove()));const l=`bundle[${this.sectionId}][${this.productIndex}][id]`,d=document.getElementById(l);if(d)d.checked=!0;else{const t=document.createElement("input");t.type="hidden",t.name=`bundle[${this.sectionId}][${this.productIndex}][id]`,t.value=String(s),t.dataset.productId=String(s),n.appendChild(t)}e.forEach((t=>{const i=t.option_id,e=document.createElement("input");e.type="hidden",e.name=this.generateFormInputName(this.sectionId,this.productIndex??0,i),e.value=String(t.id),e.dataset.productId=String(s),n.appendChild(e)}));const a=new window.Event("change",{bubbles:!0});n.dispatchEvent(a),this.optionsSaved.emit({productId:Number(s),selectedOptions:e,sectionId:this.sectionId,productIndex:this.productIndex}),this.sectionId&&this.productSelected.emit({productId:Number(s),sectionId:this.sectionId,product:this.product,fromModal:!0}),salla.notify.success(salla.lang.get("pages.products.options_saved")),this.hasUnsavedChanges=!1,this.validationErrors=[],this.modal.close()}catch(t){salla.notify.error(salla.lang.get("pages.products.options_save_error"))}finally{this.isLoading=!1}}else salla.notify.error(this.validationErrors.join(", "))}getOptionsWithSelectedState(){if(!this.product?.options)return[];const t=this.generateCacheKey(this.sectionId,this.productIndex,this.product.id),s=this.selectedOptions[t]||[];return this.product.options.map((t=>({...t,details:t.details.map((t=>{const i=s.some((s=>s.id===t.id));return{...t,is_selected:i}}))})))}render(){const t=this.product?.id,s=this.getOptionsWithSelectedState(),n=this.generateCacheKey(this.sectionId,this.productIndex,t),o=this.optionsResetTokens[n]||0,l=this.isLoading||s.some((t=>t.details.some((t=>t.is_selected&&!0===t.is_out))));return i(e,{key:"610ae038d4f9db109e3f25830e82b39a2b07a010"},i("salla-modal",{key:"b06c130448cd1862d2e879a0285fd385395cc11b",isLoading:this.isLoading,ref:t=>this.modal=t,width:"md",centered:!1,id:`s-multiple-bundle-product-options-modal-options-${t}`,class:"s-multiple-bundle-product-options-modal-wrapper"},i("div",{key:"1f8b9ffa80a40f8240ede4b8996943f7eecf4098",slot:"loading"},i("salla-skeleton",{key:"26463b16022e1f66fd66f4e9cd8907521352bac1",height:"100%",width:"100%"})),this.product?.images&&this.product?.images.length>0&&i("salla-slider",{key:"bae60782cbe4ac7dc325fd666258198cd871a52e",id:`details-slider-${this.product?.id}`,type:"thumbs",loop:!1,"auto-height":!0,"listen-to-thumbnails-option":!0,showThumbsControls:!1,controlsOuter:!1,showControls:!1,class:"s-multiple-bundle-product-options-modal-slider",verticalThumbs:!0,thumbsConfig:{centeredSlides:!0,centeredSlidesBounds:!0,slidesPerView:Math.min(5,Math.max(1,this.product?.images.length)),watchOverflow:!0,watchSlidesProgress:!0,direction:"vertical",spaceBetween:10}},i("div",{key:"998afc3297e89df7e0a6b2514a6d5f4f75152492",slot:"items"},this.product?.images&&this.product?.images.map(((t,s)=>i("div",{key:s,class:"swiper-slide"},i("img",{src:t.url,alt:t.alt||`${this.product?.name} - Image ${s+1}`,loading:"lazy",onError:t=>{t.target.style.display="none"}}))))),this.product?.images&&this.product?.images.length>1&&i("div",{key:"935a3d01a417926e904507d0a64da43c84924068",slot:"thumbs"},this.product?.images&&this.product?.images.map(((t,s)=>i("div",{key:s,"data-caption":`${this.product?.name} - Image ${s+1}`},i("img",{src:t.url,loading:"eager",class:"s-multiple-bundle-product-options-modal-slider-thumb",title:`${this.product?.name} - ${s+1}`,alt:t.alt||`${this.product?.name} - ${s+1}`,onError:t=>{t.target.style.display="none"}})))))),i("salla-product-options",{options:JSON.stringify(s),key:`${n}-reset-${o}`,"product-id":t,"unique-key":`${n}-reset-${o}`}),i("div",{key:"eeb710a27917f6134a2595ebb8e4ec485bb26254",slot:"footer"},i("div",{key:"2ae3d47c461b68d61fcaa1d8f279ae6402aedf2e",class:"s-multiple-bundle-product-options-modal-footer"},i("salla-button",{key:"436f64a89183f0e6d56b6800ad031449c49cc751",onClick:t=>this.onSave(t),loading:this.isLoading,disabled:l},this.isLoading?salla.lang.get("common.elements.saving"):salla.lang.get("common.elements.save"))))))}get host(){return n(this)}static get watchers(){return{product:["handleProductChange"]}}};d.style=":host{display:block}";const a=class{constructor(i){t(this,i),this.productSelected=s(this,"productSelected"),this.productOptionsSelected=s(this,"productOptionsSelected"),this.selectedProducts={},this.isSelectionLocked=!1,this.selectionLimit=0,this.savedOptionsByInstance={},this.handleProductClick=(t,s)=>{const i=this.selectedProducts[this.section.id]?.has(t.id)||!1,e=this.getCheckbox(this.section.id,s);if(i&&this.isSelectionLocked)return void(e&&(e.checked=!0));if(!i&&this.isMaxSelectionReached()&&1!==this.selectionLimit)return;if(1===this.selectionLimit&&!i)return void this.productSelected.emit({product:t,sectionId:this.section.id});if(!e)return;const n=!e.checked;n||(this.dispatchClearOptionsEvent(t,s),this.clearSavedOptionsState(this.section.id,s)),e.checked=n,requestAnimationFrame((()=>{const t=new window.Event("change",{bubbles:!0});e.dispatchEvent(t)})),this.productSelected.emit({product:t,sectionId:this.section.id})},this.handleOptionsClick=t=>{!this.selectedProducts[this.section.id]?.has(t.id)&&this.isMaxSelectionReached()&&1!==this.selectionLimit||this.productOptionsSelected.emit({product:t,sectionId:this.section.id})}}getSelectedCount(){return this.selectedProducts[this.section?.id]?.size??0}isMaxSelectionReached(){return this.selectionLimit>1&&this.getSelectedCount()>=this.selectionLimit}isProductSelectionDisabled(t,s){return 0===t.quantity||!s&&this.isMaxSelectionReached()}getProductInstanceKey(t,s){return`${t}::${s}`}dispatchClearOptionsEvent(t,s){salla.event.dispatch("multiple-bundle-product-modal::clear-options",{productId:t.id,sectionId:this.section.id,sectionIndex:this.sectionIndex,productIndex:s})}handleOptionsSaved(t){const s=t.detail;if(!s)return;const{sectionId:i,productIndex:e,selectedOptions:n}=s;if(null==i||i!==this.section?.id)return;if(null==e||Number.isNaN(e))return;const o=this.getProductInstanceKey(i,e);if(n?.length)this.savedOptionsByInstance={...this.savedOptionsByInstance,[o]:!0};else if(this.savedOptionsByInstance[o]){const t={...this.savedOptionsByInstance};delete t[o],this.savedOptionsByInstance=t}}clearSavedOptionsState(t,s){const i=this.getProductInstanceKey(t,s);if(!this.savedOptionsByInstance[i])return;const e={...this.savedOptionsByInstance};delete e[i],this.savedOptionsByInstance=e}generateEventName(t,s){return`bundle[${t}][${s}][id]`}getCheckbox(t,s){const i=this.generateEventName(t,s);return this.host.querySelector(`input.s-multiple-bundle-product-checkbox[name="${i}"]`)}preventLockedDeselect(t,s){if(!this.isSelectionLocked||!s)return;t.preventDefault(),t.stopPropagation();const i=t.target;"checkbox"===i?.type&&(i.checked=!0)}render(){return i(e,{key:"e473b6089ee0e7026dfec042462ed827dabd0083"},i("salla-slider",{key:"492187e1a1c105c21c48543aa227888d122cfa20",type:"carousel",controlsOuter:!1,showControls:!1,id:`accordion-multiple-bundle-product-${this.section.id}`,pagination:!0,class:"s-multiple-bundle-product-wrapper-slider",sliderConfig:{spaceBetween:0}},i("div",{key:"e40e816439f3b3e1bee12ebdcea60438a45fec12",slot:"items"},this?.section?.products?.map(((t,s)=>{const e=this.selectedProducts[this.section.id]?.has(t.id)||!1,n=e&&this.isSelectionLocked,d=this.isProductSelectionDisabled(t,e),a=this.savedOptionsByInstance[this.getProductInstanceKey(this.section.id,s)]?salla.lang.getWithDefault("pages.products.edit_selected_options","تعديل الخيارات"):salla.lang.get("pages.products.choose_from_options");let c=salla.config.get("theme.is_rtl",!0)?o:l;return i("div",{class:"s-multiple-bundle-product-slide-one-third"+(d?" s-multiple-bundle-product-slide-one-third-disabled":""),key:t.id},i("div",{class:"s-multiple-bundle-product-card"},i("div",{class:"s-multiple-bundle-product-image-wrapper",onClick:()=>this.handleProductClick(t,s)},i("input",{id:this.generateEventName(this.section.id,s),type:"checkbox",class:"s-multiple-bundle-product-checkbox",checked:e,"data-selection-locked":n?"true":void 0,name:this.generateEventName(this.section.id,s),value:t.id,onClick:t=>this.preventLockedDeselect(t,e),onChange:t=>this.preventLockedDeselect(t,e)}),i("img",{src:t.image.url||salla.url.cdn("images/s-empty.png"),loading:"lazy",alt:t.image.alt||t.name,class:"s-multiple-bundle-product-image"})),i("div",{class:"s-multiple-bundle-product-content-wrapper"},i("div",{class:"s-multiple-bundle-product-content"},i("div",{class:"s-multiple-bundle-product-details"},i("div",{class:"s-multiple-bundle-product-title-wrapper"},i("h2",{class:"s-multiple-bundle-product-title"},i("a",{href:t?.url||"#",target:"_blank",rel:"noopener noreferrer"},t.name))),i("div",{class:"s-multiple-bundle-product-price-wrapper"},i("span",{class:"s-multiple-bundle-product-price"},i("span",{innerHTML:salla.money(t.price)})),t.sale_price>0&&i("span",{class:"s-multiple-bundle-product-price-discount"},i("span",{innerHTML:salla.money(t.regular_price)})))),t.quantity_in_group>0&&0!==t.quantity&&i("span",{class:"s-multiple-bundle-product-badge"},salla.lang.get("pages.products.pieces"),i("span",null,t.quantity_in_group)),0===t.quantity&&i("span",{class:"s-multiple-bundle-product-badge"},salla.lang.get("pages.products.quantity_in_group_finished"))),t.options?.length>0&&i("button",{class:"s-multiple-bundle-product-button",onClick:()=>this.handleOptionsClick(t),type:"button"},a,i("span",{class:"s-multiple-bundle-product-button-icon",innerHTML:c})))))})))))}get host(){return n(this)}};a.style="";export{d as salla_multiple_bundle_product_options_modal,a as salla_multiple_bundle_product_slider}
4
+ import{r as t,c as s,h as i,H as e,a as n}from"./p-Bf2Z6A1M.js";import{A as o,a as l}from"./p-Vqpj4CWE.js";const d=class{constructor(i){t(this,i),this.optionsSaved=s(this,"optionsSaved"),this.productSelected=s(this,"productSelected"),this.product=null,this.sectionId=null,this.sectionIndex=0,this.productIndex=0,this.selectedOptions={},this.optionsResetTokens={},this.isLoading=!1,this.hasUnsavedChanges=!1,this.validationErrors=[],this.isProductAlreadySelected=!1}generateCacheKey(t,s,i){return`${t||"unknown"}-${s||0}-${i||"unknown"}`}handleProductChange(t){setTimeout((()=>{this.modal&&t&&this.modal.setTitle(t.name||"")}),100),this.validationErrors=[],this.hasUnsavedChanges=!1}async open(){this.modal?(this.isLoading=!0,this.product?.name&&this.modal.setTitle(this.product.name),this.modal.open(),setTimeout((async()=>{this.product?.id&&await this.initializeSelectedOptions(),this.product?.name&&this.modal.setTitle(this.product.name),this.modal.stopLoading(),this.isLoading=!1}),300)):requestAnimationFrame((()=>this.open()))}async close(){this.modal&&this.modal.close()}async refreshOptionsState(){this.selectedOptions={...this.selectedOptions}}componentDidLoad(){this.modalOpenListener=t=>{this.product=t.product,this.sectionId=t.sectionId||null,this.sectionIndex=t.sectionIndex||0,this.productIndex=t.productIndex||0,this.isProductAlreadySelected=!!t.isProductAlreadySelected,this.open()},salla.event.on("multiple-bundle-product-modal::open",this.modalOpenListener),this.clearOptionsListener=t=>{t&&t.productId&&this.clearProductOptions(t.productId,t.sectionId,t.productIndex)},salla.event.on("multiple-bundle-product-modal::clear-options",this.clearOptionsListener),this.optionChangeListener=t=>{const s=t.detail||t,{option:i,detail:e}=s,n=i||s.option_id&&this.product?.options?.find((t=>t.id===s.option_id||String(t.id)===String(s.option_id))),o=e||(s.id?s:null);this.product?.id&&n&&this.handleOptionChange(Number(this.product.id),n,o)},salla.event.on("product-options::change",this.optionChangeListener),this.checkboxChangeListener=t=>{const s=t.target;if(s&&"checkbox"===s.type&&s.name&&s.name.includes("bundle[")&&s.name.includes("][id]")){const t=s.name.match(/^bundle\[([^\]]+)\]\[([^\]]+)\]\[id\]$/);if(t&&!s.checked){if("true"===s.getAttribute("data-selection-locked"))return void(s.checked=!0);const[,i,e]=t,n=s.value,o=this.host.closest("form");this.cleanupProductDeselection({sectionId:i,productIndex:parseInt(e,10),productId:n,form:o,uncheckedInput:s})}}},document.addEventListener("change",this.checkboxChangeListener)}disconnectedCallback(){this.checkboxChangeListener&&document.removeEventListener("change",this.checkboxChangeListener),this.optionChangeListener&&salla.event.off("product-options::change",this.optionChangeListener),this.modalOpenListener&&salla.event.off("multiple-bundle-product-modal::open",this.modalOpenListener),this.clearOptionsListener&&salla.event.off("multiple-bundle-product-modal::clear-options",this.clearOptionsListener)}cleanupProductDeselection(t){const{sectionId:s,productIndex:i,productId:e,form:n,uncheckedInput:o}=t;if(this.clearProductOptions(e,s,i),n){const t=`bundle[${s}][${i}]`;Array.from(n.querySelectorAll(`input[name^="${t}"]`)).forEach((s=>{if(s===o)return;const i="hidden"===s.type,n=s.getAttribute("data-product-id")===String(e)&&s.name?.startsWith(t);(i||n)&&s.remove()})),requestAnimationFrame((()=>{const t=new window.Event("change",{bubbles:!0});n.dispatchEvent(t)}))}}generateFormInputName(t,s,i){return`bundle[${t}][${s}][options][${i}]`}async initializeSelectedOptions(){if(!this.product?.id)return;const t=this.product.id,s=this.generateCacheKey(this.sectionId,this.productIndex,t),i=document.querySelector(`salla-product-options[product-id="${t}"]`);if(i)try{const t=await i.getSelectedOptions();t&&t.length>0&&(this.selectedOptions={...this.selectedOptions,[s]:t})}catch(t){console.warn("Could not initialize selected options:",t)}}clearProductOptions(t,s,i){const e={...this.selectedOptions};if(null==s||null==i||Number.isNaN(i)){const s=`-${String(t)}`,i=[];Object.keys(e).forEach((t=>{t.endsWith(s)&&(delete e[t],i.push(t))})),i.forEach((t=>this.bumpOptionsResetToken(t)))}else{const n=this.generateCacheKey(s,i,t);delete e[n],this.bumpOptionsResetToken(n)}this.selectedOptions=e,this.validationErrors=[],this.hasUnsavedChanges=!1}bumpOptionsResetToken(t){t&&(this.optionsResetTokens={...this.optionsResetTokens,[t]:(this.optionsResetTokens[t]||0)+1})}async handleOptionChange(t,s,i){const e=this.generateCacheKey(this.sectionId,this.productIndex,t),n=document.querySelector(`salla-product-options[product-id="${t}"]`);let o=[];if(n)try{o=await n.getSelectedOptions()||[]}catch(t){console.warn("Could not get current selections from component:",t)}if(o.length>0)this.selectedOptions={...this.selectedOptions,[e]:o};else if(this.selectedOptions[e]&&this.selectedOptions[e].length>0){const t=[...this.selectedOptions[e]||[]],n=t.findIndex((t=>t.option_id===s.id));n>-1?i&&null!=i.id?t[n]={...i,option_id:s.id}:t.splice(n,1):i&&null!=i.id&&t.push({...i,option_id:s.id}),this.selectedOptions={...this.selectedOptions,[e]:t}}else i&&null!=i.id&&(this.selectedOptions={...this.selectedOptions,[e]:[{...i,option_id:s.id}]});this.hasUnsavedChanges=!0,this.validationErrors=[]}async validateOptions(){if(!this.product?.options)return!0;const t=[],s=this.product.id,i=this.generateCacheKey(this.sectionId,this.productIndex,s),e=document.querySelector(`salla-product-options[product-id="${s}"]`);let n=[];if(e)try{n=await e.getSelectedOptions()||[];const t=this.selectedOptions[i]||[];(t.length>n.length||0===n.length&&t.length>0)&&(n=t)}catch(t){n=this.selectedOptions[i]||[]}else n=this.selectedOptions[i]||[];return 0===n.length&&t.push(salla.lang.get("pages.products.no_options_selected")),this.product.options.forEach((s=>{s.required&&(n.some((t=>t.option_id==s.id))||t.push(salla.lang.get("pages.products.required_option_missing",{option:s.name})))})),this.validationErrors=t,0===t.length}async onSave(t){t.preventDefault();const s=this.product?.id;if(!s)return;const i=this.generateCacheKey(this.sectionId,this.productIndex,s);if(await new Promise((t=>setTimeout(t,100))),await this.validateOptions()){if(!this.isProductAlreadySelected&&null!=this.sectionId){const t=this.host.closest("salla-multiple-bundle-product-details");if(!await(t?.canSelectBundleProduct(this.sectionId,s)))return void salla.notify.error(salla.lang.getWithDefault("pages.products.bundle_selection_limit_reached","لا يمكنك اختيار المزيد من المنتجات في هذا القسم"))}this.isLoading=!0;try{const t=document.querySelector(`salla-product-options[product-id="${s}"]`);let e=await(t?.getSelectedOptions());if((!e||0===e.length)&&this.selectedOptions[i]?.length>0&&(e=this.selectedOptions[i]),!e||0===e.length)return void(this.isLoading=!1);this.selectedOptions={...this.selectedOptions,[i]:e};const n=this.host.closest("form");if(!n)return void(this.isLoading=!1);const o=`bundle[${this.sectionId}][${this.productIndex}]`;Array.from(n.querySelectorAll(`input[name^="${o}"][type="hidden"]`)).forEach((t=>t.remove())),Array.from(n.querySelectorAll(`[data-product-id="${s}"][name^="${o}"]`)).forEach((t=>t.remove()));const l=`bundle[${this.sectionId}][${this.productIndex}][id]`,d=document.getElementById(l);if(d)d.checked=!0;else{const t=document.createElement("input");t.type="hidden",t.name=`bundle[${this.sectionId}][${this.productIndex}][id]`,t.value=String(s),t.dataset.productId=String(s),n.appendChild(t)}e.forEach((t=>{const i=t.option_id,e=document.createElement("input");e.type="hidden",e.name=this.generateFormInputName(this.sectionId,this.productIndex??0,i),e.value=String(t.id),e.dataset.productId=String(s),n.appendChild(e)}));const a=new window.Event("change",{bubbles:!0});n.dispatchEvent(a),this.optionsSaved.emit({productId:Number(s),selectedOptions:e,sectionId:this.sectionId,productIndex:this.productIndex}),this.sectionId&&this.productSelected.emit({productId:Number(s),sectionId:this.sectionId,product:this.product,fromModal:!0}),salla.notify.success(salla.lang.get("pages.products.options_saved")),this.hasUnsavedChanges=!1,this.validationErrors=[],this.modal.close()}catch(t){salla.notify.error(salla.lang.get("pages.products.options_save_error"))}finally{this.isLoading=!1}}else salla.notify.error(this.validationErrors.join(", "))}getOptionsWithSelectedState(){if(!this.product?.options)return[];const t=this.generateCacheKey(this.sectionId,this.productIndex,this.product.id),s=this.selectedOptions[t]||[];return this.product.options.map((t=>({...t,details:t.details.map((t=>{const i=s.some((s=>s.id===t.id));return{...t,is_selected:i}}))})))}render(){const t=this.product?.id,s=this.getOptionsWithSelectedState(),n=this.generateCacheKey(this.sectionId,this.productIndex,t),o=this.optionsResetTokens[n]||0,l=this.isLoading||s.some((t=>t.details.some((t=>t.is_selected&&!0===t.is_out))));return i(e,{key:"610ae038d4f9db109e3f25830e82b39a2b07a010"},i("salla-modal",{key:"b06c130448cd1862d2e879a0285fd385395cc11b",isLoading:this.isLoading,ref:t=>this.modal=t,width:"md",centered:!1,id:`s-multiple-bundle-product-options-modal-options-${t}`,class:"s-multiple-bundle-product-options-modal-wrapper"},i("div",{key:"1f8b9ffa80a40f8240ede4b8996943f7eecf4098",slot:"loading"},i("salla-skeleton",{key:"26463b16022e1f66fd66f4e9cd8907521352bac1",height:"100%",width:"100%"})),this.product?.images&&this.product?.images.length>0&&i("salla-slider",{key:"bae60782cbe4ac7dc325fd666258198cd871a52e",id:`details-slider-${this.product?.id}`,type:"thumbs",loop:!1,"auto-height":!0,"listen-to-thumbnails-option":!0,showThumbsControls:!1,controlsOuter:!1,showControls:!1,class:"s-multiple-bundle-product-options-modal-slider",verticalThumbs:!0,thumbsConfig:{centeredSlides:!0,centeredSlidesBounds:!0,slidesPerView:Math.min(5,Math.max(1,this.product?.images.length)),watchOverflow:!0,watchSlidesProgress:!0,direction:"vertical",spaceBetween:10}},i("div",{key:"998afc3297e89df7e0a6b2514a6d5f4f75152492",slot:"items"},this.product?.images&&this.product?.images.map(((t,s)=>i("div",{key:s,class:"swiper-slide"},i("img",{src:t.url,alt:t.alt||`${this.product?.name} - Image ${s+1}`,loading:"lazy",onError:t=>{t.target.style.display="none"}}))))),this.product?.images&&this.product?.images.length>1&&i("div",{key:"935a3d01a417926e904507d0a64da43c84924068",slot:"thumbs"},this.product?.images&&this.product?.images.map(((t,s)=>i("div",{key:s,"data-caption":`${this.product?.name} - Image ${s+1}`},i("img",{src:t.url,loading:"eager",class:"s-multiple-bundle-product-options-modal-slider-thumb",title:`${this.product?.name} - ${s+1}`,alt:t.alt||`${this.product?.name} - ${s+1}`,onError:t=>{t.target.style.display="none"}})))))),i("salla-product-options",{options:JSON.stringify(s),key:`${n}-reset-${o}`,"product-id":t,"unique-key":`${n}-reset-${o}`}),i("div",{key:"eeb710a27917f6134a2595ebb8e4ec485bb26254",slot:"footer"},i("div",{key:"2ae3d47c461b68d61fcaa1d8f279ae6402aedf2e",class:"s-multiple-bundle-product-options-modal-footer"},i("salla-button",{key:"436f64a89183f0e6d56b6800ad031449c49cc751",onClick:t=>this.onSave(t),loading:this.isLoading,disabled:l},this.isLoading?salla.lang.get("common.elements.saving"):salla.lang.get("common.elements.save"))))))}get host(){return n(this)}static get watchers(){return{product:["handleProductChange"]}}};d.style=":host{display:block}";const a=class{constructor(i){t(this,i),this.productSelected=s(this,"productSelected"),this.productOptionsSelected=s(this,"productOptionsSelected"),this.selectedProducts={},this.isSelectionLocked=!1,this.selectionLimit=0,this.savedOptionsByInstance={},this.handleProductClick=(t,s)=>{const i=this.selectedProducts[this.section.id]?.has(t.id)||!1,e=this.getCheckbox(this.section.id,s);if(i&&this.isSelectionLocked)return void(e&&(e.checked=!0));if(!i&&this.isMaxSelectionReached()&&1!==this.selectionLimit)return;if(1===this.selectionLimit&&!i)return void this.productSelected.emit({product:t,sectionId:this.section.id});if(!e)return;const n=!e.checked;n||(this.dispatchClearOptionsEvent(t,s),this.clearSavedOptionsState(this.section.id,s)),e.checked=n,requestAnimationFrame((()=>{const t=new window.Event("change",{bubbles:!0});e.dispatchEvent(t)})),this.productSelected.emit({product:t,sectionId:this.section.id})},this.handleOptionsClick=t=>{!this.selectedProducts[this.section.id]?.has(t.id)&&this.isMaxSelectionReached()&&1!==this.selectionLimit||this.productOptionsSelected.emit({product:t,sectionId:this.section.id})}}getSelectedCount(){return this.selectedProducts[this.section?.id]?.size??0}isMaxSelectionReached(){return this.selectionLimit>1&&this.getSelectedCount()>=this.selectionLimit}isProductSelectionDisabled(t,s){return 0===t.quantity||!s&&this.isMaxSelectionReached()}getProductInstanceKey(t,s){return`${t}::${s}`}dispatchClearOptionsEvent(t,s){salla.event.dispatch("multiple-bundle-product-modal::clear-options",{productId:t.id,sectionId:this.section.id,sectionIndex:this.sectionIndex,productIndex:s})}handleOptionsSaved(t){const s=t.detail;if(!s)return;const{sectionId:i,productIndex:e,selectedOptions:n}=s;if(null==i||i!==this.section?.id)return;if(null==e||Number.isNaN(e))return;const o=this.getProductInstanceKey(i,e);if(n?.length)this.savedOptionsByInstance={...this.savedOptionsByInstance,[o]:!0};else if(this.savedOptionsByInstance[o]){const t={...this.savedOptionsByInstance};delete t[o],this.savedOptionsByInstance=t}}clearSavedOptionsState(t,s){const i=this.getProductInstanceKey(t,s);if(!this.savedOptionsByInstance[i])return;const e={...this.savedOptionsByInstance};delete e[i],this.savedOptionsByInstance=e}generateEventName(t,s){return`bundle[${t}][${s}][id]`}getCheckbox(t,s){const i=this.generateEventName(t,s);return this.host.querySelector(`input.s-multiple-bundle-product-checkbox[name="${i}"]`)}preventLockedDeselect(t,s){if(!this.isSelectionLocked||!s)return;t.preventDefault(),t.stopPropagation();const i=t.target;"checkbox"===i?.type&&(i.checked=!0)}render(){return i(e,{key:"e473b6089ee0e7026dfec042462ed827dabd0083"},i("salla-slider",{key:"492187e1a1c105c21c48543aa227888d122cfa20",type:"carousel",controlsOuter:!1,showControls:!1,id:`accordion-multiple-bundle-product-${this.section.id}`,pagination:!0,class:"s-multiple-bundle-product-wrapper-slider",sliderConfig:{spaceBetween:0}},i("div",{key:"e40e816439f3b3e1bee12ebdcea60438a45fec12",slot:"items"},this?.section?.products?.map(((t,s)=>{const e=this.selectedProducts[this.section.id]?.has(t.id)||!1,n=e&&this.isSelectionLocked,d=this.isProductSelectionDisabled(t,e),a=this.savedOptionsByInstance[this.getProductInstanceKey(this.section.id,s)]?salla.lang.getWithDefault("pages.products.edit_selected_options","تعديل الخيارات"):salla.lang.get("pages.products.choose_from_options");let c=salla.config.get("theme.is_rtl",!0)?o:l;return i("div",{class:"s-multiple-bundle-product-slide-one-third"+(d?" s-multiple-bundle-product-slide-one-third-disabled":""),key:t.id},i("div",{class:"s-multiple-bundle-product-card"},i("div",{class:"s-multiple-bundle-product-image-wrapper",onClick:()=>this.handleProductClick(t,s)},i("input",{id:this.generateEventName(this.section.id,s),type:"checkbox",class:"s-multiple-bundle-product-checkbox",checked:e,"data-selection-locked":n?"true":void 0,name:this.generateEventName(this.section.id,s),value:t.id,onClick:t=>this.preventLockedDeselect(t,e),onChange:t=>this.preventLockedDeselect(t,e)}),i("img",{src:t.image.url||salla.url.cdn("images/s-empty.png"),loading:"lazy",alt:t.image.alt||t.name,class:"s-multiple-bundle-product-image"})),i("div",{class:"s-multiple-bundle-product-content-wrapper"},i("div",{class:"s-multiple-bundle-product-content"},i("div",{class:"s-multiple-bundle-product-details"},i("div",{class:"s-multiple-bundle-product-title-wrapper"},i("h2",{class:"s-multiple-bundle-product-title"},i("a",{href:t?.url||"#",target:"_blank",rel:"noopener noreferrer"},t.name))),i("div",{class:"s-multiple-bundle-product-price-wrapper"},i("span",{class:"s-multiple-bundle-product-price"},i("span",{innerHTML:salla.money(t.price)})),t.sale_price>0&&i("span",{class:"s-multiple-bundle-product-price-discount"},i("span",{innerHTML:salla.money(t.regular_price)})))),t.quantity_in_group>0&&0!==t.quantity&&i("span",{class:"s-multiple-bundle-product-badge"},salla.lang.get("pages.products.pieces"),i("span",null,t.quantity_in_group)),0===t.quantity&&i("span",{class:"s-multiple-bundle-product-badge"},salla.lang.get("pages.products.quantity_in_group_finished"))),t.options?.length>0&&i("button",{class:"s-multiple-bundle-product-button",onClick:()=>this.handleOptionsClick(t),type:"button"},a,i("span",{class:"s-multiple-bundle-product-button-icon",innerHTML:c})))))})))))}get host(){return n(this)}};a.style="";export{d as salla_multiple_bundle_product_options_modal,a as salla_multiple_bundle_product_slider}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{r as t,c as s,h as i,H as e}from"./p-C0qiFNJn.js";import{a}from"./p-C8xwacGT.js";import"./p-CoQJOPRz.js";const r=class{constructor(i){t(this,i),this.orderItemUpdated=s(this,"orderItemUpdated"),this.orderItemRemoved=s(this,"orderItemRemoved"),this.quantityInput=null,this.productOptions=null,this.handleQuantityChange=t=>{const s=t.detail,i=s?.quantity??parseInt(t.target.value,10);isNaN(i)||i<1||i!==this.quantity&&(this.quantity=i,this.emitUpdate(i))},this.handleOptionsChange=()=>{this.emitUpdate(this.quantity)}}componentWillLoad(){this.quantity=this.item?.quantity||1}handleItemChange(t){const s=t?.quantity||1;s!==this.quantity&&(this.quantity=s,this.quantityInput?.setValue?.(s,!1))}get hasOptions(){return(this.item.product?.options?.length||0)>0}async getSelectedOptions(){return await(this.productOptions?.getSelectedOptionsData?.())||{}}async getOptionsData(){return await(this.productOptions?.getOptionsData?.())||this.item.product?.options||[]}async emitUpdate(t){const s=this.item?.id;if(null==s)return;const i={itemId:s,quantity:t};this.hasOptions&&(i.options=await this.getSelectedOptions(),i.optionDefinitions=await this.getOptionsData()),this.orderItemUpdated.emit(i)}removeItem(){const t=this.item?.id;null!=t&&this.orderItemRemoved.emit({itemId:t})}render(){if(!this.item)return null;const t=this.item.product,s=this.item.name||t?.name||"",r=t?.image?.url||"",n=t?.image?.alt||s,l=t?.url||"#",o=t?.price,h=a(t),d=t?.weight_label,c=this.item.product?.options,m=`order-edit-item-${this.item.id}-${t?.id}`,u={value:this.quantity};return h&&(u.max=h),i(e,null,i("div",null,i("div",{class:"s-order-edit-item-header"},i("div",{class:"s-order-edit-item-media"},r&&i("a",{href:l},i("img",{src:r,alt:n,class:"s-order-edit-item-image"})),i("div",{class:"s-order-edit-item-details"},i("h2",{class:"s-order-edit-item-name"},i("a",{href:l,class:"s-order-edit-item-link"},s)),null!=o&&i("span",{class:"s-order-edit-item-price",innerHTML:salla.money(o)}),d&&i("p",{class:"s-order-edit-item-weight"},salla.lang.getWithDefault("pages.products.weight","الوزن")," ",d))),i("salla-button",{type:"button",shape:"icon",size:"small",color:"danger","aria-label":salla.lang.getWithDefault("common.elements.delete","حذف"),onClick:()=>this.removeItem()},i("i",{class:"sicon-cancel"}))),i("div",{class:"s-order-edit-item-quantity"},i("h3",{class:"s-order-edit-item-quantity-label"},salla.lang.getWithDefault("common.elements.quantity","الكمية")),i("div",{class:"s-order-edit-item-quantity-input"},i("salla-quantity-input",{ref:t=>this.quantityInput=t,...u,onChange:this.handleQuantityChange}))),this.hasOptions&&i("form",{class:"s-order-edit-item-options",onSubmit:t=>t.preventDefault()},i("salla-product-options",{ref:t=>this.productOptions=t,onChange:this.handleOptionsChange,"product-id":t.id,"unique-key":m,options:JSON.stringify(c),key:`${m}-options`}))))}static get watchers(){return{item:["handleItemChange"]}}};r.style=":host{display:block}";export{r as salla_order_edit_item}
4
+ import{r as t,c as s,h as i,H as e}from"./p-Bf2Z6A1M.js";import{a}from"./p-C8xwacGT.js";import"./p-CoQJOPRz.js";const r=class{constructor(i){t(this,i),this.orderItemUpdated=s(this,"orderItemUpdated"),this.orderItemRemoved=s(this,"orderItemRemoved"),this.quantityInput=null,this.productOptions=null,this.handleQuantityChange=t=>{const s=t.detail,i=s?.quantity??parseInt(t.target.value,10);isNaN(i)||i<1||i!==this.quantity&&(this.quantity=i,this.emitUpdate(i))},this.handleOptionsChange=()=>{this.emitUpdate(this.quantity)}}componentWillLoad(){this.quantity=this.item?.quantity||1}handleItemChange(t){const s=t?.quantity||1;s!==this.quantity&&(this.quantity=s,this.quantityInput?.setValue?.(s,!1))}get hasOptions(){return(this.item.product?.options?.length||0)>0}async getSelectedOptions(){return await(this.productOptions?.getSelectedOptionsData?.())||{}}async getOptionsData(){return await(this.productOptions?.getOptionsData?.())||this.item.product?.options||[]}async emitUpdate(t){const s=this.item?.id;if(null==s)return;const i={itemId:s,quantity:t};this.hasOptions&&(i.options=await this.getSelectedOptions(),i.optionDefinitions=await this.getOptionsData()),this.orderItemUpdated.emit(i)}removeItem(){const t=this.item?.id;null!=t&&this.orderItemRemoved.emit({itemId:t})}render(){if(!this.item)return null;const t=this.item.product,s=this.item.name||t?.name||"",r=t?.image?.url||"",n=t?.image?.alt||s,l=t?.url||"#",o=t?.price,h=a(t),d=t?.weight_label,c=this.item.product?.options,m=`order-edit-item-${this.item.id}-${t?.id}`,u={value:this.quantity};return h&&(u.max=h),i(e,null,i("div",null,i("div",{class:"s-order-edit-item-header"},i("div",{class:"s-order-edit-item-media"},r&&i("a",{href:l},i("img",{src:r,alt:n,class:"s-order-edit-item-image"})),i("div",{class:"s-order-edit-item-details"},i("h2",{class:"s-order-edit-item-name"},i("a",{href:l,class:"s-order-edit-item-link"},s)),null!=o&&i("span",{class:"s-order-edit-item-price",innerHTML:salla.money(o)}),d&&i("p",{class:"s-order-edit-item-weight"},salla.lang.getWithDefault("pages.products.weight","الوزن")," ",d))),i("salla-button",{type:"button",shape:"icon",size:"small",color:"danger","aria-label":salla.lang.getWithDefault("common.elements.delete","حذف"),onClick:()=>this.removeItem()},i("i",{class:"sicon-cancel"}))),i("div",{class:"s-order-edit-item-quantity"},i("h3",{class:"s-order-edit-item-quantity-label"},salla.lang.getWithDefault("common.elements.quantity","الكمية")),i("div",{class:"s-order-edit-item-quantity-input"},i("salla-quantity-input",{ref:t=>this.quantityInput=t,...u,onChange:this.handleQuantityChange}))),this.hasOptions&&i("form",{class:"s-order-edit-item-options",onSubmit:t=>t.preventDefault()},i("salla-product-options",{ref:t=>this.productOptions=t,onChange:this.handleOptionsChange,"product-id":t.id,"unique-key":m,options:JSON.stringify(c),key:`${m}-options`}))))}static get watchers(){return{item:["handleItemChange"]}}};r.style=":host{display:block}";export{r as salla_order_edit_item}
@@ -0,0 +1,4 @@
1
+ /*!
2
+ * Crafted with ❤ by Salla
3
+ */
4
+ import{r as e,h as t,H as r}from"./p-Bf2Z6A1M.js";import{H as a,F as i}from"./p-D6rFREuQ.js";import"./p-CgtvEd63.js";const l=class{constructor(t){e(this,t),this.filters=[],this.filtersData={},this.clearAllLabel="",this.removeLabel="",this.translationDefaults={"pages.categories.clear_all_filters":{ar:"إزالة التصفية",en:"Clear All"},"common.elements.delete":{ar:"حذف",en:"Delete"}}}async componentWillLoad(){salla.event.on("filters::fetched",(({filters:e})=>{this.filters=a.resolveFilterLabels(e),this.syncFiltersDataFromFiltersElement()})),salla.event.on("filters::hidden",(()=>{this.filters=[]})),salla.event.on("salla-filters::changed",(e=>{this.filtersData={...e}})),salla.event.on("salla-filters::reset",(()=>{this.filtersData={}})),salla.lang.onLoaded((()=>{this.registerTranslationDefaults(),this.loadTranslations()})),this.getInitialFiltersData()}getInitialFiltersData(){const e=new URLSearchParams(window.location.search);this.filtersData=a.extractFiltersFromUrl(e)}syncFiltersDataFromFiltersElement(){setTimeout((async()=>{const e=await(this.getFiltersElement()?.getFilters());e&&(this.filtersData={...e})}))}registerTranslationDefaults(){const e=Object.entries(this.translationDefaults).reduce(((e,[t,r])=>(salla.lang.get(t)===t&&(e[t]=r),e)),{});Object.keys(e).length&&salla.lang.addBulk(e)}loadTranslations(){this.clearAllLabel=salla.lang.get("pages.categories.clear_all_filters"),this.removeLabel=salla.lang.get("common.elements.delete")}getAppliedFilters(){const e=[],t=this.filtersData||{};for(const r of Object.keys(t)){if("variants"===r){const a=this.filters?.find((e=>e.type===i.VARIANTS));for(const l of Object.keys(t.variants||{})){const s=t.variants[l],o=a?.values?.find((e=>(e.key||e.value)==s));o&&e.push({key:r,variantKey:l,value:s,type:i.VARIANTS,groupLabel:a?.label,optionLabel:o.value})}continue}const a=this.filters?.find((e=>e.key===r));if(!a)continue;const l=t[r];if(a.type===i.RANGE||l&&"object"==typeof l&&!Array.isArray(l)){e.push({key:r,value:l,type:i.RANGE,groupLabel:a.label,optionLabel:`${l.min} - ${l.max}`});continue}if("category_id"===r&&!Array.isArray(l)&&"product.index"==salla.config.get("page.slug")&&l==salla.config.get("page.id"))continue;const s=Array.isArray(l)?l:[l];for(const t of s){const i=a.values?.find((e=>("number"==typeof e?e:e.key||e.value)==t)),l="rating"===a.key?`${t}`:i&&"number"!=typeof i?i.value:void 0;null!=l&&e.push({key:r,value:t,type:a.type,groupLabel:a.label,optionLabel:l})}}return e}getFiltersElement(){return document.querySelector("salla-filters")}removeFilter(e){this.getFiltersElement()?.removeFilter(e)}clearAll(){this.getFiltersElement()?.resetFilters()}render(){const e=this.getAppliedFilters();return e.length?t(r,{class:"s-applied-filters-wrapper"},t("div",{class:"s-applied-filters-tags"},e.map((e=>t("div",{class:"s-applied-filters-tag"},t("span",{class:"s-applied-filters-tag-name"},e.groupLabel,": ",e.optionLabel),t("button",{type:"button",class:"s-applied-filters-tag-remove","aria-label":`${this.removeLabel} ${e.groupLabel}: ${e.optionLabel}`,onClick:()=>this.removeFilter(e)},t("i",{class:"sicon-cancel","aria-hidden":"true"}))))),t("button",{type:"button",class:"s-applied-filters-clear-tag",onClick:()=>this.clearAll()},t("span",null,this.clearAllLabel)))):null}};l.style="/*!twlt*/:host{display:block}.s-applied-filters-tags{display:flex;flex-wrap:wrap;align-items:center;gap:0.5rem;margin-bottom:1rem}.s-applied-filters-tag{display:inline-flex;align-items:center;gap:0.4rem;border-radius:999px;border:1px solid #e8e8e8;background:rgba(255, 255, 255, 0.3);color:var(--main-text-color);font-size:0.85rem;line-height:1;padding:0.4rem 0.65rem}.s-applied-filters-tag-remove{display:inline-flex;align-items:center;justify-content:center;border:0;padding:0;background:transparent;color:inherit;font-size:0.75rem;cursor:pointer}.s-applied-filters-clear-tag{display:inline-flex;align-items:center;gap:0.4rem;border-radius:999px;border:1px solid var(--color-danger, #dc3545);background:transparent;color:var(--color-danger, #dc3545);font-size:0.85rem;line-height:1;padding:0.4rem 0.65rem;cursor:pointer}.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-applied-filters-wrapper{display:block}.s-applied-filters-tags{margin-bottom:1rem;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:0.5rem}.s-applied-filters-tag{display:inline-flex;align-items:center;gap:0.375rem;border-radius:9999px;border-width:1px;--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));background-color:rgb(255 255 255 / 0.3);padding-top:0.375rem;padding-bottom:0.375rem;padding-left:0.625rem;padding-right:0.625rem;font-size:0.875rem;line-height:1.25rem;color:var(--main-text-color)}.s-applied-filters-tag-name{color:inherit}.s-applied-filters-tag-remove{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;border-width:0px;background-color:transparent;padding:0px;font-size:0.75rem;line-height:1rem;color:inherit}.s-applied-filters-clear-tag{display:inline-flex;cursor:pointer;align-items:center;gap:0.375rem;border-radius:9999px;border-width:1px;--tw-border-opacity:1;border-color:rgb(248 113 113 / var(--tw-border-opacity, 1));background-color:transparent;padding-top:0.375rem;padding-bottom:0.375rem;padding-left:0.625rem;padding-right:0.625rem;font-size:0.875rem;line-height:1.25rem;--tw-text-opacity:1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}";export{l as salla_applied_filters}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{r as t,h as e,H as o,a}from"./p-C0qiFNJn.js";import{P as r}from"./p-DY4LZmNP.js";import{I as s}from"./p-C-tzSDxw.js";const i=class{constructor(e){t(this,e),this.variant="info"}renderIcon(){const t=this.icon||this.variant;if("none"===t)return null;switch(t){case"success":return e("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"currentColor"},e("path",{d:"M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.5z"}));case"warning":return e("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"currentColor"},e("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}));case"error":return e("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"currentColor"},e("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 \n 10 10 10-4.48 10-10S17.52 2 12 2zm5 \n 13.59L15.59 17 12 13.41 8.41 17 \n 7 15.59 10.59 12 7 8.41 8.41 7 \n 12 10.59 15.59 7 17 8.41 13.41 \n 12 17 15.59z"}));default:return e("span",{innerHTML:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M9.99935 18.3332C5.39697 18.3332 1.66602 14.6022 1.66602 9.99984C1.66602 5.39746 5.39697 1.6665 9.99935 1.6665C14.6017 1.6665 18.3327 5.39746 18.3327 9.99984C18.3327 14.6022 14.6017 18.3332 9.99935 18.3332ZM9.99935 16.6665C13.6813 16.6665 16.666 13.6818 16.666 9.99984C16.666 6.31794 13.6813 3.33317 9.99935 3.33317C6.31745 3.33317 3.33268 6.31794 3.33268 9.99984C3.33268 13.6818 6.31745 16.6665 9.99935 16.6665ZM9.16602 5.83317H10.8327V7.49984H9.16602V5.83317ZM9.16602 9.1665H10.8327V14.1665H9.16602V9.1665Z" fill="#417AC8"/>\n</svg>\n'})}}render(){return e(o,{key:"e26a52cc275ac4c2e4090c113cb7e7d4d578fc11",class:`s-alert-wrapper s-alert-${this.variant}`},e("span",{key:"bdb1c6693b226a4e136e89640fcc19fbefc6e29e",class:"s-alert-icon"},this.renderIcon()),e("span",{key:"de8997f9617e74fc082ae9603bf16eac4c0a4b17",class:"s-alert-text"},this.message,e("slot",{key:"37fb1adba1fa7f0226143250632cf20b514ee06b"})))}};i.style="/*!twlt*/:host{display:block}.s-alert-wrapper{display:flex;align-items:center;justify-content:flex-end;border-radius:0.375rem;border-width:1px;border-color:transparent;padding-left:1rem;padding-right:1rem;padding-top:0.75rem;padding-bottom:0.75rem;font-size:0.75rem;line-height:1.5rem}.s-alert-info{--tw-border-opacity:1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1));--tw-text-opacity:1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.s-alert-success{--tw-border-opacity:1;border-color:rgb(187 247 208 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1));--tw-text-opacity:1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.s-alert-warning{--tw-border-opacity:1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1));--tw-text-opacity:1;color:rgb(180 83 9 / var(--tw-text-opacity, 1))}.s-alert-error{--tw-border-opacity:1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1));--tw-text-opacity:1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.s-alert-icon{margin-left:0.5rem;display:flex;align-items:center}.s-alert-text{flex:1 1 0%;text-align:start}";const l=class{constructor(e){t(this,e),this.storeId=salla.config.get("store.id"),this.template=salla.config.get("store.template"),this.loading=!1,this.templateData={},this.defaultMessage=salla.lang.getWithDefault("common.elements.store_is_available_for_purchase","هذا المتجر تطويري ومتاح للشراء من"),this.defaultActionLabel=salla.lang.get("common.elements.know_more"),this.storeFeatures=salla.lang.get("common.elements.store_features"),this.storeDetails=salla.lang.get("common.elements.store_details"),this.storePrice=salla.lang.getWithDefault("common.elements.store_price","سعر المتجر"),this.storePriceDetails=salla.lang.getWithDefault("common.elements.store_price_details","السعر يشمل"),this.theDeveloper=salla.lang.get("common.elements.the_developer"),this.templateInformation=salla.lang.get("common.elements.template_information"),this.buyTheTemplate=salla.lang.get("common.elements.buy_the_template"),this.isRtl=salla.config.get("theme.is_rtl",!0),this.storeName=salla.config.get("store.name"),this.salla=salla.lang.getWithDefault("common.elements.salla","سلة"),this.readyStores=salla.lang.getWithDefault("common.elements.ready_stores","المتاجر الجاهزة"),this.moreDetailsLabel=salla.lang.getWithDefault("common.elements.more_details","تفاصيل أكثر"),this.type="popup",salla.lang.onLoaded((()=>{this.defaultMessage=salla.lang.get("common.elements.experimental_and_available_store"),this.defaultActionLabel=salla.lang.get("common.elements.know_more"),this.storeFeatures=salla.lang.get("common.elements.store_features"),this.storeDetails=salla.lang.get("common.elements.store_details"),this.templateInformation=salla.lang.get("common.elements.template_information"),this.buyTheTemplate=salla.lang.get("common.elements.buy_the_template");const t=salla.lang.messages?.["ar.trans"],e=salla.lang.messages?.["en.trans"];t&&e&&(salla.helpers.setNested(t,"common.elements.more_details","تفاصيل أكثر"),salla.helpers.setNested(e,"common.elements.more_details","More Details"),salla.helpers.setNested(t,"common.elements.store_price","سعر المتجر"),salla.helpers.setNested(e,"common.elements.store_price","Store Price"),salla.helpers.setNested(t,"common.elements.the_developer","المطور"),salla.helpers.setNested(e,"common.elements.the_developer","the developer"),salla.helpers.setNested(t,"common.elements.store_price_details","السعر يشمل"),salla.helpers.setNested(e,"common.elements.store_price_details","Price Includes"),salla.helpers.setNested(t,"common.elements.salla","سلة"),salla.helpers.setNested(e,"common.elements.salla","Salla"),salla.helpers.setNested(t,"common.elements.store_is_available_for_purchase","هذا المتجر تطويري ومتاح للشراء من"),salla.helpers.setNested(e,"common.elements.store_is_available_for_purchase","This ready store is available for purchase from"),salla.helpers.setNested(t,"common.elements.ready_stores","المتاجر الجاهزة"),salla.helpers.setNested(e,"common.elements.ready_stores","Ready Stores"),setTimeout((()=>{this.storePrice=salla.lang.get("common.elements.store_price"),this.theDeveloper=salla.lang.get("common.elements.the_developer"),this.storePriceDetails=salla.lang.getWithDefault("common.elements.store_price_details","السعر يشمل"),this.salla=salla.lang.getWithDefault("common.elements.salla","سلة"),this.defaultMessage=salla.lang.getWithDefault("common.elements.store_is_available_for_purchase","هذا المتجر تطويري ومتاح للشراء من"),this.readyStores=salla.lang.getWithDefault("common.elements.ready_stores","المتاجر الجاهزة"),this.moreDetailsLabel=salla.lang.getWithDefault("common.elements.more_details","More Details")}),100))}))}componentDidLoad(){this.template&&"object"==typeof this.template&&Object.keys(this.template).length>0&&this.fetchTemplateData()}open(){return this.drawer.open()}fetchTemplateData(){if(!Object.keys(this.templateData).length)return this.loading=!0,salla.api.request("/store/template",{},"get",{"Store-Identifier":this.storeId}).then((t=>{this.templateData=t.data,this.loading=!1})).catch((()=>{this.loading=!1}))}handleAction(){"link"===this.type&&(window.location.href=this.actionUrl),"popup"===this.type&&this.open()}popup(){return e("salla-drawer",{class:"s-bottom-alert-modal",ref:t=>this.drawer=t,"no-padding":!0,onLoad:()=>{this.drawer&&Object.keys(this.templateData).length&&this.drawer.setTitle(this.storeDetails+" "+this.storeName)}},Object.keys(this.templateData).length?[e("div",{class:"s-bottom-alert-modal-inner s-scrollbar"},e("div",{class:{"s-bottom-alert-modal-content":!0}},this.templateData?.features?[e("div",{class:"s-bottom-alert-modal-content-title"},e("i",{innerHTML:s,class:"s-bottom-alert-modal-content-icon"}),e("span",null,this.storeFeatures)),e("div",{class:"s-bottom-alert-modal-content-features",innerHTML:this.templateData?.features})]:""),e("div",{class:{"s-bottom-alert-modal-content":!0,"s-bottom-alert-modal-content-extra-padding":this.templateData?.price}},this.templateData?.features?[e("div",{class:"s-bottom-alert-modal-content-title"},e("i",{innerHTML:'\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n<title>money-card</title>\n<path d="M17.333 14.667h-2.667c-0.736 0-1.333-0.599-1.333-1.333s0.597-1.333 1.333-1.333h4c0.737 0 1.333-0.597 1.333-1.333s-0.596-1.333-1.333-1.333h-1.333v-1.333c0-0.736-0.596-1.333-1.333-1.333s-1.333 0.597-1.333 1.333v1.333c-2.205 0-4 1.795-4 4s1.795 4 4 4h2.667c0.736 0 1.333 0.597 1.333 1.333s-0.597 1.333-1.333 1.333h-4c-0.737 0-1.333 0.596-1.333 1.333s0.596 1.333 1.333 1.333h1.333v1.333c0 0.737 0.596 1.333 1.333 1.333s1.333-0.596 1.333-1.333v-1.333c2.205 0 4-1.795 4-4s-1.795-4-4-4zM28 2.667h-24c-2.205 0-4 1.795-4 4v18.667c0 2.205 1.795 4 4 4h24c2.205 0 4-1.795 4-4v-18.667c0-2.205-1.795-4-4-4zM29.333 25.333c0 0.736-0.597 1.333-1.333 1.333h-24c-0.736 0-1.333-0.597-1.333-1.333v-18.667c0-0.735 0.597-1.333 1.333-1.333h24c0.736 0 1.333 0.599 1.333 1.333z"></path>\n</svg>\n',class:"s-bottom-alert-modal-content-icon"}),e("span",null,this.storePriceDetails)),e("div",{class:"s-bottom-alert-modal-content-price-details"},this.templateData?.price_details?.items.map((t=>e("div",{class:"s-bottom-alert-modal-content-price-details-item"},e("i",{innerHTML:'\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n<title>check-circle</title>\n<path d="M19.557 11.26l-4.593 6.891-2.891-1.927c-0.616-0.411-1.441-0.243-1.849 0.369-0.409 0.612-0.244 1.441 0.369 1.849l4 2.667c0.228 0.152 0.485 0.224 0.739 0.224 0.431 0 0.855-0.208 1.111-0.593l5.333-8c0.409-0.612 0.244-1.441-0.369-1.849-0.616-0.411-1.443-0.243-1.849 0.369zM16 0c-8.823 0-16 7.177-16 16s7.177 16 16 16 16-7.177 16-16-7.177-16-16-16zM16 29.333c-7.352 0-13.333-5.981-13.333-13.333s5.981-13.333 13.333-13.333 13.333 5.981 13.333 13.333-5.981 13.333-13.333 13.333z"></path>\n</svg>\n',class:"s-bottom-alert-modal-content-price-details-item-icon"}),e("span",{class:"s-bottom-alert-modal-content-price-details-item-name"},t.name),e("span",{class:"s-bottom-alert-modal-content-price-details-item-price",innerHTML:salla.money(t.price)})))))]:""),this.templateData?.link?e("div",{class:"s-bottom-alert-modal-content-footer"},e("salla-button",{color:"primary",size:"medium",width:"wide",href:this.templateData?.link},e("i",{innerHTML:r}),this.buyTheTemplate)):"")]:"")}render(){const t=this.template&&"object"==typeof this.template&&Object.keys(this.template).length>0;return e(o,{key:"1e598df3c91be1e357fc5d771061ec386573f968",class:"s-bottom-alert-wrapper "+(t?"s-bottom-alert-wrapper-with-template":"")},t&&e("div",{key:"20a0173dfa6a01b793f8e1e9416d295ee4e61783",class:"s-bottom-alert-logo-section"},e("img",{key:"2c9042f0ce022aeb9b2879496ec2837ed14dfe9f",src:"https://cdn.salla.network/images/logo/logo-light.svg",alt:"Salla",class:"s-bottom-alert-logo"}),e("span",{key:"69c2bc09acca8a535d2f982131ccc09d65ea44e6",class:"s-bottom-alert-logo-text"},this.readyStores)),e("div",{key:"553122bac6f1f11c2bcc41a92ac798b3701ebfb9",class:"s-bottom-alert-content"},e("div",{key:"e0df96405998b70c15a8320c8400fa75db77d041",class:"flex items-center gap-2"},e("div",{key:"26f241c725c763dfc25f58cdcd0f2979571a2061",class:"s-bottom-alert-icon"},e("i",this.icon?{class:this.icon}:{innerHTML:'\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n<title>info</title>\n<path d="M16 13.333c-0.737 0-1.333 0.596-1.333 1.333v9.333c0 0.737 0.596 1.333 1.333 1.333s1.333-0.596 1.333-1.333v-9.333c0-0.737-0.596-1.333-1.333-1.333zM16 7.987c-0.737 0-1.333 0.596-1.333 1.333v0.013c0 0.737 0.596 1.327 1.333 1.327s1.333-0.603 1.333-1.34-0.596-1.333-1.333-1.333zM16 0c-8.823 0-16 7.177-16 16s7.177 16 16 16 16-7.177 16-16-7.177-16-16-16zM16 29.333c-7.352 0-13.333-5.981-13.333-13.333s5.981-13.333 13.333-13.333 13.333 5.981 13.333 13.333-5.981 13.333-13.333 13.333z"></path>\n</svg>\n'})),e("div",{key:"5e6ba42a2924aec3b99050e8f53634716023a535",class:"s-bottom-alert-message"},this.message?this.message:t?e("span",{class:"flex flex-wrap items-center gap-1"},this.defaultMessage,e("span",{class:{"s-bottom-alert-message-highlight":!0},"aria-label":"Developer"},this.salla),e("span",{innerHTML:salla.money(this.template.price)})):this.defaultMessage)),"banner"!==this.type&&e("div",{key:"44c4d9499736d84da97b640b8ab063a6b9dd6d3c",class:t?"s-bottom-alert-actions-group":"s-bottom-alert-action"},t?this.loading?e("salla-loading",{size:"20"}):e("div",{class:"s-bottom-alert-actions-group-container"},e("a",{class:"s-bottom-alert-action-link",onClick:()=>this.handleAction()},this.actionLabel||this.moreDetailsLabel),this.templateData?.link?e("button",{type:"button",class:"s-bottom-alert-action-purchase-button",onClick:()=>window.open(this.templateData?.link,"_blank")},this.buyTheTemplate):null):e("salla-button",{href:this.actionUrl,size:"medium",onClick:()=>this.handleAction(),width:"normal"},this.actionLabel||this.defaultActionLabel)),"popup"===this.type&&this.popup()))}get host(){return a(this)}};l.style="/*!twlt*/:host{display:block}.flex{display:flex}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.gap-1{gap:0.25rem}.gap-2{gap:0.5rem}.s-scrollbar::-webkit-scrollbar{width:5px}.s-scrollbar::-webkit-scrollbar-track{background-color:#eee}.s-scrollbar::-webkit-scrollbar-thumb{background-color:var(--color-primary);border-radius:10px;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;-o-border-radius:10px}.s-bottom-alert-wrapper{position:fixed;bottom:0px;z-index:50;display:flex;min-height:4rem;width:100%;flex-direction:column;align-items:center;justify-content:center;background-color:var(--color-primary);padding-left:0.625rem;padding-right:0.625rem;padding-top:0.625rem;padding-bottom:0.625rem}@media (min-width: 768px){.s-bottom-alert-wrapper{padding-left:2.5rem;padding-right:2.5rem}}.s-bottom-alert-wrapper-with-template{flex-direction:column;align-items:center;justify-content:space-between;--tw-bg-opacity:1;background-color:rgb(0 73 86 / var(--tw-bg-opacity, 1));font-family:PingARLT,system-ui;--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.s-bottom-alert-wrapper-with-template{flex-direction:row}}.s-bottom-alert-logo-section{display:flex;align-items:center;gap:0.5rem;padding-left:1rem;padding-right:1rem;padding-top:0.5rem;padding-bottom:0.5rem}.s-bottom-alert-logo{height:auto;width:3rem}.s-bottom-alert-logo-text{font-size:1.25rem;line-height:1.75rem;font-weight:700;--tw-text-opacity:1;color:rgb(186 243 230 / var(--tw-text-opacity, 1))}.s-bottom-alert-icon svg{height:1rem;width:1rem;fill:#fff}.s-bottom-alert-message{font-size:0.875rem;line-height:1.25rem;font-weight:700;--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.s-bottom-alert-message-highlight{cursor:default;font-size:1rem;line-height:1.5rem;font-weight:700}.s-bottom-alert-message-splitter{margin-left:0.5rem;margin-right:0.5rem}.s-bottom-alert-message-link{cursor:pointer;text-decoration-line:underline}.s-bottom-alert-content{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:1rem}@media (min-width: 768px){.s-bottom-alert-content{flex-direction:row}}.s-bottom-alert-action button{background-color:var(--color-primary-reverse);font-size:0.875rem;line-height:1.25rem;color:var(--color-primary)}.s-bottom-alert-actions-group{display:flex;align-items:center;gap:1rem}.s-bottom-alert-action-link{cursor:pointer;font-size:0.875rem;line-height:1.25rem;font-weight:700;--tw-text-opacity:1;color:rgb(186 243 230 / var(--tw-text-opacity, 1));text-decoration-line:underline;transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.s-bottom-alert-action-link:hover{opacity:0.8}.s-bottom-alert-action-purchase-button{border-radius:0.375rem;--tw-bg-opacity:1;background-color:rgb(186 243 230 / var(--tw-bg-opacity, 1));padding-left:1rem;padding-right:1rem;padding-top:0.5rem;padding-bottom:0.5rem;--tw-text-opacity:1;color:rgb(0 73 86 / var(--tw-text-opacity, 1))}.s-bottom-alert-actions-group-container{display:flex;align-items:center;gap:1rem}.s-bottom-alert-modal .s-modal-body{padding-top:1rem;padding-bottom:1rem}.s-bottom-alert-modal-cover img{height:300px;width:100%;object-fit:cover}.s-bottom-alert-modal-inner{max-height:80vh;overflow-y:auto;overflow-x:hidden;padding-left:1rem;padding-right:1rem}.s-bottom-alert-modal-content-title{margin-top:1rem;margin-bottom:1rem;display:flex;align-items:center;gap:0.5rem;font-size:1.125rem;line-height:1.75rem;font-weight:700;color:var(--color-primary-dark)}.s-bottom-alert-modal-content-icon svg{height:1.25rem;width:1.25rem;fill:var(--color-primary-dark)}.s-bottom-alert-modal-content-extra-padding{padding-bottom:100px}.s-bottom-alert-modal-content hr{margin-top:1rem}.s-bottom-alert-modal-content-screenshots{margin-top:1rem;margin-bottom:1rem}.s-bottom-alert-modal-content-screenshot.swiper-slide{height:200px !important;width:370px !important}.s-bottom-alert-modal-content-screenshot img{height:100%;width:100%;object-fit:cover}.s-bottom-alert-modal-content-footer button .s-button-text{display:flex;align-items:center;gap:0.5rem}.s-bottom-alert-modal-content-footer{position:fixed;left:0px;right:0px;bottom:0px;z-index:2;width:100%;--tw-bg-opacity:1;background-color:rgb(252 252 252 / var(--tw-bg-opacity, 1));padding:0.625rem}.s-bottom-alert-modal-content-price-details{display:flex;flex-direction:column;gap:0.5rem}.s-bottom-alert-modal-content-price-details-item{display:flex;align-items:center;gap:0.375rem}.s-bottom-alert-modal-content-price-details-item-icon svg{height:1rem;width:1rem;fill:var(--color-primary-dark)}.s-bottom-alert-modal-content-price-details-item-name{--tw-text-opacity:1;color:rgb(68 68 68 / var(--tw-text-opacity, 1))}.s-bottom-alert-modal-content-price-details-item-price{font-weight:500;--tw-text-opacity:1;color:rgb(102 102 102 / var(--tw-text-opacity, 1))}.s-bottom-alert-modal-price-wrapper{margin-bottom:0.625rem;display:flex;align-items:center;justify-content:space-between;font-size:1rem;line-height:1.5rem}.s-bottom-alert-modal-price-wrapper-amount{font-size:1.125rem;line-height:1.75rem;font-weight:700}";export{i as salla_alert,l as salla_bottom_alert}
4
+ import{r as t,h as e,H as o,a}from"./p-Bf2Z6A1M.js";import{P as r}from"./p-DY4LZmNP.js";import{I as s}from"./p-C-tzSDxw.js";const i=class{constructor(e){t(this,e),this.variant="info"}renderIcon(){const t=this.icon||this.variant;if("none"===t)return null;switch(t){case"success":return e("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"currentColor"},e("path",{d:"M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.5z"}));case"warning":return e("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"currentColor"},e("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}));case"error":return e("svg",{viewBox:"0 0 24 24",width:"20",height:"20",fill:"currentColor"},e("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 \n 10 10 10-4.48 10-10S17.52 2 12 2zm5 \n 13.59L15.59 17 12 13.41 8.41 17 \n 7 15.59 10.59 12 7 8.41 8.41 7 \n 12 10.59 15.59 7 17 8.41 13.41 \n 12 17 15.59z"}));default:return e("span",{innerHTML:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M9.99935 18.3332C5.39697 18.3332 1.66602 14.6022 1.66602 9.99984C1.66602 5.39746 5.39697 1.6665 9.99935 1.6665C14.6017 1.6665 18.3327 5.39746 18.3327 9.99984C18.3327 14.6022 14.6017 18.3332 9.99935 18.3332ZM9.99935 16.6665C13.6813 16.6665 16.666 13.6818 16.666 9.99984C16.666 6.31794 13.6813 3.33317 9.99935 3.33317C6.31745 3.33317 3.33268 6.31794 3.33268 9.99984C3.33268 13.6818 6.31745 16.6665 9.99935 16.6665ZM9.16602 5.83317H10.8327V7.49984H9.16602V5.83317ZM9.16602 9.1665H10.8327V14.1665H9.16602V9.1665Z" fill="#417AC8"/>\n</svg>\n'})}}render(){return e(o,{key:"e26a52cc275ac4c2e4090c113cb7e7d4d578fc11",class:`s-alert-wrapper s-alert-${this.variant}`},e("span",{key:"bdb1c6693b226a4e136e89640fcc19fbefc6e29e",class:"s-alert-icon"},this.renderIcon()),e("span",{key:"de8997f9617e74fc082ae9603bf16eac4c0a4b17",class:"s-alert-text"},this.message,e("slot",{key:"37fb1adba1fa7f0226143250632cf20b514ee06b"})))}};i.style="/*!twlt*/:host{display:block}.s-alert-wrapper{display:flex;align-items:center;justify-content:flex-end;border-radius:0.375rem;border-width:1px;border-color:transparent;padding-left:1rem;padding-right:1rem;padding-top:0.75rem;padding-bottom:0.75rem;font-size:0.75rem;line-height:1.5rem}.s-alert-info{--tw-border-opacity:1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1));--tw-text-opacity:1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.s-alert-success{--tw-border-opacity:1;border-color:rgb(187 247 208 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1));--tw-text-opacity:1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.s-alert-warning{--tw-border-opacity:1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1));--tw-text-opacity:1;color:rgb(180 83 9 / var(--tw-text-opacity, 1))}.s-alert-error{--tw-border-opacity:1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1));--tw-text-opacity:1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.s-alert-icon{margin-left:0.5rem;display:flex;align-items:center}.s-alert-text{flex:1 1 0%;text-align:start}";const l=class{constructor(e){t(this,e),this.storeId=salla.config.get("store.id"),this.template=salla.config.get("store.template"),this.loading=!1,this.templateData={},this.defaultMessage=salla.lang.getWithDefault("common.elements.store_is_available_for_purchase","هذا المتجر تطويري ومتاح للشراء من"),this.defaultActionLabel=salla.lang.get("common.elements.know_more"),this.storeFeatures=salla.lang.get("common.elements.store_features"),this.storeDetails=salla.lang.get("common.elements.store_details"),this.storePrice=salla.lang.getWithDefault("common.elements.store_price","سعر المتجر"),this.storePriceDetails=salla.lang.getWithDefault("common.elements.store_price_details","السعر يشمل"),this.theDeveloper=salla.lang.get("common.elements.the_developer"),this.templateInformation=salla.lang.get("common.elements.template_information"),this.buyTheTemplate=salla.lang.get("common.elements.buy_the_template"),this.isRtl=salla.config.get("theme.is_rtl",!0),this.storeName=salla.config.get("store.name"),this.salla=salla.lang.getWithDefault("common.elements.salla","سلة"),this.readyStores=salla.lang.getWithDefault("common.elements.ready_stores","المتاجر الجاهزة"),this.moreDetailsLabel=salla.lang.getWithDefault("common.elements.more_details","تفاصيل أكثر"),this.type="popup",salla.lang.onLoaded((()=>{this.defaultMessage=salla.lang.get("common.elements.experimental_and_available_store"),this.defaultActionLabel=salla.lang.get("common.elements.know_more"),this.storeFeatures=salla.lang.get("common.elements.store_features"),this.storeDetails=salla.lang.get("common.elements.store_details"),this.templateInformation=salla.lang.get("common.elements.template_information"),this.buyTheTemplate=salla.lang.get("common.elements.buy_the_template");const t=salla.lang.messages?.["ar.trans"],e=salla.lang.messages?.["en.trans"];t&&e&&(salla.helpers.setNested(t,"common.elements.more_details","تفاصيل أكثر"),salla.helpers.setNested(e,"common.elements.more_details","More Details"),salla.helpers.setNested(t,"common.elements.store_price","سعر المتجر"),salla.helpers.setNested(e,"common.elements.store_price","Store Price"),salla.helpers.setNested(t,"common.elements.the_developer","المطور"),salla.helpers.setNested(e,"common.elements.the_developer","the developer"),salla.helpers.setNested(t,"common.elements.store_price_details","السعر يشمل"),salla.helpers.setNested(e,"common.elements.store_price_details","Price Includes"),salla.helpers.setNested(t,"common.elements.salla","سلة"),salla.helpers.setNested(e,"common.elements.salla","Salla"),salla.helpers.setNested(t,"common.elements.store_is_available_for_purchase","هذا المتجر تطويري ومتاح للشراء من"),salla.helpers.setNested(e,"common.elements.store_is_available_for_purchase","This ready store is available for purchase from"),salla.helpers.setNested(t,"common.elements.ready_stores","المتاجر الجاهزة"),salla.helpers.setNested(e,"common.elements.ready_stores","Ready Stores"),setTimeout((()=>{this.storePrice=salla.lang.get("common.elements.store_price"),this.theDeveloper=salla.lang.get("common.elements.the_developer"),this.storePriceDetails=salla.lang.getWithDefault("common.elements.store_price_details","السعر يشمل"),this.salla=salla.lang.getWithDefault("common.elements.salla","سلة"),this.defaultMessage=salla.lang.getWithDefault("common.elements.store_is_available_for_purchase","هذا المتجر تطويري ومتاح للشراء من"),this.readyStores=salla.lang.getWithDefault("common.elements.ready_stores","المتاجر الجاهزة"),this.moreDetailsLabel=salla.lang.getWithDefault("common.elements.more_details","More Details")}),100))}))}componentDidLoad(){this.template&&"object"==typeof this.template&&Object.keys(this.template).length>0&&this.fetchTemplateData()}open(){return this.drawer.open()}fetchTemplateData(){if(!Object.keys(this.templateData).length)return this.loading=!0,salla.api.request("/store/template",{},"get",{"Store-Identifier":this.storeId}).then((t=>{this.templateData=t.data,this.loading=!1})).catch((()=>{this.loading=!1}))}handleAction(){"link"===this.type&&(window.location.href=this.actionUrl),"popup"===this.type&&this.open()}popup(){return e("salla-drawer",{class:"s-bottom-alert-modal",ref:t=>this.drawer=t,"no-padding":!0,onLoad:()=>{this.drawer&&Object.keys(this.templateData).length&&this.drawer.setTitle(this.storeDetails+" "+this.storeName)}},Object.keys(this.templateData).length?[e("div",{class:"s-bottom-alert-modal-inner s-scrollbar"},e("div",{class:{"s-bottom-alert-modal-content":!0}},this.templateData?.features?[e("div",{class:"s-bottom-alert-modal-content-title"},e("i",{innerHTML:s,class:"s-bottom-alert-modal-content-icon"}),e("span",null,this.storeFeatures)),e("div",{class:"s-bottom-alert-modal-content-features",innerHTML:this.templateData?.features})]:""),e("div",{class:{"s-bottom-alert-modal-content":!0,"s-bottom-alert-modal-content-extra-padding":this.templateData?.price}},this.templateData?.features?[e("div",{class:"s-bottom-alert-modal-content-title"},e("i",{innerHTML:'\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n<title>money-card</title>\n<path d="M17.333 14.667h-2.667c-0.736 0-1.333-0.599-1.333-1.333s0.597-1.333 1.333-1.333h4c0.737 0 1.333-0.597 1.333-1.333s-0.596-1.333-1.333-1.333h-1.333v-1.333c0-0.736-0.596-1.333-1.333-1.333s-1.333 0.597-1.333 1.333v1.333c-2.205 0-4 1.795-4 4s1.795 4 4 4h2.667c0.736 0 1.333 0.597 1.333 1.333s-0.597 1.333-1.333 1.333h-4c-0.737 0-1.333 0.596-1.333 1.333s0.596 1.333 1.333 1.333h1.333v1.333c0 0.737 0.596 1.333 1.333 1.333s1.333-0.596 1.333-1.333v-1.333c2.205 0 4-1.795 4-4s-1.795-4-4-4zM28 2.667h-24c-2.205 0-4 1.795-4 4v18.667c0 2.205 1.795 4 4 4h24c2.205 0 4-1.795 4-4v-18.667c0-2.205-1.795-4-4-4zM29.333 25.333c0 0.736-0.597 1.333-1.333 1.333h-24c-0.736 0-1.333-0.597-1.333-1.333v-18.667c0-0.735 0.597-1.333 1.333-1.333h24c0.736 0 1.333 0.599 1.333 1.333z"></path>\n</svg>\n',class:"s-bottom-alert-modal-content-icon"}),e("span",null,this.storePriceDetails)),e("div",{class:"s-bottom-alert-modal-content-price-details"},this.templateData?.price_details?.items.map((t=>e("div",{class:"s-bottom-alert-modal-content-price-details-item"},e("i",{innerHTML:'\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n<title>check-circle</title>\n<path d="M19.557 11.26l-4.593 6.891-2.891-1.927c-0.616-0.411-1.441-0.243-1.849 0.369-0.409 0.612-0.244 1.441 0.369 1.849l4 2.667c0.228 0.152 0.485 0.224 0.739 0.224 0.431 0 0.855-0.208 1.111-0.593l5.333-8c0.409-0.612 0.244-1.441-0.369-1.849-0.616-0.411-1.443-0.243-1.849 0.369zM16 0c-8.823 0-16 7.177-16 16s7.177 16 16 16 16-7.177 16-16-7.177-16-16-16zM16 29.333c-7.352 0-13.333-5.981-13.333-13.333s5.981-13.333 13.333-13.333 13.333 5.981 13.333 13.333-5.981 13.333-13.333 13.333z"></path>\n</svg>\n',class:"s-bottom-alert-modal-content-price-details-item-icon"}),e("span",{class:"s-bottom-alert-modal-content-price-details-item-name"},t.name),e("span",{class:"s-bottom-alert-modal-content-price-details-item-price",innerHTML:salla.money(t.price)})))))]:""),this.templateData?.link?e("div",{class:"s-bottom-alert-modal-content-footer"},e("salla-button",{color:"primary",size:"medium",width:"wide",href:this.templateData?.link},e("i",{innerHTML:r}),this.buyTheTemplate)):"")]:"")}render(){const t=this.template&&"object"==typeof this.template&&Object.keys(this.template).length>0;return e(o,{key:"1e598df3c91be1e357fc5d771061ec386573f968",class:"s-bottom-alert-wrapper "+(t?"s-bottom-alert-wrapper-with-template":"")},t&&e("div",{key:"20a0173dfa6a01b793f8e1e9416d295ee4e61783",class:"s-bottom-alert-logo-section"},e("img",{key:"2c9042f0ce022aeb9b2879496ec2837ed14dfe9f",src:"https://cdn.salla.network/images/logo/logo-light.svg",alt:"Salla",class:"s-bottom-alert-logo"}),e("span",{key:"69c2bc09acca8a535d2f982131ccc09d65ea44e6",class:"s-bottom-alert-logo-text"},this.readyStores)),e("div",{key:"553122bac6f1f11c2bcc41a92ac798b3701ebfb9",class:"s-bottom-alert-content"},e("div",{key:"e0df96405998b70c15a8320c8400fa75db77d041",class:"flex items-center gap-2"},e("div",{key:"26f241c725c763dfc25f58cdcd0f2979571a2061",class:"s-bottom-alert-icon"},e("i",this.icon?{class:this.icon}:{innerHTML:'\x3c!-- Generated by IcoMoon.io --\x3e\n<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">\n<title>info</title>\n<path d="M16 13.333c-0.737 0-1.333 0.596-1.333 1.333v9.333c0 0.737 0.596 1.333 1.333 1.333s1.333-0.596 1.333-1.333v-9.333c0-0.737-0.596-1.333-1.333-1.333zM16 7.987c-0.737 0-1.333 0.596-1.333 1.333v0.013c0 0.737 0.596 1.327 1.333 1.327s1.333-0.603 1.333-1.34-0.596-1.333-1.333-1.333zM16 0c-8.823 0-16 7.177-16 16s7.177 16 16 16 16-7.177 16-16-7.177-16-16-16zM16 29.333c-7.352 0-13.333-5.981-13.333-13.333s5.981-13.333 13.333-13.333 13.333 5.981 13.333 13.333-5.981 13.333-13.333 13.333z"></path>\n</svg>\n'})),e("div",{key:"5e6ba42a2924aec3b99050e8f53634716023a535",class:"s-bottom-alert-message"},this.message?this.message:t?e("span",{class:"flex flex-wrap items-center gap-1"},this.defaultMessage,e("span",{class:{"s-bottom-alert-message-highlight":!0},"aria-label":"Developer"},this.salla),e("span",{innerHTML:salla.money(this.template.price)})):this.defaultMessage)),"banner"!==this.type&&e("div",{key:"44c4d9499736d84da97b640b8ab063a6b9dd6d3c",class:t?"s-bottom-alert-actions-group":"s-bottom-alert-action"},t?this.loading?e("salla-loading",{size:"20"}):e("div",{class:"s-bottom-alert-actions-group-container"},e("a",{class:"s-bottom-alert-action-link",onClick:()=>this.handleAction()},this.actionLabel||this.moreDetailsLabel),this.templateData?.link?e("button",{type:"button",class:"s-bottom-alert-action-purchase-button",onClick:()=>window.open(this.templateData?.link,"_blank")},this.buyTheTemplate):null):e("salla-button",{href:this.actionUrl,size:"medium",onClick:()=>this.handleAction(),width:"normal"},this.actionLabel||this.defaultActionLabel)),"popup"===this.type&&this.popup()))}get host(){return a(this)}};l.style="/*!twlt*/:host{display:block}.flex{display:flex}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.gap-1{gap:0.25rem}.gap-2{gap:0.5rem}.s-scrollbar::-webkit-scrollbar{width:5px}.s-scrollbar::-webkit-scrollbar-track{background-color:#eee}.s-scrollbar::-webkit-scrollbar-thumb{background-color:var(--color-primary);border-radius:10px;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;-o-border-radius:10px}.s-bottom-alert-wrapper{position:fixed;bottom:0px;z-index:50;display:flex;min-height:4rem;width:100%;flex-direction:column;align-items:center;justify-content:center;background-color:var(--color-primary);padding-left:0.625rem;padding-right:0.625rem;padding-top:0.625rem;padding-bottom:0.625rem}@media (min-width: 768px){.s-bottom-alert-wrapper{padding-left:2.5rem;padding-right:2.5rem}}.s-bottom-alert-wrapper-with-template{flex-direction:column;align-items:center;justify-content:space-between;--tw-bg-opacity:1;background-color:rgb(0 73 86 / var(--tw-bg-opacity, 1));font-family:PingARLT,system-ui;--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.s-bottom-alert-wrapper-with-template{flex-direction:row}}.s-bottom-alert-logo-section{display:flex;align-items:center;gap:0.5rem;padding-left:1rem;padding-right:1rem;padding-top:0.5rem;padding-bottom:0.5rem}.s-bottom-alert-logo{height:auto;width:3rem}.s-bottom-alert-logo-text{font-size:1.25rem;line-height:1.75rem;font-weight:700;--tw-text-opacity:1;color:rgb(186 243 230 / var(--tw-text-opacity, 1))}.s-bottom-alert-icon svg{height:1rem;width:1rem;fill:#fff}.s-bottom-alert-message{font-size:0.875rem;line-height:1.25rem;font-weight:700;--tw-text-opacity:1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.s-bottom-alert-message-highlight{cursor:default;font-size:1rem;line-height:1.5rem;font-weight:700}.s-bottom-alert-message-splitter{margin-left:0.5rem;margin-right:0.5rem}.s-bottom-alert-message-link{cursor:pointer;text-decoration-line:underline}.s-bottom-alert-content{display:flex;height:100%;flex-direction:column;align-items:center;justify-content:center;gap:1rem}@media (min-width: 768px){.s-bottom-alert-content{flex-direction:row}}.s-bottom-alert-action button{background-color:var(--color-primary-reverse);font-size:0.875rem;line-height:1.25rem;color:var(--color-primary)}.s-bottom-alert-actions-group{display:flex;align-items:center;gap:1rem}.s-bottom-alert-action-link{cursor:pointer;font-size:0.875rem;line-height:1.25rem;font-weight:700;--tw-text-opacity:1;color:rgb(186 243 230 / var(--tw-text-opacity, 1));text-decoration-line:underline;transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.s-bottom-alert-action-link:hover{opacity:0.8}.s-bottom-alert-action-purchase-button{border-radius:0.375rem;--tw-bg-opacity:1;background-color:rgb(186 243 230 / var(--tw-bg-opacity, 1));padding-left:1rem;padding-right:1rem;padding-top:0.5rem;padding-bottom:0.5rem;--tw-text-opacity:1;color:rgb(0 73 86 / var(--tw-text-opacity, 1))}.s-bottom-alert-actions-group-container{display:flex;align-items:center;gap:1rem}.s-bottom-alert-modal .s-modal-body{padding-top:1rem;padding-bottom:1rem}.s-bottom-alert-modal-cover img{height:300px;width:100%;object-fit:cover}.s-bottom-alert-modal-inner{max-height:80vh;overflow-y:auto;overflow-x:hidden;padding-left:1rem;padding-right:1rem}.s-bottom-alert-modal-content-title{margin-top:1rem;margin-bottom:1rem;display:flex;align-items:center;gap:0.5rem;font-size:1.125rem;line-height:1.75rem;font-weight:700;color:var(--color-primary-dark)}.s-bottom-alert-modal-content-icon svg{height:1.25rem;width:1.25rem;fill:var(--color-primary-dark)}.s-bottom-alert-modal-content-extra-padding{padding-bottom:100px}.s-bottom-alert-modal-content hr{margin-top:1rem}.s-bottom-alert-modal-content-screenshots{margin-top:1rem;margin-bottom:1rem}.s-bottom-alert-modal-content-screenshot.swiper-slide{height:200px !important;width:370px !important}.s-bottom-alert-modal-content-screenshot img{height:100%;width:100%;object-fit:cover}.s-bottom-alert-modal-content-footer button .s-button-text{display:flex;align-items:center;gap:0.5rem}.s-bottom-alert-modal-content-footer{position:fixed;left:0px;right:0px;bottom:0px;z-index:2;width:100%;--tw-bg-opacity:1;background-color:rgb(252 252 252 / var(--tw-bg-opacity, 1));padding:0.625rem}.s-bottom-alert-modal-content-price-details{display:flex;flex-direction:column;gap:0.5rem}.s-bottom-alert-modal-content-price-details-item{display:flex;align-items:center;gap:0.375rem}.s-bottom-alert-modal-content-price-details-item-icon svg{height:1rem;width:1rem;fill:var(--color-primary-dark)}.s-bottom-alert-modal-content-price-details-item-name{--tw-text-opacity:1;color:rgb(68 68 68 / var(--tw-text-opacity, 1))}.s-bottom-alert-modal-content-price-details-item-price{font-weight:500;--tw-text-opacity:1;color:rgb(102 102 102 / var(--tw-text-opacity, 1))}.s-bottom-alert-modal-price-wrapper{margin-bottom:0.625rem;display:flex;align-items:center;justify-content:space-between;font-size:1rem;line-height:1.5rem}.s-bottom-alert-modal-price-wrapper-amount{font-size:1.125rem;line-height:1.75rem;font-weight:700}";export{i as salla_alert,l as salla_bottom_alert}