@ozdao/prometheus-framework 0.2.222 → 0.2.224

Sign up to get free protection for your applications and to get access to all the features.
Files changed (498) hide show
  1. package/dist/auth.server.js +4 -4
  2. package/dist/auth.server.mjs +4 -4
  3. package/dist/builder.js +53 -53
  4. package/dist/builder.mjs +53 -53
  5. package/dist/community.server.js +8 -3
  6. package/dist/community.server.mjs +8 -3
  7. package/dist/events.server.js +14 -24
  8. package/dist/events.server.mjs +14 -24
  9. package/dist/files.server.js +1 -1
  10. package/dist/files.server.mjs +1 -1
  11. package/dist/gallery.server.js +42 -76
  12. package/dist/gallery.server.mjs +41 -75
  13. package/dist/index-CsS7qx1d.js +243 -0
  14. package/dist/index-UIHE6Rk3.mjs +244 -0
  15. package/dist/node_modules/@capacitor/core/dist/index.cjs +529 -0
  16. package/dist/node_modules/@capacitor/core/dist/index.cjs.map +1 -0
  17. package/dist/node_modules/@capacitor/core/dist/index.js +530 -0
  18. package/dist/node_modules/@capacitor/core/dist/index.js.map +1 -0
  19. package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/definitions.cjs +51 -0
  20. package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/definitions.cjs.map +1 -0
  21. package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/definitions.js +55 -0
  22. package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/definitions.js.map +1 -0
  23. package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.cjs +25 -0
  24. package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.cjs.map +1 -0
  25. package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.js +13 -0
  26. package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/index.js.map +1 -0
  27. package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.cjs +67 -0
  28. package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.cjs.map +1 -0
  29. package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.js +67 -0
  30. package/dist/node_modules/@capacitor-mlkit/barcode-scanning/dist/esm/web.js.map +1 -0
  31. package/dist/node_modules/@unhead/shared/dist/index.cjs +7 -0
  32. package/dist/node_modules/@unhead/shared/dist/index.cjs.map +1 -0
  33. package/dist/node_modules/@unhead/shared/dist/index.js +7 -0
  34. package/dist/node_modules/@unhead/shared/dist/index.js.map +1 -0
  35. package/dist/node_modules/@unhead/ssr/dist/index.cjs +87 -0
  36. package/dist/node_modules/@unhead/ssr/dist/index.cjs.map +1 -0
  37. package/dist/node_modules/@unhead/ssr/dist/index.js +87 -0
  38. package/dist/node_modules/@unhead/ssr/dist/index.js.map +1 -0
  39. package/dist/orders.server.js +2 -2
  40. package/dist/orders.server.mjs +2 -2
  41. package/dist/organizations.server.js +149 -107
  42. package/dist/organizations.server.mjs +149 -107
  43. package/dist/pages.server.js +1 -1
  44. package/dist/pages.server.mjs +1 -1
  45. package/dist/products.server.js +119 -266
  46. package/dist/products.server.mjs +119 -266
  47. package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs +814 -0
  48. package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.cjs.map +1 -0
  49. package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js +814 -0
  50. package/dist/prometheus-framework/node_modules/@vue/server-renderer/dist/server-renderer.esm-bundler.js.map +1 -0
  51. package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs +210 -0
  52. package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.cjs.map +1 -0
  53. package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js +210 -0
  54. package/dist/prometheus-framework/node_modules/@vue/shared/dist/shared.esm-bundler.js.map +1 -0
  55. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -2
  56. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs.map +1 -1
  57. package/dist/prometheus-framework/src/components/Button/Button.vue.js +1 -2
  58. package/dist/prometheus-framework/src/components/Button/Button.vue.js.map +1 -1
  59. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +0 -1
  60. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs.map +1 -1
  61. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +0 -1
  62. package/dist/prometheus-framework/src/components/Button/Button.vue2.js.map +1 -1
  63. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +25 -40
  64. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs.map +1 -1
  65. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +26 -41
  66. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js.map +1 -1
  67. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  68. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  69. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs +6 -8
  70. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.cjs.map +1 -1
  71. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js +6 -8
  72. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue.js.map +1 -1
  73. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.cjs +1 -1
  74. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue2.js +1 -1
  75. package/dist/prometheus-framework/src/components/Slider/Slider.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/components/Slider/Slider.vue.js +1 -1
  77. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +2 -1
  78. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs.map +1 -1
  79. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +2 -1
  80. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js.map +1 -1
  81. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  82. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  83. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.cjs +4 -4
  84. package/dist/prometheus-framework/src/modules/auth/views/components/layouts/Auth.vue.js +4 -4
  85. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.cjs +1 -1
  86. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterCode.vue.js +1 -1
  87. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.cjs +3 -3
  88. package/dist/prometheus-framework/src/modules/auth/views/components/pages/EnterPassword.vue.js +3 -3
  89. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.cjs +3 -3
  90. package/dist/prometheus-framework/src/modules/auth/views/components/pages/Invite.vue.js +3 -3
  91. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.cjs +3 -3
  92. package/dist/prometheus-framework/src/modules/auth/views/components/pages/ResetPassword.vue.js +3 -3
  93. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +4 -3
  94. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs.map +1 -1
  95. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +4 -3
  96. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js.map +1 -1
  97. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.cjs +3 -3
  98. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignUp.vue.js +3 -3
  99. package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.cjs +5 -0
  100. package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.cjs.map +1 -1
  101. package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.js +5 -0
  102. package/dist/prometheus-framework/src/modules/auth/views/middlewares/auth.validation.js.map +1 -1
  103. package/dist/prometheus-framework/src/modules/auth/views/middlewares/ownership.validation.cjs +11 -0
  104. package/dist/prometheus-framework/src/modules/auth/views/middlewares/ownership.validation.cjs.map +1 -1
  105. package/dist/prometheus-framework/src/modules/auth/views/middlewares/ownership.validation.js +11 -0
  106. package/dist/prometheus-framework/src/modules/auth/views/middlewares/ownership.validation.js.map +1 -1
  107. package/dist/prometheus-framework/src/modules/auth/views/store/auth.cjs +37 -35
  108. package/dist/prometheus-framework/src/modules/auth/views/store/auth.cjs.map +1 -1
  109. package/dist/prometheus-framework/src/modules/auth/views/store/auth.js +33 -31
  110. package/dist/prometheus-framework/src/modules/auth/views/store/auth.js.map +1 -1
  111. package/dist/prometheus-framework/src/modules/auth/views/store/twofa.cjs +3 -5
  112. package/dist/prometheus-framework/src/modules/auth/views/store/twofa.cjs.map +1 -1
  113. package/dist/prometheus-framework/src/modules/auth/views/store/twofa.js +2 -4
  114. package/dist/prometheus-framework/src/modules/auth/views/store/twofa.js.map +1 -1
  115. package/dist/prometheus-framework/src/modules/auth/views/validations/inputs.validation.cjs +8 -5
  116. package/dist/prometheus-framework/src/modules/auth/views/validations/inputs.validation.cjs.map +1 -1
  117. package/dist/prometheus-framework/src/modules/auth/views/validations/inputs.validation.js +8 -5
  118. package/dist/prometheus-framework/src/modules/auth/views/validations/inputs.validation.js.map +1 -1
  119. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +6 -3
  120. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs.map +1 -1
  121. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +6 -3
  122. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js.map +1 -1
  123. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +50 -35
  124. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs.map +1 -1
  125. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +55 -40
  126. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js.map +1 -1
  127. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +3 -3
  128. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +3 -3
  129. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +2 -2
  130. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs.map +1 -1
  131. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
  132. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js.map +1 -1
  133. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +16 -15
  134. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs.map +1 -1
  135. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +16 -15
  136. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js.map +1 -1
  137. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +2 -2
  138. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +2 -2
  139. package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs +46 -49
  140. package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs.map +1 -1
  141. package/dist/prometheus-framework/src/modules/community/router/blogposts.js +46 -49
  142. package/dist/prometheus-framework/src/modules/community/router/blogposts.js.map +1 -1
  143. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +13 -20
  144. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs.map +1 -1
  145. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +9 -16
  146. package/dist/prometheus-framework/src/modules/community/store/blogposts.js.map +1 -1
  147. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +5 -9
  148. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs.map +1 -1
  149. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -5
  150. package/dist/prometheus-framework/src/modules/community/store/reactions.js.map +1 -1
  151. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  152. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  153. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +30 -55
  154. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs.map +1 -1
  155. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +31 -56
  156. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js.map +1 -1
  157. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  158. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  159. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +164 -135
  160. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs.map +1 -1
  161. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +165 -136
  162. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js.map +1 -1
  163. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +2 -2
  164. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +2 -2
  165. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +124 -135
  166. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs.map +1 -1
  167. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +133 -144
  168. package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js.map +1 -1
  169. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs.map +1 -1
  170. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js.map +1 -1
  171. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs +96 -0
  172. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.cjs.map +1 -0
  173. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js +96 -0
  174. package/dist/prometheus-framework/src/modules/events/components/pages/EventsBackoffice.vue.js.map +1 -0
  175. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.cjs +1 -1
  176. package/dist/prometheus-framework/src/modules/events/components/sections/Feed.vue.js +1 -1
  177. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +39 -25
  178. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs.map +1 -1
  179. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +40 -26
  180. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js.map +1 -1
  181. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.cjs +1 -1
  182. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue.js +1 -1
  183. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +4 -3
  184. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs.map +1 -1
  185. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +4 -3
  186. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js.map +1 -1
  187. package/dist/prometheus-framework/src/modules/events/router/events.cjs +16 -5
  188. package/dist/prometheus-framework/src/modules/events/router/events.cjs.map +1 -1
  189. package/dist/prometheus-framework/src/modules/events/router/events.js +16 -5
  190. package/dist/prometheus-framework/src/modules/events/router/events.js.map +1 -1
  191. package/dist/prometheus-framework/src/modules/events/store/events.cjs +5 -6
  192. package/dist/prometheus-framework/src/modules/events/store/events.cjs.map +1 -1
  193. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -2
  194. package/dist/prometheus-framework/src/modules/events/store/events.js.map +1 -1
  195. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +20 -11
  196. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs.map +1 -1
  197. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +20 -11
  198. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js.map +1 -1
  199. package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.cjs +5 -2
  200. package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.cjs.map +1 -1
  201. package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.js +5 -2
  202. package/dist/prometheus-framework/src/modules/gallery/router/gallery.backoffice.router.js.map +1 -1
  203. package/dist/prometheus-framework/src/modules/globals/globals.client.cjs +2 -0
  204. package/dist/prometheus-framework/src/modules/globals/globals.client.cjs.map +1 -1
  205. package/dist/prometheus-framework/src/modules/globals/globals.client.js +2 -0
  206. package/dist/prometheus-framework/src/modules/globals/globals.client.js.map +1 -1
  207. package/dist/prometheus-framework/src/modules/globals/views/classes/globals.store.cjs +4 -3
  208. package/dist/prometheus-framework/src/modules/globals/views/classes/globals.store.cjs.map +1 -1
  209. package/dist/prometheus-framework/src/modules/globals/views/classes/globals.store.js +4 -3
  210. package/dist/prometheus-framework/src/modules/globals/views/classes/globals.store.js.map +1 -1
  211. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/BlockSearch.vue.js +1 -1
  213. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/Card.vue.cjs +64 -0
  214. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/Card.vue.cjs.map +1 -0
  215. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/Card.vue.js +64 -0
  216. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/Card.vue.js.map +1 -0
  217. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +3 -3
  218. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs.map +1 -1
  219. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +3 -3
  220. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js.map +1 -1
  221. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +1 -0
  222. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs.map +1 -1
  223. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +1 -0
  224. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js.map +1 -1
  225. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -19
  226. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs.map +1 -1
  227. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +1 -19
  228. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js.map +1 -1
  229. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.cjs +1 -1
  230. package/dist/prometheus-framework/src/modules/globals/views/components/partials/Header.vue.js +1 -1
  231. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -1
  232. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +1 -1
  233. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.cjs +1 -1
  234. package/dist/prometheus-framework/src/modules/globals/views/components/sections/SectionPageTitle.vue.js +1 -1
  235. package/dist/prometheus-framework/src/modules/globals/views/store/globals.cjs +3 -2
  236. package/dist/prometheus-framework/src/modules/globals/views/store/globals.cjs.map +1 -1
  237. package/dist/prometheus-framework/src/modules/globals/views/store/globals.js +3 -2
  238. package/dist/prometheus-framework/src/modules/globals/views/store/globals.js.map +1 -1
  239. package/dist/prometheus-framework/src/modules/globals/views/utils/axios-instance.cjs +17 -0
  240. package/dist/prometheus-framework/src/modules/globals/views/utils/axios-instance.cjs.map +1 -0
  241. package/dist/prometheus-framework/src/modules/globals/views/utils/axios-instance.js +17 -0
  242. package/dist/prometheus-framework/src/modules/globals/views/utils/axios-instance.js.map +1 -0
  243. package/dist/prometheus-framework/src/modules/globals/views/utils/vue-app-renderer.cjs +57 -0
  244. package/dist/prometheus-framework/src/modules/globals/views/utils/vue-app-renderer.cjs.map +1 -0
  245. package/dist/prometheus-framework/src/modules/globals/views/utils/vue-app-renderer.js +57 -0
  246. package/dist/prometheus-framework/src/modules/globals/views/utils/vue-app-renderer.js.map +1 -0
  247. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +3 -3
  248. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
  249. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  250. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  251. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +3 -3
  252. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +3 -3
  253. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
  255. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +2 -2
  256. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +2 -2
  257. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  259. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
  261. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +6 -7
  262. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs.map +1 -1
  263. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -2
  264. package/dist/prometheus-framework/src/modules/orders/store/orders.js.map +1 -1
  265. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  267. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +60 -23
  268. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs.map +1 -1
  269. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +60 -23
  270. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js.map +1 -1
  271. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +1 -1
  273. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  275. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +2 -1
  276. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs.map +1 -1
  277. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +3 -2
  278. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js.map +1 -1
  279. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +3 -3
  280. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +3 -3
  281. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  283. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +3 -3
  284. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
  285. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +1 -1
  287. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +2 -2
  288. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +2 -2
  289. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +4 -4
  290. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
  291. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +2 -0
  292. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs.map +1 -1
  293. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +2 -0
  294. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js.map +1 -1
  295. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +11 -9
  296. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs.map +1 -1
  297. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +6 -4
  298. package/dist/prometheus-framework/src/modules/organizations/store/departments.js.map +1 -1
  299. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +5 -11
  300. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs.map +1 -1
  301. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -7
  302. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js.map +1 -1
  303. package/dist/prometheus-framework/src/modules/pages/pages.client.cjs +637 -631
  304. package/dist/prometheus-framework/src/modules/pages/pages.client.js +637 -631
  305. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.cjs +3 -3
  306. package/dist/prometheus-framework/src/modules/pages/views/components/blocks/CardPage.vue.js +3 -3
  307. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.cjs +2 -2
  308. package/dist/prometheus-framework/src/modules/pages/views/components/pages/PageEdit.vue.js +2 -2
  309. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/pages/views/components/partials/SidebarPages.vue.js +1 -1
  311. package/dist/prometheus-framework/src/modules/pages/views/router/pages.backoffice.router.cjs +5 -10
  312. package/dist/prometheus-framework/src/modules/pages/views/router/pages.backoffice.router.cjs.map +1 -1
  313. package/dist/prometheus-framework/src/modules/pages/views/router/pages.backoffice.router.js +5 -10
  314. package/dist/prometheus-framework/src/modules/pages/views/router/pages.backoffice.router.js.map +1 -1
  315. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  317. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +12 -7
  318. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs.map +1 -1
  319. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +12 -7
  320. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js.map +1 -1
  321. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +1 -1
  323. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  325. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  327. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
  328. package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
  329. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +2 -2
  330. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +2 -2
  331. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  332. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +1 -1
  333. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  334. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  335. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  336. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs.map +1 -1
  337. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +1 -1
  338. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js.map +1 -1
  339. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +3 -3
  340. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +3 -3
  341. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.cjs +1 -1
  342. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue.js +1 -1
  343. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +2 -2
  344. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +2 -2
  345. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  346. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  347. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +3 -3
  348. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  349. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  350. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +1 -1
  351. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  352. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  353. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +7 -8
  354. package/dist/prometheus-framework/src/modules/products/store/categories.cjs.map +1 -1
  355. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -2
  356. package/dist/prometheus-framework/src/modules/products/store/categories.js.map +1 -1
  357. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +6 -7
  358. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs.map +1 -1
  359. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -2
  360. package/dist/prometheus-framework/src/modules/products/store/leftovers.js.map +1 -1
  361. package/dist/prometheus-framework/src/modules/products/store/products.cjs +10 -21
  362. package/dist/prometheus-framework/src/modules/products/store/products.cjs.map +1 -1
  363. package/dist/prometheus-framework/src/modules/products/store/products.js +1 -12
  364. package/dist/prometheus-framework/src/modules/products/store/products.js.map +1 -1
  365. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  366. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs.map +1 -1
  367. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  368. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js.map +1 -1
  369. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  370. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  371. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  372. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  373. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -1
  374. package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +1 -1
  375. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +3 -3
  376. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +3 -3
  377. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +6 -9
  378. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs.map +1 -1
  379. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -4
  380. package/dist/prometheus-framework/src/modules/spots/store/spots.js.map +1 -1
  381. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +4 -4
  382. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs.map +1 -1
  383. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +4 -4
  384. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js.map +1 -1
  385. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  386. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  387. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +3 -3
  388. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
  389. package/dist/prometheus-framework/src/modules/users/router/users.cjs +2 -2
  390. package/dist/prometheus-framework/src/modules/users/router/users.cjs.map +1 -1
  391. package/dist/prometheus-framework/src/modules/users/router/users.js +2 -2
  392. package/dist/prometheus-framework/src/modules/users/router/users.js.map +1 -1
  393. package/dist/prometheus-framework/src/modules/users/store/users.cjs +5 -6
  394. package/dist/prometheus-framework/src/modules/users/store/users.cjs.map +1 -1
  395. package/dist/prometheus-framework/src/modules/users/store/users.js +1 -2
  396. package/dist/prometheus-framework/src/modules/users/store/users.js.map +1 -1
  397. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -1
  398. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +1 -1
  399. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  400. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +1 -1
  401. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  402. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +1 -1
  403. package/dist/prometheus-framework.cjs.js +17 -17
  404. package/dist/prometheus-framework.es.js +1790 -1790
  405. package/dist/queryProcessor-CU4A6Y4N.mjs +197 -0
  406. package/dist/queryProcessor-CcsJEUBr.js +196 -0
  407. package/dist/spots.server.js +1 -1
  408. package/dist/spots.server.mjs +1 -1
  409. package/dist/verifyAccesses-BsrJOct8.mjs +90 -0
  410. package/dist/verifyAccesses-BvLnOtBN.js +89 -0
  411. package/dist/wallet.server.js +2 -2
  412. package/dist/wallet.server.mjs +2 -2
  413. package/package.json +1 -1
  414. package/src/builder/modes/ssr.dev.js +2 -2
  415. package/src/builder/modes/ssr.prod.js +4 -4
  416. package/src/builder/ssr/ssr-render-html.js +10 -14
  417. package/src/builder/templates/page.html +37 -0
  418. package/src/builder/templates/page.js +4 -0
  419. package/src/builder/webpack/webpack.config.client.js +2 -2
  420. package/src/builder/webpack/webpack.config.ssr.js +1 -1
  421. package/src/components/Button/Button.vue +0 -1
  422. package/src/components/Feed/Feed.vue +34 -55
  423. package/src/components/FieldTags/BlockTags.vue +0 -1
  424. package/src/components/UploadImage/UploadImage.vue +2 -1
  425. package/src/modules/auth/controllers/middlewares/authJwt.js +1 -1
  426. package/src/modules/auth/controllers/middlewares/verifySignUp.js +11 -11
  427. package/src/modules/auth/controllers/routes/auth.routes.js +2 -2
  428. package/src/modules/auth/controllers/services/auth.service.js +1 -0
  429. package/src/modules/auth/views/components/pages/SignIn.vue +1 -0
  430. package/src/modules/auth/views/middlewares/auth.validation.js +17 -1
  431. package/src/modules/auth/views/middlewares/ownership.validation.js +16 -1
  432. package/src/modules/auth/views/store/auth.js +43 -39
  433. package/src/modules/auth/views/store/twofa.js +2 -5
  434. package/src/modules/auth/views/validations/inputs.validation.js +12 -6
  435. package/src/modules/community/components/layouts/Community.vue +3 -3
  436. package/src/modules/community/components/pages/BlogPost.vue +122 -120
  437. package/src/modules/community/components/pages/CreateBlogPost.vue +1 -1
  438. package/src/modules/community/components/sections/Comments.vue +5 -5
  439. package/src/modules/community/controllers/blog.controller.js +1 -1
  440. package/src/modules/community/router/blogposts.js +37 -38
  441. package/src/modules/community/routes/blog.routes.js +4 -0
  442. package/src/modules/community/store/blogposts.js +11 -19
  443. package/src/modules/community/store/reactions.js +1 -7
  444. package/src/modules/events/components/elements/ButtonCheck.vue +36 -66
  445. package/src/modules/events/components/pages/EditEvent.vue +76 -59
  446. package/src/modules/events/components/pages/Event.vue +2 -15
  447. package/src/modules/events/components/pages/Events.vue +2 -1
  448. package/src/modules/events/components/pages/EventsBackoffice.vue +122 -0
  449. package/src/modules/events/components/sections/HeroEvent.vue +15 -17
  450. package/src/modules/events/components/sections/SectionPreviousEvents.vue +4 -13
  451. package/src/modules/events/router/events.js +11 -4
  452. package/src/modules/events/store/events.js +2 -4
  453. package/src/modules/gallery/components/sections/BackofficeGallery.vue +24 -13
  454. package/src/modules/gallery/controllers/gallery.controller.js +30 -31
  455. package/src/modules/gallery/router/gallery.backoffice.router.js +5 -1
  456. package/src/modules/gallery/routes/gallery.routes.js +22 -4
  457. package/src/modules/globals/controllers/utils/queryProcessor.js +24 -4
  458. package/src/modules/globals/globals.client.js +2 -0
  459. package/src/modules/globals/views/classes/globals.store.js +4 -3
  460. package/src/modules/globals/views/components/blocks/Card.vue +56 -0
  461. package/src/modules/globals/views/components/blocks/CardHeader.vue +1 -3
  462. package/src/modules/globals/views/components/layouts/App.vue +1 -0
  463. package/src/modules/globals/views/components/layouts/Client.vue +0 -30
  464. package/src/modules/globals/views/store/globals.js +4 -2
  465. package/src/modules/globals/views/utils/axios-instance.js +18 -0
  466. package/src/modules/globals/views/utils/vue-app-renderer.js +87 -0
  467. package/src/modules/integrations/stripe/controllers/services/stripe.service.js +15 -30
  468. package/src/modules/landing/components/pages/Governance.vue +4 -2
  469. package/src/modules/landing/components/sections/SectionHeroToken.vue +12 -10
  470. package/src/modules/landing/components/sections/SectionsSection.vue +5 -8
  471. package/src/modules/landing/router/landing.js +2 -1
  472. package/src/modules/orders/store/orders.js +1 -3
  473. package/src/modules/organizations/components/pages/DepartmentEdit.vue +36 -0
  474. package/src/modules/organizations/components/pages/OrganizationBackoffice.vue +3 -1
  475. package/src/modules/organizations/controllers/organizations.controller.js +2 -1
  476. package/src/modules/organizations/middlewares/verifyAccesses.js +117 -0
  477. package/src/modules/organizations/models/department.model.js +3 -100
  478. package/src/modules/organizations/models/organization.model.js +6 -4
  479. package/src/modules/organizations/models/schemas/accesses.schema.js +142 -0
  480. package/src/modules/organizations/router/organizations.js +2 -0
  481. package/src/modules/organizations/store/departments.js +6 -6
  482. package/src/modules/organizations/store/organizations.js +2 -16
  483. package/src/modules/pages/views/router/pages.backoffice.router.js +5 -7
  484. package/src/modules/products/components/blocks/CardProduct.vue +2 -0
  485. package/src/modules/products/components/pages/Product.vue +1 -1
  486. package/src/modules/products/components/sections/MenuSection.vue +2 -2
  487. package/src/modules/products/controllers/products.controller.js +201 -367
  488. package/src/modules/products/routes/products.routes.js +0 -5
  489. package/src/modules/products/store/categories.js +1 -2
  490. package/src/modules/products/store/leftovers.js +1 -2
  491. package/src/modules/products/store/products.js +1 -13
  492. package/src/modules/reports/components/sections/FormReport.vue +20 -20
  493. package/src/modules/spots/store/spots.js +1 -6
  494. package/src/modules/users/components/pages/Profile.vue +1 -1
  495. package/src/modules/users/router/users.js +2 -2
  496. package/src/modules/users/store/users.js +1 -3
  497. package/src/modules/auth/controllers/middlewares/verifyAccesses.js +0 -114
  498. package/src/modules/users/components/pages/ProfileEvents.vue +0 -69
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventsBackoffice.vue.js","sources":["../../../../../../../src/modules/events/components/pages/EventsBackoffice.vue"],"sourcesContent":["<template>\n\t<div \n\t\tclass=\"pd-thin\"\n\t>\n\t\t<header \n\t\t\tclass=\"mn-b-medium flex-v-center flex-nowrap flex\"\n\t\t>\n\t \t<h2\n\t \t\tclass=\"mn-r-medium\"\n\t \t>\n\t \t\tEvents\n\t \t</h2>\n\t \t\n\t \t<button \n\t \t\tv-if=\"auth.state.user._id === route.params.user || route.params._id\"\n\t \t\t@click=\"router.push({name: 'Create Event'})\" \n\t \t\tclass=\"radius-100 i-big hover-scale-1 cursor-pointer t-white bg-second\"\n\t \t>\n\t \t\t+\n\t \t</button>\n\t\t</header>\n\n\t\t<Tab \n\t\t\tv-if=\"route.params._id\"\n\t\t\tv-model:selected=\"tabOrganization\"\n\t\t\t:tabs=\"[\n\t\t\t\t{ name: 'My', \tvalue: 'owner' },\n\t\t\t\t{ name: 'Participant', \tvalue: 'participant' },\t\n\t\t\t]\"\n\t\t\tclass=\"mn-b-small o-hidden h5 radius-big bg-light\"\n\t\t/>\n\n\t\t\n\n\t\t<Feed\n :states=\"{\n empty: {\n title: 'No Events Found',\n description: 'Currently, there are no events available.'\n }\n }\"\n :store=\"{\n read: (options) => events.read(options),\n }\"\n :options=\"{\n user: auth.state.user._id,\n owner: route.params._id || route.params.user,\n creator: route.params.user\n }\"\n v-slot=\"{ \n items \n }\"\n >\n <CardEvent \n @click=\"$router.push({name: 'Event', params: {url: event.url}})\" \n v-for=\"(event,index) in items\" \n :key=\"event._id\" \n :event=\"event\" \n :user=\"auth.state.user._id\" \n :type=\"'normal'\"\n class=\"bg-light radius-big mn-b-medium\"\n >\n\n\t\t <div \n\t\t v-if=\"route.params._id && hasAccess(route.params._id, 'gallery', 'read', auth.state.accesses)\"\n\t\t class=\"mn-b-semi w-100 bg-second button t-white uppercase\"\n\t\t @click.stop=\"router.push({\n\t\t name: 'Edit Event Tickets',\n\t\t params: {\n\t\t url: event.url\n\t\t }\n\t\t })\"\n\t\t >\n\t\t Check tickets\n\t\t </div>\n </CardEvent>\n </Feed>\n\n <!-- <Feed \n\t\t\tv-if=\"tabOrganization ==='owner'\"\n\t \t:user=\"auth.state.user._id\"\n\t\t\t:creator=\"route.params.user\"\n\t\t\t:owner=\"route.params._id\"\n\t\t\t:sortOrder=\"'asc'\"\n\t\t/> -->\n\n\n\t\t<!-- <Feed \n\t\t\tv-if=\"tabOrganization ==='participant'\"\n \t\t:user=\"auth.state.user._id\"\n \t\t:participant=\"route.params.user\"\n \t\t:owner=\"route.params._id\"\n\t\t\t:sortOrder=\"'desc'\"\n\t\t/> -->\n\t</div>\n</template>\n\n<script setup>\n\timport { watch, ref } from 'vue'\n\timport { useRoute, useRouter } from 'vue-router'\n\t// Components\n\timport Tab \t\tfrom '@pf/src/components/Tab/Tab.vue'\n import Feed from '@pf/src/components/Feed/Feed.vue'\n\n import CardEvent from '@pf/src/modules/events/components/blocks/CardEvent.vue';\n\n\timport * as auth from '@pf/src/modules/auth/views/store/auth';\n\timport * as events from '@pf/src/modules/events/store/events.js'; \n\t// Accessing router\n\tconst route = useRoute()\n\tconst router = useRouter()\n\t// State\n\tlet tab = route.query.tab ? route.query.tab : 'owner';\n\n\tconst tabOrganization = ref(tab)\n\n\troute.query.tab = tabOrganization.value\n\n\twatch(tabOrganization, (newValue) => {\n\t router.replace({ query: { ...route.query, tab: newValue } });\n\t});\n</script>"],"names":[],"mappings":";;;;;;;;;;;;;;AA6GC,UAAM,QAAQ,SAAU;AACxB,UAAM,SAAS,UAAW;AAE1B,QAAI,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM;AAE9C,UAAM,kBAAkB,IAAI,GAAG;AAE/B,UAAM,MAAM,MAAM,gBAAgB;AAElC,UAAM,iBAAiB,CAAC,aAAa;AACnC,aAAO,QAAQ,EAAE,OAAO,EAAE,GAAG,MAAM,OAAO,KAAK,SAAU,EAAA,CAAE;AAAA,IAC9D,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- ;/* empty css */
4
+ ;/* empty css */
5
5
  const EmptyState = require("../../../../components/EmptyState/EmptyState.vue.cjs");
