@getmicdrop/venue-calendar 4.3.136 → 4.3.139

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 (314) hide show
  1. package/README.md +895 -840
  2. package/dist/AddOnCard-Dlt_4lut.js +475 -0
  3. package/dist/AppError-t1LnBwj_.js +30 -0
  4. package/dist/{ArrowLeftIcon-OhmQKtD4.js → ArrowLeftIcon-P8BRVhVl.js} +2 -3
  5. package/dist/Badge-CmYqIClC.js +51 -0
  6. package/dist/BottomSheet-D27k0B05.js +154 -0
  7. package/dist/Button-Ch5dRGa2.js +149 -0
  8. package/dist/Button-DpeQSoQ7.js +247 -0
  9. package/dist/Calendar-CNWS2xiR.js +396 -0
  10. package/dist/CalendarFoundryView-B5puOxH5.js +16431 -0
  11. package/dist/{CalendarIcon-DCLzgpBo.js → CalendarIcon-MAVEqtql.js} +2 -3
  12. package/dist/{ChevronDownOutline-D7YDiKBF.js → CalendarOutline-CApIWx8i.js} +2 -3
  13. package/dist/{ChartBlock-SYOAO1s_.js → ChartBlock-vihMKVdW.js} +85 -112
  14. package/dist/{CheckIcon-BjPbytbt.js → CheckIcon-BH9EAoee.js} +2 -3
  15. package/dist/{Checkout-JdT81S88.js → Checkout-B2FvX6Af.js} +356 -368
  16. package/dist/Checkout-y0x-v-XH.js +1995 -0
  17. package/dist/{ChevronDownIcon-O-Q8C_Qg.js → ChevronDownIcon-Bkts84qA.js} +2 -3
  18. package/dist/{ChevronRightOutline-CiG8UHni.js → ChevronRightOutline-D-5Qw6-Y.js} +2 -4
  19. package/dist/CloseIcon-DRlYvIPc.js +24 -0
  20. package/dist/{CloseOutline-qpVa62mu.js → CloseOutline-Bh9UO94v.js} +1 -2
  21. package/dist/CollectionView-CcLlV-1f.js +129 -0
  22. package/dist/CropImage-DqLAGy5s.js +547 -0
  23. package/dist/DatePicker-D20Te0JY.js +657 -0
  24. package/dist/{EmptyState-CMFePII9.js → EmptyState-BhK78ogy.js} +10 -12
  25. package/dist/{Event-BHnHfeO-.js → Event-DoIU0o6C.js} +1199 -1202
  26. package/dist/{EventCard-DIFJADV7.js → EventCard-B8MYLyIW.js} +15 -15
  27. package/dist/EventPage-DM4tjCcL.js +1298 -0
  28. package/dist/{ExclamationCircleOutline-D3XbhOwM.js → ExclamationCircleOutline-CPelT1Bu.js} +1 -2
  29. package/dist/FilterChipGroup-BCjc7-pE.js +103 -0
  30. package/dist/Grid-DRRXcWRE.js +41 -0
  31. package/dist/{Heading-vOVPxhJF.js → Heading-WcF3Rh3o.js} +4 -6
  32. package/dist/Image-dhbgrhG-.js +89 -0
  33. package/dist/ImageUploader-BzxKIyLN.js +999 -0
  34. package/dist/{Input-BG9DbwUe.js → Input-Bp5EgI1F.js} +47 -45
  35. package/dist/LiveRegion-Ds0mjIVj.js +17 -0
  36. package/dist/{LocationIcon-BEx96ng8.js → LocationIcon-BNPEzWv2.js} +3 -5
  37. package/dist/Modal-C6EXgkuF.js +159 -0
  38. package/dist/ModalFooter-C4TD3-zP.js +299 -0
  39. package/dist/ModalTitle-BP4Bm3sA.js +26 -0
  40. package/dist/{PasswordInput-BQdpZ9HL.js → PasswordInput-BlzSrkPs.js} +11 -13
  41. package/dist/{PhoneInput-5l-M5ykF.js → PhoneInput-_ByjRGQ0.js} +80 -89
  42. package/dist/{RecommendationsRail-BRthm1Iu.js → RecommendationsRail-BDNnbL-p.js} +161 -172
  43. package/dist/RequiredIndicator-CRZ_coyR.js +16 -0
  44. package/dist/Search-vhGEpog6.js +82 -0
  45. package/dist/SearchIcon-BzOhoKm8.js +24 -0
  46. package/dist/SeriesPage-YE8czX1M.js +32 -0
  47. package/dist/SheetHandle-CCfYCPbY.js +66 -0
  48. package/dist/SkeletonLoader-Beh2izdy.js +121 -0
  49. package/dist/Spinner-DgubkWKo.js +88 -0
  50. package/dist/Stack-Ck1wrJ0l.js +34 -0
  51. package/dist/{Success-DWdMk7gp.js → Success-CN5HB8gN.js} +271 -305
  52. package/dist/{TagIcon-BIJYPXYq.js → TagIcon-Dp7n6eKU.js} +2 -3
  53. package/dist/TimePicker-BDuy9Ap8.js +215 -0
  54. package/dist/ValidationError-BxKB_SVA.js +48 -0
  55. package/dist/{ViewTicketsEmbed-CjH3N_VJ.js → ViewTicketsEmbed-DvoMIiKJ.js} +226 -244
  56. package/dist/{WarningCircleIcon-Uuc8KHJN.js → WarningCircleIcon-jC3nXehu.js} +4 -7
  57. package/dist/{WarningTriIcon-SX24XObM.js → WarningTriIcon-BMa-jcUr.js} +2 -3
  58. package/dist/address-field-DOalICpt.js +295 -0
  59. package/dist/{href-ZuPjzr6t.js → allowlist-DinkGF2L.js} +254 -316
  60. package/dist/api/api.cjs +1 -1
  61. package/dist/api/api.mjs +331 -322
  62. package/dist/api/client.d.ts +14 -53
  63. package/dist/api/cta.d.ts +4 -0
  64. package/dist/api/events.d.ts +28 -1
  65. package/dist/api/result.d.ts +9 -0
  66. package/dist/api-CsAx0rmV.js +507 -0
  67. package/dist/avatar-picker-field-CV4vRxTB.js +115 -0
  68. package/dist/{browser-BzcyBbWS.js → browser-DEUBVMmV.js} +8 -9
  69. package/dist/bundle-mjs-COnlheJX.js +1776 -0
  70. package/dist/{buyerEmail-BfCq-gDt.js → buyerEmail-CvPpEiON.js} +2 -3
  71. package/dist/checkout-libs/4.3.139/phone.js +6 -0
  72. package/dist/checkout-libs/{4.3.136 → 4.3.139}/qrcode.js +3 -3
  73. package/dist/{checkoutState-wrwq9TD7.js → checkoutState-DSx7g3Vy.js} +18 -30
  74. package/dist/classNames-CPSQ9uy4.js +25 -0
  75. package/dist/clickOutside-D448uRpo.js +22 -0
  76. package/dist/{client-SmFkruvn.js → client-SaDt6559.js} +22 -19
  77. package/dist/colors-CdP193E5.js +106 -0
  78. package/dist/colors-D67OMr_8.js +22 -0
  79. package/dist/{constants-D_7LswXe.js → constants-sRRJh0u-.js} +3 -5
  80. package/dist/controlAria-Do9QK0WI.js +13 -0
  81. package/dist/{copyToClipboard-BzoArVPb.js → copyToClipboard-CjNjDZeW.js} +3 -5
  82. package/dist/createErrorGate.svelte-DUXI6Yor.js +82 -0
  83. package/dist/date-field-DylJx0y7.js +88 -0
  84. package/dist/date-range-field-BOV1V2ab.js +163 -0
  85. package/dist/{de-DC0pKC1H.js → de-CzkX3H3B.js} +2 -2
  86. package/dist/{de-BbjhLBzm.js → de-vKpbo9Zl.js} +1 -2
  87. package/dist/defaultLabels-DLK6rq4q.js +564 -0
  88. package/dist/defaults-Cbuin1WS.js +147 -0
  89. package/dist/deprecation-BCjqE5lW.js +4 -0
  90. package/dist/{dist-bwbfGPKR.js → dist-Dptst9ym.js} +2 -4
  91. package/dist/{es-38yS4d3G.js → es-8qe0Mo-8.js} +1 -2
  92. package/dist/{es-DxoJfXOC.js → es-BOLzv8eD.js} +2 -2
  93. package/dist/{event-DXsgCbu0.js → event-ClsLWtR0.js} +3 -4
  94. package/dist/event-transform-Cs63X0hI.js +250 -0
  95. package/dist/{eventStatusStream-JWP2AXnQ.js → eventStatusStream-BAh5nJP2.js} +4 -7
  96. package/dist/field-rules-Yb2JY1qT.js +416 -0
  97. package/dist/file-field-Dwo80kDg.js +210 -0
  98. package/dist/{filepond-plugin-file-validate-size-DNnItZ84.js → filepond-plugin-file-validate-size-CuNOjGbP.js} +20 -27
  99. package/dist/{filepond-plugin-file-validate-type-CUMTkI8X.js → filepond-plugin-file-validate-type-CVtQwdIK.js} +25 -27
  100. package/dist/{filepond-plugin-image-exif-orientation-GEwHZTBU.js → filepond-plugin-image-exif-orientation-CMPs7yGQ.js} +21 -23
  101. package/dist/{filepond-plugin-image-preview-DKfgAnVa.js → filepond-plugin-image-preview-DKsOZAGe.js} +12 -27
  102. package/dist/{floatingPosition-XIv5DYuP.js → floatingPosition-BCUPmGCN.js} +8 -13
  103. package/dist/format-CehusdDg.js +1718 -0
  104. package/dist/formatters-DUWbI_Eg.js +103 -0
  105. package/dist/foundryRuntime-DKyfdkUY.js +13 -0
  106. package/dist/{fr-LivMhlfx.js → fr-BmpShjUG.js} +1 -2
  107. package/dist/{fr-DCdoZpLm.js → fr-DYTIBBXo.js} +2 -2
  108. package/dist/{gate-password-cache-oOcDm9Ki.js → gate-password-cache-zIbewXQ2.js} +1 -2
  109. package/dist/hexToHsl-D-BPy03y.js +24 -0
  110. package/dist/href-BXhNawil.js +18 -0
  111. package/dist/i18n-BNF6a-QA.js +720 -0
  112. package/dist/i18n-F_QOaHVh.js +26 -0
  113. package/dist/iconWeight-BRXEDAh2.js +12 -0
  114. package/dist/{id-XuEVsPu6.js → id-CIyIkGhH.js} +2 -2
  115. package/dist/{id-BvOr8-aw.js → id-_6GFAYBn.js} +1 -2
  116. package/dist/image-field-DeLzsJlz.js +139 -0
  117. package/dist/{imageUrl-xyMedKrE.js → imageUrl-iAS2Xo17.js} +1 -2
  118. package/dist/{it-RdUTxnO5.js → it-CF4Db_nK.js} +2 -2
  119. package/dist/{it-mzikQJIm.js → it-Dc-H_PdY.js} +1 -2
  120. package/dist/{ja-DgVJimHs.js → ja-5-7WNHD1.js} +2 -2
  121. package/dist/{ja-D9PSUNMd.js → ja-Cobhk-xH.js} +1 -2
  122. package/dist/keyboard-Dk2PfrEz.js +28 -0
  123. package/dist/{ko-DEgW43V6.js → ko-CyTlg6vA.js} +1 -2
  124. package/dist/{ko-CcPM8_aU.js → ko-huIzHR3W.js} +2 -2
  125. package/dist/labels-CjSrA6gx.js +9 -0
  126. package/dist/{lazyOnce-CCfEO1xG.js → lazyOnce-jG8k1apa.js} +1 -2
  127. package/dist/loaders.static-Bw9asjrm.js +3 -0
  128. package/dist/locales/4.3.139/main/de.js +1 -0
  129. package/dist/locales/4.3.139/main/es.js +1 -0
  130. package/dist/locales/4.3.139/main/fr.js +1 -0
  131. package/dist/locales/4.3.139/main/id.js +1 -0
  132. package/dist/locales/4.3.139/main/it.js +1 -0
  133. package/dist/locales/4.3.139/main/ja.js +1 -0
  134. package/dist/locales/4.3.139/main/ko.js +1 -0
  135. package/dist/locales/4.3.139/main/nl.js +1 -0
  136. package/dist/locales/4.3.139/main/pl.js +1 -0
  137. package/dist/locales/4.3.139/main/pt-br.js +1 -0
  138. package/dist/locales/4.3.139/main/tr.js +1 -0
  139. package/dist/locales/4.3.139/main/zh.js +1 -0
  140. package/dist/logger-DM8WW61-.js +89 -0
  141. package/dist/look-island.svelte-D87MvHNy.js +1296 -0
  142. package/dist/look-names-B9MywEzX.js +185 -0
  143. package/dist/looks/4.3.139/AddOnCard-CKdkGcHH.js +1 -0
  144. package/dist/looks/4.3.139/Checkout-D7CaFYTE.js +1 -0
  145. package/dist/looks/4.3.139/Checkout-DuP46PMi.js +3 -0
  146. package/dist/looks/4.3.139/CollectionView-CWm57JCx.js +1 -0
  147. package/dist/looks/4.3.139/Event-ePupb4qY.js +8 -0
  148. package/dist/looks/4.3.139/EventPage-CgexXhEU.js +1 -0
  149. package/dist/looks/4.3.139/RecommendationsRail-Bz-Mj_r4.js +2 -0
  150. package/dist/looks/4.3.139/SeriesPage-DI2uFF0Y.js +1 -0
  151. package/dist/looks/4.3.139/Success-BkMzmgmc.js +3 -0
  152. package/dist/looks/4.3.139/ViewTicketsEmbed-CbEJwRry.js +1 -0
  153. package/dist/looks/4.3.139/_vc-foundry-calendar-stub-BVbAFEK2.js +1 -0
  154. package/dist/looks/4.3.139/buyerEmail-CqCYa9UL.js +1 -0
  155. package/dist/looks/4.3.139/constants-CU_ZgyQu.js +3 -0
  156. package/dist/looks/4.3.139/defaults-B46SFFK4.js +2 -0
  157. package/dist/looks/4.3.139/dist-BWGSqtWN.js +1 -0
  158. package/dist/looks/4.3.139/eventStatusStream-CW5lJwsa.js +10 -0
  159. package/dist/looks/4.3.139/first-core-DrYq9wBy.js +151 -0
  160. package/dist/looks/4.3.139/first-mount.svelte-DFSLaJWm.js +1 -0
  161. package/dist/looks/4.3.139/first-seo-DvHuCXT6.js +1 -0
  162. package/dist/looks/4.3.139/first.js +1 -0
  163. package/dist/looks/4.3.139/full-widget-DDBk3i4U.js +2 -0
  164. package/dist/looks/4.3.139/gate-password-cache-D4Zls6QM.js +1 -0
  165. package/dist/looks/4.3.139/i18n-DRaFNYsQ.js +1 -0
  166. package/dist/looks/4.3.139/listing-BSaRTkxW.js +1 -0
  167. package/dist/looks/4.3.139/loaders.runtime-BNG8O6-A.js +1 -0
  168. package/dist/looks/4.3.139/looks.js +1 -0
  169. package/dist/looks/4.3.139/modalManager.svelte-CqQWYz9Y.js +1 -0
  170. package/dist/looks/4.3.139/rolldown-runtime-4tVxZq34.js +1 -0
  171. package/dist/looks/4.3.139/serverTotals-Bu1fAPLB.js +1 -0
  172. package/dist/looks/4.3.139/showcase-state-options-CpCMAKVD.js +1 -0
  173. package/dist/looks/4.3.139/utils-pGRhH4A-.js +1 -0
  174. package/dist/media-field-PW8ye6EL.js +65 -0
  175. package/dist/modalManager.svelte-BHE0t9q3.js +79 -0
  176. package/dist/multiselect-field-CmocFs5f.js +61 -0
  177. package/dist/navigation-B8rkS2On.js +348 -0
  178. package/dist/{nl-DdxH5fLm.js → nl-B1dv1lqk.js} +2 -2
  179. package/dist/{nl-DjFukZvI.js → nl-BObQMscG.js} +1 -2
  180. package/dist/{normalizers-CqGXhPZo.js → normalizers-WYh8Nr3V.js} +3 -5
  181. package/dist/number-field-CUD936Ai.js +126 -0
  182. package/dist/numeric-filter-field-BmgSYhOt.js +131 -0
  183. package/dist/password-field-BfvcZUi_.js +157 -0
  184. package/dist/phone-CVYVhLn8.js +5 -0
  185. package/dist/phone-field-DO0U_YZ6.js +128 -0
  186. package/dist/{phoneShape-DlWC17He.js → phoneShape-VqbamHOn.js} +1 -2
  187. package/dist/{phoneUtils-CL8tIxoM.js → phoneUtils-BhOvrS4S.js} +133 -193
  188. package/dist/{pixels-DO7kbZa_.js → pixels-ipedGW6i.js} +18 -24
  189. package/dist/{pl-B99nQZCh.js → pl-DLlM_IPo.js} +2 -2
  190. package/dist/{pl-COAiNJDs.js → pl-_Sbz4Ou-.js} +1 -2
  191. package/dist/portal-BSuo4flQ.js +64 -0
  192. package/dist/portalContainment-DSZUw-No.js +78 -0
  193. package/dist/{pt-br-jT56QM8s.js → pt-br-8V3mf7pu.js} +2 -2
  194. package/dist/{pt-br-_KntrgGE.js → pt-br-CpmhafxS.js} +1 -2
  195. package/dist/qrcode-By7ce_6K.js +5 -0
  196. package/dist/repeating-field-BwtJ6VS1.js +488 -0
  197. package/dist/richtext-field-DvLCxPvq.js +212 -0
  198. package/dist/{rolldown-runtime-DtPi1Y-2.js → rolldown-runtime-CYdcPHCu.js} +2 -3
  199. package/dist/scarcity-DfQvyhJP.js +165 -0
  200. package/dist/searchable-select-field-zuIqfoQM.js +138 -0
  201. package/dist/select-field-DNNN-a9q.js +72 -0
  202. package/dist/seo/HostSeoController.d.ts +13 -0
  203. package/dist/seo/seo.cjs +1 -1
  204. package/dist/seo/seo.mjs +42 -53
  205. package/dist/seo/types.d.ts +4 -1
  206. package/dist/serverTotals-BprgDwOw.js +950 -0
  207. package/dist/{showcase-state-options-D5UTR7zF.js → showcase-state-options-bKRf48yz.js} +5 -5
  208. package/dist/sizing-Chy28j6-.js +61 -0
  209. package/dist/{sortable.esm--ZtTTTPp.js → sortable.esm-Wq6bSSEz.js} +29 -49
  210. package/dist/spacing-Y1dLegqt.js +48 -0
  211. package/dist/{src-DZgagYE3.js → src-BpVpi-n3.js} +256 -398
  212. package/dist/time-field-DmPCoppV.js +53 -0
  213. package/dist/to-event-card-props-KVcCJ2JF.js +245 -0
  214. package/dist/{tr-8IIuKwpQ.js → tr-CN8DGCc-.js} +1 -2
  215. package/dist/{tr-B5sI__p7.js → tr-DiUEV65j.js} +2 -2
  216. package/dist/transitions-DST-mWoo.js +201 -0
  217. package/dist/tree-picker-field-BJwSFAqm.js +344 -0
  218. package/dist/types/index.d.ts +5 -1
  219. package/dist/typography-CKwYSv07.js +57 -0
  220. package/dist/{utils-S6mZHEaC.js → utils-x8YXRKvr.js} +16 -19
  221. package/dist/variants-B46fK2iV.js +63 -0
  222. package/dist/venue-BjLCg-PW.js +38 -0
  223. package/dist/venue-calendar.css +1 -1
  224. package/dist/venue-calendar.es.js +1822 -1872
  225. package/dist/venue-calendar.iife.js +1 -69
  226. package/dist/venue-calendar.umd.js +77 -79
  227. package/dist/{widget-key-context-Xn6MT23x.js → widget-key-context-dHM9FiuJ.js} +34 -78
  228. package/dist/{zh-apNTBV5B.js → zh-BaZ_hYJV.js} +1 -2
  229. package/dist/{zh-DLwlt3JO.js → zh-Cej2EPQt.js} +2 -2
  230. package/package.json +14 -14
  231. package/src/lib/constants/scarcity.ts +1 -2
  232. package/src/lib/theme.js +222 -222
  233. package/dist/AddOnCard-Ck_b8lsf.js +0 -351
  234. package/dist/BlockPlaceholder-Cjbm5hoG.js +0 -52
  235. package/dist/Button-B58iYo_t.js +0 -1951
  236. package/dist/Button-VUB2WJ88.js +0 -178
  237. package/dist/Calendar-B6yNPdBl.js +0 -466
  238. package/dist/CalendarFoundryView-BfGZj-_Z.js +0 -21608
  239. package/dist/CartView-CA_wZlil.js +0 -2304
  240. package/dist/Checkbox-BtJwg_CF.js +0 -61
  241. package/dist/Checkout-C_Dn_RZI.js +0 -1878
  242. package/dist/CheckoutTimer-DzYupNUI.js +0 -44
  243. package/dist/CloseIcon-40klpaYz.js +0 -35
  244. package/dist/CollectionView-Dp529P99.js +0 -141
  245. package/dist/CropImage-D1M-bKxG.js +0 -548
  246. package/dist/EventPage-DGrkeBd_.js +0 -1356
  247. package/dist/Grid-kuP6V0GW.js +0 -89
  248. package/dist/Modal-rt9KVfYa.js +0 -103
  249. package/dist/ModalFooter-Cru7v0io.js +0 -394
  250. package/dist/ModalHeader-CpgkuttK.js +0 -18
  251. package/dist/ScarcityBadge-Dt0r5r2M.js +0 -145
  252. package/dist/SeriesPage-0sHD6hcq.js +0 -35
  253. package/dist/Spinner-e-Mg0Eyb.js +0 -19
  254. package/dist/Textarea-Cymhixzd.js +0 -72
  255. package/dist/__SKIP_NAVIGATION__-AOx8SI54.js +0 -6
  256. package/dist/__SKIP_PATHS__-C0ixDSSm.js +0 -6
  257. package/dist/action-test-id-7RXdHucW.js +0 -145
  258. package/dist/adapter-z116JHU0.js +0 -164
  259. package/dist/api-Dvn2tGdx.js +0 -489
  260. package/dist/checkout-libs/4.3.136/phone.js +0 -6
  261. package/dist/controlAria-CGb-KeRn.js +0 -30
  262. package/dist/createErrorGate.svelte-CZVc_TpX.js +0 -114
  263. package/dist/cta-CTb57V0F.js +0 -116
  264. package/dist/datetime-Co_z9IUQ.js +0 -410
  265. package/dist/defaultLabels-Q5_A1ZrR.js +0 -2558
  266. package/dist/defaults-BDbx3_c0.js +0 -96
  267. package/dist/event-transform-iOZIJrTf.js +0 -353
  268. package/dist/i18n-Xwod-PFp.js +0 -497
  269. package/dist/i18n-cI0EPfvw.js +0 -28
  270. package/dist/imageOptimizer-Gew5vPWh.js +0 -224
  271. package/dist/keyboard-DhCcdIyh.js +0 -55
  272. package/dist/labels-BGvfcm36.js +0 -228
  273. package/dist/loaders.static-xwcJwfk2.js +0 -4
  274. package/dist/locales/4.3.136/main/de.js +0 -1
  275. package/dist/locales/4.3.136/main/es.js +0 -1
  276. package/dist/locales/4.3.136/main/fr.js +0 -1
  277. package/dist/locales/4.3.136/main/id.js +0 -1
  278. package/dist/locales/4.3.136/main/it.js +0 -1
  279. package/dist/locales/4.3.136/main/ja.js +0 -1
  280. package/dist/locales/4.3.136/main/ko.js +0 -1
  281. package/dist/locales/4.3.136/main/nl.js +0 -1
  282. package/dist/locales/4.3.136/main/pl.js +0 -1
  283. package/dist/locales/4.3.136/main/pt-br.js +0 -1
  284. package/dist/locales/4.3.136/main/tr.js +0 -1
  285. package/dist/locales/4.3.136/main/zh.js +0 -1
  286. package/dist/look-island.svelte-BldqMkPS.js +0 -1305
  287. package/dist/looks/4.3.136/looks.js +0 -242
  288. package/dist/modalManager.svelte-Cz_6x1Qd.js +0 -37
  289. package/dist/navigation-D6W4anEV.js +0 -245
  290. package/dist/phone-D76_-CNi.js +0 -6
  291. package/dist/portal-D-oaEWsY.js +0 -43
  292. package/dist/portalContainment-CeAVqIb-.js +0 -281
  293. package/dist/qrcode-Cehaq1db.js +0 -6
  294. package/dist/serverTotals-C-S3hONA.js +0 -712
  295. package/dist/sizing-B7ixYndz.js +0 -216
  296. package/dist/to-event-card-props-CPYickue.js +0 -205
  297. package/dist/venue-BBoZBuhu.js +0 -13
  298. /package/dist/locales/{4.3.136 → 4.3.139}/flow/de.js +0 -0
  299. /package/dist/locales/{4.3.136 → 4.3.139}/flow/es.js +0 -0
  300. /package/dist/locales/{4.3.136 → 4.3.139}/flow/fr.js +0 -0
  301. /package/dist/locales/{4.3.136 → 4.3.139}/flow/id.js +0 -0
  302. /package/dist/locales/{4.3.136 → 4.3.139}/flow/it.js +0 -0
  303. /package/dist/locales/{4.3.136 → 4.3.139}/flow/ja.js +0 -0
  304. /package/dist/locales/{4.3.136 → 4.3.139}/flow/ko.js +0 -0
  305. /package/dist/locales/{4.3.136 → 4.3.139}/flow/nl.js +0 -0
  306. /package/dist/locales/{4.3.136 → 4.3.139}/flow/pl.js +0 -0
  307. /package/dist/locales/{4.3.136 → 4.3.139}/flow/pt-br.js +0 -0
  308. /package/dist/locales/{4.3.136 → 4.3.139}/flow/tr.js +0 -0
  309. /package/dist/locales/{4.3.136 → 4.3.139}/flow/zh.js +0 -0
  310. /package/dist/looks/{4.3.136 → 4.3.139}/micdrop-wordmark-BYMG6vLR.svg +0 -0
  311. /package/dist/looks/{4.3.136 → 4.3.139}/microphone-Ccv4r-kd.webp +0 -0
  312. /package/dist/looks/{4.3.136 → 4.3.139}/superuser-CZF6a5gO.webp +0 -0
  313. /package/dist/looks/{4.3.136 → 4.3.139}/treasury-DUE7lZzT.webp +0 -0
  314. /package/dist/looks/{4.3.136 → 4.3.139}/user-image-yuS4errP.svg +0 -0
