solid-ui 5.0.2-1 → 5.0.2-3

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 (320) hide show
  1. package/dist/_virtual/~icons/lucide/arrow-left.cjs.js +2 -0
  2. package/dist/_virtual/~icons/lucide/arrow-left.cjs.js.map +1 -0
  3. package/dist/_virtual/~icons/lucide/arrow-left.esm.js +10 -0
  4. package/dist/_virtual/~icons/lucide/arrow-left.esm.js.map +1 -0
  5. package/dist/_virtual/~icons/lucide/ellipsis-vertical.cjs.js +2 -0
  6. package/dist/_virtual/~icons/lucide/ellipsis-vertical.cjs.js.map +1 -0
  7. package/dist/_virtual/~icons/lucide/ellipsis-vertical.esm.js +10 -0
  8. package/dist/_virtual/~icons/lucide/ellipsis-vertical.esm.js.map +1 -0
  9. package/dist/_virtual/~icons/lucide/file.cjs.js +2 -0
  10. package/dist/_virtual/~icons/lucide/file.cjs.js.map +1 -0
  11. package/dist/_virtual/~icons/lucide/file.esm.js +10 -0
  12. package/dist/_virtual/~icons/lucide/file.esm.js.map +1 -0
  13. package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js +2 -0
  14. package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js.map +1 -0
  15. package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js +10 -0
  16. package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js.map +1 -0
  17. package/dist/_virtual/~icons/lucide/pencil.cjs.js +2 -0
  18. package/dist/_virtual/~icons/lucide/pencil.cjs.js.map +1 -0
  19. package/dist/_virtual/~icons/lucide/pencil.esm.js +10 -0
  20. package/dist/_virtual/~icons/lucide/pencil.esm.js.map +1 -0
  21. package/dist/_virtual/~icons/lucide/share-2.cjs.js +2 -0
  22. package/dist/_virtual/~icons/lucide/share-2.cjs.js.map +1 -0
  23. package/dist/_virtual/~icons/lucide/share-2.esm.js +10 -0
  24. package/dist/_virtual/~icons/lucide/share-2.esm.js.map +1 -0
  25. package/dist/_virtual/~icons/lucide/user-round-cog.cjs.js +2 -0
  26. package/dist/_virtual/~icons/lucide/user-round-cog.cjs.js.map +1 -0
  27. package/dist/_virtual/~icons/lucide/user-round-cog.esm.js +10 -0
  28. package/dist/_virtual/~icons/lucide/user-round-cog.esm.js.map +1 -0
  29. package/dist/chunks/DialogProvider-dagk2fHm.js +209 -0
  30. package/dist/chunks/DialogProvider-dagk2fHm.js.map +1 -0
  31. package/dist/chunks/ResourceActionsMenu-o-8kWx8z.js +379 -0
  32. package/dist/chunks/ResourceActionsMenu-o-8kWx8z.js.map +1 -0
  33. package/dist/chunks/{access-control-modal-Dcg6-f4V.js → access-control-modal-CWH98HX3.js} +466 -478
  34. package/dist/chunks/access-control-modal-CWH98HX3.js.map +1 -0
  35. package/dist/chunks/{account-D6JK-n7u.js → account-Cocvv0H3.js} +21 -20
  36. package/dist/chunks/{account-D6JK-n7u.js.map → account-Cocvv0H3.js.map} +1 -1
  37. package/dist/chunks/{auth-B_abPDvH.js → auth-Df5uYksz.js} +41 -39
  38. package/dist/chunks/{auth-B_abPDvH.js.map → auth-Df5uYksz.js.map} +1 -1
  39. package/dist/chunks/{avatar-BR3COVSQ.js → avatar-DeotTinS.js} +11 -10
  40. package/dist/chunks/{avatar-BR3COVSQ.js.map → avatar-DeotTinS.js.map} +1 -1
  41. package/dist/chunks/{button-D6qO2idW.js → button-Dy1aFjqG.js} +11 -10
  42. package/dist/chunks/{button-D6qO2idW.js.map → button-Dy1aFjqG.js.map} +1 -1
  43. package/dist/chunks/{chunk.UEBQI7VV-lcP-fpUk.js → chunk.UEBQI7VV-9M5gO7Ew.js} +9 -12
  44. package/dist/chunks/chunk.UEBQI7VV-9M5gO7Ew.js.map +1 -0
  45. package/dist/chunks/{combobox-fSTp9qoT.js → combobox-BL0-8wef.js} +18 -17
  46. package/dist/chunks/{combobox-fSTp9qoT.js.map → combobox-BL0-8wef.js.map} +1 -1
  47. package/dist/chunks/{combobox-option-DOtGuKel.js → combobox-option-DjlmXt1O.js} +8 -7
  48. package/dist/chunks/{combobox-option-DOtGuKel.js.map → combobox-option-DjlmXt1O.js.map} +1 -1
  49. package/dist/chunks/{components-C8c2Ucm5.js → components-LxiwG5ae.js} +190 -201
  50. package/dist/chunks/components-LxiwG5ae.js.map +1 -0
  51. package/dist/chunks/context-By_u12WA.js +21 -0
  52. package/dist/chunks/context-By_u12WA.js.map +1 -0
  53. package/dist/chunks/custom-element-BW8Ua4c7.js +9 -0
  54. package/dist/chunks/custom-element-BW8Ua4c7.js.map +1 -0
  55. package/dist/chunks/decorators-V-B013l9.js +12 -0
  56. package/dist/chunks/decorators-V-B013l9.js.map +1 -0
  57. package/dist/chunks/{dialog-CgYK767T.js → dialog-CrmftB9c.js} +16 -15
  58. package/dist/chunks/{dialog-CgYK767T.js.map → dialog-CrmftB9c.js.map} +1 -1
  59. package/dist/chunks/{dialog-content-DjwRH1ci.js → dialog-content-Cw3xqJ45.js} +6 -5
  60. package/dist/chunks/{dialog-content-DjwRH1ci.js.map → dialog-content-Cw3xqJ45.js.map} +1 -1
  61. package/dist/chunks/{dialog-footer-GQWi8lfB.js → dialog-footer-sFQf-2zD.js} +6 -5
  62. package/dist/chunks/{dialog-footer-GQWi8lfB.js.map → dialog-footer-sFQf-2zD.js.map} +1 -1
  63. package/dist/chunks/{dialog-header-c3qOMQfb.js → dialog-header-xIWIqfZK.js} +6 -5
  64. package/dist/chunks/{dialog-header-c3qOMQfb.js.map → dialog-header-xIWIqfZK.js.map} +1 -1
  65. package/dist/chunks/{dialogs-BmtLjMzg.js → dialogs-B3tHtjMf.js} +2 -2
  66. package/dist/chunks/{dialogs-BmtLjMzg.js.map → dialogs-B3tHtjMf.js.map} +1 -1
  67. package/dist/chunks/{dialogs-root-BcQo2XMF.js → dialogs-root-Lh2u-3Cs.js} +9 -8
  68. package/dist/chunks/{dialogs-root-BcQo2XMF.js.map → dialogs-root-Lh2u-3Cs.js.map} +1 -1
  69. package/dist/chunks/{error-state-BD4_Wrkz.js → error-state-DnsXVj1z.js} +11 -10
  70. package/dist/chunks/{error-state-BD4_Wrkz.js.map → error-state-DnsXVj1z.js.map} +1 -1
  71. package/dist/chunks/events-CXQHDCs2.js +8 -0
  72. package/dist/chunks/events-CXQHDCs2.js.map +1 -0
  73. package/dist/chunks/file-explorer-header-B6-Q0i6V.js +963 -0
  74. package/dist/chunks/file-explorer-header-B6-Q0i6V.js.map +1 -0
  75. package/dist/chunks/file-explorer-provider-B3gUBkHg.js +296 -0
  76. package/dist/chunks/file-explorer-provider-B3gUBkHg.js.map +1 -0
  77. package/dist/chunks/globe-CsCgZcy5.js +16 -0
  78. package/dist/chunks/globe-CsCgZcy5.js.map +1 -0
  79. package/dist/chunks/{guard-bTeM7wd7.js → guard-C39y81In.js} +11 -10
  80. package/dist/chunks/{guard-bTeM7wd7.js.map → guard-C39y81In.js.map} +1 -1
  81. package/dist/chunks/index.esm-C9oV3H3X.js +6 -0
  82. package/dist/chunks/index.esm-C9oV3H3X.js.map +1 -0
  83. package/dist/chunks/{input-Bz3l514j.js → input-Bi6ZBZQw.js} +12 -11
  84. package/dist/chunks/{input-Bz3l514j.js.map → input-Bi6ZBZQw.js.map} +1 -1
  85. package/dist/chunks/{jsonld-CnfzCyCn.js → jsonld-D-TE94B0.js} +2 -2
  86. package/dist/chunks/{jsonld-CnfzCyCn.js.map → jsonld-D-TE94B0.js.map} +1 -1
  87. package/dist/chunks/{login-button-Div4ZT4J.js → login-button-fo0P8vym.js} +10 -9
  88. package/dist/chunks/{login-button-Div4ZT4J.js.map → login-button-fo0P8vym.js.map} +1 -1
  89. package/dist/chunks/{logout-button-D3lqlnCX.js → logout-button-CF2YFgID.js} +10 -9
  90. package/dist/chunks/{logout-button-D3lqlnCX.js.map → logout-button-CF2YFgID.js.map} +1 -1
  91. package/dist/chunks/{menu-D0k2fkiE.js → menu-RumUciM-.js} +49 -47
  92. package/dist/chunks/{menu-D0k2fkiE.js.map → menu-RumUciM-.js.map} +1 -1
  93. package/dist/chunks/{menu-item-nfPpH4dN.js → menu-item-CVAZyipz.js} +11 -10
  94. package/dist/chunks/{menu-item-nfPpH4dN.js.map → menu-item-CVAZyipz.js.map} +1 -1
  95. package/dist/chunks/{photo-capture-hJaJm4TM.js → photo-capture-CAfo7y6-.js} +21 -20
  96. package/dist/chunks/photo-capture-CAfo7y6-.js.map +1 -0
  97. package/dist/chunks/{photo-capture-modal-BsHv6wmh.js → photo-capture-modal-DWmDE_Ws.js} +29 -28
  98. package/dist/chunks/{photo-capture-modal-BsHv6wmh.js.map → photo-capture-modal-DWmDE_Ws.js.map} +1 -1
  99. package/dist/chunks/provide-B5NeVMM_.js +111 -0
  100. package/dist/chunks/provide-B5NeVMM_.js.map +1 -0
  101. package/dist/chunks/{provider-Dcd1NPYx.js → provider-BbT2duMy.js} +11 -10
  102. package/dist/chunks/{provider-Dcd1NPYx.js.map → provider-BbT2duMy.js.map} +1 -1
  103. package/dist/chunks/{rdf-form-CmPnHKR-.js → rdf-form-CH9bDx98.js} +30 -29
  104. package/dist/chunks/{rdf-form-CmPnHKR-.js.map → rdf-form-CH9bDx98.js.map} +1 -1
  105. package/dist/chunks/{rdf-input-3AgoeCkJ.js → rdf-input-C_V0pIS5.js} +56 -55
  106. package/dist/chunks/{rdf-input-3AgoeCkJ.js.map → rdf-input-C_V0pIS5.js.map} +1 -1
  107. package/dist/chunks/{select-option-DQan7rcB.js → select-option-U4ALXL20.js} +8 -7
  108. package/dist/chunks/{select-option-DQan7rcB.js.map → select-option-U4ALXL20.js.map} +1 -1
  109. package/dist/chunks/{select-ClPkDkGl.js → select-y1Z6fwmh.js} +10 -9
  110. package/dist/chunks/{select-ClPkDkGl.js.map → select-y1Z6fwmh.js.map} +1 -1
  111. package/dist/chunks/{signup-button-2fAoS0Nv.js → signup-button-DicFpAjD.js} +10 -9
  112. package/dist/chunks/{signup-button-2fAoS0Nv.js.map → signup-button-DicFpAjD.js.map} +1 -1
  113. package/dist/chunks/{solid-emblem-DwLdkGuO.js → solid-emblem-CeCXTpve.js} +8 -7
  114. package/dist/chunks/{solid-emblem-DwLdkGuO.js.map → solid-emblem-CeCXTpve.js.map} +1 -1
  115. package/dist/chunks/{index.esm-CECfD0e9.js → solidLogicSingleton.esm-BXyHD7mn.js} +1210 -1161
  116. package/dist/chunks/solidLogicSingleton.esm-BXyHD7mn.js.map +1 -0
  117. package/dist/chunks/{src-Dx7k_VIe.js → src-Bhtor0ZC.js} +2311 -2282
  118. package/dist/chunks/src-Bhtor0ZC.js.map +1 -0
  119. package/dist/chunks/{style-w0Fl0xnd.js → style-CXaw5EYi.js} +9 -8
  120. package/dist/chunks/{style-w0Fl0xnd.js.map → style-CXaw5EYi.js.map} +1 -1
  121. package/dist/chunks/{widgets-BWpm5CPx.js → widgets-BBEQu0CS.js} +722 -721
  122. package/dist/chunks/{widgets-BWpm5CPx.js.map → widgets-BBEQu0CS.js.map} +1 -1
  123. package/dist/components/access-control-modal/AccessControlAddAccess.esm.js.map +1 -1
  124. package/dist/components/access-control-modal/AccessControlErrors.esm.js.map +1 -1
  125. package/dist/components/access-control-modal/AccessControlGeneralAccess.esm.js.map +1 -1
  126. package/dist/components/access-control-modal/AccessControlModal.cjs.js +1 -1
  127. package/dist/components/access-control-modal/AccessControlModal.cjs.js.map +1 -1
  128. package/dist/components/access-control-modal/AccessControlModal.esm.js +1 -1
  129. package/dist/components/access-control-modal/AccessControlModal.esm.js.map +1 -1
  130. package/dist/components/access-control-modal/AccessControlSharedAccess.esm.js.map +1 -1
  131. package/dist/components/access-control-modal.js +1 -1
  132. package/dist/components/account/Account.esm.js.map +1 -1
  133. package/dist/components/account.js +1 -1
  134. package/dist/components/all.cjs.js +1 -1
  135. package/dist/components/all.esm.js +3 -0
  136. package/dist/components/avatar.js +1 -1
  137. package/dist/components/button/Button.esm.js.map +1 -1
  138. package/dist/components/button.js +1 -1
  139. package/dist/components/combobox/Combobox.esm.js.map +1 -1
  140. package/dist/components/combobox-option/ComboboxOption.esm.js.map +1 -1
  141. package/dist/components/combobox-option.js +1 -1
  142. package/dist/components/combobox.js +1 -1
  143. package/dist/components/dialog/Dialog.esm.js.map +1 -1
  144. package/dist/components/dialog-content.js +1 -1
  145. package/dist/components/dialog-footer.js +1 -1
  146. package/dist/components/dialog-header.js +1 -1
  147. package/dist/components/dialog-provider/DialogProvider.esm.js.map +1 -1
  148. package/dist/components/dialog-provider.js +1 -1
  149. package/dist/components/dialog.js +1 -1
  150. package/dist/components/dialogs-root/DialogsRoot.esm.js.map +1 -1
  151. package/dist/components/dialogs-root.js +1 -1
  152. package/dist/components/error-state/ErrorState.esm.js.map +1 -1
  153. package/dist/components/error-state.js +1 -1
  154. package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js +15 -0
  155. package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js.map +1 -0
  156. package/dist/components/file-explorer-header/FileExplorerHeader.d.ts +20 -0
  157. package/dist/components/file-explorer-header/FileExplorerHeader.d.ts.map +1 -0
  158. package/dist/components/file-explorer-header/FileExplorerHeader.esm.js +309 -0
  159. package/dist/components/file-explorer-header/FileExplorerHeader.esm.js.map +1 -0
  160. package/dist/components/file-explorer-header/FileExplorerHeader.styles.cjs.js +2 -0
  161. package/dist/components/file-explorer-header/FileExplorerHeader.styles.cjs.js.map +1 -0
  162. package/dist/components/file-explorer-header/FileExplorerHeader.styles.esm.js +6 -0
  163. package/dist/components/file-explorer-header/FileExplorerHeader.styles.esm.js.map +1 -0
  164. package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js +35 -0
  165. package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js.map +1 -0
  166. package/dist/components/file-explorer-header/FileExplorerHeaderControls.d.ts +23 -0
  167. package/dist/components/file-explorer-header/FileExplorerHeaderControls.d.ts.map +1 -0
  168. package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js +317 -0
  169. package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js.map +1 -0
  170. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.cjs.js +2 -0
  171. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.cjs.js.map +1 -0
  172. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.esm.js +6 -0
  173. package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.esm.js.map +1 -0
  174. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js +35 -0
  175. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js.map +1 -0
  176. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts +22 -0
  177. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts.map +1 -0
  178. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js +355 -0
  179. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js.map +1 -0
  180. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.cjs.js +2 -0
  181. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.cjs.js.map +1 -0
  182. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.esm.js +6 -0
  183. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.esm.js.map +1 -0
  184. package/dist/components/file-explorer-header/index.cjs.js +2 -0
  185. package/dist/components/file-explorer-header/index.cjs.js.map +1 -0
  186. package/dist/components/file-explorer-header/index.d.ts +4 -0
  187. package/dist/components/file-explorer-header/index.d.ts.map +1 -0
  188. package/dist/components/file-explorer-header/index.esm.js +6 -0
  189. package/dist/components/file-explorer-header/index.esm.js.map +1 -0
  190. package/dist/components/file-explorer-header/types.d.ts +11 -0
  191. package/dist/components/file-explorer-header/types.d.ts.map +1 -0
  192. package/dist/components/file-explorer-header.js +1 -0
  193. package/dist/components/file-explorer-provider/FileExplorerProvider.cjs.js +2 -0
  194. package/dist/components/file-explorer-provider/FileExplorerProvider.cjs.js.map +1 -0
  195. package/dist/components/file-explorer-provider/FileExplorerProvider.d.ts +17 -0
  196. package/dist/components/file-explorer-provider/FileExplorerProvider.d.ts.map +1 -0
  197. package/dist/components/file-explorer-provider/FileExplorerProvider.esm.js +296 -0
  198. package/dist/components/file-explorer-provider/FileExplorerProvider.esm.js.map +1 -0
  199. package/dist/components/file-explorer-provider/index.cjs.js +2 -0
  200. package/dist/components/file-explorer-provider/index.cjs.js.map +1 -0
  201. package/dist/components/file-explorer-provider/index.d.ts +4 -0
  202. package/dist/components/file-explorer-provider/index.d.ts.map +1 -0
  203. package/dist/components/file-explorer-provider/index.esm.js +6 -0
  204. package/dist/components/file-explorer-provider/index.esm.js.map +1 -0
  205. package/dist/components/file-explorer-provider.js +1 -0
  206. package/dist/components/guard.js +1 -1
  207. package/dist/components/index.cjs.js +1 -1
  208. package/dist/components/index.d.ts.map +1 -1
  209. package/dist/components/index.esm.js +1 -0
  210. package/dist/components/input/Input.esm.js.map +1 -1
  211. package/dist/components/input.js +1 -1
  212. package/dist/components/login-button.js +1 -1
  213. package/dist/components/login-modal/LoginModal.esm.js.map +1 -1
  214. package/dist/components/login-modal.js +1 -1
  215. package/dist/components/logout-button.js +1 -1
  216. package/dist/components/menu/Menu.esm.js.map +1 -1
  217. package/dist/components/menu-item/MenuItem.esm.js.map +1 -1
  218. package/dist/components/menu-item.js +1 -1
  219. package/dist/components/menu.js +1 -1
  220. package/dist/components/photo-capture/PhotoCapture.esm.js.map +1 -1
  221. package/dist/components/photo-capture-modal/PhotoCaptureModal.esm.js.map +1 -1
  222. package/dist/components/photo-capture-modal.js +1 -1
  223. package/dist/components/photo-capture.js +1 -1
  224. package/dist/components/provider/Provider.esm.js.map +1 -1
  225. package/dist/components/provider.js +1 -1
  226. package/dist/components/rdf-form/RDFForm.esm.js.map +1 -1
  227. package/dist/components/rdf-form.js +1 -1
  228. package/dist/components/rdf-input/RDFInput.esm.js.map +1 -1
  229. package/dist/components/rdf-input.js +1 -1
  230. package/dist/components/resource-actions-menu/DeleteResourceDialog.d.ts +8 -0
  231. package/dist/components/resource-actions-menu/DeleteResourceDialog.d.ts.map +1 -0
  232. package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js +27 -0
  233. package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js.map +1 -0
  234. package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts +23 -0
  235. package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts.map +1 -0
  236. package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js +343 -0
  237. package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js.map +1 -0
  238. package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.cjs.js +2 -0
  239. package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.cjs.js.map +1 -0
  240. package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.esm.js +6 -0
  241. package/dist/components/resource-actions-menu/ResourceActionsMenu.styles.esm.js.map +1 -0
  242. package/dist/components/resource-actions-menu/ResourceActionsMenu.test.d.ts +1 -0
  243. package/dist/components/resource-actions-menu/ResourceActionsMenu.test.d.ts.map +1 -0
  244. package/dist/components/resource-actions-menu/index.cjs.js +1 -0
  245. package/dist/components/resource-actions-menu/index.d.ts +2 -0
  246. package/dist/components/resource-actions-menu/index.d.ts.map +1 -0
  247. package/dist/components/resource-actions-menu/index.esm.js +1 -0
  248. package/dist/components/resource-actions-menu.js +1 -0
  249. package/dist/components/select/Select.esm.js.map +1 -1
  250. package/dist/components/select-option/SelectOption.esm.js.map +1 -1
  251. package/dist/components/select-option.js +1 -1
  252. package/dist/components/select.js +1 -1
  253. package/dist/components/signup-button.js +1 -1
  254. package/dist/components/solid-emblem.js +1 -1
  255. package/dist/components.js +31 -28
  256. package/dist/index.cjs.js +1 -1
  257. package/dist/index.cjs.js.map +1 -1
  258. package/dist/index.d.ts +1 -1
  259. package/dist/index.d.ts.map +1 -1
  260. package/dist/index.esm.js +8 -4
  261. package/dist/index.esm.js.map +1 -1
  262. package/dist/index.js +12 -9
  263. package/dist/lib/context/noopContext.cjs.js +2 -0
  264. package/dist/lib/context/noopContext.cjs.js.map +1 -0
  265. package/dist/lib/context/noopContext.d.ts +2 -0
  266. package/dist/lib/context/noopContext.d.ts.map +1 -0
  267. package/dist/lib/context/noopContext.esm.js +18 -0
  268. package/dist/lib/context/noopContext.esm.js.map +1 -0
  269. package/dist/lib/file-explorer/compose-explorer.cjs.js +2 -0
  270. package/dist/lib/file-explorer/compose-explorer.cjs.js.map +1 -0
  271. package/dist/lib/file-explorer/compose-explorer.d.ts +17 -0
  272. package/dist/lib/file-explorer/compose-explorer.d.ts.map +1 -0
  273. package/dist/lib/file-explorer/compose-explorer.esm.js +18 -0
  274. package/dist/lib/file-explorer/compose-explorer.esm.js.map +1 -0
  275. package/dist/lib/file-explorer/context.cjs.js +1 -1
  276. package/dist/lib/file-explorer/context.cjs.js.map +1 -1
  277. package/dist/lib/file-explorer/context.d.ts +12 -14
  278. package/dist/lib/file-explorer/context.d.ts.map +1 -1
  279. package/dist/lib/file-explorer/context.esm.js +4 -3
  280. package/dist/lib/file-explorer/context.esm.js.map +1 -1
  281. package/dist/lib/file-explorer/events.cjs.js +2 -0
  282. package/dist/lib/file-explorer/events.cjs.js.map +1 -0
  283. package/dist/lib/file-explorer/events.d.ts +16 -0
  284. package/dist/lib/file-explorer/events.d.ts.map +1 -0
  285. package/dist/lib/file-explorer/events.esm.js +8 -0
  286. package/dist/lib/file-explorer/events.esm.js.map +1 -0
  287. package/dist/lib/file-explorer/index.cjs.js +1 -0
  288. package/dist/lib/file-explorer/index.d.ts +5 -0
  289. package/dist/lib/file-explorer/index.d.ts.map +1 -0
  290. package/dist/lib/file-explorer/index.esm.js +5 -0
  291. package/dist/lib/file-explorer/relevant-panes.cjs.js +2 -0
  292. package/dist/lib/file-explorer/relevant-panes.cjs.js.map +1 -0
  293. package/dist/lib/file-explorer/relevant-panes.d.ts +15 -0
  294. package/dist/lib/file-explorer/relevant-panes.d.ts.map +1 -0
  295. package/dist/lib/file-explorer/relevant-panes.esm.js +14 -0
  296. package/dist/lib/file-explorer/relevant-panes.esm.js.map +1 -0
  297. package/dist/loader.js +12 -9
  298. package/dist/solid-ui.js +211 -107
  299. package/dist/solid-ui.min.js +211 -107
  300. package/dist/solid-ui.min.js.map +1 -1
  301. package/dist/theme.css +1 -1
  302. package/dist/utils/podUtils.cjs.js +2 -0
  303. package/dist/utils/podUtils.cjs.js.map +1 -0
  304. package/dist/utils/podUtils.d.ts +6 -0
  305. package/dist/utils/podUtils.d.ts.map +1 -0
  306. package/dist/utils/podUtils.esm.js +22 -0
  307. package/dist/utils/podUtils.esm.js.map +1 -0
  308. package/dist/utils/webIdUtils.cjs.js +1 -0
  309. package/dist/utils/webIdUtils.d.ts +7 -0
  310. package/dist/utils/webIdUtils.d.ts.map +1 -0
  311. package/dist/utils/webIdUtils.esm.js +3 -0
  312. package/package.json +3 -3
  313. package/dist/chunks/DialogProvider-C89v7x0r.js +0 -314
  314. package/dist/chunks/DialogProvider-C89v7x0r.js.map +0 -1
  315. package/dist/chunks/access-control-modal-Dcg6-f4V.js.map +0 -1
  316. package/dist/chunks/chunk.UEBQI7VV-lcP-fpUk.js.map +0 -1
  317. package/dist/chunks/components-C8c2Ucm5.js.map +0 -1
  318. package/dist/chunks/index.esm-CECfD0e9.js.map +0 -1
  319. package/dist/chunks/photo-capture-hJaJm4TM.js.map +0 -1
  320. package/dist/chunks/src-Dx7k_VIe.js.map +0 -1
