@ozdao/prometheus-framework 0.2.197 → 0.2.199

Sign up to get free protection for your applications and to get access to all the features.
Files changed (417) hide show
  1. package/dist/builder.js +3 -10
  2. package/dist/builder.mjs +3 -10
  3. package/dist/events.server.js +1 -1
  4. package/dist/events.server.mjs +1 -1
  5. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.cjs +1 -1
  6. package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +21 -20
  7. package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -0
  8. package/dist/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +5042 -0
  9. package/dist/node_modules/date-fns/_lib/addLeadingZeros.cjs +1 -0
  10. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
  11. package/dist/node_modules/date-fns/_lib/defaultOptions.cjs +1 -0
  12. package/dist/node_modules/date-fns/_lib/defaultOptions.js +7 -0
  13. package/dist/node_modules/date-fns/_lib/format/formatters.cjs +1 -0
  14. package/dist/node_modules/date-fns/_lib/format/formatters.js +518 -0
  15. package/dist/node_modules/date-fns/_lib/format/lightFormatters.cjs +1 -0
  16. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
  17. package/dist/node_modules/date-fns/_lib/format/longFormatters.cjs +1 -0
  18. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
  19. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +1 -0
  20. package/dist/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +18 -0
  21. package/dist/node_modules/date-fns/_lib/protectedTokens.cjs +1 -0
  22. package/dist/node_modules/date-fns/_lib/protectedTokens.js +20 -0
  23. package/dist/node_modules/date-fns/add.cjs +1 -0
  24. package/dist/node_modules/date-fns/add.js +20 -0
  25. package/dist/node_modules/date-fns/addDays.cjs +1 -0
  26. package/dist/node_modules/date-fns/addDays.js +10 -0
  27. package/dist/node_modules/date-fns/addHours.cjs +1 -0
  28. package/dist/node_modules/date-fns/addHours.js +9 -0
  29. package/dist/node_modules/date-fns/addMilliseconds.cjs +1 -0
  30. package/dist/node_modules/date-fns/addMilliseconds.js +10 -0
  31. package/dist/node_modules/date-fns/addMonths.cjs +1 -0
  32. package/dist/node_modules/date-fns/addMonths.js +20 -0
  33. package/dist/node_modules/date-fns/addQuarters.cjs +1 -0
  34. package/dist/node_modules/date-fns/addQuarters.js +9 -0
  35. package/dist/node_modules/date-fns/addYears.cjs +1 -0
  36. package/dist/node_modules/date-fns/addYears.js +8 -0
  37. package/dist/node_modules/date-fns/compareAsc.cjs +1 -0
  38. package/dist/node_modules/date-fns/compareAsc.js +9 -0
  39. package/dist/node_modules/date-fns/constants.cjs +1 -0
  40. package/dist/node_modules/date-fns/constants.js +8 -0
  41. package/dist/node_modules/date-fns/constructFrom.cjs +1 -0
  42. package/dist/node_modules/date-fns/constructFrom.js +7 -0
  43. package/dist/node_modules/date-fns/differenceInCalendarDays.cjs +1 -0
  44. package/dist/node_modules/date-fns/differenceInCalendarDays.js +11 -0
  45. package/dist/node_modules/date-fns/differenceInCalendarYears.cjs +1 -0
  46. package/dist/node_modules/date-fns/differenceInCalendarYears.js +9 -0
  47. package/dist/node_modules/date-fns/differenceInYears.cjs +1 -0
  48. package/dist/node_modules/date-fns/differenceInYears.js +13 -0
  49. package/dist/node_modules/date-fns/eachDayOfInterval.cjs +1 -0
  50. package/dist/node_modules/date-fns/eachDayOfInterval.js +16 -0
  51. package/dist/node_modules/date-fns/eachQuarterOfInterval.cjs +1 -0
  52. package/dist/node_modules/date-fns/eachQuarterOfInterval.js +17 -0
  53. package/dist/node_modules/date-fns/endOfQuarter.cjs +1 -0
  54. package/dist/node_modules/date-fns/endOfQuarter.js +9 -0
  55. package/dist/node_modules/date-fns/endOfWeek.cjs +1 -0
  56. package/dist/node_modules/date-fns/endOfWeek.js +11 -0
  57. package/dist/node_modules/date-fns/endOfYear.cjs +1 -0
  58. package/dist/node_modules/date-fns/endOfYear.js +9 -0
  59. package/dist/node_modules/date-fns/format.cjs +1 -0
  60. package/dist/node_modules/date-fns/format.js +59 -0
  61. package/dist/node_modules/date-fns/getDay.cjs +1 -0
  62. package/dist/node_modules/date-fns/getDay.js +8 -0
  63. package/dist/node_modules/date-fns/getDayOfYear.cjs +1 -0
  64. package/dist/node_modules/date-fns/getDayOfYear.js +11 -0
  65. package/dist/node_modules/date-fns/getDaysInMonth.cjs +1 -0
  66. package/dist/node_modules/date-fns/getDaysInMonth.js +10 -0
  67. package/dist/node_modules/date-fns/getDefaultOptions.cjs +1 -0
  68. package/dist/node_modules/date-fns/getDefaultOptions.js +8 -0
  69. package/dist/node_modules/date-fns/getHours.cjs +1 -0
  70. package/dist/node_modules/date-fns/getHours.js +8 -0
  71. package/dist/node_modules/date-fns/getISODay.cjs +1 -0
  72. package/dist/node_modules/date-fns/getISODay.js +9 -0
  73. package/dist/node_modules/date-fns/getISOWeek.cjs +1 -0
  74. package/dist/node_modules/date-fns/getISOWeek.js +12 -0
  75. package/dist/node_modules/date-fns/getISOWeekYear.cjs +1 -0
  76. package/dist/node_modules/date-fns/getISOWeekYear.js +15 -0
  77. package/dist/node_modules/date-fns/getMinutes.cjs +1 -0
  78. package/dist/node_modules/date-fns/getMinutes.js +8 -0
  79. package/dist/node_modules/date-fns/getMonth.cjs +1 -0
  80. package/dist/node_modules/date-fns/getMonth.js +8 -0
  81. package/dist/node_modules/date-fns/getQuarter.cjs +1 -0
  82. package/dist/node_modules/date-fns/getQuarter.js +9 -0
  83. package/dist/node_modules/date-fns/getSeconds.cjs +1 -0
  84. package/dist/node_modules/date-fns/getSeconds.js +8 -0
  85. package/dist/node_modules/date-fns/getWeek.cjs +1 -0
  86. package/dist/node_modules/date-fns/getWeek.js +12 -0
  87. package/dist/node_modules/date-fns/getWeekYear.cjs +1 -0
  88. package/dist/node_modules/date-fns/getWeekYear.js +17 -0
  89. package/dist/node_modules/date-fns/getYear.cjs +1 -0
  90. package/dist/node_modules/date-fns/getYear.js +8 -0
  91. package/dist/node_modules/date-fns/isAfter.cjs +1 -0
  92. package/dist/node_modules/date-fns/isAfter.js +9 -0
  93. package/dist/node_modules/date-fns/isBefore.cjs +1 -0
  94. package/dist/node_modules/date-fns/isBefore.js +9 -0
  95. package/dist/node_modules/date-fns/isDate.cjs +1 -0
  96. package/dist/node_modules/date-fns/isDate.js +7 -0
  97. package/dist/node_modules/date-fns/isEqual.cjs +1 -0
  98. package/dist/node_modules/date-fns/isEqual.js +9 -0
  99. package/dist/node_modules/date-fns/isSameQuarter.cjs +1 -0
  100. package/dist/node_modules/date-fns/isSameQuarter.js +9 -0
  101. package/dist/node_modules/date-fns/isValid.cjs +1 -0
  102. package/dist/node_modules/date-fns/isValid.js +12 -0
  103. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +1 -0
  104. package/dist/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +9 -0
  105. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +1 -0
  106. package/dist/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +18 -0
  107. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +1 -0
  108. package/dist/node_modules/date-fns/locale/_lib/buildMatchFn.js +31 -0
  109. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +1 -0
  110. package/dist/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +15 -0
  111. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +1 -0
  112. package/dist/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +70 -0
  113. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +1 -0
  114. package/dist/node_modules/date-fns/locale/en-US/_lib/formatLong.js +33 -0
  115. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +1 -0
  116. package/dist/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +11 -0
  117. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.cjs +1 -0
  118. package/dist/node_modules/date-fns/locale/en-US/_lib/localize.js +155 -0
  119. package/dist/node_modules/date-fns/locale/en-US/_lib/match.cjs +1 -0
  120. package/dist/node_modules/date-fns/locale/en-US/_lib/match.js +110 -0
  121. package/dist/node_modules/date-fns/locale/en-US.cjs +1 -0
  122. package/dist/node_modules/date-fns/locale/en-US.js +21 -0
  123. package/dist/node_modules/date-fns/parse/_lib/Parser.cjs +1 -0
  124. package/dist/node_modules/date-fns/parse/_lib/Parser.js +22 -0
  125. package/dist/node_modules/date-fns/parse/_lib/Setter.cjs +1 -0
  126. package/dist/node_modules/date-fns/parse/_lib/Setter.js +40 -0
  127. package/dist/node_modules/date-fns/parse/_lib/constants.cjs +1 -0
  128. package/dist/node_modules/date-fns/parse/_lib/constants.js +49 -0
  129. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.cjs +1 -0
  130. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMMidnightParser.js +49 -0
  131. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.cjs +1 -0
  132. package/dist/node_modules/date-fns/parse/_lib/parsers/AMPMParser.js +49 -0
  133. package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.cjs +1 -0
  134. package/dist/node_modules/date-fns/parse/_lib/parsers/DateParser.js +61 -0
  135. package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.cjs +1 -0
  136. package/dist/node_modules/date-fns/parse/_lib/parsers/DayOfYearParser.js +51 -0
  137. package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.cjs +1 -0
  138. package/dist/node_modules/date-fns/parse/_lib/parsers/DayParser.js +45 -0
  139. package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.cjs +1 -0
  140. package/dist/node_modules/date-fns/parse/_lib/parsers/DayPeriodParser.js +49 -0
  141. package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.cjs +1 -0
  142. package/dist/node_modules/date-fns/parse/_lib/parsers/EraParser.js +30 -0
  143. package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.cjs +1 -0
  144. package/dist/node_modules/date-fns/parse/_lib/parsers/ExtendedYearParser.js +21 -0
  145. package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.cjs +1 -0
  146. package/dist/node_modules/date-fns/parse/_lib/parsers/FractionOfSecondParser.js +22 -0
  147. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.cjs +1 -0
  148. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0To11Parser.js +32 -0
  149. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.cjs +1 -0
  150. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour0to23Parser.js +32 -0
  151. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.cjs +1 -0
  152. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1To24Parser.js +33 -0
  153. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.cjs +1 -0
  154. package/dist/node_modules/date-fns/parse/_lib/parsers/Hour1to12Parser.js +33 -0
  155. package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.cjs +1 -0
  156. package/dist/node_modules/date-fns/parse/_lib/parsers/ISODayParser.js +99 -0
  157. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.cjs +1 -0
  158. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneParser.js +48 -0
  159. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.cjs +1 -0
  160. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOTimezoneWithZParser.js +48 -0
  161. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.cjs +1 -0
  162. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekParser.js +49 -0
  163. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.cjs +1 -0
  164. package/dist/node_modules/date-fns/parse/_lib/parsers/ISOWeekYearParser.js +40 -0
  165. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.cjs +1 -0
  166. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalDayParser.js +74 -0
  167. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.cjs +1 -0
  168. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekParser.js +48 -0
  169. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.cjs +1 -0
  170. package/dist/node_modules/date-fns/parse/_lib/parsers/LocalWeekYearParser.js +69 -0
  171. package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.cjs +1 -0
  172. package/dist/node_modules/date-fns/parse/_lib/parsers/MinuteParser.js +32 -0
  173. package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.cjs +1 -0
  174. package/dist/node_modules/date-fns/parse/_lib/parsers/MonthParser.js +71 -0
  175. package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.cjs +1 -0
  176. package/dist/node_modules/date-fns/parse/_lib/parsers/QuarterParser.js +70 -0
  177. package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.cjs +1 -0
  178. package/dist/node_modules/date-fns/parse/_lib/parsers/SecondParser.js +32 -0
  179. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.cjs +1 -0
  180. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneLocalDayParser.js +74 -0
  181. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.cjs +1 -0
  182. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneMonthParser.js +71 -0
  183. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.cjs +1 -0
  184. package/dist/node_modules/date-fns/parse/_lib/parsers/StandAloneQuarterParser.js +70 -0
  185. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.cjs +1 -0
  186. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampMillisecondsParser.js +22 -0
  187. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.cjs +1 -0
  188. package/dist/node_modules/date-fns/parse/_lib/parsers/TimestampSecondsParser.js +22 -0
  189. package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.cjs +1 -0
  190. package/dist/node_modules/date-fns/parse/_lib/parsers/YearParser.js +49 -0
  191. package/dist/node_modules/date-fns/parse/_lib/parsers.cjs +1 -0
  192. package/dist/node_modules/date-fns/parse/_lib/parsers.js +67 -0
  193. package/dist/node_modules/date-fns/parse/_lib/utils.cjs +1 -0
  194. package/dist/node_modules/date-fns/parse/_lib/utils.js +103 -0
  195. package/dist/node_modules/date-fns/parse.cjs +1 -0
  196. package/dist/node_modules/date-fns/parse.js +90 -0
  197. package/dist/node_modules/date-fns/set.cjs +1 -0
  198. package/dist/node_modules/date-fns/set.js +11 -0
  199. package/dist/node_modules/date-fns/setDay.cjs +1 -0
  200. package/dist/node_modules/date-fns/setDay.js +12 -0
  201. package/dist/node_modules/date-fns/setHours.cjs +1 -0
  202. package/dist/node_modules/date-fns/setHours.js +9 -0
  203. package/dist/node_modules/date-fns/setISODay.cjs +1 -0
  204. package/dist/node_modules/date-fns/setISODay.js +11 -0
  205. package/dist/node_modules/date-fns/setISOWeek.cjs +1 -0
  206. package/dist/node_modules/date-fns/setISOWeek.js +10 -0
  207. package/dist/node_modules/date-fns/setMilliseconds.cjs +1 -0
  208. package/dist/node_modules/date-fns/setMilliseconds.js +9 -0
  209. package/dist/node_modules/date-fns/setMinutes.cjs +1 -0
  210. package/dist/node_modules/date-fns/setMinutes.js +9 -0
  211. package/dist/node_modules/date-fns/setMonth.cjs +1 -0
  212. package/dist/node_modules/date-fns/setMonth.js +13 -0
  213. package/dist/node_modules/date-fns/setSeconds.cjs +1 -0
  214. package/dist/node_modules/date-fns/setSeconds.js +9 -0
  215. package/dist/node_modules/date-fns/setWeek.cjs +1 -0
  216. package/dist/node_modules/date-fns/setWeek.js +10 -0
  217. package/dist/node_modules/date-fns/setYear.cjs +1 -0
  218. package/dist/node_modules/date-fns/setYear.js +10 -0
  219. package/dist/node_modules/date-fns/startOfDay.cjs +1 -0
  220. package/dist/node_modules/date-fns/startOfDay.js +9 -0
  221. package/dist/node_modules/date-fns/startOfISOWeek.cjs +1 -0
  222. package/dist/node_modules/date-fns/startOfISOWeek.js +8 -0
  223. package/dist/node_modules/date-fns/startOfISOWeekYear.cjs +1 -0
  224. package/dist/node_modules/date-fns/startOfISOWeekYear.js +11 -0
  225. package/dist/node_modules/date-fns/startOfMonth.cjs +1 -0
  226. package/dist/node_modules/date-fns/startOfMonth.js +9 -0
  227. package/dist/node_modules/date-fns/startOfQuarter.cjs +1 -0
  228. package/dist/node_modules/date-fns/startOfQuarter.js +9 -0
  229. package/dist/node_modules/date-fns/startOfWeek.cjs +1 -0
  230. package/dist/node_modules/date-fns/startOfWeek.js +11 -0
  231. package/dist/node_modules/date-fns/startOfWeekYear.cjs +1 -0
  232. package/dist/node_modules/date-fns/startOfWeekYear.js +13 -0
  233. package/dist/node_modules/date-fns/startOfYear.cjs +1 -0
  234. package/dist/node_modules/date-fns/startOfYear.js +10 -0
  235. package/dist/node_modules/date-fns/sub.cjs +1 -0
  236. package/dist/node_modules/date-fns/sub.js +19 -0
  237. package/dist/node_modules/date-fns/subDays.cjs +1 -0
  238. package/dist/node_modules/date-fns/subDays.js +8 -0
  239. package/dist/node_modules/date-fns/subMonths.cjs +1 -0
  240. package/dist/node_modules/date-fns/subMonths.js +8 -0
  241. package/dist/node_modules/date-fns/subYears.cjs +1 -0
  242. package/dist/node_modules/date-fns/subYears.js +8 -0
  243. package/dist/node_modules/date-fns/toDate.cjs +1 -0
  244. package/dist/node_modules/date-fns/toDate.js +8 -0
  245. package/dist/node_modules/date-fns/transpose.cjs +1 -0
  246. package/dist/node_modules/date-fns/transpose.js +18 -0
  247. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -1
  248. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +629 -622
  249. package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +1 -1
  250. package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js +19 -17
  251. package/dist/node_modules/qrcode/lib/core/byte-data.cjs +1 -1
  252. package/dist/node_modules/qrcode/lib/core/byte-data.js +6 -7
  253. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +1 -1
  254. package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +3 -3
  255. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
  256. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3356 -3363
  257. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
  258. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
  259. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +16 -15
  261. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/components/PhotoViewer/PhotoViewer.vue.js +13 -12
  263. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +12 -11
  265. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/auth/views/components/pages/SignIn.vue.js +6 -5
  267. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +10 -9
  269. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +11 -9
  271. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +8 -7
  273. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +17 -17
  275. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +5 -3
  277. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +17 -16
  279. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  280. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +15 -14
  281. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue.js +11 -8
  283. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/events/components/sections/SectionPreviousEvents.vue.js +7 -6
  285. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/events/components/sections/SectionSpecialGuests.vue.js +9 -8
  287. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +5 -4
  289. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +25 -23
  291. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/globals/views/components/blocks/CardHeader.vue.js +22 -20
  293. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/App.vue.js +87 -93
  295. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.cjs +1 -1
  296. package/dist/prometheus-framework/src/modules/globals/views/components/layouts/Client.vue.js +142 -73
  297. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.cjs +1 -0
  298. package/dist/prometheus-framework/src/modules/globals/views/components/partials/NavigationBar.vue.js +110 -0
  299. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +8 -7
  301. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +2 -2
  303. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +19 -18
  305. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +127 -135
  307. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +2 -4
  309. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -0
  311. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue.js +5 -5
  313. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +75 -69
  315. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +1 -0
  317. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +9 -9
  319. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +1 -0
  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 +28 -27
  323. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +13 -12
  325. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue.js +3 -2
  327. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  328. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -0
  329. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.cjs +1 -1
  330. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.js +1 -1
  331. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.cjs +1 -1
  332. package/dist/prometheus-framework/src/modules/users/components/blocks/CardUser.vue.js +3 -2
  333. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  334. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +7 -6
  335. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +1 -1
  336. package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +12 -9
  337. package/dist/prometheus-framework.cjs.js +27 -27
  338. package/dist/prometheus-framework.es.js +3819 -3782
  339. package/dist/style.css +1 -1
  340. package/dist/tickets.controller-CB549rZT.mjs +402 -0
  341. package/dist/tickets.controller-yqXXLR62.js +401 -0
  342. package/dist/wallet.server.js +1 -1
  343. package/dist/wallet.server.mjs +1 -1
  344. package/package.json +24 -25
  345. package/src/builder/webpack/webpack.config.base.js +2 -2
  346. package/src/builder/webpack/webpack.config.client.js +1 -1
  347. package/src/builder/webpack/webpack.config.spa.js +0 -6
  348. package/src/components/AskToLogin/AskToLogin.vue +1 -1
  349. package/src/components/EditImages/EditImages.vue +1 -1
  350. package/src/components/Error/Error.vue +1 -1
  351. package/src/components/PhotoViewer/PhotoViewer.vue +1 -1
  352. package/src/components/UploadImage/UploadImage.vue +1 -1
  353. package/src/modules/auth/views/components/pages/EnterCode.vue +1 -1
  354. package/src/modules/auth/views/components/pages/EnterPassword.vue +1 -1
  355. package/src/modules/auth/views/components/pages/ResetPassword.vue +1 -1
  356. package/src/modules/auth/views/components/pages/SignIn.vue +1 -1
  357. package/src/modules/auth/views/components/pages/SignUp.vue +1 -1
  358. package/src/modules/backoffice/components/admin/FastOrders.vue +1 -1
  359. package/src/modules/chats/components/blocks/ChatMessage.vue +1 -1
  360. package/src/modules/community/components/blocks/CardBlogpost.vue +1 -1
  361. package/src/modules/constructor/components/elements/Image.vue +2 -2
  362. package/src/modules/constructor/components/elements/ImageUpload.vue +1 -1
  363. package/src/modules/events/components/blocks/CardEvent.vue +2 -2
  364. package/src/modules/events/components/pages/EditEvent.vue +12 -1
  365. package/src/modules/events/components/pages/EditEventTickets.vue +1 -1
  366. package/src/modules/events/components/pages/Event.vue +1 -1
  367. package/src/modules/events/components/sections/HeroEvent.vue +4 -4
  368. package/src/modules/events/components/sections/SectionPreviousEvents.vue +1 -1
  369. package/src/modules/events/components/sections/SectionSpecialGuests.vue +1 -1
  370. package/src/modules/events/controllers/utils/templateEmail.js +1 -1
  371. package/src/modules/events/controllers/utils/templateTicket.js +1 -1
  372. package/src/modules/gallery/components/pages/Gallery.vue +1 -1
  373. package/src/modules/gallery/components/sections/BackofficeGallery.vue +2 -2
  374. package/src/modules/globals/views/components/blocks/CardHeader.vue +2 -2
  375. package/src/modules/globals/views/components/layouts/App.vue +15 -39
  376. package/src/modules/globals/views/components/layouts/Client.vue +89 -45
  377. package/src/modules/globals/views/components/partials/Footer.vue +7 -7
  378. package/src/modules/globals/views/components/partials/NavigationBar.vue +39 -16
  379. package/src/modules/globals/views/components/sections/Walkthrough.vue +2 -2
  380. package/src/modules/landing/components/sections/Examples.vue +1 -1
  381. package/src/modules/landing/components/sections/HowItWorksSection.vue +3 -3
  382. package/src/modules/landing/components/sections/HowToBuyWDR.vue +1 -1
  383. package/src/modules/landing/components/sections/InstagramSection.vue +2 -2
  384. package/src/modules/landing/components/sections/MobileApp.vue +1 -1
  385. package/src/modules/landing/components/sections/SectionEarn.vue +2 -2
  386. package/src/modules/landing/components/sections/SectionFeature.vue +1 -1
  387. package/src/modules/landing/components/sections/SectionFeaturesImages.vue +1 -1
  388. package/src/modules/landing/components/sections/SectionHeroToken.vue +1 -1
  389. package/src/modules/landing/components/sections/SectionsSection.vue +4 -4
  390. package/src/modules/landing/components/sections/WhatIsWDRSection.vue +3 -3
  391. package/src/modules/landing/router/landing.js +1 -1
  392. package/src/modules/orders/components/blocks/CardOrder.vue +7 -7
  393. package/src/modules/orders/components/blocks/CardOrderItem.vue +1 -1
  394. package/src/modules/orders/components/blocks/CardOrderVar1.vue +1 -1
  395. package/src/modules/orders/components/pages/OrderBackoffice.vue +3 -4
  396. package/src/modules/orders/components/pages/Orders.vue +0 -3
  397. package/src/modules/orders/components/pages/Orders_refact.vue +7 -7
  398. package/src/modules/orders/components/sections/AskToLogin.vue +1 -1
  399. package/src/modules/organizations/components/blocks/CardOrganization.vue +2 -2
  400. package/src/modules/organizations/components/blocks/Contacts.vue +4 -4
  401. package/src/modules/organizations/components/blocks/DepartmentSub.vue +1 -1
  402. package/src/modules/organizations/components/pages/Organization.vue +3 -3
  403. package/src/modules/organizations/components/sections/DetailsTab.vue +1 -1
  404. package/src/modules/products/components/blocks/CardLeftover.vue +1 -1
  405. package/src/modules/products/components/blocks/CardProduct.vue +1 -1
  406. package/src/modules/products/components/blocks/EditFilters.vue +1 -1
  407. package/src/modules/products/components/blocks/Images360.vue +1 -1
  408. package/src/modules/products/components/blocks/ImagesThumbnails.vue +1 -1
  409. package/src/modules/products/components/sections/HeroRecommendation.vue +1 -1
  410. package/src/modules/products/components/sections/MenuSection.vue +1 -1
  411. package/src/modules/products/components/sections/ProductInformationSection.vue +5 -5
  412. package/src/modules/products/components/sections/SectionProduct.vue +1 -1
  413. package/src/modules/spots/components/blocks/SpotSub.vue +1 -1
  414. package/src/modules/users/components/blocks/CardUser.vue +1 -1
  415. package/src/modules/users/components/pages/Profile.vue +1 -1
  416. package/src/modules/wallet/views/components/elements/ConnectMetamask.vue +3 -3
  417. package/src/modules/wallet/views/components/pages/Wallet.vue +4 -4
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("../../../../components/Chips/Chips.vue.cjs"),y=require("../../../icons/navigation/IconEdit.vue.cjs"),C=require("../../../globals/views/components/blocks/CardHeader.vue.cjs");require("../../../community/store/reactions.cjs");const k=require("vue-router"),p={key:0,class:"o-hidden pos-relative bg-light mn-b-small w-100"},E=["src"],T=["src"],w={class:"w-max mn-r-thin pd-thin radius-small t-semi bg-main"},b={class:"t-semi"},B={key:0,class:"t-semi"},D={key:0,class:"t-semi uppercase"},U={key:1,class:"cursor-pointer mn-b-thin flex-nowrap flex w-100"},N={key:0,class:""},V={key:1,class:"pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"},S={key:2,class:"mn-b-small p-big"},x={__name:"CardEvent",props:["event","user","short","type"],setup(t){e.ref(new Date),k.useRouter();const o=t;e.computed(()=>o.event.content.find(n=>n.type.name==="ImageUpload")),e.computed(()=>o.event.content.find(n=>n.type.name==="Textarea"));const u=e.computed(()=>{const n=new Date,s=Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds()),r=new Date(o.event.date.start),a=Date.UTC(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds())-s;if(a<0)return"Finished";if(a===0)return"Starting Now";{const d=Math.floor(a/1e3),l=Math.floor(d/60),i=Math.floor(l/60),m=Math.floor(i/24);return m>0?`${m} days until event`:i>0?`${i} hours until event`:l>0?`${l} minutes until event`:`${d} seconds until event`}}),v=e.computed(()=>{const n=new Date(o.event.date.start),s={day:"2-digit",month:"2-digit"};return n.toLocaleDateString(void 0,s)}),h=e.computed(()=>{console.log(o.event.date.start),console.log(o.event.date.end);const n=new Date(o.event.date.start),s=new Date(o.event.date.end),r=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(n),c=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(s);return`${r}-${c}`}),f=e.computed(()=>{const n=o.event.name;return n.length>26?`${n.substring(0,22)}…`:n});return(n,s)=>(e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass([{"flex-nowrap flex-v-center flex":t.type==="short"},"pos-relative"])},[e.createVNode(C.default,{class:e.normalizeClass({"mn-b-small pd-medium":t.type!=="short","flex-child-order-last flex-child mn-l-small":t.type==="short"}),entity:t.event,entityType:"event",user:t.user,owner:t.event.owner,creator:t.event.creator,members:t.event.numberOfTickets,membersPhotos:t.event.participantsPhotos,type:t.type,dateFormatted:u.value},null,8,["class","entity","user","owner","creator","members","membersPhotos","type","dateFormatted"]),t.event.cover&&t.type!=="short"?(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("img",{src:(n.FILE_SERVER_URL||"")+t.event.cover,alt:"Event image",class:"pos-relative z-index-1 d-block mn-auto h-20r"},null,8,E),e.createElementVNode("img",{src:(n.FILE_SERVER_URL||"")+t.event.cover,alt:"Event Background",class:"z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0",style:{transform:"scale(1.5)",filter:"blur(2rem)","-webkit-filter":"blur(2rem)"}},null,8,T)])):e.createCommentVNode("",!0),e.createElementVNode("section",{class:e.normalizeClass(["pos-relative w-100",{"pd-t-zero pd-medium":t.type!=="short"}])},[t.user===t.event.creator.target._id?(e.openBlock(),e.createBlock(y.default,{key:0,onClick:s[0]||(s[0]=e.withModifiers(r=>n.$router.push({name:"Edit Event",params:{url:t.event.url}}),["stop"])),class:"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([{"mn-b-small":t.type!=="short"},"flex-v-center flex-nowrap flex"])},[e.createElementVNode("div",w,[e.createElementVNode("span",b,e.toDisplayString(v.value),1),t.type!=="short"?(e.openBlock(),e.createElementBlock("span",B," | "+e.toDisplayString(h.value),1)):e.createCommentVNode("",!0)]),t.type==="short"?(e.openBlock(),e.createElementBlock("span",D,e.toDisplayString(f.value),1)):e.createCommentVNode("",!0)],2),t.type!=="short"?(e.openBlock(),e.createElementBlock("div",U,[t.type!=="short"?(e.openBlock(),e.createElementBlock("h3",N,e.toDisplayString(t.event.name),1)):e.createCommentVNode("",!0),t.event.status==="draft"?(e.openBlock(),e.createElementBlock("div",V,e.toDisplayString(t.event.status),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("p",S,e.toDisplayString(t.event.description),1)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default"),t.type!=="short"&&t.event.tags.length>0?(e.openBlock(),e.createBlock(g.default,{key:3,chips:t.event.tags},null,8,["chips"])):e.createCommentVNode("",!0)],2)],2))}};exports.default=x;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),g=require("../../../../components/Chips/Chips.vue.cjs"),y=require("../../../icons/navigation/IconEdit.vue.cjs"),C=require("../../../globals/views/components/blocks/CardHeader.vue.cjs");require("../../../community/store/reactions.cjs");const k=require("vue-router"),p={key:0,class:"o-hidden pos-relative bg-light mn-b-small w-100"},E=["src"],T=["src"],w={class:"w-max mn-r-thin pd-thin radius-small t-semi bg-main"},b={class:"t-semi"},B={key:0,class:"t-semi"},D={key:0,class:"t-semi uppercase"},U={key:1,class:"cursor-pointer mn-b-thin flex-nowrap flex w-100"},N={key:0,class:""},V={key:1,class:"pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"},S={key:2,class:"mn-b-small p-big"},x={__name:"CardEvent",props:["event","user","short","type"],setup(t){e.ref(new Date),k.useRouter();const o=t;e.computed(()=>o.event.content.find(n=>n.type.name==="ImageUpload")),e.computed(()=>o.event.content.find(n=>n.type.name==="Textarea"));const u=e.computed(()=>{const n=new Date,s=Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds()),r=new Date(o.event.date.start),a=Date.UTC(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds())-s;if(a<0)return"Finished";if(a===0)return"Starting Now";{const d=Math.floor(a/1e3),l=Math.floor(d/60),i=Math.floor(l/60),m=Math.floor(i/24);return m>0?`${m} days until event`:i>0?`${i} hours until event`:l>0?`${l} minutes until event`:`${d} seconds until event`}}),v=e.computed(()=>{const n=new Date(o.event.date.start),s={day:"2-digit",month:"2-digit"};return n.toLocaleDateString(void 0,s)}),h=e.computed(()=>{console.log(o.event.date.start),console.log(o.event.date.end);const n=new Date(o.event.date.start),s=new Date(o.event.date.end),r=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(n),c=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(s);return`${r}-${c}`}),f=e.computed(()=>{const n=o.event.name;return n.length>26?`${n.substring(0,22)}…`:n});return(n,s)=>(e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass([{"flex-nowrap flex-v-center flex":t.type==="short"},"pos-relative"])},[e.createVNode(C.default,{class:e.normalizeClass({"mn-b-small pd-medium":t.type!=="short","flex-child-order-last flex-child mn-l-small":t.type==="short"}),entity:t.event,entityType:"event",user:t.user,owner:t.event.owner,creator:t.event.creator,members:t.event.numberOfTickets,membersPhotos:t.event.participantsPhotos,type:t.type,dateFormatted:u.value},null,8,["class","entity","user","owner","creator","members","membersPhotos","type","dateFormatted"]),t.event.cover&&t.type!=="short"?(e.openBlock(),e.createElementBlock("div",p,[e.createElementVNode("img",{loading:"lazy",src:(n.FILE_SERVER_URL||"")+t.event.cover,alt:"Event image",class:"pos-relative z-index-1 d-block mn-auto h-20r"},null,8,E),e.createElementVNode("img",{loading:"lazy",src:(n.FILE_SERVER_URL||"")+t.event.cover,alt:"Event Background",class:"z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0",style:{transform:"scale(1.5)",filter:"blur(2rem)","-webkit-filter":"blur(2rem)"}},null,8,T)])):e.createCommentVNode("",!0),e.createElementVNode("section",{class:e.normalizeClass(["pos-relative w-100",{"pd-t-zero pd-medium":t.type!=="short"}])},[t.user===t.event.creator.target._id?(e.openBlock(),e.createBlock(y.default,{key:0,onClick:s[0]||(s[0]=e.withModifiers(r=>n.$router.push({name:"Edit Event",params:{url:t.event.url}}),["stop"])),class:"z-index-2 pos-absolute pos-t-regular pos-r-regular i-regular t-transp"})):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass([{"mn-b-small":t.type!=="short"},"flex-v-center flex-nowrap flex"])},[e.createElementVNode("div",w,[e.createElementVNode("span",b,e.toDisplayString(v.value),1),t.type!=="short"?(e.openBlock(),e.createElementBlock("span",B," | "+e.toDisplayString(h.value),1)):e.createCommentVNode("",!0)]),t.type==="short"?(e.openBlock(),e.createElementBlock("span",D,e.toDisplayString(f.value),1)):e.createCommentVNode("",!0)],2),t.type!=="short"?(e.openBlock(),e.createElementBlock("div",U,[t.type!=="short"?(e.openBlock(),e.createElementBlock("h3",N,e.toDisplayString(t.event.name),1)):e.createCommentVNode("",!0),t.event.status==="draft"?(e.openBlock(),e.createElementBlock("div",V,e.toDisplayString(t.event.status),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("p",S,e.toDisplayString(t.event.description),1)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default"),t.type!=="short"&&t.event.tags.length>0?(e.openBlock(),e.createBlock(g.default,{key:3,chips:t.event.tags},null,8,["chips"])):e.createCommentVNode("",!0)],2)],2))}};exports.default=x;
@@ -7,7 +7,7 @@ import { useRouter as M } from "vue-router";
7
7
  const F = {
8
8
  key: 0,
9
9
  class: "o-hidden pos-relative bg-light mn-b-small w-100"
10
- }, S = ["src"], R = ["src"], N = { class: "w-max mn-r-thin pd-thin radius-small t-semi bg-main" }, z = { class: "t-semi" }, L = {
10
+ }, S = ["src"], R = ["src"], z = { class: "w-max mn-r-thin pd-thin radius-small t-semi bg-main" }, N = { class: "t-semi" }, L = {
11
11
  key: 0,
12
12
  class: "t-semi"
13
13
  }, V = {
@@ -75,11 +75,13 @@ const F = {
75
75
  }, null, 8, ["class", "entity", "user", "owner", "creator", "members", "membersPhotos", "type", "dateFormatted"]),
76
76
  e.event.cover && e.type !== "short" ? (n(), i("div", F, [
77
77
  c("img", {
78
+ loading: "lazy",
78
79
  src: (t.FILE_SERVER_URL || "") + e.event.cover,
79
80
  alt: "Event image",
80
81
  class: "pos-relative z-index-1 d-block mn-auto h-20r"
81
82
  }, null, 8, S),
82
83
  c("img", {
84
+ loading: "lazy",
83
85
  src: (t.FILE_SERVER_URL || "") + e.event.cover,
84
86
  alt: "Event Background",
85
87
  class: "z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0",
@@ -102,8 +104,8 @@ const F = {
102
104
  c("div", {
103
105
  class: m([{ "mn-b-small": e.type !== "short" }, "flex-v-center flex-nowrap flex"])
104
106
  }, [
105
- c("div", N, [
106
- c("span", z, d(C.value), 1),
107
+ c("div", z, [
108
+ c("span", N, d(C.value), 1),
107
109
  e.type !== "short" ? (n(), i("span", L, " | " + d(b.value), 1)) : a("", !0)
108
110
  ]),
109
111
  e.type === "short" ? (n(), i("span", V, d(U.value), 1)) : a("", !0)
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("isomorphic-dompurify");;/* empty css */const B=require("../../../constructor/components/sections/Constructor.vue.cjs"),T=require("../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs");;/* empty css */const k=require("../../../../components/Block/Block.vue.cjs"),C=require("../../../../components/Popup/Popup.vue2.cjs"),i=require("../../../../components/Field/Field.vue2.cjs"),P=require("../../../../components/FieldTags/BlockTags.vue.cjs"),V=require("../../../../components/Checkbox/Checkbox.vue.cjs"),_=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),f=require("../../../../components/Upload/Upload.vue.cjs"),h=require("../../../../components/UploadImage/UploadImage.vue.cjs"),q=require("../../../../components/EditImages/EditImages.vue.cjs"),L=require("../../../../components/Button/Button.vue2.cjs"),N=require("../../../icons/navigation/IconDelete.vue.cjs"),D=require("vue-router"),u=require("../../store/events.cjs"),n=require("../../../auth/views/store/auth.cjs"),M=require("../../../organizations/store/organizations.cjs");;/* empty css */const O={key:0,class:"h-min-100 pd-thin"},R={class:"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex"},S=e.createElementVNode("h4",null,"Upload Event Cover",-1),F={key:0,class:"mn-b-small"},G={key:2,class:"mn-b-small"},I={key:4,class:"mn-b-semi"},A=e.createElementVNode("h4",{class:"mn-b-thin"}," Hero Section ",-1),z=e.createElementVNode("h5",{class:"mn-b-thin"}," Video in Hero Section ",-1),H=e.createElementVNode("p",null,"Need to upload in webm format because of needs of optimization",-1),$=e.createElementVNode("h5",{class:"mn-b-thin"}," Ticket ",-1),Y={class:"mn-b-small gap-small cols-2-fit-content"},j={class:"gap-thin flex-nowrap flex w-100"},J=e.createElementVNode("hr",{class:"bg-black-transp-10 mn-b-semi mn-t-semi d-block"},null,-1),K=e.createElementVNode("h4",{class:"mn-b-thin"}," Guest Section ",-1),Q={class:"gap-thin cols-3"},W=e.createElementVNode("h5",{class:"mn-b-thin"}," Video in Guests Section ",-1),X={class:"gap-thin flex-nowrap flex w-100"},Z={class:"w-100"},ee={class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red"},te=e.createElementVNode("hr",{class:"bg-black-transp-10 mn-b-semi mn-t-semi d-block"},null,-1),le=e.createElementVNode("h4",{class:"mn-b-thin"}," Lineup Section ",-1),ae={class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red"},se=e.createElementVNode("h5",{class:"mn-b-thin"}," Background in Lineup Section ",-1),ie=e.createElementVNode("hr",{class:"bg-black-transp-10 mn-b-semi mn-t-semi d-block"},null,-1),ne=e.createElementVNode("h4",{class:"mn-b-thin"}," Previous Party Section ",-1),oe=e.createElementVNode("h5",{class:"mn-b-thin"}," Video in Previous Partys Section ",-1),de=e.createElementVNode("h3",{class:"mn-b-small"},"Date",-1),re=e.createElementVNode("h3",{class:"mn-b-small"},"Description",-1),ue={key:5,class:"pd-b-extra w-100 bg-light pd-big radius-big"},ce={key:6,class:"pd-thin pos-sticky pos-l-0 pos-b-0 w-100"},pe={class:"pd-thin radius-big bg-main w-100 flex-nowrap flex"},me=e.createElementVNode("h3",{class:"mn-b-small"},"Final Touches",-1),fe=e.createElementVNode("h5",{class:"mn-b-thin"},"Add to public:",-1),ge={key:0,class:"mn-b-thin"},he={key:1,class:"mn-b-medium br-grey-transp-25 br-2px br-solid pd-small radius-big"},be={__name:"EditEvent",setup(ve){const p=D.useRoute(),m=D.useRouter();let t=e.ref(null),b=e.ref(null);const v=e.ref([]),o=e.ref(null),d=e.ref(new Date);e.onMounted(async()=>{if(p.params.url){const a=await u.read({user:n.state.user._id,url:p.params.url});t.value=a.pop(),console.log(t.value);const l=t.value.date.start,c=t.value.date.end;d.value=[l,c]}else{u.clean(),t.value=u.state.current;const a=new Date,l=new Date;d.value=[a,l]}t.value.owner||(t.value.owner={target:n.state.user._id,type:"user"}),t.value.creator||(t.value.creator={target:n.state.user._id,type:"user",hidden:!1}),t.value.owner.type==="organization"&&(o.value={_id:t.value.owner.target._id,name:t.value.owner.target.profile.name,photo:t.value.owner.target.profile.photo});const s=await M.actions.read({user:n.state.user._id,postable:n.state.user._id,limit:100});b.value=s.map(a=>({name:a.profile.name,_id:a._id,photo:a.profile.photo}))});const g=e.ref(!1);function w(){g.value=!0}function E(){g.value=!1}function U(){v.value.length>0&&v.value.map(s=>s.text),t.value.status="draft",t.value.date={start:d.value[0],end:d.value[1]},p.params.url?u.update(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.error(s)}):u.create(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.error(s)})}function x(){o.value&&(t.value.owner={target:o.value._id,type:"organization"}),o.value||(t.value.creator.hidden=!1),o.value||(t.value.organization=t.value.creator),t.value.status="published",t.value.date={start:d.value[0],end:d.value[1]},console.log(d.value),p.params.url?(console.log(t.value),u.update(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.log(s)})):u.create(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.log(s)})}function y(){confirm("Are you sure you want to delete this event?")&&u.remove(t.value._id).then(s=>{m.push({name:"User Events",params:{_id:t.value.creator.target._id}})}).catch(s=>{console.error(s)})}return(s,a)=>e.unref(t)?(e.openBlock(),e.createElementBlock("article",O,[e.createElementVNode("div",R,[e.createVNode(h.default,{photo:e.unref(t).cover,"onUpdate:photo":a[0]||(a[0]=l=>e.unref(t).cover=l),uploadPath:"specials",class:"h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra"},null,8,["photo"]),S]),e.createVNode(i.default,{field:e.unref(t).name,"onUpdate:field":a[1]||(a[1]=l=>e.unref(t).name=l),placeholder:"Event name",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).description,"onUpdate:field":a[2]||(a[2]=l=>e.unref(t).description=l),type:"textfield",placeholder:"Enter short description",class:"mn-b-semi w-100 bg-light pd-medium radius-small"},null,8,["field"]),n.state.access.roles&&(n.state.access.roles.includes("ROLE_MODERATOR")||n.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createElementBlock("h3",F," Tickets ")):e.createCommentVNode("",!0),n.state.access.roles&&(n.state.access.roles.includes("ROLE_MODERATOR")||n.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createElementBlock("div",{key:1,class:"mn-b-semi w-100 bg-light pd-medium radius-small",onClick:a[3]||(a[3]=l=>e.unref(m).push({name:"Edit Event Tickets",params:{url:e.unref(p).params.url}}))}," Edit tickets ")):e.createCommentVNode("",!0),n.state.access.roles&&(n.state.access.roles.includes("ROLE_MODERATOR")||n.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createElementBlock("h3",G," Special Details ")):e.createCommentVNode("",!0),n.state.access.roles&&(n.state.access.roles.includes("ROLE_MODERATOR")||n.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createBlock(V.default,{key:3,label:"Special",radio:e.unref(t).special,"onUpdate:radio":a[4]||(a[4]=l=>e.unref(t).special=!e.unref(t).special),class:"mn-b-semi w-100 bg-black t-white pd-medium radius-small"},null,8,["radio"])):e.createCommentVNode("",!0),e.unref(t).special?(e.openBlock(),e.createElementBlock("div",I,[A,e.createVNode(i.default,{field:e.unref(t).specialData.subtitle,"onUpdate:field":a[5]||(a[5]=l=>e.unref(t).specialData.subtitle=l),placeholder:"Event subtitle",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(q.default,{images:e.unref(t).specialData.logos,uploadPath:"/specials",text:{title:"Drag & Drop Your Logos Here",subtitle:"Files supported: JPG, PNG, GIF"},options:{showTitle:!0,showText:!1},"onUpdate:images":a[6]||(a[6]=l=>e.unref(t).specialData.logos=l),class:"mn-b-thin bg-light radius-small"},null,8,["images"]),z,H,e.createVNode(f.default,{field:e.unref(t).specialData.video,"onUpdate:field":a[7]||(a[7]=l=>e.unref(t).specialData.video=l),placeholder:"Upload video",onFileChange:a[8]||(a[8]=l=>e.unref(t).specialData.video=l),uploadPath:"specials",type:"file",class:"mn-b-thin w-100 bg-light pd-medium radius-small t-black"},null,8,["field"]),$,e.createElementVNode("div",Y,[e.createVNode(h.default,{photo:e.unref(t).specialData.ticketImage,"onUpdate:photo":a[9]||(a[9]=l=>e.unref(t).specialData.ticketImage=l),uploadPath:"/specials",class:"aspect-1x1 w-4r o-hidden radius-extra"},null,8,["photo"]),e.createElementVNode("div",j,[e.createVNode(i.default,{field:e.unref(t).specialData.ticketPrice,"onUpdate:field":a[10]||(a[10]=l=>e.unref(t).specialData.ticketPrice=l),type:"number",placeholder:"Ticket price in baht",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.ticketText,"onUpdate:field":a[11]||(a[11]=l=>e.unref(t).specialData.ticketText=l),placeholder:"Promotion text for ticket in hero ",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.ticketTextButton,"onUpdate:field":a[12]||(a[12]=l=>e.unref(t).specialData.ticketTextButton=l),placeholder:"Text on 'Buy Ticket' button ",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"])])]),J,K,e.createVNode(i.default,{field:e.unref(t).specialData.guestTitle,"onUpdate:field":a[13]||(a[13]=l=>e.unref(t).specialData.guestTitle=l),placeholder:"Title for Main Guest section",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestDescription,"onUpdate:field":a[14]||(a[14]=l=>e.unref(t).specialData.guestDescription=l),placeholder:"Description for Main Guest section",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createElementVNode("div",Q,[e.createVNode(i.default,{field:e.unref(t).specialData.guestFacebook,"onUpdate:field":a[15]||(a[15]=l=>e.unref(t).specialData.guestFacebook=l),placeholder:"Facebook of Main Guest",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestInstagram,"onUpdate:field":a[16]||(a[16]=l=>e.unref(t).specialData.guestInstagram=l),placeholder:"Instagram of Main Guest",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestTwitter,"onUpdate:field":a[17]||(a[17]=l=>e.unref(t).specialData.guestTwitter=l),placeholder:"Twitter of Main Guest",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestTelegram,"onUpdate:field":a[18]||(a[18]=l=>e.unref(t).specialData.guestTelegram=l),placeholder:"Telegram of Main Guest",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestSoundcloud,"onUpdate:field":a[19]||(a[19]=l=>e.unref(t).specialData.guestSoundcloud=l),placeholder:"Link to Main Guest soundcloud track",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestSpotify,"onUpdate:field":a[20]||(a[20]=l=>e.unref(t).specialData.guestSpotify=l),placeholder:"Link to Main guest spotify track",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestYoutube,"onUpdate:field":a[21]||(a[21]=l=>e.unref(t).specialData.guestYoutube=l),placeholder:"Link to Main guest youtube video",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"])]),W,e.createVNode(f.default,{field:e.unref(t).specialData.guestVideo,"onUpdate:field":a[22]||(a[22]=l=>e.unref(t).specialData.guestVideo=l),placeholder:"Upload video",onFileChange:a[23]||(a[23]=l=>e.unref(t).specialData.guestVideo=l),uploadPath:"/specials",type:"file",class:"mn-b-thin w-100 bg-light pd-medium radius-small t-black"},null,8,["field"]),e.createVNode(k.default,{title:"Guests",placeholder:"No guests added yet",actions:[{label:"+",function:()=>e.unref(t).specialData.guests.push({name:null,description:null,photo:null,main:!1})}],class:"cols-1 mn-b-thin t-black gap-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t).specialData.guests,(l,c)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-b-small gap-small cols-2-fit-content",key:c},[e.createVNode(h.default,{photo:l.photo,"onUpdate:photo":r=>l.photo=r,uploadPath:"/specials",class:"aspect-1x1 w-8r o-hidden radius-extra"},null,8,["photo","onUpdate:photo"]),e.createElementVNode("div",X,[e.createElementVNode("div",Z,[e.createVNode(i.default,{field:l.name,"onUpdate:field":r=>l.name=r,placeholder:"Name",class:"w-100 mn-b-thin bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(i.default,{field:l.description,"onUpdate:field":r=>l.description=r,placeholder:"Description",class:"w-100 mn-b-thin bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"])]),e.createElementVNode("div",ee,[e.createVNode(N.default,{onClick:()=>e.unref(t).specialData.guests.splice(c,1),class:"i-medium"},null,8,["onClick"])])])]))),128))]),_:1},8,["actions"]),te,le,e.createVNode(k.default,{title:"Line Up",placeholder:"No line ups added yet",actions:[{label:"+",function:()=>e.unref(t).specialData.lineup.push({name:null,description:null,photo:null,main:!1})}],class:"cols-1 t-black gap-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t).specialData.lineup,(l,c)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-b-thin gap-small flex-nowrap flex",key:c},[e.createVNode(i.default,{field:l.name,"onUpdate:field":r=>l.name=r,placeholder:"Name",class:"w-100 bg-light radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(i.default,{field:l.time,"onUpdate:field":r=>l.time=r,placeholder:"Time",class:"w-100 bg-light radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",ae,[e.createVNode(N.default,{onClick:()=>e.unref(t).specialData.lineup.splice(c,1),class:"i-medium"},null,8,["onClick"])])]))),128))]),_:1},8,["actions"]),se,e.createVNode(f.default,{field:e.unref(t).specialData.lineupBackground,"onUpdate:field":a[24]||(a[24]=l=>e.unref(t).specialData.lineupBackground=l),placeholder:"Upload image",onFileChange:a[25]||(a[25]=l=>e.unref(t).specialData.lineupBackground=l),uploadPath:"/specials",type:"file",class:"mn-b-thin w-100 bg-light pd-medium radius-small t-black"},null,8,["field"]),ie,ne,oe,e.createVNode(i.default,{field:e.unref(t).specialData.previousTitle,"onUpdate:field":a[26]||(a[26]=l=>e.unref(t).specialData.previousTitle=l),placeholder:"Title",value:"Explore our exclusive party archive",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.previousDescription,"onUpdate:field":a[27]||(a[27]=l=>e.unref(t).specialData.previousDescription=l),label:"Description",value:"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.",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.previousLinkText,"onUpdate:field":a[28]||(a[28]=l=>e.unref(t).specialData.previousLinkText=l),label:"Button",value:"Check In Instagram",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.previousLink,"onUpdate:field":a[29]||(a[29]=l=>e.unref(t).specialData.previousLink=l),label:"Link",value:"https://www.instagram.com/thecommune.phuket/",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(f.default,{field:e.unref(t).specialData.previousVideo,"onUpdate:field":a[30]||(a[30]=l=>e.unref(t).specialData.previousVideo=l),placeholder:"Upload image",onFileChange:a[31]||(a[31]=l=>e.unref(t).specialData.previousVideo=l),uploadPath:"/specials",type:"file",class:"mn-b-thin w-100 bg-light pd-medium radius-small t-black"},null,8,["field"])])):e.createCommentVNode("",!0),de,e.createVNode(e.unref(T.default),{modelValue:d.value,"onUpdate:modelValue":a[32]||(a[32]=l=>d.value=l),range:"",class:"z-index-3 mn-b-semi"},null,8,["modelValue"]),re,e.unref(t)?(e.openBlock(),e.createElementBlock("section",ue,[e.createVNode(B.default,{content:e.unref(t).content,onUpdate:a[33]||(a[33]=l=>e.unref(t).content=l)},null,8,["content"])])):e.createCommentVNode("",!0),e.unref(t)?(e.openBlock(),e.createElementBlock("section",ce,[e.createElementVNode("div",pe,[e.unref(p).params.url?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:a[34]||(a[34]=l=>y()),class:"mn-r-auto bg-red t-white t-black button"},"Delete")):e.createCommentVNode("",!0),e.createElementVNode("a",{onClick:a[35]||(a[35]=l=>U()),class:"mn-l-auto bg-white t-black button"},"To Drafts"),e.createElementVNode("a",{onClick:a[36]||(a[36]=l=>w()),class:"mn-l-thin bg-black t-white button"},"Publish")])])):e.createCommentVNode("",!0),e.createVNode(C.default,{title:"Publish",onClosePopup:E,isPopupOpen:g.value,class:"w-m-33r t-left pd-big bg-white radius-big"},{default:e.withCtx(()=>[me,e.createVNode(P.default,{onTagsChanged:a[37]||(a[37]=l=>e.unref(t).tags=l),tags:e.unref(t).tags},null,8,["tags"]),fe,e.createVNode(_.default,{modelValue:o.value,"onUpdate:modelValue":a[38]||(a[38]=l=>o.value=l),options:e.unref(b),multiple:!1,taggable:!1,placeholder:"Type to search or add tag",label:"name","track-by":"_id",class:"mn-b-medium bg-light radius-medium pd-small"},null,8,["modelValue","options"]),o.value?(e.openBlock(),e.createElementBlock("h5",ge,"Options:")):e.createCommentVNode("",!0),o.value?(e.openBlock(),e.createElementBlock("div",he,[e.createVNode(V.default,{label:"Hide Author",radio:e.unref(t).creator.hidden,"onUpdate:radio":a[39]||(a[39]=l=>e.unref(t).creator.hidden=l),name:"prices",class:"w-100"},null,8,["radio"])])):e.createCommentVNode("",!0),e.createVNode(L.default,{submit:x,callback:s.redirectTo,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode("Publish")]),_:1},8,["callback"])]),_:1},8,["isPopupOpen"])])):e.createCommentVNode("",!0)}};exports.default=be;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("isomorphic-dompurify");;/* empty css */const B=require("../../../constructor/components/sections/Constructor.vue.cjs"),T=require("../../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs");;/* empty css */;/* empty css */const k=require("../../../../components/Block/Block.vue.cjs"),C=require("../../../../components/Popup/Popup.vue2.cjs"),i=require("../../../../components/Field/Field.vue2.cjs"),P=require("../../../../components/FieldTags/BlockTags.vue.cjs"),V=require("../../../../components/Checkbox/Checkbox.vue.cjs"),_=require("../../../../components/SelectMulti/SelectMulti.vue.cjs"),f=require("../../../../components/Upload/Upload.vue.cjs"),h=require("../../../../components/UploadImage/UploadImage.vue.cjs"),q=require("../../../../components/EditImages/EditImages.vue.cjs"),L=require("../../../../components/Button/Button.vue2.cjs"),N=require("../../../icons/navigation/IconDelete.vue.cjs"),D=require("vue-router"),u=require("../../store/events.cjs"),n=require("../../../auth/views/store/auth.cjs"),M=require("../../../organizations/store/organizations.cjs");;/* empty css */const O={key:0,class:"h-min-100 pd-thin"},R={class:"mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex"},S=e.createElementVNode("h4",null,"Upload Event Cover",-1),F={key:0,class:"mn-b-small"},G={key:2,class:"mn-b-small"},I={key:4,class:"mn-b-semi"},A=e.createElementVNode("h4",{class:"mn-b-thin"}," Hero Section ",-1),z=e.createElementVNode("h5",{class:"mn-b-thin"}," Video in Hero Section ",-1),H=e.createElementVNode("p",null,"Need to upload in webm format because of needs of optimization",-1),$=e.createElementVNode("h5",{class:"mn-b-thin"}," Ticket ",-1),Y={class:"mn-b-small gap-small cols-2-fit-content"},j={class:"gap-thin flex-nowrap flex w-100"},J=e.createElementVNode("hr",{class:"bg-black-transp-10 mn-b-semi mn-t-semi d-block"},null,-1),K=e.createElementVNode("h4",{class:"mn-b-thin"}," Guest Section ",-1),Q={class:"gap-thin cols-3"},W=e.createElementVNode("h5",{class:"mn-b-thin"}," Video in Guests Section ",-1),X={class:"gap-thin flex-nowrap flex w-100"},Z={class:"w-100"},ee={class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red"},te=e.createElementVNode("hr",{class:"bg-black-transp-10 mn-b-semi mn-t-semi d-block"},null,-1),le=e.createElementVNode("h4",{class:"mn-b-thin"}," Lineup Section ",-1),ae={class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red"},se=e.createElementVNode("h5",{class:"mn-b-thin"}," Background in Lineup Section ",-1),ie=e.createElementVNode("hr",{class:"bg-black-transp-10 mn-b-semi mn-t-semi d-block"},null,-1),ne=e.createElementVNode("h4",{class:"mn-b-thin"}," Previous Party Section ",-1),oe=e.createElementVNode("h5",{class:"mn-b-thin"}," Video in Previous Partys Section ",-1),de=e.createElementVNode("h3",{class:"mn-b-small"},"Date",-1),re=e.createElementVNode("h3",{class:"mn-b-small"},"Description",-1),ue={key:5,class:"pd-b-extra w-100 bg-light pd-big radius-big"},ce={key:6,class:"pd-thin pos-sticky pos-l-0 pos-b-0 w-100"},pe={class:"pd-thin radius-big bg-main w-100 flex-nowrap flex"},me=e.createElementVNode("h3",{class:"mn-b-small"},"Final Touches",-1),fe=e.createElementVNode("h5",{class:"mn-b-thin"},"Add to public:",-1),ge={key:0,class:"mn-b-thin"},he={key:1,class:"mn-b-medium br-grey-transp-25 br-2px br-solid pd-small radius-big"},be={__name:"EditEvent",setup(ve){const p=D.useRoute(),m=D.useRouter();let t=e.ref(null),b=e.ref(null);const v=e.ref([]),o=e.ref(null),d=e.ref(new Date);e.onMounted(async()=>{if(p.params.url){const a=await u.read({user:n.state.user._id,url:p.params.url});t.value=a.pop(),console.log(t.value);const l=t.value.date.start,c=t.value.date.end;d.value=[l,c]}else{u.clean(),t.value=u.state.current;const a=new Date,l=new Date;d.value=[a,l]}t.value.owner||(t.value.owner={target:n.state.user._id,type:"user"}),t.value.creator||(t.value.creator={target:n.state.user._id,type:"user",hidden:!1}),t.value.owner.type==="organization"&&(o.value={_id:t.value.owner.target._id,name:t.value.owner.target.profile.name,photo:t.value.owner.target.profile.photo});const s=await M.actions.read({user:n.state.user._id,postable:n.state.user._id,limit:100});b.value=s.map(a=>({name:a.profile.name,_id:a._id,photo:a.profile.photo}))});const g=e.ref(!1);function w(){g.value=!0}function E(){g.value=!1}function U(){v.value.length>0&&v.value.map(s=>s.text),t.value.status="draft",t.value.date={start:d.value[0],end:d.value[1]},p.params.url?u.update(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.error(s)}):u.create(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.error(s)})}function x(){o.value&&(t.value.owner={target:o.value._id,type:"organization"}),o.value||(t.value.creator.hidden=!1),o.value||(t.value.organization=t.value.creator),t.value.status="published",t.value.date={start:d.value[0],end:d.value[1]},console.log(d.value),p.params.url?(console.log(t.value),u.update(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.log(s)})):u.create(t.value).then(s=>{m.push({name:"Event",params:{url:s.url}})}).catch(s=>{console.log(s)})}function y(){confirm("Are you sure you want to delete this event?")&&u.remove(t.value._id).then(s=>{m.push({name:"User Events",params:{_id:t.value.creator.target._id}})}).catch(s=>{console.error(s)})}return(s,a)=>e.unref(t)?(e.openBlock(),e.createElementBlock("article",O,[e.createElementVNode("div",R,[e.createVNode(h.default,{photo:e.unref(t).cover,"onUpdate:photo":a[0]||(a[0]=l=>e.unref(t).cover=l),uploadPath:"specials",class:"h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra"},null,8,["photo"]),S]),e.createVNode(i.default,{field:e.unref(t).name,"onUpdate:field":a[1]||(a[1]=l=>e.unref(t).name=l),placeholder:"Event name",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).description,"onUpdate:field":a[2]||(a[2]=l=>e.unref(t).description=l),type:"textfield",placeholder:"Enter short description",class:"mn-b-semi w-100 bg-light pd-medium radius-small"},null,8,["field"]),n.state.access.roles&&(n.state.access.roles.includes("ROLE_MODERATOR")||n.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createElementBlock("h3",F," Tickets ")):e.createCommentVNode("",!0),n.state.access.roles&&(n.state.access.roles.includes("ROLE_MODERATOR")||n.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createElementBlock("div",{key:1,class:"mn-b-semi w-100 bg-light pd-medium radius-small",onClick:a[3]||(a[3]=l=>e.unref(m).push({name:"Edit Event Tickets",params:{url:e.unref(p).params.url}}))}," Edit tickets ")):e.createCommentVNode("",!0),n.state.access.roles&&(n.state.access.roles.includes("ROLE_MODERATOR")||n.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createElementBlock("h3",G," Special Details ")):e.createCommentVNode("",!0),n.state.access.roles&&(n.state.access.roles.includes("ROLE_MODERATOR")||n.state.access.roles.includes("ROLE_ADMIN"))?(e.openBlock(),e.createBlock(V.default,{key:3,label:"Special",radio:e.unref(t).special,"onUpdate:radio":a[4]||(a[4]=l=>e.unref(t).special=!e.unref(t).special),class:"mn-b-semi w-100 bg-black t-white pd-medium radius-small"},null,8,["radio"])):e.createCommentVNode("",!0),e.unref(t).special?(e.openBlock(),e.createElementBlock("div",I,[A,e.createVNode(i.default,{field:e.unref(t).specialData.subtitle,"onUpdate:field":a[5]||(a[5]=l=>e.unref(t).specialData.subtitle=l),placeholder:"Event subtitle",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(q.default,{images:e.unref(t).specialData.logos,uploadPath:"/specials",text:{title:"Drag & Drop Your Logos Here",subtitle:"Files supported: JPG, PNG, GIF"},options:{showTitle:!0,showText:!1},"onUpdate:images":a[6]||(a[6]=l=>e.unref(t).specialData.logos=l),class:"mn-b-thin bg-light radius-small"},null,8,["images"]),z,H,e.createVNode(f.default,{field:e.unref(t).specialData.video,"onUpdate:field":a[7]||(a[7]=l=>e.unref(t).specialData.video=l),placeholder:"Upload video",onFileChange:a[8]||(a[8]=l=>e.unref(t).specialData.video=l),uploadPath:"specials",type:"file",class:"mn-b-thin w-100 bg-light pd-medium radius-small t-black"},null,8,["field"]),$,e.createElementVNode("div",Y,[e.createVNode(h.default,{photo:e.unref(t).specialData.ticketImage,"onUpdate:photo":a[9]||(a[9]=l=>e.unref(t).specialData.ticketImage=l),uploadPath:"/specials",class:"aspect-1x1 w-4r o-hidden radius-extra"},null,8,["photo"]),e.createElementVNode("div",j,[e.createVNode(i.default,{field:e.unref(t).specialData.ticketPrice,"onUpdate:field":a[10]||(a[10]=l=>e.unref(t).specialData.ticketPrice=l),type:"number",placeholder:"Ticket price in baht",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.ticketText,"onUpdate:field":a[11]||(a[11]=l=>e.unref(t).specialData.ticketText=l),placeholder:"Promotion text for ticket in hero ",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.ticketTextButton,"onUpdate:field":a[12]||(a[12]=l=>e.unref(t).specialData.ticketTextButton=l),placeholder:"Text on 'Buy Ticket' button ",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"])])]),J,K,e.createVNode(i.default,{field:e.unref(t).specialData.guestTitle,"onUpdate:field":a[13]||(a[13]=l=>e.unref(t).specialData.guestTitle=l),placeholder:"Title for Main Guest section",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestDescription,"onUpdate:field":a[14]||(a[14]=l=>e.unref(t).specialData.guestDescription=l),placeholder:"Description for Main Guest section",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createElementVNode("div",Q,[e.createVNode(i.default,{field:e.unref(t).specialData.guestFacebook,"onUpdate:field":a[15]||(a[15]=l=>e.unref(t).specialData.guestFacebook=l),placeholder:"Facebook of Main Guest",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestInstagram,"onUpdate:field":a[16]||(a[16]=l=>e.unref(t).specialData.guestInstagram=l),placeholder:"Instagram of Main Guest",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestTwitter,"onUpdate:field":a[17]||(a[17]=l=>e.unref(t).specialData.guestTwitter=l),placeholder:"Twitter of Main Guest",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestTelegram,"onUpdate:field":a[18]||(a[18]=l=>e.unref(t).specialData.guestTelegram=l),placeholder:"Telegram of Main Guest",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestSoundcloud,"onUpdate:field":a[19]||(a[19]=l=>e.unref(t).specialData.guestSoundcloud=l),placeholder:"Link to Main Guest soundcloud track",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestSpotify,"onUpdate:field":a[20]||(a[20]=l=>e.unref(t).specialData.guestSpotify=l),placeholder:"Link to Main guest spotify track",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.guestYoutube,"onUpdate:field":a[21]||(a[21]=l=>e.unref(t).specialData.guestYoutube=l),placeholder:"Link to Main guest youtube video",class:"mn-b-thin w-100 bg-light pd-medium radius-small"},null,8,["field"])]),W,e.createVNode(f.default,{field:e.unref(t).specialData.guestVideo,"onUpdate:field":a[22]||(a[22]=l=>e.unref(t).specialData.guestVideo=l),placeholder:"Upload video",onFileChange:a[23]||(a[23]=l=>e.unref(t).specialData.guestVideo=l),uploadPath:"/specials",type:"file",class:"mn-b-thin w-100 bg-light pd-medium radius-small t-black"},null,8,["field"]),e.createVNode(k.default,{title:"Guests",placeholder:"No guests added yet",actions:[{label:"+",function:()=>e.unref(t).specialData.guests.push({name:null,description:null,photo:null,main:!1})}],class:"cols-1 mn-b-thin t-black gap-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t).specialData.guests,(l,c)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-b-small gap-small cols-2-fit-content",key:c},[e.createVNode(h.default,{photo:l.photo,"onUpdate:photo":r=>l.photo=r,uploadPath:"/specials",class:"aspect-1x1 w-8r o-hidden radius-extra"},null,8,["photo","onUpdate:photo"]),e.createElementVNode("div",X,[e.createElementVNode("div",Z,[e.createVNode(i.default,{field:l.name,"onUpdate:field":r=>l.name=r,placeholder:"Name",class:"w-100 mn-b-thin bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(i.default,{field:l.description,"onUpdate:field":r=>l.description=r,placeholder:"Description",class:"w-100 mn-b-thin bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"])]),e.createElementVNode("div",ee,[e.createVNode(N.default,{onClick:()=>e.unref(t).specialData.guests.splice(c,1),class:"i-medium"},null,8,["onClick"])])])]))),128))]),_:1},8,["actions"]),te,le,e.createVNode(k.default,{title:"Line Up",placeholder:"No line ups added yet",actions:[{label:"+",function:()=>e.unref(t).specialData.lineup.push({name:null,description:null,photo:null,main:!1})}],class:"cols-1 t-black gap-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t).specialData.lineup,(l,c)=>(e.openBlock(),e.createElementBlock("div",{class:"mn-b-thin gap-small flex-nowrap flex",key:c},[e.createVNode(i.default,{field:l.name,"onUpdate:field":r=>l.name=r,placeholder:"Name",class:"w-100 bg-light radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(i.default,{field:l.time,"onUpdate:field":r=>l.time=r,placeholder:"Time",class:"w-100 bg-light radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createElementVNode("div",ae,[e.createVNode(N.default,{onClick:()=>e.unref(t).specialData.lineup.splice(c,1),class:"i-medium"},null,8,["onClick"])])]))),128))]),_:1},8,["actions"]),se,e.createVNode(f.default,{field:e.unref(t).specialData.lineupBackground,"onUpdate:field":a[24]||(a[24]=l=>e.unref(t).specialData.lineupBackground=l),placeholder:"Upload image",onFileChange:a[25]||(a[25]=l=>e.unref(t).specialData.lineupBackground=l),uploadPath:"/specials",type:"file",class:"mn-b-thin w-100 bg-light pd-medium radius-small t-black"},null,8,["field"]),ie,ne,oe,e.createVNode(i.default,{field:e.unref(t).specialData.previousTitle,"onUpdate:field":a[26]||(a[26]=l=>e.unref(t).specialData.previousTitle=l),placeholder:"Title",value:"Explore our exclusive party archive",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.previousDescription,"onUpdate:field":a[27]||(a[27]=l=>e.unref(t).specialData.previousDescription=l),label:"Description",value:"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.",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.previousLinkText,"onUpdate:field":a[28]||(a[28]=l=>e.unref(t).specialData.previousLinkText=l),label:"Button",value:"Check In Instagram",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(i.default,{field:e.unref(t).specialData.previousLink,"onUpdate:field":a[29]||(a[29]=l=>e.unref(t).specialData.previousLink=l),label:"Link",value:"https://www.instagram.com/thecommune.phuket/",class:"w-100 bg-light radius-small pd-medium"},null,8,["field"]),e.createVNode(f.default,{field:e.unref(t).specialData.previousVideo,"onUpdate:field":a[30]||(a[30]=l=>e.unref(t).specialData.previousVideo=l),placeholder:"Upload image",onFileChange:a[31]||(a[31]=l=>e.unref(t).specialData.previousVideo=l),uploadPath:"/specials",type:"file",class:"mn-b-thin w-100 bg-light pd-medium radius-small t-black"},null,8,["field"])])):e.createCommentVNode("",!0),de,e.createVNode(e.unref(T.default),{modelValue:d.value,"onUpdate:modelValue":a[32]||(a[32]=l=>d.value=l),range:"",class:"z-index-3 mn-b-semi bg-light"},null,8,["modelValue"]),re,e.unref(t)?(e.openBlock(),e.createElementBlock("section",ue,[e.createVNode(B.default,{content:e.unref(t).content,onUpdate:a[33]||(a[33]=l=>e.unref(t).content=l)},null,8,["content"])])):e.createCommentVNode("",!0),e.unref(t)?(e.openBlock(),e.createElementBlock("section",ce,[e.createElementVNode("div",pe,[e.unref(p).params.url?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:a[34]||(a[34]=l=>y()),class:"mn-r-auto bg-red t-white t-black button"},"Delete")):e.createCommentVNode("",!0),e.createElementVNode("a",{onClick:a[35]||(a[35]=l=>U()),class:"mn-l-auto bg-white t-black button"},"To Drafts"),e.createElementVNode("a",{onClick:a[36]||(a[36]=l=>w()),class:"mn-l-thin bg-black t-white button"},"Publish")])])):e.createCommentVNode("",!0),e.createVNode(C.default,{title:"Publish",onClosePopup:E,isPopupOpen:g.value,class:"w-m-33r t-left pd-big bg-white radius-big"},{default:e.withCtx(()=>[me,e.createVNode(P.default,{onTagsChanged:a[37]||(a[37]=l=>e.unref(t).tags=l),tags:e.unref(t).tags},null,8,["tags"]),fe,e.createVNode(_.default,{modelValue:o.value,"onUpdate:modelValue":a[38]||(a[38]=l=>o.value=l),options:e.unref(b),multiple:!1,taggable:!1,placeholder:"Type to search or add tag",label:"name","track-by":"_id",class:"mn-b-medium bg-light radius-medium pd-small"},null,8,["modelValue","options"]),o.value?(e.openBlock(),e.createElementBlock("h5",ge,"Options:")):e.createCommentVNode("",!0),o.value?(e.openBlock(),e.createElementBlock("div",he,[e.createVNode(V.default,{label:"Hide Author",radio:e.unref(t).creator.hidden,"onUpdate:radio":a[39]||(a[39]=l=>e.unref(t).creator.hidden=l),name:"prices",class:"w-100"},null,8,["radio"])])):e.createCommentVNode("",!0),e.createVNode(L.default,{submit:x,callback:s.redirectTo,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode("Publish")]),_:1},8,["callback"])]),_:1},8,["isPopupOpen"])])):e.createCommentVNode("",!0)}};exports.default=be;
@@ -2,8 +2,9 @@ import { ref as v, onMounted as $, unref as a, openBlock as u, createElementBloc
2
2
  import "isomorphic-dompurify";
3
3
  /* empty css */
4
4
  import A from "../../../constructor/components/sections/Constructor.vue.js";
5
- import B from "../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js";
6
- /* empty css */
5
+ import B from "../../../../../../node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js";
6
+ /* empty css */
7
+ /* empty css */
7
8
  import E from "../../../../components/Block/Block.vue.js";
8
9
  import I from "../../../../components/Popup/Popup.vue2.js";
9
10
  import n from "../../../../components/Field/Field.vue2.js";
@@ -16,7 +17,7 @@ import Y from "../../../../components/EditImages/EditImages.vue.js";
16
17
  import J from "../../../../components/Button/Button.vue2.js";
17
18
  import L from "../../../icons/navigation/IconDelete.vue.js";
18
19
  import { useRoute as j, useRouter as q } from "vue-router";
19
- import { read as K, clean as Q, state as W, update as O, create as C, remove as X } from "../../store/events.js";
20
+ import { read as K, clean as Q, state as W, update as O, create as V, remove as X } from "../../store/events.js";
20
21
  import { state as d } from "../../../auth/views/store/auth.js";
21
22
  import { actions as Z } from "../../../organizations/store/organizations.js";
22
23
  /* empty css */
@@ -38,13 +39,13 @@ const ee = {
38
39
  }, Le = {
39
40
  key: 6,
40
41
  class: "pd-thin pos-sticky pos-l-0 pos-b-0 w-100"
41
- }, Oe = { class: "pd-thin radius-big bg-main w-100 flex-nowrap flex" }, Ce = /* @__PURE__ */ s("h3", { class: "mn-b-small" }, "Final Touches", -1), Me = /* @__PURE__ */ s("h5", { class: "mn-b-thin" }, "Add to public:", -1), Ve = {
42
+ }, Oe = { class: "pd-thin radius-big bg-main w-100 flex-nowrap flex" }, Ve = /* @__PURE__ */ s("h3", { class: "mn-b-small" }, "Final Touches", -1), Ce = /* @__PURE__ */ s("h5", { class: "mn-b-thin" }, "Add to public:", -1), Me = {
42
43
  key: 0,
43
44
  class: "mn-b-thin"
44
45
  }, Re = {
45
46
  key: 1,
46
47
  class: "mn-b-medium br-grey-transp-25 br-2px br-solid pd-small radius-big"
47
- }, il = {
48
+ }, sl = {
48
49
  __name: "EditEvent",
49
50
  setup(Se) {
50
51
  const h = j(), b = q();
@@ -85,10 +86,10 @@ const ee = {
85
86
  }));
86
87
  });
87
88
  const w = v(!1);
88
- function M() {
89
+ function C() {
89
90
  w.value = !0;
90
91
  }
91
- function V() {
92
+ function M() {
92
93
  w.value = !1;
93
94
  }
94
95
  function R() {
@@ -99,7 +100,7 @@ const ee = {
99
100
  b.push({ name: "Event", params: { url: o.url } });
100
101
  }).catch((o) => {
101
102
  console.error(o);
102
- }) : C(e.value).then((o) => {
103
+ }) : V(e.value).then((o) => {
103
104
  b.push({ name: "Event", params: { url: o.url } });
104
105
  }).catch((o) => {
105
106
  console.error(o);
@@ -116,7 +117,7 @@ const ee = {
116
117
  b.push({ name: "Event", params: { url: o.url } });
117
118
  }).catch((o) => {
118
119
  console.log(o);
119
- })) : C(e.value).then((o) => {
120
+ })) : V(e.value).then((o) => {
120
121
  b.push({ name: "Event", params: { url: o.url } });
121
122
  }).catch((o) => {
122
123
  console.log(o);
@@ -442,7 +443,7 @@ const ee = {
442
443
  modelValue: c.value,
443
444
  "onUpdate:modelValue": t[32] || (t[32] = (l) => c.value = l),
444
445
  range: "",
445
- class: "z-index-3 mn-b-semi"
446
+ class: "z-index-3 mn-b-semi bg-light"
446
447
  }, null, 8, ["modelValue"]),
447
448
  Ee,
448
449
  a(e) ? (u(), r("section", Pe, [
@@ -463,24 +464,24 @@ const ee = {
463
464
  class: "mn-l-auto bg-white t-black button"
464
465
  }, "To Drafts"),
465
466
  s("a", {
466
- onClick: t[36] || (t[36] = (l) => M()),
467
+ onClick: t[36] || (t[36] = (l) => C()),
467
468
  class: "mn-l-thin bg-black t-white button"
468
469
  }, "Publish")
469
470
  ])
470
471
  ])) : p("", !0),
471
472
  i(I, {
472
473
  title: "Publish",
473
- onClosePopup: V,
474
+ onClosePopup: M,
474
475
  isPopupOpen: w.value,
475
476
  class: "w-m-33r t-left pd-big bg-white radius-big"
476
477
  }, {
477
478
  default: D(() => [
478
- Ce,
479
+ Ve,
479
480
  i(z, {
480
481
  onTagsChanged: t[37] || (t[37] = (l) => a(e).tags = l),
481
482
  tags: a(e).tags
482
483
  }, null, 8, ["tags"]),
483
- Me,
484
+ Ce,
484
485
  i(H, {
485
486
  modelValue: m.value,
486
487
  "onUpdate:modelValue": t[38] || (t[38] = (l) => m.value = l),
@@ -492,7 +493,7 @@ const ee = {
492
493
  "track-by": "_id",
493
494
  class: "mn-b-medium bg-light radius-medium pd-small"
494
495
  }, null, 8, ["modelValue", "options"]),
495
- m.value ? (u(), r("h5", Ve, "Options:")) : p("", !0),
496
+ m.value ? (u(), r("h5", Me, "Options:")) : p("", !0),
496
497
  m.value ? (u(), r("div", Re, [
497
498
  i(P, {
498
499
  label: "Hide Author",
@@ -519,5 +520,5 @@ const ee = {
519
520
  }
520
521
  };
521
522
  export {
522
- il as default
523
+ sl as default
523
524
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("../../../../components/Feed/Feed.vue.cjs"),N=require("../../../../components/Block/Block.vue.cjs"),x=require("../../../../components/Popup/Popup.vue2.cjs"),u=require("../../../../components/Field/Field.vue2.cjs"),d=require("../../../../components/Button/Button.vue2.cjs"),V=require("../elements/ButtonCheck.vue.cjs"),q=require("../../../icons/navigation/IconDelete.vue.cjs"),B=require("../../../icons/navigation/IconAdd.vue.cjs"),b=require("vue-router"),E=require("../../store/events.cjs"),C=require("../../../auth/views/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const m=require("../../store/tickets.cjs");;/* empty css */const T={key:0,class:"h-100 pd-thin"},P={class:"mn-b-medium flex-v-center flex-nowrap flex"},S=e.createElementVNode("h2",{class:"mn-r-medium"},"Tickets",-1),D=["onClick"],U={class:"radius-big bg-light gap-small pd-medium flex-v-center flex-nowrap flex pos-relative mn-b-thin"},A=["href"],F=["src"],O={class:"mn-r-auto"},M={class:"h4"},R={class:"h5 t-transp mn-b-thin"},I={class:"pd-r-thin pd-l-thin pd-b-nano pd-t-nano bg-second radius-extra t-white t-medium d-block w-max uppercase"},L={__name:"EditEventTickets",setup(Q){var h;const g=b.useRoute();b.useRouter();let n=e.ref(null);const c=e.ref([{name:"",email:"",target:(h=n.value)==null?void 0:h._id,type:"event",quantity:1}]),i=e.ref(!1);function _(r){var l;i.value=!0,c.value=[{name:"",email:"",target:(l=n.value)==null?void 0:l._id,type:"event",quantity:1}]}function p(){i.value=!1}const s=e.ref(!1);e.onMounted(async()=>{const r=await E.read({user:C.state.user._id,url:g.params.url});n.value=r.pop()});async function w(){try{const r=await m.actions.create(c.value);s.value=!s.value}catch(r){console.log(r)}}async function f(r,l){if(confirm("Are you sure you want to deactivate this event?"))try{const t=await m.actions.update({...r,status:l});s.value=!s.value}catch(t){console.error(t)}}return(r,l)=>e.unref(n)?(e.openBlock(),e.createElementBlock("article",T,[e.createElementVNode("header",P,[S,e.createElementVNode("button",{onClick:l[0]||(l[0]=t=>_()),class:"radius-extra uppercase button-small flex-child flex-child-shrink-0 hover-scale-1 cursor-pointer t-white bg-second"}," Add Tickets "),e.createVNode(V.default,{onQrcodecheck:l[1]||(l[1]=t=>s.value=!s.value),class:"w-100 pd-medium mn-auto"})]),e.createVNode(x.default,{title:"Добавить участника",onClosePopup:p,isPopupOpen:i.value,class:"w-max-40r"},{default:e.withCtx(()=>[e.createVNode(N.default,{title:"Add tickets",placeholder:"No parameters added yet",class:"cols-1 mn-b-thin gap-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(t,a)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin flex-nowrap flex",key:a},[e.createVNode(u.default,{field:t.name,"onUpdate:field":o=>t.name=o,placeholder:"Name",class:"w-50 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(u.default,{field:t.email,"onUpdate:field":o=>t.email=o,placeholder:"Email",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(u.default,{field:t.quantity,"onUpdate:field":o=>t.quantity=o,placeholder:"Quantity",type:"number",class:"w-25 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),a<1?(e.openBlock(),e.createElementBlock("div",{key:0,onClick:l[2]||(l[2]=()=>c.value.push({name:"",value:"",target:e.unref(n)._id,type:"event",quantity:1})),class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green"},[e.createVNode(B.default,{class:"i-medium",fill:"rgb(var(--white)"})])):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:()=>c.value.splice(a,1),class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red"},[e.createVNode(q.default,{class:"i-medium",fill:"rgb(var(--white)"})],8,D))]))),128)),e.createVNode(d.default,{submit:w,callback:p,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode(" Create Tickets ")]),_:1})]),_:1})]),_:1},8,["isPopupOpen"]),e.createVNode(y.default,{search:!0,states:{empty:{title:"No Tickets Found",description:"Currently, there are no tickets."}},store:{read:t=>m.actions.read(t),state:null},options:{target:e.unref(n)._id},external:s.value},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,(a,o)=>{var v,k;return e.openBlock(),e.createElementBlock("div",U,[e.createElementVNode("a",{href:a.image,target:"_blank"},[e.createElementVNode("img",{src:a.qrcode,class:"radius-small h-5r w-5r"},null,8,F)],8,A),e.createElementVNode("div",O,[e.createElementVNode("p",M,e.toDisplayString(((v=a.client_refactor)==null?void 0:v.name)||"No name")+", "+e.toDisplayString(a.role),1),e.createElementVNode("p",R,e.toDisplayString(((k=a.client_refactor)==null?void 0:k.email)||"No email"),1),e.createElementVNode("span",I,e.toDisplayString(a.status),1)]),a.status!=="deactivated"?(e.openBlock(),e.createBlock(d.default,{key:0,submit:()=>f(a,"deactivated"),callback:r.redirectTo,class:"w-min h-min pd-small bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode(" Deactivate ")]),_:2},1032,["submit","callback"])):e.createCommentVNode("",!0),a.status==="deactivated"||a.status==="used"?(e.openBlock(),e.createBlock(d.default,{key:1,submit:()=>f(a,"unused"),callback:r.redirectTo,class:"w-min h-min pd-small bg-green t-white"},{default:e.withCtx(()=>[e.createTextVNode(" Activate ")]),_:2},1032,["submit","callback"])):e.createCommentVNode("",!0)])}),256))]),_:1},8,["store","options","external"])])):e.createCommentVNode("",!0)}};exports.default=L;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),y=require("../../../../components/Feed/Feed.vue.cjs"),N=require("../../../../components/Block/Block.vue.cjs"),x=require("../../../../components/Popup/Popup.vue2.cjs"),d=require("../../../../components/Field/Field.vue2.cjs"),u=require("../../../../components/Button/Button.vue2.cjs"),V=require("../elements/ButtonCheck.vue.cjs"),q=require("../../../icons/navigation/IconDelete.vue.cjs"),B=require("../../../icons/navigation/IconAdd.vue.cjs"),b=require("vue-router"),E=require("../../store/events.cjs"),C=require("../../../auth/views/store/auth.cjs");require("../../../organizations/store/organizations.cjs");const m=require("../../store/tickets.cjs");;/* empty css */const T={key:0,class:"h-100 pd-thin"},P={class:"mn-b-medium flex-v-center flex-nowrap flex"},S=e.createElementVNode("h2",{class:"mn-r-medium"},"Tickets",-1),D=["onClick"],U={class:"radius-big bg-light gap-small pd-medium flex-v-center flex-nowrap flex pos-relative mn-b-thin"},A=["href"],F=["src"],O={class:"mn-r-auto"},M={class:"h4"},R={class:"h5 t-transp mn-b-thin"},I={class:"pd-r-thin pd-l-thin pd-b-nano pd-t-nano bg-second radius-extra t-white t-medium d-block w-max uppercase"},L={__name:"EditEventTickets",setup(Q){var h;const g=b.useRoute();b.useRouter();let n=e.ref(null);const c=e.ref([{name:"",email:"",target:(h=n.value)==null?void 0:h._id,type:"event",quantity:1}]),i=e.ref(!1);function _(r){var l;i.value=!0,c.value=[{name:"",email:"",target:(l=n.value)==null?void 0:l._id,type:"event",quantity:1}]}function p(){i.value=!1}const s=e.ref(!1);e.onMounted(async()=>{const r=await E.read({user:C.state.user._id,url:g.params.url});n.value=r.pop()});async function w(){try{const r=await m.actions.create(c.value);s.value=!s.value}catch(r){console.log(r)}}async function f(r,l){if(confirm("Are you sure you want to deactivate this event?"))try{const t=await m.actions.update({...r,status:l});s.value=!s.value}catch(t){console.error(t)}}return(r,l)=>e.unref(n)?(e.openBlock(),e.createElementBlock("article",T,[e.createElementVNode("header",P,[S,e.createElementVNode("button",{onClick:l[0]||(l[0]=t=>_()),class:"radius-extra uppercase button-small flex-child flex-child-shrink-0 hover-scale-1 cursor-pointer t-white bg-second"}," Add Tickets "),e.createVNode(V.default,{onQrcodecheck:l[1]||(l[1]=t=>s.value=!s.value),class:"w-100 pd-medium mn-auto"})]),e.createVNode(x.default,{title:"Добавить участника",onClosePopup:p,isPopupOpen:i.value,class:"w-max-40r"},{default:e.withCtx(()=>[e.createVNode(N.default,{title:"Add tickets",placeholder:"No parameters added yet",class:"cols-1 mn-b-thin gap-thin"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(t,a)=>(e.openBlock(),e.createElementBlock("div",{class:"gap-thin flex-nowrap flex",key:a},[e.createVNode(d.default,{field:t.name,"onUpdate:field":o=>t.name=o,placeholder:"Name",class:"w-50 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.default,{field:t.email,"onUpdate:field":o=>t.email=o,placeholder:"Email",class:"w-100 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),e.createVNode(d.default,{field:t.quantity,"onUpdate:field":o=>t.quantity=o,placeholder:"Quantity",type:"number",class:"w-25 bg-white radius-small pd-medium"},null,8,["field","onUpdate:field"]),a<1?(e.openBlock(),e.createElementBlock("div",{key:0,onClick:l[2]||(l[2]=()=>c.value.push({name:"",value:"",target:e.unref(n)._id,type:"event",quantity:1})),class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-green"},[e.createVNode(B.default,{class:"i-medium",fill:"rgb(var(--white)"})])):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:()=>c.value.splice(a,1),class:"radius-small h-100 i-big flex-center flex aspect-1x1 bg-red"},[e.createVNode(q.default,{class:"i-medium",fill:"rgb(var(--white)"})],8,D))]))),128)),e.createVNode(u.default,{submit:w,callback:p,class:"w-100 bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode(" Create Tickets ")]),_:1})]),_:1})]),_:1},8,["isPopupOpen"]),e.createVNode(y.default,{search:!0,states:{empty:{title:"No Tickets Found",description:"Currently, there are no tickets."}},store:{read:t=>m.actions.read(t),state:null},options:{target:e.unref(n)._id},external:s.value},{default:e.withCtx(({items:t})=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,(a,o)=>{var v,k;return e.openBlock(),e.createElementBlock("div",U,[e.createElementVNode("a",{href:a.image,target:"_blank"},[e.createElementVNode("img",{loading:"lazy",src:a.qrcode,class:"radius-small h-5r w-5r"},null,8,F)],8,A),e.createElementVNode("div",O,[e.createElementVNode("p",M,e.toDisplayString(((v=a.client_refactor)==null?void 0:v.name)||"No name")+", "+e.toDisplayString(a.role),1),e.createElementVNode("p",R,e.toDisplayString(((k=a.client_refactor)==null?void 0:k.email)||"No email"),1),e.createElementVNode("span",I,e.toDisplayString(a.status),1)]),a.status!=="deactivated"?(e.openBlock(),e.createBlock(u.default,{key:0,submit:()=>f(a,"deactivated"),callback:r.redirectTo,class:"w-min h-min pd-small bg-black t-white"},{default:e.withCtx(()=>[e.createTextVNode(" Deactivate ")]),_:2},1032,["submit","callback"])):e.createCommentVNode("",!0),a.status==="deactivated"||a.status==="used"?(e.openBlock(),e.createBlock(u.default,{key:1,submit:()=>f(a,"unused"),callback:r.redirectTo,class:"w-min h-min pd-small bg-green t-white"},{default:e.withCtx(()=>[e.createTextVNode(" Activate ")]),_:2},1032,["submit","callback"])):e.createCommentVNode("",!0)])}),256))]),_:1},8,["store","options","external"])])):e.createCommentVNode("",!0)}};exports.default=L;
@@ -7,13 +7,13 @@ import w from "../../../../components/Button/Button.vue2.js";
7
7
  import S from "../elements/ButtonCheck.vue.js";
