@wssto2/vue-core 0.2.0 → 0.3.0

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 (265) hide show
  1. package/README.md +33 -0
  2. package/dist/AccessGate.vue_vue_type_script_setup_true_lang-DKX3PH2n.js +22 -0
  3. package/dist/AccountMenuItem.vue_vue_type_script_setup_true_lang-DIGqTLwd.js +76 -0
  4. package/dist/ActionRow.vue_vue_type_script_setup_true_lang-B7Lpfkf6.js +45 -0
  5. package/dist/Activity-DviO0VQ8.js +156 -0
  6. package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-CeKK8_g5.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-CvAnzdc1.js} +48 -47
  7. package/dist/{AlertDialog.vue_vue_type_script_setup_true_lang-e4hzkzg3.js → AlertDialog.vue_vue_type_script_setup_true_lang-CJsMUIUg.js} +1 -1
  8. package/dist/{AsyncSection.vue_vue_type_script_setup_true_lang-CWLB3xsR.js → AsyncSection.vue_vue_type_script_setup_true_lang-CCtthMRd.js} +4 -4
  9. package/dist/{Banner.vue_vue_type_script_setup_true_lang-n_wGPIIu.js → Banner.vue_vue_type_script_setup_true_lang-Cib_YYpr.js} +1 -1
  10. package/dist/{BottomDock.vue_vue_type_script_setup_true_lang-DhlMnPC2.js → BottomDock.vue_vue_type_script_setup_true_lang-CjN7xYEr.js} +1 -1
  11. package/dist/{Button.vue_vue_type_script_setup_true_lang-B1eZgLae.js → Button.vue_vue_type_script_setup_true_lang-CYil8h9z.js} +1 -1
  12. package/dist/Changes-DlT5mN9G.js +129 -0
  13. package/dist/CollectionPage.vue_vue_type_script_setup_true_lang-CXILftEc.js +1481 -0
  14. package/dist/DataTable.vue_vue_type_script_setup_true_lang-DSYgS9lC.js +52 -0
  15. package/dist/DateField.vue_vue_type_script_setup_true_lang-DMVjNsaM.js +1099 -0
  16. package/dist/{DiscardChangesModal.vue_vue_type_script_setup_true_lang-DyhYHRyz.js → DiscardChangesModal.vue_vue_type_script_setup_true_lang-Cb3xJI1x.js} +1 -1
  17. package/dist/{EmptyState.vue_vue_type_script_setup_true_lang-BeGpHMUP.js → EmptyState.vue_vue_type_script_setup_true_lang-C2ZYIT9F.js} +1 -1
  18. package/dist/FormErrors.vue_vue_type_script_setup_true_lang-DVgNBQ8p.js +276 -0
  19. package/dist/FormGroup.vue_vue_type_script_setup_true_lang-0mfG8TkU.js +136 -0
  20. package/dist/FormView.vue_vue_type_script_setup_true_lang-Bz2m3AtF.js +38 -0
  21. package/dist/General-BD-Hcz0a.js +145 -0
  22. package/dist/{Icon.vue_vue_type_script_lang-DtC4_mkz.js → Icon.vue_vue_type_script_lang-VvcV2Bzo.js} +46 -33
  23. package/dist/{IconTile.vue_vue_type_script_setup_true_lang-Csfv6Sel.js → IconTile.vue_vue_type_script_setup_true_lang-D7QgnUyN.js} +1 -1
  24. package/dist/KeyValue.vue_vue_type_script_setup_true_lang-wcZcvnow.js +35 -0
  25. package/dist/{LeaveGuardRoot.vue_vue_type_script_setup_true_lang-CvwoT1JF.js → LeaveGuardRoot.vue_vue_type_script_setup_true_lang-C2udmeEA.js} +2 -2
  26. package/dist/{Menu.vue_vue_type_script_setup_true_lang-CrMj6KPD.js → Menu.vue_vue_type_script_setup_true_lang-BNAjx9tj.js} +61 -57
  27. package/dist/{Modal.vue_vue_type_script_setup_true_lang-BQZM49gC.js → Modal.vue_vue_type_script_setup_true_lang-D7SwVPpL.js} +4 -4
  28. package/dist/NewRolePage-Dla4YnMs.js +42 -0
  29. package/dist/NoAccess.vue_vue_type_script_setup_true_lang-8m9cNptR.js +31 -0
  30. package/dist/NumberField.vue_vue_type_script_setup_true_lang-CYRg7Kfg.js +113 -0
  31. package/dist/OtpInput.vue_vue_type_script_setup_true_lang-gp4FfWAH.js +95 -0
  32. package/dist/PageBar.vue_vue_type_script_setup_true_lang-Cfr5xsJx.js +47 -0
  33. package/dist/{Panel.vue_vue_type_script_setup_true_lang-BQmv3cLb.js → Panel.vue_vue_type_script_setup_true_lang-BCRxRK4D.js} +1 -1
  34. package/dist/{PhotoViewer.vue_vue_type_script_setup_true_lang-ElDizaW2.js → PhotoViewer.vue_vue_type_script_setup_true_lang-B3Q4dhqJ.js} +1 -1
  35. package/dist/Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js +125 -0
  36. package/dist/ProfilePage-OJMQ8cr8.js +691 -0
  37. package/dist/{ProgressTrack.vue_vue_type_script_setup_true_lang-1DDaNs2W.js → ProgressTrack.vue_vue_type_script_setup_true_lang-B6Prw9hi.js} +2 -2
  38. package/dist/RecordHeader.vue_vue_type_script_setup_true_lang-DKsaKlAq.js +64 -0
  39. package/dist/ResourcePage.vue_vue_type_script_setup_true_lang-CJcKa9SW.js +173 -0
  40. package/dist/RoleEditor.vue_vue_type_script_setup_true_lang-DuEPOmjI.js +299 -0
  41. package/dist/RolePage-bZzv_E4l.js +315 -0
  42. package/dist/RolesPage-BniZv0nB.js +115 -0
  43. package/dist/SectionIntro.vue_vue_type_script_setup_true_lang-CZtPrmXD.js +23 -0
  44. package/dist/SectionList.vue_vue_type_script_setup_true_lang-BKP_bge8.js +148 -0
  45. package/dist/SectionNavigator.vue_vue_type_script_setup_true_lang-BgGEGxSI.js +314 -0
  46. package/dist/SegmentedField.vue_vue_type_script_setup_true_lang-BZ9UdgA1.js +58 -0
  47. package/dist/SelectField.vue_vue_type_script_setup_true_lang-BiGaEKBQ.js +422 -0
  48. package/dist/SessionList.vue_vue_type_script_setup_true_lang-DUQpr7gb.js +111 -0
  49. package/dist/Sessions-Co5-xdeb.js +96 -0
  50. package/dist/Sheet.vue_vue_type_script_setup_true_lang-bHYzx7-J.js +142 -0
  51. package/dist/SignIn-BWwFbxki.js +140 -0
  52. package/dist/SignInPage-FnLtoi2q.js +60 -0
  53. package/dist/SignInTable.vue_vue_type_script_setup_true_lang-Dnx3T_42.js +79 -0
  54. package/dist/SignIns-3UcI64_h.js +66 -0
  55. package/dist/SwipeActions.vue_vue_type_script_setup_true_lang-4I8m27ol.js +93 -0
  56. package/dist/Tabs.vue_vue_type_script_setup_true_lang-BeGaydRr.js +155 -0
  57. package/dist/TextField.vue_vue_type_script_setup_true_lang-C_FMf3Vc.js +269 -0
  58. package/dist/TextareaField.vue_vue_type_script_setup_true_lang-CU3KTKIJ.js +127 -0
  59. package/dist/{Timestamp.vue_vue_type_script_setup_true_lang-CSY_mMm1.js → Timestamp.vue_vue_type_script_setup_true_lang-1RJGKxbD.js} +1 -1
  60. package/dist/UserRecord-Ci8HfwbX.js +267 -0
  61. package/dist/UsersList-vEJ-cgkT.js +155 -0
  62. package/dist/ViewTabs.vue_vue_type_script_setup_true_lang-ByqTU2JT.js +28 -0
  63. package/dist/access/AddRoleDialog.vue.d.ts +19 -0
  64. package/dist/access/BindingRow.vue.d.ts +19 -0
  65. package/dist/access/EffectiveAccess.vue.d.ts +12 -0
  66. package/dist/access/NewRolePage.vue.d.ts +2 -0
  67. package/dist/access/PermissionTree.vue.d.ts +13 -0
  68. package/dist/access/PersonAccess.vue.d.ts +21 -0
  69. package/dist/access/ReplaceRoleDialog.vue.d.ts +17 -0
  70. package/dist/access/RoleCompareDialog.vue.d.ts +14 -0
  71. package/dist/access/RoleEditor.vue.d.ts +28 -0
  72. package/dist/access/RolePage.vue.d.ts +2 -0
  73. package/dist/access/RolesPage.vue.d.ts +2 -0
  74. package/dist/access/api.d.ts +26 -0
  75. package/dist/access/catalogue.d.ts +64 -0
  76. package/dist/access/context.d.ts +20 -0
  77. package/dist/access/effective.d.ts +42 -0
  78. package/dist/access/feature.d.ts +27 -0
  79. package/dist/access/index.d.ts +13 -0
  80. package/dist/access/index.js +15 -0
  81. package/dist/access/labels.d.ts +35 -0
  82. package/dist/access/refusals.d.ts +6 -0
  83. package/dist/access/routes.d.ts +45 -0
  84. package/dist/access/scopes.d.ts +20 -0
  85. package/dist/app/contributions.d.ts +1 -1
  86. package/dist/app/feature.d.ts +8 -0
  87. package/dist/app/index.js +259 -296
  88. package/dist/bottomDock-BZEiOPYZ.js +12 -0
  89. package/dist/button/Button.vue.d.ts +3 -3
  90. package/dist/button/index.js +1 -1
  91. package/dist/chrome-BS3xJcad.js +93 -0
  92. package/dist/client/client.d.ts +13 -0
  93. package/dist/client/index.d.ts +3 -1
  94. package/dist/client/index.js +19 -138
  95. package/dist/client/route.d.ts +59 -0
  96. package/dist/client-Bw0aM5Gu.js +147 -0
  97. package/dist/closeOverlays-CjVsIrpL.js +8 -0
  98. package/dist/collection/http.d.ts +4 -2
  99. package/dist/collection/index.js +74 -2428
  100. package/dist/content/index.js +37 -66
  101. package/dist/contributions-CDDg3fKp.js +26 -0
  102. package/dist/controls/DateButton.vue.d.ts +1 -1
  103. package/dist/controls/PopupButton.vue.d.ts +1 -1
  104. package/dist/controls/index.js +11 -10
  105. package/dist/defineRoutes-BGAdiIrt.js +19 -0
  106. package/dist/{describeError-l5T9b8Uv.js → describeError-Ctga6GcS.js} +1 -1
  107. package/dist/environment-Dva-SG8D.js +6 -0
  108. package/dist/{error-Bb_dr_Ay.js → error-CD7x0Jrz.js} +2 -2
  109. package/dist/feature-DdUAfyi4.js +25 -0
  110. package/dist/fieldMessages-C3Rpbktw.js +25 -0
  111. package/dist/form/CheckboxField.vue.d.ts +1 -1
  112. package/dist/form/CommandDialog.vue.d.ts +1 -1
  113. package/dist/form/DateField.vue.d.ts +1 -1
  114. package/dist/form/DateTimeField.vue.d.ts +1 -1
  115. package/dist/form/EditorPage.vue.d.ts +1 -1
  116. package/dist/form/Field.vue.d.ts +1 -1
  117. package/dist/form/FileField.vue.d.ts +1 -1
  118. package/dist/form/FormGroup.vue.d.ts +1 -1
  119. package/dist/form/FormGroupButton.vue.d.ts +1 -1
  120. package/dist/form/FormRow.vue.d.ts +1 -1
  121. package/dist/form/I18nField.vue.d.ts +3 -3
  122. package/dist/form/MoneyField.vue.d.ts +1 -1
  123. package/dist/form/MonthYearField.vue.d.ts +1 -1
  124. package/dist/form/NumberCell.vue.d.ts +1 -1
  125. package/dist/form/NumberField.vue.d.ts +2 -2
  126. package/dist/form/OtpInput.vue.d.ts +2 -2
  127. package/dist/form/PhotoField.vue.d.ts +1 -1
  128. package/dist/form/SwitchField.vue.d.ts +1 -1
  129. package/dist/form/TextField.vue.d.ts +3 -3
  130. package/dist/form/TextareaField.vue.d.ts +3 -3
  131. package/dist/form/TimeField.vue.d.ts +1 -1
  132. package/dist/form/date/DatePickerSheet.vue.d.ts +1 -1
  133. package/dist/form/date/MonthYearPanel.vue.d.ts +1 -1
  134. package/dist/form/index.js +1262 -3430
  135. package/dist/guards-Cd1V28oG.js +51 -0
  136. package/dist/http-DGGSKWvU.js +193 -0
  137. package/dist/i18n/index.d.ts +281 -0
  138. package/dist/i18n/index.js +50 -50
  139. package/dist/icon/core.d.ts +13 -0
  140. package/dist/icon/index.js +1 -1
  141. package/dist/identity/ImpersonationBanner.vue.d.ts +2 -0
  142. package/dist/identity/LocaleSync.vue.d.ts +2 -0
  143. package/dist/identity/SessionExpiry.vue.d.ts +2 -0
  144. package/dist/identity/SignInAsButton.vue.d.ts +15 -0
  145. package/dist/identity/SignInPage.vue.d.ts +2 -0
  146. package/dist/identity/context.d.ts +7 -0
  147. package/dist/identity/feature.d.ts +16 -0
  148. package/dist/identity/fieldMessages.d.ts +15 -0
  149. package/dist/identity/index.d.ts +16 -0
  150. package/dist/identity/index.js +18 -0
  151. package/dist/identity/profile/DetailsPanel.vue.d.ts +11 -0
  152. package/dist/identity/profile/EmailChangeDialog.vue.d.ts +14 -0
  153. package/dist/identity/profile/EmailPanel.vue.d.ts +11 -0
  154. package/dist/identity/profile/PanelActions.vue.d.ts +17 -0
  155. package/dist/identity/profile/PasswordPanel.vue.d.ts +2 -0
  156. package/dist/identity/profile/ProfileMenuItem.vue.d.ts +2 -0
  157. package/dist/identity/profile/ProfilePage.vue.d.ts +2 -0
  158. package/dist/identity/profile/SessionsPanel.vue.d.ts +2 -0
  159. package/dist/identity/profile/SignInsPanel.vue.d.ts +2 -0
  160. package/dist/identity/profile/VerifyCode.vue.d.ts +49 -0
  161. package/dist/identity/profile/routes.d.ts +13 -0
  162. package/dist/identity/session.d.ts +30 -0
  163. package/dist/identity/shared/ActionRow.vue.d.ts +20 -0
  164. package/dist/identity/shared/ChangeFeed.vue.d.ts +11 -0
  165. package/dist/identity/shared/PageBar.vue.d.ts +12 -0
  166. package/dist/identity/shared/SectionIntro.vue.d.ts +16 -0
  167. package/dist/identity/shared/SessionList.vue.d.ts +19 -0
  168. package/dist/identity/shared/SignInTable.vue.d.ts +11 -0
  169. package/dist/identity/shared/ViewTabs.vue.d.ts +23 -0
  170. package/dist/identity/shared/signInEvents.d.ts +9 -0
  171. package/dist/identity/signIn.d.ts +27 -0
  172. package/dist/identity/useSignInForm.d.ts +20 -0
  173. package/dist/identity/user.d.ts +6 -0
  174. package/dist/identity/users/DeactivateDialog.vue.d.ts +18 -0
  175. package/dist/identity/users/NewUserDialog.vue.d.ts +9 -0
  176. package/dist/identity/users/SetPasswordDialog.vue.d.ts +16 -0
  177. package/dist/identity/users/UserRecord.vue.d.ts +2 -0
  178. package/dist/identity/users/UsersList.vue.d.ts +2 -0
  179. package/dist/identity/users/access.d.ts +4 -0
  180. package/dist/identity/users/context.d.ts +9 -0
  181. package/dist/identity/users/feature.d.ts +34 -0
  182. package/dist/identity/users/languages.d.ts +4 -0
  183. package/dist/identity/users/list.d.ts +8 -0
  184. package/dist/identity/users/person.d.ts +26 -0
  185. package/dist/identity/users/personSections.d.ts +22 -0
  186. package/dist/identity/users/routes.d.ts +22 -0
  187. package/dist/identity/users/sections/Activity.vue.d.ts +2 -0
  188. package/dist/identity/users/sections/Changes.vue.d.ts +2 -0
  189. package/dist/identity/users/sections/General.vue.d.ts +2 -0
  190. package/dist/identity/users/sections/Sessions.vue.d.ts +2 -0
  191. package/dist/identity/users/sections/SignIn.vue.d.ts +2 -0
  192. package/dist/identity/users/sections/SignIns.vue.d.ts +2 -0
  193. package/dist/identity/users/status.d.ts +4 -0
  194. package/dist/index-B2dbYZR9.js +706 -0
  195. package/dist/index-BAcl44SC.js +459 -0
  196. package/dist/index.d.ts +1 -1
  197. package/dist/index.js +1 -1
  198. package/dist/internal/languageName.d.ts +2 -0
  199. package/dist/keepAlive-WYQGRhuz.js +48 -0
  200. package/dist/languageName-CItV_SOv.js +11 -0
  201. package/dist/languages-BShG9LpE.js +10 -0
  202. package/dist/leaveGuard-Cc8yeLxM.js +72 -0
  203. package/dist/modal/Modal.vue.d.ts +1 -1
  204. package/dist/modal/index.js +5 -5
  205. package/dist/modules/access/entities.d.ts +112 -0
  206. package/dist/modules/access/routes.d.ts +67 -0
  207. package/dist/modules/access/schemas.d.ts +73 -0
  208. package/dist/modules/identity/entities.d.ts +150 -0
  209. package/dist/modules/identity/routes.d.ts +118 -0
  210. package/dist/modules/identity/schemas.d.ts +145 -0
  211. package/dist/{navigation-B33ikiCS.js → navigation-BPWa63ge.js} +21 -20
  212. package/dist/neighbors-D0WRBxXI.js +86 -0
  213. package/dist/{options-DAkBtYkI.js → options-BXkMR63B.js} +51 -52
  214. package/dist/overlay/AlertDialog.vue.d.ts +3 -3
  215. package/dist/overlay/Popover.vue.d.ts +1 -1
  216. package/dist/overlay/closeOverlays.d.ts +7 -0
  217. package/dist/overlay/index.js +21 -20
  218. package/dist/page/AdaptivePageShell.vue.d.ts +2 -2
  219. package/dist/page/ResourceHeader.vue.d.ts +2 -2
  220. package/dist/page/index.js +99 -457
  221. package/dist/phone/PhoneField.vue.d.ts +2 -2
  222. package/dist/phone/index.js +2 -2
  223. package/dist/platform/index.d.ts +2 -2
  224. package/dist/platform/index.js +73 -90
  225. package/dist/platform/platform.d.ts +2 -2
  226. package/dist/platform/session.d.ts +22 -1
  227. package/dist/platform-hunMqFdB.js +255 -0
  228. package/dist/resource/index.js +8 -248
  229. package/dist/routeResource-DstM0hvf.js +82 -0
  230. package/dist/router/guards.d.ts +7 -1
  231. package/dist/router/index.js +23 -37
  232. package/dist/router/navigation.d.ts +1 -1
  233. package/dist/rowLayout-BI7a3Kom.js +603 -0
  234. package/dist/sectionIndex-BS0ic5W7.js +86 -0
  235. package/dist/{sections-LtxV5Mtk.js → sections-BEqW1dOc.js} +1 -1
  236. package/dist/shell/AccountMenuItem.vue.d.ts +1 -1
  237. package/dist/shell/BackofficeShell.vue.d.ts +2 -2
  238. package/dist/shell/NavigationList.vue.d.ts +1 -1
  239. package/dist/shell/ShellBrand.vue.d.ts +1 -1
  240. package/dist/shell/backofficeShell.d.ts +1 -1
  241. package/dist/shell/identity.d.ts +1 -1
  242. package/dist/shell/index.js +507 -575
  243. package/dist/state/ProgressTrack.vue.d.ts +1 -1
  244. package/dist/state/index.js +59 -92
  245. package/dist/status-C9aXR-Jb.js +33 -0
  246. package/dist/styles.css +1 -1
  247. package/dist/suggestions-BJAqOj4c.js +138 -0
  248. package/dist/testing/index.js +1 -1
  249. package/dist/toast-D9Z5To38.js +13 -0
  250. package/dist/useCommand-BgRwnYlV.js +135 -0
  251. package/dist/useLoad-CYRVx6HW.js +39 -0
  252. package/dist/useResourceForm-Bgc9jMcu.js +52 -0
  253. package/dist/useSaveChrome-chi6D3HY.js +25 -0
  254. package/dist/useSheetDrag-OsD6Eb6I.js +72 -0
  255. package/package.json +22 -5
  256. package/dist/NoAccess.vue_vue_type_script_setup_true_lang-OKW8pKYU.js +0 -78
  257. package/dist/SectionList.vue_vue_type_script_setup_true_lang-L9ita_Kx.js +0 -230
  258. package/dist/SelectField.vue_vue_type_script_setup_true_lang-DZTrU8NJ.js +0 -661
  259. package/dist/Sheet.vue_vue_type_script_setup_true_lang-CtkJ-4e3.js +0 -210
  260. package/dist/SwipeActions.vue_vue_type_script_setup_true_lang-CGTuEnTv.js +0 -243
  261. package/dist/chrome-D9pwD6iS.js +0 -101
  262. package/dist/environment-D3nozt9a.js +0 -75
  263. package/dist/feature-DyDtyMLU.js +0 -47
  264. package/dist/platform-jqlKVJ2e.js +0 -244
  265. package/dist/toast-DvrHQ6Ag.js +0 -131
