@salla.sa/twilight-components 2.14.454 → 2.14.456

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 (337) hide show
  1. package/dist/cjs/{filepond-omDVoR0V.js → filepond-ByigWwFl.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-CiTwbype.js → filepond-plugin-file-poster-BiD-_Ds9.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-BMUGogIJ.js → filepond-plugin-file-validate-size--jYzIVxc.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-DU7loMuy.js → filepond-plugin-file-validate-type-DSEoIdkG.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BvpuxlGL.js → filepond-plugin-image-edit-BxhNq1OW.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-BltzmQ3V.js → filepond-plugin-image-exif-orientation-CxhioraI.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-C-51g4On.js → filepond-plugin-image-preview-BOBfoOPj.js} +1 -1
  8. package/dist/cjs/{functions-BugkyX_h.js → functions-CzTE1Can.js} +36 -8
  9. package/dist/cjs/{index-CMdVOCIm.js → index-CHEJ_wTy.js} +1 -1
  10. package/dist/cjs/{index-DppdveKW.js → index-MWekS0mu.js} +2 -2
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +1 -1
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +1 -1
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +1 -1
  15. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-booking-field_7.cjs.entry.js +10 -10
  21. package/dist/cjs/salla-bullet-delivery_2.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-cart-coupons.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +1 -1
  24. package/dist/cjs/salla-cashback-banner.cjs.entry.js +2 -2
  25. package/dist/cjs/salla-comment-form_8.cjs.entry.js +1 -1
  26. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-count-down.cjs.entry.js +1 -1
  30. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-delivery-promise.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-filters-widget.cjs.entry.js +1 -1
  34. package/dist/cjs/salla-filters.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  36. package/dist/cjs/salla-gifting.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-hook.cjs.entry.js +1 -1
  38. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  39. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-list-tile.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-localization-modal.cjs.entry.js +1 -1
  42. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  43. package/dist/cjs/salla-loyalty-banner.cjs.entry.js +3 -3
  44. package/dist/cjs/salla-loyalty-hero_2.cjs.entry.js +32 -10
  45. package/dist/cjs/salla-loyalty-panel.cjs.entry.js +4 -4
  46. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +2 -2
  47. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-program.cjs.entry.js +11 -5
  49. package/dist/cjs/salla-loyalty-reward.cjs.entry.js +4 -4
  50. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +1 -1
  52. package/dist/cjs/salla-map.cjs.entry.js +1 -1
  53. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  55. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +1 -1
  56. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  59. package/dist/cjs/salla-notification-item.cjs.entry.js +1 -1
  60. package/dist/cjs/salla-notifications.cjs.entry.js +1 -1
  61. package/dist/cjs/salla-offer-modal.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  63. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  64. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-details.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-summary.cjs.entry.js +1 -1
  70. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  72. package/dist/cjs/salla-payments.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-placeholder.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-price-range.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-product-card-embed.cjs.entry.js +1 -1
  76. package/dist/cjs/salla-product-card_2.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-product-size-guide.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  79. package/dist/cjs/salla-progress-bar.cjs.entry.js +1 -1
  80. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  81. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  82. package/dist/cjs/salla-reward-action_4.cjs.entry.js +14 -11
  83. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  84. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-skeleton.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-slider.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-social-share.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-social.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-tab-content_3.cjs.entry.js +1 -1
  90. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-tooltip.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-trust-badges.cjs.entry.js +172 -1
  93. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  95. package/dist/cjs/salla-user-settings.cjs.entry.js +1 -1
  96. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  97. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  98. package/dist/cjs/{tracked-promise-D_CjjRbz.js → tracked-promise-DzmWHAH-.js} +1 -1
  99. package/dist/cjs/{translations-DMwpLvqi.js → translations-BHyDCj-Y.js} +12 -0
  100. package/dist/cjs/twilight.cjs.js +1 -1
  101. package/dist/cjs/{vanilla-picker-Cx13ViIR.js → vanilla-picker-D7NBRp4f.js} +1 -1
  102. package/dist/collection/components/salla-loyalty-program/functions.js +22 -7
  103. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +31 -9
  104. package/dist/collection/components/salla-loyalty-program/salla-loyalty-program.js +7 -1
  105. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  106. package/dist/collection/components/salla-loyalty-program/salla-reward-action.js +4 -1
  107. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  108. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  109. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +3 -3
  110. package/dist/collection/components/salla-loyalty-program/translations.js +12 -0
  111. package/dist/collection/components/salla-trust-badges/salla-trust-badges.js +171 -0
  112. package/dist/components/functions.js +35 -8
  113. package/dist/components/index.js +2 -2
  114. package/dist/components/salla-loyalty-point2.js +31 -9
  115. package/dist/components/salla-loyalty-program.js +7 -1
  116. package/dist/components/salla-loyalty-reward.js +2 -2
  117. package/dist/components/salla-reward-action2.js +4 -1
  118. package/dist/components/salla-reward-card2.js +1 -1
  119. package/dist/components/salla-reward-details2.js +3 -3
  120. package/dist/components/salla-reward-exchange2.js +3 -3
  121. package/dist/components/salla-trust-badges.js +171 -0
  122. package/dist/components/translations.js +12 -0
  123. package/dist/esm/{filepond-DFccUKfi.js → filepond-CRlzgcIb.js} +1 -1
  124. package/dist/esm/{filepond-plugin-file-poster-BKP-dfBt.js → filepond-plugin-file-poster-ByayYzo6.js} +1 -1
  125. package/dist/esm/{filepond-plugin-file-validate-size-Cjhw73dP.js → filepond-plugin-file-validate-size-Dzbvm4bE.js} +1 -1
  126. package/dist/esm/{filepond-plugin-file-validate-type-BYB_v8v7.js → filepond-plugin-file-validate-type-BLR4c3Mg.js} +1 -1
  127. package/dist/esm/{filepond-plugin-image-edit-DrvarOmH.js → filepond-plugin-image-edit-C3Xg8l5R.js} +1 -1
  128. package/dist/esm/{filepond-plugin-image-exif-orientation-DdeulGFN.js → filepond-plugin-image-exif-orientation-CVUrfrNW.js} +1 -1
  129. package/dist/esm/{filepond-plugin-image-preview-CygMfjyy.js → filepond-plugin-image-preview-CGO8PkcS.js} +1 -1
  130. package/dist/esm/{functions-B4JadfO-.js → functions-gyNQgO8M.js} +36 -9
  131. package/dist/esm/{index-iW77h_OO.js → index-CF5lYEtt.js} +2 -2
  132. package/dist/esm/{index-BsChAaWH.js → index-D8tNjsq-.js} +1 -1
  133. package/dist/esm/loader.js +2 -2
  134. package/dist/esm/salla-accordion-body_2.entry.js +1 -1
  135. package/dist/esm/salla-accordion_6.entry.js +1 -1
  136. package/dist/esm/salla-add-product-button_5.entry.js +1 -1
  137. package/dist/esm/salla-advertisement.entry.js +1 -1
  138. package/dist/esm/salla-alert_2.entry.js +1 -1
  139. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  140. package/dist/esm/salla-apps-icons.entry.js +1 -1
  141. package/dist/esm/salla-badge.entry.js +1 -1
  142. package/dist/esm/salla-booking-field_7.entry.js +10 -10
  143. package/dist/esm/salla-bullet-delivery_2.entry.js +1 -1
  144. package/dist/esm/salla-cart-coupons.entry.js +1 -1
  145. package/dist/esm/salla-cart-item-offers_2.entry.js +1 -1
  146. package/dist/esm/salla-cashback-banner.entry.js +2 -2
  147. package/dist/esm/salla-comment-form_8.entry.js +1 -1
  148. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  149. package/dist/esm/salla-contacts.entry.js +1 -1
  150. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  151. package/dist/esm/salla-count-down.entry.js +1 -1
  152. package/dist/esm/salla-custom-fields.entry.js +1 -1
  153. package/dist/esm/salla-delivery-promise.entry.js +1 -1
  154. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  155. package/dist/esm/salla-filters-widget.entry.js +1 -1
  156. package/dist/esm/salla-filters.entry.js +1 -1
  157. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  158. package/dist/esm/salla-gifting.entry.js +1 -1
  159. package/dist/esm/salla-hook.entry.js +1 -1
  160. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  161. package/dist/esm/salla-installment.entry.js +1 -1
  162. package/dist/esm/salla-list-tile.entry.js +1 -1
  163. package/dist/esm/salla-localization-modal.entry.js +1 -1
  164. package/dist/esm/salla-login-modal.entry.js +1 -1
  165. package/dist/esm/salla-loyalty-banner.entry.js +3 -3
  166. package/dist/esm/salla-loyalty-hero_2.entry.js +32 -10
  167. package/dist/esm/salla-loyalty-panel.entry.js +4 -4
  168. package/dist/esm/salla-loyalty-points-banner.entry.js +2 -2
  169. package/dist/esm/salla-loyalty-prize-item.entry.js +1 -1
  170. package/dist/esm/salla-loyalty-program.entry.js +11 -5
  171. package/dist/esm/salla-loyalty-reward.entry.js +4 -4
  172. package/dist/esm/salla-loyalty.entry.js +1 -1
  173. package/dist/esm/salla-maintenance-alert.entry.js +1 -1
  174. package/dist/esm/salla-map.entry.js +1 -1
  175. package/dist/esm/salla-menu.entry.js +1 -1
  176. package/dist/esm/salla-metadata.entry.js +1 -1
  177. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +1 -1
  178. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +1 -1
  179. package/dist/esm/salla-multiple-bundle-product.entry.js +1 -1
  180. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  181. package/dist/esm/salla-notification-item.entry.js +1 -1
  182. package/dist/esm/salla-notifications.entry.js +1 -1
  183. package/dist/esm/salla-offer-modal.entry.js +1 -1
  184. package/dist/esm/salla-offer.entry.js +1 -1
  185. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  186. package/dist/esm/salla-order-details-options.entry.js +1 -1
  187. package/dist/esm/salla-order-details.entry.js +1 -1
  188. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  189. package/dist/esm/salla-order-edit-product-card.entry.js +1 -1
  190. package/dist/esm/salla-order-edit.entry.js +1 -1
  191. package/dist/esm/salla-order-summary.entry.js +1 -1
  192. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  193. package/dist/esm/salla-orders.entry.js +1 -1
  194. package/dist/esm/salla-payments.entry.js +1 -1
  195. package/dist/esm/salla-placeholder.entry.js +1 -1
  196. package/dist/esm/salla-price-range.entry.js +1 -1
  197. package/dist/esm/salla-product-card-embed.entry.js +1 -1
  198. package/dist/esm/salla-product-card_2.entry.js +1 -1
  199. package/dist/esm/salla-product-size-guide.entry.js +1 -1
  200. package/dist/esm/salla-products-list.entry.js +1 -1
  201. package/dist/esm/salla-progress-bar.entry.js +1 -1
  202. package/dist/esm/salla-quick-order.entry.js +1 -1
  203. package/dist/esm/salla-rating-modal.entry.js +1 -1
  204. package/dist/esm/salla-reward-action_4.entry.js +14 -11
  205. package/dist/esm/salla-scopes.entry.js +1 -1
  206. package/dist/esm/salla-search.entry.js +1 -1
  207. package/dist/esm/salla-skeleton.entry.js +1 -1
  208. package/dist/esm/salla-slider.entry.js +1 -1
  209. package/dist/esm/salla-social-share.entry.js +1 -1
  210. package/dist/esm/salla-social.entry.js +1 -1
  211. package/dist/esm/salla-tab-content_3.entry.js +1 -1
  212. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  213. package/dist/esm/salla-tooltip.entry.js +1 -1
  214. package/dist/esm/salla-trust-badges.entry.js +172 -1
  215. package/dist/esm/salla-user-menu.entry.js +1 -1
  216. package/dist/esm/salla-user-profile.entry.js +1 -1
  217. package/dist/esm/salla-user-settings.entry.js +1 -1
  218. package/dist/esm/salla-verify.entry.js +1 -1
  219. package/dist/esm/salla-wallet.entry.js +1 -1
  220. package/dist/esm/{tracked-promise-C44guOYk.js → tracked-promise-p7166HJt.js} +1 -1
  221. package/dist/esm/{translations-B-Rj6b9M.js → translations-dn_hTofo.js} +12 -0
  222. package/dist/esm/twilight.js +2 -2
  223. package/dist/esm/{vanilla-picker-YDGjYiGR.js → vanilla-picker-DNH0QcWx.js} +1 -1
  224. package/dist/twilight/{p-f909c93a.entry.js → p-00cae5da.entry.js} +1 -1
  225. package/dist/twilight/{p-34aa2e08.entry.js → p-03d2a295.entry.js} +1 -1
  226. package/dist/twilight/{p-d7efc079.entry.js → p-07509240.entry.js} +1 -1
  227. package/dist/twilight/{p-99cc3c6d.entry.js → p-08e2d088.entry.js} +1 -1
  228. package/dist/twilight/{p-05a72e81.entry.js → p-161bbb4d.entry.js} +1 -1
  229. package/dist/twilight/{p-596d016f.entry.js → p-1745f9a1.entry.js} +1 -1
  230. package/dist/twilight/{p-3e994db0.entry.js → p-18eeb19b.entry.js} +1 -1
  231. package/dist/twilight/{p-d9754b4d.entry.js → p-19c86bc6.entry.js} +1 -1
  232. package/dist/twilight/{p-DQRmUn8O.js → p-1P71keJV.js} +1 -1
  233. package/dist/twilight/{p-24b99485.entry.js → p-1a647899.entry.js} +1 -1
  234. package/dist/twilight/{p-4cbe8713.entry.js → p-1c87788f.entry.js} +1 -1
  235. package/dist/twilight/{p-02dd7637.entry.js → p-1dbb89d0.entry.js} +1 -1
  236. package/dist/twilight/{p-13cb0ec4.entry.js → p-25705059.entry.js} +1 -1
  237. package/dist/twilight/{p-d5dd0382.entry.js → p-2d707e83.entry.js} +1 -1
  238. package/dist/twilight/{p-256aa3f1.entry.js → p-30f4c0c7.entry.js} +1 -1
  239. package/dist/twilight/{p-a6394281.entry.js → p-3586e535.entry.js} +1 -1
  240. package/dist/twilight/{p-ed5da7f4.entry.js → p-3ab0ba37.entry.js} +1 -1
  241. package/dist/twilight/{p-2d4e9fb9.entry.js → p-3e5d39d6.entry.js} +1 -1
  242. package/dist/twilight/{p-c0ff719e.entry.js → p-3f7d4d95.entry.js} +1 -1
  243. package/dist/twilight/{p-290f254d.entry.js → p-4189d36a.entry.js} +1 -1
  244. package/dist/twilight/{p-c929ace3.entry.js → p-44cb2ef8.entry.js} +1 -1
  245. package/dist/twilight/p-469b9c3b.entry.js +4 -0
  246. package/dist/twilight/{p-7afdc002.entry.js → p-4ba8a32c.entry.js} +1 -1
  247. package/dist/twilight/{p-46b71bff.entry.js → p-4c74a0de.entry.js} +1 -1
  248. package/dist/twilight/{p-99e0fc1f.entry.js → p-4d2ee4bf.entry.js} +1 -1
  249. package/dist/twilight/{p-40c95509.entry.js → p-4f623243.entry.js} +1 -1
  250. package/dist/twilight/{p-ed14038b.entry.js → p-4fbac225.entry.js} +1 -1
  251. package/dist/twilight/p-5312991b.entry.js +4 -0
  252. package/dist/twilight/{p-8fea01ea.entry.js → p-53db2588.entry.js} +1 -1
  253. package/dist/twilight/{p-02f8d9f9.entry.js → p-549dfe1b.entry.js} +1 -1
  254. package/dist/twilight/{p-51da9e0c.entry.js → p-579c9941.entry.js} +1 -1
  255. package/dist/twilight/{p-6ed57526.entry.js → p-585f6156.entry.js} +1 -1
  256. package/dist/twilight/p-5b9aee81.entry.js +4 -0
  257. package/dist/twilight/{p-6c9aca7c.entry.js → p-60c4743f.entry.js} +1 -1
  258. package/dist/twilight/{p-JqmowdAI.js → p-65q-Lspm.js} +1 -1
  259. package/dist/twilight/{p-51638221.entry.js → p-6612976a.entry.js} +1 -1
  260. package/dist/twilight/p-66384032.entry.js +4 -0
  261. package/dist/twilight/p-66fb0eed.entry.js +4 -0
  262. package/dist/twilight/{p-b266250b.entry.js → p-6e1cec7b.entry.js} +1 -1
  263. package/dist/twilight/{p-28f46e76.entry.js → p-7046c764.entry.js} +1 -1
  264. package/dist/twilight/{p-1b2c0753.entry.js → p-72a7f290.entry.js} +1 -1
  265. package/dist/twilight/{p-19f2e7d2.entry.js → p-72ec3a50.entry.js} +1 -1
  266. package/dist/twilight/{p-4c9edafa.entry.js → p-74ad347b.entry.js} +1 -1
  267. package/dist/twilight/{p-a61a9f5a.entry.js → p-789816d3.entry.js} +1 -1
  268. package/dist/twilight/{p-d58e833c.entry.js → p-814b5624.entry.js} +1 -1
  269. package/dist/twilight/{p-cb7e203e.entry.js → p-84eae64c.entry.js} +1 -1
  270. package/dist/twilight/p-86be13c9.entry.js +4 -0
  271. package/dist/twilight/{p-a6dca70e.entry.js → p-8714ba55.entry.js} +1 -1
  272. package/dist/twilight/{p-19276c52.entry.js → p-8b9835be.entry.js} +1 -1
  273. package/dist/twilight/{p-da7dac3f.entry.js → p-8e84a8eb.entry.js} +1 -1
  274. package/dist/twilight/{p-3c810267.entry.js → p-90e05e76.entry.js} +1 -1
  275. package/dist/twilight/{p-721bf683.entry.js → p-96015a02.entry.js} +1 -1
  276. package/dist/twilight/{p-e6c02cf3.entry.js → p-97647732.entry.js} +1 -1
  277. package/dist/twilight/{p-D--YecOb.js → p-BWsYxy94.js} +1 -1
  278. package/dist/twilight/{p-CgvkiAxT.js → p-BevZXaXF.js} +1 -1
  279. package/dist/twilight/{p-DPYkeBoq.js → p-BtV9ZEuP.js} +1 -1
  280. package/dist/twilight/{p-iW77h_OO.js → p-CF5lYEtt.js} +1 -1
  281. package/dist/twilight/p-CSn54B_A.js +4 -0
  282. package/dist/twilight/{p-JH4C3FEL.js → p-CgnSxwtl.js} +2 -2
  283. package/dist/twilight/{p-CNLZvKDA.js → p-D0XsGIjC.js} +1 -1
  284. package/dist/twilight/{p-BtQuvkil.js → p-D58UweWS.js} +1 -1
  285. package/dist/twilight/p-DFCW2iW-.js +9 -0
  286. package/dist/twilight/{p-CwIp300F.js → p-DaxhHxCj.js} +2 -2
  287. package/dist/twilight/{p-3bbd0428.entry.js → p-a3d00953.entry.js} +1 -1
  288. package/dist/twilight/{p-5d9af31e.entry.js → p-a446b3b1.entry.js} +1 -1
  289. package/dist/twilight/{p-a27bb10b.entry.js → p-a6b63629.entry.js} +1 -1
  290. package/dist/twilight/{p-f05b8136.entry.js → p-a7b4fb6b.entry.js} +1 -1
  291. package/dist/twilight/{p-3a4376e2.entry.js → p-ab8c90ab.entry.js} +1 -1
  292. package/dist/twilight/{p-3f5f9c20.entry.js → p-acb29315.entry.js} +1 -1
  293. package/dist/twilight/{p-5ac78da9.entry.js → p-ad411fb2.entry.js} +1 -1
  294. package/dist/twilight/{p-74ab39a5.entry.js → p-ade9674c.entry.js} +1 -1
  295. package/dist/twilight/{p-f8316f57.entry.js → p-ae31f13e.entry.js} +1 -1
  296. package/dist/twilight/{p-fd293182.entry.js → p-b03ccd38.entry.js} +1 -1
  297. package/dist/twilight/p-b23c3b14.entry.js +4 -0
  298. package/dist/twilight/{p-d742b000.entry.js → p-b4a5d9f1.entry.js} +1 -1
  299. package/dist/twilight/{p-f0cddd1f.entry.js → p-b94a95f9.entry.js} +1 -1
  300. package/dist/twilight/{p-4e93a3b0.entry.js → p-bd692fdc.entry.js} +1 -1
  301. package/dist/twilight/{p-1152d39f.entry.js → p-bf38bbba.entry.js} +1 -1
  302. package/dist/twilight/{p-f2b6c9a8.entry.js → p-bf9ecde7.entry.js} +1 -1
  303. package/dist/twilight/{p-76523a14.entry.js → p-c0c2f66b.entry.js} +1 -1
  304. package/dist/twilight/{p-3bae0861.entry.js → p-c19fc5f6.entry.js} +1 -1
  305. package/dist/twilight/{p-0819daad.entry.js → p-c2818e13.entry.js} +1 -1
  306. package/dist/twilight/{p-588a366c.entry.js → p-c3ab6df4.entry.js} +1 -1
  307. package/dist/twilight/{p-87b489d5.entry.js → p-c47b7eb7.entry.js} +1 -1
  308. package/dist/twilight/{p-eba853e8.entry.js → p-cdcf9152.entry.js} +1 -1
  309. package/dist/twilight/{p-df7285e7.entry.js → p-cf5f44a4.entry.js} +1 -1
  310. package/dist/twilight/{p-ba047214.entry.js → p-d06ddfdd.entry.js} +1 -1
  311. package/dist/twilight/{p-00b84307.entry.js → p-d0982f5f.entry.js} +1 -1
  312. package/dist/twilight/{p-5965a3d2.entry.js → p-d4415e81.entry.js} +1 -1
  313. package/dist/twilight/{p-a9d9d779.entry.js → p-d4737a77.entry.js} +1 -1
  314. package/dist/twilight/{p-fb21e567.entry.js → p-d53cf37d.entry.js} +1 -1
  315. package/dist/twilight/p-dn_hTofo.js +4 -0
  316. package/dist/twilight/{p-cd7b86ca.entry.js → p-e189cbcd.entry.js} +1 -1
  317. package/dist/twilight/{p-bf5f9ac5.entry.js → p-e34af4af.entry.js} +1 -1
  318. package/dist/twilight/{p-1f7af2ad.entry.js → p-e71456a5.entry.js} +1 -1
  319. package/dist/twilight/{p-0649d07b.entry.js → p-f1da2348.entry.js} +1 -1
  320. package/dist/twilight/{p-f65dfb0b.entry.js → p-f77fa8c8.entry.js} +1 -1
  321. package/dist/twilight/{p-a6563120.entry.js → p-fb088b52.entry.js} +1 -1
  322. package/dist/twilight/{p-7ca70e4e.entry.js → p-fde1dd81.entry.js} +1 -1
  323. package/dist/twilight/twilight.esm.js +1 -1
  324. package/dist/types/components/salla-loyalty-program/functions.d.ts +3 -1
  325. package/dist/types/components/salla-loyalty-program/salla-loyalty-point.d.ts +3 -0
  326. package/dist/types/components/salla-trust-badges/salla-trust-badges.d.ts +25 -0
  327. package/package.json +5 -5
  328. package/dist/twilight/p-10334bac.entry.js +0 -4
  329. package/dist/twilight/p-498cdb6f.entry.js +0 -4
  330. package/dist/twilight/p-697a25c4.entry.js +0 -4
  331. package/dist/twilight/p-B-Rj6b9M.js +0 -4
  332. package/dist/twilight/p-BWfbW9uR.js +0 -4
  333. package/dist/twilight/p-BpU1d8Q_.js +0 -9
  334. package/dist/twilight/p-c5c834f6.entry.js +0 -4
  335. package/dist/twilight/p-d85d8cc1.entry.js +0 -4
  336. package/dist/twilight/p-dc1ed927.entry.js +0 -4
  337. package/dist/twilight/p-f1b235e6.entry.js +0 -4
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { d as getDefaultExportFromCjs } from './index-iW77h_OO.js';
4
+ import { d as getDefaultExportFromCjs } from './index-CF5lYEtt.js';
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { g as globalScripts, b as bootstrapLazy } from './index-iW77h_OO.js';
5
- export { s as setNonce } from './index-iW77h_OO.js';
4
+ import { g as globalScripts, b as bootstrapLazy } from './index-CF5lYEtt.js';
5
+ export { s as setNonce } from './index-CF5lYEtt.js';
6
6
 