@@ -1,15 +1,17 @@
1
- import { S as e, _ as t, a as n, b as r, g as i, i as a, k as o, m as s, v as c, y as l } from "./index.esm-CECfD0e9.js";
2
- import { u } from "./style-w0Fl0xnd.js";
3
- import { T as d, p as f } from "./widgets-BWpm5CPx.js";
4
- import { a as p, c as m, g as h, i as g, o as _, p as v, r as y, u as b } from "./components-C8c2Ucm5.js";
1
+ import { E as e, _ as t, d as n, g as r, h as i, m as a, n as o, p as s, t as c, y as l } from "./solidLogicSingleton.esm-BXyHD7mn.js";
2
+ import { u } from "./style-CXaw5EYi.js";
3
+ import { T as d, p as f } from "./widgets-BBEQu0CS.js";
4
+ import { a as p, c as m, i as h, o as g, p as _, r as v, u as y } from "./components-LxiwG5ae.js";
5
+ import { t as b } from "./decorators-V-B013l9.js";
5
6
  import "./x-D1JUUSOS.js";
6
- import "./button-D6qO2idW.js";
7
- import "./dialog-CgYK767T.js";
8
- import "./dialog-content-DjwRH1ci.js";
9
- import "./dialog-footer-GQWi8lfB.js";
10
- import { r as x } from "./combobox-fSTp9qoT.js";
11
- import "./combobox-option-DOtGuKel.js";
12
- import "./error-state-BD4_Wrkz.js";
7
+ import "./button-Dy1aFjqG.js";
8
+ import "./dialog-CrmftB9c.js";
9
+ import "./dialog-content-Cw3xqJ45.js";
10
+ import "./dialog-footer-sFQf-2zD.js";
11
+ import { r as x } from "./combobox-BL0-8wef.js";
12
+ import "./combobox-option-DjlmXt1O.js";
13
+ import "./globe-CsCgZcy5.js";
14
+ import "./error-state-DnsXVj1z.js";
13
15
  // ~icons/lucide/circle-x
