@ozdao/martyrs 0.2.527 → 0.2.528

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 (290) hide show
  1. package/dist/builder.cjs +4 -4
  2. package/dist/builder.js +4 -4
  3. package/dist/{main-DFvn9trs.js → main-40cyU_8J.js} +361 -355
  4. package/dist/{main-BNqX4N59.cjs → main-sq8skoQM.cjs} +4 -4
  5. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs → Dropdown.vue2.cjs} +2 -2
  6. package/dist/martyrs/src/components/Dropdown/Dropdown.vue2.cjs.map +1 -0
  7. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.js → Dropdown.vue2.js} +2 -2
  8. package/dist/martyrs/src/components/Dropdown/{Dropdown.vue.cjs.map → Dropdown.vue2.js.map} +1 -1
  9. package/dist/martyrs/src/components/Feed/{Feed.vue2.cjs → Feed.vue.cjs} +3 -3
  10. package/dist/martyrs/src/components/Feed/{Feed.vue2.js.map → Feed.vue.cjs.map} +1 -1
  11. package/dist/martyrs/src/components/Feed/{Feed.vue2.js → Feed.vue.js} +3 -3
  12. package/dist/martyrs/src/components/Feed/Feed.vue.js.map +1 -0
  13. package/dist/martyrs/src/components/Field/{Field.vue2.cjs → Field.vue.cjs} +2 -2
  14. package/dist/martyrs/src/components/Field/{Field.vue2.js.map → Field.vue.cjs.map} +1 -1
  15. package/dist/martyrs/src/components/Field/{Field.vue2.js → Field.vue.js} +2 -2
  16. package/dist/martyrs/src/components/Field/Field.vue.js.map +1 -0
  17. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  18. package/dist/martyrs/src/components/FieldBig/FieldBig.vue.js +1 -1
  19. package/dist/martyrs/src/components/FieldTags/{BlockTags.vue2.cjs → BlockTags.vue.cjs} +2 -2
  20. package/dist/martyrs/src/components/FieldTags/{BlockTags.vue2.js.map → BlockTags.vue.cjs.map} +1 -1
  21. package/dist/martyrs/src/components/FieldTags/{BlockTags.vue2.js → BlockTags.vue.js} +2 -2
  22. package/dist/martyrs/src/components/FieldTags/BlockTags.vue.js.map +1 -0
  23. package/dist/martyrs/src/components/Media/Media.vue.cjs +20 -3
  24. package/dist/martyrs/src/components/Media/Media.vue.cjs.map +1 -1
  25. package/dist/martyrs/src/components/Media/Media.vue.js +20 -3
  26. package/dist/martyrs/src/components/Media/Media.vue.js.map +1 -1
  27. package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
  28. package/dist/martyrs/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
  29. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
  30. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
  31. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
  32. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  33. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +2 -2
  34. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +2 -2
  35. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.cjs +1 -1
  36. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileBlogposts.vue.js +1 -1
  37. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +1 -1
  38. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +1 -1
  39. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +11 -7
  40. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs.map +1 -1
  41. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +14 -10
  42. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js.map +1 -1
  43. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +12 -9
  44. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +1 -1
  45. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +17 -14
  46. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
  47. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +12 -8
  48. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs.map +1 -1
  49. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +15 -11
  50. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js.map +1 -1
  51. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +1 -1
  52. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
  53. package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  54. package/dist/martyrs/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  55. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  56. package/dist/martyrs/src/modules/community/components/layouts/Community.vue.js +1 -1
  57. package/dist/martyrs/src/modules/community/components/pages/Blog.vue.cjs +1 -1
  58. package/dist/martyrs/src/modules/community/components/pages/Blog.vue.js +1 -1
  59. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +3 -3
  60. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +3 -3
  61. package/dist/martyrs/src/modules/community/components/pages/Posts.vue.cjs +1 -1
  62. package/dist/martyrs/src/modules/community/components/pages/Posts.vue.js +1 -1
  63. package/dist/martyrs/src/modules/constructor/components/elements/Card.vue.cjs +1 -1
  64. package/dist/martyrs/src/modules/constructor/components/elements/Card.vue.js +1 -1
  65. package/dist/martyrs/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  66. package/dist/martyrs/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  67. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +3 -3
  68. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +3 -3
  69. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +2 -2
  70. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
  71. package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +3 -3
  72. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +3 -3
  73. package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs +1 -1
  74. package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -1
  75. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.cjs +1 -1
  76. package/dist/martyrs/src/modules/events/components/pages/EventsBackoffice.vue.js +1 -1
  77. package/dist/martyrs/src/modules/events/components/pages/EventsSearch.vue.cjs +1 -1
  78. package/dist/martyrs/src/modules/events/components/pages/EventsSearch.vue.js +1 -1
  79. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  80. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  81. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
  82. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  83. package/dist/martyrs/src/modules/globals/globals.client.cjs +2 -0
  84. package/dist/martyrs/src/modules/globals/globals.client.cjs.map +1 -1
  85. package/dist/martyrs/src/modules/globals/globals.client.js +2 -0
  86. package/dist/martyrs/src/modules/globals/globals.client.js.map +1 -1
  87. package/dist/martyrs/src/modules/globals/views/classes/globals.app.cjs +220 -0
  88. package/dist/martyrs/src/modules/globals/views/classes/globals.app.cjs.map +1 -0
  89. package/dist/martyrs/src/modules/globals/views/classes/globals.app.js +220 -0
  90. package/dist/martyrs/src/modules/globals/views/classes/globals.app.js.map +1 -0
  91. package/dist/martyrs/src/modules/globals/views/classes/store.cjs +47 -49
  92. package/dist/martyrs/src/modules/globals/views/classes/store.cjs.map +1 -1
  93. package/dist/martyrs/src/modules/globals/views/classes/store.js +48 -50
  94. package/dist/martyrs/src/modules/globals/views/classes/store.js.map +1 -1
  95. package/dist/martyrs/src/modules/globals/views/components/blocks/BlockMultiselect.vue.cjs +1 -1
  96. package/dist/martyrs/src/modules/globals/views/components/blocks/BlockMultiselect.vue.js +1 -1
  97. package/dist/martyrs/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
  98. package/dist/martyrs/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
  99. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  100. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
  101. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.cjs +1 -1
  102. package/dist/martyrs/src/modules/globals/views/components/partials/Navigation.vue.js +1 -1
  103. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.cjs +1 -1
  104. package/dist/martyrs/src/modules/globals/views/components/sections/Filters.vue2.js +1 -1
  105. package/dist/martyrs/src/modules/globals/views/utils/vue-app-renderer.cjs +1 -6
  106. package/dist/martyrs/src/modules/globals/views/utils/vue-app-renderer.cjs.map +1 -1
  107. package/dist/martyrs/src/modules/globals/views/utils/vue-app-renderer.js +1 -6
  108. package/dist/martyrs/src/modules/globals/views/utils/vue-app-renderer.js.map +1 -1
  109. package/dist/martyrs/src/modules/icons/components/IconSearchPopup.vue.cjs +1 -1
  110. package/dist/martyrs/src/modules/icons/components/IconSearchPopup.vue.js +1 -1
  111. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.cjs +1 -1
  112. package/dist/martyrs/src/modules/inventory/components/forms/AdjustmentForm.vue.js +1 -1
  113. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.cjs +1 -1
  114. package/dist/martyrs/src/modules/inventory/components/forms/StockAlertsForm.vue.js +1 -1
  115. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.cjs +2 -2
  116. package/dist/martyrs/src/modules/inventory/components/pages/Inventory.vue.js +2 -2
  117. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.cjs +3 -3
  118. package/dist/martyrs/src/modules/inventory/components/pages/InventoryEdit.vue.js +3 -3
  119. package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.cjs +11 -8
  120. package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.cjs.map +1 -1
  121. package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.js +12 -9
  122. package/dist/martyrs/src/modules/landing/components/sections/SectionMobileApp.vue.js.map +1 -1
  123. package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs +1 -1
  124. package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.cjs.map +1 -1
  125. package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.js +1 -1
  126. package/dist/martyrs/src/modules/landing/components/sections/SubscribeNewsletter.vue.js.map +1 -1
  127. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs +1 -1
  128. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js +1 -1
  129. package/dist/martyrs/src/modules/marketplace/views/components/pages/Catalog.vue.cjs +1 -1
  130. package/dist/martyrs/src/modules/marketplace/views/components/pages/Catalog.vue.js +1 -1
  131. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.cjs +1 -1
  132. package/dist/martyrs/src/modules/music/components/forms/AlbumForm.vue.js +1 -1
  133. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.cjs +1 -1
  134. package/dist/martyrs/src/modules/music/components/forms/ArtistForm.vue.js +1 -1
  135. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.cjs +1 -1
  136. package/dist/martyrs/src/modules/music/components/forms/PlaylistForm.vue.js +1 -1
  137. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.cjs +1 -1
  138. package/dist/martyrs/src/modules/music/components/forms/TrackForm.vue.js +1 -1
  139. package/dist/martyrs/src/modules/music/components/pages/Album.vue.cjs +2 -2
  140. package/dist/martyrs/src/modules/music/components/pages/Album.vue.js +2 -2
  141. package/dist/martyrs/src/modules/music/components/pages/MusicHome.vue.cjs +1 -1
  142. package/dist/martyrs/src/modules/music/components/pages/MusicHome.vue.js +1 -1
  143. package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.cjs +1 -1
  144. package/dist/martyrs/src/modules/music/components/pages/MusicLibrary.vue.js +1 -1
  145. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.cjs +2 -2
  146. package/dist/martyrs/src/modules/music/components/pages/Playlist.vue.js +2 -2
  147. package/dist/martyrs/src/modules/music/components/pages/Track.vue.cjs +2 -2
  148. package/dist/martyrs/src/modules/music/components/pages/Track.vue.js +2 -2
  149. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.cjs +1 -1
  150. package/dist/martyrs/src/modules/orders/components/forms/FormApplicationDetails.vue.js +1 -1
  151. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.cjs +1 -1
  152. package/dist/martyrs/src/modules/orders/components/forms/FormCustomerDetails.vue.js +1 -1
  153. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.cjs +1 -1
  154. package/dist/martyrs/src/modules/orders/components/forms/FormSelectCustomer.vue.js +1 -1
  155. package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.cjs +1 -1
  156. package/dist/martyrs/src/modules/orders/components/pages/Applications.vue.js +1 -1
  157. package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.cjs +1 -1
  158. package/dist/martyrs/src/modules/orders/components/pages/Customers.vue.js +1 -1
  159. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
  160. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  161. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  162. package/dist/martyrs/src/modules/orders/components/pages/Orders.vue.js +1 -1
  163. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.cjs +3 -3
  164. package/dist/martyrs/src/modules/orders/components/sections/FormDelivery.vue.js +3 -3
  165. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +5 -5
  166. package/dist/martyrs/src/modules/organizations/components/blocks/CardDepartment.vue.js +5 -5
  167. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.cjs +1 -1
  168. package/dist/martyrs/src/modules/organizations/components/forms/AddExistingMembersForm.vue.js +1 -1
  169. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.cjs +2 -2
  170. package/dist/martyrs/src/modules/organizations/components/forms/DepartmentForm.vue.js +2 -2
  171. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.cjs +1 -1
  172. package/dist/martyrs/src/modules/organizations/components/forms/InviteForm.vue.js +1 -1
  173. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.cjs +5 -5
  174. package/dist/martyrs/src/modules/organizations/components/pages/Department.vue.js +5 -5
  175. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +5 -5
  176. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +5 -5
  177. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.cjs +4 -4
  178. package/dist/martyrs/src/modules/organizations/components/pages/Organization.vue.js +4 -4
  179. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
  180. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  181. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  182. package/dist/martyrs/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  183. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  184. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  185. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +2 -2
  186. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  187. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  188. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  189. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
  190. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
  191. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  192. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  193. package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  194. package/dist/martyrs/src/modules/products/components/blocks/CardProduct.vue.js +1 -1
  195. package/dist/martyrs/src/modules/products/components/elements/{THC.vue2.cjs → THC.vue.cjs} +2 -2
  196. package/dist/martyrs/src/modules/products/components/elements/THC.vue.cjs.map +1 -0
  197. package/dist/martyrs/src/modules/products/components/elements/{THC.vue2.js → THC.vue.js} +2 -2
  198. package/dist/martyrs/src/modules/products/components/elements/THC.vue.js.map +1 -0
  199. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  200. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
  201. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +3 -3
  202. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +3 -3
  203. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  204. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  205. package/dist/martyrs/src/modules/products/components/pages/Products.vue.cjs +2 -2
  206. package/dist/martyrs/src/modules/products/components/pages/Products.vue.js +2 -2
  207. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs +1 -1
  208. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +1 -1
  209. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +1 -1
  210. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +1 -1
  211. package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.cjs +1 -1
  212. package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.js +1 -1
  213. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs +1 -1
  214. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js +1 -1
  215. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +2 -2
  216. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +2 -2
  217. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  218. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  219. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.cjs +1 -1
  220. package/dist/martyrs/src/modules/rents/views/components/pages/Gant/GanttToolbar.vue.js +1 -1
  221. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.cjs +1 -1
  222. package/dist/martyrs/src/modules/rents/views/components/pages/Rents.vue.js +1 -1
  223. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs +2 -2
  224. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +2 -2
  225. package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  226. package/dist/martyrs/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  227. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.cjs +2 -2
  228. package/dist/martyrs/src/modules/spots/components/layouts/Spots.vue.js +2 -2
  229. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  230. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +1 -1
  231. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.cjs +1 -1
  232. package/dist/martyrs/src/modules/spots/components/pages/Spots.vue.js +1 -1
  233. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +1 -1
  234. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +1 -1
  235. package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
  236. package/dist/martyrs/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +1 -1
  237. package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  238. package/dist/martyrs/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  239. package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
  240. package/dist/martyrs/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
  241. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  242. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +1 -1
  243. package/dist/martyrs.cjs.js +1 -1
  244. package/dist/martyrs.css +1 -1
  245. package/dist/martyrs.es.js +1 -1
  246. package/dist/node_modules/.pnpm/@unhead_dom@1.11.20/node_modules/@unhead/dom/dist/index.cjs +198 -0
  247. package/dist/node_modules/.pnpm/@unhead_dom@1.11.20/node_modules/@unhead/dom/dist/index.cjs.map +1 -0
  248. package/dist/node_modules/.pnpm/@unhead_dom@1.11.20/node_modules/@unhead/dom/dist/index.js +198 -0
  249. package/dist/node_modules/.pnpm/@unhead_dom@1.11.20/node_modules/@unhead/dom/dist/index.js.map +1 -0
  250. package/dist/node_modules/.pnpm/@unhead_shared@1.11.20/node_modules/@unhead/shared/dist/index.cjs +304 -0
  251. package/dist/node_modules/.pnpm/@unhead_shared@1.11.20/node_modules/@unhead/shared/dist/index.cjs.map +1 -1
  252. package/dist/node_modules/.pnpm/@unhead_shared@1.11.20/node_modules/@unhead/shared/dist/index.js +305 -1
  253. package/dist/node_modules/.pnpm/@unhead_shared@1.11.20/node_modules/@unhead/shared/dist/index.js.map +1 -1
  254. package/dist/node_modules/.pnpm/@unhead_vue@1.11.20_vue@3.5.21_typescript@5.9.2_/node_modules/@unhead/vue/dist/shared/vue.ziyDaVMR.cjs +31 -1
  255. package/dist/node_modules/.pnpm/@unhead_vue@1.11.20_vue@3.5.21_typescript@5.9.2_/node_modules/@unhead/vue/dist/shared/vue.ziyDaVMR.cjs.map +1 -1
  256. package/dist/node_modules/.pnpm/@unhead_vue@1.11.20_vue@3.5.21_typescript@5.9.2_/node_modules/@unhead/vue/dist/shared/vue.ziyDaVMR.js +33 -3
  257. package/dist/node_modules/.pnpm/@unhead_vue@1.11.20_vue@3.5.21_typescript@5.9.2_/node_modules/@unhead/vue/dist/shared/vue.ziyDaVMR.js.map +1 -1
  258. package/dist/node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.cjs +209 -0
  259. package/dist/node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.cjs.map +1 -0
  260. package/dist/node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.js +209 -0
  261. package/dist/node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.js.map +1 -0
  262. package/dist/node_modules/.pnpm/unhead@1.11.20/node_modules/unhead/dist/index.cjs +415 -0
  263. package/dist/node_modules/.pnpm/unhead@1.11.20/node_modules/unhead/dist/index.cjs.map +1 -1
  264. package/dist/node_modules/.pnpm/unhead@1.11.20/node_modules/unhead/dist/index.js +415 -0
  265. package/dist/node_modules/.pnpm/unhead@1.11.20/node_modules/unhead/dist/index.js.map +1 -1
  266. package/dist/style.css +5 -5
  267. package/dist/{web-xomD1Wpp.cjs → web-C68B9mpp.cjs} +1 -1
  268. package/dist/{web-cWW0_Tbe.js → web-HreCVhdf.js} +1 -1
  269. package/package.json +1 -1
  270. package/src/builder/modes/ssr.prod.js +2 -2
  271. package/src/builder/modes/ssr.rspack.dev.js +1 -1
  272. package/src/builder/modes/ssr.vite.dev.js +1 -1
  273. package/src/components/Media/Media.vue +22 -1
  274. package/src/modules/auth/views/components/pages/ResetPassword.vue +10 -5
  275. package/src/modules/auth/views/components/pages/SignIn.vue +10 -4
  276. package/src/modules/auth/views/components/pages/SignUp.vue +10 -6
  277. package/src/modules/globals/TASK.MD +1 -0
  278. package/src/modules/globals/globals.client.js +3 -0
  279. package/src/modules/globals/views/classes/globals.app.js +320 -0
  280. package/src/modules/globals/views/classes/store.js +52 -55
  281. package/src/modules/globals/views/utils/vue-app-renderer.js +1 -7
  282. package/src/modules/landing/components/sections/SectionMobileApp.vue +6 -6
  283. package/src/modules/landing/components/sections/SubscribeNewsletter.vue +1 -1
  284. package/src/styles/typography.scss +2 -2
  285. package/dist/martyrs/src/components/Dropdown/Dropdown.vue.js.map +0 -1
  286. package/dist/martyrs/src/components/Feed/Feed.vue2.cjs.map +0 -1
  287. package/dist/martyrs/src/components/Field/Field.vue2.cjs.map +0 -1
  288. package/dist/martyrs/src/components/FieldTags/BlockTags.vue2.cjs.map +0 -1
  289. package/dist/martyrs/src/modules/products/components/elements/THC.vue2.cjs.map +0 -1
  290. package/dist/martyrs/src/modules/products/components/elements/THC.vue2.js.map +0 -1