@@ -1,284 +1,215 @@
1
- import { defineComponent as M, computed as C, openBlock as r, createElementBlock as p, normalizeClass as y, createBlock as T, resolveDynamicComponent as he, unref as n, mergeProps as K, withCtx as I, createCommentVNode as L, createElementVNode as d, toDisplayString as O, provide as ne, ref as V, useId as ie, createVNode as h, withDirectives as Oe, Fragment as F, renderList as ee, vShow as Re, useTemplateRef as te, renderSlot as D, createSlots as W, normalizeProps as X, guardReactiveProps as Y, watch as q, onScopeDispose as le, inject as be, onBeforeUnmount as Be, normalizeStyle as ge, nextTick as ye, Teleport as Ne, shallowRef as Pe, h as J } from "vue";
1
+ import { defineComponent as I, provide as ae, computed as C, ref as F, useId as se, openBlock as u, createElementBlock as h, normalizeClass as _, unref as n, createVNode as p, createCommentVNode as L, createElementVNode as d, toDisplayString as D, createBlock as O, withDirectives as Ie, Fragment as V, renderList as te, vShow as De, withCtx as T, mergeProps as Y, useTemplateRef as ne, renderSlot as z, createSlots as K, normalizeProps as U, guardReactiveProps as X, watch as q, onScopeDispose as le, inject as be, onBeforeUnmount as Oe, normalizeStyle as ge, nextTick as ye, Teleport as Re, shallowRef as Be, h as Z, resolveDynamicComponent as Ne } from "vue";
2
2
  import { useI18n as N } from "vue-i18n";
3
3
  import { _ as xe } from "../Avatar.vue_vue_type_script_setup_true_lang-CFIheaSr.js";
4
- import { _ as R, u as je, c as Fe } from "../Icon.vue_vue_type_script_lang-DtC4_mkz.js";
5
- import { t as we, _ as Ve } from "../toast-DvrHQ6Ag.js";
6
- import { u as We, S as ae, d as ke } from "../feature-DyDtyMLU.js";
7
- import { b as Ke } from "../environment-D3nozt9a.js";
8
- import { _ as _e } from "../CountryFlag.vue_vue_type_script_setup_true_lang-Kry_vPPZ.js";
9
- import { u as G } from "../platform-jqlKVJ2e.js";
10
- import { RouterLink as oe, useRoute as Ue, useRouter as re } from "vue-router";
11
- import { d as $e } from "../context-Ch1r4fdN.js";
12
- import { _ as Xe } from "../Sheet.vue_vue_type_script_setup_true_lang-CtkJ-4e3.js";
13
- import { _ as Ye } from "../LeaveGuardRoot.vue_vue_type_script_setup_true_lang-CvwoT1JF.js";
4
+ import { _ as B, u as Pe, c as je } from "../Icon.vue_vue_type_script_lang-VvcV2Bzo.js";
5
+ import { _ as Ve } from "../Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js";
6
+ import { u as Fe, S as H } from "../contributions-CDDg3fKp.js";
7
+ import { u as Ke } from "../environment-Dva-SG8D.js";
8
+ import { _ as We } from "../CountryFlag.vue_vue_type_script_setup_true_lang-Kry_vPPZ.js";
9
+ import { l as me } from "../languageName-CItV_SOv.js";
10
+ import { t as we } from "../toast-D9Z5To38.js";
11
+ import { u as Q, h as ie } from "../platform-hunMqFdB.js";
12
+ import { a as Ue, _ as pe, h as re } from "../AccountMenuItem.vue_vue_type_script_setup_true_lang-DIGqTLwd.js";
13
+ import { _ as Xe } from "../Sheet.vue_vue_type_script_setup_true_lang-bHYzx7-J.js";
14
+ import { _ as Ye } from "../LeaveGuardRoot.vue_vue_type_script_setup_true_lang-C2udmeEA.js";
14
15
  import { _ as qe } from "../Toaster.vue_vue_type_script_setup_true_lang-55boRLAj.js";
