@salla.sa/twilight-components 2.14.600 → 2.14.601

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 (325) hide show
  1. package/dist/cjs/{filepond-DVmQ7csb.js → filepond-D8C4FvMF.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-DMSpzTqe.js → filepond-plugin-file-poster-Bha1u8_P.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-D_ptbEIk.js → filepond-plugin-file-validate-size-BrGHDbNv.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-0yFqmcfN.js → filepond-plugin-file-validate-type-D1ZhZw29.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-E7sYYAWn.js → filepond-plugin-image-edit-CpMtbo-c.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-DbrEAQoa.js → filepond-plugin-image-exif-orientation-C106fw_6.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-DO_tpcG1.js → filepond-plugin-image-preview-B2u9bre9.js} +1 -1
  8. package/dist/cjs/{index-Bw9ZFzBG.js → index-CIcdvW25.js} +7 -7
  9. package/dist/cjs/{intlTelInput-DxYQu3W_.js → intlTelInput-C_vfjTaa.js} +1 -1
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  12. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  15. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-applied-filters.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-attachment-view_9.cjs.entry.js +10 -10
  20. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  21. package/dist/cjs/salla-basket-gap.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-bullet-delivery_3.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  25. package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-comment-form_9.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-gift-card-redeem_2.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 +1 -1
  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_3.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 +1 -1
  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.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 +1 -1
  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-card.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  83. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-review-factors-tags.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-review-order-item.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-search-product-card.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  93. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-tiered-offer.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/salla-wishlist-summary.cjs.entry.js +1 -1
  106. package/dist/cjs/twilight.cjs.js +1 -1
  107. package/dist/cjs/{vanilla-picker-CcRVM0uV.js → vanilla-picker-9cRfp20y.js} +1 -1
  108. package/dist/components/index.js +7 -7
  109. package/dist/docs.json +1 -1
  110. package/dist/esm/{filepond-CMtCLsIc.js → filepond-CdHKzx8o.js} +1 -1
  111. package/dist/esm/{filepond-plugin-file-poster-OjOFU-jw.js → filepond-plugin-file-poster-Dv1xmT8j.js} +1 -1
  112. package/dist/esm/{filepond-plugin-file-validate-size-BFCz_KY1.js → filepond-plugin-file-validate-size-yC6pu05S.js} +1 -1
  113. package/dist/esm/{filepond-plugin-file-validate-type-BaPcxnrR.js → filepond-plugin-file-validate-type-6BfFanp-.js} +1 -1
  114. package/dist/esm/{filepond-plugin-image-edit-D_tfXMIg.js → filepond-plugin-image-edit-DXVicFoW.js} +1 -1
  115. package/dist/esm/{filepond-plugin-image-exif-orientation-DS2k4xg9.js → filepond-plugin-image-exif-orientation-lh9c78ZN.js} +1 -1
  116. package/dist/esm/{filepond-plugin-image-preview-B6bJkNCH.js → filepond-plugin-image-preview--nSwXCrA.js} +1 -1
  117. package/dist/esm/{index-C670SYee.js → index-8Kr0yg20.js} +7 -7
  118. package/dist/esm/{intlTelInput-BUOxAmWZ.js → intlTelInput-l4GKBLuF.js} +1 -1
  119. package/dist/esm/loader.js +2 -2
  120. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  121. package/dist/esm/salla-accordion_6.entry.js +1 -1
  122. package/dist/esm/salla-add-product-button_5.entry.js +1 -1
  123. package/dist/esm/salla-advertisement.entry.js +1 -1
  124. package/dist/esm/salla-alert_2.entry.js +1 -1
  125. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  126. package/dist/esm/salla-applied-filters.entry.js +1 -1
  127. package/dist/esm/salla-apps-icons.entry.js +1 -1
  128. package/dist/esm/salla-attachment-view_9.entry.js +10 -10
  129. package/dist/esm/salla-badge.entry.js +1 -1
  130. package/dist/esm/salla-basket-gap.entry.js +1 -1
  131. package/dist/esm/salla-bullet-delivery_3.entry.js +1 -1
  132. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  133. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  134. package/dist/esm/salla-cart-summary-card.entry.js +1 -1
  135. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  136. package/dist/esm/salla-comment-factors.entry.js +1 -1
  137. package/dist/esm/salla-comment-form_9.entry.js +1 -1
  138. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  139. package/dist/esm/salla-contacts.entry.js +1 -1
  140. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  141. package/dist/esm/salla-count-down.entry.js +1 -1
  142. package/dist/esm/salla-custom-fields.entry.js +1 -1
  143. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  144. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  145. package/dist/esm/salla-filters-widget.entry.js +1 -1
  146. package/dist/esm/salla-filters.entry.js +1 -1
  147. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  148. package/dist/esm/salla-gift-card-redeem_2.entry.js +1 -1
  149. package/dist/esm/salla-gifting.entry.js +1 -1
  150. package/dist/esm/salla-hook.entry.js +1 -1
  151. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  152. package/dist/esm/salla-installment.entry.js +1 -1
  153. package/dist/esm/salla-list-tile.entry.js +1 -1
  154. package/dist/esm/salla-localization-modal.entry.js +1 -1
  155. package/dist/esm/salla-login-modal.entry.js +1 -1
  156. package/dist/esm/salla-loyalty-banner_10.entry.js +1 -1
  157. package/dist/esm/salla-loyalty-exchange-product-card.entry.js +1 -1
  158. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  159. package/dist/esm/salla-loyalty-points-history.entry.js +1 -1
  160. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  161. package/dist/esm/salla-loyalty.entry.js +1 -1
  162. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  163. package/dist/esm/salla-map_3.entry.js +1 -1
  164. package/dist/esm/salla-menu.entry.js +1 -1
  165. package/dist/esm/salla-metadata.entry.js +1 -1
  166. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  167. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  168. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  169. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  170. package/dist/esm/salla-notification-item_2.entry.js +1 -1
  171. package/dist/esm/salla-offer-modal.entry.js +1 -1
  172. package/dist/esm/salla-offer.entry.js +1 -1
  173. package/dist/esm/salla-order-branch.entry.js +1 -1
  174. package/dist/esm/salla-order-cancel.entry.js +1 -1
  175. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  176. package/dist/esm/salla-order-details-options.entry.js +1 -1
  177. package/dist/esm/salla-order-details.entry.js +1 -1
  178. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  179. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  180. package/dist/esm/salla-order-edit.entry.js +1 -1
  181. package/dist/esm/salla-order-options-modal.entry.js +1 -1
  182. package/dist/esm/salla-order-shipments.entry.js +1 -1
  183. package/dist/esm/salla-order-summary.entry.js +1 -1
  184. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  185. package/dist/esm/salla-orders.entry.js +1 -1
  186. package/dist/esm/salla-payments.entry.js +1 -1
  187. package/dist/esm/salla-placeholder.entry.js +1 -1
  188. package/dist/esm/salla-price-range.entry.js +1 -1
  189. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  190. package/dist/esm/salla-product-card.entry.js +1 -1
  191. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  192. package/dist/esm/salla-products-list.entry.js +1 -1
  193. package/dist/esm/salla-products-slider.entry.js +1 -1
  194. package/dist/esm/salla-quick-order.entry.js +1 -1
  195. package/dist/esm/salla-rating-modal-v2.entry.js +1 -1
  196. package/dist/esm/salla-rating-modal.entry.js +1 -1
  197. package/dist/esm/salla-review-factors-tags.entry.js +1 -1
  198. package/dist/esm/salla-review-order-item.entry.js +1 -1
  199. package/dist/esm/salla-scopes.entry.js +1 -1
  200. package/dist/esm/salla-search-product-card.entry.js +1 -1
  201. package/dist/esm/salla-search.entry.js +1 -1
  202. package/dist/esm/salla-skeleton.entry.js +1 -1
  203. package/dist/esm/salla-social-share.entry.js +1 -1
  204. package/dist/esm/salla-social.entry.js +1 -1
  205. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  206. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  207. package/dist/esm/salla-trust-badges.entry.js +1 -1
  208. package/dist/esm/salla-user-menu.entry.js +1 -1
  209. package/dist/esm/salla-user-profile.entry.js +1 -1
  210. package/dist/esm/salla-user-settings.entry.js +1 -1
  211. package/dist/esm/salla-verify.entry.js +1 -1
  212. package/dist/esm/salla-wallet.entry.js +1 -1
  213. package/dist/esm/salla-wishlist-actions.entry.js +1 -1
  214. package/dist/esm/salla-wishlist-summary.entry.js +1 -1
  215. package/dist/esm/twilight.js +2 -2
  216. package/dist/esm/{vanilla-picker-vQxevRSA.js → vanilla-picker-Cz2XdDMP.js} +1 -1
  217. package/dist/twilight/{p-167a9c58.entry.js → p-00654af3.entry.js} +1 -1
  218. package/dist/twilight/{p-9ace9fc5.entry.js → p-048ee93a.entry.js} +1 -1
  219. package/dist/twilight/{p-b3f0b7e3.entry.js → p-052fb212.entry.js} +1 -1
  220. package/dist/twilight/{p-6eb365f3.entry.js → p-06b45154.entry.js} +1 -1
  221. package/dist/twilight/{p-ce8bdea8.entry.js → p-0e98fddd.entry.js} +1 -1
  222. package/dist/twilight/{p-4ea3a8a1.entry.js → p-0fdbd8cc.entry.js} +1 -1
  223. package/dist/twilight/{p-6cfb6628.entry.js → p-11695661.entry.js} +1 -1
  224. package/dist/twilight/{p-dff87ddc.entry.js → p-126d5595.entry.js} +1 -1
  225. package/dist/twilight/{p-660271f5.entry.js → p-16479b90.entry.js} +1 -1
  226. package/dist/twilight/{p-3eface57.entry.js → p-16dcf15c.entry.js} +1 -1
  227. package/dist/twilight/{p-321022f5.entry.js → p-1db334c5.entry.js} +1 -1
  228. package/dist/twilight/{p-c6f677aa.entry.js → p-1e0df65d.entry.js} +1 -1
  229. package/dist/twilight/p-2173c0f0.entry.js +4 -0
  230. package/dist/twilight/{p-f52c49c8.entry.js → p-23073b8a.entry.js} +1 -1
  231. package/dist/twilight/{p-36ddb8db.entry.js → p-254c863e.entry.js} +1 -1
  232. package/dist/twilight/{p-57ddfcfe.entry.js → p-25f15ab6.entry.js} +1 -1
  233. package/dist/twilight/{p-8f1789f7.entry.js → p-270e4b2d.entry.js} +1 -1
  234. package/dist/twilight/{p-8d119291.entry.js → p-28c75dcf.entry.js} +1 -1
  235. package/dist/twilight/{p-d2b41e2d.entry.js → p-2a160737.entry.js} +1 -1
  236. package/dist/twilight/{p-dfcb0978.entry.js → p-2a28633d.entry.js} +1 -1
  237. package/dist/twilight/{p-f106d1e8.entry.js → p-2bf57ca7.entry.js} +1 -1
  238. package/dist/twilight/{p-b59eab4f.entry.js → p-3118f527.entry.js} +1 -1
  239. package/dist/twilight/{p-27d94a42.entry.js → p-3130e363.entry.js} +1 -1
  240. package/dist/twilight/{p-ccd75cf6.entry.js → p-3179c72b.entry.js} +1 -1
  241. package/dist/twilight/{p-ea4e6f55.entry.js → p-3392ced8.entry.js} +1 -1
  242. package/dist/twilight/{p-07453f6c.entry.js → p-34b6c381.entry.js} +1 -1
  243. package/dist/twilight/{p-r8T0WY8a.js → p-3RAlOumf.js} +1 -1
  244. package/dist/twilight/{p-d923ecda.entry.js → p-3ad77173.entry.js} +1 -1
  245. package/dist/twilight/{p-e506fbee.entry.js → p-3c89325e.entry.js} +1 -1
  246. package/dist/twilight/{p-9a7da6d0.entry.js → p-3cd513b2.entry.js} +1 -1
  247. package/dist/twilight/{p-4678b6d7.entry.js → p-476e3d1b.entry.js} +1 -1
  248. package/dist/twilight/{p-73189ed2.entry.js → p-490493cc.entry.js} +1 -1
  249. package/dist/twilight/{p-87feddeb.entry.js → p-4b559931.entry.js} +1 -1
  250. package/dist/twilight/{p-73125aab.entry.js → p-4cfca9e1.entry.js} +1 -1
  251. package/dist/twilight/{p-90765c65.entry.js → p-5076dfe4.entry.js} +1 -1
  252. package/dist/twilight/{p-46334bbe.entry.js → p-5500cb85.entry.js} +1 -1
  253. package/dist/twilight/{p-af525459.entry.js → p-5b0259d8.entry.js} +1 -1
  254. package/dist/twilight/{p-57768c0e.entry.js → p-5bfe0a12.entry.js} +1 -1
  255. package/dist/twilight/{p-60e920c6.entry.js → p-5de3e4c3.entry.js} +1 -1
  256. package/dist/twilight/{p-b2da9ea7.entry.js → p-5f176cff.entry.js} +1 -1
  257. package/dist/twilight/{p-b124899c.entry.js → p-60a16078.entry.js} +1 -1
  258. package/dist/twilight/{p-19b7fccb.entry.js → p-62081545.entry.js} +1 -1
  259. package/dist/twilight/{p-da9b84ee.entry.js → p-64ce7d04.entry.js} +1 -1
  260. package/dist/twilight/{p-d897273e.entry.js → p-654d7158.entry.js} +1 -1
  261. package/dist/twilight/{p-e80bc0ce.entry.js → p-66739790.entry.js} +1 -1
  262. package/dist/twilight/{p-b40466ae.entry.js → p-68bab651.entry.js} +1 -1
  263. package/dist/twilight/{p-8359286c.entry.js → p-6b9e0168.entry.js} +1 -1
  264. package/dist/twilight/{p-0116fc35.entry.js → p-6d629a37.entry.js} +1 -1
  265. package/dist/twilight/{p-132d9742.entry.js → p-6f64aca2.entry.js} +1 -1
  266. package/dist/twilight/{p-2df4e63a.entry.js → p-70e1cddf.entry.js} +1 -1
  267. package/dist/twilight/{p-62690afe.entry.js → p-722a1d49.entry.js} +1 -1
  268. package/dist/twilight/{p-de0ce00a.entry.js → p-72f1eb9d.entry.js} +1 -1
  269. package/dist/twilight/{p-ef9567bd.entry.js → p-73be3e2b.entry.js} +1 -1
  270. package/dist/twilight/{p-ea82cbb3.entry.js → p-78fce485.entry.js} +1 -1
  271. package/dist/twilight/{p-1f3d5e3e.entry.js → p-7a7efc1e.entry.js} +1 -1
  272. package/dist/twilight/{p-0f68e660.entry.js → p-80986ebf.entry.js} +1 -1
  273. package/dist/twilight/{p-0c6290e0.entry.js → p-8456fc2b.entry.js} +1 -1
  274. package/dist/twilight/{p-c7728312.entry.js → p-845d6d9f.entry.js} +1 -1
  275. package/dist/twilight/p-8Kr0yg20.js +5 -0
  276. package/dist/twilight/{p-1ea04494.entry.js → p-8bb54ab1.entry.js} +1 -1
  277. package/dist/twilight/{p-e8f7ed7b.entry.js → p-8bd722e2.entry.js} +1 -1
  278. package/dist/twilight/{p-744c8337.entry.js → p-942a9370.entry.js} +1 -1
  279. package/dist/twilight/{p-157873ee.entry.js → p-96028c8b.entry.js} +1 -1
  280. package/dist/twilight/{p-94f18d97.entry.js → p-96b9ba64.entry.js} +1 -1
  281. package/dist/twilight/{p-02946cf5.entry.js → p-98de4c11.entry.js} +1 -1
  282. package/dist/twilight/{p-f37cc89b.entry.js → p-9a30c09e.entry.js} +1 -1
  283. package/dist/twilight/{p-22fc1505.entry.js → p-9bc1676b.entry.js} +1 -1
  284. package/dist/twilight/{p-D-pGRpnm.js → p-B-WH3lv4.js} +1 -1
  285. package/dist/twilight/{p-D33qIToB.js → p-BNVpOSmh.js} +1 -1
  286. package/dist/twilight/{p-DYkb22mH.js → p-B_znruWg.js} +1 -1
  287. package/dist/twilight/{p-CcijNXaY.js → p-BwJOl2G2.js} +1 -1
  288. package/dist/twilight/{p-DOJsGUE-.js → p-CSgEn8iE.js} +1 -1
  289. package/dist/twilight/{p-Kqe2HSSB.js → p-C_-Bd9R8.js} +1 -1
  290. package/dist/twilight/{p-DIJHCILO.js → p-DCZHPueO.js} +1 -1
  291. package/dist/twilight/{p-DEtbzT0x.js → p-DdILhElb.js} +1 -1
  292. package/dist/twilight/{p-c840c67c.entry.js → p-a3630cbf.entry.js} +1 -1
  293. package/dist/twilight/{p-cba57487.entry.js → p-a98f0462.entry.js} +1 -1
  294. package/dist/twilight/{p-316be8a7.entry.js → p-ac719286.entry.js} +1 -1
  295. package/dist/twilight/{p-e1b853b2.entry.js → p-b68679eb.entry.js} +1 -1
  296. package/dist/twilight/{p-afc17688.entry.js → p-b7ed8e39.entry.js} +1 -1
  297. package/dist/twilight/{p-9b9c2adf.entry.js → p-b85d3a54.entry.js} +1 -1
  298. package/dist/twilight/{p-0cb5d9c6.entry.js → p-b8e56642.entry.js} +1 -1
  299. package/dist/twilight/{p-6b28397a.entry.js → p-c0d00e89.entry.js} +1 -1
  300. package/dist/twilight/{p-1c7999c9.entry.js → p-c1039294.entry.js} +1 -1
  301. package/dist/twilight/{p-b6674eab.entry.js → p-c6c496ec.entry.js} +1 -1
  302. package/dist/twilight/{p-f5f448b7.entry.js → p-ca838de0.entry.js} +1 -1
  303. package/dist/twilight/{p-6bacaa30.entry.js → p-cf742415.entry.js} +1 -1
  304. package/dist/twilight/{p-b13efdf9.entry.js → p-d062becf.entry.js} +1 -1
  305. package/dist/twilight/{p-bf95f806.entry.js → p-d7cb0405.entry.js} +1 -1
  306. package/dist/twilight/{p-2bb95112.entry.js → p-d9360a47.entry.js} +1 -1
  307. package/dist/twilight/{p-19d9b193.entry.js → p-db5d3d60.entry.js} +1 -1
  308. package/dist/twilight/{p-34ab84e2.entry.js → p-dc226d90.entry.js} +1 -1
  309. package/dist/twilight/{p-e4ba8208.entry.js → p-df6a4f43.entry.js} +1 -1
  310. package/dist/twilight/{p-6339c31f.entry.js → p-e12337ab.entry.js} +1 -1
  311. package/dist/twilight/{p-82430d31.entry.js → p-e54b95a6.entry.js} +1 -1
  312. package/dist/twilight/{p-b7f5a180.entry.js → p-e5f0a5f3.entry.js} +1 -1
  313. package/dist/twilight/{p-84ed92e9.entry.js → p-e62dd507.entry.js} +1 -1
  314. package/dist/twilight/{p-3b45e21a.entry.js → p-e7ac6421.entry.js} +1 -1
  315. package/dist/twilight/{p-161fce7a.entry.js → p-e93bcc6e.entry.js} +1 -1
  316. package/dist/twilight/{p-2d8d9829.entry.js → p-eb91b45a.entry.js} +1 -1
  317. package/dist/twilight/{p-56d064c0.entry.js → p-f1eca4da.entry.js} +1 -1
  318. package/dist/twilight/{p-6cffd732.entry.js → p-f6b40c3f.entry.js} +1 -1
  319. package/dist/twilight/{p-1c75de1e.entry.js → p-f6dc6e8a.entry.js} +1 -1
  320. package/dist/twilight/{p-2a865b0b.entry.js → p-fd4786e4.entry.js} +1 -1
  321. package/dist/twilight/{p-9ab10a2f.entry.js → p-ff64dad1.entry.js} +1 -1
  322. package/dist/twilight/twilight.esm.js +1 -1
  323. package/package.json +5 -5
  324. package/dist/twilight/p-84ee1884.entry.js +0 -4
  325. package/dist/twilight/p-C670SYee.js +0 -5