8
8
  import D from "../../../icons/navigation/IconDelete.vue.js";
9
9
  import Q from "../../../icons/navigation/IconAdd.vue.js";
10
- import { useRoute as R, useRouter as L } from "vue-router";
11
- import { read as M } from "../../store/events.js";
12
- import { state as j } from "../../../auth/views/store/auth.js";
10
+ import { useRoute as R, useRouter as z } from "vue-router";
11
+ import { read as L } from "../../store/events.js";
12
+ import { state as M } from "../../../auth/views/store/auth.js";
13
13
  import "../../../organizations/store/organizations.js";
14
- import { actions as k } from "../../store/tickets.js";
14
+ import { actions as y } from "../../store/tickets.js";
15
15
  /* empty css */
16
- const z = {
16
+ const j = {
17
17
  key: 0,
18
18
  class: "h-100 pd-thin"
19
19
  }, G = { class: "mn-b-medium flex-v-center flex-nowrap flex" }, H = /* @__PURE__ */ r("h2", { class: "mn-r-medium" }, "Tickets", -1), I = ["onClick"], J = { class: "radius-big bg-light gap-small pd-medium flex-v-center flex-nowrap flex pos-relative mn-b-thin" }, K = ["href"], W = ["src"], X = { class: "mn-r-auto" }, Y = { class: "h4" }, Z = { class: "h5 t-transp mn-b-thin" }, ee = { class: "pd-r-thin pd-l-thin pd-b-nano pd-t-nano bg-second radius-extra t-white t-medium d-block w-max uppercase" }, ve = {
@@ -21,7 +21,7 @@ const z = {
21
21
  setup(te) {
22
22
  var T;
23
23
  const U = R();
24
- L();
24
+ z();
25
25
  let c = p(null);
26
26
  const m = p([{
27
27
  name: "",
@@ -40,17 +40,17 @@ const z = {
40
40
  quantity: 1
41
41
  }];
42
42
  }
43
- function y() {
43
+ function k() {
44
44
  h.value = !1;
45
45
  }
46
46
  const n = p(!1);
47
47
  B(async () => {
48
- const s = await M({ user: j.user._id, url: U.params.url });
48
+ const s = await L({ user: M.user._id, url: U.params.url });
49
49
  c.value = s.pop();
50
50
  });
51
51
  async function A() {
52
52
  try {
53
- const s = await k.create(m.value);
53
+ const s = await y.create(m.value);
54
54
  n.value = !n.value;
55
55
  } catch (s) {
56
56
  console.log(s);
@@ -59,13 +59,13 @@ const z = {
59
59
  async function x(s, a) {
60
60
  if (confirm("Are you sure you want to deactivate this event?"))
61
61
  try {
62
- const e = await k.update({ ...s, status: a });
62
+ const e = await y.update({ ...s, status: a });
63
63
  n.value = !n.value;
64
64
  } catch (e) {
65
65
  console.error(e);
66
66
  }
67
67
  }
68
- return (s, a) => _(c) ? (i(), o("article", z, [
68
+ return (s, a) => _(c) ? (i(), o("article", j, [
69
69
  r("header", G, [
70
70
  H,
71
71
  r("button", {
@@ -79,7 +79,7 @@ const z = {
79
79
  ]),
80
80
  l(O, {
81
81
  title: "Добавить участника",
82
- onClosePopup: y,
82
+ onClosePopup: k,
83
83
  isPopupOpen: h.value,
84
84
  class: "w-max-40r"
85
85
  }, {
@@ -135,7 +135,7 @@ const z = {
135
135
  ]))), 128)),
136
136
  l(w, {
137
137
  submit: A,
138
- callback: y,
138
+ callback: k,
139
139
  class: "w-100 bg-black t-white"
140
140
  }, {
141
141
  default: u(() => [
@@ -158,7 +158,7 @@ const z = {
158
158
  }
159
159
  },
160
160
  store: {
161
- read: (e) => k.read(e),
161
+ read: (e) => y.read(e),
162
162
  state: null
163
163
  },
164
164
  options: {
@@ -177,6 +177,7 @@ const z = {
177
177
  target: "_blank"
178
178
  }, [
179
179
  r("img", {
180
+ loading: "lazy",
180
181
  src: t.qrcode,
181
182
  class: "radius-small h-5r w-5r"
182
183
  }, null, 8, W)
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("vue-i18n");const g=require("../../../../components/Countdown/Countdown.vue.cjs");;/* empty css */const x=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),B={class:"t-white t-center w-100 pos-relative gap-thin cols-2 pos-relative"},E={style:{"min-height":"20rem"},class:"desktop-only radius-big o-hidden bg-black pos-relative"},w=["src"],V=["src","type"],N={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"},z={class:"mn-b-big z-index-1 flex-nowrap flex gap-small"},S=["src"],C={class:"pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin"},j={class:"z-index-1 t-main mn-b-semi"},D={class:"z-index-1 p-big mn-b-semi"},T={class:"z-index-1 t-transp p-small mn-b-thin"},q={key:0,class:"mn-l-micro bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra"},H={key:1,class:"z-index-1 mn-t-medium mn-b-small flex-nowrap flex gap-thin"},L=["src"],M=["src"],O={__name:"HeroEvent",props:{content:{type:Object},options:{type:Object}},setup(t){const v=t,o=e.ref(null);var i=!1;function k(){o.value.onplaying=function(){i=!0},o.value.onpause=function(){i=!1}}function b(n){return n.endsWith(".mp4")?"video/mp4":n.endsWith(".webm")?"video/webm":""}async function h(){if(o.value.paused&&!i)return o.value.play()}e.onMounted(()=>{k(),h()});function f(){var n;gtag("event","buy_ticket",{event_category:"conversion",event_label:"Buy Ticket"}),window.open((n=v.content)==null?void 0:n.ticketLinkStripe)}return(n,c)=>{var l,s,a,r,d,m,u,p;return e.openBlock(),e.createElementBlock("section",B,[e.createElementVNode("div",E,[t.content.cover&&!t.content.video?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.content.cover,class:"desktop-only object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"},null,8,w)):e.createCommentVNode("",!0),t.content.video?(e.openBlock(),e.createElementBlock("video",{key:1,style:{"object-fit":"cover"},ref_key:"videoElement",ref:o,class:"pos-absolute pos-t-0 pos-l-0 w-100 h-100",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:"",itemprop:"video",type:"video/webm"},[e.createElementVNode("source",{src:t.content.video,type:b(t.content.video)},null,8,V)],512)):e.createCommentVNode("",!0)]),e.createElementVNode("div",N,[e.createElementVNode("div",z,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.content.logos,y=>(e.openBlock(),e.createElementBlock("img",{class:"radius-thin object-fit-contain i-big",src:y},null,8,S))),256))]),e.createElementVNode("h3",C,e.toDisplayString((l=t.content)==null?void 0:l.subtitle),1),e.createElementVNode("h1",j,e.toDisplayString((s=t.content)==null?void 0:s.title),1),e.createElementVNode("p",D,e.toDisplayString((a=t.content)==null?void 0:a.description),1),e.createElementVNode("p",T,[e.createElementVNode("span",null,e.toDisplayString((r=t.content)==null?void 0:r.ticketText),1),(d=t.options)!=null&&d.price?(e.openBlock(),e.createElementBlock("span",q,e.toDisplayString((m=t.options)==null?void 0:m.price)+" "+e.toDisplayString(n.returnCurrency()),1)):e.createCommentVNode("",!0)]),t.options.date?(e.openBlock(),e.createBlock(g.default,{key:0,class:"z-index-1 mn-t-medium w-100 w-max-30r",date:t.options.date},null,8,["date"])):e.createCommentVNode("",!0),(u=t.content)!=null&&u.ticketLinkStripe?(e.openBlock(),e.createElementBlock("div",H,[e.createElementVNode("a",{href:"#",onClick:c[0]||(c[0]=y=>f()),class:"pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white"},e.toDisplayString(((p=t.content)==null?void 0:p.ticketTextButton)||"Buy Ticket"),1)])):e.createCommentVNode("",!0),t.content.cover&&!t.content.video?(e.openBlock(),e.createElementBlock("img",{key:2,style:{"object-fit":"cover",opacity:"0.2"},src:t.content.cover,class:"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"},null,8,L)):e.createCommentVNode("",!0),t.content.video?(e.openBlock(),e.createElementBlock("video",{key:3,style:{"object-fit":"cover",opacity:"0.2"},ref_key:"videoElement",ref:o,class:"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:"",src:t.content.video,itemprop:"video",type:"video/webm"},null,8,M)):e.createCommentVNode("",!0)])])}}},P=x.default(O,[["__scopeId","data-v-ec952edd"]]);exports.default=P;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("vue-i18n");const f=require("../../../../components/Countdown/Countdown.vue.cjs");;/* empty css */const x=require("../../../../../../_virtual/_plugin-vue_export-helper.cjs"),B={class:"t-white t-center w-100 pos-relative gap-thin cols-2 pos-relative"},E={style:{"min-height":"20rem"},class:"desktop-only radius-big o-hidden bg-black pos-relative"},w=["src"],V=["src","type"],N={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"},z={class:"mn-b-big z-index-1 flex-nowrap flex gap-small"},S=["src"],C={class:"pd-thin z-index-1 w-max br-solid br-2px br-white radius-extra mn-b-thin"},j={class:"z-index-1 t-main mn-b-semi"},D={class:"z-index-1 p-big mn-b-semi"},T={class:"z-index-1 t-transp p-small mn-b-thin"},q={key:0,class:"mn-l-micro bg-white t-black pd-t-nano pd-b-nano pd-r-micro pd-l-micro radius-extra"},H={key:1,class:"z-index-1 mn-t-medium mn-b-small flex-nowrap flex gap-thin"},L=["src"],M=["src"],O={__name:"HeroEvent",props:{content:{type:Object},options:{type:Object}},setup(t){const v=t,o=e.ref(null);var i=!1;function k(){o.value.onplaying=function(){i=!0},o.value.onpause=function(){i=!1}}function b(n){return n.endsWith(".mp4")?"video/mp4":n.endsWith(".webm")?"video/webm":""}async function h(){if(o.value.paused&&!i)return o.value.play()}e.onMounted(()=>{k(),h()});function g(){var n;gtag("event","buy_ticket",{event_category:"conversion",event_label:"Buy Ticket"}),window.open((n=v.content)==null?void 0:n.ticketLinkStripe)}return(n,l)=>{var c,a,s,r,d,m,u,p;return e.openBlock(),e.createElementBlock("section",B,[e.createElementVNode("div",E,[t.content.cover&&!t.content.video?(e.openBlock(),e.createElementBlock("img",{key:0,loading:"lazy",src:t.content.cover,class:"desktop-only object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"},null,8,w)):e.createCommentVNode("",!0),t.content.video?(e.openBlock(),e.createElementBlock("video",{key:1,style:{"object-fit":"cover"},ref_key:"videoElement",ref:o,class:"pos-absolute pos-t-0 pos-l-0 w-100 h-100",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:"",itemprop:"video",type:"video/webm"},[e.createElementVNode("source",{src:t.content.video,type:b(t.content.video)},null,8,V)],512)):e.createCommentVNode("",!0)]),e.createElementVNode("div",N,[e.createElementVNode("div",z,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.content.logos,y=>(e.openBlock(),e.createElementBlock("img",{loading:"lazy",class:"radius-thin object-fit-contain i-big",src:y},null,8,S))),256))]),e.createElementVNode("h3",C,e.toDisplayString((c=t.content)==null?void 0:c.subtitle),1),e.createElementVNode("h1",j,e.toDisplayString((a=t.content)==null?void 0:a.title),1),e.createElementVNode("p",D,e.toDisplayString((s=t.content)==null?void 0:s.description),1),e.createElementVNode("p",T,[e.createElementVNode("span",null,e.toDisplayString((r=t.content)==null?void 0:r.ticketText),1),(d=t.options)!=null&&d.price?(e.openBlock(),e.createElementBlock("span",q,e.toDisplayString((m=t.options)==null?void 0:m.price)+" "+e.toDisplayString(n.returnCurrency()),1)):e.createCommentVNode("",!0)]),t.options.date?(e.openBlock(),e.createBlock(f.default,{key:0,class:"z-index-1 mn-t-medium w-100 w-max-30r",date:t.options.date},null,8,["date"])):e.createCommentVNode("",!0),(u=t.content)!=null&&u.ticketLinkStripe?(e.openBlock(),e.createElementBlock("div",H,[e.createElementVNode("a",{href:"#",onClick:l[0]||(l[0]=y=>g()),class:"pd-l-medium pd-r-medium pd-t-small pd-b-small radius-extra uppercase t-medium t-black bg-white"},e.toDisplayString(((p=t.content)==null?void 0:p.ticketTextButton)||"Buy Ticket"),1)])):e.createCommentVNode("",!0),t.content.cover&&!t.content.video?(e.openBlock(),e.createElementBlock("img",{key:2,loading:"lazy",style:{"object-fit":"cover",opacity:"0.2"},src:t.content.cover,class:"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"},null,8,L)):e.createCommentVNode("",!0),t.content.video?(e.openBlock(),e.createElementBlock("video",{key:3,style:{"object-fit":"cover",opacity:"0.2"},ref_key:"videoElement",ref:o,class:"mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:"",src:t.content.video,itemprop:"video",type:"video/webm"},null,8,M)):e.createCommentVNode("",!0)])])}}},P=x.default(O,[["__scopeId","data-v-d462f954"]]);exports.default=P;
@@ -25,14 +25,14 @@ const S = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-rela
25
25
  setup(e) {
26
26
  const k = e, l = j(null);
27
27
  var a = !1;
28
- function x() {
28
+ function g() {
29
29
  l.value.onplaying = function() {
30
30
  a = !0;
31
31
  }, l.value.onpause = function() {
32
32
  a = !1;
33
33
  };
34
34
  }
35
- function g(i) {
35
+ function x(i) {
36
36
  return i.endsWith(".mp4") ? "video/mp4" : i.endsWith(".webm") ? "video/webm" : "";
37
37
  }
38
38
  async function w() {
@@ -40,7 +40,7 @@ const S = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-rela
40
40
  return l.value.play();
41
41
  }
42
42
  B(() => {
43
- x(), w();
43
+ g(), w();
44
44
  });
45
45
  function z() {
46
46
  var i;
@@ -50,11 +50,12 @@ const S = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-rela
50
50
  }), window.open((i = k.content) == null ? void 0 : i.ticketLinkStripe);
51
51
  }
52
52
  return (i, d) => {
53
- var r, u, m, p, v, b, y, h;
53
+ var r, u, m, p, y, v, b, h;
54
54
  return t(), o("section", S, [
55
55
  n("div", H, [
56
56
  e.content.cover && !e.content.video ? (t(), o("img", {
57
57
  key: 0,
58
+ loading: "lazy",
58
59
  src: e.content.cover,
59
60
  class: "desktop-only object-fit-cover pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"
60
61
  }, null, 8, N)) : s("", !0),
@@ -75,13 +76,14 @@ const S = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-rela
75
76
  }, [
76
77
  n("source", {
77
78
  src: e.content.video,
78
- type: g(e.content.video)
79
+ type: x(e.content.video)
79
80
  }, null, 8, O)
80
81
  ], 512)) : s("", !0)
81
82
  ]),
82
83
  n("div", P, [
83
84
  n("div", W, [
84
85
  (t(!0), o(E, null, T(e.content.logos, (f) => (t(), o("img", {
86
+ loading: "lazy",
85
87
  class: "radius-thin object-fit-contain i-big",
86
88
  src: f
87
89
  }, null, 8, $))), 256))
@@ -91,14 +93,14 @@ const S = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-rela
91
93
  n("p", F, c((m = e.content) == null ? void 0 : m.description), 1),
92
94
  n("p", I, [
93
95
  n("span", null, c((p = e.content) == null ? void 0 : p.ticketText), 1),
94
- (v = e.options) != null && v.price ? (t(), o("span", M, c((b = e.options) == null ? void 0 : b.price) + " " + c(i.returnCurrency()), 1)) : s("", !0)
96
+ (y = e.options) != null && y.price ? (t(), o("span", M, c((v = e.options) == null ? void 0 : v.price) + " " + c(i.returnCurrency()), 1)) : s("", !0)
95
97
  ]),
96
98
  e.options.date ? (t(), V(C, {
97
99
  key: 0,
98
100
  class: "z-index-1 mn-t-medium w-100 w-max-30r",
99
101
  date: e.options.date
100
102
  }, null, 8, ["date"])) : s("", !0),
101
- (y = e.content) != null && y.ticketLinkStripe ? (t(), o("div", q, [
103
+ (b = e.content) != null && b.ticketLinkStripe ? (t(), o("div", q, [
102
104
  n("a", {
103
105
  href: "#",
104
106
  onClick: d[0] || (d[0] = (f) => z()),
@@ -107,6 +109,7 @@ const S = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-rela
107
109
  ])) : s("", !0),
108
110
  e.content.cover && !e.content.video ? (t(), o("img", {
109
111
  key: 2,
112
+ loading: "lazy",
110
113
  style: { "object-fit": "cover", opacity: "0.2" },
111
114
  src: e.content.cover,
112
115
  class: "mobile-only pos-absolute z-index-0 pos-t-0 pos-l-0 w-100 h-100"
@@ -131,7 +134,7 @@ const S = { class: "t-white t-center w-100 pos-relative gap-thin cols-2 pos-rela
131
134
  ]);
132
135
  };
133
136
  }
134
- }, _ = /* @__PURE__ */ L(K, [["__scopeId", "data-v-ec952edd"]]);
137
+ }, _ = /* @__PURE__ */ L(K, [["__scopeId", "data-v-d462f954"]]);
135
138
  export {
136
139
  _ as default
137
140
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("vue-i18n"),T={class:"cols-2 gap-big pos-relative"},S={class:"cols-1 gap-small"},D=["src"],j={class:"t-white bg-black pd-l-small pd-b-thin pd-t-thin pd-r-small h4 radius-extra uppercase t-nye204"},A={key:1,class:"pd-small radius-big bg-second flex flex-center gap-small p-medium t-medium t-white"},I=["href"],L={class:"br-solid br-1px br-white-transp-10 o-hidden radius-big bg-black"},M=["src"],P={class:"pd-big flex-column flex w-100 h-100 gap-zero"},_={key:0,class:"t-unna t-nye204 mn-b-small"},O={key:1,class:"p-medium t-transp mn-b-big"},q={key:2,class:"flex-nowrap flex gap-thin"},z=["href"],R={__name:"SectionPreviousEvents",props:{content:{type:Object},options:{type:Object}},setup(t){const B=t;w.useI18n({messages:{en:{nye2024:{title:"Explore our exclusive party archive",titleTicket:"Are you ready?",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.",checkinblog:"CHECK IN INSTAGRAM"}}}});const n=e.ref(null);var o=!1;function N(){n.value.onplaying=function(){o=!0},n.value.onpause=function(){o=!1}}async function V(){if(n.value.paused&&!o)return n.value.play()}function C(){var i;gtag("event","buy_ticket",{event_category:"conversion",event_label:"Buy Ticket"}),window.open((i=B.options)==null?void 0:i.link)}return e.onMounted(()=>{N(),V()}),(i,l)=>{var c,a,s,r,d,u,m,p,k,h,v,y,g,b,f,x,E;return e.openBlock(),e.createElementBlock("div",T,[e.createElementVNode("div",S,[(c=t.options)!=null&&c.link?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:l[0]||(l[0]=G=>C()),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"},[(a=t.content)!=null&&a.ticket?(e.openBlock(),e.createElementBlock("img",{key:0,class:"w-80",src:(s=t.content)==null?void 0:s.ticket},null,8,D)):e.createCommentVNode("",!0),e.createElementVNode("a",j,e.toDisplayString(((r=t.content)==null?void 0:r.ticketTextButton)||"Buy Ticket"),1)])):e.createCommentVNode("",!0),(d=t.content)!=null&&d.paymentContact?(e.openBlock(),e.createElementBlock("p",A,[e.createElementVNode("span",null,e.toDisplayString((u=t.content)==null?void 0:u.paymentText),1),e.createElementVNode("a",{class:"t-black bg-white radius-extra pd-thin",href:(m=t.content)==null?void 0:m.paymentContactURL,target:"_blank"},e.toDisplayString((p=t.content)==null?void 0:p.paymentContact),9,I)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",L,[(k=t.options)!=null&&k.video?(e.openBlock(),e.createElementBlock("video",{key:0,style:{"max-height":"20rem","object-fit":"cover"},ref_key:"videoElement",ref:n,class:"pos-t-0 pos-l-0 w-100 h-auto",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:"",src:(h=t.options)==null?void 0:h.video,itemprop:"video",type:"video/mp4"},null,8,M)):e.createCommentVNode("",!0),e.createElementVNode("div",P,[(v=t.content)!=null&&v.previousTitle?(e.openBlock(),e.createElementBlock("h3",_,e.toDisplayString((y=t.content)==null?void 0:y.previousTitle),1)):e.createCommentVNode("",!0),(g=t.content)!=null&&g.previousDescription?(e.openBlock(),e.createElementBlock("p",O,e.toDisplayString((b=t.content)==null?void 0:b.previousDescription),1)):e.createCommentVNode("",!0),(f=t.content)!=null&&f.previousLink?(e.openBlock(),e.createElementBlock("div",q,[e.createElementVNode("a",{href:(x=t.content)==null?void 0:x.previousLink,target:"_blank",class:"pd-l-medium pd-r-medium pd-t-small pd-b-small t-black radius-extra uppercase t-medium bg-white"},e.toDisplayString(((E=t.content)==null?void 0:E.previousLinkText)||"Check"),9,z)])):e.createCommentVNode("",!0)])])])}}};exports.default=R;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("vue-i18n"),T={class:"cols-2 gap-big pos-relative"},S={class:"cols-1 gap-small"},D=["src"],j={class:"t-white bg-black pd-l-small pd-b-thin pd-t-thin pd-r-small h4 radius-extra uppercase t-nye204"},A={key:1,class:"pd-small radius-big bg-second flex flex-center gap-small p-medium t-medium t-white"},I=["href"],L={class:"br-solid br-1px br-white-transp-10 o-hidden radius-big bg-black"},M=["src"],P={class:"pd-big flex-column flex w-100 h-100 gap-zero"},_={key:0,class:"t-unna t-nye204 mn-b-small"},z={key:1,class:"p-medium t-transp mn-b-big"},O={key:2,class:"flex-nowrap flex gap-thin"},q=["href"],R={__name:"SectionPreviousEvents",props:{content:{type:Object},options:{type:Object}},setup(t){const B=t;w.useI18n({messages:{en:{nye2024:{title:"Explore our exclusive party archive",titleTicket:"Are you ready?",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.",checkinblog:"CHECK IN INSTAGRAM"}}}});const n=e.ref(null);var o=!1;function N(){n.value.onplaying=function(){o=!0},n.value.onpause=function(){o=!1}}async function V(){if(n.value.paused&&!o)return n.value.play()}function C(){var i;gtag("event","buy_ticket",{event_category:"conversion",event_label:"Buy Ticket"}),window.open((i=B.options)==null?void 0:i.link)}return e.onMounted(()=>{N(),V()}),(i,l)=>{var c,a,s,r,d,u,m,p,k,h,y,v,g,b,f,x,E;return e.openBlock(),e.createElementBlock("div",T,[e.createElementVNode("div",S,[(c=t.options)!=null&&c.link?(e.openBlock(),e.createElementBlock("a",{key:0,onClick:l[0]||(l[0]=G=>C()),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"},[(a=t.content)!=null&&a.ticket?(e.openBlock(),e.createElementBlock("img",{key:0,loading:"lazy",class:"w-80",src:(s=t.content)==null?void 0:s.ticket},null,8,D)):e.createCommentVNode("",!0),e.createElementVNode("a",j,e.toDisplayString(((r=t.content)==null?void 0:r.ticketTextButton)||"Buy Ticket"),1)])):e.createCommentVNode("",!0),(d=t.content)!=null&&d.paymentContact?(e.openBlock(),e.createElementBlock("p",A,[e.createElementVNode("span",null,e.toDisplayString((u=t.content)==null?void 0:u.paymentText),1),e.createElementVNode("a",{class:"t-black bg-white radius-extra pd-thin",href:(m=t.content)==null?void 0:m.paymentContactURL,target:"_blank"},e.toDisplayString((p=t.content)==null?void 0:p.paymentContact),9,I)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",L,[(k=t.options)!=null&&k.video?(e.openBlock(),e.createElementBlock("video",{key:0,style:{"max-height":"20rem","object-fit":"cover"},ref_key:"videoElement",ref:n,class:"pos-t-0 pos-l-0 w-100 h-auto",preload:"",autoplay:"",muted:"",loop:"",playsinlineclass:"",playsinline:"",src:(h=t.options)==null?void 0:h.video,itemprop:"video",type:"video/mp4"},null,8,M)):e.createCommentVNode("",!0),e.createElementVNode("div",P,[(y=t.content)!=null&&y.previousTitle?(e.openBlock(),e.createElementBlock("h3",_,e.toDisplayString((v=t.content)==null?void 0:v.previousTitle),1)):e.createCommentVNode("",!0),(g=t.content)!=null&&g.previousDescription?(e.openBlock(),e.createElementBlock("p",z,e.toDisplayString((b=t.content)==null?void 0:b.previousDescription),1)):e.createCommentVNode("",!0),(f=t.content)!=null&&f.previousLink?(e.openBlock(),e.createElementBlock("div",O,[e.createElementVNode("a",{href:(x=t.content)==null?void 0:x.previousLink,target:"_blank",class:"pd-l-medium pd-r-medium pd-t-small pd-b-small t-black radius-extra uppercase t-medium bg-white"},e.toDisplayString(((E=t.content)==null?void 0:E.previousLinkText)||"Check"),9,q)])):e.createCommentVNode("",!0)])])])}}};exports.default=R;
@@ -1,6 +1,6 @@
1
1
  import { ref as V, onMounted as j, openBlock as t, createElementBlock as n, createElementVNode as i, createCommentVNode as o, toDisplayString as a } from "vue";
2
- import { useI18n as I } from "vue-i18n";
3
- const P = { class: "cols-2 gap-big pos-relative" }, S = { class: "cols-1 gap-small" }, z = ["src"], M = { class: "t-white bg-black pd-l-small pd-b-thin pd-t-thin pd-r-small h4 radius-extra uppercase t-nye204" }, O = {
2
+ import { useI18n as z } from "vue-i18n";
3
+ const I = { class: "cols-2 gap-big pos-relative" }, P = { class: "cols-1 gap-small" }, S = ["src"], M = { class: "t-white bg-black pd-l-small pd-b-thin pd-t-thin pd-r-small h4 radius-extra uppercase t-nye204" }, O = {
4
4
  key: 1,
5
5
  class: "pd-small radius-big bg-second flex flex-center gap-small p-medium t-medium t-white"
6
6
  }, R = ["href"], _ = { class: "br-solid br-1px br-white-transp-10 o-hidden radius-big bg-black" }, G = ["src"], H = { class: "pd-big flex-column flex w-100 h-100 gap-zero" }, K = {
@@ -24,7 +24,7 @@ const P = { class: "cols-2 gap-big pos-relative" }, S = { class: "cols-1 gap-sma
24
24
  },
25
25
  setup(e) {
26
26
  const A = e;
27
- I({
27
+ z({
28
28
  messages: {
29
29
  en: {
30
30
  nye2024: {
@@ -60,8 +60,8 @@ const P = { class: "cols-2 gap-big pos-relative" }, S = { class: "cols-1 gap-sma
60
60
  D(), L();
61
61
  }), (c, r) => {
62
62
  var d, u, m, p, h, v, y, g, k, b, f, x, w, T, C, E, B;
63
- return t(), n("div", P, [
64
- i("div", S, [
63
+ return t(), n("div", I, [
64
+ i("div", P, [
65
65
  (d = e.options) != null && d.link ? (t(), n("a", {
66
66
  key: 0,
67
67
  onClick: r[0] || (r[0] = (F) => N()),
@@ -70,9 +70,10 @@ const P = { class: "cols-2 gap-big pos-relative" }, S = { class: "cols-1 gap-sma
70
70
  }, [
71
71
  (u = e.content) != null && u.ticket ? (t(), n("img", {
72
72
  key: 0,
73
+ loading: "lazy",
73
74
  class: "w-80",
74
75
  src: (m = e.content) == null ? void 0 : m.ticket
75
- }, null, 8, z)) : o("", !0),
76
+ }, null, 8, S)) : o("", !0),
76
77
  i("a", M, a(((p = e.content) == null ? void 0 : p.ticketTextButton) || "Buy Ticket"), 1)
77
78
  ])) : o("", !0),
78
79
  (h = e.content) != null && h.paymentContact ? (t(), n("p", O, [
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("vue-i18n");const u=require("../../../organizations/components/blocks/Socials.vue.cjs"),b={class:"o-hidden bg-black-transp-15 bg-blur-extra t-white pos-relative radius-big gap-zero pos-relative"},p={class:"t-center w-100 pd-small br-b br-white-transp-20 br-solid"},g={style:{"max-height":"100%"},class:"cols-1 gap-semi"},h={class:"o-hidden mn-b-semi bg-black radius-big h-4r w-4r pos-relative"},_=["src"],k={class:"d-block uppercase mn-b-small t-semi"},m={class:"t-semi mn-b-small d-block uppercase t-main"},v={class:"t-transp mn-b-semi p-medium"},E={__name:"SectionSpecialGuests",props:{content:{type:Object}},setup(t){return(w,S)=>{var o,a;return e.openBlock(),e.createElementBlock("div",b,[e.createElementVNode("h3",p,e.toDisplayString((o=t.content)==null?void 0:o.title),1),e.createElementVNode("div",g,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=t.content)==null?void 0:a.guests,(s,d)=>{var l,c,r,n,i;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["pd-medium br-solid",{"br-solid br-b br-white-transp-10":d<((l=t.content)==null?void 0:l.guests.length)-1}])},[e.createElementVNode("div",h,[e.createElementVNode("img",{class:"w-100 h-100 object-fit-cover",src:s.photo},null,8,_)]),e.createElementVNode("h4",k,e.toDisplayString(s.name),1),e.createElementVNode("span",m,e.toDisplayString(s.time),1),e.createElementVNode("p",v,e.toDisplayString(s.description),1),s!=null&&s.socials?(e.openBlock(),e.createBlock(u.default,{key:0,telegram:(c=s==null?void 0:s.socials)==null?void 0:c.telegram,facebook:(r=s==null?void 0:s.socials)==null?void 0:r.facebook,instagram:(n=s==null?void 0:s.socials)==null?void 0:n.instagram,twitter:(i=s==null?void 0:s.socials)==null?void 0:i.twitter},null,8,["telegram","facebook","instagram","twitter"])):e.createCommentVNode("",!0)],2)}),256))])])}}};exports.default=E;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("vue-i18n");const u=require("../../../organizations/components/blocks/Socials.vue.cjs"),b={class:"o-hidden bg-black-transp-15 bg-blur-extra t-white pos-relative radius-big gap-zero pos-relative"},p={class:"t-center w-100 pd-small br-b br-white-transp-20 br-solid"},g={style:{"max-height":"100%"},class:"cols-1 gap-semi"},h={class:"o-hidden mn-b-semi bg-black radius-big h-4r w-4r pos-relative"},_=["src"],k={class:"d-block uppercase mn-b-small t-semi"},m={class:"t-semi mn-b-small d-block uppercase t-main"},v={class:"t-transp mn-b-semi p-medium"},E={__name:"SectionSpecialGuests",props:{content:{type:Object}},setup(t){return(w,y)=>{var o,a;return e.openBlock(),e.createElementBlock("div",b,[e.createElementVNode("h3",p,e.toDisplayString((o=t.content)==null?void 0:o.title),1),e.createElementVNode("div",g,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=t.content)==null?void 0:a.guests,(s,d)=>{var l,c,r,n,i;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["pd-medium br-solid",{"br-solid br-b br-white-transp-10":d<((l=t.content)==null?void 0:l.guests.length)-1}])},[e.createElementVNode("div",h,[e.createElementVNode("img",{loading:"lazy",class:"w-100 h-100 object-fit-cover",src:s.photo},null,8,_)]),e.createElementVNode("h4",k,e.toDisplayString(s.name),1),e.createElementVNode("span",m,e.toDisplayString(s.time),1),e.createElementVNode("p",v,e.toDisplayString(s.description),1),s!=null&&s.socials?(e.openBlock(),e.createBlock(u.default,{key:0,telegram:(c=s==null?void 0:s.socials)==null?void 0:c.telegram,facebook:(r=s==null?void 0:s.socials)==null?void 0:r.facebook,instagram:(n=s==null?void 0:s.socials)==null?void 0:n.instagram,twitter:(i=s==null?void 0:s.socials)==null?void 0:i.twitter},null,8,["telegram","facebook","instagram","twitter"])):e.createCommentVNode("",!0)],2)}),256))])])}}};exports.default=E;