6
6
  const CardEvent = require("../blocks/CardEvent.vue.cjs");
7
7
  const SkeletonEvent = require("../../../icons/skeletons/SkeletonEvent.vue.cjs");
@@ -1,5 +1,5 @@
1
1
  import { ref, onMounted, openBlock, createElementBlock, createVNode, TransitionGroup, withCtx, Fragment, renderList, createBlock, createCommentVNode, Transition } from "vue";
2
- /* empty css */
2
+ /* empty css */
3
3
  import _sfc_main$1 from "../../../../components/EmptyState/EmptyState.vue.js";
4
4
  import _sfc_main$2 from "../blocks/CardEvent.vue.js";
5
5
  import SkeletonEvent from "../../../icons/skeletons/SkeletonEvent.vue.js";
@@ -7,24 +7,34 @@ const Countdown = require("../../../../components/Countdown/Countdown.vue.cjs");
7
7
  const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.cjs");
8
8
  const _hoisted_1 = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-relative" };
9
9
  const _hoisted_2 = {
10
+ key: 0,
10
11
  style: { "min-height": "20rem" },
11
12
  class: "desktop-only radius-big o-hidden bg-black pos-relative"
12
13
  };
13
14
  const _hoisted_3 = ["src"];
14
15
  const _hoisted_4 = ["src", "type"];