15
- import { _ as He } from "../BottomDock.vue_vue_type_script_setup_true_lang-DhlMnPC2.js";
16
- import { e as Se } from "../chrome-D9pwD6iS.js";
17
- import { A as Ge } from "../access-DdRFrVV1.js";
18
- import { u as Qe } from "../navigation-B33ikiCS.js";
19
- import { a as H } from "../mediaQuery-CygcXmFW.js";
20
- import { u as Je } from "../useDialog-CXR3hN0G.js";
21
- import { _ as Ze } from "../Menu.vue_vue_type_script_setup_true_lang-CrMj6KPD.js";
22
- import { W as et } from "../useWaitStatus-fsacMl4W.js";
23
- import { S as tt } from "../dialogStack-DZZg55w0.js";
24
- const [nt, at] = $e("vue-core.accountMenu"), [ce] = $e("vue-core.headerSurface"), fe = "focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", ot = "relative not-first:before:absolute not-first:before:top-0 not-first:before:right-0 not-first:before:left-[calc(var(--app-row-inset)+2.25rem)] not-first:before:border-t not-first:before:border-border-separator", me = /* @__PURE__ */ M({
25
- __name: "AccountMenuItem",
26
- props: {
27
- label: {},
28
- icon: { default: void 0 },
29
- to: { default: void 0 },
30
- checked: { type: Boolean, default: void 0 },
31
- selected: { type: Boolean, default: void 0 },
32
- tone: { default: void 0 },
33
- flag: { default: void 0 }
34
- },
35
- emits: ["click"],
36
- setup(e, { emit: a }) {
37
- const t = e, o = a, i = at(), s = C(() => i.appearance === "sheet"), u = C(() => t.checked !== void 0 || t.selected !== void 0), f = C(() => t.tone === "critical"), c = `flex w-full cursor-pointer items-center gap-3 rounded-md px-2 py-1.5 text-left text-sm hover:bg-fill ${fe}`, v = `flex min-h-row w-full cursor-pointer items-center gap-3 px-row-inset py-2 text-left text-body transition-colors duration-motion-fast active:bg-fill ${fe}`;
38
- function b() {
39
- u.value || i.close(), o("click");
40
- }
41
- return (w, _) => (r(), p("div", {
42
- class: y(s.value ? ot : "")
43
- }, [
44
- (r(), T(he(e.to ? n(oe) : "button"), K(e.to ? { to: e.to } : { type: "button" }, {
45
- class: [s.value ? v : c, f.value ? "text-content-destructive" : "text-content-strong", s.value && f.value ? "justify-center" : ""],
46
- role: e.checked !== void 0 ? "switch" : void 0,
47
- "aria-checked": e.checked,
48
- "aria-current": e.selected ? "true" : void 0,
49
- "data-account-menu-item": "",
50
- onClick: b
51
- }), {
52
- default: I(() => [
53
- e.flag ? (r(), T(_e, {
54
- key: 0,
55
- country: e.flag
56
- }, null, 8, ["country"])) : e.icon && !(s.value && f.value) ? (r(), T(n(R), {
57
- key: 1,
58
- name: e.icon,
59
- size: s.value ? 22 : 16,
60
- class: y(["shrink-0", f.value ? "" : "text-content-muted"])
61
- }, null, 8, ["name", "size", "class"])) : L("", !0),
62
- d("span", {
63
- class: y(["min-w-0 truncate", s.value && f.value ? "" : "flex-1"])
64
- }, O(e.label), 3),
65
- e.checked !== void 0 ? (r(), p("span", {
66
- key: 2,
67
- "aria-hidden": "true",
68
- class: y(["relative inline-flex shrink-0 rounded-full transition-colors duration-motion-fast", [e.checked ? "bg-control-on" : "bg-fill-strong", s.value ? "h-switch-height w-switch-width" : "h-5 w-9"]])
69
- }, [
70
- d("span", {
71
- class: y(["absolute top-0.5 left-0.5 aspect-square h-[calc(100%-0.25rem)] rounded-full bg-white shadow-knob transition-transform duration-motion-fast", e.checked ? s.value ? "translate-x-[calc(var(--app-switch-width)-var(--app-switch-height))]" : "translate-x-4" : "translate-x-0"])
72
- }, null, 2)
73
- ], 2)) : e.selected ? (r(), T(n(R), {
74
- key: 3,
75
- name: "checkCustom",
76
- size: 16,
77
- class: "shrink-0 text-content-link"
78
- })) : e.to && s.value ? (r(), T(n(R), {
79
- key: 4,
80
- name: "arrowRightSLine",
81
- size: 18,
82
- class: "shrink-0 text-content-disabled"
83
- })) : L("", !0)
84
- ]),
85
- _: 1
86
- }, 16, ["class", "role", "aria-checked", "aria-current"]))
87
- ], 2));
88
- }
89
- }), st = ["aria-expanded", "aria-controls"], it = { class: "flex-1 whitespace-nowrap" }, lt = { class: "truncate" }, rt = ["id"], Ce = /* @__PURE__ */ M({
16
+ import { _ as Ge } from "../BottomDock.vue_vue_type_script_setup_true_lang-CjN7xYEr.js";
17
+ import { a as ke } from "../chrome-BS3xJcad.js";
18
+ import { A as He } from "../access-DdRFrVV1.js";
19
+ import { RouterLink as ce, useRoute as Qe, useRouter as ue } from "vue-router";
20
+ import { u as Je } from "../navigation-BPWa63ge.js";
21
+ import { a as G } from "../mediaQuery-CygcXmFW.js";
22
+ import { u as Ze } from "../useDialog-CXR3hN0G.js";
23
+ import { _ as et } from "../Menu.vue_vue_type_script_setup_true_lang-BNAjx9tj.js";
24
+ import { W as tt } from "../useWaitStatus-fsacMl4W.js";
25
+ import { d as _e } from "../feature-DdUAfyi4.js";
26
+ import { S as nt } from "../dialogStack-DZZg55w0.js";
27
+ const at = ["aria-expanded", "aria-controls"], ot = { class: "flex-1 whitespace-nowrap" }, st = { class: "truncate" }, lt = ["id"], $e = /* @__PURE__ */ I({
90
28
  __name: "AccountMenuContent",
91
29
  props: {
92
30
  appearance: {}
93
31
  },
94
32
  emits: ["close"],
95
33
  setup(e, { emit: a }) {
96
- const t = e, o = a, { t: i } = N(), { session: s } = G(), u = Ke(), f = We();
97
- ne(nt, { appearance: t.appearance, close: () => o("close") });
98
- const c = t.appearance === "sheet", v = C(() => f.get("accountMenu").length > 0), b = u.locales.length > 1, w = V(!1), _ = ie(), S = (l) => {
99
- try {
100
- const E = new Intl.DisplayNames([l], { type: "language" }).of(l);
101
- return E ? E.charAt(0).toLocaleUpperCase(l) + E.slice(1) : l;
102
- } catch {
103
- return l;
104
- }
105
- }, $ = C(() => S(u.locale.value)), A = (l) => u.localeFlags[l];
106
- async function m() {
34
+ const t = e, o = a, { t: s } = N(), { session: c } = Q(), r = Ke(), m = Fe();
35
+ ae(Ue, { appearance: t.appearance, close: () => o("close") });
36
+ const l = t.appearance === "sheet", v = C(() => m.get("accountMenu").length > 0), g = r.locales.length > 1, x = F(!1), k = se(), $ = C(() => me(r.locale.value)), y = (M) => r.localeFlags[M];
37
+ async function A() {
107
38
  try {
108
- await s.signOut();
39
+ await c.signOut();
109
40
  } catch {
110
- we.error(i("core.shell.account.sign_out_failed"));
41
+ we.error(s("core.shell.account.sign_out_failed"));
111
42
  }
112
43
  }
113
- const z = c ? "overflow-hidden rounded-group bg-surface-cell shadow-group" : "";
114
- return (l, E) => (r(), p("div", {
115
- class: y(c ? "flex flex-col gap-group-gap text-content-strong" : "-m-1.5 space-y-1 *:not-first:border-t *:not-first:border-border-separator *:not-first:pt-1"),
44
+ const f = l ? "overflow-hidden rounded-group bg-surface-cell shadow-group" : "";
45
+ return (M, i) => (u(), h("div", {
46
+ class: _(l ? "flex flex-col gap-group-gap text-content-strong" : "-m-1.5 space-y-1 *:not-first:border-t *:not-first:border-border-separator *:not-first:pt-1"),
116
47
  "data-shell-account-menu": ""
117
48
  }, [
118
- v.value ? (r(), p("div", {
49
+ v.value ? (u(), h("div", {
119
50
  key: 0,
120
- class: y(n(z))
51
+ class: _(n(f))
121
52
  }, [
122
- h(n(ae), { name: "accountMenu" })
53
+ p(n(H), { name: "accountMenu" })
123
54
  ], 2)) : L("", !0),
124
- b ? (r(), p("div", {
55
+ g ? (u(), h("div", {
125
56
  key: 1,
126
- class: y(n(z))
57
+ class: _(n(f))
127
58
  }, [
128
59
  d("div", {
129
- class: y(c ? "relative" : "")
60
+ class: _(l ? "relative" : "")
130
61
  }, [
131
62
  d("button", {
132
63
  type: "button",
133
- "aria-expanded": w.value,
134
- "aria-controls": n(_),
64
+ "aria-expanded": x.value,
65
+ "aria-controls": n(k),
135
66
  "data-account-language": "",
136
- class: y(["flex w-full cursor-pointer items-center gap-3 text-left transition-colors duration-motion-fast focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", c ? "min-h-row px-row-inset py-2 text-body active:bg-fill" : "rounded-md px-2 py-1.5 text-sm hover:bg-fill"]),
137
- onClick: E[0] || (E[0] = (x) => w.value = !w.value)
67
+ class: _(["flex w-full cursor-pointer items-center gap-3 text-left transition-colors duration-motion-fast focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", l ? "min-h-row px-row-inset py-2 text-body active:bg-fill" : "rounded-md px-2 py-1.5 text-sm hover:bg-fill"]),
68
+ onClick: i[0] || (i[0] = (E) => x.value = !x.value)
138
69
  }, [
139
- h(n(R), {
70
+ p(n(B), {
140
71
  name: "translate",
141
- size: c ? 22 : 16,
72
+ size: l ? 22 : 16,
142
73
  class: "shrink-0 text-content-muted"
143
74
  }, null, 8, ["size"]),
144
- d("span", it, O(n(i)("core.shell.account.language")), 1),
75
+ d("span", ot, D(n(s)("core.shell.account.language")), 1),
145
76
  d("span", {
146
- class: y(["flex min-w-0 items-center gap-1.5 text-content-muted", c ? "" : "text-xs"])
77
+ class: _(["flex min-w-0 items-center gap-1.5 text-content-muted", l ? "" : "text-xs"])
147
78
  }, [
148
- A(n(u).locale.value) ? (r(), T(_e, {
79
+ y(n(r).locale.value) ? (u(), O(We, {
149
80
  key: 0,
150
- country: A(n(u).locale.value)
81
+ country: y(n(r).locale.value)
151
82
  }, null, 8, ["country"])) : L("", !0),
152
- d("span", lt, O($.value), 1)
83
+ d("span", st, D($.value), 1)
153
84
  ], 2),
154
- h(n(R), {
85
+ p(n(B), {
155
86
  name: "arrowDownSLine",
156
- size: c ? 18 : 16,
157
- class: y(["shrink-0 text-content-disabled transition-transform duration-motion-fast", w.value ? "rotate-180" : ""])
87
+ size: l ? 18 : 16,
88
+ class: _(["shrink-0 text-content-disabled transition-transform duration-motion-fast", x.value ? "rotate-180" : ""])
158
89
  }, null, 8, ["size", "class"])
159
- ], 10, st)
90
+ ], 10, at)
160
91
  ], 2),
161
- Oe(d("div", {
162
- id: n(_),
163
- class: y(c ? "" : "space-y-0.5 pl-4")
92
+ Ie(d("div", {
93
+ id: n(k),
94
+ class: _(l ? "" : "space-y-0.5 pl-4")
164
95
  }, [
165
- (r(!0), p(F, null, ee(n(u).locales, (x) => (r(), T(me, {
166
- key: x,
167
- label: S(x),
168
- flag: A(x),
169
- selected: x === n(u).locale.value,
170
- onClick: (k) => n(u).setLocale(x)
96
+ (u(!0), h(V, null, te(n(r).locales, (E) => (u(), O(pe, {
97
+ key: E,
98
+ label: n(me)(E),
99
+ flag: y(E),
100
+ selected: E === n(r).locale.value,
101
+ onClick: (S) => n(r).setLocale(E)
171
102
  }, null, 8, ["label", "flag", "selected", "onClick"]))), 128))
172
- ], 10, rt), [
173
- [Re, w.value]
103
+ ], 10, lt), [
104
+ [De, x.value]
174
105
  ])
175
106
  ], 2)) : L("", !0),
176
107
  d("div", {
177
- class: y(n(z))
108
+ class: _(n(f))
178
109
  }, [
179
- h(me, {
180
- label: n(i)("core.shell.account.sign_out"),
110
+ p(pe, {
111
+ label: n(s)("core.shell.account.sign_out"),
181
112
  icon: "logoutBoxRLine",
182
113
  tone: "critical",
183
- onClick: m
114
+ onClick: A
184
115
  }, null, 8, ["label"])
185
116
  ], 2)
186
117
  ], 2));
187
118
  }
188
- }), ct = ["onClick"], ut = { class: "min-w-0 flex-1" }, dt = { class: "block truncate text-sm font-semibold text-white" }, ft = {
119
+ }), it = ["onClick"], rt = { class: "min-w-0 flex-1" }, ct = { class: "block truncate text-sm font-semibold text-white" }, ut = {
189
120
  key: 0,
190
121
  class: "block truncate text-xs text-gray-300"
191
- }, mt = /* @__PURE__ */ M({
122
+ }, dt = /* @__PURE__ */ I({
192
123
  __name: "AccountMenu",
193
124
  props: {
194
125
  identity: {}
195
126
  },
196
127
  setup(e) {
197
128
  const { t: a } = N();
198
- return (t, o) => (r(), T(n(Ve), {
129
+ return (t, o) => (u(), O(n(Ve), {
199
130
  placement: "top-start",
200
131
  width: "sm",
201
132
  block: "",
202
133
  arrow: !1,
203
134
  label: n(a)("core.shell.account.open")
204
135
  }, {
205
- trigger: I(({ toggle: i, attrs: s, presented: u }) => [
206
- d("button", K({ type: "button" }, s, {
136
+ trigger: T(({ toggle: s, attrs: c, presented: r }) => [
137
+ d("button", Y({ type: "button" }, c, {
207
138
  "data-shell-account": "",
208
- class: ["flex w-full cursor-pointer items-center gap-3 rounded-md px-2 py-2 text-left transition-colors hover:bg-white/5 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", { "bg-white/10": u }],
209
- onClick: i
139
+ class: ["flex w-full cursor-pointer items-center gap-3 rounded-md px-2 py-2 text-left transition-colors hover:bg-white/5 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", { "bg-white/10": r }],
140
+ onClick: s
210
141
  }), [
211
- h(n(xe), {
142
+ p(n(xe), {
212
143
  name: e.identity.name,
213
144
  size: "md"
214
145
  }, null, 8, ["name"]),
215
- d("span", ut, [
216
- d("span", dt, O(e.identity.name), 1),
217
- e.identity.detail ? (r(), p("span", ft, O(e.identity.detail), 1)) : L("", !0)
146
+ d("span", rt, [
147
+ d("span", ct, D(e.identity.name), 1),
148
+ e.identity.detail ? (u(), h("span", ut, D(e.identity.detail), 1)) : L("", !0)
218
149
  ]),
219
- h(n(R), {
150
+ p(n(B), {
220
151
  name: "expandUpDownLine",
221
152
  size: 16,
222
153
  class: "shrink-0 text-gray-400"
223
154
  })
224
- ], 16, ct)
155
+ ], 16, it)
225
156
  ]),
226
- default: I(({ dismiss: i }) => [
227
- h(Ce, {
157
+ default: T(({ dismiss: s }) => [
158
+ p($e, {
228
159
  appearance: "popover",
229
- onClose: i
160
+ onClose: s
230
161
  }, null, 8, ["onClose"])
231
162
  ]),
232
163
  _: 1
233
164
  }, 8, ["label"]));
234
165
  }
235
- }), vt = /* @__PURE__ */ M({
166
+ }), ft = /* @__PURE__ */ I({
236
167
  __name: "AccountSheet",
237
168
  props: {
238
169
  identity: {}
239
170
  },
240
171
  setup(e, { expose: a }) {
241
- const t = te("sheet");
242
- return a({ present: () => t.value?.present(), dismiss: () => t.value?.dismiss() }), (o, i) => (r(), T(n(Xe), {
172
+ const t = ne("sheet");
173
+ return a({ present: () => t.value?.present(), dismiss: () => t.value?.dismiss() }), (o, s) => (u(), O(n(Xe), {
243
174
  ref_key: "sheet",
244
175
  ref: t,
245
176
  title: e.identity.name,
246
177
  grouped: ""
247
178
  }, {
248
- default: I(() => [
249
- h(Ce, {
179
+ default: T(() => [
180
+ p($e, {
250
181
  appearance: "sheet",
251
- onClose: i[0] || (i[0] = (s) => t.value?.dismiss())
182
+ onClose: s[0] || (s[0] = (c) => t.value?.dismiss())
252
183
  })
253
184
  ]),
254
185
  _: 1
255
186
  }, 8, ["title"]));
256
187
  }
257
188
  });
258
- function pt() {
259
- const e = je(), a = (t, o) => Object.prototype.hasOwnProperty.call(t, o);
260
- return (t) => t && (e[t] !== void 0 || a(Fe, t)) ? t : null;
189
+ function mt() {
190
+ const e = Pe(), a = (t, o) => Object.prototype.hasOwnProperty.call(t, o);
191
+ return (t) => t && (e[t] !== void 0 || a(je, t)) ? t : null;
261
192
  }
262
- function Le(e) {
193
+ function Se(e) {
263
194
  return e.button === 0 && !e.metaKey && !e.ctrlKey && !e.shiftKey && !e.altKey && !e.defaultPrevented;
264
195
  }
265
- const Ae = (e) => e.to ? [e] : e.children.flatMap(Ae);
266
- function ht(e) {
196
+ const Ce = (e) => e.to ? [e] : e.children.flatMap(Ce);
197
+ function pt(e) {
267
198
  const a = [];
268
199
  for (const t of e) {
269
- const o = Ae(t);
200
+ const o = Ce(t);
270
201
  if (o.length === 0) continue;
271
- const i = !t.to && o.length > 1 ? t.label : null;
202
+ const s = !t.to && o.length > 1 ? t.label : null;
272
203
  a.push({
273
204
  key: t.key,
274
- heading: i,
275
- separated: i === null && a.length > 0,
276
- items: o.map((s) => ({ key: s.key, label: s.label, icon: s.icon, to: s.to, active: s.active }))
205
+ heading: s,
206
+ separated: s === null && a.length > 0,
207
+ items: o.map((c) => ({ key: c.key, label: c.label, icon: c.icon, to: c.to, active: c.active }))
277
208
  });
278
209
  }
279
210
  return a;
280
211
  }
281
- const bt = ["aria-label", "data-appearance"], gt = ["data-separated"], yt = ["id"], xt = ["aria-labelledby"], wt = ["href", "aria-current", "onClick"], kt = { class: "min-w-0 flex-1 truncate" }, ve = "flex w-full items-center transition-colors focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", Ee = /* @__PURE__ */ M({
212
+ const vt = ["aria-label", "data-appearance"], ht = ["data-separated"], bt = ["id"], gt = ["aria-labelledby"], yt = ["href", "aria-current", "onClick"], xt = { class: "min-w-0 flex-1 truncate" }, ve = "flex w-full items-center transition-colors focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", Le = /* @__PURE__ */ I({
282
213
  __name: "NavigationList",
283
214
  props: {
284
215
  items: { default: void 0 },
@@ -287,15 +218,15 @@ const bt = ["aria-label", "data-appearance"], gt = ["data-separated"], yt = ["id
287
218
  },
288
219
  emits: ["select"],
289
220
  setup(e, { emit: a }) {
290
- const t = e, o = a, { t: i } = N(), s = ie(), u = t.items === void 0 ? Qe() : null, f = pt(), c = C(() => ht(t.items ?? u?.value ?? []));
291
- function v($, A, m) {
292
- if (t.appearance === "drawer" && Le($)) {
293
- $.preventDefault(), o("select", m);
221
+ const t = e, o = a, { t: s } = N(), c = se(), r = t.items === void 0 ? Je() : null, m = mt(), l = C(() => pt(t.items ?? r?.value ?? []));
222
+ function v(y, A, f) {
223
+ if (t.appearance === "drawer" && Se(y)) {
224
+ y.preventDefault(), o("select", f);
294
225
  return;
295
226
  }
296
- A($);
227
+ A(y);
297
228
  }
298
- const b = {
229
+ const g = {
299
230
  item: `${ve} group gap-2.5 rounded-md px-2.5 py-1.5 text-sm`,
300
231
  active: "bg-white/10 font-medium text-white ring-1 ring-inset ring-white/5",
301
232
  inactive: "font-normal text-gray-300 hover:bg-white/5 hover:text-white",
@@ -304,7 +235,7 @@ const bt = ["aria-label", "data-appearance"], gt = ["data-separated"], yt = ["id
304
235
  heading: "px-2 pb-1 text-2xs font-semibold uppercase tracking-[0.08em] text-gray-400",
305
236
  // A hairline above the group, inset like the rows.
306
237
  separator: "before:mx-2 before:my-2.5 before:block before:border-t before:border-white/10"
307
- }, w = {
238
+ }, x = {
308
239
  item: `${ve} min-h-[2.875rem] cursor-pointer gap-3.5 rounded-group px-3 text-left text-body duration-motion-fast`,
309
240
  active: "bg-tint-soft font-semibold text-content-link",
310
241
  inactive: "active:bg-fill",
@@ -312,60 +243,60 @@ const bt = ["aria-label", "data-appearance"], gt = ["data-separated"], yt = ["id
312
243
  iconInactive: "",
313
244
  heading: "px-3 pt-4.5 pb-1.5 text-subheadline text-content-muted",
314
245
  separator: "before:mx-3 before:my-3 before:block before:border-t before:border-border-separator"
315
- }, _ = C(() => t.appearance === "rail" ? b : w), S = C(() => t.appearance === "rail" ? 16 : 22);
316
- return ($, A) => (r(), p("nav", {
317
- "aria-label": e.label ?? n(i)("core.shell.menu"),
246
+ }, k = C(() => t.appearance === "rail" ? g : x), $ = C(() => t.appearance === "rail" ? 16 : 22);
247
+ return (y, A) => (u(), h("nav", {
248
+ "aria-label": e.label ?? n(s)("core.shell.menu"),
318
249
  "data-shell-navigation": "",
319
250
  "data-appearance": e.appearance
320
251
  }, [
321
252
  d("ul", null, [
322
- (r(!0), p(F, null, ee(c.value, (m, z) => (r(), p("li", {
323
- key: m.key,
324
- "data-separated": m.separated || void 0,
325
- class: y(m.separated ? _.value.separator : "")
253
+ (u(!0), h(V, null, te(l.value, (f, M) => (u(), h("li", {
254
+ key: f.key,
255
+ "data-separated": f.separated || void 0,
256
+ class: _(f.separated ? k.value.separator : "")
326
257
  }, [
327
- m.heading ? (r(), p("p", {
258
+ f.heading ? (u(), h("p", {
328
259
  key: 0,
329
- id: `${n(s)}-${z}`,
330
- class: y([_.value.heading, e.appearance === "rail" ? z > 0 ? "pt-4" : "pt-1" : ""])
331
- }, O(m.heading), 11, yt)) : L("", !0),
260
+ id: `${n(c)}-${M}`,
261
+ class: _([k.value.heading, e.appearance === "rail" ? M > 0 ? "pt-4" : "pt-1" : ""])
262
+ }, D(f.heading), 11, bt)) : L("", !0),
332
263
  d("ul", {
333
- "aria-labelledby": m.heading ? `${n(s)}-${z}` : void 0,
334
- class: y(e.appearance === "rail" ? "space-y-0.5" : "")
264
+ "aria-labelledby": f.heading ? `${n(c)}-${M}` : void 0,
265
+ class: _(e.appearance === "rail" ? "space-y-0.5" : "")
335
266
  }, [
336
- (r(!0), p(F, null, ee(m.items, (l) => (r(), p("li", {
337
- key: l.key
267
+ (u(!0), h(V, null, te(f.items, (i) => (u(), h("li", {
268
+ key: i.key
338
269
  }, [
339
- h(n(oe), {
270
+ p(n(ce), {
340
271
  custom: "",
341
- to: l.to
272
+ to: i.to
342
273
  }, {
343
- default: I(({ href: E, navigate: x }) => [
274
+ default: T(({ href: E, navigate: S }) => [
344
275
  d("a", {
345
276
  href: E,
346
- "aria-current": l.active ? "page" : void 0,
277
+ "aria-current": i.active ? "page" : void 0,
347
278
  "data-shell-destination": "",
348
- class: y([_.value.item, l.active ? _.value.active : _.value.inactive]),
349
- onClick: (k) => v(k, x, l.to)
279
+ class: _([k.value.item, i.active ? k.value.active : k.value.inactive]),
280
+ onClick: (w) => v(w, S, i.to)
350
281
  }, [
351
- n(f)(l.icon) ? (r(), T(n(R), {
282
+ n(m)(i.icon) ? (u(), O(n(B), {
352
283
  key: 0,
353
- name: n(f)(l.icon),
354
- size: S.value,
355
- class: y(l.active ? _.value.iconActive : _.value.iconInactive)
284
+ name: n(m)(i.icon),
285
+ size: $.value,
286
+ class: _(i.active ? k.value.iconActive : k.value.iconInactive)
356
287
  }, null, 8, ["name", "size", "class"])) : L("", !0),
357
- d("span", kt, O(l.label), 1)
358
- ], 10, wt)
288
+ d("span", xt, D(i.label), 1)
289
+ ], 10, yt)
359
290
  ]),
360
291
  _: 2
361
292
  }, 1032, ["to"])
362
293
  ]))), 128))
363
- ], 10, xt)
364
- ], 10, gt))), 128))
294
+ ], 10, gt)
295
+ ], 10, ht))), 128))
365
296
  ])
366
- ], 8, bt));
297
+ ], 8, vt));
367
298
  }
368
- }), _t = ["href", "aria-label", "onClick"], ue = /* @__PURE__ */ M({
299
+ }), wt = ["href", "aria-label", "onClick"], de = /* @__PURE__ */ I({
369
300
  inheritAttrs: !1,
370
301
  __name: "ShellBrand",
371
302
  props: {
@@ -375,43 +306,43 @@ const bt = ["aria-label", "data-appearance"], gt = ["data-separated"], yt = ["id
375
306
  },
376
307
  emits: ["select"],
377
308
  setup(e, { emit: a }) {
378
- const t = e, o = a, { t: i } = N(), { config: s } = G();
379
- function u(f, c) {
380
- if (t.intercept && Le(f)) {
381
- f.preventDefault(), o("select", t.to);
309
+ const t = e, o = a, { t: s } = N(), { config: c } = Q();
310
+ function r(m, l) {
311
+ if (t.intercept && Se(m)) {
312
+ m.preventDefault(), o("select", t.to);
382
313
  return;
383
314
  }
384
- c(f);
315
+ l(m);
385
316
  }
386
- return (f, c) => (r(), T(n(oe), {
317
+ return (m, l) => (u(), O(n(ce), {
387
318
  custom: "",
388
319
  to: e.to
389
320
  }, {
390
- default: I(({ href: v, navigate: b }) => [
391
- d("a", K(f.$attrs, {
321
+ default: T(({ href: v, navigate: g }) => [
322
+ d("a", Y(m.$attrs, {
392
323
  href: v,
393
- "aria-label": n(i)("core.shell.home"),
324
+ "aria-label": n(s)("core.shell.home"),
394
325
  "data-shell-brand": "",
395
326
  class: "inline-block rounded-control focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus",
396
- onClick: (w) => u(w, b)
327
+ onClick: (x) => r(x, g)
397
328
  }), [
398
- D(f.$slots, "default", { tone: e.tone }, () => [
329
+ z(m.$slots, "default", { tone: e.tone }, () => [
399
330
  d("span", {
400
- class: y(["block truncate text-headline font-semibold", e.tone === "light" ? "text-white" : "text-content-strong"])
401
- }, O(n(s).appName), 3)
331
+ class: _(["block truncate text-headline font-semibold", e.tone === "light" ? "text-white" : "text-content-strong"])
332
+ }, D(n(c).appName), 3)
402
333
  ])
403
- ], 16, _t)
334
+ ], 16, wt)
404
335
  ]),
405
336
  _: 3
406
337
  }, 8, ["to"]));
407
338
  }
408
- }), $t = {
339
+ }), kt = {
409
340
  class: "flex h-full flex-col bg-surface-page text-content-strong",
410
341
  "data-shell-drawer-content": ""
411
- }, St = { class: "shrink-0 pt-[calc(max(0.75rem,env(safe-area-inset-top))+0.75rem)] pr-4 pb-4 pl-[max(1.375rem,env(safe-area-inset-left))]" }, Ct = { class: "min-w-0 flex-1" }, Lt = { class: "block truncate text-headline font-semibold" }, At = {
342
+ }, _t = { class: "shrink-0 pt-[calc(max(0.75rem,env(safe-area-inset-top))+0.75rem)] pr-4 pb-4 pl-[max(1.375rem,env(safe-area-inset-left))]" }, $t = { class: "min-w-0 flex-1" }, St = { class: "block truncate text-headline font-semibold" }, Ct = {
412
343
  key: 0,
413
344
  class: "block truncate text-footnote text-content-muted"
414
- }, Et = /* @__PURE__ */ M({
345
+ }, Lt = /* @__PURE__ */ I({
415
346
  __name: "NavigationDrawer",
416
347
  props: {
417
348
  identity: {},
@@ -420,51 +351,51 @@ const bt = ["aria-label", "data-appearance"], gt = ["data-separated"], yt = ["id
420
351
  emits: ["select", "account"],
421
352
  setup(e, { emit: a }) {
422
353
  const t = a, { t: o } = N();
423
- return (i, s) => (r(), p("div", $t, [
424
- d("div", St, [
425
- h(ue, {
354
+ return (s, c) => (u(), h("div", kt, [
355
+ d("div", _t, [
356
+ p(de, {
426
357
  to: e.home,
427
358
  tone: "brand",
428
359
  intercept: "",
429
360
  class: "max-w-36",
430
- onSelect: s[0] || (s[0] = (u) => t("select", u))
431
- }, W({ _: 2 }, [
432
- i.$slots.brand ? {
361
+ onSelect: c[0] || (c[0] = (r) => t("select", r))
362
+ }, K({ _: 2 }, [
363
+ s.$slots.brand ? {
433
364
  name: "default",
434
- fn: I((u) => [
435
- D(i.$slots, "brand", X(Y(u)))
365
+ fn: T((r) => [
366
+ z(s.$slots, "brand", U(X(r)))
436
367
  ]),
437
368
  key: "0"
438
369
  } : void 0
439
370
  ]), 1032, ["to"])
440
371
  ]),
441
- s[3] || (s[3] = d("div", {
372
+ c[3] || (c[3] = d("div", {
442
373
  class: "mx-5.5 shrink-0 border-t border-border-separator",
443
374
  role: "presentation"
444
375
  }, null, -1)),
445
- h(Ee, {
376
+ p(Le, {
446
377
  appearance: "drawer",
447
378
  label: n(o)("core.shell.menu"),
448
379
  class: "min-h-0 flex-1 overflow-y-auto overscroll-contain pt-2 pr-2.5 pb-3 pl-[max(0.625rem,env(safe-area-inset-left))] [mask-image:linear-gradient(to_bottom,black_calc(100%-1.5rem),transparent)]",
449
- onSelect: s[1] || (s[1] = (u) => t("select", u))
380
+ onSelect: c[1] || (c[1] = (r) => t("select", r))
450
381
  }, null, 8, ["label"]),
451
- D(i.$slots, "footer"),
382
+ z(s.$slots, "footer"),
452
383
  d("button", {
453
384
  type: "button",
454
385
  "data-shell-drawer-account": "",
455
386
  "aria-haspopup": "dialog",
456
387
  class: "flex shrink-0 cursor-pointer items-center gap-3 border-t border-border-separator pt-3 pr-4 pb-[max(1rem,env(safe-area-inset-bottom))] pl-[max(1.125rem,env(safe-area-inset-left))] text-left transition-colors duration-motion-fast active:bg-fill focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus",
457
- onClick: s[2] || (s[2] = (u) => t("account"))
388
+ onClick: c[2] || (c[2] = (r) => t("account"))
458
389
  }, [
459
- h(n(xe), {
390
+ p(n(xe), {
460
391
  name: e.identity.name,
461
392
  size: "lg"
462
393
  }, null, 8, ["name"]),
463
- d("span", Ct, [
464
- d("span", Lt, O(e.identity.name), 1),
465
- e.identity.detail ? (r(), p("span", At, O(e.identity.detail), 1)) : L("", !0)
394
+ d("span", $t, [
395
+ d("span", St, D(e.identity.name), 1),
396
+ e.identity.detail ? (u(), h("span", Ct, D(e.identity.detail), 1)) : L("", !0)
466
397
  ]),
467
- h(n(R), {
398
+ p(n(B), {
468
399
  name: "arrowRightSLine",
469
400
  size: 18,
470
401
  class: "shrink-0 text-content-disabled"
@@ -472,241 +403,241 @@ const bt = ["aria-label", "data-appearance"], gt = ["data-separated"], yt = ["id
472
403
  ])
473
404
  ]));
474
405
  }
475
- }), It = {
406
+ }), At = {
476
407
  key: 0,
477
408
  "data-shell-sidebar": "",
478
409
  class: "flex w-64 shrink-0 flex-col bg-anchor-900 dark:border-r dark:border-white/5 dark:bg-anchor-950"
479
- }, Tt = { class: "sticky top-0 flex h-screen flex-col" }, zt = { class: "flex items-center justify-between gap-2 pt-5 pr-2 pb-3 pl-4" }, Mt = { class: "flex shrink-0 items-center gap-1" }, Dt = { class: "border-t border-white/10 p-2" }, Ot = /* @__PURE__ */ M({
410
+ }, Et = { class: "sticky top-[var(--shell-banner-h,0px)] flex h-[calc(100vh-var(--shell-banner-h,0px))] flex-col" }, Tt = { class: "flex items-center justify-between gap-2 pt-5 pr-2 pb-3 pl-4" }, Mt = { class: "flex shrink-0 items-center gap-1" }, zt = { class: "border-t border-white/10 p-2" }, It = /* @__PURE__ */ I({
480
411
  __name: "ShellSidebar",
481
412
  props: {
482
413
  identity: {},
483
414
  home: {}
484
415
  },
485
416
  setup(e) {
486
- ne(ce, "rail");
487
- const a = H("(min-width: 48rem)");
488
- return (t, o) => n(a) ? (r(), p("aside", It, [
489
- d("div", Tt, [
490
- d("div", zt, [
491
- h(ue, {
417
+ ae(re, "rail");
418
+ const a = G("(min-width: 48rem)");
419
+ return (t, o) => n(a) ? (u(), h("aside", At, [
420
+ d("div", Et, [
421
+ d("div", Tt, [
422
+ p(de, {
492
423
  to: e.home,
493
424
  tone: "light",
494
425
  class: "min-w-0"
495
- }, W({ _: 2 }, [
426
+ }, K({ _: 2 }, [
496
427
  t.$slots.brand ? {
497
428
  name: "default",
498
- fn: I((i) => [
499
- D(t.$slots, "brand", X(Y(i)))
429
+ fn: T((s) => [
430
+ z(t.$slots, "brand", U(X(s)))
500
431
  ]),
501
432
  key: "0"
502
433
  } : void 0
503
434
  ]), 1032, ["to"]),
504
435
  d("div", Mt, [
505
- h(n(ae), { name: "headerActions" })
436
+ p(n(H), { name: "headerActions" })
506
437
  ])
507
438
  ]),
508
- h(Ee, {
439
+ p(Le, {
509
440
  appearance: "rail",
510
441
  class: "scrollbar-subtle min-h-0 flex-1 overflow-y-auto px-2 pt-3 pb-3 [mask-image:linear-gradient(to_bottom,transparent,black_12px,black_calc(100%-12px),transparent)]"
511
442
  }),
512
- D(t.$slots, "footer"),
513
- d("div", Dt, [
514
- h(mt, { identity: e.identity }, null, 8, ["identity"])
443
+ z(t.$slots, "footer"),
444
+ d("div", zt, [
445
+ p(dt, { identity: e.identity }, null, 8, ["identity"])
515
446
  ])
516
447
  ])
517
448
  ])) : L("", !0);
518
449
  }
519
- }), Rt = 20, Bt = 8, pe = 0.5, Nt = 40;
520
- function Pt({ offset: e, startOffset: a, width: t, velocity: o }) {
521
- if (Math.abs(e - a) > Nt) {
522
- if (o > pe) return !0;
523
- if (o < -pe) return !1;
450
+ }), Dt = 20, Ot = 8, he = 0.5, Rt = 40;
451
+ function Bt({ offset: e, startOffset: a, width: t, velocity: o }) {
452
+ if (Math.abs(e - a) > Rt) {
453
+ if (o > he) return !0;
454
+ if (o < -he) return !1;
524
455
  }
525
456
  return e > t / 2;
526
457
  }
527
- function jt(e) {
528
- const a = V(0), t = V(!1);
529
- let o = !1, i = null, s = 0, u = 0, f = 0, c = 0, v = 0, b = 0;
530
- function w(x, k) {
531
- o = !0, i = null, s = c = x.clientX, u = x.clientY, f = k, v = performance.now(), b = 0;
458
+ function Nt(e) {
459
+ const a = F(0), t = F(!1);
460
+ let o = !1, s = null, c = 0, r = 0, m = 0, l = 0, v = 0, g = 0;
461
+ function x(S, w) {
462
+ o = !0, s = null, c = l = S.clientX, r = S.clientY, m = w, v = performance.now(), g = 0;
532
463
  }
533
- function _(x) {
534
- const k = x.touches[0];
535
- if (!o || !k) return;
536
- const B = k.clientX - s, Q = k.clientY - u;
537
- if (!i) {
538
- if (Math.max(Math.abs(B), Math.abs(Q)) < Bt) return;
539
- if (i = Math.abs(B) > Math.abs(Q) ? "x" : "y", i === "y" || f === 0 && B < 0) {
464
+ function k(S) {
465
+ const w = S.touches[0];
466
+ if (!o || !w) return;
467
+ const R = w.clientX - c, J = w.clientY - r;
468
+ if (!s) {
469
+ if (Math.max(Math.abs(R), Math.abs(J)) < Ot) return;
470
+ if (s = Math.abs(R) > Math.abs(J) ? "x" : "y", s === "y" || m === 0 && R < 0) {
540
471
  o = !1;
541
472
  return;
542
473
  }
543
- t.value = !0, a.value = f, e.onStart();
474
+ t.value = !0, a.value = m, e.onStart();
544
475
  }
545
- const U = performance.now();
546
- b = (k.clientX - c) / Math.max(U - v, 1), c = k.clientX, v = U, a.value = Math.min(e.width(), Math.max(0, f + B)), x.cancelable && x.preventDefault();
547
- }
548
- function S() {
549
- o && (o = !1, t.value && (t.value = !1, e.onSettle(Pt({ offset: a.value, startOffset: f, width: e.width(), velocity: b }))));
476
+ const W = performance.now();
477
+ g = (w.clientX - l) / Math.max(W - v, 1), l = w.clientX, v = W, a.value = Math.min(e.width(), Math.max(0, m + R)), S.cancelable && S.preventDefault();
550
478
  }
551
479
  function $() {
480
+ o && (o = !1, t.value && (t.value = !1, e.onSettle(Bt({ offset: a.value, startOffset: m, width: e.width(), velocity: g }))));
481
+ }
482
+ function y() {
552
483
  o = !1, t.value = !1;
553
484
  }
554
- function A(x) {
555
- const k = x.touches[0];
556
- !k || x.touches.length !== 1 || e.isOpen() || !e.canOpenFromEdge() || k.clientX > Rt || w(k, 0);
485
+ function A(S) {
486
+ const w = S.touches[0];
487
+ !w || S.touches.length !== 1 || e.isOpen() || !e.canOpenFromEdge() || w.clientX > Dt || x(w, 0);
557
488
  }
558
- let m = !1;
559
- function z() {
560
- m || (m = !0, window.addEventListener("touchstart", A, { passive: !0 }), window.addEventListener("touchmove", _, { passive: !1 }), window.addEventListener("touchend", S), window.addEventListener("touchcancel", S));
489
+ let f = !1;
490
+ function M() {
491
+ f || (f = !0, window.addEventListener("touchstart", A, { passive: !0 }), window.addEventListener("touchmove", k, { passive: !1 }), window.addEventListener("touchend", $), window.addEventListener("touchcancel", $));
561
492
  }
562
- function l() {
563
- m && (m = !1, window.removeEventListener("touchstart", A), window.removeEventListener("touchmove", _), window.removeEventListener("touchend", S), window.removeEventListener("touchcancel", S), $());
493
+ function i() {
494
+ f && (f = !1, window.removeEventListener("touchstart", A), window.removeEventListener("touchmove", k), window.removeEventListener("touchend", $), window.removeEventListener("touchcancel", $), y());
564
495
  }
565
- return q(e.enabled, (x) => x ? z() : l(), { immediate: !0 }), le(l), { offset: a, dragging: t, closeEvents: {
566
- onTouchstartPassive(x) {
567
- const k = x.touches[0];
568
- k && x.touches.length === 1 && e.isOpen() && w(k, e.width());
496
+ return q(e.enabled, (S) => S ? M() : i(), { immediate: !0 }), le(i), { offset: a, dragging: t, closeEvents: {
497
+ onTouchstartPassive(S) {
498
+ const w = S.touches[0];
499
+ w && S.touches.length === 1 && e.isOpen() && x(w, e.width());
569
500
  }
570
- }, cancel: $ };
501
+ }, cancel: y };
571
502
  }
572
- const Ie = Symbol("vue-core.navigationDrawer");
573
- function Ft() {
574
- return be(Ie, null);
503
+ const Ae = Symbol("vue-core.navigationDrawer");
504
+ function Pt() {
505
+ return be(Ae, null);
575
506
  }
576
- const Vt = ["id", "aria-label"], Wt = ["data-drawer", "inert"], Kt = /* @__PURE__ */ M({
507
+ const jt = ["id", "aria-label"], Vt = ["data-drawer", "inert"], Ft = /* @__PURE__ */ I({
577
508
  __name: "ShellStage",
578
509
  props: {
579
510
  enabled: { type: Boolean }
580
511
  },
581
512
  setup(e) {
582
- const a = e, { t } = N(), o = Ue(), i = re(), s = H("(max-width: 47.999rem)"), u = H("(display-mode: standalone)"), f = H("(prefers-reduced-motion: reduce)"), c = C(() => a.enabled && s.value), v = te("stage"), b = te("scroller"), w = V(null), _ = ie(), S = V(!1), $ = V(!1), A = V(!1);
583
- let m = 0, z = !1, l, E = null;
584
- const x = () => w.value?.offsetWidth ?? 0, k = jt({
585
- enabled: () => c.value,
586
- width: x,
513
+ const a = e, { t } = N(), o = Qe(), s = ue(), c = G("(max-width: 47.999rem)"), r = G("(display-mode: standalone)"), m = G("(prefers-reduced-motion: reduce)"), l = C(() => a.enabled && c.value), v = ne("stage"), g = ne("scroller"), x = F(null), k = se(), $ = F(!1), y = F(!1), A = F(!1);
514
+ let f = 0, M = !1, i, E = null;
515
+ const S = () => x.value?.offsetWidth ?? 0, w = Nt({
516
+ enabled: () => l.value,
517
+ width: S,
587
518
  isOpen: () => A.value,
588
- canOpenFromEdge: () => u.value || navigator.standalone === !0,
519
+ canOpenFromEdge: () => r.value || navigator.standalone === !0,
589
520
  onStart: () => {
590
- clearTimeout(l), de();
521
+ clearTimeout(i), fe();
591
522
  },
592
- onSettle: (g) => g ? S.value = !0 : j()
593
- }), B = C(() => k.dragging.value ? k.offset.value : A.value ? x() : 0), Q = C(() => x() ? B.value / x() : 0), U = Je(w, {
523
+ onSettle: (b) => b ? $.value = !0 : j()
524
+ }), R = C(() => w.dragging.value ? w.offset.value : A.value ? S() : 0), J = C(() => S() ? R.value / S() : 0), W = Ze(x, {
594
525
  initialFocus: "panel",
595
526
  onEscape: () => j()
596
527
  });
597
- function Te() {
598
- const g = getComputedStyle(document.documentElement).getPropertyValue("--app-motion-drawer").trim();
599
- return g.endsWith("ms") ? parseFloat(g) : parseFloat(g) * 1e3 || 0;
528
+ function Ee() {
529
+ const b = getComputedStyle(document.documentElement).getPropertyValue("--app-motion-drawer").trim();
530
+ return b.endsWith("ms") ? parseFloat(b) : parseFloat(b) * 1e3 || 0;
600
531
  }
601
- function de() {
602
- const g = v.value, P = b.value;
603
- $.value || !g || !P || (m = window.scrollY, z = !1, Object.assign(g.style, { position: "fixed", inset: "0", overflow: "hidden", zIndex: "10" }), Object.assign(P.style, { position: "absolute", inset: "0", overflow: "hidden" }), P.scrollTop = m, $.value = !0);
532
+ function fe() {
533
+ const b = v.value, P = g.value;
534
+ y.value || !b || !P || (f = window.scrollY, M = !1, Object.assign(b.style, { position: "fixed", inset: "0", overflow: "hidden", zIndex: "10" }), Object.assign(P.style, { position: "absolute", inset: "0", overflow: "hidden" }), P.scrollTop = f, y.value = !0);
604
535
  }
605
- function se() {
606
- const g = v.value, P = b.value;
607
- !$.value || !g || !P || (Object.assign(g.style, { position: "", inset: "", overflow: "", zIndex: "", transform: "", transition: "", borderRadius: "" }), Object.assign(P.style, { position: "", inset: "", overflow: "" }), $.value = !1, window.scrollTo({ top: z ? 0 : m, behavior: "instant" }));
536
+ function oe() {
537
+ const b = v.value, P = g.value;
538
+ !y.value || !b || !P || (Object.assign(b.style, { position: "", inset: "", overflow: "", zIndex: "", transform: "", transition: "", borderRadius: "" }), Object.assign(P.style, { position: "", inset: "", overflow: "" }), y.value = !1, window.scrollTo({ top: M ? 0 : f, behavior: "instant" }));
608
539
  }
609
- q([B, () => k.dragging.value, $], () => {
610
- const g = v.value;
611
- !g || !$.value || (g.style.transform = `translate3d(${B.value}px, 0, 0)`, g.style.borderRadius = B.value > 0 ? "2.5rem" : "", g.style.transition = k.dragging.value || f.value ? "none" : "transform var(--app-motion-drawer) var(--app-motion-sheet-easing), border-radius var(--app-motion-drawer) var(--app-motion-sheet-easing)");
540
+ q([R, () => w.dragging.value, y], () => {
541
+ const b = v.value;
542
+ !b || !y.value || (b.style.transform = `translate3d(${R.value}px, 0, 0)`, b.style.borderRadius = R.value > 0 ? "2.5rem" : "", b.style.transition = w.dragging.value || m.value ? "none" : "transform var(--app-motion-drawer) var(--app-motion-sheet-easing), border-radius var(--app-motion-drawer) var(--app-motion-sheet-easing)");
612
543
  }, { flush: "sync" });
613
- function ze() {
614
- if (!c.value) {
615
- S.value = !1;
544
+ function Te() {
545
+ if (!l.value) {
546
+ $.value = !1;
616
547
  return;
617
548
  }
618
- clearTimeout(l), E = null, de(), v.value?.offsetWidth, A.value = !0, U.present(), ye(() => {
619
- w.value?.querySelector('[aria-current="page"]')?.focus({ preventScroll: !0 });
549
+ clearTimeout(i), E = null, fe(), v.value?.offsetWidth, A.value = !0, W.present(), ye(() => {
550
+ x.value?.querySelector('[aria-current="page"]')?.focus({ preventScroll: !0 });
620
551
  });
621
552
  }
622
- function j(g) {
623
- if (g && (E = g), S.value) {
624
- S.value = !1;
553
+ function j(b) {
554
+ if (b && (E = b), $.value) {
555
+ $.value = !1;
625
556
  return;
626
557
  }
627
- A.value = !1, U.dismissWithoutAsking(), clearTimeout(l), l = setTimeout(Me, Te() + 30);
558
+ A.value = !1, W.dismissWithoutAsking(), clearTimeout(i), i = setTimeout(Me, Ee() + 30);
628
559
  }
629
560
  function Me() {
630
- se();
631
- const g = E;
632
- E = null, g?.();
561
+ oe();
562
+ const b = E;
563
+ E = null, b?.();
633
564
  }
634
- q(S, (g) => g ? ze() : j()), q(c, (g) => {
635
- g || (k.cancel(), clearTimeout(l), E = null, S.value = !1, A.value = !1, U.dismissWithoutAsking(), se());
565
+ q($, (b) => b ? Te() : j()), q(l, (b) => {
566
+ b || (w.cancel(), clearTimeout(i), E = null, $.value = !1, A.value = !1, W.dismissWithoutAsking(), oe());
636
567
  }), q(() => o.fullPath, () => {
637
- $.value && (z = !0), A.value && j();
568
+ y.value && (M = !0), A.value && j();
638
569
  });
639
- function De(g) {
640
- i.push(g).catch(() => {
570
+ function ze(b) {
571
+ s.push(b).catch(() => {
641
572
  }).finally(() => j());
642
573
  }
643
- return ne(Ie, {
644
- available: c,
645
- open: S,
646
- panelId: _,
574
+ return ae(Ae, {
575
+ available: l,
576
+ open: $,
577
+ panelId: k,
647
578
  present: () => {
648
- c.value && (S.value = !0);
579
+ l.value && ($.value = !0);
649
580
  },
650
581
  dismiss: j
651
- }), Be(() => {
652
- clearTimeout(l), se();
653
- }), (g, P) => (r(), p(F, null, [
654
- c.value ? (r(), p("div", K({
582
+ }), Oe(() => {
583
+ clearTimeout(i), oe();
584
+ }), (b, P) => (u(), h(V, null, [
585
+ l.value ? (u(), h("div", Y({
655
586
  key: 0,
656
- id: n(_),
587
+ id: n(k),
657
588
  ref_key: "panel",
658
- ref: w,
589
+ ref: x,
659
590
  role: "dialog",
660
591
  "aria-modal": "true",
661
592
  "aria-label": n(t)("core.shell.menu"),
662
593
  tabindex: "-1",
663
594
  "data-shell-drawer": "",
664
- class: ["fixed inset-y-0 left-0 z-0 w-[min(82vw,20rem)] outline-none", $.value ? "visible" : "invisible"],
665
- style: n(f) ? { opacity: A.value || n(k).dragging.value ? 1 : 0, transition: "opacity var(--app-motion-drawer) linear" } : void 0
666
- }, n(k).closeEvents), [
667
- D(g.$slots, "drawer", {
668
- select: De,
595
+ class: ["fixed inset-y-0 left-0 z-0 w-[min(82vw,20rem)] outline-none", y.value ? "visible" : "invisible"],
596
+ style: n(m) ? { opacity: A.value || n(w).dragging.value ? 1 : 0, transition: "opacity var(--app-motion-drawer) linear" } : void 0
597
+ }, n(w).closeEvents), [
598
+ z(b.$slots, "drawer", {
599
+ select: ze,
669
600
  dismiss: j
670
601
  })
671
- ], 16, Vt)) : L("", !0),
602
+ ], 16, jt)) : L("", !0),
672
603
  d("div", {
673
604
  ref_key: "stage",
674
605
  ref: v,
675
606
  "data-shell-stage": "",
676
607
  "data-drawer": A.value ? "open" : void 0,
677
- class: y(["flex flex-1 flex-col", $.value ? "overscroll-none bg-surface-page shadow-dialog" : ""]),
678
- inert: A.value || n(k).dragging.value || void 0
608
+ class: _(["flex flex-1 flex-col", y.value ? "overscroll-none bg-surface-page shadow-dialog" : ""]),
609
+ inert: A.value || n(w).dragging.value || void 0
679
610
  }, [
680
611
  d("div", {
681
612
  ref_key: "scroller",
682
- ref: b,
613
+ ref: g,
683
614
  class: "flex flex-1 flex-col"
684
615
  }, [
685
- D(g.$slots, "default")
616
+ z(b.$slots, "default")
686
617
  ], 512),
687
- $.value ? (r(), p("div", {
618
+ y.value ? (u(), h("div", {
688
619
  key: 0,
689
620
  "aria-hidden": "true",
690
621
  class: "pointer-events-none fixed inset-0 z-50 bg-scrim",
691
- style: ge({ opacity: Q.value * 0.55 })
622
+ style: ge({ opacity: J.value * 0.55 })
692
623
  }, null, 4)) : L("", !0)
693
- ], 10, Wt),
694
- $.value && B.value > 0 ? (r(), p("div", K({
624
+ ], 10, Vt),
625
+ y.value && R.value > 0 ? (u(), h("div", Y({
695
626
  key: 1,
696
627
  "aria-hidden": "true",
697
628
  "data-shell-stage-cover": "",
698
629
  class: "fixed inset-y-0 right-0 z-20",
699
- style: { left: `${B.value}px` }
700
- }, n(k).closeEvents, {
701
- onClick: P[0] || (P[0] = (_n) => j())
630
+ style: { left: `${R.value}px` }
631
+ }, n(w).closeEvents, {
632
+ onClick: P[0] || (P[0] = (wn) => j())
702
633
  }), null, 16)) : L("", !0)
703
634
  ], 64));
704
635
  }
705
- }), Ut = ["aria-label", "aria-expanded", "aria-controls"], Xt = /* @__PURE__ */ M({
636
+ }), Kt = ["aria-label", "aria-expanded", "aria-controls"], Wt = /* @__PURE__ */ I({
706
637
  __name: "NavigationMenuButton",
707
638
  setup(e) {
708
- const a = Ft(), { t } = N();
709
- return (o, i) => n(a)?.available.value ? (r(), p("button", {
639
+ const a = Pt(), { t } = N();
640
+ return (o, s) => n(a)?.available.value ? (u(), h("button", {
710
641
  key: 0,
711
642
  type: "button",
712
643
  "data-shell-menu-button": "",
@@ -715,75 +646,75 @@ const Vt = ["id", "aria-label"], Wt = ["data-drawer", "inert"], Kt = /* @__PURE_
715
646
  "aria-controls": n(a).panelId,
716
647
  "aria-haspopup": "dialog",
717
648
  class: "relative my-1 ml-2 flex size-11 shrink-0 cursor-pointer items-center justify-center rounded-full bg-surface-cell text-content-strong shadow-float transition-transform duration-motion-fast active:scale-95 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus",
718
- onClick: i[0] || (i[0] = (s) => n(a).present())
649
+ onClick: s[0] || (s[0] = (c) => n(a).present())
719
650
  }, [
720
- h(n(R), {
651
+ p(n(B), {
721
652
  name: "menuLines",
722
653
  size: 20
723
654
  })
724
- ], 8, Ut)) : L("", !0);
655
+ ], 8, Kt)) : L("", !0);
725
656
  }
726
- }), Yt = { class: "grid min-h-bar-height grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-1" }, qt = { class: "flex min-w-0 items-center justify-start" }, Ht = ["data-page-action", "disabled"], Gt = { class: "truncate" }, Qt = { class: "ml-1 flex items-center gap-1" }, Jt = { class: "flex min-w-0 items-center justify-end" }, Zt = ["data-page-action", "aria-label", "disabled", "onClick"], en = ["data-page-action", "disabled", "aria-label", "aria-busy", "onClick"], tn = { class: "truncate" }, nn = ["aria-label", "onClick"], an = /* @__PURE__ */ M({
657
+ }), Ut = { class: "grid min-h-bar-height grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-1" }, Xt = { class: "flex min-w-0 items-center justify-start" }, Yt = ["data-page-action", "disabled"], qt = { class: "truncate" }, Gt = { class: "ml-1 flex items-center gap-1" }, Ht = { class: "flex min-w-0 items-center justify-end" }, Qt = ["data-page-action", "aria-label", "disabled", "onClick"], Jt = ["data-page-action", "disabled", "aria-label", "aria-busy", "onClick"], Zt = { class: "truncate" }, en = ["aria-label", "onClick"], tn = /* @__PURE__ */ I({
727
658
  __name: "ShellTopBar",
728
659
  props: {
729
660
  home: {}
730
661
  },
731
662
  setup(e) {
732
- const { t: a } = N(), t = re(), o = Se(), { session: i } = G(), s = H("(max-width: 47.999rem)");
733
- ne(ce, "bar");
734
- const u = C(() => i.state.value.status === "authenticated"), f = C(() => !u.value || s.value), c = C(() => u.value ? o.back.value : null), v = C(() => u.value ? o.leading.value : null), b = C(() => o.navTitle.value ?? o.title.value), w = C(() => u.value && !!b.value && (!!o.navTitle.value || !o.titleInView.value)), _ = C(() => u.value ? o.actions.value : []), S = C(() => _.value.filter((m) => m.placement === "primary" && m.tone !== "critical")), $ = C(
735
- () => _.value.filter((m) => !S.value.includes(m)).map((m) => ({ id: m.id, label: m.label, icon: m.icon, tone: m.tone, disabled: m.disabled, processing: m.processing, onSelect: m.onClick }))
663
+ const { t: a } = N(), t = ue(), o = ke(), { session: s } = Q(), c = G("(max-width: 47.999rem)");
664
+ ae(re, "bar");
665
+ const r = C(() => ie(s.state.value) !== null), m = C(() => !r.value || c.value), l = C(() => r.value ? o.back.value : null), v = C(() => r.value ? o.leading.value : null), g = C(() => o.navTitle.value ?? o.title.value), x = C(() => r.value && !!g.value && (!!o.navTitle.value || !o.titleInView.value)), k = C(() => r.value ? o.actions.value : []), $ = C(() => k.value.filter((f) => f.placement === "primary" && f.tone !== "critical")), y = C(
666
+ () => k.value.filter((f) => !$.value.includes(f)).map((f) => ({ id: f.id, label: f.label, icon: f.icon, tone: f.tone, disabled: f.disabled, processing: f.processing, onSelect: f.onClick }))
736
667
  );
737
668
  function A() {
738
- c.value && t.push(c.value.to);
669
+ l.value && t.push(l.value.to);
739
670
  }
740
- return (m, z) => f.value ? (r(), p("header", {
671
+ return (f, M) => m.value ? (u(), h("header", {
741
672
  key: 0,
742
673
  "data-shell-top-bar": "",
743
- class: y(["pt-[max(0.25rem,env(safe-area-inset-top))] pr-[max(0.5rem,env(safe-area-inset-right))] pb-1 pl-[max(0.5rem,env(safe-area-inset-left))] text-content-strong", u.value ? ["sticky top-0 z-30 border-b bg-surface-page/85 backdrop-blur-xl transition-colors duration-motion-normal", w.value ? "border-border-separator" : "border-transparent"] : "border-b border-border-separator bg-surface-cell"])
674
+ class: _(["pt-[max(0.25rem,env(safe-area-inset-top))] pr-[max(0.5rem,env(safe-area-inset-right))] pb-1 pl-[max(0.5rem,env(safe-area-inset-left))] text-content-strong", r.value ? ["sticky top-[var(--shell-banner-h,0px)] z-30 border-b bg-surface-page/85 backdrop-blur-xl transition-colors duration-motion-normal", x.value ? "border-border-separator" : "border-transparent"] : "border-b border-border-separator bg-surface-cell"])
744
675
  }, [
745
- d("div", Yt, [
746
- d("div", qt, [
747
- v.value ? (r(), p("button", {
676
+ d("div", Ut, [
677
+ d("div", Xt, [
678
+ v.value ? (u(), h("button", {
748
679
  key: 0,
749
680
  type: "button",
750
681
  "data-shell-bar-leading": "",
751
682
  "data-page-action": v.value.id,
752
683
  disabled: v.value.disabled || v.value.processing,
753
684
  class: "hit-target inline-flex min-w-0 cursor-pointer items-center rounded-control px-2 text-body text-content-link disabled:text-content-disabled",
754
- onClick: z[0] || (z[0] = (l) => v.value.onClick())
685
+ onClick: M[0] || (M[0] = (i) => v.value.onClick())
755
686
  }, [
756
- d("span", Gt, O(v.value.label), 1)
757
- ], 8, Ht)) : c.value ? (r(), p("button", {
687
+ d("span", qt, D(v.value.label), 1)
688
+ ], 8, Yt)) : l.value ? (u(), h("button", {
758
689
  key: 1,
759
690
  type: "button",
760
691
  "data-shell-bar-back": "",
761
692
  class: "hit-target inline-flex min-w-0 cursor-pointer items-center rounded-control pr-2 text-body text-content-link active:opacity-60",
762
693
  onClick: A
763
694
  }, [
764
- h(n(R), {
695
+ p(n(B), {
765
696
  name: "arrowLeftSLine",
766
697
  size: 28,
767
698
  class: "-mr-0.5 shrink-0"
768
699
  }),
769
700
  d("span", {
770
- class: y(["truncate", w.value ? "sr-only" : ""])
771
- }, O(c.value.label), 3)
772
- ])) : u.value ? (r(), p(F, { key: 2 }, [
773
- h(Xt),
774
- d("span", Qt, [
775
- h(n(ae), { name: "headerActions" })
701
+ class: _(["truncate", x.value ? "sr-only" : ""])
702
+ }, D(l.value.label), 3)
703
+ ])) : r.value ? (u(), h(V, { key: 2 }, [
704
+ p(Wt),
705
+ d("span", Gt, [
706
+ p(n(H), { name: "headerActions" })
776
707
  ])
777
- ], 64)) : (r(), T(ue, {
708
+ ], 64)) : (u(), O(de, {
778
709
  key: 3,
779
710
  to: e.home,
780
711
  tone: "brand",
781
- class: y(["px-2 transition-opacity", w.value ? "opacity-0" : "opacity-100"])
782
- }, W({ _: 2 }, [
783
- m.$slots.brand ? {
712
+ class: _(["px-2 transition-opacity", x.value ? "opacity-0" : "opacity-100"])
713
+ }, K({ _: 2 }, [
714
+ f.$slots.brand ? {
784
715
  name: "default",
785
- fn: I((l) => [
786
- D(m.$slots, "brand", X(Y(l)))
716
+ fn: T((i) => [
717
+ z(f.$slots, "brand", U(X(i)))
787
718
  ]),
788
719
  key: "0"
789
720
  } : void 0
@@ -792,85 +723,85 @@ const Vt = ["id", "aria-label"], Wt = ["data-drawer", "inert"], Kt = /* @__PURE_
792
723
  d("span", {
793
724
  "aria-hidden": "true",
794
725
  "data-shell-bar-title": "",
795
- class: y(["pointer-events-none truncate text-center text-headline font-semibold transition-opacity duration-motion-normal", w.value ? "max-w-[42vw] opacity-100" : "max-w-0 opacity-0"])
796
- }, O(b.value), 3),
797
- d("div", Jt, [
798
- u.value ? (r(), p(F, { key: 0 }, [
799
- (r(!0), p(F, null, ee(S.value, (l) => (r(), p(F, {
800
- key: l.id
726
+ class: _(["pointer-events-none truncate text-center text-headline font-semibold transition-opacity duration-motion-normal", x.value ? "max-w-[42vw] opacity-100" : "max-w-0 opacity-0"])
727
+ }, D(g.value), 3),
728
+ d("div", Ht, [
729
+ r.value ? (u(), h(V, { key: 0 }, [
730
+ (u(!0), h(V, null, te($.value, (i) => (u(), h(V, {
731
+ key: i.id
801
732
  }, [
802
- l.compact === "icon" && l.icon ? (r(), p("button", {
733
+ i.compact === "icon" && i.icon ? (u(), h("button", {
803
734
  key: 0,
804
735
  type: "button",
805
- "data-page-action": l.id,
806
- "aria-label": l.label,
807
- disabled: l.disabled || l.processing,
736
+ "data-page-action": i.id,
737
+ "aria-label": i.label,
738
+ disabled: i.disabled || i.processing,
808
739
  class: "hit-target mx-1 flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-full bg-tint-soft text-content-link disabled:opacity-45",
809
- onClick: (E) => l.onClick()
740
+ onClick: (E) => i.onClick()
810
741
  }, [
811
- h(n(R), {
812
- name: l.processing ? "loader4Line" : l.icon,
742
+ p(n(B), {
743
+ name: i.processing ? "loader4Line" : i.icon,
813
744
  size: 18,
814
- class: y(l.processing ? "animate-spin" : "")
745
+ class: _(i.processing ? "animate-spin" : "")
815
746
  }, null, 8, ["name", "class"])
816
- ], 8, Zt)) : (r(), p("button", {
747
+ ], 8, Qt)) : (u(), h("button", {
817
748
  key: 1,
818
749
  type: "button",
819
- "data-page-action": l.id,
820
- disabled: l.disabled || l.processing,
821
- "aria-label": l.shortLabel ? l.label : void 0,
822
- "aria-busy": l.processing || void 0,
750
+ "data-page-action": i.id,
751
+ disabled: i.disabled || i.processing,
752
+ "aria-label": i.shortLabel ? i.label : void 0,
753
+ "aria-busy": i.processing || void 0,
823
754
  class: "hit-target flex min-w-0 shrink cursor-pointer items-center gap-1 rounded-control px-2 text-body font-semibold text-content-link disabled:text-content-disabled",
824
- onClick: (E) => l.onClick()
755
+ onClick: (E) => i.onClick()
825
756
  }, [
826
- l.processing ? (r(), T(n(R), {
757
+ i.processing ? (u(), O(n(B), {
827
758
  key: 0,
828
759
  name: "loader4Line",
829
760
  size: 16,
830
761
  class: "animate-spin"
831
762
  })) : L("", !0),
832
- d("span", tn, O(l.shortLabel ?? l.label), 1)
833
- ], 8, en))
763
+ d("span", Zt, D(i.shortLabel ?? i.label), 1)
764
+ ], 8, Jt))
834
765
  ], 64))), 128)),
835
- $.value.length ? (r(), T(n(Ze), {
766
+ y.value.length ? (u(), O(n(et), {
836
767
  key: 0,
837
- items: $.value,
768
+ items: y.value,
838
769
  label: n(a)("core.page.more_actions")
839
770
  }, {
840
- trigger: I(({ toggle: l, attrs: E }) => [
841
- d("button", K({ type: "button" }, E, {
771
+ trigger: T(({ toggle: i, attrs: E }) => [
772
+ d("button", Y({ type: "button" }, E, {
842
773
  "aria-label": n(a)("core.page.more_actions"),
843
774
  "data-shell-bar-more": "",
844
775
  class: "hit-target flex size-9 cursor-pointer items-center justify-center rounded-full text-content-link",
845
- onClick: l
776
+ onClick: i
846
777
  }), [
847
- h(n(R), {
778
+ p(n(B), {
848
779
  name: "moreLine",
849
780
  size: 22
850
781
  })
851
- ], 16, nn)
782
+ ], 16, en)
852
783
  ]),
853
784
  _: 1
854
785
  }, 8, ["items", "label"])) : L("", !0)
855
786
  ], 64)) : L("", !0),
856
- D(m.$slots, "end")
787
+ z(f.$slots, "end")
857
788
  ])
858
789
  ])
859
790
  ], 2)) : L("", !0);
860
791
  }
861
792
  });
862
- function on(e) {
793
+ function nn(e) {
863
794
  const { name: a, email: t } = e;
864
795
  return { name: typeof a == "string" && a !== "" ? a : String(e.id), detail: typeof t == "string" ? t : null };
865
796
  }
866
- function sn(e) {
867
- const { session: a } = G(), t = e ?? on;
797
+ function an(e) {
798
+ const { session: a } = Q(), t = e ?? nn;
868
799
  return C(() => {
869
- const o = a.state.value;
870
- return o.status === "authenticated" ? t(o.user) : null;
800
+ const o = ie(a.state.value);
801
+ return o ? t(o.user) : null;
871
802
  });
872
803
  }
873
- const ln = { class: "flex min-h-screen flex-col bg-surface-page text-base text-content antialiased" }, rn = ["aria-label"], cn = { class: "flex flex-1" }, un = { class: "flex min-w-0 flex-1 overflow-x-clip" }, dn = { "data-dialog-inert-skip": "" }, fn = /* @__PURE__ */ M({
804
+ const on = { class: "flex min-h-screen flex-col bg-surface-page text-base text-content antialiased" }, sn = ["aria-label"], ln = { class: "flex flex-1" }, rn = { class: "flex min-w-0 flex-1 overflow-x-clip" }, cn = { "data-dialog-inert-skip": "" }, un = /* @__PURE__ */ I({
874
805
  __name: "BackofficeShell",
875
806
  props: {
876
807
  home: { default: void 0 },
@@ -878,9 +809,9 @@ const ln = { class: "flex min-h-screen flex-col bg-surface-page text-base text-c
878
809
  progress: { default: void 0 }
879
810
  },
880
811
  setup(e) {
881
- const a = e, { t } = N(), { session: o } = G(), i = Se(), s = sn(a.identity), u = C(() => o.state.value.status === "authenticated"), f = te("accountSheet");
882
- return (c, v) => (r(), p("div", ln, [
883
- e.progress?.visible.value ? (r(), p("div", {
812
+ const a = e, { t } = N(), { session: o } = Q(), s = ke(), c = an(a.identity), r = C(() => ie(o.state.value) !== null), m = ne("accountSheet");
813
+ return (l, v) => (u(), h("div", on, [
814
+ e.progress?.visible.value ? (u(), h("div", {
884
815
  key: 0,
885
816
  role: "progressbar",
886
817
  "aria-label": n(t)("core.state.loading"),
@@ -888,81 +819,82 @@ const ln = { class: "flex min-h-screen flex-col bg-surface-page text-base text-c
888
819
  class: "fixed inset-x-0 top-0 z-10000 flex h-1 justify-center bg-primary-800"
889
820
  }, [...v[0] || (v[0] = [
890
821
  d("div", { class: "animate-grow-and-shrink-width bg-primary-600 motion-reduce:w-full motion-reduce:animate-none motion-reduce:opacity-60" }, null, -1)
891
- ])], 8, rn)) : L("", !0),
892
- h(Kt, { enabled: u.value }, W({
893
- default: I(() => [
894
- h(an, { home: e.home }, W({ _: 2 }, [
895
- c.$slots.brand ? {
822
+ ])], 8, sn)) : L("", !0),
823
+ p(n(H), { name: "banner" }),
824
+ p(Ft, { enabled: r.value }, K({
825
+ default: T(() => [
826
+ p(tn, { home: e.home }, K({ _: 2 }, [
827
+ l.$slots.brand ? {
896
828
  name: "brand",
897
- fn: I((b) => [
898
- D(c.$slots, "brand", X(Y(b)))
829
+ fn: T((g) => [
830
+ z(l.$slots, "brand", U(X(g)))
899
831
  ]),
900
832
  key: "0"
901
833
  } : void 0,
902
- c.$slots["top-bar-end"] ? {
834
+ l.$slots["top-bar-end"] ? {
903
835
  name: "end",
904
- fn: I(() => [
905
- D(c.$slots, "top-bar-end")
836
+ fn: T(() => [
837
+ z(l.$slots, "top-bar-end")
906
838
  ]),
907
839
  key: "1"
908
840
  } : void 0
909
841
  ]), 1032, ["home"]),
910
- d("div", cn, [
911
- n(s) ? (r(), T(Ot, {
842
+ d("div", ln, [
843
+ n(c) ? (u(), O(It, {
912
844
  key: 0,
913
- identity: n(s),
845
+ identity: n(c),
914
846
  home: e.home
915
- }, W({ _: 2 }, [
916
- c.$slots.brand ? {
847
+ }, K({ _: 2 }, [
848
+ l.$slots.brand ? {
917
849
  name: "brand",
918
- fn: I((b) => [
919
- D(c.$slots, "brand", X(Y(b)))
850
+ fn: T((g) => [
851
+ z(l.$slots, "brand", U(X(g)))
920
852
  ]),
921
853
  key: "0"
922
854
  } : void 0,
923
- c.$slots.footer ? {
855
+ l.$slots.footer ? {
924
856
  name: "footer",
925
- fn: I(() => [
926
- D(c.$slots, "footer")
857
+ fn: T(() => [
858
+ z(l.$slots, "footer")
927
859
  ]),
928
860
  key: "1"
929
861
  } : void 0
930
862
  ]), 1032, ["identity", "home"])) : L("", !0),
931
- d("div", un, [
863
+ d("div", rn, [
932
864
  d("main", {
933
- class: y(["flex min-w-0 flex-1 flex-col", n(i).hasShell.value ? "" : "p-4 md:px-8 md:py-6"]),
934
- style: ge(n(i).hasShell.value ? void 0 : { paddingBottom: "calc(var(--bottom-dock-h, 0px) + 1rem)" })
865
+ class: _(["flex min-w-0 flex-1 flex-col", n(s).hasShell.value ? "" : "p-4 md:px-8 md:py-6"]),
866
+ style: ge(n(s).hasShell.value ? void 0 : { paddingBottom: "calc(var(--bottom-dock-h, 0px) + 1rem)" })
935
867
  }, [
936
- h(n(Ge))
868
+ p(n(He))
937
869
  ], 6)
938
870
  ])
939
871
  ]),
940
- h(n(He), {
941
- class: y(u.value ? "md:left-64" : "")
872
+ p(n(Ge), {
873
+ class: _(r.value ? "md:left-64" : "")
942
874
  }, null, 8, ["class"])
943
875
  ]),
944
876
  _: 2
945
877
  }, [
946
- n(s) ? {
878
+ n(c) ? {
947
879
  name: "drawer",
948
- fn: I(({ select: b, dismiss: w }) => [
949
- h(Et, {
950
- identity: n(s),
880
+ fn: T(({ select: g, dismiss: x }) => [
881
+ p(Lt, {
882
+ identity: n(c),
951
883
  home: e.home,
952
- onSelect: b,
953
- onAccount: (_) => w(() => f.value?.present())
954
- }, W({ _: 2 }, [
955
- c.$slots.brand ? {
884
+ onSelect: g,
885
+ onAccount: (k) => x(() => m.value?.present())
886
+ }, K({ _: 2 }, [
887
+ l.$slots.brand ? {
956
888
  name: "brand",
957
- fn: I((_) => [
958
- D(c.$slots, "brand", X(Y(_)))
889
+ fn: T((k) => [
890
+ z(l.$slots, "brand", U(X(k)))
959
891
  ]),
960
892
  key: "0"
961
893
  } : void 0,
962
- c.$slots.footer ? {
894
+ l.$slots.footer ? {
963
895
  name: "footer",
964
- fn: I(() => [
965
- D(c.$slots, "footer")
896
+ fn: T(() => [
897
+ z(l.$slots, "footer")
966
898
  ]),
967
899
  key: "1"
968
900
  } : void 0
@@ -971,24 +903,24 @@ const ln = { class: "flex min-h-screen flex-col bg-surface-page text-base text-c
971
903
  key: "0"
972
904
  } : void 0
973
905
  ]), 1032, ["enabled"]),
974
- n(s) ? (r(), T(vt, {
906
+ n(c) ? (u(), O(ft, {
975
907
  key: 1,
976
908
  ref_key: "accountSheet",
977
- ref: f,
978
- identity: n(s)
909
+ ref: m,
910
+ identity: n(c)
979
911
  }, null, 8, ["identity"])) : L("", !0),
980
- (r(), T(Ne, { to: "body" }, [
981
- d("div", dn, [
982
- h(n(qe))
912
+ (u(), O(Re, { to: "body" }, [
913
+ d("div", cn, [
914
+ p(n(qe))
983
915
  ])
984
916
  ])),
985
- h(Ye),
986
- h(n(ae), { name: "host" })
917
+ p(Ye),
918
+ p(n(H), { name: "host" })
987
919
  ]));
988
920
  }
989
921
  });
990
- function mn(e = et) {
991
- const a = Pe(!1);
922
+ function dn(e = tt) {
923
+ const a = Be(!1);
992
924
  let t;
993
925
  return {
994
926
  visible: a,
@@ -1000,13 +932,13 @@ function mn(e = et) {
1000
932
  }
1001
933
  };
1002
934
  }
1003
- function Yn(e = {}) {
1004
- const a = mn(), { brand: t, footer: o, topBarEnd: i } = e;
1005
- return { component: M({
935
+ function qn(e = {}) {
936
+ const a = dn(), { brand: t, footer: o, topBarEnd: s } = e;
937
+ return { component: I({
1006
938
  name: "BackofficeShell",
1007
939
  setup() {
1008
- return () => J(
1009
- fn,
940
+ return () => Z(
941
+ un,
1010
942
  {
1011
943
  home: e.home,
1012
944
  // The application's session produces U; the shell reads it as the SessionUser it is guaranteed to be.
@@ -1014,36 +946,36 @@ function Yn(e = {}) {
1014
946
  progress: a
1015
947
  },
1016
948
  {
1017
- ...t && { brand: (u) => J(t, u) },
1018
- ...o && { footer: () => J(o) },
1019
- ...i && { "top-bar-end": () => J(i) }
949
+ ...t && { brand: (r) => Z(t, r) },
950
+ ...o && { footer: () => Z(o) },
951
+ ...s && { "top-bar-end": () => Z(s) }
1020
952
  }
1021
953
  );
1022
954
  }
1023
- }), slots: ["headerActions", "accountMenu", "host"], progress: a };
955
+ }), slots: ["headerActions", "accountMenu", "banner", "host"], progress: a };
1024
956
  }
1025
- const vn = 30 * 6e4, pn = 6e4;
1026
- function hn(e, a) {
957
+ const fn = 30 * 6e4, mn = 6e4;
958
+ function pn(e, a) {
1027
959
  const t = new DOMParser().parseFromString(e, "text/html").querySelectorAll('script[type="module"][src]');
1028
960
  return Array.from(t, (o) => new URL(o.getAttribute("src") ?? "", a).pathname).sort();
1029
961
  }
1030
- function bn() {
962
+ function vn() {
1031
963
  return Array.from(document.querySelectorAll('script[type="module"][src]'), (e) => new URL(e.src, location.href).pathname).sort();
1032
964
  }
1033
- function gn(e) {
1034
- return M({
965
+ function hn(e) {
966
+ return I({
1035
967
  name: "AppUpdateNotice",
1036
968
  setup() {
1037
969
  if (e.enabled === !1) return () => null;
1038
- const { t: a } = N(), t = e.url ?? "/", o = bn();
1039
- let i = !1, s = 0;
1040
- async function u() {
1041
- if (!(i || o.length === 0 || !navigator.onLine || document.visibilityState !== "visible") && !(Date.now() - s < pn)) {
1042
- s = Date.now();
970
+ const { t: a } = N(), t = e.url ?? "/", o = vn();
971
+ let s = !1, c = 0;
972
+ async function r() {
973
+ if (!(s || o.length === 0 || !navigator.onLine || document.visibilityState !== "visible") && !(Date.now() - c < mn)) {
974
+ c = Date.now();
1043
975
  try {
1044
- const v = await fetch(t, { cache: "no-store", credentials: "include" }), b = v.ok ? hn(await v.text(), location.href) : [];
1045
- if (b.length === 0 || b.join() === o.join()) return;
1046
- i = !0, we.info(a("core.shell.update.available"), {
976
+ const v = await fetch(t, { cache: "no-store", credentials: "include" }), g = v.ok ? pn(await v.text(), location.href) : [];
977
+ if (g.length === 0 || g.join() === o.join()) return;
978
+ s = !0, we.info(a("core.shell.update.available"), {
1047
979
  duration: 1 / 0,
1048
980
  action: { label: a("core.shell.update.reload"), onClick: () => location.reload() }
1049
981
  });
@@ -1051,27 +983,27 @@ function gn(e) {
1051
983
  }
1052
984
  }
1053
985
  }
1054
- const f = () => void u();
1055
- document.addEventListener("visibilitychange", f);
1056
- const c = setInterval(u, e.checkEveryMs ?? vn);
986
+ const m = () => void r();
987
+ document.addEventListener("visibilitychange", m);
988
+ const l = setInterval(r, e.checkEveryMs ?? fn);
1057
989
  return le(() => {
1058
- document.removeEventListener("visibilitychange", f), clearInterval(c);
990
+ document.removeEventListener("visibilitychange", m), clearInterval(l);
1059
991
  }), () => null;
1060
992
  }
1061
993
  });
1062
994
  }
1063
- function qn(e = {}) {
1064
- return ke({
995
+ function Gn(e = {}) {
996
+ return _e({
1065
997
  id: "vue-core.app-updates",
1066
- contributions: [{ id: "vue-core.app-updates", slot: "host", component: gn(e), scope: "always" }]
998
+ contributions: [{ id: "vue-core.app-updates", slot: "host", component: hn(e), scope: "always" }]
1067
999
  });
1068
1000
  }
1069
- const yn = {
1001
+ const bn = {
1070
1002
  key: 1,
1071
1003
  "aria-hidden": "true",
1072
1004
  "data-header-action-badge": "",
1073
1005
  class: "absolute -top-0.5 -right-0.5 min-w-4 rounded-full bg-status-danger-solid px-1 text-center text-3xs leading-4 font-semibold text-white"
1074
- }, Hn = /* @__PURE__ */ M({
1006
+ }, Hn = /* @__PURE__ */ I({
1075
1007
  __name: "HeaderAction",
1076
1008
  props: {
1077
1009
  label: {},
@@ -1081,95 +1013,95 @@ const yn = {
1081
1013
  },
1082
1014
  emits: ["click"],
1083
1015
  setup(e, { emit: a }) {
1084
- const t = a, o = be(ce, "bar"), i = C(() => o === "rail");
1085
- return (s, u) => (r(), T(he(e.to ? n(oe) : "button"), K(e.to ? { to: e.to } : { type: "button" }, {
1016
+ const t = a, o = be(re, "bar"), s = C(() => o === "rail");
1017
+ return (c, r) => (u(), O(Ne(e.to ? n(ce) : "button"), Y(e.to ? { to: e.to } : { type: "button" }, {
1086
1018
  "aria-label": e.label,
1087
1019
  "data-header-action": "",
1088
- class: ["hit-target relative flex shrink-0 cursor-pointer items-center justify-center rounded-full transition-colors duration-motion-fast focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus", i.value ? "size-9 text-gray-300 hover:bg-white/10 hover:text-white" : "size-8 text-content-link active:bg-tint-soft"],
1089
- onClick: u[0] || (u[0] = (f) => t("click"))
1020
+ class: ["hit-target relative flex shrink-0 cursor-pointer items-center justify-center rounded-full transition-colors duration-motion-fast focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus", s.value ? "size-9 text-gray-300 hover:bg-white/10 hover:text-white" : "size-8 text-content-link active:bg-tint-soft"],
1021
+ onClick: r[0] || (r[0] = (m) => t("click"))
1090
1022
  }), {
1091
- default: I(() => [
1092
- h(n(R), {
1023
+ default: T(() => [
1024
+ p(n(B), {
1093
1025
  name: e.icon,
1094
- size: i.value ? 20 : 18
1026
+ size: s.value ? 20 : 18
1095
1027
  }, null, 8, ["name", "size"]),
1096
- e.badge === "dot" ? (r(), p("span", {
1028
+ e.badge === "dot" ? (u(), h("span", {
1097
1029
  key: 0,
1098
1030
  "aria-hidden": "true",
1099
1031
  "data-header-action-badge": "",
1100
- class: y(["absolute top-1 right-1 size-2.5 rounded-full bg-status-danger-solid ring-2", i.value ? "ring-anchor-900" : "ring-surface-page"])
1101
- }, null, 2)) : e.badge !== void 0 ? (r(), p("span", yn, O(e.badge), 1)) : L("", !0)
1032
+ class: _(["absolute top-1 right-1 size-2.5 rounded-full bg-status-danger-solid ring-2", s.value ? "ring-anchor-900" : "ring-surface-page"])
1033
+ }, null, 2)) : e.badge !== void 0 ? (u(), h("span", bn, D(e.badge), 1)) : L("", !0)
1102
1034
  ]),
1103
1035
  _: 1
1104
1036
  }, 16, ["aria-label", "class"]));
1105
1037
  }
1106
- }), xn = 1e3, Z = (e) => e.path.split("/").filter(Boolean).length;
1107
- function wn(e) {
1038
+ }), gn = 1e3, ee = (e) => e.path.split("/").filter(Boolean).length;
1039
+ function yn(e) {
1108
1040
  if (typeof document > "u" || typeof document.startViewTransition != "function") return () => {
1109
1041
  };
1110
1042
  let a = null;
1111
- const t = () => window.matchMedia("(max-width: 1023px)").matches && !window.matchMedia("(prefers-reduced-motion: reduce)").matches && !document.body.classList.contains(tt), o = e.beforeResolve((f, c) => {
1112
- if (i(), !c.matched.length || f.path === c.path || !t()) return;
1113
- const v = Z(f) > Z(c) ? "forward" : Z(f) < Z(c) ? "back" : null;
1043
+ const t = () => window.matchMedia("(max-width: 1023px)").matches && !window.matchMedia("(prefers-reduced-motion: reduce)").matches && !document.body.classList.contains(nt), o = e.beforeResolve((m, l) => {
1044
+ if (s(), !l.matched.length || m.path === l.path || !t()) return;
1045
+ const v = ee(m) > ee(l) ? "forward" : ee(m) < ee(l) ? "back" : null;
1114
1046
  if (!v) return;
1115
- const b = document.documentElement;
1116
- return b.dataset.navDirection = v, new Promise((w) => {
1117
- const _ = document.startViewTransition(
1118
- () => new Promise((S) => {
1119
- const $ = setTimeout(S, xn);
1047
+ const g = document.documentElement;
1048
+ return g.dataset.navDirection = v, new Promise((x) => {
1049
+ const k = document.startViewTransition(
1050
+ () => new Promise(($) => {
1051
+ const y = setTimeout($, gn);
1120
1052
  a = () => {
1121
- clearTimeout($), S();
1122
- }, w();
1053
+ clearTimeout(y), $();
1054
+ }, x();
1123
1055
  })
1124
1056
  );
1125
- _.ready.catch(() => {
1126
- }), _.finished.catch(() => {
1057
+ k.ready.catch(() => {
1058
+ }), k.finished.catch(() => {
1127
1059
  }).finally(() => {
1128
- b.dataset.navDirection === v && delete b.dataset.navDirection;
1060
+ g.dataset.navDirection === v && delete g.dataset.navDirection;
1129
1061
  });
1130
1062
  });
1131
1063
  });
1132
- function i() {
1133
- const f = a;
1134
- a = null, f && ye().then(f);
1064
+ function s() {
1065
+ const m = a;
1066
+ a = null, m && ye().then(m);
1135
1067
  }
1136
- const s = e.afterEach(i), u = e.onError(i);
1068
+ const c = e.afterEach(s), r = e.onError(s);
1137
1069
  return () => {
1138
- o(), s(), u(), delete document.documentElement.dataset.navDirection, a?.(), a = null;
1070
+ o(), c(), r(), delete document.documentElement.dataset.navDirection, a?.(), a = null;
1139
1071
  };
1140
1072
  }
1141
- const kn = M({
1073
+ const xn = I({
1142
1074
  name: "ViewTransitions",
1143
1075
  setup() {
1144
- return le(wn(re())), () => null;
1076
+ return le(yn(ue())), () => null;
1145
1077
  }
1146
1078
  });
1147
- function Gn() {
1148
- return ke({
1079
+ function Qn() {
1080
+ return _e({
1149
1081
  id: "vue-core.view-transitions",
1150
- contributions: [{ id: "vue-core.view-transitions", slot: "host", component: kn, scope: "always" }]
1082
+ contributions: [{ id: "vue-core.view-transitions", slot: "host", component: xn, scope: "always" }]
1151
1083
  });
1152
1084
  }
1153
1085
  export {
1154
- mt as AccountMenu,
1155
- me as AccountMenuItem,
1156
- vt as AccountSheet,
1157
- fn as BackofficeShell,
1086
+ dt as AccountMenu,
1087
+ pe as AccountMenuItem,
1088
+ ft as AccountSheet,
1089
+ un as BackofficeShell,
1158
1090
  Hn as HeaderAction,
1159
- Et as NavigationDrawer,
1160
- Ee as NavigationList,
1161
- Xt as NavigationMenuButton,
1162
- ue as ShellBrand,
1163
- Ot as ShellSidebar,
1164
- Kt as ShellStage,
1165
- an as ShellTopBar,
1166
- qn as appUpdates,
1167
- Yn as backofficeShell,
1168
- mn as createNavigationProgress,
1169
- on as defaultIdentity,
1170
- ht as groupNavigation,
1171
- wn as installViewTransitions,
1172
- Ft as useNavigationDrawer,
1173
- sn as useShellIdentity,
1174
- Gn as viewTransitions
1091
+ Lt as NavigationDrawer,
1092
+ Le as NavigationList,
1093
+ Wt as NavigationMenuButton,
1094
+ de as ShellBrand,
1095
+ It as ShellSidebar,
1096
+ Ft as ShellStage,
1097
+ tn as ShellTopBar,
1098
+ Gn as appUpdates,
1099
+ qn as backofficeShell,
1100
+ dn as createNavigationProgress,
1101
+ nn as defaultIdentity,
1102
+ pt as groupNavigation,
1103
+ yn as installViewTransitions,
1104
+ Pt as useNavigationDrawer,
1105
+ an as useShellIdentity,
1106
+ Qn as viewTransitions
1175
1107
  };