@salla.sa/twilight-components 2.14.576 → 2.14.577

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 (470) hide show
  1. package/dist/cjs/{filepond-pMiRtx1x.js → filepond-iflxa4A5.js} +1 -1
  2. package/dist/cjs/{filepond-plugin-file-poster-DxsZ8Mch.js → filepond-plugin-file-poster-NZ84xlKh.js} +1 -1
  3. package/dist/cjs/{filepond-plugin-file-validate-size-B6fa4wXz.js → filepond-plugin-file-validate-size-m8Z_JlZX.js} +1 -1
  4. package/dist/cjs/{filepond-plugin-file-validate-type-BEggFpci.js → filepond-plugin-file-validate-type-BfF6LYAT.js} +1 -1
  5. package/dist/cjs/{filepond-plugin-image-edit-BDwSySal.js → filepond-plugin-image-edit-DfRJ3iRj.js} +1 -1
  6. package/dist/cjs/{filepond-plugin-image-exif-orientation-HE8n94tY.js → filepond-plugin-image-exif-orientation-BZxYZai-.js} +1 -1
  7. package/dist/cjs/{filepond-plugin-image-preview-C-CaMrlm.js → filepond-plugin-image-preview-BQ7HvH2d.js} +1 -1
  8. package/dist/cjs/{helpers-Dm4BirHO.js → helpers-DBynEhOO.js} +0 -15
  9. package/dist/cjs/{index-B3IyDlYG.js → index-CSe-ijAV.js} +2 -2
  10. package/dist/cjs/{intlTelInput-CeiHZwpn.js → intlTelInput-DHfYz8vv.js} +1 -1
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/salla-accordion-body_2.cjs.entry.js +3 -3
  13. package/dist/cjs/salla-accordion_6.cjs.entry.js +2 -2
  14. package/dist/cjs/salla-add-product-button_5.cjs.entry.js +3 -3
  15. package/dist/cjs/salla-advertisement.cjs.entry.js +1 -1
  16. package/dist/cjs/salla-alert_2.cjs.entry.js +1 -1
  17. package/dist/cjs/salla-app-install-alert.cjs.entry.js +1 -1
  18. package/dist/cjs/salla-applied-filters.cjs.entry.js +1 -1
  19. package/dist/cjs/salla-apps-icons.cjs.entry.js +1 -1
  20. package/dist/cjs/salla-attachment-view_9.cjs.entry.js +17 -17
  21. package/dist/cjs/salla-badge.cjs.entry.js +1 -1
  22. package/dist/cjs/salla-basket-gap.cjs.entry.js +1 -1
  23. package/dist/cjs/salla-bullet-delivery_3.cjs.entry.js +179 -187
  24. package/dist/cjs/salla-cart-coupons.cjs.entry.js +160 -7
  25. package/dist/cjs/salla-cart-item-offers_2.cjs.entry.js +2 -2
  26. package/dist/cjs/salla-cart-summary-card.cjs.entry.js +1 -1
  27. package/dist/cjs/salla-cashback-banner.cjs.entry.js +1 -1
  28. package/dist/cjs/salla-comment-factors.cjs.entry.js +1 -1
  29. package/dist/cjs/salla-comment-form_9.cjs.entry.js +4 -4
  30. package/dist/cjs/salla-conditional-offer.cjs.entry.js +1 -1
  31. package/dist/cjs/salla-contacts.cjs.entry.js +1 -1
  32. package/dist/cjs/salla-cookies-bar.cjs.entry.js +1 -1
  33. package/dist/cjs/salla-count-down.cjs.entry.js +2 -2
  34. package/dist/cjs/salla-custom-fields.cjs.entry.js +1 -1
  35. package/dist/cjs/salla-delivery-promise.cjs.entry.js +2 -2
  36. package/dist/cjs/salla-edit-order-button.cjs.entry.js +1 -1
  37. package/dist/cjs/salla-filters-widget.cjs.entry.js +3 -3
  38. package/dist/cjs/salla-filters.cjs.entry.js +2 -2
  39. package/dist/cjs/salla-fulfillment-methods.cjs.entry.js +1 -1
  40. package/dist/cjs/salla-gift-card-redeem.cjs.entry.js +1 -1
  41. package/dist/cjs/salla-gifting.cjs.entry.js +3 -3
  42. package/dist/cjs/salla-hook.cjs.entry.js +2 -2
  43. package/dist/cjs/salla-infinite-scroll.cjs.entry.js +1 -1
  44. package/dist/cjs/salla-installment.cjs.entry.js +1 -1
  45. package/dist/cjs/salla-list-tile.cjs.entry.js +2 -2
  46. package/dist/cjs/salla-localization-modal.cjs.entry.js +2 -2
  47. package/dist/cjs/salla-login-modal.cjs.entry.js +1 -1
  48. package/dist/cjs/salla-loyalty-banner_10.cjs.entry.js +15 -15
  49. package/dist/cjs/salla-loyalty-exchange-product-card.cjs.entry.js +3 -3
  50. package/dist/cjs/salla-loyalty-points-banner.cjs.entry.js +1 -1
  51. package/dist/cjs/salla-loyalty-points-history.cjs.entry.js +2 -2
  52. package/dist/cjs/salla-loyalty-prize-item.cjs.entry.js +2 -2
  53. package/dist/cjs/salla-loyalty.cjs.entry.js +1 -1
  54. package/dist/cjs/salla-maintenance-alert.cjs.entry.js +2 -2
  55. package/dist/cjs/salla-map_3.cjs.entry.js +4 -4
  56. package/dist/cjs/salla-menu.cjs.entry.js +1 -1
  57. package/dist/cjs/salla-metadata.cjs.entry.js +1 -1
  58. package/dist/cjs/salla-multiple-bundle-product-cart_2.cjs.entry.js +4 -4
  59. package/dist/cjs/salla-multiple-bundle-product-options-modal_2.cjs.entry.js +6 -6
  60. package/dist/cjs/salla-multiple-bundle-product.cjs.entry.js +2 -2
  61. package/dist/cjs/salla-next-order-coupon.cjs.entry.js +1 -1
  62. package/dist/cjs/salla-notification-item_2.cjs.entry.js +2 -2
  63. package/dist/cjs/salla-offer-modal.cjs.entry.js +2 -2
  64. package/dist/cjs/salla-offer.cjs.entry.js +1 -1
  65. package/dist/cjs/salla-order-branch.cjs.entry.js +1 -1
  66. package/dist/cjs/salla-order-cancel.cjs.entry.js +1 -1
  67. package/dist/cjs/salla-order-details-multiple-bundle-product.cjs.entry.js +1 -1
  68. package/dist/cjs/salla-order-details-options.cjs.entry.js +1 -1
  69. package/dist/cjs/salla-order-details.cjs.entry.js +2 -2
  70. package/dist/cjs/salla-order-edit-item.cjs.entry.js +1 -1
  71. package/dist/cjs/salla-order-edit-product-card.cjs.entry.js +2 -2
  72. package/dist/cjs/salla-order-edit.cjs.entry.js +1 -1
  73. package/dist/cjs/salla-order-options-modal.cjs.entry.js +1 -1
  74. package/dist/cjs/salla-order-shipments.cjs.entry.js +1 -1
  75. package/dist/cjs/salla-order-summary.cjs.entry.js +2 -2
  76. package/dist/cjs/salla-order-totals-card.cjs.entry.js +1 -1
  77. package/dist/cjs/salla-orders.cjs.entry.js +1 -1
  78. package/dist/cjs/salla-payments.cjs.entry.js +3 -3
  79. package/dist/cjs/salla-placeholder.cjs.entry.js +2 -2
  80. package/dist/cjs/salla-price-range.cjs.entry.js +3 -3
  81. package/dist/cjs/salla-product-card-embed.cjs.entry.js +2 -2
  82. package/dist/cjs/salla-product-card.cjs.entry.js +6 -6
  83. package/dist/cjs/salla-product-size-guide.cjs.entry.js +3 -3
  84. package/dist/cjs/salla-products-list.cjs.entry.js +1 -1
  85. package/dist/cjs/salla-products-slider.cjs.entry.js +1 -1
  86. package/dist/cjs/salla-quick-order.cjs.entry.js +1 -1
  87. package/dist/cjs/salla-rating-modal-v2.cjs.entry.js +1 -1
  88. package/dist/cjs/salla-rating-modal.cjs.entry.js +1 -1
  89. package/dist/cjs/salla-review-factors-tags.cjs.entry.js +2 -2
  90. package/dist/cjs/salla-review-order-item.cjs.entry.js +1 -1
  91. package/dist/cjs/salla-scopes.cjs.entry.js +1 -1
  92. package/dist/cjs/salla-search-product-card.cjs.entry.js +3 -3
  93. package/dist/cjs/salla-search.cjs.entry.js +1 -1
  94. package/dist/cjs/salla-skeleton.cjs.entry.js +2 -2
  95. package/dist/cjs/salla-social-share.cjs.entry.js +2 -2
  96. package/dist/cjs/salla-social.cjs.entry.js +2 -2
  97. package/dist/cjs/salla-tab-content_3.cjs.entry.js +4 -4
  98. package/dist/cjs/salla-tiered-offer.cjs.entry.js +1 -1
  99. package/dist/cjs/salla-tooltip.cjs.entry.js +2 -2
  100. package/dist/cjs/salla-trust-badges.cjs.entry.js +1 -1
  101. package/dist/cjs/salla-user-menu.cjs.entry.js +1 -1
  102. package/dist/cjs/salla-user-profile.cjs.entry.js +1 -1
  103. package/dist/cjs/salla-user-settings.cjs.entry.js +2 -2
  104. package/dist/cjs/salla-verify.cjs.entry.js +1 -1
  105. package/dist/cjs/salla-wallet.cjs.entry.js +1 -1
  106. package/dist/cjs/salla-wishlist-actions.cjs.entry.js +2 -2
  107. package/dist/cjs/salla-wishlist-summary.cjs.entry.js +1 -1
  108. package/dist/cjs/twilight.cjs.js +2 -2
  109. package/dist/cjs/{vanilla-picker-DBIBI2Jr.js → vanilla-picker-Brk9Mb54.js} +1 -1
  110. package/dist/collection/assets/svg/mini-map.svg +6 -30
  111. package/dist/collection/components/salla-accordion/salla-accordion-head.js +2 -2
  112. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.css +241 -238
  113. package/dist/collection/components/salla-bullet-delivery/salla-bullet-delivery.js +175 -146
  114. package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.css +154 -92
  115. package/dist/collection/components/salla-cart-coupons/salla-cart-coupons.js +160 -5
  116. package/dist/collection/components/salla-cart-summary/salla-cart-summary.js +1 -1
  117. package/dist/collection/components/salla-color-picker/salla-color-picker.js +1 -1
  118. package/dist/collection/components/salla-comment-form/salla-comment-form.js +1 -1
  119. package/dist/collection/components/salla-conditional-fields/salla-conditional-fields.js +1 -1
  120. package/dist/collection/components/salla-count-down/salla-count-down.js +1 -1
  121. package/dist/collection/components/salla-datetime-picker/salla-datetime-picker.js +1 -1
  122. package/dist/collection/components/salla-file-upload/salla-file-upload.js +2 -2
  123. package/dist/collection/components/salla-filters/salla-filters.js +1 -1
  124. package/dist/collection/components/salla-filters-widget/salla-filters-widget.js +2 -2
  125. package/dist/collection/components/salla-gifting/salla-gifting.js +2 -2
  126. package/dist/collection/components/salla-hook/salla-hook.js +1 -1
  127. package/dist/collection/components/salla-list-tile/salla-list-tile.js +1 -1
  128. package/dist/collection/components/salla-loading/salla-loading.js +1 -1
  129. package/dist/collection/components/salla-localization-modal/salla-localization-modal.js +1 -1
  130. package/dist/collection/components/salla-loyalty/salla-loyalty-prize-item.js +1 -1
  131. package/dist/collection/components/salla-loyalty-points-history/salla-loyalty-points-history.js +1 -1
  132. package/dist/collection/components/salla-loyalty-program/salla-loyalty-exchange-product-card.js +2 -2
  133. package/dist/collection/components/salla-loyalty-program/salla-loyalty-hero.js +3 -3
  134. package/dist/collection/components/salla-loyalty-program/salla-loyalty-point.js +4 -4
  135. package/dist/collection/components/salla-loyalty-program/salla-loyalty-reward.js +2 -2
  136. package/dist/collection/components/salla-loyalty-program/salla-reward-card.js +1 -1
  137. package/dist/collection/components/salla-loyalty-program/salla-reward-details.js +3 -3
  138. package/dist/collection/components/salla-loyalty-program/salla-reward-exchange.js +1 -1
  139. package/dist/collection/components/salla-maintenance-alert/salla-maintenance-alert.js +1 -1
  140. package/dist/collection/components/salla-map/salla-map.js +3 -3
  141. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-cart.js +1 -1
  142. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-details.js +2 -2
  143. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-options-modal.js +4 -4
  144. package/dist/collection/components/salla-multiple-bundle-product/components/salla-multiple-bundle-product-slider.js +1 -1
  145. package/dist/collection/components/salla-multiple-bundle-product/salla-multiple-bundle-product.js +1 -1
  146. package/dist/collection/components/salla-notifications/salla-notification-item.js +1 -1
  147. package/dist/collection/components/salla-offer-modal/salla-offer-modal.js +1 -1
  148. package/dist/collection/components/salla-order-details/salla-order-details.js +1 -1
  149. package/dist/collection/components/salla-order-edit/salla-order-edit-product-card.js +1 -1
  150. package/dist/collection/components/salla-order-summary/salla-order-summary.js +1 -1
  151. package/dist/collection/components/salla-payments/salla-payments.js +2 -2
  152. package/dist/collection/components/salla-placeholder/salla-placeholder.js +1 -1
  153. package/dist/collection/components/salla-price-range/salla-price-range.js +2 -2
  154. package/dist/collection/components/salla-product-availability/salla-product-availability.js +1 -1
  155. package/dist/collection/components/salla-product-card/salla-product-card.js +5 -5
  156. package/dist/collection/components/salla-product-card-embed/salla-product-card-embed.js +1 -1
  157. package/dist/collection/components/salla-product-size-guide/salla-product-size-guide.js +2 -2
  158. package/dist/collection/components/salla-quantity-input/salla-quantity-input.js +1 -1
  159. package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +1 -1
  160. package/dist/collection/components/salla-review-card/salla-review-card.js +1 -1
  161. package/dist/collection/components/salla-review-factors-tags/salla-review-factors-tags.js +1 -1
  162. package/dist/collection/components/salla-reviews-page/salla-reviews-page.js +1 -1
  163. package/dist/collection/components/salla-search-product-card/salla-search-product-card.js +2 -2
  164. package/dist/collection/components/salla-searchable-dropdown/salla-searchable-dropdown.js +4 -4
  165. package/dist/collection/components/salla-skeleton/salla-skeleton.js +1 -1
  166. package/dist/collection/components/salla-social/salla-social.js +1 -1
  167. package/dist/collection/components/salla-social-share/salla-social-share.js +1 -1
  168. package/dist/collection/components/salla-tabs/salla-tab-content.js +1 -1
  169. package/dist/collection/components/salla-tabs/salla-tab-header.js +1 -1
  170. package/dist/collection/components/salla-tabs/salla-tabs.js +1 -1
  171. package/dist/collection/components/salla-tel-input/salla-tel-input.js +1 -1
  172. package/dist/collection/components/salla-tooltip/salla-tooltip.js +1 -1
  173. package/dist/collection/components/salla-user-settings/salla-user-settings.js +1 -1
  174. package/dist/collection/components/salla-wishlist-actions/salla-wishlist-actions.js +1 -1
  175. package/dist/components/helpers.js +1 -15
  176. package/dist/components/index.js +2 -2
  177. package/dist/components/salla-accordion-head2.js +2 -2
  178. package/dist/components/salla-bullet-delivery.js +175 -184
  179. package/dist/components/salla-cart-coupons.js +161 -6
  180. package/dist/components/salla-cart-summary.js +1 -1
  181. package/dist/components/salla-color-picker2.js +1 -1
  182. package/dist/components/salla-comment-form2.js +1 -1
  183. package/dist/components/salla-conditional-fields2.js +1 -1
  184. package/dist/components/salla-count-down2.js +1 -1
  185. package/dist/components/salla-datetime-picker2.js +1 -1
  186. package/dist/components/salla-delivery-promise.js +1 -1
  187. package/dist/components/salla-file-upload2.js +2 -2
  188. package/dist/components/salla-filters-widget2.js +2 -2
  189. package/dist/components/salla-filters.js +1 -1
  190. package/dist/components/salla-gifting.js +2 -2
  191. package/dist/components/salla-hook.js +1 -1
  192. package/dist/components/salla-list-tile2.js +1 -1
  193. package/dist/components/salla-loading2.js +1 -1
  194. package/dist/components/salla-localization-modal.js +1 -1
  195. package/dist/components/salla-loyalty-exchange-product-card2.js +2 -2
  196. package/dist/components/salla-loyalty-hero2.js +3 -3
  197. package/dist/components/salla-loyalty-point2.js +4 -4
  198. package/dist/components/salla-loyalty-points-history.js +1 -1
  199. package/dist/components/salla-loyalty-prize-item.js +1 -1
  200. package/dist/components/salla-loyalty-reward.js +2 -2
  201. package/dist/components/salla-maintenance-alert.js +1 -1
  202. package/dist/components/salla-map2.js +3 -3
  203. package/dist/components/salla-multiple-bundle-product-cart2.js +1 -1
  204. package/dist/components/salla-multiple-bundle-product-details2.js +2 -2
  205. package/dist/components/salla-multiple-bundle-product-options-modal2.js +4 -4
  206. package/dist/components/salla-multiple-bundle-product-slider2.js +1 -1
  207. package/dist/components/salla-multiple-bundle-product.js +1 -1
  208. package/dist/components/salla-notification-item2.js +1 -1
  209. package/dist/components/salla-offer-modal.js +1 -1
  210. package/dist/components/salla-order-details.js +1 -1
  211. package/dist/components/salla-order-edit-product-card.js +1 -1
  212. package/dist/components/salla-order-summary.js +1 -1
  213. package/dist/components/salla-payments.js +2 -2
  214. package/dist/components/salla-placeholder2.js +1 -1
  215. package/dist/components/salla-price-range2.js +2 -2
  216. package/dist/components/salla-product-availability2.js +1 -1
  217. package/dist/components/salla-product-card-embed.js +1 -1
  218. package/dist/components/salla-product-card2.js +5 -5
  219. package/dist/components/salla-product-size-guide.js +2 -2
  220. package/dist/components/salla-quantity-input2.js +1 -1
  221. package/dist/components/salla-quick-buy2.js +1 -1
  222. package/dist/components/salla-review-card2.js +1 -1
  223. package/dist/components/salla-review-factors-tags2.js +1 -1
  224. package/dist/components/salla-reviews-page.js +1 -1
  225. package/dist/components/salla-reward-card2.js +1 -1
  226. package/dist/components/salla-reward-details2.js +3 -3
  227. package/dist/components/salla-reward-exchange2.js +1 -1
  228. package/dist/components/salla-search-product-card2.js +2 -2
  229. package/dist/components/salla-searchable-dropdown2.js +4 -4
  230. package/dist/components/salla-skeleton2.js +1 -1
  231. package/dist/components/salla-social-share2.js +1 -1
  232. package/dist/components/salla-social.js +1 -1
  233. package/dist/components/salla-tab-content2.js +1 -1
  234. package/dist/components/salla-tab-header2.js +1 -1
  235. package/dist/components/salla-tabs2.js +1 -1
  236. package/dist/components/salla-tel-input2.js +1 -1
  237. package/dist/components/salla-tooltip2.js +1 -1
  238. package/dist/components/salla-user-settings.js +1 -1
  239. package/dist/components/salla-wishlist-actions.js +1 -1
  240. package/dist/esm/{filepond-C6VyLUVF.js → filepond-Qm94dFPs.js} +1 -1
  241. package/dist/esm/{filepond-plugin-file-poster-BfFqi2TO.js → filepond-plugin-file-poster-CHpnwHYe.js} +1 -1
  242. package/dist/esm/{filepond-plugin-file-validate-size-BBqb56CB.js → filepond-plugin-file-validate-size-BwHBxxMg.js} +1 -1
  243. package/dist/esm/{filepond-plugin-file-validate-type-O67G3mL2.js → filepond-plugin-file-validate-type-BD-yTEPO.js} +1 -1
  244. package/dist/esm/{filepond-plugin-image-edit-CGZyNJxN.js → filepond-plugin-image-edit-DKc0Yw10.js} +1 -1
  245. package/dist/esm/{filepond-plugin-image-exif-orientation-DA7fGQP3.js → filepond-plugin-image-exif-orientation-CepmNFGF.js} +1 -1
  246. package/dist/esm/{filepond-plugin-image-preview-BijvA1XW.js → filepond-plugin-image-preview-FhnzagMd.js} +1 -1
  247. package/dist/esm/{helpers-CV6uPJEJ.js → helpers-BJxBnTgv.js} +1 -15
  248. package/dist/esm/{index-VyEjj_Gx.js → index-BAXTlrSC.js} +2 -2
  249. package/dist/esm/{intlTelInput-DE-bT5KJ.js → intlTelInput-BJlOPJYY.js} +1 -1
  250. package/dist/esm/loader.js +3 -3
  251. package/dist/esm/salla-accordion-body_2.entry.js +3 -3
  252. package/dist/esm/salla-accordion_6.entry.js +2 -2
  253. package/dist/esm/salla-add-product-button_5.entry.js +3 -3
  254. package/dist/esm/salla-advertisement.entry.js +1 -1
  255. package/dist/esm/salla-alert_2.entry.js +1 -1
  256. package/dist/esm/salla-app-install-alert.entry.js +1 -1
  257. package/dist/esm/salla-applied-filters.entry.js +1 -1
  258. package/dist/esm/salla-apps-icons.entry.js +1 -1
  259. package/dist/esm/salla-attachment-view_9.entry.js +17 -17
  260. package/dist/esm/salla-badge.entry.js +1 -1
  261. package/dist/esm/salla-basket-gap.entry.js +1 -1
  262. package/dist/esm/salla-bullet-delivery_3.entry.js +179 -187
  263. package/dist/esm/salla-cart-coupons.entry.js +160 -7
  264. package/dist/esm/salla-cart-item-offers_2.entry.js +2 -2
  265. package/dist/esm/salla-cart-summary-card.entry.js +1 -1
  266. package/dist/esm/salla-cashback-banner.entry.js +1 -1
  267. package/dist/esm/salla-comment-factors.entry.js +1 -1
  268. package/dist/esm/salla-comment-form_9.entry.js +4 -4
  269. package/dist/esm/salla-conditional-offer.entry.js +1 -1
  270. package/dist/esm/salla-contacts.entry.js +1 -1
  271. package/dist/esm/salla-cookies-bar.entry.js +1 -1
  272. package/dist/esm/salla-count-down.entry.js +2 -2
  273. package/dist/esm/salla-custom-fields.entry.js +1 -1
  274. package/dist/esm/salla-delivery-promise.entry.js +2 -2
  275. package/dist/esm/salla-edit-order-button.entry.js +1 -1
  276. package/dist/esm/salla-filters-widget.entry.js +3 -3
  277. package/dist/esm/salla-filters.entry.js +2 -2
  278. package/dist/esm/salla-fulfillment-methods.entry.js +1 -1
  279. package/dist/esm/salla-gift-card-redeem.entry.js +1 -1
  280. package/dist/esm/salla-gifting.entry.js +3 -3
  281. package/dist/esm/salla-hook.entry.js +2 -2
  282. package/dist/esm/salla-infinite-scroll.entry.js +1 -1
  283. package/dist/esm/salla-installment.entry.js +1 -1
  284. package/dist/esm/salla-list-tile.entry.js +2 -2
  285. package/dist/esm/salla-localization-modal.entry.js +2 -2
  286. package/dist/esm/salla-login-modal.entry.js +1 -1
  287. package/dist/esm/salla-loyalty-banner_10.entry.js +15 -15
  288. package/dist/esm/salla-loyalty-exchange-product-card.entry.js +3 -3
  289. package/dist/esm/salla-loyalty-points-banner.entry.js +1 -1
  290. package/dist/esm/salla-loyalty-points-history.entry.js +2 -2
  291. package/dist/esm/salla-loyalty-prize-item.entry.js +2 -2
  292. package/dist/esm/salla-loyalty.entry.js +1 -1
  293. package/dist/esm/salla-maintenance-alert.entry.js +2 -2
  294. package/dist/esm/salla-map_3.entry.js +4 -4
  295. package/dist/esm/salla-menu.entry.js +1 -1
  296. package/dist/esm/salla-metadata.entry.js +1 -1
  297. package/dist/esm/salla-multiple-bundle-product-cart_2.entry.js +4 -4
  298. package/dist/esm/salla-multiple-bundle-product-options-modal_2.entry.js +6 -6
  299. package/dist/esm/salla-multiple-bundle-product.entry.js +2 -2
  300. package/dist/esm/salla-next-order-coupon.entry.js +1 -1
  301. package/dist/esm/salla-notification-item_2.entry.js +2 -2
  302. package/dist/esm/salla-offer-modal.entry.js +2 -2
  303. package/dist/esm/salla-offer.entry.js +1 -1
  304. package/dist/esm/salla-order-branch.entry.js +1 -1
  305. package/dist/esm/salla-order-cancel.entry.js +1 -1
  306. package/dist/esm/salla-order-details-multiple-bundle-product.entry.js +1 -1
  307. package/dist/esm/salla-order-details-options.entry.js +1 -1
  308. package/dist/esm/salla-order-details.entry.js +2 -2
  309. package/dist/esm/salla-order-edit-item.entry.js +1 -1
  310. package/dist/esm/salla-order-edit-product-card.entry.js +2 -2
  311. package/dist/esm/salla-order-edit.entry.js +1 -1
  312. package/dist/esm/salla-order-options-modal.entry.js +1 -1
  313. package/dist/esm/salla-order-shipments.entry.js +1 -1
  314. package/dist/esm/salla-order-summary.entry.js +2 -2
  315. package/dist/esm/salla-order-totals-card.entry.js +1 -1
  316. package/dist/esm/salla-orders.entry.js +1 -1
  317. package/dist/esm/salla-payments.entry.js +3 -3
  318. package/dist/esm/salla-placeholder.entry.js +2 -2
  319. package/dist/esm/salla-price-range.entry.js +3 -3
  320. package/dist/esm/salla-product-card-embed.entry.js +2 -2
  321. package/dist/esm/salla-product-card.entry.js +6 -6
  322. package/dist/esm/salla-product-size-guide.entry.js +3 -3
  323. package/dist/esm/salla-products-list.entry.js +1 -1
  324. package/dist/esm/salla-products-slider.entry.js +1 -1
  325. package/dist/esm/salla-quick-order.entry.js +1 -1
  326. package/dist/esm/salla-rating-modal-v2.entry.js +1 -1
  327. package/dist/esm/salla-rating-modal.entry.js +1 -1
  328. package/dist/esm/salla-review-factors-tags.entry.js +2 -2
  329. package/dist/esm/salla-review-order-item.entry.js +1 -1
  330. package/dist/esm/salla-scopes.entry.js +1 -1
  331. package/dist/esm/salla-search-product-card.entry.js +3 -3
  332. package/dist/esm/salla-search.entry.js +1 -1
  333. package/dist/esm/salla-skeleton.entry.js +2 -2
  334. package/dist/esm/salla-social-share.entry.js +2 -2
  335. package/dist/esm/salla-social.entry.js +2 -2
  336. package/dist/esm/salla-tab-content_3.entry.js +4 -4
  337. package/dist/esm/salla-tiered-offer.entry.js +1 -1
  338. package/dist/esm/salla-tooltip.entry.js +2 -2
  339. package/dist/esm/salla-trust-badges.entry.js +1 -1
  340. package/dist/esm/salla-user-menu.entry.js +1 -1
  341. package/dist/esm/salla-user-profile.entry.js +1 -1
  342. package/dist/esm/salla-user-settings.entry.js +2 -2
  343. package/dist/esm/salla-verify.entry.js +1 -1
  344. package/dist/esm/salla-wallet.entry.js +1 -1
  345. package/dist/esm/salla-wishlist-actions.entry.js +2 -2
  346. package/dist/esm/salla-wishlist-summary.entry.js +1 -1
  347. package/dist/esm/twilight.js +3 -3
  348. package/dist/esm/{vanilla-picker-BVwvMAEs.js → vanilla-picker-C_cY41gl.js} +1 -1
  349. package/dist/twilight/{p-f7063e39.entry.js → p-00a727c3.entry.js} +1 -1
  350. package/dist/twilight/{p-0987a1bf.entry.js → p-0227316e.entry.js} +1 -1
  351. package/dist/twilight/{p-4bcf0187.entry.js → p-03c959bb.entry.js} +1 -1
  352. package/dist/twilight/{p-e2d0eb4c.entry.js → p-072ee78f.entry.js} +1 -1
  353. package/dist/twilight/{p-f291fd6b.entry.js → p-073e1363.entry.js} +1 -1
  354. package/dist/twilight/{p-cbaa45a4.entry.js → p-0806da7e.entry.js} +1 -1
  355. package/dist/twilight/{p-c6e6daf9.entry.js → p-08cedab0.entry.js} +1 -1
  356. package/dist/twilight/{p-f7f35e00.entry.js → p-0bcca7f8.entry.js} +1 -1
  357. package/dist/twilight/{p-565f021e.entry.js → p-10a68a21.entry.js} +1 -1
  358. package/dist/twilight/{p-d4466357.entry.js → p-13abf9ca.entry.js} +1 -1
  359. package/dist/twilight/{p-a4ba6008.entry.js → p-13c35685.entry.js} +1 -1
  360. package/dist/twilight/{p-63a287b4.entry.js → p-162fa48e.entry.js} +1 -1
  361. package/dist/twilight/{p-38f82c85.entry.js → p-1762fd86.entry.js} +1 -1
  362. package/dist/twilight/{p-a2bf4487.entry.js → p-18c41e9a.entry.js} +1 -1
  363. package/dist/twilight/{p-76843521.entry.js → p-1fbb0b22.entry.js} +1 -1
  364. package/dist/twilight/{p-d0445027.entry.js → p-1fd6a10e.entry.js} +1 -1
  365. package/dist/twilight/p-28cdaf6b.entry.js +4 -0
  366. package/dist/twilight/{p-15fd28e8.entry.js → p-292a0b4a.entry.js} +1 -1
  367. package/dist/twilight/{p-9eebb417.entry.js → p-2ba4956f.entry.js} +1 -1
  368. package/dist/twilight/{p-faa90387.entry.js → p-2c543420.entry.js} +1 -1
  369. package/dist/twilight/{p-d59a53f5.entry.js → p-2e3a56de.entry.js} +1 -1
  370. package/dist/twilight/p-2e4064eb.entry.js +4 -0
  371. package/dist/twilight/{p-4abd6abc.entry.js → p-3153f560.entry.js} +1 -1
  372. package/dist/twilight/{p-55469fd9.entry.js → p-3a3815a2.entry.js} +1 -1
  373. package/dist/twilight/{p-63af5354.entry.js → p-3cef6be2.entry.js} +1 -1
  374. package/dist/twilight/{p-bc1251f6.entry.js → p-3dd612a6.entry.js} +1 -1
  375. package/dist/twilight/{p-95494a3d.entry.js → p-411c1ab0.entry.js} +1 -1
  376. package/dist/twilight/p-423d852d.entry.js +4 -0
  377. package/dist/twilight/{p-d5d8230d.entry.js → p-44a6598e.entry.js} +1 -1
  378. package/dist/twilight/{p-f889b4d2.entry.js → p-51d83216.entry.js} +1 -1
  379. package/dist/twilight/{p-354f6595.entry.js → p-51fb8841.entry.js} +1 -1
  380. package/dist/twilight/{p-82186e1c.entry.js → p-56609a91.entry.js} +1 -1
  381. package/dist/twilight/{p-f265b4ea.entry.js → p-58c1bf51.entry.js} +1 -1
  382. package/dist/twilight/{p-10da5fab.entry.js → p-59a7ca2e.entry.js} +1 -1
  383. package/dist/twilight/{p-c032ca19.entry.js → p-5a77257c.entry.js} +1 -1
  384. package/dist/twilight/{p-c1f9932b.entry.js → p-5c4e2ed3.entry.js} +1 -1
  385. package/dist/twilight/{p-2438d7e1.entry.js → p-5f464161.entry.js} +1 -1
  386. package/dist/twilight/{p-58398f44.entry.js → p-637670fa.entry.js} +1 -1
  387. package/dist/twilight/{p-80cf8042.entry.js → p-6605f258.entry.js} +1 -1
  388. package/dist/twilight/{p-ca7cd467.entry.js → p-665bc308.entry.js} +1 -1
  389. package/dist/twilight/{p-55afe19f.entry.js → p-6bfe12d5.entry.js} +1 -1
  390. package/dist/twilight/{p-b06b0973.entry.js → p-6de608eb.entry.js} +1 -1
  391. package/dist/twilight/{p-a291f319.entry.js → p-6f9bc285.entry.js} +1 -1
  392. package/dist/twilight/{p-85d5c0b6.entry.js → p-70451662.entry.js} +1 -1
  393. package/dist/twilight/{p-9417b38b.entry.js → p-7b0cf8a1.entry.js} +1 -1
  394. package/dist/twilight/{p-b35956cc.entry.js → p-7d08dcfb.entry.js} +1 -1
  395. package/dist/twilight/{p-ec378cee.entry.js → p-7d37b650.entry.js} +1 -1
  396. package/dist/twilight/{p-7d4c9e95.entry.js → p-7f3e110c.entry.js} +1 -1
  397. package/dist/twilight/{p-ceae3b17.entry.js → p-80302c52.entry.js} +1 -1
  398. package/dist/twilight/{p-47ddfc87.entry.js → p-806083b4.entry.js} +1 -1
  399. package/dist/twilight/{p-bb2c9ac9.entry.js → p-84cff600.entry.js} +1 -1
  400. package/dist/twilight/{p-66be47ec.entry.js → p-884104a3.entry.js} +1 -1
  401. package/dist/twilight/{p-140bf9e1.entry.js → p-898ce93b.entry.js} +1 -1
  402. package/dist/twilight/{p-90033ecc.entry.js → p-8a865d37.entry.js} +1 -1
  403. package/dist/twilight/{p-08bcc8c6.entry.js → p-8c750736.entry.js} +1 -1
  404. package/dist/twilight/{p-6c4d3288.entry.js → p-8fc2eb01.entry.js} +1 -1
  405. package/dist/twilight/{p-02df3435.entry.js → p-97fee81d.entry.js} +1 -1
  406. package/dist/twilight/{p-c95f4657.entry.js → p-9920bbad.entry.js} +1 -1
  407. package/dist/twilight/{p-237ee8db.entry.js → p-99b9bf66.entry.js} +1 -1
  408. package/dist/twilight/{p-dcba291c.entry.js → p-9b4a0dd3.entry.js} +1 -1
  409. package/dist/twilight/{p-b7e14e40.entry.js → p-9e054110.entry.js} +1 -1
  410. package/dist/twilight/{p-VyEjj_Gx.js → p-BAXTlrSC.js} +1 -1
  411. package/dist/twilight/p-BJxBnTgv.js +4 -0
  412. package/dist/twilight/{p-MofCSty6.js → p-BWpg3MwW.js} +1 -1
  413. package/dist/twilight/{p-CVE_4GIW.js → p-C6WaobtY.js} +1 -1
  414. package/dist/twilight/p-CvebbG3m.js +9 -0
  415. package/dist/twilight/{p-k8NfWBBa.js → p-D5lNzFgl.js} +1 -1
  416. package/dist/twilight/{p-Dht_HSXg.js → p-DGzNHmGp.js} +2 -2
  417. package/dist/twilight/{p-XWoqFS1d.js → p-DnrvXyI6.js} +1 -1
  418. package/dist/twilight/{p-BqBflUu5.js → p-DpI1J-G1.js} +1 -1
  419. package/dist/twilight/{p-DtngMbK9.js → p-SguJQlDo.js} +1 -1
  420. package/dist/twilight/{p-BZQPZ7Vk.js → p-_f6GlygH.js} +1 -1
  421. package/dist/twilight/{p-22efe055.entry.js → p-a2d07dba.entry.js} +1 -1
  422. package/dist/twilight/{p-a5dc1d5e.entry.js → p-a73a785d.entry.js} +1 -1
  423. package/dist/twilight/{p-b930b2ba.entry.js → p-a79c04a2.entry.js} +1 -1
  424. package/dist/twilight/{p-9df6ef40.entry.js → p-a9fcdac5.entry.js} +1 -1
  425. package/dist/twilight/{p-a185519a.entry.js → p-ab3ad37f.entry.js} +1 -1
  426. package/dist/twilight/{p-12bcfd57.entry.js → p-abc3e5d5.entry.js} +1 -1
  427. package/dist/twilight/{p-e6803d06.entry.js → p-b356f3f6.entry.js} +1 -1
  428. package/dist/twilight/{p-c593919c.entry.js → p-b55fb51b.entry.js} +1 -1
  429. package/dist/twilight/{p-1b2ce7bb.entry.js → p-bb35af04.entry.js} +1 -1
  430. package/dist/twilight/{p-f12fc91c.entry.js → p-bf845ea7.entry.js} +1 -1
  431. package/dist/twilight/{p-19c39465.entry.js → p-c2e871ae.entry.js} +1 -1
  432. package/dist/twilight/{p-9a0ad6b4.entry.js → p-c38fb150.entry.js} +1 -1
  433. package/dist/twilight/{p-b9e85434.entry.js → p-c63ff8ef.entry.js} +1 -1
  434. package/dist/twilight/{p-724be00d.entry.js → p-c90600b1.entry.js} +1 -1
  435. package/dist/twilight/{p-b3a36e11.entry.js → p-cc1b3318.entry.js} +1 -1
  436. package/dist/twilight/{p-a990b069.entry.js → p-ce1d3ad9.entry.js} +1 -1
  437. package/dist/twilight/{p-9f485845.entry.js → p-ce80fb8f.entry.js} +1 -1
  438. package/dist/twilight/{p-88918b1b.entry.js → p-d3556d1f.entry.js} +1 -1
  439. package/dist/twilight/{p-85a81ddd.entry.js → p-d3cf9f8a.entry.js} +1 -1
  440. package/dist/twilight/{p-f1d0d4da.entry.js → p-dd18ac5c.entry.js} +1 -1
  441. package/dist/twilight/p-dda4d231.entry.js +4 -0
  442. package/dist/twilight/{p-7ef406e5.entry.js → p-e0d834a7.entry.js} +1 -1
  443. package/dist/twilight/{p-09ab0b69.entry.js → p-e4ff7a77.entry.js} +1 -1
  444. package/dist/twilight/{p-2d43aaae.entry.js → p-e66856c5.entry.js} +1 -1
  445. package/dist/twilight/{p-bb83242c.entry.js → p-e7c4d4cc.entry.js} +1 -1
  446. package/dist/twilight/{p-70577d8b.entry.js → p-e944f02a.entry.js} +1 -1
  447. package/dist/twilight/{p-915965eb.entry.js → p-e95fd91e.entry.js} +1 -1
  448. package/dist/twilight/{p-6d46f977.entry.js → p-ea7846fd.entry.js} +1 -1
  449. package/dist/twilight/{p-29bc507d.entry.js → p-f0ca37fc.entry.js} +1 -1
  450. package/dist/twilight/{p-2aa87b3c.entry.js → p-f2e13d28.entry.js} +1 -1
  451. package/dist/twilight/{p-370939c2.entry.js → p-f514b9f5.entry.js} +1 -1
  452. package/dist/twilight/p-fa6f2b27.entry.js +4 -0
  453. package/dist/twilight/{p-a8f4fa9e.entry.js → p-faadae59.entry.js} +1 -1
  454. package/dist/twilight/{p-7f38bccf.entry.js → p-fc500047.entry.js} +1 -1
  455. package/dist/twilight/p-fdc97278.entry.js +4 -0
  456. package/dist/twilight/twilight.esm.js +1 -1
  457. package/dist/types/components/salla-bullet-delivery/interfaces.d.ts +6 -0
  458. package/dist/types/components/salla-bullet-delivery/salla-bullet-delivery.d.ts +25 -12
  459. package/dist/types/components/salla-cart-coupons/interfaces.d.ts +20 -0
  460. package/dist/types/components/salla-cart-coupons/salla-cart-coupons.d.ts +49 -1
  461. package/dist/types/components.d.ts +2 -2
  462. package/package.json +5 -5
  463. package/dist/twilight/p-26105855.entry.js +0 -4
  464. package/dist/twilight/p-4198d092.entry.js +0 -4
  465. package/dist/twilight/p-BB5KMFvk.js +0 -9
  466. package/dist/twilight/p-CV6uPJEJ.js +0 -4
  467. package/dist/twilight/p-c63be3cf.entry.js +0 -4
  468. package/dist/twilight/p-d6c4c0f7.entry.js +0 -4
  469. package/dist/twilight/p-f059fb37.entry.js +0 -4
  470. package/dist/twilight/p-fe8cb1d6.entry.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * Crafted with ❤ by Salla
