@ozdao/martyrs 0.2.482 → 0.2.483

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 (279) hide show
  1. package/dist/{Media-JBERcJWj.js → Media-C57G7rnE.js} +1 -1
  2. package/dist/{Media-p7Q8ZAQM.cjs → Media-DjnpKS62.cjs} +1 -1
  3. package/dist/_virtual/_commonjsHelpers.cjs +2 -0
  4. package/dist/_virtual/_commonjsHelpers.cjs.map +1 -1
  5. package/dist/_virtual/_commonjsHelpers.js +2 -0
  6. package/dist/_virtual/_commonjsHelpers.js.map +1 -1
  7. package/dist/_virtual/index2.cjs +8 -0
  8. package/dist/_virtual/index2.cjs.map +1 -0
  9. package/dist/_virtual/index2.js +8 -0
  10. package/dist/_virtual/index2.js.map +1 -0
  11. package/dist/_virtual/index3.cjs +5 -0
  12. package/dist/_virtual/index3.cjs.map +1 -0
  13. package/dist/_virtual/index3.js +5 -0
  14. package/dist/_virtual/index3.js.map +1 -0
  15. package/dist/{main-AtCVQKF9.js → main-CXQqAVVb.js} +2002 -1937
  16. package/dist/main-De5X_RUk.cjs +11 -0
  17. package/dist/martyrs/src/components/Button/{Button.vue2.cjs → Button.vue.cjs} +2 -2
  18. package/dist/martyrs/src/components/Button/{Button.vue2.js.map → Button.vue.cjs.map} +1 -1
  19. package/dist/martyrs/src/components/Button/{Button.vue2.js → Button.vue.js} +2 -2
  20. package/dist/martyrs/src/components/Button/Button.vue.js.map +1 -0
  21. package/dist/martyrs/src/components/Chips/{Chips.vue2.cjs → Chips.vue.cjs} +2 -2
  22. package/dist/martyrs/src/components/Chips/Chips.vue.cjs.map +1 -0
  23. package/dist/martyrs/src/components/Chips/{Chips.vue2.js → Chips.vue.js} +2 -2
  24. package/dist/martyrs/src/components/Chips/Chips.vue.js.map +1 -0
  25. package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.cjs +141 -113
  26. package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.cjs.map +1 -1
  27. package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.js +142 -114
  28. package/dist/martyrs/src/components/FieldPhone/FieldPhone.vue.js.map +1 -1
  29. package/dist/martyrs/src/components/Popup/{Popup.vue2.cjs → Popup.vue.cjs} +2 -2
  30. package/dist/martyrs/src/components/Popup/{Popup.vue2.js.map → Popup.vue.cjs.map} +1 -1
  31. package/dist/martyrs/src/components/Popup/{Popup.vue2.js → Popup.vue.js} +2 -2
  32. package/dist/martyrs/src/components/Popup/Popup.vue.js.map +1 -0
  33. package/dist/martyrs/src/components/Status/Status.vue.cjs +11 -5
  34. package/dist/martyrs/src/components/Status/Status.vue.cjs.map +1 -1
  35. package/dist/martyrs/src/components/Status/Status.vue.js +13 -7
  36. package/dist/martyrs/src/components/Status/Status.vue.js.map +1 -1
  37. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs +6 -4
  38. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.cjs.map +1 -1
  39. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js +6 -4
  40. package/dist/martyrs/src/modules/auth/views/components/layouts/Auth.vue.js.map +1 -1
  41. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +1 -1
  42. package/dist/martyrs/src/modules/auth/views/components/pages/EnterPassword.vue.js +1 -1
  43. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.cjs +1 -1
  44. package/dist/martyrs/src/modules/auth/views/components/pages/Invite.vue.js +1 -1
  45. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.cjs +1 -1
  46. package/dist/martyrs/src/modules/auth/views/components/pages/Profile.vue.js +1 -1
  47. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.cjs +1 -1
  48. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEdit.vue.js +1 -1
  49. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.cjs +1 -1
  50. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditAccount.vue.js +1 -1
  51. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.cjs +1 -1
  52. package/dist/martyrs/src/modules/auth/views/components/pages/ProfileEditProfile.vue.js +1 -1
  53. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +1 -1
  54. package/dist/martyrs/src/modules/auth/views/components/pages/ResetPassword.vue.js +1 -1
  55. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  56. package/dist/martyrs/src/modules/auth/views/components/pages/SignIn.vue.js +1 -1
  57. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.cjs +1 -1
  58. package/dist/martyrs/src/modules/auth/views/components/pages/SignUp.vue.js +1 -1
  59. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.cjs +1 -1
  60. package/dist/martyrs/src/modules/auth/views/components/sections/ProfileEditCredentials.vue.js +1 -1
  61. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs +17 -39
  62. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.cjs.map +1 -1
  63. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js +18 -40
  64. package/dist/martyrs/src/modules/auth/views/components/sections/SliderFeatures.vue.js.map +1 -1
  65. package/dist/martyrs/src/modules/auth/views/localization/EnterCode.json.cjs +1 -1
  66. package/dist/martyrs/src/modules/auth/views/localization/EnterCode.json.js +1 -1
  67. package/dist/martyrs/src/modules/auth/views/localization/EnterPassword.json.cjs +1 -1
  68. package/dist/martyrs/src/modules/auth/views/localization/EnterPassword.json.js +1 -1
  69. package/dist/martyrs/src/modules/auth/views/localization/ResetPassword.json.cjs +1 -1
  70. package/dist/martyrs/src/modules/auth/views/localization/ResetPassword.json.js +1 -1
  71. package/dist/martyrs/src/modules/auth/views/localization/SignIn.json.cjs +1 -1
  72. package/dist/martyrs/src/modules/auth/views/localization/SignIn.json.js +1 -1
  73. package/dist/martyrs/src/modules/auth/views/localization/SignUp.json.cjs +1 -1
  74. package/dist/martyrs/src/modules/auth/views/localization/SignUp.json.js +1 -1
  75. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  76. package/dist/martyrs/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
  77. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.cjs +3 -3
  78. package/dist/martyrs/src/modules/community/components/pages/BlogPost.vue.js +3 -3
  79. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.cjs +2 -2
  80. package/dist/martyrs/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  81. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  82. package/dist/martyrs/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  83. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  84. package/dist/martyrs/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  85. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  86. package/dist/martyrs/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  87. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.cjs +2 -2
  88. package/dist/martyrs/src/modules/events/components/pages/EditEvent.vue.js +2 -2
  89. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.cjs +2 -2
  90. package/dist/martyrs/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
  91. package/dist/martyrs/src/modules/events/components/pages/Event.vue.cjs +1 -1
  92. package/dist/martyrs/src/modules/events/components/pages/Event.vue.js +1 -1
  93. package/dist/martyrs/src/modules/events/components/pages/Events.vue.cjs +1 -1
  94. package/dist/martyrs/src/modules/events/components/pages/Events.vue.js +1 -1
  95. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  96. package/dist/martyrs/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
  97. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +3 -3
  98. package/dist/martyrs/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  99. package/dist/martyrs/src/modules/globals/globals.client.cjs +11 -0
  100. package/dist/martyrs/src/modules/globals/globals.client.cjs.map +1 -1
  101. package/dist/martyrs/src/modules/globals/globals.client.js +11 -0
  102. package/dist/martyrs/src/modules/globals/globals.client.js.map +1 -1
  103. package/dist/martyrs/src/modules/globals/locales/en.cjs +24 -0
  104. package/dist/martyrs/src/modules/globals/locales/en.cjs.map +1 -0
  105. package/dist/martyrs/src/modules/globals/locales/en.js +24 -0
  106. package/dist/martyrs/src/modules/globals/locales/en.js.map +1 -0
  107. package/dist/martyrs/src/modules/globals/locales/ru.cjs +24 -0
  108. package/dist/martyrs/src/modules/globals/locales/ru.cjs.map +1 -0
  109. package/dist/martyrs/src/modules/globals/locales/ru.js +24 -0
  110. package/dist/martyrs/src/modules/globals/locales/ru.js.map +1 -0
  111. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs +71 -0
  112. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.cjs.map +1 -0
  113. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js +71 -0
  114. package/dist/martyrs/src/modules/globals/views/classes/globals.i18n.js.map +1 -0
  115. package/dist/martyrs/src/modules/globals/views/components/blocks/AlertDialog.vue.cjs +1 -1
  116. package/dist/martyrs/src/modules/globals/views/components/blocks/AlertDialog.vue.js +1 -1
  117. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  118. package/dist/martyrs/src/modules/globals/views/components/blocks/CardHeader.vue.js +1 -1
  119. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.cjs +2 -2
  120. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupAuth.vue.js +2 -2
  121. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.cjs +2 -2
  122. package/dist/martyrs/src/modules/globals/views/components/blocks/PopupDateSelector.vue.js +2 -2
  123. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs +51 -45
  124. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
  125. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js +51 -45
  126. package/dist/martyrs/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
  127. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  128. package/dist/martyrs/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  129. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
  130. package/dist/martyrs/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
  131. package/dist/martyrs/src/modules/globals/views/store/globals.cjs.map +1 -1
  132. package/dist/martyrs/src/modules/globals/views/store/globals.js.map +1 -1
  133. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs +52 -58
  134. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.cjs.map +1 -1
  135. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js +52 -58
  136. package/dist/martyrs/src/modules/marketplace/views/components/layouts/Marketplace.vue.js.map +1 -1
  137. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.cjs +1 -1
  138. package/dist/martyrs/src/modules/notifications/components/elements/NotificationBadge.vue.js +1 -1
  139. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +2 -2
  140. package/dist/martyrs/src/modules/orders/components/pages/OrderBackoffice.vue.js +2 -2
  141. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.cjs +1 -1
  142. package/dist/martyrs/src/modules/orders/components/pages/OrderCreate.vue.js +1 -1
  143. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +2 -2
  144. package/dist/martyrs/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  145. package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  146. package/dist/martyrs/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  147. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  148. package/dist/martyrs/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  149. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  150. package/dist/martyrs/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  151. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +2 -2
  152. package/dist/martyrs/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  153. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  154. package/dist/martyrs/src/modules/organizations/components/pages/Members.vue.js +1 -1
  155. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +2 -2
  156. package/dist/martyrs/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  157. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.cjs +1 -1
  158. package/dist/martyrs/src/modules/organizations/components/sections/DetailsTabSection.vue.js +1 -1
  159. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.cjs +2 -2
  160. package/dist/martyrs/src/modules/organizations/components/sections/Documents.vue.js +2 -2
  161. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  162. package/dist/martyrs/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  163. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  164. package/dist/martyrs/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  165. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.cjs +1 -1
  166. package/dist/martyrs/src/modules/pages/views/components/blocks/CardPage.vue.js +1 -1
  167. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.cjs +1 -1
  168. package/dist/martyrs/src/modules/pages/views/components/pages/PageEdit.vue.js +1 -1
  169. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +2 -2
  170. package/dist/martyrs/src/modules/pages/views/components/partials/SidebarPages.vue.js +2 -2
  171. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.cjs +1 -1
  172. package/dist/martyrs/src/modules/products/components/blocks/ProductDiscounts.vue.js +1 -1
  173. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.cjs +1 -1
  174. package/dist/martyrs/src/modules/products/components/blocks/ProductImages.vue.js +1 -1
  175. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  176. package/dist/martyrs/src/modules/products/components/pages/Categories.vue.js +1 -1
  177. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  178. package/dist/martyrs/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  179. package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.cjs +2 -2
  180. package/dist/martyrs/src/modules/products/components/pages/LeftoverEdit.vue.js +2 -2
  181. package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  182. package/dist/martyrs/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  183. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs +3 -3
  184. package/dist/martyrs/src/modules/products/components/pages/Product.vue.cjs.map +1 -1
  185. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js +3 -3
  186. package/dist/martyrs/src/modules/products/components/pages/Product.vue.js.map +1 -1
  187. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  188. package/dist/martyrs/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  189. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.cjs +2 -2
  190. package/dist/martyrs/src/modules/products/components/sections/EditAttributes.vue.js +2 -2
  191. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.cjs +2 -2
  192. package/dist/martyrs/src/modules/products/components/sections/EditDiscounts.vue.js +2 -2
  193. package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.cjs +1 -1
  194. package/dist/martyrs/src/modules/products/components/sections/EditIngredients.vue.js +1 -1
  195. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.cjs +1 -1
  196. package/dist/martyrs/src/modules/products/components/sections/EditRecommended.vue.js +1 -1
  197. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.cjs +2 -2
  198. package/dist/martyrs/src/modules/products/components/sections/EditVariants.vue.js +2 -2
  199. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.cjs +1 -1
  200. package/dist/martyrs/src/modules/products/components/sections/ProductConfigurator.vue.js +1 -1
  201. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs +2 -1
  202. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.cjs.map +1 -1
  203. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js +2 -1
  204. package/dist/martyrs/src/modules/products/components/sections/ProductsPopular.vue.js.map +1 -1
  205. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.cjs +1 -1
  206. package/dist/martyrs/src/modules/products/components/sections/ProductsRecommended.vue.js +1 -1
  207. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  208. package/dist/martyrs/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  209. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.cjs +1 -1
  210. package/dist/martyrs/src/modules/rents/views/components/pages/RentsEdit.vue.js +1 -1
  211. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.cjs +2 -2
  212. package/dist/martyrs/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  213. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  214. package/dist/martyrs/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  215. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  216. package/dist/martyrs/src/modules/spots/components/pages/Map.vue.js +1 -1
  217. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.cjs +2 -2
  218. package/dist/martyrs/src/modules/spots/components/pages/SpotEdit.vue.js +2 -2
  219. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.cjs +2 -2
  220. package/dist/martyrs/src/modules/spots/components/sections/WorktimeEdit.vue.js +2 -2
  221. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.cjs +3 -3
  222. package/dist/martyrs/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
  223. package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.cjs +1 -1
  224. package/dist/martyrs/src/modules/wallet/views/localization/wallet.json.js +1 -1
  225. package/dist/martyrs.cjs.js +1 -1
  226. package/dist/martyrs.css +1 -1
  227. package/dist/martyrs.es.js +1 -1
  228. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.cjs +1 -1
  229. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/core/utils.js +1 -1
  230. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.cjs +1 -1
  231. package/dist/node_modules/.pnpm/qrcode@1.5.4/node_modules/qrcode/lib/renderer/utils.js +1 -1
  232. package/dist/node_modules/lodash.merge/index.cjs +689 -0
  233. package/dist/node_modules/lodash.merge/index.cjs.map +1 -0
  234. package/dist/node_modules/lodash.merge/index.js +689 -0
  235. package/dist/node_modules/lodash.merge/index.js.map +1 -0
  236. package/dist/style.css +53 -75
  237. package/package.json +1 -1
  238. package/src/components/FieldPhone/FieldPhone.vue +337 -238
  239. package/src/components/Status/Status.vue +10 -7
  240. package/src/modules/auth/views/components/layouts/Auth.vue +1 -1
  241. package/src/modules/auth/views/components/sections/SliderFeatures.vue +13 -79
  242. package/src/modules/auth/views/localization/EnterCode.json +2 -2
  243. package/src/modules/auth/views/localization/EnterPassword.json +2 -2
  244. package/src/modules/auth/views/localization/ResetPassword.json +2 -2
  245. package/src/modules/auth/views/localization/SignIn.json +2 -2
  246. package/src/modules/auth/views/localization/SignUp.json +2 -2
  247. package/src/modules/globals/globals.client.js +15 -1
  248. package/src/modules/globals/locales/en.js +21 -0
  249. package/src/modules/globals/locales/index.js +8 -0
  250. package/src/modules/globals/locales/ru.js +21 -0
  251. package/src/modules/globals/views/classes/globals.i18n.js +84 -0
  252. package/src/modules/globals/views/components/layouts/Client.vue +43 -40
  253. package/src/modules/globals/views/components/partials/Footer.vue +162 -162
  254. package/src/modules/globals/views/store/globals.js +0 -40
  255. package/src/modules/marketplace/views/components/layouts/Marketplace.vue +34 -38
  256. package/src/modules/products/components/pages/Product.vue +1 -1
  257. package/src/modules/products/components/sections/ProductsPopular.vue +3 -2
  258. package/src/modules/wallet/views/localization/wallet.json +2 -2
  259. package/dist/main-B-we7C0w.cjs +0 -11
  260. package/dist/martyrs/src/components/Button/Button.vue2.cjs.map +0 -1
  261. package/dist/martyrs/src/components/Chips/Chips.vue2.cjs.map +0 -1
  262. package/dist/martyrs/src/components/Chips/Chips.vue2.js.map +0 -1
  263. package/dist/martyrs/src/components/Popup/Popup.vue2.cjs.map +0 -1
  264. package/dist/node_modules/.pnpm/embla-carousel-autoplay@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +0 -194
  265. package/dist/node_modules/.pnpm/embla-carousel-autoplay@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs.map +0 -1
  266. package/dist/node_modules/.pnpm/embla-carousel-autoplay@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +0 -194
  267. package/dist/node_modules/.pnpm/embla-carousel-autoplay@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js.map +0 -1
  268. package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +0 -43
  269. package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs.map +0 -1
  270. package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +0 -43
  271. package/dist/node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js.map +0 -1
  272. package/dist/node_modules/.pnpm/embla-carousel-vue@8.6.0_vue@3.5.13_typescript@5.8.3_/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +0 -43
  273. package/dist/node_modules/.pnpm/embla-carousel-vue@8.6.0_vue@3.5.13_typescript@5.8.3_/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs.map +0 -1
  274. package/dist/node_modules/.pnpm/embla-carousel-vue@8.6.0_vue@3.5.13_typescript@5.8.3_/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js +0 -43
  275. package/dist/node_modules/.pnpm/embla-carousel-vue@8.6.0_vue@3.5.13_typescript@5.8.3_/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js.map +0 -1
  276. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +0 -1630
  277. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs.map +0 -1
  278. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js +0 -1630
  279. package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.vue2.cjs","sources":["../../../../../src/components/Button/Button.vue"],"sourcesContent":["<script setup>\n\timport { ref } from 'vue'\n\n\timport Loader from '@martyrs/src/components/Loader/Loader.vue'\n\n\tconst props = defineProps({\n\t\tsubmit: {\n\t\t\ttype: Function,\n\t\t\tdefault: async () => { console.log('Button click.') }\n\t\t},\n\t\ttext: {\n\t\t\ttype: Object,\n\t\t\tdefault: (textComponent) => {\n\t\t\t\treturn textComponent = {\n\t\t\t\t\t...textComponent.text,\n\t\t\t\t\tsuccess: '✔',\n\t\t\t\t\terror: '✖'\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tcounter: {\n\t type: Object\n\t },\n\t\tcallback: {\n\t\t\ttype: Function,\n\t\t\tdefault: async () => { console.log('Button callback.') }\n\t\t},\n\t\tcallbackDelay: {\n\t\t\ttype: Number,\n\t\t\tdefault: 750\n\t\t},\n\t\tshowSucces: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\tshowLoader: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: true\n\t\t},\n\t\tvalidation: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false\n\t\t},\n\t})\t\n\n\tconst emits = defineEmits(['error'])\n\n\tconst button = ref(null);\n\tconst error = ref(null);\n\tconst loading = ref(false);\n\tconst finished = ref(false);\n\n\tasync function Submit() {\n\t\t\tconsole.log('click')\n\t\t\t\n\t button.value.style['pointer-events'] = 'none';\n\t error.value = null;\n\t loading.value = true;\n\n\t // Функция для сброса состояния кнопки.\n\t const resetButton = () => {\n if (button.value) {\n // button.value.classList.replace('bg-second', 'bg-main');\n button.value.style.pointerEvents = 'auto';\n loading.value = false;\n finished.value = false;\n error.value = null;\n }\n\t };\n\n\t try {\n await props.submit();\n\n button.value.classList.replace('bg-main', 'bg-second');\n\n loading.value = false;\n\n // Используем функцию сброса состояния кнопки здесь.\n if (props.showSucces) { \n\t\t\t\t\tfinished.value = true;\n setTimeout(resetButton, 500);\n } else {\n resetButton();\n }\n\n // Если есть callback, мы также установим таймер для его вызова.\n if (props.callback) setTimeout(() => props.callback(), props.callbackDelay);\n\n\t } catch (err) {\n \t\temits('error',err)\n // Если возникла ошибка, мы изменяем стили и устанавливаем сообщение об ошибке.\n button.value.classList.replace('bg-main', 'bg-fourth-nano');\n error.value = props.error;\n \n // После задержки снова сбрасываем состояние кнопки.\n setTimeout(() => {\n resetButton();\n // Так как класс кнопки был изменен, вернем его в исходное состояние.\n button.value.classList.replace('bg-fourth-nano', 'bg-main');\n }, 1330);\n\t }\n\t}\n\n</script>\n\n<template>\n\t<button @click.stop=\"Submit\" :disabled=\"validation\" ref=\"button\" class=\"button\">\n\t\t<transition name=\"FromTop\" >\n\t\t\t<!-- Slot -->\n\t\t\t<template v-if=\"!loading && !error && !finished || !showLoader\"><slot></slot></template>\n\t\t\t<!-- Loading Circle Animation -->\n\t\t\t<template v-else-if=\"loading && !error && showLoader\"><Loader class=\"pos-relative pos-t-0 pos-l-0 loading\"/></template>\n\t\t\t<!-- <Loader v-else-if=\"loading && !error && showLoader\"/> -->\n\t\t\t<!-- Success -->\n\t\t\t<span v-else-if=\"finished && showSucces\" class=\"t-semi t-center w-100 loading t-black\">{{text.success}}</span>\n\t\t\t<!-- Error if not finished -->\n\t\t\t<span v-else-if=\"error\" class=\"t-center w-100 error\">{{ error }}</span>\n\t\t</transition>\n\t\t<!-- Counter -->\n\t\t<div v-if=\"counter\" class=\"button-counter flex-center\"><span>{{counter}}</span></div> \n\n\t</button> \n</template>\n\n\n<style lang=\"scss\">\n\t.FromTop-enter-active,\n\t.FromTop-leave-active {\n\t\ttransform: translateY(0);\n\t\topacity: 1;\n\t\ttransition: all 0.5s ease; \n\t\t\n\t}\n\t.FromTop-enter-from,\n\t.FromTop-leave-to {\n\t\tposition: absolute;\n\t\ttransform: translateY(-1rem);\n\t\topacity: 0;\n\t\ttransition: all 0.5s ease;\n\t}\n\n\tbutton[disabled] {\n\t\topacity: 0.75 !important;\n\t \tpointer-events: none !important;\n\t \tcursor: default !important;\n\t \tcolor: rgba(var(--dark), 0.33) !important;\n\t\tbackground: rgba(var(--light), 1) !important; \n\t}\n\n\ta.button {\n\t\t\ttext-box: trim-both cap alphabetic;\n\t}\n\n\t.button {\n\t\tdisplay: flex;\n\n\t\tpadding: 0.5rem;\n\t\tborder-radius: 3rem;\n\t\ttext-box: trim-both cap alphabetic;\n\n\t\ttransform: scale(1);\n\t\topacity: 1;\n\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\t\n\t\tcolor: black;\n\t\ttext-align: center;\n\t\ttext-transform: uppercase;\n\t\tfont-size: 1rem;\n\t\tletter-spacing: 5%;\n\n\t\ttransition: all 0.33s ease;\n\t \n\t\t&:hover {\n\t\t\tcursor: pointer;\n\t\t\topacity: 0.9;\n\t\t}\n\n\t\t&:active {\n\t\t\ttransform: scale(0.95);\n\t\t}\n\n\t\t&-small {\n\t\t\tpadding: 0.75rem;\n\t\t\tborder-radius: 0.5rem;\n\t\t\theight: fit-content;\n\t\t}\n\n\t\t.button-counter {\n\t\t\tposition: absolute;\n\t\t\tright: -8px;\n\t bottom: -8px;\n\t background: yellow;\n\t height: 16px;\n\t border-radius: 16px;\n\t width: 16px;\n\t font-weight: 500;\n\t text-align: center;\n\t line-height: 16px;\n\t font-size: 10px;\n\t\t}\n\t}\n</style>"],"names":["ref"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKC,UAAM,QAAQ;AAwCd,UAAM,QAAQ;AAEd,UAAM,SAASA,IAAG,IAAC,IAAI;AACvB,UAAM,QAAQA,IAAG,IAAC,IAAI;AACtB,UAAM,UAAUA,IAAG,IAAC,KAAK;AACzB,UAAM,WAAWA,IAAG,IAAC,KAAK;AAE1B,mBAAe,SAAS;AACtB,cAAQ,IAAI,OAAO;AAEjB,aAAO,MAAM,MAAM,gBAAgB,IAAI;AACvC,YAAM,QAAQ;AACd,cAAQ,QAAQ;AAGhB,YAAM,cAAc,MAAM;AACvB,YAAI,OAAO,OAAO;AAEhB,iBAAO,MAAM,MAAM,gBAAgB;AACnC,kBAAQ,QAAQ;AAChB,mBAAS,QAAQ;AACjB,gBAAM,QAAQ;AAAA,QACxB;AAAA,MACM;AAED,UAAI;AACD,cAAM,MAAM,OAAQ;AAEpB,eAAO,MAAM,UAAU,QAAQ,WAAW,WAAW;AAErD,gBAAQ,QAAQ;AAGhB,YAAI,MAAM,YAAY;AACzB,mBAAS,QAAQ;AACZ,qBAAW,aAAa,GAAG;AAAA,QACrC,OAAe;AACL,sBAAa;AAAA,QACvB;AAGQ,YAAI,MAAM,SAAU,YAAW,MAAM,MAAM,SAAU,GAAE,MAAM,aAAa;AAAA,MAE5E,SAAQ,KAAK;AACb,cAAM,SAAQ,GAAG;AAEf,eAAO,MAAM,UAAU,QAAQ,WAAW,gBAAgB;AAC1D,cAAM,QAAQ,MAAM;AAGpB,mBAAW,MAAM;AACf,sBAAa;AAEb,iBAAO,MAAM,UAAU,QAAQ,kBAAkB,SAAS;AAAA,QAC3D,GAAE,IAAI;AAAA,MACf;AAAA,IACA;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Chips.vue2.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Chips.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Popup.vue2.cjs","sources":["../../../../../src/components/Popup/Popup.vue"],"sourcesContent":["<template>\n <transition name=\"moveFromTop\">\n <teleport to=\"body\" v-if=\"isPopupOpen\">\n <div v-if=\"isPopupOpen\" key=\"popup-content\" class=\"z-index-6 popup-wrapper\"\n :class=\"{\n 'pd-t-extra': MOBILE_APP === 'ios',\n [alignClass]: true\n }\"\n >\n <transition name=\"TransitionTranslateY\" mode=\"out-in\">\n <section class=\"h-max-100 o-y-scroll pos-relative z-index-4\" v-bind=\"$attrs\" :class=\"$attrs.class\">\n <h4 v-if=\"title\" class=\"mn-b-medium\">{{title}}</h4>\n <IconCross :fill=\"'rgb(var(--white))'\" @click=\"closePopup()\" class=\"cursor-pointer bg-second pd-micro radius-extra pos-absolute pos-t-0 pos-r-0 mn-t-medium mn-r-medium hover-scale-1 i-medium z-index-5\"/>\n <slot></slot>\n </section> \n </transition>\n\n <div \n @click=\"closePopup()\" \n :class=\"{'active':isPopupOpen === true}\" \n class=\"color-overlay z-index-3\">\n </div>\n </div>\n </teleport>\n </transition>\n</template>\n\n<script setup>\nimport { computed, watch, onMounted, ref, nextTick } from 'vue';\n// Import libs\nimport { useRoute, useRouter } from 'vue-router'\n// import { useI18n } from 'vue-i18n'\n// Icons\nimport IconCross from '@martyrs/src/modules/icons/navigation/IconCross.vue';\n// Define props\nconst props = defineProps({\n isPopupOpen: {\n type: Boolean,\n default: false\n },\n style: String,\n title: String,\n align: {\n type: String,\n default: 'center center',\n validator: (value) => {\n const validAlignments = [\n 'top left', 'top center', 'top right',\n 'center left', 'center center', 'center right',\n 'bottom left', 'bottom center', 'bottom right'\n ];\n return validAlignments.includes(value);\n }\n }\n});\n\nconst emits = defineEmits(['close-popup'])\n\n// Compute the alignment class from the align prop\nconst alignClass = computed(() => {\n return `align-${props.align.replace(/\\s+/g, '-')}`;\n});\n\nfunction closePopup() {\n emits(\"close-popup\");\n} \n\nwatch(() => props.isPopupOpen, (newVal) => {\n if (newVal) {\n document.body.classList.add('no-scroll');\n } else {\n document.body.classList.remove('no-scroll');\n }\n});\n\n// Accessing router and store\nconst route = useRoute()\nconst router = useRouter()\n// Localization\nconst text = {\n messages: {\n en: {},\n ru: {}\n }\n}\n// const { t } = useI18n(text)\n</script>\n\n<style lang=\"scss\">\n .no-scroll {\n overflow: hidden;\n\n #view {\n overflow: hidden;\n }\n }\n\n .popup-wrapper {\n display: flex;\n position: fixed;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n z-index: 40;\n\n /* Default alignment - center center */\n &.align-center-center {\n align-items: center;\n justify-content: center;\n }\n\n /* Top alignments */\n &.align-top-left {\n align-items: flex-start;\n justify-content: flex-start;\n }\n \n &.align-top-center {\n align-items: flex-start;\n justify-content: center;\n }\n \n &.align-top-right {\n align-items: flex-start;\n justify-content: flex-end;\n }\n\n /* Center alignments */\n &.align-center-left {\n align-items: center;\n justify-content: flex-start;\n }\n \n &.align-center-right {\n align-items: center;\n justify-content: flex-end;\n }\n\n /* Bottom alignments */\n &.align-bottom-left {\n align-items: flex-end;\n justify-content: flex-start;\n }\n \n &.align-bottom-center {\n align-items: flex-end;\n justify-content: center;\n }\n \n &.align-bottom-right {\n align-items: flex-end;\n justify-content: flex-end;\n }\n\n .popup {\n position: absolute;\n height: auto;\n padding: 2rem;\n min-width: 24rem;\n border-radius: 2rem;\n overflow: hidden;\n color: white;\n background: black;\n z-index: 40;\n }\n }\n\n .color-overlay {\n display: block;\n position: fixed;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background: rgba(0,0,0,0.0);\n pointer-events: none;\n transform: scale(1.5);\n transition: all 0.5s cubic-bezier(.31,.79,.24,.92);\n \n &.active {\n background: rgba(#000,0.25);\n pointer-events: all;\n }\n }\n</style>"],"names":["computed","watch","useRoute","useRouter"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCA,UAAM,QAAQ;AAqBd,UAAM,QAAQ;AAGd,UAAM,aAAaA,IAAQ,SAAC,MAAM;AAChC,aAAO,SAAS,MAAM,MAAM,QAAQ,QAAQ,GAAG,CAAC;AAAA,IAClD,CAAC;AAED,aAAS,aAAa;AACpB,YAAM,aAAa;AAAA,IACrB;AAEAC,QAAK,MAAC,MAAM,MAAM,aAAa,CAAC,WAAW;AACzC,UAAI,QAAQ;AACV,iBAAS,KAAK,UAAU,IAAI,WAAW;AAAA,MAC3C,OAAS;AACL,iBAAS,KAAK,UAAU,OAAO,WAAW;AAAA,MAC9C;AAAA,IACA,CAAC;AAGaC,cAAQ,SAAA;AACPC,cAAS,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,194 +0,0 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const defaultOptions = {
4
- active: true,
5
- breakpoints: {},
6
- delay: 4e3,
7
- jump: false,
8
- playOnInit: true,
9
- stopOnFocusIn: true,
10
- stopOnInteraction: true,
11
- stopOnMouseEnter: false,
12
- stopOnLastSnap: false,
13
- rootNode: null
14
- };
15
- function normalizeDelay(emblaApi, delay) {
16
- const scrollSnaps = emblaApi.scrollSnapList();
17
- if (typeof delay === "number") {
18
- return scrollSnaps.map(() => delay);
19
- }
20
- return delay(scrollSnaps, emblaApi);
21
- }
22
- function getAutoplayRootNode(emblaApi, rootNode) {
23
- const emblaRootNode = emblaApi.rootNode();
24
- return rootNode && rootNode(emblaRootNode) || emblaRootNode;
25
- }
26
- function Autoplay(userOptions = {}) {
27
- let options;
28
- let emblaApi;
29
- let destroyed;
30
- let delay;
31
- let timerStartTime = null;
32
- let timerId = 0;
33
- let autoplayActive = false;
34
- let mouseIsOver = false;
35
- let playOnDocumentVisible = false;
36
- let jump = false;
37
- function init(emblaApiInstance, optionsHandler) {
38
- emblaApi = emblaApiInstance;
39
- const {
40
- mergeOptions,
41
- optionsAtMedia
42
- } = optionsHandler;
43
- const optionsBase = mergeOptions(defaultOptions, Autoplay.globalOptions);
44
- const allOptions = mergeOptions(optionsBase, userOptions);
45
- options = optionsAtMedia(allOptions);
46
- if (emblaApi.scrollSnapList().length <= 1) return;
47
- jump = options.jump;
48
- destroyed = false;
49
- delay = normalizeDelay(emblaApi, options.delay);
50
- const {
51
- eventStore,
52
- ownerDocument
53
- } = emblaApi.internalEngine();
54
- const isDraggable = !!emblaApi.internalEngine().options.watchDrag;
55
- const root = getAutoplayRootNode(emblaApi, options.rootNode);
56
- eventStore.add(ownerDocument, "visibilitychange", visibilityChange);
57
- if (isDraggable) {
58
- emblaApi.on("pointerDown", pointerDown);
59
- }
60
- if (isDraggable && !options.stopOnInteraction) {
61
- emblaApi.on("pointerUp", pointerUp);
62
- }
63
- if (options.stopOnMouseEnter) {
64
- eventStore.add(root, "mouseenter", mouseEnter);
65
- }
66
- if (options.stopOnMouseEnter && !options.stopOnInteraction) {
67
- eventStore.add(root, "mouseleave", mouseLeave);
68
- }
69
- if (options.stopOnFocusIn) {
70
- emblaApi.on("slideFocusStart", stopAutoplay);
71
- }
72
- if (options.stopOnFocusIn && !options.stopOnInteraction) {
73
- eventStore.add(emblaApi.containerNode(), "focusout", startAutoplay);
74
- }
75
- if (options.playOnInit) startAutoplay();
76
- }
77
- function destroy() {
78
- emblaApi.off("pointerDown", pointerDown).off("pointerUp", pointerUp).off("slideFocusStart", stopAutoplay);
79
- stopAutoplay();
80
- destroyed = true;
81
- autoplayActive = false;
82
- }
83
- function setTimer() {
84
- const {
85
- ownerWindow
86
- } = emblaApi.internalEngine();
87
- ownerWindow.clearTimeout(timerId);
88
- timerId = ownerWindow.setTimeout(next, delay[emblaApi.selectedScrollSnap()]);
89
- timerStartTime = (/* @__PURE__ */ new Date()).getTime();
90
- emblaApi.emit("autoplay:timerset");
91
- }
92
- function clearTimer() {
93
- const {
94
- ownerWindow
95
- } = emblaApi.internalEngine();
96
- ownerWindow.clearTimeout(timerId);
97
- timerId = 0;
98
- timerStartTime = null;
99
- emblaApi.emit("autoplay:timerstopped");
100
- }
101
- function startAutoplay() {
102
- if (destroyed) return;
103
- if (documentIsHidden()) {
104
- playOnDocumentVisible = true;
105
- return;
106
- }
107
- if (!autoplayActive) emblaApi.emit("autoplay:play");
108
- setTimer();
109
- autoplayActive = true;
110
- }
111
- function stopAutoplay() {
112
- if (destroyed) return;
113
- if (autoplayActive) emblaApi.emit("autoplay:stop");
114
- clearTimer();
115
- autoplayActive = false;
116
- }
117
- function visibilityChange() {
118
- if (documentIsHidden()) {
119
- playOnDocumentVisible = autoplayActive;
120
- return stopAutoplay();
121
- }
122
- if (playOnDocumentVisible) startAutoplay();
123
- }
124
- function documentIsHidden() {
125
- const {
126
- ownerDocument
127
- } = emblaApi.internalEngine();
128
- return ownerDocument.visibilityState === "hidden";
129
- }
130
- function pointerDown() {
131
- if (!mouseIsOver) stopAutoplay();
132
- }
133
- function pointerUp() {
134
- if (!mouseIsOver) startAutoplay();
135
- }
136
- function mouseEnter() {
137
- mouseIsOver = true;
138
- stopAutoplay();
139
- }
140
- function mouseLeave() {
141
- mouseIsOver = false;
142
- startAutoplay();
143
- }
144
- function play(jumpOverride) {
145
- if (typeof jumpOverride !== "undefined") jump = jumpOverride;
146
- startAutoplay();
147
- }
148
- function stop() {
149
- if (autoplayActive) stopAutoplay();
150
- }
151
- function reset() {
152
- if (autoplayActive) startAutoplay();
153
- }
154
- function isPlaying() {
155
- return autoplayActive;
156
- }
157
- function next() {
158
- const {
159
- index
160
- } = emblaApi.internalEngine();
161
- const nextIndex = index.clone().add(1).get();
162
- const lastIndex = emblaApi.scrollSnapList().length - 1;
163
- const kill = options.stopOnLastSnap && nextIndex === lastIndex;
164
- if (emblaApi.canScrollNext()) {
165
- emblaApi.scrollNext(jump);
166
- } else {
167
- emblaApi.scrollTo(0, jump);
168
- }
169
- emblaApi.emit("autoplay:select");
170
- if (kill) return stopAutoplay();
171
- startAutoplay();
172
- }
173
- function timeUntilNext() {
174
- if (!timerStartTime) return null;
175
- const currentDelay = delay[emblaApi.selectedScrollSnap()];
176
- const timePastSinceStart = (/* @__PURE__ */ new Date()).getTime() - timerStartTime;
177
- return currentDelay - timePastSinceStart;
178
- }
179
- const self = {
180
- name: "autoplay",
181
- options: userOptions,
182
- init,
183
- destroy,
184
- play,
185
- stop,
186
- reset,
187
- isPlaying,
188
- timeUntilNext
189
- };
190
- return self;
191
- }
192
- Autoplay.globalOptions = void 0;
193
- exports.default = Autoplay;
194
- //# sourceMappingURL=embla-carousel-autoplay.esm.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"embla-carousel-autoplay.esm.cjs","sources":["../../../../../../../../node_modules/.pnpm/embla-carousel-autoplay@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js"],"sourcesContent":["const defaultOptions = {\n active: true,\n breakpoints: {},\n delay: 4000,\n jump: false,\n playOnInit: true,\n stopOnFocusIn: true,\n stopOnInteraction: true,\n stopOnMouseEnter: false,\n stopOnLastSnap: false,\n rootNode: null\n};\n\nfunction normalizeDelay(emblaApi, delay) {\n const scrollSnaps = emblaApi.scrollSnapList();\n if (typeof delay === 'number') {\n return scrollSnaps.map(() => delay);\n }\n return delay(scrollSnaps, emblaApi);\n}\nfunction getAutoplayRootNode(emblaApi, rootNode) {\n const emblaRootNode = emblaApi.rootNode();\n return rootNode && rootNode(emblaRootNode) || emblaRootNode;\n}\n\nfunction Autoplay(userOptions = {}) {\n let options;\n let emblaApi;\n let destroyed;\n let delay;\n let timerStartTime = null;\n let timerId = 0;\n let autoplayActive = false;\n let mouseIsOver = false;\n let playOnDocumentVisible = false;\n let jump = false;\n function init(emblaApiInstance, optionsHandler) {\n emblaApi = emblaApiInstance;\n const {\n mergeOptions,\n optionsAtMedia\n } = optionsHandler;\n const optionsBase = mergeOptions(defaultOptions, Autoplay.globalOptions);\n const allOptions = mergeOptions(optionsBase, userOptions);\n options = optionsAtMedia(allOptions);\n if (emblaApi.scrollSnapList().length <= 1) return;\n jump = options.jump;\n destroyed = false;\n delay = normalizeDelay(emblaApi, options.delay);\n const {\n eventStore,\n ownerDocument\n } = emblaApi.internalEngine();\n const isDraggable = !!emblaApi.internalEngine().options.watchDrag;\n const root = getAutoplayRootNode(emblaApi, options.rootNode);\n eventStore.add(ownerDocument, 'visibilitychange', visibilityChange);\n if (isDraggable) {\n emblaApi.on('pointerDown', pointerDown);\n }\n if (isDraggable && !options.stopOnInteraction) {\n emblaApi.on('pointerUp', pointerUp);\n }\n if (options.stopOnMouseEnter) {\n eventStore.add(root, 'mouseenter', mouseEnter);\n }\n if (options.stopOnMouseEnter && !options.stopOnInteraction) {\n eventStore.add(root, 'mouseleave', mouseLeave);\n }\n if (options.stopOnFocusIn) {\n emblaApi.on('slideFocusStart', stopAutoplay);\n }\n if (options.stopOnFocusIn && !options.stopOnInteraction) {\n eventStore.add(emblaApi.containerNode(), 'focusout', startAutoplay);\n }\n if (options.playOnInit) startAutoplay();\n }\n function destroy() {\n emblaApi.off('pointerDown', pointerDown).off('pointerUp', pointerUp).off('slideFocusStart', stopAutoplay);\n stopAutoplay();\n destroyed = true;\n autoplayActive = false;\n }\n function setTimer() {\n const {\n ownerWindow\n } = emblaApi.internalEngine();\n ownerWindow.clearTimeout(timerId);\n timerId = ownerWindow.setTimeout(next, delay[emblaApi.selectedScrollSnap()]);\n timerStartTime = new Date().getTime();\n emblaApi.emit('autoplay:timerset');\n }\n function clearTimer() {\n const {\n ownerWindow\n } = emblaApi.internalEngine();\n ownerWindow.clearTimeout(timerId);\n timerId = 0;\n timerStartTime = null;\n emblaApi.emit('autoplay:timerstopped');\n }\n function startAutoplay() {\n if (destroyed) return;\n if (documentIsHidden()) {\n playOnDocumentVisible = true;\n return;\n }\n if (!autoplayActive) emblaApi.emit('autoplay:play');\n setTimer();\n autoplayActive = true;\n }\n function stopAutoplay() {\n if (destroyed) return;\n if (autoplayActive) emblaApi.emit('autoplay:stop');\n clearTimer();\n autoplayActive = false;\n }\n function visibilityChange() {\n if (documentIsHidden()) {\n playOnDocumentVisible = autoplayActive;\n return stopAutoplay();\n }\n if (playOnDocumentVisible) startAutoplay();\n }\n function documentIsHidden() {\n const {\n ownerDocument\n } = emblaApi.internalEngine();\n return ownerDocument.visibilityState === 'hidden';\n }\n function pointerDown() {\n if (!mouseIsOver) stopAutoplay();\n }\n function pointerUp() {\n if (!mouseIsOver) startAutoplay();\n }\n function mouseEnter() {\n mouseIsOver = true;\n stopAutoplay();\n }\n function mouseLeave() {\n mouseIsOver = false;\n startAutoplay();\n }\n function play(jumpOverride) {\n if (typeof jumpOverride !== 'undefined') jump = jumpOverride;\n startAutoplay();\n }\n function stop() {\n if (autoplayActive) stopAutoplay();\n }\n function reset() {\n if (autoplayActive) startAutoplay();\n }\n function isPlaying() {\n return autoplayActive;\n }\n function next() {\n const {\n index\n } = emblaApi.internalEngine();\n const nextIndex = index.clone().add(1).get();\n const lastIndex = emblaApi.scrollSnapList().length - 1;\n const kill = options.stopOnLastSnap && nextIndex === lastIndex;\n if (emblaApi.canScrollNext()) {\n emblaApi.scrollNext(jump);\n } else {\n emblaApi.scrollTo(0, jump);\n }\n emblaApi.emit('autoplay:select');\n if (kill) return stopAutoplay();\n startAutoplay();\n }\n function timeUntilNext() {\n if (!timerStartTime) return null;\n const currentDelay = delay[emblaApi.selectedScrollSnap()];\n const timePastSinceStart = new Date().getTime() - timerStartTime;\n return currentDelay - timePastSinceStart;\n }\n const self = {\n name: 'autoplay',\n options: userOptions,\n init,\n destroy,\n play,\n stop,\n reset,\n isPlaying,\n timeUntilNext\n };\n return self;\n}\nAutoplay.globalOptions = undefined;\n\nexport { Autoplay as default };\n//# sourceMappingURL=embla-carousel-autoplay.esm.js.map\n"],"names":[],"mappings":";;AAAA,MAAM,iBAAiB;AAAA,EACrB,QAAQ;AAAA,EACR,aAAa,CAAE;AAAA,EACf,OAAO;AAAA,EACP,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,gBAAgB;AAAA,EAChB,UAAU;AACZ;AAEA,SAAS,eAAe,UAAU,OAAO;AACvC,QAAM,cAAc,SAAS,eAAgB;AAC7C,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO,YAAY,IAA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AACD,SAAO;AACT;AACA,SAAS,gBAAgB;;","x_google_ignoreList":[0]}
@@ -1,194 +0,0 @@
1
- const defaultOptions = {
2
- active: true,
3
- breakpoints: {},
4
- delay: 4e3,
5
- jump: false,
6
- playOnInit: true,
7
- stopOnFocusIn: true,
8
- stopOnInteraction: true,
9
- stopOnMouseEnter: false,
10
- stopOnLastSnap: false,
11
- rootNode: null
12
- };
13
- function normalizeDelay(emblaApi, delay) {
14
- const scrollSnaps = emblaApi.scrollSnapList();
15
- if (typeof delay === "number") {
16
- return scrollSnaps.map(() => delay);
17
- }
18
- return delay(scrollSnaps, emblaApi);
19
- }
20
- function getAutoplayRootNode(emblaApi, rootNode) {
21
- const emblaRootNode = emblaApi.rootNode();
22
- return rootNode && rootNode(emblaRootNode) || emblaRootNode;
23
- }
24
- function Autoplay(userOptions = {}) {
25
- let options;
26
- let emblaApi;
27
- let destroyed;
28
- let delay;
29
- let timerStartTime = null;
30
- let timerId = 0;
31
- let autoplayActive = false;
32
- let mouseIsOver = false;
33
- let playOnDocumentVisible = false;
34
- let jump = false;
35
- function init(emblaApiInstance, optionsHandler) {
36
- emblaApi = emblaApiInstance;
37
- const {
38
- mergeOptions,
39
- optionsAtMedia
40
- } = optionsHandler;
41
- const optionsBase = mergeOptions(defaultOptions, Autoplay.globalOptions);
42
- const allOptions = mergeOptions(optionsBase, userOptions);
43
- options = optionsAtMedia(allOptions);
44
- if (emblaApi.scrollSnapList().length <= 1) return;
45
- jump = options.jump;
46
- destroyed = false;
47
- delay = normalizeDelay(emblaApi, options.delay);
48
- const {
49
- eventStore,
50
- ownerDocument
51
- } = emblaApi.internalEngine();
52
- const isDraggable = !!emblaApi.internalEngine().options.watchDrag;
53
- const root = getAutoplayRootNode(emblaApi, options.rootNode);
54
- eventStore.add(ownerDocument, "visibilitychange", visibilityChange);
55
- if (isDraggable) {
56
- emblaApi.on("pointerDown", pointerDown);
57
- }
58
- if (isDraggable && !options.stopOnInteraction) {
59
- emblaApi.on("pointerUp", pointerUp);
60
- }
61
- if (options.stopOnMouseEnter) {
62
- eventStore.add(root, "mouseenter", mouseEnter);
63
- }
64
- if (options.stopOnMouseEnter && !options.stopOnInteraction) {
65
- eventStore.add(root, "mouseleave", mouseLeave);
66
- }
67
- if (options.stopOnFocusIn) {
68
- emblaApi.on("slideFocusStart", stopAutoplay);
69
- }
70
- if (options.stopOnFocusIn && !options.stopOnInteraction) {
71
- eventStore.add(emblaApi.containerNode(), "focusout", startAutoplay);
72
- }
73
- if (options.playOnInit) startAutoplay();
74
- }
75
- function destroy() {
76
- emblaApi.off("pointerDown", pointerDown).off("pointerUp", pointerUp).off("slideFocusStart", stopAutoplay);
77
- stopAutoplay();
78
- destroyed = true;
79
- autoplayActive = false;
80
- }
81
- function setTimer() {
82
- const {
83
- ownerWindow
84
- } = emblaApi.internalEngine();
85
- ownerWindow.clearTimeout(timerId);
86
- timerId = ownerWindow.setTimeout(next, delay[emblaApi.selectedScrollSnap()]);
87
- timerStartTime = (/* @__PURE__ */ new Date()).getTime();
88
- emblaApi.emit("autoplay:timerset");
89
- }
90
- function clearTimer() {
91
- const {
92
- ownerWindow
93
- } = emblaApi.internalEngine();
94
- ownerWindow.clearTimeout(timerId);
95
- timerId = 0;
96
- timerStartTime = null;
97
- emblaApi.emit("autoplay:timerstopped");
98
- }
99
- function startAutoplay() {
100
- if (destroyed) return;
101
- if (documentIsHidden()) {
102
- playOnDocumentVisible = true;
103
- return;
104
- }
105
- if (!autoplayActive) emblaApi.emit("autoplay:play");
106
- setTimer();
107
- autoplayActive = true;
108
- }
109
- function stopAutoplay() {
110
- if (destroyed) return;
111
- if (autoplayActive) emblaApi.emit("autoplay:stop");
112
- clearTimer();
113
- autoplayActive = false;
114
- }
115
- function visibilityChange() {
116
- if (documentIsHidden()) {
117
- playOnDocumentVisible = autoplayActive;
118
- return stopAutoplay();
119
- }
120
- if (playOnDocumentVisible) startAutoplay();
121
- }
122
- function documentIsHidden() {
123
- const {
124
- ownerDocument
125
- } = emblaApi.internalEngine();
126
- return ownerDocument.visibilityState === "hidden";
127
- }
128
- function pointerDown() {
129
- if (!mouseIsOver) stopAutoplay();
130
- }
131
- function pointerUp() {
132
- if (!mouseIsOver) startAutoplay();
133
- }
134
- function mouseEnter() {
135
- mouseIsOver = true;
136
- stopAutoplay();
137
- }
138
- function mouseLeave() {
139
- mouseIsOver = false;
140
- startAutoplay();
141
- }
142
- function play(jumpOverride) {
143
- if (typeof jumpOverride !== "undefined") jump = jumpOverride;
144
- startAutoplay();
145
- }
146
- function stop() {
147
- if (autoplayActive) stopAutoplay();
148
- }
149
- function reset() {
150
- if (autoplayActive) startAutoplay();
151
- }
152
- function isPlaying() {
153
- return autoplayActive;
154
- }
155
- function next() {
156
- const {
157
- index
158
- } = emblaApi.internalEngine();
159
- const nextIndex = index.clone().add(1).get();
160
- const lastIndex = emblaApi.scrollSnapList().length - 1;
161
- const kill = options.stopOnLastSnap && nextIndex === lastIndex;
162
- if (emblaApi.canScrollNext()) {
163
- emblaApi.scrollNext(jump);
164
- } else {
165
- emblaApi.scrollTo(0, jump);
166
- }
167
- emblaApi.emit("autoplay:select");
168
- if (kill) return stopAutoplay();
169
- startAutoplay();
170
- }
171
- function timeUntilNext() {
172
- if (!timerStartTime) return null;
173
- const currentDelay = delay[emblaApi.selectedScrollSnap()];
174
- const timePastSinceStart = (/* @__PURE__ */ new Date()).getTime() - timerStartTime;
175
- return currentDelay - timePastSinceStart;
176
- }
177
- const self = {
178
- name: "autoplay",
179
- options: userOptions,
180
- init,
181
- destroy,
182
- play,
183
- stop,
184
- reset,
185
- isPlaying,
186
- timeUntilNext
187
- };
188
- return self;
189
- }
190
- Autoplay.globalOptions = void 0;
191
- export {
192
- Autoplay as default
193
- };
194
- //# sourceMappingURL=embla-carousel-autoplay.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"embla-carousel-autoplay.esm.js","sources":["../../../../../../../../node_modules/.pnpm/embla-carousel-autoplay@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js"],"sourcesContent":["const defaultOptions = {\n active: true,\n breakpoints: {},\n delay: 4000,\n jump: false,\n playOnInit: true,\n stopOnFocusIn: true,\n stopOnInteraction: true,\n stopOnMouseEnter: false,\n stopOnLastSnap: false,\n rootNode: null\n};\n\nfunction normalizeDelay(emblaApi, delay) {\n const scrollSnaps = emblaApi.scrollSnapList();\n if (typeof delay === 'number') {\n return scrollSnaps.map(() => delay);\n }\n return delay(scrollSnaps, emblaApi);\n}\nfunction getAutoplayRootNode(emblaApi, rootNode) {\n const emblaRootNode = emblaApi.rootNode();\n return rootNode && rootNode(emblaRootNode) || emblaRootNode;\n}\n\nfunction Autoplay(userOptions = {}) {\n let options;\n let emblaApi;\n let destroyed;\n let delay;\n let timerStartTime = null;\n let timerId = 0;\n let autoplayActive = false;\n let mouseIsOver = false;\n let playOnDocumentVisible = false;\n let jump = false;\n function init(emblaApiInstance, optionsHandler) {\n emblaApi = emblaApiInstance;\n const {\n mergeOptions,\n optionsAtMedia\n } = optionsHandler;\n const optionsBase = mergeOptions(defaultOptions, Autoplay.globalOptions);\n const allOptions = mergeOptions(optionsBase, userOptions);\n options = optionsAtMedia(allOptions);\n if (emblaApi.scrollSnapList().length <= 1) return;\n jump = options.jump;\n destroyed = false;\n delay = normalizeDelay(emblaApi, options.delay);\n const {\n eventStore,\n ownerDocument\n } = emblaApi.internalEngine();\n const isDraggable = !!emblaApi.internalEngine().options.watchDrag;\n const root = getAutoplayRootNode(emblaApi, options.rootNode);\n eventStore.add(ownerDocument, 'visibilitychange', visibilityChange);\n if (isDraggable) {\n emblaApi.on('pointerDown', pointerDown);\n }\n if (isDraggable && !options.stopOnInteraction) {\n emblaApi.on('pointerUp', pointerUp);\n }\n if (options.stopOnMouseEnter) {\n eventStore.add(root, 'mouseenter', mouseEnter);\n }\n if (options.stopOnMouseEnter && !options.stopOnInteraction) {\n eventStore.add(root, 'mouseleave', mouseLeave);\n }\n if (options.stopOnFocusIn) {\n emblaApi.on('slideFocusStart', stopAutoplay);\n }\n if (options.stopOnFocusIn && !options.stopOnInteraction) {\n eventStore.add(emblaApi.containerNode(), 'focusout', startAutoplay);\n }\n if (options.playOnInit) startAutoplay();\n }\n function destroy() {\n emblaApi.off('pointerDown', pointerDown).off('pointerUp', pointerUp).off('slideFocusStart', stopAutoplay);\n stopAutoplay();\n destroyed = true;\n autoplayActive = false;\n }\n function setTimer() {\n const {\n ownerWindow\n } = emblaApi.internalEngine();\n ownerWindow.clearTimeout(timerId);\n timerId = ownerWindow.setTimeout(next, delay[emblaApi.selectedScrollSnap()]);\n timerStartTime = new Date().getTime();\n emblaApi.emit('autoplay:timerset');\n }\n function clearTimer() {\n const {\n ownerWindow\n } = emblaApi.internalEngine();\n ownerWindow.clearTimeout(timerId);\n timerId = 0;\n timerStartTime = null;\n emblaApi.emit('autoplay:timerstopped');\n }\n function startAutoplay() {\n if (destroyed) return;\n if (documentIsHidden()) {\n playOnDocumentVisible = true;\n return;\n }\n if (!autoplayActive) emblaApi.emit('autoplay:play');\n setTimer();\n autoplayActive = true;\n }\n function stopAutoplay() {\n if (destroyed) return;\n if (autoplayActive) emblaApi.emit('autoplay:stop');\n clearTimer();\n autoplayActive = false;\n }\n function visibilityChange() {\n if (documentIsHidden()) {\n playOnDocumentVisible = autoplayActive;\n return stopAutoplay();\n }\n if (playOnDocumentVisible) startAutoplay();\n }\n function documentIsHidden() {\n const {\n ownerDocument\n } = emblaApi.internalEngine();\n return ownerDocument.visibilityState === 'hidden';\n }\n function pointerDown() {\n if (!mouseIsOver) stopAutoplay();\n }\n function pointerUp() {\n if (!mouseIsOver) startAutoplay();\n }\n function mouseEnter() {\n mouseIsOver = true;\n stopAutoplay();\n }\n function mouseLeave() {\n mouseIsOver = false;\n startAutoplay();\n }\n function play(jumpOverride) {\n if (typeof jumpOverride !== 'undefined') jump = jumpOverride;\n startAutoplay();\n }\n function stop() {\n if (autoplayActive) stopAutoplay();\n }\n function reset() {\n if (autoplayActive) startAutoplay();\n }\n function isPlaying() {\n return autoplayActive;\n }\n function next() {\n const {\n index\n } = emblaApi.internalEngine();\n const nextIndex = index.clone().add(1).get();\n const lastIndex = emblaApi.scrollSnapList().length - 1;\n const kill = options.stopOnLastSnap && nextIndex === lastIndex;\n if (emblaApi.canScrollNext()) {\n emblaApi.scrollNext(jump);\n } else {\n emblaApi.scrollTo(0, jump);\n }\n emblaApi.emit('autoplay:select');\n if (kill) return stopAutoplay();\n startAutoplay();\n }\n function timeUntilNext() {\n if (!timerStartTime) return null;\n const currentDelay = delay[emblaApi.selectedScrollSnap()];\n const timePastSinceStart = new Date().getTime() - timerStartTime;\n return currentDelay - timePastSinceStart;\n }\n const self = {\n name: 'autoplay',\n options: userOptions,\n init,\n destroy,\n play,\n stop,\n reset,\n isPlaying,\n timeUntilNext\n };\n return self;\n}\nAutoplay.globalOptions = undefined;\n\nexport { Autoplay as default };\n//# sourceMappingURL=embla-carousel-autoplay.esm.js.map\n"],"names":[],"mappings":"AAAA,MAAM,iBAAiB;AAAA,EACrB,QAAQ;AAAA,EACR,aAAa,CAAE;AAAA,EACf,OAAO;AAAA,EACP,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,eAAe;AAAA,EACf,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,gBAAgB;AAAA,EAChB,UAAU;AACZ;AAEA,SAAS,eAAe,UAAU,OAAO;AACvC,QAAM,cAAc,SAAS,eAAgB;AAC7C,MAAI,OAAO,UAAU,UAAU;AAC7B,WAAO,YAAY,IAAI,MAAM,KAAK;AAAA,EACtC;AACE,SAAO,MAAM,aAAa,QAAQ;AACpC;AACA,SAAS,oBAAoB,UAAU,UAAU;AAC/C,QAAM,gBAAgB,SAAS,SAAU;AACzC,SAAO,YAAY,SAAS,aAAa,KAAK;AAChD;AAEA,SAAS,SAAS,cAAc,IAAI;AAClC,MAAI;AACJ,MAAI;AACJ,MAAI;AACJ,MAAI;AACJ,MAAI,iBAAiB;AACrB,MAAI,UA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S,KAAK,cAAc;AAC1B,QAAI,OAAO,iBAAiB,YAAa,QAAO;AAChD,kBAAe;AAAA,EACnB;AACE,WAAS,OAAO;AACd,QAAI,eAAgB,cAAc;AAAA,EACtC;AACE,WAAS,QAAQ;AACf,QAAI,eAAgB,eAAe;AAAA,EACvC;AACE,WAAS,YAAY;AACnB,WAAO;AAAA,EACX;AACE,WAAS,OAAO;AACd,UAAM;AAAA,MACJ;AAAA,IACN,IAAQ,SAAS,eAAgB;AAC7B,UAAM,YAAY,MAAM,MAAK,EAAG,IAAI,CAAC,EAAE,IAAK;AAC5C,UAAM,YAAY,SAAS,eAAgB,EAAC,SAAS;AACrD,UAAM,OAAO,QAAQ,kBAAkB,cAAc;AACrD,QAAI,SAAS,iBAAiB;AAC5B,eAAS,WAAW,IAAI;AAAA,IAC9B,OAAW;AACL,eAAS,SAAS,GAAG,IAAI;AAAA,IAC/B;AACI,aAAS,KAAK,iBAAiB;AAC/B,QAAI,KAAM,QAAO,aAAc;AAC/B,kBAAe;AAAA,EACnB;AACE,WAAS,gBAAgB;AACvB,QAAI,CAAC,eAAgB,QAAO;AAC5B,UAAM,eAAe,MAAM,SAAS,mBAAkB,CAAE;AACxD,UAAM,sBAAqB,oBAAI,QAAO,QAAS,IAAG;AAClD,WAAO,eAAe;AAAA,EAC1B;AACE,QAAM,OAAO;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,IACT;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACD;AACD,SAAO;AACT;AACA,SAAS,gBAAgB;","x_google_ignoreList":[0]}
@@ -1,43 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- function isObject(subject) {
4
- return Object.prototype.toString.call(subject) === "[object Object]";
5
- }
6
- function isRecord(subject) {
7
- return isObject(subject) || Array.isArray(subject);
8
- }
9
- function canUseDOM() {
10
- return !!(typeof window !== "undefined" && window.document && window.document.createElement);
11
- }
12
- function areOptionsEqual(optionsA, optionsB) {
13
- const optionsAKeys = Object.keys(optionsA);
14
- const optionsBKeys = Object.keys(optionsB);
15
- if (optionsAKeys.length !== optionsBKeys.length) return false;
16
- const breakpointsA = JSON.stringify(Object.keys(optionsA.breakpoints || {}));
17
- const breakpointsB = JSON.stringify(Object.keys(optionsB.breakpoints || {}));
18
- if (breakpointsA !== breakpointsB) return false;
19
- return optionsAKeys.every((key) => {
20
- const valueA = optionsA[key];
21
- const valueB = optionsB[key];
22
- if (typeof valueA === "function") return `${valueA}` === `${valueB}`;
23
- if (!isRecord(valueA) || !isRecord(valueB)) return valueA === valueB;
24
- return areOptionsEqual(valueA, valueB);
25
- });
26
- }
27
- function sortAndMapPluginToOptions(plugins) {
28
- return plugins.concat().sort((a, b) => a.name > b.name ? 1 : -1).map((plugin) => plugin.options);
29
- }
30
- function arePluginsEqual(pluginsA, pluginsB) {
31
- if (pluginsA.length !== pluginsB.length) return false;
32
- const optionsA = sortAndMapPluginToOptions(pluginsA);
33
- const optionsB = sortAndMapPluginToOptions(pluginsB);
34
- return optionsA.every((optionA, index) => {
35
- const optionB = optionsB[index];
36
- return areOptionsEqual(optionA, optionB);
37
- });
38
- }
39
- exports.areOptionsEqual = areOptionsEqual;
40
- exports.arePluginsEqual = arePluginsEqual;
41
- exports.canUseDOM = canUseDOM;
42
- exports.sortAndMapPluginToOptions = sortAndMapPluginToOptions;
43
- //# sourceMappingURL=embla-carousel-reactive-utils.esm.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"embla-carousel-reactive-utils.esm.cjs","sources":["../../../../../../../../node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js"],"sourcesContent":["function isObject(subject) {\n return Object.prototype.toString.call(subject) === '[object Object]';\n}\nfunction isRecord(subject) {\n return isObject(subject) || Array.isArray(subject);\n}\nfunction canUseDOM() {\n return !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n}\nfunction areOptionsEqual(optionsA, optionsB) {\n const optionsAKeys = Object.keys(optionsA);\n const optionsBKeys = Object.keys(optionsB);\n if (optionsAKeys.length !== optionsBKeys.length) return false;\n const breakpointsA = JSON.stringify(Object.keys(optionsA.breakpoints || {}));\n const breakpointsB = JSON.stringify(Object.keys(optionsB.breakpoints || {}));\n if (breakpointsA !== breakpointsB) return false;\n return optionsAKeys.every(key => {\n const valueA = optionsA[key];\n const valueB = optionsB[key];\n if (typeof valueA === 'function') return `${valueA}` === `${valueB}`;\n if (!isRecord(valueA) || !isRecord(valueB)) return valueA === valueB;\n return areOptionsEqual(valueA, valueB);\n });\n}\nfunction sortAndMapPluginToOptions(plugins) {\n return plugins.concat().sort((a, b) => a.name > b.name ? 1 : -1).map(plugin => plugin.options);\n}\nfunction arePluginsEqual(pluginsA, pluginsB) {\n if (pluginsA.length !== pluginsB.length) return false;\n const optionsA = sortAndMapPluginToOptions(pluginsA);\n const optionsB = sortAndMapPluginToOptions(pluginsB);\n return optionsA.every((optionA, index) => {\n const optionB = optionsB[index];\n return areOptionsEqual(optionA, optionB);\n });\n}\n\nexport { areOptionsEqual, arePluginsEqual, canUseDOM, sortAndMapPluginToOptions };\n//# sourceMappingURL=embla-carousel-reactive-utils.esm.js.map\n"],"names":[],"mappings":";;AAAA,SAAS,SAAS,SAAS;AACzB,SAAO,OAAO,UAAU,SAAS,KAAK,OAAO,MAAM;AACrD;AACA,SAAS,SAAS,SAAS;AACzB,SAAO,SAAS,OAAO,KAAK,MAAM,QAAQ,OAAO;AACnD;AACA,SAAS,YAAY;AACnB,SAAO,CAAC,EAAE,OAAO,WAAW,eAAe,OAAO,YAAY,OAAO,SAAS;AAChF;AACA,SAAS,gBAAgB,UAAU,UAAU;AAC3C,QAAM,eAAe,OAAO,KAAK,QAAQ;AACzC,QAAM,eAAe,OAAO,KAAK,QAAQ;AACzC,MAAI,aAAa,WAAW,aAAa,OAAQ,QAAO;AACxD,QAAM,eAAe,KAAK,UAAU,OAAO,KAAK,SAAS,eAAe,CAAA,CAAE,CAAC;AAC3E,QAAM,eAAe,KAAK,UAAU,OAAO,KAAK,SAAS,eAAe,CAAA,CAAE,CAAC;AAC3E,MAAI,iBAAiB,aAAc,QAAO;AAC1C,SAAO,aAAa,MAAM,SAAO;AAC/B,UAAM,SAAS,SAAS,GAAG;AAC3B,UAAM,SAAS,SAAS,GAAG;AAC3B,QAAI,OAAO,WAAW,WAAY,QAAO,GAAG,MAAM,OAAO,GAAG,MAAM;AAClE,QAAI,CAAC,SAAS,MAAM,KAAK,CAAC,SAAS,MAAM,EAAG,QAAO,WAAW;AAC9D,WAAO,gBAAgB,QAAQ,MAAM;AAAA,EACzC,CAAG;AACH;AACA,SAAS,0BAA0B,SAAS;AAC1C,SAAO,QAAQ,SAAS,KAAK,CAAC,GAAG,MAAM,EAAE,OAAO,EAAE,OAAO,IAAI,EAAE,EAAE,IAAI,YAAU,OAAO,OAAO;AAC/F;AACA,SAAS,gBAAgB,UAAU,UAAU;AAC3C,MAAI,SAAS,WAAW,SAAS,OAAQ,QAAO;AAChD,QAAM,WAAW,0BAA0B,QAAQ;AACnD,QAAM,WAAW,0BAA0B,QAAQ;AACnD,SAAO,SAAS,MAAM,CAAC,SAAS,UAAU;AACxC,UAAM,UAAU,SAAS,KAAK;AAC9B,WAAO,gBAAgB,SAAS,OAAO;AAAA,EAC3C,CAAG;AACH;;;;;","x_google_ignoreList":[0]}
@@ -1,43 +0,0 @@
1
- function isObject(subject) {
2
- return Object.prototype.toString.call(subject) === "[object Object]";
3
- }
4
- function isRecord(subject) {
5
- return isObject(subject) || Array.isArray(subject);
6
- }
7
- function canUseDOM() {
8
- return !!(typeof window !== "undefined" && window.document && window.document.createElement);
9
- }
10
- function areOptionsEqual(optionsA, optionsB) {
11
- const optionsAKeys = Object.keys(optionsA);
12
- const optionsBKeys = Object.keys(optionsB);
13
- if (optionsAKeys.length !== optionsBKeys.length) return false;
14
- const breakpointsA = JSON.stringify(Object.keys(optionsA.breakpoints || {}));
15
- const breakpointsB = JSON.stringify(Object.keys(optionsB.breakpoints || {}));
16
- if (breakpointsA !== breakpointsB) return false;
17
- return optionsAKeys.every((key) => {
18
- const valueA = optionsA[key];
19
- const valueB = optionsB[key];
20
- if (typeof valueA === "function") return `${valueA}` === `${valueB}`;
21
- if (!isRecord(valueA) || !isRecord(valueB)) return valueA === valueB;
22
- return areOptionsEqual(valueA, valueB);
23
- });
24
- }
25
- function sortAndMapPluginToOptions(plugins) {
26
- return plugins.concat().sort((a, b) => a.name > b.name ? 1 : -1).map((plugin) => plugin.options);
27
- }
28
- function arePluginsEqual(pluginsA, pluginsB) {
29
- if (pluginsA.length !== pluginsB.length) return false;
30
- const optionsA = sortAndMapPluginToOptions(pluginsA);
31
- const optionsB = sortAndMapPluginToOptions(pluginsB);
32
- return optionsA.every((optionA, index) => {
33
- const optionB = optionsB[index];
34
- return areOptionsEqual(optionA, optionB);
35
- });
36
- }
37
- export {
38
- areOptionsEqual,
39
- arePluginsEqual,
40
- canUseDOM,
41
- sortAndMapPluginToOptions
42
- };
43
- //# sourceMappingURL=embla-carousel-reactive-utils.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"embla-carousel-reactive-utils.esm.js","sources":["../../../../../../../../node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js"],"sourcesContent":["function isObject(subject) {\n return Object.prototype.toString.call(subject) === '[object Object]';\n}\nfunction isRecord(subject) {\n return isObject(subject) || Array.isArray(subject);\n}\nfunction canUseDOM() {\n return !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n}\nfunction areOptionsEqual(optionsA, optionsB) {\n const optionsAKeys = Object.keys(optionsA);\n const optionsBKeys = Object.keys(optionsB);\n if (optionsAKeys.length !== optionsBKeys.length) return false;\n const breakpointsA = JSON.stringify(Object.keys(optionsA.breakpoints || {}));\n const breakpointsB = JSON.stringify(Object.keys(optionsB.breakpoints || {}));\n if (breakpointsA !== breakpointsB) return false;\n return optionsAKeys.every(key => {\n const valueA = optionsA[key];\n const valueB = optionsB[key];\n if (typeof valueA === 'function') return `${valueA}` === `${valueB}`;\n if (!isRecord(valueA) || !isRecord(valueB)) return valueA === valueB;\n return areOptionsEqual(valueA, valueB);\n });\n}\nfunction sortAndMapPluginToOptions(plugins) {\n return plugins.concat().sort((a, b) => a.name > b.name ? 1 : -1).map(plugin => plugin.options);\n}\nfunction arePluginsEqual(pluginsA, pluginsB) {\n if (pluginsA.length !== pluginsB.length) return false;\n const optionsA = sortAndMapPluginToOptions(pluginsA);\n const optionsB = sortAndMapPluginToOptions(pluginsB);\n return optionsA.every((optionA, index) => {\n const optionB = optionsB[index];\n return areOptionsEqual(optionA, optionB);\n });\n}\n\nexport { areOptionsEqual, arePluginsEqual, canUseDOM, sortAndMapPluginToOptions };\n//# sourceMappingURL=embla-carousel-reactive-utils.esm.js.map\n"],"names":[],"mappings":"AAAA,SAAS,SAAS,SAAS;AACzB,SAAO,OAAO,UAAU,SAAS,KAAK,OAAO,MAAM;AACrD;AACA,SAAS,SAAS,SAAS;AACzB,SAAO,SAAS,OAAO,KAAK,MAAM,QAAQ,OAAO;AACnD;AACA,SAAS,YAAY;AACnB,SAAO,CAAC,EAAE,OAAO,WAAW,eAAe,OAAO,YAAY,OAAO,SAAS;AAChF;AACA,SAAS,gBAAgB,UAAU,UAAU;AAC3C,QAAM,eAAe,OAAO,KAAK,QAAQ;AACzC,QAAM,eAAe,OAAO,KAAK,QAAQ;AACzC,MAAI,aAAa,WAAW,aAAa,OAAQ,QAAO;AACxD,QAAM,eAAe,KAAK,UAAU,OAAO,KAAK,SAAS,eAAe,CAAA,CAAE,CAAC;AAC3E,QAAM,eAAe,KAAK,UAAU,OAAO,KAAK,SAAS,eAAe,CAAA,CAAE,CAAC;AAC3E,MAAI,iBAAiB,aAAc,QAAO;AAC1C,SAAO,aAAa,MAAM,SAAO;AAC/B,UAAM,SAAS,SAAS,GAAG;AAC3B,UAAM,SAAS,SAAS,GAAG;AAC3B,QAAI,OAAO,WAAW,WAAY,QAAO,GAAG,MAAM,OAAO,GAAG,MAAM;AAClE,QAAI,CAAC,SAAS,MAAM,KAAK,CAAC,SAAS,MAAM,EAAG,QAAO,WAAW;AAC9D,WAAO,gBAAgB,QAAQ,MAAM;AAAA,EACzC,CAAG;AACH;AACA,SAAS,0BAA0B,SAAS;AAC1C,SAAO,QAAQ,SAAS,KAAK,CAAC,GAAG,MAAM,EAAE,OAAO,EAAE,OAAO,IAAI,EAAE,EAAE,IAAI,YAAU,OAAO,OAAO;AAC/F;AACA,SAAS,gBAAgB,UAAU,UAAU;AAC3C,MAAI,SAAS,WAAW,SAAS,OAAQ,QAAO;AAChD,QAAM,WAAW,0BAA0B,QAAQ;AACnD,QAAM,WAAW,0BAA0B,QAAQ;AACnD,SAAO,SAAS,MAAM,CAAC,SAAS,UAAU;AACxC,UAAM,UAAU,SAAS,KAAK;AAC9B,WAAO,gBAAgB,SAAS,OAAO;AAAA,EAC3C,CAAG;AACH;","x_google_ignoreList":[0]}
@@ -1,43 +0,0 @@
1
- "use strict";
2
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const vue = require("vue");
4
- const emblaCarouselReactiveUtils_esm = require("../../../../embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs");
5
- const emblaCarousel_esm = require("../../../../embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs");
6
- function emblaCarouselVue(options = {}, plugins = []) {
7
- const isRefOptions = vue.isRef(options);
8
- const isRefPlugins = vue.isRef(plugins);
9
- let storedOptions = isRefOptions ? options.value : options;
10
- let storedPlugins = isRefPlugins ? plugins.value : plugins;
11
- const emblaNode = vue.shallowRef();
12
- const emblaApi = vue.shallowRef();
13
- function reInit() {
14
- if (!emblaApi.value) return;
15
- emblaApi.value.reInit(storedOptions, storedPlugins);
16
- }
17
- vue.onMounted(() => {
18
- if (!emblaCarouselReactiveUtils_esm.canUseDOM() || !emblaNode.value) return;
19
- emblaCarousel_esm.default.globalOptions = emblaCarouselVue.globalOptions;
20
- emblaApi.value = emblaCarousel_esm.default(emblaNode.value, storedOptions, storedPlugins);
21
- });
22
- vue.onBeforeUnmount(() => {
23
- if (emblaApi.value) emblaApi.value.destroy();
24
- });
25
- if (isRefOptions) {
26
- vue.watch(options, (newOptions) => {
27
- if (emblaCarouselReactiveUtils_esm.areOptionsEqual(storedOptions, newOptions)) return;
28
- storedOptions = newOptions;
29
- reInit();
30
- });
31
- }
32
- if (isRefPlugins) {
33
- vue.watch(plugins, (newPlugins) => {
34
- if (emblaCarouselReactiveUtils_esm.arePluginsEqual(storedPlugins, newPlugins)) return;
35
- storedPlugins = newPlugins;
36
- reInit();
37
- });
38
- }
39
- return [emblaNode, emblaApi];
40
- }
41
- emblaCarouselVue.globalOptions = void 0;
42
- exports.default = emblaCarouselVue;
43
- //# sourceMappingURL=embla-carousel-vue.esm.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"embla-carousel-vue.esm.cjs","sources":["../../../../../../../../node_modules/.pnpm/embla-carousel-vue@8.6.0_vue@3.5.13_typescript@5.8.3_/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js"],"sourcesContent":["import { isRef, shallowRef, onMounted, onBeforeUnmount, watch } from 'vue';\nimport { canUseDOM, areOptionsEqual, arePluginsEqual } from 'embla-carousel-reactive-utils';\nimport EmblaCarousel from 'embla-carousel';\n\nfunction emblaCarouselVue(options = {}, plugins = []) {\n const isRefOptions = isRef(options);\n const isRefPlugins = isRef(plugins);\n let storedOptions = isRefOptions ? options.value : options;\n let storedPlugins = isRefPlugins ? plugins.value : plugins;\n const emblaNode = shallowRef();\n const emblaApi = shallowRef();\n function reInit() {\n if (!emblaApi.value) return;\n emblaApi.value.reInit(storedOptions, storedPlugins);\n }\n onMounted(() => {\n if (!canUseDOM() || !emblaNode.value) return;\n EmblaCarousel.globalOptions = emblaCarouselVue.globalOptions;\n emblaApi.value = EmblaCarousel(emblaNode.value, storedOptions, storedPlugins);\n });\n onBeforeUnmount(() => {\n if (emblaApi.value) emblaApi.value.destroy();\n });\n if (isRefOptions) {\n watch(options, newOptions => {\n if (areOptionsEqual(storedOptions, newOptions)) return;\n storedOptions = newOptions;\n reInit();\n });\n }\n if (isRefPlugins) {\n watch(plugins, newPlugins => {\n if (arePluginsEqual(storedPlugins, newPlugins)) return;\n storedPlugins = newPlugins;\n reInit();\n });\n }\n return [emblaNode, emblaApi];\n}\nemblaCarouselVue.globalOptions = undefined;\n\nexport { emblaCarouselVue as default };\n//# sourceMappingURL=embla-carousel-vue.esm.js.map\n"],"names":["isRef","shallowRef","onMounted","canUseDOM","EmblaCarousel","onBeforeUnmount","watch","areOptionsEqual","arePluginsEqual"],"mappings":";;;;;AAIA,SAAS,iBAAiB,UAAU,IAAI,UAAU,CAAA,GAAI;AACpD,QAAM,eAAeA,IAAK,MAAC,OAAO;AAClC,QAAM,eAAeA,IAAK,MAAC,OAAO;AAClC,MAAI,gBAAgB,eAAe,QAAQ,QAAQ;AACnD,MAAI,gBAAgB,eAAe,QAAQ,QAAQ;AACnD,QAAM,YAAYC,IAAAA,WAAY;AAC9B,QAAM,WAAWA,IAAAA,WAAY;AAC7B,WAAS,SAAS;AAChB,QAAI,CAAC,SAAS,MAAO;AACrB,aAAS,MAAM,OAAO,eAAe,aAAa;AAAA,EACtD;AACEC,MAAAA,UAAU,MAAM;AACd,QAAI,CAACC,+BAAS,UAAA,KAAM,CAAC,UAAU,MAAO;AACtCC,8BAAc,gBAAgB,iBAAiB;AAC/C,aAAS,QAAQA,kBAAa,QAAC,UAAU,OAAO,eAAe,aAAa;AAAA,EAChF,CAAG;AACDC,MAAAA,gBAAgB,MAAM;AACpB,QAAI,SAAS,MAAO,UAAS,MAAM,QAAS;AAAA,EAChD,CAAG;AACD,MAAI,cAAc;AAChBC,QAAK,MAAC,SAAS,gBAAc;AAC3B,UAAIC,+BAAe,gBAAC,eAAe,UAAU,EAAG;AAChD,sBAAgB;AAChB,aAAQ;AAAA,IACd,CAAK;AAAA,EACL;AACE,MAAI,cAAc;AAChBD,QAAK,MAAC,SAAS,gBAAc;AAC3B,UAAIE,+BAAe,gBAAC,eAAe,UAAU,EAAG;AAChD,sBAAgB;AAChB,aAAQ;AAAA,IACd,CAAK;AAAA,EACL;AACE,SAAO,CAAC,WAAW,QAAQ;AAC7B;AACA,iBAAiB,gBAAgB;;","x_google_ignoreList":[0]}