@@ -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-C670SYee.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-8Kr0yg20.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}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{r as t,c as i,h as s,H as e,a as r}from"./p-C670SYee.js";const a=class{constructor(s){t(this,s),this.giftCardRedeemed=i(this,"giftCardRedeemed"),this.code="",this.inlineForm=!1,this.pending=!1,this.error=null,this.redeemedOnce=!1,this.isDesktop=!1,this.modalView=null,this.result=null,this.mediaQueryList=null,this.mqlChangeHandler=t=>{this.isDesktop=t.matches,"form"===this.modalView&&this.isDesktop?(this.modalView=null,this.inlineForm=!0):this.inlineForm&&!this.isDesktop&&(this.inlineForm=!1,this.openModal("form"))},this.closeModal=()=>{this.modalView=null,this.modal?.close?.()},this.start=()=>{if(this.error=null,this.code="",this.isDesktop)return this.inlineForm=!0,void setTimeout((()=>this.field?.focus()),0);this.openModal("form")},this.cancel=()=>{this.inlineForm=!1,this.code="",this.error=null,this.closeModal()},this.handleInput=t=>{const i=t.target;this.code=(i.value||"").toUpperCase().replace(/[^A-Z0-9]/g,"").slice(0,16),i.value=this.code,this.error=null},this.onKeyUp=t=>{"Enter"===t.key&&(t.preventDefault(),this.redeem())},this.shopNow=()=>{this.closeModal(),window.location.href=salla.url.get("/")}}breakpointPx(){return 768}async componentWillLoad(){await salla.onReady(),this.mediaQueryList=window.matchMedia(`(min-width: ${this.breakpointPx()}px)`),this.isDesktop=this.mediaQueryList.matches,this.mediaQueryList.addEventListener?this.mediaQueryList.addEventListener("change",this.mqlChangeHandler):this.mediaQueryList.addListener&&this.mediaQueryList.addListener(this.mqlChangeHandler),await salla.lang.onLoaded()}disconnectedCallback(){this.mediaQueryList?.removeEventListener?this.mediaQueryList.removeEventListener("change",this.mqlChangeHandler):this.mediaQueryList?.removeListener&&this.mediaQueryList.removeListener(this.mqlChangeHandler)}tFirst(t,i){for(const s of t){const t=salla.lang.get(s,i);if(t&&t!==s)return t}return""}t(t,i){return this.tFirst([`pages.checkout.${t}`],i)}get canRedeem(){const t=salla.config.get("store.features",[]);return!salla.config.isGuest()&&t.includes("wallet-gift-card")&&t.includes("giftcard-redemption-form-enabled")}get isValidCode(){return/^[A-Z0-9]{16}$/.test(this.code)}get addLabel(){return this.t(this.redeemedOnce?"gift_card_add_another":"gift_card_add")}openModal(t){this.modalView=t,this.modal?.open?.(),"form"===t&&setTimeout((()=>this.field?.focus()),0)}toDate(t){if(!t)return null;const i="object"==typeof t?t.date??t.datetime??null:t;if("number"==typeof i){const t=new Date(i<1e12?1e3*i:i);return isNaN(t.getTime())?null:t}if("string"!=typeof i)return null;const s=new Date(i.replace(" ","T"));return isNaN(s.getTime())?null:s}expiryMonths(t){const i=this.toDate(t);if(!i)return null;const s=Math.round((i.getTime()-Date.now())/2630016e3);return s>0?s:null}formatMoney(t){try{return salla.money(t)||""}catch(t){return salla.logger?.warn?.("gift-card: could not format amount",t),""}}trackRedeem(t,i,s={}){salla.event.dispatch("giftcard::redeemed",{status:t,code:i?i.slice(0,4)+"X".repeat(Math.max(0,i.length-4)):"",...s})}async redeem(){if(this.pending||!this.isValidCode||!this.canRedeem)return;this.pending=!0,this.error=null;const t=this.code;try{const i=await salla.api.request("wallet/gift-card/redeem",{code:this.code},"post"),s=i?.data||{};this.code="",this.field&&(this.field.value=""),this.inlineForm=!1,this.redeemedOnce=!0,this.result=s,this.openModal("success"),this.giftCardRedeemed.emit(s),this.trackRedeem("success",t,{amount:s.amount,new_balance:s.new_balance,expires_at:s.expires_at})}catch(i){const s=i?.response?.data?.error?.fields;this.error=s?Object.values(s).flat().join(", "):i?.response?.data?.error?.message||this.t("gift_card_redeem_error"),this.inlineForm=!1,this.openModal("error"),this.trackRedeem("failed",t,{reason:this.error})}finally{this.pending=!1}}renderPrompt(){return s("div",{class:"s-gift-card-prompt"},s("div",{class:"s-gift-card-intro"},s("span",{class:"s-gift-card-mark"},s("i",{class:"sicon-gift","aria-hidden":"true"})),s("div",{class:"s-gift-card-copy"},s("p",{class:"s-gift-card-title"},this.t("gift_card_title")),s("p",{class:"s-gift-card-subtitle"},this.t("gift_card_subtitle")))),s("salla-button",{class:"s-gift-card-trigger",color:"primary",fill:"outline",onClick:this.start},s("span",null,this.addLabel)))}renderField(){return[s("label",{class:"s-gift-card-label",htmlFor:"gift_card_redeem_field"},this.tFirst(["pages.gift.code"])),s("input",{id:"gift_card_redeem_field",ref:t=>this.field=t,type:"text",maxlength:16,autocomplete:"off",class:"s-gift-card-input",value:this.code,disabled:this.pending,placeholder:this.t("gift_card_redeem_placeholder"),onInput:this.handleInput,onKeyUp:this.onKeyUp})]}renderSubmit(t=!1){return s("salla-button",{id:"gift_card_redeem_submit",color:"primary",width:t?"wide":"normal",loading:this.pending,"loader-position":"center",disabled:this.pending||!this.isValidCode,onClick:()=>this.redeem()},s("span",null,this.t("gift_card_redeem_confirm")))}renderInlineForm(){return s("div",{class:"s-gift-card-form"},s("div",{class:"s-gift-card-field"},this.renderField()),this.renderSubmit(),s("button",{type:"button",class:"s-gift-card-cancel",disabled:this.pending,onClick:this.cancel},this.t("gift_card_cancel")))}renderSheetForm(){return s("div",{class:"s-gift-card-sheet"},s("div",{class:"s-gift-card-field"},this.renderField()),this.renderSubmit(!0))}renderSuccess(){const t=this.formatMoney(this.result?.amount),i=this.expiryMonths(this.result?.expires_at),e=this.t("gift_card_success_title");return s("div",{class:"s-gift-card-result"},s("span",{class:"s-gift-card-result-mark s-gift-card-result-mark-success",innerHTML:'\n<svg viewBox="0 0 96 96" width="72" height="72" role="img" aria-hidden="true" xmlns="http://www.w3.org/2000/svg">\n \x3c!-- burst --\x3e\n <g fill="#F5C242">\n <path d="M48 8l3.2 7.6L59 18l-6.2 5.3L54 31l-6-4-6 4 1.2-7.7L37 18l7.8-2.4z"/>\n <path d="M71 26l1.9 4.4L77 32l-3.6 3 .7 4.5-4.1-2.3-4.1 2.3.7-4.5L63 32l4.1-1.6z"/>\n <path d="M25 26l1.9 4.4L31 32l-3.6 3 .7 4.5L24 37.2 19.9 39.5l.7-4.5L17 32l4.1-1.6z"/>\n </g>\n <g fill="#E4572E" opacity=".9">\n <circle cx="30" cy="18" r="2.4"/>\n <circle cx="66" cy="18" r="2.4"/>\n <circle cx="48" cy="44" r="2.2"/>\n </g>\n \x3c!-- lid --\x3e\n <rect x="20" y="46" width="56" height="12" rx="3" fill="#2E8B57"/>\n \x3c!-- box --\x3e\n <path d="M25 58h46v26a4 4 0 0 1-4 4H29a4 4 0 0 1-4-4z" fill="#3AA76D"/>\n \x3c!-- ribbon --\x3e\n <rect x="44" y="46" width="8" height="42" fill="#F5F7F6"/>\n <rect x="20" y="46" width="56" height="12" rx="3" fill="#2E8B57" opacity="0"/>\n <rect x="44" y="46" width="8" height="12" fill="#E9EFEB"/>\n</svg>\n'}),e&&s("h3",{class:"s-gift-card-result-title"},e),s("p",{class:"s-gift-card-result-text",innerHTML:i?this.tFirst(["pages.checkout.gift_card_success_body_expiring","pages.checkout.gift_card_success_body","pages.checkout.gift_card_redeem_success"],{amount:t,months:i}):this.tFirst(["pages.checkout.gift_card_success_body","pages.checkout.gift_card_redeem_success"],{amount:t})}),s("salla-button",{color:"primary",width:"wide",onClick:this.shopNow},s("span",null,this.tFirst(["pages.loyalty_program.shop_now"]))))}renderError(){return s("div",{class:"s-gift-card-result"},s("span",{class:"s-gift-card-result-mark s-gift-card-result-mark-error"},s("i",{class:"sicon-cancel","aria-hidden":"true"})),s("h3",{class:"s-gift-card-result-title"},this.tFirst(["pages.checkout.gift_card_failure_title","pages.checkout.gift_card_redeem_error"])),s("p",{class:"s-gift-card-result-text"},this.error))}render(){return this.canRedeem?s(e,{class:"s-gift-card"},s("div",{class:"s-gift-card-panel"},this.inlineForm&&this.isDesktop?this.renderInlineForm():this.renderPrompt()),s("salla-modal",{ref:t=>this.modal=t,class:"s-gift-card-modal",width:"sm",position:this.isDesktop?"middle":"bottom","modal-title":this.t("gift_card_redeem_label"),onModalVisibilityChanged:t=>{t.detail||(this.modalView=null)}},s("div",{class:"s-gift-card-modal-body"},"form"===this.modalView&&this.renderSheetForm(),"success"===this.modalView&&this.renderSuccess(),"error"===this.modalView&&this.renderError()))):null}};a.style='/*!twlt*/@charset "UTF-8";.s-gift-card{display:block;flex:1 1 auto;min-width:0}.s-gift-card-panel{height:100%;background:#fff;border-radius:12px;padding:20px;box-sizing:border-box}.s-gift-card-prompt{display:flex;flex-direction:column;align-items:stretch;gap:16px;height:100%}.s-gift-card-intro{display:flex;align-items:center;gap:12px}.s-gift-card-mark{flex:0 0 auto;width:48px;height:48px;border-radius:9999px;background:#fdecef;color:#e8637c;display:inline-flex;align-items:center;justify-content:center;font-size:22px}.s-gift-card-copy{min-width:0}.s-gift-card-title{margin:0;font-weight:700;font-size:15px;color:#1c1c1c}.s-gift-card-subtitle{margin:2px 0 0;font-size:12px;color:#9aa0a6}.s-gift-card-trigger{display:block}.s-gift-card-form{display:flex;align-items:flex-end;gap:12px}.s-gift-card-field{flex:1 1 auto;min-width:0}.s-gift-card-label{display:block;margin-bottom:6px;font-size:13px;font-weight:700;color:#1c1c1c}.s-gift-card-input{width:100%;height:44px;padding:0 14px;box-sizing:border-box;border:1px solid #e6e8eb;border-radius:8px;background:#fff;font-size:13px;color:#1c1c1c}.s-gift-card-input::placeholder{color:#b7bcc2}.s-gift-card-input:focus{outline:none;border-color:var(--color-primary, #2e8b57)}.s-gift-card-cancel{flex:0 0 auto;height:44px;padding:0 8px;border:0;background:none;color:#6b7280;font-size:13px;cursor:pointer}.s-gift-card-cancel:disabled{opacity:0.5;cursor:default}.s-gift-card-sheet{display:flex;flex-direction:column;gap:16px;padding-top:4px}.s-gift-card-result{display:flex;flex-direction:column;align-items:center;text-align:center;padding:12px 8px 8px}.s-gift-card-result-mark{width:120px;height:120px;border-radius:9999px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:20px}.s-gift-card-result-mark-success{background:#eaf7f0}.s-gift-card-result-mark-error{background:#fdeaea;color:#fff;font-size:34px}.s-gift-card-result-mark-error i{width:72px;height:72px;border-radius:9999px;background:#ea4b4b;display:inline-flex;align-items:center;justify-content:center}.s-gift-card-result-title{margin:0 0 10px;font-size:19px;font-weight:700;color:#1c1c1c}.s-gift-card-result-text{margin:0 0 22px;font-size:13px;line-height:1.7;color:#6b7280}@media screen and (min-width: 768px){.s-gift-card-panel{padding:22px 24px;display:flex;align-items:center}.s-gift-card-prompt{flex-direction:row;align-items:center;justify-content:space-between;gap:24px;width:100%}.s-gift-card-trigger{flex:0 0 auto}.s-gift-card-form{width:100%}.s-gift-card-result{padding:8px 24px 16px}}.inline{display:inline}.contents{display:contents}.resize{resize:both}.uppercase{text-transform:uppercase}.outline{outline-style:solid}';const l=class{constructor(i){t(this,i),this.theme="default",this.show=!1,this.targetElement=null}handleMouseOver(t){this.targetElement&&this.targetElement.contains(t.target)&&(this.show=!0)}handleMouseOut(t){this.targetElement&&this.targetElement.contains(t.target)&&(this.show=!1)}componentDidLoad(){this.targetElement=document.getElementById(this.targetId)}render(){const t=["default","dark"].includes(this.theme)?this.theme:"default";return s("div",{key:"d689900a8fdad37c6396eb55d8140b48f3eda8b8",class:"s-tooltip-container"},s("div",{key:"0ae14c42d03c5f81ce4f19fa90b0260a21ac1c1e",class:`s-tooltip-item s-tooltip-item--${t}`,style:{display:this.show?"block":"none"}},this.text?s("span",null,this.text):s("slot",null)))}get el(){return r(this)}};l.style='/*!twlt*/.s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-63%) translateY(-50%);background-color:var(--color-primary);color:var(--color-primary-reverse);bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:"";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--color-primary) transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}.block{display:block}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}';export{a as salla_gift_card_redeem,l as salla_tooltip}
4
+ import{r as t,c as i,h as s,H as e,a as r}from"./p-8Kr0yg20.js";const a=class{constructor(s){t(this,s),this.giftCardRedeemed=i(this,"giftCardRedeemed"),this.code="",this.inlineForm=!1,this.pending=!1,this.error=null,this.redeemedOnce=!1,this.isDesktop=!1,this.modalView=null,this.result=null,this.mediaQueryList=null,this.mqlChangeHandler=t=>{this.isDesktop=t.matches,"form"===this.modalView&&this.isDesktop?(this.modalView=null,this.inlineForm=!0):this.inlineForm&&!this.isDesktop&&(this.inlineForm=!1,this.openModal("form"))},this.closeModal=()=>{this.modalView=null,this.modal?.close?.()},this.start=()=>{if(this.error=null,this.code="",this.isDesktop)return this.inlineForm=!0,void setTimeout((()=>this.field?.focus()),0);this.openModal("form")},this.cancel=()=>{this.inlineForm=!1,this.code="",this.error=null,this.closeModal()},this.handleInput=t=>{const i=t.target;this.code=(i.value||"").toUpperCase().replace(/[^A-Z0-9]/g,"").slice(0,16),i.value=this.code,this.error=null},this.onKeyUp=t=>{"Enter"===t.key&&(t.preventDefault(),this.redeem())},this.shopNow=()=>{this.closeModal(),window.location.href=salla.url.get("/")}}breakpointPx(){return 768}async componentWillLoad(){await salla.onReady(),this.mediaQueryList=window.matchMedia(`(min-width: ${this.breakpointPx()}px)`),this.isDesktop=this.mediaQueryList.matches,this.mediaQueryList.addEventListener?this.mediaQueryList.addEventListener("change",this.mqlChangeHandler):this.mediaQueryList.addListener&&this.mediaQueryList.addListener(this.mqlChangeHandler),await salla.lang.onLoaded()}disconnectedCallback(){this.mediaQueryList?.removeEventListener?this.mediaQueryList.removeEventListener("change",this.mqlChangeHandler):this.mediaQueryList?.removeListener&&this.mediaQueryList.removeListener(this.mqlChangeHandler)}tFirst(t,i){for(const s of t){const t=salla.lang.get(s,i);if(t&&t!==s)return t}return""}t(t,i){return this.tFirst([`pages.checkout.${t}`],i)}get canRedeem(){const t=salla.config.get("store.features",[]);return!salla.config.isGuest()&&t.includes("wallet-gift-card")&&t.includes("giftcard-redemption-form-enabled")}get isValidCode(){return/^[A-Z0-9]{16}$/.test(this.code)}get addLabel(){return this.t(this.redeemedOnce?"gift_card_add_another":"gift_card_add")}openModal(t){this.modalView=t,this.modal?.open?.(),"form"===t&&setTimeout((()=>this.field?.focus()),0)}toDate(t){if(!t)return null;const i="object"==typeof t?t.date??t.datetime??null:t;if("number"==typeof i){const t=new Date(i<1e12?1e3*i:i);return isNaN(t.getTime())?null:t}if("string"!=typeof i)return null;const s=new Date(i.replace(" ","T"));return isNaN(s.getTime())?null:s}expiryMonths(t){const i=this.toDate(t);if(!i)return null;const s=Math.round((i.getTime()-Date.now())/2630016e3);return s>0?s:null}formatMoney(t){try{return salla.money(t)||""}catch(t){return salla.logger?.warn?.("gift-card: could not format amount",t),""}}trackRedeem(t,i,s={}){salla.event.dispatch("giftcard::redeemed",{status:t,code:i?i.slice(0,4)+"X".repeat(Math.max(0,i.length-4)):"",...s})}async redeem(){if(this.pending||!this.isValidCode||!this.canRedeem)return;this.pending=!0,this.error=null;const t=this.code;try{const i=await salla.api.request("wallet/gift-card/redeem",{code:this.code},"post"),s=i?.data||{};this.code="",this.field&&(this.field.value=""),this.inlineForm=!1,this.redeemedOnce=!0,this.result=s,this.openModal("success"),this.giftCardRedeemed.emit(s),this.trackRedeem("success",t,{amount:s.amount,new_balance:s.new_balance,expires_at:s.expires_at})}catch(i){const s=i?.response?.data?.error?.fields;this.error=s?Object.values(s).flat().join(", "):i?.response?.data?.error?.message||this.t("gift_card_redeem_error"),this.inlineForm=!1,this.openModal("error"),this.trackRedeem("failed",t,{reason:this.error})}finally{this.pending=!1}}renderPrompt(){return s("div",{class:"s-gift-card-prompt"},s("div",{class:"s-gift-card-intro"},s("span",{class:"s-gift-card-mark"},s("i",{class:"sicon-gift","aria-hidden":"true"})),s("div",{class:"s-gift-card-copy"},s("p",{class:"s-gift-card-title"},this.t("gift_card_title")),s("p",{class:"s-gift-card-subtitle"},this.t("gift_card_subtitle")))),s("salla-button",{class:"s-gift-card-trigger",color:"primary",fill:"outline",onClick:this.start},s("span",null,this.addLabel)))}renderField(){return[s("label",{class:"s-gift-card-label",htmlFor:"gift_card_redeem_field"},this.tFirst(["pages.gift.code"])),s("input",{id:"gift_card_redeem_field",ref:t=>this.field=t,type:"text",maxlength:16,autocomplete:"off",class:"s-gift-card-input",value:this.code,disabled:this.pending,placeholder:this.t("gift_card_redeem_placeholder"),onInput:this.handleInput,onKeyUp:this.onKeyUp})]}renderSubmit(t=!1){return s("salla-button",{id:"gift_card_redeem_submit",color:"primary",width:t?"wide":"normal",loading:this.pending,"loader-position":"center",disabled:this.pending||!this.isValidCode,onClick:()=>this.redeem()},s("span",null,this.t("gift_card_redeem_confirm")))}renderInlineForm(){return s("div",{class:"s-gift-card-form"},s("div",{class:"s-gift-card-field"},this.renderField()),this.renderSubmit(),s("button",{type:"button",class:"s-gift-card-cancel",disabled:this.pending,onClick:this.cancel},this.t("gift_card_cancel")))}renderSheetForm(){return s("div",{class:"s-gift-card-sheet"},s("div",{class:"s-gift-card-field"},this.renderField()),this.renderSubmit(!0))}renderSuccess(){const t=this.formatMoney(this.result?.amount),i=this.expiryMonths(this.result?.expires_at),e=this.t("gift_card_success_title");return s("div",{class:"s-gift-card-result"},s("span",{class:"s-gift-card-result-mark s-gift-card-result-mark-success",innerHTML:'\n<svg viewBox="0 0 96 96" width="72" height="72" role="img" aria-hidden="true" xmlns="http://www.w3.org/2000/svg">\n \x3c!-- burst --\x3e\n <g fill="#F5C242">\n <path d="M48 8l3.2 7.6L59 18l-6.2 5.3L54 31l-6-4-6 4 1.2-7.7L37 18l7.8-2.4z"/>\n <path d="M71 26l1.9 4.4L77 32l-3.6 3 .7 4.5-4.1-2.3-4.1 2.3.7-4.5L63 32l4.1-1.6z"/>\n <path d="M25 26l1.9 4.4L31 32l-3.6 3 .7 4.5L24 37.2 19.9 39.5l.7-4.5L17 32l4.1-1.6z"/>\n </g>\n <g fill="#E4572E" opacity=".9">\n <circle cx="30" cy="18" r="2.4"/>\n <circle cx="66" cy="18" r="2.4"/>\n <circle cx="48" cy="44" r="2.2"/>\n </g>\n \x3c!-- lid --\x3e\n <rect x="20" y="46" width="56" height="12" rx="3" fill="#2E8B57"/>\n \x3c!-- box --\x3e\n <path d="M25 58h46v26a4 4 0 0 1-4 4H29a4 4 0 0 1-4-4z" fill="#3AA76D"/>\n \x3c!-- ribbon --\x3e\n <rect x="44" y="46" width="8" height="42" fill="#F5F7F6"/>\n <rect x="20" y="46" width="56" height="12" rx="3" fill="#2E8B57" opacity="0"/>\n <rect x="44" y="46" width="8" height="12" fill="#E9EFEB"/>\n</svg>\n'}),e&&s("h3",{class:"s-gift-card-result-title"},e),s("p",{class:"s-gift-card-result-text",innerHTML:i?this.tFirst(["pages.checkout.gift_card_success_body_expiring","pages.checkout.gift_card_success_body","pages.checkout.gift_card_redeem_success"],{amount:t,months:i}):this.tFirst(["pages.checkout.gift_card_success_body","pages.checkout.gift_card_redeem_success"],{amount:t})}),s("salla-button",{color:"primary",width:"wide",onClick:this.shopNow},s("span",null,this.tFirst(["pages.loyalty_program.shop_now"]))))}renderError(){return s("div",{class:"s-gift-card-result"},s("span",{class:"s-gift-card-result-mark s-gift-card-result-mark-error"},s("i",{class:"sicon-cancel","aria-hidden":"true"})),s("h3",{class:"s-gift-card-result-title"},this.tFirst(["pages.checkout.gift_card_failure_title","pages.checkout.gift_card_redeem_error"])),s("p",{class:"s-gift-card-result-text"},this.error))}render(){return this.canRedeem?s(e,{class:"s-gift-card"},s("div",{class:"s-gift-card-panel"},this.inlineForm&&this.isDesktop?this.renderInlineForm():this.renderPrompt()),s("salla-modal",{ref:t=>this.modal=t,class:"s-gift-card-modal",width:"sm",position:this.isDesktop?"middle":"bottom","modal-title":this.t("gift_card_redeem_label"),onModalVisibilityChanged:t=>{t.detail||(this.modalView=null)}},s("div",{class:"s-gift-card-modal-body"},"form"===this.modalView&&this.renderSheetForm(),"success"===this.modalView&&this.renderSuccess(),"error"===this.modalView&&this.renderError()))):null}};a.style='/*!twlt*/@charset "UTF-8";.s-gift-card{display:block;flex:1 1 auto;min-width:0}.s-gift-card-panel{height:100%;background:#fff;border-radius:12px;padding:20px;box-sizing:border-box}.s-gift-card-prompt{display:flex;flex-direction:column;align-items:stretch;gap:16px;height:100%}.s-gift-card-intro{display:flex;align-items:center;gap:12px}.s-gift-card-mark{flex:0 0 auto;width:48px;height:48px;border-radius:9999px;background:#fdecef;color:#e8637c;display:inline-flex;align-items:center;justify-content:center;font-size:22px}.s-gift-card-copy{min-width:0}.s-gift-card-title{margin:0;font-weight:700;font-size:15px;color:#1c1c1c}.s-gift-card-subtitle{margin:2px 0 0;font-size:12px;color:#9aa0a6}.s-gift-card-trigger{display:block}.s-gift-card-form{display:flex;align-items:flex-end;gap:12px}.s-gift-card-field{flex:1 1 auto;min-width:0}.s-gift-card-label{display:block;margin-bottom:6px;font-size:13px;font-weight:700;color:#1c1c1c}.s-gift-card-input{width:100%;height:44px;padding:0 14px;box-sizing:border-box;border:1px solid #e6e8eb;border-radius:8px;background:#fff;font-size:13px;color:#1c1c1c}.s-gift-card-input::placeholder{color:#b7bcc2}.s-gift-card-input:focus{outline:none;border-color:var(--color-primary, #2e8b57)}.s-gift-card-cancel{flex:0 0 auto;height:44px;padding:0 8px;border:0;background:none;color:#6b7280;font-size:13px;cursor:pointer}.s-gift-card-cancel:disabled{opacity:0.5;cursor:default}.s-gift-card-sheet{display:flex;flex-direction:column;gap:16px;padding-top:4px}.s-gift-card-result{display:flex;flex-direction:column;align-items:center;text-align:center;padding:12px 8px 8px}.s-gift-card-result-mark{width:120px;height:120px;border-radius:9999px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:20px}.s-gift-card-result-mark-success{background:#eaf7f0}.s-gift-card-result-mark-error{background:#fdeaea;color:#fff;font-size:34px}.s-gift-card-result-mark-error i{width:72px;height:72px;border-radius:9999px;background:#ea4b4b;display:inline-flex;align-items:center;justify-content:center}.s-gift-card-result-title{margin:0 0 10px;font-size:19px;font-weight:700;color:#1c1c1c}.s-gift-card-result-text{margin:0 0 22px;font-size:13px;line-height:1.7;color:#6b7280}@media screen and (min-width: 768px){.s-gift-card-panel{padding:22px 24px;display:flex;align-items:center}.s-gift-card-prompt{flex-direction:row;align-items:center;justify-content:space-between;gap:24px;width:100%}.s-gift-card-trigger{flex:0 0 auto}.s-gift-card-form{width:100%}.s-gift-card-result{padding:8px 24px 16px}}.inline{display:inline}.contents{display:contents}.resize{resize:both}.uppercase{text-transform:uppercase}.outline{outline-style:solid}';const l=class{constructor(i){t(this,i),this.theme="default",this.show=!1,this.targetElement=null}handleMouseOver(t){this.targetElement&&this.targetElement.contains(t.target)&&(this.show=!0)}handleMouseOut(t){this.targetElement&&this.targetElement.contains(t.target)&&(this.show=!1)}componentDidLoad(){this.targetElement=document.getElementById(this.targetId)}render(){const t=["default","dark"].includes(this.theme)?this.theme:"default";return s("div",{key:"d689900a8fdad37c6396eb55d8140b48f3eda8b8",class:"s-tooltip-container"},s("div",{key:"0ae14c42d03c5f81ce4f19fa90b0260a21ac1c1e",class:`s-tooltip-item s-tooltip-item--${t}`,style:{display:this.show?"block":"none"}},this.text?s("span",null,this.text):s("slot",null)))}get el(){return r(this)}};l.style='/*!twlt*/.s-tooltip-container{position:relative;display:inline-block}.s-tooltip-item{position:absolute;transform:translateX(-63%) translateY(-50%);background-color:var(--color-primary);color:var(--color-primary-reverse);bottom:100%;left:50%;text-align:center;border-radius:5px;z-index:1;white-space:nowrap;transition:opacity 0.3s;pointer-events:none;margin:0 0 16px 8px;padding:12px;max-width:150px;width:190px;white-space:normal;opacity:1}.s-tooltip-item::after{content:"";position:absolute;bottom:-10px;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:var(--color-primary) transparent transparent transparent}.s-tooltip-item:dir(ltr){transform:translateX(-72%)}.s-tooltip-item--dark{background-color:#555555;color:white;padding:5px 15px;border-radius:8px;font-size:12px;font-weight:normal;max-width:330px;width:max-content}.s-tooltip-item--dark::after{border-color:#555555 transparent transparent transparent}.block{display:block}.shadow{--tw-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}';export{a as salla_gift_card_redeem,l as salla_tooltip}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{r as e,h as r,H as t}from"./p-C670SYee.js";const a=250,o={customer:"أُلغي الطلب من قِبل العميل",merchant:"أُلغي الطلب من قِبل المتجر"},l=[["pages.orders.cancel_modal_title","إلغاء الطلب","Cancel order"],["pages.orders.cancel_reason_title","لماذا ترغب في إلغاء الطلب؟","Why do you want to cancel this order?"],["pages.orders.cancel_reason_subtitle","ساعدنا نعرف السبب لتحسين تجربتك.","Help us understand why to improve your experience."],["pages.orders.cancel_reason_confirm","تأكيد إلغاء الطلب","Confirm order cancellation"],["pages.orders.cancel_reason_back","تراجع","Go back"],["pages.orders.cancel_reason_note_placeholder","اذكر السبب","Mention the reason"],["pages.orders.cancelled_by_customer",o.customer,"Order cancelled by the customer"],["pages.orders.cancelled_by_merchant",o.merchant,"Order cancelled by the merchant"],["pages.orders.cancel_reason_char_limit","يتجاوز النص حد الأحرف المسموح","Text exceeds the allowed character limit"]],s=e=>{if(!e)return null;try{const r="string"==typeof e?JSON.parse(e):e;return r&&"object"==typeof r?r:null}catch{return null}},i=e=>e.filter((e=>!1!==e.is_active)).sort(((e,r)=>(e.sort??0)-(r.sort??0))),n=class{constructor(r){e(this,r),this.reasons=[],this.selectedReasonId=null,this.reasonNote="",this.confirmLoading=!1,this.loading=!0,this.modalTitleLabel="",this.questionLabel="",this.subtitleLabel="",this.confirmLabel="",this.backLabel="",this.notePlaceholder="",this.charLimitLabel="",salla.lang.onLoaded((()=>{const e=salla.lang.messages?.["ar.trans"],r=salla.lang.messages?.["en.trans"];if(e&&r&&salla.helpers?.setNested)for(const[t,a,o]of l)salla.helpers.setNested(e,t,a),salla.helpers.setNested(r,t,o);this.refreshLabels()}))}onCancellationReasonsChange(){this.load()}async componentWillLoad(){await salla.onReady(),this.refreshLabels(),await this.load()}refreshLabels(){const e=(e,r)=>salla.lang.getWithDefault(e,r);this.modalTitleLabel=e("pages.orders.cancel_modal_title","إلغاء الطلب"),this.questionLabel=e("pages.orders.cancel_reason_title","لماذا ترغب في إلغاء الطلب؟"),this.subtitleLabel=e("pages.orders.cancel_reason_subtitle","ساعدنا نعرف السبب لتحسين تجربتك."),this.confirmLabel=e("pages.orders.cancel_reason_confirm","تأكيد إلغاء الطلب"),this.backLabel=e("pages.orders.cancel_reason_back","تراجع"),this.notePlaceholder=e("pages.orders.cancel_reason_note_placeholder","اذكر السبب"),this.charLimitLabel=e("pages.orders.cancel_reason_char_limit","يتجاوز النص حد الأحرف المسموح")}get resolvedOrderId(){const e=this.orderId??this.pageOrder?.id??salla.config.get("page.id"),r=Number(e);return Number.isFinite(r)?r:e}readPageOrder(){const e=document.querySelector("salla-order-totals-card");return e?s(e.order??e.getAttribute("order")):null}waitForPageOrder(){const e=this.readPageOrder();return e?Promise.resolve(e):"undefined"==typeof MutationObserver?Promise.resolve().then((()=>this.readPageOrder())):new Promise((e=>{let r=!1;const t=()=>{r||(r=!0,o.disconnect(),clearTimeout(l),e(this.readPageOrder()))},a=document.querySelector("salla-order-totals-card"),o=new MutationObserver(t);o.observe(a??document.documentElement,a?{attributes:!0,attributeFilter:["order"]}:{childList:!0,subtree:!0,attributes:!0,attributeFilter:["order"]});const l=setTimeout(t,2500)}))}cancelledByLabel(e){return salla.lang.getWithDefault(`pages.orders.cancelled_by_${e}`,o[e])}mountCancelledHeader(e=0){const r=this.orderCancelledReason,t=r?.reasons[0];if(!t||document.querySelector("[data-salla-order-cancelled-reason]"))return;const a=document.querySelector("td.single-order-header-item:not(.flex)");if(!a)return void(e<20&&requestAnimationFrame((()=>this.mountCancelledHeader(e+1))));const o=document.createElement("td");o.className="s-order-cancel-cancelled-header-item",o.setAttribute("data-salla-order-cancelled-reason","");const l=document.createElement("div");l.className="s-order-cancel-cancelled-header-label",l.textContent=this.cancelledByLabel(r.cancelled_by);const s=document.createElement("b");s.className="s-order-cancel-cancelled-header-reason",s.textContent=t,s.title=t,o.append(l,s),a.insertAdjacentElement("afterend",o)}purgeLegacyModal(){if(this.reasons.length)for(const e of document.querySelectorAll("salla-modal#modal-order-cancel:not([data-salla-order-cancel])"))e.remove()}applyPageOrder(e){this.pageOrder=e,this.orderCancelledReason=(e=>{const r=s(e),t=Array.isArray(r?.reasons)?r.reasons.filter((e=>"string"==typeof e&&e.length>0)):[];return t.length?{cancelled_by:"merchant"===r?.cancelled_by?"merchant":"customer",reasons:t}:null})(e.order_cancelled_reason)??void 0}async load(){this.loading=!0;try{const e=(e=>{if(null==e||""===e)return null;const r="string"==typeof e?s(e):e;return Array.isArray(r)&&r.length?r:null})(this.cancellationReasons);if(!this.pageOrder){const e=this.readPageOrder();e&&this.applyPageOrder(e)}if(this.pageOrder||e)this.pageOrder||this.waitForPageOrder().then((e=>{e&&(this.applyPageOrder(e),this.mountCancelledHeader())}));else{const e=await this.waitForPageOrder();e&&this.applyPageOrder(e)}const r=this.pageOrder;this.reasons=e?i(e):r?i(Array.isArray(r.cancellation_reasons)?r.cancellation_reasons:[]):[]}finally{this.loading=!1,this.purgeLegacyModal(),this.mountCancelledHeader()}}reasonLabel(e){const r=salla.lang.getLocale?.()||"ar";return e.translations?.[r]?.name||e.name}get hasOtherSelected(){return null!==this.selectedReasonId&&this.reasons.some((e=>e.id===this.selectedReasonId&&"other"===e.slug))}get canConfirm(){if(null===this.selectedReasonId)return!1;if(!this.hasOtherSelected)return!0;const e=this.reasonNote.trim().length;return e>0&&e<=a}selectReason(e){if(this.selectedReasonId===e)return"other"===this.reasons.find((r=>r.id===e))?.slug&&(this.reasonNote=""),void(this.selectedReasonId=null);if("other"===this.reasons.find((e=>e.id===this.selectedReasonId))?.slug&&(this.reasonNote=""),this.selectedReasonId=e,this.reasons.length&&this.reasons[this.reasons.length-1].id===e){const r=setTimeout((()=>{requestAnimationFrame((()=>{document.getElementById(`s-order-cancel-reason-${e}`)?.scrollIntoView({block:"start",behavior:"smooth"});const t=document.querySelector(".s-order-cancel-textarea");t?.focus(),clearTimeout(r)}))}),200)}}resetForm(){this.selectedReasonId=null,this.reasonNote="",this.confirmLoading=!1}setReasonNote(e){this.reasonNote=e.target.value}onKeyActivate(e,r){"Enter"!==e.key&&" "!==e.key||r()}async confirmCancel(){if(this.canConfirm&&!this.confirmLoading){this.confirmLoading=!0;try{const e=this.hasOtherSelected?this.reasonNote.trim():"",r={reasons:[String(this.selectedReasonId)],...e&&{reason_note:e}};await salla.order.api.cancel(this.resolvedOrderId,r),window.location.reload()}catch{this.confirmLoading=!1}}}render(){return this.loading||!this.reasons.length?r(t,{class:"s-order-cancel-wrapper"}):r(t,{class:"s-order-cancel-wrapper"},r("salla-modal",{id:"modal-order-cancel",class:"s-order-cancel-modal","data-salla-order-cancel":"",ref:e=>{this.modal=e,e?.setTitle?.(this.modalTitleLabel)},width:"sm",onModalVisibilityChanged:e=>!e.detail&&this.resetForm()},r("div",{class:"s-order-cancel-content"},r("div",{class:"s-order-cancel-intro"},r("p",{class:"s-order-cancel-heading"},this.questionLabel),r("p",{class:"s-order-cancel-subtitle"},this.subtitleLabel)),r("div",{class:"s-order-cancel-reasons s-scrollbar"},this.reasons.map((e=>{const t=`s-order-cancel-reason-${e.id}`;return r("label",{key:e.id,class:"s-order-cancel-reason",htmlFor:t},r("input",{type:"radio",name:"cancellation_reason",id:t,class:"s-order-cancel-radio s-radio",checked:this.selectedReasonId===e.id,onChange:()=>this.selectReason(e.id)}),r("span",{class:"s-order-cancel-reason-label"},this.reasonLabel(e)))}))),this.hasOtherSelected&&r("div",{class:"s-order-cancel-other-field"},r("textarea",{class:"s-order-cancel-textarea",placeholder:this.notePlaceholder,value:this.reasonNote,onInput:e=>this.setReasonNote(e)}),r("p",{class:{"s-order-cancel-counter":!0,"s-order-cancel-counter--limit":this.reasonNote.length>=a}},this.reasonNote.length>=a&&`${this.charLimitLabel} `,a,"/",this.reasonNote.length)),r("div",{class:"s-order-cancel-actions"},r("salla-button",{color:"primary",class:"w-full",width:"wide",disabled:!this.canConfirm,loading:this.confirmLoading,onClick:()=>this.confirmCancel(),onKeyDown:e=>this.onKeyActivate(e,(()=>this.confirmCancel()))},this.confirmLabel),r("salla-button",{class:"w-full",width:"wide",fill:"outline",color:"gray",onClick:()=>this.modal?.close(),onKeyDown:e=>this.onKeyActivate(e,(()=>this.modal?.close()))},this.backLabel)))))}static get watchers(){return{cancellationReasons:["onCancellationReasonsChange"]}}};n.style='/*!twlt*/.s-order-cancel-reason .s-order-cancel-radio::before,.s-order-cancel-reason .s-radio::before{content:"";width:10px;height:10px;border-radius:50%;transform:scale(0);transition:120ms transform ease-in-out;background-color:#fff;box-shadow:inset 1em 1em #fff}.s-order-cancel-reason .s-order-cancel-radio:checked::before,.s-order-cancel-reason .s-radio:checked::before{transform:scale(1);background-color:var(--color-primary);box-shadow:inset 1em 1em var(--color-primary)}.block{display:block}.flex{display:flex}.table{display:table}.w-full{width:100%}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.s-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}salla-modal.s-order-cancel-modal .s-modal-body{display:inline-flex;max-height:100svh;flex-direction:column;overflow:hidden;text-align:start}@media (min-width: 768px){salla-modal.s-order-cancel-modal .s-modal-body{max-height:92svh}}salla-modal.s-order-cancel-modal .s-modal-header{width:100%;flex-shrink:0;align-items:flex-start;text-align:start}salla-modal.s-order-cancel-modal .s-modal-header-inner{margin-bottom:1.25rem;display:block !important;width:100%;padding-inline-end:2.5rem;padding-inline-start:0px;text-align:start}@media (min-width: 768px){salla-modal.s-order-cancel-modal .s-modal-header-inner{padding:0px}}salla-modal.s-order-cancel-modal .s-modal-header-inner:where([dir="rtl"],[dir="rtl"] *){padding-inline-start:2.5rem;padding-inline-end:0px}salla-modal.s-order-cancel-modal .s-modal-header-content{width:100%;align-items:flex-start;text-align:start}salla-modal.s-order-cancel-modal .s-modal-title{margin-bottom:0px;width:100%;text-align:start;font-size:1.125rem;line-height:1.75rem;font-weight:700;--tw-text-opacity:1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.s-order-cancel-cancelled-header-item{display:flex;width:100%;min-width:0px;align-items:center;justify-content:space-between;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;font-size:0.875rem;line-height:1.25rem}@media (min-width: 768px){.s-order-cancel-cancelled-header-item{display:table-cell;width:auto;max-width:14rem;padding-left:1.5rem;padding-right:1.5rem;padding-top:1rem;padding-bottom:1rem}}.s-order-cancel-cancelled-header-label{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-weight:400;--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.s-order-cancel-cancelled-header-label:where([dir="ltr"],[dir="ltr"] *){margin-right:0.5rem}.s-order-cancel-cancelled-header-label:where([dir="rtl"],[dir="rtl"] *){margin-left:0.5rem}.s-order-cancel-cancelled-header-reason{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;display:block;overflow-wrap:break-word;font-weight:700}.s-order-cancel-wrapper{display:block}.s-order-cancel-content{display:flex;min-height:0px;width:100%;flex:1 1 0%;flex-direction:column;gap:1.5rem;overflow:hidden;text-align:start}.s-order-cancel-intro{display:flex;width:100%;flex-shrink:0;flex-direction:column;gap:0.5rem}.s-order-cancel-heading{font-size:1rem;font-weight:700;line-height:1.5rem;--tw-text-opacity:1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.s-order-cancel-subtitle{font-size:0.875rem;line-height:1.25rem;font-weight:400;line-height:1.5;--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.s-order-cancel-reasons{display:flex;min-height:0px;width:100%;flex:1 1 0%;flex-direction:column;gap:1rem;overflow-y:auto;padding-left:0.25rem;padding-right:0.25rem;padding-top:0.5rem;padding-bottom:0.5rem}.s-order-cancel-reason{display:flex;width:100%;cursor:pointer;align-items:center;gap:0.5rem;accent-color:var(--color-primary)}.s-order-cancel-reason-label{flex:1 1 0%;text-align:start;font-size:0.875rem;font-weight:500;line-height:1.25rem;--tw-text-opacity:1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.s-order-cancel-radio{margin:0px;display:grid;height:1.25rem;width:1.25rem;min-width:1.25rem;flex-shrink:0;cursor:pointer;appearance:none;place-content:center;border-radius:9999px;border-width:1px;border-color:var(--color-primary);--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.s-order-cancel-radio:checked{border-color:var(--color-primary);--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.s-order-cancel-radio:focus-visible{border-color:var(--color-primary);outline-color:var(--color-primary)}.s-order-cancel-radio:focus-visible:checked{border-color:var(--color-primary);outline-color:var(--color-primary)}.s-order-cancel-other-field{display:flex;width:100%;flex-shrink:0;flex-direction:column;gap:0.25rem}.s-order-cancel-textarea{min-height:6rem;width:100%;resize:none;text-align:start}.has-error .s-order-cancel-textarea{border-color:#ff443a;color:#ff443a}.s-order-cancel-textarea{display:block;width:100%;border-radius:var(--s-radius, 0.25rem);border-width:1px;--tw-border-opacity:1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:0.5rem;font-size:0.875rem;line-height:1.25rem;--tw-text-opacity:1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.s-order-cancel-textarea:focus{border-color:var(--color-primary);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}.s-order-cancel-counter{text-align:end;font-size:0.75rem;line-height:1rem;--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.s-order-cancel-counter--limit{--tw-text-opacity:1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.s-order-cancel-actions{display:flex;width:100%;flex-shrink:0;flex-direction:column;gap:1rem;padding-top:0px}';export{n as salla_order_cancel}
4
+ import{r as e,h as r,H as t}from"./p-8Kr0yg20.js";const a=250,o={customer:"أُلغي الطلب من قِبل العميل",merchant:"أُلغي الطلب من قِبل المتجر"},l=[["pages.orders.cancel_modal_title","إلغاء الطلب","Cancel order"],["pages.orders.cancel_reason_title","لماذا ترغب في إلغاء الطلب؟","Why do you want to cancel this order?"],["pages.orders.cancel_reason_subtitle","ساعدنا نعرف السبب لتحسين تجربتك.","Help us understand why to improve your experience."],["pages.orders.cancel_reason_confirm","تأكيد إلغاء الطلب","Confirm order cancellation"],["pages.orders.cancel_reason_back","تراجع","Go back"],["pages.orders.cancel_reason_note_placeholder","اذكر السبب","Mention the reason"],["pages.orders.cancelled_by_customer",o.customer,"Order cancelled by the customer"],["pages.orders.cancelled_by_merchant",o.merchant,"Order cancelled by the merchant"],["pages.orders.cancel_reason_char_limit","يتجاوز النص حد الأحرف المسموح","Text exceeds the allowed character limit"]],s=e=>{if(!e)return null;try{const r="string"==typeof e?JSON.parse(e):e;return r&&"object"==typeof r?r:null}catch{return null}},i=e=>e.filter((e=>!1!==e.is_active)).sort(((e,r)=>(e.sort??0)-(r.sort??0))),n=class{constructor(r){e(this,r),this.reasons=[],this.selectedReasonId=null,this.reasonNote="",this.confirmLoading=!1,this.loading=!0,this.modalTitleLabel="",this.questionLabel="",this.subtitleLabel="",this.confirmLabel="",this.backLabel="",this.notePlaceholder="",this.charLimitLabel="",salla.lang.onLoaded((()=>{const e=salla.lang.messages?.["ar.trans"],r=salla.lang.messages?.["en.trans"];if(e&&r&&salla.helpers?.setNested)for(const[t,a,o]of l)salla.helpers.setNested(e,t,a),salla.helpers.setNested(r,t,o);this.refreshLabels()}))}onCancellationReasonsChange(){this.load()}async componentWillLoad(){await salla.onReady(),this.refreshLabels(),await this.load()}refreshLabels(){const e=(e,r)=>salla.lang.getWithDefault(e,r);this.modalTitleLabel=e("pages.orders.cancel_modal_title","إلغاء الطلب"),this.questionLabel=e("pages.orders.cancel_reason_title","لماذا ترغب في إلغاء الطلب؟"),this.subtitleLabel=e("pages.orders.cancel_reason_subtitle","ساعدنا نعرف السبب لتحسين تجربتك."),this.confirmLabel=e("pages.orders.cancel_reason_confirm","تأكيد إلغاء الطلب"),this.backLabel=e("pages.orders.cancel_reason_back","تراجع"),this.notePlaceholder=e("pages.orders.cancel_reason_note_placeholder","اذكر السبب"),this.charLimitLabel=e("pages.orders.cancel_reason_char_limit","يتجاوز النص حد الأحرف المسموح")}get resolvedOrderId(){const e=this.orderId??this.pageOrder?.id??salla.config.get("page.id"),r=Number(e);return Number.isFinite(r)?r:e}readPageOrder(){const e=document.querySelector("salla-order-totals-card");return e?s(e.order??e.getAttribute("order")):null}waitForPageOrder(){const e=this.readPageOrder();return e?Promise.resolve(e):"undefined"==typeof MutationObserver?Promise.resolve().then((()=>this.readPageOrder())):new Promise((e=>{let r=!1;const t=()=>{r||(r=!0,o.disconnect(),clearTimeout(l),e(this.readPageOrder()))},a=document.querySelector("salla-order-totals-card"),o=new MutationObserver(t);o.observe(a??document.documentElement,a?{attributes:!0,attributeFilter:["order"]}:{childList:!0,subtree:!0,attributes:!0,attributeFilter:["order"]});const l=setTimeout(t,2500)}))}cancelledByLabel(e){return salla.lang.getWithDefault(`pages.orders.cancelled_by_${e}`,o[e])}mountCancelledHeader(e=0){const r=this.orderCancelledReason,t=r?.reasons[0];if(!t||document.querySelector("[data-salla-order-cancelled-reason]"))return;const a=document.querySelector("td.single-order-header-item:not(.flex)");if(!a)return void(e<20&&requestAnimationFrame((()=>this.mountCancelledHeader(e+1))));const o=document.createElement("td");o.className="s-order-cancel-cancelled-header-item",o.setAttribute("data-salla-order-cancelled-reason","");const l=document.createElement("div");l.className="s-order-cancel-cancelled-header-label",l.textContent=this.cancelledByLabel(r.cancelled_by);const s=document.createElement("b");s.className="s-order-cancel-cancelled-header-reason",s.textContent=t,s.title=t,o.append(l,s),a.insertAdjacentElement("afterend",o)}purgeLegacyModal(){if(this.reasons.length)for(const e of document.querySelectorAll("salla-modal#modal-order-cancel:not([data-salla-order-cancel])"))e.remove()}applyPageOrder(e){this.pageOrder=e,this.orderCancelledReason=(e=>{const r=s(e),t=Array.isArray(r?.reasons)?r.reasons.filter((e=>"string"==typeof e&&e.length>0)):[];return t.length?{cancelled_by:"merchant"===r?.cancelled_by?"merchant":"customer",reasons:t}:null})(e.order_cancelled_reason)??void 0}async load(){this.loading=!0;try{const e=(e=>{if(null==e||""===e)return null;const r="string"==typeof e?s(e):e;return Array.isArray(r)&&r.length?r:null})(this.cancellationReasons);if(!this.pageOrder){const e=this.readPageOrder();e&&this.applyPageOrder(e)}if(this.pageOrder||e)this.pageOrder||this.waitForPageOrder().then((e=>{e&&(this.applyPageOrder(e),this.mountCancelledHeader())}));else{const e=await this.waitForPageOrder();e&&this.applyPageOrder(e)}const r=this.pageOrder;this.reasons=e?i(e):r?i(Array.isArray(r.cancellation_reasons)?r.cancellation_reasons:[]):[]}finally{this.loading=!1,this.purgeLegacyModal(),this.mountCancelledHeader()}}reasonLabel(e){const r=salla.lang.getLocale?.()||"ar";return e.translations?.[r]?.name||e.name}get hasOtherSelected(){return null!==this.selectedReasonId&&this.reasons.some((e=>e.id===this.selectedReasonId&&"other"===e.slug))}get canConfirm(){if(null===this.selectedReasonId)return!1;if(!this.hasOtherSelected)return!0;const e=this.reasonNote.trim().length;return e>0&&e<=a}selectReason(e){if(this.selectedReasonId===e)return"other"===this.reasons.find((r=>r.id===e))?.slug&&(this.reasonNote=""),void(this.selectedReasonId=null);if("other"===this.reasons.find((e=>e.id===this.selectedReasonId))?.slug&&(this.reasonNote=""),this.selectedReasonId=e,this.reasons.length&&this.reasons[this.reasons.length-1].id===e){const r=setTimeout((()=>{requestAnimationFrame((()=>{document.getElementById(`s-order-cancel-reason-${e}`)?.scrollIntoView({block:"start",behavior:"smooth"});const t=document.querySelector(".s-order-cancel-textarea");t?.focus(),clearTimeout(r)}))}),200)}}resetForm(){this.selectedReasonId=null,this.reasonNote="",this.confirmLoading=!1}setReasonNote(e){this.reasonNote=e.target.value}onKeyActivate(e,r){"Enter"!==e.key&&" "!==e.key||r()}async confirmCancel(){if(this.canConfirm&&!this.confirmLoading){this.confirmLoading=!0;try{const e=this.hasOtherSelected?this.reasonNote.trim():"",r={reasons:[String(this.selectedReasonId)],...e&&{reason_note:e}};await salla.order.api.cancel(this.resolvedOrderId,r),window.location.reload()}catch{this.confirmLoading=!1}}}render(){return this.loading||!this.reasons.length?r(t,{class:"s-order-cancel-wrapper"}):r(t,{class:"s-order-cancel-wrapper"},r("salla-modal",{id:"modal-order-cancel",class:"s-order-cancel-modal","data-salla-order-cancel":"",ref:e=>{this.modal=e,e?.setTitle?.(this.modalTitleLabel)},width:"sm",onModalVisibilityChanged:e=>!e.detail&&this.resetForm()},r("div",{class:"s-order-cancel-content"},r("div",{class:"s-order-cancel-intro"},r("p",{class:"s-order-cancel-heading"},this.questionLabel),r("p",{class:"s-order-cancel-subtitle"},this.subtitleLabel)),r("div",{class:"s-order-cancel-reasons s-scrollbar"},this.reasons.map((e=>{const t=`s-order-cancel-reason-${e.id}`;return r("label",{key:e.id,class:"s-order-cancel-reason",htmlFor:t},r("input",{type:"radio",name:"cancellation_reason",id:t,class:"s-order-cancel-radio s-radio",checked:this.selectedReasonId===e.id,onChange:()=>this.selectReason(e.id)}),r("span",{class:"s-order-cancel-reason-label"},this.reasonLabel(e)))}))),this.hasOtherSelected&&r("div",{class:"s-order-cancel-other-field"},r("textarea",{class:"s-order-cancel-textarea",placeholder:this.notePlaceholder,value:this.reasonNote,onInput:e=>this.setReasonNote(e)}),r("p",{class:{"s-order-cancel-counter":!0,"s-order-cancel-counter--limit":this.reasonNote.length>=a}},this.reasonNote.length>=a&&`${this.charLimitLabel} `,a,"/",this.reasonNote.length)),r("div",{class:"s-order-cancel-actions"},r("salla-button",{color:"primary",class:"w-full",width:"wide",disabled:!this.canConfirm,loading:this.confirmLoading,onClick:()=>this.confirmCancel(),onKeyDown:e=>this.onKeyActivate(e,(()=>this.confirmCancel()))},this.confirmLabel),r("salla-button",{class:"w-full",width:"wide",fill:"outline",color:"gray",onClick:()=>this.modal?.close(),onKeyDown:e=>this.onKeyActivate(e,(()=>this.modal?.close()))},this.backLabel)))))}static get watchers(){return{cancellationReasons:["onCancellationReasonsChange"]}}};n.style='/*!twlt*/.s-order-cancel-reason .s-order-cancel-radio::before,.s-order-cancel-reason .s-radio::before{content:"";width:10px;height:10px;border-radius:50%;transform:scale(0);transition:120ms transform ease-in-out;background-color:#fff;box-shadow:inset 1em 1em #fff}.s-order-cancel-reason .s-order-cancel-radio:checked::before,.s-order-cancel-reason .s-radio:checked::before{transform:scale(1);background-color:var(--color-primary);box-shadow:inset 1em 1em var(--color-primary)}.block{display:block}.flex{display:flex}.table{display:table}.w-full{width:100%}.outline{outline-style:solid}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.s-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}salla-modal.s-order-cancel-modal .s-modal-body{display:inline-flex;max-height:100svh;flex-direction:column;overflow:hidden;text-align:start}@media (min-width: 768px){salla-modal.s-order-cancel-modal .s-modal-body{max-height:92svh}}salla-modal.s-order-cancel-modal .s-modal-header{width:100%;flex-shrink:0;align-items:flex-start;text-align:start}salla-modal.s-order-cancel-modal .s-modal-header-inner{margin-bottom:1.25rem;display:block !important;width:100%;padding-inline-end:2.5rem;padding-inline-start:0px;text-align:start}@media (min-width: 768px){salla-modal.s-order-cancel-modal .s-modal-header-inner{padding:0px}}salla-modal.s-order-cancel-modal .s-modal-header-inner:where([dir="rtl"],[dir="rtl"] *){padding-inline-start:2.5rem;padding-inline-end:0px}salla-modal.s-order-cancel-modal .s-modal-header-content{width:100%;align-items:flex-start;text-align:start}salla-modal.s-order-cancel-modal .s-modal-title{margin-bottom:0px;width:100%;text-align:start;font-size:1.125rem;line-height:1.75rem;font-weight:700;--tw-text-opacity:1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.s-order-cancel-cancelled-header-item{display:flex;width:100%;min-width:0px;align-items:center;justify-content:space-between;padding-left:0.75rem;padding-right:0.75rem;padding-top:0.5rem;padding-bottom:0.5rem;font-size:0.875rem;line-height:1.25rem}@media (min-width: 768px){.s-order-cancel-cancelled-header-item{display:table-cell;width:auto;max-width:14rem;padding-left:1.5rem;padding-right:1.5rem;padding-top:1rem;padding-bottom:1rem}}.s-order-cancel-cancelled-header-label{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-weight:400;--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.s-order-cancel-cancelled-header-label:where([dir="ltr"],[dir="ltr"] *){margin-right:0.5rem}.s-order-cancel-cancelled-header-label:where([dir="rtl"],[dir="rtl"] *){margin-left:0.5rem}.s-order-cancel-cancelled-header-reason{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;display:block;overflow-wrap:break-word;font-weight:700}.s-order-cancel-wrapper{display:block}.s-order-cancel-content{display:flex;min-height:0px;width:100%;flex:1 1 0%;flex-direction:column;gap:1.5rem;overflow:hidden;text-align:start}.s-order-cancel-intro{display:flex;width:100%;flex-shrink:0;flex-direction:column;gap:0.5rem}.s-order-cancel-heading{font-size:1rem;font-weight:700;line-height:1.5rem;--tw-text-opacity:1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.s-order-cancel-subtitle{font-size:0.875rem;line-height:1.25rem;font-weight:400;line-height:1.5;--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.s-order-cancel-reasons{display:flex;min-height:0px;width:100%;flex:1 1 0%;flex-direction:column;gap:1rem;overflow-y:auto;padding-left:0.25rem;padding-right:0.25rem;padding-top:0.5rem;padding-bottom:0.5rem}.s-order-cancel-reason{display:flex;width:100%;cursor:pointer;align-items:center;gap:0.5rem;accent-color:var(--color-primary)}.s-order-cancel-reason-label{flex:1 1 0%;text-align:start;font-size:0.875rem;font-weight:500;line-height:1.25rem;--tw-text-opacity:1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.s-order-cancel-radio{margin:0px;display:grid;height:1.25rem;width:1.25rem;min-width:1.25rem;flex-shrink:0;cursor:pointer;appearance:none;place-content:center;border-radius:9999px;border-width:1px;border-color:var(--color-primary);--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.s-order-cancel-radio:checked{border-color:var(--color-primary);--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.s-order-cancel-radio:focus-visible{border-color:var(--color-primary);outline-color:var(--color-primary)}.s-order-cancel-radio:focus-visible:checked{border-color:var(--color-primary);outline-color:var(--color-primary)}.s-order-cancel-other-field{display:flex;width:100%;flex-shrink:0;flex-direction:column;gap:0.25rem}.s-order-cancel-textarea{min-height:6rem;width:100%;resize:none;text-align:start}.has-error .s-order-cancel-textarea{border-color:#ff443a;color:#ff443a}.s-order-cancel-textarea{display:block;width:100%;border-radius:var(--s-radius, 0.25rem);border-width:1px;--tw-border-opacity:1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1));--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1));padding:0.5rem;font-size:0.875rem;line-height:1.25rem;--tw-text-opacity:1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.s-order-cancel-textarea:focus{border-color:var(--color-primary);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000)}.s-order-cancel-counter{text-align:end;font-size:0.75rem;line-height:1rem;--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.s-order-cancel-counter--limit{--tw-text-opacity:1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.s-order-cancel-actions{display:flex;width:100%;flex-shrink:0;flex-direction:column;gap:1rem;padding-top:0px}';export{n as salla_order_cancel}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{r as c,h as l,H as t,a as s}from"./p-C670SYee.js";import{f as e,t as i}from"./p-CO-PeZ27.js";const o=class{constructor(l){c(this,l),this.links=salla.config.get("store.social"),this.iconsList={instagram:'\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>instagram</title>\n<path d="M23 32h-14c-4.971 0-9-4.029-9-9v0-14c0-4.971 4.029-9 9-9v0h14c4.971 0 9 4.029 9 9v0 14c0 4.971-4.029 9-9 9v0zM9 2c-3.866 0-7 3.134-7 7v0 14c0 3.866 3.134 7 7 7v0h14c3.866 0 7-3.134 7-7v0-14c0-3.866-3.134-7-7-7v0zM16 24c-4.418 0-8-3.582-8-8s3.582-8 8-8c4.418 0 8 3.582 8 8v0c0 4.418-3.582 8-8 8v0zM16 10c-3.314 0-6 2.686-6 6s2.686 6 6 6c3.314 0 6-2.686 6-6v0c0-3.314-2.686-6-6-6v0zM25 9c-1.105 0-2-0.895-2-2s0.895-2 2-2c1.105 0 2 0.895 2 2v0c0 1.105-0.895 2-2 2v0zM25 7v0z"></path>\n</svg>\n',twitter:i,facebook:e,youtube:'\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>youtube</title>\n<path d="M16 28c-3.666 0-8.376-0.056-10.29-0.162-0.113 0.010-0.244 0.016-0.376 0.016-1.676 0-3.139-0.91-3.922-2.264l-0.012-0.022c-0.97-1.6-1.4-4.248-1.4-8.558s0.436-6.962 1.412-8.6c0.782-1.36 2.227-2.262 3.883-2.262 0.148 0 0.293 0.007 0.437 0.021l-0.018-0.001c1.872-0.124 6.544-0.168 10.286-0.168s8.4 0.044 10.292 0.168c0.124-0.012 0.267-0.019 0.412-0.019 1.656 0 3.101 0.905 3.866 2.247l0.012 0.022c0.982 1.624 1.418 4.27 1.418 8.582 0 4.338-0.438 6.982-1.422 8.6-0.789 1.364-2.241 2.268-3.904 2.268-0.133 0-0.265-0.006-0.395-0.017l0.017 0.001c-1.926 0.092-6.632 0.148-10.296 0.148zM16 8c-3.712 0-8.334 0.042-10.168 0.164-1.688 0.094-2.14 0.306-2.702 1.268-0.756 1.81-1.195 3.913-1.195 6.119 0 0.51 0.024 1.015 0.069 1.513l-0.005-0.064c-0.042 0.435-0.065 0.941-0.065 1.453 0 2.198 0.438 4.294 1.231 6.205l-0.039-0.107c0.566 0.968 1.022 1.184 2.708 1.296 3.29 0.184 17.022 0.184 20.34 0 1.678-0.11 2.132-0.326 2.684-1.28 0.764-1.803 1.208-3.899 1.208-6.1 0-0.513-0.024-1.020-0.071-1.52l0.005 0.064c0.042-0.436 0.065-0.943 0.065-1.455 0-2.203-0.439-4.303-1.235-6.218l0.040 0.107v-0.016c-0.554-0.958-1-1.17-2.684-1.264-1.862-0.122-6.644-0.164-10.186-0.164zM13 23c-0.552 0-1-0.448-1-1v0-10c0 0 0 0 0 0 0-0.552 0.448-1 1-1 0.196 0 0.38 0.057 0.534 0.154l-0.004-0.002 8 5c0.284 0.18 0.47 0.492 0.47 0.848s-0.186 0.668-0.466 0.846l-0.004 0.002-8 5c-0.15 0.095-0.334 0.152-0.53 0.152 0 0 0 0 0 0v0zM14 13.8v6.4l5.114-3.2z"></path>\n</svg>\n',snapchat:'\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>snapchat</title>\n<path d="M16.186 30h-0.266c-1.843-0.023-3.525-0.693-4.834-1.792l0.012 0.010c-0.476-0.405-1.043-0.72-1.665-0.909l-0.033-0.009c-0.287-0.044-0.617-0.069-0.954-0.069-0.492 0-0.972 0.053-1.434 0.155l0.044-0.008c-0.261 0.061-0.564 0.102-0.875 0.114l-0.009 0c-0.017 0.001-0.036 0.001-0.056 0.001-0.811 0-1.495-0.545-1.705-1.288l-0.003-0.012c-0.076-0.26-0.132-0.506-0.186-0.746-0.961-0.157-1.822-0.412-2.633-0.76l0.073 0.028c-0.667-0.259-1.199-0.745-1.509-1.362l-0.007-0.016c-0.082-0.189-0.135-0.409-0.146-0.64l-0-0.004c-0.002-0.031-0.003-0.067-0.003-0.103 0-0.841 0.614-1.538 1.417-1.668l0.010-0.001c0.822-0.141 1.555-0.438 2.198-0.859l-0.022 0.013c0.611-0.405 1.138-0.872 1.591-1.404l0.009-0.010c0.526-0.595 0.98-1.273 1.337-2.007l0.023-0.053c0.060-0.102 0.107-0.22 0.135-0.346l0.001-0.008c-0.092-0.020-0.73-0.222-0.972-0.298s-0.374-0.12-0.506-0.17c-0.546-0.205-1.016-0.487-1.424-0.839l0.006 0.005c-0.471-0.388-0.768-0.971-0.768-1.624 0-0.126 0.011-0.249 0.032-0.369l-0.002 0.013c0.143-0.644 0.551-1.172 1.1-1.474l0.011-0.006c0.389-0.241 0.861-0.384 1.366-0.384 0.347 0 0.678 0.067 0.982 0.19l-0.018-0.006c0.128 0.060 0.242 0.106 0.344 0.142-0.082-0.573-0.129-1.235-0.129-1.908 0-1.482 0.227-2.91 0.648-4.253l-0.027 0.101c0.512-1.142 1.207-2.114 2.056-2.925l0.004-0.003c0.7-0.664 1.516-1.214 2.413-1.616l0.055-0.022c1.128-0.5 2.444-0.794 3.828-0.8h0.592c1.386 0.007 2.701 0.301 3.893 0.825l-0.063-0.025c0.956 0.42 1.777 0.967 2.485 1.632l-0.005-0.004c0.855 0.815 1.55 1.789 2.039 2.876l0.023 0.058c0.396 1.237 0.625 2.659 0.625 4.135 0 0.658-0.045 1.304-0.133 1.938l0.008-0.073 0.172-0.076c0.303-0.16 0.661-0.253 1.042-0.253 0.374 0 0.728 0.091 1.039 0.251l-0.013-0.006c0.886 0.274 1.528 1.063 1.582 2.008l0 0.006c-0.001 0.602-0.25 1.146-0.65 1.536l-0 0c-0.429 0.408-0.945 0.73-1.516 0.935l-0.030 0.009c-0.144 0.056-0.316 0.112-0.504 0.17-0.367 0.103-0.686 0.235-0.984 0.398l0.024-0.012c0.018 0.030 0.042 0.094 0.086 0.18 0.963 2.174 2.834 3.796 5.118 4.4l0.054 0.012c0.814 0.133 1.427 0.83 1.427 1.671 0 0.036-0.001 0.072-0.003 0.108l0-0.005c-0.012 0.241-0.070 0.465-0.165 0.669l0.005-0.011c-0.319 0.624-0.847 1.103-1.489 1.352l-0.019 0.006c-0.739 0.323-1.6 0.578-2.497 0.724l-0.063 0.008c-0.056 0.264-0.112 0.496-0.186 0.742-0.215 0.747-0.893 1.284-1.696 1.284-0.011 0-0.021-0-0.032-0l0.002 0c-0.328-0.004-0.644-0.042-0.949-0.11l0.031 0.006c-0.404-0.090-0.869-0.142-1.345-0.142-0.353 0-0.7 0.029-1.038 0.083l0.037-0.005c-0.653 0.195-1.218 0.508-1.699 0.917l0.007-0.005c-1.275 1.065-2.916 1.731-4.71 1.788l-0.012 0zM8.444 25.218c0.457 0.001 0.904 0.041 1.339 0.117l-0.047-0.007c0.966 0.232 1.808 0.664 2.516 1.252l-0.010-0.008c0.96 0.829 2.199 1.357 3.56 1.427l0.014 0.001h0.37c1.373-0.070 2.61-0.597 3.576-1.43l-0.008 0.006c0.701-0.583 1.546-1.016 2.474-1.239l0.042-0.009c0.394-0.063 0.849-0.1 1.312-0.1 0.615 0 1.216 0.064 1.795 0.186l-0.057-0.010c0.105 0.023 0.238 0.045 0.372 0.059l0.016 0.001c0.042-0.162 0.076-0.314 0.11-0.47 0.059-0.339 0.156-0.641 0.287-0.924l-0.009 0.023 0.234-0.44 0.492-0.078c0.99-0.119 1.892-0.359 2.738-0.705l-0.070 0.025c0.086-0.040 0.158-0.076 0.216-0.11-2.748-0.86-4.933-2.816-6.081-5.342l-0.025-0.062c-0.184-0.31-0.294-0.684-0.294-1.083 0-0.27 0.050-0.528 0.14-0.765l-0.005 0.015c0.492-0.783 1.284-1.339 2.212-1.507l0.020-0.003c0.14-0.044 0.27-0.084 0.376-0.126 0.327-0.108 0.609-0.272 0.849-0.482l-0.003 0.002c0.074-0.106 0-0.2-0.216-0.284-0.094-0.041-0.203-0.065-0.318-0.066h-0c-0.529 0.242-1.142 0.411-1.786 0.474l-0.024 0.002c-0.313-0-0.612-0.064-0.883-0.18l0.015 0.006-0.628-0.28 0.072-1.272c0.093-0.623 0.146-1.342 0.146-2.074 0-1.269-0.16-2.501-0.46-3.677l0.022 0.103c-0.396-0.896-0.936-1.659-1.598-2.296l-0.002-0.002c-0.541-0.508-1.172-0.928-1.865-1.233l-0.043-0.017c-0.895-0.396-1.939-0.629-3.036-0.634h-0.002l-0.218-1v1h-0.348c-1.105 0.003-2.155 0.237-3.106 0.656l0.050-0.020c-0.733 0.322-1.361 0.742-1.903 1.253l0.003-0.003c-0.663 0.638-1.203 1.398-1.582 2.247l-0.018 0.045c-0.279 1.065-0.44 2.287-0.44 3.547 0 0.704 0.050 1.395 0.147 2.072l-0.009-0.078 0.080 1.372-0.618 0.284c-0.31 0.108-0.666 0.17-1.038 0.17-0.6 0-1.163-0.163-1.645-0.446l0.015 0.008c-0.019-0.001-0.041-0.002-0.064-0.002-0.154 0-0.299 0.039-0.425 0.109l0.005-0.002c-0.063 0.032-0.115 0.078-0.153 0.135l-0.001 0.001c0.258 0.244 0.567 0.435 0.91 0.556l0.018 0.006c0.094 0.036 0.2 0.070 0.32 0.108 0.971 0.167 1.784 0.732 2.282 1.516l0.008 0.014c0.087 0.225 0.137 0.486 0.137 0.758 0 0.403-0.11 0.781-0.303 1.104l0.005-0.010c-0.459 0.983-1.016 1.829-1.677 2.582l0.011-0.012c-0.588 0.687-1.26 1.279-2.004 1.768l-0.036 0.022c-0.689 0.451-1.49 0.805-2.346 1.017l-0.054 0.011c0.060 0.034 0.132 0.072 0.218 0.112 0.776 0.322 1.678 0.561 2.618 0.675l0.050 0.005 0.498 0.078 0.234 0.446c0.116 0.255 0.209 0.553 0.265 0.863l0.003 0.023c0.038 0.164 0.072 0.328 0.118 0.496 0.12-0.014 0.242-0.042 0.378-0.068 0.528-0.12 1.138-0.192 1.762-0.2l0.006-0zM30.244 22.892v0z"></path>\n</svg>\n',tiktok:'\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>tiktok</title>\n<path d="M29.046 7.029c-3.359 0-6.092-2.733-6.092-6.092 0-0.518-0.42-0.938-0.938-0.938h-5.021c-0.518 0-0.938 0.42-0.938 0.938v20.585c0 1.975-1.606 3.581-3.581 3.581s-3.581-1.606-3.581-3.581c0-1.975 1.606-3.581 3.581-3.581 0.518 0 0.938-0.42 0.938-0.938v-5.021c0-0.518-0.42-0.938-0.938-0.938-5.777 0-10.477 4.7-10.477 10.477s4.7 10.477 10.477 10.477c5.777 0 10.477-4.7 10.477-10.477v-9.112c1.866 0.995 3.942 1.514 6.092 1.514 0.518 0 0.938-0.42 0.938-0.938v-5.021c0-0.518-0.42-0.938-0.938-0.938zM28.108 12.011c-2.001-0.166-3.902-0.866-5.544-2.047-0.285-0.206-0.662-0.234-0.975-0.073s-0.51 0.482-0.51 0.834v10.798c0 4.743-3.859 8.602-8.602 8.602s-8.602-3.859-8.602-8.602c0-4.427 3.361-8.083 7.665-8.552v3.176c-2.563 0.446-4.519 2.687-4.519 5.376 0 3.009 2.447 5.456 5.456 5.456s5.456-2.448 5.456-5.456v-19.648h3.201c0.429 3.645 3.329 6.545 6.974 6.974z"></path>\n</svg>\n'},this.socialSlot=this.host.querySelector('[slot="social-item"]')?.innerHTML||'<a href={link} rel="noopener" target="_blank" title={type} aria-label={type}><span class="s-social-icon">{icon}</span></a>'}connectedCallback(){this.langUnsubscribe=salla.lang.subscribe((()=>{this.links=salla.config.get("store.social")}))}disconnectedCallback(){this.langUnsubscribe?.()}getLinksArray(){return this.links?Object.entries(this.links).filter((([c,l])=>!!l&&"whatsapp"!==c)).map((([c,l])=>({type:c,value:l}))):[]}componentWillLoad(){return new Promise((c=>salla.onReady(c)))}render(){const c=this.getLinksArray();return l(t,{key:"ce42d3f37cc3c9b9753f9431b43267e4a49153a3"},l("ul",{key:"515e3effaf234de3b639bc5276559f05de06e755",class:"s-social-list"},c.map((c=>l("li",{class:"s-social-link"},l("div",{id:"social-slot",innerHTML:this.socialSlot.replace(/\{icon\}/g,this.iconsList[c.type]).replace(/\{type\}/g,c.type).replace(/\{link\}/g,c.value.toString())}))))))}componentDidRender(){this.host.querySelectorAll("#social-slot").forEach((c=>c.replaceWith(c.firstChild))),this.host.querySelector('[slot="social-item"]')?.remove()}get host(){return s(this)}};o.style="/*!twlt*/:host{display:block}.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-social-list{display:flex;gap:0.625rem}.s-social-link a{display:flex;height:2rem;width:2rem;align-items:center;justify-content:center;border-radius:9999px;border-width:1px;font-size:0.875rem;line-height:1.25rem;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms}.s-social-link a:hover{opacity:0.75}.s-social-link a svg{height:0.875rem;width:0.875rem;fill:currentColor}";export{o as salla_social}
4
+ import{r as c,h as l,H as t,a as s}from"./p-8Kr0yg20.js";import{f as e,t as i}from"./p-CO-PeZ27.js";const o=class{constructor(l){c(this,l),this.links=salla.config.get("store.social"),this.iconsList={instagram:'\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>instagram</title>\n<path d="M23 32h-14c-4.971 0-9-4.029-9-9v0-14c0-4.971 4.029-9 9-9v0h14c4.971 0 9 4.029 9 9v0 14c0 4.971-4.029 9-9 9v0zM9 2c-3.866 0-7 3.134-7 7v0 14c0 3.866 3.134 7 7 7v0h14c3.866 0 7-3.134 7-7v0-14c0-3.866-3.134-7-7-7v0zM16 24c-4.418 0-8-3.582-8-8s3.582-8 8-8c4.418 0 8 3.582 8 8v0c0 4.418-3.582 8-8 8v0zM16 10c-3.314 0-6 2.686-6 6s2.686 6 6 6c3.314 0 6-2.686 6-6v0c0-3.314-2.686-6-6-6v0zM25 9c-1.105 0-2-0.895-2-2s0.895-2 2-2c1.105 0 2 0.895 2 2v0c0 1.105-0.895 2-2 2v0zM25 7v0z"></path>\n</svg>\n',twitter:i,facebook:e,youtube:'\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>youtube</title>\n<path d="M16 28c-3.666 0-8.376-0.056-10.29-0.162-0.113 0.010-0.244 0.016-0.376 0.016-1.676 0-3.139-0.91-3.922-2.264l-0.012-0.022c-0.97-1.6-1.4-4.248-1.4-8.558s0.436-6.962 1.412-8.6c0.782-1.36 2.227-2.262 3.883-2.262 0.148 0 0.293 0.007 0.437 0.021l-0.018-0.001c1.872-0.124 6.544-0.168 10.286-0.168s8.4 0.044 10.292 0.168c0.124-0.012 0.267-0.019 0.412-0.019 1.656 0 3.101 0.905 3.866 2.247l0.012 0.022c0.982 1.624 1.418 4.27 1.418 8.582 0 4.338-0.438 6.982-1.422 8.6-0.789 1.364-2.241 2.268-3.904 2.268-0.133 0-0.265-0.006-0.395-0.017l0.017 0.001c-1.926 0.092-6.632 0.148-10.296 0.148zM16 8c-3.712 0-8.334 0.042-10.168 0.164-1.688 0.094-2.14 0.306-2.702 1.268-0.756 1.81-1.195 3.913-1.195 6.119 0 0.51 0.024 1.015 0.069 1.513l-0.005-0.064c-0.042 0.435-0.065 0.941-0.065 1.453 0 2.198 0.438 4.294 1.231 6.205l-0.039-0.107c0.566 0.968 1.022 1.184 2.708 1.296 3.29 0.184 17.022 0.184 20.34 0 1.678-0.11 2.132-0.326 2.684-1.28 0.764-1.803 1.208-3.899 1.208-6.1 0-0.513-0.024-1.020-0.071-1.52l0.005 0.064c0.042-0.436 0.065-0.943 0.065-1.455 0-2.203-0.439-4.303-1.235-6.218l0.040 0.107v-0.016c-0.554-0.958-1-1.17-2.684-1.264-1.862-0.122-6.644-0.164-10.186-0.164zM13 23c-0.552 0-1-0.448-1-1v0-10c0 0 0 0 0 0 0-0.552 0.448-1 1-1 0.196 0 0.38 0.057 0.534 0.154l-0.004-0.002 8 5c0.284 0.18 0.47 0.492 0.47 0.848s-0.186 0.668-0.466 0.846l-0.004 0.002-8 5c-0.15 0.095-0.334 0.152-0.53 0.152 0 0 0 0 0 0v0zM14 13.8v6.4l5.114-3.2z"></path>\n</svg>\n',snapchat:'\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>snapchat</title>\n<path d="M16.186 30h-0.266c-1.843-0.023-3.525-0.693-4.834-1.792l0.012 0.010c-0.476-0.405-1.043-0.72-1.665-0.909l-0.033-0.009c-0.287-0.044-0.617-0.069-0.954-0.069-0.492 0-0.972 0.053-1.434 0.155l0.044-0.008c-0.261 0.061-0.564 0.102-0.875 0.114l-0.009 0c-0.017 0.001-0.036 0.001-0.056 0.001-0.811 0-1.495-0.545-1.705-1.288l-0.003-0.012c-0.076-0.26-0.132-0.506-0.186-0.746-0.961-0.157-1.822-0.412-2.633-0.76l0.073 0.028c-0.667-0.259-1.199-0.745-1.509-1.362l-0.007-0.016c-0.082-0.189-0.135-0.409-0.146-0.64l-0-0.004c-0.002-0.031-0.003-0.067-0.003-0.103 0-0.841 0.614-1.538 1.417-1.668l0.010-0.001c0.822-0.141 1.555-0.438 2.198-0.859l-0.022 0.013c0.611-0.405 1.138-0.872 1.591-1.404l0.009-0.010c0.526-0.595 0.98-1.273 1.337-2.007l0.023-0.053c0.060-0.102 0.107-0.22 0.135-0.346l0.001-0.008c-0.092-0.020-0.73-0.222-0.972-0.298s-0.374-0.12-0.506-0.17c-0.546-0.205-1.016-0.487-1.424-0.839l0.006 0.005c-0.471-0.388-0.768-0.971-0.768-1.624 0-0.126 0.011-0.249 0.032-0.369l-0.002 0.013c0.143-0.644 0.551-1.172 1.1-1.474l0.011-0.006c0.389-0.241 0.861-0.384 1.366-0.384 0.347 0 0.678 0.067 0.982 0.19l-0.018-0.006c0.128 0.060 0.242 0.106 0.344 0.142-0.082-0.573-0.129-1.235-0.129-1.908 0-1.482 0.227-2.91 0.648-4.253l-0.027 0.101c0.512-1.142 1.207-2.114 2.056-2.925l0.004-0.003c0.7-0.664 1.516-1.214 2.413-1.616l0.055-0.022c1.128-0.5 2.444-0.794 3.828-0.8h0.592c1.386 0.007 2.701 0.301 3.893 0.825l-0.063-0.025c0.956 0.42 1.777 0.967 2.485 1.632l-0.005-0.004c0.855 0.815 1.55 1.789 2.039 2.876l0.023 0.058c0.396 1.237 0.625 2.659 0.625 4.135 0 0.658-0.045 1.304-0.133 1.938l0.008-0.073 0.172-0.076c0.303-0.16 0.661-0.253 1.042-0.253 0.374 0 0.728 0.091 1.039 0.251l-0.013-0.006c0.886 0.274 1.528 1.063 1.582 2.008l0 0.006c-0.001 0.602-0.25 1.146-0.65 1.536l-0 0c-0.429 0.408-0.945 0.73-1.516 0.935l-0.030 0.009c-0.144 0.056-0.316 0.112-0.504 0.17-0.367 0.103-0.686 0.235-0.984 0.398l0.024-0.012c0.018 0.030 0.042 0.094 0.086 0.18 0.963 2.174 2.834 3.796 5.118 4.4l0.054 0.012c0.814 0.133 1.427 0.83 1.427 1.671 0 0.036-0.001 0.072-0.003 0.108l0-0.005c-0.012 0.241-0.070 0.465-0.165 0.669l0.005-0.011c-0.319 0.624-0.847 1.103-1.489 1.352l-0.019 0.006c-0.739 0.323-1.6 0.578-2.497 0.724l-0.063 0.008c-0.056 0.264-0.112 0.496-0.186 0.742-0.215 0.747-0.893 1.284-1.696 1.284-0.011 0-0.021-0-0.032-0l0.002 0c-0.328-0.004-0.644-0.042-0.949-0.11l0.031 0.006c-0.404-0.090-0.869-0.142-1.345-0.142-0.353 0-0.7 0.029-1.038 0.083l0.037-0.005c-0.653 0.195-1.218 0.508-1.699 0.917l0.007-0.005c-1.275 1.065-2.916 1.731-4.71 1.788l-0.012 0zM8.444 25.218c0.457 0.001 0.904 0.041 1.339 0.117l-0.047-0.007c0.966 0.232 1.808 0.664 2.516 1.252l-0.010-0.008c0.96 0.829 2.199 1.357 3.56 1.427l0.014 0.001h0.37c1.373-0.070 2.61-0.597 3.576-1.43l-0.008 0.006c0.701-0.583 1.546-1.016 2.474-1.239l0.042-0.009c0.394-0.063 0.849-0.1 1.312-0.1 0.615 0 1.216 0.064 1.795 0.186l-0.057-0.010c0.105 0.023 0.238 0.045 0.372 0.059l0.016 0.001c0.042-0.162 0.076-0.314 0.11-0.47 0.059-0.339 0.156-0.641 0.287-0.924l-0.009 0.023 0.234-0.44 0.492-0.078c0.99-0.119 1.892-0.359 2.738-0.705l-0.070 0.025c0.086-0.040 0.158-0.076 0.216-0.11-2.748-0.86-4.933-2.816-6.081-5.342l-0.025-0.062c-0.184-0.31-0.294-0.684-0.294-1.083 0-0.27 0.050-0.528 0.14-0.765l-0.005 0.015c0.492-0.783 1.284-1.339 2.212-1.507l0.020-0.003c0.14-0.044 0.27-0.084 0.376-0.126 0.327-0.108 0.609-0.272 0.849-0.482l-0.003 0.002c0.074-0.106 0-0.2-0.216-0.284-0.094-0.041-0.203-0.065-0.318-0.066h-0c-0.529 0.242-1.142 0.411-1.786 0.474l-0.024 0.002c-0.313-0-0.612-0.064-0.883-0.18l0.015 0.006-0.628-0.28 0.072-1.272c0.093-0.623 0.146-1.342 0.146-2.074 0-1.269-0.16-2.501-0.46-3.677l0.022 0.103c-0.396-0.896-0.936-1.659-1.598-2.296l-0.002-0.002c-0.541-0.508-1.172-0.928-1.865-1.233l-0.043-0.017c-0.895-0.396-1.939-0.629-3.036-0.634h-0.002l-0.218-1v1h-0.348c-1.105 0.003-2.155 0.237-3.106 0.656l0.050-0.020c-0.733 0.322-1.361 0.742-1.903 1.253l0.003-0.003c-0.663 0.638-1.203 1.398-1.582 2.247l-0.018 0.045c-0.279 1.065-0.44 2.287-0.44 3.547 0 0.704 0.050 1.395 0.147 2.072l-0.009-0.078 0.080 1.372-0.618 0.284c-0.31 0.108-0.666 0.17-1.038 0.17-0.6 0-1.163-0.163-1.645-0.446l0.015 0.008c-0.019-0.001-0.041-0.002-0.064-0.002-0.154 0-0.299 0.039-0.425 0.109l0.005-0.002c-0.063 0.032-0.115 0.078-0.153 0.135l-0.001 0.001c0.258 0.244 0.567 0.435 0.91 0.556l0.018 0.006c0.094 0.036 0.2 0.070 0.32 0.108 0.971 0.167 1.784 0.732 2.282 1.516l0.008 0.014c0.087 0.225 0.137 0.486 0.137 0.758 0 0.403-0.11 0.781-0.303 1.104l0.005-0.010c-0.459 0.983-1.016 1.829-1.677 2.582l0.011-0.012c-0.588 0.687-1.26 1.279-2.004 1.768l-0.036 0.022c-0.689 0.451-1.49 0.805-2.346 1.017l-0.054 0.011c0.060 0.034 0.132 0.072 0.218 0.112 0.776 0.322 1.678 0.561 2.618 0.675l0.050 0.005 0.498 0.078 0.234 0.446c0.116 0.255 0.209 0.553 0.265 0.863l0.003 0.023c0.038 0.164 0.072 0.328 0.118 0.496 0.12-0.014 0.242-0.042 0.378-0.068 0.528-0.12 1.138-0.192 1.762-0.2l0.006-0zM30.244 22.892v0z"></path>\n</svg>\n',tiktok:'\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>tiktok</title>\n<path d="M29.046 7.029c-3.359 0-6.092-2.733-6.092-6.092 0-0.518-0.42-0.938-0.938-0.938h-5.021c-0.518 0-0.938 0.42-0.938 0.938v20.585c0 1.975-1.606 3.581-3.581 3.581s-3.581-1.606-3.581-3.581c0-1.975 1.606-3.581 3.581-3.581 0.518 0 0.938-0.42 0.938-0.938v-5.021c0-0.518-0.42-0.938-0.938-0.938-5.777 0-10.477 4.7-10.477 10.477s4.7 10.477 10.477 10.477c5.777 0 10.477-4.7 10.477-10.477v-9.112c1.866 0.995 3.942 1.514 6.092 1.514 0.518 0 0.938-0.42 0.938-0.938v-5.021c0-0.518-0.42-0.938-0.938-0.938zM28.108 12.011c-2.001-0.166-3.902-0.866-5.544-2.047-0.285-0.206-0.662-0.234-0.975-0.073s-0.51 0.482-0.51 0.834v10.798c0 4.743-3.859 8.602-8.602 8.602s-8.602-3.859-8.602-8.602c0-4.427 3.361-8.083 7.665-8.552v3.176c-2.563 0.446-4.519 2.687-4.519 5.376 0 3.009 2.447 5.456 5.456 5.456s5.456-2.448 5.456-5.456v-19.648h3.201c0.429 3.645 3.329 6.545 6.974 6.974z"></path>\n</svg>\n'},this.socialSlot=this.host.querySelector('[slot="social-item"]')?.innerHTML||'<a href={link} rel="noopener" target="_blank" title={type} aria-label={type}><span class="s-social-icon">{icon}</span></a>'}connectedCallback(){this.langUnsubscribe=salla.lang.subscribe((()=>{this.links=salla.config.get("store.social")}))}disconnectedCallback(){this.langUnsubscribe?.()}getLinksArray(){return this.links?Object.entries(this.links).filter((([c,l])=>!!l&&"whatsapp"!==c)).map((([c,l])=>({type:c,value:l}))):[]}componentWillLoad(){return new Promise((c=>salla.onReady(c)))}render(){const c=this.getLinksArray();return l(t,{key:"ce42d3f37cc3c9b9753f9431b43267e4a49153a3"},l("ul",{key:"515e3effaf234de3b639bc5276559f05de06e755",class:"s-social-list"},c.map((c=>l("li",{class:"s-social-link"},l("div",{id:"social-slot",innerHTML:this.socialSlot.replace(/\{icon\}/g,this.iconsList[c.type]).replace(/\{type\}/g,c.type).replace(/\{link\}/g,c.value.toString())}))))))}componentDidRender(){this.host.querySelectorAll("#social-slot").forEach((c=>c.replaceWith(c.firstChild))),this.host.querySelector('[slot="social-item"]')?.remove()}get host(){return s(this)}};o.style="/*!twlt*/:host{display:block}.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-social-list{display:flex;gap:0.625rem}.s-social-link a{display:flex;height:2rem;width:2rem;align-items:center;justify-content:center;border-radius:9999px;border-width:1px;font-size:0.875rem;line-height:1.25rem;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms}.s-social-link a:hover{opacity:0.75}.s-social-link a svg{height:0.875rem;width:0.875rem;fill:currentColor}";export{o as salla_social}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{p as e,g as a,b as t}from"./p-C670SYee.js";export{s as setNonce}from"./p-C670SYee.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await a(),t(JSON.parse('[["p-82430d31",[[0,"salla-offer-modal",{"offer":[32],"offer_name":[32],"offer_message":[32],"hasError":[32],"errorMessage":[32],"productID":[32],"offer_type":[32],"translationLoaded":[32],"addToCartLabel":[32],"open":[64],"showOffer":[64]}]]],["p-6339c31f",[[0,"salla-multiple-bundle-product",{"bundleSections":[1,"bundle-sections"],"parsedSections":[32]},null,{"bundleSections":["parseProducts"]}]]],["p-af525459",[[0,"salla-basket-gap",{"limit":[2],"products":[32],"isLoading":[32],"canRender":[32],"title":[32],"addToCartLabel":[32],"weightLabel":[32],"discountLabel":[32]}]]],["p-b3f0b7e3",[[4,"salla-gifting",{"productId":[2,"product-id"],"widgetTitle":[1,"widget-title"],"widgetSubtitle":[1,"widget-subtitle"],"physicalProducts":[4,"physical-products"],"physical":[4],"vertical":[4],"formSelector":[1025,"form-selector"],"sectionTitle":[32],"sectionSubtitle":[32],"sectionBtnText":[32],"giftDetails":[32],"selectImageForYourGift":[32],"selectImageOrUpload":[32],"selectGiftMessage":[32],"giftText":[32],"giftCustomText":[32],"textId":[32],"incorrectGiftText":[32],"nextStep":[32],"senderNameLabel":[32],"receiverNameFieldLabel":[32],"receiverMobileFieldLabel":[32],"receiverCountryFieldLabel":[32],"ksa":[32],"selectCountry":[32],"selectCity":[32],"selectCityInfo":[32],"cityChangeNotice":[32],"receiverCityFieldLabel":[32],"receiverRegionFieldLabel":[32],"selectRegion":[32],"receiverEmailFieldLabel":[32],"emailPlaceholder":[32],"sendLater":[32],"selectSendDateAndTime":[32],"canNotEditOrderAfterSelectDate":[32],"sendGift":[32],"donationRequired":[32],"currentStep":[32],"showCalendar":[32],"showGiftText":[32],"currentLang":[32],"parentClass":[32],"errors":[32],"gift":[32],"selectedGiftTextOption":[32],"selectedCountryId":[32],"selectedCountryCode":[32],"loadingCities":[32],"loadingRegions":[32],"regions":[32],"selectedRegionId":[32],"isKSA":[32],"selectedCountry":[32],"selectedRegion":[32],"displayedCities":[32],"selectedCity":[32],"searchingCities":[32],"enableCityAjaxSearch":[32],"citySearchQuery":[32],"parsedFormData":[32],"showTextArea":[32],"selectedImage":[32],"uploadedImage":[32],"selectedText":[32],"senderName":[32],"errorMessage":[32],"hasError":[32],"quantity":[32],"deliveryDate":[32],"timeZone":[32],"receiverName":[32],"receiverMobile":[32],"receiverCountryCode":[32],"receiverEmail":[32],"hostId":[32],"disableClass":[32],"receiverCity":[32],"open":[64],"close":[64],"goToStep2":[64]}]]],["p-b59eab4f",[[0,"salla-search",{"placeholder":[4],"inline":[4],"oval":[4],"height":[2],"maxWords":[2,"max-words"],"showAction":[4,"show-action"],"translationLoaded":[32],"labels":[32],"results":[32],"loading":[32],"typing":[32],"debounce":[32],"search_term":[32],"hasInputValue":[32],"searchHistory":[32],"trendingCategories":[32],"mostSearchedProducts":[32]},[[16,"modalVisibilityChanged","handleModalVisibilityChanged"],[0,"keydown","handleKeyDown"]],{"search_term":["handleSearch"]}]]],["p-1ea04494",[[0,"salla-order-edit",{"orderId":[8,"order-id"],"orderData":[1,"order-data"],"excludedCategories":[1,"excluded-categories"],"order":[32],"loading":[32],"error":[32],"saveLoading":[32],"payload":[32],"expired":[32],"editPreview":[32],"productSearchQuery":[32],"productsListKey":[32],"productsListSource":[32],"productsListSourceValue":[32],"selectedProductToAdd":[32],"addProductQuantity":[32],"addProductLoading":[32],"addProductConfirmLoading":[32],"mobileProductsModalMounted":[32],"isMobileViewport":[32],"isRTL":[32]},[[0,"orderEditProductSelected","handleProductSelected"],[0,"orderItemUpdated","handleItemUpdated"],[0,"orderItemRemoved","handleItemRemoved"]]]]],["p-9b9c2adf",[[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],"filterAllText":[32],"filterArchivedText":[32],"filterAwaitingReviewText":[32],"leaveReviewText":[32],"noUnratedOrdersText":[32],"noArchivedOrdersText":[32],"orders":[32],"pagination":[32],"hasInfiniteScroll":[32],"total":[32],"nextPage":[32],"showPlaceholder":[32],"activeFilter":[32],"pendingReviewCount":[32],"emptyFilterResult":[32],"isFetching":[32]}]]],["p-f106d1e8",[[4,"salla-loyalty",{"prizePoints":[1544,"prize-points"],"customerPoints":[1538,"customer-points"],"prizeTitle":[1537,"prize-title"],"allowEmail":[4,"allow-email"],"allowMobile":[4,"allow-mobile"],"requireEmail":[4,"require-email"],"guestMessage":[1025,"guest-message"],"loyaltyProgram":[32],"activeTabType":[32],"tabsKey":[32],"buttonLoading":[32],"selectedItem":[32],"askConfirmation":[32],"is_loggedin":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"close":[64],"resetExchange":[64],"exchangeLoyaltyPoint":[64]},[[0,"tabSelected","onTabSelected"]]]]],["p-660271f5",[[0,"salla-order-details",{"orderDetails":[1,"order-details"],"parsedOrderDetailsData":[32]},null,{"orderDetails":["parseOrderDetailsData"]}]]],["p-60e920c6",[[4,"salla-product-size-guide",{"guides":[32],"productId":[32],"placeholder_title":[32],"placeholder_description":[32],"modal_title":[32],"hasError":[32],"open":[64],"close":[64]}]]],["p-161fce7a",[[0,"salla-review-order-item",{"productId":[8,"product-id"],"orderItem":[32],"fetchOrderId":[32],"productRatings":[32],"allowUpdate":[32]},null,{"productId":["onProductIdChange"]}]]],["p-19d9b193",[[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],"max_discount_text":[32],"branches_text":[32],"buy_from_text":[32],"get_from_text":[32],"payment_methods_text":[32],"product_text":[32]}]]],["p-90765c65",[[0,"salla-custom-fields",{"fields":[1],"isEditable":[4,"is-editable"],"fileUploadUrl":[1,"file-upload-url"],"parsedFields":[32],"fieldErrors":[32],"isSubmitting":[32],"setFields":[64],"getFieldValues":[64],"validateFields":[64]}]]],["p-e80bc0ce",[[4,"salla-scopes",{"selection":[1],"searchDisplayLimit":[2,"search-display-limit"],"translationLoaded":[32],"mode":[32],"current_scope":[32],"scopes":[32],"originalScopesList":[32],"selected_scope":[32],"isOpenedBefore":[32],"hasError":[32],"loading":[32],"close":[64],"open":[64],"handleSubmit":[64]}]]],["p-dff87ddc",[[0,"salla-delivery-promise",{"isDeliveryPromiseEnabled":[32],"isLoginCycleEnabled":[32],"canRender":[32],"labels":[32],"selectedLabel":[32],"deliveryMessage":[32],"hasError":[32],"errorMessage":[32],"isLoadingPromises":[32],"selectedCityLoginCycle":[32],"selectedBranchLoginCycle":[32],"cities":[32],"selectedCity":[32],"isLoadingCities":[32],"cityPendingSelection":[32],"modalCities":[32],"isSearchingCities":[32]}]]],["p-0116fc35",[[0,"salla-localization-modal",{"language":[1537],"currency":[1537],"showTrigger":[1540,"show-trigger"],"translationLoaded":[32],"languages":[32],"currencies":[32],"hasError":[32],"errorMessage":[32],"open":[64],"close":[64],"submit":[64]}]]],["p-d2b41e2d",[[0,"salla-wallet",{"transactionsArray":[32],"balance":[32],"isLoading":[32],"nextPageUrl":[32]}]]],["p-321022f5",[[0,"salla-filters",{"filters":[1040],"isSidebarOpen":[32],"filtersData":[32],"apply":[32],"getFilters":[64],"applyFilters":[64],"resetFilters":[64],"removeFilter":[64]}]]],["p-84ed92e9",[[0,"salla-quick-order",{"quickOrderTitle":[1025,"quick-order-title"],"subTitle":[1025,"sub-title"],"payButtonTitle":[1025,"pay-button-title"],"confirmPayButtonTitle":[1025,"confirm-pay-button-title"],"agreementText":[1025,"agreement-text"],"isEmailRequired":[1028,"is-email-required"],"productId":[1025,"product-id"],"thanksMessage":[1025,"thanks-message"],"quickOrderStyle":[1025,"quick-order-style"],"user":[32],"isAvailable":[32],"oneClick":[32],"expanded":[32],"isTermsRequired":[32],"countryCode":[32],"submitSucess":[32],"placeHolderEmail":[32],"emailOptional":[32],"agreementShowText":[32],"agreementModalHead":[32],"userNameLabel":[32],"termsChecked":[32]}]]],["p-f5f448b7",[[4,"salla-user-menu",{"inline":[516],"avatarOnly":[516,"avatar-only"],"showHeader":[516,"show-header"],"relativeDropdown":[516,"relative-dropdown"],"showTrigger":[1540,"show-trigger"],"accountLoading":[32],"opened":[32],"notifications":[32],"orders":[32],"pending_orders":[32],"wishlist":[32],"profile":[32],"rating":[32],"wallet":[32],"settings":[32],"loyalty_points":[32],"logout":[32],"hello":[32],"first_name":[32],"last_name":[32],"avatar":[32],"is_loggedIn":[32],"badges":[32],"sallaAccountEnabled":[32],"walletBalance":[32],"walletBalanceLoading":[32],"hasBadges":[32],"profileUrl":[32],"OrderUpdate":[32]}]]],["p-cba57487",[[0,"salla-user-profile",{"minAge":[2,"min-age"],"userData":[32],"isEditable":[32],"disableAction":[32],"isLoading":[32],"first_name_trans":[32],"last_name_trans":[32],"birthday_trans":[32],"birthday_placeholder_trans":[32],"gender_trans":[32],"gender_placeholder_trans":[32],"male_trans":[32],"female_trans":[32],"email_trans":[32],"mobile_trans":[32],"save_btn_trans":[32],"drag_and_drop_trans":[32],"browse_trans":[32],"email_required_trans":[32],"invalid_email_trans":[32]}]]],["p-ea4e6f55",[[0,"salla-user-settings",{"isDeleteAccountEnabled":[32],"deactivateAccount":[32],"deactivateDesc":[32],"sorryForLeavingText":[32],"warningText":[32],"keepAccount":[32],"buttonLoading":[32],"deleteAccount":[32],"deleteAccountDesc":[32],"deleteConfirmTitle":[32],"deleteAccountWarning":[32],"cancelLabel":[32],"deleteOtpTitle":[32],"deleteOtpInstruction":[32],"deleteConfirmOtp":[32],"sendViaPhone":[32],"sendViaEmail":[32],"deleteSuccessTitle":[32],"deleteSuccessMessage":[32],"okLabel":[32],"cancelDeletionRequest":[32],"deleteAccountPending":[32],"deletePendingDays":[32],"resendAfterLabel":[32],"resendLabel":[32],"promotionalMsgs":[32],"hideMyName":[32],"hideMyNameDesc":[32],"promotionalMsgsDesc":[32],"currentStep":[32],"isDeletePending":[32],"otpType":[32],"otpHasError":[32],"otpErrorMessage":[32],"isSubmitting":[32],"isVerifyingOtp":[32],"isSwitchingChannel":[32],"resendAfter":[32],"showResendLink":[32],"canHideName":[32],"isHiddenName":[32],"isNotifiable":[32]}]]],["p-ccd75cf6",[[0,"salla-bottom-alert",{"type":[513],"icon":[513],"message":[513],"actionUrl":[513,"action-url"],"actionLabel":[513,"action-label"],"storeId":[32],"template":[32],"loading":[32],"templateData":[32],"defaultMessage":[32],"defaultActionLabel":[32],"storeFeatures":[32],"storeDetails":[32],"storePrice":[32],"storePriceDetails":[32],"theDeveloper":[32],"templateInformation":[32],"buyTheTemplate":[32],"isRtl":[32],"storeName":[32],"salla":[32],"readyStores":[32],"moreDetailsLabel":[32]}],[4,"salla-alert",{"message":[1],"variant":[1],"icon":[1]}]]],["p-2a865b0b",[[0,"salla-order-cancel",{"orderId":[8,"order-id"],"cancellationReasons":[1,"cancellation-reasons"],"reasons":[32],"selectedReasonId":[32],"reasonNote":[32],"confirmLoading":[32],"loading":[32],"modalTitleLabel":[32],"questionLabel":[32],"subtitleLabel":[32],"confirmLabel":[32],"backLabel":[32],"notePlaceholder":[32],"charLimitLabel":[32]},null,{"cancellationReasons":["onCancellationReasonsChange"]}]]],["p-57ddfcfe",[[4,"salla-verify",{"display":[1],"type":[1025],"autoReload":[4,"auto-reload"],"supportWebAuth":[4,"support-web-auth"],"translationLoaded":[32],"title":[32],"resendAfter":[32],"hasError":[32],"errorMessage":[32],"isProfileVerify":[32],"getCode":[64],"open":[64]}]]],["p-d923ecda",[[0,"salla-cart-coupons",{"availableCoupons":[32],"cartTotal":[32],"cartTotalReady":[32],"currentCoupon":[32],"couponInputValue":[32],"couponError":[32],"isApplying":[32],"appliedCoupons":[32],"mergedCoupons":[32],"appliedCouponCards":[32],"multiCoupon":[32],"mergedCashbackCode":[32],"selectCoupon":[64]}]]],["p-afc17688",[[0,"salla-cart-summary-card",{"validateForms":[4,"validate-forms"],"cartCount":[32],"cartTotal":[32],"cartTotalDiscount":[32],"cartCashbackAmount":[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],"cashbackLabel":[32],"finalTotalLabel":[32],"pricesTaxedLabel":[32],"completeOrderLabel":[32],"openSummaryLabel":[32],"closeSummaryLabel":[32],"itemsCountTemplate":[32]}]]],["p-d897273e",[[0,"salla-edit-order-button",{"orderId":[8,"order-id"],"order":[32],"loading":[32]},null,{"orderId":["onOrderIdChange"]}]]],["p-07453f6c",[[0,"salla-loyalty-points-history",{"loyaltyPointsArray":[32],"balance":[32],"isLoadingLoyalty":[32],"nextPageUrlLoyalty":[32]}]]],["p-e4ba8208",[[0,"salla-next-order-coupon",{"coupon":[32],"isLoading":[32],"titlePercentTpl":[32],"titleFixedTpl":[32],"badgeLabel":[32],"minSpendTpl":[32],"expiresTpl":[32],"shopNowLabel":[32],"copyLabel":[32],"copiedLabel":[32]}]]],["p-b124899c",[[0,"salla-order-summary",{"orderId":[514,"order-id"],"codeCopied":[32],"noItemFound":[32],"order_items":[32]}]]],["p-34ab84e2",[[0,"salla-wishlist-actions",{"menuOpen":[32],"hasProducts":[32],"specificMode":[32],"selectedIds":[32],"loadedProductCount":[32],"isSharing":[32],"shareUrl":[32],"shareLabel":[32],"shareAllLabel":[32],"shareSpecificLabel":[32],"selectAllLabel":[32],"cancelLabel":[32],"shareModalTitle":[32],"shareSpecific":[64],"cancelSpecific":[64],"shareAll":[64],"shareSelected":[64]}]]],["p-57768c0e",[[0,"salla-conditional-offer",{"offer":[32],"isLoading":[32],"canRender":[32],"gifts":[32],"cartItemCount":[32],"isTooltipHovered":[32],"isTooltipPinned":[32],"isGiftsOpen":[32]},[[9,"resize","handleWindowResize"],[4,"keydown","handleDocumentKeydown"],[4,"click","handleDocumentClick"]]]]],["p-0c6290e0",[[0,"salla-cookies-bar",{"isVisible":[32],"step":[32],"isMobile":[32],"titleLabel":[32],"saveLabel":[32],"messageLabel":[32],"linkLabel":[32],"acceptLabel":[32],"acceptAllLabel":[32],"customizeLabel":[32],"essentialTitleLabel":[32],"essentialDescriptionLabel":[32],"essentialBadgeLabel":[32],"performanceTitleLabel":[32],"performanceDescriptionLabel":[32],"performanceEnabled":[32],"functionsTitleLabel":[32],"functionsDescriptionLabel":[32],"functionsEnabled":[32],"adsTitleLabel":[32],"adsDescriptionLabel":[32],"adsEnabled":[32],"accept":[64],"reject":[64],"open":[64]}]]],["p-b13efdf9",[[0,"salla-menu",{"source":[1],"sourceValue":[1,"source-value"],"topnav":[4],"useReactLink":[4,"use-react-link"],"limit":[2],"withCookiePreferences":[4,"with-cookie-preferences"],"menus":[32]}]]],["p-8359286c",[[0,"salla-tiered-offer",{"tieredOfferData":[32],"apiOfferData":[32],"currentTierIndex":[32],"currentTier":[32],"activeTabTier":[32],"canRender":[32],"isLoading":[32],"loyaltyProgramText":[32],"currentTierText":[32],"discountText":[32],"benefitText":[32]}]]],["p-b40466ae",[[0,"salla-cart-item-offers",{"quantity":[2],"offers":[1],"itemId":[1,"item-id"],"productPrice":[2,"product-price"],"internalQuantity":[32],"internalOffers":[32],"internalProductPrice":[32],"showAll":[32],"freeLabel":[32],"receivedOffer":[32],"discountAmountLabel":[32],"showMoreOffers":[32]}],[4,"salla-cart-summary",{"showCartLabel":[4,"show-cart-label"],"cartSummaryCount":[32],"cartSummaryTotal":[32],"cartLabel":[32],"animateToCart":[64]}]]],["p-b7f5a180",[[0,"salla-advertisement",{"position":[32],"advertisements":[32],"advertIcon":[32],"currentSlug":[32]}]]],["p-3b45e21a",[[0,"salla-app-install-alert",{"data":[32],"ctaLink":[32],"open":[32],"closing":[32]}]]],["p-0f68e660",[[0,"salla-applied-filters",{"filters":[32],"filtersData":[32],"clearAllLabel":[32],"removeLabel":[32]}]]],["p-bf95f806",[[0,"salla-apps-icons",{"apps":[16],"appsTitle":[1025,"apps-title"],"hideTitle":[4,"hide-title"],"vertical":[4],"slotTemplate":[1,"slot-template"],"sdkApps":[32]}]]],["p-6bacaa30",[[0,"salla-cashback-banner",{"cashbackData":[32],"productId":[32]}]]],["p-de0ce00a",[[0,"salla-contacts",{"contacts":[16],"contactsTitle":[1025,"contacts-title"],"hideTitle":[4,"hide-title"],"isHeader":[4,"is-header"],"horizontal":[4],"iconsOnly":[4,"icons-only"],"slotTemplate":[1,"slot-template"],"sdkContacts":[32]}]]],["p-62690afe",[[0,"salla-fulfillment-methods",{"methods":[32],"shouldRender":[32]}]]],["p-46334bbe",[[1,"salla-hook",{"name":[1],"mount":[64]}]]],["p-4ea3a8a1",[[4,"salla-infinite-scroll",{"nextPage":[1,"next-page"],"autoload":[1028],"container":[1],"loadMoreText":[1,"load-more-text"],"item":[1],"loadMore":[32],"noMore":[32],"failedToLoad":[32]}]]],["p-da9b84ee",[[0,"salla-installment",{"price":[1],"language":[1],"currency":[1],"country":[1],"tabbyIsActive":[32],"spotiiIsActive":[32],"tamaraIsActive":[32],"mispayActive":[32],"emkanIsActive":[32],"madfuActive":[32],"rajehiIsActive":[32],"klarnaIsActive":[32],"installment_sheria_text":[32]}]]],["p-316be8a7",[[0,"salla-loyalty-points-banner",{"pointsData":[32],"productId":[32]}]]],["p-c6f677aa",[[0,"salla-loyalty-prize-item",{"item":[16]}]]],["p-73125aab",[[0,"salla-maintenance-alert",{"title":[32],"message":[32],"buttonTitle":[32]}]]],["p-167a9c58",[[0,"salla-metadata",{"entity":[1],"entityId":[8,"entity-id"],"specs":[32],"download":[32]}]]],["p-02946cf5",[[0,"salla-order-branch",{"stackCards":[516,"stack-cards"],"branchData":[32],"isLoading":[32]}]]],["p-e1b853b2",[[0,"salla-order-edit-product-card",{"product":[1]}]]],["p-2df4e63a",[[0,"salla-order-shipments",{"orderId":[8,"order-id"],"shipments":[32]},null,{"orderId":["onOrderIdChange"]}]]],["p-1c7999c9",[[0,"salla-order-totals-card",{"amounts":[1],"order":[1],"summary":[32]},null,{"amounts":["handleAmountsChange"],"order":["handleOrderChange"]}]]],["p-c840c67c",[[0,"salla-payments",{"exclude":[1040]}]]],["p-ce8bdea8",[[0,"salla-product-card-embed",{"productId":[8,"product-id"],"align":[513],"source":[513],"loading":[32],"hasError":[32],"productData":[32]}]]],["p-9ab10a2f",[[0,"salla-social",{"links":[32],"iconsList":[32]}]]],["p-e8f7ed7b",[[0,"salla-trust-badges",{"dark":[4],"commercialRegisterLabel":[32],"freelanceLabel":[32]}]]],["p-f37cc89b",[[0,"salla-wishlist-summary",{"isEnabled":[32],"wishlistCount":[32],"wishlistLabel":[32]}]]],["p-ef9567bd",[[0,"salla-notifications",{"loadMoreText":[1,"load-more-text"],"itemPerPage":[2,"item-per-page"],"pagination":[32],"total":[32],"showPlaceholder":[32],"nextPage":[32],"no_notifications_trans":[32],"load_more_text_trans":[32]}],[0,"salla-notification-item",{"notification":[16]}]]],["p-2bb95112",[[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"],"hideCloseButton":[4,"hide-close-button"],"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],"enableLoader":[516,"enable-loader"],"disabled":[516],"loaderPosition":[1,"loader-position"],"href":[1],"type":[513],"load":[64],"stop":[64],"setText":[64],"disable":[64],"enable":[64]}]]],["p-36ddb8db",[[4,"salla-search-product-card",{"product":[1],"hideAddBtn":[4,"hide-add-btn"],"showDonationAmount":[4,"show-donation-amount"],"productData":[32],"remained":[32],"outOfStock":[32],"donationAmount":[32],"startingPrice":[32],"addToCart":[32],"placeholder":[32]},null,{"product":["handleProductChange"]}]]],["p-6cffd732",[[0,"salla-order-edit-item",{"item":[16],"orderId":[8,"order-id"],"quantity":[32]},null,{"item":["handleItemChange"]}]]],["p-73189ed2",[[0,"salla-order-details-multiple-bundle-product",{"productDetails":[16,"product-details"],"collapsible":[4],"placeholderImage":[1,"placeholder-image"]}]]],["p-6eb365f3",[[4,"salla-filters-widget",{"withLoadMore":[1028,"with-load-more"],"filtersData":[16,"filters-data"],"option":[16],"isOpen":[32],"isShowMore":[32],"showMoreLabel":[32],"showLessLabel":[32],"page":[32],"searchQuery":[32],"filteredCount":[32],"setWidgetHeight":[64],"reset":[64],"showMore":[64],"toggleWidget":[64]}]]],["p-b2da9ea7",[[0,"salla-login-modal",{"isEmailAllowed":[1028,"is-email-allowed"],"isMobileAllowed":[1028,"is-mobile-allowed"],"isEmailRequired":[1028,"is-email-required"],"supportWebAuth":[516,"support-web-auth"],"inline":[516],"storeId":[1032,"store-id"],"api":[1],"headers":[1025],"withoutReload":[1028,"without-reload"],"source":[32],"messages":[32],"isClosable":[32],"iframeLoaded":[32],"scrolling":[32],"direction":[32],"canRenderIframe":[32],"open":[64]}]]],["p-8f1789f7",[[4,"salla-social-share",{"url":[1537],"urlName":[513,"url-name"],"platforms":[513],"mode":[513],"modalTitle":[1,"modal-title"],"opened":[32],"copied":[32],"allPlatforms":[32],"platformIcons":[32],"convertedPlatforms":[32],"open":[64],"close":[64],"refresh":[64]},null,{"url":["onUrlChanged"]}]]],["p-9a7da6d0",[[4,"salla-quantity-input",{"cartItemId":[8,"cart-item-id"],"disableInput":[32],"quantity":[32],"fireChangeEvent":[32],"decrease":[64],"increase":[64],"setValue":[64]},null,{"quantity":["watchPropHandler"]}],[0,"salla-attachments",{"attachments":[1],"images":[1],"videos":[1],"rating":[1],"productRatings":[1,"product-ratings"],"productId":[8,"product-id"],"maxVisible":[2,"max-visible"],"clickable":[4]}],[0,"salla-tel-input",{"phone":[1025],"autofocus":[516],"name":[1],"disabled":[4],"countryCode":[1025,"country-code"],"mobileRequired":[32],"countryCodeLabel":[32],"mobileLabel":[32],"tooShort":[32],"tooLong":[32],"invalidCountryCode":[32],"invalidNumber":[32],"errorMap":[32],"getValues":[64],"isValid":[64]}],[0,"salla-booking-field",{"option":[16],"productId":[2,"product-id"],"bookNowLabel":[32],"editLabel":[32],"bookedLabel":[32],"selectDate":[32],"bookingUrl":[32],"iframeReady":[32],"reservations":[32],"reservationsInput":[32]}],[4,"salla-color-picker",{"name":[1],"required":[4],"color":[1537],"format":[1],"showCancelButton":[4,"show-cancel-button"],"showTextField":[4,"show-text-field"],"enableAlpha":[4,"enable-alpha"],"widgetColor":[32],"setPickerOption":[64],"movePopUp":[64],"setColorValue":[64],"openPicker":[64],"closePicker":[64],"destroyPicker":[64]}],[4,"salla-conditional-fields",null,[[0,"change","changeHandler"],[0,"input","changeHandler"]]],[0,"salla-datetime-picker",{"value":[1537],"required":[4],"name":[513],"placeholder":[1],"allowInput":[4,"allow-input"],"allowInvalidPreload":[4,"allow-invalid-preload"],"altFormat":[1,"alt-format"],"altInput":[4,"alt-input"],"altInputClass":[1,"alt-input-class"],"appendTo":[16,"append-to"],"ariaDateFormat":[1,"aria-date-format"],"autoFillDefaultTime":[4,"auto-fill-default-time"],"clickOpens":[4,"click-opens"],"closeOnSelect":[4,"close-on-select"],"conjunction":[1],"dateFormat":[1,"date-format"],"defaultDate":[8,"default-date"],"defaultHour":[2,"default-hour"],"defaultMinute":[2,"default-minute"],"defaultSeconds":[2,"default-seconds"],"disable":[16],"disableMobile":[4,"disable-mobile"],"enable":[16],"enableSeconds":[4,"enable-seconds"],"enableTime":[4,"enable-time"],"formatDate":[16,"format-date"],"hourIncrement":[2,"hour-increment"],"inline":[4],"locale":[1],"maxDate":[8,"max-date"],"maxTime":[8,"max-time"],"minDate":[8,"min-date"],"minTime":[8,"min-time"],"minuteIncrement":[2,"minute-increment"],"mode":[1],"monthSelectorType":[1,"month-selector-type"],"nextArrow":[1,"next-arrow"],"noCalendar":[4,"no-calendar"],"dateParser":[16,"date-parser"],"position":[1],"positionElement":[16,"position-element"],"prevArrow":[1,"prev-arrow"],"shorthandCurrentMonth":[4,"shorthand-current-month"],"static":[4],"showMonths":[2,"show-months"],"time_24hr":[4,"time_-2-4hr"],"weekNumbers":[4,"week-numbers"],"wrap":[4],"disabled":[4]}],[0,"salla-file-upload",{"value":[1544],"files":[513],"height":[513],"cartItemId":[1,"cart-item-id"],"profileImage":[516,"profile-image"],"name":[1537],"payloadName":[1,"payload-name"],"payloadParams":[16,"payload-params"],"type":[1],"accept":[1537],"fileId":[2,"file-id"],"url":[1025],"method":[1],"formData":[1,"form-data"],"required":[4],"maxFileSize":[1,"max-file-size"],"disabled":[4],"allowDrop":[4,"allow-drop"],"allowBrowse":[4,"allow-browse"],"allowPaste":[4,"allow-paste"],"allowMultiple":[4,"allow-multiple"],"enableGallery":[516,"enable-gallery"],"allowReplace":[4,"allow-replace"],"allowRevert":[4,"allow-revert"],"allowRemove":[4,"allow-remove"],"allowProcess":[4,"allow-process"],"allowReorder":[4,"allow-reorder"],"allowImagePreview":[4,"allow-image-preview"],"imagePreviewHeight":[2,"image-preview-height"],"filePosterHeight":[2,"file-poster-height"],"storeAsFile":[4,"store-as-file"],"forceRevert":[4,"force-revert"],"maxFilesCount":[2,"max-files-count"],"maxParallelUploads":[2,"max-parallel-uploads"],"maxImagesCount":[2,"max-images-count"],"maxVideosCount":[2,"max-videos-count"],"maxVideoFileSize":[1,"max-video-file-size"],"maxVideoDuration":[2,"max-video-duration"],"checkValidity":[4,"check-validity"],"itemInsertLocation":[1,"item-insert-location"],"itemInsertInterval":[2,"item-insert-interval"],"credits":[4],"dropOnPage":[4,"drop-on-page"],"dropOnElement":[4,"drop-on-element"],"dropValidation":[4,"drop-validation"],"ignoredFiles":[16,"ignored-files"],"instantUpload":[1028,"instant-upload"],"chunkUploads":[4,"chunk-uploads"],"chunkForce":[4,"chunk-force"],"chunkSize":[2,"chunk-size"],"chunkRetryDelays":[16,"chunk-retry-delays"],"labelDecimalSeparator":[1,"label-decimal-separator"],"labelThousandsSeparator":[1,"label-thousands-separator"],"labelIdle":[1025,"label-idle"],"iconRemove":[1,"icon-remove"],"iconProcess":[1,"icon-process"],"iconRetry":[1,"icon-retry"],"iconUndo":[1,"icon-undo"],"max_images_count":[32],"max_videos_count":[32],"max_count_hint":[32],"video_too_large":[32],"video_too_long":[32],"uploadedFiles":[32],"isListScrollerListenerAdded":[32],"showMaxCountHint":[32],"previewFiles":[32],"setOption":[64]}],[0,"salla-attachment-view",{"attachments":[1],"isOpen":[32],"activeIndex":[32],"open":[64],"close":[64]}]]],["p-3eface57",[[0,"salla-multiple-bundle-product-details",{"sections":[16],"selectedProducts":[32],"canSelectBundleProduct":[64]},null,{"sections":["handleSectionsChange"]}],[0,"salla-multiple-bundle-product-cart",{"sections":[16],"itemNumber":[32]}]]],["p-dfcb0978",[[0,"salla-rating-modal",{"orderId":[1032,"order-id"],"productId":[1032,"product-id"],"order":[32],"hasError":[32],"showContactWidget":[32],"errorMessage":[32],"images":[32],"productImages":[32],"editItemImages":[32],"contact_body":[32],"editMode":[32],"defaultMode":[32],"deleteMode":[32],"shouldOpenDeleteModal":[32],"editType":[32],"editFeedbackId":[32],"deleteFeedbackId":[32],"editItem":[32],"loyaltyImageRatingPoints":[32],"enableNewPopUp":[32],"setOrder":[64],"open":[64],"close":[64]}]]],["p-19b7fccb",[[0,"salla-order-details-options",{"options":[1],"bordered":[4],"placeholderImage":[1,"placeholder-image"],"optionsData":[32]}]]],["p-744c8337",[[0,"salla-comment-factors",{"factors":[16]}]]],["p-9ace9fc5",[[0,"salla-price-range",{"minPrice":[1032,"min-price"],"maxPrice":[1032,"max-price"],"option":[16],"filtersData":[520,"filters-data"],"min":[32],"max":[32],"priceOptions":[32],"moreThanLabel":[32],"lessThanLabel":[32],"toLabel":[32],"fromLabel":[32],"typing":[32],"isMin":[32],"isRTL":[32],"reset":[64]}]]],["p-4678b6d7",[[0,"salla-loyalty-exchange-product-card",{"product":[8],"hasCustomCard":[32]}]]],["p-c7728312",[[0,"salla-rating-modal-v2",{"orderId":[1032,"order-id"],"productId":[1032,"product-id"],"order":[32],"hasError":[32],"showContactWidget":[32],"errorMessage":[32],"images":[32],"productImages":[32],"editItemImages":[32],"productReviewFactors":[32],"editFactorRatings":[32],"productMainRatings":[32],"productFactorRatings":[32],"editMainRating":[32],"contact_body":[32],"editMode":[32],"defaultMode":[32],"deleteMode":[32],"shouldOpenDeleteModal":[32],"editType":[32],"editFeedbackId":[32],"deleteFeedbackId":[32],"editItem":[32],"allowAttachImages":[32],"allowAttachVideos":[32],"allowContactSupport":[32],"uploadCounts":[32],"uploadImageCounts":[32],"uploadVideoCounts":[32],"hasUploadsInProgress":[32],"loyaltyImageRatingPoints":[32],"setOrder":[64],"open":[64],"openEditModal":[64],"openDeleteModal":[64],"close":[64]}]]],["p-56d064c0",[[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],"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],"addressDescription":[32],"reverseGeocoding":[32],"confirming":[32],"locationPermission":[32],"liveLocation":[32],"newAddressForm":[32],"open":[64],"close":[64]}],[0,"salla-bullet-delivery-tag",{"isEligible":[32]}],[0,"salla-searchable-dropdown",{"label":[1],"placeholder":[1],"items":[16],"selectedItem":[16,"selected-item"],"loading":[4],"searching":[4],"disabled":[4],"required":[4],"noResultsText":[1,"no-results-text"],"inputId":[1,"input-id"],"searchQuery":[1,"search-query"],"clientSearch":[4,"client-search"],"dropUp":[4,"drop-up"],"searchable":[4],"keepParentScroll":[4,"keep-parent-scroll"],"isOpen":[32],"focusedIndex":[32],"clientSearchQuery":[32]},null,{"items":["onItemsChange"]}]]],["p-b6674eab",[[0,"salla-products-list",{"source":[1537],"sourceValue":[1032,"source-value"],"limit":[1026],"sortBy":[1025,"sort-by"],"filtersResults":[1540,"filters-results"],"horizontalCards":[516,"horizontal-cards"],"rowCards":[516,"row-cards"],"compactCards":[516,"compact-cards"],"autoload":[1028],"loadMoreText":[1,"load-more-text"],"productCardComponent":[1,"product-card-component"],"includes":[1040],"selectable":[1540],"page":[32],"nextPage":[32],"hasInfiniteScroll":[32],"hasCustomComponent":[32],"sourceValueIsValid":[32],"placeholderText":[32],"endOfText":[32],"failedLoadMore":[32],"currentPage":[32],"currentCategoryIdFilter":[32],"isReady":[32],"showPlaceholder":[32],"switchToNormalBehavior":[32],"parsedFilters":[32],"filtersSnapshot":[32],"setFilters":[64],"reload":[64],"loadMore":[64],"getSelected":[64],"getLoadedProducts":[64],"selectAll":[64],"clearSelection":[64]},null,{"selectable":["onSelectableChanged"]}]]],["p-6b28397a",[[0,"salla-review-factors-tags",{"factors":[16],"orderId":[2,"order-id"],"ratingId":[2,"rating-id"],"productId":[2,"product-id"],"itemId":[2,"item-id"],"loadedFactors":[32]},null,{"factors":["onPropsChange"],"orderId":["onPropsChange"],"ratingId":["onPropsChange"],"productId":["onPropsChange"],"itemId":["onPropsChange"]}]]],["p-87feddeb",[[0,"salla-products-slider",{"blockTitle":[1,"block-title"],"subTitle":[1,"sub-title"],"sliderId":[1,"slider-id"],"displayAllUrl":[1,"display-all-url"],"autoplay":[1028],"source":[1537],"sourceValue":[1,"source-value"],"limit":[1026],"sliderConfig":[520,"slider-config"],"sliderProps":[16,"slider-props"],"productCardComponent":[1,"product-card-component"],"includes":[1040],"productsData":[32],"isReady":[32],"sourceValueIsValid":[32],"hasCustomComponent":[32],"apiUrl":[32],"parsedSourceValue":[32]},null,{"isReady":["onReadyChanged"]}]]],["p-e506fbee",[[1,"salla-multiple-bundle-product-options-modal",{"product":[32],"sectionId":[32],"sectionIndex":[32],"productIndex":[32],"selectedOptions":[32],"optionsResetTokens":[32],"isLoading":[32],"hasUnsavedChanges":[32],"validationErrors":[32],"open":[64],"close":[64],"refreshOptionsState":[64]},null,{"product":["handleProductChange"]}],[0,"salla-multiple-bundle-product-slider",{"section":[16],"sectionIndex":[2,"section-index"],"selectedProducts":[16,"selected-products"],"isSelectionLocked":[4,"is-selection-locked"],"selectionLimit":[2,"selection-limit"],"savedOptionsByInstance":[32]},[[4,"optionsSaved","handleOptionsSaved"]]]]],["p-1c75de1e",[[0,"salla-gift-card-redeem",{"code":[32],"inlineForm":[32],"pending":[32],"error":[32],"redeemedOnce":[32],"isDesktop":[32],"modalView":[32],"result":[32]}],[4,"salla-tooltip",{"text":[1],"targetId":[1,"target-id"],"theme":[1],"show":[32]},[[9,"mouseover","handleMouseOver"],[9,"mouseout","handleMouseOut"]]]]],["p-27d94a42",[[4,"salla-list-tile",{"href":[1],"target":[1]}]]],["p-f52c49c8",[[4,"salla-badge",{"size":[1],"color":[1],"bg":[1]}]]],["p-2d8d9829",[[0,"salla-count-down",{"date":[1],"preOrder":[1,"pre-order"],"horizontal":[4],"withButton":[4,"with-button"],"prefixText":[1,"prefix-text"],"buttonHref":[1,"button-href"],"buttonText":[1,"button-text"],"buttonIcon":[1,"button-icon"],"boxed":[4],"size":[1],"color":[1],"labeled":[4],"endText":[1,"end-text"],"boxColor":[1,"box-color"],"boxTheme":[1,"box-theme"],"listPadding":[1,"list-padding"],"digits":[1],"endOfDay":[4,"end-of-day"],"autoSegments":[4,"auto-segments"],"daysLabel":[32],"hoursLabel":[32],"minutesLabel":[32],"secondsLabel":[32],"endLabel":[32],"invalidDate":[32],"offerEnded":[32],"parseFailed":[32],"countInterval":[32],"days":[32],"hours":[32],"minutes":[32],"seconds":[32],"showDays":[32],"showHours":[32],"endCountDown":[64]}]]],["p-132d9742",[[0,"salla-order-options-modal",{"orderOptions":[32],"basePrice":[32],"liveTotal":[32],"isSubmitting":[32],"sessionId":[32],"paymentMode":[32],"freeProduct":[32],"inFreeStep":[32],"title":[32],"subtitle":[32],"submitLabel":[32],"totalLabel":[32],"requiredMessage":[32],"freeProductTitle":[32],"freeProductSubtitle":[32],"freeProductContinueLabel":[32],"open":[64],"close":[64]}]]],["p-8d119291",[[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],"buyNowLoading":[32],"isDesktopViewport":[32]}],[0,"salla-quick-buy",{"type":[1025],"productType":[1025,"product-type"],"productId":[1025,"product-id"],"cartId":[1025,"cart-id"],"amount":[1538],"currency":[1025],"options":[16],"isRequireShipping":[1028,"is-require-shipping"],"applePayOnly":[1028,"apple-pay-only"],"validateHost":[1025,"validate-host"],"supportedNetworks":[1040,"supported-networks"],"supportedCountries":[1040,"supported-countries"],"isApplePayActive":[32],"quickBuy":[32]}],[0,"salla-product-availability",{"channels":[1],"notifyOptionsAvailability":[4,"notify-options-availability"],"productId":[2,"product-id"],"isSubscribed":[1028,"is-subscribed"],"translationLoaded":[32],"title_":[32]},null,{"channels":["channelsWatcher"]}],[0,"salla-product-options",{"productAvailable":[1028,"product-available"],"productId":[8,"product-id"],"options":[1],"hideOutLabel":[1,"hide-out-label"],"uniqueKey":[1,"unique-key"],"bundleContext":[1,"bundle-context"],"config":[1],"noPadding":[4,"no-padding"],"optionsData":[32],"outOfStockText":[32],"donationAmount":[32],"selectDonationAmount":[32],"selectAmount":[32],"isCustomDonation":[32],"selectedOptions":[32],"canDisabled":[32],"selectedSkus":[32],"selectedOutSkus":[32],"disableCardValue":[32],"availableDigitalCardValues":[32],"userInitiatedValidation":[32],"isCartMode":[32],"availabilityMap":[32],"setOptionsData":[64],"getOptionsData":[64],"getSelectedOptionsData":[64],"reportValidity":[64],"hasOutOfStockOption":[64],"getSelectedOptions":[64],"getOption":[64],"seedSelectedOptions":[64],"enterCartMode":[64],"enableUserInitiatedValidation":[64],"validateAndScroll":[64]}]]],["p-0cb5d9c6",[[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],"forceShowWishlistButton":[4,"force-show-wishlist-button"],"compactAddToCart":[4,"compact-add-to-cart"],"showOutOfStockBesidePrice":[4,"show-out-of-stock-beside-price"],"productData":[32],"fitImageHeight":[32],"remained":[32],"outOfStock":[32],"donationAmount":[32],"startingPrice":[32],"addToCart":[32],"placeholder":[32]}]]],["p-84ee1884",[[4,"salla-accordion-body"],[4,"salla-accordion-head",{"collapsible":[4],"collapsed":[1540]}]]],["p-ea82cbb3",[[4,"salla-placeholder",{"icon":[1],"alignment":[1],"iconSize":[1,"icon-size"],"translationLoaded":[32]}]]],["p-157873ee",[[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],"activeTab":[1,"active-tab"]},[[0,"tabSelected","onSelectedTab"]]]]],["p-22fc1505",[[0,"salla-loyalty-program",{"currentPrize":[32],"currentProductId":[32],"collapsed":[32],"animatedPoints":[32]}],[0,"salla-loyalty-panel",{"prizePoints":[1537,"prize-points"],"customerPoints":[1538,"customer-points"],"prizeTitle":[1537,"prize-title"],"currentPrize":[32],"currentProductId":[32]}],[0,"salla-loyalty-banner"],[0,"salla-loyalty-reward",{"size":[1],"prize":[16],"group":[1]}],[0,"salla-loyalty-point",{"point":[16]}],[4,"salla-loyalty-hero",{"image":[1],"name":[1],"description":[1]}],[0,"salla-reward-details",{"prize":[16],"refreshKey":[32],"includedProductsData":[32]},[[0,"loyaltyProductExchange","handleProductExchange"]],{"prize":["handlePrizeChange"]}],[4,"salla-reward-card",{"prize":[16]}],[0,"salla-reward-action",{"prize":[16]}],[0,"salla-reward-exchange",{"prize":[16],"productId":[2,"product-id"]}]]],["p-1f3d5e3e",[[0,"salla-skeleton",{"type":[1],"width":[1],"height":[1]}]]],["p-6cfb6628",[[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]}],[4,"salla-slider",{"blockTitle":[513,"block-title"],"listenToThumbnailsOption":[516,"listen-to-thumbnails-option"],"blockSubtitle":[513,"block-subtitle"],"displayAllUrl":[513,"display-all-url"],"arrowsCentered":[516,"arrows-centered"],"verticalThumbs":[516,"vertical-thumbs"],"gridThumbs":[516,"grid-thumbs"],"vertical":[516],"autoHeight":[516,"auto-height"],"showControls":[516,"show-controls"],"controlsOuter":[516,"controls-outer"],"showThumbsControls":[4,"show-thumbs-controls"],"staticWhenSingle":[516,"static-when-single"],"autoPlay":[4,"auto-play"],"slidesPerView":[1,"slides-per-view"],"pagination":[4],"centered":[4],"loop":[4],"direction":[1537],"type":[1],"sliderConfig":[520,"slider-config"],"thumbsConfig":[520,"thumbs-config"],"currentIndex":[32],"isEnd":[32],"isBeginning":[32],"displayAllTitle":[32],"isDesktopViewport":[32],"sliderInstance":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"slideToLoop":[64],"slideNextLoop":[64],"slidePrevLoop":[64],"slideReset":[64],"slideToClosest":[64],"update":[64],"updateAutoHeight":[64],"updateSlides":[64],"updateProgress":[64],"updateSlidesClasses":[64],"getSlides":[64],"updateSize":[64],"sliderInit":[64],"thumbsSliderInstance":[64],"thumbsSliderInit":[64],"thumbsSliderUpdate":[64],"thumbsSliderUpdateSlides":[64],"getThumbsUpdateSize":[64],"thumbsSlideTo":[64],"getThumbsSlides":[64]}]]],["p-94f18d97",[[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]}]]]]'),e))));
4
+ import{p as e,g as a,b as t}from"./p-8Kr0yg20.js";export{s as setNonce}from"./p-8Kr0yg20.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await a(),t(JSON.parse('[["p-e54b95a6",[[0,"salla-offer-modal",{"offer":[32],"offer_name":[32],"offer_message":[32],"hasError":[32],"errorMessage":[32],"productID":[32],"offer_type":[32],"translationLoaded":[32],"addToCartLabel":[32],"open":[64],"showOffer":[64]}]]],["p-e12337ab",[[0,"salla-multiple-bundle-product",{"bundleSections":[1,"bundle-sections"],"parsedSections":[32]},null,{"bundleSections":["parseProducts"]}]]],["p-5b0259d8",[[0,"salla-basket-gap",{"limit":[2],"products":[32],"isLoading":[32],"canRender":[32],"title":[32],"addToCartLabel":[32],"weightLabel":[32],"discountLabel":[32]}]]],["p-052fb212",[[4,"salla-gifting",{"productId":[2,"product-id"],"widgetTitle":[1,"widget-title"],"widgetSubtitle":[1,"widget-subtitle"],"physicalProducts":[4,"physical-products"],"physical":[4],"vertical":[4],"formSelector":[1025,"form-selector"],"sectionTitle":[32],"sectionSubtitle":[32],"sectionBtnText":[32],"giftDetails":[32],"selectImageForYourGift":[32],"selectImageOrUpload":[32],"selectGiftMessage":[32],"giftText":[32],"giftCustomText":[32],"textId":[32],"incorrectGiftText":[32],"nextStep":[32],"senderNameLabel":[32],"receiverNameFieldLabel":[32],"receiverMobileFieldLabel":[32],"receiverCountryFieldLabel":[32],"ksa":[32],"selectCountry":[32],"selectCity":[32],"selectCityInfo":[32],"cityChangeNotice":[32],"receiverCityFieldLabel":[32],"receiverRegionFieldLabel":[32],"selectRegion":[32],"receiverEmailFieldLabel":[32],"emailPlaceholder":[32],"sendLater":[32],"selectSendDateAndTime":[32],"canNotEditOrderAfterSelectDate":[32],"sendGift":[32],"donationRequired":[32],"currentStep":[32],"showCalendar":[32],"showGiftText":[32],"currentLang":[32],"parentClass":[32],"errors":[32],"gift":[32],"selectedGiftTextOption":[32],"selectedCountryId":[32],"selectedCountryCode":[32],"loadingCities":[32],"loadingRegions":[32],"regions":[32],"selectedRegionId":[32],"isKSA":[32],"selectedCountry":[32],"selectedRegion":[32],"displayedCities":[32],"selectedCity":[32],"searchingCities":[32],"enableCityAjaxSearch":[32],"citySearchQuery":[32],"parsedFormData":[32],"showTextArea":[32],"selectedImage":[32],"uploadedImage":[32],"selectedText":[32],"senderName":[32],"errorMessage":[32],"hasError":[32],"quantity":[32],"deliveryDate":[32],"timeZone":[32],"receiverName":[32],"receiverMobile":[32],"receiverCountryCode":[32],"receiverEmail":[32],"hostId":[32],"disableClass":[32],"receiverCity":[32],"open":[64],"close":[64],"goToStep2":[64]}]]],["p-3118f527",[[0,"salla-search",{"placeholder":[4],"inline":[4],"oval":[4],"height":[2],"maxWords":[2,"max-words"],"showAction":[4,"show-action"],"translationLoaded":[32],"labels":[32],"results":[32],"loading":[32],"typing":[32],"debounce":[32],"search_term":[32],"hasInputValue":[32],"searchHistory":[32],"trendingCategories":[32],"mostSearchedProducts":[32]},[[16,"modalVisibilityChanged","handleModalVisibilityChanged"],[0,"keydown","handleKeyDown"]],{"search_term":["handleSearch"]}]]],["p-8bb54ab1",[[0,"salla-order-edit",{"orderId":[8,"order-id"],"orderData":[1,"order-data"],"excludedCategories":[1,"excluded-categories"],"order":[32],"loading":[32],"error":[32],"saveLoading":[32],"payload":[32],"expired":[32],"editPreview":[32],"productSearchQuery":[32],"productsListKey":[32],"productsListSource":[32],"productsListSourceValue":[32],"selectedProductToAdd":[32],"addProductQuantity":[32],"addProductLoading":[32],"addProductConfirmLoading":[32],"mobileProductsModalMounted":[32],"isMobileViewport":[32],"isRTL":[32]},[[0,"orderEditProductSelected","handleProductSelected"],[0,"orderItemUpdated","handleItemUpdated"],[0,"orderItemRemoved","handleItemRemoved"]]]]],["p-b85d3a54",[[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],"filterAllText":[32],"filterArchivedText":[32],"filterAwaitingReviewText":[32],"leaveReviewText":[32],"noUnratedOrdersText":[32],"noArchivedOrdersText":[32],"orders":[32],"pagination":[32],"hasInfiniteScroll":[32],"total":[32],"nextPage":[32],"showPlaceholder":[32],"activeFilter":[32],"pendingReviewCount":[32],"emptyFilterResult":[32],"isFetching":[32]}]]],["p-2bf57ca7",[[4,"salla-loyalty",{"prizePoints":[1544,"prize-points"],"customerPoints":[1538,"customer-points"],"prizeTitle":[1537,"prize-title"],"allowEmail":[4,"allow-email"],"allowMobile":[4,"allow-mobile"],"requireEmail":[4,"require-email"],"guestMessage":[1025,"guest-message"],"loyaltyProgram":[32],"activeTabType":[32],"tabsKey":[32],"buttonLoading":[32],"selectedItem":[32],"askConfirmation":[32],"is_loggedin":[32],"hasError":[32],"errorMessage":[32],"translationLoaded":[32],"open":[64],"close":[64],"resetExchange":[64],"exchangeLoyaltyPoint":[64]},[[0,"tabSelected","onTabSelected"]]]]],["p-16479b90",[[0,"salla-order-details",{"orderDetails":[1,"order-details"],"parsedOrderDetailsData":[32]},null,{"orderDetails":["parseOrderDetailsData"]}]]],["p-5de3e4c3",[[4,"salla-product-size-guide",{"guides":[32],"productId":[32],"placeholder_title":[32],"placeholder_description":[32],"modal_title":[32],"hasError":[32],"open":[64],"close":[64]}]]],["p-e93bcc6e",[[0,"salla-review-order-item",{"productId":[8,"product-id"],"orderItem":[32],"fetchOrderId":[32],"productRatings":[32],"allowUpdate":[32]},null,{"productId":["onProductIdChange"]}]]],["p-db5d3d60",[[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],"max_discount_text":[32],"branches_text":[32],"buy_from_text":[32],"get_from_text":[32],"payment_methods_text":[32],"product_text":[32]}]]],["p-5076dfe4",[[0,"salla-custom-fields",{"fields":[1],"isEditable":[4,"is-editable"],"fileUploadUrl":[1,"file-upload-url"],"parsedFields":[32],"fieldErrors":[32],"isSubmitting":[32],"setFields":[64],"getFieldValues":[64],"validateFields":[64]}]]],["p-66739790",[[4,"salla-scopes",{"selection":[1],"searchDisplayLimit":[2,"search-display-limit"],"translationLoaded":[32],"mode":[32],"current_scope":[32],"scopes":[32],"originalScopesList":[32],"selected_scope":[32],"isOpenedBefore":[32],"hasError":[32],"loading":[32],"close":[64],"open":[64],"handleSubmit":[64]}]]],["p-126d5595",[[0,"salla-delivery-promise",{"isDeliveryPromiseEnabled":[32],"isLoginCycleEnabled":[32],"canRender":[32],"labels":[32],"selectedLabel":[32],"deliveryMessage":[32],"hasError":[32],"errorMessage":[32],"isLoadingPromises":[32],"selectedCityLoginCycle":[32],"selectedBranchLoginCycle":[32],"cities":[32],"selectedCity":[32],"isLoadingCities":[32],"cityPendingSelection":[32],"modalCities":[32],"isSearchingCities":[32]}]]],["p-6d629a37",[[0,"salla-localization-modal",{"language":[1537],"currency":[1537],"showTrigger":[1540,"show-trigger"],"translationLoaded":[32],"languages":[32],"currencies":[32],"hasError":[32],"errorMessage":[32],"open":[64],"close":[64],"submit":[64]}]]],["p-2a160737",[[0,"salla-wallet",{"transactionsArray":[32],"balance":[32],"isLoading":[32],"nextPageUrl":[32]}]]],["p-1db334c5",[[0,"salla-filters",{"filters":[1040],"isSidebarOpen":[32],"filtersData":[32],"apply":[32],"getFilters":[64],"applyFilters":[64],"resetFilters":[64],"removeFilter":[64]}]]],["p-e62dd507",[[0,"salla-quick-order",{"quickOrderTitle":[1025,"quick-order-title"],"subTitle":[1025,"sub-title"],"payButtonTitle":[1025,"pay-button-title"],"confirmPayButtonTitle":[1025,"confirm-pay-button-title"],"agreementText":[1025,"agreement-text"],"isEmailRequired":[1028,"is-email-required"],"productId":[1025,"product-id"],"thanksMessage":[1025,"thanks-message"],"quickOrderStyle":[1025,"quick-order-style"],"user":[32],"isAvailable":[32],"oneClick":[32],"expanded":[32],"isTermsRequired":[32],"countryCode":[32],"submitSucess":[32],"placeHolderEmail":[32],"emailOptional":[32],"agreementShowText":[32],"agreementModalHead":[32],"userNameLabel":[32],"termsChecked":[32]}]]],["p-ca838de0",[[4,"salla-user-menu",{"inline":[516],"avatarOnly":[516,"avatar-only"],"showHeader":[516,"show-header"],"relativeDropdown":[516,"relative-dropdown"],"showTrigger":[1540,"show-trigger"],"accountLoading":[32],"opened":[32],"notifications":[32],"orders":[32],"pending_orders":[32],"wishlist":[32],"profile":[32],"rating":[32],"wallet":[32],"settings":[32],"loyalty_points":[32],"logout":[32],"hello":[32],"first_name":[32],"last_name":[32],"avatar":[32],"is_loggedIn":[32],"badges":[32],"sallaAccountEnabled":[32],"walletBalance":[32],"walletBalanceLoading":[32],"hasBadges":[32],"profileUrl":[32],"OrderUpdate":[32]}]]],["p-a98f0462",[[0,"salla-user-profile",{"minAge":[2,"min-age"],"userData":[32],"isEditable":[32],"disableAction":[32],"isLoading":[32],"first_name_trans":[32],"last_name_trans":[32],"birthday_trans":[32],"birthday_placeholder_trans":[32],"gender_trans":[32],"gender_placeholder_trans":[32],"male_trans":[32],"female_trans":[32],"email_trans":[32],"mobile_trans":[32],"save_btn_trans":[32],"drag_and_drop_trans":[32],"browse_trans":[32],"email_required_trans":[32],"invalid_email_trans":[32]}]]],["p-3392ced8",[[0,"salla-user-settings",{"isDeleteAccountEnabled":[32],"deactivateAccount":[32],"deactivateDesc":[32],"sorryForLeavingText":[32],"warningText":[32],"keepAccount":[32],"buttonLoading":[32],"deleteAccount":[32],"deleteAccountDesc":[32],"deleteConfirmTitle":[32],"deleteAccountWarning":[32],"cancelLabel":[32],"deleteOtpTitle":[32],"deleteOtpInstruction":[32],"deleteConfirmOtp":[32],"sendViaPhone":[32],"sendViaEmail":[32],"deleteSuccessTitle":[32],"deleteSuccessMessage":[32],"okLabel":[32],"cancelDeletionRequest":[32],"deleteAccountPending":[32],"deletePendingDays":[32],"resendAfterLabel":[32],"resendLabel":[32],"promotionalMsgs":[32],"hideMyName":[32],"hideMyNameDesc":[32],"promotionalMsgsDesc":[32],"currentStep":[32],"isDeletePending":[32],"otpType":[32],"otpHasError":[32],"otpErrorMessage":[32],"isSubmitting":[32],"isVerifyingOtp":[32],"isSwitchingChannel":[32],"resendAfter":[32],"showResendLink":[32],"canHideName":[32],"isHiddenName":[32],"isNotifiable":[32]}]]],["p-3179c72b",[[0,"salla-bottom-alert",{"type":[513],"icon":[513],"message":[513],"actionUrl":[513,"action-url"],"actionLabel":[513,"action-label"],"storeId":[32],"template":[32],"loading":[32],"templateData":[32],"defaultMessage":[32],"defaultActionLabel":[32],"storeFeatures":[32],"storeDetails":[32],"storePrice":[32],"storePriceDetails":[32],"theDeveloper":[32],"templateInformation":[32],"buyTheTemplate":[32],"isRtl":[32],"storeName":[32],"salla":[32],"readyStores":[32],"moreDetailsLabel":[32]}],[4,"salla-alert",{"message":[1],"variant":[1],"icon":[1]}]]],["p-fd4786e4",[[0,"salla-order-cancel",{"orderId":[8,"order-id"],"cancellationReasons":[1,"cancellation-reasons"],"reasons":[32],"selectedReasonId":[32],"reasonNote":[32],"confirmLoading":[32],"loading":[32],"modalTitleLabel":[32],"questionLabel":[32],"subtitleLabel":[32],"confirmLabel":[32],"backLabel":[32],"notePlaceholder":[32],"charLimitLabel":[32]},null,{"cancellationReasons":["onCancellationReasonsChange"]}]]],["p-25f15ab6",[[4,"salla-verify",{"display":[1],"type":[1025],"autoReload":[4,"auto-reload"],"supportWebAuth":[4,"support-web-auth"],"translationLoaded":[32],"title":[32],"resendAfter":[32],"hasError":[32],"errorMessage":[32],"isProfileVerify":[32],"getCode":[64],"open":[64]}]]],["p-3ad77173",[[0,"salla-cart-coupons",{"availableCoupons":[32],"cartTotal":[32],"cartTotalReady":[32],"currentCoupon":[32],"couponInputValue":[32],"couponError":[32],"isApplying":[32],"appliedCoupons":[32],"mergedCoupons":[32],"appliedCouponCards":[32],"multiCoupon":[32],"mergedCashbackCode":[32],"selectCoupon":[64]}]]],["p-b7ed8e39",[[0,"salla-cart-summary-card",{"validateForms":[4,"validate-forms"],"cartCount":[32],"cartTotal":[32],"cartTotalDiscount":[32],"cartCashbackAmount":[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],"cashbackLabel":[32],"finalTotalLabel":[32],"pricesTaxedLabel":[32],"completeOrderLabel":[32],"openSummaryLabel":[32],"closeSummaryLabel":[32],"itemsCountTemplate":[32]}]]],["p-654d7158",[[0,"salla-edit-order-button",{"orderId":[8,"order-id"],"order":[32],"loading":[32]},null,{"orderId":["onOrderIdChange"]}]]],["p-34b6c381",[[0,"salla-loyalty-points-history",{"loyaltyPointsArray":[32],"balance":[32],"isLoadingLoyalty":[32],"nextPageUrlLoyalty":[32]}]]],["p-df6a4f43",[[0,"salla-next-order-coupon",{"coupon":[32],"isLoading":[32],"titlePercentTpl":[32],"titleFixedTpl":[32],"badgeLabel":[32],"minSpendTpl":[32],"expiresTpl":[32],"shopNowLabel":[32],"copyLabel":[32],"copiedLabel":[32]}]]],["p-60a16078",[[0,"salla-order-summary",{"orderId":[514,"order-id"],"codeCopied":[32],"noItemFound":[32],"order_items":[32]}]]],["p-dc226d90",[[0,"salla-wishlist-actions",{"menuOpen":[32],"hasProducts":[32],"specificMode":[32],"selectedIds":[32],"loadedProductCount":[32],"isSharing":[32],"shareUrl":[32],"shareLabel":[32],"shareAllLabel":[32],"shareSpecificLabel":[32],"selectAllLabel":[32],"cancelLabel":[32],"shareModalTitle":[32],"shareSpecific":[64],"cancelSpecific":[64],"shareAll":[64],"shareSelected":[64]}]]],["p-5bfe0a12",[[0,"salla-conditional-offer",{"offer":[32],"isLoading":[32],"canRender":[32],"gifts":[32],"cartItemCount":[32],"isTooltipHovered":[32],"isTooltipPinned":[32],"isGiftsOpen":[32]},[[9,"resize","handleWindowResize"],[4,"keydown","handleDocumentKeydown"],[4,"click","handleDocumentClick"]]]]],["p-8456fc2b",[[0,"salla-cookies-bar",{"isVisible":[32],"step":[32],"isMobile":[32],"titleLabel":[32],"saveLabel":[32],"messageLabel":[32],"linkLabel":[32],"acceptLabel":[32],"acceptAllLabel":[32],"customizeLabel":[32],"essentialTitleLabel":[32],"essentialDescriptionLabel":[32],"essentialBadgeLabel":[32],"performanceTitleLabel":[32],"performanceDescriptionLabel":[32],"performanceEnabled":[32],"functionsTitleLabel":[32],"functionsDescriptionLabel":[32],"functionsEnabled":[32],"adsTitleLabel":[32],"adsDescriptionLabel":[32],"adsEnabled":[32],"accept":[64],"reject":[64],"open":[64]}]]],["p-d062becf",[[0,"salla-menu",{"source":[1],"sourceValue":[1,"source-value"],"topnav":[4],"useReactLink":[4,"use-react-link"],"limit":[2],"withCookiePreferences":[4,"with-cookie-preferences"],"menus":[32]}]]],["p-6b9e0168",[[0,"salla-tiered-offer",{"tieredOfferData":[32],"apiOfferData":[32],"currentTierIndex":[32],"currentTier":[32],"activeTabTier":[32],"canRender":[32],"isLoading":[32],"loyaltyProgramText":[32],"currentTierText":[32],"discountText":[32],"benefitText":[32]}]]],["p-68bab651",[[0,"salla-cart-item-offers",{"quantity":[2],"offers":[1],"itemId":[1,"item-id"],"productPrice":[2,"product-price"],"internalQuantity":[32],"internalOffers":[32],"internalProductPrice":[32],"showAll":[32],"freeLabel":[32],"receivedOffer":[32],"discountAmountLabel":[32],"showMoreOffers":[32]}],[4,"salla-cart-summary",{"showCartLabel":[4,"show-cart-label"],"cartSummaryCount":[32],"cartSummaryTotal":[32],"cartLabel":[32],"animateToCart":[64]}]]],["p-e5f0a5f3",[[0,"salla-advertisement",{"position":[32],"advertisements":[32],"advertIcon":[32],"currentSlug":[32]}]]],["p-e7ac6421",[[0,"salla-app-install-alert",{"data":[32],"ctaLink":[32],"open":[32],"closing":[32]}]]],["p-80986ebf",[[0,"salla-applied-filters",{"filters":[32],"filtersData":[32],"clearAllLabel":[32],"removeLabel":[32]}]]],["p-d7cb0405",[[0,"salla-apps-icons",{"apps":[16],"appsTitle":[1025,"apps-title"],"hideTitle":[4,"hide-title"],"vertical":[4],"slotTemplate":[1,"slot-template"],"sdkApps":[32]}]]],["p-cf742415",[[0,"salla-cashback-banner",{"cashbackData":[32],"productId":[32]}]]],["p-72f1eb9d",[[0,"salla-contacts",{"contacts":[16],"contactsTitle":[1025,"contacts-title"],"hideTitle":[4,"hide-title"],"isHeader":[4,"is-header"],"horizontal":[4],"iconsOnly":[4,"icons-only"],"slotTemplate":[1,"slot-template"],"sdkContacts":[32]}]]],["p-722a1d49",[[0,"salla-fulfillment-methods",{"methods":[32],"shouldRender":[32]}]]],["p-5500cb85",[[1,"salla-hook",{"name":[1],"mount":[64]}]]],["p-0fdbd8cc",[[4,"salla-infinite-scroll",{"nextPage":[1,"next-page"],"autoload":[1028],"container":[1],"loadMoreText":[1,"load-more-text"],"item":[1],"loadMore":[32],"noMore":[32],"failedToLoad":[32]}]]],["p-64ce7d04",[[0,"salla-installment",{"price":[1],"language":[1],"currency":[1],"country":[1],"tabbyIsActive":[32],"spotiiIsActive":[32],"tamaraIsActive":[32],"mispayActive":[32],"emkanIsActive":[32],"madfuActive":[32],"rajehiIsActive":[32],"klarnaIsActive":[32],"installment_sheria_text":[32]}]]],["p-ac719286",[[0,"salla-loyalty-points-banner",{"pointsData":[32],"productId":[32]}]]],["p-1e0df65d",[[0,"salla-loyalty-prize-item",{"item":[16]}]]],["p-4cfca9e1",[[0,"salla-maintenance-alert",{"title":[32],"message":[32],"buttonTitle":[32]}]]],["p-00654af3",[[0,"salla-metadata",{"entity":[1],"entityId":[8,"entity-id"],"specs":[32],"download":[32]}]]],["p-98de4c11",[[0,"salla-order-branch",{"stackCards":[516,"stack-cards"],"branchData":[32],"isLoading":[32]}]]],["p-b68679eb",[[0,"salla-order-edit-product-card",{"product":[1]}]]],["p-70e1cddf",[[0,"salla-order-shipments",{"orderId":[8,"order-id"],"shipments":[32]},null,{"orderId":["onOrderIdChange"]}]]],["p-c1039294",[[0,"salla-order-totals-card",{"amounts":[1],"order":[1],"summary":[32]},null,{"amounts":["handleAmountsChange"],"order":["handleOrderChange"]}]]],["p-a3630cbf",[[0,"salla-payments",{"exclude":[1040]}]]],["p-0e98fddd",[[0,"salla-product-card-embed",{"productId":[8,"product-id"],"align":[513],"source":[513],"loading":[32],"hasError":[32],"productData":[32]}]]],["p-ff64dad1",[[0,"salla-social",{"links":[32],"iconsList":[32]}]]],["p-8bd722e2",[[0,"salla-trust-badges",{"dark":[4],"commercialRegisterLabel":[32],"freelanceLabel":[32]}]]],["p-9a30c09e",[[0,"salla-wishlist-summary",{"isEnabled":[32],"wishlistCount":[32],"wishlistLabel":[32]}]]],["p-73be3e2b",[[0,"salla-notifications",{"loadMoreText":[1,"load-more-text"],"itemPerPage":[2,"item-per-page"],"pagination":[32],"total":[32],"showPlaceholder":[32],"nextPage":[32],"no_notifications_trans":[32],"load_more_text_trans":[32]}],[0,"salla-notification-item",{"notification":[16]}]]],["p-d9360a47",[[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"],"hideCloseButton":[4,"hide-close-button"],"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],"enableLoader":[516,"enable-loader"],"disabled":[516],"loaderPosition":[1,"loader-position"],"href":[1],"type":[513],"load":[64],"stop":[64],"setText":[64],"disable":[64],"enable":[64]}]]],["p-254c863e",[[4,"salla-search-product-card",{"product":[1],"hideAddBtn":[4,"hide-add-btn"],"showDonationAmount":[4,"show-donation-amount"],"productData":[32],"remained":[32],"outOfStock":[32],"donationAmount":[32],"startingPrice":[32],"addToCart":[32],"placeholder":[32]},null,{"product":["handleProductChange"]}]]],["p-f6b40c3f",[[0,"salla-order-edit-item",{"item":[16],"orderId":[8,"order-id"],"quantity":[32]},null,{"item":["handleItemChange"]}]]],["p-490493cc",[[0,"salla-order-details-multiple-bundle-product",{"productDetails":[16,"product-details"],"collapsible":[4],"placeholderImage":[1,"placeholder-image"]}]]],["p-06b45154",[[4,"salla-filters-widget",{"withLoadMore":[1028,"with-load-more"],"filtersData":[16,"filters-data"],"option":[16],"isOpen":[32],"isShowMore":[32],"showMoreLabel":[32],"showLessLabel":[32],"page":[32],"searchQuery":[32],"filteredCount":[32],"setWidgetHeight":[64],"reset":[64],"showMore":[64],"toggleWidget":[64]}]]],["p-5f176cff",[[0,"salla-login-modal",{"isEmailAllowed":[1028,"is-email-allowed"],"isMobileAllowed":[1028,"is-mobile-allowed"],"isEmailRequired":[1028,"is-email-required"],"supportWebAuth":[516,"support-web-auth"],"inline":[516],"storeId":[1032,"store-id"],"api":[1],"headers":[1025],"withoutReload":[1028,"without-reload"],"source":[32],"messages":[32],"isClosable":[32],"iframeLoaded":[32],"scrolling":[32],"direction":[32],"canRenderIframe":[32],"open":[64]}]]],["p-270e4b2d",[[4,"salla-social-share",{"url":[1537],"urlName":[513,"url-name"],"platforms":[513],"mode":[513],"modalTitle":[1,"modal-title"],"opened":[32],"copied":[32],"allPlatforms":[32],"platformIcons":[32],"convertedPlatforms":[32],"open":[64],"close":[64],"refresh":[64]},null,{"url":["onUrlChanged"]}]]],["p-3cd513b2",[[4,"salla-quantity-input",{"cartItemId":[8,"cart-item-id"],"disableInput":[32],"quantity":[32],"fireChangeEvent":[32],"decrease":[64],"increase":[64],"setValue":[64]},null,{"quantity":["watchPropHandler"]}],[0,"salla-attachments",{"attachments":[1],"images":[1],"videos":[1],"rating":[1],"productRatings":[1,"product-ratings"],"productId":[8,"product-id"],"maxVisible":[2,"max-visible"],"clickable":[4]}],[0,"salla-tel-input",{"phone":[1025],"autofocus":[516],"name":[1],"disabled":[4],"countryCode":[1025,"country-code"],"mobileRequired":[32],"countryCodeLabel":[32],"mobileLabel":[32],"tooShort":[32],"tooLong":[32],"invalidCountryCode":[32],"invalidNumber":[32],"errorMap":[32],"getValues":[64],"isValid":[64]}],[0,"salla-booking-field",{"option":[16],"productId":[2,"product-id"],"bookNowLabel":[32],"editLabel":[32],"bookedLabel":[32],"selectDate":[32],"bookingUrl":[32],"iframeReady":[32],"reservations":[32],"reservationsInput":[32]}],[4,"salla-color-picker",{"name":[1],"required":[4],"color":[1537],"format":[1],"showCancelButton":[4,"show-cancel-button"],"showTextField":[4,"show-text-field"],"enableAlpha":[4,"enable-alpha"],"widgetColor":[32],"setPickerOption":[64],"movePopUp":[64],"setColorValue":[64],"openPicker":[64],"closePicker":[64],"destroyPicker":[64]}],[4,"salla-conditional-fields",null,[[0,"change","changeHandler"],[0,"input","changeHandler"]]],[0,"salla-datetime-picker",{"value":[1537],"required":[4],"name":[513],"placeholder":[1],"allowInput":[4,"allow-input"],"allowInvalidPreload":[4,"allow-invalid-preload"],"altFormat":[1,"alt-format"],"altInput":[4,"alt-input"],"altInputClass":[1,"alt-input-class"],"appendTo":[16,"append-to"],"ariaDateFormat":[1,"aria-date-format"],"autoFillDefaultTime":[4,"auto-fill-default-time"],"clickOpens":[4,"click-opens"],"closeOnSelect":[4,"close-on-select"],"conjunction":[1],"dateFormat":[1,"date-format"],"defaultDate":[8,"default-date"],"defaultHour":[2,"default-hour"],"defaultMinute":[2,"default-minute"],"defaultSeconds":[2,"default-seconds"],"disable":[16],"disableMobile":[4,"disable-mobile"],"enable":[16],"enableSeconds":[4,"enable-seconds"],"enableTime":[4,"enable-time"],"formatDate":[16,"format-date"],"hourIncrement":[2,"hour-increment"],"inline":[4],"locale":[1],"maxDate":[8,"max-date"],"maxTime":[8,"max-time"],"minDate":[8,"min-date"],"minTime":[8,"min-time"],"minuteIncrement":[2,"minute-increment"],"mode":[1],"monthSelectorType":[1,"month-selector-type"],"nextArrow":[1,"next-arrow"],"noCalendar":[4,"no-calendar"],"dateParser":[16,"date-parser"],"position":[1],"positionElement":[16,"position-element"],"prevArrow":[1,"prev-arrow"],"shorthandCurrentMonth":[4,"shorthand-current-month"],"static":[4],"showMonths":[2,"show-months"],"time_24hr":[4,"time_-2-4hr"],"weekNumbers":[4,"week-numbers"],"wrap":[4],"disabled":[4]}],[0,"salla-file-upload",{"value":[1544],"files":[513],"height":[513],"cartItemId":[1,"cart-item-id"],"profileImage":[516,"profile-image"],"name":[1537],"payloadName":[1,"payload-name"],"payloadParams":[16,"payload-params"],"type":[1],"accept":[1537],"fileId":[2,"file-id"],"url":[1025],"method":[1],"formData":[1,"form-data"],"required":[4],"maxFileSize":[1,"max-file-size"],"disabled":[4],"allowDrop":[4,"allow-drop"],"allowBrowse":[4,"allow-browse"],"allowPaste":[4,"allow-paste"],"allowMultiple":[4,"allow-multiple"],"enableGallery":[516,"enable-gallery"],"allowReplace":[4,"allow-replace"],"allowRevert":[4,"allow-revert"],"allowRemove":[4,"allow-remove"],"allowProcess":[4,"allow-process"],"allowReorder":[4,"allow-reorder"],"allowImagePreview":[4,"allow-image-preview"],"imagePreviewHeight":[2,"image-preview-height"],"filePosterHeight":[2,"file-poster-height"],"storeAsFile":[4,"store-as-file"],"forceRevert":[4,"force-revert"],"maxFilesCount":[2,"max-files-count"],"maxParallelUploads":[2,"max-parallel-uploads"],"maxImagesCount":[2,"max-images-count"],"maxVideosCount":[2,"max-videos-count"],"maxVideoFileSize":[1,"max-video-file-size"],"maxVideoDuration":[2,"max-video-duration"],"checkValidity":[4,"check-validity"],"itemInsertLocation":[1,"item-insert-location"],"itemInsertInterval":[2,"item-insert-interval"],"credits":[4],"dropOnPage":[4,"drop-on-page"],"dropOnElement":[4,"drop-on-element"],"dropValidation":[4,"drop-validation"],"ignoredFiles":[16,"ignored-files"],"instantUpload":[1028,"instant-upload"],"chunkUploads":[4,"chunk-uploads"],"chunkForce":[4,"chunk-force"],"chunkSize":[2,"chunk-size"],"chunkRetryDelays":[16,"chunk-retry-delays"],"labelDecimalSeparator":[1,"label-decimal-separator"],"labelThousandsSeparator":[1,"label-thousands-separator"],"labelIdle":[1025,"label-idle"],"iconRemove":[1,"icon-remove"],"iconProcess":[1,"icon-process"],"iconRetry":[1,"icon-retry"],"iconUndo":[1,"icon-undo"],"max_images_count":[32],"max_videos_count":[32],"max_count_hint":[32],"video_too_large":[32],"video_too_long":[32],"uploadedFiles":[32],"isListScrollerListenerAdded":[32],"showMaxCountHint":[32],"previewFiles":[32],"setOption":[64]}],[0,"salla-attachment-view",{"attachments":[1],"isOpen":[32],"activeIndex":[32],"open":[64],"close":[64]}]]],["p-16dcf15c",[[0,"salla-multiple-bundle-product-details",{"sections":[16],"selectedProducts":[32],"canSelectBundleProduct":[64]},null,{"sections":["handleSectionsChange"]}],[0,"salla-multiple-bundle-product-cart",{"sections":[16],"itemNumber":[32]}]]],["p-2a28633d",[[0,"salla-rating-modal",{"orderId":[1032,"order-id"],"productId":[1032,"product-id"],"order":[32],"hasError":[32],"showContactWidget":[32],"errorMessage":[32],"images":[32],"productImages":[32],"editItemImages":[32],"contact_body":[32],"editMode":[32],"defaultMode":[32],"deleteMode":[32],"shouldOpenDeleteModal":[32],"editType":[32],"editFeedbackId":[32],"deleteFeedbackId":[32],"editItem":[32],"loyaltyImageRatingPoints":[32],"enableNewPopUp":[32],"setOrder":[64],"open":[64],"close":[64]}]]],["p-62081545",[[0,"salla-order-details-options",{"options":[1],"bordered":[4],"placeholderImage":[1,"placeholder-image"],"optionsData":[32]}]]],["p-942a9370",[[0,"salla-comment-factors",{"factors":[16]}]]],["p-048ee93a",[[0,"salla-price-range",{"minPrice":[1032,"min-price"],"maxPrice":[1032,"max-price"],"option":[16],"filtersData":[520,"filters-data"],"min":[32],"max":[32],"priceOptions":[32],"moreThanLabel":[32],"lessThanLabel":[32],"toLabel":[32],"fromLabel":[32],"typing":[32],"isMin":[32],"isRTL":[32],"reset":[64]}]]],["p-476e3d1b",[[0,"salla-loyalty-exchange-product-card",{"product":[8],"hasCustomCard":[32]}]]],["p-845d6d9f",[[0,"salla-rating-modal-v2",{"orderId":[1032,"order-id"],"productId":[1032,"product-id"],"order":[32],"hasError":[32],"showContactWidget":[32],"errorMessage":[32],"images":[32],"productImages":[32],"editItemImages":[32],"productReviewFactors":[32],"editFactorRatings":[32],"productMainRatings":[32],"productFactorRatings":[32],"editMainRating":[32],"contact_body":[32],"editMode":[32],"defaultMode":[32],"deleteMode":[32],"shouldOpenDeleteModal":[32],"editType":[32],"editFeedbackId":[32],"deleteFeedbackId":[32],"editItem":[32],"allowAttachImages":[32],"allowAttachVideos":[32],"allowContactSupport":[32],"uploadCounts":[32],"uploadImageCounts":[32],"uploadVideoCounts":[32],"hasUploadsInProgress":[32],"loyaltyImageRatingPoints":[32],"setOrder":[64],"open":[64],"openEditModal":[64],"openDeleteModal":[64],"close":[64]}]]],["p-f1eca4da",[[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],"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],"addressDescription":[32],"reverseGeocoding":[32],"confirming":[32],"locationPermission":[32],"liveLocation":[32],"newAddressForm":[32],"open":[64],"close":[64]}],[0,"salla-bullet-delivery-tag",{"isEligible":[32]}],[0,"salla-searchable-dropdown",{"label":[1],"placeholder":[1],"items":[16],"selectedItem":[16,"selected-item"],"loading":[4],"searching":[4],"disabled":[4],"required":[4],"noResultsText":[1,"no-results-text"],"inputId":[1,"input-id"],"searchQuery":[1,"search-query"],"clientSearch":[4,"client-search"],"dropUp":[4,"drop-up"],"searchable":[4],"keepParentScroll":[4,"keep-parent-scroll"],"isOpen":[32],"focusedIndex":[32],"clientSearchQuery":[32]},null,{"items":["onItemsChange"]}]]],["p-c6c496ec",[[0,"salla-products-list",{"source":[1537],"sourceValue":[1032,"source-value"],"limit":[1026],"sortBy":[1025,"sort-by"],"filtersResults":[1540,"filters-results"],"horizontalCards":[516,"horizontal-cards"],"rowCards":[516,"row-cards"],"compactCards":[516,"compact-cards"],"autoload":[1028],"loadMoreText":[1,"load-more-text"],"productCardComponent":[1,"product-card-component"],"includes":[1040],"selectable":[1540],"page":[32],"nextPage":[32],"hasInfiniteScroll":[32],"hasCustomComponent":[32],"sourceValueIsValid":[32],"placeholderText":[32],"endOfText":[32],"failedLoadMore":[32],"currentPage":[32],"currentCategoryIdFilter":[32],"isReady":[32],"showPlaceholder":[32],"switchToNormalBehavior":[32],"parsedFilters":[32],"filtersSnapshot":[32],"setFilters":[64],"reload":[64],"loadMore":[64],"getSelected":[64],"getLoadedProducts":[64],"selectAll":[64],"clearSelection":[64]},null,{"selectable":["onSelectableChanged"]}]]],["p-c0d00e89",[[0,"salla-review-factors-tags",{"factors":[16],"orderId":[2,"order-id"],"ratingId":[2,"rating-id"],"productId":[2,"product-id"],"itemId":[2,"item-id"],"loadedFactors":[32]},null,{"factors":["onPropsChange"],"orderId":["onPropsChange"],"ratingId":["onPropsChange"],"productId":["onPropsChange"],"itemId":["onPropsChange"]}]]],["p-4b559931",[[0,"salla-products-slider",{"blockTitle":[1,"block-title"],"subTitle":[1,"sub-title"],"sliderId":[1,"slider-id"],"displayAllUrl":[1,"display-all-url"],"autoplay":[1028],"source":[1537],"sourceValue":[1,"source-value"],"limit":[1026],"sliderConfig":[520,"slider-config"],"sliderProps":[16,"slider-props"],"productCardComponent":[1,"product-card-component"],"includes":[1040],"productsData":[32],"isReady":[32],"sourceValueIsValid":[32],"hasCustomComponent":[32],"apiUrl":[32],"parsedSourceValue":[32]},null,{"isReady":["onReadyChanged"]}]]],["p-3c89325e",[[1,"salla-multiple-bundle-product-options-modal",{"product":[32],"sectionId":[32],"sectionIndex":[32],"productIndex":[32],"selectedOptions":[32],"optionsResetTokens":[32],"isLoading":[32],"hasUnsavedChanges":[32],"validationErrors":[32],"open":[64],"close":[64],"refreshOptionsState":[64]},null,{"product":["handleProductChange"]}],[0,"salla-multiple-bundle-product-slider",{"section":[16],"sectionIndex":[2,"section-index"],"selectedProducts":[16,"selected-products"],"isSelectionLocked":[4,"is-selection-locked"],"selectionLimit":[2,"selection-limit"],"savedOptionsByInstance":[32]},[[4,"optionsSaved","handleOptionsSaved"]]]]],["p-f6dc6e8a",[[0,"salla-gift-card-redeem",{"code":[32],"inlineForm":[32],"pending":[32],"error":[32],"redeemedOnce":[32],"isDesktop":[32],"modalView":[32],"result":[32]}],[4,"salla-tooltip",{"text":[1],"targetId":[1,"target-id"],"theme":[1],"show":[32]},[[9,"mouseover","handleMouseOver"],[9,"mouseout","handleMouseOut"]]]]],["p-3130e363",[[4,"salla-list-tile",{"href":[1],"target":[1]}]]],["p-23073b8a",[[4,"salla-badge",{"size":[1],"color":[1],"bg":[1]}]]],["p-eb91b45a",[[0,"salla-count-down",{"date":[1],"preOrder":[1,"pre-order"],"horizontal":[4],"withButton":[4,"with-button"],"prefixText":[1,"prefix-text"],"buttonHref":[1,"button-href"],"buttonText":[1,"button-text"],"buttonIcon":[1,"button-icon"],"boxed":[4],"size":[1],"color":[1],"labeled":[4],"endText":[1,"end-text"],"boxColor":[1,"box-color"],"boxTheme":[1,"box-theme"],"listPadding":[1,"list-padding"],"digits":[1],"endOfDay":[4,"end-of-day"],"autoSegments":[4,"auto-segments"],"daysLabel":[32],"hoursLabel":[32],"minutesLabel":[32],"secondsLabel":[32],"endLabel":[32],"invalidDate":[32],"offerEnded":[32],"parseFailed":[32],"countInterval":[32],"days":[32],"hours":[32],"minutes":[32],"seconds":[32],"showDays":[32],"showHours":[32],"endCountDown":[64]}]]],["p-6f64aca2",[[0,"salla-order-options-modal",{"orderOptions":[32],"basePrice":[32],"liveTotal":[32],"isSubmitting":[32],"sessionId":[32],"paymentMode":[32],"freeProduct":[32],"inFreeStep":[32],"title":[32],"subtitle":[32],"submitLabel":[32],"totalLabel":[32],"requiredMessage":[32],"freeProductTitle":[32],"freeProductSubtitle":[32],"freeProductContinueLabel":[32],"open":[64],"close":[64]}]]],["p-28c75dcf",[[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],"buyNowLoading":[32],"isDesktopViewport":[32]}],[0,"salla-quick-buy",{"type":[1025],"productType":[1025,"product-type"],"productId":[1025,"product-id"],"cartId":[1025,"cart-id"],"amount":[1538],"currency":[1025],"options":[16],"isRequireShipping":[1028,"is-require-shipping"],"applePayOnly":[1028,"apple-pay-only"],"validateHost":[1025,"validate-host"],"supportedNetworks":[1040,"supported-networks"],"supportedCountries":[1040,"supported-countries"],"isApplePayActive":[32],"quickBuy":[32]}],[0,"salla-product-availability",{"channels":[1],"notifyOptionsAvailability":[4,"notify-options-availability"],"productId":[2,"product-id"],"isSubscribed":[1028,"is-subscribed"],"translationLoaded":[32],"title_":[32]},null,{"channels":["channelsWatcher"]}],[0,"salla-product-options",{"productAvailable":[1028,"product-available"],"productId":[8,"product-id"],"options":[1],"hideOutLabel":[1,"hide-out-label"],"uniqueKey":[1,"unique-key"],"bundleContext":[1,"bundle-context"],"config":[1],"noPadding":[4,"no-padding"],"optionsData":[32],"outOfStockText":[32],"donationAmount":[32],"selectDonationAmount":[32],"selectAmount":[32],"isCustomDonation":[32],"selectedOptions":[32],"canDisabled":[32],"selectedSkus":[32],"selectedOutSkus":[32],"disableCardValue":[32],"availableDigitalCardValues":[32],"userInitiatedValidation":[32],"isCartMode":[32],"availabilityMap":[32],"setOptionsData":[64],"getOptionsData":[64],"getSelectedOptionsData":[64],"reportValidity":[64],"hasOutOfStockOption":[64],"getSelectedOptions":[64],"getOption":[64],"seedSelectedOptions":[64],"enterCartMode":[64],"enableUserInitiatedValidation":[64],"validateAndScroll":[64]}]]],["p-b8e56642",[[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],"forceShowWishlistButton":[4,"force-show-wishlist-button"],"compactAddToCart":[4,"compact-add-to-cart"],"showOutOfStockBesidePrice":[4,"show-out-of-stock-beside-price"],"productData":[32],"fitImageHeight":[32],"remained":[32],"outOfStock":[32],"donationAmount":[32],"startingPrice":[32],"addToCart":[32],"placeholder":[32]}]]],["p-2173c0f0",[[4,"salla-accordion-body"],[4,"salla-accordion-head",{"collapsible":[4],"collapsed":[1540]}]]],["p-78fce485",[[4,"salla-placeholder",{"icon":[1],"alignment":[1],"iconSize":[1,"icon-size"],"translationLoaded":[32]}]]],["p-96028c8b",[[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],"activeTab":[1,"active-tab"]},[[0,"tabSelected","onSelectedTab"]]]]],["p-9bc1676b",[[0,"salla-loyalty-program",{"currentPrize":[32],"currentProductId":[32],"collapsed":[32],"animatedPoints":[32]}],[0,"salla-loyalty-panel",{"prizePoints":[1537,"prize-points"],"customerPoints":[1538,"customer-points"],"prizeTitle":[1537,"prize-title"],"currentPrize":[32],"currentProductId":[32]}],[0,"salla-loyalty-banner"],[0,"salla-loyalty-reward",{"size":[1],"prize":[16],"group":[1]}],[0,"salla-loyalty-point",{"point":[16]}],[4,"salla-loyalty-hero",{"image":[1],"name":[1],"description":[1]}],[0,"salla-reward-details",{"prize":[16],"refreshKey":[32],"includedProductsData":[32]},[[0,"loyaltyProductExchange","handleProductExchange"]],{"prize":["handlePrizeChange"]}],[4,"salla-reward-card",{"prize":[16]}],[0,"salla-reward-action",{"prize":[16]}],[0,"salla-reward-exchange",{"prize":[16],"productId":[2,"product-id"]}]]],["p-7a7efc1e",[[0,"salla-skeleton",{"type":[1],"width":[1],"height":[1]}]]],["p-11695661",[[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]}],[4,"salla-slider",{"blockTitle":[513,"block-title"],"listenToThumbnailsOption":[516,"listen-to-thumbnails-option"],"blockSubtitle":[513,"block-subtitle"],"displayAllUrl":[513,"display-all-url"],"arrowsCentered":[516,"arrows-centered"],"verticalThumbs":[516,"vertical-thumbs"],"gridThumbs":[516,"grid-thumbs"],"vertical":[516],"autoHeight":[516,"auto-height"],"showControls":[516,"show-controls"],"controlsOuter":[516,"controls-outer"],"showThumbsControls":[4,"show-thumbs-controls"],"staticWhenSingle":[516,"static-when-single"],"autoPlay":[4,"auto-play"],"slidesPerView":[1,"slides-per-view"],"pagination":[4],"centered":[4],"loop":[4],"direction":[1537],"type":[1],"sliderConfig":[520,"slider-config"],"thumbsConfig":[520,"thumbs-config"],"currentIndex":[32],"isEnd":[32],"isBeginning":[32],"displayAllTitle":[32],"isDesktopViewport":[32],"sliderInstance":[64],"slideTo":[64],"slideNext":[64],"slidePrev":[64],"slideToLoop":[64],"slideNextLoop":[64],"slidePrevLoop":[64],"slideReset":[64],"slideToClosest":[64],"update":[64],"updateAutoHeight":[64],"updateSlides":[64],"updateProgress":[64],"updateSlidesClasses":[64],"getSlides":[64],"updateSize":[64],"sliderInit":[64],"thumbsSliderInstance":[64],"thumbsSliderInit":[64],"thumbsSliderUpdate":[64],"thumbsSliderUpdateSlides":[64],"getThumbsUpdateSize":[64],"thumbsSlideTo":[64],"getThumbsSlides":[64]}]]],["p-96b9ba64",[[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]}]]]]'),e))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salla.sa/twilight-components",
3
- "version": "2.14.600",
3
+ "version": "2.14.601",
4
4
  "license": "GPL-3.0",