15
16
  const _hoisted_5 = { class: "content-hero-refactor radius-big o-hidden bg-black pd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero" };
16
- const _hoisted_6 = { class: "mn-b-big z-index-1 flex-nowrap flex gap-small" };
17
+ const _hoisted_6 = {
18
+ key: 0,
19
+ class: "mn-b-big z-index-1 flex-nowrap flex gap-small"
20
+ };
17
21
  const _hoisted_7 = ["src"];
18
- const _hoisted_8 = { class: "pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin" };
22
+ const _hoisted_8 = {
23
+ key: 1,
24
+ class: "pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin"
25
+ };
19
26
  const _hoisted_9 = { class: "z-index-1 t-main mn-b-semi" };
20
27
  const _hoisted_10 = { class: "z-index-1 p-big mn-b-semi" };
21
- const _hoisted_11 = { class: "z-index-1 t-transp p-small mn-b-thin" };
28
+ const _hoisted_11 = {
29
+ key: 2,
30
+ class: "z-index-1 t-transp p-small mn-b-thin"
31
+ };
22
32
  const _hoisted_12 = {
23
33
  key: 0,
24
34
  class: "mn-l-micro bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra"
25
35
  };
26
36
  const _hoisted_13 = {
27
- key: 1,
37
+ key: 4,
28
38
  class: "z-index-1 mn-t-medium mn-b-small flex-nowrap flex gap-thin"
29
39
  };
30
40
  const _hoisted_14 = ["src"];
@@ -43,11 +53,14 @@ const _sfc_main = {
43
53
  const props = __props;
44
54
  const videoElement = vue.ref(null);
45
55
  var isPlaying = false;
56
+ const targetDate = new Date(props.options.date).getTime();
57
+ const currentDate = vue.ref((/* @__PURE__ */ new Date()).getTime());
58
+ const timeDifference = targetDate - currentDate.value;
46
59
  function checkAndPlayVideo() {
47
- videoElement.value.onplaying = function() {
60
+ if (videoElement.value) videoElement.value.onplaying = function() {
48
61
  isPlaying = true;
49
62
  };
50
- videoElement.value.onpause = function() {
63
+ if (videoElement.value) videoElement.value.onpause = function() {
51
64
  isPlaying = false;
52
65
  };
53
66
  }
@@ -60,7 +73,8 @@ const _sfc_main = {
60
73
  return "";
61
74
  }
62
75
  async function playVid() {
63
- if (videoElement.value.paused && !isPlaying) {
76
+ var _a;
77
+ if (((_a = videoElement.value) == null ? void 0 : _a.paused) && !isPlaying) {
64
78
  return videoElement.value.play();
65
79
  }
66
80
  }
@@ -77,9 +91,9 @@ const _sfc_main = {
77
91
  window.open((_a = props.content) == null ? void 0 : _a.ticketLinkStripe);
78
92
  }
79
93
  return (_ctx, _cache) => {
80
- var _a, _b, _c, _d, _e, _f, _g, _h;
94
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
81
95
  return vue.openBlock(), vue.createElementBlock("section", _hoisted_1, [
82
- vue.createElementVNode("div", _hoisted_2, [
96
+ __props.content.cover || __props.content.video ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
83
97
  __props.content.cover && !__props.content.video ? (vue.openBlock(), vue.createElementBlock("img", {
84
98
  key: 0,
85
99
  loading: "lazy",
@@ -106,9 +120,9 @@ const _sfc_main = {
106
120
  type: getVideoType(__props.content.video)
107
121
  }, null, 8, _hoisted_4)
108
122
  ], 512)) : vue.createCommentVNode("", true)
109
- ]),
123
+ ])) : vue.createCommentVNode("", true),
110
124
  vue.createElementVNode("div", _hoisted_5, [
111
- vue.createElementVNode("div", _hoisted_6, [
125
+ __props.content.logos.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
112
126
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.content.logos, (logo) => {
113
127
  return vue.openBlock(), vue.createElementBlock("img", {
114
128
  loading: "lazy",
@@ -116,35 +130,35 @@ const _sfc_main = {
116
130
  src: logo
117
131
  }, null, 8, _hoisted_7);
118
132
  }), 256))
119
- ]),
120
- vue.createElementVNode("h3", _hoisted_8, vue.toDisplayString((_a = __props.content) == null ? void 0 : _a.subtitle), 1),
121
- vue.createElementVNode("h1", _hoisted_9, vue.toDisplayString((_b = __props.content) == null ? void 0 : _b.title), 1),
122
- vue.createElementVNode("p", _hoisted_10, vue.toDisplayString((_c = __props.content) == null ? void 0 : _c.description), 1),
123
- vue.createElementVNode("p", _hoisted_11, [
124
- vue.createElementVNode("span", null, vue.toDisplayString((_d = __props.content) == null ? void 0 : _d.ticketText), 1),
125
- ((_e = __props.options) == null ? void 0 : _e.price) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_12, vue.toDisplayString((_f = __props.options) == null ? void 0 : _f.price) + " " + vue.toDisplayString(_ctx.returnCurrency()), 1)) : vue.createCommentVNode("", true)
126
- ]),
133
+ ])) : vue.createCommentVNode("", true),
134
+ ((_a = __props.content) == null ? void 0 : _a.subtitle) ? (vue.openBlock(), vue.createElementBlock("h3", _hoisted_8, vue.toDisplayString((_b = __props.content) == null ? void 0 : _b.subtitle), 1)) : vue.createCommentVNode("", true),
135
+ vue.createElementVNode("h1", _hoisted_9, vue.toDisplayString((_c = __props.content) == null ? void 0 : _c.title), 1),
136
+ vue.createElementVNode("p", _hoisted_10, vue.toDisplayString((_d = __props.content) == null ? void 0 : _d.description), 1),
137
+ timeDifference >= 0 ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_11, [
138
+ vue.createElementVNode("span", null, vue.toDisplayString(((_e = __props.content) == null ? void 0 : _e.ticketText) || "Buy ticket online with special price"), 1),
139
+ ((_f = __props.options) == null ? void 0 : _f.price) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_12, vue.toDisplayString((_g = __props.options) == null ? void 0 : _g.price) + " " + vue.toDisplayString(_ctx.returnCurrency()), 1)) : vue.createCommentVNode("", true)
140
+ ])) : vue.createCommentVNode("", true),
127
141
  __props.options.date ? (vue.openBlock(), vue.createBlock(Countdown.default, {
128
- key: 0,
142
+ key: 3,
129
143
  class: "z-index-1 mn-t-medium w-100 w-max-30r",
130
144
  date: __props.options.date
131
145
  }, null, 8, ["date"])) : vue.createCommentVNode("", true),
132
- ((_g = __props.content) == null ? void 0 : _g.ticketLinkStripe) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, [
146
+ ((_h = __props.content) == null ? void 0 : _h.ticketLinkStripe) && timeDifference >= 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, [
133
147
  vue.createElementVNode("a", {
134
148
  href: "#",
135
149
  onClick: _cache[0] || (_cache[0] = ($event) => clickBuyTicket()),
136
150
  class: "pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white"
137
- }, vue.toDisplayString(((_h = __props.content) == null ? void 0 : _h.ticketTextButton) || "Buy Ticket"), 1)
151
+ }, vue.toDisplayString(((_i = __props.content) == null ? void 0 : _i.ticketTextButton) || "Buy Ticket"), 1)
138
152
  ])) : vue.createCommentVNode("", true),
139
153
  __props.content.cover && !__props.content.video ? (vue.openBlock(), vue.createElementBlock("img", {
140
- key: 2,
154
+ key: 5,
141
155
  loading: "lazy",
142
156
  style: { "object-fit": "cover", "opacity": "0.2" },
143
157
  src: __props.content.cover,
144
158
  class: "mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"
145
159
  }, null, 8, _hoisted_14)) : vue.createCommentVNode("", true),
