@burdenoff/microfe-eventfullymanaged 2026.704.6 → 2026.704.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (856) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +20 -0
  2. package/dist/eventfullymanaged/api/eventApi.js +88 -87
  3. package/dist/eventfullymanaged/api/eventApi.js.map +1 -1
  4. package/dist/eventfullymanaged/components/EventCharts.js +260 -0
  5. package/dist/eventfullymanaged/components/EventCharts.js.map +1 -0
  6. package/dist/eventfullymanaged/components/index.js +1 -0
  7. package/dist/eventfullymanaged/lib/format.js +27 -0
  8. package/dist/eventfullymanaged/lib/format.js.map +1 -0
  9. package/dist/eventfullymanaged/pages/dashboard/DashboardPage.js +222 -78
  10. package/dist/eventfullymanaged/pages/dashboard/DashboardPage.js.map +1 -1
  11. package/dist/eventfullymanaged/pages/events/EventDetailPage.js +691 -347
  12. package/dist/eventfullymanaged/pages/events/EventDetailPage.js.map +1 -1
  13. package/dist/eventfullymanaged/pages/events/EventFormPage.js +14 -0
  14. package/dist/eventfullymanaged/pages/events/EventFormPage.js.map +1 -1
  15. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorsPage.js +240 -122
  16. package/dist/eventfullymanaged/pages/exhibitors/ExhibitorsPage.js.map +1 -1
  17. package/dist/eventfullymanaged/pages/leads/LeadCaptureDialog.js +60 -50
  18. package/dist/eventfullymanaged/pages/leads/LeadCaptureDialog.js.map +1 -1
  19. package/dist/eventfullymanaged/pages/modules/AnalyticsPage.js +318 -108
  20. package/dist/eventfullymanaged/pages/modules/AnalyticsPage.js.map +1 -1
  21. package/dist/eventfullymanaged/pages/modules/CommunicationPage.js +288 -204
  22. package/dist/eventfullymanaged/pages/modules/CommunicationPage.js.map +1 -1
  23. package/dist/eventfullymanaged/pages/modules/EventsPage.js +313 -98
  24. package/dist/eventfullymanaged/pages/modules/EventsPage.js.map +1 -1
  25. package/dist/eventfullymanaged/pages/modules/KioskPage.js +597 -397
  26. package/dist/eventfullymanaged/pages/modules/KioskPage.js.map +1 -1
  27. package/dist/eventfullymanaged/pages/modules/NetworkingPage.js +349 -148
  28. package/dist/eventfullymanaged/pages/modules/NetworkingPage.js.map +1 -1
  29. package/dist/eventfullymanaged/pages/modules/RegistrationPage.js +329 -215
  30. package/dist/eventfullymanaged/pages/modules/RegistrationPage.js.map +1 -1
  31. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.js +147 -100
  32. package/dist/eventfullymanaged/pages/modules/SponsorDetailsPage.js.map +1 -1
  33. package/dist/eventfullymanaged/pages/registration/AttendeeFormPage.js +25 -2
  34. package/dist/eventfullymanaged/pages/registration/AttendeeFormPage.js.map +1 -1
  35. package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.js +134 -76
  36. package/dist/eventfullymanaged/pages/registration/PromoCodeFormPage.js.map +1 -1
  37. package/dist/eventfullymanaged/pages/registration/RegisterAttendeePage.js +661 -305
  38. package/dist/eventfullymanaged/pages/registration/RegisterAttendeePage.js.map +1 -1
  39. package/dist/eventfullymanaged/pages/speakers/SpeakersPage.js +198 -77
  40. package/dist/eventfullymanaged/pages/speakers/SpeakersPage.js.map +1 -1
  41. package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.js +254 -135
  42. package/dist/eventfullymanaged/pages/sponsors/SponsorsListPage.js.map +1 -1
  43. package/dist/eventfullymanaged/pages/venues/FloorPlansPage.js +335 -116
  44. package/dist/eventfullymanaged/pages/venues/FloorPlansPage.js.map +1 -1
  45. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.js +73 -45
  46. package/dist/eventfullymanaged/pages/venues/VenueDetailPage.js.map +1 -1
  47. package/dist/eventfullymanaged/pages/venues/VenueFormPage.js +101 -100
  48. package/dist/eventfullymanaged/pages/venues/VenueFormPage.js.map +1 -1
  49. package/dist/eventfullymanaged/pages/venues/VenueListPage.js +147 -104
  50. package/dist/eventfullymanaged/pages/venues/VenueListPage.js.map +1 -1
  51. package/dist/node_modules/clsx/dist/clsx.js +18 -0
  52. package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
  53. package/dist/node_modules/d3-array/src/ascending.js +8 -0
  54. package/dist/node_modules/d3-array/src/ascending.js.map +1 -0
  55. package/dist/node_modules/d3-array/src/bisect.js +10 -0
  56. package/dist/node_modules/d3-array/src/bisect.js.map +1 -0
  57. package/dist/node_modules/d3-array/src/bisector.js +43 -0
  58. package/dist/node_modules/d3-array/src/bisector.js.map +1 -0
  59. package/dist/node_modules/d3-array/src/descending.js +8 -0
  60. package/dist/node_modules/d3-array/src/descending.js.map +1 -0
  61. package/dist/node_modules/d3-array/src/max.js +14 -0
  62. package/dist/node_modules/d3-array/src/max.js.map +1 -0
  63. package/dist/node_modules/d3-array/src/min.js +14 -0
  64. package/dist/node_modules/d3-array/src/min.js.map +1 -0
  65. package/dist/node_modules/d3-array/src/number.js +15 -0
  66. package/dist/node_modules/d3-array/src/number.js.map +1 -0
  67. package/dist/node_modules/d3-array/src/quantile.js +25 -0
  68. package/dist/node_modules/d3-array/src/quantile.js.map +1 -0
  69. package/dist/node_modules/d3-array/src/quickselect.js +26 -0
  70. package/dist/node_modules/d3-array/src/quickselect.js.map +1 -0
  71. package/dist/node_modules/d3-array/src/range.js +10 -0
  72. package/dist/node_modules/d3-array/src/range.js.map +1 -0
  73. package/dist/node_modules/d3-array/src/sort.js +17 -0
  74. package/dist/node_modules/d3-array/src/sort.js.map +1 -0
  75. package/dist/node_modules/d3-array/src/ticks.js +34 -0
  76. package/dist/node_modules/d3-array/src/ticks.js.map +1 -0
  77. package/dist/node_modules/d3-color/src/color.js +291 -0
  78. package/dist/node_modules/d3-color/src/color.js.map +1 -0
  79. package/dist/node_modules/d3-color/src/define.js +13 -0
  80. package/dist/node_modules/d3-color/src/define.js.map +1 -0
  81. package/dist/node_modules/d3-format/src/defaultLocale.js +15 -0
  82. package/dist/node_modules/d3-format/src/defaultLocale.js.map +1 -0
  83. package/dist/node_modules/d3-format/src/exponent.js +9 -0
  84. package/dist/node_modules/d3-format/src/exponent.js.map +1 -0
  85. package/dist/node_modules/d3-format/src/formatDecimal.js +13 -0
  86. package/dist/node_modules/d3-format/src/formatDecimal.js.map +1 -0
  87. package/dist/node_modules/d3-format/src/formatGroup.js +11 -0
  88. package/dist/node_modules/d3-format/src/formatGroup.js.map +1 -0
  89. package/dist/node_modules/d3-format/src/formatNumerals.js +12 -0
  90. package/dist/node_modules/d3-format/src/formatNumerals.js.map +1 -0
  91. package/dist/node_modules/d3-format/src/formatPrefixAuto.js +13 -0
  92. package/dist/node_modules/d3-format/src/formatPrefixAuto.js.map +1 -0
  93. package/dist/node_modules/d3-format/src/formatRounded.js +12 -0
  94. package/dist/node_modules/d3-format/src/formatRounded.js.map +1 -0
  95. package/dist/node_modules/d3-format/src/formatSpecifier.js +29 -0
  96. package/dist/node_modules/d3-format/src/formatSpecifier.js.map +1 -0
  97. package/dist/node_modules/d3-format/src/formatTrim.js +20 -0
  98. package/dist/node_modules/d3-format/src/formatTrim.js.map +1 -0
  99. package/dist/node_modules/d3-format/src/formatTypes.js +23 -0
  100. package/dist/node_modules/d3-format/src/formatTypes.js.map +1 -0
  101. package/dist/node_modules/d3-format/src/identity.js +8 -0
  102. package/dist/node_modules/d3-format/src/identity.js.map +1 -0
  103. package/dist/node_modules/d3-format/src/locale.js +86 -0
  104. package/dist/node_modules/d3-format/src/locale.js.map +1 -0
  105. package/dist/node_modules/d3-format/src/precisionFixed.js +9 -0
  106. package/dist/node_modules/d3-format/src/precisionFixed.js.map +1 -0
  107. package/dist/node_modules/d3-format/src/precisionPrefix.js +9 -0
  108. package/dist/node_modules/d3-format/src/precisionPrefix.js.map +1 -0
  109. package/dist/node_modules/d3-format/src/precisionRound.js +9 -0
  110. package/dist/node_modules/d3-format/src/precisionRound.js.map +1 -0
  111. package/dist/node_modules/d3-interpolate/src/array.js +15 -0
  112. package/dist/node_modules/d3-interpolate/src/array.js.map +1 -0
  113. package/dist/node_modules/d3-interpolate/src/basis.js +16 -0
  114. package/dist/node_modules/d3-interpolate/src/basis.js.map +1 -0
  115. package/dist/node_modules/d3-interpolate/src/basisClosed.js +13 -0
  116. package/dist/node_modules/d3-interpolate/src/basisClosed.js.map +1 -0
  117. package/dist/node_modules/d3-interpolate/src/color.js +25 -0
  118. package/dist/node_modules/d3-interpolate/src/color.js.map +1 -0
  119. package/dist/node_modules/d3-interpolate/src/constant.js +6 -0
  120. package/dist/node_modules/d3-interpolate/src/constant.js.map +1 -0
  121. package/dist/node_modules/d3-interpolate/src/date.js +11 -0
  122. package/dist/node_modules/d3-interpolate/src/date.js.map +1 -0
  123. package/dist/node_modules/d3-interpolate/src/number.js +10 -0
  124. package/dist/node_modules/d3-interpolate/src/number.js.map +1 -0
  125. package/dist/node_modules/d3-interpolate/src/numberArray.js +16 -0
  126. package/dist/node_modules/d3-interpolate/src/numberArray.js.map +1 -0
  127. package/dist/node_modules/d3-interpolate/src/object.js +14 -0
  128. package/dist/node_modules/d3-interpolate/src/object.js.map +1 -0
  129. package/dist/node_modules/d3-interpolate/src/piecewise.js +14 -0
  130. package/dist/node_modules/d3-interpolate/src/piecewise.js.map +1 -0
  131. package/dist/node_modules/d3-interpolate/src/rgb.js +19 -0
  132. package/dist/node_modules/d3-interpolate/src/rgb.js.map +1 -0
  133. package/dist/node_modules/d3-interpolate/src/round.js +10 -0
  134. package/dist/node_modules/d3-interpolate/src/round.js.map +1 -0
  135. package/dist/node_modules/d3-interpolate/src/string.js +28 -0
  136. package/dist/node_modules/d3-interpolate/src/string.js.map +1 -0
  137. package/dist/node_modules/d3-interpolate/src/value.js +18 -0
  138. package/dist/node_modules/d3-interpolate/src/value.js.map +1 -0
  139. package/dist/node_modules/d3-path/src/path.js +65 -0
  140. package/dist/node_modules/d3-path/src/path.js.map +1 -0
  141. package/dist/node_modules/d3-scale/src/band.js +52 -0
  142. package/dist/node_modules/d3-scale/src/band.js.map +1 -0
  143. package/dist/node_modules/d3-scale/src/constant.js +10 -0
  144. package/dist/node_modules/d3-scale/src/constant.js.map +1 -0
  145. package/dist/node_modules/d3-scale/src/continuous.js +73 -0
  146. package/dist/node_modules/d3-scale/src/continuous.js.map +1 -0
  147. package/dist/node_modules/d3-scale/src/diverging.js +82 -0
  148. package/dist/node_modules/d3-scale/src/diverging.js.map +1 -0
  149. package/dist/node_modules/d3-scale/src/identity.js +20 -0
  150. package/dist/node_modules/d3-scale/src/identity.js.map +1 -0
  151. package/dist/node_modules/d3-scale/src/init.js +29 -0
  152. package/dist/node_modules/d3-scale/src/init.js.map +1 -0
  153. package/dist/node_modules/d3-scale/src/linear.js +36 -0
  154. package/dist/node_modules/d3-scale/src/linear.js.map +1 -0
  155. package/dist/node_modules/d3-scale/src/log.js +77 -0
  156. package/dist/node_modules/d3-scale/src/log.js.map +1 -0
  157. package/dist/node_modules/d3-scale/src/nice.js +10 -0
  158. package/dist/node_modules/d3-scale/src/nice.js.map +1 -0
  159. package/dist/node_modules/d3-scale/src/number.js +8 -0
  160. package/dist/node_modules/d3-scale/src/number.js.map +1 -0
  161. package/dist/node_modules/d3-scale/src/ordinal.js +31 -0
  162. package/dist/node_modules/d3-scale/src/ordinal.js.map +1 -0
  163. package/dist/node_modules/d3-scale/src/pow.js +37 -0
  164. package/dist/node_modules/d3-scale/src/pow.js.map +1 -0
  165. package/dist/node_modules/d3-scale/src/quantile.js +37 -0
  166. package/dist/node_modules/d3-scale/src/quantile.js.map +1 -0
  167. package/dist/node_modules/d3-scale/src/quantize.js +33 -0
  168. package/dist/node_modules/d3-scale/src/quantize.js.map +1 -0
  169. package/dist/node_modules/d3-scale/src/radial.js +39 -0
  170. package/dist/node_modules/d3-scale/src/radial.js.map +1 -0
  171. package/dist/node_modules/d3-scale/src/sequential.js +67 -0
  172. package/dist/node_modules/d3-scale/src/sequential.js.map +1 -0
  173. package/dist/node_modules/d3-scale/src/sequentialQuantile.js +30 -0
  174. package/dist/node_modules/d3-scale/src/sequentialQuantile.js.map +1 -0
  175. package/dist/node_modules/d3-scale/src/symlog.js +30 -0
  176. package/dist/node_modules/d3-scale/src/symlog.js.map +1 -0
  177. package/dist/node_modules/d3-scale/src/threshold.js +25 -0
  178. package/dist/node_modules/d3-scale/src/threshold.js.map +1 -0
  179. package/dist/node_modules/d3-scale/src/tickFormat.js +31 -0
  180. package/dist/node_modules/d3-scale/src/tickFormat.js.map +1 -0
  181. package/dist/node_modules/d3-scale/src/time.js +47 -0
  182. package/dist/node_modules/d3-scale/src/time.js.map +1 -0
  183. package/dist/node_modules/d3-scale/src/utcTime.js +19 -0
  184. package/dist/node_modules/d3-scale/src/utcTime.js.map +1 -0
  185. package/dist/node_modules/d3-shape/src/area.js +55 -0
  186. package/dist/node_modules/d3-shape/src/area.js.map +1 -0
  187. package/dist/node_modules/d3-shape/src/array.js +8 -0
  188. package/dist/node_modules/d3-shape/src/array.js.map +1 -0
  189. package/dist/node_modules/d3-shape/src/constant.js +10 -0
  190. package/dist/node_modules/d3-shape/src/constant.js.map +1 -0
  191. package/dist/node_modules/d3-shape/src/curve/basis.js +49 -0
  192. package/dist/node_modules/d3-shape/src/curve/basis.js.map +1 -0
  193. package/dist/node_modules/d3-shape/src/curve/basisClosed.js +50 -0
  194. package/dist/node_modules/d3-shape/src/curve/basisClosed.js.map +1 -0
  195. package/dist/node_modules/d3-shape/src/curve/basisOpen.js +46 -0
  196. package/dist/node_modules/d3-shape/src/curve/basisOpen.js.map +1 -0
  197. package/dist/node_modules/d3-shape/src/curve/bump.js +40 -0
  198. package/dist/node_modules/d3-shape/src/curve/bump.js.map +1 -0
  199. package/dist/node_modules/d3-shape/src/curve/linear.js +36 -0
  200. package/dist/node_modules/d3-shape/src/curve/linear.js.map +1 -0
  201. package/dist/node_modules/d3-shape/src/curve/linearClosed.js +25 -0
  202. package/dist/node_modules/d3-shape/src/curve/linearClosed.js.map +1 -0
  203. package/dist/node_modules/d3-shape/src/curve/monotone.js +94 -0
  204. package/dist/node_modules/d3-shape/src/curve/monotone.js.map +1 -0
  205. package/dist/node_modules/d3-shape/src/curve/natural.js +39 -0
  206. package/dist/node_modules/d3-shape/src/curve/natural.js.map +1 -0
  207. package/dist/node_modules/d3-shape/src/curve/step.js +47 -0
  208. package/dist/node_modules/d3-shape/src/curve/step.js.map +1 -0
  209. package/dist/node_modules/d3-shape/src/line.js +30 -0
  210. package/dist/node_modules/d3-shape/src/line.js.map +1 -0
  211. package/dist/node_modules/d3-shape/src/math.js +8 -0
  212. package/dist/node_modules/d3-shape/src/math.js.map +1 -0
  213. package/dist/node_modules/d3-shape/src/noop.js +6 -0
  214. package/dist/node_modules/d3-shape/src/noop.js.map +1 -0
  215. package/dist/node_modules/d3-shape/src/offset/expand.js +15 -0
  216. package/dist/node_modules/d3-shape/src/offset/expand.js.map +1 -0
  217. package/dist/node_modules/d3-shape/src/offset/none.js +8 -0
  218. package/dist/node_modules/d3-shape/src/offset/none.js.map +1 -0
  219. package/dist/node_modules/d3-shape/src/offset/silhouette.js +15 -0
  220. package/dist/node_modules/d3-shape/src/offset/silhouette.js.map +1 -0
  221. package/dist/node_modules/d3-shape/src/offset/wiggle.js +21 -0
  222. package/dist/node_modules/d3-shape/src/offset/wiggle.js.map +1 -0
  223. package/dist/node_modules/d3-shape/src/order/none.js +9 -0
  224. package/dist/node_modules/d3-shape/src/order/none.js.map +1 -0
  225. package/dist/node_modules/d3-shape/src/path.js +19 -0
  226. package/dist/node_modules/d3-shape/src/path.js.map +1 -0
  227. package/dist/node_modules/d3-shape/src/point.js +11 -0
  228. package/dist/node_modules/d3-shape/src/point.js.map +1 -0
  229. package/dist/node_modules/d3-shape/src/stack.js +34 -0
  230. package/dist/node_modules/d3-shape/src/stack.js.map +1 -0
  231. package/dist/node_modules/d3-shape/src/symbol/circle.js +10 -0
  232. package/dist/node_modules/d3-shape/src/symbol/circle.js.map +1 -0
  233. package/dist/node_modules/d3-shape/src/symbol/cross.js +10 -0
  234. package/dist/node_modules/d3-shape/src/symbol/cross.js.map +1 -0
  235. package/dist/node_modules/d3-shape/src/symbol/diamond.js +10 -0
  236. package/dist/node_modules/d3-shape/src/symbol/diamond.js.map +1 -0
  237. package/dist/node_modules/d3-shape/src/symbol/square.js +10 -0
  238. package/dist/node_modules/d3-shape/src/symbol/square.js.map +1 -0
  239. package/dist/node_modules/d3-shape/src/symbol/star.js +15 -0
  240. package/dist/node_modules/d3-shape/src/symbol/star.js.map +1 -0
  241. package/dist/node_modules/d3-shape/src/symbol/triangle.js +10 -0
  242. package/dist/node_modules/d3-shape/src/symbol/triangle.js.map +1 -0
  243. package/dist/node_modules/d3-shape/src/symbol/wye.js +10 -0
  244. package/dist/node_modules/d3-shape/src/symbol/wye.js.map +1 -0
  245. package/dist/node_modules/d3-shape/src/symbol.js +23 -0
  246. package/dist/node_modules/d3-shape/src/symbol.js.map +1 -0
  247. package/dist/node_modules/d3-time/src/day.js +21 -0
  248. package/dist/node_modules/d3-time/src/day.js.map +1 -0
  249. package/dist/node_modules/d3-time/src/duration.js +6 -0
  250. package/dist/node_modules/d3-time/src/duration.js.map +1 -0
  251. package/dist/node_modules/d3-time/src/hour.js +19 -0
  252. package/dist/node_modules/d3-time/src/hour.js.map +1 -0
  253. package/dist/node_modules/d3-time/src/interval.js +28 -0
  254. package/dist/node_modules/d3-time/src/interval.js.map +1 -0
  255. package/dist/node_modules/d3-time/src/millisecond.js +14 -0
  256. package/dist/node_modules/d3-time/src/millisecond.js.map +1 -0
  257. package/dist/node_modules/d3-time/src/minute.js +19 -0
  258. package/dist/node_modules/d3-time/src/minute.js.map +1 -0
  259. package/dist/node_modules/d3-time/src/month.js +18 -0
  260. package/dist/node_modules/d3-time/src/month.js.map +1 -0
  261. package/dist/node_modules/d3-time/src/second.js +13 -0
  262. package/dist/node_modules/d3-time/src/second.js.map +1 -0
  263. package/dist/node_modules/d3-time/src/ticks.js +125 -0
  264. package/dist/node_modules/d3-time/src/ticks.js.map +1 -0
  265. package/dist/node_modules/d3-time/src/week.js +25 -0
  266. package/dist/node_modules/d3-time/src/week.js.map +1 -0
  267. package/dist/node_modules/d3-time/src/year.js +26 -0
  268. package/dist/node_modules/d3-time/src/year.js.map +1 -0
  269. package/dist/node_modules/d3-time-format/src/defaultLocale.js +62 -0
  270. package/dist/node_modules/d3-time-format/src/defaultLocale.js.map +1 -0
  271. package/dist/node_modules/d3-time-format/src/locale.js +490 -0
  272. package/dist/node_modules/d3-time-format/src/locale.js.map +1 -0
  273. package/dist/node_modules/decimal.js-light/decimal.js +378 -0
  274. package/dist/node_modules/decimal.js-light/decimal.js.map +1 -0
  275. package/dist/node_modules/eventemitter3/index.js +95 -0
  276. package/dist/node_modules/eventemitter3/index.js.map +1 -0
  277. package/dist/node_modules/fast-equals/dist/es/index.js +267 -0
  278. package/dist/node_modules/fast-equals/dist/es/index.js.map +1 -0
  279. package/dist/node_modules/internmap/src/index.js +40 -0
  280. package/dist/node_modules/internmap/src/index.js.map +1 -0
  281. package/dist/node_modules/lodash/_DataView.js +12 -0
  282. package/dist/node_modules/lodash/_DataView.js.map +1 -0
  283. package/dist/node_modules/lodash/_Hash.js +23 -0
  284. package/dist/node_modules/lodash/_Hash.js.map +1 -0
  285. package/dist/node_modules/lodash/_ListCache.js +23 -0
  286. package/dist/node_modules/lodash/_ListCache.js.map +1 -0
  287. package/dist/node_modules/lodash/_Map.js +12 -0
  288. package/dist/node_modules/lodash/_Map.js.map +1 -0
  289. package/dist/node_modules/lodash/_MapCache.js +23 -0
  290. package/dist/node_modules/lodash/_MapCache.js.map +1 -0
  291. package/dist/node_modules/lodash/_Promise.js +12 -0
  292. package/dist/node_modules/lodash/_Promise.js.map +1 -0
  293. package/dist/node_modules/lodash/_Set.js +12 -0
  294. package/dist/node_modules/lodash/_Set.js.map +1 -0
  295. package/dist/node_modules/lodash/_SetCache.js +18 -0
  296. package/dist/node_modules/lodash/_SetCache.js.map +1 -0
  297. package/dist/node_modules/lodash/_Stack.js +20 -0
  298. package/dist/node_modules/lodash/_Stack.js.map +1 -0
  299. package/dist/node_modules/lodash/_Symbol.js +11 -0
  300. package/dist/node_modules/lodash/_Symbol.js.map +1 -0
  301. package/dist/node_modules/lodash/_Uint8Array.js +11 -0
  302. package/dist/node_modules/lodash/_Uint8Array.js.map +1 -0
  303. package/dist/node_modules/lodash/_WeakMap.js +12 -0
  304. package/dist/node_modules/lodash/_WeakMap.js.map +1 -0
  305. package/dist/node_modules/lodash/_apply.js +19 -0
  306. package/dist/node_modules/lodash/_apply.js.map +1 -0
  307. package/dist/node_modules/lodash/_arrayEvery.js +14 -0
  308. package/dist/node_modules/lodash/_arrayEvery.js.map +1 -0
  309. package/dist/node_modules/lodash/_arrayFilter.js +17 -0
  310. package/dist/node_modules/lodash/_arrayFilter.js.map +1 -0
  311. package/dist/node_modules/lodash/_arrayIncludes.js +15 -0
  312. package/dist/node_modules/lodash/_arrayIncludes.js.map +1 -0
  313. package/dist/node_modules/lodash/_arrayIncludesWith.js +14 -0
  314. package/dist/node_modules/lodash/_arrayIncludesWith.js.map +1 -0
  315. package/dist/node_modules/lodash/_arrayLikeKeys.js +22 -0
  316. package/dist/node_modules/lodash/_arrayLikeKeys.js.map +1 -0
  317. package/dist/node_modules/lodash/_arrayMap.js +14 -0
  318. package/dist/node_modules/lodash/_arrayMap.js.map +1 -0
  319. package/dist/node_modules/lodash/_arrayPush.js +14 -0
  320. package/dist/node_modules/lodash/_arrayPush.js.map +1 -0
  321. package/dist/node_modules/lodash/_arraySome.js +14 -0
  322. package/dist/node_modules/lodash/_arraySome.js.map +1 -0
  323. package/dist/node_modules/lodash/_asciiToArray.js +13 -0
  324. package/dist/node_modules/lodash/_asciiToArray.js.map +1 -0
  325. package/dist/node_modules/lodash/_assocIndexOf.js +16 -0
  326. package/dist/node_modules/lodash/_assocIndexOf.js.map +1 -0
  327. package/dist/node_modules/lodash/_baseAssignValue.js +20 -0
  328. package/dist/node_modules/lodash/_baseAssignValue.js.map +1 -0
  329. package/dist/node_modules/lodash/_baseEach.js +13 -0
  330. package/dist/node_modules/lodash/_baseEach.js.map +1 -0
  331. package/dist/node_modules/lodash/_baseEvery.js +18 -0
  332. package/dist/node_modules/lodash/_baseEvery.js.map +1 -0
  333. package/dist/node_modules/lodash/_baseExtremum.js +19 -0
  334. package/dist/node_modules/lodash/_baseExtremum.js.map +1 -0
  335. package/dist/node_modules/lodash/_baseFindIndex.js +14 -0
  336. package/dist/node_modules/lodash/_baseFindIndex.js.map +1 -0
  337. package/dist/node_modules/lodash/_baseFlatten.js +21 -0
  338. package/dist/node_modules/lodash/_baseFlatten.js.map +1 -0
  339. package/dist/node_modules/lodash/_baseFor.js +11 -0
  340. package/dist/node_modules/lodash/_baseFor.js.map +1 -0
  341. package/dist/node_modules/lodash/_baseForOwn.js +16 -0
  342. package/dist/node_modules/lodash/_baseForOwn.js.map +1 -0
  343. package/dist/node_modules/lodash/_baseGet.js +18 -0
  344. package/dist/node_modules/lodash/_baseGet.js.map +1 -0
  345. package/dist/node_modules/lodash/_baseGetAllKeys.js +17 -0
  346. package/dist/node_modules/lodash/_baseGetAllKeys.js.map +1 -0
  347. package/dist/node_modules/lodash/_baseGetTag.js +17 -0
  348. package/dist/node_modules/lodash/_baseGetTag.js.map +1 -0
  349. package/dist/node_modules/lodash/_baseGt.js +13 -0
  350. package/dist/node_modules/lodash/_baseGt.js.map +1 -0
  351. package/dist/node_modules/lodash/_baseHasIn.js +13 -0
  352. package/dist/node_modules/lodash/_baseHasIn.js.map +1 -0
  353. package/dist/node_modules/lodash/_baseIndexOf.js +17 -0
  354. package/dist/node_modules/lodash/_baseIndexOf.js.map +1 -0
  355. package/dist/node_modules/lodash/_baseIsArguments.js +16 -0
  356. package/dist/node_modules/lodash/_baseIsArguments.js.map +1 -0
  357. package/dist/node_modules/lodash/_baseIsEqual.js +16 -0
  358. package/dist/node_modules/lodash/_baseIsEqual.js.map +1 -0
  359. package/dist/node_modules/lodash/_baseIsEqualDeep.js +37 -0
  360. package/dist/node_modules/lodash/_baseIsEqualDeep.js.map +1 -0
  361. package/dist/node_modules/lodash/_baseIsMatch.js +33 -0
  362. package/dist/node_modules/lodash/_baseIsMatch.js.map +1 -0
  363. package/dist/node_modules/lodash/_baseIsNaN.js +13 -0
  364. package/dist/node_modules/lodash/_baseIsNaN.js.map +1 -0
  365. package/dist/node_modules/lodash/_baseIsNative.js +18 -0
  366. package/dist/node_modules/lodash/_baseIsNative.js.map +1 -0
  367. package/dist/node_modules/lodash/_baseIsTypedArray.js +18 -0
  368. package/dist/node_modules/lodash/_baseIsTypedArray.js.map +1 -0
  369. package/dist/node_modules/lodash/_baseIteratee.js +19 -0
  370. package/dist/node_modules/lodash/_baseIteratee.js.map +1 -0
  371. package/dist/node_modules/lodash/_baseKeys.js +19 -0
  372. package/dist/node_modules/lodash/_baseKeys.js.map +1 -0
  373. package/dist/node_modules/lodash/_baseLt.js +13 -0
  374. package/dist/node_modules/lodash/_baseLt.js.map +1 -0
  375. package/dist/node_modules/lodash/_baseMap.js +19 -0
  376. package/dist/node_modules/lodash/_baseMap.js.map +1 -0
  377. package/dist/node_modules/lodash/_baseMatches.js +20 -0
  378. package/dist/node_modules/lodash/_baseMatches.js.map +1 -0
  379. package/dist/node_modules/lodash/_baseMatchesProperty.js +24 -0
  380. package/dist/node_modules/lodash/_baseMatchesProperty.js.map +1 -0
  381. package/dist/node_modules/lodash/_baseOrderBy.js +39 -0
  382. package/dist/node_modules/lodash/_baseOrderBy.js.map +1 -0
  383. package/dist/node_modules/lodash/_baseProperty.js +15 -0
  384. package/dist/node_modules/lodash/_baseProperty.js.map +1 -0
  385. package/dist/node_modules/lodash/_basePropertyDeep.js +17 -0
  386. package/dist/node_modules/lodash/_basePropertyDeep.js.map +1 -0
  387. package/dist/node_modules/lodash/_baseRange.js +15 -0
  388. package/dist/node_modules/lodash/_baseRange.js.map +1 -0
  389. package/dist/node_modules/lodash/_baseRest.js +17 -0
  390. package/dist/node_modules/lodash/_baseRest.js.map +1 -0
  391. package/dist/node_modules/lodash/_baseSetToString.js +21 -0
  392. package/dist/node_modules/lodash/_baseSetToString.js.map +1 -0
  393. package/dist/node_modules/lodash/_baseSlice.js +16 -0
  394. package/dist/node_modules/lodash/_baseSlice.js.map +1 -0
  395. package/dist/node_modules/lodash/_baseSome.js +18 -0
  396. package/dist/node_modules/lodash/_baseSome.js.map +1 -0
  397. package/dist/node_modules/lodash/_baseSortBy.js +15 -0
  398. package/dist/node_modules/lodash/_baseSortBy.js.map +1 -0
  399. package/dist/node_modules/lodash/_baseTimes.js +14 -0
  400. package/dist/node_modules/lodash/_baseTimes.js.map +1 -0
  401. package/dist/node_modules/lodash/_baseToString.js +22 -0
  402. package/dist/node_modules/lodash/_baseToString.js.map +1 -0
  403. package/dist/node_modules/lodash/_baseTrim.js +15 -0
  404. package/dist/node_modules/lodash/_baseTrim.js.map +1 -0
  405. package/dist/node_modules/lodash/_baseUnary.js +15 -0
  406. package/dist/node_modules/lodash/_baseUnary.js.map +1 -0
  407. package/dist/node_modules/lodash/_baseUniq.js +34 -0
  408. package/dist/node_modules/lodash/_baseUniq.js.map +1 -0
  409. package/dist/node_modules/lodash/_cacheHas.js +13 -0
  410. package/dist/node_modules/lodash/_cacheHas.js.map +1 -0
  411. package/dist/node_modules/lodash/_castPath.js +18 -0
  412. package/dist/node_modules/lodash/_castPath.js.map +1 -0
  413. package/dist/node_modules/lodash/_castSlice.js +16 -0
  414. package/dist/node_modules/lodash/_castSlice.js.map +1 -0
  415. package/dist/node_modules/lodash/_compareAscending.js +20 -0
  416. package/dist/node_modules/lodash/_compareAscending.js.map +1 -0
  417. package/dist/node_modules/lodash/_compareMultiple.js +19 -0
  418. package/dist/node_modules/lodash/_compareMultiple.js.map +1 -0
  419. package/dist/node_modules/lodash/_coreJsData.js +11 -0
  420. package/dist/node_modules/lodash/_coreJsData.js.map +1 -0
  421. package/dist/node_modules/lodash/_createBaseEach.js +20 -0
  422. package/dist/node_modules/lodash/_createBaseEach.js.map +1 -0
  423. package/dist/node_modules/lodash/_createBaseFor.js +19 -0
  424. package/dist/node_modules/lodash/_createBaseFor.js.map +1 -0
  425. package/dist/node_modules/lodash/_createCaseFirst.js +22 -0
  426. package/dist/node_modules/lodash/_createCaseFirst.js.map +1 -0
  427. package/dist/node_modules/lodash/_createFind.js +27 -0
  428. package/dist/node_modules/lodash/_createFind.js.map +1 -0
  429. package/dist/node_modules/lodash/_createRange.js +19 -0
  430. package/dist/node_modules/lodash/_createRange.js.map +1 -0
  431. package/dist/node_modules/lodash/_createSet.js +16 -0
  432. package/dist/node_modules/lodash/_createSet.js.map +1 -0
  433. package/dist/node_modules/lodash/_defineProperty.js +17 -0
  434. package/dist/node_modules/lodash/_defineProperty.js.map +1 -0
  435. package/dist/node_modules/lodash/_equalArrays.js +42 -0
  436. package/dist/node_modules/lodash/_equalArrays.js.map +1 -0
  437. package/dist/node_modules/lodash/_equalByTag.js +42 -0
  438. package/dist/node_modules/lodash/_equalByTag.js.map +1 -0
  439. package/dist/node_modules/lodash/_equalObjects.js +39 -0
  440. package/dist/node_modules/lodash/_equalObjects.js.map +1 -0
  441. package/dist/node_modules/lodash/_freeGlobal.js +10 -0
  442. package/dist/node_modules/lodash/_freeGlobal.js.map +1 -0
  443. package/dist/node_modules/lodash/_getAllKeys.js +17 -0
  444. package/dist/node_modules/lodash/_getAllKeys.js.map +1 -0
  445. package/dist/node_modules/lodash/_getMapData.js +16 -0
  446. package/dist/node_modules/lodash/_getMapData.js.map +1 -0
  447. package/dist/node_modules/lodash/_getMatchData.js +24 -0
  448. package/dist/node_modules/lodash/_getMatchData.js.map +1 -0
  449. package/dist/node_modules/lodash/_getNative.js +17 -0
  450. package/dist/node_modules/lodash/_getNative.js.map +1 -0
  451. package/dist/node_modules/lodash/_getPrototype.js +11 -0
  452. package/dist/node_modules/lodash/_getPrototype.js.map +1 -0
  453. package/dist/node_modules/lodash/_getRawTag.js +21 -0
  454. package/dist/node_modules/lodash/_getRawTag.js.map +1 -0
  455. package/dist/node_modules/lodash/_getSymbols.js +17 -0
  456. package/dist/node_modules/lodash/_getSymbols.js.map +1 -0
  457. package/dist/node_modules/lodash/_getTag.js +28 -0
  458. package/dist/node_modules/lodash/_getTag.js.map +1 -0
  459. package/dist/node_modules/lodash/_getValue.js +13 -0
  460. package/dist/node_modules/lodash/_getValue.js.map +1 -0
  461. package/dist/node_modules/lodash/_hasPath.js +26 -0
  462. package/dist/node_modules/lodash/_hasPath.js.map +1 -0
  463. package/dist/node_modules/lodash/_hasUnicode.js +14 -0
  464. package/dist/node_modules/lodash/_hasUnicode.js.map +1 -0
  465. package/dist/node_modules/lodash/_hashClear.js +15 -0
  466. package/dist/node_modules/lodash/_hashClear.js.map +1 -0
  467. package/dist/node_modules/lodash/_hashDelete.js +14 -0
  468. package/dist/node_modules/lodash/_hashDelete.js.map +1 -0
  469. package/dist/node_modules/lodash/_hashGet.js +20 -0
  470. package/dist/node_modules/lodash/_hashGet.js.map +1 -0
  471. package/dist/node_modules/lodash/_hashHas.js +16 -0
  472. package/dist/node_modules/lodash/_hashHas.js.map +1 -0
  473. package/dist/node_modules/lodash/_hashSet.js +16 -0
  474. package/dist/node_modules/lodash/_hashSet.js.map +1 -0
  475. package/dist/node_modules/lodash/_isFlattenable.js +17 -0
  476. package/dist/node_modules/lodash/_isFlattenable.js.map +1 -0
  477. package/dist/node_modules/lodash/_isIndex.js +15 -0
  478. package/dist/node_modules/lodash/_isIndex.js.map +1 -0
  479. package/dist/node_modules/lodash/_isIterateeCall.js +20 -0
  480. package/dist/node_modules/lodash/_isIterateeCall.js.map +1 -0
  481. package/dist/node_modules/lodash/_isKey.js +18 -0
  482. package/dist/node_modules/lodash/_isKey.js.map +1 -0
  483. package/dist/node_modules/lodash/_isKeyable.js +14 -0
  484. package/dist/node_modules/lodash/_isKeyable.js.map +1 -0
  485. package/dist/node_modules/lodash/_isMasked.js +18 -0
  486. package/dist/node_modules/lodash/_isMasked.js.map +1 -0
  487. package/dist/node_modules/lodash/_isPrototype.js +15 -0
  488. package/dist/node_modules/lodash/_isPrototype.js.map +1 -0
  489. package/dist/node_modules/lodash/_isStrictComparable.js +15 -0
  490. package/dist/node_modules/lodash/_isStrictComparable.js.map +1 -0
  491. package/dist/node_modules/lodash/_listCacheClear.js +13 -0
  492. package/dist/node_modules/lodash/_listCacheClear.js.map +1 -0
  493. package/dist/node_modules/lodash/_listCacheDelete.js +16 -0
  494. package/dist/node_modules/lodash/_listCacheDelete.js.map +1 -0
  495. package/dist/node_modules/lodash/_listCacheGet.js +16 -0
  496. package/dist/node_modules/lodash/_listCacheGet.js.map +1 -0
  497. package/dist/node_modules/lodash/_listCacheHas.js +15 -0
  498. package/dist/node_modules/lodash/_listCacheHas.js.map +1 -0
  499. package/dist/node_modules/lodash/_listCacheSet.js +16 -0
  500. package/dist/node_modules/lodash/_listCacheSet.js.map +1 -0
  501. package/dist/node_modules/lodash/_mapCacheClear.js +21 -0
  502. package/dist/node_modules/lodash/_mapCacheClear.js.map +1 -0
  503. package/dist/node_modules/lodash/_mapCacheDelete.js +16 -0
  504. package/dist/node_modules/lodash/_mapCacheDelete.js.map +1 -0
  505. package/dist/node_modules/lodash/_mapCacheGet.js +15 -0
  506. package/dist/node_modules/lodash/_mapCacheGet.js.map +1 -0
  507. package/dist/node_modules/lodash/_mapCacheHas.js +15 -0
  508. package/dist/node_modules/lodash/_mapCacheHas.js.map +1 -0
  509. package/dist/node_modules/lodash/_mapCacheSet.js +16 -0
  510. package/dist/node_modules/lodash/_mapCacheSet.js.map +1 -0
  511. package/dist/node_modules/lodash/_mapToArray.js +16 -0
  512. package/dist/node_modules/lodash/_mapToArray.js.map +1 -0
  513. package/dist/node_modules/lodash/_matchesStrictComparable.js +15 -0
  514. package/dist/node_modules/lodash/_matchesStrictComparable.js.map +1 -0
  515. package/dist/node_modules/lodash/_memoizeCapped.js +18 -0
  516. package/dist/node_modules/lodash/_memoizeCapped.js.map +1 -0
  517. package/dist/node_modules/lodash/_nativeCreate.js +11 -0
  518. package/dist/node_modules/lodash/_nativeCreate.js.map +1 -0
  519. package/dist/node_modules/lodash/_nativeKeys.js +11 -0
  520. package/dist/node_modules/lodash/_nativeKeys.js.map +1 -0
  521. package/dist/node_modules/lodash/_nodeUtil.js +16 -0
  522. package/dist/node_modules/lodash/_nodeUtil.js.map +1 -0
  523. package/dist/node_modules/lodash/_objectToString.js +14 -0
  524. package/dist/node_modules/lodash/_objectToString.js.map +1 -0
  525. package/dist/node_modules/lodash/_overArg.js +15 -0
  526. package/dist/node_modules/lodash/_overArg.js.map +1 -0
  527. package/dist/node_modules/lodash/_overRest.js +20 -0
  528. package/dist/node_modules/lodash/_overRest.js.map +1 -0
  529. package/dist/node_modules/lodash/_root.js +12 -0
  530. package/dist/node_modules/lodash/_root.js.map +1 -0
  531. package/dist/node_modules/lodash/_setCacheAdd.js +14 -0
  532. package/dist/node_modules/lodash/_setCacheAdd.js.map +1 -0
  533. package/dist/node_modules/lodash/_setCacheHas.js +13 -0
  534. package/dist/node_modules/lodash/_setCacheHas.js.map +1 -0
  535. package/dist/node_modules/lodash/_setToArray.js +16 -0
  536. package/dist/node_modules/lodash/_setToArray.js.map +1 -0
  537. package/dist/node_modules/lodash/_setToString.js +13 -0
  538. package/dist/node_modules/lodash/_setToString.js.map +1 -0
  539. package/dist/node_modules/lodash/_shortOut.js +21 -0
  540. package/dist/node_modules/lodash/_shortOut.js.map +1 -0
  541. package/dist/node_modules/lodash/_stackClear.js +15 -0
  542. package/dist/node_modules/lodash/_stackClear.js.map +1 -0
  543. package/dist/node_modules/lodash/_stackDelete.js +14 -0
  544. package/dist/node_modules/lodash/_stackDelete.js.map +1 -0
  545. package/dist/node_modules/lodash/_stackGet.js +13 -0
  546. package/dist/node_modules/lodash/_stackGet.js.map +1 -0
  547. package/dist/node_modules/lodash/_stackHas.js +13 -0
  548. package/dist/node_modules/lodash/_stackHas.js.map +1 -0
  549. package/dist/node_modules/lodash/_stackSet.js +23 -0
  550. package/dist/node_modules/lodash/_stackSet.js.map +1 -0
  551. package/dist/node_modules/lodash/_strictIndexOf.js +14 -0
  552. package/dist/node_modules/lodash/_strictIndexOf.js.map +1 -0
  553. package/dist/node_modules/lodash/_stringToArray.js +17 -0
  554. package/dist/node_modules/lodash/_stringToArray.js.map +1 -0
  555. package/dist/node_modules/lodash/_stringToPath.js +17 -0
  556. package/dist/node_modules/lodash/_stringToPath.js.map +1 -0
  557. package/dist/node_modules/lodash/_toKey.js +17 -0
  558. package/dist/node_modules/lodash/_toKey.js.map +1 -0
  559. package/dist/node_modules/lodash/_toSource.js +22 -0
  560. package/dist/node_modules/lodash/_toSource.js.map +1 -0
  561. package/dist/node_modules/lodash/_trimmedEndIndex.js +15 -0
  562. package/dist/node_modules/lodash/_trimmedEndIndex.js.map +1 -0
  563. package/dist/node_modules/lodash/_unicodeToArray.js +24 -0
  564. package/dist/node_modules/lodash/_unicodeToArray.js.map +1 -0
  565. package/dist/node_modules/lodash/constant.js +15 -0
  566. package/dist/node_modules/lodash/constant.js.map +1 -0
  567. package/dist/node_modules/lodash/debounce.js +57 -0
  568. package/dist/node_modules/lodash/debounce.js.map +1 -0
  569. package/dist/node_modules/lodash/eq.js +13 -0
  570. package/dist/node_modules/lodash/eq.js.map +1 -0
  571. package/dist/node_modules/lodash/every.js +20 -0
  572. package/dist/node_modules/lodash/every.js.map +1 -0
  573. package/dist/node_modules/lodash/find.js +12 -0
  574. package/dist/node_modules/lodash/find.js.map +1 -0
  575. package/dist/node_modules/lodash/findIndex.js +20 -0
  576. package/dist/node_modules/lodash/findIndex.js.map +1 -0
  577. package/dist/node_modules/lodash/flatMap.js +16 -0
  578. package/dist/node_modules/lodash/flatMap.js.map +1 -0
  579. package/dist/node_modules/lodash/get.js +16 -0
  580. package/dist/node_modules/lodash/get.js.map +1 -0
  581. package/dist/node_modules/lodash/hasIn.js +16 -0
  582. package/dist/node_modules/lodash/hasIn.js.map +1 -0
  583. package/dist/node_modules/lodash/identity.js +13 -0
  584. package/dist/node_modules/lodash/identity.js.map +1 -0
  585. package/dist/node_modules/lodash/isArguments.js +17 -0
  586. package/dist/node_modules/lodash/isArguments.js.map +1 -0
  587. package/dist/node_modules/lodash/isArray.js +10 -0
  588. package/dist/node_modules/lodash/isArray.js.map +1 -0
  589. package/dist/node_modules/lodash/isArrayLike.js +16 -0
  590. package/dist/node_modules/lodash/isArrayLike.js.map +1 -0
  591. package/dist/node_modules/lodash/isBoolean.js +16 -0
  592. package/dist/node_modules/lodash/isBoolean.js.map +1 -0
  593. package/dist/node_modules/lodash/isBuffer.js +13 -0
  594. package/dist/node_modules/lodash/isBuffer.js.map +1 -0
  595. package/dist/node_modules/lodash/isEqual.js +15 -0
  596. package/dist/node_modules/lodash/isEqual.js.map +1 -0
  597. package/dist/node_modules/lodash/isFunction.js +18 -0
  598. package/dist/node_modules/lodash/isFunction.js.map +1 -0
  599. package/dist/node_modules/lodash/isLength.js +14 -0
  600. package/dist/node_modules/lodash/isLength.js.map +1 -0
  601. package/dist/node_modules/lodash/isNaN.js +15 -0
  602. package/dist/node_modules/lodash/isNaN.js.map +1 -0
  603. package/dist/node_modules/lodash/isNil.js +13 -0
  604. package/dist/node_modules/lodash/isNil.js.map +1 -0
  605. package/dist/node_modules/lodash/isNumber.js +16 -0
  606. package/dist/node_modules/lodash/isNumber.js.map +1 -0
  607. package/dist/node_modules/lodash/isObject.js +14 -0
  608. package/dist/node_modules/lodash/isObject.js.map +1 -0
  609. package/dist/node_modules/lodash/isObjectLike.js +13 -0
  610. package/dist/node_modules/lodash/isObjectLike.js.map +1 -0
  611. package/dist/node_modules/lodash/isPlainObject.js +21 -0
  612. package/dist/node_modules/lodash/isPlainObject.js.map +1 -0
  613. package/dist/node_modules/lodash/isString.js +17 -0
  614. package/dist/node_modules/lodash/isString.js.map +1 -0
  615. package/dist/node_modules/lodash/isSymbol.js +16 -0
  616. package/dist/node_modules/lodash/isSymbol.js.map +1 -0
  617. package/dist/node_modules/lodash/isTypedArray.js +14 -0
  618. package/dist/node_modules/lodash/isTypedArray.js.map +1 -0
  619. package/dist/node_modules/lodash/keys.js +17 -0
  620. package/dist/node_modules/lodash/keys.js.map +1 -0
  621. package/dist/node_modules/lodash/last.js +14 -0
  622. package/dist/node_modules/lodash/last.js.map +1 -0
  623. package/dist/node_modules/lodash/map.js +18 -0
  624. package/dist/node_modules/lodash/map.js.map +1 -0
  625. package/dist/node_modules/lodash/mapValues.js +20 -0
  626. package/dist/node_modules/lodash/mapValues.js.map +1 -0
  627. package/dist/node_modules/lodash/max.js +17 -0
  628. package/dist/node_modules/lodash/max.js.map +1 -0
  629. package/dist/node_modules/lodash/maxBy.js +17 -0
  630. package/dist/node_modules/lodash/maxBy.js.map +1 -0
  631. package/dist/node_modules/lodash/memoize.js +22 -0
  632. package/dist/node_modules/lodash/memoize.js.map +1 -0
  633. package/dist/node_modules/lodash/min.js +17 -0
  634. package/dist/node_modules/lodash/min.js.map +1 -0
  635. package/dist/node_modules/lodash/minBy.js +17 -0
  636. package/dist/node_modules/lodash/minBy.js.map +1 -0
  637. package/dist/node_modules/lodash/noop.js +11 -0
  638. package/dist/node_modules/lodash/noop.js.map +1 -0
  639. package/dist/node_modules/lodash/now.js +14 -0
  640. package/dist/node_modules/lodash/now.js.map +1 -0
  641. package/dist/node_modules/lodash/property.js +18 -0
  642. package/dist/node_modules/lodash/property.js.map +1 -0
  643. package/dist/node_modules/lodash/range.js +11 -0
  644. package/dist/node_modules/lodash/range.js.map +1 -0
  645. package/dist/node_modules/lodash/some.js +20 -0
  646. package/dist/node_modules/lodash/some.js.map +1 -0
  647. package/dist/node_modules/lodash/sortBy.js +19 -0
  648. package/dist/node_modules/lodash/sortBy.js.map +1 -0
  649. package/dist/node_modules/lodash/stubArray.js +13 -0
  650. package/dist/node_modules/lodash/stubArray.js.map +1 -0
  651. package/dist/node_modules/lodash/stubFalse.js +13 -0
  652. package/dist/node_modules/lodash/stubFalse.js.map +1 -0
  653. package/dist/node_modules/lodash/throttle.js +22 -0
  654. package/dist/node_modules/lodash/throttle.js.map +1 -0
  655. package/dist/node_modules/lodash/toFinite.js +15 -0
  656. package/dist/node_modules/lodash/toFinite.js.map +1 -0
  657. package/dist/node_modules/lodash/toInteger.js +16 -0
  658. package/dist/node_modules/lodash/toInteger.js.map +1 -0
  659. package/dist/node_modules/lodash/toNumber.js +26 -0
  660. package/dist/node_modules/lodash/toNumber.js.map +1 -0
  661. package/dist/node_modules/lodash/toString.js +15 -0
  662. package/dist/node_modules/lodash/toString.js.map +1 -0
  663. package/dist/node_modules/lodash/uniqBy.js +16 -0
  664. package/dist/node_modules/lodash/uniqBy.js.map +1 -0
  665. package/dist/node_modules/lodash/upperFirst.js +11 -0
  666. package/dist/node_modules/lodash/upperFirst.js.map +1 -0
  667. package/dist/node_modules/object-assign/index.js +41 -0
  668. package/dist/node_modules/object-assign/index.js.map +1 -0
  669. package/dist/node_modules/prop-types/checkPropTypes.js +46 -0
  670. package/dist/node_modules/prop-types/checkPropTypes.js.map +1 -0
  671. package/dist/node_modules/prop-types/factoryWithThrowingShims.js +49 -0
  672. package/dist/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
  673. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +272 -0
  674. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
  675. package/dist/node_modules/prop-types/index.js +16 -0
  676. package/dist/node_modules/prop-types/index.js.map +1 -0
  677. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +10 -0
  678. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
  679. package/dist/node_modules/prop-types/lib/has.js +10 -0
  680. package/dist/node_modules/prop-types/lib/has.js.map +1 -0
  681. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +84 -0
  682. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  683. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +64 -0
  684. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  685. package/dist/node_modules/prop-types/node_modules/react-is/index.js +12 -0
  686. package/dist/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
  687. package/dist/node_modules/react-is/cjs/react-is.development.js +87 -0
  688. package/dist/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  689. package/dist/node_modules/react-is/cjs/react-is.production.min.js +65 -0
  690. package/dist/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  691. package/dist/node_modules/react-is/index.js +12 -0
  692. package/dist/node_modules/react-is/index.js.map +1 -0
  693. package/dist/node_modules/react-smooth/es6/Animate.js +374 -0
  694. package/dist/node_modules/react-smooth/es6/Animate.js.map +1 -0
  695. package/dist/node_modules/react-smooth/es6/AnimateManager.js +73 -0
  696. package/dist/node_modules/react-smooth/es6/AnimateManager.js.map +1 -0
  697. package/dist/node_modules/react-smooth/es6/configUpdate.js +173 -0
  698. package/dist/node_modules/react-smooth/es6/configUpdate.js.map +1 -0
  699. package/dist/node_modules/react-smooth/es6/easing.js +152 -0
  700. package/dist/node_modules/react-smooth/es6/easing.js.map +1 -0
  701. package/dist/node_modules/react-smooth/es6/index.js +9 -0
  702. package/dist/node_modules/react-smooth/es6/index.js.map +1 -0
  703. package/dist/node_modules/react-smooth/es6/setRafTimeout.js +14 -0
  704. package/dist/node_modules/react-smooth/es6/setRafTimeout.js.map +1 -0
  705. package/dist/node_modules/react-smooth/es6/util.js +92 -0
  706. package/dist/node_modules/react-smooth/es6/util.js.map +1 -0
  707. package/dist/node_modules/recharts/es6/cartesian/Area.js +435 -0
  708. package/dist/node_modules/recharts/es6/cartesian/Area.js.map +1 -0
  709. package/dist/node_modules/recharts/es6/cartesian/Bar.js +387 -0
  710. package/dist/node_modules/recharts/es6/cartesian/Bar.js.map +1 -0
  711. package/dist/node_modules/recharts/es6/cartesian/Brush.js +499 -0
  712. package/dist/node_modules/recharts/es6/cartesian/Brush.js.map +1 -0
  713. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js +338 -0
  714. package/dist/node_modules/recharts/es6/cartesian/CartesianAxis.js.map +1 -0
  715. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js +243 -0
  716. package/dist/node_modules/recharts/es6/cartesian/ErrorBar.js.map +1 -0
  717. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js +173 -0
  718. package/dist/node_modules/recharts/es6/cartesian/ReferenceArea.js.map +1 -0
  719. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js +178 -0
  720. package/dist/node_modules/recharts/es6/cartesian/ReferenceDot.js.map +1 -0
  721. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js +254 -0
  722. package/dist/node_modules/recharts/es6/cartesian/ReferenceLine.js.map +1 -0
  723. package/dist/node_modules/recharts/es6/cartesian/XAxis.js +144 -0
  724. package/dist/node_modules/recharts/es6/cartesian/XAxis.js.map +1 -0
  725. package/dist/node_modules/recharts/es6/cartesian/YAxis.js +143 -0
  726. package/dist/node_modules/recharts/es6/cartesian/YAxis.js.map +1 -0
  727. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js +18 -0
  728. package/dist/node_modules/recharts/es6/cartesian/getEquidistantTicks.js.map +1 -0
  729. package/dist/node_modules/recharts/es6/cartesian/getTicks.js +121 -0
  730. package/dist/node_modules/recharts/es6/cartesian/getTicks.js.map +1 -0
  731. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js +101 -0
  732. package/dist/node_modules/recharts/es6/chart/AccessibilityManager.js.map +1 -0
  733. package/dist/node_modules/recharts/es6/chart/AreaChart.js +22 -0
  734. package/dist/node_modules/recharts/es6/chart/AreaChart.js.map +1 -0
  735. package/dist/node_modules/recharts/es6/chart/BarChart.js +24 -0
  736. package/dist/node_modules/recharts/es6/chart/BarChart.js.map +1 -0
  737. package/dist/node_modules/recharts/es6/chart/PieChart.js +34 -0
  738. package/dist/node_modules/recharts/es6/chart/PieChart.js.map +1 -0
  739. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js +1245 -0
  740. package/dist/node_modules/recharts/es6/chart/generateCategoricalChart.js.map +1 -0
  741. package/dist/node_modules/recharts/es6/component/Cell.js +9 -0
  742. package/dist/node_modules/recharts/es6/component/Cell.js.map +1 -0
  743. package/dist/node_modules/recharts/es6/component/Cursor.js +93 -0
  744. package/dist/node_modules/recharts/es6/component/Cursor.js.map +1 -0
  745. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +237 -0
  746. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js.map +1 -0
  747. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js +171 -0
  748. package/dist/node_modules/recharts/es6/component/DefaultTooltipContent.js.map +1 -0
  749. package/dist/node_modules/recharts/es6/component/Label.js +353 -0
  750. package/dist/node_modules/recharts/es6/component/Label.js.map +1 -0
  751. package/dist/node_modules/recharts/es6/component/LabelList.js +166 -0
  752. package/dist/node_modules/recharts/es6/component/LabelList.js.map +1 -0
  753. package/dist/node_modules/recharts/es6/component/Legend.js +234 -0
  754. package/dist/node_modules/recharts/es6/component/Legend.js.map +1 -0
  755. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +187 -0
  756. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js.map +1 -0
  757. package/dist/node_modules/recharts/es6/component/Text.js +225 -0
  758. package/dist/node_modules/recharts/es6/component/Text.js.map +1 -0
  759. package/dist/node_modules/recharts/es6/component/Tooltip.js +182 -0
  760. package/dist/node_modules/recharts/es6/component/Tooltip.js.map +1 -0
  761. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js +198 -0
  762. package/dist/node_modules/recharts/es6/component/TooltipBoundingBox.js.map +1 -0
  763. package/dist/node_modules/recharts/es6/container/Layer.js +40 -0
  764. package/dist/node_modules/recharts/es6/container/Layer.js.map +1 -0
  765. package/dist/node_modules/recharts/es6/container/Surface.js +60 -0
  766. package/dist/node_modules/recharts/es6/container/Surface.js.map +1 -0
  767. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +46 -0
  768. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js.map +1 -0
  769. package/dist/node_modules/recharts/es6/polar/Pie.js +435 -0
  770. package/dist/node_modules/recharts/es6/polar/Pie.js.map +1 -0
  771. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js +215 -0
  772. package/dist/node_modules/recharts/es6/polar/PolarAngleAxis.js.map +1 -0
  773. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js +268 -0
  774. package/dist/node_modules/recharts/es6/polar/PolarRadiusAxis.js.map +1 -0
  775. package/dist/node_modules/recharts/es6/shape/Cross.js +112 -0
  776. package/dist/node_modules/recharts/es6/shape/Cross.js.map +1 -0
  777. package/dist/node_modules/recharts/es6/shape/Curve.js +136 -0
  778. package/dist/node_modules/recharts/es6/shape/Curve.js.map +1 -0
  779. package/dist/node_modules/recharts/es6/shape/Dot.js +27 -0
  780. package/dist/node_modules/recharts/es6/shape/Dot.js.map +1 -0
  781. package/dist/node_modules/recharts/es6/shape/Polygon.js +112 -0
  782. package/dist/node_modules/recharts/es6/shape/Polygon.js.map +1 -0
  783. package/dist/node_modules/recharts/es6/shape/Rectangle.js +205 -0
  784. package/dist/node_modules/recharts/es6/shape/Rectangle.js.map +1 -0
  785. package/dist/node_modules/recharts/es6/shape/Sector.js +192 -0
  786. package/dist/node_modules/recharts/es6/shape/Sector.js.map +1 -0
  787. package/dist/node_modules/recharts/es6/shape/Symbols.js +143 -0
  788. package/dist/node_modules/recharts/es6/shape/Symbols.js.map +1 -0
  789. package/dist/node_modules/recharts/es6/shape/Trapezoid.js +175 -0
  790. package/dist/node_modules/recharts/es6/shape/Trapezoid.js.map +1 -0
  791. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js +181 -0
  792. package/dist/node_modules/recharts/es6/util/ActiveShapeUtils.js.map +1 -0
  793. package/dist/node_modules/recharts/es6/util/BarUtils.js +112 -0
  794. package/dist/node_modules/recharts/es6/util/BarUtils.js.map +1 -0
  795. package/dist/node_modules/recharts/es6/util/CartesianUtils.js +234 -0
  796. package/dist/node_modules/recharts/es6/util/CartesianUtils.js.map +1 -0
  797. package/dist/node_modules/recharts/es6/util/ChartUtils.js +554 -0
  798. package/dist/node_modules/recharts/es6/util/ChartUtils.js.map +1 -0
  799. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js +70 -0
  800. package/dist/node_modules/recharts/es6/util/CssPrefixUtils.js.map +1 -0
  801. package/dist/node_modules/recharts/es6/util/DOMUtils.js +108 -0
  802. package/dist/node_modules/recharts/es6/util/DOMUtils.js.map +1 -0
  803. package/dist/node_modules/recharts/es6/util/DataUtils.js +57 -0
  804. package/dist/node_modules/recharts/es6/util/DataUtils.js.map +1 -0
  805. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js +58 -0
  806. package/dist/node_modules/recharts/es6/util/DetectReferenceElementsDomain.js.map +1 -0
  807. package/dist/node_modules/recharts/es6/util/Events.js +7 -0
  808. package/dist/node_modules/recharts/es6/util/Events.js.map +1 -0
  809. package/dist/node_modules/recharts/es6/util/Global.js +21 -0
  810. package/dist/node_modules/recharts/es6/util/Global.js.map +1 -0
  811. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js +9 -0
  812. package/dist/node_modules/recharts/es6/util/IfOverflowMatches.js.map +1 -0
  813. package/dist/node_modules/recharts/es6/util/LogUtils.js +15 -0
  814. package/dist/node_modules/recharts/es6/util/LogUtils.js.map +1 -0
  815. package/dist/node_modules/recharts/es6/util/PolarUtils.js +198 -0
  816. package/dist/node_modules/recharts/es6/util/PolarUtils.js.map +1 -0
  817. package/dist/node_modules/recharts/es6/util/ReactUtils.js +137 -0
  818. package/dist/node_modules/recharts/es6/util/ReactUtils.js.map +1 -0
  819. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js +181 -0
  820. package/dist/node_modules/recharts/es6/util/ReduceCSSCalc.js.map +1 -0
  821. package/dist/node_modules/recharts/es6/util/ShallowEqual.js +10 -0
  822. package/dist/node_modules/recharts/es6/util/ShallowEqual.js.map +1 -0
  823. package/dist/node_modules/recharts/es6/util/TickUtils.js +31 -0
  824. package/dist/node_modules/recharts/es6/util/TickUtils.js.map +1 -0
  825. package/dist/node_modules/recharts/es6/util/calculateViewBox.js +25 -0
  826. package/dist/node_modules/recharts/es6/util/calculateViewBox.js.map +1 -0
  827. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js +23 -0
  828. package/dist/node_modules/recharts/es6/util/cursor/getCursorPoints.js.map +1 -0
  829. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js +16 -0
  830. package/dist/node_modules/recharts/es6/util/cursor/getCursorRectangle.js.map +1 -0
  831. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js +17 -0
  832. package/dist/node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js.map +1 -0
  833. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js +12 -0
  834. package/dist/node_modules/recharts/es6/util/getEveryNthWithCondition.js.map +1 -0
  835. package/dist/node_modules/recharts/es6/util/getLegendProps.js +88 -0
  836. package/dist/node_modules/recharts/es6/util/getLegendProps.js.map +1 -0
  837. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js +13 -0
  838. package/dist/node_modules/recharts/es6/util/isDomainSpecifiedByUser.js.map +1 -0
  839. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js +12 -0
  840. package/dist/node_modules/recharts/es6/util/payload/getUniqPayload.js.map +1 -0
  841. package/dist/node_modules/recharts/es6/util/tooltip/translate.js +87 -0
  842. package/dist/node_modules/recharts/es6/util/tooltip/translate.js.map +1 -0
  843. package/dist/node_modules/recharts/es6/util/types.js +43 -0
  844. package/dist/node_modules/recharts/es6/util/types.js.map +1 -0
  845. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js +132 -0
  846. package/dist/node_modules/recharts-scale/es6/getNiceTickValues.js.map +1 -0
  847. package/dist/node_modules/recharts-scale/es6/index.js +1 -0
  848. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js +32 -0
  849. package/dist/node_modules/recharts-scale/es6/util/arithmetic.js.map +1 -0
  850. package/dist/node_modules/recharts-scale/es6/util/utils.js +79 -0
  851. package/dist/node_modules/recharts-scale/es6/util/utils.js.map +1 -0
  852. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +13 -0
  853. package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js.map +1 -0
  854. package/dist/node_modules/victory-vendor/es/d3-scale.js +53 -0
  855. package/dist/node_modules/victory-vendor/es/d3-scale.js.map +1 -0
  856. package/package.json +1 -1
