solid-panes 5.0.0 → 5.1.0-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (408) hide show
  1. package/README.md +67 -2
  2. package/dist/RDFXMLPane2.cjs.js.map +1 -1
  3. package/dist/_virtual/~icons/lucide/cake.cjs.js +2 -0
  4. package/dist/_virtual/~icons/lucide/cake.cjs.js.map +1 -0
  5. package/dist/_virtual/~icons/lucide/cake.esm.js +11 -0
  6. package/dist/_virtual/~icons/lucide/cake.esm.js.map +1 -0
  7. package/dist/_virtual/~icons/lucide/camera.cjs.js +2 -0
  8. package/dist/_virtual/~icons/lucide/camera.cjs.js.map +1 -0
  9. package/dist/_virtual/~icons/lucide/camera.esm.js +11 -0
  10. package/dist/_virtual/~icons/lucide/camera.esm.js.map +1 -0
  11. package/dist/_virtual/~icons/lucide/circle-user-round.cjs.js +2 -0
  12. package/dist/_virtual/~icons/lucide/circle-user-round.cjs.js.map +1 -0
  13. package/dist/_virtual/~icons/lucide/circle-user-round.esm.js +11 -0
  14. package/dist/_virtual/~icons/lucide/circle-user-round.esm.js.map +1 -0
  15. package/dist/_virtual/~icons/lucide/mail.cjs.js +2 -0
  16. package/dist/_virtual/~icons/lucide/mail.cjs.js.map +1 -0
  17. package/dist/_virtual/~icons/lucide/mail.esm.js +11 -0
  18. package/dist/_virtual/~icons/lucide/mail.esm.js.map +1 -0
  19. package/dist/_virtual/~icons/lucide/map-pin.cjs.js +2 -0
  20. package/dist/_virtual/~icons/lucide/map-pin.cjs.js.map +1 -0
  21. package/dist/_virtual/~icons/lucide/map-pin.esm.js +11 -0
  22. package/dist/_virtual/~icons/lucide/map-pin.esm.js.map +1 -0
  23. package/dist/_virtual/~icons/lucide/phone.cjs.js +2 -0
  24. package/dist/_virtual/~icons/lucide/phone.cjs.js.map +1 -0
  25. package/dist/_virtual/~icons/lucide/phone.esm.js +11 -0
  26. package/dist/_virtual/~icons/lucide/phone.esm.js.map +1 -0
  27. package/dist/_virtual/~icons/lucide/user-round-plus.cjs.js +2 -0
  28. package/dist/_virtual/~icons/lucide/user-round-plus.cjs.js.map +1 -0
  29. package/dist/_virtual/~icons/lucide/user-round-plus.esm.js +11 -0
  30. package/dist/_virtual/~icons/lucide/user-round-plus.esm.js.map +1 -0
  31. package/dist/_virtual/~icons/lucide/x.cjs.js +2 -0
  32. package/dist/_virtual/~icons/lucide/x.cjs.js.map +1 -0
  33. package/dist/_virtual/~icons/lucide/x.esm.js +11 -0
  34. package/dist/_virtual/~icons/lucide/x.esm.js.map +1 -0
  35. package/dist/audio/audioPane.cjs.js +1 -1
  36. package/dist/audio/audioPane.cjs.js.map +1 -1
  37. package/dist/audio/audioPane.esm.js +1 -5
  38. package/dist/audio/audioPane.esm.js.map +1 -1
  39. package/dist/classInstancePane.cjs.js.map +1 -1
  40. package/dist/components/editor-card/EditorCard.cjs.js +1 -1
  41. package/dist/components/editor-card/EditorCard.cjs.js.map +1 -1
  42. package/dist/components/editor-card/EditorCard.esm.js +4 -7
  43. package/dist/components/editor-card/EditorCard.esm.js.map +1 -1
  44. package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js +1 -1
  45. package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js.map +1 -1
  46. package/dist/components/file-explorer-header/FileExplorerHeader.esm.js +2 -2
  47. package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js +1 -1
  48. package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js.map +1 -1
  49. package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js +2 -2
  50. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js +1 -1
  51. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js.map +1 -1
  52. package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js +2 -2
  53. package/dist/components/file-explorer-header/FileExplorerProvider.cjs.js +5 -5
  54. package/dist/components/file-explorer-header/FileExplorerProvider.cjs.js.map +1 -1
  55. package/dist/components/file-explorer-header/FileExplorerProvider.d.ts.map +1 -1
  56. package/dist/components/file-explorer-header/FileExplorerProvider.esm.js +97 -96
  57. package/dist/components/file-explorer-header/FileExplorerProvider.esm.js.map +1 -1
  58. package/dist/components/header/Header.cjs.js +1 -1
  59. package/dist/components/header/Header.cjs.js.map +1 -1
  60. package/dist/components/header/Header.esm.js +2 -2
  61. package/dist/components/header/Header.styles.cjs.js +1 -1
  62. package/dist/components/header/Header.styles.cjs.js.map +1 -1
  63. package/dist/components/header/Header.styles.esm.js +1 -1
  64. package/dist/components/header/Header.styles.esm.js.map +1 -1
  65. package/dist/components/navbar/Navbar.cjs.js +1 -1
  66. package/dist/components/navbar/Navbar.cjs.js.map +1 -1
  67. package/dist/components/navbar/Navbar.d.ts +2 -0
  68. package/dist/components/navbar/Navbar.d.ts.map +1 -1
  69. package/dist/components/navbar/Navbar.esm.js +2 -2
  70. package/dist/components/navbar/Navbar.esm.js.map +1 -1
  71. package/dist/components/navbar/Navbar.styles.cjs.js +1 -1
  72. package/dist/components/navbar/Navbar.styles.cjs.js.map +1 -1
  73. package/dist/components/navbar/Navbar.styles.esm.js +1 -1
  74. package/dist/components/navbar/Navbar.styles.esm.js.map +1 -1
  75. package/dist/components/profile-heading/ProfileHeading.cjs.js +95 -0
  76. package/dist/components/profile-heading/ProfileHeading.cjs.js.map +1 -0
  77. package/dist/components/profile-heading/ProfileHeading.d.ts +45 -0
  78. package/dist/components/profile-heading/ProfileHeading.d.ts.map +1 -0
  79. package/dist/components/profile-heading/ProfileHeading.esm.js +480 -0
  80. package/dist/components/profile-heading/ProfileHeading.esm.js.map +1 -0
  81. package/dist/components/profile-heading/ProfileHeading.styles.cjs.js +2 -0
  82. package/dist/components/profile-heading/ProfileHeading.styles.cjs.js.map +1 -0
  83. package/dist/components/profile-heading/ProfileHeading.styles.esm.js +7 -0
  84. package/dist/components/profile-heading/ProfileHeading.styles.esm.js.map +1 -0
  85. package/dist/components/profile-heading/editor/index.d.ts +3 -0
  86. package/dist/components/profile-heading/editor/index.d.ts.map +1 -0
  87. package/dist/components/profile-heading/editor/sections/contactInfo/types.d.ts +44 -0
  88. package/dist/components/profile-heading/editor/sections/contactInfo/types.d.ts.map +1 -0
  89. package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.cjs.js +297 -0
  90. package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.cjs.js.map +1 -0
  91. package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.d.ts +5 -0
  92. package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.d.ts.map +1 -0
  93. package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.esm.js +642 -0
  94. package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.esm.js.map +1 -0
  95. package/dist/components/profile-heading/editor/sections/heading/dateHelpers.cjs.js +2 -0
  96. package/dist/components/profile-heading/editor/sections/heading/dateHelpers.cjs.js.map +1 -0
  97. package/dist/components/profile-heading/editor/sections/heading/dateHelpers.d.ts +4 -0
  98. package/dist/components/profile-heading/editor/sections/heading/dateHelpers.d.ts.map +1 -0
  99. package/dist/components/profile-heading/editor/sections/heading/dateHelpers.esm.js +16 -0
  100. package/dist/components/profile-heading/editor/sections/heading/dateHelpers.esm.js.map +1 -0
  101. package/dist/components/profile-heading/editor/sections/heading/imageHelpers.cjs.js +2 -0
  102. package/dist/components/profile-heading/editor/sections/heading/imageHelpers.cjs.js.map +1 -0
  103. package/dist/components/profile-heading/editor/sections/heading/imageHelpers.d.ts +5 -0
  104. package/dist/components/profile-heading/editor/sections/heading/imageHelpers.d.ts.map +1 -0
  105. package/dist/components/profile-heading/editor/sections/heading/imageHelpers.esm.js +76 -0
  106. package/dist/components/profile-heading/editor/sections/heading/imageHelpers.esm.js.map +1 -0
  107. package/dist/components/profile-heading/editor/sections/heading/imagePreview.cjs.js +19 -0
  108. package/dist/components/profile-heading/editor/sections/heading/imagePreview.cjs.js.map +1 -0
  109. package/dist/components/profile-heading/editor/sections/heading/imagePreview.d.ts +2 -0
  110. package/dist/components/profile-heading/editor/sections/heading/imagePreview.d.ts.map +1 -0
  111. package/dist/components/profile-heading/editor/sections/heading/imagePreview.esm.js +28 -0
  112. package/dist/components/profile-heading/editor/sections/heading/imagePreview.esm.js.map +1 -0
  113. package/dist/components/profile-heading/editor/sections/heading/mutations.cjs.js +2 -0
  114. package/dist/components/profile-heading/editor/sections/heading/mutations.cjs.js.map +1 -0
  115. package/dist/components/profile-heading/editor/sections/heading/mutations.d.ts +4 -0
  116. package/dist/components/profile-heading/editor/sections/heading/mutations.d.ts.map +1 -0
  117. package/dist/components/profile-heading/editor/sections/heading/mutations.esm.js +151 -0
  118. package/dist/components/profile-heading/editor/sections/heading/mutations.esm.js.map +1 -0
  119. package/dist/components/profile-heading/editor/sections/heading/types.d.ts +34 -0
  120. package/dist/components/profile-heading/editor/sections/heading/types.d.ts.map +1 -0
  121. package/dist/components/profile-heading/editor/sections/shared/contactTypeUtils.cjs.js +2 -0
  122. package/dist/components/profile-heading/editor/sections/shared/contactTypeUtils.cjs.js.map +1 -0
  123. package/dist/components/profile-heading/editor/sections/shared/contactTypeUtils.d.ts +7 -0
  124. package/dist/components/profile-heading/editor/sections/shared/contactTypeUtils.d.ts.map +1 -0
  125. package/dist/components/profile-heading/editor/sections/shared/contactTypeUtils.esm.js +20 -0
  126. package/dist/components/profile-heading/editor/sections/shared/contactTypeUtils.esm.js.map +1 -0
  127. package/dist/components/profile-heading/editor/sections/shared/idNodeFactory.cjs.js +2 -0
  128. package/dist/components/profile-heading/editor/sections/shared/idNodeFactory.cjs.js.map +1 -0
  129. package/dist/components/profile-heading/editor/sections/shared/idNodeFactory.d.ts +3 -0
  130. package/dist/components/profile-heading/editor/sections/shared/idNodeFactory.d.ts.map +1 -0
  131. package/dist/components/profile-heading/editor/sections/shared/idNodeFactory.esm.js +11 -0
  132. package/dist/components/profile-heading/editor/sections/shared/idNodeFactory.esm.js.map +1 -0
  133. package/dist/components/profile-heading/editor/sections/shared/phoneCountries.cjs.js +2 -0
  134. package/dist/components/profile-heading/editor/sections/shared/phoneCountries.cjs.js.map +1 -0
  135. package/dist/components/profile-heading/editor/sections/shared/phoneCountries.d.ts +20 -0
  136. package/dist/components/profile-heading/editor/sections/shared/phoneCountries.d.ts.map +1 -0
  137. package/dist/components/profile-heading/editor/sections/shared/phoneCountries.esm.js +1291 -0
  138. package/dist/components/profile-heading/editor/sections/shared/phoneCountries.esm.js.map +1 -0
  139. package/dist/components/profile-heading/editor/sections/shared/rdfMutationHelpers.cjs.js +2 -0
  140. package/dist/components/profile-heading/editor/sections/shared/rdfMutationHelpers.cjs.js.map +1 -0
  141. package/dist/components/profile-heading/editor/sections/shared/rdfMutationHelpers.d.ts +45 -0
  142. package/dist/components/profile-heading/editor/sections/shared/rdfMutationHelpers.d.ts.map +1 -0
  143. package/dist/components/profile-heading/editor/sections/shared/rdfMutationHelpers.esm.js +211 -0
  144. package/dist/components/profile-heading/editor/sections/shared/rdfMutationHelpers.esm.js.map +1 -0
  145. package/dist/components/profile-heading/editor/sections/shared/rowState.cjs.js +2 -0
  146. package/dist/components/profile-heading/editor/sections/shared/rowState.cjs.js.map +1 -0
  147. package/dist/components/profile-heading/editor/sections/shared/rowState.d.ts +21 -0
  148. package/dist/components/profile-heading/editor/sections/shared/rowState.d.ts.map +1 -0
  149. package/dist/components/profile-heading/editor/sections/shared/rowState.esm.js +18 -0
  150. package/dist/components/profile-heading/editor/sections/shared/rowState.esm.js.map +1 -0
  151. package/dist/components/profile-heading/editor/sections/shared/sanitizeUtils.cjs.js +2 -0
  152. package/dist/components/profile-heading/editor/sections/shared/sanitizeUtils.cjs.js.map +1 -0
  153. package/dist/components/profile-heading/editor/sections/shared/sanitizeUtils.d.ts +5 -0
  154. package/dist/components/profile-heading/editor/sections/shared/sanitizeUtils.d.ts.map +1 -0
  155. package/dist/components/profile-heading/editor/sections/shared/sanitizeUtils.esm.js +18 -0
  156. package/dist/components/profile-heading/editor/sections/shared/sanitizeUtils.esm.js.map +1 -0
  157. package/dist/components/profile-heading/editor/sections/shared/types.d.ts +31 -0
  158. package/dist/components/profile-heading/editor/sections/shared/types.d.ts.map +1 -0
  159. package/dist/components/profile-heading/editor/textUtils.cjs.js +2 -0
  160. package/dist/components/profile-heading/editor/textUtils.cjs.js.map +1 -0
  161. package/dist/components/profile-heading/editor/textUtils.d.ts +6 -0
  162. package/dist/components/profile-heading/editor/textUtils.d.ts.map +1 -0
  163. package/dist/components/profile-heading/editor/textUtils.esm.js +26 -0
  164. package/dist/components/profile-heading/editor/textUtils.esm.js.map +1 -0
  165. package/dist/components/profile-heading/editor/texts/buttonTexts.d.ts +9 -0
  166. package/dist/components/profile-heading/editor/texts/buttonTexts.d.ts.map +1 -0
  167. package/dist/components/profile-heading/editor/texts/dialogTexts.cjs.js +2 -0
  168. package/dist/components/profile-heading/editor/texts/dialogTexts.cjs.js.map +1 -0
  169. package/dist/components/profile-heading/editor/texts/dialogTexts.d.ts +14 -0
  170. package/dist/components/profile-heading/editor/texts/dialogTexts.d.ts.map +1 -0
  171. package/dist/components/profile-heading/editor/texts/dialogTexts.esm.js +6 -0
  172. package/dist/components/profile-heading/editor/texts/dialogTexts.esm.js.map +1 -0
  173. package/dist/components/profile-heading/editor/texts/messageTexts.cjs.js +2 -0
  174. package/dist/components/profile-heading/editor/texts/messageTexts.cjs.js.map +1 -0
  175. package/dist/components/profile-heading/editor/texts/messageTexts.d.ts +42 -0
  176. package/dist/components/profile-heading/editor/texts/messageTexts.d.ts.map +1 -0
  177. package/dist/components/profile-heading/editor/texts/messageTexts.esm.js +6 -0
  178. package/dist/components/profile-heading/editor/texts/messageTexts.esm.js.map +1 -0
  179. package/dist/components/profile-heading/editor/texts/profileTexts.d.ts +14 -0
  180. package/dist/components/profile-heading/editor/texts/profileTexts.d.ts.map +1 -0
  181. package/dist/components/profile-heading/editor/texts/qrCodeTexts.d.ts +2 -0
  182. package/dist/components/profile-heading/editor/texts/qrCodeTexts.d.ts.map +1 -0
  183. package/dist/components/profile-heading/editor/texts.d.ts +6 -0
  184. package/dist/components/profile-heading/editor/texts.d.ts.map +1 -0
  185. package/dist/components/profile-heading/editor/ui/dialog.d.ts +41 -0
  186. package/dist/components/profile-heading/editor/ui/dialog.d.ts.map +1 -0
  187. package/dist/components/profile-heading/editor/ui/dialog2.cjs.js +17 -0
  188. package/dist/components/profile-heading/editor/ui/dialog2.cjs.js.map +1 -0
  189. package/dist/components/profile-heading/editor/ui/dialog2.esm.js +263 -0
  190. package/dist/components/profile-heading/editor/ui/dialog2.esm.js.map +1 -0
  191. package/dist/components/profile-heading/editor/ui/spinner.cjs.js +5 -0
  192. package/dist/components/profile-heading/editor/ui/spinner.cjs.js.map +1 -0
  193. package/dist/components/profile-heading/editor/ui/spinner.d.ts +3 -0
  194. package/dist/components/profile-heading/editor/ui/spinner.d.ts.map +1 -0
  195. package/dist/components/profile-heading/editor/ui/spinner.esm.js +12 -0
  196. package/dist/components/profile-heading/editor/ui/spinner.esm.js.map +1 -0
  197. package/dist/components/profile-heading/editor/utils/errorDisplay.cjs.js +2 -0
  198. package/dist/components/profile-heading/editor/utils/errorDisplay.cjs.js.map +1 -0
  199. package/dist/components/profile-heading/editor/utils/errorDisplay.d.ts +2 -0
  200. package/dist/components/profile-heading/editor/utils/errorDisplay.d.ts.map +1 -0
  201. package/dist/components/profile-heading/editor/utils/errorDisplay.esm.js +18 -0
  202. package/dist/components/profile-heading/editor/utils/errorDisplay.esm.js.map +1 -0
  203. package/dist/components/profile-heading/friendActions.cjs.js +2 -0
  204. package/dist/components/profile-heading/friendActions.cjs.js.map +1 -0
  205. package/dist/components/profile-heading/friendActions.d.ts +11 -0
  206. package/dist/components/profile-heading/friendActions.d.ts.map +1 -0
  207. package/dist/components/profile-heading/friendActions.esm.js +32 -0
  208. package/dist/components/profile-heading/friendActions.esm.js.map +1 -0
  209. package/dist/components/profile-heading/index.cjs.js +1 -0
  210. package/dist/components/profile-heading/index.d.ts +5 -0
  211. package/dist/components/profile-heading/index.d.ts.map +1 -0
  212. package/dist/components/profile-heading/index.esm.js +1 -0
  213. package/dist/components/profile-heading/profileHeadingData.cjs.js +2 -0
  214. package/dist/components/profile-heading/profileHeadingData.cjs.js.map +1 -0
  215. package/dist/components/profile-heading/profileHeadingData.d.ts +6 -0
  216. package/dist/components/profile-heading/profileHeadingData.d.ts.map +1 -0
  217. package/dist/components/profile-heading/profileHeadingData.esm.js +81 -0
  218. package/dist/components/profile-heading/profileHeadingData.esm.js.map +1 -0
  219. package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js +1 -1
  220. package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js.map +1 -1
  221. package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js +2 -2
  222. package/dist/dashboard/basicPreferences.cjs.js.map +1 -1
  223. package/dist/dashboard/dashboardPane.cjs.js.map +1 -1
  224. package/dist/dashboard/homepage.cjs.js.map +1 -1
  225. package/dist/dataContentPane2.cjs.js.map +1 -1
  226. package/dist/defaultPane2.cjs.js.map +1 -1
  227. package/dist/dokieli/dokieliPane.cjs.js.map +1 -1
  228. package/dist/form/pane.cjs.js.map +1 -1
  229. package/dist/home/homePane.cjs.js.map +1 -1
  230. package/dist/humanReadablePane2.cjs.js.map +1 -1
  231. package/dist/icons/folder.cjs.js.map +1 -1
  232. package/dist/icons/friends.cjs.js.map +1 -1
  233. package/dist/icons/person.cjs.js.map +1 -1
  234. package/dist/imagePane2.cjs.js.map +1 -1
  235. package/dist/index.cjs.js +1 -1
  236. package/dist/index.cjs.js.map +1 -1
  237. package/dist/index.d.ts +2 -1
  238. package/dist/index.d.ts.map +1 -1
  239. package/dist/index.esm.js +15 -14
  240. package/dist/index.esm.js.map +1 -1
  241. package/dist/internal/internalPane2.cjs.js +1 -1
  242. package/dist/internal/internalPane2.cjs.js.map +1 -1
  243. package/dist/internal/internalPane2.esm.js +2 -5
  244. package/dist/internal/internalPane2.esm.js.map +1 -1
  245. package/dist/mainPage/header.cjs.js +1 -1
  246. package/dist/mainPage/header.cjs.js.map +1 -1
  247. package/dist/mainPage/header.d.ts +2 -2
  248. package/dist/mainPage/header.d.ts.map +1 -1
  249. package/dist/mainPage/header.esm.js +48 -44
  250. package/dist/mainPage/header.esm.js.map +1 -1
  251. package/dist/mainPage/index.cjs.js +1 -1
  252. package/dist/mainPage/index.cjs.js.map +1 -1
  253. package/dist/mainPage/index.d.ts.map +1 -1
  254. package/dist/mainPage/index.esm.js +27 -21
  255. package/dist/mainPage/index.esm.js.map +1 -1
  256. package/dist/mainPage/navbar.cjs.js +1 -1
  257. package/dist/mainPage/navbar.cjs.js.map +1 -1
  258. package/dist/mainPage/navbar.d.ts +3 -2
  259. package/dist/mainPage/navbar.d.ts.map +1 -1
  260. package/dist/mainPage/navbar.esm.js +77 -42
  261. package/dist/mainPage/navbar.esm.js.map +1 -1
  262. package/dist/mainPage/navigation.cjs.js +2 -0
  263. package/dist/mainPage/navigation.cjs.js.map +1 -0
  264. package/dist/mainPage/navigation.d.ts +6 -0
  265. package/dist/mainPage/navigation.d.ts.map +1 -0
  266. package/dist/mainPage/navigation.esm.js +22 -0
  267. package/dist/mainPage/navigation.esm.js.map +1 -0
  268. package/dist/mainPage/profileHeading.d.ts +5 -0
  269. package/dist/mainPage/profileHeading.d.ts.map +1 -0
  270. package/dist/mainPage/profileHeading2.cjs.js +2 -0
  271. package/dist/mainPage/profileHeading2.cjs.js.map +1 -0
  272. package/dist/mainPage/profileHeading2.esm.js +158 -0
  273. package/dist/mainPage/profileHeading2.esm.js.map +1 -0
  274. package/dist/n3Pane2.cjs.js.map +1 -1
  275. package/dist/navigation/browserEvents.cjs.js +2 -0
  276. package/dist/navigation/browserEvents.cjs.js.map +1 -0
  277. package/dist/navigation/browserEvents.d.ts +15 -0
  278. package/dist/navigation/browserEvents.d.ts.map +1 -0
  279. package/dist/navigation/browserEvents.esm.js +32 -0
  280. package/dist/navigation/browserEvents.esm.js.map +1 -0
  281. package/dist/navigation/chrome.cjs.js +2 -0
  282. package/dist/navigation/chrome.cjs.js.map +1 -0
  283. package/dist/navigation/chrome.d.ts +69 -0
  284. package/dist/navigation/chrome.d.ts.map +1 -0
  285. package/dist/navigation/chrome.esm.js +43 -0
  286. package/dist/navigation/chrome.esm.js.map +1 -0
  287. package/dist/navigation/controller.cjs.js +2 -0
  288. package/dist/navigation/controller.cjs.js.map +1 -0
  289. package/dist/navigation/controller.d.ts +51 -0
  290. package/dist/navigation/controller.d.ts.map +1 -0
  291. package/dist/navigation/controller.esm.js +45 -0
  292. package/dist/navigation/controller.esm.js.map +1 -0
  293. package/dist/navigation/events.cjs.js +2 -0
  294. package/dist/navigation/events.cjs.js.map +1 -0
  295. package/dist/navigation/events.d.ts +17 -0
  296. package/dist/navigation/events.d.ts.map +1 -0
  297. package/dist/navigation/events.esm.js +18 -0
  298. package/dist/navigation/events.esm.js.map +1 -0
  299. package/dist/navigation/navbarVisibility.cjs.js +2 -0
  300. package/dist/navigation/navbarVisibility.cjs.js.map +1 -0
  301. package/dist/navigation/navbarVisibility.d.ts +5 -0
  302. package/dist/navigation/navbarVisibility.d.ts.map +1 -0
  303. package/dist/navigation/navbarVisibility.esm.js +26 -0
  304. package/dist/navigation/navbarVisibility.esm.js.map +1 -0
  305. package/dist/navigation/options.cjs.js +2 -0
  306. package/dist/navigation/options.cjs.js.map +1 -0
  307. package/dist/navigation/options.d.ts +16 -0
  308. package/dist/navigation/options.d.ts.map +1 -0
  309. package/dist/navigation/options.esm.js +8 -0
  310. package/dist/navigation/options.esm.js.map +1 -0
  311. package/dist/navigation/podContext.cjs.js +2 -0
  312. package/dist/navigation/podContext.cjs.js.map +1 -0
  313. package/dist/navigation/podContext.d.ts +21 -0
  314. package/dist/navigation/podContext.d.ts.map +1 -0
  315. package/dist/navigation/podContext.esm.js +62 -0
  316. package/dist/navigation/podContext.esm.js.map +1 -0
  317. package/dist/navigation/state.cjs.js +2 -0
  318. package/dist/navigation/state.cjs.js.map +1 -0
  319. package/dist/navigation/state.d.ts +40 -0
  320. package/dist/navigation/state.d.ts.map +1 -0
  321. package/dist/navigation/state.esm.js +41 -0
  322. package/dist/navigation/state.esm.js.map +1 -0
  323. package/dist/outline/context.cjs.js.map +1 -1
  324. package/dist/outline/manager2.cjs.js +1 -1
  325. package/dist/outline/manager2.cjs.js.map +1 -1
  326. package/dist/outline/manager2.esm.js +387 -353
  327. package/dist/outline/manager2.esm.js.map +1 -1
  328. package/dist/outline/outlineIcons.cjs.js.map +1 -1
  329. package/dist/outline/propertyViews.cjs.js.map +1 -1
  330. package/dist/outline/queryByExample.cjs.js.map +1 -1
  331. package/dist/outline/userInput.cjs.js +1 -1
  332. package/dist/outline/userInput.cjs.js.map +1 -1
  333. package/dist/outline/userInput.esm.js +12 -13
  334. package/dist/outline/userInput.esm.js.map +1 -1
  335. package/dist/outline/viewAsImage.cjs.js.map +1 -1
  336. package/dist/outline/viewAsMbox.cjs.js.map +1 -1
  337. package/dist/pad/padPane2.cjs.js +1 -1
  338. package/dist/pad/padPane2.cjs.js.map +1 -1
  339. package/dist/pad/padPane2.esm.js +2 -6
  340. package/dist/pad/padPane2.esm.js.map +1 -1
  341. package/dist/playlist/playlistPane.cjs.js.map +1 -1
  342. package/dist/registerPanes.cjs.js.map +1 -1
  343. package/dist/schedule/schedulePane2.cjs.js +1 -1
  344. package/dist/schedule/schedulePane2.cjs.js.map +1 -1
  345. package/dist/schedule/schedulePane2.esm.js +1 -5
  346. package/dist/schedule/schedulePane2.esm.js.map +1 -1
  347. package/dist/sharing/sharingPane.cjs.js.map +1 -1
  348. package/dist/slideshow/slideshowPane.cjs.js.map +1 -1
  349. package/dist/social/editProfileDetails.cjs.js +1 -1
  350. package/dist/social/editProfileDetails.cjs.js.map +1 -1
  351. package/dist/social/editProfileDetails.esm.js +0 -2
  352. package/dist/social/editProfileDetails.esm.js.map +1 -1
  353. package/dist/social/icons.cjs.js +4 -4
  354. package/dist/social/icons.cjs.js.map +1 -1
  355. package/dist/social/icons.esm.js +5 -5
  356. package/dist/social/icons.esm.js.map +1 -1
  357. package/dist/social/socialPane.d.ts +0 -1
  358. package/dist/social/socialPane.d.ts.map +1 -1
  359. package/dist/social/socialPane2.cjs.js +3 -3
  360. package/dist/social/socialPane2.cjs.js.map +1 -1
  361. package/dist/social/socialPane2.esm.js +97 -154
  362. package/dist/social/socialPane2.esm.js.map +1 -1
  363. package/dist/social/socialSections.cjs.js +1 -1
  364. package/dist/social/socialSections.cjs.js.map +1 -1
  365. package/dist/social/socialSections.d.ts +2 -1
  366. package/dist/social/socialSections.d.ts.map +1 -1
  367. package/dist/social/socialSections.esm.js +54 -129
  368. package/dist/social/socialSections.esm.js.map +1 -1
  369. package/dist/social/triage.cjs.js.map +1 -1
  370. package/dist/tabbed/tabbedPane.cjs.js.map +1 -1
  371. package/dist/tableViewPane.cjs.js.map +1 -1
  372. package/dist/transaction/pane.cjs.js.map +1 -1
  373. package/dist/transaction/pane.esm.js +1 -1
  374. package/dist/transaction/pane.esm.js.map +1 -1
  375. package/dist/transaction/period.cjs.js.map +1 -1
  376. package/dist/trip/tripPane.cjs.js.map +1 -1
  377. package/dist/trustedApplications/trustedApplications.dom.cjs.js.map +1 -1
  378. package/dist/trustedApplications/trustedApplications.utils.cjs.js.map +1 -1
  379. package/dist/trustedApplications/trustedApplications.view.cjs.js.map +1 -1
  380. package/dist/types.d.ts +3 -0
  381. package/dist/types.d.ts.map +1 -0
  382. package/dist/ui/pane.cjs.js +1 -1
  383. package/dist/ui/pane.cjs.js.map +1 -1
  384. package/dist/ui/pane.esm.js +2 -5
  385. package/dist/ui/pane.esm.js.map +1 -1
  386. package/dist/utils/paneUtils.cjs.js +1 -1
  387. package/dist/utils/paneUtils.cjs.js.map +1 -1
  388. package/dist/utils/paneUtils.esm.js +4 -4
  389. package/dist/utils/paneUtils.esm.js.map +1 -1
  390. package/dist/utils/podUtils.cjs.js.map +1 -1
  391. package/dist/utils/viewerUtils.cjs.js +2 -0
  392. package/dist/utils/viewerUtils.cjs.js.map +1 -0
  393. package/dist/utils/viewerUtils.d.ts +5 -0
  394. package/dist/utils/viewerUtils.d.ts.map +1 -0
  395. package/dist/utils/viewerUtils.esm.js +13 -0
  396. package/dist/utils/viewerUtils.esm.js.map +1 -0
  397. package/dist/utils/webIdUtils.cjs.js +1 -1
  398. package/dist/utils/webIdUtils.cjs.js.map +1 -1
  399. package/dist/utils/webIdUtils.d.ts +1 -0
  400. package/dist/utils/webIdUtils.d.ts.map +1 -1
  401. package/dist/utils/webIdUtils.esm.js +23 -19
  402. package/dist/utils/webIdUtils.esm.js.map +1 -1
  403. package/dist/versionInfo.cjs.js +1 -1
  404. package/dist/versionInfo.cjs.js.map +1 -1
  405. package/dist/versionInfo.esm.js +11 -11
  406. package/dist/versionInfo.esm.js.map +1 -1
  407. package/dist/video/videoPane.cjs.js.map +1 -1
  408. package/package.json +6 -5