14
16
  var S = class extends HTMLElement {
15
17
  constructor() {
@@ -17,54 +19,40 @@ var S = class extends HTMLElement {
17
19
  }
18
20
  };
19
21
  customElements.get("icon-lucide-circle-x") || customElements.define("icon-lucide-circle-x", S);
20
- // ~icons/lucide/folder
21
- var C = class extends HTMLElement {
22
- constructor() {
23
- super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\"/></svg>";
24
- }
25
- };
26
- customElements.get("icon-lucide-folder") || customElements.define("icon-lucide-folder", C);
27
22
  // ~icons/lucide/folder-open
28
- var w = class extends HTMLElement {
23
+ var C = class extends HTMLElement {
29
24
  constructor() {
30
25
  super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m6 14l1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2\"/></svg>";
31
26
  }
32
27
  };
33
- customElements.get("icon-lucide-folder-open") || customElements.define("icon-lucide-folder-open", w);
34
- // ~icons/lucide/globe
35
- var T = class extends HTMLElement {
36
- constructor() {
37
- super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 2a14.5 14.5 0 0 0 0 20a14.5 14.5 0 0 0 0-20M2 12h20\"/></g></svg>";
38
- }
39
- };
40
- customElements.get("icon-lucide-globe") || customElements.define("icon-lucide-globe", T);
28
+ customElements.get("icon-lucide-folder-open") || customElements.define("icon-lucide-folder-open", C);
41
29
  // src/components/access-control-modal/AccessControlSharedAccess.styles.css
42
- var E = v`:host{& h2{color:var(--solid-ui-color-gray-900,#101828);font-size:var(--solid-ui-font-size-md,1rem);font-weight:600}& .access-grants-header,& .access-grants-list{align-self:stretch;padding:0 10px}& .access-grants-header{justify-content:space-between;align-items:center;gap:15px;display:flex;& .access-grants-search-input{--solid-ui-input-border-color:transparent;width:12ch;min-width:12ch;color:var(--solid-ui-color-zinc-500,#71717b);font-size:var(--solid-ui-font-size-sm,.875rem);flex:none;font-weight:500}}& .access-grants-list{align-items:flex-start;gap:20px;display:flex;& ul{box-sizing:border-box;border:1px solid var(--solid-ui-color-gray-200,#e5e7eb);border-radius:10px;flex-direction:column;flex:1 0 0;align-items:flex-start;gap:15px;height:195px;min-height:0;padding:15px;display:flex;overflow:hidden auto}& li{flex:none;align-items:center;gap:10px;width:100%;display:flex;& .access-grants-image{aspect-ratio:1;width:30px;height:30px;color:var(--solid-ui-color-white,#fff);text-align:center;font-size:var(--solid-ui-font-size-xs,.75rem);border-radius:999px;flex:0 0 30px;justify-content:center;align-items:center;font-weight:500;display:flex;overflow:hidden;& img{object-fit:cover;border-radius:999px;width:100%;height:100%;display:flex}& span{justify-content:center;align-items:center;width:100%;height:100%;line-height:1;display:flex}}& .access-grants-image--agentGroup{background:var(--solid-ui-color-blue-900,#083575)}& .access-grants-image--agent,& .access-grants-image--agentClass{background:var(--solid-ui-color-lavender-300,#e6dcff)}& .access-grants-image--origin{background:var(--solid-ui-color-green-700,#15803d)}& .access-grants-image--unknown{background:var(--solid-ui-color-gray-300,#d1d5db)}& h3{min-width:0;color:var(--solid-ui-color-gray-800,#1e2939);font-size:var(--solid-ui-font-size-xs,.75rem);flex:auto;font-weight:600}& span{text-align:right;flex:none;margin-left:auto}& .access-grants-role{font-size:var(--solid-ui-font-size-xs,.75rem);flex:none;margin-left:auto}& .access-grants-role--owner{font-size:var(--solid-ui-font-size-xs,.75rem)}& .access-grants-role--editable{max-width:100%}}}& .access-role-select--compact{--solid-ui-input-border-color:transparent;flex:0 0 110px;width:110px;min-width:110px;max-width:100%;margin-top:0}& .access-grants-list li .access-role-select--compact{flex:0 0 110px;width:110px;min-width:110px}}`, D, O, k, A, j, ee, te, ne, re, ie, ae, oe, se, ce, le, ue;
43
- function de(e, t, n) {
44
- fe(e, t), t.set(e, n);
30
+ var w = _`:host{& h2{color:var(--solid-ui-color-gray-900,#101828);font-size:var(--solid-ui-font-size-md,1rem);font-weight:600}& .access-grants-header,& .access-grants-list{align-self:stretch;padding:0 10px}& .access-grants-header{justify-content:space-between;align-items:center;gap:15px;display:flex;& .access-grants-search-input{--solid-ui-input-border-color:transparent;width:12ch;min-width:12ch;color:var(--solid-ui-color-zinc-500,#71717b);font-size:var(--solid-ui-font-size-sm,.875rem);flex:none;font-weight:500}}& .access-grants-list{align-items:flex-start;gap:20px;display:flex;& ul{box-sizing:border-box;border:1px solid var(--solid-ui-color-gray-200,#e5e7eb);border-radius:10px;flex-direction:column;flex:1 0 0;align-items:flex-start;gap:15px;height:195px;min-height:0;padding:15px;display:flex;overflow:hidden auto}& li{flex:none;align-items:center;gap:10px;width:100%;display:flex;& .access-grants-image{aspect-ratio:1;width:30px;height:30px;color:var(--solid-ui-color-white,#fff);text-align:center;font-size:var(--solid-ui-font-size-xs,.75rem);border-radius:999px;flex:0 0 30px;justify-content:center;align-items:center;font-weight:500;display:flex;overflow:hidden;& img{object-fit:cover;border-radius:999px;width:100%;height:100%;display:flex}& span{justify-content:center;align-items:center;width:100%;height:100%;line-height:1;display:flex}}& .access-grants-image--agentGroup{background:var(--solid-ui-color-blue-900,#083575)}& .access-grants-image--agent,& .access-grants-image--agentClass{background:var(--solid-ui-color-lavender-300,#e6dcff)}& .access-grants-image--origin{background:var(--solid-ui-color-green-700,#15803d)}& .access-grants-image--unknown{background:var(--solid-ui-color-gray-300,#d1d5db)}& h3{min-width:0;color:var(--solid-ui-color-gray-800,#1e2939);font-size:var(--solid-ui-font-size-xs,.75rem);flex:auto;font-weight:600}& span{text-align:right;flex:none;margin-left:auto}& .access-grants-role{font-size:var(--solid-ui-font-size-xs,.75rem);flex:none;margin-left:auto}& .access-grants-role--owner{font-size:var(--solid-ui-font-size-xs,.75rem)}& .access-grants-role--editable{max-width:100%}}}& .access-role-select--compact{--solid-ui-input-border-color:transparent;flex:0 0 110px;width:110px;min-width:110px;max-width:100%;margin-top:0}& .access-grants-list li .access-role-select--compact{flex:0 0 110px;width:110px;min-width:110px}}`, T, E, D, O, k, A, j, ee, te, ne, re, ie, ae, oe, se, ce;
31
+ function le(e, t, n) {
32
+ ue(e, t), t.set(e, n);
45
33
  }
46
- function fe(e, t) {
34
+ function ue(e, t) {
47
35
  if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
48
36
  }
49
- function pe(e, t, n) {
50
- return e.set(he(e, t), n), n;
37
+ function de(e, t, n) {
38
+ return e.set(pe(e, t), n), n;
51
39
  }
52
- function me(e, t) {
53
- return e.get(he(e, t));
40
+ function fe(e, t) {
41
+ return e.get(pe(e, t));
54
42
  }
55
- function he(e, t, n) {
43
+ function pe(e, t, n) {
56
44
  if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
57
45
  throw TypeError("Private element is not present on this object");
58
46
  }
59
- function ge(e, t, n) {
60
- return (t = ve(t)) in e ? Object.defineProperty(e, t, {
47
+ function me(e, t, n) {
48
+ return (t = ge(t)) in e ? Object.defineProperty(e, t, {
61
49
  value: n,
62
50
  enumerable: !0,
63
51
  configurable: !0,
64
52
  writable: !0
65
53
  }) : e[t] = n, e;
66
54
  }
67
- function _e(e, t, n, r, i, a) {
55
+ function he(e, t, n, r, i, a) {
68
56
  function o(e, t, n) {
69
57
  return function(r, i) {
70
58
  return n && n(r), e[t].call(r, i);
@@ -87,13 +75,13 @@ function _e(e, t, n, r, i, a) {
87
75
  n || Array.isArray(_) || (_ = [_]);
88
76
  var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
89
77
  d ? (f || p ? b = {
90
- get: be(function() {
78
+ get: ve(function() {
91
79
  return v(this);
92
80
  }, r, "get"),
93
81
  set: function(e) {
94
82
  t[4](this, e);
95
83
  }
96
- } : b[S] = v, f || be(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
84
+ } : b[S] = v, f || ve(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
97
85
  }
98
86
  for (var C = e, w = _.length - 1; w >= 0; w -= n ? 2 : 1) {
99
87
  var T = _[w], E = n ? _[w - 1] : void 0, D = {}, O = {
@@ -153,7 +141,7 @@ function _e(e, t, n, r, i, a) {
153
141
  if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
154
142
  var f = Object.create(d ?? null), p = function(e, t, n, r) {
155
143
  var i, a, o = [], c = function(t) {
156
- return xe(t) === e;
144
+ return ye(t) === e;
157
145
  }, u = /* @__PURE__ */ new Map();
158
146
  function d(e) {
159
147
  e && o.push(s.bind(null, e));
@@ -167,7 +155,7 @@ function _e(e, t, n, r, i, a) {
167
155
  if (!0 === x || x === 3 && m !== 4 || x === 4 && m !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
168
156
  u.set(b, !(m > 2) || m);
169
157
  }
170
- l(v ? e : e.prototype, p, _, g ? "#" + h : ve(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
158
+ l(v ? e : e.prototype, p, _, g ? "#" + h : ge(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
171
159
  }
172
160
  }
173
161
  return d(i), d(a), o;
@@ -180,11 +168,11 @@ function _e(e, t, n, r, i, a) {
180
168
  }
181
169
  };
182
170
  }
183
- function ve(e) {
184
- var t = ye(e, "string");
171
+ function ge(e) {
172
+ var t = _e(e, "string");
185
173
  return typeof t == "symbol" ? t : t + "";
186
174
  }
187
- function ye(e, t) {
175
+ function _e(e, t) {
188
176
  if (typeof e != "object" || !e) return e;
189
177
  var n;
190
178
  if (typeof Symbol < "u" && (n = e[Symbol.toPrimitive]) !== void 0) {
@@ -194,7 +182,7 @@ function ye(e, t) {
194
182
  }
195
183
  return (t === "string" ? String : Number)(e);
196
184
  }
197
- function be(e, t, n) {
185
+ function ve(e, t, n) {
198
186
  typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
199
187
  try {
200
188
  Object.defineProperty(e, "name", {
@@ -204,36 +192,36 @@ function be(e, t, n) {
204
192
  } catch {}
205
193
  return e;
206
194
  }
207
- function xe(e) {
195
+ function ye(e) {
208
196
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
209
197
  return e;
210
198
  }
211
- function Se(e) {
199
+ function be(e) {
212
200
  return e;
213
201
  }
214
- ne = [h("solid-ui-access-control-shared-access")];
215
- var Ce;
216
- new (le = (k = /*#__PURE__*/ new WeakMap(), A = /*#__PURE__*/ new WeakMap(), j = /*#__PURE__*/ new WeakMap(), ue = (re = g({ attribute: !1 }), ae = g({ type: Boolean }), se = y(), "accessGrantViewModels"), O = class extends _ {
202
+ ee = [b("solid-ui-access-control-shared-access")];
203
+ var xe;
204
+ new (se = (D = /*#__PURE__*/ new WeakMap(), O = /*#__PURE__*/ new WeakMap(), k = /*#__PURE__*/ new WeakMap(), ce = (te = h({ attribute: !1 }), re = h({ type: Boolean }), ae = v(), "accessGrantViewModels"), E = class extends g {
217
205
  constructor(...e) {
218
- super(...e), de(this, k, (ee(this), ie(this, []))), de(this, A, oe(this, !1)), de(this, j, ce(this, ""));
206
+ super(...e), le(this, D, (A(this), ne(this, []))), le(this, O, ie(this, !1)), le(this, k, oe(this, ""));
219
207
  }
220
- get [ue]() {
221
- return me(k, this);
208
+ get [ce]() {
209
+ return fe(D, this);
222
210
  }
223
211
  set accessGrantViewModels(e) {
224
- pe(k, this, e);
212
+ de(D, this, e);
225
213
  }
226
214
  get disabled() {
227
- return me(A, this);
215
+ return fe(O, this);
228
216
  }
229
217
  set disabled(e) {
230
- pe(A, this, e);
218
+ de(O, this, e);
231
219
  }
232
220
  get searchValue() {
233
- return me(j, this);
221
+ return fe(k, this);
234
222
  }
235
223
  set searchValue(e) {
236
- pe(j, this, e);
224
+ de(k, this, e);
237
225
  }
238
226
  onSearchInput(e) {
239
227
  let t = e.currentTarget;
@@ -244,14 +232,14 @@ new (le = (k = /*#__PURE__*/ new WeakMap(), A = /*#__PURE__*/ new WeakMap(), j =
244
232
  typeof t.label == "string" && (this.searchValue = t.label);
245
233
  }
246
234
  onAccessGrantRoleChange(e, t) {
247
- let n = t.detail.option.value, r = typeof n == "string" ? i.find((e) => e === n) : void 0;
235
+ let n = t.detail.option.value, r = typeof n == "string" ? s.find((e) => e === n) : void 0;
248
236
  if (!r) return;
249
- let a = {
237
+ let i = {
250
238
  id: e,
251
239
  role: r
252
240
  };
253
241
  this.dispatchEvent(new CustomEvent("access-grant-role-changed", {
254
- detail: a,
242
+ detail: i,
255
243
  bubbles: !0,
256
244
  composed: !0
257
245
  }));
@@ -261,7 +249,7 @@ new (le = (k = /*#__PURE__*/ new WeakMap(), A = /*#__PURE__*/ new WeakMap(), j =
261
249
  return this.accessGrantViewModels.filter(({ subjectLabel: t, subjects: n }) => n.length ? !e || t.toLowerCase().includes(e) : !1);
262
250
  }
263
251
  renderAccessGrant(e) {
264
- return b`
252
+ return y`
265
253
  <li>
266
254
  ${this.renderAuthorizationBadge(e.authorization, e.subjectLabel)}
267
255
  <h3>${e.subjectLabel}</h3>
@@ -271,36 +259,36 @@ new (le = (k = /*#__PURE__*/ new WeakMap(), A = /*#__PURE__*/ new WeakMap(), j =
271
259
  }
272
260
  renderAuthorizationBadge(e, t) {
273
261
  let n = this.getAuthorizationBadge(e, t);
274
- return b`
262
+ return y`
275
263
  <div class="access-grants-image access-grants-image--${n.kind}">
276
- ${n.image ? b`<img src=${n.image} alt="" aria-hidden="true" />` : n.kind === "origin" ? b`<icon-lucide-globe aria-hidden="true"></icon-lucide-globe>` : b`<span aria-hidden="true">${n.text}</span>`}
264
+ ${n.image ? y`<img src=${n.image} alt="" aria-hidden="true" />` : n.kind === "origin" ? y`<icon-lucide-globe aria-hidden="true"></icon-lucide-globe>` : y`<span aria-hidden="true">${n.text}</span>`}
277
265
  </div>
278
266
  `;
279
267
  }
280
- getAuthorizationBadge(e, t) {
281
- let n = e.agent[0];
282
- if (n) {
283
- let e = f(o(n));
268
+ getAuthorizationBadge(t, n) {
269
+ let r = t.agent[0];
270
+ if (r) {
271
+ let t = f(e(r));
284
272
  return {
285
273
  kind: "agent",
286
- image: e,
287
- text: e ? "" : this.getInitials(t, 2)
274
+ image: t,
275
+ text: t ? "" : this.getInitials(n, 2)
288
276
  };
289
277
  }
290
- if (e.agentGroup[0]) return {
278
+ if (t.agentGroup[0]) return {
291
279
  kind: "agentGroup",
292
- text: this.getInitials(t, 1)
280
+ text: this.getInitials(n, 1)
293
281
  };
294
- let r = e.agentClass[0];
295
- if (r) {
296
- let e = f(o(r));
282
+ let i = t.agentClass[0];
283
+ if (i) {
284
+ let t = f(e(i));
297
285
  return {
298
286
  kind: "agentClass",
299
- image: e,
300
- text: e ? "" : this.getInitials(t, 2)
287
+ image: t,
288
+ text: t ? "" : this.getInitials(n, 2)
301
289
  };
302
290
  }
303
- return e.origin[0] ? {
291
+ return t.origin[0] ? {
304
292
  kind: "origin",
305
293
  text: "O",
306
294
  image: ""
@@ -313,7 +301,7 @@ new (le = (k = /*#__PURE__*/ new WeakMap(), A = /*#__PURE__*/ new WeakMap(), j =
313
301
  return (e.split(/\s+/).filter(Boolean).slice(0, t).map((e) => e[0]).join("") || e.slice(0, t)).toUpperCase();
314
302
  }
315
303
  renderAuthorizationRole(e, t) {
316
- return b`
304
+ return y`
317
305
  <solid-ui-combobox
318
306
  class="access-role-select access-role-select--compact access-grants-role access-grants-role--editable ${e === "Owner" ? "access-grants-role--owner" : ""}"
319
307
  .disabled=${this.disabled}
@@ -325,13 +313,13 @@ new (le = (k = /*#__PURE__*/ new WeakMap(), A = /*#__PURE__*/ new WeakMap(), j =
325
313
  `;
326
314
  }
327
315
  renderGrantRoleOptions() {
328
- return i.map((e) => b`
316
+ return s.map((e) => y`
329
317
  <solid-ui-combobox-option value=${e}>${e === "No Access" ? "Remove" : e}</solid-ui-combobox-option>
330
318
  `);
331
319
  }
332
320
  render() {
333
321
  let e = this.getFilteredAccessGrants();
334
- return b`
322
+ return y`
335
323
  <section aria-labelledby="access-grants-heading">
336
324
  <div class="access-grants-header">
337
325
  <h2 id="access-grants-heading">Shared with</h2>
@@ -344,7 +332,7 @@ new (le = (k = /*#__PURE__*/ new WeakMap(), A = /*#__PURE__*/ new WeakMap(), j =
344
332
  @input=${this.onSearchInput}
345
333
  @change=${this.onSearchSelect}
346
334
  >
347
- ${this.accessGrantViewModels.filter(({ subjects: e }) => e.length > 0).map(({ subjectLabel: e }) => b`
335
+ ${this.accessGrantViewModels.filter(({ subjects: e }) => e.length > 0).map(({ subjectLabel: e }) => y`
348
336
  <solid-ui-combobox-option .value=${e}>
349
337
  ${e}
350
338
  </solid-ui-combobox-option>
@@ -353,67 +341,67 @@ new (le = (k = /*#__PURE__*/ new WeakMap(), A = /*#__PURE__*/ new WeakMap(), j =
353
341
  </div>
354
342
  <div class="access-grants-list">
355
343
  <ul>
356
- ${e.length > 0 ? e.map((e) => this.renderAccessGrant(e)) : b`<li>No access grants</li>`}
344
+ ${e.length > 0 ? e.map((e) => this.renderAccessGrant(e)) : y`<li>No access grants</li>`}
357
345
  </ul>
358
346
  </div>
359
347
  </section>
360
348
  `;
361
349
  }
362
- }, {e: [ie, oe, ce, ee], c: [Ce, te]} = _e(O, [
350
+ }, {e: [ne, ie, oe, A], c: [xe, j]} = he(E, [
363
351
  [
364
- re,
352
+ te,
365
353
  1,
366
354
  "accessGrantViewModels"
367
355
  ],
368
356
  [
369
- ae,
357
+ re,
370
358
  1,
371
359
  "disabled"
372
360
  ],
373
361
  [
374
- se,
362
+ ae,
375
363
  1,
376
364
  "searchValue"
377
365
  ]
378
- ], ne, 0, void 0, _), O), D = class extends Se {
366
+ ], ee, 0, void 0, g), E), T = class extends be {
379
367
  constructor() {
380
- super(Ce), ge(this, "styles", E), te();
368
+ super(xe), me(this, "styles", w), j();
381
369
  }
382
- }, ge(D, le, void 0), D)();
370
+ }, me(T, se, void 0), T)();
383
371
  // ~icons/lucide/link
384
- var we = class extends HTMLElement {
372
+ var Se = class extends HTMLElement {
385
373
  constructor() {
386
374
  super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\"/><path d=\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\"/></g></svg>";
387
375
  }
388
376
  };
389
- customElements.get("icon-lucide-link") || customElements.define("icon-lucide-link", we);
377
+ customElements.get("icon-lucide-link") || customElements.define("icon-lucide-link", Se);
390
378
  // src/components/access-control-modal/AccessControlGeneralAccess.styles.css
391
- var Te = v`:host{& h2{color:var(--solid-ui-color-gray-900,#101828);font-size:var(--solid-ui-font-size-md,1rem);font-weight:600}& .access-grants-general{flex-direction:column;align-self:stretch;align-items:flex-start;gap:10px;padding:0 10px;display:flex;& solid-ui-combobox,& solid-ui-input{--solid-ui-input-border-color:var(--solid-ui-color-slate-200,#e2e8f0)}& .access-grants-general-header{flex-direction:row;justify-content:space-between;align-self:stretch;align-items:center;gap:15px;display:flex;& .access-grants-copy-link-button-label{font-size:var(--solid-ui-font-size-xs,.75rem);font-weight:500}& .access-grants-copy-link-button icon-lucide-link{aspect-ratio:1;width:12px;height:12px}}& .access-grants-general-share{align-self:stretch;align-items:center;gap:10px;display:flex;& .access-grants-general-share-content{flex-direction:row;flex:1 0 0;align-items:flex-start;gap:10px;display:flex;& .access-grants-general-share-icon{aspect-ratio:1;background:var(--solid-ui-color-violet-50,#f5f3ff);border-radius:50px;justify-content:center;align-items:center;width:30px;height:30px;padding:5px;display:flex}& .access-grants-general-share-icon-inner{aspect-ratio:1;flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;padding:1.25px;display:flex;& icon-lucide-globe{aspect-ratio:1;flex-shrink:0;width:17.5px;height:17.5px}}& .access-grants-general-share-text{flex:auto;min-width:0;& .access-grants-general-share-text-title{color:var(--solid-ui-color-gray-900,#101828);font-size:var(--solid-ui-font-size-sm,.875rem);font-weight:600}& .access-grants-general-share-text-description{color:var(--solid-ui-color-gray-700,#364153);font-size:var(--solid-ui-font-size-sm,.875rem)}}}}}& .access-role-select--general{width:120px;min-width:120px;font-size:var(--solid-ui-font-size-xs,.75rem);flex:0 0 120px;font-weight:500}& .access-role-select--compact{--solid-ui-input-border-color:transparent;max-width:100%;margin-top:0;display:block}}`, Ee, De, Oe, ke, Ae, je, Me, Ne, Pe, Fe, Ie, Le, Re, ze, Be, Ve, He, Ue, We;
392
- function Ge(e, t, n) {
393
- Ke(e, t), t.set(e, n);
379
+ var Ce = _`:host{& h2{color:var(--solid-ui-color-gray-900,#101828);font-size:var(--solid-ui-font-size-md,1rem);font-weight:600}& .access-grants-general{flex-direction:column;align-self:stretch;align-items:flex-start;gap:10px;padding:0 10px;display:flex;& solid-ui-combobox,& solid-ui-input{--solid-ui-input-border-color:var(--solid-ui-color-slate-200,#e2e8f0)}& .access-grants-general-header{flex-direction:row;justify-content:space-between;align-self:stretch;align-items:center;gap:15px;display:flex;& .access-grants-copy-link-button-label{font-size:var(--solid-ui-font-size-xs,.75rem);font-weight:500}& .access-grants-copy-link-button icon-lucide-link{aspect-ratio:1;width:12px;height:12px}}& .access-grants-general-share{align-self:stretch;align-items:center;gap:10px;display:flex;& .access-grants-general-share-content{flex-direction:row;flex:1 0 0;align-items:flex-start;gap:10px;display:flex;& .access-grants-general-share-icon{aspect-ratio:1;background:var(--solid-ui-color-violet-50,#f5f3ff);border-radius:50px;justify-content:center;align-items:center;width:30px;height:30px;padding:5px;display:flex}& .access-grants-general-share-icon-inner{aspect-ratio:1;flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;padding:1.25px;display:flex;& icon-lucide-globe{aspect-ratio:1;flex-shrink:0;width:17.5px;height:17.5px}}& .access-grants-general-share-text{flex:auto;min-width:0;& .access-grants-general-share-text-title{color:var(--solid-ui-color-gray-900,#101828);font-size:var(--solid-ui-font-size-sm,.875rem);font-weight:600}& .access-grants-general-share-text-description{color:var(--solid-ui-color-gray-700,#364153);font-size:var(--solid-ui-font-size-sm,.875rem)}}}}}& .access-role-select--general{width:120px;min-width:120px;font-size:var(--solid-ui-font-size-xs,.75rem);flex:0 0 120px;font-weight:500}& .access-role-select--compact{--solid-ui-input-border-color:transparent;max-width:100%;margin-top:0;display:block}}`, we, Te, Ee, De, Oe, ke, Ae, je, Me, Ne, Pe, Fe, Ie, Le, Re, ze, Be, Ve, He;
380
+ function Ue(e, t, n) {
381
+ We(e, t), t.set(e, n);
394
382
  }
395
- function Ke(e, t) {
383
+ function We(e, t) {
396
384
  if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
397
385
  }
398
386
  function M(e, t, n) {
399
- return e.set(qe(e, t), n), n;
387
+ return e.set(Ge(e, t), n), n;
400
388
  }
401
389
  function N(e, t) {
402
- return e.get(qe(e, t));
390
+ return e.get(Ge(e, t));
403
391
  }
404
- function qe(e, t, n) {
392
+ function Ge(e, t, n) {
405
393
  if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
406
394
  throw TypeError("Private element is not present on this object");
407
395
  }
408
- function Je(e, t, n) {
409
- return (t = Xe(t)) in e ? Object.defineProperty(e, t, {
396
+ function Ke(e, t, n) {
397
+ return (t = Je(t)) in e ? Object.defineProperty(e, t, {
410
398
  value: n,
411
399
  enumerable: !0,
412
400
  configurable: !0,
413
401
  writable: !0
414
402
  }) : e[t] = n, e;
415
403
  }
416
- function Ye(e, t, n, r, i, a) {
404
+ function qe(e, t, n, r, i, a) {
417
405
  function o(e, t, n) {
418
406
  return function(r, i) {
419
407
  return n && n(r), e[t].call(r, i);
@@ -436,13 +424,13 @@ function Ye(e, t, n, r, i, a) {
436
424
  n || Array.isArray(_) || (_ = [_]);
437
425
  var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
438
426
  d ? (f || p ? b = {
439
- get: Qe(function() {
427
+ get: Xe(function() {
440
428
  return v(this);
441
429
  }, r, "get"),
442
430
  set: function(e) {
443
431
  t[4](this, e);
444
432
  }
445
- } : b[S] = v, f || Qe(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
433
+ } : b[S] = v, f || Xe(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
446
434
  }
447
435
  for (var C = e, w = _.length - 1; w >= 0; w -= n ? 2 : 1) {
448
436
  var T = _[w], E = n ? _[w - 1] : void 0, D = {}, O = {
@@ -502,7 +490,7 @@ function Ye(e, t, n, r, i, a) {
502
490
  if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
503
491
  var f = Object.create(d ?? null), p = function(e, t, n, r) {
504
492
  var i, a, o = [], c = function(t) {
505
- return $e(t) === e;
493
+ return Ze(t) === e;
506
494
  }, u = /* @__PURE__ */ new Map();
507
495
  function d(e) {
508
496
  e && o.push(s.bind(null, e));
@@ -516,7 +504,7 @@ function Ye(e, t, n, r, i, a) {
516
504
  if (!0 === x || x === 3 && m !== 4 || x === 4 && m !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
517
505
  u.set(b, !(m > 2) || m);
518
506
  }
519
- l(v ? e : e.prototype, p, _, g ? "#" + h : Xe(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
507
+ l(v ? e : e.prototype, p, _, g ? "#" + h : Je(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
520
508
  }
521
509
  }
522
510
  return d(i), d(a), o;
@@ -529,11 +517,11 @@ function Ye(e, t, n, r, i, a) {
529
517
  }
530
518
  };
531
519
  }
532
- function Xe(e) {
533
- var t = Ze(e, "string");
520
+ function Je(e) {
521
+ var t = Ye(e, "string");
534
522
  return typeof t == "symbol" ? t : t + "";
535
523
  }
536
- function Ze(e, t) {
524
+ function Ye(e, t) {
537
525
  if (typeof e != "object" || !e) return e;
538
526
  var n;
539
527
  if (typeof Symbol < "u" && (n = e[Symbol.toPrimitive]) !== void 0) {
@@ -543,7 +531,7 @@ function Ze(e, t) {
543
531
  }
544
532
  return (t === "string" ? String : Number)(e);
545
533
  }
546
- function Qe(e, t, n) {
534
+ function Xe(e, t, n) {
547
535
  typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
548
536
  try {
549
537
  Object.defineProperty(e, "name", {
@@ -553,48 +541,48 @@ function Qe(e, t, n) {
553
541
  } catch {}
554
542
  return e;
555
543
  }
556
- function $e(e) {
544
+ function Ze(e) {
557
545
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
558
546
  return e;
559
547
  }
560
- function et(e) {
548
+ function Qe(e) {
561
549
  return e;
562
550
  }
563
- Pe = [h("solid-ui-access-control-general-access")];
564
- var tt;
565
- new (Ue = (Oe = /*#__PURE__*/ new WeakMap(), ke = /*#__PURE__*/ new WeakMap(), Ae = /*#__PURE__*/ new WeakMap(), je = /*#__PURE__*/ new WeakMap(), We = (Fe = g({ attribute: !1 }), Le = g({ attribute: !1 }), ze = g({ attribute: !1 }), Ve = g({ type: Boolean }), "subjectUri"), De = class extends _ {
551
+ Me = [b("solid-ui-access-control-general-access")];
552
+ var $e;
553
+ new (Ve = (Ee = /*#__PURE__*/ new WeakMap(), De = /*#__PURE__*/ new WeakMap(), Oe = /*#__PURE__*/ new WeakMap(), ke = /*#__PURE__*/ new WeakMap(), He = (Ne = h({ attribute: !1 }), Fe = h({ attribute: !1 }), Le = h({ attribute: !1 }), ze = h({ type: Boolean }), "subjectUri"), Te = class extends g {
566
554
  constructor(...e) {
567
- super(...e), Ge(this, Oe, (Me(this), Ie(this, void 0))), Ge(this, ke, Re(this, "No Access")), Ge(this, Ae, Be(this, "No Access")), Ge(this, je, He(this, !1));
555
+ super(...e), Ue(this, Ee, (Ae(this), Pe(this, void 0))), Ue(this, De, Ie(this, "No Access")), Ue(this, Oe, Re(this, "No Access")), Ue(this, ke, Be(this, !1));
568
556
  }
569
- get [We]() {
570
- return N(Oe, this);
557
+ get [He]() {
558
+ return N(Ee, this);
571
559
  }
572
560
  set subjectUri(e) {
573
- M(Oe, this, e);
561
+ M(Ee, this, e);
574
562
  }
575
563
  get authenticatedAccessRoleValue() {
576
- return N(ke, this);
564
+ return N(De, this);
577
565
  }
578
566
  set authenticatedAccessRoleValue(e) {
579
- M(ke, this, e);
567
+ M(De, this, e);
580
568
  }
581
569
  get publicAccessRoleValue() {
582
- return N(Ae, this);
570
+ return N(Oe, this);
583
571
  }
584
572
  set publicAccessRoleValue(e) {
585
- M(Ae, this, e);
573
+ M(Oe, this, e);
586
574
  }
587
575
  get disabled() {
588
- return N(je, this);
576
+ return N(ke, this);
589
577
  }
590
578
  set disabled(e) {
591
- M(je, this, e);
579
+ M(ke, this, e);
592
580
  }
593
581
  onAuthenticatedRoleChange(e) {
594
- this.dispatchRoleChange("authenticated-role-changed", e, i);
582
+ this.dispatchRoleChange("authenticated-role-changed", e, s);
595
583
  }
596
584
  onPublicRoleChange(e) {
597
- this.dispatchRoleChange("public-role-changed", e, c);
585
+ this.dispatchRoleChange("public-role-changed", e, i);
598
586
  }
599
587
  dispatchRoleChange(e, t, n) {
600
588
  let r = t.detail.option.value;
@@ -614,17 +602,17 @@ new (Ue = (Oe = /*#__PURE__*/ new WeakMap(), ke = /*#__PURE__*/ new WeakMap(), A
614
602
  }
615
603
  }
616
604
  renderAuthenticatedRoleOptions() {
617
- return i.map((e) => b`
605
+ return s.map((e) => y`
618
606
  <solid-ui-combobox-option value=${e}>${e}</solid-ui-combobox-option>
619
607
  `);
620
608
  }
621
609
  renderPublicRoleOptions() {
622
- return c.map((e) => b`
610
+ return i.map((e) => y`
623
611
  <solid-ui-combobox-option value=${e}>${e}</solid-ui-combobox-option>
624
612
  `);
625
613
  }
626
614
  renderAuthenticatedModeSelector() {
627
- return b`
615
+ return y`
628
616
  <solid-ui-combobox
629
617
  class="access-role-select access-role-select--compact access-role-select--general access-grants-role access-grants-role--editable access-role-select--authenticated"
630
618
  .disabled=${this.disabled}
@@ -636,7 +624,7 @@ new (Ue = (Oe = /*#__PURE__*/ new WeakMap(), ke = /*#__PURE__*/ new WeakMap(), A
636
624
  `;
637
625
  }
638
626
  renderPublicModeSelector() {
639
- return b`
627
+ return y`
640
628
  <solid-ui-combobox
641
629
  class="access-role-select access-role-select--compact access-role-select--general access-grants-role access-grants-role--editable access-role-select--public"
642
630
  .disabled=${this.disabled}
@@ -648,7 +636,7 @@ new (Ue = (Oe = /*#__PURE__*/ new WeakMap(), ke = /*#__PURE__*/ new WeakMap(), A
648
636
  `;
649
637
  }
650
638
  renderGeneralAccessIcon() {
651
- return b`
639
+ return y`
652
640
  <div class="access-grants-general-share-icon">
653
641
  <div class="access-grants-general-share-icon-inner">
654
642
  <icon-lucide-globe class="access-grants-general-share-icon-image"></icon-lucide-globe>
@@ -657,7 +645,7 @@ new (Ue = (Oe = /*#__PURE__*/ new WeakMap(), ke = /*#__PURE__*/ new WeakMap(), A
657
645
  `;
658
646
  }
659
647
  renderGeneralShareRow(e) {
660
- return b`
648
+ return y`
661
649
  <div class="access-grants-general-share">
662
650
  <div class="access-grants-general-share-content">
663
651
  ${this.renderGeneralAccessIcon()}
@@ -671,7 +659,7 @@ new (Ue = (Oe = /*#__PURE__*/ new WeakMap(), ke = /*#__PURE__*/ new WeakMap(), A
671
659
  `;
672
660
  }
673
661
  render() {
674
- return b`
662
+ return y`
675
663
  <section class="access-grants-general" aria-labelledby="general-access-heading">
676
664
  <div class="access-grants-general-header">
677
665
  <h2 id="general-access-heading">General Access</h2>
@@ -697,59 +685,59 @@ new (Ue = (Oe = /*#__PURE__*/ new WeakMap(), ke = /*#__PURE__*/ new WeakMap(), A
697
685
  </section>
698
686
  `;
699
687
  }
700
- }, {e: [Ie, Re, Be, He, Me], c: [tt, Ne]} = Ye(De, [
688
+ }, {e: [Pe, Ie, Re, Be, Ae], c: [$e, je]} = qe(Te, [
701
689
  [
702
- Fe,
690
+ Ne,
703
691
  1,
704
692
  "subjectUri"
705
693
  ],
706
694
  [
707
- Le,
695
+ Fe,
708
696
  1,
709
697
  "authenticatedAccessRoleValue"
710
698
  ],
711
699
  [
712
- ze,
700
+ Le,
713
701
  1,
714
702
  "publicAccessRoleValue"
715
703
  ],
716
704
  [
717
- Ve,
705
+ ze,
718
706
  1,
719
707
  "disabled"
720
708
  ]
721
- ], Pe, 0, void 0, _), De), Ee = class extends et {
709
+ ], Me, 0, void 0, g), Te), we = class extends Qe {
722
710
  constructor() {
723
- super(tt), Je(this, "styles", Te), Ne();
711
+ super($e), Ke(this, "styles", Ce), je();
724
712
  }
725
- }, Je(Ee, Ue, void 0), Ee)();
713
+ }, Ke(we, Ve, void 0), we)();
726
714
  // src/components/access-control-modal/AccessControlErrors.styles.css
727
- var nt = v`:host{contain:inline-size;width:100%;display:block;& solid-ui-error-state{contain:inline-size;width:100%;max-width:100%}& .access-control-save-errors{box-sizing:border-box;gap:8px;width:100%;margin:0;padding-left:0;list-style:none;display:grid;& li{min-width:0;color:var(--solid-ui-color-red-600,#be2e48);font-size:var(--solid-ui-font-size-sm,.875rem);grid-template-columns:minmax(0,18rem) minmax(0,1fr);align-items:baseline;gap:6px;line-height:1.4;display:grid}& .access-control-save-error-label{overflow-wrap:anywhere;font-weight:500}& .access-control-save-error-detail{overflow-wrap:anywhere;min-width:0}}@media (width<=600px){& .access-control-save-errors li{grid-template-columns:minmax(0,40%) minmax(0,1fr)}}}`, rt, it, P, F, at, ot, st, ct, lt, ut, dt, ft, pt;
728
- function mt(e, t, n) {
729
- ht(e, t), t.set(e, n);
715
+ var et = _`:host{contain:inline-size;width:100%;display:block;& solid-ui-error-state{contain:inline-size;width:100%;max-width:100%}& .access-control-save-errors{box-sizing:border-box;gap:8px;width:100%;margin:0;padding-left:0;list-style:none;display:grid;& li{min-width:0;color:var(--solid-ui-color-red-600,#be2e48);font-size:var(--solid-ui-font-size-sm,.875rem);grid-template-columns:minmax(0,18rem) minmax(0,1fr);align-items:baseline;gap:6px;line-height:1.4;display:grid}& .access-control-save-error-label{overflow-wrap:anywhere;font-weight:500}& .access-control-save-error-detail{overflow-wrap:anywhere;min-width:0}}@media (width<=600px){& .access-control-save-errors li{grid-template-columns:minmax(0,40%) minmax(0,1fr)}}}`, tt, nt, P, F, rt, it, at, ot, st, ct, lt, ut, dt;
716
+ function ft(e, t, n) {
717
+ pt(e, t), t.set(e, n);
730
718
  }
731
- function ht(e, t) {
719
+ function pt(e, t) {
732
720
  if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
733
721
  }
734
- function gt(e, t, n) {
735
- return e.set(vt(e, t), n), n;
722
+ function mt(e, t, n) {
723
+ return e.set(gt(e, t), n), n;
736
724
  }
737
- function _t(e, t) {
738
- return e.get(vt(e, t));
725
+ function ht(e, t) {
726
+ return e.get(gt(e, t));
739
727
  }
740
- function vt(e, t, n) {
728
+ function gt(e, t, n) {
741
729
  if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
742
730
  throw TypeError("Private element is not present on this object");
743
731
  }
744
- function yt(e, t, n) {
745
- return (t = xt(t)) in e ? Object.defineProperty(e, t, {
732
+ function _t(e, t, n) {
733
+ return (t = yt(t)) in e ? Object.defineProperty(e, t, {
746
734
  value: n,
747
735
  enumerable: !0,
748
736
  configurable: !0,
749
737
  writable: !0
750
738
  }) : e[t] = n, e;
751
739
  }
752
- function bt(e, t, n, r, i, a) {
740
+ function vt(e, t, n, r, i, a) {
753
741
  function o(e, t, n) {
754
742
  return function(r, i) {
755
743
  return n && n(r), e[t].call(r, i);
@@ -772,13 +760,13 @@ function bt(e, t, n, r, i, a) {
772
760
  n || Array.isArray(_) || (_ = [_]);
773
761
  var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
774
762
  d ? (f || p ? b = {
775
- get: Ct(function() {
763
+ get: xt(function() {
776
764
  return v(this);
777
765
  }, r, "get"),
778
766
  set: function(e) {
779
767
  t[4](this, e);
780
768
  }
781
- } : b[S] = v, f || Ct(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
769
+ } : b[S] = v, f || xt(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
782
770
  }
783
771
  for (var C = e, w = _.length - 1; w >= 0; w -= n ? 2 : 1) {
784
772
  var T = _[w], E = n ? _[w - 1] : void 0, D = {}, O = {
@@ -838,7 +826,7 @@ function bt(e, t, n, r, i, a) {
838
826
  if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
839
827
  var f = Object.create(d ?? null), p = function(e, t, n, r) {
840
828
  var i, a, o = [], c = function(t) {
841
- return wt(t) === e;
829
+ return St(t) === e;
842
830
  }, u = /* @__PURE__ */ new Map();
843
831
  function d(e) {
844
832
  e && o.push(s.bind(null, e));
@@ -852,7 +840,7 @@ function bt(e, t, n, r, i, a) {
852
840
  if (!0 === x || x === 3 && m !== 4 || x === 4 && m !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
853
841
  u.set(b, !(m > 2) || m);
854
842
  }
855
- l(v ? e : e.prototype, p, _, g ? "#" + h : xt(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
843
+ l(v ? e : e.prototype, p, _, g ? "#" + h : yt(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
856
844
  }
857
845
  }
858
846
  return d(i), d(a), o;
@@ -865,11 +853,11 @@ function bt(e, t, n, r, i, a) {
865
853
  }
866
854
  };
867
855
  }
868
- function xt(e) {
869
- var t = St(e, "string");
856
+ function yt(e) {
857
+ var t = bt(e, "string");
870
858
  return typeof t == "symbol" ? t : t + "";
871
859
  }
872
- function St(e, t) {
860
+ function bt(e, t) {
873
861
  if (typeof e != "object" || !e) return e;
874
862
  var n;
875
863
  if (typeof Symbol < "u" && (n = e[Symbol.toPrimitive]) !== void 0) {
@@ -879,7 +867,7 @@ function St(e, t) {
879
867
  }
880
868
  return (t === "string" ? String : Number)(e);
881
869
  }
882
- function Ct(e, t, n) {
870
+ function xt(e, t, n) {
883
871
  typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
884
872
  try {
885
873
  Object.defineProperty(e, "name", {
@@ -889,30 +877,30 @@ function Ct(e, t, n) {
889
877
  } catch {}
890
878
  return e;
891
879
  }
892
- function wt(e) {
880
+ function St(e) {
893
881
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
894
882
  return e;
895
883
  }
896
- function Tt(e) {
884
+ function Ct(e) {
897
885
  return e;
898
886
  }
899
- st = [h("solid-ui-access-control-errors")];
900
- var Et;
901
- new (ft = (P = /*#__PURE__*/ new WeakMap(), F = /*#__PURE__*/ new WeakMap(), pt = (ct = g({ attribute: !1 }), ut = g({ attribute: !1 }), "errors"), it = class extends _ {
887
+ at = [b("solid-ui-access-control-errors")];
888
+ var wt;
889
+ new (ut = (P = /*#__PURE__*/ new WeakMap(), F = /*#__PURE__*/ new WeakMap(), dt = (ot = h({ attribute: !1 }), ct = h({ attribute: !1 }), "errors"), nt = class extends g {
902
890
  constructor(...e) {
903
- super(...e), mt(this, P, (at(this), lt(this, []))), mt(this, F, dt(this, !0));
891
+ super(...e), ft(this, P, (rt(this), st(this, []))), ft(this, F, lt(this, !0));
904
892
  }
905
- get [pt]() {
906
- return _t(P, this);
893
+ get [dt]() {
894
+ return ht(P, this);
907
895
  }
908
896
  set errors(e) {
909
- gt(P, this, e);
897
+ mt(P, this, e);
910
898
  }
911
899
  get successfulChangesRefreshed() {
912
- return _t(F, this);
900
+ return ht(F, this);
913
901
  }
914
902
  set successfulChangesRefreshed(e) {
915
- gt(F, this, e);
903
+ mt(F, this, e);
916
904
  }
917
905
  onClose(e) {
918
906
  e.stopPropagation(), this.dispatchEvent(new CustomEvent("close", {
@@ -924,14 +912,14 @@ new (ft = (P = /*#__PURE__*/ new WeakMap(), F = /*#__PURE__*/ new WeakMap(), pt
924
912
  return e === "folder+contents" ? "folder and contents" : e === "container" ? "folder" : e === "contents" ? "contents" : "resource";
925
913
  }
926
914
  render() {
927
- return this.errors.length ? b`
915
+ return this.errors.length ? y`
928
916
  <solid-ui-error-state
929
917
  title="Some access changes could not be saved"
930
918
  message=${this.successfulChangesRefreshed ? "Any successful changes are shown above. The list below shows only the changes that failed. Close this dialog and reopen it if you want to try again." : "Some changes may have been saved, but we could not refresh the Shared with list. The list below shows only the changes that failed. Close this dialog and reopen it if you want to try again."}
931
919
  @close=${this.onClose}
932
920
  >
933
921
  <ul class="access-control-save-errors">
934
- ${this.errors.map((e) => b`
922
+ ${this.errors.map((e) => y`
935
923
  <li>
936
924
  <span class="access-control-save-error-label">${e.label}</span>
937
925
  <span class="access-control-save-error-detail">
@@ -942,31 +930,31 @@ new (ft = (P = /*#__PURE__*/ new WeakMap(), F = /*#__PURE__*/ new WeakMap(), pt
942
930
  `)}
943
931
  </ul>
944
932
  </solid-ui-error-state>
945
- ` : b``;
933
+ ` : y``;
946
934
  }
947
- }, {e: [lt, dt, at], c: [Et, ot]} = bt(it, [[
948
- ct,
935
+ }, {e: [st, lt, rt], c: [wt, it]} = vt(nt, [[
936
+ ot,
949
937
  1,
950
938
  "errors"
951
939
  ], [
952
- ut,
940
+ ct,
953
941
  1,
954
942
  "successfulChangesRefreshed"
955
- ]], st, 0, void 0, _), it), rt = class extends Tt {
943
+ ]], at, 0, void 0, g), nt), tt = class extends Ct {
956
944
  constructor() {
957
- super(Et), yt(this, "styles", nt), ot();
945
+ super(wt), _t(this, "styles", et), it();
958
946
  }
959
- }, yt(rt, ft, void 0), rt)();
947
+ }, _t(tt, ut, void 0), tt)();
960
948
  // src/components/access-control-modal/AccessControlModal.styles.css
961
- var Dt = v`:host{& .access-control-mixed-policy-warning{border:1px solid var(--solid-ui-color-red-300,#fca5a5);background:var(--solid-ui-color-red-50,#fef2f2);color:var(--solid-ui-color-red-800,#991b1b);font-size:var(--solid-ui-font-size-sm,.875rem);border-radius:5px;gap:4px;margin:0 0 16px;padding:12px 14px;line-height:1.45;display:grid;& strong{font-weight:600}}& .access-control-same-access-toggle{color:var(--solid-ui-color-gray-900,#101828);text-align:left;line-height:1.4;font:inherit;cursor:pointer;background:0 0;border:0;align-items:flex-start;gap:8px;margin-top:12px;padding:0;display:flex}& .access-control-switch-track{background:var(--solid-ui-color-slate-300,#cbd5e1);border-radius:999px;flex:none;width:34px;height:20px;margin-top:1px;padding:2px;transition:background .15s;display:inline-flex}& .access-control-same-access-toggle[aria-checked=true] .access-control-switch-track{background:var(--solid-ui-color-purple-600,#9333ea)}& .access-control-switch-thumb{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .15s;box-shadow:0 1px 2px #00000040}& .access-control-same-access-toggle[aria-checked=true] .access-control-switch-thumb{transform:translate(14px)}& .access-control-same-access-toggle>span:last-child{overflow-wrap:anywhere;min-width:0;max-width:100%}& .access-control-sharing-state,& .access-control-contents-prompt{box-sizing:border-box;min-width:0;max-width:100%;font-size:var(--solid-ui-font-size-sm,.875rem);margin-bottom:16px;padding:10px;& h2{color:var(--solid-ui-color-gray-900,#101828);font-size:var(--solid-ui-font-size-md,1rem);margin:0 0 10px;font-weight:600}& .access-control-advanced-sharing{box-sizing:border-box;overflow-wrap:anywhere;width:100%;min-width:0;max-width:100%;margin-top:10px;padding:10px 48px 10px 15px;position:relative;& h2{color:var(--solid-ui-color-gray-900,#101828);font-size:var(--solid-ui-font-size-md,1rem);margin:0 0 4px;font-weight:600}& p{overflow-wrap:anywhere;min-width:0;max-width:100%;color:var(--solid-ui-color-gray-600,#4a5565);font-size:var(--solid-ui-font-size-xs,.75rem);margin:0;line-height:1.5}& .access-control-advanced-sharing-description-line{max-width:100%;display:block}}& .access-control-advanced-sharing-options,& .access-control-advanced-sharing-actions{flex-wrap:wrap;gap:8px;min-width:0;margin-top:10px;display:flex;& solid-ui-button{--solid-ui-font-size-md:var(--solid-ui-font-size-sm,.875rem);white-space:normal;min-width:0;max-width:100%}}& .access-control-advanced-sharing-actions{justify-content:flex-end;margin-top:0;position:absolute;top:10px;right:15px;& solid-ui-button{color:var(--solid-ui-color-gray-600,#4a5565)}}& p{overflow-wrap:anywhere;min-width:0;max-width:100%;color:var(--solid-ui-color-gray-600,#4a5565);margin:0;line-height:1.5}}& .access-control-sharing-state-panel,& .access-control-contents-prompt{box-sizing:border-box;border:1px solid var(--solid-ui-color-slate-200,#e2e8f0);background:var(--solid-ui-color-white,#fff);border-radius:5px;min-width:0;max-width:100%;padding:10px 15px}& .access-control-sharing-state-panel{gap:10px;display:grid;& p{overflow-wrap:anywhere;min-width:0;max-width:100%}& .access-control-sharing-state-custom-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex;& p{flex:auto}& solid-ui-button{--solid-ui-font-size-md:var(--solid-ui-font-size-sm,.875rem);flex:none}}}& .access-control-sharing-guidance{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex;& p{overflow-wrap:anywhere;min-width:0;max-width:100%}& solid-ui-button{--solid-ui-font-size-md:var(--solid-ui-font-size-sm,.875rem);flex:none}}& .access-control-sharing-state-actions{flex-direction:column;justify-content:flex-end;align-items:flex-end;gap:8px;min-width:0;margin-top:10px;display:flex;& solid-ui-button{--solid-ui-font-size-md:var(--solid-ui-font-size-sm,.875rem);max-width:100%}}@media (width<=420px){& .access-control-sharing-guidance{flex-direction:column;align-items:flex-start;gap:8px;& solid-ui-button{align-self:flex-end}}}& .access-control-contents-prompt{& .access-control-contents-prompt-actions{flex-wrap:wrap;gap:8px;min-width:0;margin-top:10px;display:flex}& solid-ui-button{--solid-ui-font-size-md:var(--solid-ui-font-size-sm,.875rem);flex:0 auto;max-width:100%}}& .access-control-contents-prompt h2{margin-bottom:4px}& .access-control-footer-actions{justify-content:flex-end;align-items:center;gap:15px;width:100%;display:flex;&>solid-ui-button{min-width:132px}}@media (width<=380px){& .access-control-footer-actions{gap:8px;&>solid-ui-button{flex:1 1 0;min-width:0}}}}`;
949
+ var Tt = _`:host{& .access-control-mixed-policy-warning{border:1px solid var(--solid-ui-color-red-300,#fca5a5);background:var(--solid-ui-color-red-50,#fef2f2);color:var(--solid-ui-color-red-800,#991b1b);font-size:var(--solid-ui-font-size-sm,.875rem);border-radius:5px;gap:4px;margin:0 0 16px;padding:12px 14px;line-height:1.45;display:grid;& strong{font-weight:600}}& .access-control-same-access-toggle{color:var(--solid-ui-color-gray-900,#101828);text-align:left;line-height:1.4;font:inherit;cursor:pointer;background:0 0;border:0;align-items:flex-start;gap:8px;margin-top:12px;padding:0;display:flex}& .access-control-switch-track{background:var(--solid-ui-color-slate-300,#cbd5e1);border-radius:999px;flex:none;width:34px;height:20px;margin-top:1px;padding:2px;transition:background .15s;display:inline-flex}& .access-control-same-access-toggle[aria-checked=true] .access-control-switch-track{background:var(--solid-ui-color-purple-600,#9333ea)}& .access-control-switch-thumb{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .15s;box-shadow:0 1px 2px #00000040}& .access-control-same-access-toggle[aria-checked=true] .access-control-switch-thumb{transform:translate(14px)}& .access-control-same-access-toggle>span:last-child{overflow-wrap:anywhere;min-width:0;max-width:100%}& .access-control-sharing-state,& .access-control-contents-prompt{box-sizing:border-box;min-width:0;max-width:100%;font-size:var(--solid-ui-font-size-sm,.875rem);margin-bottom:16px;padding:10px;& h2{color:var(--solid-ui-color-gray-900,#101828);font-size:var(--solid-ui-font-size-md,1rem);margin:0 0 10px;font-weight:600}& .access-control-advanced-sharing{box-sizing:border-box;overflow-wrap:anywhere;width:100%;min-width:0;max-width:100%;margin-top:10px;padding:10px 48px 10px 15px;position:relative;& h2{color:var(--solid-ui-color-gray-900,#101828);font-size:var(--solid-ui-font-size-md,1rem);margin:0 0 4px;font-weight:600}& p{overflow-wrap:anywhere;min-width:0;max-width:100%;color:var(--solid-ui-color-gray-600,#4a5565);font-size:var(--solid-ui-font-size-xs,.75rem);margin:0;line-height:1.5}& .access-control-advanced-sharing-description-line{max-width:100%;display:block}}& .access-control-advanced-sharing-options,& .access-control-advanced-sharing-actions{flex-wrap:wrap;gap:8px;min-width:0;margin-top:10px;display:flex;& solid-ui-button{--solid-ui-font-size-md:var(--solid-ui-font-size-sm,.875rem);white-space:normal;min-width:0;max-width:100%}}& .access-control-advanced-sharing-actions{justify-content:flex-end;margin-top:0;position:absolute;top:10px;right:15px;& solid-ui-button{color:var(--solid-ui-color-gray-600,#4a5565)}}& p{overflow-wrap:anywhere;min-width:0;max-width:100%;color:var(--solid-ui-color-gray-600,#4a5565);margin:0;line-height:1.5}}& .access-control-sharing-state-panel,& .access-control-contents-prompt{box-sizing:border-box;border:1px solid var(--solid-ui-color-slate-200,#e2e8f0);background:var(--solid-ui-color-white,#fff);border-radius:5px;min-width:0;max-width:100%;padding:10px 15px}& .access-control-sharing-state-panel{gap:10px;display:grid;& p{overflow-wrap:anywhere;min-width:0;max-width:100%}& .access-control-sharing-state-custom-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex;& p{flex:auto}& solid-ui-button{--solid-ui-font-size-md:var(--solid-ui-font-size-sm,.875rem);flex:none}}}& .access-control-sharing-guidance{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex;& p{overflow-wrap:anywhere;min-width:0;max-width:100%}& solid-ui-button{--solid-ui-font-size-md:var(--solid-ui-font-size-sm,.875rem);flex:none}}& .access-control-sharing-state-actions{flex-direction:column;justify-content:flex-end;align-items:flex-end;gap:8px;min-width:0;margin-top:10px;display:flex;& solid-ui-button{--solid-ui-font-size-md:var(--solid-ui-font-size-sm,.875rem);max-width:100%}}@media (width<=420px){& .access-control-sharing-guidance{flex-direction:column;align-items:flex-start;gap:8px;& solid-ui-button{align-self:flex-end}}}& .access-control-contents-prompt{& .access-control-contents-prompt-actions{flex-wrap:wrap;gap:8px;min-width:0;margin-top:10px;display:flex}& solid-ui-button{--solid-ui-font-size-md:var(--solid-ui-font-size-sm,.875rem);flex:0 auto;max-width:100%}}& .access-control-contents-prompt h2{margin-bottom:4px}& .access-control-footer-actions{justify-content:flex-end;align-items:center;gap:15px;width:100%;display:flex;&>solid-ui-button{min-width:132px}}@media (width<=380px){& .access-control-footer-actions{gap:8px;&>solid-ui-button{flex:1 1 0;min-width:0}}}}`;
962
950
  // src/components/access-control-modal/accessGrantDrafts.ts
963
- function Ot(e) {
951
+ function Et(e) {
964
952
  return {
965
953
  ...e,
966
- agentClass: e.agentClass.filter((e) => e !== l.iri && e !== r.iri)
954
+ agentClass: e.agentClass.filter((e) => e !== r.iri && e !== t.iri)
967
955
  };
968
956
  }
969
- function kt(e) {
957
+ function Dt(e) {
970
958
  return [
971
959
  {
972
960
  type: "agent",
@@ -989,118 +977,118 @@ function kt(e) {
989
977
  iri: t
990
978
  })));
991
979
  }
992
- function At(e) {
993
- return e.id ? e.id : kt(e).map((e) => `${e.type}:${e.iri}`).sort().join("|");
980
+ function Ot(e) {
981
+ return e.id ? e.id : Dt(e).map((e) => `${e.type}:${e.iri}`).sort().join("|");
994
982
  }
995
- function jt(e) {
983
+ function kt(e) {
996
984
  let t = /* @__PURE__ */ new Map();
997
985
  return e.map((e) => {
998
- let n = At(Ot(e)), r = t.get(n) ?? 0;
986
+ let n = Ot(Et(e)), r = t.get(n) ?? 0;
999
987
  return t.set(n, r + 1), r === 0 ? n : `${n}#${r}`;
1000
988
  });
1001
989
  }
1002
- function Mt(e) {
1003
- let t = [
1004
- ...e.agent,
1005
- ...e.agentGroup,
1006
- ...e.agentClass,
1007
- ...e.origin
990
+ function At(t) {
991
+ let n = [
992
+ ...t.agent,
993
+ ...t.agentGroup,
994
+ ...t.agentClass,
995
+ ...t.origin
1008
996
  ];
1009
- return t.length ? t.map((e) => u(o(e))).join(", ") : "Unknown access holder";
997
+ return n.length ? n.map((t) => u(e(t))).join(", ") : "Unknown access holder";
1010
998
  }
1011
- function Nt(e) {
1012
- return a.acl.roleFromModes(e.mode);
999
+ function jt(e) {
1000
+ return c.acl.roleFromModes(e.mode);
1013
1001
  }
1014
- function Pt(e) {
1015
- let t = Ot(e);
1002
+ function Mt(e) {
1003
+ let t = Et(e);
1016
1004
  return {
1017
- id: At(t),
1005
+ id: Ot(t),
1018
1006
  authorization: t,
1019
- role: Nt(t),
1020
- initialRole: Nt(e),
1021
- subjectLabel: Mt(t),
1022
- subjects: kt(t)
1007
+ role: jt(t),
1008
+ initialRole: jt(e),
1009
+ subjectLabel: At(t),
1010
+ subjects: Dt(t)
1023
1011
  };
1024
1012
  }
1025
- function Ft(e) {
1026
- let t = jt(e);
1013
+ function Nt(e) {
1014
+ let t = kt(e);
1027
1015
  return e.map((e, n) => ({
1028
- ...Pt(e),
1016
+ ...Mt(e),
1029
1017
  id: t[n]
1030
1018
  }));
1031
1019
  }
1032
- function It(e) {
1020
+ function Pt(e) {
1033
1021
  return [...e].sort((t, n) => {
1034
1022
  let r = t.role === "Owner", i = n.role === "Owner";
1035
1023
  return r && !i ? -1 : !r && i ? 1 : e.indexOf(t) - e.indexOf(n);
1036
1024
  });
1037
1025
  }
1038
- function Lt(e) {
1039
- return It(e).filter(({ role: e, initialRole: t, subjects: n }) => e !== t && n.length > 0).map(({ authorization: e, subjects: t, role: n }) => ({
1026
+ function Ft(e) {
1027
+ return Pt(e).filter(({ role: e, initialRole: t, subjects: n }) => e !== t && n.length > 0).map(({ authorization: e, subjects: t, role: n }) => ({
1040
1028
  authorization: e,
1041
1029
  subjects: t,
1042
1030
  role: n
1043
1031
  }));
1044
1032
  }
1045
- function Rt(e) {
1046
- let t = e.filter((e) => e.agentClass.includes(l.iri)).flatMap((e) => e.mode);
1047
- return t.length ? a.acl.roleFromModes(t) : "No Access";
1048
- }
1049
- function zt(e) {
1033
+ function It(e) {
1050
1034
  let t = e.filter((e) => e.agentClass.includes(r.iri)).flatMap((e) => e.mode);
1051
- return t.length ? a.acl.publicRoleFromModes(t) : "No Access";
1035
+ return t.length ? c.acl.roleFromModes(t) : "No Access";
1052
1036
  }
1053
- function Bt(e) {
1054
- return e.iri === l.iri ? "Authenticated users" : e.iri === r.iri ? "Public" : u(o(e.iri)).trim() || e.iri;
1037
+ function Lt(e) {
1038
+ let n = e.filter((e) => e.agentClass.includes(t.iri)).flatMap((e) => e.mode);
1039
+ return n.length ? c.acl.publicRoleFromModes(n) : "No Access";
1040
+ }
1041
+ function Rt(n) {
1042
+ return n.iri === r.iri ? "Authenticated users" : n.iri === t.iri ? "Public" : u(e(n.iri)).trim() || n.iri;
1055
1043
  }
1056
1044
  // ~icons/lucide/book-user
1057
- var Vt = class extends HTMLElement {
1045
+ var zt = class extends HTMLElement {
1058
1046
  constructor() {
1059
1047
  super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M15 13a3 3 0 1 0-6 0\"/><path d=\"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20\"/><circle cx=\"12\" cy=\"8\" r=\"2\"/></g></svg>";
1060
1048
  }
1061
1049
  };
1062
- customElements.get("icon-lucide-book-user") || customElements.define("icon-lucide-book-user", Vt);
1050
+ customElements.get("icon-lucide-book-user") || customElements.define("icon-lucide-book-user", zt);
1063
1051
  // ~icons/lucide/user-round
1064
- var Ht = class extends HTMLElement {
1052
+ var Bt = class extends HTMLElement {
1065
1053
  constructor() {
1066
1054
  super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><circle cx=\"12\" cy=\"8\" r=\"5\"/><path d=\"M20 21a8 8 0 0 0-16 0\"/></g></svg>";
1067
1055
  }
1068
1056
  };
1069
- customElements.get("icon-lucide-user-round") || customElements.define("icon-lucide-user-round", Ht);
1057
+ customElements.get("icon-lucide-user-round") || customElements.define("icon-lucide-user-round", Bt);
1070
1058
  // ~icons/lucide/users
1071
- var Ut = class extends HTMLElement {
1059
+ var Vt = class extends HTMLElement {
1072
1060
  constructor() {
1073
1061
  super(), this.attachShadow({ mode: "open" }).innerHTML = "<style>:host { display: inline-flex; }</style><svg viewBox=\"0 0 24 24\" width=\"100%\" height=\"100%\" ><g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><path d=\"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M16 3.128a4 4 0 0 1 0 7.744M22 21v-2a4 4 0 0 0-3-3.87\"/><circle cx=\"9\" cy=\"7\" r=\"4\"/></g></svg>";
1074
1062
  }
1075
1063
  };
1076
- customElements.get("icon-lucide-users") || customElements.define("icon-lucide-users", Ut);
1064
+ customElements.get("icon-lucide-users") || customElements.define("icon-lucide-users", Vt);
1077
1065
  // src/components/access-control-modal/AccessControlAddAccess.styles.css
1078
- var Wt = v`:host{& .access-grants-form{font-size:var(--solid-ui-font-size-sm,.875rem);--access-role-select-width:129px;flex-direction:column;align-self:stretch;align-items:flex-start;gap:10px;padding:10px;display:flex;& p{color:var(--solid-ui-color-gray-600,#4a5565);line-height:1.5}& .access-grants-form-main{align-self:stretch;align-items:center;gap:10px;display:flex;& .access-grants-input{border:1px solid var(--solid-ui-color-slate-200,#e2e8f0);background:var(--solid-ui-color-white,#fff);border-radius:5px;flex-direction:column;flex:auto;align-items:flex-start;gap:12px;min-width:0;padding:10px 15px;display:flex;& solid-ui-combobox{--solid-ui-input-border-color:var(--solid-ui-color-slate-200,#e2e8f0);width:100%}& .access-principal-error{color:var(--solid-ui-color-red-700,#b42318);font-size:var(--solid-ui-font-size-xs,.75rem);margin:0;line-height:1.4}}}& .access-grants-pending{flex-wrap:wrap;align-items:center;gap:8px;min-height:42px;display:flex}& .access-grants-pending-item{border:1px solid var(--solid-ui-color-gray-300,#d1d5dc);background:var(--solid-ui-color-gray-50,#f9fafb);max-width:100%;color:var(--solid-ui-color-gray-700,#374151);border-radius:5px;align-items:center;gap:6px;padding:5px 10px;display:flex}& .access-grants-pending-item-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--solid-ui-color-gray-500,#6a7282);font-size:var(--solid-ui-font-size-xs,.75rem);line-height:1;overflow:hidden}& .access-grants-pending-item-remove{color:var(--solid-ui-color-gray-300,#d1d5dc);cursor:pointer;background:0 0;border:none;border-radius:999px;justify-content:center;align-items:center;padding:0;display:inline-flex;& icon-lucide-circle-x{width:14px;height:14px}}}& .access-grants-directory-entry{align-items:center;gap:8px;line-height:1;display:inline-flex}& .access-role-select{max-width:100%;width:var(--access-role-select-width);--solid-ui-input-border-color:var(--solid-ui-color-slate-200,#e2e8f0);flex:none;margin-top:25px;display:block}& .access-role-select--top{margin-top:0}}`, Gt, Kt, I, L, R, z, B, V, qt, Jt, Yt, Xt, Zt, Qt, $t, en, tn, nn, rn, an, on, sn, cn, ln, un;
1066
+ var Ht = _`:host{& .access-grants-form{font-size:var(--solid-ui-font-size-sm,.875rem);--access-role-select-width:129px;flex-direction:column;align-self:stretch;align-items:flex-start;gap:10px;padding:10px;display:flex;& p{color:var(--solid-ui-color-gray-600,#4a5565);line-height:1.5}& .access-grants-form-main{align-self:stretch;align-items:center;gap:10px;display:flex;& .access-grants-input{border:1px solid var(--solid-ui-color-slate-200,#e2e8f0);background:var(--solid-ui-color-white,#fff);border-radius:5px;flex-direction:column;flex:auto;align-items:flex-start;gap:12px;min-width:0;padding:10px 15px;display:flex;& solid-ui-combobox{--solid-ui-input-border-color:var(--solid-ui-color-slate-200,#e2e8f0);width:100%}& .access-principal-error{color:var(--solid-ui-color-red-700,#b42318);font-size:var(--solid-ui-font-size-xs,.75rem);margin:0;line-height:1.4}}}& .access-grants-pending{flex-wrap:wrap;align-items:center;gap:8px;min-height:42px;display:flex}& .access-grants-pending-item{border:1px solid var(--solid-ui-color-gray-300,#d1d5dc);background:var(--solid-ui-color-gray-50,#f9fafb);max-width:100%;color:var(--solid-ui-color-gray-700,#374151);border-radius:5px;align-items:center;gap:6px;padding:5px 10px;display:flex}& .access-grants-pending-item-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--solid-ui-color-gray-500,#6a7282);font-size:var(--solid-ui-font-size-xs,.75rem);line-height:1;overflow:hidden}& .access-grants-pending-item-remove{color:var(--solid-ui-color-gray-300,#d1d5dc);cursor:pointer;background:0 0;border:none;border-radius:999px;justify-content:center;align-items:center;padding:0;display:inline-flex;& icon-lucide-circle-x{width:14px;height:14px}}}& .access-grants-directory-entry{align-items:center;gap:8px;line-height:1;display:inline-flex}& .access-role-select{max-width:100%;width:var(--access-role-select-width);--solid-ui-input-border-color:var(--solid-ui-color-slate-200,#e2e8f0);flex:none;margin-top:25px;display:block}& .access-role-select--top{margin-top:0}}`, Ut, Wt, I, L, R, z, B, V, Gt, Kt, qt, Jt, Yt, Xt, Zt, Qt, $t, en, tn, nn, rn, an, on, sn, cn;
1079
1067
  function H(e, t, n) {
1080
- dn(e, t), t.set(e, n);
1068
+ ln(e, t), t.set(e, n);
1081
1069
  }
1082
- function dn(e, t) {
1070
+ function ln(e, t) {
1083
1071
  if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
1084
1072
  }
1085
1073
  function U(e, t, n) {
1086
- return e.set(fn(e, t), n), n;
1074
+ return e.set(un(e, t), n), n;
1087
1075
  }
1088
1076
  function W(e, t) {
1089
- return e.get(fn(e, t));
1077
+ return e.get(un(e, t));
1090
1078
  }
1091
- function fn(e, t, n) {
1079
+ function un(e, t, n) {
1092
1080
  if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
1093
1081
  throw TypeError("Private element is not present on this object");
1094
1082
  }
1095
- function pn(e, t, n) {
1096
- return (t = hn(t)) in e ? Object.defineProperty(e, t, {
1083
+ function dn(e, t, n) {
1084
+ return (t = pn(t)) in e ? Object.defineProperty(e, t, {
1097
1085
  value: n,
1098
1086
  enumerable: !0,
1099
1087
  configurable: !0,
1100
1088
  writable: !0
1101
1089
  }) : e[t] = n, e;
1102
1090
  }
1103
- function mn(e, t, n, r, i, a) {
1091
+ function fn(e, t, n, r, i, a) {
1104
1092
  function o(e, t, n) {
1105
1093
  return function(r, i) {
1106
1094
  return n && n(r), e[t].call(r, i);
@@ -1123,13 +1111,13 @@ function mn(e, t, n, r, i, a) {
1123
1111
  n || Array.isArray(_) || (_ = [_]);
1124
1112
  var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
1125
1113
  d ? (f || p ? b = {
1126
- get: _n(function() {
1114
+ get: hn(function() {
1127
1115
  return v(this);
1128
1116
  }, r, "get"),
1129
1117
  set: function(e) {
1130
1118
  t[4](this, e);
1131
1119
  }
1132
- } : b[S] = v, f || _n(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
1120
+ } : b[S] = v, f || hn(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
1133
1121
  }
1134
1122
  for (var C = e, w = _.length - 1; w >= 0; w -= n ? 2 : 1) {
1135
1123
  var T = _[w], E = n ? _[w - 1] : void 0, D = {}, O = {
@@ -1189,7 +1177,7 @@ function mn(e, t, n, r, i, a) {
1189
1177
  if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
1190
1178
  var f = Object.create(d ?? null), p = function(e, t, n, r) {
1191
1179
  var i, a, o = [], c = function(t) {
1192
- return vn(t) === e;
1180
+ return gn(t) === e;
1193
1181
  }, u = /* @__PURE__ */ new Map();
1194
1182
  function d(e) {
1195
1183
  e && o.push(s.bind(null, e));
@@ -1203,7 +1191,7 @@ function mn(e, t, n, r, i, a) {
1203
1191
  if (!0 === x || x === 3 && m !== 4 || x === 4 && m !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
1204
1192
  u.set(b, !(m > 2) || m);
1205
1193
  }
1206
- l(v ? e : e.prototype, p, _, g ? "#" + h : hn(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
1194
+ l(v ? e : e.prototype, p, _, g ? "#" + h : pn(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
1207
1195
  }
1208
1196
  }
1209
1197
  return d(i), d(a), o;
@@ -1216,11 +1204,11 @@ function mn(e, t, n, r, i, a) {
1216
1204
  }
1217
1205
  };
1218
1206
  }
1219
- function hn(e) {
1220
- var t = gn(e, "string");
1207
+ function pn(e) {
1208
+ var t = mn(e, "string");
1221
1209
  return typeof t == "symbol" ? t : t + "";
1222
1210
  }
1223
- function gn(e, t) {
1211
+ function mn(e, t) {
1224
1212
  if (typeof e != "object" || !e) return e;
1225
1213
  var n;
1226
1214
  if (typeof Symbol < "u" && (n = e[Symbol.toPrimitive]) !== void 0) {
@@ -1230,7 +1218,7 @@ function gn(e, t) {
1230
1218
  }
1231
1219
  return (t === "string" ? String : Number)(e);
1232
1220
  }
1233
- function _n(e, t, n) {
1221
+ function hn(e, t, n) {
1234
1222
  typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
1235
1223
  try {
1236
1224
  Object.defineProperty(e, "name", {
@@ -1240,31 +1228,31 @@ function _n(e, t, n) {
1240
1228
  } catch {}
1241
1229
  return e;
1242
1230
  }
1243
- function vn(e) {
1231
+ function gn(e) {
1244
1232
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
1245
1233
  return e;
1246
1234
  }
1247
- function yn(e) {
1235
+ function _n(e) {
1248
1236
  return e;
1249
1237
  }
1250
- function bn(e) {
1251
- return b`
1238
+ function vn(e) {
1239
+ return y`
1252
1240
  <span class="access-grants-directory-entry">
1253
- ${xn(e)}
1241
+ ${yn(e)}
1254
1242
  <span>${e.label}</span>
1255
1243
  </span>
1256
1244
  `;
1257
1245
  }
1258
- function xn(e) {
1259
- return e.sources.includes("contacts") || e.sources.includes("groups") ? b`<icon-lucide-book-user style="width: 13px; height: 13px; flex: 0 0 13px;"></icon-lucide-book-user>` : e.sources.includes("friends") ? b`<icon-lucide-users style="width: 13px; height: 13px; flex: 0 0 13px;"></icon-lucide-users>` : e.sources.includes("catalog") ? b`<icon-lucide-user-round style="width: 13px; height: 13px; flex: 0 0 13px;"></icon-lucide-user-round>` : m;
1246
+ function yn(e) {
1247
+ return e.sources.includes("contacts") || e.sources.includes("groups") ? y`<icon-lucide-book-user style="width: 13px; height: 13px; flex: 0 0 13px;"></icon-lucide-book-user>` : e.sources.includes("friends") ? y`<icon-lucide-users style="width: 13px; height: 13px; flex: 0 0 13px;"></icon-lucide-users>` : e.sources.includes("catalog") ? y`<icon-lucide-user-round style="width: 13px; height: 13px; flex: 0 0 13px;"></icon-lucide-user-round>` : m;
1260
1248
  }
1261
- Yt = [h("solid-ui-access-control-add-access")];
1262
- var Sn;
1263
- new (ln = (I = /*#__PURE__*/ new WeakMap(), L = /*#__PURE__*/ new WeakMap(), R = /*#__PURE__*/ new WeakMap(), z = /*#__PURE__*/ new WeakMap(), B = /*#__PURE__*/ new WeakMap(), V = /*#__PURE__*/ new WeakMap(), un = (Xt = g({ attribute: !1 }), Qt = g({ attribute: !1 }), en = g({ attribute: !1 }), nn = g({ attribute: !1 }), an = g({ type: Boolean }), sn = g({ attribute: !1 }), "principalInputValue"), Kt = class extends _ {
1249
+ qt = [b("solid-ui-access-control-add-access")];
1250
+ var bn;
1251
+ new (sn = (I = /*#__PURE__*/ new WeakMap(), L = /*#__PURE__*/ new WeakMap(), R = /*#__PURE__*/ new WeakMap(), z = /*#__PURE__*/ new WeakMap(), B = /*#__PURE__*/ new WeakMap(), V = /*#__PURE__*/ new WeakMap(), cn = (Jt = h({ attribute: !1 }), Xt = h({ attribute: !1 }), Qt = h({ attribute: !1 }), en = h({ attribute: !1 }), nn = h({ type: Boolean }), an = h({ attribute: !1 }), "principalInputValue"), Wt = class extends g {
1264
1252
  constructor(...e) {
1265
- super(...e), H(this, I, (qt(this), Zt(this, ""))), H(this, L, $t(this, "Viewer")), H(this, R, tn(this, [])), H(this, z, rn(this, "")), H(this, B, on(this, !1)), H(this, V, cn(this, null));
1253
+ super(...e), H(this, I, (Gt(this), Yt(this, ""))), H(this, L, Zt(this, "Viewer")), H(this, R, $t(this, [])), H(this, z, tn(this, "")), H(this, B, rn(this, !1)), H(this, V, on(this, null));
1266
1254
  }
1267
- get [un]() {
1255
+ get [cn]() {
1268
1256
  return W(I, this);
1269
1257
  }
1270
1258
  set principalInputValue(e) {
@@ -1321,7 +1309,7 @@ new (ln = (I = /*#__PURE__*/ new WeakMap(), L = /*#__PURE__*/ new WeakMap(), R =
1321
1309
  }));
1322
1310
  }
1323
1311
  onRoleChange(e) {
1324
- let t = e.detail.option.value, n = typeof t == "string" ? i.find((e) => e === t) : void 0;
1312
+ let t = e.detail.option.value, n = typeof t == "string" ? s.find((e) => e === t) : void 0;
1325
1313
  n && this.dispatchEvent(new CustomEvent("role-changed", {
1326
1314
  detail: { role: n },
1327
1315
  bubbles: !0,
@@ -1340,7 +1328,7 @@ new (ln = (I = /*#__PURE__*/ new WeakMap(), L = /*#__PURE__*/ new WeakMap(), R =
1340
1328
  return typeof t?.value == "string" ? t.value : "";
1341
1329
  }
1342
1330
  render() {
1343
- return b`
1331
+ return y`
1344
1332
  <section class="access-grants-form" aria-label="Add access">
1345
1333
  <p>Add person, group or software agent URL.</p>
1346
1334
  <div class="access-grants-form-main">
@@ -1356,7 +1344,7 @@ new (ln = (I = /*#__PURE__*/ new WeakMap(), L = /*#__PURE__*/ new WeakMap(), R =
1356
1344
  @input=${this.onPrincipalInput}
1357
1345
  @change=${this.onPrincipalSelect}
1358
1346
  ></solid-ui-combobox>
1359
- ${this.inputError ? b`<p class="access-principal-error" role="alert">${this.inputError}</p>` : m}
1347
+ ${this.inputError ? y`<p class="access-principal-error" role="alert">${this.inputError}</p>` : m}
1360
1348
  ${this.renderPendingAccessGrants()}
1361
1349
  </div>
1362
1350
  <solid-ui-combobox
@@ -1365,7 +1353,7 @@ new (ln = (I = /*#__PURE__*/ new WeakMap(), L = /*#__PURE__*/ new WeakMap(), R =
1365
1353
  .value=${this.addAccessRoleValue}
1366
1354
  @change=${this.onRoleChange}
1367
1355
  >
1368
- ${i.filter((e) => e !== "No Access").map((e) => b`
1356
+ ${s.filter((e) => e !== "No Access").map((e) => y`
1369
1357
  <solid-ui-combobox-option value=${e}>${e}</solid-ui-combobox-option>
1370
1358
  `)}
1371
1359
  </solid-ui-combobox>
@@ -1374,12 +1362,12 @@ new (ln = (I = /*#__PURE__*/ new WeakMap(), L = /*#__PURE__*/ new WeakMap(), R =
1374
1362
  `;
1375
1363
  }
1376
1364
  renderPendingAccessGrants() {
1377
- return this.pendingAccessGrants.length ? b`
1365
+ return this.pendingAccessGrants.length ? y`
1378
1366
  <div class="access-grants-pending">
1379
- ${this.pendingAccessGrants.map((e, t) => b`
1367
+ ${this.pendingAccessGrants.map((e, t) => y`
1380
1368
  <div class="access-grants-pending-item">
1381
1369
  <span class="access-grants-pending-item-label">
1382
- ${e.targetKind === "trustedApp" ? b`<icon-lucide-globe style="width: 13px; height: 13px; vertical-align: -2px;"></icon-lucide-globe>` : m}
1370
+ ${e.targetKind === "trustedApp" ? y`<icon-lucide-globe style="width: 13px; height: 13px; vertical-align: -2px;"></icon-lucide-globe>` : m}
1383
1371
  ${e.label}
1384
1372
  </span>
1385
1373
  <solid-ui-button
@@ -1397,44 +1385,44 @@ new (ln = (I = /*#__PURE__*/ new WeakMap(), L = /*#__PURE__*/ new WeakMap(), R =
1397
1385
  </div>
1398
1386
  ` : m;
1399
1387
  }
1400
- }, {e: [Zt, $t, tn, rn, on, cn, qt], c: [Sn, Jt]} = mn(Kt, [
1388
+ }, {e: [Yt, Zt, $t, tn, rn, on, Gt], c: [bn, Kt]} = fn(Wt, [
1401
1389
  [
1402
- Xt,
1390
+ Jt,
1403
1391
  1,
1404
1392
  "principalInputValue"
1405
1393
  ],
1406
1394
  [
1407
- Qt,
1395
+ Xt,
1408
1396
  1,
1409
1397
  "addAccessRoleValue"
1410
1398
  ],
1411
1399
  [
1412
- en,
1400
+ Qt,
1413
1401
  1,
1414
1402
  "pendingAccessGrants"
1415
1403
  ],
1416
1404
  [
1417
- nn,
1405
+ en,
1418
1406
  1,
1419
1407
  "inputError"
1420
1408
  ],
1421
1409
  [
1422
- an,
1410
+ nn,
1423
1411
  1,
1424
1412
  "disabled"
1425
1413
  ],
1426
1414
  [
1427
- sn,
1415
+ an,
1428
1416
  1,
1429
1417
  "asyncOptionsProvider"
1430
1418
  ]
1431
- ], Yt, 0, void 0, _), Kt), Gt = class extends yn {
1419
+ ], qt, 0, void 0, g), Wt), Ut = class extends _n {
1432
1420
  constructor() {
1433
- super(Sn), pn(this, "styles", Wt), Jt();
1421
+ super(bn), dn(this, "styles", Ht), Kt();
1434
1422
  }
1435
- }, pn(Gt, ln, void 0), Gt)();
1423
+ }, dn(Ut, sn, void 0), Ut)();
1436
1424
  // src/components/access-control-modal/helpers.ts
1437
- function Cn(e) {
1425
+ function xn(e) {
1438
1426
  try {
1439
1427
  let t = new URL(e);
1440
1428
  return (t.protocol === "http:" || t.protocol === "https:") && !!t.hostname;
@@ -1442,21 +1430,21 @@ function Cn(e) {
1442
1430
  return !1;
1443
1431
  }
1444
1432
  }
1445
- function wn(e) {
1446
- if (!Cn(e)) return !1;
1433
+ function Sn(e) {
1434
+ if (!xn(e)) return !1;
1447
1435
  let t = new URL(e);
1448
1436
  return t.pathname === "/" && !t.search && !t.hash && !t.username && !t.password;
1449
1437
  }
1450
- function Tn(e) {
1438
+ function Cn(e) {
1451
1439
  let t = e.trim();
1452
- if (t && !Cn(t)) try {
1440
+ if (t && !xn(t)) try {
1453
1441
  let e = new URL(`https://${t}`), n = e.protocol === "http:" || e.protocol === "https:", r = e.pathname === "/" && !e.search && !e.hash, i = e.hostname.includes(".") || e.hostname.includes(":");
1454
1442
  return n && r && i && !e.username && !e.password ? e.origin : void 0;
1455
1443
  } catch {
1456
1444
  return;
1457
1445
  }
1458
1446
  }
1459
- function En(e, t) {
1447
+ function wn(e, t) {
1460
1448
  let n = /* @__PURE__ */ new Map();
1461
1449
  for (let r of e) {
1462
1450
  let e = t(r);
@@ -1464,32 +1452,32 @@ function En(e, t) {
1464
1452
  }
1465
1453
  return [...n.values()];
1466
1454
  }
1467
- function Dn(e) {
1468
- return En(e, (e) => e.value);
1455
+ function Tn(e) {
1456
+ return wn(e, (e) => e.value);
1469
1457
  }
1470
1458
  // src/components/access-control-modal/accessTargetResolver.ts
1471
- async function On(e) {
1472
- let t = Tn(e);
1459
+ async function En(e) {
1460
+ let t = Cn(e);
1473
1461
  return t ? {
1474
1462
  kind: "origin",
1475
1463
  subjectValue: t
1476
- } : wn(e) ? {
1464
+ } : Sn(e) ? {
1477
1465
  kind: "origin",
1478
1466
  subjectValue: new URL(e).origin
1479
- } : await a.acl.classifyAccessControlSubject(e);
1480
- }
1481
- async function kn(e, t) {
1482
- if (!e || e.kind === "origin") return e?.subjectValue;
1483
- let n = o(e.subjectValue);
1484
- await a.store.fetcher.load(n.doc());
1485
- let r = t?.trim() || u(n).trim();
1486
- if (!r || r === e.subjectValue) throw Error("The access target has no usable display label.");
1487
- return r;
1488
- }
1489
- async function An(e, t) {
1490
- let n = await On(e);
1467
+ } : await c.acl.classifyAccessControlSubject(e);
1468
+ }
1469
+ async function Dn(t, n) {
1470
+ if (!t || t.kind === "origin") return t?.subjectValue;
1471
+ let r = e(t.subjectValue);
1472
+ await c.store.fetcher.load(r.doc());
1473
+ let i = n?.trim() || u(r).trim();
1474
+ if (!i || i === t.subjectValue) throw Error("The access target has no usable display label.");
1475
+ return i;
1476
+ }
1477
+ async function On(e, t) {
1478
+ let n = await En(e);
1491
1479
  if (!n) return;
1492
- let r = await kn(n, t);
1480
+ let r = await Dn(n, t);
1493
1481
  if (r) return {
1494
1482
  subjectType: n.kind,
1495
1483
  subjectValue: n.subjectValue,
@@ -1497,91 +1485,91 @@ async function An(e, t) {
1497
1485
  targetKind: n.kind === "origin" ? "origin" : void 0
1498
1486
  };
1499
1487
  }
1500
- async function jn(e) {
1501
- let t = await An(e);
1488
+ async function kn(e) {
1489
+ let t = await On(e);
1502
1490
  return t ? {
1503
1491
  label: t.label,
1504
1492
  value: e
1505
1493
  } : void 0;
1506
1494
  }
1507
- function Mn(e, t) {
1495
+ function An(e, t) {
1508
1496
  return {
1509
1497
  label: t,
1510
1498
  value: e.uri,
1511
- template: bn({
1499
+ template: vn({
1512
1500
  ...e,
1513
1501
  label: t
1514
1502
  })
1515
1503
  };
1516
1504
  }
1517
- async function Nn(e) {
1518
- let t = Tn(e);
1505
+ async function jn(e) {
1506
+ let t = Cn(e);
1519
1507
  if (t) return [{
1520
1508
  label: `Use origin ${t}`,
1521
1509
  value: t,
1522
1510
  targetKind: "origin",
1523
- template: b`<span class="access-grants-directory-entry"><icon-lucide-globe style="width: 13px; height: 13px; flex: 0 0 13px;"></icon-lucide-globe><span>Use origin ${t}</span></span>`
1511
+ template: y`<span class="access-grants-directory-entry"><icon-lucide-globe style="width: 13px; height: 13px; flex: 0 0 13px;"></icon-lucide-globe><span>Use origin ${t}</span></span>`
1524
1512
  }];
1525
- if (!Cn(e)) return [];
1526
- if (wn(e)) return [{
1513
+ if (!xn(e)) return [];
1514
+ if (Sn(e)) return [{
1527
1515
  label: `Use origin ${new URL(e).origin}`,
1528
1516
  value: new URL(e).origin,
1529
1517
  targetKind: "origin",
1530
- template: b`<span class="access-grants-directory-entry"><icon-lucide-globe style="width: 13px; height: 13px; flex: 0 0 13px;"></icon-lucide-globe><span>Use origin ${new URL(e).origin}</span></span>`
1518
+ template: y`<span class="access-grants-directory-entry"><icon-lucide-globe style="width: 13px; height: 13px; flex: 0 0 13px;"></icon-lucide-globe><span>Use origin ${new URL(e).origin}</span></span>`
1531
1519
  }];
1532
- let n = await jn(e);
1533
- return Dn(n ? [n] : []);
1520
+ let n = await kn(e);
1521
+ return Tn(n ? [n] : []);
1534
1522
  }
1535
- async function Pn(t) {
1523
+ async function Mn(e) {
1536
1524
  try {
1537
- let n = a.authn.currentUser();
1538
- if (!n) return [];
1539
- await a.profile.loadProfile(n);
1540
- let r = a.store;
1541
- return r.each(n, e.acl("trustedApp")).flatMap((n) => {
1542
- let i = r.any(n, e.acl("origin"));
1543
- if (!i || !wn(i.value)) return [];
1544
- let a = new URL(i.value).origin;
1545
- return t && !`${a} trusted app`.toLowerCase().includes(t.toLowerCase()) ? [] : [{
1546
- label: `Trusted app: ${a}`,
1547
- value: a,
1525
+ let t = c.authn.currentUser();
1526
+ if (!t) return [];
1527
+ await c.profile.loadProfile(t);
1528
+ let n = c.store;
1529
+ return n.each(t, l.acl("trustedApp")).flatMap((t) => {
1530
+ let r = n.any(t, l.acl("origin"));
1531
+ if (!r || !Sn(r.value)) return [];
1532
+ let i = new URL(r.value).origin;
1533
+ return e && !`${i} trusted app`.toLowerCase().includes(e.toLowerCase()) ? [] : [{
1534
+ label: `Trusted app: ${i}`,
1535
+ value: i,
1548
1536
  targetKind: "trustedApp",
1549
- template: b`<span class="access-grants-directory-entry"><icon-lucide-globe style="width: 13px; height: 13px; flex: 0 0 13px;"></icon-lucide-globe><span>Trusted app: ${a}</span></span>`
1537
+ template: y`<span class="access-grants-directory-entry"><icon-lucide-globe style="width: 13px; height: 13px; flex: 0 0 13px;"></icon-lucide-globe><span>Trusted app: ${i}</span></span>`
1550
1538
  }];
1551
1539
  });
1552
1540
  } catch {
1553
1541
  return [];
1554
1542
  }
1555
1543
  }
1556
- function Fn(e) {
1544
+ function Nn(e) {
1557
1545
  return e.length ? e : [{
1558
1546
  label: "Type at least 2 characters to search",
1559
1547
  value: "",
1560
1548
  selectable: !1
1561
1549
  }];
1562
1550
  }
1563
- var In = x(async (e) => {
1564
- let t = e.trim(), r = await Nn(t), i = await Pn(t);
1565
- if (t.length < 2) return En([
1551
+ var Pn = x(async (e) => {
1552
+ let t = e.trim(), n = await jn(t), r = await Mn(t);
1553
+ if (t.length < 2) return wn([
1554
+ ...n,
1566
1555
  ...r,
1567
- ...i,
1568
- ...Fn(r)
1556
+ ...Nn(n)
1569
1557
  ], (e) => {
1570
1558
  let t = e;
1571
1559
  return typeof t.value == "string" ? `${t.value}:${t.targetKind ?? "default"}` : void 0;
1572
1560
  });
1573
- let o = [];
1561
+ let i = [];
1574
1562
  try {
1575
- o = await a.directory.search({
1563
+ i = await c.directory.search({
1576
1564
  query: t,
1577
- sources: n
1565
+ sources: o
1578
1566
  });
1579
1567
  } catch (e) {
1580
- if (!r.length && !i.length) throw e;
1568
+ if (!n.length && !r.length) throw e;
1581
1569
  }
1582
- let s = (await Promise.all(o.map(async (e) => {
1570
+ let a = (await Promise.all(i.map(async (e) => {
1583
1571
  try {
1584
- let t = await An(e.uri, e.label);
1572
+ let t = await On(e.uri, e.label);
1585
1573
  return t ? {
1586
1574
  entry: e,
1587
1575
  label: t.label
@@ -1589,44 +1577,44 @@ var In = x(async (e) => {
1589
1577
  } catch {
1590
1578
  return;
1591
1579
  }
1592
- }))).filter((e) => e !== void 0).map(({ entry: e, label: t }) => Mn(e, t));
1593
- return En([
1580
+ }))).filter((e) => e !== void 0).map(({ entry: e, label: t }) => An(e, t));
1581
+ return wn([
1582
+ ...n,
1594
1583
  ...r,
1595
- ...i,
1596
- ...s
1584
+ ...a
1597
1585
  ], (e) => {
1598
1586
  let t = e;
1599
1587
  return typeof t.value == "string" ? `${t.value}:${t.targetKind ?? "default"}` : void 0;
1600
1588
  });
1601
1589
  });
1602
1590
  // src/components/access-control-modal/applyAccessChanges.ts
1603
- async function Ln(e, t, n = {}) {
1591
+ async function Fn(e, t, n = {}) {
1604
1592
  let r = [], i = n.containerScope ?? "file";
1605
- for (let { subject: n, label: o, role: s } of t) try {
1606
- let t = i === "folder+contents" ? a.acl.planGrantContainerAndContents : i === "container" ? a.acl.planGrantContainer : i === "contents" ? a.acl.planGrantContainerContents : a.acl.planGrant, r = s === "No Access" ? await (i === "contents" ? a.acl.planRevokeContainerContents(e, n) : a.acl.planRevoke(e, n)) : await t(e, n, Rn(n, s));
1607
- await a.acl.applyPlan(r);
1593
+ for (let { subject: n, label: a, role: o } of t) try {
1594
+ let t = i === "folder+contents" ? c.acl.planGrantContainerAndContents : i === "container" ? c.acl.planGrantContainer : i === "contents" ? c.acl.planGrantContainerContents : c.acl.planGrant, r = o === "No Access" ? await (i === "contents" ? c.acl.planRevokeContainerContents(e, n) : c.acl.planRevoke(e, n)) : await t(e, n, In(n, o));
1595
+ await c.acl.applyPlan(r);
1608
1596
  } catch (e) {
1609
1597
  r.push({
1610
- action: s === "No Access" ? "revoke" : "grant",
1598
+ action: o === "No Access" ? "revoke" : "grant",
1611
1599
  targetUri: n.iri,
1612
- label: o,
1613
- role: s,
1600
+ label: a,
1601
+ role: o,
1614
1602
  scope: i,
1615
1603
  message: e instanceof Error ? e.message : "Unable to apply access change."
1616
1604
  });
1617
1605
  }
1618
1606
  return r;
1619
1607
  }
1620
- function Rn(e, t) {
1621
- if (e.type === "agentClass" && e.iri === r.iri) {
1622
- let e = c.find((e) => e === t);
1623
- if (!e) throw Error(`Public access does not support the ${t} role.`);
1624
- return a.acl.modesFromPublicRole(e);
1608
+ function In(e, n) {
1609
+ if (e.type === "agentClass" && e.iri === t.iri) {
1610
+ let e = i.find((e) => e === n);
1611
+ if (!e) throw Error(`Public access does not support the ${n} role.`);
1612
+ return c.acl.modesFromPublicRole(e);
1625
1613
  }
1626
- return a.acl.modesFromRole(t);
1614
+ return c.acl.modesFromRole(n);
1627
1615
  }
1628
1616
  // src/components/access-control-modal/buildAccessChanges.ts
1629
- function zn({ pendingAccessGrants: e, generalAccessChanges: t, changedAccessGrants: n }) {
1617
+ function Ln({ pendingAccessGrants: e, generalAccessChanges: t, changedAccessGrants: n }) {
1630
1618
  return [
1631
1619
  ...e.map((e) => ({
1632
1620
  subject: {
@@ -1640,37 +1628,37 @@ function zn({ pendingAccessGrants: e, generalAccessChanges: t, changedAccessGran
1640
1628
  ...n.flatMap(({ subjects: e, role: t }) => e.map((e) => ({
1641
1629
  subject: e,
1642
1630
  role: t,
1643
- label: Bt(e)
1631
+ label: Rt(e)
1644
1632
  })))
1645
1633
  ];
1646
1634
  }
1647
1635
  // src/components/access-control-modal/AccessControlModal.ts
1648
- var Bn, Vn, G, K, q, J, Hn, Un, Wn, Gn, Kn, qn, Jn, Yn, Xn, Zn, Y, Qn, $n, er, tr, nr, rr, ir, ar, or, sr, cr, lr, ur, dr, fr, pr, mr, hr, gr, _r, vr, yr, br, xr, Sr, Cr, wr, Tr, Er, Dr, Or, kr, Ar, jr, Mr, Nr, Pr, Fr, Ir, Lr, Rr, zr, Br, Vr;
1636
+ var Rn, zn, G, K, q, J, Bn, Vn, Hn, Un, Wn, Gn, Kn, qn, Jn, Yn, Y, Xn, Zn, Qn, $n, er, tr, nr, rr, ir, ar, or, sr, cr, lr, ur, dr, fr, pr, mr, hr, gr, _r, vr, yr, br, xr, Sr, Cr, wr, Tr, Er, Dr, Or, kr, Ar, jr, Mr, Nr, Pr, Fr, Ir, Lr, Rr, zr;
1649
1637
  function X(e, t, n) {
1650
- Hr(e, t), t.set(e, n);
1638
+ Br(e, t), t.set(e, n);
1651
1639
  }
1652
- function Hr(e, t) {
1640
+ function Br(e, t) {
1653
1641
  if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
1654
1642
  }
1655
1643
  function Z(e, t, n) {
1656
- return e.set(Ur(e, t), n), n;
1644
+ return e.set(Vr(e, t), n), n;
1657
1645
  }
1658
1646
  function Q(e, t) {
1659
- return e.get(Ur(e, t));
1647
+ return e.get(Vr(e, t));
1660
1648
  }
1661
- function Ur(e, t, n) {
1649
+ function Vr(e, t, n) {
1662
1650
  if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
1663
1651
  throw TypeError("Private element is not present on this object");
1664
1652
  }
1665
1653
  function $(e, t, n) {
1666
- return (t = Gr(t)) in e ? Object.defineProperty(e, t, {
1654
+ return (t = Ur(t)) in e ? Object.defineProperty(e, t, {
1667
1655
  value: n,
1668
1656
  enumerable: !0,
1669
1657
  configurable: !0,
1670
1658
  writable: !0
1671
1659
  }) : e[t] = n, e;
1672
1660
  }
1673
- function Wr(e, t, n, r, i, a) {
1661
+ function Hr(e, t, n, r, i, a) {
1674
1662
  function o(e, t, n) {
1675
1663
  return function(r, i) {
1676
1664
  return n && n(r), e[t].call(r, i);
@@ -1693,13 +1681,13 @@ function Wr(e, t, n, r, i, a) {
1693
1681
  n || Array.isArray(_) || (_ = [_]);
1694
1682
  var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
1695
1683
  d ? (f || p ? b = {
1696
- get: qr(function() {
1684
+ get: Gr(function() {
1697
1685
  return v(this);
1698
1686
  }, r, "get"),
1699
1687
  set: function(e) {
1700
1688
  t[4](this, e);
1701
1689
  }
1702
- } : b[S] = v, f || qr(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
1690
+ } : b[S] = v, f || Gr(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
1703
1691
  }
1704
1692
  for (var C = e, w = _.length - 1; w >= 0; w -= n ? 2 : 1) {
1705
1693
  var T = _[w], E = n ? _[w - 1] : void 0, D = {}, O = {
@@ -1759,7 +1747,7 @@ function Wr(e, t, n, r, i, a) {
1759
1747
  if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
1760
1748
  var f = Object.create(d ?? null), p = function(e, t, n, r) {
1761
1749
  var i, a, o = [], c = function(t) {
1762
- return Jr(t) === e;
1750
+ return Kr(t) === e;
1763
1751
  }, u = /* @__PURE__ */ new Map();
1764
1752
  function d(e) {
1765
1753
  e && o.push(s.bind(null, e));
@@ -1773,7 +1761,7 @@ function Wr(e, t, n, r, i, a) {
1773
1761
  if (!0 === x || x === 3 && m !== 4 || x === 4 && m !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
1774
1762
  u.set(b, !(m > 2) || m);
1775
1763
  }
1776
- l(v ? e : e.prototype, p, _, g ? "#" + h : Gr(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
1764
+ l(v ? e : e.prototype, p, _, g ? "#" + h : Ur(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
1777
1765
  }
1778
1766
  }
1779
1767
  return d(i), d(a), o;
@@ -1786,11 +1774,11 @@ function Wr(e, t, n, r, i, a) {
1786
1774
  }
1787
1775
  };
1788
1776
  }
1789
- function Gr(e) {
1790
- var t = Kr(e, "string");
1777
+ function Ur(e) {
1778
+ var t = Wr(e, "string");
1791
1779
  return typeof t == "symbol" ? t : t + "";
1792
1780
  }
1793
- function Kr(e, t) {
1781
+ function Wr(e, t) {
1794
1782
  if (typeof e != "object" || !e) return e;
1795
1783
  var n;
1796
1784
  if (typeof Symbol < "u" && (n = e[Symbol.toPrimitive]) !== void 0) {
@@ -1800,7 +1788,7 @@ function Kr(e, t) {
1800
1788
  }
1801
1789
  return (t === "string" ? String : Number)(e);
1802
1790
  }
1803
- function qr(e, t, n) {
1791
+ function Gr(e, t, n) {
1804
1792
  typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
1805
1793
  try {
1806
1794
  Object.defineProperty(e, "name", {
@@ -1810,23 +1798,23 @@ function qr(e, t, n) {
1810
1798
  } catch {}
1811
1799
  return e;
1812
1800
  }
1813
- function Jr(e) {
1801
+ function Kr(e) {
1814
1802
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
1815
1803
  return e;
1816
1804
  }
1817
- function Yr(e) {
1805
+ function qr(e) {
1818
1806
  return e;
1819
1807
  }
1820
- function Xr(e) {
1808
+ function Jr(e) {
1821
1809
  return e != null;
1822
1810
  }
1823
- rr = [h("solid-ui-access-control-modal")];
1824
- var Zr;
1825
- new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q = /*#__PURE__*/ new WeakMap(), J = /*#__PURE__*/ new WeakMap(), Hn = /*#__PURE__*/ new WeakMap(), Un = /*#__PURE__*/ new WeakMap(), Wn = /*#__PURE__*/ new WeakMap(), Gn = /*#__PURE__*/ new WeakMap(), Kn = /*#__PURE__*/ new WeakMap(), qn = /*#__PURE__*/ new WeakMap(), Jn = /*#__PURE__*/ new WeakMap(), Yn = /*#__PURE__*/ new WeakMap(), Xn = /*#__PURE__*/ new WeakMap(), Zn = /*#__PURE__*/ new WeakMap(), Y = /*#__PURE__*/ new WeakMap(), Qn = /*#__PURE__*/ new WeakMap(), $n = /*#__PURE__*/ new WeakMap(), er = /*#__PURE__*/ new WeakMap(), Vr = (ir = g({ attribute: !1 }), or = g({ attribute: !1 }), cr = y(), ur = y(), fr = y(), mr = y(), gr = y(), vr = y(), br = y(), Sr = y(), wr = y(), Er = y(), Or = y(), Ar = y(), Mr = y(), Pr = y(), Ir = y(), Rr = y(), "subjectUri"), Vn = class extends p {
1811
+ tr = [b("solid-ui-access-control-modal")];
1812
+ var Yr;
1813
+ new (Rr = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q = /*#__PURE__*/ new WeakMap(), J = /*#__PURE__*/ new WeakMap(), Bn = /*#__PURE__*/ new WeakMap(), Vn = /*#__PURE__*/ new WeakMap(), Hn = /*#__PURE__*/ new WeakMap(), Un = /*#__PURE__*/ new WeakMap(), Wn = /*#__PURE__*/ new WeakMap(), Gn = /*#__PURE__*/ new WeakMap(), Kn = /*#__PURE__*/ new WeakMap(), qn = /*#__PURE__*/ new WeakMap(), Jn = /*#__PURE__*/ new WeakMap(), Yn = /*#__PURE__*/ new WeakMap(), Y = /*#__PURE__*/ new WeakMap(), Xn = /*#__PURE__*/ new WeakMap(), Zn = /*#__PURE__*/ new WeakMap(), Qn = /*#__PURE__*/ new WeakMap(), zr = (nr = h({ attribute: !1 }), ir = h({ attribute: !1 }), or = v(), cr = v(), ur = v(), fr = v(), mr = v(), gr = v(), vr = v(), br = v(), Sr = v(), wr = v(), Er = v(), Or = v(), Ar = v(), Mr = v(), Pr = v(), Ir = v(), "subjectUri"), zn = class extends p {
1826
1814
  constructor(...e) {
1827
- super(...e), X(this, G, (tr(this), ar(this, void 0))), X(this, K, sr(this, void 0)), X(this, q, lr(this, "")), X(this, J, dr(this, "Viewer")), X(this, Hn, pr(this, "No Access")), X(this, Un, hr(this, "No Access")), X(this, Wn, _r(this, !1)), X(this, Gn, yr(this, [])), X(this, Kn, xr(this, [])), X(this, qn, Cr(this, [])), X(this, Jn, Tr(this, !0)), X(this, Yn, Dr(this)), X(this, Xn, kr(this, !1)), X(this, Zn, jr(this, "")), X(this, Y, Nr(this, !1)), X(this, Qn, Fr(this, "folder+contents")), X(this, $n, Lr(this)), X(this, er, zr(this, !1)), $(this, "accessGrantLabelRequestVersion", 0), $(this, "accessContextRequestVersion", 0), $(this, "accessContextSubjectUri", void 0);
1815
+ super(...e), X(this, G, ($n(this), rr(this, void 0))), X(this, K, ar(this, void 0)), X(this, q, sr(this, "")), X(this, J, lr(this, "Viewer")), X(this, Bn, dr(this, "No Access")), X(this, Vn, pr(this, "No Access")), X(this, Hn, hr(this, !1)), X(this, Un, _r(this, [])), X(this, Wn, yr(this, [])), X(this, Gn, xr(this, [])), X(this, Kn, Cr(this, !0)), X(this, qn, Tr(this)), X(this, Jn, Dr(this, !1)), X(this, Yn, kr(this, "")), X(this, Y, jr(this, !1)), X(this, Xn, Nr(this, "folder+contents")), X(this, Zn, Fr(this)), X(this, Qn, Lr(this, !1)), $(this, "accessGrantLabelRequestVersion", 0), $(this, "accessContextRequestVersion", 0), $(this, "accessContextSubjectUri", void 0);
1828
1816
  }
1829
- get [Vr]() {
1817
+ get [zr]() {
1830
1818
  return Q(G, this);
1831
1819
  }
1832
1820
  set subjectUri(e) {
@@ -1851,64 +1839,64 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
1851
1839
  Z(J, this, e);
1852
1840
  }
1853
1841
  get authenticatedAccessRoleValue() {
1854
- return Q(Hn, this);
1842
+ return Q(Bn, this);
1855
1843
  }
1856
1844
  set authenticatedAccessRoleValue(e) {
1857
- Z(Hn, this, e);
1845
+ Z(Bn, this, e);
1858
1846
  }
1859
1847
  get publicAccessRoleValue() {
1860
- return Q(Un, this);
1848
+ return Q(Vn, this);
1861
1849
  }
1862
1850
  set publicAccessRoleValue(e) {
1863
- Z(Un, this, e);
1851
+ Z(Vn, this, e);
1864
1852
  }
1865
1853
  get submitting() {
1866
- return Q(Wn, this);
1854
+ return Q(Hn, this);
1867
1855
  }
1868
1856
  set submitting(e) {
1869
- Z(Wn, this, e);
1857
+ Z(Hn, this, e);
1870
1858
  }
1871
1859
  get pendingAccessGrants() {
1872
- return Q(Gn, this);
1860
+ return Q(Un, this);
1873
1861
  }
1874
1862
  set pendingAccessGrants(e) {
1875
- Z(Gn, this, e);
1863
+ Z(Un, this, e);
1876
1864
  }
1877
1865
  get accessGrantDrafts() {
1878
- return Q(Kn, this);
1866
+ return Q(Wn, this);
1879
1867
  }
1880
1868
  set accessGrantDrafts(e) {
1881
- Z(Kn, this, e);
1869
+ Z(Wn, this, e);
1882
1870
  }
1883
1871
  get errors() {
1884
- return Q(qn, this);
1872
+ return Q(Gn, this);
1885
1873
  }
1886
1874
  set errors(e) {
1887
- Z(qn, this, e);
1875
+ Z(Gn, this, e);
1888
1876
  }
1889
1877
  get successfulChangesRefreshed() {
1890
- return Q(Jn, this);
1878
+ return Q(Kn, this);
1891
1879
  }
1892
1880
  set successfulChangesRefreshed(e) {
1893
- Z(Jn, this, e);
1881
+ Z(Kn, this, e);
1894
1882
  }
1895
1883
  get accessContext() {
1896
- return Q(Yn, this);
1884
+ return Q(qn, this);
1897
1885
  }
1898
1886
  set accessContext(e) {
1899
- Z(Yn, this, e);
1887
+ Z(qn, this, e);
1900
1888
  }
1901
1889
  get accessContextLoading() {
1902
- return Q(Xn, this);
1890
+ return Q(Jn, this);
1903
1891
  }
1904
1892
  set accessContextLoading(e) {
1905
- Z(Xn, this, e);
1893
+ Z(Jn, this, e);
1906
1894
  }
1907
1895
  get accessContextError() {
1908
- return Q(Zn, this);
1896
+ return Q(Yn, this);
1909
1897
  }
1910
1898
  set accessContextError(e) {
1911
- Z(Zn, this, e);
1899
+ Z(Yn, this, e);
1912
1900
  }
1913
1901
  get advancedSharingOpen() {
1914
1902
  return Q(Y, this);
@@ -1917,22 +1905,22 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
1917
1905
  Z(Y, this, e);
1918
1906
  }
1919
1907
  get containerScope() {
1920
- return Q(Qn, this);
1908
+ return Q(Xn, this);
1921
1909
  }
1922
1910
  set containerScope(e) {
1923
- Z(Qn, this, e);
1911
+ Z(Xn, this, e);
1924
1912
  }
1925
1913
  get containerScopeAnalysis() {
1926
- return Q($n, this);
1914
+ return Q(Zn, this);
1927
1915
  }
1928
1916
  set containerScopeAnalysis(e) {
1929
- Z($n, this, e);
1917
+ Z(Zn, this, e);
1930
1918
  }
1931
1919
  get protectedTarget() {
1932
- return Q(er, this);
1920
+ return Q(Qn, this);
1933
1921
  }
1934
1922
  set protectedTarget(e) {
1935
- Z(er, this, e);
1923
+ Z(Qn, this, e);
1936
1924
  }
1937
1925
  disconnectedCallback() {
1938
1926
  this.accessGrantLabelRequestVersion++, this.accessContextRequestVersion++, this.errors = [], super.disconnectedCallback();
@@ -1952,7 +1940,7 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
1952
1940
  willUpdate(e) {
1953
1941
  if (super.willUpdate(e), e.has("accessGrants")) {
1954
1942
  let e = this.getScopedAccessGrants();
1955
- this.accessGrantDrafts = Ft(e), this.authenticatedAccessRoleValue = Rt(e), this.publicAccessRoleValue = zt(e);
1943
+ this.accessGrantDrafts = Nt(e), this.authenticatedAccessRoleValue = It(e), this.publicAccessRoleValue = Lt(e);
1956
1944
  }
1957
1945
  }
1958
1946
  updated(e) {
@@ -1963,21 +1951,21 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
1963
1951
  }), e.has("accessContext") && !e.has("subjectUri") && this.refreshContainerScopeAnalysis();
1964
1952
  }
1965
1953
  refreshContainerScopeAnalysis() {
1966
- this.isContainer() && this.accessContext ? (this.containerScopeAnalysis = t(this.accessContext), this.containerScope = this.containerScopeAnalysis.primaryScope, this.refreshScopedAccessGrantDrafts()) : this.containerScopeAnalysis = void 0;
1954
+ this.isContainer() && this.accessContext ? (this.containerScopeAnalysis = a(this.accessContext), this.containerScope = this.containerScopeAnalysis.primaryScope, this.refreshScopedAccessGrantDrafts()) : this.containerScopeAnalysis = void 0;
1967
1955
  }
1968
1956
  async refreshAccessGrantLabels() {
1969
- let e = ++this.accessGrantLabelRequestVersion, t = this.accessGrants, n = this.subjectUri, r = this.getSelectedContainerScope(), i = this.getScopedAccessGrants(r);
1970
- if (!i.length) {
1957
+ let t = ++this.accessGrantLabelRequestVersion, n = this.accessGrants, r = this.subjectUri, i = this.getSelectedContainerScope(), a = this.getScopedAccessGrants(i);
1958
+ if (!a.length) {
1971
1959
  this.accessGrantDrafts = [];
1972
1960
  return;
1973
1961
  }
1974
- let s = await Promise.all(i.map(async (e) => (await Promise.all(e.agentGroup.map(async (e) => {
1962
+ let o = await Promise.all(a.map(async (t) => (await Promise.all(t.agentGroup.map(async (t) => {
1975
1963
  try {
1976
- await a.store.fetcher.load(o(e).doc());
1964
+ await c.store.fetcher.load(e(t).doc());
1977
1965
  } catch {}
1978
- })), Mt(Ot(e)))));
1979
- if (e === this.accessGrantLabelRequestVersion && this.accessGrants === t && this.subjectUri === n && this.getSelectedContainerScope() === r) {
1980
- let e = new Map(jt(i).map((e, t) => [e, s[t]]));
1966
+ })), At(Et(t)))));
1967
+ if (t === this.accessGrantLabelRequestVersion && this.accessGrants === n && this.subjectUri === r && this.getSelectedContainerScope() === i) {
1968
+ let e = new Map(kt(a).map((e, t) => [e, o[t]]));
1981
1969
  this.accessGrantDrafts = this.accessGrantDrafts.map((t) => ({
1982
1970
  ...t,
1983
1971
  subjectLabel: e.get(t.id) ?? t.subjectLabel
@@ -1985,8 +1973,8 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
1985
1973
  }
1986
1974
  }
1987
1975
  getDialogTitle() {
1988
- let e = this.subjectUri ? o(this.subjectUri) : void 0, t = e ? u(e).trim() : "";
1989
- return !t || t === "this resource" ? "Manage Access of \"this resource\"" : `Manage Access of "${t}"`;
1976
+ let t = this.subjectUri ? e(this.subjectUri) : void 0, n = t ? u(t).trim() : "";
1977
+ return !n || n === "this resource" ? "Manage Access of \"this resource\"" : `Manage Access of "${n}"`;
1990
1978
  }
1991
1979
  isContainer() {
1992
1980
  return !!(this.subjectUri && new URL(this.subjectUri).pathname.endsWith("/"));
@@ -1995,9 +1983,9 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
1995
1983
  let e = ++this.accessContextRequestVersion, t = this.subjectUri;
1996
1984
  if (this.accessContext = void 0, this.accessContextSubjectUri = void 0, this.accessContextError = "", this.accessContextLoading = !!t, !t) this.accessContextLoading = !1;
1997
1985
  else try {
1998
- let n = await a.acl.findEffectiveAcl(t);
1986
+ let n = await c.acl.findEffectiveAcl(t);
1999
1987
  if (e !== this.accessContextRequestVersion || this.subjectUri !== t) return;
2000
- this.accessContext = n, this.accessContextSubjectUri = t, this.accessContext?.inherited && !this.accessGrants?.length && (this.accessGrants = this.accessContext.authorizations), this.refreshContainerScopeAnalysis(), this.protectedTarget = a.acl.isProtectedResource(t), this.protectedTarget && this.refreshScopedAccessGrantDrafts();
1988
+ this.accessContext = n, this.accessContextSubjectUri = t, this.accessContext?.inherited && !this.accessGrants?.length && (this.accessGrants = this.accessContext.authorizations), this.refreshContainerScopeAnalysis(), this.protectedTarget = c.acl.isProtectedResource(t), this.protectedTarget && this.refreshScopedAccessGrantDrafts();
2001
1989
  } catch (n) {
2002
1990
  if (e !== this.accessContextRequestVersion || this.subjectUri !== t) return;
2003
1991
  this.accessContextError = n instanceof Error && n.message.trim() ? n.message : "Unable to load access settings for this resource.", d("Failed to load access control context", n);
@@ -2015,14 +2003,14 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
2015
2003
  await this.loadAccessContext();
2016
2004
  }
2017
2005
  renderSharingInformation() {
2018
- if (!this.accessContext) return b``;
2019
- let e = !this.accessContext.inherited, t = this.accessContext?.effectiveContainer, n = t ? u(o(t)).trim() : "", r = n && n !== t ? b`<strong>${n}</strong> (${t})` : b`<strong>${t ?? "the parent container"}</strong>`;
2020
- return b`
2006
+ if (!this.accessContext) return y``;
2007
+ let t = !this.accessContext.inherited, n = this.accessContext?.effectiveContainer, r = n ? u(e(n)).trim() : "", i = r && r !== n ? y`<strong>${r}</strong> (${n})` : y`<strong>${n ?? "the parent container"}</strong>`;
2008
+ return y`
2021
2009
  <div class="access-control-sharing-state-panel">
2022
- ${e ? b`
2010
+ ${t ? y`
2023
2011
  <div class="access-control-sharing-state-custom-row">
2024
2012
  <p>This resource has its own sharing settings.</p>
2025
- ${this.protectedTarget ? b`` : b`
2013
+ ${this.protectedTarget ? y`` : y`
2026
2014
  <solid-ui-button
2027
2015
  type="button"
2028
2016
  variant="tertiary"
@@ -2033,13 +2021,13 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
2033
2021
  </solid-ui-button>
2034
2022
  `}
2035
2023
  </div>
2036
- ` : t ? b`<p>This resource inherits sharing settings from ${r}.</p>` : b`<p>This resource inherits sharing settings, but no inherited default is available.</p>`}
2037
- ${this.protectedTarget ? b`<p class="access-control-sharing-state-protected-message">This is a protected storage resource. Its primary access-control settings cannot be reset here.</p>` : b``}
2024
+ ` : n ? y`<p>This resource inherits sharing settings from ${i}.</p>` : y`<p>This resource inherits sharing settings, but no inherited default is available.</p>`}
2025
+ ${this.protectedTarget ? y`<p class="access-control-sharing-state-protected-message">This is a protected storage resource. Its primary access-control settings cannot be reset here.</p>` : y``}
2038
2026
  </div>
2039
2027
  `;
2040
2028
  }
2041
2029
  renderSharingState() {
2042
- return !this.accessContext || !this.advancedSharingOpen ? b`` : b`
2030
+ return !this.accessContext || !this.advancedSharingOpen ? y`` : y`
2043
2031
  <section
2044
2032
  class="access-control-sharing-state"
2045
2033
  aria-labelledby="access-control-advanced-sharing-heading"
@@ -2056,7 +2044,7 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
2056
2044
  return this.isContainer() && this.containerScopeAnalysis?.mixed === !0;
2057
2045
  }
2058
2046
  renderAccessContextState() {
2059
- return this.accessContextLoading ? b`<p role="status">Loading access settings...</p>` : this.accessContextError ? b`
2047
+ return this.accessContextLoading ? y`<p role="status">Loading access settings...</p>` : this.accessContextError ? y`
2060
2048
  <solid-ui-error-state
2061
2049
  title="Could not load access settings"
2062
2050
  message=${this.accessContextError}
@@ -2065,29 +2053,29 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
2065
2053
  Retry
2066
2054
  </solid-ui-button>
2067
2055
  </solid-ui-error-state>
2068
- ` : this.accessContext ? b`` : b`<p role="status">Access settings are not ready yet.</p>`;
2056
+ ` : this.accessContext ? y`` : y`<p role="status">Access settings are not ready yet.</p>`;
2069
2057
  }
2070
2058
  renderMixedContainerWarning() {
2071
- return this.hasMixedContainerPolicy() ? b`
2059
+ return this.hasMixedContainerPolicy() ? y`
2072
2060
  <div class="access-control-mixed-policy-warning" role="alert">
2073
2061
  <strong>This container has different access settings for the folder and its contents.</strong>
2074
- <span>Changing this mixed policy is an advanced feature and will be available in the next release. Access changes are disabled for now.</span>
2062
+ <span>Changing this mixed policy is an advanced feature. You can still change access for the folder or its contents separately below.</span>
2075
2063
  </div>
2076
- ` : b``;
2064
+ ` : y``;
2077
2065
  }
2078
2066
  getScopedAccessGrants(e = this.getSelectedContainerScope()) {
2079
2067
  let t = this.accessGrants ?? [];
2080
- return !this.isContainer() || !this.subjectUri || this.protectedTarget ? t : s(this.subjectUri, t, e, this.accessContext?.inherited ?? !1);
2068
+ return !this.isContainer() || !this.subjectUri || this.protectedTarget ? t : n(this.subjectUri, t, e, this.accessContext?.inherited ?? !1);
2081
2069
  }
2082
2070
  refreshScopedAccessGrantDrafts() {
2083
2071
  let e = this.getScopedAccessGrants();
2084
- this.accessGrantDrafts = Ft(e), this.authenticatedAccessRoleValue = Rt(e), this.publicAccessRoleValue = zt(e);
2072
+ this.accessGrantDrafts = Nt(e), this.authenticatedAccessRoleValue = It(e), this.publicAccessRoleValue = Lt(e);
2085
2073
  }
2086
2074
  selectContainerScope(e) {
2087
2075
  this.containerScope = e, this.refreshScopedAccessGrantDrafts();
2088
2076
  }
2089
2077
  renderAdvancedSharing() {
2090
- return this.advancedSharingOpen ? b`
2078
+ return this.advancedSharingOpen ? y`
2091
2079
  <section
2092
2080
  id="access-control-advanced-sharing"
2093
2081
  class="access-control-advanced-sharing"
@@ -2101,7 +2089,7 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
2101
2089
  <span class="access-control-advanced-sharing-description-line">Choose which access settings to edit.</span>
2102
2090
  <span class="access-control-advanced-sharing-description-line">Save Changes applies your current edits only to that scope.</span>
2103
2091
  </p>
2104
- ${this.isContainer() ? b`
2092
+ ${this.isContainer() ? y`
2105
2093
  <button
2106
2094
  type="button"
2107
2095
  class="access-control-same-access-toggle"
@@ -2139,7 +2127,7 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
2139
2127
  Contents Only
2140
2128
  </solid-ui-button>
2141
2129
  </div>
2142
- ` : b``}
2130
+ ` : y``}
2143
2131
  <div class="access-control-advanced-sharing-actions">
2144
2132
  <solid-ui-button
2145
2133
  type="button"
@@ -2153,11 +2141,11 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
2153
2141
  </solid-ui-button>
2154
2142
  </div>
2155
2143
  </section>
2156
- ` : b``;
2144
+ ` : y``;
2157
2145
  }
2158
2146
  render() {
2159
2147
  let e = this.getDialogTitle();
2160
- return b`
2148
+ return y`
2161
2149
  <solid-ui-dialog title=${e}>
2162
2150
  <form @submit=${this.onSubmit}>
2163
2151
  <solid-ui-dialog-content>
@@ -2169,7 +2157,7 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
2169
2157
  .addAccessRoleValue=${this.addAccessRoleValue}
2170
2158
  .pendingAccessGrants=${this.pendingAccessGrants}
2171
2159
  .inputError=${this.inputError}
2172
- .asyncOptionsProvider=${In}
2160
+ .asyncOptionsProvider=${Pn}
2173
2161
  @target-input=${this.onPrincipalInput}
2174
2162
  @target-selected=${this.onPrincipalSelect}
2175
2163
  @role-changed=${this.onAddAccessRoleInput}
@@ -2177,7 +2165,7 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
2177
2165
  ></solid-ui-access-control-add-access>
2178
2166
  <solid-ui-access-control-shared-access
2179
2167
  .disabled=${!this.canMutate() || this.hasMixedContainerPolicy()}
2180
- .accessGrantViewModels=${It(this.accessGrantDrafts)}
2168
+ .accessGrantViewModels=${Pt(this.accessGrantDrafts)}
2181
2169
  @access-grant-role-changed=${this.onAccessGrantRoleInput}
2182
2170
  ></solid-ui-access-control-shared-access>
2183
2171
  <solid-ui-access-control-general-access
@@ -2236,8 +2224,8 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
2236
2224
  if (this.subjectUri && this.canMutate() && this.accessContext && !this.accessContext.inherited && !this.submitting && !this.hasMixedContainerPolicy()) {
2237
2225
  this.submitting = !0, this.errors = this.errors.filter((e) => e.action === "input");
2238
2226
  try {
2239
- await a.acl.resetToDefault(this.subjectUri), await this.loadAccessContext();
2240
- let e = await a.acl.findAccessGrants(this.subjectUri);
2227
+ await c.acl.resetToDefault(this.subjectUri), await this.loadAccessContext();
2228
+ let e = await c.acl.findAccessGrants(this.subjectUri);
2241
2229
  this.accessGrants = this.accessContext?.inherited ? this.accessContext.authorizations : e;
2242
2230
  } catch (e) {
2243
2231
  this.errors = [...this.errors, {
@@ -2253,19 +2241,19 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
2253
2241
  }
2254
2242
  async saveAccessChanges(e = "file") {
2255
2243
  if (this.submitting || !this.canMutate() || this.hasMixedContainerPolicy()) return;
2256
- let t = Lt(this.accessGrantDrafts), n = this.getGeneralAccessChanges();
2244
+ let t = Ft(this.accessGrantDrafts), n = this.getGeneralAccessChanges();
2257
2245
  if ((this.pendingAccessGrants.length || t.length || n.length) && this.subjectUri) {
2258
2246
  this.submitting = !0, this.errors = this.errors.filter((e) => e.action === "input"), this.successfulChangesRefreshed = !0;
2259
2247
  try {
2260
- let r = zn({
2248
+ let r = Ln({
2261
2249
  pendingAccessGrants: this.pendingAccessGrants,
2262
2250
  generalAccessChanges: n,
2263
2251
  changedAccessGrants: t
2264
- }), i = await Ln(this.subjectUri, r, { containerScope: e });
2252
+ }), i = await Fn(this.subjectUri, r, { containerScope: e });
2265
2253
  if (i.length) {
2266
2254
  this.errors = [...this.errors, ...i], this.principalInputValue = "", this.pendingAccessGrants = [];
2267
2255
  try {
2268
- this.accessGrants = await a.acl.findAccessGrants(this.subjectUri);
2256
+ this.accessGrants = await c.acl.findAccessGrants(this.subjectUri);
2269
2257
  } catch (e) {
2270
2258
  this.successfulChangesRefreshed = !1, this.errors = [...this.errors, {
2271
2259
  action: "save",
@@ -2298,16 +2286,16 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
2298
2286
  }
2299
2287
  getGeneralAccessChanges() {
2300
2288
  if (!this.subjectUri) return [];
2301
- let e = this.getScopedAccessGrants(), t = Rt(e), n = zt(e);
2302
- return [this.authenticatedAccessRoleValue === t ? void 0 : {
2303
- subject: l,
2289
+ let e = this.getScopedAccessGrants(), n = It(e), i = Lt(e);
2290
+ return [this.authenticatedAccessRoleValue === n ? void 0 : {
2291
+ subject: r,
2304
2292
  role: this.authenticatedAccessRoleValue,
2305
2293
  label: "Authenticated users"
2306
- }, this.publicAccessRoleValue === n ? void 0 : {
2307
- subject: r,
2294
+ }, this.publicAccessRoleValue === i ? void 0 : {
2295
+ subject: t,
2308
2296
  role: this.publicAccessRoleValue,
2309
2297
  label: "Public"
2310
- }].filter(Xr);
2298
+ }].filter(Jr);
2311
2299
  }
2312
2300
  onAddAccessRoleInput(e) {
2313
2301
  this.canMutate() && !this.hasMixedContainerPolicy() && (this.addAccessRoleValue = e.detail.role, this.pendingAccessGrants = this.pendingAccessGrants.map((t) => ({
@@ -2331,7 +2319,7 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
2331
2319
  this.canMutate() && !this.hasMixedContainerPolicy() && (this.pendingAccessGrants = this.pendingAccessGrants.filter((t, n) => n !== e.detail.index));
2332
2320
  }
2333
2321
  hasUnsavedChanges() {
2334
- return !!(this.pendingAccessGrants.length || this.principalInputValue.trim() || Lt(this.accessGrantDrafts).length || this.getGeneralAccessChanges().length);
2322
+ return !!(this.pendingAccessGrants.length || this.principalInputValue.trim() || Ft(this.accessGrantDrafts).length || this.getGeneralAccessChanges().length);
2335
2323
  }
2336
2324
  async commitPrincipalFromInput() {
2337
2325
  if (!this.canMutate() || this.hasMixedContainerPolicy()) return !1;
@@ -2359,7 +2347,7 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
2359
2347
  }
2360
2348
  async createPendingAccessGrant(e, t = this.addAccessRoleValue, n, r) {
2361
2349
  try {
2362
- let i = e.trim(), a = await An(i, n);
2350
+ let i = e.trim(), a = await On(i, n);
2363
2351
  return a ? { grant: {
2364
2352
  subjectType: a.subjectType,
2365
2353
  subjectValue: a.subjectValue,
@@ -2386,104 +2374,104 @@ new (Br = (G = /*#__PURE__*/ new WeakMap(), K = /*#__PURE__*/ new WeakMap(), q =
2386
2374
  for (let n of e) t.set(`${n.subjectType}:${n.subjectValue}`, n);
2387
2375
  return [...t.values()];
2388
2376
  }
2389
- }, {e: [ar, sr, lr, dr, pr, hr, _r, yr, xr, Cr, Tr, Dr, kr, jr, Nr, Fr, Lr, zr, tr], c: [Zr, nr]} = Wr(Vn, [
2377
+ }, {e: [rr, ar, sr, lr, dr, pr, hr, _r, yr, xr, Cr, Tr, Dr, kr, jr, Nr, Fr, Lr, $n], c: [Yr, er]} = Hr(zn, [
2390
2378
  [
2391
- ir,
2379
+ nr,
2392
2380
  1,
2393
2381
  "subjectUri"
2394
2382
  ],
2395
2383
  [
2396
- or,
2384
+ ir,
2397
2385
  1,
2398
2386
  "accessGrants"
2399
2387
  ],
2400
2388
  [
2401
- cr,
2389
+ or,
2402
2390
  1,
2403
2391
  "principalInputValue"
2404
2392
  ],
2405
2393
  [
2406
- ur,
2394
+ cr,
2407
2395
  1,
2408
2396
  "addAccessRoleValue"
2409
2397
  ],
2410
2398
  [
2411
- fr,
2399
+ ur,
2412
2400
  1,
2413
2401
  "authenticatedAccessRoleValue"
2414
2402
  ],
2415
2403
  [
2416
- mr,
2404
+ fr,
2417
2405
  1,
2418
2406
  "publicAccessRoleValue"
2419
2407
  ],
2420
2408
  [
2421
- gr,
2409
+ mr,
2422
2410
  1,
2423
2411
  "submitting"
2424
2412
  ],
2425
2413
  [
2426
- vr,
2414
+ gr,
2427
2415
  1,
2428
2416
  "pendingAccessGrants"
2429
2417
  ],
2430
2418
  [
2431
- br,
2419
+ vr,
2432
2420
  1,
2433
2421
  "accessGrantDrafts"
2434
2422
  ],
2435
2423
  [
2436
- Sr,
2424
+ br,
2437
2425
  1,
2438
2426
  "errors"
2439
2427
  ],
2440
2428
  [
2441
- wr,
2429
+ Sr,
2442
2430
  1,
2443
2431
  "successfulChangesRefreshed"
2444
2432
  ],
2445
2433
  [
2446
- Er,
2434
+ wr,
2447
2435
  1,
2448
2436
  "accessContext"
2449
2437
  ],
2450
2438
  [
2451
- Or,
2439
+ Er,
2452
2440
  1,
2453
2441
  "accessContextLoading"
2454
2442
  ],
2455
2443
  [
2456
- Ar,
2444
+ Or,
2457
2445
  1,
2458
2446
  "accessContextError"
2459
2447
  ],
2460
2448
  [
2461
- Mr,
2449
+ Ar,
2462
2450
  1,
2463
2451
  "advancedSharingOpen"
2464
2452
  ],
2465
2453
  [
2466
- Pr,
2454
+ Mr,
2467
2455
  1,
2468
2456
  "containerScope"
2469
2457
  ],
2470
2458
  [
2471
- Ir,
2459
+ Pr,
2472
2460
  1,
2473
2461
  "containerScopeAnalysis"
2474
2462
  ],
2475
2463
  [
2476
- Rr,
2464
+ Ir,
2477
2465
  1,
2478
2466
  "protectedTarget"
2479
2467
  ]
2480
- ], rr, 0, void 0, p), Vn), Bn = class extends Yr {
2468
+ ], tr, 0, void 0, p), zn), Rn = class extends qr {
2481
2469
  constructor() {
2482
- super(Zr), $(this, "styles", Dt), nr();
2470
+ super(Yr), $(this, "styles", Tt), er();
2483
2471
  }
2484
- }, $(Bn, Br, void 0), Bn)();
2472
+ }, $(Rn, Rr, void 0), Rn)();
2485
2473
  // src/components/access-control-modal/index.ts
2486
- var Qr = Zr;
2487
- export { Zr as n, Qr as t };
2474
+ var Xr = Yr;
2475
+ export { Yr as n, Xr as t };
2488
2476
 
2489
- //# sourceMappingURL=access-control-modal-Dcg6-f4V.js.map
2477
+ //# sourceMappingURL=access-control-modal-CWH98HX3.js.map