@@ -1,50 +1,112 @@
1
1
  import { useEventfullyManaged as e } from "../../context/EventfullyManagedContext.js";
2
2
  import { notify as t } from "../../lib/toast.js";
3
3
  import { useAttendeesQuery as n, useCreateAttendeeMutation as r, useCreateRegistrationMutation as i, useEventsQuery as a, usePromoCodesQuery as ee, useTicketTypesQuery as te } from "../../api/eventApi.js";
4
- import { describeError as ne, mutationSucceeded as o } from "../../lib/mutationResult.js";
4
+ import { describeError as ne, mutationSucceeded as re } from "../../lib/mutationResult.js";
5
+ import { computeDiscount as ie, describeDiscount as ae, formatMoney as o } from "../../lib/format.js";
5
6
  import { useMemo as s, useState as c } from "react";
6
- import { jsx as l, jsxs as u } from "react/jsx-runtime";
7
- import { ArrowLeft as d, CheckCircle2 as re, Ticket as f } from "lucide-react";
8
- import { Button as p, EmphasisPanel as ie, GlassCard as ae, Input as m, PagePurpose as oe, Select as h, SelectContent as g, SelectItem as _, SelectTrigger as v, SelectValue as y } from "@burdenoff/fe-libs/ui";
7
+ import { Fragment as oe, jsx as l, jsxs as u } from "react/jsx-runtime";
8
+ import { ArrowLeft as d, ArrowRight as se, BadgePercent as ce, CalendarDays as le, Check as f, CheckCircle2 as ue, Minus as de, Plus as fe, Ticket as p, UserRound as pe } from "lucide-react";
9
+ import { Button as m, GlassCard as h, GradientText as me, Input as g, PagePurpose as he, Select as ge, SelectContent as _e, SelectItem as ve, SelectTrigger as ye, SelectValue as be, Stepper as xe } from "@burdenoff/fe-libs/ui";
9
10
  //#region src/eventfullymanaged/pages/registration/RegisterAttendeePage.tsx