146
160
  __props.content.video ? (vue.openBlock(), vue.createElementBlock("video", {
147
- key: 3,
161
+ key: 6,
148
162
  style: { "object-fit": "cover", "opacity": "0.2" },
149
163
  ref_key: "videoElement",
150
164
  ref: videoElement,
@@ -164,6 +178,6 @@ const _sfc_main = {
164
178
  };
165
179
  }
166
180
  };
167
- const HeroEvent = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-d462f954"]]);
181
+ const HeroEvent = /* @__PURE__ */ _pluginVue_exportHelper.default(_sfc_main, [["__scopeId", "data-v-c7a21d03"]]);
168
182
  exports.default = HeroEvent;
169
183
  //# sourceMappingURL=HeroEvent.vue.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeroEvent.vue.cjs","sources":["../../../../../../../src/modules/events/components/sections/HeroEvent.vue"],"sourcesContent":["<template>\n <section \n \tclass=\"\n\t \tt-white\n\t \tt-center\n\t \tw-100 \n\t \tpos-relative\n\t \tgap-thin\n\t \tcols-2\n\t \tpos-relative\n\t \"\n\t >\n \t<div \n \t\tstyle=\"min-height: 20rem;\"\n \t\tclass=\"desktop-only radius-big o-hidden bg-black pos-relative\"\n \t>\n\n\t <img loading=\"lazy\" v-if=\"content.cover && !content.video\" :src=\"content.cover\" \tclass=\"desktop-only object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\">\n\n\t\t\t<video \n\t\t\t\tv-if=\"content.video\"\n\t\t\t\tstyle=\"object-fit: cover;\" \n\t\t\t\tref=\"videoElement\" \n\t\t\t\tclass=\"pos-absolute pos-t-0 pos-l-0 w-100 h-100\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline\n\t\t\t\titemprop=\"video\" \n\t\t\t\ttype=\"video/webm\"\n\t\t\t>\n\t\t\t\t <source :src=\"content.video\" :type=\"getVideoType(content.video)\" />\n\t\t\t</video>\n\t </div>\n\n \t<div \n \t\tclass=\"\n \t\tcontent-hero-refactor\n \t\tradius-big \n\t \to-hidden \n\t \tbg-black \n\t \tpd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero\">\n \t<!-- <img loading=\"lazy\" src=\"/logo/jungle-stereo-cosmonaut.png\" class=\"h-8r mn-b-small z-index-1\"/> -->\n \t<div class=\"mn-b-big z-index-1 flex-nowrap flex gap-small\">\n\t \t<img loading=\"lazy\" v-for=\"logo in content.logos\" class=\"radius-thin object-fit-contain i-big\" :src=\"logo\">\n\t </div>\n\n \t<h3 class=\"pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra \tmn-b-thin\">\n\t\t\t\t\t{{content?.subtitle}}\n\t </h3>\n\n \t<h1 class=\"z-index-1 t-main mn-b-semi\">\n\t\t\t\t\t{{content?.title}}\n\t </h1>\n\n\t <p class=\"z-index-1 p-big mn-b-semi\">\n\t \t\t{{content?.description}}\n\t </p>\n\t \t\n\t \t<p class=\"z-index-1 t-transp p-small mn-b-thin\">\n\t\t\t\t<span>\n\t\t\t\t\t{{content?.ticketText }}\n\t\t\t\t</span>\n\n\t\t\t\t<span v-if=\"options?.price\" class=\"mn-l-micro bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra\">\n\t\t\t\t\t{{options?.price}} {{returnCurrency()}}\n\t\t\t\t</span>\n\t </p>\n\t \n\n\n\t <Countdown \n\t \tv-if=\"options.date\"\n\t \tclass=\"z-index-1 mn-t-medium w-100 w-max-30r\"\n\t \t:date=\"options.date\"\n\t />\n\n\t <div v-if=\"content?.ticketLinkStripe\" class=\"z-index-1 mn-t-medium mn-b-small \tflex-nowrap flex gap-thin\">\n\t \t<a href=\"#\" @click=\"clickBuyTicket()\" class=\"pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white \">\n\t \t\t\t{{content?.ticketTextButton || 'Buy Ticket' }}\n\t \t</a>\n\t </div>\n\n\t <img loading=\"lazy\" style=\"object-fit: cover; opacity: 0.2;\" v-if=\"content.cover && !content.video\" :src=\"content.cover\" \tclass=\"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\">\n\n\t <video \n\t\t v-if=\"content.video\"\n\t\t\t\tstyle=\"object-fit: cover; opacity: 0.2;\" \n\t\t\t\tref=\"videoElement\" \n\t\t\t\tclass=\"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline :src=\"content.video\" \n\t\t\t\titemprop=\"video\" \n\t\t\t\ttype=\"video/webm\"\n\t\t\t>\n\t\t\t</video>\n\t \n </div>\n\n\n </section>\n</template>\n\n\n<script setup>\n\timport { ref, onMounted } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\timport Countdown from \"@pf/src/components/Countdown/Countdown.vue\"\n\n\n\tconst props = defineProps({\n\t\tcontent: {\n\t\t\ttype: Object\n\t\t},\n\t\toptions: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n\n\tconst videoElement = ref(null)\n\n\tvar isPlaying = false;\n\n\tfunction\tcheckAndPlayVideo() {\n\t\tvideoElement.value.onplaying = function() {\n\t\t isPlaying = true;\n\t\t};\n\n\t\tvideoElement.value.onpause = function() {\n\t\t isPlaying = false;\n\t\t};\t\n }\n\n function getVideoType(videoUrl) {\n if (videoUrl.endsWith('.mp4')) {\n return 'video/mp4';\n } else if (videoUrl.endsWith('.webm')) {\n return 'video/webm';\n }\n return '';\n }\n\n\tasync function playVid() { \n if (videoElement.value.paused && !isPlaying) {\n return videoElement.value.play();\n }\n\t} \n\n\tonMounted(() => {\n\t\tcheckAndPlayVideo()\n\t\tplayVid()\n\t})\n\t\n\tfunction clickBuyTicket () {\n\t\tgtag('event', 'buy_ticket', {\n\t 'event_category': 'conversion',\n\t 'event_label': 'Buy Ticket'\n\t });\n\n\t window.open(props.content?.ticketLinkStripe);\n\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@media screen and (max-width: 1025px) {\n\t\t.content-hero-refactor {\n\t\t\ttext-align: center;\n\t\t}\n\n\t\th3, div {\n\t\t\tmargin-left: auto;\n\t\t\tmargin-right: auto;\n\t\t}\n\t}\n\n</style>\n"],"names":["ref","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2GC,UAAM,QAAQ;AAUd,UAAM,eAAeA,IAAG,IAAC,IAAI;AAE7B,QAAI,YAAY;AAEhB,aAAS,oBAAoB;AAC5B,mBAAa,MAAM,YAAY,WAAW;AACxC,oBAAY;AAAA,MAChB;AAEE,mBAAa,MAAM,UAAU,WAAW;AACtC,oBAAY;AAAA,MAChB;AAAA,IACG;AAED,aAAS,aAAa,UAAU;AAC9B,UAAI,SAAS,SAAS,MAAM,GAAG;AAC7B,eAAO;AAAA,MACR,WAAU,SAAS,SAAS,OAAO,GAAG;AACrC,eAAO;AAAA,MACR;AACD,aAAO;AAAA,IACR;AAEF,mBAAe,UAAU;AACtB,UAAI,aAAa,MAAM,UAAU,CAAC,WAAW;AAC3C,eAAO,aAAa,MAAM;MAC3B;AAAA,IACH;AAEDC,QAAAA,UAAU,MAAM;AACf,wBAAmB;AACnB,cAAS;AAAA,IACX,CAAE;AAED,aAAS,iBAAkB;;AAC1B,WAAK,SAAS,cAAc;AAAA,QACzB,kBAAkB;AAAA,QAClB,eAAe;AAAA,MACpB,CAAI;AAED,aAAO,MAAK,WAAM,YAAN,mBAAe,gBAAgB;AAAA,IAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"HeroEvent.vue.cjs","sources":["../../../../../../../src/modules/events/components/sections/HeroEvent.vue"],"sourcesContent":["<template>\n <section \n \tclass=\"\n\t \tt-white\n\t \tt-center\n\t \tw-100 \n\t \tpos-relative\n\t \tgap-thin\n\t \tcols-2\n\t \tpos-relative\n\t \"\n\t >\n \t<div \n \t\tv-if=\"content.cover || content.video\"\n \t\tstyle=\"min-height: 20rem;\"\n \t\tclass=\"desktop-only radius-big o-hidden bg-black pos-relative\"\n \t>\n\n\t <img loading=\"lazy\" v-if=\"content.cover && !content.video\" :src=\"content.cover\" \tclass=\"desktop-only object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\">\n\n\t\t\t<video \n\t\t\t\tv-if=\"content.video\"\n\t\t\t\tstyle=\"object-fit: cover;\" \n\t\t\t\tref=\"videoElement\" \n\t\t\t\tclass=\"pos-absolute pos-t-0 pos-l-0 w-100 h-100\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline\n\t\t\t\titemprop=\"video\" \n\t\t\t\ttype=\"video/webm\"\n\t\t\t>\n\t\t\t\t <source :src=\"content.video\" :type=\"getVideoType(content.video)\" />\n\t\t\t</video>\n\t </div>\n\n \t<div \n \t\tclass=\"\n \t\tcontent-hero-refactor\n \t\tradius-big \n\t \to-hidden \n\t \tbg-black \n\t \tpd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero\">\n \t<div v-if=\"content.logos.length > 0\" class=\"mn-b-big z-index-1 flex-nowrap flex gap-small\">\n\t \t<img loading=\"lazy\" v-for=\"logo in content.logos\" class=\"radius-thin object-fit-contain i-big\" :src=\"logo\">\n\t </div>\n\n \t<h3 v-if=\"content?.subtitle\" class=\"pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra \tmn-b-thin\">\n\t\t\t\t\t{{content?.subtitle}}\n\t </h3>\n\n \t<h1 class=\"z-index-1 t-main mn-b-semi\">\n\t\t\t\t\t{{content?.title}}\n\t </h1>\n\n\t <p class=\"z-index-1 p-big mn-b-semi\">\n\t \t\t{{content?.description}}\n\t </p>\n\t \t\n\t \t<p v-if=\"timeDifference >= 0\" class=\"z-index-1 t-transp p-small mn-b-thin\">\n\t\t\t\t<span>\n\t\t\t\t\t{{content?.ticketText || 'Buy ticket online with special price' }}\n\t\t\t\t</span>\n\n\t\t\t\t<span v-if=\"options?.price\" class=\"mn-l-micro bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra\">\n\t\t\t\t\t{{options?.price}} {{returnCurrency()}}\n\t\t\t\t</span>\n\t </p>\n\t \n\n\n\t <Countdown \n\t \tv-if=\"options.date\"\n\t \tclass=\"z-index-1 mn-t-medium w-100 w-max-30r\"\n\t \t:date=\"options.date\"\n\t />\n\n\t <div v-if=\"content?.ticketLinkStripe && timeDifference >= 0\" class=\"z-index-1 mn-t-medium mn-b-small \tflex-nowrap flex gap-thin\">\n\t \t<a href=\"#\" @click=\"clickBuyTicket()\" class=\"pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white \">\n\t \t\t\t{{content?.ticketTextButton || 'Buy Ticket' }}\n\t \t</a>\n\t </div>\n\n\t <img loading=\"lazy\" style=\"object-fit: cover; opacity: 0.2;\" v-if=\"content.cover && !content.video\" :src=\"content.cover\" \tclass=\"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\">\n\n\t <video \n\t\t v-if=\"content.video\"\n\t\t\t\tstyle=\"object-fit: cover; opacity: 0.2;\" \n\t\t\t\tref=\"videoElement\" \n\t\t\t\tclass=\"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline :src=\"content.video\" \n\t\t\t\titemprop=\"video\" \n\t\t\t\ttype=\"video/webm\"\n\t\t\t>\n\t\t\t</video>\n\t \n </div>\n\n\n </section>\n</template>\n\n\n<script setup>\n\timport { ref, onMounted } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\timport Countdown from \"@pf/src/components/Countdown/Countdown.vue\"\n\n\tconst props = defineProps({\n\t\tcontent: {\n\t\t\ttype: Object\n\t\t},\n\t\toptions: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n\n\tconst videoElement = ref(null)\n\n\tvar isPlaying = false;\n\n\tconst targetDate = new Date(props.options.date).getTime();\n\tconst currentDate = ref(new Date().getTime());\n\tconst timeDifference = targetDate - currentDate.value;\n\n\tfunction checkAndPlayVideo() {\n\t\tif (videoElement.value) videoElement.value.onplaying = function() { isPlaying = true; };\n\t\tif (videoElement.value) videoElement.value.onpause = function() { isPlaying = false; };\t\n }\n\n function getVideoType(videoUrl) {\n if (videoUrl.endsWith('.mp4')) {\n return 'video/mp4';\n } else if (videoUrl.endsWith('.webm')) {\n return 'video/webm';\n }\n return '';\n }\n\n\tasync function playVid() { \n if (videoElement.value?.paused && !isPlaying) {\n return videoElement.value.play();\n }\n\t} \n\n\tonMounted(() => {\n\t\t\tcheckAndPlayVideo()\n\t\t\tplayVid()\n\t})\n\t\n\tfunction clickBuyTicket () {\n\t\tgtag('event', 'buy_ticket', {\n\t 'event_category': 'conversion',\n\t 'event_label': 'Buy Ticket'\n\t });\n\n\t window.open(props.content?.ticketLinkStripe);\n\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@media screen and (max-width: 1025px) {\n\t\t.content-hero-refactor {\n\t\t\ttext-align: center;\n\t\t}\n\n\t\th3, div {\n\t\t\tmargin-left: auto;\n\t\t\tmargin-right: auto;\n\t\t}\n\t}\n\n</style>\n"],"names":["ref","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0GC,UAAM,QAAQ;AAUd,UAAM,eAAeA,IAAG,IAAC,IAAI;AAE7B,QAAI,YAAY;AAEhB,UAAM,aAAa,IAAI,KAAK,MAAM,QAAQ,IAAI,EAAE;AAChD,UAAM,cAAcA,IAAAA,KAAI,oBAAI,KAAI,GAAG,QAAS,CAAA;AAC5C,UAAM,iBAAiB,aAAa,YAAY;AAEhD,aAAS,oBAAoB;AAC5B,UAAI,aAAa,MAAO,cAAa,MAAM,YAAY,WAAW;AAAE,oBAAY;AAAA;AAChF,UAAI,aAAa,MAAO,cAAa,MAAM,UAAU,WAAW;AAAE,oBAAY;AAAA;IAC7E;AAED,aAAS,aAAa,UAAU;AAC9B,UAAI,SAAS,SAAS,MAAM,GAAG;AAC7B,eAAO;AAAA,MACR,WAAU,SAAS,SAAS,OAAO,GAAG;AACrC,eAAO;AAAA,MACR;AACD,aAAO;AAAA,IACR;AAEF,mBAAe,UAAU;;AACtB,YAAI,kBAAa,UAAb,mBAAoB,WAAU,CAAC,WAAW;AAC5C,eAAO,aAAa,MAAM;MAC3B;AAAA,IACH;AAEDC,QAAAA,UAAU,MAAM;AACd,wBAAmB;AACnB,cAAS;AAAA,IACZ,CAAE;AAED,aAAS,iBAAkB;;AAC1B,WAAK,SAAS,cAAc;AAAA,QACzB,kBAAkB;AAAA,QAClB,eAAe;AAAA,MACpB,CAAI;AAED,aAAO,MAAK,WAAM,YAAN,mBAAe,gBAAgB;AAAA,IAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,28 +1,38 @@
1
- import { ref, onMounted, openBlock, createElementBlock, createElementVNode, createCommentVNode, Fragment, renderList, toDisplayString, createBlock } from "vue";
1
+ import { ref, onMounted, openBlock, createElementBlock, createCommentVNode, createElementVNode, Fragment, renderList, toDisplayString, createBlock } from "vue";
2
2
  import "vue-i18n";
3
3
  import _sfc_main$1 from "../../../../components/Countdown/Countdown.vue.js";
4
4
  /* empty css */
5
5
  import _export_sfc from "../../../../../../_virtual/_plugin-vue_export-helper.js";
6
6
  const _hoisted_1 = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-relative" };
7
7
  const _hoisted_2 = {
8
+ key: 0,
8
9
  style: { "min-height": "20rem" },
9
10
  class: "desktop-only radius-big o-hidden bg-black pos-relative"
10
11
  };
11
12
  const _hoisted_3 = ["src"];
12
13
  const _hoisted_4 = ["src", "type"];
13
14
  const _hoisted_5 = { class: "content-hero-refactor radius-big o-hidden bg-black pd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero" };
14
- const _hoisted_6 = { class: "mn-b-big z-index-1 flex-nowrap flex gap-small" };
15
+ const _hoisted_6 = {
16
+ key: 0,
17
+ class: "mn-b-big z-index-1 flex-nowrap flex gap-small"
18
+ };
15
19
  const _hoisted_7 = ["src"];
16
- const _hoisted_8 = { class: "pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin" };
20
+ const _hoisted_8 = {
21
+ key: 1,
22
+ class: "pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin"
23
+ };
17
24
  const _hoisted_9 = { class: "z-index-1 t-main mn-b-semi" };
18
25
  const _hoisted_10 = { class: "z-index-1 p-big mn-b-semi" };
19
- const _hoisted_11 = { class: "z-index-1 t-transp p-small mn-b-thin" };
26
+ const _hoisted_11 = {
27
+ key: 2,
28
+ class: "z-index-1 t-transp p-small mn-b-thin"
29
+ };
20
30
  const _hoisted_12 = {
21
31
  key: 0,
22
32
  class: "mn-l-micro bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra"
23
33
  };
24
34
  const _hoisted_13 = {
25
- key: 1,
35
+ key: 4,
26
36
  class: "z-index-1 mn-t-medium mn-b-small flex-nowrap flex gap-thin"
27
37
  };
28
38
  const _hoisted_14 = ["src"];
@@ -41,11 +51,14 @@ const _sfc_main = {
41
51
  const props = __props;
42
52
  const videoElement = ref(null);
43
53
  var isPlaying = false;
54
+ const targetDate = new Date(props.options.date).getTime();
55
+ const currentDate = ref((/* @__PURE__ */ new Date()).getTime());
56
+ const timeDifference = targetDate - currentDate.value;
44
57
  function checkAndPlayVideo() {
45
- videoElement.value.onplaying = function() {
58
+ if (videoElement.value) videoElement.value.onplaying = function() {
46
59
  isPlaying = true;
47
60
  };
48
- videoElement.value.onpause = function() {
61
+ if (videoElement.value) videoElement.value.onpause = function() {
49
62
  isPlaying = false;
50
63
  };
51
64
  }
@@ -58,7 +71,8 @@ const _sfc_main = {
58
71
  return "";
59
72
  }
60
73
  async function playVid() {
61
- if (videoElement.value.paused && !isPlaying) {
74
+ var _a;
75
+ if (((_a = videoElement.value) == null ? void 0 : _a.paused) && !isPlaying) {
62
76
  return videoElement.value.play();
63
77
  }
64
78
  }
@@ -75,9 +89,9 @@ const _sfc_main = {
75
89
  window.open((_a = props.content) == null ? void 0 : _a.ticketLinkStripe);
76
90
  }
77
91
  return (_ctx, _cache) => {
78
- var _a, _b, _c, _d, _e, _f, _g, _h;
92
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
79
93
  return openBlock(), createElementBlock("section", _hoisted_1, [
80
- createElementVNode("div", _hoisted_2, [
94
+ __props.content.cover || __props.content.video ? (openBlock(), createElementBlock("div", _hoisted_2, [
81
95
  __props.content.cover && !__props.content.video ? (openBlock(), createElementBlock("img", {
82
96
  key: 0,
83
97
  loading: "lazy",
@@ -104,9 +118,9 @@ const _sfc_main = {
104
118
  type: getVideoType(__props.content.video)
105
119
  }, null, 8, _hoisted_4)
106
120
  ], 512)) : createCommentVNode("", true)
107
- ]),
121
+ ])) : createCommentVNode("", true),
108
122
  createElementVNode("div", _hoisted_5, [
109
- createElementVNode("div", _hoisted_6, [
123
+ __props.content.logos.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_6, [
110
124
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.content.logos, (logo) => {
111
125
  return openBlock(), createElementBlock("img", {
112
126
  loading: "lazy",
@@ -114,35 +128,35 @@ const _sfc_main = {
114
128
  src: logo
115
129
  }, null, 8, _hoisted_7);
116
130
  }), 256))
117
- ]),
118
- createElementVNode("h3", _hoisted_8, toDisplayString((_a = __props.content) == null ? void 0 : _a.subtitle), 1),
119
- createElementVNode("h1", _hoisted_9, toDisplayString((_b = __props.content) == null ? void 0 : _b.title), 1),
120
- createElementVNode("p", _hoisted_10, toDisplayString((_c = __props.content) == null ? void 0 : _c.description), 1),
121
- createElementVNode("p", _hoisted_11, [
122
- createElementVNode("span", null, toDisplayString((_d = __props.content) == null ? void 0 : _d.ticketText), 1),
123
- ((_e = __props.options) == null ? void 0 : _e.price) ? (openBlock(), createElementBlock("span", _hoisted_12, toDisplayString((_f = __props.options) == null ? void 0 : _f.price) + " " + toDisplayString(_ctx.returnCurrency()), 1)) : createCommentVNode("", true)
124
- ]),
131
+ ])) : createCommentVNode("", true),
132
+ ((_a = __props.content) == null ? void 0 : _a.subtitle) ? (openBlock(), createElementBlock("h3", _hoisted_8, toDisplayString((_b = __props.content) == null ? void 0 : _b.subtitle), 1)) : createCommentVNode("", true),
133
+ createElementVNode("h1", _hoisted_9, toDisplayString((_c = __props.content) == null ? void 0 : _c.title), 1),
134
+ createElementVNode("p", _hoisted_10, toDisplayString((_d = __props.content) == null ? void 0 : _d.description), 1),
135
+ timeDifference >= 0 ? (openBlock(), createElementBlock("p", _hoisted_11, [
136
+ createElementVNode("span", null, toDisplayString(((_e = __props.content) == null ? void 0 : _e.ticketText) || "Buy ticket online with special price"), 1),
137
+ ((_f = __props.options) == null ? void 0 : _f.price) ? (openBlock(), createElementBlock("span", _hoisted_12, toDisplayString((_g = __props.options) == null ? void 0 : _g.price) + " " + toDisplayString(_ctx.returnCurrency()), 1)) : createCommentVNode("", true)
138
+ ])) : createCommentVNode("", true),
125
139
  __props.options.date ? (openBlock(), createBlock(_sfc_main$1, {
126
- key: 0,
140
+ key: 3,
127
141
  class: "z-index-1 mn-t-medium w-100 w-max-30r",
128
142
  date: __props.options.date
129
143
  }, null, 8, ["date"])) : createCommentVNode("", true),
130
- ((_g = __props.content) == null ? void 0 : _g.ticketLinkStripe) ? (openBlock(), createElementBlock("div", _hoisted_13, [
144
+ ((_h = __props.content) == null ? void 0 : _h.ticketLinkStripe) && timeDifference >= 0 ? (openBlock(), createElementBlock("div", _hoisted_13, [
131
145
  createElementVNode("a", {
132
146
  href: "#",
133
147
  onClick: _cache[0] || (_cache[0] = ($event) => clickBuyTicket()),
134
148
  class: "pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white"
135
- }, toDisplayString(((_h = __props.content) == null ? void 0 : _h.ticketTextButton) || "Buy Ticket"), 1)
149
+ }, toDisplayString(((_i = __props.content) == null ? void 0 : _i.ticketTextButton) || "Buy Ticket"), 1)
136
150
  ])) : createCommentVNode("", true),
137
151
  __props.content.cover && !__props.content.video ? (openBlock(), createElementBlock("img", {
138
- key: 2,
152
+ key: 5,
139
153
  loading: "lazy",
140
154
  style: { "object-fit": "cover", "opacity": "0.2" },
141
155
  src: __props.content.cover,
142
156
  class: "mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"
143
157
  }, null, 8, _hoisted_14)) : createCommentVNode("", true),
144
158
  __props.content.video ? (openBlock(), createElementBlock("video", {
145
- key: 3,
159
+ key: 6,
146
160
  style: { "object-fit": "cover", "opacity": "0.2" },
147
161
  ref_key: "videoElement",
148
162
  ref: videoElement,
@@ -162,7 +176,7 @@ const _sfc_main = {
162
176
  };
163
177
  }
164
178
  };
165
- const HeroEvent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d462f954"]]);
179
+ const HeroEvent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c7a21d03"]]);
166
180
  export {
167
181
  HeroEvent as default
168
182
  };
@@ -1 +1 @@
1
- {"version":3,"file":"HeroEvent.vue.js","sources":["../../../../../../../src/modules/events/components/sections/HeroEvent.vue"],"sourcesContent":["<template>\n <section \n \tclass=\"\n\t \tt-white\n\t \tt-center\n\t \tw-100 \n\t \tpos-relative\n\t \tgap-thin\n\t \tcols-2\n\t \tpos-relative\n\t \"\n\t >\n \t<div \n \t\tstyle=\"min-height: 20rem;\"\n \t\tclass=\"desktop-only radius-big o-hidden bg-black pos-relative\"\n \t>\n\n\t <img loading=\"lazy\" v-if=\"content.cover && !content.video\" :src=\"content.cover\" \tclass=\"desktop-only object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\">\n\n\t\t\t<video \n\t\t\t\tv-if=\"content.video\"\n\t\t\t\tstyle=\"object-fit: cover;\" \n\t\t\t\tref=\"videoElement\" \n\t\t\t\tclass=\"pos-absolute pos-t-0 pos-l-0 w-100 h-100\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline\n\t\t\t\titemprop=\"video\" \n\t\t\t\ttype=\"video/webm\"\n\t\t\t>\n\t\t\t\t <source :src=\"content.video\" :type=\"getVideoType(content.video)\" />\n\t\t\t</video>\n\t </div>\n\n \t<div \n \t\tclass=\"\n \t\tcontent-hero-refactor\n \t\tradius-big \n\t \to-hidden \n\t \tbg-black \n\t \tpd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero\">\n \t<!-- <img loading=\"lazy\" src=\"/logo/jungle-stereo-cosmonaut.png\" class=\"h-8r mn-b-small z-index-1\"/> -->\n \t<div class=\"mn-b-big z-index-1 flex-nowrap flex gap-small\">\n\t \t<img loading=\"lazy\" v-for=\"logo in content.logos\" class=\"radius-thin object-fit-contain i-big\" :src=\"logo\">\n\t </div>\n\n \t<h3 class=\"pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra \tmn-b-thin\">\n\t\t\t\t\t{{content?.subtitle}}\n\t </h3>\n\n \t<h1 class=\"z-index-1 t-main mn-b-semi\">\n\t\t\t\t\t{{content?.title}}\n\t </h1>\n\n\t <p class=\"z-index-1 p-big mn-b-semi\">\n\t \t\t{{content?.description}}\n\t </p>\n\t \t\n\t \t<p class=\"z-index-1 t-transp p-small mn-b-thin\">\n\t\t\t\t<span>\n\t\t\t\t\t{{content?.ticketText }}\n\t\t\t\t</span>\n\n\t\t\t\t<span v-if=\"options?.price\" class=\"mn-l-micro bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra\">\n\t\t\t\t\t{{options?.price}} {{returnCurrency()}}\n\t\t\t\t</span>\n\t </p>\n\t \n\n\n\t <Countdown \n\t \tv-if=\"options.date\"\n\t \tclass=\"z-index-1 mn-t-medium w-100 w-max-30r\"\n\t \t:date=\"options.date\"\n\t />\n\n\t <div v-if=\"content?.ticketLinkStripe\" class=\"z-index-1 mn-t-medium mn-b-small \tflex-nowrap flex gap-thin\">\n\t \t<a href=\"#\" @click=\"clickBuyTicket()\" class=\"pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white \">\n\t \t\t\t{{content?.ticketTextButton || 'Buy Ticket' }}\n\t \t</a>\n\t </div>\n\n\t <img loading=\"lazy\" style=\"object-fit: cover; opacity: 0.2;\" v-if=\"content.cover && !content.video\" :src=\"content.cover\" \tclass=\"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\">\n\n\t <video \n\t\t v-if=\"content.video\"\n\t\t\t\tstyle=\"object-fit: cover; opacity: 0.2;\" \n\t\t\t\tref=\"videoElement\" \n\t\t\t\tclass=\"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline :src=\"content.video\" \n\t\t\t\titemprop=\"video\" \n\t\t\t\ttype=\"video/webm\"\n\t\t\t>\n\t\t\t</video>\n\t \n </div>\n\n\n </section>\n</template>\n\n\n<script setup>\n\timport { ref, onMounted } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\timport Countdown from \"@pf/src/components/Countdown/Countdown.vue\"\n\n\n\tconst props = defineProps({\n\t\tcontent: {\n\t\t\ttype: Object\n\t\t},\n\t\toptions: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n\n\tconst videoElement = ref(null)\n\n\tvar isPlaying = false;\n\n\tfunction\tcheckAndPlayVideo() {\n\t\tvideoElement.value.onplaying = function() {\n\t\t isPlaying = true;\n\t\t};\n\n\t\tvideoElement.value.onpause = function() {\n\t\t isPlaying = false;\n\t\t};\t\n }\n\n function getVideoType(videoUrl) {\n if (videoUrl.endsWith('.mp4')) {\n return 'video/mp4';\n } else if (videoUrl.endsWith('.webm')) {\n return 'video/webm';\n }\n return '';\n }\n\n\tasync function playVid() { \n if (videoElement.value.paused && !isPlaying) {\n return videoElement.value.play();\n }\n\t} \n\n\tonMounted(() => {\n\t\tcheckAndPlayVideo()\n\t\tplayVid()\n\t})\n\t\n\tfunction clickBuyTicket () {\n\t\tgtag('event', 'buy_ticket', {\n\t 'event_category': 'conversion',\n\t 'event_label': 'Buy Ticket'\n\t });\n\n\t window.open(props.content?.ticketLinkStripe);\n\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@media screen and (max-width: 1025px) {\n\t\t.content-hero-refactor {\n\t\t\ttext-align: center;\n\t\t}\n\n\t\th3, div {\n\t\t\tmargin-left: auto;\n\t\t\tmargin-right: auto;\n\t\t}\n\t}\n\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2GC,UAAM,QAAQ;AAUd,UAAM,eAAe,IAAI,IAAI;AAE7B,QAAI,YAAY;AAEhB,aAAS,oBAAoB;AAC5B,mBAAa,MAAM,YAAY,WAAW;AACxC,oBAAY;AAAA,MAChB;AAEE,mBAAa,MAAM,UAAU,WAAW;AACtC,oBAAY;AAAA,MAChB;AAAA,IACG;AAED,aAAS,aAAa,UAAU;AAC9B,UAAI,SAAS,SAAS,MAAM,GAAG;AAC7B,eAAO;AAAA,MACR,WAAU,SAAS,SAAS,OAAO,GAAG;AACrC,eAAO;AAAA,MACR;AACD,aAAO;AAAA,IACR;AAEF,mBAAe,UAAU;AACtB,UAAI,aAAa,MAAM,UAAU,CAAC,WAAW;AAC3C,eAAO,aAAa,MAAM;MAC3B;AAAA,IACH;AAED,cAAU,MAAM;AACf,wBAAmB;AACnB,cAAS;AAAA,IACX,CAAE;AAED,aAAS,iBAAkB;;AAC1B,WAAK,SAAS,cAAc;AAAA,QACzB,kBAAkB;AAAA,QAClB,eAAe;AAAA,MACpB,CAAI;AAED,aAAO,MAAK,WAAM,YAAN,mBAAe,gBAAgB;AAAA,IAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"HeroEvent.vue.js","sources":["../../../../../../../src/modules/events/components/sections/HeroEvent.vue"],"sourcesContent":["<template>\n <section \n \tclass=\"\n\t \tt-white\n\t \tt-center\n\t \tw-100 \n\t \tpos-relative\n\t \tgap-thin\n\t \tcols-2\n\t \tpos-relative\n\t \"\n\t >\n \t<div \n \t\tv-if=\"content.cover || content.video\"\n \t\tstyle=\"min-height: 20rem;\"\n \t\tclass=\"desktop-only radius-big o-hidden bg-black pos-relative\"\n \t>\n\n\t <img loading=\"lazy\" v-if=\"content.cover && !content.video\" :src=\"content.cover\" \tclass=\"desktop-only object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\">\n\n\t\t\t<video \n\t\t\t\tv-if=\"content.video\"\n\t\t\t\tstyle=\"object-fit: cover;\" \n\t\t\t\tref=\"videoElement\" \n\t\t\t\tclass=\"pos-absolute pos-t-0 pos-l-0 w-100 h-100\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline\n\t\t\t\titemprop=\"video\" \n\t\t\t\ttype=\"video/webm\"\n\t\t\t>\n\t\t\t\t <source :src=\"content.video\" :type=\"getVideoType(content.video)\" />\n\t\t\t</video>\n\t </div>\n\n \t<div \n \t\tclass=\"\n \t\tcontent-hero-refactor\n \t\tradius-big \n\t \to-hidden \n\t \tbg-black \n\t \tpd-big mn-r-auto mn-l-auto t-white flex-h-center flex-column o-hidden flex-v-start t-left flex w-100 h-100 gap-zero\">\n \t<div v-if=\"content.logos.length > 0\" class=\"mn-b-big z-index-1 flex-nowrap flex gap-small\">\n\t \t<img loading=\"lazy\" v-for=\"logo in content.logos\" class=\"radius-thin object-fit-contain i-big\" :src=\"logo\">\n\t </div>\n\n \t<h3 v-if=\"content?.subtitle\" class=\"pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra \tmn-b-thin\">\n\t\t\t\t\t{{content?.subtitle}}\n\t </h3>\n\n \t<h1 class=\"z-index-1 t-main mn-b-semi\">\n\t\t\t\t\t{{content?.title}}\n\t </h1>\n\n\t <p class=\"z-index-1 p-big mn-b-semi\">\n\t \t\t{{content?.description}}\n\t </p>\n\t \t\n\t \t<p v-if=\"timeDifference >= 0\" class=\"z-index-1 t-transp p-small mn-b-thin\">\n\t\t\t\t<span>\n\t\t\t\t\t{{content?.ticketText || 'Buy ticket online with special price' }}\n\t\t\t\t</span>\n\n\t\t\t\t<span v-if=\"options?.price\" class=\"mn-l-micro bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra\">\n\t\t\t\t\t{{options?.price}} {{returnCurrency()}}\n\t\t\t\t</span>\n\t </p>\n\t \n\n\n\t <Countdown \n\t \tv-if=\"options.date\"\n\t \tclass=\"z-index-1 mn-t-medium w-100 w-max-30r\"\n\t \t:date=\"options.date\"\n\t />\n\n\t <div v-if=\"content?.ticketLinkStripe && timeDifference >= 0\" class=\"z-index-1 mn-t-medium mn-b-small \tflex-nowrap flex gap-thin\">\n\t \t<a href=\"#\" @click=\"clickBuyTicket()\" class=\"pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white \">\n\t \t\t\t{{content?.ticketTextButton || 'Buy Ticket' }}\n\t \t</a>\n\t </div>\n\n\t <img loading=\"lazy\" style=\"object-fit: cover; opacity: 0.2;\" v-if=\"content.cover && !content.video\" :src=\"content.cover\" \tclass=\"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\">\n\n\t <video \n\t\t v-if=\"content.video\"\n\t\t\t\tstyle=\"object-fit: cover; opacity: 0.2;\" \n\t\t\t\tref=\"videoElement\" \n\t\t\t\tclass=\"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline :src=\"content.video\" \n\t\t\t\titemprop=\"video\" \n\t\t\t\ttype=\"video/webm\"\n\t\t\t>\n\t\t\t</video>\n\t \n </div>\n\n\n </section>\n</template>\n\n\n<script setup>\n\timport { ref, onMounted } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\timport Countdown from \"@pf/src/components/Countdown/Countdown.vue\"\n\n\tconst props = defineProps({\n\t\tcontent: {\n\t\t\ttype: Object\n\t\t},\n\t\toptions: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n\n\tconst videoElement = ref(null)\n\n\tvar isPlaying = false;\n\n\tconst targetDate = new Date(props.options.date).getTime();\n\tconst currentDate = ref(new Date().getTime());\n\tconst timeDifference = targetDate - currentDate.value;\n\n\tfunction checkAndPlayVideo() {\n\t\tif (videoElement.value) videoElement.value.onplaying = function() { isPlaying = true; };\n\t\tif (videoElement.value) videoElement.value.onpause = function() { isPlaying = false; };\t\n }\n\n function getVideoType(videoUrl) {\n if (videoUrl.endsWith('.mp4')) {\n return 'video/mp4';\n } else if (videoUrl.endsWith('.webm')) {\n return 'video/webm';\n }\n return '';\n }\n\n\tasync function playVid() { \n if (videoElement.value?.paused && !isPlaying) {\n return videoElement.value.play();\n }\n\t} \n\n\tonMounted(() => {\n\t\t\tcheckAndPlayVideo()\n\t\t\tplayVid()\n\t})\n\t\n\tfunction clickBuyTicket () {\n\t\tgtag('event', 'buy_ticket', {\n\t 'event_category': 'conversion',\n\t 'event_label': 'Buy Ticket'\n\t });\n\n\t window.open(props.content?.ticketLinkStripe);\n\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@media screen and (max-width: 1025px) {\n\t\t.content-hero-refactor {\n\t\t\ttext-align: center;\n\t\t}\n\n\t\th3, div {\n\t\t\tmargin-left: auto;\n\t\t\tmargin-right: auto;\n\t\t}\n\t}\n\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0GC,UAAM,QAAQ;AAUd,UAAM,eAAe,IAAI,IAAI;AAE7B,QAAI,YAAY;AAEhB,UAAM,aAAa,IAAI,KAAK,MAAM,QAAQ,IAAI,EAAE;AAChD,UAAM,cAAc,KAAI,oBAAI,KAAI,GAAG,QAAS,CAAA;AAC5C,UAAM,iBAAiB,aAAa,YAAY;AAEhD,aAAS,oBAAoB;AAC5B,UAAI,aAAa,MAAO,cAAa,MAAM,YAAY,WAAW;AAAE,oBAAY;AAAA;AAChF,UAAI,aAAa,MAAO,cAAa,MAAM,UAAU,WAAW;AAAE,oBAAY;AAAA;IAC7E;AAED,aAAS,aAAa,UAAU;AAC9B,UAAI,SAAS,SAAS,MAAM,GAAG;AAC7B,eAAO;AAAA,MACR,WAAU,SAAS,SAAS,OAAO,GAAG;AACrC,eAAO;AAAA,MACR;AACD,aAAO;AAAA,IACR;AAEF,mBAAe,UAAU;;AACtB,YAAI,kBAAa,UAAb,mBAAoB,WAAU,CAAC,WAAW;AAC5C,eAAO,aAAa,MAAM;MAC3B;AAAA,IACH;AAED,cAAU,MAAM;AACd,wBAAmB;AACnB,cAAS;AAAA,IACZ,CAAE;AAED,aAAS,iBAAkB;;AAC1B,WAAK,SAAS,cAAc;AAAA,QACzB,kBAAkB;AAAA,QAClB,eAAe;AAAA,MACpB,CAAI;AAED,aAAO,MAAK,WAAM,YAAN,mBAAe,gBAAgB;AAAA,IAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const vue = require("vue");
4
- ;/* empty css */
4
+ ;/* empty css */
5
5
  const EmptyState = require("../../../../components/EmptyState/EmptyState.vue.cjs");
6
6
  const CardEvent = require("../blocks/CardEvent.vue.cjs");
7
7
  const SkeletonEventShort = require("../../../icons/skeletons/SkeletonEventShort.vue.cjs");
@@ -1,5 +1,5 @@
1
1
  import { ref, onMounted, openBlock, createElementBlock, createVNode, TransitionGroup, withCtx, Fragment, renderList, createBlock, createCommentVNode, Transition, normalizeClass } from "vue";
2
- /* empty css */
2
+ /* empty css */
3
3
  import _sfc_main$1 from "../../../../components/EmptyState/EmptyState.vue.js";
4
4
  import _sfc_main$2 from "../blocks/CardEvent.vue.js";
5
5
  import SkeletonEventShort from "../../../icons/skeletons/SkeletonEventShort.vue.js";
@@ -54,15 +54,16 @@ const _sfc_main = {
54
54
  const videoElement = vue.ref(null);
55
55
  var isPlaying = false;
56
56
  function checkAndPlayVideo() {
57
- videoElement.value.onplaying = function() {
57
+ if (videoElement.value) videoElement.value.onplaying = function() {
58
58
  isPlaying = true;
59
59
  };
60
- videoElement.value.onpause = function() {
60
+ if (videoElement.value) videoElement.value.onpause = function() {
61
61
  isPlaying = false;
62
62
  };
63
63
  }
64
64
  async function playVid() {
65
- if (videoElement.value.paused && !isPlaying) {
65
+ var _a;
66
+ if (((_a = videoElement.value) == null ? void 0 : _a.paused) && !isPlaying) {
66
67
  return videoElement.value.play();
67
68
  }
68
69
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SectionPreviousEvents.vue.cjs","sources":["../../../../../../../src/modules/events/components/sections/SectionPreviousEvents.vue"],"sourcesContent":["<template>\n\n\t<div class=\"cols-2 gap-big pos-relative \">\n\t\t <div class=\"cols-1 gap-small \">\n\t\t <a v-if=\"options?.link\" @click=\"clickBuyTicket()\" href=\"#\" class=\"bg-main flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto o-hidden radius-big pd-big flex-center flex-column flex w-100 gap-zero\">\n\t\t \t<img loading=\"lazy\" v-if=\"content?.ticket\" class=\"w-80\" :src=\"content?.ticket\">\n\n\t \t<a class=\"t-white bg-black pd-l-small pd-b-thin pd-t-thin pd-r-small h4 radius-extra uppercase t-nye204\">\n\t \t\t<!-- SOLD OUT -->\n\t\t\t\t\t{{ content?.ticketTextButton || 'Buy Ticket'}}\n\t\t </a>\n\t\t \n\t\t </a>\n\n\t\t <p v-if=\"content?.paymentContact\" class=\"pd-small radius-big bg-second flex flex-center gap-small p-medium t-medium t-white\">\n\t \t<span>{{content?.paymentText}}</span> \n \t\t\t<a class=\"t-black bg-white radius-extra pd-thin\" :href=\"content?.paymentContactURL\" target=\"_blank\">{{content?.paymentContact}}</a>\n \t\t</p>\n \t</div>\n\n\t\t<div class=\"br-solid br-1px br-white-transp-10 o-hidden radius-big bg-black \">\n\n\t\t\t<video \n\t\t\t\tv-if=\"options?.video\" style=\"max-height: 20rem; object-fit: cover;\" \n\t\t\t\tref=\"videoElement\" class=\"pos-t-0 pos-l-0 w-100 h-auto\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline \n\t\t\t\t:src=\"options?.video\" itemprop=\"video\" type=\"video/mp4\"\n\t\t\t>\n\t\t\t</video>\n\n\n\t <div class=\"pd-big flex-column flex w-100 h-100 gap-zero\">\n\t \t<h3 v-if=\"content?.previousTitle\" class=\"t-unna t-nye204 mn-b-small\">\n\t\t\t\t\t{{content?.previousTitle}}\n\t\t </h3>\n\t\t \n\t\t <p v-if=\"content?.previousDescription\" class=\"p-medium t-transp mn-b-big\">\n\t\t \t{{content?.previousDescription}}\n\t\t </p>\n\n\t\t <div v-if=\"content?.previousLink\" class=\"flex-nowrap flex gap-thin\">\n\t\t \t<a :href=\"content?.previousLink\" \ttarget=\"_blank\" class=\"pd-l-medium pd-r-medium pd-t-small pd-b-small t-black radius-extra uppercase t-medium bg-white\">\n\t\t \t\t{{content?.previousLinkText || 'Check'}}\n\t\t \t</a>\n\t\t </div>\n\t </div>\n\t \n\t </div>\n\n\t \n\t</div>\n</template>\n\n\n<script setup>\n\timport { ref, onMounted } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\n\tconst props = defineProps({\n\t\tcontent: {\n\t\t\ttype: Object\n\t\t},\n\t\toptions: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n\n\t\n\tconst { t } = useI18n({ \n\t\tmessages: {\n\t\t en:{\n\t\t \"nye2024\":{\n\t\t \"title\":\"Explore our exclusive party archive\",\n\t\t \"titleTicket\":\"Are you ready?\",\n\t\t \"description\":\"Experience the ultimate party vibe at The Commune! Elevate your evening with distinctive and exhilarating activities, ensuring an unforgettable time. Dive into the excitement and make every moment special.\",\n\t\t \"checkinblog\":\"CHECK IN INSTAGRAM\",\n\t\t }\n\t\t }\n\t\t}\n\t})\n\n\tconst videoElement = ref(null)\n\n\tvar isPlaying = false;\n\n\tfunction\tcheckAndPlayVideo() {\n // Initializing values\n\n\t\t// On video playing toggle values\n\t\tvideoElement.value.onplaying = function() {\n\t\t isPlaying = true;\n\t\t};\n\n\t\t// On video pause toggle values\n\t\tvideoElement.value.onpause = function() {\n\t\t isPlaying = false;\n\t\t};\t\n }\n\n // Play video function\n\tasync function playVid() { \n if (videoElement.value.paused && !isPlaying) {\n return videoElement.value.play();\n }\n\t} \n\n\tfunction clickBuyTicket () {\n\t\tgtag('event', 'buy_ticket', {\n\t 'event_category': 'conversion',\n\t 'event_label': 'Buy Ticket'\n\t });\n\n\t window.open(props.options?.link);\n\n\t}\n \n\tonMounted(() => {\n\t\tcheckAndPlayVideo()\n\t\tplayVid()\n\t})\n</script>\n\n<style lang=\"scss\">\n</style>\n"],"names":["useI18n","ref","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2DC,UAAM,QAAQ;AAWAA,oBAAQ;AAAA,MACrB,UAAU;AAAA,QACR,IAAG;AAAA,UACD,WAAU;AAAA,YACR,SAAQ;AAAA,YACR,eAAc;AAAA,YACd,eAAc;AAAA,YACd,eAAc;AAAA,UACf;AAAA,QACF;AAAA,MACF;AAAA,IACH,CAAE;AAED,UAAM,eAAeC,IAAG,IAAC,IAAI;AAE7B,QAAI,YAAY;AAEhB,aAAS,oBAAoB;AAI5B,mBAAa,MAAM,YAAY,WAAW;AACxC,oBAAY;AAAA,MAChB;AAGE,mBAAa,MAAM,UAAU,WAAW;AACtC,oBAAY;AAAA,MAChB;AAAA,IACG;AAGF,mBAAe,UAAU;AACtB,UAAI,aAAa,MAAM,UAAU,CAAC,WAAW;AAC3C,eAAO,aAAa,MAAM;MAC3B;AAAA,IACH;AAED,aAAS,iBAAkB;;AAC1B,WAAK,SAAS,cAAc;AAAA,QACzB,kBAAkB;AAAA,QAClB,eAAe;AAAA,MACpB,CAAI;AAED,aAAO,MAAK,WAAM,YAAN,mBAAe,IAAI;AAAA,IAEhC;AAEDC,QAAAA,UAAU,MAAM;AACf,wBAAmB;AACnB,cAAS;AAAA,IACX,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"SectionPreviousEvents.vue.cjs","sources":["../../../../../../../src/modules/events/components/sections/SectionPreviousEvents.vue"],"sourcesContent":["<template>\n\n\t<div class=\"cols-2 gap-big pos-relative \">\n\t\t <div class=\"cols-1 gap-small \">\n\t\t <a v-if=\"options?.link\" @click=\"clickBuyTicket()\" href=\"#\" class=\"bg-main flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto o-hidden radius-big pd-big flex-center flex-column flex w-100 gap-zero\">\n\t\t \t<img loading=\"lazy\" v-if=\"content?.ticket\" class=\"w-80\" :src=\"content?.ticket\">\n\n\t \t<a class=\"t-white bg-black pd-l-small pd-b-thin pd-t-thin pd-r-small h4 radius-extra uppercase t-nye204\">\n\t \t\t<!-- SOLD OUT -->\n\t\t\t\t\t{{ content?.ticketTextButton || 'Buy Ticket'}}\n\t\t </a>\n\t\t \n\t\t </a>\n\n\t\t <p v-if=\"content?.paymentContact\" class=\"pd-small radius-big bg-second flex flex-center gap-small p-medium t-medium t-white\">\n\t \t<span>{{content?.paymentText}}</span> \n \t\t\t<a class=\"t-black bg-white radius-extra pd-thin\" :href=\"content?.paymentContactURL\" target=\"_blank\">{{content?.paymentContact}}</a>\n \t\t</p>\n \t</div>\n\n\t\t<div class=\"br-solid br-1px br-white-transp-10 o-hidden radius-big bg-black \">\n\n\t\t\t<video \n\t\t\t\tv-if=\"options?.video\" style=\"max-height: 20rem; object-fit: cover;\" \n\t\t\t\tref=\"videoElement\" class=\"pos-t-0 pos-l-0 w-100 h-auto\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline \n\t\t\t\t:src=\"options?.video\" itemprop=\"video\" type=\"video/mp4\"\n\t\t\t>\n\t\t\t</video>\n\n\n\t <div class=\"pd-big flex-column flex w-100 h-100 gap-zero\">\n\t \t<h3 v-if=\"content?.previousTitle\" class=\"t-unna t-nye204 mn-b-small\">\n\t\t\t\t\t{{content?.previousTitle}}\n\t\t </h3>\n\t\t \n\t\t <p v-if=\"content?.previousDescription\" class=\"p-medium t-transp mn-b-big\">\n\t\t \t{{content?.previousDescription}}\n\t\t </p>\n\n\t\t <div v-if=\"content?.previousLink\" class=\"flex-nowrap flex gap-thin\">\n\t\t \t<a :href=\"content?.previousLink\" \ttarget=\"_blank\" class=\"pd-l-medium pd-r-medium pd-t-small pd-b-small t-black radius-extra uppercase t-medium bg-white\">\n\t\t \t\t{{content?.previousLinkText || 'Check'}}\n\t\t \t</a>\n\t\t </div>\n\t </div>\n\t \n\t </div>\n\n\t \n\t</div>\n</template>\n\n\n<script setup>\n\timport { ref, onMounted } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\n\tconst props = defineProps({\n\t\tcontent: {\n\t\t\ttype: Object\n\t\t},\n\t\toptions: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n\n\t\n\tconst { t } = useI18n({ \n\t\tmessages: {\n\t\t en:{\n\t\t \"nye2024\":{\n\t\t \"title\":\"Explore our exclusive party archive\",\n\t\t \"titleTicket\":\"Are you ready?\",\n\t\t \"description\":\"Experience the ultimate party vibe at The Commune! Elevate your evening with distinctive and exhilarating activities, ensuring an unforgettable time. Dive into the excitement and make every moment special.\",\n\t\t \"checkinblog\":\"CHECK IN INSTAGRAM\",\n\t\t }\n\t\t }\n\t\t}\n\t})\n\n\tconst videoElement = ref(null)\n\n\tvar isPlaying = false;\n\n\tfunction checkAndPlayVideo() {\n\t\tif (videoElement.value) videoElement.value.onplaying = function() { isPlaying = true; };\n\t\tif (videoElement.value) videoElement.value.onpause = function() { isPlaying = false; };\t\n }\n\n // Play video function\n\tasync function playVid() { \n if (videoElement.value?.paused && !isPlaying) {\n return videoElement.value.play();\n }\n\t} \n\n\tfunction clickBuyTicket () {\n\t\tgtag('event', 'buy_ticket', {\n\t 'event_category': 'conversion',\n\t 'event_label': 'Buy Ticket'\n\t });\n\n\t window.open(props.options?.link);\n\n\t}\n \n\tonMounted(() => {\n\t\tcheckAndPlayVideo()\n\t\tplayVid()\n\t})\n</script>\n\n<style lang=\"scss\">\n</style>\n"],"names":["useI18n","ref","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2DC,UAAM,QAAQ;AAWAA,oBAAQ;AAAA,MACrB,UAAU;AAAA,QACR,IAAG;AAAA,UACD,WAAU;AAAA,YACR,SAAQ;AAAA,YACR,eAAc;AAAA,YACd,eAAc;AAAA,YACd,eAAc;AAAA,UACf;AAAA,QACF;AAAA,MACF;AAAA,IACH,CAAE;AAED,UAAM,eAAeC,IAAG,IAAC,IAAI;AAE7B,QAAI,YAAY;AAEhB,aAAS,oBAAoB;AAC5B,UAAI,aAAa,MAAO,cAAa,MAAM,YAAY,WAAW;AAAE,oBAAY;AAAA;AAChF,UAAI,aAAa,MAAO,cAAa,MAAM,UAAU,WAAW;AAAE,oBAAY;AAAA;IAC7E;AAGF,mBAAe,UAAU;;AACtB,YAAI,kBAAa,UAAb,mBAAoB,WAAU,CAAC,WAAW;AAC5C,eAAO,aAAa,MAAM;MAC3B;AAAA,IACH;AAED,aAAS,iBAAkB;;AAC1B,WAAK,SAAS,cAAc;AAAA,QACzB,kBAAkB;AAAA,QAClB,eAAe;AAAA,MACpB,CAAI;AAED,aAAO,MAAK,WAAM,YAAN,mBAAe,IAAI;AAAA,IAEhC;AAEDC,QAAAA,UAAU,MAAM;AACf,wBAAmB;AACnB,cAAS;AAAA,IACX,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -52,15 +52,16 @@ const _sfc_main = {
52
52
  const videoElement = ref(null);
53
53
  var isPlaying = false;
54
54
  function checkAndPlayVideo() {
55
- videoElement.value.onplaying = function() {
55
+ if (videoElement.value) videoElement.value.onplaying = function() {
56
56
  isPlaying = true;
57
57
  };
58
- videoElement.value.onpause = function() {
58
+ if (videoElement.value) videoElement.value.onpause = function() {
59
59
  isPlaying = false;
60
60
  };
61
61
  }
62
62
  async function playVid() {
63
- if (videoElement.value.paused && !isPlaying) {
63
+ var _a;
64
+ if (((_a = videoElement.value) == null ? void 0 : _a.paused) && !isPlaying) {
64
65
  return videoElement.value.play();
65
66
  }
66
67
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SectionPreviousEvents.vue.js","sources":["../../../../../../../src/modules/events/components/sections/SectionPreviousEvents.vue"],"sourcesContent":["<template>\n\n\t<div class=\"cols-2 gap-big pos-relative \">\n\t\t <div class=\"cols-1 gap-small \">\n\t\t <a v-if=\"options?.link\" @click=\"clickBuyTicket()\" href=\"#\" class=\"bg-main flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto o-hidden radius-big pd-big flex-center flex-column flex w-100 gap-zero\">\n\t\t \t<img loading=\"lazy\" v-if=\"content?.ticket\" class=\"w-80\" :src=\"content?.ticket\">\n\n\t \t<a class=\"t-white bg-black pd-l-small pd-b-thin pd-t-thin pd-r-small h4 radius-extra uppercase t-nye204\">\n\t \t\t<!-- SOLD OUT -->\n\t\t\t\t\t{{ content?.ticketTextButton || 'Buy Ticket'}}\n\t\t </a>\n\t\t \n\t\t </a>\n\n\t\t <p v-if=\"content?.paymentContact\" class=\"pd-small radius-big bg-second flex flex-center gap-small p-medium t-medium t-white\">\n\t \t<span>{{content?.paymentText}}</span> \n \t\t\t<a class=\"t-black bg-white radius-extra pd-thin\" :href=\"content?.paymentContactURL\" target=\"_blank\">{{content?.paymentContact}}</a>\n \t\t</p>\n \t</div>\n\n\t\t<div class=\"br-solid br-1px br-white-transp-10 o-hidden radius-big bg-black \">\n\n\t\t\t<video \n\t\t\t\tv-if=\"options?.video\" style=\"max-height: 20rem; object-fit: cover;\" \n\t\t\t\tref=\"videoElement\" class=\"pos-t-0 pos-l-0 w-100 h-auto\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline \n\t\t\t\t:src=\"options?.video\" itemprop=\"video\" type=\"video/mp4\"\n\t\t\t>\n\t\t\t</video>\n\n\n\t <div class=\"pd-big flex-column flex w-100 h-100 gap-zero\">\n\t \t<h3 v-if=\"content?.previousTitle\" class=\"t-unna t-nye204 mn-b-small\">\n\t\t\t\t\t{{content?.previousTitle}}\n\t\t </h3>\n\t\t \n\t\t <p v-if=\"content?.previousDescription\" class=\"p-medium t-transp mn-b-big\">\n\t\t \t{{content?.previousDescription}}\n\t\t </p>\n\n\t\t <div v-if=\"content?.previousLink\" class=\"flex-nowrap flex gap-thin\">\n\t\t \t<a :href=\"content?.previousLink\" \ttarget=\"_blank\" class=\"pd-l-medium pd-r-medium pd-t-small pd-b-small t-black radius-extra uppercase t-medium bg-white\">\n\t\t \t\t{{content?.previousLinkText || 'Check'}}\n\t\t \t</a>\n\t\t </div>\n\t </div>\n\t \n\t </div>\n\n\t \n\t</div>\n</template>\n\n\n<script setup>\n\timport { ref, onMounted } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\n\tconst props = defineProps({\n\t\tcontent: {\n\t\t\ttype: Object\n\t\t},\n\t\toptions: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n\n\t\n\tconst { t } = useI18n({ \n\t\tmessages: {\n\t\t en:{\n\t\t \"nye2024\":{\n\t\t \"title\":\"Explore our exclusive party archive\",\n\t\t \"titleTicket\":\"Are you ready?\",\n\t\t \"description\":\"Experience the ultimate party vibe at The Commune! Elevate your evening with distinctive and exhilarating activities, ensuring an unforgettable time. Dive into the excitement and make every moment special.\",\n\t\t \"checkinblog\":\"CHECK IN INSTAGRAM\",\n\t\t }\n\t\t }\n\t\t}\n\t})\n\n\tconst videoElement = ref(null)\n\n\tvar isPlaying = false;\n\n\tfunction\tcheckAndPlayVideo() {\n // Initializing values\n\n\t\t// On video playing toggle values\n\t\tvideoElement.value.onplaying = function() {\n\t\t isPlaying = true;\n\t\t};\n\n\t\t// On video pause toggle values\n\t\tvideoElement.value.onpause = function() {\n\t\t isPlaying = false;\n\t\t};\t\n }\n\n // Play video function\n\tasync function playVid() { \n if (videoElement.value.paused && !isPlaying) {\n return videoElement.value.play();\n }\n\t} \n\n\tfunction clickBuyTicket () {\n\t\tgtag('event', 'buy_ticket', {\n\t 'event_category': 'conversion',\n\t 'event_label': 'Buy Ticket'\n\t });\n\n\t window.open(props.options?.link);\n\n\t}\n \n\tonMounted(() => {\n\t\tcheckAndPlayVideo()\n\t\tplayVid()\n\t})\n</script>\n\n<style lang=\"scss\">\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2DC,UAAM,QAAQ;AAWA,YAAQ;AAAA,MACrB,UAAU;AAAA,QACR,IAAG;AAAA,UACD,WAAU;AAAA,YACR,SAAQ;AAAA,YACR,eAAc;AAAA,YACd,eAAc;AAAA,YACd,eAAc;AAAA,UACf;AAAA,QACF;AAAA,MACF;AAAA,IACH,CAAE;AAED,UAAM,eAAe,IAAI,IAAI;AAE7B,QAAI,YAAY;AAEhB,aAAS,oBAAoB;AAI5B,mBAAa,MAAM,YAAY,WAAW;AACxC,oBAAY;AAAA,MAChB;AAGE,mBAAa,MAAM,UAAU,WAAW;AACtC,oBAAY;AAAA,MAChB;AAAA,IACG;AAGF,mBAAe,UAAU;AACtB,UAAI,aAAa,MAAM,UAAU,CAAC,WAAW;AAC3C,eAAO,aAAa,MAAM;MAC3B;AAAA,IACH;AAED,aAAS,iBAAkB;;AAC1B,WAAK,SAAS,cAAc;AAAA,QACzB,kBAAkB;AAAA,QAClB,eAAe;AAAA,MACpB,CAAI;AAED,aAAO,MAAK,WAAM,YAAN,mBAAe,IAAI;AAAA,IAEhC;AAED,cAAU,MAAM;AACf,wBAAmB;AACnB,cAAS;AAAA,IACX,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"SectionPreviousEvents.vue.js","sources":["../../../../../../../src/modules/events/components/sections/SectionPreviousEvents.vue"],"sourcesContent":["<template>\n\n\t<div class=\"cols-2 gap-big pos-relative \">\n\t\t <div class=\"cols-1 gap-small \">\n\t\t <a v-if=\"options?.link\" @click=\"clickBuyTicket()\" href=\"#\" class=\"bg-main flex-child-grow-1 flex-child-shrink-0 flex-child-basis-auto o-hidden radius-big pd-big flex-center flex-column flex w-100 gap-zero\">\n\t\t \t<img loading=\"lazy\" v-if=\"content?.ticket\" class=\"w-80\" :src=\"content?.ticket\">\n\n\t \t<a class=\"t-white bg-black pd-l-small pd-b-thin pd-t-thin pd-r-small h4 radius-extra uppercase t-nye204\">\n\t \t\t<!-- SOLD OUT -->\n\t\t\t\t\t{{ content?.ticketTextButton || 'Buy Ticket'}}\n\t\t </a>\n\t\t \n\t\t </a>\n\n\t\t <p v-if=\"content?.paymentContact\" class=\"pd-small radius-big bg-second flex flex-center gap-small p-medium t-medium t-white\">\n\t \t<span>{{content?.paymentText}}</span> \n \t\t\t<a class=\"t-black bg-white radius-extra pd-thin\" :href=\"content?.paymentContactURL\" target=\"_blank\">{{content?.paymentContact}}</a>\n \t\t</p>\n \t</div>\n\n\t\t<div class=\"br-solid br-1px br-white-transp-10 o-hidden radius-big bg-black \">\n\n\t\t\t<video \n\t\t\t\tv-if=\"options?.video\" style=\"max-height: 20rem; object-fit: cover;\" \n\t\t\t\tref=\"videoElement\" class=\"pos-t-0 pos-l-0 w-100 h-auto\" \n\t\t\t\tpreload autoplay muted loop playsinlineclass playsinline \n\t\t\t\t:src=\"options?.video\" itemprop=\"video\" type=\"video/mp4\"\n\t\t\t>\n\t\t\t</video>\n\n\n\t <div class=\"pd-big flex-column flex w-100 h-100 gap-zero\">\n\t \t<h3 v-if=\"content?.previousTitle\" class=\"t-unna t-nye204 mn-b-small\">\n\t\t\t\t\t{{content?.previousTitle}}\n\t\t </h3>\n\t\t \n\t\t <p v-if=\"content?.previousDescription\" class=\"p-medium t-transp mn-b-big\">\n\t\t \t{{content?.previousDescription}}\n\t\t </p>\n\n\t\t <div v-if=\"content?.previousLink\" class=\"flex-nowrap flex gap-thin\">\n\t\t \t<a :href=\"content?.previousLink\" \ttarget=\"_blank\" class=\"pd-l-medium pd-r-medium pd-t-small pd-b-small t-black radius-extra uppercase t-medium bg-white\">\n\t\t \t\t{{content?.previousLinkText || 'Check'}}\n\t\t \t</a>\n\t\t </div>\n\t </div>\n\t \n\t </div>\n\n\t \n\t</div>\n</template>\n\n\n<script setup>\n\timport { ref, onMounted } from 'vue'\n\timport { useI18n } from 'vue-i18n'\n\n\n\tconst props = defineProps({\n\t\tcontent: {\n\t\t\ttype: Object\n\t\t},\n\t\toptions: {\n\t\t\ttype: Object\n\t\t}\n\t})\n\n\n\t\n\tconst { t } = useI18n({ \n\t\tmessages: {\n\t\t en:{\n\t\t \"nye2024\":{\n\t\t \"title\":\"Explore our exclusive party archive\",\n\t\t \"titleTicket\":\"Are you ready?\",\n\t\t \"description\":\"Experience the ultimate party vibe at The Commune! Elevate your evening with distinctive and exhilarating activities, ensuring an unforgettable time. Dive into the excitement and make every moment special.\",\n\t\t \"checkinblog\":\"CHECK IN INSTAGRAM\",\n\t\t }\n\t\t }\n\t\t}\n\t})\n\n\tconst videoElement = ref(null)\n\n\tvar isPlaying = false;\n\n\tfunction checkAndPlayVideo() {\n\t\tif (videoElement.value) videoElement.value.onplaying = function() { isPlaying = true; };\n\t\tif (videoElement.value) videoElement.value.onpause = function() { isPlaying = false; };\t\n }\n\n // Play video function\n\tasync function playVid() { \n if (videoElement.value?.paused && !isPlaying) {\n return videoElement.value.play();\n }\n\t} \n\n\tfunction clickBuyTicket () {\n\t\tgtag('event', 'buy_ticket', {\n\t 'event_category': 'conversion',\n\t 'event_label': 'Buy Ticket'\n\t });\n\n\t window.open(props.options?.link);\n\n\t}\n \n\tonMounted(() => {\n\t\tcheckAndPlayVideo()\n\t\tplayVid()\n\t})\n</script>\n\n<style lang=\"scss\">\n</style>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2DC,UAAM,QAAQ;AAWA,YAAQ;AAAA,MACrB,UAAU;AAAA,QACR,IAAG;AAAA,UACD,WAAU;AAAA,YACR,SAAQ;AAAA,YACR,eAAc;AAAA,YACd,eAAc;AAAA,YACd,eAAc;AAAA,UACf;AAAA,QACF;AAAA,MACF;AAAA,IACH,CAAE;AAED,UAAM,eAAe,IAAI,IAAI;AAE7B,QAAI,YAAY;AAEhB,aAAS,oBAAoB;AAC5B,UAAI,aAAa,MAAO,cAAa,MAAM,YAAY,WAAW;AAAE,oBAAY;AAAA;AAChF,UAAI,aAAa,MAAO,cAAa,MAAM,UAAU,WAAW;AAAE,oBAAY;AAAA;IAC7E;AAGF,mBAAe,UAAU;;AACtB,YAAI,kBAAa,UAAb,mBAAoB,WAAU,CAAC,WAAW;AAC5C,eAAO,aAAa,MAAM;MAC3B;AAAA,IACH;AAED,aAAS,iBAAkB;;AAC1B,WAAK,SAAS,cAAc;AAAA,QACzB,kBAAkB;AAAA,QAClB,eAAe;AAAA,MACpB,CAAI;AAED,aAAO,MAAK,WAAM,YAAN,mBAAe,IAAI;AAAA,IAEhC;AAED,cAAU,MAAM;AACf,wBAAmB;AACnB,cAAS;AAAA,IACX,CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const layoutEvents = require("../components/layouts/layoutEvents.vue.cjs");
4
- const auth_validation = require("../../auth/views/middlewares/auth.validation.cjs");
4
+ require("../../auth/views/store/auth.cjs");
5
5
  const eventsRoutes = [
6
6
  {
7
7
  path: "events",
@@ -29,6 +29,21 @@ const eventsRoutes = [
29
29
  ))
30
30
  }]
31
31
  },
32
+ {
33
+ path: "events/backoffice",
34
+ name: "Events Backoffice",
35
+ meta: {
36
+ title: {
37
+ en: "Manage Events",
38
+ ru: "Управление Событиями"
39
+ },
40
+ authorize: []
41
+ },
42
+ component: () => Promise.resolve().then(() => require(
43
+ /* webpackChunkName: 'CreateEvent' */
44
+ "../components/pages/EventsBackoffice.vue.cjs"
45
+ ))
46
+ },
32
47
  {
33
48
  path: "events/create",
34
49
  name: "Create Event",
@@ -70,10 +85,6 @@ const eventsRoutes = [
70
85
  {
71
86
  path: "events/:url/edit/tickets",
72
87
  name: "Edit Event Tickets",
73
- meta: { authorize: [] },
74
- beforeEnter: [
75
- auth_validation.requiresAdmin
76
- ],
77
88
  component: () => Promise.resolve().then(() => require(
78
89
  /* webpackChunkName: 'EditEvent' */
79
90
  "../components/pages/EditEventTickets.vue.cjs"
@@ -1 +1 @@
1
- {"version":3,"file":"events.cjs","sources":["../../../../../../src/modules/events/router/events.js"],"sourcesContent":["import layoutEvents from '../components/layouts/layoutEvents.vue'\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nconst eventsRoutes = [\n {\n path: 'events',\n component: layoutEvents,\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n children: [{\n path: ':category?',\n name: 'Events',\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n component: () => import(/* webpackChunkName: 'EventList' */ '../components/pages/Events.vue')\n }]\n },{\n path: 'events/create',\n name: 'Create Event',\n meta: {\n title: {\n en: 'Create Event',\n ru: 'Создать Событие'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'CreateEvent' */ '../components/pages/EditEvent.vue')\n },{\n path: 'events/:url',\n name: 'Event',\n meta: {\n title: {\n en: 'Event',\n ru: 'Событие'\n }\n },\n component: () => import(/* webpackChunkName: 'EventDetail' */ '../components/pages/Event.vue')\n },{\n path: 'events/:url/edit',\n name: 'Edit Event',\n meta: { authorize: [] },\n component: () => import(/* webpackChunkName: 'EditEvent' */ '../components/pages/EditEvent.vue')\n },{\n path: 'events/:url/edit/tickets',\n name: 'Edit Event Tickets',\n meta: { authorize: [] },\n beforeEnter: [\n validationAuth.requiresAdmin,\n ],\n component: () => import(/* webpackChunkName: 'EditEvent' */ '../components/pages/EditEventTickets.vue')\n }\n];\n\nexport default eventsRoutes;\n"],"names":["layoutEvents","validationAuth.requiresAdmin"],"mappings":";;;;AAGK,MAAC,eAAe;AAAA,EACnB;AAAA,IACE,MAAM;AAAA,IACN,WAAWA,aAAY;AAAA,IACvB,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,YAAY;AAAA,IACb;AAAA,IACD,UAAU,CAAC;AAAA,MACT,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,QACD,YAAY;AAAA,MACb;AAAA,MACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,QAAoC;AAAA,MAAgC,CAAC;AAAA,IACnG,CAAK;AAAA,EACL;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,WAAW,CAAE;AAAA,IACd;AAAA,IACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAsC;AAAA,IAAmC,CAAC;AAAA,EACtG;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAsC;AAAA,IAA+B,CAAC;AAAA,EAClG;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM,EAAE,WAAW,GAAI;AAAA,IACvB,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAoC;AAAA,IAAmC,CAAC;AAAA,EACpG;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM,EAAE,WAAW,GAAI;AAAA,IACvB,aAAa;AAAA,MACXC,gBAA4B;AAAA,IAC7B;AAAA,IACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAoC;AAAA,IAA0C,CAAC;AAAA,EACxG;AACH;;"}
1
+ {"version":3,"file":"events.cjs","sources":["../../../../../../src/modules/events/router/events.js"],"sourcesContent":["import layoutEvents from '../components/layouts/layoutEvents.vue'\nimport * as validationAuth from '@pf/src/modules/auth/views/middlewares/auth.validation';\n\nconst eventsRoutes = [\n {\n path: 'events',\n component: layoutEvents,\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n children: [{\n path: ':category?',\n name: 'Events',\n meta: {\n title: {\n en: 'Events',\n ru: 'События'\n },\n title_hide: true\n },\n component: () => import(/* webpackChunkName: 'EventList' */ '../components/pages/Events.vue')\n }]\n },{\n path: 'events/backoffice',\n name: 'Events Backoffice',\n meta: {\n title: {\n en: 'Manage Events',\n ru: 'Управление Событиями'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'CreateEvent' */ '../components/pages/EventsBackoffice.vue')\n },{\n path: 'events/create',\n name: 'Create Event',\n meta: {\n title: {\n en: 'Create Event',\n ru: 'Создать Событие'\n },\n authorize: []\n },\n component: () => import(/* webpackChunkName: 'CreateEvent' */ '../components/pages/EditEvent.vue')\n },{\n path: 'events/:url',\n name: 'Event',\n meta: {\n title: {\n en: 'Event',\n ru: 'Событие'\n }\n },\n component: () => import(/* webpackChunkName: 'EventDetail' */ '../components/pages/Event.vue')\n },{\n path: 'events/:url/edit',\n name: 'Edit Event',\n meta: { authorize: [] },\n component: () => import(/* webpackChunkName: 'EditEvent' */ '../components/pages/EditEvent.vue')\n },{\n path: 'events/:url/edit/tickets',\n name: 'Edit Event Tickets',\n component: () => import(/* webpackChunkName: 'EditEvent' */ '../components/pages/EditEventTickets.vue')\n }\n];\n\nexport default eventsRoutes;\n"],"names":["layoutEvents"],"mappings":";;;;AAGK,MAAC,eAAe;AAAA,EACnB;AAAA,IACE,MAAM;AAAA,IACN,WAAWA,aAAY;AAAA,IACvB,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,YAAY;AAAA,IACb;AAAA,IACD,UAAU,CAAC;AAAA,MACT,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,QACJ,OAAO;AAAA,UACL,IAAI;AAAA,UACJ,IAAI;AAAA,QACL;AAAA,QACD,YAAY;AAAA,MACb;AAAA,MACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,QAAoC;AAAA,MAAgC,CAAC;AAAA,IACnG,CAAK;AAAA,EACL;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,WAAW,CAAE;AAAA,IACd;AAAA,IACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAsC;AAAA,IAA0C,CAAC;AAAA,EAC7G;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,MACD,WAAW,CAAE;AAAA,IACd;AAAA,IACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAsC;AAAA,IAAmC,CAAC;AAAA,EACtG;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,MACJ,OAAO;AAAA,QACL,IAAI;AAAA,QACJ,IAAI;AAAA,MACL;AAAA,IACF;AAAA,IACD,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAsC;AAAA,IAA+B,CAAC;AAAA,EAClG;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,MAAM,EAAE,WAAW,GAAI;AAAA,IACvB,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAoC;AAAA,IAAmC,CAAC;AAAA,EACpG;AAAA,EAAI;AAAA,IACA,MAAM;AAAA,IACN,MAAM;AAAA,IACN,WAAW,MAAM,QAAO,QAAA,EAAA,KAAA,MAAA;AAAA;AAAA,MAAoC;AAAA,IAA0C,CAAC;AAAA,EACxG;AACH;;"}