3
3
  */
4
- import{r as a,h as e,a as i}from"./p-VyEjj_Gx.js";const l=class{constructor(e){a(this,e),this.languageNames={ar:"العربية",en:"English",sq:"shqip",hy:"հայերէն",bg:"български",zh:"汉语",hr:"hrvatski",cs:"čeština",da:"dansk",nl:"dutch",et:"eesti keel",fi:"suomen kieli",fr:"Français",de:"Deutsch",el:"Ελληνικά",hi:"हिन्दी",hu:"magyar",ind:"bahasa Indonesia",ga:"Gaeilge",it:"Italiano",ja:"日本語",ko:"한국어",lv:"latviešu",mt:"Maltese",fa:"فارسی",pl:"Polish",pt:"português",ro:"română",ru:"русский",sl:"slovenščina",es:"Español",sv:"svenska",tl:"Tagalog (Filipino)",tr:"Türkçe",uk:"украї́нська",ur:"اُردُو",ms:"Bahasa Malaysia"},this.currenciesList={SAR:{en:"Saudi Riyal",ar:"ريال سعودي",symbol:"ر.س"},USD:{en:"US Dollar",ar:"دولار أمريكي",symbol:"$"},EUR:{en:"Euro",ar:"يورو",symbol:"€"},AED:{en:"UAE Dirham",ar:"درهم اماراتي",symbol:"د.إ"},KWD:{en:"Kuwaiti Dinar",ar:"دينار كويتي",symbol:"د.ك"},BHD:{en:"Bahraini Dinar",ar:"دينار بحريني",symbol:"د.ب"},QAR:{en:"Qatari Riyal",ar:"ريال قطري",symbol:"ر.ق"},OMR:{en:"Omani Rial",ar:"ريال عماني",symbol:"ر.ع"},AUD:{en:"Australian Dollar",ar:"دولار استرالي",symbol:"$"},CAD:{en:"Canadian Dollar",ar:"دولار كندي",symbol:"$"},CNY:{en:"Renminbi",ar:"رنمينبي",symbol:"¥"},EGP:{en:"Egyptian Pound",ar:"جنيه مصري",symbol:"ج.م"},GBP:{en:"Pound Sterling",ar:"جنيه استرليني",symbol:"£"},IDR:{en:"Indonesian Rupiah",ar:"روبية إندونيسية",symbol:"Rp"},INR:{en:"Indian Rupee",ar:"روبية هندية",symbol:"₹"},JPY:{en:"Japanese Yen",ar:"ين ياباني",symbol:"¥"},MYR:{en:"Malaysian Ringgit",ar:"رينغيت ماليزي",symbol:"RM"},PKR:{en:"Pakistani Rupee",ar:"روبية باكستانية",symbol:"Rs."},SEK:{en:"Swedish Krona",ar:"كرونة سويدية",symbol:"kr"},SGD:{en:"Singapore Dollar",ar:"دولار سنغافوري",symbol:"$"},TRY:{en:"Turkish Lira",ar:"ليرة تركية",symbol:"₺"},IQD:{en:"Iraqi Dinar",ar:"دينار عراقي",symbol:"د.ع"},LBP:{en:"Lebanese Pound",ar:"ليرة لبنانية",symbol:"ل.ل"},MRO:{en:"Mauritanian Ouguiya",ar:"أوقية موريتانية",symbol:"UM"},SDG:{en:"Sudanese Pound",ar:"جنيه سوداني",symbol:"SDG"},SYP:{en:"Syrian Pound",ar:"ليرة سورية",symbol:"ل.س"},TND:{en:"Tunisian Dinar",ar:"دينار تونسي",symbol:"د.ت"},JOD:{en:"Jordanian Dinar",ar:"دينار أردني",symbol:"JOD"},DZD:{en:"Algerian Dinar",ar:"دينار جزائري",symbol:"دج"},MAD:{en:"Moroccan Dirham",ar:"درهم مغربي",symbol:"د.م."},LYD:{en:"Libyan Dinar",ar:"دينار ليبي",symbol:"LD"},YER:{en:"Yemeni Riyal",ar:"ريال يمني",symbol:"ر.ي"},ILS:{en:"New Shekel",ar:"شيكل جديد",symbol:"₪"}},this.arabicCurrencies=["SAR","AED","KWD","BHD","QAR","OMR","EGP","IQD","LBP","SYP","TND","DZD","MAD","YER"],this.languages=[],this.currencies=[],this.hasError=!1,this.showTrigger=!1,this.languageSlot=this.host.querySelector('[slot="language"]')?.innerHTML||'<label class="s-localization-modal-label" for="lang-{code}"><span>{name}</span></label>',this.currencySlot=this.host.querySelector('[slot="currency"]')?.innerHTML||'<label class="s-localization-modal-label" for="currency-{code}"><span>{name}</span><small class="s-localization-modal-currency">{symbol}</small></label>'}async componentWillLoad(){await Salla.onReady(),await Salla.lang.onLoaded(),Salla.event.on("localization::open",(()=>this.open())),Salla.event.on("currency::open",(()=>this.openUnlessNative())),Salla.event.on("language::open",(()=>this.openUnlessNative())),this.language||(this.language=Salla.config.get("user.language_code")),this.currency||(this.currency=Salla.config.get("user.currency_code")),Salla.api.withoutNotifier((()=>this.getCurrencies())).catch((()=>null))}openUnlessNative(){Salla.config.isMobileApp()||this.open()}async open(){return this.modal.open(),await Salla.api.withoutNotifier((()=>this.getLanguages())).then((()=>this.getCurrencies())).then((()=>{this.languages.length<2&&this.currencies.length<2&&this.modal.close()})).catch((a=>{console.log(a),this.hasError=!0,this.errorMessage=a.response?.data?.error?.message||a.response?.data})).finally((()=>this.modal.stopLoading()))}async close(){return this.modal.close()}getCurrency(a){const e=a||this.currency;if(this.currenciesList[e])return this.currenciesList[e];const i=this.currencies.find((a=>a.code===e));if(i){const a=this.escapeHtml(String(i.name||e));return{en:a,ar:a,symbol:this.escapeHtml(String((i.symbol||"").trim()||e))}}return{en:"Saudi Riyal",ar:"ريال سعودي",symbol:"ر.س"}}getLanguageName(){return this.languageNames[this.language]||this.language||""}getCurrencySymbol(a){return"SAR"===(a=a||this.currency)?'<i class="sicon-sar"></i>':"ar"!==this.language&&this.arabicCurrencies.includes(a)?a:this.getCurrency(a).symbol}getCurrencyName(a){return"ar"===this.language?this.getCurrency(a).ar:this.getCurrency(a).en}escapeHtml(a){return a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}async getLanguages(){return this.languages.length>1?null:await Salla.config.languages().then((a=>this.languages=a))}async getCurrencies(){return this.currencies.length>1?null:await Salla.config.currencies().then((a=>this.currencies=Object.values(a||{})))}onChangeCurrency(a){this.currency=a.target.value}onChangeLanguage(a){this.language=a.target.value}async submit(){let a;this.btn.load().then((()=>{if(this.currency){if(this.currency!==Salla.config.get("user.currency_code","SAR"))return a=window.location.href,Salla.currency.api.change(this.currency)}else Salla.log("There is no currency!")})).then((()=>{this.language!==Salla.config.get("user.language_code","ar")&&(a=Salla.helpers.addParamToUrl("lang",this.language))})).then((()=>{Salla.cookie.set("s-lang",this.language),Salla.cookie.set("s-curr",this.currency)})).then((()=>this.btn.stop())).then((()=>this.close())).then((()=>{a&&(window.location.href=a.replace(`/${Salla.config.get("user.language_code")}/`,`/${this.language}/`))}))}render(){return[this.showTrigger?e("button",{type:"button",onClick:()=>this.open(),class:"s-localization-modal-trigger-btn"},e("span",null,this.getLanguageName()),e("span",{class:"s-localization-modal-trigger-separator"},"|")," ",e("span",{innerHTML:this.getCurrencySymbol()})):"",e("salla-modal",{key:"a0918db3935959e8317651b254ff85435bf0fea5",isLoading:!0,class:"s-hidden",ref:a=>this.modal=a,width:"xs"},e("div",{key:"d1a35e23c564ea2caee46c386188d7ef64ff54c8",slot:"loading"},e("div",{key:"9ca0533b73f1cd11f9101232b6faee1971f9f741",class:"s-localization-modal-skeleton"},e("salla-skeleton",{key:"03ee2d71e09d2f5d8714932309c1af1788feda8e",width:"25%",height:"15px"}),e("div",{key:"0595dd8f7cb572d12a7a2e61ac806d2588810b37",class:"s-localization-modal-skeleton-content"},[...Array(4)].map((()=>e("div",{class:"s-localization-modal-skeleton-item"},e("div",{class:"s-localization-modal-skeleton-item-flex"},e("salla-skeleton",{type:"circle",height:"16px",width:"16px"}),e("salla-skeleton",{height:"10px",width:"100px"})),e("salla-skeleton",{height:"15px",width:"20px"}))))),e("salla-skeleton",{key:"56760a616f68588b2d9de3557e9c0c7085ba1956",width:"25%",height:"15px"}),e("div",{key:"f6e6c362b14c4d3087a1675d50e3714fe40ce89e",class:"s-localization-modal-skeleton-content"},[...Array(4)].map((()=>e("div",{class:"s-localization-modal-skeleton-item"},e("div",{class:"s-localization-modal-skeleton-item-flex"},e("salla-skeleton",{type:"circle",height:"16px",width:"16px"}),e("salla-skeleton",{height:"10px",width:"100px"})),e("salla-skeleton",{height:"15px",width:"20px"}))))),e("salla-skeleton",{key:"8c563227cad9ce3bc28727fe5db4fda223c0abd3",height:"40px",width:"100%"}))),this.hasError?e("salla-placeholder",{alignment:"center"},e("span",{slot:"description"},this.errorMessage)):e("div",{class:"s-localization-modal-inner"},this.languages.length>1?e("div",{class:"s-localization-modal-section"},e("label",{class:"s-localization-modal-title"},Salla.lang.get("common.titles.language")),e("div",{class:"s-localization-modal-section-inner"},this.languages.length<6?this.languages.map((a=>e("div",{class:"s-localization-modal-item"},e("input",{class:"s-localization-modal-input",type:"radio",checked:this.language==a.iso_code,onChange:()=>this.language=a.iso_code,name:"language",id:"lang-"+a.code.toLowerCase(),value:a.code}),e("div",{class:"s-localization-modal-label-slot",id:"language-slot",innerHTML:this.languageSlot.replace(/\{name\}/g,a.name).replace(/\{code\}/g,a.code).replace(/\{country_code\}/g,a.country_code)})))):e("select",{class:"s-localization-modal-select",name:"language",onChange:a=>this.onChangeLanguage(a)},this.languages.map((a=>e("option",{value:a.code,selected:this.language==a.code},a.name)))))):"",this.currencies.length>1?e("div",{class:"s-localization-modal-section"},e("label",{class:"s-localization-modal-title"},Salla.lang.get("common.titles.currency")),e("div",{class:"s-localization-modal-section-inner"},this.currencies.length<6?this.currencies.map((a=>e("div",{class:"s-localization-modal-item"},e("input",{class:"s-localization-modal-input",type:"radio",name:"currency",checked:this.currency==a.code,onChange:()=>this.currency=a.code,id:"currency-"+a.code,value:a.code}),e("div",{class:"s-localization-modal-label-slot",id:"currency-slot",innerHTML:this.currencySlot.replace(/\{name\}/g,this.getCurrencyName(a.code)).replace(/\{code\}/g,a.code).replace(/\{symbol\}/g,this.getCurrencySymbol(a.code)).replace(/\{country_code\}/g,a.country_code)})))):e("select",{class:"s-localization-modal-select",name:"currency",onChange:a=>this.onChangeCurrency(a)},this.currencies.map((a=>e("option",{value:a.code,selected:this.currency==a.code},a.name)))))):"",e("salla-button",{width:"wide",ref:a=>this.btn=a,onClick:()=>this.submit()},Salla.lang.get("common.elements.ok"))))]}componentDidRender(){this.host.querySelectorAll("#currency-slot").forEach((a=>a.replaceWith(a.firstChild))),this.host.querySelectorAll("#language-slot").forEach((a=>a.replaceWith(a.firstChild)))}get host(){return i(this)}};l.style='/*!twlt*/.s-hidden{display:none}.btn{display:inline-flex;flex:1 1 0%;align-items:center;justify-content:center;white-space:nowrap;border-radius:0.375rem;padding-left:1.5rem;padding-right:1.5rem;padding-bottom:0.625rem;padding-top:0.5rem;font-size:0.875rem;line-height:1.25rem;font-weight:700;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}.btn:hover{opacity:0.8}.s-hidden{display:none}.s-localization-modal-trigger-btn{display:inline-flex;width:100%;flex-grow:0;flex-basis:0px;align-items:center;justify-content:center;white-space:nowrap;border-radius:9999px;background-color:rgb(229 231 235 / 0.5);padding-left:0.875rem;padding-right:0.875rem;padding-top:0.5rem;padding-bottom:0.5rem;font-size:0.875rem;line-height:1.25rem;font-weight:500;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.s-localization-modal-trigger-btn:hover{background-color:rgb(229 231 235 / 0.7)}.s-localization-modal-trigger-separator{margin-left:0.375rem;margin-right:0.375rem}.s-localization-modal-title{font-size:1rem;line-height:1.5rem;font-weight:500;--tw-text-opacity:1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.s-localization-modal-section{margin-bottom:2rem}.s-localization-modal-label-slot{flex-grow:1}.s-localization-modal-inner{width:100%}.s-localization-modal-section-inner{margin-top:1rem}.s-localization-modal-section-inner>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.s-localization-modal-item{display:flex;align-items:center}.s-localization-modal-input{height:1rem;width:1rem;--tw-border-opacity:1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1));color:var(--color-primary)}.s-localization-modal-input:focus{--tw-ring-color:var(--color-primary)}.s-localization-modal-label{display:flex;flex-grow:1;cursor:pointer;align-items:center;justify-content:space-between;font-weight:500;--tw-text-opacity:1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.s-localization-modal-label:where([dir="ltr"],[dir="ltr"] *){margin-left:0.75rem}.s-localization-modal-label:where([dir="rtl"],[dir="rtl"] *){margin-right:0.75rem}.s-localization-modal-flag{border-radius:0.125rem}.s-localization-modal-currency{--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.s-localization-modal-select{height:2.5rem;width:100%;appearance:none;border-radius:0.375rem;border-width:1px;--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));background-position:right;background-repeat:no-repeat;padding-left:1rem;padding-right:1rem;font-size:0.875rem;line-height:1.25rem;--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1));transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms}.s-localization-modal-select:focus{border-color:var(--color-primary)}.s-localization-modal-select:where([dir="rtl"],[dir="rtl"] *){background-position:left}.s-localization-modal-skeleton-content{margin-top:2rem;margin-bottom:2rem;display:flex;flex-direction:column}.s-localization-modal-skeleton-content>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.s-localization-modal-skeleton-item{display:flex;align-items:center;justify-content:space-between}.s-localization-modal-skeleton-item-flex{display:flex;align-items:center}.s-localization-modal-skeleton-item-flex salla-skeleton:nth-child(1){margin-right:0.75rem}.s-localization-modal-skeleton-item-flex salla-skeleton:nth-child(1):where([dir="rtl"],[dir="rtl"] *){margin-right:0px;margin-left:0.75rem}';export{l as salla_localization_modal}
4
+ import{r as a,h as e,a as i}from"./p-BAXTlrSC.js";const l=class{constructor(e){a(this,e),this.languageNames={ar:"العربية",en:"English",sq:"shqip",hy:"հայերէն",bg:"български",zh:"汉语",hr:"hrvatski",cs:"čeština",da:"dansk",nl:"dutch",et:"eesti keel",fi:"suomen kieli",fr:"Français",de:"Deutsch",el:"Ελληνικά",hi:"हिन्दी",hu:"magyar",ind:"bahasa Indonesia",ga:"Gaeilge",it:"Italiano",ja:"日本語",ko:"한국어",lv:"latviešu",mt:"Maltese",fa:"فارسی",pl:"Polish",pt:"português",ro:"română",ru:"русский",sl:"slovenščina",es:"Español",sv:"svenska",tl:"Tagalog (Filipino)",tr:"Türkçe",uk:"украї́нська",ur:"اُردُو",ms:"Bahasa Malaysia"},this.currenciesList={SAR:{en:"Saudi Riyal",ar:"ريال سعودي",symbol:"ر.س"},USD:{en:"US Dollar",ar:"دولار أمريكي",symbol:"$"},EUR:{en:"Euro",ar:"يورو",symbol:"€"},AED:{en:"UAE Dirham",ar:"درهم اماراتي",symbol:"د.إ"},KWD:{en:"Kuwaiti Dinar",ar:"دينار كويتي",symbol:"د.ك"},BHD:{en:"Bahraini Dinar",ar:"دينار بحريني",symbol:"د.ب"},QAR:{en:"Qatari Riyal",ar:"ريال قطري",symbol:"ر.ق"},OMR:{en:"Omani Rial",ar:"ريال عماني",symbol:"ر.ع"},AUD:{en:"Australian Dollar",ar:"دولار استرالي",symbol:"$"},CAD:{en:"Canadian Dollar",ar:"دولار كندي",symbol:"$"},CNY:{en:"Renminbi",ar:"رنمينبي",symbol:"¥"},EGP:{en:"Egyptian Pound",ar:"جنيه مصري",symbol:"ج.م"},GBP:{en:"Pound Sterling",ar:"جنيه استرليني",symbol:"£"},IDR:{en:"Indonesian Rupiah",ar:"روبية إندونيسية",symbol:"Rp"},INR:{en:"Indian Rupee",ar:"روبية هندية",symbol:"₹"},JPY:{en:"Japanese Yen",ar:"ين ياباني",symbol:"¥"},MYR:{en:"Malaysian Ringgit",ar:"رينغيت ماليزي",symbol:"RM"},PKR:{en:"Pakistani Rupee",ar:"روبية باكستانية",symbol:"Rs."},SEK:{en:"Swedish Krona",ar:"كرونة سويدية",symbol:"kr"},SGD:{en:"Singapore Dollar",ar:"دولار سنغافوري",symbol:"$"},TRY:{en:"Turkish Lira",ar:"ليرة تركية",symbol:"₺"},IQD:{en:"Iraqi Dinar",ar:"دينار عراقي",symbol:"د.ع"},LBP:{en:"Lebanese Pound",ar:"ليرة لبنانية",symbol:"ل.ل"},MRO:{en:"Mauritanian Ouguiya",ar:"أوقية موريتانية",symbol:"UM"},SDG:{en:"Sudanese Pound",ar:"جنيه سوداني",symbol:"SDG"},SYP:{en:"Syrian Pound",ar:"ليرة سورية",symbol:"ل.س"},TND:{en:"Tunisian Dinar",ar:"دينار تونسي",symbol:"د.ت"},JOD:{en:"Jordanian Dinar",ar:"دينار أردني",symbol:"JOD"},DZD:{en:"Algerian Dinar",ar:"دينار جزائري",symbol:"دج"},MAD:{en:"Moroccan Dirham",ar:"درهم مغربي",symbol:"د.م."},LYD:{en:"Libyan Dinar",ar:"دينار ليبي",symbol:"LD"},YER:{en:"Yemeni Riyal",ar:"ريال يمني",symbol:"ر.ي"},ILS:{en:"New Shekel",ar:"شيكل جديد",symbol:"₪"}},this.arabicCurrencies=["SAR","AED","KWD","BHD","QAR","OMR","EGP","IQD","LBP","SYP","TND","DZD","MAD","YER"],this.languages=[],this.currencies=[],this.hasError=!1,this.showTrigger=!1,this.languageSlot=this.host.querySelector('[slot="language"]')?.innerHTML||'<label class="s-localization-modal-label" for="lang-{code}"><span>{name}</span></label>',this.currencySlot=this.host.querySelector('[slot="currency"]')?.innerHTML||'<label class="s-localization-modal-label" for="currency-{code}"><span>{name}</span><small class="s-localization-modal-currency">{symbol}</small></label>'}async componentWillLoad(){await Salla.onReady(),await Salla.lang.onLoaded(),Salla.event.on("localization::open",(()=>this.open())),Salla.event.on("currency::open",(()=>this.openUnlessNative())),Salla.event.on("language::open",(()=>this.openUnlessNative())),this.language||(this.language=Salla.config.get("user.language_code")),this.currency||(this.currency=Salla.config.get("user.currency_code")),Salla.api.withoutNotifier((()=>this.getCurrencies())).catch((()=>null))}openUnlessNative(){Salla.config.isMobileApp()||this.open()}async open(){return this.modal.open(),await Salla.api.withoutNotifier((()=>this.getLanguages())).then((()=>this.getCurrencies())).then((()=>{this.languages.length<2&&this.currencies.length<2&&this.modal.close()})).catch((a=>{console.log(a),this.hasError=!0,this.errorMessage=a.response?.data?.error?.message||a.response?.data})).finally((()=>this.modal.stopLoading()))}async close(){return this.modal.close()}getCurrency(a){const e=a||this.currency;if(this.currenciesList[e])return this.currenciesList[e];const i=this.currencies.find((a=>a.code===e));if(i){const a=this.escapeHtml(String(i.name||e));return{en:a,ar:a,symbol:this.escapeHtml(String((i.symbol||"").trim()||e))}}return{en:"Saudi Riyal",ar:"ريال سعودي",symbol:"ر.س"}}getLanguageName(){return this.languageNames[this.language]||this.language||""}getCurrencySymbol(a){return"SAR"===(a=a||this.currency)?'<i class="sicon-sar"></i>':"ar"!==this.language&&this.arabicCurrencies.includes(a)?a:this.getCurrency(a).symbol}getCurrencyName(a){return"ar"===this.language?this.getCurrency(a).ar:this.getCurrency(a).en}escapeHtml(a){return a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}async getLanguages(){return this.languages.length>1?null:await Salla.config.languages().then((a=>this.languages=a))}async getCurrencies(){return this.currencies.length>1?null:await Salla.config.currencies().then((a=>this.currencies=Object.values(a||{})))}onChangeCurrency(a){this.currency=a.target.value}onChangeLanguage(a){this.language=a.target.value}async submit(){let a;this.btn.load().then((()=>{if(this.currency){if(this.currency!==Salla.config.get("user.currency_code","SAR"))return a=window.location.href,Salla.currency.api.change(this.currency)}else Salla.log("There is no currency!")})).then((()=>{this.language!==Salla.config.get("user.language_code","ar")&&(a=Salla.helpers.addParamToUrl("lang",this.language))})).then((()=>{Salla.cookie.set("s-lang",this.language),Salla.cookie.set("s-curr",this.currency)})).then((()=>this.btn.stop())).then((()=>this.close())).then((()=>{a&&(window.location.href=a.replace(`/${Salla.config.get("user.language_code")}/`,`/${this.language}/`))}))}render(){return[this.showTrigger?e("button",{type:"button",onClick:()=>this.open(),class:"s-localization-modal-trigger-btn"},e("span",null,this.getLanguageName()),e("span",{class:"s-localization-modal-trigger-separator"},"|")," ",e("span",{innerHTML:this.getCurrencySymbol()})):"",e("salla-modal",{key:"1400a13aa9490e0f5f96259bea6bfcf3f98ee829",isLoading:!0,class:"s-hidden",ref:a=>this.modal=a,width:"xs"},e("div",{key:"b31041e8d245ce30f41d4221418856e886200848",slot:"loading"},e("div",{key:"5531d672f7c5e8fb8a6b06fa5ae5328f4efcf3fe",class:"s-localization-modal-skeleton"},e("salla-skeleton",{key:"61b8fa69733a4e970e1f72ef5b09e773781e45ae",width:"25%",height:"15px"}),e("div",{key:"20dd0f3444f0a6e05730266bf964b74f307e9aab",class:"s-localization-modal-skeleton-content"},[...Array(4)].map((()=>e("div",{class:"s-localization-modal-skeleton-item"},e("div",{class:"s-localization-modal-skeleton-item-flex"},e("salla-skeleton",{type:"circle",height:"16px",width:"16px"}),e("salla-skeleton",{height:"10px",width:"100px"})),e("salla-skeleton",{height:"15px",width:"20px"}))))),e("salla-skeleton",{key:"5b8b4b760f741e0cd56c07ff341205e9ec7fe4d3",width:"25%",height:"15px"}),e("div",{key:"0a3f5dbfca2d6cd81effef5d873e03c9aef57d0b",class:"s-localization-modal-skeleton-content"},[...Array(4)].map((()=>e("div",{class:"s-localization-modal-skeleton-item"},e("div",{class:"s-localization-modal-skeleton-item-flex"},e("salla-skeleton",{type:"circle",height:"16px",width:"16px"}),e("salla-skeleton",{height:"10px",width:"100px"})),e("salla-skeleton",{height:"15px",width:"20px"}))))),e("salla-skeleton",{key:"b068f327b3335b3f9154ac20f7f6de95864dde9a",height:"40px",width:"100%"}))),this.hasError?e("salla-placeholder",{alignment:"center"},e("span",{slot:"description"},this.errorMessage)):e("div",{class:"s-localization-modal-inner"},this.languages.length>1?e("div",{class:"s-localization-modal-section"},e("label",{class:"s-localization-modal-title"},Salla.lang.get("common.titles.language")),e("div",{class:"s-localization-modal-section-inner"},this.languages.length<6?this.languages.map((a=>e("div",{class:"s-localization-modal-item"},e("input",{class:"s-localization-modal-input",type:"radio",checked:this.language==a.iso_code,onChange:()=>this.language=a.iso_code,name:"language",id:"lang-"+a.code.toLowerCase(),value:a.code}),e("div",{class:"s-localization-modal-label-slot",id:"language-slot",innerHTML:this.languageSlot.replace(/\{name\}/g,a.name).replace(/\{code\}/g,a.code).replace(/\{country_code\}/g,a.country_code)})))):e("select",{class:"s-localization-modal-select",name:"language",onChange:a=>this.onChangeLanguage(a)},this.languages.map((a=>e("option",{value:a.code,selected:this.language==a.code},a.name)))))):"",this.currencies.length>1?e("div",{class:"s-localization-modal-section"},e("label",{class:"s-localization-modal-title"},Salla.lang.get("common.titles.currency")),e("div",{class:"s-localization-modal-section-inner"},this.currencies.length<6?this.currencies.map((a=>e("div",{class:"s-localization-modal-item"},e("input",{class:"s-localization-modal-input",type:"radio",name:"currency",checked:this.currency==a.code,onChange:()=>this.currency=a.code,id:"currency-"+a.code,value:a.code}),e("div",{class:"s-localization-modal-label-slot",id:"currency-slot",innerHTML:this.currencySlot.replace(/\{name\}/g,this.getCurrencyName(a.code)).replace(/\{code\}/g,a.code).replace(/\{symbol\}/g,this.getCurrencySymbol(a.code)).replace(/\{country_code\}/g,a.country_code)})))):e("select",{class:"s-localization-modal-select",name:"currency",onChange:a=>this.onChangeCurrency(a)},this.currencies.map((a=>e("option",{value:a.code,selected:this.currency==a.code},a.name)))))):"",e("salla-button",{width:"wide",ref:a=>this.btn=a,onClick:()=>this.submit()},Salla.lang.get("common.elements.ok"))))]}componentDidRender(){this.host.querySelectorAll("#currency-slot").forEach((a=>a.replaceWith(a.firstChild))),this.host.querySelectorAll("#language-slot").forEach((a=>a.replaceWith(a.firstChild)))}get host(){return i(this)}};l.style='/*!twlt*/.s-hidden{display:none}.btn{display:inline-flex;flex:1 1 0%;align-items:center;justify-content:center;white-space:nowrap;border-radius:0.375rem;padding-left:1.5rem;padding-right:1.5rem;padding-bottom:0.625rem;padding-top:0.5rem;font-size:0.875rem;line-height:1.25rem;font-weight:700;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}.btn:hover{opacity:0.8}.s-hidden{display:none}.s-localization-modal-trigger-btn{display:inline-flex;width:100%;flex-grow:0;flex-basis:0px;align-items:center;justify-content:center;white-space:nowrap;border-radius:9999px;background-color:rgb(229 231 235 / 0.5);padding-left:0.875rem;padding-right:0.875rem;padding-top:0.5rem;padding-bottom:0.5rem;font-size:0.875rem;line-height:1.25rem;font-weight:500;transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.s-localization-modal-trigger-btn:hover{background-color:rgb(229 231 235 / 0.7)}.s-localization-modal-trigger-separator{margin-left:0.375rem;margin-right:0.375rem}.s-localization-modal-title{font-size:1rem;line-height:1.5rem;font-weight:500;--tw-text-opacity:1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.s-localization-modal-section{margin-bottom:2rem}.s-localization-modal-label-slot{flex-grow:1}.s-localization-modal-inner{width:100%}.s-localization-modal-section-inner{margin-top:1rem}.s-localization-modal-section-inner>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.s-localization-modal-item{display:flex;align-items:center}.s-localization-modal-input{height:1rem;width:1rem;--tw-border-opacity:1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1));color:var(--color-primary)}.s-localization-modal-input:focus{--tw-ring-color:var(--color-primary)}.s-localization-modal-label{display:flex;flex-grow:1;cursor:pointer;align-items:center;justify-content:space-between;font-weight:500;--tw-text-opacity:1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.s-localization-modal-label:where([dir="ltr"],[dir="ltr"] *){margin-left:0.75rem}.s-localization-modal-label:where([dir="rtl"],[dir="rtl"] *){margin-right:0.75rem}.s-localization-modal-flag{border-radius:0.125rem}.s-localization-modal-currency{--tw-text-opacity:1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.s-localization-modal-select{height:2.5rem;width:100%;appearance:none;border-radius:0.375rem;border-width:1px;--tw-border-opacity:1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1));background-position:right;background-repeat:no-repeat;padding-left:1rem;padding-right:1rem;font-size:0.875rem;line-height:1.25rem;--tw-text-opacity:1;color:rgb(107 114 128 / var(--tw-text-opacity, 1));transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms}.s-localization-modal-select:focus{border-color:var(--color-primary)}.s-localization-modal-select:where([dir="rtl"],[dir="rtl"] *){background-position:left}.s-localization-modal-skeleton-content{margin-top:2rem;margin-bottom:2rem;display:flex;flex-direction:column}.s-localization-modal-skeleton-content>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.s-localization-modal-skeleton-item{display:flex;align-items:center;justify-content:space-between}.s-localization-modal-skeleton-item-flex{display:flex;align-items:center}.s-localization-modal-skeleton-item-flex salla-skeleton:nth-child(1){margin-right:0.75rem}.s-localization-modal-skeleton-item-flex salla-skeleton:nth-child(1):where([dir="rtl"],[dir="rtl"] *){margin-right:0px;margin-left:0.75rem}';export{l as salla_localization_modal}