10
- var b = "__new__";
11
- function x() {
12
- let { navigate: x } = e(), [S, se] = c(""), [C, w] = c(""), [T, E] = c(b), [D, O] = c(""), [k, ce] = c(""), [le, A] = c(""), [j, M] = c(""), [N, P] = c("1"), [F, I] = c(""), [L, R] = c(""), [z, B] = c(null), { data: ue } = a({
11
+ var _ = [
12
+ {
13
+ key: "event",
14
+ label: "Event",
15
+ description: "Choose the event"
16
+ },
17
+ {
18
+ key: "ticket",
19
+ label: "Ticket",
20
+ description: "Pick a ticket type"
21
+ },
22
+ {
23
+ key: "attendee",
24
+ label: "Attendee",
25
+ description: "Who is coming"
26
+ },
27
+ {
28
+ key: "confirm",
29
+ label: "Confirm",
30
+ description: "Review & submit"
31
+ }
32
+ ];
33
+ function v() {
34
+ let { navigate: v } = e(), [y, b] = c(0), [x, Se] = c(""), [S, C] = c(""), [w, T] = c("new"), [E, D] = c(""), [O, k] = c(""), [A, j] = c(""), [Ce, we] = c(""), [Te, Ee] = c(""), [De, M] = c(1), [N, P] = c(""), [F, I] = c(null), [Oe, L] = c(""), [R, ke] = c(""), [z, B] = c(null), { data: Ae, loading: je } = a({
13
35
  limit: 100,
14
36
  offset: 0
15
- }), { data: V } = te({
16
- eventId: S || void 0,
37
+ }), { data: Me, loading: Ne } = te({
38
+ eventId: x || void 0,
17
39
  limit: 100,
18
40
  offset: 0
19
- }), { data: H } = n({
20
- eventId: S || void 0,
41
+ }), { data: Pe } = n({
42
+ eventId: x || void 0,
21
43
  limit: 100,
22
44
  offset: 0
23
- }), { data: U } = ee({
24
- eventId: S || void 0,
45
+ }), { data: Fe } = ee({
46
+ eventId: x || void 0,
25
47
  limit: 100,
26
48
  offset: 0
27
- }), [de, { loading: fe }] = r(), [pe, { loading: me }] = i(), W = ue?.events.items ?? [], G = s(() => (V?.ticketTypes.items ?? []).filter((e) => !S || e.eventId === S), [V, S]), K = s(() => (H?.attendees.items ?? []).filter((e) => !S || e.eventId === S), [H, S]), q = s(() => (U?.promoCodes.items ?? []).filter((e) => e.isActive && (!S || e.eventId === S)), [U, S]), J = s(() => G.find((e) => e.id === C), [G, C]), Y = Math.max(1, Number(N) || 1), he = J ? Number(J.price) : 0, X = J?.currency ?? "USD", Z = Number.isFinite(he) ? he * Y : 0, Q = Z > 0, ge = (e) => {
28
- se(e), w(""), E(b), I("");
29
- }, $ = fe || me, _e = () => {
30
- w(""), E(b), O(""), ce(""), A(""), M(""), P("1"), I(""), R("");
49
+ }), V = s(() => Ae?.events.items ?? [], [Ae]), H = s(() => (Me?.ticketTypes.items ?? []).filter((e) => (!x || e.eventId === x) && e.isActive), [Me, x]), U = s(() => (Pe?.attendees.items ?? []).filter((e) => !x || e.eventId === x), [Pe, x]), W = s(() => (Fe?.promoCodes.items ?? []).filter((e) => e.isActive && (!x || e.eventId === x)), [Fe, x]), [Ie, { loading: Le }] = r(), [Re, { loading: ze }] = i(), G = Le || ze, K = s(() => V.find((e) => e.id === x), [V, x]), q = s(() => H.find((e) => e.id === S), [H, S]), J = s(() => U.find((e) => e.id === E), [U, E]), Y = Math.max(1, De), Be = q ? Number(q.price) : 0, X = q?.currency ?? "USD", Z = Number.isFinite(Be) ? Be * Y : 0, Q = F ? ie(Z, F.discountType, Number(F.discountValue)) : 0, Ve = Math.max(Z - Q, 0), $ = Z > 0, He = w === "existing" ? J?.fullName ?? "" : O.trim(), Ue = (e) => {
50
+ Se(e), C(""), T("new"), D(""), I(null), P(""), L("");
51
+ }, We = (e) => {
52
+ switch (e) {
53
+ case 0: return !!x;
54
+ case 1: return !!S;
55
+ case 2: return w === "existing" ? !!E : !!(O.trim() && A.trim());
56
+ default: return !0;
57
+ }
58
+ }, Ge = (e) => {
59
+ if (e <= y) return !0;
60
+ for (let t = 0; t < e; t += 1) if (!We(t)) return !1;
61
+ return !0;
62
+ }, Ke = (e) => {
63
+ Ge(e) && b(e);
64
+ }, qe = () => {
65
+ if (!We(y)) {
66
+ t.error("One more thing", [
67
+ "Choose an event to continue.",
68
+ "Pick a ticket type to continue.",
69
+ "Select or enter an attendee to continue."
70
+ ][y] ?? "Complete this step to continue.");
71
+ return;
72
+ }
73
+ b((e) => Math.min(e + 1, _.length - 1));
74
+ }, Je = () => b((e) => Math.max(e - 1, 0)), Ye = () => {
75
+ let e = N.trim().toUpperCase();
76
+ if (!e) {
77
+ I(null), L("");
78
+ return;
79
+ }
80
+ let n = W.find((t) => t.code.toUpperCase() === e);
81
+ if (!n) {
82
+ I(null), L("That code is not active for this event.");
83
+ return;
84
+ }
85
+ I(n), L(""), t.success("Promo applied", ae(n.discountType, n.discountValue, X));
86
+ }, Xe = () => {
87
+ I(null), P(""), L("");
88
+ }, Ze = () => {
89
+ b(0), Se(""), C(""), T("new"), D(""), k(""), j(""), we(""), Ee(""), M(1), Xe(), ke("");
31
90
  };
32
91
  return z ? /* @__PURE__ */ u("div", {
33
- className: "space-y-6 p-6",
34
- children: [/* @__PURE__ */ l("div", { children: /* @__PURE__ */ u(p, {
92
+ className: "mx-auto max-w-2xl space-y-6 p-6",
93
+ children: [/* @__PURE__ */ l("div", { children: /* @__PURE__ */ u(m, {
35
94
  type: "button",
36
95
  variant: "ghost",
37
96
  size: "sm",
38
- onClick: () => x("/registration"),
97
+ onClick: () => v("/registration"),
39
98
  children: [/* @__PURE__ */ l(d, { className: "h-4 w-4" }), "Back to Registration"]
40
- }) }), /* @__PURE__ */ u(ae, {
99
+ }) }), /* @__PURE__ */ u(h, {
41
100
  treatment: "glass",
42
101
  glow: !0,
43
102
  className: "p-8 text-center",
44
103
  children: [
45
- /* @__PURE__ */ l(re, {
46
- className: "mx-auto h-12 w-12 text-status-success-text",
47
- "aria-hidden": "true"
104
+ /* @__PURE__ */ l("div", {
105
+ className: "mx-auto flex h-14 w-14 items-center justify-center rounded-full bg-status-success-bg-subtle",
106
+ children: /* @__PURE__ */ l(ue, {
107
+ className: "h-8 w-8 text-status-success-text",
108
+ "aria-hidden": "true"
109
+ })
48
110
  }),
49
111
  /* @__PURE__ */ l("h1", {
50
112
  className: "mt-4 text-2xl font-bold text-text-primary",
@@ -60,60 +122,75 @@ function x() {
60
122
  ]
61
123
  }),
62
124
  /* @__PURE__ */ u("dl", {
63
- className: "mx-auto mt-6 max-w-sm space-y-2 text-left text-sm",
125
+ className: "mx-auto mt-6 max-w-sm space-y-2 rounded-card border border-border-seam bg-bg-surface p-4 text-left text-sm",
64
126
  children: [
65
127
  /* @__PURE__ */ u("div", {
66
128
  className: "flex justify-between",
67
129
  children: [/* @__PURE__ */ l("dt", {
68
130
  className: "text-text-secondary",
69
131
  children: "Ticket"
70
- }), /* @__PURE__ */ l("dd", {
132
+ }), /* @__PURE__ */ u("dd", {
71
133
  className: "font-medium text-text-primary",
72
- children: z.ticketName
134
+ children: [z.ticketName, z.quantity > 1 ? ` × ${z.quantity}` : ""]
73
135
  })]
74
136
  }),
75
- /* @__PURE__ */ u("div", {
137
+ z.free ? null : /* @__PURE__ */ u(oe, { children: [/* @__PURE__ */ u("div", {
76
138
  className: "flex justify-between",
77
139
  children: [/* @__PURE__ */ l("dt", {
78
140
  className: "text-text-secondary",
79
- children: "Quantity"
141
+ children: "Subtotal"
80
142
  }), /* @__PURE__ */ l("dd", {
81
- className: "font-medium tabular-nums text-text-primary",
82
- children: z.quantity
143
+ className: "tabular-nums text-text-primary",
144
+ children: o(z.subtotal, z.currency)
83
145
  })]
84
- }),
85
- /* @__PURE__ */ u("div", {
146
+ }), z.discount > 0 ? /* @__PURE__ */ u("div", {
86
147
  className: "flex justify-between",
87
- children: [/* @__PURE__ */ l("dt", {
148
+ children: [/* @__PURE__ */ u("dt", {
88
149
  className: "text-text-secondary",
89
- children: "Status"
150
+ children: ["Promo", z.promoCode ? ` · ${z.promoCode}` : ""]
151
+ }), /* @__PURE__ */ u("dd", {
152
+ className: "tabular-nums text-status-success-text",
153
+ children: ["−", o(z.discount, z.currency)]
154
+ })]
155
+ }) : null] }),
156
+ /* @__PURE__ */ u("div", {
157
+ className: "flex justify-between border-t border-border-seam pt-2",
158
+ children: [/* @__PURE__ */ l("dt", {
159
+ className: "font-semibold text-text-primary",
160
+ children: "Total"
90
161
  }), /* @__PURE__ */ l("dd", {
91
- className: "font-medium text-text-primary",
92
- children: z.status
162
+ className: "font-bold tabular-nums text-text-primary",
163
+ children: z.free ? "Free" : o(z.total, z.currency)
93
164
  })]
94
165
  }),
95
166
  /* @__PURE__ */ u("div", {
96
167
  className: "flex justify-between",
97
168
  children: [/* @__PURE__ */ l("dt", {
98
169
  className: "text-text-secondary",
99
- children: "Amount"
170
+ children: "Status"
100
171
  }), /* @__PURE__ */ l("dd", {
101
- className: "font-medium tabular-nums text-text-primary",
102
- children: z.amountLabel
172
+ className: "font-medium text-text-primary",
173
+ children: z.status
103
174
  })]
104
175
  })
105
176
  ]
106
177
  }),
178
+ z.free ? null : /* @__PURE__ */ l("p", {
179
+ className: "mt-3 text-xs text-text-muted",
180
+ children: "Final pricing and payment are settled by the billing service."
181
+ }),
107
182
  /* @__PURE__ */ u("div", {
108
- className: "mt-8 flex justify-center gap-3",
109
- children: [/* @__PURE__ */ l(p, {
183
+ className: "mt-8 flex flex-col justify-center gap-3 sm:flex-row",
184
+ children: [/* @__PURE__ */ l(m, {
110
185
  type: "button",
111
186
  variant: "outline",
112
- onClick: () => x("/registration"),
187
+ onClick: () => v("/registration"),
113
188
  children: "Back to Registrations"
114
- }), /* @__PURE__ */ l(p, {
189
+ }), /* @__PURE__ */ l(m, {
115
190
  type: "button",
116
- onClick: () => B(null),
191
+ onClick: () => {
192
+ B(null), Ze();
193
+ },
117
194
  children: "Register another"
118
195
  })]
119
196
  })
@@ -123,293 +200,572 @@ function x() {
123
200
  className: "space-y-6 p-6",
124
201
  children: [
125
202
  /* @__PURE__ */ u("div", { children: [
126
- /* @__PURE__ */ u(p, {
203
+ /* @__PURE__ */ u(m, {
127
204
  type: "button",
128
205
  variant: "ghost",
129
206
  size: "sm",
130
- onClick: () => x("/registration"),
207
+ onClick: () => v("/registration"),
131
208
  children: [/* @__PURE__ */ l(d, { className: "h-4 w-4" }), "Back to Registration"]
132
209
  }),
133
210
  /* @__PURE__ */ l("h1", {
134
211
  className: "mt-3 text-2xl font-bold text-text-primary",
135
- children: "Register Attendee"
212
+ children: /* @__PURE__ */ l(me, { children: "Register Attendee" })
136
213
  }),
137
214
  /* @__PURE__ */ l("p", {
138
215
  className: "mt-1 text-sm text-text-secondary",
139
- children: "Sign someone up for an event against a ticket type."
216
+ children: "Walk through the event, ticket and attendee in a few quick steps."
140
217
  })
141
218
  ] }),
142
- /* @__PURE__ */ l(oe, { children: "Register a person for an event in one step. Pick the event and the ticket they are buying, then either choose an existing attendee or enter a new one. Apply a promo code if they have one. Pricing and payment are handled by the billing service — you just confirm who is coming and on which ticket." }),
143
- /* @__PURE__ */ l(ie, { children: /* @__PURE__ */ u("form", {
144
- onSubmit: async (e) => {
145
- if (e.preventDefault(), !S) {
146
- t.error("Event required", "Choose the event to register for.");
147
- return;
148
- }
149
- if (!C) {
150
- t.error("Ticket required", "Choose a ticket type.");
151
- return;
152
- }
153
- let n = T === b;
154
- if (n && (!D.trim() || !k.trim())) {
155
- t.error("Attendee required", "Enter a name and email, or pick an existing attendee.");
156
- return;
157
- }
158
- try {
159
- let e = T, r = K.find((e) => e.id === T)?.fullName ?? "";
160
- if (n) {
161
- let t = await de({ variables: { input: {
162
- eventId: S,
163
- fullName: D.trim(),
164
- email: k.trim(),
165
- company: le.trim() || null,
166
- phone: j.trim() || null,
167
- profile: {},
168
- metadata: {}
169
- } } }), n = t.data?.createAttendee?.id;
170
- if (!o(t, n, "Could not create attendee") || !n) return;
171
- e = n, r = D.trim();
172
- }
173
- let i = {};
174
- F && (i.promoCode = F), Q && L.trim() && (i.billingAccountId = L.trim());
175
- let a = await pe({ variables: { input: {
176
- eventId: S,
177
- attendeeId: e,
178
- ticketTypeId: C,
179
- quantity: Y,
180
- currency: X,
181
- status: "CONFIRMED",
182
- metadata: i
183
- } } });
184
- if (!o(a, a.data?.createRegistration?.id, "Could not create registration")) return;
185
- let ee = a.data?.createRegistration;
186
- B({
187
- attendeeName: r || "Attendee",
188
- eventName: W.find((e) => e.id === S)?.name ?? "Event",
189
- ticketName: J?.name ?? "Ticket",
190
- quantity: Y,
191
- status: ee?.status ?? "CONFIRMED",
192
- amountLabel: Q ? `${Z.toLocaleString()} ${X} — billed by the billing service` : "Free"
193
- }), t.success("Registration confirmed", r || void 0), _e();
194
- } catch (e) {
195
- t.error("Could not register attendee", ne(e));
196
- }
197
- },
198
- className: "space-y-4",
199
- children: [
200
- /* @__PURE__ */ u("div", {
201
- className: "grid grid-cols-1 gap-4 md:grid-cols-2",
202
- children: [/* @__PURE__ */ u("label", {
203
- className: "space-y-1 text-sm",
204
- children: [/* @__PURE__ */ l("span", {
205
- className: "font-medium text-text-primary",
206
- children: "Event"
207
- }), /* @__PURE__ */ u(h, {
208
- value: S,
209
- onValueChange: ge,
210
- children: [/* @__PURE__ */ l(v, {
211
- "aria-label": "Event",
212
- children: /* @__PURE__ */ l(y, { placeholder: "Select Event" })
213
- }), /* @__PURE__ */ l(g, { children: W.map((e) => /* @__PURE__ */ l(_, {
214
- value: e.id,
215
- children: e.name
216
- }, e.id)) })]
219
+ /* @__PURE__ */ l(he, { children: "Register a person for an event against a ticket type. Pick the event and ticket, choose an existing attendee or add a new one, apply a promo code if they have one, then confirm. The order summary previews the price — final pricing and payment are handled by the billing service." }),
220
+ /* @__PURE__ */ l(xe, {
221
+ steps: _,
222
+ active: y,
223
+ onStepClick: Ke
224
+ }),
225
+ /* @__PURE__ */ u("div", {
226
+ className: "grid grid-cols-1 gap-6 lg:grid-cols-[minmax(0,1fr)_20rem]",
227
+ children: [/* @__PURE__ */ u(h, {
228
+ treatment: "plain",
229
+ className: "border-border-seam p-5 sm:p-6",
230
+ children: [
231
+ y === 0 ? /* @__PURE__ */ u("div", {
232
+ className: "space-y-4",
233
+ children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("h2", {
234
+ className: "text-lg font-semibold text-text-primary",
235
+ children: "Which event?"
236
+ }), /* @__PURE__ */ l("p", {
237
+ className: "mt-1 text-sm text-text-secondary",
238
+ children: "Choose the event this attendee is signing up for."
239
+ })] }), je ? /* @__PURE__ */ l("p", {
240
+ className: "text-sm text-text-muted",
241
+ children: "Loading events…"
242
+ }) : V.length === 0 ? /* @__PURE__ */ u("div", {
243
+ className: "rounded-card border border-dashed border-border-default p-6 text-center text-sm text-text-secondary",
244
+ children: [
245
+ "No events yet.",
246
+ " ",
247
+ /* @__PURE__ */ l("button", {
248
+ type: "button",
249
+ className: "font-medium text-text-link underline-offset-2 hover:underline",
250
+ onClick: () => v("/events/create"),
251
+ children: "Create an event"
252
+ }),
253
+ " ",
254
+ "first."
255
+ ]
256
+ }) : /* @__PURE__ */ l("div", {
257
+ className: "grid grid-cols-1 gap-3 sm:grid-cols-2",
258
+ children: V.map((e) => {
259
+ let t = e.id === x;
260
+ return /* @__PURE__ */ u("button", {
261
+ type: "button",
262
+ onClick: () => Ue(e.id),
263
+ "aria-pressed": t,
264
+ className: `flex items-center gap-3 rounded-card border p-4 text-left transition-colors ${t ? "border-action-primary-border bg-accent-wash" : "border-border-seam bg-bg-surface hover:border-border-strong"}`,
265
+ children: [
266
+ /* @__PURE__ */ l("span", {
267
+ className: `flex h-10 w-10 shrink-0 items-center justify-center rounded-input ${t ? "bg-action-primary-bg text-action-primary-text" : "bg-bg-sunken text-text-muted"}`,
268
+ children: /* @__PURE__ */ l(le, {
269
+ className: "h-5 w-5",
270
+ "aria-hidden": "true"
271
+ })
272
+ }),
273
+ /* @__PURE__ */ l("span", {
274
+ className: "min-w-0 flex-1 truncate text-sm font-medium text-text-primary",
275
+ children: e.name
276
+ }),
277
+ t ? /* @__PURE__ */ l(f, {
278
+ className: "h-4 w-4 shrink-0 text-action-primary-bg",
279
+ "aria-hidden": "true"
280
+ }) : null
281
+ ]
282
+ }, e.id);
283
+ })
217
284
  })]
218
- }), /* @__PURE__ */ u("label", {
219
- className: "space-y-1 text-sm",
220
- children: [/* @__PURE__ */ l("span", {
221
- className: "font-medium text-text-primary",
222
- children: "Ticket Type"
223
- }), /* @__PURE__ */ u(h, {
224
- value: C,
225
- onValueChange: w,
226
- disabled: !S,
227
- children: [/* @__PURE__ */ l(v, {
228
- "aria-label": "Ticket Type",
229
- children: /* @__PURE__ */ l(y, { placeholder: S ? "Select Ticket" : "Select an event first" })
230
- }), /* @__PURE__ */ l(g, { children: G.map((e) => /* @__PURE__ */ u(_, {
231
- value: e.id,
285
+ }) : null,
286
+ y === 1 ? /* @__PURE__ */ u("div", {
287
+ className: "space-y-4",
288
+ children: [
289
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("h2", {
290
+ className: "text-lg font-semibold text-text-primary",
291
+ children: "Ticket type"
292
+ }), /* @__PURE__ */ l("p", {
293
+ className: "mt-1 text-sm text-text-secondary",
294
+ children: "Pick the ticket and how many they need."
295
+ })] }),
296
+ Ne ? /* @__PURE__ */ l("p", {
297
+ className: "text-sm text-text-muted",
298
+ children: "Loading tickets…"
299
+ }) : H.length === 0 ? /* @__PURE__ */ l("div", {
300
+ className: "rounded-card border border-dashed border-border-default p-6 text-center text-sm text-text-secondary",
301
+ children: "This event has no active ticket types."
302
+ }) : /* @__PURE__ */ l("div", {
303
+ className: "grid grid-cols-1 gap-3 sm:grid-cols-2 xl:grid-cols-3",
304
+ children: H.map((e) => {
305
+ let t = e.id === S, n = e.capacity ?? null, r = e.soldCount ?? 0, i = n && n > 0 ? Math.min(100, Math.round(r / n * 100)) : null, a = n != null && r >= n;
306
+ return /* @__PURE__ */ u("button", {
307
+ type: "button",
308
+ disabled: a && !t,
309
+ onClick: () => C(e.id),
310
+ "aria-pressed": t,
311
+ className: `flex flex-col gap-3 rounded-card border p-4 text-left transition-colors disabled:cursor-not-allowed disabled:opacity-60 ${t ? "border-action-primary-border bg-accent-wash ring-1 ring-border-focus" : "border-border-seam bg-bg-surface hover:border-border-strong"}`,
312
+ children: [
313
+ /* @__PURE__ */ u("div", {
314
+ className: "flex items-start justify-between gap-2",
315
+ children: [/* @__PURE__ */ l("span", {
316
+ className: "text-sm font-semibold text-text-primary",
317
+ children: e.name
318
+ }), t ? /* @__PURE__ */ l(f, {
319
+ className: "h-4 w-4 shrink-0 text-action-primary-bg",
320
+ "aria-hidden": "true"
321
+ }) : /* @__PURE__ */ l(p, {
322
+ className: "h-4 w-4 shrink-0 text-text-muted",
323
+ "aria-hidden": "true"
324
+ })]
325
+ }),
326
+ /* @__PURE__ */ l("span", {
327
+ className: "text-lg font-bold tabular-nums text-text-primary",
328
+ children: Number(e.price) > 0 ? o(Number(e.price), e.currency) : "Free"
329
+ }),
330
+ n == null ? /* @__PURE__ */ u("span", {
331
+ className: "text-xs text-text-muted",
332
+ children: [r, " sold"]
333
+ }) : /* @__PURE__ */ u("div", {
334
+ className: "space-y-1",
335
+ children: [/* @__PURE__ */ l("div", {
336
+ className: "h-1.5 w-full overflow-hidden rounded-full bg-bg-sunken",
337
+ children: /* @__PURE__ */ l("div", {
338
+ className: "h-full rounded-full bg-action-primary-bg",
339
+ style: { width: `${i ?? 0}%` }
340
+ })
341
+ }), /* @__PURE__ */ l("span", {
342
+ className: "text-xs text-text-muted",
343
+ children: a ? "Sold out" : `${r} / ${n} sold`
344
+ })]
345
+ })
346
+ ]
347
+ }, e.id);
348
+ })
349
+ }),
350
+ /* @__PURE__ */ l("div", {
351
+ className: "flex flex-wrap items-end gap-4 border-t border-border-seam pt-4",
352
+ children: /* @__PURE__ */ u("div", {
353
+ className: "space-y-1",
354
+ children: [/* @__PURE__ */ l("span", {
355
+ className: "text-sm font-medium text-text-primary",
356
+ children: "Quantity"
357
+ }), /* @__PURE__ */ u("div", {
358
+ className: "flex items-center gap-1",
359
+ children: [
360
+ /* @__PURE__ */ l(m, {
361
+ type: "button",
362
+ variant: "outline",
363
+ size: "icon",
364
+ "aria-label": "Decrease quantity",
365
+ disabled: Y <= 1,
366
+ onClick: () => M((e) => Math.max(1, e - 1)),
367
+ children: /* @__PURE__ */ l(de, { className: "h-4 w-4" })
368
+ }),
369
+ /* @__PURE__ */ l("span", {
370
+ className: "w-10 text-center text-base font-semibold tabular-nums text-text-primary",
371
+ children: Y
372
+ }),
373
+ /* @__PURE__ */ l(m, {
374
+ type: "button",
375
+ variant: "outline",
376
+ size: "icon",
377
+ "aria-label": "Increase quantity",
378
+ onClick: () => M((e) => e + 1),
379
+ children: /* @__PURE__ */ l(fe, { className: "h-4 w-4" })
380
+ })
381
+ ]
382
+ })]
383
+ })
384
+ })
385
+ ]
386
+ }) : null,
387
+ y === 2 ? /* @__PURE__ */ u("div", {
388
+ className: "space-y-4",
389
+ children: [
390
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("h2", {
391
+ className: "text-lg font-semibold text-text-primary",
392
+ children: "Attendee information"
393
+ }), /* @__PURE__ */ l("p", {
394
+ className: "mt-1 text-sm text-text-secondary",
395
+ children: "Add someone new or pick an existing attendee."
396
+ })] }),
397
+ /* @__PURE__ */ u("div", {
398
+ className: "inline-flex rounded-input border border-border-seam bg-bg-sunken p-1",
399
+ children: [/* @__PURE__ */ l("button", {
400
+ type: "button",
401
+ onClick: () => T("new"),
402
+ className: `rounded-[calc(var(--radius-input)-2px)] px-3 py-1.5 text-sm font-medium transition-colors ${w === "new" ? "bg-bg-surface text-text-primary shadow-sm" : "text-text-secondary hover:text-text-primary"}`,
403
+ children: "New attendee"
404
+ }), /* @__PURE__ */ l("button", {
405
+ type: "button",
406
+ onClick: () => T("existing"),
407
+ disabled: U.length === 0,
408
+ className: `rounded-[calc(var(--radius-input)-2px)] px-3 py-1.5 text-sm font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50 ${w === "existing" ? "bg-bg-surface text-text-primary shadow-sm" : "text-text-secondary hover:text-text-primary"}`,
409
+ children: "Existing attendee"
410
+ })]
411
+ }),
412
+ w === "existing" ? /* @__PURE__ */ u("label", {
413
+ className: "block space-y-1 text-sm",
414
+ children: [/* @__PURE__ */ l("span", {
415
+ className: "font-medium text-text-primary",
416
+ children: "Attendee"
417
+ }), /* @__PURE__ */ u(ge, {
418
+ value: E,
419
+ onValueChange: D,
420
+ children: [/* @__PURE__ */ l(ye, {
421
+ "aria-label": "Attendee",
422
+ children: /* @__PURE__ */ l(be, { placeholder: "Select an attendee" })
423
+ }), /* @__PURE__ */ l(_e, { children: U.map((e) => /* @__PURE__ */ u(ve, {
424
+ value: e.id,
425
+ children: [
426
+ e.fullName,
427
+ " · ",
428
+ e.email
429
+ ]
430
+ }, e.id)) })]
431
+ })]
432
+ }) : /* @__PURE__ */ u("div", {
433
+ className: "grid grid-cols-1 gap-4 sm:grid-cols-2",
434
+ children: [
435
+ /* @__PURE__ */ u("label", {
436
+ className: "space-y-1 text-sm",
437
+ children: [/* @__PURE__ */ l("span", {
438
+ className: "font-medium text-text-primary",
439
+ children: "Full name"
440
+ }), /* @__PURE__ */ l(g, {
441
+ value: O,
442
+ onChange: (e) => k(e.target.value),
443
+ placeholder: "Enter full name"
444
+ })]
445
+ }),
446
+ /* @__PURE__ */ u("label", {
447
+ className: "space-y-1 text-sm",
448
+ children: [/* @__PURE__ */ l("span", {
449
+ className: "font-medium text-text-primary",
450
+ children: "Email"
451
+ }), /* @__PURE__ */ l(g, {
452
+ type: "email",
453
+ value: A,
454
+ onChange: (e) => j(e.target.value),
455
+ placeholder: "Enter email address"
456
+ })]
457
+ }),
458
+ /* @__PURE__ */ u("label", {
459
+ className: "space-y-1 text-sm",
460
+ children: [/* @__PURE__ */ l("span", {
461
+ className: "font-medium text-text-primary",
462
+ children: "Company"
463
+ }), /* @__PURE__ */ l(g, {
464
+ value: Ce,
465
+ onChange: (e) => we(e.target.value),
466
+ placeholder: "Enter company name"
467
+ })]
468
+ }),
469
+ /* @__PURE__ */ u("label", {
470
+ className: "space-y-1 text-sm",
471
+ children: [/* @__PURE__ */ l("span", {
472
+ className: "font-medium text-text-primary",
473
+ children: "Phone"
474
+ }), /* @__PURE__ */ l(g, {
475
+ value: Te,
476
+ onChange: (e) => Ee(e.target.value),
477
+ placeholder: "Optional"
478
+ })]
479
+ })
480
+ ]
481
+ }),
482
+ /* @__PURE__ */ u("div", {
483
+ className: "space-y-2 border-t border-border-seam pt-4",
232
484
  children: [
233
- e.name,
234
- " — ",
235
- e.price,
236
- " ",
237
- e.currency
485
+ /* @__PURE__ */ l("span", {
486
+ className: "text-sm font-medium text-text-primary",
487
+ children: "Promo code (optional)"
488
+ }),
489
+ /* @__PURE__ */ u("div", {
490
+ className: "flex flex-col gap-2 sm:flex-row",
491
+ children: [/* @__PURE__ */ l(g, {
492
+ value: N,
493
+ onChange: (e) => {
494
+ P(e.target.value), L("");
495
+ },
496
+ placeholder: "Enter promo code",
497
+ className: "sm:flex-1",
498
+ onKeyDown: (e) => {
499
+ e.key === "Enter" && (e.preventDefault(), Ye());
500
+ }
501
+ }), F ? /* @__PURE__ */ l(m, {
502
+ type: "button",
503
+ variant: "outline",
504
+ onClick: Xe,
505
+ children: "Remove"
506
+ }) : /* @__PURE__ */ l(m, {
507
+ type: "button",
508
+ variant: "outline",
509
+ onClick: Ye,
510
+ disabled: !N.trim(),
511
+ children: "Apply"
512
+ })]
513
+ }),
514
+ F ? /* @__PURE__ */ u("span", {
515
+ className: "inline-flex items-center gap-1 rounded-full bg-status-success-bg-subtle px-2.5 py-0.5 text-xs font-medium text-status-success-text",
516
+ children: [
517
+ /* @__PURE__ */ l(ce, {
518
+ className: "h-3.5 w-3.5",
519
+ "aria-hidden": "true"
520
+ }),
521
+ ae(F.discountType, F.discountValue, X),
522
+ " applied"
523
+ ]
524
+ }) : Oe ? /* @__PURE__ */ l("span", {
525
+ className: "text-xs text-status-error-text",
526
+ children: Oe
527
+ }) : W.length > 0 ? /* @__PURE__ */ u("div", {
528
+ className: "flex flex-wrap items-center gap-1.5 text-xs text-text-muted",
529
+ children: [/* @__PURE__ */ l("span", { children: "Available:" }), W.slice(0, 4).map((e) => /* @__PURE__ */ l("button", {
530
+ type: "button",
531
+ onClick: () => {
532
+ P(e.code), I(e), L("");
533
+ },
534
+ className: "rounded-full border border-border-seam bg-bg-surface px-2 py-0.5 font-medium text-text-secondary hover:border-border-strong hover:text-text-primary",
535
+ children: e.code
536
+ }, e.id))]
537
+ }) : null
238
538
  ]
239
- }, e.id)) })]
539
+ })
540
+ ]
541
+ }) : null,
542
+ y === 3 ? /* @__PURE__ */ u("div", {
543
+ className: "space-y-4",
544
+ children: [
545
+ /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l("h2", {
546
+ className: "text-lg font-semibold text-text-primary",
547
+ children: "Review & confirm"
548
+ }), /* @__PURE__ */ l("p", {
549
+ className: "mt-1 text-sm text-text-secondary",
550
+ children: "Double-check the details before registering."
551
+ })] }),
552
+ /* @__PURE__ */ u("dl", {
553
+ className: "divide-y divide-border-seam rounded-card border border-border-seam bg-bg-surface text-sm",
554
+ children: [
555
+ /* @__PURE__ */ u("div", {
556
+ className: "flex items-center gap-3 p-3",
557
+ children: [
558
+ /* @__PURE__ */ l(le, {
559
+ className: "h-4 w-4 text-text-muted",
560
+ "aria-hidden": "true"
561
+ }),
562
+ /* @__PURE__ */ l("dt", {
563
+ className: "text-text-secondary",
564
+ children: "Event"
565
+ }),
566
+ /* @__PURE__ */ l("dd", {
567
+ className: "ml-auto font-medium text-text-primary",
568
+ children: K?.name ?? "—"
569
+ })
570
+ ]
571
+ }),
572
+ /* @__PURE__ */ u("div", {
573
+ className: "flex items-center gap-3 p-3",
574
+ children: [
575
+ /* @__PURE__ */ l(p, {
576
+ className: "h-4 w-4 text-text-muted",
577
+ "aria-hidden": "true"
578
+ }),
579
+ /* @__PURE__ */ l("dt", {
580
+ className: "text-text-secondary",
581
+ children: "Ticket"
582
+ }),
583
+ /* @__PURE__ */ u("dd", {
584
+ className: "ml-auto font-medium text-text-primary",
585
+ children: [q?.name ?? "—", Y > 1 ? ` × ${Y}` : ""]
586
+ })
587
+ ]
588
+ }),
589
+ /* @__PURE__ */ u("div", {
590
+ className: "flex items-center gap-3 p-3",
591
+ children: [
592
+ /* @__PURE__ */ l(pe, {
593
+ className: "h-4 w-4 text-text-muted",
594
+ "aria-hidden": "true"
595
+ }),
596
+ /* @__PURE__ */ l("dt", {
597
+ className: "text-text-secondary",
598
+ children: "Attendee"
599
+ }),
600
+ /* @__PURE__ */ u("dd", {
601
+ className: "ml-auto text-right font-medium text-text-primary",
602
+ children: [He || "—", /* @__PURE__ */ l("span", {
603
+ className: "block text-xs font-normal text-text-secondary",
604
+ children: w === "existing" ? J?.email : A.trim()
605
+ })]
606
+ })
607
+ ]
608
+ })
609
+ ]
610
+ }),
611
+ $ ? /* @__PURE__ */ u("label", {
612
+ className: "block space-y-1 text-sm",
613
+ children: [
614
+ /* @__PURE__ */ l("span", {
615
+ className: "font-medium text-text-primary",
616
+ children: "Billing account ID (optional)"
617
+ }),
618
+ /* @__PURE__ */ l(g, {
619
+ value: R,
620
+ onChange: (e) => ke(e.target.value),
621
+ placeholder: "Attach an existing billing account"
622
+ }),
623
+ /* @__PURE__ */ l("span", {
624
+ className: "text-xs text-text-secondary",
625
+ children: "When provided, the charge is attached to this billing account."
626
+ })
627
+ ]
628
+ }) : null
629
+ ]
630
+ }) : null,
631
+ /* @__PURE__ */ u("div", {
632
+ className: "mt-6 flex items-center justify-between gap-3 border-t border-border-seam pt-4",
633
+ children: [/* @__PURE__ */ u(m, {
634
+ type: "button",
635
+ variant: "ghost",
636
+ onClick: Je,
637
+ disabled: y === 0 || G,
638
+ children: [/* @__PURE__ */ l(d, { className: "h-4 w-4" }), "Back"]
639
+ }), y < _.length - 1 ? /* @__PURE__ */ u(m, {
640
+ type: "button",
641
+ onClick: qe,
642
+ children: ["Continue", /* @__PURE__ */ l(se, { className: "h-4 w-4" })]
643
+ }) : /* @__PURE__ */ u(m, {
644
+ type: "button",
645
+ onClick: async () => {
646
+ if (!x || !S) {
647
+ t.error("Incomplete", "Pick an event and ticket first.");
648
+ return;
649
+ }
650
+ if (w === "new" && (!O.trim() || !A.trim())) {
651
+ t.error("Attendee required", "Enter a name and email, or pick an existing attendee.");
652
+ return;
653
+ }
654
+ if (w === "existing" && !E) {
655
+ t.error("Attendee required", "Select an existing attendee.");
656
+ return;
657
+ }
658
+ try {
659
+ let e = E, n = J?.fullName ?? "";
660
+ if (w === "new") {
661
+ let t = await Ie({ variables: { input: {
662
+ eventId: x,
663
+ fullName: O.trim(),
664
+ email: A.trim(),
665
+ company: Ce.trim() || null,
666
+ phone: Te.trim() || null,
667
+ profile: {},
668
+ metadata: {}
669
+ } } }), r = t.data?.createAttendee?.id;
670
+ if (!re(t, r, "Could not create attendee") || !r) return;
671
+ e = r, n = O.trim();
672
+ }
673
+ let r = {};
674
+ F && (r.promoCode = F.code), $ && R.trim() && (r.billingAccountId = R.trim());
675
+ let i = await Re({ variables: { input: {
676
+ eventId: x,
677
+ attendeeId: e,
678
+ ticketTypeId: S,
679
+ quantity: Y,
680
+ currency: X,
681
+ status: "CONFIRMED",
682
+ metadata: r
683
+ } } });
684
+ if (!re(i, i.data?.createRegistration?.id, "Could not create registration")) return;
685
+ let a = i.data?.createRegistration;
686
+ B({
687
+ attendeeName: n || "Attendee",
688
+ eventName: K?.name ?? "Event",
689
+ ticketName: q?.name ?? "Ticket",
690
+ quantity: Y,
691
+ status: a?.status ?? "CONFIRMED",
692
+ subtotal: Z,
693
+ discount: Q,
694
+ total: Ve,
695
+ currency: X,
696
+ promoCode: F?.code ?? null,
697
+ free: !$
698
+ }), t.success("Registration confirmed", n || void 0);
699
+ } catch (e) {
700
+ t.error("Could not register attendee", ne(e));
701
+ }
702
+ },
703
+ disabled: G,
704
+ children: [/* @__PURE__ */ l(p, { className: "h-4 w-4" }), G ? "Registering…" : "Confirm registration"]
240
705
  })]
241
- })]
242
- }),
243
- /* @__PURE__ */ u("label", {
244
- className: "space-y-1 text-sm",
245
- children: [/* @__PURE__ */ l("span", {
246
- className: "font-medium text-text-primary",
247
- children: "Attendee"
248
- }), /* @__PURE__ */ u(h, {
249
- value: T,
250
- onValueChange: E,
251
- children: [/* @__PURE__ */ l(v, {
252
- "aria-label": "Attendee",
253
- children: /* @__PURE__ */ l(y, {})
254
- }), /* @__PURE__ */ u(g, { children: [/* @__PURE__ */ l(_, {
255
- value: b,
256
- children: "+ New attendee"
257
- }), K.map((e) => /* @__PURE__ */ u(_, {
258
- value: e.id,
259
- children: [
260
- e.fullName,
261
- " · ",
262
- e.email
263
- ]
264
- }, e.id))] })]
265
- })]
266
- }),
267
- T === b ? /* @__PURE__ */ u("div", {
268
- className: "grid grid-cols-1 gap-4 rounded-input border border-border-seam bg-bg-surface p-4 md:grid-cols-2",
706
+ })
707
+ ]
708
+ }), /* @__PURE__ */ u(h, {
709
+ treatment: "glass",
710
+ className: "h-fit p-5 lg:sticky lg:top-6",
711
+ children: [/* @__PURE__ */ l("h2", {
712
+ className: "text-base font-semibold text-text-primary",
713
+ children: "Order summary"
714
+ }), q ? /* @__PURE__ */ u("div", {
715
+ className: "mt-4 space-y-3 text-sm",
269
716
  children: [
270
- /* @__PURE__ */ u("label", {
271
- className: "space-y-1 text-sm",
272
- children: [/* @__PURE__ */ l("span", {
273
- className: "font-medium text-text-primary",
274
- children: "Full Name"
275
- }), /* @__PURE__ */ l(m, {
276
- value: D,
277
- onChange: (e) => O(e.target.value),
278
- required: !0
717
+ /* @__PURE__ */ u("div", {
718
+ className: "flex items-start justify-between gap-3",
719
+ children: [/* @__PURE__ */ u("span", {
720
+ className: "min-w-0 text-text-secondary",
721
+ children: [
722
+ K?.name ? `${K.name} — ` : "",
723
+ q.name,
724
+ Y > 1 ? /* @__PURE__ */ u("span", {
725
+ className: "text-text-muted",
726
+ children: [" × ", Y]
727
+ }) : null
728
+ ]
729
+ }), /* @__PURE__ */ l("span", {
730
+ className: "shrink-0 tabular-nums text-text-primary",
731
+ children: Z > 0 ? o(Z, X) : "Free"
279
732
  })]
280
733
  }),
281
- /* @__PURE__ */ u("label", {
282
- className: "space-y-1 text-sm",
283
- children: [/* @__PURE__ */ l("span", {
284
- className: "font-medium text-text-primary",
285
- children: "Email"
286
- }), /* @__PURE__ */ l(m, {
287
- type: "email",
288
- value: k,
289
- onChange: (e) => ce(e.target.value),
290
- required: !0
734
+ F && Q > 0 ? /* @__PURE__ */ u("div", {
735
+ className: "flex items-start justify-between gap-3",
736
+ children: [/* @__PURE__ */ u("span", {
737
+ className: "text-text-secondary",
738
+ children: ["Promo · ", F.code]
739
+ }), /* @__PURE__ */ u("span", {
740
+ className: "shrink-0 tabular-nums text-status-success-text",
741
+ children: ["−", o(Q, X)]
291
742
  })]
292
- }),
293
- /* @__PURE__ */ u("label", {
294
- className: "space-y-1 text-sm",
743
+ }) : null,
744
+ /* @__PURE__ */ u("div", {
745
+ className: "flex items-center justify-between border-t border-border-seam pt-3",
295
746
  children: [/* @__PURE__ */ l("span", {
296
- className: "font-medium text-text-primary",
297
- children: "Company"
298
- }), /* @__PURE__ */ l(m, {
299
- value: le,
300
- onChange: (e) => A(e.target.value)
747
+ className: "font-semibold text-text-primary",
748
+ children: "Total"
749
+ }), /* @__PURE__ */ l("span", {
750
+ className: "text-lg font-bold tabular-nums text-text-primary",
751
+ children: Z > 0 ? o(Ve, X) : "Free"
301
752
  })]
302
753
  }),
303
- /* @__PURE__ */ u("label", {
304
- className: "space-y-1 text-sm",
305
- children: [/* @__PURE__ */ l("span", {
306
- className: "font-medium text-text-primary",
307
- children: "Phone"
308
- }), /* @__PURE__ */ l(m, {
309
- value: j,
310
- onChange: (e) => M(e.target.value)
311
- })]
312
- })
754
+ Z > 0 ? /* @__PURE__ */ l("p", {
755
+ className: "text-xs text-text-muted",
756
+ children: "Final pricing & payment handled by the billing service."
757
+ }) : null
313
758
  ]
314
- }) : null,
315
- /* @__PURE__ */ u("div", {
316
- className: "grid grid-cols-1 gap-4 md:grid-cols-2",
317
- children: [/* @__PURE__ */ u("label", {
318
- className: "space-y-1 text-sm",
319
- children: [/* @__PURE__ */ l("span", {
320
- className: "font-medium text-text-primary",
321
- children: "Quantity"
322
- }), /* @__PURE__ */ l(m, {
323
- type: "number",
324
- min: "1",
325
- value: N,
326
- onChange: (e) => P(e.target.value),
327
- required: !0
328
- })]
329
- }), /* @__PURE__ */ u("label", {
330
- className: "space-y-1 text-sm",
331
- children: [/* @__PURE__ */ l("span", {
332
- className: "font-medium text-text-primary",
333
- children: "Promo Code (optional)"
334
- }), /* @__PURE__ */ u(h, {
335
- value: F,
336
- onValueChange: I,
337
- disabled: q.length === 0,
338
- children: [/* @__PURE__ */ l(v, {
339
- "aria-label": "Promo Code",
340
- children: /* @__PURE__ */ l(y, { placeholder: q.length === 0 ? "No active codes" : "No promo code" })
341
- }), /* @__PURE__ */ l(g, { children: q.map((e) => /* @__PURE__ */ u(_, {
342
- value: e.code,
343
- children: [
344
- e.code,
345
- " —",
346
- " ",
347
- e.discountType === "PERCENT" ? `${e.discountValue}%` : e.discountValue
348
- ]
349
- }, e.id)) })]
350
- })]
351
- })]
352
- }),
353
- Q ? /* @__PURE__ */ u("div", {
354
- className: "space-y-3 rounded-input border border-border-seam bg-bg-surface p-4",
355
- children: [/* @__PURE__ */ u("div", {
356
- className: "flex items-center gap-2 text-sm text-text-secondary",
357
- children: [/* @__PURE__ */ l(f, {
358
- className: "h-4 w-4 text-text-muted",
359
- "aria-hidden": "true"
360
- }), /* @__PURE__ */ u("span", { children: [
361
- "Estimated total",
362
- " ",
363
- /* @__PURE__ */ u("span", {
364
- className: "font-semibold tabular-nums text-text-primary",
365
- children: [
366
- Z.toLocaleString(),
367
- " ",
368
- X
369
- ]
370
- }),
371
- " ",
372
- "— final pricing and payment are handled by the billing service."
373
- ] })]
374
- }), /* @__PURE__ */ u("label", {
375
- className: "space-y-1 text-sm",
376
- children: [
377
- /* @__PURE__ */ l("span", {
378
- className: "font-medium text-text-primary",
379
- children: "Billing Account ID (optional)"
380
- }),
381
- /* @__PURE__ */ l(m, {
382
- value: L,
383
- onChange: (e) => R(e.target.value),
384
- placeholder: "Attach an existing billing account"
385
- }),
386
- /* @__PURE__ */ l("span", {
387
- className: "text-xs text-text-secondary",
388
- children: "When provided, the charge is attached to this billing account."
389
- })
390
- ]
391
- })]
392
- }) : null,
393
- /* @__PURE__ */ u("div", {
394
- className: "flex justify-end gap-3",
395
- children: [/* @__PURE__ */ l(p, {
396
- type: "button",
397
- variant: "outline",
398
- onClick: () => x("/registration"),
399
- disabled: $,
400
- children: "Cancel"
401
- }), /* @__PURE__ */ u(p, {
402
- type: "submit",
403
- disabled: $,
404
- children: [/* @__PURE__ */ l(f, { className: "h-4 w-4" }), $ ? "Registering…" : "Register Attendee"]
405
- })]
406
- })
407
- ]
408
- }) })
759
+ }) : /* @__PURE__ */ l("p", {
760
+ className: "mt-4 text-sm text-text-muted",
761
+ children: "Pick a ticket to see the price breakdown. Your order total updates as you go."
762
+ })]
763
+ })]
764
+ })
409
765
  ]
410
766
  });
411
767
  }
412
768
  //#endregion
413
- export { x as default };
769
+ export { v as default };
414
770
 
415
771
  //# sourceMappingURL=RegisterAttendeePage.js.map