@@ -176,17 +176,17 @@ let Nt = class Ve {
176
176
  ), !((t = (n = window?.google) === null || n === void 0 ? void 0 : n.maps) === null || t === void 0) && t.importLibrary || ((r) => {
177
177
  let i, o, s, d = "The Google Maps JavaScript API", f = "google", v = "importLibrary", $ = "__ib__", m = document, P = window;
178
178
  P = P[f] || (P[f] = {});
179
- const w = P.maps || (P.maps = {}), M = /* @__PURE__ */ new Set(), E = new URLSearchParams(), b = () => (
179
+ const w = P.maps || (P.maps = {}), M = /* @__PURE__ */ new Set(), I = new URLSearchParams(), b = () => (
180
180
  // @ts-ignore
181
- i || (i = new Promise((g, O) => aa(this, void 0, void 0, function* () {
181
+ i || (i = new Promise((g, k) => aa(this, void 0, void 0, function* () {
182
182
  var _;
183
- yield o = m.createElement("script"), o.id = this.id, E.set("libraries", [...M] + "");
183
+ yield o = m.createElement("script"), o.id = this.id, I.set("libraries", [...M] + "");
184
184
  for (s in r)
185
- E.set(s.replace(/[A-Z]/g, (q) => "_" + q[0].toLowerCase()), r[s]);
186
- E.set("callback", f + ".maps." + $), o.src = this.url + "?" + E, w[$] = g, o.onerror = () => i = O(Error(d + " could not load.")), o.nonce = this.nonce || ((_ = m.querySelector("script[nonce]")) === null || _ === void 0 ? void 0 : _.nonce) || "", m.head.append(o);
185
+ I.set(s.replace(/[A-Z]/g, (K) => "_" + K[0].toLowerCase()), r[s]);
186
+ I.set("callback", f + ".maps." + $), o.src = this.url + "?" + I, w[$] = g, o.onerror = () => i = k(Error(d + " could not load.")), o.nonce = this.nonce || ((_ = m.querySelector("script[nonce]")) === null || _ === void 0 ? void 0 : _.nonce) || "", m.head.append(o);
187
187
  })))
188
188
  );
189
- w[v] ? console.warn(d + " only loads once. Ignoring:", r) : w[v] = (g, ...O) => M.add(g) && b().then(() => w[v](g, ...O));
189
+ w[v] ? console.warn(d + " only loads once. Ignoring:", r) : w[v] = (g, ...k) => M.add(g) && b().then(() => w[v](g, ...k));
190
190
  })(a);
191
191
  const l = this.libraries.map((r) => this.importLibrary(r));
192
192
  l.length || l.push(this.importLibrary("core")), Promise.all(l).then(() => this.callback(), (r) => {
@@ -669,13 +669,13 @@ const Ae = /* @__PURE__ */ ke($a, [["render", ma]]), ha = /* @__PURE__ */ Object
669
669
  emits: /* @__PURE__ */ Ye(["update:modelValue"], ["update:date"]),
670
670
  setup(e, { emit: n }) {
671
671
  const t = e, a = Ie(e, "date"), l = /* @__PURE__ */ new Date(), r = y(l), i = y(null), o = y(null), s = y(null), d = y({ show: !1, message: "", x: 0, y: 0 }), f = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
672
- le(() => t.availabilityData, (k) => {
672
+ le(() => t.availabilityData, (O) => {
673
673
  }, { deep: !0 });
674
- const v = (k) => new Date(Date.UTC(k.getFullYear(), k.getMonth(), k.getDate())), $ = (k) => new Date(Date.UTC(k.getFullYear(), k.getMonth(), k.getDate(), 23, 59, 59)), m = (k) => k.toISOString().split("T")[0], P = z(() => {
675
- const k = r.value.toLocaleString("default", { month: "long", timeZone: "UTC" }), G = r.value.getUTCFullYear();
676
- return `${k} ${G}`;
674
+ const v = (O) => new Date(Date.UTC(O.getFullYear(), O.getMonth(), O.getDate())), $ = (O) => new Date(Date.UTC(O.getFullYear(), O.getMonth(), O.getDate(), 23, 59, 59)), m = (O) => O.toISOString().split("T")[0], P = z(() => {
675
+ const O = r.value.toLocaleString("default", { month: "long", timeZone: "UTC" }), G = r.value.getUTCFullYear();
676
+ return `${O} ${G}`;
677
677
  }), w = z(() => t.disablePastDates ? r.value.getUTCMonth() === l.getUTCMonth() && r.value.getUTCFullYear() === l.getUTCFullYear() : !1), M = z(() => {
678
- const k = [], G = new Date(Date.UTC(
678
+ const O = [], G = new Date(Date.UTC(
679
679
  r.value.getUTCFullYear(),
680
680
  r.value.getUTCMonth(),
681
681
  1
@@ -687,60 +687,60 @@ const Ae = /* @__PURE__ */ ke($a, [["render", ma]]), ha = /* @__PURE__ */ Object
687
687
  let ie = new Date(G);
688
688
  ie.setUTCDate(ie.getUTCDate() - ee);
689
689
  for (let xe = 0; xe < ee; xe++)
690
- k.push({
690
+ O.push({
691
691
  date: new Date(ie),
692
692
  day: ie.getUTCDate(),
693
- isToday: E(ie)
693
+ isToday: I(ie)
694
694
  }), ie.setUTCDate(ie.getUTCDate() + 1);
695
695
  let ve = 1;
696
696
  for (ie = G; ie <= Q; ie.setUTCDate(ie.getUTCDate() + 1))
697
- k.push({
697
+ O.push({
698
698
  date: new Date(ie),
699
699
  day: ve,
700
- isToday: E(ie)
700
+ isToday: I(ie)
701
701
  }), ve++;
702
- const we = k[k.length - 1].date.getUTCDay();
702
+ const we = O[O.length - 1].date.getUTCDay();
703
703
  for (let xe = we + 1; xe <= 6; xe++)
704
- k.push({
704
+ O.push({
705
705
  date: new Date(ie),
706
706
  day: ie.getUTCDate(),
707
- isToday: E(ie)
707
+ isToday: I(ie)
708
708
  }), ie.setUTCDate(ie.getUTCDate() + 1);
709
- return k;
710
- }), E = (k) => {
709
+ return O;
710
+ }), I = (O) => {
711
711
  const G = /* @__PURE__ */ new Date();
712
- return k.getUTCDate() === G.getUTCDate() && k.getUTCMonth() === G.getUTCMonth() && k.getUTCFullYear() === G.getUTCFullYear();
713
- }, b = (k) => k.getUTCMonth() === r.value.getUTCMonth() && k.getUTCFullYear() === r.value.getUTCFullYear(), g = (k) => {
712
+ return O.getUTCDate() === G.getUTCDate() && O.getUTCMonth() === G.getUTCMonth() && O.getUTCFullYear() === G.getUTCFullYear();
713
+ }, b = (O) => O.getUTCMonth() === r.value.getUTCMonth() && O.getUTCFullYear() === r.value.getUTCFullYear(), g = (O) => {
714
714
  if (!t.disablePastDates) return !1;
715
715
  const G = /* @__PURE__ */ new Date(), Q = new Date(Date.UTC(G.getUTCFullYear(), G.getUTCMonth(), G.getUTCDate()));
716
- return new Date(Date.UTC(k.getUTCFullYear(), k.getUTCMonth(), k.getUTCDate())) < Q;
717
- }, O = (k) => {
716
+ return new Date(Date.UTC(O.getUTCFullYear(), O.getUTCMonth(), O.getUTCDate())) < Q;
717
+ }, k = (O) => {
718
718
  if (!t.availabilityData || t.availabilityData.length === 0) return null;
719
- const G = m(k);
719
+ const G = m(O);
720
720
  return t.availabilityData.find((Q) => Q.date === G);
721
- }, _ = (k) => {
721
+ }, _ = (O) => {
722
722
  if (!t.availabilityData || t.availabilityData.length === 0) return !0;
723
- const G = O(k);
723
+ const G = k(O);
724
724
  return !G || G.availableQuantity > 0;
725
- }, q = (k) => {
725
+ }, K = (O) => {
726
726
  if (!t.availabilityData || t.availabilityData.length === 0) return !1;
727
- const G = O(k);
727
+ const G = k(O);
728
728
  return G && G.availableQuantity > 0 && G.availableQuantity <= t.lowAvailabilityThreshold;
729
- }, Z = (k) => {
729
+ }, Z = (O) => {
730
730
  if (!t.showAvailability) return null;
731
- const G = O(k);
731
+ const G = k(O);
732
732
  return G ? G.availableQuantity : null;
733
- }, N = (k) => {
733
+ }, N = (O) => {
734
734
  if (t.allowRange) {
735
735
  if (o.value && s.value)
736
- return k >= new Date(o.value) && $(k) <= new Date(s.value);
736
+ return O >= new Date(o.value) && $(O) <= new Date(s.value);
737
737
  if (o.value)
738
- return k.getTime() === new Date(o.value).getTime();
738
+ return O.getTime() === new Date(o.value).getTime();
739
739
  } else
740
- return i.value && k.getTime() === new Date(i.value).getTime();
741
- }, J = (k) => o.value && s.value ? k > o.value && $(k) < s.value : !1, C = (k, G) => {
742
- if (t.disablePastDates && g(k) || !_(k)) return;
743
- const Q = O(k);
740
+ return i.value && O.getTime() === new Date(i.value).getTime();
741
+ }, J = (O) => o.value && s.value ? O > o.value && $(O) < s.value : !1, C = (O, G) => {
742
+ if (t.disablePastDates && g(O) || !_(O)) return;
743
+ const Q = k(O);
744
744
  if (Q && Q.availableQuantity < t.requiredQuantity) {
745
745
  G && (d.value = {
746
746
  show: !0,
@@ -752,8 +752,8 @@ const Ae = /* @__PURE__ */ ke($a, [["render", ma]]), ha = /* @__PURE__ */ Object
752
752
  }, 3e3));
753
753
  return;
754
754
  }
755
- d.value.show = !1, b(k);
756
- const ee = v(k);
755
+ d.value.show = !1, b(O);
756
+ const ee = v(O);
757
757
  if (!t.allowRange)
758
758
  i.value = ee, a.value = ee;
759
759
  else if (!o.value && !s.value)
@@ -761,7 +761,7 @@ const Ae = /* @__PURE__ */ ke($a, [["render", ma]]), ha = /* @__PURE__ */ Object
761
761
  else if (s.value)
762
762
  o.value = ee, s.value = null, a.value = { start: ee, end: null };
763
763
  else {
764
- if (s.value = $(k), ee < o.value) {
764
+ if (s.value = $(O), ee < o.value) {
765
765
  const ie = $(o.value);
766
766
  o.value = ee, s.value = ie;
767
767
  }
@@ -783,12 +783,12 @@ const Ae = /* @__PURE__ */ ke($a, [["render", ma]]), ha = /* @__PURE__ */ Object
783
783
  }
784
784
  }, S = () => {
785
785
  if (t.disablePastDates) {
786
- const k = new Date(Date.UTC(
786
+ const O = new Date(Date.UTC(
787
787
  r.value.getUTCFullYear(),
788
788
  r.value.getUTCMonth() - 1,
789
789
  1
790
790
  ));
791
- if (k.getUTCFullYear() < l.getUTCFullYear() || k.getUTCFullYear() === l.getUTCFullYear() && k.getUTCMonth() < l.getUTCMonth())
791
+ if (O.getUTCFullYear() < l.getUTCFullYear() || O.getUTCFullYear() === l.getUTCFullYear() && O.getUTCMonth() < l.getUTCMonth())
792
792
  return;
793
793
  }
794
794
  r.value = new Date(Date.UTC(
@@ -803,25 +803,25 @@ const Ae = /* @__PURE__ */ ke($a, [["render", ma]]), ha = /* @__PURE__ */ Object
803
803
  1
804
804
  ));
805
805
  }, j = () => {
806
- const k = /* @__PURE__ */ new Date(), G = new Date(Date.UTC(k.getUTCFullYear(), k.getUTCMonth(), k.getUTCDate(), 0, 0, 0, 0)), Q = new Date(Date.UTC(k.getUTCFullYear(), k.getUTCMonth(), k.getUTCDate(), 23, 59, 59, 999));
806
+ const O = /* @__PURE__ */ new Date(), G = new Date(Date.UTC(O.getUTCFullYear(), O.getUTCMonth(), O.getUTCDate(), 0, 0, 0, 0)), Q = new Date(Date.UTC(O.getUTCFullYear(), O.getUTCMonth(), O.getUTCDate(), 23, 59, 59, 999));
807
807
  (t.disablePastDates || _(G)) && (o.value = G.toISOString(), s.value = Q.toISOString(), a.value = { start: o.value, end: s.value });
808
808
  }, X = () => {
809
- const k = /* @__PURE__ */ new Date(), G = new Date(k);
810
- if (G.setUTCDate(k.getUTCDate() - 7), G.setUTCHours(0, 0, 0, 0), t.disablePastDates) return;
811
- o.value = G, s.value = $(k), k.setUTCHours(23, 59, 59, 999);
812
- const Q = G.toISOString(), ee = k.toISOString();
809
+ const O = /* @__PURE__ */ new Date(), G = new Date(O);
810
+ if (G.setUTCDate(O.getUTCDate() - 7), G.setUTCHours(0, 0, 0, 0), t.disablePastDates) return;
811
+ o.value = G, s.value = $(O), O.setUTCHours(23, 59, 59, 999);
812
+ const Q = G.toISOString(), ee = O.toISOString();
813
813
  a.value = { start: Q, end: ee };
814
814
  }, de = () => {
815
- const k = /* @__PURE__ */ new Date();
815
+ const O = /* @__PURE__ */ new Date();
816
816
  if (t.disablePastDates) return;
817
- const G = new Date(k);
818
- G.setUTCMonth(k.getUTCMonth() - 1), G.setUTCHours(0, 0, 0, 0), o.value = G, s.value = $(k), k.setUTCHours(23, 59, 59, 999);
819
- const Q = G.toISOString(), ee = k.toISOString();
817
+ const G = new Date(O);
818
+ G.setUTCMonth(O.getUTCMonth() - 1), G.setUTCHours(0, 0, 0, 0), o.value = G, s.value = $(O), O.setUTCHours(23, 59, 59, 999);
819
+ const Q = G.toISOString(), ee = O.toISOString();
820
820
  a.value = { start: Q, end: ee };
821
821
  }, re = () => {
822
822
  t.disablePastDates || (o.value = null, s.value = null, a.value = { start: null, end: null });
823
823
  };
824
- return (k, G) => (u(), c("div", {
824
+ return (O, G) => (u(), c("div", {
825
825
  class: "t-noselect calendar",
826
826
  "aria-disabled": e.disabled
827
827
  }, [
@@ -886,7 +886,7 @@ const Ae = /* @__PURE__ */ ke($a, [["render", ma]]), ha = /* @__PURE__ */ Object
886
886
  { "calendar__date--range": J(Q.date) },
887
887
  { "calendar__date--in-other-month": !b(Q.date) },
888
888
  { "calendar__date--disabled": g(Q.date) },
889
- { "calendar__date--low-availability": q(Q.date) },
889
+ { "calendar__date--low-availability": K(Q.date) },
890
890
  { "calendar__date--unavailable": !_(Q.date) && !g(Q.date) }
891
891
  ]),
892
892
  onClick: ne((ee) => C(Q.date, ee), ["stop"])
@@ -1891,8 +1891,8 @@ var tr = ";ext=", Ue = function(n) {
1891
1891
  return "([".concat(Te, "]{1,").concat(n, "})");
1892
1892
  };
1893
1893
  function Nn(e) {
1894
- var n = "20", t = "15", a = "9", l = "6", r = "[  \\t,]*", i = "[:\\..]?[  \\t,-]*", o = "#?", s = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", d = "(?:[xx##~~]|int|int)", f = "[- ]+", v = "[  \\t]*", $ = "(?:,{2}|;)", m = tr + Ue(n), P = r + s + i + Ue(n) + o, w = r + d + i + Ue(a) + o, M = f + Ue(l) + "#", E = v + $ + i + Ue(t) + o, b = v + "(?:,)+" + i + Ue(a) + o;
1895
- return m + "|" + P + "|" + w + "|" + M + "|" + E + "|" + b;
1894
+ var n = "20", t = "15", a = "9", l = "6", r = "[  \\t,]*", i = "[:\\..]?[  \\t,-]*", o = "#?", s = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", d = "(?:[xx##~~]|int|int)", f = "[- ]+", v = "[  \\t]*", $ = "(?:,{2}|;)", m = tr + Ue(n), P = r + s + i + Ue(n) + o, w = r + d + i + Ue(a) + o, M = f + Ue(l) + "#", I = v + $ + i + Ue(t) + o, b = v + "(?:,)+" + i + Ue(a) + o;
1895
+ return m + "|" + P + "|" + w + "|" + M + "|" + I + "|" + b;
1896
1896
  }
1897
1897
  var nr = "[" + Te + "]{" + Vt + "}", ar = "[" + Ht + "]{0,1}(?:[" + rt + "]*[" + Te + "]){3,}[" + rt + Te + "]*", lr = new RegExp("^[" + Ht + "]{0,1}(?:[" + rt + "]*[" + Te + "]){1,2}$", "i"), rr = ar + // Phone number extensions
1898
1898
  "(?:" + Nn() + ")?", or = new RegExp(
@@ -3086,7 +3086,7 @@ const bo = [
3086
3086
  ],
3087
3087
  setup(e, { emit: n }) {
3088
3088
  let t = Rt;
3089
- const a = e, l = n, r = y(a.modelValue || ""), i = y(""), o = y(""), s = y(""), d = y(!1), f = y(!1), v = y(null), $ = y(""), m = y(null), P = y("below"), w = y(a.Placeholder !== "" ? a.Placeholder : a.inputOptions.placeholder), M = y(null), E = y(null), b = y(null);
3089
+ const a = e, l = n, r = y(a.modelValue || ""), i = y(""), o = y(""), s = y(""), d = y(!1), f = y(!1), v = y(null), $ = y(""), m = y(null), P = y("below"), w = y(a.Placeholder !== "" ? a.Placeholder : a.inputOptions.placeholder), M = y(null), I = y(null), b = y(null);
3090
3090
  pe(() => {
3091
3091
  a.modelValue && (r.value = a.modelValue), we(), G().then(() => {
3092
3092
  !r.value && a.inputOptions?.showDialCode && i.value && (r.value = `+${i.value}`), g.value && a.dropdownOptions.showDialCodeInSelection && (o.value = `+${g.value.dialCode}`), l("validate", N.value);
@@ -3094,63 +3094,63 @@ const bo = [
3094
3094
  f.value = !0;
3095
3095
  });
3096
3096
  });
3097
- const g = z(() => ee(i.value)), O = z(() => g.value ? g.value.flag : null), _ = z(() => a.mode === "auto" ? !r.value || r.value[0] !== "+" ? "national" : "international" : ["international", "national"].includes(a.mode) ? a.mode : (console.error('Invalid value of prop "mode"'), "international")), q = z(() => {
3098
- let I = a.allCountries;
3099
- if (a.onlyCountries && a.onlyCountries.length ? I = I.filter(
3097
+ const g = z(() => ee(i.value)), k = z(() => g.value ? g.value.flag : null), _ = z(() => a.mode === "auto" ? !r.value || r.value[0] !== "+" ? "national" : "international" : ["international", "national"].includes(a.mode) ? a.mode : (console.error('Invalid value of prop "mode"'), "international")), K = z(() => {
3098
+ let E = a.allCountries;
3099
+ if (a.onlyCountries && a.onlyCountries.length ? E = E.filter(
3100
3100
  ({ iso2: F }) => a.onlyCountries.includes(F.toUpperCase())
3101
- ) : a.ignoredCountries && a.ignoredCountries.length && (I = I.filter(
3101
+ ) : a.ignoredCountries && a.ignoredCountries.length && (E = E.filter(
3102
3102
  ({ iso2: F }) => !a.ignoredCountries.includes(F.toUpperCase()) && !a.ignoredCountries.includes(F.toLowerCase())
3103
3103
  )), s.value) {
3104
3104
  const F = s.value.replace("+", "");
3105
- I = I.filter(
3106
- (K) => K.dialCode.startsWith(F)
3105
+ E = E.filter(
3106
+ (q) => q.dialCode.startsWith(F)
3107
3107
  );
3108
3108
  }
3109
- return I;
3109
+ return E;
3110
3110
  }), Z = z(() => [...Q(a.preferredCountries).filter((F) => {
3111
3111
  if (!s.value) return !0;
3112
- const K = s.value.replace("+", "");
3113
- return F.dialCode.startsWith(K);
3114
- }).map((F) => ({ ...F, preferred: !0 })), ...q.value]), N = z(() => {
3115
- let I = {};
3116
- r.value?.[0] === "+" ? I = yt(r.value) || {} : I = yt(r.value, i.value) || {};
3117
- const { metadata: F, ...K } = I;
3118
- let fe = I.isValid?.(), Pe = r.value;
3119
- return fe && (Pe = I.format?.(_.value.toUpperCase(), { nationalPrefix: !1 })), I.country && (a.ignoredCountries.length || a.onlyCountries.length) && (ee(I.country) || (fe = !1, I = { ...I, country: null })), {
3120
- ...K,
3121
- countryCode: I.country,
3112
+ const q = s.value.replace("+", "");
3113
+ return F.dialCode.startsWith(q);
3114
+ }).map((F) => ({ ...F, preferred: !0 })), ...K.value]), N = z(() => {
3115
+ let E = {};
3116
+ r.value?.[0] === "+" ? E = yt(r.value) || {} : E = yt(r.value, i.value) || {};
3117
+ const { metadata: F, ...q } = E;
3118
+ let fe = E.isValid?.(), Pe = r.value;
3119
+ return fe && (Pe = E.format?.(_.value.toUpperCase(), { nationalPrefix: !1 })), E.country && (a.ignoredCountries.length || a.onlyCountries.length) && (ee(E.country) || (fe = !1, E = { ...E, country: null })), {
3120
+ ...q,
3121
+ countryCode: E.country,
3122
3122
  valid: fe,
3123
3123
  country: g.value,
3124
3124
  formatted: Pe
3125
3125
  };
3126
3126
  }), J = z(() => N.value.valid === !0 ? a.goodClass : N.value.valid === !1 ? a.badClass : void 0), C = z(() => N.value.valid === !0 ? a.goodStyle : N.value.valid === !1 ? a.badStyle : void 0), S = z(() => N.value.valid === !0 ? a.goodInputClass : N.value.valid === !1 ? a.badInputClass : void 0), L = z(() => N.value.valid === !0 ? a.goodInputStyle : N.value.valid === !1 ? a.badInputStyle : void 0);
3127
- le(g, (I, F) => {
3128
- if (!I && F?.iso2) {
3127
+ le(g, (E, F) => {
3128
+ if (!E && F?.iso2) {
3129
3129
  i.value = F.iso2;
3130
3130
  return;
3131
3131
  }
3132
- I?.iso2 && (l("country-changed", I), k(), o.value = `+${I.dialCode}`);
3133
- }), le(() => N.value.countryCode, (I) => {
3134
- i.value = I;
3132
+ E?.iso2 && (l("country-changed", E), O(), o.value = `+${E.dialCode}`);
3133
+ }), le(() => N.value.countryCode, (E) => {
3134
+ i.value = E;
3135
3135
  }), le(() => N.value.valid, () => {
3136
3136
  l("validate", N.value);
3137
- }), le(() => N.value.formatted, (I) => {
3138
- !a.autoFormat || a.customValidate || (Le(I), Se(() => {
3139
- I && !a.modelValue && (r.value = I);
3137
+ }), le(() => N.value.formatted, (E) => {
3138
+ !a.autoFormat || a.customValidate || (Le(E), Se(() => {
3139
+ E && !a.modelValue && (r.value = E);
3140
3140
  }));
3141
3141
  }), le(() => a.inputOptions.placeholder, () => {
3142
- k();
3143
- }), le(() => a.modelValue, (I, F) => {
3144
- xe() ? r.value = I : Se(() => {
3142
+ O();
3143
+ }), le(() => a.modelValue, (E, F) => {
3144
+ xe() ? r.value = E : Se(() => {
3145
3145
  r.value = F, je();
3146
3146
  });
3147
- }), le(d, (I) => {
3148
- I ? (ce(), l("open")) : l("close");
3147
+ }), le(d, (E) => {
3148
+ E ? (ce(), l("open")) : l("close");
3149
3149
  });
3150
3150
  function j() {
3151
3151
  o.value.startsWith("+") || (o.value = "+" + o.value.replace(/^\+*/, "")), o.value = o.value.replace(/[^\+\d]/g, ""), (o.value.match(/\+/g) || []).length > 1 && (o.value = "+" + o.value.replace(/\+/g, "")), s.value = o.value, d.value = !0;
3152
- const F = q.value.find(
3153
- (K) => `+${K.dialCode}` === o.value
3152
+ const F = K.value.find(
3153
+ (q) => `+${q.dialCode}` === o.value
3154
3154
  );
3155
3155
  F && Z.value.length === 1 && ve(F);
3156
3156
  }
@@ -3162,54 +3162,54 @@ const bo = [
3162
3162
  function de() {
3163
3163
  a.disabled || (d.value = !0);
3164
3164
  }
3165
- function re(I, F) {
3166
- if (I.setSelectionRange)
3167
- I.focus(), I.setSelectionRange(F, F);
3168
- else if (I.createTextRange) {
3169
- const K = I.createTextRange();
3170
- K.collapse(!0), K.moveEnd("character", F), K.moveStart("character", F), K.select();
3165
+ function re(E, F) {
3166
+ if (E.setSelectionRange)
3167
+ E.focus(), E.setSelectionRange(F, F);
3168
+ else if (E.createTextRange) {
3169
+ const q = E.createTextRange();
3170
+ q.collapse(!0), q.moveEnd("character", F), q.moveStart("character", F), q.select();
3171
3171
  }
3172
3172
  }
3173
- function k() {
3173
+ function O() {
3174
3174
  w.value = a.inputOptions.placeholder;
3175
3175
  }
3176
3176
  function G() {
3177
- return new Promise((I) => {
3177
+ return new Promise((E) => {
3178
3178
  if (r.value?.[0] === "+") {
3179
- I();
3179
+ E();
3180
3180
  return;
3181
3181
  }
3182
3182
  if (a.defaultCountry) {
3183
- ve(a.defaultCountry), I();
3183
+ ve(a.defaultCountry), E();
3184
3184
  return;
3185
3185
  }
3186
- const F = a.preferredCountries[0] || q.value[0];
3187
- a.autoDefaultCountry ? fetch("https://ip2c.org/s").then((K) => K.text()).then((K) => {
3188
- const fe = (K || "").toString();
3186
+ const F = a.preferredCountries[0] || K.value[0];
3187
+ a.autoDefaultCountry ? fetch("https://ip2c.org/s").then((q) => q.text()).then((q) => {
3188
+ const fe = (q || "").toString();
3189
3189
  if (!fe || fe[0] !== "1")
3190
3190
  throw new Error("unable to fetch the country");
3191
3191
  return fe.substr(2, 2);
3192
- }).then((K) => {
3193
- ve(K || i.value);
3194
- }).catch((K) => {
3195
- console.warn(K), ve(F);
3192
+ }).then((q) => {
3193
+ ve(q || i.value);
3194
+ }).catch((q) => {
3195
+ console.warn(q), ve(F);
3196
3196
  }).finally(() => {
3197
- I();
3198
- }) : (ve(F), I());
3197
+ E();
3198
+ }) : (ve(F), E());
3199
3199
  });
3200
3200
  }
3201
- function Q(I = []) {
3202
- return I.map((F) => ee(F)).filter(Boolean);
3201
+ function Q(E = []) {
3202
+ return E.map((F) => ee(F)).filter(Boolean);
3203
3203
  }
3204
- function ee(I = "") {
3205
- return q.value.find((F) => F.iso2 === I.toUpperCase());
3204
+ function ee(E = "") {
3205
+ return K.value.find((F) => F.iso2 === E.toUpperCase());
3206
3206
  }
3207
- function ie(I, F) {
3208
- const K = v.value === I, fe = I === a.preferredCountries.length - 1, Pe = a.preferredCountries.some((ft) => ft.toUpperCase() === F);
3209
- return { highlighted: K, "last-preferred": fe, preferred: Pe };
3207
+ function ie(E, F) {
3208
+ const q = v.value === E, fe = E === a.preferredCountries.length - 1, Pe = a.preferredCountries.some((ft) => ft.toUpperCase() === F);
3209
+ return { highlighted: q, "last-preferred": fe, preferred: Pe };
3210
3210
  }
3211
- function ve(I) {
3212
- let F = typeof I == "string" ? ee(I) : I;
3211
+ function ve(E) {
3212
+ let F = typeof E == "string" ? ee(E) : E;
3213
3213
  F && (r.value?.[0] === "+" && F.iso2 && N.value.nationalNumber ? (i.value = F.iso2, r.value = yt(
3214
3214
  N.value.nationalNumber,
3215
3215
  F.iso2
@@ -3218,7 +3218,7 @@ const bo = [
3218
3218
  }), Le(r.value));
3219
3219
  }
3220
3220
  function we() {
3221
- const I = r.value;
3221
+ const E = r.value;
3222
3222
  if (a.validCharactersOnly) {
3223
3223
  const F = r.value.match(/[()\-+0-9\s]*/g);
3224
3224
  r.value = F.join("");
@@ -3227,7 +3227,7 @@ const bo = [
3227
3227
  const F = r.value.match(a.customValidate);
3228
3228
  r.value = F ? F.join("") : "";
3229
3229
  }
3230
- I !== r.value && Le(r.value);
3230
+ E !== r.value && Le(r.value);
3231
3231
  }
3232
3232
  function xe() {
3233
3233
  return a.validCharactersOnly && !/^[()\-+0-9\s]*$/.test(r.value) ? !1 : a.customValidate ? Ke() : !0;
@@ -3238,8 +3238,8 @@ const bo = [
3238
3238
  function je() {
3239
3239
  b.value.setCustomValidity(N.valid ? "" : a.invalidMsg), Le(r.value);
3240
3240
  }
3241
- function Le(I) {
3242
- l("update:modelValue", I), N.value.valid ? (l("change", N.value.number), l("country", N.value.number)) : l("country", null);
3241
+ function Le(E) {
3242
+ l("update:modelValue", E), N.value.valid ? (l("change", N.value.number), l("country", N.value.number)) : l("country", null);
3243
3243
  }
3244
3244
  function Be() {
3245
3245
  l("blur");
@@ -3256,46 +3256,46 @@ const bo = [
3256
3256
  function A() {
3257
3257
  d.value = !1, s.value = "";
3258
3258
  }
3259
- function B(I) {
3260
- if (I.keyCode === 40)
3261
- I.preventDefault(), d.value = !0, v.value = v.value === null ? 0 : Math.min(Z.value.length - 1, v.value + 1), Se(() => {
3262
- const F = E.value.children[v.value];
3263
- F.offsetTop + F.clientHeight > E.value.scrollTop + E.value.clientHeight && (E.value.scrollTop = F.offsetTop - E.value.clientHeight + F.clientHeight);
3259
+ function B(E) {
3260
+ if (E.keyCode === 40)
3261
+ E.preventDefault(), d.value = !0, v.value = v.value === null ? 0 : Math.min(Z.value.length - 1, v.value + 1), Se(() => {
3262
+ const F = I.value.children[v.value];
3263
+ F.offsetTop + F.clientHeight > I.value.scrollTop + I.value.clientHeight && (I.value.scrollTop = F.offsetTop - I.value.clientHeight + F.clientHeight);
3264
3264
  });
3265
- else if (I.keyCode === 38)
3266
- I.preventDefault(), d.value = !0, v.value = v.value === null ? Z.value.length - 1 : Math.max(0, v.value - 1), Se(() => {
3267
- const F = E.value.children[v.value];
3268
- F.offsetTop < E.value.scrollTop && (E.value.scrollTop = F.offsetTop);
3265
+ else if (E.keyCode === 38)
3266
+ E.preventDefault(), d.value = !0, v.value = v.value === null ? Z.value.length - 1 : Math.max(0, v.value - 1), Se(() => {
3267
+ const F = I.value.children[v.value];
3268
+ F.offsetTop < I.value.scrollTop && (I.value.scrollTop = F.offsetTop);
3269
3269
  });
3270
- else if (I.keyCode === 13)
3271
- I.preventDefault(), v.value !== null && ve(Z.value[v.value]);
3270
+ else if (E.keyCode === 13)
3271
+ E.preventDefault(), v.value !== null && ve(Z.value[v.value]);
3272
3272
  else {
3273
- if (I.target.classList.contains("vti__country-code-input")) return;
3274
- $.value += I.key, clearTimeout(m), m = setTimeout(() => {
3273
+ if (E.target.classList.contains("vti__country-code-input")) return;
3274
+ $.value += E.key, clearTimeout(m), m = setTimeout(() => {
3275
3275
  $.value = "";
3276
3276
  }, 700), Se(() => {
3277
- const F = Z.value.slice(a.preferredCountries.length).findIndex((K) => K.name.toLowerCase().startsWith($.value));
3277
+ const F = Z.value.slice(a.preferredCountries.length).findIndex((q) => q.name.toLowerCase().startsWith($.value));
3278
3278
  if (F >= 0) {
3279
3279
  v.value = a.preferredCountries.length + F;
3280
- const K = E.value.children[v.value];
3281
- (K.offsetTop < E.value.scrollTop || K.offsetTop + K.clientHeight > E.value.scrollTop + E.value.clientHeight) && (E.value.scrollTop = K.offsetTop - E.value.clientHeight / 2);
3280
+ const q = I.value.children[v.value];
3281
+ (q.offsetTop < I.value.scrollTop || q.offsetTop + q.clientHeight > I.value.scrollTop + I.value.clientHeight) && (I.value.scrollTop = q.offsetTop - I.value.clientHeight / 2);
3282
3282
  }
3283
3283
  });
3284
3284
  }
3285
3285
  }
3286
3286
  function V() {
3287
- v.value = Z.value.map((I) => I.iso2).indexOf(i.value), d.value = !1;
3287
+ v.value = Z.value.map((E) => E.iso2).indexOf(i.value), d.value = !1;
3288
3288
  }
3289
3289
  function ce() {
3290
3290
  const F = window.innerHeight - M.value.getBoundingClientRect().bottom > 200;
3291
3291
  P.value = F ? "below" : "above";
3292
3292
  }
3293
- return (I, F) => (u(), c(ae, null, [
3293
+ return (E, F) => (u(), c(ae, null, [
3294
3294
  p("div", {
3295
3295
  class: H([[
3296
3296
  e.rootClass,
3297
3297
  J.value,
3298
- I.$attrs.class,
3298
+ E.$attrs.class,
3299
3299
  { "bg-fourth-nano": e.validation },
3300
3300
  { disabled: e.disabled }
3301
3301
  ], "field-wrapper vue3-reactive-tel-input"]),
@@ -3312,12 +3312,12 @@ const bo = [
3312
3312
  p("span", So, [
3313
3313
  e.dropdownOptions.showFlags ? (u(), c("span", {
3314
3314
  key: 0,
3315
- innerHTML: O.value,
3315
+ innerHTML: k.value,
3316
3316
  class: "mn-r-nano"
3317
3317
  }, null, 8, xo)) : T("", !0),
3318
3318
  e.dropdownOptions.showDialCodeInSelection ? he((u(), c("input", {
3319
3319
  key: 1,
3320
- "onUpdate:modelValue": F[0] || (F[0] = (K) => o.value = K),
3320
+ "onUpdate:modelValue": F[0] || (F[0] = (q) => o.value = q),
3321
3321
  onInput: j,
3322
3322
  onFocus: de,
3323
3323
  onBlur: X,
@@ -3334,23 +3334,23 @@ const bo = [
3334
3334
  ]),
3335
3335
  he(p("ul", {
3336
3336
  ref_key: "list",
3337
- ref: E,
3337
+ ref: I,
3338
3338
  class: H(["bs-black radius-small vti__dropdown-list", P.value]),
3339
3339
  style: ge([e.listStyle])
3340
3340
  }, [
3341
- (u(!0), c(ae, null, ue(Z.value, (K, fe) => (u(), c("li", {
3342
- class: H(["flex-nowrap flex w-max", ["vti__dropdown-item", ie(fe, K.iso2)]]),
3343
- key: K.iso2 + (K.preferred ? "-preferred" : ""),
3344
- onClick: (Pe) => ve(K),
3341
+ (u(!0), c(ae, null, ue(Z.value, (q, fe) => (u(), c("li", {
3342
+ class: H(["flex-nowrap flex w-max", ["vti__dropdown-item", ie(fe, q.iso2)]]),
3343
+ key: q.iso2 + (q.preferred ? "-preferred" : ""),
3344
+ onClick: (Pe) => ve(q),
3345
3345
  onMousemove: (Pe) => v.value = fe
3346
3346
  }, [
3347
3347
  e.dropdownOptions.showFlags ? (u(), c("span", {
3348
3348
  key: 0,
3349
- innerHTML: K.flag,
3349
+ innerHTML: q.flag,
3350
3350
  class: "mn-r-thin"
3351
3351
  }, null, 8, Po)) : T("", !0),
3352
- p("strong", null, D(K.name), 1),
3353
- e.dropdownOptions.showDialCodeInList ? (u(), c("span", _o, " +" + D(K.dialCode), 1)) : T("", !0)
3352
+ p("strong", null, D(q.name), 1),
3353
+ e.dropdownOptions.showDialCodeInList ? (u(), c("span", _o, " +" + D(q.dialCode), 1)) : T("", !0)
3354
3354
  ], 42, Oo))), 128))
3355
3355
  ], 6), [
3356
3356
  [_e, d.value]
@@ -3359,7 +3359,7 @@ const bo = [
3359
3359
  [$e(t), A]
3360
3360
  ]),
3361
3361
  he(p("input", {
3362
- "onUpdate:modelValue": F[1] || (F[1] = (K) => r.value = K),
3362
+ "onUpdate:modelValue": F[1] || (F[1] = (q) => r.value = q),
3363
3363
  inputmode: "numeric",
3364
3364
  pattern: "\\d*",
3365
3365
  ref_key: "input",
@@ -3387,7 +3387,7 @@ const bo = [
3387
3387
  }, null, 46, To), [
3388
3388
  [Zn, r.value]
3389
3389
  ]),
3390
- W(I.$slots, "default")
3390
+ W(E.$slots, "default")
3391
3391
  ], 6),
3392
3392
  Y(ye, { name: "fade" }, {
3393
3393
  default: se(() => [
@@ -3467,8 +3467,8 @@ const bo = [
3467
3467
  if ($[0]) {
3468
3468
  a("update:address", $[0].formatted_address);
3469
3469
  let P = "", w = "", M = "";
3470
- $[0].address_components.forEach((E) => {
3471
- E.types.includes("country") && (P = E.long_name), E.types.includes("administrative_area_level_1") && (w = E.long_name), E.types.includes("locality") && (M = E.long_name);
3470
+ $[0].address_components.forEach((I) => {
3471
+ I.types.includes("country") && (P = I.long_name), I.types.includes("administrative_area_level_1") && (w = I.long_name), I.types.includes("locality") && (M = I.long_name);
3472
3472
  }), a("update:country", P), a("update:state", w), a("update:city", M);
3473
3473
  } else
3474
3474
  console.error("No results found");
@@ -3844,18 +3844,18 @@ const bo = [
3844
3844
  },
3845
3845
  emits: ["open", "search-change", "close", "select", "update:modelValue", "remove", "tag"],
3846
3846
  setup(e, { emit: n }) {
3847
- const t = e, a = n, l = y(null), r = y(null), i = y(null), o = y(null), s = y(""), d = y(!1), f = y("below"), v = y(t.maxHeight), $ = y(0), m = y(!1), P = (x) => x === 0 ? !1 : Array.isArray(x) && x.length === 0 ? !0 : !x, w = (x, U) => (x === void 0 && (x = "undefined"), x === null && (x = "null"), x === !1 && (x = "false"), x.toString().toLowerCase().indexOf(U.trim()) !== -1), M = (x, U, R, te) => U ? x.filter((be) => w(te(be, R), U)).sort((be, vt) => te(be, R).length - te(vt, R).length) : x, E = (x, U) => (R) => R.reduce((te, be) => be[x]?.length ? (te.push({ $groupLabel: be[U], $isLabel: !0 }), te.concat(be[x])) : te, []), b = (x) => x.filter((U) => !U.$isLabel), g = (x, U, R, te, be) => (vt) => vt.map((pt) => {
3847
+ const t = e, a = n, l = y(null), r = y(null), i = y(null), o = y(null), s = y(""), d = y(!1), f = y("below"), v = y(t.maxHeight), $ = y(0), m = y(!1), P = (x) => x === 0 ? !1 : Array.isArray(x) && x.length === 0 ? !0 : !x, w = (x, U) => (x === void 0 && (x = "undefined"), x === null && (x = "null"), x === !1 && (x = "false"), x.toString().toLowerCase().indexOf(U.trim()) !== -1), M = (x, U, R, te) => U ? x.filter((be) => w(te(be, R), U)).sort((be, vt) => te(be, R).length - te(vt, R).length) : x, I = (x, U) => (R) => R.reduce((te, be) => be[x]?.length ? (te.push({ $groupLabel: be[U], $isLabel: !0 }), te.concat(be[x])) : te, []), b = (x) => x.filter((U) => !U.$isLabel), g = (x, U, R, te, be) => (vt) => vt.map((pt) => {
3848
3848
  if (!pt[R])
3849
3849
  return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."), [];
3850
3850
  const Wt = M(pt[R], x, U, be);
3851
3851
  return Wt.length ? { [te]: pt[te], [R]: Wt } : [];
3852
- }), O = (...x) => (U) => x.reduce((R, te) => te(R), U), _ = z(() => {
3852
+ }), k = (...x) => (U) => x.reduce((R, te) => te(R), U), _ = z(() => {
3853
3853
  const x = t.modelValue;
3854
3854
  return x || x === 0 ? Array.isArray(x) ? x : [x] : [];
3855
- }), q = z(() => {
3855
+ }), K = z(() => {
3856
3856
  const x = s.value || "", U = x.toLowerCase().trim();
3857
3857
  let R = t.options.concat();
3858
- return t.internalSearch ? R = t.groupValues ? Ke(R, U, t.label) : M(R, U, t.label, t.customLabel) : R = t.groupValues ? E(t.groupValues, t.groupLabel)(R) : R, R = t.hideSelected ? R.filter((te) => !Ee(te)) : R, t.taggable && U.length && !Be(U) && (t.tagPosition === "bottom" ? R.push({ isTag: !0, label: x }) : R.unshift({ isTag: !0, label: x })), R.slice(0, t.optionsLimit);
3858
+ return t.internalSearch ? R = t.groupValues ? Ke(R, U, t.label) : M(R, U, t.label, t.customLabel) : R = t.groupValues ? I(t.groupValues, t.groupLabel)(R) : R, R = t.hideSelected ? R.filter((te) => !Ee(te)) : R, t.taggable && U.length && !Be(U) && (t.tagPosition === "bottom" ? R.push({ isTag: !0, label: x }) : R.unshift({ isTag: !0, label: x })), R.slice(0, t.optionsLimit);
3859
3859
  }), Z = z(
3860
3860
  () => t.trackBy ? _.value.map((x) => x[t.trackBy]) : _.value
3861
3861
  ), N = z(() => (t.groupValues ? je(t.options) : t.options).map((U) => t.customLabel(U, t.label).toString().toLowerCase())), J = z(
@@ -3866,13 +3866,13 @@ const bo = [
3866
3866
  () => !_.value.length && (!t.searchable || !d.value)
3867
3867
  ), j = z(
3868
3868
  () => t.multiple ? _.value.slice(0, t.limit) : []
3869
- ), X = z(() => _.value[0]), de = z(() => t.showLabels ? t.deselectLabel : ""), re = z(() => t.showLabels ? t.deselectGroupLabel : ""), k = z(() => t.showLabels ? t.selectLabel : ""), G = z(() => t.showLabels ? t.selectGroupLabel : ""), Q = z(() => t.showLabels ? t.selectedLabel : ""), ee = z(() => t.searchable || t.multiple && t.modelValue?.length ? d.value ? { width: "100%" } : { width: "0", position: "absolute", padding: "0" } : ""), ie = z(
3869
+ ), X = z(() => _.value[0]), de = z(() => t.showLabels ? t.deselectLabel : ""), re = z(() => t.showLabels ? t.deselectGroupLabel : ""), O = z(() => t.showLabels ? t.selectLabel : ""), G = z(() => t.showLabels ? t.selectGroupLabel : ""), Q = z(() => t.showLabels ? t.selectedLabel : ""), ee = z(() => t.searchable || t.multiple && t.modelValue?.length ? d.value ? { width: "100%" } : { width: "0", position: "absolute", padding: "0" } : ""), ie = z(
3870
3870
  () => t.options.length ? { display: "inline-block" } : { display: "block" }
3871
- ), ve = z(() => ["above", "top"].includes(t.openDirection) ? !0 : ["below", "bottom"].includes(t.openDirection) ? !1 : f.value === "above"), we = z(() => $.value * t.optionHeight), xe = z(() => v.value / t.optionHeight), Ke = (x, U, R) => O(
3871
+ ), ve = z(() => ["above", "top"].includes(t.openDirection) ? !0 : ["below", "bottom"].includes(t.openDirection) ? !1 : f.value === "above"), we = z(() => $.value * t.optionHeight), xe = z(() => v.value / t.optionHeight), Ke = (x, U, R) => k(
3872
3872
  g(U, R, t.groupValues, t.groupLabel, t.customLabel),
3873
- E(t.groupValues, t.groupLabel)
3874
- )(x), je = (x) => O(
3875
- E(t.groupValues, t.groupLabel),
3873
+ I(t.groupValues, t.groupLabel)
3874
+ )(x), je = (x) => k(
3875
+ I(t.groupValues, t.groupLabel),
3876
3876
  b
3877
3877
  )(x), Le = (x) => {
3878
3878
  s.value = x;
@@ -3895,7 +3895,7 @@ const bo = [
3895
3895
  a("tag", x.label, t.id), s.value = "", t.closeOnSelect && !t.multiple && fe();
3896
3896
  else {
3897
3897
  if (Ee(x)) {
3898
- U !== "Tab" && I(x);
3898
+ U !== "Tab" && E(x);
3899
3899
  return;
3900
3900
  }
3901
3901
  a("update:modelValue", t.multiple ? _.value.concat([x]) : x), a("select", x, t.id), t.clearOnSelect && (s.value = "");
@@ -3921,7 +3921,7 @@ const bo = [
3921
3921
  }
3922
3922
  t.closeOnSelect && fe();
3923
3923
  }
3924
- }, V = (x) => x[t.groupValues].every((U) => Ee(U) || Fe(U)), ce = (x) => x[t.groupValues].every(Fe), I = (x, U = !0) => {
3924
+ }, V = (x) => x[t.groupValues].every((U) => Ee(U) || Fe(U)), ce = (x) => x[t.groupValues].every(Fe), E = (x, U = !0) => {
3925
3925
  if (t.disabled || x?.$isDisabled) return;
3926
3926
  if (!t.allowEmpty && _.value.length <= 1) {
3927
3927
  fe();
@@ -3930,13 +3930,13 @@ const bo = [
3930
3930
  const R = typeof x == "object" ? Z.value.indexOf(x[t.trackBy]) : Z.value.indexOf(x), te = t.multiple ? _.value.slice(0, R).concat(_.value.slice(R + 1)) : null;
3931
3931
  a("update:modelValue", te), a("remove", x, t.id), t.closeOnSelect && U && fe();
3932
3932
  }, F = () => {
3933
- t.blockKeys.indexOf("Delete") === -1 && s.value.length === 0 && Array.isArray(_.value) && _.value.length && I(_.value[_.value.length - 1], !1);
3934
- }, K = () => {
3935
- d.value || t.disabled || (ft(), t.groupValues && $.value === 0 && q.value.length && ($.value = 1), d.value = !0, t.searchable ? (t.preserveSearch || (s.value = ""), t.preventAutofocus || Se(() => r.value?.focus())) : t.preventAutofocus || l.value?.focus(), a("open", t.id));
3933
+ t.blockKeys.indexOf("Delete") === -1 && s.value.length === 0 && Array.isArray(_.value) && _.value.length && E(_.value[_.value.length - 1], !1);
3934
+ }, q = () => {
3935
+ d.value || t.disabled || (ft(), t.groupValues && $.value === 0 && K.value.length && ($.value = 1), d.value = !0, t.searchable ? (t.preserveSearch || (s.value = ""), t.preventAutofocus || Se(() => r.value?.focus())) : t.preventAutofocus || l.value?.focus(), a("open", t.id));
3936
3936
  }, fe = () => {
3937
3937
  d.value && (d.value = !1, t.searchable ? r.value?.blur() : l.value?.blur(), t.preserveSearch || (s.value = ""), a("close", Gn(), t.id));
3938
3938
  }, Pe = () => {
3939
- d.value ? fe() : K();
3939
+ d.value ? fe() : q();
3940
3940
  }, ft = () => {
3941
3941
  if (typeof window > "u") return;
3942
3942
  const x = l.value.getBoundingClientRect().top, U = window.innerHeight - l.value.getBoundingClientRect().bottom;
@@ -3956,24 +3956,24 @@ const bo = [
3956
3956
  { "multiselect__option--group-selected": V(R) }
3957
3957
  ] : "multiselect__option--disabled";
3958
3958
  }, Kt = ({ key: x } = "Enter") => {
3959
- q.value.length > 0 && A(q.value[$.value], x), qn();
3959
+ K.value.length > 0 && A(K.value[$.value], x), qn();
3960
3960
  }, qe = () => {
3961
- $.value < q.value.length - 1 && ($.value++, i.value.scrollTop <= we.value - (xe.value - 1) * t.optionHeight && (i.value.scrollTop = we.value - (xe.value - 1) * t.optionHeight), q.value[$.value]?.$isLabel && !t.groupSelect && qe()), m.value = !0;
3961
+ $.value < K.value.length - 1 && ($.value++, i.value.scrollTop <= we.value - (xe.value - 1) * t.optionHeight && (i.value.scrollTop = we.value - (xe.value - 1) * t.optionHeight), K.value[$.value]?.$isLabel && !t.groupSelect && qe()), m.value = !0;
3962
3962
  }, $t = () => {
3963
- $.value > 0 ? ($.value--, i.value.scrollTop >= we.value && (i.value.scrollTop = we.value), q.value[$.value]?.$isLabel && !t.groupSelect && $t()) : q.value[$.value]?.$isLabel && !t.groupSelect && qe(), m.value = !0;
3963
+ $.value > 0 ? ($.value--, i.value.scrollTop >= we.value && (i.value.scrollTop = we.value), K.value[$.value]?.$isLabel && !t.groupSelect && $t()) : K.value[$.value]?.$isLabel && !t.groupSelect && qe(), m.value = !0;
3964
3964
  }, qn = () => {
3965
3965
  t.closeOnSelect && ($.value = 0, i.value && (i.value.scrollTop = 0));
3966
3966
  }, Wn = () => {
3967
- $.value >= q.value.length - 1 && ($.value = q.value.length ? q.value.length - 1 : 0), q.value.length > 0 && q.value[$.value]?.$isLabel && !t.groupSelect && qe();
3967
+ $.value >= K.value.length - 1 && ($.value = K.value.length ? K.value.length - 1 : 0), K.value.length > 0 && K.value[$.value]?.$isLabel && !t.groupSelect && qe();
3968
3968
  }, qt = (x) => {
3969
3969
  $.value = x, m.value = !0;
3970
3970
  };
3971
3971
  return le(() => _.value, () => {
3972
3972
  t.resetAfter && _.value.length && (s.value = "", a("update:modelValue", t.multiple ? [] : null));
3973
- }, { deep: !0 }), le(s, () => a("search-change", s.value)), le(q, () => Wn()), le(d, () => m.value = !1), le($, () => {
3973
+ }, { deep: !0 }), le(s, () => a("search-change", s.value)), le(K, () => Wn()), le(d, () => m.value = !1), le($, () => {
3974
3974
  r.value?.setAttribute("aria-activedescendant", `${t.id}-${$.value}`);
3975
3975
  }), pe(() => {
3976
- !t.multiple && t.max && console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."), t.preselectFirst && !_.value.length && t.options.length && A(q.value[0]);
3976
+ !t.multiple && t.max && console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."), t.preselectFirst && !_.value.length && t.options.length && A(K.value[0]);
3977
3977
  }), (x, U) => (u(), c("div", {
3978
3978
  ref_key: "multiselect",
3979
3979
  ref: l,
@@ -3984,7 +3984,7 @@ const bo = [
3984
3984
  "multiselect--above": ve.value,
3985
3985
  "multiselect--has-options-group": C.value
3986
3986
  }, "multiselect flex flex-v-center"]),
3987
- onFocus: K,
3987
+ onFocus: q,
3988
3988
  onBlur: U[2] || (U[2] = (R) => e.searchable ? !1 : fe),
3989
3989
  onKeydown: [
3990
3990
  me(ne(qe, ["self", "prevent"]), ["down"]),
@@ -4009,7 +4009,7 @@ const bo = [
4009
4009
  }, [
4010
4010
  W(x.$slots, "selection", {
4011
4011
  search: s.value,
4012
- remove: I,
4012
+ remove: E,
4013
4013
  values: j.value,
4014
4014
  isOpen: d.value
4015
4015
  }, () => [
@@ -4018,7 +4018,7 @@ const bo = [
4018
4018
  key: te,
4019
4019
  option: R,
4020
4020
  search: s.value,
4021
- remove: I
4021
+ remove: E
4022
4022
  }, () => [
4023
4023
  p("span", li, [
4024
4024
  p("span", {
@@ -4026,8 +4026,8 @@ const bo = [
4026
4026
  }, null, 8, ri),
4027
4027
  p("i", {
4028
4028
  tabindex: "1",
4029
- onKeypress: me(ne((be) => I(R), ["prevent"]), ["enter"]),
4030
- onMousedown: ne((be) => I(R), ["prevent"]),
4029
+ onKeypress: me(ne((be) => E(R), ["prevent"]), ["enter"]),
4030
+ onMousedown: ne((be) => E(R), ["prevent"]),
4031
4031
  class: "multiselect__tag-icon"
4032
4032
  }, null, 40, oi)
4033
4033
  ])
@@ -4067,7 +4067,7 @@ const bo = [
4067
4067
  disabled: e.disabled,
4068
4068
  tabindex: e.tabindex,
4069
4069
  onInput: U[0] || (U[0] = (R) => Le(R.target.value)),
4070
- onFocus: ne(K, ["prevent"]),
4070
+ onFocus: ne(q, ["prevent"]),
4071
4071
  onBlur: ne(fe, ["prevent"]),
4072
4072
  onKeyup: me(fe, ["esc"]),
4073
4073
  onKeydown: [
@@ -4102,7 +4102,7 @@ const bo = [
4102
4102
  default: se(() => [
4103
4103
  he(p("div", {
4104
4104
  class: "multiselect__content-wrapper",
4105
- onFocus: K,
4105
+ onFocus: q,
4106
4106
  tabindex: "-1",
4107
4107
  onMousedown: U[1] || (U[1] = ne(() => {
4108
4108
  }, ["prevent"])),
@@ -4124,7 +4124,7 @@ const bo = [
4124
4124
  ])
4125
4125
  ])
4126
4126
  ])) : T("", !0),
4127
- !e.max || _.value.length < e.max ? (u(!0), c(ae, { key: 1 }, ue(q.value, (R, te) => (u(), c("li", {
4127
+ !e.max || _.value.length < e.max ? (u(!0), c(ae, { key: 1 }, ue(K.value, (R, te) => (u(), c("li", {
4128
4128
  class: "multiselect__element",
4129
4129
  key: te,
4130
4130
  id: `${e.id}-${te}`,
@@ -4135,7 +4135,7 @@ const bo = [
4135
4135
  class: H([zn(te, R), "multiselect__option"]),
4136
4136
  onClick: ne((be) => A(R), ["stop"]),
4137
4137
  onMouseenter: ne((be) => qt(te), ["self"]),
4138
- "data-select": R?.isTag ? e.tagPlaceholder : k.value,
4138
+ "data-select": R?.isTag ? e.tagPlaceholder : O.value,
4139
4139
  "data-selected": Q.value,
4140
4140
  "data-deselect": de.value
4141
4141
  }, [
@@ -4171,7 +4171,7 @@ const bo = [
4171
4171
  ])
4172
4172
  ])
4173
4173
  ], 512), [
4174
- [_e, e.showNoResults && q.value.length === 0 && s.value && !e.loading]
4174
+ [_e, e.showNoResults && K.value.length === 0 && s.value && !e.loading]
4175
4175
  ]),
4176
4176
  he(p("li", null, [
4177
4177
  p("span", hi, [
@@ -4180,7 +4180,7 @@ const bo = [
4180
4180
  ])
4181
4181
  ])
4182
4182
  ], 512), [
4183
- [_e, e.showNoOptions && (e.options.length === 0 || C.value && q.value.length === 0) && !s.value && !e.loading]
4183
+ [_e, e.showNoOptions && (e.options.length === 0 || C.value && K.value.length === 0) && !s.value && !e.loading]
4184
4184
  ]),
4185
4185
  W(x.$slots, "afterList")
4186
4186
  ], 12, ui)
@@ -4594,7 +4594,7 @@ const Wi = (e) => {
4594
4594
  return console.warn(`Capacitor plugin "${v}" already registered. Cannot register plugins twice.`), m.proxy;
4595
4595
  const P = l(), w = o(v);
4596
4596
  let M;
4597
- const E = async () => (!M && P in $ ? M = typeof $[P] == "function" ? M = await $[P]() : M = $[P] : n !== null && !M && "web" in $ && (M = typeof $.web == "function" ? M = await $.web() : M = $.web), M), b = (N, J) => {
4597
+ const I = async () => (!M && P in $ ? M = typeof $[P] == "function" ? M = await $[P]() : M = $[P] : n !== null && !M && "web" in $ && (M = typeof $.web == "function" ? M = await $.web() : M = $.web), M), b = (N, J) => {
4598
4598
  var C, S;
4599
4599
  if (w) {
4600
4600
  const L = w?.methods.find((j) => J === j.name);
@@ -4610,7 +4610,7 @@ const Wi = (e) => {
4610
4610
  }, g = (N) => {
4611
4611
  let J;
4612
4612
  const C = (...S) => {
4613
- const L = E().then((j) => {
4613
+ const L = I().then((j) => {
4614
4614
  const X = b(j, N);
4615
4615
  if (X) {
4616
4616
  const de = X(...S);
@@ -4625,8 +4625,8 @@ const Wi = (e) => {
4625
4625
  writable: !1,
4626
4626
  configurable: !1
4627
4627
  }), C;
4628
- }, O = g("addListener"), _ = g("removeListener"), q = (N, J) => {
4629
- const C = O({ eventName: N }, J), S = async () => {
4628
+ }, k = g("addListener"), _ = g("removeListener"), K = (N, J) => {
4629
+ const C = k({ eventName: N }, J), S = async () => {
4630
4630
  const j = await C;
4631
4631
  _({
4632
4632
  eventName: N,
@@ -4645,7 +4645,7 @@ const Wi = (e) => {
4645
4645
  case "toJSON":
4646
4646
  return () => ({});
4647
4647
  case "addListener":
4648
- return w ? q : O;
4648
+ return w ? K : k;
4649
4649
  case "removeListener":
4650
4650
  return _;
4651
4651
  default:
@@ -4887,7 +4887,7 @@ Gt("CapacitorHttp", {
4887
4887
  web: () => new ns()
4888
4888
  });
4889
4889
  Gt("Preferences", {
4890
- web: () => import("./web-cWW0_Tbe.js").then((e) => new e.PreferencesWeb())
4890
+ web: () => import("./web-HreCVhdf.js").then((e) => new e.PreferencesWeb())
4891
4891
  });
4892
4892
  const Ne = at({
4893
4893
  loading: !1,
@@ -5172,7 +5172,7 @@ const ys = /* @__PURE__ */ ke(ps, [["render", gs]]), bs = Xn({
5172
5172
  for (let P = 0; P <= f; P++) {
5173
5173
  const M = d[P].path.split("/").filter(Boolean);
5174
5174
  if (P > 0) {
5175
- const E = d[P - 1].path.split("/").filter(Boolean), b = M.slice(E.length);
5175
+ const I = d[P - 1].path.split("/").filter(Boolean), b = M.slice(I.length);
5176
5176
  $.push(...b);
5177
5177
  } else
5178
5178
  $.push(...M);
@@ -5383,8 +5383,8 @@ const ys = /* @__PURE__ */ ke(ps, [["render", gs]]), bs = Xn({
5383
5383
  function $(m, P) {
5384
5384
  const w = [];
5385
5385
  for (let M = a.options.dateStart || 0; M < P - a.options.dateStart; M++) {
5386
- const E = new Date(m);
5387
- E.setDate(m.getDate() + M), E.setHours(0, 0, 0, 0), w.push(E);
5386
+ const I = new Date(m);
5387
+ I.setDate(m.getDate() + M), I.setHours(0, 0, 0, 0), w.push(I);
5388
5388
  }
5389
5389
  return w;
5390
5390
  }
@@ -5402,7 +5402,7 @@ const ys = /* @__PURE__ */ ke(ps, [["render", gs]]), bs = Xn({
5402
5402
  p("span", Ks, D(w.toLocaleDateString(a.locale || "en", { month: "short" }).toUpperCase()), 1)
5403
5403
  ])) : T("", !0),
5404
5404
  p("div", {
5405
- onClick: (E) => s(w),
5405
+ onClick: (I) => s(w),
5406
5406
  class: H([{
5407
5407
  "bg-main t-white": i.value && i.value.toDateString() === w.toDateString(),
5408
5408
  "bg-second t-white": d(w)
@@ -5769,8 +5769,8 @@ function yd() {
5769
5769
  return !!re;
5770
5770
  if (!re)
5771
5771
  return !1;
5772
- const k = re.rights[S];
5773
- return k ? k[L] === !0 : !1;
5772
+ const O = re.rights[S];
5773
+ return O ? O[L] === !0 : !1;
5774
5774
  }, a = () => Ne.options.currency || "$", l = (C) => {
5775
5775
  try {
5776
5776
  if (C == null)
@@ -5783,7 +5783,7 @@ function yd() {
5783
5783
  }, r = (C = "", S = null) => {
5784
5784
  if (S == null && typeof C != "string") return "";
5785
5785
  if (typeof S == "string") {
5786
- const L = typeof C == "string" ? C.trim().split(/\s+/) : [], j = S.trim().split(/\s+/), X = new Set(j), de = L.map((k) => X.has(k) && j.find((G) => G !== k) || k), re = j.filter((k) => !L.includes(k));
5786
+ const L = typeof C == "string" ? C.trim().split(/\s+/) : [], j = S.trim().split(/\s+/), X = new Set(j), de = L.map((O) => X.has(O) && j.find((G) => G !== O) || O), re = j.filter((O) => !L.includes(O));
5787
5787
  return [.../* @__PURE__ */ new Set([...de, ...re])].join(" ");
5788
5788
  }
5789
5789
  return typeof S == "object" && S !== null ? (typeof C == "string" ? C.trim().split(/\s+/) : []).map((j) => S[j] ?? j).join(" ") : typeof C == "string" ? C.trim() : "";
@@ -5840,18 +5840,18 @@ function yd() {
5840
5840
  return S.length > 0 ? JSON.stringify(S) : void 0;
5841
5841
  }
5842
5842
  const v = (C, S, L, j) => {
5843
- let X = S ? s(S) : "", de = L ? s(L) : "", re = j ? s(j) : "", k = "/marketplace";
5844
- return k += X ? `/${X}` : "", k += X && de ? `/${de}` : "", k += X && de && re ? `/${re}` : "", C && C.length && (k += `?categories=${C.join(",")}`), k;
5843
+ let X = S ? s(S) : "", de = L ? s(L) : "", re = j ? s(j) : "", O = "/marketplace";
5844
+ return O += X ? `/${X}` : "", O += X && de ? `/${de}` : "", O += X && de && re ? `/${re}` : "", C && C.length && (O += `?categories=${C.join(",")}`), O;
5845
5845
  }, $ = (C, S, L) => {
5846
5846
  let j = C ? s(C) : "", X = S ? s(S) : "", de = L ? s(L) : "", re = "/spots";
5847
5847
  return re += j ? `/${j}` : "", re += j && X ? `/${X}` : "", re += j && X && de ? `/${de}` : "", re;
5848
5848
  }, m = typeof window < "u" && typeof document < "u", P = (C) => m ? getComputedStyle(document.documentElement).getPropertyValue(C).trim() : "", w = (C) => m ? window.matchMedia(C) : { matches: !1 }, M = (C) => {
5849
5849
  const S = P(C);
5850
5850
  return w(`(max-width: ${S})`).matches;
5851
- }, E = (C) => {
5851
+ }, I = (C) => {
5852
5852
  const S = P(C);
5853
5853
  return w(`(min-width: ${S})`).matches;
5854
- }, b = () => M("--flip-phone-max"), g = () => M("--phone-landscape-max"), O = () => {
5854
+ }, b = () => M("--flip-phone-max"), g = () => M("--phone-landscape-max"), k = () => {
5855
5855
  const C = P("--tablet-portrait-min"), S = P("--tablet-portrait-max");
5856
5856
  return w(`(min-width: ${C}) and (max-width: ${S})`).matches;
5857
5857
  }, _ = () => {
@@ -5875,12 +5875,12 @@ function yd() {
5875
5875
  // Брейкпоинты
5876
5876
  getCssVar: P,
5877
5877
  isMediaMax: M,
5878
- isMediaMin: E,
5878
+ isMediaMin: I,
5879
5879
  isFlipPhone: b,
5880
5880
  isPhone: g,
5881
- isTabletPortrait: O,
5881
+ isTabletPortrait: k,
5882
5882
  isTabletLandscape: _,
5883
- isTablet: () => O() || _(),
5883
+ isTablet: () => k() || _(),
5884
5884
  isDesktop: () => {
5885
5885
  const C = P("--desktop-min"), S = P("--desktop-max");
5886
5886
  return w(`(min-width: ${C}) and (max-width: ${S})`).matches;
@@ -5889,7 +5889,7 @@ function yd() {
5889
5889
  const C = P("--xl-desktop-min"), S = P("--xl-desktop-max");
5890
5890
  return w(`(min-width: ${C}) and (max-width: ${S})`).matches;
5891
5891
  },
5892
- isXXLDesktop: () => E("--xxl-desktop-min")
5892
+ isXXLDesktop: () => I("--xxl-desktop-min")
5893
5893
  };
5894
5894
  }
5895
5895
  const bd = {
@@ -5977,8 +5977,8 @@ const bd = {
5977
5977
  });
5978
5978
  }, { immediate: !0, deep: !0 }), le(a, (b) => {
5979
5979
  Object.keys(b).forEach((g) => {
5980
- const O = t.value.find((_) => _.value === g);
5981
- O && (O.type === "checkbox" ? s[g] = [...b[g] || []] : O.type === "range" ? s[g] = { ...b[g] || { min: "", max: "" } } : s[g] = b[g]);
5980
+ const k = t.value.find((_) => _.value === g);
5981
+ k && (k.type === "checkbox" ? s[g] = [...b[g] || []] : k.type === "range" ? s[g] = { ...b[g] || { min: "", max: "" } } : s[g] = b[g]);
5982
5982
  });
5983
5983
  }, { deep: !0 });
5984
5984
  const d = z(() => Object.entries(a.value).filter(([b, g]) => Array.isArray(g) ? g.length > 0 : typeof g == "object" && g !== null ? g.min || g.max : g != null).length), f = (b) => {
@@ -5999,48 +5999,48 @@ const bd = {
5999
5999
  if (b.type === "date")
6000
6000
  return !g || !g.start || !g.end ? "" : `${r(g.start, { dayMonth: !0, language: "en" })} - ${r(g.end, { dayMonth: !0, language: "en" })}`;
6001
6001
  if (b.type === "radio") {
6002
- const O = b.options.find((_) => _.value === g);
6003
- return O ? `(${O.label})` : "";
6002
+ const k = b.options.find((_) => _.value === g);
6003
+ return k ? `(${k.label})` : "";
6004
6004
  }
6005
6005
  return "";
6006
6006
  }, P = (b) => {
6007
6007
  a.value[b] = s[b], o[b] = !1, l("select", { filter: b, value: s[b] });
6008
6008
  }, w = (b) => {
6009
- const g = t.value.find((O) => O.value === b);
6009
+ const g = t.value.find((k) => k.value === b);
6010
6010
  g && (g.type === "checkbox" ? s[b] = [...a.value[b] || []] : g.type === "range" ? s[b] = { ...a.value[b] || { min: "", max: "" } } : (g.type, s[b] = a.value[b] || null)), o[b] = !1;
6011
6011
  }, M = () => {
6012
6012
  Object.entries(s).forEach(([b, g]) => {
6013
6013
  a.value[b] !== g && (a.value[b] = g, l("select", { filter: b, value: g }));
6014
6014
  }), i.value = !1;
6015
- }, E = () => {
6015
+ }, I = () => {
6016
6016
  t.value.forEach((b) => {
6017
6017
  b.type === "checkbox" ? (s[b.value] = [], a.value[b.value] = []) : b.type === "range" ? (s[b.value] = { min: "", max: "" }, a.value[b.value] = { min: "", max: "" }) : (b.type, s[b.value] = null, a.value[b.value] = null), l("select", { filter: b.value, value: null });
6018
6018
  });
6019
6019
  };
6020
6020
  return (b, g) => (u(), c("div", Od, [
6021
6021
  p("button", {
6022
- onClick: g[0] || (g[0] = (O) => i.value = !0),
6022
+ onClick: g[0] || (g[0] = (k) => i.value = !0),
6023
6023
  class: H(["pd-small radius-medium bg-light flex-v-center flex gap-micro cursor-pointer", { "bg-main": d.value > 0 }])
6024
6024
  }, [
6025
6025
  Y(wd, { class: "i-medium" }),
6026
6026
  g[2] || (g[2] = p("span", { class: "h-1r" }, null, -1)),
6027
6027
  d.value ? (u(), c("span", Pd, D(d.value), 1)) : T("", !0)
6028
6028
  ], 2),
6029
- (u(!0), c(ae, null, ue(t.value, (O) => (u(), c("button", {
6030
- key: O.value,
6031
- onClick: (_) => f(O.value),
6032
- class: H(["pd-small radius-medium bg-light cursor-pointer flex-v-center flex gap-micro", { "selected bg-main": v(O) }])
6029
+ (u(!0), c(ae, null, ue(t.value, (k) => (u(), c("button", {
6030
+ key: k.value,
6031
+ onClick: (_) => f(k.value),
6032
+ class: H(["pd-small radius-medium bg-light cursor-pointer flex-v-center flex gap-micro", { "selected bg-main": v(k) }])
6033
6033
  }, [
6034
- O.type === "date" ? (u(), oe(kd, {
6034
+ k.type === "date" ? (u(), oe(kd, {
6035
6035
  key: 0,
6036
6036
  class: "mn-r-micro i-medium"
6037
6037
  })) : T("", !0),
6038
- p("span", Td, D(O.type === "date" && $(O) ? m(O) : O.title), 1),
6039
- $(O) && O.type !== "date" ? (u(), c("span", Ed, D(m(O)), 1)) : T("", !0)
6038
+ p("span", Td, D(k.type === "date" && $(k) ? m(k) : k.title), 1),
6039
+ $(k) && k.type !== "date" ? (u(), c("span", Ed, D(m(k)), 1)) : T("", !0)
6040
6040
  ], 10, _d))), 128)),
6041
6041
  Y(It, {
6042
6042
  isPopupOpen: i.value,
6043
- onClosePopup: g[1] || (g[1] = (O) => i.value = !1),
6043
+ onClosePopup: g[1] || (g[1] = (k) => i.value = !1),
6044
6044
  align: b.isPhone() ? "bottom center" : "center center",
6045
6045
  class: "w-min-20r bg-white radius-medium mobile:radius-zero mobile:radius-tr-medium mobile:radius-tl-medium mobile:w-100 pd-medium"
6046
6046
  }, {
@@ -6049,51 +6049,51 @@ const bd = {
6049
6049
  p("h3", { class: "flex-child-full" }, "Filters")
6050
6050
  ], -1)),
6051
6051
  p("div", Id, [
6052
- (u(!0), c(ae, null, ue(t.value, (O) => (u(), c("div", {
6053
- key: O.value,
6052
+ (u(!0), c(ae, null, ue(t.value, (k) => (u(), c("div", {
6053
+ key: k.value,
6054
6054
  class: "mn-b-medium"
6055
6055
  }, [
6056
- p("h4", Ld, D(O.title), 1),
6057
- O.type === "checkbox" ? (u(), c("div", Dd, [
6058
- (u(!0), c(ae, null, ue(O.options, (_) => (u(), oe(St, {
6056
+ p("h4", Ld, D(k.title), 1),
6057
+ k.type === "checkbox" ? (u(), c("div", Dd, [
6058
+ (u(!0), c(ae, null, ue(k.options, (_) => (u(), oe(St, {
6059
6059
  key: _.value,
6060
6060
  label: _.label,
6061
6061
  value: _.value,
6062
- radio: s[O.value],
6063
- "onUpdate:radio": (q) => s[O.value] = q,
6062
+ radio: s[k.value],
6063
+ "onUpdate:radio": (K) => s[k.value] = K,
6064
6064
  mode: "checkbox",
6065
6065
  class: "mn-b-micro"
6066
6066
  }, null, 8, ["label", "value", "radio", "onUpdate:radio"]))), 128))
6067
- ])) : O.type === "radio" ? (u(), c("div", Md, [
6068
- (u(!0), c(ae, null, ue(O.options, (_) => (u(), c("div", {
6067
+ ])) : k.type === "radio" ? (u(), c("div", Md, [
6068
+ (u(!0), c(ae, null, ue(k.options, (_) => (u(), c("div", {
6069
6069
  key: _.value,
6070
- onClick: (q) => s[O.value] = _.value,
6070
+ onClick: (K) => s[k.value] = _.value,
6071
6071
  class: H(["pd-small radius-small cursor-pointer mn-b-micro", {
6072
- "bg-main": s[O.value] === _.value,
6073
- "bg-light": s[O.value] !== _.value
6072
+ "bg-main": s[k.value] === _.value,
6073
+ "bg-light": s[k.value] !== _.value
6074
6074
  }])
6075
6075
  }, D(_.label), 11, Ad))), 128))
6076
- ])) : O.type === "range" ? (u(), c("div", Fd, [
6076
+ ])) : k.type === "range" ? (u(), c("div", Fd, [
6077
6077
  Y(Re, {
6078
- field: s[O.value].min,
6079
- "onUpdate:field": (_) => s[O.value].min = _,
6080
- placeholder: O.minPlaceholder || "Min",
6078
+ field: s[k.value].min,
6079
+ "onUpdate:field": (_) => s[k.value].min = _,
6080
+ placeholder: k.minPlaceholder || "Min",
6081
6081
  type: "number",
6082
6082
  label: b.returnCurrency(),
6083
6083
  class: "w-50 bg-light pd-small radius-small"
6084
6084
  }, null, 8, ["field", "onUpdate:field", "placeholder", "label"]),
6085
6085
  Y(Re, {
6086
- field: s[O.value].max,
6087
- "onUpdate:field": (_) => s[O.value].max = _,
6088
- placeholder: O.maxPlaceholder || "Max",
6086
+ field: s[k.value].max,
6087
+ "onUpdate:field": (_) => s[k.value].max = _,
6088
+ placeholder: k.maxPlaceholder || "Max",
6089
6089
  type: "number",
6090
6090
  label: b.returnCurrency(),
6091
6091
  class: "w-50 bg-light pd-small radius-small"
6092
6092
  }, null, 8, ["field", "onUpdate:field", "placeholder", "label"])
6093
- ])) : O.type === "date" ? (u(), c("div", Nd, [
6093
+ ])) : k.type === "date" ? (u(), c("div", Nd, [
6094
6094
  Y(lt, {
6095
- date: s[O.value],
6096
- "onUpdate:date": (_) => s[O.value] = _,
6095
+ date: s[k.value],
6096
+ "onUpdate:date": (_) => s[k.value] = _,
6097
6097
  allowRange: !0,
6098
6098
  disablePastDates: !0,
6099
6099
  class: "bg-light radius-small"
@@ -6107,63 +6107,63 @@ const bd = {
6107
6107
  class: "button bg-main flex-child-full"
6108
6108
  }, " Apply "),
6109
6109
  p("button", {
6110
- onClick: E,
6110
+ onClick: I,
6111
6111
  class: "button bg-light"
6112
6112
  }, " Reset Filters ")
6113
6113
  ])
6114
6114
  ]),
6115
6115
  _: 1
6116
6116
  }, 8, ["isPopupOpen", "align"]),
6117
- (u(!0), c(ae, null, ue(t.value, (O) => (u(), oe(It, {
6118
- key: `popup-${O.value}`,
6119
- isPopupOpen: o[O.value],
6120
- onClosePopup: (_) => o[O.value] = !1,
6117
+ (u(!0), c(ae, null, ue(t.value, (k) => (u(), oe(It, {
6118
+ key: `popup-${k.value}`,
6119
+ isPopupOpen: o[k.value],
6120
+ onClosePopup: (_) => o[k.value] = !1,
6121
6121
  align: b.isPhone() ? "bottom center" : "center center",
6122
6122
  class: "bg-white radius-medium mobile:radius-zero mobile:radius-tr-medium mobile:radius-tl-medium mobile:w-100 pd-medium"
6123
6123
  }, {
6124
6124
  default: se(() => [
6125
- p("h4", Rd, D(O.title), 1),
6126
- O.type === "checkbox" ? (u(), c("div", jd, [
6127
- (u(!0), c(ae, null, ue(O.options, (_) => (u(), oe(St, {
6125
+ p("h4", Rd, D(k.title), 1),
6126
+ k.type === "checkbox" ? (u(), c("div", jd, [
6127
+ (u(!0), c(ae, null, ue(k.options, (_) => (u(), oe(St, {
6128
6128
  key: _.value,
6129
6129
  label: _.label,
6130
6130
  value: _.value,
6131
- radio: s[O.value],
6132
- "onUpdate:radio": (q) => s[O.value] = q,
6131
+ radio: s[k.value],
6132
+ "onUpdate:radio": (K) => s[k.value] = K,
6133
6133
  mode: "checkbox",
6134
6134
  class: "mn-b-micro"
6135
6135
  }, null, 8, ["label", "value", "radio", "onUpdate:radio"]))), 128))
6136
- ])) : O.type === "radio" ? (u(), c("div", Bd, [
6137
- (u(!0), c(ae, null, ue(O.options, (_) => (u(), c("div", {
6136
+ ])) : k.type === "radio" ? (u(), c("div", Bd, [
6137
+ (u(!0), c(ae, null, ue(k.options, (_) => (u(), c("div", {
6138
6138
  key: _.value,
6139
- onClick: (q) => s[O.value] = _.value,
6139
+ onClick: (K) => s[k.value] = _.value,
6140
6140
  class: H(["pd-small radius-small cursor-pointer mn-b-micro", {
6141
- "bg-main": s[O.value] === _.value,
6142
- "bg-light": s[O.value] !== _.value
6141
+ "bg-main": s[k.value] === _.value,
6142
+ "bg-light": s[k.value] !== _.value
6143
6143
  }])
6144
6144
  }, D(_.label), 11, Ud))), 128))
6145
- ])) : O.type === "range" ? (u(), c("div", Vd, [
6145
+ ])) : k.type === "range" ? (u(), c("div", Vd, [
6146
6146
  Y(Re, {
6147
- field: s[O.value].min,
6148
- "onUpdate:field": (_) => s[O.value].min = _,
6149
- placeholder: O.minPlaceholder || "Min",
6147
+ field: s[k.value].min,
6148
+ "onUpdate:field": (_) => s[k.value].min = _,
6149
+ placeholder: k.minPlaceholder || "Min",
6150
6150
  type: "number",
6151
6151
  label: b.returnCurrency(),
6152
6152
  class: "w-50 bg-light pd-small radius-small"
6153
6153
  }, null, 8, ["field", "onUpdate:field", "placeholder", "label"]),
6154
6154
  Y(Re, {
6155
- field: s[O.value].max,
6156
- "onUpdate:field": (_) => s[O.value].max = _,
6157
- placeholder: O.maxPlaceholder || "Max",
6155
+ field: s[k.value].max,
6156
+ "onUpdate:field": (_) => s[k.value].max = _,
6157
+ placeholder: k.maxPlaceholder || "Max",
6158
6158
  type: "number",
6159
6159
  label: b.returnCurrency(),
6160
6160
  class: "w-50 bg-light pd-small radius-small"
6161
6161
  }, null, 8, ["field", "onUpdate:field", "placeholder", "label"])
6162
- ])) : O.type === "date" ? (u(), c("div", Hd, [
6162
+ ])) : k.type === "date" ? (u(), c("div", Hd, [
6163
6163
  p("div", Gd, [
6164
6164
  Y(lt, {
6165
- date: s[O.value],
6166
- "onUpdate:date": (_) => s[O.value] = _,
6165
+ date: s[k.value],
6166
+ "onUpdate:date": (_) => s[k.value] = _,
6167
6167
  allowRange: !0,
6168
6168
  disablePastDates: !0,
6169
6169
  class: "bg-light radius-small"
@@ -6172,11 +6172,11 @@ const bd = {
6172
6172
  ])) : T("", !0),
6173
6173
  p("div", zd, [
6174
6174
  p("button", {
6175
- onClick: (_) => w(O.value),
6175
+ onClick: (_) => w(k.value),
6176
6176
  class: "bg-light button flex-child-full"
6177
6177
  }, " Cancel ", 8, Kd),
6178
6178
  p("button", {
6179
- onClick: (_) => P(O.value),
6179
+ onClick: (_) => P(k.value),
6180
6180
  class: "bg-main w-100 button flex-child-full"
6181
6181
  }, " Apply ", 8, qd)
6182
6182
  ])
@@ -6228,8 +6228,8 @@ const bd = {
6228
6228
  const v = new Date(d), $ = v.getUTCDate(), m = s[v.getUTCMonth()], P = v.getUTCFullYear();
6229
6229
  if (!f)
6230
6230
  return `${$} ${m} ${P}`;
6231
- const w = new Date(f), M = w.getUTCDate(), E = s[w.getUTCMonth()], b = w.getUTCFullYear();
6232
- return `${$} ${m} - ${M} ${E} ${b}`;
6231
+ const w = new Date(f), M = w.getUTCDate(), I = s[w.getUTCMonth()], b = w.getUTCFullYear();
6232
+ return `${$} ${m} - ${M} ${I} ${b}`;
6233
6233
  }
6234
6234
  return (o, s) => (u(), c("div", {
6235
6235
  onClick: r,
@@ -6348,20 +6348,20 @@ const bd = {
6348
6348
  options: C.options || [],
6349
6349
  defaultValue: null
6350
6350
  })) : []), d = e, f = y(!1);
6351
- let v = y(!0), $ = y(!1), m = y(null), P = y(d.options.skip ? d.options.skip : 0), w = y(d.options.limit ? d.options.limit : 10), M = y(""), E = y(!1), b = 0;
6351
+ let v = y(!0), $ = y(!1), m = y(null), P = y(d.options.skip ? d.options.skip : 0), w = y(d.options.limit ? d.options.limit : 10), M = y(""), I = y(!1), b = 0;
6352
6352
  function g(C, S) {
6353
6353
  let L = null;
6354
6354
  return (...j) => {
6355
6355
  clearTimeout(L), L = setTimeout(() => C(...j), S);
6356
6356
  };
6357
6357
  }
6358
- const O = g((C) => {
6359
- E.value = !0, M.value = C, P.value = 0, w.value = 10, N();
6358
+ const k = g((C) => {
6359
+ I.value = !0, M.value = C, P.value = 0, w.value = 10, N();
6360
6360
  }, 500);
6361
6361
  function _(C) {
6362
- O(C);
6362
+ k(C);
6363
6363
  }
6364
- const q = (C) => Object.fromEntries(
6364
+ const K = (C) => Object.fromEntries(
6365
6365
  Object.entries(C).filter(([S, L]) => L != null)
6366
6366
  ), Z = async () => {
6367
6367
  if (!f.value || $.value)
@@ -6379,7 +6379,7 @@ const bd = {
6379
6379
  sortParam: t.value?.param,
6380
6380
  sortOrder: t.value?.order,
6381
6381
  ...d.options
6382
- }, L = q(S), j = await d.store.read(L);
6382
+ }, L = K(S), j = await d.store.read(L);
6383
6383
  if (C !== b)
6384
6384
  return;
6385
6385
  j.length === 0 || j.length < w.value ? f.value = !1 : f.value = !0, o.value = [...o.value, ...j];
@@ -6391,7 +6391,7 @@ const bd = {
6391
6391
  }, N = async () => {
6392
6392
  v.value = !0;
6393
6393
  const C = ++b;
6394
- E.value && (o.value = [], E.value = !1);
6394
+ I.value && (o.value = [], I.value = !1);
6395
6395
  try {
6396
6396
  const S = {
6397
6397
  skip: P.value,
@@ -6402,7 +6402,7 @@ const bd = {
6402
6402
  sortParam: t.value?.param,
6403
6403
  sortOrder: t.value?.order,
6404
6404
  ...d.options
6405
- }, L = q(S), j = await d.store.read(L);
6405
+ }, L = K(S), j = await d.store.read(L);
6406
6406
  if (C !== b)
6407
6407
  return;
6408
6408
  j.length === 0 || j.length < w.value ? f.value = !1 : f.value = !0, o.value = j;
@@ -6414,8 +6414,8 @@ const bd = {
6414
6414
  };
6415
6415
  le(
6416
6416
  [() => d.external, () => l.value, () => ({ ...t.value }), () => ({ ...d.options })],
6417
- ([C, S, L, j], [X, de, re, k]) => {
6418
- (C !== X || S !== de || L?.order !== re?.order || L?.param !== re?.param || JSON.stringify(j) !== JSON.stringify(k)) && (P.value = 0, N());
6417
+ ([C, S, L, j], [X, de, re, O]) => {
6418
+ (C !== X || S !== de || L?.order !== re?.order || L?.param !== re?.param || JSON.stringify(j) !== JSON.stringify(O)) && (P.value = 0, N());
6419
6419
  },
6420
6420
  { deep: !0 }
6421
6421
  );
@@ -6847,7 +6847,7 @@ const bd = {
6847
6847
  const t = Math.random().toString(36).substr(2, 9), a = e, l = a.name || `field-big-${t}`, r = a.id || `field-big-${t}`, { t: i, locale: o } = st();
6848
6848
  let s = y(0), d = y(a.input), f = y(a.placeholder), v = y(a.enableTyping), $ = y(null), m = y(""), P = y(!0), w = null;
6849
6849
  const M = n;
6850
- async function E() {
6850
+ async function I() {
6851
6851
  const Z = M("action");
6852
6852
  return Z && typeof Z.then == "function" ? Z : Promise.resolve(Z);
6853
6853
  }
@@ -6857,13 +6857,13 @@ const bd = {
6857
6857
  function g() {
6858
6858
  s.value = (s.value + 1) % a.placeholderTexts[o.value].length;
6859
6859
  }
6860
- function O() {
6860
+ function k() {
6861
6861
  v.value = !1, clearInterval($.value), f.value = a.placeholder, m.value || (d.value = "");
6862
6862
  }
6863
6863
  function _() {
6864
- !m.value && a.enableTyping && (v.value = !0, f.value = "", q());
6864
+ !m.value && a.enableTyping && (v.value = !0, f.value = "", K());
6865
6865
  }
6866
- function q() {
6866
+ function K() {
6867
6867
  let Z = a.placeholderTexts[o.value][s.value], N = 0, J = !1;
6868
6868
  w = setInterval(() => {
6869
6869
  P.value = !P.value;
@@ -6874,7 +6874,7 @@ const bd = {
6874
6874
  }, a.typingSpeed);
6875
6875
  }
6876
6876
  return pe(() => {
6877
- a.enableTyping && q();
6877
+ a.enableTyping && K();
6878
6878
  }), wt(() => {
6879
6879
  v.value || (clearInterval($.value), clearInterval(w));
6880
6880
  }), (Z, N) => (u(), oe(Re, {
@@ -6885,7 +6885,7 @@ const bd = {
6885
6885
  ],
6886
6886
  placeholder: $e(v) ? "" : e.placeholder,
6887
6887
  onInput: g,
6888
- onFocus: O,
6888
+ onFocus: k,
6889
6889
  onBlur: _,
6890
6890
  name: $e(l),
6891
6891
  id: $e(r),
@@ -6895,7 +6895,7 @@ const bd = {
6895
6895
  default: se(() => [
6896
6896
  W(Z.$slots, "default"),
6897
6897
  Y(Ln, {
6898
- submit: E,
6898
+ submit: I,
6899
6899
  showSucces: e.showSuccess,
6900
6900
  showLoader: e.showLoader,
6901
6901
  callback: e.callback,
@@ -7334,16 +7334,16 @@ const I1 = /* @__PURE__ */ ke(_1, [["render", E1]]), xn = (e) => !e.some((n) =>
7334
7334
  const A = w.value, B = v.value, V = A.length - 1;
7335
7335
  if (A.length !== 0)
7336
7336
  return B === null ? 0 : h === "before" && B === 0 ? V : h === "after" && B === V ? 0 : h === "after" ? B + 1 : B - 1;
7337
- }, E = () => {
7337
+ }, I = () => {
7338
7338
  v.value = a.addOnlyFromAutocomplete && w.value.length > 0 ? 0 : null;
7339
7339
  }, b = (h) => {
7340
7340
  v.value = M(h);
7341
- }, g = (h) => v.value === h, O = (h) => d.value === h, _ = (h, A) => {
7341
+ }, g = (h) => v.value === h, k = (h) => d.value === h, _ = (h, A) => {
7342
7342
  h ? r.value.set(A, h) : r.value.delete(A);
7343
- }, q = () => {
7343
+ }, K = () => {
7344
7344
  if (!a.deleteOnBackspace || i.value.length > 0) return;
7345
7345
  const h = o.value.length - 1;
7346
- d.value === null ? (clearTimeout(f.value), f.value = setTimeout(() => d.value = null, 1e3), d.value = h) : k(h);
7346
+ d.value === null ? (clearTimeout(f.value), f.value = setTimeout(() => d.value = null, 1e3), d.value = h) : O(h);
7347
7347
  }, Z = () => {
7348
7348
  a.addFromPaste && setTimeout(() => ee(i.value), 10);
7349
7349
  }, N = (h) => {
@@ -7376,7 +7376,7 @@ const I1 = /* @__PURE__ */ ke(_1, [["render", E1]]), xn = (e) => !e.some((n) =>
7376
7376
  }), re = (h) => {
7377
7377
  const A = new RegExp(a.separators.map((B) => j(B)).join("|"));
7378
7378
  return h.split(A).map((B) => ({ text: B }));
7379
- }, k = (h) => {
7379
+ }, O = (h) => {
7380
7380
  a.onBeforeDeletingTag ? l("before-deleting-tag", {
7381
7381
  index: h,
7382
7382
  tag: o.value[h],
@@ -7439,8 +7439,8 @@ const I1 = /* @__PURE__ */ ke(_1, [["render", E1]]), xn = (e) => !e.some((n) =>
7439
7439
  a.addOnlyFromAutocomplete || (v.value = null), i.value = h;
7440
7440
  }), le(() => a.tags, () => {
7441
7441
  Le();
7442
- }, { deep: !0 }), le(P, E), Le(), pe(() => {
7443
- E(), document.addEventListener("click", Be);
7442
+ }, { deep: !0 }), le(P, I), Le(), pe(() => {
7443
+ I(), document.addEventListener("click", Be);
7444
7444
  }), it(() => {
7445
7445
  document.removeEventListener("click", Be), clearTimeout(f.value);
7446
7446
  }), n({
@@ -7458,7 +7458,7 @@ const I1 = /* @__PURE__ */ ke(_1, [["render", E1]]), xn = (e) => !e.some((n) =>
7458
7458
  { "ti-editing": s.value[V] },
7459
7459
  B.tiClasses,
7460
7460
  B.classes,
7461
- { "ti-deletion-mark": O(V) }
7461
+ { "ti-deletion-mark": k(V) }
7462
7462
  ], "ti-tag t-medium"]),
7463
7463
  tabindex: "0",
7464
7464
  onClick: (ce) => l("tag-clicked", { tag: B, index: V })
@@ -7470,10 +7470,10 @@ const I1 = /* @__PURE__ */ ke(_1, [["render", E1]]), xn = (e) => !e.some((n) =>
7470
7470
  index: V,
7471
7471
  edit: s.value[V],
7472
7472
  performSaveEdit: we,
7473
- performDelete: k,
7473
+ performDelete: O,
7474
7474
  performCancelEdit: X,
7475
7475
  performOpenEdit: N,
7476
- deletionMark: O(V)
7476
+ deletionMark: k(V)
7477
7477
  })
7478
7478
  ])) : T("", !0),
7479
7479
  p("div", {
@@ -7504,11 +7504,11 @@ const I1 = /* @__PURE__ */ ke(_1, [["render", E1]]), xn = (e) => !e.some((n) =>
7504
7504
  maxlength: h.maxlength,
7505
7505
  edit: s.value[V],
7506
7506
  performSaveEdit: we,
7507
- performDelete: k,
7507
+ performDelete: O,
7508
7508
  performCancelEdit: X,
7509
7509
  validateTag: S,
7510
7510
  performOpenEdit: N,
7511
- deletionMark: O(V)
7511
+ deletionMark: k(V)
7512
7512
  })
7513
7513
  ], 512),
7514
7514
  h.$slots["tag-right"] ? (u(), c("div", j1, [
@@ -7517,10 +7517,10 @@ const I1 = /* @__PURE__ */ ke(_1, [["render", E1]]), xn = (e) => !e.some((n) =>
7517
7517
  index: V,
7518
7518
  edit: s.value[V],
7519
7519
  performSaveEdit: we,
7520
- performDelete: k,
7520
+ performDelete: O,
7521
7521
  performCancelEdit: X,
7522
7522
  performOpenEdit: N,
7523
- deletionMark: O(V)
7523
+ deletionMark: k(V)
7524
7524
  })
7525
7525
  ])) : T("", !0)
7526
7526
  ]),
@@ -7535,7 +7535,7 @@ const I1 = /* @__PURE__ */ ke(_1, [["render", E1]]), xn = (e) => !e.some((n) =>
7535
7535
  h.$slots["tag-actions"] ? T("", !0) : he((u(), c("i", {
7536
7536
  key: 1,
7537
7537
  class: "ti-icon-close",
7538
- onClick: ne((ce) => k(V), ["stop"])
7538
+ onClick: ne((ce) => O(V), ["stop"])
7539
7539
  }, null, 8, V1)), [
7540
7540
  [_e, !s.value[V]]
7541
7541
  ]),
@@ -7545,10 +7545,10 @@ const I1 = /* @__PURE__ */ ke(_1, [["render", E1]]), xn = (e) => !e.some((n) =>
7545
7545
  index: V,
7546
7546
  edit: s.value[V],
7547
7547
  performSaveEdit: we,
7548
- performDelete: k,
7548
+ performDelete: O,
7549
7549
  performCancelEdit: X,
7550
7550
  performOpenEdit: N,
7551
- deletionMark: O(V)
7551
+ deletionMark: k(V)
7552
7552
  }) : T("", !0)
7553
7553
  ])
7554
7554
  ], 14, A1))), 128)),
@@ -7565,7 +7565,7 @@ const I1 = /* @__PURE__ */ ke(_1, [["render", E1]]), xn = (e) => !e.some((n) =>
7565
7565
  size: "1",
7566
7566
  onKeydown: [
7567
7567
  Fe,
7568
- me(q, ["delete"]),
7568
+ me(K, ["delete"]),
7569
7569
  me(Ee, ["tab"]),
7570
7570
  A[0] || (A[0] = me(ne((B) => b("before"), ["prevent"]), ["up"])),
7571
7571
  A[1] || (A[1] = me(ne((B) => b("after"), ["prevent"]), ["down"]))
@@ -7648,15 +7648,15 @@ const I1 = /* @__PURE__ */ ke(_1, [["render", E1]]), xn = (e) => !e.some((n) =>
7648
7648
  gl_Position = aVertexPosition;
7649
7649
  }
7650
7650
  `, d = n.shader;
7651
- function f(w, M, E) {
7651
+ function f(w, M, I) {
7652
7652
  const b = w.createShader(M);
7653
- return w.shaderSource(b, E), w.compileShader(b), w.getShaderParameter(b, w.COMPILE_STATUS) ? b : (alert("An error occurred compiling the shaders: " + w.getShaderInfoLog(b)), w.deleteShader(b), null);
7653
+ return w.shaderSource(b, I), w.compileShader(b), w.getShaderParameter(b, w.COMPILE_STATUS) ? b : (alert("An error occurred compiling the shaders: " + w.getShaderInfoLog(b)), w.deleteShader(b), null);
7654
7654
  }
7655
7655
  const v = f(a, a.VERTEX_SHADER, s), $ = f(a, a.FRAGMENT_SHADER, d);
7656
7656
  l = a.createProgram(), a.attachShader(l, v), a.attachShader(l, $), a.linkProgram(l), a.getProgramParameter(l, a.LINK_STATUS) || alert("Unable to initialize the shader program: " + a.getProgramInfoLog(l));
7657
7657
  function m(w) {
7658
- const M = w.clientWidth * window.devicePixelRatio, E = w.clientHeight * window.devicePixelRatio;
7659
- return w.width !== M || w.height !== E ? (w.width = M, w.height = E, !0) : !1;
7658
+ const M = w.clientWidth * window.devicePixelRatio, I = w.clientHeight * window.devicePixelRatio;
7659
+ return w.width !== M || w.height !== I ? (w.width = M, w.height = I, !0) : !1;
7660
7660
  }
7661
7661
  function P() {
7662
7662
  m(a.canvas) && a.viewport(0, 0, a.canvas.width, a.canvas.height), a.clearColor(0, 0, 0, 1), a.clearDepth(1), a.enable(a.DEPTH_TEST), a.depthFunc(a.LEQUAL), a.clear(a.COLOR_BUFFER_BIT | a.DEPTH_BUFFER_BIT), a.useProgram(l);
@@ -7673,8 +7673,8 @@ const I1 = /* @__PURE__ */ ke(_1, [["render", E1]]), xn = (e) => !e.some((n) =>
7673
7673
  -1
7674
7674
  ];
7675
7675
  a.bufferData(a.ARRAY_BUFFER, new Float32Array(M), a.STATIC_DRAW);
7676
- const E = a.getAttribLocation(l, "aVertexPosition");
7677
- a.vertexAttribPointer(E, 2, a.FLOAT, !1, 0, 0), a.enableVertexAttribArray(E);
7676
+ const I = a.getAttribLocation(l, "aVertexPosition");
7677
+ a.vertexAttribPointer(I, 2, a.FLOAT, !1, 0, 0), a.enableVertexAttribArray(I);
7678
7678
  const b = a.getUniformLocation(l, "iTime"), g = a.getUniformLocation(l, "iResolution");
7679
7679
  a.uniform1f(b, performance.now() / 3e3), a.uniform2f(g, a.canvas.width, a.canvas.height), i(), a.drawArrays(a.TRIANGLE_STRIP, 0, 4), requestAnimationFrame(P);
7680
7680
  }
@@ -7773,18 +7773,18 @@ const I1 = /* @__PURE__ */ ke(_1, [["render", E1]]), xn = (e) => !e.some((n) =>
7773
7773
  },
7774
7774
  emits: ["onComplete", "onLoopComplete", "onPause", "onResume"],
7775
7775
  setup(e, { emit: n }) {
7776
- const t = e, a = n, l = y(!1), r = y(0), i = y(0), o = y(0), s = y(null), d = y("100%"), f = y(0), v = y(0), $ = y("100%"), m = y(0), P = y(0), w = y("200px"), M = y(!1), E = y(null), b = y(null), g = async () => {
7777
- await O(), r.value++;
7778
- }, O = async () => {
7776
+ const t = e, a = n, l = y(!1), r = y(0), i = y(0), o = y(0), s = y(null), d = y("100%"), f = y(0), v = y(0), $ = y("100%"), m = y(0), P = y(0), w = y("200px"), M = y(!1), I = y(null), b = y(null), g = async () => {
7777
+ await k(), r.value++;
7778
+ }, k = async () => {
7779
7779
  t.vertical && (M.value = !0), setInterval(() => {
7780
- if (d.value = "0%", $.value = "0%", E.value !== null && b.value !== null)
7781
- if (E.value && b.value)
7782
- if (t.vertical && "clientHeight" in E.value && "clientHeight" in b.value) {
7783
- P.value = E.value.clientHeight, m.value = b.value.clientHeight;
7780
+ if (d.value = "0%", $.value = "0%", I.value !== null && b.value !== null)
7781
+ if (I.value && b.value)
7782
+ if (t.vertical && "clientHeight" in I.value && "clientHeight" in b.value) {
7783
+ P.value = I.value.clientHeight, m.value = b.value.clientHeight;
7784
7784
  const S = Math.ceil(m.value / P.value);
7785
7785
  return i.value = isFinite(S) ? S : 0, M.value = !1, i.value;
7786
- } else if (!t.vertical && "clientWidth" in E.value && "clientWidth" in b.value) {
7787
- v.value = E.value.clientWidth, f.value = b.value.clientWidth;
7786
+ } else if (!t.vertical && "clientWidth" in I.value && "clientWidth" in b.value) {
7787
+ v.value = I.value.clientWidth, f.value = b.value.clientWidth;
7788
7788
  const S = Math.ceil(f.value / v.value);
7789
7789
  return i.value = isFinite(S) ? S : 0, i.value;
7790
7790
  } else
@@ -7796,7 +7796,7 @@ const I1 = /* @__PURE__ */ ke(_1, [["render", E1]]), xn = (e) => !e.some((n) =>
7796
7796
  }, 100);
7797
7797
  }, _ = () => {
7798
7798
  t.pauseOnHover && a("onPause");
7799
- }, q = () => {
7799
+ }, K = () => {
7800
7800
  t.pauseOnHover && a("onResume");
7801
7801
  }, Z = () => {
7802
7802
  t.pauseOnClick && a("onPause");
@@ -7816,7 +7816,7 @@ const I1 = /* @__PURE__ */ ke(_1, [["render", E1]]), xn = (e) => !e.some((n) =>
7816
7816
  "--min-height": `${$.value}`,
7817
7817
  "--orientation": t.vertical ? "scrollY" : "scrollX"
7818
7818
  })), C = async () => {
7819
- t.vertical ? ($.value = "100%", d.value = "auto") : ($.value = "auto", d.value = "100%"), t.gradient && t.gradientLength && (w.value = t.gradientLength), t.clone && (await O(), g()), l.value = !0;
7819
+ t.vertical ? ($.value = "100%", d.value = "auto") : ($.value = "auto", d.value = "100%"), t.gradient && t.gradientLength && (w.value = t.gradientLength), t.clone && (await k(), g()), l.value = !0;
7820
7820
  };
7821
7821
  return pe(async () => {
7822
7822
  C(), s.value = setInterval(() => {
@@ -7838,7 +7838,7 @@ const I1 = /* @__PURE__ */ ke(_1, [["render", E1]]), xn = (e) => !e.some((n) =>
7838
7838
  style: ge(J.value),
7839
7839
  key: r.value,
7840
7840
  onMouseenter: _,
7841
- onMouseleave: q,
7841
+ onMouseleave: K,
7842
7842
  onMousedown: Z,
7843
7843
  onMouseup: N
7844
7844
  }, [
@@ -7851,7 +7851,7 @@ const I1 = /* @__PURE__ */ ke(_1, [["render", E1]]), xn = (e) => !e.some((n) =>
7851
7851
  p("div", {
7852
7852
  class: "marquee",
7853
7853
  ref_key: "marqueeContent",
7854
- ref: E
7854
+ ref: I
7855
7855
  }, [
7856
7856
  W(S.$slots, "default")
7857
7857
  ], 512),
@@ -7896,57 +7896,63 @@ const I1 = /* @__PURE__ */ ke(_1, [["render", E1]]), xn = (e) => !e.some((n) =>
7896
7896
  },
7897
7897
  setup(e) {
7898
7898
  const n = e, t = y(null), a = y(null), l = y(!1), r = y(null), i = y(!1);
7899
- let o = null, s = !1;
7900
- const d = z(() => n.url?.split(".")?.pop()?.toLowerCase()), f = z(() => ["jpg", "jpeg", "png", "gif", "webp", "svg", "avif"].includes(d.value)), v = z(() => ["mp4", "webm", "ogg"].includes(d.value)), $ = z(() => ({
7899
+ let o = null, s = !1, d = null;
7900
+ const f = z(() => n.url?.split(".")?.pop()?.toLowerCase()), v = z(() => ["jpg", "jpeg", "png", "gif", "webp", "svg", "avif"].includes(f.value)), $ = z(() => ["mp4", "webm", "ogg"].includes(f.value)), m = z(() => ({
7901
7901
  mp4: "video/mp4",
7902
7902
  webm: "video/webm",
7903
7903
  ogg: "video/ogg"
7904
- })[d.value] || "");
7905
- function m() {
7906
- l.value = !0;
7904
+ })[f.value] || "");
7905
+ function P() {
7906
+ l.value = !0, clearTimeout(d);
7907
+ }
7908
+ function w() {
7909
+ r.value = "Не удалось загрузить изображение", l.value = !1, clearTimeout(d);
7907
7910
  }
7908
- function P(E) {
7909
- r.value = `Ошибка загрузки медиа: ${E.message}`, l.value = !1;
7911
+ function M(g) {
7912
+ r.value = `Ошибка загрузки медиа: ${g.message}`, l.value = !1, clearTimeout(d);
7910
7913
  }
7911
- async function w() {
7914
+ async function I() {
7912
7915
  if (t.value)
7913
7916
  try {
7914
7917
  t.value.paused && !s && (await t.value.play(), s = !0);
7915
- } catch (E) {
7916
- P(E);
7918
+ } catch (g) {
7919
+ M(g);
7917
7920
  }
7918
7921
  }
7919
- function M() {
7920
- const E = {
7922
+ function b() {
7923
+ const g = {
7921
7924
  root: null,
7922
7925
  rootMargin: "50px",
7923
7926
  threshold: 0.1
7924
7927
  };
7925
- o = new IntersectionObserver((g) => {
7926
- g.forEach((O) => {
7927
- i.value = O.isIntersecting, O.isIntersecting && (v.value && n.options?.autoplay && w(), o.disconnect());
7928
+ o = new IntersectionObserver((_) => {
7929
+ _.forEach((K) => {
7930
+ i.value = K.isIntersecting, K.isIntersecting && (d = setTimeout(() => {
7931
+ !l.value && !r.value && (r.value = "Истекло время ожидания загрузки");
7932
+ }, 1e4), $.value && n.options?.autoplay && I(), o.disconnect());
7928
7933
  });
7929
- }, E);
7930
- const b = f.value ? a.value : t.value;
7931
- b && o.observe(b);
7934
+ }, g);
7935
+ const k = v.value ? a.value : t.value;
7936
+ k && o.observe(k);
7932
7937
  }
7933
7938
  return pe(() => {
7934
- M();
7939
+ b();
7935
7940
  }), _n(() => {
7936
- o && o.disconnect();
7937
- }), (E, b) => (u(), c("div", cu, [
7938
- f.value ? (u(), c("img", nt({
7941
+ o && o.disconnect(), d && clearTimeout(d);
7942
+ }), (g, k) => (u(), c("div", cu, [
7943
+ v.value ? (u(), c("img", nt({
7939
7944
  key: 0,
7940
7945
  src: i.value ? e.url : "",
7941
7946
  "data-src": e.url,
7942
7947
  alt: e.options?.alt || "Image",
7943
7948
  class: ["media-item", { loading: !l.value }],
7944
7949
  loading: "lazy",
7945
- onLoad: m
7950
+ onLoad: P,
7951
+ onError: w
7946
7952
  }, e.options, {
7947
7953
  ref_key: "imageElement",
7948
7954
  ref: a
7949
- }), null, 16, fu)) : v.value ? (u(), c("video", nt({
7955
+ }), null, 16, fu)) : $.value ? (u(), c("video", nt({
7950
7956
  key: 1,
7951
7957
  ref_key: "videoElement",
7952
7958
  ref: t,
@@ -7957,18 +7963,18 @@ const I1 = /* @__PURE__ */ ke(_1, [["render", E1]]), xn = (e) => !e.some((n) =>
7957
7963
  autoplay: e.options?.autoplay,
7958
7964
  playsinline: e.options?.playsinline !== !1,
7959
7965
  preload: e.options?.preload || "metadata",
7960
- onLoadeddata: m
7966
+ onLoadeddata: P
7961
7967
  }, e.options), [
7962
7968
  p("source", {
7963
7969
  src: e.url,
7964
- type: $.value
7970
+ type: m.value
7965
7971
  }, null, 8, vu)
7966
7972
  ], 16, $u)) : T("", !0),
7967
- l.value ? T("", !0) : (u(), c("div", pu, " Loading... ")),
7973
+ !l.value && !r.value ? (u(), c("div", pu, " Loading... ")) : T("", !0),
7968
7974
  r.value ? (u(), c("div", mu, D(r.value), 1)) : T("", !0)
7969
7975
  ]));
7970
7976
  }
7971
- }, gu = /* @__PURE__ */ ke(hu, [["__scopeId", "data-v-b5d5974f"]]), yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7977
+ }, gu = /* @__PURE__ */ ke(hu, [["__scopeId", "data-v-a4e8161a"]]), yu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7972
7978
  __proto__: null,
7973
7979
  default: gu
7974
7980
  }, Symbol.toStringTag, { value: "Module" })), xu = {