@pod-os/elements 0.36.0 → 0.37.0-rc.0b98c3c.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 (140) hide show
  1. package/dist/cjs/{chunk.URTPIBTY-DdK9pL5v.js → chunk.URTPIBTY-FtbhZr1d.js} +2 -2
  2. package/dist/cjs/{chunk.XQ2OKYYA-DEkhm1i7.js → chunk.XQ2OKYYA-BpcNJ_Ey.js} +3 -3
  3. package/dist/cjs/{chunk.ZGGPD2XJ-uKZZdqOH.js → chunk.ZGGPD2XJ-DZsyTFqB.js} +1 -1
  4. package/dist/cjs/{class-map-DAZXfKKA.js → class-map-CF_MMTnq.js} +1 -1
  5. package/dist/cjs/elements.cjs.js +3 -3
  6. package/dist/cjs/{index-DCpu_nnH.js → index-CtUr8eOE.js} +525 -1988
  7. package/dist/cjs/{index-FUnpyb19.js → index-LDTTta4S.js} +863 -551
  8. package/dist/cjs/{jsonld-V2RB47OZ-BerQ9IRa.js → jsonld-V2RB47OZ-BWMHCZBW.js} +1 -1
  9. package/dist/cjs/loader.cjs.js +2 -2
  10. package/dist/cjs/pos-add-literal-value_3.cjs.entry.js +6 -6
  11. package/dist/cjs/{pos-add-new-thing_31.cjs.entry.js → pos-add-new-thing_32.cjs.entry.js} +109 -61
  12. package/dist/cjs/pos-app-document-viewer.cjs.entry.js +1 -1
  13. package/dist/cjs/pos-app-generic.cjs.entry.js +1 -1
  14. package/dist/cjs/pos-app-image-viewer.cjs.entry.js +1 -1
  15. package/dist/cjs/pos-app-ldp-container.cjs.entry.js +1 -1
  16. package/dist/cjs/pos-app-rdf-document.cjs.entry.js +1 -1
  17. package/dist/cjs/pos-attachments.cjs.entry.js +2 -2
  18. package/dist/cjs/pos-case.cjs.entry.js +24 -0
  19. package/dist/cjs/pos-container-contents.cjs.entry.js +2 -2
  20. package/dist/cjs/pos-container-item_3.cjs.entry.js +4 -4
  21. package/dist/cjs/pos-document.cjs.entry.js +4 -4
  22. package/dist/cjs/pos-list.cjs.entry.js +1 -1
  23. package/dist/cjs/pos-markdown-document.cjs.entry.js +2 -2
  24. package/dist/cjs/pos-relations_2.cjs.entry.js +1 -1
  25. package/dist/cjs/pos-subjects.cjs.entry.js +2 -2
  26. package/dist/cjs/pos-switch.cjs.entry.js +64 -0
  27. package/dist/cjs/pos-tool-attachments.cjs.entry.js +2 -2
  28. package/dist/cjs/pos-value.cjs.entry.js +1 -1
  29. package/dist/collection/collection-manifest.json +4 -1
  30. package/dist/collection/components/pos-app/pos-app.js +2 -1
  31. package/dist/collection/components/pos-attachments/pos-attachments.js +2 -1
  32. package/dist/collection/components/pos-container-contents/pos-create-new-container-item/pos-create-new-container-item.js +4 -2
  33. package/dist/collection/components/pos-markdown-document/pos-markdown-document.js +2 -1
  34. package/dist/collection/components/pos-navigation/bar/pos-navigation-bar.css +42 -22
  35. package/dist/collection/components/pos-navigation/bar/pos-navigation-bar.js +3 -2
  36. package/dist/collection/components/pos-new-thing-form/pos-new-thing-form.js +1 -1
  37. package/dist/collection/components/pos-router/pos-router.js +1 -1
  38. package/dist/collection/components/pos-select-term/pos-select-term.js +1 -1
  39. package/dist/collection/components/pos-share/openNewTab.js +3 -0
  40. package/dist/collection/components/pos-share/pos-share.css +36 -0
  41. package/dist/collection/components/pos-share/pos-share.js +100 -0
  42. package/dist/collection/components/pos-switch/pos-case/pos-case.js +88 -0
  43. package/dist/collection/components/pos-switch/pos-switch.js +89 -0
  44. package/dist/collection/components/pos-tool-select/pos-tool-select.js +6 -3
  45. package/dist/collection/components/pos-upload/pos-upload.js +7 -4
  46. package/dist/collection/components/pos-user-menu/pos-user-menu.js +1 -1
  47. package/dist/collection/tools/pos-tool-attachments/pos-tool-attachments.js +1 -1
  48. package/dist/components/chunk.IVVHNXMC.js +20 -0
  49. package/dist/components/index.js +1 -1
  50. package/dist/components/index2.js +2 -2
  51. package/dist/components/pos-add-literal-value2.js +1 -1
  52. package/dist/components/pos-app-browser.js +1 -1
  53. package/dist/components/pos-attachments2.js +1 -1
  54. package/dist/components/pos-case.d.ts +11 -0
  55. package/dist/components/pos-case.js +1 -0
  56. package/dist/components/pos-make-findable2.js +1 -1
  57. package/dist/components/pos-navigation-bar2.js +1 -1
  58. package/dist/components/pos-navigation2.js +1 -1
  59. package/dist/components/pos-new-thing-form2.js +1 -1
  60. package/dist/components/pos-router2.js +1 -1
  61. package/dist/components/pos-select-term2.js +1 -1
  62. package/dist/components/pos-share.d.ts +11 -0
  63. package/dist/components/pos-share.js +1 -0
  64. package/dist/components/pos-share2.js +1 -0
  65. package/dist/components/pos-switch.d.ts +11 -0
  66. package/dist/components/pos-switch.js +1 -0
  67. package/dist/components/pos-tool-attachments.js +1 -1
  68. package/dist/components/pos-tool-select2.js +1 -1
  69. package/dist/components/pos-type-index-entries2.js +1 -1
  70. package/dist/components/pos-upload2.js +1 -1
  71. package/dist/components/pos-user-menu2.js +6 -25
  72. package/dist/elements/elements.esm.js +1 -1
  73. package/dist/elements/{p-9ad80b52.entry.js → p-07347eaf.entry.js} +1 -1
  74. package/dist/elements/{p-a9a18aa8.entry.js → p-23465966.entry.js} +1 -1
  75. package/dist/elements/{p-c8ee910c.entry.js → p-3ab681fe.entry.js} +1 -1
  76. package/dist/elements/{p-dff14248.entry.js → p-43ec0395.entry.js} +1 -1
  77. package/dist/elements/p-48f3b092.entry.js +1 -0
  78. package/dist/elements/{p-fe628201.entry.js → p-5b3f911d.entry.js} +1 -1
  79. package/dist/elements/{p-6561f1b7.entry.js → p-5d3c9c45.entry.js} +1 -1
  80. package/dist/elements/p-76e4882d.entry.js +1 -0
  81. package/dist/elements/{p-701f2c84.entry.js → p-780b0e14.entry.js} +34 -34
  82. package/dist/elements/p-9827b860.entry.js +1 -0
  83. package/dist/elements/p-98f9f7d6.entry.js +1 -0
  84. package/dist/elements/p-BKjkoLi4.js +2 -0
  85. package/dist/elements/{p-BkAnMOpW.js → p-Bc1EKYmT.js} +4 -4
  86. package/dist/elements/{p-Doy_38_j.js → p-CdRXVHZH.js} +1 -1
  87. package/dist/elements/p-CelEckSK.js +11 -0
  88. package/dist/elements/p-DEDHdpnD.js +67 -0
  89. package/dist/elements/{p-CrxYqX8r.js → p-Db6M_T3c.js} +7 -7
  90. package/dist/elements/{p-a20b72d8.entry.js → p-c0a8227e.entry.js} +1 -1
  91. package/dist/elements/{p-0e7413e6.entry.js → p-d56da833.entry.js} +1 -1
  92. package/dist/elements/{p-3e18b5dd.entry.js → p-db535410.entry.js} +1 -1
  93. package/dist/elements/p-df626ff5.entry.js +1 -0
  94. package/dist/elements/{p-b5d64c6f.entry.js → p-e2b0460d.entry.js} +1 -1
  95. package/dist/elements/{p-9b74c400.entry.js → p-e3e41963.entry.js} +1 -1
  96. package/dist/elements/{p-b363349c.entry.js → p-f5eacaa1.entry.js} +1 -1
  97. package/dist/elements/{p-52a612ed.entry.js → p-f61ab5a9.entry.js} +1 -1
  98. package/dist/elements/{p-8q-RA2Uq.js → p-k0sEkqnd.js} +3 -3
  99. package/dist/esm/{chunk.URTPIBTY-CNA3-SLq.js → chunk.URTPIBTY-IRBXSr44.js} +2 -2
  100. package/dist/esm/{chunk.XQ2OKYYA-CXNlpYUG.js → chunk.XQ2OKYYA-DeSebP8q.js} +3 -3
  101. package/dist/esm/{chunk.ZGGPD2XJ-BjT6fS1o.js → chunk.ZGGPD2XJ-DNRLq49v.js} +1 -1
  102. package/dist/esm/{class-map-CUYFUkXU.js → class-map-CdQEGha6.js} +1 -1
  103. package/dist/esm/elements.js +4 -4
  104. package/dist/esm/{index-DFqG64hG.js → index-BF-69-JC.js} +863 -551
  105. package/dist/esm/{index-VMHzF3uY.js → index-BKjkoLi4.js} +525 -1988
  106. package/dist/esm/{jsonld-V2RB47OZ-CaIJ08AA.js → jsonld-V2RB47OZ-CWZbzWzV.js} +1 -1
  107. package/dist/esm/loader.js +3 -3
  108. package/dist/esm/pos-add-literal-value_3.entry.js +6 -6
  109. package/dist/esm/{pos-add-new-thing_31.entry.js → pos-add-new-thing_32.entry.js} +109 -62
  110. package/dist/esm/pos-app-document-viewer.entry.js +1 -1
  111. package/dist/esm/pos-app-generic.entry.js +1 -1
  112. package/dist/esm/pos-app-image-viewer.entry.js +1 -1
  113. package/dist/esm/pos-app-ldp-container.entry.js +1 -1
  114. package/dist/esm/pos-app-rdf-document.entry.js +1 -1
  115. package/dist/esm/pos-attachments.entry.js +2 -2
  116. package/dist/esm/pos-case.entry.js +22 -0
  117. package/dist/esm/pos-container-contents.entry.js +2 -2
  118. package/dist/esm/pos-container-item_3.entry.js +4 -4
  119. package/dist/esm/pos-document.entry.js +4 -4
  120. package/dist/esm/pos-list.entry.js +1 -1
  121. package/dist/esm/pos-markdown-document.entry.js +2 -2
  122. package/dist/esm/pos-relations_2.entry.js +1 -1
  123. package/dist/esm/pos-subjects.entry.js +2 -2
  124. package/dist/esm/pos-switch.entry.js +62 -0
  125. package/dist/esm/pos-tool-attachments.entry.js +2 -2
  126. package/dist/esm/pos-value.entry.js +1 -1
  127. package/dist/jest-setup.js +4 -0
  128. package/dist/types/components/pos-share/openNewTab.d.ts +1 -0
  129. package/dist/types/components/pos-share/pos-share.d.ts +26 -0
  130. package/dist/types/components/pos-switch/pos-case/pos-case.d.ts +22 -0
  131. package/dist/types/components/pos-switch/pos-switch.d.ts +19 -0
  132. package/dist/types/components.d.ts +300 -74
  133. package/dist/types/stencil-public-runtime.d.ts +50 -2
  134. package/package.json +5 -4
  135. package/dist/elements/p-0a087865.entry.js +0 -1
  136. package/dist/elements/p-637a38d9.entry.js +0 -1
  137. package/dist/elements/p-8ggjG2YF.js +0 -11
  138. package/dist/elements/p-LoCE14bN.js +0 -67
  139. package/dist/elements/p-VMHzF3uY.js +0 -2
  140. package/dist/elements/p-ac17ed6a.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import{f as t}from"./p-VMHzF3uY.js";var s=Object.defineProperty,i=Object.defineProperties,e=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,l=(t,s)=>(s=Symbol[t])?s:Symbol.for("Symbol."+t),a=t=>{throw TypeError(t)},c=(t,i,e)=>i in t?s(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,d=(t,s)=>{for(var i in s||(s={}))o.call(s,i)&&c(t,i,s[i]);if(r)for(var i of r(s))h.call(s,i)&&c(t,i,s[i]);return t},u=(t,s)=>i(t,n(s)),v=(t,i,n,r)=>{for(var o,h=r>1?void 0:r?e(i,n):i,l=t.length-1;l>=0;l--)(o=t[l])&&(h=(r?o(i,n,h):o(h))||h);return r&&h&&s(i,n,h),h},f=(t,s,i)=>s.has(t)||a("Cannot "+i),p=function(t,s){this[0]=t,this[1]=s},g=t=>{var s,i=t[l("asyncIterator")],e=!1,n={};return null==i?(i=t[l("iterator")](),s=t=>n[t]=s=>i[t](s)):(i=i.call(t),s=t=>n[t]=s=>{if(e){if(e=!1,"throw"===t)throw s;return s}return e=!0,{done:!1,value:new p(new Promise((e=>{var n=i[t](s);n instanceof Object||a("Object expected"),e(n)})),1)}}),n[l("iterator")]=()=>n,s("next"),"throw"in i?s("throw"):n.throw=t=>{throw t},"return"in i&&s("return"),n},w={caret:'\n <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <polyline points="6 9 12 15 18 9"></polyline>\n </svg>\n ',check:'\n <svg part="checked-icon" class="checkbox__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">\n <g stroke="currentColor">\n <g transform="translate(3.428571, 3.428571)">\n <path d="M0,5.71428571 L3.42857143,9.14285714"></path>\n <path d="M9.14285714,0 L3.42857143,9.14285714"></path>\n </g>\n </g>\n </g>\n </svg>\n ',"chevron-down":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>\n </svg>\n ',"chevron-left":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>\n </svg>\n ',"chevron-right":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>\n </svg>\n ',copy:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-copy" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V2Zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H6ZM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1H2Z"/>\n </svg>\n ',eye:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye" viewBox="0 0 16 16">\n <path d="M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z"/>\n <path d="M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z"/>\n </svg>\n ',"eye-slash":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye-slash" viewBox="0 0 16 16">\n <path d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7.028 7.028 0 0 0-2.79.588l.77.771A5.944 5.944 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.134 13.134 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755-.165.165-.337.328-.517.486l.708.709z"/>\n <path d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829l.822.822zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829z"/>\n <path d="M3.35 5.47c-.18.16-.353.322-.518.487A13.134 13.134 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7.029 7.029 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12-.708.708z"/>\n </svg>\n ',eyedropper:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eyedropper" viewBox="0 0 16 16">\n <path d="M13.354.646a1.207 1.207 0 0 0-1.708 0L8.5 3.793l-.646-.647a.5.5 0 1 0-.708.708L8.293 5l-7.147 7.146A.5.5 0 0 0 1 12.5v1.793l-.854.853a.5.5 0 1 0 .708.707L1.707 15H3.5a.5.5 0 0 0 .354-.146L11 7.707l1.146 1.147a.5.5 0 0 0 .708-.708l-.647-.646 3.147-3.146a1.207 1.207 0 0 0 0-1.708l-2-2zM2 12.707l7-7L10.293 7l-7 7H2v-1.293z"></path>\n </svg>\n ',"grip-vertical":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-grip-vertical" viewBox="0 0 16 16">\n <path d="M7 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path>\n </svg>\n ',indeterminate:'\n <svg part="indeterminate-icon" class="checkbox__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">\n <g stroke="currentColor" stroke-width="2">\n <g transform="translate(2.285714, 6.857143)">\n <path d="M10.2857143,1.14285714 L1.14285714,1.14285714"></path>\n </g>\n </g>\n </g>\n </svg>\n ',"person-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person-fill" viewBox="0 0 16 16">\n <path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>\n </svg>\n ',"play-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-play-fill" viewBox="0 0 16 16">\n <path d="m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"></path>\n </svg>\n ',"pause-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pause-fill" viewBox="0 0 16 16">\n <path d="M5.5 3.5A1.5 1.5 0 0 1 7 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5zm5 0A1.5 1.5 0 0 1 12 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5z"></path>\n </svg>\n ',radio:'\n <svg part="checked-icon" class="radio__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g fill="currentColor">\n <circle cx="8" cy="8" r="3.42857143"></circle>\n </g>\n </g>\n </svg>\n ',"star-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">\n <path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>\n </svg>\n ',"x-lg":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16">\n <path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"/>\n </svg>\n ',"x-circle-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle-fill" viewBox="0 0 16 16">\n <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"></path>\n </svg>\n '},b=[{name:"default",resolver:s=>t(`assets/icons/${s}.svg`)},{name:"system",resolver:t=>t in w?`data:image/svg+xml,${encodeURIComponent(w[t])}`:""}],m=[];function y(t){return b.find((s=>s.name===t))}
1
+ import{f as t}from"./p-BKjkoLi4.js";var s=Object.defineProperty,i=Object.defineProperties,e=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,l=(t,s)=>(s=Symbol[t])?s:Symbol.for("Symbol."+t),a=t=>{throw TypeError(t)},c=(t,i,e)=>i in t?s(t,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[i]=e,d=(t,s)=>{for(var i in s||(s={}))o.call(s,i)&&c(t,i,s[i]);if(r)for(var i of r(s))h.call(s,i)&&c(t,i,s[i]);return t},u=(t,s)=>i(t,n(s)),v=(t,i,n,r)=>{for(var o,h=r>1?void 0:r?e(i,n):i,l=t.length-1;l>=0;l--)(o=t[l])&&(h=(r?o(i,n,h):o(h))||h);return r&&h&&s(i,n,h),h},f=(t,s,i)=>s.has(t)||a("Cannot "+i),p=function(t,s){this[0]=t,this[1]=s},g=t=>{var s,i=t[l("asyncIterator")],e=!1,n={};return null==i?(i=t[l("iterator")](),s=t=>n[t]=s=>i[t](s)):(i=i.call(t),s=t=>n[t]=s=>{if(e){if(e=!1,"throw"===t)throw s;return s}return e=!0,{done:!1,value:new p(new Promise((e=>{var n=i[t](s);n instanceof Object||a("Object expected"),e(n)})),1)}}),n[l("iterator")]=()=>n,s("next"),"throw"in i?s("throw"):n.throw=t=>{throw t},"return"in i&&s("return"),n},w={caret:'\n <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n <polyline points="6 9 12 15 18 9"></polyline>\n </svg>\n ',check:'\n <svg part="checked-icon" class="checkbox__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">\n <g stroke="currentColor">\n <g transform="translate(3.428571, 3.428571)">\n <path d="M0,5.71428571 L3.42857143,9.14285714"></path>\n <path d="M9.14285714,0 L3.42857143,9.14285714"></path>\n </g>\n </g>\n </g>\n </svg>\n ',"chevron-down":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/>\n </svg>\n ',"chevron-left":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/>\n </svg>\n ',"chevron-right":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/>\n </svg>\n ',copy:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-copy" viewBox="0 0 16 16">\n <path fill-rule="evenodd" d="M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V2Zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H6ZM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1H2Z"/>\n </svg>\n ',eye:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye" viewBox="0 0 16 16">\n <path d="M16 8s-3-5.5-8-5.5S0 8 0 8s3 5.5 8 5.5S16 8 16 8zM1.173 8a13.133 13.133 0 0 1 1.66-2.043C4.12 4.668 5.88 3.5 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.133 13.133 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755C11.879 11.332 10.119 12.5 8 12.5c-2.12 0-3.879-1.168-5.168-2.457A13.134 13.134 0 0 1 1.172 8z"/>\n <path d="M8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM4.5 8a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0z"/>\n </svg>\n ',"eye-slash":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eye-slash" viewBox="0 0 16 16">\n <path d="M13.359 11.238C15.06 9.72 16 8 16 8s-3-5.5-8-5.5a7.028 7.028 0 0 0-2.79.588l.77.771A5.944 5.944 0 0 1 8 3.5c2.12 0 3.879 1.168 5.168 2.457A13.134 13.134 0 0 1 14.828 8c-.058.087-.122.183-.195.288-.335.48-.83 1.12-1.465 1.755-.165.165-.337.328-.517.486l.708.709z"/>\n <path d="M11.297 9.176a3.5 3.5 0 0 0-4.474-4.474l.823.823a2.5 2.5 0 0 1 2.829 2.829l.822.822zm-2.943 1.299.822.822a3.5 3.5 0 0 1-4.474-4.474l.823.823a2.5 2.5 0 0 0 2.829 2.829z"/>\n <path d="M3.35 5.47c-.18.16-.353.322-.518.487A13.134 13.134 0 0 0 1.172 8l.195.288c.335.48.83 1.12 1.465 1.755C4.121 11.332 5.881 12.5 8 12.5c.716 0 1.39-.133 2.02-.36l.77.772A7.029 7.029 0 0 1 8 13.5C3 13.5 0 8 0 8s.939-1.721 2.641-3.238l.708.709zm10.296 8.884-12-12 .708-.708 12 12-.708.708z"/>\n </svg>\n ',eyedropper:'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-eyedropper" viewBox="0 0 16 16">\n <path d="M13.354.646a1.207 1.207 0 0 0-1.708 0L8.5 3.793l-.646-.647a.5.5 0 1 0-.708.708L8.293 5l-7.147 7.146A.5.5 0 0 0 1 12.5v1.793l-.854.853a.5.5 0 1 0 .708.707L1.707 15H3.5a.5.5 0 0 0 .354-.146L11 7.707l1.146 1.147a.5.5 0 0 0 .708-.708l-.647-.646 3.147-3.146a1.207 1.207 0 0 0 0-1.708l-2-2zM2 12.707l7-7L10.293 7l-7 7H2v-1.293z"></path>\n </svg>\n ',"grip-vertical":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-grip-vertical" viewBox="0 0 16 16">\n <path d="M7 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"></path>\n </svg>\n ',indeterminate:'\n <svg part="indeterminate-icon" class="checkbox__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round">\n <g stroke="currentColor" stroke-width="2">\n <g transform="translate(2.285714, 6.857143)">\n <path d="M10.2857143,1.14285714 L1.14285714,1.14285714"></path>\n </g>\n </g>\n </g>\n </svg>\n ',"person-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-person-fill" viewBox="0 0 16 16">\n <path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/>\n </svg>\n ',"play-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-play-fill" viewBox="0 0 16 16">\n <path d="m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"></path>\n </svg>\n ',"pause-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-pause-fill" viewBox="0 0 16 16">\n <path d="M5.5 3.5A1.5 1.5 0 0 1 7 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5zm5 0A1.5 1.5 0 0 1 12 5v6a1.5 1.5 0 0 1-3 0V5a1.5 1.5 0 0 1 1.5-1.5z"></path>\n </svg>\n ',radio:'\n <svg part="checked-icon" class="radio__icon" viewBox="0 0 16 16">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g fill="currentColor">\n <circle cx="8" cy="8" r="3.42857143"></circle>\n </g>\n </g>\n </svg>\n ',"star-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">\n <path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>\n </svg>\n ',"x-lg":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-lg" viewBox="0 0 16 16">\n <path d="M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854Z"/>\n </svg>\n ',"x-circle-fill":'\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle-fill" viewBox="0 0 16 16">\n <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"></path>\n </svg>\n '},b=[{name:"default",resolver:s=>t(`assets/icons/${s}.svg`)},{name:"system",resolver:t=>t in w?`data:image/svg+xml,${encodeURIComponent(w[t])}`:""}],m=[];function y(t){return b.find((s=>s.name===t))}
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2019 Google LLC
@@ -8,18 +8,18 @@ import{f as t}from"./p-VMHzF3uY.js";var s=Object.defineProperty,i=Object.defineP
8
8
  * @license
9
9
  * Copyright 2017 Google LLC
10
10
  * SPDX-License-Identifier: BSD-3-Clause
11
- */,{is:A,defineProperty:L,getOwnPropertyDescriptor:_,getOwnPropertyNames:E,getOwnPropertySymbols:O,getPrototypeOf:j}=Object,B=globalThis,U=B.trustedTypes,P=U?U.emptyScript:"",T=B.reactiveElementPolyfillSupport,I={toAttribute(t,s){switch(s){case Boolean:t=t?P:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},H=(t,s)=>!A(t,s),N={attribute:!0,type:String,converter:I,reflect:!1,useDefault:!1,hasChanged:H};Symbol.metadata??=Symbol("metadata"),B.litPropertyMetadata??=new WeakMap;let R=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=N){if(s.state&&(s.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((s=Object.create(s)).wrapped=!0),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),e=this.getPropertyDescriptor(t,i,s);void 0!==e&&L(this.prototype,t,e)}}static getPropertyDescriptor(t,s,i){const{get:e,set:n}=_(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get:e,set(s){const r=e?.call(this);n?.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??N}static _$Ei(){if(this.hasOwnProperty("elementProperties"))return;const t=j(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty("finalized"))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty("properties")){const t=this.properties,s=[...E(t),...O(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const s=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)s.unshift(z(t))}else void 0!==t&&s.push(z(t));return s}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,s)=>{if(C)t.adoptedStyleSheets=s.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of s){const s=document.createElement("style"),e=x.litNonce;void 0!==e&&s.setAttribute("nonce",e),s.textContent=i.cssText,t.appendChild(s)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$ET(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const n=(void 0!==i.converter?.toAttribute?i.converter:I).toAttribute(s,i.type);this._$Em=t,null==n?this.removeAttribute(e):this.setAttribute(e,n),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:I;this._$Em=e;const r=n.fromAttribute(s,t.type);this[e]=r??this._$Ej?.get(e)??r,this._$Em=null}}requestUpdate(t,s,i){if(void 0!==t){const e=this.constructor,n=this[t];if(i??=e.getPropertyOptions(t),!((i.hasChanged??H)(n,s)||i.useDefault&&i.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(e._$Eu(t,i))))return;this.C(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,s,{useDefault:i,reflect:e,wrapped:n},r){i&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??s??this[t]),!0!==n||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||i||(s=void 0),this._$AL.set(t,s)),!0===e&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t){const{wrapped:t}=i,e=this[s];!0!==t||this._$AL.has(s)||void 0===e||this.C(s,void 0,i,e)}}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((t=>this._$ET(t,this[t]))),this._$EM()}updated(t){}firstUpdated(t){}};R.elementStyles=[],R.shadowRootOptions={mode:"open"},R.elementProperties=new Map,R.finalized=new Map,T?.({ReactiveElement:R}),(B.reactiveElementVersions??=[]).push("2.1.1");
11
+ */,{is:A,defineProperty:L,getOwnPropertyDescriptor:_,getOwnPropertyNames:E,getOwnPropertySymbols:O,getPrototypeOf:j}=Object,B=globalThis,U=B.trustedTypes,P=U?U.emptyScript:"",T=B.reactiveElementPolyfillSupport,I={toAttribute(t,s){switch(s){case Boolean:t=t?P:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},N=(t,s)=>!A(t,s),R={attribute:!0,type:String,converter:I,reflect:!1,useDefault:!1,hasChanged:N};Symbol.metadata??=Symbol("metadata"),B.litPropertyMetadata??=new WeakMap;let H=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=R){if(s.state&&(s.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((s=Object.create(s)).wrapped=!0),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),e=this.getPropertyDescriptor(t,i,s);void 0!==e&&L(this.prototype,t,e)}}static getPropertyDescriptor(t,s,i){const{get:e,set:n}=_(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get:e,set(s){const r=e?.call(this);n?.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??R}static _$Ei(){if(this.hasOwnProperty("elementProperties"))return;const t=j(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty("finalized"))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty("properties")){const t=this.properties,s=[...E(t),...O(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const s=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)s.unshift(z(t))}else void 0!==t&&s.push(z(t));return s}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((t,s)=>{if(C)t.adoptedStyleSheets=s.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of s){const s=document.createElement("style"),e=x.litNonce;void 0!==e&&s.setAttribute("nonce",e),s.textContent=i.cssText,t.appendChild(s)}})(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$ET(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const n=(void 0!==i.converter?.toAttribute?i.converter:I).toAttribute(s,i.type);this._$Em=t,null==n?this.removeAttribute(e):this.setAttribute(e,n),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:I;this._$Em=e;const r=n.fromAttribute(s,t.type);this[e]=r??this._$Ej?.get(e)??r,this._$Em=null}}requestUpdate(t,s,i){if(void 0!==t){const e=this.constructor,n=this[t];if(i??=e.getPropertyOptions(t),!((i.hasChanged??N)(n,s)||i.useDefault&&i.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(e._$Eu(t,i))))return;this.C(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,s,{useDefault:i,reflect:e,wrapped:n},r){i&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??s??this[t]),!0!==n||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||i||(s=void 0),this._$AL.set(t,s)),!0===e&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t){const{wrapped:t}=i,e=this[s];!0!==t||this._$AL.has(s)||void 0===e||this.C(s,void 0,i,e)}}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EM()}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((t=>this._$ET(t,this[t]))),this._$EM()}updated(t){}firstUpdated(t){}};H.elementStyles=[],H.shadowRootOptions={mode:"open"},H.elementProperties=new Map,H.finalized=new Map,T?.({ReactiveElement:H}),(B.reactiveElementVersions??=[]).push("2.1.1");
12
12
  /**
13
13
  * @license
14
14
  * Copyright 2017 Google LLC
15
15
  * SPDX-License-Identifier: BSD-3-Clause
16
16
  */