@@ -5,23 +5,29 @@ import { UserInput as n } from "./userInput.esm.js";
5
5
  import { QuerySource as r } from "./queryByExample.esm.js";
6
6
  import { isWebIdUri as i } from "../utils/webIdUtils.esm.js";
7
7
  import { loadContainerRepresentation as a } from "../utils/podUtils.esm.js";
8
+ import { deriveExplorerHeader as o } from "../navigation/chrome.esm.js";
9
+ import { isPageInViewerPod as s } from "../navigation/podContext.esm.js";
10
+ import { nextHistoryState as c } from "../navigation/state.esm.js";
11
+ import { announceNavigation as l } from "../navigation/events.esm.js";
12
+ import { resolveSource as u } from "../navigation/options.esm.js";
13
+ import { refreshNavbarVisibility as d } from "../navigation/navbarVisibility.esm.js";
8
14
  import "../components/file-explorer-header/index.esm.js";
9
- import * as o from "solid-ui";
10
- import { store as s } from "solid-logic";
11
- import * as c from "pane-registry";
12
- import * as l from "rdflib";
15
+ import * as f from "solid-ui";
16
+ import { store as p } from "solid-logic";
17
+ import * as m from "pane-registry";
18
+ import * as h from "rdflib";
13
19
  //#region src/outline/manager.js
