@mhmo91/schmancy 0.10.19 → 0.10.20

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 (326) hide show
  1. package/custom-elements.json +0 -13
  2. package/dist/agent/{overlay.confirm-body-D3jQyXgA.js → overlay.confirm-body-mYm0zq4k.js} +1 -1
  3. package/dist/agent/{overlay.confirm-body-D3jQyXgA.js.map → overlay.confirm-body-mYm0zq4k.js.map} +1 -1
  4. package/dist/agent/schmancy.agent.js +808 -882
  5. package/dist/agent/schmancy.agent.js.map +1 -1
  6. package/dist/agent/schmancy.manifest.json +1 -9
  7. package/dist/area-C7MNn-3e.cjs +12 -0
  8. package/dist/area-C7MNn-3e.cjs.map +1 -0
  9. package/dist/{area-BIipuSyO.js → area-CRe41aIG.js} +91 -130
  10. package/dist/area-CRe41aIG.js.map +1 -0
  11. package/dist/area.cjs +1 -1
  12. package/dist/area.js +1 -1
  13. package/dist/{autocomplete-Mrb3koUN.js → autocomplete-CRDFL4Ul.js} +2 -2
  14. package/dist/{autocomplete-Mrb3koUN.js.map → autocomplete-CRDFL4Ul.js.map} +1 -1
  15. package/dist/{autocomplete-B8CE5vGw.cjs → autocomplete-CqUl7o0e.cjs} +1 -1
  16. package/dist/{autocomplete-B8CE5vGw.cjs.map → autocomplete-CqUl7o0e.cjs.map} +1 -1
  17. package/dist/autocomplete.cjs +1 -1
  18. package/dist/autocomplete.js +1 -1
  19. package/dist/avatar.cjs +1 -1
  20. package/dist/avatar.js +1 -1
  21. package/dist/badge.cjs +1 -1
  22. package/dist/badge.js +1 -1
  23. package/dist/{boat-OatK_MGh.cjs → boat-BHV5kOlN.cjs} +1 -1
  24. package/dist/{boat-OatK_MGh.cjs.map → boat-BHV5kOlN.cjs.map} +1 -1
  25. package/dist/{boat-CNWIQPA1.js → boat-XajM8A3M.js} +1 -1
  26. package/dist/{boat-CNWIQPA1.js.map → boat-XajM8A3M.js.map} +1 -1
  27. package/dist/boat.cjs +1 -1
  28. package/dist/boat.js +1 -1
  29. package/dist/breadcrumb.cjs +1 -1
  30. package/dist/breadcrumb.js +1 -1
  31. package/dist/{busy-CMKX4oQf.cjs → busy-BlBZ5ZOs.cjs} +1 -1
  32. package/dist/{busy-CMKX4oQf.cjs.map → busy-BlBZ5ZOs.cjs.map} +1 -1
  33. package/dist/{busy-Cetzws-m.js → busy-D8YsqVBf.js} +1 -1
  34. package/dist/{busy-Cetzws-m.js.map → busy-D8YsqVBf.js.map} +1 -1
  35. package/dist/busy.cjs +1 -1
  36. package/dist/busy.js +1 -1
  37. package/dist/button.cjs +15 -9
  38. package/dist/button.cjs.map +1 -1
  39. package/dist/button.js +15 -9
  40. package/dist/button.js.map +1 -1
  41. package/dist/{card-D2k3dRL0.js → card-C9TljY2Z.js} +1 -1
  42. package/dist/{card-D2k3dRL0.js.map → card-C9TljY2Z.js.map} +1 -1
  43. package/dist/{card-8VXoo2C_.cjs → card-yT_St83D.cjs} +1 -1
  44. package/dist/{card-8VXoo2C_.cjs.map → card-yT_St83D.cjs.map} +1 -1
  45. package/dist/card.cjs +1 -1
  46. package/dist/card.js +1 -1
  47. package/dist/{checkbox-8hNsBejz.js → checkbox-BDgh4rge.js} +1 -1
  48. package/dist/{checkbox-8hNsBejz.js.map → checkbox-BDgh4rge.js.map} +1 -1
  49. package/dist/{checkbox-Cq5wzeaY.cjs → checkbox-Dz2lkJs0.cjs} +1 -1
  50. package/dist/{checkbox-Cq5wzeaY.cjs.map → checkbox-Dz2lkJs0.cjs.map} +1 -1
  51. package/dist/checkbox.cjs +1 -1
  52. package/dist/checkbox.js +1 -1
  53. package/dist/{chips-Dx_WvOGk.cjs → chips-M7Dr2npv.cjs} +2 -4
  54. package/dist/chips-M7Dr2npv.cjs.map +1 -0
  55. package/dist/{chips-D1kJrbzo.js → chips-N7fu0hA4.js} +3 -5
  56. package/dist/chips-N7fu0hA4.js.map +1 -0
  57. package/dist/chips.cjs +1 -1
  58. package/dist/chips.js +2 -2
  59. package/dist/connectivity.cjs +1 -1
  60. package/dist/connectivity.js +1 -1
  61. package/dist/content-drawer.cjs +1 -1
  62. package/dist/content-drawer.js +1 -1
  63. package/dist/{date-range-H903Vt_r.cjs → date-range-D2vxD814.cjs} +1 -1
  64. package/dist/{date-range-H903Vt_r.cjs.map → date-range-D2vxD814.cjs.map} +1 -1
  65. package/dist/{date-range-Dv-DM6mB.js → date-range-DFWOMgI3.js} +2 -2
  66. package/dist/{date-range-Dv-DM6mB.js.map → date-range-DFWOMgI3.js.map} +1 -1
  67. package/dist/{date-range-inline-Bvs2ZvEY.cjs → date-range-inline-C5JuZ_Kw.cjs} +1 -1
  68. package/dist/{date-range-inline-Bvs2ZvEY.cjs.map → date-range-inline-C5JuZ_Kw.cjs.map} +1 -1
  69. package/dist/{date-range-inline-TWWnTZlw.js → date-range-inline-D3q1OoKk.js} +1 -1
  70. package/dist/{date-range-inline-TWWnTZlw.js.map → date-range-inline-D3q1OoKk.js.map} +1 -1
  71. package/dist/date-range-inline.cjs +1 -1
  72. package/dist/date-range-inline.js +1 -1
  73. package/dist/date-range.cjs +1 -1
  74. package/dist/date-range.js +1 -1
  75. package/dist/delay.cjs +1 -1
  76. package/dist/delay.js +1 -1
  77. package/dist/{details-Cpg8sH2F.js → details-BrUPmd92.js} +2 -2
  78. package/dist/details-BrUPmd92.js.map +1 -0
  79. package/dist/{details-CwSDur6j.cjs → details-DmDEInaL.cjs} +2 -2
  80. package/dist/details-DmDEInaL.cjs.map +1 -0
  81. package/dist/details.cjs +1 -1
  82. package/dist/details.js +1 -1
  83. package/dist/{divider-Be833gGZ.js → divider-BLijs8ba.js} +1 -1
  84. package/dist/{divider-Be833gGZ.js.map → divider-BLijs8ba.js.map} +1 -1
  85. package/dist/{divider-BNdVLE0H.cjs → divider-B_Ts_-qz.cjs} +1 -1
  86. package/dist/{divider-BNdVLE0H.cjs.map → divider-B_Ts_-qz.cjs.map} +1 -1
  87. package/dist/divider.cjs +1 -1
  88. package/dist/divider.js +1 -1
  89. package/dist/dropdown.cjs +1 -1
  90. package/dist/dropdown.js +1 -1
  91. package/dist/{expand-CtoffNNj.js → expand-C-xSpg7M.js} +2 -2
  92. package/dist/{expand-CtoffNNj.js.map → expand-C-xSpg7M.js.map} +1 -1
  93. package/dist/{expand-BP6RLzHw.cjs → expand-DV5sWUB6.cjs} +1 -1
  94. package/dist/{expand-BP6RLzHw.cjs.map → expand-DV5sWUB6.cjs.map} +1 -1
  95. package/dist/expand.cjs +1 -1
  96. package/dist/expand.js +1 -1
  97. package/dist/{float-CfbQM_2v.cjs → float-LyKef0LY.cjs} +1 -1
  98. package/dist/{float-CfbQM_2v.cjs.map → float-LyKef0LY.cjs.map} +1 -1
  99. package/dist/{float-KmbhaQHA.js → float-Y22yVBE2.js} +1 -1
  100. package/dist/{float-KmbhaQHA.js.map → float-Y22yVBE2.js.map} +1 -1
  101. package/dist/float.cjs +1 -1
  102. package/dist/float.js +1 -1
  103. package/dist/{form-CuBIrKOA.cjs → form-C_smXI2-.cjs} +1 -1
  104. package/dist/{form-CuBIrKOA.cjs.map → form-C_smXI2-.cjs.map} +1 -1
  105. package/dist/{form-8IcmP8uV.js → form-LFkEQkOX.js} +8 -8
  106. package/dist/{form-8IcmP8uV.js.map → form-LFkEQkOX.js.map} +1 -1
  107. package/dist/form.cjs +1 -1
  108. package/dist/form.js +6 -6
  109. package/dist/handover/agent-runtime-followups.md +1 -1
  110. package/dist/handover/agent-runtime-v1.md +3 -3
  111. package/dist/{icons-D7df1ysG.js → icons-B3pFrwKC.js} +1 -1
  112. package/dist/{icons-D7df1ysG.js.map → icons-B3pFrwKC.js.map} +1 -1
  113. package/dist/{icons-BJld4JHp.cjs → icons-CCNy4Egc.cjs} +1 -1
  114. package/dist/{icons-BJld4JHp.cjs.map → icons-CCNy4Egc.cjs.map} +1 -1
  115. package/dist/icons.cjs +1 -1
  116. package/dist/icons.js +1 -1
  117. package/dist/{iframe-DAbgW9tT.js → iframe-BbFlCEyP.js} +1 -1
  118. package/dist/{iframe-DAbgW9tT.js.map → iframe-BbFlCEyP.js.map} +1 -1
  119. package/dist/{iframe-GT6D8l5Z.cjs → iframe-CCcmLZ_K.cjs} +1 -1
  120. package/dist/{iframe-GT6D8l5Z.cjs.map → iframe-CCcmLZ_K.cjs.map} +1 -1
  121. package/dist/iframe.cjs +1 -1
  122. package/dist/iframe.js +1 -1
  123. package/dist/index.cjs +1 -1
  124. package/dist/index.js +27 -27
  125. package/dist/{input-DC6ap_uN.js → input-Dkneo4uA.js} +2 -2
  126. package/dist/{input-DC6ap_uN.js.map → input-Dkneo4uA.js.map} +1 -1
  127. package/dist/{input-chip-c5n547tg.js → input-chip-C1-TYu4v.js} +1 -1
  128. package/dist/{input-chip-c5n547tg.js.map → input-chip-C1-TYu4v.js.map} +1 -1
  129. package/dist/{input-chip-MsiMu-b5.cjs → input-chip-F5NEkkBU.cjs} +1 -1
  130. package/dist/{input-chip-MsiMu-b5.cjs.map → input-chip-F5NEkkBU.cjs.map} +1 -1
  131. package/dist/{input-BE9wEEw4.cjs → input-sBZ89wz1.cjs} +1 -1
  132. package/dist/{input-BE9wEEw4.cjs.map → input-sBZ89wz1.cjs.map} +1 -1
  133. package/dist/input.cjs +1 -1
  134. package/dist/input.js +1 -1
  135. package/dist/json.cjs +1 -1
  136. package/dist/json.js +2 -2
  137. package/dist/kbd.cjs +1 -1
  138. package/dist/kbd.js +1 -1
  139. package/dist/layout.cjs +1 -1
  140. package/dist/layout.js +1 -1
  141. package/dist/{lightbox-HqJBBjAT.cjs → lightbox-B4m5lxGs.cjs} +1 -1
  142. package/dist/{lightbox-HqJBBjAT.cjs.map → lightbox-B4m5lxGs.cjs.map} +1 -1
  143. package/dist/{lightbox-CNX9Eg3U.js → lightbox-D7hYFspE.js} +1 -1
  144. package/dist/{lightbox-CNX9Eg3U.js.map → lightbox-D7hYFspE.js.map} +1 -1
  145. package/dist/lightbox.cjs +1 -1
  146. package/dist/lightbox.js +1 -1
  147. package/dist/{list-bhyuQSyO.cjs → list-C2ycz-yr.cjs} +1 -1
  148. package/dist/{list-bhyuQSyO.cjs.map → list-C2ycz-yr.cjs.map} +1 -1
  149. package/dist/{list-C76Pb-c1.js → list-Ou72tSeq.js} +1 -1
  150. package/dist/{list-C76Pb-c1.js.map → list-Ou72tSeq.js.map} +1 -1
  151. package/dist/list.cjs +1 -1
  152. package/dist/list.js +1 -1
  153. package/dist/{menu-BqKQ-s0C.cjs → menu-ComSx-T0.cjs} +1 -1
  154. package/dist/{menu-BqKQ-s0C.cjs.map → menu-ComSx-T0.cjs.map} +1 -1
  155. package/dist/{menu-C5ksITpG.js → menu-YHbpRa7x.js} +2 -2
  156. package/dist/{menu-C5ksITpG.js.map → menu-YHbpRa7x.js.map} +1 -1
  157. package/dist/menu.cjs +1 -1
  158. package/dist/menu.js +1 -1
  159. package/dist/mixins-B9kY_60p.js +636 -0
  160. package/dist/{mixins-DCVXqL1Q.js.map → mixins-B9kY_60p.js.map} +1 -1
  161. package/dist/mixins-BwGJwK7X.cjs +254 -0
  162. package/dist/{mixins-Du9HMrIG.cjs.map → mixins-BwGJwK7X.cjs.map} +1 -1
  163. package/dist/mixins.cjs +1 -1
  164. package/dist/mixins.js +1 -1
  165. package/dist/nav-drawer.cjs +1 -1
  166. package/dist/nav-drawer.js +1 -1
  167. package/dist/navigation-bar.cjs +1 -1
  168. package/dist/navigation-bar.js +1 -1
  169. package/dist/navigation-rail.cjs +1 -1
  170. package/dist/navigation-rail.js +1 -1
  171. package/dist/{notification-DR3gvWt8.cjs → notification-DZhL0ZEg.cjs} +1 -1
  172. package/dist/{notification-DR3gvWt8.cjs.map → notification-DZhL0ZEg.cjs.map} +1 -1
  173. package/dist/{notification-eZxtr3NN.js → notification-O4Q5pyio.js} +2 -2
  174. package/dist/{notification-eZxtr3NN.js.map → notification-O4Q5pyio.js.map} +1 -1
  175. package/dist/notification.cjs +1 -1
  176. package/dist/notification.js +1 -1
  177. package/dist/{option-CBEHYG4U.js → option-BCks0a4i.js} +1 -1
  178. package/dist/{option-CBEHYG4U.js.map → option-BCks0a4i.js.map} +1 -1
  179. package/dist/{option-BDOKUqTy.cjs → option-C2VKw8Yt.cjs} +1 -1
  180. package/dist/{option-BDOKUqTy.cjs.map → option-C2VKw8Yt.cjs.map} +1 -1
  181. package/dist/option.cjs +1 -1
  182. package/dist/option.js +1 -1
  183. package/dist/{overlay-oxM9OLXP.js → overlay-C0YSnxoV.js} +8 -10
  184. package/dist/overlay-C0YSnxoV.js.map +1 -0
  185. package/dist/{overlay-DG6EeyKt.cjs → overlay-CG1gc1Jw.cjs} +2 -2
  186. package/dist/overlay-CG1gc1Jw.cjs.map +1 -0
  187. package/dist/overlay.cjs +1 -1
  188. package/dist/{overlay.confirm-body-78e1WrN9.cjs → overlay.confirm-body-B-Kmn7LF.cjs} +1 -1
  189. package/dist/{overlay.confirm-body-78e1WrN9.cjs.map → overlay.confirm-body-B-Kmn7LF.cjs.map} +1 -1
  190. package/dist/{overlay.confirm-body-D_P2e7l6.js → overlay.confirm-body-BmOnrKbF.js} +1 -1
  191. package/dist/{overlay.confirm-body-D_P2e7l6.js.map → overlay.confirm-body-BmOnrKbF.js.map} +1 -1
  192. package/dist/overlay.js +3 -3
  193. package/dist/{overlay.service-DQkGPUY7.cjs → overlay.service-BPKV2a8w.cjs} +1 -1
  194. package/dist/{overlay.service-DQkGPUY7.cjs.map → overlay.service-BPKV2a8w.cjs.map} +1 -1
  195. package/dist/{overlay.service-C8NwO4Bx.js → overlay.service-CRoq9Gu-.js} +2 -2
  196. package/dist/{overlay.service-C8NwO4Bx.js.map → overlay.service-CRoq9Gu-.js.map} +1 -1
  197. package/dist/page.cjs +1 -1
  198. package/dist/page.js +2 -2
  199. package/dist/{progress-CMSst_2U.cjs → progress-B9RWAFv5.cjs} +1 -1
  200. package/dist/{progress-CMSst_2U.cjs.map → progress-B9RWAFv5.cjs.map} +1 -1
  201. package/dist/{progress-C4kDZfb7.js → progress-CEEl7vdd.js} +1 -1
  202. package/dist/{progress-C4kDZfb7.js.map → progress-CEEl7vdd.js.map} +1 -1
  203. package/dist/progress.cjs +1 -1
  204. package/dist/progress.js +1 -1
  205. package/dist/radio-group-C2y6H5YY.cjs +19 -0
  206. package/dist/radio-group-C2y6H5YY.cjs.map +1 -0
  207. package/dist/radio-group-VERF_8rC.js +71 -0
  208. package/dist/radio-group-VERF_8rC.js.map +1 -0
  209. package/dist/radio-group.cjs +1 -1
  210. package/dist/radio-group.js +1 -1
  211. package/dist/range.cjs +1 -1
  212. package/dist/range.js +1 -1
  213. package/dist/{scroll-C1klVgSQ.js → scroll-Bj7FsS08.js} +1 -1
  214. package/dist/{scroll-C1klVgSQ.js.map → scroll-Bj7FsS08.js.map} +1 -1
  215. package/dist/{scroll-S-bXF2u6.cjs → scroll-Djz3pJfX.cjs} +1 -1
  216. package/dist/{scroll-S-bXF2u6.cjs.map → scroll-Djz3pJfX.cjs.map} +1 -1
  217. package/dist/{select-UU2pB67h.js → select-ClJj_2AP.js} +3 -3
  218. package/dist/select-ClJj_2AP.js.map +1 -0
  219. package/dist/select-CngphfDB.cjs +56 -0
  220. package/dist/select-CngphfDB.cjs.map +1 -0
  221. package/dist/select.cjs +1 -1
  222. package/dist/select.js +1 -1
  223. package/dist/skeleton.cjs +1 -1
  224. package/dist/skeleton.js +1 -1
  225. package/dist/skills/SKILL.md +12 -0
  226. package/dist/skills/schmancy/SKILL.md +12 -0
  227. package/dist/slider.cjs +1 -1
  228. package/dist/slider.js +1 -1
  229. package/dist/{splash-screen-ChMkAPLU.js → splash-screen-BQsBy3O1.js} +1 -1
  230. package/dist/{splash-screen-ChMkAPLU.js.map → splash-screen-BQsBy3O1.js.map} +1 -1
  231. package/dist/{splash-screen-BvaDkvJU.cjs → splash-screen-CntIFk2h.cjs} +1 -1
  232. package/dist/{splash-screen-BvaDkvJU.cjs.map → splash-screen-CntIFk2h.cjs.map} +1 -1
  233. package/dist/splash-screen.cjs +1 -1
  234. package/dist/splash-screen.js +1 -1
  235. package/dist/{src-DnunCC4X.js → src-BAXhEv8f.js} +32 -32
  236. package/dist/{src-DnunCC4X.js.map → src-BAXhEv8f.js.map} +1 -1
  237. package/dist/{src-BIlD63Cz.cjs → src-ChFa-FDD.cjs} +1 -1
  238. package/dist/{src-BIlD63Cz.cjs.map → src-ChFa-FDD.cjs.map} +1 -1
  239. package/dist/steps.cjs +1 -1
  240. package/dist/steps.js +1 -1
  241. package/dist/{surface-DCRy-EyT.js → surface-CHUJSY1o.js} +1 -1
  242. package/dist/{surface-DCRy-EyT.js.map → surface-CHUJSY1o.js.map} +1 -1
  243. package/dist/{surface-DWwQDX9r.cjs → surface-CXmQuXun.cjs} +1 -1
  244. package/dist/{surface-DWwQDX9r.cjs.map → surface-CXmQuXun.cjs.map} +1 -1
  245. package/dist/surface.cjs +1 -1
  246. package/dist/surface.js +1 -1
  247. package/dist/switch.cjs +1 -1
  248. package/dist/switch.js +1 -1
  249. package/dist/table.cjs +1 -1
  250. package/dist/table.js +1 -1
  251. package/dist/{tabs-lxQHWEb7.cjs → tabs-Bku0sC0p.cjs} +1 -1
  252. package/dist/{tabs-lxQHWEb7.cjs.map → tabs-Bku0sC0p.cjs.map} +1 -1
  253. package/dist/{tabs-CkDNLbiS.js → tabs-DPVX21WM.js} +1 -1
  254. package/dist/{tabs-CkDNLbiS.js.map → tabs-DPVX21WM.js.map} +1 -1
  255. package/dist/tabs.cjs +1 -1
  256. package/dist/tabs.js +1 -1
  257. package/dist/teleport.cjs +1 -1
  258. package/dist/teleport.js +1 -1
  259. package/dist/{textarea-CNa4dSvF.cjs → textarea-CqJNviYi.cjs} +1 -1
  260. package/dist/{textarea-CNa4dSvF.cjs.map → textarea-CqJNviYi.cjs.map} +1 -1
  261. package/dist/{textarea-DkfGmRSI.js → textarea-D6z1UZzs.js} +1 -1
  262. package/dist/{textarea-DkfGmRSI.js.map → textarea-D6z1UZzs.js.map} +1 -1
  263. package/dist/textarea.cjs +1 -1
  264. package/dist/textarea.js +1 -1
  265. package/dist/{theme-CMyXTDht.cjs → theme-BpKVBJCr.cjs} +1 -1
  266. package/dist/{theme-CMyXTDht.cjs.map → theme-BpKVBJCr.cjs.map} +1 -1
  267. package/dist/{theme-CNWRYdfn.js → theme-DbHfINBV.js} +1 -1
  268. package/dist/{theme-CNWRYdfn.js.map → theme-DbHfINBV.js.map} +1 -1
  269. package/dist/{theme-button-CixloLin.js → theme-button-BeU8Nbs2.js} +1 -1
  270. package/dist/{theme-button-CixloLin.js.map → theme-button-BeU8Nbs2.js.map} +1 -1
  271. package/dist/{theme-button-kMhsX5Oe.cjs → theme-button-Cof9I85G.cjs} +1 -1
  272. package/dist/{theme-button-kMhsX5Oe.cjs.map → theme-button-Cof9I85G.cjs.map} +1 -1
  273. package/dist/theme-button.cjs +1 -1
  274. package/dist/theme-button.js +1 -1
  275. package/dist/theme.cjs +1 -1
  276. package/dist/theme.js +2 -2
  277. package/dist/tree.cjs +1 -1
  278. package/dist/tree.js +1 -1
  279. package/dist/typography.cjs +1 -1
  280. package/dist/typography.js +1 -1
  281. package/dist/visually-hidden.cjs +1 -1
  282. package/dist/visually-hidden.js +1 -1
  283. package/dist/{window-qaGFMn_4.cjs → window-Cql1aIX2.cjs} +1 -1
  284. package/dist/{window-qaGFMn_4.cjs.map → window-Cql1aIX2.cjs.map} +1 -1
  285. package/dist/{window-BcvDNi9D.js → window-DmMNsos0.js} +1 -1
  286. package/dist/{window-BcvDNi9D.js.map → window-DmMNsos0.js.map} +1 -1
  287. package/dist/window.cjs +1 -1
  288. package/dist/window.js +1 -1
  289. package/package.json +1 -1
  290. package/skills/schmancy/SKILL.md +12 -0
  291. package/src/CLAUDE.md +20 -0
  292. package/src/area/area.component.ts +155 -342
  293. package/src/button/button.ts +8 -5
  294. package/src/button/icon-button.ts +8 -5
  295. package/src/chips/filter-chip.ts +1 -3
  296. package/src/details/details.ts +1 -1
  297. package/src/form/fields/radio-group/radio-button.ts +22 -44
  298. package/src/form/fields/radio-group/radio-group.ts +20 -75
  299. package/src/form/fields/select/select.ts +3 -2
  300. package/src/overlay/overlay.component.ts +29 -39
  301. package/src/overlay/overlay.positioning.ts +10 -2
  302. package/src/state/schmancy-state.html +897 -0
  303. package/src/state/schmancy-state.md +981 -0
  304. package/types/src/area/area.component.d.ts +0 -15
  305. package/types/src/button/icon-button.d.ts +1 -1
  306. package/types/src/form/fields/radio-group/radio-button.d.ts +2 -5
  307. package/types/src/form/fields/radio-group/radio-group.d.ts +2 -10
  308. package/types/src/overlay/overlay.positioning.d.ts +9 -1
  309. package/dist/area-BIipuSyO.js.map +0 -1
  310. package/dist/area-C-EMiNEE.cjs +0 -12
  311. package/dist/area-C-EMiNEE.cjs.map +0 -1
  312. package/dist/chips-D1kJrbzo.js.map +0 -1
  313. package/dist/chips-Dx_WvOGk.cjs.map +0 -1
  314. package/dist/details-Cpg8sH2F.js.map +0 -1
  315. package/dist/details-CwSDur6j.cjs.map +0 -1
  316. package/dist/mixins-DCVXqL1Q.js +0 -636
  317. package/dist/mixins-Du9HMrIG.cjs +0 -254
  318. package/dist/overlay-DG6EeyKt.cjs.map +0 -1
  319. package/dist/overlay-oxM9OLXP.js.map +0 -1
  320. package/dist/radio-group-DB9D2ZkA.js +0 -108
  321. package/dist/radio-group-DB9D2ZkA.js.map +0 -1
  322. package/dist/radio-group-dVUvYFq7.cjs +0 -40
  323. package/dist/radio-group-dVUvYFq7.cjs.map +0 -1
  324. package/dist/select-UU2pB67h.js.map +0 -1
  325. package/dist/select-fu_-rZyn.cjs +0 -56
  326. package/dist/select-fu_-rZyn.cjs.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { r as e, t } from "./rolldown-runtime-BIIoCavz.js";
2
- import { $ as n, A as r, At as i, B as a, C as o, Ct as s, D as c, Dt as l, E as u, Et as d, F as f, G as p, H as m, I as h, J as g, K as _, L as v, M as y, Mt as b, N as x, Nt as ee, O as S, Ot as C, P as te, Q as ne, R as re, S as ie, St as ae, T as w, Tt as oe, U as se, V as T, W as E, X as D, Y as ce, Z as O, _ as le, _t as ue, a as de, at as fe, b as pe, bt as me, c as he, ct as ge, d as _e, dt as ve, et as k, f as ye, ft as be, g as xe, gt as Se, h as Ce, ht as we, i as A, it as Te, j as Ee, jt as De, k as j, kt as Oe, l as M, lt as ke, m as Ae, mt as je, nt as Me, o as Ne, ot as Pe, p as Fe, pt as Ie, q as N, r as P, rt as Le, s as Re, st as ze, t as Be, tt as Ve, u as He, ut as Ue, v as We, vt as F, w as Ge, wt as Ke, x as qe, xt as I, y as Je, yt as L, z as Ye } from "./overlay.confirm-body-D3jQyXgA.js";
2
+ import { $ as n, A as r, At as i, B as a, C as o, Ct as s, D as c, Dt as l, E as u, Et as d, F as f, G as p, H as m, I as h, J as g, K as _, L as v, M as y, Mt as b, N as x, Nt as ee, O as S, Ot as C, P as te, Q as ne, R as re, S as ie, St as ae, T as w, Tt as oe, U as se, V as T, W as E, X as D, Y as ce, Z as O, _ as le, _t as ue, a as de, at as fe, b as pe, bt as me, c as he, ct as ge, d as _e, dt as ve, et as k, f as ye, ft as be, g as xe, gt as Se, h as Ce, ht as we, i as A, it as Te, j as Ee, jt as De, k as j, kt as Oe, l as M, lt as ke, m as Ae, mt as je, nt as Me, o as Ne, ot as Pe, p as Fe, pt as Ie, q as N, r as P, rt as Le, s as Re, st as ze, t as Be, tt as Ve, u as He, ut as Ue, v as We, vt as F, w as Ge, wt as Ke, x as qe, xt as I, y as Je, yt as L, z as Ye } from "./overlay.confirm-body-mYm0zq4k.js";
3
3
  import { a as Xe, i as Ze, n as Qe, r as $e, t as et } from "./vendor-material-color-33Mj762T.js";
4
4
  var tt = {
5
5
  schedule: function(e) {
@@ -187,16 +187,16 @@ function dt(e, t) {
187
187
  function ft(e, t) {
188
188
  return t ? dt(e, t) : Le(e);
189
189
  }
190
- function pt() {
190
+ function B() {
191
191
  var e = [...arguments];
192
192
  return ft(e, st(e));
193
193
  }
194
- var mt = l(function(e) {
194
+ var pt = l(function(e) {
195
195
  return function() {
196
196
  e(this), this.name = "EmptyError", this.message = "no elements in sequence";
197
197
  };
198
198
  });
199
- function ht(e, t) {
199
+ function mt(e, t) {
200
200
  var n = typeof t == "object";
201
201
  return new Promise(function(r, i) {
202
202
  var a = new s({
@@ -205,19 +205,19 @@ function ht(e, t) {
205
205
  },
206
206
  error: i,
207
207
  complete: function() {
208
- n ? r(t.defaultValue) : i(new mt());
208
+ n ? r(t.defaultValue) : i(new pt());
209
209
  }
210
210
  });
211
211
  e.subscribe(a);
212
212
  });
213
213
  }
214
- var gt = l(function(e) {
214
+ var ht = l(function(e) {
215
215
  return function(t) {
216
216
  t === void 0 && (t = null), e(this), this.message = "Timeout has occurred", this.name = "TimeoutError", this.info = t;
217
217
  };
218
218
  });
219
- function _t(e, t) {
220
- var n = Ve(e) ? { first: e } : typeof e == "number" ? { each: e } : e, r = n.first, i = n.each, a = n.with, o = a === void 0 ? vt : a, s = n.scheduler, c = s === void 0 ? t ?? je : s, l = n.meta, u = l === void 0 ? null : l;
219
+ function gt(e, t) {
220
+ var n = Ve(e) ? { first: e } : typeof e == "number" ? { each: e } : e, r = n.first, i = n.each, a = n.with, o = a === void 0 ? _t : a, s = n.scheduler, c = s === void 0 ? t ?? je : s, l = n.meta, u = l === void 0 ? null : l;
221
221
  if (r == null && i == null) throw TypeError("No timeout provided.");
222
222
  return me(function(e, t) {
223
223
  var n, a, s = null, l = 0, d = function(e) {
@@ -240,19 +240,19 @@ function _t(e, t) {
240
240
  })), !l && d(r == null ? i : typeof r == "number" ? r : +r - c.now());
241
241
  });
242
242
  }
243
- function vt(e) {
244
- throw new gt(e);
243
+ function _t(e) {
244
+ throw new ht(e);
245
245
  }
246
- var yt = Array.isArray, bt = Object.getPrototypeOf, xt = Object.prototype, St = Object.keys;
247
- function Ct(e) {
246
+ var vt = Array.isArray, yt = Object.getPrototypeOf, bt = Object.prototype, xt = Object.keys;
247
+ function St(e) {
248
248
  if (e.length === 1) {
249
249
  var t = e[0];
250
- if (yt(t)) return {
250
+ if (vt(t)) return {
251
251
  args: t,
252
252
  keys: null
253
253
  };
254
- if ((r = t) && typeof r == "object" && bt(r) === xt) {
255
- var n = St(t);
254
+ if ((r = t) && typeof r == "object" && yt(r) === bt) {
255
+ var n = xt(t);
256
256
  return {
257
257
  args: n.map(function(e) {
258
258
  return t[e];
@@ -267,14 +267,14 @@ function Ct(e) {
267
267
  keys: null
268
268
  };
269
269
  }
270
- function wt() {
271
- var e = [...arguments], t = st(e), r = ot(e), i = Ct(e), a = i.args, o = i.keys;
270
+ function Ct() {
271
+ var e = [...arguments], t = st(e), r = ot(e), i = St(e), a = i.args, o = i.keys;
272
272
  if (a.length === 0) return ft([], t);
273
273
  var s = new I(function(e, t, n) {
274
274
  return n === void 0 && (n = ae), function(r) {
275
- Tt(t, function() {
275
+ wt(t, function() {
276
276
  for (var i = e.length, a = Array(i), o = i, s = i, c = function(i) {
277
- Tt(t, function() {
277
+ wt(t, function() {
278
278
  var c = ft(e[i], t), l = !1;
279
279
  c.subscribe(L(r, function(e) {
280
280
  a[i] = e, l || (l = !0, s--), s || r.next(n(a.slice()));
@@ -294,35 +294,35 @@ function wt() {
294
294
  } : ae));
295
295
  return r ? s.pipe(n(r)) : s;
296
296
  }
297
- function Tt(e, t, n) {
297
+ function wt(e, t, n) {
298
298
  e ? Me(n, e, t) : t();
299
299
  }
300
- function Et(e) {
300
+ function Tt(e) {
301
301
  return e === void 0 && (e = Infinity), ne(ae, e);
302
302
  }
303
- function Dt() {
303
+ function Et() {
304
304
  var e = [...arguments];
305
- return Et(1)(ft(e, st(e)));
305
+ return Tt(1)(ft(e, st(e)));
306
306
  }
307
- function Ot(e) {
307
+ function Dt(e) {
308
308
  return new I(function(t) {
309
309
  Le(e()).subscribe(t);
310
310
  });
311
311
  }
312
- function kt(e, t) {
312
+ function Ot(e, t) {
313
313
  return e === void 0 && (e = 0), t === void 0 && (t = je), e < 0 && (e = 0), D(e, e, t);
314
314
  }
315
- function B() {
315
+ function V() {
316
316
  var e = [...arguments], t = st(e), n = function(e, t) {
317
317
  return typeof at(e) == "number" ? e.pop() : t;
318
318
  }(e, Infinity), r = e;
319
- return r.length ? r.length === 1 ? Le(r[0]) : Et(n)(ft(r, t)) : z;
319
+ return r.length ? r.length === 1 ? Le(r[0]) : Tt(n)(ft(r, t)) : z;
320
320
  }
321
- var At = new I(Ke), jt = Array.isArray;
322
- function Mt(e) {
323
- return e.length === 1 && jt(e[0]) ? e[0] : e;
321
+ var kt = new I(Ke), At = Array.isArray;
322
+ function jt(e) {
323
+ return e.length === 1 && At(e[0]) ? e[0] : e;
324
324
  }
325
- function V(e, t) {
325
+ function H(e, t) {
326
326
  return me(function(n, r) {
327
327
  var i = 0;
328
328
  n.subscribe(L(r, function(n) {
@@ -330,9 +330,9 @@ function V(e, t) {
330
330
  }));
331
331
  });
332
332
  }
333
- function Nt() {
333
+ function Mt() {
334
334
  var e = [...arguments];
335
- return (e = Mt(e)).length === 1 ? Le(e[0]) : new I(function(e) {
335
+ return (e = jt(e)).length === 1 ? Le(e[0]) : new I(function(e) {
336
336
  return function(t) {
337
337
  for (var n = [], r = function(r) {
338
338
  n.push(Le(e[r]).subscribe(L(t, function(e) {
@@ -346,8 +346,8 @@ function Nt() {
346
346
  };
347
347
  }(e));
348
348
  }
349
- function Pt() {
350
- var e = [...arguments], t = ot(e), n = Mt(e);
349
+ function Nt() {
350
+ var e = [...arguments], t = ot(e), n = jt(e);
351
351
  return n.length ? new I(function(e) {
352
352
  var r = n.map(function() {
353
353
  return [];
@@ -378,7 +378,7 @@ function Pt() {
378
378
  };
379
379
  }) : z;
380
380
  }
381
- function Ft(e, t) {
381
+ function Pt(e, t) {
382
382
  return t === void 0 && (t = je), n = function() {
383
383
  return D(e, t);
384
384
  }, me(function(e, t) {
@@ -400,7 +400,7 @@ function Ft(e, t) {
400
400
  });
401
401
  var n;
402
402
  }
403
- function It(e) {
403
+ function Ft(e) {
404
404
  var t = [...arguments].slice(1), n = st(t) ?? je, r = t[0] ?? null, i = t[1] || Infinity;
405
405
  return me(function(t, a) {
406
406
  var o = [], s = !1, c = function(e) {
@@ -445,18 +445,18 @@ function It(e) {
445
445
  t.subscribe(u);
446
446
  });
447
447
  }
448
- function Lt(e) {
448
+ function It(e) {
449
449
  return me(function(t, n) {
450
450
  var r, i = null, a = !1;
451
451
  i = t.subscribe(L(n, void 0, void 0, function(o) {
452
- r = Le(e(o, Lt(e)(t))), i ? (i.unsubscribe(), i = null, r.subscribe(n)) : a = !0;
452
+ r = Le(e(o, It(e)(t))), i ? (i.unsubscribe(), i = null, r.subscribe(n)) : a = !0;
453
453
  })), a && (i.unsubscribe(), i = null, r.subscribe(n));
454
454
  });
455
455
  }
456
- function Rt(e, t) {
456
+ function Lt(e, t) {
457
457
  return C(t) ? ne(e, t, 1) : ne(e, 1);
458
458
  }
459
- function zt(e, t) {
459
+ function Rt(e, t) {
460
460
  return t === void 0 && (t = je), me(function(n, r) {
461
461
  var i = null, a = null, o = null, s = function() {
462
462
  if (i) {
@@ -479,7 +479,7 @@ function zt(e, t) {
479
479
  }));
480
480
  });
481
481
  }
482
- function H(e) {
482
+ function U(e) {
483
483
  return e <= 0 ? function() {
484
484
  return z;
485
485
  } : me(function(t, n) {
@@ -489,28 +489,28 @@ function H(e) {
489
489
  }));
490
490
  });
491
491
  }
492
- function Bt(e, t) {
492
+ function zt(e, t) {
493
493
  return t ? function(n) {
494
- return Dt(t.pipe(H(1), me(function(e, t) {
494
+ return Et(t.pipe(U(1), me(function(e, t) {
495
495
  e.subscribe(L(t, Ke));
496
- })), n.pipe(Bt(e)));
496
+ })), n.pipe(zt(e)));
497
497
  } : ne(function(t, n) {
498
- return Le(e(t, n)).pipe(H(1), function(e) {
498
+ return Le(e(t, n)).pipe(U(1), function(e) {
499
499
  return k(function() {
500
500
  return e;
501
501
  });
502
502
  }(t));
503
503
  });
504
504
  }
505
- function Vt(e, t) {
505
+ function Bt(e, t) {
506
506
  t === void 0 && (t = je);
507
507
  var n = D(e, t);
508
- return Bt(function() {
508
+ return zt(function() {
509
509
  return n;
510
510
  });
511
511
  }
512
- function U(e, t) {
513
- return t === void 0 && (t = ae), e ??= Ht, me(function(n, r) {
512
+ function W(e, t) {
513
+ return t === void 0 && (t = ae), e ??= Vt, me(function(n, r) {
514
514
  var i, a = !0;
515
515
  n.subscribe(L(r, function(n) {
516
516
  var o = t(n);
@@ -518,11 +518,11 @@ function U(e, t) {
518
518
  }));
519
519
  });
520
520
  }
521
- function Ht(e, t) {
521
+ function Vt(e, t) {
522
522
  return e === t;
523
523
  }
524
- function Ut(e) {
525
- return e === void 0 && (e = Wt), me(function(t, n) {
524
+ function Ht(e) {
525
+ return e === void 0 && (e = Ut), me(function(t, n) {
526
526
  var r = !1;
527
527
  t.subscribe(L(n, function(e) {
528
528
  r = !0, n.next(e);
@@ -531,10 +531,10 @@ function Ut(e) {
531
531
  }));
532
532
  });
533
533
  }
534
- function Wt() {
535
- return new mt();
534
+ function Ut() {
535
+ return new pt();
536
536
  }
537
- function Gt(e) {
537
+ function Wt(e) {
538
538
  return me(function(t, n) {
539
539
  try {
540
540
  t.subscribe(n);
@@ -543,17 +543,17 @@ function Gt(e) {
543
543
  }
544
544
  });
545
545
  }
546
- function Kt(e, t) {
546
+ function Gt(e, t) {
547
547
  var n = arguments.length >= 2;
548
548
  return function(r) {
549
- return r.pipe(e ? V(function(t, n) {
549
+ return r.pipe(e ? H(function(t, n) {
550
550
  return e(t, n, r);
551
- }) : ae, H(1), n ? ce(t) : Ut(function() {
552
- return new mt();
551
+ }) : ae, U(1), n ? ce(t) : Ht(function() {
552
+ return new pt();
553
553
  }));
554
554
  };
555
555
  }
556
- function qt(e) {
556
+ function Kt(e) {
557
557
  var t, n, r = Infinity;
558
558
  return e != null && (typeof e == "object" ? (t = e.count, r = t === void 0 ? Infinity : t, n = e.delay) : r = e), r <= 0 ? function() {
559
559
  return z;
@@ -574,7 +574,7 @@ function qt(e) {
574
574
  s();
575
575
  });
576
576
  }
577
- function Jt(e, t) {
577
+ function qt(e, t) {
578
578
  var n = [...arguments].slice(2);
579
579
  if (!0 !== t) {
580
580
  if (!1 !== t) {
@@ -585,7 +585,7 @@ function Jt(e, t) {
585
585
  }
586
586
  } else e();
587
587
  }
588
- function Yt(e, t, n) {
588
+ function Jt(e, t, n) {
589
589
  var r, i, a, o, c = !1;
590
590
  return e && typeof e == "object" ? (r = e.bufferSize, o = r === void 0 ? Infinity : r, i = e.windowTime, t = i === void 0 ? Infinity : i, c = (a = e.refCount) !== void 0 && a, n = e.scheduler) : o = e ?? Infinity, function(e) {
591
591
  e === void 0 && (e = {});
@@ -605,16 +605,16 @@ function Yt(e, t, n) {
605
605
  c++, d || u || f();
606
606
  var g = a ??= n();
607
607
  h.add(function() {
608
- --c !== 0 || d || u || (r = Jt(m, l));
608
+ --c !== 0 || d || u || (r = qt(m, l));
609
609
  }), g.subscribe(h), !t && c > 0 && (t = new s({
610
610
  next: function(e) {
611
611
  return g.next(e);
612
612
  },
613
613
  error: function(e) {
614
- d = !0, f(), r = Jt(p, i, e), g.error(e);
614
+ d = !0, f(), r = qt(p, i, e), g.error(e);
615
615
  },
616
616
  complete: function() {
617
- u = !0, f(), r = Jt(p, o), g.complete();
617
+ u = !0, f(), r = qt(p, o), g.complete();
618
618
  }
619
619
  }), Le(e).subscribe(t));
620
620
  })(e);
@@ -628,18 +628,18 @@ function Yt(e, t, n) {
628
628
  resetOnRefCountZero: c
629
629
  });
630
630
  }
631
- function Xt(e) {
632
- return V(function(t, n) {
631
+ function Yt(e) {
632
+ return H(function(t, n) {
633
633
  return e <= n;
634
634
  });
635
635
  }
636
- function Zt() {
636
+ function Xt() {
637
637
  var e = [...arguments], t = st(e);
638
638
  return me(function(n, r) {
639
- (t ? Dt(e, n, t) : Dt(e, n)).subscribe(r);
639
+ (t ? Et(e, n, t) : Et(e, n)).subscribe(r);
640
640
  });
641
641
  }
642
- function W(e, t) {
642
+ function G(e, t) {
643
643
  return me(function(n, r) {
644
644
  var i = null, a = 0, o = !1, s = function() {
645
645
  return o && !i && r.complete();
@@ -657,7 +657,7 @@ function W(e, t) {
657
657
  }));
658
658
  });
659
659
  }
660
- function Qt(e, t) {
660
+ function Zt(e, t) {
661
661
  return t === void 0 && (t = !1), me(function(n, r) {
662
662
  var i = 0;
663
663
  n.subscribe(L(r, function(n) {
@@ -666,7 +666,7 @@ function Qt(e, t) {
666
666
  }));
667
667
  });
668
668
  }
669
- function G(e, t, n) {
669
+ function K(e, t, n) {
670
670
  var r = C(e) || t || n ? {
671
671
  next: e,
672
672
  error: t,
@@ -691,7 +691,7 @@ function G(e, t, n) {
691
691
  }));
692
692
  }) : ae;
693
693
  }
694
- function $t(e, t, n) {
694
+ function Qt(e, t, n) {
695
695
  t === void 0 && (t = je);
696
696
  var r = D(e, t);
697
697
  return function(e, t) {
@@ -719,7 +719,7 @@ function $t(e, t, n) {
719
719
  return r;
720
720
  }, n);
721
721
  }
722
- var en = class {
722
+ var $t = class {
723
723
  get value() {
724
724
  return this.o;
725
725
  }
@@ -749,14 +749,14 @@ var en = class {
749
749
  clearCallbacks() {
750
750
  this.subscriptions.clear();
751
751
  }
752
- }, tn = class extends Event {
752
+ }, en = class extends Event {
753
753
  constructor(e, t) {
754
754
  super("context-provider", {
755
755
  bubbles: !0,
756
756
  composed: !0
757
757
  }), this.context = e, this.contextTarget = t;
758
758
  }
759
- }, nn = class extends en {
759
+ }, tn = class extends $t {
760
760
  constructor(e, t, n) {
761
761
  super(t.context === void 0 ? n : t.initialValue), this.onContextRequest = (e) => {
762
762
  if (e.context !== this.context) return;
@@ -773,10 +773,10 @@ var en = class {
773
773
  this.host.addEventListener("context-request", this.onContextRequest), this.host.addEventListener("context-provider", this.onProviderRequest);
774
774
  }
775
775
  hostConnected() {
776
- this.host.dispatchEvent(new tn(this.context, this.host));
776
+ this.host.dispatchEvent(new en(this.context, this.host));
777
777
  }
778
778
  };
779
- function rn({ context: e }) {
779
+ function nn({ context: e }) {
780
780
  return (t, n) => {
781
781
  let r = /* @__PURE__ */ new WeakMap();
782
782
  if (typeof n == "object") return {
@@ -787,7 +787,7 @@ function rn({ context: e }) {
787
787
  return r.get(this).setValue(e), t.set.call(this, e);
788
788
  },
789
789
  init(t) {
790
- return r.set(this, new nn(this, {
790
+ return r.set(this, new tn(this, {
791
791
  context: e,
792
792
  initialValue: t
793
793
  })), t;
@@ -795,7 +795,7 @@ function rn({ context: e }) {
795
795
  };
796
796
  {
797
797
  t.constructor.addInitializer((t) => {
798
- r.set(t, new nn(t, { context: e }));
798
+ r.set(t, new tn(t, { context: e }));
799
799
  });
800
800
  let i = Object.getOwnPropertyDescriptor(t, n), a;
801
801
  if (i === void 0) {
@@ -824,13 +824,13 @@ function rn({ context: e }) {
824
824
  }
825
825
  };
826
826
  }
827
- var an = new F(), on = "FINDING_MORTIES", sn = "HERE_RICKY", cn = /* @__PURE__ */ new WeakMap(), ln = class e {
827
+ var rn = new F(), an = "FINDING_MORTIES", on = "HERE_RICKY", sn = /* @__PURE__ */ new WeakMap(), cn = class e {
828
828
  get areaSubjects() {
829
- let e = cn.get(this);
830
- return e || (e = /* @__PURE__ */ new Map(), cn.set(this, e)), e;
829
+ let e = sn.get(this);
830
+ return e || (e = /* @__PURE__ */ new Map(), sn.set(this, e)), e;
831
831
  }
832
832
  constructor() {
833
- this.prettyURL = !1, this.mode = "HISTORY", this.request = new nt(1), this.current = /* @__PURE__ */ new Map(), this.$current = new nt(1), this.enableHistoryMode = !0, this.findingMortiesEvent = new CustomEvent(on), this.disposed = !1, this.isProcessingPopstate = !1, this.$current.next(this.current), this.$current.subscribe((e) => {
833
+ this.prettyURL = !1, this.mode = "HISTORY", this.request = new nt(1), this.current = /* @__PURE__ */ new Map(), this.$current = new nt(1), this.enableHistoryMode = !0, this.findingMortiesEvent = new CustomEvent(an), this.disposed = !1, this.isProcessingPopstate = !1, this.$current.next(this.current), this.$current.subscribe((e) => {
834
834
  this.disposed || e.forEach((e, t) => {
835
835
  this.getOrCreateAreaSubject(t).next(e);
836
836
  });
@@ -862,38 +862,38 @@ var an = new F(), on = "FINDING_MORTIES", sn = "HERE_RICKY", cn = /* @__PURE__ *
862
862
  }
863
863
  on(e, t = !1) {
864
864
  if (!e) throw Error("Area name is required");
865
- let n = this.getOrCreateAreaSubject(e).asObservable().pipe(U((e, t) => e.component === t.component && JSON.stringify(e.state) === JSON.stringify(t.state) && JSON.stringify(e.params) === JSON.stringify(t.params) && JSON.stringify(e.props) === JSON.stringify(t.props)), Yt(1));
866
- return t ? n.pipe(Xt(1)) : n;
865
+ let n = this.getOrCreateAreaSubject(e).asObservable().pipe(W((e, t) => e.component === t.component && JSON.stringify(e.state) === JSON.stringify(t.state) && JSON.stringify(e.params) === JSON.stringify(t.params) && JSON.stringify(e.props) === JSON.stringify(t.props)), Jt(1));
866
+ return t ? n.pipe(Yt(1)) : n;
867
867
  }
868
868
  all(e = !1) {
869
- let t = this.$current.asObservable().pipe(Yt(1));
870
- return e ? t.pipe(Xt(1)) : t;
869
+ let t = this.$current.asObservable().pipe(Jt(1));
870
+ return e ? t.pipe(Yt(1)) : t;
871
871
  }
872
872
  getState(e) {
873
873
  if (!e) throw Error("Area name is required");
874
- return this.on(e).pipe(k((e) => e.state), V((e) => e != null), U((e, t) => JSON.stringify(e) === JSON.stringify(t)), k((e) => e), Lt((e) => z));
874
+ return this.on(e).pipe(k((e) => e.state), H((e) => e != null), W((e, t) => JSON.stringify(e) === JSON.stringify(t)), k((e) => e), It((e) => z));
875
875
  }
876
876
  params(e) {
877
877
  if (!e) throw Error("Area name is required");
878
878
  let t = { ...this.current.get(e)?.params ?? {} };
879
879
  return typeof window < "u" && window.location.search && new URLSearchParams(window.location.search).forEach((e, n) => {
880
880
  t[n] = e;
881
- }), this.on(e).pipe(k((e) => e.params ?? {}), Zt(t), U((e, t) => JSON.stringify(e) === JSON.stringify(t)), Lt((e) => z));
881
+ }), this.on(e).pipe(k((e) => e.params ?? {}), Xt(t), W((e, t) => JSON.stringify(e) === JSON.stringify(t)), It((e) => z));
882
882
  }
883
883
  param(e, t) {
884
884
  if (!e || !t) throw Error("Area name and key are required");
885
- return this.params(e).pipe(k((e) => e[t]), V((e) => e !== void 0), U(), k((e) => e), Lt((e) => z));
885
+ return this.params(e).pipe(k((e) => e[t]), H((e) => e !== void 0), W(), k((e) => e), It((e) => z));
886
886
  }
887
887
  props(e) {
888
888
  if (!e) throw Error("Area name is required");
889
- return this.on(e).pipe(k((e) => e.props), V((e) => e != null), U((e, t) => JSON.stringify(e) === JSON.stringify(t)), k((e) => e), Lt((e) => z));
889
+ return this.on(e).pipe(k((e) => e.props), H((e) => e != null), W((e, t) => JSON.stringify(e) === JSON.stringify(t)), k((e) => e), It((e) => z));
890
890
  }
891
891
  prop(e, t) {
892
892
  if (!e || !t) throw Error("Area name and key are required");
893
- return this.props(e).pipe(k((e) => e[t]), V((e) => e !== void 0), U(), k((e) => e), Lt((e) => z));
893
+ return this.props(e).pipe(k((e) => e[t]), H((e) => e !== void 0), W(), k((e) => e), It((e) => z));
894
894
  }
895
895
  find() {
896
- return Pt([O(window, sn).pipe(k((e) => e.detail), It(0)), pt(1).pipe(G(() => window.dispatchEvent(this.findingMortiesEvent)))]).pipe(k(([e]) => e), _t(1), Lt(() => z));
896
+ return Nt([O(window, on).pipe(k((e) => e.detail), Ft(0)), B(1).pipe(K(() => window.dispatchEvent(this.findingMortiesEvent)))]).pipe(k(([e]) => e), gt(1), It(() => z));
897
897
  }
898
898
  push(e) {
899
899
  if (!e.area) throw Error("Area is required for route action");
@@ -905,7 +905,7 @@ var an = new F(), on = "FINDING_MORTIES", sn = "HERE_RICKY", cn = /* @__PURE__ *
905
905
  props: e.props || {},
906
906
  _source: "programmatic"
907
907
  };
908
- this.enableHistoryMode && an.next(t), this.request.next(t), this.dispatchAreaEvent(t.area, t);
908
+ this.enableHistoryMode && rn.next(t), this.request.next(t), this.dispatchAreaEvent(t.area, t);
909
909
  }
910
910
  _updateFromBrowser(e) {
911
911
  let t = {
@@ -1034,7 +1034,7 @@ var an = new F(), on = "FINDING_MORTIES", sn = "HERE_RICKY", cn = /* @__PURE__ *
1034
1034
  }
1035
1035
  }
1036
1036
  dispose() {
1037
- this.disposed || (this.disposed = !0, this.unloadSubscription &&= (this.unloadSubscription.unsubscribe(), void 0), this.areaSubjects.forEach((e) => e.complete()), this.areaSubjects.clear(), this.request.complete(), this.$current.complete(), an.complete(), this.current.clear(), cn.delete(this));
1037
+ this.disposed || (this.disposed = !0, this.unloadSubscription &&= (this.unloadSubscription.unsubscribe(), void 0), this.areaSubjects.forEach((e) => e.complete()), this.areaSubjects.clear(), this.request.complete(), this.$current.complete(), rn.complete(), this.current.clear(), sn.delete(this));
1038
1038
  }
1039
1039
  static getInstance() {
1040
1040
  return e.instance ||= new e(), e.instance;
@@ -1055,7 +1055,7 @@ var an = new F(), on = "FINDING_MORTIES", sn = "HERE_RICKY", cn = /* @__PURE__ *
1055
1055
  getRoute(e) {
1056
1056
  return this.current.get(e);
1057
1057
  }
1058
- }.getInstance(), un = class extends M {
1058
+ }.getInstance(), ln = class extends M {
1059
1059
  constructor(...e) {
1060
1060
  super(...e), this.exact = !1;
1061
1061
  }
@@ -1078,10 +1078,10 @@ var an = new F(), on = "FINDING_MORTIES", sn = "HERE_RICKY", cn = /* @__PURE__ *
1078
1078
  return N``;
1079
1079
  }
1080
1080
  };
1081
- x([j({ type: String })], un.prototype, "when", void 0), x([j({ type: Object })], un.prototype, "component", void 0), x([j({ type: Boolean })], un.prototype, "exact", void 0), x([j({ type: Object })], un.prototype, "guard", void 0), un = x([y("schmancy-route")], un);
1082
- var dn = function(e) {
1081
+ x([j({ type: String })], ln.prototype, "when", void 0), x([j({ type: Object })], ln.prototype, "component", void 0), x([j({ type: Boolean })], ln.prototype, "exact", void 0), x([j({ type: Object })], ln.prototype, "guard", void 0), ln = x([y("schmancy-route")], ln);
1082
+ var un = function(e) {
1083
1083
  return e.push = "push", e.replace = "replace", e.pop = "pop", e.silent = "silent", e;
1084
- }({}), fn = class extends M {
1084
+ }({}), dn = class extends M {
1085
1085
  static {
1086
1086
  this.styles = [r`
1087
1087
  :host {
@@ -1094,18 +1094,21 @@ var dn = function(e) {
1094
1094
  }
1095
1095
  firstUpdated() {
1096
1096
  if (!this.name) throw Error("Area name is required");
1097
- B(ln.request.pipe(V(({ area: e }) => e === this.name)), pt(null).pipe(H(1), k(() => {
1097
+ V(cn.request.pipe(H(({ area: e }) => e === this.name)), B(null).pipe(k(() => {
1098
1098
  let e = location.pathname, t = e.split("/").pop() || "";
1099
1099
  if (t && (t.includes("{") || t.includes("%7B"))) try {
1100
1100
  let e = JSON.parse(decodeURIComponent(t));
1101
- if (e[this.name]) return {
1102
- area: this.name,
1103
- component: e[this.name].component,
1104
- state: e[this.name].state || {},
1105
- params: e[this.name].params || {},
1106
- props: e[this.name].props || {},
1107
- historyStrategy: dn.replace
1108
- };
1101
+ if (typeof e == "object" && e && e[this.name]) {
1102
+ let t = e[this.name];
1103
+ return {
1104
+ area: this.name,
1105
+ component: t.component,
1106
+ state: t.state || {},
1107
+ params: t.params || {},
1108
+ props: t.props || {},
1109
+ historyStrategy: un.replace
1110
+ };
1111
+ }
1109
1112
  } catch {}
1110
1113
  let n = e.split("/").filter(Boolean).find((e) => this.routes?.some((t) => t.when === e));
1111
1114
  return n ? {
@@ -1113,13 +1116,13 @@ var dn = function(e) {
1113
1116
  component: n,
1114
1117
  state: {},
1115
1118
  params: {},
1116
- historyStrategy: dn.silent
1119
+ historyStrategy: un.silent
1117
1120
  } : this.default ? {
1118
1121
  area: this.name,
1119
1122
  component: this.default,
1120
1123
  state: {},
1121
1124
  params: {},
1122
- historyStrategy: dn.silent
1125
+ historyStrategy: un.silent
1123
1126
  } : null;
1124
1127
  })), O(window, "popstate").pipe(k(() => {
1125
1128
  if (history.state?.schmancyAreas?.[this.name]) {
@@ -1130,20 +1133,23 @@ var dn = function(e) {
1130
1133
  state: e.state || {},
1131
1134
  params: e.params || {},
1132
1135
  props: e.props || {},
1133
- historyStrategy: dn.pop
1136
+ historyStrategy: un.pop
1134
1137
  };
1135
1138
  }
1136
1139
  let e = location.pathname, t = e.split("/").pop() || "";
1137
1140
  if (t && (t.includes("{") || t.includes("%7B"))) try {
1138
1141
  let e = JSON.parse(decodeURIComponent(t));
1139
- if (e[this.name]) return {
1140
- area: this.name,
1141
- component: e[this.name].component,
1142
- state: e[this.name].state || {},
1143
- params: e[this.name].params || {},
1144
- props: e[this.name].props || {},
1145
- historyStrategy: dn.replace
1146
- };
1142
+ if (typeof e == "object" && e && e[this.name]) {
1143
+ let t = e[this.name];
1144
+ return {
1145
+ area: this.name,
1146
+ component: t.component,
1147
+ state: t.state || {},
1148
+ params: t.params || {},
1149
+ props: t.props || {},
1150
+ historyStrategy: un.replace
1151
+ };
1152
+ }
1147
1153
  } catch {}
1148
1154
  let n = e.split("/").filter(Boolean).find((e) => this.routes?.some((t) => t.when === e));
1149
1155
  return n ? {
@@ -1151,141 +1157,96 @@ var dn = function(e) {
1151
1157
  component: n,
1152
1158
  state: {},
1153
1159
  params: {},
1154
- historyStrategy: dn.silent
1160
+ historyStrategy: un.silent
1155
1161
  } : this.default ? {
1156
1162
  area: this.name,
1157
1163
  component: this.default,
1158
1164
  state: {},
1159
1165
  params: {},
1160
- historyStrategy: dn.silent
1166
+ historyStrategy: un.silent
1161
1167
  } : null;
1162
- }))).pipe(V((e) => e !== null), G(() => performance.mark(`area-${this.name}-nav-start`)), W(async (e) => {
1168
+ }))).pipe(H((e) => e !== null), G((e) => B(e).pipe(G((e) => {
1163
1169
  let t, n = e.component;
1164
- if (typeof n == "string" && this.routes && (t = this.routes.find((e) => e.when === n), t && (n = t.component)), !t && typeof n == "function" && ("preload" in n || "_promise" in n || "_module" in n)) try {
1165
- n = (await n()).default;
1166
- let e = customElements.getName(n);
1167
- e && this.routes && (t = this.routes.find((t) => t.when === e));
1168
- } catch {
1169
- return {
1170
- ...e,
1171
- component: null,
1172
- matchedRoute: void 0
1173
- };
1174
- }
1175
- if (!t && n instanceof HTMLElement && this.routes) {
1176
- let e = n.tagName.toLowerCase();
1177
- t = this.routes.find((t) => t.when === e);
1178
- }
1179
- return {
1170
+ return typeof n == "string" && this.routes && (t = this.routes.find((e) => e.when === n), t && (n = t.component)), !t && n instanceof HTMLElement && this.routes && (t = this.routes.find((e) => e.when === n.tagName.toLowerCase())), !t && typeof n == "function" && "preload" in n ? ft(n().then((t) => ({
1171
+ ...e,
1172
+ component: t.default,
1173
+ matchedRoute: this.routes?.find((e) => e.when === (customElements.getName(t.default) ?? "")) ?? void 0
1174
+ }))) : B({
1180
1175
  ...e,
1181
1176
  component: n,
1182
1177
  matchedRoute: t
1183
- };
1184
- }), W((e) => e.matchedRoute?.guard ? e.matchedRoute.guard.pipe(W((t) => {
1185
- if (!0 === t) return pt(e);
1186
- let n = new CustomEvent("redirect", {
1187
- detail: {
1188
- blockedRoute: e.matchedRoute?.when || "unknown",
1189
- area: this.name,
1190
- params: e.params || {},
1191
- state: e.state || {},
1192
- redirectTarget: typeof t == "object" ? t : void 0
1193
- },
1194
- bubbles: !0,
1195
- composed: !0
1196
1178
  });
1197
- return e.matchedRoute.dispatchEvent(n), z;
1198
- })) : pt(e)), W(async (e) => {
1199
- let t = e.component;
1200
- if (typeof t == "function" && ("preload" in t || "_promise" in t || "_module" in t)) try {
1201
- t = (await t()).default;
1202
- } catch {
1203
- return {
1204
- ...e,
1205
- component: null
1206
- };
1207
- }
1179
+ }), G((e) => e.matchedRoute?.guard ? e.matchedRoute.guard.pipe(G((t) => t ? B(e) : (e.matchedRoute?.dispatchEvent(new CustomEvent("redirect", {
1180
+ detail: {
1181
+ blockedRoute: e.matchedRoute?.when ?? "unknown",
1182
+ area: this.name,
1183
+ params: e.params || {},
1184
+ state: e.state || {}
1185
+ },
1186
+ bubbles: !0,
1187
+ composed: !0
1188
+ })), z))) : B(e)), G((e) => typeof e.component == "function" && "preload" in e.component ? ft(e.component().then((t) => ({
1189
+ ...e,
1190
+ component: t.default
1191
+ }))) : B(e)), k((e) => {
1192
+ let t = e.component, n = t && t !== "" ? typeof t == "string" ? t : t instanceof HTMLElement ? t.tagName.toLowerCase() : typeof t == "function" ? t.name || "CustomElement" : "null" : "null";
1208
1193
  return {
1209
1194
  ...e,
1210
- component: t
1195
+ key: `${n}${JSON.stringify(e.params)}${JSON.stringify(e.state)}${JSON.stringify(e.props)}`
1211
1196
  };
1212
- }), k((e) => {
1213
- let t = "", n = e.component;
1214
- n && n !== "" ? typeof n == "string" ? t = n : n instanceof HTMLElement ? t = n.tagName.toLowerCase() : typeof n == "function" && (t = n.name || "CustomElement") : t = "null";
1215
- let r = `${t}${JSON.stringify(e.params)}${JSON.stringify(e.state)}${JSON.stringify(e.props)}`;
1216
- return {
1197
+ }), It((e) => z))), W((e, t) => e.key === t.key), k((e) => {
1198
+ let t = e.component, n = null;
1199
+ if (typeof t == "string" && t !== "") try {
1200
+ n = document.createElement(t);
1201
+ } catch {}
1202
+ else if (t instanceof HTMLElement) n = t;
1203
+ else if (typeof t == "function") try {
1204
+ n = new t();
1205
+ } catch {}
1206
+ return n && (e.params && Object.assign(n, e.params), e.props && Object.assign(n, e.props), e.state && Object.assign(n, { state: e.state })), {
1217
1207
  ...e,
1218
- key: r,
1219
- tagName: t
1220
- };
1221
- }), U((e, t) => e.key === t.key), k((e) => {
1222
- let t = null, n = e.component;
1223
- if (n && n !== "") {
1224
- if (typeof n == "string") try {
1225
- t = document.createElement(n);
1226
- } catch {}
1227
- else if (n instanceof HTMLElement) t = n;
1228
- else if (typeof n == "function") try {
1229
- t = new n();
1230
- } catch {}
1231
- } else t = null;
1232
- return t && (e.params && Object.assign(t, e.params), e.props && Object.assign(t, e.props), e.state && Object.assign(t, { state: e.state })), {
1233
- element: t,
1234
- route: e
1208
+ element: n
1235
1209
  };
1236
- }), Yt(1), G(({ element: e, route: t }) => this.swapComponents(e, t)), G(() => {
1237
- performance.mark(`area-${this.name}-nav-end`), performance.measure(`area-${this.name}-navigation`, `area-${this.name}-nav-start`, `area-${this.name}-nav-end`);
1238
- }), Lt((e) => z), g(this.disconnecting)).subscribe();
1239
- }
1240
- swapComponents(e, t) {
1241
- let n = Array.from(this.children).find((e) => !(e instanceof un));
1242
- if (!e) return void n?.remove();
1243
- let r = t.animationDuration ?? 150;
1244
- if (r === 0) n?.remove(), this.appendChild(e);
1245
- else if (n) n.style.willChange = "opacity", e.style.willChange = "opacity", n.style.contentVisibility = "hidden", n.animate([{ opacity: 1 }, { opacity: 0 }], {
1246
- duration: r,
1247
- easing: "ease-out"
1248
- }).onfinish = () => {
1249
- n.remove(), this.appendChild(e), e.animate([{ opacity: 0 }, { opacity: 1 }], {
1210
+ }), K((e) => {
1211
+ let t = Array.from(this.children).find((e) => !(e instanceof ln)), { element: n } = e;
1212
+ if (!n) return void t?.remove();
1213
+ let r = e.animationDuration ?? 150;
1214
+ r === 0 ? (t?.remove(), this.appendChild(n)) : t ? (t.style.willChange = "opacity", n.style.willChange = "opacity", t.style.contentVisibility = "hidden", t.animate([{ opacity: 1 }, { opacity: 0 }], {
1250
1215
  duration: r,
1216
+ easing: "ease-out"
1217
+ }).finished.then(() => {
1218
+ if (this.isConnected) return t.remove(), this.appendChild(n), n.animate([{ opacity: 0 }, { opacity: 1 }], {
1219
+ duration: r,
1220
+ easing: "ease-in"
1221
+ }).finished;
1222
+ }).then(() => n.style.willChange = "auto")) : (this.appendChild(n), n.animate([{ opacity: 0 }, { opacity: 1 }], {
1223
+ duration: r > 100 ? Math.max(100, .66 * r) : r,
1251
1224
  easing: "ease-in"
1252
- }).onfinish = () => {
1253
- e.style.willChange = "auto";
1254
- };
1255
- };
1256
- else {
1257
- e.style.willChange = "opacity", this.appendChild(e);
1258
- let t = r > 100 ? Math.max(100, .66 * r) : r;
1259
- e.animate([{ opacity: 0 }, { opacity: 1 }], {
1260
- duration: t,
1261
- easing: "ease-in"
1262
- }).onfinish = () => {
1263
- e.style.willChange = "auto";
1225
+ }).finished.then(() => n.style.willChange = "auto"));
1226
+ let i = {
1227
+ component: n.tagName.toLowerCase(),
1228
+ state: e.state || {},
1229
+ area: this.name,
1230
+ params: e.params || {},
1231
+ props: e.props || {}
1264
1232
  };
1265
- }
1266
- let i = {
1267
- component: e.tagName.toLowerCase(),
1268
- state: t.state || {},
1269
- area: this.name,
1270
- params: t.params || {},
1271
- props: t.props || {}
1272
- };
1273
- ln.current.set(this.name, i), ln.$current.next(ln.current), ln.enableHistoryMode && ln._updateBrowserHistory(this.name, i, t.historyStrategy || dn.push, t.clearQueryParams, t.path);
1233
+ cn.current.set(this.name, i), cn.$current.next(cn.current), cn.enableHistoryMode && cn._updateBrowserHistory(this.name, i, e.historyStrategy ?? un.push, e.clearQueryParams, e.path);
1234
+ }), g(this.disconnecting)).subscribe();
1274
1235
  }
1275
1236
  disconnectedCallback() {
1276
- super.disconnectedCallback(), ln.pop(this.name);
1237
+ super.disconnectedCallback(), cn.pop(this.name);
1277
1238
  }
1278
1239
  render() {
1279
1240
  return N`<slot></slot>`;
1280
1241
  }
1281
1242
  };
1282
- function pn(e) {
1243
+ function fn(e) {
1283
1244
  return btoa(e);
1284
1245
  }
1285
- function mn(e) {
1246
+ function pn(e) {
1286
1247
  return atob(e);
1287
1248
  }
1288
- function hn(e) {
1249
+ function mn(e) {
1289
1250
  let t = function() {
1290
1251
  return t._promise ? t._promise : t._module ? Promise.resolve(t._module) : (t._promise = e().then((e) => (t._module = e, e)).catch((e) => {
1291
1252
  throw t._promise = void 0, e;
@@ -1297,7 +1258,7 @@ function hn(e) {
1297
1258
  } catch {}
1298
1259
  }, t;
1299
1260
  }
1300
- function gn(e, t) {
1261
+ function hn(e, t) {
1301
1262
  if (e === t) return !0;
1302
1263
  if (typeof e != "function" || typeof t != "function") return !1;
1303
1264
  if (e.name && t.name && e.name === t.name) return !0;
@@ -1312,10 +1273,10 @@ function gn(e, t) {
1312
1273
  } catch {}
1313
1274
  return !1;
1314
1275
  }
1315
- function _n(e) {
1276
+ function gn(e) {
1316
1277
  return e.toLowerCase().replace(/[^a-z0-9]/g, "");
1317
1278
  }
1318
- function vn(e) {
1279
+ function _n(e) {
1319
1280
  if (typeof e == "string") return e.toLowerCase();
1320
1281
  if (e instanceof HTMLElement) return e.tagName.toLowerCase();
1321
1282
  if (typeof e == "function") {
@@ -1324,18 +1285,18 @@ function vn(e) {
1324
1285
  }
1325
1286
  return null;
1326
1287
  }
1327
- function yn(e, t) {
1288
+ function vn(e, t) {
1328
1289
  let n = { ...e };
1329
1290
  for (let e in t) if (t.hasOwnProperty(e)) {
1330
1291
  let r = t[e], i = n[e];
1331
- bn(r) && bn(i) ? n[e] = yn(i, r) : n[e] = r;
1292
+ yn(r) && yn(i) ? n[e] = vn(i, r) : n[e] = r;
1332
1293
  }
1333
1294
  return n;
1334
1295
  }
1335
- function bn(e) {
1296
+ function yn(e) {
1336
1297
  return typeof e == "object" && !!e && e.constructor === Object && Object.prototype.toString.call(e) === "[object Object]";
1337
1298
  }
1338
- function xn(e, t) {
1299
+ function bn(e, t) {
1339
1300
  let n = null;
1340
1301
  return function(...r) {
1341
1302
  let i = this;
@@ -1344,7 +1305,7 @@ function xn(e, t) {
1344
1305
  }, t);
1345
1306
  };
1346
1307
  }
1347
- function Sn(e) {
1308
+ function xn(e) {
1348
1309
  try {
1349
1310
  let t = JSON.stringify(e);
1350
1311
  return encodeURIComponent(t);
@@ -1352,36 +1313,36 @@ function Sn(e) {
1352
1313
  return "";
1353
1314
  }
1354
1315
  }
1355
- function Cn(e) {
1316
+ function Sn(e) {
1356
1317
  if (!e) return {};
1357
1318
  try {
1358
1319
  let t = JSON.parse(decodeURIComponent(e));
1359
- if (bn(t)) return t;
1320
+ if (yn(t)) return t;
1360
1321
  } catch {}
1361
1322
  return {};
1362
1323
  }
1363
- function wn(e, t) {
1324
+ function Cn(e, t) {
1364
1325
  if (e.area !== t.area || typeof e.component != typeof t.component) return !1;
1365
1326
  if (typeof e.component == "string" && typeof t.component == "string") {
1366
- if (_n(e.component) !== _n(t.component)) return !1;
1327
+ if (gn(e.component) !== gn(t.component)) return !1;
1367
1328
  } else if (typeof e.component == "function" && typeof t.component == "function") {
1368
- if (!gn(e.component, t.component)) return !1;
1329
+ if (!hn(e.component, t.component)) return !1;
1369
1330
  } else if (e.component !== t.component) return !1;
1370
1331
  return JSON.stringify(e.state || {}) === JSON.stringify(t.state || {}) && JSON.stringify(e.params || {}) === JSON.stringify(t.params || {});
1371
1332
  }
1372
- function Tn(e, t) {
1333
+ function wn(e, t) {
1373
1334
  return e.area === t.area && e.component === t.component && JSON.stringify(e.state || {}) === JSON.stringify(t.state || {}) && JSON.stringify(e.params || {}) === JSON.stringify(t.params || {});
1374
1335
  }
1375
- function En(e) {
1376
- let t = vn(e.component) || "unknown", n = Dn(JSON.stringify(e.state || {})), r = Dn(JSON.stringify(e.params || {}));
1336
+ function Tn(e) {
1337
+ let t = _n(e.component) || "unknown", n = En(JSON.stringify(e.state || {})), r = En(JSON.stringify(e.params || {}));
1377
1338
  return `${e.area}:${t}:${n}:${r}`;
1378
1339
  }
1379
- function Dn(e) {
1340
+ function En(e) {
1380
1341
  let t = 0;
1381
1342
  for (let n = 0; n < e.length; n++) t = (t << 5) - t + e.charCodeAt(n), t &= t;
1382
1343
  return Math.abs(t).toString(36);
1383
1344
  }
1384
- function On(e, t = [
1345
+ function Dn(e, t = [
1385
1346
  "password",
1386
1347
  "token",
1387
1348
  "secret",
@@ -1390,17 +1351,17 @@ function On(e, t = [
1390
1351
  let n = {};
1391
1352
  for (let r in e) if (e.hasOwnProperty(r) && !t.includes(r)) {
1392
1353
  let i = e[r];
1393
- bn(i) ? n[r] = On(i, t) : Array.isArray(i) ? n[r] = i.map((e) => bn(e) ? On(e, t) : e) : n[r] = i;
1354
+ yn(i) ? n[r] = Dn(i, t) : Array.isArray(i) ? n[r] = i.map((e) => yn(e) ? Dn(e, t) : e) : n[r] = i;
1394
1355
  }
1395
1356
  return n;
1396
1357
  }
1397
- function kn(e) {
1358
+ function On(e) {
1398
1359
  let t = {}, n;
1399
1360
  return n = e instanceof URLSearchParams ? e : typeof e == "string" ? new URL(e, window.location.origin).searchParams : new URLSearchParams(window.location.search), n.forEach((e, n) => {
1400
1361
  t[n] = e;
1401
1362
  }), t;
1402
1363
  }
1403
- function An(e) {
1364
+ function kn(e) {
1404
1365
  let t = new URLSearchParams();
1405
1366
  for (let n in e) if (e.hasOwnProperty(n)) {
1406
1367
  let r = e[n];
@@ -1409,278 +1370,278 @@ function An(e) {
1409
1370
  let n = t.toString();
1410
1371
  return n ? `?${n}` : "";
1411
1372
  }
1412
- x([j()], fn.prototype, "name", void 0), x([j()], fn.prototype, "default", void 0), x([u({
1373
+ x([j()], dn.prototype, "name", void 0), x([j()], dn.prototype, "default", void 0), x([u({
1413
1374
  selector: "schmancy-route",
1414
1375
  flatten: !0
1415
- })], fn.prototype, "routes", void 0), fn = x([y("schmancy-area")], fn);
1416
- var jn = Symbol.for("immer-nothing"), Mn = Symbol.for("immer-draftable"), Nn = Symbol.for("immer-state");
1417
- function Pn(e, ...t) {
1376
+ })], dn.prototype, "routes", void 0), dn = x([y("schmancy-area")], dn);
1377
+ var An = Symbol.for("immer-nothing"), jn = Symbol.for("immer-draftable"), Mn = Symbol.for("immer-state");
1378
+ function Nn(e, ...t) {
1418
1379
  throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
1419
1380
  }
1420
- var Fn = Object, In = Fn.getPrototypeOf, Ln = "constructor", Rn = "prototype", zn = "configurable", Bn = "enumerable", Vn = "writable", Hn = "value", Un = (e) => !!e && !!e[Nn];
1421
- function Wn(e) {
1422
- return !!e && (qn(e) || $n(e) || !!e[Mn] || !!e[Ln]?.[Mn] || er(e) || tr(e));
1381
+ var Pn = Object, Fn = Pn.getPrototypeOf, In = "constructor", Ln = "prototype", Rn = "configurable", zn = "enumerable", Bn = "writable", Vn = "value", Hn = (e) => !!e && !!e[Mn];
1382
+ function Un(e) {
1383
+ return !!e && (Kn(e) || Qn(e) || !!e[jn] || !!e[In]?.[jn] || $n(e) || er(e));
1423
1384
  }
1424
- var Gn = Fn[Rn][Ln].toString(), Kn = /* @__PURE__ */ new WeakMap();
1425
- function qn(e) {
1426
- if (!e || !nr(e)) return !1;
1427
- let t = In(e);
1428
- if (t === null || t === Fn[Rn]) return !0;
1429
- let n = Fn.hasOwnProperty.call(t, Ln) && t[Ln];
1385
+ var Wn = Pn[Ln][In].toString(), Gn = /* @__PURE__ */ new WeakMap();
1386
+ function Kn(e) {
1387
+ if (!e || !tr(e)) return !1;
1388
+ let t = Fn(e);
1389
+ if (t === null || t === Pn[Ln]) return !0;
1390
+ let n = Pn.hasOwnProperty.call(t, In) && t[In];
1430
1391
  if (n === Object) return !0;
1431
- if (!rr(n)) return !1;
1432
- let r = Kn.get(n);
1433
- return r === void 0 && (r = Function.toString.call(n), Kn.set(n, r)), r === Gn;
1392
+ if (!nr(n)) return !1;
1393
+ let r = Gn.get(n);
1394
+ return r === void 0 && (r = Function.toString.call(n), Gn.set(n, r)), r === Wn;
1434
1395
  }
1435
- function Jn(e, t, n = !0) {
1436
- Yn(e) === 0 ? (n ? Reflect.ownKeys(e) : Fn.keys(e)).forEach((n) => {
1396
+ function qn(e, t, n = !0) {
1397
+ Jn(e) === 0 ? (n ? Reflect.ownKeys(e) : Pn.keys(e)).forEach((n) => {
1437
1398
  t(n, e[n], e);
1438
1399
  }) : e.forEach((n, r) => t(r, n, e));
1439
1400
  }
1440
- function Yn(e) {
1441
- let t = e[Nn];
1442
- return t ? t.type_ : $n(e) ? 1 : er(e) ? 2 : tr(e) ? 3 : 0;
1401
+ function Jn(e) {
1402
+ let t = e[Mn];
1403
+ return t ? t.type_ : Qn(e) ? 1 : $n(e) ? 2 : er(e) ? 3 : 0;
1443
1404
  }
1444
- var Xn = (e, t, n = Yn(e)) => n === 2 ? e.has(t) : Fn[Rn].hasOwnProperty.call(e, t), Zn = (e, t, n = Yn(e)) => n === 2 ? e.get(t) : e[t], Qn = (e, t, n, r = Yn(e)) => {
1405
+ var Yn = (e, t, n = Jn(e)) => n === 2 ? e.has(t) : Pn[Ln].hasOwnProperty.call(e, t), Xn = (e, t, n = Jn(e)) => n === 2 ? e.get(t) : e[t], Zn = (e, t, n, r = Jn(e)) => {
1445
1406
  r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
1446
- }, $n = Array.isArray, er = (e) => e instanceof Map, tr = (e) => e instanceof Set, nr = (e) => typeof e == "object", rr = (e) => typeof e == "function", ir = (e) => typeof e == "boolean", ar = (e) => e.copy_ || e.base_, or = (e) => e.modified_ ? e.copy_ : e.base_;
1447
- function sr(e, t) {
1448
- if (er(e)) return new Map(e);
1449
- if (tr(e)) return new Set(e);
1450
- if ($n(e)) return Array[Rn].slice.call(e);
1451
- let n = qn(e);
1407
+ }, Qn = Array.isArray, $n = (e) => e instanceof Map, er = (e) => e instanceof Set, tr = (e) => typeof e == "object", nr = (e) => typeof e == "function", rr = (e) => typeof e == "boolean", ir = (e) => e.copy_ || e.base_, ar = (e) => e.modified_ ? e.copy_ : e.base_;
1408
+ function or(e, t) {
1409
+ if ($n(e)) return new Map(e);
1410
+ if (er(e)) return new Set(e);
1411
+ if (Qn(e)) return Array[Ln].slice.call(e);
1412
+ let n = Kn(e);
1452
1413
  if (!0 === t || t === "class_only" && !n) {
1453
- let t = Fn.getOwnPropertyDescriptors(e);
1454
- delete t[Nn];
1414
+ let t = Pn.getOwnPropertyDescriptors(e);
1415
+ delete t[Mn];
1455
1416
  let n = Reflect.ownKeys(t);
1456
1417
  for (let r = 0; r < n.length; r++) {
1457
1418
  let i = n[r], a = t[i];
1458
- !1 === a[Vn] && (a[Vn] = !0, a[zn] = !0), (a.get || a.set) && (t[i] = {
1459
- [zn]: !0,
1460
- [Vn]: !0,
1461
- [Bn]: a[Bn],
1462
- [Hn]: e[i]
1419
+ !1 === a[Bn] && (a[Bn] = !0, a[Rn] = !0), (a.get || a.set) && (t[i] = {
1420
+ [Rn]: !0,
1421
+ [Bn]: !0,
1422
+ [zn]: a[zn],
1423
+ [Vn]: e[i]
1463
1424
  });
1464
1425
  }
1465
- return Fn.create(In(e), t);
1426
+ return Pn.create(Fn(e), t);
1466
1427
  }
1467
1428
  {
1468
- let t = In(e);
1429
+ let t = Fn(e);
1469
1430
  if (t !== null && n) return { ...e };
1470
- let r = Fn.create(t);
1471
- return Fn.assign(r, e);
1431
+ let r = Pn.create(t);
1432
+ return Pn.assign(r, e);
1472
1433
  }
1473
1434
  }
1474
- function cr(e, t = !1) {
1475
- return ur(e) || Un(e) || !Wn(e) || (Yn(e) > 1 && Fn.defineProperties(e, {
1476
- set: lr,
1477
- add: lr,
1478
- clear: lr,
1479
- delete: lr
1480
- }), Fn.freeze(e), t && Jn(e, (e, t) => {
1481
- cr(t, !0);
1435
+ function sr(e, t = !1) {
1436
+ return lr(e) || Hn(e) || !Un(e) || (Jn(e) > 1 && Pn.defineProperties(e, {
1437
+ set: cr,
1438
+ add: cr,
1439
+ clear: cr,
1440
+ delete: cr
1441
+ }), Pn.freeze(e), t && qn(e, (e, t) => {
1442
+ sr(t, !0);
1482
1443
  }, !1)), e;
1483
1444
  }
1484
- var lr = { [Hn]: function() {
1485
- Pn(2);
1445
+ var cr = { [Vn]: function() {
1446
+ Nn(2);
1486
1447
  } };
1487
- function ur(e) {
1488
- return e === null || !nr(e) || Fn.isFrozen(e);
1448
+ function lr(e) {
1449
+ return e === null || !tr(e) || Pn.isFrozen(e);
1489
1450
  }
1490
- var dr = "MapSet", fr = "Patches", pr = "ArrayMethods", mr = {};
1491
- function hr(e) {
1492
- let t = mr[e];
1493
- return t || Pn(0), t;
1451
+ var ur = "MapSet", dr = "Patches", fr = "ArrayMethods", pr = {};
1452
+ function mr(e) {
1453
+ let t = pr[e];
1454
+ return t || Nn(0), t;
1494
1455
  }
1495
- var gr, _r = (e) => !!mr[e], vr = () => gr;
1496
- function yr(e, t) {
1497
- t && (e.patchPlugin_ = hr(fr), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
1456
+ var hr, gr = (e) => !!pr[e], _r = () => hr;
1457
+ function vr(e, t) {
1458
+ t && (e.patchPlugin_ = mr(dr), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
1498
1459
  }
1499
- function br(e) {
1500
- xr(e), e.drafts_.forEach(Cr), e.drafts_ = null;
1460
+ function yr(e) {
1461
+ br(e), e.drafts_.forEach(Sr), e.drafts_ = null;
1501
1462
  }
1502
- function xr(e) {
1503
- e === gr && (gr = e.parent_);
1463
+ function br(e) {
1464
+ e === hr && (hr = e.parent_);
1504
1465
  }
1505
- var Sr = (e) => gr = {
1466
+ var xr = (e) => hr = {
1506
1467
  drafts_: [],
1507
- parent_: gr,
1468
+ parent_: hr,
1508
1469
  immer_: e,
1509
1470
  canAutoFreeze_: !0,
1510
1471
  unfinalizedDrafts_: 0,
1511
1472
  handledSet_: /* @__PURE__ */ new Set(),
1512
1473
  processedForPatches_: /* @__PURE__ */ new Set(),
1513
- mapSetPlugin_: _r(dr) ? hr(dr) : void 0,
1514
- arrayMethodsPlugin_: _r(pr) ? hr(pr) : void 0
1474
+ mapSetPlugin_: gr(ur) ? mr(ur) : void 0,
1475
+ arrayMethodsPlugin_: gr(fr) ? mr(fr) : void 0
1515
1476
  };
1516
- function Cr(e) {
1517
- let t = e[Nn];
1477
+ function Sr(e) {
1478
+ let t = e[Mn];
1518
1479
  t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
1519
1480
  }
1520
- function wr(e, t) {
1481
+ function Cr(e, t) {
1521
1482
  t.unfinalizedDrafts_ = t.drafts_.length;
1522
1483
  let n = t.drafts_[0];
1523
1484
  if (e !== void 0 && e !== n) {
1524
- n[Nn].modified_ && (br(t), Pn(4)), Wn(e) && (e = Tr(t, e));
1485
+ n[Mn].modified_ && (yr(t), Nn(4)), Un(e) && (e = wr(t, e));
1525
1486
  let { patchPlugin_: r } = t;
1526
- r && r.generateReplacementPatches_(n[Nn].base_, e, t);
1527
- } else e = Tr(t, n);
1487
+ r && r.generateReplacementPatches_(n[Mn].base_, e, t);
1488
+ } else e = wr(t, n);
1528
1489
  return function(e, t, n = !1) {
1529
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && cr(t, n);
1530
- }(t, e, !0), br(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === jn ? void 0 : e;
1490
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && sr(t, n);
1491
+ }(t, e, !0), yr(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === An ? void 0 : e;
1531
1492
  }
1532
- function Tr(e, t) {
1533
- if (ur(t)) return t;
1534
- let n = t[Nn];
1535
- if (!n) return jr(t, e.handledSet_, e);
1536
- if (!Dr(n, e)) return t;
1493
+ function wr(e, t) {
1494
+ if (lr(t)) return t;
1495
+ let n = t[Mn];
1496
+ if (!n) return Ar(t, e.handledSet_, e);
1497
+ if (!Er(n, e)) return t;
1537
1498
  if (!n.modified_) return n.base_;
1538
1499
  if (!n.finalized_) {
1539
1500
  let { callbacks_: t } = n;
1540
1501
  if (t) for (; t.length > 0;) t.pop()(e);
1541
- Ar(n, e);
1502
+ kr(n, e);
1542
1503
  }
1543
1504
  return n.copy_;
1544
1505
  }
1545
- function Er(e) {
1506
+ function Tr(e) {
1546
1507
  e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
1547
1508
  }
1548
- var Dr = (e, t) => e.scope_ === t, Or = [];
1549
- function kr(e, t, n, r) {
1550
- let i = ar(e), a = e.type_;
1551
- if (r !== void 0 && Zn(i, r, a) === t) return void Qn(i, r, n, a);
1509
+ var Er = (e, t) => e.scope_ === t, Dr = [];
1510
+ function Or(e, t, n, r) {
1511
+ let i = ir(e), a = e.type_;
1512
+ if (r !== void 0 && Xn(i, r, a) === t) return void Zn(i, r, n, a);
1552
1513
  if (!e.draftLocations_) {
1553
1514
  let t = e.draftLocations_ = /* @__PURE__ */ new Map();
1554
- Jn(i, (e, n) => {
1555
- if (Un(n)) {
1515
+ qn(i, (e, n) => {
1516
+ if (Hn(n)) {
1556
1517
  let r = t.get(n) || [];
1557
1518
  r.push(e), t.set(n, r);
1558
1519
  }
1559
1520
  });
1560
1521
  }
1561
- let o = e.draftLocations_.get(t) ?? Or;
1562
- for (let e of o) Qn(i, e, n, a);
1522
+ let o = e.draftLocations_.get(t) ?? Dr;
1523
+ for (let e of o) Zn(i, e, n, a);
1563
1524
  }
1564
- function Ar(e, t) {
1525
+ function kr(e, t) {
1565
1526
  if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {
1566
1527
  let { patchPlugin_: n } = t;
1567
1528
  if (n) {
1568
1529
  let r = n.getPath(e);
1569
1530
  r && n.generatePatches_(e, r, t);
1570
1531
  }
1571
- Er(e);
1532
+ Tr(e);
1572
1533
  }
1573
1534
  }
1574
- function jr(e, t, n) {
1575
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || Un(e) || t.has(e) || !Wn(e) || ur(e) || (t.add(e), Jn(e, (r, i) => {
1576
- if (Un(i)) {
1577
- let t = i[Nn];
1578
- Dr(t, n) && (Qn(e, r, or(t), e.type_), Er(t));
1579
- } else Wn(i) && jr(i, t, n);
1535
+ function Ar(e, t, n) {
1536
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || Hn(e) || t.has(e) || !Un(e) || lr(e) || (t.add(e), qn(e, (r, i) => {
1537
+ if (Hn(i)) {
1538
+ let t = i[Mn];
1539
+ Er(t, n) && (Zn(e, r, ar(t), e.type_), Tr(t));
1540
+ } else Un(i) && Ar(i, t, n);
1580
1541
  })), e;
1581
1542
  }
1582
- var Mr = {
1543
+ var jr = {
1583
1544
  get(e, t) {
1584
- if (t === Nn) return e;
1545
+ if (t === Mn) return e;
1585
1546
  let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
1586
1547
  if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
1587
- let i = ar(e);
1588
- if (!Xn(i, t, e.type_)) return function(e, t, n) {
1589
- let r = Fr(t, n);
1590
- return r ? Hn in r ? r[Hn] : r.get?.call(e.draft_) : void 0;
1548
+ let i = ir(e);
1549
+ if (!Yn(i, t, e.type_)) return function(e, t, n) {
1550
+ let r = Pr(t, n);
1551
+ return r ? Vn in r ? r[Vn] : r.get?.call(e.draft_) : void 0;
1591
1552
  }(e, i, t);
1592
1553
  let a = i[t];
1593
- if (e.finalized_ || !Wn(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && function(e) {
1554
+ if (e.finalized_ || !Un(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && function(e) {
1594
1555
  let t = +e;
1595
1556
  return Number.isInteger(t) && String(t) === e;
1596
1557
  }(t)) return a;
1597
- if (a === Pr(e.base_, t)) {
1598
- Lr(e);
1599
- let n = e.type_ === 1 ? +t : t, r = Rr(e.scope_, a, e, n);
1558
+ if (a === Nr(e.base_, t)) {
1559
+ Ir(e);
1560
+ let n = e.type_ === 1 ? +t : t, r = Lr(e.scope_, a, e, n);
1600
1561
  return e.copy_[n] = r;
1601
1562
  }
1602
1563
  return a;
1603
1564
  },
1604
- has: (e, t) => t in ar(e),
1605
- ownKeys: (e) => Reflect.ownKeys(ar(e)),
1565
+ has: (e, t) => t in ir(e),
1566
+ ownKeys: (e) => Reflect.ownKeys(ir(e)),
1606
1567
  set(e, t, n) {
1607
- let r = Fr(ar(e), t);
1568
+ let r = Pr(ir(e), t);
1608
1569
  if (r?.set) return r.set.call(e.draft_, n), !0;
1609
1570
  if (!e.modified_) {
1610
- let r = Pr(ar(e), t), i = r?.[Nn];
1571
+ let r = Nr(ir(e), t), i = r?.[Mn];
1611
1572
  if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
1612
1573
  if (function(e, t) {
1613
1574
  return e === t ? e !== 0 || 1 / e == 1 / t : e != e && t != t;
1614
- }(n, r) && (n !== void 0 || Xn(e.base_, t, e.type_))) return !0;
1615
- Lr(e), Ir(e);
1575
+ }(n, r) && (n !== void 0 || Yn(e.base_, t, e.type_))) return !0;
1576
+ Ir(e), Fr(e);
1616
1577
  }
1617
1578
  return e.copy_[t] === n && (n !== void 0 || t in e.copy_) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = n, e.assigned_.set(t, !0), function(e, t, n) {
1618
1579
  let { scope_: r } = e;
1619
- if (Un(n)) {
1620
- let i = n[Nn];
1621
- Dr(i, r) && i.callbacks_.push(function() {
1622
- Lr(e), kr(e, n, or(i), t);
1580
+ if (Hn(n)) {
1581
+ let i = n[Mn];
1582
+ Er(i, r) && i.callbacks_.push(function() {
1583
+ Ir(e), Or(e, n, ar(i), t);
1623
1584
  });
1624
- } else Wn(n) && e.callbacks_.push(function() {
1625
- let i = ar(e);
1626
- e.type_ === 3 ? i.has(n) && jr(n, r.handledSet_, r) : Zn(i, t, e.type_) === n && r.drafts_.length > 1 && !0 === (e.assigned_.get(t) ?? !1) && e.copy_ && jr(Zn(e.copy_, t, e.type_), r.handledSet_, r);
1585
+ } else Un(n) && e.callbacks_.push(function() {
1586
+ let i = ir(e);
1587
+ e.type_ === 3 ? i.has(n) && Ar(n, r.handledSet_, r) : Xn(i, t, e.type_) === n && r.drafts_.length > 1 && !0 === (e.assigned_.get(t) ?? !1) && e.copy_ && Ar(Xn(e.copy_, t, e.type_), r.handledSet_, r);
1627
1588
  });
1628
1589
  }(e, t, n)), !0;
1629
1590
  },
1630
- deleteProperty: (e, t) => (Lr(e), Pr(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), Ir(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0),
1591
+ deleteProperty: (e, t) => (Ir(e), Nr(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), Fr(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0),
1631
1592
  getOwnPropertyDescriptor(e, t) {
1632
- let n = ar(e), r = Reflect.getOwnPropertyDescriptor(n, t);
1593
+ let n = ir(e), r = Reflect.getOwnPropertyDescriptor(n, t);
1633
1594
  return r && {
1634
- [Vn]: !0,
1635
- [zn]: e.type_ !== 1 || t !== "length",
1636
- [Bn]: r[Bn],
1637
- [Hn]: n[t]
1595
+ [Bn]: !0,
1596
+ [Rn]: e.type_ !== 1 || t !== "length",
1597
+ [zn]: r[zn],
1598
+ [Vn]: n[t]
1638
1599
  };
1639
1600
  },
1640
1601
  defineProperty() {
1641
- Pn(11);
1602
+ Nn(11);
1642
1603
  },
1643
- getPrototypeOf: (e) => In(e.base_),
1604
+ getPrototypeOf: (e) => Fn(e.base_),
1644
1605
  setPrototypeOf() {
1645
- Pn(12);
1606
+ Nn(12);
1646
1607
  }
1647
- }, Nr = {};
1648
- for (let e in Mr) {
1649
- let t = Mr[e];
1650
- Nr[e] = function() {
1608
+ }, Mr = {};
1609
+ for (let e in jr) {
1610
+ let t = jr[e];
1611
+ Mr[e] = function() {
1651
1612
  let e = arguments;
1652
1613
  return e[0] = e[0][0], t.apply(this, e);
1653
1614
  };
1654
1615
  }
1655
- function Pr(e, t) {
1656
- let n = e[Nn];
1657
- return (n ? ar(n) : e)[t];
1616
+ function Nr(e, t) {
1617
+ let n = e[Mn];
1618
+ return (n ? ir(n) : e)[t];
1658
1619
  }
1659
- function Fr(e, t) {
1620
+ function Pr(e, t) {
1660
1621
  if (!(t in e)) return;
1661
- let n = In(e);
1622
+ let n = Fn(e);
1662
1623
  for (; n;) {
1663
1624
  let e = Object.getOwnPropertyDescriptor(n, t);
1664
1625
  if (e) return e;
1665
- n = In(n);
1626
+ n = Fn(n);
1666
1627
  }
1667
1628
  }
1668
- function Ir(e) {
1669
- e.modified_ || (e.modified_ = !0, e.parent_ && Ir(e.parent_));
1629
+ function Fr(e) {
1630
+ e.modified_ || (e.modified_ = !0, e.parent_ && Fr(e.parent_));
1670
1631
  }
1671
- function Lr(e) {
1672
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), sr(e.base_, e.scope_.immer_.useStrictShallowCopy_));
1632
+ function Ir(e) {
1633
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), or(e.base_, e.scope_.immer_.useStrictShallowCopy_));
1673
1634
  }
1674
- Nr.deleteProperty = function(e, t) {
1675
- return Nr.set.call(this, e, t, void 0);
1676
- }, Nr.set = function(e, t, n) {
1677
- return Mr.set.call(this, e[0], t, n, e[0]);
1635
+ Mr.deleteProperty = function(e, t) {
1636
+ return Mr.set.call(this, e, t, void 0);
1637
+ }, Mr.set = function(e, t, n) {
1638
+ return jr.set.call(this, e[0], t, n, e[0]);
1678
1639
  };
1679
- function Rr(e, t, n, r) {
1680
- let [i, a] = er(t) ? hr(dr).proxyMap_(t, n) : tr(t) ? hr(dr).proxySet_(t, n) : function(e, t) {
1681
- let n = $n(e), r = {
1640
+ function Lr(e, t, n, r) {
1641
+ let [i, a] = $n(t) ? mr(ur).proxyMap_(t, n) : er(t) ? mr(ur).proxySet_(t, n) : function(e, t) {
1642
+ let n = Qn(e), r = {
1682
1643
  type_: +!!n,
1683
- scope_: t ? t.scope_ : vr(),
1644
+ scope_: t ? t.scope_ : _r(),
1684
1645
  modified_: !1,
1685
1646
  finalized_: !1,
1686
1647
  assigned_: void 0,
@@ -1691,18 +1652,18 @@ function Rr(e, t, n, r) {
1691
1652
  revoke_: null,
1692
1653
  isManual_: !1,
1693
1654
  callbacks_: void 0
1694
- }, i = r, a = Mr;
1695
- n && (i = [r], a = Nr);
1655
+ }, i = r, a = jr;
1656
+ n && (i = [r], a = Mr);
1696
1657
  let { revoke: o, proxy: s } = Proxy.revocable(i, a);
1697
1658
  return r.draft_ = s, r.revoke_ = o, [s, r];
1698
1659
  }(t, n);
1699
- return (n?.scope_ ?? vr()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? function(e, t, n) {
1660
+ return (n?.scope_ ?? _r()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? function(e, t, n) {
1700
1661
  e.callbacks_.push(function(r) {
1701
1662
  let i = t;
1702
- if (!i || !Dr(i, r)) return;
1663
+ if (!i || !Er(i, r)) return;
1703
1664
  r.mapSetPlugin_?.fixSetContents(i);
1704
- let a = or(i);
1705
- kr(e, i.draft_ ?? i, a, n), Ar(i, r);
1665
+ let a = ar(i);
1666
+ Or(e, i.draft_ ?? i, a, n), kr(i, r);
1706
1667
  });
1707
1668
  }(n, a, r) : a.callbacks_.push(function(e) {
1708
1669
  e.mapSetPlugin_?.fixSetContents(a);
@@ -1710,21 +1671,21 @@ function Rr(e, t, n, r) {
1710
1671
  a.modified_ && t && t.generatePatches_(a, [], e);
1711
1672
  }), i;
1712
1673
  }
1713
- function zr(e) {
1714
- if (!Wn(e) || ur(e)) return e;
1715
- let t = e[Nn], n, r = !0;
1674
+ function Rr(e) {
1675
+ if (!Un(e) || lr(e)) return e;
1676
+ let t = e[Mn], n, r = !0;
1716
1677
  if (t) {
1717
1678
  if (!t.modified_) return t.base_;
1718
- t.finalized_ = !0, n = sr(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
1719
- } else n = sr(e, !0);
1720
- return Jn(n, (e, t) => {
1721
- Qn(n, e, zr(t));
1679
+ t.finalized_ = !0, n = or(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
1680
+ } else n = or(e, !0);
1681
+ return qn(n, (e, t) => {
1682
+ Zn(n, e, Rr(t));
1722
1683
  }, r), t && (t.finalized_ = !1), n;
1723
1684
  }
1724
- var Br = new class {
1685
+ var zr = new class {
1725
1686
  constructor(e) {
1726
1687
  this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
1727
- if (rr(e) && !rr(t)) {
1688
+ if (nr(e) && !nr(t)) {
1728
1689
  let n = t;
1729
1690
  t = e;
1730
1691
  let r = this;
@@ -1733,28 +1694,28 @@ var Br = new class {
1733
1694
  };
1734
1695
  }
1735
1696
  let r;
1736
- if (rr(t) || Pn(6), n === void 0 || rr(n) || Pn(7), Wn(e)) {
1737
- let i = Sr(this), a = Rr(i, e, void 0), o = !0;
1697
+ if (nr(t) || Nn(6), n === void 0 || nr(n) || Nn(7), Un(e)) {
1698
+ let i = xr(this), a = Lr(i, e, void 0), o = !0;
1738
1699
  try {
1739
1700
  r = t(a), o = !1;
1740
1701
  } finally {
1741
- o ? br(i) : xr(i);
1702
+ o ? yr(i) : br(i);
1742
1703
  }
1743
- return yr(i, n), wr(r, i);
1704
+ return vr(i, n), Cr(r, i);
1744
1705
  }
1745
- if (!e || !nr(e)) {
1746
- if (r = t(e), r === void 0 && (r = e), r === jn && (r = void 0), this.autoFreeze_ && cr(r, !0), n) {
1706
+ if (!e || !tr(e)) {
1707
+ if (r = t(e), r === void 0 && (r = e), r === An && (r = void 0), this.autoFreeze_ && sr(r, !0), n) {
1747
1708
  let t = [], i = [];
1748
- hr(fr).generateReplacementPatches_(e, r, {
1709
+ mr(dr).generateReplacementPatches_(e, r, {
1749
1710
  patches_: t,
1750
1711
  inversePatches_: i
1751
1712
  }), n(t, i);
1752
1713
  }
1753
1714
  return r;
1754
1715
  }
1755
- Pn(1);
1716
+ Nn(1);
1756
1717
  }, this.produceWithPatches = (e, t) => {
1757
- if (rr(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
1718
+ if (nr(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
1758
1719
  let n, r;
1759
1720
  return [
1760
1721
  this.produce(e, t, (e, t) => {
@@ -1763,20 +1724,20 @@ var Br = new class {
1763
1724
  n,
1764
1725
  r
1765
1726
  ];
1766
- }, ir(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), ir(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), ir(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
1727
+ }, rr(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), rr(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), rr(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
1767
1728
  }
1768
1729
  createDraft(e) {
1769
- Wn(e) || Pn(8), Un(e) && (e = function(e) {
1770
- return Un(e) || Pn(10), zr(e);
1730
+ Un(e) || Nn(8), Hn(e) && (e = function(e) {
1731
+ return Hn(e) || Nn(10), Rr(e);
1771
1732
  }(e));
1772
- let t = Sr(this), n = Rr(t, e, void 0);
1773
- return n[Nn].isManual_ = !0, xr(t), n;
1733
+ let t = xr(this), n = Lr(t, e, void 0);
1734
+ return n[Mn].isManual_ = !0, br(t), n;
1774
1735
  }
1775
1736
  finishDraft(e, t) {
1776
- let n = e && e[Nn];
1777
- n && n.isManual_ || Pn(9);
1737
+ let n = e && e[Mn];
1738
+ n && n.isManual_ || Nn(9);
1778
1739
  let { scope_: r } = n;
1779
- return yr(r, t), wr(void 0, r);
1740
+ return vr(r, t), Cr(void 0, r);
1780
1741
  }
1781
1742
  setAutoFreeze(e) {
1782
1743
  this.autoFreeze_ = e;
@@ -1800,32 +1761,32 @@ var Br = new class {
1800
1761
  }
1801
1762
  }
1802
1763
  n > -1 && (t = t.slice(n + 1));
1803
- let r = hr(fr).applyPatches_;
1804
- return Un(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
1764
+ let r = mr(dr).applyPatches_;
1765
+ return Hn(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
1805
1766
  }
1806
- }().produce, Vr = class extends Error {
1767
+ }().produce, Br = class extends Error {
1807
1768
  constructor(e, t, n) {
1808
1769
  super(e), this.name = "StateStorageError", this.cause = t, this.context = n, this.timestamp = /* @__PURE__ */ new Date();
1809
1770
  }
1810
- }, Hr = "__schmancy_state_Map", Ur = "__schmancy_state_Set";
1811
- function Wr(e, t) {
1771
+ }, Vr = "__schmancy_state_Map", Hr = "__schmancy_state_Set";
1772
+ function Ur(e, t) {
1812
1773
  return t instanceof Map ? {
1813
- $kind: Hr,
1774
+ $kind: Vr,
1814
1775
  entries: Array.from(t.entries())
1815
1776
  } : t instanceof Set ? {
1816
- $kind: Ur,
1777
+ $kind: Hr,
1817
1778
  values: Array.from(t.values())
1818
1779
  } : t;
1819
1780
  }
1820
- function Gr(e, t) {
1781
+ function Wr(e, t) {
1821
1782
  if (t && typeof t == "object" && "$kind" in t) {
1822
1783
  let e = t, n = e.$kind;
1823
- if (n === Hr) return Array.isArray(e.entries) && e.entries.every((e) => Array.isArray(e) && e.length === 2) ? new Map(e.entries) : t;
1824
- if (n === Ur) return Array.isArray(e.values) ? new Set(e.values) : t;
1784
+ if (n === Vr) return Array.isArray(e.entries) && e.entries.every((e) => Array.isArray(e) && e.length === 2) ? new Map(e.entries) : t;
1785
+ if (n === Hr) return Array.isArray(e.values) ? new Set(e.values) : t;
1825
1786
  }
1826
1787
  return t;
1827
1788
  }
1828
- var Kr = class {
1789
+ var Gr = class {
1829
1790
  #e = null;
1830
1791
  async load() {
1831
1792
  return this.#e;
@@ -1836,29 +1797,29 @@ var Kr = class {
1836
1797
  async clear() {
1837
1798
  this.#e = null;
1838
1799
  }
1839
- }, qr = class {
1800
+ }, Kr = class {
1840
1801
  constructor(e, t, n) {
1841
1802
  this.storage = e, this.key = t, this.label = n;
1842
1803
  }
1843
1804
  async load() {
1844
1805
  try {
1845
1806
  let e = this.storage.getItem(this.key);
1846
- return e ? JSON.parse(e, Gr) : null;
1807
+ return e ? JSON.parse(e, Wr) : null;
1847
1808
  } catch {
1848
1809
  return null;
1849
1810
  }
1850
1811
  }
1851
1812
  async save(e) {
1852
1813
  try {
1853
- this.storage.setItem(this.key, JSON.stringify(e, Wr));
1814
+ this.storage.setItem(this.key, JSON.stringify(e, Ur));
1854
1815
  } catch (e) {
1855
- throw new Vr(`[state] ${this.label} save failed (${this.key})`, e);
1816
+ throw new Br(`[state] ${this.label} save failed (${this.key})`, e);
1856
1817
  }
1857
1818
  }
1858
1819
  async clear() {
1859
1820
  this.storage.removeItem(this.key);
1860
1821
  }
1861
- }, Jr = class e {
1822
+ }, qr = class e {
1862
1823
  static {
1863
1824
  this.DB_NAME = "SchmancyState";
1864
1825
  }
@@ -1899,7 +1860,7 @@ var Kr = class {
1899
1860
  let n = await this.openDB();
1900
1861
  return new Promise((r, i) => {
1901
1862
  let a = n.transaction(e.STORE_NAME, "readwrite").objectStore(e.STORE_NAME).put(t, this.key);
1902
- a.addEventListener("success", () => r(), { once: !0 }), a.addEventListener("error", () => i(new Vr(`[state] IDB save failed (${this.key})`, a.error)), { once: !0 });
1863
+ a.addEventListener("success", () => r(), { once: !0 }), a.addEventListener("error", () => i(new Br(`[state] IDB save failed (${this.key})`, a.error)), { once: !0 });
1903
1864
  });
1904
1865
  }
1905
1866
  async clear() {
@@ -1912,7 +1873,7 @@ var Kr = class {
1912
1873
  async close() {
1913
1874
  this.#e &&= (this.#e.close(), null), this.#t = null;
1914
1875
  }
1915
- }, Yr = [
1876
+ }, Jr = [
1916
1877
  "click",
1917
1878
  "dblclick",
1918
1879
  "submit",
@@ -1929,7 +1890,7 @@ var Kr = class {
1929
1890
  "blur",
1930
1891
  "paste",
1931
1892
  "drop"
1932
- ], Xr = class extends w {
1893
+ ], Yr = class extends w {
1933
1894
  constructor(...e) {
1934
1895
  super(...e), this.provides = [], this._scoped = [], this._publishEventTargetAsHost = (e) => {
1935
1896
  let t = e.composedPath();
@@ -1939,7 +1900,7 @@ var Kr = class {
1939
1900
  connectedCallback() {
1940
1901
  super.connectedCallback();
1941
1902
  for (let e of this.provides) {
1942
- let t = e._isolatedInstance(), n = h(Fe(e.namespace)), r = new nn(this, {
1903
+ let t = e._isolatedInstance(), n = h(Fe(e.namespace)), r = new tn(this, {
1943
1904
  context: n,
1944
1905
  initialValue: t
1945
1906
  });
@@ -1948,10 +1909,10 @@ var Kr = class {
1948
1909
  provider: r
1949
1910
  });
1950
1911
  }
1951
- for (let e of Yr) this.addEventListener(e, this._publishEventTargetAsHost, { capture: !0 });
1912
+ for (let e of Jr) this.addEventListener(e, this._publishEventTargetAsHost, { capture: !0 });
1952
1913
  }
1953
1914
  disconnectedCallback() {
1954
- for (let e of Yr) this.removeEventListener(e, this._publishEventTargetAsHost, { capture: !0 });
1915
+ for (let e of Jr) this.removeEventListener(e, this._publishEventTargetAsHost, { capture: !0 });
1955
1916
  for (let e of this._scoped) e.isolated.destroy();
1956
1917
  this._scoped = [], super.disconnectedCallback();
1957
1918
  }
@@ -1959,27 +1920,27 @@ var Kr = class {
1959
1920
  return N`<slot></slot>`;
1960
1921
  }
1961
1922
  };
1962
- x([j({ attribute: !1 })], Xr.prototype, "provides", void 0), customElements.get("schmancy-context") || customElements.define("schmancy-context", Xr);
1963
- var Zr = Symbol("schmancy.state"), Qr = Symbol.for("schmancy.state.claimed"), $r = Symbol.for("schmancy.state.instances"), ei = globalThis;
1964
- ei[Qr] ??= /* @__PURE__ */ new Set();
1965
- var ti = ei[Qr], ni = globalThis;
1966
- ni[$r] ??= /* @__PURE__ */ new Map();
1967
- var ri = ni[$r], ii = Symbol.for("schmancy.state.hostResolverCache"), ai = globalThis;
1968
- ai[ii] ??= /* @__PURE__ */ new WeakMap();
1969
- var oi = ai[ii];
1970
- function si(e, t) {
1923
+ x([j({ attribute: !1 })], Yr.prototype, "provides", void 0), customElements.get("schmancy-context") || customElements.define("schmancy-context", Yr);
1924
+ var Xr = Symbol("schmancy.state"), Zr = Symbol.for("schmancy.state.claimed"), Qr = Symbol.for("schmancy.state.instances"), $r = globalThis;
1925
+ $r[Zr] ??= /* @__PURE__ */ new Set();
1926
+ var ei = $r[Zr], ti = globalThis;
1927
+ ti[Qr] ??= /* @__PURE__ */ new Map();
1928
+ var ni = ti[Qr], ri = Symbol.for("schmancy.state.hostResolverCache"), ii = globalThis;
1929
+ ii[ri] ??= /* @__PURE__ */ new WeakMap();
1930
+ var ai = ii[ri];
1931
+ function oi(e, t) {
1971
1932
  let n = ye();
1972
1933
  if (n === void 0) return t;
1973
- let r = oi.get(n)?.get(e);
1934
+ let r = ai.get(n)?.get(e);
1974
1935
  if (r !== void 0) return r;
1975
1936
  let i, a = h(Fe(e));
1976
1937
  n.dispatchEvent(new v(a, n, (e) => {
1977
1938
  i = e;
1978
1939
  }));
1979
- let o = i === void 0 ? t : i, s = oi.get(n);
1980
- return s || (s = /* @__PURE__ */ new Map(), oi.set(n, s)), s.set(e, o), o;
1940
+ let o = i === void 0 ? t : i, s = ai.get(n);
1941
+ return s || (s = /* @__PURE__ */ new Map(), ai.set(n, s)), s.set(e, o), o;
1981
1942
  }
1982
- function ci(e, t) {
1943
+ function si(e, t) {
1983
1944
  let n = (t) => {
1984
1945
  e.disposed || (e.signal.set(t), function(e) {
1985
1946
  e.scheduledWrite || e.disposed || (e.scheduledWrite = !0, queueMicrotask(() => {
@@ -1998,7 +1959,7 @@ function ci(e, t) {
1998
1959
  } : t);
1999
1960
  },
2000
1961
  update(t) {
2001
- n(Br(e.signal.get(), t));
1962
+ n(zr(e.signal.get(), t));
2002
1963
  },
2003
1964
  delete(t) {
2004
1965
  let r = { ...e.signal.get() };
@@ -2047,7 +2008,7 @@ function ci(e, t) {
2047
2008
  n([...e.signal.get(), ...t]);
2048
2009
  },
2049
2010
  update(t) {
2050
- n(Br(e.signal.get(), t));
2011
+ n(zr(e.signal.get(), t));
2051
2012
  },
2052
2013
  clear() {
2053
2014
  n([]);
@@ -2061,14 +2022,14 @@ function ci(e, t) {
2061
2022
  };
2062
2023
  }
2063
2024
  }
2064
- function li(e) {}
2065
- function ui(e, t = {}) {
2025
+ function ci(e) {}
2026
+ function li(e, t = {}) {
2066
2027
  let { namespace: n, initial: r, storage: i } = e, a = !0 === t.isolated, o = function(e, t) {
2067
2028
  switch (e) {
2068
- case "local": return new qr(localStorage, t, "localStorage");
2069
- case "session": return new qr(sessionStorage, t, "sessionStorage");
2070
- case "indexeddb": return new Jr(t);
2071
- default: return new Kr();
2029
+ case "local": return new Kr(localStorage, t, "localStorage");
2030
+ case "session": return new Kr(sessionStorage, t, "sessionStorage");
2031
+ case "indexeddb": return new qr(t);
2032
+ default: return new Gr();
2072
2033
  }
2073
2034
  }(i, n), s = new Ge.State(r), c = {
2074
2035
  signal: s,
@@ -2079,7 +2040,7 @@ function ui(e, t = {}) {
2079
2040
  disposed: !1
2080
2041
  }, l = !1, u = o.load().then((e) => {
2081
2042
  c.disposed || e != null && c.signal.set(e);
2082
- }, li).then(() => l = !0).then(() => {}), d = function(e) {
2043
+ }, ci).then(() => l = !0).then(() => {}), d = function(e) {
2083
2044
  return new I((t) => {
2084
2045
  t.next(e.get());
2085
2046
  let n = !1, r = new Ge.subtle.Watcher(() => {
@@ -2089,15 +2050,15 @@ function ui(e, t = {}) {
2089
2050
  });
2090
2051
  return r.watch(e), () => r.unwatch(e);
2091
2052
  });
2092
- }(s), f = ci(c, (p = r) instanceof Map ? "map" : p instanceof Set ? "set" : Array.isArray(p) ? "array" : typeof p != "object" || !p ? "scalar" : "object");
2053
+ }(s), f = si(c, (p = r) instanceof Map ? "map" : p instanceof Set ? "set" : Array.isArray(p) ? "array" : typeof p != "object" || !p ? "scalar" : "object");
2093
2054
  var p;
2094
2055
  async function m() {
2095
2056
  c.pendingWrite && await c.pendingWrite, await new Promise((e) => queueMicrotask(e)), c.pendingWrite && await c.pendingWrite, o.close && await o.close();
2096
2057
  }
2097
2058
  let h = () => {
2098
- c.disposed || (c.disposed = !0, m(), ti.delete(n));
2059
+ c.disposed || (c.disposed = !0, m(), ei.delete(n));
2099
2060
  }, g = Object.assign(Object.create(null), {
2100
- [Zr]: !0,
2061
+ [Xr]: !0,
2101
2062
  namespace: n,
2102
2063
  storage: i,
2103
2064
  defaultValue: r,
@@ -2109,7 +2070,7 @@ function ui(e, t = {}) {
2109
2070
  get: () => l,
2110
2071
  enumerable: !0
2111
2072
  }), i === "indexeddb" && (g[Symbol.asyncDispose] = async () => {
2112
- c.disposed || (c.disposed = !0, await m(), ti.delete(n));
2073
+ c.disposed || (c.disposed = !0, await m(), ei.delete(n));
2113
2074
  }), a) return Object.defineProperty(g, "value", {
2114
2075
  get: () => s.get(),
2115
2076
  enumerable: !0
@@ -2123,33 +2084,33 @@ function ui(e, t = {}) {
2123
2084
  get: () => s.get(),
2124
2085
  enumerable: !0
2125
2086
  }), Object.defineProperty(g, "value", {
2126
- get: () => si(n, _).value,
2087
+ get: () => oi(n, _).value,
2127
2088
  enumerable: !0
2128
2089
  }), Object.defineProperty(g, "signal", {
2129
- get: () => si(n, _).signal,
2090
+ get: () => oi(n, _).signal,
2130
2091
  enumerable: !0
2131
2092
  }), Object.defineProperty(g, "$", {
2132
- get: () => si(n, _).$,
2093
+ get: () => oi(n, _).$,
2133
2094
  enumerable: !0
2134
2095
  });
2135
- for (let e of Object.keys(f)) g[e] = (...t) => si(n, _)[e](...t);
2136
- return g._isolatedInstance = () => ui({
2096
+ for (let e of Object.keys(f)) g[e] = (...t) => oi(n, _)[e](...t);
2097
+ return g._isolatedInstance = () => li({
2137
2098
  namespace: n,
2138
2099
  initial: s.get(),
2139
2100
  storage: "memory"
2140
2101
  }, { isolated: !0 }), g;
2141
2102
  }
2142
- function di(e) {
2143
- ti.add(e);
2103
+ function ui(e) {
2104
+ ei.add(e);
2144
2105
  let t = (t) => (n) => {
2145
- let r = `${e}@${t}`, i = ri.get(r);
2106
+ let r = `${e}@${t}`, i = ni.get(r);
2146
2107
  if (i !== void 0) return i;
2147
- let a = ui({
2108
+ let a = li({
2148
2109
  namespace: e,
2149
2110
  initial: n,
2150
2111
  storage: t
2151
2112
  });
2152
- return ri.set(r, a), a;
2113
+ return ni.set(r, a), a;
2153
2114
  };
2154
2115
  return {
2155
2116
  memory: t("memory"),
@@ -2158,12 +2119,12 @@ function di(e) {
2158
2119
  idb: t("indexeddb")
2159
2120
  };
2160
2121
  }
2161
- function fi(e) {
2122
+ function di(e) {
2162
2123
  if (typeof e != "string") throw TypeError("[state] namespace must be a string");
2163
2124
  if (!e.includes("/")) throw TypeError(`[state] namespace "${e}" must follow the "feature/name" convention.`);
2164
- return di(e);
2125
+ return ui(e);
2165
2126
  }
2166
- function pi(e) {
2127
+ function fi(e) {
2167
2128
  let t, n = !1, r = !1, i = () => {
2168
2129
  if (r) return;
2169
2130
  let a = new Ge.Computed(() => {
@@ -2179,8 +2140,8 @@ function pi(e) {
2179
2140
  r || (r = !0, t?.unwatch(), t = void 0);
2180
2141
  } };
2181
2142
  }
2182
- function mi(e, t, n, r = {}) {
2183
- let i = r.storage ?? "memory", a = di(t)[i](n), o = e.subscribe({
2143
+ function pi(e, t, n, r = {}) {
2144
+ let i = r.storage ?? "memory", a = ui(t)[i](n), o = e.subscribe({
2184
2145
  next: (e) => a.signal.set(e),
2185
2146
  error: (e) => {}
2186
2147
  }), s = a[Symbol.dispose].bind(a);
@@ -2188,7 +2149,7 @@ function mi(e, t, n, r = {}) {
2188
2149
  o.unsubscribe(), s();
2189
2150
  }, a;
2190
2151
  }
2191
- var hi = class {
2152
+ var mi = class {
2192
2153
  constructor(e, t) {
2193
2154
  this.host = e, this.source = t, this.latest = t.value, e.addController(this);
2194
2155
  }
@@ -2207,10 +2168,10 @@ var hi = class {
2207
2168
  this.subscription?.unsubscribe(), this.subscription = void 0;
2208
2169
  }
2209
2170
  };
2210
- function gi(e, t) {
2211
- return new hi(e, t);
2171
+ function hi(e, t) {
2172
+ return new mi(e, t);
2212
2173
  }
2213
- function _i(e) {
2174
+ function gi(e) {
2214
2175
  return function(t, n) {
2215
2176
  let r = Symbol(`__observe_${String(n)}`);
2216
2177
  Object.defineProperty(t, n, {
@@ -2239,11 +2200,11 @@ function _i(e) {
2239
2200
  });
2240
2201
  };
2241
2202
  }
2242
- var vi = fi("schmancy/sound").local({
2203
+ var _i = di("schmancy/sound").local({
2243
2204
  theme: null,
2244
2205
  volume: .15,
2245
2206
  muted: !1
2246
- }), yi = {
2207
+ }), vi = {
2247
2208
  joyful: {
2248
2209
  puffs: [{
2249
2210
  startTime: 0,
@@ -4401,21 +4362,21 @@ var vi = fi("schmancy/sound").local({
4401
4362
  type: "sine"
4402
4363
  }]
4403
4364
  }
4404
- }, bi = class e {
4365
+ }, yi = class e {
4405
4366
  get theme() {
4406
- return vi.value.theme;
4367
+ return _i.value.theme;
4407
4368
  }
4408
4369
  get volume() {
4409
- return vi.value.volume;
4370
+ return _i.value.volume;
4410
4371
  }
4411
4372
  get muted() {
4412
- return vi.value.muted;
4373
+ return _i.value.muted;
4413
4374
  }
4414
4375
  get themeName() {
4415
4376
  return this.theme?.name ?? "default";
4416
4377
  }
4417
4378
  constructor() {
4418
- this.audioContext = null, this.theme$ = vi.$.pipe(k((e) => e.theme), Yt(1)), this.volume$ = vi.$.pipe(k((e) => e.volume), U(), Yt(1)), this.muted$ = vi.$.pipe(k((e) => e.muted), U(), Yt(1)), this._themeName$ = new R("default"), this.themeName$ = this._themeName$.asObservable(), this.theme$.subscribe((e) => {
4379
+ this.audioContext = null, this.theme$ = _i.$.pipe(k((e) => e.theme), Jt(1)), this.volume$ = _i.$.pipe(k((e) => e.volume), W(), Jt(1)), this.muted$ = _i.$.pipe(k((e) => e.muted), W(), Jt(1)), this._themeName$ = new R("default"), this.themeName$ = this._themeName$.asObservable(), this.theme$.subscribe((e) => {
4419
4380
  this._themeName$.next(e?.name ?? "default");
4420
4381
  });
4421
4382
  }
@@ -4447,22 +4408,22 @@ var vi = fi("schmancy/sound").local({
4447
4408
  a.gain.setValueAtTime(0, e), a.gain.linearRampToValueAtTime(t.volume * n, e + .02), a.gain.exponentialRampToValueAtTime(.001, e + t.duration), o.connect(a).connect(r.destination), i.start(e), i.stop(e + t.duration);
4448
4409
  }
4449
4410
  setTheme(e) {
4450
- vi.set({ theme: e });
4411
+ _i.set({ theme: e });
4451
4412
  }
4452
4413
  resetTheme() {
4453
- vi.set({ theme: null });
4414
+ _i.set({ theme: null });
4454
4415
  }
4455
4416
  setVolume(e) {
4456
- vi.set({ volume: Math.max(0, Math.min(1, e)) });
4417
+ _i.set({ volume: Math.max(0, Math.min(1, e)) });
4457
4418
  }
4458
4419
  mute() {
4459
- vi.set({ muted: !0 });
4420
+ _i.set({ muted: !0 });
4460
4421
  }
4461
4422
  unmute() {
4462
- vi.set({ muted: !1 });
4423
+ _i.set({ muted: !1 });
4463
4424
  }
4464
4425
  toggleMute() {
4465
- vi.set({ muted: !this.muted });
4426
+ _i.set({ muted: !this.muted });
4466
4427
  }
4467
4428
  getSoundForFeeling(e) {
4468
4429
  let t = this.theme;
@@ -4471,7 +4432,7 @@ var vi = fi("schmancy/sound").local({
4471
4432
  let n = this.getCategoryForFeeling(e);
4472
4433
  if (t.categoryDefaults[n]) return t.categoryDefaults[n];
4473
4434
  }
4474
- return yi[e];
4435
+ return vi[e];
4475
4436
  }
4476
4437
  getCategoryForFeeling(e) {
4477
4438
  return [
@@ -4588,7 +4549,7 @@ var vi = fi("schmancy/sound").local({
4588
4549
  static getInstance() {
4589
4550
  return e.instance ||= new e(), e.instance;
4590
4551
  }
4591
- }.getInstance(), xi = bi, Si = class {
4552
+ }.getInstance(), bi = yi, xi = class {
4592
4553
  constructor() {
4593
4554
  this.audioContext = null, this.volume = .15, this.muted = !1;
4594
4555
  }
@@ -4920,7 +4881,7 @@ var vi = fi("schmancy/sound").local({
4920
4881
  dispose() {
4921
4882
  this.audioContext &&= (this.audioContext.close(), null);
4922
4883
  }
4923
- }, Ci = new Si(), K = () => new wi(), wi = class {}, Ti = /* @__PURE__ */ new WeakMap(), q = T(class extends Ce {
4884
+ }, Si = new xi(), Ci = () => new wi(), wi = class {}, Ti = /* @__PURE__ */ new WeakMap(), q = T(class extends Ce {
4924
4885
  render(e) {
4925
4886
  return E;
4926
4887
  }
@@ -5237,7 +5198,7 @@ var ji = class extends M {
5237
5198
  super.updated?.(e), e.has("value") && this.internals?.setFormValue(this.value || null);
5238
5199
  }
5239
5200
  connectedCallback() {
5240
- super.connectedCallback(), wt([
5201
+ super.connectedCallback(), Ct([
5241
5202
  this.chipHover$,
5242
5203
  this.removeHover$,
5243
5204
  this.focused$,
@@ -5247,7 +5208,7 @@ var ji = class extends M {
5247
5208
  removeHover: t,
5248
5209
  focused: n,
5249
5210
  pressed: r
5250
- })), G((e) => {
5211
+ })), K((e) => {
5251
5212
  this.uiState = e;
5252
5213
  }), g(this.disconnecting)).subscribe();
5253
5214
  }
@@ -5382,7 +5343,7 @@ x([j({
5382
5343
  })], ji.prototype, "elevated", void 0), x([S()], ji.prototype, "uiState", void 0), x([S()], ji.prototype, "ripples", void 0), ji = x([y("schmancy-input-chip")], ji);
5383
5344
  var Mi = class extends he(Ee(":host{display:block;border:unset!important;line-height:unset!important;background:unset!important;padding:unset!important;font-size:unset!important;box-shadow:unset!important}:host:focus{box-shadow:unset!important}@keyframes onAutoFillStart{0%{}to{}}:-webkit-any(sch-input::part(input):-webkit-autofill,sch-input input:-webkit-autofill){animation-name:onAutoFillStart;animation-duration:1ms}:is(sch-input::part(input):autofill,sch-input input:autofill){animation-name:onAutoFillStart;animation-duration:1ms}")) {
5384
5345
  constructor(...e) {
5385
- super(...e), this._valueSet = !1, this._valuesSet = !1, this.placeholder = "", this.maxHeight = "300px", this.multi = !1, this.description = "", this.size = "md", this.autocomplete = "off", this.debounceMs = 200, this.similarityThreshold = .3, this._a11yId = `schmancy-autocomplete-${Math.random().toString(36).slice(2, 10)}`, this._open = !1, this._inputValue = "", this._visibleOptionsCount = 0, this._hasResults = !0, this._inputElementRef = K(), this._selectedValue$ = new R(""), this._selectedValues$ = new R([]), this._inputValue$ = new R("");
5346
+ super(...e), this._valueSet = !1, this._valuesSet = !1, this.placeholder = "", this.maxHeight = "300px", this.multi = !1, this.description = "", this.size = "md", this.autocomplete = "off", this.debounceMs = 200, this.similarityThreshold = .3, this._a11yId = `schmancy-autocomplete-${Math.random().toString(36).slice(2, 10)}`, this._open = !1, this._inputValue = "", this._visibleOptionsCount = 0, this._hasResults = !0, this._inputElementRef = Ci(), this._selectedValue$ = new R(""), this._selectedValues$ = new R([]), this._inputValue$ = new R("");
5386
5347
  }
5387
5348
  resetForm() {
5388
5349
  this.multi ? this._selectedValues$.next([]) : this._selectedValue$.next(""), this._inputValue = "", this._inputValue$.next(""), super.resetForm();
@@ -5406,14 +5367,14 @@ var Mi = class extends he(Ee(":host{display:block;border:unset!important;line-he
5406
5367
  super.connectedCallback(), this._setupAutocompleteLogic(), this._setupDocumentClickHandler();
5407
5368
  }
5408
5369
  _setupAutocompleteLogic() {
5409
- wt([this._selectedValue$, this._selectedValues$]).pipe(G(([e, t]) => {
5370
+ Ct([this._selectedValue$, this._selectedValues$]).pipe(K(([e, t]) => {
5410
5371
  this._updateOptionSelection(e, t);
5411
5372
  let n = this.multi ? t.join(",") : e;
5412
5373
  if (this.internals?.setFormValue(n || null), this.required) {
5413
5374
  let n = this.multi ? t.length === 0 : !e;
5414
5375
  this.internals?.setValidity(n ? { valueMissing: !0 } : {}, n ? this.validationMessage || "Please select an option." : void 0);
5415
5376
  }
5416
- }), g(this.disconnecting)).subscribe(), this._inputValue$.pipe(U(), zt(this.debounceMs), G((e) => {
5377
+ }), g(this.disconnecting)).subscribe(), this._inputValue$.pipe(W(), Rt(this.debounceMs), K((e) => {
5417
5378
  this._open && this._filterOptions(e);
5418
5379
  }), g(this.disconnecting)).subscribe();
5419
5380
  }
@@ -5943,7 +5904,7 @@ var Ji = {
5943
5904
  }
5944
5905
  initialize(e) {
5945
5906
  let { animation: t, delay: n = 0, duration: r, stagger: i, preset: a = "snappy", restart: o = !1 } = e, s = Xi[a], c = r ?? s.duration, l = i ?? (t === "cyber-glitch" ? 30 : 50), u = this.createVisibilityObservable$();
5946
- (o ? u.pipe(W((e) => e ? D(n).pipe(W(() => this.runAnimation$(t, c, l, s))) : Ot(() => (this.resetToInitial(t), z)))) : u.pipe(V((e) => e), H(1), Vt(n), W(() => this.runAnimation$(t, c, l, s)))).pipe(g(this.disconnecting$)).subscribe();
5907
+ (o ? u.pipe(G((e) => e ? D(n).pipe(G(() => this.runAnimation$(t, c, l, s))) : Dt(() => (this.resetToInitial(t), z)))) : u.pipe(H((e) => e), U(1), Bt(n), G(() => this.runAnimation$(t, c, l, s)))).pipe(g(this.disconnecting$)).subscribe();
5947
5908
  }
5948
5909
  cleanup() {
5949
5910
  this.disconnecting$.next(), this.disconnecting$.complete(), this.cancelAnimations(), this.element && (this.element.textContent = this.originalContent, this.element.style.opacity = "", this.element.style.willChange = "auto", this.element.style.transform = "", this.element.style.filter = ""), this.element = null, this.initialized = !1;
@@ -5981,12 +5942,12 @@ var Ji = {
5981
5942
  return t;
5982
5943
  }
5983
5944
  createVisibilityObservable$() {
5984
- let e = O(document, "visibilitychange").pipe(Zt(null), k(() => document.visibilityState === "visible"), U());
5985
- return wt([kt(200).pipe(Zt(0), k(() => {
5945
+ let e = O(document, "visibilitychange").pipe(Xt(null), k(() => document.visibilityState === "visible"), W());
5946
+ return Ct([Ot(200).pipe(Xt(0), k(() => {
5986
5947
  if (!this.element) return !1;
5987
5948
  let e = this.element.getBoundingClientRect();
5988
5949
  return e.width > 0 && e.height > 0 && e.top < window.innerHeight && e.bottom > 0 && this.getAccumulatedOpacity() > .5;
5989
- }), U()), e]).pipe(k(([e, t]) => e && t), U());
5950
+ }), W()), e]).pipe(k(([e, t]) => e && t), W());
5990
5951
  }
5991
5952
  runAnimation$(e, t, n, r) {
5992
5953
  if (!this.element) return z;
@@ -6012,9 +5973,9 @@ var Ji = {
6012
5973
  easing: t.easingFallback,
6013
5974
  fill: "forwards"
6014
5975
  });
6015
- return this.animations.push(n), ft(n.finished).pipe(G(() => {
5976
+ return this.animations.push(n), ft(n.finished).pipe(K(() => {
6016
5977
  this.element && (this.element.style.opacity = "", this.element.style.transform = "", this.element.style.willChange = "auto");
6017
- }), Lt(() => z));
5978
+ }), It(() => z));
6018
5979
  }
6019
5980
  wrapTextNodes(e) {
6020
5981
  let t = [], n = document.createDocumentFragment(), r = Array.from(e.childNodes);
@@ -6050,11 +6011,11 @@ var Ji = {
6050
6011
  this.animations.push(a);
6051
6012
  });
6052
6013
  let i = this.animations[this.animations.length - 1];
6053
- return i ? ft(i.finished).pipe(G(() => {
6014
+ return i ? ft(i.finished).pipe(K(() => {
6054
6015
  this.element && (this.element.style.willChange = "auto", r.forEach((e) => {
6055
6016
  e.style.willChange = "auto";
6056
6017
  }));
6057
- }), Lt(() => z)) : z;
6018
+ }), It(() => z)) : z;
6058
6019
  }
6059
6020
  animateWordReveal$(e, t, n) {
6060
6021
  if (!this.element) return z;
@@ -6076,11 +6037,11 @@ var Ji = {
6076
6037
  this.animations.push(a);
6077
6038
  });
6078
6039
  let i = this.animations[this.animations.length - 1];
6079
- return i ? ft(i.finished).pipe(G(() => {
6040
+ return i ? ft(i.finished).pipe(K(() => {
6080
6041
  this.element && (this.element.style.willChange = "auto", r.forEach((e) => {
6081
6042
  e.style.willChange = "auto";
6082
6043
  }));
6083
- }), Lt(() => z)) : z;
6044
+ }), It(() => z)) : z;
6084
6045
  }
6085
6046
  animateCyberGlitch$(e, t, n) {
6086
6047
  if (!this.element) return z;
@@ -6108,20 +6069,20 @@ var Ji = {
6108
6069
  this.animations.push(o);
6109
6070
  });
6110
6071
  let o = this.animations[this.animations.length - 1];
6111
- return o ? ft(o.finished).pipe(G(() => {
6072
+ return o ? ft(o.finished).pipe(K(() => {
6112
6073
  this.element && (this.element.style.willChange = "auto", a.forEach((e) => {
6113
6074
  e.style.willChange = "auto";
6114
6075
  }));
6115
- }), Lt(() => z)) : z;
6076
+ }), It(() => z)) : z;
6116
6077
  }
6117
6078
  animateTypewriter$(e) {
6118
6079
  if (!this.element) return z;
6119
6080
  let t = this.originalContent, n = t.length;
6120
6081
  if (n === 0) return z;
6121
6082
  let r = 0;
6122
- return kt(e / n).pipe(G(() => {
6083
+ return Ot(e / n).pipe(K(() => {
6123
6084
  r++, this.element && (this.element.textContent = t.slice(0, r));
6124
- }), Qt(() => r < n), Gt(() => {
6085
+ }), Zt(() => r < n), Wt(() => {
6125
6086
  this.element && (this.element.textContent = this.originalContent, this.element.style.willChange = "auto");
6126
6087
  }));
6127
6088
  }
@@ -6167,7 +6128,7 @@ var ta = T(class extends m {
6167
6128
  return t ? e.timeout === t.timeout && e.icon === t.icon : Object.keys(e).length === 0;
6168
6129
  }
6169
6130
  setupClickListener(e, t, n) {
6170
- return O(e, "click").pipe(G((r) => {
6131
+ return O(e, "click").pipe(K((r) => {
6171
6132
  let i = $i.get(e);
6172
6133
  i && !i.isConfirming && (r.stopPropagation(), r.preventDefault(), i.isConfirming = !0, this.showOverlay(e, i, t, n));
6173
6134
  })).subscribe();
@@ -6200,7 +6161,7 @@ var ta = T(class extends m {
6200
6161
  transform: "translate(-50%, -50%)",
6201
6162
  color: c,
6202
6163
  pointerEvents: "none"
6203
- }), u.appendChild(y), document.body.appendChild(u), t.overlayElement = u, pt(null).pipe(ct(it)).subscribe(() => {
6164
+ }), u.appendChild(y), document.body.appendChild(u), t.overlayElement = u, B(null).pipe(ct(it)).subscribe(() => {
6204
6165
  u.style.opacity = "1", u.style.transform = "scale(1)";
6205
6166
  });
6206
6167
  let b = _.getContext("2d");
@@ -6215,20 +6176,20 @@ var ta = T(class extends m {
6215
6176
  }
6216
6177
  };
6217
6178
  te(0);
6218
- let ne = performance.now(), re = kt(0, it).pipe(k(() => (performance.now() - ne) / i), Qt((e) => e <= 1), g(r), G((e) => te(e))).subscribe({ complete: () => {
6179
+ let ne = performance.now(), re = Ot(0, it).pipe(k(() => (performance.now() - ne) / i), Zt((e) => e <= 1), g(r), K((e) => te(e))).subscribe({ complete: () => {
6219
6180
  $i.get(e)?.isConfirming && this.hideOverlay(e);
6220
6181
  } });
6221
6182
  t.subscription.add(re);
6222
- let ie = B(O(u, "click").pipe(H(1), G(() => {
6183
+ let ie = V(O(u, "click").pipe(U(1), K(() => {
6223
6184
  t.callback(), this.hideOverlay(e);
6224
- })), O(document, "click", { capture: !0 }).pipe(V((t) => !u.contains(t.target) && !e.contains(t.target)), H(1), G(() => this.hideOverlay(e))), O(document, "keydown").pipe(V((e) => e.key === "Escape"), H(1), G(() => this.hideOverlay(e)))).pipe(H(1), g(r)).subscribe();
6185
+ })), O(document, "click", { capture: !0 }).pipe(H((t) => !u.contains(t.target) && !e.contains(t.target)), U(1), K(() => this.hideOverlay(e))), O(document, "keydown").pipe(H((e) => e.key === "Escape"), U(1), K(() => this.hideOverlay(e)))).pipe(U(1), g(r)).subscribe();
6225
6186
  t.subscription.add(ie);
6226
6187
  }
6227
6188
  hideOverlay(e) {
6228
6189
  let t = $i.get(e);
6229
6190
  if (t && (t.cancel$.next(), t.isConfirming = !1, t.overlayElement)) {
6230
6191
  let e = t.overlayElement;
6231
- e.style.opacity = "0", e.style.transform = "scale(0.6)", D(250).pipe(G(() => {
6192
+ e.style.opacity = "0", e.style.transform = "scale(0.6)", D(250).pipe(K(() => {
6232
6193
  document.body.contains(e) && document.body.removeChild(e);
6233
6194
  })).subscribe(), t.overlayElement = null;
6234
6195
  }
@@ -6255,7 +6216,7 @@ var ta = T(class extends m {
6255
6216
  }
6256
6217
  }
6257
6218
  }), na = typeof window < "u" ? window.matchMedia("(prefers-reduced-motion: reduce)") : void 0, X = new R(na?.matches ?? !1);
6258
- na && O(na, "change").pipe(k((e) => e.matches), Zt(na.matches)).subscribe((e) => {
6219
+ na && O(na, "change").pipe(k((e) => e.matches), Xt(na.matches)).subscribe((e) => {
6259
6220
  X.next(e);
6260
6221
  });
6261
6222
  var ra = T(class extends Ce {
@@ -6284,7 +6245,7 @@ var ra = T(class extends Ce {
6284
6245
  }), this.element.prepend(this.glowEl));
6285
6246
  }
6286
6247
  setupTracking() {
6287
- B(O(this.element, "mouseenter").pipe(k(() => (this.glowEl && (this.glowEl.style.opacity = "1"), this.cachedRect = this.element.getBoundingClientRect(), null))), O(this.element, "mousemove").pipe(Ft(0, it), k((e) => {
6248
+ V(O(this.element, "mouseenter").pipe(k(() => (this.glowEl && (this.glowEl.style.opacity = "1"), this.cachedRect = this.element.getBoundingClientRect(), null))), O(this.element, "mousemove").pipe(Pt(0, it), k((e) => {
6288
6249
  let t = this.cachedRect ?? this.element.getBoundingClientRect();
6289
6250
  return {
6290
6251
  x: e.clientX - t.left,
@@ -6322,21 +6283,21 @@ var ra = T(class extends Ce {
6322
6283
  this.items.length < 2 || (t === "add" ? this.startAddCycling(e) : this.startReplaceCycling(e));
6323
6284
  }
6324
6285
  startReplaceCycling(e) {
6325
- let { transition: t = "fade", hold: n = 2e3, duration: r = 300, delay: i = 0 } = e, a = (e) => Ot(() => new I((i) => {
6326
- let a = this.items[e], o = (e - 1 + this.items.length) % this.items.length, s = this.items[o], c = parseInt(a.dataset.hold || "", 10) || n, l = this.transitionItems(s, a, t, r).pipe(W(() => D(c)), H(1), g(this.disconnecting$)).subscribe({
6286
+ let { transition: t = "fade", hold: n = 2e3, duration: r = 300, delay: i = 0 } = e, a = (e) => Dt(() => new I((i) => {
6287
+ let a = this.items[e], o = (e - 1 + this.items.length) % this.items.length, s = this.items[o], c = parseInt(a.dataset.hold || "", 10) || n, l = this.transitionItems(s, a, t, r).pipe(G(() => D(c)), U(1), g(this.disconnecting$)).subscribe({
6327
6288
  next: () => {
6328
6289
  i.next(), i.complete();
6329
6290
  },
6330
6291
  error: (e) => i.error(e)
6331
6292
  });
6332
6293
  return () => l.unsubscribe();
6333
- })), o = parseInt(this.items[0].dataset.hold || "", 10) || n, s = Dt(Ot(() => new I((e) => {
6294
+ })), o = parseInt(this.items[0].dataset.hold || "", 10) || n, s = Et(Dt(() => new I((e) => {
6334
6295
  let t = D(o).pipe(g(this.disconnecting$)).subscribe({ next: () => {
6335
6296
  e.next(), e.complete();
6336
6297
  } });
6337
6298
  return () => t.unsubscribe();
6338
- })), Dt(...[...Array.from({ length: this.items.length }, (e, t) => t).slice(1), 0].map((e) => a(e))).pipe(qt()));
6339
- this.subscription = D(i).pipe(W(() => s), g(this.disconnecting$)).subscribe();
6299
+ })), Et(...[...Array.from({ length: this.items.length }, (e, t) => t).slice(1), 0].map((e) => a(e))).pipe(Kt()));
6300
+ this.subscription = D(i).pipe(G(() => s), g(this.disconnecting$)).subscribe();
6340
6301
  }
6341
6302
  startAddCycling(e) {
6342
6303
  let { transition: t = "fade", hold: n = 2e3, duration: r = 300, delay: i = 0, separator: a = ", " } = e, o = this.items.map((e) => e.textContent || "");
@@ -6345,33 +6306,33 @@ var ra = T(class extends Ce {
6345
6306
  });
6346
6307
  let s = document.createElement("span");
6347
6308
  this.element.appendChild(s), this.addDisplayEl = s;
6348
- let c = Ot(() => {
6309
+ let c = Dt(() => {
6349
6310
  s.textContent = "";
6350
6311
  let e = "";
6351
- return Dt(...o.map((i, o) => {
6312
+ return Et(...o.map((i, o) => {
6352
6313
  let c = parseInt(this.items[o].dataset.hold || "", 10) || n, l = (o > 0 ? a : "") + i;
6353
- return Ot(() => t === "typewriter" ? this.typewriterAdd(s, e, l, r).pipe(G(() => {
6314
+ return Dt(() => t === "typewriter" ? this.typewriterAdd(s, e, l, r).pipe(K(() => {
6354
6315
  e += l;
6355
- }), W(() => D(c))) : Ot(() => (e += l, s.textContent = e, D(c))));
6356
- }), Ot(() => {
6316
+ }), G(() => D(c))) : Dt(() => (e += l, s.textContent = e, D(c))));
6317
+ }), Dt(() => {
6357
6318
  let t = s.animate([{ opacity: 1 }, { opacity: 0 }], {
6358
6319
  duration: r,
6359
6320
  fill: "forwards"
6360
6321
  });
6361
- return this.currentAnimation = t, ft(t.finished).pipe(G(() => {
6322
+ return this.currentAnimation = t, ft(t.finished).pipe(K(() => {
6362
6323
  t.cancel(), s.textContent = "", s.style.opacity = "", e = "";
6363
- }), W(() => D(300)));
6324
+ }), G(() => D(300)));
6364
6325
  }));
6365
6326
  });
6366
- this.subscription = D(i).pipe(W(() => c.pipe(qt())), g(this.disconnecting$)).subscribe();
6327
+ this.subscription = D(i).pipe(G(() => c.pipe(Kt())), g(this.disconnecting$)).subscribe();
6367
6328
  }
6368
6329
  typewriterAdd(e, t, n, r) {
6369
- if (n.length === 0) return pt(void 0);
6330
+ if (n.length === 0) return B(void 0);
6370
6331
  let i = r / n.length;
6371
6332
  return new I((r) => {
6372
- let a = 0, o = kt(i).pipe(G(() => {
6333
+ let a = 0, o = Ot(i).pipe(K(() => {
6373
6334
  a++, e.textContent = t + n.slice(0, a);
6374
- }), Qt(() => a < n.length), g(this.disconnecting$)).subscribe({ complete: () => {
6335
+ }), Zt(() => a < n.length), g(this.disconnecting$)).subscribe({ complete: () => {
6375
6336
  e.textContent = t + n, r.next(), r.complete();
6376
6337
  } });
6377
6338
  return () => o.unsubscribe();
@@ -6389,16 +6350,16 @@ var ra = T(class extends Ce {
6389
6350
  duration: n / 2,
6390
6351
  fill: "forwards"
6391
6352
  });
6392
- return this.currentAnimation = r, ft(r.finished).pipe(W(() => {
6353
+ return this.currentAnimation = r, ft(r.finished).pipe(G(() => {
6393
6354
  r.cancel(), e.style.visibility = "hidden", t.style.visibility = "";
6394
6355
  let i = t.animate([{ opacity: 0 }, { opacity: 1 }], {
6395
6356
  duration: n / 2,
6396
6357
  fill: "forwards"
6397
6358
  });
6398
- return this.currentAnimation = i, ft(i.finished).pipe(G(() => {
6359
+ return this.currentAnimation = i, ft(i.finished).pipe(K(() => {
6399
6360
  i.cancel();
6400
- }), k(() => {}), Lt(() => z));
6401
- }), Lt(() => z));
6361
+ }), k(() => {}), It(() => z));
6362
+ }), It(() => z));
6402
6363
  }
6403
6364
  slideTransition(e, t, n) {
6404
6365
  let r = "cubic-bezier(0.4, 0, 0.2, 1)";
@@ -6424,23 +6385,23 @@ var ra = T(class extends Ce {
6424
6385
  fill: "forwards",
6425
6386
  easing: r
6426
6387
  });
6427
- return this.currentAnimation = a, ft(a.finished).pipe(G(() => {
6388
+ return this.currentAnimation = a, ft(a.finished).pipe(K(() => {
6428
6389
  i.cancel(), a.cancel(), e.style.visibility = "hidden";
6429
- }), k(() => {}), Lt(() => z));
6390
+ }), k(() => {}), It(() => z));
6430
6391
  }
6431
6392
  typewriterTransition(e, t, n) {
6432
6393
  let r = e.textContent || "", i = t.textContent || "", a = r.length + i.length;
6433
- if (a === 0) return e.style.visibility = "hidden", t.style.visibility = "", pt(void 0);
6394
+ if (a === 0) return e.style.visibility = "hidden", t.style.visibility = "", B(void 0);
6434
6395
  let o = n / a;
6435
6396
  return new I((n) => {
6436
6397
  let a = r.length;
6437
- return this.typewriterSub = Dt(kt(o).pipe(G(() => {
6398
+ return this.typewriterSub = Et(Ot(o).pipe(K(() => {
6438
6399
  a--, e.textContent = r.slice(0, a);
6439
- }), Qt(() => a > 0)), Ot(() => (e.style.visibility = "hidden", e.textContent = r, t.style.visibility = "", t.textContent = "", pt(null))), Ot(() => {
6400
+ }), Zt(() => a > 0)), Dt(() => (e.style.visibility = "hidden", e.textContent = r, t.style.visibility = "", t.textContent = "", B(null))), Dt(() => {
6440
6401
  let e = 0;
6441
- return kt(o).pipe(G(() => {
6402
+ return Ot(o).pipe(K(() => {
6442
6403
  e++, t.textContent = i.slice(0, e);
6443
- }), Qt(() => e < i.length));
6404
+ }), Zt(() => e < i.length));
6444
6405
  })).pipe(g(this.disconnecting$)).subscribe({ complete: () => {
6445
6406
  t.textContent = i, n.next(), n.complete();
6446
6407
  } }), () => {
@@ -6477,7 +6438,7 @@ function da(e) {
6477
6438
  ua.push(`[${(/* @__PURE__ */ new Date()).toISOString().slice(11, 23)}] ${e}`);
6478
6439
  }
6479
6440
  var fa = null;
6480
- sa.pipe(U((e, t) => e?.target === t?.target && e?.position === t?.position)).subscribe((e) => {
6441
+ sa.pipe(W((e, t) => e?.target === t?.target && e?.position === t?.position)).subscribe((e) => {
6481
6442
  if (!e) return void (fa && (fa.style.display = "none"));
6482
6443
  if (X.value) return;
6483
6444
  let t = function() {
@@ -6522,13 +6483,13 @@ var pa = class extends m {
6522
6483
  update(e, [t]) {
6523
6484
  if (this.id = t, !this.element) {
6524
6485
  let t = e.element;
6525
- this.element = t, t.draggable = !0, t.style.cursor = "grab", O(t, "dragstart").pipe(G((e) => {
6486
+ this.element = t, t.draggable = !0, t.style.cursor = "grab", O(t, "dragstart").pipe(K((e) => {
6526
6487
  e.stopPropagation(), e.dataTransfer?.setData("application/json", JSON.stringify({ id: this.id })), e.dataTransfer && (e.dataTransfer.effectAllowed = "move"), t.style.cursor = "grabbing", ua.length = 0, da(`DRAGSTART id=${this.id} tag=${t.tagName}`), oa.next(this.id), la.clear();
6527
6488
  let n = t.parentElement;
6528
6489
  if (n) for (let [e, t] of ca) t.parentElement === n && la.set(e, t.getBoundingClientRect());
6529
- }), ct(it), G(() => {
6490
+ }), ct(it), K(() => {
6530
6491
  X.value || (t.style.transition = "transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease", t.style.transform = "scale(1.03)", t.style.boxShadow = "0 8px 25px rgba(0,0,0,0.15)", t.style.opacity = "0.6", t.style.zIndex = "1000", t.style.pointerEvents = "none");
6531
- }), W(() => O(t, "dragend").pipe(H(1), G(() => {
6492
+ }), G(() => O(t, "dragend").pipe(U(1), K(() => {
6532
6493
  let e = sa.value;
6533
6494
  if (t.style.removeProperty("transition"), t.style.removeProperty("transform"), t.style.removeProperty("box-shadow"), t.style.removeProperty("opacity"), t.style.removeProperty("z-index"), t.style.removeProperty("pointer-events"), t.style.cursor = "grab", e) {
6534
6495
  let { target: t, destinationId: n, position: r } = e;
@@ -6540,7 +6501,7 @@ var pa = class extends m {
6540
6501
  },
6541
6502
  bubbles: !0,
6542
6503
  composed: !0
6543
- })), D(0, it).pipe(Xt(1), H(1)).subscribe(() => {
6504
+ })), D(0, it).pipe(Yt(1), U(1)).subscribe(() => {
6544
6505
  if (!X.value && la.size !== 0) {
6545
6506
  for (let [e, t] of la) {
6546
6507
  let n = ca.get(e);
@@ -6577,15 +6538,15 @@ var pa = class extends m {
6577
6538
  update(e, [t]) {
6578
6539
  if (this.destinationId = t, !this.element) {
6579
6540
  let t = e.element;
6580
- this.element = t, O(t, "dragenter").pipe(G((e) => {
6541
+ this.element = t, O(t, "dragenter").pipe(K((e) => {
6581
6542
  da(`NATIVE-DRAGENTER dest=${this.destinationId}`), e.preventDefault();
6582
- }), g(this.destroy$)).subscribe(), O(t, "dragover").pipe(G((e) => {
6543
+ }), g(this.destroy$)).subscribe(), O(t, "dragover").pipe(K((e) => {
6583
6544
  da(`NATIVE-DRAGOVER dest=${this.destinationId}`), e.preventDefault(), e.dataTransfer && (e.dataTransfer.dropEffect = "move");
6584
- }), g(this.destroy$)).subscribe(), O(t, "drop").pipe(G((e) => {
6545
+ }), g(this.destroy$)).subscribe(), O(t, "drop").pipe(K((e) => {
6585
6546
  e.preventDefault(), da(`NATIVE-DROP dest=${this.destinationId}`);
6586
- }), g(this.destroy$)).subscribe(), oa.pipe(W((e) => e && e !== this.destinationId ? (da(`DROP-ACTIVE dest=${this.destinationId} src=${e}`), O(t, "dragover").pipe(G((e) => {
6547
+ }), g(this.destroy$)).subscribe(), oa.pipe(G((e) => e && e !== this.destinationId ? (da(`DROP-ACTIVE dest=${this.destinationId} src=${e}`), O(t, "dragover").pipe(K((e) => {
6587
6548
  e.preventDefault(), e.dataTransfer && (e.dataTransfer.dropEffect = "move");
6588
- }), G((n) => {
6549
+ }), K((n) => {
6589
6550
  let r = function(e, t, n) {
6590
6551
  let r = t.getBoundingClientRect(), i = n ? ca.get(n) : null;
6591
6552
  if (!i) return e.clientY < r.top + r.height / 2 ? "before" : "after";
@@ -6646,9 +6607,9 @@ var pa = class extends m {
6646
6607
  delay: n,
6647
6608
  easing: r.easingFallback,
6648
6609
  fill: "backwards"
6649
- }), ft(this.animation.finished).pipe(H(1), G(() => {
6610
+ }), ft(this.animation.finished).pipe(U(1), K(() => {
6650
6611
  this.element.style.willChange = "", this.animation = void 0;
6651
- }), Lt(() => z)).subscribe();
6612
+ }), It(() => z)).subscribe();
6652
6613
  }
6653
6614
  disconnected() {
6654
6615
  this.animation?.cancel(), this.animation = void 0;
@@ -6669,7 +6630,7 @@ var pa = class extends m {
6669
6630
  let { once: c = !1, threshold: l = 0, rootMargin: u = "0px", delay: d = 0 } = s, f = new IntersectionObserver((e) => {
6670
6631
  if (!this.state) return;
6671
6632
  let t = e[0], n = t.isIntersecting;
6672
- d > 0 && n ? (this.state.delayTimerSub && this.state.delayTimerSub.unsubscribe(), this.state.delayTimerSub = D(d).pipe(H(1), G(() => this.triggerCallback(n, t))).subscribe()) : (!n && this.state.delayTimerSub && (this.state.delayTimerSub.unsubscribe(), this.state.delayTimerSub = void 0), this.triggerCallback(n, t));
6633
+ d > 0 && n ? (this.state.delayTimerSub && this.state.delayTimerSub.unsubscribe(), this.state.delayTimerSub = D(d).pipe(U(1), K(() => this.triggerCallback(n, t))).subscribe()) : (!n && this.state.delayTimerSub && (this.state.delayTimerSub.unsubscribe(), this.state.delayTimerSub = void 0), this.triggerCallback(n, t));
6673
6634
  }, {
6674
6635
  threshold: l,
6675
6636
  rootMargin: u
@@ -6700,7 +6661,7 @@ var pa = class extends m {
6700
6661
  reconnected() {
6701
6662
  this.state && this.state.observer.observe(this.state.element);
6702
6663
  }
6703
- }), ya = "theme-where-are-you", ba = "theme-here-i-am", xa = fi("schmancy/theme").local({
6664
+ }), ya = "theme-where-are-you", ba = "theme-here-i-am", xa = di("schmancy/theme").local({
6704
6665
  scheme: "auto",
6705
6666
  color: "#6200ee"
6706
6667
  }), Sa = class e {
@@ -6723,7 +6684,7 @@ var pa = class extends m {
6723
6684
  return this._bottomOffset$.getValue();
6724
6685
  }
6725
6686
  constructor() {
6726
- this._theme$ = new R({}), this._themeComponent$ = new R(null), this._fullscreen$ = new R(!1), this._bottomOffset$ = new R(0), this.scheme$ = xa.$.pipe(k((e) => e.scheme), U(), Yt(1)), this.color$ = xa.$.pipe(k((e) => e.color), U(), Yt(1)), this.theme$ = this._theme$.asObservable().pipe(U((e, t) => JSON.stringify(e) === JSON.stringify(t)), Yt(1)), this.themeComponent$ = this._themeComponent$.asObservable().pipe(U(), Yt(1)), this.fullscreen$ = this._fullscreen$.asObservable().pipe(U(), Yt(1)), this.bottomOffset$ = this._bottomOffset$.asObservable().pipe(U(), Yt(1)), this.resolvedScheme$ = this.scheme$.pipe(W((e) => {
6687
+ this._theme$ = new R({}), this._themeComponent$ = new R(null), this._fullscreen$ = new R(!1), this._bottomOffset$ = new R(0), this.scheme$ = xa.$.pipe(k((e) => e.scheme), W(), Jt(1)), this.color$ = xa.$.pipe(k((e) => e.color), W(), Jt(1)), this.theme$ = this._theme$.asObservable().pipe(W((e, t) => JSON.stringify(e) === JSON.stringify(t)), Jt(1)), this.themeComponent$ = this._themeComponent$.asObservable().pipe(W(), Jt(1)), this.fullscreen$ = this._fullscreen$.asObservable().pipe(W(), Jt(1)), this.bottomOffset$ = this._bottomOffset$.asObservable().pipe(W(), Jt(1)), this.resolvedScheme$ = this.scheme$.pipe(G((e) => {
6727
6688
  if (e === "auto") {
6728
6689
  let e = window.matchMedia("(prefers-color-scheme: dark)");
6729
6690
  return new I((t) => {
@@ -6733,18 +6694,18 @@ var pa = class extends m {
6733
6694
  return e.addEventListener("change", n), t.next(e.matches ? "dark" : "light"), () => e.removeEventListener("change", n);
6734
6695
  });
6735
6696
  }
6736
- return pt(e);
6737
- }), U(), Yt(1)), this.discoverTheme();
6697
+ return B(e);
6698
+ }), W(), Jt(1)), this.discoverTheme();
6738
6699
  }
6739
6700
  discoverTheme() {
6740
- return O(window, ba).pipe(g(D(100)), k((e) => e.detail.theme), ce(null), G((e) => {
6701
+ return O(window, ba).pipe(g(D(100)), k((e) => e.detail.theme), ce(null), K((e) => {
6741
6702
  e && this.registerThemeComponent(e);
6742
- })).pipe(G(() => {
6703
+ })).pipe(K(() => {
6743
6704
  window.dispatchEvent(new CustomEvent(ya, {
6744
6705
  bubbles: !0,
6745
6706
  composed: !0
6746
6707
  }));
6747
- }), W(() => O(window, ba).pipe(g(D(100)), k((e) => e.detail.theme), ce(null), G((e) => {
6708
+ }), G(() => O(window, ba).pipe(g(D(100)), k((e) => e.detail.theme), ce(null), K((e) => {
6748
6709
  e && this.registerThemeComponent(e);
6749
6710
  }))));
6750
6711
  }
@@ -6782,7 +6743,7 @@ var pa = class extends m {
6782
6743
  return "";
6783
6744
  }
6784
6745
  watchCSSVariable(e) {
6785
- return this.theme$.pipe(k(() => this.getCSSVariable(e)), U());
6746
+ return this.theme$.pipe(k(() => this.getCSSVariable(e)), W());
6786
6747
  }
6787
6748
  setFullscreen(e) {
6788
6749
  this._fullscreen$.next(e), window.dispatchEvent(new CustomEvent("fullscreen", {
@@ -6813,7 +6774,7 @@ function Oa() {
6813
6774
  if (!Ta) {
6814
6775
  Ta = new F();
6815
6776
  let e = O(window, "resize", { passive: !0 });
6816
- Ea = B(e, window.visualViewport ? B(O(window.visualViewport, "resize", { passive: !0 }), O(window.visualViewport, "scroll", { passive: !0 })) : e, O(window, "orientationchange"), O(document, "focusout", { passive: !0 }).pipe(W(() => D(100)))).pipe(zt(16)).subscribe(() => Ta.next());
6777
+ Ea = V(e, window.visualViewport ? V(O(window.visualViewport, "resize", { passive: !0 }), O(window.visualViewport, "scroll", { passive: !0 })) : e, O(window, "orientationchange"), O(document, "focusout", { passive: !0 }).pipe(G(() => D(100)))).pipe(Rt(16)).subscribe(() => Ta.next());
6817
6778
  }
6818
6779
  return Ta;
6819
6780
  }
@@ -6841,14 +6802,14 @@ var ja = T(class extends Ce {
6841
6802
  setupHeightStream() {
6842
6803
  if (!this.element) return;
6843
6804
  let e = this.element;
6844
- wt([
6845
- B(e.parentElement ? Aa(e.parentElement) : z, Oa()).pipe(Zt(null)),
6805
+ Ct([
6806
+ V(e.parentElement ? Aa(e.parentElement) : z, Oa()).pipe(Xt(null)),
6846
6807
  Sa.bottomOffset$,
6847
6808
  Sa.fullscreen$
6848
- ]).pipe(V(() => !wa()), k(([, e, t]) => ({
6809
+ ]).pipe(H(() => !wa()), k(([, e, t]) => ({
6849
6810
  height: this.calculateHeight(),
6850
6811
  padding: t ? 0 : e
6851
- })), U((e, t) => e.height === t.height && e.padding === t.padding), G(({ height: e, padding: t }) => this.applyStyles(e, t)), g(this.disconnecting$)).subscribe();
6812
+ })), W((e, t) => e.height === t.height && e.padding === t.padding), K(({ height: e, padding: t }) => this.applyStyles(e, t)), g(this.disconnecting$)).subscribe();
6852
6813
  }
6853
6814
  render() {}
6854
6815
  update(e) {
@@ -6877,7 +6838,7 @@ var ja = T(class extends Ce {
6877
6838
  setupWidthStream() {
6878
6839
  if (!this.element) return;
6879
6840
  let e = this.element;
6880
- wt([B(Aa(e), e.parentElement ? Aa(e.parentElement) : z, Oa()).pipe(Zt(null)), Sa.fullscreen$]).pipe(V(() => !wa()), k(() => this.calculateWidth()), U(), G((e) => this.applyStyles(e)), g(this.disconnecting$)).subscribe();
6841
+ Ct([V(Aa(e), e.parentElement ? Aa(e.parentElement) : z, Oa()).pipe(Xt(null)), Sa.fullscreen$]).pipe(H(() => !wa()), k(() => this.calculateWidth()), W(), K((e) => this.applyStyles(e)), g(this.disconnecting$)).subscribe();
6881
6842
  }
6882
6843
  render() {}
6883
6844
  update(e) {
@@ -7015,7 +6976,7 @@ var Ba = T(class extends Ce {
7015
6976
  filter: `blur(${.3 * r}px) drop-shadow(0 0 ${r}px color-mix(in srgb, ${n} 40%, transparent))`,
7016
6977
  opacity: a ? "0" : "0.5",
7017
6978
  transition: "opacity 300ms ease"
7018
- }), this.element.prepend(this.borderEl), B(O(this.element, "mouseenter").pipe(k(() => {
6979
+ }), this.element.prepend(this.borderEl), V(O(this.element, "mouseenter").pipe(k(() => {
7019
6980
  this.borderEl && (this.borderEl.style.opacity = a ? "0.7" : "0.8");
7020
6981
  })), O(this.element, "mouseleave").pipe(k(() => {
7021
6982
  this.borderEl && (this.borderEl.style.opacity = a ? "0" : "0.5");
@@ -7050,12 +7011,12 @@ var Ba = T(class extends Ce {
7050
7011
  }
7051
7012
  setupLongPress(e, t, n = {}) {
7052
7013
  let r = n.duration ?? 500, i = n.movementThreshold ?? 10, a = O(e, "pointerdown"), o = O(window, "pointerup"), s = O(window, "pointermove"), c = O(window, "pointercancel");
7053
- return a.pipe(W((e) => {
7054
- let n = e.clientX, a = e.clientY, l = B(o, c, s.pipe(V((e) => {
7014
+ return a.pipe(G((e) => {
7015
+ let n = e.clientX, a = e.clientY, l = V(o, c, s.pipe(H((e) => {
7055
7016
  let t = e.clientX - n, r = e.clientY - a;
7056
7017
  return Math.sqrt(t * t + r * r) > i;
7057
- }))).pipe(Kt());
7058
- return D(r).pipe(g(l), G(() => t()));
7018
+ }))).pipe(Gt());
7019
+ return D(r).pipe(g(l), K(() => t()));
7059
7020
  })).subscribe();
7060
7021
  }
7061
7022
  disconnected(e) {
@@ -7082,7 +7043,7 @@ var Ba = T(class extends Ce {
7082
7043
  setupMagnetic() {
7083
7044
  if (X.value) return;
7084
7045
  let e = this.element.parentElement ?? document;
7085
- B(O(this.element, "mouseenter").pipe(k(() => (this.element.style.willChange = "translate", this.cachedRect = this.element.getBoundingClientRect(), null))), O(e, "mousemove").pipe(Ft(0, it), k((e) => {
7046
+ V(O(this.element, "mouseenter").pipe(k(() => (this.element.style.willChange = "translate", this.cachedRect = this.element.getBoundingClientRect(), null))), O(e, "mousemove").pipe(Pt(0, it), k((e) => {
7086
7047
  let t = this.cachedRect ?? this.element.getBoundingClientRect(), n = t.left + t.width / 2, r = t.top + t.height / 2, i = e.clientX - n, a = e.clientY - r, o = Math.sqrt(i * i + a * a);
7087
7048
  if (o < this.radius && o > 0) {
7088
7049
  let e = (1 - o / this.radius) * this.strength;
@@ -7142,7 +7103,7 @@ var Ba = T(class extends Ce {
7142
7103
  let e = this.elementToDirective.get(t.target);
7143
7104
  e && e.onVisibilityChange(t.isIntersecting && this.tabVisible);
7144
7105
  }
7145
- }, { threshold: 0 }), this.visibilitySub = O(document, "visibilitychange").pipe(G(() => {
7106
+ }, { threshold: 0 }), this.visibilitySub = O(document, "visibilitychange").pipe(K(() => {
7146
7107
  this.tabVisible = document.visibilityState === "visible";
7147
7108
  for (let e of this.instances) e.onVisibilityChange(this.tabVisible);
7148
7109
  })).subscribe();
@@ -7340,7 +7301,7 @@ var Ba = T(class extends Ce {
7340
7301
  }, this.coordinator.register(this, e);
7341
7302
  }
7342
7303
  scheduleAutoHide(e) {
7343
- !this.state || e.autoHideDuration <= 0 || (this.state.autoHideSub = D(e.autoHideDuration).pipe(H(1), G(() => {
7304
+ !this.state || e.autoHideDuration <= 0 || (this.state.autoHideSub = D(e.autoHideDuration).pipe(U(1), K(() => {
7344
7305
  this.state && (this.state.autoHideSub = null, this.hide(this.state.options));
7345
7306
  })).subscribe());
7346
7307
  }
@@ -7390,7 +7351,7 @@ var Ba = T(class extends Ce {
7390
7351
  easing: a,
7391
7352
  fill: "forwards"
7392
7353
  });
7393
- e.idleBreathe && !r && ft(o.finished).pipe(H(1), Lt(() => z)).subscribe(() => {
7354
+ e.idleBreathe && !r && ft(o.finished).pipe(U(1), It(() => z)).subscribe(() => {
7394
7355
  this.state?.overlay && (this.state.overlay.style.animation = `nebula-idle-breathe ${12e3 / n.speed}ms ${Ga} infinite`);
7395
7356
  });
7396
7357
  }
@@ -7452,7 +7413,7 @@ var Ba = T(class extends Ce {
7452
7413
  }
7453
7414
  addRipple(e) {
7454
7415
  let t = this.element.getBoundingClientRect(), n = Math.max(t.width, t.height), r = n / 2, i = document.createElement("span");
7455
- i.className = "schmancy-ripple-effect", i.setAttribute("aria-hidden", "true"), i.style.width = `${n}px`, i.style.height = `${n}px`, i.style.left = e.clientX - t.left - r + "px", i.style.top = e.clientY - t.top - r + "px", this.element.appendChild(i), O(i, "animationend").pipe(H(1)).subscribe(() => i.remove());
7416
+ i.className = "schmancy-ripple-effect", i.setAttribute("aria-hidden", "true"), i.style.width = `${n}px`, i.style.height = `${n}px`, i.style.left = e.clientX - t.left - r + "px", i.style.top = e.clientY - t.top - r + "px", this.element.appendChild(i), O(i, "animationend").pipe(U(1)).subscribe(() => i.remove());
7456
7417
  }
7457
7418
  disconnected() {
7458
7419
  this.teardown$.next();
@@ -7623,7 +7584,7 @@ var no = 44, ro = "schmancy-boat-", io = class extends M {
7623
7584
  super(...e), this.id = "default", this.lowered = !1, this.corner = "bottom-right", this.open = !1, this.isDragging = !1, this._position = {
7624
7585
  x: 16,
7625
7586
  y: 16
7626
- }, this._currentCorner = "bottom-right", this._containerRef = K(), this._contentRef = K(), this._headerRef = K();
7587
+ }, this._currentCorner = "bottom-right", this._containerRef = Ci(), this._contentRef = Ci(), this._headerRef = Ci();
7627
7588
  }
7628
7589
  static {
7629
7590
  this.styles = [r`
@@ -7719,7 +7680,7 @@ var no = 44, ro = "schmancy-boat-", io = class extends M {
7719
7680
  let e = this._headerRef.value, t = this._containerRef.value;
7720
7681
  if (!e || !t) return;
7721
7682
  let n = !1;
7722
- O(e, "pointerdown").pipe(V((e) => e.button === 0), G((t) => {
7683
+ O(e, "pointerdown").pipe(H((e) => e.button === 0), K((t) => {
7723
7684
  t.preventDefault(), t.stopPropagation(), e.setPointerCapture(t.pointerId);
7724
7685
  }), k((e) => {
7725
7686
  let r = t.getBoundingClientRect(), i = this._currentCorner.includes("bottom"), a = this.open;
@@ -7733,9 +7694,9 @@ var no = 44, ro = "schmancy-boat-", io = class extends M {
7733
7694
  isBottom: i,
7734
7695
  wasOpen: a
7735
7696
  };
7736
- }), W(({ pointerId: e, startX: r, startY: i, offsetX: a, offsetY: o, rect: s, isBottom: c, wasOpen: l }) => {
7737
- let u = (t) => t.pointerId === e, d = O(window, "pointermove").pipe(V(u)), f = B(O(window, "pointerup"), O(window, "pointercancel")).pipe(V(u));
7738
- return d.pipe(G(({ clientX: e, clientY: u }) => {
7697
+ }), G(({ pointerId: e, startX: r, startY: i, offsetX: a, offsetY: o, rect: s, isBottom: c, wasOpen: l }) => {
7698
+ let u = (t) => t.pointerId === e, d = O(window, "pointermove").pipe(H(u)), f = V(O(window, "pointerup"), O(window, "pointercancel")).pipe(H(u));
7699
+ return d.pipe(K(({ clientX: e, clientY: u }) => {
7739
7700
  let d = e - r, f = u - i;
7740
7701
  if (Math.sqrt(d * d + f * f) > 5 && !n && (n = !0, this.isDragging = !0, l)) {
7741
7702
  this._currentAnimation?.cancel(), this.open = !1, t.style.clipPath = this.closedClipPath, t.style.overflow = "hidden";
@@ -7748,13 +7709,13 @@ var no = 44, ro = "schmancy-boat-", io = class extends M {
7748
7709
  x: this._currentCorner.includes("right") ? p - h - s.width : h,
7749
7710
  y: c ? m - v - s.height : v
7750
7711
  }, this._applyContainerPosition();
7751
- }), g(f), Gt(() => {
7712
+ }), g(f), Wt(() => {
7752
7713
  n ? (this._reorientToNearestCorner(), this.isDragging = !1, n = !1) : (this.isDragging = !1, n = !1, this.toggle());
7753
7714
  }));
7754
7715
  }), g(this.disconnecting)).subscribe();
7755
7716
  }
7756
7717
  connectedCallback() {
7757
- super.connectedCallback(), O(window, "resize").pipe(g(this.disconnecting)).subscribe(() => this._validateBounds()), Sa.bottomOffset$.pipe(G(() => this._applyContainerPosition()), g(this.disconnecting)).subscribe();
7718
+ super.connectedCallback(), O(window, "resize").pipe(g(this.disconnecting)).subscribe(() => this._validateBounds()), Sa.bottomOffset$.pipe(K(() => this._applyContainerPosition()), g(this.disconnecting)).subscribe();
7758
7719
  }
7759
7720
  firstUpdated() {
7760
7721
  this._currentCorner = this.corner, this._loadPosition();
@@ -8109,8 +8070,7 @@ x([j({
8109
8070
  var co = h("schmancy-button-size"), lo = class extends M {
8110
8071
  static {
8111
8072
  this.styles = [r`:host{
8112
- display: inline-block;
8113
- min-width: fit-content;
8073
+ display: inline-flex;
8114
8074
  overflow: hidden;
8115
8075
  position: relative;
8116
8076
  touch-action: manipulation;
@@ -8119,6 +8079,10 @@ var co = h("schmancy-button-size"), lo = class extends M {
8119
8079
  box-shadow 300ms cubic-bezier(0.34, 1.56, 0.64, 1),
8120
8080
  transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
8121
8081
  }
8082
+ :host([width="full"]) {
8083
+ display: flex;
8084
+ width: 100%;
8085
+ }
8122
8086
  :host(:hover:not([disabled])) {
8123
8087
  box-shadow: 0 4px 16px -4px color-mix(in srgb, var(--schmancy-sys-color-primary-default) 20%, transparent);
8124
8088
  }
@@ -8224,7 +8188,7 @@ var co = h("schmancy-button-size"), lo = class extends M {
8224
8188
  }
8225
8189
  render() {
8226
8190
  let e = this.variant === "tonal" ? "filled tonal" : this.variant, t = {
8227
- "z-0 transition-all duration-200 relative rounded-2xl flex justify-center items-center outline-secondary-default focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-offset-2 outline-hidden w-full overflow-hidden": !0,
8191
+ "z-0 transition-all duration-200 relative rounded-2xl flex justify-center items-center outline-secondary-default focus-visible:outline-solid focus-visible:outline-2 focus-visible:outline-offset-2 outline-hidden flex-1 overflow-hidden": !0,
8228
8192
  "h-6": this.size === "xxs",
8229
8193
  "h-8": this.size === "xs",
8230
8194
  "h-10": this.size === "sm",
@@ -8364,7 +8328,7 @@ x([c("[part=\"base\"]", !0)], lo.prototype, "nativeElement", void 0), x([j({
8364
8328
  })], lo.prototype, "variant", void 0), x([j({
8365
8329
  reflect: !0,
8366
8330
  type: String
8367
- })], lo.prototype, "color", void 0), x([j()], lo.prototype, "width", void 0), x([rn({ context: co }), j({ type: String })], lo.prototype, "size", void 0), x([j({
8331
+ })], lo.prototype, "color", void 0), x([j({ reflect: !0 })], lo.prototype, "width", void 0), x([nn({ context: co }), j({ type: String })], lo.prototype, "size", void 0), x([j({
8368
8332
  reflect: !0,
8369
8333
  type: String
8370
8334
  })], lo.prototype, "type", void 0), x([j()], lo.prototype, "href", void 0), x([j({
@@ -8386,13 +8350,16 @@ var uo = class extends M {
8386
8350
  static {
8387
8351
  this.styles = [r`
8388
8352
  :host {
8389
- display: inline-block;
8390
- width: fit-content;
8353
+ display: inline-flex;
8391
8354
  border-radius: 9999px;
8392
8355
  transition:
8393
8356
  box-shadow 300ms cubic-bezier(0.34, 1.56, 0.64, 1),
8394
8357
  transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
8395
8358
  }
8359
+ :host([width="full"]) {
8360
+ display: flex;
8361
+ width: 100%;
8362
+ }
8396
8363
  :host(:hover:not([disabled])) {
8397
8364
  box-shadow: 0 2px 12px -4px color-mix(in srgb, var(--schmancy-sys-color-primary-default) 18%, transparent);
8398
8365
  }
@@ -8464,7 +8431,7 @@ var uo = class extends M {
8464
8431
  "cursor-pointer": !this.disabled,
8465
8432
  "hover:shadow-xs": !this.disabled && (e === "outlined" || e === "text" || e === "filled" || e === "filled tonal"),
8466
8433
  "hover:shadow-sm": !this.disabled && e === "elevated",
8467
- "w-full text-center": this.width === "full",
8434
+ "flex-1 text-center": this.width === "full",
8468
8435
  "bg-surface-low text-primary-default shadow-xs": e === "elevated",
8469
8436
  "bg-transparent text-primary-default border-1 border-outline": e === "outlined",
8470
8437
  "bg-primary-default text-primary-on": e === "filled",
@@ -8527,7 +8494,7 @@ var uo = class extends M {
8527
8494
  x([c("[part=\"base\"]", !0)], uo.prototype, "nativeElement", void 0), x([j({ type: String })], uo.prototype, "size", void 0), x([j({
8528
8495
  reflect: !0,
8529
8496
  type: String
8530
- })], uo.prototype, "variant", void 0), x([j()], uo.prototype, "width", void 0), x([j({
8497
+ })], uo.prototype, "variant", void 0), x([j({ reflect: !0 })], uo.prototype, "width", void 0), x([j({
8531
8498
  reflect: !0,
8532
8499
  type: String
8533
8500
  })], uo.prototype, "type", void 0), x([j()], uo.prototype, "href", void 0), x([j({
@@ -9529,7 +9496,7 @@ var rs = class extends M {
9529
9496
  };
9530
9497
  }
9531
9498
  connectedCallback() {
9532
- super.connectedCallback(), wt([
9499
+ super.connectedCallback(), Ct([
9533
9500
  this.hover$,
9534
9501
  this.pressed$,
9535
9502
  this.focused$
@@ -9645,7 +9612,7 @@ var is = class extends M {
9645
9612
  this._value = e || "", this._valueSet = !0, this.value$.next(this._value);
9646
9613
  }
9647
9614
  connectedCallback() {
9648
- super.connectedCallback(), this.value$.next(this._value), this.values$.next(this._values), wt([this.value$.pipe(U()), this.values$.pipe(U((e, t) => e.length === t.length && e.every((e, n) => e === t[n])))]).pipe(zt(0), g(this.disconnecting)).subscribe(([e, t]) => {
9615
+ super.connectedCallback(), this.value$.next(this._value), this.values$.next(this._values), Ct([this.value$.pipe(W()), this.values$.pipe(W((e, t) => e.length === t.length && e.every((e, n) => e === t[n])))]).pipe(Rt(0), g(this.disconnecting)).subscribe(([e, t]) => {
9649
9616
  this.updateChipStates(this.mode, e, t);
9650
9617
  });
9651
9618
  }
@@ -9726,10 +9693,8 @@ var as = class extends M {
9726
9693
  static {
9727
9694
  this.styles = [r`
9728
9695
  :host {
9729
- display: inline-block;
9696
+ display: inline-flex;
9730
9697
  outline: none;
9731
- width: fit-content;
9732
- min-width: fit-content;
9733
9698
  border-radius: 0.5rem;
9734
9699
  transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
9735
9700
  }
@@ -9994,7 +9959,7 @@ var os = class extends M {
9994
9959
  };
9995
9960
  }
9996
9961
  connectedCallback() {
9997
- super.connectedCallback(), wt([
9962
+ super.connectedCallback(), Ct([
9998
9963
  this.hover$,
9999
9964
  this.pressed$,
10000
9965
  this.focused$
@@ -10074,7 +10039,7 @@ x([j({ reflect: !0 })], os.prototype, "value", void 0), x([j({ reflect: !0 })],
10074
10039
  })], os.prototype, "elevated", void 0), x([S()], os.prototype, "ripples", void 0), os = x([y("schmancy-suggestion-chip")], os);
10075
10040
  var ss = class extends M {
10076
10041
  constructor(...e) {
10077
- super(...e), this.bannerRef = K(), this.surfaceRef = K(), this.iconRef = K(), this.messageRef = K();
10042
+ super(...e), this.bannerRef = Ci(), this.surfaceRef = Ci(), this.iconRef = Ci(), this.messageRef = Ci();
10078
10043
  }
10079
10044
  static {
10080
10045
  this.styles = [r`
@@ -10122,13 +10087,13 @@ var ss = class extends M {
10122
10087
  }
10123
10088
  connectedCallback() {
10124
10089
  super.connectedCallback();
10125
- let e = B(O(window, "online").pipe(k(() => !0)), O(window, "offline").pipe(k(() => !1))).pipe(U());
10126
- e.pipe(G((e) => this.updateBanner(e)), g(this.disconnecting)).subscribe(), e.pipe(Xt(1), G((e) => Ci.play(e ? "celebrated" : "disappointed")), g(this.disconnecting)).subscribe();
10090
+ let e = V(O(window, "online").pipe(k(() => !0)), O(window, "offline").pipe(k(() => !1))).pipe(W());
10091
+ e.pipe(K((e) => this.updateBanner(e)), g(this.disconnecting)).subscribe(), e.pipe(Yt(1), K((e) => Si.play(e ? "celebrated" : "disappointed")), g(this.disconnecting)).subscribe();
10127
10092
  }
10128
10093
  updateBanner(e) {
10129
10094
  let t = this.bannerRef.value, n = this.surfaceRef.value, r = this.iconRef.value, i = this.messageRef.value;
10130
- t && n && r && i && (e ? (n.setAttribute("type", "primary"), r.textContent = "🎉", r.className = "text-2xl icon-bounce", i.textContent = "Back online", t.classList.remove("exiting"), t.classList.add("visible"), D(1500).pipe(G(() => {
10131
- t.classList.add("exiting"), D(300).pipe(G(() => t.classList.remove("visible", "exiting")), g(this.disconnecting)).subscribe();
10095
+ t && n && r && i && (e ? (n.setAttribute("type", "primary"), r.textContent = "🎉", r.className = "text-2xl icon-bounce", i.textContent = "Back online", t.classList.remove("exiting"), t.classList.add("visible"), D(1500).pipe(K(() => {
10096
+ t.classList.add("exiting"), D(300).pipe(K(() => t.classList.remove("visible", "exiting")), g(this.disconnecting)).subscribe();
10132
10097
  }), g(this.disconnecting)).subscribe()) : (n.setAttribute("type", "error"), r.textContent = "🙀", r.className = "text-2xl icon-pulse", i.textContent = "You're offline", t.classList.remove("exiting"), t.classList.add("visible")));
10133
10098
  }
10134
10099
  render() {
@@ -10157,16 +10122,16 @@ var cs = function(e) {
10157
10122
  return e.NavDrawer_toggle = "SchmancytoggleSidebar", e.ContentDrawerToggle = "ContentDrawerToggle", e.ContentDrawerResize = "ContentDrawerResize", e;
10158
10123
  }({}), ls = new class {
10159
10124
  constructor() {
10160
- this.$drawer = new F(), this.pushCounter = 0, this.isDismissing$ = new R(!1), this.$drawer.pipe(Rt((e) => {
10125
+ this.$drawer = new F(), this.pushCounter = 0, this.isDismissing$ = new R(!1), this.$drawer.pipe(Lt((e) => {
10161
10126
  switch (e.action) {
10162
- case "dismiss": return pt(e).pipe(G(() => {
10127
+ case "dismiss": return B(e).pipe(K(() => {
10163
10128
  this.isDismissing$.next(!0), this.dispatchToggleEvent(e.ref, "close");
10164
- }), Vt(300), G(() => this.isDismissing$.next(!1)));
10165
- case "render": return pt(e).pipe(G(() => {
10129
+ }), Bt(300), K(() => this.isDismissing$.next(!1)));
10130
+ case "render": return B(e).pipe(K(() => {
10166
10131
  this.dispatchToggleEvent(e.ref, "open"), this.dispatchRenderEvent(e.ref, e.component, e.title);
10167
10132
  }));
10168
- case "push": return pt(e).pipe(G(() => this.handlePush(e.ref, e.component, e.state, e.params, e.props)));
10169
- default: return pt(null);
10133
+ case "push": return B(e).pipe(K(() => this.handlePush(e.ref, e.component, e.state, e.params, e.props)));
10134
+ default: return B(null);
10170
10135
  }
10171
10136
  })).subscribe();
10172
10137
  }
@@ -10219,7 +10184,7 @@ var cs = function(e) {
10219
10184
  });
10220
10185
  }
10221
10186
  }(), us = h("push"), ds = h("close"), fs = h(Math.floor(Math.random() * Date.now()).toString()), ps = h("100%"), ms = h({}), hs = new R([]), gs = hs.asObservable(), _s = !1, vs = "", ys = "";
10222
- hs.pipe(k((e) => e.some((e) => e.modal)), U()).subscribe((e) => {
10187
+ hs.pipe(k((e) => e.some((e) => e.modal)), W()).subscribe((e) => {
10223
10188
  typeof document < "u" && (e && !_s ? (vs = document.documentElement.style.overflow, ys = document.documentElement.style.getPropertyValue("scrollbar-gutter"), document.documentElement.style.overflow = "hidden", document.documentElement.style.setProperty("scrollbar-gutter", "stable"), _s = !0) : !e && _s && (document.documentElement.style.overflow = vs, ys ? document.documentElement.style.setProperty("scrollbar-gutter", ys) : document.documentElement.style.removeProperty("scrollbar-gutter"), vs = "", ys = "", _s = !1));
10224
10189
  });
10225
10190
  var bs = /* @__PURE__ */ new Set(), xs = /* @__PURE__ */ new Set();
@@ -10244,7 +10209,7 @@ function Es() {
10244
10209
  if (e && !(performance.now() - e.capturedAt > 750)) return e.event;
10245
10210
  }
10246
10211
  function Ds(e, t = {}) {
10247
- return Ot(() => {
10212
+ return Dt(() => {
10248
10213
  let n = {
10249
10214
  ...t,
10250
10215
  anchor: t.anchor ?? Es()
@@ -10265,9 +10230,9 @@ function Ds(e, t = {}) {
10265
10230
  hs.next([...hs.value, e]);
10266
10231
  }(i), r.modal && r.parentElement && Ss(c, r);
10267
10232
  let l = n.historyStrategy ?? "push";
10268
- l === "push" ? (history.pushState({ k: c }, "", location.href), a = !0) : l === "replace" && history.replaceState({ k: c }, "", location.href), a && O(window, "popstate").pipe(H(1), g(s)).subscribe(() => {
10233
+ l === "push" ? (history.pushState({ k: c }, "", location.href), a = !0) : l === "replace" && history.replaceState({ k: c }, "", location.href), a && O(window, "popstate").pipe(U(1), g(s)).subscribe(() => {
10269
10234
  o = !0, r?.close("popstate");
10270
- }), r.closed$.pipe(H(1), g(s)).subscribe(({ result: e }) => {
10235
+ }), r.closed$.pipe(U(1), g(s)).subscribe(({ result: e }) => {
10271
10236
  o = !0, t.next(e), t.complete();
10272
10237
  });
10273
10238
  } catch (e) {
@@ -10285,8 +10250,8 @@ function Ds(e, t = {}) {
10285
10250
  });
10286
10251
  }
10287
10252
  async function Os(e = {}) {
10288
- let { SchmancyOverlayPromptBody: t } = await import("./overlay.confirm-body-D3jQyXgA.js").then((e) => e.n);
10289
- return !0 === await ht(Ds(t, {
10253
+ let { SchmancyOverlayPromptBody: t } = await import("./overlay.confirm-body-mYm0zq4k.js").then((e) => e.n);
10254
+ return !0 === await mt(Ds(t, {
10290
10255
  anchor: e.anchor,
10291
10256
  signal: e.signal,
10292
10257
  props: {
@@ -10301,7 +10266,7 @@ async function Os(e = {}) {
10301
10266
  }).pipe(ce(!1)));
10302
10267
  }
10303
10268
  async function ks(e = {}) {
10304
- let { SchmancyOverlayPromptBody: t } = await import("./overlay.confirm-body-D3jQyXgA.js").then((e) => e.n), n = await ht(Ds(t, {
10269
+ let { SchmancyOverlayPromptBody: t } = await import("./overlay.confirm-body-mYm0zq4k.js").then((e) => e.n), n = await mt(Ds(t, {
10305
10270
  anchor: e.anchor,
10306
10271
  signal: e.signal,
10307
10272
  props: {
@@ -10331,15 +10296,15 @@ function As(e, t) {
10331
10296
  e && n.push(e);
10332
10297
  }
10333
10298
  return n;
10334
- }), U((e, t) => e.length === t.length && e.every((e, n) => e === t[n])));
10335
- }(e).pipe(U((e, t) => e.length === t.length && e.every((e, n) => e === t[n])), W((e) => e.length === 0 ? z : B(...e.map((e) => O(e, t)))), k((e) => e));
10299
+ }), W((e, t) => e.length === t.length && e.every((e, n) => e === t[n])));
10300
+ }(e).pipe(W((e, t) => e.length === t.length && e.every((e, n) => e === t[n])), G((e) => e.length === 0 ? z : V(...e.map((e) => O(e, t)))), k((e) => e));
10336
10301
  }
10337
10302
  function js() {
10338
10303
  let e = [...hs.value];
10339
10304
  for (let t = e.length - 1; t >= 0; t--) e[t].element.close("programmatic");
10340
10305
  hs.value.length > 0 && hs.next([]);
10341
10306
  }
10342
- typeof document < "u" && B(O(document, "pointerdown", {
10307
+ typeof document < "u" && V(O(document, "pointerdown", {
10343
10308
  capture: !0,
10344
10309
  passive: !0
10345
10310
  }).pipe(k((e) => ({
@@ -10351,7 +10316,7 @@ typeof document < "u" && B(O(document, "pointerdown", {
10351
10316
  }).pipe(k((e) => ({
10352
10317
  event: e,
10353
10318
  capturedAt: performance.now()
10354
- }))), O(document, "keydown", { capture: !0 }).pipe(V((e) => e.target instanceof Element), k((e) => {
10319
+ }))), O(document, "keydown", { capture: !0 }).pipe(H((e) => e.target instanceof Element), k((e) => {
10355
10320
  let t = e.target.getBoundingClientRect();
10356
10321
  return {
10357
10322
  event: new MouseEvent("click", {
@@ -10383,15 +10348,15 @@ var Ms = "schmancy-content-drawer-overlay-dismiss", Ns = class extends M {
10383
10348
  this.setupResizeListener(), this.setupToggleListener(), this.setupRenderListener();
10384
10349
  }
10385
10350
  setupResizeListener() {
10386
- B(O(window, "resize"), O(window, cs.ContentDrawerResize)).pipe(Zt(!0), zt(100), k(() => this.clientWidth || window.innerWidth), k((e) => e >= this.minWidth.main + this.minWidth.sheet), U(), G(() => this.updateMaxHeight()), g(this.disconnecting)).subscribe((e) => this.updateMode(e));
10351
+ V(O(window, "resize"), O(window, cs.ContentDrawerResize)).pipe(Xt(!0), Rt(100), k(() => this.clientWidth || window.innerWidth), k((e) => e >= this.minWidth.main + this.minWidth.sheet), W(), K(() => this.updateMaxHeight()), g(this.disconnecting)).subscribe((e) => this.updateMode(e));
10387
10352
  }
10388
10353
  setupToggleListener() {
10389
- O(window, cs.ContentDrawerToggle).pipe(G((e) => e.stopPropagation()), k((e) => e.detail.state), g(this.disconnecting)).subscribe((e) => {
10354
+ O(window, cs.ContentDrawerToggle).pipe(K((e) => e.stopPropagation()), k((e) => e.detail.state), g(this.disconnecting)).subscribe((e) => {
10390
10355
  this.open = e;
10391
10356
  });
10392
10357
  }
10393
10358
  setupRenderListener() {
10394
- O(window, "schmancy-content-drawer-render").pipe(G((e) => e.stopPropagation()), k((e) => e.detail), g(this.disconnecting)).subscribe((e) => this.handleRender(e)), O(this, Ms).pipe(g(this.disconnecting)).subscribe(() => this.dismissOverlay());
10359
+ O(window, "schmancy-content-drawer-render").pipe(K((e) => e.stopPropagation()), k((e) => e.detail), g(this.disconnecting)).subscribe((e) => this.handleRender(e)), O(this, Ms).pipe(g(this.disconnecting)).subscribe(() => this.dismissOverlay());
10395
10360
  }
10396
10361
  updateMaxHeight() {
10397
10362
  this.maxHeight = window.innerHeight - this.getOffsetTop(this) + "px", this.style.setProperty("max-height", this.maxHeight);
@@ -10400,7 +10365,7 @@ var Ms = "schmancy-content-drawer-overlay-dismiss", Ns = class extends M {
10400
10365
  e ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
10401
10366
  }
10402
10367
  handleRender(e) {
10403
- this.mode === "push" ? ln.push({
10368
+ this.mode === "push" ? cn.push({
10404
10369
  area: this.schmancyContentDrawerID,
10405
10370
  component: e.component,
10406
10371
  historyStrategy: "silent",
@@ -10433,7 +10398,7 @@ var Ms = "schmancy-content-drawer-overlay-dismiss", Ns = class extends M {
10433
10398
  ` : E;
10434
10399
  }
10435
10400
  };
10436
- x([rn({ context: ms })], Ns.prototype, "minWidth", void 0), x([rn({ context: ds }), j()], Ns.prototype, "open", void 0), x([rn({ context: us }), S()], Ns.prototype, "mode", void 0), x([rn({ context: fs })], Ns.prototype, "schmancyContentDrawerID", void 0), x([rn({ context: ps })], Ns.prototype, "maxHeight", void 0), x([u({ flatten: !0 })], Ns.prototype, "assignedElements", void 0), Ns = x([y("schmancy-content-drawer")], Ns);
10401
+ x([nn({ context: ms })], Ns.prototype, "minWidth", void 0), x([nn({ context: ds }), j()], Ns.prototype, "open", void 0), x([nn({ context: us }), S()], Ns.prototype, "mode", void 0), x([nn({ context: fs })], Ns.prototype, "schmancyContentDrawerID", void 0), x([nn({ context: ps })], Ns.prototype, "maxHeight", void 0), x([u({ flatten: !0 })], Ns.prototype, "assignedElements", void 0), Ns = x([y("schmancy-content-drawer")], Ns);
10437
10402
  var Ps = class extends M {
10438
10403
  static {
10439
10404
  this.styles = [r`
@@ -12155,7 +12120,7 @@ x([j({
12155
12120
  })], hc.prototype, "delay", void 0), x([j({ type: String })], hc.prototype, "motion", void 0), x([S()], hc.prototype, "rendered", void 0), x([f({
12156
12121
  context: mc,
12157
12122
  subscribe: !0
12158
- })], hc.prototype, "parentDelay", void 0), x([rn({ context: mc })], hc.prototype, "effectiveDelay", void 0), x([j({ type: Boolean })], hc.prototype, "once", void 0), x([u({ flatten: !0 })], hc.prototype, "assignedElements", void 0), hc = dc = x([y("schmancy-delay")], hc);
12123
+ })], hc.prototype, "parentDelay", void 0), x([nn({ context: mc })], hc.prototype, "effectiveDelay", void 0), x([j({ type: Boolean })], hc.prototype, "once", void 0), x([u({ flatten: !0 })], hc.prototype, "assignedElements", void 0), hc = dc = x([y("schmancy-delay")], hc);
12159
12124
  var gc = class extends de(M) {
12160
12125
  static {
12161
12126
  this.styles = [r`
@@ -12285,10 +12250,10 @@ var gc = class extends de(M) {
12285
12250
  this._open$.value !== e && this._open$.next(e);
12286
12251
  }
12287
12252
  constructor() {
12288
- super(), this.summary = "", this.indicatorPlacement = "end", this.hideIndicator = !1, this.indicatorRotate = 90, this.locked = !1, this.overlay = !1, this.summaryPadding = "p-3", this.contentPadding = "p-3", this._open$ = new R(!1), this._indicatorRef = K(), this._contentRef = K(), this._indicatorIsOpen = !1, this._closing = !1, this._nativeAnim = typeof CSS < "u" && !!CSS.supports?.("selector(::details-content)") && !!CSS.supports?.("interpolate-size", "allow-keywords"), this._hasOpened = !1, this.type = "solid", this.rounded = "all";
12253
+ super(), this.summary = "", this.indicatorPlacement = "end", this.hideIndicator = !1, this.indicatorRotate = 90, this.locked = !1, this.overlay = !1, this.summaryPadding = "p-3", this.contentPadding = "p-3", this._open$ = new R(!1), this._indicatorRef = Ci(), this._contentRef = Ci(), this._indicatorIsOpen = !1, this._closing = !1, this._nativeAnim = typeof CSS < "u" && !!CSS.supports?.("selector(::details-content)") && !!CSS.supports?.("interpolate-size", "allow-keywords"), this._hasOpened = !1, this.type = "solid", this.rounded = "all";
12289
12254
  }
12290
12255
  connectedCallback() {
12291
- super.connectedCallback(), this._open$.pipe(U(), G((e) => {
12256
+ super.connectedCallback(), this._open$.pipe(W(), K((e) => {
12292
12257
  e && !this._hasOpened && (this._hasOpened = !0), this._animateIndicator(e), this._updateIndicatorSlot();
12293
12258
  }), g(this.disconnecting)).subscribe(() => this.requestUpdate());
12294
12259
  }
@@ -12298,7 +12263,7 @@ var gc = class extends de(M) {
12298
12263
  render() {
12299
12264
  let e = this._open$.value, t = this.classMap({
12300
12265
  "w-full rounded-xl transition-shadow duration-200 ease-out": !0,
12301
- "overflow-hidden": !this.overlay,
12266
+ "overflow-visible": !this.overlay,
12302
12267
  "overflow-visible relative": this.overlay
12303
12268
  }), n = this.classMap({
12304
12269
  [this.summaryPadding]: !0,
@@ -12388,7 +12353,7 @@ var gc = class extends de(M) {
12388
12353
  _startClose() {
12389
12354
  this._closing = !0, this._closeSub?.unsubscribe(), this._contentRef.value?.setAttribute("data-open", "false"), this._animateIndicator(!1);
12390
12355
  let e = this._contentRef.value;
12391
- e && (this._closeSub = O(e, "transitionend").pipe(V((e) => e.propertyName === "grid-template-rows"), H(1), G(() => {
12356
+ e && (this._closeSub = O(e, "transitionend").pipe(H((e) => e.propertyName === "grid-template-rows"), U(1), K(() => {
12392
12357
  this._closing = !1, this.open = !1, this.dispatchScopedEvent("toggle", { open: !1 });
12393
12358
  }), g(this.disconnecting)).subscribe());
12394
12359
  }
@@ -12449,12 +12414,12 @@ function bc(e, t = 100) {
12449
12414
  function xc(...e) {
12450
12415
  return e.length === 0 ? new I((e) => {
12451
12416
  e.next(null), e.complete();
12452
- }) : Nt(...e.map((e) => bc(e)));
12417
+ }) : Mt(...e.map((e) => bc(e)));
12453
12418
  }
12454
12419
  function Sc(e, t = 150) {
12455
12420
  let n = `discover-${Date.now()}-${Math.random().toString(36).slice(2)}`;
12456
12421
  return new I((r) => {
12457
- let i = O(window, yc).pipe(g(D(t)), k((e) => e.detail), k((e) => e.requestId === n ? e.element : null), H(1), ce(null)).subscribe((e) => {
12422
+ let i = O(window, yc).pipe(g(D(t)), k((e) => e.detail), k((e) => e.requestId === n ? e.element : null), U(1), ce(null)).subscribe((e) => {
12458
12423
  r.next(e), r.complete();
12459
12424
  });
12460
12425
  return window.dispatchEvent(new CustomEvent(vc, {
@@ -13353,9 +13318,9 @@ var Bl = function(e) {
13353
13318
  super(...e), this.open = !1, this.placement = "bottom-start", this.distance = 8, this.portal = null, this.portalSubscriptions = [];
13354
13319
  }
13355
13320
  connectedCallback() {
13356
- super.connectedCallback(), this.setupPortal(), O(document, "click").pipe(V((e) => this.open && !this.isEventFromSelf(e)), g(this.disconnecting)).subscribe(() => {
13321
+ super.connectedCallback(), this.setupPortal(), O(document, "click").pipe(H((e) => this.open && !this.isEventFromSelf(e)), g(this.disconnecting)).subscribe(() => {
13357
13322
  this.open = !1;
13358
- }), O(document, "keydown").pipe(V((e) => this.open && e.key === "Escape"), g(this.disconnecting)).subscribe(() => {
13323
+ }), O(document, "keydown").pipe(H((e) => this.open && e.key === "Escape"), g(this.disconnecting)).subscribe(() => {
13359
13324
  this.open = !1;
13360
13325
  });
13361
13326
  }
@@ -13521,10 +13486,10 @@ var Jl = h("surface"), Yl = class extends de(M) {
13521
13486
  return N`<slot></slot>`;
13522
13487
  }
13523
13488
  };
13524
- x([rn({ context: Jl }), j({ reflect: !0 })], Yl.prototype, "type", void 0), Yl = x([y("schmancy-surface")], Yl);
13489
+ x([nn({ context: Jl }), j({ reflect: !0 })], Yl.prototype, "type", void 0), Yl = x([y("schmancy-surface")], Yl);
13525
13490
  var Xl = class extends de(M) {
13526
13491
  constructor(...e) {
13527
- super(...e), this.type = "solid", this.isOpen = !1, this.summaryRect = null, this._panelRef = K(), this._backdropRef = K(), this._btnRef = K(), this._owner = null, this._hideIndicator = !1, this._backdrop = !0;
13492
+ super(...e), this.type = "solid", this.isOpen = !1, this.summaryRect = null, this._panelRef = Ci(), this._backdropRef = Ci(), this._btnRef = Ci(), this._owner = null, this._hideIndicator = !1, this._backdrop = !0;
13528
13493
  }
13529
13494
  static {
13530
13495
  this.styles = [r`
@@ -13695,7 +13660,7 @@ var Xl = class extends de(M) {
13695
13660
  x([j({ reflect: !0 })], Xl.prototype, "type", void 0), x([S()], Xl.prototype, "isOpen", void 0), Xl = x([y("schmancy-expand-root")], Xl);
13696
13661
  var Zl = "schmancy-expand-request-close", Ql = class extends M {
13697
13662
  constructor(...e) {
13698
- super(...e), this.summary = "", this.open = !1, this.summaryPadding = "", this.contentPadding = "", this.hideIndicator = !1, this.indicatorRotate = 90, this.backdrop = !0, this.inline = !1, this._summaryRef = K(), this._contentSlotRef = K(), this._root = null, this._movedNodes = [];
13663
+ super(...e), this.summary = "", this.open = !1, this.summaryPadding = "", this.contentPadding = "", this.hideIndicator = !1, this.indicatorRotate = 90, this.backdrop = !0, this.inline = !1, this._summaryRef = Ci(), this._contentSlotRef = Ci(), this._root = null, this._movedNodes = [];
13699
13664
  }
13700
13665
  static {
13701
13666
  this.styles = [r`
@@ -13733,9 +13698,9 @@ var Zl = "schmancy-expand-request-close", Ql = class extends M {
13733
13698
  `];
13734
13699
  }
13735
13700
  connectedCallback() {
13736
- super.connectedCallback(), O(window, "keydown").pipe(V((e) => e.key === "Escape"), V(() => this.open), G(() => {
13701
+ super.connectedCallback(), O(window, "keydown").pipe(H((e) => e.key === "Escape"), H(() => this.open), K(() => {
13737
13702
  this._handleClose();
13738
- }), g(this.disconnecting)).subscribe(), O(document, "pointerdown").pipe(V(() => this.open), V((e) => !!this._root && !e.composedPath().includes(this._root)), G(() => {
13703
+ }), g(this.disconnecting)).subscribe(), O(document, "pointerdown").pipe(H(() => this.open), H((e) => !!this._root && !e.composedPath().includes(this._root)), K(() => {
13739
13704
  this._handleClose();
13740
13705
  }), g(this.disconnecting)).subscribe();
13741
13706
  }
@@ -13751,7 +13716,7 @@ var Zl = "schmancy-expand-request-close", Ql = class extends M {
13751
13716
  },
13752
13717
  error: i,
13753
13718
  complete: function() {
13754
- o ? e(a) : r ? e(n.defaultValue) : i(new mt());
13719
+ o ? e(a) : r ? e(n.defaultValue) : i(new pt());
13755
13720
  }
13756
13721
  });
13757
13722
  })) ?? document.querySelector("schmancy-theme") ?? document.body;
@@ -13991,10 +13956,10 @@ var ru, iu = class e {
13991
13956
  return t;
13992
13957
  }
13993
13958
  selectWindow(e) {
13994
- return this._state$.pipe(k((t) => t.windows.get(e)), U());
13959
+ return this._state$.pipe(k((t) => t.windows.get(e)), W());
13995
13960
  }
13996
13961
  selectFocused() {
13997
- return this._state$.pipe(k((e) => e.focusedId), U());
13962
+ return this._state$.pipe(k((e) => e.focusedId), W());
13998
13963
  }
13999
13964
  loadPosition(e) {
14000
13965
  try {
@@ -14050,7 +14015,7 @@ var su = 48, cu = class extends M {
14050
14015
  super(...e), this.id = "default", this.lowered = !1, this.corner = "bottom-right", this.resizable = !1, this.freePosition = !1, this.visualState = "normal", this.minWidth = 280, this.minHeight = 200, this.open = !1, this._hasOpened = !1, this._position = {
14051
14016
  x: 16,
14052
14017
  y: 16
14053
- }, this._currentCorner = "bottom-right", this._appliedCorner = "", this._containerRef = K(), this._bodyRef = K(), this._headRef = K(), this._handleFocus = () => iu.focus(this.id), this._handleHeadKeydown = (e) => {
14018
+ }, this._currentCorner = "bottom-right", this._appliedCorner = "", this._containerRef = Ci(), this._bodyRef = Ci(), this._headRef = Ci(), this._handleFocus = () => iu.focus(this.id), this._handleHeadKeydown = (e) => {
14054
14019
  if (e.key === "Enter" || e.key === " ") return e.preventDefault(), void this.toggle();
14055
14020
  if (e.key === "ArrowUp" || e.key === "ArrowDown" || e.key === "ArrowLeft" || e.key === "ArrowRight") {
14056
14021
  e.preventDefault();
@@ -14164,7 +14129,7 @@ var su = 48, cu = class extends M {
14164
14129
  duration: J.duration,
14165
14130
  easing: J.easingFallback,
14166
14131
  fill: "forwards"
14167
- }).finished).pipe(H(1), G(() => {
14132
+ }).finished).pipe(U(1), K(() => {
14168
14133
  t.isConnected && (t.style.translate = "");
14169
14134
  let e = t.getBoundingClientRect();
14170
14135
  iu.updateBounds(this.id, {
@@ -14173,13 +14138,13 @@ var su = 48, cu = class extends M {
14173
14138
  width: e.width,
14174
14139
  height: e.height
14175
14140
  });
14176
- }), Lt(() => z), g(this.disconnecting)).subscribe(), this._savePosition();
14141
+ }), It(() => z), g(this.disconnecting)).subscribe(), this._savePosition();
14177
14142
  }
14178
14143
  _drag$() {
14179
14144
  return new I(() => {
14180
14145
  let e = this._headRef.value, t = this._containerRef.value;
14181
14146
  if (!e || !t) return;
14182
- let n = !1, r = O(e, "pointerdown").pipe(V((e) => e.button === 0), V((e) => {
14147
+ let n = !1, r = O(e, "pointerdown").pipe(H((e) => e.button === 0), H((e) => {
14183
14148
  let t = e.target.tagName?.toLowerCase();
14184
14149
  return ![
14185
14150
  "input",
@@ -14187,7 +14152,7 @@ var su = 48, cu = class extends M {
14187
14152
  "select",
14188
14153
  "button"
14189
14154
  ].includes(t) && !e.target.closest("schmancy-input, schmancy-icon-button, button, a");
14190
- }), G((e) => {
14155
+ }), K((e) => {
14191
14156
  e.preventDefault(), e.stopPropagation();
14192
14157
  })).pipe(k((e) => {
14193
14158
  let r = t.getBoundingClientRect(), i = this._currentCorner.includes("bottom"), a = this.open;
@@ -14203,12 +14168,12 @@ var su = 48, cu = class extends M {
14203
14168
  wasOpen: a,
14204
14169
  pointerId: e.pointerId
14205
14170
  };
14206
- }), W(({ startX: e, startY: r, offsetX: i, offsetY: a, rect: o, vw: s, vh: c, isBottom: l, wasOpen: u, pointerId: d }) => {
14207
- let f = O(window, "pointermove").pipe(V((e) => e.pointerId === d), Ft(0, it), k((e) => ({
14171
+ }), G(({ startX: e, startY: r, offsetX: i, offsetY: a, rect: o, vw: s, vh: c, isBottom: l, wasOpen: u, pointerId: d }) => {
14172
+ let f = O(window, "pointermove").pipe(H((e) => e.pointerId === d), Pt(0, it), k((e) => ({
14208
14173
  clientX: e.clientX,
14209
14174
  clientY: e.clientY
14210
- }))), p = O(window, "pointerup").pipe(V((e) => e.pointerId === d));
14211
- return f.pipe(G(({ clientX: d, clientY: f }) => {
14175
+ }))), p = O(window, "pointerup").pipe(H((e) => e.pointerId === d));
14176
+ return f.pipe(K(({ clientX: d, clientY: f }) => {
14212
14177
  let p = d - e, m = f - r;
14213
14178
  if (Math.sqrt(p * p + m * m) > 5 && !n && (n = !0, this._applyDragVisuals(!0), u)) {
14214
14179
  this.open = !1, t.style.clipPath = this.closedClipPath, t.style.overflow = "hidden";
@@ -14221,7 +14186,7 @@ var su = 48, cu = class extends M {
14221
14186
  x: this._currentCorner.includes("right") ? s - h - o.width : h,
14222
14187
  y: l ? c - v - o.height : v
14223
14188
  }, this._applyContainerPosition();
14224
- }), g(p), Gt(() => {
14189
+ }), g(p), Wt(() => {
14225
14190
  n ? (this._reorientToNearestCorner(), this._applyDragVisuals(!1), n = !1) : (n = !1, this.toggle());
14226
14191
  }));
14227
14192
  })).subscribe();
@@ -14229,7 +14194,7 @@ var su = 48, cu = class extends M {
14229
14194
  });
14230
14195
  }
14231
14196
  connectedCallback() {
14232
- super.connectedCallback(), ft(this.updateComplete).pipe(H(1), G(() => {
14197
+ super.connectedCallback(), ft(this.updateComplete).pipe(U(1), K(() => {
14233
14198
  this._currentCorner = this.corner, this._loadPosition(), this._applyContainerPosition(), this._initDOMState();
14234
14199
  let e = this._containerRef.value;
14235
14200
  if (e) {
@@ -14241,11 +14206,11 @@ var su = 48, cu = class extends M {
14241
14206
  };
14242
14207
  iu.register(this.id, n, this.freePosition ? "free" : this._currentCorner);
14243
14208
  }
14244
- }), W(() => B(this._drag$(), iu.selectWindow(this.id).pipe(G((e) => {
14209
+ }), G(() => V(this._drag$(), iu.selectWindow(this.id).pipe(K((e) => {
14245
14210
  if (!e) return;
14246
14211
  let t = this._containerRef.value;
14247
14212
  t && (t.style.zIndex = String(e.zIndex));
14248
- })))), g(this.disconnecting)).subscribe(), B(O(window, "resize").pipe(Ft(0, it), G(() => this._validateBounds())), Sa.bottomOffset$.pipe(G(() => this._applyContainerPosition()))).pipe(g(this.disconnecting)).subscribe();
14213
+ })))), g(this.disconnecting)).subscribe(), V(O(window, "resize").pipe(Pt(0, it), K(() => this._validateBounds())), Sa.bottomOffset$.pipe(K(() => this._applyContainerPosition()))).pipe(g(this.disconnecting)).subscribe();
14249
14214
  }
14250
14215
  disconnectedCallback() {
14251
14216
  super.disconnectedCallback(), iu.unregister(this.id);
@@ -14290,9 +14255,9 @@ var su = 48, cu = class extends M {
14290
14255
  easing: Y.easingFallback,
14291
14256
  fill: "forwards"
14292
14257
  });
14293
- this._currentAnimation = o, ft(o.finished).pipe(H(1), G(() => {
14258
+ this._currentAnimation = o, ft(o.finished).pipe(U(1), K(() => {
14294
14259
  e.isConnected && (e.style.clipPath = "", e.style.overflow = "", e.style.willChange = "");
14295
- }), Lt(() => z), g(this.disconnecting)).subscribe(), this.dispatchScopedEvent("window-toggle", { state: "expanded" });
14260
+ }), It(() => z), g(this.disconnecting)).subscribe(), this.dispatchScopedEvent("window-toggle", { state: "expanded" });
14296
14261
  }
14297
14262
  _animateClose() {
14298
14263
  let e = this._containerRef.value;
@@ -14315,11 +14280,11 @@ var su = 48, cu = class extends M {
14315
14280
  easing: "cubic-bezier(0.4, 0, 0.8, 0.15)",
14316
14281
  fill: "forwards"
14317
14282
  });
14318
- this._currentAnimation = n, ft(n.finished).pipe(H(1), G(() => {
14283
+ this._currentAnimation = n, ft(n.finished).pipe(U(1), K(() => {
14319
14284
  this.open = !1, e.style.willChange = "";
14320
14285
  let t = this._bodyRef.value;
14321
14286
  t && (t.inert = !0, t.style.visibility = "hidden");
14322
- }), Lt(() => z), g(this.disconnecting)).subscribe(), this.dispatchScopedEvent("window-toggle", { state: "collapsed" });
14287
+ }), It(() => z), g(this.disconnecting)).subscribe(), this.dispatchScopedEvent("window-toggle", { state: "collapsed" });
14323
14288
  }
14324
14289
  _applyDragVisuals(e) {
14325
14290
  let t = this._headRef.value, n = this._containerRef.value;
@@ -14425,7 +14390,7 @@ x([j({ type: String })], cu.prototype, "id", void 0), x([j({ type: String })], c
14425
14390
  type: Boolean,
14426
14391
  reflect: !0
14427
14392
  })], cu.prototype, "open", void 0), x([S()], cu.prototype, "_hasOpened", void 0), x([S()], cu.prototype, "_currentCorner", void 0);
14428
- var lu = cu = ru = x([y("schmancy-window")], cu), uu = class extends lu {}, du = uu = x([y("schmancy-float")], uu), fu = fi("schmancy/form-submit").memory({
14393
+ var lu = cu = ru = x([y("schmancy-window")], cu), uu = class extends lu {}, du = uu = x([y("schmancy-float")], uu), fu = di("schmancy/form-submit").memory({
14429
14394
  status: "idle",
14430
14395
  error: null,
14431
14396
  submitCount: 0
@@ -14676,12 +14641,12 @@ var hu = mu = x([y("schmancy-form")], mu), gu = class extends M {
14676
14641
  }
14677
14642
  };
14678
14643
  x([j({ type: String })], gu.prototype, "heading", void 0), x([S()], gu.prototype, "_bump", void 0), gu = x([y("schmancy-form-summary")], gu);
14679
- var _u, vu = class extends he(Ee("/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */\n:host{width:100%;min-width:calc(var(--spacing,.25rem) * 0);box-sizing:border-box;max-width:100%;display:block}.date-input-container{width:100%;min-width:0;width:100%!important;max-width:100%!important}input{appearance:none;border-radius:8px;width:-webkit-fill-available;font-size:16px;transition:box-shadow .3s cubic-bezier(.34,1.56,.64,1),border-color .2s}input:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-secondary-default), 0 0 16px -4px var(--schmancy-sys-color-secondary-default)}@supports (color:color-mix(in lab, red, red)){input:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-secondary-default), 0 0 16px -4px color-mix(in srgb, var(--schmancy-sys-color-secondary-default) 20%, transparent)}}input[aria-invalid=true]{box-shadow:0 0 12px -4px var(--schmancy-sys-color-error-default)}@supports (color:color-mix(in lab, red, red)){input[aria-invalid=true]{box-shadow:0 0 12px -4px color-mix(in srgb, var(--schmancy-sys-color-error-default) 15%, transparent)}}input[aria-invalid=true]:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-error-default), 0 0 16px -4px var(--schmancy-sys-color-error-default)}@supports (color:color-mix(in lab, red, red)){input[aria-invalid=true]:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-error-default), 0 0 16px -4px color-mix(in srgb, var(--schmancy-sys-color-error-default) 25%, transparent)}}@media (prefers-reduced-motion:reduce){input{transition:none}}input[type=number]::-webkit-inner-spin-button{appearance:none;margin:calc(var(--spacing,.25rem) * 0)}input[type=number]::-webkit-outer-spin-button{appearance:none;margin:calc(var(--spacing,.25rem) * 0)}input[type=number]{appearance:textfield}input:-webkit-autofill{animation-name:onAutoFillStart;-webkit-box-shadow:0 0 0 30px var(--schmancy-sys-color-surface-highest) inset!important;-webkit-text-fill-color:var(--schmancy-sys-color-surface-on)!important}input:autofill{background-color:var(--schmancy-sys-color-surface-highest)!important;color:var(--schmancy-sys-color-surface-on)!important}input[type=date],input[type=datetime-local],input[type=time],input[type=month],input[type=week]{appearance:none;width:100%;line-height:inherit;border-radius:8px;min-width:100%;max-width:100%;margin:0;display:block;overflow:hidden;border-radius:8px!important;width:100%!important}input::-webkit-datetime-edit{align-items:center;width:100%;height:100%;margin:0;padding:0;display:flex}input::-webkit-datetime-edit-fields-wrapper{align-items:center;width:100%;height:100%;margin:0;padding:0;display:flex}input::-webkit-datetime-edit{flex:1;width:100%}input::-webkit-datetime-edit-fields-wrapper{flex:1;justify-content:space-between;width:100%}input::-webkit-datetime-edit-text{align-items:center;display:flex}input::-webkit-datetime-edit-day-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-month-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-year-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-hour-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-minute-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-second-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-millisecond-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-meridiem-field{flex-shrink:0;padding:0 2px}input[type=date]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=datetime-local]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=time]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=month]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=week]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}@-moz-document url-prefix(){input[type=date],input[type=datetime-local],input[type=time]{min-height:inherit}}@supports (-webkit-touch-callout:none){input[type=date],input[type=datetime-local],input[type=time],input[type=month],input[type=week]{appearance:none;border-radius:0;width:-webkit-fill-available!important;width:fill-available!important;padding-left:12px!important;padding-right:12px!important}input::-webkit-datetime-edit{width:100%!important;padding-left:0!important;padding-right:0!important}input::-webkit-datetime-edit-fields-wrapper{width:100%!important;margin:0!important;padding:0!important}}")) {
14644
+ var _u, vu = class extends he(Ee("/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */\n:host{width:100%;min-width:calc(var(--spacing,.25rem) * 0);box-sizing:border-box;max-width:100%;display:block}.date-input-container{width:100%;min-width:0;width:100%!important;max-width:100%!important}input{appearance:none;border-radius:8px;width:-webkit-fill-available;font-size:16px;transition:box-shadow .3s cubic-bezier(.34,1.56,.64,1),border-color .2s}input:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-secondary-default), 0 0 16px -4px var(--schmancy-sys-color-secondary-default)}@supports (color:color-mix(in lab, red, red)){input:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-secondary-default), 0 0 16px -4px color-mix(in srgb, var(--schmancy-sys-color-secondary-default) 20%, transparent)}}input[aria-invalid=true]{box-shadow:0 0 12px -4px var(--schmancy-sys-color-error-default)}@supports (color:color-mix(in lab, red, red)){input[aria-invalid=true]{box-shadow:0 0 12px -4px color-mix(in srgb, var(--schmancy-sys-color-error-default) 15%, transparent)}}input[aria-invalid=true]:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-error-default), 0 0 16px -4px var(--schmancy-sys-color-error-default)}@supports (color:color-mix(in lab, red, red)){input[aria-invalid=true]:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-error-default), 0 0 16px -4px color-mix(in srgb, var(--schmancy-sys-color-error-default) 25%, transparent)}}@media (prefers-reduced-motion:reduce){input{transition:none}}input[type=number]::-webkit-inner-spin-button{appearance:none;margin:calc(var(--spacing,.25rem) * 0)}input[type=number]::-webkit-outer-spin-button{appearance:none;margin:calc(var(--spacing,.25rem) * 0)}input[type=number]{appearance:textfield}input:-webkit-autofill{animation-name:onAutoFillStart;-webkit-box-shadow:0 0 0 30px var(--schmancy-sys-color-surface-highest) inset!important;-webkit-text-fill-color:var(--schmancy-sys-color-surface-on)!important}input:autofill{background-color:var(--schmancy-sys-color-surface-highest)!important;color:var(--schmancy-sys-color-surface-on)!important}input[type=date],input[type=datetime-local],input[type=time],input[type=month],input[type=week]{appearance:none;width:100%;line-height:inherit;border-radius:8px;min-width:100%;max-width:100%;margin:0;display:block;overflow:hidden;border-radius:8px!important;width:100%!important}input::-webkit-datetime-edit{align-items:center;width:100%;height:100%;margin:0;padding:0;display:flex}input::-webkit-datetime-edit-fields-wrapper{align-items:center;width:100%;height:100%;margin:0;padding:0;display:flex}input::-webkit-datetime-edit{flex:1;width:100%}input::-webkit-datetime-edit-fields-wrapper{flex:1;justify-content:space-between;width:100%}input::-webkit-datetime-edit-text{align-items:center;display:flex}input::-webkit-datetime-edit-day-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-month-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-year-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-hour-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-minute-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-second-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-millisecond-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-meridiem-field{flex-shrink:0;padding:0 2px}input[type=date]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=datetime-local]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=time]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=month]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=week]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}@-moz-document url-prefix(){input[type=date],input[type=datetime-local],input[type=time]{min-height:inherit}}@supports (-webkit-touch-callout:none){input[type=date],input[type=datetime-local],input[type=time],input[type=month],input[type=week]{appearance:none;border-radius:0;width:-webkit-fill-available!important;width:fill-available!important;padding-left:12px!important;padding-right:12px!important}input::-webkit-datetime-edit{width:100%!important;padding-left:0!important;padding-right:0!important}input::-webkit-datetime-edit-fields-wrapper{width:100%!important;margin:0!important;padding:0!important}}")) {
14680
14645
  static {
14681
14646
  _u = this;
14682
14647
  }
14683
14648
  constructor(...e) {
14684
- super(...e), this.value = "", this.type = "text", this.placeholder = "", this.clickable = !1, this.spellcheck = !1, this.align = "left", this.step = "any", this.autofocus = !1, this.autocomplete = "on", this.tabIndex = 0, this.size = "md", this.inputRef = K(), this.isAutofilled = !1;
14649
+ super(...e), this.value = "", this.type = "text", this.placeholder = "", this.clickable = !1, this.spellcheck = !1, this.align = "left", this.step = "any", this.autofocus = !1, this.autocomplete = "on", this.tabIndex = 0, this.size = "md", this.inputRef = Ci(), this.isAutofilled = !1;
14685
14650
  }
14686
14651
  static {
14687
14652
  this._idCounter = 0;
@@ -14799,7 +14764,7 @@ var _u, vu = class extends he(Ee("/*! tailwindcss v4.2.4 | MIT License | https:/
14799
14764
  data: { value: e.data },
14800
14765
  isComposing: { value: e.isComposing }
14801
14766
  }), this.dispatchEvent(t);
14802
- }), O(this.inputElement, "change").pipe(k((e) => (e.stopPropagation(), e.target.value)), U(), g(this.disconnecting)).subscribe((e) => {
14767
+ }), O(this.inputElement, "change").pipe(k((e) => (e.stopPropagation(), e.target.value)), W(), g(this.disconnecting)).subscribe((e) => {
14803
14768
  this.value = e, this.emitChange({ value: e });
14804
14769
  });
14805
14770
  }
@@ -14822,19 +14787,19 @@ var _u, vu = class extends he(Ee("/*! tailwindcss v4.2.4 | MIT License | https:/
14822
14787
  });
14823
14788
  }
14824
14789
  setupAutofillDetection() {
14825
- O(this.inputElement, "animationstart").pipe(V((e) => e.animationName === "onAutoFillStart"), g(this.disconnecting)).subscribe((e) => {
14790
+ O(this.inputElement, "animationstart").pipe(H((e) => e.animationName === "onAutoFillStart"), g(this.disconnecting)).subscribe((e) => {
14826
14791
  let { value: t } = e.target;
14827
14792
  this.value = t, this.isAutofilled = !0, this.dispatchEvent(new CustomEvent("autofill", {
14828
14793
  detail: { value: t },
14829
14794
  bubbles: !0,
14830
14795
  composed: !0
14831
14796
  })), this.emitChange({ value: t });
14832
- }), O(this.inputElement, "animationstart").pipe(V((e) => e.animationName === "onAutoFillCancel"), g(this.disconnecting)).subscribe(() => {
14797
+ }), O(this.inputElement, "animationstart").pipe(H((e) => e.animationName === "onAutoFillCancel"), g(this.disconnecting)).subscribe(() => {
14833
14798
  this.isAutofilled = !1;
14834
14799
  });
14835
14800
  }
14836
14801
  setupEnterKeyEvents() {
14837
- O(this.inputElement, "keydown").pipe(V((e) => e.key === "Enter"), g(this.disconnecting)).subscribe((e) => {
14802
+ O(this.inputElement, "keydown").pipe(H((e) => e.key === "Enter"), g(this.disconnecting)).subscribe((e) => {
14838
14803
  let { value: t } = e.target;
14839
14804
  this.value !== t && (this.value = t), this.inputElement.blur();
14840
14805
  let n = new CustomEvent("enter", {
@@ -15032,97 +14997,60 @@ var yu = vu = _u = x([y("schmancy-input")], vu), bu = class extends vu {};
15032
14997
  bu = x([y("sch-input")], bu);
15033
14998
  var xu = class extends Re(M) {
15034
14999
  constructor(...e) {
15035
- super(...e), this.label = "", this.name = "", this.value = "", this.options = [], this.required = !1, this.selection$ = new F();
15000
+ super(...e), this.label = "", this.name = "", this.value = "", this.required = !1;
15036
15001
  }
15037
15002
  static {
15038
15003
  this.styles = [Ee(":host{display:inherit;position:inherit}")];
15039
15004
  }
15040
15005
  connectedCallback() {
15041
- super.connectedCallback(), this.selection$.pipe(g(this.disconnecting)).subscribe((e) => {
15042
- this.value = e, this.emitChange({ value: e }), this.updateChildRadioButtons();
15043
- }), O(this, "radio-button-click").pipe(g(this.disconnecting)).subscribe((e) => {
15044
- this.selection$.next(e.detail.value);
15006
+ super.connectedCallback(), O(this, "radio-button-click").pipe(g(this.disconnecting)).subscribe((e) => {
15007
+ this.value = e.detail.value, this.emitChange({ value: e.detail.value }), this._syncChildren();
15045
15008
  });
15046
15009
  }
15047
- disconnectedCallback() {
15048
- super.disconnectedCallback(), this.selection$?.complete();
15049
- }
15050
- handleSelection(e) {
15051
- this.selection$.next(e);
15010
+ updated(e) {
15011
+ super.updated(e), e.has("value") && this._syncChildren();
15052
15012
  }
15053
- updateChildRadioButtons() {
15013
+ _syncChildren() {
15054
15014
  this.querySelectorAll("schmancy-radio-button").forEach((e) => {
15055
- e.getAttribute("value") === this.value ? e.setAttribute("checked", "") : e.removeAttribute("checked");
15015
+ e.checked = e.value === this.value;
15056
15016
  });
15057
15017
  }
15058
- updated(e) {
15059
- super.updated(e), e.has("value") && this.updateChildRadioButtons();
15060
- }
15061
15018
  render() {
15062
- let e = this.childElementCount > 0;
15063
15019
  return N`
15064
- <div class="grid gap-4">
15065
- ${P(this.label, () => N` <label class="text-base font-semibold text-surface-on">${this.label}</label> `)}
15066
-
15067
- ${e ? N`<slot></slot>` : this.options?.map((e) => N`
15068
- <div class="flex items-center">
15069
- <input
15070
- .required=${this.required}
15071
- id=${e.value}
15072
- class="h-4 w-4 border-outline text-primary-default focus:ring-primary-default"
15073
- type="radio"
15074
- name=${this.name}
15075
- .value=${e.value}
15076
- .checked=${e.value === this.value}
15077
- @change=${() => this.handleSelection(e.value)}
15078
- />
15079
- <label for=${e.value} class="ml-3 block text-sm font-medium leading-6 text-surface-on">
15080
- ${e.label || e.value}
15081
- </label>
15082
- </div>
15083
- `)}
15020
+ <div role="radiogroup" aria-label=${this.label} aria-required=${this.required} class="grid gap-2">
15021
+ ${P(this.label, () => N`<schmancy-typography type="label" token="lg">${this.label}</schmancy-typography>`)}
15022
+ <slot></slot>
15084
15023
  </div>
15085
15024
  `;
15086
15025
  }
15087
15026
  };
15088
- x([j({ type: String })], xu.prototype, "label", void 0), x([j({ type: String })], xu.prototype, "name", void 0), x([j({ type: String })], xu.prototype, "value", void 0), x([j({ type: Array })], xu.prototype, "options", void 0), x([j({ type: Boolean })], xu.prototype, "required", void 0), xu = x([y("schmancy-radio-group")], xu);
15089
- var Su = class extends Re(M) {
15027
+ x([j({ type: String })], xu.prototype, "label", void 0), x([j({ type: String })], xu.prototype, "name", void 0), x([j({ type: String })], xu.prototype, "value", void 0), x([j({ type: Boolean })], xu.prototype, "required", void 0), xu = x([y("schmancy-radio-group")], xu);
15028
+ var Su = class extends M {
15090
15029
  constructor(...e) {
15091
- super(...e), this.value = "", this.checked = !1, this.disabled = !1, this.name = "";
15092
- }
15093
- connectedCallback() {
15094
- super.connectedCallback(), O(this, "click").pipe(g(this.disconnecting)).subscribe(this.handleClick);
15095
- }
15096
- disconnectedCallback() {
15097
- super.disconnectedCallback();
15098
- }
15099
- handleClick() {
15100
- if (!this.disabled) if (this.closest("schmancy-radio-group")) {
15101
- let e = new CustomEvent("radio-button-click", {
15030
+ super(...e), this.value = "", this.checked = !1, this.disabled = !1, this.name = "", this._handleClick = () => {
15031
+ this.disabled || this.dispatchEvent(new CustomEvent("radio-button-click", {
15102
15032
  detail: { value: this.value },
15103
15033
  bubbles: !0,
15104
15034
  composed: !0
15105
- });
15106
- this.dispatchEvent(e);
15107
- } else this.checked = !0, this.emitChange({ value: this.value });
15035
+ }));
15036
+ };
15037
+ }
15038
+ connectedCallback() {
15039
+ super.connectedCallback(), O(this, "click").pipe(g(this.disconnecting)).subscribe(this._handleClick);
15108
15040
  }
15109
15041
  render() {
15110
15042
  return N`
15111
- <label class="relative flex items-start cursor-pointer">
15112
- <div class="flex items-center h-6">
15113
- <input
15114
- type="radio"
15115
- class="h-4 w-4 text-primary-default focus:ring-primary-container border-outline"
15116
- .value=${this.value}
15117
- .checked=${this.checked}
15118
- .disabled=${this.disabled}
15119
- .name=${this.name}
15120
- @change=${() => {}}
15121
- />
15122
- </div>
15123
- <div class="ml-3">
15124
- <slot name="label"></slot>
15125
- </div>
15043
+ <label class="flex items-center gap-3 cursor-pointer">
15044
+ <input
15045
+ type="radio"
15046
+ class="h-4 w-4 text-primary-default focus:ring-primary-container border-outline"
15047
+ .value=${this.value}
15048
+ .checked=${this.checked}
15049
+ .disabled=${this.disabled}
15050
+ .name=${this.name}
15051
+ @change=${() => {}}
15052
+ />
15053
+ <slot></slot>
15126
15054
  </label>
15127
15055
  `;
15128
15056
  }
@@ -15542,10 +15470,10 @@ var Q = {
15542
15470
  `];
15543
15471
  }
15544
15472
  get value() {
15545
- return this.multi ? this._selectedValues$.value : this._selectedValue$.value;
15473
+ return this.multi ? this._selectedValues$?.value ?? [] : this._selectedValue$?.value ?? "";
15546
15474
  }
15547
15475
  set value(e) {
15548
- if (this.multi) {
15476
+ if (this._selectedValue$ && this._selectedValues$) if (this.multi) {
15549
15477
  let t = Array.isArray(e) ? e : e ? String(e).split(",").map((e) => e.trim()).filter(Boolean) : [];
15550
15478
  this._selectedValues$.next(t);
15551
15479
  } else this._selectedValue$.next(e == null ? "" : String(e));
@@ -15634,7 +15562,7 @@ var Q = {
15634
15562
  e && (e.removeAttribute("aria-activedescendant"), e?.focus()), this._userInteracted && this._shouldShowError() && this.checkValidity();
15635
15563
  }
15636
15564
  _setupReactivePipelines() {
15637
- O(this, "option-select").pipe(G((e) => {
15565
+ O(this, "option-select").pipe(K((e) => {
15638
15566
  e.stopPropagation();
15639
15567
  let t = this.options.find((t) => t.value === e.detail.value);
15640
15568
  t && this._optionSelect$.next(t);
@@ -15655,23 +15583,23 @@ var Q = {
15655
15583
  }
15656
15584
  }));
15657
15585
  });
15658
- }(this._selectedValue$, this._selectedValues$), G(([e, t, n]) => {
15586
+ }(this._selectedValue$, this._selectedValues$), K(([e, t, n]) => {
15659
15587
  if (this._userInteracted = !0, this.markTouched(), this.multi) {
15660
15588
  let t = n.indexOf(e.value), r = t > -1 ? [...n.slice(0, t), ...n.slice(t + 1)] : [...n, e.value];
15661
15589
  this._selectedValues$.next(r), this.internals?.setFormValue(r.join(",")), this.valueLabel = r.length > 0 ? this.options.filter((e) => r.includes(e.value)).map((e) => e.label || e.textContent || "").join(", ") : this.placeholder;
15662
15590
  } else this._selectedValue$.next(e.value), this.internals?.setFormValue(e.value), this.valueLabel = e.label || e.textContent || this.placeholder, this.closeDropdown();
15663
15591
  this.setupOptionsAccessibility(), this._fireChangeEvent();
15664
- }), g(this.disconnecting)).subscribe(), this._options$.pipe(G((e) => {
15592
+ }), g(this.disconnecting)).subscribe(), this._options$.pipe(K((e) => {
15665
15593
  e.forEach((e, t) => {
15666
- e.setAttribute("role", "option"), e.tabIndex = -1, e.id ||= `${this.id}-option-${t}`, e.hasAttribute("data-event-bound") || (O(e, "click").pipe(G((e) => {
15594
+ e.setAttribute("role", "option"), e.tabIndex = -1, e.id ||= `${this.id}-option-${t}`, e.hasAttribute("data-event-bound") || (O(e, "click").pipe(K((e) => {
15667
15595
  e.stopPropagation();
15668
15596
  }), g(this.disconnecting)).subscribe(() => this._optionSelect$.next(e)), e.setAttribute("data-event-bound", "true"));
15669
15597
  });
15670
- }), g(this.disconnecting)).subscribe(), wt([
15598
+ }), g(this.disconnecting)).subscribe(), Ct([
15671
15599
  this._selectedValue$,
15672
15600
  this._selectedValues$,
15673
15601
  this._options$
15674
- ]).pipe(G(([e, t, n]) => {
15602
+ ]).pipe(K(([e, t, n]) => {
15675
15603
  n.length !== 0 && (this.multi ? n.forEach((e) => {
15676
15604
  e.selected = t.includes(e.value);
15677
15605
  }) : n.forEach((t) => {
@@ -15898,7 +15826,7 @@ x([j({
15898
15826
  })], Tu.prototype, "checked", void 0), Tu = x([y("schmancy-switch")], Tu);
15899
15827
  var Eu, Du = class extends he(Ee(":host{width:-webkit-fill-available;display:block;border:unset!important;line-height:unset!important;background:unset!important;padding:unset!important;font-size:unset!important;box-shadow:unset!important}:host([fillHeight]){flex-direction:column;height:100%;display:flex}:host:focus{box-shadow:unset!important}textarea:focus-visible{outline:none!important}textarea{font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;text-indent:inherit;text-shadow:inherit;text-overflow:inherit;text-rendering:inherit;text-size-adjust:inherit;text-align-last:inherit;overflow-y:auto}@keyframes onAutoFillStart{}textarea:-webkit-autofill{animation-name:onAutoFillStart}")) {
15900
15828
  constructor(...e) {
15901
- super(...e), this.textareaRef = K(), this._a11yId = `schmancy-textarea-${Math.random().toString(36).slice(2, 10)}`, this.placeholder = "", this.value = "", this.cols = 20, this.fillHeight = !1, this.autoHeight = !0, this.resize = "vertical", this.wrap = "soft", this.spellcheck = !1, this.align = "left", this.tabIndex = 0;
15829
+ super(...e), this.textareaRef = Ci(), this._a11yId = `schmancy-textarea-${Math.random().toString(36).slice(2, 10)}`, this.placeholder = "", this.value = "", this.cols = 20, this.fillHeight = !1, this.autoHeight = !0, this.resize = "vertical", this.wrap = "soft", this.spellcheck = !1, this.align = "left", this.tabIndex = 0;
15902
15830
  }
15903
15831
  static {
15904
15832
  this.shadowRootOptions = {
@@ -15910,19 +15838,19 @@ var Eu, Du = class extends he(Ee(":host{width:-webkit-fill-available;display:blo
15910
15838
  super.willUpdate(e), (e.has("required") || e.has("value")) && this.required && !this.value && this.internals?.setValidity({ valueMissing: !0 }, "Please fill out this field.");
15911
15839
  }
15912
15840
  firstUpdated() {
15913
- this.autofocus && this.focus(), this.autoHeight && D(0).pipe(g(this.disconnecting)).subscribe(() => this.adjustHeight()), O(this.textareaElement, "input").pipe(k((e) => e.target.value), U(), g(this.disconnecting)).subscribe((e) => {
15841
+ this.autofocus && this.focus(), this.autoHeight && D(0).pipe(g(this.disconnecting)).subscribe(() => this.adjustHeight()), O(this.textareaElement, "input").pipe(k((e) => e.target.value), W(), g(this.disconnecting)).subscribe((e) => {
15914
15842
  this.value = e, this.autoHeight && this.adjustHeight(), this.dispatchEvent(new CustomEvent("change", {
15915
15843
  detail: { value: e },
15916
15844
  bubbles: !0,
15917
15845
  composed: !0
15918
15846
  }));
15919
- }), O(this.textareaElement, "change").pipe(k((e) => e.target.value), U(), g(this.disconnecting)).subscribe((e) => {
15847
+ }), O(this.textareaElement, "change").pipe(k((e) => e.target.value), W(), g(this.disconnecting)).subscribe((e) => {
15920
15848
  this.value = e, this.autoHeight && this.adjustHeight(), this.dispatchEvent(new CustomEvent("change", {
15921
15849
  detail: { value: e },
15922
15850
  bubbles: !0,
15923
15851
  composed: !0
15924
15852
  }));
15925
- }), O(this.textareaElement, "keyup").pipe(V((e) => e.key === "Enter"), k((e) => e.target.value), U(), g(this.disconnecting)).subscribe((e) => {
15853
+ }), O(this.textareaElement, "keyup").pipe(H((e) => e.key === "Enter"), k((e) => e.target.value), W(), g(this.disconnecting)).subscribe((e) => {
15926
15854
  this.value = e, this.dispatchEvent(new CustomEvent("change", {
15927
15855
  detail: { value: e },
15928
15856
  bubbles: !0,
@@ -16173,12 +16101,12 @@ var Ou = class extends M {
16173
16101
  childList: !0,
16174
16102
  characterData: !0,
16175
16103
  subtree: !0
16176
- }), Eu.loadFonts(), this.setAttribute("translate", "no"), this.classList.add("notranslate"), this.hasAttribute("aria-label") || this.hasAttribute("aria-labelledby") || this.hasAttribute("aria-hidden") || this.hasAttribute("role") || this.setAttribute("aria-hidden", "true"), wt([
16104
+ }), Eu.loadFonts(), this.setAttribute("translate", "no"), this.classList.add("notranslate"), this.hasAttribute("aria-label") || this.hasAttribute("aria-labelledby") || this.hasAttribute("aria-hidden") || this.hasAttribute("role") || this.setAttribute("aria-hidden", "true"), Ct([
16177
16105
  this.fill$,
16178
16106
  this.weight$,
16179
16107
  this.grade$,
16180
16108
  this.variant$
16181
- ]).pipe(G(([e, t, n, r]) => {
16109
+ ]).pipe(K(([e, t, n, r]) => {
16182
16110
  this.style.setProperty("--schmancy-icon-fill", String(e)), this.style.setProperty("--schmancy-icon-weight", String(t)), this.style.setProperty("--schmancy-icon-grade", String(n));
16183
16111
  let i = {
16184
16112
  outlined: "Material Symbols Outlined",
@@ -16237,7 +16165,7 @@ x([j({
16237
16165
  }), S()], Ou.prototype, "_buttonSize", void 0), x([j({ type: String })], Ou.prototype, "icon", void 0), x([S()], Ou.prototype, "_capturedIcon", void 0), Ou = Eu = x([y("schmancy-icon")], Ou);
16238
16166
  var ku = class extends M {
16239
16167
  constructor(...e) {
16240
- super(...e), this.html = "", this.css = "", this.baseCss = "html,body{margin:0;padding:0;overflow:hidden;background:#fff;color:#1a1a1a;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:14px;line-height:1.6;word-wrap:break-word;overflow-wrap:break-word}\nbody{padding:16px}\np{margin:0 0 1em}p:last-child{margin-bottom:0}\nul,ol{margin:0 0 1em;padding-left:1.5em}li{margin-bottom:.25em}\nh1,h2,h3,h4{margin:0 0 .5em;line-height:1.3}h1{font-size:1.5em}h2{font-size:1.25em}h3{font-size:1.1em}h4{font-size:1em}\nhr{border:none;border-top:1px solid #dadce0;margin:1em 0}\nimg{max-width:100%;height:auto}\ntable{border-collapse:collapse;max-width:100%}td,th{padding:4px 8px;border:1px solid #dadce0}\nblockquote{margin:0 0 1em;padding:.5em 0 .5em 1em;border-left:3px solid #dadce0;color:#5f6368}\npre{background:#f5f5f5;padding:.75em;border-radius:4px;overflow-x:auto;font-size:.9em}\ncode{background:#f5f5f5;padding:.1em .3em;border-radius:3px;font-size:.9em}", this.sandbox = "allow-same-origin allow-popups", this.minHeight = 60, this._height = 60, this._srcdoc = "", this._iframeRef = K();
16168
+ super(...e), this.html = "", this.css = "", this.baseCss = "html,body{margin:0;padding:0;overflow:hidden;background:#fff;color:#1a1a1a;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:14px;line-height:1.6;word-wrap:break-word;overflow-wrap:break-word}\nbody{padding:16px}\np{margin:0 0 1em}p:last-child{margin-bottom:0}\nul,ol{margin:0 0 1em;padding-left:1.5em}li{margin-bottom:.25em}\nh1,h2,h3,h4{margin:0 0 .5em;line-height:1.3}h1{font-size:1.5em}h2{font-size:1.25em}h3{font-size:1.1em}h4{font-size:1em}\nhr{border:none;border-top:1px solid #dadce0;margin:1em 0}\nimg{max-width:100%;height:auto}\ntable{border-collapse:collapse;max-width:100%}td,th{padding:4px 8px;border:1px solid #dadce0}\nblockquote{margin:0 0 1em;padding:.5em 0 .5em 1em;border-left:3px solid #dadce0;color:#5f6368}\npre{background:#f5f5f5;padding:.75em;border-radius:4px;overflow-x:auto;font-size:.9em}\ncode{background:#f5f5f5;padding:.1em .3em;border-radius:3px;font-size:.9em}", this.sandbox = "allow-same-origin allow-popups", this.minHeight = 60, this._height = 60, this._srcdoc = "", this._iframeRef = Ci();
16241
16169
  }
16242
16170
  static {
16243
16171
  this.styles = [r`
@@ -16470,21 +16398,21 @@ var Pu = class extends M {
16470
16398
  }).finished;
16471
16399
  }
16472
16400
  setupAutoClose() {
16473
- this.duration <= 0 || (this.startTime = Date.now(), this.elapsedBeforePause = 0, this.paused$.pipe(W((e) => {
16474
- if (e) return this.pausedAt = Date.now(), this.elapsedBeforePause += this.pausedAt - this.startTime, At;
16401
+ this.duration <= 0 || (this.startTime = Date.now(), this.elapsedBeforePause = 0, this.paused$.pipe(G((e) => {
16402
+ if (e) return this.pausedAt = Date.now(), this.elapsedBeforePause += this.pausedAt - this.startTime, kt;
16475
16403
  {
16476
16404
  this.startTime = Date.now();
16477
16405
  let e = this.duration - this.elapsedBeforePause;
16478
- return e <= 0 ? (this.close(), At) : D(e);
16406
+ return e <= 0 ? (this.close(), kt) : D(e);
16479
16407
  }
16480
16408
  }), g(this.disconnecting)).subscribe(() => this.close()));
16481
16409
  }
16482
16410
  setupProgressUpdates() {
16483
- this.duration <= 0 || kt(16).pipe(W(() => this.paused$.pipe(k((e) => {
16411
+ this.duration <= 0 || Ot(16).pipe(G(() => this.paused$.pipe(k((e) => {
16484
16412
  if (e) return this._progress;
16485
16413
  let t = this.elapsedBeforePause + (Date.now() - this.startTime);
16486
16414
  return Math.max(0, this.duration - t) / this.duration * 100;
16487
- }))), U(), G((e) => {
16415
+ }))), W(), K((e) => {
16488
16416
  this._progress = e;
16489
16417
  }), g(this.disconnecting)).subscribe();
16490
16418
  }
@@ -16588,7 +16516,7 @@ var Ru = null, zu = class e {
16588
16516
  };
16589
16517
  }
16590
16518
  constructor() {
16591
- this.notificationStack = [], this.audioVolume = .1, Ci.setVolume(this.audioVolume);
16519
+ this.notificationStack = [], this.audioVolume = .1, Si.setVolume(this.audioVolume);
16592
16520
  }
16593
16521
  static getInstance() {
16594
16522
  return e.instance ||= new e(), e.instance;
@@ -16601,7 +16529,7 @@ var Ru = null, zu = class e {
16601
16529
  }, r = n.id || `notification-${Date.now()}-${Math.floor(1e4 * Math.random())}`;
16602
16530
  this.notificationStack.push(r), Ru &&= (Ru.remove(), null);
16603
16531
  let i = document.createElement("sch-notification");
16604
- return i.id = r, i.title = n.title || "", i.message = n.message, i.type = n.type || "info", i.duration = n.duration ?? 1e3, i.closable = !1 !== n.closable, i.playSound = !1, i.showProgress = n.showProgress || !1, i.startPosition = { ...Lu }, !1 !== n.playSound && Ci.play(Iu[i.type]), i.addEventListener("close", () => {
16532
+ return i.id = r, i.title = n.title || "", i.message = n.message, i.type = n.type || "info", i.duration = n.duration ?? 1e3, i.closable = !1 !== n.closable, i.playSound = !1, i.showProgress = n.showProgress || !1, i.startPosition = { ...Lu }, !1 !== n.playSound && Si.play(Iu[i.type]), i.addEventListener("close", () => {
16605
16533
  let e = this.notificationStack.indexOf(r);
16606
16534
  e > -1 && this.notificationStack.splice(e, 1), i.remove(), Ru === i && (Ru = null);
16607
16535
  }), document.body.appendChild(i), Ru = i, r;
@@ -16682,7 +16610,7 @@ function Vu(e) {
16682
16610
  type: e.loadingType || "info",
16683
16611
  duration: 0,
16684
16612
  showProgress: !0
16685
- })), t.pipe(G((t) => {
16613
+ })), t.pipe(K((t) => {
16686
16614
  if (n && typeof t == "object" && t) {
16687
16615
  let r;
16688
16616
  if ("progress" in t && typeof t.progress == "number") r = t.progress;
@@ -16697,7 +16625,7 @@ function Vu(e) {
16697
16625
  type: e.successType || "success",
16698
16626
  duration: e.successDuration ?? 2e3
16699
16627
  }));
16700
- }), Lt((t) => {
16628
+ }), It((t) => {
16701
16629
  if (n && !1 !== e.autoDismissLoading && (Bu.dismiss(n), n = void 0), e.errorMessage) {
16702
16630
  let n = typeof e.errorMessage == "function" ? e.errorMessage(t) : e.errorMessage;
16703
16631
  Bu.show({
@@ -16707,7 +16635,7 @@ function Vu(e) {
16707
16635
  });
16708
16636
  }
16709
16637
  throw t;
16710
- }), Gt(() => {
16638
+ }), Wt(() => {
16711
16639
  n && !1 !== e.autoDismissLoading && Bu.dismiss(n);
16712
16640
  }));
16713
16641
  };
@@ -16827,7 +16755,7 @@ var Wu = class extends M {
16827
16755
  super.updated(e), e.has("direction") && this.updateScrollingStyles(), this.updateLayoutContext();
16828
16756
  }
16829
16757
  firstUpdated() {
16830
- O(this.scroller, "scroll", { passive: !0 }).pipe(zt(this.debounce), g(this.disconnecting)).subscribe((e) => {
16758
+ O(this.scroller, "scroll", { passive: !0 }).pipe(Rt(this.debounce), g(this.disconnecting)).subscribe((e) => {
16831
16759
  let t = this.scroller.scrollTop, n = this.scroller.scrollHeight, r = this.scroller.clientHeight, i = this.scroller.scrollLeft, a = this.scroller.scrollWidth, o = this.scroller.clientWidth;
16832
16760
  this.dispatchEvent(new CustomEvent("scroll", {
16833
16761
  detail: {
@@ -16842,7 +16770,7 @@ var Wu = class extends M {
16842
16770
  bubbles: !0,
16843
16771
  composed: !0
16844
16772
  }));
16845
- }), O(window, "@schmancy:scrollTo").pipe(V((e) => this.name !== void 0 && e.detail.name === this.name), g(this.disconnecting)).subscribe((e) => {
16773
+ }), O(window, "@schmancy:scrollTo").pipe(H((e) => this.name !== void 0 && e.detail.name === this.name), g(this.disconnecting)).subscribe((e) => {
16846
16774
  if (e.detail.action === "scrollTo" && typeof e.detail.top == "number") {
16847
16775
  let t = {
16848
16776
  behavior: "smooth",
@@ -16868,7 +16796,7 @@ x([j({
16868
16796
  })], Wu.prototype, "direction", void 0), x([j({ type: Number })], Wu.prototype, "debounce", void 0), Wu = x([y("schmancy-scroll")], Wu);
16869
16797
  var Gu = class extends M {
16870
16798
  constructor(...e) {
16871
- super(...e), this.src = "", this.images = [], this.initialIndex = 0, this.open = !1, this.currentIndex = 0, this.isLoading = !1, this.zIndex = 1e4, this.swipeThreshold = 50, this.overlayRef = K(), this.contentRef = K(), this.imageRef = K(), this.handleClose = () => {
16799
+ super(...e), this.src = "", this.images = [], this.initialIndex = 0, this.open = !1, this.currentIndex = 0, this.isLoading = !1, this.zIndex = 1e4, this.swipeThreshold = 50, this.overlayRef = Ci(), this.contentRef = Ci(), this.imageRef = Ci(), this.handleClose = () => {
16872
16800
  this.open = !1;
16873
16801
  }, this.handlePrevious = () => {
16874
16802
  this.isGalleryMode && this.images.length > 1 && (this.isLoading = !0, this.currentIndex = (this.currentIndex - 1 + this.images.length) % this.images.length, this.dispatchEvent(new CustomEvent("change", {
@@ -17000,7 +16928,7 @@ var Gu = class extends M {
17000
16928
  });
17001
16929
  }
17002
16930
  setupEventListeners() {
17003
- if (O(document, "keydown").pipe(V(() => this.open), G((e) => {
16931
+ if (O(document, "keydown").pipe(H(() => this.open), K((e) => {
17004
16932
  switch (e.key) {
17005
16933
  case "Escape":
17006
16934
  this.handleClose();
@@ -17014,10 +16942,10 @@ var Gu = class extends M {
17014
16942
  let e = this.contentRef.value;
17015
16943
  if (!e) return;
17016
16944
  let t = O(e, "touchstart"), n = O(e, "touchend");
17017
- t.pipe(W((e) => {
16945
+ t.pipe(G((e) => {
17018
16946
  let t = e.touches[0].clientX;
17019
- return n.pipe(Kt(), k((e) => e.changedTouches[0].clientX - t));
17020
- }), V((e) => Math.abs(e) > this.swipeThreshold), G((e) => e > 0 ? this.handlePrevious() : this.handleNext()), g(this.disconnecting)).subscribe();
16947
+ return n.pipe(Gt(), k((e) => e.changedTouches[0].clientX - t));
16948
+ }), H((e) => Math.abs(e) > this.swipeThreshold), K((e) => e > 0 ? this.handlePrevious() : this.handleNext()), g(this.disconnecting)).subscribe();
17021
16949
  }
17022
16950
  render() {
17023
16951
  return this.open ? N`
@@ -17386,23 +17314,23 @@ var qu = T(class extends Ce {
17386
17314
  return e.instance ||= new e(), e.instance;
17387
17315
  }
17388
17316
  setupLightboxOpeningLogic() {
17389
- this.pushSubject.pipe(W((e) => re("schmancy-theme").pipe(k((t) => {
17317
+ this.pushSubject.pipe(G((e) => re("schmancy-theme").pipe(k((t) => {
17390
17318
  let n = t || document.body, r = document.createElement("div");
17391
17319
  return r.className = "fixed inset-0 flex items-center justify-center opacity-0 bg-black/95 backdrop-blur-sm", r.style.zIndex = String($l.getNextZIndex()), n.appendChild(r), document.body.style.overflow = "hidden", {
17392
17320
  overlay: r,
17393
17321
  config: e,
17394
17322
  container: n
17395
17323
  };
17396
- }))), G(({ overlay: e, config: t }) => {
17324
+ }))), K(({ overlay: e, config: t }) => {
17397
17325
  let n = [], r = 0;
17398
17326
  t.images && t.images.length > 0 ? (n = t.images, r = t.index || 0) : t.image && (n = [t.image], r = 0), this.activeLightbox = {
17399
17327
  element: e,
17400
17328
  config: t,
17401
17329
  currentIndex: r,
17402
17330
  images: n
17403
- }, O(document, "keydown").pipe(g(this.dismissSubject), V(() => !!this.activeLightbox), G((e) => {
17331
+ }, O(document, "keydown").pipe(g(this.dismissSubject), H(() => !!this.activeLightbox), K((e) => {
17404
17332
  e.key === "Escape" && this.dismiss(), e.key === "ArrowLeft" && this.activeLightbox.images.length > 1 && this.navigatePrev(), e.key === "ArrowRight" && this.activeLightbox.images.length > 1 && this.navigateNext();
17405
- })).subscribe(), O(e, "click").pipe(g(this.dismissSubject), V((t) => t.target === e), G(() => this.dismiss())).subscribe(), t.component ? this.renderComponent(e, t) : this.renderLightbox(e, t, n, r), requestAnimationFrame(() => {
17333
+ })).subscribe(), O(e, "click").pipe(g(this.dismissSubject), H((t) => t.target === e), K(() => this.dismiss())).subscribe(), t.component ? this.renderComponent(e, t) : this.renderLightbox(e, t, n, r), requestAnimationFrame(() => {
17406
17334
  e.animate([{ opacity: 0 }, { opacity: 1 }], {
17407
17335
  duration: 300,
17408
17336
  easing: "cubic-bezier(0.25, 1, 0.5, 1)",
@@ -17412,7 +17340,7 @@ var qu = T(class extends Ce {
17412
17340
  })).subscribe();
17413
17341
  }
17414
17342
  setupLightboxDismissLogic() {
17415
- this.dismissSubject.pipe(G(() => {
17343
+ this.dismissSubject.pipe(K(() => {
17416
17344
  if (!this.activeLightbox) return;
17417
17345
  let { element: e } = this.activeLightbox;
17418
17346
  e.animate([{ opacity: 1 }, { opacity: 0 }], {
@@ -17633,7 +17561,7 @@ var ed = class extends M {
17633
17561
  `;
17634
17562
  }
17635
17563
  };
17636
- x([rn({ context: Zu }), j()], ed.prototype, "surface", void 0), x([j({
17564
+ x([nn({ context: Zu }), j()], ed.prototype, "surface", void 0), x([j({
17637
17565
  type: String,
17638
17566
  reflect: !0
17639
17567
  })], ed.prototype, "fill", void 0), x([j({ type: Number })], ed.prototype, "elevation", void 0), ed = x([y("schmancy-list")], ed);
@@ -17695,7 +17623,7 @@ var nd = class extends M {
17695
17623
  x([c("slot:not([name])")], nd.prototype, "menuSlot", void 0), nd = x([y("schmancy-menu")], nd);
17696
17624
  var rd = new class {
17697
17625
  constructor() {
17698
- this.$drawer = new F(), this.$drawer.pipe(zt(10)).subscribe((e) => {
17626
+ this.$drawer = new F(), this.$drawer.pipe(Rt(10)).subscribe((e) => {
17699
17627
  e.state ? window.dispatchEvent(new CustomEvent(cs.NavDrawer_toggle, {
17700
17628
  detail: { state: "open" },
17701
17629
  bubbles: !0,
@@ -17797,14 +17725,14 @@ var sd, cd = h("push"), ld = h("close"), ud = class extends M {
17797
17725
  };
17798
17726
  }
17799
17727
  firstUpdated() {
17800
- this.updateState(window.innerWidth), this.setAttribute("data-ready", ""), O(window, "resize").pipe(k((e) => e.target.innerWidth), k((e) => e >= sd.BREAKPOINTS[this.breakpoint]), U(), zt(100), g(this.disconnecting)).subscribe((e) => {
17728
+ this.updateState(window.innerWidth), this.setAttribute("data-ready", ""), O(window, "resize").pipe(k((e) => e.target.innerWidth), k((e) => e >= sd.BREAKPOINTS[this.breakpoint]), W(), Rt(100), g(this.disconnecting)).subscribe((e) => {
17801
17729
  e ? (this.mode = "push", this.open = "open") : (this.mode = "overlay", this.open = "close");
17802
- }), O(window, "fullscreen").pipe(G((e) => {
17730
+ }), O(window, "fullscreen").pipe(K((e) => {
17803
17731
  let t = e;
17804
17732
  this.fullscreen = t.detail;
17805
- }), g(this.disconnecting)).subscribe(), O(window, cs.NavDrawer_toggle).pipe(G((e) => {
17733
+ }), g(this.disconnecting)).subscribe(), O(window, cs.NavDrawer_toggle).pipe(K((e) => {
17806
17734
  e.stopPropagation();
17807
- }), k((e) => e.detail.state), g(this.disconnecting), zt(10)).subscribe((e) => {
17735
+ }), k((e) => e.detail.state), g(this.disconnecting), Rt(10)).subscribe((e) => {
17808
17736
  e === "toggle" && (e = this.open === "open" ? "close" : "open"), this.mode === "push" && e === "close" || (this.open = e);
17809
17737
  });
17810
17738
  }
@@ -17822,7 +17750,7 @@ x([j({
17822
17750
  })], ud.prototype, "fullscreen", void 0), x([j({
17823
17751
  type: String,
17824
17752
  attribute: "breakpoint"
17825
- })], ud.prototype, "breakpoint", void 0), x([rn({ context: cd }), S()], ud.prototype, "mode", void 0), x([rn({ context: ld }), j()], ud.prototype, "open", void 0), ud = sd = x([y("schmancy-nav-drawer")], ud);
17753
+ })], ud.prototype, "breakpoint", void 0), x([nn({ context: cd }), S()], ud.prototype, "mode", void 0), x([nn({ context: ld }), j()], ud.prototype, "open", void 0), ud = sd = x([y("schmancy-nav-drawer")], ud);
17826
17754
  var dd = "cubic-bezier(0.5, 0.01, 0.25, 1)", fd = class extends M {
17827
17755
  constructor(...e) {
17828
17756
  super(...e), this.width = "220px", this._initialized = !1;
@@ -17915,7 +17843,7 @@ var pd = class extends M {
17915
17843
  y: e.clientY - n.top,
17916
17844
  id: Date.now()
17917
17845
  };
17918
- this.ripples = [...this.ripples, r], D(600).pipe(G(() => {
17846
+ this.ripples = [...this.ripples, r], D(600).pipe(K(() => {
17919
17847
  this.ripples = this.ripples.filter((e) => e.id !== r.id);
17920
17848
  }), g(this.disconnecting)).subscribe();
17921
17849
  }
@@ -17998,7 +17926,7 @@ var pd = class extends M {
17998
17926
  }
17999
17927
  setupNavigationStream() {
18000
17928
  let e = this.shadowRoot?.querySelector("button");
18001
- e && B(O(e, "click").pipe(V(() => !this.disabled)), O(e, "keydown").pipe(V(() => !this.disabled), V((e) => e.key === "Enter" || e.key === " "), G((e) => e.preventDefault()))).pipe(G(() => {
17929
+ e && V(O(e, "click").pipe(H(() => !this.disabled)), O(e, "keydown").pipe(H(() => !this.disabled), H((e) => e.key === "Enter" || e.key === " "), K((e) => e.preventDefault()))).pipe(K(() => {
18002
17930
  this.dispatchEvent(new CustomEvent("bar-item-click", {
18003
17931
  detail: {
18004
17932
  icon: this.icon,
@@ -18211,9 +18139,9 @@ var md = class extends M {
18211
18139
  Sa.setBottomOffset(e ? 80 : 0);
18212
18140
  }
18213
18141
  connectedCallback() {
18214
- super.connectedCallback(), this.mobileMediaQuery = window.matchMedia("(max-width: 767px)"), O(this.mobileMediaQuery, "change").pipe(G(() => this.updateBottomOffset()), g(this.disconnecting)).subscribe(), Sa.fullscreen$.pipe(G((e) => {
18142
+ super.connectedCallback(), this.mobileMediaQuery = window.matchMedia("(max-width: 767px)"), O(this.mobileMediaQuery, "change").pipe(K(() => this.updateBottomOffset()), g(this.disconnecting)).subscribe(), Sa.fullscreen$.pipe(K((e) => {
18215
18143
  this.isFullscreen = e, this.visibility$.next(!this.isFullscreen && !this.isHiddenByScroll), this.updateBottomOffset();
18216
- }), g(this.disconnecting)).subscribe(), this.updateBottomOffset(), O(this, "bar-item-click").pipe(G((e) => this.handleItemClick(e)), g(this.disconnecting)).subscribe(), O(this, "keydown").pipe(G((e) => this.handleKeyDown(e)), g(this.disconnecting)).subscribe(), this.activeIndex$.pipe(g(this.disconnecting)).subscribe((e) => {
18144
+ }), g(this.disconnecting)).subscribe(), this.updateBottomOffset(), O(this, "bar-item-click").pipe(K((e) => this.handleItemClick(e)), g(this.disconnecting)).subscribe(), O(this, "keydown").pipe(K((e) => this.handleKeyDown(e)), g(this.disconnecting)).subscribe(), this.activeIndex$.pipe(g(this.disconnecting)).subscribe((e) => {
18217
18145
  this.updateActiveStates(e);
18218
18146
  }), this.hideOnScroll && this.setupScrollListener(), this.updateItems();
18219
18147
  }
@@ -18221,13 +18149,13 @@ var md = class extends M {
18221
18149
  super.disconnectedCallback(), Sa.setBottomOffset(0), this.mobileMediaQuery = null;
18222
18150
  }
18223
18151
  setupScrollListener() {
18224
- O(window, "scroll").pipe($t(100), k(() => window.scrollY), me(function(e, t) {
18152
+ O(window, "scroll").pipe(Qt(100), k(() => window.scrollY), me(function(e, t) {
18225
18153
  var n, r = !1;
18226
18154
  e.subscribe(L(t, function(e) {
18227
18155
  var i = n;
18228
18156
  n = e, r && t.next([i, e]), r = !0;
18229
18157
  }));
18230
- }), V(([e, t]) => Math.abs(t - e) > this.SCROLL_THRESHOLD), G(([e, t]) => {
18158
+ }), H(([e, t]) => Math.abs(t - e) > this.SCROLL_THRESHOLD), K(([e, t]) => {
18231
18159
  let n = t > e, r = t < e, i = this.isHiddenByScroll;
18232
18160
  n && !this.isHiddenByScroll ? this.isHiddenByScroll = !0 : r && this.isHiddenByScroll && (this.isHiddenByScroll = !1), t <= this.SCROLL_THRESHOLD && (this.isHiddenByScroll = !1), i !== this.isHiddenByScroll && this.visibility$.next(!this.isHiddenByScroll && !this.isFullscreen);
18233
18161
  }), g(this.disconnecting)).subscribe();
@@ -18317,9 +18245,9 @@ var hd = class extends M {
18317
18245
  this.active = e;
18318
18246
  }
18319
18247
  connectedCallback() {
18320
- super.connectedCallback(), B(O(this, "mouseenter").pipe(G(() => this.hovering$.next(!0))), O(this, "mouseleave").pipe(G(() => this.hovering$.next(!1)))).pipe(g(this.disconnecting)).subscribe(), B(O(this, "mousedown").pipe(G(() => this.pressing$.next(!0))), O(this, "mouseup").pipe(G(() => this.pressing$.next(!1))), O(this, "mouseleave").pipe(G(() => this.pressing$.next(!1)))).pipe(g(this.disconnecting)).subscribe(), this.pressing$.pipe(G((e) => {
18248
+ super.connectedCallback(), V(O(this, "mouseenter").pipe(K(() => this.hovering$.next(!0))), O(this, "mouseleave").pipe(K(() => this.hovering$.next(!1)))).pipe(g(this.disconnecting)).subscribe(), V(O(this, "mousedown").pipe(K(() => this.pressing$.next(!0))), O(this, "mouseup").pipe(K(() => this.pressing$.next(!1))), O(this, "mouseleave").pipe(K(() => this.pressing$.next(!1)))).pipe(g(this.disconnecting)).subscribe(), this.pressing$.pipe(K((e) => {
18321
18249
  e && !this.disabled && (this.showRipple = !0);
18322
- }), Vt(600), G(() => this.showRipple = !1), g(this.disconnecting)).subscribe(), this.active$.pipe(U(), G((e) => {
18250
+ }), Bt(600), K(() => this.showRipple = !1), g(this.disconnecting)).subscribe(), this.active$.pipe(W(), K((e) => {
18323
18251
  this.requestUpdate(), this.setAttribute("aria-selected", String(e)), this.setAttribute("tabindex", e ? "0" : "-1");
18324
18252
  }), g(this.disconnecting)).subscribe(), this.setAttribute("role", "listitem"), this.hasAttribute("tabindex") || this.setAttribute("tabindex", this.active ? "0" : "-1");
18325
18253
  }
@@ -18488,7 +18416,7 @@ var gd = class extends M {
18488
18416
  return this.allElements.filter((e) => e.tagName === "SCHMANCY-NAVIGATION-RAIL-ITEM");
18489
18417
  }
18490
18418
  connectedCallback() {
18491
- super.connectedCallback(), this.keyboardNavigation && this.addEventListener("keydown", this.handleKeyDown), this.activeIndex$.pipe(U(), G((e) => this.updateActiveStates(e)), g(this.disconnecting)).subscribe(), O(window, "fullscreen").pipe(G((e) => {
18419
+ super.connectedCallback(), this.keyboardNavigation && this.addEventListener("keydown", this.handleKeyDown), this.activeIndex$.pipe(W(), K((e) => this.updateActiveStates(e)), g(this.disconnecting)).subscribe(), O(window, "fullscreen").pipe(K((e) => {
18492
18420
  let t = e;
18493
18421
  this.isFullscreen = t.detail;
18494
18422
  }), g(this.disconnecting)).subscribe(), this.setupNavigateListener(), this.updateLabelVisibility(), this.setAttribute("role", "navigation"), this.setAttribute("aria-label", "Main navigation");
@@ -18882,22 +18810,22 @@ function wd(e) {
18882
18810
  let { surface: t, dragHandle: n, until$: r } = e;
18883
18811
  return new I((e) => {
18884
18812
  let i = n ?? t, a = new F(), o = !1, s = null, c = 0, l = 0, u = 0;
18885
- return B(O(i, "pointerdown").pipe(V((e) => e.isPrimary && (e.pointerType !== "mouse" || e.button === 0)), V((e) => {
18813
+ return V(O(i, "pointerdown").pipe(H((e) => e.isPrimary && (e.pointerType !== "mouse" || e.button === 0)), H((e) => {
18886
18814
  if (n) return !0;
18887
18815
  let r = t.getBoundingClientRect();
18888
18816
  return e.clientY - r.top <= 40;
18889
- }), G((e) => {
18817
+ }), K((e) => {
18890
18818
  o = !0, s = e.pointerId, c = e.clientY, l = performance.now(), u = 0, t.style.transition = "none", t.style.willChange = "transform";
18891
18819
  try {
18892
18820
  i.setPointerCapture?.(e.pointerId);
18893
18821
  } catch {}
18894
- })), O(i, "pointermove").pipe(V(() => o), V((e) => e.pointerId === s), G((e) => {
18822
+ })), O(i, "pointermove").pipe(H(() => o), H((e) => e.pointerId === s), K((e) => {
18895
18823
  u = function(e) {
18896
18824
  if (e >= 0) return e;
18897
18825
  let t = -e;
18898
18826
  return -Math.max(0, 8 * (Math.log(t + 1) - 2));
18899
18827
  }(e.clientY - c), t.style.transform = `translateY(${u}px)`, e.cancelable && e.preventDefault();
18900
- })), B(O(i, "pointerup"), O(i, "pointercancel"), O(i, "lostpointercapture")).pipe(V(() => o), V((e) => e.pointerId === s), G(() => {
18828
+ })), V(O(i, "pointerup"), O(i, "pointercancel"), O(i, "lostpointercapture")).pipe(H(() => o), H((e) => e.pointerId === s), K(() => {
18901
18829
  o = !1;
18902
18830
  let n = s;
18903
18831
  s = null;
@@ -18906,10 +18834,10 @@ function wd(e) {
18906
18834
  } catch {}
18907
18835
  let r = Math.max(1, performance.now() - l), a = u / r, c = t.getBoundingClientRect().height, d = Math.min(80, .25 * c), f = u > d || u > 20 && a > .4;
18908
18836
  t.style.willChange = "", f ? (t.style.transition = "transform 300ms cubic-bezier(0.16, 1, 0.3, 1)", t.style.transform = "translateY(100%)", e.next("dismiss"), e.complete()) : (t.style.transition = "transform 300ms cubic-bezier(0.16, 1, 0.3, 1)", t.style.transform = "translateY(0)");
18909
- }))).pipe(g(B(a, r))).subscribe(), () => {
18837
+ }))).pipe(g(V(a, r))).subscribe(), () => {
18910
18838
  a.next(), a.complete(), t.style.transition = "", t.style.transform = "", t.style.willChange = "";
18911
18839
  };
18912
- }).pipe(H(1));
18840
+ }).pipe(U(1));
18913
18841
  }
18914
18842
  function Td(e) {
18915
18843
  let { anchor: t, content: n, viewport: r } = e, i = r.width < 640, a = r.isCoarsePointer, o = n.height > .8 * r.height, s = n.width > .9 * r.width;
@@ -18950,7 +18878,7 @@ var Od = Object.freeze({
18950
18878
  });
18951
18879
  function kd(e) {
18952
18880
  if (!Od.popover) throw Error("positionPopoverAPI requires Popover API support");
18953
- e.setAttribute("popover", "auto");
18881
+ e.setAttribute("popover", "manual");
18954
18882
  try {
18955
18883
  e.showPopover();
18956
18884
  } catch {}
@@ -19348,33 +19276,31 @@ var Md = "overlay-mount", Nd = class extends M {
19348
19276
  }
19349
19277
  wireCloseTriggers(e) {
19350
19278
  let t = this.disconnecting;
19351
- O(this, "close").pipe(V((e) => e instanceof CustomEvent), G((e) => {
19279
+ O(this, "close").pipe(H((e) => e instanceof CustomEvent), K((e) => {
19352
19280
  e.stopPropagation(), this.close("structured", e.detail);
19353
- }), g(t)).subscribe(), O(this, "submit").pipe(V((e) => {
19281
+ }), g(t)).subscribe(), O(this, "submit").pipe(H((e) => {
19354
19282
  let t = e.target;
19355
19283
  return !!t && t.method === "dialog";
19356
- }), G((e) => {
19284
+ }), K((e) => {
19357
19285
  e.preventDefault();
19358
19286
  let t = e.submitter?.value ?? "";
19359
19287
  this.close("native-submit", t);
19360
- }), g(t)).subscribe(), this.tier === "modal" && O(document, "keydown").pipe(V((e) => e.key === "Escape"), G((e) => {
19288
+ }), g(t)).subscribe(), O(document, "keydown").pipe(H((e) => e.key === "Escape"), K((e) => {
19361
19289
  this.dismissable ? (e.preventDefault(), this.close("escape")) : e.preventDefault();
19362
- }), g(t)).subscribe(), this.tier !== "popover-fui" && this.tier !== "css-anchor" || O(this._surface, "toggle").pipe(V((e) => e.newState === "closed"), H(1), G(() => {
19363
- this._closing || this.close("light-dismiss");
19364
- }), g(t)).subscribe(), this.tier === "fui-only" && O(document, "pointerdown", { capture: !0 }).pipe(V((e) => {
19290
+ }), g(t)).subscribe(), this.tier !== "modal" && O(document, "pointerdown", { capture: !0 }).pipe(H((e) => {
19365
19291
  if (!this.dismissable) return !1;
19366
- let t = e.composedPath()[0];
19367
- return !!t && !this._surface?.contains(t) && !this._resolvedAnchor?.el?.contains(t);
19368
- }), H(1), G(() => {
19292
+ let t = e.composedPath();
19293
+ return (!this._surface || !t.includes(this._surface)) && (!this._resolvedAnchor?.el || !t.includes(this._resolvedAnchor.el));
19294
+ }), U(1), K(() => {
19369
19295
  this.close("backdrop");
19370
19296
  }), g(t)).subscribe(), this.layout === "sheet" && this.dismissable && wd({
19371
19297
  surface: this._surface,
19372
- until$: B(t, this._closed$)
19373
- }).pipe(H(1)).subscribe(() => {
19298
+ until$: V(t, this._closed$)
19299
+ }).pipe(U(1)).subscribe(() => {
19374
19300
  this.close("swipe");
19375
19301
  }), e && (e.aborted ? queueMicrotask(() => {
19376
19302
  this.close("abort");
19377
- }) : O(e, "abort").pipe(H(1), G(() => {
19303
+ }) : O(e, "abort").pipe(U(1), K(() => {
19378
19304
  this.close("abort");
19379
19305
  }), g(t)).subscribe());
19380
19306
  }
@@ -19387,7 +19313,7 @@ var Md = "overlay-mount", Nd = class extends M {
19387
19313
  w: n.width,
19388
19314
  h: n.height
19389
19315
  };
19390
- }), V((e) => e !== null), U((e, t) => e.w === t.w && e.h === t.h), zt(80), g(B(this.disconnecting, this._closed$))).subscribe((e) => this.maybeReResolve(e));
19316
+ }), H((e) => e !== null), W((e, t) => e.w === t.w && e.h === t.h), Rt(80), g(V(this.disconnecting, this._closed$))).subscribe((e) => this.maybeReResolve(e));
19391
19317
  }
19392
19318
  async maybeReResolve(e) {
19393
19319
  if (this._closing) return;
@@ -19507,15 +19433,15 @@ var Fd = class extends M {
19507
19433
  this.style.height = `${e}px`, this.style.paddingBottom = `${t}px`;
19508
19434
  }
19509
19435
  setupHeightStream() {
19510
- let e = O(window, "resize", { passive: !0 }), t = B(e, window.visualViewport ? B(O(window.visualViewport, "resize", { passive: !0 }), O(window.visualViewport, "scroll", { passive: !0 })) : e, O(window, "orientationchange"), O(document, "focusout", { passive: !0 }).pipe(W(() => D(100)))).pipe(zt(16));
19511
- wt([
19512
- B(this.parentElement ? Aa(this.parentElement) : z, t).pipe(Zt(null)),
19436
+ let e = O(window, "resize", { passive: !0 }), t = V(e, window.visualViewport ? V(O(window.visualViewport, "resize", { passive: !0 }), O(window.visualViewport, "scroll", { passive: !0 })) : e, O(window, "orientationchange"), O(document, "focusout", { passive: !0 }).pipe(G(() => D(100)))).pipe(Rt(16));
19437
+ Ct([
19438
+ V(this.parentElement ? Aa(this.parentElement) : z, t).pipe(Xt(null)),
19513
19439
  Sa.bottomOffset$,
19514
19440
  Sa.fullscreen$
19515
19441
  ]).pipe(k(([, e, t]) => ({
19516
19442
  height: this.calculateHeight(),
19517
19443
  padding: t ? 0 : e
19518
- })), U((e, t) => e.height === t.height && e.padding === t.padding), G(({ height: e, padding: t }) => this.applyHeight(e, t)), g(this.heightDisconnecting$)).subscribe();
19444
+ })), W((e, t) => e.height === t.height && e.padding === t.padding), K(({ height: e, padding: t }) => this.applyHeight(e, t)), g(this.heightDisconnecting$)).subscribe();
19519
19445
  }
19520
19446
  connectedCallback() {
19521
19447
  super.connectedCallback(), this.querySelectorAll(":scope > header").forEach((e) => e.setAttribute("slot", "header")), this.querySelectorAll(":scope > footer").forEach((e) => e.setAttribute("slot", "footer")), this.setupHeightStream();
@@ -19650,7 +19576,7 @@ var Rd = class extends M {
19650
19576
  `];
19651
19577
  }
19652
19578
  firstUpdated() {
19653
- this.slider.scrollLeft = 0, O(this.slider, "scroll").pipe($t(100, void 0, { trailing: !0 })).subscribe(() => {
19579
+ this.slider.scrollLeft = 0, O(this.slider, "scroll").pipe(Qt(100, void 0, { trailing: !0 })).subscribe(() => {
19654
19580
  this.updateSelectedIndexOnScroll();
19655
19581
  });
19656
19582
  }
@@ -19856,7 +19782,7 @@ var Hd = class extends M {
19856
19782
  return this.controller.currentStep;
19857
19783
  }
19858
19784
  connectedCallback() {
19859
- super.connectedCallback(), this.controller.currentStep$.pipe(U(), G((e) => {
19785
+ super.connectedCallback(), this.controller.currentStep$.pipe(W(), K((e) => {
19860
19786
  this.requestUpdate(), this.dispatchScopedEvent("change", { value: e }, { bubbles: !1 });
19861
19787
  }), g(this.disconnecting)).subscribe();
19862
19788
  }
@@ -19885,7 +19811,7 @@ var Hd = class extends M {
19885
19811
  `;
19886
19812
  }
19887
19813
  };
19888
- x([rn({ context: Bd })], Hd.prototype, "stepsController", void 0), x([j({
19814
+ x([nn({ context: Bd })], Hd.prototype, "stepsController", void 0), x([j({
19889
19815
  type: Number,
19890
19816
  reflect: !0
19891
19817
  })], Hd.prototype, "currentStep", null), x([j({
@@ -20561,18 +20487,18 @@ var uf = class extends M {
20561
20487
  `];
20562
20488
  }
20563
20489
  connectedCallback() {
20564
- super.connectedCallback(), O(window, "scroll").pipe($t(1e3), V(() => this.mode === "scroll"), k(() => {
20490
+ super.connectedCallback(), O(window, "scroll").pipe(Qt(1e3), H(() => this.mode === "scroll"), k(() => {
20565
20491
  let e = null, t = Infinity;
20566
20492
  return this.tabsElements.forEach((n) => {
20567
20493
  let r = n.getBoundingClientRect().top - this.navElement.clientHeight + document.body.offsetHeight / 3;
20568
20494
  r < t && r > 0 && (t = r, e = n);
20569
20495
  }), e;
20570
- }), V((e) => e !== null)).subscribe({ next: (e) => {
20496
+ }), H((e) => e !== null)).subscribe({ next: (e) => {
20571
20497
  this.activeTab = e.value;
20572
20498
  } });
20573
20499
  }
20574
20500
  firstUpdated() {
20575
- kt(0).pipe(V(() => !!this.navElement.clientHeight), H(1)).subscribe(() => {
20501
+ Ot(0).pipe(H(() => !!this.navElement.clientHeight), U(1)).subscribe(() => {
20576
20502
  this.tabsElements.forEach((e) => {
20577
20503
  this.mode === "scroll" && (e.style.paddingTop = this.navElement.clientHeight + "px");
20578
20504
  });
@@ -20640,18 +20566,18 @@ var uf = class extends M {
20640
20566
  `;
20641
20567
  }
20642
20568
  };
20643
- x([rn({ context: cf }), j({ type: String })], uf.prototype, "mode", void 0), x([j({ type: Boolean })], uf.prototype, "rounded", void 0), x([j({
20569
+ x([nn({ context: cf }), j({ type: String })], uf.prototype, "mode", void 0), x([j({ type: Boolean })], uf.prototype, "rounded", void 0), x([j({
20644
20570
  type: String,
20645
20571
  reflect: !0
20646
20572
  })], uf.prototype, "activeTab", void 0), x([u({ flatten: !0 })], uf.prototype, "tabsElements", void 0), x([c("#tabsNavigation")], uf.prototype, "navElement", void 0), x([c("#tabsContent")], uf.prototype, "tabsContent", void 0), x([S()], uf.prototype, "tabs", void 0), uf = x([y("schmancy-tab-group")], uf);
20647
20573
  var df = "whereAreYouRicky", ff = "hereMorty", pf = new class {
20648
20574
  constructor() {
20649
- this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new F(), this.find = (e) => Pt([O(window, ff).pipe(V((t) => !!t.detail.component.uuid && !!e.id && t.detail.component.id === e.id && t.detail.component.uuid !== e.uuid), k((e) => e.detail.component), H(1)), pt(e).pipe(G(() => {
20575
+ this.activeTeleportations = /* @__PURE__ */ new Map(), this.flipRequests = new F(), this.find = (e) => Nt([O(window, ff).pipe(H((t) => !!t.detail.component.uuid && !!e.id && t.detail.component.id === e.id && t.detail.component.uuid !== e.uuid), k((e) => e.detail.component), U(1)), B(e).pipe(K(() => {
20650
20576
  window.dispatchEvent(new CustomEvent(df, { detail: {
20651
20577
  id: e.id,
20652
20578
  callerID: e.uuid
20653
20579
  } }));
20654
- }))]).pipe(k(([e]) => e), _t(0)), this.flip = (e) => {
20580
+ }))]).pipe(k(([e]) => e), gt(0)), this.flip = (e) => {
20655
20581
  let { from: t, to: n } = e, r = n.element.style.zIndex;
20656
20582
  n.element.style.transformOrigin = "top left", n.element.style.setProperty("visibility", "visible"), n.element.style.zIndex = "1000";
20657
20583
  let i = [{ transform: `translate(${t.rect.left - n.rect.left}px, ${t.rect.top - n.rect.top}px) scale(${t.rect.width / n.rect.width}, ${t.rect.height / n.rect.height})` }, { transform: "translate(0, 0) scale(1, 1)" }];
@@ -20662,16 +20588,16 @@ var df = "whereAreYouRicky", ff = "hereMorty", pf = new class {
20662
20588
  }).onfinish = () => {
20663
20589
  n.element.style.zIndex = r, n.element.style.transformOrigin = "";
20664
20590
  };
20665
- }, this.flipRequests.pipe(It(1), k((e) => e.map(({ from: e, to: t, host: n }, r) => ({
20591
+ }, this.flipRequests.pipe(Ft(1), k((e) => e.map(({ from: e, to: t, host: n }, r) => ({
20666
20592
  from: e,
20667
20593
  to: t,
20668
20594
  host: n,
20669
20595
  i: r
20670
- }))), Rt((e) => Pt(e.map((e) => pt(this.flip(e)))))).subscribe();
20596
+ }))), Lt((e) => Nt(e.map((e) => B(this.flip(e)))))).subscribe();
20671
20597
  }
20672
20598
  }();
20673
20599
  function mf(e) {
20674
- return kt(50).pipe(k(() => e.getBoundingClientRect()), U((e, t) => e.width === t.width && e.height === t.height && e.top === t.top && e.right === t.right && e.bottom === t.bottom && e.left === t.left), H(1));
20600
+ return Ot(50).pipe(k(() => e.getBoundingClientRect()), W((e, t) => e.width === t.width && e.height === t.height && e.top === t.top && e.right === t.right && e.bottom === t.bottom && e.left === t.left), U(1));
20675
20601
  }
20676
20602
  var hf = class extends M {
20677
20603
  constructor(...e) {
@@ -20685,13 +20611,13 @@ var hf = class extends M {
20685
20611
  }
20686
20612
  connectedCallback() {
20687
20613
  if (this.id === void 0) throw Error("id is required");
20688
- super.connectedCallback(), B(O(window, on).pipe(G({ next: () => {
20689
- this.dispatchEvent(new CustomEvent(sn, {
20614
+ super.connectedCallback(), V(O(window, an).pipe(K({ next: () => {
20615
+ this.dispatchEvent(new CustomEvent(on, {
20690
20616
  detail: { component: this },
20691
20617
  bubbles: !0,
20692
20618
  composed: !0
20693
20619
  }));
20694
- } })), O(window, df).pipe(G({ next: (e) => {
20620
+ } })), O(window, df).pipe(K({ next: (e) => {
20695
20621
  e.detail.id === this.id && this.uuid && e.detail.callerID !== this.uuid && this.dispatchEvent(new CustomEvent(ff, {
20696
20622
  detail: { component: this },
20697
20623
  bubbles: !0,
@@ -20700,7 +20626,7 @@ var hf = class extends M {
20700
20626
  } }))).pipe(g(this.disconnecting)).subscribe();
20701
20627
  }
20702
20628
  async firstUpdated() {
20703
- pt(pf.activeTeleportations.get(this.id)).pipe(V((e) => !!e), g(this.disconnecting), Ut()).subscribe({
20629
+ B(pf.activeTeleportations.get(this.id)).pipe(H((e) => !!e), g(this.disconnecting), Ht()).subscribe({
20704
20630
  next: (e) => {
20705
20631
  this.style.setProperty("visibility", "hidden"), mf(this).pipe(g(this.disconnecting)).subscribe({ next: (t) => {
20706
20632
  pf.activeTeleportations.set(this.id, t), pf.flipRequests.next({
@@ -21034,7 +20960,7 @@ var bf = Ee(":host,:root{--md-ref-typeface-brand:var(--schmancy-font-family,sans
21034
20960
  connectedCallback() {
21035
20961
  super.connectedCallback();
21036
20962
  let e = this.generateThemeName(), t = sessionStorage.getItem(`schmancy-theme-${e}-color`), n = sessionStorage.getItem(`schmancy-theme-${e}-scheme`);
21037
- this.color || (this.color = t || this.generateRandomColor(), sessionStorage.setItem(`schmancy-theme-${e}-color`, this.color)), !this.hasAttribute("scheme") && n && (this.scheme = n), pt(this.scheme).pipe(W((e) => e === "auto" ? Sf : pt(e)), g(this.disconnecting)).subscribe((t) => {
20963
+ this.color || (this.color = t || this.generateRandomColor(), sessionStorage.setItem(`schmancy-theme-${e}-color`, this.color)), !this.hasAttribute("scheme") && n && (this.scheme = n), B(this.scheme).pipe(G((e) => e === "auto" ? Sf : B(e)), g(this.disconnecting)).subscribe((t) => {
21038
20964
  this.scheme = t, queueMicrotask(() => {
21039
20965
  this.registerTheme(), sessionStorage.setItem(`schmancy-theme-${e}-scheme`, this.scheme);
21040
20966
  });
@@ -21095,7 +21021,7 @@ var bf = Ee(":host,:root{--md-ref-typeface-brand:var(--schmancy-font-family,sans
21095
21021
  x([j({
21096
21022
  type: String,
21097
21023
  reflect: !0
21098
- })], Cf.prototype, "color", void 0), x([j({ type: String })], Cf.prototype, "scheme", void 0), x([j({ type: Boolean })], Cf.prototype, "root", void 0), x([j({ type: String })], Cf.prototype, "locale", void 0), x([j({ type: String })], Cf.prototype, "name", void 0), x([rn({ context: te }), j({ type: Object })], Cf.prototype, "theme", void 0), Cf = x([y("schmancy-theme")], Cf);
21024
+ })], Cf.prototype, "color", void 0), x([j({ type: String })], Cf.prototype, "scheme", void 0), x([j({ type: Boolean })], Cf.prototype, "root", void 0), x([j({ type: String })], Cf.prototype, "locale", void 0), x([j({ type: String })], Cf.prototype, "name", void 0), x([nn({ context: te }), j({ type: Object })], Cf.prototype, "theme", void 0), Cf = x([y("schmancy-theme")], Cf);
21099
21025
  var wf = class extends M {
21100
21026
  constructor(...e) {
21101
21027
  super(...e), this.currentScheme = "auto", this.currentColor = "#6200ee", this.resolvedScheme = "light", this.themeComponent = null, this.colorInput$ = new F();
@@ -21185,9 +21111,9 @@ var wf = class extends M {
21185
21111
  ];
21186
21112
  }
21187
21113
  connectedCallback() {
21188
- super.connectedCallback(), this.discover("schmancy-theme").pipe(W((e) => e ? (this.themeComponent = e, this.currentScheme = e.scheme, this.currentColor = e.color, new F().pipe(G(() => {
21114
+ super.connectedCallback(), this.discover("schmancy-theme").pipe(G((e) => e ? (this.themeComponent = e, this.currentScheme = e.scheme, this.currentColor = e.color, new F().pipe(K(() => {
21189
21115
  this.themeComponent && (this.currentScheme = this.themeComponent.scheme, this.currentColor = this.themeComponent.color);
21190
- }))) : pt(null)), g(this.disconnecting)).subscribe(), this.colorInput$.pipe(zt(150), G((e) => {
21116
+ }))) : B(null)), g(this.disconnecting)).subscribe(), this.colorInput$.pipe(Rt(150), K((e) => {
21191
21117
  this.themeComponent && (this.themeComponent.color = e);
21192
21118
  }), g(this.disconnecting)).subscribe();
21193
21119
  }
@@ -21286,15 +21212,15 @@ var Tf = class extends CustomEvent {
21286
21212
  `];
21287
21213
  }
21288
21214
  connectedCallback() {
21289
- super.connectedCallback(), bi.volume$.pipe(g(this.disconnecting)).subscribe((e) => {
21215
+ super.connectedCallback(), yi.volume$.pipe(g(this.disconnecting)).subscribe((e) => {
21290
21216
  this.volume = e;
21291
- }), bi.themeName$.pipe(g(this.disconnecting)).subscribe((e) => {
21217
+ }), yi.themeName$.pipe(g(this.disconnecting)).subscribe((e) => {
21292
21218
  this.currentThemeName = e;
21293
- }), bi.theme$.pipe(g(this.disconnecting)).subscribe((e) => {
21219
+ }), yi.theme$.pipe(g(this.disconnecting)).subscribe((e) => {
21294
21220
  e && (this.detectedMood = e.name.replace("AI: ", ""));
21295
- }), this.discover("schmancy-theme").pipe(W((e) => e ? (this.themeComponent = e, this.currentScheme = e.scheme, this.currentColor = e.color, new F().pipe(G(() => {
21221
+ }), this.discover("schmancy-theme").pipe(G((e) => e ? (this.themeComponent = e, this.currentScheme = e.scheme, this.currentColor = e.color, new F().pipe(K(() => {
21296
21222
  this.themeComponent && (this.currentScheme = this.themeComponent.scheme, this.currentColor = this.themeComponent.color);
21297
- }))) : pt(null)), g(this.disconnecting)).subscribe(), this.moodInput$.pipe(zt(500), G((e) => {
21223
+ }))) : B(null)), g(this.disconnecting)).subscribe(), this.moodInput$.pipe(Rt(500), K((e) => {
21298
21224
  this.moodText = e;
21299
21225
  }), g(this.disconnecting)).subscribe();
21300
21226
  }
@@ -21313,7 +21239,7 @@ var Tf = class extends CustomEvent {
21313
21239
  if (this.isGenerating = !1, e.success && e.audioSequence) {
21314
21240
  this.audioSequence = e.audioSequence, this.detectedMood = e.detectedMood;
21315
21241
  let t = this.audioSequenceToSoundTheme(e.audioSequence, e.detectedMood);
21316
- bi.setTheme(t), this.playDetectedMood(e.detectedMood);
21242
+ yi.setTheme(t), this.playDetectedMood(e.detectedMood);
21317
21243
  } else this.error = e.error || "Failed to generate audio";
21318
21244
  }
21319
21245
  audioSequenceToSoundTheme(e, t) {
@@ -21392,7 +21318,7 @@ var Tf = class extends CustomEvent {
21392
21318
  }
21393
21319
  playDetectedMood(e) {
21394
21320
  let t = this.mapMoodToFeeling(e);
21395
- bi.play(t);
21321
+ yi.play(t);
21396
21322
  }
21397
21323
  setError(e) {
21398
21324
  this.isGenerating = !1, this.error = e;
@@ -21402,10 +21328,10 @@ var Tf = class extends CustomEvent {
21402
21328
  }
21403
21329
  handleVolumeChange(e) {
21404
21330
  let t = parseInt(e.target.value) / 100;
21405
- bi.setVolume(t);
21331
+ yi.setVolume(t);
21406
21332
  }
21407
21333
  resetToDefaults() {
21408
- bi.resetTheme(), this.audioSequence = null, this.detectedMood = "";
21334
+ yi.resetTheme(), this.audioSequence = null, this.detectedMood = "";
21409
21335
  }
21410
21336
  render() {
21411
21337
  return N`
@@ -21696,12 +21622,12 @@ var kf = /* @__PURE__ */ new WeakMap(), Af = T(class extends m {
21696
21622
  super.updated?.(e), e.has("open") && (this.open ? this._internals?.states.add("open") : this._internals?.states.delete("open"));
21697
21623
  }
21698
21624
  firstUpdated() {
21699
- this.open || (this.defaultSlot.hidden = !0), B(O(this.toggler, "click").pipe(g(this.disconnecting), G((e) => {
21625
+ this.open || (this.defaultSlot.hidden = !0), V(O(this.toggler, "click").pipe(g(this.disconnecting), K((e) => {
21700
21626
  e.preventDefault(), e.stopPropagation(), this.dispatchEvent(new CustomEvent("toggle", {
21701
21627
  bubbles: !1,
21702
21628
  composed: !0
21703
21629
  }));
21704
- })), O(this.chevron, "click")).pipe(W(() => {
21630
+ })), O(this.chevron, "click")).pipe(G(() => {
21705
21631
  let e = this.open ? 180 : 0, t = this.open ? 0 : 180, n = this.chevron.animate([{ transform: `rotate(${e}deg)` }, { transform: `rotate(${t}deg)` }], {
21706
21632
  duration: 150,
21707
21633
  easing: "ease-in",
@@ -21715,8 +21641,8 @@ var kf = /* @__PURE__ */ new WeakMap(), Af = T(class extends m {
21715
21641
  });
21716
21642
  return a.onfinish = () => {
21717
21643
  this.open ? this.defaultSlot.hidden = !0 : (this.defaultSlot.style.height = "auto", this.defaultSlot.style.opacity = "1");
21718
- }, Pt(O(n, "finish"), O(a, "finish")).pipe(g(this.disconnecting));
21719
- }), G(() => {
21644
+ }, Nt(O(n, "finish"), O(a, "finish")).pipe(g(this.disconnecting));
21645
+ }), K(() => {
21720
21646
  this.open = !this.open;
21721
21647
  }), g(this.disconnecting)).subscribe();
21722
21648
  }
@@ -21806,17 +21732,17 @@ var Mf = class {
21806
21732
  }
21807
21733
  startTyping() {
21808
21734
  if (!this.state || !this.state.targetElement) return;
21809
- let { phrases: e, options: t, targetElement: n } = this.state, r = (e, r = !0) => Dt(Ot(() => Dt(...e.split("").map((e) => pt(e).pipe(Vt(t.typeSpeed), G((e) => {
21735
+ let { phrases: e, options: t, targetElement: n } = this.state, r = (e, r = !0) => Et(Dt(() => Et(...e.split("").map((e) => B(e).pipe(Bt(t.typeSpeed), K((e) => {
21810
21736
  let t = this.getTextNode(n);
21811
21737
  t && (t.textContent += e), this.soundEngine && this.soundEngine.playKeyPress();
21812
- }))))), pt(null).pipe(Vt(t.pauseDuration)), r ? Ot(() => {
21738
+ }))))), B(null).pipe(Bt(t.pauseDuration)), r ? Dt(() => {
21813
21739
  let r = e.length;
21814
- return kt(t.deleteSpeed).pipe(H(r), G(() => {
21740
+ return Ot(t.deleteSpeed).pipe(U(r), K(() => {
21815
21741
  let e = this.getTextNode(n);
21816
21742
  e && e.textContent && (e.textContent = e.textContent.slice(0, -1)), this.soundEngine && this.soundEngine.playDelete();
21817
21743
  }));
21818
- }) : z, r ? pt(null).pipe(Vt(200)) : z), i = Dt(...e.map((e) => r(e))), a = t.finalMessage ? Dt(i, r(t.finalMessage, !1)) : i;
21819
- this.state.subscription = (t.loop ? i.pipe(qt()) : a).subscribe({ error: (e) => {} });
21744
+ }) : z, r ? B(null).pipe(Bt(200)) : z), i = Et(...e.map((e) => r(e))), a = t.finalMessage ? Et(i, r(t.finalMessage, !1)) : i;
21745
+ this.state.subscription = (t.loop ? i.pipe(Kt()) : a).subscribe({ error: (e) => {} });
21820
21746
  }
21821
21747
  getTextNode(e) {
21822
21748
  for (let t of Array.from(e.childNodes)) if (t.nodeType === Node.TEXT_NODE) return t;
@@ -21834,7 +21760,7 @@ var Mf = class {
21834
21760
  }
21835
21761
  }), Pf = class extends M {
21836
21762
  constructor(...e) {
21837
- super(...e), this.type = "body", this.token = "md", this.editable = !1, this.value = "", this.placeholder = "", this._editRef = K();
21763
+ super(...e), this.type = "body", this.token = "md", this.editable = !1, this.value = "", this.placeholder = "", this._editRef = Ci();
21838
21764
  }
21839
21765
  static {
21840
21766
  this.styles = [r`
@@ -22132,7 +22058,7 @@ var Mf = class {
22132
22058
  }
22133
22059
  }
22134
22060
  connectedCallback() {
22135
- super.connectedCallback(), O(this, "focusout").pipe(V(() => this.editable), G(() => {
22061
+ super.connectedCallback(), O(this, "focusout").pipe(H(() => this.editable), K(() => {
22136
22062
  let e = this._editRef.value;
22137
22063
  if (!e) return;
22138
22064
  let t = e.innerText.trim();
@@ -22141,10 +22067,10 @@ var Mf = class {
22141
22067
  bubbles: !0,
22142
22068
  composed: !0
22143
22069
  })), t || (e.textContent = "");
22144
- }), g(this.disconnecting)).subscribe(), O(this, "input").pipe(V(() => this.editable), G(() => {
22070
+ }), g(this.disconnecting)).subscribe(), O(this, "input").pipe(H(() => this.editable), K(() => {
22145
22071
  let e = this._editRef.value;
22146
22072
  e && !e.innerText.trim() && (e.textContent = "");
22147
- }), g(this.disconnecting)).subscribe(), O(this, "keydown").pipe(V(() => this.editable), V((e) => e.key === "Enter"), G((e) => {
22073
+ }), g(this.disconnecting)).subscribe(), O(this, "keydown").pipe(H(() => this.editable), H((e) => e.key === "Enter"), K((e) => {
22148
22074
  e.preventDefault(), (this._editRef.value ?? this).blur();
22149
22075
  }), g(this.disconnecting)).subscribe();
22150
22076
  }
@@ -22730,7 +22656,7 @@ var Hf = class extends M {
22730
22656
  `];
22731
22657
  }
22732
22658
  connectedCallback() {
22733
- super.connectedCallback(), this.initiallyHidden ? this._visible = !1 : Pt(this.auto ? pt(null) : O(this, "ready").pipe(H(1)), D(this.minDuration)).pipe(H(1), G(() => this._dismiss()), g(this.disconnecting)).subscribe();
22659
+ super.connectedCallback(), this.initiallyHidden ? this._visible = !1 : Nt(this.auto ? B(null) : O(this, "ready").pipe(U(1)), D(this.minDuration)).pipe(U(1), K(() => this._dismiss()), g(this.disconnecting)).subscribe();
22734
22660
  }
22735
22661
  ready() {
22736
22662
  this.dispatchEvent(new Event("ready"));
@@ -22796,4 +22722,4 @@ var Uf = class extends M {
22796
22722
  }
22797
22723
  };
22798
22724
  Uf = x([y("schmancy-visually-hidden")], Uf);
22799
- export { id as $drawer, Bu as $notify, Ci as $sounds, Vi as ANIMATION_CSS_VARS, Fi as BLACKBIRD_EASING, vc as DISCOVER_EVENT, yc as DISCOVER_RESPONSE_EVENT, Bi as DURATION_BACKDROP, Ri as DURATION_ENTER, zi as DURATION_EXIT, pa as DragDirective, ha as DropDirective, Li as EASE_IN, Ii as EASE_OUT, Si as EmotionalSoundGenerator, on as FINDING_MORTIES, Yi as GRID_ANIMATION_CSS, sn as HERE_RICKY, dn as HISTORY_STRATEGY, ff as HereMorty, ed as List, If as Numbers, Su as RadioButton, xu as RadioGroup, Zl as SCHMANCY_EXPAND_REQUEST_CLOSE, Ni as SPRING_BOUNCY, Pi as SPRING_GENTLE, J as SPRING_SMOOTH, Y as SPRING_SNAPPY, to as ScBadgeV2, fn as SchmancyArea, rs as SchmancyAssistChip, Lf as SchmancyAvatar, eo as SchmancyBadgeV2, ao as SchmancyBoat, Rf as SchmancyBreadcrumb, zf as SchmancyBreadcrumbItem, lo as SchmancyButton, ns as SchmancyCheckbox, as as SchmancyChip, as as SchmancyFilterChip, ss as SchmancyConnectivityStatus, Ns as SchmancyContentDrawer, fs as SchmancyContentDrawerID, Ps as SchmancyContentDrawerMain, ps as SchmancyContentDrawerMaxHeight, ms as SchmancyContentDrawerMinWidth, Fs as SchmancyContentDrawerSheet, us as SchmancyContentDrawerSheetMode, ds as SchmancyContentDrawerSheetState, Xr as SchmancyContext, sf as SchmancyDataTable, Ks as SchmancyDateRange, Js as SchmancyDateRangeInline, hc as SchmancyDelay, _c as SchmancyDetails, ad as SchmancyDrawerAppbar, cd as SchmancyDrawerNavbarMode, ld as SchmancyDrawerNavbarState, Kl as SchmancyDropdown, ql as SchmancyDropdownContent, M as SchmancyElement, cs as SchmancyEvents, Xl as SchmancyExpandRoot, du as SchmancyFloat, hu as SchmancyForm, gu as SchmancyFormSummary, Tf as SchmancyGenerateMoodAudioEvent, Au as SchmancyIframe, yu as SchmancyInput, ji as SchmancyInputChip, bu as SchmancyInputCompat, Uu as SchmancyJson, Bf as SchmancyKbd, Gu as SchmancyLightbox, $u as SchmancyListItem, Zu as SchmancyListTypeContext, md as SchmancyNavigationBar, pd as SchmancyNavigationBarItem, ud as SchmancyNavigationDrawer, od as SchmancyNavigationDrawerContent, fd as SchmancyNavigationDrawerSidebar, gd as SchmancyNavigationRail, hd as SchmancyNavigationRailItem, Fu as SchmancyNotification, Nd as SchmancyOverlay, Be as SchmancyOverlayPromptBody, Fd as SchmancyPage, Cu as SchmancyRange, un as SchmancyRoute, Wu as SchmancyScroll, wu as SchmancySelect, Vf as SchmancySkeleton, Ld as SchmancySlide, Rd as SchmancySlider, Vd as SchmancyStep, Hd as SchmancyStepsContainer, os as SchmancySuggestionChip, Yl as SchmancySurface, Jl as SchmancySurfaceTypeContext, Tu as SchmancySwitch, Ud as SchmancyTableRow, hf as SchmancyTeleportation, Q as SchmancyTheme, Ef as SchmancyThemeAudioPlayer, Cf as SchmancyThemeComponent, wf as SchmancyThemeController, Df as SchmancyThemeControllerBoat, jf as SchmancyTree, Pf as SchmancyTypography, Uf as SchmancyVisuallyHidden, lu as SchmancyWindow, uo as SchmnacyIconButton, Ge as Signal, zd as StepsController, ba as ThemeHereIAm, ya as ThemeWhereAreYou, df as WhereAreYouRicky, He as _activeHost, Zi as animateText, ln as area, gi as bindState, An as buildQueryString, Qi as color, Tn as compareActiveRoutes, gn as compareCustomElementConstructors, wn as compareRouteActions, Ae as computed, Os as confirm, ta as confirmClick, Wi as createAnimation, yf as createDarkTonalPaletteFromBaseColor, Ki as createDismissAnimation, vf as createLightTonalPaletteFromBaseColor, Gi as createRevealAnimation, En as createRouteCacheKey, qi as createScaleAnimation, ra as cursorGlow, ia as cycleText, xn as debounce, mn as decodeData, Cn as decodeRouteState, yn as deepMerge, mc as delayContext, aa as depthOfField, wc as discover, Cc as discoverAllElements, xc as discoverAnyComponent, bc as discoverComponent, Sc as discoverElement, js as dismissAll, ma as drag, ga as drop, pi as effect, pn as encodeData, Sn as encodeRouteState, kn as extractQueryParams, qu as flip, fu as formSubmitState, _f as formatTheme, Aa as fromResizeObserver, ja as fullHeight, Ma as fullWidth, Hi as getEasing, vn as getTagName, _a as gravity, va as intersect, Ff as intersection$, bn as isObject, hn as lazy, Xu as lightbox, Ju as lightboxDirective, Ia as liquid, Ba as livingBorder, Ha as longPress, Ua as magnetic, Id as mutationObserver, Ya as nebula, _n as normalizeTagName, Vu as notify, Hu as notifyProgress, _i as observe, ws as openOverlays$, As as overlayEvents, $l as overlayStack, Ui as prefersReducedMotion, ks as prompt, X as reducedMotion$, Za as reveal, $a as ripple, an as routerHistory, On as sanitizeRouteState, ls as schmancyContentDrawer, rd as schmancyNavDrawer, xi as schmancySound, Ca as schmancyTheme, Ds as show, ki as similarity, bi as sound, fi as state, mi as stateFromObservable, Bd as stepsContext, Ji as tailwindAnimations, bf as tailwindStyles, pf as teleport, Sa as theme, te as themeContext, Af as tooltip, Nf as typewriter, Us as validateInitialDateRange, iu as windowManager };
22725
+ export { id as $drawer, Bu as $notify, Si as $sounds, Vi as ANIMATION_CSS_VARS, Fi as BLACKBIRD_EASING, vc as DISCOVER_EVENT, yc as DISCOVER_RESPONSE_EVENT, Bi as DURATION_BACKDROP, Ri as DURATION_ENTER, zi as DURATION_EXIT, pa as DragDirective, ha as DropDirective, Li as EASE_IN, Ii as EASE_OUT, xi as EmotionalSoundGenerator, an as FINDING_MORTIES, Yi as GRID_ANIMATION_CSS, on as HERE_RICKY, un as HISTORY_STRATEGY, ff as HereMorty, ed as List, If as Numbers, Su as RadioButton, xu as RadioGroup, Zl as SCHMANCY_EXPAND_REQUEST_CLOSE, Ni as SPRING_BOUNCY, Pi as SPRING_GENTLE, J as SPRING_SMOOTH, Y as SPRING_SNAPPY, to as ScBadgeV2, dn as SchmancyArea, rs as SchmancyAssistChip, Lf as SchmancyAvatar, eo as SchmancyBadgeV2, ao as SchmancyBoat, Rf as SchmancyBreadcrumb, zf as SchmancyBreadcrumbItem, lo as SchmancyButton, ns as SchmancyCheckbox, as as SchmancyChip, as as SchmancyFilterChip, ss as SchmancyConnectivityStatus, Ns as SchmancyContentDrawer, fs as SchmancyContentDrawerID, Ps as SchmancyContentDrawerMain, ps as SchmancyContentDrawerMaxHeight, ms as SchmancyContentDrawerMinWidth, Fs as SchmancyContentDrawerSheet, us as SchmancyContentDrawerSheetMode, ds as SchmancyContentDrawerSheetState, Yr as SchmancyContext, sf as SchmancyDataTable, Ks as SchmancyDateRange, Js as SchmancyDateRangeInline, hc as SchmancyDelay, _c as SchmancyDetails, ad as SchmancyDrawerAppbar, cd as SchmancyDrawerNavbarMode, ld as SchmancyDrawerNavbarState, Kl as SchmancyDropdown, ql as SchmancyDropdownContent, M as SchmancyElement, cs as SchmancyEvents, Xl as SchmancyExpandRoot, du as SchmancyFloat, hu as SchmancyForm, gu as SchmancyFormSummary, Tf as SchmancyGenerateMoodAudioEvent, Au as SchmancyIframe, yu as SchmancyInput, ji as SchmancyInputChip, bu as SchmancyInputCompat, Uu as SchmancyJson, Bf as SchmancyKbd, Gu as SchmancyLightbox, $u as SchmancyListItem, Zu as SchmancyListTypeContext, md as SchmancyNavigationBar, pd as SchmancyNavigationBarItem, ud as SchmancyNavigationDrawer, od as SchmancyNavigationDrawerContent, fd as SchmancyNavigationDrawerSidebar, gd as SchmancyNavigationRail, hd as SchmancyNavigationRailItem, Fu as SchmancyNotification, Nd as SchmancyOverlay, Be as SchmancyOverlayPromptBody, Fd as SchmancyPage, Cu as SchmancyRange, ln as SchmancyRoute, Wu as SchmancyScroll, wu as SchmancySelect, Vf as SchmancySkeleton, Ld as SchmancySlide, Rd as SchmancySlider, Vd as SchmancyStep, Hd as SchmancyStepsContainer, os as SchmancySuggestionChip, Yl as SchmancySurface, Jl as SchmancySurfaceTypeContext, Tu as SchmancySwitch, Ud as SchmancyTableRow, hf as SchmancyTeleportation, Q as SchmancyTheme, Ef as SchmancyThemeAudioPlayer, Cf as SchmancyThemeComponent, wf as SchmancyThemeController, Df as SchmancyThemeControllerBoat, jf as SchmancyTree, Pf as SchmancyTypography, Uf as SchmancyVisuallyHidden, lu as SchmancyWindow, uo as SchmnacyIconButton, Ge as Signal, zd as StepsController, ba as ThemeHereIAm, ya as ThemeWhereAreYou, df as WhereAreYouRicky, He as _activeHost, Zi as animateText, cn as area, hi as bindState, kn as buildQueryString, Qi as color, wn as compareActiveRoutes, hn as compareCustomElementConstructors, Cn as compareRouteActions, Ae as computed, Os as confirm, ta as confirmClick, Wi as createAnimation, yf as createDarkTonalPaletteFromBaseColor, Ki as createDismissAnimation, vf as createLightTonalPaletteFromBaseColor, Gi as createRevealAnimation, Tn as createRouteCacheKey, qi as createScaleAnimation, ra as cursorGlow, ia as cycleText, bn as debounce, pn as decodeData, Sn as decodeRouteState, vn as deepMerge, mc as delayContext, aa as depthOfField, wc as discover, Cc as discoverAllElements, xc as discoverAnyComponent, bc as discoverComponent, Sc as discoverElement, js as dismissAll, ma as drag, ga as drop, fi as effect, fn as encodeData, xn as encodeRouteState, On as extractQueryParams, qu as flip, fu as formSubmitState, _f as formatTheme, Aa as fromResizeObserver, ja as fullHeight, Ma as fullWidth, Hi as getEasing, _n as getTagName, _a as gravity, va as intersect, Ff as intersection$, yn as isObject, mn as lazy, Xu as lightbox, Ju as lightboxDirective, Ia as liquid, Ba as livingBorder, Ha as longPress, Ua as magnetic, Id as mutationObserver, Ya as nebula, gn as normalizeTagName, Vu as notify, Hu as notifyProgress, gi as observe, ws as openOverlays$, As as overlayEvents, $l as overlayStack, Ui as prefersReducedMotion, ks as prompt, X as reducedMotion$, Za as reveal, $a as ripple, rn as routerHistory, Dn as sanitizeRouteState, ls as schmancyContentDrawer, rd as schmancyNavDrawer, bi as schmancySound, Ca as schmancyTheme, Ds as show, ki as similarity, yi as sound, di as state, pi as stateFromObservable, Bd as stepsContext, Ji as tailwindAnimations, bf as tailwindStyles, pf as teleport, Sa as theme, te as themeContext, Af as tooltip, Nf as typewriter, Us as validateInitialDateRange, iu as windowManager };