7
7
  const defineCustomElements = async (win, options) => {
8
8
  if (typeof window === 'undefined') return undefined;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, c as createEvent, a as getElement } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, H as Host, c as createEvent, a as getElement } from './index-CF5lYEtt.js';
5
5
  import { p as plusIcon, m as minusIcon } from './minus-DfeagqF1.js';
6
6
 
7
7
  const sallaAccordionBodyCss = "";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement, c as createEvent } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement, c as createEvent } from './index-CF5lYEtt.js';
5
5
  import { A as ArrowLeftIcon, a as ArrowRightIcon } from './keyboard_arrow_right-Vqpj4CWE.js';
6
6
  import { S as SICancel } from './cancel-8Tsmrwno.js';
7
7
  import { C as CheckCircle2 } from './check-circle2-BV4kqbdL.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement, e as axios } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement, e as axios } from './index-CF5lYEtt.js';
5
5
  import { P as PendingOrdersIcon } from './cart-DY4LZmNP.js';
6
6
  import { H as Helper } from './Helper-DFMXF2_h.js';
7
7
  import { B as BellRing } from './bell-ring-D3mWkc-3.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-CF5lYEtt.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
 
7
7
  const sallaAdvertisementCss = ":host{display:block}";
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CF5lYEtt.js';
5
5
  import { P as PendingOrdersIcon } from './cart-DY4LZmNP.js';