17
- const V=globalThis,D=V.trustedTypes,Z=D?D.createPolicy("lit-html",{createHTML:t=>t}):void 0,W="$lit$",F=`lit$${Math.random().toFixed(9).slice(2)}$`,J="?"+F,q=`<${J}>`,K=document,Y=()=>K.createComment(""),G=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Q=Array.isArray,X="[ \t\n\f\r]",tt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,st=/-->/g,it=/>/g,et=RegExp(`>|${X}(?:([^\\s"'>=/]+)(${X}*=${X}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),nt=/'/g,rt=/"/g,ot=/^(?:script|style|textarea|title)$/i,ht=(t,...s)=>({_$litType$:1,strings:t,values:s}),lt=Symbol.for("lit-noChange"),at=Symbol.for("lit-nothing"),ct=new WeakMap,dt=K.createTreeWalker(K,129);function ut(t,s){if(!Q(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Z?Z.createHTML(s):s}const vt=(t,s)=>{const i=t.length-1,e=[];let n,r=2===s?"<svg>":3===s?"<math>":"",o=tt;for(let s=0;s<i;s++){const i=t[s];let h,l,a=-1,c=0;for(;c<i.length&&(o.lastIndex=c,l=o.exec(i),null!==l);)c=o.lastIndex,o===tt?"!--"===l[1]?o=st:void 0!==l[1]?o=it:void 0!==l[2]?(ot.test(l[2])&&(n=RegExp("</"+l[2],"g")),o=et):void 0!==l[3]&&(o=et):o===et?">"===l[0]?(o=n??tt,a=-1):void 0===l[1]?a=-2:(a=o.lastIndex-l[2].length,h=l[1],o=void 0===l[3]?et:'"'===l[3]?rt:nt):o===rt||o===nt?o=et:o===st||o===it?o=tt:(o=et,n=void 0);const d=o===et&&t[s+1].startsWith("/>")?" ":"";r+=o===tt?i+q:a>=0?(e.push(h),i.slice(0,a)+W+i.slice(a)+F+d):i+F+(-2===a?s:d)}return[ut(t,r+(t[i]||"<?>")+(2===s?"</svg>":3===s?"</math>":"")),e]};class ft{constructor({strings:t,_$litType$:s},i){let e;this.parts=[];let n=0,r=0;const o=t.length-1,h=this.parts,[l,a]=vt(t,s);if(this.el=ft.createElement(l,i),dt.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(e=dt.nextNode())&&h.length<o;){if(1===e.nodeType){if(e.hasAttributes())for(const t of e.getAttributeNames())if(t.endsWith(W)){const s=a[r++],i=e.getAttribute(t).split(F),o=/([.?@])?(.*)/.exec(s);h.push({type:1,index:n,name:o[2],strings:i,ctor:"."===o[1]?mt:"?"===o[1]?yt:"@"===o[1]?xt:bt}),e.removeAttribute(t)}else t.startsWith(F)&&(h.push({type:6,index:n}),e.removeAttribute(t));if(ot.test(e.tagName)){const t=e.textContent.split(F),s=t.length-1;if(s>0){e.textContent=D?D.emptyScript:"";for(let i=0;i<s;i++)e.append(t[i],Y()),dt.nextNode(),h.push({type:2,index:++n});e.append(t[s],Y())}}}else if(8===e.nodeType)if(e.data===J)h.push({type:2,index:n});else{let t=-1;for(;-1!==(t=e.data.indexOf(F,t+1));)h.push({type:7,index:n}),t+=F.length-1}n++}}static createElement(t,s){const i=K.createElement("template");return i.innerHTML=t,i}}function pt(t,s,i=t,e){if(s===lt)return s;let n=void 0!==e?i._$Co?.[e]:i._$Cl;const r=G(s)?void 0:s._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),void 0===r?n=void 0:(n=new r(t),n._$AT(t,i,e)),void 0!==e?(i._$Co??=[])[e]=n:i._$Cl=n),void 0!==n&&(s=pt(t,n._$AS(t,s.values),n,e)),s}class gt{constructor(t,s){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=s}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:s},parts:i}=this._$AD,e=(t?.creationScope??K).importNode(s,!0);dt.currentNode=e;let n=dt.nextNode(),r=0,o=0,h=i[0];for(;void 0!==h;){if(r===h.index){let s;2===h.type?s=new wt(n,n.nextSibling,this,t):1===h.type?s=new h.ctor(n,h.name,h.strings,this,t):6===h.type&&(s=new Ct(n,this,t)),this._$AV.push(s),h=i[++o]}r!==h?.index&&(n=dt.nextNode(),r++)}return dt.currentNode=K,e}p(t){let s=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,s),s+=i.strings.length-2):i._$AI(t[s])),s++}}class wt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,s,i,e){this.type=2,this._$AH=at,this._$AN=void 0,this._$AA=t,this._$AB=s,this._$AM=i,this.options=e,this._$Cv=e?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const s=this._$AM;return void 0!==s&&11===t?.nodeType&&(t=s.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,s=this){t=pt(this,t,s),G(t)?t===at||null==t||""===t?(this._$AH!==at&&this._$AR(),this._$AH=at):t!==this._$AH&&t!==lt&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>Q(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==at&&G(this._$AH)?this._$AA.nextSibling.data=t:this.T(K.createTextNode(t)),this._$AH=t}$(t){const{values:s,_$litType$:i}=t,e="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=ft.createElement(ut(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===e)this._$AH.p(s);else{const t=new gt(e,this),i=t.u(this.options);t.p(s),this.T(i),this._$AH=t}}_$AC(t){let s=ct.get(t.strings);return void 0===s&&ct.set(t.strings,s=new ft(t)),s}k(t){Q(this._$AH)||(this._$AH=[],this._$AR());const s=this._$AH;let i,e=0;for(const n of t)e===s.length?s.push(i=new wt(this.O(Y()),this.O(Y()),this,this.options)):i=s[e],i._$AI(n),e++;e<s.length&&(this._$AR(i&&i._$AB.nextSibling,e),s.length=e)}_$AR(t=this._$AA.nextSibling,s){for(this._$AP?.(!1,!0,s);t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class bt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,s,i,e,n){this.type=1,this._$AH=at,this._$AN=void 0,this.element=t,this.name=s,this._$AM=e,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=at}_$AI(t,s=this,i,e){const n=this.strings;let r=!1;if(void 0===n)t=pt(this,t,s,0),r=!G(t)||t!==this._$AH&&t!==lt,r&&(this._$AH=t);else{const e=t;let o,h;for(t=n[0],o=0;o<n.length-1;o++)h=pt(this,e[i+o],s,o),h===lt&&(h=this._$AH[o]),r||=!G(h)||h!==this._$AH[o],h===at?t=at:t!==at&&(t+=(h??"")+n[o+1]),this._$AH[o]=h}r&&!e&&this.j(t)}j(t){t===at?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class mt extends bt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===at?void 0:t}}class yt extends bt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==at)}}class xt extends bt{constructor(t,s,i,e,n){super(t,s,i,e,n),this.type=5}_$AI(t,s=this){if((t=pt(this,t,s,0)??at)===lt)return;const i=this._$AH,e=t===at&&i!==at||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==at&&(i===at||e);e&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Ct{constructor(t,s,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=s,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){pt(this,t)}}const St=V.litHtmlPolyfillSupport;St?.(ft,wt),(V.litHtmlVersions??=[]).push("3.3.1");const Mt=globalThis;
17
+ const V=globalThis,D=V.trustedTypes,Z=D?D.createPolicy("lit-html",{createHTML:t=>t}):void 0,W="$lit$",J=`lit$${Math.random().toFixed(9).slice(2)}$`,K="?"+J,q=`<${K}>`,F=document,G=()=>F.createComment(""),Q=t=>null===t||"object"!=typeof t&&"function"!=typeof t,X=Array.isArray,Y="[ \t\n\f\r]",tt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,st=/-->/g,it=/>/g,et=RegExp(`>|${Y}(?:([^\\s"'>=/]+)(${Y}*=${Y}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),nt=/'/g,rt=/"/g,ot=/^(?:script|style|textarea|title)$/i,ht=(t,...s)=>({_$litType$:1,strings:t,values:s}),lt=Symbol.for("lit-noChange"),at=Symbol.for("lit-nothing"),ct=new WeakMap,dt=F.createTreeWalker(F,129);function ut(t,s){if(!X(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Z?Z.createHTML(s):s}const vt=(t,s)=>{const i=t.length-1,e=[];let n,r=2===s?"<svg>":3===s?"<math>":"",o=tt;for(let s=0;s<i;s++){const i=t[s];let h,l,a=-1,c=0;for(;c<i.length&&(o.lastIndex=c,l=o.exec(i),null!==l);)c=o.lastIndex,o===tt?"!--"===l[1]?o=st:void 0!==l[1]?o=it:void 0!==l[2]?(ot.test(l[2])&&(n=RegExp("</"+l[2],"g")),o=et):void 0!==l[3]&&(o=et):o===et?">"===l[0]?(o=n??tt,a=-1):void 0===l[1]?a=-2:(a=o.lastIndex-l[2].length,h=l[1],o=void 0===l[3]?et:'"'===l[3]?rt:nt):o===rt||o===nt?o=et:o===st||o===it?o=tt:(o=et,n=void 0);const d=o===et&&t[s+1].startsWith("/>")?" ":"";r+=o===tt?i+q:a>=0?(e.push(h),i.slice(0,a)+W+i.slice(a)+J+d):i+J+(-2===a?s:d)}return[ut(t,r+(t[i]||"<?>")+(2===s?"</svg>":3===s?"</math>":"")),e]};class ft{constructor({strings:t,_$litType$:s},i){let e;this.parts=[];let n=0,r=0;const o=t.length-1,h=this.parts,[l,a]=vt(t,s);if(this.el=ft.createElement(l,i),dt.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(e=dt.nextNode())&&h.length<o;){if(1===e.nodeType){if(e.hasAttributes())for(const t of e.getAttributeNames())if(t.endsWith(W)){const s=a[r++],i=e.getAttribute(t).split(J),o=/([.?@])?(.*)/.exec(s);h.push({type:1,index:n,name:o[2],strings:i,ctor:"."===o[1]?mt:"?"===o[1]?yt:"@"===o[1]?xt:bt}),e.removeAttribute(t)}else t.startsWith(J)&&(h.push({type:6,index:n}),e.removeAttribute(t));if(ot.test(e.tagName)){const t=e.textContent.split(J),s=t.length-1;if(s>0){e.textContent=D?D.emptyScript:"";for(let i=0;i<s;i++)e.append(t[i],G()),dt.nextNode(),h.push({type:2,index:++n});e.append(t[s],G())}}}else if(8===e.nodeType)if(e.data===K)h.push({type:2,index:n});else{let t=-1;for(;-1!==(t=e.data.indexOf(J,t+1));)h.push({type:7,index:n}),t+=J.length-1}n++}}static createElement(t,s){const i=F.createElement("template");return i.innerHTML=t,i}}function pt(t,s,i=t,e){if(s===lt)return s;let n=void 0!==e?i._$Co?.[e]:i._$Cl;const r=Q(s)?void 0:s._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),void 0===r?n=void 0:(n=new r(t),n._$AT(t,i,e)),void 0!==e?(i._$Co??=[])[e]=n:i._$Cl=n),void 0!==n&&(s=pt(t,n._$AS(t,s.values),n,e)),s}class gt{constructor(t,s){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=s}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:s},parts:i}=this._$AD,e=(t?.creationScope??F).importNode(s,!0);dt.currentNode=e;let n=dt.nextNode(),r=0,o=0,h=i[0];for(;void 0!==h;){if(r===h.index){let s;2===h.type?s=new wt(n,n.nextSibling,this,t):1===h.type?s=new h.ctor(n,h.name,h.strings,this,t):6===h.type&&(s=new Ct(n,this,t)),this._$AV.push(s),h=i[++o]}r!==h?.index&&(n=dt.nextNode(),r++)}return dt.currentNode=F,e}p(t){let s=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,s),s+=i.strings.length-2):i._$AI(t[s])),s++}}class wt{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,s,i,e){this.type=2,this._$AH=at,this._$AN=void 0,this._$AA=t,this._$AB=s,this._$AM=i,this.options=e,this._$Cv=e?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const s=this._$AM;return void 0!==s&&11===t?.nodeType&&(t=s.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,s=this){t=pt(this,t,s),Q(t)?t===at||null==t||""===t?(this._$AH!==at&&this._$AR(),this._$AH=at):t!==this._$AH&&t!==lt&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>X(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==at&&Q(this._$AH)?this._$AA.nextSibling.data=t:this.T(F.createTextNode(t)),this._$AH=t}$(t){const{values:s,_$litType$:i}=t,e="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=ft.createElement(ut(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===e)this._$AH.p(s);else{const t=new gt(e,this),i=t.u(this.options);t.p(s),this.T(i),this._$AH=t}}_$AC(t){let s=ct.get(t.strings);return void 0===s&&ct.set(t.strings,s=new ft(t)),s}k(t){X(this._$AH)||(this._$AH=[],this._$AR());const s=this._$AH;let i,e=0;for(const n of t)e===s.length?s.push(i=new wt(this.O(G()),this.O(G()),this,this.options)):i=s[e],i._$AI(n),e++;e<s.length&&(this._$AR(i&&i._$AB.nextSibling,e),s.length=e)}_$AR(t=this._$AA.nextSibling,s){for(this._$AP?.(!1,!0,s);t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class bt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,s,i,e,n){this.type=1,this._$AH=at,this._$AN=void 0,this.element=t,this.name=s,this._$AM=e,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=at}_$AI(t,s=this,i,e){const n=this.strings;let r=!1;if(void 0===n)t=pt(this,t,s,0),r=!Q(t)||t!==this._$AH&&t!==lt,r&&(this._$AH=t);else{const e=t;let o,h;for(t=n[0],o=0;o<n.length-1;o++)h=pt(this,e[i+o],s,o),h===lt&&(h=this._$AH[o]),r||=!Q(h)||h!==this._$AH[o],h===at?t=at:t!==at&&(t+=(h??"")+n[o+1]),this._$AH[o]=h}r&&!e&&this.j(t)}j(t){t===at?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class mt extends bt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===at?void 0:t}}class yt extends bt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==at)}}class xt extends bt{constructor(t,s,i,e,n){super(t,s,i,e,n),this.type=5}_$AI(t,s=this){if((t=pt(this,t,s,0)??at)===lt)return;const i=this._$AH,e=t===at&&i!==at||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==at&&(i===at||e);e&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class Ct{constructor(t,s,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=s,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){pt(this,t)}}const St=V.litHtmlPolyfillSupport;St?.(ft,wt),(V.litHtmlVersions??=[]).push("3.3.1");const Mt=globalThis;
18
18
  /**
19
19
  * @license
20
20
  * Copyright 2017 Google LLC
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
- */class $t extends R{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,s,i)=>{const e=i?.renderBefore??s;let n=e._$litPart$;if(void 0===n){const t=i?.renderBefore??null;e._$litPart$=n=new wt(s.insertBefore(Y(),t),t,void 0,i??{})}return n._$AI(t),n})(s,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return lt}}$t._$litElement$=!0,$t.finalized=!0,Mt.litElementHydrateSupport?.({LitElement:$t});const kt=Mt.litElementPolyfillSupport;kt?.({LitElement:$t}),(Mt.litElementVersions??=[]).push("4.2.1");var zt=k`
22
+ */class $t extends H{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=((t,s,i)=>{const e=i?.renderBefore??s;let n=e._$litPart$;if(void 0===n){const t=i?.renderBefore??null;e._$litPart$=n=new wt(s.insertBefore(G(),t),t,void 0,i??{})}return n._$AI(t),n})(s,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return lt}}$t._$litElement$=!0,$t.finalized=!0,Mt.litElementHydrateSupport?.({LitElement:$t});const kt=Mt.litElementPolyfillSupport;kt?.({LitElement:$t}),(Mt.litElementVersions??=[]).push("4.2.1");var zt=k`
23
23
  :host {
24
24
  display: inline-block;
25
25
  width: 1em;
@@ -51,7 +51,7 @@ const V=globalThis,D=V.trustedTypes,Z=D?D.createPolicy("lit-html",{createHTML:t=
51
51
  * @license
52
52
  * Copyright 2017 Google LLC
53
53
  * SPDX-License-Identifier: BSD-3-Clause
54
- */;const _t={attribute:!0,type:String,converter:I,reflect:!1,hasChanged:H},Et=(t=_t,s,i)=>{const{kind:e,metadata:n}=i;let r=globalThis.litPropertyMetadata.get(n);if(void 0===r&&globalThis.litPropertyMetadata.set(n,r=new Map),"setter"===e&&((t=Object.create(t)).wrapped=!0),r.set(i.name,t),"accessor"===e){const{name:e}=i;return{set(i){const n=s.get.call(this);s.set.call(this,i),this.requestUpdate(e,n,t)},init(s){return void 0!==s&&this.C(e,void 0,t,s),s}}}if("setter"===e){const{name:e}=i;return function(i){const n=this[e];s.call(this,i),this.requestUpdate(e,n,t)}}throw Error("Unsupported decorator location: "+e)};function Ot(t){return(s,i)=>"object"==typeof i?Et(t,s,i):((t,s,i)=>{const e=s.hasOwnProperty(i);return s.constructor.createProperty(i,t),e?Object.getOwnPropertyDescriptor(s,i):void 0})(t,s,i)
54
+ */;const _t={attribute:!0,type:String,converter:I,reflect:!1,hasChanged:N},Et=(t=_t,s,i)=>{const{kind:e,metadata:n}=i;let r=globalThis.litPropertyMetadata.get(n);if(void 0===r&&globalThis.litPropertyMetadata.set(n,r=new Map),"setter"===e&&((t=Object.create(t)).wrapped=!0),r.set(i.name,t),"accessor"===e){const{name:e}=i;return{set(i){const n=s.get.call(this);s.set.call(this,i),this.requestUpdate(e,n,t)},init(s){return void 0!==s&&this.C(e,void 0,t,s),s}}}if("setter"===e){const{name:e}=i;return function(i){const n=this[e];s.call(this,i),this.requestUpdate(e,n,t)}}throw Error("Unsupported decorator location: "+e)};function Ot(t){return(s,i)=>"object"==typeof i?Et(t,s,i):((t,s,i)=>{const e=s.hasOwnProperty(i);return s.constructor.createProperty(i,t),e?Object.getOwnPropertyDescriptor(s,i):void 0})(t,s,i)
55
55
  /**
56
56
  * @license
57
57
  * Copyright 2017 Google LLC
@@ -62,6 +62,6 @@ const V=globalThis,D=V.trustedTypes,Z=D?D.createPolicy("lit-html",{createHTML:t=
62
62
  * Copyright 2020 Google LLC
63
63
  * SPDX-License-Identifier: BSD-3-Clause
64
64
  */
65
- const Pt=t=>void 0===t.strings;var Tt,It=Symbol(),Ht=Symbol(),Nt=new Map,Rt=class extends Ut{constructor(){super(...arguments),this.initialRender=!1,this.svg=null,this.label="",this.library="default"}async resolveIcon(t,s){var i;let e;if(null==s?void 0:s.spriteSheet)return this.svg=ht`<svg part="svg">
65
+ const Pt=t=>void 0===t.strings;var Tt,It=Symbol(),Nt=Symbol(),Rt=new Map,Ht=class extends Ut{constructor(){super(...arguments),this.initialRender=!1,this.svg=null,this.label="",this.library="default"}async resolveIcon(t,s){var i;let e;if(null==s?void 0:s.spriteSheet)return this.svg=ht`<svg part="svg">
66
66
  <use part="use" href="${t}"></use>
67
- </svg>`,this.svg;try{if(e=await fetch(t,{mode:"cors"}),!e.ok)return 410===e.status?It:Ht}catch(t){return Ht}try{const t=document.createElement("div");t.innerHTML=await e.text();const s=t.firstElementChild;if("svg"!==(null==(i=null==s?void 0:s.tagName)?void 0:i.toLowerCase()))return It;Tt||(Tt=new DOMParser);const n=Tt.parseFromString(s.outerHTML,"text/html").body.querySelector("svg");return n?(n.part.add("svg"),document.adoptNode(n)):It}catch(t){return It}}connectedCallback(){super.connectedCallback(),m.push(this)}firstUpdated(){this.initialRender=!0,this.setIcon()}disconnectedCallback(){var t;super.disconnectedCallback(),t=this,m=m.filter((s=>s!==t))}getIconSource(){const t=y(this.library);return this.name&&t?{url:t.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}handleLabelChange(){"string"==typeof this.label&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var t;const{url:s,fromLibrary:i}=this.getIconSource(),e=i?y(this.library):void 0;if(!s)return void(this.svg=null);let n=Nt.get(s);if(n||(n=this.resolveIcon(s,e),Nt.set(s,n)),!this.initialRender)return;const r=await n;if(r===Ht&&Nt.delete(s),s===this.getIconSource().url)if((t=>void 0!==t?._$litType$)(r)){if(this.svg=r,e){await this.updateComplete;const t=this.shadowRoot.querySelector("[part='svg']");"function"==typeof e.mutator&&t&&e.mutator(t)}}else switch(r){case Ht:case It:this.svg=null,this.emit("sl-error");break;default:this.svg=r.cloneNode(!0),null==(t=null==e?void 0:e.mutator)||t.call(e,this.svg),this.emit("sl-load")}}render(){return this.svg}};Rt.styles=[Lt,zt],v([jt()],Rt.prototype,"svg",2),v([Ot({reflect:!0})],Rt.prototype,"name",2),v([Ot()],Rt.prototype,"src",2),v([Ot()],Rt.prototype,"label",2),v([Ot({reflect:!0})],Rt.prototype,"library",2),v([At("label")],Rt.prototype,"handleLabelChange",1),v([At(["name","src","library"])],Rt.prototype,"setIcon",1),Rt.define("sl-icon");export{at as E,Ut as S,lt as T,v as _,u as a,d as b,Lt as c,Rt as d,g as e,Pt as f,k as i,Ot as n,jt as r,At as w,ht as x}
67
+ </svg>`,this.svg;try{if(e=await fetch(t,{mode:"cors"}),!e.ok)return 410===e.status?It:Nt}catch(t){return Nt}try{const t=document.createElement("div");t.innerHTML=await e.text();const s=t.firstElementChild;if("svg"!==(null==(i=null==s?void 0:s.tagName)?void 0:i.toLowerCase()))return It;Tt||(Tt=new DOMParser);const n=Tt.parseFromString(s.outerHTML,"text/html").body.querySelector("svg");return n?(n.part.add("svg"),document.adoptNode(n)):It}catch(t){return It}}connectedCallback(){super.connectedCallback(),m.push(this)}firstUpdated(){this.initialRender=!0,this.setIcon()}disconnectedCallback(){var t;super.disconnectedCallback(),t=this,m=m.filter((s=>s!==t))}getIconSource(){const t=y(this.library);return this.name&&t?{url:t.resolver(this.name),fromLibrary:!0}:{url:this.src,fromLibrary:!1}}handleLabelChange(){"string"==typeof this.label&&this.label.length>0?(this.setAttribute("role","img"),this.setAttribute("aria-label",this.label),this.removeAttribute("aria-hidden")):(this.removeAttribute("role"),this.removeAttribute("aria-label"),this.setAttribute("aria-hidden","true"))}async setIcon(){var t;const{url:s,fromLibrary:i}=this.getIconSource(),e=i?y(this.library):void 0;if(!s)return void(this.svg=null);let n=Rt.get(s);if(n||(n=this.resolveIcon(s,e),Rt.set(s,n)),!this.initialRender)return;const r=await n;if(r===Nt&&Rt.delete(s),s===this.getIconSource().url)if((t=>void 0!==t?._$litType$)(r)){if(this.svg=r,e){await this.updateComplete;const t=this.shadowRoot.querySelector("[part='svg']");"function"==typeof e.mutator&&t&&e.mutator(t)}}else switch(r){case Nt:case It:this.svg=null,this.emit("sl-error");break;default:this.svg=r.cloneNode(!0),null==(t=null==e?void 0:e.mutator)||t.call(e,this.svg),this.emit("sl-load")}}render(){return this.svg}};Ht.styles=[Lt,zt],v([jt()],Ht.prototype,"svg",2),v([Ot({reflect:!0})],Ht.prototype,"name",2),v([Ot()],Ht.prototype,"src",2),v([Ot()],Ht.prototype,"label",2),v([Ot({reflect:!0})],Ht.prototype,"library",2),v([At("label")],Ht.prototype,"handleLabelChange",1),v([At(["name","src","library"])],Ht.prototype,"setIcon",1),Ht.define("sl-icon");export{at as E,Ut as S,lt as T,v as _,u as a,d as b,Lt as c,Ht as d,g as e,Pt as f,k as i,Ot as n,jt as r,At as w,ht as x}
@@ -1 +1 @@
1
- import{r as e,h as a,e as d}from"./p-VMHzF3uY.js";const c=class{constructor(a){e(this,a)}render(){return a(d,{key:"d8d992da6a9c0b5f71120b3bf89d71d972f63961"},a("section",{key:"d22b9b31c07e062738cad94889428d3aaa5b2ed0"},a("pos-container-contents",{key:"9800d022d77175e03ece450a690c4ce644f1d724"}),a("details",{key:"57ca10cca663164d332ce3b156b62a1cd0475f46"},a("summary",{key:"9d48f320550ef6d9ab1c8dc5327ba400292d89d9"},"All subjects"),a("pos-subjects",{key:"a200dbb34b9b325743dee1d4ecba38f39e70886b"}))),a("section",{key:"0bb7d8970819ef4e0f68d3d4be62d31b85f98083"},a("article",{key:"0a25df3369119ea9cab22092ff3e96a9bfcb1f88","aria-labelledby":"container-title"},a("header",{key:"25d8f23702d72380345fb9d3199c35e77ca25dd9"},a("h1",{key:"6bb675b5d79a6602a55344238a3946ea310c6401",id:"container-title"},a("pos-label",{key:"56f32fc545f83dd45269b7af3b1314db2c36d47b"})),a("pos-type-badges",{key:"5a79774e85cc05c5ffe6bad567993a24b27781ec"})),a("pos-literals",{key:"79f3727026d13ceed50bab8d878aa64545081c9a"}))))}};c.style=":host{--gap-size:var(--size-1);display:flex;flex-direction:column;gap:var(--gap-size);margin:var(--gap-size)}section{display:flex;flex-direction:column;gap:var(--gap-size)}@media (min-width: 640px){:host{--gap-size:var(--size-4);flex-direction:row;flex-wrap:wrap;section{&:first-of-type{flex:1}}section:not(:first-of-type){flex:0 0 30%}}}article{padding:var(--size-2);display:flex;flex-direction:column;gap:var(--size-2);outline:var(--pos-border-solid);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);background-color:var(--pos-card-background);header{display:flex;flex-direction:column;gap:var(--size-2);h1{margin:0}}}";export{c as pos_app_ldp_container}
1
+ import{r as e,h as a,H as d}from"./p-BKjkoLi4.js";const c=class{constructor(a){e(this,a)}render(){return a(d,{key:"d8d992da6a9c0b5f71120b3bf89d71d972f63961"},a("section",{key:"d22b9b31c07e062738cad94889428d3aaa5b2ed0"},a("pos-container-contents",{key:"9800d022d77175e03ece450a690c4ce644f1d724"}),a("details",{key:"57ca10cca663164d332ce3b156b62a1cd0475f46"},a("summary",{key:"9d48f320550ef6d9ab1c8dc5327ba400292d89d9"},"All subjects"),a("pos-subjects",{key:"a200dbb34b9b325743dee1d4ecba38f39e70886b"}))),a("section",{key:"0bb7d8970819ef4e0f68d3d4be62d31b85f98083"},a("article",{key:"0a25df3369119ea9cab22092ff3e96a9bfcb1f88","aria-labelledby":"container-title"},a("header",{key:"25d8f23702d72380345fb9d3199c35e77ca25dd9"},a("h1",{key:"6bb675b5d79a6602a55344238a3946ea310c6401",id:"container-title"},a("pos-label",{key:"56f32fc545f83dd45269b7af3b1314db2c36d47b"})),a("pos-type-badges",{key:"5a79774e85cc05c5ffe6bad567993a24b27781ec"})),a("pos-literals",{key:"79f3727026d13ceed50bab8d878aa64545081c9a"}))))}};c.style=":host{--gap-size:var(--size-1);display:flex;flex-direction:column;gap:var(--gap-size);margin:var(--gap-size)}section{display:flex;flex-direction:column;gap:var(--gap-size)}@media (min-width: 640px){:host{--gap-size:var(--size-4);flex-direction:row;flex-wrap:wrap;section{&:first-of-type{flex:1}}section:not(:first-of-type){flex:0 0 30%}}}article{padding:var(--size-2);display:flex;flex-direction:column;gap:var(--size-2);outline:var(--pos-border-solid);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);background-color:var(--pos-card-background);header{display:flex;flex-direction:column;gap:var(--size-2);h1{margin:0}}}";export{c as pos_app_ldp_container}
@@ -1 +1 @@
1
- import{r as s,c as i,h as e,e as r}from"./p-VMHzF3uY.js";import{s as o}from"./p-BW_CkW1K.js";const a=class{constructor(e){s(this,e),this.subscribeResource=i(this,"pod-os:resource",7),this.receiveResource=s=>{this.resource=s}}componentWillLoad(){o(this)}render(){return this.resource?e(r,null,e("section",null,e("pos-document",{src:this.resource.uri}))):null}};a.style=":host{--gap-size:var(--size-1);display:flex;flex-direction:column;gap:var(--gap-size);margin:var(--gap-size)}section{display:flex;flex-direction:column;gap:var(--gap-size)}@media (min-width: 640px){:host{--gap-size:var(--size-4);flex-direction:row;flex-wrap:wrap;section{&:first-of-type{flex:1}}section:not(:first-of-type){flex:0 0 30%}}}article{padding:var(--size-2);display:flex;flex-direction:column;gap:var(--size-2);outline:var(--pos-border-solid);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);background-color:var(--pos-card-background);header{display:flex;flex-direction:column;gap:var(--size-2);h1{margin:0}}}";export{a as pos_app_document_viewer}
1
+ import{r as s,c as i,h as r,H as e}from"./p-BKjkoLi4.js";import{s as o}from"./p-BW_CkW1K.js";const a=class{constructor(r){s(this,r),this.subscribeResource=i(this,"pod-os:resource",7),this.receiveResource=s=>{this.resource=s}}componentWillLoad(){o(this)}render(){return this.resource?r(e,null,r("section",null,r("pos-document",{src:this.resource.uri}))):null}};a.style=":host{--gap-size:var(--size-1);display:flex;flex-direction:column;gap:var(--gap-size);margin:var(--gap-size)}section{display:flex;flex-direction:column;gap:var(--gap-size)}@media (min-width: 640px){:host{--gap-size:var(--size-4);flex-direction:row;flex-wrap:wrap;section{&:first-of-type{flex:1}}section:not(:first-of-type){flex:0 0 30%}}}article{padding:var(--size-2);display:flex;flex-direction:column;gap:var(--size-2);outline:var(--pos-border-solid);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);background-color:var(--pos-card-background);header{display:flex;flex-direction:column;gap:var(--size-2);h1{margin:0}}}";export{a as pos_app_document_viewer}
@@ -1 +1 @@
1
- import{r as e,h as a,e as d}from"./p-VMHzF3uY.js";const r=class{constructor(a){e(this,a)}render(){return a(d,{key:"c77f9fc24e9ed8a47c2d60b570e8a231609f90ba"},a("section",{key:"d40607f64e45868c92bd9f226e3df300f14ab11a"},a("pos-subjects",{key:"83fc348454ea2659c93f69cf250050b4add05ba1"})),a("section",{key:"b7958ea13a5911c2c5709ca8b181346a677bfe20"},a("article",{key:"f5f2d24ed058471b893590b29e13a8e69d7f9a44","aria-labelledby":"doc-title"},a("header",{key:"71db64d04790d2ef8f11a8cefdb9b78348339d56"},a("h1",{key:"d857c251a9a507596d0025709c9f232764e83e66",id:"doc-title"},a("pos-label",{key:"db8554528e6690e331b2d4db3ee2cfaa87f7e27e"})),a("pos-type-badges",{key:"e4b49d6357a86028969e7f61d57755f1017d4948"})),a("pos-literals",{key:"55f2d23287107c18fc2ebb62eac05e0f84175e6f"}))))}};r.style=":host{--gap-size:var(--size-1);display:flex;flex-direction:column;gap:var(--gap-size);margin:var(--gap-size)}section{display:flex;flex-direction:column;gap:var(--gap-size)}@media (min-width: 640px){:host{--gap-size:var(--size-4);flex-direction:row;flex-wrap:wrap;section{&:first-of-type{flex:1}}section:not(:first-of-type){flex:0 0 30%}}}article{padding:var(--size-2);display:flex;flex-direction:column;gap:var(--size-2);outline:var(--pos-border-solid);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);background-color:var(--pos-card-background);header{display:flex;flex-direction:column;gap:var(--size-2);h1{margin:0}}}";export{r as pos_app_rdf_document}
1
+ import{r as e,h as a,H as d}from"./p-BKjkoLi4.js";const i=class{constructor(a){e(this,a)}render(){return a(d,{key:"c77f9fc24e9ed8a47c2d60b570e8a231609f90ba"},a("section",{key:"d40607f64e45868c92bd9f226e3df300f14ab11a"},a("pos-subjects",{key:"83fc348454ea2659c93f69cf250050b4add05ba1"})),a("section",{key:"b7958ea13a5911c2c5709ca8b181346a677bfe20"},a("article",{key:"f5f2d24ed058471b893590b29e13a8e69d7f9a44","aria-labelledby":"doc-title"},a("header",{key:"71db64d04790d2ef8f11a8cefdb9b78348339d56"},a("h1",{key:"d857c251a9a507596d0025709c9f232764e83e66",id:"doc-title"},a("pos-label",{key:"db8554528e6690e331b2d4db3ee2cfaa87f7e27e"})),a("pos-type-badges",{key:"e4b49d6357a86028969e7f61d57755f1017d4948"})),a("pos-literals",{key:"55f2d23287107c18fc2ebb62eac05e0f84175e6f"}))))}};i.style=":host{--gap-size:var(--size-1);display:flex;flex-direction:column;gap:var(--gap-size);margin:var(--gap-size)}section{display:flex;flex-direction:column;gap:var(--gap-size)}@media (min-width: 640px){:host{--gap-size:var(--size-4);flex-direction:row;flex-wrap:wrap;section{&:first-of-type{flex:1}}section:not(:first-of-type){flex:0 0 30%}}}article{padding:var(--size-2);display:flex;flex-direction:column;gap:var(--size-2);outline:var(--pos-border-solid);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);background-color:var(--pos-card-background);header{display:flex;flex-direction:column;gap:var(--size-2);h1{margin:0}}}";export{i as pos_app_rdf_document}
@@ -0,0 +1 @@
1
+ import{r as s,c as o,h as t,H as e}from"./p-BKjkoLi4.js";import{l}from"./p-DEDHdpnD.js";import{s as i}from"./p-jlzl8vRd.js";import{s as r}from"./p-BW_CkW1K.js";import"./p-Db6M_T3c.js";import"./p-Bc1EKYmT.js";import"./p-CelEckSK.js";const a=class{constructor(t){s(this,t),this.subscribePodOs=o(this,"pod-os:init",7),this.subscribeResource=o(this,"pod-os:resource",7),this.addedLiteralValue=o(this,"pod-os:added-literal-value",7),this.error=o(this,"pod-os:error",7),this.receiveResource=s=>{this.resource=s},this.receivePodOs=async s=>{this.os=s}}setName(){}componentWillLoad(){r(this),i(this)}async save(){try{await this.os.addPropertyValue(this.resource,this.selectedTermUri,this.currentValue);const s={predicate:this.selectedTermUri,label:l(this.selectedTermUri),values:[this.currentValue]};this.addedLiteralValue.emit(s),this.currentValue=""}catch(s){this.error.emit(s)}}onTermSelected(s){this.selectedTermUri=s.detail.uri,this.valueInput.focus()}render(){var s;if(null===(s=this.resource)||void 0===s?void 0:s.editable)return t(e,null,t("sl-icon",{name:"plus-circle"}),t("pos-select-term",{placeholder:"Add literal","onPod-os:term-selected":s=>this.onTermSelected(s)}),t("input",{ref:s=>this.valueInput=s,value:this.currentValue,placeholder:"",onInput:s=>this.currentValue=s.target.value,onChange:()=>this.save()}))}static get watchers(){return{os:[{setName:0}]}}};a.style=":host{display:flex;align-items:center;gap:0.2rem}input{padding:var(--size-2);background-color:transparent;color:var(--pos-normal-text-color);border:none}input:focus{outline:2px solid var(--pos-primary-color);background-color:var(--pos-input-background-color);transition:outline 0.1s, background-color 0.1s}";const n=class{constructor(t){s(this,t),this.subscribeResource=o(this,"pod-os:resource",7),this.data=[],this.receiveResource=s=>{this.data=s.literals()}}componentWillLoad(){r(this)}literalValueAdded(s){const o=this.data.find((o=>o.predicate===s.predicate));this.data=o?this.data.map((t=>t.predicate===o.predicate?{predicate:o.predicate,label:o.label,values:[...o.values,...s.values]}:t)):[...this.data,s]}render(){return t(e,{key:"79a29288f727943c57b62ffc4f3090ecf236f693"},this.data.length>0?t("dl",null,this.data.map((s=>t("div",{class:"predicate-values"},t("dt",null,t("pos-predicate",{uri:s.predicate,label:s.label})),t("div",{class:"values"},s.values.map((s=>t("dd",null,s)))))))):null,t("pos-add-literal-value",{key:"68d1936aca1dff7ff11493266aaf8e3c4d6d67e6","onPod-os:added-literal-value":s=>this.literalValueAdded(s.detail)}))}};n.style=":host{--background-base-color:color-mix(in srgb, var(--pos-background-color), var(--color-grey-800) 10%);--background-color-even:hsl(from var(--background-base-color) h s calc(l + 7));--background-color-odd:hsl(from var(--background-base-color) h s calc(l + 10));--border-color:var(--background-base-color)}dd{padding:0;margin:0}dl{padding:0;margin:0;display:flex;flex-direction:column;gap:var(--size-1)}dt{margin-bottom:var(--size-1)}.predicate-values:nth-child(odd){background-color:var(--background-color-odd)}.predicate-values:nth-child(even){background-color:var(--background-color-even)}.predicate-values{display:flex;flex-direction:column;border:var(--size-px) solid var(--border-color);padding:var(--size-2);gap:var(--size-1);.values{display:flex;flex-direction:column;gap:var(--size-2)}}";const c=class{constructor(t){s(this,t),this.subscribeResource=o(this,"pod-os:resource",7),this.data=[],this.typeLabels=[],this.isExpanded=!1,this.receiveResource=s=>{this.data=s.types(),this.typeLabels=[...new Set(s.types().map((s=>s.label)))]}}componentWillLoad(){r(this)}toggleDetails(){this.isExpanded=!this.isExpanded}render(){return 0==this.data.length?null:this.isExpanded?t("div",{class:"types expanded"},t("sl-tooltip",{content:"Collapse types"},t("button",{class:"toggle",onClick:()=>this.toggleDetails()},t("sl-icon",{name:"arrows-collapse"}))),t("ul",null,this.data.map((s=>t("li",null,s.uri))))):t(e,null,t("div",{class:"types"},t("ul",null,this.typeLabels.map((s=>t("li",null,s)))),t("sl-tooltip",{content:"Expand types"},t("button",{class:"toggle",onClick:()=>this.toggleDetails()},t("sl-icon",{name:"arrows-expand"})))))}};c.style=".types{display:flex;gap:var(--size-1)}.expanded{flex-direction:column;justify-content:flex-start;align-items:flex-start;ul{flex-direction:column}}button.toggle{display:flex;cursor:pointer;justify-content:center;align-items:center;aspect-ratio:1 / 1}ul{margin:0;padding:0;display:flex;flex-direction:row;font-size:var(--size-3);gap:var(--size-2);li{cursor:default;display:inline-flex;align-items:center;padding:var(--size-1);border-radius:var(--radius-sm);background-color:var(--pos-subtle-text-color);color:var(--pos-background-color);list-style:none}}";export{a as pos_add_literal_value,n as pos_literals,c as pos_type_badges}
@@ -1 +1 @@
1
- import{r as t,c as e,h as s}from"./p-VMHzF3uY.js";import{s as i,B as o}from"./p-8q-RA2Uq.js";import"./p-CrxYqX8r.js";import"./p-8ggjG2YF.js";const h=class{constructor(s){t(this,s),this.initializeOsEmitter=e(this,"pod-os:init",7),this.resourceLoadedEmitter=e(this,"pod-os:resource-loaded",7),this.errorEmitter=e(this,"pod-os:error",7),this.saveStatus="idle",this.loading=!0,this.isEditable=!1,this.setOs=async t=>{this.os=t}}componentWillLoad(){i.onChange("isLoggedIn",(()=>this.fetchBlob())),this.initializeOsEmitter.emit(this.setOs)}async handleDocumentModified(t){const{file:e,newContent:s}=t.detail;try{this.saveStatus="saving";const t=await this.os.files().putFile(e,s);if(t.ok)this.saveStatus="idle";else{this.saveStatus="failed";const e=new Error(`Failed to save file: ${t.status} ${t.statusText}`);this.errorEmitter.emit(e)}}catch(t){this.saveStatus="failed",this.errorEmitter.emit(t)}}async fetchBlob(){try{this.loading=!0;const t=await this.os.files().fetchFile(this.src),e=this.os.store.get(this.src);this.isEditable=null==e?void 0:e.editable,this.resourceLoadedEmitter.emit(this.src),t.blob()?(this.file=t,this.error=null):this.brokenFile=t}catch(t){this.error=t}finally{this.loading=!1}}render(){return this.loading?s(r,null):this.error?s("div",{class:"error"},this.error.message):this.brokenFile?s(o,{file:this.brokenFile}):"text/markdown"===this.file.blob().type?s("pos-markdown-document",{editable:this.isEditable,saveStatus:this.saveStatus,file:this.file}):s("iframe",{src:URL.createObjectURL(this.file.blob())})}static get watchers(){return{os:[{fetchBlob:0}],src:[{fetchBlob:0}]}}};function r(){return s("div",{class:"skeleton"},s("sl-skeleton",{effect:"sheen"}),s("sl-skeleton",{effect:"sheen"}),s("sl-skeleton",{effect:"sheen"}),s("sl-skeleton",{effect:"sheen"}),s("sl-skeleton",{effect:"sheen"}),s("sl-skeleton",{effect:"sheen"}))}h.style="iframe{background-color:var(--pos-background-color);width:100%;height:100vh}.error{display:flex;opacity:0.8;background:repeating-linear-gradient(-45deg, rgba(150, 0, 0, 0.1), rgba(150, 0, 0, 0.1) 10px, #fff 5px, #fff 25px);flex-direction:column;border:1px solid red;color:black;align-items:center;justify-content:center;word-break:break-all;padding:1rem;box-sizing:border-box}.error{color:#282828;font-size:calc(var(--width) / 2)}a{text-decoration:none;width:var(--width);height:var(--height)}.code{font-weight:bold;font-size:calc(var(--width) / 8)}.text{font-size:calc(var(--width) / 20)}.skeleton{display:flex;gap:var(--size-2);flex-direction:column;sl-skeleton{&:nth-child(2){width:95%}&:nth-child(4){width:90%}&:last-child{width:50%}}}";export{h as pos_document}
1
+ import{r as t,c as e,h as s}from"./p-BKjkoLi4.js";import{s as i,B as o}from"./p-k0sEkqnd.js";import"./p-Db6M_T3c.js";import"./p-CelEckSK.js";const h=class{constructor(s){t(this,s),this.initializeOsEmitter=e(this,"pod-os:init",7),this.resourceLoadedEmitter=e(this,"pod-os:resource-loaded",7),this.errorEmitter=e(this,"pod-os:error",7),this.saveStatus="idle",this.loading=!0,this.isEditable=!1,this.setOs=async t=>{this.os=t}}componentWillLoad(){i.onChange("isLoggedIn",(()=>this.fetchBlob())),this.initializeOsEmitter.emit(this.setOs)}async handleDocumentModified(t){const{file:e,newContent:s}=t.detail;try{this.saveStatus="saving";const t=await this.os.files().putFile(e,s);if(t.ok)this.saveStatus="idle";else{this.saveStatus="failed";const e=new Error(`Failed to save file: ${t.status} ${t.statusText}`);this.errorEmitter.emit(e)}}catch(t){this.saveStatus="failed",this.errorEmitter.emit(t)}}async fetchBlob(){try{this.loading=!0;const t=await this.os.files().fetchFile(this.src),e=this.os.store.get(this.src);this.isEditable=null==e?void 0:e.editable,this.resourceLoadedEmitter.emit(this.src),t.blob()?(this.file=t,this.error=null):this.brokenFile=t}catch(t){this.error=t}finally{this.loading=!1}}render(){return this.loading?s(r,null):this.error?s("div",{class:"error"},this.error.message):this.brokenFile?s(o,{file:this.brokenFile}):"text/markdown"===this.file.blob().type?s("pos-markdown-document",{editable:this.isEditable,saveStatus:this.saveStatus,file:this.file}):s("iframe",{src:URL.createObjectURL(this.file.blob())})}static get watchers(){return{os:[{fetchBlob:0}],src:[{fetchBlob:0}]}}};function r(){return s("div",{class:"skeleton"},s("sl-skeleton",{effect:"sheen"}),s("sl-skeleton",{effect:"sheen"}),s("sl-skeleton",{effect:"sheen"}),s("sl-skeleton",{effect:"sheen"}),s("sl-skeleton",{effect:"sheen"}),s("sl-skeleton",{effect:"sheen"}))}h.style="iframe{background-color:var(--pos-background-color);width:100%;height:100vh}.error{display:flex;opacity:0.8;background:repeating-linear-gradient(-45deg, rgba(150, 0, 0, 0.1), rgba(150, 0, 0, 0.1) 10px, #fff 5px, #fff 25px);flex-direction:column;border:1px solid red;color:black;align-items:center;justify-content:center;word-break:break-all;padding:1rem;box-sizing:border-box}.error{color:#282828;font-size:calc(var(--width) / 2)}a{text-decoration:none;width:var(--width);height:var(--height)}.code{font-weight:bold;font-size:calc(var(--width) / 8)}.text{font-size:calc(var(--width) / 20)}.skeleton{display:flex;gap:var(--size-2);flex-direction:column;sl-skeleton{&:nth-child(2){width:95%}&:nth-child(4){width:90%}&:last-child{width:50%}}}";export{h as pos_document}
@@ -1 +1 @@
1
- import{r as t,c as e,h as s,e as i}from"./p-VMHzF3uY.js";import{L as n}from"./p-LoCE14bN.js";import{s as o}from"./p-BW_CkW1K.js";const r=class{constructor(s){t(this,s),this.subscribeResource=e(this,"pod-os:resource",7),this.contents=[],this.loading=!0,this.createNewItem=null,this.receiveResource=t=>{this.container=t.assume(n),this.loading=!1,this.contents=this.container.contains().sort(((t,e)=>t.name.localeCompare(e.name)))}}onCreateNewFile(){this.createNewItem="file"}onCreateNewFolder(){this.createNewItem="folder"}componentWillLoad(){o(this)}handleKeyDown(t){"Escape"===t.key&&(this.createNewItem=null)}render(){if(this.loading)return null;const t=this.contents.map((t=>s("li",{key:t.uri},s("pos-resource",{lazy:!0,uri:t.uri},s("pos-container-item",null,t.name)))));return null!==this.createNewItem&&t.unshift(s("li",{key:"new-item"},s("pos-create-new-container-item",{type:this.createNewItem,container:this.container}))),s(i,null,s("pos-container-toolbar",{"onPod-os:create-new-file":()=>this.onCreateNewFile(),"onPod-os:create-new-folder":()=>this.onCreateNewFolder()}),t.length>0?s("ul",{"aria-label":"Container contents"},t):s("p",null,"The container is empty"))}};r.style="ul{list-style:none;padding:0;margin:0}li{padding:0;margin:0}";export{r as pos_container_contents}
1
+ import{r as t,c as e,h as s,H as i}from"./p-BKjkoLi4.js";import{L as n}from"./p-DEDHdpnD.js";import{s as o}from"./p-BW_CkW1K.js";const r=class{constructor(s){t(this,s),this.subscribeResource=e(this,"pod-os:resource",7),this.contents=[],this.loading=!0,this.createNewItem=null,this.receiveResource=t=>{this.container=t.assume(n),this.loading=!1,this.contents=this.container.contains().sort(((t,e)=>t.name.localeCompare(e.name)))}}onCreateNewFile(){this.createNewItem="file"}onCreateNewFolder(){this.createNewItem="folder"}componentWillLoad(){o(this)}handleKeyDown(t){"Escape"===t.key&&(this.createNewItem=null)}render(){if(this.loading)return null;const t=this.contents.map((t=>s("li",{key:t.uri},s("pos-resource",{lazy:!0,uri:t.uri},s("pos-container-item",null,t.name)))));return null!==this.createNewItem&&t.unshift(s("li",{key:"new-item"},s("pos-create-new-container-item",{type:this.createNewItem,container:this.container}))),s(i,null,s("pos-container-toolbar",{"onPod-os:create-new-file":()=>this.onCreateNewFile(),"onPod-os:create-new-folder":()=>this.onCreateNewFolder()}),t.length>0?s("ul",{"aria-label":"Container contents"},t):s("p",null,"The container is empty"))}};r.style="ul{list-style:none;padding:0;margin:0}li{padding:0;margin:0}";export{r as pos_container_contents}
@@ -1 +1 @@
1
- import{r as o,h as r,e as a,a as s}from"./p-VMHzF3uY.js";import{u as n}from"./p-yVO4JQ9P.js";const c=class{constructor(r){o(this,r)}async addToList(o){this.attachments=[...this.attachments,Object.assign(Object.assign({},o),{newlyAdded:!0})]}async componentWillLoad(){this.resource=await n(this.el),this.attachments=this.resource.attachments()}render(){return 0===this.attachments.length?r(a,null,"No attachments found."):r("ul",null,this.attachments.map((o=>r("li",{class:{new:o.newlyAdded}},r("pos-rich-link",{uri:o.uri})))))}get el(){return s(this)}};c.style=":host{--background-base-color:color-mix(in srgb, var(--pos-background-color), var(--color-grey-800) 10%);--background-color-even:hsl(from var(--background-base-color) h s calc(l + 7));--background-color-odd:hsl(from var(--background-base-color) h s calc(l + 10));--border-color:var(--background-base-color);ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:var(--size-1);li{padding:var(--size-1);&:nth-child(even){background-color:var(--background-color-even)}&:nth-child(odd){background-color:var(--background-color-odd)}&.new{animation:newItemBounce 0.8s ease-out,\\n highlightFlash 2.5s ease-in-out}}}}@keyframes newItemBounce{0%{transform:scale(0.95);opacity:0}60%{transform:scale(1.02)}100%{transform:scale(1);opacity:1}}@keyframes highlightFlash{0%{box-shadow:0 0 20px var(--pos-primary-color)}100%{box-shadow:0 0 0 transparent}}";export{c as pos_attachments}
1
+ import{r as o,h as r,H as a,a as s}from"./p-BKjkoLi4.js";import{u as c}from"./p-yVO4JQ9P.js";const n=class{constructor(r){o(this,r)}async addToList(o){this.attachments=[...this.attachments,Object.assign(Object.assign({},o),{newlyAdded:!0})]}async componentWillLoad(){this.resource=await c(this.el),this.attachments=this.resource.attachments()}render(){return 0===this.attachments.length?r(a,null,"No attachments found."):r("ul",null,this.attachments.map((o=>r("li",{class:{new:o.newlyAdded}},r("pos-rich-link",{uri:o.uri})))))}get el(){return s(this)}};n.style=":host{--background-base-color:color-mix(in srgb, var(--pos-background-color), var(--color-grey-800) 10%);--background-color-even:hsl(from var(--background-base-color) h s calc(l + 7));--background-color-odd:hsl(from var(--background-base-color) h s calc(l + 10));--border-color:var(--background-base-color);ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:var(--size-1);li{padding:var(--size-1);&:nth-child(even){background-color:var(--background-color-even)}&:nth-child(odd){background-color:var(--background-color-odd)}&.new{animation:newItemBounce 0.8s ease-out, highlightFlash 2.5s ease-in-out}}}}@keyframes newItemBounce{0%{transform:scale(0.95);opacity:0}60%{transform:scale(1.02)}100%{transform:scale(1);opacity:1}}@keyframes highlightFlash{0%{box-shadow:0 0 20px var(--pos-primary-color)}100%{box-shadow:0 0 0 transparent}}";export{n as pos_attachments}
@@ -1 +1 @@
1
- import{r as s,c as t}from"./p-VMHzF3uY.js";import{s as o}from"./p-BW_CkW1K.js";const r=class{constructor(o){s(this,o),this.subscribeResource=t(this,"pod-os:resource",7),this.receiveResource=s=>{this.resource=s}}componentWillLoad(){o(this)}render(){return this.resource?this.resource.anyValue(this.predicate):null}};export{r as pos_value}
1
+ import{r as s,c as t}from"./p-BKjkoLi4.js";import{s as o}from"./p-BW_CkW1K.js";const r=class{constructor(o){s(this,o),this.subscribeResource=t(this,"pod-os:resource",7),this.receiveResource=s=>{this.resource=s}}componentWillLoad(){o(this)}render(){return this.resource?this.resource.anyValue(this.predicate):null}};export{r as pos_value}
@@ -1,4 +1,4 @@
1
- import{S as e,h as t}from"./p-VMHzF3uY.js";import{i as o,c as r,_ as s,n,S as i,x as c}from"./p-CrxYqX8r.js";import{e as a}from"./p-8ggjG2YF.js";const l=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let t of e.keys()){const o=e.get(t).filter((e=>{const t=e.deref();return t&&(!("isConnected"in(o=t))||o.isConnected);var o}));e.set(t,o)}})(...t)}),2e3)}})(),u=e.forceUpdate,d=e.getRenderingRef,p=(e,t)=>{const o=e.indexOf(t);o>=0&&(e[o]=e[e.length-1],e.length--)},f=(e,t)=>{const o=((e,t=(e,t)=>e!==t)=>{const o=()=>{return("function"==typeof(t=e)?t():t)??{};var t},r=o();let s=new Map(Object.entries(r));const n="undefined"!=typeof Proxy,i=n?null:{},c={dispose:[],get:[],set:[],reset:[]},a=new Map,l=()=>{s=new Map(Object.entries(o())),n||h(),c.reset.forEach((e=>e()))},u=e=>(c.get.forEach((t=>t(e))),s.get(e)),d=(e,o)=>{const r=s.get(e);t(o,r,e)&&(s.set(e,o),n||v(e),c.set.forEach((t=>t(e,o,r))))},f=n?new Proxy(r,{get:(e,t)=>u(t),ownKeys:()=>Array.from(s.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>s.has(t),set:(e,t,o)=>(d(t,o),!0)}):(h(),i),g=(e,t)=>(c[e].push(t),()=>{p(c[e],t)});function v(e){!n&&i&&(Object.prototype.hasOwnProperty.call(i,e)||Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:()=>u(e),set(t){d(e,t)}}))}function h(){if(n||!i)return;const e=new Set(s.keys());for(const t of Object.keys(i))e.has(t)||delete i[t];for(const t of e)v(t)}return{state:f,get:u,set:d,on:g,onChange:(e,t)=>{const r=(o,r)=>{o===e&&t(r)},s=()=>{const r=o();t(r[e])},n=g("set",r),i=g("reset",s);return a.set(t,{setHandler:r,resetHandler:s,propName:e}),()=>{n(),i(),a.delete(t)}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(g("set",t.set)),t.get&&e.push(g("get",t.get)),t.reset&&e.push(g("reset",t.reset)),t.dispose&&e.push(g("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{c.dispose.forEach((e=>e())),l()},reset:l,forceUpdate:e=>{const t=s.get(e);c.set.forEach((o=>o(e,t,t)))},removeListener:(e,t)=>{const o=a.get(t);o&&o.propName===e&&(p(c.set,o.setHandler),p(c.reset,o.resetHandler),a.delete(t))}}})(e,t);return o.use((()=>{if("function"!=typeof d||"function"!=typeof u)return{};const e=u,t=d,o=new Map;return{dispose:()=>o.clear(),get:e=>{const r=t();r&&((e,t,o)=>{let r=e.get(t);r||(r=[],e.set(t,r)),r.some((e=>e.deref()===o))||r.push(new WeakRef(o))})(o,e,r)},set:t=>{const r=o.get(t);if(r){const s=r.filter((t=>{const o=t.deref();return!!o&&e(o)}));o.set(t,s)}l(o)},reset:()=>{o.forEach((t=>{t.forEach((t=>{const o=t.deref();o&&e(o)}))})),l(o)}}})()),o},g=f({isLoggedIn:!1,webId:"",profile:null}),v=({file:e})=>{const o=function(e){switch(e.code){case 401:case 403:return"lock";case 404:return"question-circle";default:return"exclamation-circle"}}(e.status);return t("div",null,t("a",{class:"error",href:e.url},t("div",null,t("sl-icon",{name:o})),t("div",{class:"code"},e.status.code),t("div",{class:"text"},e.status.text)))};var h=o`
1
+ import{S as e,h as t}from"./p-BKjkoLi4.js";import{i as o,c as s,_ as r,n,S as c,x as i}from"./p-Db6M_T3c.js";import{e as a}from"./p-CelEckSK.js";const l=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let t of e.keys()){const o=e.get(t).filter((e=>{const t=e.deref();return t&&(!("isConnected"in(o=t))||o.isConnected);var o}));e.set(t,o)}})(...t)}),2e3)}})(),u=e.forceUpdate,d=e.getRenderingRef,p=(e,t)=>{const o=e.indexOf(t);o>=0&&(e[o]=e[e.length-1],e.length--)},f=(e,t)=>{const o=((e,t=(e,t)=>e!==t)=>{const o=()=>{return("function"==typeof(t=e)?t():t)??{};var t},s=o();let r=new Map(Object.entries(s));const n="undefined"!=typeof Proxy,c=n?null:{},i={dispose:[],get:[],set:[],reset:[]},a=new Map,l=()=>{r=new Map(Object.entries(o())),n||b(),i.reset.forEach((e=>e()))},u=e=>(i.get.forEach((t=>t(e))),r.get(e)),d=(e,o)=>{const s=r.get(e);t(o,s,e)&&(r.set(e,o),n||v(e),i.set.forEach((t=>t(e,o,s))))},f=n?new Proxy(s,{get:(e,t)=>u(t),ownKeys:()=>Array.from(r.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>r.has(t),set:(e,t,o)=>(d(t,o),!0)}):(b(),c),k=(e,t)=>(i[e].push(t),()=>{p(i[e],t)});function v(e){!n&&c&&(Object.prototype.hasOwnProperty.call(c,e)||Object.defineProperty(c,e,{configurable:!0,enumerable:!0,get:()=>u(e),set(t){d(e,t)}}))}function b(){if(n||!c)return;const e=new Set(r.keys());for(const t of Object.keys(c))e.has(t)||delete c[t];for(const t of e)v(t)}return{state:f,get:u,set:d,on:k,onChange:(e,t)=>{const s=(o,s)=>{o===e&&t(s)},r=()=>{const s=o();t(s[e])},n=k("set",s),c=k("reset",r);return a.set(t,{setHandler:s,resetHandler:r,propName:e}),()=>{n(),c(),a.delete(t)}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(k("set",t.set)),t.get&&e.push(k("get",t.get)),t.reset&&e.push(k("reset",t.reset)),t.dispose&&e.push(k("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{i.dispose.forEach((e=>e())),l()},reset:l,forceUpdate:e=>{const t=r.get(e);i.set.forEach((o=>o(e,t,t)))},removeListener:(e,t)=>{const o=a.get(t);o&&o.propName===e&&(p(i.set,o.setHandler),p(i.reset,o.resetHandler),a.delete(t))}}})(e,t);return o.use((()=>{if("function"!=typeof d||"function"!=typeof u)return{};const e=u,t=d,o=new Map;return{dispose:()=>o.clear(),get:e=>{const s=t();s&&((e,t,o)=>{let s=e.get(t);s||(s=[],e.set(t,s)),s.some((e=>e.deref()===o))||s.push(new WeakRef(o))})(o,e,s)},set:t=>{const s=o.get(t);if(s){const r=s.filter((t=>{const o=t.deref();return!!o&&e(o)}));o.set(t,r)}l(o)},reset:()=>{o.forEach((t=>{t.forEach((t=>{const o=t.deref();o&&e(o)}))})),l(o)}}})()),o},k=f({isLoggedIn:!1,webId:"",profile:null}),v=({file:e})=>{const o=function(e){switch(e.code){case 401:case 403:return"lock";case 404:return"question-circle";default:return"exclamation-circle"}}(e.status);return t("div",null,t("a",{class:"error",href:e.url},t("div",null,t("sl-icon",{name:o})),t("div",{class:"code"},e.status.code),t("div",{class:"text"},e.status.text)))};var b=o`
2
2
  :host {
3
3
  --border-radius: var(--sl-border-radius-pill);
4
4
  --color: var(--sl-color-neutral-200);
@@ -58,11 +58,11 @@ import{S as e,h as t}from"./p-VMHzF3uY.js";import{i as o,c as r,_ as s,n,S as i,
58
58
  opacity: 1;
59
59
  }
60
60
  }
61
- `,m=class extends i{constructor(){super(...arguments),this.effect="none"}render(){return c`
61
+ `,h=class extends c{constructor(){super(...arguments),this.effect="none"}render(){return i`
62
62
  <div
63
63
  part="base"
64
64
  class=${a({skeleton:!0,"skeleton--pulse":"pulse"===this.effect,"skeleton--sheen":"sheen"===this.effect})}
65
65
  >
66
66
  <div part="indicator" class="skeleton__indicator"></div>
67
67
  </div>
68
- `}};m.styles=[r,h],s([n()],m.prototype,"effect",2),m.define("sl-skeleton");export{v as B,f as c,g as s}
68
+ `}};h.styles=[s,b],r([n()],h.prototype,"effect",2),h.define("sl-skeleton");export{v as B,f as c,k as s}
@@ -1,5 +1,5 @@
1
- import { a as __spreadProps, b as __spreadValues, i as i$1, c as component_styles_default, _ as __decorateClass, n, S as ShoelaceElement, x, w as watch } from './chunk.ZGGPD2XJ-BjT6fS1o.js';
2
- import { e as e$3 } from './class-map-CUYFUkXU.js';
1
+ import { a as __spreadProps, b as __spreadValues, i as i$1, c as component_styles_default, _ as __decorateClass, n, S as ShoelaceElement, x, w as watch } from './chunk.ZGGPD2XJ-DNRLq49v.js';
2
+ import { e as e$3 } from './class-map-CdQEGha6.js';
3
3
 
4
4
  /**
5
5
  * @license
@@ -1,6 +1,6 @@
1
- import { S as StencilCore, h } from './index-VMHzF3uY.js';
2
- import { i, c as component_styles_default, _ as __decorateClass, n, S as ShoelaceElement, x } from './chunk.ZGGPD2XJ-BjT6fS1o.js';
3
- import { e } from './class-map-CUYFUkXU.js';
1
+ import { S as StencilCore, h } from './index-BKjkoLi4.js';
2
+ import { i, c as component_styles_default, _ as __decorateClass, n, S as ShoelaceElement, x } from './chunk.ZGGPD2XJ-DNRLq49v.js';
3
+ import { e } from './class-map-CdQEGha6.js';
4
4
 
5
5
  const appendToMap = (map, propName, value) => {
6
6
  let refs = map.get(propName);
@@ -1,4 +1,4 @@
1
- import { f as getBasePath } from './index-VMHzF3uY.js';
1
+ import { f as getBasePath } from './index-BKjkoLi4.js';
2
2
 
3
3
  var __defProp = Object.defineProperty;
4
4
  var __defProps = Object.defineProperties;
@@ -1,4 +1,4 @@
1
- import { T } from './chunk.ZGGPD2XJ-BjT6fS1o.js';
1
+ import { T } from './chunk.ZGGPD2XJ-DNRLq49v.js';
2
2
 
3
3
  /**
4
4
  * @license
@@ -1,8 +1,8 @@
1
- import { p as promiseResolve, B as BUILD, d as consoleDevInfo, w as win, N as NAMESPACE, H, g as globalScripts, b as bootstrapLazy } from './index-VMHzF3uY.js';
2
- export { s as setNonce } from './index-VMHzF3uY.js';
1
+ import { p as promiseResolve, B as BUILD, d as consoleDevInfo, w as win, N as NAMESPACE, e as H, g as globalScripts, b as bootstrapLazy } from './index-BKjkoLi4.js';
2
+ export { s as setNonce } from './index-BKjkoLi4.js';
3
3
 
4
4
  /*
5
- Stencil Client Patch Browser v4.40.1 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Patch Browser v4.43.0 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
 
8
8
  var patchBrowser = () => {
@@ -43,5 +43,5 @@ var patchCloneNodeFix = (HTMLElementPrototype) => {
43
43
 
44
44
  patchBrowser().then(async (options) => {
45
45
  await globalScripts();
46
- return bootstrapLazy([["pos-add-new-thing_31",[[0,"pos-app-browser",{"restorePreviousSession":[4,"restore-previous-session"],"mode":[1],"uri":[32]}],[0,"pos-internal-router",{"uri":[1]}],[257,"pos-login",{"os":[32],"customLoggedInComponent":[32]},[[4,"pod-os:logout","logout"],[4,"pod-os:login","onLogin"]]],[1,"pos-navigation",{"uri":[1],"os":[32],"inputValue":[32],"searchIndex":[32],"suggestions":[32],"selectedIndex":[32],"resource":[32]},[[0,"pod-os:search:index-created","buildSearchIndex"],[0,"pod-os:search:index-updated","rebuildSearchIndex"],[0,"pod-os:navigate","openNavigationDialog"],[4,"click","closeDialog"],[0,"pod-os:link","clearSuggestions"],[0,"click","onClickSelf"],[0,"keydown","handleKeyDown"]],{"uri":[{"updateResource":0}],"os":[{"updateResource":0}]}],[1,"pos-user-menu",{"webId":[1,"web-id"]},[[0,"sl-select","onSelect"]]],[1,"pos-add-new-thing",{"referenceUri":[1,"reference-uri"]}],[1,"pos-type-router",{"initialTool":[32],"availableTools":[32],"oldTool":[32],"currentTool":[32],"transitioning":[32]},[[0,"pod-os:tool-selected","handleToolSelected"]]],[257,"pos-app",{"restorePreviousSession":[4,"restore-previous-session"],"os":[32],"unsubscribeSettings":[32],"loading":[32]},[[0,"pod-os:init","initializeOs"],[0,"pod-os:module","loadModule"]]],[257,"pos-error-toast",{"title":[32],"message":[32]},[[8,"unhandledrejection","unhandledRejection"],[0,"pod-os:error","catchError"]]],[260,"pos-router",{"mode":[1],"uri":[32]},[[0,"pod-os:link","linkClicked"],[8,"pod-os:session-restored","sessionRestored"]]],[1,"pos-app-dashboard"],[1,"pos-navigation-bar",{"current":[16],"searchIndexReady":[4,"search-index-ready"]},[[4,"keydown","activate"]]],[1,"pos-app-settings"],[17,"pos-new-thing-form",{"referenceUri":[1,"reference-uri"],"os":[32],"newUri":[32],"name":[32],"selectedTypeUri":[32],"canSubmit":[32]},null,{"name":[{"validate":0}],"selectedTypeUri":[{"validate":0}]}],[17,"pos-login-form",{"idpUrl":[32],"canSubmit":[32]},null,{"idpUrl":[{"validate":0}]}],[1,"pos-tool-select",{"selected":[16],"tools":[16]}],[1,"pos-type-index-entries",{"uri":[1],"entries":[32]}],[1,"pos-example-resources"],[1,"pos-make-findable",{"uri":[1],"os":[32],"thing":[32],"indexes":[32],"unsubscribeSessionChange":[32],"showOptions":[32],"isIndexed":[32]},[[0,"sl-select","onSelect"]],{"uri":[{"updateUri":0}]}],[260,"pos-dialog",{"showModal":[64],"close":[64]}],[1,"pos-getting-started"],[1,"pos-setting-offline-cache"],[257,"pos-picture",{"blurredBackground":[4,"blurred-background"],"noUpload":[4,"no-upload"],"resource":[32],"os":[32],"isUploading":[32]}],[1,"pos-image",{"src":[1],"alt":[1],"blurredBackground":[4,"blurred-background"],"os":[32],"dataUri":[32],"brokenFile":[32],"networkError":[32],"imageError":[32],"loading":[32]},null,{"os":[{"fetchBlob":0}],"src":[{"fetchBlob":0}]}],[1,"pos-upload",{"accept":[16],"uploader":[16]}],[17,"pos-select-term",{"placeholder":[1],"value":[1],"os":[32],"terms":[32]},null,{"os":[{"setTerms":0}]}],[1,"pos-predicate",{"uri":[1],"label":[1],"expanded":[32]}],[257,"pos-rich-link",{"uri":[1],"rel":[1],"rev":[1],"link":[32],"followPredicate":[32],"error":[32],"showCustomContent":[32]}],[1,"pos-description",{"resource":[32]}],[1,"pos-label",{"resource":[32]}],[257,"pos-resource",{"uri":[1],"lazy":[4],"os":[32],"resource":[32],"consumers":[32],"error":[32],"loading":[32],"fetch":[64]},[[0,"pod-os:resource","provideResource"]],{"os":[{"loadResource":0}],"uri":[{"loadResource":0}]}]]],["pos-app-generic",[[1,"pos-app-generic"]]],["pos-app-ldp-container",[[1,"pos-app-ldp-container"]]],["pos-app-rdf-document",[[1,"pos-app-rdf-document"]]],["pos-app-image-viewer",[[1,"pos-app-image-viewer",{"resource":[32]}]]],["pos-tool-attachments",[[1,"pos-tool-attachments",{"os":[32],"resource":[32]}]]],["pos-app-document-viewer",[[1,"pos-app-document-viewer",{"resource":[32]}]]],["pos-list",[[0,"pos-list",{"rel":[1],"ifTypeof":[1,"if-typeof"],"fetch":[4],"error":[32],"os":[32],"resource":[32],"items":[32],"templateString":[32]}]]],["pos-value",[[1,"pos-value",{"predicate":[1],"resource":[32]}]]],["pos-attachments",[[1,"pos-attachments",{"resource":[32],"attachments":[32],"addToList":[64]}]]],["pos-container-contents",[[1,"pos-container-contents",{"container":[32],"contents":[32],"loading":[32],"createNewItem":[32]},[[0,"keydown","handleKeyDown"]]]]],["pos-document",[[1,"pos-document",{"src":[1],"alt":[1],"os":[32],"file":[32],"brokenFile":[32],"error":[32],"saveStatus":[32],"loading":[32],"isEditable":[32]},[[0,"pod-os:document-modified","handleDocumentModified"]],{"os":[{"fetchBlob":0}],"src":[{"fetchBlob":0}]}]]],["pos-relations_2",[[1,"pos-relations",{"data":[32]}],[1,"pos-reverse-relations",{"data":[32]}]]],["pos-subjects",[[1,"pos-subjects",{"data":[32]}]]],["pos-markdown-document",[[1,"pos-markdown-document",{"file":[16],"saveStatus":[1,"save-status"],"editable":[4],"markdown":[32],"isModified":[32],"isEditing":[32],"startEditing":[64],"stopEditing":[64]}]]],["pos-container-item_3",[[257,"pos-container-item",{"resource":[32]}],[1,"pos-container-toolbar"],[1,"pos-create-new-container-item",{"type":[1],"container":[16],"os":[32],"name":[32]}]]],["pos-add-literal-value_3",[[1,"pos-literals",{"data":[32]}],[1,"pos-type-badges",{"data":[32],"typeLabels":[32],"isExpanded":[32]}],[1,"pos-add-literal-value",{"os":[32],"resource":[32],"currentValue":[32],"selectedTermUri":[32]},null,{"os":[{"setName":0}]}]]]], options);
46
+ return bootstrapLazy([["pos-app-generic",[[1,"pos-app-generic"]]],["pos-app-ldp-container",[[1,"pos-app-ldp-container"]]],["pos-app-rdf-document",[[1,"pos-app-rdf-document"]]],["pos-app-image-viewer",[[1,"pos-app-image-viewer",{"resource":[32]}]]],["pos-tool-attachments",[[1,"pos-tool-attachments",{"os":[32],"resource":[32]}]]],["pos-app-document-viewer",[[1,"pos-app-document-viewer",{"resource":[32]}]]],["pos-list",[[0,"pos-list",{"rel":[1],"ifTypeof":[1,"if-typeof"],"fetch":[4],"error":[32],"os":[32],"resource":[32],"items":[32],"templateString":[32]}]]],["pos-case",[[0,"pos-case",{"ifTypeof":[1,"if-typeof"],"not":[4],"else":[4],"error":[32]}]]],["pos-switch",[[0,"pos-switch",{"error":[32],"resource":[32],"caseElements":[32],"templateString":[32]}]]],["pos-value",[[1,"pos-value",{"predicate":[1],"resource":[32]}]]],["pos-attachments",[[1,"pos-attachments",{"resource":[32],"attachments":[32],"addToList":[64]}]]],["pos-container-contents",[[1,"pos-container-contents",{"container":[32],"contents":[32],"loading":[32],"createNewItem":[32]},[[0,"keydown","handleKeyDown"]]]]],["pos-document",[[1,"pos-document",{"src":[1],"alt":[1],"os":[32],"file":[32],"brokenFile":[32],"error":[32],"saveStatus":[32],"loading":[32],"isEditable":[32]},[[0,"pod-os:document-modified","handleDocumentModified"]],{"os":[{"fetchBlob":0}],"src":[{"fetchBlob":0}]}]]],["pos-add-new-thing_32",[[0,"pos-app-browser",{"restorePreviousSession":[4,"restore-previous-session"],"mode":[1],"uri":[32]}],[0,"pos-internal-router",{"uri":[1]}],[257,"pos-login",{"os":[32],"customLoggedInComponent":[32]},[[4,"pod-os:logout","logout"],[4,"pod-os:login","onLogin"]]],[1,"pos-navigation",{"uri":[1],"os":[32],"inputValue":[32],"searchIndex":[32],"suggestions":[32],"selectedIndex":[32],"resource":[32]},[[0,"pod-os:search:index-created","buildSearchIndex"],[0,"pod-os:search:index-updated","rebuildSearchIndex"],[0,"pod-os:navigate","openNavigationDialog"],[4,"click","closeDialog"],[0,"pod-os:link","clearSuggestions"],[0,"click","onClickSelf"],[0,"keydown","handleKeyDown"]],{"uri":[{"updateResource":0}],"os":[{"updateResource":0}]}],[1,"pos-user-menu",{"webId":[1,"web-id"]},[[0,"sl-select","onSelect"]]],[1,"pos-add-new-thing",{"referenceUri":[1,"reference-uri"]}],[1,"pos-type-router",{"initialTool":[32],"availableTools":[32],"oldTool":[32],"currentTool":[32],"transitioning":[32]},[[0,"pod-os:tool-selected","handleToolSelected"]]],[257,"pos-app",{"restorePreviousSession":[4,"restore-previous-session"],"os":[32],"unsubscribeSettings":[32],"loading":[32]},[[0,"pod-os:init","initializeOs"],[0,"pod-os:module","loadModule"]]],[257,"pos-error-toast",{"title":[32],"message":[32]},[[8,"unhandledrejection","unhandledRejection"],[0,"pod-os:error","catchError"]]],[260,"pos-router",{"mode":[1],"uri":[32]},[[0,"pod-os:link","linkClicked"],[8,"pod-os:session-restored","sessionRestored"]]],[1,"pos-app-dashboard"],[1,"pos-navigation-bar",{"current":[16],"searchIndexReady":[4,"search-index-ready"]},[[4,"keydown","activate"]]],[1,"pos-app-settings"],[17,"pos-new-thing-form",{"referenceUri":[1,"reference-uri"],"os":[32],"newUri":[32],"name":[32],"selectedTypeUri":[32],"canSubmit":[32]},null,{"name":[{"validate":0}],"selectedTypeUri":[{"validate":0}]}],[17,"pos-login-form",{"idpUrl":[32],"canSubmit":[32]},null,{"idpUrl":[{"validate":0}]}],[1,"pos-tool-select",{"selected":[16],"tools":[16]}],[1,"pos-type-index-entries",{"uri":[1],"entries":[32]}],[1,"pos-example-resources"],[1,"pos-make-findable",{"uri":[1],"os":[32],"thing":[32],"indexes":[32],"unsubscribeSessionChange":[32],"showOptions":[32],"isIndexed":[32]},[[0,"sl-select","onSelect"]],{"uri":[{"updateUri":0}]}],[260,"pos-dialog",{"showModal":[64],"close":[64]}],[1,"pos-getting-started"],[1,"pos-setting-offline-cache"],[1,"pos-share",{"uri":[1],"apps":[32],"os":[32]},[[0,"sl-select","onSelect"]],{"uri":[{"updateApps":0}]}],[257,"pos-picture",{"blurredBackground":[4,"blurred-background"],"noUpload":[4,"no-upload"],"resource":[32],"os":[32],"isUploading":[32]}],[1,"pos-image",{"src":[1],"alt":[1],"blurredBackground":[4,"blurred-background"],"os":[32],"dataUri":[32],"brokenFile":[32],"networkError":[32],"imageError":[32],"loading":[32]},null,{"os":[{"fetchBlob":0}],"src":[{"fetchBlob":0}]}],[1,"pos-upload",{"accept":[16],"uploader":[16]}],[17,"pos-select-term",{"placeholder":[1],"value":[1],"os":[32],"terms":[32]},null,{"os":[{"setTerms":0}]}],[1,"pos-predicate",{"uri":[1],"label":[1],"expanded":[32]}],[257,"pos-rich-link",{"uri":[1],"rel":[1],"rev":[1],"link":[32],"followPredicate":[32],"error":[32],"showCustomContent":[32]}],[1,"pos-description",{"resource":[32]}],[1,"pos-label",{"resource":[32]}],[257,"pos-resource",{"uri":[1],"lazy":[4],"os":[32],"resource":[32],"consumers":[32],"error":[32],"loading":[32],"fetch":[64]},[[0,"pod-os:resource","provideResource"]],{"os":[{"loadResource":0}],"uri":[{"loadResource":0}]}]]],["pos-relations_2",[[1,"pos-relations",{"data":[32]}],[1,"pos-reverse-relations",{"data":[32]}]]],["pos-subjects",[[1,"pos-subjects",{"data":[32]}]]],["pos-markdown-document",[[1,"pos-markdown-document",{"file":[16],"saveStatus":[1,"save-status"],"editable":[4],"markdown":[32],"isModified":[32],"isEditing":[32],"startEditing":[64],"stopEditing":[64]}]]],["pos-container-item_3",[[257,"pos-container-item",{"resource":[32]}],[1,"pos-container-toolbar"],[1,"pos-create-new-container-item",{"type":[1],"container":[16],"os":[32],"name":[32]}]]],["pos-add-literal-value_3",[[1,"pos-literals",{"data":[32]}],[1,"pos-type-badges",{"data":[32],"typeLabels":[32],"isExpanded":[32]}],[1,"pos-add-literal-value",{"os":[32],"resource":[32],"currentValue":[32],"selectedTermUri":[32]},null,{"os":[{"setName":0}]}]]]], options);
47
47
  });