@@ -0,0 +1,488 @@
1
+ import { n as e, t } from "./createErrorGate.svelte-DUXI6Yor.js";
2
+ import { n } from "./iconWeight-BRXEDAh2.js";
3
+ import { t as r } from "./ChevronDownIcon-Bkts84qA.js";
4
+ import { i } from "./typography-CKwYSv07.js";
5
+ import { D as a, G as o, f as s, m as c, r as l, y as u } from "./field-rules-Yb2JY1qT.js";
6
+ import { t as d } from "./Badge-CmYqIClC.js";
7
+ import { t as f } from "./Button-Ch5dRGa2.js";
8
+ import { t as p } from "./Spinner-DgubkWKo.js";
9
+ import { t as m } from "./foundryRuntime-DKyfdkUY.js";
10
+ import { C as h, _ as g, f as _, h as v, i as y, m as b, p as x, r as ee, t as te, x as ne } from "./CalendarFoundryView-B5puOxH5.js";
11
+ import "svelte/internal/disclose-version";
12
+ import * as S from "svelte/internal/client";
13
+ import { SvelteSet as re } from "svelte/reactivity";
14
+ import { tick as ie, untrack as ae } from "svelte";
15
+ // node_modules/@getmicdrop/svelte-components/dist/primitives/Icons/phosphor/TrashIcon.svelte
16
+ var C = S.from_svg("<path d=\"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM112,168a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm0-120H96V40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8Z\"></path>"), w = S.from_svg("<line x1=\"216\" y1=\"56\" x2=\"40\" y2=\"56\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></line><line x1=\"104\" y1=\"104\" x2=\"104\" y2=\"168\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></line><line x1=\"152\" y1=\"104\" x2=\"152\" y2=\"168\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></line><path d=\"M200,56V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V56\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></path><path d=\"M168,56V40a16,16,0,0,0-16-16H104A16,16,0,0,0,88,40V56\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"16\"></path>", 1), T = S.from_svg("<svg aria-hidden=\"true\" viewBox=\"0 0 256 256\" fill=\"currentColor\" xmlns=\"http://www.w3.org/2000/svg\"><!></svg>");
17
+ function E(e, t) {
18
+ S.push(t, !0);
19
+ let r = S.prop(t, "size", 3, "24"), i = S.prop(t, "color", 3, "currentColor"), a = S.prop(t, "class", 3, ""), o = n(), s = S.derived(() => t.weight ?? o?.weight ?? "regular");
20
+ var c = T();
21
+ let l;
22
+ var u = S.child(c), d = (e) => {
23
+ var t = C();
24
+ S.append(e, t);
25
+ }, f = (e) => {
26
+ var t = w();
27
+ S.next(4), S.append(e, t);
28
+ };
29
+ S.if(u, (e) => {
30
+ S.get(s) === "fill" ? e(d) : e(f, -1);
31
+ }), S.reset(c), S.template_effect(() => {
32
+ S.set_class(c, 0, S.clsx(a())), S.set_attribute(c, "width", r()), S.set_attribute(c, "height", r()), l = S.set_style(c, "", l, { color: i() === "currentColor" ? void 0 : i() });
33
+ }), S.append(e, c), S.pop();
34
+ }
35
+ // node_modules/@getmicdrop/svelte-components/dist/foundry/blocks/fields/repeating-field.svelte
36
+ var D = S.from_html("<span> </span>"), oe = S.from_html("<div class=\"flex items-center gap-3\"><button type=\"button\" class=\"flex min-w-0 flex-1 items-center gap-2 text-left\"><!> <!> <!></button> <!></div>"), se = S.from_html("<!> <!> <!>", 1), ce = S.from_html("<div></div>"), le = S.from_html("<div><!> <!> <!></div>"), ue = S.from_html("<div class=\"max-w-md\"><!> <!></div>"), de = S.from_html("<p> </p>"), fe = S.from_html("<div class=\"flex items-center gap-3\"><!> <!></div>"), pe = S.from_html("<div><!> <!></div> <!>", 1);
37
+ function O(n, C) {
38
+ S.push(C, !0);
39
+ let w = y(), T = m(), O = T.i18n, k = S.derived(() => C.field.repeating), A = S.derived(() => S.get(k)?.fields ?? []), j = S.derived(() => a(C.field, C.values[C.field.key])), M = S.derived(() => C.disabled === !0), me = S.derived(() => new Set(S.get(k)?.busyRows)), N = S.derived(() => S.get(k)?.addBySelection), P = S.derived(() => C.testId ? `${C.testId}.add` : void 0), he = S.derived(() => new Set(S.get(N) ? S.get(j).map((e) => e[S.get(N).field]).filter((e) => typeof e == "string" && e !== "") : [])), ge = S.derived(() => (S.get(N)?.options ?? []).filter((e) => !S.get(he).has(e.value))), _e = S.derived(() => new Map((S.get(N)?.options ?? []).map((e) => [e.value, e.label]))), F = S.derived(() => S.get(k)?.collapsibleRows), I = new re(), ve = (e) => !S.get(F) || I.has(e);
40
+ function ye(e) {
41
+ I.has(e) ? I.delete(e) : I.add(e);
42
+ }
43
+ function L(e) {
44
+ let t = S.get(F)?.summary.titleField;
45
+ if (!t) return "";
46
+ let n = e[t];
47
+ return S.get(N) && t === S.get(N).field && typeof n == "string" ? S.get(_e).get(n) ?? n : typeof n == "string" || typeof n == "number" ? String(n) : "";
48
+ }
49
+ function R(e) {
50
+ let t = S.get(F)?.summary;
51
+ if (!t) return "";
52
+ let n = t.summaryRef;
53
+ if (n && T.rowSummary) try {
54
+ let t = T.rowSummary.summarize({
55
+ reference: n,
56
+ row: e
57
+ });
58
+ if (t) return t;
59
+ } catch {}
60
+ return t.fallback ?? "";
61
+ }
62
+ let z = S.state(-1), B = S.derived(() => typeof S.get(k)?.maxRows == "number" && S.get(j).length >= S.get(k).maxRows), V = S.derived(() => typeof S.get(k)?.minRows == "number" && S.get(j).length <= S.get(k).minRows);
63
+ function H(e) {
64
+ C.set(C.field.key, l(e));
65
+ }
66
+ function be() {
67
+ S.get(M) || S.get(B) || U({});
68
+ }
69
+ function U(e) {
70
+ if (S.get(M) || S.get(B)) return;
71
+ let t = S.get(j).length;
72
+ Q(0), Z = [...Z, we++], H([...S.get(j), e]), S.get(F)?.expandNew && I.add(t);
73
+ }
74
+ function xe(e) {
75
+ S.get(M) || S.get(B) || !S.get(N) || !e || S.get(he).has(e) || U({ [S.get(N).field]: e });
76
+ }
77
+ function W(e) {
78
+ if (S.get(M) || S.get(V)) return;
79
+ let t = S.get(j);
80
+ if (e < 0 || e >= t.length) return;
81
+ let n = S.get(k)?.removeIntent;
82
+ if (n) {
83
+ if (!C.action) return;
84
+ let r = t[e]?.[n.keyField];
85
+ C.action(C.field.key, {
86
+ intent: n.intent,
87
+ label: S.get(k)?.removeLabel ?? "Remove",
88
+ target: { id: String(r ?? "") }
89
+ });
90
+ } else Q(0), Z = [...Z.slice(0, e), ...Z.slice(e + 1)], H([...t.slice(0, e), ...t.slice(e + 1)]);
91
+ }
92
+ function G(e) {
93
+ S.get(k)?.removeConfirm ? S.set(z, e, !0) : W(e);
94
+ }
95
+ function Se(e, t, n) {
96
+ let r = S.get(j);
97
+ if (e < 0 || e >= r.length) return;
98
+ let i = `${C.field.key}.${e}.`, a = t.startsWith(i) ? t.slice(i.length) : t;
99
+ H(r.map((t, r) => r === e ? {
100
+ ...t,
101
+ [a]: n
102
+ } : t));
103
+ }
104
+ function K(e, t) {
105
+ return {
106
+ ...e,
107
+ key: `${C.field.key}.${t}.${e.key}`
108
+ };
109
+ }
110
+ function q(e, t) {
111
+ return C.controlId ? `${C.controlId}.${t}.${e.key}` : K(e, t).key;
112
+ }
113
+ function Ce(e, t) {
114
+ let n = {};
115
+ for (let r of S.get(A)) n[r.key] = e[r.key], n[K(r, t).key] = e[r.key];
116
+ return n;
117
+ }
118
+ function J(e, t) {
119
+ let n = t[e.key] ?? "";
120
+ return e.required === !0 && u(n) ? o.REQUIRED : s(e, n);
121
+ }
122
+ let Y = e(), X = t(), Z = [], we = 0;
123
+ function Q(e) {
124
+ return Z.length !== S.get(j).length && (Z = S.get(j).map(() => we++)), Z[e];
125
+ }
126
+ let Te;
127
+ S.user_effect(() => {
128
+ let e = Y?.generation;
129
+ e !== Te && (Te = e, ae(() => {
130
+ X.reset(), Z = [];
131
+ }));
132
+ });
133
+ let Ee = (e, t) => `${Q(t)}:${e.key}`, De = 0;
134
+ S.user_effect(() => {
135
+ let e = Y?.focusRequest;
136
+ e && e.seq !== De && (De = e.seq, e.key === C.field.key && ae(() => Oe()));
137
+ });
138
+ function Oe() {
139
+ for (let [e, t] of S.get(j).entries()) {
140
+ let n = S.get(A).find((e) => c(e, t) && J(e, t) !== "");
141
+ if (n) {
142
+ S.get(F) && !I.has(e) && I.add(e), ie().then(() => {
143
+ let t = document.querySelector(`#${CSS.escape(q(n, e))}`);
144
+ if (!t) return;
145
+ let r = t.matches(h) ? t : t.querySelector(h) ?? t;
146
+ r.scrollIntoView?.({
147
+ behavior: "smooth",
148
+ block: "center"
149
+ }), r.focus();
150
+ });
151
+ return;
152
+ }
153
+ }
154
+ }
155
+ function ke(e, t, n) {
156
+ return X.shows(Ee(e, n)) || Y?.attempted === !0 ? J(e, t) : "";
157
+ }
158
+ function Ae(e, t, n) {
159
+ let r = e.target, i = e.relatedTarget;
160
+ if (r instanceof Node) for (let e of S.get(A)) {
161
+ let a = document.querySelector(`#${CSS.escape(q(e, n))}`);
162
+ if (a?.contains(r)) {
163
+ if (i instanceof Node && a.contains(i)) return;
164
+ X.blur(Ee(e, n), J(e, t) !== "");
165
+ return;
166
+ }
167
+ }
168
+ }
169
+ var je = pe(), $ = S.first_child(je);
170
+ S.attribute_effect($, (e) => ({
171
+ class: "flex flex-col gap-3",
172
+ ...e
173
+ }), [() => ee(C.field, C.wiring)]);
174
+ var Me = S.child($);
175
+ S.each(Me, 17, () => S.get(j), S.index, (e, t, n) => {
176
+ let a = S.derived(() => S.get(me).has(n)), o = S.derived(() => ve(n));
177
+ var s = le();
178
+ let l;
179
+ var u = S.child(s), m = (e) => {
180
+ var s = oe(), c = S.child(s), l = S.child(c);
181
+ {
182
+ let e = S.derived(() => S.get(o) ? "" : "-rotate-90");
183
+ r(l, { get class() {
184
+ return `size-4 shrink-0 transition-transform ${S.get(e) ?? ""}`;
185
+ } });
186
+ }
187
+ var u = S.sibling(l, 2), m = (e) => {
188
+ var n = D(), r = S.only_child(n, !0);
189
+ S.template_effect((e) => {
190
+ S.set_class(n, 1, `${i.label ?? ""} tone-primary truncate`), S.set_text(r, e);
191
+ }, [() => L(S.get(t))]), S.append(e, n);
192
+ }, h = S.derived(() => L(S.get(t)));
193
+ S.if(u, (e) => {
194
+ S.get(h) && e(m);
195
+ });
196
+ var g = S.sibling(u, 2), _ = (e) => {
197
+ d(e, {
198
+ size: "sm",
199
+ shape: "pill",
200
+ children: (e, n) => {
201
+ S.next();
202
+ var r = S.text();
203
+ S.template_effect((e) => S.set_text(r, e), [() => R(S.get(t))]), S.append(e, r);
204
+ },
205
+ $$slots: { default: !0 }
206
+ });
207
+ }, v = S.derived(() => R(S.get(t)));
208
+ S.if(g, (e) => {
209
+ S.get(v) && e(_);
210
+ }), S.reset(c);
211
+ var y = S.sibling(c, 2), b = (e) => {
212
+ p(e, { size: "sm" });
213
+ }, x = (e) => {
214
+ {
215
+ let t = S.derived(() => S.get(M) || S.get(V)), r = S.derived(() => S.get(k)?.removeLabel ?? O.common_remove()), i = S.derived(() => w(S.get(k)?.removeIntent?.intent));
216
+ f(e, {
217
+ variant: "alternative",
218
+ size: "sm",
219
+ get disabled() {
220
+ return S.get(t);
221
+ },
222
+ get "aria-label"() {
223
+ return S.get(r);
224
+ },
225
+ get "data-testid"() {
226
+ return S.get(i);
227
+ },
228
+ onclick: () => G(n),
229
+ children: (e, t) => {
230
+ E(e, { class: "size-4" });
231
+ },
232
+ $$slots: { default: !0 }
233
+ });
234
+ }
235
+ };
236
+ S.if(y, (e) => {
237
+ S.get(a) ? e(b) : e(x, -1);
238
+ }), S.reset(s), S.template_effect(() => S.set_attribute(c, "aria-expanded", S.get(o))), S.delegated("click", c, () => ye(n)), S.append(e, s);
239
+ };
240
+ S.if(u, (e) => {
241
+ S.get(F) && e(m);
242
+ });
243
+ var h = S.sibling(u, 2), g = (e) => {
244
+ var r = ce();
245
+ let i;
246
+ S.each(r, 23, () => S.get(A), (e, t) => `${t}:${e.key}`, (e, r) => {
247
+ var i = S.comment(), o = S.first_child(i), s = (e) => {
248
+ let i = S.derived(() => K(S.get(r), n)), o = S.derived(() => te(S.get(i))), s = S.derived(() => ke(S.get(r), S.get(t), n));
249
+ {
250
+ let c = S.derived(() => q(S.get(r), n));
251
+ v(e, {
252
+ get id() {
253
+ return S.get(c);
254
+ },
255
+ get error() {
256
+ return S.get(s);
257
+ },
258
+ children: (e, c) => {
259
+ var l = se(), u = S.first_child(l);
260
+ b(u, {
261
+ children: (e, t) => {
262
+ S.next();
263
+ var n = S.text();
264
+ S.template_effect(() => S.set_text(n, S.get(r).label)), S.append(e, n);
265
+ },
266
+ $$slots: { default: !0 }
267
+ });
268
+ var d = S.sibling(u, 2);
269
+ x(d, {
270
+ children: (e, c) => {
271
+ var l = S.comment(), u = S.first_child(l);
272
+ {
273
+ let e = S.derived(() => q(S.get(r), n)), c = S.derived(() => C.testId ? `${C.testId}.${n}.${S.get(r).key}` : void 0), l = S.derived(() => Ce(S.get(t), n)), d = S.derived(() => S.get(M) || S.get(a)), f = S.derived(() => !!S.get(s));
274
+ S.component(u, () => S.get(o), (t, r) => {
275
+ r(t, {
276
+ get field() {
277
+ return S.get(i);
278
+ },
279
+ get controlId() {
280
+ return S.get(e);
281
+ },
282
+ get testId() {
283
+ return S.get(c);
284
+ },
285
+ get values() {
286
+ return S.get(l);
287
+ },
288
+ get uploads() {
289
+ return C.uploads;
290
+ },
291
+ set: (e, t) => Se(n, e, t),
292
+ get disabled() {
293
+ return S.get(d);
294
+ },
295
+ get invalid() {
296
+ return S.get(f);
297
+ },
298
+ get action() {
299
+ return C.action;
300
+ },
301
+ get onaction() {
302
+ return C.onaction;
303
+ }
304
+ });
305
+ });
306
+ }
307
+ S.append(e, l);
308
+ },
309
+ $$slots: { default: !0 }
310
+ });
311
+ var f = S.sibling(d, 2), p = (e) => {
312
+ _(e, {});
313
+ };
314
+ S.if(f, (e) => {
315
+ S.get(s) && e(p);
316
+ }), S.append(e, l);
317
+ },
318
+ $$slots: { default: !0 }
319
+ });
320
+ }
321
+ }, l = S.derived(() => c(S.get(r), S.get(t)));
322
+ S.if(o, (e) => {
323
+ S.get(l) && e(s);
324
+ }), S.append(e, i);
325
+ }), S.reset(r), S.template_effect(() => i = S.set_class(r, 1, "grid min-w-0 flex-1 gap-3", null, i, { "mt-3": S.get(F) })), S.delegated("focusout", r, (e) => Ae(e, S.get(t), n)), S.append(e, r);
326
+ };
327
+ S.if(h, (e) => {
328
+ S.get(o) && e(g);
329
+ });
330
+ var y = S.sibling(h, 2), ee = (e) => {
331
+ var t = S.comment(), r = S.first_child(t), i = (e) => {
332
+ p(e, { size: "sm" });
333
+ }, o = (e) => {
334
+ {
335
+ let t = S.derived(() => S.get(M) || S.get(V)), r = S.derived(() => S.get(k)?.removeLabel ?? O.common_remove()), i = S.derived(() => w(S.get(k)?.removeIntent?.intent));
336
+ f(e, {
337
+ variant: "alternative",
338
+ size: "sm",
339
+ get disabled() {
340
+ return S.get(t);
341
+ },
342
+ get "aria-label"() {
343
+ return S.get(r);
344
+ },
345
+ get "data-testid"() {
346
+ return S.get(i);
347
+ },
348
+ onclick: () => G(n),
349
+ children: (e, t) => {
350
+ E(e, { class: "size-4" });
351
+ },
352
+ $$slots: { default: !0 }
353
+ });
354
+ }
355
+ };
356
+ S.if(r, (e) => {
357
+ S.get(a) ? e(i) : e(o, -1);
358
+ }), S.append(e, t);
359
+ };
360
+ S.if(y, (e) => {
361
+ S.get(F) || e(ee);
362
+ }), S.reset(s), S.template_effect(() => {
363
+ l = S.set_class(s, 1, "rounded-lg border border-stroke-primary bg-bg-secondary p-3", null, l, {
364
+ flex: !S.get(F),
365
+ "items-start": !S.get(F),
366
+ "gap-3": !S.get(F)
367
+ }), S.set_attribute(s, "aria-busy", S.get(a));
368
+ }), S.append(e, s);
369
+ });
370
+ var Ne = S.sibling(Me, 2), Pe = (e) => {
371
+ var t = S.comment(), n = S.first_child(t), r = (e) => {
372
+ var t = ue(), n = S.child(t), r = (e) => {
373
+ var t = D(), n = S.only_child(t, !0);
374
+ S.template_effect(() => {
375
+ S.set_class(t, 1, `${i.label ?? ""} tone-secondary mb-1.5 block`), S.set_text(n, S.get(j).length > 0 ? S.get(N).addAnotherLabel ?? S.get(N).label : S.get(N).label);
376
+ }), S.append(e, t);
377
+ };
378
+ S.if(n, (e) => {
379
+ (S.get(j).length > 0 ? S.get(N).addAnotherLabel ?? S.get(N).label : S.get(N).label) && e(r);
380
+ });
381
+ var a = S.sibling(n, 2);
382
+ {
383
+ let e = S.derived(() => S.get(ge).map((e) => ({
384
+ value: e.value,
385
+ name: e.label
386
+ }))), t = S.derived(() => S.get(N).placeholder ?? ""), n = S.derived(() => S.get(M) || S.get(B));
387
+ ne(a, {
388
+ value: "",
389
+ get items() {
390
+ return S.get(e);
391
+ },
392
+ get placeholder() {
393
+ return S.get(t);
394
+ },
395
+ get disabled() {
396
+ return S.get(n);
397
+ },
398
+ get "data-testid"() {
399
+ return S.get(P);
400
+ },
401
+ onchange: (e) => xe(e.value)
402
+ });
403
+ }
404
+ S.reset(t), S.append(e, t);
405
+ }, a = (e) => {
406
+ var t = de(), n = S.only_child(t, !0);
407
+ S.template_effect(() => {
408
+ S.set_class(t, 1, `${i.body ?? ""} tone-muted`), S.set_text(n, S.get(N).exhaustedLabel);
409
+ }), S.append(e, t);
410
+ };
411
+ S.if(n, (e) => {
412
+ S.get(ge).length > 0 ? e(r) : S.get(N).exhaustedLabel && e(a, 1);
413
+ }), S.append(e, t);
414
+ }, Fe = (e) => {
415
+ var t = fe(), n = S.child(t);
416
+ {
417
+ let e = S.derived(() => S.get(M) || S.get(B));
418
+ f(n, {
419
+ variant: "alternative",
420
+ size: "sm",
421
+ get disabled() {
422
+ return S.get(e);
423
+ },
424
+ get "data-testid"() {
425
+ return S.get(P);
426
+ },
427
+ onclick: be,
428
+ children: (e, t) => {
429
+ S.next();
430
+ var n = S.text();
431
+ S.template_effect((e) => S.set_text(n, e), [() => S.get(k)?.addLabel ?? O.common_add()]), S.append(e, n);
432
+ },
433
+ $$slots: { default: !0 }
434
+ });
435
+ }
436
+ var r = S.sibling(n, 2), a = (e) => {
437
+ var t = D(), n = S.only_child(t);
438
+ S.template_effect((e) => {
439
+ S.set_class(t, 1, `${i.caption ?? ""} tone-muted`), S.set_text(n, `${e ?? ""}: ${S.get(k)?.maxRows ?? ""}`);
440
+ }, [() => O.common_max()]), S.append(e, t);
441
+ };
442
+ S.if(r, (e) => {
443
+ S.get(B) && e(a);
444
+ }), S.reset(t), S.append(e, t);
445
+ };
446
+ S.if(Ne, (e) => {
447
+ S.get(N) ? e(Pe) : e(Fe, -1);
448
+ }), S.reset($);
449
+ var Ie = S.sibling($, 2), Le = (e) => {
450
+ {
451
+ let t = S.derived(() => S.get(z) >= 0), n = S.derived(() => S.get(k).removeConfirm.danger === !0 ? "danger" : "default"), r = S.derived(() => S.get(k).removeConfirm.confirmLabel ?? O.common_confirm()), i = S.derived(() => S.get(k).removeConfirm.cancelLabel ?? O.common_cancel()), a = S.derived(() => w(S.get(k).removeIntent?.intent && `${S.get(k).removeIntent.intent}.confirm`));
452
+ g(e, {
453
+ get open() {
454
+ return S.get(t);
455
+ },
456
+ get title() {
457
+ return S.get(k).removeConfirm.title;
458
+ },
459
+ get description() {
460
+ return S.get(k).removeConfirm.message;
461
+ },
462
+ get variant() {
463
+ return S.get(n);
464
+ },
465
+ get primaryButtonText() {
466
+ return S.get(r);
467
+ },
468
+ get secondaryButtonText() {
469
+ return S.get(i);
470
+ },
471
+ get confirmTestId() {
472
+ return S.get(a);
473
+ },
474
+ onconfirm: () => {
475
+ let e = S.get(z);
476
+ S.set(z, -1), W(e);
477
+ },
478
+ oncancel: () => S.set(z, -1),
479
+ onclose: () => S.set(z, -1)
480
+ });
481
+ }
482
+ };
483
+ S.if(Ie, (e) => {
484
+ S.get(k)?.removeConfirm && e(Le);
485
+ }), S.append(n, je), S.pop();
486
+ }
487
+ S.delegate(["click", "focusout"]);
488
+ export { O as default };
@@ -0,0 +1,212 @@
1
+ import { t as e } from "./labels-CjSrA6gx.js";
2
+ import { t } from "./href-BXhNawil.js";
3
+ import { t as n } from "./foundryRuntime-DKyfdkUY.js";
4
+ import { S as r } from "./CalendarFoundryView-B5puOxH5.js";
5
+ import "svelte/internal/disclose-version";
6
+ import * as i from "svelte/internal/client";
7
+ // node_modules/@getmicdrop/svelte-components/dist/recipes/RichTextEditor/RichTextEditor.svelte
8
+ var a = i.from_html("<button type=\"button\" class=\"rte-btn rounded px-2 py-1 type-label tone-secondary hover:bg-hover-primary disabled:pointer-events-none\"> </button>"), o = i.from_html("<div><div class=\"flex flex-wrap items-center gap-1 border-b border-stroke-primary bg-bg-secondary px-2 py-1\" role=\"toolbar\"></div> <div class=\"rte-content px-3 py-2 tone-primary focus:outline-none svelte-1lzgel3\" role=\"textbox\" aria-multiline=\"true\"></div></div>");
9
+ function s(n, s) {
10
+ i.push(s, !0);
11
+ let c = {
12
+ bold: "B",
13
+ boldTitle: "Bold",
14
+ italic: "I",
15
+ italicTitle: "Italic",
16
+ bulletedList: "• List",
17
+ bulletedListTitle: "Bulleted list",
18
+ numberedList: "1. List",
19
+ numberedListTitle: "Numbered list",
20
+ link: "Link",
21
+ linkTitle: "Insert link",
22
+ linkUrlPrompt: "Link URL",
23
+ toolbarLabel: "Text formatting",
24
+ editorFallbackLabel: "Description"
25
+ }, l = i.prop(s, "value", 15, ""), u = i.prop(s, "placeholder", 3, ""), d = i.prop(s, "minHeight", 3, "160px"), f = i.prop(s, "disabled", 3, !1), p = i.prop(s, "class", 3, ""), m = i.prop(s, "labels", 19, () => ({})), h = i.derived(() => e(c, m())), g = i.state(void 0), _ = i.state(!1), v = {
26
+ P: [],
27
+ BR: [],
28
+ STRONG: [],
29
+ B: [],
30
+ EM: [],
31
+ I: [],
32
+ U: [],
33
+ UL: [],
34
+ OL: [],
35
+ LI: [],
36
+ A: ["href"]
37
+ };
38
+ function y(e, n, r) {
39
+ e.childNodes.forEach((e) => {
40
+ if (e.nodeType === 3) {
41
+ n.appendChild(r.createTextNode(e.textContent ?? ""));
42
+ return;
43
+ }
44
+ if (e.nodeType !== 1) return;
45
+ let i = e, a = i.tagName;
46
+ if (!(a in v)) {
47
+ y(i, n, r);
48
+ return;
49
+ }
50
+ let o = r.createElement(a.toLowerCase());
51
+ for (let e of v[a]) {
52
+ let n = i.getAttribute(e);
53
+ n != null && (e !== "href" || t(n)) && o.setAttribute(e, n);
54
+ }
55
+ a === "A" && o.getAttribute("href") && (o.setAttribute("target", "_blank"), o.setAttribute("rel", "noopener noreferrer nofollow")), y(i, o, r), n.appendChild(o);
56
+ });
57
+ }
58
+ function b(e) {
59
+ if (typeof document > "u") return "";
60
+ let t = document.createElement("template");
61
+ t.innerHTML = e;
62
+ let n = document.createElement("div");
63
+ return y(t.content, n, document), n.innerHTML;
64
+ }
65
+ function x(e) {
66
+ return /^(?:<br\s*\/?>|<p>(?:\s|&nbsp;|<br\s*\/?>)*<\/p>|\s)*$/i.test(e);
67
+ }
68
+ i.user_effect(() => {
69
+ let e = b(l() || "");
70
+ i.get(g) && !i.get(_) && i.get(g).innerHTML !== e && (i.get(g).innerHTML = e);
71
+ });
72
+ function S() {
73
+ if (!i.get(g)) return;
74
+ let e = b(i.get(g).innerHTML);
75
+ l(x(e) ? "" : e);
76
+ }
77
+ function C(e, t) {
78
+ f() || typeof document > "u" || (i.get(g)?.focus(), document.execCommand(e, !1, t), S());
79
+ }
80
+ function w() {
81
+ if (f()) return;
82
+ let e = typeof window < "u" ? window.prompt(i.get(h).linkUrlPrompt) : null;
83
+ if (e == null) return;
84
+ let t = e.trim();
85
+ t ? C("createLink", /^https?:\/\//i.test(t) ? t : `https://${t}`) : C("unlink");
86
+ }
87
+ function T(e) {
88
+ if (typeof document > "u") return;
89
+ e.preventDefault();
90
+ let t = e.clipboardData?.getData("text/plain") ?? "";
91
+ document.execCommand("insertText", !1, t), S();
92
+ }
93
+ let E = [
94
+ {
95
+ labelKey: "bold",
96
+ titleKey: "boldTitle",
97
+ action: () => C("bold")
98
+ },
99
+ {
100
+ labelKey: "italic",
101
+ titleKey: "italicTitle",
102
+ action: () => C("italic")
103
+ },
104
+ {
105
+ labelKey: "bulletedList",
106
+ titleKey: "bulletedListTitle",
107
+ action: () => C("insertUnorderedList")
108
+ },
109
+ {
110
+ labelKey: "numberedList",
111
+ titleKey: "numberedListTitle",
112
+ action: () => C("insertOrderedList")
113
+ },
114
+ {
115
+ labelKey: "link",
116
+ titleKey: "linkTitle",
117
+ action: w
118
+ }
119
+ ], D = i.proxy([]), O = i.state(0), k = r(() => D.filter(Boolean), {
120
+ orientation: "horizontal",
121
+ loop: !0,
122
+ onSelect: (e) => e.click()
123
+ });
124
+ var A = o(), j = i.child(A);
125
+ i.set_attribute(j, "tabindex", -1), i.each(j, 21, () => E, i.index, (e, t, n) => {
126
+ var r = a(), o = i.only_child(r, !0);
127
+ i.bind_this(r, (e, t) => D[t] = e, (e) => D?.[e], () => [n]), i.template_effect(() => {
128
+ i.set_attribute(r, "title", i.get(h)[i.get(t).titleKey]), i.set_attribute(r, "aria-label", i.get(h)[i.get(t).titleKey]), i.set_attribute(r, "tabindex", n === i.get(O) ? 0 : -1), r.disabled = f(), i.set_text(o, i.get(h)[i.get(t).labelKey]);
129
+ }), i.delegated("mousedown", r, (e) => e.preventDefault()), i.event("focus", r, () => i.set(O, n, !0)), i.delegated("click", r, function(...e) {
130
+ i.get(t).action?.apply(this, e);
131
+ }), i.append(e, r);
132
+ }), i.reset(j);
133
+ var M = i.sibling(j, 2);
134
+ i.bind_this(M, (e) => i.set(g, e), () => i.get(g)), i.reset(A), i.template_effect(() => {
135
+ i.set_class(A, 1, `rte overflow-hidden rounded-lg border border-stroke-primary bg-bg-secondary ${i.get(_) ? "ring-2 ring-brand-primary" : ""} ${f() ? "opacity-60" : ""} ${p() ?? ""}`, "svelte-1lzgel3"), i.set_attribute(j, "aria-label", i.get(h).toolbarLabel), i.set_attribute(M, "id", s.id), i.set_attribute(M, "data-testid", s["data-testid"]), i.set_style(M, `min-height: ${d() ?? ""};`), i.set_attribute(M, "contenteditable", !f()), i.set_attribute(M, "aria-label", u() || i.get(h).editorFallbackLabel), i.set_attribute(M, "data-placeholder", u());
136
+ }), i.delegated("keydown", j, function(...e) {
137
+ k.handleKeydown?.apply(this, e);
138
+ }), i.delegated("input", M, S), i.event("blur", M, () => {
139
+ i.set(_, !1), S();
140
+ }), i.event("focus", M, () => i.set(_, !0)), i.event("paste", M, T), i.append(n, A), i.pop();
141
+ }
142
+ i.delegate([
143
+ "keydown",
144
+ "mousedown",
145
+ "click",
146
+ "input"
147
+ ]);
148
+ // node_modules/@getmicdrop/svelte-components/dist/foundry/blocks/fields/richtext-rules.js
149
+ function c(e) {
150
+ return typeof e == "string" ? e : "";
151
+ }
152
+ function l(e, t, n) {
153
+ let r = c(n);
154
+ if (!e || typeof t != "string" || t === "") return r;
155
+ try {
156
+ return e.normalize({
157
+ reference: t,
158
+ value: r
159
+ });
160
+ } catch {
161
+ return r;
162
+ }
163
+ }
164
+ function u(e, t, n, r) {
165
+ if (e && typeof t == "string" && t !== "" && e.equal) try {
166
+ return e.equal({
167
+ reference: t,
168
+ value: c(n)
169
+ }, c(r));
170
+ } catch {}
171
+ return l(e, t, n) === l(e, t, r);
172
+ }
173
+ // node_modules/@getmicdrop/svelte-components/dist/foundry/blocks/fields/richtext-field.svelte
174
+ function d(e, t) {
175
+ i.push(t, !0);
176
+ let r = n().richText, a = i.state(i.proxy(c(t.values[t.field.key]))), o = c(t.values[t.field.key]);
177
+ i.user_effect(() => {
178
+ let e = c(t.values[t.field.key]);
179
+ e !== o && (o = e, u(r, t.field.richTextRef, e, i.get(a)) || i.set(a, e, !0));
180
+ }), i.user_effect(() => {
181
+ let e = l(r, t.field.richTextRef, i.get(a));
182
+ u(r, t.field.richTextRef, t.values[t.field.key], e) || t.set(t.field.key, e);
183
+ });
184
+ {
185
+ let n = i.derived(() => t.controlId ?? t.field.key), r = i.derived(() => t.testId ?? t.controlId ?? t.field.key), o = i.derived(() => t.field.richtext?.placeholder ?? ""), c = i.derived(() => t.field.richtext?.minHeight), l = i.derived(() => t.disabled === !0);
186
+ s(e, {
187
+ get id() {
188
+ return i.get(n);
189
+ },
190
+ get "data-testid"() {
191
+ return i.get(r);
192
+ },
193
+ get placeholder() {
194
+ return i.get(o);
195
+ },
196
+ get minHeight() {
197
+ return i.get(c);
198
+ },
199
+ get disabled() {
200
+ return i.get(l);
201
+ },
202
+ get value() {
203
+ return i.get(a);
204
+ },
205
+ set value(e) {
206
+ i.set(a, e, !0);
207
+ }
208
+ });
209
+ }
210
+ i.pop();
211
+ }
212
+ export { d as default };