6
6
  import { I as ImageIcon } from './image-C-tzSDxw.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CF5lYEtt.js';
5
5
 
6
6
  const sallaAppInstallAlertCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CF5lYEtt.js';
5
5
 
6
6
  const sallaAppsIconsCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h } from './index-CF5lYEtt.js';
5
5
 
6
6
  function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CF5lYEtt.js';
5
5
  import { S as SICalendar } from './calendar-BkmanTR_.js';
6
6
  import { A as ArrowDown } from './keyboard_arrow_down-DCZbpt2a.js';
7
7
  import { p as plusIcon, m as minusIcon } from './minus-DfeagqF1.js';
@@ -358,7 +358,7 @@ const SallaColorPicker = class {
358
358
  }
359
359
  }
360
360
  initColorPicker() {
361
- this.pickerReady = import('./vanilla-picker-YDGjYiGR.js').then(function (n) { return n.v; }).then(mod => {
361
+ this.pickerReady = import('./vanilla-picker-DNH0QcWx.js').then(function (n) { return n.v; }).then(mod => {
362
362
  const Picker = mod.default;
363
363
  const picker = new Picker({
364
364
  parent: this.host,
@@ -818,13 +818,13 @@ const SallaFileUpload = class {
818
818
  return;
819
819
  try {
820
820
  const [FilePondModule, FilePondPluginFileValidateSize, FilePondPluginImageExifOrientation, FilePondPluginImagePreview, FilePondPluginImageEdit, FilePondPluginFileValidateType, FilePondPluginFilePoster] = await Promise.all([
821
- import('./filepond-DFccUKfi.js').then(function (n) { return n.f; }),
822
- import('./filepond-plugin-file-validate-size-Cjhw73dP.js').then(function (n) { return n.f; }),
823
- import('./filepond-plugin-image-exif-orientation-DdeulGFN.js').then(function (n) { return n.f; }),
824
- import('./filepond-plugin-image-preview-CygMfjyy.js').then(function (n) { return n.f; }),
825
- import('./filepond-plugin-image-edit-DrvarOmH.js').then(function (n) { return n.f; }),
826
- import('./filepond-plugin-file-validate-type-BYB_v8v7.js').then(function (n) { return n.f; }),
827
- import('./filepond-plugin-file-poster-BKP-dfBt.js').then(function (n) { return n.f; })
821
+ import('./filepond-CRlzgcIb.js').then(function (n) { return n.f; }),
822
+ import('./filepond-plugin-file-validate-size-Dzbvm4bE.js').then(function (n) { return n.f; }),
823
+ import('./filepond-plugin-image-exif-orientation-CVUrfrNW.js').then(function (n) { return n.f; }),
824
+ import('./filepond-plugin-image-preview-CGO8PkcS.js').then(function (n) { return n.f; }),
825
+ import('./filepond-plugin-image-edit-C3Xg8l5R.js').then(function (n) { return n.f; }),
826
+ import('./filepond-plugin-file-validate-type-BLR4c3Mg.js').then(function (n) { return n.f; }),
827
+ import('./filepond-plugin-file-poster-ByayYzo6.js').then(function (n) { return n.f; })
828
828
  ]);
829
829
  this.FilePond = FilePondModule;
830
830
  // Register plugins
@@ -1425,7 +1425,7 @@ const SallaTelInput = class {
1425
1425
  if (this.TelInput)
1426
1426
  return;
1427
1427
  try {
1428
- const telInputModule = await import('./index-BsChAaWH.js').then(function (n) { return n.i; });
1428
+ const telInputModule = await import('./index-D8tNjsq-.js').then(function (n) { return n.i; });
1429
1429
  this.TelInput = telInputModule.default;
1430
1430
  }
1431
1431
  catch (error) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h as h$4, H as Host, a as getElement } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, c as createEvent, h as h$4, H as Host, a as getElement } from './index-CF5lYEtt.js';
5
5
  import { L as Location } from './location-BO5AoBAP.js';
6
6
  import { S as Search } from './search-BscTeWDc.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CF5lYEtt.js';
5
5
 
6
6
  const sallaCartCouponsCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CF5lYEtt.js';
5
5
  import { S as SpecialDiscountIcon } from './special-discount-Ctkfc4K-.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
7
  import { T as TagMoneyIcon } from './tag-money-CJUR4sUM.js';
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-iW77h_OO.js';
5
- import { s as setTranslations } from './translations-B-Rj6b9M.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CF5lYEtt.js';
5
+ import { s as setTranslations } from './translations-dn_hTofo.js';
6
6
 
7
7
  var StarFilledIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
8
8
  <g clip-path="url(#clip0_5667_2008)">
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement, i as require_root, j as requireIsObject, k as requireIsSymbol, d as getDefaultExportFromCjs } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement, i as require_root, j as requireIsObject, k as requireIsSymbol, d as getDefaultExportFromCjs } from './index-CF5lYEtt.js';
5
5
  import { S as SICheck } from './check-BZp0rKEO.js';
6
6
  import { a as anime } from './anime.es-CgtvEd63.js';
7
7
  import { H as Helper } from './Helper-DFMXF2_h.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CF5lYEtt.js';
5
5
 
6
6
  var DiscountType;
7
7
  (function (DiscountType) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CF5lYEtt.js';
5
5
  import { W as WhatsappIcon } from './whatsapp2-CgR-T_ZS.js';
6
6
  import { S as SIMail } from './mail-DLNIOD9t.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CF5lYEtt.js';
5
5
 
6
6
  const sallaCookiesBarCss = ":host{display:block;overflow:visible}.s-cookies-bar{box-shadow:0 0 20px 4px rgba(0, 0, 0, 0.15)}.s-cookies-bar-btn--active{box-shadow:0 0 0 2px rgba(0, 0, 0, 0.08)}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CF5lYEtt.js';
5
5
 
6
6
  const sallaCountDownCss = ".s-count-down-horizontal{background-color:rgba(0, 0, 0, 0.06);background-color:color-mix(in srgb, var(--color-primary) 10%, transparent)}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, c as createEvent, h } from './index-CF5lYEtt.js';
5
5
  import { C as CameraIcon } from './camera-C6jIkM-X.js';
6
6
  import { F as FormFieldTypes } from './interfaces-OF8QcbMM.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CF5lYEtt.js';
5
5
 
6
6
  const DEBUG_KEY = 'salla-delivery-promise-debug';
7
7
  function log(message, data) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CF5lYEtt.js';
5
5
 
6
6
  const sallaEditOrderButtonCss = ":host{display:block}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CF5lYEtt.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.js';
6
6
  import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
7
7
  import './anime.es-CgtvEd63.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host, a as getElement } from './index-CF5lYEtt.js';
5
5
  import { F as FilterOptionTypes } from './interfaces-DL4h2bc3.js';
6
6
  import { H as Helper } from './Helper-DFMXF2_h.js';
7
7
  import './anime.es-CgtvEd63.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CF5lYEtt.js';
5
5
 
6
6
  const SallaFulfillmentMethods = class {
7
7
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h } from './index-CF5lYEtt.js';
5
5
  import { a as anime } from './anime.es-CgtvEd63.js';
6
6
  import { a as arrowLeft } from './arrow-left-BedNk7k1.js';
7
7
  import { S as SICancel } from './cancel-8Tsmrwno.js';
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CF5lYEtt.js';
5
5
 
6
6
  const SallaHook = class {
7
7
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CF5lYEtt.js';
5
5
  import { H as Helper } from './Helper-DFMXF2_h.js';
6
6
  import './anime.es-CgtvEd63.js';
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CF5lYEtt.js';
5
5
 
6
6
  const sallaInstallmentCss = "salla-installment:empty{display:none}#tabbyPromoWrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;border:unset !important;font-weight:500}.salla-y #tabbyPromoWrapper{border:1px solid var(--color-grey-dark);border-radius:12px}#tabbyPromoWrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}#tabbyPromoWrapper #tabbyPromo *{font-family:var(--font-main)}#tabbyPromoWrapper #tabbyPromo>div>div{max-width:none;box-shadow:none;border:none}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet{max-width:100%;min-height:100px;padding:18px 20px;border:none !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__text,#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-size:var(--font-sm);color:var(--color-text) !important}#tabbyPromoWrapper #tabbyPromo .tabby-promo-snippet__link{font-weight:bold}.tabby-promo-wrapper #tabby-promo{font-family:var(--font-main) !important}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-title{font-size:var(--font-md)}.tabby-promo-wrapper #tabby-promo .tabby-promo__feature-desc{font-size:var(--font-sm);line-height:20px}.tamara-product-widget{margin-bottom:20px}.tamara-product-widget,.spotii-wrapper{min-height:100px;position:relative;color:var(--main-text-color);font-size:var(--font-sm);line-height:1.25;padding:20px 20px 20px 115px !important;background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);border:unset !important;font-family:inherit !important;font-weight:500}.salla-y .tamara-product-widget,.salla-y .spotii-wrapper{border-radius:12px;border:1px solid var(--color-grey-dark)}.tamara-product-widget:hover,.spotii-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.tamara-product-widget .spotii-logo,.spotii-wrapper .spotii-logo{float:left;margin:0 0 0 -75px}.ltr .tamara-product-widget,.ltr .spotii-wrapper{text-align:left;padding:18px 100px 18px 20px !important}.ltr .tamara-product-widget .spotii-logo,.ltr .spotii-wrapper .spotii-logo{float:right;margin:0 -75px 0 0}.ltr .tamara-product-widget .spotii-product-widget,.ltr .spotii-wrapper .spotii-product-widget{text-align:left !important}.spotii-wrapper{margin-bottom:20px}.spotii-wrapper .spotii-promo{font-size:var(--font-md)}.spotii-wrapper .spotii-product-widget{font-size:var(--font-sm) !important;margin-top:10px}.tamara-product-widget .tamara-logo{position:absolute;left:20px !important;top:35px !important;margin:0 !important;height:24px !important}.ltr .tamara-product-widget .tamara-logo{right:20px !important;left:auto !important}.tamara-product-widget span{font-family:var(--font-main);font-size:var(--font-sm);color:var(--color-text)}.tamara-product-widget span:last-child{display:block;position:relative;margin-top:8px}.tamara-popup__wrap{overflow:auto !important}.s-installment-mispay-wrapper,.s-installment-madfu-wrapper,.s-installment-emkan-wrapper,.s-installment-rajehi-wrapper{font-size:14px;text-align:right;padding:20px;gap:42px;line-height:22px;color:rgb(0, 0, 0);min-width:100%;box-sizing:border-box;position:relative;background-color:white;border-radius:10px;margin:15px 0;display:flex;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1)}.s-installment-mispay-wrapper:hover,.s-installment-madfu-wrapper:hover,.s-installment-emkan-wrapper:hover,.s-installment-rajehi-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}.s-installment-mispay-content,.s-installment-madfu-content,.s-installment-emkan-content,.s-installment-rajehi-content{display:flex;flex-direction:row-reverse;width:100%;justify-content:space-between;align-items:center;gap:1rem}.s-installment-mispay-content-text,.s-installment-madfu-content-text,.s-installment-emkan-content-text,.s-installment-rajehi-content-text{color:var(--main-text-color);font-size:14px;font-weight:500;margin:0 16px 0 0;width:80%;left:14px;text-align:left}.s-installment-mispay-content img,.s-installment-madfu-content img,.s-installment-emkan-content img,.s-installment-rajehi-content img{height:28px;width:70px;display:inline-block;max-height:100%;vertical-align:middle;fill:none;stroke:unset;width:auto}.rtl .s-installment-mispay-content-text,.rtl .s-installment-madfu-content-text,.rtl .s-installment-emkan-content-text,.rtl .s-installment-rajehi-content-text{right:14px;text-align:right;margin:0 0 0 16px}.rtl .s-installment-mispay-content img,.rtl .s-installment-madfu-content img,.rtl .s-installment-emkan-content img,.rtl .s-installment-rajehi-content img{left:14px !important}.ltr .s-installment-mispay-content img,.ltr .s-installment-madfu-content img,.ltr .s-installment-emkan-content img,.ltr .s-installment-rajehi-content img{right:14px !important}.s-installment-rajehi-content img{width:70px !important;height:40px !important}.s-installment-emkan-content img{height:35px !important}.s-installment-klarna-wrapper{background:white;border-radius:0.375rem;transition:box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);margin-bottom:20px;padding:10px}.salla-y .s-installment-klarna-wrapper{border:1px solid var(--color-grey-dark);border-radius:12px}.s-installment-klarna-wrapper:hover{box-shadow:0 0 rgba(0, 0, 0, 0), 0 0 rgba(0, 0, 0, 0), 5px 10px 30px rgba(43, 45, 52, 0.0509803922)}";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, H as Host } from './index-CF5lYEtt.js';
5
5
 
6
6
  const sallaListTileCss = "";
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-CF5lYEtt.js';
5
5
 
6
6
  const SallaLocalizationModal = class {
7
7
  constructor(hostRef) {
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, F as Fragment, a as getElement } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, h, F as Fragment, a as getElement } from './index-CF5lYEtt.js';
5
5
 
6
6
  const sallaLoginModalCss = "iframe{-moz-transition:height 0.3s;-ms-transition:height 0.3s;-o-transition:height 0.3s;-webkit-transition:height 0.3s;transition:height 0.3s;width:100%}";
7
7
 
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, a as getElement } from './index-iW77h_OO.js';
5
- import { s as setTranslations } from './translations-B-Rj6b9M.js';
4
+ import { r as registerInstance, h, a as getElement } from './index-CF5lYEtt.js';
5
+ import { s as setTranslations } from './translations-dn_hTofo.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
- import { T as TrackedPromise } from './tracked-promise-C44guOYk.js';
7
+ import { T as TrackedPromise } from './tracked-promise-p7166HJt.js';
8
8
 
9
9
  const sallaLoyaltyProgramCss = "";
10
10
 
@@ -1,11 +1,12 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-iW77h_OO.js';
5
- import { c as closeModals, f as formattedPointsJsx } from './functions-B4JadfO-.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CF5lYEtt.js';
5
+ import { c as closeModals, f as formattedPointsJsx, i as isUnitOrder } from './functions-gyNQgO8M.js';
6
6
  import { S as SIGift } from './gift-CXRKXFgT.js';
7
7
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
8
8
  import { S as SIUserAdd } from './user-add-QpH8MU22.js';
9
+ import { S as SITag } from './tag-cgSL_BIo.js';
9
10
  import { S as SIMail } from './mail-DLNIOD9t.js';
10
11
  import { S as SICalendar } from './calendar-BkmanTR_.js';
11
12
  import { S as SIiPhoneX } from './iphone-x-CciN5Q_x.js';
@@ -79,11 +80,16 @@ const sallaLoyaltyProgramCss = "";
79
80
  * pos - sicon-store
80
81
  * fill profile - sicon-user-add
81
82
  */
83
+ const c = (...args) => args.map(i => 's-loyalty-program-' + i).join(' ');
82
84
  const sicons = {
83
85
  'FIRST_ORDER_STORE_FOR_UNIT': h("span", { innerHTML: SICart2 }),
86
+ 'FIRST_ORDER_STORE_FOR_UNIT_BY_CATEGORIES': h("span", { innerHTML: SICart2 }),
84
87
  'FIRST_ORDER_STORE_FIX_AMOUNT': h("span", { innerHTML: SICart2 }),
88
+ 'FIRST_ORDER_STORE_FIX_AMOUNT_BY_CATEGORIES': h("span", { innerHTML: SICart2 }),
85
89
  'ORDER_FROM_APP_FOR_UNIT': h("span", { innerHTML: SICart2 }),
90
+ 'ORDER_FROM_APP_FOR_UNIT_BY_CATEGORIES': h("span", { innerHTML: SICart2 }),
86
91
  'ORDER_FROM_APP_FIX_AMOUNT': h("span", { innerHTML: SICart2 }),
92
+ 'ORDER_FROM_APP_FIX_AMOUNT_BY_CATEGORIES': h("span", { innerHTML: SICart2 }),
87
93
  'CONDITION_RATING_SHIPPING_STORE': h("span", { innerHTML: SIStore }),
88
94
  'CONDITION_RATING_PRODUCT': h("span", { innerHTML: SIChatConversationAlt }),
89
95
  'CONDITION_RATING_SHIPPING_COMPANY': h("span", { innerHTML: SIShipping }),
@@ -92,13 +98,17 @@ const sicons = {
92
98
  'CONDITION_COMPLETE_PERSONAL_INFORMATION_MOBILE': h("span", { innerHTML: SIiPhoneX }),
93
99
  'CONDITION_COMPLETE_PERSONAL_INFORMATION_GENDER': h("span", { innerHTML: SIUser }),
94
100
  'CONDITION_BUY_FROM_STORE_FOR_UNIT': h("span", { innerHTML: SICart2 }),
101
+ 'CONDITION_BUY_FROM_STORE_FOR_UNIT_BY_CATEGORIES': h("span", { innerHTML: SICart2 }),
95
102
  'CONDITION_BUY_FROM_STORE_FIX_AMOUNT': h("span", { innerHTML: SICart2 }),
103
+ 'CONDITION_BUY_FROM_STORE_FIX_AMOUNT_BY_CATEGORIES': h("span", { innerHTML: SICart2 }),
96
104
  'order_from_pos_1': h("span", { innerHTML: SIiPhoneX }),
97
105
  'order_from_pos_2': h("span", { innerHTML: Location }),
98
106
  'buy_from_pos_1': h("span", { innerHTML: SIMapLocation }),
99
107
  'buy_from_pos_2': h("span", { innerHTML: SIiPhoneX }),
100
108
  'CONDITION_BUY_FROM_POS_FOR_UNIT': h("span", { innerHTML: SIiPhoneX }),
109
+ 'CONDITION_BUY_FROM_POS_FOR_UNIT_BY_CATEGORIES': h("span", { innerHTML: SIiPhoneX }),
101
110
  'CONDITION_BUY_FROM_POS_FIX_AMOUNT': h("span", { innerHTML: SIiPhoneX }),
111
+ 'CONDITION_BUY_FROM_POS_FIX_AMOUNT_BY_CATEGORIES': h("span", { innerHTML: SIiPhoneX }),
102
112
  'affiliate_link_1': h("span", { innerHTML: SILink1 }),
103
113
  'affiliate_link_2': h("span", { innerHTML: SIUserAdd }),
104
114
  'affiliate_link_3': h("span", { innerHTML: SICart2 }),
@@ -194,6 +204,22 @@ const SallaLoyaltyPoint = class {
194
204
  return '';
195
205
  }
196
206
  }
207
+ getSteps(point) {
208
+ if (!!point.steps.length) {
209
+ return (h("div", { class: "s-loyalty-program-points-chains-wrapper" }, h("ul", { class: "s-loyalty-program-points-chain-list" }, this.point.steps.map((step, idx) => h("li", { class: "s-loyalty-program-points-chain-item" }, h("div", { class: "s-loyalty-program-points-chain-icon" }, h("div", { class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xs s-loyalty-program-circle-variant-outline-primary" }, sicons[step.key]), h("div", { class: "s-loyalty-program-points-chain-line" })), h("div", { class: "s-loyalty-program-points-chain-content" }, h("salla-badge", { size: "xs", color: "primary-900", bg: "primary-100" }, h("span", { innerHTML: SIGift }), h("span", null, salla.lang.get(`pages.loyalty_program.step_${idx + 1}`))), h("p", { class: "s-loyalty-program-points-chain-description" }, salla.lang.get(`pages.loyalty_program.${step.key}`, { points: this.point.points }))))))));
210
+ }
211
+ return '';
212
+ }
213
+ getDetails(point) {
214
+ if (point.conditions.filter(c => c.key.endsWith('_BY_CATEGORIES')).length > 0) {
215
+ return (h("div", null, h("div", { class: "s-loyalty-program-point-subheading" }, h("h2", null, salla.lang.get('pages.loyalty_program.how_to_use')), h("p", null, salla.lang.get('pages.loyalty_program.how_to_use_steps'))), h("div", { class: "s-loyalty-program-points-modal-details" }, point.conditions.map((condition) => h("div", { class: "s-loyalty-program-points-chains-wrapper mt-5 mb-5" }, h("div", { class: "s-loyalty-program-points-chain-item" }, h("div", { class: "s-loyalty-program-points-chain-icon" }, h("div", { class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xs s-loyalty-program-circle-variant-outline-primary" }, sicons[condition.key])), h("div", { class: "s-loyalty-program-points-chain-content" }, h("salla-badge", { size: "xs", color: "primary-900", bg: "primary-100" }, h("span", { innerHTML: SIGift }), formattedPointsJsx(condition.points, isUnitOrder(point))), h("p", { class: "s-loyalty-program-points-chain-description" }, condition.name), h("div", null, this.getCategoriesJsx(condition.value)))))))));
216
+ }
217
+ return (h("div", { class: "s-loyalty-program-points-modal-details" }, h("div", { class: "s-loyalty-program-points-chains-wrapper mt-5 mb-5" }, h("ul", { class: "s-loyalty-program-points-chain-list" }, this.point.conditions.map((condition) => h("li", { class: "s-loyalty-program-points-chain-item" }, h("div", { class: "s-loyalty-program-points-chain-icon" }, h("div", { class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xs s-loyalty-program-circle-variant-outline-primary" }, sicons[condition.key]), h("div", { class: "s-loyalty-program-points-chain-line" })), h("div", { class: "s-loyalty-program-points-chain-content" }, h("salla-badge", { size: "xs", color: "primary-900", bg: "primary-100" }, h("span", { innerHTML: SIGift }), formattedPointsJsx(condition.points, isUnitOrder(point), condition.value != null)), h("p", { class: "s-loyalty-program-points-chain-description" }, condition.name))))))));
218
+ }
219
+ getCategoriesJsx(categories) {
220
+ return !categories.length ? '' :
221
+ h("ul", { class: c('reward-details-categories-list') }, categories.map((category) => (h("li", null, h("a", { href: category.url, class: c('reward-details-categories-item') }, h("span", { innerHTML: SITag }), h("span", { class: c('reward-details-categories-item-content') }, category.name))))));
222
+ }
197
223
  getTrailingContent(point) {
198
224
  switch (point.type) {
199
225
  case 'first_order':
@@ -204,7 +230,7 @@ const SallaLoyaltyPoint = class {
204
230
  }
205
231
  }
206
232
  render() {
207
- return (h("div", { key: '1a96a88716d9fa2b3e8aac4864a025824c48d36a' }, h("div", { key: '13bc00fa473bfb16b272d751b45ad7384db0fc43', onClick: () => closeModals(() => this.modal.open()), class: "s-loyalty-program-point-wrapper" }, h("div", { key: 'a7d6d5f9692c7454d6bd9aa350c4934ec1704002', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-sm s-loyalty-program-circle-variant-fill" }, h("span", { key: '2e26922099bbc8d1d46d48d807f09b195868a262', class: this.point.icon })), h("div", { key: 'ea7c80d9fd595d1e319fb9840cfa7dc439ad2bbb', class: "s-loyalty-program-points-badge-mobile" }, h("salla-badge", { key: '76c01bd0380e5729989ae4b748d7e59f334b40b8', size: "xs", bg: "transparent" }, h("span", { key: 'b459db33b3926952415e2ac6a9b383a53467bc7f', innerHTML: SIGift }), formattedPointsJsx(this.point))), h("div", { key: '528f5f6e1c36c637b69684d95ec304f9c129400e', class: "s-loyalty-program-points-badge-desktop" }, h("salla-badge", { key: '9360900b49e9b122c3de07ad08de0cc0e8eccec4', size: "sm", bg: "transparent" }, h("span", { key: '7786c402cb6b946f9fd6402e1d066ad58ae4c0d4', innerHTML: SIGift }), formattedPointsJsx(this.point))), h("p", { key: 'e6e4e93f0cdbd7dfd0dc39f279cac0bbb9ca4fa8', class: "s-loyalty-program-point-description" }, this.point.name), this.point.is_completed ?
233
+ return (h("div", { key: 'da9f8ed073dad418e72c05c54b0362dbd35f3935' }, h("div", { key: '884b4463371c9e806c5a0b050eb977628b46c800', onClick: () => closeModals(() => this.modal.open()), class: "s-loyalty-program-point-wrapper" }, h("div", { key: 'eb992d3f22972cd1bcfd475f35652a99887450c0', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-sm s-loyalty-program-circle-variant-fill" }, h("span", { key: '449c106f8babe36f6cc9b2273886aa4e2b81fe15', class: this.point.icon })), h("div", { key: 'e52de07a850e0e46799aba2f031f492d8f18dcb3', class: "s-loyalty-program-points-badge-mobile" }, h("salla-badge", { key: '4174dd5fa7c2e60725d53b3e9d7868a5f450f7ba', size: "xs", bg: "transparent" }, h("span", { key: 'a8ff60258c58e6901d7438c239296ce2563cafd2', innerHTML: SIGift }), formattedPointsJsx(this.point))), h("div", { key: '2196dee1a40e48a2cb7e53038e7e42a39863ad72', class: "s-loyalty-program-points-badge-desktop" }, h("salla-badge", { key: 'fd3ccf58c671317ceffdd0615c443671354a31de', size: "sm", bg: "transparent" }, h("span", { key: 'f21842a6f380f20d4de80df057852cbd48befa4e', innerHTML: SIGift }), formattedPointsJsx(this.point))), h("p", { key: '7593ae79293d532ec6c3e6456c3434fc5b2beb29', class: "s-loyalty-program-point-description" }, this.point.name), this.point.is_completed ?
208
234
  h("a", { class: {
209
235
  's-loyalty-program-points-action': true,
210
236
  's-loyalty-program-points-action-completed': this.point.is_completed,
@@ -214,16 +240,12 @@ const SallaLoyaltyPoint = class {
214
240
  's-loyalty-program-points-action': true,
215
241
  's-loyalty-program-points-action-completed': this.point.is_completed,
216
242
  's-loyalty-program-points-action-incomplete': !this.point.is_completed,
217
- } }, this.point.description)), h("salla-modal", { key: '1b4bbdf4a31b15a05de6e82eaba7e41623bb7926', ref: modal => this.modal = modal, class: "s-loyalty-program-point-modal s-loyalty-program-modal", width: window.matchMedia('(min-width: 768px)').matches ? 'md' : 'sm', noPadding: true }, h("div", { key: 'dd47de6d728d0e242ba907df2ad5efac90eca3bc', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: '5b683091ac479ada36a8a653379973399ef7a9e9', class: "s-loyalty-program-points-modal-info" }, this.point.name)), h("div", { key: '76a05aedcc3b13f44709e369bf16c9c992689406', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: 'a71c0eb9f39a103728974e687dfcb9be5d8d9be7', class: "s-loyalty-program-points-modal-main" }, h("div", { key: 'de83e494131791cae7df3782489be5f1d2ffcb4d', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: '2c8faf8db0b4984d0c9319e18343e41d9a6d0d26', class: this.point.icon })), h("salla-badge", { key: 'b29e2f350840663bb36dff05124aa58a3c774640', size: "sm", bg: "light" }, h("span", { key: '0d6cc163f3b14710bca60c5e4fb9c602ff8416a1', innerHTML: SIGift }), h("span", { key: 'a9ddb1a5ed1c69e0c2017691f67d360f189d4b37', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.point)))), this.getSubHeading(this.point), h("div", { key: '3327f05f80fec2ddceed0e6f230f0a99020445cc', class: "s-loyalty-program-points-modal-details" }, h("div", { key: 'd5505b3ab399f5d0b668c02bbf441eee33b4a1b2', class: "s-loyalty-program-points-chains-wrapper" }, h("ul", { key: 'dc9b64ad5795e87a12ffd104c5d6bbbade1c2a2e', class: "s-loyalty-program-points-chain-list" }, !!this.point.steps && Object.keys(this.point.steps).length > 0
218
- ? Object.values(this.point.steps).map((step, idx) => {
243
+ } }, this.point.description)), h("salla-modal", { key: '90be47d92f0ae74242c304c3b8d5c12c5a0a4649', ref: modal => this.modal = modal, class: "s-loyalty-program-point-modal s-loyalty-program-modal", width: window.matchMedia('(min-width: 768px)').matches ? 'md' : 'sm', noPadding: true }, h("div", { key: '00afe4584f14da0fd383f7e3109486541ca157f7', class: "s-loyalty-program-points-modal-header" }, h("h1", { key: 'd6af2b363b64fa2490bcaf1039f7128e63df6121', class: "s-loyalty-program-points-modal-info" }, this.point.name)), h("div", { key: 'e3cf11bcab3be81bfa63f03a75f2d655c38fc95e', class: "s-loyalty-program-modal-scrollable-content" }, h("div", { key: 'ce0a574cbcaabd7ac589e1e3be33708e664dbc08', class: "s-loyalty-program-points-modal-main" }, h("div", { key: 'c974151e5162d8dd0ab2bc75bae20966efb268f1', class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xl s-loyalty-program-circle-variant-fill" }, h("span", { key: '81d369d4f8d7ee6650cef1b55ce740c64716b2bd', class: this.point.icon })), h("salla-badge", { key: '0146ac225e7d54d14bcf5e53ba6c5325e0da260f', size: "sm", bg: "light" }, h("span", { key: '0653cb7799ed999c61cd7d5b6d350bcbaf7a5d95', innerHTML: SIGift }), h("span", { key: '67a397aabbc889ceff3cdcf1e37ecc2614702369', class: "s-loyalty-program-points-badge-points" }, formattedPointsJsx(this.point)))), this.getSubHeading(this.point), !!this.point.steps && Object.keys(this.point.steps).length > 0 &&
244
+ h("div", { key: '3d270563818b923112c889b291ad72ef6a15b9bc', class: "s-loyalty-program-points-modal-details" }, h("div", { key: '0157d2d96b4b7dac9c687cef58af87fdb4871fc1', class: "s-loyalty-program-points-chains-wrapper" }, h("ul", { key: '469624383bad345a97ca9b74980d2a1499aa1b6a', class: "s-loyalty-program-points-chain-list" }, Object.values(this.point.steps).map((step, idx) => {
219
245
  const stepsArray = Object.values(this.point.steps);
220
246
  const isLastItem = idx === stepsArray.length - 1;
221
247
  return (h("li", { class: "s-loyalty-program-points-chain-item" }, h("div", { class: "s-loyalty-program-points-chain-icon" }, h("div", { class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xs s-loyalty-program-circle-variant-outline-primary" }, sicons[step.key]), !isLastItem && h("div", { class: "s-loyalty-program-points-chain-line" })), h("div", { class: "s-loyalty-program-points-chain-content" }, h("salla-badge", { size: "xs", color: "primary-900", bg: "primary-100" }, h("span", null, salla.lang.get(`pages.loyalty_program.step_${idx + 1}`))), h("p", { class: "s-loyalty-program-points-chain-description" }, step.title || step.name))));
222
- })
223
- : this.point.conditions?.map((condition, idx) => {
224
- const isLastItem = idx === this.point.conditions.length - 1;
225
- return (h("li", { class: "s-loyalty-program-points-chain-item" }, h("div", { class: "s-loyalty-program-points-chain-icon" }, h("div", { class: "s-loyalty-program-circle-base s-loyalty-program-circle-size-xs s-loyalty-program-circle-variant-outline-primary" }, sicons[condition.key]), !isLastItem && h("div", { class: "s-loyalty-program-points-chain-line" })), h("div", { class: "s-loyalty-program-points-chain-content" }, h("salla-badge", { size: "xs", color: "primary-900", bg: "primary-100" }, h("span", { innerHTML: SIGift }), formattedPointsJsx(condition.points ?? 0)), h("p", { class: "s-loyalty-program-points-chain-description" }, condition.name))));
226
- }))), this.getTrailingContent(this.point)), !this.point.branches?.length ? '' : h("div", { class: "s-loyalty-program-points-modal-list" }, h("div", { class: "s-loyalty-program-point-details-branches" }, h("h2", null, salla.lang.get('pages.loyalty_program.branches')), h("p", null, salla.lang.get('pages.loyalty_program.shop_from_branches'))), h("div", { class: "s-loyalty-program-points-modal-list-wrapper" }, h("ul", null, this.point.branches.map((branch) => (h("li", { class: "s-loyalty-program-points-modal-list-item" }, h("p", null, branch.name), h("salla-badge", { size: "sm", bg: "transparent" }, h("span", { innerHTML: SIGift }), h("a", { href: branch.location ? `https://www.google.com/maps?q=${branch.location.lat},${branch.location.lon}` : '#', target: "_blank", rel: "noopener noreferrer" }, branch.address_description))))))))), h("div", { key: '685d0de853bd3becf1c10529768a5952b6365517', class: "s-loyalty-program-points-modal-action" }, h("a", { key: '806543e483c0872139ee395ee9ba2dbe27061564', href: this.point.url, onClick: (e) => (e.stopPropagation(), this.handleAction(e, this.point)), class: {
248
+ })))), this.getDetails(this.point), h("div", { key: 'bba31447df26e2a50a28cb6af922d49ec52a854b', class: "s-loyalty-program-points-modal-details" }, this.getTrailingContent(this.point)), !this.point.branches?.length ? '' : h("div", { class: "s-loyalty-program-points-modal-list" }, h("div", { class: "s-loyalty-program-point-details-branches" }, h("h2", null, salla.lang.get('pages.loyalty_program.branches')), h("p", null, salla.lang.get('pages.loyalty_program.shop_from_branches'))), h("div", { class: "s-loyalty-program-points-modal-list-wrapper" }, h("ul", null, this.point.branches.map((branch) => (h("li", { class: "s-loyalty-program-points-modal-list-item" }, h("p", null, branch.name), h("salla-badge", { size: "sm", bg: "transparent" }, h("span", { innerHTML: SIGift }), h("a", { href: branch.location ? `https://www.google.com/maps?q=${branch.location.lat},${branch.location.lon}` : '#', target: "_blank", rel: "noopener noreferrer" }, branch.address_description))))))))), h("div", { key: 'c6c84d25fddc848235682d14cc0e4755e91deb95', class: "s-loyalty-program-points-modal-action" }, h("a", { key: '1f7fbf431f89bb0d08e531ea4e6fb41109cad50e', href: this.point.url, onClick: (e) => (e.stopPropagation(), this.handleAction(e, this.point)), class: {
227
249
  's-loyalty-program-points-action': true,
228
250
  's-loyalty-program-points-action-completed': this.point.is_completed,
229
251
  's-loyalty-program-points-action-incomplete': !this.point.is_completed,
@@ -1,15 +1,15 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { h, r as registerInstance } from './index-iW77h_OO.js';
5
- import { s as setTranslations } from './translations-B-Rj6b9M.js';
6
- import { n as normalizeLoyaltyData, c as closeModals } from './functions-B4JadfO-.js';
4
+ import { h, r as registerInstance } from './index-CF5lYEtt.js';
5
+ import { s as setTranslations } from './translations-dn_hTofo.js';
6
+ import { n as normalizeLoyaltyData, c as closeModals } from './functions-gyNQgO8M.js';
7
7
  import { S as Star } from './star2-D4oPi1Ov.js';
8
8
  import { S as SICancel } from './cancel-8Tsmrwno.js';
9
9
  import { S as SIPercentage, a as SILayoutGrid } from './percentage-Bs6JxDkg.js';
10
10
  import { S as SIShipping } from './shipping-CZRcMGA9.js';
11
11
  import { S as SICart2 } from './cart2-D1s2kXqL.js';
12
- import { T as TrackedPromise } from './tracked-promise-C44guOYk.js';
12
+ import { T as TrackedPromise } from './tracked-promise-p7166HJt.js';
13
13
 
14
14
  var PrizeImage = `<svg xmlns="http://www.w3.org/2000/svg" width="77" height="77" fill="none" viewBox="0 0 57 57"><rect width="56.3" height="55.9" x=".4" y=".2" fill="#FFF5E5" rx="27.9"/><g clip-path="url(#a)"><path fill="#EE9D0D" d="M16.7 27.5h17.5v12.2a1 1 0 0 1-1 1H17.7a1 1 0 0 1-1-1V27.5Z"/><path fill="#C7830B" d="M34.2 27.8v6l-6.8-6.3H34l.3.3Z"/><path fill="#C7830B" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EA2B2D" d="m29.9 15.8-.3.1a2.4 2.4 0 0 0-1.4 1.5l-.2.8-.4.2a2.4 2.4 0 0 0-1.1 1.4l4.2 3.9L33 21l.2-2.9a2.4 2.4 0 0 0-3.3-2.4ZM41.1 26.3v.2a2.4 2.4 0 0 1-1.5 1.6l-.7.3-.2.3a2.4 2.4 0 0 1-1.3 1.3l-4.2-4 2.4-2.5 2.9-.3a2.4 2.4 0 0 1 2.6 3.1Z"/><path fill="#CB2527" d="M23.7 27.5h3.5v13.1h-3.5V27.5Z"/><path fill="#EA2B2D" d="M16.7 32.3h17.5v3.5H16.7v-3.5Z"/><path fill="#CB2527" d="M34.2 32.3v1.5l-1.6-1.5h1.6Z"/><path fill="#EE9D0D" d="M25.3 18.7 38.6 31a1 1 0 0 1 0 1.4l-2.3 2.4-14.7-13.7 2.3-2.5a1 1 0 0 1 1.4 0Z"/><path fill="#CB2527" d="m30.3 23.4 3.2 3-3 3.2-3.2-3 3-3.2ZM31.8 22.8a.4.4 0 0 1-.3-.1l-.3-.4A5.9 5.9 0 0 1 30 18a.4.4 0 0 1 .9 0 5 5 0 0 0 1 3.7l.3.3a.4.4 0 0 1-.4.7Z"/><path fill="#EA2B2D" d="M30.7 23.7c-1.9.7-3.8 1-5.7.9h-1.1l1.9 1.7-.6 1.9 1.8-.6c1.7-.5 3.2-1.4 4.6-2.5l.3-.2-1.2-1.2Z"/><path fill="#CB2527" d="M37.8 26.4c-1.1 0-2.3-.3-3.2-1l-.4-.2a.4.4 0 0 1 0-.8.4.4 0 0 1 .5 0l.3.3a5 5 0 0 0 3.7.7.4.4 0 1 1 .2 1 6 6 0 0 1-1 0Z"/><path fill="#EA2B2D" d="M33.2 26c-.5 2-.7 3.9-.5 5.8l.1 1.1-1.9-1.8-1.8.7.4-1.8c.4-1.7 1.2-3.3 2.2-4.8l.2-.3 1.3 1.2Z"/><path fill="#6699CE" d="M21.5 17.4a.9.9 0 1 0 0-1.7.9.9 0 0 0 0 1.7Z"/><path fill="#FAA6B2" d="M16.7 27.5a.9.9 0 1 0 0-1.8.9.9 0 0 0 0 1.8Z"/><path fill="#A6DEFF" d="M18.4 17.9a.4.4 0 0 1-.4-.3v-.1a1.4 1.4 0 0 0-1.3-1 .4.4 0 0 1-.2-.8h.2a2.3 2.3 0 0 1 2.1 1.5.4.4 0 0 1-.4.7ZM20.6 25.6h-.2v-.1a1 1 0 0 0-1.1 0 .4.4 0 0 1-.5-.8 1.8 1.8 0 0 1 2 0 .4.4 0 0 1-.2.9Z"/><path fill="#EEB436" d="m17.6 18.6 1.3 1.2 1.8-.4-.7 1.7.9 1.6-1.8-.2-1.2 1.3-.4-1.8-1.7-.7 1.6-.9.2-1.8ZM23 26.6l-.5 1.8 1.2 1.3-1.8.2-1 1.5-.6-1.7-1.8-.4 1.4-1.1-.2-1.9 1.6 1 1.6-.7Z"/><path fill="#F72D2F" d="m33.2 26-2.5-2.3L33 21a4 4 0 0 1 2.6 2.4l-2.4 2.6Z"/></g><defs><clipPath id="a"><path fill="#fff" d="M15.8 15.7h25.4v25H15.8z"/></clipPath></defs></svg>`;
15
15
 
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, h, H as Host, a as getElement } from './index-iW77h_OO.js';
5
- import { s as setTranslations } from './translations-B-Rj6b9M.js';
4
+ import { r as registerInstance, h, H as Host, a as getElement } from './index-CF5lYEtt.js';
5
+ import { s as setTranslations } from './translations-dn_hTofo.js';
6
6
 
7
7
  var MoneyIcon = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
8
8
  <path d="M8.76604 2.86201C9.31804 2.61001 9.93304 2.41501 10.611 2.27701C11.289 2.13901 12 2.07001 12.744 2.07001C13.572 2.07001 14.364 2.15401 15.12 2.32201C15.84 2.49001 16.356 2.81401 16.668 3.29401C16.932 3.70201 17.064 4.26001 17.064 4.96801V13.032C17.064 13.416 16.95 13.752 16.722 14.04C16.506 14.304 16.227 14.493 15.885 14.607C15.543 14.721 15.204 14.742 14.868 14.67C14.196 14.514 13.488 14.436 12.744 14.436C12.084 14.436 11.442 14.502 10.818 14.634C10.23 14.754 9.70204 14.922 9.23404 15.138C8.68204 15.39 8.06704 15.585 7.38904 15.723C6.71104 15.861 6.00004 15.93 5.25604 15.93C4.42804 15.93 3.63604 15.846 2.88004 15.678C2.18404 15.522 1.68004 15.21 1.36804 14.742C1.08004 14.322 0.936035 13.752 0.936035 13.032V4.96801C0.936035 4.58401 1.05004 4.24801 1.27804 3.96001C1.49404 3.69601 1.77304 3.50701 2.11504 3.39301C2.45704 3.27901 2.79604 3.25801 3.13204 3.33001C3.80404 3.48601 4.51204 3.56401 5.25604 3.56401C5.91604 3.56401 6.55804 3.49801 7.18204 3.36601C7.77004 3.24601 8.29804 3.07801 8.76604 2.86201ZM11.25 9.00001C11.25 8.59201 11.148 8.21701 10.944 7.87501C10.74 7.53301 10.467 7.26001 10.125 7.05601C9.78304 6.85201 9.40804 6.75001 9.00004 6.75001C8.59204 6.75001 8.21704 6.85201 7.87504 7.05601C7.53304 7.26001 7.26004 7.53301 7.05604 7.87501C6.85204 8.21701 6.75004 8.59201 6.75004 9.00001C6.75004 9.40801 6.85204 9.78301 7.05604 10.125C7.26004 10.467 7.53304 10.74 7.87504 10.944C8.21704 11.148 8.59204 11.25 9.00004 11.25C9.40804 11.25 9.78304 11.148 10.125 10.944C10.467 10.74 10.74 10.467 10.944 10.125C11.148 9.78301 11.25 9.40801 11.25 9.00001ZM14.328 7.79401C14.076 7.75801 13.812 7.73401 13.536 7.72201C13.38 7.71001 13.245 7.75501 13.131 7.85701C13.017 7.95901 12.954 8.08801 12.942 8.24401C12.93 8.40001 12.975 8.53501 13.077 8.64901C13.179 8.76301 13.308 8.82601 13.464 8.83801C13.704 8.85001 13.938 8.87401 14.166 8.91001C14.322 8.93401 14.463 8.90101 14.589 8.81101C14.715 8.72101 14.787 8.59801 14.805 8.44201C14.823 8.28601 14.787 8.14501 14.697 8.01901C14.607 7.89301 14.484 7.81801 14.328 7.79401ZM4.53604 9.16201C4.29604 9.15001 4.06204 9.12601 3.83404 9.09001C3.67804 9.06601 3.53704 9.09901 3.41104 9.18901C3.28504 9.27901 3.21304 9.40201 3.19504 9.55801C3.17704 9.71401 3.21304 9.85501 3.30304 9.98101C3.39304 10.107 3.51604 10.182 3.67204 10.206C3.92404 10.242 4.18804 10.266 4.46404 10.278C4.62004 10.29 4.75504 10.245 4.86904 10.143C4.98304 10.041 5.04604 9.91201 5.05804 9.75601C5.07004 9.60001 5.02504 9.46501 4.92304 9.35101C4.82104 9.23701 4.69204 9.17401 4.53604 9.16201Z" fill="white"/>
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import { r as registerInstance, c as createEvent, h, H as Host } from './index-iW77h_OO.js';
4
+ import { r as registerInstance, c as createEvent, h, H as Host } from './index-CF5lYEtt.js';
5
5
 
6
6
  const sallaLoyaltyPrizeItemCss = "salla-loyalty-prize-item:hover{box-shadow:0 5px 15px 1px rgba(0, 0, 0, 0.04) !important}";
7
7