5
5
  "author": "Salla Team <support@salla.dev> (https://salla.dev)",
6
6
  "bugs": {
@@ -82,9 +82,9 @@
82
82
  },
83
83
  "dependencies": {
84
84
  "@googlemaps/markerclusterer": "2.6.2",
85
- "@salla.sa/applepay": "2.14.600",
86
- "@salla.sa/twilight": "2.14.600",
87
- "@salla.sa/twilight-tailwind-theme": "2.14.600",
85
+ "@salla.sa/applepay": "2.14.601",
86
+ "@salla.sa/twilight": "2.14.601",
87
+ "@salla.sa/twilight-tailwind-theme": "2.14.601",
88
88
  "@salla.sa/ui-address-autocomplete-widget": "1.2.1",
89
89
  "@salla.sa/ui-google-map-render": "1.2.1",
90
90
  "@types/node": "^20.4.8",
@@ -105,5 +105,5 @@
105
105
  "vanilla-lazyload": "^17.9.0",
106
106
  "vanilla-picker": "^2.12.3"
107
107
  },
108
- "gitHead": "1fdf0f8daaea0ac30018d750492d9b09aeb3aaff"
108
+ "gitHead": "11f5776ce66c8fb0722a5168c2552ba9735818a3"
109
109
  }
@@ -1,4 +0,0 @@
1
- /*!
2
- * Crafted with ❤ by Salla
3
- */
4
- import{r as a,h as e,H as s,c,a as t}from"./p-C670SYee.js";import{p as d,m as o}from"./p-DfeagqF1.js";const i=class{constructor(e){a(this,e)}render(){return e(s,{key:"e0752ba7819b03c9183d457c52e31bb65844eaf8",class:"s-accordion-body-wrapper"},e("slot",{key:"668d1bd4985dd44d07eaf850dc9ad56683be167f"}))}};i.style="";const r=class{constructor(e){a(this,e),this.accordionToggle=c(this,"accordionToggle"),this.collapsible=!1,this.collapsed=!0}emitCollapsePanel(){this.accordionToggle.emit({payload:{collapsed:this.collapsed}})}toggleCollapse(){this.collapsible&&(this.collapsed=!this.collapsed,this.host.parentElement?.setAttribute("data-collapsed",this.collapsed.toString()),this.host.parentElement?.querySelector("salla-accordion-body")?.setAttribute("data-collapsed",this.collapsed.toString()),this.emitCollapsePanel())}render(){return e(s,{key:"71394d6d0786f39e70b1ef33ad86d4e0e0c38666","data-collapsed":this.collapsed.toString(),onClick:()=>this.toggleCollapse(),class:"s-accordion-head-wrapper"},e("div",{key:"95ccb46518936ce2290534268060dff5458752c6",class:"s-accordion-head-wrapper-start"},e("slot",{key:"37efcfadaacb3acff86501d8c97b954f0c95f6bc",name:"title"}),e("slot",{key:"5f02b2a9692e4714780a337fa04b5516e0a4e9c8",name:"progress"}),e("slot",{key:"57edacda97012754df3709e37bb8259386c51c0a",name:"html"})),(this.collapsible||this.host.querySelector('[slot="note"]'))&&e("div",{key:"8d56232063aa29fcad4593217778d05c989f7cc5",class:"s-accordion-head-wrapper-end"},e("slot",{key:"226aa26ad7263db0ca130e01580c80d5862add41",name:"note"}),this.collapsible&&e("button",{key:"d69093c8823575dc7bc1e17fed364121b5e9db90",type:"button",class:{"s-accordion-head-wrapper-toggle":!0,active:!this.collapsed},onClick:a=>{a.stopPropagation(),this.toggleCollapse()}},e("span",{key:"36a0c5e1996f797e61519844f1be808b6119918c",class:"s-accordion-head-wrapper-toggle-icon",innerHTML:this.collapsed?d:o}))))}get host(){return t(this)}};r.style="";export{i as salla_accordion_body,r as salla_accordion_head}