14
20
  /* istanbul ignore file */
15
- function u(u) {
16
- let d = u.dom;
17
- this.document = u.dom, this.context = u, this.outlineIcons = t, this.labeller = this.labeller || {}, this.labeller.LanguagePreference = "";
18
- let f = this, p = this, m = [];
19
- this.selection = m, this.ancestor = o.utils.ancestor, this.sparql = l.UpdateManager, this.kb = s;
20
- let h = s, g = s.fetcher;
21
- d.outline = this, this.qs = new r(), this.UserInput = new n(this), this.clipboardAddress = "tabulator:clipboard", this.UserInput.clipboardInit(this.clipboardAddress);
22
- let _ = this.outlineElement;
21
+ function g(g) {
22
+ let _ = g.dom;
23
+ this.document = g.dom, this.context = g, this.outlineIcons = t, this.labeller = this.labeller || {}, this.labeller.LanguagePreference = "";
24
+ let v = this, y = this, b = [];
25
+ this.selection = b, this.ancestor = f.utils.ancestor, this.sparql = h.UpdateManager, this.kb = p;
26
+ let x = p, S = p.fetcher;
27
+ _.outline = this, this.qs = new r(), this.UserInput = new n(this), this.clipboardAddress = "tabulator:clipboard", this.UserInput.clipboardInit(this.clipboardAddress);
28
+ let C = this.outlineElement;
23
29
  this.init = function() {
24
- let e = b();
30
+ let e = E();
25
31
  e.outline = this;
26
32
  }, this.getLayoutMode = function() {
27
33
  let e = this.context?.environment?.layout;
@@ -31,95 +37,91 @@ function u(u) {
31
37
  return e <= 768 || t && e <= 1024 ? "mobile" : "desktop";
32
38
  }
33
39
  return "desktop";
34
- }, v.lastkbsize = 0;
35
- function v(e) {
40
+ }, w.lastkbsize = 0;
41
+ function w(e) {
36
42
  let t = [];
37
43
  for (let e = arguments.length - 1; e > 0; e--) t[e - 1] = arguments[e];
38
44
  let n = (/* @__PURE__ */ new Date()).getTime(), r = e.apply(e, t), i = (/* @__PURE__ */ new Date()).getTime();
39
- return o.log.info("BENCHMARK: kb delta: " + (h.statements.length - v.lastkbsize) + ", time elapsed for " + e + " was " + (i - n) + "ms"), v.lastkbsize = h.statements.length, r;
45
+ return f.log.info("BENCHMARK: kb delta: " + (x.statements.length - w.lastkbsize) + ", time elapsed for " + e + " was " + (i - n) + "ms"), w.lastkbsize = x.statements.length, r;
40
46
  }
41
- function y(e, n, r) {
42
- let i = o.utils.AJARImage(t.src.icon_remove_node, "remove", void 0, d);
43
- return i.addEventListener("click", K), i.node = r, i.setAttribute("about", n.toNT()), i.style.marginLeft = "5px", i.style.marginRight = "10px", e.appendChild(i), i;
47
+ function T(e, n, r) {
48
+ let i = f.utils.AJARImage(t.src.icon_remove_node, "remove", void 0, _);
49
+ return i.addEventListener("click", ae), i.node = r, i.setAttribute("about", n.toNT()), i.style.marginLeft = "5px", i.style.marginRight = "10px", e.appendChild(i), i;
44
50
  }
45
51
  this.appendAccessIcons = function(e, t, n) {
46
52
  if (n.termType !== "NamedNode") return;
47
53
  let r = e.uris(n);
48
54
  r.sort();
49
55
  let i = null;
50
- for (let e = 0; e < r.length; e++) r[e] !== i && (i = r[e], p.appendAccessIcon(t, i));
56
+ for (let e = 0; e < r.length; e++) r[e] !== i && (i = r[e], y.appendAccessIcon(t, i));
51
57
  }, this.appendAccessIcon = function(e, n) {
52
58
  if (!n) return "";
53
- let r = l.uri.docpart(n);
59
+ let r = h.uri.docpart(n);
54
60
  if (r.slice(0, 5) !== "http:") return "";
55
- let i = g.getState(r), a, s, c;
61
+ let i = S.getState(r), a, o, s;
56
62
  switch (i) {
57
63
  case "unrequested":
58
- a = t.src.icon_unrequested, s = "fetch", c = G;
64
+ a = t.src.icon_unrequested, o = "fetch", s = ie;
59
65
  break;
60
66
  case "requested":
61
- a = t.src.icon_requested, s = "fetching", c = U;
67
+ a = t.src.icon_requested, o = "fetching", s = G;
62
68
  break;
63
69
  case "fetched":
64
- a = t.src.icon_fetched, c = W, s = "loaded";
70
+ a = t.src.icon_fetched, s = K, o = "loaded";
65
71
  break;
66
72
  case "failed":
67
- a = t.src.icon_failed, s = "failed", c = U;
73
+ a = t.src.icon_failed, o = "failed", s = G;
68
74
  break;
69
75
  case "unpermitted":
70
- a = t.src.icon_failed, c = U, s = "no perm";
76
+ a = t.src.icon_failed, s = G, o = "no perm";
71
77
  break;
72
78
  case "unfetchable":
73
- a = t.src.icon_failed, c = U, s = "cannot fetch";
79
+ a = t.src.icon_failed, s = G, o = "cannot fetch";
74
80
  break;
75
- default: o.log.error("?? state = " + i);
81
+ default: f.log.error("?? state = " + i);
76
82
  }
77
- let u = o.utils.AJARImage(a, s, t.tooltips[a].replace(/[Tt]his resource/, r), d);
78
- return u.classList.add("objectValueAccessIcon"), u.setAttribute("uri", n), u.addEventListener("click", c), P(u, r), e.appendChild(u), u;
83
+ let c = f.utils.AJARImage(a, o, t.tooltips[a].replace(/[Tt]his resource/, r), _);
84
+ return c.classList.add("objectValueAccessIcon"), c.setAttribute("uri", n), c.addEventListener("click", s), I(c, r), e.appendChild(c), c;
79
85
  }, this.outlineObjectTD = function(e, t, n, r) {
80
- let i = d.createElement("td");
81
- return i.classList.add("obj"), i.setAttribute("notSelectable", "false"), e ? ((e.termType === "NamedNode" || e.termType === "BlankNode" || e.termType === "Literal" && e.value.slice && (e.value.slice(0, 6) === "ftp://" || e.value.slice(0, 8) === "https://" || e.value.slice(0, 7) === "http://")) && (i.setAttribute("about", e.toNT()), i.appendChild(o.utils.AJARImage(o.icons.originalIconBase + "tbl-expand-trans.png", "expand", void 0, d)).addEventListener("click", V)), i.setAttribute("class", "obj"), h.whether(e, o.ns.rdf("type"), o.ns.link("Request")) && (i.className = "undetermined"), t ||= ne, i.appendChild(t(e)), n && y(i, e, n), i.tabulatorSelect = function() {
82
- z(this, !0);
86
+ let i = _.createElement("td");
87
+ return i.classList.add("obj"), i.setAttribute("notSelectable", "false"), e ? ((e.termType === "NamedNode" || e.termType === "BlankNode" || e.termType === "Literal" && e.value.slice && (e.value.slice(0, 6) === "ftp://" || e.value.slice(0, 8) === "https://" || e.value.slice(0, 7) === "http://")) && (i.setAttribute("about", e.toNT()), i.appendChild(f.utils.AJARImage(f.icons.originalIconBase + "tbl-expand-trans.png", "expand", void 0, _)).addEventListener("click", U)), i.setAttribute("class", "obj"), x.whether(e, f.ns.rdf("type"), f.ns.link("Request")) && (i.className = "undetermined"), t ||= le, i.appendChild(t(e)), n && T(i, e, n), i.tabulatorSelect = function() {
88
+ V(this, !0);
83
89
  }, i.tabulatorDeselect = function() {
84
- z(this, !1);
90
+ V(this, !1);
85
91
  }, i.addEventListener("click", q), i) : (i.textContent = "No object available.", i);
86
92
  }, this.outlinePredicateTD = function(e, n, r, i) {
87
- let a = d.createElement("TD");
93
+ let a = _.createElement("TD");
88
94
  a.setAttribute("about", e.toNT()), a.setAttribute("class", i ? "pred internal" : "pred");
89
- let s;
95
+ let o;
90
96
  switch (e.termType) {
91
97
  case "BlankNode":
92
98
  a.className = "undetermined";
93
99
  break;
94
100
  case "NamedNode":
95
- s = o.utils.predicateLabelForXML(e, r);
101
+ o = f.utils.predicateLabelForXML(e, r);
96
102
  break;
97
- case "Collection": s = o.utils.predicateLabelForXML(e.elements[0], r);
103
+ case "Collection": o = f.utils.predicateLabelForXML(e.elements[0], r);
98
104
  }
99
- s = s ? s.slice(0, 1).toUpperCase() + s.slice(1) : "...";
100
- let c = d.createElement("TD");
101
- c.classList.add("labelTD"), c.setAttribute("notSelectable", "true"), c.appendChild(d.createTextNode(s)), a.appendChild(c), c.style.width = "100%", a.appendChild(N.construct(d));
105
+ o = o ? o.slice(0, 1).toUpperCase() + o.slice(1) : "...";
106
+ let s = _.createElement("TD");
107
+ s.classList.add("labelTD"), s.setAttribute("notSelectable", "true"), s.appendChild(_.createTextNode(o)), a.appendChild(s), s.style.width = "100%", a.appendChild(F.construct(_));
102
108
  for (let e in t.termWidgets) {
103
109
  if (!n || !n.AJAR_statement) break;
104
- t.termWidgets[e].filter && t.termWidgets[e].filter(n.AJAR_statement, "pred", r) && N.addIcon(a, t.termWidgets[e]);
110
+ t.termWidgets[e].filter && t.termWidgets[e].filter(n.AJAR_statement, "pred", r) && F.addIcon(a, t.termWidgets[e]);
105
111
  }
106
112
  return a.tabulatorSelect = function() {
107
- z(this, !0);
113
+ V(this, !0);
108
114
  }, a.tabulatorDeselect = function() {
109
- z(this, !1);
115
+ V(this, !1);
110
116
  }, a.addEventListener("click", q), a;
111
117
  };
112
- function b() {
113
- return C("OutlineView", "Resource browser");
118
+ function E() {
119
+ return ee("OutlineView", "Resource browser");
114
120
  }
115
- function x() {
116
- return document.querySelector("solid-panes-navbar");
121
+ function D(e) {
122
+ d(e.uri).catch((e) => f.log.error("Failed to update navbar visibility: " + e));
117
123
  }
118
- function S() {
119
- let e = x();
120
- e && e.classList.remove("navbar--hidden");
121
- }
122
- function C(e) {
124
+ function ee(e) {
123
125
  if (document.getElementById("MainContent") || document.body, e === "OutlineView") {
124
126
  let e = document.getElementById("OutlineView");
125
127
  if (e) return e;
@@ -130,126 +132,125 @@ function u(u) {
130
132
  }
131
133
  }
132
134
  }
133
- async function w(e, t) {
135
+ async function te(e, t) {
134
136
  e.uri.endsWith("/") && await a(e);
135
137
  let n = t.session.paneRegistry, r = n.list.filter((n) => n.label(e, t) && !n.global && n.name !== "sharing");
136
138
  if (r.length === 0) return [n.byName("internal")];
137
- let i = await o.login.filterAvailablePanes(r);
139
+ let i = await f.login.filterAvailablePanes(r);
138
140
  return i.length === 0 ? [r[0]] : n.list.indexOf(r[0]) < n.list.indexOf(i[0]) ? [r[0]].concat(i) : i;
139
141
  }
140
- function T(e, t) {
142
+ function ne(e, t) {
141
143
  return e.find((e) => e.shouldGetFocus && e.shouldGetFocus(t)) || e[0];
142
144
  }
143
- function E(e) {
144
- let t = d.getElementById("queryButton");
145
+ function re(e) {
146
+ let t = _.getElementById("queryButton");
145
147
  t && (e ? t.removeAttribute("style") : t.setAttribute("style", "display:none;"));
146
148
  }
147
- function D(e, t, n, r) {
149
+ function O(e, t, n, r) {
148
150
  if (!e || !n) return;
149
151
  let i;
150
152
  try {
151
- o.log.info("outline: Rendering pane (menu): " + n.name), i = n.render(t, u, r);
153
+ f.log.info("outline: Rendering pane (menu): " + n.name), i = n.render(t, g, r);
152
154
  } catch (e) {
153
- i = d.createElement("div"), i.setAttribute("class", "exceptionPane");
154
- let t = d.createElement("pre");
155
- i.appendChild(t), t.appendChild(d.createTextNode(o.utils.stackString(e)));
155
+ i = _.createElement("div"), i.setAttribute("class", "exceptionPane");
156
+ let t = _.createElement("pre");
157
+ i.appendChild(t), t.appendChild(_.createTextNode(f.utils.stackString(e)));
156
158
  }
157
159
  i.classList.add("paneDiv");
158
160
  let a = e.querySelector(".paneDiv");
159
161
  a ? a.replaceWith(i) : e.appendChild(i);
160
162
  }
161
- function O(e, t) {
162
- let n = d.getElementById("OutlineView");
163
+ function k(e, t) {
164
+ let n = _.getElementById("OutlineView");
163
165
  if (!n) return;
164
166
  let r = e.toNT(), i = n.querySelector("td.paneView[about=\"" + r + "\"]");
165
167
  if (!i) return;
166
168
  let a = i.querySelector("file-explorer-provider");
167
- if (a) {
168
- if (!t) {
169
- o.log.warn("outline: Unable to open pane in place: pane is undefined.");
170
- return;
171
- }
172
- E(!!t.requireQueryButton), a.openSelectedPane?.(t), D(a, e, t, a.paneRenderOptions);
173
- }
169
+ a && (t ? (re(!!t.requireQueryButton), a.openSelectedPane?.(t), O(a, e, t, a.paneRenderOptions)) : f.log.warn("outline: Unable to open pane in place: pane is undefined."));
174
170
  }
175
- async function ee(e, t, n) {
171
+ async function A(e, t, n) {
176
172
  n ||= {};
177
- let r = d.createElement("tr");
173
+ let r = _.createElement("tr");
178
174
  n.hover && r.classList.add("hoverControl");
179
- let a = r.appendChild(d.createElement("td"));
175
+ let a = r.appendChild(_.createElement("td"));
180
176
  a.classList.add("paneView", "tdFlex"), a.setAttribute("notSelectable", "true"), a.setAttribute("about", e.toNT()), a.setAttribute("colspan", "2");
181
- let o = a.appendChild(d.createElement("file-explorer-provider"));
182
- o.context = u, o.subjectUri = e.uri, o.onBack = () => H({ target: o });
183
- let s = n.hideList ? [] : await w(e, u);
184
- return o.relevantPanes = s, o.pane = t || T(s, e), o.showHeader = !(e && e.uri && e.site && e.site().uri === e.uri) && !i(e), o.paneRenderOptions = n, o.soloPane = n.solo, o.openPane = (e, t) => O(e, c.byName(t)), o.handleAccessClick = () => O(e, c.byName("sharing")), o.pane && (r.classList.add("outlinePaneRow"), D(o, e, o.pane, n)), r;
185
- }
186
- function k(e) {
187
- let t = e.parentNode, n = t.parentNode, r = d.createElement("table");
177
+ let c = a.appendChild(_.createElement("file-explorer-provider"));
178
+ c.context = g, c.subjectUri = e.uri, c.onBack = () => W({ target: c });
179
+ let l = n.hideList ? [] : await te(e, g);
180
+ c.relevantPanes = l, c.pane = t || ne(l, e);
181
+ let u = !!(e && e.uri && e.site && e.site().uri === e.uri), d = !!n.headerOnlyInViewerPod;
182
+ return c.showHeader = o({
183
+ isRootResource: u,
184
+ isWebId: i(e),
185
+ viewerPodOnly: d,
186
+ inViewerPod: !d || await s(document.location.href)
187
+ }), c.paneRenderOptions = n, c.soloPane = n.solo, c.openPane = (e, t) => k(e, m.byName(t)), c.handleAccessClick = () => k(e, m.byName("sharing")), c.pane && (r.classList.add("outlinePaneRow"), O(c, e, c.pane, n)), r;
188
+ }
189
+ function j(e) {
190
+ let t = e.parentNode, n = t.parentNode, r = _.createElement("table");
188
191
  r.classList.add("placeholderTable"), n.replaceChild(r, t), t.removeChild(e), n.replaceChild(t, r);
189
192
  }
190
- let A = this.propertyTable = function(e, t, n, r) {
191
- return o.log.debug("Property table for: " + e), e = h.canon(e), t ? (o.log.info("Re-expand: " + t), t) : (t = d.createElement("table"), t.classList.add("tableFullWidth"), ee(e, n, r).then((e) => {
193
+ let M = this.propertyTable = function(e, t, n, r) {
194
+ return f.log.debug("Property table for: " + e), e = x.canon(e), t ? (f.log.info("Re-expand: " + t), t) : (t = _.createElement("table"), t.classList.add("tableFullWidth"), A(e, n, r).then((e) => {
192
195
  t.appendChild(e);
193
196
  }), t);
194
197
  };
195
- function j(e, t, n) {
198
+ function N(e, t, n) {
196
199
  let r = e.createElement("TR");
197
200
  r.AJAR_statement = t, r.AJAR_inverse = n, r.setAttribute("predTR", "true");
198
- let i = p.outlinePredicateTD(t.predicate, r, n);
201
+ let i = y.outlinePredicateTD(t.predicate, r, n);
199
202
  return r.appendChild(i), r;
200
203
  }
201
- this.propertyTR = j;
202
- function M(e, t, n, r) {
203
- if (o.log.debug("Property list length = " + t.length), t.length === 0) return "";
204
- let i, a, s;
204
+ this.propertyTR = N;
205
+ function P(e, t, n, r) {
206
+ if (f.log.debug("Property list length = " + t.length), t.length === 0) return "";
207
+ let i, a, o;
205
208
  n ? (i = function(e) {
206
209
  return e.subject;
207
- }, t = t.sort(o.utils.RDFComparePredicateSubject)) : (i = function(e) {
210
+ }, t = t.sort(f.utils.RDFComparePredicateSubject)) : (i = function(e) {
208
211
  return e.object;
209
- }, t = t.sort(o.utils.RDFComparePredicateObject));
210
- let c = t.length;
211
- for (a = 0; a < c; a++) {
212
- let l = t[a];
213
- if (r && !r(l.predicate, n)) continue;
214
- let u = j(d, l, n);
215
- e.appendChild(u);
216
- let m = u.firstChild, g = $.defaults[l.predicate.uri], _ = 0, v = 0, y = 0;
217
- for (s = 0; s + a < c && t[a + s].predicate.sameTerm(l.predicate); s++) s > 0 && i(t[a + s]).sameTerm(i(t[a + s - 1])) && _++, i(t[a + s]).lang && f.labeller.LanguagePreference && (v += 1, i(t[a + s]).lang.indexOf(f.labeller.LanguagePreference) >= 0 && y++);
218
- if (y > 0 && v === _ + 1) {
219
- for (let e = a; e <= a + _; e++) if (f.labeller.LanguagePreference && i(t[e]).lang.indexOf(f.labeller.LanguagePreference) >= 0) {
220
- u.appendChild(p.outlineObjectTD(i(t[e]), g, void 0, l));
212
+ }, t = t.sort(f.utils.RDFComparePredicateObject));
213
+ let s = t.length;
214
+ for (a = 0; a < s; a++) {
215
+ let c = t[a];
216
+ if (r && !r(c.predicate, n)) continue;
217
+ let l = N(_, c, n);
218
+ e.appendChild(l);
219
+ let u = l.firstChild, d = $.defaults[c.predicate.uri], p = 0, m = 0, h = 0;
220
+ for (o = 0; o + a < s && t[a + o].predicate.sameTerm(c.predicate); o++) o > 0 && i(t[a + o]).sameTerm(i(t[a + o - 1])) && p++, i(t[a + o]).lang && v.labeller.LanguagePreference && (m += 1, i(t[a + o]).lang.indexOf(v.labeller.LanguagePreference) >= 0 && h++);
221
+ if (h > 0 && m === p + 1) {
222
+ for (let e = a; e <= a + p; e++) if (v.labeller.LanguagePreference && i(t[e]).lang.indexOf(v.labeller.LanguagePreference) >= 0) {
223
+ l.appendChild(y.outlineObjectTD(i(t[e]), d, void 0, c));
221
224
  break;
222
225
  }
223
- a += _;
224
- continue;
225
- }
226
- u.appendChild(p.outlineObjectTD(i(l), g, void 0, l)), u.showNobj = function(r) {
227
- let c = s - _, u = 2 * r < c ? r : c, f = [];
228
- if (c !== 1) {
229
- m.setAttribute("rowspan", u === c ? c : r + 1);
230
- let _;
231
- u < c && u === 1 && m.setAttribute("rowspan", 2);
232
- let v = 0;
233
- for (_ = 1; _ < s; _++) if (h.canon(i(t[a + _])).sameTerm(h.canon(i(t[a + _ - 1])))) o.log.info("there are duplicates here: %s", t[a + _ - 1]);
226
+ a += p;
227
+ } else l.appendChild(y.outlineObjectTD(i(c), d, void 0, c)), l.showNobj = function(r) {
228
+ let s = o - p, l = 2 * r < s ? r : s, m = [];
229
+ if (s !== 1) {
230
+ u.setAttribute("rowspan", l === s ? s : r + 1);
231
+ let p;
232
+ l < s && l === 1 && u.setAttribute("rowspan", 2);
233
+ let h = 0;
234
+ for (p = 1; p < o; p++) if (x.canon(i(t[a + p])).sameTerm(x.canon(i(t[a + p - 1])))) f.log.info("there are duplicates here: %s", t[a + p - 1]);
234
235
  else {
235
- v++, l = t[a + _], g = $.defaults[l.predicate.uri];
236
- let r = d.createElement("tr");
237
- r.style.colspan = "1", r.appendChild(p.outlineObjectTD(i(t[a + _]), g, void 0, l)), r.AJAR_statement = l, r.AJAR_inverse = n, e.appendChild(r), v >= u && (r.style.display = "none", f.push(r));
236
+ h++, c = t[a + p], d = $.defaults[c.predicate.uri];
237
+ let r = _.createElement("tr");
238
+ r.style.colspan = "1", r.appendChild(y.outlineObjectTD(i(t[a + p]), d, void 0, c)), r.AJAR_statement = c, r.AJAR_inverse = n, e.appendChild(r), h >= l && (r.style.display = "none", m.push(r));
238
239
  }
239
- u === c && m.setAttribute("rowspan", v + 1);
240
+ l === s && u.setAttribute("rowspan", h + 1);
240
241
  }
241
- if (u < c) {
242
- let t = d.createElement("tr"), n = t.appendChild(d.createElement("td"));
243
- if (n.classList.add("obj"), n.setAttribute("notSelectable", "false"), c > r) {
244
- let e = d.createElement("a");
242
+ if (l < s) {
243
+ let t = _.createElement("tr"), n = t.appendChild(_.createElement("td"));
244
+ if (n.classList.add("obj"), n.setAttribute("notSelectable", "false"), s > r) {
245
+ let e = _.createElement("a");
245
246
  n.appendChild(e);
246
247
  let t = (function(e) {
247
- return e(m, s, _, r);
248
+ return e(u, o, p, r);
248
249
  })(function(t, n, r, i) {
249
250
  return function(n) {
250
- e.innerHTML = "", n === "none" ? (e.appendChild(o.utils.AJARImage(o.icons.originalIconBase + "tbl-more-trans.png", "more", "See all", d)), e.appendChild(d.createTextNode(c - i + " more...")), t.setAttribute("rowspan", i + 1)) : (e.appendChild(o.utils.AJARImage(o.icons.originalIconBase + "tbl-shrink.png", "(less)", void 0, d)), t.setAttribute("rowspan", c + 1));
251
- for (let e = 0; e < f.length; e++) {
252
- let t = f[e];
251
+ e.innerHTML = "", n === "none" ? (e.appendChild(f.utils.AJARImage(f.icons.originalIconBase + "tbl-more-trans.png", "more", "See all", _)), e.appendChild(_.createTextNode(s - i + " more...")), t.setAttribute("rowspan", i + 1)) : (e.appendChild(f.utils.AJARImage(f.icons.originalIconBase + "tbl-shrink.png", "(less)", void 0, _)), t.setAttribute("rowspan", s + 1));
252
+ for (let e = 0; e < m.length; e++) {
253
+ let t = m[e];
253
254
  t.style.display = n;
254
255
  }
255
256
  };
@@ -260,116 +261,116 @@ function u(u) {
260
261
  }
261
262
  e.appendChild(t);
262
263
  }
263
- }, u.showAllobj = function() {
264
- u.showNobj(s - _);
265
- }, u.showNobj(10), a += s - 1;
264
+ }, l.showAllobj = function() {
265
+ l.showNobj(o - p);
266
+ }, l.showNobj(10), a += o - 1;
266
267
  }
267
268
  }
268
- this.appendPropertyTRs = M;
269
- let N = {};
270
- globalThis.termWidget = N, N.construct = function(e) {
269
+ this.appendPropertyTRs = P;
270
+ let F = {};
271
+ globalThis.termWidget = F, F.construct = function(e) {
271
272
  e ||= document;
272
273
  let t = e.createElement("TD");
273
274
  return t.setAttribute("class", "iconTD"), t.setAttribute("notSelectable", "true"), t;
274
- }, N.addIcon = function(e, t, n) {
275
+ }, F.addIcon = function(e, t, n) {
275
276
  let r = e.childNodes[1];
276
277
  if (!r) return;
277
- let i = o.utils.AJARImage(t.src, t.alt, t.tooltip, d);
278
+ let i = f.utils.AJARImage(t.src, t.alt, t.tooltip, _);
278
279
  r.appendChild(i), n && i.addEventListener("click", n);
279
- }, N.removeIcon = function(e, t) {
280
+ }, F.removeIcon = function(e, t) {
280
281
  let n = e.childNodes[1], r;
281
282
  if (n) for (let e = 0; e < n.childNodes.length; e++) {
282
283
  let i = n.childNodes[e], a = i.src;
283
284
  try {
284
- r = d.location.href.split("?")[0];
285
+ r = _.location.href.split("?")[0];
285
286
  } catch {
286
287
  r = "";
287
288
  }
288
- a === l.uri.join(t.src, r) && n.removeChild(i);
289
+ a === h.uri.join(t.src, r) && n.removeChild(i);
289
290
  }
290
- }, N.replaceIcon = function(e, t, n, r) {
291
- N.removeIcon(e, t), N.addIcon(e, n, r);
291
+ }, F.replaceIcon = function(e, t, n, r) {
292
+ F.removeIcon(e, t), F.addIcon(e, n, r);
292
293
  };
293
- function P(e, n) {
294
- o.log.debug("Button callbacks for " + n + " added");
294
+ function I(e, n) {
295
+ f.log.debug("Button callbacks for " + n + " added");
295
296
  let r = function(r) {
296
297
  return function(i) {
297
- return i.indexOf("#"), !e || !f.ancestor(e, "DIV") ? !1 : (i === n && (e.src = r, e.title = t.tooltips[r]), !0);
298
+ return i.indexOf("#"), !e || !v.ancestor(e, "DIV") ? !1 : (i === n && (e.src = r, e.title = t.tooltips[r]), !0);
298
299
  };
299
300
  };
300
- g.addCallback("request", r(t.src.icon_requested)), g.addCallback("done", r(t.src.icon_fetched)), g.addCallback("fail", r(t.src.icon_failed));
301
+ S.addCallback("request", r(t.src.icon_requested)), S.addCallback("done", r(t.src.icon_fetched)), S.addCallback("fail", r(t.src.icon_failed));
301
302
  }
302
- function F(e) {
303
+ function L(e) {
303
304
  let t = e.getAttribute("class");
304
305
  return !!(t && t.indexOf("selected") >= 0);
305
306
  }
306
- function I(e) {
307
- let n = p.targetOf(e).parentNode;
308
- N.replaceIcon(n.parentNode, t.termWidgets.optOn, t.termWidgets.optOff, L), n.parentNode.parentNode.removeAttribute("optional");
307
+ function R(e) {
308
+ let n = y.targetOf(e).parentNode;
309
+ F.replaceIcon(n.parentNode, t.termWidgets.optOn, t.termWidgets.optOff, z), n.parentNode.parentNode.removeAttribute("optional");
309
310
  }
310
- function L(e) {
311
- let n = p.targetOf(e).parentNode;
312
- N.replaceIcon(n.parentNode, t.termWidgets.optOff, t.termWidgets.optOn, I), n.parentNode.parentNode.setAttribute("optional", "true");
311
+ function z(e) {
312
+ let n = y.targetOf(e).parentNode;
313
+ F.replaceIcon(n.parentNode, t.termWidgets.optOff, t.termWidgets.optOn, R), n.parentNode.parentNode.setAttribute("optional", "true");
313
314
  }
314
- function R(e, n) {
315
+ function B(e, n) {
315
316
  let r = t.termWidgets.optOn, i = t.termWidgets.optOff;
316
317
  for (let t = e; t.parentNode; t = t.parentNode) for (;;) if (t.getAttribute("predTR")) {
317
318
  let e = t.getAttribute("parentOfSelected");
318
- e = e ? parseInt(e) : 0, e === 0 && n > 0 && N.addIcon(t.childNodes[0], t.getAttribute("optional") ? r : i, t.getAttribute("optional") ? I : L), e += n, t.setAttribute("parentOfSelected", e), e === 0 && (t.removeAttribute("parentOfSelected"), N.removeIcon(t.childNodes[0], t.getAttribute("optional") ? r : i));
319
+ e = e ? parseInt(e) : 0, e === 0 && n > 0 && F.addIcon(t.childNodes[0], t.getAttribute("optional") ? r : i, t.getAttribute("optional") ? R : z), e += n, t.setAttribute("parentOfSelected", e), e === 0 && (t.removeAttribute("parentOfSelected"), F.removeIcon(t.childNodes[0], t.getAttribute("optional") ? r : i));
319
320
  break;
320
321
  } else if (t.previousSibling && t.previousSibling.nodeName === "TR") t = t.previousSibling;
321
322
  else break;
322
323
  }
323
324
  this.statusBarClick = function(e) {
324
- let t = o.utils.getTarget(e);
325
+ let t = f.utils.getTarget(e);
325
326
  t.label && (window.content.location = t.label);
326
327
  }, this.showURI = function(e) {
327
- e && d.getElementById("UserURI") && (d.getElementById("UserURI").value = e.termType === "NamedNode" ? e.uri : "");
328
+ e && _.getElementById("UserURI") && (_.getElementById("UserURI").value = e.termType === "NamedNode" ? e.uri : "");
328
329
  }, this.showSource = function() {
329
330
  if (typeof sourceWidget < "u") {
330
331
  for (let e in sourceWidget.sources) sourceWidget.sources[e].setAttribute("class", "");
331
- for (let e = 0; e < m.length; e++) {
332
- if (!m[e].parentNode) continue;
333
- let t = m[e].parentNode.AJAR_statement;
332
+ for (let e = 0; e < b.length; e++) {
333
+ if (!b[e].parentNode) continue;
334
+ let t = b[e].parentNode.AJAR_statement;
334
335
  if (!t) continue;
335
336
  let n = t.why;
336
337
  n && n.uri && sourceWidget.highlight(n, !0);
337
338
  }
338
339
  }
339
340
  }, this.getSelection = function() {
340
- return m;
341
+ return b;
341
342
  };
342
- function z(e, n) {
343
- if (e.nodeName !== "TD") throw o.log.debug("down" + e.nodeName), Error("Expected TD in setSelected: " + e.nodeName + " : " + e.textContent);
344
- o.log.debug("pass");
343
+ function V(e, n) {
344
+ if (e.nodeName !== "TD") throw f.log.debug("down" + e.nodeName), Error("Expected TD in setSelected: " + e.nodeName + " : " + e.textContent);
345
+ f.log.debug("pass");
345
346
  let r = e.getAttribute("class");
346
347
  if (r ||= "", n) {
347
- r += " selected", (r.indexOf("pred") >= 0 || r.indexOf("obj") >= 0) && R(e, 1), m.push(e);
348
- let n = o.utils.getTerm(e);
349
- p.showURI(n);
348
+ r += " selected", (r.indexOf("pred") >= 0 || r.indexOf("obj") >= 0) && B(e, 1), b.push(e);
349
+ let n = f.utils.getTerm(e);
350
+ y.showURI(n);
350
351
  let i = e.AJAR_statement;
351
352
  if (i === void 0 && e.parentNode && (i = e.parentNode.AJAR_statement), i) {
352
353
  let n = i.why;
353
- s.updater.editable(n.uri, h) && r.indexOf("pred") >= 0 && N.addIcon(e, t.termWidgets.addTri);
354
+ p.updater.editable(n.uri, x) && r.indexOf("pred") >= 0 && F.addIcon(e, t.termWidgets.addTri);
354
355
  }
355
- } else o.log.debug("cla=$" + r + "$"), r === "selected" && (r = ""), r = r.replace(" selected", ""), (r.indexOf("pred") >= 0 || r.indexOf("obj") >= 0) && R(e, -1), r.indexOf("pred") >= 0 && N.removeIcon(e, t.termWidgets.addTri), m = m.filter(function(t) {
356
+ } else f.log.debug("cla=$" + r + "$"), r === "selected" && (r = ""), r = r.replace(" selected", ""), (r.indexOf("pred") >= 0 || r.indexOf("obj") >= 0) && B(e, -1), r.indexOf("pred") >= 0 && F.removeIcon(e, t.termWidgets.addTri), b = b.filter(function(t) {
356
357
  return t === e;
357
- }), o.log.info("Deselecting " + e.textContent);
358
- typeof sourceWidget < "u" && p.showSource(), e.setAttribute("class", r);
358
+ }), f.log.info("Deselecting " + e.textContent);
359
+ typeof sourceWidget < "u" && y.showSource(), e.setAttribute("class", r);
359
360
  }
360
- function B() {
361
- let e = m.length;
362
- for (let t = e - 1; t >= 0; t--) z(m[t], !1);
363
- m = [];
361
+ function H() {
362
+ let e = b.length;
363
+ for (let t = e - 1; t >= 0; t--) V(b[t], !1);
364
+ b = [];
364
365
  }
365
366
  this.targetOf = function(e) {
366
367
  let t;
367
368
  if (e ||= window.event, e.target) t = e.target;
368
369
  else if (e.srcElement) t = e.srcElement;
369
- else return o.log.error("can't get target for event " + e), !1;
370
+ else return f.log.error("can't get target for event " + e), !1;
370
371
  return t.nodeType === 3 && (t = t.parentNode), t;
371
372
  }, this.walk = function(e, t) {
372
- let n = t || m[0], r;
373
+ let n = t || b[0], r;
373
374
  switch (e) {
374
375
  case "down":
375
376
  try {
@@ -378,7 +379,7 @@ function u(u) {
378
379
  this.walk("up");
379
380
  return;
380
381
  }
381
- B(), z(r, !0);
382
+ H(), V(r, !0);
382
383
  break;
383
384
  case "up":
384
385
  try {
@@ -386,42 +387,42 @@ function u(u) {
386
387
  } catch {
387
388
  return;
388
389
  }
389
- B(), z(r, !0);
390
+ H(), V(r, !0);
390
391
  break;
391
392
  case "right":
392
- if (B(), n.nextSibling || n.lastChild.tagName === "strong") z(n.nextSibling, !0);
393
+ if (H(), n.nextSibling || n.lastChild.tagName === "strong") V(n.nextSibling, !0);
393
394
  else {
394
- let e = d.evaluate("table/div/tr/td[2]", n, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
395
- z(e, !0);
395
+ let e = _.evaluate("table/div/tr/td[2]", n, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
396
+ V(e, !0);
396
397
  }
397
398
  break;
398
399
  case "left":
399
- if (B(), n.previousSibling && n.previousSibling.className === "undetermined") return z(n.previousSibling, !0), !0;
400
- z(o.utils.ancestor(n.parentNode, "TD"), !0);
400
+ if (H(), n.previousSibling && n.previousSibling.className === "undetermined") return V(n.previousSibling, !0), !0;
401
+ V(f.utils.ancestor(n.parentNode, "TD"), !0);
401
402
  break;
402
- case "moveTo": B(), z(t, !0);
403
+ case "moveTo": H(), V(t, !0);
403
404
  }
404
405
  (e === "down" || e === "up") && (r.tabulatorSelect || this.walk(e));
405
406
  }, this.OutlinerKeypressPanel = function(e) {
406
- o.log.info("Key " + e.keyCode + " pressed");
407
+ f.log.info("Key " + e.keyCode + " pressed");
407
408
  function t(e) {
408
- e && d.getElementById("UserURI") && (d.getElementById("UserURI").value = e.termType === "NamedNode" ? e.uri : "");
409
+ e && _.getElementById("UserURI") && (_.getElementById("UserURI").value = e.termType === "NamedNode" ? e.uri : "");
409
410
  }
410
411
  function n(e) {
411
- return arguments[3] ? !0 : (l("right", a), t(o.utils.getAbout(h, m[0])), !0);
412
+ return arguments[3] || (o("right", a), t(f.utils.getAbout(x, b[0]))), !0;
412
413
  }
413
414
  let r, i;
414
- if (o.utils.getTarget(e).tagName === "TEXTAREA" || o.utils.getTarget(e).id === "UserURI" || m.length > 1) return;
415
- if (m.length === 0) {
416
- (e.keyCode === 13 || e.keyCode === 38 || e.keyCode === 40 || e.keyCode === 37 || e.keyCode === 39) && (this.walk("right", p.focusTd), t(o.utils.getAbout(h, m[0])));
415
+ if (f.utils.getTarget(e).tagName === "TEXTAREA" || f.utils.getTarget(e).id === "UserURI" || b.length > 1) return;
416
+ if (b.length === 0) {
417
+ (e.keyCode === 13 || e.keyCode === 38 || e.keyCode === 40 || e.keyCode === 37 || e.keyCode === 39) && (this.walk("right", y.focusTd), t(f.utils.getAbout(x, b[0])));
417
418
  return;
418
419
  }
419
- let a = m[0];
420
- switch (g.removeCallback("done", "setSelectedAfterward"), g.removeCallback("fail", "setSelectedAfterward"), e.keyCode) {
420
+ let a = b[0];
421
+ switch (S.removeCallback("done", "setSelectedAfterward"), S.removeCallback("fail", "setSelectedAfterward"), e.keyCode) {
421
422
  case 13:
422
- if (o.utils.getTarget(e).tagName === "HTML") {
423
- let e = o.utils.getAbout(h, a);
424
- r = a.parentNode.AJAR_statement.why, i = s.updater.editable(r.uri, h), e ? f.GotoSubject(e, !0) : i && p.UserInput.Enter(a);
423
+ if (f.utils.getTarget(e).tagName === "HTML") {
424
+ let e = f.utils.getAbout(x, a);
425
+ r = a.parentNode.AJAR_statement.why, i = p.updater.editable(r.uri, x), e ? v.GotoSubject(e, !0) : i && y.UserInput.Enter(a);
425
426
  } else this.UserInput.Keypress(e), this.walk("down"), e.stopPropagation();
426
427
  return;
427
428
  case 38:
@@ -429,28 +430,28 @@ function u(u) {
429
430
  break;
430
431
  case 40: this.walk("down"), e.stopPropagation(), e.preventDefault();
431
432
  }
432
- if (o.utils.getTarget(e).tagName === "INPUT") return;
433
- let l;
433
+ if (f.utils.getTarget(e).tagName === "INPUT") return;
434
+ let o;
434
435
  switch (e.keyCode) {
435
436
  case 46:
436
437
  case 8:
437
- r = a.parentNode.AJAR_statement.why, i = s.updater.editable(r.uri, h), i && (e.preventDefault(), this.UserInput.Delete(a));
438
+ r = a.parentNode.AJAR_statement.why, i = p.updater.editable(r.uri, x), i && (e.preventDefault(), this.UserInput.Delete(a));
438
439
  break;
439
440
  case 37: {
440
441
  if (this.walk("left")) return;
441
- let e = o.utils.ancestor(a.parentNode, "TD");
442
- Z(a, o.utils.getAbout(h, e));
442
+ let e = f.utils.ancestor(a.parentNode, "TD");
443
+ X(a, f.utils.getAbout(x, e));
443
444
  break;
444
445
  }
445
446
  case 39:
446
447
  {
447
- let e = o.utils.getAbout(h, a);
448
+ let e = f.utils.getAbout(x, a);
448
449
  if (e) {
449
- if (l = this.walk, a.nextSibling) {
450
+ if (o = this.walk, a.nextSibling) {
450
451
  this.walk("right");
451
452
  return;
452
453
  }
453
- a.firstChild.tagName !== "TABLE" && (g.addCallback("done", n), g.addCallback("fail", n), X(a, e, { pane: c.byName("defaultPane") })), n();
454
+ a.firstChild.tagName !== "TABLE" && (S.addCallback("done", n), S.addCallback("fail", n), Y(a, e, { pane: m.byName("defaultPane") })), n();
454
455
  }
455
456
  }
456
457
  break;
@@ -459,154 +460,153 @@ function u(u) {
459
460
  default: switch (e.charCode) {
460
461
  case 99:
461
462
  if (e.ctrlKey) {
462
- p.UserInput.copyToClipboard(p.clipboardAddress, a);
463
+ y.UserInput.copyToClipboard(y.clipboardAddress, a);
463
464
  break;
464
465
  }
465
466
  break;
466
467
  case 118:
467
468
  case 112:
468
469
  if (e.ctrlKey) {
469
- p.UserInput.pasteFromClipboard(p.clipboardAddress, a);
470
+ y.UserInput.pasteFromClipboard(y.clipboardAddress, a);
470
471
  break;
471
472
  }
472
473
  break;
473
- default: o.utils.getTarget(e).tagName;
474
+ default: f.utils.getTarget(e).tagName;
474
475
  }
475
476
  }
476
- t(o.utils.getAbout(h, m[0]));
477
+ t(f.utils.getAbout(x, b[0]));
477
478
  }, this.OutlinerMouseclickPanel = function(e) {
478
- switch (p.UserInput._tabulatorMode) {
479
+ switch (y.UserInput._tabulatorMode) {
479
480
  case 0:
480
- J(e);
481
+ oe(e);
481
482
  break;
482
- case 1: p.UserInput.Click(e);
483
+ case 1: y.UserInput.Click(e);
483
484
  }
484
485
  };
485
- function V(e) {
486
- let t = p.targetOf(e), n = t.parentNode, r = o.utils.getAbout(h, t), i = e.altKey ? c.byName("internal") : void 0;
487
- e.shiftKey ? Q(n, r, i) : e.altKey ? X(n, r, {
488
- pane: c.byName("internal"),
489
- immediate: !0
490
- }) : X(n, r);
491
- }
492
- function H(e) {
493
- let t = p.targetOf(e), n = o.utils.getAbout(h, t), r = e.altKey ? c.byName("internal") : void 0, i = t.parentNode.parentNode;
494
- Z(i, n, r);
495
- }
496
486
  function U(e) {
497
- let t = p.targetOf(e).getAttribute("uri");
498
- e.altKey ? g.fetch(l.uri.docpart(t), { force: !0 }) : g.refresh(h.sym(l.uri.docpart(t)));
487
+ let t = y.targetOf(e), n = t.parentNode, r = f.utils.getAbout(x, t), i = e.altKey ? m.byName("internal") : void 0;
488
+ e.shiftKey ? Z(n, r, i) : e.altKey ? Y(n, r, {
489
+ pane: m.byName("internal"),
490
+ immediate: !0
491
+ }) : Y(n, r);
499
492
  }
500
493
  function W(e) {
501
- let t = p.targetOf(e).getAttribute("uri");
502
- e.altKey ? g.fetch(l.uri.docpart(t), { force: !0 }) : g.refresh(h.sym(l.uri.docpart(t)));
494
+ let t = y.targetOf(e), n = f.utils.getAbout(x, t), r = e.altKey ? m.byName("internal") : void 0, i = t.parentNode.parentNode;
495
+ X(i, n, r);
503
496
  }
504
497
  function G(e) {
505
- let t = p.targetOf(e).getAttribute("uri");
506
- g.fetch(l.uri.docpart(t));
498
+ let t = y.targetOf(e).getAttribute("uri");
499
+ e.altKey ? S.fetch(h.uri.docpart(t), { force: !0 }) : S.refresh(x.sym(h.uri.docpart(t)));
507
500
  }
508
501
  function K(e) {
509
- let t = p.targetOf(e), n = t.node;
510
- n.childNodes.length > 1 && (n = t.parentNode), k(n);
502
+ let t = y.targetOf(e).getAttribute("uri");
503
+ e.altKey ? S.fetch(h.uri.docpart(t), { force: !0 }) : S.refresh(x.sym(h.uri.docpart(t)));
504
+ }
505
+ function ie(e) {
506
+ let t = y.targetOf(e).getAttribute("uri");
507
+ S.fetch(h.uri.docpart(t));
508
+ }
509
+ function ae(e) {
510
+ let t = y.targetOf(e), n = t.node;
511
+ n.childNodes.length > 1 && (n = t.parentNode), j(n);
511
512
  }
512
513
  function q(e) {
513
- if (p.UserInput._tabulatorMode) return p.UserInput.Click(e);
514
- let t = p.targetOf(e), n;
515
- for (n = o.utils.ancestor(t, "TD"); n && n.getAttribute("notSelectable") !== "false"; n = o.utils.ancestor(n.parentNode, "TD"));
514
+ if (y.UserInput._tabulatorMode) return y.UserInput.Click(e);
515
+ let t = y.targetOf(e), n;
516
+ for (n = f.utils.ancestor(t, "TD"); n && n.getAttribute("notSelectable") !== "false"; n = f.utils.ancestor(n.parentNode, "TD"));
516
517
  if (!n) return;
517
- let r = F(n);
518
- if (o.log.debug("Was node selected before: " + r), e.altKey) z(n, !F(n));
519
- else if (e.shiftKey) z(n, !0);
518
+ let r = L(n);
519
+ if (f.log.debug("Was node selected before: " + r), e.altKey) V(n, !L(n));
520
+ else if (e.shiftKey) V(n, !0);
520
521
  else {
521
- if (B(), p.UserInput.clearInputAndSave(e), z(n, !0), e.detail === 2) {
522
+ if (H(), y.UserInput.clearInputAndSave(e), V(n, !0), e.detail === 2) {
522
523
  e.stopPropagation();
523
524
  return;
524
525
  }
525
526
  let t;
526
527
  if (n.parentNode && (t = n.parentNode.AJAR_statement), !t) return;
527
- let i = t.why, a = s.updater.editable(i.uri, h);
528
- r && a && p.UserInput.Click(e, m[0]);
528
+ let i = t.why, a = p.updater.editable(i.uri, x);
529
+ r && a && y.UserInput.Click(e, b[0]);
529
530
  }
530
- o.log.debug("Was node selected after: " + F(n) + ", count=" + m.length), e.stopPropagation();
531
+ f.log.debug("Was node selected after: " + L(n) + ", count=" + b.length), e.stopPropagation();
531
532
  }
532
- function J(e) {
533
- o.log.info("@TabulatorMousedown, dom.location is now " + d.location);
534
- let n = p.targetOf(e);
533
+ function oe(e) {
534
+ f.log.info("@TabulatorMousedown, dom.location is now " + _.location);
535
+ let n = y.targetOf(e);
535
536
  if (!n) return;
536
537
  let r = n.tagName;
537
- r !== "INPUT" && r !== "TEXTAREA" && (p.UserInput.clearMenu(), p.UserInput.lastModified && p.UserInput.lastModified.parentNode.nextSibling && p.UserInput.backOut(), (!n.src || n.src.slice(n.src.indexOf("/icons/") + 1) !== t.src.icon_show_choices && n.src.slice(n.src.indexOf("/icons/") + 1) !== t.src.icon_add_triple) && p.UserInput.clearInputAndSave(e), (!n.src || n.src.slice(n.src.indexOf("/icons/") + 1) !== t.src.icon_show_choices) && p.UserInput.clearMenu(), e && e.stopPropagation());
538
+ r !== "INPUT" && r !== "TEXTAREA" && (y.UserInput.clearMenu(), y.UserInput.lastModified && y.UserInput.lastModified.parentNode.nextSibling && y.UserInput.backOut(), (!n.src || n.src.slice(n.src.indexOf("/icons/") + 1) !== t.src.icon_show_choices && n.src.slice(n.src.indexOf("/icons/") + 1) !== t.src.icon_add_triple) && y.UserInput.clearInputAndSave(e), (!n.src || n.src.slice(n.src.indexOf("/icons/") + 1) !== t.src.icon_show_choices) && y.UserInput.clearMenu(), e && e.stopPropagation());
538
539
  }
539
- function Y(e) {
540
- d.title = o.utils.label(e), d.location.href.startsWith(e.site().uri);
540
+ function J(e) {
541
+ _.title = f.utils.label(e), _.location.href.startsWith(e.site().uri);
541
542
  }
542
- function X(e, t, n) {
543
+ function Y(e, t, n) {
543
544
  n ||= {};
544
545
  let r = n.pane, i = !!n.already, a = n.immediate;
545
- o.log.info("@outlineExpand, dom is now " + d.location), g.removeCallback("done", "expand"), g.removeCallback("fail", "expand");
546
- let s = h.canon(t);
547
- function c() {
548
- if (s = h.canon(s), !e || !e.parentNode || !e.parentNode.parentNode) return !1;
546
+ f.log.info("@outlineExpand, dom is now " + _.location), S.removeCallback("done", "expand"), S.removeCallback("fail", "expand");
547
+ let o = x.canon(t);
548
+ function s() {
549
+ if (o = x.canon(o), !e || !e.parentNode || !e.parentNode.parentNode) return !1;
549
550
  let t;
550
- if (o.log.info("@@ REPAINTING "), !i) t = A(s, void 0, r, n);
551
+ if (f.log.info("@@ REPAINTING "), !i) t = M(o, void 0, r, n);
551
552
  else {
552
- for (o.log.info(" ... p is " + e), t = e.firstChild; t.nextSibling && (o.log.info(" ... checking node " + t), t.nodeName !== "table"); t = t.nextSibling);
553
- t = A(s, t, r, n);
553
+ for (f.log.info(" ... p is " + e), t = e.firstChild; t.nextSibling && (f.log.info(" ... checking node " + t), t.nodeName !== "table"); t = t.nextSibling);
554
+ t = M(o, t, r, n);
554
555
  }
555
- i = !0, o.utils.ancestor(e, "TABLE") && o.utils.ancestor(e, "TABLE").style.backgroundColor === "white" ? t.style.backgroundColor = "#eee" : t.style.backgroundColor = "white", o.utils.emptyNode(e).appendChild(t), p.focusTd = e, o.log.debug("expand: Node for " + s + " expanded");
556
- let a = h.each(s, o.ns.rdfs("seeAlso"));
557
- for (let e = 0; e < a.length; e++) e === 25 && o.log.warn("expand: Warning: many (" + a.length + ") seeAlso links for " + s), g.lookUpThing(a[e], s);
556
+ i = !0, f.utils.ancestor(e, "TABLE") && f.utils.ancestor(e, "TABLE").style.backgroundColor === "white" ? t.style.backgroundColor = "#eee" : t.style.backgroundColor = "white", f.utils.emptyNode(e).appendChild(t), y.focusTd = e, f.log.debug("expand: Node for " + o + " expanded");
557
+ let a = x.each(o, f.ns.rdfs("seeAlso"));
558
+ for (let e = 0; e < a.length; e++) e === 25 && f.log.warn("expand: Warning: many (" + a.length + ") seeAlso links for " + o), S.lookUpThing(a[e], o);
558
559
  }
559
- function u(e) {
560
+ function c(e) {
560
561
  if (arguments[3]) return !0;
561
- let t = h.canon(s);
562
- o.log.info("@@ expand: relevant subject=" + t + ", uri=" + e + ", already=" + i);
563
- let n = h.sym(l.uri.docpart(e));
562
+ let t = x.canon(o);
563
+ f.log.info("@@ expand: relevant subject=" + t + ", uri=" + e + ", already=" + i);
564
+ let n = x.sym(h.uri.docpart(e));
564
565
  if (e.indexOf("#") >= 0) throw Error("Internal error: hash in " + e);
565
566
  return !function() {
566
567
  if (!t.uri) return !0;
567
- let r = h.uris(t);
568
+ let r = x.uris(t);
568
569
  if (!r) return !1;
569
- for (let t = 0; t < r.length; t++) for (let n = l.uri.docpart(r[t]); n; n = h.HTTPRedirects[n]) if (e === n) return !0;
570
- return !!h.anyStatementMatching(t, void 0, void 0, n);
571
- }() || (o.log.success("@@ expand OK: relevant subject=" + t + ", uri=" + e + ", source=" + i), c(), !1);
570
+ for (let t = 0; t < r.length; t++) for (let n = h.uri.docpart(r[t]); n; n = x.HTTPRedirects[n]) if (e === n) return !0;
571
+ return !!x.anyStatementMatching(t, void 0, void 0, n);
572
+ }() || (f.log.success("@@ expand OK: relevant subject=" + t + ", uri=" + e + ", source=" + i), s(), !1);
572
573
  }
573
- n.solo && Y(s), o.log.debug("outlineExpand: dereferencing " + s);
574
- let f = d.createElement("span");
575
- e.appendChild(f), g.addCallback("done", u), g.addCallback("fail", u);
576
- let m = [];
577
- if (s.uri && s.uri.split(":")[0] === "rdf") {
578
- c();
579
- return;
580
- }
581
- for (let e = 0; e < m.length; e++) {
582
- let t;
583
- if (t === m[e](s)) {
584
- c(), o.log.debug("outline 1815"), t[1] && _.removeChild(_.lastChild);
585
- return;
574
+ n.solo && J(o), f.log.debug("outlineExpand: dereferencing " + o);
575
+ let l = _.createElement("span");
576
+ e.appendChild(l), S.addCallback("done", c), S.addCallback("fail", c);
577
+ let u = [];
578
+ if (o.uri && o.uri.split(":")[0] === "rdf") s();
579
+ else {
580
+ for (let e = 0; e < u.length; e++) {
581
+ let t;
582
+ if (t === u[e](o)) {
583
+ s(), f.log.debug("outline 1815"), t[1] && C.removeChild(C.lastChild);
584
+ return;
585
+ }
586
586
  }
587
+ if (o.uri && !a && !f.widgets.isAudio(o) && !f.widgets.isVideo(o)) {
588
+ let t = o.doc() && o.doc().uri ? o.doc().uri : "" + o.doc(), r = function(e) {
589
+ let t = !!(o && o.uri && o.site && o.site().uri === o.uri);
590
+ return e === 403 ? t ? "This root resource is not accessible with your current permissions. Try logging in with an authorized account or opening a public profile document." : "This resource is not accessible with your current permissions." : t ? "This root resource is not publicly readable. Try logging in or opening a profile document." : "This resource is not publicly readable. Try logging in or opening a different public resource.";
591
+ }, i = function(e, t) {
592
+ let n = typeof e == "string" ? e : String(e || ""), r = t?.status || t?.response?.status;
593
+ return r === 401 || r === 403 ? r : n.includes("status: 403") || n.includes("status 403") ? 403 : n.includes("status: 401") || n.includes("status 401") ? 401 : null;
594
+ }, a = function(n, a) {
595
+ if (e.querySelector && t && e.querySelector("[data-outline-error-for=\"" + t + "\"]")) return;
596
+ let o = i(n, a), s = o ? r(o) : n, c = f.widgets.errorMessageBlock(_, s, "#fee", a instanceof Error ? a : void 0);
597
+ t && c.setAttribute("data-outline-error-for", t), e.appendChild(c);
598
+ }, c = !1, l = S.nowOrWhenFetched(o.doc(), void 0, function(e, t) {
599
+ e ? (S.lookUpThing(o), s(), n.solo && J(o)) : (c = !0, a(t, void 0));
600
+ });
601
+ l && typeof l.catch == "function" && l.catch(function(e) {
602
+ c || (c = !0, a(e, e));
603
+ });
604
+ } else s();
587
605
  }
588
- if (s.uri && !a && !o.widgets.isAudio(s) && !o.widgets.isVideo(s)) {
589
- let t = s.doc() && s.doc().uri ? s.doc().uri : "" + s.doc(), r = function(e) {
590
- let t = !!(s && s.uri && s.site && s.site().uri === s.uri);
591
- return e === 403 ? t ? "This root resource is not accessible with your current permissions. Try logging in with an authorized account or opening a public profile document." : "This resource is not accessible with your current permissions." : t ? "This root resource is not publicly readable. Try logging in or opening a profile document." : "This resource is not publicly readable. Try logging in or opening a different public resource.";
592
- }, i = function(e, t) {
593
- let n = typeof e == "string" ? e : String(e || ""), r = t?.status || t?.response?.status;
594
- return r === 401 || r === 403 ? r : n.includes("status: 403") || n.includes("status 403") ? 403 : n.includes("status: 401") || n.includes("status 401") ? 401 : null;
595
- }, a = function(n, a) {
596
- if (e.querySelector && t && e.querySelector("[data-outline-error-for=\"" + t + "\"]")) return;
597
- let s = i(n, a), c = s ? r(s) : n, l = o.widgets.errorMessageBlock(d, c, "#fee", a instanceof Error ? a : void 0);
598
- t && l.setAttribute("data-outline-error-for", t), e.appendChild(l);
599
- }, l = !1, u = g.nowOrWhenFetched(s.doc(), void 0, function(e, t) {
600
- e ? (g.lookUpThing(s), c(), n.solo && Y(s)) : (l = !0, a(t, void 0));
601
- });
602
- u && typeof u.catch == "function" && u.catch(function(e) {
603
- l || (l = !0, a(e, e));
604
- });
605
- } else c();
606
606
  }
607
- function Z(e, t) {
608
- let n = o.utils.ancestor(e, "TR");
609
- n = o.utils.ancestor(n.parentNode, "TR");
607
+ function X(e, t) {
608
+ let n = f.utils.ancestor(e, "TR");
609
+ n = f.utils.ancestor(n.parentNode, "TR");
610
610
  let r;
611
611
  n && (r = n.AJAR_statement);
612
612
  let i;
@@ -614,95 +614,129 @@ function u(u) {
614
614
  alert("Not enclosed in TD!");
615
615
  return;
616
616
  }
617
- o.log.debug("Collapsing subject " + t);
617
+ f.log.debug("Collapsing subject " + t);
618
618
  let a;
619
- r && (o.log.debug("looking up pred " + r.predicate.uri + "in defaults"), a = $.defaults[r.predicate.uri]), o.log.debug("view= " + a);
620
- let s;
621
- i.parentNode.parentNode.id === "outline" && (s = i.parentNode), p.replaceTD(p.outlineObjectTD(t, a, s, r), i);
619
+ r && (f.log.debug("looking up pred " + r.predicate.uri + "in defaults"), a = $.defaults[r.predicate.uri]), f.log.debug("view= " + a);
620
+ let o;
621
+ i.parentNode.parentNode.id === "outline" && (o = i.parentNode), y.replaceTD(y.outlineObjectTD(t, a, o, r), i);
622
622
  }
623
623
  this.replaceTD = function(e, t) {
624
624
  let n;
625
- F(t) && (n = !0);
626
- for (let e = m.length - 1; e > -1; e--) for (let n = m[e]; n.parentNode; n = n.parentNode) n === t && z(m[e], !1);
627
- t.parentNode.replaceChild(e, t), n && z(e, !0);
625
+ L(t) && (n = !0);
626
+ for (let e = b.length - 1; e > -1; e--) for (let n = b[e]; n.parentNode; n = n.parentNode) n === t && V(b[e], !1);
627
+ t.parentNode.replaceChild(e, t), n && V(e, !0);
628
628
  };
629
- function Q(e, t) {
629
+ function Z(e, t) {
630
630
  let n = null;
631
- for (let t = e.parentNode; t; t = t.parentNode) o.log.debug("level " + t.tagName), t.tagName === "TD" && (n = t);
632
- o.utils.emptyNode(n).appendChild(A(t)), Y(t), n.setAttribute("about", t.toNT());
631
+ for (let t = e.parentNode; t; t = t.parentNode) f.log.debug("level " + t.tagName), t.tagName === "TD" && (n = t);
632
+ f.utils.emptyNode(n).appendChild(M(t)), J(t), n.setAttribute("about", t.toNT());
633
633
  }
634
- f.outlineRefocus = Q, this.GotoFormURI_enterKey = function(e) {
635
- e.keyCode === 13 && f.GotoFormURI(e);
634
+ v.outlineRefocus = Z, this.GotoFormURI_enterKey = function(e) {
635
+ e.keyCode === 13 && v.GotoFormURI(e);
636
636
  }, this.GotoFormURI = function(e) {
637
- te(d.getElementById("UserURI").value);
637
+ se(_.getElementById("UserURI").value);
638
638
  };
639
- function te(e) {
640
- let t = h.sym(e);
639
+ function se(e) {
640
+ let t = x.sym(e);
641
641
  this.GotoSubject(t, !0);
642
642
  }
643
+ let Q = 0;
644
+ function ce(e, t, n) {
645
+ let r = ++Q, i = t.uri, a = n.uri.split("#")[0];
646
+ if (!i.endsWith("/") || !a.startsWith(i) || a === i) return;
647
+ let o = [], s = a.slice(i.length).split("/"), c = i;
648
+ s.forEach((e, t) => {
649
+ e && (c += t < s.length - 1 ? e + "/" : e, o.push(c));
650
+ });
651
+ let l = (t) => Array.from(e.querySelectorAll("td.obj[about]")).find((e) => e.getAttribute("about") === x.sym(t).toNT()), u = (t) => new Promise((n) => {
652
+ let i = l(t);
653
+ if (i) return n(i);
654
+ let a = setTimeout(() => {
655
+ o.disconnect(), n(null);
656
+ }, 1e4), o = new MutationObserver(() => {
657
+ let e = l(t);
658
+ (e || r !== Q) && (clearTimeout(a), o.disconnect(), n(e));
659
+ });
660
+ o.observe(e, {
661
+ childList: !0,
662
+ subtree: !0
663
+ });
664
+ });
665
+ (async () => {
666
+ for (let e of o) {
667
+ let t = await u(e);
668
+ if (!t || r !== Q) return;
669
+ (!t.firstChild || t.firstChild.nodeName !== "TABLE") && Y(t, x.sym(e)), e === o[o.length - 1] && typeof t.scrollIntoView == "function" && t.scrollIntoView({ block: "nearest" });
670
+ }
671
+ })().catch((e) => f.log.warn("outline: could not open " + n.uri + " inside " + i + ": " + e));
672
+ }
643
673
  this.GotoURIinit = function(e) {
644
- let t = h.sym(e);
674
+ let t = x.sym(e);
645
675
  this.GotoSubject(t);
646
- }, this.GotoSubject = function(e, t, n, r, i, a, s = !0) {
647
- let c = b();
648
- s && (!a || a === c) && S(), a ||= c, r && (o.utils.emptyNode(a), a.style.width = "100%");
649
- function l() {
650
- let t = d.createElement("tr");
651
- t.classList.add("outlineRow1"), t.style.verticalAlign = "top", a.appendChild(t);
652
- let n = p.outlineObjectTD(e, void 0, t);
653
- return t.appendChild(n), n;
676
+ }, this.GotoSubject = function(e, t, n, r, i, a, o) {
677
+ let s = u(o) !== "accountMenu", d = E();
678
+ s && (!a || a === d) && D(e), a ||= d, r && (f.utils.emptyNode(a), a.style.width = "100%");
679
+ let p = n && n.subject && n.subject.uri ? n.subject : e;
680
+ function m() {
681
+ let e = _.createElement("tr");
682
+ e.classList.add("outlineRow1"), e.style.verticalAlign = "top", a.appendChild(e);
683
+ let t = y.outlineObjectTD(p, void 0, e);
684
+ return e.appendChild(t), t;
654
685
  }
655
- let u = l();
656
- if (r && Y(e), t && X(u, e, {
686
+ let h = m();
687
+ if (r && J(p), t && (Y(h, p, {
657
688
  pane: n,
658
- solo: r
659
- }), r && d && d.defaultView && d.defaultView.history) {
660
- let t = d.defaultView.history.state || {}, r = n ? { paneName: n.name } : {};
661
- n && n.subject && typeof n.subject.uri == "string" && (r.paneUri = n.subject.uri);
662
- let i = {
663
- ...t,
664
- ...r
665
- };
689
+ solo: r,
690
+ headerOnlyInViewerPod: !s || !!(n && n.subject && n.subject.uri)
691
+ }), r && p !== e && ce(a, p, e)), r && _ && _.defaultView && _.defaultView.history) {
692
+ let t = _.defaultView.history.state || {}, r = document.location.href !== e.uri, i = c(t, {
693
+ pane: n ? {
694
+ name: n.name,
695
+ subject: n.subject && typeof n.subject.uri == "string" ? n.subject.uri : void 0
696
+ } : void 0,
697
+ leavingPage: r,
698
+ viaAccountMenu: !s
699
+ });
666
700
  try {
667
- let n = new URL(document.location.href), r = new URL(e.uri, document.location.href);
668
- n.origin === r.origin && (document.location.href === e.uri ? JSON.stringify(t) !== JSON.stringify(i) && d.defaultView.history.replaceState(i, e.uri, e.uri) : d.defaultView.history.pushState(i, e.uri, e.uri));
701
+ let n = new URL(document.location.href), a = new URL(e.uri, document.location.href);
702
+ n.origin === a.origin && (r ? _.defaultView.history.pushState(i, e.uri, e.uri) : JSON.stringify(t) !== JSON.stringify(i) && _.defaultView.history.replaceState(i, e.uri, e.uri));
669
703
  } catch {}
670
704
  }
671
- return e;
705
+ return r && l(_), e;
672
706
  };
673
- let $ = e(d);
674
- function ne(e) {
707
+ let $ = e(_);
708
+ function le(e) {
675
709
  let n;
676
710
  if (e.termType === "Literal") {
677
- if (n = d.createElement("span"), n.classList.add("objectValue", "objectValue--literal"), n.textContent = e.value, e.datatype && e.datatype.uri) {
678
- let t = o.ns.xsd("").uri;
711
+ if (n = _.createElement("span"), n.classList.add("objectValue", "objectValue--literal"), n.textContent = e.value, e.datatype && e.datatype.uri) {
712
+ let t = f.ns.xsd("").uri;
679
713
  e.datatype.uri.slice(0, t.length) === t && n.classList.add("objectValue--" + e.datatype.uri.slice(t.length));
680
714
  }
681
715
  } else if (e.termType === "NamedNode" || e.termType === "BlankNode") {
682
- if (n = d.createElement("span"), n.classList.add("objectValue", "objectValue--resource"), n.setAttribute("about", e.toNT()), p.appendAccessIcons(h, n, e), e.termType === "NamedNode") {
716
+ if (n = _.createElement("span"), n.classList.add("objectValue", "objectValue--resource"), n.setAttribute("about", e.toNT()), y.appendAccessIcons(x, n, e), e.termType === "NamedNode") {
683
717
  if (e.uri.slice(0, 4) === "tel:") {
684
- let r = e.uri.slice(4), i = d.createElement("a");
685
- n.appendChild(d.createTextNode(r)), i.setAttribute("href", e.uri), i.appendChild(o.utils.AJARImage(t.src.icon_telephone, "phone", "phone " + r, d)), n.appendChild(i), i.firstChild.setAttribute("class", "phoneIcon"), i.firstChild.classList.add("objectValueLinkIcon");
718
+ let r = e.uri.slice(4), i = _.createElement("a");
719
+ n.appendChild(_.createTextNode(r)), i.setAttribute("href", e.uri), i.appendChild(f.utils.AJARImage(t.src.icon_telephone, "phone", "phone " + r, _)), n.appendChild(i), i.firstChild.setAttribute("class", "phoneIcon"), i.firstChild.classList.add("objectValueLinkIcon");
686
720
  } else {
687
- n.appendChild(d.createTextNode(o.utils.label(e)));
688
- let t = o.widgets.linkIcon(d, e);
689
- t.firstChild && t.firstChild.classList.add("objectValueLinkIcon"), n.appendChild(t), o.widgets.makeDraggable(n, e);
721
+ n.appendChild(_.createTextNode(f.utils.label(e)));
722
+ let t = f.widgets.linkIcon(_, e);
723
+ t.firstChild && t.firstChild.classList.add("objectValueLinkIcon"), n.appendChild(t), f.widgets.makeDraggable(n, e);
690
724
  }
691
- } else n.appendChild(d.createTextNode(o.utils.label(e)));
725
+ } else n.appendChild(_.createTextNode(f.utils.label(e)));
692
726
  } else if (e.termType === "Collection") {
693
- n = d.createElement("table"), n.classList.add("tableFullWidth"), n.setAttribute("about", e.toNT());
727
+ n = _.createElement("table"), n.classList.add("tableFullWidth"), n.setAttribute("about", e.toNT());
694
728
  for (let t = 0; t < e.elements.length; t++) {
695
- let r = e.elements[t], i = n.appendChild(d.createElement("tr")), a = i.appendChild(d.createElement("td"));
696
- a.classList.add("obj"), a.setAttribute("notSelectable", "false"), a.setAttribute("about", e.toNT()), a.innerHTML = t + 1 + ")", i.appendChild(p.outlineObjectTD(r));
729
+ let r = e.elements[t], i = n.appendChild(_.createElement("tr")), a = i.appendChild(_.createElement("td"));
730
+ a.classList.add("obj"), a.setAttribute("notSelectable", "false"), a.setAttribute("about", e.toNT()), a.innerHTML = t + 1 + ")", i.appendChild(y.outlineObjectTD(r));
697
731
  }
698
- } else e.termType === "Graph" ? (n = c.byName("dataContentPane").statementsAsTables(e.statements, u), n.setAttribute("class", "nestedFormula")) : (o.log.error("Object " + e + " has unknown term type: " + e.termType), n = d.createTextNode("[unknownTermType:" + e.termType + "]"));
699
- return o.log.debug("contents: " + n.innerHTML), n;
732
+ } else e.termType === "Graph" ? (n = m.byName("dataContentPane").statementsAsTables(e.statements, g), n.setAttribute("class", "nestedFormula")) : (f.log.error("Object " + e + " has unknown term type: " + e.termType), n = _.createTextNode("[unknownTermType:" + e.termType + "]"));
733
+ return f.log.debug("contents: " + n.innerHTML), n;
700
734
  }
701
735
  return this.createTabURI = function() {
702
- d.getElementById("UserURI").value = d.URL + "?uri=" + d.getElementById("UserURI").value;
703
- }, this.UserInput.setSelected = z, this.UserInput.deselectAll = B, this.UserInput.views = $, this.outlineExpand = X, this;
736
+ _.getElementById("UserURI").value = _.URL + "?uri=" + _.getElementById("UserURI").value;
737
+ }, this.UserInput.setSelected = V, this.UserInput.deselectAll = H, this.UserInput.views = $, this.outlineExpand = Y, this;
704
738
  }
705
739
  //#endregion
706
- export { u as default };
740
+ export { g as default };
707
741
 
708
742
  //# sourceMappingURL=manager2.esm.js.map